Theorems · Definition · number theory
Nat.binaryRec
{motive : ℕ → Sort u} → motive 0 → ((b : Bool) → (n : ℕ) → motive n → motive (Nat.bit b n)) → (n : ℕ) → motive nA recursion principle for bit representations of natural numbers.
For a predicate motive : Nat → Sort u, if instances can be
constructed for natural numbers of the form bit b n,
they can be constructed for all natural numbers.
- Defined in
- Mathlib.Data.Nat.BinaryRec
- Cited by
- 24 results in Mathlib
- Foundations
- Depth 34 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Nat.bitstatement and proof · cited by 92
Cited by33
Results whose statement or proof uses this declaration.
- Nat.bitIndicesproof · cited by 22
- Nat.sizeproof · cited by 18
- Nat.binaryRec_eqstatement and proof · cited by 12
- Nat.binaryRec'proof · cited by 11
- Num.ofNat'proof · cited by 10
- Nat.bitsproof · cited by 10
- Nat.bits_append_bitproof · cited by 6
- Nat.fastFibAuxproof · cited by 6
- Nat.binaryRec_zerostatement · cited by 4
- Nat.sum_map_two_pow_bitIndicesproof · cited by 3
- Nat.evenOddRecproof · cited by 3
- Nat.bitIndices_sortedproof · cited by 3