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.Global.FunctionsMapRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 4 | |
| 5 | /-! # Composite Pointed Cancellation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CompositePointedCancellation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite map detects pointed maps out of a group family whose global |
| 12 | functions come from an affine base. No reducedness or Noetherian condition |
| 13 | on that base is required. -/ |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} [IsAffine S] |
| 19 | variable {X Y Z : Over S} [MonObj X] [GrpObj Y] [GrpObj Z] |
| 20 | variable [IsIso X.hom.appTop] |
| 21 | variable (r : Y ⟶ Z) [IsFinite r.left] |
| 22 | |
| 23 | theorem pointed_map_eq_one_of_finite_composite (a : X ⟶ Y) |
| 24 | (ha : a ≫ r = 1) (hzero : η[X] ≫ a = η[Y]) : a = 1 := by |
| 25 | have hw : a.left ≫ r.left = X.hom ≫ η[Z].left := congrArg Over.Hom.left ha |
| 26 | let : IsAffine (𝟙_ (Over S)).left := inferInstanceAs (IsAffine S) |
| 27 | let k : X.left ⟶ pullback r.left η[Z].left := pullback.lift a.left X.hom hw |
| 28 | let : IsAffine (pullback r.left η[Z].left) := |
| 29 | isAffine_of_isAffineHom (pullback.snd r.left η[Z].left) |
| 30 | have hk : k ≫ pullback.fst r.left η[Z].left = a.left := pullback.lift_fst _ _ _ |
| 31 | have hc := Global.FunctionsMapRigidity.affineMap_eq_of_globalFunctions_iso X.hom η[X].left η[X].w k |
| 32 | have he : a.left = X.hom ≫ η[X].left ≫ a.left := by |
| 33 | have hh := congrArg (fun u => u ≫ pullback.fst r.left η[Z].left) hc |
| 34 | simpa only [Category.assoc, hk] using hh |
| 35 | apply Over.OverMorphism.ext |
| 36 | exact he.trans (congrArg (fun u => X.hom ≫ u) (congrArg Over.Hom.left hzero)) |
| 37 | |
| 38 | theorem pointed_maps_eq_of_finite_composite [IsMonHom r] |
| 39 | (f q : X ⟶ Y) (hf : η[X] ≫ f = η[Y]) (hq : η[X] ≫ q = η[Y]) |
| 40 | (he : f ≫ r = q ≫ r) : f = q := by |
| 41 | have hd : (f / q) ≫ r = 1 := by |
| 42 | rw [GrpObj.div_comp, he, div_self'] |
| 43 | have hz : η[X] ≫ (f / q) = η[Y] := by |
| 44 | rw [GrpObj.comp_div, hf, hq, div_self'] |
| 45 | simp only [MonObj.one_eq_one] |
| 46 | exact div_eq_one.mp (pointed_map_eq_one_of_finite_composite r (f / q) hd hz) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CompositePointedCancellation |