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.LineBundle.FrameTensorNaturalIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionKoszulStep |
| 3 | |
| 4 | /-! # Line Bundle Koszul Step -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.LineBundleKoszulStep |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In a global frame, an actual line-bundle Koszul step is isomorphic |
| 11 | as a complex to the cone of multiplication by its coordinate. The |
| 12 | comparison includes the differential and not only the individual terms. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | local instance framedKoszulTensorAdditive (L : Line.Bundles.LineBundle X) : |
| 18 | (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.Additive := |
| 19 | Functor.additive_of_preserves_binary_products _ |
| 20 | |
| 21 | def globalScalarComplexMap (r : Γ(X, ⊤)) (C : CochainComplex X.Modules ℤ) : C ⟶ C where |
| 22 | f i := Global.ModuleScalars.globalModuleScalar (C.X i) r |
| 23 | comm' i j _ := Global.ModuleScalars.globalModuleScalar_natural r (C.d i j) |
| 24 | |
| 25 | def lineBundleFrameComplexIso (L : Line.Bundles.LineBundle X) (e : L.sheaf ≅ Line.Bundles.structureModule X) |
| 26 | (C : CochainComplex X.Modules ℤ) : |
| 27 | (((LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.mapHomologicalComplex (.up ℤ)).obj C) ≅ C := |
| 28 | (NatIso.mapHomologicalComplex (LineBundle.FrameTensorNaturalIso.lineBundleFrameTensorIso L e) (.up ℤ)).app C |
| 29 | |
| 30 | theorem lineBundleSectionComplexMap_frame (L : Line.Bundles.LineBundle X) |
| 31 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) (e : L.sheaf ≅ Line.Bundles.structureModule X) |
| 32 | (C : CochainComplex X.Modules ℤ) : |
| 33 | LineBundle.SectionKoszulStep.lineBundleSectionComplexMap L s C ≫ (lineBundleFrameComplexIso L e C).hom = |
| 34 | globalScalarComplexMap (Frame.Coordinates.structureModuleEndValue X (s ≫ e.hom)) C := by |
| 35 | apply HomologicalComplex.Hom.ext |
| 36 | funext i |
| 37 | exact LineBundle.FrameTensorNaturalIso.lineBundleSectionTensorMap_frame L s e (C.X i) |
| 38 | |
| 39 | def framedLineBundleKoszulStepIso (L : Line.Bundles.LineBundle X) |
| 40 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) (e : L.sheaf ≅ Line.Bundles.structureModule X) |
| 41 | (C : CochainComplex X.Modules ℤ) : |
| 42 | LineBundle.SectionKoszulStep.lineBundleSectionKoszulStep L s C ≅ |
| 43 | CochainComplex.mappingCone (globalScalarComplexMap (Frame.Coordinates.structureModuleEndValue X (s ≫ e.hom)) C) := |
| 44 | HomologicalComplex.homotopyCofiber.mapArrowIso |
| 45 | (LineBundle.SectionKoszulStep.lineBundleSectionComplexMap L s C) |
| 46 | (globalScalarComplexMap (Frame.Coordinates.structureModuleEndValue X (s ≫ e.hom)) C) |
| 47 | (fun j => ⟨j - 1, by change j - 1 + 1 = j; omega⟩) |
| 48 | (Arrow.isoMk (Iso.refl C) (lineBundleFrameComplexIso L e C) (by |
| 49 | exact (Category.id_comp _).trans (lineBundleSectionComplexMap_frame L s e C).symm)) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.LineBundleKoszulStep |