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.Affine.QuasicoherentEpimorphisms |
| 2 | |
| 3 | /-! # Quasicoherent Epimorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentEpimorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Quasicoherent epimorphisms are surjective on sections of every affine open. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem affineOpen_quasicoherent_surjective_of_epi {X : Scheme.{u}} |
| 16 | {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 17 | (f : M ⟶ N) [Epi f] (U : X.Opens) (hU : IsAffineOpen U) : |
| 18 | Function.Surjective (f.app U) := by |
| 19 | have : IsAffine U.toScheme := hU |
| 20 | have hs : Function.Surjective (f.app (U.ι ''ᵁ (⊤ : U.toScheme.Opens))) := |
| 21 | Affine.QuasicoherentEpimorphisms.quasicoherent_affine_surjective_of_epi ((restrictFunctor U.ι).map f) |
| 22 | rw [U.ι_image_top] at hs |
| 23 | exact hs |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentEpimorphisms |