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.SurjectiveModuleSupport |
| 2 | import Mathlib.RingTheory.Regular.RegularSequence |
| 3 | import Mathlib.RingTheory.LocalRing.Quotient |
| 4 | |
| 5 | /-! # Equation Quotient Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Regular.EquationQuotientSupport.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Passing to the quotient by the first regular equation preserves |
| 12 | the actual residual ideal, local maximal-ideal condition, module support |
| 13 | isolation, and support dimension used in the next induction step. -/ |
| 14 | |
| 15 | open RingTheory.Sequence |
| 16 | open scoped Pointwise |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u v |
| 21 | variable (R : Type u) [CommRing R] [IsLocalRing R] (r : R) |
| 22 | (hrm : r ∈ IsLocalRing.maximalIdeal R) |
| 23 | |
| 24 | include hrm in |
| 25 | theorem quotientLocalRing : IsLocalRing (R ⧸ Ideal.span {r}) := by |
| 26 | have hi : Ideal.span {r} ≠ (⊤ : Ideal R) := ne_top_of_le_ne_top |
| 27 | (IsLocalRing.maximalIdeal.isMaximal R).ne_top |
| 28 | (Ideal.span_le.mpr (Set.singleton_subset_iff.mpr hrm)) |
| 29 | let : Nontrivial (R ⧸ Ideal.span {r}) := Ideal.Quotient.nontrivial_iff.mpr hi |
| 30 | exact IsLocalRing.of_surjective' (Ideal.Quotient.mk (Ideal.span {r})) Ideal.Quotient.mk_surjective |
| 31 | |
| 32 | variable [IsLocalRing (R ⧸ Ideal.span {r})] |
| 33 | local instance : IsLocalHom (algebraMap R (R ⧸ Ideal.span {r})) := |
| 34 | IsLocalHom.of_surjective _ Ideal.Quotient.mk_surjective |
| 35 | |
| 36 | omit [IsLocalRing R] [IsLocalRing (R ⧸ Ideal.span {r})] in |
| 37 | theorem ideal_map_head (rs : List R) : |
| 38 | (Ideal.ofList (r :: rs)).map (algebraMap R (R ⧸ Ideal.span {r})) = |
| 39 | Ideal.ofList (rs.map (algebraMap R (R ⧸ Ideal.span {r}))) := by |
| 40 | have hz : algebraMap R (R ⧸ Ideal.span {r}) r = 0 := |
| 41 | Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.subset_span rfl) |
| 42 | rw [Ideal.map_ofList, List.map_cons, hz, Ideal.ofList_cons, Ideal.span_singleton_zero, bot_sup_eq] |
| 43 | |
| 44 | theorem maximalIdeal_tail (rs : List R) (hm : ∀ x ∈ rs, x ∈ IsLocalRing.maximalIdeal R) : |
| 45 | ∀ x ∈ rs.map (algebraMap R (R ⧸ Ideal.span {r})), x ∈ IsLocalRing.maximalIdeal (R ⧸ Ideal.span {r}) := by |
| 46 | intro x hx |
| 47 | obtain ⟨y, hy, rfl⟩ := List.mem_map.mp hx |
| 48 | exact map_nonunit (algebraMap R (R ⧸ Ideal.span {r})) y (hm y hy) |
| 49 | |
| 50 | variable (N : Type v) [AddCommGroup N] [Module R N] [Module.Finite R N] |
| 51 | |
| 52 | theorem isolated_tail (rs : List R) |
| 53 | (hi : PrimeSpectrum.zeroLocus (Ideal.ofList (r :: rs) : Set R) ∩ Module.support R N ⊆ |
| 54 | {IsLocalRing.closedPoint R}) : |
| 55 | PrimeSpectrum.zeroLocus (Ideal.ofList (rs.map (algebraMap R (R ⧸ Ideal.span {r}))) : |
| 56 | Set (R ⧸ Ideal.span {r})) ∩ Module.support (R ⧸ Ideal.span {r}) (QuotSMulTop r N) ⊆ |
| 57 | {IsLocalRing.closedPoint (R ⧸ Ideal.span {r})} := by |
| 58 | have hs : Module.support R (QuotSMulTop r N) ⊆ Module.support R N := |
| 59 | Module.support_subset_of_surjective (r • (⊤ : Submodule R N)).mkQ (Submodule.mkQ_surjective _) |
| 60 | have h := SurjectiveModuleSupport.Constructions.isolated_ideal_intersection R (R ⧸ Ideal.span {r}) |
| 61 | (QuotSMulTop r N) Ideal.Quotient.mk_surjective (Ideal.ofList (r :: rs)) |
| 62 | ((Set.inter_subset_inter_right _ hs).trans hi) |
| 63 | rw [ideal_map_head R r rs] at h |
| 64 | exact h |
| 65 | |
| 66 | omit [IsLocalRing R] [IsLocalRing (R ⧸ Ideal.span {r})] in |
| 67 | theorem quotient_supportDim : |
| 68 | Module.supportDim (R ⧸ Ideal.span {r}) (QuotSMulTop r N) = Module.supportDim R (QuotSMulTop r N) := |
| 69 | (SurjectiveModuleDimension.Constructions.supportDim_eq R (R ⧸ Ideal.span {r}) (QuotSMulTop r N) |
| 70 | Ideal.Quotient.mk_surjective).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.CycleClass.Thom.Regular.EquationQuotientSupport.Constructions |