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.Section.EmbeddingProducts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveTargetIso |
| 3 | |
| 4 | /-! # Presentation Section Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Section data for a specified projective presentation is preserved by |
| 11 | native products and by an isomorphism of the defining line bundle. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | structure Projective.ProjectivePresentations.ProjectivePresentation.SectionData {S : Scheme.{u}} {X : Over S} |
| 19 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) (L : Line.Bundles.LineBundle X.left) where |
| 20 | sections : Fin (P.dimension + 1) → (Line.Bundles.structureModule X.left ⟶ L.sheaf) |
| 21 | covers : ∀ x : X.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (sections i) |
| 22 | embedding_eq : P.embedding = Section.OverMaps.sectionProjectiveOverMap X (M := L.sheaf) sections covers |
| 23 | |
| 24 | namespace Projective |
| 25 | variable {S : Scheme.{u}} {X Y : Over S} {P : ProjectivePresentations.ProjectivePresentation X} {Q : ProjectivePresentations.ProjectivePresentation Y} |
| 26 | variable {L L' : Line.Bundles.LineBundle X.left} {M : Line.Bundles.LineBundle Y.left} |
| 27 | |
| 28 | def ProjectivePresentations.ProjectivePresentation.SectionData.twistingIso (D : P.SectionData L) : |
| 29 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S P.dimension).pullback P.embedding.left).sheaf ≅ L.sheaf := |
| 30 | (Scheme.Modules.pullbackCongr (congrArg Over.Hom.left D.embedding_eq)).app |
| 31 | (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S P.dimension).sheaf ≪≫ |
| 32 | RelativeProjective.TwistingBundle.sectionProjectiveTwistingBundleIso X.hom D.sections D.covers |
| 33 | |
| 34 | def ProjectivePresentations.ProjectivePresentation.SectionData.ofBundleIso (D : P.SectionData L) (e : L.sheaf ≅ L'.sheaf) : P.SectionData L' where |
| 35 | sections i := D.sections i ≫ e.hom |
| 36 | covers := Section.ProjectiveTargetIso.sections_compIso_covers e D.sections D.covers |
| 37 | embedding_eq := D.embedding_eq.trans |
| 38 | (Section.ProjectiveTargetIso.sectionProjectiveMorphism_targetIso X.hom e D.sections D.covers |
| 39 | (Section.ProjectiveTargetIso.sections_compIso_covers e D.sections D.covers)) |
| 40 | |
| 41 | def ProjectivePresentations.ProjectivePresentation.SectionData.product (D : P.SectionData L) (E : Q.SectionData M) : |
| 42 | (P.product Q).SectionData (Graph.ExternalTensorBundle.externalTensorBundle L M) where |
| 43 | sections := Section.EmbeddingProducts.externalPairSectionFamily L M D.sections E.sections |
| 44 | covers := Section.EmbeddingProducts.externalPairSectionFamily_covers L M D.sections E.sections D.covers E.covers |
| 45 | embedding_eq := by |
| 46 | change Products.projectiveProductEmbedding P.embedding Q.embedding = _ |
| 47 | rw [D.embedding_eq, E.embedding_eq] |
| 48 | dsimp only [Graph.ExternalTensorBundle.externalTensorBundle, Section.EmbeddingProducts.externalPairSectionFamily] |
| 49 | exact Section.EmbeddingProducts.tensorSectionProjectiveMorphism_segre L M D.sections E.sections D.covers E.covers |
| 50 | |
| 51 | end Projective |
| 52 | |
| 53 | variable {S : Scheme.{u}} {X : Over S} {L : Line.Bundles.LineBundle X.left} |
| 54 | |
| 55 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.projectivePresentation (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L X.hom) : Projective.ProjectivePresentations.ProjectivePresentation X where |
| 56 | dimension := E.dimension |
| 57 | embedding := SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom E.sections E.covers |
| 58 | closedImmersion := E.closedImmersion |
| 59 | |
| 60 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.sectionData (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L X.hom) : E.projectivePresentation.SectionData E.power where |
| 61 | sections := E.sections |
| 62 | covers := E.covers |
| 63 | embedding_eq := rfl |
| 64 | |
| 65 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.canonicalPowerSectionData (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L X.hom) : |
| 66 | E.projectivePresentation.SectionData (L.tensorPower E.degree) := |
| 67 | E.sectionData.ofBundleIso (E.isPower.unique (L.tensorPower_isTensorPower E.degree)).some |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |