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.AbelianModuli.HilbertConstruction.DifferentialCoefficientIdeal |
| 2 | import Mathlib.RingTheory.LocalRing.ResidueField.Ideal |
| 3 | import Mathlib.RingTheory.Spectrum.Prime.RingHom |
| 4 | |
| 5 | /-! # Differential Ideal Point Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferentialIdealPointSupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! If the residue-field kernel of a differential vanishes away from one prime and its source has a basis vector, its coefficient-ideal quotient has at most one point. No reducedness is imposed on the quotient. -/ |
| 12 | open _root_.Module |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | variable {R M N : Type u} [CommRing R] [AddCommGroup M] [AddCommGroup N] |
| 16 | variable [Module R M] [Module R N] |
| 17 | variable {ι κ : Type u} (b : Basis ι R M) (c : Basis κ R N) (f : M →ₗ[R] N) |
| 18 | |
| 19 | theorem differential_coefficients_not_le_of_residue_kernel_subsingleton |
| 20 | (i : ι) (p : PrimeSpectrum R) |
| 21 | (hp : Subsingleton (LinearMap.ker (f.baseChange p.asIdeal.ResidueField))) : |
| 22 | ¬ DifferentialCoefficientIdeal.differentialCoefficientIdeal b c f ≤ p.asIdeal := by |
| 23 | intro h |
| 24 | have hz : f.baseChange p.asIdeal.ResidueField = 0 := |
| 25 | (DifferentialCoefficientIdeal.differential_baseChange_zero_iff_coefficients b c f p.asIdeal.ResidueField).mpr |
| 26 | (by simpa only [Ideal.ker_algebraMap_residueField] using h) |
| 27 | let z : LinearMap.ker (f.baseChange p.asIdeal.ResidueField) := |
| 28 | ⟨(b.baseChange p.asIdeal.ResidueField) i, by |
| 29 | change (f.baseChange p.asIdeal.ResidueField) _ = 0 |
| 30 | rw [hz, LinearMap.zero_apply]⟩ |
| 31 | exact (b.baseChange p.asIdeal.ResidueField).ne_zero i |
| 32 | (congrArg (fun x : LinearMap.ker (f.baseChange p.asIdeal.ResidueField) => x.val) |
| 33 | (hp.elim z 0)) |
| 34 | |
| 35 | theorem differential_coefficient_quotient_subsingleton_of_residue_support |
| 36 | (i : ι) (p₀ : PrimeSpectrum R) |
| 37 | (h : ∀ p : PrimeSpectrum R, p ≠ p₀ → |
| 38 | Subsingleton (LinearMap.ker (f.baseChange p.asIdeal.ResidueField))) : |
| 39 | Subsingleton (PrimeSpectrum (R ⧸ DifferentialCoefficientIdeal.differentialCoefficientIdeal b c f)) := by |
| 40 | let I := DifferentialCoefficientIdeal.differentialCoefficientIdeal b c f |
| 41 | have hp (p : PrimeSpectrum R) (hI : I ≤ p.asIdeal) : p = p₀ := by |
| 42 | by_contra hn |
| 43 | exact differential_coefficients_not_le_of_residue_kernel_subsingleton b c f i p (h p hn) hI |
| 44 | have hI (q : PrimeSpectrum (R ⧸ I)) : |
| 45 | I ≤ (PrimeSpectrum.comap (Ideal.Quotient.mk I) q).asIdeal := by |
| 46 | intro r hr |
| 47 | change Ideal.Quotient.mk I r ∈ q.asIdeal |
| 48 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr hr] |
| 49 | exact q.asIdeal.zero_mem |
| 50 | refine ⟨fun p q => ?_⟩ |
| 51 | apply PrimeSpectrum.comap_injective_of_surjective (Ideal.Quotient.mk I) Ideal.Quotient.mk_surjective |
| 52 | exact (hp _ (hI p)).trans (hp _ (hI q)).symm |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferentialIdealPointSupport |