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.LocalPoincare |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SheafComplex |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.SheafificationStalkComplex |
| 4 | import OAI.AlgebraicTopology.Cohomology.Singular.StalkExactnessAt |
| 5 | |
| 6 | /-! # Stalk Exactness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.StalkExactness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Positive-degree exactness of the actual holomorphic presheaf and sheaf stalks. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 18 | |
| 19 | variable (E M : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 20 | [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] |
| 21 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 22 | |
| 23 | theorem presheafStalk_exactAt_succ (x : M) (n : ℕ) : |
| 24 | (((TopCat.Presheaf.stalkFunctor (X := TopCat.of M) (ModuleCat.{0} ℂ) x).mapHomologicalComplex (.up ℕ)).obj |
| 25 | (Holomorphic.Presheaf.presheafComplex E M)).ExactAt (n + 1) := by |
| 26 | apply AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkComplex_exactAt_succ_of_local_primitives |
| 27 | intro U hx a ha |
| 28 | change DeRhamComplex.forms E U (n + 1) at a |
| 29 | change (DeRhamComplex.complex E U).d (n + 1) (n + 2) a = 0 at ha |
| 30 | rw [DeRhamComplex.complex_d] at ha |
| 31 | obtain ⟨V, hVU, hxV, b, hb⟩ := LocalPoincare.local_primitive_on U a ha ⟨x, hx⟩ |
| 32 | refine ⟨V, hxV, homOfLE hVU, b, ?_⟩ |
| 33 | change (DeRhamComplex.complex E V).d n (n + 1) b = _ |
| 34 | rw [DeRhamComplex.complex_d] |
| 35 | exact hb |
| 36 | |
| 37 | theorem sheafStalk_exactAt_succ (x : M) (n : ℕ) : |
| 38 | (((TopCat.Sheaf.forget (ModuleCat.{0} ℂ) (TopCat.of M) ⋙ |
| 39 | TopCat.Presheaf.stalkFunctor (ModuleCat.{0} ℂ) x).mapHomologicalComplex (.up ℕ)).obj |
| 40 | (SheafComplex.sheafComplex E M)).ExactAt (n + 1) := by |
| 41 | let e := asIso (SheafificationStalkComplex.Holomorphic.sheafificationStalkUnit (X := TopCat.of M) (Holomorphic.Presheaf.presheafComplex E M) x) |
| 42 | exact (presheafStalk_exactAt_succ E M x n).of_iso e |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.StalkExactness |