The six local tests
The relation Test (defined with the value templates) puts the six tests \(D_1,\dots,D_6\) over the common denominator \(F(t)\), forms \(W=\prod(1+RC_j^2)\), the trace \(\Theta=\operatorname{Tr}(W^{-1})\) and one pole instance \(\Phi(R/\Theta^2)\). Both lemmas about it are local: soundness works at the primes above one contact prime \(p>324\), completeness at the primes above \(2730^6F(n)\) and at the two real places.
Valuations and formal groups
Odd primes are unramified in \(\mathbb Z[s]\) and the trace of an element that is small at the primes above \(p\) is small at \(p\) (the primes above an odd prime); \(2\) is ramified, and at \((s)\) the trace gains one more power of \(2\).
LemmaValuation and trace at the prime \((s)\)#✓
Let \(v_s\) be the valuation of \(K_0\) at the prime \((s)\), normalized by \(v_s(s)=1\) (so \(v_s(2)=2\)), \(\sigma\) the conjugation \(s\mapsto-s\) and \(\operatorname{Tr}x=x+\sigma x\in\mathbb Q\). Then:
- \(v_s(\sigma x)=v_s(x)\) for every \(x\in K_0\);
- if \(k\in\mathbb Z\) and \(v_s(x)\ge2k\), then \(v_2(\operatorname{Tr}x)\ge k+1\).
At an odd prime \(p\) the corresponding facts, with the bound \(v_p(\operatorname{Tr}x)\ge k\) when \(v_{\mathfrak p}(x)\ge k\) at every prime \(\mathfrak p\) above \(p\), are those of the primes above \(p\).
Proof sketch. (1) \(\sigma\) is a ring automorphism of \(\mathbb Z[s]\) and \(\sigma(s)=-s\) is associate to \(s\). (2) Write \(x=a+bs\) with \(a,b\in\mathbb Q\). By the valuation formula at \((s)\), \(v_s(x)=\min(2v_2(a),2v_2(b)+1)\ge2k\) gives \(v_2(a)\ge k\), so \(v_2(\operatorname{Tr}x)=v_2(2a)\ge k+1\).
theorem vS_star (x : K0) : vp sqrt2Z (star x) = vp sqrt2Z x
theorem vS_trace_ge {x : K0} {k : ℤ} (hx : 2 * k ≤ vp sqrt2Z x) :
QuadraticAlgebra.trace x = 0 ∨ k + 1 ≤ padicValRat 2 (QuadraticAlgebra.trace x)
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
noncomputable def vp (π : Zs) (z : K0) : ℤ :=
if hπ : Prime π then -log ((primeSpec π hπ).valuation K0 z) else 0
ZInQKernel/Model/Field/Valuation.lean:28
def sqrt2Z : Zs := ⟨0, 1⟩
ZInQKernel/Model/Field/Basic.lean:177
Uses 2 · Used by 1
At every prime, the points with negative abscissa valuation form a filtration by subgroups (the formal neighbourhood and its filtration), on which \(z=-x/y\) is additive up to terms of five times the depth. The manuscript uses the formal logarithm; the following elementary statement gives what is needed, including \(z([m]Q)=m\,z(Q)\cdot(\text{unit}\equiv1)\) at an odd prime.
Multiplication in a formal neighbourhood is proved with the multiplication chapter's local conventions (multiplication in a formal neighbourhood).
Soundness
At a prime above a contact prime \(p\), the pole obstruction forces the pole input to have positive valuation, which makes all six tests small at one prime above \(p\). The first four put the four points in formal groups, and the last two, through the multiplication estimate, give \(s_0/h\equiv t\) and \((s_0-\kappa n)/(h-\kappa)\equiv t\), hence \(p\mid\kappa(n-c)\).
LemmaDivisibility from the six local tests#✓
Let \(n,\kappa\in\mathbb Z\) and \(t\in\mathbb Q\). If \(\operatorname{Test}(n,\kappa,t)\) holds, then $\(M_{S_{\rm ht}}(t)\ \big|\ \kappa F(n),\)$ where \(M_{S_{\rm ht}}(t)\) is the product of the primes \(p>324\) for which \(v_p(t-c)\) is positive and odd for some \(c\in\mathcal C\). No unit assumption on \(\kappa\) is used, and no hypothesis is needed.
Proof sketch. Fix the data \(h,s_0,\eta,q\) of the test. Since \(M_{S_{\rm ht}}(t)\) is squarefree, it suffices to show \(p\mid\kappa F(n)\) for every prime \(p>324\) with \(\delta=v_p(t-c)>0\) odd for some \(c\in\mathcal C\). For \(c'\ne c\) in \(\mathcal C\), \(0<|c-c'|\le60<p\), so \(v_p(t-c')=0\); hence \(v_p(F(t))=\delta\), and \(t\) is \(p\)-integral. The primes above \(p\) have \(v_\pi(p)=1\), and \(v_\pi\) restricts to \(v_p\) on \(\mathbb Q\).
Valuation of \(R\). \(\eta\) and \(2730^6\) are \(p\)-units, so \(v_p(R_0q^2)=\delta+2v_p(q)\) when \(q\ne0\). Put \(b=v_p(a_0)\). If \(q=0\) then \(b=0\); otherwise \(\delta+2v_p(q)\) is odd, hence nonzero, and \(b=\min(0,\delta+2v_p(q))\le0\). So \(\alpha=v_p(R)=\delta+2b\) is odd.
Valuation of \(W\). At each prime \(\pi\) above \(p\), \(v_\pi(RC_j^2)=\alpha+2(v_\pi(D_j)-\delta)\) is odd, hence nonzero, so \(v_\pi(1+RC_j^2)=\min\bigl(0,\alpha+2(v_\pi(D_j)-\delta)\bigr)\) (this is \(0\) if \(D_j=0\)). Let \(\lambda=\max_{\pi\mid p}v_\pi(W)\le0\). Since \(v_\pi(W^{-1})\ge-\lambda\) at every \(\pi\) above \(p\), the trace statement gives \(v_p(\Theta)\ge-\lambda\ge0\).
The pole input. \(B_{\rm pole}=R/\Theta^2\ne0\) has \(v_p(B_{\rm pole})=\alpha-2v_p(\Theta)\), which is odd; since \(\Phi(B_{\rm pole})\) and \(p\notin\{2,3,5,7,13\}\), the one-sided pole obstruction says it is not negative, so it is positive. Hence \(\alpha>2v_p(\Theta)\ge-2\lambda\ge0\): \(\alpha>0\) and \(\lambda>-\alpha/2\).
All six tests are small at one prime. Take \(\pi\) above \(p\) with \(v_\pi(W)=\lambda\). The six terms \(\min(0,\alpha+2(v_\pi(D_j)-\delta))\) are \(\le0\) and sum to \(\lambda\), so each is \(\ge\lambda>-\alpha/2\); hence \(v_\pi(D_j)>\delta-3\alpha/4=\delta/4-3b/2>0\), so \(v_\pi(D_j)\ge1\) for \(j=1,\dots,6\). Let \(\pi'=\sigma(\pi)\), so \(v_\pi(\sigma(x))=v_{\pi'}(x)\).
Formal groups. \(v_\pi(D_1)\ge1\) and \(v_\pi(D_2)\ge1\) put \(H\ne O\) and \(U\) in \(E_1(\pi)\); \(v_\pi(D_3)\ge1\) and \(v_\pi(D_4)\ge1\) put \(V_0\ne O\) and \(V_1\) in \(E_1(\pi')\). The fifth test makes \(z(U)/z(H)\) integral at \(\pi\) and congruent to \(t\) modulo \(\pi\). Let \(g=\gcd(h,s_0)>0\) and \(Q=[g]P_0\). The set of \(m\) with \([m]P_0\in E_1(\pi)\) is a subgroup of \(\mathbb Z\) containing \(h\) and \(s_0\), so \(Q\in E_1(\pi)\), and \(Q\ne O\) because \(H=[h/g]Q\ne O\). By the multiplication statement (\(p\) odd), \(z(H)=(h/g)z(Q)u\) and \(z(U)=(s_0/g)z(Q)u'\) with \(u,u'\equiv1\pmod\pi\) (for \(s_0=0\) take \(u'=1\)). Hence \(s_0/h=(z(U)/z(H))(u/u')\) is \(\pi\)-integral and congruent to \(t\), so \(v_p(s_0/h-t)\ge1\) and, \(h\) being an integer, \(s_0\equiv th\pmod p\) in \(\mathbb Z_{(p)}\). The same argument at \(\pi'\) with \(V_0=[h-\kappa]P_0\), \(V_1=[s_0-\kappa n]P_0\) and the sixth test gives \(s_0-\kappa n\equiv t(h-\kappa)\pmod p\). Subtracting, \(v_p(\kappa(t-n))\ge1\); since \(v_p(t-c)\ge1\), \(p\mid\kappa(n-c)\), and \(n-c\) divides \(F(n)\), so \(p\mid\kappa F(n)\).
theorem test_dvd {n κ : ℤ} {t : ℚ} (hT : Test n κ t) :
contactSupport heightPrimes t ∣ (κ * sixF n).natAbs
def Test (n κ : ℤ) (t : ℚ) : Prop :=
κ ≠ 0 ∧ t ∉ contactSet ∧ ∃ (h s₀ : ℤ) (η q : ℚ), h ≠ 0 ∧ h ≠ κ ∧ η ^ 2 = 1 ∧
1 - testR₀ η t * q ^ 2 ≠ 0 ∧ poleW (testR η q t) (testC n κ t h s₀) ≠ 0 ∧
poleTheta (testR η q t) (testC n κ t h s₀) ≠ 0 ∧
PoleSoluble (testR η q t / poleTheta (testR η q t) (testC n κ t h s₀) ^ 2)
ZInQKernel/Assembly/Local/SixLocalTests.lean:66
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
def heightPrimes : Finset ℕ := (Finset.range 325).filter Nat.Prime
ZInQKernel/Compiler/Precision/HeightConstant.lean:116
def sixF (u : ℤ) : ℤ := u * (u + 15) * (u + 20) * (u + 24) * (u + 30) * (u + 60)
ZInQKernel/Compiler/Precision/HeightConstant.lean:86
Uses 7 · Used by 1
Completeness
Some multiple of \(P_0\) lies in any given formal neighbourhood: at the primes above an odd prime by the reduction orders of the size chapter (reduction orders of \(P_0\)), including the bad prime \(d\), and at \(s\) because \(P_0\) already lies in the dyadic formal group (the generator in the dyadic formal group).
LemmaDeep multiples of the generator#✓
For every prime element \(\pi\) of \(\mathbb Z[s]\) and every integer \(N\ge1\) there is an integer \(m\ge1\) with \([m]P_0\in E_N(\pi)\); then \([jm]P_0\in E_N(\pi)\) for every \(j\in\mathbb Z\). Consequently, for every finite set \(\Pi\) of prime elements and every \(N\ge1\) there is \(\kappa\ge1\) with \([j\kappa]P_0\in E_N(\pi)\) for all \(\pi\in\Pi\) and \(j\in\mathbb Z\).
This is the manuscript's "each sufficiently small local formal neighbourhood has finite index in the compact local group; a positive common multiple of the quotient orders gives \(\kappa\)", restricted to the cyclic group generated by \(P_0\).
Proof sketch. First find \(m_1\ge1\) with \([m_1]P_0\in E_1(\pi)\): if \(\pi\sim s\), \(m_1=1\) since \(P_0\in E_3(s)\); otherwise \(\pi\) lies above an odd prime \(p\), and the reduction orders of \(P_0\) (with \(N=p\)) give some \(m_1\le p^6\); at \(\pi\sim d\) this uses that \(P_0\) reduces to a nonsingular point of the cuspidal cubic. Let \(p\) be the rational prime below \(\pi\). Multiplying by \(p\) raises \(\nu_\pi\) by at least one, so \(m=p^{N-1}m_1\) works. Since \(E_N(\pi)\) is a subgroup, every multiple of \(m\) works too. For a finite set \(\Pi\), take \(\kappa=\prod_{\pi\in\Pi}m_\pi\).
theorem exists_smul_mem_Ek {π : Zs} (hπ : Prime π) (N : ℤ) (hN : 1 ≤ N) :
∃ m : ℕ, 1 ≤ m ∧ ∀ j : ℤ, (j * m) • genP0 ∈ Ek π hπ N
theorem exists_common_smul_mem_Ek (Ps : Finset Zs) (N : ℤ) (hN : 1 ≤ N) :
∃ κ : ℕ, 1 ≤ κ ∧ ∀ π ∈ Ps, ∀ hπ : Prime π, ∀ j : ℤ, (j * κ) • genP0 ∈ Ek π hπ N
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
def genP0 : genCurve.toAffine.Point := Point.mk genP0_equation
ZInQKernel/Model/Field/Curve.lean:118
noncomputable def Ek (π : Zs) (hπ : Prime π) (k : ℤ) : AddSubgroup genCurve.toAffine.Point :=
formalFilt (-genD ^ 2) (vP_genA_nonneg π hπ) k
ZInQKernel/Assembly/Local/FormalMultiplication.lean:307
Uses 5 · Used by 1
With such a shift the tests are divisible by \(F(n)\) at every prime of \(R_0\), so \(W\equiv1\) and \(\Theta\equiv2\) there and the pole input has the local properties required by pole completeness; a rational \(q\) close to \(R_0^{-1/2}\) makes it lie in \((0,1/2)\).
LemmaLocal conditions on the pole input#✓
Let \(n\in\mathbb Z\setminus\mathcal C\), let \(\eta\in\{1,-1\}\) have the sign of \(F(n)\), and put \(R_0=\eta\cdot2730^6\cdot F(n)\), a positive integer. Let \(\kappa\ge1\) be such that for every prime element \(\pi\) of \(\mathbb Z[s]\) dividing \(R_0\), $\([\kappa]P_0\in E_N(\pi)\qquad\text{for some }N\ge\max\bigl(1,v_\pi(F(n))\bigr).\)$ Put \(h=2\kappa\), \(s_0=2\kappa n\), so that \(H=[2\kappa]P_0\), \(U=[2\kappa n]P_0\), \(V_0=[\kappa]P_0\), \(V_1=[\kappa n]P_0\), and let \(D_1,\dots,D_6\) and \(C_j=D_j/F(n)\) be the six tests at \(t=n\). Let \(q\in\mathbb Q\) with \(v_p(q)\ge0\) for every prime \(p\mid R_0\), and suppose that \(a_0=1-R_0q^2\), \(W\) and \(\Theta=\operatorname{Tr}(W^{-1})\) (formed with \(R=R_0a_0^2\)) are nonzero. Then \(B=R/\Theta^2\) satisfies $\(v_2(B)\ge4,\qquad v_p(B)\ge6\ \ (p=3,5,7,13),\qquad\text{and the reduced denominator of }B\text{ is a square.}\)$
Proof sketch. Let \(S'\) be the set of primes dividing \(R_0\); it contains \(2,3,5,7,13\), and \(e_p=v_p(R_0)=6+v_p(F(n))\) for those five primes.
The tests are small at \(S'\). Let \(\pi\) divide \(R_0\). All multiples of \([\kappa]P_0\) lie in \(E_N(\pi)\) and in \(E_N(\sigma(\pi))\), and \(\sigma(\pi)\) divides \(R_0\) too. Hence \(v_\pi(D_1),v_\pi(D_2)\ge2N\) (for \(w=1/x\)), \(v_\pi(D_3),v_\pi(D_4)\ge2N\) (at \(\sigma(\pi)\)), and, by the multiplication statement applied to \(Q=[2\kappa]P_0\) at \(\pi\) and to \(Q=[\kappa]P_0\) at \(\sigma(\pi)\), \(v_\pi(D_5),v_\pi(D_6)\ge4N\). So \(v_\pi(D_j)\ge v_\pi(F(n))\) for all \(j\).
\(W\equiv1\) and \(\Theta\equiv2\). At \(\pi\mid p\in S'\), \(q\) is integral and \(v_\pi(R_0q^2)\ge1\), so \(a_0\) is a unit and \(v_\pi(RC_j^2)=v_\pi(R_0)+2(v_\pi(D_j)-v_\pi(F(n)))\ge v_\pi(R_0)\). Hence \(v_\pi(W-1)\ge v_\pi(R_0)\), \(W\) is a unit and \(v_\pi(W^{-1}-1)\ge v_\pi(R_0)=e_pv_\pi(p)\). The trace statement gives \(v_p(\Theta-2)\ge e_p\) for odd \(p\), so \(\Theta\) is a \(p\)-unit, and \(v_2(\Theta-2)\ge e_2+1\ge7\), so \(v_2(\Theta)=1\).
Valuations of \(B\). For odd \(p\in S'\), \(v_p(B)=e_p\ge1\), and \(e_p\ge6\) for \(p=3,5,7,13\). At \(2\), \(v_2(B)=e_2-2=4+v_2(F(n))\ge4\). For \(p\notin S'\), \(v_p(R_0)=0\), so \(v_p(B)=2v_p(a_0)-2v_p(\Theta)\) is even. Thus every prime of the reduced denominator of \(B\) lies outside \(S'\) and occurs to an even power.
theorem poleInput_local {n : ℤ} (hn : (n : ℚ) ∉ contactSet) {η : ℚ} (hη : η ^ 2 = 1) {κ : ℤ}
(hκ : 1 ≤ κ)
(hdeep : ∀ (π : Zs) (hπ : Prime π), π ∣ ((2730 ^ 6 * sixF n : ℤ) : Zs) →
∃ N : ℤ, 1 ≤ N ∧ vp π (sixF n : K0) ≤ N ∧ κ • genP0 ∈ Ek π hπ N)
{q : ℚ} (hq : ∀ p : ℕ, p.Prime → (p : ℤ) ∣ 2730 ^ 6 * sixF n → 0 ≤ padicValRat p q)
(ha0 : 1 - testR₀ η n * q ^ 2 ≠ 0)
(hW : poleW (testR η q n) (testC n κ n (2 * κ) (2 * κ * n)) ≠ 0)
(hΘ : poleTheta (testR η q n) (testC n κ n (2 * κ) (2 * κ * n)) ≠ 0) :
4 ≤ padicValRat 2 (testB n κ n η q (2 * κ) (2 * κ * n)) ∧
(∀ p ∈ ({3, 5, 7, 13} : Finset ℕ),
6 ≤ padicValRat p (testB n κ n η q (2 * κ) (2 * κ * n))) ∧
IsSquare (testB n κ n η q (2 * κ) (2 * κ * n)).den
def contactSet : Finset ℚ := {0, -15, -20, -24, -30, -60}
ZInQKernel/Hypotheses/Height.lean:84
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
def sixF (u : ℤ) : ℤ := u * (u + 15) * (u + 20) * (u + 24) * (u + 30) * (u + 60)
ZInQKernel/Compiler/Precision/HeightConstant.lean:86
noncomputable def vp (π : Zs) (z : K0) : ℤ :=
if hπ : Prime π then -log ((primeSpec π hπ).valuation K0 z) else 0
ZInQKernel/Model/Field/Valuation.lean:28
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
def genP0 : genCurve.toAffine.Point := Point.mk genP0_equation
ZInQKernel/Model/Field/Curve.lean:118
noncomputable def Ek (π : Zs) (hπ : Prime π) (k : ℤ) : AddSubgroup genCurve.toAffine.Point :=
formalFilt (-genD ^ 2) (vP_genA_nonneg π hπ) k
ZInQKernel/Assembly/Local/FormalMultiplication.lean:307
def testR₀ (η t : ℚ) : ℚ := η * 2730 ^ 6 * contactPoly t
ZInQKernel/Assembly/Local/SixLocalTests.lean:49
noncomputable def poleW (R : ℚ) (C : Fin 6 → K0) : K0 := ∏ j, (1 + (R : K0) * C j ^ 2)
ZInQKernel/Assembly/Local/SixLocalTests.lean:55
def testR (η q t : ℚ) : ℚ := testR₀ η t * (1 - testR₀ η t * q ^ 2) ^ 2
ZInQKernel/Assembly/Local/SixLocalTests.lean:52
noncomputable def testC (n κ : ℤ) (t : ℚ) (h s₀ : ℤ) (j : Fin 6) : K0 :=
testD n κ t h s₀ j / (contactPoly t : K0)
ZInQKernel/Assembly/Local/SixLocalTests.lean:62
noncomputable def poleTheta (R : ℚ) (C : Fin 6 → K0) : ℚ :=
QuadraticAlgebra.trace (poleW R C)⁻¹
ZInQKernel/Assembly/Local/SixLocalTests.lean:58
noncomputable def testB (n κ : ℤ) (t η q : ℚ) (h s₀ : ℤ) : ℚ :=
testR η q t / poleTheta (testR η q t) (testC n κ t h s₀) ^ 2
ZInQKernel/Assembly/Local/PoleInputLocal.lean:30
Uses 6 · Used by 1
LemmaReal conditions on the pole input#✓
Let \(R_0>1\) be an integer and \(C_1,\dots,C_6\in K_0\). There is \(q\in\mathbb Q\) whose reduced denominator is coprime to \(R_0\) such that, with $\(a_0=1-R_0q^2,\qquad R=R_0a_0^2,\qquad W=\prod_{j=1}^6\bigl(1+RC_j^2\bigr),\qquad\Theta=\operatorname{Tr}(W^{-1}),\)$ one has \(a_0\ne0\), \(W\ne0\), \(\Theta\ne0\) and $\(0<R/\Theta^2<1/2 .\)$
Proof sketch. Positivity. For any \(q\) with \(a_0\ne0\), \(R>0\). In each real embedding \(\tau=\sigma_\pm\), \(\tau(RC_j^2)=R\,\tau(C_j)^2\ge0\), so \(\tau(W)\ge1\); hence \(W\ne0\), \(0<\tau(W^{-1})\le1\) and \(\Theta=\sigma_+(W^{-1})+\sigma_-(W^{-1})\in(0,2]\). So \(R/\Theta^2>0\).
Smallness. Let \(c=\max_{j,\pm}\sigma_\pm(C_j)^2\). If \(R\le r:=\min\bigl(1/4,\ 1/(10(c+1))\bigr)\) then \(\tau(W)\le(1+Rc)^6\le e^{6/10}<2\), so \(\tau(W^{-1})>1/2\), \(\Theta>1\) and \(R/\Theta^2<R\le1/4\).
Choice of \(q\). For \(j\in\mathbb N\) put \(m_j=R_0j+1\), coprime to \(R_0\), and let \(k_j\) be the integer nearest to \(m_j/\sqrt{R_0}\), so \(q_j=k_j/m_j\) has \(|q_j-R_0^{-1/2}|\le1/(2m_j)\) and reduced denominator dividing \(m_j\). Then \(|a_0|=R_0\,|R_0^{-1/2}-q_j|\,|R_0^{-1/2}+q_j|\to0\), so \(R=R_0a_0^2<r\) for \(j\) large. Finally \(a_0\ne0\): \(R_0q_j^2=1\) would give \(R_0k_j^2=m_j^2\), so \(R_0\mid m_j^2\), impossible as \(\gcd(R_0,m_j)=1\) and \(R_0>1\). (The manuscript's "adjusting by one if equality occurs" is therefore never needed.)
theorem poleInput_real (R₀ : ℕ) (hR₀ : 1 < R₀) (C : Fin 6 → K0) :
∃ q : ℚ, Nat.Coprime q.den R₀ ∧ 1 - (R₀ : ℚ) * q ^ 2 ≠ 0 ∧
poleW (R₀ * (1 - R₀ * q ^ 2) ^ 2) C ≠ 0 ∧ poleTheta (R₀ * (1 - R₀ * q ^ 2) ^ 2) C ≠ 0 ∧
0 < (R₀ * (1 - R₀ * q ^ 2) ^ 2) / poleTheta (R₀ * (1 - R₀ * q ^ 2) ^ 2) C ^ 2 ∧
(R₀ * (1 - R₀ * q ^ 2) ^ 2) / poleTheta (R₀ * (1 - R₀ * q ^ 2) ^ 2) C ^ 2 < 1 / 2
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
noncomputable def poleW (R : ℚ) (C : Fin 6 → K0) : K0 := ∏ j, (1 + (R : K0) * C j ^ 2)
ZInQKernel/Assembly/Local/SixLocalTests.lean:55
noncomputable def poleTheta (R : ℚ) (C : Fin 6 → K0) : ℚ :=
QuadraticAlgebra.trace (poleW R C)⁻¹
ZInQKernel/Assembly/Local/SixLocalTests.lean:58
Uses 1 · Used by 1
LemmaOne suitable shift#✓
Assume pole completeness. For every \(n\in\mathbb Z\setminus\mathcal C\) there is a nonzero \(\kappa\in\mathbb Z\) with $\(\operatorname{Test}(n,\kappa,n).\)$
Proof sketch. \(F(n)\ne0\); choose \(\eta=\pm1\) with \(R_0=\eta\cdot2730^6F(n)>0\), so \(R_0>1\). Let \(\Pi\) be the finite set of prime elements of \(\mathbb Z[s]\) dividing \(R_0\) (one per associate class) and \(N=1+\max_{\pi\in\Pi}v_\pi(F(n))\). By the deep-multiples statement there is \(\kappa\ge1\) with \([\kappa]P_0\in E_N(\pi)\) for all \(\pi\in\Pi\).
Take \(h=2\kappa\), \(s_0=2\kappa n\), so that $\(H=[2\kappa]P_0,\quad U=[2\kappa n]P_0,\quad V_0=[\kappa]P_0,\quad V_1=[\kappa n]P_0 .\)$ Then \(\kappa\ne0\), \(h\ne0\) and \(h-\kappa=\kappa\ne0\), and \(t=n\notin\mathcal C\). The six tests \(D_1,\dots,D_6\) and \(C_j=D_j/F(n)\) are now fixed elements of \(K_0\). By the real-conditions statement choose \(q\) with reduced denominator coprime to \(R_0\) (so \(v_p(q)\ge0\) for \(p\mid R_0\)) such that \(a_0,W,\Theta\ne0\) and \(0<B_{\rm pole}<1/2\). By the local-conditions statement, \(v_p(B_{\rm pole})\ge4\) for every \(p\in\{2,3,5,7,13\}\) and the reduced denominator of \(B_{\rm pole}\) is a square. Pole completeness gives \(\Phi(B_{\rm pole})\). All conditions of \(\operatorname{Test}(n,\kappa,n)\) hold.
Compared with the manuscript: its "integral trace justifies this also at the ramified place two" is the case \(p=2\) of the trace statement, and the guards hold because nonzero multiples of \(P_0\) are affine with nonzero coordinates.
theorem test_complete (hPC : PoleCompleteness) (n : ℤ) (hn : (n : ℚ) ∉ contactSet) :
∃ κ : ℤ, κ ≠ 0 ∧ Test n κ n
def PoleCompleteness : Prop :=
∀ B : ℚ, IsSquare B.den → 0 < B → B < 1 / 2 → (∀ p ∈ poleS0, 4 ≤ padicValRat p B) →
PoleSoluble B
ZInQKernel/Hypotheses/Pole.lean:39
def contactSet : Finset ℚ := {0, -15, -20, -24, -30, -60}
ZInQKernel/Hypotheses/Height.lean:84
def Test (n κ : ℤ) (t : ℚ) : Prop :=
κ ≠ 0 ∧ t ∉ contactSet ∧ ∃ (h s₀ : ℤ) (η q : ℚ), h ≠ 0 ∧ h ≠ κ ∧ η ^ 2 = 1 ∧
1 - testR₀ η t * q ^ 2 ≠ 0 ∧ poleW (testR η q t) (testC n κ t h s₀) ≠ 0 ∧
poleTheta (testR η q t) (testC n κ t h s₀) ≠ 0 ∧
PoleSoluble (testR η q t / poleTheta (testR η q t) (testC n κ t h s₀) ^ 2)
ZInQKernel/Assembly/Local/SixLocalTests.lean:66
Uses 6 · Used by 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.