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.ClosedWeightedOrder |
| 2 | |
| 3 | /-! # Product Order -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.ProductOrder.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact product order for arbitrary ideals in étale local coordinate rings. -/ |
| 10 | |
| 11 | variable {σ K S : Type*} [Field K] [IsAlgClosed K] [CommRing S] [Finite σ] |
| 12 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 13 | |
| 14 | /-- Exact finite orders add for arbitrary local ideals. -/ |
| 15 | theorem etale_local_ideal_exact_order_mul |
| 16 | (x : σ → K) (q : Ideal S) [q.IsMaximal] [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] |
| 17 | (J L : Ideal (Localization.AtPrime q)) (u v : ℕ) |
| 18 | (hJ : J ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ u) |
| 19 | (hJ1 : ¬ J ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (u + 1)) |
| 20 | (hL : L ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ v) |
| 21 | (hL1 : ¬ L ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (v + 1)) : |
| 22 | J * L ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (u + v) ∧ |
| 23 | ¬ J * L ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (u + v + 1) := by |
| 24 | classical |
| 25 | change ¬ ∀ s, s ∈ J → s ∈ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (u + 1) at hJ1 |
| 26 | change ¬ ∀ s, s ∈ L → s ∈ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (v + 1) at hL1 |
| 27 | push Not at hJ1 hL1 |
| 28 | obtain ⟨s, hs, hs1⟩ := hJ1 |
| 29 | obtain ⟨t, ht, ht1⟩ := hL1 |
| 30 | have hst := Blowups.Etale.MultiplicativeOrder.Construction.etale_local_exact_order_mul x q s t u v (hJ hs) hs1 (hL ht) ht1 |
| 31 | refine ⟨?_, fun h => hst.2 (h (Ideal.mul_mem_mul hs ht))⟩ |
| 32 | rw [pow_add] |
| 33 | exact Ideal.mul_mono hJ hL |
| 34 | |
| 35 | include σ K in |
| 36 | /-- The same exact product formula at every closed point of the affine algebra. -/ |
| 37 | theorem etale_closedPoint_ideal_exact_order_mul (J L q : Ideal S) [q.IsMaximal] (u v : ℕ) |
| 38 | (hJ : J ≤ q ^ u) (hJ1 : ¬ J ≤ q ^ (u + 1)) |
| 39 | (hL : L ≤ q ^ v) (hL1 : ¬ L ≤ q ^ (v + 1)) : |
| 40 | J * L ≤ q ^ (u + v) ∧ ¬ J * L ≤ q ^ (u + v + 1) := by |
| 41 | obtain ⟨x, hx⟩ := Blowups.Etale.ClosedOrder.Construction.finiteType_maximalIdeal_liesOver_polynomialPoint (K := K) (σ := σ) q |
| 42 | let : q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x) := hx |
| 43 | have hprod := etale_local_ideal_exact_order_mul x q |
| 44 | (J.map (algebraMap S (Localization.AtPrime q))) (L.map (algebraMap S (Localization.AtPrime q))) u v |
| 45 | ((ClosedWeightedOrder.Construction.closedPoint_local_order_iff J q u).mpr hJ) |
| 46 | (fun h => hJ1 ((ClosedWeightedOrder.Construction.closedPoint_local_order_iff J q (u + 1)).mp h)) |
| 47 | ((ClosedWeightedOrder.Construction.closedPoint_local_order_iff L q v).mpr hL) |
| 48 | (fun h => hL1 ((ClosedWeightedOrder.Construction.closedPoint_local_order_iff L q (v + 1)).mp h)) |
| 49 | simpa only [← Ideal.map_mul, ClosedWeightedOrder.Construction.closedPoint_local_order_iff] using hprod |
| 50 | |
| 51 | include σ K in |
| 52 | omit [IsAlgClosed K] in |
| 53 | /-- Every ideal not vanishing in the local ring has finite exact order at |
| 54 | the closed point, even if the affine algebra is disconnected. -/ |
| 55 | theorem etale_closedPoint_exists_ideal_order (J q : Ideal S) [q.IsMaximal] |
| 56 | (hJ : J.map (algebraMap S (Localization.AtPrime q)) ≠ ⊥) : |
| 57 | ∃ d : ℕ, J ≤ q ^ d ∧ ¬ J ≤ q ^ (d + 1) := by |
| 58 | let : IsNoetherianRing S := Algebra.FiniteType.isNoetherianRing (MvPolynomial σ K) S |
| 59 | obtain ⟨d, hd, hd1⟩ := Order.Construction.exists_idealAdicOrder |
| 60 | (IsLocalRing.maximalIdeal (Localization.AtPrime q)) (J.map (algebraMap S (Localization.AtPrime q))) |
| 61 | (IsLocalRing.maximalIdeal.isMaximal (Localization.AtPrime q)).ne_top hJ |
| 62 | exact ⟨d, (ClosedWeightedOrder.Construction.closedPoint_local_order_iff J q d).mp hd, |
| 63 | fun h => hd1 ((ClosedWeightedOrder.Construction.closedPoint_local_order_iff J q (d + 1)).mpr h)⟩ |
| 64 | |
| 65 | include σ K in |
| 66 | /-- On a stratum where the residual order is exactly `m`, the product's |
| 67 | order condition is precisely the remaining exceptional order condition. -/ |
| 68 | theorem etale_closedPoint_product_order_iff (J M q : Ideal S) [q.IsMaximal] |
| 69 | (m b : ℕ) (hmb : m ≤ b) (hJ : J ≤ q ^ m) (hJ1 : ¬ J ≤ q ^ (m + 1)) : |
| 70 | M * J ≤ q ^ b ↔ M ≤ q ^ (b - m) := by |
| 71 | constructor |
| 72 | · intro hprod |
| 73 | by_contra hM |
| 74 | have hMlocal : M.map (algebraMap S (Localization.AtPrime q)) ≠ ⊥ := by |
| 75 | intro hz |
| 76 | apply hM |
| 77 | apply (ClosedWeightedOrder.Construction.closedPoint_local_order_iff M q (b - m)).mp |
| 78 | rw [hz] |
| 79 | exact bot_le |
| 80 | obtain ⟨d, hd, hd1⟩ := etale_closedPoint_exists_ideal_order (σ := σ) (K := K) M q hMlocal |
| 81 | have hdm : d < b - m := by |
| 82 | by_contra h |
| 83 | exact hM (hd.trans (Ideal.pow_le_pow_right (by omega))) |
| 84 | have hnot := (etale_closedPoint_ideal_exact_order_mul (σ := σ) (K := K) M J q d m hd hd1 hJ hJ1).2 |
| 85 | exact hnot (hprod.trans (Ideal.pow_le_pow_right (by omega : d + m + 1 ≤ b))) |
| 86 | · intro hM |
| 87 | have h := Ideal.mul_mono hM hJ |
| 88 | rwa [← pow_add, Nat.sub_add_cancel hmb] at h |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.ProductOrder.Construction |