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.MultiplicativeOrder |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.Order |
| 3 | |
| 4 | /-! # Power Order -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.PowerOrder.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact power tests for arbitrary ideals in étale local coordinate rings. -/ |
| 11 | |
| 12 | theorem ideal_mem_pow_iff_of_exact_order {R : Type*} [CommRing R] |
| 13 | (I : Ideal R) (s : R) (d n : ℕ) (hd : s ∈ I ^ d) (hd1 : s ∉ I ^ (d + 1)) : |
| 14 | s ∈ I ^ n ↔ n ≤ d := by |
| 15 | constructor |
| 16 | · intro hn |
| 17 | by_contra h |
| 18 | exact hd1 ((Ideal.pow_le_pow_right (by omega : d + 1 ≤ n)) hn) |
| 19 | · intro hn |
| 20 | exact (Ideal.pow_le_pow_right hn) hd |
| 21 | |
| 22 | variable {σ K S : Type*} [Field K] [IsAlgClosed K] [CommRing S] [Finite σ] |
| 23 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 24 | |
| 25 | theorem etale_local_exact_order_pow (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 26 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (s : Localization.AtPrime q) (d e : ℕ) |
| 27 | (hs : s ∈ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ d) |
| 28 | (hs1 : s ∉ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (d + 1)) : |
| 29 | s ^ e ∈ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (d * e) ∧ |
| 30 | s ^ e ∉ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (d * e + 1) := by |
| 31 | induction e with |
| 32 | | zero => |
| 33 | simp only [pow_zero, Nat.mul_zero, zero_add, pow_one, Ideal.one_eq_top, |
| 34 | Submodule.mem_top, true_and] |
| 35 | exact fun h => (IsLocalRing.maximalIdeal.isMaximal (Localization.AtPrime q)).ne_top |
| 36 | (Ideal.eq_top_of_isUnit_mem _ h isUnit_one) |
| 37 | | succ e ih => |
| 38 | simpa only [pow_succ, Nat.mul_succ] using |
| 39 | MultiplicativeOrder.Construction.etale_local_exact_order_mul x q (s ^ e) s (d * e) d ih.1 ih.2 hs hs1 |
| 40 | |
| 41 | include σ K in |
| 42 | omit [IsAlgClosed K] in |
| 43 | /-- Every nonzero local section has a finite exact order. -/ |
| 44 | theorem etale_local_exists_exact_order (q : Ideal S) [q.IsMaximal] |
| 45 | (s : Localization.AtPrime q) (hs : s ≠ 0) : |
| 46 | ∃ d : ℕ, s ∈ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ d ∧ |
| 47 | s ∉ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (d + 1) := by |
| 48 | let : IsNoetherianRing S := Algebra.FiniteType.isNoetherianRing (MvPolynomial σ K) S |
| 49 | obtain ⟨d, hd, hd1⟩ := Blowups.Ideal.Order.Construction.exists_idealAdicOrder |
| 50 | (IsLocalRing.maximalIdeal (Localization.AtPrime q)) (Ideal.span {s}) |
| 51 | (IsLocalRing.maximalIdeal.isMaximal (Localization.AtPrime q)).ne_top |
| 52 | (fun h => hs (Ideal.span_singleton_eq_bot.mp h)) |
| 53 | exact ⟨d, (Ideal.span_singleton_le_iff_mem _).mp hd, |
| 54 | fun h => hd1 ((Ideal.span_singleton_le_iff_mem _).mpr h)⟩ |
| 55 | |
| 56 | /-- A positive power has order at least the correspondingly multiplied control |
| 57 | if and only if the section has the original order bound. -/ |
| 58 | theorem etale_local_pow_mem_pow_iff (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 59 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (s : Localization.AtPrime q) (b e : ℕ) |
| 60 | (he : 0 < e) : |
| 61 | s ^ e ∈ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (b * e) ↔ |
| 62 | s ∈ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b := by |
| 63 | by_cases hs : s = 0 |
| 64 | · simp only [hs, zero_pow (Nat.ne_of_gt he), Submodule.zero_mem] |
| 65 | · obtain ⟨d, hd, hd1⟩ := etale_local_exists_exact_order (σ := σ) (K := K) q s hs |
| 66 | obtain ⟨hde, hde1⟩ := etale_local_exact_order_pow x q s d e hd hd1 |
| 67 | rw [ideal_mem_pow_iff_of_exact_order _ _ (d * e) (b * e) hde hde1, |
| 68 | ideal_mem_pow_iff_of_exact_order _ _ d b hd hd1] |
| 69 | exact Nat.mul_le_mul_right_iff he |
| 70 | |
| 71 | /-- Exact power scaling for arbitrary local ideals, including the zero ideal. -/ |
| 72 | theorem etale_local_ideal_pow_le_pow_iff (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 73 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (J : Ideal (Localization.AtPrime q)) |
| 74 | (b e : ℕ) (he : 0 < e) : |
| 75 | J ^ e ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (b * e) ↔ |
| 76 | J ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b := by |
| 77 | constructor |
| 78 | · intro h s hs |
| 79 | exact (etale_local_pow_mem_pow_iff x q s b e he).mp (h (Ideal.pow_mem_pow hs e)) |
| 80 | · intro h |
| 81 | simpa only [pow_mul] using pow_le_pow_left' h e |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.PowerOrder.Construction |