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 | |
| 3 | /-! # Scalar Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ScalarComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient maps compose functorially on the actual relative |
| 10 | projective spectra, including split coefficient specializations. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars |
| 18 | |
| 19 | variable {R S T : Type} [CommRing R] [CommRing S] [CommRing T] |
| 20 | |
| 21 | theorem graded_comp (f : R →+* S) (g : S →+* T) (n : ℕ) : |
| 22 | ProjectiveI.Scalars.graded (g.comp f) n = (ProjectiveI.Scalars.graded g n).comp (ProjectiveI.Scalars.graded f n) := by |
| 23 | apply GradedRingHom.ext |
| 24 | intro p |
| 25 | exact (MvPolynomial.map_map f g p).symm |
| 26 | |
| 27 | theorem graded_id (n : ℕ) : ProjectiveI.Scalars.graded (RingHom.id R) n = GradedRingHom.id (ProjectiveLinear.grading R n) := by |
| 28 | apply GradedRingHom.ext |
| 29 | intro p |
| 30 | exact MvPolynomial.map_id p |
| 31 | |
| 32 | theorem map_comp (f : R →+* S) (g : S →+* T) (n : ℕ) : |
| 33 | ProjectiveI.Scalars.map g n ≫ ProjectiveI.Scalars.map f n = |
| 34 | ProjectiveI.Scalars.map (g.comp f) n := by |
| 35 | unfold ProjectiveI.Scalars.map |
| 36 | rw [← Proj.map_comp] |
| 37 | simp only [← graded_comp] |
| 38 | |
| 39 | theorem map_id (n : ℕ) : ProjectiveI.Scalars.map (RingHom.id R) n = 𝟙 (ProjectiveLinear.space R n) := by |
| 40 | unfold ProjectiveI.Scalars.map |
| 41 | simp only [graded_id, Proj.map_id] |
| 42 | |
| 43 | theorem map_split (f : R →+* S) (g : S →+* R) (h : g.comp f = RingHom.id R) (n : ℕ) : |
| 44 | ProjectiveI.Scalars.map g n ≫ ProjectiveI.Scalars.map f n = 𝟙 (ProjectiveLinear.space R n) := by |
| 45 | rw [ScalarComposition.map_comp, h, ScalarComposition.map_id] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ScalarComposition |