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.IntersectionTheory.ProjectionFormula.MinimalPrimeFiltration |
| 2 | |
| 3 | /-! # Fixed Prime Filtration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FixedPrimeFiltration |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! One actual prime filtration is fixed before choosing the other |
| 10 | intersection module. It simultaneously records the minimal-prime lengths |
| 11 | and computes every isolated native Tor Euler pairing. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped Classical |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem exists_data (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 21 | (M : ModuleCat.{u} R) [Module.Finite R M] : |
| 22 | ∃ (k : ℕ) (q : Fin k → PrimeSpectrum R), |
| 23 | (∀ i, Module.support R (R ⧸ (q i).asIdeal) ⊆ Module.support R M) ∧ |
| 24 | (∀ p : PrimeSpectrum R, |
| 25 | (∀ v ∈ Module.support R M, v.asIdeal ≤ p.asIdeal → v = p) → |
| 26 | FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) M = |
| 27 | (Finset.univ.filter (fun i => q i = p)).card) ∧ |
| 28 | ∀ (N : ModuleCat.{u} R) [Module.Finite R N] (d : ℕ) [HasProjectiveDimensionLE N d] |
| 29 | (p₀ : PrimeSpectrum R), Module.support R M ∩ Module.support R N ⊆ {p₀} → |
| 30 | Tor.Euler.euler R M N d = |
| 31 | ∑ i : Fin k, Tor.Euler.euler R (.of R (R ⧸ (q i).asIdeal)) N d := by |
| 32 | obtain ⟨s, h₀, ht⟩ := IsNoetherianRing.exists_relSeries_isQuotientEquivQuotientPrime R M |
| 33 | choose q e using fun i => (s.step i).2 |
| 34 | have hsupp (i : Fin s.length) : Module.support R (R ⧸ (q i).asIdeal) ⊆ Module.support R M := by |
| 35 | rw [← (e i).some.support_eq] |
| 36 | exact (Module.support_subset_of_surjective ((s i.castSucc).submoduleOf (s i.succ)).mkQ |
| 37 | (Submodule.mkQ_surjective _)).trans |
| 38 | (Module.support_subset_of_injective (s i.succ).subtype (Submodule.subtype_injective _)) |
| 39 | refine ⟨s.length, q, hsupp, ?_, ?_⟩ |
| 40 | · intro p hp |
| 41 | exact MinimalPrimeFiltration.filtration_count R M s h₀ ht q (fun i => (e i).some) p |
| 42 | (fun i hi => hp (q i) (hsupp i (MinimalPrimeFiltration.prime_mem_support R (q i))) hi) |
| 43 | · intro N _ d _ p₀ hisolated |
| 44 | rw [PrimeFiltrationEuler.filtration_sum R M N d p₀ hisolated s h₀ ht] |
| 45 | apply Finset.sum_congr rfl |
| 46 | intro i _ |
| 47 | exact PrimeFiltrationEuler.euler_iso_left R (e i).some.toModuleIso N d |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FixedPrimeFiltration |