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.DivisorClass.Chern.Intrinsic.SectionCoordinates |
| 2 | import Mathlib.Algebra.Homology.HomotopyCategory.HomComplexSingle |
| 3 | |
| 4 | /-! # Hom Complex Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.HomComplexSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Representing-object cochains are the actual native global sections, with their differential. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf |
| 13 | open _root_.CochainComplex _root_.CochainComplex.HomComplex |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {X : TopCat.{0}} |
| 20 | |
| 21 | local instance nativeSectionCoordinates_additive : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive := |
| 22 | (constantSheafΓAdj (Opens.grothendieckTopology X) AddCommGrpCat.{0}).right_adjoint_additive |
| 23 | |
| 24 | variable (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℤ) |
| 25 | |
| 26 | def nativeHomCochainEquiv (n : ℤ) : |
| 27 | Cochain ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)) K n ≃+ |
| 28 | (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).obj (K.X n) := |
| 29 | (Cochain.fromSingleEquiv (zero_add n)).trans (SectionCoordinates.nativeSheafHomGlobalEquiv (K.X n)) |
| 30 | |
| 31 | theorem nativeHomCochainEquiv_fromSingle (n : ℤ) (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ K.X n) : |
| 32 | nativeHomCochainEquiv K n (Cochain.fromSingleMk f (zero_add n)) = |
| 33 | SectionCoordinates.nativeSheafHomGlobalEquiv (K.X n) f := by |
| 34 | exact congrArg (SectionCoordinates.nativeSheafHomGlobalEquiv (K.X n)) |
| 35 | (Cochain.fromSingleEquiv_fromSingleMk f (zero_add n)) |
| 36 | |
| 37 | theorem nativeHomCochainEquiv_d (i j : ℤ) |
| 38 | (c : Cochain ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj |
| 39 | (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)) K i) : |
| 40 | nativeHomCochainEquiv K j (δ i j c) = |
| 41 | (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).map (K.d i j) (nativeHomCochainEquiv K i c) := by |
| 42 | obtain ⟨f, rfl⟩ := Cochain.fromSingleMk_surjective c i (zero_add i) |
| 43 | rw [Cochain.δ_fromSingleMk _ _ j j (zero_add j), nativeHomCochainEquiv_fromSingle, |
| 44 | nativeHomCochainEquiv_fromSingle] |
| 45 | exact SectionCoordinates.nativeSheafHomGlobalEquiv_naturality f (K.d i j) |
| 46 | |
| 47 | def nativeHomComplexSectionsIso : |
| 48 | ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)).HomComplex K ≅ |
| 49 | ((SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).mapHomologicalComplex (.up ℤ)).obj K := |
| 50 | HomologicalComplex.Hom.isoOfComponents (fun n => (nativeHomCochainEquiv K n).toAddCommGrpIso) |
| 51 | (fun i j _ => by |
| 52 | apply AddCommGrpCat.hom_ext |
| 53 | apply AddMonoidHom.ext |
| 54 | intro c |
| 55 | exact (nativeHomCochainEquiv_d K i j c).symm) |
| 56 | |
| 57 | theorem nativeHomComplexSectionsIso_fromSingle (n : ℤ) |
| 58 | (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ K.X n) : |
| 59 | (nativeHomComplexSectionsIso K).hom.f n (Cochain.fromSingleMk f (zero_add n)) = |
| 60 | SectionCoordinates.nativeSheafHomGlobalEquiv (K.X n) f := |
| 61 | nativeHomCochainEquiv_fromSingle K n f |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.HomComplexSections |