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 Mathlib.RingTheory.MvPolynomial.Ideal |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | |
| 5 | /-! # Center Blowup -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.CenterBlowup.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual blowup charts for centers cut out by independent polynomial coordinates. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {σ R : Type u} [CommRing R] |
| 18 | |
| 19 | abbrev coordinateCenterElement (i : σ) : idealOfVars σ R := |
| 20 | ⟨X i, Ideal.subset_span ⟨i, rfl⟩⟩ |
| 21 | |
| 22 | abbrev coordinateCenterBlowupChart (i : σ) := |
| 23 | Blowup.Charts.Construction.blowupChart (idealOfVars σ R) (coordinateCenterElement (R := R) i) |
| 24 | |
| 25 | /-- The standard coordinate substitution on the chart with denominator `X i`. -/ |
| 26 | def coordinateBlowupSubstitution (i : σ) : MvPolynomial σ R →+* MvPolynomial σ R := by |
| 27 | classical |
| 28 | exact eval₂Hom C (fun j => if j = i then X i else X i * X j) |
| 29 | |
| 30 | theorem coordinateBlowupSubstitution_C (i : σ) (r : R) : |
| 31 | coordinateBlowupSubstitution i (C r) = C r := by |
| 32 | classical |
| 33 | simp [coordinateBlowupSubstitution] |
| 34 | |
| 35 | theorem coordinateBlowupSubstitution_X_self (i : σ) : |
| 36 | coordinateBlowupSubstitution (R := R) i (X i) = X i := by |
| 37 | classical |
| 38 | simp [coordinateBlowupSubstitution] |
| 39 | |
| 40 | theorem coordinateBlowupSubstitution_X_ne (i j : σ) (hji : j ≠ i) : |
| 41 | coordinateBlowupSubstitution (R := R) i (X j) = X i * X j := by |
| 42 | classical |
| 43 | simp [coordinateBlowupSubstitution, hji] |
| 44 | |
| 45 | theorem coordinateBlowupSubstitution_center (i : σ) : |
| 46 | (idealOfVars σ R).map (coordinateBlowupSubstitution i) = Ideal.span {X i} := by |
| 47 | apply le_antisymm |
| 48 | · rw [Ideal.map_le_iff_le_comap] |
| 49 | apply Ideal.span_le.mpr |
| 50 | rintro r ⟨j, rfl⟩ |
| 51 | change coordinateBlowupSubstitution i (X j) ∈ Ideal.span {X i} |
| 52 | by_cases hji : j = i |
| 53 | · subst j |
| 54 | rw [coordinateBlowupSubstitution_X_self] |
| 55 | exact Ideal.mem_span_singleton_self _ |
| 56 | · rw [coordinateBlowupSubstitution_X_ne i j hji] |
| 57 | exact Ideal.mul_mem_right _ _ (Ideal.mem_span_singleton_self _) |
| 58 | · rw [Ideal.span_singleton_le_iff_mem] |
| 59 | rw [← coordinateBlowupSubstitution_X_self (R := R) i] |
| 60 | exact Ideal.mem_map_of_mem _ (Ideal.subset_span ⟨i, rfl⟩) |
| 61 | |
| 62 | /-- The actual chart maps to a polynomial ring through its universal property. -/ |
| 63 | def coordinateBlowupToPolynomial (i : σ) : coordinateCenterBlowupChart (R := R) i →+* MvPolynomial σ R := |
| 64 | ChartLift.Construction.blowupChartLift (idealOfVars σ R) (coordinateCenterElement i) (coordinateBlowupSubstitution i) |
| 65 | (by simpa only [coordinateCenterElement, coordinateBlowupSubstitution_X_self] using |
| 66 | coordinateBlowupSubstitution_center (R := R) i) |
| 67 | (by simpa only [coordinateCenterElement, coordinateBlowupSubstitution_X_self] using |
| 68 | (isRegular_X (R := R) (n := i))) |
| 69 | |
| 70 | theorem coordinateBlowupToPolynomial_constants (i : σ) (p : MvPolynomial σ R) : |
| 71 | coordinateBlowupToPolynomial i (Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i) p) = |
| 72 | coordinateBlowupSubstitution i p := |
| 73 | ChartLift.Construction.blowupChartLift_constants _ _ _ _ _ p |
| 74 | |
| 75 | /-- The polynomial coordinates on the chart are its exceptional parameter |
| 76 | and the ratios of all the other center coordinates to that parameter. -/ |
| 77 | def polynomialToCoordinateBlowup (i : σ) : MvPolynomial σ R →+* coordinateCenterBlowupChart (R := R) i := by |
| 78 | classical |
| 79 | exact eval₂Hom ((Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i)).comp C) |
| 80 | (fun j => if j = i then Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i) (X i) |
| 81 | else ExceptionalIdeal.Construction.blowupChartRatio (idealOfVars σ R) (coordinateCenterElement i) (coordinateCenterElement j)) |
| 82 | |
| 83 | theorem polynomialToCoordinateBlowup_C (i : σ) (r : R) : |
| 84 | polynomialToCoordinateBlowup i (C r) = |
| 85 | Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i) (C r) := by |
| 86 | classical |
| 87 | simp [polynomialToCoordinateBlowup] |
| 88 | |
| 89 | theorem polynomialToCoordinateBlowup_X_self (i : σ) : |
| 90 | polynomialToCoordinateBlowup (R := R) i (X i) = |
| 91 | Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i) (X i) := by |
| 92 | classical |
| 93 | simp [polynomialToCoordinateBlowup] |
| 94 | |
| 95 | theorem polynomialToCoordinateBlowup_X_ne (i j : σ) (hji : j ≠ i) : |
| 96 | polynomialToCoordinateBlowup (R := R) i (X j) = |
| 97 | ExceptionalIdeal.Construction.blowupChartRatio (idealOfVars σ R) (coordinateCenterElement i) (coordinateCenterElement j) := by |
| 98 | classical |
| 99 | simp [polynomialToCoordinateBlowup, hji] |
| 100 | |
| 101 | theorem polynomialToCoordinateBlowup_substitution (i : σ) : |
| 102 | (polynomialToCoordinateBlowup (R := R) i).comp (coordinateBlowupSubstitution i) = |
| 103 | Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i) := by |
| 104 | apply MvPolynomial.ringHom_ext |
| 105 | · intro r |
| 106 | rw [RingHom.comp_apply, coordinateBlowupSubstitution_C, polynomialToCoordinateBlowup_C] |
| 107 | · intro j |
| 108 | rw [RingHom.comp_apply] |
| 109 | by_cases hji : j = i |
| 110 | · subst j |
| 111 | rw [coordinateBlowupSubstitution_X_self, polynomialToCoordinateBlowup_X_self] |
| 112 | · rw [coordinateBlowupSubstitution_X_ne i j hji, map_mul, polynomialToCoordinateBlowup_X_self, |
| 113 | polynomialToCoordinateBlowup_X_ne i j hji] |
| 114 | exact ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio (idealOfVars σ R) (coordinateCenterElement i) (coordinateCenterElement j) |
| 115 | |
| 116 | theorem coordinateBlowupToPolynomial_ratio (i j : σ) (hji : j ≠ i) : |
| 117 | coordinateBlowupToPolynomial (R := R) i |
| 118 | (ExceptionalIdeal.Construction.blowupChartRatio (idealOfVars σ R) (coordinateCenterElement i) (coordinateCenterElement j)) = X j := by |
| 119 | apply (isRegular_X (R := R) (n := i)).left |
| 120 | have h := congrArg (coordinateBlowupToPolynomial (R := R) i) |
| 121 | (ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio (idealOfVars σ R) (coordinateCenterElement i) (coordinateCenterElement j)) |
| 122 | simpa only [map_mul, coordinateBlowupToPolynomial_constants, coordinateCenterElement, |
| 123 | coordinateBlowupSubstitution_X_self, coordinateBlowupSubstitution_X_ne i j hji] using h |
| 124 | |
| 125 | theorem coordinateBlowupToPolynomial_fromPolynomial (i : σ) : |
| 126 | (coordinateBlowupToPolynomial (R := R) i).comp (polynomialToCoordinateBlowup i) = |
| 127 | RingHom.id (MvPolynomial σ R) := by |
| 128 | apply MvPolynomial.ringHom_ext |
| 129 | · intro r |
| 130 | rw [RingHom.comp_apply, polynomialToCoordinateBlowup_C, |
| 131 | coordinateBlowupToPolynomial_constants, coordinateBlowupSubstitution_C] |
| 132 | rfl |
| 133 | · intro j |
| 134 | rw [RingHom.comp_apply] |
| 135 | by_cases hji : j = i |
| 136 | · subst j |
| 137 | rw [polynomialToCoordinateBlowup_X_self, coordinateBlowupToPolynomial_constants, |
| 138 | coordinateBlowupSubstitution_X_self] |
| 139 | rfl |
| 140 | · rw [polynomialToCoordinateBlowup_X_ne i j hji, coordinateBlowupToPolynomial_ratio i j hji] |
| 141 | rfl |
| 142 | |
| 143 | theorem polynomialToCoordinateBlowup_toPolynomial (i : σ) : |
| 144 | (polynomialToCoordinateBlowup (R := R) i).comp (coordinateBlowupToPolynomial i) = |
| 145 | RingHom.id (coordinateCenterBlowupChart (R := R) i) := by |
| 146 | apply ChartLift.Construction.blowupChart_hom_ext (idealOfVars σ R) (coordinateCenterElement i) |
| 147 | (Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i)) |
| 148 | (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular _ _) |
| 149 | · intro p |
| 150 | rw [RingHom.comp_apply, coordinateBlowupToPolynomial_constants] |
| 151 | exact congrArg (fun f : MvPolynomial σ R →+* coordinateCenterBlowupChart (R := R) i => f p) |
| 152 | (polynomialToCoordinateBlowup_substitution i) |
| 153 | · intro p |
| 154 | rfl |
| 155 | |
| 156 | /-- Each actual chart of the blowup of a coordinate center is an affine |
| 157 | space with the same number of coordinates as the original ambient space. -/ |
| 158 | def coordinateCenterBlowupChartEquiv (i : σ) : |
| 159 | coordinateCenterBlowupChart (R := R) i ≃+* MvPolynomial σ R := |
| 160 | RingEquiv.ofRingHom (coordinateBlowupToPolynomial i) (polynomialToCoordinateBlowup i) |
| 161 | (coordinateBlowupToPolynomial_fromPolynomial i) (polynomialToCoordinateBlowup_toPolynomial i) |
| 162 | |
| 163 | /-- The chart's coefficient algebra is the one induced by its actual base map. -/ |
| 164 | abbrev coordinateCenterBlowupAlgebra (i : σ) : Algebra R (coordinateCenterBlowupChart (R := R) i) := |
| 165 | ((Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i)).comp C).toAlgebra |
| 166 | |
| 167 | attribute [local instance] coordinateCenterBlowupAlgebra |
| 168 | |
| 169 | /-- The explicit chart identification also preserves all base coefficients. -/ |
| 170 | def coordinateCenterBlowupChartAlgEquiv (i : σ) : |
| 171 | coordinateCenterBlowupChart (R := R) i ≃ₐ[R] MvPolynomial σ R where |
| 172 | __ := coordinateCenterBlowupChartEquiv i |
| 173 | commutes' r := (coordinateBlowupToPolynomial_constants i (C r)).trans (coordinateBlowupSubstitution_C i r) |
| 174 | |
| 175 | /-- Blowup charts of a center generated by finitely many independent |
| 176 | coordinates are smooth over the coefficient ring. -/ |
| 177 | theorem coordinateCenterBlowupChart_smooth [Finite σ] (i : σ) : |
| 178 | Algebra.Smooth R (coordinateCenterBlowupChart (R := R) i) := by |
| 179 | let : Algebra.Smooth R (MvPolynomial σ R) := ⟨inferInstance, inferInstance⟩ |
| 180 | exact Algebra.Smooth.of_equiv (coordinateCenterBlowupChartAlgEquiv i).symm |
| 181 | |
| 182 | /-- The actual affine chart morphism to the coefficient base is smooth. -/ |
| 183 | theorem coordinateCenterBlowupChart_scheme_smooth [Finite σ] (i : σ) : |
| 184 | AlgebraicGeometry.Smooth (AlgebraicGeometry.Spec.map (CommRingCat.ofHom |
| 185 | ((Blowup.Charts.Construction.blowupChartConstants (idealOfVars σ R) (coordinateCenterElement i)).comp C))) := by |
| 186 | rw [AlgebraicGeometry.HasRingHomProperty.Spec_iff (P := @AlgebraicGeometry.Smooth)] |
| 187 | exact (RingHom.smooth_algebraMap (R := R) (S := coordinateCenterBlowupChart (R := R) i)).mpr |
| 188 | (coordinateCenterBlowupChart_smooth i) |
| 189 | |
| 190 | end |
| 191 | |
| 192 | end OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.CenterBlowup.Construction |