Elm Exactly

TheoremelabItems_sk

StandardElmMech/Stat/RefuseScope.lean:1290, Skeletons of interfaces: what the elaboration of imports reads of them · term proof

Statement

theorem elabItems_sk (mid : ModId) (I : IEnv) : (is : List BItem) →
    elabItems (mid, I) is = elabItemsSk mid (skI I) is
  | [] => rfl
  | it :: rest => by
    simp only [elabItems, elabItemsSk, elabItem_sk, elabItems_sk mid I rest] <;> rfl

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.