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.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Conjugation |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses |
| 3 | import Mathlib.Geometry.Manifold.Complex |
| 4 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 5 | |
| 6 | /-! # Holomorphic Primitive -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicPrimitive.CM.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Holomorphic primitives of exact one-forms, for the HodgeComparison Hodge decomposition. -/ |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 16 | |
| 17 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 18 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 19 | |
| 20 | /-- A real derivative of type (1,0) is the restriction of a complex derivative. -/ |
| 21 | theorem complexDifferentiableAt_of_holomorphic_derivative |
| 22 | {f : E → ℂ} {x : E} (hf : DifferentiableAt ℝ f x) |
| 23 | (ht : OAI.Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 0 |
| 24 | (ContinuousAlternatingMap.ofSubsingleton ℝ E ℂ (0 : Fin 1) (fderiv ℝ f x))) : |
| 25 | DifferentiableAt ℂ f x := by |
| 26 | let D := fderiv ℝ f x |
| 27 | have hsmul (z : ℂ) (v : E) : D (z • v) = z • D v := by |
| 28 | by_cases hz : z = 0 |
| 29 | · simp [hz] |
| 30 | · have h := ht (Units.mk0 z hz) (fun _ => v) |
| 31 | change D (z • v) = OAI.Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter 1 0 (Units.mk0 z hz) * D v at h |
| 32 | simpa only [OAI.Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter, |
| 33 | Units.val_mk0, pow_one, pow_zero, mul_one, smul_eq_mul] using h |
| 34 | let DC : E →L[ℂ] ℂ := |
| 35 | { toFun := D |
| 36 | map_add' := D.map_add |
| 37 | map_smul' := hsmul |
| 38 | cont := D.continuous } |
| 39 | have hres : DC.restrictScalars ℝ = D := by ext v; rfl |
| 40 | exact (hasFDerivAt_of_restrictScalars ℝ hf.hasFDerivAt hres).differentiableAt |
| 41 | |
| 42 | variable {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 43 | |
| 44 | /-- Evaluate a nullary covector to obtain its scalar function. -/ |
| 45 | def zeroFormScalar (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) (x : M) : ℂ := form x 0 |
| 46 | |
| 47 | omit [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] in |
| 48 | /-- The scalar coordinate expression is just composition with the inverse chart. -/ |
| 49 | theorem zeroFormScalar_inChart (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 50 | (e : OpenPartialHomeomorph M E) : |
| 51 | (fun y => form.val.inChart e y 0) = zeroFormScalar form ∘ e.symm := by |
| 52 | funext y |
| 53 | change form (e.symm y) _ = form (e.symm y) 0 |
| 54 | congr 1 |
| 55 | exact Subsingleton.elim _ _ |
| 56 | |
| 57 | omit [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] in |
| 58 | /-- Reconstruct the nullary covector from its scalar coordinate expression. -/ |
| 59 | theorem zeroFormScalar_reconstruct (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 60 | (e : OpenPartialHomeomorph M E) : |
| 61 | form.val.inChart e = fun y => ContinuousAlternatingMap.constOfIsEmpty ℝ E (Fin 0) |
| 62 | (zeroFormScalar form (e.symm y)) := by |
| 63 | funext y |
| 64 | ext v |
| 65 | change form (e.symm y) _ = form (e.symm y) 0 |
| 66 | congr 1 |
| 67 | exact Subsingleton.elim _ _ |
| 68 | |
| 69 | omit [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] in |
| 70 | theorem zeroFormScalar_contDiffAt_inChart (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 71 | (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) {y : E} |
| 72 | (hy : y ∈ e.target) : |
| 73 | ContDiffAt ℝ ∞ (zeroFormScalar form ∘ e.symm) y := by |
| 74 | rw [← zeroFormScalar_inChart form e] |
| 75 | exact (ContinuousAlternatingMap.constOfIsEmptyLIE ℝ E ℂ (Fin 0)).symm.contDiff.comp_contDiffAt y |
| 76 | (OAI.Analysis.DifferentialForms.Manifold.Derivative.smoothForm_contDiffAt_inChart form.property e he hy) |
| 77 | |
| 78 | variable [IsManifold 𝓘(ℝ, E) ∞ M] |
| 79 | |
| 80 | /-- A scalar primitive whose differential has type (1,0) is holomorphic in charts. -/ |
| 81 | theorem zeroFormScalar_complexDifferentiableAt_inChart |
| 82 | (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 83 | (ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 1 0 (OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form).val) |
| 84 | (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) {y : E} |
| 85 | (hy : y ∈ e.target) : |
| 86 | DifferentiableAt ℂ (zeroFormScalar form ∘ e.symm) y := by |
| 87 | apply complexDifferentiableAt_of_holomorphic_derivative |
| 88 | ((zeroFormScalar_contDiffAt_inChart form e he hy).differentiableAt (by simp)) |
| 89 | have h := ht e he y hy |
| 90 | rw [OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_inChart form e he hy, zeroFormScalar_reconstruct, |
| 91 | extDeriv_constOfIsEmpty] at h |
| 92 | exact h |
| 93 | |
| 94 | variable [IsManifold 𝓘(ℂ, E) ∞ M] |
| 95 | |
| 96 | /-- Such a primitive is holomorphic on the actual complex manifold. -/ |
| 97 | theorem zeroFormScalar_mdifferentiable |
| 98 | (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 99 | (ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 1 0 (OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form).val) : |
| 100 | MDifferentiable 𝓘(ℂ, E) 𝓘(ℂ, ℂ) (zeroFormScalar form) := by |
| 101 | intro x |
| 102 | let e := chartAt E x |
| 103 | have hex : x ∈ e.source := mem_chart_source E x |
| 104 | have he : e ∈ atlas E M := chart_mem_atlas E x |
| 105 | have hd := zeroFormScalar_complexDifferentiableAt_inChart form ht e he (e.map_source hex) |
| 106 | have hediff : MDifferentiableAt 𝓘(ℂ, E) 𝓘(ℂ, E) e x := |
| 107 | (contMDiffAt_of_mem_maximalAtlas |
| 108 | (IsManifold.subset_maximalAtlas (I := 𝓘(ℂ, E)) (n := ∞) he) hex).mdifferentiableAt |
| 109 | (by simp) |
| 110 | have hc := hd.mdifferentiableAt.comp x hediff |
| 111 | have heq : (zeroFormScalar form ∘ e.symm) ∘ e =ᶠ[𝓝 x] zeroFormScalar form := by |
| 112 | filter_upwards [e.open_source.mem_nhds hex] with y hy |
| 113 | exact congrArg (zeroFormScalar form) (e.left_inv hy) |
| 114 | exact heq.mdifferentiableAt_iff.mp hc |
| 115 | |
| 116 | omit [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [IsManifold 𝓘(ℂ, E) ∞ M] in |
| 117 | /-- A locally constant scalar function has zero exterior derivative. -/ |
| 118 | theorem d_zeroForm_eq_zero_of_locallyConstant |
| 119 | (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 120 | (hf : IsLocallyConstant (zeroFormScalar form)) : |
| 121 | OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form = 0 := by |
| 122 | apply OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 123 | intro x |
| 124 | let e := chartAt E x |
| 125 | have hex : x ∈ e.source := mem_chart_source E x |
| 126 | have hcont : ContinuousAt e.symm (e x) := e.symm.continuousAt (e.map_source hex) |
| 127 | have heq : zeroFormScalar form ∘ e.symm =ᶠ[𝓝 (e x)] |
| 128 | fun _ => zeroFormScalar form x := by |
| 129 | change ∀ᶠ y in 𝓝 (e x), zeroFormScalar form (e.symm y) = zeroFormScalar form x |
| 130 | have h := hcont.tendsto.eventually (hf.eventually_eq (e.symm (e x))) |
| 131 | simpa only [Function.comp_apply, e.left_inv hex] using h |
| 132 | have hder : fderiv ℝ (zeroFormScalar form ∘ e.symm) (e x) = 0 := by |
| 133 | rw [heq.fderiv_eq] |
| 134 | exact fderiv_const_apply _ |
| 135 | ext v |
| 136 | change extDeriv (form.val.inChart e) (e x) |
| 137 | (fun i => OAI.Analysis.DifferentialForms.Manifold.Charts.chartTangentMap e x (v i)) = 0 |
| 138 | rw [zeroFormScalar_reconstruct, extDeriv_constOfIsEmpty] |
| 139 | change fderiv ℝ (zeroFormScalar form ∘ e.symm) (e x) _ = 0 |
| 140 | rw [hder] |
| 141 | rfl |
| 142 | |
| 143 | variable [CompactSpace M] |
| 144 | |
| 145 | /-- On a compact complex manifold an exact holomorphic one-form vanishes. -/ |
| 146 | theorem d_zeroForm_eq_zero_of_holomorphic |
| 147 | (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 148 | (ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 1 0 (OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form).val) : |
| 149 | OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form = 0 := |
| 150 | d_zeroForm_eq_zero_of_locallyConstant form |
| 151 | (zeroFormScalar_mdifferentiable form ht).isLocallyConstant |
| 152 | |
| 153 | /-- A holomorphic closed one-form with zero de Rham class is zero. -/ |
| 154 | theorem holomorphic_oneForm_eq_zero_of_class_eq_zero |
| 155 | (form : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M 1) |
| 156 | (ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 1 0 form.val.val) |
| 157 | (hc : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E M 1 form = 0) : form = 0 := by |
| 158 | obtain ⟨primitive, hp⟩ := (OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass_eq_zero_iff E M 1 form).mp hc |
| 159 | change OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d primitive = form.val at hp |
| 160 | apply Subtype.ext |
| 161 | change form.val = 0 |
| 162 | rw [← hp] |
| 163 | apply d_zeroForm_eq_zero_of_holomorphic |
| 164 | simpa only [hp] using ht |
| 165 | |
| 166 | /-- The class map is injective on holomorphic closed one-forms. -/ |
| 167 | theorem holomorphic_formClass_injective : |
| 168 | Function.Injective (AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.manifoldPureFormClass E M 1 0) := by |
| 169 | intro form other h |
| 170 | have hc : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E M 1 (form.val - other.val) = 0 := by |
| 171 | rw [map_sub, sub_eq_zero] |
| 172 | exact h |
| 173 | have ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 1 0 (form.val - other.val).val.val := |
| 174 | (AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms E M 1 0).sub_mem form.property other.property |
| 175 | have hz := holomorphic_oneForm_eq_zero_of_class_eq_zero (form.val - other.val) ht hc |
| 176 | exact Subtype.ext (sub_eq_zero.mp hz) |
| 177 | |
| 178 | /-- Conjugation reduces exact antiholomorphic one-forms to the holomorphic case. -/ |
| 179 | theorem d_zeroForm_eq_zero_of_antiholomorphic |
| 180 | (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 181 | (ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 0 1 (OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form).val) : |
| 182 | OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form = 0 := by |
| 183 | have hconj : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 1 0 |
| 184 | (OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (Conjugation.CM.Construction.conjugateSmoothForm form)).val := by |
| 185 | rw [Conjugation.CM.Construction.d_conjugateSmoothForm] |
| 186 | apply (OAI.Analysis.DifferentialForms.Manifold.CovectorAction.hasManifoldBidegree_iff_tangentBidegree _).mpr |
| 187 | exact Conjugation.CM.Construction.conjugateRawForm_antiholomorphic _ |
| 188 | ((OAI.Analysis.DifferentialForms.Manifold.CovectorAction.hasManifoldBidegree_iff_tangentBidegree _).mp ht) |
| 189 | have hz := d_zeroForm_eq_zero_of_holomorphic (Conjugation.CM.Construction.conjugateSmoothForm form) hconj |
| 190 | rw [Conjugation.CM.Construction.d_conjugateSmoothForm] at hz |
| 191 | have h := congrArg Conjugation.CM.Construction.conjugateSmoothForm hz |
| 192 | simpa only [Conjugation.CM.Construction.conjugateSmoothForm_involutive, Conjugation.CM.Construction.conjugateSmoothForm_zero] using h |
| 193 | |
| 194 | /-- A vanishing antiholomorphic de Rham class has zero representative. -/ |
| 195 | theorem antiholomorphic_oneForm_eq_zero_of_class_eq_zero |
| 196 | (form : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M 1) |
| 197 | (ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 0 1 form.val.val) |
| 198 | (hc : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E M 1 form = 0) : form = 0 := by |
| 199 | obtain ⟨primitive, hp⟩ := (OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass_eq_zero_iff E M 1 form).mp hc |
| 200 | change OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d primitive = form.val at hp |
| 201 | apply Subtype.ext |
| 202 | change form.val = 0 |
| 203 | rw [← hp] |
| 204 | apply d_zeroForm_eq_zero_of_antiholomorphic |
| 205 | simpa only [hp] using ht |
| 206 | |
| 207 | /-- The antiholomorphic class map is injective as well. -/ |
| 208 | theorem antiholomorphic_formClass_injective : |
| 209 | Function.Injective (AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.manifoldPureFormClass E M 0 1) := by |
| 210 | intro form other h |
| 211 | have hc : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E M 1 (form.val - other.val) = 0 := by |
| 212 | rw [map_sub, sub_eq_zero] |
| 213 | exact h |
| 214 | have ht : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M 0 1 (form.val - other.val).val.val := |
| 215 | (AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms E M 0 1).sub_mem form.property other.property |
| 216 | have hz := antiholomorphic_oneForm_eq_zero_of_class_eq_zero (form.val - other.val) ht hc |
| 217 | exact Subtype.ext (sub_eq_zero.mp hz) |
| 218 | |
| 219 | end |
| 220 | |
| 221 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicPrimitive.CM.Construction |