import YM.TraceExtension.LogScaling /-! Size consequences for the true PVM. Upper through energy, and nonzero scaling in a compact strictly timelike window. -/ set_option autoImplicit false noncomputable section namespace YM.TraceExtension open Function Set Filter MeasureTheory Measure Metric Complex Mink Boundary Spectral open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical variable {G : Gauge} {C : Family G} {a : Extraction.Order} {S : Table C.book} {F : Spec.Final C a S} {μ : Measure E4} {A : ℝ} def tally (μ : Measure E4) (r : ℝ) := μ {p | time p≤ r} lemma scaled_tally (r : ℝ) (hr : 0 ENNReal.ofReal ((clock i)⁻¹^8)* tally μ (B*clock i)) atTop (𝓝 0) := by obtain ⟨C,hC,hv,hF⟩ := rescaled_energy ha h ht let L i := Real.log (clock i) have he : Tendsto L atTop atTop := Real.tendsto_log_atTop.comp clock_high have hh := (tendsto_inv_atTop_zero.comp he).pow 2; rw [zero_pow (by decide : 2≠0)] at hh have hc : Tendsto (fun i=> ENNReal.ofReal ((L i)⁻¹^2)) atTop (𝓝 0) := by convert (ENNReal.continuous_ofReal.continuousAt.tendsto.comp hh) using 2 <;> simp let p:= ENNReal.ofReal (C*B^8); have hp:= ENNReal.Tendsto.const_mul (a:=p) hc (Or.inr ENNReal.ofReal_ne_top); rw [mul_zero] at hp refine tendsto_of_tendsto_of_tendsto_of_le_of_le' tendsto_const_nhds hp (Eventually.of_forall (fun _=>zero_le)) ?_ filter_upwards [clock_high.eventually hF,clock_high.eventually (eventually_gt_atTop 1)] with i hi ha have he : 0 ENNReal.ofReal (Zlog (clock i))* ENNReal.ofReal ((clock i)^7)) atTop (𝓝 0) := by let r : ℝ := (2:ℝ)⁻¹; have he := tendsto_pow_const_mul_const_pow_of_abs_lt_one 2 (by norm_num [r] : |r|<1) |>.mul_const (Real.log 2 ^ 2) rw [zero_mul] at he; have hx := ENNReal.continuous_ofReal.continuousAt (x:=(0:ℝ))|>.tendsto; rw [ENNReal.ofReal_zero] at hx apply (hx.comp he).congr; intro i rw [← ENNReal.ofReal_mul (Zlog_nonneg ..)]; dsimp only [Function.comp_apply]; congr 1; unfold r Zlog clock; rw [Real.log_pow]; field_simp; rw [mul_assoc,← mul_pow]; norm_num private lemma window (A : ℝ) (ha : 0le_of_lt (show time p<1 from (he hp).2),fun x=>by rw [Real.norm_of_nonneg B.nonneg]; exact B.le_one,(integral_pos_iff_support_of_nonneg (fun _=> B.nonneg) (integrable_sensor (allows_cone A ha.le) _ B.continuous B.hasCompactSupport)).2 ?_⟩ let D := Function.support B; have ht : D ⊆ K := (subset_tsupport B).trans he; have hf : D ⊆ cone := fun x hx=> (show ‖spatial x‖