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.ConstantScheme.FunctionCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChangeLabels |
| 3 | |
| 4 | /-! # Open Functions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.OpenFunctions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On every open subset of the base, the constant scheme is still the disjoint union of those opens and its regular functions have actual label coordinates. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable (S : Scheme.{u}) (I : Type u) (U : S.Opens) |
| 14 | |
| 15 | def constantSchemeOpenIso : |
| 16 | (Iff.constantScheme U.toScheme I).left ≅ ((Iff.constantScheme S I).hom ⁻¹ᵁ U).toScheme := |
| 17 | (Over.forget U.toScheme).mapIso (Constant.BaseChange.constantSchemeBaseChangeIso U.ι I) ≪≫ |
| 18 | (isPullback_morphismRestrict (Iff.constantScheme S I).hom U).flip.isoPullback.symm |
| 19 | |
| 20 | theorem constantSchemeOpenIso_inclusion : |
| 21 | (constantSchemeOpenIso S I U).hom ≫ ((Iff.constantScheme S I).hom ⁻¹ᵁ U).ι = |
| 22 | (Constant.BaseChange.constantSchemeBaseChangeIso U.ι I).hom.left ≫ pullback.fst (Iff.constantScheme S I).hom U.ι := |
| 23 | (Category.assoc _ _ _).trans (congrArg |
| 24 | (fun k => (Constant.BaseChange.constantSchemeBaseChangeIso U.ι I).hom.left ≫ k) |
| 25 | (isPullback_morphismRestrict (Iff.constantScheme S I).hom U).flip.isoPullback_inv_fst) |
| 26 | |
| 27 | theorem constantSchemeOpenIso_label_inclusion (i : I) : |
| 28 | Sigma.ι (fun _ : I => U.toScheme) i ≫ (constantSchemeOpenIso S I U).hom ≫ |
| 29 | ((Iff.constantScheme S I).hom ⁻¹ᵁ U).ι = U.ι ≫ Sigma.ι (fun _ : I => S) i := |
| 30 | (congrArg (fun k => Sigma.ι (fun _ : I => U.toScheme) i ≫ k) |
| 31 | (constantSchemeOpenIso_inclusion S I U)).trans |
| 32 | ((Category.assoc _ _ _).symm.trans (Constant.BaseChangeLabels.constantSchemeBaseChangeIso_label_fst U.ι I i)) |
| 33 | |
| 34 | def constantSchemeOpenRingIso : |
| 35 | Γ((Iff.constantScheme S I).left, (Iff.constantScheme S I).hom ⁻¹ᵁ U) ≅ |
| 36 | CommRingCat.of (I → Γ(U.toScheme, ⊤)) := |
| 37 | ((Iff.constantScheme S I).hom ⁻¹ᵁ U).topIso.symm ≪≫ |
| 38 | Scheme.Γ.mapIso (constantSchemeOpenIso S I U).op ≪≫ |
| 39 | GlobalFunctions.constantSchemeGlobalRingIso U.toScheme I |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.OpenFunctions |