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.AbelianModuli.HilbertConstruction.Polynomial.SectionChartValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.FractionBasicOpen |
| 3 | |
| 4 | /-! # Section Homogeneous Fractions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.SectionHomogeneousFractions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The standard-chart coefficients of canonical twisting sections |
| 11 | are the usual homogeneous fractions, as actual regular functions. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomogeneousLocalization |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 17 | |
| 18 | def coordinateQuotientNumerator (d : ℕ) (q : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) : HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I d := |
| 19 | ⟨(HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerDegreeQuotientEquiv I d q).val, by |
| 20 | rw [← HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading_nat I d] |
| 21 | exact (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerDegreeQuotientEquiv I d q).property⟩ |
| 22 | |
| 23 | theorem quotientSingletonCoordinate_degree_one (i : Fin (n + 1)) : |
| 24 | HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}) ∈ HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I 1 := by |
| 25 | have h := HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I {i} |
| 26 | rw [Finset.card_singleton] at h |
| 27 | exact h |
| 28 | |
| 29 | def coordinateQuotientChartFraction (d : ℕ) (q : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) (i : Fin (n + 1)) : |
| 30 | Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i})) := |
| 31 | Away.isLocalizationElem (quotientSingletonCoordinate_degree_one I i) (coordinateQuotientNumerator I d q).property |
| 32 | |
| 33 | theorem coordinateQuotientChartFraction_crossMultiply (d : ℕ) (q : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) |
| 34 | (i : Fin (n + 1)) : |
| 35 | (coordinateQuotientChartFraction I d q i).val * |
| 36 | algebraMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 37 | (Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}))) |
| 38 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i})) ^ d = |
| 39 | algebraMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) _ (coordinateQuotientNumerator I d q).val := by |
| 40 | rw [coordinateQuotientChartFraction, Away.isLocalizationElem, Away.val_mk, pow_one, |
| 41 | Localization.mk_eq_mk'] |
| 42 | simpa only [map_pow] using |
| 43 | (IsLocalization.mk'_spec (Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}))) |
| 44 | (coordinateQuotientNumerator I d q).val |
| 45 | (⟨(HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i})) ^ d, ⟨d, rfl⟩⟩ : |
| 46 | Submonoid.powers (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i})))) |
| 47 | |
| 48 | theorem coordinateQuotientTwistingSectionMap_chart_fraction (d : ℕ) (q : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) |
| 49 | (i : Fin (n + 1)) : |
| 50 | Projective.TwistGlobalTuples.projectiveTwistGlobalTupleMap I d (SaturatedPolynomialSectionMap.coordinateQuotientTwistingSectionMap I d q) i = |
| 51 | Proj.awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) _ (coordinateQuotientChartFraction I d q i) := by |
| 52 | apply SectionChartValues.coordinateSectionLocalization_injective I {i} ⟨i, Finset.mem_singleton_self i⟩ |
| 53 | have hz : Projective.SectionLocalization.coordinateSectionLocalization I {i} ⟨i, Finset.mem_singleton_self i⟩ |
| 54 | (Proj.awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) _ (coordinateQuotientChartFraction I d q i)) = |
| 55 | (coordinateQuotientChartFraction I d q i).val := |
| 56 | congrArg HomogeneousLocalization.val (Projective.SectionLocalization.coordinateSectionHomogeneousEquiv_away I {i} |
| 57 | ⟨i, Finset.mem_singleton_self i⟩ (coordinateQuotientChartFraction I d q i)) |
| 58 | refine Eq.trans ?_ hz.symm |
| 59 | apply ((IsLocalization.Away.algebraMap_isUnit |
| 60 | (S := Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}))) |
| 61 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}))).pow d).mul_right_cancel |
| 62 | have h := SectionChartValues.coordinateQuotientTwistingSectionMap_chart_crossMultiply I d q i |
| 63 | have hxi : HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i) = HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}) := by |
| 64 | rw [HilbertScheme.Presentations.EventualDegreeFlatness.ProjectiveCech.inversionMonomial_singleton] |
| 65 | rw [hxi] at h |
| 66 | exact (mul_comm _ _).trans (h.trans (coordinateQuotientChartFraction_crossMultiply I d q i).symm) |
| 67 | |
| 68 | theorem coordinateQuotientTwistingSectionMap_chart_basicOpen (d : ℕ) (hd : 0 < d) |
| 69 | (q : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) (i : Fin (n + 1)) : |
| 70 | (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).basicOpen |
| 71 | (Projective.TwistGlobalTuples.projectiveTwistGlobalTupleMap I d (SaturatedPolynomialSectionMap.coordinateQuotientTwistingSectionMap I d q) i) = |
| 72 | ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i} ⊓ Proj.basicOpen (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (coordinateQuotientNumerator I d q).val := by |
| 73 | rw [coordinateQuotientTwistingSectionMap_chart_fraction] |
| 74 | exact Projective.FractionBasicOpen.projectiveFraction_basicOpen (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (quotientSingletonCoordinate_degree_one I i) |
| 75 | Nat.zero_lt_one (coordinateQuotientNumerator I d q).property hd |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.SectionHomogeneousFractions |