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.DivisorLocalComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PrimeRegularNeighborhood |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorSmooth |
| 4 | |
| 5 | /-! # Concrete Divisor Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ConcreteDivisorNeighborhood.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # DegreeTwo: actual nonzero divisor coefficients compare with the full Thom sum |
| 15 | |
| 16 | The finite-divisor isolating open removes the other summands. The smooth |
| 17 | parameter and support neighborhoods are constructed at the actual divisor |
| 18 | point, then the proved neighborhood comparison supplies its exact order. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | theorem rationalSectionChern_divisorThom_comparison_neighborhood_nonzero |
| 24 | (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) |
| 25 | (z : L.ReferenceDivisorPoint) (hm : L.rationalSectionOrder z.val ≠ 0) : |
| 26 | ∃ W : V.carrier.Opens, z.val ∈ W ∧ |
| 27 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 28 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 29 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 L.rationalSectionChernRelativeClass = |
| 30 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 31 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 32 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 |
| 33 | ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • L.rationalSectionDivisorThomClass) := by |
| 34 | let z' : {w : V.carrier // Order.coheight w = 1} := ⟨z.val, z.property.1⟩ |
| 35 | let Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1 := L.referenceDivisorSupport z |
| 36 | have heZ : PrimeDivisorCycleSupport.Constructions.primeDivisorCycleSupport V z' = Z := by |
| 37 | apply Subtype.ext |
| 38 | rfl |
| 39 | obtain ⟨U, hU, hzU, hUi, p, v, b, hp, hb, hsm, he⟩ := |
| 40 | DivisorSmooth.Constructions.rationalSection_smooth_local_equation L z.val z.property.1 z.val (L.mem_trivializingOpen z.val) |
| 41 | let : Nonempty U := ⟨⟨z.val, hzU⟩⟩ |
| 42 | obtain ⟨c, hc, hsupp⟩ := |
| 43 | PrimeDivisorCycleSupport.Constructions.section_uniformizer_primeCycleSupport_neighborhood V U hU z' hzU p hp |
| 44 | have hbc : IsUnit (V.carrier.presheaf.germ U z.val hzU (b * c)) := by |
| 45 | rw [map_mul] |
| 46 | exact hb.mul hc |
| 47 | obtain ⟨G, hzG, hGU, hG⟩ := PrimeRegularNeighborhood.Constructions.exists_prime_regular_neighborhood V z' U hU hzU (b * c) hbc |
| 48 | let W := G ⊓ L.referenceDivisorIsolatingOpen z |
| 49 | have hWU : W ≤ U := inf_le_left.trans hGU |
| 50 | have hW : ∀ y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W, |
| 51 | y.val ∈ Z.regularAmbientOpen ∧ |
| 52 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U b ⟨y.val, hWU y.property⟩ ≠ 0 ∧ |
| 53 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U c ⟨y.val, hWU y.property⟩ ≠ 0 := by |
| 54 | intro y |
| 55 | have hgood := hG ⟨y.val, y.property.1⟩ |
| 56 | rw [heZ] at hgood |
| 57 | refine ⟨hgood.1, ?_⟩ |
| 58 | have hn := hgood.2 |
| 59 | rw [DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_mul] at hn |
| 60 | exact mul_ne_zero_iff.mp hn |
| 61 | have hsupp' : ∀ y : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U, |
| 62 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U c y ≠ 0 → |
| 63 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn V.presentation U p y = 0 ↔ y.val ∈ Set.range Z.analyticInclusion) := by |
| 64 | intro y hy |
| 65 | rw [← heZ] |
| 66 | exact hsupp y hy |
| 67 | have hp0 : p ≠ 0 := by |
| 68 | intro h |
| 69 | apply hp.ne_zero |
| 70 | rw [h, map_zero] |
| 71 | have hlocal := DivisorLocalComparison.Constructions.rationalSectionChern_eq_supportedCycle_on_neighborhood L Z |
| 72 | (L.referenceDivisorSupport_complement z) z.val U hU hUi p b c hp0 v |
| 73 | (L.rationalSectionOrder z.val) hm he hsm hsupp' W hWU hW |
| 74 | refine ⟨W, ⟨hzG, L.referenceDivisorPoint_mem_isolatingOpen z⟩, ?_⟩ |
| 75 | rw [map_zsmul, map_smul] at hlocal |
| 76 | rw [map_smul, L.rationalSectionDivisorThomClass_restrict_isolated z W inf_le_right] |
| 77 | have href : DivisorLocalComparison.Constructions.cycleWithReferenceSupport L Z (L.referenceDivisorSupport_complement z) = |
| 78 | L.referenceDivisorSupportedClass z := rfl |
| 79 | rw [href] at hlocal |
| 80 | refine hlocal.trans ?_ |
| 81 | rw [← Int.cast_smul_eq_zsmul ℚ (L.rationalSectionOrder z.val)] |
| 82 | exact smul_comm _ _ _ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | /-! |
| 87 | # DegreeTwo: the actual first Chern class is an actual rational Thom cycle class |
| 88 | |
| 89 | The actual supported Chern class and the finite divisor Thom sum agree |
| 90 | at every codimension-one point, including zero coefficients. Proved |
| 91 | codimension-two removal and supported-sheaf detection make the comparison |
| 92 | global. This theorem concerns the Thom cycle map; comparison with the |
| 93 | independently defined geometric trace cycle map remains a separate step. |
| 94 | -/ |
| 95 | |
| 96 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 97 | |
| 98 | theorem rationalSectionChern_divisorThom_comparison_neighborhood_zero |
| 99 | (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) |
| 100 | (z : L.ReferenceDivisorPoint) (hm : L.rationalSectionOrder z.val = 0) : |
| 101 | ∃ W : V.carrier.Opens, z.val ∈ W ∧ |
| 102 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 103 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 104 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 L.rationalSectionChernRelativeClass = |
| 105 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 106 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 107 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 |
| 108 | ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • L.rationalSectionDivisorThomClass) := by |
| 109 | obtain ⟨U, _, hzU, hUi, hzero⟩ := |
| 110 | DivisorWinding.Constructions.DivisorEvaluation.rationalSection_local_zero_of_order_zero L z.val z.property.1 hm |
| 111 | z.val (L.mem_trivializingOpen z.val) |
| 112 | have hUzero := (L.rationalSectionChernRelativeClass_algebraic z.val U hUi).trans hzero |
| 113 | let W := U ⊓ L.referenceDivisorIsolatingOpen z |
| 114 | refine ⟨W, ⟨hzU, L.referenceDivisorPoint_mem_isolatingOpen z⟩, ?_⟩ |
| 115 | rw [map_smul, L.rationalSectionDivisorThomClass_restrict_isolated z W inf_le_right, |
| 116 | hm, Int.cast_zero, zero_smul, smul_zero] |
| 117 | have hsmall : |
| 118 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 119 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 120 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 L.rationalSectionChernRelativeClass = |
| 121 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 122 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 123 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 0 := by |
| 124 | apply RelativeLocalDetection.Constructions.relativeClass_restrict_eq_of_local_restrictions (ModuleCat.of ℚ ℚ) |
| 125 | (TopCat.of V.analyticSpace) (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen) |
| 126 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 |
| 127 | intro y hy _ |
| 128 | exact ⟨DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation U, hy.1, hUzero.trans (map_zero _).symm⟩ |
| 129 | exact hsmall.trans (map_zero _) |
| 130 | |
| 131 | /-- The actual global relative Chern class is the actual finite divisor |
| 132 | Thom sum, with the proved universal winding normalization. -/ |
| 133 | theorem rationalSectionChernRelativeClass_eq_divisorThom |
| 134 | (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) : |
| 135 | L.rationalSectionChernRelativeClass = |
| 136 | (-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • L.rationalSectionDivisorThomClass := by |
| 137 | classical |
| 138 | have h (z : L.ReferenceDivisorPoint) : ∃ W : V.carrier.Opens, z.val ∈ W ∧ |
| 139 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 140 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 141 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 L.rationalSectionChernRelativeClass = |
| 142 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 143 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation L.rationalReferenceOpen : Set V.analyticSpace) |
| 144 | (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) 2 |
| 145 | ((-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • L.rationalSectionDivisorThomClass) := by |
| 146 | by_cases hm : L.rationalSectionOrder z.val = 0 |
| 147 | · exact rationalSectionChern_divisorThom_comparison_neighborhood_zero V L z hm |
| 148 | · exact rationalSectionChern_divisorThom_comparison_neighborhood_nonzero V L z hm |
| 149 | choose W hW he using h |
| 150 | exact L.relativeClass_eq_of_finite_divisor_restrictions W hW _ _ he |
| 151 | |
| 152 | /-- Forgetting support identifies the original rational Chern class |
| 153 | with the original divisor's actual Thom cycle class. -/ |
| 154 | theorem firstChernClassQ_eq_divisorThom (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 155 | (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) : |
| 156 | DivisorClass.Chern.First.firstChernClassQ V.presentation L = |
| 157 | (-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • V.rationalCycleClass 1 L.rationalSectionDivisorThomCycle := by |
| 158 | rw [← L.rationalSectionChernRelativeClass_absolute, |
| 159 | rationalSectionChernRelativeClass_eq_divisorThom V L, map_smul, |
| 160 | L.rationalSectionDivisorThomClass_absolute] |
| 161 | rfl |
| 162 | |
| 163 | /-- Every actual algebraic line bundle has an actual rational cycle |
| 164 | representing its original rational Chern class under the Thom cycle map. -/ |
| 165 | theorem firstChernClassQ_is_Thom_algebraic (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 166 | (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle V.presentation) : |
| 167 | ∃ z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V 1, |
| 168 | V.rationalCycleClass 1 z = DivisorClass.Chern.First.firstChernClassQ V.presentation L := by |
| 169 | let z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V 1 := L.rationalSectionDivisorThomCycle |
| 170 | refine ⟨(-WindingResidue.Constructions.ExponentialCocycle.windingNormalCoefficient) • z, ?_⟩ |
| 171 | rw [map_smul] |
| 172 | exact (firstChernClassQ_eq_divisorThom V L).symm |
| 173 | |
| 174 | theorem firstChern_span_is_Thom_algebraic (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 175 | (a : V.rationalCohomology 2) |
| 176 | (ha : a ∈ Submodule.span ℚ (Set.range (DivisorClass.Chern.First.firstChernClassQ V.presentation))) : |
| 177 | ∃ z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V 1, V.rationalCycleClass 1 z = a := by |
| 178 | have hspan : Submodule.span ℚ (Set.range (DivisorClass.Chern.First.firstChernClassQ V.presentation)) ≤ |
| 179 | LinearMap.range (V.rationalCycleClass 1) := by |
| 180 | apply Submodule.span_le.mpr |
| 181 | rintro _ ⟨L, rfl⟩ |
| 182 | exact firstChernClassQ_is_Thom_algebraic V L |
| 183 | exact hspan ha |
| 184 | |
| 185 | end |
| 186 | |
| 187 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ConcreteDivisorNeighborhood.Constructions |