Theorems · Theorem · number theory
Nat.digit_sum_le
∀ (p n : ℕ), (p.digits n).sum ≤ n
- Defined in
- Mathlib.Data.Nat.Digits.Defs
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 31 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites9
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- add_zeroproof · cited by 2,707
- le_reflproof · cited by 2,061
- Nat.digitsstatement and proof · cited by 70
- Nat.ofDigitsproof · cited by 61
- Nat.digits_zeroproof · cited by 15
- Nat.ofDigits_digitsproof · cited by 15
- Nat.ofDigits_oneproof · cited by 5
- Nat.ofDigits_monotoneproof · cited by 2
- Nat.digits_zero_succproof · cited by 1
Cited by2
Results whose statement or proof uses this declaration.
- sub_one_mul_padicValNat_choose_eq_sub_sum_digits'proof · cited by 1
- sub_one_mul_padicValNat_factorial_lt_of_ne_zeroproof · cited by 1