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.ClosedSupportIs |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportSectionChanges |
| 3 | |
| 4 | /-! # Closed Source Relative Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The source-relative comparison retains its actual cochain inclusion. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {X : TopCat.{0}} (O U : Opens X) |
| 19 | |
| 20 | def closedSupportSectionInclusion |
| 21 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) : |
| 22 | GoodShiftFunctor.Constructions.functorCochainComplex (ClosedSupportIs.Constructions.closedSupportSectionFunctor O U) K ⟶ CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K := |
| 23 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 24 | (ClosedSupportIs.Constructions.closedSupportCochainInclusion O K) |
| 25 | |
| 26 | instance closedSupportSectionInclusion_mono |
| 27 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) : |
| 28 | Mono (closedSupportSectionInclusion O U K) := |
| 29 | HomologicalComplex.mono_of_mono_f _ (fun n => by |
| 30 | change Mono ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (K.X n))) |
| 31 | infer_instance) |
| 32 | |
| 33 | theorem closedSupportSectionChange_inclusion {C D : Opens X} (h : C ≤ D) |
| 34 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) : |
| 35 | (NatTrans.mapHomologicalComplex (SupportSectionChanges.Constructions.closedSupportSectionChange h U) (ComplexShape.up ℕ)).app K ≫ |
| 36 | closedSupportSectionInclusion C U K = closedSupportSectionInclusion D U K := by |
| 37 | ext n : 1 |
| 38 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map (SupportSectionChanges.Constructions.closedSupportChange h (K.X n)) ≫ |
| 39 | (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C (K.X n)) = |
| 40 | (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion D (K.X n)) |
| 41 | rw [← Functor.map_comp, SupportSectionChanges.Constructions.closedSupportChange_inclusion] |
| 42 | |
| 43 | variable {Y : TopCat.{0}} (f : Y ⟶ X) |
| 44 | |
| 45 | theorem closedSourceSupportedSectionsIso_inclusion : |
| 46 | (ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso f O U).hom ≫ |
| 47 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion (ModuleCat.of ℚ ℚ) Y |
| 48 | ((Opens.map f).obj O) ((Opens.map f).obj U) = |
| 49 | closedSupportSectionInclusion O U (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) := by |
| 50 | unfold ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso |
| 51 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 52 | have hi := ClosedSupportIs.Constructions.supportedSheafSectionsIsoKernel_inclusion ((Opens.map f).obj O) |
| 53 | ((Opens.map f).obj U) (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex Y) |
| 54 | change (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafSectionsIsoKernel ((Opens.map f).obj O) |
| 55 | ((Opens.map f).obj U) (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex Y)).hom ≫ |
| 56 | kernel.ι (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex Y) |
| 57 | (homOfLE (inf_le_left : (Opens.map f).obj U ⊓ (Opens.map f).obj O ≤ (Opens.map f).obj U))) = |
| 58 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion (ModuleCat.of ℚ ℚ) Y |
| 59 | ((Opens.map f).obj O) ((Opens.map f).obj U) at hi |
| 60 | have hi' : (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafSectionsIsoKernel ((Opens.map f).obj O) |
| 61 | ((Opens.map f).obj U) (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex Y)).inv ≫ |
| 62 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion (ModuleCat.of ℚ ℚ) Y |
| 63 | ((Opens.map f).obj O) ((Opens.map f).obj U) = |
| 64 | kernel.ι (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex Y) |
| 65 | (homOfLE (inf_le_left : (Opens.map f).obj U ⊓ (Opens.map f).obj O ≤ (Opens.map f).obj U))) := by |
| 66 | rw [← hi, ← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 67 | rw [hi'] |
| 68 | exact ClosedSupportIs.Constructions.closedSupportSectionKernelIso_inclusion O U _ |
| 69 | |
| 70 | def closedSourceRelativeToSupportedSections : |
| 71 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) |
| 72 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Y) (((Opens.map f).obj O : Opens Y) : Set Y) ((Opens.map f).obj U)) ⟶ |
| 73 | GoodShiftFunctor.Constructions.functorCochainComplex (ClosedSupportIs.Constructions.closedSupportSectionFunctor O U) |
| 74 | (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) := |
| 75 | AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) Y ((Opens.map f).obj O) ((Opens.map f).obj U) ≫ |
| 76 | (ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso f O U).inv |
| 77 | |
| 78 | theorem closedSourceRelativeToSupportedSections_inclusion : |
| 79 | closedSourceRelativeToSupportedSections O U f ≫ |
| 80 | closedSupportSectionInclusion O U (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) = |
| 81 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) |
| 82 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Y) (((Opens.map f).obj O : Opens Y) : Set Y) ((Opens.map f).obj U)) ≫ |
| 83 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) Y ((Opens.map f).obj U) := by |
| 84 | unfold closedSourceRelativeToSupportedSections |
| 85 | rw [Category.assoc, ← closedSourceSupportedSectionsIso_inclusion O U f, |
| 86 | Iso.inv_hom_id_assoc, AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections_inclusion] |
| 87 | |
| 88 | variable [MetrizableSpace Y] |
| 89 | |
| 90 | instance closedSourceRelativeToSupportedSections_quasiIso : |
| 91 | QuasiIso (closedSourceRelativeToSupportedSections O U f) := by |
| 92 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafSections_of_metrizable ℚ Y |
| 93 | ((Opens.map f).obj O) ((Opens.map f).obj U) |
| 94 | unfold closedSourceRelativeToSupportedSections |
| 95 | infer_instance |
| 96 | |
| 97 | theorem closedSourceRelativeToSupportedSections_homology (n : ℕ) : |
| 98 | HomologicalComplex.homologyMap (closedSourceRelativeToSupportedSections O U f) n ≫ |
| 99 | (ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f O U n).hom = 𝟙 _ := by |
| 100 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafSections_of_metrizable ℚ Y |
| 101 | ((Opens.map f).obj O) ((Opens.map f).obj U) |
| 102 | change HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) Y |
| 103 | ((Opens.map f).obj O) ((Opens.map f).obj U) ≫ (ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso f O U).inv) n ≫ |
| 104 | (HomologicalComplex.homologyMap (ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso f O U).hom n ≫ |
| 105 | (isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) Y |
| 106 | ((Opens.map f).obj O) ((Opens.map f).obj U)) n).inv) = 𝟙 _ |
| 107 | rw [HomologicalComplex.homologyMap_comp, Category.assoc, ← Category.assoc |
| 108 | (HomologicalComplex.homologyMap (ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso f O U).inv n), |
| 109 | ← HomologicalComplex.homologyMap_comp, Iso.inv_hom_id, HomologicalComplex.homologyMap_id, |
| 110 | Category.id_comp] |
| 111 | exact (isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) Y |
| 112 | ((Opens.map f).obj O) ((Opens.map f).obj U)) n).hom_inv_id |
| 113 | |
| 114 | end |
| 115 | |
| 116 | /-! The source-relative identification respects the original relative support-change maps. -/ |
| 117 | |
| 118 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 119 | |
| 120 | set_option backward.isDefEq.respectTransparency false |
| 121 | |
| 122 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) {C D : Opens X} (h : C ≤ D) (U : Opens X) |
| 123 | |
| 124 | def closedSourceRelativeSupportChange : |
| 125 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) |
| 126 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Y) (((Opens.map f).obj D : Opens Y) : Set Y) ((Opens.map f).obj U)) ⟶ |
| 127 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) |
| 128 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Y) (((Opens.map f).obj C : Opens Y) : Set Y) ((Opens.map f).obj U)) := |
| 129 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) (𝟙 _) (fun _ hx => h hx) |
| 130 | |
| 131 | theorem closedSourceRelativeSupportChange_inclusion : |
| 132 | closedSourceRelativeSupportChange f h U ≫ |
| 133 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) |
| 134 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Y) (((Opens.map f).obj C : Opens Y) : Set Y) ((Opens.map f).obj U)) = |
| 135 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) |
| 136 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Y) (((Opens.map f).obj D : Opens Y) : Set Y) ((Opens.map f).obj U)) := by |
| 137 | unfold closedSourceRelativeSupportChange |
| 138 | rw [AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality, AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_id, Category.comp_id] |
| 139 | |
| 140 | theorem closedSourceRelativeToSupportedSections_support_naturality : |
| 141 | closedSourceRelativeSupportChange f h U ≫ closedSourceRelativeToSupportedSections C U f = |
| 142 | closedSourceRelativeToSupportedSections D U f ≫ |
| 143 | (NatTrans.mapHomologicalComplex (SupportSectionChanges.Constructions.closedSupportSectionChange h U) (ComplexShape.up ℕ)).app |
| 144 | (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) := by |
| 145 | apply (cancel_mono (closedSupportSectionInclusion C U |
| 146 | (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f))).mp |
| 147 | rw [Category.assoc, closedSourceRelativeToSupportedSections_inclusion, |
| 148 | ← Category.assoc, closedSourceRelativeSupportChange_inclusion, |
| 149 | Category.assoc, closedSupportSectionChange_inclusion, |
| 150 | closedSourceRelativeToSupportedSections_inclusion] |
| 151 | |
| 152 | variable [MetrizableSpace Y] |
| 153 | |
| 154 | theorem closedSourceSupportedRelativeCohomologyIso_support_naturality (n : ℕ) : |
| 155 | HomologicalComplex.homologyMap |
| 156 | ((NatTrans.mapHomologicalComplex (SupportSectionChanges.Constructions.closedSupportSectionChange h U) (ComplexShape.up ℕ)).app |
| 157 | (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f)) n ≫ |
| 158 | (ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f C U n).hom = |
| 159 | (ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f D U n).hom ≫ |
| 160 | HomologicalComplex.homologyMap (closedSourceRelativeSupportChange f h U) n := by |
| 161 | apply (cancel_epi (HomologicalComplex.homologyMap (closedSourceRelativeToSupportedSections D U f) n)).mp |
| 162 | rw [← Category.assoc, ← HomologicalComplex.homologyMap_comp, |
| 163 | ← closedSourceRelativeToSupportedSections_support_naturality, |
| 164 | HomologicalComplex.homologyMap_comp, Category.assoc, |
| 165 | closedSourceRelativeToSupportedSections_homology, Category.comp_id, |
| 166 | ← Category.assoc, closedSourceRelativeToSupportedSections_homology, Category.id_comp] |
| 167 | |
| 168 | end |
| 169 | |
| 170 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions |