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.ParameterPullbackNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.MorphismBaseChange |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | |
| 5 | /-! # Parameter Pullback Monoid Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ParameterPullbackMonoidIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The geometric comparison of parameter pullbacks preserves the actual monoid structures, so conjugating by it preserves and reflects homomorphisms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} {U T : Over S} (c : U ⟶ T) |
| 19 | |
| 20 | def singleParameterBaseChangeMonIso (A : Over S) [MonObj A] : |
| 21 | Mon.mk ((Over.pullback U.hom).obj A) ≅ |
| 22 | Mon.mk ((Over.pullback c.left).obj ((Over.pullback T.hom).obj A)) := |
| 23 | (Functor.mapMonNatIso (ParameterPullbackNaturality.singleParameterBaseChangeNatIso c)).app (Mon.mk A) ≪≫ |
| 24 | (Functor.mapMonCompIso (F := Over.pullback T.hom) (G := Over.pullback c.left)).app (Mon.mk A) |
| 25 | |
| 26 | theorem singleParameterBaseChangeIso_isMonHom (A : Over S) [MonObj A] : |
| 27 | IsMonHom (Single.ParameterBaseChange.singleParameterBaseChangeIso c A).hom := by |
| 28 | have h : IsMonHom (singleParameterBaseChangeMonIso c A).hom.hom := inferInstance |
| 29 | change IsMonHom ((Single.ParameterBaseChange.singleParameterBaseChangeIso c A).hom ≫ 𝟙 _) at h |
| 30 | simpa only [Category.comp_id] using h |
| 31 | |
| 32 | theorem monoidHom_conjugate_iff {V : Scheme.{u}} {A B A' B' : Over V} |
| 33 | [MonObj A] [MonObj B] [MonObj A'] [MonObj B'] |
| 34 | (e : A ≅ A') (d : B ≅ B') [IsMonHom e.hom] [IsMonHom d.hom] (f : A' ⟶ B') : |
| 35 | IsMonHom (e.hom ≫ f ≫ d.inv) ↔ IsMonHom f := by |
| 36 | constructor |
| 37 | · intro h |
| 38 | have : IsMonHom (e.inv ≫ (e.hom ≫ f ≫ d.inv) ≫ d.hom) := inferInstance |
| 39 | simpa only [Iso.inv_hom_id_assoc, Category.assoc, Iso.inv_hom_id, Category.comp_id] using this |
| 40 | · intro h |
| 41 | infer_instance |
| 42 | |
| 43 | theorem geometricFamilyMorphismBaseChange_isMonHom_iff {A B : Over S} [MonObj A] [MonObj B] |
| 44 | (f : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B) : |
| 45 | IsMonHom (Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange c f) ↔ IsMonHom ((Over.pullback c.left).map f) := by |
| 46 | have := singleParameterBaseChangeIso_isMonHom c A |
| 47 | have := singleParameterBaseChangeIso_isMonHom c B |
| 48 | exact monoidHom_conjugate_iff (Single.ParameterBaseChange.singleParameterBaseChangeIso c A) |
| 49 | (Single.ParameterBaseChange.singleParameterBaseChangeIso c B) ((Over.pullback c.left).map f) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ParameterPullbackMonoidIso |