Elm Exactly

Theoremabs_plusVE

StandardElmMech/Stat/RefuseScope.lean:459, Sound value environments and the extension of shapes · term proof

Statement

theorem abs_plusVE {C : Ctx} {Γ : Shape} {VE : ValEnv} {xs : List String} (hA : Abs C Γ)
    (h : KeysIn VE xs) : Abs (C.plusVE VE) (extT Γ (vs xs))

Proof

abs_ext hA (vesound_of_keysIn h) (lookupExt_plusVE C VE)

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

Theorems it uses

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.