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.RepresentationTheory.Theta.Geometric.Projective.Naturality |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.PolynomialBaseChange |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Projective.BaseChange.RelativeProjective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative projective space commutes with extension of coefficients. |
| 11 | The proof uses the actual standard affine scheme charts and their native |
| 12 | pullback squares, then glues the universal property. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {R S : Type} [CommRing R] [CommRing S] |
| 17 | |
| 18 | abbrev awayChart (R : Type) [CommRing R] (n : ℕ) (i : Fin (n + 1)) := |
| 19 | Proj.awayι (Charts.RelativeProjective.projectiveGrading R n) (MvPolynomial.X i) |
| 20 | (Charts.RelativeProjective.projectiveVariable_homogeneous R n i) Nat.zero_lt_one |
| 21 | |
| 22 | theorem coordinateCover_map (R : Type) [CommRing R] (n : ℕ) (i : Fin (n + 1)) : |
| 23 | (Map.RelativeProjective.projectiveCoordinateAffineCover R n).openCover.f i = awayChart R n i := rfl |
| 24 | |
| 25 | theorem chartCoefficient_isPullback (f : R →+* S) (n : ℕ) (i : Fin (n + 1)) : |
| 26 | IsPullback (Spec.map (CommRingCat.ofHom (Naturality.RelativeProjective.chartCoefficientMap f n i))) |
| 27 | (awayChart S n i ≫ Map.RelativeProjective.projectiveSpaceToBase S n) |
| 28 | (awayChart R n i ≫ Map.RelativeProjective.projectiveSpaceToBase R n) |
| 29 | (Spec.map (CommRingCat.ofHom f)) := by |
| 30 | apply (PolynomialBaseChange.RelativeProjective.polynomial_isPullback f n i).of_iso |
| 31 | (Scheme.Spec.mapIso (Charts.RelativeProjective.projectiveChartRingEquiv S n i).toCommRingCatIso.op) |
| 32 | (Scheme.Spec.mapIso (Charts.RelativeProjective.projectiveChartRingEquiv R n i).toCommRingCatIso.op) |
| 33 | (Iso.refl _) (Iso.refl _) |
| 34 | · change Spec.map (CommRingCat.ofHom (MvPolynomial.map f)) ≫ |
| 35 | Spec.map (CommRingCat.ofHom (Charts.RelativeProjective.projectiveChartToPolynomial R n i)) = |
| 36 | Spec.map (CommRingCat.ofHom (Charts.RelativeProjective.projectiveChartToPolynomial S n i)) ≫ |
| 37 | Spec.map (CommRingCat.ofHom (Naturality.RelativeProjective.chartCoefficientMap f n i)) |
| 38 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 39 | congr 1 |
| 40 | exact CommRingCat.hom_ext (Naturality.RelativeProjective.chartCoefficientMap_dehomogenize f n i).symm |
| 41 | · change ChartSchemes.RelativeProjective.projectiveChartPolynomialToBase S n i ≫ 𝟙 _ = |
| 42 | Spec.map (CommRingCat.ofHom (Charts.RelativeProjective.projectiveChartToPolynomial S n i)) ≫ |
| 43 | (awayChart S n i ≫ Map.RelativeProjective.projectiveSpaceToBase S n) |
| 44 | rw [Category.comp_id, Map.RelativeProjective.projectiveSpaceToBase_chart, ← Spec.map_comp] |
| 45 | unfold ChartSchemes.RelativeProjective.projectiveChartPolynomialToBase |
| 46 | congr 1 |
| 47 | apply CommRingCat.hom_ext |
| 48 | apply RingHom.ext |
| 49 | intro c |
| 50 | exact (Charts.RelativeProjective.projectiveChartToPolynomial_constants S n i c).symm |
| 51 | · change ChartSchemes.RelativeProjective.projectiveChartPolynomialToBase R n i ≫ 𝟙 _ = |
| 52 | Spec.map (CommRingCat.ofHom (Charts.RelativeProjective.projectiveChartToPolynomial R n i)) ≫ |
| 53 | (awayChart R n i ≫ Map.RelativeProjective.projectiveSpaceToBase R n) |
| 54 | rw [Category.comp_id, Map.RelativeProjective.projectiveSpaceToBase_chart, ← Spec.map_comp] |
| 55 | unfold ChartSchemes.RelativeProjective.projectiveChartPolynomialToBase |
| 56 | congr 1 |
| 57 | apply CommRingCat.hom_ext |
| 58 | apply RingHom.ext |
| 59 | intro c |
| 60 | exact (Charts.RelativeProjective.projectiveChartToPolynomial_constants R n i c).symm |
| 61 | · simp |
| 62 | |
| 63 | theorem chartOpen_isPullback (f : R →+* S) (n : ℕ) (i : Fin (n + 1)) : |
| 64 | IsPullback (Spec.map (CommRingCat.ofHom (Naturality.RelativeProjective.chartCoefficientMap f n i))) |
| 65 | (awayChart S n i) (awayChart R n i) (Map.RelativeProjective.coefficientMap f n) := by |
| 66 | apply IsOpenImmersion.isPullback |
| 67 | · exact Naturality.RelativeProjective.awayChart_coefficientMap f n i |
| 68 | · simp only [awayChart, Proj.opensRange_awayι] |
| 69 | exact Map.RelativeProjective.coefficientMap_preimage f n i |
| 70 | |
| 71 | theorem coefficient_isPullback (f : R →+* S) (n : ℕ) : |
| 72 | IsPullback (Map.RelativeProjective.coefficientMap f n) (Map.RelativeProjective.projectiveSpaceToBase S n) |
| 73 | (Map.RelativeProjective.projectiveSpaceToBase R n) (Spec.map (CommRingCat.ofHom f)) := by |
| 74 | apply Scheme.isPullback_of_openCover _ _ _ _ (Map.RelativeProjective.projectiveCoordinateAffineCover R n).openCover |
| 75 | intro i |
| 76 | let H := (chartOpen_isPullback f n i).flip |
| 77 | apply (chartCoefficient_isPullback f n i).of_iso H.isoPullback |
| 78 | (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 79 | · change Spec.map (CommRingCat.ofHom (Naturality.RelativeProjective.chartCoefficientMap f n i)) ≫ 𝟙 _ = |
| 80 | H.isoPullback.hom ≫ pullback.snd (Map.RelativeProjective.coefficientMap f n) (awayChart R n i) |
| 81 | simpa only [Category.comp_id] using H.isoPullback_hom_snd.symm |
| 82 | · change (awayChart S n i ≫ Map.RelativeProjective.projectiveSpaceToBase S n) ≫ 𝟙 _ = |
| 83 | H.isoPullback.hom ≫ (pullback.fst (Map.RelativeProjective.coefficientMap f n) (awayChart R n i) ≫ |
| 84 | Map.RelativeProjective.projectiveSpaceToBase S n) |
| 85 | simpa only [Category.comp_id, Category.assoc] using |
| 86 | (congrArg (fun a => a ≫ Map.RelativeProjective.projectiveSpaceToBase S n) H.isoPullback_hom_fst).symm |
| 87 | · change (awayChart R n i ≫ Map.RelativeProjective.projectiveSpaceToBase R n) ≫ 𝟙 _ = |
| 88 | 𝟙 _ ≫ (awayChart R n i ≫ Map.RelativeProjective.projectiveSpaceToBase R n) |
| 89 | simp |
| 90 | · simp |
| 91 | |
| 92 | def projectiveBaseChangeIso (f : R →+* S) (n : ℕ) : |
| 93 | Map.RelativeProjective.projectiveSpace S n ≅ pullback (Map.RelativeProjective.projectiveSpaceToBase R n) (Spec.map (CommRingCat.ofHom f)) := |
| 94 | (coefficient_isPullback f n).isoPullback |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.RepresentationTheory.Theta.Geometric.Projective.BaseChange.RelativeProjective |