Soundness: accepted triples are true
Soundness says that every rational triple accepted by the multiplication template consists of codes \(\iota(n_1),\iota(n_2),\iota(n_3)\) with \(n_3=n_1n_2\). It uses the generator certificate (hence Mordell-Weil) to give the inputs indices, the pole obstruction at single primes, and the six-contact height estimate H. It does not use pole completeness or the prime pattern.
The congruence at odd contact primes
Fix an accepted slope \(t\) and a prime \(p\notin S_{\rm mul}\) at which some \(v_p(t-c)\), \(c\in\mathcal C\), is positive and odd. Then \(v_p(R_0)=v_p(t-c)\) is odd and \(v_p(R)\) is odd and no larger.
LemmaValuations of the normalization at an odd contact prime#✓
Let \(t\in\mathbb Q\setminus(\mathcal C\cup\{1\})\), \(\eta\in\{1,-1\}\) and \(q\in\mathbb Q\), and put \(R_0=\eta F(t)/(t-1)^8\), \(a=1-R_0q^2\) and \(R=\ell_0^2a^2R_0\) with \(a\ne0\). Let \(p\notin S_b\) be a prime and \(c\in\mathcal C\) with \(k=v_p(t-c)\) positive and odd. Then:
- \(v_p(t-c')=0\) for every \(c'\in\mathcal C\setminus\{c\}\) and \(v_p(t-1)=0\); hence \(v_p(R_0)=v_p(F(t))=k\);
- \(r=v_p(R)\) is odd and \(r\le k\).
The manuscript records only that the factor valuations below are minima of zero and an odd integer; the case \(v_p(a)<0\), where \(r=3k+4v_p(q)<k\) and \(r\) may be negative, is part of the statement.
Proof sketch. Since \(p\notin S_b\), \(p>324\) and \(v_p(\ell_0)=0\). As \(v_p(t-c)>0\), \(t\) is \(p\)-integral and \(t\equiv c\pmod p\); for \(c'\ne c\), \(t-c'\equiv c-c'\not\equiv0\) because \(0<|c-c'|\le60<p\), and \(t-1\equiv c-1\not\equiv0\) because \(0<|c-1|\le61<p\). This gives (1). Then \(v_p(R_0q^2)=k+2v_p(q)\) is odd, hence nonzero (if \(q=0\), \(a=1\)). If it is positive, \(v_p(a)=0\); if it is negative, \(v_p(a)=k+2v_p(q)<0\). So \(v_p(a)\le0\) and \(r=2v_p(a)+k\) is odd and at most \(k\).
theorem contact_valuations (hpS : p ∉ S_b) {t η q c : ℚ} (ht : t ∉ contactSet) (ht1 : t ≠ 1)
(hη : η = 1 ∨ η = -1) (ha : slopeA (slopeR0 η t) q ≠ 0)
(hc : c ∈ contactSet) (hk : 0 < padicValRat p (t - c)) (hodd : Odd (padicValRat p (t - c))) :
(∀ c' ∈ contactSet, c' ≠ c → padicValRat p (t - c') = 0) ∧ padicValRat p (t - 1) = 0 ∧
padicValRat p (slopeR0 η t) = padicValRat p (t - c) ∧
padicValRat p (contactPoly t) = padicValRat p (t - c) ∧
Odd (padicValRat p (slopeR (Syntax.ell : ℚ) (slopeA (slopeR0 η t) q) (slopeR0 η t))) ∧
padicValRat p (slopeR (Syntax.ell : ℚ) (slopeA (slopeR0 η t) q) (slopeR0 η t)) ≤
padicValRat p (t - c)
noncomputable def S_b : Finset ℕ := S_ht ∪ catalogue
ZInQKernel/Multiplication/Certificate/Constants.lean:37
def contactSet : Finset ℚ := {0, -15, -20, -24, -30, -60}
ZInQKernel/Hypotheses/Height.lean:84
def slopeA (R0 q : ℚ) : ℚ := 1 - R0 * q ^ 2
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:30
def slopeR0 (η t : ℚ) : ℚ := η * contactPoly t / (t - 1) ^ 8
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:27
def contactPoly (t : ℚ) : ℚ := t * (t + 15) * (t + 20) * (t + 24) * (t + 30) * (t + 60)
ZInQKernel/Multiplication/Certificate/Constants.lean:81
def slopeR (ℓ a R0 : ℚ) : ℚ := ℓ ^ 2 * a ^ 2 * R0
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:33
noncomputable def ell : ℕ := FixedFormula.ell Ps Hcat
ZInQKernel/Syntax/Constants/Fixed.lean:98
Uses 2 · Used by 2
Each factor \(1+RC_{gj}^2\) then has valuation \(\min(0,\text{odd})\) at both places above \(p\), so every summand of the trace \(\Theta\) is integral, and the pole obstruction applied to \(R/\Theta^2\) forces one group and one place at which the first eight tests have valuation at least \(1\) and the last four at least \(25\). The manuscript's argument is written as if \(p\) split; it works verbatim for inert \(p\), where the conjugated tests refer to the same place.
LemmaThe trace forces one common group and place#✓
Let \(t,\eta,q,R_0,a,R\) be as in the slope predicate with \(\ell=\ell_0\) (so \(t\notin\mathcal C\cup\{1\}\) and \(a\ne0\)), let \(D_{gj}\in K_0\) (\(1\le g\le6\), \(1\le j\le12\)) be arbitrary, and let \(C_{gj}\), \(W_g\) and \(\Theta\) be formed from them as in the slope predicate, with \(W_g\ne0\), \(\Theta\ne0\) and \(\Phi(R/\Theta^2)\). Let \(p\notin S_b\) be an odd contact prime of \(t\). Then there are a group \(g\) and a prime \(\mathfrak p\) of \(\mathbb Z[s]\) above \(p\) such that $\(v_{\mathfrak p}(D_{gj})\ge1\quad(1\le j\le8),\qquad v_{\mathfrak p}(D_{gj})\ge25\quad(9\le j\le12).\)$
The pole obstruction is used here, at the prime \(p\notin S_0\); this is the only place where the sound direction uses the pole predicate, and it does not use pole completeness.
Proof sketch. Let \(k=v_p(t-c)\) and \(r=v_p(R)\); by the contact valuations \(k\) is odd, \(v_p(R_0)=k\), \(v_p(t-1)=0\), and \(r\) is odd with \(r\le k\). Fix a prime \(\mathfrak p_0\) above \(p\) and let \(\mathfrak q\) range over \(\{\mathfrak p_0,\sigma\mathfrak p_0\}\). For each factor, \(v_{\mathfrak q}(RC_{gj}^2)=r+2v_{\mathfrak q}(C_{gj})\) is odd (or \(C_{gj}=0\)), hence \(v_{\mathfrak q}(1+RC_{gj}^2)=\min(0,r+2v_{\mathfrak q}(C_{gj}))\): no cancellation occurs. So \(v_{\mathfrak q}(W_g^{-1})=\sum_j\max(0,-r-2v_{\mathfrak q}(C_{gj}))\ge0\). Since \(\Theta=\sum_g(W_g^{-1}+\sigma W_g^{-1})\) and \(v_{\mathfrak p_0}(\sigma y)=v_{\sigma\mathfrak p_0}(y)\), $\(v_p(\Theta)\ge m:=\min_{g,\mathfrak q}v_{\mathfrak q}(W_g^{-1})\ge0 .\)$ The pole input \(B=R/\Theta^2\) is nonzero with \(\Phi(B)\), and \(v_p(B)=r-2v_p(\Theta)\) is odd, so by the pole obstruction it is positive: \(v_p(\Theta)\le(r-1)/2\). In particular \(r\ge1\) and some pair \((g,\mathfrak q)\) has \(s:=v_{\mathfrak q}(W_g^{-1})\le(r-1)/2\). For each \(j\), either \(r+2v_{\mathfrak q}(C_{gj})>0\), so \(v_{\mathfrak q}(C_{gj})\ge-(r-1)/2\), or the deficit \(-(r+2v_{\mathfrak q}(C_{gj}))\) is at most \(s\le(r-1)/2\); in both cases \(v_{\mathfrak q}(C_{gj})\ge-(3r-1)/4\). Then \(v_{\mathfrak q}(D_{gj})=v_{\mathfrak q}(C_{gj})+k_jk\ge k_jk-(3k-1)/4\), which is \((k+1)/4>0\) for \(k_j=1\) and \((97k+1)/4\ge24.5\) for \(k_j=25\); integrality gives the bounds \(1\) and \(25\). Take \(\mathfrak p=\mathfrak q\).
theorem common_group (hpS : p ∉ S_b) {t η q c : ℚ} (ht : t ∉ contactSet) (ht1 : t ≠ 1)
(hη : η = 1 ∨ η = -1) (ha : slopeA (slopeR0 η t) q ≠ 0) (D : Fin 6 → Fin 12 → K0)
(hW : ∀ g, groupW (slopeR (Syntax.ell : ℚ) (slopeA (slopeR0 η t) q) (slopeR0 η t))
(normTests (slopeR0 η t) t (D g)) ≠ 0)
(hΘ : traceTheta (fun g => groupW (slopeR (Syntax.ell : ℚ) (slopeA (slopeR0 η t) q)
(slopeR0 η t)) (normTests (slopeR0 η t) t (D g))) ≠ 0)
(hΦ : PoleSoluble (slopeR (Syntax.ell : ℚ) (slopeA (slopeR0 η t) q) (slopeR0 η t) /
traceTheta (fun g => groupW (slopeR (Syntax.ell : ℚ) (slopeA (slopeR0 η t) q)
(slopeR0 η t)) (normTests (slopeR0 η t) t (D g))) ^ 2))
(hc : c ∈ contactSet) (hk : 0 < padicValRat p (t - c)) (hodd : Odd (padicValRat p (t - c))) :
∃ g : Fin 6, ∃ π : Zs, ∃ hπ : Prime π, π ∣ (p : Zs) ∧
∀ j, ((prec j : ℤ) : WithTop ℤ) ≤ vP π hπ (D g j)
noncomputable def S_b : Finset ℕ := S_ht ∪ catalogue
ZInQKernel/Multiplication/Certificate/Constants.lean:37
def contactSet : Finset ℚ := {0, -15, -20, -24, -30, -60}
ZInQKernel/Hypotheses/Height.lean:84
def slopeA (R0 q : ℚ) : ℚ := 1 - R0 * q ^ 2
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:30
def slopeR0 (η t : ℚ) : ℚ := η * contactPoly t / (t - 1) ^ 8
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:27
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
noncomputable def groupW (R : ℚ) (C : Fin 12 → K0) : K0 := ∏ j, (1 + (R : K0) * C j ^ 2)
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:40
def slopeR (ℓ a R0 : ℚ) : ℚ := ℓ ^ 2 * a ^ 2 * R0
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:33
noncomputable def ell : ℕ := FixedFormula.ell Ps Hcat
ZInQKernel/Syntax/Constants/Fixed.lean:98
noncomputable def normTests (R0 t : ℚ) (D : Fin 12 → K0) (j : Fin 12) : K0 :=
D j / ((R0 : K0) ^ prec j * ((t - 1 : ℚ) : K0) ^ (prec j + 1))
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:36
noncomputable def traceTheta (W : Fin 6 → K0) : ℚ := QuadraticAlgebra.trace (∑ g, (W g)⁻¹)
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:43
def PoleSoluble (B : ℚ) : Prop :=
∃ (b : Fin 6 → ℚ) (e z r₁ r₂ w : ℚ), polePoly B b e z r₁ r₂ w = 0
ZInQKernel/Hypotheses/Pole.lean:34
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
def prec (j : Fin 12) : ℕ := if j.val < 8 then 1 else 25
ZInQKernel/Multiplication/Certificate/Constants.lean:90
noncomputable def vP (π : Zs) (hπ : Prime π) : AddValuation K0 (WithTop ℤ) :=
ordOf ((primeSpec π hπ).valuation K0)
ZInQKernel/Multiplication/Local/Valuations.lean:72
Uses 6 · Used by 1
At that place the first tests put \(H,U_i\) in the formal group at \(\mathfrak p\) and \(V_0,V_i\) in the formal group at the conjugate place. The full-log ratios are the rational numbers \(z_i/h\) and \((z_i-c_*n_i)/(h-c_*)\); one of \(h,h-c_*\) is a unit at \(p\), which makes its truncated ratio integral; the difference test transfers integrality to the other ratio, and only then do the relative errors of valuation \(28\) become absolute congruences. Subtracting the two congruences and dividing by \(c_*\), which is prime to \(p\), gives \(n_i\equiv A_i\), and the product test gives the congruence.
LemmaFrom the local tests to the congruence#✓
Let \(p>324\) be a prime, \(\mathfrak p\) a prime of \(\mathbb Z[s]\) above \(p\), and \(c\in\mathbb Z\) with \(p\nmid c\). Let \(n_1,n_2,n_3\in\mathbb Z\) and \(h,z_1,z_2,z_3\in\mathbb Z\) with \(h\ne0\), \(h\ne c\), and let \(\tau=\tau(h,z;\,c,cn_1,cn_2,cn_3)\) be the twelve test values. If $\(v_{\mathfrak p}(\tau_j)\ge1\quad(1\le j\le8)\qquad\text{and}\qquad v_{\mathfrak p}(\tau_j)\ge25\quad(9\le j\le12),\)$ then \(p^{25}\mid n_1n_2-n_3\).
In the certificate \(c=c_*\), and \(p\nmid c_*\) holds for every \(p\notin S_{\rm mul}\).
Proof sketch. Let \(\mathfrak q=\sigma\mathfrak p\) (possibly \(\mathfrak q=\mathfrak p\) if \(p\) is inert), \(v=v_{\mathfrak p}\), and let \(\lambda_{\mathfrak p},\lambda_{\mathfrak q}\) be the formal logarithms over the two completions. With \(H=[h]P_0\), \(U_i=[z_i]P_0\), \(V_0=[h-c]P_0\), \(V_i=[z_i-cn_i]P_0\):
- The points lie in the formal groups. \(v_{\mathfrak p}(\rho(Q))\ge1\) means \(Q=O\) or \(v_{\mathfrak p}(x(Q))<0\). Tests \(1\)-\(4\) put \(H,U_i\) in \(E_1(K_{\mathfrak p})\); since \(v_{\mathfrak p}(\sigma y)=v_{\mathfrak q}(y)\), tests \(5\)-\(8\) put \(V_0,V_i\) in \(E_1(K_{\mathfrak q})\).
- Full-log ratios. By the full-logarithm ratio lemma, \(\lambda_{\mathfrak p}(U_i)=\alpha_i\lambda_{\mathfrak p}(H)\) and \(\lambda_{\mathfrak q}(V_i)=\beta_i\lambda_{\mathfrak q}(V_0)\) with the rational numbers \(\alpha_i=z_i/h\) and \(\beta_i=(z_i-cn_i)/(h-c)\).
- Truncated ratios. By the truncation error at \(p>324\), \(A_i=\alpha_i\,u_i\) in \(K_{\mathfrak p}\) and \(B_i=\beta_i\,u_i'\) in \(K_{\mathfrak q}\) with units \(u_i,u_i'\) congruent to \(1\) modulo valuation \(28\) (when \(U_i=O\) or \(V_i=O\) the ratio is \(0\) and the claims below are trivial).
- Integrality. Since \(p\nmid c\), one of \(h,h-c\) is a \(p\)-adic unit. If \(p\nmid h\), then \(\alpha_i\) is \(p\)-integral, so \(A_i\) is \(\mathfrak p\)-integral with \(v_{\mathfrak p}(A_i-\alpha_i)\ge28\); tests \(9\)-\(11\) give \(v_{\mathfrak p}(\sigma B_i)\ge0\), that is \(v_{\mathfrak q}(B_i)\ge0\), so \(\beta_i=B_iu_i'^{-1}\) is \(p\)-integral and \(v_{\mathfrak q}(B_i-\beta_i)\ge28\). If \(p\mid h\), argue symmetrically from \(\beta_i\). Only now do the relative errors give absolute congruences: in both cases \(\alpha_i,\beta_i\) are \(p\)-integral, \(A_i\equiv\alpha_i\) modulo valuation \(28\) at \(\mathfrak p\), and \(\sigma B_i\equiv\beta_i\) modulo valuation \(28\) at \(\mathfrak p\) (as \(\beta_i\) is rational).
- The congruence. With test \(8+i\): \(v_{\mathfrak p}(A_i-\beta_i)\ge25\). Hence \(z_i-hA_i=h(\alpha_i-A_i)\) and \(z_i-cn_i-(h-c)A_i=(h-c)(\beta_i-A_i)\) have valuation at least \(25\), and so does their difference \(c(n_i-A_i)\); as \(p\nmid c\), \(v_{\mathfrak p}(n_i-A_i)\ge25\). Finally \(n_1n_2-n_3=(n_1-A_1)n_2+A_1(n_2-A_2)+(A_1A_2-A_3)+(A_3-n_3)\) with \(A_1\) integral and test \(12\) gives \(v_p(n_1n_2-n_3)\ge25\).
theorem tests_to_congruence (hp324 : 324 < p) {π : Zs} (hπ : Prime π) (hπp : π ∣ (p : Zs))
{c : ℤ} (hc : ¬ (p : ℤ) ∣ c) (n z : Fin 3 → ℤ) {h : ℤ} (hh : h ≠ 0) (hhc : h ≠ c)
(hτ : ∀ j : Fin 12, Vge (vP π hπ) (prec j) (testValues h z ![c, c * n 0, c * n 1, c * n 2] j)) :
(p : ℤ) ^ 25 ∣ n 0 * n 1 - n 2
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
def Vge (m : ℤ) (x : K) : Prop := ((m : ℤ) : WithTop ℤ) ≤ v x
ZInQKernel/Multiplication/Local/ValHelpers.lean:17
noncomputable def vP (π : Zs) (hπ : Prime π) : AddValuation K0 (WithTop ℤ) :=
ordOf ((primeSpec π hπ).valuation K0)
ZInQKernel/Multiplication/Local/Valuations.lean:72
def prec (j : Fin 12) : ℕ := if j.val < 8 then 1 else 25
ZInQKernel/Multiplication/Certificate/Constants.lean:90
noncomputable def testValues (h : ℤ) (z : Fin 3 → ℤ) (c : Fin 4 → ℤ) : Fin 12 → K0 :=
let H := h • genP0
let U : Fin 3 → genCurve.toAffine.Point := fun i => z i • genP0
let V0 := (h - c 0) • genP0
let V : Fin 3 → genCurve.toAffine.Point := fun i => (z i - c i.succ) • genP0
let A : Fin 3 → K0 := fun i => Lam (U i) / Lam H
let B : Fin 3 → K0 := fun i => Lam (V i) / Lam V0
![invX H, invX (U 0), invX (U 1), invX (U 2),
star (invX V0), star (invX (V 0)), star (invX (V 1)), star (invX (V 2)),
A 0 - star (B 0), A 1 - star (B 1), A 2 - star (B 2), A 0 * A 1 - A 2]
ZInQKernel/Multiplication/Certificate/Tests.lean:40
TheoremThe congruence at an odd contact prime#✓
Let \(n_1,n_2,n_3\in\mathbb Z\), put \(c=(c_*,c_*n_1,c_*n_2,c_*n_3)\), and let \(t\in\mathbb Q\) satisfy \(\mathrm{Slope}(t,\ell_0;c)\). If \(p\notin S_{\rm mul}\) is a prime such that \(v_p(t-c')\) is positive and odd for some \(c'\in\mathcal C\), then $\(n_1n_2\equiv n_3\pmod{p^{25}} .\)$
This is the local divisibility statement of Section 6. It uses the pole obstruction, but neither the six-contact estimate nor pole completeness.
Proof sketch. Since \(p\notin S_{\rm mul}\supseteq S_b\), the trace argument gives a group \(g\) and a prime \(\mathfrak p\) above \(p\) at which the first eight tests of group \(g\) have valuation at least \(1\) and the last four at least \(25\). These are the test values \(\tau(h_g,z_g;c)\) with \(h_g\ne0,c_*\). As \(p>324\) and \(p\nmid c_*\), the passage from the tests to the congruence gives \(p^{25}\mid n_1n_2-n_3\).
theorem local_congruence (n : Fin 3 → ℤ) {t : ℚ}
(hs : SlopePred t (Syntax.ell : ℚ) (certShifts n)) (p : ℕ) (hp : p.Prime) (hpS : p ∉ S_mul)
(hcontact : IsOddContactPrime t p) : (p : ℤ) ^ 25 ∣ n 0 * n 1 - n 2
def SlopePred (t ℓ : ℚ) (c : Fin 4 → ℤ) : Prop :=
t ∉ contactSet ∧ t ≠ 1 ∧ ℓ ≠ 0 ∧
∃ (η q : ℚ) (h : Fin 6 → ℤ) (z : Fin 6 → Fin 3 → ℤ),
(η = 1 ∨ η = -1) ∧ slopeA (slopeR0 η t) q ≠ 0 ∧ (∀ g, h g ≠ 0 ∧ h g ≠ c 0) ∧
(∀ g, groupW (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t))
(normTests (slopeR0 η t) t (testValues (h g) (z g) c)) ≠ 0) ∧
traceTheta (fun g => groupW (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t))
(normTests (slopeR0 η t) t (testValues (h g) (z g) c))) ≠ 0 ∧
PoleSoluble (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t) /
traceTheta (fun g => groupW (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t))
(normTests (slopeR0 η t) t (testValues (h g) (z g) c))) ^ 2)
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:52
noncomputable def ell : ℕ := FixedFormula.ell Ps Hcat
ZInQKernel/Syntax/Constants/Fixed.lean:98
noncomputable def certShifts (n : Fin 3 → ℤ) : Fin 4 → ℤ :=
![(Syntax.cstar : ℤ), Syntax.cstar * n 0, Syntax.cstar * n 1, Syntax.cstar * n 2]
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:65
noncomputable def S_mul : Finset ℕ := S_ht ∪ catalogue ∪ Syntax.cstar.primeFactors
ZInQKernel/Multiplication/Certificate/Constants.lean:40
def IsOddContactPrime (t : ℚ) (p : ℕ) : Prop :=
p.Prime ∧ ∃ c ∈ contactSet, 0 < padicValRat p (t - c) ∧ Odd (padicValRat p (t - c))
ZInQKernel/Multiplication/Certificate/Constants.lean:85
Uses 5 · Used by 1
The finite-box deduction
For a false triple, \(f=n_1n_2-n_3\ne0\) is divisible by \(M_{S_{\rm mul}}(t)^{25}\) for each of the \(27\) slopes, so the six-contact estimate bounds every slope height by \(A_{\rm ht}|f|^{24/25}\).
LemmaThe height of an accepted slope#✓
Assume the minimal height hypothesis. Let \(n_1,n_2,n_3\in\mathbb Z\) with \(f=n_1n_2-n_3\ne0\), put \(c=(c_*,c_*n_1,c_*n_2,c_*n_3)\), and let \(t\in\mathbb Q\) satisfy \(\mathrm{Slope}(t,\ell_0;c)\). Then $\(M_{S_{\rm mul}}(t)^{25}\mid f\qquad\text{and}\qquad h(t)\le A_{\rm ht}\,|f|^{24/25}.\)$
This is where the sound direction uses the six-contact estimate, in its minimal form: the instance \(S=S_{\rm mul}\), \(R=D\), whose constant \(H_6(D)\) is at most \(A_{\rm ht}=H_6(S_{\rm mul};R)\) for the fixed \(R=\max(D,H_{\max},c_*,10^{12})\ge D\).
Proof sketch. \(M_{S_{\rm mul}}(t)\) is a product of distinct primes \(p\notin S_{\rm mul}\), each an odd contact prime of \(t\), so \(p^{25}\mid f\) by the local congruence; the prime powers are pairwise coprime, so \(M_{S_{\rm mul}}(t)^{25}\mid f\), and since \(f\ne0\), \(M_{S_{\rm mul}}(t)^{24}\le|f|^{24/25}\). The slope predicate gives \(t\notin\mathcal C\). The minimal height hypothesis and the properties of the constants (\(H_6(D)\le H_6(S_{\rm mul};R)=A_{\rm ht}\), as \(H_6\) is increasing in \(R\ge1\)) give \(h(t)\le A_{\rm ht}M_{S_{\rm mul}}(t)^{24}\le A_{\rm ht}|f|^{24/25}\).
theorem slope_height_le (hH : SixContactMin) (n : Fin 3 → ℤ)
(hf : n 0 * n 1 - n 2 ≠ 0) {t : ℚ} (hs : SlopePred t (Syntax.ell : ℚ) (certShifts n)) :
((contactSupport S_mul t : ℕ) : ℤ) ^ 25 ∣ n 0 * n 1 - n 2 ∧
ratHeight t ≤ (Syntax.Aht : ℝ) * |((n 0 * n 1 - n 2 : ℤ) : ℝ)| ^ ((24 : ℝ) / 25)
def SixContactMin : Prop :=
∀ u : ℚ, u ∉ contactSet →
ratHeight u ≤ heightH6 (heightD : ℝ) * (contactSupport Mult.S_mul u : ℝ) ^ 24
ZInQKernel/Hypotheses/HeightMin.lean:50
def SlopePred (t ℓ : ℚ) (c : Fin 4 → ℤ) : Prop :=
t ∉ contactSet ∧ t ≠ 1 ∧ ℓ ≠ 0 ∧
∃ (η q : ℚ) (h : Fin 6 → ℤ) (z : Fin 6 → Fin 3 → ℤ),
(η = 1 ∨ η = -1) ∧ slopeA (slopeR0 η t) q ≠ 0 ∧ (∀ g, h g ≠ 0 ∧ h g ≠ c 0) ∧
(∀ g, groupW (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t))
(normTests (slopeR0 η t) t (testValues (h g) (z g) c)) ≠ 0) ∧
traceTheta (fun g => groupW (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t))
(normTests (slopeR0 η t) t (testValues (h g) (z g) c))) ≠ 0 ∧
PoleSoluble (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t) /
traceTheta (fun g => groupW (slopeR ℓ (slopeA (slopeR0 η t) q) (slopeR0 η t))
(normTests (slopeR0 η t) t (testValues (h g) (z g) c))) ^ 2)
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:52
noncomputable def ell : ℕ := FixedFormula.ell Ps Hcat
ZInQKernel/Syntax/Constants/Fixed.lean:98
noncomputable def certShifts (n : Fin 3 → ℤ) : Fin 4 → ℤ :=
![(Syntax.cstar : ℤ), Syntax.cstar * n 0, Syntax.cstar * n 1, Syntax.cstar * n 2]
ZInQKernel/Multiplication/Certificate/SlopePredicate.lean:65
noncomputable def contactSupport (S : Finset ℕ) (u : ℚ) : ℕ :=
∏ p ∈ (∏ c ∈ contactSet, (u - c).num.natAbs).primeFactors with
p ∉ S ∧ ∃ c ∈ contactSet, 0 < padicValRat p (u - c) ∧ Odd (padicValRat p (u - c)),
p
ZInQKernel/Hypotheses/Height.lean:89
noncomputable def S_mul : Finset ℕ := S_ht ∪ catalogue ∪ Syntax.cstar.primeFactors
ZInQKernel/Multiplication/Certificate/Constants.lean:40
noncomputable def ratHeight (u : ℚ) : ℝ :=
Real.log (max |(u.num : ℝ)| (u.den : ℝ))
ZInQKernel/Hypotheses/Height.lean:80
noncomputable def Aht : ℕ := FixedFormula.Aht Ccm Q
ZInQKernel/Syntax/Constants/Fixed.lean:116
Uses 5 · Used by 1
The sum and quotient bounds carry this to the rational components of the three abscissas, the coordinate change to \(C\) and the canonical height carry it to the indices, and an elementary inequality bounds the indices by \(T\). Two explicit numerical constants enter: \(B_0<10\) and \(2\widehat h(P_0)>1\).
LemmaSum and quotient bounds for rational heights#✓
For a rational number \(x=a/b\) in lowest terms with \(b>0\) let \(h(x)=\log\max(|a|,b)\). For all \(x_1,x_2,x_3,x,y\in\mathbb Q\) with \(y\ne0\): $\(h(x_1+x_2+x_3)\le h(x_1)+h(x_2)+h(x_3)+\log3,\qquad h(x/y)\le h(x)+h(y),\)$ and \(h(-x)=h(x)\ge0\), \(h(1/y)=h(y)\).
Proof sketch. Write \(x_i=a_i/b_i\) in lowest terms. The sum is \(\bigl(\sum_ia_i\prod_{j\ne i}b_j\bigr)/(b_1b_2b_3)\); after reduction its numerator has absolute value at most \(3\prod_i\max(|a_i|,b_i)\) and its denominator at most \(\prod_ib_i\le\prod_i\max(|a_i|,b_i)\). For the quotient, \(x/y=(a d)/(b c)\) for \(y=c/d\), and reduction only decreases numerator and denominator, whose absolute values are at most \(\max(|a|,b)\max(|c|,d)\). Inversion swaps numerator and denominator up to sign.
theorem rational_height_bounds :
(∀ x₁ x₂ x₃ : ℚ,
ratHeight (x₁ + x₂ + x₃) ≤ ratHeight x₁ + ratHeight x₂ + ratHeight x₃ + Real.log 3) ∧
(∀ x y : ℚ, y ≠ 0 → ratHeight (x / y) ≤ ratHeight x + ratHeight y) ∧
(∀ x : ℚ, ratHeight (-x) = ratHeight x ∧ 0 ≤ ratHeight x) ∧
(∀ y : ℚ, y ≠ 0 → ratHeight y⁻¹ = ratHeight y)
noncomputable def ratHeight (u : ℚ) : ℝ :=
Real.log (max |(u.num : ℝ)| (u.den : ℝ))
ZInQKernel/Hypotheses/Height.lean:80
Used by 1
LemmaHeight bounds in \(K_0\)#✓
Let \(h\) be the absolute logarithmic height on \(K_0\) and \(\epsilon=1+s\). For all \(x,y\in K_0\) and \(x_0,x_1\in\mathbb Q\):
- \(h(xy)\le h(x)+h(y)\) and \(h(x+y)\le h(x)+h(y)+\log2\);
- \(h(s)=\tfrac12\log2\) and \(h(\epsilon)=\tfrac12\log(1+\sqrt2)\); hence \(h(\epsilon^4x)\le h(x)+2\log(1+\sqrt2)\);
- \(h(x_0+x_1s)\le h(x_0)+h(x_1)+\tfrac32\log2\), where on \(\mathbb Q\) the height \(h\) is the rational height \(\log\max(|a|,b)\).
These are the "fixed coordinate change" estimates of the finite-box deduction.
Proof sketch. Place by place, \(\max(1,|xy|_v)\le\max(1,|x|_v)\max(1,|y|_v)\), and \(\max(1,|x+y|_v)\) is at most \(\max(1,|x|_v)\max(1,|y|_v)\) at finite places and twice that at the two real places; dividing \(\sum_vn_v\log(\cdot)\) by \([K_0:\mathbb Q]=2\) gives (1). For \(s\), both real embeddings have absolute value \(\sqrt2\) and \(|s|_v\le1\) at finite places. \(\epsilon\) is a unit with embeddings \(1+\sqrt2>1\) and \(|1-\sqrt2|<1\), so \(h(\epsilon)=\tfrac12\log(1+\sqrt2)\) and \(h(\epsilon^4x)\le4h(\epsilon)+h(x)\). (3) follows from (1), (2) and the agreement of \(h\) with the rational height on \(\mathbb Q\).
theorem field_height_bounds :
(∀ x y : K0, hK0 (x * y) ≤ hK0 x + hK0 y ∧ hK0 (x + y) ≤ hK0 x + hK0 y + Real.log 2) ∧
(hK0 sqrt2 = Real.log 2 / 2 ∧ hK0 epsilon = Real.log (1 + Real.sqrt 2) / 2 ∧
∀ x : K0, hK0 (epsilon ^ 4 * x) ≤ hK0 x + 2 * Real.log (1 + Real.sqrt 2)) ∧
(∀ x₀ x₁ : ℚ,
hK0 ((x₀ : K0) + (x₁ : K0) * sqrt2) ≤ ratHeight x₀ + ratHeight x₁ + 3 / 2 * Real.log 2)
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
noncomputable def hK0 (x : K0) : ℝ := logHeight₁ x / 2
ZInQKernel/Model/Heights/XHeight.lean:21
def sqrt2 : K0 := ⟨0, 1⟩
ZInQKernel/Hypotheses/MordellWeil.lean:28
def epsilon : K0 := ⟨1, 1⟩
ZInQKernel/Model/Field/Basic.lean:124
noncomputable def ratHeight (u : ℚ) : ℝ :=
Real.log (max |(u.num : ℝ)| (u.den : ℝ))
ZInQKernel/Hypotheses/Height.lean:80
Uses 2 · Used by 1
LemmaThe integer inequalities behind the height constants#✓
The following three inequalities between natural numbers hold: $\(3^{24}\cdot2^9\cdot39202\cdot676^2\cdot1000^{60}<2718^{60},\qquad 392\cdot27183^3<41^3\cdot10^{12},\qquad 2\cdot13860^2<19601^2 .\)$
This is a finite computation. The first compares a number of \(205\) decimal digits with one of \(207\) digits (the ratio of the two sides is about \(44\)); the second compares numbers below \(10^{17}\); the third is \(384199200<384199201\).
They are the integer cores of \(B_0<10\) and \(\log41-\tfrac13\log392>1\): with \((1+\sqrt2)^{12}=19601+13860\sqrt2\) and \(2.718<e<2.7183\), those real inequalities follow from these three.
Proof sketch. Evaluate both sides.
theorem height_constants_int :
3 ^ 24 * 2 ^ 9 * 39202 * 676 ^ 2 * 1000 ^ 60 < 2718 ^ 60 ∧
392 * 27183 ^ 3 < 41 ^ 3 * 10 ^ 12 ∧ 2 * 13860 ^ 2 < 19601 ^ 2
Used by 1
LemmaExplicit height constants#✓
- \(B_0:=4\log3+\tfrac32\log2+2\log(1+\sqrt2)+\tfrac13\log676<10\).
- \(\log41-\tfrac13\log392>1\).
Numerically \(B_0\approx9.369\) and \(\log41-\tfrac13\log392\approx1.723\). The numerical content is isolated in the integer inequalities behind the height constants; this lemma is the passage from them to the real statements.
Proof sketch. Multiply (1) by \(6\) and (2) by \(3\) and exponentiate: (1) is \(3^{24}\cdot2^9\cdot(1+\sqrt2)^{12}\cdot676^2<e^{60}\) and (2) is \(392\,e^3<41^3\). Expand \((1+\sqrt2)^{12}=(17+12\sqrt2)^3=19601+13860\sqrt2\), which is \(<39202\) because \(13860\sqrt2<19601\) follows from \(2\cdot13860^2<19601^2\). With \(e>2.718\), (1) follows from \(3^{24}\cdot2^9\cdot39202\cdot676^2<(2718/1000)^{60}\), and with \(e<2.7183\), (2) follows from \(392\cdot(27183/10^4)^3<41^3\); both are the integer inequalities after clearing denominators.
noncomputable def heightB0 : ℝ :=
4 * Real.log 3 + 3 / 2 * Real.log 2 + 2 * Real.log (1 + Real.sqrt 2) + Real.log 676 / 3
theorem heightB0_lt_ten : heightB0 < 10
theorem one_lt_log_41_sub : 1 < Real.log 41 - Real.log 392 / 3
noncomputable def heightB0 : ℝ :=
4 * Real.log 3 + 3 / 2 * Real.log 2 + 2 * Real.log (1 + Real.sqrt 2) + Real.log 676 / 3
ZInQKernel/Multiplication/Soundness/HeightConstants.lean:24
Uses 1 · Used by 2
LemmaThe canonical height of multiples of \(P_0\)#✓
Let \(\theta:E(K_0)\to C(K_0)\), \((x,y)\mapsto(\epsilon^4x,\epsilon^6y)\), be the change of variables to \(C:y^2=x^3-(3-s)^2x\), and put \(\widehat h(Q)=\widehat h_C(\theta(Q))\) for \(Q\in E(K_0)\), where \(\widehat h_C\) is the canonical height on \(C(K_0)\) (normalized so that \(2\widehat h_C=\lim4^{-m}h_x\circ[2^m]\)). Then:
- \(\widehat h([n]P_0)=n^2\,\widehat h(P_0)\) for every \(n\in\mathbb Z\);
- \(2\widehat h(P_0)\ge\log41-\tfrac13\log392>1\);
- for every \(Q\in E(K_0)\setminus\{O\}\), \(2\widehat h(Q)\le h(\epsilon^4x(Q))+\tfrac13\log676\), and \(\widehat h(O)=0\).
The manuscript uses \(2\widehat h(P_0)>1\) without proof; it follows from the height of \(2R\).
Proof sketch. \(\theta\) is a group isomorphism with \(\theta(P_0)=[2]R\), so \(\theta([n]P_0)=[n]([2]R)\) and (1) is the quadratic property of \(\widehat h_C\). For (2), the basic comparison \(h_x(T)\le2\widehat h_C(T)+\tfrac13\log392\) at \(T=[2]R\), with \(h_x([2]R)=\log41\), gives \(2\widehat h_C([2]R)\ge\log41-\tfrac13\log392\), which exceeds \(1\) by the explicit height constants. (3) is the other basic comparison \(2\widehat h_C(T)\le h_x(T)+\tfrac13\log676\) at \(T=\theta(Q)\), whose abscissa is \(\epsilon^4x(Q)\).
theorem generator_height :
(∀ n : ℤ, canonHeightE (n • genP0) = (n : ℝ) ^ 2 * canonHeightE genP0) ∧
(Real.log 41 - Real.log 392 / 3 ≤ 2 * canonHeightE genP0 ∧
1 < Real.log 41 - Real.log 392 / 3) ∧
((∀ (x y : K0) (h : genCurve.toAffine.Nonsingular x y),
2 * canonHeightE (.some x y h) ≤ hK0 (epsilon ^ 4 * x) + Real.log 676 / 3) ∧
canonHeightE 0 = 0)
noncomputable def canonHeightE (Q : genCurve.toAffine.Point) : ℝ := canonHeight (theta Q)
noncomputable def canonHeightE (Q : genCurve.toAffine.Point) : ℝ := canonHeight (theta Q)
ZInQKernel/Multiplication/Soundness/GeneratorHeight.lean:18
def genP0 : genCurve.toAffine.Point := Point.mk genP0_equation
ZInQKernel/Model/Field/Curve.lean:118
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
def genCurve : WeierstrassCurve K0 where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := -genD ^ 2
a₆ := 0
ZInQKernel/Hypotheses/MordellWeil.lean:34
noncomputable def hK0 (x : K0) : ℝ := logHeight₁ x / 2
ZInQKernel/Model/Heights/XHeight.lean:21
def epsilon : K0 := ⟨1, 1⟩
ZInQKernel/Model/Field/Basic.lean:124
noncomputable def canonHeight (T : curveC.toAffine.Point) : ℝ :=
(limUnder atTop fun m : ℕ => hx ((2 ^ m) • T) / 4 ^ m) / 2
ZInQKernel/Model/Heights/Canonical.lean:23
def theta : genCurve.toAffine.Point ≃+ curveC.toAffine.Point :=
scaleEquiv (A := -genD ^ 2) (B := -delta ^ 2) epsilon_sq_ne_zero neg_delta_sq_eq
ZInQKernel/Model/Field/CurveC.lean:113
Uses 8 · Used by 1
LemmaThe final inequality of the finite-box deduction#✓
Let \(A\ge1\) be real and \(N\ge0\) an integer with $\(N^2<24A\,N^{48/25}+10 .\)$ Then \(N<(48A)^{13}\).
Proof sketch. If \(N\le4\), then \(N<48\le(48A)^{13}\). Let \(N\ge5\) and suppose \(N^{2/25}\ge48A\). Then \(24AN^{48/25}\le\tfrac12N^{2/25}N^{48/25}=\tfrac12N^2\), so \(N^2<\tfrac12N^2+10\) and \(N^2<20\), contradicting \(N\ge5\). Hence \(N^{2/25}<48A\), so \(N<(48A)^{25/2}\le(48A)^{13}\) because \(48A\ge1\).
theorem box_inequality {A : ℝ} (hA : 1 ≤ A) (N : ℕ)
(h : (N : ℝ) ^ 2 < 24 * A * (N : ℝ) ^ ((48 : ℝ) / 25) + 10) :
(N : ℝ) < (48 * A) ^ 13
Used by 1
TheoremThe finite-box deduction#✓
Assume the minimal height hypothesis. Let \(n_1,n_2,n_3\in\mathbb Z\) with \(n_1n_2\ne n_3\), and suppose the unguarded certificate accepts \((\iota(n_1),\iota(n_2),\iota(n_3))\): $\(\mathrm{Rel}_{\mathtt{height\_certificate}}\bigl(\iota(n_1),\iota(n_2),\iota(n_3),\ell_0,\iota(c_*),\iota(c_*n_1),\iota(c_*n_2),\iota(c_*n_3)\bigr).\)$ Then $\(\max_i|n_i|<T=(48A_{\rm ht})^{13}.\)$
This is Proposition 6.1, with the height estimate applied to \(S_{\rm mul}\) in its minimal form and its constant \(H_6(D)\) weakened to \(A_{\rm ht}\). The bound is symbolic: neither \(A_{\rm ht}\) nor \(T\) is evaluated.
Proof sketch. Put \(f=n_1n_2-n_3\ne0\) and \(N=\max_i|n_i|\); then \(N\ge1\) and \(|f|\le N^2+N\le2N^2\). By the height-certificate semantics there are \(a_{ij},b_i\) and \(27\) slopes \(t\), each with \(\mathrm{Slope}(t,\ell_0;c_*,c_*n_1,c_*n_2,c_*n_3)\), such that each of the nine quantities is a sum of three slopes. Each slope has \(h(t)\le A_{\rm ht}|f|^{24/25}\). The sum and quotient bounds give \(h(a_{ij}),h(b_i)\le3A_{\rm ht}|f|^{24/25}+\log3\) and, for the rational components \(x_{ij}=a_{ij}/b_i\) of \(x([n_i]P_0)\), \(h(x_{ij})\le6A_{\rm ht}|f|^{24/25}+2\log3\). The height bounds in \(K_0\) give, for \(n_i\ne0\), $\(h\bigl(\epsilon^4x([n_i]P_0)\bigr)\le12A_{\rm ht}|f|^{24/25}+4\log3+\tfrac32\log2+2\log(1+\sqrt2),\)$ and the canonical height of multiples of \(P_0\) yields $\(2n_i^2\,\widehat h(P_0)\le12A_{\rm ht}|f|^{24/25}+B_0,\)$ trivially also for \(n_i=0\). As \(2\widehat h(P_0)>1\) and \(B_0<10\), for the index with \(|n_i|=N\): \(N^2\le12A_{\rm ht}(2N^2)^{24/25}+B_0<24A_{\rm ht}N^{48/25}+10\). Since \(A_{\rm ht}\ge1\), the final inequality gives \(N<(48A_{\rm ht})^{13}=T\).
theorem finite_box (hH : SixContactMin) (n : Fin 3 → ℤ)
(hf : n 0 * n 1 ≠ n 2) (a : Fin 36 → ℚ)
(hY : ∀ (i : Fin 3) (k : Fin 5), a ⟨5 * i + k, by omega⟩ = iota (n i) k)
(hℓ : a 15 = (Syntax.ell : ℚ))
(hc : ∀ (i : Fin 4) (k : Fin 5), a ⟨16 + (5 * i + k), by omega⟩ = iota (certShifts n i) k)
(hacc : Syntax.heightTemplate.Rel a) :
∀ i, |n i| < (Syntax.T : ℤ)
def SixContactMin : Prop :=
∀ u : ℚ, u ∉ contactSet →
ratHeight u ≤ heightH6 (heightD : ℝ) * (contactSupport Mult.S_mul u : ℝ) ^ 24
ZInQKernel/Hypotheses/HeightMin.lean:50
Uses 12 · Used by 1
The guard closes the gap
A false triple accepted by the unguarded certificate lies in \([-T,T]^3\), where the guard rejects it.
TheoremSoundness of the multiplication template#✓
Assume the minimal height hypothesis. For all \(Y_1,Y_2,Y_3\in\mathbb Q^5\), if \(\mathrm{Rel}_{\mathtt{multiply}}(Y_1,Y_2,Y_3)\), then there are \(a,b\in\mathbb Z\) with \((Y_1,Y_2,Y_3)=(\iota(a),\iota(b),\iota(ab))\).
This direction is sound on arbitrary rational inputs. It uses the generator certificate and the six-contact estimate in its minimal form, but neither pole completeness nor the prime pattern.
Proof sketch. By the unfolding of the template, \(Y_i=\iota(n_i)\) for some integers \(n_i\), the unguarded certificate accepts \((\iota(n_1),\iota(n_2),\iota(n_3))\) with the shift points \(\iota(c_*),\iota(c_*n_i)\), and the guard holds. If \(n_1n_2\ne n_3\), the finite-box deduction gives \(|n_i|<T\) for all \(i\), so the triple is a false triple in \([-T,T]^3\) and the guard fails, a contradiction. Hence \(n_3=n_1n_2\); take \(a=n_1\), \(b=n_2\).
theorem multiply_sound (hH : SixContactMin) (Y₁ Y₂ Y₃ : Fin 5 → ℚ)
(hY : (multiplyTemplate specConstructors FixedConst.cstar.value FixedConst.ell.value
FixedConst.T.value).Rel (codes3 Y₁ Y₂ Y₃)) :
∃ a b : ℤ, Y₁ = iota a ∧ Y₂ = iota b ∧ Y₃ = iota (a * b)
def SixContactMin : Prop :=
∀ u : ℚ, u ∉ contactSet →
ratHeight u ≤ heightH6 (heightD : ℝ) * (contactSupport Mult.S_mul u : ℝ) ^ 24
ZInQKernel/Hypotheses/HeightMin.lean:50
noncomputable def multiplyTemplate (I : Constructors E) (cstar ell T : ℤ) : ExPoly :=
Build.template 15 (multiplyBuild I cstar ell T (varPoint 0) (varPoint 5) (varPoint 10))
ZInQKernel/Syntax/Templates/Multiply.lean:209
noncomputable def specConstructors : Constructors (FixedExpr FixedConst) :=
⟨FixedConst.fixedVal, psiComponent, guardPoly⟩
ZInQKernel/Syntax/Recipes/Polynomial.lean:35
inductive FixedConst
| P0 | W | Hproduct | Hmax | Ns | M | cstar | ell | F | D | G0 | E0 | R | Q | Bcm | Ccm
| Aheight | T
deriving DecidableEq, Repr
ZInQKernel/Syntax/Constants/Fixed.lean:149
def codes3 (P Q R : Fin 5 → ℚ) : Fin 15 → ℚ := Fin.append (Fin.append P Q) R
ZInQKernel/Syntax/Templates/Multiply.lean:151
noncomputable def iota (n : ℤ) : Fin 5 → ℚ := pointCode (n • genP0)
ZInQKernel/Model/Field/Codes.lean:27
Uses 7 · Used by 2
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.