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.OpenDeRhamX |
| 2 | |
| 3 | /-! # Global Open -/ |
| 4 | |
| 5 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Global forms and sections on the whole open domain |
| 11 | |
| 12 | The two existing presentations of smooth forms agree: a global smooth |
| 13 | coefficient function is the same as a smooth section on the top open set. |
| 14 | The equivalence intertwines the actual exterior differentials and identifies |
| 15 | their de Rham complexes and cohomology groups. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] {n : ℕ} |
| 24 | |
| 25 | section |
| 26 | |
| 27 | /-- A section on all of E is a global smooth form. -/ |
| 28 | def OpenD.SmoothOpenForm.toGlobal : OpenD.SmoothOpenForm (⊤ : Opens E) n →ₗ[ℂ] Basic.SmoothForm E n where |
| 29 | toFun form := ⟨form.extension, by |
| 30 | change ContDiff ℝ ∞ form.extension |
| 31 | apply contDiffOn_univ.mp |
| 32 | simpa only [Opens.coe_top] using form.smooth⟩ |
| 33 | map_add' form otherForm := Subtype.ext (OpenD.SmoothOpenForm.extension_add form otherForm) |
| 34 | map_smul' c form := Subtype.ext (OpenD.SmoothOpenForm.extension_smul c form) |
| 35 | |
| 36 | @[simp] theorem OpenD.SmoothOpenForm.toGlobal_apply (form : OpenD.SmoothOpenForm (⊤ : Opens E) n) (x : E) : |
| 37 | OpenD.SmoothOpenForm.toGlobal form x = form ⟨x, by simp⟩ := OpenD.SmoothOpenForm.extension_apply form ⟨x, by simp⟩ |
| 38 | |
| 39 | @[simp] theorem OpenD.SmoothOpenForm.onOpen_toGlobal (form : OpenD.SmoothOpenForm (⊤ : Opens E) n) : |
| 40 | Basic.SmoothForm.onOpen ⊤ (OpenD.SmoothOpenForm.toGlobal form) = form := by |
| 41 | apply OpenD.SmoothOpenForm.ext |
| 42 | intro x |
| 43 | exact OpenD.SmoothOpenForm.extension_apply form x |
| 44 | |
| 45 | /-- The inverse global-section map commutes with exterior differentiation. -/ |
| 46 | theorem OpenD.SmoothOpenForm.toGlobal_d (form : OpenD.SmoothOpenForm (⊤ : Opens E) n) : |
| 47 | Basic.SmoothForm.d (OpenD.SmoothOpenForm.toGlobal form) = OpenD.SmoothOpenForm.toGlobal (OpenD.SmoothOpenForm.d form) := by |
| 48 | apply Basic.SmoothForm.ext |
| 49 | intro x |
| 50 | exact (OpenD.SmoothOpenForm.extension_apply (OpenD.SmoothOpenForm.d form) ⟨x, by simp⟩).symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | section |
| 55 | |
| 56 | @[simp] theorem Basic.SmoothForm.toGlobal_onOpen (form : Basic.SmoothForm E n) : |
| 57 | OpenD.SmoothOpenForm.toGlobal (Basic.SmoothForm.onOpen ⊤ form) = form := by |
| 58 | apply Basic.SmoothForm.ext |
| 59 | intro x |
| 60 | exact OpenD.SmoothOpenForm.extension_apply (Basic.SmoothForm.onOpen ⊤ form) ⟨x, by simp⟩ |
| 61 | |
| 62 | /-- Global smooth forms are precisely smooth sections on the top open set. -/ |
| 63 | def Basic.SmoothForm.onTopEquiv : Basic.SmoothForm E n ≃ₗ[ℂ] OpenD.SmoothOpenForm (⊤ : Opens E) n where |
| 64 | toLinearMap := Basic.SmoothForm.onOpen ⊤ |
| 65 | invFun := OpenD.SmoothOpenForm.toGlobal |
| 66 | left_inv := Basic.SmoothForm.toGlobal_onOpen |
| 67 | right_inv := OpenD.SmoothOpenForm.onOpen_toGlobal |
| 68 | |
| 69 | @[simp] theorem Basic.SmoothForm.onTopEquiv_apply (form : Basic.SmoothForm E n) : |
| 70 | Basic.SmoothForm.onTopEquiv form = Basic.SmoothForm.onOpen ⊤ form := rfl |
| 71 | |
| 72 | @[simp] theorem Basic.SmoothForm.onTopEquiv_symm_apply (form : OpenD.SmoothOpenForm (⊤ : Opens E) n) : |
| 73 | Basic.SmoothForm.onTopEquiv.symm form = OpenD.SmoothOpenForm.toGlobal form := rfl |
| 74 | |
| 75 | end |
| 76 | |
| 77 | variable (E) |
| 78 | |
| 79 | /-- The inverse of restricting the global de Rham complex to its whole domain. -/ |
| 80 | def GlobalOpen.openTopDeRhamToGlobal : OpenDeRhamX.openDeRhamComplex (⊤ : Opens E) ⟶ DeRham.deRhamComplex E := |
| 81 | CochainComplex.ofHom (fun _ => ModuleCat.ofHom OpenD.SmoothOpenForm.toGlobal) |
| 82 | (fun n => by |
| 83 | rw [OpenDeRhamX.openDeRhamComplex_d, DeRham.deRhamComplex_d] |
| 84 | apply ModuleCat.hom_ext |
| 85 | apply LinearMap.ext |
| 86 | intro form |
| 87 | exact OpenD.SmoothOpenForm.toGlobal_d form) |
| 88 | |
| 89 | /-- Global and whole-domain de Rham complexes are canonically isomorphic. -/ |
| 90 | def GlobalOpen.deRhamTopIso : DeRham.deRhamComplex E ≅ OpenDeRhamX.openDeRhamComplex (⊤ : Opens E) where |
| 91 | hom := OpenDeRhamX.deRhamOnOpen ⊤ |
| 92 | inv := GlobalOpen.openTopDeRhamToGlobal E |
| 93 | hom_inv_id := by |
| 94 | apply HomologicalComplex.Hom.ext |
| 95 | funext n |
| 96 | apply ModuleCat.hom_ext |
| 97 | apply LinearMap.ext |
| 98 | intro form |
| 99 | exact Basic.SmoothForm.toGlobal_onOpen form |
| 100 | inv_hom_id := by |
| 101 | apply HomologicalComplex.Hom.ext |
| 102 | funext n |
| 103 | apply ModuleCat.hom_ext |
| 104 | apply LinearMap.ext |
| 105 | intro form |
| 106 | exact OpenD.SmoothOpenForm.onOpen_toGlobal form |
| 107 | |
| 108 | /-- The induced identification of the two actual de Rham cohomology models. -/ |
| 109 | def GlobalOpen.deRhamCohomologyTopIso (n : ℕ) : |
| 110 | DeRham.deRhamCohomology E n ≅ OpenDeRhamX.openDeRhamCohomology (⊤ : Opens E) n := |
| 111 | (HomologicalComplex.homologyFunctor _ _ n).mapIso (GlobalOpen.deRhamTopIso E) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.Analysis.DifferentialForms.Manifold |