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.RationalSheafIs |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SubmoduleSheafIs |
| 3 | |
| 4 | /-! # Fractional Ideal Is -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FractionalIdealIs.Construction.FractionalIdealSheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sheaves of rational functions satisfying prescribed stalkwise fractional-ideal bounds. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} [IsIntegral X] |
| 17 | variable (F : ∀ x : X, Submodule (X.presheaf.stalk x) X.functionField) |
| 18 | |
| 19 | def module (U : X.Opens) : Submodule Γ(X, U) (RationalSheafIs.Construction.RationalSheaf.sections U) where |
| 20 | carrier := {s | ∀ x : U, s ⟨⟨x⟩⟩ ∈ F x} |
| 21 | zero_mem' x := (F x).zero_mem |
| 22 | add_mem' hs ht x := (F x).add_mem (hs x) (ht x) |
| 23 | smul_mem' a s hs x := by |
| 24 | have hm := (F x).smul_mem (X.presheaf.germ U x x.2 a) (hs x) |
| 25 | have : Nonempty U := ⟨x⟩ |
| 26 | change algebraMap (X.presheaf.stalk x) X.functionField |
| 27 | (X.presheaf.germ U x x.2 a) * s ⟨⟨x⟩⟩ ∈ F x at hm |
| 28 | rw [X.algebraMap_germ_eq_germToFunctionField] at hm |
| 29 | exact hm |
| 30 | |
| 31 | theorem mem_module (U : X.Opens) (s : RationalSheafIs.Construction.RationalSheaf.sections U) : |
| 32 | s ∈ module F U ↔ ∀ x : U, s ⟨⟨x⟩⟩ ∈ F x := Iff.rfl |
| 33 | |
| 34 | def submodule : (RationalSheafIs.Construction.RationalSheaf.sheaf (X := X)).val.Submodule where |
| 35 | obj U := module F U.unop |
| 36 | map {U V} h := by |
| 37 | intro s hs |
| 38 | change ∀ x : V.unop, RationalSheafIs.Construction.RationalSheaf.restrict h.unop.le s ⟨⟨x⟩⟩ ∈ F x |
| 39 | intro x |
| 40 | exact hs ⟨x, h.unop.le x.2⟩ |
| 41 | |
| 42 | theorem isLocal : SubmoduleSheafIs.Construction.SubmoduleSheaf.IsLocal RationalSheafIs.Construction.RationalSheaf.sheaf (submodule F) := by |
| 43 | intro ι U s hs |
| 44 | change ∀ x : (iSup U : X.Opens), s ⟨⟨x⟩⟩ ∈ F x |
| 45 | intro x |
| 46 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp x.2 |
| 47 | exact hs i ⟨x, hi⟩ |
| 48 | |
| 49 | def sheaf : X.Modules := |
| 50 | SubmoduleSheafIs.Construction.SubmoduleSheaf.ofLocal RationalSheafIs.Construction.RationalSheaf.sheaf (submodule F) (isLocal F) |
| 51 | |
| 52 | def inclusion : sheaf F ⟶ RationalSheafIs.Construction.RationalSheaf.sheaf := |
| 53 | SubmoduleSheafIs.Construction.SubmoduleSheaf.inclusion RationalSheafIs.Construction.RationalSheaf.sheaf (submodule F) (isLocal F) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FractionalIdealIs.Construction.FractionalIdealSheaf |