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.CycleClass.Thom.Scheme.OpenSupportRemoval |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularNeighborhoodDetection |
| 3 | import OAI.AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity |
| 4 | |
| 5 | /-! # Open Regular Map -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap.Constructions.Restriction |
| 12 | |
| 13 | /-! On every analytic neighborhood, actual supported cycle-degree classes are determined after removing the support's singular boundary. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportRemoval.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 23 | (U : Opens V.analyticSpace) |
| 24 | |
| 25 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 26 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 27 | local instance : AlgebraicGeometry.IsNoetherian V.toOver.left := |
| 28 | inferInstanceAs (AlgebraicGeometry.IsNoetherian V.carrier) |
| 29 | |
| 30 | theorem cycleOpen_regularRestriction_isIso : |
| 31 | IsIso (Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 32 | {x : U | x.val ∈ D.analyticSingularBoundary}ᶜ |
| 33 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) (2 * p)) := by |
| 34 | have hc (Z : IrreducibleCloseds V.carrier) |
| 35 | (hZ : (Z : Set V.carrier) ⊆ Geometric.StratumDimension.supportSingularBoundary D.val V.structureMap) : |
| 36 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z V.structureMap + (p + 1) ≤ |
| 37 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap := by |
| 38 | have h := D.codimension_lt_of_subset_singularBoundary Z hZ |
| 39 | have hdim := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V Z |
| 40 | omega |
| 41 | exact Scheme.OpenSupportRemoval.Constructions.open_relativeRestriction_isIso V.toOver |
| 42 | ⟨Geometric.StratumDimension.supportSingularBoundary D.val V.structureMap, Geometric.StratumDimension.isClosed_supportSingularBoundary D.val V.structureMap⟩ |
| 43 | (p + 1) hc U (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) |
| 44 | (fun _ hx => D.analyticSupportComplement_subset_regularAmbient hx) (2 * p) (by omega) |
| 45 | |
| 46 | theorem cycleOpen_regularRestriction_injective : |
| 47 | Function.Injective (Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 48 | {x : U | x.val ∈ D.analyticSingularBoundary}ᶜ |
| 49 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) (2 * p)) := by |
| 50 | let := cycleOpen_regularRestriction_isIso D U |
| 51 | exact (ModuleCat.mono_iff_injective _).mp inferInstance |
| 52 | |
| 53 | end AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap.Constructions.Restriction |
| 54 | |
| 55 | namespace AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap.Constructions |
| 56 | |
| 57 | /-! The actual pullback from an analytic open to its regular support neighborhood is injective in cycle degree and takes the original cycle class to its regular Thom class. -/ |
| 58 | |
| 59 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 60 | open OAI.AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity |
| 61 | |
| 62 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularNeighborhoodDetection.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap.Constructions.Restriction |
| 63 | |
| 64 | set_option backward.isDefEq.respectTransparency false |
| 65 | set_option backward.isDefEq.respectTransparency.types false |
| 66 | |
| 67 | theorem triple_pairMap {X Y : TopCat.{0}} (A B : Set X) (f : Y ⟶ TopCat.of A) |
| 68 | (C : Set Y) (hf : Set.MapsTo f C (Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace X A B)) (n : ℕ) : |
| 69 | Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) X A B n ≫ |
| 70 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf n = |
| 71 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (f ≫ Geometric.LocalHomology.Cycles.subspaceInclusion X A) |
| 72 | (fun _ hx => hf hx) n := |
| 73 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) f (Geometric.LocalHomology.Cycles.subspaceInclusion X A) hf (fun _ hx => hx) n |
| 74 | |
| 75 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Opens V.analyticSpace) |
| 76 | |
| 77 | def regularSwapHomeomorph : |
| 78 | RegularNeighborhoodDetection.Constructions.regularNeighborhood D U ≃ₜ ({x : U | x.val ∈ D.analyticSingularBoundary}ᶜ : Set U) where |
| 79 | toFun z := ⟨⟨z.val.val, z.property⟩, z.val.property⟩ |
| 80 | invFun z := ⟨⟨z.val.val, z.property⟩, z.val.property⟩ |
| 81 | left_inv _ := rfl |
| 82 | right_inv _ := rfl |
| 83 | continuous_toFun := ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _ |
| 84 | continuous_invFun := ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _ |
| 85 | |
| 86 | theorem regularSwap_complement (x : RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) : |
| 87 | x ∈ AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of D.regularAmbientSpace) |
| 88 | (Set.range D.regularComplementInclusion)ᶜ (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) ↔ |
| 89 | regularSwapHomeomorph D U x ∈ Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace (TopCat.of U) |
| 90 | {x : U | x.val ∈ D.analyticSingularBoundary}ᶜ |
| 91 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) := |
| 92 | D.mem_regularThomComplement_iff x.val |
| 93 | |
| 94 | def regularSwapMap : TopCat.of (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) ⟶ |
| 95 | TopCat.of ({x : U | x.val ∈ D.analyticSingularBoundary}ᶜ : Set U) := |
| 96 | TopCat.ofHom ⟨regularSwapHomeomorph D U, (regularSwapHomeomorph D U).continuous⟩ |
| 97 | |
| 98 | theorem regularSwap_mapsTo : Set.MapsTo (regularSwapMap D U) |
| 99 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of D.regularAmbientSpace) |
| 100 | (Set.range D.regularComplementInclusion)ᶜ (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)) |
| 101 | (Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace (TopCat.of U) {x : U | x.val ∈ D.analyticSingularBoundary}ᶜ |
| 102 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U)) := |
| 103 | fun x hx => (regularSwap_complement D U x).mp hx |
| 104 | |
| 105 | def regularSwapCohomologyIso (n : ℕ) := |
| 106 | AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity.relativePairHomeomorphCohomologyIso (ModuleCat.of ℚ ℚ) |
| 107 | (X := TopCat.of (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)) |
| 108 | (Y := TopCat.of ({x : U | x.val ∈ D.analyticSingularBoundary}ᶜ : Set U)) |
| 109 | (regularSwapHomeomorph D U) |
| 110 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of D.regularAmbientSpace) |
| 111 | (Set.range D.regularComplementInclusion)ᶜ (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)) |
| 112 | (Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace (TopCat.of U) {x : U | x.val ∈ D.analyticSingularBoundary}ᶜ |
| 113 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U)) |
| 114 | (regularSwap_complement D U) n |
| 115 | |
| 116 | theorem regularSwapCohomologyIso_hom (n : ℕ) : |
| 117 | (regularSwapCohomologyIso D U n).hom = |
| 118 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (regularSwapMap D U) (regularSwap_mapsTo D U) n := rfl |
| 119 | |
| 120 | def regularOpenPullback (n : ℕ) := |
| 121 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (RegularNeighborhoodDetection.Constructions.regularNeighborhoodMap D U) |
| 122 | (RegularNeighborhoodDetection.Constructions.regularNeighborhood_mapsTo D U) n |
| 123 | |
| 124 | theorem regularSwap_map_factor : |
| 125 | regularSwapMap D U ≫ |
| 126 | Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of U) {x : U | x.val ∈ D.analyticSingularBoundary}ᶜ = |
| 127 | RegularNeighborhoodDetection.Constructions.regularNeighborhoodMap D U := rfl |
| 128 | |
| 129 | theorem regularOpenPullback_factor (n : ℕ) : |
| 130 | Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 131 | {x : U | x.val ∈ D.analyticSingularBoundary}ᶜ |
| 132 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) n ≫ |
| 133 | (regularSwapCohomologyIso D U n).hom = regularOpenPullback D U n := by |
| 134 | rw [regularSwapCohomologyIso_hom] |
| 135 | have h := triple_pairMap (X := TopCat.of U) (Y := TopCat.of (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)) |
| 136 | ({x : U | x.val ∈ D.analyticSingularBoundary}ᶜ : Set U) |
| 137 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) |
| 138 | (regularSwapMap D U) |
| 139 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of D.regularAmbientSpace) |
| 140 | (Set.range D.regularComplementInclusion)ᶜ (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)) |
| 141 | (regularSwap_mapsTo D U) n |
| 142 | exact h.trans (ThomOpenRestriction.Constructions.pairMap_congr (regularSwap_map_factor D U) |
| 143 | (fun _ hx => regularSwap_mapsTo D U hx) (RegularNeighborhoodDetection.Constructions.regularNeighborhood_mapsTo D U) n) |
| 144 | |
| 145 | theorem regularOpenPullback_injective : Function.Injective (regularOpenPullback D U (2 * p)) := by |
| 146 | let := Restriction.cycleOpen_regularRestriction_isIso D U |
| 147 | have : IsIso (regularOpenPullback D U (2 * p)) := by |
| 148 | rw [← regularOpenPullback_factor] |
| 149 | infer_instance |
| 150 | exact (ModuleCat.mono_iff_injective _).mp inferInstance |
| 151 | |
| 152 | theorem regularOpenPullback_cycleClass : |
| 153 | regularOpenPullback D U (2 * p) |
| 154 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 155 | (Set.range D.analyticInclusion)ᶜ U (2 * p) D.rationalSupportedCycleClass) = |
| 156 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAmbientSpace) |
| 157 | (Set.range D.regularComplementInclusion)ᶜ (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) (2 * p) D.regularThomClass := by |
| 158 | have h := ConcreteCategory.congr_hom (RegularNeighborhoodDetection.Constructions.neighborhood_square D U) D.rationalSupportedCycleClass |
| 159 | change Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAmbientSpace) |
| 160 | (Set.range D.regularComplementInclusion)ᶜ (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) (2 * p) |
| 161 | (D.regularThomCohomologyRestriction (ModuleCat.of ℚ ℚ) (2 * p) D.rationalSupportedCycleClass) = _ at h |
| 162 | rw [D.rationalSupportedCycleClass_regularPullback] at h |
| 163 | exact h.symm |
| 164 | |
| 165 | end AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap.Constructions |
| 166 | |
| 167 | end |
| 168 | |
| 169 | end OAI |