cfahlgren1/math / lean /OAI /NumberTheory /PiExponent /LocalAlgebra /PrimeDegreeExistence.lean
cfahlgren1's picture
download
raw
1.66 kB
import OAI.NumberTheory.PiExponent.LocalAlgebra.PrimeHilbertDegree
import OAI.NumberTheory.PiExponent.Polynomials.HomogeneousHilbertPolynomial
namespace OAI
namespace PiExponentJets.W27
open PiExponentJets.W64
attribute [local instance] MvPolynomial.gradedAlgebra
variable {k σ : Type*} [Field k] [Fintype σ]
theorem exists_prime_hilbert_polynomial_degree_ge_one
(P : Ideal (MvPolynomial σ k)) [P.IsPrime]
(hP : P.IsHomogeneous (MvPolynomial.homogeneousSubmodule σ k))
(i : σ) (hi : MvPolynomial.X i ∉ P) :
∃ p : Polynomial ℚ, ∃ N : ℕ,
(∀ n : ℕ, N < n →
(Module.finrank k (quotientSection P n) : ℚ) = p.eval (n : ℚ)) ∧
1 ≤ p.leadingCoeff * (p.natDegree.factorial : ℚ) := by
obtain ⟨p, N, hp⟩ := exists_homogeneous_hilbert_polynomial σ P hP
refine ⟨p, N, hp, ?_⟩
apply prime_eventual_hilbert_degree_ge_one P i hi p (N+1)
intro n hn
exact (hp n (by omega)).symm
omit [Fintype σ] in
theorem quotient_eventual_hilbert_coefficient_nonneg
(I : Ideal (MvPolynomial σ k)) (p : Polynomial ℚ) (N d : ℕ)
(hp : ∀ n : ℕ, N ≤ n → p.eval (n : ℚ) =
(Module.finrank k (quotientSection I n) : ℚ))
(hd : p.natDegree ≤ d) : 0 ≤ p.coeff d * (d.factorial : ℚ) := by
have hl : 0 ≤ p.leadingCoeff :=
polynomial_leadingCoeff_nonneg_of_eventually_nonneg p N (by
intro n hn
rw [hp n hn]
positivity)
rcases eq_or_lt_of_le hd with heq | hlt
· rw [← heq, ← Polynomial.leadingCoeff]
exact mul_nonneg hl (by positivity)
· rw [Polynomial.coeff_eq_zero_of_natDegree_lt hlt, zero_mul]
end PiExponentJets.W27
end OAI

Xet Storage Details

Size:
1.66 kB
·
Xet hash:
bab4e160a59a405147e32bad063f45460792283d6dd8f98a7a2e3070f7997620

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.