Theorems · Theorem · number theory
Nat.digits_two_eq_bits
∀ (n : ℕ), Nat.digits 2 n = List.map (fun b => bif b then 1 else 0) n.bits
- Defined in
- Mathlib.Data.Nat.Digits.Lemmas
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 41 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites14
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- add_zeroproof · cited by 2,707
- add_commproof · cited by 1,535
- mul_div_cancel_left₀proof · cited by 111
- Nat.bitproof · cited by 92
- Nat.digitsstatement and proof · cited by 70
- one_lt_twoproof · cited by 67
- Nat.digits_zeroproof · cited by 15
- Nat.bitsstatement and proof · cited by 10
- Nat.bits_append_bitproof · cited by 6
- Nat.binaryRecFromOneproof · cited by 6
- Nat.zero_bitsproof · cited by 4
- Nat.digits_def'proof · cited by 3
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.