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.TopologicalSheafPullback |
| 2 | |
| 3 | /-! # Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.Image |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! For an actual open embedding, inverse image agrees with literal restriction to open images. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | variable {M N : TopCat.{0}} (f : M ⟶ N) (hf : Topology.IsOpenEmbedding f) |
| 16 | |
| 17 | def openRestriction : ConstantSheafSections.ComplexSheaves N ⥤ ConstantSheafSections.ComplexSheaves M := by |
| 18 | have := hf.functor_isContinuous |
| 19 | exact hf.functor.sheafPushforwardContinuous (ModuleCat.{0} ℂ) |
| 20 | (Opens.grothendieckTopology M) (Opens.grothendieckTopology N) |
| 21 | |
| 22 | instance openRestrictionAdditive : (openRestriction f hf).Additive where |
| 23 | map_add := by intros; rfl |
| 24 | |
| 25 | def openRestrictionAdjunction : openRestriction f hf ⊣ TopologicalSheafPullback.sheafDirectImage f := by |
| 26 | have := hf.functor_isContinuous |
| 27 | exact hf.isOpenMap.adjunction.sheafPushforwardContinuous |
| 28 | (Opens.grothendieckTopology M) (Opens.grothendieckTopology N) |
| 29 | |
| 30 | def openInverseImageIso : TopologicalSheafPullback.sheafInverseImage f ≅ openRestriction f hf := |
| 31 | (TopologicalSheafPullback.sheafImageAdjunction f).leftAdjointUniq (openRestrictionAdjunction f hf) |
| 32 | |
| 33 | instance openRestrictionLimits : PreservesFiniteLimits (openRestriction f hf) := |
| 34 | preservesFiniteLimits_of_natIso (openInverseImageIso f hf) |
| 35 | |
| 36 | instance openRestrictionColimits : PreservesFiniteColimits (openRestriction f hf) := |
| 37 | preservesFiniteColimits_of_natIso (openInverseImageIso f hf) |
| 38 | |
| 39 | theorem openRestrictionAdjunction_unit (F : ConstantSheafSections.ComplexSheaves N) (U : Opens N) : |
| 40 | ((openRestrictionAdjunction f hf).unit.app F).hom.app (op U) = |
| 41 | F.obj.map (hf.isOpenMap.adjunction.counit.app U).op := rfl |
| 42 | |
| 43 | theorem openInverseImageIso_unit (F : ConstantSheafSections.ComplexSheaves N) : |
| 44 | (TopologicalSheafPullback.sheafImageAdjunction f).unit.app F ≫ |
| 45 | (TopologicalSheafPullback.sheafDirectImage f).map ((openInverseImageIso f hf).hom.app F) = |
| 46 | (openRestrictionAdjunction f hf).unit.app F := by |
| 47 | exact Adjunction.homEquiv_leftAdjointUniq_hom_app |
| 48 | (TopologicalSheafPullback.sheafImageAdjunction f) (openRestrictionAdjunction f hf) F |
| 49 | |
| 50 | end |
| 51 | |
| 52 | section |
| 53 | |
| 54 | /-! Sheafification commutes with literal restriction along actual open embeddings. -/ |
| 55 | |
| 56 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 57 | |
| 58 | variable {M N : TopCat.{0}} (f : M ⟶ N) (hf : Topology.IsOpenEmbedding f) |
| 59 | |
| 60 | def openPresheafRestriction : N.Presheaf (ModuleCat.{0} ℂ) ⥤ M.Presheaf (ModuleCat.{0} ℂ) := |
| 61 | (Functor.whiskeringLeft _ _ (ModuleCat.{0} ℂ)).obj hf.functor.op |
| 62 | |
| 63 | def openPresheafDirectImage : M.Presheaf (ModuleCat.{0} ℂ) ⥤ N.Presheaf (ModuleCat.{0} ℂ) := |
| 64 | TopCat.Presheaf.pushforward (ModuleCat.{0} ℂ) f |
| 65 | |
| 66 | instance openPresheafRestrictionAdditive : (openPresheafRestriction f hf).Additive where |
| 67 | map_add := by intros; rfl |
| 68 | |
| 69 | instance openPresheafDirectImageAdditive : (openPresheafDirectImage f).Additive where |
| 70 | map_add := by intros; rfl |
| 71 | |
| 72 | def openPresheafAdjunction : openPresheafRestriction f hf ⊣ openPresheafDirectImage f := |
| 73 | hf.isOpenMap.adjunction.op.whiskerLeft (ModuleCat.{0} ℂ) |
| 74 | |
| 75 | def sheafificationOpenRestrictionIso : |
| 76 | presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ) ⋙ openRestriction f hf ≅ |
| 77 | openPresheafRestriction f hf ⋙ presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ) := |
| 78 | ((sheafificationAdjunction (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ)).comp |
| 79 | (openRestrictionAdjunction f hf)).leftAdjointUniq |
| 80 | ((openPresheafAdjunction f hf).comp |
| 81 | (sheafificationAdjunction (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ))) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! The literal presheaf restriction counit is invertible for an open embedding. -/ |
| 86 | |
| 87 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 88 | |
| 89 | variable {M N : TopCat.{0}} (f : M ⟶ N) (hf : Topology.IsOpenEmbedding f) |
| 90 | |
| 91 | theorem openPresheafCounit_isIso (P : M.Presheaf (ModuleCat.{0} ℂ)) : |
| 92 | IsIso ((openPresheafAdjunction f hf).counit.app P) := by |
| 93 | have : Mono f := (TopCat.mono_iff_injective f).mpr hf.injective |
| 94 | have (U : Opens M) : IsIso (hf.isOpenMap.adjunction.unit.app U) := by infer_instance |
| 95 | have (U : (Opens M)ᵒᵖ) : IsIso (((openPresheafAdjunction f hf).counit.app P).app U) := by |
| 96 | change IsIso (P.map (hf.isOpenMap.adjunction.unit.app U.unop).op) |
| 97 | infer_instance |
| 98 | exact NatIso.isIso_of_isIso_app _ |
| 99 | |
| 100 | theorem openPresheafComplexCounit_isIso (K : CochainComplex (M.Presheaf (ModuleCat.{0} ℂ)) ℤ) : |
| 101 | IsIso ((Complex.Adjunction.onComplexes (openPresheafAdjunction f hf) (ComplexShape.up ℤ)).counit.app K) := by |
| 102 | have (n : ℤ) : IsIso |
| 103 | (((Complex.Adjunction.onComplexes (openPresheafAdjunction f hf) (ComplexShape.up ℤ)).counit.app K).f n) := |
| 104 | openPresheafCounit_isIso f hf (K.X n) |
| 105 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.Image |