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.Scheme |
| 2 | import Mathlib.CategoryTheory.Comma.Over.Basic |
| 3 | |
| 4 | /-! # Unique Over Hom -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.UniqueOverHom |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The unique map of schemes over a base has exactly the usual |
| 11 | unique underlying factorization property. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem unique_over_hom_iff {S : Scheme.{0}} (T Z : Over S) : |
| 16 | (∃! _f : T ⟶ Z, True) ↔ ∃! f : T.left ⟶ Z.left, f ≫ Z.hom = T.hom := by |
| 17 | constructor |
| 18 | · rintro ⟨f, _, hf⟩ |
| 19 | refine ⟨f.left, f.w, ?_⟩ |
| 20 | intro g hg |
| 21 | exact congrArg Over.Hom.left (hf (Over.homMk g hg) trivial) |
| 22 | · rintro ⟨f, hf, hu⟩ |
| 23 | refine ⟨Over.homMk f hf, trivial, ?_⟩ |
| 24 | intro g _ |
| 25 | exact Over.OverMorphism.ext (hu g.left g.w) |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.UniqueOverHom |