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.DifferentialOrder |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialControlledTransform |
| 3 | |
| 4 | /-! # Derivative Hypersurface Persistence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.DerivativeHypersurfacePersistence.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Persistence of derivative-defined coordinate hypersurfaces under controlled transforms. -/ |
| 11 | |
| 12 | open _root_.Polynomial |
| 13 | |
| 14 | variable {R S : Type*} [CommRing R] [CommRing S] |
| 15 | |
| 16 | /-- The usual formal derivative as a derivation over the coefficient ring. -/ |
| 17 | def polynomialDerivation : Derivation R R[X] R[X] := |
| 18 | Derivation.mk' derivative (by |
| 19 | intro p q |
| 20 | rw [derivative_mul] |
| 21 | change derivative p * q + p * derivative q = p * derivative q + q * derivative p |
| 22 | ring) |
| 23 | |
| 24 | /-- Repeated formal derivatives lower any ideal-power bound by at most |
| 25 | the number of differentiations. -/ |
| 26 | theorem iteratedPolynomialDerivative_mem_pow (M : Ideal R[X]) (n k : ℕ) |
| 27 | {p : R[X]} (hp : p ∈ M ^ (n + k)) : derivative^[k] p ∈ M ^ n := by |
| 28 | induction k generalizing n with |
| 29 | | zero => simpa using hp |
| 30 | | succ k ih => |
| 31 | rw [Function.iterate_succ_apply'] |
| 32 | apply DifferentialOrder.Construction.derivation_mem_pow (polynomialDerivation (R := R)) M n |
| 33 | apply ih (n + 1) |
| 34 | simpa only [Nat.add_assoc, Nat.add_comm 1 k] using hp |
| 35 | |
| 36 | /-- A derivative that is a unit multiple of the coordinate forces every |
| 37 | point of the corresponding high-order locus onto that coordinate hypersurface. -/ |
| 38 | theorem derivative_equation_forces_coordinate_mem (M : Ideal R[X]) (p : R[X]) |
| 39 | (b : ℕ) (u : R) (hu : IsUnit u) |
| 40 | (hd : derivative^[b] p = C u * X) (hp : p ∈ M ^ (b + 1)) : X ∈ M := by |
| 41 | have hder : derivative^[b] p ∈ M := by |
| 42 | simpa only [pow_one] using iteratedPolynomialDerivative_mem_pow M 1 b |
| 43 | (by simpa only [Nat.add_comm 1 b] using hp) |
| 44 | rw [hd] at hder |
| 45 | obtain ⟨v, hv⟩ := hu |
| 46 | rw [← hv] at hder |
| 47 | have h := M.mul_mem_left (C (v⁻¹ : Rˣ)) hder |
| 48 | simpa only [← mul_assoc, ← map_mul, Units.inv_mul, map_one, one_mul] using h |
| 49 | |
| 50 | /-- If `D^b p = u z`, the same derivative equation holds after the control |
| 51 | `b+1` transform, with `u` mapped to the new coefficient ring. -/ |
| 52 | theorem derivative_coordinate_equation_transforms (φ : R →+* S) |
| 53 | (p : R[X]) (q : S[X]) (c : S) (hc : IsRegular c) (b : ℕ) (u : R) |
| 54 | (hd : derivative^[b] p = C u * X) |
| 55 | (h : (p.map φ).comp (C c * X) = C (c ^ (b + 1)) * q) : |
| 56 | derivative^[b] q = C (φ u) * X := by |
| 57 | have he := ResidualCoefficientTransform.Construction.iteratedDerivative_controlledTransform φ p q c (b + 1) b hc (by omega) h |
| 58 | rw [hd, Polynomial.map_mul, map_C, map_X, mul_comp, C_comp, X_comp] at he |
| 59 | simp only [Nat.add_sub_cancel_left, pow_one] at he |
| 60 | apply (PolynomialControlledTransform.Construction.polynomial_C_regular c hc).left |
| 61 | calc |
| 62 | C c * derivative^[b] q = C (φ u) * (C c * X) := he.symm |
| 63 | _ = C c * (C (φ u) * X) := by ring |
| 64 | |
| 65 | /-- The transformed high-order locus remains in the transformed coordinate |
| 66 | hypersurface when the original coordinate has a unit derivative equation. -/ |
| 67 | theorem derivative_coordinate_hypersurface_persists (φ : R →+* S) |
| 68 | (p : R[X]) (q : S[X]) (c : S) (hc : IsRegular c) (b : ℕ) (u : R) |
| 69 | (hu : IsUnit u) (hd : derivative^[b] p = C u * X) |
| 70 | (h : (p.map φ).comp (C c * X) = C (c ^ (b + 1)) * q) |
| 71 | (M : Ideal S[X]) (hq : q ∈ M ^ (b + 1)) : X ∈ M := |
| 72 | derivative_equation_forces_coordinate_mem M q b (φ u) (hu.map φ) |
| 73 | (derivative_coordinate_equation_transforms φ p q c hc b u hd h) hq |
| 74 | |
| 75 | /-- Transform existence on the actual coefficient chart yields persistence |
| 76 | without assuming a transformed polynomial in advance. -/ |
| 77 | theorem blowupChart_derivative_coordinate_hypersurface_persists |
| 78 | (I : Ideal R) (a : I) (p : R[X]) (b : ℕ) (u : R) |
| 79 | (hu : IsUnit u) (hd : derivative^[b] p = C u * X) |
| 80 | (hp : p ∈ Coefficient.Filtration.Construction.polynomialCenterIdeal I ^ (b + 1)) : |
| 81 | ∃ q : (Blowup.Charts.Construction.blowupChart I a)[X], |
| 82 | (p.map (Blowup.Charts.Construction.blowupChartConstants I a)).comp (C (Blowup.Charts.Construction.blowupChartConstants I a a.val) * X) = |
| 83 | C ((Blowup.Charts.Construction.blowupChartConstants I a a.val) ^ (b + 1)) * q ∧ |
| 84 | ∀ M : Ideal ((Blowup.Charts.Construction.blowupChart I a)[X]), q ∈ M ^ (b + 1) → X ∈ M := by |
| 85 | obtain ⟨q, hq, _⟩ := PolynomialControlledTransform.Construction.blowupChart_existsUnique_polynomialControlledTransform I a p (b + 1) hp |
| 86 | refine ⟨q, hq, ?_⟩ |
| 87 | intro M hM |
| 88 | exact derivative_coordinate_hypersurface_persists (Blowup.Charts.Construction.blowupChartConstants I a) p q _ |
| 89 | (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a) b u hu hd hq M hM |
| 90 | |
| 91 | /-- For a monic polynomial with vanishing next-to-leading coefficient, the |
| 92 | last nonconstant derivative is a factorial multiple of the variable. -/ |
| 93 | theorem monic_zero_next_coefficient_derivative (p : R[X]) (b : ℕ) |
| 94 | (hm : p.Monic) (hdeg : p.natDegree = b + 1) (hnext : p.coeff b = 0) : |
| 95 | derivative^[b] p = C ((b + 1).factorial : R) * X := by |
| 96 | ext j |
| 97 | rw [coeff_iterate_derivative, coeff_C_mul, coeff_X] |
| 98 | by_cases hj0 : j = 0 |
| 99 | · subst j |
| 100 | simp [hnext] |
| 101 | by_cases hj1 : j = 1 |
| 102 | · subst j |
| 103 | have hcoeff : p.coeff (b + 1) = 1 := by |
| 104 | rw [← hdeg] |
| 105 | exact hm.coeff_natDegree |
| 106 | have hfact : (b + 1).descFactorial b = (b + 1).factorial := by |
| 107 | have h := Nat.factorial_mul_descFactorial (show b ≤ b + 1 by omega) |
| 108 | simpa using h |
| 109 | simp [Nat.add_comm 1 b, hcoeff, hfact] |
| 110 | · have hcoeff : p.coeff (j + b) = 0 := |
| 111 | coeff_eq_zero_of_natDegree_lt (by omega) |
| 112 | simp [hcoeff, Ne.symm hj1] |
| 113 | |
| 114 | /-- Over a rational algebra, the factorial in the derivative equation is a unit. -/ |
| 115 | theorem factorial_isUnit_of_rationalAlgebra [Algebra ℚ R] (b : ℕ) : |
| 116 | IsUnit (b.factorial : R) := by |
| 117 | have hQ : IsUnit (b.factorial : ℚ) := |
| 118 | isUnit_iff_ne_zero.mpr (Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero b)) |
| 119 | simpa using hQ.map (algebraMap ℚ R) |
| 120 | |
| 121 | /-- Monic equations with zero next-to-leading coefficient give an explicit |
| 122 | class of coordinate hypersurfaces whose contact with the high-order locus |
| 123 | persists under the controlled chart transformation. -/ |
| 124 | theorem monic_coordinate_hypersurface_persists [Algebra ℚ R] |
| 125 | (I : Ideal R) (a : I) (p : R[X]) (b : ℕ) |
| 126 | (hm : p.Monic) (hdeg : p.natDegree = b + 1) (hnext : p.coeff b = 0) |
| 127 | (hp : p ∈ Coefficient.Filtration.Construction.polynomialCenterIdeal I ^ (b + 1)) : |
| 128 | ∃ q : (Blowup.Charts.Construction.blowupChart I a)[X], |
| 129 | (p.map (Blowup.Charts.Construction.blowupChartConstants I a)).comp (C (Blowup.Charts.Construction.blowupChartConstants I a a.val) * X) = |
| 130 | C ((Blowup.Charts.Construction.blowupChartConstants I a a.val) ^ (b + 1)) * q ∧ |
| 131 | ∀ M : Ideal ((Blowup.Charts.Construction.blowupChart I a)[X]), q ∈ M ^ (b + 1) → X ∈ M := |
| 132 | blowupChart_derivative_coordinate_hypersurface_persists I a p b ((b + 1).factorial : R) |
| 133 | (factorial_isUnit_of_rationalAlgebra (b + 1)) |
| 134 | (monic_zero_next_coefficient_derivative p b hm hdeg hnext) hp |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.Resolution.Blowups.DerivativeHypersurfacePersistence.Construction |