lh-l4v/proof/refine
Mitchell Buckley 2cf89e20c8 Cleanup some FIXMEs in AInvs and related sessions
Mostly moving lemmas up into various lemma bucket theories. Also:
* replace cte_wp_at_eqD with cte_wp_at_norm (equal lemmas)
* pd_shifting_gen generalise pd_shifting' in 2 architectures
* remove some redundant crunch lemmas

Signed-off-by: Mitchell Buckley <Mitchell.Buckley@data61.csiro.au>
2021-07-16 14:13:07 +10:00
..
ARM Cleanup some FIXMEs in AInvs and related sessions 2021-07-16 14:13:07 +10:00
ARM_HYP Cleanup some FIXMEs in AInvs and related sessions 2021-07-16 14:13:07 +10:00
RISCV64 Cleanup some FIXMEs in AInvs and related sessions 2021-07-16 14:13:07 +10:00
X64 Cleanup some FIXMEs in AInvs and related sessions 2021-07-16 14:13:07 +10:00
base refine: session directories for Isabelle2020 2020-10-27 15:52:31 +10:00
Move_R.thy refine: move invariant field update lemmas 2021-03-11 10:42:49 +11:00
README.md trivial: fix links to papers 2021-03-02 11:44:22 +11:00

README.md

Design Spec Refinement Proof

This proof establishes that seL4's design specification is a formal refinement (i.e. a correct implementation) of its abstract specification. This proof also interweaves the definition and proofs of the global invariant for the design specification, and builds on the Abstract Spec Invariant Proof. It is described in the TPHOLS '08 paper.

Building

Make sure that the L4V_ARCH environment variable is set to the desired target architecture. If in doubt, use L4V_ARCH=ARM.

To build from the l4v/ directory, run:

./isabelle/bin/isabelle build -d . -v -b Refine

Important Theories

The top-level theory where the refinement statement is established over the entire kernel is Refine; the state-relation that relates the state-spaces of the two specifications is defined in StateRelation and the basic correspondence property proved over each kernel function is defined in Corres.