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.Canonical.QuotientSectionMorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionDataBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.PresentationSectionData |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationAmpleBundle |
| 5 | |
| 6 | /-! # Coordinate Section Data -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateSectionData |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every existing projective presentation has canonical section data for |
| 13 | its pulled-back O(1). The construction follows the quotient coordinates, |
| 14 | the affine standard space, and then the native arbitrary-base comparison. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 21 | |
| 22 | def quotientCoordinatePresentation (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 23 | Projective.ProjectivePresentations.ProjectivePresentation (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I) where |
| 24 | dimension := n |
| 25 | embedding := Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding I ≫ (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) n).inv |
| 26 | closedImmersion := @IsClosedImmersion.comp _ _ _ _ _ |
| 27 | (inferInstanceAs (IsClosedImmersion (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I))) |
| 28 | (Grassmann.ProjectivePresentation.overIso_closedImmersion (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) n).symm) |
| 29 | |
| 30 | def quotientCoordinateSectionData (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 31 | (quotientCoordinatePresentation I).SectionData (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1) where |
| 32 | sections := ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I |
| 33 | covers := ProjectiveCoordinate.SectionFrames.projectiveCoordinateSectionFamily_covers I |
| 34 | embedding_eq := (Canonical.QuotientSectionMorphism.sectionProjectiveMorphism_projectiveCoordinates I).symm |
| 35 | |
| 36 | private def presentationOfEmbedding {S : Scheme.{u}} {Y : Over S} {n : ℕ} |
| 37 | (j : Y ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) (hj : IsClosedImmersion j.left) : Projective.ProjectivePresentations.ProjectivePresentation Y where |
| 38 | dimension := n |
| 39 | embedding := j |
| 40 | closedImmersion := hj |
| 41 | |
| 42 | private def affineSpecInv (R : Type u) [CommRing R] (n : ℕ) : |
| 43 | Projective.ProjectivePresentations.affineProjectiveSpace R n ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (CommRingCat.of R)) n := |
| 44 | (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (CommRingCat.of R) n).inv |
| 45 | |
| 46 | private theorem affineSpecInv_closed (R : Type u) [CommRing R] (n : ℕ) : |
| 47 | IsClosedImmersion (affineSpecInv R n).left := |
| 48 | Grassmann.ProjectivePresentation.overIso_closedImmersion (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (CommRingCat.of R) n).symm |
| 49 | |
| 50 | abbrev affineCoordinatePresentation (R : Type u) [CommRing R] (n : ℕ) : |
| 51 | Projective.ProjectivePresentations.ProjectivePresentation (Projective.ProjectivePresentations.affineProjectiveSpace R n) := |
| 52 | Projective.PresentationBaseChange.nativeAffineProjectivePresentation (CommRingCat.of R) n |
| 53 | |
| 54 | private def sectionDataFromIso {S : Scheme.{u}} {X Y : Over S} {n : ℕ} |
| 55 | (e : X ≅ Y) (j : Y ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) (hj : IsClosedImmersion j.left) |
| 56 | (L : Line.Bundles.LineBundle X.left) |
| 57 | (s : Fin (n + 1) → (Line.Bundles.structureModule X.left ⟶ L.sheaf)) |
| 58 | (hs : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 59 | (he : SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs = e.hom ≫ j) : |
| 60 | (presentationOfEmbedding j hj).SectionData (L.pullback e.inv.left) where |
| 61 | sections i := Ample.LineBundles.pullbackSection e.inv.left (s i) |
| 62 | covers := Section.ChartArbitraryPullback.lineBundleSections_pullback_covers e.inv.left L s hs |
| 63 | embedding_eq := (Iso.inv_hom_id_assoc e j).symm.trans |
| 64 | ((congrArg (fun k => e.inv ≫ k) he.symm).trans |
| 65 | (Section.ProjectivePrecomposition.sectionProjectiveMorphism_precomp e.inv L s hs |
| 66 | (Section.ChartArbitraryPullback.lineBundleSections_pullback_covers e.inv.left L s hs))) |
| 67 | |
| 68 | private theorem isoInvClosed {S : Scheme.{u}} {X Y : Over S} (e : X ≅ Y) : |
| 69 | IsClosedImmersion e.inv.left := Grassmann.ProjectivePresentation.overIso_closedImmersion e.symm |
| 70 | |
| 71 | private abbrev affineCoordinateClosed (R : Type u) [CommRing R] (n : ℕ) := |
| 72 | isoInvClosed (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of R) n) |
| 73 | |
| 74 | private abbrev affineCoordinateCovers (R : Type u) [CommRing R] (n : ℕ) := |
| 75 | ProjectiveCoordinate.SectionFrames.projectiveCoordinateSectionFamily_covers (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 76 | |
| 77 | private theorem quotientZeroIso_hom (R : Type u) [CommRing R] (n : ℕ) : |
| 78 | (Projective.QuotientZero.projectiveQuotientZeroIso R n).hom = |
| 79 | Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) := by |
| 80 | apply Over.OverMorphism.ext |
| 81 | rfl |
| 82 | |
| 83 | private theorem affineSpecInv_left (R : Type u) [CommRing R] (n : ℕ) : |
| 84 | (affineSpecInv R n).left = (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (CommRingCat.of R) n).inv.left := rfl |
| 85 | |
| 86 | private theorem affineCoordinateMap (R : Type u) [CommRing R] (n : ℕ) : |
| 87 | SectionsProjectiveMorphism.sectionProjectiveMorphism |
| 88 | (Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))))).hom |
| 89 | (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))) |
| 90 | (ProjectiveCoordinate.SectionFrames.projectiveCoordinateSectionFamily_covers (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))) = |
| 91 | (Projective.QuotientZero.projectiveQuotientZeroIso R n).hom ≫ affineSpecInv R n := by |
| 92 | apply Over.OverMorphism.ext |
| 93 | have h := congrArg Over.Hom.left |
| 94 | (Canonical.QuotientSectionMorphism.sectionProjectiveMorphism_projectiveCoordinates (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))) |
| 95 | change (SectionsProjectiveMorphism.sectionProjectiveMorphism _ _ _).left = |
| 96 | (Projective.QuotientZero.projectiveQuotientZeroIso R n).hom.left ≫ (affineSpecInv R n).left |
| 97 | rw [affineSpecInv_left, quotientZeroIso_hom] |
| 98 | exact h |
| 99 | |
| 100 | def affineCoordinateSectionData (R : Type u) [CommRing R] (n : ℕ) : |
| 101 | (affineCoordinatePresentation R n).SectionData (Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n) where |
| 102 | sections i := Ample.LineBundles.pullbackSection (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left |
| 103 | (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) i) |
| 104 | covers := Section.ChartArbitraryPullback.lineBundleSections_pullback_covers (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left |
| 105 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) 1) |
| 106 | (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))) |
| 107 | (affineCoordinateCovers R n) |
| 108 | embedding_eq := |
| 109 | (Iso.inv_hom_id_assoc (Projective.QuotientZero.projectiveQuotientZeroIso R n) (affineSpecInv R n)).symm.trans |
| 110 | ((congrArg (fun k => (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv ≫ k) |
| 111 | (affineCoordinateMap R n).symm).trans |
| 112 | (Section.ProjectivePrecomposition.sectionProjectiveMorphism_precomp (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv |
| 113 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) 1) |
| 114 | (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))) |
| 115 | (affineCoordinateCovers R n) |
| 116 | (Section.ChartArbitraryPullback.lineBundleSections_pullback_covers (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left |
| 117 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) 1) |
| 118 | (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))) |
| 119 | (affineCoordinateCovers R n)))) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateSectionData |