Elm Exactly

Theoremcls_sorted

StandardElmMech/Src/GroupingProof.lean:74, The reach table · tactic proof

Statement

theorem cls_sorted (a : Nat) : (cls n r a).Pairwise (· < ·)

Proof

by
  unfold cls
  exact (List.pairwise_lt_range).filter _

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

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.