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.Divisors.LineBundles.LocalizedPrimeFactor |
| 2 | import Mathlib.RingTheory.Ideal.MinimalPrime.Basic |
| 3 | |
| 4 | /-! # Prime Filtration Multiplicity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeFiltrationMultiplicity.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: filtration multiplicities are actual local module lengths |
| 12 | |
| 13 | Every prime cyclic factor contains each equation annihilating the module. |
| 14 | At a prime minimal over such an equation, all localized factors vanish |
| 15 | except R/P, whose length is one. The number of occurrences of P in an |
| 16 | actual prime filtration is therefore the length at P. |
| 17 | -/ |
| 18 | |
| 19 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 20 | |
| 21 | namespace PrimeFiltrationAbove |
| 22 | |
| 23 | theorem _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeFiltration.BundleCycles.PrimeFiltrationAbove.factor_contains_annihilator (b : R) (hb : Module.IsTorsionBy R M b) |
| 24 | {N : Submodule R M} (F : PrimeFiltration.BundleCycles.PrimeFiltrationAbove N) (J : Ideal R) (hJ : J ∈ F.factors) : b ∈ J := by |
| 25 | induction F with |
| 26 | | top => exact False.elim (List.not_mem_nil hJ) |
| 27 | | step N L hNL K hK e tail ih => |
| 28 | rcases List.mem_cons.mp hJ with rfl | h |
| 29 | · exact LocalizedPrimeFactor.BundleCycles.annihilator_mem_ideal J b (PrimeFiltrationEuler.BundleCycles.primeFactor_annihilated b hb N L J e) |
| 30 | · exact ih h |
| 31 | |
| 32 | end PrimeFiltrationAbove |
| 33 | |
| 34 | theorem localizedPrimeFactorLength_minimal (b : R) (P : Ideal R) [P.IsPrime] |
| 35 | (hP : P ∈ (Ideal.span {b}).minimalPrimes) (J : Ideal R) (hJ : J.IsPrime) (hbJ : b ∈ J) : |
| 36 | LocalizedFiltrationLength.BundleCycles.localizedPrimeFactorLength P.primeCompl J = if J = P then 1 else 0 := by |
| 37 | classical |
| 38 | by_cases he : J = P |
| 39 | · subst J |
| 40 | rw [ite_eq_left rfl] |
| 41 | exact LocalizedPrimeFactor.BundleCycles.localizedPrimeFactorLength_self P |
| 42 | · rw [ite_eq_right he] |
| 43 | apply LocalizedPrimeFactor.BundleCycles.localizedPrimeFactorLength_zero P J |
| 44 | intro hJP |
| 45 | exact he (le_antisymm hJP (hP.2 ⟨hJ, Ideal.span_le.mpr (Set.singleton_subset_iff.mpr hbJ)⟩ hJP)) |
| 46 | |
| 47 | private theorem sum_ideal_indicators (L : List (Ideal R)) (P : Ideal R) : |
| 48 | (L.map (fun J => if J = P then (1 : ℕ∞) else 0)).sum = (L.count P : ℕ∞) := by |
| 49 | classical |
| 50 | induction L with |
| 51 | | nil => simp |
| 52 | | cons J L ih => |
| 53 | by_cases h : J = P |
| 54 | · subst J |
| 55 | simp [ih, add_comm] |
| 56 | · simp [h, ih] |
| 57 | |
| 58 | namespace PrimeFiltrationAbove |
| 59 | |
| 60 | /-- A prime's filtration multiplicity is the actual length after localization at that prime. -/ |
| 61 | theorem _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeFiltration.BundleCycles.PrimeFiltrationAbove.localized_length_eq_count (b : R) (hb : Module.IsTorsionBy R M b) |
| 62 | (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {b}).minimalPrimes) |
| 63 | {N : Submodule R M} (F : PrimeFiltration.BundleCycles.PrimeFiltrationAbove N) : |
| 64 | Module.length (Localization P.primeCompl) (LocalizedModule P.primeCompl (M ⧸ N)) = |
| 65 | (F.factors.count P : ℕ∞) := by |
| 66 | classical |
| 67 | rw [F.localized_length_eq_sum P.primeCompl] |
| 68 | have hw : F.factors.map (LocalizedFiltrationLength.BundleCycles.localizedPrimeFactorLength P.primeCompl) = |
| 69 | F.factors.map (fun J => if J = P then (1 : ℕ∞) else 0) := by |
| 70 | apply List.map_congr_left |
| 71 | intro J hJ |
| 72 | exact localizedPrimeFactorLength_minimal b P hP J (F.factor_isPrime J hJ) |
| 73 | (F.factor_contains_annihilator b hb J hJ) |
| 74 | rw [hw] |
| 75 | exact sum_ideal_indicators F.factors P |
| 76 | |
| 77 | end PrimeFiltrationAbove |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeFiltrationMultiplicity.BundleCycles |