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 OAI.Analysis.DifferentialForms.Manifold.Vectors |
| 3 | |
| 4 | /-! # Open Pullback -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | /-! |
| 9 | # Pullback of differential forms on open domains |
| 10 | |
| 11 | The map need only be smooth on its source domain. Its derivative acts on each |
| 12 | tangent argument, and the value of the form is taken in the target domain. |
| 13 | Zero extensions serve only to construct representatives; the resulting pullback |
| 14 | is local, respects restrictions, and commutes with exterior differentiation. |
| 15 | -/ |
| 16 | |
| 17 | open Filter Set _root_.TopologicalSpace |
| 18 | open scoped _root_.Topology ContDiff |
| 19 | |
| 20 | variable {E F G : Type*} |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 23 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 24 | {U : Opens E} {V : Opens F} {W : Opens G} {n : ℕ} |
| 25 | |
| 26 | /-- Pullback by a map smooth on an open source and taking values in an open |
| 27 | target, complex-linear in the differential form. -/ |
| 28 | noncomputable def OpenD.SmoothOpenForm.pullback (f : E → F) (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 29 | (hUV : MapsTo f (U : Set E) (V : Set F)) : |
| 30 | OpenD.SmoothOpenForm V n →ₗ[ℂ] OpenD.SmoothOpenForm U n where |
| 31 | toFun form := OpenD.SmoothOpenForm.ofRaw U |
| 32 | (fun x => (form.extension (f x)).compContinuousLinearMap (fderiv ℝ f x)) |
| 33 | (Alternatization.contDiffOn_alternating_compContinuousLinearMap |
| 34 | (form.smooth.comp hf hUV) (hf.fderiv_of_isOpen U.isOpen (by simp))) |
| 35 | map_add' form otherForm := by |
| 36 | apply OpenD.SmoothOpenForm.ext |
| 37 | intro x |
| 38 | apply ContinuousAlternatingMap.ext |
| 39 | intro v |
| 40 | change (form + otherForm).extension (f x) (fun i => fderiv ℝ f x (v i)) = |
| 41 | form.extension (f x) (fun i => fderiv ℝ f x (v i)) + |
| 42 | otherForm.extension (f x) (fun i => fderiv ℝ f x (v i)) |
| 43 | rw [OpenD.SmoothOpenForm.extension_add] |
| 44 | rfl |
| 45 | map_smul' c form := by |
| 46 | apply OpenD.SmoothOpenForm.ext |
| 47 | intro x |
| 48 | apply ContinuousAlternatingMap.ext |
| 49 | intro v |
| 50 | change (c • form).extension (f x) (fun i => fderiv ℝ f x (v i)) = |
| 51 | c • form.extension (f x) (fun i => fderiv ℝ f x (v i)) |
| 52 | rw [OpenD.SmoothOpenForm.extension_smul] |
| 53 | rfl |
| 54 | |
| 55 | /-- The pullback at a source point only uses the value in the target domain. -/ |
| 56 | @[simp] theorem OpenD.SmoothOpenForm.pullback_apply (f : E → F) (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 57 | (hUV : MapsTo f (U : Set E) (V : Set F)) (form : OpenD.SmoothOpenForm V n) (x : U) : |
| 58 | OpenD.SmoothOpenForm.pullback f hf hUV form x = |
| 59 | (form ⟨f x, hUV x.property⟩).compContinuousLinearMap (fderiv ℝ f x) := by |
| 60 | change (form.extension (f x)).compContinuousLinearMap (fderiv ℝ f x) = _ |
| 61 | exact congrArg (fun value : Basic.FormValue F n => |
| 62 | value.compContinuousLinearMap (fderiv ℝ f x)) |
| 63 | (OpenD.SmoothOpenForm.extension_apply form ⟨f x, hUV x.property⟩) |
| 64 | |
| 65 | theorem OpenD.SmoothOpenForm.pullback_apply_vectors (f : E → F) (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 66 | (hUV : MapsTo f (U : Set E) (V : Set F)) (form : OpenD.SmoothOpenForm V n) |
| 67 | (x : U) (v : Fin n → E) : |
| 68 | OpenD.SmoothOpenForm.pullback f hf hUV form x v = |
| 69 | form ⟨f x, hUV x.property⟩ (fun i => fderiv ℝ f x (v i)) := by |
| 70 | rw [OpenD.SmoothOpenForm.pullback_apply] |
| 71 | rfl |
| 72 | |
| 73 | /-- The identity map acts as the identity on forms. -/ |
| 74 | @[simp] theorem OpenD.SmoothOpenForm.pullback_id (form : OpenD.SmoothOpenForm U n) : |
| 75 | OpenD.SmoothOpenForm.pullback (id : E → E) contDiffOn_id (mapsTo_id (U : Set E)) form = form := by |
| 76 | ext x v |
| 77 | simp [OpenD.SmoothOpenForm.pullback_apply, ContinuousAlternatingMap.compContinuousLinearMap_apply] |
| 78 | |
| 79 | /-- Pullback is contravariantly compatible with composition on open domains. -/ |
| 80 | theorem OpenD.SmoothOpenForm.pullback_comp (f : E → F) (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 81 | (hUV : MapsTo f (U : Set E) (V : Set F)) |
| 82 | (g : F → G) (hg : ContDiffOn ℝ ∞ g (V : Set F)) |
| 83 | (hVW : MapsTo g (V : Set F) (W : Set G)) (form : OpenD.SmoothOpenForm W n) : |
| 84 | OpenD.SmoothOpenForm.pullback (g ∘ f) (hg.comp hf hUV) (hVW.comp hUV) form = |
| 85 | OpenD.SmoothOpenForm.pullback f hf hUV (OpenD.SmoothOpenForm.pullback g hg hVW form) := by |
| 86 | apply OpenD.SmoothOpenForm.ext |
| 87 | intro x |
| 88 | apply ContinuousAlternatingMap.ext |
| 89 | intro v |
| 90 | simp only [OpenD.SmoothOpenForm.pullback_apply_vectors, Function.comp_apply] |
| 91 | rw [fderiv_comp (x : E) |
| 92 | ((hg.contDiffAt (V.isOpen.mem_nhds (hUV x.property))).differentiableAt (by simp)) |
| 93 | ((hf.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp))] |
| 94 | rfl |
| 95 | |
| 96 | /-- Exterior differentiation commutes with pullback; no smoothness outside the |
| 97 | open source domain is required. -/ |
| 98 | theorem OpenD.SmoothOpenForm.d_pullback (f : E → F) (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 99 | (hUV : MapsTo f (U : Set E) (V : Set F)) (form : OpenD.SmoothOpenForm V n) : |
| 100 | OpenD.SmoothOpenForm.d (OpenD.SmoothOpenForm.pullback f hf hUV form) = OpenD.SmoothOpenForm.pullback f hf hUV (OpenD.SmoothOpenForm.d form) := by |
| 101 | apply OpenD.SmoothOpenForm.ext |
| 102 | intro x |
| 103 | rw [OpenD.SmoothOpenForm.pullback_apply, OpenD.SmoothOpenForm.d_apply] |
| 104 | change OpenD.SmoothOpenForm.d (OpenD.SmoothOpenForm.ofRaw U _ _) x = |
| 105 | (extDeriv form.extension (f x)).compContinuousLinearMap (fderiv ℝ f x) |
| 106 | rw [OpenD.SmoothOpenForm.d_ofRaw_apply] |
| 107 | exact extDeriv_pullback |
| 108 | ((form.smooth.contDiffAt (V.isOpen.mem_nhds (hUV x.property))).differentiableAt |
| 109 | (by simp)) |
| 110 | (hf.contDiffAt (U.isOpen.mem_nhds x.property)) SquareZero.minSmoothness_real_two_le_infty |
| 111 | |
| 112 | /-- Restricting the source commutes with pullback. -/ |
| 113 | theorem OpenD.SmoothOpenForm.restrict_pullback {U' : Opens E} (h : U' ≤ U) |
| 114 | (f : E → F) (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 115 | (hUV : MapsTo f (U : Set E) (V : Set F)) (form : OpenD.SmoothOpenForm V n) : |
| 116 | OpenD.SmoothOpenForm.restrict h (OpenD.SmoothOpenForm.pullback f hf hUV form) = |
| 117 | OpenD.SmoothOpenForm.pullback f (hf.mono h) (hUV.mono_left h) form := by |
| 118 | apply OpenD.SmoothOpenForm.ext |
| 119 | intro x |
| 120 | rfl |
| 121 | |
| 122 | /-- Restricting the target form does not change its pullback when the map takes |
| 123 | values in the smaller target. -/ |
| 124 | theorem OpenD.SmoothOpenForm.pullback_restrict {V' : Opens F} (h : V' ≤ V) |
| 125 | (f : E → F) (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 126 | (hUV' : MapsTo f (U : Set E) (V' : Set F)) (form : OpenD.SmoothOpenForm V n) : |
| 127 | OpenD.SmoothOpenForm.pullback f hf hUV' (OpenD.SmoothOpenForm.restrict h form) = |
| 128 | OpenD.SmoothOpenForm.pullback f hf (hUV'.mono_right h) form := by |
| 129 | apply OpenD.SmoothOpenForm.ext |
| 130 | intro x |
| 131 | rw [OpenD.SmoothOpenForm.pullback_apply, OpenD.SmoothOpenForm.pullback_apply] |
| 132 | rfl |
| 133 | |
| 134 | /-- The pullback along an open inclusion is the usual restriction of a form. -/ |
| 135 | @[simp] theorem OpenD.SmoothOpenForm.pullback_inclusion {U' : Opens E} (h : U' ≤ U) |
| 136 | (form : OpenD.SmoothOpenForm U n) : |
| 137 | OpenD.SmoothOpenForm.pullback (id : E → E) contDiffOn_id h form = OpenD.SmoothOpenForm.restrict h form := by |
| 138 | apply OpenD.SmoothOpenForm.ext |
| 139 | intro x |
| 140 | rw [OpenD.SmoothOpenForm.pullback_apply (U := U') (V := U) (id : E → E) contDiffOn_id h form x] |
| 141 | ext v |
| 142 | simp |
| 143 | |
| 144 | /-- Changing an ambient representative of a map away from the open source |
| 145 | does not change the pullback. -/ |
| 146 | theorem OpenD.SmoothOpenForm.pullback_congr {f g : E → F} (hf : ContDiffOn ℝ ∞ f (U : Set E)) |
| 147 | (hg : ContDiffOn ℝ ∞ g (U : Set E)) |
| 148 | (hfUV : MapsTo f (U : Set E) (V : Set F)) |
| 149 | (hgUV : MapsTo g (U : Set E) (V : Set F)) |
| 150 | (hfg : EqOn f g (U : Set E)) (form : OpenD.SmoothOpenForm V n) : |
| 151 | OpenD.SmoothOpenForm.pullback f hf hfUV form = OpenD.SmoothOpenForm.pullback g hg hgUV form := by |
| 152 | apply OpenD.SmoothOpenForm.ext |
| 153 | intro x |
| 154 | have heq : f =ᶠ[𝓝 (x : E)] g := by |
| 155 | filter_upwards [U.isOpen.mem_nhds x.property] with y hy |
| 156 | exact hfg hy |
| 157 | change (form.extension (f x)).compContinuousLinearMap (fderiv ℝ f x) = |
| 158 | (form.extension (g x)).compContinuousLinearMap (fderiv ℝ g x) |
| 159 | rw [hfg x.property, heq.fderiv_eq] |
| 160 | |
| 161 | /-- The open-domain and global pullback constructions agree on their common |
| 162 | domain of definition. -/ |
| 163 | theorem OpenD.SmoothOpenForm.pullback_onOpen (f : E → F) (hf : ContDiff ℝ ∞ f) |
| 164 | (hUV : MapsTo f (U : Set E) (V : Set F)) (form : Basic.SmoothForm F n) : |
| 165 | OpenD.SmoothOpenForm.pullback f hf.contDiffOn hUV (Basic.SmoothForm.onOpen V form) = |
| 166 | Basic.SmoothForm.onOpen U (Basic.SmoothForm.pullback f hf form) := by |
| 167 | apply OpenD.SmoothOpenForm.ext |
| 168 | intro x |
| 169 | rw [OpenD.SmoothOpenForm.pullback_apply] |
| 170 | rfl |
| 171 | |
| 172 | end OAI.Analysis.DifferentialForms.Manifold |