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.Smooth.ProductRigidity |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 3 | |
| 4 | /-! # Group Product Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GroupProductRigidity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Maps from proper smooth connected products into a separated group scheme are determined by their restrictions to two pointed axes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] |
| 19 | |
| 20 | theorem smoothGroupProductMap_eq_of_axes (G B H : Over (Spec (.of K))) |
| 21 | [UniversallyClosed G.hom] [Smooth G.hom] [GeometricallyConnected G.hom] |
| 22 | [PreconnectedSpace B.left] [IsReduced (G ⊗ B).left] |
| 23 | [GrpObj H] [IsSeparated H.hom] |
| 24 | (x : 𝟙_ (Over (Spec (.of K))) ⟶ G) (y : 𝟙_ (Over (Spec (.of K))) ⟶ B) |
| 25 | (f h : G ⊗ B ⟶ H) |
| 26 | (hRight : lift (𝟙 G) (toUnit G ≫ y) ≫ f = lift (𝟙 G) (toUnit G ≫ y) ≫ h) |
| 27 | (hLeft : lift (toUnit B ≫ x) (𝟙 B) ≫ f = lift (toUnit B ≫ x) (𝟙 B) ≫ h) : f = h := by |
| 28 | let δ : G ⊗ B ⟶ H := f * h⁻¹ |
| 29 | let j : G ⟶ G ⊗ B := lift (𝟙 G) (toUnit G ≫ y) |
| 30 | let i : B ⟶ G ⊗ B := lift (toUnit B ≫ x) (𝟙 B) |
| 31 | have hj : j ≫ δ = 1 := by |
| 32 | change j ≫ (f * h⁻¹) = 1 |
| 33 | rw [MonObj.comp_mul, GrpObj.comp_inv, hRight, mul_inv_cancel] |
| 34 | have hi : i ≫ δ = 1 := by |
| 35 | change i ≫ (f * h⁻¹) = 1 |
| 36 | rw [MonObj.comp_mul, GrpObj.comp_inv, hLeft, mul_inv_cancel] |
| 37 | let : H.left.IsSeparated := by |
| 38 | constructor |
| 39 | rw [← terminal.comp_from H.hom] |
| 40 | infer_instance |
| 41 | have : IsReduced (pullback G.hom B.hom) := inferInstanceAs (IsReduced (G ⊗ B).left) |
| 42 | have hδ : δ.left = pullback.snd G.hom B.hom ≫ B.hom ≫ η[H].left := |
| 43 | ProductRigidity.smoothProperProductMap_eq_constant_of_axes G.hom B.hom x.left x.w y.left y.w δ.left η[H].left |
| 44 | (congrArg Over.Hom.left hj) (congrArg Over.Hom.left hi) |
| 45 | have Hδ : δ = 1 := by |
| 46 | ext1 |
| 47 | change δ.left = (pullback.fst G.hom B.hom ≫ G.hom) ≫ η[H].left |
| 48 | rw [pullback.condition] |
| 49 | exact hδ.trans (Category.assoc _ _ _).symm |
| 50 | exact mul_inv_eq_one.mp Hδ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GroupProductRigidity |