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.SingularInjective |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ConstantSheafSections |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.InjectiveHomologyExt |
| 4 | |
| 5 | /-! # Derived Sheaf Betti -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Derived.DerivedSheafBetti |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Derived constant-sheaf cohomology and actual Betti cohomology |
| 13 | |
| 14 | The comparison is induced by the original singular cochains, their sheaf |
| 15 | resolution, the normalized injective comparison, and the explicit cocycle |
| 16 | description of derived morphisms. No comparison isomorphism is an input. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 20 | open _root_.TopologicalSpace |
| 21 | |
| 22 | variable (M : TopCat.{0}) |
| 23 | |
| 24 | instance complexSheavesDerived : HasDerivedCategory.{1} (ConstantSheafSections.ComplexSheaves M) := |
| 25 | HasDerivedCategory.standard _ |
| 26 | |
| 27 | instance complexSheavesExt : HasExt.{1} (ConstantSheafSections.ComplexSheaves M) := |
| 28 | hasExt_of_hasDerivedCategory _ |
| 29 | |
| 30 | def constantDerivedCohomology (n : ℕ) : ModuleCat.{1} ℂ := |
| 31 | ModuleCat.of ℂ |
| 32 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).obj (ConstantSheafSections.standardConstantSheaf M) ⟶ |
| 33 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).obj |
| 34 | (ConstantSheafSections.standardConstantSheaf M))⟦(n : ℤ)⟧) |
| 35 | |
| 36 | variable [StronglyLocallyContractibleSpace M] [MetrizableSpace M] |
| 37 | |
| 38 | def singularDerivedConstantLinearEquiv (n : ℕ) : |
| 39 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) M n ≃ₗ[ℂ] constantDerivedCohomology M n := by |
| 40 | let Z : ConstantSheafSections.ComplexSheaves M := AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M |
| 41 | let I : InjectiveResolution Z := |
| 42 | SingularInjective.singularInjectiveResolution M |
| 43 | let K : CochainComplex (ConstantSheafSections.ComplexSheaves M) ℕ := I.cocomplex |
| 44 | let e₁ := SingularInjective.singularInjectiveSectionsCohomologyIso M n |
| 45 | let e₂ := (HomologicalComplex.homologyFunctor (ModuleCat.{0} ℂ) (ComplexShape.up ℕ) n).mapIso |
| 46 | (ConstantSheafSections.constantHomSectionsComplexIso K).symm |
| 47 | let e₃ := InjectiveHomologyExt.homologyExtLinearEquiv (C := ConstantSheafSections.ComplexSheaves M) |
| 48 | (R := ℂ) (X := ConstantSheafSections.standardConstantSheaf M) I n |
| 49 | let e₄ := Ext.homLinearEquiv (C := ConstantSheafSections.ComplexSheaves M) (R := ℂ) |
| 50 | (X := ConstantSheafSections.standardConstantSheaf M) (Y := Z) (n := n) |
| 51 | let ec : Z ≅ ConstantSheafSections.standardConstantSheaf M := |
| 52 | (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M).symm |
| 53 | let et := (shiftFunctor (DerivedCategory (ConstantSheafSections.ComplexSheaves M)) (n : ℤ)).mapIso |
| 54 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).mapIso ec) |
| 55 | exact e₁.toLinearEquiv.trans (e₂.toLinearEquiv.trans |
| 56 | (e₃.trans (e₄.trans (Linear.homCongr ℂ (Iso.refl _) et)))) |
| 57 | |
| 58 | /-- The universe lift changes only the universe of the actual singular cohomology. -/ |
| 59 | def singularConstantCohomologyIso (n : ℕ) : |
| 60 | (ModuleCat.uliftFunctor.{1, 0} ℂ).obj (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) M n) ≅ |
| 61 | constantDerivedCohomology M n := |
| 62 | (ULift.moduleEquiv.trans (singularDerivedConstantLinearEquiv M n)).toModuleIso |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Comparison.Betti.Derived.DerivedSheafBetti |