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 Mathlib.AlgebraicGeometry.Gluing |
| 2 | |
| 3 | /-! # Over Open Cover Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.OverOpenCoverGluing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible actual scheme maps over a fixed base glue to a map |
| 10 | over that same base, with exact restrictions and uniqueness. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {B : Scheme} (X Y : Over B) (U : X.left.OpenCover) |
| 15 | (f : ∀ i : U.I₀, U.X i ⟶ Y.left) |
| 16 | (hw : ∀ i, f i ≫ Y.hom = U.f i ≫ X.hom) |
| 17 | (hf : ∀ i j, pullback.fst (U.f i) (U.f j) ≫ f i = pullback.snd _ _ ≫ f j) |
| 18 | |
| 19 | def glueOverOpenCover : X ⟶ Y := |
| 20 | Over.homMk (U.glueMorphisms f hf) (by |
| 21 | apply U.hom_ext |
| 22 | intro i |
| 23 | rw [← Category.assoc, U.ι_glueMorphisms, hw]) |
| 24 | |
| 25 | theorem glueOverOpenCover_fac (i : U.I₀) : U.f i ≫ (glueOverOpenCover X Y U f hw hf).left = f i := |
| 26 | U.ι_glueMorphisms f hf i |
| 27 | |
| 28 | theorem glueOverOpenCover_unique (g : X ⟶ Y) (hg : ∀ i, U.f i ≫ g.left = f i) : |
| 29 | g = glueOverOpenCover X Y U f hw hf := by |
| 30 | apply Over.OverMorphism.ext |
| 31 | apply U.hom_ext |
| 32 | intro i |
| 33 | exact (hg i).trans (glueOverOpenCover_fac X Y U f hw hf i).symm |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.OverOpenCoverGluing |