Documentation

LeanPool.CCDN.AuxiliaryPolynomial.PlaneBadPrimes

Finite bad-prime sets for plane equations, with coefficient-height charge bounds and irreducible good reductions.

theorem CCDN.mvPolynomial_irreducible_of_field_map {F : Type u_1} {K : Type u_2} {σ : Type u_3} [Field F] [Field K] (φ : F →+* K) (f : MvPolynomial σ F) (hf : Irreducible ((MvPolynomial.map φ) f)) :

A multivariate polynomial over a field whose image under a field homomorphism is irreducible is itself irreducible.

The total degree of the bivariate model bivariatePolynomialEquiv R f of a polynomial f in two variables equals the total degree of f.

Good reduction implies the irreducibility over the prime field needed by the singular determinant estimate.

theorem CCDN.exists_plane_bad_prime_set {F : Type u_1} [Field F] [CharZero F] [IsAlgClosed F] (f : MvPolynomial (Fin 2) ℤ) (hd : 0 < f.totalDegree) (hir : Irreducible ((MvPolynomial.map (Int.castRingHom F)) f)) (H : ℝ) (hH : 1 ≤ H) (hcoeff : CoefficientHeightLE f H) :
∃ (B : Finset ℕ), (∀ (p : ℕ), p ∈ B ↔ stepanovThreshold ↑f.totalDegree < ↑p ∧ HypersurfaceBadReduction f p) ∧ ∑ p ∈ B, Real.log ↑p / ↑p ≤ Real.log (1 + Real.log H / ↑f.totalDegree ^ 2) + Real.log 7 + 2 * mertensError + 1

The complete set of bad primes above stepanovThreshold d is finite and has the required charge bound. Good reductions outside this set are irreducible reductions, not an additional input.