TheoremlibME_modules
The modules the library extends, in order.
Statement
theorem libME_modules : libME.map (·.1) = ["List", "Maybe", "Result", "Tuple"]Proof
rflProved by a term, which Lean's kernel checks directly.
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.