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 | /-! # Morphism Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.MorphismFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local factorizations through a scheme monomorphism glue uniquely. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | theorem lift_of_openCover {T X Y : Scheme.{u}} (U : T.OpenCover.{v}) |
| 16 | (f : T ⟶ Y) (j : X ⟶ Y) [Mono j] |
| 17 | (h : ∀ i, ∃ g : U.X i ⟶ X, g ≫ j = U.f i ≫ f) : |
| 18 | ∃! g : T ⟶ X, g ≫ j = f := by |
| 19 | choose g hg using h |
| 20 | have hc (i k : U.I₀) : |
| 21 | pullback.fst (U.f i) (U.f k) ≫ g i = pullback.snd _ _ ≫ g k := by |
| 22 | apply (cancel_mono j).mp |
| 23 | rw [Category.assoc, Category.assoc, hg i, hg k] |
| 24 | exact pullback.condition_assoc f |
| 25 | let l := U.glueMorphisms g hc |
| 26 | have hl : l ≫ j = f := by |
| 27 | apply U.hom_ext |
| 28 | intro i |
| 29 | rw [← Category.assoc] |
| 30 | exact (congrArg (fun a => a ≫ j) (U.ι_glueMorphisms g hc i)).trans (hg i) |
| 31 | exact ⟨l, hl, fun k hk => (cancel_mono j).mp (hk.trans hl.symm)⟩ |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.MorphismFactorization |