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.Resolution.Blowups.ChartLift |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialControlledTransform |
| 3 | |
| 4 | /-! # Polynomial Blowup Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialBlowupChart.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual Rees charts for a center `(I,z)` in a polynomial ring. -/ |
| 11 | |
| 12 | open _root_.Polynomial |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | |
| 18 | /-- The coefficient `a`, viewed as a chosen element of the center `(I,z)`. -/ |
| 19 | def polynomialCenterElement (I : Ideal R) (a : I) : Coefficient.Filtration.Construction.polynomialCenterIdeal I := |
| 20 | ⟨C a.val, (show I.map C ≤ Coefficient.Filtration.Construction.polynomialCenterIdeal I from le_sup_left) |
| 21 | (Ideal.mem_map_of_mem C a.property)⟩ |
| 22 | |
| 23 | /-- The actual homogeneous-localization chart with denominator `a`. -/ |
| 24 | abbrev polynomialBlowupChart (I : Ideal R) (a : I) := |
| 25 | Blowup.Charts.Construction.blowupChart (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) |
| 26 | |
| 27 | def polynomialBlowupBase (I : Ideal R) (a : I) : R[X] →+* polynomialBlowupChart I a := |
| 28 | Blowup.Charts.Construction.blowupChartConstants (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) |
| 29 | |
| 30 | def polynomialBlowupCoefficientBase (I : Ideal R) (a : I) : R →+* polynomialBlowupChart I a := |
| 31 | (polynomialBlowupBase I a).comp C |
| 32 | |
| 33 | theorem polynomialBlowupCoefficientBase_center (I : Ideal R) (a : I) : |
| 34 | I.map (polynomialBlowupCoefficientBase I a) = |
| 35 | Ideal.span {polynomialBlowupCoefficientBase I a a.val} := by |
| 36 | apply le_antisymm |
| 37 | · change I.map ((polynomialBlowupBase I a).comp C) ≤ _ |
| 38 | rw [← Ideal.map_map] |
| 39 | apply (Ideal.map_mono (show I.map C ≤ Coefficient.Filtration.Construction.polynomialCenterIdeal I from le_sup_left)).trans |
| 40 | exact (ExceptionalIdeal.Construction.blowupChart_extendedIdeal (Coefficient.Filtration.Construction.polynomialCenterIdeal I) |
| 41 | (polynomialCenterElement I a)).le |
| 42 | · rw [Ideal.span_singleton_le_iff_mem] |
| 43 | exact Ideal.mem_map_of_mem _ a.property |
| 44 | |
| 45 | theorem polynomialBlowupCoefficientBase_regular (I : Ideal R) (a : I) : |
| 46 | IsRegular (polynomialBlowupCoefficientBase I a a.val) := |
| 47 | ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) |
| 48 | |
| 49 | /-- The smaller coefficient blowup chart maps to the full chart. -/ |
| 50 | def polynomialBlowupCoefficientMap (I : Ideal R) (a : I) : |
| 51 | Blowup.Charts.Construction.blowupChart I a →+* polynomialBlowupChart I a := |
| 52 | ChartLift.Construction.blowupChartLift I a (polynomialBlowupCoefficientBase I a) |
| 53 | (polynomialBlowupCoefficientBase_center I a) (polynomialBlowupCoefficientBase_regular I a) |
| 54 | |
| 55 | theorem polynomialBlowupCoefficientMap_constants (I : Ideal R) (a : I) (r : R) : |
| 56 | polynomialBlowupCoefficientMap I a (Blowup.Charts.Construction.blowupChartConstants I a r) = |
| 57 | polynomialBlowupBase I a (C r) := |
| 58 | ChartLift.Construction.blowupChartLift_constants I a (polynomialBlowupCoefficientBase I a) |
| 59 | (polynomialBlowupCoefficientBase_center I a) (polynomialBlowupCoefficientBase_regular I a) r |
| 60 | |
| 61 | /-- The new distinguished coordinate is the actual homogeneous fraction `z/a`. -/ |
| 62 | def polynomialBlowupNewVariable (I : Ideal R) (a : I) : polynomialBlowupChart I a := |
| 63 | ExceptionalIdeal.Construction.blowupChartRatio (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) |
| 64 | ⟨X, (show Ideal.span {X} ≤ Coefficient.Filtration.Construction.polynomialCenterIdeal I from le_sup_right) |
| 65 | (Ideal.subset_span (Set.mem_singleton X))⟩ |
| 66 | |
| 67 | theorem polynomialBlowupNewVariable_relation (I : Ideal R) (a : I) : |
| 68 | polynomialBlowupBase I a (C a.val) * polynomialBlowupNewVariable I a = |
| 69 | polynomialBlowupBase I a X := |
| 70 | ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) _ |
| 71 | |
| 72 | /-- Polynomial evaluation gives one direction of the chart identification. -/ |
| 73 | def polynomialBlowupFromPolynomial (I : Ideal R) (a : I) : |
| 74 | (Blowup.Charts.Construction.blowupChart I a)[X] →+* polynomialBlowupChart I a := |
| 75 | eval₂RingHom (polynomialBlowupCoefficientMap I a) (polynomialBlowupNewVariable I a) |
| 76 | |
| 77 | theorem scaledPolynomialMap_center_eq (I : Ideal R) (a : I) : |
| 78 | (Coefficient.Filtration.Construction.polynomialCenterIdeal I).map |
| 79 | (PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val)) = |
| 80 | Ideal.span {C (Blowup.Charts.Construction.blowupChartConstants I a a.val)} := by |
| 81 | apply le_antisymm |
| 82 | · exact PolynomialControlledTransform.Construction.scaledPolynomialMap_center_le I _ _ (ExceptionalIdeal.Construction.blowupChart_extendedIdeal I a).le |
| 83 | · rw [Ideal.span_singleton_le_iff_mem] |
| 84 | have h := Ideal.mem_map_of_mem |
| 85 | (PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val)) |
| 86 | (polynomialCenterElement I a).property |
| 87 | simpa only [polynomialCenterElement, PolynomialControlledTransform.Construction.scaledPolynomialMap_apply, map_C, C_comp] using h |
| 88 | |
| 89 | /-- The chart universal property supplies the reverse map to the polynomial ring. -/ |
| 90 | def polynomialBlowupToPolynomial (I : Ideal R) (a : I) : |
| 91 | polynomialBlowupChart I a →+* (Blowup.Charts.Construction.blowupChart I a)[X] := |
| 92 | ChartLift.Construction.blowupChartLift (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) |
| 93 | (PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val)) |
| 94 | (by |
| 95 | simpa only [polynomialCenterElement, PolynomialControlledTransform.Construction.scaledPolynomialMap_apply, map_C, C_comp] |
| 96 | using scaledPolynomialMap_center_eq I a) |
| 97 | (by |
| 98 | simpa only [polynomialCenterElement, PolynomialControlledTransform.Construction.scaledPolynomialMap_apply, map_C, C_comp] |
| 99 | using PolynomialControlledTransform.Construction.polynomial_C_regular (Blowup.Charts.Construction.blowupChartConstants I a a.val) |
| 100 | (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a)) |
| 101 | |
| 102 | theorem polynomialBlowupToPolynomial_base (I : Ideal R) (a : I) (p : R[X]) : |
| 103 | polynomialBlowupToPolynomial I a (polynomialBlowupBase I a p) = |
| 104 | PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val) p := |
| 105 | ChartLift.Construction.blowupChartLift_constants (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) _ _ _ p |
| 106 | |
| 107 | theorem polynomialBlowupFromPolynomial_C (I : Ideal R) (a : I) (r : Blowup.Charts.Construction.blowupChart I a) : |
| 108 | polynomialBlowupFromPolynomial I a (C r) = polynomialBlowupCoefficientMap I a r := |
| 109 | eval₂_C _ _ |
| 110 | |
| 111 | theorem polynomialBlowupFromPolynomial_X (I : Ideal R) (a : I) : |
| 112 | polynomialBlowupFromPolynomial I a X = polynomialBlowupNewVariable I a := |
| 113 | eval₂_X _ _ |
| 114 | |
| 115 | /-- Composing the coordinate substitution with evaluation on the actual |
| 116 | chart recovers its original base map. -/ |
| 117 | theorem polynomialBlowupFromPolynomial_scaled (I : Ideal R) (a : I) : |
| 118 | (polynomialBlowupFromPolynomial I a).comp |
| 119 | (PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val)) = |
| 120 | polynomialBlowupBase I a := by |
| 121 | apply Polynomial.ringHom_ext |
| 122 | · intro r |
| 123 | change polynomialBlowupFromPolynomial I a |
| 124 | (PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val) (C r)) = _ |
| 125 | rw [PolynomialControlledTransform.Construction.scaledPolynomialMap_apply, map_C, C_comp, polynomialBlowupFromPolynomial_C, |
| 126 | polynomialBlowupCoefficientMap_constants] |
| 127 | · change polynomialBlowupFromPolynomial I a |
| 128 | (PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val) X) = _ |
| 129 | rw [PolynomialControlledTransform.Construction.scaledPolynomialMap_apply, map_X, X_comp, map_mul, |
| 130 | polynomialBlowupFromPolynomial_C, polynomialBlowupFromPolynomial_X, |
| 131 | polynomialBlowupCoefficientMap_constants, polynomialBlowupNewVariable_relation] |
| 132 | |
| 133 | theorem polynomialBlowupToPolynomial_coefficientMap (I : Ideal R) (a : I) : |
| 134 | (polynomialBlowupToPolynomial I a).comp (polynomialBlowupCoefficientMap I a) = |
| 135 | (C : Blowup.Charts.Construction.blowupChart I a →+* (Blowup.Charts.Construction.blowupChart I a)[X]) := by |
| 136 | apply ChartLift.Construction.blowupChart_hom_ext I a (C.comp (Blowup.Charts.Construction.blowupChartConstants I a)) |
| 137 | (PolynomialControlledTransform.Construction.polynomial_C_regular _ (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a)) |
| 138 | · intro r |
| 139 | change polynomialBlowupToPolynomial I a |
| 140 | (polynomialBlowupCoefficientMap I a (Blowup.Charts.Construction.blowupChartConstants I a r)) = _ |
| 141 | rw [polynomialBlowupCoefficientMap_constants, polynomialBlowupToPolynomial_base, |
| 142 | PolynomialControlledTransform.Construction.scaledPolynomialMap_apply, map_C, C_comp] |
| 143 | rfl |
| 144 | · intro r |
| 145 | rfl |
| 146 | |
| 147 | theorem polynomialBlowupToPolynomial_newVariable (I : Ideal R) (a : I) : |
| 148 | polynomialBlowupToPolynomial I a (polynomialBlowupNewVariable I a) = X := by |
| 149 | apply (PolynomialControlledTransform.Construction.polynomial_C_regular _ (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a)).left |
| 150 | have h := congrArg (polynomialBlowupToPolynomial I a) |
| 151 | (polynomialBlowupNewVariable_relation I a) |
| 152 | simpa only [map_mul, polynomialBlowupToPolynomial_base, PolynomialControlledTransform.Construction.scaledPolynomialMap_apply, |
| 153 | map_C, C_comp, map_X, X_comp] using h |
| 154 | |
| 155 | theorem polynomialBlowupFromPolynomial_toPolynomial (I : Ideal R) (a : I) : |
| 156 | (polynomialBlowupFromPolynomial I a).comp (polynomialBlowupToPolynomial I a) = |
| 157 | RingHom.id (polynomialBlowupChart I a) := by |
| 158 | apply ChartLift.Construction.blowupChart_hom_ext (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a) |
| 159 | (polynomialBlowupBase I a) |
| 160 | (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (polynomialCenterElement I a)) |
| 161 | · intro p |
| 162 | change polynomialBlowupFromPolynomial I a |
| 163 | (polynomialBlowupToPolynomial I a (polynomialBlowupBase I a p)) = _ |
| 164 | rw [polynomialBlowupToPolynomial_base] |
| 165 | exact congrArg (fun f : R[X] →+* polynomialBlowupChart I a => f p) |
| 166 | (polynomialBlowupFromPolynomial_scaled I a) |
| 167 | · intro p |
| 168 | rfl |
| 169 | |
| 170 | theorem polynomialBlowupToPolynomial_fromPolynomial (I : Ideal R) (a : I) : |
| 171 | (polynomialBlowupToPolynomial I a).comp (polynomialBlowupFromPolynomial I a) = |
| 172 | RingHom.id ((Blowup.Charts.Construction.blowupChart I a)[X]) := by |
| 173 | apply Polynomial.ringHom_ext |
| 174 | · intro r |
| 175 | change polynomialBlowupToPolynomial I a |
| 176 | (polynomialBlowupFromPolynomial I a (C r)) = C r |
| 177 | rw [polynomialBlowupFromPolynomial_C] |
| 178 | exact congrArg (fun f : Blowup.Charts.Construction.blowupChart I a →+* (Blowup.Charts.Construction.blowupChart I a)[X] => f r) |
| 179 | (polynomialBlowupToPolynomial_coefficientMap I a) |
| 180 | · change polynomialBlowupToPolynomial I a (polynomialBlowupFromPolynomial I a X) = X |
| 181 | rw [polynomialBlowupFromPolynomial_X, polynomialBlowupToPolynomial_newVariable] |
| 182 | |
| 183 | /-- The actual Rees chart for `(I,z)` with denominator `a` is the polynomial |
| 184 | ring over `R[I/a]`, with new variable `z/a`. -/ |
| 185 | def polynomialBlowupChartEquiv (I : Ideal R) (a : I) : |
| 186 | polynomialBlowupChart I a ≃+* (Blowup.Charts.Construction.blowupChart I a)[X] := |
| 187 | RingEquiv.ofRingHom (polynomialBlowupToPolynomial I a) (polynomialBlowupFromPolynomial I a) |
| 188 | (polynomialBlowupToPolynomial_fromPolynomial I a) |
| 189 | (polynomialBlowupFromPolynomial_toPolynomial I a) |
| 190 | |
| 191 | theorem polynomialBlowupChartEquiv_base (I : Ideal R) (a : I) (p : R[X]) : |
| 192 | polynomialBlowupChartEquiv I a (polynomialBlowupBase I a p) = |
| 193 | (p.map (Blowup.Charts.Construction.blowupChartConstants I a)).comp (C (Blowup.Charts.Construction.blowupChartConstants I a a.val) * X) := |
| 194 | polynomialBlowupToPolynomial_base I a p |
| 195 | |
| 196 | end |
| 197 | |
| 198 | end OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialBlowupChart.Construction |