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.Holomorphic.StalkExactness |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.HolomorphicZeroComparison |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafStalkQuasiIso |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.SheafificationStalk |
| 5 | import OAI.AlgebraicGeometry.Comparison.Betti.Module.StalkExactFunctor |
| 6 | import OAI.Analysis.DifferentialForms.Manifold.LocalPoincare |
| 7 | |
| 8 | /-! # Sheaf Quasi Iso -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SheafQuasiIso |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual inclusion of the independent holomorphic de Rham sheaf complex is a quasi-isomorphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | |
| 19 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 20 | |
| 21 | variable (E M : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 22 | [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] |
| 23 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 24 | |
| 25 | theorem smoothPresheafStalk_exactAt_succ (x : M) (n : ℕ) : |
| 26 | (((TopCat.Presheaf.stalkFunctor (X := TopCat.of M) (ModuleCat.{0} ℂ) x).mapHomologicalComplex |
| 27 | (.up ℕ)).obj (Analysis.DifferentialForms.Manifold.CechDeRham.manifoldDeRhamPresheafComplex E M)).ExactAt (n + 1) := by |
| 28 | apply AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkComplex_exactAt_succ_of_local_primitives |
| 29 | intro U hx a ha |
| 30 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U (n + 1) at a |
| 31 | rw [Analysis.DifferentialForms.Manifold.CechDeRham.manifoldDeRhamPresheafComplex_d] at ha |
| 32 | obtain ⟨V, hVU, hxV, b, hb⟩ := Analysis.DifferentialForms.Manifold.LocalPoincare.manifold_local_poincare U a ha ⟨x, hx⟩ |
| 33 | refine ⟨V, hxV, CategoryTheory.homOfLE hVU, b, ?_⟩ |
| 34 | rw [Analysis.DifferentialForms.Manifold.CechDeRham.manifoldDeRhamPresheafComplex_d] |
| 35 | exact hb |
| 36 | |
| 37 | omit [FiniteDimensional ℝ E] in |
| 38 | theorem inclusionSheafMap_quasiIsoAt_zero : QuasiIsoAt (SheafComplex.inclusionSheafMap E M) 0 := by |
| 39 | apply Module.SheafStalkQuasiIso.Holomorphic.moduleSheafQuasiIsoAt_of_stalk (X := TopCat.of M) (SheafComplex.inclusionSheafMap E M) 0 |
| 40 | intro x |
| 41 | apply SheafificationStalk.Holomorphic.sheafMap_stalk_quasiIsoAt_of_normalization (X := TopCat.of M) |
| 42 | (Holomorphic.Presheaf.presheafComplex E M) (Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex E M) (SheafComplex.inclusionSheafMap E M) |
| 43 | (PresheafInclusion.inclusionPresheafCochainMap E M ≫ (SheafComplex.smoothSheafUnderlyingIso E M).inv) |
| 44 | (SheafComplex.inclusionSheafMap_normalization E M) x 0 |
| 45 | have h := HolomorphicZeroComparison.inclusionPresheafCochainMap_quasiIsoAt_zero E M |
| 46 | have hp : QuasiIsoAt |
| 47 | (PresheafInclusion.inclusionPresheafCochainMap E M ≫ (SheafComplex.smoothSheafUnderlyingIso E M).inv) 0 := by |
| 48 | infer_instance |
| 49 | exact quasiIsoAt_map_of_preservesHomology (hφ := hp) _ |
| 50 | (TopCat.Presheaf.stalkFunctor (X := TopCat.of M) (ModuleCat.{0} ℂ) x) 0 |
| 51 | |
| 52 | theorem inclusionSheafMap_quasiIsoAt_succ (n : ℕ) : |
| 53 | QuasiIsoAt (SheafComplex.inclusionSheafMap E M) (n + 1) := by |
| 54 | apply Module.SheafStalkQuasiIso.Holomorphic.moduleSheafQuasiIsoAt_of_stalk (X := TopCat.of M) (SheafComplex.inclusionSheafMap E M) (n + 1) |
| 55 | intro x |
| 56 | apply (quasiIsoAt_iff_exactAt _ (n + 1) (StalkExactness.sheafStalk_exactAt_succ E M x n)).mpr |
| 57 | let T := (TopCat.Presheaf.stalkFunctor (X := TopCat.of M) (ModuleCat.{0} ℂ) x).mapHomologicalComplex |
| 58 | (.up ℕ) |
| 59 | let e := T.mapIso (SheafComplex.smoothSheafUnderlyingIso E M).symm |
| 60 | exact (smoothPresheafStalk_exactAt_succ E M x n).of_iso e |
| 61 | |
| 62 | theorem inclusionSheafMap_quasiIso : QuasiIso (SheafComplex.inclusionSheafMap E M) := by |
| 63 | apply (quasiIso_iff _).mpr |
| 64 | intro n |
| 65 | cases n with |
| 66 | | zero => exact inclusionSheafMap_quasiIsoAt_zero E M |
| 67 | | succ n => exact inclusionSheafMap_quasiIsoAt_succ E M n |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SheafQuasiIso |