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.Quotients.FiniteDescent.SubmoduleSheafIs |
| 2 | |
| 3 | /-! # Stalk Ideal Is -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.StalkIdealIs.Construction.StalkIdealSheaf |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The subsheaf of regular functions whose germs belong to prescribed stalk ideals. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} (I : ∀ x : X, Ideal (X.presheaf.stalk x)) |
| 16 | |
| 17 | def ideal (U : X.Opens) : Ideal Γ(X, U) := |
| 18 | ⨅ x : U, (I x).comap (X.presheaf.germ U x x.2).hom |
| 19 | |
| 20 | theorem mem_ideal (U : X.Opens) (s : Γ(X, U)) : |
| 21 | s ∈ ideal I U ↔ ∀ x : U, X.presheaf.germ U x x.2 s ∈ I x := by |
| 22 | simp only [ideal, Ideal.mem_iInf, Ideal.mem_comap] |
| 23 | |
| 24 | def submodule : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).val.Submodule where |
| 25 | obj U := ideal I U.unop |
| 26 | map {U V} h := by |
| 27 | intro s hs |
| 28 | change Γ(X, U.unop) at s |
| 29 | change X.presheaf.map h s ∈ ideal I V.unop |
| 30 | apply (mem_ideal I V.unop _).mpr |
| 31 | intro x |
| 32 | exact (X.presheaf.germ_res_apply h.unop x x.2 s).symm ▸ |
| 33 | (mem_ideal I U.unop s).mp hs ⟨x, h.unop.le x.2⟩ |
| 34 | |
| 35 | theorem isLocal : SubmoduleSheafIs.Construction.SubmoduleSheaf.IsLocal (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (submodule I) := by |
| 36 | intro ι U s hs |
| 37 | change Γ(X, iSup U) at s |
| 38 | apply (mem_ideal I (iSup U) s).mpr |
| 39 | intro x |
| 40 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp x.2 |
| 41 | have h := (mem_ideal I (U i) _).mp (hs i) ⟨x, hi⟩ |
| 42 | change X.presheaf.germ (U i) x hi (X.presheaf.map (Opens.leSupr U i).op s) ∈ I x at h |
| 43 | rw [X.presheaf.germ_res_apply (Opens.leSupr U i) x hi s] at h |
| 44 | exact h |
| 45 | |
| 46 | def sheaf : X.Modules := |
| 47 | SubmoduleSheafIs.Construction.SubmoduleSheaf.ofLocal (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (submodule I) (isLocal I) |
| 48 | |
| 49 | def inclusion : sheaf I ⟶ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X := |
| 50 | SubmoduleSheafIs.Construction.SubmoduleSheaf.inclusion (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (submodule I) (isLocal I) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.StalkIdealIs.Construction.StalkIdealSheaf |