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.OpenD |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Basic |
| 3 | import Mathlib.CategoryTheory.Preadditive.FunctorCategory |
| 4 | import Mathlib.Topology.Sheaves.Presheaf |
| 5 | |
| 6 | /-! # Presheaf -/ |
| 7 | |
| 8 | namespace OAI.Analysis.DifferentialForms.Manifold.Presheaf |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # The presheaf of smooth complex-valued real differential forms |
| 14 | |
| 15 | The objects are the actual open-domain forms of `Forms.Open`. Restrictions are |
| 16 | their pointwise restrictions. Exterior differentiation gives a natural morphism |
| 17 | between successive presheaves and its square is zero. The sheaf condition is |
| 18 | proved separately from genuine open-cover gluing. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (E : Type u) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | |
| 27 | /-- The usual pointwise additive structure on module-valued presheaves. -/ |
| 28 | instance smoothFormPresheafCategoryPreadditive : |
| 29 | Preadditive (TopCat.Presheaf (ModuleCat.{u} ℂ) (TopCat.of E)) := |
| 30 | inferInstanceAs (Preadditive ((Opens (TopCat.of E))ᵒᵖ ⥤ ModuleCat.{u} ℂ)) |
| 31 | |
| 32 | /-- Smooth degree-n forms and their actual restriction maps, as a module presheaf. -/ |
| 33 | def smoothFormPresheaf (n : ℕ) : TopCat.Presheaf (ModuleCat.{u} ℂ) (TopCat.of E) where |
| 34 | obj U := ModuleCat.of ℂ (OpenD.SmoothOpenForm (unop U) n) |
| 35 | map h := ModuleCat.ofHom (OpenD.SmoothOpenForm.restrict (CategoryTheory.leOfHom h.unop)) |
| 36 | map_id U := by |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply LinearMap.ext |
| 39 | intro form |
| 40 | exact OpenD.SmoothOpenForm.restrict_refl form |
| 41 | map_comp f g := by |
| 42 | apply ModuleCat.hom_ext |
| 43 | apply LinearMap.ext |
| 44 | intro form |
| 45 | apply OpenD.SmoothOpenForm.ext |
| 46 | intro x |
| 47 | rfl |
| 48 | |
| 49 | @[simp] theorem smoothFormPresheaf_obj (n : ℕ) (U : Opens E) : |
| 50 | (smoothFormPresheaf E n).obj (op U) = ModuleCat.of ℂ (OpenD.SmoothOpenForm U n) := rfl |
| 51 | |
| 52 | @[simp] theorem smoothFormPresheaf_map (n : ℕ) {U V : Opens E} (h : V ≤ U) : |
| 53 | (smoothFormPresheaf E n).map (homOfLE h).op = |
| 54 | ModuleCat.ofHom (OpenD.SmoothOpenForm.restrict h) := rfl |
| 55 | |
| 56 | /-- Exterior differentiation is natural with respect to open restriction. -/ |
| 57 | def smoothFormPresheafD (n : ℕ) : |
| 58 | smoothFormPresheaf E n ⟶ smoothFormPresheaf E (n + 1) where |
| 59 | app U := ModuleCat.ofHom OpenD.SmoothOpenForm.d |
| 60 | naturality U V h := by |
| 61 | apply ModuleCat.hom_ext |
| 62 | apply LinearMap.ext |
| 63 | intro form |
| 64 | exact (OpenD.SmoothOpenForm.restrict_d (CategoryTheory.leOfHom h.unop) form).symm |
| 65 | |
| 66 | @[simp] theorem smoothFormPresheafD_app (n : ℕ) (U : Opens E) : |
| 67 | (smoothFormPresheafD E n).app (op U) = |
| 68 | ModuleCat.ofHom (OpenD.SmoothOpenForm.d (U := U) (n := n)) := rfl |
| 69 | |
| 70 | /-- The presheaf differential squares to zero as a natural transformation. -/ |
| 71 | theorem smoothFormPresheafD_squared (n : ℕ) : |
| 72 | smoothFormPresheafD E n ≫ smoothFormPresheafD E (n + 1) = 0 := by |
| 73 | apply NatTrans.ext |
| 74 | funext U |
| 75 | apply ModuleCat.hom_ext |
| 76 | apply LinearMap.ext |
| 77 | intro form |
| 78 | exact OpenD.SmoothOpenForm.d_squared form |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.Analysis.DifferentialForms.Manifold.Presheaf |