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.Geometry.Foundations.ConvexStdSimplexMetric |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.ConvexResolution |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.SmoothSheafResolution |
| 4 | |
| 5 | /-! # Manifold Smooth Augmentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.ManifoldSmoothAugmentation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Locally constant augmentation into genuine manifold-smooth singular cochains |
| 13 | |
| 14 | The augmentation is the literal ordinary singular augmentation followed by |
| 15 | restriction to actual manifold-smooth simplices. On every convex Euclidean |
| 16 | open it is a quasi-isomorphism, including the empty open. The point-evaluation |
| 17 | formula and comparison triangle identify the map without an opaque choice. |
| 18 | -/ |
| 19 | |
| 20 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 23 | open scoped Simplicial ContDiff _root_.Manifold |
| 24 | |
| 25 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | variable {R : Type} [Ring R] |
| 27 | |
| 28 | /-- The actual locally constant single-degree augmentation into manifold-smooth cochains. -/ |
| 29 | def locallyConstantManifoldSmoothResolutionMap (A : ModuleCat.{0} R) |
| 30 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] : |
| 31 | (CochainComplex.single₀ (ModuleCat.{0} R)).obj |
| 32 | (ModuleCat.of R (LocallyConstant X A)) ⟶ Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E A X := |
| 33 | Cohomology.Singular.ConvexResolution.locallyConstantSingularResolutionMap A (TopCat.of X) ≫ |
| 34 | Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochainRestriction E A X |
| 35 | |
| 36 | /-- The comparison triangle is the actual composition of the two existing maps. -/ |
| 37 | theorem locallyConstantManifoldSmoothResolutionMap_triangle (A : ModuleCat.{0} R) |
| 38 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] : |
| 39 | Cohomology.Singular.ConvexResolution.locallyConstantSingularResolutionMap A (TopCat.of X) ≫ |
| 40 | Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochainRestriction E A X = |
| 41 | locallyConstantManifoldSmoothResolutionMap E A X := rfl |
| 42 | |
| 43 | @[simp] |
| 44 | theorem locallyConstantManifoldSmoothResolutionMap_f_zero (A : ModuleCat.{0} R) |
| 45 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] : |
| 46 | (locallyConstantManifoldSmoothResolutionMap E A X).f 0 = |
| 47 | Cohomology.Singular.Augmentation.locallyConstantToSingularZero A (TopCat.of X) ≫ |
| 48 | (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochainRestriction E A X).f 0 := by |
| 49 | rw [locallyConstantManifoldSmoothResolutionMap, HomologicalComplex.comp_f, |
| 50 | Cohomology.Singular.ConvexResolution.locallyConstantSingularResolutionMap_f_zero] |
| 51 | rfl |
| 52 | |
| 53 | /-- At every smooth zero-simplex, the augmentation evaluates the locally constant function. -/ |
| 54 | theorem locallyConstantManifoldSmoothResolutionMap_apply (A : ModuleCat.{0} R) |
| 55 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] (f : LocallyConstant X A) |
| 56 | (s : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E X).toSSet _⦋0⦌) : |
| 57 | (Cohomology.Singular.Coefficients.degreewiseFunctionIso (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E X).toSSet A 0).hom |
| 58 | ((locallyConstantManifoldSmoothResolutionMap E A X).f 0 f) s = |
| 59 | f (TopCat.toSSetObj₀Equiv ((Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E X).app _ s)) := by |
| 60 | rw [locallyConstantManifoldSmoothResolutionMap_f_zero] |
| 61 | change (Cohomology.Singular.Coefficients.degreewiseFunctionIso (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E X).toSSet A 0).hom |
| 62 | ((Cohomology.Singular.Functor.simplicialPullback A (Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E X)).f 0 |
| 63 | (Cohomology.Singular.Augmentation.locallyConstantToSingularZero A (TopCat.of X) f)) s = _ |
| 64 | rw [Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback, ← Cohomology.Singular.Augmentation.singularZeroCochainPointIso_apply_simplex] |
| 65 | exact Cohomology.Singular.Augmentation.locallyConstantToSingularZero_apply A (TopCat.of X) f _ |
| 66 | |
| 67 | /-- An empty target has no singular simplices, so its smooth subcomplex is the whole one. -/ |
| 68 | theorem manifoldSmoothSingularSubcomplex_eq_top_of_isEmpty |
| 69 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] [IsEmpty X] : |
| 70 | Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E X = ⊤ := by |
| 71 | ext n σ |
| 72 | exact isEmptyElim ((TopCat.of X).toSSetObjEquiv n σ |
| 73 | (Convexity.StdSimplex.single (R := ℝ) (0 : Fin (n.unop.len + 1)))) |
| 74 | |
| 75 | /-- Restricting to smooth simplices is an actual isomorphism on an empty target. -/ |
| 76 | theorem isIso_manifoldSmoothRestriction_of_isEmpty (A : ModuleCat.{0} R) |
| 77 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] [IsEmpty X] : |
| 78 | IsIso (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochainRestriction E A X) := by |
| 79 | have : IsIso (Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E X) := by |
| 80 | change IsIso (SSet.Subcomplex.ι (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E X)) |
| 81 | rw [manifoldSmoothSingularSubcomplex_eq_top_of_isEmpty E X] |
| 82 | change IsIso (SSet.Subcomplex.topIso (TopCat.toSSet.obj (TopCat.of X))).hom |
| 83 | infer_instance |
| 84 | change IsIso ((Cohomology.Singular.Functor.simplicialCochainsFunctor A).map (Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E X).op) |
| 85 | infer_instance |
| 86 | |
| 87 | /-- The verified convex smooth/continuous comparison, now including the empty open. -/ |
| 88 | theorem quasiIso_convexOpenManifoldSmoothRestriction (A : ModuleCat.{0} R) |
| 89 | (U : Opens E) (hU : Convex ℝ (U : Set E)) : |
| 90 | QuasiIso (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochainRestriction E A U) := by |
| 91 | by_cases hne : (U : Set E).Nonempty |
| 92 | · exact Cohomology.Singular.ChartSmoothComparison.quasiIso_convexManifoldSmoothRestriction A U hU hne |
| 93 | · have : IsEmpty U := ⟨fun x => hne ⟨x.val, x.property⟩⟩ |
| 94 | let := isIso_manifoldSmoothRestriction_of_isEmpty E A U |
| 95 | infer_instance |
| 96 | |
| 97 | /-- The literal locally constant augmentation is a quasi-isomorphism on every |
| 98 | convex Euclidean open, without a nonemptiness hypothesis. -/ |
| 99 | theorem locallyConstantManifoldSmoothResolutionMap_quasiIso_convexOpen |
| 100 | (A : ModuleCat.{0} R) (U : Opens E) (hU : Convex ℝ (U : Set E)) : |
| 101 | QuasiIso (locallyConstantManifoldSmoothResolutionMap E A U) := by |
| 102 | let := Cohomology.Singular.ConvexResolution.locallyConstantSingularResolutionMap_quasiIso_convexOpen A U hU |
| 103 | let := quasiIso_convexOpenManifoldSmoothRestriction E A U hU |
| 104 | exact quasiIso_comp (Cohomology.Singular.ConvexResolution.locallyConstantSingularResolutionMap A (TopCat.of U)) |
| 105 | (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochainRestriction E A U) |
| 106 | |
| 107 | section Naturality |
| 108 | |
| 109 | variable {E} |
| 110 | variable {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 111 | variable {X Y : Type} [TopologicalSpace X] [TopologicalSpace Y] |
| 112 | variable [ChartedSpace E X] [ChartedSpace F Y] |
| 113 | |
| 114 | /-- Pullback of locally constant functions and of smooth singular cochains |
| 115 | commutes with this literal augmentation. -/ |
| 116 | theorem locallyConstantManifoldSmoothResolutionMap_naturality (A : ModuleCat.{0} R) |
| 117 | (f : X → Y) (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, F) ∞ f) : |
| 118 | (CochainComplex.single₀ (ModuleCat.{0} R)).map |
| 119 | (ModuleCat.ofHom (LocallyConstant.comapₗ R ⟨f, hf.continuous⟩)) ≫ |
| 120 | locallyConstantManifoldSmoothResolutionMap E A X = |
| 121 | locallyConstantManifoldSmoothResolutionMap F A Y ≫ |
| 122 | Cohomology.Singular.ManifoldSmoothFunctor.manifoldSmoothPullback E F A f hf := by |
| 123 | rw [locallyConstantManifoldSmoothResolutionMap, |
| 124 | locallyConstantManifoldSmoothResolutionMap, ← Category.assoc, |
| 125 | Cohomology.Singular.ConvexResolution.locallyConstantSingularResolutionMap_naturality A |
| 126 | (TopCat.ofHom ⟨f, hf.continuous⟩), Category.assoc, |
| 127 | Cohomology.Singular.ManifoldSmoothFunctor.manifoldSmoothCochainRestriction_naturality A f hf, Category.assoc] |
| 128 | |
| 129 | end Naturality |
| 130 | |
| 131 | /-- The compatible map of actual presheaf complexes, extending the existing |
| 132 | degree-zero smooth augmentation without redefining it. -/ |
| 133 | def locallyConstantManifoldSmoothPresheafResolutionMap |
| 134 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] : |
| 135 | (CochainComplex.single₀ ((TopCat.of X).Presheaf (ModuleCat.{0} ℂ))).obj |
| 136 | (LocallyConstantSheaf.locallyConstantPresheaf (TopCat.of X)) ⟶ |
| 137 | Cohomology.Singular.ManifoldSmoothPresheaf.manifoldSmoothPresheafComplex E X (ModuleCat.of ℂ ℂ) := |
| 138 | Cohomology.Singular.ConvexResolution.locallyConstantSingularPresheafResolutionMap (TopCat.of X) ≫ |
| 139 | Cohomology.Singular.SmoothStalkComparison.manifoldSmoothPresheafRestriction E X (ModuleCat.of ℂ ℂ) |
| 140 | |
| 141 | @[simp] |
| 142 | theorem locallyConstantManifoldSmoothPresheafResolutionMap_f_zero |
| 143 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] : |
| 144 | (locallyConstantManifoldSmoothPresheafResolutionMap E X).f 0 = |
| 145 | Cohomology.Singular.SmoothSheafResolution.locallyConstantManifoldSmoothAugmentation E X := by |
| 146 | rw [locallyConstantManifoldSmoothPresheafResolutionMap, HomologicalComplex.comp_f, |
| 147 | Cohomology.Singular.ConvexResolution.locallyConstantSingularPresheafResolutionMap_f_zero] |
| 148 | rfl |
| 149 | |
| 150 | /-- The new object-level augmentation and the previously defined presheaf |
| 151 | augmentation agree literally on every open set in degree zero. -/ |
| 152 | theorem locallyConstantManifoldSmoothResolutionMap_f_zero_eq_presheaf |
| 153 | (X : Type) [TopologicalSpace X] [ChartedSpace E X] (U : Opens X) : |
| 154 | (locallyConstantManifoldSmoothResolutionMap E (ModuleCat.of ℂ ℂ) U).f 0 = |
| 155 | (Cohomology.Singular.SmoothSheafResolution.locallyConstantManifoldSmoothAugmentation E X).app (op U) := by |
| 156 | rw [locallyConstantManifoldSmoothResolutionMap_f_zero] |
| 157 | rfl |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI.AlgebraicTopology.DeRham.Comparison.ManifoldSmoothAugmentation |