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.ResolutionInjective |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.AugmentedResolution |
| 3 | |
| 4 | /-! # Section Cohomology Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.SectionCohomologyMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native cohomology comparison on actual global sections of a degree-zero resolution. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf Opposite |
| 13 | open OAI.AlgebraicGeometry.SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology |
| 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 | def nativeInjectiveSectionCohomologyMap (F : TopCat.Sheaf AddCommGrpCat.{0} X) (n : ℕ) : |
| 22 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (injectiveResolution F).cocomplex).homology (n + 1) ⟶ |
| 23 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj F := |
| 24 | HomologicalComplex.homologyMap (GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv (n + 1) ≫ |
| 25 | (GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom |
| 26 | |
| 27 | theorem nativeInjectiveSectionCohomologyMap_class (F : TopCat.Sheaf AddCommGrpCat.{0} X) (n : ℕ) |
| 28 | (s : ((injectiveResolution F).cocomplex.X (n + 1)).obj.obj (op (⊤ : Opens X))) |
| 29 | (hs : ((injectiveResolution F).cocomplex.d (n + 1) (n + 2)).hom.app (op (⊤ : Opens X)) s = 0) : |
| 30 | nativeInjectiveSectionCohomologyMap F n |
| 31 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (injectiveResolution F).cocomplex).homologyπ (n + 1) |
| 32 | (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n _ s hs)) = Chern.Sheaf.ResolutionClasses.sheafResolutionCycleClass (injectiveResolution F) (n + 1) s hs := by |
| 33 | change (GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom |
| 34 | (HomologicalComplex.homologyMap (GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv (n + 1) |
| 35 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (injectiveResolution F).cocomplex).homologyπ (n + 1) |
| 36 | (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n _ s hs))) = _ |
| 37 | have hm := SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.homologyMap_abCyclesMk n (GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv |
| 38 | s hs (ResolutionInjective.nativeResolutionTopSection_closed F n s hs) |
| 39 | exact (congrArg (fun x => (GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom x) hm).trans |
| 40 | (ResolutionInjective.nativeInjectiveCohomologyIso_sectionClass F n s hs) |
| 41 | |
| 42 | variable (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) |
| 43 | (he : ∀ q, K.ExactAt (q + 1)) |
| 44 | |
| 45 | def nativeSectionCohomologyMap (n : ℕ) : |
| 46 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex K).homology (n + 1) ⟶ |
| 47 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj (K.homology 0) := |
| 48 | HomologicalComplex.homologyMap |
| 49 | (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map |
| 50 | (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he (injectiveResolution (K.homology 0)))) (n + 1) ≫ |
| 51 | nativeInjectiveSectionCohomologyMap (K.homology 0) n |
| 52 | |
| 53 | theorem nativeSectionCohomologyMap_class (n : ℕ) |
| 54 | (s : (K.X (n + 1)).obj.obj (op (⊤ : Opens X))) |
| 55 | (hs : (K.d (n + 1) (n + 2)).hom.app (op (⊤ : Opens X)) s = 0) : |
| 56 | nativeSectionCohomologyMap K he n |
| 57 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex K).homologyπ (n + 1) (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n _ s hs)) = |
| 58 | Chern.Sheaf.ResolutionClasses.sheafResolutionCycleClass (injectiveResolution (K.homology 0)) (n + 1) |
| 59 | (((HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he (injectiveResolution (K.homology 0))).f (n + 1)).hom.app (op (⊤ : Opens X)) s) |
| 60 | (Chern.Sheaf.AugmentedResolution.sheafCochainMap_section_closed _ (n + 1) s hs) := by |
| 61 | change nativeInjectiveSectionCohomologyMap (K.homology 0) n |
| 62 | (HomologicalComplex.homologyMap |
| 63 | (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map |
| 64 | (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he (injectiveResolution (K.homology 0)))) (n + 1) |
| 65 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex K).homologyπ (n + 1) (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n _ s hs))) = _ |
| 66 | have hm := SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.homologyMap_abCyclesMk n |
| 67 | (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map |
| 68 | (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he (injectiveResolution (K.homology 0)))) |
| 69 | s hs (Chern.Sheaf.AugmentedResolution.sheafCochainMap_section_closed _ (n + 1) s hs) |
| 70 | exact (congrArg (fun x => nativeInjectiveSectionCohomologyMap (K.homology 0) n x) hm).trans |
| 71 | (nativeInjectiveSectionCohomologyMap_class _ _ _ _) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.SectionCohomologyMap |