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.HodgeConjecture.DegreeTwo.ClosedPushforwardExactness |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularSheafZeroResolution |
| 3 | |
| 4 | /-! # Closed Source Resolution -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSourceResolution.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The independently constructed source resolution on the ambient space. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 19 | |
| 20 | theorem closedSourceSheaf_positive_exact [StronglyLocallyContractibleSpace Y] |
| 21 | (hf : Topology.IsClosedEmbedding f) (n : ℕ) : |
| 22 | (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f).ExactAt (n+1) := |
| 23 | ClosedPushforwardExactness.Constructions.closedPushforwardSheafComplex_exactAt f hf (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex Y) (n+1) |
| 24 | (SingularSheafZeroResolution.Constructions.rationalSingularSheaf_positive_exact Y n) |
| 25 | |
| 26 | def closedSourceSheafAugmentation : |
| 27 | (CochainComplex.single₀ _).obj |
| 28 | ((SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f).homology 0) ⟶ |
| 29 | SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f := |
| 30 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) |
| 31 | |
| 32 | theorem closedSourceSheafAugmentation_quasiIso [StronglyLocallyContractibleSpace Y] |
| 33 | (hf : Topology.IsClosedEmbedding f) : QuasiIso (closedSourceSheafAugmentation f) := |
| 34 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_quasiIso (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) (by |
| 35 | intro n hn |
| 36 | cases n with |
| 37 | | zero => omega |
| 38 | | succ n => exact (closedSourceSheaf_positive_exact f hf n).isZero_homology) |
| 39 | |
| 40 | theorem closedSourceSheaf_isFlasque [MetrizableSpace Y] (n : ℕ) : |
| 41 | TopCat.Sheaf.IsFlasque ((SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f).X n) := by |
| 42 | have := AlgebraicTopology.Cohomology.Singular.SheafFlasque.sheafifiedSingularCochains_isFlasque_of_metrizable (ModuleCat.of ℚ ℚ) Y n |
| 43 | exact TopCat.Sheaf.IsFlasque.pushforward_isFlasque |
| 44 | ((AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) Y)).X n) f |
| 45 | |
| 46 | /-- These section groups are the actual singular cohomology of the source preimage. -/ |
| 47 | def closedSourceSheafSectionCohomologyIso [MetrizableSpace Y] (U : Opens X) (n : ℕ) : |
| 48 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U |
| 49 | (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f)).homology n ≅ |
| 50 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) n := by |
| 51 | have := AlgebraicTopology.Cohomology.Singular.OpenParacompact.paracompactSpace_open_of_metrizable Y ((Opens.map f).obj U) |
| 52 | have := AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.quasiIso_singularCochainsToOpenSheafSections_of_paracompact ℚ Y ((Opens.map f).obj U) |
| 53 | exact (isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) Y |
| 54 | ((Opens.map f).obj U)) n).symm |
| 55 | |
| 56 | end |
| 57 | |
| 58 | /-! Native source pullback is recovered exactly from the source sheaf section comparison. -/ |
| 59 | |
| 60 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 61 | |
| 62 | set_option backward.isDefEq.respectTransparency false |
| 63 | |
| 64 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 65 | |
| 66 | theorem singularSheafPullback_sections_unit (U : Opens X) : |
| 67 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M X U ≫ |
| 68 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 69 | (SingularSheafPullback.Constructions.singularSheafPullbackMap M f)) = |
| 70 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (SingularSheafPullback.Constructions.openPreimageMap f U) ≫ |
| 71 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M Y ((Opens.map f).obj U) := by |
| 72 | ext n : 1 |
| 73 | exact SingularSheafPullback.Constructions.singularSheafPullbackMap_unit M f U n |
| 74 | |
| 75 | variable [MetrizableSpace Y] |
| 76 | |
| 77 | theorem rationalSourceSheafPullback_sections_cohomology (U : Opens X) (n : ℕ) : |
| 78 | HomologicalComplex.homologyMap |
| 79 | (AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) X U) n ≫ |
| 80 | HomologicalComplex.homologyMap |
| 81 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 82 | (SingularSheafPullback.Constructions.singularSheafPullbackMap (ModuleCat.of ℚ ℚ) f)) n ≫ |
| 83 | (closedSourceSheafSectionCohomologyIso f U n).hom = |
| 84 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) (SingularSheafPullback.Constructions.openPreimageMap f U) n := by |
| 85 | have := AlgebraicTopology.Cohomology.Singular.OpenParacompact.paracompactSpace_open_of_metrizable Y ((Opens.map f).obj U) |
| 86 | have := AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.quasiIso_singularCochainsToOpenSheafSections_of_paracompact ℚ Y ((Opens.map f).obj U) |
| 87 | rw [← Category.assoc, ← HomologicalComplex.homologyMap_comp, |
| 88 | singularSheafPullback_sections_unit, HomologicalComplex.homologyMap_comp, Category.assoc] |
| 89 | change HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) (SingularSheafPullback.Constructions.openPreimageMap f U)) n ≫ |
| 90 | HomologicalComplex.homologyMap |
| 91 | (AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) Y ((Opens.map f).obj U)) n ≫ |
| 92 | (isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) Y |
| 93 | ((Opens.map f).obj U)) n).inv = _ |
| 94 | rw [isoOfQuasiIsoAt_hom_inv_id, Category.comp_id] |
| 95 | rfl |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSourceResolution.Constructions |