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.LineBundleKoszulComplex |
| 2 | |
| 3 | /-! # Mixed Koszul Tensor Terms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulTensorTerms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Tensoring the terms of a mixed Koszul complex by any line bundle |
| 10 | commutes with forming those terms. The comparison uses the actual |
| 11 | associator and symmetry of the module-sheaf tensor product. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry MonoidalCategory |
| 13 | universe u |
| 14 | local instance mixedKoszulModulesMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 15 | Module.SheafMonoidal.moduleMonoidalCategory X |
| 16 | local instance mixedKoszulModulesSymmetric (X : Scheme.{u}) : SymmetricCategory X.Modules := |
| 17 | Module.SheafMonoidal.moduleSymmetricCategory X |
| 18 | local instance mixedKoszulTensorAdditive {X : Scheme.{u}} (L : Line.Bundles.LineBundle X) : |
| 19 | (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.Additive := |
| 20 | Functor.additive_of_preserves_binary_products _ |
| 21 | |
| 22 | def lineBundleTensor_interchange {X : Scheme.{u}} (L H : Line.Bundles.LineBundle X) (M : X.Modules) : |
| 23 | (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.obj |
| 24 | ((LineBundle.TensorEquivalence.lineBundleTensorEquivalence H).functor.obj M) ≅ |
| 25 | (LineBundle.TensorEquivalence.lineBundleTensorEquivalence H).functor.obj |
| 26 | ((LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.obj M) := |
| 27 | (α_ L.sheaf H.sheaf M).symm ≪≫ tensorIso (β_ L.sheaf H.sheaf) (Iso.refl M) ≪≫ |
| 28 | (α_ H.sheaf L.sheaf M) |
| 29 | |
| 30 | def mixedKoszul_coefficientTermIso {X : Scheme.{u}} {M N : X.Modules} (e : M ≅ N) |
| 31 | (bs : List (LineBundleKoszulComplex.LineBundleSection X)) (i : ℤ) : |
| 32 | (LineBundleKoszulComplex.mixedLineBundleKoszulComplex M bs).X i ≅ (LineBundleKoszulComplex.mixedLineBundleKoszulComplex N bs).X i := by |
| 33 | induction bs generalizing i with |
| 34 | | nil => |
| 35 | exact (HomologicalComplex.eval X.Modules (.up ℤ) i).mapIso |
| 36 | ((HomologicalComplex.single X.Modules (.up ℤ) 0).mapIso e) |
| 37 | | cons b bs ih => |
| 38 | exact LineBundle.KoszulTermIsomorphisms.lineBundleSectionKoszulStep_XIsoBiprod b.1 b.2 _ i ≪≫ |
| 39 | biprod.mapIso (ih (i + 1)) ((LineBundle.TensorEquivalence.lineBundleTensorEquivalence b.1).functor.mapIso (ih i)) ≪≫ |
| 40 | (LineBundle.KoszulTermIsomorphisms.lineBundleSectionKoszulStep_XIsoBiprod b.1 b.2 _ i).symm |
| 41 | |
| 42 | def mixedKoszul_tensorTermIso {X : Scheme.{u}} (L : Line.Bundles.LineBundle X) (M : X.Modules) |
| 43 | (bs : List (LineBundleKoszulComplex.LineBundleSection X)) (i : ℤ) : |
| 44 | (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.obj ((LineBundleKoszulComplex.mixedLineBundleKoszulComplex M bs).X i) ≅ |
| 45 | (LineBundleKoszulComplex.mixedLineBundleKoszulComplex ((LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.obj M) bs).X i := by |
| 46 | let F := (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor |
| 47 | have : PreservesBinaryBiproducts F := preservesBinaryBiproducts_of_preservesBinaryProducts F |
| 48 | induction bs generalizing i with |
| 49 | | nil => |
| 50 | by_cases hi : i = 0 |
| 51 | · subst i |
| 52 | simpa only [LineBundleKoszulComplex.mixedLineBundleKoszulComplex, HomologicalComplex.single_obj_X_self] using |
| 53 | (Iso.refl (F.obj M)) |
| 54 | · exact (Functor.map_isZero F (HomologicalComplex.isZero_single_obj_X (.up ℤ) 0 M i hi)).iso |
| 55 | (HomologicalComplex.isZero_single_obj_X (.up ℤ) 0 (F.obj M) i hi) |
| 56 | | cons b bs ih => |
| 57 | let C := LineBundleKoszulComplex.mixedLineBundleKoszulComplex M bs |
| 58 | let G := (LineBundle.TensorEquivalence.lineBundleTensorEquivalence b.1).functor |
| 59 | exact F.mapIso (LineBundle.KoszulTermIsomorphisms.lineBundleSectionKoszulStep_XIsoBiprod b.1 b.2 C i) ≪≫ |
| 60 | F.mapBiprod (C.X (i + 1)) (G.obj (C.X i)) ≪≫ |
| 61 | biprod.mapIso (ih (i + 1)) |
| 62 | (lineBundleTensor_interchange L b.1 (C.X i) ≪≫ G.mapIso (ih i)) ≪≫ |
| 63 | (LineBundle.KoszulTermIsomorphisms.lineBundleSectionKoszulStep_XIsoBiprod b.1 b.2 _ i).symm |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulTensorTerms |