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.IntersectionTheory.ProjectionFormula.Regular.SequenceReduction |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.QuotientSupport |
| 3 | |
| 4 | /-! # Sequence Prime Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequencePrimeReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Prime factors in a regular-sequence Euler pairing admit a parameter |
| 11 | outside the prime unless the factor is supported at the closed point. |
| 12 | All quotient identifications here are native module equivalences. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open RingTheory.Sequence OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceModule |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] |
| 24 | |
| 25 | def permutationEquiv (rs ss : List R) (h : rs.Perm ss) : SequenceModule.quotient R rs ≃ₗ[R] SequenceModule.quotient R ss := by |
| 26 | have hI : Ideal.ofList rs = Ideal.ofList ss := congrArg Ideal.span (Set.ext fun _ => h.mem_iff) |
| 27 | exact Submodule.quotEquivOfEq _ _ hI |
| 28 | |
| 29 | theorem prime_support (p : PrimeSpectrum R) : |
| 30 | Module.support R (R ⧸ p.asIdeal) = PrimeSpectrum.zeroLocus p.asIdeal := by |
| 31 | rw [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker] |
| 32 | |
| 33 | theorem prime_mem (p : PrimeSpectrum R) : p ∈ Module.support R (R ⧸ p.asIdeal) := by |
| 34 | rw [prime_support] |
| 35 | exact (le_rfl : p.asIdeal ≤ p.asIdeal) |
| 36 | |
| 37 | theorem closed_support [IsLocalRing R] : |
| 38 | Module.support R (R ⧸ (IsLocalRing.closedPoint R).asIdeal) ⊆ {IsLocalRing.closedPoint R} := by |
| 39 | rw [prime_support] |
| 40 | intro p hp |
| 41 | apply Set.mem_singleton_iff.mpr |
| 42 | apply PrimeSpectrum.ext |
| 43 | apply le_antisymm |
| 44 | · exact IsLocalRing.le_maximalIdeal p.isPrime.ne_top |
| 45 | · exact hp |
| 46 | |
| 47 | theorem prime_regular (p : PrimeSpectrum R) (r : R) (hr : r ∉ p.asIdeal) : |
| 48 | IsSMulRegular (R ⧸ p.asIdeal) r := by |
| 49 | apply IsSMulRegular.of_right_eq_zero_of_smul |
| 50 | intro m hm |
| 51 | change Ideal.Quotient.mk p.asIdeal r * m = 0 at hm |
| 52 | exact (mul_eq_zero.mp hm).resolve_left (fun h => hr (Ideal.Quotient.eq_zero_iff_mem.mp h)) |
| 53 | |
| 54 | theorem exists_parameter [IsLocalRing R] (rs : List R) (p : PrimeSpectrum R) |
| 55 | (hp : p ≠ IsLocalRing.closedPoint R) |
| 56 | (hiso : Module.support R (R ⧸ p.asIdeal) ∩ Module.support R (SequenceModule.quotient R rs) ⊆ |
| 57 | {IsLocalRing.closedPoint R}) : |
| 58 | ∃ r ∈ rs, r ∉ p.asIdeal := by |
| 59 | classical |
| 60 | by_contra! h |
| 61 | apply hp |
| 62 | apply Set.mem_singleton_iff.mp |
| 63 | apply hiso |
| 64 | refine ⟨prime_mem R p, ?_⟩ |
| 65 | rw [SequenceModule.support] |
| 66 | exact Ideal.span_le.mpr h |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequencePrimeReduction |