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.FourierEnergy |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CompactEnergy |
| 3 | |
| 4 | /-! # Sobolev Inv -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevInv.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Weak Dirichlet solvability on the actual completed Sobolev space of a compact domain. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 17 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 18 | {ι : Type*} [Fintype ι] |
| 19 | |
| 20 | def supportedH1Gradient (b : OrthonormalBasis ι ℝ E) (K : Set E) : |
| 21 | SobolevIs.CM.Construction.supportedH1Coordinates K →L[ℂ] PiLp 2 (fun _ : ι => Lp ℂ 2 (volume : Measure E)) := |
| 22 | (FourierEnergy.CM.Construction.sobolevNormalizedGradient b).comp (SobolevIs.CM.Construction.supportedH1Coordinates K).subtypeL |
| 23 | |
| 24 | /-- The genuine completed-space energy problem is uniquely solvable on a compact domain. -/ |
| 25 | theorem dirichlet_functional_weak_existsUnique [Nontrivial E] (b : OrthonormalBasis ι ℝ E) |
| 26 | {K : Set E} (hK : IsCompact K) (ℓ : SobolevIs.CM.Construction.supportedH1Coordinates K →L[ℂ] ℂ) : |
| 27 | ∃! u : SobolevIs.CM.Construction.supportedH1Coordinates K, ∀ v : SobolevIs.CM.Construction.supportedH1Coordinates K, |
| 28 | inner ℂ (supportedH1Gradient b K u) (supportedH1Gradient b K v) = ℓ v := by |
| 29 | apply CompactEnergy.CM.Construction.graphEnergy_weak_existsUnique (SobolevIs.CM.Construction.supportedH1Embedding K) (supportedH1Gradient b K) |
| 30 | (SobolevIs.CM.Construction.supportedH1Embedding_isCompact hK) |
| 31 | ((FourierEnergy.CM.Construction.sobolevNormalizedGradient_injective b).comp Subtype.val_injective) |
| 32 | intro u v |
| 33 | exact FourierEnergy.CM.Construction.sobolev_graph_inner b u.val v.val |
| 34 | |
| 35 | /-- In particular every L² forcing term has a unique weak solution of the normalized Poisson |
| 36 | equation. The gradient here is the ordinary gradient divided by 2π, up to a unit complex factor. -/ |
| 37 | theorem dirichlet_l2_weak_existsUnique [Nontrivial E] (b : OrthonormalBasis ι ℝ E) |
| 38 | {K : Set E} (hK : IsCompact K) (f : Lp ℂ 2 (volume : Measure E)) : |
| 39 | ∃! u : SobolevIs.CM.Construction.supportedH1Coordinates K, ∀ v : SobolevIs.CM.Construction.supportedH1Coordinates K, |
| 40 | inner ℂ (supportedH1Gradient b K u) (supportedH1Gradient b K v) = |
| 41 | inner ℂ f (SobolevIs.CM.Construction.supportedH1Embedding K v) := |
| 42 | dirichlet_functional_weak_existsUnique b hK ((innerSL ℂ f).comp (SobolevIs.CM.Construction.supportedH1Embedding K)) |
| 43 | |
| 44 | /-- The unnormalized weak Poisson equation, expressed through actual distributional derivatives. -/ |
| 45 | theorem dirichlet_poisson_weak_existsUnique [Nontrivial E] (b : OrthonormalBasis ι ℝ E) |
| 46 | {K : Set E} (hK : IsCompact K) (f : Lp ℂ 2 (volume : Measure E)) : |
| 47 | ∃! u : SobolevIs.CM.Construction.supportedH1Coordinates K, ∀ v : SobolevIs.CM.Construction.supportedH1Coordinates K, |
| 48 | ∑ i, inner ℂ (SobolevDifferential.CM.Construction.sobolevL2Derivative (b i) u.val) (SobolevDifferential.CM.Construction.sobolevL2Derivative (b i) v.val) = |
| 49 | inner ℂ f (SobolevIs.CM.Construction.supportedH1Embedding K v) := by |
| 50 | let a : ℂ := (((2 * Real.pi) ^ 2 : ℝ) : ℂ) |
| 51 | have ha : a ≠ 0 := by dsimp [a]; exact_mod_cast pow_ne_zero 2 (mul_ne_zero (by norm_num) Real.pi_ne_zero) |
| 52 | let ℓ : SobolevIs.CM.Construction.supportedH1Coordinates K →L[ℂ] ℂ := (innerSL ℂ f).comp (SobolevIs.CM.Construction.supportedH1Embedding K) |
| 53 | obtain ⟨u, hu, huniq⟩ := dirichlet_functional_weak_existsUnique b hK (a⁻¹ • ℓ) |
| 54 | refine ⟨u, ?_, ?_⟩ |
| 55 | · intro v |
| 56 | rw [FourierEnergy.CM.Construction.sobolev_derivative_energy] |
| 57 | change a * inner ℂ (supportedH1Gradient b K u) (supportedH1Gradient b K v) = ℓ v |
| 58 | rw [hu] |
| 59 | change a * (a⁻¹ * ℓ v) = ℓ v |
| 60 | rw [mul_inv_cancel_left₀ ha] |
| 61 | · intro u' hu' |
| 62 | apply huniq |
| 63 | intro v |
| 64 | apply mul_left_cancel₀ ha |
| 65 | change a * inner ℂ (supportedH1Gradient b K u') (supportedH1Gradient b K v) = |
| 66 | a * (a⁻¹ * ℓ v) |
| 67 | rw [mul_inv_cancel_left₀ ha] |
| 68 | exact (FourierEnergy.CM.Construction.sobolev_derivative_energy b u'.val v.val).symm.trans (hu' v) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | section |
| 73 | |
| 74 | /-! Weak-derivative characterizations and multiplication by smooth cutoff functions. -/ |
| 75 | |
| 76 | open _root_.MeasureTheory TemperedDistribution |
| 77 | open scoped SchwartzMap LineDeriv Laplacian ENNReal |
| 78 | |
| 79 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 80 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 81 | [NormedAddCommGroup F] [InnerProductSpace ℂ F] [CompleteSpace F] |
| 82 | |
| 83 | theorem memSobolev_finset_sum {ι : Type*} (S : Finset ι) {s : ℝ} {f : ι → 𝓢'(E, F)} |
| 84 | (hf : ∀ i ∈ S, MemSobolev s 2 (f i)) : MemSobolev s 2 (∑ i ∈ S, f i) := by |
| 85 | classical |
| 86 | induction S using Finset.induction_on with |
| 87 | | empty => simpa only [Finset.sum_empty] using memSobolev_fun_zero E F s 2 |
| 88 | | @insert i S hi ih => |
| 89 | rw [Finset.sum_insert hi] |
| 90 | exact (hf i (Finset.mem_insert_self i S)).add |
| 91 | (ih (fun j hj => hf j (Finset.mem_insert_of_mem hj))) |
| 92 | |
| 93 | /-- One additional Sobolev order is equivalent to controlling all first weak derivatives. -/ |
| 94 | theorem memSobolev_succ_iff_derivatives {ι : Type*} [Fintype ι] |
| 95 | (b : OrthonormalBasis ι ℝ E) (s : ℝ) (u : 𝓢'(E, F)) : |
| 96 | MemSobolev (s + 1) 2 u ↔ MemSobolev s 2 u ∧ ∀ i, MemSobolev s 2 (∂_{b i} u) := by |
| 97 | constructor |
| 98 | · intro hu |
| 99 | refine ⟨hu.mono (by linarith), ?_⟩ |
| 100 | intro i |
| 101 | have h := hu.lineDerivOp (m := b i) |
| 102 | simpa only [add_sub_cancel_right] using h |
| 103 | · rintro ⟨hu, hd⟩ |
| 104 | have hΔ : MemSobolev (s - 1) 2 (Δ u) := by |
| 105 | rw [TemperedDistribution.laplacian_eq_sum b] |
| 106 | exact memSobolev_finset_sum Finset.univ (fun i _ => (hd i).lineDerivOp) |
| 107 | have h := EllipticLocal.CM.Construction.laplacian_sobolev_regularity (hu.mono (by linarith : s - 1 ≤ s)) hΔ |
| 108 | rwa [show s - 1 + 2 = s + 1 by ring] at h |
| 109 | |
| 110 | omit [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] in |
| 111 | theorem schwartz_cutoff_leibniz (g φ : 𝓢(E, ℂ)) (m : E) : |
| 112 | ∂_{m} (SchwartzMap.smulLeftCLM ℂ g φ) = |
| 113 | SchwartzMap.smulLeftCLM ℂ (∂_{m} g : 𝓢(E, ℂ)) φ + |
| 114 | SchwartzMap.smulLeftCLM ℂ g (∂_{m} φ) := by |
| 115 | ext x |
| 116 | simp only [SchwartzMap.lineDerivOp_apply_eq_fderiv, add_apply, |
| 117 | SchwartzMap.smulLeftCLM_apply_apply g.hasTemperateGrowth, |
| 118 | SchwartzMap.smulLeftCLM_apply_apply (∂_{m} g : 𝓢(E, ℂ)).hasTemperateGrowth] |
| 119 | rw [SchwartzMap.smulLeftCLM_apply g.hasTemperateGrowth, |
| 120 | fderiv_fun_smul g.differentiableAt φ.differentiableAt] |
| 121 | simp only [add_apply, smul_apply, ContinuousLinearMap.smulRight_apply, smul_eq_mul] |
| 122 | ring |
| 123 | |
| 124 | omit [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] [CompleteSpace F] in |
| 125 | /-- Leibniz's rule for actual distributional multiplication by a Schwartz cutoff. -/ |
| 126 | theorem distribution_cutoff_leibniz (g : 𝓢(E, ℂ)) (m : E) (u : 𝓢'(E, F)) : |
| 127 | ∂_{m} (smulLeftCLM F g u) = |
| 128 | smulLeftCLM F (∂_{m} g : 𝓢(E, ℂ)) u + smulLeftCLM F g (∂_{m} u) := by |
| 129 | ext φ |
| 130 | simp only [lineDerivOp_apply_apply, smulLeftCLM_apply_apply, add_apply, map_neg, |
| 131 | schwartz_cutoff_leibniz, map_add] |
| 132 | abel |
| 133 | |
| 134 | theorem memSobolev_zero_schwartz_cutoff (g : 𝓢(E, ℂ)) {u : 𝓢'(E, F)} |
| 135 | (hu : MemSobolev 0 2 u) : MemSobolev 0 2 (smulLeftCLM F g u) := by |
| 136 | obtain ⟨f, rfl⟩ := memSobolev_zero_iff.mp hu |
| 137 | apply memSobolev_zero_iff.mpr |
| 138 | refine ⟨(g.memLp_top (volume : Measure E)).toLp g • f, ?_⟩ |
| 139 | exact (Lp.toTemperedDistribution_smul_eq g.hasTemperateGrowth (g.memLp_top volume) f).symm |
| 140 | |
| 141 | /-- Smooth Schwartz cutoffs preserve every nonnegative integer Sobolev order. -/ |
| 142 | theorem memSobolev_nat_schwartz_cutoff (n : ℕ) (g : 𝓢(E, ℂ)) {u : 𝓢'(E, F)} |
| 143 | (hu : MemSobolev (n : ℝ) 2 u) : MemSobolev (n : ℝ) 2 (smulLeftCLM F g u) := by |
| 144 | induction n generalizing g u with |
| 145 | | zero => |
| 146 | simp only [Nat.cast_zero] at hu ⊢ |
| 147 | exact memSobolev_zero_schwartz_cutoff g hu |
| 148 | | succ n ih => |
| 149 | have hparts := (memSobolev_succ_iff_derivatives (stdOrthonormalBasis ℝ E) (n : ℝ) u).mp |
| 150 | (by simpa only [Nat.cast_succ] using hu) |
| 151 | rw [Nat.cast_succ] |
| 152 | apply (memSobolev_succ_iff_derivatives (stdOrthonormalBasis ℝ E) (n : ℝ) _).mpr |
| 153 | refine ⟨ih g hparts.1, ?_⟩ |
| 154 | intro i |
| 155 | rw [distribution_cutoff_leibniz] |
| 156 | exact (ih (∂_{stdOrthonormalBasis ℝ E i} g) hparts.1).add (ih g (hparts.2 i)) |
| 157 | |
| 158 | omit [MeasurableSpace E] [BorelSpace E] [CompleteSpace F] in |
| 159 | /-- The commutator of the actual Laplacian with a cutoff has only first derivatives of u. -/ |
| 160 | theorem distribution_cutoff_laplacian {ι : Type*} [Fintype ι] |
| 161 | (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) (u : 𝓢'(E, F)) : |
| 162 | Δ (smulLeftCLM F g u) = smulLeftCLM F g (Δ u) + |
| 163 | ∑ i, (smulLeftCLM F (∂_{b i} (∂_{b i} g) : 𝓢(E, ℂ)) u + |
| 164 | smulLeftCLM F (∂_{b i} g : 𝓢(E, ℂ)) (∂_{b i} u) + |
| 165 | smulLeftCLM F (∂_{b i} g : 𝓢(E, ℂ)) (∂_{b i} u)) := by |
| 166 | simp only [TemperedDistribution.laplacian_eq_sum b, distribution_cutoff_leibniz, |
| 167 | LineDeriv.lineDerivOp_add, map_sum, Finset.sum_add_distrib] |
| 168 | abel |
| 169 | |
| 170 | /-- Local elliptic gain after cutting off: one derivative of u and the cutoff forcing control |
| 171 | two derivatives of the cutoff solution. -/ |
| 172 | theorem cutoff_elliptic_step (n : ℕ) (g : 𝓢(E, ℂ)) {u : 𝓢'(E, F)} |
| 173 | (hu : MemSobolev ((n : ℝ) + 1) 2 u) |
| 174 | (hforcing : MemSobolev (n : ℝ) 2 (smulLeftCLM F g (Δ u))) : |
| 175 | MemSobolev ((n : ℝ) + 2) 2 (smulLeftCLM F g u) := by |
| 176 | let b := stdOrthonormalBasis ℝ E |
| 177 | have hp := (memSobolev_succ_iff_derivatives b (n : ℝ) u).mp hu |
| 178 | have hcut := memSobolev_nat_schwartz_cutoff n g hp.1 |
| 179 | apply EllipticLocal.CM.Construction.laplacian_sobolev_regularity hcut |
| 180 | rw [distribution_cutoff_laplacian b] |
| 181 | apply hforcing.add |
| 182 | apply memSobolev_finset_sum Finset.univ |
| 183 | intro i _ |
| 184 | exact ((memSobolev_nat_schwartz_cutoff n (∂_{b i} (∂_{b i} g)) hp.1).add |
| 185 | (memSobolev_nat_schwartz_cutoff n (∂_{b i} g) (hp.2 i))).add |
| 186 | (memSobolev_nat_schwartz_cutoff n (∂_{b i} g) (hp.2 i)) |
| 187 | |
| 188 | end |
| 189 | |
| 190 | /-! Continuous representatives obtained from the genuine Fourier and Sobolev comparison. -/ |
| 191 | |
| 192 | open _root_.MeasureTheory TemperedDistribution FourierTransform |
| 193 | open scoped SchwartzMap BoundedContinuousFunction ENNReal |
| 194 | |
| 195 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 196 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 197 | [NormedAddCommGroup F] [InnerProductSpace ℂ F] [CompleteSpace F] |
| 198 | |
| 199 | /-- The actual distribution represented by a bounded continuous function. -/ |
| 200 | def boundedFunctionDistribution (f : E →ᵇ F) : 𝓢'(E, F) := |
| 201 | ((f.memLp_top.toLp f : Lp F ⊤ (volume : Measure E)) : 𝓢'(E, F)) |
| 202 | |
| 203 | theorem boundedFunctionDistribution_apply (f : E →ᵇ F) (φ : 𝓢(E, ℂ)) : |
| 204 | boundedFunctionDistribution f φ = ∫ x, φ x • f x := by |
| 205 | rw [boundedFunctionDistribution, Lp.toTemperedDistribution_apply] |
| 206 | apply integral_congr_ae |
| 207 | filter_upwards [f.memLp_top.coeFn_toLp (μ := (volume : Measure E))] with x hx |
| 208 | rw [hx] |
| 209 | |
| 210 | /-- The inverse Fourier integral of an L¹ function represents its distributional inverse transform. -/ |
| 211 | theorem l1_fourierInv_distribution (v : Lp F 1 (volume : Measure E)) : |
| 212 | boundedFunctionDistribution (Real.Lp.fourierTransformInv v) = 𝓕⁻ (v : 𝓢'(E, F)) := by |
| 213 | ext φ |
| 214 | rw [boundedFunctionDistribution_apply, TemperedDistribution.fourierInv_apply, |
| 215 | Lp.toTemperedDistribution_apply] |
| 216 | have h := VectorFourier.integral_fourierIntegral_smul_eq_flip |
| 217 | (f := (φ : E → ℂ)) (g := (v : E → F)) (L := -innerₗ E) |
| 218 | (μ := (volume : Measure E)) (ν := (volume : Measure E)) |
| 219 | Real.continuous_fourierChar |
| 220 | (by change Continuous (fun p : E × E => -inner ℝ p.1 p.2); fun_prop) |
| 221 | φ.integrable (L1.integrable_coeFn v) |
| 222 | have hflip : (-innerₗ E).flip = -innerₗ E := by |
| 223 | ext x y |
| 224 | change -inner ℝ y x = -inner ℝ x y |
| 225 | rw [real_inner_comm] |
| 226 | rw [hflip] at h |
| 227 | change (∫ x : E, (𝓕⁻ (φ : E → ℂ)) x • v x) = |
| 228 | ∫ x : E, φ x • (𝓕⁻ (v : E → F)) x at h |
| 229 | simpa only [Real.Lp.fourierTransformInv_apply, SchwartzMap.fourierInv_coe] using h.symm |
| 230 | |
| 231 | /-- Sobolev order greater than half the real dimension has a bounded continuous representative. -/ |
| 232 | theorem sobolev_exists_boundedContinuous {s : ℝ} (hs : Module.finrank ℝ E < 2 * s) |
| 233 | {u : 𝓢'(E, F)} (hu : MemSobolev s 2 u) : |
| 234 | ∃ f : E →ᵇ F, boundedFunctionDistribution f = u := by |
| 235 | obtain ⟨v, hv⟩ := hu.fourier_memL1 hs |
| 236 | refine ⟨Real.Lp.fourierTransformInv v, ?_⟩ |
| 237 | rw [l1_fourierInv_distribution, ← hv, fourierInv_fourier_eq] |
| 238 | |
| 239 | end |
| 240 | |
| 241 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevInv.CM.Construction |