Theorems · Theorem · number theory
PosNum.divMod.eq_def
∀ (d x : PosNum),
d.divMod x =
match x with
| n.bit0 =>
match d.divMod n with
| (q, r₁) => d.divModAux q r₁.bit0
| n.bit1 =>
match d.divMod n with
| (q, r₁) => d.divModAux q r₁.bit1
| PosNum.one => d.divModAux 0 1- Defined in
- Mathlib.Data.Num.ZNum
- Cited by
- 1 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.
Cites9
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- PosNumstatement and proof · cited by 171
- Numstatement and proof · cited by 117
- PosNum.belowproof · cited by 10
- PosNum.brecOn.goproof · cited by 10
- Num.bit0statement and proof · cited by 9
- PosNum.brecOn.eqproof · cited by 9
- Num.bit1statement and proof · cited by 8
- PosNum.divModstatement and proof · cited by 2
- PosNum.divModAuxstatement and proof · cited by 2
Cited by1
Results whose statement or proof uses this declaration.
- PosNum.divMod_to_natproof · cited by 2