Version: v0.14.0

Esm.Units.Examples

Lean module Esm.Units.Examples, formal/Esm/Units/Examples.lean at ffd5aee2f868
Imports Esm.Units.GrammarLaws

Concrete checks of the §4.8.2 grammar on the spec’s own example strings (tests, not properties: the kernel evaluates normalisation, lexing and parsing).

def parseChars (cs : List Char) : Except Err UExpr

Normalise, lex and parse (no table lookup).