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.ProjectiveChartSchemeNaturality |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.ProjectiveChartBaseChange |
| 3 | |
| 4 | /-! # Projective Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ProjectiveBaseChange.ProjectiveCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Base change of the actual polynomial projective schemes |
| 11 | |
| 12 | The standard coordinate charts are categorical pullbacks. Their genuine finite |
| 13 | open cover assembles them into the global pullback square. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (R S : Type) [CommRing R] [CommRing S] |
| 19 | |
| 20 | theorem projectiveAffineChartMap_opensRange (n : ℕ) (i : Fin (n + 1)) : |
| 21 | (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap R n i).opensRange = ProjectiveChartSchemes.ProjectiveCharts.projectiveCoordinateOpen R n i := by |
| 22 | change ((ProjectiveChartSchemes.ProjectiveCharts.projectiveCoordinateIsoSpec R n i).inv ≫ (ProjectiveChartSchemes.ProjectiveCharts.projectiveCoordinateOpen R n i).ι).opensRange = _ |
| 23 | rw [Scheme.Hom.opensRange_comp_of_isIso] |
| 24 | exact (ProjectiveChartSchemes.ProjectiveCharts.projectiveCoordinateOpen R n i).opensRange_ι |
| 25 | |
| 26 | /-- The coefficient map restricts to precisely the original coordinate chart. -/ |
| 27 | theorem projectiveCoordinateChart_isPullback (φ : R →+* S) (n : ℕ) (i : Fin (n + 1)) : |
| 28 | IsPullback |
| 29 | (Spec.map (CommRingCat.ofHom (MvPolynomial.map φ : |
| 30 | CMProjectiveCharts.ProjectiveCharts.projectiveChartPolynomial R n i →+* CMProjectiveCharts.ProjectiveCharts.projectiveChartPolynomial S n i))) |
| 31 | (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap S n i) (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap R n i) |
| 32 | (ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap R S φ n) := by |
| 33 | apply IsOpenImmersion.isPullback |
| 34 | · exact ProjectiveChartSchemeNaturality.ProjectiveCharts.projectiveAffineChartMap_comp_projectiveCoefficientMap R S φ n i |
| 35 | · rw [projectiveAffineChartMap_opensRange, projectiveAffineChartMap_opensRange] |
| 36 | exact ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap_preimage_coordinate R S φ n i |
| 37 | |
| 38 | variable [Algebra R S] |
| 39 | |
| 40 | /-- The genuine `Proj(S[X])` is the base change of the genuine `Proj(R[X])`. -/ |
| 41 | theorem projectiveCoefficientMap_isPullback (n : ℕ) : |
| 42 | IsPullback (ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap R S (algebraMap R S) n) |
| 43 | (ProjectiveChartSchemes.ProjectiveCharts.projectiveSpaceToBase S n) (ProjectiveChartSchemes.ProjectiveCharts.projectiveSpaceToBase R n) |
| 44 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 45 | refine Scheme.isPullback_of_openCover _ _ _ _ (ProjectiveChartSchemes.ProjectiveCharts.projectivePolynomialOpenCover R n) ?_ |
| 46 | change ∀ i : Fin (n + 1), IsPullback |
| 47 | (pullback.snd (ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap R S (algebraMap R S) n) |
| 48 | (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap R n i)) |
| 49 | (pullback.fst (ProjectiveChartNaturality.ProjectiveCharts.projectiveCoefficientMap R S (algebraMap R S) n) |
| 50 | (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap R n i) ≫ ProjectiveChartSchemes.ProjectiveCharts.projectiveSpaceToBase S n) |
| 51 | (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap R n i ≫ ProjectiveChartSchemes.ProjectiveCharts.projectiveSpaceToBase R n) |
| 52 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 53 | intro i |
| 54 | let hi := projectiveCoordinateChart_isPullback R S (algebraMap R S) n i |
| 55 | let e := hi.flip.isoPullback |
| 56 | refine (ProjectiveChartBaseChange.ProjectiveCharts.projectivePolynomialChart_isPullback R S n i).of_iso e |
| 57 | (Iso.refl _) (Iso.refl _) (Iso.refl _) ?_ ?_ ?_ ?_ |
| 58 | · simpa only [Iso.refl_hom, Category.comp_id, e] using hi.flip.isoPullback_hom_snd.symm |
| 59 | · simp only [Iso.refl_hom, Category.comp_id, e] |
| 60 | rw [← Category.assoc, IsPullback.isoPullback_hom_fst] |
| 61 | exact (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap_over S n i).symm |
| 62 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 63 | exact (ProjectiveChartSchemes.ProjectiveCharts.projectiveAffineChartMap_over R n i).symm |
| 64 | · simp |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.ComplexMultiplication.ProjectiveBaseChange.ProjectiveCharts |