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.ArithmeticGeometry.Models.Scheme |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated |
| 3 | |
| 4 | /-! # Compact Open Finite Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.CompactOpenFinitePresentation |
| 7 | |
| 8 | /-! Compact open subschemes retain finite presentation over an affine base. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | |
| 12 | open OAI.ArithmeticGeometry.Models.Scheme.Constructions.Foundations |
| 13 | |
| 14 | theorem compact_open_finitePresentation {S : Scheme.{0}} [IsAffine S] (X : Over S) |
| 15 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (U : X.left.Opens) |
| 16 | (hU : IsCompact (U : Set X.left)) : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (U.ι ≫ X.hom) := by |
| 17 | have : LocallyOfFinitePresentation X.hom := hX.1 |
| 18 | have : QuasiSeparated X.hom := hX.2.2 |
| 19 | have : QuasiSeparatedSpace X.left := quasiSeparatedSpace_of_quasiSeparated X.hom |
| 20 | have : QuasiSeparatedSpace U.toScheme := quasiSeparatedSpace_of_quasiSeparated U.ι |
| 21 | have : CompactSpace U.toScheme := isCompact_iff_compactSpace.mp hU |
| 22 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 23 | |
| 24 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.CompactOpenFinitePresentation |