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.ModuleSheafificationForget |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Singular.GammaAugmentation |
| 3 | |
| 4 | /-! # Module Global Sections Forget -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ModuleGlobalSectionsForget |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual module global sections and singular sheafification after forgetting scalars. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable (R : Type) [Ring R] (X : TopCat.{0}) |
| 19 | |
| 20 | def moduleForgetGlobalSectionsIso (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ) : |
| 21 | CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (ModuleSheafificationForget.moduleForgetSheafComplex R X K) ≅ |
| 22 | ((forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}).mapHomologicalComplex (.up ℕ)).obj |
| 23 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex (⊤ : Opens X) K) := |
| 24 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 25 | intro i j _ |
| 26 | change (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}).map ((K.d i j).hom.app (op (⊤ : Opens X))) ≫ 𝟙 _ = |
| 27 | 𝟙 _ ≫ (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}).map ((K.d i j).hom.app (op (⊤ : Opens X))) |
| 28 | rw [Category.comp_id, Category.id_comp]) |
| 29 | |
| 30 | def moduleSingularToAbelianSections (A : ModuleCat.{0} R) : |
| 31 | ((forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}).mapHomologicalComplex (.up ℕ)).obj (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains A X) ⟶ |
| 32 | CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (ModuleSheafificationForget.moduleForgetSheafComplex R X (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex A X))) := |
| 33 | ((forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0}).mapHomologicalComplex (.up ℕ)).map |
| 34 | (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections A X) ≫ |
| 35 | (moduleForgetGlobalSectionsIso R X (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex A X))).inv |
| 36 | |
| 37 | theorem moduleSingularToAbelianSections_apply (A : ModuleCat.{0} R) (n : ℕ) (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains A X).X n) : |
| 38 | (moduleSingularToAbelianSections R X A).f n c = (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections A X).f n c := rfl |
| 39 | |
| 40 | theorem rationalSingularToGamma_eq_sections : |
| 41 | Singular.GammaAugmentation.rationalSingularToGamma X ≫ (GammaSectionsComparison.abelianGammaSectionsIso (Rational.BettiSheafComparison.rationalAbelianSingularResolution X)).hom = |
| 42 | moduleSingularToAbelianSections ℚ X (ModuleCat.of ℚ ℚ) := by |
| 43 | apply HomologicalComplex.Hom.ext |
| 44 | funext n |
| 45 | apply AddCommGrpCat.hom_ext |
| 46 | apply AddMonoidHom.ext |
| 47 | intro c |
| 48 | exact Singular.GammaAugmentation.rationalSingularToGamma_top X n c |
| 49 | |
| 50 | def complexForgetHomologyIso (K : CochainComplex (ModuleCat.{0} ℂ) ℕ) (n : ℕ) : |
| 51 | ((Complex.SheafForget.complexModuleForget.mapHomologicalComplex (.up ℕ)).obj K).homology n ≅ Complex.SheafForget.complexModuleForget.obj (K.homology n) := |
| 52 | (K.sc n).mapHomologyIso Complex.SheafForget.complexModuleForget |
| 53 | |
| 54 | theorem complexForgetHomologyIso_naturality |
| 55 | {K L : CochainComplex (ModuleCat.{0} ℂ) ℕ} (f : K ⟶ L) (n : ℕ) : |
| 56 | HomologicalComplex.homologyMap ((Complex.SheafForget.complexModuleForget.mapHomologicalComplex (.up ℕ)).map f) n ≫ |
| 57 | (complexForgetHomologyIso L n).hom = (complexForgetHomologyIso K n).hom ≫ |
| 58 | Complex.SheafForget.complexModuleForget.map (HomologicalComplex.homologyMap f n) := |
| 59 | ShortComplex.mapHomologyIso_hom_naturality |
| 60 | ((HomologicalComplex.shortComplexFunctor _ _ n).map f) Complex.SheafForget.complexModuleForget |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ModuleGlobalSectionsForget |