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.Local.RingPullbackMapDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 3 | |
| 4 | /-! # Hom Local Ring Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.HomLocalRingDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative morphisms over arbitrary bases are detected after all local-ring-valued base changes. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem overHom_eq_of_allLocalRingPullbacks {S : Scheme.{u}} {X Y : Over S} |
| 15 | (f g : X ⟶ Y) |
| 16 | (h : ∀ (R : Type u) [CommRing R] [IsLocalRing R] (b : Spec (.of R) ⟶ S), |
| 17 | (Over.pullback b).map f = (Over.pullback b).map g) : f = g := by |
| 18 | apply Over.OverMorphism.ext |
| 19 | apply Local.RingPullbackMapDetection.schemeMap_eq_of_localRingPullbacks X.hom |
| 20 | intro R _ _ b |
| 21 | exact (Pullback.Comparisons.overPullback_map_left_fst f b).symm.trans |
| 22 | ((congrArg (fun q : (Over.pullback b).obj X ⟶ (Over.pullback b).obj Y => |
| 23 | q.left ≫ pullback.fst Y.hom b) (h R b)).trans (Pullback.Comparisons.overPullback_map_left_fst g b)) |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.HomLocalRingDetection |