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.ClosedOrder |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialOrderLocus |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.Order |
| 4 | |
| 5 | /-! # Order Bound -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.OrderBound.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A uniform finite order bound for arbitrary nonzero ideals on integral étale coordinate neighborhoods. -/ |
| 12 | |
| 13 | variable {σ K S : Type*} [Field K] [CharZero K] [IsAlgClosed K] |
| 14 | [Fintype σ] [DecidableEq σ] [CommRing S] [IsDomain S] |
| 15 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 16 | |
| 17 | include σ K |
| 18 | |
| 19 | /-- On an integral étale polynomial algebra, iterated differentiation of |
| 20 | any nonzero ideal eventually produces the unit ideal. The proof uses |
| 21 | Noetherian stabilization and Krull intersection in a local ring. -/ |
| 22 | theorem exists_etale_differential_order_bound (J : Ideal S) (hJ : J ≠ ⊥) : |
| 23 | ∃ n : ℕ, DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n = ⊤ := by |
| 24 | let : IsNoetherianRing S := Algebra.FiniteType.isNoetherianRing (MvPolynomial σ K) S |
| 25 | let F : ℕ →o Submodule S S := |
| 26 | ⟨DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J, DifferentialOrderLocus.Construction.iteratedDifferentialIdeal_monotone J⟩ |
| 27 | obtain ⟨n, hn⟩ := monotone_stabilizes_iff_noetherian.mpr inferInstance F |
| 28 | refine ⟨n, ?_⟩ |
| 29 | by_contra hproper |
| 30 | obtain ⟨q, hq, hle⟩ := Ideal.exists_le_maximal (DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n) hproper |
| 31 | let : q.IsMaximal := hq |
| 32 | have hall : ∀ b, DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J b ≤ q := by |
| 33 | intro b |
| 34 | by_cases hb : b ≤ n |
| 35 | · exact (DifferentialOrderLocus.Construction.iteratedDifferentialIdeal_monotone J hb).trans hle |
| 36 | · have he : DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n = DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J b := |
| 37 | hn b (by omega) |
| 38 | rwa [← he] |
| 39 | let T := Localization.AtPrime q |
| 40 | let M := IsLocalRing.maximalIdeal T |
| 41 | have hlocal : J.map (algebraMap S T) ≠ ⊥ := Ideal.map_ne_bot_of_ne_bot hJ |
| 42 | obtain ⟨b, _, hb⟩ := Blowups.Ideal.Order.Construction.exists_idealAdicOrder M (J.map (algebraMap S T)) |
| 43 | (IsLocalRing.maximalIdeal.isMaximal T).ne_top hlocal |
| 44 | exact hb ((ClosedOrder.Construction.etale_closedPoint_order_iff_differentialIdeal (σ := σ) (K := K) J q b).mpr (hall b)) |
| 45 | |
| 46 | /-- The same natural number bounds the order at every closed point. -/ |
| 47 | theorem exists_etale_uniform_order_bound (J : Ideal S) (hJ : J ≠ ⊥) : |
| 48 | ∃ n : ℕ, ∀ (q : Ideal S) [q.IsMaximal], |
| 49 | ¬ J.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 50 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (n + 1) := by |
| 51 | obtain ⟨n, hn⟩ := exists_etale_differential_order_bound (σ := σ) (K := K) J hJ |
| 52 | refine ⟨n, ?_⟩ |
| 53 | intro q hq horder |
| 54 | have h := (ClosedOrder.Construction.etale_closedPoint_order_iff_differentialIdeal (σ := σ) (K := K) J q n).mp horder |
| 55 | rw [hn] at h |
| 56 | exact hq.ne_top (top_le_iff.mp h) |
| 57 | |
| 58 | /-- A nonzero ideal attains its finite maximum local order at a closed |
| 59 | point of the integral étale neighborhood. -/ |
| 60 | theorem exists_etale_maximum_order (J : Ideal S) (hJ : J ≠ ⊥) : |
| 61 | ∃ (b : ℕ) (q : Ideal S) (_ : q.IsMaximal), |
| 62 | J.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 63 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b ∧ |
| 64 | ∀ (p : Ideal S) [p.IsMaximal], |
| 65 | ¬ J.map (algebraMap S (Localization.AtPrime p)) ≤ |
| 66 | IsLocalRing.maximalIdeal (Localization.AtPrime p) ^ (b + 1) := by |
| 67 | classical |
| 68 | obtain ⟨n, hn⟩ := exists_etale_uniform_order_bound (σ := σ) (K := K) J hJ |
| 69 | let P : ℕ → Prop := fun b => ∀ (q : Ideal S) [q.IsMaximal], |
| 70 | ¬ J.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 71 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b |
| 72 | have hex : ∃ b, P b := ⟨n + 1, hn⟩ |
| 73 | have hm0 : Nat.find hex ≠ 0 := by |
| 74 | intro hz |
| 75 | obtain ⟨q, hq⟩ := Ideal.exists_maximal S |
| 76 | let : q.IsMaximal := hq |
| 77 | have h := Nat.find_spec hex q |
| 78 | rw [hz, pow_zero, Ideal.one_eq_top] at h |
| 79 | exact h le_top |
| 80 | obtain ⟨b, hb⟩ := Nat.exists_eq_succ_of_ne_zero hm0 |
| 81 | have hnot : ¬ P b := by |
| 82 | intro h |
| 83 | have hmin := Nat.find_min' hex h |
| 84 | omega |
| 85 | change ¬ ∀ (q : Ideal S) (hq : q.IsMaximal), |
| 86 | ¬ J.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 87 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b at hnot |
| 88 | push Not at hnot |
| 89 | obtain ⟨q, hq, horder⟩ := hnot |
| 90 | refine ⟨b, q, hq, horder, ?_⟩ |
| 91 | simpa only [hb, Nat.succ_eq_add_one] using Nat.find_spec hex |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.OrderBound.Construction |