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.SubalgebraInclusionComposition |
| 2 | import Mathlib.CategoryTheory.Comma.Over.Pullback |
| 3 | |
| 4 | /-! # Subalgebra Pullback Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubalgebraPullbackComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Base change through an intermediate coefficient subalgebra agrees with direct final base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def subalgebraPullbackCompIso |
| 17 | {R A : Type u} [CommRing R] [CommRing A] [Algebra A R] |
| 18 | (C B : Subalgebra ℤ R) (hCB : C ≤ B) (D : Subalgebra A R) (hBD : B ≤ D.restrictScalars ℤ) |
| 19 | (X : Over (Spec (.of C))) : |
| 20 | (Over.pullback (SubalgebraBaseInclusion.subalgebraBaseInclusionSpec B D hBD)).obj |
| 21 | ((Over.pullback (Spec.map (CommRingCat.ofHom (Subalgebra.inclusion hCB).toRingHom))).obj X) ≅ |
| 22 | (Over.pullback (SubalgebraBaseInclusion.subalgebraBaseInclusionSpec C D (hCB.trans hBD))).obj X := by |
| 23 | let c := Spec.map (CommRingCat.ofHom (Subalgebra.inclusion hCB).toRingHom) |
| 24 | let d := SubalgebraBaseInclusion.subalgebraBaseInclusionSpec B D hBD |
| 25 | exact (Over.pullbackComp d c).symm.app X ≪≫ |
| 26 | eqToIso (congrArg (fun f => (Over.pullback f).obj X) |
| 27 | (SubalgebraInclusionComposition.subalgebraBaseInclusionSpec_trans C B hCB D hBD)) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubalgebraPullbackComposition |