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.SheafDeRham |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.ComplexSheafHomology |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.StalkExactnessAt |
| 4 | |
| 5 | /-! # Manifold Sheaf Local Primitives -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.ManifoldSheafLocalPrimitives |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Local primitives and exactness of the manifold de Rham sheaves |
| 13 | |
| 14 | This proves the categorical passage from genuine local primitives of smooth |
| 15 | tangent-covector fields to exactness of their complex of sheaves. The model |
| 16 | space has the ordinary universe of finite-dimensional vector spaces; the |
| 17 | underlying manifold can be in any universe. The local-primitive hypothesis |
| 18 | is explicit and will be supplied by the analytic local Poincare theorem. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 22 | open scoped _root_.Manifold ContDiff |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | local instance manifoldSheafPreadditive (X : TopCat.{u}) : |
| 27 | Preadditive (TopCat.Sheaf (ModuleCat.{u} ℂ) X) := |
| 28 | Analysis.DifferentialForms.Manifold.ManifoldSheaf.complexModuleSheafPreadditiveAny X |
| 29 | |
| 30 | local instance manifoldSheafCategoryWithHomology (X : TopCat.{u}) : |
| 31 | CategoryWithHomology (TopCat.Sheaf (ModuleCat.{u} ℂ) X) := by |
| 32 | convert (CategoryTheory.categoryWithHomology_of_abelian |
| 33 | (C := TopCat.Sheaf (ModuleCat.{u} ℂ) X)) using 1 |
| 34 | exact Subsingleton.elim _ _ |
| 35 | |
| 36 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 37 | (M : Type u) [TopologicalSpace M] [ChartedSpace E M] |
| 38 | [IsManifold 𝓘(ℝ, E) ∞ M] |
| 39 | |
| 40 | /-- The already constructed manifold complex has homology with its existing |
| 41 | pointwise zero morphisms. -/ |
| 42 | instance manifoldDeRhamSheafComplex_hasHomology (n : ℕ) : |
| 43 | (Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex E M).HasHomology n := by |
| 44 | infer_instance |
| 45 | |
| 46 | /-- Two consecutive exterior derivatives of actual smooth manifold sheaves. -/ |
| 47 | def manifoldDeRhamSheafStep (n : ℕ) : |
| 48 | ShortComplex (TopCat.Sheaf (ModuleCat.{u} ℂ) (TopCat.of M)) := |
| 49 | ShortComplex.mk (Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheafD E M n) (Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheafD E M (n + 1)) |
| 50 | (Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheafD_squared E M n) |
| 51 | |
| 52 | /-- A local primitive condition involving only genuine open-domain manifold |
| 53 | forms, actual exterior differentiation and restriction. -/ |
| 54 | def HasLocalSmoothManifoldPrimitives (n : ℕ) : Prop := |
| 55 | ∀ (U : Opens M) (form : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U (n + 1)), |
| 56 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d form = 0 → ∀ x : U, |
| 57 | ∃ (V : Opens M) (hVU : V ≤ U), (x : M) ∈ V ∧ |
| 58 | ∃ primitive : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E V n, |
| 59 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d primitive = Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict hVU form |
| 60 | |
| 61 | /-- Actual local smooth primitives give categorical exactness of the manifold |
| 62 | form sheaves, by the local criterion for their actual stalks. -/ |
| 63 | theorem manifoldDeRhamSheafStep_exact_of_local_primitives (n : ℕ) |
| 64 | (hlocal : HasLocalSmoothManifoldPrimitives E M n) : |
| 65 | (manifoldDeRhamSheafStep E M n).Exact := by |
| 66 | apply (TopCat.Sheaf.exact_iff_stalkFunctor_map_exact |
| 67 | (manifoldDeRhamSheafStep E M n)).2 |
| 68 | intro x |
| 69 | change (((manifoldDeRhamSheafStep E M n).map |
| 70 | (TopCat.Sheaf.forget (ModuleCat.{u} ℂ) (TopCat.of M))).map |
| 71 | (TopCat.Presheaf.stalkFunctor (ModuleCat.{u} ℂ) x)).Exact |
| 72 | apply Cohomology.Singular.StalkExactnessAt.stalk_exact_of_locally_exact |
| 73 | intro U hx form hclosed |
| 74 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U (n + 1) at form |
| 75 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d form = 0 at hclosed |
| 76 | obtain ⟨V, hVU, hxV, primitive, hprimitive⟩ := hlocal U form hclosed ⟨x, hx⟩ |
| 77 | exact ⟨V, hxV, homOfLE hVU, primitive, hprimitive⟩ |
| 78 | |
| 79 | /-- The local primitive condition implies exactness in degree `n+1` of the |
| 80 | already constructed manifold de Rham sheaf complex. -/ |
| 81 | theorem manifoldDeRhamSheafComplex_exactAt_of_local_primitives (n : ℕ) |
| 82 | (hlocal : HasLocalSmoothManifoldPrimitives E M n) : |
| 83 | (Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex E M).ExactAt (n + 1) := by |
| 84 | rw [(Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex E M).exactAt_iff' n (n + 1) (n + 2) |
| 85 | (by simp) (by simp)] |
| 86 | simpa only [HomologicalComplex.sc', HomologicalComplex.shortComplexFunctor', |
| 87 | Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex_X, Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex_d, |
| 88 | manifoldDeRhamSheafStep] using |
| 89 | manifoldDeRhamSheafStep_exact_of_local_primitives E M n hlocal |
| 90 | |
| 91 | /-- The corresponding positive homology sheaf is zero. -/ |
| 92 | theorem manifoldDeRhamSheafComplex_isZero_homology_of_local_primitives (n : ℕ) |
| 93 | (hlocal : HasLocalSmoothManifoldPrimitives E M n) : |
| 94 | IsZero ((Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex E M).homology (n + 1)) := |
| 95 | (manifoldDeRhamSheafComplex_exactAt_of_local_primitives E M n hlocal).isZero_homology |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicTopology.DeRham.Comparison.ManifoldSheafLocalPrimitives |