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.Diagonal.LocalSerreCancellation |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.SourceNeighborhood |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.IntersectionSupport |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ClosedIntersectionRestriction |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation |
| 6 | |
| 7 | /-! # Positive Serre Intersection -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace AlgebraicGeometry.CycleClass.Thom.PositiveSerreIntersection.Constructions.ComponentComparison |
| 14 | |
| 15 | /-! The actual supported cup and the original Serre intersection cycle |
| 16 | agree near every minimum-codimension component in positive dimension. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalSerreCancellation.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.SourceNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.SupportedProduct.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.AnalyticImage.Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.IntersectionSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ClosedIntersectionRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenProduct.Constructions.Class |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions |
| 24 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection.Constructions.Neighborhoods OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport.Constructions.Isolation OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 25 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportLocalDetection.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions.Intersection OAI.AlgebraicGeometry.CycleClass.Thom.Closed.Intersection.Constructions.Class |
| 26 | open OAI.AlgebraicGeometry.CycleClass.Thom.EtaleProjectiveNeighborhood.Constructions |
| 27 | |
| 28 | set_option backward.isDefEq.respectTransparency false |
| 29 | set_option backward.isDefEq.respectTransparency.types false |
| 30 | |
| 31 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) |
| 32 | (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 33 | |
| 34 | local instance : IsIntegral V.toOver.left := V.property |
| 35 | local instance : Smooth V.toOver.hom := V.presentation.smooth |
| 36 | local instance : AlgebraicGeometry.IsNoetherian V.toOver.left := inferInstanceAs (AlgebraicGeometry.IsNoetherian V.carrier) |
| 37 | local instance : IsIntegral (Diagonal.Ambient.Constructions.productVariety V V).toOver.left := (Diagonal.Ambient.Constructions.productVariety V V).property |
| 38 | local instance : Smooth (Diagonal.Ambient.Constructions.productVariety V V).toOver.hom := (Diagonal.Ambient.Constructions.productVariety V V).presentation.smooth |
| 39 | |
| 40 | variable (hproper : ∀ Z : IrreducibleCloseds V.carrier, |
| 41 | (Z : Set V.carrier) ⊆ Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B → p + q ≤ Geometric.DimensionCycles.dimensionCodimension V Z) |
| 42 | |
| 43 | local notation "F" => OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B |
| 44 | |
| 45 | theorem exists_component_comparison (hpos : 0 < V.complexDimension) (M : Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F (p + q)) : |
| 46 | ∃ K : V.carrier.Opens, IntersectionGeometry.supportPoint M.val ∈ K ∧ |
| 47 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 48 | (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver K) (2 * (p + q)) |
| 49 | (Closed.Intersection.Constructions.Class.closedIntersectionClass V p q A B) = |
| 50 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 51 | (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver K) (2 * (p + q)) |
| 52 | (Supported.Map.Constructions.relativeClassMap V F (p + q) (Supported.ProjectiveSupportIsolation.Constructions.Intersection.supportedPairCycle V p q A B hproper)) := by |
| 53 | let Z := Supported.ProjectiveSupportIsolation.Constructions.minimalCycleSupport V F (p + q) M |
| 54 | have hxF : IntersectionGeometry.supportPoint Z.val ∈ F := M.property.1 (Z.val.isIrreducible.isGenericPoint_genericPoint Z.val.isClosed).mem |
| 55 | have hxA : IntersectionGeometry.supportPoint Z.val ∈ (A.val : Set V.carrier) := hxF.1 |
| 56 | have hxB : IntersectionGeometry.supportPoint Z.val ∈ (B.val : Set V.carrier) := hxF.2 |
| 57 | obtain ⟨X, hX, j, hj, hI, hS, ⟨y, hy⟩, ac, ht, he⟩ := EtaleProjectiveNeighborhood.Constructions.exists_etale_projective_neighborhood V Z.genericPoint |
| 58 | let := hX |
| 59 | let := hj |
| 60 | let := hI |
| 61 | let := hS |
| 62 | let := ac |
| 63 | let := ht |
| 64 | let := he |
| 65 | obtain ⟨W, hWB, hzW, hf⟩ := Diagonal.LocalSerreCancellation.Constructions.exists_chart_serre_pullback_formula V p q A B Z X j hpos hxA hxB hproper y hy |
| 66 | let J := Scheme.MinimalSupport.Constructions.Isolation.isolatingOpen V.toOver F (p + q) M |
| 67 | let K : V.carrier.Opens := ((Diagonal.Ambient.Constructions.diagonal V).left ⁻¹ᵁ W) ⊓ J |
| 68 | have hc := Supported.ProjectiveSupportIsolation.Constructions.support_dimension_bound V F (p + q) hproper |
| 69 | refine ⟨K, ⟨?_, Scheme.MinimalSupport.Constructions.Isolation.genericPoint_mem_isolatingOpen V.toOver F (p + q) M hc⟩, ?_⟩ |
| 70 | · change (Diagonal.Ambient.Constructions.diagonal V).left Z.genericPoint ∈ W |
| 71 | rw [← Diagonal.Ambient.Constructions.diagonalSupport_genericPoint V (p + q) Z] |
| 72 | exact hzW |
| 73 | · apply Scheme.SupportLocalDetection.Constructions.relativeClass_eq_on_open_of_local V.toOver F (p + q) hc (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver K) |
| 74 | intro x hxK _hxF |
| 75 | have hxR : x ∈ Z.regularAmbientOpen := hxK.2.2 |
| 76 | have hxW : Diagonal.SupportedProduct.Constructions.diagonalPointMap V x ∈ Scheme.SectionEvaluation.Constructions.analyticOpen (Diagonal.Ambient.Constructions.productVariety V V).toOver W := by |
| 77 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Diagonal.Ambient.Constructions.diagonal V) x) ∈ W |
| 78 | rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying_map] |
| 79 | exact hxK.1 |
| 80 | let G := Scheme.SectionEvaluation.Constructions.analyticOpen (Diagonal.Ambient.Constructions.productVariety V V).toOver W ⊓ (Diagonal.Ambient.Constructions.diagonalSupport V (p + q) Z).regularAmbientOpen |
| 81 | have hGB : (G : Set (Diagonal.Ambient.Constructions.productVariety V V).analyticSpace) ⊆ |
| 82 | Scheme.SectionEvaluation.Constructions.analyticOpen (Diagonal.Ambient.Constructions.productVariety V V).toOver (Diagonal.OpenEquations.Constructions.productOpen V X j) := |
| 83 | fun _ hg => hWB hg.1 |
| 84 | have hxG : Diagonal.SupportedProduct.Constructions.diagonalPointMap V x ∈ G := |
| 85 | ⟨hxW, (Diagonal.IntersectionSupport.Constructions.diagonalCycle_regular_iff V p q Z x).mpr hxR⟩ |
| 86 | obtain ⟨U, hUG, hxU, hUK, hUP, hUB, O, hi, hO⟩ := Diagonal.SourceNeighborhood.Constructions.exists_diagonal_source_neighborhood V X j V.complexDimension |
| 87 | G hGB (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver K) x hxG hxK |
| 88 | have hUW : (U : Set (Diagonal.Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen (Diagonal.Ambient.Constructions.productVariety V V).toOver W := |
| 89 | fun _ hu => (hUG hu).1 |
| 90 | have hUR : (U : Set (Diagonal.Ambient.Constructions.productVariety V V).analyticSpace) ⊆ (Diagonal.Ambient.Constructions.diagonalSupport V (p + q) Z).regularAmbientOpen := |
| 91 | fun _ hu => (hUG hu).2 |
| 92 | have hl := hf U hUW hUP hUB hUR O hi hO (Diagonal.OpenProduct.Constructions.Class.pairedOpenInclusion V p q A B U) |
| 93 | (Diagonal.OpenProduct.Constructions.Class.pairedOpenInclusion_closed V p q A B U) (Diagonal.OpenProduct.Constructions.Class.pairedCycle_supported V p q A B U) |
| 94 | (Diagonal.IntersectionSupport.Constructions.diagonalCycle_pairedOpen_supported V p q A B Z hxA hxB U) |
| 95 | rw [Diagonal.OpenProduct.Constructions.Class.diagonalOpen_productClass V p q A B U] at hl |
| 96 | have ho : ∀ T : Supported.Map.Constructions.SupportedSupport V F (p + q), |
| 97 | T ≠ Supported.ProjectiveSupportIsolation.Constructions.minimalSupportedSupport V F (p + q) M → |
| 98 | ∀ t : Closed.ImmersionOpenRestriction.Constructions.sourceOpen (Diagonal.ComplexImmersion.Constructions.diagonalImmersion V) U, t.val ∉ Set.range T.val.analyticInclusion := by |
| 99 | intro T hT t ht |
| 100 | rw [T.val.range_analyticInclusion] at ht |
| 101 | exact Supported.ProjectiveSupportIsolation.Constructions.isolatingOpen_avoids_other V F (p + q) hproper M T hT (hUK t.property).2 ht |
| 102 | exact ⟨Closed.ImmersionOpenRestriction.Constructions.sourceOpen (Diagonal.ComplexImmersion.Constructions.diagonalImmersion V) U, hxU, |
| 103 | (Diagonal.ClosedIntersectionRestriction.Constructions.closedIntersection_restriction_iff V p q A B U (Supported.ProjectiveSupportIsolation.Constructions.minimalSupportedSupport V F (p + q) M) hproper ho).mpr hl⟩ |
| 104 | |
| 105 | end AlgebraicGeometry.CycleClass.Thom.PositiveSerreIntersection.Constructions.ComponentComparison |
| 106 | |
| 107 | namespace AlgebraicGeometry.CycleClass.Thom.PositiveSerreIntersection.Constructions |
| 108 | |
| 109 | /-! In positive dimension, the actual geometric cycle class takes |
| 110 | the original proper Serre intersection cycle to the original cup. -/ |
| 111 | |
| 112 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 113 | |
| 114 | open OAI.AlgebraicGeometry.CycleClass.Thom.PositiveSerreIntersection.Constructions.ComponentComparison OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection.Constructions |
| 115 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions.Intersection OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.Intersection.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 116 | |
| 117 | set_option backward.isDefEq.respectTransparency false |
| 118 | set_option backward.isDefEq.respectTransparency.types false |
| 119 | |
| 120 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) |
| 121 | (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 122 | (hproper : ∀ Z : IrreducibleCloseds V.carrier, |
| 123 | (Z : Set V.carrier) ⊆ Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B → p + q ≤ Geometric.DimensionCycles.dimensionCodimension V Z) |
| 124 | |
| 125 | local instance : IsIntegral V.toOver.left := V.property |
| 126 | local instance : Smooth V.toOver.hom := V.presentation.smooth |
| 127 | local instance : AlgebraicGeometry.IsNoetherian V.toOver.left := inferInstanceAs (AlgebraicGeometry.IsNoetherian V.carrier) |
| 128 | |
| 129 | theorem closedIntersection_eq_serre (hpos : 0 < V.complexDimension) : |
| 130 | Closed.Intersection.Constructions.Class.closedIntersectionClass V p q A B = |
| 131 | Supported.Map.Constructions.relativeClassMap V (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B) (p + q) (Supported.ProjectiveSupportIsolation.Constructions.Intersection.supportedPairCycle V p q A B hproper) := by |
| 132 | choose K hK hEq using ComponentComparison.exists_component_comparison V p q A B hproper hpos |
| 133 | exact Scheme.SupportDetection.Constructions.relativeClass_eq_of_component_neighborhoods V.toOver (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B) (p + q) |
| 134 | (Supported.ProjectiveSupportIsolation.Constructions.support_dimension_bound V (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B) (p + q) hproper) K hK _ _ hEq |
| 135 | |
| 136 | theorem geometricClass_supportedSerreCycle (hpos : 0 < V.complexDimension) : |
| 137 | V.geometricCycleClassMap (p + q) |
| 138 | (Supported.Map.Constructions.forgetCycle V (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B) (p + q) (Supported.ProjectiveSupportIsolation.Constructions.Intersection.supportedPairCycle V p q A B hproper)) = |
| 139 | cast (congrArg (fun n => (V.rationalCohomology n : Type)) (add_add_add_comm p p q q)) |
| 140 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace V.toOver) (p + p) (q + q) |
| 141 | A.geometricCycleClass B.geometricCycleClass) := by |
| 142 | have h := congrArg (fun c => cast (congrArg (fun n => (V.rationalCohomology n : Type)) (two_mul (p + q))) |
| 143 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 144 | (V.analyticUnderlying ⁻¹' (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B : Set V.carrier))ᶜ (2 * (p + q)) c)) |
| 145 | (closedIntersection_eq_serre V p q A B hproper hpos).symm |
| 146 | exact (Supported.Map.Constructions.relativeClassMap_forget V (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B) (p + q) |
| 147 | (Supported.ProjectiveSupportIsolation.Constructions.Intersection.supportedPairCycle V p q A B hproper)).symm.trans |
| 148 | (h.trans (Closed.Intersection.Constructions.Class.closedIntersectionClass_geometricCup V p q A B)) |
| 149 | |
| 150 | end AlgebraicGeometry.CycleClass.Thom.PositiveSerreIntersection.Constructions |
| 151 | |
| 152 | end |
| 153 | |
| 154 | end OAI |