The modular polynomial Φ_m ∈ ℤ[X, Y] and Kronecker's lemma (Phase C, chunks B6–B7) #
Fourth file of Track 1 of Phase C (see Playground/Pi/PhaseC-PLAN.md, §3.1 sub-lemmas
(B6)–(B7)). It refines the ℚ-coefficient modular polynomial of ModularPolynomialQ.lean
to a ℤ-coefficient one (needed for m = 41, the smallest usable index), and packages
Kronecker's unit-leading-coefficient lemma into the form Integrality.lean consumes.
What is delivered #
(ℤ[ζ_m] ∩ ℚ = ℤ)
isInt_of_integral_of_rat/mem_bot_of_integral_of_rat: a self-contained algebra tool — a complex number that is both rational and an algebraic integer lies in the image ofℤ(i.e. in the bottom subring⊥ ⊆ ℂ). This is the pointwise mechanism by which theℤ[ζ_m]-integrality of the un-averagedw-expansion coefficients, once combined with the rationality of the averagedq-coefficients (the(B3)/Sk_eq_poly_joutput), upgrades a coefficient fromℚtoℤ. Provided now, standalone.(B6)
exists_PhiZ: given that each coefficient of the orbit polynomial∏_i (X − f_i τ)is cusp-meromorphic of finite order with coefficients in⊥(the hypothesishZ, mirroring thehratgate ofModularPolynomialQ.lean'sexists_PhiQ, but with the integer subring⊥in place of aℚ-subring — thehrat-closing machinery yields both, since the coefficient-tracking ofSk_eq_poly_jis generic in the subringR), the file producesPhiZ : Polynomial (Polynomial ℤ)with the keystone identity∏_i (X − f_i τ) = Φ_m(X, j τ)(orbitPoly m τ = specializeZ (j τ) PhiZ). The proof runs the unconditionalSk_eq_poly_j_closedatR = ⊥and lifts each⊥-coefficient polynomial toℤ.API for
Rationality.lean/MasserA1.lean/Integrality.lean:orbitPoly_eval_eq_prod:(∏_i (X − f_i τ)).eval z = ∏_i (z − f_i τ);PhiQ_eval_j_root(the bridge§4.2/§5consume): ifj σ = f m i τfor some coset indexi, thenΦ_m(j σ, j τ) = 0— one factor of the orbit product vanishes. Stated against an abstractPhiQ+ its defining identity, so that plugging in the parallel agent'sexists_PhiQ_closedis a three-line follow-up;diagPhiZanddiagPhiZ_map_eval: the diagonal polynomialG_m(X) := Φ_m(X, X) ∈ ℤ[X]withG_m(j τ) = ∏_i (j τ − f_i τ);isIntegral_of_kronecker: the(B9)bridge — ifG_mhas leading coefficient±1(Kronecker) andj τis a root ofG_m(a CM relation), thenIsIntegral ℤ (j τ).
Status of the two remaining deep inputs (zero sorry) #
DISCHARGED (see the appended
w-expansion section,orbitPoly_coeff_isCuspMeroR_bot, yieldingexists_PhiZ_closed). The⊥-coefficient cusp-meromorphy hypothesishZofexists_PhiZwas originally taken as an argument; it is now closed unconditionally. Route (perPhaseC-PLAN.md§3.1 (B6)): eachq-expansion coefficient of(orbitPoly m τ).coeff n · qᴺis (i) rational — the(B3)root-of-unity averaging /Sk_eq_poly_joutput, exactly the datum the parallel agent produces forexists_PhiQ; and (ii) an algebraic integer — the un-averagedw = exp(2πiτ/m)-expansion of each orbit piecef_ihas coefficients in the subringℤ[ζ_m] ⊆ ℂ(substituteq ↦ ζ^{b}·wⁿintojqInt's integer coefficients,hasSum_f_some/hasSum_f_noneofCosetOrbit.lean), whose elements are integral overℤ(ζ_mis a root of unity; the integral elements form a subring). Bymem_bot_of_integral_of_rateach coefficient then lies in⊥. No Galois descent is used — this is the plan's main simplification (§6.6): rationality from averaging, integrality from ring closure, combined pointwise.(B7) Kronecker
G_m.leadingCoeff = ±1is taken as the hypothesishleadofisIntegral_of_kronecker. Route (perPhaseC-PLAN.md§3.1 (B7);mnon-square, here the prime41): the productD(τ) = ∏_i (j τ − f_i τ) = G_m(j τ)has a leadingq-Laurent term computable from thew-expansions ofCosetOrbit.lean. Withq = wᵐ:j ~ w^{-m}(leading coeff1, fromjqInt.coeff 0 = 1),f_b ~ ζ^{-b} w^{-1}(fromhasSum_f_some,jqInt.coeff 0 = 1),f_∞ ~ w^{-m²}(fromhasSum_f_none). Asm ≥ 2:j − f_b ~ w^{-m}(leading coeff1) andj − f_∞ ~ −w^{-m²}(leading coeff−1); the product is−w^{-2m²}·(1 + O(w)) = −q^{-2m}·(1 + …), soD ~ −(j)^{2m}. SinceG_m(j τ) = D(τ)andjhas a simple pole with leading coefficient1, matching the most negativeq-powers givesnatDegree G_m = 2mandG_m.leadingCoeff = −1(a±1, up to the sign bookkeepingζ^{−Σb} = ζ^{−m(m−1)/2} = 1formodd). Formalizing the leading-term extraction of the productDand matching against∑ a_r (j)^ris thecuspLeadCoeff-level work flagged in the plan (§6.3, "ModularPolynomialZ + Kronecker", medium risk). Everything downstream of±1(the monic-up-to-sign annihilator ⇒IsIntegral) is proved here in full, so once the extraction lands,hleadis discharged andIntegrality.leancloses.
The (B8) CM relation ∃ i, j τ₁₆₃ = f m i τ₁₆₃ that feeds both the root bridge and Kronecker
lives in CMRelations.lean (a two-line Möbius computation), consumed via diagPhiZ_eval_eq_zero
/ PhiQ_eval_j_root.
(ℤ[ζ_m] ∩ ℚ = ℤ) : rational + algebraic-integer ⇒ integer #
The self-contained algebra tool. A complex number that is rational and integral over ℤ is an
integer (IsIntegrallyClosed for ℤ ⊆ ℚ); packaged as membership in the bottom subring ⊥ ⊆ ℂ
(which, by Subring.mem_bot, is exactly the image of ℤ). Re-derived from Mathlib here (the
identical fact is private in Coefficients.lean).
ℤ[ζ_m] ∩ ℚ = ℤ, packaged. A complex number that is integral over ℤ (e.g. an element
of ℤ[ζ_m]) and rational lies in the bottom subring ⊥ ⊆ ℂ (the image of ℤ). This is the
pointwise upgrade ℚ-coefficient ⇒ ℤ-coefficient of (B6).
Lifting ⊥-coefficient complex polynomials to ℤ #
A Polynomial ℂ all of whose coefficients lie in ⊥ (i.e. are integers) is the image of a
Polynomial ℤ under Int.castRingHom ℂ.
If every coefficient of P : ℂ[X] lies in ⊥ (is an integer), then P = Q.map (ℤ → ℂ) for
some Q : ℤ[X].
(B6) The modular polynomial Φ_m ∈ ℤ[Y][X] #
The ℤ-analogue of ModularPolynomialQ.lean's specializeY / exists_PhiQ.
Specialization of a ℤ[Y][X]-polynomial at Y = Y₀ ∈ ℂ: map each ℤ[Y]-coefficient to its
value at Y₀ under ℤ → ℂ, landing in ℂ[X]. Applied at Y₀ = j τ this is Φ_m(X, j τ).
Equations
Instances For
Per-coefficient ℤ-refinement: assuming the coefficient (orbitPoly m τ).coeff n is
cusp-meromorphic of finite order with coefficients in ⊥, it equals a ℤ-polynomial in j τ.
Uses the unconditional Sk_eq_poly_j_closed at R = ⊥ and lifts the resulting ⊥-coefficient
polynomial to ℤ.
(B6) The modular polynomial Φ_m ∈ ℤ[Y][X]. Given the ⊥-coefficient cusp-meromorphy of
every orbit-polynomial coefficient (hZ), there is PhiZ : Polynomial (Polynomial ℤ) with the
keystone identity ∏_i (X − f_i τ) = Φ_m(X, j τ) for every τ. This is the object consumed by
Integrality.lean (through diagPhiZ / Kronecker).
Evaluation of the orbit polynomial and the root bridge #
The keystone identity orbitPoly m τ = Φ_m(X, j τ) turns coset coincidences j σ = f_i τ into
roots Φ_m(j σ, j τ) = 0. Stated against an abstract PhiQ + its defining property (so the
parallel agent's exists_PhiQ_closed, of the same shape as exists_PhiQ, discharges it in three
lines), and mirrored for PhiZ.
Evaluating the orbit polynomial at z : ℂ gives the product ∏_i (z − f_i τ).
If j σ = f m i τ for some coset index i, then j σ is a root of the orbit polynomial
∏_i (X − f_i τ).
The root bridge (§4.2/§5), ℚ-version. If j σ coincides with some coset value
f m i τ (a CM relation), then Φ_m(j σ, j τ) = 0. Consumed by Rationality.lean (C2, applied
under a field embedding σ : ℚ(j₀) → ℂ) and MasserA1.lean (F(z) = Φ₁₆₃(j(Λz), j z) ≡ 0).
Stated against an abstract PhiQ : Polynomial (Polynomial ℚ) together with its defining identity
hPhiQ — exactly the pair produced by ModularPolynomialQ.exists_PhiQ; supply the parallel
agent's exists_PhiQ_closed to obtain it unconditionally.
(B7) The diagonal polynomial G_m(X) = Φ_m(X, X) and Kronecker's lemma #
The diagonal polynomial G_m(X) := Φ_m(X, X) ∈ ℤ[X], obtained by substituting the coefficient
variable Y by the outer variable X (evaluating the outer PhiZ at X : ℤ[X]).
Equations
- Chudnovsky.diagPhiZ PhiZ = Polynomial.eval Polynomial.X PhiZ
Instances For
The diagonal substitution commutes with Y ↦ z: evaluating G_m (mapped to ℂ) at z
equals evaluating Φ_m(X, z) at z. Both are the two ways to compute Φ_m(z, z).
G_m(j τ) = ∏_i (j τ − f_i τ). Evaluating the diagonal polynomial (mapped to ℂ) at
j τ recovers the orbit product. The bridge Kronecker / Integrality.lean extract from.
The diagonal CM root. If j τ = f m i τ for some coset index i (a fixing relation at a
CM point), then j τ is a root of G_m (mapped to ℂ). Combined with Kronecker's ±1 leading
coefficient this yields integrality.
(B9) The integrality bridge. If G_m = Φ_m(X, X) has leading coefficient ±1
(Kronecker's lemma, (B7) — the gated input, see the module TODO) and j τ is a root of G_m
(a CM relation (B8), from CMRelations.lean via diagPhiZ_eval_eq_zero), then j τ is
integral over ℤ. This is exactly the shape Integrality.lean needs for isIntegral_j_τ₁₆₃ at
m = 41. The ±1 monic-up-to-sign annihilator argument is proved here in full.
Discharging the hZ gate of exists_PhiZ: the w-expansion integrality machinery #
This appended section closes the hZ hypothesis of exists_PhiZ unconditionally, yielding
exists_PhiZ_closed. Each q-coefficient of (orbitPoly m τ).coeff n · qᴺ is (i) rational
(the ℚ-averaging of ModularPolynomialQ.lean, via a generic qExpansion-ring-hom toolkit
GoodQ) and (ii) an algebraic integer (the un-averaged width-m w = wParam m-expansion of
∏_i (X − f_i) has coefficients in ℤ[ζ_m], matched to the q-coefficient at index m·p by
a width-m uniqueness argument). By mem_bot_of_integral_of_rat each coefficient lies in ⊥.
Cusp-analytic with q-expansion coefficients in R, at width h.
- per : Function.Periodic (g ∘ ↑UpperHalfPlane.ofComplex) ↑h
- holo : MDiff g
Instances For
wParam is holomorphic.
(j·q)^k is bounded at i∞ (public, via the identity isogeny).
q is bounded at i∞.
Powers preserve GoodQ.
Rationality of the orbit-polynomial coefficients (structure + ℚ-coefficients).
If (orbitPoly m τ).coeff n = aeval (j τ) P for a ℚ-polynomial P of degree ≤ N, then that
coefficient is cusp-meromorphic of pole order ≤ N with ℚ-coefficients.
The base variable w = wParam m τ is the width-m q-parameter.
Width-m raw w-expansion coefficient uniqueness (mirrors qExpansion_coeff_unique_raw
at width m, with w = wParam m in place of q).
Width-m machinery: algebraic integrality of the w-expansion #
The subring of algebraic integers ℤbar ⊆ ℂ.
Equations
Instances For
General period-p version of periodic_comp_ofComplex_of_vadd.
Reindexing helper: a function with a w-expansion supported on the (injective) image of e
with ℤbar-coefficients is GoodQ at width m over ℤbar.
The product induction. Every coefficient of the pole-cleared orbit polynomial
∏_i (w^{m²}·X − f_i·w^{m²}) is GoodQ at width m over the algebraic integers ℤbar.
Width-m integrality of (orbitPoly).coeff n · q^N. For m² (m+1) ≤ m·N, the
function (orbitPoly m τ).coeff n · q^N is GoodQ at width m over the algebraic integers:
its w-expansion has algebraic-integer coefficients.
Matching width-1 and width-m coefficients. For a function F that is both 1-periodic
and m-periodic, holomorphic and bounded at the cusp, the p-th ordinary q-coefficient equals
the (m·p)-th w-coefficient (q = w^m).
The ⊥-gate hZ, discharged for each n. Each orbit-polynomial coefficient is
cusp-meromorphic of finite order with coefficients in ⊥ ⊆ ℂ (the integers): rational (averaging)
and an algebraic integer (the ℤ[ζ_m] w-expansion), hence in ⊥.
The unconditional keystone Φ_m ∈ ℤ[Y][X] and the unconditional ℚ-root bridge #
(B6) fully closed. For a prime m, the modular polynomial Φ_m ∈ ℤ[Y][X] exists with the
keystone identity ∏_i (X − f_i τ) = Φ_m(X, j τ) for every τ. The ⊥-coefficient
cusp-meromorphy gate hZ of exists_PhiZ is discharged by the w-expansion integrality machinery
(orbitPoly_coeff_isCuspMeroR_bot): rationality from the ℚ-averaging, algebraic integrality from
the ℤ[ζ_m]-coefficient w-expansion, combined pointwise by mem_bot_of_integral_of_rat.
The root bridge, unconditional ℚ-version. Instantiating PhiQ_eval_j_root with the
parallel agent's exists_PhiQ_closed: for a prime m, if j σ = f m i τ for some coset index
i (a CM relation), then there is a modular polynomial Φ_m ∈ ℚ[Y][X] with the keystone identity
for which Φ_m(j σ, j τ) = 0. This is the shape Rationality.lean / MasserA1.lean consume.