import Euler.ParameterSobolevBlocks import Euler.ParameterWordProduct import Euler.BoundedInverseGevrey /-! # A single-radius inverse estimate in genuine fixed Sobolev blocks The fixed Sobolev inverse bound is applied to each actual external word. Its commutator contains only positive external coefficient derivatives. Consequently the original factorial radius is preserved at every grade. -/ /-! ## From `Euler/ParameterSobolevCommutator.lean` The text of `Euler/ParameterSobolevCommutator.lean`, folded into this file, which was its only importer. -/ section /-! # Positive external-order commutators in actual fixed Sobolev blocks The commutator is an explicit difference of genuine derivatives and the undifferentiated coefficient action. Its direct word recurrence places at least one external derivative on the coefficient in every term. -/ noncomputable section namespace EulerParameterWordGevrey open ContinuousLinearMap Finset EulerJetProductBounds open scoped ContDiff variable {P E F ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [Fintype ι] /-- The actual external word commutator of operator multiplication. -/ def wordCommutator (directions : ι → P) (A : P → E →L[ℝ] F) (f : P → E) {n : ℕ} (w : Fin n → ι) : P → F := wordDerivative directions (fun y => A y (f y)) w- fun y => A y (wordDerivative directions f w y) omit [Fintype ι] in theorem wordCommutator_contDiff (directions : ι → P) (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) : ContDiff ℝ ∞ (wordCommutator directions A f w) := (wordDerivative_contDiff directions _ (hA.clm_apply hf) w).sub (hA.clm_apply (wordDerivative_contDiff directions f hf w)) omit [Fintype ι] in theorem wordCommutator_snoc (directions : ι → P) (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) (i : ι) : wordCommutator directions A f (Fin.snoc w i) = wordCommutator directions A (directional directions f i) w+ wordDerivative directions (fun y => directional directions A i y (f y)) w := by have hprod := directional_bilinear directions ((ContinuousLinearMap.apply ℝ F).flip) A f hA hf i change directional directions (fun y => A y (f y)) i = (fun y => A y (directional directions f i y))+ (fun y => directional directions A i y (f y)) at hprod funext x change wordDerivative directions (fun y => A y (f y)) (Fin.snoc w i) x- A x (wordDerivative directions f (Fin.snoc w i) x) = (wordDerivative directions (fun y => A y (directional directions f i y)) w x- A x (wordDerivative directions (directional directions f i) w x))+ wordDerivative directions (fun y => directional directions A i y (f y)) w x rw [wordDerivative_snoc directions _ (hA.clm_apply hf), wordDerivative_snoc directions f hf, hprod, wordDerivative_add directions _ _ (hA.clm_apply (directional_contDiff directions f hf i)) ((directional_contDiff directions A hA i).clm_apply hf)] abel def commutatorBlock (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) (n : ℕ) (x : P) : ℝ := ∑ w : Fin n → ι, baseSize directions q (wordCommutator directions A f w) x theorem baseSize_zero_function (directions : ι → P) (q : ℕ) (x : P) : baseSize directions q (fun _ : P => (0 : E)) x = 0 := by unfold baseSize apply sum_eq_zero intro n _ cases n with | zero => simp only [wordSum_zero, norm_zero] | succ n => simp only [wordSum, wordDerivative, iteratedFDeriv_succ_const, Pi.zero_apply, zero_apply, norm_zero, sum_const_zero] theorem commutatorBlock_zero (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) (x : P) : commutatorBlock directions q A f 0 x = 0 := by have he (w : Fin 0 → ι) : wordCommutator directions A f w = fun _ => 0 := by funext y simp only [wordCommutator, Pi.sub_apply, wordDerivative_zero, sub_self] simp only [commutatorBlock, he, baseSize_zero_function, sum_const_zero] theorem commutatorBlock_succ_le (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : commutatorBlock directions q A f (n+1) x ≤ ∑ i, (commutatorBlock directions q A (directional directions f i) n x+ block directions q (fun y => directional directions A i y (f y)) n x) := by unfold commutatorBlock block rw [sum_words_snoc] apply sum_le_sum intro i _ rw [← sum_add_distrib] apply sum_le_sum intro w _ rw [wordCommutator_snoc directions A f hA hf w i] exact baseSize_add_le directions q _ _ (wordCommutator_contDiff directions A (directional directions f i) hA (directional_contDiff directions f hf i) w) (wordDerivative_contDiff directions _ ((directional_contDiff directions A hA i).clm_apply hf) w) x theorem sum_commutator_convolution_right (A : ℕ → ℝ) (B : ι → ℕ → ℝ) (n : ℕ) : (∑ i, commutatorConvolution A (B i) n) = commutatorConvolution A (fun k => ∑ i, B i k) n := by simp only [commutatorConvolution] rw [sum_sub_distrib, sum_convolution_right, mul_sum] /-- Every external commutator term contains a positive external derivative of the coefficient, with no enlargement of solution or forcing radii. -/ theorem commutatorBlock_bound (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : commutatorBlock directions q A f n x ≤ commutatorConvolution (fun k => coefficientBlock directions q A k x) (fun k => block directions q f k x) n := by induction n generalizing A f with | zero => simp only [commutatorBlock_zero, commutatorConvolution_eq_sum, range_zero, sum_empty, le_refl] | succ n ih => apply (commutatorBlock_succ_le directions q A f hA hf n x).trans have ht (i : ι) := add_le_add (ih A (directional directions f i) hA (directional_contDiff directions f hf i)) (block_clm_apply_le directions q (directional directions A i) f (directional_contDiff directions A hA i) hf n x) apply (sum_le_sum (fun i _ => ht i)).trans_eq rw [sum_add_distrib, sum_commutator_convolution_right, sum_convolution_left] simp_rw [← block_succ directions q f hf, ← coefficientBlock_succ directions q A hA] rw [commutatorConvolution_succ] end EulerParameterWordGevrey end end /-! ## From `Euler/ParameterSobolevInverse.lean` The text of `Euler/ParameterSobolevInverse.lean`, folded into this file, which was its only importer. -/ section /-! # The actual inverse estimate at a fixed Sobolev order Differentiate the genuine equation once at each of finitely many base indices. The resulting constant is a fixed polynomial recursion in the ordinary inverse norm and the finite coefficient-jet bound. It does not depend on any external derivative order or factorial shift. -/ noncomputable section namespace EulerParameterWordGevrey open ContinuousLinearMap Finset open scoped ContDiff /-- A fixed finite recursion of polynomial base-order inverse constants. -/ def sobolevInverseCost (I B : ℝ) : ℕ → ℝ | 0 => I | q+1 => I+sobolevInverseCost I B q+(2 : ℝ)^q*B*(sobolevInverseCost I B q)^2 theorem sobolevInverseCost_nonneg (I B : ℝ) (hI : 0 ≤ I) (hB : 0 ≤ B) (q : ℕ) : 0 ≤ sobolevInverseCost I B q := by induction q with | zero => exact hI | succ q ih => simp only [sobolevInverseCost]; positivity variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] /-- Fixed-order Sobolev boundedness of an actual inverse equation. Every derivative is an ordinary derivative of the original smooth functions. -/ theorem baseSize_inverse_bound (directions : ι → P) (A : P → E →L[ℝ] E) (hA : ContDiff ℝ ∞ A) (x : P) (inverse : E →L[ℝ] E) (hleft : ∀ v, inverse (A x v) = v) (I B : ℝ) (hinv : ‖inverse‖ ≤ I) : ∀ (q : ℕ) (u f : P → E), ContDiff ℝ ∞ u → ContDiff ℝ ∞ f → (∀ y, A y (u y) = f y) → baseSize directions q A x ≤ B → baseSize directions q u x ≤ sobolevInverseCost I B q*baseSize directions q f x := by have hI : 0 ≤ I := (norm_nonneg inverse).trans hinv intro q induction q with | zero => intro u f _ _ heq _ rw [baseSize_zero, baseSize_zero, sobolevInverseCost] have he : u x = inverse (f x) := by rw [← heq x, hleft] rw [he] exact (inverse.le_opNorm (f x)).trans (mul_le_mul_of_nonneg_right hinv (norm_nonneg _)) | succ q ih => intro u f hu hf heq hAb have hB : 0 ≤ B := (baseSize_nonneg directions (q+1) A x).trans hAb let C := sobolevInverseCost I B q let N := baseSize directions (q+1) f x have hC : 0 ≤ C := sobolevInverseCost_nonneg I B hI hB q have hN : 0 ≤ N := baseSize_nonneg directions (q+1) f x have hAbq : baseSize directions q A x ≤ B := (baseSize_mono directions A x (Nat.le_succ q)).trans hAb have huq : baseSize directions q u x ≤ C*N := (ih u f hu hf heq hAbq).trans (mul_le_mul_of_nonneg_left (baseSize_mono directions f x (Nat.le_succ q)) hC) have hzero : ‖u x‖ ≤ I*N := by have he : u x = inverse (f x) := by rw [← heq x, hleft] rw [he] exact (inverse.le_opNorm (f x)).trans (mul_le_mul hinv (norm_le_baseSize directions (q+1) f x) (norm_nonneg _) hI) have hdf : (∑ i, baseSize directions q (directional directions f i) x) ≤ N := by have h := baseSize_succ directions q f hf x change baseSize directions (q+1) f x = _ at h dsimp only [N] linarith [norm_nonneg (f x)] have hdA : (∑ i, baseSize directions q (directional directions A i) x) ≤ B := by have h := baseSize_succ directions q A hA x linarith [norm_nonneg (A x)] have hdi (i : ι) : baseSize directions q (directional directions u i) x ≤ C*(baseSize directions q (directional directions f i) x+ (2 : ℝ)^q*baseSize directions q (directional directions A i) x*baseSize directions q u x) := by let fᵢ := directional directions f i-fun y => directional directions A i y (u y) have hfᵢ : ContDiff ℝ ∞ fᵢ := (directional_contDiff directions f hf i).sub ((directional_contDiff directions A hA i).clm_apply hu) have heqᵢ (y : P) : A y (directional directions u i y) = fᵢ y := by change A y (directional directions u i y) = directional directions f i y-directional directions A i y (u y) apply eq_sub_iff_add_eq.mpr have hd := congrFun (directional_bilinear directions ((ContinuousLinearMap.apply ℝ E).flip) A u hA hu i) y have he := congrArg (fun g : P → E => directional directions g i y) (funext heq) exact hd.symm.trans he have h := ih (directional directions u i) fᵢ (directional_contDiff directions u hu i) hfᵢ heqᵢ hAbq apply h.trans apply mul_le_mul_of_nonneg_left _ hC exact (baseSize_sub_le directions q (directional directions f i) (fun y => directional directions A i y (u y)) (directional_contDiff directions f hf i) ((directional_contDiff directions A hA i).clm_apply hu) x).trans (add_le_add le_rfl (baseSize_clm_apply_le directions q (directional directions A i) u (directional_contDiff directions A hA i) hu x)) have hsum : (∑ i, baseSize directions q (directional directions u i) x) ≤ C*(N+(2 : ℝ)^q*B*(C*N)) := by calc _ ≤ ∑ i, C*(baseSize directions q (directional directions f i) x+ (2 : ℝ)^q*baseSize directions q (directional directions A i) x*baseSize directions q u x) := sum_le_sum (fun i _ => hdi i) _ = C*((∑ i, baseSize directions q (directional directions f i) x)+ (2 : ℝ)^q*(∑ i, baseSize directions q (directional directions A i) x)*baseSize directions q u x) := by simp only [← mul_sum, sum_add_distrib, ← sum_mul] _ ≤ C*(N+(2 : ℝ)^q*B*(C*N)) := by gcongr exact baseSize_nonneg directions q u x rw [baseSize_succ directions q u hu x] calc _ ≤ I*N+C*(N+(2 : ℝ)^q*B*(C*N)) := add_le_add hzero hsum _ = sobolevInverseCost I B (q+1)*baseSize directions (q+1) f x := by simp only [sobolevInverseCost, C, N] ring end EulerParameterWordGevrey end end /-! ## From `Euler/ParameterWordInverse.lean` The text of `Euler/ParameterWordInverse.lean`, folded into this file, which was its only importer. -/ section /-! # A genuine inverse recurrence for the unchanged word sums Freeze the actual left inverse at a parameter value. The coefficient difference vanishes there, so the direct word-product estimate removes the top unknown term. The same factorial radius is used for input and output. -/ noncomputable section namespace EulerParameterWordGevrey open ContinuousLinearMap Finset EulerJetProductBounds EulerGevrey open scoped ContDiff variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] end EulerParameterWordGevrey end end noncomputable section namespace EulerParameterWordGevrey open ContinuousLinearMap Finset EulerJetProductBounds EulerGevrey open scoped ContDiff variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] theorem block_inverse_bound (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] E) (u f : P → E) (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) (heq : ∀ y, A y (u y) = f y) (x : P) (inverse : E →L[ℝ] E) (hleft : ∀ v, inverse (A x v) = v) (I B : ℝ) (hinv : ‖inverse‖ ≤ I) (hbase : baseSize directions q A x ≤ B) (n : ℕ) : block directions q u n x ≤ sobolevInverseCost I B q* (block directions q f n x+commutatorBlock directions q A u n x) := by have hI : 0 ≤ I := (norm_nonneg inverse).trans hinv have hB : 0 ≤ B := (baseSize_nonneg directions q A x).trans hbase have hcost : 0 ≤ sobolevInverseCost I B q := sobolevInverseCost_nonneg I B hI hB q have hfun : (fun y => A y (u y)) = f := funext heq have hw (w : Fin n → ι) : baseSize directions q (wordDerivative directions u w) x ≤ sobolevInverseCost I B q*(baseSize directions q (wordDerivative directions f w) x+ baseSize directions q (wordCommutator directions A u w) x) := by let g := wordDerivative directions f w-wordCommutator directions A u w have hg : ContDiff ℝ ∞ g := (wordDerivative_contDiff directions f hf w).sub (wordCommutator_contDiff directions A u hA hu w) have he (y : P) : A y (wordDerivative directions u w y) = g y := by change A y (wordDerivative directions u w y) = wordDerivative directions f w y- (wordDerivative directions (fun z => A z (u z)) w y-A y (wordDerivative directions u w y)) rw [hfun] abel exact (baseSize_inverse_bound directions A hA x inverse hleft I B hinv q (wordDerivative directions u w) g (wordDerivative_contDiff directions u hu w) hg he hbase).trans (mul_le_mul_of_nonneg_left (baseSize_sub_le directions q _ _ (wordDerivative_contDiff directions f hf w) (wordCommutator_contDiff directions A u hA hu w) x) hcost) calc _ ≤ ∑ w : Fin n → ι, sobolevInverseCost I B q* (baseSize directions q (wordDerivative directions f w) x+ baseSize directions q (wordCommutator directions A u w) x) := sum_le_sum (fun w _ => hw w) _ = _ := by rw [← mul_sum, sum_add_distrib]; rfl /-- Genuine fixed-Sobolev external-word recurrence with the computed base inverse constant. -/ theorem block_inverse_recurrence (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] E) (u f : P → E) (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) (heq : ∀ y, A y (u y) = f y) (x : P) (inverse : E →L[ℝ] E) (hleft : ∀ v, inverse (A x v) = v) (I B : ℝ) (hinv : ‖inverse‖ ≤ I) (hbase : baseSize directions q A x ≤ B) (n : ℕ) : block directions q u n x ≤ sobolevInverseCost I B q* (block directions q f n x+∑ j ∈ range n, (n.choose (j+1) : ℝ)*coefficientBlock directions q A (j+1) x* block directions q u (n-(j+1)) x) := by have hI : 0 ≤ I := (norm_nonneg inverse).trans hinv have hB : 0 ≤ B := (baseSize_nonneg directions q A x).trans hbase have h := (block_inverse_bound directions q A u f hA hu hf heq x inverse hleft I B hinv hbase n).trans (mul_le_mul_of_nonneg_left (add_le_add le_rfl (commutatorBlock_bound directions q A u hA hu n x)) (sobolevInverseCost_nonneg I B hI hB q)) simpa only [commutatorConvolution_eq_sum] using h /-- One factorial shift in fixed Hq, using the identical input and output radius and constants independent of the input shift and external order. -/ theorem block_inverse_gevrey (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] E) (u f : P → E) (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) (heq : ∀ y, A y (u y) = f y) (inverse : P → E →L[ℝ] E) (hleft : ∀ x v, inverse x (A x v) = v) (I B C D M Rc R : ℝ) (_hC : 0 ≤ C) (_hD : 0 ≤ D) (hM : 1 ≤ M) (hMC : sobolevInverseCost I B q*C ≤ M) (hMD : sobolevInverseCost I B q*D ≤ M) (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) (hinv : ∀ x, ‖inverse x‖ ≤ I) (hbase : ∀ x, baseSize directions q A x ≤ B) (hcoeff : ∀ j x, coefficientBlock directions q A (j+1) x ≤ C*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) (d : ℕ) (hforce : ∀ n x, block directions q f n x ≤ D*majorant R d n) (n : ℕ) (x : P) : block directions q u n x ≤ majorant R (d+1) n := by have hR0 : 0 ≤ R := by nlinarith have hI : 0 ≤ I := (norm_nonneg (inverse x)).trans (hinv x) have hB : 0 ≤ B := (baseSize_nonneg directions q A x).trans (hbase x) have hcost := sobolevInverseCost_nonneg I B hI hB q apply triangular_inverse_majorant M Rc R hM hRc hR d (fun k => majorant R d k) (fun k => block directions q u k x) (fun _ => le_rfl) _ n intro k let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ)*Rc^(j+1)* ((j+1).factorial : ℝ)^2*block directions q u (k-(j+1)) x have hS : 0 ≤ S := sum_nonneg (fun j _ => mul_nonneg (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg hRc _)) (sq_nonneg _)) (block_nonneg directions q u _ x)) have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ)*coefficientBlock directions q A (j+1) x* block directions q u (k-(j+1)) x) ≤ C*S := by dsimp only [S] rw [mul_sum] apply sum_le_sum intro j _ have h := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (hcoeff j x) (Nat.cast_nonneg (k.choose (j+1)))) (block_nonneg directions q u (k-(j+1)) x) convert h using 1 ring have hrec := block_inverse_recurrence directions q A u f hA hu hf heq x (inverse x) (hleft x) I B (hinv x) (hbase x) k have hb : block directions q u k x ≤ sobolevInverseCost I B q*(D*majorant R d k+C*S) := hrec.trans (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hcost) have h₁ := mul_le_mul_of_nonneg_right hMC hS have h₂ := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) change block directions q u k x ≤ M*(majorant R d k+S) linarith end EulerParameterWordGevrey