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.Transport |
| 2 | |
| 3 | /-! # Local Equality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equality of embedded closed families can be checked on an affine cover of the ambient scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {X S : Scheme.{u}} |
| 16 | |
| 17 | /-- Ideal sheaves agree if their pullbacks agree on an affine spectrum cover. -/ |
| 18 | theorem ClosedFamily.LocalEquality.ideal_eq_of_affine_cover (C : Scheme.AffineOpenCover.{v} X) |
| 19 | (I J : X.IdealSheafData) (h : ∀ i, I.comap (C.f i) = J.comap (C.f i)) : I = J := by |
| 20 | let U (i : C.I₀) : X.affineOpens := |
| 21 | ⟨C.f i ''ᵁ ⊤, (isAffineOpen_top (Spec (C.X i))).image_of_isOpenImmersion (C.f i)⟩ |
| 22 | have hU : (⨆ i, (U i).1) = ⊤ := by |
| 23 | have hC : (⨆ i, (C.f i).opensRange) = ⊤ := C.openCover.iSup_opensRange |
| 24 | simpa only [U, Scheme.Hom.image_top_eq_opensRange] using hC |
| 25 | apply Scheme.IdealSheafData.ext_of_iSup_eq_top U hU |
| 26 | intro i |
| 27 | have hi := congrArg (fun K : (Spec (C.X i)).IdealSheafData => |
| 28 | K.ideal ⟨⊤, isAffineOpen_top (Spec (C.X i))⟩) (h i) |
| 29 | rw [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion, |
| 30 | Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion] at hi |
| 31 | exact Ideal.comap_injective_of_surjective ((C.f i).appIso ⊤).inv.hom |
| 32 | (ConcreteCategory.bijective_of_isIso ((C.f i).appIso ⊤).inv).2 hi |
| 33 | |
| 34 | /-- An embedded flat family is determined by the restrictions of its defining ideal to an affine cover. -/ |
| 35 | theorem Closed.Families.FlatClosedFamily.ext_on_affine_cover {P : Over S} (F G : Closed.Families.FlatClosedFamily P) |
| 36 | (C : Scheme.AffineOpenCover.{v} P.left) |
| 37 | (h : ∀ i, F.ideal.comap (C.f i) = G.ideal.comap (C.f i)) : F = G := |
| 38 | Closed.Families.FlatClosedFamily.ext (ClosedFamily.LocalEquality.ideal_eq_of_affine_cover C F.ideal G.ideal h) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |