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.AbelianScheme.IsogenyQuotient.Countable.RankPoints |
| 2 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 3 | |
| 4 | /-! # Rank Closed Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.RankClosedPoints.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every nonempty closed set in the spectrum of a countable-dimensional |
| 11 | algebra over an uncountable algebraically closed field contains a rational |
| 12 | point. Consequently open sets covering all rational points cover the spectrum. -/ |
| 13 | |
| 14 | variable (C R : Type) [Field C] [Uncountable C] [IsAlgClosed C] |
| 15 | [CommRing R] [Algebra C R] |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false in |
| 18 | theorem algHom_killing_ideal_of_countable_rank |
| 19 | (h : Module.rank C R ≤ Cardinal.aleph0) (I : Ideal R) (hI : I ≠ ⊤) : |
| 20 | ∃ f : R →ₐ[C] C, I ≤ RingHom.ker f.toRingHom := by |
| 21 | obtain ⟨J, hJ, hIJ⟩ := Ideal.exists_le_maximal I hI |
| 22 | let : J.IsMaximal := hJ |
| 23 | let L := R ⧸ J |
| 24 | let : Field L := Ideal.Quotient.field J |
| 25 | have hr : Module.rank C L ≤ Module.rank C R := |
| 26 | (Ideal.Quotient.mkₐ C J).toLinearMap.rank_le_of_surjective (Ideal.Quotient.mk_surjective) |
| 27 | have : Algebra.IsAlgebraic C L := RankPoints.Construction.field_isAlgebraic_of_countable_rank (C := C) (L := L) (hr.trans h) |
| 28 | let e : C ≃ₐ[C] L := AlgEquiv.ofBijective (Algebra.ofId C L) |
| 29 | (IsAlgClosed.algebraMap_bijective_of_isIntegral (k := C)) |
| 30 | refine ⟨e.symm.toAlgHom.comp (Ideal.Quotient.mkₐ C J), ?_⟩ |
| 31 | intro r hr |
| 32 | change e.symm (Ideal.Quotient.mk J r) = 0 |
| 33 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr (hIJ hr), map_zero] |
| 34 | |
| 35 | def rationalKernelPoint (f : R →ₐ[C] C) : PrimeSpectrum R := |
| 36 | ⟨RingHom.ker f.toRingHom, RingHom.ker_isPrime f.toRingHom⟩ |
| 37 | |
| 38 | theorem closed_set_has_rational_point_of_countable_rank |
| 39 | (h : Module.rank C R ≤ Cardinal.aleph0) |
| 40 | (Z : Set (PrimeSpectrum R)) (hZ : IsClosed Z) (hNE : Z.Nonempty) : |
| 41 | ∃ f : R →ₐ[C] C, rationalKernelPoint C R f ∈ Z := by |
| 42 | obtain ⟨I, rfl⟩ := (PrimeSpectrum.isClosed_iff_zeroLocus_ideal Z).mp hZ |
| 43 | have hI : I ≠ ⊤ := by |
| 44 | intro hI |
| 45 | exact hNE.ne_empty (PrimeSpectrum.zeroLocus_empty_iff_eq_top.mpr hI) |
| 46 | obtain ⟨f, hf⟩ := algHom_killing_ideal_of_countable_rank C R h I hI |
| 47 | exact ⟨f, hf⟩ |
| 48 | |
| 49 | theorem open_set_eq_univ_of_rational_points |
| 50 | (h : Module.rank C R ≤ Cardinal.aleph0) |
| 51 | (U : Set (PrimeSpectrum R)) (hU : IsOpen U) |
| 52 | (hpoints : ∀ f : R →ₐ[C] C, rationalKernelPoint C R f ∈ U) : U = Set.univ := by |
| 53 | by_contra hne |
| 54 | have hcomp : Uᶜ.Nonempty := Set.nonempty_compl.mpr hne |
| 55 | obtain ⟨f, hf⟩ := closed_set_has_rational_point_of_countable_rank C R h Uᶜ hU.isClosed_compl hcomp |
| 56 | exact hf (hpoints f) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.RankClosedPoints.Construction |