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.Closed.ModelAmbientBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubalgebraBaseInclusion |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TripleOverPullbackIso |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TripleSpectrumComposition |
| 5 | |
| 6 | /-! # Model Flattened Ambient Iso -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The three ambient coefficient stages agree with direct base change to the final coefficient subalgebra. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | def AlgebraDiagramModel.ClosedAlgebraDiagramModel.flattenedAmbientIso |
| 19 | {R : Type u} [CommRing R] (C : Subalgebra ℤ R) |
| 20 | {J : Type v} [Category.{w} J] {A B : Jᵒᵖ ⥤ CommAlgCat.{u} C} |
| 21 | (M : AlgebraDiagramModel.ClosedAlgebraDiagramModel (R := R) A B) (D : Subalgebra M.closingCoefficients R) |
| 22 | (hCD : C ≤ D.restrictScalars ℤ) (X : Over (Spec (.of C))) : |
| 23 | M.ambientBaseChange D X ≅ |
| 24 | (Over.pullback (SubalgebraBaseInclusion.subalgebraBaseInclusionSpec (A := M.closingCoefficients) C D hCD)).obj X := by |
| 25 | letI : CommRing D := Subalgebra.toCommRing (R := M.closingCoefficients) (A := R) D |
| 26 | let f : CommRingCat.of C ⟶ CommRingCat.of M.coefficients := CommRingCat.ofHom (algebraMap C M.coefficients) |
| 27 | let g : CommRingCat.of M.coefficients ⟶ CommRingCat.of M.closingCoefficients := |
| 28 | CommRingCat.ofHom (algebraMap M.coefficients M.closingCoefficients) |
| 29 | let h : CommRingCat.of M.closingCoefficients ⟶ CommRingCat.of D := |
| 30 | CommRingCat.ofHom (algebraMap M.closingCoefficients D) |
| 31 | let k : CommRingCat.of C ⟶ CommRingCat.of D := |
| 32 | CommRingCat.ofHom (SubalgebraBaseInclusion.subalgebraBaseInclusion (A := M.closingCoefficients) (R := R) C D hCD) |
| 33 | have hk : f ≫ g ≫ h = k := by |
| 34 | ext x |
| 35 | rfl |
| 36 | exact TripleOverPullbackIso.tripleOverPullbackIso (Spec.map f) (Spec.map g) (Spec.map h) (Spec.map k) |
| 37 | (TripleSpectrumComposition.tripleSpectrumComposition f g h k hk) X |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |