moebius-sq-LSeries-eulerProduct-… to LSeries totient eq
Theoremmoebius-sq-LSeries-eulerProduct-tprod#
For \(1\lt \Re(s)\) we have that
The naming convention here is designed to match
riemannZeta_eulerProduct_tprod
Proof
Immediately follows from Lemmas moebius-sq-LSeries.term-IsMultiplicative and moebius-sq-tsum-prime-pow.
Lean
Formalized as ArithmeticFunction.moebius_sq_LSeries_eulerProduct_tprod.
Sources
Uses 5 · Used by 1
Theoremmoebius-sq-LSeries-eulerProduct-hasProd#
For \(1\lt \Re(s)\) we have that
The naming convention here is designed to match
riemannZeta_eulerProduct_hasProd
Proof
Immediately follows from Lemmas moebius-sq-LSeries.term-IsMultiplicative and moebius-sq-tsum-prime-pow.
Lean
Formalized as ArithmeticFunction.moebius_sq_LSeries_eulerProduct_hasProd.
Sources
Uses 3 · Used by 1
Theoremzeta alt#
An expression for `ζ`, in IK (1.32).
Proof
The series \(\sum_{n=1}^{\infty}\mu^2(n)n^{-s}\) has Euler product \(\prod_{p} (1 + p^{-s})\). On the other hand, \(\zeta(2s)=\prod_p (1 - p^{-2s})^{-1}\). The product of these two Euler products is \(\prod_p (1 - p^{-s})^{-1} = \zeta(s)\), which gives the desired formula.
Lean
Formalized as ArithmeticFunction.zeta_alt.
Sources
Theorempow-divisors-mul#
Let \(m\) and \(n\) be coprime natural numbers and let \(k\) be fixed. The divisors \(x\) of \(mn\) with \(x^k \mid mn\) are exactly the products \(ab\) where \(a \mid m\), \(a^k \mid m\), \(b \mid n\), and \(b^k \mid n\).
Proof
Since \(m\) and \(n\) are coprime, every divisor of \(mn\) factors uniquely as \(ab\) with \(a \mid m\) and \(b \mid n\). For such a factorization, \(x^k \mid mn\) is equivalent to \(a^k \mid m\) and \(b^k \mid n\), again by coprimality.
Lean
Formalized as ArithmeticFunction.pow_divisors_mul.
Sources
Used by 1
Theoremdivisors-mul-injective#
Let \(m\) and \(n\) be coprime natural numbers. The function \((a,b) \mapsto ab\) is injective on the product of the divisors of \(m\) and \(n\).
Upstreamed to mathlib via PR #36495.
Proof
Since \(m\) and \(n\) are coprime, any element in the product of their divisors can be uniquely expressed as a product of an element from each set. The injectivity follows from the uniqueness of this decomposition.
Lean
Stated as ArithmeticFunction.divisors_mul_injective; the blueprint marks no proof of it as formalized.
Sources
Used by 1
Theorempow-divisors-mul-injective#
Let \(m\) and \(n\) be coprime natural numbers and let \(k\) be fixed. The map \((a,b) \mapsto ab\) is injective on the product of \(\{a \mid m : a^k \mid m\}\) and \(\{b \mid n : b^k \mid n\}\).
Proof
This is the restriction of Lemma divisors-mul-injective to a subset of the divisor product, so injectivity is preserved.
Lean
Formalized as ArithmeticFunction.pow_divisors_mul_injective.
Sources
Uses 1 · Used by 1
Definitionsum-moebius-sq-divisors#
The function \(n \mapsto \sum_{d^2|n} \mu(d)\).
Theoremsum-moebius-sq-divisors-apply#
A simple helper lemma for the above definition.
Uses 1 · Used by 2
Theoremsum-moebius-sq-divisors-is-multiplicative#
The function \(n \mapsto \sum_{d^2|n} \mu(d)\) is multiplicative.
Proof
We will show that for coprime \(m\) and \(n\), we have \(\sum_{d^2|mn} \mu(d) = \sum_{d^2|m} \mu(d) \cdot \sum_{d^2|n} \mu(d)\). This follows from Lemma pow-divisors-mul: the divisors \(d\) of \(mn\) with \(d^2 \mid mn\) factor uniquely as \(d=ab\) with \(a^2 \mid m\) and \(b^2 \mid n\). Multiplicativity of \(\mu\) then factors the sum.
Lean
Formalized as ArithmeticFunction.sum_moebius_sq_divisors_IsMultiplicative.
Sources
Uses 3 · Used by 1
Theoremsum-moebius-sq-divisors-apply-prime-pow#
Applied at prime powers, sum-moebius-sq-divisors coincides with \(\mu^2\).
Proof
For a prime power \(p^k\), note that if \(k\leq 1\) then the only square divisor is \(1\), so the sum evaluates as \(\mu(1)=1\). If \(k\geq 2\), then \(1\) and \(p^2\) are square divisors of \(p^k\). Thus, the sum evaluates as \(\mu(1)+\mu(p)+\ldots\) where the remaining terms are moebius of higher powers (if necessary). Since \(\mu(p)=-1\) and \(\mu\) of higher powers of \(p\) is zero, this is \(0\). This agrees with \(\mu(p^k)^2\), which is simply an indicator function for \(k\leq 1\) (i.e. \(p^k\) is squarefree).
Lean
Formalized as ArithmeticFunction.sum_moebius_sq_divisors_apply_prime_pow.
Sources
Uses 2 · Used by 1
Theoremmoebius-sq-eq#
I-K (1.33): \(\mu^2(n) = \sum_{d^2|n} \mu(d)\).
Proof
Apply the previous two lemmas.
Lean
Formalized as ArithmeticFunction.moebius_sq_eq.
Sources
Theoremliouville#
Liouville function: \(\lambda(n) = (-1)^{\Omega(n)}\).
Proof
The Liouville function \(\lambda(n)\) is defined as \((-1)^{\Omega(n)}\), where \(\Omega(n)\) is the total number of prime factors of \(n\) counted with multiplicity. This means that for each prime factor of \(n\), we contribute a factor of \(-1\) to the product, and the overall sign of \(\lambda(n)\) depends on whether the total number of prime factors is even or odd. Thus, we have \(\lambda(n) = (-1)^{\Omega(n)}\) by definition.
Lean
Formalized as ArithmeticFunction.liouville.
Sources
Used by 3
DefinitionIsCompletelyMultiplicative#
Define Complete Multiplicativity for an arithmetic function.
Used by 2
TheoremIsCompletelyMultiplicative.isMultiplicative#
A function that is completely multiplicative is also multiplicative.
Proof
Let \(f\) be a completely multiplicative function. To show that \(f\) is multiplicative, we need to verify that \(f(1) = 1\) and that \(f(ab) = f(a)f(b)\) for all coprime natural numbers \(a\) and \(b\). Since \(f\) is completely multiplicative, we have \(f(1) = 1\) by definition. For coprime \(a\) and \(b\), we can write \(ab\) as a product of prime factors, and since \(f\) is completely multiplicative, it will factor as the product of the values of \(f\) at those prime factors. This means that \(f(ab) = f(a)f(b)\) for coprime \(a\) and \(b\), which shows that \(f\) is multiplicative.
Lean
Formalized as ArithmeticFunction.IsCompletelyMultiplicative.isMultiplicative.
Sources
Uses 1
TheoremisCompletelyMultiplicative liouville#
The Liouville function is completely multiplicative.
Proof
The Liouville function \(\lambda(n)\) is defined as \((-1)^{\Omega(n)}\), where \(\Omega(n)\) counts the total number of prime factors of \(n\) with multiplicity. To show that \(\lambda\) is completely multiplicative, we need to verify that \(\lambda(1) = 1\) and that \(\lambda(ab) = \lambda(a)\lambda(b)\) for all natural numbers \(a\) and \(b\).
Lean
Stated as ArithmeticFunction.isCompletelyMultiplicative_liouville; the blueprint marks no proof of it as formalized.
Sources
Uses 2
TheoremLSeries liouville eq#
The Dirichlet series of the Liouville function is \(\zeta(2s)/\zeta(s)\).
Proof
The Liouville function \(\lambda(n)\) is multiplicative, and its value at prime powers is given by \(\lambda(p^k) = (-1)^k\). The Dirichlet series of \(\lambda\) can be expressed as an Euler product over primes:
Lean
Stated as ArithmeticFunction.LSeries_liouville_eq; the blueprint marks no proof of it as formalized.
Sources
Uses 1
Theoremliouville eq moebius on squarefree#
The Liouville function agrees with the Möbius function on square-free numbers.
Proof
The Liouville function \(\lambda(n)\) is defined as \((-1)^{\Omega(n)}\), where \(\Omega(n)\) counts the total number of prime factors of \(n\) with multiplicity. The Möbius function \(\mu(n)\) is defined as \(0\) if \(n\) has a squared prime factor, and otherwise it is \((-1)^{\omega(n)}\), where \(\omega(n)\) counts the number of distinct prime factors of \(n\). For square-free numbers, we have \(\Omega(n) = \omega(n)\), since there are no repeated prime factors. Therefore, for square-free numbers, we have \(\lambda(n) = (-1)^{\omega(n)} = \mu(n)\), which shows that the Liouville function agrees with the Möbius function on square-free numbers.
Lean
Formalized as ArithmeticFunction.liouville_eq_moebius_on_squarefree.
Sources
Uses 1
TheoremLSeries totient eq#
Euler totient series: \(\sum_{n=1}^{\infty} \varphi(n) n^{-s} = \zeta(s-1)/\zeta(s)\) for \(\Re(s) > 2\).
This is IK (1.35). The L-series converges absolutely for Re(s) > 2
(using φ(n) ≤ n to bound terms; the original hypothesis 1 < Re(s) is incorrect).
Proof
The Euler totient function \(\varphi(n)\) counts the positive integers up to \(n\) that are relatively prime to \(n\). It is a multiplicative function, and its value at prime powers is given by \(\varphi(p^k) = p^k - p^{k-1}\). The Dirichlet series of \(\varphi\) can be expressed as an Euler product over primes:
The L-series converges absolutely for Re(s) \(>\) 2, using φ(n) ≤ n to bound the terms.
Lean
Formalized as ArithmeticFunction.LSeries_totient_eq.
Sources
Uses 2
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.