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.ClosedImmersion |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportedCycleClass |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinRestriction |
| 4 | |
| 5 | /-! # Closed Cycle Gysin -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedCycleGysin.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Genuine supported Gysin pushforward of a canonical cycle in arbitrary codimension, retaining its full possibly singular ambient support. -/ |
| 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 |
| 16 | CycleClass.Thom.Normal.GysinRestriction.Constructions |
| 17 | |
| 18 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 19 | [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 20 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 21 | (i : X ⟶ Y) [IsClosedImmersion i.left] |
| 22 | (Z : IrreducibleCloseds X.left) |
| 23 | |
| 24 | def schemeClosedCycleImageOpen : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) := |
| 25 | ⟨(Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ∘ CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ, |
| 26 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion i).comp |
| 27 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion |
| 28 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportToAmbient X Z))).isClosed_range.isOpen_compl⟩ |
| 29 | |
| 30 | omit [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 31 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 32 | theorem schemeClosedCycleImage_mem_iff (y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 33 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i y ∉ schemeClosedCycleImageOpen i Z ↔ |
| 34 | y ∈ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z) := by |
| 35 | classical |
| 36 | change ¬ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i y ∉ Set.range |
| 37 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ∘ CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z)) ↔ _ |
| 38 | rw [not_not] |
| 39 | constructor |
| 40 | · rintro ⟨t, ht⟩ |
| 41 | exact ⟨t, (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion i).injective ht⟩ |
| 42 | · rintro ⟨t, rfl⟩ |
| 43 | exact ⟨t, rfl⟩ |
| 44 | |
| 45 | omit [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 46 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 47 | theorem schemeClosedCycleSourceComplement : |
| 48 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' (schemeClosedCycleImageOpen i Z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) = |
| 49 | (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ := by |
| 50 | ext y |
| 51 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i y ∈ schemeClosedCycleImageOpen i Z ↔ |
| 52 | y ∉ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z) |
| 53 | simpa only [not_not] using not_congr (schemeClosedCycleImage_mem_iff i Z y) |
| 54 | |
| 55 | variable (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + p = |
| 56 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 57 | |
| 58 | omit [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 59 | theorem schemeClosedCycleImage_supported : |
| 60 | (schemeClosedCycleImageOpen i Z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ ⊆ |
| 61 | Set.range (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularComplementInclusion := by |
| 62 | classical |
| 63 | intro y hy |
| 64 | change ¬ (y ∉ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ∘ CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z)) at hy |
| 65 | obtain ⟨t, ht⟩ := not_not.mp hy |
| 66 | exact ⟨CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z t, ht⟩ |
| 67 | |
| 68 | variable [AlgebraicGeometry.IsNoetherian X.left] |
| 69 | (q : ℕ) (hq : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 70 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 71 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (Set.range (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularComplementInclusion)ᶜ) (2 * p)) |
| 72 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularThomClass) |
| 73 | |
| 74 | def schemeClosedCycleGysinClass : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 75 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (schemeClosedCycleImageOpen i Z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (2 * (p + q)) := |
| 76 | (CycleClass.Thom.Normal.GysinRestriction.Constructions.globalGysinIso (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp) (schemeClosedCycleImageOpen i Z) |
| 77 | (schemeClosedCycleImage_supported i Z p hp) a ha q).hom |
| 78 | ((AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (schemeClosedCycleSourceComplement i Z) (2 * q)).inv |
| 79 | (SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X Z q hq)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedCycleGysin.BundleCycles |