lh-l4v/proof/refine
Rafal Kolanski 7c127a65cd proof: apply monadic_rewrite updates (except Fastpath_Equiv in CRefine)
Adapt to changes from previous commit, mostly renames.

Fastpath_Equiv needs more work, pending tactical improvements.

Signed-off-by: Rafal Kolanski <rafal.kolanski@proofcraft.systems>
2022-11-02 05:05:44 +11:00
..
ARM proof: apply monadic_rewrite updates (except Fastpath_Equiv in CRefine) 2022-11-02 05:05:44 +11:00
ARM_HYP proof: apply monadic_rewrite updates (except Fastpath_Equiv in CRefine) 2022-11-02 05:05:44 +11:00
RISCV64 proof: apply monadic_rewrite updates (except Fastpath_Equiv in CRefine) 2022-11-02 05:05:44 +11:00
X64 proof: apply monadic_rewrite updates (except Fastpath_Equiv in CRefine) 2022-11-02 05:05:44 +11:00
base refine: session directories for Isabelle2020 2020-10-27 15:52:31 +10:00
Move_R.thy arm refine: update for changed corres split rules 2022-10-20 08:59:52 +11:00
README.md READMEs: fix publication links 2021-08-25 11:22:05 +10: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.