Theorems · Theorem · number theory
Nat.testBit_eq_inth
∀ (n i : ℕ), n.testBit i = n.bits.getI i
The ith bit is the ith element of n.bits.
- Defined in
- Mathlib.Data.Nat.Bitwise
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 40 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites12
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Nat.bitproof · cited by 92
- List.headIproof · cited by 42
- Nat.boddproof · cited by 37
- Nat.div2proof · cited by 25
- List.getIstatement and proof · cited by 17
- Nat.bitsstatement and proof · cited by 10
- Nat.testBit_bit_succproof · cited by 6
- Nat.bit_bodd_div2proof · cited by 3
- Nat.mod_two_of_boddproof · cited by 3
- Nat.div2_bits_eq_tailproof · cited by 1
- List.getI_zero_eq_headIproof · cited by 1
- Nat.bodd_eq_bits_headproof · cited by 1
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.