Theorems · Theorem · number theory
Nat.multiplicative_factorization
∀ {β : Type u_1} [inst : CommMonoid β] (f : ℕ → β),
(∀ (x y : ℕ), x.Coprime y → f (x * y) = f x * f y) →
f 1 = 1 → ∀ {n : ℕ}, n ≠ 0 → f n = n.factorization.prod fun p k => f (p ^ k)For any multiplicative function f with f 1 = 1 and any n ≠ 0,
we can evaluate f n by evaluating f at p ^ k over the factorization of n
- Defined in
- Mathlib.Data.Nat.Factorization.Induction
- Cited by
- 3 results in Mathlib
- Foundations
- Depth 96 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- CommMonoid
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites16
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Finsuppproof · cited by 5,255
- CommMonoidstatement and proof · cited by 2,264
- Nat.Primeproof · cited by 2,059
- pow_zeroproof · cited by 1,094
- Finsupp.prodstatement and proof · cited by 231
- Nat.factorizationstatement and proof · cited by 215
- right_ne_zero_of_mulproof · cited by 38
- Nat.factorization_zeroproof · cited by 32
- left_ne_zero_of_mulproof · cited by 27
- Finsupp.prod_single_indexproof · cited by 26
- Nat.factorization_oneproof · cited by 10
- Nat.Prime.factorization_powproof · cited by 7
Cited by3
Results whose statement or proof uses this declaration.
- ArithmeticFunction.IsMultiplicative.multiplicative_factorizationproof · cited by 6
- Nat.totient_eq_prod_factorizationproof · cited by 2
- Nat.multiplicative_factorization'proof · cited by 0