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.FunctorReturnIdentity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.DataEmbeddingReplacement |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineCoordinateSectionData |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Canonical.QuotientSectionMorphism |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionDataBaseChange |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.PresentationSectionData |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationAmpleBundle |
| 8 | |
| 9 | /-! # Projective Section Data -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Canonical.ProjectiveSectionData |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Every existing projective presentation has canonical section data for |
| 16 | its pulled-back O(1). The construction follows the quotient coordinates, |
| 17 | the affine standard space, and then the native arbitrary-base comparison. -/ |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | universe u |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | def identityProjectivePresentation (S : Scheme.{u}) (n : ℕ) : |
| 24 | Projective.ProjectivePresentations.ProjectivePresentation (Projective.ProjectivePresentations.projectiveSpaceOver S n) where |
| 25 | dimension := n |
| 26 | embedding := 𝟙 _ |
| 27 | closedImmersion := inferInstanceAs (IsClosedImmersion (𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S n).left)) |
| 28 | |
| 29 | private def affineCoordinateSectionData_baseChange |
| 30 | (R : CommRingCat.{u}) (n : ℕ) (T : Scheme.{u}) (f : T ⟶ Spec R) : |
| 31 | ((AffineCoordinateSectionData.bundledAffineCoordinatePresentation R n).baseChange f).SectionData |
| 32 | ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback |
| 33 | (CategoryTheory.Limits.pullback.fst (AffineCoordinateSectionData.bundledAffineProjectiveSpace R n).hom f)) := |
| 34 | (AffineCoordinateSectionData.bundledAffineCoordinateSectionData R n).baseChange f |
| 35 | |
| 36 | private theorem mapIso_symm_trans_hom |
| 37 | {C D : Type*} [Category C] [Category D] (F : C ⥤ D) |
| 38 | {X Y : C} {Z : D} (e : X ≅ Y) (k : Z ≅ F.obj X) : |
| 39 | (F.mapIso e.symm ≪≫ k.symm).hom = F.map e.inv ≫ k.inv := rfl |
| 40 | |
| 41 | private abbrev affineCoordinatePresentation_return_hom (S : Scheme.{u}) (n : ℕ) := |
| 42 | (mapIso_symm_trans_hom (Over.pullback S.toSpecΓ) |
| 43 | (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso Γ(S, ⊤) n) |
| 44 | (Projective.SpaceBaseChange.projectiveSpaceOverBaseChangeIso S.toSpecΓ n)).symm |
| 45 | |
| 46 | private abbrev nativeCoordinateData (S : Scheme.{u}) (n : ℕ) := |
| 47 | affineCoordinateSectionData_baseChange Γ(S, ⊤) n S S.toSpecΓ |
| 48 | |
| 49 | private theorem relativeCoordinateEmbeddingEq (S : Scheme.{u}) (n : ℕ) : |
| 50 | 𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S n) = |
| 51 | SectionsProjectiveMorphism.sectionProjectiveMorphism (n := n) (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom |
| 52 | (nativeCoordinateData S n).sections (nativeCoordinateData S n).covers := by |
| 53 | let D := nativeCoordinateData S n |
| 54 | exact (((Projective.PresentationBaseChange.nativeAffineProjectivePresentation Γ(S, ⊤) n).baseChangeIso_hom S.toSpecΓ).symm.trans |
| 55 | (Projective.SpecIsoProjections.projectiveCoefficientReturnIso_hom S n)).symm.trans D.embedding_eq |
| 56 | |
| 57 | def relativeCoordinateSectionData (S : Scheme.{u}) (n : ℕ) : |
| 58 | (identityProjectivePresentation S n).SectionData (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n) where |
| 59 | sections := (nativeCoordinateData S n).sections |
| 60 | covers := (nativeCoordinateData S n).covers |
| 61 | embedding_eq := relativeCoordinateEmbeddingEq S n |
| 62 | |
| 63 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation.canonicalSectionData {S : Scheme.{u}} {X : Over S} |
| 64 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) : P.SectionData P.ampleLineBundle := by |
| 65 | let D := (relativeCoordinateSectionData S P.dimension).precomp P.embedding |
| 66 | have h : ((identityProjectivePresentation S P.dimension).precomp P.embedding).embedding = P.embedding := |
| 67 | Category.comp_id P.embedding |
| 68 | exact ⟨D.sections, D.covers, h.symm.trans D.embedding_eq⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Canonical.ProjectiveSectionData |