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.Algebra.Ring.Commute |
| 2 | import Mathlib.Analysis.Complex.Basic |
| 3 | import Mathlib.Tactic.NoncommRing |
| 4 | import Mathlib.Tactic.Linarith |
| 5 | import Mathlib.Tactic.FieldSimp |
| 6 | import Mathlib.Tactic.Ring |
| 7 | |
| 8 | /-! # Hecke Polynomial -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HeckePolynomial.CM |
| 11 | |
| 12 | /-! |
| 13 | # Algebraic steps in the manuscript's Hecke calculation |
| 14 | |
| 15 | These are proofs of the algebraic deductions in equations (7)--(9). |
| 16 | The actual ordinary-reduction identities and the Satake description must |
| 17 | still be established for the geometric operators. None is asserted here |
| 18 | as a known background result. |
| 19 | -/ |
| 20 | |
| 21 | /-- The cancellation after equation (8) works in an endomorphism ring. |
| 22 | Only commutation of Frobenius with the two ordinary point operators is |
| 23 | needed; the point operators need not commute with one another. -/ |
| 24 | theorem ordinary_hecke_polynomial_cancellation {R : Type*} [Ring R] |
| 25 | (q : ℕ) (X Y Z : R) (hXY : Commute X Y) (hXZ : Commute X Z) : |
| 26 | X ^ 3 - (X + q • Y) * X ^ 2 + q • ((X * Y + q ^ 2 • Z) * X) - |
| 27 | q ^ 3 • (X * Z) = 0 := by |
| 28 | have hYX : Y * X = X * Y := hXY.eq.symm |
| 29 | have hZX : Z * X = X * Z := hXZ.eq.symm |
| 30 | simp only [pow_succ, pow_zero, one_mul, add_mul, smul_mul_assoc, smul_add, |
| 31 | smul_smul, ← mul_assoc, hYX, hZX] |
| 32 | abel |
| 33 | |
| 34 | /-- Insert the three ordinary-neighbor identities into the cubic. The |
| 35 | hypotheses are data still to be proved on the geometric point operators. -/ |
| 36 | theorem ordinary_hecke_polynomial_of_neighbors {R : Type*} [Ring R] |
| 37 | (q : ℕ) (X Y Z A B C : R) (hXY : Commute X Y) (hXZ : Commute X Z) |
| 38 | (hA : A = X + q • Y) (hB : B = X * Y + q ^ 2 • Z) (hC : C = X * Z) : |
| 39 | X ^ 3 - A * X ^ 2 + q • (B * X) - q ^ 3 • C = 0 := by |
| 40 | rw [hA, hB, hC] |
| 41 | exact ordinary_hecke_polynomial_cancellation q X Y Z hXY hXZ |
| 42 | |
| 43 | /-- Elementary-symmetric coefficients give the three candidate roots. |
| 44 | This purely algebraic identity is the factorization used after Satake. -/ |
| 45 | theorem hecke_cubic_factorization {R : Type*} [CommRing R] |
| 46 | (q b a₁ a₂ a₃ x : R) : |
| 47 | x ^ 3 - q * b * (a₁ + a₂ + a₃) * x ^ 2 + |
| 48 | q ^ 2 * b ^ 2 * (a₁ * a₂ + a₁ * a₃ + a₂ * a₃) * x - |
| 49 | q ^ 3 * b ^ 3 * (a₁ * a₂ * a₃) = |
| 50 | (x - q * b * a₁) * (x - q * b * a₂) * (x - q * b * a₃) := by |
| 51 | ring |
| 52 | |
| 53 | /-- Weil absolute value selects the middle Satake root. The three-root |
| 54 | assertion is explicit; this theorem does not assert it for any variety. -/ |
| 55 | theorem weil_norm_selects_middle_root (q : ℝ) (hq : 1 < q) (b e x : ℂ) |
| 56 | (hb : ‖b‖ = 1) (he : ‖e‖ = 1) (hx : ‖x‖ = Real.sqrt q) |
| 57 | (hroot : (x - q * b * (Real.sqrt q : ℂ)) * |
| 58 | (x - q * b / (Real.sqrt q : ℂ)) * (x - q * b * e) = 0) : |
| 59 | x = b * (Real.sqrt q : ℂ) := by |
| 60 | have hq0 : 0 < q := lt_trans zero_lt_one hq |
| 61 | have hs0 : 0 < Real.sqrt q := Real.sqrt_pos.mpr hq0 |
| 62 | have hsn : ‖(Real.sqrt q : ℂ)‖ = Real.sqrt q := |
| 63 | Complex.norm_of_nonneg hs0.le |
| 64 | have hqn : ‖(q : ℂ)‖ = q := Complex.norm_of_nonneg hq0.le |
| 65 | rcases mul_eq_zero.mp hroot with hpair | hlast |
| 66 | · rcases mul_eq_zero.mp hpair with hfirst | hmiddle |
| 67 | · have heq := congrArg norm (sub_eq_zero.mp hfirst) |
| 68 | rw [hx, norm_mul, norm_mul, hqn, hb, hsn, mul_one] at heq |
| 69 | nlinarith [mul_pos (sub_pos.mpr hq) hs0] |
| 70 | · have hs : (Real.sqrt q : ℂ) ≠ 0 := by exact_mod_cast hs0.ne' |
| 71 | have hsq : (Real.sqrt q : ℂ) * (Real.sqrt q : ℂ) = (q : ℂ) := by |
| 72 | exact_mod_cast Real.mul_self_sqrt hq0.le |
| 73 | rw [sub_eq_zero.mp hmiddle] |
| 74 | apply (div_eq_iff hs).mpr |
| 75 | rw [mul_assoc, hsq, mul_comm] |
| 76 | · have heq := congrArg norm (sub_eq_zero.mp hlast) |
| 77 | rw [hx, norm_mul, norm_mul, hqn, hb, he, mul_one, mul_one] at heq |
| 78 | exact (ne_of_lt (Real.sqrt_lt_self_iff.mpr hq) heq).elim |
| 79 | |
| 80 | /-- The two possible parameter valuations yield exactly the two Hodge |
| 81 | slopes in equation (9). This is the numerical part, without a comparison |
| 82 | or weak-admissibility assumption hidden in its statement. -/ |
| 83 | theorem cm_parameter_slope_dichotomy (v : ℚ) (hv : v = -(3 / 2) ∨ v = 3 / 2) : |
| 84 | (1 / 2 - v / 3 : ℚ) = 0 ∨ (1 / 2 - v / 3 : ℚ) = 1 := by |
| 85 | rcases hv with rfl | rfl |
| 86 | all_goals norm_num |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.ComplexMultiplication.HeckePolynomial.CM |