TheoremlibME_eval
The library modules, evaluated in order in ME0 by Chapter 7's rules (r:dm-module and the rules of its premises), have the interfaces libME binds: the analogue, for the core library, of elmTexts_eval and me0_PlatformCmd_none_eval.
Statement
theorem libME_eval : EvalLib ME0 libModules libMEProof
libCheck_sound ME0 libTexts (by decide +kernel)Proved by decide +kernel: Lean's kernel itself runs the decision procedure, here the evaluator, and checks that the answer is true, so nothing outside the kernel is trusted.
Rules of the book it uses
Theorems it uses
In StandardElmMech/Lib/Library.lean: The core library values written in Elm (plans/library-elm-texts.md): libME, the interfaces Chapter 7's rules give the library modules of Generated/Library.lean, evaluated in order in ME0 (libME_eval: each module's derivation by r:dm-module, from the evaluator's soundness); Lib.Btest, the dynamic test basis with the library (Mod.Btest libME), in which the view programs' theorems are stated. Only a value a program looks up is evaluated.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.