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.ClosedFamily.LocalEquality |
| 2 | |
| 3 | /-! # Open Equality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ideal-defined families are determined by their restrictions to arbitrary open covers. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {X S : Scheme.{u}} |
| 16 | |
| 17 | /-- Equality of ideal sheaves is local on any open cover. -/ |
| 18 | theorem ClosedFamily.OpenEquality.ideal_eq_of_open_cover (C : Scheme.OpenCover.{v} X) |
| 19 | (I J : X.IdealSheafData) (h : ∀ i, I.comap (C.f i) = J.comap (C.f i)) : I = J := by |
| 20 | apply ClosedFamily.LocalEquality.ideal_eq_of_affine_cover C.affineRefinement |
| 21 | intro i |
| 22 | change I.comap ((C.X i.1).affineCover.f i.2 ≫ C.f i.1) = |
| 23 | J.comap ((C.X i.1).affineCover.f i.2 ≫ C.f i.1) |
| 24 | rw [Scheme.IdealSheafData.comap_comp, Scheme.IdealSheafData.comap_comp, h i.1] |
| 25 | |
| 26 | /-- The actual flat closed family is determined by any open cover of its ambient scheme. -/ |
| 27 | theorem Closed.Families.FlatClosedFamily.ext_on_open_cover {P : Over S} (F G : Closed.Families.FlatClosedFamily P) |
| 28 | (C : Scheme.OpenCover.{v} P.left) |
| 29 | (h : ∀ i, F.ideal.comap (C.f i) = G.ideal.comap (C.f i)) : F = G := |
| 30 | Closed.Families.FlatClosedFamily.ext (ClosedFamily.OpenEquality.ideal_eq_of_open_cover C F.ideal G.ideal h) |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |