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.RepresentationTheory.Theta.Geometric.ConstantFamilyProjectiveEmbedding |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ClosedGlobalGeneration |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ScalarBundle |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.UniversalPowers |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree |
| 6 | |
| 7 | /-! # Constant Family Generated Twist -/ |
| 8 | |
| 9 | namespace OAI.RepresentationTheory.Theta.Geometric.ConstantFamilyGeneratedTwist |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Every line bundle on an arbitrary affine parameter family becomes |
| 14 | globally generated after a twist pulled back from the original variety. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.ScalarBundle |
| 20 | |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 22 | |
| 23 | variable (A : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) {n : ℕ} |
| 24 | (e : A.left ⟶ Projective.Map.RelativeProjective.projectiveSpace ℂ n) |
| 25 | (he : e ≫ Projective.Map.RelativeProjective.projectiveSpaceToBase ℂ n = A.hom) |
| 26 | (R : Type) [CommRing R] [Algebra ℂ R] |
| 27 | |
| 28 | def constantFamilyHyperplaneIso : |
| 29 | (Scheme.Modules.pullback (ConstantFamilyProjectiveEmbedding.constantFamilyProjectiveEmbedding A e he R)).obj |
| 30 | (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := R) (0 : Fin (n + 1))).sheaf ≅ |
| 31 | (((AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := ℂ) (0 : Fin (n + 1))).pullback e).pullback |
| 32 | (snd (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R) A).left).sheaf := by |
| 33 | let f := ConstantFamilyProjectiveEmbedding.constantFamilyProjectiveEmbedding A e he R |
| 34 | let p := (snd (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R) A).left |
| 35 | let c := AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map (algebraMap ℂ R) n |
| 36 | have hc : f ≫ c = p ≫ e := ConstantFamilyProjectiveEmbedding.constantFamilyProjectiveEmbedding_coefficient A e he R |
| 37 | exact (Scheme.Modules.pullback f).mapIso |
| 38 | (AlgebraicGeometry.SheafCohomology.Projective.ScalarBundle.projectiveScalarMap_bundleIso (algebraMap ℂ R) n 0 0).symm ≪≫ |
| 39 | (Scheme.Modules.pullbackComp f c).app _ ≪≫ |
| 40 | (Scheme.Modules.pullbackCongr hc).app _ ≪≫ |
| 41 | (Scheme.Modules.pullbackComp p e).symm.app _ |
| 42 | |
| 43 | include he in |
| 44 | theorem exists_constant_family_generated_twist [IsClosedImmersion e] |
| 45 | (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⊗ A).left) : |
| 46 | ∃ H : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left, |
| 47 | AlgebraicGeometry.SheafCohomology.Projective.FiniteGlobalGenerators.HasFiniteGlobalGenerators (L.tensor (H.pullback (snd (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R) A).left)).sheaf := by |
| 48 | let f := ConstantFamilyProjectiveEmbedding.constantFamilyProjectiveEmbedding A e he R |
| 49 | let p := (snd (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R) A).left |
| 50 | let H := (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := ℂ) (0 : Fin (n + 1))).pullback e |
| 51 | let : L.sheaf.IsQuasicoherent := AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 52 | let : L.sheaf.IsFinitePresentation := AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation L |
| 53 | obtain ⟨k, hk⟩ := AlgebraicGeometry.SheafCohomology.Projective.ClosedGlobalGeneration.Dimension.closedProjective_eventually_hasFiniteGlobalGenerators f L.sheaf 0 |
| 54 | let eTw := AlgebraicGeometry.SheafCohomology.Projective.UniversalPowers.Dimension.pullbackProjectiveTwistUniversalIso f 0 (H.pullback p) |
| 55 | (constantFamilyHyperplaneIso A e he R) k ≪≫ |
| 56 | (AlgebraicGeometry.Quotients.FiniteDescent.TensorPullback.Construction.TensorPullbackMap.iso p H k).symm |
| 57 | refine ⟨H.tensorPower k, (hk k le_rfl).of_iso ?_⟩ |
| 58 | exact whiskerLeftIso L.sheaf eTw ≪≫ AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalTensorObjIso _ _ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.RepresentationTheory.Theta.Geometric.ConstantFamilyGeneratedTwist |