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.Comparison.Betti.DisjointDerivedAdjunctionProduct |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ProductHomEquiv |
| 3 | |
| 4 | /-! # Disjoint Derived Hom -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.DisjointDerivedHom |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The derived decomposition identifies morphisms with their actual inverse images. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | variable {ι : Type} [Finite ι] {M : ι → TopCat.{0}} {N : TopCat.{0}} |
| 17 | (f : ∀ i, M i ⟶ N) (hf : ∀ i, Topology.IsOpenEmbedding (f i)) |
| 18 | (hc : ∀ i, IsClosed (Set.range (f i))) |
| 19 | (hcover : ∀ y : N, ∃ i, y ∈ Set.range (f i)) |
| 20 | (hdisj : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) |
| 21 | |
| 22 | def derivedHomEquiv (A B : DerivedCategory (ConstantSheafSections.ComplexSheaves N)) : |
| 23 | (A ⟶ B) ≃ₗ[ℂ] |
| 24 | (∀ i, (TopologicalSheafPullback.sheafInverseImage (f i)).mapDerivedCategory.obj A ⟶ |
| 25 | (TopologicalSheafPullback.sheafInverseImage (f i)).mapDerivedCategory.obj B) := by |
| 26 | have : IsIso (DisjointDerivedAdjunctionProduct.derivedAdjunctionFanMap f hf hc B) := DisjointDerivedAdjunctionProduct.derivedAdjunctionFanMap_isIso f hf hc hcover hdisj B |
| 27 | exact (Linear.homCongr ℂ (Iso.refl A) (asIso (DisjointDerivedAdjunctionProduct.derivedAdjunctionFanMap f hf hc B))).trans |
| 28 | ((ProductHomEquiv.Disjoint.homProductLinearEquiv (R := ℂ) A (fun i => (DisjointDerivedAdjunctionProduct.derivedImageComposite f hf hc i).obj B)).trans |
| 29 | (LinearEquiv.piCongrRight fun i => |
| 30 | (Closed.DerivedImage.closedDerivedImageHomLinearEquiv (f i) (hf i).isInducing (hc i) A |
| 31 | ((TopologicalSheafPullback.sheafInverseImage (f i)).mapDerivedCategory.obj B)).symm)) |
| 32 | |
| 33 | theorem derivedHomEquiv_apply (A B : DerivedCategory (ConstantSheafSections.ComplexSheaves N)) (a : A ⟶ B) (i : ι) : |
| 34 | derivedHomEquiv f hf hc hcover hdisj A B a i = |
| 35 | (TopologicalSheafPullback.sheafInverseImage (f i)).mapDerivedCategory.map a := by |
| 36 | let adj := Closed.DerivedImage.closedDerivedImageAdjunction (f i) (hf i).isInducing (hc i) |
| 37 | let F := (TopologicalSheafPullback.sheafInverseImage (f i)).mapDerivedCategory |
| 38 | change (adj.homEquiv A (F.obj B)).symm |
| 39 | (((𝟙 A ≫ a) ≫ DisjointDerivedAdjunctionProduct.derivedAdjunctionFanMap f hf hc B) ≫ Pi.π _ i) = F.map a |
| 40 | erw [Category.id_comp, Category.assoc, DisjointDerivedAdjunctionProduct.derivedAdjunctionFanMap_projection] |
| 41 | apply (adj.homEquiv A (F.obj B)).injective |
| 42 | rw [Equiv.apply_symm_apply] |
| 43 | exact (ProductHomEquiv.Disjoint.homEquiv_map adj a).symm |
| 44 | |
| 45 | end |
| 46 | |
| 47 | /-! Genuine sheaf hypercohomology decomposes by the original inverse-image restriction maps. -/ |
| 48 | |
| 49 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 50 | |
| 51 | abbrev complexHypercohomology (M : TopCat.{0}) (K : CochainComplex (ConstantSheafSections.ComplexSheaves M) ℤ) (n : ℤ) := |
| 52 | ShiftedHom ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).obj |
| 53 | (ConstantSheafSections.standardConstantSheaf M)) (DerivedCategory.Q.obj K) n |
| 54 | |
| 55 | section Restriction |
| 56 | |
| 57 | variable {M N : TopCat.{0}} (f : M ⟶ N) (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) (n : ℤ) |
| 58 | |
| 59 | def hypercohomologyCoefficientIso : |
| 60 | (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.obj ((DerivedCategory.Q.obj K)⟦n⟧) ≅ |
| 61 | (DerivedCategory.Q.obj |
| 62 | (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).obj K))⟦n⟧ := |
| 63 | (((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.commShiftIso n).app (DerivedCategory.Q.obj K)) ≪≫ |
| 64 | (shiftFunctor (DerivedCategory (ConstantSheafSections.ComplexSheaves M)) n).mapIso |
| 65 | ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategoryFactors.app K) |
| 66 | |
| 67 | def inverseImageHypercohomologyEquiv : |
| 68 | ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.obj |
| 69 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves N) 0).obj (ConstantSheafSections.standardConstantSheaf N)) ⟶ |
| 70 | (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.obj ((DerivedCategory.Q.obj K)⟦n⟧)) ≃ₗ[ℂ] |
| 71 | complexHypercohomology M (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).obj K) n := |
| 72 | Linear.homCongr ℂ (Derived.ConstantPullback.derivedConstantPullbackIso f) (hypercohomologyCoefficientIso f K n) |
| 73 | |
| 74 | def inverseImageHypercohomologyMap : complexHypercohomology N K n →ₗ[ℂ] |
| 75 | complexHypercohomology M (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).obj K) n where |
| 76 | toFun a := (Derived.ConstantPullback.derivedConstantPullbackIso f).inv ≫ |
| 77 | ShiftedHom.map a (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory ≫ |
| 78 | ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategoryFactors.hom.app K)⟦n⟧' |
| 79 | map_add' a b := by |
| 80 | simp only [ShiftedHom.map, Functor.map_add, Preadditive.comp_add, Preadditive.add_comp] |
| 81 | map_smul' c a := by |
| 82 | simp only [ShiftedHom.map, Functor.map_smul, Linear.comp_smul, Linear.smul_comp, RingHom.id_apply] |
| 83 | |
| 84 | theorem inverseImageHypercohomologyEquiv_map (a : complexHypercohomology N K n) : |
| 85 | inverseImageHypercohomologyEquiv f K n ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.map a) = |
| 86 | inverseImageHypercohomologyMap f K n a := by |
| 87 | change ((Derived.ConstantPullback.derivedConstantPullbackIso f).inv ≫ |
| 88 | (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.map a) ≫ |
| 89 | ((((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.commShiftIso n).hom.app (DerivedCategory.Q.obj K)) ≫ |
| 90 | ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategoryFactors.hom.app K)⟦n⟧') = _ |
| 91 | simp only [inverseImageHypercohomologyMap, LinearMap.coe_mk, AddHom.coe_mk, |
| 92 | ShiftedHom.map, Category.assoc] |
| 93 | |
| 94 | end Restriction |
| 95 | |
| 96 | variable {ι : Type} [Finite ι] {M : ι → TopCat.{0}} {N : TopCat.{0}} |
| 97 | (f : ∀ i, M i ⟶ N) (hf : ∀ i, Topology.IsOpenEmbedding (f i)) |
| 98 | (hc : ∀ i, IsClosed (Set.range (f i))) |
| 99 | (hcover : ∀ y : N, ∃ i, y ∈ Set.range (f i)) |
| 100 | (hdisj : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) |
| 101 | |
| 102 | def hypercohomologyEquiv (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) (n : ℤ) : |
| 103 | complexHypercohomology N K n ≃ₗ[ℂ] |
| 104 | (∀ i, complexHypercohomology (M i) |
| 105 | (((TopologicalSheafPullback.sheafInverseImage (f i)).mapHomologicalComplex (ComplexShape.up ℤ)).obj K) n) := |
| 106 | (derivedHomEquiv f hf hc hcover hdisj _ _).trans |
| 107 | (LinearEquiv.piCongrRight fun i => inverseImageHypercohomologyEquiv (f i) K n) |
| 108 | |
| 109 | theorem hypercohomologyEquiv_apply (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) |
| 110 | (n : ℤ) (a : complexHypercohomology N K n) (i : ι) : |
| 111 | hypercohomologyEquiv f hf hc hcover hdisj K n a i = inverseImageHypercohomologyMap (f i) K n a := by |
| 112 | change inverseImageHypercohomologyEquiv (f i) K n (derivedHomEquiv f hf hc hcover hdisj _ _ a i) = _ |
| 113 | rw [derivedHomEquiv_apply] |
| 114 | exact inverseImageHypercohomologyEquiv_map (f i) K n a |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.Comparison.Betti.DisjointDerivedHom |