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.Finite |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Support |
| 3 | import Mathlib.RingTheory.KrullDimension.Module |
| 4 | import Mathlib.RingTheory.HopkinsLevitzki |
| 5 | import Mathlib.Algebra.Module.Torsion.Basic |
| 6 | |
| 7 | /-! # Finite Length -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.FiniteLength.Tor |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A finite module with at most one support point has finite length. |
| 14 | Together with Tor support containment, this proves finite Tor length for |
| 15 | isolated intersections in a local spectrum. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 22 | |
| 23 | theorem finiteLength_of_support_subsingleton (M : Type u) [AddCommGroup M] [Module R M] |
| 24 | [Module.Finite R M] [Subsingleton (Module.support R M)] : IsFiniteLength R M := by |
| 25 | let A := R ⧸ Module.annihilator R M |
| 26 | have hd : ringKrullDim A ≤ 0 := by |
| 27 | rw [← Module.supportDim_eq_ringKrullDim_quotient_annihilator] |
| 28 | exact Order.krullDim_nonpos_of_subsingleton |
| 29 | let : Ring.KrullDimLE 0 A := ⟨hd⟩ |
| 30 | let : IsArtinianRing A := isArtinianRing_iff_krullDimLE_zero.mpr inferInstance |
| 31 | let : Module A M := Module.quotientAnnihilator (R := R) (M := M) |
| 32 | let : IsScalarTower R A M := (Module.isTorsionBySet_annihilator R M).isScalarTower |
| 33 | let : Module.Finite A M := Module.Finite.of_restrictScalars_finite R A M |
| 34 | let : IsArtinian R M := isArtinian_of_surjective_algebraMap |
| 35 | (show Function.Surjective (algebraMap R A) from Ideal.Quotient.mk_surjective) |
| 36 | exact isFiniteLength_iff_isNoetherian_isArtinian.mpr ⟨inferInstance, inferInstance⟩ |
| 37 | |
| 38 | theorem finiteLength_of_support_subset_singleton |
| 39 | (M : Type u) [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 40 | (p : PrimeSpectrum R) (h : Module.support R M ⊆ {p}) : IsFiniteLength R M := by |
| 41 | let : Subsingleton (Module.support R M) := ⟨fun a b => Subtype.ext |
| 42 | ((Set.mem_singleton_iff.mp (h a.property)).trans (Set.mem_singleton_iff.mp (h b.property)).symm)⟩ |
| 43 | exact finiteLength_of_support_subsingleton R M |
| 44 | |
| 45 | theorem tor_finiteLength (M N : ModuleCat.{u} R) |
| 46 | [Module.Finite R M] [Module.Finite R N] (p : PrimeSpectrum R) |
| 47 | (h : Module.support R M ∩ Module.support R N ⊆ {p}) (n : ℕ) : |
| 48 | IsFiniteLength R (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 49 | let := TorAlgebra.Finite.Tor.finite R M N n |
| 50 | exact finiteLength_of_support_subset_singleton R _ p ((Support.Tor.support_subset R M N n).trans h) |
| 51 | |
| 52 | theorem tor_length_ne_top (M N : ModuleCat.{u} R) |
| 53 | [Module.Finite R M] [Module.Finite R N] (p : PrimeSpectrum R) |
| 54 | (h : Module.support R M ∩ Module.support R N ⊆ {p}) (n : ℕ) : |
| 55 | Module.length R (((Tor (ModuleCat R) n).obj M).obj N) ≠ ⊤ := |
| 56 | Module.length_ne_top_iff.mpr (tor_finiteLength R M N p h n) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.FiniteLength.Tor |