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.SequenceTailChange |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.PrimeAvoidanceCoset |
| 3 | import Mathlib.RingTheory.KrullDimension.Regular |
| 4 | |
| 5 | /-! # Equation Dimension Drop -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Regular.EquationDimensionDrop.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At an isolated intersection with a positive-dimensional module, |
| 12 | regular ambient equations admit a first equation avoiding every minimal |
| 13 | source prime. The generated ideal stays fixed and source dimension drops. -/ |
| 14 | |
| 15 | open RingTheory.Sequence |
| 16 | open scoped Pointwise |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SequenceTailChange.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.PrimeAvoidanceCoset.Constructions |
| 19 | |
| 20 | universe u v w |
| 21 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 22 | (N : Type v) [AddCommGroup N] [Module R N] [Module.Finite R N] |
| 23 | |
| 24 | theorem minimalPrime_ne_maximalIdeal (P : Ideal R) |
| 25 | (hP : P ∈ (Module.annihilator R N).minimalPrimes) |
| 26 | (hd : 0 < Module.supportDim R N) : P ≠ IsLocalRing.maximalIdeal R := by |
| 27 | intro hPm |
| 28 | have he (q : Module.support R N) : q.val.asIdeal = P := by |
| 29 | have hle : q.val.asIdeal ≤ P := hPm ▸ IsLocalRing.le_maximalIdeal q.val.isPrime.ne_top |
| 30 | exact le_antisymm hle (hP.2 ⟨q.val.isPrime, Module.mem_support_iff_of_finite.mp q.property⟩ hle) |
| 31 | let : Subsingleton (Module.support R N) := ⟨fun q r => |
| 32 | Subtype.ext (PrimeSpectrum.ext ((he q).trans (he r).symm))⟩ |
| 33 | have hz : Module.supportDim R N ≤ 0 := Order.krullDim_nonpos_of_subsingleton |
| 34 | exact (not_lt_of_ge hz) hd |
| 35 | |
| 36 | theorem isolated_ideal_not_le_minimalPrime (I P : Ideal R) |
| 37 | (hP : P ∈ (Module.annihilator R N).minimalPrimes) |
| 38 | (hd : 0 < Module.supportDim R N) |
| 39 | (hi : PrimeSpectrum.zeroLocus (I : Set R) ∩ Module.support R N ⊆ {IsLocalRing.closedPoint R}) : |
| 40 | ¬ I ≤ P := by |
| 41 | intro hIP |
| 42 | let q : PrimeSpectrum R := ⟨P, hP.isPrime⟩ |
| 43 | have hq : q ∈ PrimeSpectrum.zeroLocus (I : Set R) ∩ Module.support R N := |
| 44 | ⟨hIP, Module.mem_support_iff_of_finite.mpr hP.le⟩ |
| 45 | have he : q = IsLocalRing.closedPoint R := Set.mem_singleton_iff.mp (hi hq) |
| 46 | exact minimalPrime_ne_maximalIdeal N P hP hd (congrArg PrimeSpectrum.asIdeal he) |
| 47 | |
| 48 | variable [IsNoetherianRing R] |
| 49 | (M : Type w) [AddCommGroup M] [Module R M] [IsNoetherian R M] |
| 50 | |
| 51 | theorem exists_regular_head_dimension_drop (x : R) (rs : List R) |
| 52 | (hr : IsWeaklyRegular M (x :: rs)) |
| 53 | (hm : ∀ r ∈ x :: rs, r ∈ IsLocalRing.maximalIdeal R) |
| 54 | (hd : 0 < Module.supportDim R N) |
| 55 | (hi : PrimeSpectrum.zeroLocus (Ideal.ofList (x :: rs) : Set R) ∩ Module.support R N ⊆ |
| 56 | {IsLocalRing.closedPoint R}) : |
| 57 | ∃ t ∈ Ideal.ofList rs, |
| 58 | Ideal.ofList ((x + t) :: rs) = Ideal.ofList (x :: rs) ∧ |
| 59 | IsWeaklyRegular M ((x + t) :: rs) ∧ |
| 60 | (∀ P ∈ (Module.annihilator R N).minimalPrimes, x + t ∉ P) ∧ |
| 61 | Module.supportDim R (QuotSMulTop (x + t) N) + 1 ≤ Module.supportDim R N := by |
| 62 | classical |
| 63 | let s := (Ideal.finite_minimalPrimes_of_isNoetherianRing R (Module.annihilator R N)).toFinset |
| 64 | have hs (P : Ideal R) : P ∈ s ↔ P ∈ (Module.annihilator R N).minimalPrimes := |
| 65 | Set.Finite.mem_toFinset _ |
| 66 | have hp (P : Ideal R) (hP : P ∈ s) : P.IsPrime := ((hs P).mp hP).isPrime |
| 67 | have ha (P : Ideal R) (hP : P ∈ s) (Q : Ideal R) (hQ : Q ∈ s) (hle : P ≤ Q) : P = Q := |
| 68 | le_antisymm hle (((hs Q).mp hQ).2 ((hs P).mp hP).1 hle) |
| 69 | have hI (P : Ideal R) (hP : P ∈ s) : ¬ Ideal.span {x} ⊔ Ideal.ofList rs ≤ P := by |
| 70 | rw [← Ideal.ofList_cons] |
| 71 | exact isolated_ideal_not_le_minimalPrime N _ P ((hs P).mp hP) hd hi |
| 72 | obtain ⟨t, ht, hav⟩ := PrimeAvoidanceCoset.Constructions.exists_add_avoiding s hp ha (Ideal.ofList rs) x hI |
| 73 | have hav' : ∀ P ∈ (Module.annihilator R N).minimalPrimes, x + t ∉ P := |
| 74 | fun P hP => hav P ((hs P).mpr hP) |
| 75 | exact ⟨t, ht, SequenceTailChange.Constructions.ofList_add_tail x t rs ht, SequenceTailChange.Constructions.weaklyRegular_add_tail M x t rs ht hm hr, hav', |
| 76 | Module.supportDim_quotSMulTop_succ_le_of_notMem_minimalPrimes hav'⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.CycleClass.Thom.Regular.EquationDimensionDrop.Constructions |