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.PresentationCohomologyPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveTwisting.TensorPowers |
| 5 | |
| 6 | /-! # Presentation Tensor Twists -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationTensorTwists.ClosedProjectiveEmbedding |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The homogeneous presentation identifies tensoring by powers of the restricted hyperplane bundle with the actual coordinate twists. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | def tensorTwistPullbackIso {R : Type u} [CommRing R] {n : ℕ} {X : Over (Spec (.of R))} |
| 17 | (i : X ⟶ ProjectivePresentations.affineProjectiveSpace R n) [IsClosedImmersion i.left] |
| 18 | (M : X.left.Modules) (d : ℕ) : |
| 19 | (Scheme.Modules.pullback (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom.left).obj |
| 20 | (Tensor.ProductSheaf.tensorModule M (((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback i.left).tensorPower d).sheaf) ≅ |
| 21 | Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom.left).obj M) |
| 22 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.ideal i) d).sheaf := by |
| 23 | let L := (Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback i.left |
| 24 | have : IsIso (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom.left := (Over.forget _).map_isIso (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom |
| 25 | exact Tensor.ProductBaseChange.tensorModulePullbackIso (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom.left M (L.tensorPower d).sheaf ≪≫ |
| 26 | Tensor.ProductSheaf.tensorModuleCongr (Iso.refl _) (L.powerBaseChangeIso (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.presentation i).hom.left d ≪≫ |
| 27 | (TensorPower.Maps.tensorPowerFunctor _ d).mapIso (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.twistingIso i) ≪≫ |
| 28 | ProjectiveTwisting.TensorPowers.projectiveTwistingBundle_tensorPowerIso (Closed.ProjectiveHomogeneousPresentation.ClosedProjectiveEmbedding.ideal i) d) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationTensorTwists.ClosedProjectiveEmbedding |