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.CoordinateSectionRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PresentationSectionData |
| 3 | |
| 4 | /-! # Projective Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A complete presentation has complete canonical coordinate sections |
| 11 | of its actual pulled-back projective twisting bundle. Completeness no |
| 12 | longer depends on the auxiliary sheaf used to supply the embedding. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | section |
| 16 | variable {S : Scheme.{u}} {X : Over S} (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 17 | |
| 18 | theorem Projective.ProjectivePresentations.ProjectivePresentation.canonicalSectionData_sections : P.canonicalSectionData.sections = |
| 19 | fun i => Ample.LineBundles.pullbackSection P.embedding.left (Relative.CoordinateSectionRecovery.relativeProjectiveCoordinateSection S P.dimension i) := rfl |
| 20 | |
| 21 | variable {P} {L : Line.Bundles.LineBundle X.left} (D : P.SectionData L) |
| 22 | |
| 23 | theorem Projective.ProjectivePresentations.ProjectivePresentation.SectionData.twistingIso_coordinate (i : Fin (P.dimension + 1)) : |
| 24 | Ample.LineBundles.pullbackSection P.embedding.left (Relative.CoordinateSectionRecovery.relativeProjectiveCoordinateSection S P.dimension i) ≫ |
| 25 | D.twistingIso.hom = D.sections i := by |
| 26 | let h := congrArg Over.Hom.left D.embedding_eq |
| 27 | let q := Relative.CoordinateSectionRecovery.relativeProjectiveCoordinateSection S P.dimension i |
| 28 | let e := RelativeProjective.TwistingBundle.sectionProjectiveTwistingBundleIso X.hom D.sections D.covers |
| 29 | change Ample.LineBundles.pullbackSection P.embedding.left q ≫ |
| 30 | ((Scheme.Modules.pullbackCongr h).hom.app _ ≫ e.hom) = _ |
| 31 | exact (Category.assoc _ _ _).symm.trans |
| 32 | ((congrArg (fun k => k ≫ e.hom) (Global.SectionPullbackComposition.pullbackSection_equality h q)).trans |
| 33 | (Relative.CoordinateSectionRecovery.sectionProjectiveTwistingBundleIso_coordinate X.hom D.sections D.covers i)) |
| 34 | |
| 35 | theorem Projective.ProjectivePresentations.ProjectivePresentation.SectionData.twistingIso_inverse_coordinate (i : Fin (P.dimension + 1)) : |
| 36 | Ample.LineBundles.pullbackSection P.embedding.left (Relative.CoordinateSectionRecovery.relativeProjectiveCoordinateSection S P.dimension i) = |
| 37 | D.sections i ≫ D.twistingIso.inv := by |
| 38 | let s := Ample.LineBundles.pullbackSection P.embedding.left (Relative.CoordinateSectionRecovery.relativeProjectiveCoordinateSection S P.dimension i) |
| 39 | have hc : (s ≫ D.twistingIso.hom) ≫ D.twistingIso.inv = s := |
| 40 | (Category.assoc _ _ _).trans |
| 41 | ((congrArg (fun k => s ≫ k) D.twistingIso.hom_inv_id).trans (Category.comp_id _)) |
| 42 | exact hc.symm.trans (congrArg (fun k => k ≫ D.twistingIso.inv) (D.twistingIso_coordinate i)) |
| 43 | |
| 44 | def Projective.ProjectivePresentations.ProjectivePresentation.SectionData.CompleteData.canonical (C : D.CompleteData) : P.canonicalSectionData.CompleteData := by |
| 45 | let C' := C.ofBundleIso D.twistingIso.symm |
| 46 | refine ⟨C'.basis, ?_⟩ |
| 47 | have hs : P.canonicalSectionData.sections = (D.ofBundleIso D.twistingIso.symm).sections := by |
| 48 | funext i |
| 49 | exact D.twistingIso_inverse_coordinate i |
| 50 | exact hs.trans C'.sections_eq |
| 51 | end |
| 52 | |
| 53 | variable {S : Scheme.{u}} {X : Over S} {L : Line.Bundles.LineBundle X.left} |
| 54 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L X.hom) (D : E.CompleteSectionData) |
| 55 | |
| 56 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.CompleteSectionData.canonicalTwistingCompleteData : E.projectivePresentation.canonicalSectionData.CompleteData := |
| 57 | Projective.ProjectivePresentations.ProjectivePresentation.SectionData.CompleteData.canonical E.sectionData (D.presentationCompleteData E) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |