Elm Exactly

Theoremptyped_den

StandardElmMech/Stat/PatternsProof.lean:611, Small facts the induction uses · tactic proof

Statement

theorem ptyped_den {tbl : ConTable} {τ : Ty} {d : Den} (h : PTyped tbl τ (.den d)) :
    litKind τ = some d.kind ∧ d.inRange = true

Proof

by simpa [PTyped] using h

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

Used by

In StandardElmMech/Stat/PatternsProof.lean: The pattern decider is correct: every type is inhabited (inhabited), useful_spec, exhDec_sound, irrDec_sound.

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.