Theorems · Definition · order theory
Nat.leRec
{n : ℕ} →
{motive : (m : ℕ) → n ≤ m → Sort u_1} →
motive n ⋯ → (⦃k : ℕ⦄ → (h : n ≤ k) → motive k h → motive (k + 1) ⋯) → {m : ℕ} → (h : n ≤ m) → motive m hRecursion starting at a non-zero number: given a map C k → C (k+1) for each k ≥ n,
there is a map from C n to each C m, n ≤ m.
This is a version of Nat.le.rec that works for Sort u.
Similarly to Nat.le.rec, it can be used as
``
induction hle using Nat.leRec with
| refl => sorry
| le_succ_of_le hle ih => sorry
``
- Defined in
- Mathlib.Data.Nat.Init
- Cited by
- 13 results in Mathlib
- Foundations
- Depth 17 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites0
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
Nothing in Mathlib beyond the foundations.
Cited by16
Results whose statement or proof uses this declaration.
- Nat.le_inductionproof · cited by 46
- ProbabilityTheory.Kernel.partialTrajproof · cited by 44
- Nat.leRecOnproof · cited by 13
- Nat.decreasingInductionproof · cited by 9
- Nat.leRec_selfstatement and proof · cited by 7
- Nat.leRec_succstatement and proof · cited by 6
- ProbabilityTheory.Kernel.partialTraj_succ_of_leproof · cited by 3
- Nat.leRec_succ'statement · cited by 3
- Nat.leRec_transstatement and proof · cited by 2
- Perfection.coeff_surjectiveproof · cited by 1
- Nat.leRec_succ_leftstatement and proof · cited by 1
- Nat.decreasingInduction_succproof · cited by 1