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.Coordinate.RatioCocycle |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.HomogeneousRestrictions |
| 3 | |
| 4 | /-! # Ratio Restrictions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.RatioRestrictions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinate ratios commute with the actual homogeneous localization restriction maps. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 17 | |
| 18 | def coordinateLocalizationRestriction {s t : Finset (Fin (n + 1))} (h : s ⊆ t) : |
| 19 | Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s)) →+* |
| 20 | Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R t)) := |
| 21 | Localization.awayLift (algebraMap _ _) _ |
| 22 | (IsLocalization.Away.isUnit_of_dvd (x := HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R t)) |
| 23 | ⟨HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R (t \ s)), by rw [← map_mul, HilbertScheme.Presentations.LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff R h]⟩) |
| 24 | |
| 25 | theorem coordinateLocalizationRestriction_algebraMap {s t : Finset (Fin (n + 1))} (h : s ⊆ t) |
| 26 | (a : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) : |
| 27 | coordinateLocalizationRestriction I h (algebraMap _ _ a) = algebraMap _ _ a := by |
| 28 | unfold coordinateLocalizationRestriction |
| 29 | exact IsLocalization.Away.lift_eq _ _ a |
| 30 | |
| 31 | theorem coordinateHomogeneousRestriction_val {s t : Finset (Fin (n + 1))} (h : s ⊆ t) |
| 32 | (z : HomogeneousLocalization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s))) : |
| 33 | (HomogeneousRestrictions.coordinateHomogeneousRestriction I h z).val = coordinateLocalizationRestriction I h z.val := |
| 34 | HomogeneousLocalization.val_awayMap _ _ _ z |
| 35 | |
| 36 | theorem coordinateHomogeneousRatio_restriction {s t : Finset (Fin (n + 1))} (h : s ⊆ t) |
| 37 | (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 38 | HomogeneousRestrictions.coordinateHomogeneousRestriction I h (HomogeneousRatios.coordinateHomogeneousRatio I s i j hi) = |
| 39 | HomogeneousRatios.coordinateHomogeneousRatio I t i j (h hi) := by |
| 40 | apply HomogeneousLocalization.val_injective |
| 41 | apply (HomogeneousRatios.coordinateChartVariable_isUnit I t i (h hi)).mul_left_cancel |
| 42 | have he := congrArg (coordinateLocalizationRestriction I h) (HomogeneousRatios.coordinateHomogeneousRatio_mul I s i j hi) |
| 43 | rw [map_mul, coordinateLocalizationRestriction_algebraMap, coordinateLocalizationRestriction_algebraMap] at he |
| 44 | exact (congrArg (fun z => algebraMap _ (Localization.Away |
| 45 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R t))) (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) * z) |
| 46 | (coordinateHomogeneousRestriction_val I h (HomogeneousRatios.coordinateHomogeneousRatio I s i j hi))).trans |
| 47 | (he.trans (HomogeneousRatios.coordinateHomogeneousRatio_mul I t i j (h hi)).symm) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.RatioRestrictions |