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.HodgeConjecture.DegreeTwo.ReferenceSupportedComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeLocalDetection |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ParameterComplementVanishing |
| 4 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 5 | |
| 6 | /-! # Divisor Local Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorLocalComparison.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | # DegreeTwo: local comparison of global supported divisor classes |
| 16 | |
| 17 | The normal-chart equality and the complement vanishing are expressed on |
| 18 | actual ambient analytic opens. These are the local comparisons needed to |
| 19 | glue over an algebraic neighborhood of each divisor point. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 23 | open scoped _root_.Manifold ContDiff |
| 24 | open OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 25 | open OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum.AlgebraicLineBundle |
| 26 | |
| 27 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) |
| 28 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 29 | (hO : (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) ⊆ |
| 30 | (Set.range Z.analyticInclusion)ᶜ) |
| 31 | |
| 32 | /-- The existing supported cycle class, enlarged to the reference support. -/ |
| 33 | def cycleWithReferenceSupport : |
| 34 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 35 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) 2 := |
| 36 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of V.analyticSpace)) hO 2 |
| 37 | Z.rationalSupportedCycleClass |
| 38 | |
| 39 | theorem cycleWithReferenceSupport_restrict_away |
| 40 | (W : Opens V.analyticSpace) (hW : (W : Set V.analyticSpace) ⊆ (Set.range Z.analyticInclusion)ᶜ) : |
| 41 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 42 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) W 2 |
| 43 | (cycleWithReferenceSupport L Z hO) = 0 := by |
| 44 | let Q := ModuleCat.of ℚ ℚ |
| 45 | let f := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (W : Set V.analyticSpace) |
| 46 | have hf : Set.MapsTo f (L.analyticReferenceLocus W) |
| 47 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) := fun _ hx => hx |
| 48 | have hc := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp Q f (𝟙 (TopCat.of V.analyticSpace)) hf hO 2 |
| 49 | have hv := ConcreteCategory.congr_hom hc Z.rationalSupportedCycleClass |
| 50 | have hz := DivisorClass.Chern.SupportedDivisorSum.relativeCohomologyMap_zero_of_range_subset Q f (L.analyticReferenceLocus W) |
| 51 | (Set.range Z.analyticInclusion)ᶜ (fun _ hx => hO (hf hx)) (fun y => hW y.property) 2 |
| 52 | exact hv.trans (by change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q f _ 2 _ = 0; rw [hz]; rfl) |
| 53 | |
| 54 | variable (i : V.carrier) (U : V.carrier.Opens) [Nonempty U] (hi : U ≤ L.trivializingOpen i) |
| 55 | (p : Γ(V.carrier, U)) (hp : p ≠ 0) (v : Γ(V.carrier, U)ˣ) (m : ℤ) (hm : m ≠ 0) |
| 56 | (he : (L.rationalSectionCoordinate i : V.carrier.functionField) = |
| 57 | V.carrier.germToFunctionField U v * (V.carrier.germToFunctionField U p) ^ m) |
| 58 | |
| 59 | include hi hp hm he |
| 60 | |
| 61 | /-- Both actual global classes agree on an ambient neighborhood of each |
| 62 | point where the local parameter and the support are absent. -/ |
| 63 | theorem exists_local_divisor_comparison_off_support |
| 64 | (y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U) (hyp : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p y ≠ 0) |
| 65 | (hyZ : y.val ∉ Set.range Z.analyticInclusion) : |
| 66 | ∃ W : Opens V.analyticSpace, y.val ∈ W ∧ |
| 67 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 68 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) W 2 |
| 69 | L.rationalSectionChernRelativeClass = |
| 70 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 71 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) W 2 |
| 72 | (m • ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • cycleWithReferenceSupport L Z hO)) := by |
| 73 | let N : Opens V.analyticSpace := |
| 74 | ⟨Subtype.val '' {w : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p w ≠ 0}, |
| 75 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U).isOpenEmbedding'.isOpenMap _ |
| 76 | (isOpen_ne.preimage (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p).continuous)⟩ |
| 77 | let D : Opens V.analyticSpace := |
| 78 | ⟨(Set.range Z.analyticInclusion)ᶜ, Z.isClosedEmbedding_analyticInclusion.isClosed_range.isOpen_compl⟩ |
| 79 | let W := N ⊓ D |
| 80 | have hWU : W ≤ DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U := by |
| 81 | rintro w ⟨⟨t, _, rfl⟩, _⟩ |
| 82 | exact t.property |
| 83 | have hWp : ∀ w : W, DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p ⟨w.val, hWU w.property⟩ ≠ 0 := by |
| 84 | intro w |
| 85 | obtain ⟨t, ht, htw⟩ := w.property.1 |
| 86 | have ht' : t = ⟨w.val, hWU w.property⟩ := Subtype.ext htw |
| 87 | exact ht' ▸ ht |
| 88 | refine ⟨W, ⟨⟨y, hyp, rfl⟩, hyZ⟩, ?_⟩ |
| 89 | rw [ParameterComplementVanishing.Constructions.rationalSectionChern_restrict_zero_of_parameter_nonzero L i U hi p hp v m hm he W hWU hWp, |
| 90 | map_zsmul, map_smul, cycleWithReferenceSupport_restrict_away L Z hO W |
| 91 | (fun _ hw => hw.2), smul_zero, smul_zero] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | section |
| 96 | |
| 97 | /-! |
| 98 | # DegreeTwo: the regular-divisor comparison on actual ambient opens |
| 99 | |
| 100 | The genuine native normal pair is an open embedding into the original |
| 101 | scheme point space. Its relative-class equality therefore holds on an |
| 102 | actual ambient neighborhood, with both sides still global restrictions. |
| 103 | -/ |
| 104 | |
| 105 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 106 | open scoped _root_.Manifold ContDiff |
| 107 | open OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 108 | open OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum.AlgebraicLineBundle |
| 109 | |
| 110 | theorem exists_local_divisor_comparison_on_regular_support |
| 111 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) |
| 112 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 113 | (hO : (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) ⊆ |
| 114 | (Set.range Z.analyticInclusion)ᶜ) |
| 115 | (i : V.carrier) (U : V.carrier.Opens) [Nonempty U] (hU : IsAffineOpen U) |
| 116 | (hi : U ≤ L.trivializingOpen i) (p b c : Γ(V.carrier, U)) (hp : p ≠ 0) |
| 117 | (v : Γ(V.carrier, U)ˣ) (m : ℤ) (hm : m ≠ 0) |
| 118 | (he : (L.rationalSectionCoordinate i : V.carrier.functionField) = |
| 119 | V.carrier.germToFunctionField U v * (V.carrier.germToFunctionField U p) ^ m) |
| 120 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra V.structureMap U |
| 121 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 122 | (hsupp : ∀ y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U, |
| 123 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U c y ≠ 0 → |
| 124 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p y = 0 ↔ y.val ∈ Set.range Z.analyticInclusion)) |
| 125 | (x : Z.regularAnalyticSpace) |
| 126 | (hxU : Z.regularAnalyticToAmbient x ∈ DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U) |
| 127 | (hxb : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U b ⟨Z.regularAnalyticToAmbient x, hxU⟩ ≠ 0) |
| 128 | (hxc : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U c ⟨Z.regularAnalyticToAmbient x, hxU⟩ ≠ 0) : |
| 129 | ∃ W : Opens V.analyticSpace, Z.regularAnalyticToAmbient x ∈ W ∧ |
| 130 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 131 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) W 2 |
| 132 | L.rationalSectionChernRelativeClass = |
| 133 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 134 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) W 2 |
| 135 | (m • ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • cycleWithReferenceSupport L Z hO)) := by |
| 136 | obtain ⟨P, hPU, hmd, hcoord, _⟩ := |
| 137 | RegularSectionFixedPair.Constructions.exists_regular_section_fixedNormalPair V Z U hU p b c hp hsm hsupp x hxU hxb hxc |
| 138 | let g := SupportedCycleNormalRestriction.Constructions.regularPairAmbientMap Z x P |
| 139 | have hg : Topology.IsOpenEmbedding g := |
| 140 | Z.regularAmbientOpen.isOpenEmbedding'.comp P.openNeighborhood.isOpenEmbedding' |
| 141 | let O : Set V.analyticSpace := DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen |
| 142 | have hclass : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g |
| 143 | (A := g ⁻¹' O) (fun _ hy => hy) 2 L.rationalSectionChernRelativeClass = |
| 144 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g |
| 145 | (A := g ⁻¹' O) (fun _ hy => hy) 2 |
| 146 | (m • ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • cycleWithReferenceSupport L Z hO)) := by |
| 147 | rw [map_zsmul, map_smul] |
| 148 | exact ReferenceSupportedComparison.Constructions.rationalSectionChern_eq_supportedCycle_on_normalPair L Z U x P hPU hO |
| 149 | i hi p hp v m hm he hmd hcoord |
| 150 | obtain ⟨W, hW, hcompare⟩ := RelativeLocalDetection.Constructions.relativeClass_eq_on_openEmbedding_range |
| 151 | (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) O 2 g hg |
| 152 | L.rationalSectionChernRelativeClass |
| 153 | (m • ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • cycleWithReferenceSupport L Z hO)) hclass |
| 154 | refine ⟨W, ?_, hcompare⟩ |
| 155 | rw [← SetLike.mem_coe, hW] |
| 156 | exact ⟨⟨Z.regularComplementInclusion x, P.point_mem_neighborhood⟩, rfl⟩ |
| 157 | |
| 158 | end |
| 159 | |
| 160 | /-! |
| 161 | # DegreeTwo: compare the actual supported classes on an algebraic neighborhood |
| 162 | |
| 163 | At support points the native normal-coordinate theorem gives the local |
| 164 | comparison; off the support both actual classes vanish. The proved |
| 165 | supported-sheaf detection then glues those equalities on the whole open. |
| 166 | -/ |
| 167 | |
| 168 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 169 | open OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 170 | open OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum.AlgebraicLineBundle |
| 171 | |
| 172 | theorem rationalSectionChern_eq_supportedCycle_on_neighborhood |
| 173 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) |
| 174 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 175 | (hO : (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) ⊆ |
| 176 | (Set.range Z.analyticInclusion)ᶜ) |
| 177 | (i : V.carrier) (U : V.carrier.Opens) [Nonempty U] (hU : IsAffineOpen U) |
| 178 | (hi : U ≤ L.trivializingOpen i) (p b c : Γ(V.carrier, U)) (hp : p ≠ 0) |
| 179 | (v : Γ(V.carrier, U)ˣ) (m : ℤ) (hm : m ≠ 0) |
| 180 | (he : (L.rationalSectionCoordinate i : V.carrier.functionField) = |
| 181 | V.carrier.germToFunctionField U v * (V.carrier.germToFunctionField U p) ^ m) |
| 182 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra V.structureMap U |
| 183 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 184 | (hsupp : ∀ y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U, |
| 185 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U c y ≠ 0 → |
| 186 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p y = 0 ↔ y.val ∈ Set.range Z.analyticInclusion)) |
| 187 | (W : V.carrier.Opens) (hWU : W ≤ U) |
| 188 | (hW : ∀ y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W, |
| 189 | y.val ∈ Z.regularAmbientOpen ∧ |
| 190 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U b ⟨y.val, hWU y.property⟩ ≠ 0 ∧ |
| 191 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U c ⟨y.val, hWU y.property⟩ ≠ 0) : |
| 192 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 193 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 194 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 L.rationalSectionChernRelativeClass = |
| 195 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 196 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 197 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 |
| 198 | (m • ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • cycleWithReferenceSupport L Z hO)) := by |
| 199 | apply RelativeLocalDetection.Constructions.relativeClass_restrict_eq_of_local_restrictions (ModuleCat.of ℚ ℚ) |
| 200 | (TopCat.of V.analyticSpace) (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen) |
| 201 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 |
| 202 | intro y hy _ |
| 203 | have hgood := hW ⟨y, hy⟩ |
| 204 | by_cases hyZ : y ∈ Set.range Z.analyticInclusion |
| 205 | · have hyr : (⟨y, hgood.1⟩ : Z.regularAmbientSpace) ∈ Set.range Z.regularComplementInclusion := by |
| 206 | rw [Z.range_regularComplementInclusion] |
| 207 | exact hyZ |
| 208 | obtain ⟨x, hx⟩ := hyr |
| 209 | have hxy : Z.regularAnalyticToAmbient x = y := congrArg Subtype.val hx |
| 210 | subst y |
| 211 | exact exists_local_divisor_comparison_on_regular_support L Z hO i U hU hi p b c hp |
| 212 | v m hm he hsm hsupp x (hWU hy) hgood.2.1 hgood.2.2 |
| 213 | · let yU : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U := ⟨y, hWU hy⟩ |
| 214 | have hyp : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p yU ≠ 0 := |
| 215 | fun h => hyZ ((hsupp yU hgood.2.2).mp h) |
| 216 | exact exists_local_divisor_comparison_off_support L Z hO i U hi p hp v m hm he yU hyp hyZ |
| 217 | |
| 218 | end |
| 219 | |
| 220 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorLocalComparison.Constructions |