Elm Exactly

TheoremgenAt_of_gen

StandardElmMech/Stat/Schemes.lean:60, Binding variables to types · tactic proof

Statement

theorem genAt_of_gen {σ : Scheme} {τ : Ty} (h : Gen σ τ) : ∃ ts, genAt σ ts τ = true

Proof

by
  obtain ⟨ts, S, hS, hr, ha⟩ := h
  refine ⟨ts, ?_⟩
  simp [genAt, hS, (Subst.respectsB_iff S).mpr hr, ha]

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

Theorems it uses

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.