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.Closed.ImmersionAmbientTransport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.SubsetHomeomorph |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ImageEquality |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity |
| 5 | |
| 6 | /-! # Smaller Open Detection -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection.Constructions |
| 13 | |
| 14 | /-! The actual Thom class on an ambient open restricts to the actual Thom class of any equal-image immersion on a smaller ambient open. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionAmbientTransport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SubsetHomeomorph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageEquality.Constructions.ThomInvariant OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup.Constructions.Restriction |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (U P : Opens V.analyticSpace) (hP : P ≤ U) |
| 27 | (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V U) p) |
| 28 | |
| 29 | local instance : MetrizableSpace U := U.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 30 | local instance : MetrizableSpace P := P.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 31 | |
| 32 | def smallerImmersion : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V P) p := |
| 33 | Closed.ImmersionAmbientTransport.Constructions.transport (Closed.ImmersionOpenRestriction.Constructions.restrict Z (Open.SubsetHomeomorph.Constructions.insideOpen U P)) (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U P hP) |
| 34 | (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph_analytic (G := V.analyticModel) U P hP) |
| 35 | (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph_symm_analytic (G := V.analyticModel) U P hP) rfl |
| 36 | |
| 37 | theorem smallerOpen_mapsTo : Set.MapsTo (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) |
| 38 | (Set.range (smallerImmersion U P hP Z).regularComplementInclusion)ᶜ (Set.range Z.regularComplementInclusion)ᶜ := |
| 39 | Open.ImageComplement.Constructions.ThomAmbientTransport.transportedOpenMap_mapsTo (M := Z.regularAnalyticSpace) (N := U) (N' := P) |
| 40 | (E := Z.regularAnalyticModel) (G := V.analyticModel) |
| 41 | Z.regularComplementInclusion Z.holomorphic (Open.SubsetHomeomorph.Constructions.insideOpen U P) |
| 42 | (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U P hP) |
| 43 | |
| 44 | theorem smallerImmersion_Thom : |
| 45 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) |
| 46 | (smallerOpen_mapsTo U P hP Z) (2 * p) Z.regularThomClass = |
| 47 | (smallerImmersion U P hP Z).regularThomClass := by |
| 48 | exact Open.ImageComplement.Constructions.ThomAmbientTransport.ThomClass_open_ambientTransport (M := Z.regularAnalyticSpace) (N := U) (N' := P) |
| 49 | (E := Z.regularAnalyticModel) (G := V.analyticModel) (H := V.analyticModel) |
| 50 | Z.regularComplementInclusion Z.holomorphic |
| 51 | (Open.SubsetHomeomorph.Constructions.insideOpen U P) (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U P hP) Z.differential_injective Z.closed |
| 52 | ((Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph_analytic (G := V.analyticModel) U P hP).mdifferentiable (by simp)) |
| 53 | ((Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph_symm_analytic (G := V.analyticModel) U P hP).mdifferentiable (by simp)) |
| 54 | (smallerImmersion U P hP Z).holomorphic (smallerImmersion U P hP Z).differential_injective |
| 55 | p Z.regularComplement_complexImmersionCodimension |
| 56 | (smallerImmersion U P hP Z).regularComplement_complexImmersionCodimension |
| 57 | |
| 58 | variable (C : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V P) p) |
| 59 | (hC : Set.range C.regularComplementInclusion = Set.range (smallerImmersion U P hP Z).regularComplementInclusion) |
| 60 | |
| 61 | include hC in |
| 62 | theorem equalImage_mapsTo : Set.MapsTo (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) |
| 63 | (Set.range C.regularComplementInclusion)ᶜ (Set.range Z.regularComplementInclusion)ᶜ := by |
| 64 | intro x hx |
| 65 | apply smallerOpen_mapsTo U P hP Z |
| 66 | rwa [← hC] |
| 67 | |
| 68 | theorem smallerOpen_Thom_of_image : |
| 69 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) |
| 70 | (equalImage_mapsTo U P hP Z C hC) (2 * p) Z.regularThomClass = C.regularThomClass := by |
| 71 | let e := eqToIso (congrArg (fun A => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 72 | (TopCat.of P) A (2 * p)) (congrArg Set.compl hC)) |
| 73 | apply e.toLinearEquiv.injective |
| 74 | have hs := ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) (congrArg Set.compl hC) |
| 75 | (equalImage_mapsTo U P hP Z C hC) (smallerOpen_mapsTo U P hP Z) (2 * p) Z.regularThomClass |
| 76 | have ht := ImageEquality.Constructions.ThomInvariant.regularThomClass_eq_of_image (smallerImmersion U P hP Z) C hC |
| 77 | exact hs.trans ((smallerImmersion_Thom U P hP Z).trans ht.symm) |
| 78 | |
| 79 | end AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection.Constructions |
| 80 | |
| 81 | namespace AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection.Constructions.Class |
| 82 | |
| 83 | /-! Supported classes on an ambient open are detected on smaller opens of the original ambient space, with any genuine equal-image local immersion. -/ |
| 84 | |
| 85 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 86 | |
| 87 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold OAI.AlgebraicGeometry.CycleClass.Thom.Open.SubsetHomeomorph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection.Constructions |
| 88 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.AmbientTransport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.TransportRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport |
| 89 | |
| 90 | set_option backward.isDefEq.respectTransparency false |
| 91 | set_option backward.isDefEq.respectTransparency.types false |
| 92 | |
| 93 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (U P : Opens V.analyticSpace) (hP : P ≤ U) |
| 94 | (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V U) p) |
| 95 | |
| 96 | theorem smallerImmersion_range : Set.range (smallerImmersion U P hP Z).regularComplementInclusion = |
| 97 | (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) ⁻¹' Set.range Z.regularComplementInclusion := by |
| 98 | ext y |
| 99 | constructor |
| 100 | · rintro ⟨x, rfl⟩ |
| 101 | exact ⟨x.val, rfl⟩ |
| 102 | · rintro ⟨x, hx⟩ |
| 103 | have hxP : Z.regularComplementInclusion x ∈ Open.SubsetHomeomorph.Constructions.insideOpen U P := by |
| 104 | change (Z.regularComplementInclusion x).val ∈ P |
| 105 | rw [hx] |
| 106 | exact y.property |
| 107 | refine ⟨⟨x, hxP⟩, ?_⟩ |
| 108 | apply Subtype.ext |
| 109 | change (Z.regularComplementInclusion x).val = y.val |
| 110 | exact congrArg Subtype.val hx |
| 111 | |
| 112 | variable (C : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V P) p) |
| 113 | (hC : Set.range C.regularComplementInclusion = Set.range (smallerImmersion U P hP Z).regularComplementInclusion) |
| 114 | |
| 115 | include hC in |
| 116 | theorem insideOpen_mapsTo : Set.MapsTo (NormalPair.TransportRestriction.Constructions.ambientTransportMap (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U P hP)) |
| 117 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of U) (Set.range Z.regularComplementInclusion)ᶜ (Open.SubsetHomeomorph.Constructions.insideOpen U P)) |
| 118 | (Set.range C.regularComplementInclusion)ᶜ := by |
| 119 | intro x hx |
| 120 | rw [hC, smallerImmersion_range] |
| 121 | exact hx |
| 122 | |
| 123 | theorem smallerPullback_factor (n : ℕ) : |
| 124 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) |
| 125 | (equalImage_mapsTo U P hP Z C hC) n ≫ |
| 126 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (NormalPair.TransportRestriction.Constructions.ambientTransportMap (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U P hP)) |
| 127 | (insideOpen_mapsTo U P hP Z C hC) n = |
| 128 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 129 | (Set.range Z.regularComplementInclusion)ᶜ (Open.SubsetHomeomorph.Constructions.insideOpen U P) n := by |
| 130 | have h := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) |
| 131 | (NormalPair.TransportRestriction.Constructions.ambientTransportMap (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U P hP)) (Open.SubsetHomeomorph.Constructions.smallerOpenMap U P hP) |
| 132 | (insideOpen_mapsTo U P hP Z C hC) (equalImage_mapsTo U P hP Z C hC) n |
| 133 | exact h.trans (ThomOpenRestriction.Constructions.pairMap_congr |
| 134 | (Open.ImageComplement.Constructions.ThomAmbientTransport.transportedOpenMap_factor (Open.SubsetHomeomorph.Constructions.insideOpen U P) (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U P hP)) |
| 135 | ((equalImage_mapsTo U P hP Z C hC).comp (insideOpen_mapsTo U P hP Z C hC)) (fun _ hx => hx) n) |
| 136 | |
| 137 | theorem relativeClass_eq_of_smaller_presentations |
| 138 | (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V U) p) |
| 139 | (P : Z.regularAnalyticSpace → Opens V.analyticSpace) (hP : ∀ x, P x ≤ U) |
| 140 | (hx : ∀ x, (Z.regularComplementInclusion x).val ∈ P x) |
| 141 | (C : ∀ x, Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V (P x)) p) |
| 142 | (hC : ∀ x, Set.range (C x).regularComplementInclusion = |
| 143 | Set.range (smallerImmersion U (P x) (hP x) Z).regularComplementInclusion) |
| 144 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) (Set.range Z.regularComplementInclusion)ᶜ (2 * p)) |
| 145 | (hab : ∀ x, AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Open.SubsetHomeomorph.Constructions.smallerOpenMap U (P x) (hP x)) |
| 146 | (equalImage_mapsTo U (P x) (hP x) Z (C x) (hC x)) (2 * p) a = |
| 147 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Open.SubsetHomeomorph.Constructions.smallerOpenMap U (P x) (hP x)) |
| 148 | (equalImage_mapsTo U (P x) (hP x) Z (C x) (hC x)) (2 * p) b) : a = b := by |
| 149 | apply Immersion.SheafPurity.Constructions.SupportDetection.relativeClass_eq_of_neighborhoods Z (fun x => Open.SubsetHomeomorph.Constructions.insideOpen U (P x)) hx |
| 150 | intro x |
| 151 | have ha := ConcreteCategory.congr_hom (smallerPullback_factor U (P x) (hP x) Z (C x) (hC x) (2 * p)) a |
| 152 | have hb := ConcreteCategory.congr_hom (smallerPullback_factor U (P x) (hP x) Z (C x) (hC x) (2 * p)) b |
| 153 | exact ha.symm.trans ((congrArg (fun c => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 154 | (NormalPair.TransportRestriction.Constructions.ambientTransportMap (Open.SubsetHomeomorph.Constructions.smallerOpenHomeomorph U (P x) (hP x))) |
| 155 | (insideOpen_mapsTo U (P x) (hP x) Z (C x) (hC x)) (2 * p) c) (hab x)).trans hb) |
| 156 | |
| 157 | end AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection.Constructions.Class |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI |