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.Derivative |
| 2 | |
| 3 | /-! # Local Derivative -/ |
| 4 | |
| 5 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Local exterior differentiation of actual manifold covectors |
| 11 | |
| 12 | These results require smoothness only on the specified open domain. In |
| 13 | particular they do not assert that a section extended by zero across its |
| 14 | boundary is globally smooth. Chart independence, regularity, locality and |
| 15 | square-zero all hold on the original domain. |
| 16 | -/ |
| 17 | |
| 18 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 19 | open Set Filter |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 23 | [IsManifold 𝓘(ℝ, E) ∞ M] {n : ℕ} {U : Set M} |
| 24 | |
| 25 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 26 | /-- Smoothness in a chart near a point needs only smoothness on its open domain. -/ |
| 27 | theorem LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart {form : Algebra.RawManifoldForm E M n} |
| 28 | (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) |
| 29 | (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) {y : E} |
| 30 | (hy : y ∈ Algebra.manifoldFormChartDomain e U) : ContDiffAt ℝ ∞ (form.inChart e) y := |
| 31 | (hform e he).contDiffAt ((Algebra.isOpen_manifoldFormChartDomain e hU).mem_nhds hy) |
| 32 | |
| 33 | /-- Two chart derivatives agree at every point where the form is smooth. -/ |
| 34 | theorem Algebra.RawManifoldForm.chartExteriorDerivative_eq_on (form : Algebra.RawManifoldForm E M n) |
| 35 | (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) |
| 36 | (e f : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) (hf : f ∈ atlas E M) |
| 37 | {x : M} (hex : x ∈ e.source) (hfx : x ∈ f.source) (hxU : x ∈ U) : |
| 38 | form.chartExteriorDerivative e x = form.chartExteriorDerivative f x := by |
| 39 | have hlocal : ContDiffAt ℝ ∞ (form.inChart f) (f x) := |
| 40 | LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hform f hf |
| 41 | ⟨f.map_source hfx, by |
| 42 | change f.symm (f x) ∈ U |
| 43 | simpa only [f.left_inv hfx] using hxU⟩ |
| 44 | have htrans := form.extDeriv_inChart_transition_of_differentiableAt e f he hf |
| 45 | (e.map_source hex) (by simpa only [e.left_inv hex] using hfx) |
| 46 | (by simpa only [e.left_inv hex] using hlocal.differentiableAt (by simp)) |
| 47 | rw [e.left_inv hex] at htrans |
| 48 | ext v |
| 49 | change extDeriv (form.inChart e) (e x) (fun i => Charts.chartTangentMap e x (v i)) = |
| 50 | extDeriv (form.inChart f) (f x) (fun i => Charts.chartTangentMap f x (v i)) |
| 51 | rw [htrans] |
| 52 | apply congrArg (extDeriv (form.inChart f) (f x)) |
| 53 | funext i |
| 54 | exact congrArg (fun g => g (v i)) (Derivative.chartTangentMap_transition_comp e f he hf hex hfx) |
| 55 | |
| 56 | /-- The preferred chart gives the same derivative as every atlas chart on U. -/ |
| 57 | theorem Algebra.RawManifoldForm.exteriorDerivative_eq_chart_on (form : Algebra.RawManifoldForm E M n) |
| 58 | (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) |
| 59 | (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) {x : M} |
| 60 | (hx : x ∈ e.source) (hxU : x ∈ U) : |
| 61 | form.exteriorDerivative x = form.chartExteriorDerivative e x := |
| 62 | form.chartExteriorDerivative_eq_on hU hform (chartAt E x) e |
| 63 | (chart_mem_atlas E x) he (mem_chart_source E x) hx hxU |
| 64 | |
| 65 | /-- The derivative has the ordinary exterior-derivative expression on the chart domain. -/ |
| 66 | theorem Algebra.RawManifoldForm.exteriorDerivative_inChart_on (form : Algebra.RawManifoldForm E M n) |
| 67 | (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) |
| 68 | (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) {y : E} |
| 69 | (hy : y ∈ Algebra.manifoldFormChartDomain e U) : |
| 70 | form.exteriorDerivative.inChart e y = extDeriv (form.inChart e) y := by |
| 71 | calc |
| 72 | form.exteriorDerivative.inChart e y = (form.chartExteriorDerivative e).inChart e y := by |
| 73 | unfold Algebra.RawManifoldForm.inChart |
| 74 | rw [form.exteriorDerivative_eq_chart_on hU hform e he (e.map_target hy.1) hy.2] |
| 75 | _ = extDeriv (form.inChart e) y := form.chartExteriorDerivative_inChart e he hy.1 |
| 76 | |
| 77 | /-- Exterior differentiation preserves smoothness on the original open domain. -/ |
| 78 | theorem Algebra.RawManifoldForm.exteriorDerivative_smooth_on (form : Algebra.RawManifoldForm E M n) |
| 79 | (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) : |
| 80 | Algebra.IsSmoothManifoldFormOn form.exteriorDerivative U := by |
| 81 | intro e he |
| 82 | have hd : ContDiffOn ℝ ∞ (extDeriv (form.inChart e)) (Algebra.manifoldFormChartDomain e U) := |
| 83 | ExteriorDerivativeSmooth.contDiffOn_extDeriv_of_isOpen (hform e he) |
| 84 | (Algebra.isOpen_manifoldFormChartDomain e hU) (by simp) |
| 85 | exact hd.congr (fun y hy => form.exteriorDerivative_inChart_on hU hform e he hy) |
| 86 | |
| 87 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 88 | /-- The derivative at a point depends only on the field in its open neighborhood. -/ |
| 89 | theorem Algebra.RawManifoldForm.exteriorDerivative_congr_on (form other : Algebra.RawManifoldForm E M n) |
| 90 | (hU : IsOpen U) (heq : ∀ x ∈ U, form x = other x) {x : M} (hx : x ∈ U) : |
| 91 | form.exteriorDerivative x = other.exteriorDerivative x := by |
| 92 | let e := chartAt E x |
| 93 | have heqChart : form.inChart e =ᶠ[𝓝 (e x)] other.inChart e := by |
| 94 | have hex : e x ∈ Algebra.manifoldFormChartDomain e U := |
| 95 | ⟨e.map_source (mem_chart_source E x), by |
| 96 | change e.symm (e x) ∈ U |
| 97 | simpa only [e.left_inv (mem_chart_source E x)] using hx⟩ |
| 98 | filter_upwards [(Algebra.isOpen_manifoldFormChartDomain e hU).mem_nhds hex] with y hy |
| 99 | unfold Algebra.RawManifoldForm.inChart |
| 100 | rw [heq (e.symm y) hy.2] |
| 101 | change (extDeriv (form.inChart e) (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) = |
| 102 | (extDeriv (other.inChart e) (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) |
| 103 | rw [heqChart.extDeriv_eq] |
| 104 | |
| 105 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 106 | /-- Additivity of the derivative at every point of a smoothness domain. -/ |
| 107 | theorem Algebra.RawManifoldForm.exteriorDerivative_add_on (form other : Algebra.RawManifoldForm E M n) |
| 108 | (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) |
| 109 | (hother : Algebra.IsSmoothManifoldFormOn other U) {x : M} (hx : x ∈ U) : |
| 110 | (form + other).exteriorDerivative x = form.exteriorDerivative x + other.exteriorDerivative x := by |
| 111 | let e := chartAt E x |
| 112 | have hex : e x ∈ Algebra.manifoldFormChartDomain e U := |
| 113 | ⟨e.map_source (mem_chart_source E x), by |
| 114 | change e.symm (e x) ∈ U |
| 115 | simpa only [e.left_inv (mem_chart_source E x)] using hx⟩ |
| 116 | have hf := (LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hform e |
| 117 | (chart_mem_atlas E x) hex).differentiableAt (by simp) |
| 118 | have hg := (LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hother e |
| 119 | (chart_mem_atlas E x) hex).differentiableAt (by simp) |
| 120 | ext v |
| 121 | change extDeriv ((form + other).inChart e) (e x) (fun i => Charts.chartTangentMap e x (v i)) = |
| 122 | (extDeriv (form.inChart e) (e x) + extDeriv (other.inChart e) (e x)) |
| 123 | (fun i => Charts.chartTangentMap e x (v i)) |
| 124 | rw [Algebra.RawManifoldForm.inChart_add, extDeriv_add hf hg] |
| 125 | |
| 126 | /-- The exterior derivative squares to zero at every point of the smoothness domain. -/ |
| 127 | theorem Algebra.RawManifoldForm.exteriorDerivative_squared_on (form : Algebra.RawManifoldForm E M n) |
| 128 | (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) {x : M} (hx : x ∈ U) : |
| 129 | form.exteriorDerivative.exteriorDerivative x = 0 := by |
| 130 | let e := chartAt E x |
| 131 | have he : e ∈ atlas E M := chart_mem_atlas E x |
| 132 | have hex : e x ∈ Algebra.manifoldFormChartDomain e U := |
| 133 | ⟨e.map_source (mem_chart_source E x), by |
| 134 | change e.symm (e x) ∈ U |
| 135 | simpa only [e.left_inv (mem_chart_source E x)] using hx⟩ |
| 136 | have heq : form.exteriorDerivative.inChart e =ᶠ[𝓝 (e x)] extDeriv (form.inChart e) := by |
| 137 | filter_upwards [(Algebra.isOpen_manifoldFormChartDomain e hU).mem_nhds hex] with y hy |
| 138 | exact form.exteriorDerivative_inChart_on hU hform e he hy |
| 139 | change (extDeriv (form.exteriorDerivative.inChart e) (e x)).compContinuousLinearMap |
| 140 | (Charts.chartTangentMap e x) = 0 |
| 141 | rw [heq.extDeriv_eq, SquareZero.extDeriv_extDeriv_of_contDiffAt |
| 142 | (LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hform e he hex)] |
| 143 | ext v |
| 144 | rfl |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.Analysis.DifferentialForms.Manifold |