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.IntersectionTheory.ProjectionFormula.General.DivisorDescent |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DisconnectedDivisorDescent |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.SimultaneousMoving |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 5 | |
| 6 | /-! # Divisor Intersection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.DivisorIntersection |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Descent of both divisor-intersection inputs in every dimension and codimension, |
| 15 | using the actual open and closed integral components. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | namespace DisconnectedDescent |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Image OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.CycleMaps OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 24 | |
| 25 | theorem intersection_congr (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) |
| 26 | [SmoothOfRelativeDimension m X.structureMap] |
| 27 | (a a' : X.RationalDimensionCycle 1) (b b' : X.RationalDimensionCycle (k + 1)) |
| 28 | (ha : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a a') (hb : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (k + 1) b b') |
| 29 | (hp : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 (k + 1) a b) (hp' : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 (k + 1) a' b') : |
| 30 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (1 + (k + 1)) (Supports.ProperCycle.intersectionBilinear X m 1 (k + 1) a b) (Supports.ProperCycle.intersectionBilinear X m 1 (k + 1) a' b') := by |
| 31 | apply (Component.Principal.CycleDecomposition.rationallyEquivalent_iff X m (1 + (k + 1)) _ _).mpr |
| 32 | intro C |
| 33 | let := Component.Image.component_relativeDimension X m C |
| 34 | rw [Component.Bilinear.restrict_bilinear X m C 1 (k + 1) a b, |
| 35 | Component.Bilinear.restrict_bilinear X m C 1 (k + 1) a' b'] |
| 36 | exact DivisorDescent.intersection_congr (X.componentVariety C).presentation m k _ _ _ _ |
| 37 | ((Component.Principal.CycleDecomposition.rationallyEquivalent_iff X m 1 a a').mp ha C) |
| 38 | ((Component.Principal.CycleDecomposition.rationallyEquivalent_iff X m (k + 1) b b').mp hb C) |
| 39 | (DisconnectedDivisorDescent.meetProperly_restrict X C 1 (k + 1) a b hp) |
| 40 | (DisconnectedDivisorDescent.meetProperly_restrict X C 1 (k + 1) a' b' hp') |
| 41 | |
| 42 | end DisconnectedDescent |
| 43 | |
| 44 | end |
| 45 | |
| 46 | section |
| 47 | |
| 48 | /-! The Chow value of divisor intersection is independent of |
| 49 | representatives and bilinear in every dimension and positive codimension. -/ |
| 50 | |
| 51 | set_option backward.isDefEq.respectTransparency false |
| 52 | |
| 53 | open _root_.AlgebraicGeometry |
| 54 | open scoped Classical |
| 55 | |
| 56 | namespace Value |
| 57 | |
| 58 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 59 | |
| 60 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 61 | |
| 62 | def moved (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) : X.RationalDimensionCycle 1 := |
| 63 | (Divisor.SimultaneousMoving.move_pair X m (k + 1) a b b).choose |
| 64 | |
| 65 | theorem moved_spec (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) : |
| 66 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a (moved X m k a b) ∧ CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 (k + 1) (moved X m k a b) b := |
| 67 | by |
| 68 | have h := (Divisor.SimultaneousMoving.move_pair X m (k + 1) a b b).choose_spec |
| 69 | exact ⟨h.1, h.2.1⟩ |
| 70 | |
| 71 | def value (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) : ProperCycleLinearity.ChowQ X (1 + (k + 1)) := |
| 72 | ProperCycleLinearity.cycleToChowQ X (1 + (k + 1)) (Supports.ProperCycle.intersectionBilinear X m 1 (k + 1) (moved X m k a b) b) |
| 73 | |
| 74 | theorem value_of_proper (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) |
| 75 | (hp : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 (k + 1) a b) : value X m k a b = ProperCycleLinearity.cycleToChowQ X (1 + (k + 1)) (Supports.ProperCycle.intersectionBilinear X m 1 (k + 1) a b) := by |
| 76 | apply (ProperCycleLinearity.cycleToChowQ_eq_iff X (1 + (k + 1)) _ _).mpr |
| 77 | exact DisconnectedDescent.intersection_congr X m k _ a b b |
| 78 | (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_symm X 1 (moved_spec X m k a b).1) (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) b) |
| 79 | (moved_spec X m k a b).2 hp |
| 80 | |
| 81 | theorem value_congr (a a' : X.RationalDimensionCycle 1) (b b' : X.RationalDimensionCycle (k + 1)) |
| 82 | (ha : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a a') (hb : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (k + 1) b b') : |
| 83 | value X m k a b = value X m k a' b' := by |
| 84 | apply (ProperCycleLinearity.cycleToChowQ_eq_iff X (1 + (k + 1)) _ _).mpr |
| 85 | exact DisconnectedDescent.intersection_congr X m k _ _ b b' |
| 86 | (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_trans X 1 (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_symm X 1 (moved_spec X m k a b).1) |
| 87 | (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_trans X 1 ha (moved_spec X m k a' b').1)) hb |
| 88 | (moved_spec X m k a b).2 (moved_spec X m k a' b').2 |
| 89 | |
| 90 | theorem value_add_right (a : X.RationalDimensionCycle 1) (b c : X.RationalDimensionCycle (k + 1)) : |
| 91 | value X m k a (b + c) = value X m k a b + value X m k a c := by |
| 92 | obtain ⟨u, hu, hub, huc⟩ := Divisor.SimultaneousMoving.move_pair X m (k + 1) a b c |
| 93 | have hv (v : X.RationalDimensionCycle (k + 1)) := value_congr X m k a u v v hu (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) v) |
| 94 | rw [hv (b + c), hv b, hv c, value_of_proper X m k u (b + c) (ProperCycleLinearity.add_right X 1 (k + 1) u b c hub huc), |
| 95 | value_of_proper X m k u b hub, value_of_proper X m k u c huc, map_add, map_add] |
| 96 | |
| 97 | theorem value_smul_right (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) (q : ℚ) : |
| 98 | value X m k a (q • b) = q • value X m k a b := by |
| 99 | let u := moved X m k a b |
| 100 | have hu := moved_spec X m k a b |
| 101 | have hv (v : X.RationalDimensionCycle (k + 1)) := value_congr X m k a u v v hu.1 (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) v) |
| 102 | rw [hv (q • b), hv b, value_of_proper X m k u (q • b) (ProperCycleLinearity.smul_right X 1 (k + 1) u b q hu.2), |
| 103 | value_of_proper X m k u b hu.2, map_smul, map_smul] |
| 104 | |
| 105 | theorem value_add_left (a b : X.RationalDimensionCycle 1) (c : X.RationalDimensionCycle (k + 1)) : |
| 106 | value X m k (a + b) c = value X m k a c + value X m k b c := by |
| 107 | let u := moved X m k a c |
| 108 | let v := moved X m k b c |
| 109 | have hu := moved_spec X m k a c |
| 110 | have hv := moved_spec X m k b c |
| 111 | have huv : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 (k + 1) (u + v) c := by |
| 112 | intro D hD A hA |
| 113 | rcases Finset.mem_union.mp (Finsupp.support_add hD) with hD | hD |
| 114 | · exact hu.2 D hD A hA |
| 115 | · exact hv.2 D hD A hA |
| 116 | have he : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 (a + b) (u + v) := by |
| 117 | have h := Submodule.add_mem (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1) hu.1 hv.1 |
| 118 | change (a - u) + (b - v) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1 at h |
| 119 | change (a + b) - (u + v) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1 |
| 120 | convert h using 1 |
| 121 | abel |
| 122 | rw [value_congr X m k (a + b) (u + v) c c he (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) c), |
| 123 | value_congr X m k a u c c hu.1 (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) c), |
| 124 | value_congr X m k b v c c hv.1 (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) c), |
| 125 | value_of_proper X m k (u + v) c huv, value_of_proper X m k u c hu.2, value_of_proper X m k v c hv.2, |
| 126 | map_add, LinearMap.add_apply, map_add] |
| 127 | |
| 128 | theorem value_smul_left (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) (q : ℚ) : |
| 129 | value X m k (q • a) b = q • value X m k a b := by |
| 130 | let u := moved X m k a b |
| 131 | have hu := moved_spec X m k a b |
| 132 | have hqu : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 (k + 1) (q • u) b := fun D hD A hA => hu.2 D (Finsupp.support_smul hD) A hA |
| 133 | have he : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 (q • a) (q • u) := by |
| 134 | change q • a - q • u ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1 |
| 135 | rw [← smul_sub] |
| 136 | exact Submodule.smul_mem _ _ hu.1 |
| 137 | rw [value_congr X m k (q • a) (q • u) b b he (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) b), |
| 138 | value_congr X m k a u b b hu.1 (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) b), |
| 139 | value_of_proper X m k (q • u) b hqu, value_of_proper X m k u b hu.2, |
| 140 | map_smul, LinearMap.smul_apply, map_smul] |
| 141 | |
| 142 | end Value |
| 143 | |
| 144 | end |
| 145 | |
| 146 | /-! The exact bilinear map for divisor intersection in every dimension |
| 147 | and positive codimension, with the native relation as its singleton graph. -/ |
| 148 | |
| 149 | set_option backward.isDefEq.respectTransparency false |
| 150 | |
| 151 | open _root_.AlgebraicGeometry |
| 152 | |
| 153 | namespace Positive |
| 154 | |
| 155 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.DivisorIntersection.Value |
| 156 | |
| 157 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 158 | |
| 159 | def cycleMap : X.RationalDimensionCycle 1 →ₗ[ℚ] X.RationalDimensionCycle (k + 1) →ₗ[ℚ] ProperCycleLinearity.ChowQ X (1 + (k + 1)) := |
| 160 | LinearMap.mk₂ ℚ (Value.value X m k) (Value.value_add_left X m k) (fun q a b => Value.value_smul_left X m k a b q) |
| 161 | (Value.value_add_right X m k) (fun q a b => Value.value_smul_right X m k a b q) |
| 162 | |
| 163 | theorem cycleMap_relation_right (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) |
| 164 | (hb : b ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (k + 1)) : cycleMap X m k a b = 0 := by |
| 165 | have h : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (k + 1) b 0 := by simpa only [CycleClass.Thom.IntersectionGeometry.RationallyEquivalent, sub_zero] using hb |
| 166 | exact (Value.value_congr X m k a a b 0 (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X 1 a) h).trans ((cycleMap X m k a).map_zero) |
| 167 | |
| 168 | def onCycles : X.RationalDimensionCycle 1 →ₗ[ℚ] ProperCycleLinearity.ChowQ X (k + 1) →ₗ[ℚ] ProperCycleLinearity.ChowQ X (1 + (k + 1)) where |
| 169 | toFun a := (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (k + 1)).liftQ (cycleMap X m k a) (fun b hb => cycleMap_relation_right X m k a b hb) |
| 170 | map_add' a a' := by |
| 171 | apply LinearMap.ext |
| 172 | intro β |
| 173 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X (k + 1) β |
| 174 | change Value.value X m k (a + a') b = Value.value X m k a b + Value.value X m k a' b |
| 175 | exact Value.value_add_left X m k a a' b |
| 176 | map_smul' q a := by |
| 177 | apply LinearMap.ext |
| 178 | intro β |
| 179 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X (k + 1) β |
| 180 | change Value.value X m k (q • a) b = q • Value.value X m k a b |
| 181 | exact Value.value_smul_left X m k a b q |
| 182 | |
| 183 | def chowMap : ProperCycleLinearity.ChowQ X 1 →ₗ[ℚ] ProperCycleLinearity.ChowQ X (k + 1) →ₗ[ℚ] ProperCycleLinearity.ChowQ X (1 + (k + 1)) := |
| 184 | (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1).liftQ (onCycles X m k) (by |
| 185 | intro a ha |
| 186 | apply LinearMap.ext |
| 187 | intro β |
| 188 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X (k + 1) β |
| 189 | change Value.value X m k a b = 0 |
| 190 | have h : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a 0 := by simpa only [CycleClass.Thom.IntersectionGeometry.RationallyEquivalent, sub_zero] using ha |
| 191 | exact (Value.value_congr X m k a 0 b b h (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) b)).trans |
| 192 | (congrArg (fun F : X.RationalDimensionCycle (k + 1) →ₗ[ℚ] ProperCycleLinearity.ChowQ X (1 + (k + 1)) => F b) (cycleMap X m k).map_zero)) |
| 193 | |
| 194 | theorem chowMap_mk (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) : |
| 195 | chowMap X m k (ProperCycleLinearity.cycleToChowQ X 1 a) (ProperCycleLinearity.cycleToChowQ X (k + 1) b) = Value.value X m k a b := rfl |
| 196 | |
| 197 | theorem representsIntersection_iff (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle (k + 1)) |
| 198 | (c : X.RationalDimensionCycle (1 + (k + 1))) : |
| 199 | CycleClass.Thom.IntersectionGeometry.RepresentsIntersection X 1 (k + 1) a b c ↔ |
| 200 | ProperCycleLinearity.cycleToChowQ X (1 + (k + 1)) c = chowMap X m k (ProperCycleLinearity.cycleToChowQ X 1 a) (ProperCycleLinearity.cycleToChowQ X (k + 1) b) := by |
| 201 | rw [chowMap_mk] |
| 202 | constructor |
| 203 | · rintro ⟨a', b', c', ha, hb, hp, hc⟩ |
| 204 | rw [(ProperCycleLinearity.cycleToChowQ_eq_iff X (1 + (k + 1)) c c').mpr hc] |
| 205 | have he := CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X 1 (k + 1) hp (Supports.ProperCycle.intersectionBilinear_isProper X m 1 (k + 1) a' b' hp.1) |
| 206 | rw [he, ← Value.value_of_proper X m k a' b' hp.1] |
| 207 | exact Value.value_congr X m k a' a b' b (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_symm X 1 ha) (CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_symm X (k + 1) hb) |
| 208 | · intro h |
| 209 | refine ⟨Value.moved X m k a b, b, Supports.ProperCycle.intersectionBilinear X m 1 (k + 1) (Value.moved X m k a b) b, |
| 210 | (Value.moved_spec X m k a b).1, CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (k + 1) b, |
| 211 | Supports.ProperCycle.intersectionBilinear_isProper X m 1 (k + 1) _ b (Value.moved_spec X m k a b).2, ?_⟩ |
| 212 | exact (ProperCycleLinearity.cycleToChowQ_eq_iff X (1 + (k + 1)) _ _).mp h |
| 213 | |
| 214 | theorem chowIntersection_eq_singleton (a : ProperCycleLinearity.ChowQ X 1) (b : ProperCycleLinearity.ChowQ X (k + 1)) : |
| 215 | ProperCycleLinearity.chowIntersection X 1 (k + 1) a b = {chowMap X m k a b} := by |
| 216 | obtain ⟨a, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X 1 a |
| 217 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X (k + 1) b |
| 218 | ext c |
| 219 | obtain ⟨c, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X (1 + (k + 1)) c |
| 220 | rw [ProperCycleLinearity.chowIntersection_mk_iff, Set.mem_singleton_iff, representsIntersection_iff X m k] |
| 221 | |
| 222 | include m in |
| 223 | theorem chowIntersection_map_exists : |
| 224 | ∃ I : ProperCycleLinearity.ChowQ X 1 →ₗ[ℚ] ProperCycleLinearity.ChowQ X (k + 1) →ₗ[ℚ] ProperCycleLinearity.ChowQ X (1 + (k + 1)), |
| 225 | ∀ a b, ProperCycleLinearity.chowIntersection X 1 (k + 1) a b = {I a b} := |
| 226 | ⟨chowMap X m k, chowIntersection_eq_singleton X m k⟩ |
| 227 | |
| 228 | end Positive |
| 229 | |
| 230 | end |
| 231 | |
| 232 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.DivisorIntersection |