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.Projective.Specialization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.SpecializationConstancy |
| 3 | |
| 4 | /-! # Local Constancy -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A flat projective family's actual fiber Hilbert polynomial is locally constant on a Noetherian base and takes only finitely many values. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {S : Scheme.{u}} [IsNoetherian S] {n : ℕ} |
| 15 | variable (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver S n)) |
| 16 | |
| 17 | theorem Closed.Families.FlatClosedFamily.fiberHilbertPolynomial_isLocallyConstant : IsLocallyConstant F.fiberHilbertPolynomial := |
| 18 | Noetherian.SpecializationConstancy.noetherian_isLocallyConstant_of_specialization F.fiberHilbertPolynomial |
| 19 | (fun _ _ h => F.fiberHilbertPolynomial_eq_of_specializes h) |
| 20 | |
| 21 | theorem Closed.Families.FlatClosedFamily.fiberHilbertPolynomial_finite_range : (Set.range F.fiberHilbertPolynomial).Finite := |
| 22 | F.fiberHilbertPolynomial_isLocallyConstant.range_finite |
| 23 | |
| 24 | def Closed.Families.FlatClosedFamily.hilbertPolynomialBaseOpen (P : Polynomial ℚ) : S.Opens := |
| 25 | ⟨{s | F.fiberHilbertPolynomial s = P}, F.fiberHilbertPolynomial_isLocallyConstant.isOpen_fiber P⟩ |
| 26 | |
| 27 | theorem Closed.Families.FlatClosedFamily.hilbertPolynomialBaseOpen_isClosed (P : Polynomial ℚ) : |
| 28 | IsClosed (F.hilbertPolynomialBaseOpen P : Set S) := |
| 29 | F.fiberHilbertPolynomial_isLocallyConstant.isClosed_fiber P |
| 30 | |
| 31 | theorem Closed.Families.FlatClosedFamily.hilbertPolynomialBaseOpen_covers : |
| 32 | iSup (F.hilbertPolynomialBaseOpen) = ⊤ := by |
| 33 | apply top_unique |
| 34 | intro s _ |
| 35 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨F.fiberHilbertPolynomial s, rfl⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |