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.Line.Bundles |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Presheaf.Submodule |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 4 | |
| 5 | /-! # Submodule Sheaf Is -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.SubmoduleSheafIs.Construction.SubmoduleSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A local family of submodules of a module sheaf is itself a module sheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} (M : X.Modules) (N : M.val.Submodule) |
| 18 | |
| 19 | def IsLocal : Prop := |
| 20 | ∀ (ι : Type u) (U : ι → X.Opens) (s : Γ(M, iSup U)), |
| 21 | (∀ i, M.presheaf.map (Opens.leSupr U i).op s ∈ N.obj (.op (U i))) → |
| 22 | s ∈ N.obj (.op (iSup U)) |
| 23 | |
| 24 | theorem isSheaf (hN : IsLocal M N) : |
| 25 | TopCat.Presheaf.IsSheaf (X := X) N.toPresheafOfModules.presheaf := by |
| 26 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing _).mpr |
| 27 | intro ι U s hs |
| 28 | obtain ⟨t, ht, huniq⟩ := M.isSheaf.isSheafUniqueGluing U (fun i => (s i).val) |
| 29 | (fun i j => congrArg Subtype.val (hs i j)) |
| 30 | have htN : t ∈ N.obj (.op (iSup U)) := |
| 31 | hN ι U t (fun i => (ht i).symm ▸ (s i).property) |
| 32 | refine ⟨⟨t, htN⟩, fun i => Subtype.ext (ht i), ?_⟩ |
| 33 | intro z hz |
| 34 | apply Subtype.ext |
| 35 | exact huniq z.val (fun i => congrArg Subtype.val (hz i)) |
| 36 | |
| 37 | def ofLocal (hN : IsLocal M N) : X.Modules where |
| 38 | val := N.toPresheafOfModules |
| 39 | isSheaf := SubmoduleSheaf.isSheaf M N hN |
| 40 | |
| 41 | def inclusion (hN : IsLocal M N) : ofLocal M N hN ⟶ M := ⟨N.ι⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.SubmoduleSheafIs.Construction.SubmoduleSheaf |