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.Projective.CoefficientPullback |
| 2 | |
| 3 | /-! # Space Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! HilbertConstruction's standard projective spaces commute with arbitrary affine and scheme base changes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 16 | |
| 17 | def affineProjectiveSpaceBaseChangeIso (n : ℕ) : |
| 18 | ProjectivePresentations.affineProjectiveSpace A n ≅ |
| 19 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R A)))).obj (ProjectivePresentations.affineProjectiveSpace R n) := |
| 20 | Over.isoMk (CoefficientPullback.polynomialProjectiveCoefficient_isPullback (R := R) (A := A) (n := n)).isoPullback |
| 21 | (CoefficientPullback.polynomialProjectiveCoefficient_isPullback (R := R) (A := A) (n := n)).isoPullback_hom_snd |
| 22 | |
| 23 | theorem affineProjectiveSpaceBaseChangeIso_hom_fst (n : ℕ) : |
| 24 | (affineProjectiveSpaceBaseChangeIso (R := R) (A := A) n).hom.left ≫ |
| 25 | CategoryTheory.Limits.pullback.fst (ProjectivePresentations.affineProjectiveSpace R n).hom |
| 26 | (Spec.map (CommRingCat.ofHom (algebraMap R A))) = |
| 27 | Polynomial.ProjectiveCoefficients.polynomialProjectiveCoefficientMap (R := R) (A := A) (n := n) := |
| 28 | (CoefficientPullback.polynomialProjectiveCoefficient_isPullback (R := R) (A := A) (n := n)).isoPullback_hom_fst |
| 29 | |
| 30 | def projectiveSpaceOverBaseChangeIso {S T : Scheme.{u}} (f : T ⟶ S) (n : ℕ) : |
| 31 | ProjectivePresentations.projectiveSpaceOver T n ≅ (Over.pullback f).obj (ProjectivePresentations.projectiveSpaceOver S n) := by |
| 32 | let : Algebra Γ(S, ⊤) Γ(T, ⊤) := f.appTop.hom.toAlgebra |
| 33 | let P := ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n |
| 34 | exact (Over.pullback T.toSpecΓ).mapIso |
| 35 | (affineProjectiveSpaceBaseChangeIso (R := Γ(S, ⊤)) (A := Γ(T, ⊤)) n) ≪≫ |
| 36 | (Over.pullbackComp T.toSpecΓ (Spec.map f.appTop)).symm.app P ≪≫ |
| 37 | eqToIso (congrArg (fun h : T ⟶ Spec Γ(S, ⊤) => (Over.pullback h).obj P) |
| 38 | (Scheme.toSpecΓ_naturality f).symm) ≪≫ |
| 39 | (Over.pullbackComp f S.toSpecΓ).app P |
| 40 | |
| 41 | def projectiveSpaceOverSpecIso (R : CommRingCat.{u}) (n : ℕ) : |
| 42 | ProjectivePresentations.projectiveSpaceOver (Spec R) n ≅ ProjectivePresentations.affineProjectiveSpace R n := by |
| 43 | let : Algebra Γ(Spec R, ⊤) R := (Scheme.ΓSpecIso R).hom.hom.toAlgebra |
| 44 | exact eqToIso (congrArg (fun h : Spec R ⟶ Spec Γ(Spec R, ⊤) => |
| 45 | (Over.pullback h).obj (ProjectivePresentations.affineProjectiveSpace Γ(Spec R, ⊤) n)) |
| 46 | (SpecMap_ΓSpecIso_hom R).symm) ≪≫ |
| 47 | (affineProjectiveSpaceBaseChangeIso (R := Γ(Spec R, ⊤)) (A := R) n).symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceBaseChange |