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 | import OAI.AlgebraicGeometry.Comparison.Betti.SingularPresheafPullback |
| 3 | |
| 4 | /-! # Singular Global Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SingularGlobalNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # Pullback of the actual singular-cochain sheaf complex |
| 14 | |
| 15 | The degreewise singular pullbacks descend through the genuine |
| 16 | sheafification adjunction, then the actual inverse-image adjunction. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 20 | |
| 21 | attribute [local instance] AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForget₂PreservesFilteredColimits |
| 22 | AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForgetPreservesFilteredColimits InjectiveFlasque.complexModuleLimits |
| 23 | |
| 24 | def sheafificationCochainAdjunction (M : TopCat.{0}) : |
| 25 | (presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 26 | (ComplexShape.up ℕ) ⊣ |
| 27 | (sheafToPresheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 28 | (ComplexShape.up ℕ) := |
| 29 | Complex.Adjunction.onComplexes |
| 30 | (sheafificationAdjunction (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)) (ComplexShape.up ℕ) |
| 31 | |
| 32 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 33 | |
| 34 | def sheafImageCochainAdjunction : |
| 35 | (TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ) ⊣ |
| 36 | (TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℕ) := |
| 37 | Complex.Adjunction.onComplexes (TopologicalSheafPullback.sheafImageAdjunction f) (ComplexShape.up ℕ) |
| 38 | |
| 39 | def singularPresheafToDirectImageSheaf : AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℂ ℂ) N ⟶ |
| 40 | ((sheafToPresheaf (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 41 | (ComplexShape.up ℕ)).obj |
| 42 | (((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex M)) := |
| 43 | SingularPresheafPullback.singularPresheafPullback f ≫ |
| 44 | ((SingularPresheafPullback.preimagePresheafFunctor f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 45 | ((sheafificationCochainAdjunction M).unit.app (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℂ ℂ) M)) |
| 46 | |
| 47 | def singularSheafDirectImage : AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex N ⟶ |
| 48 | ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex M) := |
| 49 | ((sheafificationCochainAdjunction N).homEquiv (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℂ ℂ) N) |
| 50 | (((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 51 | (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex M))).symm (singularPresheafToDirectImageSheaf f) |
| 52 | |
| 53 | def singularSheafPullback : |
| 54 | ((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex N) ⟶ |
| 55 | AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex M := |
| 56 | ((sheafImageCochainAdjunction f).homEquiv (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex N) |
| 57 | (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex M)).symm (singularSheafDirectImage f) |
| 58 | |
| 59 | theorem singularSheafDirectImage_normalization : |
| 60 | (sheafificationCochainAdjunction N).homEquiv _ _ (singularSheafDirectImage f) = |
| 61 | singularPresheafToDirectImageSheaf f := |
| 62 | (sheafificationCochainAdjunction N).homEquiv _ _ |>.apply_symm_apply _ |
| 63 | |
| 64 | theorem singularSheafPullback_normalization : |
| 65 | (sheafImageCochainAdjunction f).homEquiv _ _ (singularSheafPullback f) = |
| 66 | singularSheafDirectImage f := |
| 67 | (sheafImageCochainAdjunction f).homEquiv _ _ |>.apply_symm_apply _ |
| 68 | |
| 69 | theorem singularSheafDirectImage_unit (n : ℕ) (U : Opens N) : |
| 70 | (CategoryTheory.toSheafify (Opens.grothendieckTopology N) |
| 71 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℂ ℂ) N n)).app (op U) ≫ |
| 72 | ((singularSheafDirectImage f).f n).hom.app (op U) = |
| 73 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) (SingularPresheafPullback.openPreimageMap f U)).f n ≫ |
| 74 | (CategoryTheory.toSheafify (Opens.grothendieckTopology M) |
| 75 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℂ ℂ) M n)).app (op ((Opens.map f).obj U)) := by |
| 76 | have h := singularSheafDirectImage_normalization f |
| 77 | erw [Adjunction.homEquiv_unit] at h |
| 78 | exact congrArg (fun k => (k.f n).app (op U)) h |
| 79 | |
| 80 | theorem singularSheafPullback_sections : |
| 81 | TopologicalSheafPullback.globalCochainPullback f (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex N) ≫ |
| 82 | ((TopologicalSheafPullback.globalSections M).mapHomologicalComplex (ComplexShape.up ℕ)).map (singularSheafPullback f) = |
| 83 | ((TopologicalSheafPullback.globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).map (singularSheafDirectImage f) := by |
| 84 | have h := singularSheafPullback_normalization f |
| 85 | rw [Adjunction.homEquiv_unit] at h |
| 86 | have hm := ((TopologicalSheafPullback.globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).congr_map h |
| 87 | rw [Functor.map_comp] at hm |
| 88 | exact hm |
| 89 | |
| 90 | end |
| 91 | |
| 92 | /-! The original global singular-cochain sheafification map is natural for continuous maps. -/ |
| 93 | |
| 94 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 95 | |
| 96 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 97 | |
| 98 | theorem singularCochainsToSheafSections_direct_naturality : |
| 99 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f ≫ AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℂ ℂ) M = |
| 100 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℂ ℂ) N ≫ |
| 101 | ((TopologicalSheafPullback.globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).map (singularSheafDirectImage f) := by |
| 102 | let iM : TopCat.of (⊤ : Opens M) ⟶ M := Opens.inclusion' ⊤ |
| 103 | let iN : TopCat.of (⊤ : Opens N) ⟶ N := Opens.inclusion' ⊤ |
| 104 | have he : iM ≫ f = SingularPresheafPullback.openPreimageMap f ⊤ ≫ iN := by ext p; rfl |
| 105 | have hp : AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) iM = |
| 106 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) iN ≫ |
| 107 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) (SingularPresheafPullback.openPreimageMap f ⊤) := |
| 108 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp (ModuleCat.of ℂ ℂ) iM f).symm.trans |
| 109 | ((congrArg (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ)) he).trans |
| 110 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp (ModuleCat.of ℂ ℂ) (SingularPresheafPullback.openPreimageMap f ⊤) iN)) |
| 111 | apply HomologicalComplex.Hom.ext |
| 112 | funext n |
| 113 | let uM := (CategoryTheory.toSheafify (Opens.grothendieckTopology M) |
| 114 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℂ ℂ) M n)).app (Opposite.op ⊤) |
| 115 | let uN := (CategoryTheory.toSheafify (Opens.grothendieckTopology N) |
| 116 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℂ ℂ) N n)).app (Opposite.op ⊤) |
| 117 | let s := ((singularSheafDirectImage f).f n).hom.app (Opposite.op ⊤) |
| 118 | have hpn : (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f).f n ≫ |
| 119 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) iM).f n = |
| 120 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) iN).f n ≫ |
| 121 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) (SingularPresheafPullback.openPreimageMap f ⊤)).f n := |
| 122 | congrArg (fun k => k.f n) hp |
| 123 | have hu : uN ≫ s = |
| 124 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) (SingularPresheafPullback.openPreimageMap f ⊤)).f n ≫ uM := |
| 125 | singularSheafDirectImage_unit f n ⊤ |
| 126 | change (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f).f n ≫ |
| 127 | ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) iM).f n ≫ uM) = |
| 128 | ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) iN).f n ≫ uN) ≫ s |
| 129 | erw [← Category.assoc, hpn, Category.assoc, ← hu, ← Category.assoc] |
| 130 | |
| 131 | theorem singularCochainsToSheafSections_pullback_naturality : |
| 132 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f ≫ AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℂ ℂ) M = |
| 133 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℂ ℂ) N ≫ |
| 134 | TopologicalSheafPullback.globalCochainPullback f (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex N) ≫ |
| 135 | ((TopologicalSheafPullback.globalSections M).mapHomologicalComplex (ComplexShape.up ℕ)).map (singularSheafPullback f) := by |
| 136 | erw [singularSheafPullback_sections] |
| 137 | exact singularCochainsToSheafSections_direct_naturality f |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.Comparison.Betti.SingularGlobalNaturality |