Buckets:
| import OAI.NumberTheory.Ostmann.Construction.PositiveWordStatistic | |
| namespace OAI | |
| /-! # The initial positive statistic with its actual finite physical bounds -/ | |
| namespace Ostmann | |
| open scoped BigOperators SchwartzMap | |
| /-- The inverse giant transform need not have norm at most one. Only a finite | |
| bound is needed to sum its Schwartz-weighted physical statistic. -/ | |
| theorem wordStatisticTerm_summable_of_bounded {m : β} | |
| (Ο : π’(β, β)) (X : β) (hX : 0 < X) | |
| (G : β€ β β) (R : Fin m β β€ β β) (CG : β) (CR : Fin m β β) | |
| (hΟ : β x, 0 β€ (Ο x).re) | |
| (hG : β a, βG aβ β€ CG) (hR : β i a, βR i aβ β€ CR i) : | |
| Summable (wordStatisticTerm Ο X G R) := by | |
| have hsum : Summable (fun a : β€ => βΟ ((a : β) / X)β) := by | |
| simpa only [positiveDilate_apply, div_eq_mul_inv, mul_comm] using | |
| schwartz_int_norm_summable (positiveDilate Ο Xβ»ΒΉ (inv_pos.mpr hX)) | |
| apply Summable.of_norm_bounded (hsum.mul_right (CG ^ 2 * β i, CR i ^ 2)) | |
| intro a | |
| rw [Real.norm_eq_abs, abs_of_nonneg (wordStatisticTerm_nonneg Ο X G R hΟ a)] | |
| have hg : βG aβ ^ 2 β€ CG ^ 2 := | |
| pow_le_pow_leftβ (norm_nonneg _) (hG a) 2 | |
| have hr : (β i, βR i aβ ^ 2) β€ β i, CR i ^ 2 := | |
| Finset.prod_le_prodβ (fun _ _ => sq_nonneg _) (fun i _ => | |
| pow_le_pow_leftβ (norm_nonneg _) (hR i a) 2) | |
| calc | |
| wordStatisticTerm Ο X G R a β€ | |
| βΟ ((a : β) / X)β * (CG ^ 2 * β i, CR i ^ 2) := by | |
| unfold wordStatisticTerm | |
| rw [β mul_assoc] | |
| exact mul_le_mul (mul_le_mul (Complex.re_le_norm _) hg | |
| (sq_nonneg _) (norm_nonneg _)) hr (by positivity) (by positivity) | |
| _ = _ := rfl | |
| /-- Cauchy--Schwarz converts a positive empirical mean into the squared norm | |
| needed for the original statistic, without pointwise positivity of the giant. -/ | |
| theorem endpoint_mean_sq_le {ΞΉ : Type*} (E : Finset ΞΉ) (G : ΞΉ β β) | |
| (Ξ΄ : β) (hΞ΄ : 0 β€ Ξ΄) | |
| (hmean : (E.card : β) * Ξ΄ β€ β a β E, (G a).re) : | |
| (E.card : β) * Ξ΄ ^ 2 β€ β a β E, βG aβ ^ 2 := by | |
| by_cases hE : E.card = 0 | |
| Β· have he : E = β := Finset.card_eq_zero.mp hE | |
| simp only [he, Finset.card_empty, Nat.cast_zero, zero_mul, Finset.sum_empty, le_refl] | |
| have hc : (0 : β) < E.card := by exact_mod_cast Nat.pos_of_ne_zero hE | |
| have hcs := Finset.sum_mul_sq_le_sq_mul_sq E (fun _ => (1 : β)) (fun a => (G a).re) | |
| simp only [one_mul, one_pow, Finset.sum_const, nsmul_eq_mul, mul_one] at hcs | |
| have hre : (β a β E, (G a).re ^ 2) β€ β a β E, βG aβ ^ 2 := by | |
| apply Finset.sum_le_sum | |
| intro a _ | |
| simpa only [Complex.normSq_eq_norm_sq, pow_two] using Complex.re_sq_le_normSq (G a) | |
| have hlow : ((E.card : β) * Ξ΄) ^ 2 β€ (β a β E, (G a).re) ^ 2 := | |
| pow_le_pow_leftβ (mul_nonneg hc.le hΞ΄) hmean 2 | |
| have hupper := hcs.trans (mul_le_mul_of_nonneg_left hre hc.le) | |
| nlinarith | |
| /-- The selected endpoint mean feeds the whole statistic. No pointwise bound | |
| of one and no pointwise lower bound on the giant function is imposed. -/ | |
| theorem wordStatistic_lower_of_endpoint_mean {m : β} | |
| (Ο : π’(β, β)) (X : β) (hX : 0 < X) | |
| (G : β€ β β) (R : Fin m β β€ β β) (E : Finset β€) | |
| (CG : β) (CR : Fin m β β) | |
| (hΟ : β x, 0 β€ (Ο x).re) | |
| (hG : β a, βG aβ β€ CG) (hR : β i a, βR i aβ β€ CR i) | |
| (c Ξ΄ Ξ³ : β) (hc : 0 β€ c) (hΞ΄ : 0 β€ Ξ΄) (hΞ³ : 0 β€ Ξ³) | |
| (hcE : β a β E, c β€ (Ο ((a : β) / X)).re) | |
| (hmean : (E.card : β) * Ξ΄ β€ β a β E, (G a).re) | |
| (hΞ³E : β a β E, β i, Ξ³ β€ βR i aβ) : | |
| (E.card : β) * (c * Ξ΄ ^ 2 * Ξ³ ^ (2 * m)) β€ | |
| β' a : β€, wordStatisticTerm Ο X G R a := by | |
| have hm := endpoint_mean_sq_le E G Ξ΄ hΞ΄ hmean | |
| have hfinite : c * Ξ³ ^ (2 * m) * (β a β E, βG aβ ^ 2) β€ | |
| β a β E, wordStatisticTerm Ο X G R a := by | |
| rw [Finset.mul_sum] | |
| apply Finset.sum_le_sum | |
| intro a ha | |
| have hr : Ξ³ ^ (2 * m) β€ β i, βR i aβ ^ 2 := by | |
| rw [pow_mul] | |
| calc | |
| (Ξ³ ^ 2) ^ m = β _i : Fin m, Ξ³ ^ 2 := by simp | |
| _ β€ _ := Finset.prod_le_prodβ (fun _ _ => sq_nonneg _) | |
| (fun i _ => pow_le_pow_leftβ hΞ³ (hΞ³E a ha i) 2) | |
| unfold wordStatisticTerm | |
| calc | |
| c * Ξ³ ^ (2 * m) * βG aβ ^ 2 = c * βG aβ ^ 2 * Ξ³ ^ (2 * m) := by ring | |
| _ β€ _ := mul_le_mul (mul_le_mul_of_nonneg_right (hcE a ha) (sq_nonneg _)) hr | |
| (by positivity) (mul_nonneg (hΟ _) (sq_nonneg _)) | |
| calc | |
| _ = c * Ξ³ ^ (2 * m) * ((E.card : β) * Ξ΄ ^ 2) := by ring | |
| _ β€ c * Ξ³ ^ (2 * m) * (β a β E, βG aβ ^ 2) := | |
| mul_le_mul_of_nonneg_left hm (by positivity) | |
| _ β€ β a β E, wordStatisticTerm Ο X G R a := hfinite | |
| _ β€ _ := (wordStatisticTerm_summable_of_bounded Ο X hX G R CG CR hΟ hG hR).sum_le_tsum E | |
| (fun a _ => wordStatisticTerm_nonneg Ο X G R hΟ a) | |
| end Ostmann | |
| end OAI | |
Xet Storage Details
- Size:
- 4.91 kB
- Xet hash:
- 5b4fd1b5ce31fed7e6e86077a699050de60f3c4b6b8232e3583205babdd17156
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.