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.CycleClass.Thom.TorAlgebra.IsolatedEuler |
| 2 | import Mathlib.RingTheory.Ideal.AssociatedPrime.Finiteness |
| 3 | |
| 4 | /-! # Prime Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.PrimeEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Prime-quotient devissage of the native Tor Euler characteristic. |
| 11 | The finite list comes from genuine module filtrations; repeated primes |
| 12 | retain their multiplicities, and every prime stays in the input support. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.IsolatedEuler |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 22 | (N : ModuleCat.{u} R) [Module.Finite R N] (d : ℕ) [HasProjectiveDimensionLE N d] |
| 23 | |
| 24 | theorem exists_prime_euler_sum (M : Type u) [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 25 | (x : PrimeSpectrum R) : |
| 26 | Module.support R M ∩ Module.support R N ⊆ {x} → |
| 27 | ∃ ps : List (PrimeSpectrum R), |
| 28 | (∀ p ∈ ps, Module.support R (R ⧸ p.asIdeal) ⊆ Module.support R M) ∧ |
| 29 | Euler.Tor.euler R (ModuleCat.of R M) N d = |
| 30 | (ps.map (fun p => Euler.Tor.euler R (ModuleCat.of R (R ⧸ p.asIdeal)) N d)).sum := by |
| 31 | induction ‹Module.Finite R M› using IsNoetherianRing.induction_on_isQuotientEquivQuotientPrime R with |
| 32 | | subsingleton M => |
| 33 | intro _ |
| 34 | refine ⟨[], ?_, ?_⟩ |
| 35 | · simp only [List.not_mem_nil, false_implies, implies_true] |
| 36 | · simpa only [List.map_nil, List.sum_nil] using |
| 37 | IsolatedEuler.euler_subsingleton_left R (ModuleCat.of R M) N d |
| 38 | | quotient M p e => |
| 39 | intro _ |
| 40 | refine ⟨[p], ?_, ?_⟩ |
| 41 | · intro q hq |
| 42 | obtain rfl := List.mem_singleton.mp hq |
| 43 | exact e.support_eq.ge |
| 44 | · simpa only [List.map_cons, List.map_nil, List.sum_cons, List.sum_nil, add_zero] using |
| 45 | IsolatedEuler.euler_iso_left R e.toModuleIso N d |
| 46 | | exact M₁ M₂ M₃ f g hf hg hfg ih₁ ih₃ => |
| 47 | intro hx |
| 48 | have hs₁ := Module.support_subset_of_injective f hf |
| 49 | have hs₃ := Module.support_subset_of_surjective g hg |
| 50 | obtain ⟨ps, hps, he₁⟩ := ih₁ ((Set.inter_subset_inter_left _ hs₁).trans hx) |
| 51 | obtain ⟨qs, hqs, he₃⟩ := ih₃ ((Set.inter_subset_inter_left _ hs₃).trans hx) |
| 52 | let S := ShortComplex.moduleCatMk f g hfg.linearMap_comp_eq_zero |
| 53 | let : Module.Finite R S.X₁ := inferInstanceAs (Module.Finite R M₁) |
| 54 | let : Module.Finite R S.X₂ := inferInstanceAs (Module.Finite R M₂) |
| 55 | let : Module.Finite R S.X₃ := inferInstanceAs (Module.Finite R M₃) |
| 56 | have hS : S.ShortExact := |
| 57 | { exact := (ShortComplex.ShortExact.moduleCat_exact_iff_function_exact S).mpr hfg |
| 58 | mono_f := (ModuleCat.mono_iff_injective S.f).mpr hf |
| 59 | epi_g := (ModuleCat.epi_iff_surjective S.g).mpr hg } |
| 60 | refine ⟨ps ++ qs, ?_, ?_⟩ |
| 61 | · intro p hp |
| 62 | rcases List.mem_append.mp hp with hp | hp |
| 63 | · exact (hps p hp).trans hs₁ |
| 64 | · exact (hqs p hp).trans hs₃ |
| 65 | · rw [List.map_append, List.sum_append, ← he₁, ← he₃] |
| 66 | exact IsolatedEuler.additivity_of_isolated_support R N d S hS x hx |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.PrimeEuler |