Download data/lean/OAI/NumberTheory/Ostmann/Arithmetic/ArithmeticPrimeNormRate.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.86 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Ostmann/Arithmetic/ArithmeticPrimeNormRate.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/Ostmann/Arithmetic/ArithmeticPrimeNormRate.lean
-
curl -L -o ArithmeticPrimeNormRate.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Ostmann/Arithmetic/ArithmeticPrimeNormRate.lean
3.86 kB
| 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 | |