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
feat(ConditionalGoldbach): 将 S-2 余项归约到 Perron 误差的 Gram 算子 #104
Open
+2 −0 ConditionalGoldbach.lean View file
| @@ -1,4 +1,6 @@ | ||
| 1 | 1 | module |
| 2 | 2 | |
| 3 | 3 | public import ConditionalGoldbach.Remaining |
| 4 | +public import ConditionalGoldbach.Proofs.ArithmeticPerronRemainder | |
| 5 | +public import ConditionalGoldbach.Proofs.ResidualTraceComparison | |
| 4 | 6 | public import ConditionalGoldbach.Proofs.SpectralDataAlgebra |
+142 −0 ConditionalGoldbach/Proofs/ArithmeticPerronRemainder.lean added View file
| @@ -0,0 +1,142 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import ConditionalGoldbach.Proofs.CharacterShortPolynomial | |
| 4 | +public import ConditionalGoldbach.Proofs.CharacterSeries | |
| 5 | +public import ConditionalGoldbach.Proofs.DensitySeries | |
| 6 | +public import ConditionalGoldbach.Proofs.PerronDiagonalWeights | |
| 7 | +public import ConditionalGoldbach.Proofs.VariableStripOperators | |
| 8 | + | |
| 9 | +/-! Exact short-sum cancellation in the arithmetic kernel on the Hardy strip. -/ | |
| 10 | +@[expose] public section | |
| 11 | + | |
| 12 | +set_option autoImplicit false | |
| 13 | +noncomputable section | |
| 14 | +open scoped BigOperators ComplexConjugate | |
| 15 | +namespace ConditionalGoldbach | |
| 16 | + | |
| 17 | +/-- The Perron polynomial for the shifted logarithmic derivative at cutoff `N / 2`. -/ | |
| 18 | +def perronShortSum {N : ℕ} (χ : Character N) (s : ℂ) : ℂ := | |
| 19 | + smoothedDirichletPolynomial χ (perronCutoff N) (1 / 2 + s) | |
| 20 | + | |
| 21 | +/-- The signed error used in the Perron truncation of the logarithmic derivative. -/ | |
| 22 | +def perronRemainder {N : ℕ} [NeZero N] (χ : Character N) (s : ℂ) : ℂ := | |
| 23 | + -logDerivative χ s - perronShortSum χ s | |
| 24 | + | |
| 25 | +/-- A summand of the full coprime diagonal Dirichlet series. -/ | |
| 26 | +def coprimeDiagonalTerm (N : ℕ) (w : ℂ) (n : ℕ) : ℂ := | |
| 27 | + if 0 < n ∧ Nat.Coprime n N then (mangoldt n : ℂ) ^ 2 / (n : ℂ) ^ (1 + w) else 0 | |
| 28 | + | |
| 29 | +/-- The diagonal left over after removing the square of the Perron cutoff weight. -/ | |
| 30 | +def perronDiagonalTail (N : ℕ) (w : ℂ) : ℂ := | |
| 31 | + ∑' n, coprimeDiagonalTerm N w n * (1 - (smoothedPerronWeight (perronCutoff N) n : ℂ) ^ 2) | |
| 32 | + | |
| 33 | +/-- The positive diagonal tail obeys the same row-sum bound as the full diagonal. -/ | |
| 34 | +theorem perronDiagonalTail_overlap_sum_le (N n M : ℕ) (hn : 1 ≤ n) (a : ℝ) (ha : 0 < a) : | |
| 35 | + (∑ j ∈ Finset.range M, (1 - smoothedPerronWeight (perronCutoff N) (j + 1) ^ 2) * | |
| 36 | + (diagonalCoefficient N j * (j + 1 : ℕ) ^ (-2 * a) * | |
| 37 | + min ((j + 1 : ℕ) / (n : ℝ)) ((n : ℝ) / (j + 1 : ℕ)))) ≤ | |
| 38 | + 2 * (Real.log 4 + 4) / a := by | |
| 39 | + apply le_trans _ (diagonalCoefficient_overlap_sum_le N n M hn a ha) | |
| 40 | + apply Finset.sum_le_sum | |
| 41 | + intro j _ | |
| 42 | + apply mul_le_of_le_one_left | |
| 43 | + · exact mul_nonneg (mul_nonneg (diagonalCoefficient_nonneg N j) (Real.rpow_nonneg (by positivity) _)) | |
| 44 | + (le_min (by positivity) (by positivity)) | |
| 45 | + · linarith [sq_nonneg (smoothedPerronWeight (perronCutoff N) (j + 1))] | |
| 46 | + | |
| 47 | +private lemma smoothedPolynomialCoeff_pair (N : ℕ) (X : ℝ) (s z : ℂ) (n : ℕ) : | |
| 48 | + (if Nat.Coprime n N then smoothedPolynomialCoeff X (1 / 2 + s) n * | |
| 49 | + conj (smoothedPolynomialCoeff X (1 / 2 + z) n) else 0) = | |
| 50 | + coprimeDiagonalTerm N (s + conj z) n * (smoothedPerronWeight X n : ℂ) ^ 2 := by | |
| 51 | + by_cases hn : 0 < n | |
| 52 | + · by_cases hc : Nat.Coprime n N | |
| 53 | + · have hn' : (n : ℂ) ≠ 0 := by exact_mod_cast hn.ne' | |
| 54 | + have hhalf : conj (1 / 2 : ℂ) = 1 / 2 := by | |
| 55 | + rw [map_div₀, map_one, show conj (2 : ℂ) = 2 from Complex.conj_ofReal 2] | |
| 56 | + have hconj : conj ((n : ℂ) ^ (-(1 / 2 + z))) = (n : ℂ) ^ (-(1 / 2 + conj z)) := by | |
| 57 | + rw [conj_natCast_cpow, map_neg, map_add, hhalf] | |
| 58 | + have hpow : ((n : ℂ) ^ (1 + (s + conj z)))⁻¹ = | |
| 59 | + (n : ℂ) ^ (-(1 / 2 + s)) * (n : ℂ) ^ (-(1 / 2 + conj z)) := by | |
| 60 | + rw [← Complex.cpow_neg, show -(1 + (s + conj z)) = -(1 / 2 + s) + -(1 / 2 + conj z) by ring] | |
| 61 | + exact Complex.cpow_add _ _ hn' | |
| 62 | + rw [ite_eq_left hc, coprimeDiagonalTerm, ite_eq_left ⟨hn, hc⟩] | |
| 63 | + simp only [smoothedPolynomialCoeff, map_mul, Complex.conj_ofReal, hconj] | |
| 64 | + rw [div_eq_mul_inv ((mangoldt n : ℂ) ^ 2) _, hpow] | |
| 65 | + ring | |
| 66 | + · simp [coprimeDiagonalTerm, hc] | |
| 67 | + · have hz : n = 0 := by omega | |
| 68 | + subst n | |
| 69 | + have h0 : mangoldt 0 = 0 := by simp [mangoldt] | |
| 70 | + simp [smoothedPolynomialCoeff, coprimeDiagonalTerm, h0] | |
| 71 | + | |
| 72 | +/-- The short Gram kernel plus its explicit diagonal tail equals the full diagonal. | |
| 73 | +Only the diagonal series needs a convergence hypothesis. -/ | |
| 74 | +theorem perronShortSum_pairing_add_tail (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 75 | + (s z : ℂ) (hw : 0 < (s + conj z).re) : | |
| 76 | + (2 / (N.totient : ℂ)) * (∑ χ ∈ oddCharacters N, | |
| 77 | + perronShortSum χ s * conj (perronShortSum χ z)) + | |
| 78 | + perronDiagonalTail N (s + conj z) = diagonalSeries N (s + conj z) := by | |
| 79 | + let w := s + conj z | |
| 80 | + let X := perronCutoff N | |
| 81 | + let f := coprimeDiagonalTerm N w | |
| 82 | + let g := fun n => f n * (smoothedPerronWeight X n : ℂ) ^ 2 | |
| 83 | + have hf : Summable f := by | |
| 84 | + apply Summable.of_norm | |
| 85 | + simpa only [f, coprimeDiagonalTerm, apply_ite norm, norm_zero] using diagonalSeries_summable N hw | |
| 86 | + have hg0 (n : ℕ) (hn : n ∉ Finset.range (⌊X⌋₊ + 1)) : g n = 0 := by | |
| 87 | + have hfloor : ⌊X⌋₊ < n := by simp only [Finset.mem_range] at hn; omega | |
| 88 | + have hNreal : (4 : ℝ) ≤ N := by exact_mod_cast hN4 | |
| 89 | + have hX : 1 < X := by dsimp [X, perronCutoff]; linarith | |
| 90 | + simp [g, smoothedPerronWeight_eq_zero_of_le hX n (Nat.lt_of_floor_lt hfloor).le] | |
| 91 | + have hg : Summable g := summable_of_ne_finset_zero hg0 | |
| 92 | + have hp : (2 / (N.totient : ℂ)) * (∑ χ ∈ oddCharacters N, | |
| 93 | + perronShortSum χ s * conj (perronShortSum χ z)) = ∑' n, g n := by | |
| 94 | + unfold perronShortSum perronCutoff | |
| 95 | + rw [smoothed_polynomial_odd_pairing N hN hN4, tsum_eq_sum hg0] | |
| 96 | + exact Finset.sum_congr rfl (fun n _ => smoothedPolynomialCoeff_pair N X s z n) | |
| 97 | + have ht : perronDiagonalTail N w = ∑' n, (f n - g n) := by | |
| 98 | + apply tsum_congr | |
| 99 | + intro n | |
| 100 | + dsimp only [g, f, X] | |
| 101 | + ring | |
| 102 | + change _ + perronDiagonalTail N w = ∑' n, f n | |
| 103 | + rw [hp, ht, hf.tsum_sub hg] | |
| 104 | + ring | |
| 105 | + | |
| 106 | +/-- The two mixed Perron terms and the pure error Gram term, before Hardy weighting. -/ | |
| 107 | +def perronErrorKernel (N : ℕ) [NeZero N] (s z : ℂ) : ℂ := | |
| 108 | + (2 / (N.totient : ℂ)) * ∑ χ ∈ oddCharacters N, | |
| 109 | + (perronShortSum χ s * conj (perronRemainder χ z) + | |
| 110 | + perronRemainder χ s * conj (perronShortSum χ z) + | |
| 111 | + perronRemainder χ s * conj (perronRemainder χ z)) | |
| 112 | + | |
| 113 | +/-- On the strip subtracting the full diagonal leaves the three error products | |
| 114 | +minus the explicit diagonal tail. -/ | |
| 115 | +theorem characterKernel_sub_diagonal_perron (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 116 | + (s z : ℂ) (hw : 0 < (s + conj z).re) : | |
| 117 | + characterKernel N s (conj z) - diagonalSeries N (s + conj z) = | |
| 118 | + perronErrorKernel N s z - perronDiagonalTail N (s + conj z) := by | |
| 119 | + rw [← perronShortSum_pairing_add_tail N hN hN4 s z hw] | |
| 120 | + simp only [characterKernel, perronErrorKernel, Complex.conj_conj] | |
| 121 | + rw [← sub_sub, ← mul_sub, ← Finset.sum_sub_distrib] | |
| 122 | + apply congrArg (fun k : ℂ => 2 / (N.totient : ℂ) * k - perronDiagonalTail N (s + conj z)) | |
| 123 | + apply Finset.sum_congr rfl | |
| 124 | + intro χ _ | |
| 125 | + simp only [perronRemainder, map_sub, map_neg] | |
| 126 | + ring | |
| 127 | + | |
| 128 | +/-- Matrix coefficients of the actual residual operator between evaluation vectors, | |
| 129 | +with both mixed terms, the diagonal tail and the model retained. -/ | |
| 130 | +theorem residualOperator_pairing_perron (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 131 | + (hGRH : GRH N) {a : ℝ} (ha0 : 0 < a) (ha : a < beta) (s z : ℂ) | |
| 132 | + (hs : s ∈ strip a beta) (hz : z ∈ strip a beta) : | |
| 133 | + paperInner (residualOperator ha N (evaluationVector z)) (evaluationVector s) = | |
| 134 | + (perronErrorKernel N s z - perronDiagonalTail N (s + conj z) - continuedModel N s (conj z)) / | |
| 135 | + ((1 + s) * (1 + conj z)) := by | |
| 136 | + have hw : 0 < (s + conj z).re := by | |
| 137 | + rw [Complex.add_re, Complex.conj_re] | |
| 138 | + linarith [hs.1, hz.1] | |
| 139 | + rw [← residualOperator_pairing_at a N ha0 hN4 hGRH ha s z hs hz, weightedKernel, residual, | |
| 140 | + characterKernel_sub_diagonal_perron N hN hN4 s z hw] | |
| 141 | + | |
| 142 | +end ConditionalGoldbach | |
+101 −54 ConditionalGoldbach/Proofs/CharacterShortPolynomial.lean View file
| @@ -11,29 +11,34 @@ open MeasureTheory Filter Set Complex | ||
| 11 | 11 | open scoped Topology ComplexConjugate BigOperators |
| 12 | 12 | namespace ConditionalGoldbach |
| 13 | 13 | |
| 14 | -lemma complex_character_sum_norm_sq (N : ℕ) (χ : Character N) (S : Finset ℕ) (c : ℕ → ℂ) : | |
| 15 | - ((‖∑ n ∈ S, c n * χ n‖ ^ 2 : ℝ) : ℂ) = | |
| 16 | - ∑ n ∈ S, ∑ m ∈ S, c n * conj (c m) * (χ n * conj (χ m)) := by | |
| 17 | - rw [Complex.sq_norm, Complex.normSq_eq_conj_mul_self, mul_comm] | |
| 18 | - simp only [map_sum, map_mul, Finset.sum_mul, Finset.mul_sum] | |
| 19 | - rw [Finset.sum_comm] | |
| 14 | +/-- Expand the product of two finite character sums before averaging over characters. -/ | |
| 15 | +lemma character_sum_mul_conj (N : ℕ) (χ : Character N) (S : Finset ℕ) (c d : ℕ → ℂ) : | |
| 16 | + (∑ n ∈ S, c n * χ n) * conj (∑ m ∈ S, d m * χ m) = | |
| 17 | + ∑ n ∈ S, ∑ m ∈ S, c n * conj (d m) * (χ n * conj (χ m)) := by | |
| 18 | + rw [map_sum, Finset.sum_mul] | |
| 19 | + simp only [map_mul, Finset.mul_sum] | |
| 20 | 20 | apply Finset.sum_congr rfl |
| 21 | 21 | intro n _ |
| 22 | 22 | apply Finset.sum_congr rfl |
| 23 | 23 | intro m _ |
| 24 | 24 | ring |
| 25 | 25 | |
| 26 | -lemma odd_character_quadratic_complex (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 27 | - (S : Finset ℕ) (c : ℕ → ℂ) : | |
| 28 | - (((2 / (N.totient : ℝ)) * ∑ χ ∈ oddCharacters N, | |
| 29 | - ‖∑ n ∈ S, c n * χ n‖ ^ 2 : ℝ) : ℂ) = | |
| 30 | - ∑ n ∈ S, ∑ m ∈ S, c n * conj (c m) * | |
| 26 | +lemma complex_character_sum_norm_sq (N : ℕ) (χ : Character N) (S : Finset ℕ) (c : ℕ → ℂ) : | |
| 27 | + ((‖∑ n ∈ S, c n * χ n‖ ^ 2 : ℝ) : ℂ) = | |
| 28 | + ∑ n ∈ S, ∑ m ∈ S, c n * conj (c m) * (χ n * conj (χ m)) := by | |
| 29 | + rw [Complex.sq_norm, Complex.normSq_eq_conj_mul_self, mul_comm] | |
| 30 | + exact character_sum_mul_conj N χ S c c | |
| 31 | + | |
| 32 | +/-- Odd-character orthogonality with independent complex coefficients on the two sides. -/ | |
| 33 | +lemma odd_character_pairing_complex (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 34 | + (S : Finset ℕ) (c d : ℕ → ℂ) : | |
| 35 | + (2 / (N.totient : ℂ)) * ∑ χ ∈ oddCharacters N, | |
| 36 | + (∑ n ∈ S, c n * χ n) * conj (∑ m ∈ S, d m * χ m) = | |
| 37 | + ∑ n ∈ S, ∑ m ∈ S, c n * conj (d m) * | |
| 31 | 38 | (if Nat.Coprime (n * m) N then |
| 32 | 39 | (if (n : ZMod N) = m then (1 : ℂ) else 0) - |
| 33 | 40 | (if (n : ZMod N) = -(m : ZMod N) then 1 else 0) else 0) := by |
| 34 | - simp only [Complex.ofReal_mul, Complex.ofReal_div, Complex.ofReal_ofNat, | |
| 35 | - Complex.ofReal_natCast, Complex.ofReal_sum] | |
| 36 | - simp_rw [complex_character_sum_norm_sq] | |
| 41 | + simp_rw [character_sum_mul_conj] | |
| 37 | 42 | rw [Finset.sum_comm] |
| 38 | 43 | simp_rw [Finset.sum_comm (s := oddCharacters N) (t := S)] |
| 39 | 44 | simp_rw [Finset.mul_sum] |
| @@ -42,50 +47,72 @@ lemma odd_character_quadratic_complex (N : ℕ) [NeZero N] (hN : Even N) (hN4 : | ||
| 42 | 47 | apply Finset.sum_congr rfl |
| 43 | 48 | intro m _ |
| 44 | 49 | calc |
| 45 | - _ = c n * conj (c m) * ((2 : ℂ) / N.totient * ∑ χ ∈ oddCharacters N, χ n * conj (χ m)) := by | |
| 50 | + _ = c n * conj (d m) * ((2 : ℂ) / N.totient * ∑ χ ∈ oddCharacters N, χ n * conj (χ m)) := by | |
| 46 | 51 | simp only [Finset.mul_sum] |
| 47 | 52 | apply Finset.sum_congr rfl |
| 48 | 53 | intro χ _ |
| 49 | 54 | ring |
| 50 | 55 | _ = _ := by rw [lemma_3_1_odd_orthogonality N hN hN4] |
| 51 | 56 | |
| 52 | -lemma odd_character_short_parseval (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 53 | - (S : Finset ℕ) (c : ℕ → ℂ) | |
| 54 | - (hsupport : ∀ n ∈ S, c n ≠ 0 → 0 < n ∧ 2 * n < N) : | |
| 55 | - (2 / (N.totient : ℝ)) * ∑ χ ∈ oddCharacters N, ‖∑ n ∈ S, c n * χ n‖ ^ 2 = | |
| 56 | - ∑ n ∈ S, if Nat.Coprime n N then ‖c n‖ ^ 2 else 0 := by | |
| 57 | +lemma odd_character_quadratic_complex (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 58 | + (S : Finset ℕ) (c : ℕ → ℂ) : | |
| 59 | + (((2 / (N.totient : ℝ)) * ∑ χ ∈ oddCharacters N, | |
| 60 | + ‖∑ n ∈ S, c n * χ n‖ ^ 2 : ℝ) : ℂ) = | |
| 61 | + ∑ n ∈ S, ∑ m ∈ S, c n * conj (c m) * | |
| 62 | + (if Nat.Coprime (n * m) N then | |
| 63 | + (if (n : ZMod N) = m then (1 : ℂ) else 0) - | |
| 64 | + (if (n : ZMod N) = -(m : ZMod N) then 1 else 0) else 0) := by | |
| 65 | + simpa only [Complex.ofReal_mul, Complex.ofReal_div, Complex.ofReal_ofNat, | |
| 66 | + Complex.ofReal_natCast, Complex.ofReal_sum, Complex.mul_conj, Complex.normSq_eq_norm_sq] | |
| 67 | + using odd_character_pairing_complex N hN hN4 S c c | |
| 68 | + | |
| 69 | +/-- Below half the modulus the positive congruence is equality and the negative one is empty. -/ | |
| 70 | +lemma odd_character_short_pairing (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 71 | + (S : Finset ℕ) (c d : ℕ → ℂ) | |
| 72 | + (hc : ∀ n ∈ S, c n ≠ 0 → 0 < n ∧ 2 * n < N) | |
| 73 | + (hd : ∀ n ∈ S, d n ≠ 0 → 0 < n ∧ 2 * n < N) : | |
| 74 | + (2 / (N.totient : ℂ)) * ∑ χ ∈ oddCharacters N, | |
| 75 | + (∑ n ∈ S, c n * χ n) * conj (∑ m ∈ S, d m * χ m) = | |
| 76 | + ∑ n ∈ S, if Nat.Coprime n N then c n * conj (d n) else 0 := by | |
| 57 | 77 | classical |
| 58 | - apply Complex.ofReal_injective | |
| 59 | - rw [odd_character_quadratic_complex N hN hN4] | |
| 60 | - simp only [Complex.ofReal_sum, apply_ite (fun x : ℝ => (x : ℂ)), Complex.ofReal_zero] | |
| 78 | + rw [odd_character_pairing_complex N hN hN4] | |
| 61 | 79 | apply Finset.sum_congr rfl |
| 62 | 80 | intro n hn |
| 63 | - have hterm (m : ℕ) (hm : m ∈ S) : c n * conj (c m) * | |
| 81 | + have hterm (m : ℕ) (hm : m ∈ S) : c n * conj (d m) * | |
| 64 | 82 | (if Nat.Coprime (n * m) N then |
| 65 | 83 | (if (n : ZMod N) = m then (1 : ℂ) else 0) - |
| 66 | 84 | (if (n : ZMod N) = -(m : ZMod N) then 1 else 0) else 0) = |
| 67 | - if m = n then (if Nat.Coprime n N then ((‖c n‖ ^ 2 : ℝ) : ℂ) else 0) else 0 := by | |
| 85 | + if m = n then (if Nat.Coprime n N then c n * conj (d n) else 0) else 0 := by | |
| 68 | 86 | by_cases hcn : c n = 0 |
| 69 | 87 | · simp [hcn] |
| 70 | - by_cases hcm : c m = 0 | |
| 88 | + by_cases hdm : d m = 0 | |
| 71 | 89 | · by_cases hmn : m = n |
| 72 | 90 | · subst m |
| 73 | - exact False.elim (hcn hcm) | |
| 74 | - · simp [hcm, hmn] | |
| 75 | - obtain ⟨hn0, hn2⟩ := hsupport n hn hcn | |
| 76 | - obtain ⟨hm0, hm2⟩ := hsupport m hm hcm | |
| 91 | + simp [hdm] | |
| 92 | + · simp [hdm, hmn] | |
| 93 | + obtain ⟨hn0, hn2⟩ := hc n hn hcn | |
| 94 | + obtain ⟨hm0, hm2⟩ := hd m hm hdm | |
| 77 | 95 | obtain ⟨hpos, hneg⟩ := residue_diagonals (by omega : 0 < N) hn0 (by omega) hm0 (by omega) |
| 78 | 96 | have hsum : n + m ≠ N := by omega |
| 79 | 97 | simp only [hpos, hneg, hsum, ite_false, sub_zero] |
| 80 | 98 | by_cases hmn : m = n |
| 81 | 99 | · subst m |
| 82 | - simp only [ite_true, Nat.coprime_mul_iff_left, and_self] | |
| 83 | - split_ifs <;> simp only [mul_one, mul_zero] | |
| 84 | - rw [Complex.mul_conj, Complex.normSq_eq_norm_sq] | |
| 100 | + by_cases hcop : Nat.Coprime n N <;> simp [Nat.coprime_mul_iff_left, hcop] | |
| 85 | 101 | · simp [hmn, Ne.symm hmn] |
| 86 | 102 | rw [Finset.sum_congr rfl hterm, Finset.sum_ite_eq' S n] |
| 87 | 103 | simp [hn] |
| 88 | 104 | |
| 105 | +lemma odd_character_short_parseval (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 106 | + (S : Finset ℕ) (c : ℕ → ℂ) | |
| 107 | + (hsupport : ∀ n ∈ S, c n ≠ 0 → 0 < n ∧ 2 * n < N) : | |
| 108 | + (2 / (N.totient : ℝ)) * ∑ χ ∈ oddCharacters N, ‖∑ n ∈ S, c n * χ n‖ ^ 2 = | |
| 109 | + ∑ n ∈ S, if Nat.Coprime n N then ‖c n‖ ^ 2 else 0 := by | |
| 110 | + apply Complex.ofReal_injective | |
| 111 | + simpa only [Complex.ofReal_mul, Complex.ofReal_div, Complex.ofReal_ofNat, | |
| 112 | + Complex.ofReal_natCast, Complex.ofReal_sum, apply_ite (fun x : ℝ => (x : ℂ)), | |
| 113 | + Complex.ofReal_zero, Complex.mul_conj, Complex.normSq_eq_norm_sq] | |
| 114 | + using odd_character_short_pairing N hN hN4 S c c hsupport hsupport | |
| 115 | + | |
| 89 | 116 | lemma smoothedPerronWeight_eq_zero_of_le {X : ℝ} (hX : 1 < X) (n : ℕ) (hn : X ≤ (n : ℝ)) : |
| 90 | 117 | smoothedPerronWeight X n = 0 := by |
| 91 | 118 | have hs : Real.sqrt X < X := by |
| @@ -117,32 +144,52 @@ lemma smoothedPerronWeight_nonneg_le_one {X : ℝ} (hX : 1 < X) (n : ℕ) : | ||
| 117 | 144 | nlinarith [Real.sqrt_nonneg X] |
| 118 | 145 | · exact ⟨le_rfl, zero_le_one⟩ |
| 119 | 146 | |
| 120 | -lemma smoothed_polynomial_odd_parseval (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) (u : ℂ) : | |
| 121 | - (2 / (N.totient : ℝ)) * ∑ χ ∈ oddCharacters N, | |
| 122 | - ‖smoothedDirichletPolynomial χ ((N : ℝ) / 2) u‖ ^ 2 = | |
| 123 | - ∑ n ∈ Finset.range (⌊(N : ℝ) / 2⌋₊ + 1), if Nat.Coprime n N then | |
| 124 | - ‖(mangoldt n : ℂ) * (n : ℂ) ^ (-u) * smoothedPerronWeight ((N : ℝ) / 2) n‖ ^ 2 else 0 := by | |
| 125 | - let S := Finset.range (⌊(N : ℝ) / 2⌋₊ + 1) | |
| 126 | - let c : ℕ → ℂ := fun n => (mangoldt n : ℂ) * (n : ℂ) ^ (-u) * smoothedPerronWeight ((N : ℝ) / 2) n | |
| 127 | - have hpoly (χ : Character N) : smoothedDirichletPolynomial χ ((N : ℝ) / 2) u = | |
| 128 | - ∑ n ∈ S, c n * χ n := by | |
| 129 | - apply Finset.sum_congr rfl | |
| 130 | - intro n _ | |
| 131 | - dsimp [c] | |
| 132 | - ring | |
| 133 | - simp_rw [hpoly] | |
| 134 | - apply odd_character_short_parseval N hN hN4 S c | |
| 135 | - intro n hn hcn | |
| 136 | - have h0 : c 0 = 0 := by simp [c, mangoldt] | |
| 137 | - have hn0 : 0 < n := Nat.pos_of_ne_zero (by intro he; subst n; exact hcn h0) | |
| 138 | - refine ⟨hn0, ?_⟩ | |
| 147 | +/-- The complex coefficient of the smoothed Perron polynomial before twisting by a character. -/ | |
| 148 | +@[expose] def smoothedPolynomialCoeff (X : ℝ) (u : ℂ) (n : ℕ) : ℂ := | |
| 149 | + (mangoldt n : ℂ) * (n : ℂ) ^ (-u) * smoothedPerronWeight X n | |
| 150 | + | |
| 151 | +lemma smoothedDirichletPolynomial_eq_sum {N : ℕ} (χ : Character N) (X : ℝ) (u : ℂ) : | |
| 152 | + smoothedDirichletPolynomial χ X u = | |
| 153 | + ∑ n ∈ Finset.range (⌊X⌋₊ + 1), smoothedPolynomialCoeff X u n * χ n := by | |
| 154 | + apply Finset.sum_congr rfl | |
| 155 | + intro n _ | |
| 156 | + unfold smoothedPolynomialCoeff | |
| 157 | + ring | |
| 158 | + | |
| 159 | +lemma smoothedPolynomialCoeff_support (N : ℕ) (hN4 : 4 ≤ N) (u : ℂ) (n : ℕ) | |
| 160 | + (hc : smoothedPolynomialCoeff ((N : ℝ) / 2) u n ≠ 0) : 0 < n ∧ 2 * n < N := by | |
| 161 | + have h0 : smoothedPolynomialCoeff ((N : ℝ) / 2) u 0 = 0 := by | |
| 162 | + simp [smoothedPolynomialCoeff, mangoldt] | |
| 163 | + refine ⟨Nat.pos_of_ne_zero (by intro he; subst n; exact hc h0), ?_⟩ | |
| 139 | 164 | by_contra hnN |
| 140 | 165 | have hreal : (N : ℝ) / 2 ≤ n := by |
| 141 | 166 | have hh : N ≤ 2 * n := le_of_not_gt hnN |
| 142 | 167 | exact (div_le_iff₀ (by norm_num)).mpr (by exact_mod_cast (show N ≤ n * 2 by omega)) |
| 143 | 168 | have hNreal : (4 : ℝ) ≤ N := by exact_mod_cast hN4 |
| 144 | 169 | have hw := smoothedPerronWeight_eq_zero_of_le (by linarith : 1 < (N : ℝ) / 2) n hreal |
| 145 | - apply hcn | |
| 146 | - simp only [c, hw, Complex.ofReal_zero, mul_zero] | |
| 170 | + exact hc (by simp only [smoothedPolynomialCoeff, hw, Complex.ofReal_zero, mul_zero]) | |
| 171 | + | |
| 172 | +/-- At two arbitrary spectral parameters the smoothed character average is exactly diagonal. -/ | |
| 173 | +theorem smoothed_polynomial_odd_pairing (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) | |
| 174 | + (u v : ℂ) : | |
| 175 | + (2 / (N.totient : ℂ)) * ∑ χ ∈ oddCharacters N, | |
| 176 | + smoothedDirichletPolynomial χ ((N : ℝ) / 2) u * | |
| 177 | + conj (smoothedDirichletPolynomial χ ((N : ℝ) / 2) v) = | |
| 178 | + ∑ n ∈ Finset.range (⌊(N : ℝ) / 2⌋₊ + 1), if Nat.Coprime n N then | |
| 179 | + smoothedPolynomialCoeff ((N : ℝ) / 2) u n * | |
| 180 | + conj (smoothedPolynomialCoeff ((N : ℝ) / 2) v n) else 0 := by | |
| 181 | + simp_rw [smoothedDirichletPolynomial_eq_sum] | |
| 182 | + exact odd_character_short_pairing N hN hN4 _ _ _ | |
| 183 | + (fun n _ => smoothedPolynomialCoeff_support N hN4 u n) | |
| 184 | + (fun n _ => smoothedPolynomialCoeff_support N hN4 v n) | |
| 185 | + | |
| 186 | +lemma smoothed_polynomial_odd_parseval (N : ℕ) [NeZero N] (hN : Even N) (hN4 : 4 ≤ N) (u : ℂ) : | |
| 187 | + (2 / (N.totient : ℝ)) * ∑ χ ∈ oddCharacters N, | |
| 188 | + ‖smoothedDirichletPolynomial χ ((N : ℝ) / 2) u‖ ^ 2 = | |
| 189 | + ∑ n ∈ Finset.range (⌊(N : ℝ) / 2⌋₊ + 1), if Nat.Coprime n N then | |
| 190 | + ‖(mangoldt n : ℂ) * (n : ℂ) ^ (-u) * smoothedPerronWeight ((N : ℝ) / 2) n‖ ^ 2 else 0 := by | |
| 191 | + simp_rw [smoothedDirichletPolynomial_eq_sum] | |
| 192 | + exact odd_character_short_parseval N hN hN4 _ _ | |
| 193 | + (fun n _ => smoothedPolynomialCoeff_support N hN4 u n) | |
| 147 | 194 | |
| 148 | 195 | end ConditionalGoldbach |
+170 −0 ConditionalGoldbach/Proofs/PerronDiagonalWeights.lean added View file
| @@ -0,0 +1,170 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import ConditionalGoldbach.Proofs.QuantitativeBounds | |
| 4 | + | |
| 5 | +/-! A uniform row-sum estimate for the diagonal Hardy Gram matrix. -/ | |
| 6 | +public section | |
| 7 | + | |
| 8 | +set_option autoImplicit false | |
| 9 | +noncomputable section | |
| 10 | +open scoped BigOperators | |
| 11 | +namespace ConditionalGoldbach | |
| 12 | + | |
| 13 | +private lemma mangoldt_prefix_le (M : ℕ) : | |
| 14 | + (∑ j ∈ Finset.range M, mangoldt (j + 1)) ≤ (M : ℝ) * (Real.log 4 + 4) := by | |
| 15 | + have he (k : ℕ) : (∑ j ∈ Finset.range k, mangoldt (j + 1)) = | |
| 16 | + ∑ j ∈ Finset.Icc 1 k, mangoldt j := by | |
| 17 | + induction k with | |
| 18 | + | zero => simp | |
| 19 | + | succ k ih => | |
| 20 | + have hs : Finset.Icc 1 (k + 1) = insert (k + 1) (Finset.Icc 1 k) := by | |
| 21 | + ext i | |
| 22 | + simp only [Finset.mem_Icc, Finset.mem_insert] | |
| 23 | + omega | |
| 24 | + rw [Finset.sum_range_succ, ih, hs, Finset.sum_insert (by simp)] | |
| 25 | + ring | |
| 26 | + rw [he, mangoldt_partialSum_eq_psi, mul_comm] | |
| 27 | + exact Chebyshev.psi_le_const_mul_self (Nat.cast_nonneg M) | |
| 28 | + | |
| 29 | +/-- Partial summation transfers the Chebyshev bound to any decreasing nonnegative weight. -/ | |
| 30 | +private lemma mangoldt_sum_antitone_le (u : ℕ → ℝ) (hu : Antitone u) (hu0 : ∀ j, 0 ≤ u j) | |
| 31 | + (M : ℕ) : (∑ j ∈ Finset.range M, mangoldt (j + 1) * u j) ≤ | |
| 32 | + (Real.log 4 + 4) * ∑ j ∈ Finset.range M, u j := by | |
| 33 | + let C : ℝ := Real.log 4 + 4 | |
| 34 | + let mass := fun k => ∑ j ∈ Finset.range k, mangoldt (j + 1) | |
| 35 | + have hmass (k : ℕ) : 0 ≤ (k : ℝ) * C - mass k := sub_nonneg.mpr (mangoldt_prefix_le k) | |
| 36 | + have hb (k : ℕ) : | |
| 37 | + (∑ j ∈ Finset.range k, mangoldt (j + 1) * u j) + ((k : ℝ) * C - mass k) * u k ≤ | |
| 38 | + C * ∑ j ∈ Finset.range k, u j := by | |
| 39 | + induction k with | |
| 40 | + | zero => simp [mass] | |
| 41 | + | succ k ih => | |
| 42 | + have hstep := mul_le_mul_of_nonneg_left (hu (Nat.le_succ k)) (hmass (k + 1)) | |
| 43 | + have hm : mass (k + 1) = mass k + mangoldt (k + 1) := Finset.sum_range_succ _ _ | |
| 44 | + rw [hm, Nat.cast_succ] at hstep | |
| 45 | + rw [Finset.sum_range_succ, Finset.sum_range_succ, hm, Nat.cast_succ] | |
| 46 | + nlinarith only [ih, hstep] | |
| 47 | + exact (le_add_of_nonneg_right (mul_nonneg (hmass M) (hu0 M))).trans (hb M) | |
| 48 | + | |
| 49 | +private lemma overlap_div_le {x y : ℝ} (hx : 0 < x) (hy : 0 < y) : | |
| 50 | + min (y / x) (x / y) / y ≤ 4 * x / (x + y) ^ 2 := by | |
| 51 | + rcases le_total y x with h | h | |
| 52 | + · calc | |
| 53 | + _ ≤ (y / x) / y := div_le_div_of_nonneg_right (min_le_left _ _) hy.le | |
| 54 | + _ = 1 / x := by field_simp | |
| 55 | + _ ≤ _ := by | |
| 56 | + apply (div_le_div_iff₀ hx (by positivity)).mpr | |
| 57 | + have hsq : (x + y) ^ 2 ≤ (2 * x) ^ 2 := | |
| 58 | + (sq_le_sq₀ (by positivity) (by positivity)).mpr (by linarith) | |
| 59 | + linarith | |
| 60 | + · calc | |
| 61 | + _ ≤ (x / y) / y := div_le_div_of_nonneg_right (min_le_right _ _) hy.le | |
| 62 | + _ = x / y ^ 2 := by field_simp <;> ring | |
| 63 | + _ ≤ _ := by | |
| 64 | + apply (div_le_div_iff₀ (by positivity) (by positivity)).mpr | |
| 65 | + have hsq : (x + y) ^ 2 ≤ (2 * y) ^ 2 := | |
| 66 | + (sq_le_sq₀ (by positivity) (by positivity)).mpr (by linarith) | |
| 67 | + nlinarith [mul_le_mul_of_nonneg_left hsq hx.le] | |
| 68 | + | |
| 69 | +/-- For every finite section, the row mass of the exponentially decaying overlap | |
| 70 | +`min(m/n,n/m)` against the tilted coprime diagonal is uniformly `O(1/a)`. -/ | |
| 71 | +theorem diagonalCoefficient_overlap_sum_le (N n M : ℕ) (hn : 1 ≤ n) (a : ℝ) (ha : 0 < a) : | |
| 72 | + (∑ j ∈ Finset.range M, diagonalCoefficient N j * (j + 1 : ℕ) ^ (-2 * a) * | |
| 73 | + min ((j + 1 : ℕ) / (n : ℝ)) ((n : ℝ) / (j + 1 : ℕ))) ≤ | |
| 74 | + 2 * (Real.log 4 + 4) / a := by | |
| 75 | + let x : ℝ := n | |
| 76 | + have hx : 0 < x := by dsimp [x]; exact_mod_cast (show 0 < n by omega) | |
| 77 | + let u := fun j : ℕ => x / ((x + j) * (x + j + 1)) | |
| 78 | + have hu0 (j : ℕ) : 0 ≤ u j := by dsimp [u]; positivity | |
| 79 | + have hu : Antitone u := by | |
| 80 | + intro j k hjk | |
| 81 | + have hjk' : (j : ℝ) ≤ k := by exact_mod_cast hjk | |
| 82 | + dsimp only [u] | |
| 83 | + apply div_le_div_of_nonneg_left hx.le (by positivity) | |
| 84 | + exact mul_le_mul (by linarith) (by linarith) (by positivity) (by positivity) | |
| 85 | + have hu_sum (k : ℕ) : (∑ j ∈ Finset.range k, u j) = 1 - x / (x + k) := by | |
| 86 | + induction k with | |
| 87 | + | zero => simp [hx.ne'] | |
| 88 | + | succ k ih => | |
| 89 | + rw [Finset.sum_range_succ, ih, Nat.cast_succ] | |
| 90 | + dsimp [u] | |
| 91 | + have hk : x + k ≠ 0 := ne_of_gt (by positivity) | |
| 92 | + have hks : x + k + 1 ≠ 0 := ne_of_gt (by positivity) | |
| 93 | + rw [show x + ((k : ℝ) + 1) = x + k + 1 by ring] | |
| 94 | + field_simp [hk, hks] | |
| 95 | + <;> ring | |
| 96 | + let C : ℝ := Real.log 4 + 4 | |
| 97 | + have hsum : (∑ j ∈ Finset.range M, mangoldt (j + 1) * u j) ≤ C := by | |
| 98 | + apply (mangoldt_sum_antitone_le u hu hu0 M).trans | |
| 99 | + rw [hu_sum] | |
| 100 | + have hC : 0 ≤ C := by dsimp [C]; positivity | |
| 101 | + change C * (1 - x / (x + M)) ≤ C | |
| 102 | + nlinarith [mul_nonneg hC (by positivity : 0 ≤ x / (x + M))] | |
| 103 | + have hterm (j : ℕ) : | |
| 104 | + diagonalCoefficient N j * (j + 1 : ℕ) ^ (-2 * a) * | |
| 105 | + min ((j + 1 : ℕ) / x) (x / (j + 1 : ℕ)) ≤ | |
| 106 | + (2 / a) * (mangoldt (j + 1) * u j) := by | |
| 107 | + let y : ℝ := (j + 1 : ℕ) | |
| 108 | + have hy : 0 < y := by dsimp [y]; positivity | |
| 109 | + have hΛ : 0 ≤ mangoldt (j + 1) := ArithmeticFunction.vonMangoldt_nonneg | |
| 110 | + have hcoeff : diagonalCoefficient N j ≤ mangoldt (j + 1) ^ 2 / y := by | |
| 111 | + unfold diagonalCoefficient | |
| 112 | + split_ifs | |
| 113 | + · rfl | |
| 114 | + · positivity | |
| 115 | + have hΛw : mangoldt (j + 1) * y ^ (-2 * a) ≤ 1 / (2 * a) := by | |
| 116 | + have hlog : mangoldt (j + 1) ≤ y ^ (2 * a) / (2 * a) := | |
| 117 | + ArithmeticFunction.vonMangoldt_le_log.trans (Real.log_le_rpow_div hy.le (by positivity)) | |
| 118 | + rw [show -2 * a = -(2 * a) by ring, Real.rpow_neg hy.le, ← div_eq_mul_inv] | |
| 119 | + apply (div_le_iff₀ (Real.rpow_pos_of_pos hy _)).mpr | |
| 120 | + exact hlog.trans_eq (by ring) | |
| 121 | + have hweight : min (y / x) (x / y) / y ≤ 4 * u j := by | |
| 122 | + apply (overlap_div_le hx hy).trans | |
| 123 | + have hyj : y = (j : ℝ) + 1 := by simp [y] | |
| 124 | + rw [hyj, show x + ((j : ℝ) + 1) = x + j + 1 by ring] | |
| 125 | + dsimp [u] | |
| 126 | + rw [← mul_div_assoc] | |
| 127 | + apply div_le_div_of_nonneg_left (by positivity) (by positivity) | |
| 128 | + nlinarith [show 0 ≤ x + j + 1 by positivity] | |
| 129 | + calc | |
| 130 | + _ ≤ (mangoldt (j + 1) ^ 2 / y) * y ^ (-2 * a) * min (y / x) (x / y) := | |
| 131 | + mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hcoeff (Real.rpow_nonneg hy.le _)) | |
| 132 | + (le_min (by positivity) (by positivity)) | |
| 133 | + _ = mangoldt (j + 1) * (mangoldt (j + 1) * y ^ (-2 * a)) * | |
| 134 | + (min (y / x) (x / y) / y) := by ring | |
| 135 | + _ ≤ mangoldt (j + 1) * (1 / (2 * a)) * (4 * u j) := | |
| 136 | + mul_le_mul (mul_le_mul_of_nonneg_left hΛw hΛ) hweight | |
| 137 | + (div_nonneg (le_min (by positivity) (by positivity)) hy.le) (by positivity) | |
| 138 | + _ = _ := by field_simp [ha.ne'] <;> ring | |
| 139 | + calc | |
| 140 | + _ ≤ ∑ j ∈ Finset.range M, (2 / a) * (mangoldt (j + 1) * u j) := | |
| 141 | + Finset.sum_le_sum (fun j _ => hterm j) | |
| 142 | + _ = (2 / a) * ∑ j ∈ Finset.range M, mangoldt (j + 1) * u j := (Finset.mul_sum ..).symm | |
| 143 | + _ ≤ (2 / a) * C := mul_le_mul_of_nonneg_left hsum (by positivity) | |
| 144 | + _ = _ := by dsimp [C]; ring | |
| 145 | + | |
| 146 | +/-- On the standard strip, the arithmetic trace times any finite diagonal row is | |
| 147 | +at most a constant times the cube of the logarithm. This is the squared scale | |
| 148 | +in the HS estimate for the mixed arithmetic and short-sum block. -/ | |
| 149 | +theorem arithmeticTrace_mul_diagonalRow_bound : | |
| 150 | + ∃ C : ℝ, 0 < C ∧ ∀ (N : ℕ) [NeZero N], Even N → Real.exp 10 < (N : ℝ) → GRH N → | |
| 151 | + ∀ (ha : alpha N < beta) (n M : ℕ), 1 ≤ n → | |
| 152 | + positiveTrace (arithmeticOperator ha N) * | |
| 153 | + (∑ j ∈ Finset.range M, diagonalCoefficient N j * (j + 1 : ℕ) ^ (-2 * alpha N) * | |
| 154 | + min ((j + 1 : ℕ) / (n : ℝ)) ((n : ℝ) / (j + 1 : ℕ))) ≤ C * Real.log N ^ 3 := by | |
| 155 | + obtain ⟨A, hA, hb⟩ := proposition_6_5 | |
| 156 | + refine ⟨4 * A * (Real.log 4 + 4), by positivity, ?_⟩ | |
| 157 | + intro N _ hN hlarge hGRH ha n M hn | |
| 158 | + obtain ⟨_, _, _, hp, _, _⟩ := hb N inferInstance hN hlarge hGRH ha | |
| 159 | + have ht := hp.2 | |
| 160 | + have hr := diagonalCoefficient_overlap_sum_le N n M hn (alpha N) (large_alpha_pos hlarge) | |
| 161 | + rw [show (alpha N)⁻¹ = Real.log N by simp [alpha, one_div]] at ht | |
| 162 | + rw [div_eq_mul_inv (2 * (Real.log 4 + 4)) (alpha N), | |
| 163 | + show (alpha N)⁻¹ = Real.log N by simp [alpha, one_div]] at hr | |
| 164 | + calc | |
| 165 | + _ ≤ _ := mul_le_mul ht hr (Finset.sum_nonneg (fun j _ => | |
| 166 | + mul_nonneg (mul_nonneg (diagonalCoefficient_nonneg N j) (Real.rpow_nonneg (by positivity) _)) | |
| 167 | + (le_min (by positivity) (by positivity)))) (by positivity) | |
| 168 | + _ = _ := by ring | |
| 169 | + | |
| 170 | +end ConditionalGoldbach | |
+146 −0 ConditionalGoldbach/Proofs/ResidualTraceComparison.lean added View file
| @@ -0,0 +1,146 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import ConditionalGoldbach.Proofs.QuantitativeBounds | |
| 4 | + | |
| 5 | +/-! A quadratic Hilbert–Schmidt lower bound for the true residual forces an operator-norm | |
| 6 | +lower bound of the same order, via the traces of the two positive components. -/ | |
| 7 | +public section | |
| 8 | + | |
| 9 | +set_option autoImplicit false | |
| 10 | +noncomputable section | |
| 11 | +open scoped BigOperators | |
| 12 | +namespace ConditionalGoldbach | |
| 13 | + | |
| 14 | +/-- The reverse triangle inequality for the project's basis-defined HS norm. -/ | |
| 15 | +theorem abs_hsNorm_sub_hsNorm_le {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] | |
| 16 | + [CompleteSpace H] {A T : H →L[ℂ] H} (hA : IsHilbertSchmidt A) (hT : IsHilbertSchmidt T) : | |
| 17 | + |hsNorm A - hsNorm T| ≤ hsNorm (A - T) := by | |
| 18 | + let b := Classical.choose hA | |
| 19 | + have htwo : (2 : ENNReal).toReal = 2 := by norm_num | |
| 20 | + let cols (F : H →L[ℂ] H) (hF : IsHilbertSchmidt F) : lp (fun _ : ℕ => H) 2 := | |
| 21 | + ⟨fun j => F (b j), memℓp_gen (by | |
| 22 | + simpa only [htwo, Real.rpow_two] using (proposition_5_3_hs_basis_independent F hF b).1)⟩ | |
| 23 | + have hcol (F : H →L[ℂ] H) (hF : IsHilbertSchmidt F) (j : ℕ) : cols F hF j = F (b j) := rfl | |
| 24 | + have hnorm (F : H →L[ℂ] H) (hF : IsHilbertSchmidt F) : ‖cols F hF‖ = hsNorm F := by | |
| 25 | + apply (sq_eq_sq₀ (norm_nonneg _) (hsNorm_nonneg _)).mp | |
| 26 | + rw [(proposition_5_3_hs_basis_independent F hF b).2] | |
| 27 | + simpa only [htwo, Real.rpow_two, hcol] using | |
| 28 | + lp.norm_rpow_eq_tsum (by rw [htwo]; norm_num) (cols F hF) | |
| 29 | + have hdiff := (hilbertSchmidt_sub_bound hA hT).1 | |
| 30 | + have hc : cols A hA - cols T hT = cols (A - T) hdiff := by ext j <;> rfl | |
| 31 | + simpa only [hnorm, hc] using abs_norm_sub_norm_le (cols A hA) (cols T hT) | |
| 32 | + | |
| 33 | +/-- Removing the model changes the HS norm by at most the three-halves power of | |
| 34 | +the logarithm on the standard strip. -/ | |
| 35 | +theorem arithmetic_diagonal_hsNorm_sub_residual_bound : | |
| 36 | + ∃ C : ℝ, 0 < C ∧ ∀ (N : ℕ) [NeZero N], Even N → Real.exp 10 < (N : ℝ) → GRH N → | |
| 37 | + ∀ ha : alpha N < beta, | |
| 38 | + |hsNorm (arithmeticOperator ha N - diagonalOperator ha N) - hsNorm (residualOperator ha N)| ≤ | |
| 39 | + C * Real.log N ^ (3 / 2 : ℝ) := by | |
| 40 | + obtain ⟨C, hC, hmodel⟩ := modelOperator_log_three_halves_bound | |
| 41 | + refine ⟨C, hC, ?_⟩ | |
| 42 | + intro N _ hN hlarge hGRH ha | |
| 43 | + obtain ⟨_, _, hcomponents⟩ := proposition_6_5 | |
| 44 | + obtain ⟨hP, hD, hK, _⟩ := hcomponents N inferInstance hN hlarge hGRH ha | |
| 45 | + have hA := (hilbertSchmidt_sub_bound hP.isHilbertSchmidt hD.isHilbertSchmidt).1 | |
| 46 | + have he := residualOperator_components_at _ N (large_alpha_pos hlarge) | |
| 47 | + (large_parameters hlarge).1 hGRH ha | |
| 48 | + have hT : IsHilbertSchmidt (residualOperator ha N) := by | |
| 49 | + rw [he] | |
| 50 | + exact (hilbertSchmidt_sub_bound hA hK).1 | |
| 51 | + have h := abs_hsNorm_sub_hsNorm_le hA hT | |
| 52 | + have hk : arithmeticOperator ha N - diagonalOperator ha N - residualOperator ha N = | |
| 53 | + modelOperator ha N := by rw [he]; abel | |
| 54 | + rw [hk] at h | |
| 55 | + exact h.trans (hmodel N hlarge ha) | |
| 56 | + | |
| 57 | +/-- Test a difference of two positive trace-class operators and an HS error in an | |
| 58 | +eigenbasis of the difference. The error enters with its squared HS norm. -/ | |
| 59 | +theorem SpectralData.hsNorm_sq_le_traces_add_error | |
| 60 | + {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H] | |
| 61 | + {T P D K : H →L[ℂ] H} (d : SpectralData T) (he : T = P - D - K) | |
| 62 | + (hP : IsPositiveTraceClass P) (hD : IsPositiveTraceClass D) (hK : IsHilbertSchmidt K) : | |
| 63 | + hsNorm T ^ 2 ≤ 2 * ‖T‖ * (positiveTrace P + positiveTrace D) + hsNorm K ^ 2 := by | |
| 64 | + let p := fun j => (paperInner (P (d.basis j)) (d.basis j)).re | |
| 65 | + let q := fun j => (paperInner (D (d.basis j)) (d.basis j)).re | |
| 66 | + have hT (x : H) : T x = P x - D x - K x := by simp only [he, sub_apply] | |
| 67 | + have hpoint (j : ℕ) : d.values j ^ 2 ≤ | |
| 68 | + 2 * ‖T‖ * (p j + q j) + ‖K (d.basis j)‖ ^ 2 := by | |
| 69 | + have hp : 0 ≤ p j := hP.2.1 _ | |
| 70 | + have hq : 0 ≤ q j := hD.2.1 _ | |
| 71 | + let k := (paperInner (K (d.basis j)) (d.basis j)).re | |
| 72 | + have hval : (paperInner (T (d.basis j)) (d.basis j)).re = d.values j := by | |
| 73 | + change (inner ℂ (d.basis j) (T (d.basis j))).re = _ | |
| 74 | + rw [d.diagonal, inner_smul_right, inner_self_eq_norm_sq_to_K, d.basis.orthonormal.norm_eq_one] | |
| 75 | + simp | |
| 76 | + have heig : d.values j = p j - q j - k := by | |
| 77 | + rw [← hval, hT] | |
| 78 | + simp only [paperInner, inner_sub_right, Complex.sub_re, p, q, k] | |
| 79 | + have hk : |k| ≤ ‖K (d.basis j)‖ := by | |
| 80 | + apply (Complex.abs_re_le_norm _).trans | |
| 81 | + simpa only [paperInner, d.basis.orthonormal.norm_eq_one, one_mul] using | |
| 82 | + norm_inner_le_norm (𝕜 := ℂ) (d.basis j) (K (d.basis j)) | |
| 83 | + have habs : |d.values j| ≤ p j + q j + ‖K (d.basis j)‖ := by | |
| 84 | + rw [heig] | |
| 85 | + have hpq := abs_sub (p j) (q j) | |
| 86 | + rw [abs_of_nonneg hp, abs_of_nonneg hq] at hpq | |
| 87 | + exact (abs_sub _ _).trans (add_le_add hpq hk) | |
| 88 | + have hm := mul_le_mul_of_nonneg_left habs (abs_nonneg (d.values j)) | |
| 89 | + have ht := mul_le_mul_of_nonneg_right (d.abs_value_le_norm j) (add_nonneg hp hq) | |
| 90 | + nlinarith [sq_abs (d.values j), sq_nonneg (|d.values j| - ‖K (d.basis j)‖)] | |
| 91 | + have hp := hP.trace_basis_independent d.basis | |
| 92 | + have hq := hD.trace_basis_independent d.basis | |
| 93 | + have hk := proposition_5_3_hs_basis_independent K hK d.basis | |
| 94 | + have hpq : Summable (fun j => 2 * ‖T‖ * (p j + q j)) := (hp.1.add hq.1).mul_left _ | |
| 95 | + calc | |
| 96 | + _ = ∑' j, d.values j ^ 2 := d.hsNorm_sq | |
| 97 | + _ ≤ ∑' j, (2 * ‖T‖ * (p j + q j) + ‖K (d.basis j)‖ ^ 2) := | |
| 98 | + d.squareSummable.tsum_le_tsum hpoint (hpq.add hk.1) | |
| 99 | + _ = _ := by | |
| 100 | + rw [hpq.tsum_add hk.1, tsum_mul_left, hp.1.tsum_add hq.1, ← hp.2, ← hq.2, ← hk.2] | |
| 101 | + | |
| 102 | +/-- On the standard strip the squared HS norm is bounded by a constant times | |
| 103 | +`(log N)^2 * ‖T‖ + (log N)^3`, uniformly for the even moduli satisfying local GRH. -/ | |
| 104 | +theorem residualOperator_hsNorm_sq_le_norm : | |
| 105 | + ∃ C : ℝ, 0 < C ∧ ∀ (N : ℕ) [NeZero N], Even N → Real.exp 10 < (N : ℝ) → GRH N → | |
| 106 | + ∀ ha : alpha N < beta, hsNorm (residualOperator ha N) ^ 2 ≤ | |
| 107 | + C * (Real.log N ^ 2 * ‖residualOperator ha N‖ + Real.log N ^ 3) := by | |
| 108 | + obtain ⟨A, hA, hcomponents⟩ := proposition_6_5 | |
| 109 | + obtain ⟨B, hB, hmodel⟩ := modelOperator_log_three_halves_bound | |
| 110 | + refine ⟨6 * A + B ^ 2, by positivity, ?_⟩ | |
| 111 | + intro N _ hN hlarge hGRH ha | |
| 112 | + obtain ⟨hP, hD, hK, hp, hq, _⟩ := hcomponents N inferInstance hN hlarge hGRH ha | |
| 113 | + have ha0 := large_alpha_pos hlarge | |
| 114 | + have hN4 := (large_parameters hlarge).1 | |
| 115 | + have he := residualOperator_components_at _ N ha0 hN4 hGRH ha | |
| 116 | + obtain ⟨d⟩ := residualOperator_has_spectral_data_at _ N ha0 hN4 hGRH ha | |
| 117 | + have h := d.hsNorm_sq_le_traces_add_error he hP hD hK | |
| 118 | + have hi : (alpha N)⁻¹ = Real.log N := by simp [alpha, one_div] | |
| 119 | + have htr : positiveTrace (arithmeticOperator ha N) + positiveTrace (diagonalOperator ha N) ≤ | |
| 120 | + 3 * A * Real.log N ^ 2 := by | |
| 121 | + have h₁ := hp.2 | |
| 122 | + have h₂ := hq.2 | |
| 123 | + rw [hi] at h₁ h₂ | |
| 124 | + linarith | |
| 125 | + have hlog : 0 ≤ Real.log N := Real.log_nonneg (by exact_mod_cast (show 1 ≤ N by omega)) | |
| 126 | + have hrpow : (Real.log N ^ (3 / 2 : ℝ)) ^ 2 = Real.log N ^ 3 := by | |
| 127 | + rw [← Real.rpow_natCast, ← Real.rpow_mul hlog] | |
| 128 | + norm_num | |
| 129 | + have hKsq : hsNorm (modelOperator ha N) ^ 2 ≤ B ^ 2 * Real.log N ^ 3 := by | |
| 130 | + calc | |
| 131 | + _ ≤ (B * Real.log N ^ (3 / 2 : ℝ)) ^ 2 := | |
| 132 | + (sq_le_sq₀ (hsNorm_nonneg _) (by positivity)).mpr (hmodel N hlarge ha) | |
| 133 | + _ = _ := by rw [mul_pow, hrpow] | |
| 134 | + calc | |
| 135 | + _ ≤ 2 * ‖residualOperator ha N‖ * | |
| 136 | + (positiveTrace (arithmeticOperator ha N) + positiveTrace (diagonalOperator ha N)) + | |
| 137 | + hsNorm (modelOperator ha N) ^ 2 := h | |
| 138 | + _ ≤ 2 * ‖residualOperator ha N‖ * (3 * A * Real.log N ^ 2) + B ^ 2 * Real.log N ^ 3 := | |
| 139 | + add_le_add (mul_le_mul_of_nonneg_left htr (by positivity)) hKsq | |
| 140 | + _ = 6 * A * (Real.log N ^ 2 * ‖residualOperator ha N‖) + B ^ 2 * Real.log N ^ 3 := by ring | |
| 141 | + _ ≤ _ := by | |
| 142 | + rw [mul_add] | |
| 143 | + exact add_le_add (mul_le_mul_of_nonneg_right (by nlinarith [sq_nonneg B]) (by positivity)) | |
| 144 | + (mul_le_mul_of_nonneg_right (by linarith) (pow_nonneg hlog 3)) | |
| 145 | + | |
| 146 | +end ConditionalGoldbach | |
+109 −0 routes/s2-pn-dn-shumo/README.md added View file
| @@ -0,0 +1,109 @@ | ||
| 1 | +--- | |
| 2 | +issue: 13 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# S-2 的剩余项归约到 Perron 误差的 Gram 算子 | |
| 7 | + | |
| 8 | +取偶数 $N>e^{10}$,假设导子整除 $N$ 的本原狄利克雷特征标满足项目的局部 GRH。记 $L=\log N$,标准 Hardy 条带的两个边界为 $a=1/L$ 和 $\beta=1/8$,$A_N=P_N-D_N$,$T_N=A_N-K_N$。下文的隐含常数对这样的 $N$ 一致。[问题 #13](https://shoal.club/shoal/goldbach-spectral-bridge/issues/13) · [前序 PR #103](https://shoal.club/shoal/goldbach-spectral-bridge/pull/103) | |
| 9 | + | |
| 10 | +设 $G_N$ 是下文定义的正算子,由平滑截断的 Perron 误差构成。本路线的书面归约为 | |
| 11 | +$$ | |
| 12 | +\|A_N-G_N\|_{\rm HS}+\|T_N-G_N\|_{\rm HS}\ll L^{3/2}. | |
| 13 | +$$ | |
| 14 | +因此两个混合项和完整对角的截断尾项都已降幂。剩余问题是 $G_N$ 在不同特征标之间的相关性。另一个直接针对真实算子的结论已写为 Lean 定理 | |
| 15 | +$$ | |
| 16 | +\|T_N\|_{\rm HS}^2\le C\big(L^2\|T_N\|+L^3\big). | |
| 17 | +$$ | |
| 18 | +两式都保留了未知的算术量。本路线尚未得到 #13 要求的统一降幂或无穷子列下界。[范数定理](../../ConditionalGoldbach/Proofs/ResidualTraceComparison.lean) | |
| 19 | + | |
| 20 | +## 短和与精确抵消 | |
| 21 | + | |
| 22 | +令 $X=N/2$,$W_m$ 为项目的平滑 Perron 权,$S_\chi(s)$ 为谱参数 $1/2+s$ 处的平滑狄利克雷多项式,$E_\chi(s)=-(L'/L)(1/2+s,\chi)-S_\chi(s)$。令 $\mathcal X^-$ 为奇特征标集合,$c_N=2/\varphi(N)$。对于任意 $s,z$,精确恒等式为 | |
| 23 | +$$ | |
| 24 | +c_N\sum_{\chi\in\mathcal X^-} S_\chi(s)\overline{S_\chi(z)} | |
| 25 | + =\sum_{\substack{0<m<X\\(m,N)=1}} | |
| 26 | + \frac{\Lambda(m)^2W_m^2}{m^{1+s+\bar z}}. | |
| 27 | +$$ | |
| 28 | +非零短和系数都支撑在 $0<m<N/2$。此区间内 $m\equiv n\bmod N$ 意味着 $m=n$,而 $m+n$ 严格介于 $0$ 与 $N$ 之间。奇特征标正交公式中的负同余项遂为零。对 $\Re(s+\bar z)>0$,完整对角减右边是绝对收敛的同一对角级数,权改为 $1-W_m^2$。展开 $(S+E)(s)\overline{(S+E)(z)}$,减去这个尾项,得到 $A_N$ 的核。再减模型并除以 $(1+s)(1+\bar z)$,就是实际 $T_N$ 在两个取值向量间的矩阵系数。[双变量正交性](../../ConditionalGoldbach/Proofs/CharacterShortPolynomial.lean) · [尾级数与真实算子的配对](../../ConditionalGoldbach/Proofs/ArithmeticPerronRemainder.lean) | |
| 29 | + | |
| 30 | +## 对角行和与混合项的范数 | |
| 31 | + | |
| 32 | +对 $m\ge1$ 设 $d_m(s)=m^{-s}/(1+s)$,$b_m=m^a d_m$,$\mu_m=\mathbf1_{(m,N)=1}\Lambda(m)^2m^{-1-2a}$。给定 $0\le\nu_m\le1$,用 $D_\nu=\sum_m\nu_m\mu_m b_m\otimes b_m$ 表示相应的正对角算子,其中 $b\otimes b$ 表示由 $b$ 生成的秩一算子。项目的正项展开给出 $D_1=D_N$。其迹 $O(a^{-2})$ 保证上述级数按迹范数收敛。以下推导对任意 $0<a<\beta$ 成立。[对角展开](../../ConditionalGoldbach/Proofs/SpectralDiagonalOperator.lean#L125) · [对角迹估计](../../ConditionalGoldbach/Proofs/SpectralDiagonalBound.lean#L139) | |
| 33 | + | |
| 34 | +在 $\Re s=x$ 上,对角向量的内积积分等于 | |
| 35 | +$$ | |
| 36 | +(nm)^{-x}\int_{\mathbb R} | |
| 37 | + \frac{e^{-it\log(n/m)}}{(1+x)^2+t^2}\,dt | |
| 38 | +=\frac{\pi}{1+x}(nm)^{-x}e^{-(1+x)|\log(n/m)|}. | |
| 39 | +$$ | |
| 40 | +两条边界相加,并乘上 $(nm)^a$,得到 $|\langle b_n,b_m\rangle|\le2\pi\min(m/n,n/m)$。等式使用柯西核的傅里叶变换,Hardy 空间的内积恰等于两个边界内积之和。[傅里叶公式](../../ConditionalGoldbach/Proofs/SpectralPoissonConvolution.lean#L98) · [边界内积](../../ConditionalGoldbach/Proofs/HardyTraceAlgebra.lean) | |
| 41 | + | |
| 42 | +令 $C_0=\log 4+4$。对每个 $M,n\ge1$,Lean 的有限行和估计为 | |
| 43 | +$$ | |
| 44 | +\sum_{m\le M}\mu_m\min(m/n,n/m)\le 2C_0/a . | |
| 45 | +$$ | |
| 46 | +证明用 $\Lambda(m)m^{-2a}\le 1/(2a)$,以及 | |
| 47 | +$\min(m/n,n/m)/m\le4n/(n+m)^2\le4n/((n+m-1)(n+m))$。后一权重去掉常数 $4$ 后随 $m$ 递减,因望远镜求和,其和至多为 $1$。对 $\sum_{m\le x}\Lambda(m)\le C_0 x$ 作一次分部求和即得结论。[有限行和](../../ConditionalGoldbach/Proofs/PerronDiagonalWeights.lean) · [截断尾项的行和](../../ConditionalGoldbach/Proofs/ArithmeticPerronRemainder.lean) | |
| 48 | + | |
| 49 | +在任意有限截断上,对向量 $\sqrt{\nu_m\mu_m}\,b_m$ 的 Gram 矩阵作加权 Schur 检验。去掉零权指标,取检验权 $\sqrt{\nu_n\mu_n}$。第 $n$ 行的加权绝对和除以该权至多为 $2\pi\sum_m\mu_m\min(m/n,n/m)$,列界相同。矩阵和有限秩算子的最大特征值相等,令截断长度趋于无穷即得 $\|D_\nu\|\le4\pi C_0/a$。由正性,$\|D_\nu\|_{\rm HS}^2\le\|D_\nu\|\operatorname{tr}D_\nu\ll a^{-3}$。这同时控制 $\nu=W^2$ 的短和以及 $\nu=1-W^2$ 的对角尾项。 | |
| 50 | + | |
| 51 | +令 $U,V:\ell^2(\mathcal X^-)\to H$ 的第 $\chi$ 列分别为 $\sqrt{c_N}\,S_\chi(s)/(1+s)$ 和 $\sqrt{c_N}\,E_\chi(s)/(1+s)$。短和列是对角向量的有限线性组合,完整对数导数的列已由项目构造,因而两族列均属于 Hardy 空间 $H$。上面的正交公式和取值向量的稠密性给出 $UU^*=D_{W^2}$,完整对数导数的 Gram 算子为 $P_N=(U+V)(U+V)^*$。设 $G_N=VV^*$,则 | |
| 52 | +$$ | |
| 53 | + A_N=G_N+UV^*+VU^*-D_{1-W^2}. | |
| 54 | +$$ | |
| 55 | +此前的迹界给出 $\|U+V\|_{\rm HS}^2=\operatorname{tr}P_N\ll L^2$,且 $\|U\|_{\rm HS}^2=\operatorname{tr}D_{W^2}\ll L^2$,故 $\|V\|_{\rm HS}\ll L$。另一方面 $\|U\|^2=\|D_{W^2}\|\ll L$。于是 $\|UV^*\|_{\rm HS}\le\|U\|\|V\|_{\rm HS}\ll L^{3/2}$,其伴随 $VU^*$ 有相同的 HS 范数。最后用 $\|D_{1-W^2}\|_{\rm HS}\ll L^{3/2}$ 和 #103 的 $\|K_N\|_{\rm HS}\ll L^{3/2}$,得到开头的归约。[算术 Gram 表示](../../ConditionalGoldbach/Proofs/CharacterGramOperator.lean) · [两个正算子的迹](../../ConditionalGoldbach/Proofs/QuantitativeBounds.lean#L26) · [模型的 HS 界](../../ConditionalGoldbach/Proofs/SpectralModelOperator.lean#L127) | |
| 56 | + | |
| 57 | +由 $P_N$ 的正性与 $\|D_N\|\le 4\pi C_0 L$,每个单位向量 $h$ 都满足 $\langle A_Nh,h\rangle\ge-4\pi C_0L$。再用 $\|K_N\|\le\|K_N\|_{\rm HS}\ll L^{3/2}$,得 $\langle T_Nh,h\rangle\ge-CL^{3/2}$。因此,若真实余项的算子范数在某子列达到 $L^2$ 量级,该子列的充分大项必有同量级的正特征值。 | |
| 58 | + | |
| 59 | +## 两种结题方向的定量关系 | |
| 60 | + | |
| 61 | +在同一个 Hilbert 基上,算子的 HS 范数等于其各列所组成的 $\ell^2$ 向量的范数。对两列向量作反三角估计,再代入 $A_N-T_N=K_N$,得到 | |
| 62 | +$$ | |
| 63 | +\big|\|A_N\|_{\rm HS}-\|T_N\|_{\rm HS}\big|\le \|K_N\|_{\rm HS}\ll L^{3/2}. | |
| 64 | +$$ | |
| 65 | +[HS 范数比较](../../ConditionalGoldbach/Proofs/ResidualTraceComparison.lean) | |
| 66 | + | |
| 67 | +在 $T=P-D-K$ 的单位特征向量 $e_j$ 上,记实特征值为 $\lambda_j$,记 $p_j=\langle Pe_j,e_j\rangle\ge0$,$d_j=\langle De_j,e_j\rangle\ge0$。有 $|\lambda_j|\le p_j+d_j+\|Ke_j\|$。乘以 $|\lambda_j|$,使用 $|\lambda_j|\le\|T\|$ 和 $2|\lambda_j|\|Ke_j\|\le\lambda_j^2+\|Ke_j\|^2$,得到 | |
| 68 | +$$ | |
| 69 | +\lambda_j^2\le 2\|T\|(p_j+d_j)+\|Ke_j\|^2 . | |
| 70 | +$$ | |
| 71 | +对整个特征基求和,代入 $\operatorname{tr}P_N+\operatorname{tr}D_N\ll L^2$ 和 $\|K_N\|_{\rm HS}^2\ll L^3$,即得开头的 Lean 范数定理。 | |
| 72 | + | |
| 73 | +若沿满足局部 GRH 的无穷偶数子列有 $\|A_N\|_{\rm HS}\ge cL^2$,反三角不等式给出 $\|T_N\|_{\rm HS}\ge(c/2)L^2$ 对充分大子列项成立。取上式常数 $C$,则 $\|T_N\|\ge c^2L^2/(4C)-L$,所以算子范数也达到二次幂。反之,若证得统一算子界 $O(L^\theta)$、$\theta<2$,则 $\|T_N\|_{\rm HS}=O(L^{\max(3/2,1+\theta/2)})$,其指数严格小于 $2$。本结论没有提供实现下界的模数;只得到 $o(L^2)$ 时,也仍需量化才能推出某个固定的指数节省。 | |
| 74 | + | |
| 75 | +## 误差中还需估计的零点相关 | |
| 76 | + | |
| 77 | +还可在书面上把 $E_\chi$ 换成一个明确的零点和。令 $Z_\chi(s)=\sum_\rho k_X(\rho-(1/2+s))$,$\rho$ 遍历对应本原特征标的非平凡零点并计重数,$k_X$ 为项目的平滑 Perron 核。已有的 Perron 等式将 $E_\chi-Z_\chi$ 写为 Gamma 积分与有限欧拉因子截断误差之和,前者模至多为 $16$。对每个 $p\mid N$ 的被去掉欧拉因子,几何展开在第 $k\ge1$ 项带有 $1-W_{p^k}$。该系数在 $p^k\le\sqrt X$ 时为零,绝对值至多为 $1$。在 $\Re s\ge0$ 上,余下的每个素数的几何尾和至多为 $(\log p)X^{-1/4}/(1-2^{-1/2})$。求和使用 $\sum_{p\mid N}\log p\le L$,故两条边界上一致有 $|E_\chi-Z_\chi|\ll1+LX^{-1/4}\ll1$。[Perron 等式](../../ConditionalGoldbach/Proofs/SpectralPerronTruncation.lean#L170) · [逐素数的几何级数与截断](../../ConditionalGoldbach/Proofs/SpectralPerronEuler.lean) · [Gamma 积分界](../../ConditionalGoldbach/Proofs/SpectralPerronGamma.lean#L209) | |
| 78 | + | |
| 79 | +在两个边界的 $L^2$ 直和上,令 $z_\chi$ 取两个函数 $t\mapsto Z_\chi(x+it)/(1+x+it)$,$x=a,\beta$。令 $J$ 为 Hardy 边界迹的等距嵌入,$\mathcal Z$ 的第 $\chi$ 列为 $\sqrt{c_N}\,z_\chi$。因为 $\int_{\mathbb R}|1+x+it|^{-2}dt\le\pi$ 且 $c_N|\mathcal X^-|=1$,上段给出 $\|JV-\mathcal Z\|_{\rm HS}\ll1$。再用 $\|JV\|_{\rm HS}\ll L$ 展开两个 Gram 算子之差,得 $\|JG_NJ^*-\mathcal Z\mathcal Z^*\|_{\rm HS}\ll L$。在这个共同空间比较保留了原算子的两种范数。 | |
| 80 | + | |
| 81 | +零点 Gram 算子的 HS 平方里,同一特征标与自身配对的总贡献也可排除。写 $Q_\chi(x,t)=\sum_\rho x/(x^2+(t-\Im\rho)^2)$。当 $a\le x\le\beta$ 时,$x\log\sqrt X$ 有绝对正下界,因而 $|Z_\chi(x+it)|\ll Q_\chi(x,t)$。逐项比较 Poisson 核,再用项目在 $3/2$ 处的估计,得到 $Q_\chi(x,t)\le(3/(2x))Q_\chi(3/2,t)\ll L\log(N(|t|+2))$。对两条边界积分即得 $\max_\chi\|z_\chi\|^2\ll L^4$,因为 $\int_{\mathbb R}\log^2(2+|t|)/(1+t^2)\,dt$ 有限。结合 $c_N\sum_\chi\|z_\chi\|^2=\|\mathcal Z\|_{\rm HS}^2\ll L^2$,可得 | |
| 82 | +$$ | |
| 83 | +c_N^2\sum_\chi\|z_\chi\|^4\ll L^6/\varphi(N)=o(1). | |
| 84 | +$$ | |
| 85 | +这里 $\varphi(N)^2/N\ge1/2$ 可逐素数幂检查,唯一可能小于 $1$ 的因子来自 $2^1$。所以要得到 $L^4$ 级的 HS 平方下界,必须估计 $\chi\ne\psi$ 的项。[零点和的逐项界](../../ConditionalGoldbach/Proofs/SpectralPerronBounds.lean) · [Poisson 核的宽度比较](../../ConditionalGoldbach/Proofs/CharacterAverageAssembly.lean#L19) · [固定宽度的零点估计](../../ConditionalGoldbach/Proofs/CharacterPoissonAnchor.lean#L128) | |
| 86 | + | |
| 87 | +## 验证与复现 | |
| 88 | + | |
| 89 | +本地在 LF 工作树的仓库根目录运行 `D:\anaconda3\python.exe checks/challenge.py .`。远端 `build` 通过仓库根模块的导入链编译本路线的 Lean 文件。Lean 中包含双变量正交和精确尾级数、实际算子的取值配对、有限行和及真实余项的范数比较。上文从 Schur 检验到混合算子估计、以及换成零点 Gram 算子的步骤是书面证明,留待同行审阅。 | |
| 90 | + | |
| 91 | +源码提交 `3a24402` 通过远端 `challenge`,共核对 7 个冻结文件、构建配置和 306 个 Lean 文件。远端 `build` 编译了本路线的新定理。Comparator 对冻结的比较目标运行 nanoda 内核和 Lean 默认内核,两者均接受。[已编译源码](https://shoal.club/shoal/goldbach-spectral-bridge/commit/3a24402c98116dc814a7c53396cb1c92422ec5db) · [challenge #1728](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1728) · [build #1729](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1729) · [阶段性 PR #104](https://shoal.club/shoal/goldbach-spectral-bridge/pull/104) | |
| 92 | + | |
| 93 | +[重新认领的提交](https://shoal.club/shoal/goldbach-spectral-bridge/commit/7283027218d2d171cd82256fe7edfe1f1153306e) · [工作分支](https://shoal.club/shoal/goldbach-spectral-bridge/tree/s2-pn-dn-shumo) · [Shoal 开工与收尾报告](https://shoal.club/shoal/goldbach-spectral-bridge/issues/13#progress) | |
| 94 | + | |
| 95 | +下表保留各次源码推送的日志,可按提交复现 Lean 报错及其修复。 | |
| 96 | + | |
| 97 | +| 源码提交 | `challenge` | `build` | | |
| 98 | +| --- | --- | --- | | |
| 99 | +| [6faf0bc](https://shoal.club/shoal/goldbach-spectral-bridge/commit/6faf0bc51263b2eb1f871f206f73bb8184a5489e) | [通过 #1711](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1711) | [失败 #1712](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1712) | | |
| 100 | +| [524dcf8](https://shoal.club/shoal/goldbach-spectral-bridge/commit/524dcf859e4862953112c2b20236258cae73e7d0) | [通过 #1715](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1715) | [失败 #1716](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1716) | | |
| 101 | +| [cd2e7fd](https://shoal.club/shoal/goldbach-spectral-bridge/commit/cd2e7fd8d0fe3df24ba0d0e6abf75de494fa80d0) | [通过 #1717](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1717) | [失败 #1718](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1718) | | |
| 102 | +| [8d56246](https://shoal.club/shoal/goldbach-spectral-bridge/commit/8d56246a1f944afb7261ad1e92cbe10e853675a5) | [通过 #1719](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1719) | [失败 #1720](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1720) | | |
| 103 | +| [c50daea](https://shoal.club/shoal/goldbach-spectral-bridge/commit/c50daea4685fabe7947297062e6972a3cb7d6a0a) | [通过 #1722](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1722) | [失败 #1723](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1723) | | |
| 104 | +| [32df5d7](https://shoal.club/shoal/goldbach-spectral-bridge/commit/32df5d74d9c88eb6eeac30105c6762099dad8ee5) | [通过 #1724](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1724) | [失败 #1725](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1725) | | |
| 105 | +| [3a24402](https://shoal.club/shoal/goldbach-spectral-bridge/commit/3a24402c98116dc814a7c53396cb1c92422ec5db) | [通过 #1728](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1728) | [通过 #1729](https://shoal.club/shoal/goldbach-spectral-bridge/jobs/1729) | | |
| 106 | + | |
| 107 | +## Next | |
| 108 | + | |
| 109 | +请维护者和第二位熟悉该领域的读者审阅 [PR #104](https://shoal.club/shoal/goldbach-spectral-bridge/pull/104)。#13 的正向目标是找到一个固定的 $\theta<2$,对每个单位边界函数 $h$ 一致证明 $c_N\sum_\chi|\langle h,z_\chi\rangle|^2\ll L^\theta$。下界方向则需在一列趋于无穷且满足局部 GRH 的偶数上证明 $c_N^2\sum_{\chi\ne\psi}|\langle z_\chi,z_\psi\rangle|^2\gg L^4$。加回上文已证趋于零的同一特征标项,就是零点 Gram 算子的 HS 范数平方。已有的单变量均方界控制的是迹,两项结题目标仍然开放。 | |
