Theorems · Definition · number theory
PosNum.bit
Bool → PosNum → PosNum
bit b n appends the bit b to the end of n, where bit tt x = x1 and bit ff x = x0.
- Defined in
- Mathlib.Data.Num.Basic
- Cited by
- 6 results in Mathlib
- Foundations
- Depth 6 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- PosNumstatement · cited by 171
Cited by6
Results whose statement or proof uses this declaration.
- Num.castNum_eq_bitwisestatement and proof · cited by 4
- PosNum.bit_to_natstatement · cited by 1
- Num.castNum_xorproof · cited by 0
- Num.castNum_andproof · cited by 0
- Num.castNum_ldiffproof · cited by 0
- Num.castNum_orproof · cited by 0