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.Divisors.LineBundles.Scheme.ClosedCycleGysinClass |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Supported.GysinEnlargement |
| 3 | |
| 4 | /-! # Intersection Gysin -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.IntersectionGysin.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The supported Gysin isomorphism carries every canonical source cycle to its actual image class after enlarging both supports to the same intersection. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.SupportAnalyticImage.Constructions |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normal.Product.Constructions.Class |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Gysin.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup.Constructions.Restriction |
| 17 | |
| 18 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 19 | [IsIntegral Y.left] [Smooth Y.hom] |
| 20 | [AlgebraicGeometry.IsNoetherian X.left] [AlgebraicGeometry.IsNoetherian Y.left] |
| 21 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 22 | (i : X ⟶ Y) [IsClosedImmersion i.left] (Z : IrreducibleCloseds X.left) |
| 23 | {L : Type} (v : L → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) |
| 24 | (hZ : Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport i Z)) ⊆ Set.range v) |
| 25 | |
| 26 | include hZ in |
| 27 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian X.left] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 28 | theorem schemeCycleIntersection_source_mapsTo : Set.MapsTo (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 29 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' (Set.range v)ᶜ) (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ := by |
| 30 | intro x hx hz |
| 31 | obtain ⟨z, hz⟩ := hz |
| 32 | apply hx |
| 33 | apply hZ |
| 34 | rw [CycleClass.Thom.Closed.SupportAnalyticImage.Constructions.supportImage_range] |
| 35 | exact ⟨z, congrArg (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) hz⟩ |
| 36 | |
| 37 | include hZ in |
| 38 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian X.left] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 39 | theorem schemeCycleIntersection_target_mapsTo : Set.MapsTo (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 40 | (Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) ∩ Set.range v)ᶜ |
| 41 | (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport i Z)))ᶜ := by |
| 42 | intro y hy hz |
| 43 | have hr := hz |
| 44 | rw [CycleClass.Thom.Closed.SupportAnalyticImage.Constructions.supportImage_range] at hr |
| 45 | obtain ⟨z, hz'⟩ := hr |
| 46 | exact hy ⟨⟨CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z z, hz'⟩, hZ hz⟩ |
| 47 | |
| 48 | include hZ in |
| 49 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian X.left] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 50 | theorem schemeCycleIntersection_complement_le : (Set.range v)ᶜ ⊆ |
| 51 | (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) := by |
| 52 | rw [CommonSupport.BundleCycles.schemeClosedCycleImage_complement] |
| 53 | exact Set.compl_subset_compl.mpr hZ |
| 54 | |
| 55 | variable (hv : IsOpen (Set.range v)ᶜ) |
| 56 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + p = |
| 57 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 58 | (q : ℕ) (hq : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 59 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 60 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (Set.range (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularComplementInclusion)ᶜ) (2 * p)) |
| 61 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularThomClass) |
| 62 | |
| 63 | theorem schemeCycleIntersectionGysin_imageClass : |
| 64 | (CycleClass.Thom.Intersection.Gysin.Constructions.intersectionGysinIso (q := q) (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) a ha v hv).hom |
| 65 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 66 | (schemeCycleIntersection_source_mapsTo i Z v hZ) (2 * q) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X Z q hq)) = |
| 67 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 68 | (schemeCycleIntersection_target_mapsTo i Z v hZ) (2 * (p + q)) |
| 69 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport i Z) (p + q) (Scheme.ClosedImageCodimension.BundleCycles.schemeClosedImage_codimension i Z p hp q hq)) := by |
| 70 | let hOW := schemeCycleIntersection_complement_le i Z v hZ |
| 71 | let hW := Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleImage_supported i Z p hp |
| 72 | let hs := CycleClass.Thom.Supported.GysinEnlargement.Constructions.source_mapsTo |
| 73 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z) v hOW |
| 74 | let ht := CycleClass.Thom.Supported.GysinEnlargement.Constructions.target_mapsTo |
| 75 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z) hW v hOW |
| 76 | let b := Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X Z q hq |
| 77 | let b' := (AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 78 | (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleSourceComplement i Z) (2 * q)).inv b |
| 79 | have h := ConcreteCategory.congr_hom |
| 80 | (CycleClass.Thom.Supported.GysinEnlargement.Constructions.globalGysinIso_enlargement (q := q) |
| 81 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z) hW v hv hOW a ha) b' |
| 82 | have hsrc := CycleClass.Thom.Normal.Product.Constructions.Class.relativeCohomologyMap_targetCast (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 83 | (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleSourceComplement i Z).symm |
| 84 | (schemeCycleIntersection_source_mapsTo i Z v hZ) hs (2 * q) b |
| 85 | have htgt := CycleClass.Thom.Normal.Product.Constructions.Class.relativeCohomologyMap_targetCast (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 86 | (CommonSupport.BundleCycles.schemeClosedCycleImage_complement i Z) ht (schemeCycleIntersection_target_mapsTo i Z v hZ) |
| 87 | (2 * (p + q)) (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleGysinClass i Z p hp q hq a ha) |
| 88 | rw [Scheme.ClosedCycleGysinClass.BundleCycles.schemeClosedCycleGysinClass_eq_imageClass] at htgt |
| 89 | change (CycleClass.Thom.Intersection.Gysin.Constructions.intersectionGysinIso (q := q) (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) a ha v hv).hom |
| 90 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) hs (2 * q) b') = |
| 91 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) ht |
| 92 | (2 * (p + q)) (Scheme.ClosedCycleGysin.BundleCycles.schemeClosedCycleGysinClass i Z p hp q hq a ha) at h |
| 93 | exact (congrArg (CycleClass.Thom.Intersection.Gysin.Constructions.intersectionGysinIso (q := q) (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) a ha v hv).hom hsrc.symm).trans |
| 94 | (h.trans htgt.symm) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.IntersectionGysin.BundleCycles |