Elm Exactly

TheoremskI_plus

StandardElmMech/Stat/RefuseScope.lean:1553, The skeleton of a module's interface is the same in every derivation · tactic proof

Statement

theorem skI_plus (I I' : IEnv) : skI (I.plus I') = plusSk (skI I) (skI I')

Proof

by
  simp only [skI, IEnv.plus, plusSk, mapV_modify, keys_modify] <;> rfl

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

Theorems it uses

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.