Elm Exactly

TheoremnodesOkB_nodesPatRowOpt

StandardElmMech/Stat/Annotated.lean:472, The types at the nodes · term proof

Statement

theorem nodesOkB_nodesPatRowOpt (U : List BVar) (path : List Nat) : ∀ r : Option APatRow,
    nodesOkB (nodesPatRowOpt U path r) = okPatRowOptB r
  | none => rfl
  | some r => by simp only [nodesPatRowOpt, okPatRowOptB]; exact nodesOkB_nodesPatRow U path r

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.