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.ProjectiveIsomorphism |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.BaseChange |
| 3 | |
| 4 | /-! # Polynomial Projective Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialProjectiveBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual polynomial projective space commutes with coefficient base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.BaseChange.GradedHilbert |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] {n : ℕ} |
| 18 | |
| 19 | theorem polynomial_irrelevant_le_span_variables : |
| 20 | (HomogeneousIdeal.irrelevant (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)).toIdeal ≤ |
| 21 | Ideal.span (Set.range (X : Fin (n + 1) → HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) := by |
| 22 | apply (HomogeneousIdeal.toIdeal_irrelevant_le (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)).mpr |
| 23 | intro d hd f hf |
| 24 | change f ∈ Ideal.span (Set.range (X : Fin (n + 1) → HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) |
| 25 | rw [← Set.image_univ, MvPolynomial.mem_ideal_span_X_image] |
| 26 | intro a ha |
| 27 | have had : a.degree = d := (HilbertScheme.Presentations.Hilbert.MonomialBasis.GradedHilbert.mem_degreeSpace_iff_support f d).mp hf a ha |
| 28 | have hex : ∃ i, a i ≠ 0 := by |
| 29 | by_contra! hzero |
| 30 | have haz : a = 0 := Finsupp.ext hzero |
| 31 | rw [haz] at had |
| 32 | simp only [map_zero] at had |
| 33 | omega |
| 34 | obtain ⟨i, hi⟩ := hex |
| 35 | exact ⟨i, Set.mem_univ i, hi⟩ |
| 36 | |
| 37 | theorem polynomial_coefficient_irrelevant_le_map : |
| 38 | HomogeneousIdeal.irrelevant (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading S n) ≤ |
| 39 | (HomogeneousIdeal.irrelevant (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)).map |
| 40 | (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R S)) := by |
| 41 | change (HomogeneousIdeal.irrelevant (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading S n)).toIdeal ≤ _ |
| 42 | apply polynomial_irrelevant_le_span_variables.trans |
| 43 | apply Ideal.span_le.mpr |
| 44 | rintro _ ⟨i, rfl⟩ |
| 45 | change X i ∈ Ideal.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R S)) |
| 46 | (HomogeneousIdeal.irrelevant (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)).toIdeal |
| 47 | have h := Ideal.mem_map_of_mem (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R S)) |
| 48 | (HomogeneousIdeal.mem_irrelevant_of_mem (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) Nat.zero_lt_one |
| 49 | (isHomogeneous_X R i)) |
| 50 | change MvPolynomial.map (algebraMap R S) (X i) ∈ |
| 51 | Ideal.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R S)) |
| 52 | (HomogeneousIdeal.irrelevant (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)).toIdeal at h |
| 53 | simpa only [MvPolynomial.map_X] using h |
| 54 | |
| 55 | /-- Change only the coefficients of projective coordinates. -/ |
| 56 | def polynomialProjectiveCoefficientMap : Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading S n) ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 57 | Proj.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R S)) polynomial_coefficient_irrelevant_le_map |
| 58 | |
| 59 | theorem projectiveQuotientInclusion_over (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 60 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) = |
| 61 | HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) := by |
| 62 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] |
| 63 | unfold HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap |
| 64 | rw [← Category.assoc, Blowup.BaseOpen.Construction.projMap_toSpecZero, Category.assoc, ← Spec.map_comp] |
| 65 | congr 1 |
| 66 | |
| 67 | theorem projectiveQuotientInclusion_isIso_of_eq_bot (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 68 | (hI : I.toIdeal = ⊥) : IsIso (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) := by |
| 69 | apply ProjectiveIsomorphism.Construction.projMap_isIso_of_bijective |
| 70 | constructor |
| 71 | · change Function.Injective (Ideal.Quotient.mk I.toIdeal) |
| 72 | rw [RingHom.injective_iff_ker_eq_bot, Ideal.mk_ker, hI] |
| 73 | · exact Ideal.Quotient.mk_surjective |
| 74 | |
| 75 | theorem projectiveQuotientInclusion_coefficient (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 76 | HilbertScheme.Presentations.Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap (S := S) I ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = |
| 77 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) ≫ |
| 78 | polynomialProjectiveCoefficientMap := by |
| 79 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] |
| 80 | unfold HilbertScheme.Presentations.Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion polynomialProjectiveCoefficientMap |
| 81 | rw [← Proj.map_comp, ← Proj.map_comp] |
| 82 | have he : (HilbertScheme.Presentations.Quotient.CoefficientMap.GradedHilbert.quotientCoefficientMap (S := S) I).comp (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I) = |
| 83 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I)).comp |
| 84 | (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R S)) := by |
| 85 | ext f |
| 86 | rfl |
| 87 | simp only [he] |
| 88 | |
| 89 | /-- The ordinary polynomial Proj is the scheme-theoretic base change of |
| 90 | projective space over the original coefficient ring. -/ |
| 91 | theorem polynomialProjective_isPullback : |
| 92 | IsPullback (polynomialProjectiveCoefficientMap (R := R) (S := S) (n := n)) |
| 93 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading S n)) (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 94 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 95 | let I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) := ⊥ |
| 96 | let J := HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I |
| 97 | have hI : I.toIdeal = ⊥ := rfl |
| 98 | have hJ : J.toIdeal = ⊥ := by |
| 99 | change I.toIdeal.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R S)) = ⊥ |
| 100 | rw [hI, Ideal.map_bot] |
| 101 | let := projectiveQuotientInclusion_isIso_of_eq_bot I hI |
| 102 | let := projectiveQuotientInclusion_isIso_of_eq_bot J hJ |
| 103 | apply (HilbertScheme.Presentations.Projective.BaseChange.GradedHilbert.projectiveQuotient_isPullback (S := S) I).of_iso |
| 104 | (asIso (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J)) (asIso (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I)) |
| 105 | (Iso.refl _) (Iso.refl _) |
| 106 | · exact projectiveQuotientInclusion_coefficient I |
| 107 | · change HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J) ≫ 𝟙 _ = |
| 108 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading S n) |
| 109 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] |
| 110 | rw [Category.comp_id] |
| 111 | exact (projectiveQuotientInclusion_over J).symm |
| 112 | · change HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) ≫ 𝟙 _ = |
| 113 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) |
| 114 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] |
| 115 | rw [Category.comp_id] |
| 116 | exact (projectiveQuotientInclusion_over I).symm |
| 117 | · simp |
| 118 | |
| 119 | /-- An actual isomorphism to the relative projective-space fiber product. -/ |
| 120 | def polynomialProjectiveBaseChangeIso : |
| 121 | Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading S n) ≅ pullback (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 122 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) := |
| 123 | (polynomialProjective_isPullback (R := R) (S := S) (n := n)).isoPullback |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialProjectiveBaseChange.Construction |