File size: 3,862 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | import OAI.NumberTheory.Ostmann.Arithmetic.ArithmeticNormRate
import OAI.NumberTheory.Ostmann.Characters.FourierWindowDecay
import OAI.NumberTheory.Ostmann.Construction.SpectatorBulkScale
namespace OAI
/-! # The frequency budget after return to the original prime law -/
namespace Ostmann
open Filter
open scoped SchwartzMap
theorem arithmetic_prime_page_spectator_cost (n m : β) :
((2 : β) ^ (2 ^ n * m) * 2 * 3 ^ (2 ^ n * m)) * 2 ^ (2 ^ n * m) =
2 * Real.exp (Real.log 12 * (2 ^ n : β) * m) := by
have hbase : (2 : β) * 3 * 2 = 12 := by norm_num
calc
_ = 2 * (((2 : β) * 3 * 2) ^ (2 ^ n * m)) := by
simp only [mul_pow]
ring
_ = _ := by
rw [hbase]
congr 1
rw [show Real.log 12 * (2 ^ n : β) * m =
((2 ^ n * m : β) : β) * Real.log 12 by push_cast; ring,
Real.exp_nat_mul, Real.exp_log (by norm_num : (0 : β) < 12)]
/-- The prime-cell mixture adds one factor two per bulk coordinate. This
changes the constant in the exponential from log six to log twelve. -/
theorem arithmetic_prime_norm_budget_rate (n : β) (A C Ξ΅ : β)
(hA : 0 β€ A) (hC : 0 β€ C) (hΞ΅ : 0 < Ξ΅) :
βαΆ m : β in atTop, β D : β, 0 β€ D β§
(β q : β, q β 0 β (q : β) β€ Real.exp (2 * C * m) β (q.divisors.card : β) β€ D) β§
β N V : β, β Ξ : β, (N : β) β€ Real.exp (C * m) β
(V : β) β€ Real.exp (Ξ + Real.sqrt (4 * m)) β
(A * Real.exp (-(2 ^ n : β) * Ξ)) *
((2 * Real.exp (Real.log 12 * (2 ^ n : β) * m)) *
((8 * D ^ 4 * (1 + Real.log N) ^ 3) ^ (2 ^ n - 1) *
(2 * (V : β)) ^ (2 * 2 ^ n))) β€
Real.exp ((2 ^ n : β) * Ξ + Real.log 12 * (2 ^ n : β) * m + Ξ΅ * m) := by
have hlog : Real.log 12 = Real.log 2 + Real.log 6 := by
rw [β Real.log_mul (by norm_num : (2 : β) β 0) (by norm_num : (6 : β) β 0)]
norm_num
filter_upwards [arithmetic_norm_budget_rate n A C Ξ΅ hA hC hΞ΅] with m hm
obtain β¨D, hD, hdiv, hcostβ© := hm
refine β¨D, hD, hdiv, ?_β©
intro N V Ξ hN hV
have h := mul_le_mul_of_nonneg_left (hcost N V Ξ hN hV)
(Real.exp_pos (Real.log 2 * (2 ^ n : β) * m)).le
convert h using 1 <;> rw [hlog] <;>
simp only [add_mul, Real.exp_add] <;> ring
/-- Specialization to the actual even bulk size, with the literal window and
Page/spectator constants of the prime norm estimate. -/
theorem arithmetic_prime_fourier_budget_rate (Ο : π’(β, β)) (n k : β) (hk : 0 < k)
(B C Ξ΅ : β) (hC : 0 β€ C) (hΞ΅ : 0 < Ξ΅) :
βαΆ L : β in atTop, let m := spectatorBulkCount k L
β D : β, 0 β€ D β§
(β q : β, q β 0 β (q : β) β€ Real.exp (2 * C * m) β (q.divisors.card : β) β€ D) β§
β N V : β, β Ξ : β, (N : β) β€ Real.exp (C * m) β
(V : β) β€ Real.exp (Ξ + Real.sqrt (4 * m)) β
(((SchwartzMap.seminorm β 0 0 Ο / Real.sqrt (Real.exp Ξ)) ^ (2 ^ n) *
B ^ (2 ^ n - 1)) ^ 2 *
(((2 : β) ^ (2 ^ n * m) * 2 * 3 ^ (2 ^ n * m)) *
((8 * D ^ 4 * (1 + Real.log N) ^ 3) ^ (2 ^ n - 1) *
(2 * (V : β)) ^ (2 * 2 ^ n)))) * 2 ^ (2 ^ n * m) β€
Real.exp ((2 ^ n : β) * Ξ + Real.log 12 * (2 ^ n : β) * m + Ξ΅ * m) := by
let A : β := ((SchwartzMap.seminorm β 0 0 Ο) ^ (2 ^ n) * B ^ (2 ^ n - 1)) ^ 2
have hrate := (spectatorBulkCount_tendsto k hk).eventually
(arithmetic_prime_norm_budget_rate n A C Ξ΅ (sq_nonneg _) hC hΞ΅)
filter_upwards [hrate] with L hrate
obtain β¨D, hD, hdiv, hcostβ© := hrate
refine β¨D, hD, hdiv, ?_β©
intro N V Ξ hN hV
have h := hcost N V Ξ hN hV
rw [β arithmetic_prime_page_spectator_cost n (spectatorBulkCount k L)] at h
rw [fourier_window_pair_exp]
exact le_trans (le_of_eq (by dsimp only [A]; ring)) h
end Ostmann
end OAI
|