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.Supported.CochainUnit |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.ClosedSupportIntersection |
| 3 | import OAI.AlgebraicTopology.Duality.Poincare.SupportConnectingComponents |
| 4 | |
| 5 | /-! # Nested Supported Cochain Unit -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.NestedSupportedCochainUnit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual relative comparison for intersected supports retains the native map that forgets one support. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicTopology.Duality.Poincare.SupportConnectingComponents |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | variable {X : TopCat.{0}} (O C : Opens X) |
| 23 | |
| 24 | theorem supportedIntersectionComplexIso_inv_inclusion |
| 25 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) : |
| 26 | (ClosedSupportIntersection.supportedIntersectionComplexIso O C K).inv ≫ |
| 27 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) ≫ |
| 28 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C K = CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion (O ⊔ C) K := by |
| 29 | apply (cancel_epi (ClosedSupportIntersection.supportedIntersectionComplexIso O C K).hom).mp |
| 30 | rw [← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 31 | exact (ClosedSupportIntersection.supportedIntersectionComplexIso_inclusion O C K).symm |
| 32 | |
| 33 | def relativeToNestedSupportedFunctorGlobalSections : |
| 34 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X ((O ⊔ C) : Set X) ⟶ |
| 35 | HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex (Supported.DerivedComparison.supportedSectionsFunctor O ⊤) |
| 36 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C) := |
| 37 | AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (ModuleCat.of ℚ ℚ) X (O ⊔ C) ≫ |
| 38 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (X := X) ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 39 | (ClosedSupportIntersection.supportedIntersectionComplexIso O C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))).inv ≫ |
| 40 | (Supported.DerivedComparison.supportedSectionsFunctorIso O ⊤ (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C)).hom |
| 41 | |
| 42 | theorem relativeToNestedSupportedFunctorGlobalSections_inclusion : |
| 43 | relativeToNestedSupportedFunctorGlobalSections O C ≫ |
| 44 | Supported.CochainUnit.supportedSectionsCochainInclusion O ⊤ (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C) ≫ |
| 45 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (X := X) ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 46 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)) = |
| 47 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X ((O ⊔ C) : Set X) ≫ |
| 48 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℚ ℚ) X := by |
| 49 | unfold relativeToNestedSupportedFunctorGlobalSections |
| 50 | simp only [Functor.mapIso_inv, Category.assoc] |
| 51 | rw [← Category.assoc (Supported.DerivedComparison.supportedSectionsFunctorIso O ⊤ |
| 52 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C)).hom, |
| 53 | Supported.CochainUnit.supportedSectionsFunctorIso_inclusion] |
| 54 | rw [← Functor.map_comp, ← Functor.map_comp] |
| 55 | change AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (ModuleCat.of ℚ ℚ) X (O ⊔ C) ≫ |
| 56 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (X := X) ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 57 | ((ClosedSupportIntersection.supportedIntersectionComplexIso O C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).inv ≫ |
| 58 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)) ≫ |
| 59 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)) = _ |
| 60 | rw [supportedIntersectionComplexIso_inv_inclusion] |
| 61 | exact AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections_inclusion (ModuleCat.of ℚ ℚ) X (O ⊔ C) |
| 62 | |
| 63 | theorem relativeToNestedSupportedFunctorGlobalSections_forget : |
| 64 | relativeToNestedSupportedFunctorGlobalSections O C ≫ |
| 65 | ((Supported.DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 66 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)) = |
| 67 | AlgebraicTopology.Duality.Poincare.SupportConnectingComponents.relativeRationalSubsetCochainMap X (Set.subset_union_left : (O : Set X) ⊆ (O ⊔ C : Opens X)) ≫ |
| 68 | Supported.CochainUnit.relativeToSupportedFunctorGlobalSections O := by |
| 69 | apply (cancel_mono (Supported.CochainUnit.supportedSectionsCochainInclusion O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))).mp |
| 70 | rw [Category.assoc, Supported.CochainUnit.supportedSectionsCochainInclusion_naturality, |
| 71 | relativeToNestedSupportedFunctorGlobalSections_inclusion, |
| 72 | Category.assoc, Supported.CochainUnit.relativeToSupportedFunctorGlobalSections_inclusion, |
| 73 | ← Category.assoc, AlgebraicTopology.Duality.Poincare.SupportConnectingComponents.relativeRationalSubsetCochainMap_inclusion] |
| 74 | rfl |
| 75 | |
| 76 | end |
| 77 | |
| 78 | /-! The native relative cohomology isomorphisms preserve the original map that enlarges a support. -/ |
| 79 | |
| 80 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 81 | open OAI.AlgebraicTopology.Duality.Poincare.SupportConnectingComponents |
| 82 | |
| 83 | set_option backward.isDefEq.respectTransparency false |
| 84 | set_option backward.isDefEq.respectTransparency.types false |
| 85 | set_option backward.defeqAttrib.useBackward true |
| 86 | |
| 87 | variable {X : TopCat.{0}} [MetrizableSpace X] (O C : Opens X) |
| 88 | |
| 89 | def relativeSupportedFunctorCohomologyIso (n : ℕ) : |
| 90 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (O : Set X) n ≅ |
| 91 | (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex (Supported.DerivedComparison.supportedSectionsFunctor O ⊤) (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).homology n := by |
| 92 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafGlobalSections_of_metrizable ℚ X O |
| 93 | exact isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (ModuleCat.of ℚ ℚ) X O) n ≪≫ |
| 94 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) n).mapIso |
| 95 | (Supported.DerivedComparison.supportedSectionsFunctorIso O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)) |
| 96 | |
| 97 | theorem relativeSupportedFunctorCohomologyIso_hom (n : ℕ) : |
| 98 | (relativeSupportedFunctorCohomologyIso O n).hom = |
| 99 | HomologicalComplex.homologyMap (Supported.CochainUnit.relativeToSupportedFunctorGlobalSections O) n := by |
| 100 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafGlobalSections_of_metrizable ℚ X O |
| 101 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n = |
| 102 | HomologicalComplex.homologyMap (_ ≫ _) n |
| 103 | rw [HomologicalComplex.homologyMap_comp] |
| 104 | |
| 105 | def relativeNestedSupportedCohomologyIso (n : ℕ) : |
| 106 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X ((O ⊔ C) : Set X) n ≅ |
| 107 | (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex (Supported.DerivedComparison.supportedSectionsFunctor O ⊤) |
| 108 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C)).homology n := by |
| 109 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafGlobalSections_of_metrizable ℚ X (O ⊔ C) |
| 110 | exact isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (ModuleCat.of ℚ ℚ) X (O ⊔ C)) n ≪≫ |
| 111 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) n).mapIso |
| 112 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (X := X) ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 113 | (ClosedSupportIntersection.supportedIntersectionComplexIso O C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))).symm ≪≫ |
| 114 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) n).mapIso |
| 115 | (Supported.DerivedComparison.supportedSectionsFunctorIso O ⊤ (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C)) |
| 116 | |
| 117 | theorem relativeNestedSupportedCohomologyIso_hom (n : ℕ) : |
| 118 | (relativeNestedSupportedCohomologyIso O C n).hom = |
| 119 | HomologicalComplex.homologyMap (relativeToNestedSupportedFunctorGlobalSections O C) n := by |
| 120 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafGlobalSections_of_metrizable ℚ X (O ⊔ C) |
| 121 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n ≫ |
| 122 | HomologicalComplex.homologyMap _ n = HomologicalComplex.homologyMap (_ ≫ _ ≫ _) n |
| 123 | rw [HomologicalComplex.homologyMap_comp, HomologicalComplex.homologyMap_comp] |
| 124 | rfl |
| 125 | |
| 126 | theorem relativeNestedSupportedCohomologyIso_forget (n : ℕ) : |
| 127 | (relativeNestedSupportedCohomologyIso O C n).hom ≫ |
| 128 | HomologicalComplex.homologyMap |
| 129 | (((Supported.DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 130 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))) n = |
| 131 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalSubsetCohomologyMap X (Set.subset_union_left : (O : Set X) ⊆ (O ⊔ C : Opens X)) n ≫ |
| 132 | (relativeSupportedFunctorCohomologyIso O n).hom := by |
| 133 | rw [relativeNestedSupportedCohomologyIso_hom, relativeSupportedFunctorCohomologyIso_hom, |
| 134 | ← HomologicalComplex.homologyMap_comp] |
| 135 | rw [relativeToNestedSupportedFunctorGlobalSections_forget, HomologicalComplex.homologyMap_comp] |
| 136 | |
| 137 | theorem relativeNestedSupportedCohomologyIso_inv_forget (n : ℕ) : |
| 138 | (relativeNestedSupportedCohomologyIso O C n).inv ≫ |
| 139 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalSubsetCohomologyMap X (Set.subset_union_left : (O : Set X) ⊆ (O ⊔ C : Opens X)) n = |
| 140 | HomologicalComplex.homologyMap |
| 141 | (((Supported.DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 142 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))) n ≫ |
| 143 | (relativeSupportedFunctorCohomologyIso O n).inv := by |
| 144 | apply (cancel_epi (relativeNestedSupportedCohomologyIso O C n).hom).mp |
| 145 | rw [Iso.hom_inv_id_assoc, ← Category.assoc, relativeNestedSupportedCohomologyIso_forget, |
| 146 | Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.AlgebraicGeometry.DivisorClass.Chern.NestedSupportedCochainUnit |