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.Iterated.EquivalenceCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.SectionCokernelCohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SectionMultiplication |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConcreteModuleTensorAssociativity |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorEquivalence |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.UnitRight |
| 7 | |
| 8 | /-! # Twist Iteration -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TwistIteration |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Iteration of the actual line-bundle tensor equivalence is identified with the constructed tensor-power sheaves. Regular-section multiplication gives a monomorphism into that equivalence. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | local instance twistIterationMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 18 | Module.SheafMonoidal.moduleMonoidalCategory X |
| 19 | local instance twistIterationSymmetric (X : Scheme.{u}) : SymmetricCategory X.Modules := |
| 20 | Module.SheafMonoidal.moduleSymmetricCategory X |
| 21 | variable {X : Scheme.{u}} |
| 22 | |
| 23 | def actualModuleTensorComm (M N : X.Modules) : Tensor.ProductSheaf.tensorModule M N ≅ Tensor.ProductSheaf.tensorModule N M := |
| 24 | (Module.MonoidalTensorComparison.moduleMonoidalTensorIso M N).symm ≪≫ β_ M N ≪≫ Module.MonoidalTensorComparison.moduleMonoidalTensorIso N M |
| 25 | |
| 26 | def lineBundleTwistIterationIso (L : Line.Bundles.LineBundle X) (n : ℕ) (M : X.Modules) : |
| 27 | (Iterated.EquivalenceCohomology.iterateAutoEquivalence (TensorEquivalence.lineBundleRightTensorEquivalence L) n).functor.obj M ≅ |
| 28 | Tensor.ProductSheaf.tensorModule M (L.tensorPower n).sheaf := by |
| 29 | induction n generalizing M with |
| 30 | | zero => |
| 31 | exact (Tensor.UnitRight.tensorModuleUnitRightIso M).symm ≪≫ |
| 32 | Tensor.Bifunctor.tensorModuleMapIso (Iso.refl M) L.tensorPowerZeroIso.symm |
| 33 | | succ n ih => |
| 34 | change (Iterated.EquivalenceCohomology.iterateAutoEquivalence (TensorEquivalence.lineBundleRightTensorEquivalence L) n).functor.obj |
| 35 | ((TensorEquivalence.lineBundleRightTensorEquivalence L).functor.obj M) ≅ _ |
| 36 | exact ih ((TensorEquivalence.lineBundleRightTensorEquivalence L).functor.obj M) ≪≫ |
| 37 | Tensor.Bifunctor.tensorModuleMapIso (TensorEquivalence.lineBundleRightTensorEquivalence_objIso L M) |
| 38 | (Iso.refl (L.tensorPower n).sheaf) ≪≫ |
| 39 | ConcreteModuleTensorAssociativity.actualModuleTensorAssoc M L.sheaf (L.tensorPower n).sheaf ≪≫ |
| 40 | Tensor.Bifunctor.tensorModuleMapIso (Iso.refl M) (L.tensor_succ_sheafIso n).some |
| 41 | |
| 42 | def regularSectionToRightTensor (L : Line.Bundles.LineBundle X) (M : X.Modules) |
| 43 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) : M ⟶ (TensorEquivalence.lineBundleRightTensorEquivalence L).functor.obj M := |
| 44 | Module.SectionMultiplication.moduleSectionMultiply L M s ≫ (actualModuleTensorComm L.sheaf M).hom ≫ |
| 45 | (TensorEquivalence.lineBundleRightTensorEquivalence_objIso L M).inv |
| 46 | |
| 47 | theorem regularSectionToRightTensor_mono (L : Line.Bundles.LineBundle X) (M : X.Modules) |
| 48 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [Mono (Module.SectionMultiplication.moduleSectionMultiply L M s)] : |
| 49 | Mono (regularSectionToRightTensor L M s) := by |
| 50 | dsimp only [regularSectionToRightTensor] |
| 51 | infer_instance |
| 52 | |
| 53 | theorem lineBundleTwistIteration_euler |
| 54 | {K : Type u} [Field K] (p : X ⟶ Spec (.of K)) |
| 55 | (L : Line.Bundles.LineBundle X) (M : X.Modules) (n : ℕ) : |
| 56 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p |
| 57 | ((Iterated.EquivalenceCohomology.iterateAutoEquivalence (TensorEquivalence.lineBundleRightTensorEquivalence L) n).functor.obj M) = |
| 58 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (Tensor.ProductSheaf.tensorModule M (L.tensorPower n).sheaf) := |
| 59 | Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso p (lineBundleTwistIterationIso L n M) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TwistIteration |