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.Presheaf |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.Gluing |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Limits |
| 4 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 5 | |
| 6 | /-! # Smooth Form D -/ |
| 7 | |
| 8 | namespace OAI.Analysis.DifferentialForms.Manifold.SmoothFormD |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The actual module-valued sheaf of smooth complex-valued real differential |
| 14 | forms on the ordinary open subsets of a real normed space. The sheaf axiom |
| 15 | is proved from the previously constructed unique smooth gluing operation. |
| 16 | The natural exterior derivative is then a morphism of these sheaves. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | /-- Expose the usual additive structure through the topological-sheaf wrapper. -/ |
| 24 | instance complexModuleSheafPreadditive (X : TopCat.{u}) : |
| 25 | Preadditive (TopCat.Sheaf (ModuleCat.{u} ℂ) X) := |
| 26 | inferInstanceAs (Preadditive |
| 27 | (CategoryTheory.Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} ℂ))) |
| 28 | |
| 29 | variable (E : Type u) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 30 | |
| 31 | /-- The actual smooth-form presheaf satisfies mathlib's categorical sheaf axiom. -/ |
| 32 | theorem smoothFormPresheaf_isSheaf (n : ℕ) : (Manifold.Presheaf.smoothFormPresheaf E n).IsSheaf := by |
| 33 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing (Manifold.Presheaf.smoothFormPresheaf E n)).2 |
| 34 | intro ι U forms hcompat |
| 35 | have hlocal : OpenD.SmoothOpenForm.Compatible forms := by |
| 36 | apply (OpenD.SmoothOpenForm.compatible_iff_restrict forms).2 |
| 37 | intro i j |
| 38 | exact hcompat i j |
| 39 | obtain ⟨form, hform, huniq⟩ := OpenD.SmoothOpenForm.existsUnique_glue_iSup forms hlocal |
| 40 | exact ⟨form, hform, huniq⟩ |
| 41 | |
| 42 | /-- The genuine sheaf of smooth complex-valued real n-forms. -/ |
| 43 | def smoothFormSheaf (n : ℕ) : TopCat.Sheaf (ModuleCat.{u} ℂ) (TopCat.of E) where |
| 44 | obj := Manifold.Presheaf.smoothFormPresheaf E n |
| 45 | property := smoothFormPresheaf_isSheaf E n |
| 46 | |
| 47 | @[simp] |
| 48 | theorem smoothFormSheaf_presheaf (n : ℕ) : |
| 49 | (smoothFormSheaf E n).presheaf = Manifold.Presheaf.smoothFormPresheaf E n := rfl |
| 50 | |
| 51 | /-- The already-proved natural exterior derivative is a sheaf morphism. -/ |
| 52 | def smoothFormSheafD (n : ℕ) : smoothFormSheaf E n ⟶ smoothFormSheaf E (n + 1) := |
| 53 | ObjectProperty.homMk (Manifold.Presheaf.smoothFormPresheafD E n) |
| 54 | |
| 55 | /-- Exterior differentiation squares to zero as a sheaf morphism. -/ |
| 56 | theorem smoothFormSheafD_squared (n : ℕ) : |
| 57 | smoothFormSheafD E n ≫ smoothFormSheafD E (n + 1) = 0 := by |
| 58 | apply CategoryTheory.Sheaf.hom_ext |
| 59 | exact Manifold.Presheaf.smoothFormPresheafD_squared E n |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.Analysis.DifferentialForms.Manifold.SmoothFormD |