import YM.MultipleContact.Taylor /-! Direct (total-collapse) estimate for a single kernel after field subtraction, any finite-dimensional Jacobi normal variable. Proof uses Taylor with common cutoff and radial integrability. -/ set_option autoImplicit false noncomputable section namespace YM.MultipleContact.Direct open Filter MeasureTheory Set TopologicalSpace Metric open scoped Topology ContDiff MeasureTheory ContDiff BigOperators Classical variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasureSpace E] [(volume : Measure E).IsAddHaarMeasure] [BorelSpace E] [NormedAddCommGroup F][NormedSpace ℂ F][NormedSpace ℝ F][IsScalarTower ℝ ℂ F][CompleteSpace F] local notation "df" => Module.finrank ℝ def price : Option ℕ→ ℕ | none=>0 | some m=> m+1 def J (p R:ℝ):ℝ:=∫x:E in Metric.ball 0 R, ‖x‖^p structure Kas (R p A:ℝ)(K:E→F) : Prop where pos:0 volume.restrict (ball 0 R) include hd hk omit hk [NormedAddCommGroup F] [NormedSpace ℂ F] [NormedSpace ℝ F] [IsScalarTower ℝ ℂ F] [CompleteSpace F] in lemma ae_off:∀ᵐ x∂(ρ:Measure E),x≠0:=by letI : Nontrivial E := Module.nontrivial_of_finrank_pos (by omega : 0 < df E) refine Filter.Eventually.filter_mono MeasureTheory.ae_restrict_le (?_) rw [Filter.Eventually, mem_ae_iff]; simpa only [Set.compl_def, Set.mem_setOf, not_not, Set.setOf_eq_eq_singleton] using measure_singleton (μ:=volume) (0:E) omit hk in lemma integrates_pow {p:ℝ}(hp:p>-(df E:ℝ)) (c:ℝ): IntegrableOn (fun x:E=>c * ‖x‖^p) (ball 0 R):=by have he:AEStronglyMeasurable (fun x:E=> ‖x‖^p) volume:=((measurable_norm.pow_const p).aestronglyMeasurable) refine Integrable.const_mul (μ:=volume.restrict (ball 0 R)) (integrableOn_ball_of_norm_le_rpow hd (C:=(1:ℝ)) (α:=-p) (by linarith) (ae_restrict_of_ae (Eventually.of_forall fun x=>by rw [neg_neg,one_mul]; exact (Real.norm_of_nonneg (by positivity)).le)) he) c omit hk [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] [CompleteSpace F] in lemma dominated (g : E→F) {p':ℝ} (hp:p'>-(df E:ℝ)) (c':ℝ) (hm:AEStronglyMeasurable g ρ) (hb:∀ x∈ball 0 R,x≠0→‖g x‖≤c'*‖x‖^p') : IntegrableOn g (ball 0 R) ∧ ‖∫x:E in ball 0 R,g x‖≤ c'*J (E:=E) p' R:=by have he:∀ᵐ x∂ρ, ‖g x‖≤ c'*‖x‖^p' :=by filter_upwards [ae_off (R:=R) hd,ae_restrict_mem (μ:=volume) isOpen_ball.measurableSet] with x hx he exact hb x he hx exact ⟨(integrates_pow (R:=R) hd hp c').mono' hm he, (norm_integral_le_of_norm_le (integrates_pow (R:=R) hd hp c') he).trans (integral_const_mul ..).le⟩ -- Explicit bound on unscaled test. def polyCost (m:Option ℕ)(s:ℝ):ℝ:=(m.map fun i:ℕ=>(i+2:ℝ)*(1+s⁻¹)^(i+1)).getD 1 omit hd [(volume : Measure E).IsAddHaarMeasure] [BorelSpace E] [FiniteDimensional ℝ E] [NormedSpace ℝ F] [IsScalarTower ℝ ℂ F] [CompleteSpace F] in lemma atCost {f:E→ℂ}(hf:ContDiff ℝ ∞ f){A:ℝ}(ha:JetBounds (price m) f A){s:ℝ}(hs:0 -(df E:ℝ)): IntegrableOn (fun x=>diff s m f x • K x) (ball 0 R) ∧ ‖term R s m K f‖ ≤ (c * polyCost m s * J (E:=E) (p+(price m:ℝ)) R) * A :=by have hx:= dominated hd (fun x:E=>diff s m f x • K x) hp (c * (polyCost m s*A)) ((diff_contDiff hf s m).continuous.aestronglyMeasurable.smul (hk.measurable)) (fun x=>atCost hk hf ha hs) exact ⟨hx.1,hx.2.trans_eq (by ring)⟩ -- Scaled estimates. γ is a strictly positive loss in the radial integration. def admissible (m:Option ℕ)(p γ B:ℝ): Prop:= match m with | none=>γ≤p+B | some m=> (m:ℝ)+p+B ≤ γ ∧ γ≤m+1+p+B def scaledCost (m:Option ℕ)(M p γ B:ℝ):ℝ:= match m with | none=> M^(p+B-γ) | some m=>(m+4:ℝ) omit hd hk in lemma scalar_scale {r x:ℝ}(hr:0 linarith only [he.1,he.2] rw [hd']; have hT: min ((‖y‖ / r) ^ (m + 1)) ((‖y‖ / r) ^ m) ≤ t^W := min_le_iff.mpr (by dsimp [t] at * by_cases ht' : ‖y‖/r ≤ 1 · left; rw [← Real.rpow_natCast]; exact Real.rpow_le_rpow_of_exponent_ge ht ht' (by simpa only [Nat.cast_add,Nat.cast_one] using hm.2) right; rw [← Real.rpow_natCast]; exact Real.rpow_le_rpow_of_exponent_le (le_of_not_ge ht') hm.1) exact mul_le_mul_of_nonneg_left hT (show 0≤((m:ℝ)+4)*A*(r^df E)⁻¹ by positivity) lemma scaledTerm {f:E→ℂ}(hf:ContDiff ℝ ∞ f) {M A:ℝ}(hM:0 -(df E:ℝ)) (c * (scaledCost m M p γ (df E)*A) * r^(p-γ)) ((diff_contDiff h' s m).continuous.aestronglyMeasurable.smul hk.measurable) (fun y hy hw=>pointScaled hk hf hM hx ha hr hrs he hy hw)).2).trans_eq (by ring) end YM.MultipleContact.Direct #print axioms YM.MultipleContact.Direct.scaledTerm