Elm Exactly

Theoremmem_newU0

StandardElmMech/Stat/Schemes.lean:232, Explicit type variables (sec:static-core-explicit) · tactic proof

Statement

theorem mem_newU0 {ty : Src.BTy} {v : BVar} (h : v ∈ newU0 ty) : ∃ s ∈ bTyNames ty, v = nameVar ty s

Proof

by
  simp only [newU0, List.mem_map] at h
  obtain ⟨s, hs, rfl⟩ := h
  exact ⟨s, mem_dedupL.mp hs, rfl⟩

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

Theorems it uses

Used by

In StandardElmMech/Stat/Schemes.lean: Type functions, schemes and their canonical form, instances (Gen, genAt), explicit variables (NewFor), closure (closGroup, A93).

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.