Elm Exactly

Theoremclasses_eq

StandardElmMech/Src/GroupingProof.lean:92, The classes partition `range n` · term proof

Statement

theorem classes_eq : classes n r = (List.range n).foldl (stepC n r) []

Proof

rfl

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

Used by

In StandardElmMech/Src/GroupingProof.lean: components_valid: the canonical grouping is one the book allows (ValidNumbering).

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.