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.Analysis.DifferentialForms.Manifold.LocallyConstantKernel |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.CochainAugmentation |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.ManifoldSheafPoincare |
| 4 | import OAI.AlgebraicTopology.DeRham.Comparison.ConstantLocallyConstant |
| 5 | |
| 6 | /-! # De Rham Resolution -/ |
| 7 | |
| 8 | namespace OAI.Analysis.DifferentialForms.Manifold.DeRhamResolution |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # The genuine de Rham sheaf resolution on a smooth real manifold |
| 14 | |
| 15 | The independently defined locally constant sheaf is the proved kernel in |
| 16 | degree zero. The proved manifold Poincare theorem supplies positive exactness. |
| 17 | Thus the explicit coefficient inclusion is a quasi-isomorphism of actual |
| 18 | complexes of sheaves. No statement about ordinary global sections preserving |
| 19 | this quasi-isomorphism is made. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex _root_.TopologicalSpace |
| 23 | open scoped _root_.Manifold ContDiff |
| 24 | |
| 25 | attribute [local instance] AlgebraicTopology.DeRham.Comparison.ManifoldSheafLocalPrimitives.manifoldSheafPreadditive |
| 26 | attribute [local instance] AlgebraicTopology.DeRham.Comparison.ManifoldSheafLocalPrimitives.manifoldSheafCategoryWithHomology |
| 27 | |
| 28 | universe u |
| 29 | |
| 30 | /-- The actual single-object locally constant coefficient complex has homology. |
| 31 | This explicit instance preserves the zero-morphism structure of the manifold API. -/ |
| 32 | instance locallyConstantSheafSingle_hasHomology (X : TopCat.{u}) (n : ℕ) : |
| 33 | ((CochainComplex.single₀ (TopCat.Sheaf (ModuleCat.{u} ℂ) X)).obj |
| 34 | (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf X)).HasHomology n := by |
| 35 | infer_instance |
| 36 | |
| 37 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 38 | (M : Type u) [TopologicalSpace M] [ChartedSpace E M] |
| 39 | [IsManifold 𝓘(ℝ, E) ∞ M] |
| 40 | |
| 41 | /-- The actual locally constant inclusion kills the complex's first differential. -/ |
| 42 | theorem manifoldLocallyConstantToDeRham_comp_d : |
| 43 | LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E M ≫ (SheafDeRham.manifoldDeRhamSheafComplex E M).d 0 1 = 0 := by |
| 44 | rw [SheafDeRham.manifoldDeRhamSheafComplex_d] |
| 45 | exact LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf_comp_d E M |
| 46 | |
| 47 | /-- The explicit locally constant coefficient map into the actual manifold de Rham complex. -/ |
| 48 | def manifoldLocallyConstantDeRhamAugmentation : |
| 49 | (CochainComplex.single₀ (TopCat.Sheaf (ModuleCat.{u} ℂ) (TopCat.of M))).obj |
| 50 | (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf (TopCat.of M)) ⟶ SheafDeRham.manifoldDeRhamSheafComplex E M := |
| 51 | (CochainComplex.fromSingle₀Equiv (SheafDeRham.manifoldDeRhamSheafComplex E M) |
| 52 | (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf (TopCat.of M))).symm |
| 53 | ⟨LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E M, manifoldLocallyConstantToDeRham_comp_d E M⟩ |
| 54 | |
| 55 | /-- The actual manifold de Rham complex with its coefficient sheaf inserted first. -/ |
| 56 | def manifoldLocallyConstantAugmentedDeRhamComplex : |
| 57 | CochainComplex (TopCat.Sheaf (ModuleCat.{u} ℂ) (TopCat.of M)) ℕ := |
| 58 | (SheafDeRham.manifoldDeRhamSheafComplex E M).augment (LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E M) |
| 59 | (manifoldLocallyConstantToDeRham_comp_d E M) |
| 60 | |
| 61 | /-- Removing the coefficient term recovers the actual manifold de Rham complex. -/ |
| 62 | def manifoldLocallyConstantAugmentedDeRhamTruncateIso : |
| 63 | CochainComplex.truncate.obj (manifoldLocallyConstantAugmentedDeRhamComplex E M) ≅ |
| 64 | SheafDeRham.manifoldDeRhamSheafComplex E M := CochainComplex.truncateAugment _ _ _ |
| 65 | |
| 66 | /-- The proved kernel theorem, expressed using the actual complex differential. -/ |
| 67 | def manifoldLocallyConstantToDeRhamKernelIsLimit : |
| 68 | IsLimit (KernelFork.ofι (LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E M) |
| 69 | (manifoldLocallyConstantToDeRham_comp_d E M)) := by |
| 70 | refine IsKernel.ofIso (ManifoldSheaf.manifoldFormSheafD E M 0) |
| 71 | (LocallyConstantKernel.manifoldLocallyConstantSheafKernelIsLimit E M) _ |
| 72 | (Iso.refl _) (Iso.refl _) (Iso.refl _) ?_ ?_ |
| 73 | · rw [SheafDeRham.manifoldDeRhamSheafComplex_d] |
| 74 | rfl |
| 75 | · rfl |
| 76 | |
| 77 | section FiniteDimensional |
| 78 | |
| 79 | variable [FiniteDimensional ℝ E] |
| 80 | |
| 81 | /-- The locally constant augmentation is an acyclic complex of actual manifold sheaves. -/ |
| 82 | theorem manifoldLocallyConstantAugmentedDeRham_acyclic : |
| 83 | (manifoldLocallyConstantAugmentedDeRhamComplex E M).Acyclic := |
| 84 | CochainAugmentation.cochainAugment_acyclic_of_kernel (SheafDeRham.manifoldDeRhamSheafComplex E M) |
| 85 | (LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E M) (manifoldLocallyConstantToDeRham_comp_d E M) |
| 86 | (manifoldLocallyConstantToDeRhamKernelIsLimit E M) |
| 87 | (AlgebraicTopology.DeRham.Comparison.ManifoldSheafPoincare.manifoldDeRhamSheafComplex_exactAt_succ E M) |
| 88 | |
| 89 | /-- The explicit coefficient inclusion is a quasi-isomorphism on the actual manifold. -/ |
| 90 | theorem manifoldLocallyConstantDeRhamAugmentation_quasiIso : |
| 91 | QuasiIso (manifoldLocallyConstantDeRhamAugmentation E M) := |
| 92 | CochainAugmentation.cochainAugmentation_quasiIso (SheafDeRham.manifoldDeRhamSheafComplex E M) |
| 93 | (LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E M) (manifoldLocallyConstantToDeRham_comp_d E M) |
| 94 | (manifoldLocallyConstantToDeRhamKernelIsLimit E M) |
| 95 | (AlgebraicTopology.DeRham.Comparison.ManifoldSheafPoincare.manifoldDeRhamSheafComplex_exactAt_succ E M) |
| 96 | |
| 97 | end FiniteDimensional |
| 98 | |
| 99 | /-- Mathlib's standard constant complex sheaf on an arbitrary small topological space. -/ |
| 100 | def constantComplexSheafOn (X : TopCat.{0}) : TopCat.Sheaf (ModuleCat.{0} ℂ) X := |
| 101 | (constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).obj (ModuleCat.of ℂ ℂ) |
| 102 | |
| 103 | /-- The actual standard-constant coefficient complex has homology in every degree. -/ |
| 104 | instance constantComplexSheafSingle_hasHomology (X : TopCat.{0}) (n : ℕ) : |
| 105 | ((CochainComplex.single₀ (TopCat.Sheaf (ModuleCat.{0} ℂ) X)).obj |
| 106 | (constantComplexSheafOn X)).HasHomology n := by |
| 107 | infer_instance |
| 108 | |
| 109 | /-- The proved identification of standard constant coefficients with locally constant sections. -/ |
| 110 | def constantComplexLocallyConstantIsoOn (X : TopCat.{0}) : |
| 111 | constantComplexSheafOn X ≅ AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf X := AlgebraicTopology.DeRham.Comparison.ConstantLocallyConstant.constantSheafLocallyConstantIso X |
| 112 | |
| 113 | variable (N : Type) [TopologicalSpace N] [ChartedSpace E N] |
| 114 | [IsManifold 𝓘(ℝ, E) ∞ N] |
| 115 | |
| 116 | /-- The standard constant sheaf maps by the actual scalar inclusion into manifold zero-forms. -/ |
| 117 | def manifoldConstantToDeRham : |
| 118 | constantComplexSheafOn (TopCat.of N) ⟶ (SheafDeRham.manifoldDeRhamSheafComplex E N).X 0 := |
| 119 | (constantComplexLocallyConstantIsoOn (TopCat.of N)).hom ≫ |
| 120 | LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E N |
| 121 | |
| 122 | theorem manifoldConstantToDeRham_comp_d : |
| 123 | manifoldConstantToDeRham E N ≫ (SheafDeRham.manifoldDeRhamSheafComplex E N).d 0 1 = 0 := by |
| 124 | change ((constantComplexLocallyConstantIsoOn (TopCat.of N)).hom ≫ |
| 125 | LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E N) ≫ (SheafDeRham.manifoldDeRhamSheafComplex E N).d 0 1 = 0 |
| 126 | rw [SheafDeRham.manifoldDeRhamSheafComplex_d] |
| 127 | change (((constantComplexLocallyConstantIsoOn (TopCat.of N)).hom ≫ |
| 128 | LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E N) ≫ ManifoldSheaf.manifoldFormSheafD E N 0 : |
| 129 | constantComplexSheafOn (TopCat.of N) ⟶ ManifoldSheaf.manifoldFormSheaf E N 1) = 0 |
| 130 | rw [Category.assoc, LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf_comp_d, comp_zero] |
| 131 | |
| 132 | /-- The standard constant coefficient object is the actual kernel of the first differential. -/ |
| 133 | def manifoldConstantToDeRhamKernelIsLimit : |
| 134 | IsLimit (KernelFork.ofι (manifoldConstantToDeRham E N) |
| 135 | (manifoldConstantToDeRham_comp_d E N)) := by |
| 136 | refine IsLimit.ofIsoLimit (manifoldLocallyConstantToDeRhamKernelIsLimit E N) ?_ |
| 137 | refine Fork.ext (constantComplexLocallyConstantIsoOn (TopCat.of N)).symm ?_ |
| 138 | change (constantComplexLocallyConstantIsoOn (TopCat.of N)).inv ≫ |
| 139 | ((constantComplexLocallyConstantIsoOn (TopCat.of N)).hom ≫ |
| 140 | LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E N) = LocallyConstantKernel.manifoldLocallyConstantToZeroSheaf E N |
| 141 | rw [Iso.inv_hom_id_assoc] |
| 142 | |
| 143 | /-- The actual standard constant-sheaf augmentation of the manifold de Rham complex. -/ |
| 144 | def manifoldDeRhamSheafAugmentation : |
| 145 | (CochainComplex.single₀ (TopCat.Sheaf (ModuleCat.{0} ℂ) (TopCat.of N))).obj |
| 146 | (constantComplexSheafOn (TopCat.of N)) ⟶ SheafDeRham.manifoldDeRhamSheafComplex E N := |
| 147 | (CochainComplex.fromSingle₀Equiv (SheafDeRham.manifoldDeRhamSheafComplex E N) |
| 148 | (constantComplexSheafOn (TopCat.of N))).symm |
| 149 | ⟨manifoldConstantToDeRham E N, manifoldConstantToDeRham_comp_d E N⟩ |
| 150 | |
| 151 | /-- The augmented complex begins with the standard constant complex sheaf. -/ |
| 152 | def manifoldAugmentedDeRhamSheafComplex : |
| 153 | CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℂ) (TopCat.of N)) ℕ := |
| 154 | (SheafDeRham.manifoldDeRhamSheafComplex E N).augment (manifoldConstantToDeRham E N) |
| 155 | (manifoldConstantToDeRham_comp_d E N) |
| 156 | |
| 157 | /-- Truncation removes exactly the inserted coefficient term. -/ |
| 158 | def manifoldAugmentedDeRhamSheafTruncateIso : |
| 159 | CochainComplex.truncate.obj (manifoldAugmentedDeRhamSheafComplex E N) ≅ |
| 160 | SheafDeRham.manifoldDeRhamSheafComplex E N := CochainComplex.truncateAugment _ _ _ |
| 161 | |
| 162 | variable [FiniteDimensional ℝ E] |
| 163 | |
| 164 | /-- The actual constant-complex-sheaf augmentation is an exact manifold de Rham resolution. -/ |
| 165 | theorem manifoldAugmentedDeRhamSheaf_acyclic : |
| 166 | (manifoldAugmentedDeRhamSheafComplex E N).Acyclic := |
| 167 | CochainAugmentation.cochainAugment_acyclic_of_kernel (SheafDeRham.manifoldDeRhamSheafComplex E N) |
| 168 | (manifoldConstantToDeRham E N) (manifoldConstantToDeRham_comp_d E N) |
| 169 | (manifoldConstantToDeRhamKernelIsLimit E N) |
| 170 | (AlgebraicTopology.DeRham.Comparison.ManifoldSheafPoincare.manifoldDeRhamSheafComplex_exactAt_succ E N) |
| 171 | |
| 172 | /-- The standard constant complex sheaf maps quasi-isomorphically to the genuine |
| 173 | de Rham sheaf complex on the smooth manifold. -/ |
| 174 | theorem manifoldDeRhamSheafAugmentation_quasiIso : |
| 175 | QuasiIso (manifoldDeRhamSheafAugmentation E N) := |
| 176 | CochainAugmentation.cochainAugmentation_quasiIso (SheafDeRham.manifoldDeRhamSheafComplex E N) |
| 177 | (manifoldConstantToDeRham E N) (manifoldConstantToDeRham_comp_d E N) |
| 178 | (manifoldConstantToDeRhamKernelIsLimit E N) |
| 179 | (AlgebraicTopology.DeRham.Comparison.ManifoldSheafPoincare.manifoldDeRhamSheafComplex_exactAt_succ E N) |
| 180 | |
| 181 | end |
| 182 | |
| 183 | end OAI.Analysis.DifferentialForms.Manifold.DeRhamResolution |