Theorems · Theorem · number theory
Nat.digits_ne_nil_iff_ne_zero
∀ {b n : ℕ}, b.digits n ≠ [] ↔ n ≠ 0- Defined in
- Mathlib.Data.Nat.Digits.Defs
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 32 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites2
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Nat.digitsstatement · cited by 70
- Nat.digits_eq_nil_iff_eq_zeroproof · cited by 1
Cited by5
Results whose statement or proof uses this declaration.
- Nat.getLast_digit_ne_zerostatement and proof · cited by 4
- sub_one_mul_padicValNat_factorial_lt_of_ne_zeroproof · cited by 1
- Nat.head!_digitsproof · cited by 1
- Nat.digits_append_digitsproof · cited by 1
- Nat.base_pow_length_digits_le'proof · cited by 0