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.RepresentationTheory.Theta.Geometric.SquareZero.LinearDetection |
| 2 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 3 | import Mathlib.RingTheory.Ideal.Prime |
| 4 | |
| 5 | /-! # Spectrum -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.Spectrum |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The split square-zero extension of the complex field by any complex |
| 12 | vector space has exactly one underlying scheme point. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {M : Type} [AddCommGroup M] [Module ℂ M] [Module ℂᵐᵒᵖ M] [IsCentralScalar ℂ M] |
| 17 | |
| 18 | theorem squareZero_prime_mem (p : PrimeSpectrum (TrivSqZeroExt ℂ M)) (x : TrivSqZeroExt ℂ M) : |
| 19 | x ∈ p.asIdeal ↔ x.fst = 0 := by |
| 20 | constructor |
| 21 | · intro hx |
| 22 | by_contra hn |
| 23 | have hu : IsUnit x := TrivSqZeroExt.isUnit_iff_isUnit_fst.mpr (isUnit_iff_ne_zero.mpr hn) |
| 24 | exact p.isPrime.ne_top (p.asIdeal.eq_top_of_isUnit_mem hx hu) |
| 25 | · intro hx |
| 26 | have hsq : x ^ 2 = 0 := by |
| 27 | rw [pow_two] |
| 28 | apply TrivSqZeroExt.ext |
| 29 | · simp [TrivSqZeroExt.fst_mul, hx] |
| 30 | · simp [TrivSqZeroExt.snd_mul, hx] |
| 31 | exact p.isPrime.mem_of_pow_mem 2 (hsq.symm ▸ p.asIdeal.zero_mem) |
| 32 | |
| 33 | theorem squareZero_primeSpectrum_subsingleton : Subsingleton (PrimeSpectrum (TrivSqZeroExt ℂ M)) := by |
| 34 | refine ⟨fun p q => ?_⟩ |
| 35 | apply PrimeSpectrum.ext |
| 36 | apply Ideal.ext |
| 37 | intro x |
| 38 | exact (squareZero_prime_mem p x).trans (squareZero_prime_mem q x).symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.Spectrum |