Theorems · Inductive type · number theory
ZNum
Type
Representation of integers using trichotomy around zero.
``
13 = 1101(base 2) = pos (bit1 (bit0 (bit1 one)))
-13 = -1101(base 2) = neg (bit1 (bit0 (bit1 one)))
``
- Defined in
- Mathlib.Data.Num.Basic
- Cited by
- 73 results in Mathlib
- Foundations
- Depth 0 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites0
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
Nothing in Mathlib beyond the foundations.
Cited by109
Results whose statement or proof uses this declaration.
- castZNumstatement and proof · cited by 41
- Num.toZNumstatement and proof · cited by 18
- Num.toZNumNegstatement and proof · cited by 12
- ZNum.casesOnstatement and proof · cited by 9
- ZNum.succstatement and proof · cited by 8
- ZNum.bit1statement and proof · cited by 6
- PosNum.sub'statement · cited by 6
- ZNum.cast_to_intstatement and proof · cited by 5
- ZNum.ofInt'statement and proof · cited by 5
- ZNum.predstatement and proof · cited by 5
- ZNum.absstatement and proof · cited by 4
- ZNum.bitm1statement and proof · cited by 4