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.Comparison.Betti.Sheaf.CechFunctor |
| 2 | import Mathlib.CategoryTheory.Sites.GlobalSections |
| 3 | |
| 4 | /-! # Factor Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Cech.FactorSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global sections of the actual restriction–pushforward Čech factor are sections on its open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable {X : TopCat.{0}} |
| 15 | |
| 16 | abbrev sheafTopSections : TopCat.Sheaf AddCommGrpCat.{0} X ⥤ AddCommGrpCat.{0} := |
| 17 | (sheafSections (Opens.grothendieckTopology X) AddCommGrpCat.{0}).obj (op ⊤) |
| 18 | |
| 19 | instance sheafTopSections_additive : (sheafTopSections (X := X)).Additive where |
| 20 | map_add := by |
| 21 | intro F G f g |
| 22 | rfl |
| 23 | |
| 24 | instance sheafTopSections_preservesLimits : |
| 25 | PreservesLimitsOfSize.{0, 0} (sheafTopSections (X := X)) := |
| 26 | inferInstanceAs (PreservesLimitsOfSize.{0, 0} |
| 27 | (sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0} ⋙ |
| 28 | (evaluation (Opens X)ᵒᵖ AddCommGrpCat.{0}).obj (op ⊤))) |
| 29 | |
| 30 | def cechFactorGlobalSectionsIso (F : TopCat.Sheaf AddCommGrpCat.{0} X) : |
| 31 | SheafCohomology.Cech.SheafComplex.TopCat.Sheaf.cechFactorPresheaf F ⋙ sheafTopSections ≅ F.obj := |
| 32 | NatIso.ofComponents |
| 33 | (fun A => F.obj.mapIso (eqToIso (congrArg op (Opens.isOpenEmbedding_obj_top A.unop)))) |
| 34 | (fun i => by |
| 35 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ ≫ F.obj.map _ |
| 36 | rw [← F.obj.map_comp, ← F.obj.map_comp] |
| 37 | exact congrArg F.obj.map (Subsingleton.elim _ _)) |
| 38 | |
| 39 | theorem cechFactorGlobalSectionsIso_naturality |
| 40 | {F G : TopCat.Sheaf AddCommGrpCat.{0} X} (f : F ⟶ G) (A : (Opens X)ᵒᵖ) : |
| 41 | sheafTopSections.map ((Betti.Sheaf.CechFunctor.sheafCechFactorMap f).app A) ≫ |
| 42 | (cechFactorGlobalSectionsIso G).hom.app A = |
| 43 | (cechFactorGlobalSectionsIso F).hom.app A ≫ f.hom.app A := by |
| 44 | exact (f.hom.naturality |
| 45 | (eqToHom (congrArg op (Opens.isOpenEmbedding_obj_top A.unop)))).symm |
| 46 | |
| 47 | def sheafCechFactorGlobalFunctorIso : |
| 48 | Betti.Sheaf.CechFunctor.sheafCechFactorFunctor (X := X) ⋙ |
| 49 | (Functor.whiskeringRight (Opens X)ᵒᵖ (TopCat.Sheaf AddCommGrpCat.{0} X) AddCommGrpCat.{0}).obj |
| 50 | sheafTopSections ≅ TopCat.Sheaf.forget AddCommGrpCat.{0} X := |
| 51 | NatIso.ofComponents cechFactorGlobalSectionsIso (fun f => by |
| 52 | apply NatTrans.ext |
| 53 | funext A |
| 54 | exact cechFactorGlobalSectionsIso_naturality f A) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Comparison.Betti.Cech.FactorSections |