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.Projective.PresentationSectionData |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.EmbeddingIntrinsic |
| 3 | |
| 4 | /-! # Presentation Section Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restrict section data along a closed immersion and retain it for the |
| 11 | native product presentation of a morphism graph. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | universe u |
| 15 | |
| 16 | def Projective.ProjectivePresentations.ProjectivePresentation.precomp {S : Scheme.{u}} {X Y : Over S} |
| 17 | (P : Projective.ProjectivePresentations.ProjectivePresentation Y) (a : X ⟶ Y) [IsClosedImmersion a.left] : Projective.ProjectivePresentations.ProjectivePresentation X where |
| 18 | dimension := P.dimension |
| 19 | embedding := a ≫ P.embedding |
| 20 | closedImmersion := @IsClosedImmersion.comp _ _ _ _ _ inferInstance P.closedImmersion |
| 21 | |
| 22 | def Projective.ProjectivePresentations.ProjectivePresentation.SectionData.precomp {S : Scheme.{u}} {X Y : Over S} |
| 23 | {P : Projective.ProjectivePresentations.ProjectivePresentation Y} {L : Line.Bundles.LineBundle Y.left} |
| 24 | (D : P.SectionData L) (a : X ⟶ Y) [IsClosedImmersion a.left] : |
| 25 | (P.precomp a).SectionData (L.pullback a.left) where |
| 26 | sections i := Ample.LineBundles.pullbackSection a.left (D.sections i) |
| 27 | covers := Section.ChartArbitraryPullback.lineBundleSections_pullback_covers a.left L D.sections D.covers |
| 28 | embedding_eq := (congrArg (fun j => a ≫ j) D.embedding_eq).trans |
| 29 | (Section.ProjectivePrecomposition.sectionProjectiveMorphism_precomp a L D.sections D.covers |
| 30 | (Section.ChartArbitraryPullback.lineBundleSections_pullback_covers a.left L D.sections D.covers)) |
| 31 | |
| 32 | variable {S : Scheme.{u}} {X Y : Over S} (P : Projective.ProjectivePresentations.ProjectivePresentation X) (Q : Projective.ProjectivePresentations.ProjectivePresentation Y) |
| 33 | variable [IsSeparated Y.hom] |
| 34 | |
| 35 | def Projective.ProjectivePresentations.ProjectivePresentation.graph (p : X ⟶ Y) : Projective.ProjectivePresentations.ProjectivePresentation X := |
| 36 | (P.product Q).precomp (MorphismGraphFamilies.familyGraph p) |
| 37 | |
| 38 | variable {P Q} {L : Line.Bundles.LineBundle X.left} {M : Line.Bundles.LineBundle Y.left} |
| 39 | |
| 40 | def Projective.ProjectivePresentations.ProjectivePresentation.SectionData.graph |
| 41 | (D : P.SectionData L) (E : Q.SectionData M) (p : X ⟶ Y) : |
| 42 | (P.graph Q p).SectionData (L.tensor (M.pullback p.left)) := |
| 43 | ((D.product E).precomp (MorphismGraphFamilies.familyGraph p)).ofBundleIso (Graph.ExternalTensorBundle.graphExternalTensorBundleIso p L M) |
| 44 | |
| 45 | def Projective.ProjectivePresentations.ProjectivePresentation.SectionData.graphTwistingIso |
| 46 | (D : P.SectionData L) (E : Q.SectionData M) (p : X ⟶ Y) : |
| 47 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S (P.product Q).dimension).pullback |
| 48 | (MorphismGraphFamilies.familyGraph p ≫ (P.product Q).embedding).left).sheaf ≅ (L.tensor (M.pullback p.left)).sheaf := |
| 49 | (D.graph E p).twistingIso |
| 50 | |
| 51 | variable {K : Type u} [Field K] {A B : Over (Spec (.of K))} |
| 52 | variable [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 53 | variable {PA : Projective.ProjectivePresentations.ProjectivePresentation A} {PB : Projective.ProjectivePresentations.ProjectivePresentation B} |
| 54 | variable {LA : Line.Bundles.LineBundle A.left} {LB : Line.Bundles.LineBundle B.left} |
| 55 | |
| 56 | theorem Projective.ProjectivePresentations.ProjectivePresentation.SectionData.graphHilbertPolynomial_iff |
| 57 | (D : PA.SectionData LA) (E : PB.SectionData LB) (p : A ⟶ B) (P : Polynomial ℚ) : |
| 58 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (PA.product PB).embedding P p ↔ |
| 59 | (LA.tensor (LB.pullback p.left)).HasSectionHilbertPolynomial A.hom P := |
| 60 | (Relative.EmbeddingIntrinsic.embeddedGraph_intrinsicHilbertPolynomial_iff (PA.product PB).embedding P p).trans |
| 61 | (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_sheafIso A.hom |
| 62 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) (PA.product PB).dimension).pullback |
| 63 | (MorphismGraphFamilies.familyGraph p ≫ (PA.product PB).embedding).left) |
| 64 | (LA.tensor (LB.pullback p.left)) (D.graphTwistingIso E p) P) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |