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.IntersectionTheory.ProjectionFormula.Relative.ProjectiveI |
| 2 | import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Proper |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | import Mathlib.RingTheory.FiniteType |
| 5 | |
| 6 | /-! # Projective Proper -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveProper |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The relative polynomial projective spectrum is proper over its |
| 13 | coefficient scheme, with its actual degree-zero structure map. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Base |
| 21 | |
| 22 | variable (R : Type) [CommRing R] (n : ℕ) |
| 23 | |
| 24 | instance finiteType_zero : Algebra.FiniteType (ProjectiveLinear.grading R n 0) (MvPolynomial (Fin (n + 1)) R) := by |
| 25 | let : IsScalarTower R (ProjectiveLinear.grading R n 0) (MvPolynomial (Fin (n + 1)) R) := |
| 26 | IsScalarTower.of_algebraMap_eq (R := R) (S := ProjectiveLinear.grading R n 0) |
| 27 | (A := MvPolynomial (Fin (n + 1)) R) (fun _ => rfl) |
| 28 | exact Algebra.FiniteType.of_restrictScalars_finiteType R (ProjectiveLinear.grading R n 0) (MvPolynomial (Fin (n + 1)) R) |
| 29 | |
| 30 | instance constants_iso : IsIso (Spec.map (CommRingCat.ofHom (ProjectiveI.Base.constants R n).toRingHom)) := by |
| 31 | change IsIso (Scheme.Spec.mapIso (ProjectiveI.Base.constants R n).toCommRingCatIso.op).hom |
| 32 | infer_instance |
| 33 | |
| 34 | instance proper : IsProper (ProjectiveI.Base.base R n) := by |
| 35 | unfold ProjectiveI.Base.base |
| 36 | infer_instance |
| 37 | |
| 38 | instance noetherian [IsNoetherianRing R] : AlgebraicGeometry.IsNoetherian (ProjectiveLinear.space R n) where |
| 39 | __ := LocallyOfFiniteType.isLocallyNoetherian (ProjectiveI.Base.base R n) |
| 40 | __ := QuasiCompact.compactSpace_of_compactSpace (ProjectiveI.Base.base R n) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveProper |