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.HilbertScheme.Presentations.Affine.IdealCoefficientTests |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.CoefficientContainment |
| 3 | |
| 4 | /-! # Affine Source Coefficients -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.AffineSourceCoefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An affine source with projective coordinate module has an actual |
| 11 | coefficient ideal for each of its ideal sheaves. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable (R B : CommRingCat.{u}) [Algebra R B] [Module.Projective R B] |
| 17 | |
| 18 | theorem projective_affine_source_coefficients (K : (Spec B).IdealSheafData) : |
| 19 | ∃ I : Ideal R, Affine.IdealCoefficientTests.IsAffineIdealCoefficient R |
| 20 | (Spec.map (CommRingCat.ofHom (algebraMap R B))) K I := by |
| 21 | refine ⟨AlgebraIdealCoefficients.projectiveAlgebraIdealCoefficients R B (SpectrumIdealCoordinates.spectrumIdealCoordinates B K), ?_⟩ |
| 22 | intro J |
| 23 | rw [← (SpectrumIdealCoordinates.spectrumIdealCoordinates B).le_iff_le, |
| 24 | SpectrumIdealCoordinates.spectrumIdealCoordinates_comap, OrderIso.apply_symm_apply] |
| 25 | exact (CoefficientContainment.projectiveAlgebraIdealCoefficients_containment B (SpectrumIdealCoordinates.spectrumIdealCoordinates B K) J).symm |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.AffineSourceCoefficients |