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.Resolution.Blowups.Affine.BlowupProjectiveProduct |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Functor |
| 3 | |
| 4 | /-! # Rees Projective Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ReesProjectiveCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Explicit complex projective coordinates on an affine Rees blowup. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {R : Type} [CommRing R] {m : ℕ} |
| 15 | variable (I : Ideal R) (κ : ℂ →+* R) (a : Fin (m + 1) → I) |
| 16 | |
| 17 | /-- The complex polynomial map sending each coordinate to its Rees generator. -/ |
| 18 | def reesProjectivePolynomialMap : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ ReesGrading.Construction.reesGrade I := |
| 19 | (ReesPresentation.Construction.reesPolynomialPresentation I a).comp (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap κ) |
| 20 | |
| 21 | @[simp] |
| 22 | theorem reesProjectivePolynomialMap_X (j : Fin (m + 1)) : |
| 23 | reesProjectivePolynomialMap I κ a (MvPolynomial.X j) = Blowup.Charts.Construction.reesGenerator I (a j) := by |
| 24 | change MvPolynomial.aeval (fun i => Blowup.Charts.Construction.reesGenerator I (a i)) |
| 25 | (MvPolynomial.map κ (MvPolynomial.X j)) = _ |
| 26 | rw [MvPolynomial.map_X, MvPolynomial.aeval_X] |
| 27 | |
| 28 | @[simp] |
| 29 | theorem reesProjectivePolynomialMap_C (c : ℂ) : |
| 30 | reesProjectivePolynomialMap I κ a (MvPolynomial.C c) = |
| 31 | algebraMap R (reesAlgebra I) (κ c) := by |
| 32 | change MvPolynomial.aeval (fun i => Blowup.Charts.Construction.reesGenerator I (a i)) |
| 33 | (MvPolynomial.map κ (MvPolynomial.C c)) = _ |
| 34 | rw [MvPolynomial.map_C, MvPolynomial.aeval_C] |
| 35 | |
| 36 | theorem reesProjectivePolynomialMap_eq_eval : |
| 37 | (reesProjectivePolynomialMap I κ a).toRingHom = |
| 38 | MvPolynomial.eval₂Hom ((algebraMap R (reesAlgebra I)).comp κ) |
| 39 | (fun j => Blowup.Charts.Construction.reesGenerator I (a j)) := by |
| 40 | ext <;> simp |
| 41 | |
| 42 | variable (hgen : Submodule.span R (Set.range a) = ⊤) |
| 43 | |
| 44 | include hgen in |
| 45 | theorem reesProjectivePolynomialMap_irrelevant : |
| 46 | HomogeneousIdeal.irrelevant (ReesGrading.Construction.reesGrade I) ≤ |
| 47 | (HomogeneousIdeal.irrelevant (Foundations.Scheme.ProjectiveSpace.projectiveGrading m)).map |
| 48 | (reesProjectivePolynomialMap I κ a) := by |
| 49 | let : Algebra ℂ R := κ.toAlgebra |
| 50 | exact HomogeneousIdeal.irrelevant_le_map_comp |
| 51 | PolynomialProjectiveBaseChange.Construction.polynomial_coefficient_irrelevant_le_map |
| 52 | (ProjectiveClosedImmersion.Construction.gradedMap_irrelevant_le_of_surjective (ReesPresentation.Construction.reesPolynomialPresentation I a) |
| 53 | (ReesPresentation.Construction.reesPolynomialPresentation_surjective I a hgen)) |
| 54 | |
| 55 | /-- The chosen generators define an actual map from the blowup to complex projective space. -/ |
| 56 | def reesProjectiveCoordinateMap : ReesGrading.Construction.affineBlowup I ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace m := |
| 57 | Proj.map (reesProjectivePolynomialMap I κ a) |
| 58 | (reesProjectivePolynomialMap_irrelevant I κ a hgen) |
| 59 | |
| 60 | theorem reesProjectiveCoordinateMap_over : |
| 61 | reesProjectiveCoordinateMap I κ a hgen ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m = |
| 62 | ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom κ) := by |
| 63 | unfold reesProjectiveCoordinateMap Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase ReesGrading.Construction.affineBlowupToSpec |
| 64 | rw [← Category.assoc, Blowup.BaseOpen.Construction.projMap_toSpecZero, Category.assoc, Category.assoc, |
| 65 | ← Spec.map_comp, ← Spec.map_comp] |
| 66 | congr 1 |
| 67 | congr 1 |
| 68 | apply CommRingCat.hom_ext |
| 69 | apply RingHom.ext |
| 70 | intro c |
| 71 | apply Subtype.ext |
| 72 | exact reesProjectivePolynomialMap_C I κ a c |
| 73 | |
| 74 | theorem reesProjectiveCoordinateMap_eq_product_fst [Algebra ℂ R] |
| 75 | (hκ : κ = algebraMap ℂ R) : |
| 76 | reesProjectiveCoordinateMap I κ a hgen = |
| 77 | Affine.BlowupProjectiveProduct.Construction.affineBlowupProjectiveProductEmbedding I a hgen ≫ pullback.fst _ _ := by |
| 78 | subst κ |
| 79 | unfold Affine.BlowupProjectiveProduct.Construction.affineBlowupProjectiveProductEmbedding |
| 80 | rw [Category.assoc] |
| 81 | change _ = ReesPresentation.Construction.affineBlowupProjectiveEmbedding I a hgen ≫ |
| 82 | ((PolynomialProjectiveBaseChange.Construction.polynomialProjective_isPullback (R := ℂ) (S := R) (n := m)).isoPullback.hom ≫ |
| 83 | pullback.fst _ _) |
| 84 | rw [IsPullback.isoPullback_hom_fst] |
| 85 | exact Proj.map_comp _ _ _ _ |
| 86 | |
| 87 | /-- Pairing the coordinate map with the blowup projection is a closed immersion. -/ |
| 88 | theorem reesProjectiveCoordinateMap_pair_isClosedImmersion : |
| 89 | IsClosedImmersion (pullback.lift (reesProjectiveCoordinateMap I κ a hgen) |
| 90 | (ReesGrading.Construction.affineBlowupToSpec I) (reesProjectiveCoordinateMap_over I κ a hgen)) := by |
| 91 | let : Algebra ℂ R := κ.toAlgebra |
| 92 | have he : pullback.lift (reesProjectiveCoordinateMap I κ a hgen) |
| 93 | (ReesGrading.Construction.affineBlowupToSpec I) (reesProjectiveCoordinateMap_over I κ a hgen) = |
| 94 | Affine.BlowupProjectiveProduct.Construction.affineBlowupProjectiveProductEmbedding I a hgen := by |
| 95 | apply pullback.hom_ext |
| 96 | · rw [pullback.lift_fst] |
| 97 | exact reesProjectiveCoordinateMap_eq_product_fst I κ a hgen rfl |
| 98 | · rw [pullback.lift_snd] |
| 99 | exact (Affine.BlowupProjectiveProduct.Construction.affineBlowupProjectiveProductEmbedding_over I a hgen).symm |
| 100 | rw [he] |
| 101 | infer_instance |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.Resolution.Blowups.ReesProjectiveCoordinates.Construction |