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 Mathlib.RingTheory.Filtration |
| 2 | |
| 3 | /-! # Order -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.Order.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite orders of nonzero ideals in Noetherian local rings, for Blowups. -/ |
| 10 | |
| 11 | variable {R : Type*} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 12 | variable (I J : Ideal R) (hI : I ≠ ⊤) (hJ : J ≠ ⊥) |
| 13 | |
| 14 | include hI hJ in |
| 15 | /-- Krull intersection gives a finite, exact order for every nonzero ideal |
| 16 | with respect to a proper ideal of a Noetherian local ring. -/ |
| 17 | theorem exists_idealAdicOrder : ∃ n : ℕ, J ≤ I ^ n ∧ ¬ J ≤ I ^ (n + 1) := by |
| 18 | classical |
| 19 | have hex : ∃ k : ℕ, ¬ J ≤ I ^ k := by |
| 20 | by_contra h |
| 21 | push Not at h |
| 22 | apply hJ |
| 23 | apply bot_unique |
| 24 | rw [← I.iInf_pow_eq_bot_of_isLocalRing hI] |
| 25 | exact le_iInf h |
| 26 | have hk0 : Nat.find hex ≠ 0 := by |
| 27 | intro hk |
| 28 | have h := Nat.find_spec hex |
| 29 | rw [hk, pow_zero, Ideal.one_eq_top] at h |
| 30 | exact h le_top |
| 31 | obtain ⟨n, hn⟩ := Nat.exists_eq_succ_of_ne_zero hk0 |
| 32 | refine ⟨n, ?_, ?_⟩ |
| 33 | · by_contra hbad |
| 34 | have hle := Nat.find_min' hex hbad |
| 35 | omega |
| 36 | · simpa only [hn, Nat.succ_eq_add_one] using Nat.find_spec hex |
| 37 | |
| 38 | /-- The finite order of an ideal, defined using the proved finite-order theorem. -/ |
| 39 | def idealAdicOrder : ℕ := (exists_idealAdicOrder I J hI hJ).choose |
| 40 | |
| 41 | theorem idealAdicOrder_spec : |
| 42 | J ≤ I ^ idealAdicOrder I J hI hJ ∧ ¬ J ≤ I ^ (idealAdicOrder I J hI hJ + 1) := |
| 43 | (exists_idealAdicOrder I J hI hJ).choose_spec |
| 44 | |
| 45 | /-- A power containment is exactly a lower bound on the ideal's order. -/ |
| 46 | theorem le_idealAdicOrder_iff (n : ℕ) : n ≤ idealAdicOrder I J hI hJ ↔ J ≤ I ^ n := by |
| 47 | constructor |
| 48 | · intro hn |
| 49 | exact (idealAdicOrder_spec I J hI hJ).1.trans (Ideal.pow_le_pow_right hn) |
| 50 | · intro hpow |
| 51 | by_contra hn |
| 52 | have hsucc : idealAdicOrder I J hI hJ + 1 ≤ n := by omega |
| 53 | exact (idealAdicOrder_spec I J hI hJ).2 (hpow.trans (Ideal.pow_le_pow_right hsucc)) |
| 54 | |
| 55 | /-- Exact power containment characterizes the order uniquely. -/ |
| 56 | theorem idealAdicOrder_eq_iff (n : ℕ) : |
| 57 | idealAdicOrder I J hI hJ = n ↔ J ≤ I ^ n ∧ ¬ J ≤ I ^ (n + 1) := by |
| 58 | constructor |
| 59 | · intro h |
| 60 | simpa only [h] using idealAdicOrder_spec I J hI hJ |
| 61 | · rintro ⟨hn, hn1⟩ |
| 62 | have hle := (le_idealAdicOrder_iff I J hI hJ n).mpr hn |
| 63 | have hnle : ¬ n + 1 ≤ idealAdicOrder I J hI hJ := by |
| 64 | intro h |
| 65 | exact hn1 ((le_idealAdicOrder_iff I J hI hJ (n + 1)).mp h) |
| 66 | omega |
| 67 | |
| 68 | /-- Inclusion reverses the order of vanishing of nonzero ideals. -/ |
| 69 | theorem idealAdicOrder_antitone {K : Ideal R} (hK : K ≠ ⊥) (hJK : J ≤ K) : |
| 70 | idealAdicOrder I K hI hK ≤ idealAdicOrder I J hI hJ := by |
| 71 | rw [le_idealAdicOrder_iff] |
| 72 | exact hJK.trans (idealAdicOrder_spec I K hI hK).1 |
| 73 | |
| 74 | /-- The order of a sum of nonzero ideals is the minimum of their orders. -/ |
| 75 | theorem idealAdicOrder_sup {K : Ideal R} (hK : K ≠ ⊥) (hsup : J ⊔ K ≠ ⊥) : |
| 76 | idealAdicOrder I (J ⊔ K) hI hsup = |
| 77 | min (idealAdicOrder I J hI hJ) (idealAdicOrder I K hI hK) := by |
| 78 | apply le_antisymm |
| 79 | · exact le_min |
| 80 | (idealAdicOrder_antitone I J hI hJ hsup le_sup_left) |
| 81 | (idealAdicOrder_antitone I K hI hK hsup le_sup_right) |
| 82 | · rw [le_idealAdicOrder_iff] |
| 83 | apply sup_le |
| 84 | · exact (le_idealAdicOrder_iff I J hI hJ _).mp (min_le_left _ _) |
| 85 | · exact (le_idealAdicOrder_iff I K hI hK _).mp (min_le_right _ _) |
| 86 | |
| 87 | /-- Multiplication adds lower bounds on the orders of ideals. -/ |
| 88 | theorem idealAdicOrder_mul_ge {K : Ideal R} (hK : K ≠ ⊥) (hmul : J * K ≠ ⊥) : |
| 89 | idealAdicOrder I J hI hJ + idealAdicOrder I K hI hK ≤ |
| 90 | idealAdicOrder I (J * K) hI hmul := by |
| 91 | rw [le_idealAdicOrder_iff, pow_add] |
| 92 | exact Ideal.mul_mono (idealAdicOrder_spec I J hI hJ).1 (idealAdicOrder_spec I K hI hK).1 |
| 93 | |
| 94 | /-- Positive order is exactly containment in the center ideal. -/ |
| 95 | theorem idealAdicOrder_pos_iff : 0 < idealAdicOrder I J hI hJ ↔ J ≤ I := by |
| 96 | change 1 ≤ idealAdicOrder I J hI hJ ↔ J ≤ I |
| 97 | simpa only [pow_one] using le_idealAdicOrder_iff I J hI hJ 1 |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.Order.Construction |