Elm Exactly

TheorembadHead_canon

StandardElmMech/Stat/RefuseTypes.lean:1404, The type of `main` · tactic proof

Statement

theorem badHead_canon (σ : Scheme) (h : badHeadB σ.body = true) : badHeadB (Scheme.canon σ).body = true

Proof

by
  unfold Scheme.canon
  generalize renumber true 0 (canonVars σ.bound σ.body) = r
  obtain ⟨S, bs⟩ := r
  exact badHead_apply S σ.body h

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

Theorems it uses

Used by

In StandardElmMech/Stat/RefuseTypes.lean: Refusals by type expressions (aliases, constructor arguments, annotations, ports) and by the type of main (typesFailB, mainFailB), for every choice of generated names and variable sorts.

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.