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.IsolatedParameterDimension |
| 2 | import Mathlib.RingTheory.KrullDimension.Zero |
| 3 | |
| 4 | /-! # Order Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.OrderDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonzero finite principal colength in a Noetherian local |
| 11 | domain forces the ring to have dimension exactly one. -/ |
| 12 | |
| 13 | theorem dimension (R : Type*) [CommRing R] [IsDomain R] [IsNoetherianRing R] [IsLocalRing R] |
| 14 | (r : R) (hr : r ≠ 0) (hn : (Ring.ord R r).toNat ≠ 0) : ringKrullDim R = 1 := by |
| 15 | have hfin : Ring.ord R r ≠ ⊤ := by |
| 16 | intro he |
| 17 | exact hn (by rw [he, ENat.toNat_top]) |
| 18 | have hpos : Ring.ord R r ≠ 0 := by |
| 19 | intro he |
| 20 | exact hn (by rw [he, ENat.toNat_zero]) |
| 21 | have hrm : r ∈ IsLocalRing.maximalIdeal R := by |
| 22 | by_contra h |
| 23 | exact hpos (Ring.ord_of_isUnit (IsLocalRing.notMem_maximalIdeal.mp h)) |
| 24 | let Q := R ⧸ Ideal.span {r} |
| 25 | have hfinite : IsFiniteLength R Q := Module.length_ne_top_iff.mp hfin |
| 26 | let : IsArtinian R Q := (isFiniteLength_iff_isNoetherian_isArtinian.mp hfinite).2 |
| 27 | let : IsArtinianRing Q := isArtinian_of_tower R (inferInstanceAs (IsArtinian R Q)) |
| 28 | let : Nontrivial Q := Module.length_pos_iff.mp (pos_iff_ne_zero.mpr hpos) |
| 29 | have hQ : ringKrullDim Q = 0 := |
| 30 | ringKrullDimZero_iff_ringKrullDim_eq_zero.mp |
| 31 | (isArtinianRing_iff_krullDimLE_zero.mp (inferInstanceAs (IsArtinianRing Q))) |
| 32 | have he := ringKrullDim_quotient_span_singleton_succ_eq_ringKrullDim |
| 33 | (IsSMulRegular.of_ne_zero hr) hrm |
| 34 | rw [hQ, zero_add] at he |
| 35 | exact he.symm |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.OrderDimension |