TheoremconArgs_none
Statement
theorem conArgs_none {v : Val} {c : Con} {n : Nat} :
conArgs v c n = none → ¬ ∃ vs, v = .con c vs ∧ vs.length = nProof
by
unfold conArgs; split
· split <;> simp_all
· rename_i hn; intro _ ⟨vs, h, _⟩; exact hn c vs hProved with tactics, which Lean expands into a proof term that its kernel checks.
Used by
In StandardElmMech/Sound.lean: soundAt, evExp_sound_l, evExp_sound: every value of the evaluator, with its log, is derivable in the logged relation, and so in the book's.
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.