Elm Exactly

TheoremnodesOkB_single

StandardElmMech/Stat/Annotated.lean:445, The types at the nodes · tactic proof

Statement

theorem nodesOkB_single (p : List Nat) (U : List BVar) (ts : List Ty) (ss : List Scheme) :
    nodesOkB [⟨p, U, ts, ss⟩] = ts.all Ty.okB

Proof

by
  simp [nodesOkB]

Proved with tactics, which Lean expands into a proof term that its kernel checks.

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.