Commit Graph

14 Commits

Author SHA1 Message Date
Gerwin Klein a45adef66a all: remove theory import path references
In Isabelle2020, when isabelle jedit is started without a session
context, e.g. `isabelle jedit -l ASpec`, theory imports with path
references cause the isabelle process to hang.

Since sessions now declare directories, Isabelle can find those files
without path reference and we therefore remove all such path references
from import statements. With this, `jedit` and `build` should work with
and without explicit session context as before.

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-11-02 10:16:17 +10:00
Gerwin Klein a424d55e3e licenses: convert license tags to SPDX 2020-03-13 14:38:24 +08:00
Gerwin Klein f59639342c ainvs: changes to generic invariants to accomodate RISC-V
These changes are mostly removing declarations and lemmas, making them
architecture specific.
2019-07-31 14:13:56 +10:00
Gerwin Klein b5cdf4703f globally use session-qualified imports; add Lib session
Session-qualified imports will be required for Isabelle2018 and help clarify
the structure of sessions in the build tree.

This commit mainly adds a new set of sessions for lib/, including a Lib
session that includes most theories in lib/ and a few separate sessions for
parts that have dependencies beyond CParser or are separate AFP sessions.
The group "lib" collects all lib/ sessions.

As a consequence, other theories should use lib/ theories by session name,
not by path, which in turns means spec and proof sessions should also refer
to each other by session name, not path, to avoid duplicate theory errors in
theory merges later.
2018-08-20 09:06:34 +10:00
Corey Lewis d77d31a77c lib: Refactor crunch so that it can be used for both the nondet monad and the trace monad 2018-06-26 14:45:28 +10:00
Miki Tanaka 07e9bfa417 remove_valid_arch_objs: updates for X64 2017-08-18 09:44:00 +10:00
Matthew Brecknell 2f70a304da ainvs: integrate all architectures 2017-08-09 16:57:39 +10:00
Matthew Brecknell c2aba18e1d ainvs x64: replace a conditional simp rule lookup_empty_refl
This was causing simplifier loops in some places, and slow-downs in
others.
2017-04-07 18:01:49 +10:00
Matthew Brecknell ad348ca355 trivial x64: add missing license header 2017-03-27 19:07:42 +11:00
Xin,Gao 677c82ca11 X64: fix some sorries in ArchVSpace 2017-02-09 13:47:01 +11:00
Matthew Brecknell 895390e8cb x64: ArchVSpaceLookup_AI: prove vs_lookup_pages1_wellformed_order
Show that there is a measure on vs_refs, on which vs_lookup_pages1 is
strictly monotonically increasing.

We also prove various lemmas relating vs_lookup and vs_lookup_pages, and
valid_arch_objs.

There are many things previously proved in ArchRetype_AI and
ArchDetype_AI that are now broken because Xin's work overwrote some
things I also proved in ArchVSpace_AI. I'm not fixing them here.
2017-02-08 17:36:54 +11:00
Xin,Gao 0dbe39edd8 X64: fix perform_asid_pool_invs 2017-02-03 16:25:06 +11:00
Matthew Brecknell dba01d1eea x64: simplify vs_ref_lvl definition in vspace lookup generalisation
Also make names more consistent with other uses of arch_obj_fun_lift.
2017-02-01 15:19:42 +11:00
Xin,Gao 0d39936aed X64: generalize proofs for ArchVSpace and ArchAcc 2017-01-27 17:44:45 +11:00