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.SchemeDivisor.OpenImmersion |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinSmall |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection |
| 4 | |
| 5 | /-! # Gysin Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinOpen.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On every ambient open where the regular source divisor has its full image, the actual supported Gysin class is the actual Thom class of that image immersion. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Gysin.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.ImageImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.OpenImmersion.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinSmall.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.SmallerOpenDetection.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.SubsetHomeomorph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup.Constructions.Restriction |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinRestriction.Constructions.ThomClass |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 25 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 26 | [AlgebraicGeometry.IsNoetherian X.left] |
| 27 | (i : X ⟶ Y) [IsClosedImmersion i.left] (z : {x : X.left // Order.coheight x = 1}) |
| 28 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + p = |
| 29 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) |
| 30 | (hR : ((Subtype.val : U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) ⁻¹' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ImageImmersion.Constructions.regularDivisorMap i z))) = |
| 31 | (Subtype.val : U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) ⁻¹' (Gysin.Constructions.divisorImageOpen i z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ) |
| 32 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 33 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (Set.range (Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularComplementInclusion)ᶜ) (2 * p)) |
| 34 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = (Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularThomClass) |
| 35 | |
| 36 | theorem divisorGysinClass_open_Thom : |
| 37 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 38 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 39 | (OpenImmersion.Constructions.divisorOpenImmersion_mapsTo i z p hp U hR) (2 * (p + 1)) (Gysin.Constructions.divisorGysinClass i z p hp a ha) = |
| 40 | (OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR).regularThomClass := by |
| 41 | classical |
| 42 | let Z := OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR |
| 43 | have hex (x : Z.regularAnalyticSpace) := GysinSmall.Constructions.exists_small_divisorGysin_Thom i z p hp x.val U |
| 44 | (by |
| 45 | rw [← ImageImmersion.Constructions.regularDivisorMap_apply i z x.val] |
| 46 | exact x.property) a ha |
| 47 | choose P hP hPU hThom using hex |
| 48 | let C (x : Z.regularAnalyticSpace) := ImageImmersion.Constructions.localDivisorImmersion i z p hp x.val (P x) (hP x) |
| 49 | have hC (x : Z.regularAnalyticSpace) : Set.range (C x).regularComplementInclusion = |
| 50 | Set.range (SmallerOpenDetection.Constructions.smallerImmersion (V := Scheme.ClosedImmersion.Constructions.schemeManifold Y) U (P x).openNeighborhood (hPU x) Z).regularComplementInclusion := by |
| 51 | rw [SmallerOpenDetection.Constructions.Class.smallerImmersion_range] |
| 52 | change Set.range (ImageImmersion.Constructions.localDivisorImmersion i z p hp x.val (P x) (hP x)).regularComplementInclusion = |
| 53 | (Open.SubsetHomeomorph.Constructions.smallerOpenMap U (P x).openNeighborhood (hPU x)) ⁻¹' |
| 54 | Set.range (OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR).regularComplementInclusion |
| 55 | rw [ImageImmersion.Constructions.localDivisorImmersion_range, OpenImmersion.Constructions.divisorOpenImmersion_range] |
| 56 | rfl |
| 57 | apply SmallerOpenDetection.Constructions.Class.relativeClass_eq_of_smaller_presentations (V := Scheme.ClosedImmersion.Constructions.schemeManifold Y) U Z (fun x => (P x).openNeighborhood) hPU |
| 58 | (fun x => by |
| 59 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ImageImmersion.Constructions.regularDivisorMap i z) x.val ∈ (P x).neighborhood |
| 60 | rw [ImageImmersion.Constructions.regularDivisorMap_apply] |
| 61 | exact (P x).point_mem_neighborhood) C hC |
| 62 | intro x |
| 63 | let jP := Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (P x).neighborhood |
| 64 | have heq := Normal.GysinRestriction.Constructions.ThomClass.supportEquality (Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) (Scheme.RegularSupport.Constructions.regularInclusion X (Purity.Constructions.primeSupport X z) x.val) (P x) |
| 65 | (Gysin.Constructions.divisorImageOpen i z) (C x) (ImageImmersion.Constructions.localDivisorImmersion_range i z p hp x.val (P x) (hP x)) |
| 66 | have hCP : Set.MapsTo jP (Set.range (C x).regularComplementInclusion)ᶜ |
| 67 | (Gysin.Constructions.divisorImageOpen i z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) := by |
| 68 | intro y hy |
| 69 | exact (Set.ext_iff.mp heq y).mpr hy |
| 70 | have hl : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) jP hCP (2 * (p + 1)) |
| 71 | (Gysin.Constructions.divisorGysinClass i z p hp a ha) = (C x).regularThomClass := |
| 72 | (ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast jP heq (fun _ hy => hy) hCP (2 * (p + 1)) |
| 73 | (Gysin.Constructions.divisorGysinClass i z p hp a ha)).symm.trans (hThom x) |
| 74 | have h₁ := ConcreteCategory.congr_hom |
| 75 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) |
| 76 | (Open.SubsetHomeomorph.Constructions.smallerOpenMap U (P x).openNeighborhood (hPU x)) |
| 77 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 78 | (SmallerOpenDetection.Constructions.equalImage_mapsTo (V := Scheme.ClosedImmersion.Constructions.schemeManifold Y) U (P x).openNeighborhood (hPU x) Z (C x) (hC x)) |
| 79 | (OpenImmersion.Constructions.divisorOpenImmersion_mapsTo i z p hp U hR) (2 * (p + 1))) (Gysin.Constructions.divisorGysinClass i z p hp a ha) |
| 80 | have h₂ := ConcreteCategory.congr_hom |
| 81 | (ThomOpenRestriction.Constructions.pairMap_congr (Open.SubsetHomeomorph.Constructions.smallerOpenMap_comp U (P x).openNeighborhood (hPU x)) |
| 82 | ((OpenImmersion.Constructions.divisorOpenImmersion_mapsTo i z p hp U hR).comp |
| 83 | (SmallerOpenDetection.Constructions.equalImage_mapsTo (V := Scheme.ClosedImmersion.Constructions.schemeManifold Y) U (P x).openNeighborhood (hPU x) Z (C x) (hC x))) hCP (2 * (p + 1))) |
| 84 | (Gysin.Constructions.divisorGysinClass i z p hp a ha) |
| 85 | exact (h₁.trans (h₂.trans hl)).trans |
| 86 | (SmallerOpenDetection.Constructions.smallerOpen_Thom_of_image (V := Scheme.ClosedImmersion.Constructions.schemeManifold Y) U (P x).openNeighborhood (hPU x) Z (C x) (hC x)).symm |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinOpen.Constructions |