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.ComplexMultiplication.ProjectiveChartNaturality |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.ProjectiveChartSchemes |
| 3 | |
| 4 | /-! # Projective Chart Scheme Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ProjectiveChartSchemeNaturality.ProjectiveCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Genuine Proj coefficient change in affine coordinates -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable (R S : Type) [CommRing R] [CommRing S] |
| 15 | |
| 16 | private theorem awayι_comp_map_of_eq (φ : R →+* S) (n : ℕ) (i : Fin (n + 1)) |
| 17 | (t : CMProjectiveCharts.ProjectiveCharts.homogeneousCoordinateRing S n) (ht : t ∈ CMProjectiveCharts.ProjectiveCharts.projectiveGrading S n 1) |
| 18 | (hgt : ProjectiveChartNaturality.ProjectiveCharts.gradedCoefficientMap R S φ n (MvPolynomial.X i) = t) : |
| 19 | Proj.awayι (CMProjectiveCharts.ProjectiveCharts.projectiveGrading S n) t ht (by decide : 0 < 1) ≫ |
| 20 | ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap R S φ n = |
| 21 | Spec.map (CommRingCat.ofHom |
| 22 | (HomogeneousLocalization.map (ProjectiveChartNaturality.ProjectiveCharts.gradedCoefficientMap R S φ n) |
| 23 | (P := Submonoid.powers (MvPolynomial.X i)) (Q := Submonoid.powers t) (by |
| 24 | rintro _ ⟨k, rfl⟩ |
| 25 | exact ⟨k, by simp [hgt]⟩))) ≫ |
| 26 | Proj.awayι (CMProjectiveCharts.ProjectiveCharts.projectiveGrading R n) (MvPolynomial.X i) |
| 27 | (CMProjectiveCharts.ProjectiveCharts.projectiveVariable_homogeneous R n i) (by decide : 0 < 1) := by |
| 28 | subst t |
| 29 | exact Proj.awayι_comp_map (ProjectiveChartNaturality.ProjectiveCharts.gradedCoefficientMap R S φ n) |
| 30 | (ProjectiveChartNaturality.ProjectiveCharts.irrelevant_le_map_gradedCoefficientMap R S φ n) (by decide : 0 < 1) |
| 31 | (MvPolynomial.X i) (CMProjectiveCharts.ProjectiveCharts.projectiveVariable_homogeneous R n i) |
| 32 | |
| 33 | /-- On a homogeneous chart, the actual Proj map is the actual homogeneous localization map. -/ |
| 34 | theorem awayι_comp_projectiveCoefficientMap (φ : R →+* S) (n : ℕ) (i : Fin (n + 1)) : |
| 35 | Proj.awayι (CMProjectiveCharts.ProjectiveCharts.projectiveGrading S n) (MvPolynomial.X i) |
| 36 | (CMProjectiveCharts.ProjectiveCharts.projectiveVariable_homogeneous S n i) (by decide : 0 < 1) ≫ |
| 37 | ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap R S φ n = |
| 38 | Spec.map (CommRingCat.ofHom (ProjectiveChartNaturality.ProjectiveCharts.projectiveChartCoefficientMap R S φ n i)) ≫ |
| 39 | Proj.awayι (CMProjectiveCharts.ProjectiveCharts.projectiveGrading R n) (MvPolynomial.X i) |
| 40 | (CMProjectiveCharts.ProjectiveCharts.projectiveVariable_homogeneous R n i) (by decide : 0 < 1) := by |
| 41 | exact awayι_comp_map_of_eq R S φ n i (MvPolynomial.X i) |
| 42 | (CMProjectiveCharts.ProjectiveCharts.projectiveVariable_homogeneous S n i) (ProjectiveChartNaturality.ProjectiveCharts.gradedCoefficientMap_X R S φ n i) |
| 43 | |
| 44 | /-- In the proved affine coordinates, the genuine scheme map is polynomial coefficient change. -/ |
| 45 | theorem projectiveAffineChartMap_comp_projectiveCoefficientMap (φ : R →+* S) (n : ℕ) |
| 46 | (i : Fin (n + 1)) : |
| 47 | ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap S n i ≫ ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap R S φ n = |
| 48 | Spec.map (CommRingCat.ofHom |
| 49 | (MvPolynomial.map φ : CMProjectiveCharts.ProjectiveCharts.projectiveChartPolynomial R n i →+* CMProjectiveCharts.ProjectiveCharts.projectiveChartPolynomial S n i)) ≫ |
| 50 | ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap R n i := by |
| 51 | simp only [ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap, ProjectiveChartSchemes.ProjectiveCharts.projectiveCoordinateIsoSpec_inv_ι] |
| 52 | rw [Category.assoc, awayι_comp_projectiveCoefficientMap, ← Category.assoc, |
| 53 | ← Spec.map_comp, ← Category.assoc, ← Spec.map_comp] |
| 54 | congr 1 |
| 55 | apply congrArg Spec.map |
| 56 | apply CommRingCat.hom_ext |
| 57 | apply RingHom.ext |
| 58 | intro c |
| 59 | exact ProjectiveChartNaturality.ProjectiveCharts.projectiveChartCoefficientMap_dehomogenizes R S φ n i c |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.ComplexMultiplication.ProjectiveChartSchemeNaturality.ProjectiveCharts |