Rédei's formula for the 4-rank of class groups
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.
For a set \(B\) of primes of an odd number \(d\), the genus sum \(T_{5b}(d)\) of the row-5b chapter uses Rédei's \(g_d(B)\), a determinant in the residue bits of the primes. Tian, Yuan and Zhang state their criterion for analytic rank one with the genus class numbers \(g(d_B)=|\mathrm{Cl}(\mathbb Q(\sqrt{-d_B}))^2|\) instead, where \(d_B=\prod_{p\in B}p\). This chapter proves Rédei's formula, \(g(d_B)\equiv g_d(B)\pmod2\) for every block of a genus sum. So the certified rank hypothesis stated with Tian, Yuan and Zhang's own class numbers is equivalent to the one stated with Rédei's \(g\).
The proof is genus theory in the ring of integers of \(K=\mathbb Q(\sqrt{-n})\), \(n\) odd and squarefree, with Dirichlet's theorem on primes in progressions in place of the Hasse–Minkowski theorem:
- the classes of the ramified primes fill \(\mathrm{Cl}[2]\);
- the genus characters \(\chi_q([\mathfrak a])=[N\mathfrak a/q]\), one for each prime \(q\mid n\), together take at least \(2^{t-1}\) values;
- counting then gives the principal genus theorem \(\mathrm{Cl}^2=\bigcap_q\ker\chi_q\), and Rédei's theorem: \(g(n)\) is odd if and only if the kernel of the Rédei matrix is spanned by the exponent vector of \((\sqrt{-n})\);
- linear algebra over \(\mathbb F_2\) turns that kernel condition into \(g_d(B)=1\).
Throughout, \(n\ge1\) is an integer and \(K=\mathbb Q(\omega)\) with \(\omega^2=-n\). We write \(\mathcal O\) for its ring of integers, \(\sigma\) for its nontrivial automorphism and \(\mathrm{Cl}\) for the class group of \(\mathcal O\). \(N\) is the absolute norm of elements and ideals, and \([a/p]\in\mathbb F_2\) is the residue bit. The set \(T_n\) of ramified primes, \(t=|T_n|\), and the prime ideals \(\mathfrak p_p\) are defined in the ramified primes.
On notation: the letter \(n\) is reserved for the field \(\mathbb Q(\sqrt{-n})\), while \(d\) is the odd number whose primes carry the bits \(a_{pq}\), \(y_p\), \(z_p\), and \(g_d(B)\) is Rédei's \(g\) of a set \(B\) of its primes. The row-5b chapter writes \(n\) and \(C_n\) for that number; here, as in the Selmer chapter, the congruent number curve is \(C_d\).
The genus class number and Rédei's formula
DefinitionThe genus class number#✓
For a natural number \(n\) let \(\mathbb Q(\sqrt{-n})\) be the quadratic algebra \(\mathbb Q[\omega]/(\omega^2+n)\). For \(n\ge1\) the number \(-n\) is not a square in \(\mathbb Q\), so \(\mathbb Q(\sqrt{-n})\) is a field, and a number field. For \(n\ge1\) let \(\mathrm{Cl}\) be the class group of the ring of integers of \(\mathbb Q(\sqrt{-n})\). The genus class number of \(n\) is $\(g(n)=\bigl|\mathrm{Cl}^2\bigr|,\)$ the order of the subgroup of squares \(\mathrm{Cl}^2=\{c^2:c\in\mathrm{Cl}\}\) of the class group.
This is the number \(g(n)=\#2\mathrm{Cl}(\mathbb Q(\sqrt{-n}))\) of Tian, Yuan and Zhang, who write the class group additively; it is the order of the subgroup of squares, not of the 2-torsion. A finite commutative group has a subgroup of squares of odd order exactly when that subgroup has no element of order \(2\) (when the subgroup of squares has odd order), so \(g(n)\) is odd exactly when no element of order \(2\) of \(\mathrm{Cl}\) is a square, that is, when \(\mathrm{Cl}[2]\cap\mathrm{Cl}^2=1\).
def gCl (n : ℕ) [NeZero n] : ℕ :=
Nat.card (powMonoidHom 2 : ClassGroup (𝓞 (QNeg n)) →* ClassGroup (𝓞 (QNeg n))).range
abbrev QNeg (n : ℕ) : Type := QuadraticAlgebra ℚ (-(n : ℚ)) 0
instance QNeg.factNotIsSquare (n : ℕ) [NeZero n] : Fact (¬ IsSquare (-(n : ℚ))) := by
refine ⟨fun ⟨r, hr⟩ => ?_⟩
have h0 : (0 : ℚ) < n := by exact_mod_cast Nat.pos_of_ne_zero (NeZero.ne n)
nlinarith [mul_self_nonneg r]
abbrev QNeg (n : ℕ) : Type := QuadraticAlgebra ℚ (-(n : ℚ)) 0
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:33
Used by 15
DefinitionThe statement of Rédei's formula#✓
Rédei's formula is the following assertion. Let \(d\) be odd and squarefree, and let \(B\) be a nonempty set of primes of \(d\) whose product \(d_B=\prod_{p\in B}p\) satisfies \(d_B\equiv7\), \(3\) or \(1\pmod8\). Then $\(g(d_B)\equiv g_d(B)\pmod 2,\)$ where \(g(d_B)\) is the genus class number of \(d_B\), the order of the subgroup of squares of the class group of \(\mathbb Q(\sqrt{-d_B})\), and \(g_d(B)\in\mathbb F_2\) is Rédei's \(g\) of \(B\) for the bits \(a_{pq}\), \(y_p\), \(z_p\) of the primes of \(d\): $\(g_d(B)=\sum_{\rho\in B}y_\rho\,\kappa_\rho(B)\ \text{ if }y(B)=1,\qquad g_d(B)=\sum_{\rho\in B}z_\rho\,\kappa_\rho(B)\ \text{ if }y(B)=0.\)$
The blocks allowed include every block that occurs in the genus sum \(T_{5b}(d)\): the blocks of a set partition are nonempty, and the partitions counted by the genus sum have only blocks with \(d_B\equiv7\), \(3\) or \(1\pmod8\). Blocks with \(d_B\equiv5\pmod8\) never occur. The empty set is excluded because \(g(1)=1\) (the class group of \(\mathbb Q(i)\) is classically trivial), while Rédei's \(g\) of the empty set is \(0\).
def RedeiFormula : Prop :=
∀ d : ℕ, Odd d → Squarefree d → ∀ B : Finset d.primeFactors, B.Nonempty →
(dProd B % 8 = 7 ∨ dProd B % 8 = 3 ∨ dProd B % 8 = 1) →
((gCl (dProd B) : ℕ) : ZMod 2) = gBit d B
def dProd {d : ℕ} (B : Finset d.primeFactors) : ℕ := ∏ p ∈ B, (p : ℕ)
ZInQKernel/RouteK/Rank5b/Sec3/Defs.lean:81
def gCl (n : ℕ) [NeZero n] : ℕ :=
Nat.card (powMonoidHom 2 : ClassGroup (𝓞 (QNeg n)) →* ClassGroup (𝓞 (QNeg n))).range
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:49
noncomputable def gBit (d : ℕ) (B : Finset d.primeFactors) : ZMod 2 :=
redeiG (aBit d) (yBit d) (zBit d) B
ZInQKernel/RouteK/Rank5b/Sec3/Defs.lean:77
Uses 3 · Used by 4
TheoremRédei's formula#✓
Rédei's formula holds. Let \(d\) be odd and squarefree, and let \(B\) be a nonempty set of primes of \(d\) with \(d_B=\prod_{p\in B}p\equiv7\), \(3\) or \(1\pmod8\). Then $\(g(d_B)\equiv g_d(B)\pmod 2:\)$ the parity of the order of the subgroup of squares of the class group of \(\mathbb Q(\sqrt{-d_B})\) is Rédei's \(g\) of \(B\), computed from the residue bits of the primes of \(d\).
Proof sketch. Rédei's theorem on the 4-rank proves the 4-rank statement: for odd squarefree \(n>1\), \(g(n)\) is odd if and only if the kernel of the Rédei matrix of \(n\) is \(\{0,e_n\}\). From the 4-rank statement, \(g(d_B)\equiv g_d(B)\pmod2\) follows for every odd \(d\) and every nonempty set \(B\) of primes of \(d\). The number \(d_B\) is odd, squarefree and greater than \(1\), and its primes are the elements of \(B\). The Rédei matrix of \(d_B\) is the Laplacian \(L_B\) of the bits of \(d\), bordered by the column \(z_B\) exactly when \(y(B)=0\). Its kernel is \(\{0,e_{d_B}\}\) if and only if the kernel of \((L_B\mid z_B)\) is trivial, and that holds if and only if \(g_d(B)=1\). The argument uses neither the squarefreeness of \(d\) nor the congruence of \(d_B\) modulo \(8\).
theorem redeiFormula : RedeiFormula
def RedeiFormula : Prop :=
∀ d : ℕ, Odd d → Squarefree d → ∀ B : Finset d.primeFactors, B.Nonempty →
(dProd B % 8 = 7 ∨ dProd B % 8 = 3 ∨ dProd B % 8 = 1) →
((gCl (dProd B) : ℕ) : ZMod 2) = gBit d B
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:74
Uses 3 · Used by 3
The Rédei matrix
DefinitionThe Rédei matrix#✓
Let \(n\) be a natural number and \(T_n\) its set of ramified primes: the primes of \(n\), together with \(2\) unless \(n\equiv3\pmod4\). The Rédei matrix \(R\) of \(n\) is the matrix over \(\mathbb F_2\) with rows indexed by the primes \(q\mid n\) and columns by \(T_n\), with entries $\(R_{q2}=[2/q],\qquad R_{qq}=\Bigl[\frac{n/q}{q}\Bigr]\quad(q\ne2),\qquad R_{qp}=[p/q]\quad(p\ne q,\ p\ne2),\)$ where \([a/q]\in\mathbb F_2\) is the residue bit. A vector \(e\in\mathbb F_2^{T_n}\) is killed by \(R\) when \(\sum_{p\in T_n}R_{qp}e_p=0\) for every prime \(q\mid n\).
For odd squarefree \(n\), \(R\) is the matrix of the genus characters on the ambiguous classes: \(\chi_q(\psi(e))=\sum_{p\in T_n}R_{qp}e_p\) (the genus characters on the ambiguous classes).
def redeiEntry (n : ℕ) (q : n.primeFactors) (p : ramSet n) : ZMod 2 :=
if (p : ℕ) = 2 then legBit q 2
else if (p : ℕ) = q then legBit q ((n / q : ℕ) : ℤ) else legBit q (p : ℤ)
def ramSet : Finset ℕ := if n % 4 = 3 then n.primeFactors else insert 2 n.primeFactors
ZInQKernel/RouteK/Redei/Primes.lean:335
noncomputable def legBit (p : ℕ) (a : ℤ) : ZMod 2 := if IsSquare (a : ZMod p) then 0 else 1
ZInQKernel/RouteK/Slots/Symbols.lean:17
The field and its primes
The field \(\mathbb Q(\sqrt{-n})\), its conjugation and norms, and the splitting of rational primes, decided by norms of ideals and residue fields without an explicit integral basis.
Ambiguous classes and genus characters
The 4-rank
From the Rédei matrix to Rédei's bits
Consequences for the certified rank hypothesis
By Rédei's formula, the genus sum of class numbers equals the genus sum of Rédei bits, so the class-number form CR₃^TYZ_Cl of the certified rank hypothesis is equivalent to CR₃^TYZ.
DefinitionThe genus sum of class numbers#✓
For a natural number \(d\) and a set \(B\) of primes of \(d\), the product \(d_B=\prod_{p\in B}p\) is a positive integer, so its genus class number \(g(d_B)\) is defined. The genus sum of class numbers of row 5b is $\(T^{\rm Cl}_{5b}(d)=\sum_{\pi}\prod_{B\in\pi}g(d_B)\pmod 2,\)$ the sum over the set partitions \(\pi\) of the primes of \(d\) with exactly one block \(B\) having \(d_B\equiv7\pmod8\), exactly one having \(d_B\equiv3\pmod8\), and every block having \(d_B\equiv7\), \(3\) or \(1\pmod8\). These are the set partitions of the genus sum \(T_{5b}(d)\); the sum \(T^{\rm Cl}_{5b}(d)\) has Tian, Yuan and Zhang's genus class numbers \(g(d_B)\) in place of Rédei's \(g_d(B)\).
def T5bCl (d : ℕ) : ZMod 2 :=
∑ P : Finpartition (Finset.univ : Finset d.primeFactors),
if Admissible5bNat d P then ∏ B ∈ P.parts, ((gCl (dProd B) : ℕ) : ZMod 2) else 0
instance neZero_dProd {d : ℕ} (B : Finset d.primeFactors) : NeZero (dProd B) :=
⟨Finset.prod_ne_zero_iff.mpr fun p _ => (Nat.prime_of_mem_primeFactors p.2).ne_zero⟩
def Admissible5bNat (d : ℕ) (P : Finpartition (Finset.univ : Finset d.primeFactors)) : Prop :=
(P.parts.filter fun B => dProd B % 8 = 7).card = 1 ∧
(P.parts.filter fun B => dProd B % 8 = 3).card = 1 ∧
∀ B ∈ P.parts, dProd B % 8 = 7 ∨ dProd B % 8 = 3 ∨ dProd B % 8 = 1
ZInQKernel/RouteK/Rank5b/Sec3/Defs.lean:85
def gCl (n : ℕ) [NeZero n] : ℕ :=
Nat.card (powMonoidHom 2 : ClassGroup (𝓞 (QNeg n)) →* ClassGroup (𝓞 (QNeg n))).range
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:49
def dProd {d : ℕ} (B : Finset d.primeFactors) : ℕ := ∏ p ∈ B, (p : ℕ)
ZInQKernel/RouteK/Rank5b/Sec3/Defs.lean:81
Uses 2 · Used by 8
DefinitionThe certified rank hypothesis with class numbers#✓
The hypothesis CR₃^TYZ_Cl is the following assertion. Let \(d\) be squarefree with \(d\equiv5\pmod8\). If \(|\mathrm{Sel}_2(C_d)|=8\) and the genus sum of class numbers \(T^{\rm Cl}_{5b}(d)\) is \(1\), then for every \((a,b)\in\mathrm{Sel}_2(C_d)\) the 2-covering \(D_{a,b}\) of \(C_d\) has a rational point; that is, every 2-Selmer class of \(C_d\) comes from a rational point.
CR₃^TYZ_Cl is not proved here; it is a hypothesis, stated in Tian, Yuan and Zhang's own terms, with their genus class numbers \(g(d_B)\), so that no Rédei formula enters its justification. It rests on the following:
- 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): for squarefree \(d\equiv5\pmod8\), if the genus sum \(\sum_{d_0\equiv7,\,d_1\equiv3\,(8)}g(d_0)g(d_1)\mathcal L_1(d/d_0d_1)\), which is \(T^{\rm Cl}_{5b}(d)\) modulo \(2\), is odd, then \(L(C_d,s)\) vanishes to order exactly one at \(s=1\). Here \(\mathcal L_1(m)\) is the sum, over the set partitions of the primes of \(m\) into blocks \(B\) with \(d_B\equiv1\pmod8\), of \(\prod_B g(d_B)\).
- Gross–Zagier, over an auxiliary imaginary quadratic field satisfying the Heegner hypothesis with \(L(C_d^K,1)\ne0\): analytic rank one gives \(\operatorname{rank}C_d(\mathbb Q)\ge1\).
- The step from positive rank to every Selmer class: when \(|\mathrm{Sel}_2(C_d)|=8\) and \(C_d\) has a rational point of infinite order, every 2-Selmer class of \(C_d\) comes from a rational point. This step is proved (positive rank and a Selmer group of order eight give every Selmer class), with Mordell–Weil for the congruent number curves.
By Rédei's formula, CR₃^TYZ_Cl is equivalent to the hypothesis CR₃^TYZ stated with Rédei's \(g\) (CR₃ with class numbers is CR₃^TYZ).
def CertifiedRankTYZCl : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 → T5bCl 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
def T5bCl (d : ℕ) : ZMod 2 :=
∑ P : Finpartition (Finset.univ : Finset d.primeFactors),
if Admissible5bNat d P then ∏ B ∈ P.parts, ((gCl (dProd B) : ℕ) : ZMod 2) else 0
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:55
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 3 · Used by 3
TheoremThe genus sum of class numbers is the genus sum of Rédei bits#✓
Let \(d\) be odd and squarefree. Then $\(T^{\rm Cl}_{5b}(d)=T_{5b}(d):\)$ the genus sum of row 5b with the genus class numbers \(g(d_B)\) equals the genus sum with Rédei's \(g_d(B)\). Along the way, the same identity is proved for every odd squarefree \(d\) from Rédei's formula taken as an assumption.
Proof sketch. Both sums run over the same set partitions of the primes of \(d\). Every block \(B\) of such a partition is nonempty and has \(d_B\equiv7\), \(3\) or \(1\pmod8\), so Rédei's formula, taken as an assumption, gives \(g(d_B)\equiv g_d(B)\pmod2\) factor by factor, and the two sums agree term by term. By Rédei's formula, its hypothesis holds, so \(T^{\rm Cl}_{5b}(d)=T_{5b}(d)\) for every odd squarefree \(d\).
theorem T5bCl_eq_T5b' {d : ℕ} (hd : Odd d) (hsq : Squarefree d) : T5bCl d = T5b d
theorem T5bCl_eq_T5b (hR : RedeiFormula) {d : ℕ} (hd : Odd d) (hsq : Squarefree d) :
T5bCl d = T5b d
def T5bCl (d : ℕ) : ZMod 2 :=
∑ P : Finpartition (Finset.univ : Finset d.primeFactors),
if Admissible5bNat d P then ∏ B ∈ P.parts, ((gCl (dProd B) : ℕ) : ZMod 2) else 0
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:55
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 RedeiFormula : Prop :=
∀ d : ℕ, Odd d → Squarefree d → ∀ B : Finset d.primeFactors, B.Nonempty →
(dProd B % 8 = 7 ∨ dProd B % 8 = 3 ∨ dProd B % 8 = 1) →
((gCl (dProd B) : ℕ) : ZMod 2) = gBit d B
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:74
Uses 4 · Used by 2
TheoremCR₃ with class numbers is CR₃^TYZ#✓
The hypothesis CR₃^TYZ_Cl, stated with Tian, Yuan and Zhang's genus class numbers \(g(d_B)\), holds if and only if the hypothesis CR₃^TYZ, stated with Rédei's \(g_d(B)\), holds. Along the way, the same equivalence is proved from Rédei's formula taken as an assumption, and from the 4-rank statement taken as an assumption.
Proof sketch. The two hypotheses have the same premises and conclusion except for their genus sums: CR₃^TYZ_Cl asks \(T^{\rm Cl}_{5b}(d)=1\) where CR₃^TYZ asks \(T_{5b}(d)=1\), for squarefree \(d\equiv5\pmod8\). Such \(d\) is odd, so under Rédei's formula the two genus sums agree, and the two hypotheses are equivalent. The 4-rank statement implies Rédei's formula, which gives the second conditional form. Since Rédei's formula holds, the two hypotheses are equivalent.
theorem certifiedRankTYZ_iff' : CertifiedRankTYZCl ↔ CertifiedRankTYZ
theorem certifiedRankTYZ_iff_of_redeiFormula (hR : RedeiFormula) :
CertifiedRankTYZCl ↔ CertifiedRankTYZ
theorem certifiedRankTYZ_iff_of_oddGClStatement (h : OddGClStatement) :
CertifiedRankTYZCl ↔ CertifiedRankTYZ
def CertifiedRankTYZCl : Prop :=
∀ d : ℕ, d % 8 = 5 → Squarefree d → (Sel2 d).ncard = 8 → T5bCl d = 1 →
∀ ab ∈ Sel2 d, Loc ℚ d ab.1 ab.2
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:99
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 RedeiFormula : Prop :=
∀ d : ℕ, Odd d → Squarefree d → ∀ B : Finset d.primeFactors, B.Nonempty →
(dProd B % 8 = 7 ∨ dProd B % 8 = 3 ∨ dProd B % 8 = 1) →
((gCl (dProd B) : ℕ) : ZMod 2) = gBit d B
ZInQKernel/RouteK/Rank5b/Sec3/RedeiStatement.lean:74
def OddGClStatement : Prop :=
∀ (n : ℕ) [NeZero n], Odd n → Squarefree n → 1 < n →
(Odd (gCl n) ↔ ∀ e : ramSet n → ZMod 2, (∀ q, ∑ p, redeiEntry n q p * e p = 0) →
e = 0 ∨ e = fun p : ramSet n => if (p : ℕ) ∈ n.primeFactors then (1 : ZMod 2) else 0)
ZInQKernel/RouteK/Redei/Bridge.lean:39
Uses 7 · Used by 1
The same comparison of genus sums shows that the positive-rank form of CR₃^TYZ_Cl implies the positive-rank form of CR₃^TYZ; that implication is stated in the positive-rank chapter (CR₃^TYZ_Cl,Rk implies CR₃^TYZ,Rk).
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.