Elm Exactly

Theoremgrow_ge

StandardElmMech/Src/Graph.lean:120, Facts about growing · term proof

Statement

theorem grow_ge {n : Nat} {r : Nat → Nat → Bool} {s : List Nat} (hs : Shape n s) : ∀ j ∈ s, j ∈ grow n r s

Proof

fun j hj => mem_grow.mpr ⟨shape_lt hs j hj, .inl hj⟩

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

Theorems it uses

Used by

In StandardElmMech/Src/Graph.lean: Reachability on graphs over 0 .. n-1 (Plus, Reach) and its decider, proved correct (plusB_iff, reachB_iff).

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.