Skip to content

Latest commit

 

History

History

opentheory

Implementation of an OpenTheory reader based on the Candle kernel.

compilation: This directory contains the script that does in-logic compilation of the OpenTheory article checker.

prettyScript.sml: A pretty printer producing mlstring app_lists. Based on the pretty printer from "ML from the working programmer".

readerProgScript.sml: Deeply embedded CakeML program that implements an OpenTheory article checker.

readerProofScript.sml: Correctness proofs about the OpenTheory article checker's CakeML implementation. In particular, anything the article checker proves follows by logical inference in Candle's version of the HOL logic.

readerScript.sml: Shallowly embedded (monadic) functions that implement the OpenTheory article checker.

readerSoundnessScript.sml: Proves soundness of the OpenTheory article checker. The soundness theorem makes the connection to the semantics of HOL explicit.

reader_commonProgScript.sml: There are two 'frontends' to the OpenTheory reader. This theory contains translations of the functions which are used by both versions so that we do not translate more than once.

reader_initScript.sml: Kernel initialisation