Documentation

LeanUnits.Framework.Utils.Nat

Nat.find #

def Units.NatFind.find {p : ℕ → Prop} [DecidablePred p] (H : ∃ (n : ℕ), p n) :

Alternative definition of Nat.find using tail recursion.

Equations
Instances For
    theorem Units.NatFind.find_spec {p : ℕ → Prop} [DecidablePred p] (H : ∃ (n : ℕ), p n) :
    p (find H)