Download data/lean/OAI/NumberTheory/TwoPoint/ShortIntervals/MRTCharacterSmallHeight.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.8 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/TwoPoint/ShortIntervals/MRTCharacterSmallHeight.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/TwoPoint/ShortIntervals/MRTCharacterSmallHeight.lean
-
curl -L -o MRTCharacterSmallHeight.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/TwoPoint/ShortIntervals/MRTCharacterSmallHeight.lean
5.8 kB
| import OAI.NumberTheory.TwoPoint.ShortIntervals.MRTCharacterGlobalTail | |
| import OAI.NumberTheory.TwoPoint.ShortIntervals.MRTLiouvilleLSeries | |
| import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics | |
| namespace OAI | |
| /-! A concrete low-height range in the original Liouville prime tail. | |
| Only nonprincipal characters are covered here. -/ | |
| namespace TwoPointCorrelations | |
| open Filter Finset | |
| open scoped Classical | |
| lemma mrt_prime_power_cutoff_log_lower {a : β} (ha : 0 < a) : | |
| βαΆ X : β in atTop, | |
| (1 / 2 : β) * (Real.log (X : β)) ^ a β€ | |
| Real.log (mrtPrimePowerCutoff a X : β) := by | |
| have hlog : Tendsto (fun X : β => Real.log (X : β)) atTop atTop := | |
| Real.tendsto_log_atTop.comp tendsto_natCast_atTop_atTop | |
| have hp := ((tendsto_rpow_atTop ha).comp hlog).eventually | |
| (eventually_ge_atTop (max 2 (2 * Real.log 2))) | |
| filter_upwards [hp] with X hX | |
| let A := (Real.log (X : β)) ^ a | |
| have hA : 2 β€ A := (le_max_left _ _).trans hX | |
| have hAl : 2 * Real.log 2 β€ A := (le_max_right _ _).trans hX | |
| have hE : 2 β€ Real.exp A := by linarith [Real.add_one_le_exp A] | |
| have hf : Real.exp A / 2 β€ (mrtPrimePowerCutoff a X : β) := by | |
| have hh := Nat.lt_floor_add_one (Real.exp A) | |
| change Real.exp A / 2 β€ (βReal.exp Aββ : β) | |
| linarith | |
| have hf0 : 0 < (mrtPrimePowerCutoff a X : β) := | |
| (div_pos (Real.exp_pos A) (by norm_num)).trans_le hf | |
| have hh := Real.log_le_log (div_pos (Real.exp_pos A) (by norm_num)) hf | |
| rw [Real.log_div (Real.exp_pos A).ne' (by norm_num), Real.log_exp] at hh | |
| change (1 / 2 : β) * A β€ _ | |
| linarith | |
| lemma mrt_character_small_height_bound {q : β} [NeZero q] {L t : β} | |
| (hL : 1 β€ L) (hq : (q : β) β€ L ^ (1 / 125 : β)) | |
| (ht : |t| β€ Real.exp (L ^ (1 / 3 : β))) | |
| (hlog : Real.log L β€ L ^ (1 / 3 : β)) | |
| (hthree : Real.log 3 β€ L ^ (1 / 3 : β)) : | |
| mrtCharacterHeight q t β€ 3 * L ^ (1 / 3 : β) := by | |
| have hL0 : 0 < L := zero_lt_one.trans_le hL | |
| have hqp : 0 < (q : β) := by exact_mod_cast NeZero.pos q | |
| have hlogq := Real.log_le_log hqp hq | |
| rw [Real.log_rpow hL0] at hlogq | |
| have hE : 1 β€ Real.exp (L ^ (1 / 3 : β)) := | |
| Real.one_le_exp (Real.rpow_nonneg hL0.le _) | |
| have he : |t| + 2 β€ 3 * Real.exp (L ^ (1 / 3 : β)) := by linarith | |
| have hl := Real.log_le_log (by positivity : 0 < |t| + 2) he | |
| rw [Real.log_mul (by norm_num) (Real.exp_pos _).ne', Real.log_exp] at hl | |
| rw [mrt_character_height_split] | |
| have hpow : 0 β€ L ^ (1 / 3 : β) := Real.rpow_nonneg hL0.le _ | |
| linarith | |
| lemma mrt_character_small_height_cost : βαΆ L : β in atTop, | |
| β (q : β) [NeZero q], (q : β) β€ L ^ (1 / 125 : β) β | |
| β t : β, |t| β€ Real.exp (L ^ (1 / 3 : β)) β | |
| (q : β) ^ 2 * mrtCharacterHeight q t ^ 2 β€ (1 / 2 : β) * L ^ (3 / 4 : β) := by | |
| have hl := (isLittleO_log_rpow_atTop (show (0 : β) < 1 / 3 by norm_num)).bound | |
| (show (0 : β) < 1 by norm_num) | |
| have hp := (tendsto_rpow_atTop (show (0 : β) < 101 / 1500 by norm_num)).eventually | |
| (eventually_ge_atTop (18 : β)) | |
| have hthree := (tendsto_rpow_atTop (show (0 : β) < 1 / 3 by norm_num)).eventually | |
| (eventually_ge_atTop (Real.log 3)) | |
| filter_upwards [eventually_ge_atTop (1 : β), hl, hp, hthree] with L hL hl hp hthree | |
| have hL0 : 0 < L := zero_lt_one.trans_le hL | |
| rw [Real.norm_eq_abs, abs_of_nonneg (Real.log_nonneg hL), Real.norm_eq_abs, | |
| abs_of_pos (Real.rpow_pos_of_pos hL0 _), one_mul] at hl | |
| intro q _ hq t ht | |
| have hh := mrt_character_small_height_bound hL hq ht hl hthree | |
| have hH := (mrt_character_height_pos q t).le | |
| have hq0 : 0 β€ (q : β) := Nat.cast_nonneg q | |
| have hm := mul_le_mul (pow_le_pow_leftβ hq0 hq 2) (pow_le_pow_leftβ hH hh 2) | |
| (sq_nonneg _) (by positivity : 0 β€ (L ^ (1 / 125 : β)) ^ 2) | |
| have hβ : (L ^ (1 / 125 : β)) ^ 2 = L ^ (2 / 125 : β) := by | |
| rw [β Real.rpow_natCast, β Real.rpow_mul hL0.le] | |
| norm_num | |
| have hβ : (L ^ (1 / 3 : β)) ^ 2 = L ^ (2 / 3 : β) := by | |
| rw [β Real.rpow_natCast, β Real.rpow_mul hL0.le] | |
| norm_num | |
| have he : (L ^ (1 / 125 : β)) ^ 2 * (3 * L ^ (1 / 3 : β)) ^ 2 = | |
| 9 * L ^ (256 / 375 : β) := by | |
| calc | |
| _ = 9 * (L ^ (2 / 125 : β) * L ^ (2 / 3 : β)) := by rw [mul_pow, hβ, hβ]; ring | |
| _ = _ := by rw [β Real.rpow_add hL0]; norm_num | |
| rw [he] at hm | |
| have hmul := mul_le_mul_of_nonneg_right hp (Real.rpow_nonneg hL0.le (256 / 375)) | |
| have hsum : L ^ (101 / 1500 : β) * L ^ (256 / 375 : β) = L ^ (3 / 4 : β) := by | |
| rw [β Real.rpow_add hL0] | |
| norm_num | |
| rw [hsum] at hmul | |
| linarith | |
| theorem mrt_liouville_nonprincipal_small_height : β C : β, 0 < C β§ | |
| βαΆ X : β in atTop, β q : β, 0 < q β | |
| (q : β) β€ (Real.log (X : β)) ^ (1 / 125 : β) β | |
| β Ο : DirichletCharacter β q, Ο β 1 β β t : β, | |
| |t| β€ Real.exp ((Real.log (X : β)) ^ (1 / 3 : β)) β | |
| |(β p β mrtLiouvillePrimeTail X, characterTwist Ο t p / (p : β)).re| β€ C := by | |
| obtain β¨C, hC, htailβ© := mrt_character_global_prime_tail | |
| refine β¨C, hC, ?_β© | |
| have hlog : Tendsto (fun X : β => Real.log (X : β)) atTop atTop := | |
| Real.tendsto_log_atTop.comp tendsto_natCast_atTop_atTop | |
| filter_upwards [hlog.eventually mrt_character_small_height_cost, | |
| mrt_prime_power_cutoff_log_lower (show (0 : β) < 3 / 4 by norm_num), | |
| mrt_prime_power_cutoff_eventually (show (0 : β) < 3 / 4 by norm_num) (by norm_num)] | |
| with X hcost hlower hcut | |
| intro q hq hqX Ο hΟ t ht | |
| let : NeZero q := β¨Nat.ne_of_gt hqβ© | |
| change |(β p β mrtPrimePowerTail (3 / 4) X, characterTwist Ο t p / (p : β)).re| β€ C | |
| rw [mrt_prime_power_tail_cutoff] | |
| exact htail q Ο hΟ t _ _ hcut.1 hcut.2 ((hcost q hqX t ht).trans hlower) | |
| end TwoPointCorrelations | |
| end OAI | |