lh-l4v/proof/refine
Thomas Sewell e9180d5cb5 Repair refine/crefine for WCET annotations. 2015-07-14 14:23:29 +10:00
..
ADT_H.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
ArchAcc_R.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
Arch_R.thy Repair refine/crefine for WCET annotations. 2015-07-14 14:23:29 +10:00
Bits_R.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
BuildRefineCache.thy Import release snapshot. 2014-07-14 21:32:44 +02:00
CNodeInv_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
CSpace1_R.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
CSpace_I.thy fewer warnings 2015-05-16 19:52:49 +10:00
CSpace_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
Cache.thy Import release snapshot. 2014-07-14 21:32:44 +02:00
Corres.thy Import release snapshot. 2014-07-14 21:32:44 +02:00
Detype_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
EmptyFail.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
EmptyFail_H.thy Refine working. 2014-08-11 18:51:04 +10:00
Finalise_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
IncKernelInit.thy Import release snapshot. 2014-07-14 21:32:44 +02:00
Include.thy Import release snapshot. 2014-07-14 21:32:44 +02:00
InitLemmas.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
InterruptAcc_R.thy Import release snapshot. 2014-07-14 21:32:44 +02:00
Interrupt_R.thy fewer warnings 2015-05-16 19:52:49 +10:00
Invariants_H.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
Invocations_R.thy Import release snapshot. 2014-07-14 21:32:44 +02:00
IpcCancel_R.thy fewer warnings 2015-05-16 19:52:49 +10:00
Ipc_R.thy Repair refine/crefine for WCET annotations. 2015-07-14 14:23:29 +10:00
KHeap_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
KernelInit_R.thy abstract Haskell init parameters into constants 2014-11-06 18:48:36 +11:00
LevityCatch.thy remove old levity and taint-mode comments 2014-07-22 18:10:28 +02:00
Machine_R.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
Orphanage.thy fewer warnings 2015-05-16 19:52:49 +10:00
PageTableDuplicates.thy Repair refine/crefine for WCET annotations. 2015-07-14 14:23:29 +10:00
README.md misc: Proofing and formatting of README.md files. 2014-07-28 13:15:48 +10:00
Refine.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
Retype_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
Schedule_R.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
StateRelation.thy enable XN in abstract spec; update AInvs and Refine 2014-11-28 08:58:57 +11:00
SubMonad_R.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
Syscall_R.thy Repair refine/crefine for WCET annotations. 2015-07-14 14:23:29 +10:00
TcbAcc_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
Tcb_R.thy 2015 update for Refine 2015-05-12 17:17:31 +02:00
Untyped_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +10:00
VSpace_R.thy WIP on WCET annotations. 2015-07-14 14:23:29 +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

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.