Theoremsc_expRow
Statement
theorem sc_expRow : (r : AExpRow) → (C : Ctx) → (Γ : Shape) → Abs C Γ → checkExpRow C r = true →
scExpRow Γ r.erase = true
| .field _ e rest, C, Γ, hA, h => by
simp only [checkExpRow, Bool.and_eq_true] at h
simp only [AExpRow.erase, scExpRow, Bool.and_eq_true]
exact ⟨sc_exp e C Γ hA h.1, sc_expRowOpt rest C Γ hA h.2⟩Proof
Proved by a term, which Lean's kernel checks directly.
Used by
In StandardElmMech/Stat/RefuseScope.lean: Refusals by scope, constructor arity and imports, for one module and for a module after a helper (scopeFailB).
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.