Theorems · Definition · number theory
PosNum.testBit
PosNum → ℕ → Bool
a.testBit n is true iff the n-th bit (starting from the LSB) in the binary representation
of a is active. If the size of a is less than n, this evaluates to false.
- Defined in
- Mathlib.Data.Num.Bitwise
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 14 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites2
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- PosNumstatement and proof · cited by 171
- PosNum.brecOnproof · cited by 16
Cited by3
Results whose statement or proof uses this declaration.
- Num.testBitproof · cited by 1
- Num.castNum_testBitproof · cited by 0
- PosNum.testBit.eq_defstatement and proof · cited by 0