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.AbelianModuli.HilbertConstruction.Regular.SequenceBasic |
| 2 | import Mathlib.RingTheory.LocalRing.RingHom.Basic |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basic |
| 4 | |
| 5 | /-! # Parameter Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.ParameterQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Quotienting a local ring by the first regular parameter carries the remaining regular sequence to generators of the quotient maximal ideal. -/ |
| 12 | open IsLocalRing |
| 13 | universe u |
| 14 | |
| 15 | theorem regular_parameters_quotient |
| 16 | {R : Type u} [CommRing R] [IsLocalRing R] (r : R) (rs : List R) |
| 17 | [IsLocalRing (R ⧸ Ideal.span {r})] |
| 18 | (hreg : SequenceBasic.RingTheory.Sequence.IsRegular R (r :: rs)) (hgen : SequenceBasic.Ideal.ofList (r :: rs) = maximalIdeal R) : |
| 19 | SequenceBasic.RingTheory.Sequence.IsRegular (R ⧸ Ideal.span {r}) (rs.map (Ideal.Quotient.mk (Ideal.span {r}))) ∧ |
| 20 | SequenceBasic.Ideal.ofList (rs.map (Ideal.Quotient.mk (Ideal.span {r}))) = |
| 21 | maximalIdeal (R ⧸ Ideal.span {r}) := by |
| 22 | let S := R ⧸ Ideal.span {r} |
| 23 | let e : QuotSMulTop r R ≃ₗ[R] S := |
| 24 | (QuotSMulTop.equivQuotTensor r R).trans (TensorProduct.rid R S) |
| 25 | let eS : QuotSMulTop r R ≃ₗ[S] S := |
| 26 | e.extendScalarsOfSurjective (show Function.Surjective (algebraMap R S) from Ideal.Quotient.mk_surjective) |
| 27 | have htail : SequenceBasic.RingTheory.Sequence.IsRegular (QuotSMulTop r R) (rs.map (Ideal.Quotient.mk (Ideal.span {r}))) := |
| 28 | ((SequenceBasic.RingTheory.Sequence.isRegular_cons_iff' R r rs).mp hreg).2 |
| 29 | refine ⟨(SequenceBasic.LinearEquiv.isRegular_congr eS _).mp htail, ?_⟩ |
| 30 | have hmkr : Ideal.Quotient.mk (Ideal.span {r}) r = 0 := |
| 31 | Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.subset_span (Set.mem_singleton r)) |
| 32 | have hmap := congrArg (Ideal.map (Ideal.Quotient.mk (Ideal.span {r}))) hgen |
| 33 | rw [SequenceBasic.Ideal.map_ofList, List.map_cons, hmkr, SequenceBasic.Ideal.ofList_cons] at hmap |
| 34 | simpa using hmap.trans (IsLocalRing.map_maximalIdeal_of_surjective |
| 35 | (Ideal.Quotient.mk (Ideal.span {r})) Ideal.Quotient.mk_surjective) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.ParameterQuotient |