TheoremnodesOkB_nodesMatch
Statement
theorem nodesOkB_nodesMatch (C : Ctx) (path : List Nat) : ∀ m : AMatch, nodesOkB (nodesMatch C path m) = okMatchB m
| .mk (.mk p e) rest => by
simp only [nodesMatch, okMatchB]; nodes_ok_simp
rw [nodesOkB_nodesPat C.U _ p, nodesOkB_nodesExp _ _ e, nodesOkB_nodesMatchOpt C _ rest]Proof
Proved by a term, which Lean's kernel checks directly.
In StandardElmMech/Stat/Annotated.lean: Annotated phrases (D10: a derivation is a phrase with the objects its rules choose) and the checker (checkExp, checkModule, checkProgram).
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.