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.RatioSections |
| 2 | |
| 3 | /-! # Section Localization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionLocalization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual chart regular functions embed in the ordinary localized coordinate ring, with the same values as the degree-zero coordinate-module equivalence. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 16 | |
| 17 | def coordinateSectionHomogeneousEquiv (s : Finset (Fin (n + 1))) (hs : s.Nonempty) : |
| 18 | Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s) ≃+* |
| 19 | HomogeneousLocalization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 20 | (algebraMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s)) := |
| 21 | (Proj.basicOpenIsoAway (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) _ (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I s) |
| 22 | (Finset.card_pos.mpr hs)).commRingCatIsoToRingEquiv.symm |
| 23 | |
| 24 | theorem coordinateSectionHomogeneousEquiv_away (s : Finset (Fin (n + 1))) (hs : s.Nonempty) |
| 25 | (z : HomogeneousLocalization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 26 | (algebraMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s))) : |
| 27 | coordinateSectionHomogeneousEquiv I s hs (Proj.awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) _ z) = z := |
| 28 | RingEquiv.symm_apply_apply _ z |
| 29 | |
| 30 | def coordinateSectionLocalization (s : Finset (Fin (n + 1))) (hs : s.Nonempty) : |
| 31 | Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s) →+* |
| 32 | Localization.Away (algebraMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 33 | (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s)) := |
| 34 | (algebraMap _ _).comp (coordinateSectionHomogeneousEquiv I s hs).toRingHom |
| 35 | |
| 36 | theorem coordinateSectionLocalization_value (s : Finset (Fin (n + 1))) (hs : s.Nonempty) |
| 37 | (x : Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s)) : |
| 38 | HilbertScheme.Presentations.Module.RingLocalization.GradedModules.moduleRingLocalizationEquiv (R := R) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s) |
| 39 | (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartSectionEquiv I s hs x).val = coordinateSectionLocalization I s hs x := by |
| 40 | obtain ⟨z, rfl⟩ := (coordinateSectionHomogeneousEquiv I s hs).symm.surjective x |
| 41 | have he := ProjectiveChart.RestrictionCoordinates.coordinateProjectiveChartSectionEquiv_canonical I s hs z |
| 42 | have hf := Coordinate.HomogeneousChartFractions.coordinateChartModuleEquiv_value I s z |
| 43 | exact (congrArg (fun a => HilbertScheme.Presentations.Module.RingLocalization.GradedModules.moduleRingLocalizationEquiv (R := R) |
| 44 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s) a.val) he).trans |
| 45 | (hf.trans (congrArg HomogeneousLocalization.val |
| 46 | (coordinateSectionHomogeneousEquiv_away I s hs z)).symm) |
| 47 | |
| 48 | theorem coordinateSectionLocalization_ratio (s : Finset (Fin (n + 1))) (hs : s.Nonempty) |
| 49 | (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 50 | coordinateSectionLocalization I s hs (Coordinate.RatioSections.coordinateRatioSection I s i j hi) = |
| 51 | (Coordinate.HomogeneousRatios.coordinateHomogeneousRatio I s i j hi).val := |
| 52 | congrArg HomogeneousLocalization.val (coordinateSectionHomogeneousEquiv_away I s hs _) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionLocalization |