cfahlgren1/math / lean /OAI /NumberTheory /CubicMoment /Estimates /CoreIndexLogCount.lean
cfahlgren1's picture
download
raw
1.53 kB
import OAI.NumberTheory.CubicMoment.Estimates.CubicFrequencyMassSplit
import OAI.NumberTheory.CubicMoment.Transform.MetaplecticRetainedPowers
namespace OAI
/-! The concrete two-dimensional core partition costs only two powers
of the logarithm, uniformly throughout the required frequency range. -/
noncomputable section
namespace CubicFirstMoment
theorem core_dyadic_index_log_count :
∃ C : ℝ, 0 < C ∧ ∀ (V B L : ℝ), 1 ≤ B → 1 ≤ L → B ≤ L^2 →
((largeCoreDyadicIndices V B).card:ℝ) ≤ C*(1+Real.log L)^2 := by
obtain ⟨C,hC,hcount⟩ := metaplectic_dyad_count_log_bound
refine ⟨4*C^2,by positivity,?_⟩
intro V B L hB hL hBL
have hmono : Nat.log 2 ⌊B⌋₊+1 ≤ Nat.log 2 ⌊3*B⌋₊+1 :=
Nat.add_le_add_right (Nat.log_mono_right (Nat.floor_mono (by linarith))) 1
have hn : ((Nat.log 2 ⌊B⌋₊+1:ℕ):ℝ) ≤ C*(1+Real.log B) :=
(Nat.cast_le.mpr hmono).trans (hcount B hB)
have hlog : Real.log B ≤ 2*Real.log L := by
have h := Real.log_le_log (zero_lt_one.trans_le hB) hBL
rw [← Real.rpow_natCast L 2,Real.log_rpow (zero_lt_one.trans_le hL)] at h
norm_num only [Nat.cast_ofNat] at h
exact h
have hn' : ((Nat.log 2 ⌊B⌋₊+1:ℕ):ℝ) ≤ 2*C*(1+Real.log L) :=
hn.trans (by nlinarith)
calc
_ ≤ ((Nat.log 2 ⌊B⌋₊+1:ℕ):ℝ)^2 := by
exact_mod_cast largeCoreDyadicIndices_card V B
_ ≤ (2*C*(1+Real.log L))^2 := pow_le_pow_left₀ (Nat.cast_nonneg _) hn' 2
_ = _ := by ring
end CubicFirstMoment
end
end OAI

Xet Storage Details

Size:
1.53 kB
·
Xet hash:
c6a833325c6cb0a2ba94bcaee00fcdb660356a170899bc69bbe4c8bebd13a0be

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.