Buckets:
| import OAI.NumberTheory.DirichletL.Reflection.DyadicTail | |
| namespace OAI | |
| namespace SevenEighths.InverseReflectedPhase | |
| open scoped Classical BigOperators | |
| open CompletedGauss CompletedDyadic CanonicalQuadraticSieve | |
| noncomputable section | |
| lemma ramifiedScale_one_cube (m : ℕ) : (ramifiedScale 1 completedRamifiedStep m)^3=(3:ℝ)^m := by | |
| have hs : completedRamifiedStep^3=(3:ℝ) := by | |
| unfold completedRamifiedStep | |
| rw [← Real.rpow_mul_natCast (by norm_num)] | |
| norm_num | |
| simp only [ramifiedScale,one_mul] | |
| rw [← pow_mul,Nat.mul_comm m 3,pow_mul,hs] | |
| lemma rawDyadicCenter_pow_lower (scale : ℝ) (hs : 0≤scale) (i : ℕ×ℕ×ℕ) : | |
| scale*(2:ℝ)^(i.1+i.2.2+3*i.2.1)≤rawDyadicCenter scale i := by | |
| unfold rawDyadicCenter | |
| rw [ramifiedScale_one_cube,pow_add,pow_add,Nat.mul_comm 3 i.2.1,pow_mul] | |
| simp only [mul_assoc] | |
| have hm : (2:ℝ)^i.1≤(3:ℝ)^i.1 := pow_le_pow_left₀ (by norm_num) (by norm_num) _ | |
| gcongr | |
| def retainedDyadicBox (scale B : ℝ) : Finset (ℕ×ℕ×ℕ) := | |
| let n := columnDyadicLength (max 1 (B/scale)) | |
| (Finset.range (n+1)) ×ˢ ((Finset.range (n+1)) ×ˢ (Finset.range (n+1))) | |
| lemma center_mem_retainedDyadicBox (scale B : ℝ) (hs : 0<scale) | |
| (i : ℕ×ℕ×ℕ) (hi : rawDyadicCenter scale i≤B) : i∈retainedDyadicBox scale B := by | |
| let R := max 1 (B/scale) | |
| have hR : 1≤R := le_max_left _ _ | |
| have hp : (2:ℝ)^(i.1+i.2.2+3*i.2.1)≤R := | |
| ((le_div_iff₀ hs).mpr (by nlinarith only [rawDyadicCenter_pow_lower scale hs.le i,hi])).trans (le_max_right _ _) | |
| have hl := Real.log_le_log (by positivity : (0:ℝ)<2^(i.1+i.2.2+3*i.2.1)) hp | |
| rw [Real.log_pow] at hl | |
| have hc : ((i.1+i.2.2+3*i.2.1:ℕ):ℝ)≤columnDyadicLength R := by | |
| apply le_trans ((le_div_iff₀ (Real.log_pos (by norm_num : (1:ℝ)<2))).mpr hl) | |
| exact Nat.le_ceil _ | |
| have hc' : i.1+i.2.2+3*i.2.1≤columnDyadicLength R := by exact_mod_cast hc | |
| simp only [retainedDyadicBox,Finset.mem_product,Finset.mem_range] | |
| change i.1<columnDyadicLength R+1 ∧ i.2.1<columnDyadicLength R+1 ∧ i.2.2<columnDyadicLength R+1 | |
| omega | |
| lemma retainedDyadicBox_card (scale B : ℝ) : | |
| (retainedDyadicBox scale B).card=(columnDyadicLength (max 1 (B/scale))+1)^3 := by | |
| simp only [retainedDyadicBox,Finset.card_product,Finset.card_range] | |
| ring | |
| theorem retainedDyadicBox_count_small_power (ε : ℝ) (hε : 0<ε) : | |
| ∃ C : ℝ, 0<C ∧ ∀ scale B : ℝ, | |
| ((retainedDyadicBox scale B).card:ℝ)^2≤C*(max 1 (B/scale))^ε := by | |
| refine ⟨(2+1/((ε/6)*Real.log 2))^6,by positivity,?_⟩ | |
| intro scale B | |
| have hR : 1≤max 1 (B/scale) := le_max_left _ _ | |
| have hp : 0<max 1 (B/scale) := lt_of_lt_of_le zero_lt_one hR | |
| have hh := columnDyadicLength_small_power (ε/6) (by positivity) _ hR | |
| rw [retainedDyadicBox_card] | |
| push_cast | |
| rw [← pow_mul] | |
| norm_num only [show (3:ℕ)*2=6 by norm_num] | |
| apply (pow_le_pow_left₀ (by positivity) hh 6).trans_eq | |
| rw [mul_pow,← Real.rpow_mul_natCast hp.le] | |
| congr 2 | |
| ring | |
| end | |
| end SevenEighths.InverseReflectedPhase | |
| end OAI | |
Xet Storage Details
- Size:
- 3.02 kB
- Xet hash:
- 156ffcf6358a6d2391f3378f1ae98ba299a3f4052e5ef766d5c447433fb82339
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.