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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.AdditionBundle |
| 2 | |
| 3 | /-! # Addition Powers -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every tensor power of the actual addition-graph bundle has the |
| 10 | uniform Euler polynomial dictated by its quadratic class. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj BigOperators |
| 14 | universe u |
| 15 | variable {k : Type u} [Field k] {g : ℕ} {A₀ : Abelian.Schemes.AbelianScheme g (Spec (.of k))} |
| 16 | variable (D : Dual.Data.DualAbelianData A₀) (p : A₀.scheme ⟶ D.abelian.scheme) [IsMonHom p] |
| 17 | |
| 18 | theorem Polarization.AdditionPowers.polarizationSquareClass_pow (a b c : ℤ) (m : ℕ) : |
| 19 | Polarization.ShearClasses.polarizationSquareClass D p a b c ^ m = |
| 20 | Polarization.ShearClasses.polarizationSquareClass D p (a * (m : ℤ)) (b * (m : ℤ)) (c * (m : ℤ)) := by |
| 21 | unfold Polarization.ShearClasses.polarizationSquareClass |
| 22 | rw [mul_pow, mul_pow] |
| 23 | simp only [← zpow_natCast, ← zpow_mul] |
| 24 | |
| 25 | variable {N : ℕ} {δ : Fin g → ℕ} |
| 26 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 27 | variable (L : Line.Bundles.LineBundle A.abelian.scheme.left) |
| 28 | variable (e : (((A.dual.poincareAt A.polarization.isogeny.hom).tensor |
| 29 | (L.pullback (fst A.abelian.scheme A.abelian.scheme).left)).tensor |
| 30 | (L.pullback (snd A.abelian.scheme A.abelian.scheme).left)).sheaf ≅ |
| 31 | (L.pullback μ[A.abelian.scheme].left).sheaf) |
| 32 | |
| 33 | include L e in |
| 34 | theorem PolarizationData.PolarizedAbelianWithFullLevel.additionGraphBundle_tensorPower_class (m : ℕ) : |
| 35 | Line.Bundles.LineBundle.classOf (A.additionGraphBundle.tensorPower m) = |
| 36 | Polarization.ShearClasses.polarizationSquareClass A.dual A.polarization.isogeny.hom |
| 37 | (2 * (m : ℤ)) (2 * (m : ℤ)) (2 * (m : ℤ)) := by |
| 38 | rw [Line.Bundles.LineBundle.classOf_tensorPower, A.additionGraphBundle_class L e, Polarization.AdditionPowers.polarizationSquareClass_pow] |
| 39 | |
| 40 | include L e in |
| 41 | theorem PolarizationData.PolarizedAbelianWithFullLevel.additionGraphBundle_tensorPower_euler |
| 42 | (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) (m : ℕ) : |
| 43 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (A.abelian.scheme ⊗ A.abelian.scheme).hom |
| 44 | (A.additionGraphBundle.tensorPower m).sheaf = |
| 45 | (3 : ℤ) ^ g * (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf) ^ 2 * |
| 46 | (m : ℤ) ^ (2 * g) := by |
| 47 | have h := A.polarizationSquareClass_euler_determinant_of_normalized_formula hN hNk L e |
| 48 | (2 * (m : ℤ)) (2 * (m : ℤ)) (2 * (m : ℤ)) |
| 49 | rw [← A.additionGraphBundle_tensorPower_class L e m, LineBundle.EulerShifts.lineBundleClassEuler_classOf] at h |
| 50 | have hq : (4 : ℚ) * ((2 * (m : ℤ) : ℤ) : ℚ) * ((2 * (m : ℤ) : ℤ) : ℚ) - |
| 51 | ((2 * (m : ℤ) : ℤ) : ℚ) ^ 2 = 12 * (m : ℚ) ^ 2 := by |
| 52 | push_cast |
| 53 | ring |
| 54 | rw [hq, mul_pow, ← pow_mul] at h |
| 55 | apply Int.cast_injective (α := ℚ) |
| 56 | simp only [Int.cast_mul, Int.cast_pow, Int.cast_ofNat, Int.cast_natCast] |
| 57 | apply mul_left_cancel₀ (pow_ne_zero g (show (4 : ℚ) ≠ 0 by norm_num)) |
| 58 | exact h.trans (by |
| 59 | rw [show (12 : ℚ) = 4 * 3 by norm_num, mul_pow] |
| 60 | ring) |
| 61 | |
| 62 | include L e in |
| 63 | theorem PolarizationData.PolarizedAbelianWithFullLevel.additionGraphBundle_tensorPower_euler_normalized |
| 64 | (hg : 0 < g) (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) (m : ℕ) : |
| 65 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (A.abelian.scheme ⊗ A.abelian.scheme).hom |
| 66 | (A.additionGraphBundle.tensorPower m).sheaf = |
| 67 | (3 : ℤ) ^ g * ((2 : ℤ) ^ g * ((∏ i, δ i : ℕ) : ℤ)) ^ 2 * (m : ℤ) ^ (2 * g) := by |
| 68 | rw [A.additionGraphBundle_tensorPower_euler L e hN hNk, |
| 69 | A.graphBundle_euler_normalized_overField hg hN hNk] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |