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.Divisors.LineBundles.LineBundle.RationalCoefficient |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Rational Section Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual local representatives of a rational line-bundle section glue uniquely -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable {X : Scheme.{0}} [IsIntegral X] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 15 | |
| 16 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.localSections_agree_on_overlap (x y : X) (U V : X.Opens) [Nonempty U] [Nonempty V] |
| 17 | (hU : U ≤ L.trivializingOpen x) (hV : V ≤ L.trivializingOpen y) |
| 18 | (s : Γ(L.sheaf, U)) (t : Γ(L.sheaf, V)) |
| 19 | (hst : L.localRationalCoefficient x U hU s = L.localRationalCoefficient y V hV t) : |
| 20 | L.sheaf.presheaf.map (homOfLE (show U ⊓ V ≤ U from inf_le_left)).op s = |
| 21 | L.sheaf.presheaf.map (homOfLE (show U ⊓ V ≤ V from inf_le_right)).op t := by |
| 22 | classical |
| 23 | let W : X.Opens := U ⊓ V |
| 24 | by_cases hW : Nonempty W |
| 25 | · let : Nonempty W := hW |
| 26 | apply L.localRationalCoefficient_injective x W (inf_le_left.trans hU) |
| 27 | rw [L.localRationalCoefficient_restrict x inf_le_left hU, |
| 28 | L.localRationalCoefficient_frame x y (U ⊓ V) (inf_le_left.trans hU) (inf_le_right.trans hV), |
| 29 | L.localRationalCoefficient_restrict y inf_le_right hV] |
| 30 | exact hst |
| 31 | · apply L.sheaf.isSheaf.section_ext |
| 32 | intro z hz |
| 33 | exact (hW ⟨⟨z, hz⟩⟩).elim |
| 34 | |
| 35 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.localRationalSections_compatible {ι : Type} (x : ι → X) (U : ι → X.Opens) |
| 36 | [∀ i, Nonempty (U i)] (hU : ∀ i, U i ≤ L.trivializingOpen (x i)) |
| 37 | (s : ∀ i, Γ(L.sheaf, U i)) (a : X.functionField) |
| 38 | (hs : ∀ i, L.localRationalCoefficient (x i) (U i) (hU i) (s i) = a) : |
| 39 | TopCat.Presheaf.IsCompatible L.sheaf.presheaf U s := by |
| 40 | intro i j |
| 41 | exact L.localSections_agree_on_overlap (x i) (x j) (U i) (U j) (hU i) (hU j) |
| 42 | (s i) (s j) ((hs i).trans (hs j).symm) |
| 43 | |
| 44 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.existsUnique_gluedRationalSection {ι : Type} (x : ι → X) (U : ι → X.Opens) |
| 45 | [∀ i, Nonempty (U i)] (hU : ∀ i, U i ≤ L.trivializingOpen (x i)) |
| 46 | (s : ∀ i, Γ(L.sheaf, U i)) (a : X.functionField) |
| 47 | (hs : ∀ i, L.localRationalCoefficient (x i) (U i) (hU i) (s i) = a) : |
| 48 | ∃! t : Γ(L.sheaf, iSup U), ∀ i, |
| 49 | L.sheaf.presheaf.map (homOfLE (le_iSup U i)).op t = s i := by |
| 50 | let F : TopCat.Sheaf Ab.{0} X := ⟨L.sheaf.presheaf, L.sheaf.isSheaf⟩ |
| 51 | exact F.existsUnique_gluing U s (L.localRationalSections_compatible x U hU s a hs) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Divisors.LineBundles |