Theorems · Definition · number theory
Nat.bits
ℕ → List Bool
bits n returns a list of Bools which correspond to the binary representation of n, where
the head of the list represents the least significant bit
- Defined in
- Mathlib.Data.Nat.Bits
- Cited by
- 10 results in Mathlib
- Foundations
- Depth 35 from the axioms · uses propext, Quot.sound
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.
- Nat.binaryRecproof · cited by 24
Cited by10
Results whose statement or proof uses this declaration.
- Nat.bits_append_bitstatement and proof · cited by 6
- Nat.zero_bitsstatement · cited by 4
- Nat.div2_bits_eq_tailstatement and proof · cited by 1
- Nat.one_bitsstatement · cited by 1
- Nat.bit1_bitsstatement · cited by 1
- Nat.bodd_eq_bits_headstatement and proof · cited by 1
- Nat.digits_two_eq_bitsstatement and proof · cited by 0
- Nat.size_eq_bits_lenstatement and proof · cited by 0
- Nat.testBit_eq_inthstatement and proof · cited by 0
- Nat.bit0_bitsstatement · cited by 0