Scaled auxiliary polynomial #
The symmetric polynomial ∑ᵢ T(Xᵢ) and its evaluation, providing the algebraic
input to the auxiliary integer in Niven's proof.
The symmetric polynomial ∑ᵢ₌₀ⁿ⁻¹ T(Xᵢ).
Equations
- MvPolynomialSumX T n = ∑ i : Fin n, (Polynomial.aeval (MvPolynomial.X i)) T
Instances For
Evaluating ∑ᵢ₌₀ⁿ⁻¹ T(Xᵢ) at a gives ∑ᵢ₌₀ⁿ⁻¹ T(aᵢ).
The polynomial ∑ᵢ₌₀ⁿ⁻¹ T(Xᵢ) is symmetric in the variables X₀, …, Xₙ₋₁.
If a₀, …, aₙ₋₁ are the roots of a monic polynomial B, then
∑ᵢ₌₀ⁿ⁻¹ T(aᵢ) is a polynomial expression in the coefficients of B.
For P = ∑ₖ₌₀ⁿ⁻¹ cₖ Xᵏ, this defines ∑ₖ (cₖ / cᵏ) (x₁ᵏ + ⋯ + xₙᵏ).
Equations
- scaledMvPolynomial P c n = ∑ k ∈ Finset.range (P.natDegree + 1), MvPolynomial.C ((algebraMap R K) (P.coeff k) / c ^ k) * MvPolynomial.psum (Fin n) K k
Instances For
Evaluating the scaled power-sum polynomial of P at c a gives ∑ᵢ₌₀ⁿ⁻¹ P(aᵢ).
∑ⱼ₌₀ⁿ⁻¹ Gₚ(aⱼ) = (1 / p!) ∑ᵢ₌ₚ^deg(Fₚ) ∑ⱼ₌₀ⁿ⁻¹ Fₚ⁽ⁱ⁾(aⱼ).
The symmetric polynomial encoding the scaled i-th derivative of Fₚ through power
sums, i.e. ∑ₖ₌₀^deg(Fₚ) cˢ⁻ᵏ · (i! / p!) · (k-Coeff of Sₚ) · (X₀ᵏ + ⋯ + Xₙ₋₁ᵏ) .
Equations
- RpolyFp T c p s i n = ∑ k ∈ Finset.range ((Fp T p).natDegree + 1), MvPolynomial.C (ScaledCoeffDerivFp T c p s i k) * MvPolynomial.psum (Fin n) ℤ k
Instances For
((cˢ⁻ᵏ) / p!) · (k-th coeff of Fₚ⁽ⁱ⁾) = cˢ⁻ᵏ · (i! / p!) · (k-Coeff of Sₚ).
Evaluating ``∑ₖ (cₖ / cᵏ) (x₁ᵏ + ⋯ + xₙᵏ)at(c a₀, …, c aₙ₋₁)gives the scaled sum
`(cˢ / p!) ∑ⱼ₌₀ⁿ⁻¹ Fₚ⁽ⁱ⁾(aⱼ)`.
The polynomial ∑ₖ₌₀^deg(Fₚ) cˢ⁻ᵏ · (i! / p!) · (k-Coeff of Sₚ) · (X₀ᵏ + ⋯ + Xₙ₋₁ᵏ)
is symmetric.
Suppose that T = c T with T ∈ ℤ[X], T' ∈ ℚ[X], and c ∈ ℤ. If a₀, …, aₙ₋₁ are the
roots of T' in ℂ, then evaluating
∑ₖ₌₀^deg(Fₚ) cˢ⁻ᵏ · (i! / p!) · (k-Coeff of Sₚ) · (X₀ᵏ + ⋯ + Xₙ₋₁ᵏ)
at (c a₀, …, c aₙ₋₁) gives an integer polynomial expression in the coefficients T.
The integer witness for evaluating
∑ₖ₌₀^deg(Fₚ) cˢ⁻ᵏ · (i! / p!) · (k-Coeff of Sₚ) · (X₀ᵏ + ⋯ + X_{d-1}ᵏ)
at (c a₀, …, c a_{d-1}).
Equations
- intAevalRpoly T T' c p s d a hc hmonic hd hT hroots' i = (MvPolynomial.aeval fun (j : Fin d) => (-1) ^ (↑j + 1) * (monicRescaleOf T d c).coeff (d - (↑j + 1))) (Classical.choose ⋯)
Instances For
The integer witness for cᵖᵈ⁻¹ ∑ₘ Gₚ(aₘ).
Equations
- intSumAevalGp T T' c d a hc hmonic hd hT hroots' p = ∑ i ∈ Finset.Icc p (Fp T p).natDegree, intAevalRpoly T T' c p (p * d - 1) d a hc hmonic hd hT hroots' i
Instances For
Suppose that T = c T with T ∈ ℤ[X], T' ∈ ℚ[X] monic of degree d, and c ∈ ℤ.
If a₀, …, aₙ₋₁ are the roots of T' in ℂ, then the sum c^(p * d - 1) ∑_m Gₚ(a_m)
is an integer.