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.Normal.IntersectionCup |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup |
| 3 | |
| 4 | /-! # Image Intersection To -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo |
| 11 | section |
| 12 | |
| 13 | /-! Normal-coordinate multiplication for the actual image-supported |
| 14 | intersection cup, with its literal intersection complement. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | open OAI.AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | namespace Constructions.Normal |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.IntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.Product.Constructions.Class |
| 24 | ExteriorImageCup.Constructions ExteriorImageCup.Constructions.Restriction ExteriorImageCup.Constructions.Even |
| 25 | |
| 26 | variable {M N P : Type} [TopologicalSpace N] (u : M → N) (v : P → N) |
| 27 | |
| 28 | omit [TopologicalSpace N] in |
| 29 | theorem intersectionComplement_eq : (Set.range u)ᶜ ∪ (Set.range v)ᶜ = |
| 30 | (Set.range u ∩ Set.range v)ᶜ := by |
| 31 | ext x |
| 32 | exact not_and_or.symm |
| 33 | |
| 34 | theorem diagonalMapsTo_crossComplement : Set.MapsTo (ImageIntersectionCup.Constructions.diagonalMap (TopCat.of N)) |
| 35 | (Set.range u ∩ Set.range v)ᶜ |
| 36 | (HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement (TopCat.of N) (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ) := by |
| 37 | intro x hx |
| 38 | apply Normal.IntersectionCup.Constructions.diagonalComplementMapsTo (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ |
| 39 | rwa [intersectionComplement_eq] |
| 40 | |
| 41 | theorem imageIntersectionCup_eq_even (hu : IsOpen (Set.range u)ᶜ) (hv : IsOpen (Set.range v)ᶜ) |
| 42 | (p q : ℕ) |
| 43 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range u)ᶜ (2 * p)) |
| 44 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range v)ᶜ (2 * q)) : |
| 45 | ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p q a b = |
| 46 | eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) S |
| 47 | (2 * (p + q))) (intersectionComplement_eq u v)) |
| 48 | (Normal.IntersectionCup.Constructions.evenIntersectionCup (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ hu hv p q a b) := by |
| 49 | have ht := Normal.Product.Constructions.Class.relativeCohomologyMap_targetCast (ImageIntersectionCup.Constructions.diagonalMap (TopCat.of N)) |
| 50 | (ExteriorImageCup.Constructions.crossSupportComplement_range u v) (diagonalMapsTo_crossComplement u v) |
| 51 | (ImageIntersectionCup.Constructions.diagonalMap_complement u v) (2 * (p + q)) |
| 52 | (ExteriorImageCup.Constructions.Even.evenExteriorCup (TopCat.of N) (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ hu hv p q a b) |
| 53 | have hs := ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast (ImageIntersectionCup.Constructions.diagonalMap (TopCat.of N)) |
| 54 | (intersectionComplement_eq u v) (Normal.IntersectionCup.Constructions.diagonalComplementMapsTo (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ) |
| 55 | (diagonalMapsTo_crossComplement u v) (2 * (p + q)) |
| 56 | (ExteriorImageCup.Constructions.Even.evenExteriorCup (TopCat.of N) (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ hu hv p q a b) |
| 57 | exact ht.trans hs.symm |
| 58 | |
| 59 | variable {p q : ℕ} |
| 60 | (f : TopCat.of N ⟶ TopCat.of (Fin p → ℂ)) (g : TopCat.of N ⟶ TopCat.of (Fin q → ℂ)) |
| 61 | (hf : Set.MapsTo f (Set.range u)ᶜ ({0}ᶜ)) (hg : Set.MapsTo g (Set.range v)ᶜ ({0}ᶜ)) |
| 62 | (e : ((Fin p → ℂ) × (Fin q → ℂ)) ≃L[ℂ] (Fin (p + q) → ℂ)) |
| 63 | |
| 64 | include hf hg in |
| 65 | theorem intersectionNormalMapsTo : Set.MapsTo (Normal.IntersectionCup.Constructions.internalNormalMap f g e) |
| 66 | (Set.range u ∩ Set.range v)ᶜ ({0}ᶜ) := by |
| 67 | intro x hx |
| 68 | apply Normal.IntersectionCup.Constructions.internalNormalMapsTo f g hf hg e |
| 69 | rwa [intersectionComplement_eq] |
| 70 | |
| 71 | theorem imageIntersectionCup_normalized_pullbacks |
| 72 | (hu : IsOpen (Set.range u)ᶜ) (hv : IsOpen (Set.range v)ᶜ) : |
| 73 | ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p q |
| 74 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf (2 * p) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass p)) |
| 75 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g hg (2 * q) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass q)) = |
| 76 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Normal.IntersectionCup.Constructions.internalNormalMap f g e) |
| 77 | (intersectionNormalMapsTo u v f g hf hg e) (2 * (p + q)) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (p + q)) := by |
| 78 | rw [imageIntersectionCup_eq_even, Normal.IntersectionCup.Constructions.evenIntersectionCup_normalized_pullbacks f g hf hg e hu hv] |
| 79 | exact ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast (Normal.IntersectionCup.Constructions.internalNormalMap f g e) (intersectionComplement_eq u v) |
| 80 | (Normal.IntersectionCup.Constructions.internalNormalMapsTo f g hf hg e) (intersectionNormalMapsTo u v f g hf hg e) |
| 81 | (2 * (p + q)) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (p + q)) |
| 82 | |
| 83 | end Constructions.Normal |
| 84 | |
| 85 | end |
| 86 | |
| 87 | /-! The actual supported intersection cup commutes with maps preserving |
| 88 | the two support complements, in particular with genuine neighborhood restrictions. -/ |
| 89 | |
| 90 | open _root_.CategoryTheory |
| 91 | open OAI.AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels |
| 92 | set_option backward.isDefEq.respectTransparency false |
| 93 | set_option backward.isDefEq.respectTransparency.types false |
| 94 | |
| 95 | namespace Constructions.Restriction |
| 96 | |
| 97 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Normal OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup.Constructions |
| 98 | ExteriorImageCup.Constructions.Restriction Normal.IntersectionCup.Constructions ExteriorImageCup.Constructions.Even |
| 99 | |
| 100 | theorem diagonal_square {X Y : TopCat.{0}} (f : X ⟶ Y) : |
| 101 | f ≫ ImageIntersectionCup.Constructions.diagonalMap Y = ImageIntersectionCup.Constructions.diagonalMap X ≫ AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.productSpace.map ((f, f) : (X, X) ⟶ (Y, Y)) := by |
| 102 | ext x <;> rfl |
| 103 | |
| 104 | variable {M P L K N N' : Type} [TopologicalSpace N] [TopologicalSpace N'] |
| 105 | (u : M → N) (v : P → N) (w : L → N') (z : K → N') |
| 106 | (f : TopCat.of N' ⟶ TopCat.of N) |
| 107 | (hf : Set.MapsTo f (Set.range w)ᶜ (Set.range u)ᶜ) |
| 108 | (hg : Set.MapsTo f (Set.range z)ᶜ (Set.range v)ᶜ) |
| 109 | |
| 110 | include hf hg in |
| 111 | theorem intersectionMapsTo : Set.MapsTo f (Set.range w ∩ Set.range z)ᶜ |
| 112 | (Set.range u ∩ Set.range v)ᶜ := by |
| 113 | intro x hx h |
| 114 | rw [← Normal.intersectionComplement_eq w z] at hx |
| 115 | rcases hx with hx | hx |
| 116 | · exact hf hx h.1 |
| 117 | · exact hg hx h.2 |
| 118 | |
| 119 | theorem imageIntersectionCup_restriction |
| 120 | (hu : IsOpen (Set.range u)ᶜ) (hv : IsOpen (Set.range v)ᶜ) |
| 121 | (hw : IsOpen (Set.range w)ᶜ) (hz : IsOpen (Set.range z)ᶜ) (p q : ℕ) |
| 122 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range u)ᶜ (2 * p)) |
| 123 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range v)ᶜ (2 * q)) : |
| 124 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f (intersectionMapsTo u v w z f hf hg) |
| 125 | (2 * (p + q)) (ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p q a b) = |
| 126 | ImageIntersectionCup.Constructions.imageIntersectionCup w z hw hz p q |
| 127 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf (2 * p) a) |
| 128 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hg (2 * q) b) := by |
| 129 | let Q := ModuleCat.of ℚ ℚ |
| 130 | let f₂ := AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.productSpace.map ((f, f) : (TopCat.of N', TopCat.of N') ⟶ (TopCat.of N, TopCat.of N)) |
| 131 | have h₁ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp Q f (ImageIntersectionCup.Constructions.diagonalMap (TopCat.of N)) |
| 132 | (intersectionMapsTo u v w z f hf hg) (ImageIntersectionCup.Constructions.diagonalMap_complement u v) (2 * (p + q)) |
| 133 | have h₂ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp Q (ImageIntersectionCup.Constructions.diagonalMap (TopCat.of N')) f₂ |
| 134 | (Normal.diagonalMapsTo_crossComplement w z) (ExteriorImageCup.Constructions.imageProductMapsTo u v f f hf hg) (2 * (p + q)) |
| 135 | have he := ConcreteCategory.congr_hom (h₁.trans h₂.symm) (ExteriorImageCup.Constructions.imageExteriorCup u v hu hv p q a b) |
| 136 | have hn := ExteriorImageCup.Constructions.imageExteriorCup_naturality u v f f hf hg hw hz hu hv p q a b |
| 137 | have hc := congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (ImageIntersectionCup.Constructions.diagonalMap (TopCat.of N')) |
| 138 | (Normal.diagonalMapsTo_crossComplement w z) (2 * (p + q))) hn |
| 139 | have hs := ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast (ImageIntersectionCup.Constructions.diagonalMap (TopCat.of N')) |
| 140 | (Normal.intersectionComplement_eq w z) (Normal.IntersectionCup.Constructions.diagonalComplementMapsTo (TopCat.of N') (Set.range w)ᶜ (Set.range z)ᶜ) |
| 141 | (Normal.diagonalMapsTo_crossComplement w z) (2 * (p + q)) |
| 142 | (ExteriorImageCup.Constructions.Even.evenExteriorCup (TopCat.of N') (TopCat.of N') (Set.range w)ᶜ (Set.range z)ᶜ hw hz p q |
| 143 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q f hf (2 * p) a) |
| 144 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q f hg (2 * q) b)) |
| 145 | exact he.trans (hc.trans (hs.symm.trans (Normal.imageIntersectionCup_eq_even w z hw hz p q _ _).symm)) |
| 146 | |
| 147 | end Constructions.Restriction |
| 148 | |
| 149 | end AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo |
| 150 | |
| 151 | namespace AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 152 | |
| 153 | /-! The literal inverse image of a support, presented as the image of its |
| 154 | subtype inclusion, with its actual complement pair map. -/ |
| 155 | |
| 156 | open _root_.CategoryTheory |
| 157 | |
| 158 | variable {X Y : TopCat.{0}} {L : Type} (f : X ⟶ Y) (v : L → Y) |
| 159 | |
| 160 | def pulledBackImage : (f ⁻¹' Set.range v) → X := Subtype.val |
| 161 | |
| 162 | theorem pulledBackImage_range : Set.range (pulledBackImage f v) = f ⁻¹' Set.range v := |
| 163 | Subtype.range_coe |
| 164 | |
| 165 | theorem pulledBackImage_complement : (Set.range (pulledBackImage f v))ᶜ = f ⁻¹' (Set.range v)ᶜ := by |
| 166 | rw [pulledBackImage_range] |
| 167 | rfl |
| 168 | |
| 169 | theorem pulledBackImage_mapsTo : Set.MapsTo f (Set.range (pulledBackImage f v))ᶜ (Set.range v)ᶜ := by |
| 170 | intro x hx |
| 171 | exact (Set.ext_iff.mp (pulledBackImage_complement f v) x).mp hx |
| 172 | |
| 173 | theorem pulledBackImage_openComplement (hv : IsOpen (Set.range v)ᶜ) : |
| 174 | IsOpen (Set.range (pulledBackImage f v))ᶜ := by |
| 175 | rw [pulledBackImage_complement] |
| 176 | exact hv.preimage f.hom.continuous |
| 177 | |
| 178 | end AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 179 | |
| 180 | end |
| 181 | |
| 182 | end OAI |