The row-5b determinant
The congruent-number route. This chapter belongs to the congruent-number route to pole completeness, through Tian–Yuan–Zhang and Gross–Zagier. Elliot's route is the other route to the same theorem. The route's Lean is kept at the tag
route-k-finaland pinned upstream in elliotglazer/diophantine-z-q. Pages whose Lean is not on this fork's main (fork issue #77) say so; the Lean of the other pages is still in the tree.
The certified rank hypothesis CR₃ rests, through Proposition 0, on the Selmer form CR₃^Sel: for squarefree \(n\equiv5\pmod8\) with \(|\mathrm{Sel}_2(C_n)|=8\) and a Selmer class with \(|a|\equiv7\pmod8\), every 2-Selmer class of \(C_n\) comes from a rational point. The route to CR₃^Sel used here goes through Tian, Yuan and Zhang (as completed by Proposition N, which is not refereed), whose criterion for analytic rank one is a genus sum \(T_{5b}(n)\) of 4-ranks of class groups; row 5b of Smith's Table 2 writes that sum as the determinant of an explicit matrix \(M_{5b}\) in Legendre symbols. This chapter proves the elementary step between the Selmer group and that determinant (tyz-5b §4), and the identity of the determinant with the genus sum (tyz-5b §§2–3). By the first, on a Selmer-minimal curve, \(\det M_{5b}\) is the parity of the number of primes \(\equiv3\pmod4\) dividing the first coordinate of a non-torsion Selmer class. So CR₃^Sel follows from CR₃^5b, the same hypothesis with the 2-adic condition replaced by \(\det M_{5b}=1\); CR₃^5b is a hypothesis, not proved here. By the second, \(T_{5b}(n)=\det M_{5b}\) for squarefree \(n\equiv5\pmod8\), with Rédei's \(g\) in Legendre symbols (Smith's row 5b, proved below by forest expansions of both sides), so CR₃^5b follows from CR₃^TYZ, the same hypothesis with the genus sum \(T_{5b}(n)\) in place of the determinant. By Rédei's formula the genus sum is the same with the class numbers of Tian, Yuan and Zhang; that form of the hypothesis is in the Rédei chapter.
Throughout, \(C_n\) is the congruent number curve \(y^2=x^3-n^2x\), and the Selmer system and the configuration of \(n\) are those of the congruent-number route chapter; the Selmer group is that of the Proposition 0 chapter. The Rédei chapter and the positive-rank chapter, outside its Mordell–Weil section, write \(d\) and \(C_d\) for the same number and curve.
The matrices
DefinitionSmith's matrices \(L\), \(M_1\) and \(M_{5b}\)#✓
Let \(n>0\) be odd and squarefree with prime set \(P\). For \(p\ne q\) in \(P\) put \(a_{pq}=(q/p)_+\in\mathbb F_2\), which is \(0\) if \(q\) is a square modulo \(p\) and \(1\) otherwise, and put \(y_p=(-1/p)_+=[p\equiv3\pmod4]\) and \(z_p=(2/p)_+=[p\equiv\pm3\pmod8]\). Smith's matrix \(L\) (Smith's \(A\)) is the \(P\times P\) matrix over \(\mathbb F_2\) with \(L_{pq}=a_{pq}\) for \(p\ne q\) and \(L_{pp}=\sum_{q\ne p}a_{pq}\), so its rows sum to zero. With \(D_z\) the diagonal matrix of the \(z_p\), define the \((P\sqcup P)\)-square matrix \(M_1\) and its bordering \(M_{5b}\): $\(M_1=\begin{pmatrix}L+L^{\mathsf T}&L^{\mathsf T}\\ L&D_z\end{pmatrix},\qquad M_{5b}=\begin{pmatrix}L+L^{\mathsf T}&L^{\mathsf T}&0\\ L&D_z&y\\ 0&y^{\mathsf T}&0\end{pmatrix},\)$ that is, \(M_{5b}\) is \(M_1\) bordered by the column \((0,y)\), the row \((0,y)^{\mathsf T}\) and a zero corner. The same matrices are defined for any configuration, with \([q/p]\), \(\lambda\), \(\mu\) in place of \(a_{pq}\), \(y\), \(z\), and for \(n\) they are those of the configuration of \(n\): \(a_{pq}=[q/p]\), \(y=\lambda\), \(z=\mu\).
\(M_1\) is symmetric, and by quadratic reciprocity \(a_{pq}+a_{qp}=y_py_q\) for \(p\ne q\), so \(L+L^{\mathsf T}\) has entries \(y_py_q\) off the diagonal and \(0\) on it.
These are the matrices of row 5b of Smith's Table 2; row 5b says that for \(n\equiv5\pmod8\) the determinant of \(M_{5b}\) is the genus sum \(T_{5b}(n)\) of Tian, Yuan and Zhang (Theorem 3.6 for Rédei's \(g\) in Legendre symbols, and with their class numbers through the agreement of the two genus sums, by Rédei's formula).
noncomputable def M5b (d : ℕ) :
Matrix ((d.primeFactors ⊕ d.primeFactors) ⊕ Unit)
((d.primeFactors ⊕ d.primeFactors) ⊕ Unit) (ZMod 2) :=
border (M1 d) (Sum.elim 0 (yBit d))
noncomputable def M1 (d : ℕ) :
Matrix (d.primeFactors ⊕ d.primeFactors) (d.primeFactors ⊕ d.primeFactors) (ZMod 2) :=
fromBlocks (Lmat d + (Lmat d)ᵀ) (Lmat d)ᵀ (Lmat d) (diagonal (zBit d))
noncomputable def Lmat (d : ℕ) : Matrix d.primeFactors d.primeFactors (ZMod 2) := fun i j =>
if i = j then ∑ k ∈ Finset.univ.erase i, aBit d i k else aBit d i j
def border {R : Type*} [Zero R] (M : Matrix ι ι R) (v : ι → R) : Matrix (ι ⊕ Unit) (ι ⊕ Unit) R :=
Matrix.fromBlocks M (replicateCol Unit v) (replicateRow Unit v) 0
ZInQKernel/RouteK/Rank5b/Bordered.lean:21
noncomputable def M1 (d : ℕ) :
Matrix (d.primeFactors ⊕ d.primeFactors) (d.primeFactors ⊕ d.primeFactors) (ZMod 2) :=
fromBlocks (Lmat d + (Lmat d)ᵀ) (Lmat d)ᵀ (Lmat d) (diagonal (zBit d))
ZInQKernel/RouteK/Rank5b/Matrices.lean:68
noncomputable def yBit (d : ℕ) (i : d.primeFactors) : ZMod 2 := lamBit (i : ℕ)
ZInQKernel/RouteK/Rank5b/Matrices.lean:57
noncomputable def Lmat (d : ℕ) : Matrix d.primeFactors d.primeFactors (ZMod 2) := fun i j =>
if i = j then ∑ k ∈ Finset.univ.erase i, aBit d i k else aBit d i j
ZInQKernel/RouteK/Rank5b/Matrices.lean:64
noncomputable def zBit (d : ℕ) (i : d.primeFactors) : ZMod 2 := muBit (i : ℕ)
ZInQKernel/RouteK/Rank5b/Matrices.lean:60
noncomputable def aBit (d : ℕ) (i j : d.primeFactors) : ZMod 2 := legBit (i : ℕ) ((j : ℕ) : ℤ)
ZInQKernel/RouteK/Rank5b/Matrices.lean:54
Uses 2 · Used by 12
The Selmer group and the kernel of \(M_1\)
For product class \(5\), the solutions of the Selmer system split into four torsion classes and a subspace isomorphic to the kernel of \(M_1\); through Proposition 0 this is a statement about \(\mathrm{Sel}_2(C_n)\).
TheoremThe Selmer system of a class-5 configuration and the kernel of \(M_1\)#✓
Let \(\mathcal C\) be a configuration on \(S\) of product class \(c(\mathcal C)=5\), and let \(M_1\) be its matrix. For \(e,f\in\mathbb F_2\) let \(\tau_{e,f}\) be the tuple with \(a_0=b_0=e\), \(a_1=0\), \(b_1=f\), \(u=f\mathbf 1\), \(v=e\mathbf 1\) (for a number \(n\), the class of \((-1,-n)^e(n,2)^f\)). Let \(H\) be the set of solutions of \(\Sigma(\mathcal C)\) with \(b_1=0\) and \(a_0=\lambda\cdot u\). Then:
- adding \(\tau_{e,f}\) coordinatewise maps solutions to solutions, and every solution is uniquely \(h+\tau_{e,f}\) with \(h\in H\), namely with \((e,f)=(a_0+\lambda\cdot u,\,b_1)\);
- the map \(h\mapsto(u+v,\,u)\) is a bijection from \(H\) onto \(\ker M_1\), with inverse \((s,t)\mapsto(u,v)=(t,s+t)\), \(a_0=b_0=\lambda\cdot t\), \(a_1=b_1=0\);
- consequently \(\Sigma(\mathcal C)\) has exactly \(4\,|\ker M_1|\) solutions.
Proof sketch. For class \(5\), \(\sum_x\lambda_x=0\), \(\sum_x\mu_x=1\), and the rows (D) read \(a_1=0\), \(b_1=\mu\cdot u\), \(\lambda\cdot v=\lambda\cdot u\). Monsky's matrix \(K\) kills constant vectors, so adding \(\tau_{e,f}\) preserves every row, and it changes \((a_0+\lambda\cdot u,\,b_1)\) by \((e,f)\); this gives 1. By reciprocity \((Ls)_x=(Ks)_x\) and \((L^{\mathsf T}t)_x=(Kt)_x+\lambda_x(\lambda\cdot t+t_x)\), so \(M_1(s,t)=0\) reads \(Kt+\lambda*(s+t)=(\lambda\cdot s+\lambda\cdot t)\lambda\) and \(Ks+\mu*t=0\); summing the rows gives \(\lambda\cdot s=0\) and \(\mu\cdot t=0\). With these, the rows E1, E2, (R) and (D) for the tuple built from \((s,t)\) are the two kernel equations, and conversely; the two maps are inverse on \(H\) because \(a_1=0\) and \(a_0=b_0\) on solutions. Part 3 counts \(4\cdot|H|\).
theorem card_sols_eq (h5 : 𝒞.prodClass = 5) :
𝒞.sols.card = 4 * Fintype.card {w // M1c 𝒞 *ᵥ w = 0}
def hEquivKer (h5 : 𝒞.prodClass = 5) : {σ // IsH 𝒞 σ} ≃ {w // M1c 𝒞 *ᵥ w = 0} where
toFun σ := ⟨kvec σ.1, M1c_mulVec_kvec 𝒞 h5 σ.2⟩
invFun w := ⟨ofKer 𝒞 w.1, isH_ofKer 𝒞 h5 w.2⟩
left_inv σ := Subtype.ext (ofKer_kvec 𝒞 σ.2)
right_inv w := Subtype.ext (kvec_ofKer 𝒞 w.1)
def solEquivTorsH (h5 : 𝒞.prodClass = 5) :
{σ // 𝒞.IsSol σ} ≃ (ZMod 2 × ZMod 2) × {σ // IsH 𝒞 σ} where
toFun σ := (torsCoord 𝒞 σ.1, ⟨_, isH_uadd_torsCoord 𝒞 h5 σ.2⟩)
invFun p := ⟨uadd p.2.1 (tors p.1.1 p.1.2), (isSol_uadd_tors 𝒞 h5 _ _ _).2 p.2.2.1⟩
left_inv σ := Subtype.ext (uadd_tors_tors _ _ _)
right_inv p := by
obtain ⟨⟨e, f⟩, h, hh⟩ := p
have hl := lam_sum_of_five 𝒞 h5
have hc : torsCoord 𝒞 (uadd h (tors e f)) = (e, f) := by
have hb := hh.2.1
simp only [torsCoord, uadd, tors, dot_add_right, dot_const, hl, ← hh.2.2, hb]
ext <;> simp only <;> grind
simp only [hc]
exact Prod.ext rfl (Subtype.ext (uadd_tors_tors _ _ _))
def M1c : Matrix (ι ⊕ ι) (ι ⊕ ι) (ZMod 2) :=
fromBlocks (Lc 𝒞 + (Lc 𝒞)ᵀ) (Lc 𝒞)ᵀ (Lc 𝒞) (diagonal 𝒞.mu)
ZInQKernel/RouteK/Rank5b/Matrices.lean:38
def IsH (σ : Unknowns ι) : Prop := 𝒞.IsSol σ ∧ σ.b1 = 0 ∧ σ.a0 = dot 𝒞.lam σ.u
ZInQKernel/RouteK/Rank5b/Kernel.lean:179
def kvec (σ : Unknowns ι) : ι ⊕ ι → ZMod 2 := Sum.elim (σ.u + σ.v) σ.u
ZInQKernel/RouteK/Rank5b/Kernel.lean:184
theorem M1c_mulVec_kvec (h5 : 𝒞.prodClass = 5) {σ : Unknowns ι} (hσ : IsH 𝒞 σ) :
M1c 𝒞 *ᵥ kvec σ = 0
ZInQKernel/RouteK/Rank5b/Kernel.lean:192
def ofKer (w : ι ⊕ ι → ZMod 2) : Unknowns ι :=
⟨dot 𝒞.lam (w ∘ Sum.inr), 0, dot 𝒞.lam (w ∘ Sum.inr), 0, w ∘ Sum.inr,
w ∘ Sum.inl + w ∘ Sum.inr⟩
ZInQKernel/RouteK/Rank5b/Kernel.lean:187
theorem isH_ofKer (h5 : 𝒞.prodClass = 5) {w : ι ⊕ ι → ZMod 2} (hw : M1c 𝒞 *ᵥ w = 0) :
IsH 𝒞 (ofKer 𝒞 w)
ZInQKernel/RouteK/Rank5b/Kernel.lean:217
theorem ofKer_kvec {σ : Unknowns ι} (hσ : IsH 𝒞 σ) : ofKer 𝒞 (kvec σ) = σ
ZInQKernel/RouteK/Rank5b/Kernel.lean:261
theorem kvec_ofKer (w : ι ⊕ ι → ZMod 2) : kvec (ofKer 𝒞 w) = w
ZInQKernel/RouteK/Rank5b/Kernel.lean:254
def torsCoord (σ : Unknowns ι) : ZMod 2 × ZMod 2 := (σ.a0 + dot 𝒞.lam σ.u, σ.b1)
ZInQKernel/RouteK/Rank5b/Kernel.lean:282
theorem isH_uadd_torsCoord (h5 : 𝒞.prodClass = 5) {σ : Unknowns ι} (hσ : 𝒞.IsSol σ) :
IsH 𝒞 (uadd σ (tors (torsCoord 𝒞 σ).1 (torsCoord 𝒞 σ).2))
ZInQKernel/RouteK/Rank5b/Kernel.lean:284
def uadd {ι : Type*} (σ τ : Unknowns ι) : Unknowns ι :=
⟨σ.a0 + τ.a0, σ.a1 + τ.a1, σ.b0 + τ.b0, σ.b1 + τ.b1, σ.u + τ.u, σ.v + τ.v⟩
ZInQKernel/RouteK/Rank5b/Kernel.lean:153
def tors {ι : Type*} (e f : ZMod 2) : Unknowns ι := ⟨e, 0, e, f, fun _ => f, fun _ => e⟩
ZInQKernel/RouteK/Rank5b/Kernel.lean:158
theorem isSol_uadd_tors (h5 : 𝒞.prodClass = 5) (σ : Unknowns ι) (e f : ZMod 2) :
𝒞.IsSol (uadd σ (tors e f)) ↔ 𝒞.IsSol σ
ZInQKernel/RouteK/Rank5b/Kernel.lean:169
theorem uadd_tors_tors {ι : Type*} (σ : Unknowns ι) (e f : ZMod 2) :
uadd (uadd σ (tors e f)) (tors e f) = σ
ZInQKernel/RouteK/Rank5b/Kernel.lean:160
Uses 2 · Used by 2
TheoremThe 2-Selmer group and the kernel of \(M_1\) (Lemma 4.1)#✓
Let \(n>0\) be squarefree with \(n\equiv5\pmod8\). To a tuple \((a_0,a_1,b_0,b_1,u,v)\) over the primes of \(n\) attach the pair \(a=(-1)^{a_0}2^{a_1}\prod_pp^{u_p}\), \(b=(-1)^{b_0}2^{b_1}\prod_pp^{v_p}\). Then \(\mathrm{Sel}_2(C_n)\) is exactly the set of pairs of the solutions of \(\Sigma(\mathcal C_n)\), and $\(|\mathrm{Sel}_2(C_n)|=4\,|\ker M_1|,\qquad\text{that is}\qquad \dim\mathrm{Sel}_2(C_n)=2+\operatorname{corank}M_1 .\)$ Moreover the tuples whose pair lies in \(\mathrm{Sel}_2(C_n)\) and which have \(b_1=0\) (\(b\) odd) and \(a_0=y\cdot u\) (\(a\equiv1\pmod4\)) form a subspace \(H\), and \((u,v)\mapsto(u+v,\,u)\) is a bijection from \(H\) onto \(\ker M_1\); here \(u+v\) and \(u\) are the indicator vectors of the primes dividing \(ab\) and \(a\).
Proof sketch. By Proposition 0 a tuple solves \(\Sigma(\mathcal C_n)\) exactly when its pair lies in \(\mathrm{Sel}_2(C_n)\), every Selmer class is such a pair, and distinct tuples give distinct pairs. The configuration of \(n\) has product class \(5\), and its matrix \(M_1\) is that of \(n\); the statement is the class-5 statement for the configuration of \(n\).
theorem sel2_ncard_eq_four_mul (hd5 : d % 8 = 5) (hsq : Squarefree d) :
(Sel2 d).ncard = 4 * Fintype.card {w // M1 d *ᵥ w = 0}
noncomputable def sel2HEquivKer (hd5 : d % 8 = 5) (hsq : Squarefree d) :
{σ : Unknowns d.primeFactors //
selPair d σ ∈ Sel2 d ∧ σ.b1 = 0 ∧ σ.a0 = dot (yBit d) σ.u} ≃
{w // M1 d *ᵥ w = 0} := by
have hd := odd_of_mod_eight_eq_five hd5
have h5 : (natConfig d hd).prodClass = 5 := by
rw [natConfig_prodClass hd hsq, natCast_zmod8_of_mod hd5]; rfl
have hy : (natConfig d hd).lam = yBit d := funext (natConfig_lam_eq_yBit hd)
refine (Equiv.subtypeEquivRight fun σ => ?_).trans
((Config.hEquivKer _ h5).trans (Equiv.subtypeEquivRight fun w => ?_))
· rw [Config.IsH, prop0 hd5 hsq, hy]
· rw [M1_eq_M1c hd]
theorem sel2HEquivKer_apply (hd5 : d % 8 = 5) (hsq : Squarefree d) (σ) :
(sel2HEquivKer hd5 hsq σ).1 = Sum.elim (σ.1.u + σ.1.v) σ.1.u
def Sel2 (d : ℕ) : Set (ℤ × ℤ) :=
{ab | Squarefree ab.1 ∧ Squarefree ab.2 ∧ Loc ℝ d ab.1 ab.2 ∧
∀ (p : ℕ) [Fact p.Prime], Loc ℚ_[p] d ab.1 ab.2}
ZInQKernel/RouteK/Selmer/Covering.lean:346
noncomputable def M1 (d : ℕ) :
Matrix (d.primeFactors ⊕ d.primeFactors) (d.primeFactors ⊕ d.primeFactors) (ZMod 2) :=
fromBlocks (Lmat d + (Lmat d)ᵀ) (Lmat d)ᵀ (Lmat d) (diagonal (zBit d))
ZInQKernel/RouteK/Rank5b/Matrices.lean:68
@[ext]
structure Unknowns (ι : Type*) where
a0 : ZMod 2
a1 : ZMod 2
b0 : ZMod 2
b1 : ZMod 2
u : ι → ZMod 2
v : ι → ZMod 2
ZInQKernel/RouteK/System/Selmer.lean:24
def selPair (d : ℕ) (σ : Unknowns d.primeFactors) : ℤ × ℤ :=
(classInt d σ.a0 σ.a1 σ.u, classInt d σ.b0 σ.b1 σ.v)
ZInQKernel/RouteK/Selmer/Covering.lean:400
def dot {ι : Type*} [Fintype ι] (f g : ι → ZMod 2) : ZMod 2 := ∑ x, f x * g x
ZInQKernel/RouteK/System/Selmer.lean:78
noncomputable def yBit (d : ℕ) (i : d.primeFactors) : ZMod 2 := lamBit (i : ℕ)
ZInQKernel/RouteK/Rank5b/Matrices.lean:57
noncomputable def sel2HEquivKer (hd5 : d % 8 = 5) (hsq : Squarefree d) :
{σ : Unknowns d.primeFactors //
selPair d σ ∈ Sel2 d ∧ σ.b1 = 0 ∧ σ.a0 = dot (yBit d) σ.u} ≃
{w // M1 d *ᵥ w = 0} := by
have hd := odd_of_mod_eight_eq_five hd5
have h5 : (natConfig d hd).prodClass = 5 := by
rw [natConfig_prodClass hd hsq, natCast_zmod8_of_mod hd5]; rfl
have hy : (natConfig d hd).lam = yBit d := funext (natConfig_lam_eq_yBit hd)
refine (Equiv.subtypeEquivRight fun σ => ?_).trans
((Config.hEquivKer _ h5).trans (Equiv.subtypeEquivRight fun w => ?_))
· rw [Config.IsH, prop0 hd5 hsq, hy]
· rw [M1_eq_M1c hd]
ZInQKernel/RouteK/Rank5b/Row5b.lean:108
Uses 3 · Used by 1
The determinant
On a Selmer-minimal curve \(M_1\) has corank one, and \(M_{5b}\) is \(M_1\) bordered by \((0,y)\).
TheoremThe bordered determinant (Lemma 4.2)#✓
Let \(M\) be a symmetric square matrix over \(\mathbb F_2\) of corank one, whose kernel is \(\{0,k\}\) with \(k\ne0\). Then for every vector \(v\), $\(\det\begin{pmatrix}M&v\\ v^{\mathsf T}&0\end{pmatrix}=v\cdot k .\)$
Proof sketch. If \(v\cdot k=0\), the vector \((k,0)\) is a nonzero kernel vector of the bordered matrix, whose determinant is therefore \(0\). If \(v\cdot k=1\), let \((w,t)\) be in the kernel: \(Mw+tv=0\) and \(v\cdot w=0\). Pairing the first equation with \(k\) and using \(k^{\mathsf T}M=(Mk)^{\mathsf T}=0\) gives \(t(v\cdot k)=t=0\); then \(Mw=0\), so \(w\in\{0,k\}\), and \(v\cdot w=0\ne v\cdot k\) forces \(w=0\). The kernel is trivial, so the determinant is the nonzero element \(1\) of \(\mathbb F_2\). (The note's proof uses \(\operatorname{adj}M=kk^{\mathsf T}\) instead.)
theorem det_border_eq_dotProduct [DecidableEq ι] (M : Matrix ι ι (ZMod 2)) (hM : Mᵀ = M) (k : ι → ZMod 2)
(hk0 : k ≠ 0) (hk : M *ᵥ k = 0) (hker : ∀ w, M *ᵥ w = 0 → w = 0 ∨ w = k)
(v : ι → ZMod 2) : (border M v).det = v ⬝ᵥ k
theorem border_mulVec_inl (M : Matrix ι ι (ZMod 2)) (v : ι → ZMod 2) (x : ι ⊕ Unit → ZMod 2)
(i : ι) : (border M v *ᵥ x) (Sum.inl i) = (M *ᵥ (x ∘ Sum.inl)) i + v i * x (Sum.inr ())
theorem border_mulVec_inr (M : Matrix ι ι (ZMod 2)) (v : ι → ZMod 2) (x : ι ⊕ Unit → ZMod 2) :
(border M v *ᵥ x) (Sum.inr ()) = v ⬝ᵥ (x ∘ Sum.inl)
def border {R : Type*} [Zero R] (M : Matrix ι ι R) (v : ι → R) : Matrix (ι ⊕ Unit) (ι ⊕ Unit) R :=
Matrix.fromBlocks M (replicateCol Unit v) (replicateRow Unit v) 0
ZInQKernel/RouteK/Rank5b/Bordered.lean:21
Used by 1
TheoremThe rule of row 5b (Theorem 4.3)#✓
Let \(n>0\) be squarefree with \(n\equiv5\pmod8\) and \(|\mathrm{Sel}_2(C_n)|=8\). Let \((a_0,a_1,b_0,b_1,u,v)\) be a tuple over the primes of \(n\) whose pair \((a,b)\) lies in \(\mathrm{Sel}_2(C_n)\) and which is not one of the four torsion tuples \(\tau_{e,f}\) (the classes of \((-1,-n)^e(n,2)^f\)). Then $\(\det M_{5b}=y\cdot u=\sum_{p\mid a}y_p ,\)$ the parity of the number of primes \(p\equiv3\pmod4\) dividing \(a\).
Proof sketch. By Proposition 0 the tuple solves \(\Sigma(\mathcal C_n)\), which has \(8\) solutions, so by Lemma 4.1 \(|\ker M_1|=2\). Subtracting from the tuple its torsion part \(\tau_{e,f}\) with \((e,f)=(a_0+y\cdot u,\,b_1)\) gives an element \(h\) of \(H\), and \(k=(u_h+v_h,\,u_h)\) is a nonzero element of \(\ker M_1\) (it is nonzero because the tuple is not torsion), so \(\ker M_1=\{0,k\}\). \(M_1\) is symmetric and \(M_{5b}\) is \(M_1\) bordered by \((0,y)\), so Lemma 4.2 gives \(\det M_{5b}=(0,y)\cdot k=y\cdot u_h\). Finally \(u_h=u+f\mathbf 1\) and \(y\cdot\mathbf 1=0\) since \(n\equiv1\pmod4\), so \(y\cdot u_h=y\cdot u\). The proof does this for any configuration of class \(5\) whose system has \(8\) solutions, and specializes to the configuration of \(n\).
theorem det_M5b_eq_dot (hd5 : d % 8 = 5) (hsq : Squarefree d) (h8 : (Sel2 d).ncard = 8)
{σ : Unknowns d.primeFactors} (hσ : selPair d σ ∈ Sel2 d) (hnt : ∀ e f, σ ≠ tors e f) :
(M5b d).det = dot (yBit d) σ.u
theorem det_M5bc_eq (h5 : 𝒞.prodClass = 5) (h8 : 𝒞.sols.card = 8) {σ : Unknowns ι}
(hσ : 𝒞.IsSol σ) (hnt : ∀ e f, σ ≠ tors e f) : (M5bc 𝒞).det = dot 𝒞.lam σ.u
theorem ofKer_zero : ofKer 𝒞 0 = tors 0 0
def Sel2 (d : ℕ) : Set (ℤ × ℤ) :=
{ab | Squarefree ab.1 ∧ Squarefree ab.2 ∧ Loc ℝ d ab.1 ab.2 ∧
∀ (p : ℕ) [Fact p.Prime], Loc ℚ_[p] d ab.1 ab.2}
ZInQKernel/RouteK/Selmer/Covering.lean:346
@[ext]
structure Unknowns (ι : Type*) where
a0 : ZMod 2
a1 : ZMod 2
b0 : ZMod 2
b1 : ZMod 2
u : ι → ZMod 2
v : ι → ZMod 2
ZInQKernel/RouteK/System/Selmer.lean:24
def selPair (d : ℕ) (σ : Unknowns d.primeFactors) : ℤ × ℤ :=
(classInt d σ.a0 σ.a1 σ.u, classInt d σ.b0 σ.b1 σ.v)
ZInQKernel/RouteK/Selmer/Covering.lean:400
def tors {ι : Type*} (e f : ZMod 2) : Unknowns ι := ⟨e, 0, e, f, fun _ => f, fun _ => e⟩
ZInQKernel/RouteK/Rank5b/Kernel.lean:158
noncomputable def M5b (d : ℕ) :
Matrix ((d.primeFactors ⊕ d.primeFactors) ⊕ Unit)
((d.primeFactors ⊕ d.primeFactors) ⊕ Unit) (ZMod 2) :=
border (M1 d) (Sum.elim 0 (yBit d))
ZInQKernel/RouteK/Rank5b/Matrices.lean:74
def dot {ι : Type*} [Fintype ι] (f g : ι → ZMod 2) : ZMod 2 := ∑ x, f x * g x
ZInQKernel/RouteK/System/Selmer.lean:78
noncomputable def yBit (d : ℕ) (i : d.primeFactors) : ZMod 2 := lamBit (i : ℕ)
ZInQKernel/RouteK/Rank5b/Matrices.lean:57
def M5bc : Matrix ((ι ⊕ ι) ⊕ Unit) ((ι ⊕ ι) ⊕ Unit) (ZMod 2) :=
border (M1c 𝒞) (Sum.elim 0 𝒞.lam)
ZInQKernel/RouteK/Rank5b/Matrices.lean:42
def ofKer (w : ι ⊕ ι → ZMod 2) : Unknowns ι :=
⟨dot 𝒞.lam (w ∘ Sum.inr), 0, dot 𝒞.lam (w ∘ Sum.inr), 0, w ∘ Sum.inr,
w ∘ Sum.inl + w ∘ Sum.inr⟩
ZInQKernel/RouteK/Rank5b/Kernel.lean:187
TheoremA first coordinate congruent to 7 forces \(\det M_{5b}=1\) (Corollary 4.4)#✓
Let \(n>0\) be squarefree with \(n\equiv5\pmod8\) and \(|\mathrm{Sel}_2(C_n)|=8\). If some \((a,b)\in\mathrm{Sel}_2(C_n)\) has \(|a|\equiv7\pmod8\), then \(\det M_{5b}=1\).
Proof sketch. Write \((a,b)\) as the pair of a solution of \(\Sigma(\mathcal C_n)\) (Proposition 0). For class \(5\) the solution has \(a_1=0\), so \(|a|=\prod_pp^{u_p}\), and its class modulo \(4\) gives \(y\cdot u=[\,|a|\equiv3\pmod4\,]=1\). The solution is not torsion: the torsion first coordinates have absolute value \(1\) or \(n\), both \(\equiv1\pmod4\). Theorem 4.3 gives \(\det M_{5b}=y\cdot u=1\).
The note states the corollary for a first coordinate with odd part \(\equiv3\pmod4\); the statement here takes the shape \(|a|\equiv7\pmod8\) of the hypothesis CR₃^Sel, a special case.
theorem det_M5b_eq_one (hd5 : d % 8 = 5) (hsq : Squarefree d) (h8 : (Sel2 d).ncard = 8)
{ab : ℤ × ℤ} (hab : ab ∈ Sel2 d) (h7 : ab.1.natAbs % 8 = 7) : (M5b d).det = 1
theorem natAbs_classInt_zero (e₀ : ZMod 2) (w : d.primeFactors → ZMod 2) :
(classInt d e₀ 0 w).natAbs = ∏ p : d.primeFactors, (p : ℕ) ^ (w p).val
theorem lam8_prod_pow (hd : Odd d) (w : d.primeFactors → ZMod 2) :
lam8 ((∏ p : d.primeFactors, (p : ℕ) ^ (w p).val : ℕ) : ZMod 8) = dot (yBit d) w
def Sel2 (d : ℕ) : Set (ℤ × ℤ) :=
{ab | Squarefree ab.1 ∧ Squarefree ab.2 ∧ Loc ℝ d ab.1 ab.2 ∧
∀ (p : ℕ) [Fact p.Prime], Loc ℚ_[p] d ab.1 ab.2}
ZInQKernel/RouteK/Selmer/Covering.lean:346
noncomputable def M5b (d : ℕ) :
Matrix ((d.primeFactors ⊕ d.primeFactors) ⊕ Unit)
((d.primeFactors ⊕ d.primeFactors) ⊕ Unit) (ZMod 2) :=
border (M1 d) (Sum.elim 0 (yBit d))
ZInQKernel/RouteK/Rank5b/Matrices.lean:74
def classInt (d : ℕ) (e₀ e₁ : ZMod 2) (w : d.primeFactors → ZMod 2) : ℤ :=
(-1) ^ e₀.val * 2 ^ e₁.val * ∏ p : d.primeFactors, (p : ℤ) ^ (w p).val
ZInQKernel/RouteK/Selmer/Covering.lean:396
def lam8 (c : ZMod 8) : ZMod 2 := if c = 3 ∨ c = 7 then 1 else 0
ZInQKernel/RouteK/System/Config.lean:22
def dot {ι : Type*} [Fintype ι] (f g : ι → ZMod 2) : ZMod 2 := ∑ x, f x * g x
ZInQKernel/RouteK/System/Selmer.lean:78
noncomputable def yBit (d : ℕ) (i : d.primeFactors) : ZMod 2 := lamBit (i : ℕ)
ZInQKernel/RouteK/Rank5b/Matrices.lean:57
Uses 3 · Used by 3
TheoremTwo values of the row-5b determinant#○
The congruent-number route. This page belongs to the congruent-number route to pole completeness, through Tian–Yuan–Zhang and Gross–Zagier. Elliot's route is the other route to the same theorem. This page's Lean declarations are not on this fork's main (fork issue #77); the route's Lean is kept at the tag route-k-final and pinned upstream in elliotglazer/diophantine-z-q.
For \(n=21=3\cdot7\), \(\det M_{5b}=1\); for \(n=5\), \(\det M_{5b}=0\).
For \(n=21\) this agrees with Corollary 4.4: by the note's computations, which are not part of this statement, \(C_{21}\) has a Selmer group with \(8\) elements and \(7\) is a first coordinate.
Proof sketch. The determinant is unchanged when the primes are relabelled. For \(21\), with the primes listed as \((3,7)\), the bits are \((7/3)_+=0\) and \((3/7)_+=1\), \(y_3=y_7=1\), \(z_3=1\), \(z_7=0\), and the \(5\times5\) determinant over \(\mathbb F_2\) is expanded along rows, a finite computation. For \(5\), \(y_5=0\), so the bordering row of \(M_{5b}\) vanishes.
Uses 1 · Used by 1
Row 5b of Smith's table
Minors of a Laplacian over \(\mathbb F_2\) count forests. With Rédei's \(g\) written through the cofactors of the Laplacian of a block, this turns both \(\det M_{5b}\) and \(T_{5b}(n)\) into the same forest sum.
The hypothesis in row-5b form
DefinitionThe certified rank hypothesis in row-5b form#✓
The hypothesis CR₃^5b is the following assertion. Let \(n>0\) be squarefree with \(n\equiv5\pmod8\). If \(|\mathrm{Sel}_2(C_n)|=8\) and the determinant of Smith's row-5b matrix \(M_{5b}\), built from the Legendre symbols of the primes of \(n\), is \(1\), then for every \((a,b)\in\mathrm{Sel}_2(C_n)\) the 2-covering \(D_{a,b}\) of \(C_n\) has a rational point; that is, every 2-Selmer class of \(C_n\) comes from a rational point.
CR₃^5b is not proved here; it is a hypothesis, used only through CR₃^Sel, which it implies. It follows from the hypothesis CR₃^TYZ in the terms of Tian, Yuan and Zhang (CR₃^TYZ implies CR₃^5b). It rests on the following. The first and the last are theorems here, the middle two are not:
- Row 5b of Smith's table (elementary, reproved in tyz-5b §§2–3 by a forest expansion of determinants and Rédei's formulas for the 4-ranks of class groups; here Theorem 3.6 and Rédei's formula through the agreement of the two genus sums): for squarefree \(n\equiv5\pmod8\), \(\det M_{5b}\) equals the genus sum \(T_{5b}(n)=\sum_{d_0\equiv7,\,d_1\equiv3\,(8)}g(d_0)g(d_1)\mathcal L_1(n/d_0d_1)\) modulo \(2\), where \(g(d)\) is the parity of \(\#2\mathrm{Cl}(\mathbb Q(\sqrt{-d}))\) and \(\mathcal L_1(m)\) is the sum, over the set partitions of the primes of \(m\) into blocks \(B\) with \(d_B\equiv1\pmod8\) (\(d_B\) the product of the primes in \(B\)), of \(\prod_B g(d_B)\).
- Tian–Yuan–Zhang, Theorem 3.5 and the argument of the proof of their Theorem 3.5(2) (§3.3), as completed in nt-tyz §4 (Proposition N): if \(T_{5b}(n)\) is odd, then their invariant \(\mathcal L(n)\) is nonzero, so \(L(C_n,s)\) vanishes to order exactly one at \(s=1\) (the root number is \(-1\) for \(n\equiv5\pmod8\)). The form used is the one their proof gives; it rests on their Proposition 3.4, whose proof is a sketch, and nt-tyz §4 proves it directly. Their statement groups this sum with another (tyz-5b §1.2).
- Gross–Zagier, over an auxiliary imaginary quadratic field \(K\) that satisfies the Heegner hypothesis and has \(L(C_n^K,1)\ne0\) (Bump–Friedberg–Hoffstein): then \(\operatorname{rank}C_n(\mathbb Q)\ge1\).
- Then \(\dim C_n(\mathbb Q)/2C_n(\mathbb Q)=2+\operatorname{rank}C_n(\mathbb Q)\ge3=\dim\mathrm{Sel}_2(C_n)\), so the Kummer map is onto \(\mathrm{Sel}_2(C_n)\) and every Selmer class comes from a rational point (RK9, with Mordell–Weil for \(C_n\)).
Compared with CR₃^Sel, only the 2-adic condition changes: "some Selmer class has \(|a|\equiv7\pmod8\)" becomes "\(\det M_{5b}=1\)", which it implies. So CR₃^5b is logically stronger than CR₃^Sel, but it is stated in the terms of Smith's table, one step closer to Tian, Yuan and Zhang's own statement.
def CertifiedRank5b : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 → (M5b d).det = 1 →
∀ ab ∈ Sel2 d, Loc ℚ d ab.1 ab.2
def Sel2 (d : ℕ) : Set (ℤ × ℤ) :=
{ab | Squarefree ab.1 ∧ Squarefree ab.2 ∧ Loc ℝ d ab.1 ab.2 ∧
∀ (p : ℕ) [Fact p.Prime], Loc ℚ_[p] d ab.1 ab.2}
ZInQKernel/RouteK/Selmer/Covering.lean:346
noncomputable def M5b (d : ℕ) :
Matrix ((d.primeFactors ⊕ d.primeFactors) ⊕ Unit)
((d.primeFactors ⊕ d.primeFactors) ⊕ Unit) (ZMod 2) :=
border (M1 d) (Sum.elim 0 (yBit d))
ZInQKernel/RouteK/Rank5b/Matrices.lean:74
def Loc (K : Type*) [Field K] (d a b : K) : Prop :=
(IsSquare a ∧ IsSquare b) ∨
∃ x : K, IsSquare (x / a) ∧ IsSquare ((x - d) / b) ∧ IsSquare ((x + d) / (a * b))
ZInQKernel/RouteK/Selmer/Covering.lean:89
Sources
Uses 2 · Used by 3
TheoremCR₃^5b implies CR₃^Sel#✓
Assume the certified rank hypothesis in row-5b form CR₃^5b. Then the certified rank hypothesis in Selmer form CR₃^Sel holds: for every squarefree \(n>0\) with \(n\equiv5\pmod8\) and \(|\mathrm{Sel}_2(C_n)|=8\) such that some Selmer class has \(|a|\equiv7\pmod8\), every Selmer class of \(C_n\) comes from a rational point.
Proof sketch. Under the hypotheses of CR₃^Sel, Corollary 4.4 gives \(\det M_{5b}=1\), and CR₃^5b applies.
theorem certifiedRankSel_of_certifiedRank5b (h : CertifiedRank5b) : CertifiedRankSel
def CertifiedRank5b : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 → (M5b d).det = 1 →
∀ ab ∈ Sel2 d, Loc ℚ d ab.1 ab.2
ZInQKernel/RouteK/Rank5b/Row5b.lean:214
def CertifiedRankSel : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 →
(∃ ab ∈ Sel2 d, ab.1.natAbs % 8 = 7) → ∀ ab ∈ Sel2 d, Loc ℚ d ab.1 ab.2
ZInQKernel/RouteK/Selmer/Covering.lean:390
Uses 3 · Used by 2
The hypothesis in Tian–Yuan–Zhang form
CR₃^TYZ is CR₃^5b with the condition \(\det M_{5b}=1\) replaced by \(T_{5b}(n)=1\), where Rédei's \(g\) is written in Legendre symbols; by Theorem 3.6 it implies CR₃^5b. Its form with the class numbers of imaginary quadratic fields is in the Rédei chapter.
DefinitionThe certified rank hypothesis in Tian–Yuan–Zhang form#✓
The hypothesis CR₃^TYZ is the following assertion. Let \(n\) be squarefree with \(n\equiv5\pmod8\). If \(|\mathrm{Sel}_2(C_n)|=8\) and the genus sum \(T_{5b}(n)\) is \(1\), then for every \((a,b)\in\mathrm{Sel}_2(C_n)\) the 2-covering \(D_{a,b}\) of \(C_n\) has a rational point; that is, every 2-Selmer class of \(C_n\) comes from a rational point.
CR₃^TYZ is not proved here; it is a hypothesis. It rests on the following. The second and the last are theorems here, the other two are not:
- Tian–Yuan–Zhang, Theorem 3.5 (first assertion) and the argument of the proof of their Theorem 3.5(2) (§3.3), as completed in nt-tyz §4 (Proposition N): for squarefree \(n\equiv5\pmod8\), if \(\sum_{d_0\equiv7,\,d_1\equiv3\,(8)}g(d_0)g(d_1)\mathcal L_1(n/d_0d_1)\) is odd, then \(L(C_n,s)\) vanishes to order exactly one at \(s=1\) (the root number is \(-1\)). Here \(g(d)\) is the parity of \(\#2\mathrm{Cl}(\mathbb Q(\sqrt{-d}))\) and \(\mathcal L_1(m)\) is the sum of \(\prod g\) over the partitions of the primes of \(m\) into blocks \(\equiv1\pmod8\). Their Theorem 1.2 is not cited in its literal form.
- Rédei's formula: for odd squarefree \(n\) and every nonempty set \(B\) of primes of \(n\) with \(d_B\equiv7,3\) or \(1\pmod8\), \(g_n(B)\) is the parity of \(\#2\mathrm{Cl}(\mathbb Q(\sqrt{-d_B}))\). So \(T_{5b}(n)\) is the genus sum of the previous item. This is a theorem here: Rédei's formula.
- Gross–Zagier, over an auxiliary imaginary quadratic field \(K\) that satisfies the Heegner hypothesis and has \(L(C_n^K,1)\ne0\) (Bump–Friedberg–Hoffstein), for the curve \(C_n\), which is modular because it has complex multiplication by \(\mathbb Z[i]\): analytic rank one gives \(\operatorname{rank}C_n(\mathbb Q)\ge1\).
- Then, as \(C_n(\mathbb Q)[2]\) has order \(4\), \(\dim C_n(\mathbb Q)/2C_n(\mathbb Q)\ge3=\dim\mathrm{Sel}_2(C_n)\), so the Kummer map is onto \(\mathrm{Sel}_2(C_n)\) and every Selmer class comes from a rational point. This is a theorem here: Positive rank and a Selmer group of order eight give every Selmer class (RK9), with Mordell–Weil for the congruent number curves.
CR₃^TYZ differs from the row-5b form only in its last condition: \(\det M_{5b}=1\) becomes \(T_{5b}(n)=1\). By Theorem 3.6 the two conditions coincide for these \(n\), so CR₃^TYZ implies CR₃^5b (CR₃^TYZ implies CR₃^5b). The form of the hypothesis with the class numbers \(\#2\mathrm{Cl}(\mathbb Q(\sqrt{-d_B}))\) in place of \(g_n(B)\) is in the Rédei chapter.
def CertifiedRankTYZ : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 → T5b d = 1 →
∀ ab ∈ Sel2 d, Loc ℚ d ab.1 ab.2
def Sel2 (d : ℕ) : Set (ℤ × ℤ) :=
{ab | Squarefree ab.1 ∧ Squarefree ab.2 ∧ Loc ℝ d ab.1 ab.2 ∧
∀ (p : ℕ) [Fact p.Prime], Loc ℚ_[p] d ab.1 ab.2}
ZInQKernel/RouteK/Selmer/Covering.lean:346
noncomputable def T5b (d : ℕ) : ZMod 2 :=
∑ P : Finpartition (Finset.univ : Finset d.primeFactors),
if Admissible5bNat d P then ∏ B ∈ P.parts, gBit d B else 0
ZInQKernel/RouteK/Rank5b/Sec3/Defs.lean:98
def Loc (K : Type*) [Field K] (d a b : K) : Prop :=
(IsSquare a ∧ IsSquare b) ∨
∃ x : K, IsSquare (x / a) ∧ IsSquare ((x - d) / b) ∧ IsSquare ((x + d) / (a * b))
ZInQKernel/RouteK/Selmer/Covering.lean:89
Sources
TheoremCR₃^TYZ implies CR₃^5b#✓
Assume the certified rank hypothesis in Tian–Yuan–Zhang form CR₃^TYZ. Then the certified rank hypothesis in row-5b form CR₃^5b holds: for every squarefree \(n\equiv5\pmod8\) with \(|\mathrm{Sel}_2(C_n)|=8\) and \(\det M_{5b}=1\), every 2-Selmer class of \(C_n\) comes from a rational point.
Proof sketch. Under the hypotheses of CR₃^5b, Theorem 3.6 gives \(T_{5b}(n)=\det M_{5b}=1\), and CR₃^TYZ applies.
theorem certifiedRank5b_of_certifiedRankTYZ (h : CertifiedRankTYZ) : CertifiedRank5b
def CertifiedRankTYZ : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 → T5b d = 1 →
∀ ab ∈ Sel2 d, Loc ℚ d ab.1 ab.2
ZInQKernel/RouteK/Rank5b/Sec3/TYZ.lean:128
def CertifiedRank5b : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 → (M5b d).det = 1 →
∀ ab ∈ Sel2 d, Loc ℚ d ab.1 ab.2
ZInQKernel/RouteK/Rank5b/Row5b.lean:214
Uses 3 · Used by 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.