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.PrimeAvoidanceCoset |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SequenceTailChange |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Regular.EquationQuotients |
| 4 | |
| 5 | /-! # Regular Prime Equation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Finite.RegularPrimeEquation.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A single elementary change of equations makes the head regular on |
| 12 | each member of a finite incomparable family of source primes. -/ |
| 13 | |
| 14 | open RingTheory.Sequence |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.PrimeAvoidanceCoset.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SequenceTailChange.Constructions |
| 17 | |
| 18 | universe u |
| 19 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 20 | (P : Finset (Ideal R)) (hp : ∀ Q ∈ P, Q.IsPrime) |
| 21 | (ha : ∀ Q ∈ P, ∀ Q' ∈ P, Q ≤ Q' → Q = Q') |
| 22 | (r : R) (rs : List R) |
| 23 | (hr : IsWeaklyRegular R (r :: rs)) |
| 24 | (hm : ∀ x ∈ r :: rs, x ∈ IsLocalRing.maximalIdeal R) |
| 25 | (hI : ∀ Q ∈ P, ¬ Ideal.ofList (r :: rs) ≤ Q) |
| 26 | |
| 27 | include hp ha hr hm hI in |
| 28 | theorem exists_regular_head : |
| 29 | ∃ t ∈ Ideal.ofList rs, |
| 30 | Ideal.ofList ((r + t) :: rs) = Ideal.ofList (r :: rs) ∧ |
| 31 | IsWeaklyRegular R ((r + t) :: rs) ∧ |
| 32 | (∀ x ∈ (r + t) :: rs, x ∈ IsLocalRing.maximalIdeal R) ∧ |
| 33 | ∀ Q ∈ P, r + t ∉ Q ∧ IsSMulRegular (R ⧸ Q) (r + t) := by |
| 34 | obtain ⟨t, ht, hn⟩ := PrimeAvoidanceCoset.Constructions.exists_add_avoiding P hp ha (Ideal.ofList rs) r (by |
| 35 | simpa only [← Ideal.ofList_cons] using hI) |
| 36 | refine ⟨t, ht, Regular.SequenceTailChange.Constructions.ofList_add_tail r t rs ht, Regular.SequenceTailChange.Constructions.weaklyRegular_add_tail R r t rs ht hm hr, ?_, ?_⟩ |
| 37 | · have htail : Ideal.ofList rs ≤ IsLocalRing.maximalIdeal R := |
| 38 | Ideal.span_le.mpr (fun x hx => hm x (List.mem_cons_of_mem r hx)) |
| 39 | intro x hx |
| 40 | rcases List.mem_cons.mp hx with hx | hx |
| 41 | · rw [hx] |
| 42 | exact (IsLocalRing.maximalIdeal R).add_mem (hm r List.mem_cons_self) (htail ht) |
| 43 | · exact hm x (List.mem_cons_of_mem r hx) |
| 44 | · intro Q hQ |
| 45 | refine ⟨hn Q hQ, (isSMulRegular_quotient_iff_mem_of_smul_mem Q (r + t)).mpr ?_⟩ |
| 46 | intro x hx |
| 47 | exact ((hp Q hQ).mem_or_mem hx).resolve_left (hn Q hQ) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.CycleClass.Thom.Finite.RegularPrimeEquation.Constructions |