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.PrimeEuler |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedModuleLength |
| 3 | |
| 4 | /-! # Prime Euler Length -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.PrimeEulerLength |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! One genuine prime filtration simultaneously computes the native |
| 11 | Tor Euler characteristic and every localized module length. This keeps |
| 12 | the multiplicities in the two calculations tied to the same factors. -/ |
| 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 | open OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedModuleLength.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 23 | (N : ModuleCat.{u} R) [Module.Finite R N] (d : ℕ) [HasProjectiveDimensionLE N d] |
| 24 | |
| 25 | theorem exists_prime_euler_localLength_sum (M : Type u) |
| 26 | [AddCommGroup M] [Module R M] [Module.Finite R M] (x : PrimeSpectrum R) : |
| 27 | Module.support R M ∩ Module.support R N ⊆ {x} → |
| 28 | ∃ ps : List (PrimeSpectrum R), |
| 29 | (∀ p ∈ ps, Module.support R (R ⧸ p.asIdeal) ⊆ Module.support R M) ∧ |
| 30 | Euler.Tor.euler R (ModuleCat.of R M) N d = |
| 31 | (ps.map (fun p => Euler.Tor.euler R (ModuleCat.of R (R ⧸ p.asIdeal)) N d)).sum ∧ |
| 32 | ∀ q : PrimeSpectrum R, LocalizedModuleLength.Constructions.localLength R M q = |
| 33 | (ps.map (fun p => LocalizedModuleLength.Constructions.localLength R (R ⧸ p.asIdeal) q)).sum := by |
| 34 | induction ‹Module.Finite R M› using IsNoetherianRing.induction_on_isQuotientEquivQuotientPrime R with |
| 35 | | subsingleton M => |
| 36 | intro _ |
| 37 | refine ⟨[], ?_, ?_, ?_⟩ |
| 38 | · simp only [List.not_mem_nil, false_implies, implies_true] |
| 39 | · simpa only [List.map_nil, List.sum_nil] using |
| 40 | IsolatedEuler.euler_subsingleton_left R (ModuleCat.of R M) N d |
| 41 | · intro q |
| 42 | simpa only [List.map_nil, List.sum_nil] using LocalizedModuleLength.Constructions.localLength_subsingleton (M := M) q |
| 43 | | quotient M p e => |
| 44 | intro _ |
| 45 | refine ⟨[p], ?_, ?_, ?_⟩ |
| 46 | · intro q hq |
| 47 | obtain rfl := List.mem_singleton.mp hq |
| 48 | exact e.support_eq.ge |
| 49 | · simpa only [List.map_cons, List.map_nil, List.sum_cons, List.sum_nil, add_zero] using |
| 50 | IsolatedEuler.euler_iso_left R e.toModuleIso N d |
| 51 | · intro q |
| 52 | simpa only [List.map_cons, List.map_nil, List.sum_cons, List.sum_nil, add_zero] using |
| 53 | LocalizedModuleLength.Constructions.localLength_equiv e q |
| 54 | | exact M₁ M₂ M₃ f g hf hg hfg ih₁ ih₃ => |
| 55 | intro hx |
| 56 | have hs₁ := Module.support_subset_of_injective f hf |
| 57 | have hs₃ := Module.support_subset_of_surjective g hg |
| 58 | obtain ⟨ps, hps, he₁, hl₁⟩ := ih₁ ((Set.inter_subset_inter_left _ hs₁).trans hx) |
| 59 | obtain ⟨qs, hqs, he₃, hl₃⟩ := ih₃ ((Set.inter_subset_inter_left _ hs₃).trans hx) |
| 60 | let S := ShortComplex.moduleCatMk f g hfg.linearMap_comp_eq_zero |
| 61 | let : Module.Finite R S.X₁ := inferInstanceAs (Module.Finite R M₁) |
| 62 | let : Module.Finite R S.X₂ := inferInstanceAs (Module.Finite R M₂) |
| 63 | let : Module.Finite R S.X₃ := inferInstanceAs (Module.Finite R M₃) |
| 64 | have hS : S.ShortExact := |
| 65 | { exact := (ShortComplex.ShortExact.moduleCat_exact_iff_function_exact S).mpr hfg |
| 66 | mono_f := (ModuleCat.mono_iff_injective S.f).mpr hf |
| 67 | epi_g := (ModuleCat.epi_iff_surjective S.g).mpr hg } |
| 68 | refine ⟨ps ++ qs, ?_, ?_, ?_⟩ |
| 69 | · intro p hp |
| 70 | rcases List.mem_append.mp hp with hp | hp |
| 71 | · exact (hps p hp).trans hs₁ |
| 72 | · exact (hqs p hp).trans hs₃ |
| 73 | · rw [List.map_append, List.sum_append, ← he₁, ← he₃] |
| 74 | exact IsolatedEuler.additivity_of_isolated_support R N d S hS x hx |
| 75 | · intro q |
| 76 | rw [List.map_append, List.sum_append, ← hl₁ q, ← hl₃ q] |
| 77 | exact LocalizedModuleLength.Constructions.localLength_additivity f g hf hg hfg q |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.PrimeEulerLength |