goldbach-spectral-bridge
Li and Liu's GRH + S ⇒ Goldbach in Lean, checked against the paper by Comparator: clean it up together, and settle S
fix: identify the two boundary rows and tail integrals explicitly
Browse filesChecks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+28 −13 ConditionalGoldbach/Proofs/ResidualWindow.lean View file
| @@ -30,7 +30,15 @@ lemma windowKernel_mem {a b : ℝ} {K : ℂ → ℂ → ℂ} | ||
| 30 | 30 | have hm : MeasurableSet S := (isClosed_le continuous_fst.abs continuous_const).measurableSet.inter |
| 31 | 31 | (isClosed_le continuous_snd.abs continuous_const).measurableSet |
| 32 | 32 | have h := (hK x hx y hy).indicator hm.nullMeasurableSet |
| 33 | - simpa [S, Set.indicator, windowKernel, line] using h | |
| 33 | + apply h.congr | |
| 34 | + filter_upwards [] with p | |
| 35 | + have hx' : (line x p.1).im = p.1 := by simp [line] | |
| 36 | + have hy' : (line y p.2).im = p.2 := by simp [line] | |
| 37 | + by_cases hp : |p.1| ≤ H ∧ |p.2| ≤ H | |
| 38 | + · rw [Set.indicator_of_mem (show p ∈ S from hp)] | |
| 39 | + simp only [windowKernel, hx', hy', if_pos hp] | |
| 40 | + · rw [Set.indicator_of_notMem (show p ∉ S from hp)] | |
| 41 | + simp only [windowKernel, hx', hy', if_neg hp] | |
| 34 | 42 | |
| 35 | 43 | /-- Compress the masked boundary operator. The masked kernel only needs to be square integrable. -/ |
| 36 | 44 | def windowOperator {a b : ℝ} (hab : a < b) (K : ℂ → ℂ → ℂ) |
| @@ -58,12 +66,15 @@ private lemma boundaryKernelOperator_sub {a b : ℝ} {K J : ℂ → ℂ → ℂ} | ||
| 58 | 66 | boundaryKernelOperator a b K hK - boundaryKernelOperator a b J hJ := by |
| 59 | 67 | apply ContinuousLinearMap.ext |
| 60 | 68 | intro f |
| 69 | + have row (x : ℝ) (hx : x ∈ ({a,b} : Finset ℝ)) : | |
| 70 | + l2KernelOperator ((hK x hx a (by simp)).sub (hJ x hx a (by simp))) f.fst + | |
| 71 | + l2KernelOperator ((hK x hx b (by simp)).sub (hJ x hx b (by simp))) f.snd = | |
| 72 | + (l2KernelOperator (hK x hx a (by simp)) f.fst + l2KernelOperator (hK x hx b (by simp)) f.snd) - | |
| 73 | + (l2KernelOperator (hJ x hx a (by simp)) f.fst + l2KernelOperator (hJ x hx b (by simp)) f.snd) := by | |
| 74 | + rw [l2KernelOperator_sub_apply, l2KernelOperator_sub_apply] | |
| 75 | + abel | |
| 61 | 76 | apply WithLp.ofLp_injective 2 |
| 62 | - apply Prod.ext | |
| 63 | - · change _ + _ = (_ + _) - (_ + _) | |
| 64 | - rw [l2KernelOperator_sub_apply, l2KernelOperator_sub_apply]; abel | |
| 65 | - · change _ + _ = (_ + _) - (_ + _) | |
| 66 | - rw [l2KernelOperator_sub_apply, l2KernelOperator_sub_apply]; abel | |
| 77 | + exact Prod.ext (row a (by simp)) (row b (by simp)) | |
| 67 | 78 | |
| 68 | 79 | private lemma compression_energy_bound {a b : ℝ} (hab : a < b) (K : ℂ → ℂ → ℂ) |
| 69 | 80 | (hK : BoundarySquareIntegrable a b K) : |
| @@ -93,7 +104,8 @@ theorem window_error_le_tail_energy {a b : ℝ} (hab : a < b) (K : ℂ → ℂ | ||
| 93 | 104 | have hc (B W : BoundaryL2Pair →L[ℂ] BoundaryL2Pair) : |
| 94 | 105 | hardyBoundaryCompression hab B - hardyBoundaryCompression hab W = |
| 95 | 106 | hardyBoundaryCompression hab (B-W) := by |
| 96 | - ext f | |
| 107 | + apply ContinuousLinearMap.ext | |
| 108 | + intro f | |
| 97 | 109 | exact (map_sub (hardyTraceIsometry hab).toContinuousLinearMap.adjoint _ _).symm |
| 98 | 110 | unfold windowOperator |
| 99 | 111 | rw [hc, ← he] |
| @@ -115,7 +127,8 @@ private lemma integral_tailDecay {H : ℝ} (hH : 0 < H) : | ||
| 115 | 127 | rw [integral_comp_abs, setIntegral_indicator measurableSet_Ioi, |
| 116 | 128 | inter_eq_right.mpr (Ioi_subset_Ioi hH.le)] |
| 117 | 129 | have hfi : IntegrableOn f (Ioi H) := by |
| 118 | - simpa only [f, add_comm 1] using integrableOn_add_rpow_Ioi_of_lt | |
| 130 | + rw [show f = (fun t : ℝ => (t+1)^(-(3/2 : ℝ))) by funext t; dsimp only [f]; rw [add_comm 1 t]] | |
| 131 | + exact integrableOn_add_rpow_Ioi_of_lt | |
| 119 | 132 | (by norm_num : (-(3/2 : ℝ)) < -1) (by linarith : -(1 : ℝ) < H) |
| 120 | 133 | have hi : (∫ t in Ioi H, f t) ≤ ∫ t in Ioi H, t ^ (-(3/2 : ℝ)) := by |
| 121 | 134 | apply setIntegral_mono_on hfi (integrableOn_Ioi_rpow_of_lt (by norm_num) hH) measurableSet_Ioi |
| @@ -126,6 +139,7 @@ private lemma integral_tailDecay {H : ℝ} (hH : 0 < H) : | ||
| 126 | 139 | rw [integral_Ioi_rpow_of_lt (by norm_num) hH, |
| 127 | 140 | show -(3/2 : ℝ) + 1 = -(1/2 : ℝ) by norm_num] |
| 128 | 141 | ring_nf |
| 142 | + exact le_rfl | |
| 129 | 143 | |
| 130 | 144 | private lemma window_tail_integral_bound {a b H A : ℝ} (hab : a < b) (hH : 0 < H) (hA : 0 ≤ A) |
| 131 | 145 | (K : ℂ → ℂ → ℂ) (hK : BoundarySquareIntegrable a b K) |
| @@ -137,7 +151,8 @@ private lemma window_tail_integral_bound {a b H A : ℝ} (hab : a < b) (hH : 0 < | ||
| 137 | 151 | have hd : Integrable decay := hardy_decay_integrable |
| 138 | 152 | have ht := tailDecay_integrable H |
| 139 | 153 | have hF : Integrable F volume := by |
| 140 | - simpa only [F, Measure.volume_eq_prod] using ((ht.mul_prod hd).add (hd.mul_prod ht)).const_mul A | |
| 154 | + simpa only [F, Pi.add_apply, Measure.volume_eq_prod] using | |
| 155 | + ((ht.mul_prod hd).add (hd.mul_prod ht)).const_mul A | |
| 141 | 156 | have hFi : (∫ p : ℝ × ℝ, F p) ≤ 8 * A * (∫ t, decay t) * H ^ (-(1/2 : ℝ)) := by |
| 142 | 157 | dsimp only [F] |
| 143 | 158 | rw [Measure.volume_eq_prod, integral_const_mul, integral_add (ht.mul_prod hd) (hd.mul_prod ht), |
| @@ -157,7 +172,7 @@ private lemma window_tail_integral_bound {a b H A : ℝ} (hab : a < b) (hH : 0 < | ||
| 157 | 172 | have hdiff := ((hK x hx y hy).sub (hW x hx y hy)).norm.integrable_sq |
| 158 | 173 | calc |
| 159 | 174 | _ = ∫ p : ℝ × ℝ, ‖K (line x p.1) (line y p.2) - W (line x p.1) (line y p.2)‖ ^ 2 := by |
| 160 | - simpa only [Measure.volume_eq_prod] using (integral_prod _ hdiff).symm | |
| 175 | + simpa only [Pi.sub_apply, W, Measure.volume_eq_prod] using (integral_prod _ hdiff).symm | |
| 161 | 176 | _ ≤ ∫ p : ℝ × ℝ, F p := by |
| 162 | 177 | apply integral_mono hdiff hF |
| 163 | 178 | rintro ⟨t,u⟩ |
| @@ -217,9 +232,9 @@ theorem windowResidual_error_log : | ||
| 217 | 232 | apply (window_tail_integral_bound hab hH (mul_nonneg hA.le (pow_nonneg hL.le 16)) |
| 218 | 233 | (weightedKernel N) (residual_blocks N hlarge hGRH) (hbound N inferInstance he hlarge hGRH)).trans |
| 219 | 234 | have hp : (L^36) ^ (-(1/2 : ℝ)) = (L^18)⁻¹ := by |
| 220 | - rw [← Real.rpow_natCast_mul hL.le, show (36 : ℝ) * -(1/2 : ℝ) = -(18 : ℝ) by norm_num, | |
| 221 | - Real.rpow_neg hL.le] | |
| 222 | - norm_cast | |
| 235 | + rw [← Real.rpow_natCast_mul hL.le, | |
| 236 | + show ((36 : ℕ) : ℝ) * -(1/2 : ℝ) = -((18 : ℕ) : ℝ) by norm_num, | |
| 237 | + Real.rpow_neg hL.le, Real.rpow_natCast] | |
| 223 | 238 | rw [hp] |
| 224 | 239 | change 32 * (A * L^16) * _ * (L^18)⁻¹ ≤ _ / L^2 |
| 225 | 240 | field_simp [hL.ne'] |
+9 −1 routes/s3-average-n-shumo/README.md View file
| @@ -51,7 +51,15 @@ $$ | ||
| 51 | 51 | $$ |
| 52 | 52 | \|(B_N)_{bb}\|_{\rm HS}/\mathfrak S_N\ll N^{-1/16}L^4 . |
| 53 | 53 | $$ |
| 54 | -同一估计适用于再截到任意高度的右右块。这段移线和 Gram 估计是书面推导,尚待同行复核。[模型公式](../../ConditionalGoldbach/Definitions/Model.lean) · [ζ 估计](../../ConditionalGoldbach/Proofs/SpectralModelGrowth.lean) · [Gamma 商](../../ConditionalGoldbach/Proofs/SpectralModelBound.lean) | |
| 54 | +于是右右块在 $X<k\le2X$ 上的归一化算子范数平方均值为 $O(X^{-1/8}(\log X)^8)$。同一估计适用于再截到任意高度的右右块。这段移线和 Gram 估计是书面推导,尚待同行复核。[模型公式](../../ConditionalGoldbach/Definitions/Model.lean) · [ζ 估计](../../ConditionalGoldbach/Proofs/SpectralModelGrowth.lean) · [Gamma 商](../../ConditionalGoldbach/Proofs/SpectralModelBound.lean) | |
| 55 | + | |
| 56 | +**混合块只需保留右端的短和。** 现在取 $Y=L^{64}<N/2$(充分大时),记 $F_{\chi,x}(t)=-(L'/L)(1/2+x+it,\chi)/(1+x+it)$,$S_{\chi,x}$ 表示用同一 $w(n/Y)$ 截断后除以同一分母的列,$c_N=2/\varphi(N)$。命题 6.5 和精确的迹公式给出 $c_N\sum_{\chi\ {\rm odd}}\|F_{\chi,a}\|_2^2\ll L^2$。对左列和右列误差使用柯西不等式,将混合块中的 $F_{\chi,b}$ 换为 $S_{\chi,b}$ 的 HS 代价至多 $CL^3Y^{-1/16}=C/L$。左右都用短和所得的核,恰是权为 $w^2$ 的对角核。混合对角尾项的 HS 范数至多 $C_b\sum_{n>Y/2}(\log n)^2n^{-1-a-b}\ll_b Y^{-b}\log^2Y$。模型除以 $\mathfrak S_N$ 后为 $O_b(N^{-b})$,此处用 $a+b\ge b$,$\zeta(1-a-b-i(t-u))$ 与极点的距离至少为 $b$,可沿用右右块的平方可积控制。于是有 | |
| 57 | +$$ | |
| 58 | +\frac{1}{\mathfrak S_N}\left\|(B_N)_{ab}- | |
| 59 | + c_N\sum_{\chi\ {\rm odd}}(F_{\chi,a}-S_{\chi,a})\otimes S_{\chi,b}^{*}\right\|_{\rm HS} | |
| 60 | + \ll L^{-1}. | |
| 61 | +$$ | |
| 62 | +这里 $f\otimes g^{*}$ 的核是 $f(t)\overline{g(u)}$。右端只涉及 $n\le L^{64}$ 的狄利克雷单项式,秩至多 $\lfloor L^{64}\rfloor$。仍需在模数平均后控制左列误差在这些右端方向上的相关。这一归约同样适用于两端截窗。[命题 6.5](../../ConditionalGoldbach/Proofs/QuantitativeBounds.lean) · [边界列的迹公式](../../ConditionalGoldbach/Proofs/CharacterGramOperator.lean) | |
| 55 | 63 | |
| 56 | 64 | **有限矩阵保留符号。** 以下离散化也属书面证明。令 $H=L^{36}$,将 $[-H,H]$ 等分为 $m=\lceil2H L^{46}\rceil$ 个区间,长度 $\Delta=2H/m$,中点为 $t_i$。在两条边界取 $2m$ 阶 Hermitian 矩阵 |
| 57 | 65 | $$ |
