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.KoszulStepPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulGeometricSupport |
| 3 | |
| 4 | /-! # Mixed Koszul Pullback Complex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulPullbackComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The entire mixed Koszul complex, including its common zero set, |
| 11 | commutes with arbitrary scheme pullback. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | local instance mixedPullbackAdditive (f : Y ⟶ X) : |
| 19 | (Scheme.Modules.pullback f).Additive := by |
| 20 | have := preservesBinaryBiproducts_of_preservesBinaryCoproducts (Scheme.Modules.pullback f) |
| 21 | exact Functor.additive_of_preservesBinaryBiproducts _ |
| 22 | local instance mixedPullbackTensorAdditive {T : Scheme.{u}} (L : Line.Bundles.LineBundle T) : |
| 23 | (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.Additive := |
| 24 | Functor.additive_of_preserves_binary_products _ |
| 25 | |
| 26 | theorem lineBundleSectionComplexMap_natural (L : Line.Bundles.LineBundle X) |
| 27 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) {C D : CochainComplex X.Modules ℤ} (φ : C ⟶ D) : |
| 28 | φ ≫ LineBundle.SectionKoszulStep.lineBundleSectionComplexMap L s D = LineBundle.SectionKoszulStep.lineBundleSectionComplexMap L s C ≫ |
| 29 | (((LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.mapHomologicalComplex (.up ℤ)).map φ) := by |
| 30 | apply HomologicalComplex.Hom.ext |
| 31 | funext i |
| 32 | exact LineBundle.SectionTensor.lineBundleSectionTensorMap_natural L s (φ.f i) |
| 33 | |
| 34 | def lineBundleKoszulStepIsoOfComplexIso (L : Line.Bundles.LineBundle X) |
| 35 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) {C D : CochainComplex X.Modules ℤ} (e : C ≅ D) : |
| 36 | LineBundle.SectionKoszulStep.lineBundleSectionKoszulStep L s C ≅ LineBundle.SectionKoszulStep.lineBundleSectionKoszulStep L s D := |
| 37 | HomologicalComplex.homotopyCofiber.mapArrowIso |
| 38 | (LineBundle.SectionKoszulStep.lineBundleSectionComplexMap L s C) (LineBundle.SectionKoszulStep.lineBundleSectionComplexMap L s D) |
| 39 | (fun j => ⟨j - 1, by change j - 1 + 1 = j; omega⟩) |
| 40 | (Arrow.isoMk e (((LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.mapHomologicalComplex (.up ℤ)).mapIso e) |
| 41 | (lineBundleSectionComplexMap_natural L s e.hom)) |
| 42 | |
| 43 | def pullbackLineBundleSection (f : Y ⟶ X) (b : LineBundleKoszulComplex.LineBundleSection X) : LineBundleKoszulComplex.LineBundleSection Y := |
| 44 | ⟨b.1.pullback f, Ample.LineBundles.pullbackSection f b.2⟩ |
| 45 | |
| 46 | def mixedKoszulPullbackIso (f : Y ⟶ X) (M : X.Modules) (bs : List (LineBundleKoszulComplex.LineBundleSection X)) : |
| 47 | (((Scheme.Modules.pullback f).mapHomologicalComplex (.up ℤ)).obj (LineBundleKoszulComplex.mixedLineBundleKoszulComplex M bs)) ≅ |
| 48 | LineBundleKoszulComplex.mixedLineBundleKoszulComplex ((Scheme.Modules.pullback f).obj M) |
| 49 | (bs.map (pullbackLineBundleSection f)) := by |
| 50 | let P := Scheme.Modules.pullback f |
| 51 | induction bs with |
| 52 | | nil => exact (HomologicalComplex.singleMapHomologicalComplex P (.up ℤ) 0).app M |
| 53 | | cons b bs ih => |
| 54 | exact LineBundle.KoszulStepPullback.lineBundleKoszulStepPullbackIso f b.1 b.2 (LineBundleKoszulComplex.mixedLineBundleKoszulComplex M bs) ≪≫ |
| 55 | lineBundleKoszulStepIsoOfComplexIso (b.1.pullback f) (Ample.LineBundles.pullbackSection f b.2) ih |
| 56 | |
| 57 | theorem mixedSectionZeroSet_pullback (f : Y ⟶ X) (bs : List (LineBundleKoszulComplex.LineBundleSection X)) : |
| 58 | MixedKoszulGeometricSupport.mixedSectionZeroSet (bs.map (pullbackLineBundleSection f)) = f ⁻¹' MixedKoszulGeometricSupport.mixedSectionZeroSet bs := by |
| 59 | ext y |
| 60 | change (∀ b ∈ bs.map (pullbackLineBundleSection f), y ∉ Ample.LineBundles.sectionNonvanishing b.2) ↔ _ |
| 61 | rw [List.forall_mem_map] |
| 62 | change (∀ b ∈ bs, y ∉ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f b.2)) ↔ _ |
| 63 | simp only [LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange] |
| 64 | rfl |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulPullbackComplex |