Elm Exactly

TheoremuEq_unionL_nil

StandardElmMech/Stat/RefuseTypes.lean:696, Sorts of the new variables of an annotation · term proof

Statement

theorem uEq_unionL_nil (U V : List BVar) (h : UEq U V) : UEq (unionL [] U) (unionL [] V)

Proof

fun s => ⟨by simp only [mem_unionL]; simp [(h s).1], by simp only [mem_unionL]; simp [(h s).2]⟩

Proved by a term, which Lean's kernel checks directly.

Theorems it uses

Used by

In StandardElmMech/Stat/RefuseTypes.lean: Refusals by type expressions (aliases, constructor arguments, annotations, ports) and by the type of main (typesFailB, mainFailB), for every choice of generated names and variable sorts.

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.