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.PrimeFiltrationEuler |
| 2 | import Mathlib.RingTheory.Regular.ProjectiveDimension |
| 3 | |
| 4 | /-! # Sequence Module -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceModule |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native quotient by a regular sequence has its actual support, |
| 11 | annihilator action, and projective-dimension bound equal to the length |
| 12 | of the sequence. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] |
| 22 | |
| 23 | def quotient (rs : List R) : ModuleCat.{u} R := .of R (R ⧸ Ideal.ofList rs) |
| 24 | |
| 25 | instance (rs : List R) : Module.Finite R (quotient R rs) := by unfold quotient; infer_instance |
| 26 | |
| 27 | theorem support (rs : List R) : |
| 28 | Module.support R (quotient R rs) = PrimeSpectrum.zeroLocus (Ideal.ofList rs) := by |
| 29 | change Module.support R (R ⧸ Ideal.ofList rs) = _ |
| 30 | rw [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker] |
| 31 | |
| 32 | theorem killed (rs : List R) (r : R) (hr : r ∈ rs) (m : quotient R rs) : r • m = 0 := by |
| 33 | change Ideal.Quotient.mk (Ideal.ofList rs) r * (show R ⧸ Ideal.ofList rs from m) = 0 |
| 34 | rw [(Ideal.Quotient.eq_zero_iff_mem).mpr (show r ∈ Ideal.ofList rs from Ideal.subset_span hr), zero_mul] |
| 35 | |
| 36 | theorem projectiveDimension [IsNoetherianRing R] [IsLocalRing R] |
| 37 | (rs : List R) (hr : RingTheory.Sequence.IsRegular R rs) : |
| 38 | HasProjectiveDimensionLE (quotient R rs) rs.length := by |
| 39 | have hp : CategoryTheory.projectiveDimension (ModuleCat.of R (Shrink.{u} (R ⧸ Ideal.ofList rs))) = rs.length := |
| 40 | ModuleCat.projectiveDimension_quotient_eq_length rs hr |
| 41 | have he := CategoryTheory.projectiveDimension_eq_of_iso (Shrink.linearEquiv R (R ⧸ Ideal.ofList rs)).toModuleIso |
| 42 | exact (projectiveDimension_le_iff (quotient R rs) rs.length).mp (he.symm.trans hp).le |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceModule |