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.ConstantSheafSections |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ResolutionExactImage |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.SingularInjective |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.Adjunction |
| 5 | |
| 6 | /-! # Topological Sheaf Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.TopologicalSheafPullback |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Actual inverse image and normalized pullback of resolutions |
| 14 | |
| 15 | All functors come from the given continuous map. The constant coefficient |
| 16 | identifications are induced by the genuine adjunctions, and exact inverse |
| 17 | image carries the proved resolutions to proved resolutions. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 21 | |
| 22 | attribute [local instance] AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForget₂PreservesFilteredColimits |
| 23 | AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForgetPreservesFilteredColimits InjectiveFlasque.complexModuleLimits |
| 24 | |
| 25 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 26 | |
| 27 | def sheafInverseImage : ConstantSheafSections.ComplexSheaves N ⥤ ConstantSheafSections.ComplexSheaves M := |
| 28 | TopCat.Sheaf.pullback (ModuleCat.{0} ℂ) f |
| 29 | |
| 30 | def sheafDirectImage : ConstantSheafSections.ComplexSheaves M ⥤ ConstantSheafSections.ComplexSheaves N := |
| 31 | TopCat.Sheaf.pushforward (ModuleCat.{0} ℂ) f |
| 32 | |
| 33 | def sheafImageAdjunction : sheafInverseImage f ⊣ sheafDirectImage f := |
| 34 | TopCat.Sheaf.pullbackPushforwardAdjunction (ModuleCat.{0} ℂ) f |
| 35 | |
| 36 | instance sheafInverseImageLeftAdjoint : (sheafInverseImage f).IsLeftAdjoint := |
| 37 | (sheafImageAdjunction f).isLeftAdjoint |
| 38 | |
| 39 | instance sheafInverseImageLimits : PreservesFiniteLimits (sheafInverseImage f) := |
| 40 | Functor.SmallCategories.instPreservesFiniteLimitsSheafSheafPullbackOfRepresentablyFlat |
| 41 | (Opens.map f) (ModuleCat.{0} ℂ) (Opens.grothendieckTopology N) (Opens.grothendieckTopology M) |
| 42 | |
| 43 | instance sheafInverseImageColimits : PreservesFiniteColimits (sheafInverseImage f) := inferInstance |
| 44 | |
| 45 | instance sheafInverseImageAdditive : (sheafInverseImage f).Additive := by |
| 46 | let := preservesBinaryBiproducts_of_preservesBinaryCoproducts (sheafInverseImage f) |
| 47 | exact (sheafInverseImage f).additive_of_preservesBinaryBiproducts |
| 48 | |
| 49 | instance sheafDirectImageAdditive : (sheafDirectImage f).Additive where |
| 50 | map_add := by intros; rfl |
| 51 | |
| 52 | instance sheafDirectImageInjectives : (sheafDirectImage f).PreservesInjectiveObjects := |
| 53 | Functor.preservesInjectiveObjects_of_adjunction_of_preservesMonomorphisms (sheafImageAdjunction f) |
| 54 | |
| 55 | def constantPullbackIso : (sheafInverseImage f).obj (ConstantSheafSections.standardConstantSheaf N) ≅ |
| 56 | ConstantSheafSections.standardConstantSheaf M := by |
| 57 | have hT : IsTerminal ((Opens.map f).obj (⊤ : Opens N)) := by |
| 58 | change IsTerminal (⊤ : Opens M) |
| 59 | exact isTerminalTop |
| 60 | exact (((constantSheafAdj (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ) isTerminalTop).comp |
| 61 | (sheafImageAdjunction f)).leftAdjointUniq |
| 62 | (constantSheafAdj (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ) hT)).app (ModuleCat.of ℂ ℂ) |
| 63 | |
| 64 | def locallyConstantPullbackIso : |
| 65 | (sheafInverseImage f).obj (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf N) ≅ (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) := by |
| 66 | let eN : ConstantSheafSections.standardConstantSheaf N ≅ (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf N : ConstantSheafSections.ComplexSheaves N) := |
| 67 | Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn N |
| 68 | let eM : ConstantSheafSections.standardConstantSheaf M ≅ (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) := |
| 69 | Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M |
| 70 | exact (sheafInverseImage f).mapIso eN.symm ≪≫ constantPullbackIso f ≪≫ eM |
| 71 | |
| 72 | def globalSections (M : TopCat.{0}) : ConstantSheafSections.ComplexSheaves M ⥤ ModuleCat.{0} ℂ := |
| 73 | (sheafSections (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).obj (op ⊤) |
| 74 | |
| 75 | instance globalSectionsAdditive (M : TopCat.{0}) : (globalSections M).Additive where |
| 76 | map_add := by intros; rfl |
| 77 | |
| 78 | def globalSectionPullback : globalSections N ⟶ sheafInverseImage f ⋙ globalSections M where |
| 79 | app F := ((sheafImageAdjunction f).unit.app F).hom.app (op ⊤) |
| 80 | naturality F G g := by |
| 81 | exact congrArg (fun a => a.hom.app (op ⊤)) ((sheafImageAdjunction f).unit.naturality g) |
| 82 | |
| 83 | def globalCochainPullback (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℕ) : |
| 84 | ((globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ |
| 85 | ((globalSections M).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 86 | (((sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj K) := |
| 87 | ((globalSectionPullback f).mapHomologicalComplex (ComplexShape.up ℕ)).app K |
| 88 | |
| 89 | def pulledSingularResolutionData [StronglyLocallyContractibleSpace N] : |
| 90 | ResolutionExactImage.Data (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) := by |
| 91 | let R : ResolutionExactImage.Data (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf N : ConstantSheafSections.ComplexSheaves N) := SingularInjective.singularResolutionData N |
| 92 | let F : ConstantSheafSections.ComplexSheaves N ⥤ ConstantSheafSections.ComplexSheaves M := sheafInverseImage f |
| 93 | have : F.Additive := sheafInverseImageAdditive f |
| 94 | let R' : ResolutionExactImage.Data (F.obj (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf N : ConstantSheafSections.ComplexSheaves N)) := |
| 95 | @ResolutionExactImage.exactImage _ _ _ _ _ _ _ R F |
| 96 | (sheafInverseImageAdditive f) (sheafInverseImageLimits f) (sheafInverseImageColimits f) |
| 97 | exact ResolutionExactImage.changeSource R' (locallyConstantPullbackIso f).symm |
| 98 | |
| 99 | def pulledInjectiveResolutionData : ResolutionExactImage.Data (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) := by |
| 100 | let I : InjectiveResolution (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf N : ConstantSheafSections.ComplexSheaves N) := SingularInjective.singularInjectiveResolution N |
| 101 | let F : ConstantSheafSections.ComplexSheaves N ⥤ ConstantSheafSections.ComplexSheaves M := sheafInverseImage f |
| 102 | have : F.Additive := sheafInverseImageAdditive f |
| 103 | exact ResolutionExactImage.changeSource |
| 104 | (ResolutionExactImage.exactImage (C := ConstantSheafSections.ComplexSheaves N) (D := ConstantSheafSections.ComplexSheaves M) |
| 105 | (ResolutionExactImage.ofInjective I) F) (locallyConstantPullbackIso f).symm |
| 106 | |
| 107 | /-- Degreewise injective extension constructs the normalized map of pulled-back resolutions. -/ |
| 108 | def injectiveResolutionPullback : |
| 109 | ((sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 110 | (SingularInjective.singularInjectiveResolution N).cocomplex ⟶ (SingularInjective.singularInjectiveResolution M).cocomplex := by |
| 111 | let I : InjectiveResolution (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) := SingularInjective.singularInjectiveResolution M |
| 112 | exact ResolutionExactImage.toInjective (pulledInjectiveResolutionData f) I |
| 113 | |
| 114 | theorem injectiveResolutionPullback_normalization : |
| 115 | ResolutionExactImage.cochainAugmentation (pulledInjectiveResolutionData f) ≫ |
| 116 | injectiveResolutionPullback f = (SingularInjective.singularInjectiveResolution M).ι := |
| 117 | ResolutionExactImage.toInjective_normalization (pulledInjectiveResolutionData f) (SingularInjective.singularInjectiveResolution M) |
| 118 | |
| 119 | def injectiveSectionsPullback : |
| 120 | ((globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 121 | (SingularInjective.singularInjectiveResolution N).cocomplex ⟶ |
| 122 | ((globalSections M).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 123 | (SingularInjective.singularInjectiveResolution M).cocomplex := |
| 124 | globalCochainPullback f (SingularInjective.singularInjectiveResolution N).cocomplex ≫ |
| 125 | ((globalSections M).mapHomologicalComplex (ComplexShape.up ℕ)).map (injectiveResolutionPullback f) |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.Comparison.Betti.TopologicalSheafPullback |