Elm Exactly

Theoremgen_of_genAt

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

Statement

theorem gen_of_genAt {σ : Scheme} {ts : List Ty} {τ : Ty} (h : genAt σ ts τ = true) : Gen σ τ

Proof

by
  unfold genAt at h
  split at h
  · rename_i S hS
    simp only [Bool.and_eq_true, decide_eq_true_eq] at h
    exact ⟨ts, S, hS, (Subst.respectsB_iff S).mp h.1, h.2⟩
  · cases h

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.