Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 2.07 KB

README.md

File metadata and controls

58 lines (42 loc) · 2.07 KB

Theorems about CakeML's syntax and semantics.

astPropsScript.sml: Basic properties of the AST. TODO: delete this theory (it has no content)

cmlPtreeConversionPropsScript.sml: Definition of a function for mapping types back to ASTs, and proofs that check that the conversion functions are doing something reasonable. TODO: check this description is correct

evaluateComputeLib.sml: A compset for the operational semantics.

evaluatePropsScript.sml: Properties of the operational semantics.

fpOptPropsScript.sml: This file contains proofs about the matching and instantiation functions defined in patternScript.sml It also contains some compatibility lemmas for rwAllValTree, the value tree rewriting function

fpSemPropsScript.sml: Properties of floating-point value tree semantics

gramPropsScript.sml: Properties of the CakeML CFG, including automatically derived nullability results for various non-terminals, and results about the grammar’s rules finite map.

namespacePropsScript.sml: Proofs about the namespace datatype.

primSemEnvScript.sml: Proof about the primitive semantic environment

semanticPrimitivesPropsScript.sml: Various basic properties of the semantic primitives.

semanticsComputeLib.sml: compset for parts of the semantics, including the lexer.

semanticsPropsScript.sml: Theorems about the top-level semantics, including totality and determinism.

typeSoundInvariantsScript.sml: A type system for values, and the invariants that are used for type soundness.

typeSoundScript.sml: Proof of type soundness: a type-correct program does not crash.

typeSysPropsScript.sml: Theorems about the type system.

weakeningScript.sml: Weakening lemmas used in type soundness