Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import Mathlib |
| 2 | |
| 3 | /-! # Central Constraint -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.CentralConstraint.Construction |
| 6 | |
| 7 | /-! |
| 8 | # CentralConstraint: the central constraint, conditional on the supplied inputs |
| 9 | |
| 10 | The target already has native algebraic hypotheses. `hprojective` is the |
| 11 | instantiated SphericalAction conclusion, `hcentral` is the H¹ part of CentralAction, `hT₃` |
| 12 | is the central Satake identity from GL3, and `hT₁`, `hT₂` are CosetCalculus. |
| 13 | `he_alg` is the algebraicity input identified in the target formulation. |
| 14 | RationalStructure's rational-descent statement alone does not assert algebraicity of e; |
| 15 | in the manuscript this also uses rational finite-dimensional cohomology. |
| 16 | We retain this original, explicit hypothesis rather than claiming that |
| 17 | rational descent alone proves it. No geometric realization is asserted. |
| 18 | |
| 19 | `CommutingInput` is the complete proposition of Commuting, instantiated at the given |
| 20 | commuting family (including triangularization, finiteness and direct sum). |
| 21 | Only its polynomial-identity consequence is needed here. The proof does |
| 22 | not import any statement theorem or use a project placeholder as a fact. |
| 23 | |
| 24 | For inverse-coset action the Satake parameters must be inverted along with |
| 25 | the acting convention. `projective_parameter_under_inversion` proves the |
| 26 | required permutation and changes e to e⁻¹; the main theorem then applies |
| 27 | to the correspondingly oriented raw operators and character. |
| 28 | -/ |
| 29 | |
| 30 | theorem projective_parameter_under_inversion |
| 31 | {K : Type*} [Field K] (r e : K) (α : Fin 3 → K) |
| 32 | (hprojective : ∃ a : K, a ≠ 0 ∧ ∃ σ : Equiv.Perm (Fin 3), |
| 33 | ∀ i, α i = a * (![r, r⁻¹, e] : Fin 3 → K) (σ i)) : |
| 34 | ∃ a : K, a ≠ 0 ∧ ∃ σ : Equiv.Perm (Fin 3), |
| 35 | ∀ i, (α i)⁻¹ = a * (![r, r⁻¹, e⁻¹] : Fin 3 → K) (σ i) := by |
| 36 | classical |
| 37 | obtain ⟨a, ha, σ, hα⟩ := hprojective |
| 38 | let τ : Equiv.Perm (Fin 3) := Equiv.swap 0 1 |
| 39 | have hswap (j : Fin 3) : |
| 40 | ((![r, r⁻¹, e] : Fin 3 → K) j)⁻¹ = |
| 41 | (![r, r⁻¹, e⁻¹] : Fin 3 → K) (τ j) := by |
| 42 | fin_cases j <;> norm_num [τ, Equiv.swap_apply_def] |
| 43 | refine ⟨a⁻¹, inv_ne_zero ha, σ.trans τ, ?_⟩ |
| 44 | intro i |
| 45 | rw [hα i, mul_inv_rev, hswap] |
| 46 | simp [Equiv.trans_apply, mul_comm] |
| 47 | |
| 48 | def CommutingInput {K V ι : Type*} |
| 49 | [Field K] [AddCommGroup V] [Module K V] [FiniteDimensional K V] |
| 50 | (T : ι → Module.End K V) : Prop := |
| 51 | (∀ i j, Commute (T i) (T j)) → |
| 52 | ∃ ev : MvPolynomial ι K →ₐ[K] Module.End K V, |
| 53 | (∀ i, ev (MvPolynomial.X i) = T i) ∧ |
| 54 | (∃ b : Module.Basis (Fin (Module.finrank K V)) K V, |
| 55 | ∀ i (r c : Fin (Module.finrank K V)), |
| 56 | c < r → b.repr (T i (b c)) r = 0) ∧ |
| 57 | Set.Finite {χ : ι → K | (⨅ i, (T i).genEigenspace (χ i) ⊤) ≠ ⊥} ∧ |
| 58 | iSupIndep (fun χ : ι → K => ⨅ i, (T i).genEigenspace (χ i) ⊤) ∧ |
| 59 | (⨆ χ : ι → K, ⨅ i, (T i).genEigenspace (χ i) ⊤) = ⊤ ∧ |
| 60 | (∀ (χ : ι → K) (p : MvPolynomial ι K), |
| 61 | (⨅ i, (T i).genEigenspace (χ i) ⊤) ≠ ⊥ → |
| 62 | ev p = 0 → MvPolynomial.eval χ p = 0) |
| 63 | |
| 64 | theorem eigencharacter_power_of_Commuting |
| 65 | {K H V : Type*} [Field K] [CommRing H] [Algebra K H] |
| 66 | [AddCommGroup V] [Module K V] [FiniteDimensional K V] |
| 67 | (ρ : H →ₐ[K] Module.End K V) (χ : H →ₐ[K] K) |
| 68 | (hCommuting : CommutingInput (fun h : H => ρ h)) |
| 69 | (hoccurs : (⨅ h : H, (ρ h).genEigenspace (χ h) ⊤) ≠ ⊥) |
| 70 | (h : H) (N : ℕ) (hpow : (ρ h) ^ N = 1) : |
| 71 | (χ h) ^ N = 1 := by |
| 72 | have hcomm (i j : H) : Commute (ρ i) (ρ j) := by |
| 73 | show ρ i * ρ j = ρ j * ρ i |
| 74 | rw [← map_mul, ← map_mul, mul_comm i j] |
| 75 | obtain ⟨ev, hev, _, _, _, _, hpoly⟩ := hCommuting hcomm |
| 76 | have hz := hpoly χ (MvPolynomial.X h ^ N - 1) hoccurs (by |
| 77 | simp only [map_sub, map_pow, map_one, hev, hpow, sub_self]) |
| 78 | simpa [sub_eq_zero] using hz |
| 79 | |
| 80 | theorem symmetric_triple_permutation |
| 81 | {K : Type*} [Field K] [CharZero K] |
| 82 | (u : Fin 3 → K) (σ : Equiv.Perm (Fin 3)) : |
| 83 | (u (σ 0) + u (σ 1) + u (σ 2) = u 0 + u 1 + u 2) ∧ |
| 84 | (u (σ 0) * u (σ 1) + u (σ 0) * u (σ 2) + u (σ 1) * u (σ 2) = |
| 85 | u 0 * u 1 + u 0 * u 2 + u 1 * u 2) ∧ |
| 86 | (u (σ 0) * u (σ 1) * u (σ 2) = u 0 * u 1 * u 2) := by |
| 87 | have hsum := Equiv.sum_comp σ u |
| 88 | have hprod := Equiv.prod_comp σ u |
| 89 | have hsquares := Equiv.sum_comp σ (fun i => u i ^ 2) |
| 90 | simp only [Fin.sum_univ_succ, Fin.prod_univ_succ, Fin.sum_univ_zero, |
| 91 | Fin.prod_univ_zero, Fin.succ_zero_eq_one, Fin.succ_one_eq_two, |
| 92 | add_zero, mul_one] at hsum hprod hsquares |
| 93 | refine ⟨by simpa [add_assoc] using hsum, ?_, by simpa [mul_assoc] using hprod⟩ |
| 94 | apply mul_left_cancel₀ (by norm_num : (2 : K) ≠ 0) |
| 95 | linear_combination |
| 96 | (u (σ 0) + u (σ 1) + u (σ 2) + (u 0 + u 1 + u 2)) * hsum - hsquares |
| 97 | |
| 98 | /-- Central constraint for any occurring full Satake extension. -/ |
| 99 | theorem central_constraint_on_full_satake_extensions |
| 100 | {K H V : Type*} |
| 101 | [Field K] [CharZero K] [Algebra ℚ K] [IsAlgClosed K] |
| 102 | [CommRing H] [Algebra K H] |
| 103 | [AddCommGroup V] [Module K V] [FiniteDimensional K V] |
| 104 | (ρ : H →ₐ[K] Module.End K V) |
| 105 | (χ : H →ₐ[K] K) |
| 106 | (hCommuting : CommutingInput (fun h : H => ρ h)) |
| 107 | (q : ℕ) (hq : q.Prime) |
| 108 | (r e : K) |
| 109 | (hr : r ^ 2 = (q : K)) |
| 110 | (he : e ≠ 0) |
| 111 | (he_alg : IsAlgebraic ℚ e) |
| 112 | (T₁ T₂ T₃ C₀ : H) |
| 113 | (α : Fin 3 → K) |
| 114 | |
| 115 | -- χ occurs in a nonzero simultaneous generalized eigenspace |
| 116 | -- of the full H¹ action. |
| 117 | (hoccurs : |
| 118 | (⨅ h : H, (ρ h).genEigenspace (χ h) ⊤) ≠ ⊥) |
| 119 | |
| 120 | -- CentralAction: finite order on the entire cohomology space. |
| 121 | (hcentral : |
| 122 | ∃ N : ℕ, 0 < N ∧ |
| 123 | (ρ T₃) ^ N = 1 ∧ (ρ C₀) ^ N = 1) |
| 124 | |
| 125 | -- α is the active triple before absorbing χ(C₀). |
| 126 | -- These are the normalized Satake identities. |
| 127 | (hT₁ : |
| 128 | χ T₁ = (q : K) * (α 0 + α 1 + α 2)) |
| 129 | (hT₂ : |
| 130 | χ T₂ = (q : K) * |
| 131 | (α 0 * α 1 + α 0 * α 2 + α 1 * α 2)) |
| 132 | (hT₃ : |
| 133 | χ T₃ = α 0 * α 1 * α 2) |
| 134 | |
| 135 | -- The projective parameter supplied by SphericalAction, |
| 136 | -- retaining multiplicities and allowing permutation. |
| 137 | (hprojective : |
| 138 | ∃ a : K, a ≠ 0 ∧ |
| 139 | ∃ σ : Equiv.Perm (Fin 3), |
| 140 | ∀ i, α i = a * (![r, r⁻¹, e] : Fin 3 → K) (σ i)) : |
| 141 | |
| 142 | ∃ b : K, ∃ σ : Equiv.Perm (Fin 3), |
| 143 | b ≠ 0 ∧ |
| 144 | IsAlgebraic ℚ b ∧ |
| 145 | (∀ i, IsAlgebraic ℚ (α i)) ∧ |
| 146 | |
| 147 | -- Absorption of the C₀ eigenvalue. |
| 148 | (∀ i, |
| 149 | χ C₀ * α i = |
| 150 | b * (![r, r⁻¹, e] : Fin 3 → K) (σ i)) ∧ |
| 151 | |
| 152 | -- The determinant is controlled by the two central actions. |
| 153 | b ^ 3 * e = (χ C₀) ^ 3 * χ T₃ ∧ |
| 154 | (∃ n : ℕ, 0 < n ∧ |
| 155 | (b ^ 3 * e) ^ n = 1 ∧ |
| 156 | ∀ γ : K ≃ₐ[ℚ] K, |
| 157 | ((γ b) ^ 3 * γ e) ^ n = 1) ∧ |
| 158 | |
| 159 | -- Minuscule eigenvalues after absorption. |
| 160 | χ (C₀ * T₁) = |
| 161 | (q : K) * b * (r + r⁻¹ + e) ∧ |
| 162 | χ (C₀ ^ 2 * T₂) = |
| 163 | (q : K) * b ^ 2 * |
| 164 | (r * r⁻¹ + r * e + r⁻¹ * e) := by |
| 165 | classical |
| 166 | obtain ⟨N, hN, hTN, hCN⟩ := hcentral |
| 167 | have hTNχ := eigencharacter_power_of_Commuting ρ χ hCommuting hoccurs T₃ N hTN |
| 168 | have hCNχ := eigencharacter_power_of_Commuting ρ χ hCommuting hoccurs C₀ N hCN |
| 169 | have hCne : χ C₀ ≠ 0 := by |
| 170 | intro hzero |
| 171 | simp [hzero, ne_of_gt hN] at hCNχ |
| 172 | have hTalg : IsAlgebraic ℚ (χ T₃) := |
| 173 | IsAlgebraic.of_pow hN (by rw [hTNχ]; exact isAlgebraic_one) |
| 174 | have hCalg : IsAlgebraic ℚ (χ C₀) := |
| 175 | IsAlgebraic.of_pow hN (by rw [hCNχ]; exact isAlgebraic_one) |
| 176 | have hrne : r ≠ 0 := by |
| 177 | intro hzero |
| 178 | have hz : (q : K) = 0 := by simpa [hzero] using hr.symm |
| 179 | exact hq.ne_zero (Nat.cast_eq_zero.mp hz) |
| 180 | have hralg : IsAlgebraic ℚ r := |
| 181 | IsAlgebraic.of_pow (by decide : 0 < 2) |
| 182 | (by rw [hr]; exact isAlgebraic_natCast q) |
| 183 | obtain ⟨a, hane, σ, hα⟩ := hprojective |
| 184 | let u : Fin 3 → K := ![r, r⁻¹, e] |
| 185 | have hu_alg (i : Fin 3) : IsAlgebraic ℚ (u i) := by |
| 186 | fin_cases i |
| 187 | · exact hralg |
| 188 | · exact hralg.inv |
| 189 | · exact he_alg |
| 190 | obtain ⟨hsum, hpair, hprod⟩ := symmetric_triple_permutation u σ |
| 191 | have hαsum : α 0 + α 1 + α 2 = a * (r + r⁻¹ + e) := by |
| 192 | calc |
| 193 | _ = a * (u (σ 0) + u (σ 1) + u (σ 2)) := by |
| 194 | simp only [hα]; dsimp [u]; ring |
| 195 | _ = _ := by rw [hsum]; rfl |
| 196 | have hαpair : α 0 * α 1 + α 0 * α 2 + α 1 * α 2 = |
| 197 | a ^ 2 * (r * r⁻¹ + r * e + r⁻¹ * e) := by |
| 198 | calc |
| 199 | _ = a ^ 2 * (u (σ 0) * u (σ 1) + u (σ 0) * u (σ 2) + |
| 200 | u (σ 1) * u (σ 2)) := by |
| 201 | simp only [hα]; dsimp [u]; ring |
| 202 | _ = _ := by rw [hpair]; rfl |
| 203 | have hαprod : α 0 * α 1 * α 2 = a ^ 3 * e := by |
| 204 | calc |
| 205 | _ = a ^ 3 * (u (σ 0) * u (σ 1) * u (σ 2)) := by |
| 206 | simp only [hα]; dsimp [u]; ring |
| 207 | _ = _ := by rw [hprod]; simp [u, hrne] |
| 208 | have hdet : χ T₃ = a ^ 3 * e := hT₃.trans hαprod |
| 209 | have ha_alg : IsAlgebraic ℚ a := by |
| 210 | apply IsAlgebraic.of_pow (by decide : 0 < 3) |
| 211 | have hz := hTalg.mul he_alg.inv |
| 212 | simp only [← div_eq_mul_inv] at hz |
| 213 | simpa [hdet, he] using hz |
| 214 | let b : K := χ C₀ * a |
| 215 | have hbdet : b ^ 3 * e = (χ C₀) ^ 3 * χ T₃ := by |
| 216 | rw [hdet]; dsimp [b]; ring |
| 217 | have hbN : (b ^ 3 * e) ^ N = 1 := by |
| 218 | rw [hbdet, mul_pow, ← pow_mul, Nat.mul_comm 3 N, pow_mul, hCNχ, hTNχ] |
| 219 | simp |
| 220 | refine ⟨b, σ, mul_ne_zero hCne hane, hCalg.mul ha_alg, ?_, ?_, hbdet, |
| 221 | ⟨N, hN, hbN, ?_⟩, ?_, ?_⟩ |
| 222 | · intro i |
| 223 | rw [hα i] |
| 224 | exact ha_alg.mul (hu_alg (σ i)) |
| 225 | · intro i |
| 226 | rw [hα i] |
| 227 | dsimp [b] |
| 228 | ring |
| 229 | · intro γ |
| 230 | have hz := congrArg γ hbN |
| 231 | simpa only [map_pow, map_mul, map_one] using hz |
| 232 | · rw [map_mul, hT₁, hαsum] |
| 233 | dsimp [b] |
| 234 | ring |
| 235 | · rw [map_mul, map_pow, hT₂, hαpair] |
| 236 | dsimp [b] |
| 237 | ring |
| 238 | |
| 239 | end OAI.RepresentationTheory.Hecke.CentralConstraint.Construction |