Theorems · Theorem · number theory
PosNum.testBit.eq_def
∀ (x : PosNum) (x_1 : ℕ),
x.testBit x_1 =
match x, x_1 with
| PosNum.one, 0 => true
| PosNum.one, x => false
| a.bit0, 0 => false
| p.bit0, n.succ => p.testBit n
| a.bit1, 0 => true
| p.bit1, n.succ => p.testBit n- Defined in
- Mathlib.Data.Num.Lemmas
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 15 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites5
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.brecOn.goproof · cited by 10
- PosNum.belowproof · cited by 10
- PosNum.brecOn.eqproof · cited by 9
- PosNum.testBitstatement and proof · cited by 2
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.