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.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 2 | import Mathlib.AlgebraicGeometry.Gluing |
| 3 | |
| 4 | /-! # Hom Open Cover Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.HomOpenCoverDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual relative morphisms are detected by base change along an open cover of the base. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u v |
| 13 | |
| 14 | theorem overHom_eq_of_openCoverPullbacks {S : Scheme.{u}} {A B : Over S} |
| 15 | (C : Scheme.OpenCover.{v} S) (f g : A ⟶ B) |
| 16 | (h : ∀ i, (Over.pullback (C.f i)).map f = (Over.pullback (C.f i)).map g) : f = g := by |
| 17 | apply Over.OverMorphism.ext |
| 18 | apply Scheme.Cover.hom_ext (C.pullback₁ A.hom) |
| 19 | intro i |
| 20 | change pullback.fst A.hom (C.f i) ≫ f.left = pullback.fst A.hom (C.f i) ≫ g.left |
| 21 | exact (Pullback.Comparisons.overPullback_map_left_fst f (C.f i)).symm.trans |
| 22 | ((congrArg (fun q : (Over.pullback (C.f i)).obj A ⟶ (Over.pullback (C.f i)).obj B => |
| 23 | q.left ≫ pullback.fst B.hom (C.f i)) (h i)).trans (Pullback.Comparisons.overPullback_map_left_fst g (C.f i))) |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.HomOpenCoverDetection |