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.HomogeneousRestrictions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.CanonicalChartSections |
| 3 | |
| 4 | /-! # Restriction Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.RestrictionCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual regular-function restrictions between projective coordinate opens agree with coordinate Čech restrictions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 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 | theorem coordinateProjectiveChartOpen_antitone {s t : Finset (Fin (n + 1))} (h : s ⊆ t) : |
| 19 | SectionCoordinates.coordinateProjectiveChartOpen I t ≤ SectionCoordinates.coordinateProjectiveChartOpen I s := by |
| 20 | apply Proj.basicOpen_mono |
| 21 | refine ⟨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 (t \ s)), ?_⟩ |
| 22 | rw [← map_mul, HilbertScheme.Presentations.LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff R h] |
| 23 | |
| 24 | theorem coordinateAwayToSection_restriction {s t : Finset (Fin (n + 1))} (h : s ⊆ t) : |
| 25 | CommRingCat.ofHom (Coordinate.HomogeneousRestrictions.coordinateHomogeneousRestriction I h) ≫ |
| 26 | Proj.awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 27 | (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 t)) = |
| 28 | Proj.awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 29 | (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)) ≫ |
| 30 | (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE (coordinateProjectiveChartOpen_antitone I h)).op := |
| 31 | Proj.awayMap_awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I (t \ s)) |
| 32 | (by rw [← map_mul, HilbertScheme.Presentations.LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff R h]) |
| 33 | |
| 34 | theorem coordinateProjectiveChartSectionEquiv_canonical (s : Finset (Fin (n + 1))) (hs : s.Nonempty) |
| 35 | (z : HomogeneousLocalization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 36 | (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))) : |
| 37 | SectionCoordinates.coordinateProjectiveChartSectionEquiv I s hs |
| 38 | (Proj.awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 39 | (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)) z) = |
| 40 | HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.coordinateChartModuleEquiv I s z := |
| 41 | congrArg (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.coordinateChartModuleEquiv I s) |
| 42 | (Projective.CanonicalChartSections.projectiveAffineChartSectionsIso_awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 43 | (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I s) (Finset.card_pos.mpr hs) z) |
| 44 | |
| 45 | theorem coordinateProjectiveChartSectionEquiv_restriction |
| 46 | {s t : Finset (Fin (n + 1))} (hs : s.Nonempty) (ht : t.Nonempty) (h : s ⊆ t) |
| 47 | (x : Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Affine.ChartCoefficientSections.schemeGlobalCoefficient (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))) |
| 48 | (SectionCoordinates.coordinateProjectiveChartOpen I s)) : |
| 49 | (SectionCoordinates.coordinateProjectiveChartSectionEquiv I t ht |
| 50 | ((Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE (coordinateProjectiveChartOpen_antitone I h)).op x)).val = |
| 51 | HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) h |
| 52 | (SectionCoordinates.coordinateProjectiveChartSectionEquiv I s hs x).val := by |
| 53 | have hsurj : Function.Surjective (Proj.awayToSection (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 54 | (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))) := |
| 55 | (Proj.basicOpenIsoAway (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) _ (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I s) |
| 56 | (Finset.card_pos.mpr hs)).commRingCatIsoToRingEquiv.surjective |
| 57 | obtain ⟨z, rfl⟩ := hsurj x |
| 58 | have he := (ConcreteCategory.congr_hom (coordinateAwayToSection_restriction I h) z).symm |
| 59 | exact (congrArg (fun y : Coefficient.AlgebraPresheaf.coefficientAlgebraSections |
| 60 | (Affine.ChartCoefficientSections.schemeGlobalCoefficient (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))) |
| 61 | (SectionCoordinates.coordinateProjectiveChartOpen I t) => (SectionCoordinates.coordinateProjectiveChartSectionEquiv I t ht y).val) he).trans |
| 62 | ((congrArg Subtype.val (coordinateProjectiveChartSectionEquiv_canonical I t ht |
| 63 | (Coordinate.HomogeneousRestrictions.coordinateHomogeneousRestriction I h z))).trans |
| 64 | ((Coordinate.HomogeneousRestrictions.coordinateChartModuleEquiv_restriction I h z).trans |
| 65 | (congrArg (fun y => HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) h y.val) |
| 66 | (coordinateProjectiveChartSectionEquiv_canonical I s hs z)).symm)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.RestrictionCoordinates |