Theorems · Theorem · number theory
Nat.div2_succ
∀ (n : ℕ), (n + 1).div2 = bif n.bodd then n.div2.succ else n.div2
- Defined in
- Mathlib.Data.Nat.Bits
- Cited by
- 4 results in Mathlib
- Foundations
- Depth 52 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites7
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Nat.bitproof · cited by 92
- Nat.boddstatement and proof · cited by 37
- Nat.div2statement and proof · cited by 25
- Nat.bodd_succproof · cited by 11
- Nat.bitCasesOnproof · cited by 8
- Nat.bit_valproof · cited by 7
- Nat.bodd_mulproof · cited by 5
Cited by4
Results whose statement or proof uses this declaration.
- Computable.sumCasesOnproof · cited by 5
- Primrec.sumCasesOnproof · cited by 1
- Nat.boddDiv2_eqproof · cited by 0
- Num.castNum_shiftRightproof · cited by 0