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.Regular.EquationDimensionDrop |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Regular.EquationQuotientSupport |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Regular.EquationQuotients |
| 4 | |
| 5 | /-! # Prime Equation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Regular.PrimeEquation.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a prime quotient of positive support dimension, an isolated |
| 12 | intersection admits a first equation regular both on the ambient ring |
| 13 | and on the source. The equation ideal and all local conditions persist. -/ |
| 14 | |
| 15 | open RingTheory.Sequence |
| 16 | |
| 17 | universe u |
| 18 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 19 | (p : PrimeSpectrum R) |
| 20 | |
| 21 | theorem exists_regular_head (r : R) (rs : List R) |
| 22 | (hr : IsWeaklyRegular R (r :: rs)) |
| 23 | (hm : ∀ x ∈ r :: rs, x ∈ IsLocalRing.maximalIdeal R) |
| 24 | (hd : 0 < Module.supportDim R (R ⧸ p.asIdeal)) |
| 25 | (hi : PrimeSpectrum.zeroLocus (Ideal.ofList (r :: rs) : Set R) ∩ |
| 26 | Module.support R (R ⧸ p.asIdeal) ⊆ {IsLocalRing.closedPoint R}) : |
| 27 | ∃ s : R, |
| 28 | Ideal.ofList (s :: rs) = Ideal.ofList (r :: rs) ∧ |
| 29 | IsWeaklyRegular R (s :: rs) ∧ |
| 30 | (∀ x ∈ s :: rs, x ∈ IsLocalRing.maximalIdeal R) ∧ |
| 31 | IsSMulRegular (R ⧸ p.asIdeal) s ∧ |
| 32 | Module.supportDim R (QuotSMulTop s (R ⧸ p.asIdeal)) + 1 ≤ |
| 33 | Module.supportDim R (R ⧸ p.asIdeal) := by |
| 34 | obtain ⟨t, ht, he, hreg, hav, hdim⟩ := |
| 35 | EquationDimensionDrop.Constructions.exists_regular_head_dimension_drop |
| 36 | (R ⧸ p.asIdeal) R r rs hr hm hd hi |
| 37 | have hp : p.asIdeal ∈ (Module.annihilator R (R ⧸ p.asIdeal)).minimalPrimes := by |
| 38 | rw [Ideal.annihilator_quotient, Ideal.minimalPrimes_eq_subsingleton_self] |
| 39 | exact Set.mem_singleton _ |
| 40 | have hnot : r + t ∉ p.asIdeal := hav p.asIdeal hp |
| 41 | have hJ : Ideal.ofList rs ≤ IsLocalRing.maximalIdeal R := |
| 42 | Ideal.span_le.mpr (fun x hx => hm x (List.mem_cons_of_mem r hx)) |
| 43 | refine ⟨r + t, he, hreg, ?_, ?_, hdim⟩ |
| 44 | · intro x hx |
| 45 | rcases List.mem_cons.mp hx with heq | hx |
| 46 | · rw [heq] |
| 47 | exact (IsLocalRing.maximalIdeal R).add_mem (hm r (List.mem_cons_self)) (hJ ht) |
| 48 | · exact hm x (List.mem_cons_of_mem r hx) |
| 49 | · apply (isSMulRegular_quotient_iff_mem_of_smul_mem p.asIdeal (r + t)).mpr |
| 50 | intro x hx |
| 51 | exact (p.isPrime.mem_or_mem hx).resolve_left hnot |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.CycleClass.Thom.Regular.PrimeEquation.Constructions |