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.Etale.PowerOrder |
| 2 | import Mathlib.Data.Nat.Factorial.Basic |
| 3 | |
| 4 | /-! # Weighted Coefficient Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.WeightedCoefficientIdeal.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A single marked ideal representing a finite list of coefficient conditions. -/ |
| 11 | |
| 12 | /-- Exponent used to put the coefficient with control `b-j` at control `b!`. -/ |
| 13 | def coefficientWeight (b : ℕ) (j : Fin b) : ℕ := b.factorial / (b - j.val) |
| 14 | |
| 15 | theorem coefficientWeight_mul_control (b : ℕ) (j : Fin b) : |
| 16 | (b - j.val) * coefficientWeight b j = b.factorial := by |
| 17 | exact Nat.mul_div_cancel' (Nat.dvd_factorial (by omega) (Nat.sub_le b j.val)) |
| 18 | |
| 19 | theorem coefficientWeight_pos (b : ℕ) (j : Fin b) : 0 < coefficientWeight b j := by |
| 20 | have h := coefficientWeight_mul_control b j |
| 21 | have hp := Nat.factorial_pos b |
| 22 | by_contra hn |
| 23 | have hz : coefficientWeight b j = 0 := by omega |
| 24 | rw [hz, Nat.mul_zero] at h |
| 25 | omega |
| 26 | |
| 27 | /-- The finite sum of powers of the coefficient ideals, at common control `b!`. -/ |
| 28 | def weightedCoefficientIdeal {R : Type*} [CommRing R] (b : ℕ) (J : Fin b → Ideal R) : |
| 29 | Ideal R := ⨆ j, J j ^ coefficientWeight b j |
| 30 | |
| 31 | theorem weightedCoefficientIdeal_map {R T : Type*} [CommRing R] [CommRing T] |
| 32 | (φ : R →+* T) (b : ℕ) (J : Fin b → Ideal R) : |
| 33 | (weightedCoefficientIdeal b J).map φ = weightedCoefficientIdeal b (fun j => (J j).map φ) := by |
| 34 | simp only [weightedCoefficientIdeal, Ideal.map_iSup, Ideal.map_pow] |
| 35 | |
| 36 | /-- The coefficient bounds imply the common weighted bound for every ideal. -/ |
| 37 | theorem weightedCoefficientIdeal_le_pow {R : Type*} [CommRing R] |
| 38 | (M : Ideal R) (b : ℕ) (J : Fin b → Ideal R) |
| 39 | (hJ : ∀ j, J j ≤ M ^ (b - j.val)) : |
| 40 | weightedCoefficientIdeal b J ≤ M ^ b.factorial := by |
| 41 | apply iSup_le |
| 42 | intro j |
| 43 | have h := pow_le_pow_left' (hJ j) (coefficientWeight b j) |
| 44 | rwa [← pow_mul, coefficientWeight_mul_control] at h |
| 45 | |
| 46 | variable {σ K S : Type*} [Field K] [IsAlgClosed K] [CommRing S] [Finite σ] |
| 47 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 48 | |
| 49 | /-- On an actual étale local ring, the single weighted ideal has precisely |
| 50 | the same high-order locus as all coefficient conditions together. -/ |
| 51 | theorem etale_local_weightedCoefficientIdeal_order_iff |
| 52 | (x : σ → K) (q : Ideal S) [q.IsMaximal] [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] |
| 53 | (b : ℕ) (J : Fin b → Ideal (Localization.AtPrime q)) : |
| 54 | weightedCoefficientIdeal b J ≤ |
| 55 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b.factorial ↔ |
| 56 | ∀ j, J j ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (b - j.val) := by |
| 57 | constructor |
| 58 | · intro h j |
| 59 | have hj := (le_iSup (fun j => J j ^ coefficientWeight b j) j).trans h |
| 60 | rw [← coefficientWeight_mul_control b j] at hj |
| 61 | exact (Blowups.Etale.PowerOrder.Construction.etale_local_ideal_pow_le_pow_iff x q (J j) (b - j.val) |
| 62 | (coefficientWeight b j) (coefficientWeight_pos b j)).mp hj |
| 63 | · exact weightedCoefficientIdeal_le_pow _ b J |
| 64 | |
| 65 | /-- Formation of the weighted coefficient ideal commutes with passage to |
| 66 | the local ring, so it defines one ideal on the affine chart. -/ |
| 67 | theorem etale_weightedCoefficientIdeal_local_order_iff |
| 68 | (x : σ → K) (q : Ideal S) [q.IsMaximal] [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] |
| 69 | (b : ℕ) (J : Fin b → Ideal S) : |
| 70 | (weightedCoefficientIdeal b J).map (algebraMap S (Localization.AtPrime q)) ≤ |
| 71 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b.factorial ↔ |
| 72 | ∀ j, (J j).map (algebraMap S (Localization.AtPrime q)) ≤ |
| 73 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (b - j.val) := by |
| 74 | rw [weightedCoefficientIdeal_map] |
| 75 | exact etale_local_weightedCoefficientIdeal_order_iff x q b _ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Resolution.Blowups.WeightedCoefficientIdeal.Construction |