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.ComplexAction |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.BidegreeInvariant |
| 3 | |
| 4 | /-! # Covector Action -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | section |
| 9 | |
| 10 | /-! The equivalence between actual chartwise pure type and the inverse-character |
| 11 | action on real tangent covectors used in the official Hodge statement. -/ |
| 12 | |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | attribute [local instance] ComplexCharts.complexManifold_isRealSmooth |
| 16 | |
| 17 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 18 | [IsScalarTower ℝ ℂ E] {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 19 | [IsManifold 𝓘(ℂ, E) ∞ M] {p q : ℕ} |
| 20 | |
| 21 | /-- In preferred tangent coordinates, the ordinary pure-covector condition is |
| 22 | exactly the character condition for the actual complex action on real tangents. -/ |
| 23 | theorem CovectorAction.hasBidegree_preferredChart_iff_tangent (form : Algebra.RawManifoldForm E M (p + q)) (x : M) : |
| 24 | Bidegree.HasBidegree E p q (form.inChart (chartAt E x) (chartAt E x x)) ↔ |
| 25 | ∀ (z : ℂˣ) (v : Fin (p + q) → TangentSpace 𝓘(ℝ, E) x), |
| 26 | form x (fun i => ComplexAction.complexTangentSMul x (z : ℂ) (v i)) = |
| 27 | Bidegree.bidegreeCharacter p q z * form x v := by |
| 28 | let e := TangentCoordinates.preferredTangentEquiv (E := E) x |
| 29 | have he : form.inChart (chartAt E x) (chartAt E x x) = |
| 30 | (form x).compContinuousLinearMap e.symm.toContinuousLinearMap := by |
| 31 | ext v |
| 32 | exact form.inChart_at (chartAt E x) (chart_mem_atlas E x) x (mem_chart_source E x) v |
| 33 | rw [he] |
| 34 | constructor |
| 35 | · intro hform z v |
| 36 | have h := hform z (fun i => e (v i)) |
| 37 | change form x (fun i => e.symm ((z : ℂ) • e (v i))) = |
| 38 | Bidegree.bidegreeCharacter p q z * form x (fun i => e.symm (e (v i))) at h |
| 39 | change form x (fun i => e.symm ((z : ℂ) • e (v i))) = |
| 40 | Bidegree.bidegreeCharacter p q z * form x v |
| 41 | simpa only [e.symm_apply_apply] using h |
| 42 | · intro hform z v |
| 43 | have h := hform z (fun i => e.symm (v i)) |
| 44 | change form x (fun i => e.symm ((z : ℂ) • e (e.symm (v i)))) = |
| 45 | Bidegree.bidegreeCharacter p q z * form x (fun i => e.symm (v i)) at h |
| 46 | change form x (fun i => e.symm ((z : ℂ) • v i)) = |
| 47 | Bidegree.bidegreeCharacter p q z * form x (fun i => e.symm (v i)) |
| 48 | simpa only [e.apply_symm_apply] using h |
| 49 | |
| 50 | /-- The chartwise condition is the direct character condition for the |
| 51 | constructed, chart-independent complex tangent action. -/ |
| 52 | theorem CovectorAction.hasManifoldBidegree_iff_tangent_action (form : Algebra.RawManifoldForm E M (p + q)) : |
| 53 | ManifoldBidegree.HasManifoldBidegree E M p q form ↔ |
| 54 | ∀ (x : M) (z : ℂˣ) (v : Fin (p + q) → TangentSpace 𝓘(ℝ, E) x), |
| 55 | form x (fun i => ComplexAction.complexTangentSMul x (z : ℂ) (v i)) = |
| 56 | Bidegree.bidegreeCharacter p q z * form x v := by |
| 57 | rw [BidegreeInvariant.hasManifoldBidegree_iff_chartAt] |
| 58 | exact forall_congr' (fun x => CovectorAction.hasBidegree_preferredChart_iff_tangent form x) |
| 59 | |
| 60 | variable (E M) in |
| 61 | /-- The type `(p,q)` inverse character on actual tangent covectors: a complex |
| 62 | scalar acts on a covector by pulling its arguments back by the inverse scalar. |
| 63 | This is the negative-power convention in the official statement. -/ |
| 64 | def CovectorAction.HasTangentBidegree (p q : ℕ) (form : Algebra.RawManifoldForm E M (p + q)) : Prop := |
| 65 | ∀ (x : M) (z : ℂˣ) (v : Fin (p + q) → TangentSpace 𝓘(ℝ, E) x), |
| 66 | form x (fun i => ComplexAction.complexTangentSMul x (↑(z⁻¹) : ℂ) (v i)) = |
| 67 | (((z : ℂ) ^ p)⁻¹ * ((star (z : ℂ)) ^ q)⁻¹) * form x v |
| 68 | |
| 69 | /-- Actual chartwise pure type is exactly the official inverse-character |
| 70 | condition on the constructed complex tangent action. -/ |
| 71 | theorem CovectorAction.hasManifoldBidegree_iff_tangentBidegree (form : Algebra.RawManifoldForm E M (p + q)) : |
| 72 | ManifoldBidegree.HasManifoldBidegree E M p q form ↔ CovectorAction.HasTangentBidegree E M p q form := by |
| 73 | rw [CovectorAction.hasManifoldBidegree_iff_tangent_action] |
| 74 | constructor |
| 75 | · intro hform x z v |
| 76 | simpa only [Bidegree.bidegreeCharacter_inv] using hform x z⁻¹ v |
| 77 | · intro hform x z v |
| 78 | have h := hform x z⁻¹ v |
| 79 | simpa [Bidegree.bidegreeCharacter] using h |
| 80 | |
| 81 | /-- The inverse powers used above are literally the negative integer powers. -/ |
| 82 | theorem CovectorAction.tangentBidegree_negative_powers (p q : ℕ) (z : ℂˣ) : |
| 83 | (((z : ℂ) ^ p)⁻¹ * ((star (z : ℂ)) ^ q)⁻¹) = |
| 84 | (z : ℂ) ^ (-(p : ℤ)) * (star (z : ℂ)) ^ (-(q : ℤ)) := by |
| 85 | simp |
| 86 | |
| 87 | theorem ManifoldBidegree.PureManifoldForm.hasTangentBidegree (form : ManifoldBidegree.PureManifoldForm E M p q) : |
| 88 | CovectorAction.HasTangentBidegree E M p q (form : Algebra.RawManifoldForm E M (p + q)) := |
| 89 | (CovectorAction.hasManifoldBidegree_iff_tangentBidegree (form : Algebra.RawManifoldForm E M (p + q))).mp |
| 90 | form.hasManifoldBidegree |
| 91 | |
| 92 | end |
| 93 | |
| 94 | noncomputable section |
| 95 | |
| 96 | /-! The actual inverse-scalar action on manifold covector sections and smooth forms. -/ |
| 97 | |
| 98 | open scoped _root_.Manifold ContDiff |
| 99 | |
| 100 | attribute [local instance] ComplexCharts.complexManifold_isRealSmooth |
| 101 | |
| 102 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 103 | [IsScalarTower ℝ ℂ E] {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 104 | [IsManifold 𝓘(ℂ, E) ∞ M] {n : ℕ} |
| 105 | |
| 106 | /-- Complex multiplication also commutes with the actual inverse chart differential. -/ |
| 107 | theorem CovectorAction.complexTangentSMul_chartInverse (e : OpenPartialHomeomorph M E) |
| 108 | (he : e ∈ atlas E M) {y : E} (hy : y ∈ e.target) (z : ℂ) (v : E) : |
| 109 | ComplexAction.complexTangentSMul (e.symm y) z (Charts.chartInverseTangentMap e y v) = |
| 110 | Charts.chartInverseTangentMap e y (z • v) := by |
| 111 | apply (TangentCoordinates.chartTangentEquiv e he (e.symm y) (e.map_target hy)).injective |
| 112 | change Charts.chartTangentMap e (e.symm y) |
| 113 | (ComplexAction.complexTangentSMul (e.symm y) z (Charts.chartInverseTangentMap e y v)) = |
| 114 | Charts.chartTangentMap e (e.symm y) (Charts.chartInverseTangentMap e y (z • v)) |
| 115 | have hcoord (w : E) : Charts.chartTangentMap e (e.symm y) (Charts.chartInverseTangentMap e y w) = w := |
| 116 | congrArg (fun f => f w) (Charts.chartTangentMap_comp_inverse e he hy) |
| 117 | rw [ComplexAction.complexTangentSMul_inChart e he (e.symm y) (e.map_target hy), hcoord v, hcoord (z • v)] |
| 118 | |
| 119 | section |
| 120 | |
| 121 | /-- A scalar acts on a covector by pulling its tangent arguments back by the inverse scalar. -/ |
| 122 | def Algebra.RawManifoldForm.complexAction (z : ℂˣ) : Algebra.RawManifoldForm E M n →ₗ[ℂ] Algebra.RawManifoldForm E M n where |
| 123 | toFun form x := (form x).compContinuousLinearMap (ComplexAction.complexTangentScalarMap x (↑(z⁻¹) : ℂ)) |
| 124 | map_add' form other := by funext x; ext v; rfl |
| 125 | map_smul' c form := by funext x; ext v; rfl |
| 126 | |
| 127 | @[simp] |
| 128 | theorem Algebra.RawManifoldForm.complexAction_apply (z : ℂˣ) (form : Algebra.RawManifoldForm E M n) (x : M) |
| 129 | (v : Fin n → TangentSpace 𝓘(ℝ, E) x) : |
| 130 | Algebra.RawManifoldForm.complexAction z form x v = |
| 131 | form x (fun i => ComplexAction.complexTangentSMul x (↑(z⁻¹) : ℂ) (v i)) := rfl |
| 132 | |
| 133 | @[simp] |
| 134 | theorem Algebra.RawManifoldForm.complexAction_one (form : Algebra.RawManifoldForm E M n) : Algebra.RawManifoldForm.complexAction 1 form = form := by |
| 135 | funext x |
| 136 | ext v |
| 137 | let := ComplexAction.complexTangentModule (E := E) x |
| 138 | change form x (fun i => (↑((1 : ℂˣ)⁻¹) : ℂ) • v i) = form x v |
| 139 | simp |
| 140 | |
| 141 | theorem Algebra.RawManifoldForm.complexAction_mul (z w : ℂˣ) (form : Algebra.RawManifoldForm E M n) : |
| 142 | Algebra.RawManifoldForm.complexAction (z * w) form = Algebra.RawManifoldForm.complexAction z (Algebra.RawManifoldForm.complexAction w form) := by |
| 143 | funext x |
| 144 | ext v |
| 145 | let := ComplexAction.complexTangentModule (E := E) x |
| 146 | change form x (fun i => (↑((z * w)⁻¹) : ℂ) • v i) = |
| 147 | form x (fun i => (↑(w⁻¹) : ℂ) • ((↑(z⁻¹) : ℂ) • v i)) |
| 148 | simp only [mul_inv_rev, Units.val_mul, mul_smul] |
| 149 | |
| 150 | /-- The section action becomes the usual scalar pullback on every chart expression. -/ |
| 151 | theorem Algebra.RawManifoldForm.complexAction_inChart (z : ℂˣ) (form : Algebra.RawManifoldForm E M n) |
| 152 | (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) {y : E} (hy : y ∈ e.target) : |
| 153 | (Algebra.RawManifoldForm.complexAction z form).inChart e y = |
| 154 | (form.inChart e y).compContinuousLinearMap |
| 155 | (ContinuousLinearMap.lsmul ℝ ℂ (↑(z⁻¹) : ℂ)) := by |
| 156 | ext v |
| 157 | change form (e.symm y) (fun i => |
| 158 | ComplexAction.complexTangentSMul (e.symm y) (↑(z⁻¹) : ℂ) (Charts.chartInverseTangentMap e y (v i))) = |
| 159 | form (e.symm y) (fun i => Charts.chartInverseTangentMap e y ((↑(z⁻¹) : ℂ) • v i)) |
| 160 | congr 1 |
| 161 | funext i |
| 162 | exact CovectorAction.complexTangentSMul_chartInverse e he hy (↑(z⁻¹) : ℂ) (v i) |
| 163 | |
| 164 | end |
| 165 | |
| 166 | /-- The actual inverse-scalar section action preserves chartwise smoothness. -/ |
| 167 | theorem Algebra.IsSmoothManifoldFormOn.complexAction {form : Algebra.RawManifoldForm E M n} |
| 168 | {U : Set M} (hform : Algebra.IsSmoothManifoldFormOn form U) (z : ℂˣ) : |
| 169 | Algebra.IsSmoothManifoldFormOn (Algebra.RawManifoldForm.complexAction z form) U := by |
| 170 | intro e he |
| 171 | let L : E →L[ℝ] E := ContinuousLinearMap.lsmul ℝ ℂ (↑(z⁻¹) : ℂ) |
| 172 | have hs := |
| 173 | (ContinuousAlternatingMap.compContinuousLinearMapCLM (F := ℂ) (ι := Fin n) L).contDiff.comp_contDiffOn |
| 174 | (hform e he) |
| 175 | apply hs.congr |
| 176 | intro y hy |
| 177 | exact Algebra.RawManifoldForm.complexAction_inChart z form e he hy.1 |
| 178 | |
| 179 | section |
| 180 | |
| 181 | /-- The inverse-scalar action as an actual complex-linear map on smooth forms. -/ |
| 182 | def Algebra.SmoothManifoldForm.complexAction (z : ℂˣ) : Algebra.SmoothManifoldForm E M n →ₗ[ℂ] Algebra.SmoothManifoldForm E M n where |
| 183 | toFun form := ⟨Algebra.RawManifoldForm.complexAction z form.1, form.smooth.complexAction z⟩ |
| 184 | map_add' form other := Subtype.ext ((Algebra.RawManifoldForm.complexAction z).map_add form.1 other.1) |
| 185 | map_smul' c form := Subtype.ext ((Algebra.RawManifoldForm.complexAction z).map_smul c form.1) |
| 186 | |
| 187 | @[simp] |
| 188 | theorem Algebra.SmoothManifoldForm.complexAction_coe (z : ℂˣ) (form : Algebra.SmoothManifoldForm E M n) : |
| 189 | (Algebra.SmoothManifoldForm.complexAction z form : Algebra.RawManifoldForm E M n) = |
| 190 | Algebra.RawManifoldForm.complexAction z (form : Algebra.RawManifoldForm E M n) := rfl |
| 191 | |
| 192 | @[simp] |
| 193 | theorem Algebra.SmoothManifoldForm.complexAction_one (form : Algebra.SmoothManifoldForm E M n) : Algebra.SmoothManifoldForm.complexAction 1 form = form := by |
| 194 | apply Subtype.ext |
| 195 | exact Algebra.RawManifoldForm.complexAction_one form.1 |
| 196 | |
| 197 | theorem Algebra.SmoothManifoldForm.complexAction_mul (z w : ℂˣ) (form : Algebra.SmoothManifoldForm E M n) : |
| 198 | Algebra.SmoothManifoldForm.complexAction (z * w) form = Algebra.SmoothManifoldForm.complexAction z (Algebra.SmoothManifoldForm.complexAction w form) := by |
| 199 | apply Subtype.ext |
| 200 | exact Algebra.RawManifoldForm.complexAction_mul z w form.1 |
| 201 | |
| 202 | /-- The inverse-scalar maps give a group representation on genuine smooth forms. -/ |
| 203 | def Algebra.SmoothManifoldForm.complexActionRepresentation : ℂˣ →* Module.End ℂ (Algebra.SmoothManifoldForm E M n) where |
| 204 | toFun := Algebra.SmoothManifoldForm.complexAction |
| 205 | map_one' := LinearMap.ext Algebra.SmoothManifoldForm.complexAction_one |
| 206 | map_mul' z w := LinearMap.ext (Algebra.SmoothManifoldForm.complexAction_mul z w) |
| 207 | |
| 208 | end |
| 209 | |
| 210 | /-- The tangent eigencharacter condition is exactly an equality of actual covector sections. -/ |
| 211 | theorem CovectorAction.hasTangentBidegree_iff_section_action {p q : ℕ} (form : Algebra.RawManifoldForm E M (p + q)) : |
| 212 | CovectorAction.HasTangentBidegree E M p q form ↔ ∀ z : ℂˣ, |
| 213 | Algebra.RawManifoldForm.complexAction z form = |
| 214 | (((z : ℂ) ^ p)⁻¹ * ((star (z : ℂ)) ^ q)⁻¹) • form := by |
| 215 | constructor |
| 216 | · intro hform z |
| 217 | funext x |
| 218 | ext v |
| 219 | exact hform x z v |
| 220 | · intro hform x z v |
| 221 | exact congrArg (fun f : Algebra.RawManifoldForm E M (p + q) => f x v) (hform z) |
| 222 | |
| 223 | end |
| 224 | |
| 225 | end OAI.Analysis.DifferentialForms.Manifold |