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.Relative.EmbeddingIntrinsic |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingBundle |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.ExternalTensorBundle |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 5 | |
| 6 | /-! # Graph Twisting -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! In a projective embedding defined by a power of an external tensor product, a bundle-preserving morphism graph pulls O(1) back to the corresponding power of the source tensor square. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} {A B : Over S} (L : Line.Bundles.LineBundle A.left) (M : Line.Bundles.LineBundle B.left) |
| 20 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding (Graph.ExternalTensorBundle.externalTensorBundle L M) (A ⊗ B).hom) |
| 21 | |
| 22 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.relativeMorphism : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S E.dimension := |
| 23 | SectionsProjectiveMorphism.sectionProjectiveMorphism (A ⊗ B).hom E.sections E.covers |
| 24 | |
| 25 | instance Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.relativeMorphism_closed : IsClosedImmersion (E.relativeMorphism L M).left := |
| 26 | E.closedImmersion |
| 27 | |
| 28 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.externalPowerIso : |
| 29 | E.power.sheaf ≅ ((Graph.ExternalTensorBundle.externalTensorBundle L M).tensorPower E.degree).sheaf := |
| 30 | (E.isPower.unique ((Graph.ExternalTensorBundle.externalTensorBundle L M).tensorPower_isTensorPower E.degree)).some |
| 31 | |
| 32 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.graphTwistingBundleIso (p : A ⟶ B) |
| 33 | (e : (M.pullback p.left).sheaf ≅ L.sheaf) : |
| 34 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S E.dimension).pullback (MorphismGraphFamilies.familyGraph p ≫ E.relativeMorphism L M).left).sheaf ≅ |
| 35 | ((L.tensor L).tensorPower E.degree).sheaf := by |
| 36 | let g := (MorphismGraphFamilies.familyGraph p).left |
| 37 | let j := (E.relativeMorphism L M).left |
| 38 | let T := Graph.ExternalTensorBundle.externalTensorBundle L M |
| 39 | exact (Scheme.Modules.pullbackComp g j).symm.app (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S E.dimension).sheaf ≪≫ |
| 40 | (Scheme.Modules.pullback g).mapIso (E.twistingBundleIso (A ⊗ B).hom ≪≫ E.externalPowerIso L M) ≪≫ |
| 41 | T.powerBaseChangeIso g E.degree ≪≫ |
| 42 | (TensorPower.Maps.tensorPowerFunctor A.left E.degree).mapIso (Graph.ExternalTensorBundle.graphExternalTensorBundleIsoOfPreserves p L M e) |
| 43 | |
| 44 | variable {K : Type u} [Field K] {C D : Over (Spec (.of K))} |
| 45 | variable [Flat C.hom] [LocallyOfFinitePresentation C.hom] [IsSeparated D.hom] |
| 46 | |
| 47 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.graphHilbertPolynomial_iff |
| 48 | (L : Line.Bundles.LineBundle C.left) (M : Line.Bundles.LineBundle D.left) |
| 49 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding (Graph.ExternalTensorBundle.externalTensorBundle L M) (C ⊗ D).hom) |
| 50 | (p : C ⟶ D) (e : (M.pullback p.left).sheaf ≅ L.sheaf) (P : Polynomial ℚ) : |
| 51 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (E.relativeMorphism L M) P p ↔ |
| 52 | ((L.tensor L).tensorPower E.degree).HasSectionHilbertPolynomial C.hom P := |
| 53 | (Relative.EmbeddingIntrinsic.embeddedGraph_intrinsicHilbertPolynomial_iff (E.relativeMorphism L M) P p).trans |
| 54 | (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_sheafIso C.hom |
| 55 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) E.dimension).pullback |
| 56 | (MorphismGraphFamilies.familyGraph p ≫ E.relativeMorphism L M).left) |
| 57 | ((L.tensor L).tensorPower E.degree) (E.graphTwistingBundleIso L M p e) P) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |