diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear.lean new file mode 100644 index 0000000000000000000000000000000000000000..63fe7c56e298a9049fcd2b68de6e2f863b05ba0e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingApproximateExistence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingCompactProductLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingContinuousStep +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingCoordinateSequence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingDecayingDuhamel +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingEnergyObservation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingModeConverse +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingNearbyTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingObservedFamily +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingOddCompactness +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPerturbationEquation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPhysicalTermDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProfileEquation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProfilePhysicalEquation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingSlabTrajectory +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingStableSequence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingStepMapContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HarmonicRadialLinearCombination +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAngularUpper +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexPotential +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDerivativeTesting +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDiagonalCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedMatchingMode +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHamiltonian +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousJordanChannels +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalizationContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedContour +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedJordanMode +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedPotential +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedRadialC2 +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDuality +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchwartzFrame +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationBarrier +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationRemote +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationSubunit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationWKB +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralPower +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryDimension +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryProjection +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousTaylorRemainder +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousTimeOneDecomposition +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCompactContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCutoffDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzLocalizationLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzProfileSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampleContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampleLipschitz +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SemigroupStableBlocks +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevCompactStability +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevContinuation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevContinuousDependence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevEvaluationContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevResidualStability +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevSymmetryFlow +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusDiscreteLinearData +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusLinearStepAssembly + +/-! Sobolev estimates and linear decay on expanding tori. -/ diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..44d0fcb1f59694b131696912b2a425268d14ad3e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCZero.lean @@ -0,0 +1,110 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFourierL1 +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierContinuity +import Mathlib.Analysis.Fourier.RiemannLebesgueLemma +import Mathlib.Topology.ContinuousMap.ZeroAtInfty + +namespace OAI + +/-! # Actual continuous functions represented by the homogeneous space + +Every Y vector has an integrable Fourier representative. Its inverse Fourier +integral is continuous, vanishes at infinity, and obeys a uniform norm bound. +-/ + +open Filter MeasureTheory Topology +open scoped ENNReal FourierTransform SchwartzMap ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def inverseRadianFourier (f : E → ℂ) (y : E) : ℂ := + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) * radianFourierIntegral f (-y) + +theorem continuous_inverseRadianFourier {f : E → ℂ} (hf : Integrable f) : + Continuous (inverseRadianFourier f) := + continuous_const.mul ((continuous_radianFourierIntegral hf).comp continuous_neg) + +theorem zero_at_infty_inverseRadianFourier (f : E → ℂ) : + Tendsto (inverseRadianFourier f) (cocompact E) (𝓝 0) := by + let A : E ≃L[ℝ] E := + (Units.mk0 (-(2 * Real.pi)⁻¹) (neg_ne_zero.mpr (inv_ne_zero (by positivity)))) • ContinuousLinearEquiv.refl ℝ E + have hF : Tendsto (𝓕 f) (cocompact E) (𝓝 0) := + tendsto_integral_exp_inner_smul_cocompact f + have ht := hF.comp A.toHomeomorph.toCocompactMap.cocompact_tendsto' + change Tendsto (fun y => (𝓕 f) (A y)) (cocompact E) (𝓝 0) at ht + have he (y : E) : radianFourierIntegral f (-y) = (𝓕 f) (A y) := by + rw [radianFourierIntegral_eq_fourier] + simp only [A, ContinuousLinearEquiv.smul_apply, ContinuousLinearEquiv.refl_apply, + Units.val_mk0, neg_smul, smul_neg] + have heq : inverseRadianFourier f = fun y => + ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) * (𝓕 f) (A y) := by + funext y + exact congrArg (fun z : ℂ => (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) * z) (he y) + rw [heq] + simpa only [mul_zero] using ht.const_mul ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) + +theorem inverseRadianFourier_norm_le (f : E → ℂ) (y : E) : + ‖inverseRadianFourier f y‖ ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ∫ ξ, ‖f ξ‖ := by + rw [inverseRadianFourier, norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (by positivity)] + apply mul_le_mul_of_nonneg_left _ (by positivity) + unfold radianFourierIntegral + refine (norm_integral_le_integral_norm _).trans_eq ?_ + congr 1 + funext ξ + simp only [norm_mul, Complex.norm_exp_ofReal_mul_I, one_mul] + +/-- The inverse Fourier normalization recovers every Schwartz function exactly. -/ +theorem inverseRadianFourier_kernel (χ : 𝓢(E, ℂ)) (y : E) : + inverseRadianFourier (radianFourierKernel χ) y = χ y := by + have hp : 0 < 2 * Real.pi := by positivity + have hi : (𝓕 (𝓕 χ : 𝓢(E, ℂ)) : 𝓢(E, ℂ)) (-y) = χ y := by + have h := congrArg (fun ψ : 𝓢(E, ℂ) => ψ y) + (FourierTransform.fourierInv_fourier_eq (F := 𝓢(E, ℂ)) χ) + exact h + change (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) * + radianFourierIntegral (fun ξ => (𝓕 χ) ((2 * Real.pi)⁻¹ • ξ)) (-y) = χ y + rw [radianFourier_dilation (2 * Real.pi) hp, radianFourierIntegral_eq_fourier] + simp only [smul_smul, inv_mul_cancel₀ hp.ne', one_smul] + have hi' : (𝓕 ((𝓕 χ : 𝓢(E, ℂ)) : E → ℂ)) (-y) = χ y := hi + rw [hi'] + change ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) * + ((((2 * Real.pi) ^ (12 : ℕ) : ℝ) : ℂ) * χ y) = χ y + rw [← mul_assoc, ← Complex.ofReal_mul, inv_mul_cancel₀ (pow_ne_zero 12 hp.ne'), + Complex.ofReal_one, one_mul] + +noncomputable def homogeneousPhysicalFunction (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : C₀(E, ℂ) where + toFun := inverseRadianFourier f + continuous_toFun := continuous_inverseRadianFourier + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp f)).1 + zero_at_infty' := zero_at_infty_inverseRadianFourier f + +@[simp] theorem homogeneousPhysicalFunction_apply (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) (y : E) : + homogeneousPhysicalFunction a k ha ha1 hk f y = inverseRadianFourier f y := rfl + +/-- Whole-space point observation has one finite constant determined by the exact weight. -/ +theorem homogeneousPhysicalFunction_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + ‖homogeneousPhysicalFunction a k ha ha1 hk f‖ ≤ + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + Real.sqrt (∫ ξ, (homogeneousFourierWeight a k ξ)⁻¹)) * ‖f‖ := by + have hn : Real.sqrt (∫ ξ, ‖f ξ‖ ^ 2 ∂homogeneousFourierMeasure a k) = ‖f‖ := by + rw [Lp.norm_def, (Lp.memLp f).eLpNorm_eq_integral_rpow_norm (by norm_num) (by norm_num)] + simp only [ENNReal.toReal_ofNat, Real.rpow_two] + rw [ENNReal.toReal_ofReal (by positivity), Real.sqrt_eq_rpow] + norm_num + have hl1 := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp f)).2 + rw [hn] at hl1 + rw [← ZeroAtInftyContinuousMap.norm_toBCF_eq_norm] + apply (BoundedContinuousFunction.norm_le (by positivity)).mpr + intro y + exact (inverseRadianFourier_norm_le f y).trans (by + simpa only [mul_assoc] using mul_le_mul_of_nonneg_left hl1 + (show 0 ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ by positivity)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorCompletion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorCompletion.lean new file mode 100644 index 0000000000000000000000000000000000000000..9a166a549496515f72d54d1dadde1a72c6589a74 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorCompletion.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousTopCommutator +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchwartzCommutator + +namespace OAI + +/-! # Completing the compact commutator in the input variable + +Approximation in the actual Y norm transfers the Schwartz result to every +bounded weakly null sequence, without an additional compactness hypothesis. +-/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem schwartzLp2_norm_sq (f : 𝓢(E, ℂ)) : + ‖f.toLp 2 volume‖ ^ 2 = ∫ x : E, ‖f x‖ ^ 2 := by + have h := real_inner_self_eq_norm_sq (f.toLp 2 volume) + rw [L2.inner_def] at h + rw [← h] + apply integral_congr_ae + filter_upwards [SchwartzMap.coeFn_toLp f 2 volume] with x hx + rw [hx, real_inner_self_eq_norm_sq] + +theorem tendsto_homogeneousTopCommutator_Schwartz_input (a M : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (V : 𝓢(E, ℂ)) (f : ℕ → 𝓢(E, ℂ)) + (hf : ∀ n, ‖homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n)‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun n => ℓ (homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n))) + atTop (𝓝 0)) : + Tendsto (fun n => homogeneousTopCommutator a (N + 1) ha ha1 hk j + (homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk V) + (homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n))) atTop (𝓝 0) := by + have ht := tendsto_homogeneousSchwartzCommutator_physicalL2 a M N ha ha1 hk j V f hf hweak + rw [tendsto_zero_iff_norm_tendsto_zero] + have hs := Real.continuous_sqrt.continuousAt.tendsto.comp ht + simpa only [Function.comp_def, homogeneousTopCommutator_Schwartz, ← schwartzLp2_norm_sq, + Real.sqrt_sq (norm_nonneg _), Real.sqrt_zero] using hs + +theorem tendsto_homogeneousTopCommutator_Schwartz_coefficient (a M : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (V : 𝓢(E, ℂ)) + (u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ)) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousTopCommutator a (N + 1) ha ha1 hk j + (homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk V) (u n)) atTop (𝓝 0) := by + let S := homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk + have hd := homogeneousSchwartzEmbedding_dense a ((N + 1 : ℕ) : ℝ) ha ha1 hk + have hchoose (n : ℕ) : ∃ f : 𝓢(E, ℂ), dist (u n) (S f) < 1 / ((n : ℝ) + 1) := + hd.exists_dist_lt (u n) (by positivity) + choose f hf using hchoose + have herrBound (n : ℕ) : ‖S (f n) - u n‖ ≤ 1 / ((n : ℝ) + 1) := by + simpa only [dist_eq_norm, norm_sub_rev] using (hf n).le + have herr : Tendsto (fun n => S (f n) - u n) atTop (𝓝 0) := by + rw [tendsto_zero_iff_norm_tendsto_zero] + exact squeeze_zero (fun n => norm_nonneg _) herrBound + tendsto_one_div_add_atTop_nhds_zero_nat + have hfb (n : ℕ) : ‖S (f n)‖ ≤ M + 1 := by + have hδ : 1 / ((n : ℝ) + 1) ≤ 1 := by + apply (div_le_one (by positivity)).mpr + exact le_add_of_nonneg_left (Nat.cast_nonneg _) + calc + _ ≤ ‖S (f n) - u n‖ + ‖u n‖ := norm_le_norm_sub_add _ _ + _ ≤ 1 + M := add_le_add ((herrBound n).trans hδ) (hu n) + _ = _ := add_comm _ _ + have hfw (ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ) : + Tendsto (fun n => ℓ (S (f n))) atTop (𝓝 0) := by + have h := (ℓ.continuous.continuousAt.tendsto.comp herr).add (hweak ℓ) + simpa only [Function.comp_apply, map_sub, map_zero, sub_add_cancel, add_zero] using h + let T := homogeneousTopCommutator a (N + 1) ha ha1 hk j (S V) + have hs := tendsto_homogeneousTopCommutator_Schwartz_input a (M + 1) N ha ha1 hk j V f hfb hfw + have he := T.continuous.continuousAt.tendsto.comp herr + have h := hs.sub he + simpa only [T, S, Function.comp_apply, map_sub, map_zero, sub_sub_cancel, sub_zero] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..a47fc8ae1b2a7d21b40e4459af6495cd5b797638 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorDecay.lean @@ -0,0 +1,97 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorRows + +namespace OAI + +/-! # An integrable output bound for bounded input frequencies + +The frequency-localized commutator has a square-integrable row majorant. +This is the bounded-frequency counterpart of the R⁻¹ estimate. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem schwartz_polynomial_decay (V : 𝓢(E, ℂ)) (n : ℕ) : + ∃ M : ℝ, 0 < M ∧ ∀ ξ : E, (1 + ‖ξ‖) ^ n * ‖V ξ‖ ≤ M := by + let M := 2 ^ n * (Finset.Iic (n, 0)).sup (fun m => SchwartzMap.seminorm ℝ m.1 m.2) V + refine ⟨max M 1, lt_of_lt_of_le zero_lt_one (le_max_right _ _), fun ξ => ?_⟩ + have h := SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℝ) + (m := (n, 0)) (k := n) (n := 0) (by rfl) (by rfl) V ξ + have hh : (1 + ‖ξ‖) ^ n * ‖V ξ‖ ≤ M := by + simpa only [norm_iteratedFDeriv_zero] using h + exact hh.trans (le_max_left _ _) + +theorem homogeneousCommutatorRow_decay (N : ℕ) (j : Fin N → Fin 12) + (V χ : 𝓢(E, ℂ)) (R : ℝ) (hR : 1 ≤ R) + (hχ : ∀ η : E, R < ‖η‖ → χ η = 0) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ ξ η : E, + ‖homogeneousCommutatorRowKernel N j V χ ξ η‖ ≤ + C * ((1 + ‖ξ‖) ^ (14 : ℕ))⁻¹ := by + obtain ⟨M, hM, hMV⟩ := schwartz_polynomial_decay (radianFourierKernel V) (N + 14) + let K := SchwartzMap.seminorm ℝ 0 0 χ + let Q := 1 + R + refine ⟨2 * Q ^ (2 * N + 14) * M * K, by dsimp [Q, K]; positivity, fun ξ η => ?_⟩ + by_cases hη : R < ‖η‖ + · simp only [homogeneousCommutatorRowKernel, hχ η hη, mul_zero, norm_zero] + positivity + · have hηR : ‖η‖ ≤ R := le_of_not_gt hη + let X := 1 + ‖ξ‖ + let Z := 1 + ‖ξ - η‖ + have hQ : 1 ≤ Q := by dsimp [Q]; linarith + have hX : 1 ≤ X := by dsimp [X]; linarith [norm_nonneg ξ] + have hZ : 0 ≤ Z := by dsimp [Z]; positivity + have hshift : X ≤ Q * Z := by + have ht : ‖ξ‖ ≤ ‖ξ - η‖ + ‖η‖ := by + calc + ‖ξ‖ = ‖ξ - η + η‖ := by rw [sub_add_cancel] + _ ≤ _ := norm_add_le _ _ + dsimp [X, Q, Z] + nlinarith [norm_nonneg (ξ - η)] + have hs : ‖homogeneousOrderedSymbol N j ξ - homogeneousOrderedSymbol N j η‖ ≤ + 2 * Q ^ N * X ^ N := by + have hx : ‖homogeneousOrderedSymbol N j ξ‖ ≤ X ^ N := + (homogeneousOrderedSymbol_norm_le N j ξ).trans + (pow_le_pow_left₀ (norm_nonneg ξ) (by dsimp [X]; linarith) N) + have hy : ‖homogeneousOrderedSymbol N j η‖ ≤ Q ^ N := + (homogeneousOrderedSymbol_norm_le N j η).trans + (pow_le_pow_left₀ (norm_nonneg η) (by dsimp [Q]; linarith) N) + have hQn : 1 ≤ Q ^ N := one_le_pow₀ hQ + have hXn : 1 ≤ X ^ N := one_le_pow₀ hX + have hqa : Q ^ N ≤ Q ^ N * X ^ N := by + simpa only [mul_one] using mul_le_mul_of_nonneg_left hXn (by positivity : 0 ≤ Q ^ N) + have hxa : X ^ N ≤ Q ^ N * X ^ N := by + simpa only [one_mul] using mul_le_mul_of_nonneg_right hQn (by positivity : 0 ≤ X ^ N) + exact (norm_sub_le _ _).trans (by nlinarith) + have hp : X ^ (N + 14) ≤ Q ^ (N + 14) * Z ^ (N + 14) := by + simpa only [mul_pow] using pow_le_pow_left₀ (by linarith : 0 ≤ X) hshift (N + 14) + have hprod : ‖homogeneousCommutatorRowKernel N j V χ ξ η‖ ≤ + 2 * Q ^ N * X ^ N * ‖radianFourierKernel V (ξ - η)‖ * K := by + rw [homogeneousCommutatorRowKernel, norm_mul, norm_mul] + exact mul_le_mul + (mul_le_mul_of_nonneg_right hs (norm_nonneg _)) + (SchwartzMap.norm_le_seminorm ℝ χ η) (norm_nonneg _) (by positivity) + rw [← div_eq_mul_inv] + apply (le_div_iff₀ (by positivity : 0 < (1 + ‖ξ‖) ^ (14 : ℕ))).mpr + calc + _ ≤ (2 * Q ^ N * X ^ N * ‖radianFourierKernel V (ξ - η)‖ * K) * X ^ 14 := + mul_le_mul_of_nonneg_right hprod (pow_nonneg (by linarith : 0 ≤ X) 14) + _ = 2 * Q ^ N * X ^ (N + 14) * ‖radianFourierKernel V (ξ - η)‖ * K := by + rw [pow_add] + ring + _ ≤ 2 * Q ^ N * (Q ^ (N + 14) * Z ^ (N + 14)) * + ‖radianFourierKernel V (ξ - η)‖ * K := by gcongr + _ = 2 * Q ^ (2 * N + 14) * + (Z ^ (N + 14) * ‖radianFourierKernel V (ξ - η)‖) * K := by + rw [show 2 * N + 14 = N + (N + 14) by omega, pow_add] + ring + _ ≤ _ := by + exact mul_le_mul_of_nonneg_right + (mul_le_mul_of_nonneg_left (hMV (ξ - η)) (by positivity)) (by dsimp [K]; positivity) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorFourier.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorFourier.lean new file mode 100644 index 0000000000000000000000000000000000000000..f0aded8c2e7996ef43f8aa86c0dd960b360fcaed --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorFourier.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFourierProduct +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorSymbol + +namespace OAI + +/-! # The actual ordered derivative commutator in Fourier variables + +The kernel contains the difference of the two ordered symbols. Its derivative +gain is therefore the proved symbol gain, rather than an assumed commutator +estimate. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousOrderedCommutator (N : ℕ) (j : Fin N → Fin 12) + (V f : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + homogeneousOrderedDerivative N j (SchwartzMap.smulLeftCLM ℂ V f) - + SchwartzMap.smulLeftCLM ℂ V (homogeneousOrderedDerivative N j f) + +theorem homogeneousOrderedCommutator_fourier (N : ℕ) (j : Fin N → Fin 12) + (V f : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (homogeneousOrderedCommutator N j V f) ξ = + (((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) * + ∫ η : E, (homogeneousOrderedSymbol N j ξ - homogeneousOrderedSymbol N j (ξ - η)) * + radianFourierKernel V η * radianFourierKernel f (ξ - η)) := by + have hi := schwartz_mul_sub_integrable (radianFourierKernel V) + (radianFourierKernel f) ξ + have hd := schwartz_mul_sub_integrable (radianFourierKernel V) + (radianFourierKernel (homogeneousOrderedDerivative N j f)) ξ + have hd' : Integrable (fun η : E => homogeneousOrderedSymbol N j (ξ - η) * + (radianFourierKernel V η * radianFourierKernel f (ξ - η))) := by + convert hd using 1 + funext η + rw [homogeneousOrderedDerivative_fourier] + change _ = _ * (homogeneousOrderedSymbol N j (ξ - η) * _) + ring + have he : (fun η : E => + (homogeneousOrderedSymbol N j ξ - homogeneousOrderedSymbol N j (ξ - η)) * + radianFourierKernel V η * radianFourierKernel f (ξ - η)) = + (fun η => homogeneousOrderedSymbol N j ξ * + (radianFourierKernel V η * radianFourierKernel f (ξ - η))) - + (fun η => homogeneousOrderedSymbol N j (ξ - η) * + (radianFourierKernel V η * radianFourierKernel f (ξ - η))) := by + funext η + simp only [Pi.sub_apply] + ring + rw [he] + change _ = _ * (∫ η : E, homogeneousOrderedSymbol N j ξ * + (radianFourierKernel V η * radianFourierKernel f (ξ - η)) - + homogeneousOrderedSymbol N j (ξ - η) * + (radianFourierKernel V η * radianFourierKernel f (ξ - η))) + rw [integral_sub (hi.const_mul _) hd', integral_const_mul] + change radianFourierCLM + (homogeneousOrderedDerivative N j (SchwartzMap.smulLeftCLM ℂ V f) - + SchwartzMap.smulLeftCLM ℂ V (homogeneousOrderedDerivative N j f)) ξ = _ + rw [map_sub] + simp only [sub_apply, radianFourierCLM_apply] + rw [homogeneousOrderedDerivative_fourier, + radianFourierKernel_schwartzProduct_apply, radianFourierKernel_schwartzProduct_apply] + have hdint : (∫ η : E, radianFourierKernel V η * + radianFourierKernel (homogeneousOrderedDerivative N j f) (ξ - η)) = + ∫ η : E, homogeneousOrderedSymbol N j (ξ - η) * + (radianFourierKernel V η * radianFourierKernel f (ξ - η)) := by + apply integral_congr_ae + filter_upwards [] with η + rw [homogeneousOrderedDerivative_fourier] + change _ * (homogeneousOrderedSymbol N j (ξ - η) * _) = _ + ring + rw [hdint] + change homogeneousOrderedSymbol N j ξ * (_ * _) - _ * _ = _ + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorPotential.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorPotential.lean new file mode 100644 index 0000000000000000000000000000000000000000..87d65b970b1a6add1224d90db7349020ec44cc00 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorPotential.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorCompletion + +namespace OAI + +/-! # Compact commutator for every actual Y coefficient + +The coefficient approximation is in the faithful physical algebra norm. +In particular the theorem applies to the coefficients of the constructed +profile, without assuming extra rapid decay for that profile. +-/ + +open Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +theorem tendsto_homogeneousTopCommutator (a M : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (V : HomogeneousY a ((N + 1 : ℕ) : ℝ)) + (u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ)) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousTopCommutator a (N + 1) ha ha1 hk j V (u n)) + atTop (𝓝 0) := by + let T := homogeneousTopCommutator a (N + 1) ha ha1 hk j + let C := ‖T‖ + have hC : 0 ≤ C := norm_nonneg T + have hM : 0 ≤ M := (norm_nonneg (u 0)).trans (hu 0) + rw [tendsto_zero_iff_norm_tendsto_zero] + apply tendsto_order.2 + constructor + · intro r hr + exact Eventually.of_forall (fun n => hr.trans_le (norm_nonneg _)) + · intro ε hε + let δ := ε / (2 * (C * M + 1)) + have hδ : 0 < δ := div_pos hε (by positivity) + obtain ⟨φ, hφ⟩ := (homogeneousSchwartzEmbedding_dense a ((N + 1 : ℕ) : ℝ) ha ha1 hk).exists_dist_lt V hδ + let Vφ := homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk φ + have hdiff : ‖V - Vφ‖ < δ := by simpa only [dist_eq_norm] using hφ + have hs := tendsto_homogeneousTopCommutator_Schwartz_coefficient a M N ha ha1 hk j φ u hu hweak + have he := hs.norm.eventually (gt_mem_nhds (show ‖(0 : MeasureTheory.Lp ℂ 2 + (MeasureTheory.volume : MeasureTheory.Measure (EuclideanSpace ℝ (Fin 12))))‖ < ε / 2 by + simpa only [norm_zero] using half_pos hε)) + have hδbound : C * δ * M ≤ ε / 2 := by + have hid : δ * (2 * (C * M + 1)) = ε := div_mul_cancel₀ _ (by positivity) + nlinarith [hδ.le] + filter_upwards [he] with n hn + have herror : ‖T (V - Vφ) (u n)‖ ≤ ε / 2 := calc + _ ≤ C * ‖V - Vφ‖ * ‖u n‖ := T.le_opNorm₂ _ _ + _ ≤ C * ‖V - Vφ‖ * M := mul_le_mul_of_nonneg_left (hu n) + (mul_nonneg hC (norm_nonneg _)) + _ ≤ C * δ * M := mul_le_mul_of_nonneg_right + (mul_le_mul_of_nonneg_left hdiff.le hC) hM + _ ≤ ε / 2 := hδbound + have hsum : T V (u n) = T Vφ (u n) + T (V - Vφ) (u n) := by + simp only [map_sub, sub_apply] + abel + change ‖T V (u n)‖ < ε + calc + _ = ‖T Vφ (u n) + T (V - Vφ) (u n)‖ := congrArg norm hsum + _ ≤ ‖T Vφ (u n)‖ + ‖T (V - Vφ) (u n)‖ := norm_add_le _ _ + _ < ε := by linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorRows.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorRows.lean new file mode 100644 index 0000000000000000000000000000000000000000..9abeba3bd50e47fbb7ef624ae061d9db91f84ec2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorRows.lean @@ -0,0 +1,170 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorFourier + +namespace OAI + +/-! # Bounded rows of the frequency-localized commutator + +Each row of the actual commutator kernel, after a fixed Schwartz frequency +cutoff, is a bounded functional on the faithful homogeneous space. This +gives pointwise convergence from weak convergence without assuming an +unproved compact operator. +-/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousCommutatorRowKernel (N : ℕ) (j : Fin N → Fin 12) + (V χ : 𝓢(E, ℂ)) (ξ η : E) : ℂ := + (homogeneousOrderedSymbol N j ξ - homogeneousOrderedSymbol N j η) * + radianFourierKernel V (ξ - η) * χ η + +noncomputable def homogeneousCommutatorRowBound (N : ℕ) (j : Fin N → Fin 12) + (V χ : 𝓢(E, ℂ)) (ξ : E) : ℝ := + (‖homogeneousOrderedSymbol N j ξ‖ * SchwartzMap.seminorm ℝ 0 0 χ + + SchwartzMap.seminorm ℝ N 0 χ) * SchwartzMap.seminorm ℝ 0 0 (radianFourierKernel V) + +theorem homogeneousCommutatorRowKernel_continuous (N : ℕ) (j : Fin N → Fin 12) + (V χ : 𝓢(E, ℂ)) (ξ : E) : Continuous (homogeneousCommutatorRowKernel N j V χ ξ) := by + unfold homogeneousCommutatorRowKernel homogeneousOrderedSymbol + fun_prop + +theorem homogeneousCommutatorRowBound_nonneg (N : ℕ) (j : Fin N → Fin 12) + (V χ : 𝓢(E, ℂ)) (ξ : E) : 0 ≤ homogeneousCommutatorRowBound N j V χ ξ := by + unfold homogeneousCommutatorRowBound + positivity + +theorem homogeneousCommutatorRowKernel_norm_le (N : ℕ) (j : Fin N → Fin 12) + (V χ : 𝓢(E, ℂ)) (ξ η : E) : + ‖homogeneousCommutatorRowKernel N j V χ ξ η‖ ≤ + homogeneousCommutatorRowBound N j V χ ξ := by + have hχ := SchwartzMap.norm_le_seminorm ℝ χ η + have hd : ‖homogeneousOrderedSymbol N j η‖ * ‖χ η‖ ≤ + SchwartzMap.seminorm ℝ N 0 χ := + (mul_le_mul_of_nonneg_right (homogeneousOrderedSymbol_norm_le N j η) (norm_nonneg _)).trans + (SchwartzMap.norm_pow_mul_le_seminorm ℝ χ N η) + have hV := SchwartzMap.norm_le_seminorm ℝ (radianFourierKernel V) (ξ - η) + calc + _ = ‖homogeneousOrderedSymbol N j ξ - homogeneousOrderedSymbol N j η‖ * + ‖χ η‖ * ‖radianFourierKernel V (ξ - η)‖ := by + simp only [homogeneousCommutatorRowKernel, norm_mul] + ring + _ ≤ (‖homogeneousOrderedSymbol N j ξ‖ * ‖χ η‖ + + ‖homogeneousOrderedSymbol N j η‖ * ‖χ η‖) * + ‖radianFourierKernel V (ξ - η)‖ := by + rw [← add_mul] + exact mul_le_mul_of_nonneg_right + (mul_le_mul_of_nonneg_right (norm_sub_le _ _) (norm_nonneg _)) (norm_nonneg _) + _ ≤ _ := mul_le_mul (add_le_add (mul_le_mul_of_nonneg_left hχ (norm_nonneg _)) hd) + hV (norm_nonneg _) (by positivity) + +theorem homogeneousCommutatorRow_integrable (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (N : ℕ) (j : Fin N → Fin 12) (V χ : 𝓢(E, ℂ)) (ξ : E) (u : HomogeneousY a k) : + Integrable (fun η : E => homogeneousCommutatorRowKernel N j V χ ξ η * u η) := by + apply (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u)).1.bdd_mul + (c := homogeneousCommutatorRowBound N j V χ ξ) + (homogeneousCommutatorRowKernel_continuous N j V χ ξ).aestronglyMeasurable + exact ae_of_all _ (homogeneousCommutatorRowKernel_norm_le N j V χ ξ) + +noncomputable def homogeneousCommutatorRowValue (a k : ℝ) + (N : ℕ) (j : Fin N → Fin 12) (V χ : 𝓢(E, ℂ)) (ξ : E) (u : HomogeneousY a k) : ℂ := + ∫ η : E, homogeneousCommutatorRowKernel N j V χ ξ η * u η + +theorem homogeneousCommutatorRowValue_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (N : ℕ) (j : Fin N → Fin 12) (V χ : 𝓢(E, ℂ)) (ξ : E) (u : HomogeneousY a k) : + ‖homogeneousCommutatorRowValue a k N j V χ ξ u‖ ≤ + (homogeneousCommutatorRowBound N j V χ ξ * + Real.sqrt (∫ η : E, (homogeneousFourierWeight a k η)⁻¹)) * ‖u‖ := by + let C := homogeneousCommutatorRowBound N j V χ ξ + have hC : 0 ≤ C := homogeneousCommutatorRowBound_nonneg N j V χ ξ + have hu := integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u) + have hn : Real.sqrt (∫ η : E, ‖u η‖ ^ 2 ∂homogeneousFourierMeasure a k) = ‖u‖ := by + rw [Lp.norm_def, (Lp.memLp u).eLpNorm_eq_integral_rpow_norm (by norm_num) (by norm_num)] + simp only [ENNReal.toReal_ofNat, Real.rpow_two] + rw [ENNReal.toReal_ofReal (by positivity), Real.sqrt_eq_rpow] + norm_num + have hlu : (∫ η : E, ‖u η‖) ≤ + Real.sqrt (∫ η : E, (homogeneousFourierWeight a k η)⁻¹) * ‖u‖ := by + simpa only [hn] using hu.2 + have hm := integral_mono_of_nonneg (ae_of_all _ (fun η : E => norm_nonneg + (homogeneousCommutatorRowKernel N j V χ ξ η * u η))) + (hu.1.norm.const_mul C) (ae_of_all _ (fun η => by + change ‖homogeneousCommutatorRowKernel N j V χ ξ η * u η‖ ≤ C * ‖u η‖ + rw [norm_mul] + exact mul_le_mul_of_nonneg_right (homogeneousCommutatorRowKernel_norm_le N j V χ ξ η) + (norm_nonneg _))) + calc + _ ≤ ∫ η : E, ‖homogeneousCommutatorRowKernel N j V χ ξ η * u η‖ := + norm_integral_le_integral_norm _ + _ ≤ C * ∫ η : E, ‖u η‖ := hm.trans_eq (integral_const_mul _ _) + _ ≤ C * (Real.sqrt (∫ η : E, (homogeneousFourierWeight a k η)⁻¹) * ‖u‖) := + mul_le_mul_of_nonneg_left hlu hC + _ = _ := by ring + +noncomputable def homogeneousCommutatorRow (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (N : ℕ) (j : Fin N → Fin 12) (V χ : 𝓢(E, ℂ)) (ξ : E) : + HomogeneousY a k →L[ℂ] ℂ := by + let A : HomogeneousY a k →ₗ[ℂ] ℂ := + { toFun := homogeneousCommutatorRowValue a k N j V χ ξ + map_add' := by + intro u v + have huv := (Lp.coeFn_add u v).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + change (∫ η : E, homogeneousCommutatorRowKernel N j V χ ξ η * (u + v) η) = _ + rw [integral_congr_ae (by + filter_upwards [huv] with η hη + rw [hη, Pi.add_apply, mul_add]), + integral_add (homogeneousCommutatorRow_integrable a k ha ha1 hk N j V χ ξ u) + (homogeneousCommutatorRow_integrable a k ha ha1 hk N j V χ ξ v)] + rfl + map_smul' := by + intro c u + have hcu := (Lp.coeFn_smul c u).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + change (∫ η : E, homogeneousCommutatorRowKernel N j V χ ξ η * (c • u) η) = + c * ∫ η : E, homogeneousCommutatorRowKernel N j V χ ξ η * u η + have he : (fun η : E => homogeneousCommutatorRowKernel N j V χ ξ η * (c • u) η) =ᵐ[volume] + (fun η : E => c * (homogeneousCommutatorRowKernel N j V χ ξ η * u η)) := by + filter_upwards [hcu] with η hη + simp only [hη, Pi.smul_apply, smul_eq_mul] + ring + rw [integral_congr_ae he, integral_const_mul] } + exact A.mkContinuous (homogeneousCommutatorRowBound N j V χ ξ * + Real.sqrt (∫ η : E, (homogeneousFourierWeight a k η)⁻¹)) + (homogeneousCommutatorRowValue_norm_le a k ha ha1 hk N j V χ ξ) + +theorem homogeneousCommutatorRow_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (N : ℕ) (j : Fin N → Fin 12) (V χ ψ : 𝓢(E, ℂ)) (ξ : E) : + homogeneousCommutatorRow a k ha ha1 hk N j V χ ξ + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) = + ∫ η : E, homogeneousCommutatorRowKernel N j V χ ξ η * ψ η := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + have hψ := (SchwartzMap.coeFn_toLp ψ 2 (homogeneousFourierMeasure a k)).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + change (∫ η : E, homogeneousCommutatorRowKernel N j V χ ξ η * + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) η) = _ + apply integral_congr_ae + filter_upwards [hψ] with η hη + change _ * ψ.toLp 2 (homogeneousFourierMeasure a k) η = _ + rw [hη] + +theorem tendsto_homogeneousCommutatorRow_of_weakNull (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (N : ℕ) (j : Fin N → Fin 12) (V χ : 𝓢(E, ℂ)) (ξ : E) + (u : ℕ → HomogeneousY a k) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousCommutatorRow a k ha ha1 hk N j V χ ξ (u n)) + atTop (𝓝 0) := + hweak ((homogeneousCommutatorRow a k ha ha1 hk N j V χ ξ).restrictScalars ℝ) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorSplit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorSplit.lean new file mode 100644 index 0000000000000000000000000000000000000000..e3ac188fbf22262b0cc6fd0ab404ab2a11922d75 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorSplit.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFrequencySplit + +namespace OAI + +/-! # Exact low/high decomposition of the physical commutator -/ + +open MeasureTheory LineDeriv Filter Topology +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousOrderedCommutator_add (N : ℕ) (j : Fin N → Fin 12) + (V f g : 𝓢(E, ℂ)) : + homogeneousOrderedCommutator N j V (f + g) = + homogeneousOrderedCommutator N j V f + homogeneousOrderedCommutator N j V g := by + simp only [homogeneousOrderedCommutator, homogeneousOrderedDerivative, map_add, + iteratedLineDerivOp_add] + abel + +theorem homogeneousOrderedCommutator_split (N : ℕ) (j : Fin N → Fin 12) + (V f : 𝓢(E, ℂ)) (R : ℝ) (hR : 0 < R) : + homogeneousOrderedCommutator N j V f = + homogeneousOrderedCommutator N j V (homogeneousLowFrequencyPart R hR f) + + homogeneousOrderedCommutator N j V (homogeneousHighFrequencyPart R hR f) := by + rw [← homogeneousOrderedCommutator_add] + congr 1 + dsimp only [homogeneousHighFrequencyPart] + abel + +theorem homogeneousLowCommutator_fourier_row (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 0 < R) + (N : ℕ) (j : Fin N → Fin 12) (V f : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel + (homogeneousOrderedCommutator N j V (homogeneousLowFrequencyPart R hR f)) ξ = + ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) * + homogeneousCommutatorRow a k ha ha1 hk N j V (homogeneousFrequencyCutoff R hR) ξ + (homogeneousSchwartzEmbedding a k ha ha1 hk f) := by + rw [homogeneousOrderedCommutator_fourier] + change _ = _ * homogeneousCommutatorRow a k ha ha1 hk N j V + (homogeneousFrequencyCutoff R hR) ξ + (homogeneousFrequencyEmbedding a k ha ha1 hk (radianFourierKernel f)) + rw [homogeneousCommutatorRow_Schwartz] + congr 1 + rw [← integral_sub_left_eq_self + (fun η : E => (homogeneousOrderedSymbol N j ξ - homogeneousOrderedSymbol N j (ξ - η)) * + radianFourierKernel V η * radianFourierKernel (homogeneousLowFrequencyPart R hR f) (ξ - η)) + volume ξ] + apply integral_congr_ae + filter_upwards [] with η + simp only [sub_sub_self, homogeneousLowFrequencyPart_fourier, homogeneousCommutatorRowKernel] + ring + +theorem tendsto_homogeneousLowCommutator_fourier_L2 (a k M R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 1 ≤ R) + (N : ℕ) (j : Fin N → Fin 12) (V : 𝓢(E, ℂ)) (f : ℕ → 𝓢(E, ℂ)) + (hf : ∀ n, ‖homogeneousSchwartzEmbedding a k ha ha1 hk (f n)‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (homogeneousSchwartzEmbedding a k ha ha1 hk (f n))) atTop (𝓝 0)) : + Tendsto (fun n => ∫ ξ : E, ‖radianFourierKernel + (homogeneousOrderedCommutator N j V + (homogeneousLowFrequencyPart R (by linarith) (f n))) ξ‖ ^ 2) atTop (𝓝 0) := by + have ht := tendsto_homogeneousCommutator_cutoff_L2 a k M (2 * R) ha ha1 hk + (by linarith) N j V (homogeneousFrequencyCutoff R (by linarith)) + (fun η hη => homogeneousFrequencyCutoff_zero R (by linarith) η hη.le) + (fun n => homogeneousSchwartzEmbedding a k ha ha1 hk (f n)) hf hweak + have he (n : ℕ) : + (∫ ξ : E, ‖radianFourierKernel + (homogeneousOrderedCommutator N j V + (homogeneousLowFrequencyPart R (by linarith) (f n))) ξ‖ ^ 2) = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹) ^ 2 * + ∫ ξ : E, ‖homogeneousCommutatorRow a k ha ha1 hk N j V + (homogeneousFrequencyCutoff R (by linarith)) ξ + (homogeneousSchwartzEmbedding a k ha ha1 hk (f n))‖ ^ 2 := by + simp_rw [homogeneousLowCommutator_fourier_row a k R ha ha1 hk (by linarith), + norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_pos (show 0 < ((2 * Real.pi) ^ (12 : ℕ))⁻¹ by positivity), mul_pow] + rw [integral_const_mul] + simp_rw [he] + simpa only [mul_zero] using ht.const_mul ((((2 * Real.pi) ^ (12 : ℕ))⁻¹) ^ 2) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorSymbol.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorSymbol.lean new file mode 100644 index 0000000000000000000000000000000000000000..5105e89b48ef48125f998adb861b9d887da1f280 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCommutatorSymbol.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOrderedDerivatives + +namespace OAI + +/-! # One frequency gain in the actual ordered derivative commutator + +The difference of the two ordered Fourier symbols loses one power of the +large frequency. This is the algebraic input for the high-energy compact +commutator; no compactness or operator estimate is assumed here. +-/ + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousOrderedSymbol (N : ℕ) (j : Fin N → Fin 12) (ξ : E) : ℂ := + ∏ i, ((ξ (j i) : ℂ) * Complex.I) + +theorem homogeneousOrderedSymbol_norm_le (N : ℕ) (j : Fin N → Fin 12) (ξ : E) : + ‖homogeneousOrderedSymbol N j ξ‖ ≤ ‖ξ‖ ^ N := by + unfold homogeneousOrderedSymbol + rw [norm_prod] + calc + _ ≤ ∏ _i : Fin N, ‖ξ‖ := Finset.prod_le_prod₀ (fun _ _ => norm_nonneg _) + (fun i _ => by + simpa only [norm_mul, Complex.norm_real, Complex.norm_I, mul_one] using + PiLp.norm_apply_le ξ (j i)) + _ = _ := by simp + +theorem homogeneousOrderedSymbol_sub_le (N : ℕ) (j : Fin (N + 1) → Fin 12) (ξ η : E) : + ‖homogeneousOrderedSymbol (N + 1) j ξ - homogeneousOrderedSymbol (N + 1) j η‖ ≤ + (N + 1 : ℕ) * ‖ξ - η‖ * (‖ξ‖ + ‖η‖) ^ N := by + induction N with + | zero => + simp only [homogeneousOrderedSymbol, Fin.prod_univ_succ, Fin.prod_univ_zero, Nat.zero_add, Nat.cast_one, + one_mul, pow_zero, mul_one] + rw [← sub_mul, norm_mul, Complex.norm_I, mul_one, ← Complex.ofReal_sub, Complex.norm_real] + exact PiLp.norm_apply_le (ξ - η) (j 0) + | succ N ih => + let R := ‖ξ‖ + ‖η‖ + let d := ‖ξ - η‖ + let A := ((ξ (j 0) : ℂ) * Complex.I) + let B := ((η (j 0) : ℂ) * Complex.I) + let P := homogeneousOrderedSymbol (N + 1) (Fin.tail j) ξ + let Q := homogeneousOrderedSymbol (N + 1) (Fin.tail j) η + have hR : 0 ≤ R := by dsimp [R]; positivity + have hd : 0 ≤ d := norm_nonneg _ + have hA' : ‖A‖ ≤ ‖ξ‖ := by + simpa only [A, norm_mul, Complex.norm_real, Complex.norm_I, mul_one] using + PiLp.norm_apply_le ξ (j 0) + have hA : ‖A‖ ≤ R := hA'.trans (le_add_of_nonneg_right (norm_nonneg η)) + have hAB : ‖A - B‖ ≤ d := by + dsimp only [A, B, d] + rw [← sub_mul, norm_mul, Complex.norm_I, mul_one, ← Complex.ofReal_sub, Complex.norm_real] + exact PiLp.norm_apply_le (ξ - η) (j 0) + have hQ : ‖Q‖ ≤ R ^ (N + 1) := (homogeneousOrderedSymbol_norm_le (N + 1) (Fin.tail j) η).trans + (pow_le_pow_left₀ (norm_nonneg η) (le_add_of_nonneg_left (norm_nonneg ξ)) _) + have hPQ : ‖P - Q‖ ≤ (N + 1 : ℕ) * d * R ^ N := ih (Fin.tail j) + have hξ : homogeneousOrderedSymbol (N + 1 + 1) j ξ = A * P := by + simpa only [homogeneousOrderedSymbol, A, P, Fin.tail_def] using + Fin.prod_univ_succ (fun i => (ξ (j i) : ℂ) * Complex.I) + have hη : homogeneousOrderedSymbol (N + 1 + 1) j η = B * Q := by + simpa only [homogeneousOrderedSymbol, B, Q, Fin.tail_def] using + Fin.prod_univ_succ (fun i => (η (j i) : ℂ) * Complex.I) + rw [hξ, hη] + calc + _ = ‖A * (P - Q) + (A - B) * Q‖ := by congr 1; ring + _ ≤ ‖A‖ * ‖P - Q‖ + ‖A - B‖ * ‖Q‖ := by + simpa only [norm_mul] using norm_add_le (A * (P - Q)) ((A - B) * Q) + _ ≤ R * ((N + 1 : ℕ) * d * R ^ N) + d * R ^ (N + 1) := by + exact add_le_add (mul_le_mul hA hPQ (norm_nonneg _) hR) + (mul_le_mul hAB hQ (norm_nonneg _) hd) + _ = _ := by simp only [Nat.cast_add, Nat.cast_one, pow_succ]; ring + +theorem homogeneousOrderedSymbol_highFrequency (N : ℕ) (j : Fin (N + 1) → Fin 12) + (ξ η : E) (R : ℝ) (hR : 1 ≤ R) (hη : R ≤ ‖η‖) : + ‖homogeneousOrderedSymbol (N + 1) j ξ - homogeneousOrderedSymbol (N + 1) j η‖ ≤ + ((N + 1 : ℕ) / R) * ‖ξ - η‖ * (2 + ‖ξ - η‖) ^ N * ‖η‖ ^ (N + 1) := by + have hη1 : 1 ≤ ‖η‖ := hR.trans hη + have hr : 0 < R := lt_of_lt_of_le zero_lt_one hR + have ht : ‖ξ‖ ≤ ‖ξ - η‖ + ‖η‖ := by + calc + ‖ξ‖ = ‖ξ - η + η‖ := by rw [sub_add_cancel] + _ ≤ _ := norm_add_le _ _ + have hsum : ‖ξ‖ + ‖η‖ ≤ (2 + ‖ξ - η‖) * ‖η‖ := by + nlinarith [norm_nonneg (ξ - η), mul_le_mul_of_nonneg_left hη1 (norm_nonneg (ξ - η))] + have hpow : (‖ξ‖ + ‖η‖) ^ N ≤ (2 + ‖ξ - η‖) ^ N * ‖η‖ ^ N := by + simpa only [mul_pow] using pow_le_pow_left₀ (by positivity) hsum N + have hgain : ‖η‖ ^ N ≤ R⁻¹ * ‖η‖ ^ (N + 1) := by + have hi : R * ‖η‖ ^ N ≤ ‖η‖ ^ (N + 1) := by + simpa only [pow_succ, mul_comm] using mul_le_mul_of_nonneg_right hη (pow_nonneg (norm_nonneg η) N) + have hh := mul_le_mul_of_nonneg_left hi (inv_nonneg.mpr hr.le) + simpa only [← mul_assoc, inv_mul_cancel₀ hr.ne', one_mul] using hh + calc + _ ≤ (N + 1 : ℕ) * ‖ξ - η‖ * (‖ξ‖ + ‖η‖) ^ N := + homogeneousOrderedSymbol_sub_le N j ξ η + _ ≤ (N + 1 : ℕ) * ‖ξ - η‖ * ((2 + ‖ξ - η‖) ^ N * ‖η‖ ^ N) := + mul_le_mul_of_nonneg_left hpow (by positivity) + _ ≤ (N + 1 : ℕ) * ‖ξ - η‖ * ((2 + ‖ξ - η‖) ^ N * (R⁻¹ * ‖η‖ ^ (N + 1))) := + mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hgain (by positivity)) (by positivity) + _ = _ := by rw [div_eq_mul_inv]; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactErrors.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactErrors.lean new file mode 100644 index 0000000000000000000000000000000000000000..7e766f020adec74988fd4ee927f16a941b53247b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactErrors.lean @@ -0,0 +1,97 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCompactLocalEstimate +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedCommutator + +namespace OAI + +/-! # The whole-space compact-error estimate for the actual potential + +The fractional low-order term and the entire ordered top-derivative error +are bounded by an arbitrarily small Y term and a fixed-ball physical L² +observation. Fourier estimates and density establish the compactness +needed for the potential and commutator terms. +-/ + +open MeasureTheory Filter Topology + +namespace DefocusingNLS + +theorem homogeneousLinearizedTopCommutator_local_estimate (a ε : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) + (hε : 0 < ε) : + ∃ R : ℝ, 0 < R ∧ ∃ C : ℝ, 0 ≤ C ∧ ∀ u : HomogeneousY a ((N + 1 : ℕ) : ℝ), + ‖homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u‖ ≤ ε * ‖u‖ + + C * ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk u‖ := by + exact homogeneousCompactOperator_local_estimate a ((N + 1 : ℕ) : ℝ) ha ha1 hk + (homogeneousLinearizedTopCommutator a N ha ha1 hk j m q) + (fun M u hu hw => tendsto_homogeneousLinearizedTopCommutator a M N ha ha1 hk j m q u hu hw) + ε hε + +theorem homogeneousLinearizedLowEnergy_local_estimate (a k ε : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) (hε : 0 < ε) : + ∃ R : ℝ, 0 < R ∧ ∃ C : ℝ, 0 ≤ C ∧ ∀ u : HomogeneousY a k, + ‖homogeneousLowEnergy a k ha1 hk (homogeneousLinearizedPotential a k ha ha1 hk (m + 1) q u)‖ ≤ + ε * ‖u‖ + C * ‖homogeneousLocalL2Observation a k R ha ha1 hk u‖ := by + let T := ((homogeneousLowEnergy a k ha1 hk).restrictScalars ℝ).comp + (homogeneousLinearizedPotential a k ha ha1 hk (m + 1) q) + exact homogeneousCompactOperator_local_estimate a k ha ha1 hk T + (fun M u hu hw => tendsto_homogeneousLowEnergy_linearizedPotential a k M ha ha1 hk m q u hu hw) + ε hε + +theorem homogeneousLinearized_compact_errors (a ε : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) (hε : 0 < ε) : + ∃ R : ℝ, 0 < R ∧ ∃ C : ℝ, 0 ≤ C ∧ ∀ u : HomogeneousY a ((N + 1 : ℕ) : ℝ), + ‖homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u)‖ + + Real.sqrt (∑ j : Fin (N + 1) → Fin 12, + ‖homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u‖ ^ 2) ≤ + ε * ‖u‖ + C * ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk u‖ := by + let J := Fin (N + 1) → Fin 12 + let d : ℝ := Fintype.card J + have hd : 0 < d := by + change (0 : ℝ) < (Fintype.card J : ℝ) + exact_mod_cast (Fintype.card_pos : 0 < Fintype.card J) + let δ := ε / (2 * d) + have hδ : 0 < δ := div_pos hε (mul_pos (by norm_num) hd) + obtain ⟨R₀, hR₀, C₀, hC₀, h₀⟩ := homogeneousLinearizedLowEnergy_local_estimate a + ((N + 1 : ℕ) : ℝ) (ε / 2) ha ha1 hk m q (half_pos hε) + have htop (j : J) := homogeneousLinearizedTopCommutator_local_estimate a δ N ha ha1 hk j m q hδ + choose R hR C hC hc using htop + let Rall := R₀ + ∑ j : J, R j + let Call := C₀ + ∑ j : J, C j + have hRsum : 0 ≤ ∑ j : J, R j := Finset.sum_nonneg (fun j _ => (hR j).le) + have hCall : 0 ≤ Call := add_nonneg hC₀ (Finset.sum_nonneg (fun j _ => hC j)) + refine ⟨Rall, by dsimp [Rall]; linarith, Call, hCall, fun u => ?_⟩ + let O := ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) Rall ha ha1 hk u‖ + have hlow := h₀ u + have hO₀ : ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R₀ ha ha1 hk u‖ ≤ O := + homogeneousLocalL2Observation_norm_mono a ((N + 1 : ℕ) : ℝ) R₀ Rall ha ha1 hk + (by dsimp [Rall]; linarith) u + have hOj (j : J) : ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) (R j) ha ha1 hk u‖ ≤ O := by + have hj := Finset.single_le_sum (fun j _ => (hR j).le) (Finset.mem_univ j) + apply homogeneousLocalL2Observation_norm_mono a ((N + 1 : ℕ) : ℝ) (R j) Rall ha ha1 hk + dsimp [Rall] + linarith + have hs : (∑ j : J, ‖homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u‖) ≤ + (ε / 2) * ‖u‖ + (∑ j : J, C j) * O := by + have h := Finset.sum_le_sum (s := Finset.univ) (fun (j : J) _ => + (hc j u).trans (add_le_add le_rfl (mul_le_mul_of_nonneg_left (hOj j) (hC j)))) + have he : (Fintype.card J : ℝ) * δ = ε / 2 := by + change d * δ = ε / 2 + dsimp [δ] + field_simp [hd.ne'] + simpa only [Finset.sum_add_distrib, Finset.sum_const, Finset.card_univ, nsmul_eq_mul, + ← Finset.sum_mul, ← mul_assoc, he] using h + have hroot : Real.sqrt (∑ j : J, ‖homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u‖ ^ 2) ≤ + ∑ j : J, ‖homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u‖ := by + apply Real.sqrt_le_iff.mpr + exact ⟨Finset.sum_nonneg (fun _ _ => norm_nonneg _), + Finset.sum_sq_le_sq_sum_of_nonneg (fun _ _ => norm_nonneg _)⟩ + have hlow' := hlow.trans (add_le_add le_rfl (mul_le_mul_of_nonneg_left hO₀ hC₀)) + dsimp only [Call] + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactLocalEstimate.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactLocalEstimate.lean new file mode 100644 index 0000000000000000000000000000000000000000..f66c2db1cf87cbf7f22547f2012b32bd936c8c72 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactLocalEstimate.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeakSubsequence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousObservationSeparates +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalL2Energy + +namespace OAI + +/-! # The local physical observation form of a compact Y error + +A failure of the estimate produces unit vectors with vanishing observation +on expanding balls. Their weak subsequential limit is zero by faithfulness +of the physical realization, contradicting the proved compact-error bound. +-/ + +open MeasureTheory Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousCompactOperator_local_estimate + {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (T : HomogeneousY a k →L[ℝ] F) + (hcompact : ∀ (M : ℝ) (u : ℕ → HomogeneousY a k), (∀ n, ‖u n‖ ≤ M) → + (∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) → + Tendsto (fun n => T (u n)) atTop (𝓝 0)) + (ε : ℝ) (hε : 0 < ε) : + ∃ R : ℝ, 0 < R ∧ ∃ C : ℝ, 0 ≤ C ∧ ∀ u : HomogeneousY a k, + ‖T u‖ ≤ ε * ‖u‖ + C * ‖homogeneousLocalL2Observation a k R ha ha1 hk u‖ := by + by_contra! h + have hex (n : ℕ) : ∃ u : HomogeneousY a k, + ε * ‖u‖ + ((n : ℝ) + 1) * + ‖homogeneousLocalL2Observation a k ((n : ℝ) + 1) ha ha1 hk u‖ < ‖T u‖ := + h ((n : ℝ) + 1) (by positivity) ((n : ℝ) + 1) (by positivity) + choose u hu using hex + have hup (n : ℕ) : 0 < ‖u n‖ := by + by_contra hn + have hz : u n = 0 := norm_eq_zero.mp (le_antisymm (le_of_not_gt hn) (norm_nonneg _)) + simpa only [hz, map_zero, norm_zero, mul_zero, add_zero, lt_self_iff_false] using hu n + let w : ℕ → HomogeneousY a k := fun n => (‖u n‖)⁻¹ • u n + have hwn (n : ℕ) : ‖w n‖ = 1 := by + dsimp only [w] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (hup n)), + inv_mul_cancel₀ (hup n).ne'] + have hTn (n : ℕ) : ‖T (w n)‖ = ‖T (u n)‖ / ‖u n‖ := by + dsimp only [w] + rw [map_smul, norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (hup n))] + exact (mul_comm _ _).trans (div_eq_mul_inv _ _).symm + have hJn (n : ℕ) : + ‖homogeneousLocalL2Observation a k ((n : ℝ) + 1) ha ha1 hk (w n)‖ = + ‖homogeneousLocalL2Observation a k ((n : ℝ) + 1) ha ha1 hk (u n)‖ / ‖u n‖ := by + dsimp only [w] + rw [ContinuousLinearMap.map_smul_of_tower, norm_smul, Real.norm_eq_abs, + abs_of_pos (inv_pos.mpr (hup n))] + exact (mul_comm _ _).trans (div_eq_mul_inv _ _).symm + have hstep (n : ℕ) : ε + ((n : ℝ) + 1) * + ‖homogeneousLocalL2Observation a k ((n : ℝ) + 1) ha ha1 hk (w n)‖ < ‖T (w n)‖ := by + rw [hTn, hJn] + calc + _ = (ε * ‖u n‖ + ((n : ℝ) + 1) * + ‖homogeneousLocalL2Observation a k ((n : ℝ) + 1) ha ha1 hk (u n)‖) / ‖u n‖ := by + field_simp [(hup n).ne'] + _ < _ := div_lt_div_of_pos_right (hu n) (hup n) + have hJbound (n : ℕ) : + ‖homogeneousLocalL2Observation a k ((n : ℝ) + 1) ha ha1 hk (w n)‖ ≤ + ‖T‖ / ((n : ℝ) + 1) := by + apply (le_div_iff₀ (by positivity)).mpr + have ht := T.le_opNorm (w n) + rw [hwn, mul_one] at ht + nlinarith [hstep n] + have hJzero (R : ℝ) : + Tendsto (fun n => homogeneousLocalL2Observation a k R ha ha1 hk (w n)) atTop (𝓝 0) := by + obtain ⟨N, hRN⟩ := exists_nat_gt R + rw [tendsto_zero_iff_norm_tendsto_zero] + apply squeeze_zero' (Eventually.of_forall (fun n => norm_nonneg _)) + (g := fun n : ℕ => ‖T‖ / ((n : ℝ) + 1)) + · filter_upwards [eventually_ge_atTop N] with n hn + have hNn : (N : ℝ) ≤ n := by exact_mod_cast hn + exact (homogeneousLocalL2Observation_norm_mono a k R ((n : ℝ) + 1) + ha ha1 hk (by linarith) (w n)).trans (hJbound n) + · simpa only [div_eq_mul_inv, one_mul, mul_zero] using + (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ)).const_mul ‖T‖ + obtain ⟨v, _hv, φ, hφ, hw⟩ := homogeneousY_weak_subsequence a k 1 ha1 hk w + (fun n => (hwn n).le) + have hv0 : v = 0 := by + apply homogeneousLocalL2_observations_separate a k ha ha1 hk v + intro R _hR + let J := homogeneousLocalL2Observation a k R ha ha1 hk + let ℓ : HomogeneousY a k →L[ℝ] ℂ := ((innerSL ℂ (J v)).comp J).restrictScalars ℝ + have h₁ := hw ℓ + have h₂ := (innerSL ℂ (J v)).continuous.continuousAt.tendsto.comp + ((hJzero R).comp hφ.tendsto_atTop) + have he := tendsto_nhds_unique h₁ h₂ + apply (inner_self_eq_zero (𝕜 := ℂ)).mp + simpa only [ℓ, ContinuousLinearMap.coe_restrictScalars', + ContinuousLinearMap.comp_apply, innerSL_apply_apply, inner_zero_right] using he + have hTzero := hcompact 1 (fun n => w (φ n)) (fun n => (hwn (φ n)).le) + (fun ℓ => by simpa only [hv0, map_zero] using hw ℓ) + have he := hTzero.norm.eventually (gt_mem_nhds (show ‖(0 : F)‖ < ε by simpa using hε)) + obtain ⟨n, hn⟩ := he.exists + have hn' := hstep (φ n) + have hnonneg : 0 ≤ ((φ n : ℝ) + 1) * + ‖homogeneousLocalL2Observation a k ((φ n : ℝ) + 1) ha ha1 hk (w (φ n))‖ := by positivity + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..0e679e32e3afae0c57b893f93fea81c877675903 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactObservation.lean @@ -0,0 +1,113 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEvaluationContinuity +import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli +import Mathlib.Analysis.Normed.Operator.Compact.Basic + +namespace OAI + +/-! # Compact local observation of the faithful homogeneous space + +Restricting the actual inverse Fourier function to a compact spatial set is +a compact linear operator. Norm-continuity of the point evaluations provides +the equicontinuity required by Arzelà–Ascoli. +-/ + +open Set Filter Topology +open scoped ZeroAtInfty BoundedContinuousFunction + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousLocalObservation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (S : Set E) : + HomogeneousY a k →L[ℂ] (S →ᵇ ℂ) := + ({ toFun := fun f => (homogeneousPhysicalCLM a k ha ha1 hk f).toBCF.compContinuous + ⟨Subtype.val, continuous_subtype_val⟩ + map_add' := by + intro f g + apply BoundedContinuousFunction.ext + intro x + change homogeneousPhysicalCLM a k ha ha1 hk (f + g) x = + homogeneousPhysicalCLM a k ha ha1 hk f x + homogeneousPhysicalCLM a k ha ha1 hk g x + simp only [map_add, ZeroAtInftyContinuousMap.add_apply] + map_smul' := by + intro c f + apply BoundedContinuousFunction.ext + intro x + change homogeneousPhysicalCLM a k ha ha1 hk (c • f) x = + c • homogeneousPhysicalCLM a k ha ha1 hk f x + simp only [map_smul, ZeroAtInftyContinuousMap.smul_apply] } : + HomogeneousY a k →ₗ[ℂ] (S →ᵇ ℂ)).mkContinuous + ‖homogeneousPhysicalCLM a k ha ha1 hk‖ (by + intro f + exact (BoundedContinuousFunction.norm_compContinuous_le _ _).trans + ((homogeneousPhysicalCLM a k ha ha1 hk).le_opNorm f)) + +@[simp] theorem homogeneousLocalObservation_apply (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (S : Set E) + (f : HomogeneousY a k) (x : S) : + homogeneousLocalObservation a k ha ha1 hk S f x = + homogeneousPhysicalCLM a k ha ha1 hk f x := rfl + +theorem isCompact_homogeneousLocalObservation_unitBall (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (S : Set E) [CompactSpace S] : + IsCompact (closure (homogeneousLocalObservation a k ha ha1 hk S '' + Metric.closedBall 0 1)) := by + let T := homogeneousLocalObservation a k ha ha1 hk S + let A : Set (S →ᵇ ℂ) := T '' Metric.closedBall 0 1 + let c := ‖homogeneousPointEvaluation a k ha ha1 hk 0‖ + have hrange : ∀ (f : S →ᵇ ℂ) (x : S), f ∈ A → f x ∈ Metric.closedBall 0 c := by + intro f x hf + rcases hf with ⟨v, hv, rfl⟩ + have hvnorm : ‖v‖ ≤ 1 := by simpa only [Metric.mem_closedBall, dist_zero_right] using hv + rw [Metric.mem_closedBall, dist_zero_right] + change ‖homogeneousPointEvaluation a k ha ha1 hk x v‖ ≤ c + calc + _ ≤ ‖homogeneousPointEvaluation a k ha ha1 hk x‖ * ‖v‖ := + (homogeneousPointEvaluation a k ha ha1 hk x).le_opNorm v + _ ≤ ‖homogeneousPointEvaluation a k ha ha1 hk x‖ := + mul_le_of_le_one_right (norm_nonneg _) hvnorm + _ = c := homogeneousPointEvaluation_norm_const a k ha ha1 hk x + have hequi : Equicontinuous ((↑) : A → S → ℂ) := by + intro x₀ + apply Metric.equicontinuousAt_iff_right.mpr + intro ε hε + have hc := ((continuous_homogeneousPointEvaluation a k ha ha1 hk).comp + continuous_subtype_val).continuousAt (x := x₀) + have hevent : ∀ᶠ x : S in 𝓝 x₀, + dist (homogeneousPointEvaluation a k ha ha1 hk x₀) + (homogeneousPointEvaluation a k ha ha1 hk x) < ε := by + simpa only [Metric.mem_ball, dist_comm, Function.comp_def] using + hc.eventually (Metric.ball_mem_nhds _ hε) + filter_upwards [hevent] with x hx + intro f + rcases f.property with ⟨v, hv, hvf⟩ + have hvnorm : ‖v‖ ≤ 1 := by simpa only [Metric.mem_closedBall, dist_zero_right] using hv + change dist (f.val x₀) (f.val x) < ε + rw [← hvf, dist_eq_norm] + change ‖(homogeneousPointEvaluation a k ha ha1 hk x₀ - + homogeneousPointEvaluation a k ha ha1 hk x) v‖ < ε + calc + _ ≤ ‖homogeneousPointEvaluation a k ha ha1 hk x₀ - + homogeneousPointEvaluation a k ha ha1 hk x‖ * ‖v‖ := + (homogeneousPointEvaluation a k ha ha1 hk x₀ - + homogeneousPointEvaluation a k ha ha1 hk x).le_opNorm v + _ ≤ ‖homogeneousPointEvaluation a k ha ha1 hk x₀ - + homogeneousPointEvaluation a k ha ha1 hk x‖ := + mul_le_of_le_one_right (norm_nonneg _) hvnorm + _ < ε := by simpa only [dist_eq_norm] using hx + exact BoundedContinuousFunction.arzela_ascoli (Metric.closedBall 0 c) + (isCompact_closedBall 0 c) A hrange hequi + +theorem isCompactOperator_homogeneousLocalObservation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (S : Set E) [CompactSpace S] : + IsCompactOperator (homogeneousLocalObservation a k ha ha1 hk S) := by + apply (isCompactOperator_iff_isCompact_closure_image_closedBall + (homogeneousLocalObservation a k ha ha1 hk S).toLinearMap zero_lt_one).mpr + exact isCompact_homogeneousLocalObservation_unitBall a k ha ha1 hk S + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactResolvent.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactResolvent.lean new file mode 100644 index 0000000000000000000000000000000000000000..6e7348785b98a698ccbc081ce4b72ac6400c477f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousCompactResolvent.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousResolventCircle +import Mathlib.Analysis.Normed.Operator.Compact.Basic + +namespace OAI + +/-! # Compactness of the resolvent-contour perturbation + +The compact-operator subspace is closed. Integrating a continuous curve in +that subspace therefore still gives a compact operator. The second resolvent +identity applies this fact to the exact compact perturbation of the time step. +-/ + +open Complex Set + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +theorem isCompactOperator_circleIntegral {f : ℂ → E →L[ℂ] E} {c : ℂ} {r : ℝ} + (hr : 0 ≤ r) (hf : ContinuousOn f (Metric.sphere c r)) + (hc : ∀ z, IsCompactOperator (f z)) : + IsCompactOperator (show E →L[ℂ] E from ∮ z in C(c, r), f z) := by + let K := compactOperator (RingHom.id ℂ) E E + have hclosed : IsClosed (K : Set (E →L[ℂ] E)) := + isClosed_setOfPred_isCompactOperator + let : CompleteSpace K := hclosed.completeSpace_coe + let g : ℂ → K := fun z => ⟨f z, hc z⟩ + have hg : ContinuousOn g (Metric.sphere c r) := by + apply continuousOn_iff_continuous_domRestrict.mpr + exact (continuousOn_iff_continuous_domRestrict.mp hf).subtype_mk + (fun z => hc z) + have hi := hg.circleIntegrable hr + have he := circleIntegral_map_clm K.subtypeL hi + change (∮ z in C(c, r), f z) = + ((∮ z in C(c, r), g z : K) : E →L[ℂ] E) at he + rw [he] + exact (∮ z in C(c, r), g z : K).property + +theorem circleResolventOperator_sub_isCompact (T B : E →L[ℂ] E) + (hc : IsCompactOperator (T - B)) {r : ℝ} (hr : 0 ≤ r) + (hT : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) + (hB : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ B) : + IsCompactOperator (circleResolventOperator T r - circleResolventOperator B r) := by + let f : ℂ → E →L[ℂ] E := fun z => resolvent T z * (T - B) * resolvent B z + have hct : ContinuousOn (resolvent T) (Metric.sphere (0 : ℂ) r) := by + intro z hz + exact ((spectrum.hasDerivAt_resolvent_const_left (hT z + (by simpa only [Metric.mem_sphere, dist_zero_right] using hz))).continuousAt).continuousWithinAt + have hcb : ContinuousOn (resolvent B) (Metric.sphere (0 : ℂ) r) := by + intro z hz + exact ((spectrum.hasDerivAt_resolvent_const_left (hB z + (by simpa only [Metric.mem_sphere, dist_zero_right] using hz))).continuousAt).continuousWithinAt + have hcf : ContinuousOn f (Metric.sphere (0 : ℂ) r) := + (hct.mul continuousOn_const).mul hcb + have hcompact (z : ℂ) : IsCompactOperator (f z) := by + exact (hc.clm_comp (resolvent T z)).comp_clm (resolvent B z) + have hi := isCompactOperator_circleIntegral hr hcf hcompact + have he : (∮ z in C(0, r), f z) = + (∮ z in C(0, r), resolvent T z) - ∮ z in C(0, r), resolvent B z := by + rw [← circleIntegral.integral_sub + (circleIntegrable_resolvent T hr hT) (circleIntegrable_resolvent B hr hB)] + apply circleIntegral.integral_congr hr + intro z hz + have hzr : ‖z‖ = r := by simpa only [Metric.mem_sphere, dist_zero_right] using hz + exact (spectrum.resolvent_sub_resolvent (hT z hzr) (hB z hzr)).symm + rw [he] at hi + simpa only [circleResolventOperator, ← smul_sub, ← FunLike.coe_smul] using + hi.smul (2 * Real.pi * I : ℂ)⁻¹ + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..b70b3b9b0e3c1805952aa5328875f74d034ed3e0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexCoordinates.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousConjugation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalInjective + +namespace OAI + +/-! # Concrete complexification coordinates for the faithful homogeneous space + +The two complex channels encode x+i y by (x+i y, J x+i J y), where J is +physical conjugation. Both real coordinates are bounded by the product norm. +-/ + +open scoped ComplexConjugate + +namespace DefocusingNLS + +section + +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + +local notation "H" => HomogeneousY a k +local notation "J" => homogeneousConjugation a k ha ha1 hk + +theorem homogeneousConjugation_complex_smul (c : ℂ) (f : H) : + J (c • f) = conj c • J f := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + apply DFunLike.ext + intro x + simp only [homogeneousConjugation_physical, map_smul, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul, map_mul] + +noncomputable def homogeneousComplexReal : (H × H) →L[ℝ] H := + (1 / 2 : ℂ) • (ContinuousLinearMap.fst ℝ H H + + (J).comp (ContinuousLinearMap.snd ℝ H H)) + +noncomputable def homogeneousComplexImag : (H × H) →L[ℝ] H := + (-Complex.I / 2 : ℂ) • (ContinuousLinearMap.fst ℝ H H - + (J).comp (ContinuousLinearMap.snd ℝ H H)) + +@[simp] theorem homogeneousComplexReal_apply (z : H × H) : + homogeneousComplexReal a k ha ha1 hk z = (1 / 2 : ℂ) • (z.1 + J z.2) := rfl + +@[simp] theorem homogeneousComplexImag_apply (z : H × H) : + homogeneousComplexImag a k ha ha1 hk z = (-Complex.I / 2 : ℂ) • (z.1 - J z.2) := rfl + +theorem homogeneousComplexCoordinates_first (z : H × H) : + homogeneousComplexReal a k ha ha1 hk z + + Complex.I • homogeneousComplexImag a k ha ha1 hk z = z.1 := by + simp only [homogeneousComplexReal_apply, homogeneousComplexImag_apply, smul_smul] + have hc : Complex.I * (-Complex.I / 2) = (1 / 2 : ℂ) := by + norm_num [div_eq_mul_inv, ← mul_assoc] + rw [hc] + match_scalars <;> norm_num + +theorem homogeneousComplexCoordinates_second (z : H × H) : + J (homogeneousComplexReal a k ha ha1 hk z) + + Complex.I • J (homogeneousComplexImag a k ha ha1 hk z) = z.2 := by + simp only [homogeneousComplexReal_apply, homogeneousComplexImag_apply, + homogeneousConjugation_complex_smul, map_add, map_sub, homogeneousConjugation_involutive] + simp only [smul_smul] + have htwo : (starRingEnd ℂ) (2 : ℂ) = 2 := map_natCast (starRingEnd ℂ) 2 + match_scalars <;> + simp only [map_div₀, map_neg, Complex.conj_I, map_one, htwo] <;> ring_nf <;> norm_num + +theorem homogeneousComplexReal_I (z : H × H) : + homogeneousComplexReal a k ha ha1 hk (Complex.I • z) = + -homogeneousComplexImag a k ha ha1 hk z := by + simp only [homogeneousComplexReal_apply, homogeneousComplexImag_apply, + Prod.smul_fst, Prod.smul_snd, homogeneousConjugation_complex_smul, Complex.conj_I] + module + +theorem homogeneousComplexImag_I (z : H × H) : + homogeneousComplexImag a k ha ha1 hk (Complex.I • z) = + homogeneousComplexReal a k ha ha1 hk z := by + simp only [homogeneousComplexReal_apply, homogeneousComplexImag_apply, + Prod.smul_fst, Prod.smul_snd, homogeneousConjugation_complex_smul, Complex.conj_I] + simp only [smul_sub, smul_add, smul_smul] + match_scalars <;> ring_nf <;> norm_num + +theorem homogeneousComplexReal_norm_le (z : H × H) : + ‖homogeneousComplexReal a k ha ha1 hk z‖ ≤ ‖z‖ := by + rw [homogeneousComplexReal_apply, norm_smul] + have hc : ‖(1 / 2 : ℂ)‖ = (1 / 2 : ℝ) := by norm_num + rw [hc] + have he := norm_add_le z.1 (J z.2) + rw [homogeneousConjugation_norm] at he + nlinarith [norm_fst_le z, norm_snd_le z] + +theorem homogeneousComplexImag_norm_le (z : H × H) : + ‖homogeneousComplexImag a k ha ha1 hk z‖ ≤ ‖z‖ := by + rw [homogeneousComplexImag_apply, norm_smul] + have hc : ‖(-Complex.I / 2 : ℂ)‖ = (1 / 2 : ℝ) := by norm_num + rw [hc] + have he := norm_sub_le z.1 (J z.2) + rw [homogeneousConjugation_norm] at he + nlinarith [norm_fst_le z, norm_snd_le z] + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexDecomposition.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexDecomposition.lean new file mode 100644 index 0000000000000000000000000000000000000000..15dfdea01f258eaf1b2fb7f09df6b4c5f07a1cd9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexDecomposition.lean @@ -0,0 +1,39 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexFiniteRank + +namespace OAI + +/-! # Complex finite-rank decomposition from the actual weak-null estimate + +Choosing a sufficiently small real remainder absorbs the norm factor in +complexification. The only input is the quantitative weak-null estimate +already proved for the actual linearized propagator. +-/ + +open Filter Topology + +namespace DefocusingNLS + +theorem homogeneousOperator_complexFiniteRank_contraction (a k r : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hr : 0 ≤ r) (hr1 : r < 1 / 4) + (T : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (hweak : ∀ u : ℕ → HomogeneousY a k, (∀ j, ‖u j‖ ≤ 1) → + (∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, ‖T (u j)‖ ^ 2 < r + ε) : + ∃ B K : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] + (HomogeneousY a k × HomogeneousY a k), + homogeneousComplexification a k ha ha1 hk T = B + K ∧ + ‖B‖ < 1 ∧ FiniteDimensional ℂ (LinearMap.range K.toLinearMap) := by + obtain ⟨B, K, hT, hB, hK⟩ := homogeneousOperator_finiteRank_bound a k r (1 / 2) + ha1 hk hr (by norm_num) (by norm_num at *; exact hr1) T hweak + refine ⟨homogeneousComplexification a k ha ha1 hk B, + homogeneousComplexification a k ha ha1 hk K, ?_, ?_, ?_⟩ + · rw [hT, homogeneousComplexification_add] + · have h := homogeneousComplexification_norm_le a k ha ha1 hk B + linarith + · exact homogeneousComplexification_finiteRank a k ha ha1 hk K hK + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexFiniteRank.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexFiniteRank.lean new file mode 100644 index 0000000000000000000000000000000000000000..5af021abe4c3706d3d755ab40f2a30188fbcde1d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexFiniteRank.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexification +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankStep + +namespace OAI + +/-! # Complexification preserves the finite-rank remainder + +The range embeds into two copies of the original real finite-dimensional +range by the explicit real and imaginary coordinate maps. +-/ + +namespace DefocusingNLS + +theorem homogeneousComplexification_finiteRank (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (K : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (hK : FiniteDimensional ℝ (LinearMap.range K.toLinearMap)) : + FiniteDimensional ℂ + (LinearMap.range (homogeneousComplexification a k ha ha1 hk K).toLinearMap) := by + let V := LinearMap.range K.toLinearMap + let R := LinearMap.range (homogeneousComplexification a k ha ha1 hk K).toLinearMap + let X := homogeneousComplexReal a k ha ha1 hk + let Y := homogeneousComplexImag a k ha ha1 hk + let : FiniteDimensional ℝ V := hK + have hX (v : R) : X v.val ∈ V := by + obtain ⟨z, hz⟩ := v.prop + rw [← hz] + change homogeneousComplexReal a k ha ha1 hk + (homogeneousComplexification a k ha ha1 hk K z) ∈ V + rw [homogeneousComplexification_real] + exact ⟨X z, rfl⟩ + have hY (v : R) : Y v.val ∈ V := by + obtain ⟨z, hz⟩ := v.prop + rw [← hz] + change homogeneousComplexImag a k ha ha1 hk + (homogeneousComplexification a k ha ha1 hk K z) ∈ V + rw [homogeneousComplexification_imag] + exact ⟨Y z, rfl⟩ + let F : R →ₗ[ℝ] V × V := + { toFun := fun v => (⟨X v.val, hX v⟩, ⟨Y v.val, hY v⟩) + map_add' := by + intro u v + apply Prod.ext <;> apply Subtype.ext <;> exact map_add _ _ _ + map_smul' := by + intro c v + apply Prod.ext <;> apply Subtype.ext <;> exact map_smul _ _ _ } + have hF : Function.Injective F := by + intro u v huv + have hx : X u.val = X v.val := + congrArg (fun z : V × V => (z.1 : HomogeneousY a k)) huv + have hy : Y u.val = Y v.val := + congrArg (fun z : V × V => (z.2 : HomogeneousY a k)) huv + apply Subtype.ext + apply Prod.ext + · rw [← homogeneousComplexCoordinates_first a k ha ha1 hk u.val, + ← homogeneousComplexCoordinates_first a k ha ha1 hk v.val] + exact congrArg₂ (fun x y => x + Complex.I • y) hx hy + · rw [← homogeneousComplexCoordinates_second a k ha ha1 hk u.val, + ← homogeneousComplexCoordinates_second a k ha ha1 hk v.val] + exact congrArg₂ (fun x y => homogeneousConjugation a k ha ha1 hk x + + Complex.I • homogeneousConjugation a k ha ha1 hk y) hx hy + let : FiniteDimensional ℝ R := FiniteDimensional.of_injective F hF + exact Module.Finite.of_restrictScalars_finite ℝ ℂ R + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexIndependence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexIndependence.lean new file mode 100644 index 0000000000000000000000000000000000000000..6ad65346537fb32aabf21a79a83bffd2f9e470ed --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexIndependence.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRealStableCoordinates +import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas + +namespace OAI + +/-! # Real independent physical vectors stay independent in the doubled space -/ + +namespace DefocusingNLS + +section +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) +local notation "H" => HomogeneousY a k +local notation "ι" => homogeneousComplexEmbed a k ha ha1 hk +local notation "X" => homogeneousComplexReal a k ha ha1 hk +local notation "Y" => homogeneousComplexImag a k ha ha1 hk + +theorem homogeneousComplexReal_smul_embed (c : ℂ) (u : H) : + X (c • ι u) = c.re • u := by + have he : c • ι u = c.re • ι u + c.im • (Complex.I • ι u) := by + conv_lhs => rw [← c.re_add_im] + simp only [add_smul, mul_smul, Complex.coe_smul] + rfl + rw [he, map_add, map_smul, map_smul, homogeneousComplexReal_I, + homogeneousComplexReal_embed, homogeneousComplexImag_embed, neg_zero, smul_zero, add_zero] + +theorem homogeneousComplexImag_smul_embed (c : ℂ) (u : H) : + Y (c • ι u) = c.im • u := by + have he : c • ι u = c.re • ι u + c.im • (Complex.I • ι u) := by + conv_lhs => rw [← c.re_add_im] + simp only [add_smul, mul_smul, Complex.coe_smul] + rfl + rw [he, map_add, map_smul, map_smul, homogeneousComplexImag_I, + homogeneousComplexReal_embed, homogeneousComplexImag_embed, smul_zero, zero_add] + +theorem homogeneousComplexEmbed_linearIndependent {J : Type*} [Fintype J] + (v : J → H) (hv : LinearIndependent ℝ v) : + LinearIndependent ℂ (fun j => ι (v j)) := by + classical + apply Fintype.linearIndependent_iff.mpr + intro c hc j + have hr := congrArg X hc + have hi := congrArg Y hc + simp only [map_sum, homogeneousComplexReal_smul_embed, map_zero] at hr + simp only [map_sum, homogeneousComplexImag_smul_embed, map_zero] at hi + exact Complex.ext (Fintype.linearIndependent_iff.mp hv (fun j => (c j).re) hr j) + (Fintype.linearIndependent_iff.mp hv (fun j => (c j).im) hi j) + +end +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexPotential.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexPotential.lean new file mode 100644 index 0000000000000000000000000000000000000000..f10e9fa608b9f363adfd6edbb6fe3f9d825b2792 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexPotential.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexification +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPolynomialEquation + +namespace OAI + +/-! # The actual two-channel linearized potential + +Physical evaluation of the complexified real derivative gives exactly the +circular coefficient matrix used in the spectral ODE. +-/ + +open scoped ComplexConjugate ZeroAtInfty + +namespace DefocusingNLS + +private theorem circularComplexification_scalar (A B f g : ℂ) : + let x := (1 / 2 : ℂ) * (f + conj g) + let y := (-Complex.I / 2 : ℂ) * (f - conj g) + let L := fun z => -Complex.I * (A * z + B * conj z) + (L x + Complex.I * L y, conj (L x) + Complex.I * conj (L y)) = + (-Complex.I * (A * f + B * g), + Complex.I * (conj A * g + conj B * f)) := by + dsimp only + have htwo : conj (2 : ℂ) = 2 := map_natCast (starRingEnd ℂ) 2 + have hI3 : Complex.I ^ 3 = -Complex.I := by + rw [show (3 : ℕ) = 2 + 1 from rfl, pow_succ, Complex.I_sq, neg_one_mul] + apply Prod.ext + all_goals + simp only [map_add, map_mul, map_div₀, map_sub, map_neg, map_one, + htwo, Complex.conj_I, starRingEnd_self_apply] + ring_nf + rw [hI3] + ring + +section + +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "H" => HomogeneousY a k +local notation "P" => homogeneousPhysicalCLM a k ha ha1 hk + +@[simp] theorem homogeneousComplexReal_physical (z : H × H) (x : E) : + P (homogeneousComplexReal a k ha ha1 hk z) x = + (1 / 2 : ℂ) * (P z.1 x + conj (P z.2 x)) := by + simp only [homogeneousComplexReal_apply, map_smul, map_add, + ZeroAtInftyContinuousMap.smul_apply, ZeroAtInftyContinuousMap.add_apply, + homogeneousConjugation_physical, smul_eq_mul] + +@[simp] theorem homogeneousComplexImag_physical (z : H × H) (x : E) : + P (homogeneousComplexImag a k ha ha1 hk z) x = + (-Complex.I / 2 : ℂ) * (P z.1 x - conj (P z.2 x)) := by + simp only [homogeneousComplexImag_apply, map_smul, map_sub, + ZeroAtInftyContinuousMap.smul_apply, ZeroAtInftyContinuousMap.sub_apply, + homogeneousConjugation_physical, smul_eq_mul] + +theorem homogeneousComplexifiedPotential_physical (m : ℕ) (q : H) (z : H × H) (x : E) : + let L := homogeneousComplexification a k ha ha1 hk + (homogeneousLinearizedPotential a k ha ha1 hk m q) + (P (L z).1 x, P (L z).2 x) = + (-Complex.I * (spectralDiagonalCoefficient m (P q x) * P z.1 x + + spectralCrossCoefficient m (P q x) * P z.2 x), + Complex.I * (conj (spectralDiagonalCoefficient m (P q x)) * P z.2 x + + conj (spectralCrossCoefficient m (P q x)) * P z.1 x)) := by + dsimp only + simp only [homogeneousComplexification_apply, map_add, map_smul, + ZeroAtInftyContinuousMap.add_apply, ZeroAtInftyContinuousMap.smul_apply, + homogeneousConjugation_physical, smul_eq_mul, + homogeneousLinearizedPotential_physical, + homogeneousComplexReal_physical, homogeneousComplexImag_physical] + simpa only [spectralCoefficient_decomposition, ← starRingEnd_apply] using + circularComplexification_scalar (spectralDiagonalCoefficient m (P q x)) + (spectralCrossCoefficient m (P q x)) (P z.1 x) (P z.2 x) + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexSemigroup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexSemigroup.lean new file mode 100644 index 0000000000000000000000000000000000000000..d37d768c41f9ef5adeedf9b73d08b3e4a695bde5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexSemigroup.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexification +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedSemigroup + +namespace OAI + +/-! # The strongly continuous complexified linearized semigroup -/ + +open scoped NNReal + +namespace DefocusingNLS + +section + +variable (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (q : HomogeneousY a k) + +local notation "H" => HomogeneousY a k + +noncomputable def homogeneousComplexLinearizedStep (t : ℝ≥0) : + (H × H) →L[ℂ] (H × H) := + homogeneousComplexification a k ha ha1 hk + (homogeneousLinearizedStep a b k ha ha1 hk m q t) + +@[simp] theorem homogeneousComplexLinearizedStep_zero : + homogeneousComplexLinearizedStep a b k ha ha1 hk m q 0 = + ContinuousLinearMap.id ℂ (H × H) := by + rw [homogeneousComplexLinearizedStep, homogeneousLinearizedStep_zero, + homogeneousComplexification_id] + +theorem homogeneousComplexLinearizedStep_add (s t : ℝ≥0) : + homogeneousComplexLinearizedStep a b k ha ha1 hk m q (s + t) = + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q t).comp + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q s) := by + simp only [homogeneousComplexLinearizedStep, homogeneousLinearizedStep_add, + homogeneousComplexification_comp] + +theorem continuous_homogeneousComplexLinearizedStep_apply : + Continuous (fun p : ℝ≥0 × (H × H) => + homogeneousComplexLinearizedStep a b k ha ha1 hk m q p.1 p.2) := by + let X := homogeneousComplexReal a k ha ha1 hk + let Y := homogeneousComplexImag a k ha ha1 hk + let J := homogeneousConjugation a k ha ha1 hk + have hX := (continuous_homogeneousLinearizedStep_apply a b k ha ha1 hk m q).comp + (continuous_fst.prodMk (X.continuous.comp continuous_snd)) + have hY := (continuous_homogeneousLinearizedStep_apply a b k ha ha1 hk m q).comp + (continuous_fst.prodMk (Y.continuous.comp continuous_snd)) + change Continuous (fun p : ℝ≥0 × (H × H) => + (homogeneousLinearizedStep a b k ha ha1 hk m q p.1 (X p.2) + + Complex.I • homogeneousLinearizedStep a b k ha ha1 hk m q p.1 (Y p.2), + J (homogeneousLinearizedStep a b k ha ha1 hk m q p.1 (X p.2)) + + Complex.I • J (homogeneousLinearizedStep a b k ha ha1 hk m q p.1 (Y p.2)))) + exact (hX.add (hY.const_smul Complex.I)).prodMk + ((J.continuous.comp hX).add ((J.continuous.comp hY).const_smul Complex.I)) + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexStrongContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexStrongContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..1245559a2605496c02d0869824ef52ceaad14dc0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexStrongContinuity.lean @@ -0,0 +1,24 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexSemigroup + +namespace OAI + +/-! # Strong continuity of the complexified physical evolution + +This section of the joint continuity theorem keeps its proof independent of +any concrete matched profile or shooting parameters. +-/ + +open scoped NNReal + +namespace DefocusingNLS + +theorem stronglyContinuous_homogeneousComplexLinearizedStep + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (q : HomogeneousY a k) (u : HomogeneousY a k × HomogeneousY a k) : + Continuous (fun t : ℝ≥0 => + homogeneousComplexLinearizedStep a b k ha ha1 hk m q t u) := by + exact (continuous_homogeneousComplexLinearizedStep_apply a b k ha ha1 hk m q).curry_left + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexification.lean new file mode 100644 index 0000000000000000000000000000000000000000..54cd8cc14f38806da91b3d175150555073f705a9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousComplexification.lean @@ -0,0 +1,145 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexCoordinates + +namespace OAI + +/-! # Complexification of actual real-linear operators on Y + +The doubled complex space uses its existing product norm. The factor two +in the norm estimate is harmless for the later fixed long-time contraction. +-/ + +namespace DefocusingNLS + +section + +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + +local notation "H" => HomogeneousY a k +local notation "J" => homogeneousConjugation a k ha ha1 hk +local notation "X" => homogeneousComplexReal a k ha ha1 hk +local notation "Y" => homogeneousComplexImag a k ha ha1 hk + +noncomputable def homogeneousComplexificationReal (T : H →L[ℝ] H) : + (H × H) →L[ℝ] H × H := + (T.comp X + Complex.I • T.comp Y).prod + ((J).comp (T.comp X) + Complex.I • (J).comp (T.comp Y)) + +@[simp] theorem homogeneousComplexificationReal_apply (T : H →L[ℝ] H) (z : H × H) : + homogeneousComplexificationReal a k ha ha1 hk T z = + (T (X z) + Complex.I • T (Y z), J (T (X z)) + Complex.I • J (T (Y z))) := rfl + +theorem homogeneousComplexificationReal_I (T : H →L[ℝ] H) (z : H × H) : + homogeneousComplexificationReal a k ha ha1 hk T (Complex.I • z) = + Complex.I • homogeneousComplexificationReal a k ha ha1 hk T z := by + apply Prod.ext + all_goals + simp only [homogeneousComplexificationReal_apply, homogeneousComplexReal_I, + homogeneousComplexImag_I, map_neg, Prod.smul_fst, Prod.smul_snd, smul_add, smul_smul] + match_scalars + all_goals ring_nf + all_goals norm_num [Complex.I_sq] + +noncomputable def homogeneousComplexification (T : H →L[ℝ] H) : + (H × H) →L[ℂ] H × H where + toFun := homogeneousComplexificationReal a k ha ha1 hk T + map_add' := map_add (homogeneousComplexificationReal a k ha ha1 hk T) + map_smul' := by + intro c z + let C := homogeneousComplexificationReal a k ha ha1 hk T + change C (c • z) = c • C z + calc + C (c • z) = C (c.re • z + c.im • (Complex.I • z)) := by + apply congrArg C + conv_lhs => rw [← c.re_add_im] + simp only [add_smul, mul_smul, Complex.coe_smul] + rfl + _ = c.re • C z + c.im • C (Complex.I • z) := by + rw [map_add, C.map_smul, C.map_smul] + _ = c.re • C z + c.im • (Complex.I • C z) := by + rw [homogeneousComplexificationReal_I] + _ = c • C z := by + conv_rhs => rw [← c.re_add_im] + simp only [add_smul, mul_smul, Complex.coe_smul] + rfl + cont := (homogeneousComplexificationReal a k ha ha1 hk T).continuous + +@[simp] theorem homogeneousComplexification_apply (T : H →L[ℝ] H) (z : H × H) : + homogeneousComplexification a k ha ha1 hk T z = + (T (X z) + Complex.I • T (Y z), J (T (X z)) + Complex.I • J (T (Y z))) := rfl + +theorem homogeneousComplexification_real (T : H →L[ℝ] H) (z : H × H) : + X (homogeneousComplexification a k ha ha1 hk T z) = T (X z) := by + simp only [homogeneousComplexReal_apply, homogeneousComplexification_apply, + homogeneousConjugation_complex_smul, map_add, homogeneousConjugation_involutive, + Complex.conj_I] + match_scalars <;> ring_nf + +theorem homogeneousComplexification_imag (T : H →L[ℝ] H) (z : H × H) : + Y (homogeneousComplexification a k ha ha1 hk T z) = T (Y z) := by + simp only [homogeneousComplexImag_apply, homogeneousComplexification_apply, + homogeneousConjugation_complex_smul, map_add, homogeneousConjugation_involutive, + Complex.conj_I, smul_add, smul_sub, smul_smul] + match_scalars + all_goals ring_nf + all_goals norm_num [Complex.I_sq] + +@[simp] theorem homogeneousComplexification_id : + homogeneousComplexification a k ha ha1 hk (ContinuousLinearMap.id ℝ H) = + ContinuousLinearMap.id ℂ (H × H) := by + apply ContinuousLinearMap.ext + intro z + change (X z + Complex.I • Y z, J (X z) + Complex.I • J (Y z)) = z + apply Prod.ext + · exact homogeneousComplexCoordinates_first a k ha ha1 hk z + · exact homogeneousComplexCoordinates_second a k ha ha1 hk z + +theorem homogeneousComplexification_comp (T S : H →L[ℝ] H) : + homogeneousComplexification a k ha ha1 hk (T.comp S) = + (homogeneousComplexification a k ha ha1 hk T).comp + (homogeneousComplexification a k ha ha1 hk S) := by + apply ContinuousLinearMap.ext + intro z + change homogeneousComplexification a k ha ha1 hk (T.comp S) z = + homogeneousComplexification a k ha ha1 hk T + (homogeneousComplexification a k ha ha1 hk S z) + rw [homogeneousComplexification_apply, homogeneousComplexification_apply, + homogeneousComplexification_real, homogeneousComplexification_imag] + rfl + +theorem homogeneousComplexification_add (T S : H →L[ℝ] H) : + homogeneousComplexification a k ha ha1 hk (T + S) = + homogeneousComplexification a k ha ha1 hk T + + homogeneousComplexification a k ha ha1 hk S := by + apply ContinuousLinearMap.ext + intro z + apply Prod.ext <;> + simp only [homogeneousComplexification_apply, add_apply, + Prod.fst_add, Prod.snd_add, map_add, smul_add] <;> match_scalars <;> ring_nf + +theorem homogeneousComplexification_apply_norm_le (T : H →L[ℝ] H) (z : H × H) : + ‖homogeneousComplexification a k ha ha1 hk T z‖ ≤ 2 * ‖T‖ * ‖z‖ := by + have hX := homogeneousComplexReal_norm_le a k ha ha1 hk z + have hY := homogeneousComplexImag_norm_le a k ha ha1 hk z + have hTX : ‖T (X z)‖ ≤ ‖T‖ * ‖z‖ := + (T.le_opNorm _).trans (mul_le_mul_of_nonneg_left hX (norm_nonneg T)) + have hTY : ‖T (Y z)‖ ≤ ‖T‖ * ‖z‖ := + (T.le_opNorm _).trans (mul_le_mul_of_nonneg_left hY (norm_nonneg T)) + rw [homogeneousComplexification_apply, Prod.norm_def] + apply max_le + · have h := norm_add_le (T (X z)) (Complex.I • T (Y z)) + simp only [norm_smul, Complex.norm_I, one_mul] at h + linarith + · have h := norm_add_le (J (T (X z))) (Complex.I • J (T (Y z))) + simp only [norm_smul, Complex.norm_I, one_mul, homogeneousConjugation_norm] at h + linarith + +theorem homogeneousComplexification_norm_le (T : H →L[ℝ] H) : + ‖homogeneousComplexification a k ha ha1 hk T‖ ≤ 2 * ‖T‖ := by + exact ContinuousLinearMap.opNorm_le_bound _ (by positivity) + (homogeneousComplexification_apply_norm_le a k ha ha1 hk T) + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConjugation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConjugation.lean new file mode 100644 index 0000000000000000000000000000000000000000..e8f1c443c7cbc2d28ca7e551ea534c49e5d7fbdd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConjugation.lean @@ -0,0 +1,142 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYProduct + +namespace OAI + +/-! # Complex conjugation on the faithful homogeneous space -/ + +open MeasureTheory +open scoped SchwartzMap ComplexConjugate ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousSchwartzConjugation : 𝓢(E, ℂ) →L[ℝ] 𝓢(E, ℂ) := + (SchwartzMap.postcompCLM (Complex.conjCLE : ℂ →L[ℝ] ℂ)).comp + (SchwartzMap.compCLMOfContinuousLinearEquiv ℝ (ContinuousLinearEquiv.neg ℝ)) + +@[simp] theorem homogeneousSchwartzConjugation_apply (ψ : 𝓢(E, ℂ)) (ξ : E) : + homogeneousSchwartzConjugation ψ ξ = conj (ψ (-ξ)) := rfl + +@[simp] theorem homogeneousSchwartzConjugation_involutive (ψ : 𝓢(E, ℂ)) : + homogeneousSchwartzConjugation (homogeneousSchwartzConjugation ψ) = ψ := by + apply SchwartzMap.ext + intro ξ + simp + +theorem homogeneousSchwartzConjugation_energy (s : ℝ) (ψ : 𝓢(E, ℂ)) : + homogeneousFrequencyEnergy s (homogeneousSchwartzConjugation ψ) = + homogeneousFrequencyEnergy s ψ := by + unfold homogeneousFrequencyEnergy + simp only [homogeneousSchwartzConjugation_apply, Complex.norm_conj] + simpa only [norm_neg] using + (integral_neg_eq_self (fun ξ : E => ‖ξ‖ ^ (2 * s) * ‖ψ ξ‖ ^ 2) volume) + +theorem homogeneousSchwartzConjugation_norm (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConjugation ψ)‖ = + ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ := by + have h₁ := homogeneousFrequencyEmbedding_norm_sq a k ha ha1 hk + (homogeneousSchwartzConjugation ψ) + have h₂ := homogeneousFrequencyEmbedding_norm_sq a k ha ha1 hk ψ + rw [homogeneousSchwartzConjugation_energy, homogeneousSchwartzConjugation_energy] at h₁ + nlinarith [norm_nonneg (homogeneousFrequencyEmbedding a k ha ha1 hk ψ), + norm_nonneg (homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConjugation ψ))] + +noncomputable def homogeneousConjugation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : HomogeneousY a k →L[ℝ] HomogeneousY a k := + (((homogeneousFrequencyEmbedding a k ha ha1 hk).restrictScalars ℝ).comp + homogeneousSchwartzConjugation).toLinearMap.extendOfNorm + ((homogeneousFrequencyEmbedding a k ha ha1 hk).restrictScalars ℝ).toLinearMap + +theorem homogeneousConjugation_on_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + homogeneousConjugation a k ha ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) = + homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConjugation ψ) := by + apply LinearMap.extendOfNorm_eq + (f := (((homogeneousFrequencyEmbedding a k ha ha1 hk).restrictScalars ℝ).comp + homogeneousSchwartzConjugation).toLinearMap) + (e := ((homogeneousFrequencyEmbedding a k ha ha1 hk).restrictScalars ℝ).toLinearMap) + (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + refine ⟨1, fun χ => ?_⟩ + change ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConjugation χ)‖ ≤ + 1 * ‖homogeneousFrequencyEmbedding a k ha ha1 hk χ‖ + rw [one_mul] + exact (homogeneousSchwartzConjugation_norm a k ha ha1 hk χ).le + +theorem homogeneousConjugation_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + ‖homogeneousConjugation a k ha ha1 hk f‖ ≤ ‖f‖ := by + have h := LinearMap.norm_extendOfNorm_apply_le + (f := (((homogeneousFrequencyEmbedding a k ha ha1 hk).restrictScalars ℝ).comp + homogeneousSchwartzConjugation).toLinearMap) + (e := ((homogeneousFrequencyEmbedding a k ha ha1 hk).restrictScalars ℝ).toLinearMap) + (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) 1 + (fun χ => by + change ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConjugation χ)‖ ≤ + 1 * ‖homogeneousFrequencyEmbedding a k ha ha1 hk χ‖ + rw [one_mul] + exact (homogeneousSchwartzConjugation_norm a k ha ha1 hk χ).le) f + simpa only [homogeneousConjugation, one_mul] using h + +@[simp] theorem homogeneousConjugation_involutive (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + homogeneousConjugation a k ha ha1 hk (homogeneousConjugation a k ha ha1 hk f) = f := by + let C := homogeneousConjugation a k ha ha1 hk + have he := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (C.continuous.comp C.continuous) continuous_id (by + funext ψ + change homogeneousConjugation a k ha ha1 hk + (homogeneousConjugation a k ha ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)) = _ + rw [homogeneousConjugation_on_Schwartz, homogeneousConjugation_on_Schwartz, + homogeneousSchwartzConjugation_involutive] + rfl) + exact congrFun he f + +@[simp] theorem homogeneousConjugation_norm (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + ‖homogeneousConjugation a k ha ha1 hk f‖ = ‖f‖ := by + apply le_antisymm (homogeneousConjugation_norm_le a k ha ha1 hk f) + simpa only [homogeneousConjugation_involutive] using + homogeneousConjugation_norm_le a k ha ha1 hk (homogeneousConjugation a k ha ha1 hk f) + +theorem inverseRadianFourier_conjugate_reflect (f : E → ℂ) (y : E) : + inverseRadianFourier (fun ξ => conj (f (-ξ))) y = conj (inverseRadianFourier f y) := by + unfold inverseRadianFourier radianFourierIntegral + rw [map_mul, Complex.conj_ofReal, ← integral_conj] + have h := integral_neg_eq_self + (fun ξ : E => Complex.exp ((-inner ℝ ξ (-y) : ℝ) * Complex.I) * conj (f (-ξ))) volume + rw [← h] + congr 1 + apply integral_congr_ae + filter_upwards [] with ξ + simp only [inner_neg_left, inner_neg_right, neg_neg, map_mul, ← Complex.exp_conj, + Complex.conj_I, Complex.conj_ofReal] + congr 2 + push_cast + ring + +/-- The real-linear isometry is ordinary pointwise complex conjugation. -/ +theorem homogeneousConjugation_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousConjugation a k ha ha1 hk f) y = + conj (homogeneousPhysicalCLM a k ha ha1 hk f y) := by + let P := homogeneousPhysicalCLM a k ha ha1 hk + have hev : Continuous (fun h : C₀(E, ℂ) => h y) := + (BoundedContinuousFunction.evalCLM ℂ y).continuous.comp + ZeroAtInftyContinuousMap.isometry_toBCF.continuous + have he := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + ((hev.comp P.continuous).comp (homogeneousConjugation a k ha ha1 hk).continuous) + (Complex.continuous_conj.comp (hev.comp P.continuous)) (by + funext ψ + change homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousConjugation a k ha ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)) y = + conj (homogeneousPhysicalCLM a k ha ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) y) + rw [homogeneousConjugation_on_Schwartz, homogeneousPhysicalCLM_rawSchwartz, + homogeneousPhysicalCLM_rawSchwartz] + exact inverseRadianFourier_conjugate_reflect ψ y) + exact congrFun he f + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourDecomposition.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourDecomposition.lean new file mode 100644 index 0000000000000000000000000000000000000000..b228a3df4bfbdeb212bb365536b1095742c87b92 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourDecomposition.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCircleIdentity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCircleProjection +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCompactResolvent +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankDiscrete + +namespace OAI + +/-! # Finite-dimensional complement of the decaying contour space + +The decomposition is derived from a contraction plus a finite-rank operator. +Every bounded operator commuting with the time step preserves both pieces. +-/ + +open Complex Set + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +omit [CompleteSpace E] in +theorem finiteRange_isCompactOperator (K : E →L[ℂ] E) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) : + IsCompactOperator K := by + let V := LinearMap.range K.toLinearMap + let : FiniteDimensional ℂ V := hK + let A : E →L[ℂ] V := K.codRestrict V (fun x => ⟨x, rfl⟩) + exact (isCompactOperator_of_locallyCompactSpace_dom A).clm_comp V.subtypeL + +theorem finiteRank_contour_decomposition (B K : E →L[ℂ] E) + (hB : ‖B‖ < 1) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) + (η : ℝ) (hη : η < 1) : + ∃ r : ℝ, η < r ∧ 0 < r ∧ r < 1 ∧ + ∃ Q : E →L[ℂ] E, IsIdempotentElem Q ∧ + FiniteDimensional ℂ (LinearMap.range Q.toLinearMap) ∧ + (∀ U : E →L[ℂ] E, Commute U (B + K) → Commute U Q) ∧ + ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, ∀ x : E, Q x = 0 → + ‖((B + K) ^ n) x‖ ≤ C * r ^ n * ‖x‖ := by + obtain ⟨r, hBr, hηr, hr1, hres⟩ := + finiteRank_exists_resolvent_circle B K hK hB η hη + have hr : 0 < r := (norm_nonneg B).trans_lt hBr + let P := circleResolventOperator (B + K) r + let Q : E →L[ℂ] E := 1 - P + have hP : P * P = P := circleResolventOperator_idempotent (B + K) hr hres + have hQ : IsIdempotentElem Q := by + change (1 - P) * (1 - P) = 1 - P + rw [mul_sub, mul_one, sub_mul, one_mul, hP, sub_self, sub_zero] + have hc : IsCompactOperator (show E →L[ℂ] E from P - 1) := by + have hcK : IsCompactOperator (B + K - B) := by + simpa only [add_sub_cancel_left] using finiteRange_isCompactOperator K hK + have hh := circleResolventOperator_sub_isCompact (B + K) B hcK hr.le hres + (fun z hz => norm_lt_mem_resolvent B (hBr.trans_le hz.ge)) + simpa only [circleResolventOperator_eq_one B hBr] using hh + have hcQ : IsCompactOperator Q := by + simpa only [← FunLike.coe_neg, neg_sub, Q] using hc.neg + obtain ⟨C, hC, hpow⟩ := powers_on_circleResolvent_fixedSpace (B + K) hr.le hres + refine ⟨r, hηr, hr, hr1, Q, hQ, + finiteDimensional_range_of_compact_projection Q hQ hcQ, ?_, C, hC, ?_⟩ + · intro U hU + exact (Commute.one_right U).sub_right + (circleResolventOperator_commute_of_commute U (B + K) hU hr.le hres) + · intro n x hx + apply hpow n x + change x - P x = 0 at hx + exact (sub_eq_zero.mp hx).symm + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourDomain.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourDomain.lean new file mode 100644 index 0000000000000000000000000000000000000000..7dc5c0595701237e1abb62fb21067fd2ec7a5975 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourDomain.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGeneratorCoordinates + +namespace OAI + +/-! # Every finite contour vector lies in the actual generator domain + +The bounded matrix generator differentiates the restricted semigroup. Its +inclusion in Y × Y differentiates the original evolution, including vectors +in nontrivial Jordan chains. +-/ + +open Set +open scoped NNReal + +namespace DefocusingNLS + +section Abstract + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] + +/-- Differentiation of the matrix exponential commutes with the inclusion +of the finite contour space in the ambient Banach space. -/ +theorem projectionSemigroup_generator_domain (S : ℝ≥0 → E →L[ℂ] E) + (Q : E →L[ℂ] E) (hcomm : ∀ t, Commute (S t) Q) + (hfin : FiniteDimensional ℂ Q.range) (G : Q.range →L[ℂ] Q.range) + (hG : ∀ t, projectionSemigroupRestriction S Q hcomm t = + NormedSpace.exp ((t : ℝ) • G)) (w : Q.range) : + HasDerivWithinAt (fun t : ℝ => S t.toNNReal (w : E)) + (G w : E) (Ici 0) 0 := by + let : FiniteDimensional ℂ Q.range := hfin + let : CompleteSpace Q.range := FiniteDimensional.complete ℂ Q.range + let A := (ContinuousLinearMap.apply ℂ Q.range w).restrictScalars ℝ + have hd : HasDerivAt (fun t : ℝ => NormedSpace.exp (t • G) w) (G w) 0 := by + have h := A.hasFDerivAt.comp_hasDerivAt 0 + (hasDerivAt_exp_smul_const (𝕂 := ℝ) G 0) + simpa only [Function.comp_def, A, zero_smul, NormedSpace.exp_zero, one_mul, + ContinuousLinearMap.coe_restrictScalars', ContinuousLinearMap.apply_apply] using h + let J := Q.range.subtypeL.restrictScalars ℝ + have hj : HasDerivAt (fun t : ℝ => (NormedSpace.exp (t • G) w : E)) (G w : E) 0 := by + exact J.hasFDerivAt.comp_hasDerivAt 0 hd + apply hj.hasDerivWithinAt.congr + · intro t ht + have he := congrArg (fun L : Q.range →L[ℂ] Q.range => (L w : E)) (hG t.toNNReal) + simpa only [projectionSemigroupRestriction_apply, Real.coe_toNNReal t ht] using he + · have he := congrArg (fun L : Q.range →L[ℂ] Q.range => (L w : E)) (hG 0) + simpa only [projectionSemigroupRestriction_apply, Real.toNNReal_zero, NNReal.coe_zero] using he + +end Abstract + +/-- Both real coordinates of an arbitrary complexified generator vector +satisfy the exact bounded-potential perturbation identity. -/ +theorem homogeneous_generator_free_coordinates (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (w z : HomogeneousY a k × HomogeneousY a k) + (hw : HasDerivWithinAt (fun t : ℝ => + homogeneousComplexLinearizedStep a b k ha ha1 hk m q t.toNNReal w) z (Ici 0) 0) : + let X := homogeneousComplexReal a k ha ha1 hk + let Y := homogeneousComplexImag a k ha ha1 hk + let B := homogeneousLinearizedPotential a k ha ha1 hk m q + HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk (X w)) + (X z - B (X w)) (Ici 0) 0 ∧ + HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk (Y w)) + (Y z - B (Y w)) (Ici 0) 0 := by + dsimp only + have hX := (homogeneousComplexReal a k ha ha1 hk).hasFDerivAt.comp_hasDerivWithinAt 0 hw + have hY := (homogeneousComplexImag a k ha ha1 hk).hasFDerivAt.comp_hasDerivWithinAt 0 hw + have hx : HasDerivWithinAt (fun t : ℝ => + homogeneousLinearizedStep a b k ha ha1 hk m q t.toNNReal + (homogeneousComplexReal a k ha ha1 hk w)) + (homogeneousComplexReal a k ha ha1 hk z) (Ici 0) 0 := by + simpa only [Function.comp_def, homogeneousComplexLinearizedStep, + homogeneousComplexification_real] using hX + have hy : HasDerivWithinAt (fun t : ℝ => + homogeneousLinearizedStep a b k ha ha1 hk m q t.toNNReal + (homogeneousComplexImag a k ha ha1 hk w)) + (homogeneousComplexImag a k ha ha1 hk z) (Ici 0) 0 := by + simpa only [Function.comp_def, homogeneousComplexLinearizedStep, + homogeneousComplexification_imag] using hY + exact ⟨homogeneousFree_derivWithin_of_linearized a b k ha ha1 hk m q _ _ hx, + homogeneousFree_derivWithin_of_linearized a b k ha ha1 hk m q _ _ hy⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourEigenfunction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourEigenfunction.lean new file mode 100644 index 0000000000000000000000000000000000000000..c1a0f00b3e024f1e5be77ee682e00ccf2ed7c9f8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourEigenfunction.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEigenfunctionPDE +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousContourGenerator + +namespace OAI + +/-! # Classical eigenfunctions from the actual finite contour generator + +The finite-dimensional semigroup generator supplies classical two-channel +solutions, and a nonzero contour vector supplies a nonzero physical pair. +-/ + +open Set +open scoped Laplacian ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +/-- The physical coupled equation, with the actual odd-power coefficients. -/ +def IsClassicalLinearizedPair (a b : ℝ) (m : ℕ) (q f g : E → ℂ) (lam : ℂ) : Prop := + ContDiff ℝ 2 f ∧ ContDiff ℝ 2 g ∧ ∀ x : E, + (lam * f x = Complex.I * Δ f x - (1 / 2 : ℂ) * fderiv ℝ f x x + + (-(a : ℂ) + Complex.I * (b : ℂ)) * f x - Complex.I * + ((((m + 1 : ℕ) : ℂ) * q x ^ m * star (q x) ^ m) * f x + + ((m : ℂ) * q x ^ (m + 1) * star (q x) ^ (m - 1)) * g x)) ∧ + (lam * g x = -Complex.I * Δ g x - (1 / 2 : ℂ) * fderiv ℝ g x x + + (-(a : ℂ) - Complex.I * (b : ℂ)) * g x + Complex.I * + (star (((m + 1 : ℕ) : ℂ) * q x ^ m * star (q x) ^ m) * g x + + star ((m : ℂ) * q x ^ (m + 1) * star (q x) ^ (m - 1)) * f x)) + +theorem homogeneous_physical_pair_nonzero (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (w : HomogeneousY a k × HomogeneousY a k) (hw : w ≠ 0) : + ∃ x : E, homogeneousPhysicalCLM a k ha ha1 hk w.1 x ≠ 0 ∨ + homogeneousPhysicalCLM a k ha ha1 hk w.2 x ≠ 0 := by + by_contra! h + have h₁ : w.1 = 0 := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + apply DFunLike.ext + intro x + simpa only [map_zero, ZeroAtInftyContinuousMap.zero_apply] using (h x).1 + have h₂ : w.2 = 0 := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + apply DFunLike.ext + intro x + simpa only [map_zero, ZeroAtInftyContinuousMap.zero_apply] using (h x).2 + exact hw (Prod.ext h₁ h₂) + +/-- Every nonzero eigenvector of the finite contour generator gives a nonzero +classical solution of the actual linearized PDE. -/ +theorem homogeneous_contour_generator_classical (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (Q : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] + (HomogeneousY a k × HomogeneousY a k)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 hk m q t) Q) + (hfin : FiniteDimensional ℂ Q.range) (G : Q.range →L[ℂ] Q.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) Q hcomm t = + NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : Q.range) (hw : w ≠ 0) (he : G w = lam • w) : + let P := fun f : HomogeneousY a k => + fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + IsClassicalLinearizedPair a b m (P q) (P (w : HomogeneousY a k × HomogeneousY a k).1) + (P (w : HomogeneousY a k × HomogeneousY a k).2) lam ∧ + ∃ x : E, P (w : HomogeneousY a k × HomogeneousY a k).1 x ≠ 0 ∨ + P (w : HomogeneousY a k × HomogeneousY a k).2 x ≠ 0 := by + dsimp only + constructor + · exact homogeneous_eigenvector_classical_channels a b k ha ha1 hk m q lam + (w : HomogeneousY a k × HomogeneousY a k) + (projectionSemigroup_eigenvector _ Q hcomm hfin G hG lam w he) + · apply homogeneous_physical_pair_nonzero a k ha ha1 hk + intro h + apply hw + exact Subtype.ext h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..e87a85511af96c98eea8f58fcfba9707e78b836d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousContourGenerator.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCanonicalContour +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGeneratorEigenvector +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSemigroupDecay + +namespace OAI + +/-! # The generator on the actual contour complement + +For the manuscript threshold -1/32, a contracting-plus-finite-rank step +produces a finite-dimensional generator whose eigenvalues are strictly to +the right of that line. The complementary evolution decays exponentially. +-/ + +open scoped NNReal + +namespace DefocusingNLS + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +/-- The exact invariant projection, decaying kernel, and finite generator data. -/ +def HasFiniteContourGenerator (S : ℝ≥0 → E →L[ℂ] E) : Prop := + ∃ Q : E →L[ℂ] E, IsIdempotentElem Q ∧ + FiniteDimensional ℂ (LinearMap.range Q.toLinearMap) ∧ + ∃ hcomm : ∀ s, Commute (S s) Q, + (∃ D δ : ℝ, 0 ≤ D ∧ 0 < δ ∧ ∀ s : ℝ≥0, ∀ u, Q u = 0 → + ‖S s u‖ ≤ D * Real.exp (-δ * (s : ℝ)) * ‖u‖) ∧ + ∃ G : Q.range →L[ℂ] Q.range, + (∀ s : ℝ≥0, projectionSemigroupRestriction S Q hcomm s = + NormedSpace.exp ((s : ℝ) • G)) ∧ + ∀ lam : ℂ, ∀ u : Q.range, u ≠ 0 → G u = lam • u → -(1 / 32 : ℝ) < lam.re + +theorem semigroup_contour_generator (S : ℝ≥0 → E →L[ℂ] E) + (hzero : S 0 = 1) (hadd : ∀ s t, S (s + t) = S t * S s) + (hS : ∀ x : E, Continuous (fun t => S t x)) + (τ : ℝ≥0) (hτ : 0 < τ) (B K : E →L[ℂ] E) + (hstep : S τ = B + K) (hB : ‖B‖ < 1) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) : + HasFiniteContourGenerator S := by + have hτR : 0 < (τ : ℝ) := hτ + have hη : Real.exp (-(τ : ℝ) / 32) < 1 := by + rw [Real.exp_lt_one_iff] + exact div_neg_of_neg_of_pos (neg_neg_of_pos hτR) (by norm_num) + obtain ⟨r, hηr, hr0, hr1, hres, Q, hQeq, hQ, hfin, hcomm0, C, hC, hpowers⟩ := + finiteRank_canonical_contour_decomposition B K hB hK + (Real.exp (-(τ : ℝ) / 32)) hη + have hcomm (s : ℝ≥0) : Commute (S s) Q := by + apply hcomm0 + rw [← hstep] + change S s * S τ = S τ * S s + rw [← hadd, ← hadd, add_comm s τ] + obtain ⟨G, hG⟩ := projectionSemigroupRestriction_eq_exp S Q hcomm hfin hS hzero hadd + refine ⟨Q, hQ, hfin, hcomm, ?_, G, hG, ?_⟩ + · apply continuous_decay_of_step_decay S hzero hadd hS + {u | Q u = 0} τ hτ r C hr0 hr1 hC + intro j u hu + simpa only [hstep] using hpowers j u hu + · intro lam u hu hGu + let : FiniteDimensional ℂ Q.range := hfin + have hu0 : (u : E) ≠ 0 := by + intro he + apply hu + exact Subtype.ext he + have hfix : Q (u : E) = u := by + obtain ⟨v, hv⟩ := u.property + rw [← hv] + exact congrArg (fun L : E →L[ℂ] E => L v) hQ + have he := real_smul_operator_exp_apply_of_eigenvector G lam u hGu (τ : ℝ) + have hsu : (S τ) (u : E) = Complex.exp (((τ : ℝ) : ℂ) * lam) • (u : E) := by + have hh := congrArg (fun L : Q.range →L[ℂ] Q.range => (L u : E)) (hG τ) + change S τ (u : E) = (NormedSpace.exp ((τ : ℝ) • G) u : E) at hh + rw [he] at hh + exact hh + have hmod : r < ‖Complex.exp (((τ : ℝ) : ℂ) * lam)‖ := by + apply contourComplement_eigenvector_modulus (S τ) hr0 + (fun z hz => by simpa only [hstep] using hres z hz) hu0 hsu + simpa only [hstep, ← hQeq] using hfix + apply generator_realPart_gt_of_step_modulus lam (τ : ℝ) (1 / 32) hτR + convert hηr.trans hmod using 1 + congr 1 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConvolutionBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConvolutionBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..9fc7de739f6301d712d637d728330a38de80a6c9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConvolutionBound.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchwartzConvolution +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreePhysical + +namespace OAI + +/-! # The continuous convolution bound in the exact homogeneous norm -/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousAlgebraConstant (a k : ℝ) : ℝ := + 2 * max (2 ^ (6 - a)) (2 ^ k) * + Real.sqrt (∫ ξ : E, (homogeneousFourierWeight a k ξ)⁻¹) + +theorem homogeneousAlgebraConstant_nonneg (a k : ℝ) : + 0 ≤ homogeneousAlgebraConstant a k := by + unfold homogeneousAlgebraConstant + positivity + +theorem homogeneousFrequencyEmbedding_L1 (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + (∫ ξ, ‖ψ ξ‖) ≤ Real.sqrt (∫ ξ : E, (homogeneousFourierWeight a k ξ)⁻¹) * + ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + have h := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk + (ψ.memLp 2 (homogeneousFourierMeasure a k))).2 + rw [← homogeneousFrequencyEmbedding_norm_sq_integral a k ha ha1 hk, + Real.sqrt_sq (norm_nonneg _)] at h + exact h + +theorem homogeneousSchwartzConvolution_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ φ : 𝓢(E, ℂ)) : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConvolution ψ φ)‖ ≤ + homogeneousAlgebraConstant a k * + ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ * + ‖homogeneousFrequencyEmbedding a k ha ha1 hk φ‖ := by + let c : ℝ := ((2 * Real.pi) ^ (12 : ℕ))⁻¹ + let C : ℝ := max (2 ^ (6 - a)) (2 ^ k) + let D : ℝ := Real.sqrt (∫ ξ : E, (homogeneousFourierWeight a k ξ)⁻¹) + let A : ℝ := ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ + let B : ℝ := ‖homogeneousFrequencyEmbedding a k ha ha1 hk φ‖ + let Lψ : ℝ := ∫ ξ, ‖ψ ξ‖ + let Lφ : ℝ := ∫ ξ, ‖φ ξ‖ + have hc : 0 ≤ c := by dsimp [c]; positivity + have hC : 0 ≤ C := by dsimp [C]; positivity + have hD : 0 ≤ D := Real.sqrt_nonneg _ + have hA : 0 ≤ A := norm_nonneg _ + have hB : 0 ≤ B := norm_nonneg _ + have hLψ : 0 ≤ Lψ := integral_nonneg (fun _ => norm_nonneg _) + have hLφ : 0 ≤ Lφ := integral_nonneg (fun _ => norm_nonneg _) + have hψ := homogeneousFrequencyEmbedding_L1 a k ha ha1 hk ψ + have hφ := homogeneousFrequencyEmbedding_L1 a k ha ha1 hk φ + have hψsq : Lψ ^ 2 ≤ D ^ 2 * A ^ 2 := by + simpa only [mul_pow] using (sq_le_sq₀ hLψ (mul_nonneg hD hA)).mpr hψ + have hφsq : Lφ ^ 2 ≤ D ^ 2 * B ^ 2 := by + simpa only [mul_pow] using (sq_le_sq₀ hLφ (mul_nonneg hD hB)).mpr hφ + have hE (s : ℝ) (hs : 0 ≤ s) (hsC : 2 ^ s ≤ C) : + homogeneousFrequencyEnergy s (homogeneousSchwartzConvolution ψ φ) ≤ + 2 * C ^ 2 * (Lφ ^ 2 * homogeneousFrequencyEnergy s ψ + + Lψ ^ 2 * homogeneousFrequencyEnergy s φ) := by + apply (homogeneousSchwartzConvolution_energy_le s hs ψ φ).trans + apply mul_le_mul_of_nonneg_right + · exact mul_le_mul_of_nonneg_left ((sq_le_sq₀ (by positivity) hC).mpr hsC) (by norm_num) + · exact add_nonneg + (mul_nonneg (sq_nonneg _) (integral_nonneg (fun _ => by positivity))) + (mul_nonneg (sq_nonneg _) (integral_nonneg (fun _ => by positivity))) + have hlow := hE (6 - a) (by linarith) (le_max_left _ _) + have hhigh := hE k (by linarith) (le_max_right _ _) + have hnψ := homogeneousFrequencyEmbedding_norm_sq a k ha ha1 hk ψ + have hnφ := homogeneousFrequencyEmbedding_norm_sq a k ha ha1 hk φ + have hsq : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConvolution ψ φ)‖ ^ 2 ≤ + (2 * C * D * A * B) ^ 2 := by + calc + _ = c * (homogeneousFrequencyEnergy (6 - a) (homogeneousSchwartzConvolution ψ φ) + + homogeneousFrequencyEnergy k (homogeneousSchwartzConvolution ψ φ)) := + homogeneousFrequencyEmbedding_norm_sq a k ha ha1 hk _ + _ ≤ c * (2 * C ^ 2 * (Lφ ^ 2 * homogeneousFrequencyEnergy (6 - a) ψ + + Lψ ^ 2 * homogeneousFrequencyEnergy (6 - a) φ) + + 2 * C ^ 2 * (Lφ ^ 2 * homogeneousFrequencyEnergy k ψ + + Lψ ^ 2 * homogeneousFrequencyEnergy k φ)) := + mul_le_mul_of_nonneg_left (add_le_add hlow hhigh) hc + _ = 2 * C ^ 2 * (Lφ ^ 2 * (c * (homogeneousFrequencyEnergy (6 - a) ψ + + homogeneousFrequencyEnergy k ψ)) + Lψ ^ 2 * + (c * (homogeneousFrequencyEnergy (6 - a) φ + homogeneousFrequencyEnergy k φ))) := by ring + _ = 2 * C ^ 2 * (Lφ ^ 2 * A ^ 2 + Lψ ^ 2 * B ^ 2) := by + rw [← hnψ, ← hnφ] + _ ≤ 2 * C ^ 2 * ((D ^ 2 * B ^ 2) * A ^ 2 + (D ^ 2 * A ^ 2) * B ^ 2) := + mul_le_mul_of_nonneg_left (add_le_add + (mul_le_mul_of_nonneg_right hφsq (sq_nonneg _)) + (mul_le_mul_of_nonneg_right hψsq (sq_nonneg _))) (by positivity) + _ = _ := by ring + change ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConvolution ψ φ)‖ ≤ + 2 * C * D * A * B + have hright : 0 ≤ 2 * C * D * A * B := by positivity + exact (sq_le_sq₀ (norm_nonneg _) hright).mp hsq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConvolutionWeights.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConvolutionWeights.lean new file mode 100644 index 0000000000000000000000000000000000000000..d32dbfbe8d275a9fadd5a0902f4456d95a5305b4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousConvolutionWeights.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ContinuousYoung +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeFourier + +namespace OAI + +/-! # Exact homogeneous weights for continuous Fourier convolution -/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFourierMagnitude (s : ℝ) (ψ : 𝓢(E, ℂ)) (ξ : E) : ℝ := + ‖ξ‖ ^ s * ‖ψ ξ‖ + +theorem homogeneousFourierMagnitude_nonneg (s : ℝ) (ψ : 𝓢(E, ℂ)) (ξ : E) : + 0 ≤ homogeneousFourierMagnitude s ψ ξ := + mul_nonneg (Real.rpow_nonneg (norm_nonneg _) _) (norm_nonneg _) + +theorem homogeneousFourierMagnitude_continuous (s : ℝ) (hs : 0 ≤ s) (ψ : 𝓢(E, ℂ)) : + Continuous (homogeneousFourierMagnitude s ψ) := + (continuous_norm.rpow_const (fun _ => Or.inr hs)).mul ψ.continuous.norm + +private theorem homogeneous_magnitude_le_bessel (s : ℝ) (hs : 0 ≤ s) + (ψ : 𝓢(E, ℂ)) (ξ : E) : + homogeneousFourierMagnitude s ψ ξ ≤ ‖weightedSchwartzKernel s ψ ξ‖ := by + have hw : ‖ξ‖ ^ s ≤ (1 + ‖ξ‖ ^ 2) ^ (s / 2) := by + calc + _ = (‖ξ‖ ^ (2 : ℕ)) ^ (s / 2) := by + rw [← Real.rpow_natCast, ← Real.rpow_mul (norm_nonneg _)] + congr 1 + ring + _ ≤ _ := Real.rpow_le_rpow (by positivity) (by linarith) (by positivity) + rw [weightedSchwartzKernel_norm] + exact mul_le_mul_of_nonneg_right hw (norm_nonneg _) + +theorem homogeneousFourierMagnitude_integrable (s : ℝ) (hs : 0 ≤ s) (ψ : 𝓢(E, ℂ)) : + Integrable (homogeneousFourierMagnitude s ψ) := by + apply (weightedSchwartzKernel s ψ).integrable.norm.mono' + (homogeneousFourierMagnitude_continuous s hs ψ).aestronglyMeasurable + exact ae_of_all _ (fun ξ => by + rw [Real.norm_eq_abs, abs_of_nonneg (homogeneousFourierMagnitude_nonneg s ψ ξ)] + exact homogeneous_magnitude_le_bessel s hs ψ ξ) + +theorem homogeneousFourierMagnitude_bounded (s : ℝ) (hs : 0 ≤ s) (ψ : 𝓢(E, ℂ)) : + ∃ K : ℝ, 0 ≤ K ∧ ∀ ξ, homogeneousFourierMagnitude s ψ ξ ≤ K := by + refine ⟨SchwartzMap.seminorm ℝ 0 0 (weightedSchwartzKernel s ψ), by positivity, fun ξ => ?_⟩ + exact (homogeneous_magnitude_le_bessel s hs ψ ξ).trans + (SchwartzMap.norm_le_seminorm ℝ (weightedSchwartzKernel s ψ) ξ) + +theorem homogeneousFourierMagnitude_sq_integrable (s : ℝ) (hs : 0 ≤ s) + (ψ : 𝓢(E, ℂ)) : Integrable (fun ξ => homogeneousFourierMagnitude s ψ ξ ^ 2) := by + obtain ⟨χ, hχ⟩ := radianFourierKernel_surjective ψ + have h := integrable_localizedFourierPolynomial_energy s 1 hs zero_lt_one χ {0} (fun _ => 1) + have heq : localizedFourierPolynomial 1 χ {0} (fun _ => 1) = (χ : E → ℂ) := by + funext y + simp [localizedFourierPolynomial] + rw [heq] at h + have he (ξ : E) : homogeneousFourierMagnitude s ψ ξ ^ 2 = + ‖ξ‖ ^ (2 * s) * ‖radianFourierIntegral χ ξ‖ ^ 2 := by + rw [homogeneousFourierMagnitude, mul_pow, ← hχ, radianFourierKernel_apply, + ← Real.rpow_natCast, ← Real.rpow_mul (norm_nonneg _)] + congr 2 + ring + simpa only [he] using h + +/-- A sum of frequencies costs only the fixed constant `2^s`. -/ +theorem homogeneousFrequencyWeight_add_le (s : ℝ) (hs : 0 ≤ s) (ξ η : E) : + ‖ξ + η‖ ^ s ≤ 2 ^ s * (‖ξ‖ ^ s + ‖η‖ ^ s) := by + have hn : ‖ξ + η‖ ≤ 2 * max ‖ξ‖ ‖η‖ := + (norm_add_le _ _).trans (by linarith [le_max_left ‖ξ‖ ‖η‖, le_max_right ‖ξ‖ ‖η‖]) + calc + _ ≤ (2 * max ‖ξ‖ ‖η‖) ^ s := Real.rpow_le_rpow (norm_nonneg _) hn hs + _ = 2 ^ s * max (‖ξ‖ ^ s) (‖η‖ ^ s) := by + rw [Real.mul_rpow (by norm_num) (by positivity), + Real.rpow_max (norm_nonneg _) (norm_nonneg _) hs] + _ ≤ _ := mul_le_mul_of_nonneg_left + (max_le (le_add_of_nonneg_right (by positivity)) + (le_add_of_nonneg_left (by positivity))) (by positivity) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectComparison.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectComparison.lean new file mode 100644 index 0000000000000000000000000000000000000000..933f5e4524cdd39f09f0e74761d2605979617342 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectComparison.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDefectExclusion + +namespace OAI + +/-! # The exact derivative-row comparison implies the radial L² obstruction + +This is the quantitative two-channel inequality used after the falling-Euler +row and the differentiated outgoing remainder have been identified. +-/ + +open Set Filter Topology MeasureTheory + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +theorem homogeneousPair_energy_control (w x : V) (a b c : ℝ) + (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 < c) + (h : c * a * ‖w‖ ≤ ‖x‖ + b) : + a ^ 2 * homogeneousPairEnergy w ≤ + (4 / c ^ 2) * homogeneousPairEnergy x + (4 / c ^ 2) * b ^ 2 := by + have hs : (c * a * ‖w‖) ^ 2 ≤ (‖x‖ + b) ^ 2 := + (sq_le_sq₀ (by positivity) (by positivity)).2 h + have hew := mul_le_mul_of_nonneg_left (homogeneousPairEnergy_upper w) + (sq_nonneg (c * a)) + have hex := homogeneousPairEnergy_lower x + have hsum : (‖x‖ + b) ^ 2 ≤ 2 * homogeneousPairEnergy x + 2 * b ^ 2 := by + nlinarith [sq_nonneg (‖x‖ - b)] + have htotal : c ^ 2 * (a ^ 2 * homogeneousPairEnergy w) ≤ + 4 * homogeneousPairEnergy x + 4 * b ^ 2 := by + calc + _ ≤ 2 * (c * a * ‖w‖) ^ 2 := by convert hew using 1 <;> ring + _ ≤ 2 * (‖x‖ + b) ^ 2 := mul_le_mul_of_nonneg_left hs (by norm_num) + _ ≤ _ := by linarith + have hdiv := (le_div_iff₀ (sq_pos_of_pos hc)).2 + (show a ^ 2 * homogeneousPairEnergy w * c ^ 2 ≤ + 4 * homogeneousPairEnergy x + 4 * b ^ 2 by simpa only [mul_comm] using htotal) + convert hdiv using 1 + ring + +theorem homogeneousRadial_derivative_comparison + (U W H : V) (T R : End) (r beta c K M : ℝ) (N : ℕ) + (hr : 0 < r) (hc : 0 < c) (hK : 0 ≤ K) (hM : 0 ≤ M) + (hrow : c * r ^ beta * ‖W‖ ≤ ‖T W‖) + (hidentity : H = T W + R U) + (hR : ‖R‖ ≤ K * r ^ (-(N : ℝ))) (hU : ‖U‖ ≤ M) : + r ^ (2 * beta) * homogeneousPairEnergy W ≤ + (4 / c ^ 2) * homogeneousPairEnergy H + + (4 / c ^ 2) * (K * M) ^ 2 * r ^ (-2 * (N : ℝ)) := by + have hRnorm : ‖R U‖ ≤ K * r ^ (-(N : ℝ)) * M := + (ContinuousLinearMap.le_opNorm R U).trans + (mul_le_mul hR hU (norm_nonneg U) (mul_nonneg hK (Real.rpow_nonneg hr.le _))) + have hbound : c * r ^ beta * ‖W‖ ≤ ‖H‖ + K * r ^ (-(N : ℝ)) * M := by + apply hrow.trans + calc + ‖T W‖ = ‖H - R U‖ := by rw [hidentity, add_sub_cancel_right] + _ ≤ ‖H‖ + ‖R U‖ := norm_sub_le _ _ + _ ≤ _ := add_le_add le_rfl hRnorm + have he := homogeneousPair_energy_control W H (r ^ beta) + (K * r ^ (-(N : ℝ)) * M) c (Real.rpow_nonneg hr.le _) + (by positivity) hc hbound + have hp : (r ^ beta) ^ 2 = r ^ (2 * beta) := by + rw [mul_comm (2 : ℝ) beta, Real.rpow_mul hr.le, Real.rpow_ofNat] + have hq : (r ^ (-(N : ℝ))) ^ 2 = r ^ (-2 * (N : ℝ)) := by + rw [show -2 * (N : ℝ) = (-(N : ℝ)) * 2 by ring, + Real.rpow_mul hr.le, Real.rpow_ofNat] + rw [hp] at he + convert he using 1 + simp only [mul_pow, hq] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..297ec94e47ee1db2dd8ebcb7ef8fea4a90caddeb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectEnergy.lean @@ -0,0 +1,212 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialDefect +import Mathlib.Analysis.Calculus.Deriv.MeanValue +import Mathlib.Analysis.Calculus.Deriv.Prod +import Mathlib.Analysis.Calculus.Deriv.Star +import Mathlib.Analysis.Complex.RealDeriv +import Mathlib.Analysis.SpecialFunctions.Log.Deriv +import Mathlib.Analysis.SpecialFunctions.Pow.Real + +namespace OAI + +/-! # A power lower bound for a nonzero transverse radial defect + +The large imaginary diagonal in the radial equation does not enter this +energy estimate. An integrable `O(r⁻³)` perturbation only changes the +positive lower-bound constant, not the radial power. +-/ + +open Set Filter Topology + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ + +noncomputable def homogeneousPairEnergy (w : V) : ℝ := + Complex.normSq w.1 + Complex.normSq w.2 + +noncomputable def homogeneousPairReal (u v : V) : ℝ := + (star u.1 * v.1 + star u.2 * v.2).re + +theorem homogeneousPairEnergy_nonneg (w : V) : 0 ≤ homogeneousPairEnergy w := by + unfold homogeneousPairEnergy + exact add_nonneg (Complex.normSq_nonneg _) (Complex.normSq_nonneg _) + +theorem homogeneousPairEnergy_eq_norms (w : V) : + homogeneousPairEnergy w = ‖w.1‖ ^ 2 + ‖w.2‖ ^ 2 := by + simp only [homogeneousPairEnergy, Complex.normSq_eq_norm_sq] + +theorem homogeneousPairEnergy_lower (w : V) : ‖w‖ ^ 2 ≤ homogeneousPairEnergy w := by + rw [Prod.norm_def, homogeneousPairEnergy_eq_norms] + rcases le_total ‖w.1‖ ‖w.2‖ with h | h + · rw [max_eq_right h] + nlinarith [sq_nonneg ‖w.1‖] + · rw [max_eq_left h] + nlinarith [sq_nonneg ‖w.2‖] + +theorem homogeneousPairEnergy_upper (w : V) : homogeneousPairEnergy w ≤ 2 * ‖w‖ ^ 2 := by + rw [homogeneousPairEnergy_eq_norms] + have h₁ := (sq_le_sq₀ (norm_nonneg w.1) (norm_nonneg w)).2 (norm_fst_le w) + have h₂ := (sq_le_sq₀ (norm_nonneg w.2) (norm_nonneg w)).2 (norm_snd_le w) + linarith + +theorem homogeneousPairEnergy_pos {w : V} (hw : w ≠ 0) : + 0 < homogeneousPairEnergy w := + lt_of_lt_of_le (sq_pos_of_pos (norm_pos_iff.mpr hw)) (homogeneousPairEnergy_lower w) + +theorem homogeneousPairReal_bound (u v : V) : + |homogeneousPairReal u v| ≤ 2 * ‖u‖ * ‖v‖ := by + calc + |homogeneousPairReal u v| ≤ ‖star u.1 * v.1 + star u.2 * v.2‖ := + Complex.abs_re_le_norm _ + _ ≤ ‖star u.1 * v.1‖ + ‖star u.2 * v.2‖ := norm_add_le _ _ + _ = ‖u.1‖ * ‖v.1‖ + ‖u.2‖ * ‖v.2‖ := by simp only [norm_mul, norm_star] + _ ≤ ‖u‖ * ‖v‖ + ‖u‖ * ‖v‖ := add_le_add + (mul_le_mul (norm_fst_le u) (norm_fst_le v) (norm_nonneg _) (norm_nonneg _)) + (mul_le_mul (norm_snd_le u) (norm_snd_le v) (norm_nonneg _) (norm_nonneg _)) + _ = 2 * ‖u‖ * ‖v‖ := by ring + +theorem homogeneousComplexNormSq_hasDerivAt {u : ℝ → ℂ} {v : ℂ} {r : ℝ} + (hu : HasDerivAt u v r) : + HasDerivAt (fun t => Complex.normSq (u t)) (2 * (star (u r) * v).re) r := by + have h := Complex.reCLM.hasFDerivAt.comp_hasDerivAt r (hu.star.mul hu) + convert! h using 1 + · ext t + simp [Complex.normSq_apply, Complex.mul_re] + · simp only [Complex.reCLM_apply, Complex.add_re, Complex.mul_re, + Complex.star_def, Complex.conj_re, Complex.conj_im] + ring + +theorem homogeneousPairEnergy_hasDerivAt {w : ℝ → V} {v : V} {r : ℝ} + (hw : HasDerivAt w v r) : + HasDerivAt (fun t => homogeneousPairEnergy (w t)) + (2 * homogeneousPairReal (w r) v) r := by + convert! (homogeneousComplexNormSq_hasDerivAt (homogeneousPair_fst_hasDerivAt hw)).add + (homogeneousComplexNormSq_hasDerivAt (homogeneousPair_snd_hasDerivAt hw)) using 1 + simp only [homogeneousPairReal, Complex.add_re] + ring + +theorem homogeneousPairReal_damping (w e : V) (d omega₁ omega₂ : ℝ) : + homogeneousPairReal w + (-((d : ℂ) + Complex.I * omega₁) * w.1 - e.1, + -((d : ℂ) + Complex.I * omega₂) * w.2 - e.2) = + -d * homogeneousPairEnergy w - homogeneousPairReal w e := by + simp only [homogeneousPairReal, homogeneousPairEnergy, Complex.normSq_apply, + Complex.add_re, Complex.add_im, Complex.sub_re, Complex.sub_im, + Complex.mul_re, Complex.mul_im, Complex.neg_re, Complex.neg_im, + Complex.ofReal_re, Complex.ofReal_im, Complex.I_re, Complex.I_im, + Complex.star_def, Complex.conj_re, Complex.conj_im] + ring + +theorem homogeneousPairEnergy_damping_lower (w e : V) (d omega₁ omega₂ M r : ℝ) + (hM : 0 ≤ M) (hr : 0 < r) (he : ‖e‖ ≤ M / r ^ 3 * ‖w‖) : + -(2 * d / r + 4 * M / r ^ 3) * homogeneousPairEnergy w ≤ + 2 * homogeneousPairReal w + (-(((d / r : ℝ) : ℂ) + Complex.I * omega₁) * w.1 - e.1, + -(((d / r : ℝ) : ℂ) + Complex.I * omega₂) * w.2 - e.2) := by + rw [homogeneousPairReal_damping] + have hR : homogeneousPairReal w e ≤ 2 * (M / r ^ 3) * homogeneousPairEnergy w := by + calc + homogeneousPairReal w e ≤ |homogeneousPairReal w e| := le_abs_self _ + _ ≤ 2 * ‖w‖ * ‖e‖ := homogeneousPairReal_bound w e + _ ≤ 2 * ‖w‖ * (M / r ^ 3 * ‖w‖) := + mul_le_mul_of_nonneg_left he (by positivity) + _ = 2 * (M / r ^ 3) * ‖w‖ ^ 2 := by ring + _ ≤ 2 * (M / r ^ 3) * homogeneousPairEnergy w := + mul_le_mul_of_nonneg_left (homogeneousPairEnergy_lower w) (by positivity) + have heq : -(2 * d / r + 4 * M / r ^ 3) * homogeneousPairEnergy w = + 2 * (-(d / r) * homogeneousPairEnergy w - + 2 * (M / r ^ 3) * homogeneousPairEnergy w) := by ring + rw [heq] + linarith + +noncomputable def homogeneousDefectWeight (d M r : ℝ) : ℝ := + Real.exp (2 * d * Real.log r - 2 * M / r ^ 2) + +theorem homogeneousDefectWeight_hasDerivAt (d M r : ℝ) (hr : 0 < r) : + HasDerivAt (homogeneousDefectWeight d M) + ((2 * d / r + 4 * M / r ^ 3) * homogeneousDefectWeight d M r) r := by + have hlog := (Real.hasDerivAt_log hr.ne').const_mul (2 * d) + have hinv := ((hasDerivAt_id r).pow 2).inv (pow_ne_zero 2 hr.ne') + have h := (hlog.sub (hinv.const_mul (2 * M))).exp + apply h.congr_deriv + change homogeneousDefectWeight d M r * + (2 * d * r⁻¹ - 2 * M * (-(2 * r ^ (2 - 1) * 1) / (r ^ 2) ^ 2)) = + (2 * d / r + 4 * M / r ^ 3) * homogeneousDefectWeight d M r + rw [mul_comm (homogeneousDefectWeight d M r)] + congr 1 + norm_num + field_simp [hr.ne'] + ring + +theorem homogeneousDefectWeight_pos (d M r : ℝ) : 0 < homogeneousDefectWeight d M r := + Real.exp_pos _ + +theorem homogeneousDefectWeight_le (d M r : ℝ) (hM : 0 ≤ M) (hr : 0 < r) : + homogeneousDefectWeight d M r ≤ r ^ (2 * d) := by + rw [Real.rpow_def_of_pos hr] + apply Real.exp_le_exp.mpr + have h : 0 ≤ 2 * M / r ^ 2 := by positivity + nlinarith + +/-- The normalized squared defect is monotone on every positive tail. -/ +theorem homogeneousDefectEnergy_monotone (E E' : ℝ → ℝ) (d M R : ℝ) + (hR : 0 < R) (hE : ∀ r, R ≤ r → HasDerivAt E (E' r) r) + (hlower : ∀ r, R ≤ r → -(2 * d / r + 4 * M / r ^ 3) * E r ≤ E' r) : + MonotoneOn (fun r => homogeneousDefectWeight d M r * E r) (Ici R) := by + have hd : ∀ r, R ≤ r → HasDerivAt + (fun t => homogeneousDefectWeight d M t * E t) + (homogeneousDefectWeight d M r * + ((2 * d / r + 4 * M / r ^ 3) * E r + E' r)) r := by + intro r hr + convert! (homogeneousDefectWeight_hasDerivAt d M r (hR.trans_le hr)).mul (hE r hr) using 1 + ring + apply monotoneOn_of_deriv_nonneg (convex_Ici R) + · intro r hr + exact (hd r hr).continuousAt.continuousWithinAt + · intro r hr + exact (hd r (interior_subset hr)).differentiableAt.differentiableWithinAt + · intro r hr + rw [(hd r (interior_subset hr)).deriv] + apply mul_nonneg (homogeneousDefectWeight_pos d M r).le + linarith [hlower r (interior_subset hr)] + +/-- A positive squared defect stays above a positive multiple of its radial power. -/ +theorem homogeneousDefectEnergy_power_lower (E E' : ℝ → ℝ) (d M R : ℝ) + (hM : 0 ≤ M) (hR : 0 < R) (hE0 : 0 < E R) + (hEn : ∀ r, R ≤ r → 0 ≤ E r) + (hE : ∀ r, R ≤ r → HasDerivAt E (E' r) r) + (hlower : ∀ r, R ≤ r → -(2 * d / r + 4 * M / r ^ 3) * E r ≤ E' r) : + ∃ c : ℝ, 0 < c ∧ ∀ r, R ≤ r → c ≤ r ^ (2 * d) * E r := by + refine ⟨homogeneousDefectWeight d M R * E R, + mul_pos (homogeneousDefectWeight_pos d M R) hE0, ?_⟩ + intro r hr + exact ((homogeneousDefectEnergy_monotone E E' d M R hR hE hlower) + (show R ∈ Ici R by simp only [mem_Ici, le_refl]) hr hr).trans + (mul_le_mul_of_nonneg_right + (homogeneousDefectWeight_le d M r hM (hR.trans_le hr)) (hEn r hr)) + +theorem homogeneousDefect_nonzero_power_bound + (W e : ℝ → V) (omega₁ omega₂ : ℝ → ℝ) (d M R : ℝ) + (hM : 0 ≤ M) (hR : 0 < R) (hW0 : W R ≠ 0) + (hW : ∀ r, R ≤ r → HasDerivAt W + (-(((d / r : ℝ) : ℂ) + Complex.I * omega₁ r) * (W r).1 - (e r).1, + -(((d / r : ℝ) : ℂ) + Complex.I * omega₂ r) * (W r).2 - (e r).2) r) + (he : ∀ r, R ≤ r → ‖e r‖ ≤ M / r ^ 3 * ‖W r‖) : + ∃ c : ℝ, 0 < c ∧ ∀ r, R ≤ r → + c ≤ r ^ (2 * d) * homogeneousPairEnergy (W r) := by + apply homogeneousDefectEnergy_power_lower + (fun r => homogeneousPairEnergy (W r)) + (fun r => 2 * homogeneousPairReal (W r) + (-(((d / r : ℝ) : ℂ) + Complex.I * omega₁ r) * (W r).1 - (e r).1, + -(((d / r : ℝ) : ℂ) + Complex.I * omega₂ r) * (W r).2 - (e r).2)) + d M R hM hR (homogeneousPairEnergy_pos hW0) + (fun r _ => homogeneousPairEnergy_nonneg (W r)) + · intro r hr + exact homogeneousPairEnergy_hasDerivAt (hW r hr) + · intro r hr + exact homogeneousPairEnergy_damping_lower (W r) (e r) d (omega₁ r) (omega₂ r) + M r hM (hR.trans_le hr) (he r hr) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..59a7c36804eb79e537e7c7e84a5f76ffb5caa380 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDefectExclusion.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialPairL2 +import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics + +namespace OAI + +/-! # The lower-order remainder cannot hide a transverse defect + +This is the scalar final step after differentiating the original ODE: +the slowly varying value term is negligible compared with the forced +high-derivative power of a nonzero transverse component. +-/ + +open Set Filter Topology MeasureTheory + +namespace DefocusingNLS + +theorem radial_pair_not_integrable_of_defect_remainder + (f g : ℝ → ℂ) (E : ℝ → ℝ) (R beta d c C B : ℝ) (N : ℕ) + (hc : 0 < c) (hC : 0 < C) (hb : -6 ≤ beta - d) + (hgap : 0 < (N : ℝ) + beta - d) + (hElower : ∀ᶠ r in atTop, c ≤ r ^ (2 * d) * E r) + (hderiv : ∀ᶠ r in atTop, r ^ (2 * beta) * E r ≤ + C * homogeneousPairEnergy (f r, g r) + B * r ^ (-2 * (N : ℝ))) : + ¬ (IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R) ∧ + IntegrableOn (fun r => r ^ (11 : ℕ) * ‖g r‖ ^ 2) (Ioi R)) := by + let delta := 2 * ((N : ℝ) + beta - d) + have hdelta : 0 < delta := by dsimp only [delta]; linarith + have hsmall : ∀ᶠ r : ℝ in atTop, B * r ^ (-delta) ≤ c / 2 := by + have hh : Tendsto (fun r : ℝ => B * r ^ (-delta)) atTop (𝓝 0) := by + simpa only [mul_zero] using (tendsto_rpow_neg_atTop (y := delta) hdelta).const_mul B + have hh' := hh.eventually (gt_mem_nhds (half_pos hc)) + exact hh'.mono (fun _ h => h.le) + apply radial_pair_not_integrable_of_energy_lower f g R (beta - d) (c / (2 * C)) + (by positivity) hb + filter_upwards [hElower, hderiv, hsmall, eventually_gt_atTop (0 : ℝ)] with r hE hD hB hr + have hp₁ : r ^ (2 * (beta - d)) * r ^ (2 * d) = r ^ (2 * beta) := by + rw [← Real.rpow_add hr] + congr 1 + ring + have hp₂ : r ^ (-delta) * r ^ (2 * (beta - d)) = r ^ (-2 * (N : ℝ)) := by + rw [← Real.rpow_add hr] + congr 1 + dsimp only [delta] + ring + have hE' := mul_le_mul_of_nonneg_left hE (Real.rpow_nonneg hr.le (2 * (beta - d))) + rw [← mul_assoc, hp₁] at hE' + have hB' := mul_le_mul_of_nonneg_right hB (Real.rpow_nonneg hr.le (2 * (beta - d))) + rw [mul_assoc B, hp₂] at hB' + have hmain : c / 2 * r ^ (2 * (beta - d)) ≤ C * homogeneousPairEnergy (f r, g r) := by + nlinarith [hE'.trans hD] + apply (mul_le_mul_iff_right₀ hC).mp + calc + C * (c / (2 * C) * r ^ (2 * (beta - d))) = c / 2 * r ^ (2 * (beta - d)) := by + field_simp + _ ≤ C * homogeneousPairEnergy (f r, g r) := hmain + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..c318371c7aff10f64046f1050d36c229a859f430 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeBounds.lean @@ -0,0 +1,111 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousNonlinearity +import Mathlib.Analysis.Calculus.ContDiff.Bounds +import Mathlib.Analysis.Calculus.MeanValue + +namespace OAI + +/-! # Uniform second-derivative bounds for the actual homogeneous nonlinearity -/ + +open Set Metric + +namespace DefocusingNLS + +private theorem homogeneous_linear_two_jet_bound {a k : ℝ} (L : (HomogeneousY a k) →L[ℝ] (HomogeneousY a k)) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : (HomogeneousY a k), ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → + ‖iteratedFDeriv ℝ n (fun g => L g) f‖ ≤ C := by + refine ⟨(‖L‖ + 1) * (R + 1), by positivity, ?_⟩ + intro f hf n hn + have hLn := norm_nonneg L + have hLR : 0 ≤ ‖L‖ * R := mul_nonneg hLn hR + interval_cases n + · rw [norm_iteratedFDeriv_zero] + have h := L.le_opNorm f + have h' := mul_le_mul_of_nonneg_left hf hLn + nlinarith + · rw [norm_iteratedFDeriv_one, L.fderiv] + nlinarith + · rw [← norm_iteratedFDeriv_fderiv (n := 1), norm_iteratedFDeriv_one] + have hderiv : fderiv ℝ (fun g => L g) = fun _ => L := funext (fun g => L.fderiv) + rw [hderiv] + simp only [fderiv_const_apply, norm_zero] + positivity + +private theorem homogeneous_bilinear_two_jet_bound {a k : ℝ} (B : (HomogeneousY a k) →L[ℝ] (HomogeneousY a k) →L[ℝ] (HomogeneousY a k)) + (F G : (HomogeneousY a k) → (HomogeneousY a k)) (hF : ContDiff ℝ ⊤ F) (hG : ContDiff ℝ ⊤ G) + (R A D : ℝ) (hA : 0 ≤ A) (hD : 0 ≤ D) + (hFb : ∀ f : (HomogeneousY a k), ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → ‖iteratedFDeriv ℝ n F f‖ ≤ A) + (hGb : ∀ f : (HomogeneousY a k), ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → ‖iteratedFDeriv ℝ n G f‖ ≤ D) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : (HomogeneousY a k), ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → + ‖iteratedFDeriv ℝ n (fun g => B (F g) (G g)) f‖ ≤ C := by + refine ⟨4 * ‖B‖ * A * D, by positivity, ?_⟩ + intro f hf n hn + have hsum : (∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ)) = (2 : ℝ) ^ n := by + exact_mod_cast Nat.sum_range_choose n + have hp : (2 : ℝ) ^ n ≤ 4 := by interval_cases n <;> norm_num + calc + _ ≤ ‖B‖ * ∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * ‖iteratedFDeriv ℝ i F f‖ * ‖iteratedFDeriv ℝ (n - i) G f‖ := + B.norm_iteratedFDeriv_le_of_bilinear hF hG f (by simp) + _ ≤ ‖B‖ * ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * A * D := by + apply mul_le_mul_of_nonneg_left _ (norm_nonneg B) + apply Finset.sum_le_sum + intro i hi + have hi' : i ≤ n := Nat.le_of_lt_succ (Finset.mem_range.mp hi) + gcongr + · exact hFb f hf i (hi'.trans hn) + · exact hGb f hf (n - i) ((Nat.sub_le n i).trans hn) + _ = ‖B‖ * ((2 : ℝ) ^ n * A * D) := by + rw [← Finset.sum_mul, ← Finset.sum_mul, hsum] + _ = (‖B‖ * A * D) * (2 : ℝ) ^ n := by ring + _ ≤ (‖B‖ * A * D) * 4 := mul_le_mul_of_nonneg_left hp (by positivity) + _ = 4 * ‖B‖ * A * D := by ring + +/-- All derivatives of order at most two are uniformly bounded on a homogeneous-space ball. +The proof uses the polynomial's actual bounded bilinear operations. -/ +theorem exists_homogeneousOddPower_two_jet_bound (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : (HomogeneousY a k), ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → + ‖iteratedFDeriv ℝ n (homogeneousOddPower a k ha ha1 hk m) f‖ ≤ C := by + obtain ⟨J, hJ, hJb⟩ := homogeneous_linear_two_jet_bound (ContinuousLinearMap.id ℝ (HomogeneousY a k)) R hR + obtain ⟨D, hD, hDb⟩ := homogeneous_linear_two_jet_bound (homogeneousConjugation a k ha ha1 hk) R hR + induction m with + | zero => + exact ⟨J, hJ, hJb⟩ + | succ m ih => + obtain ⟨A, hA, hAb⟩ := ih + let B := homogeneousRealProduct a k ha ha1 hk + let F : (HomogeneousY a k) → (HomogeneousY a k) := fun f => + B (homogeneousOddPower a k ha ha1 hk m f) ((homogeneousConjugation a k ha ha1 hk) f) + have hF : ContDiff ℝ ⊤ F := + (B.contDiff.comp (contDiff_homogeneousOddPower a k ha ha1 hk m)).clm_apply (homogeneousConjugation a k ha ha1 hk).contDiff + obtain ⟨C, hC, hCb⟩ := homogeneous_bilinear_two_jet_bound B (homogeneousOddPower a k ha ha1 hk m) + (homogeneousConjugation a k ha ha1 hk) (contDiff_homogeneousOddPower a k ha ha1 hk m) (homogeneousConjugation a k ha ha1 hk).contDiff + R A D hA hD hAb hDb + obtain ⟨C', hC', hC'b⟩ := homogeneous_bilinear_two_jet_bound B F (fun f => f) hF contDiff_id + R C J hC hJ hCb hJb + exact ⟨C', hC', hC'b⟩ + +/-- The real Fréchet derivative of the homogeneous odd-power map is uniformly Lipschitz on balls. -/ +theorem exists_homogeneousOddPower_derivative_lipschitz (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f g : (HomogeneousY a k), ‖f‖ ≤ R → ‖g‖ ≤ R → + ‖fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) f - fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) g‖ ≤ + C * ‖f - g‖ := by + obtain ⟨C, hC, hCb⟩ := exists_homogeneousOddPower_two_jet_bound a k ha ha1 hk m R hR + have hdiff : Differentiable ℝ (fderiv ℝ (homogeneousOddPower a k ha ha1 hk m)) := + (contDiff_infty_iff_fderiv.mp ((contDiff_homogeneousOddPower a k ha ha1 hk m).of_le + (by simp))).2.differentiable (by simp) + refine ⟨C, hC, ?_⟩ + intro f g hf hg + apply (convex_closedBall (0 : (HomogeneousY a k)) R).norm_image_sub_le_of_norm_fderiv_le + (fun x hx => hdiff x) + · intro x hx + rw [← norm_iteratedFDeriv_one, norm_iteratedFDeriv_fderiv] + exact hCb x (by simpa using hx) 2 le_rfl + · simpa using hg + · simpa using hf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeConjugation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeConjugation.lean new file mode 100644 index 0000000000000000000000000000000000000000..33fa1bab22726ee8883149eb9fd66ed824ffbac7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeConjugation.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousTopCommutator +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousConjugation + +namespace OAI + +/-! # Physical Cartesian derivatives commute with complex conjugation -/ + +open MeasureTheory LineDeriv +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousPhysicalSchwartzStar (f : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + SchwartzMap.postcompCLM (Complex.conjCLE : ℂ →L[ℝ] ℂ) f + +@[simp] theorem homogeneousPhysicalSchwartzStar_apply (f : 𝓢(E, ℂ)) (x : E) : + homogeneousPhysicalSchwartzStar f x = star (f x) := rfl + +theorem homogeneousConjugation_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : 𝓢(E, ℂ)) : + homogeneousConjugation a k ha ha1 hk (homogeneousSchwartzEmbedding a k ha ha1 hk f) = + homogeneousSchwartzEmbedding a k ha ha1 hk (homogeneousPhysicalSchwartzStar f) := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + apply DFunLike.ext + intro x + rw [homogeneousConjugation_physical, homogeneousPhysicalCLM_Schwartz, + homogeneousPhysicalCLM_Schwartz] + rfl + +theorem homogeneousOrderedDerivative_star (N : ℕ) (j : Fin N → Fin 12) (f : 𝓢(E, ℂ)) : + homogeneousOrderedDerivative N j (homogeneousPhysicalSchwartzStar f) = + homogeneousPhysicalSchwartzStar (homogeneousOrderedDerivative N j f) := by + apply SchwartzMap.ext + intro x + change (∂^{fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i)} + (homogeneousPhysicalSchwartzStar f)) x = + star ((∂^{fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i)} f) x) + rw [SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv, + SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv] + have h := Complex.conjCLE.iteratedFDeriv_comp_left (f := (f : E → ℂ)) (x := x) (i := N) + exact congrArg (fun L => L (fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i))) h + +private theorem homogeneousPhysicalSchwartzStar_toLp (f : 𝓢(E, ℂ)) : + (homogeneousPhysicalSchwartzStar f).toLp 2 volume = star (f.toLp 2 volume) := by + apply Lp.ext + filter_upwards [SchwartzMap.coeFn_toLp (homogeneousPhysicalSchwartzStar f) 2 volume, + SchwartzMap.coeFn_toLp f 2 volume, Lp.coeFn_star (f.toLp 2 volume)] with x hout hf hstar + rw [hout, hstar, Pi.star_apply, hf, homogeneousPhysicalSchwartzStar_apply] + +theorem homogeneousPhysicalDerivative_conjugation (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (u : HomogeneousY a N) : + homogeneousPhysicalDerivative a N ha ha1 hk j (homogeneousConjugation a N ha ha1 hk u) = + star (homogeneousPhysicalDerivative a N ha ha1 hk j u) := by + have hstar : Continuous (star : Lp ℂ 2 (volume : Measure E) → Lp ℂ 2 volume) := by + let A := (Complex.conjCLE : ℂ →L[ℝ] ℂ).compLpL 2 (volume : Measure E) + have he : (star : Lp ℂ 2 (volume : Measure E) → Lp ℂ 2 volume) = A := by + funext f + apply Lp.ext + filter_upwards [Lp.coeFn_star f, + (Complex.conjCLE : ℂ →L[ℝ] ℂ).coeFn_compLpL f] with x hs ha + exact hs.trans ha.symm + rw [he] + exact A.continuous + let D := homogeneousPhysicalDerivative a N ha ha1 hk j + let C := homogeneousConjugation a N ha ha1 hk + have h := (homogeneousSchwartzEmbedding_dense a N ha ha1 hk).equalizer + (D.continuous.comp C.continuous) (hstar.comp D.continuous) (by + funext f + change homogeneousPhysicalDerivative a N ha ha1 hk j + (homogeneousConjugation a N ha ha1 hk (homogeneousSchwartzEmbedding a N ha ha1 hk f)) = + star (homogeneousPhysicalDerivative a N ha ha1 hk j + (homogeneousSchwartzEmbedding a N ha ha1 hk f)) + rw [homogeneousConjugation_Schwartz, homogeneousPhysicalDerivative_Schwartz, + homogeneousPhysicalDerivative_Schwartz] + change (homogeneousOrderedDerivative N j (homogeneousPhysicalSchwartzStar f)).toLp 2 volume = + star ((homogeneousOrderedDerivative N j f).toLp 2 volume) + rw [homogeneousOrderedDerivative_star, homogeneousPhysicalSchwartzStar_toLp]) + exact congrFun h u + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..da19a7521e723176942573944f66ec73dd0ffa01 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeEnergy.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDerivative + +namespace OAI + +/-! # The completed-space energy of the ordered derivative tensor -/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousPhysicalDerivative_energy (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (u : HomogeneousY a N) : + (∑ j : Fin N → Fin 12, ‖homogeneousPhysicalDerivative a N ha ha1 hk j u‖ ^ 2) = + ‖homogeneousHighEnergy a N ha1 hk u‖ ^ 2 := by + have he : (fun v : HomogeneousY a N => + ∑ j : Fin N → Fin 12, ‖homogeneousPhysicalDerivative a N ha ha1 hk j v‖ ^ 2) = + (fun v => ‖homogeneousHighEnergy a N ha1 hk v‖ ^ 2) := + (homogeneousSchwartzEmbedding_dense a N ha ha1 hk).equalizer + (by fun_prop) (by fun_prop) (by + funext f + simp only [Function.comp_apply, homogeneousPhysicalDerivative_Schwartz, + homogeneousOrderedDerivativeL2_norm_sq] + rw [homogeneousOrderedDerivative_energy] + exact (homogeneousHighEnergy_Schwartz_norm_sq a N ha ha1 hk + (radianFourierKernel f)).symm) + exact congrFun he u + +theorem homogeneousPhysicalDerivative_inner (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (u v : HomogeneousY a N) : + (∑ j : Fin N → Fin 12, inner ℝ + (homogeneousPhysicalDerivative a N ha ha1 hk j u) + (homogeneousPhysicalDerivative a N ha ha1 hk j v)) = + inner ℝ (homogeneousHighEnergy a N ha1 hk u) + (homogeneousHighEnergy a N ha1 hk v) := by + have h := homogeneousPhysicalDerivative_energy a N ha ha1 hk (u + v) + simp only [map_add, norm_add_sq_real, Finset.sum_add_distrib, + ← Finset.mul_sum, homogeneousPhysicalDerivative_energy] at h + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..d7f3a648dd95f21c1de0183805435bb937cd72a4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDerivativeTesting.lean @@ -0,0 +1,136 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDerivative +import Mathlib.Analysis.Distribution.SchwartzSpace.Deriv +import Mathlib.Data.Fin.Rev + +namespace OAI + +/-! # Schwartz testing of the completed physical derivatives + +The bounded L² derivative on Y is the weak derivative of its faithful +physical representative. The test derivative is written in reverse order, +as required by transposition, and the sign is exactly (-1)^N. +-/ + +open MeasureTheory LineDeriv +open scoped SchwartzMap LineDeriv ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem cZero_point_norm_le (f : C₀(E, ℂ)) (x : E) : ‖f x‖ ≤ ‖f‖ := + (BoundedContinuousFunction.norm_coe_le_norm f.toBCF x).trans_eq + ZeroAtInftyContinuousMap.norm_toBCF_eq_norm + +private theorem integrable_cZero_test (ψ : 𝓢(E, ℂ)) (f : C₀(E, ℂ)) : + Integrable (fun x : E => inner ℝ (ψ x) (f x)) := by + apply (ψ.integrable.norm.const_mul ‖f‖).mono' + (ψ.continuous.aestronglyMeasurable.inner f.continuous.aestronglyMeasurable) + filter_upwards [] with x + calc + ‖inner ℝ (ψ x) (f x)‖ ≤ ‖ψ x‖ * ‖f x‖ := norm_inner_le_norm _ _ + _ ≤ ‖f‖ * ‖ψ x‖ := by + simpa only [mul_comm] using + mul_le_mul_of_nonneg_left (cZero_point_norm_le f x) (norm_nonneg (ψ x)) + +/-- A Schwartz test acts continuously on the physical C0 realization. -/ +noncomputable def physicalSchwartzTest (ψ : 𝓢(E, ℂ)) : C₀(E, ℂ) →L[ℝ] ℝ := by + let L : C₀(E, ℂ) →ₗ[ℝ] ℝ := + { toFun := fun f => ∫ x : E, inner ℝ (ψ x) (f x) + map_add' := by + intro f g + simp only [ZeroAtInftyContinuousMap.add_apply, inner_add_right] + exact integral_add (integrable_cZero_test ψ f) (integrable_cZero_test ψ g) + map_smul' := by + intro c f + simp only [ZeroAtInftyContinuousMap.smul_apply, inner_smul_right, smul_eq_mul] + exact integral_const_mul _ _ } + refine L.mkContinuous (∫ x : E, ‖ψ x‖) ?_ + intro f + apply (norm_integral_le_integral_norm (fun x : E => inner ℝ (ψ x) (f x))).trans + calc + (∫ x : E, ‖inner ℝ (ψ x) (f x)‖) ≤ ∫ x : E, ‖f‖ * ‖ψ x‖ := by + apply integral_mono (integrable_cZero_test ψ f).norm (ψ.integrable.norm.const_mul ‖f‖) + intro x + exact (norm_inner_le_norm _ _).trans + (by simpa only [mul_comm] using + mul_le_mul_of_nonneg_left (cZero_point_norm_le f x) (norm_nonneg (ψ x))) + _ = (∫ x : E, ‖ψ x‖) * ‖f‖ := by rw [integral_const_mul, mul_comm] + +@[simp] theorem physicalSchwartzTest_apply (ψ : 𝓢(E, ℂ)) (f : C₀(E, ℂ)) : + physicalSchwartzTest ψ f = ∫ x : E, inner ℝ (ψ x) (f x) := rfl + +/-- The transposed ordered derivative has the reversed list of directions. -/ +theorem schwartz_iteratedDerivative_testing (N : ℕ) (v : Fin N → E) + (ψ f : 𝓢(E, ℂ)) : + (∫ x : E, inner ℝ (ψ x) ((∂^{v} f) x)) = + (-1 : ℝ) ^ N * ∫ x : E, inner ℝ ((∂^{fun i => v (Fin.rev i)} ψ) x) (f x) := by + induction N generalizing ψ f with + | zero => simp + | succ N ih => + rw [iteratedLineDerivOp_succ_left] + have hibp := SchwartzMap.integral_bilinear_lineDerivOp_right_eq_neg_left + (μ := (volume : Measure E)) ψ (∂^{Fin.tail v} f) (innerSL ℝ) (v 0) + change (∫ x : E, inner ℝ (ψ x) ((∂_{v 0} (∂^{Fin.tail v} f)) x)) = + -(∫ x : E, inner ℝ ((∂_{v 0} ψ) x) ((∂^{Fin.tail v} f) x)) at hibp + rw [hibp] + rw [ih (Fin.tail v) (∂_{v 0} ψ) f] + have ht : (∂^{fun i => v (Fin.rev i)} ψ) = + ∂^{fun i => Fin.tail v (Fin.rev i)} (∂_{v 0} ψ) := by + rw [iteratedLineDerivOp_succ_right] + simp only [Fin.rev_last] + congr 1 + funext i + simp only [Fin.init_def, Fin.tail_def, Fin.rev_castSucc] + rw [ht, pow_succ] + ring + +/-- Completed ordered derivatives satisfy the exact weak integration-by-parts +identity against every Schwartz test. -/ +theorem homogeneousPhysicalDerivative_testing (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (j : Fin N → Fin 12) (ψ : 𝓢(E, ℂ)) (u : HomogeneousY a N) : + inner ℝ (ψ.toLp 2 volume) (homogeneousPhysicalDerivative a N ha ha1 hk j u) = + (-1 : ℝ) ^ N * ∫ x : E, + inner ℝ ((∂^{fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j (Fin.rev i))} ψ) x) + (homogeneousPhysicalCLM a N ha ha1 hk u x) := by + let test := ∂^{fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j (Fin.rev i))} ψ + let L : HomogeneousY a N →L[ℝ] ℝ := + (innerSL ℝ (ψ.toLp 2 volume)).comp + ((homogeneousPhysicalDerivative a N ha ha1 hk j).restrictScalars ℝ) + let R : HomogeneousY a N →L[ℝ] ℝ := + ((-1 : ℝ) ^ N) • (physicalSchwartzTest test).comp + ((homogeneousPhysicalCLM a N ha ha1 hk).restrictScalars ℝ) + have hLR : L = R := by + apply DFunLike.coe_injective + apply (homogeneousSchwartzEmbedding_dense a N ha ha1 hk).equalizer L.continuous R.continuous + funext f + change L (homogeneousSchwartzEmbedding a N ha ha1 hk f) = + R (homogeneousSchwartzEmbedding a N ha ha1 hk f) + have hleft : L (homogeneousSchwartzEmbedding a N ha ha1 hk f) = + ∫ x : E, inner ℝ (ψ x) (homogeneousOrderedDerivative N j f x) := by + change inner ℝ (ψ.toLp 2 volume) + (homogeneousPhysicalDerivative a N ha ha1 hk j + (homogeneousSchwartzEmbedding a N ha ha1 hk f)) = _ + rw [homogeneousPhysicalDerivative_Schwartz, L2.inner_def] + apply integral_congr_ae + filter_upwards [SchwartzMap.coeFn_toLp ψ 2 volume, + SchwartzMap.coeFn_toLp (homogeneousOrderedDerivative N j f) 2 volume] with x hx hy + change inner ℝ (ψ.toLp 2 volume x) + ((homogeneousOrderedDerivative N j f).toLp 2 volume x) = _ + rw [hx, hy] + rw [hleft] + change (∫ x : E, inner ℝ (ψ x) + ((∂^{fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i)} f) x)) = _ + rw [schwartz_iteratedDerivative_testing] + change (-1 : ℝ) ^ N * (∫ x : E, inner ℝ (test x) (f x)) = + (-1 : ℝ) ^ N * ∫ x : E, inner ℝ (test x) + (homogeneousPhysicalCLM a N ha ha1 hk + (homogeneousSchwartzEmbedding a N ha ha1 hk f) x) + simp only [homogeneousPhysicalCLM_Schwartz] + have h := congrArg (fun T : HomogeneousY a N →L[ℝ] ℝ => T u) hLR + exact h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDiagonalCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDiagonalCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..8402baee76fae80ed1d90619bc7671fbc046efb8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDiagonalCoordinates.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalRealCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRealCoordinateEvolution + +namespace OAI + +/-! # Diagonal real coordinates of the actual whole-space evolution -/ + +open Set +open scoped NNReal + +namespace DefocusingNLS + +attribute [local irreducible] diagonalRealCoordinates homogeneousStableCoordinates + homogeneousLinearizedStep homogeneousComplexLinearizedStep + +theorem homogeneousDiagonalCoordinates_inverse (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + [FiniteDimensional ℂ P.range] + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 hk m q t) P) + (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) P hcomm t = + NormedSpace.exp ((t : ℝ) • G)) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : P.range), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) (T : ℝ≥0) : + HasContractingCoordinateInverse + (diagonalRealCoordinates (homogeneousStableCoordinates a k ha ha1 hk P) G hspan hspec) + (homogeneousLinearizedStep a b k ha ha1 hk m q T) := by + have hπ (u : HomogeneousY a k) : + homogeneousStableCoordinates a k ha ha1 hk P + (homogeneousLinearizedStep a b k ha ha1 hk m q T u) = + NormedSpace.exp ((T : ℝ) • G) (homogeneousStableCoordinates a k ha ha1 hk P u) := by + exact (homogeneousStableCoordinates_step a b k ha ha1 hk m q P hcomm T u).trans + (congrArg (fun A : P.range →L[ℂ] P.range => + A (homogeneousStableCoordinates a k ha ha1 hk P u)) (hG T)) + exact diagonalRealCoordinates_has_inverse + (homogeneousStableCoordinates a k ha ha1 hk P) G hspan hspec + (homogeneousLinearizedStep a b k ha ha1 hk m q T) T T.2 hπ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilation.lean new file mode 100644 index 0000000000000000000000000000000000000000..6f4b8192f83b8c5fb9ad9aabfb92caac2e16298b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilation.lean @@ -0,0 +1,149 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreePhysical + +namespace OAI + +/-! # Exact homogeneous scaling for the dyadic profile-membership estimate -/ + +open MeasureTheory +open scoped SchwartzMap ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFourierDilation (a R : ℝ) (hR : 0 < R) : + 𝓢(E, ℂ) →L[ℂ] 𝓢(E, ℂ) := + ((R ^ (12 - 2 * a) : ℝ) : ℂ) • + SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 R hR.ne') • ContinuousLinearEquiv.refl ℝ E) + +@[simp] theorem homogeneousFourierDilation_apply (a R : ℝ) (hR : 0 < R) + (ψ : 𝓢(E, ℂ)) (ξ : E) : + homogeneousFourierDilation a R hR ψ ξ = (R ^ (12 - 2 * a) : ℝ) * ψ (R • ξ) := by + simp [homogeneousFourierDilation] + +theorem homogeneousFourierDilation_energy (a R s : ℝ) (hR : 0 < R) (ψ : 𝓢(E, ℂ)) : + homogeneousFrequencyEnergy s (homogeneousFourierDilation a R hR ψ) = + R ^ (12 - 4 * a - 2 * s) * homogeneousFrequencyEnergy s ψ := by + have he : (homogeneousFourierDilation a R hR ψ : E → ℂ) = + fun ξ => ((R ^ (12 - 2 * a) : ℝ) : ℂ) * ψ (R • ξ) := by + funext ξ + exact homogeneousFourierDilation_apply a R hR ψ ξ + rw [he] + have hn (ξ : E) : ‖((R ^ (12 - 2 * a) : ℝ) : ℂ) * ψ (R • ξ)‖ ^ 2 = + (R ^ (12 - 2 * a)) ^ 2 * ‖ψ (R • ξ)‖ ^ 2 := by + simp only [norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (Real.rpow_nonneg hR.le _), mul_pow] + have hi (ξ : E) : + ‖ξ‖ ^ (2 * s) * ‖((R ^ (12 - 2 * a) : ℝ) : ℂ) * ψ (R • ξ)‖ ^ 2 = + (R ^ (12 - 2 * a)) ^ 2 * (‖ξ‖ ^ (2 * s) * ‖ψ (R • ξ)‖ ^ 2) := by + rw [hn] + ring + change (∫ ξ, ‖ξ‖ ^ (2 * s) * ‖((R ^ (12 - 2 * a) : ℝ) : ℂ) * ψ (R • ξ)‖ ^ 2) = _ + simp_rw [hi] + rw [integral_const_mul] + change (R ^ (12 - 2 * a)) ^ 2 * homogeneousFrequencyEnergy s (fun ξ => ψ (R • ξ)) = _ + rw [homogeneousFrequencyEnergy_dilation s R hR, ← Real.rpow_natCast, + ← Real.rpow_mul hR.le, ← mul_assoc, ← Real.rpow_add hR] + congr 2 + norm_num + ring + +theorem homogeneousFourierDilation_norm_le (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 1 ≤ R) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk + (homogeneousFourierDilation a R (by linarith) ψ)‖ ≤ + R ^ (-a) * ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ := by + have hRp : 0 < R := by linarith + have hhigh : R ^ (12 - 4 * a - 2 * k) ≤ R ^ (-2 * a) := + Real.rpow_le_rpow_of_exponent_le hR (by linarith) + have hlow : 12 - 4 * a - 2 * (6 - a) = -2 * a := by ring + have hsq : (R ^ (-a)) ^ 2 = R ^ (-2 * a) := by + rw [← Real.rpow_natCast, ← Real.rpow_mul hRp.le] + congr 1 + norm_num + ring + have hsquare : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk + (homogeneousFourierDilation a R hRp ψ)‖ ^ 2 ≤ + (R ^ (-a) * ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖) ^ 2 := by + rw [homogeneousFrequencyEmbedding_norm_sq, homogeneousFourierDilation_energy, + homogeneousFourierDilation_energy, hlow] + conv_rhs => rw [mul_pow, hsq, homogeneousFrequencyEmbedding_norm_sq] + have hp : 0 ≤ homogeneousFrequencyEnergy k ψ := integral_nonneg (fun _ => by positivity) + have hc : 0 ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ := by positivity + calc + _ ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (R ^ (-2 * a) * homogeneousFrequencyEnergy (6 - a) ψ + + R ^ (-2 * a) * homogeneousFrequencyEnergy k ψ) := + mul_le_mul_of_nonneg_left + (add_le_add le_rfl (mul_le_mul_of_nonneg_right hhigh hp)) hc + _ = _ := by ring + exact (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.rpow_nonneg hRp.le _) (norm_nonneg _))).mp hsquare + +noncomputable def homogeneousDilation (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 1 ≤ R) : + HomogeneousY a k →L[ℂ] HomogeneousY a k := + ((homogeneousFrequencyEmbedding a k ha ha1 hk).comp + (homogeneousFourierDilation a R (by linarith))).toLinearMap.extendOfNorm + (homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap + +theorem homogeneousDilation_on_Schwartz (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 1 ≤ R) (ψ : 𝓢(E, ℂ)) : + homogeneousDilation a k R ha ha1 hk hR (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) = + homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousFourierDilation a R (by linarith) ψ) := + LinearMap.extendOfNorm_eq (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + ⟨R ^ (-a), homogeneousFourierDilation_norm_le a k R ha ha1 hk hR⟩ ψ + +theorem homogeneousDilation_norm_le (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 1 ≤ R) (f : HomogeneousY a k) : + ‖homogeneousDilation a k R ha ha1 hk hR f‖ ≤ R ^ (-a) * ‖f‖ := + LinearMap.norm_extendOfNorm_apply_le (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + (R ^ (-a)) (homogeneousFourierDilation_norm_le a k R ha ha1 hk hR) f + +theorem inverseRadianFourier_homogeneousDilation (a R : ℝ) (hR : 0 < R) + (ψ : 𝓢(E, ℂ)) (y : E) : + inverseRadianFourier (homogeneousFourierDilation a R hR ψ) y = + (R ^ (-2 * a) : ℝ) * inverseRadianFourier ψ (R⁻¹ • y) := by + have he : (homogeneousFourierDilation a R hR ψ : E → ℂ) = + ((R ^ (12 - 2 * a) : ℝ) : ℂ) • (fun ξ => ψ (R • ξ)) := by + funext ξ + exact homogeneousFourierDilation_apply a R hR ψ ξ + rw [he, inverseRadianFourier_smul] + change ((R ^ (12 - 2 * a) : ℝ) : ℂ) * inverseRadianFourier (fun ξ => ψ (R • ξ)) y = _ + rw [inverseRadianFourier_dilation R hR, ← mul_assoc, ← Complex.ofReal_mul] + have hc : R ^ (12 - 2 * a) * (R⁻¹) ^ (12 : ℕ) = R ^ (-2 * a) := by + rw [inv_pow, ← Real.rpow_natCast, ← Real.rpow_neg hR.le, ← Real.rpow_add hR] + congr 1 + norm_num + ring + rw [hc] + +/-- The operator is exactly the physical scaling `R^(-2a) f(y/R)`. -/ +theorem homogeneousDilation_physical (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 1 ≤ R) + (f : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousDilation a k R ha ha1 hk hR f) y = + (R ^ (-2 * a) : ℝ) * homogeneousPhysicalCLM a k ha ha1 hk f (R⁻¹ • y) := by + have hev (z : E) : Continuous (fun h : C₀(E, ℂ) => h z) := + (BoundedContinuousFunction.evalCLM ℂ z).continuous.comp + ZeroAtInftyContinuousMap.isometry_toBCF.continuous + have hl := ((hev y).comp (homogeneousPhysicalCLM a k ha ha1 hk).continuous).comp + (homogeneousDilation a k R ha ha1 hk hR).continuous + have hr : Continuous (fun f : HomogeneousY a k => + ((R ^ (-2 * a) : ℝ) : ℂ) * homogeneousPhysicalCLM a k ha ha1 hk f (R⁻¹ • y)) := + continuous_const.mul ((hev (R⁻¹ • y)).comp (homogeneousPhysicalCLM a k ha ha1 hk).continuous) + have he := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer hl hr (by + funext ψ + change homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousDilation a k R ha ha1 hk hR (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)) y = + ((R ^ (-2 * a) : ℝ) : ℂ) * homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) (R⁻¹ • y) + rw [homogeneousDilation_on_Schwartz, homogeneousPhysicalCLM_rawSchwartz, + homogeneousPhysicalCLM_rawSchwartz] + exact inverseRadianFourier_homogeneousDilation a R (by linarith) ψ y) + exact congrFun he f + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilationContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilationContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..896b76150328e5aa32ac06927b1d55bf1fd093f8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilationContinuity.lean @@ -0,0 +1,171 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDilation +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Strong continuity of the physical homogeneous dilation -/ + +open Filter MeasureTheory Topology +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {R : ℝ // 1 ≤ R} + +theorem homogeneousDilation_norm_le_one (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (R : Radius) (f : HomogeneousY a k) : + ‖homogeneousDilation a k R.1 ha ha1 hk R.2 f‖ ≤ ‖f‖ := by + exact (homogeneousDilation_norm_le a k R.1 ha ha1 hk R.2 f).trans + (mul_le_of_le_one_left (norm_nonneg _) (Real.rpow_le_one_of_one_le_of_nonpos R.2 (by linarith))) + +private theorem dilation_polynomial_bound (ψ : 𝓢(E, ℂ)) (N : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (R : Radius) (ξ : E), + (1 + ‖ξ‖) ^ N * ‖ψ (R.1 • ξ)‖ ≤ C := by + let C := 2 ^ N * (Finset.Iic (N, 0)).sup + (fun m => SchwartzMap.seminorm ℝ m.1 m.2) ψ + refine ⟨|C|, abs_nonneg C, fun R ξ => ?_⟩ + have hnorm : ‖ξ‖ ≤ ‖R.1 • ξ‖ := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (lt_of_lt_of_le zero_lt_one R.2)] + nlinarith [norm_nonneg ξ, R.2] + have h := SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℝ) + (m := (N, 0)) le_rfl le_rfl ψ (R.1 • ξ) + have hb : (1 + ‖R.1 • ξ‖) ^ N * ‖ψ (R.1 • ξ)‖ ≤ C := by + simpa only [norm_iteratedFDeriv_zero] using h + exact (mul_le_mul_of_nonneg_right + (pow_le_pow_left₀ (by positivity) (by linarith : 1 + ‖ξ‖ ≤ 1 + ‖R.1 • ξ‖) N) + (norm_nonneg _)).trans (hb.trans (le_abs_self C)) + +private theorem continuous_dilation_schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + Continuous (fun R : Radius => homogeneousDilation a k R.1 ha ha1 hk R.2 + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)) := by + let μ := homogeneousFourierMeasure a k + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + let N := μ.integrablePower + obtain ⟨C, hC, hb⟩ := dilation_polynomial_bound ψ N + have hc : Continuous (fun R : Radius => R.1 ^ (12 - 2 * a)) := + continuous_subtype_val.rpow_const + (fun R => Or.inl (lt_of_lt_of_le zero_lt_one R.2).ne') + rw [continuous_iff_continuousAt] + intro R₀ + let M := R₀.1 ^ (12 - 2 * a) + 1 + let D := 2 * M * C + have hnear : ∀ᶠ R : Radius in 𝓝 R₀, R.1 ^ (12 - 2 * a) ≤ M := + (hc.continuousAt.eventually (eventually_lt_nhds (by dsimp [M]; linarith))).mono + (fun _ h => h.le) + have hR₀ : R₀.1 ^ (12 - 2 * a) ≤ M := by dsimp [M]; linarith + let Ψ := fun R : Radius => homogeneousFourierDilation a R.1 + (lt_of_lt_of_le zero_lt_one R.2) ψ + have hpoly (R : Radius) (hR : R.1 ^ (12 - 2 * a) ≤ M) (ξ : E) : + (1 + ‖ξ‖) ^ N * ‖Ψ R ξ‖ ≤ M * C := by + change (1 + ‖ξ‖) ^ N * ‖homogeneousFourierDilation a R.1 _ ψ ξ‖ ≤ _ + rw [homogeneousFourierDilation_apply, norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (Real.rpow_nonneg (by linarith [R.2]) _)] + calc + _ = R.1 ^ (12 - 2 * a) * ((1 + ‖ξ‖) ^ N * ‖ψ (R.1 • ξ)‖) := by ring + _ ≤ R.1 ^ (12 - 2 * a) * C := mul_le_mul_of_nonneg_left (hb R ξ) + (Real.rpow_nonneg (by linarith [R.2]) _) + _ ≤ M * C := mul_le_mul_of_nonneg_right hR hC + have hdom (R : Radius) (hR : R.1 ^ (12 - 2 * a) ≤ M) (ξ : E) : + ‖Ψ R ξ - Ψ R₀ ξ‖ ^ 2 ≤ D ^ 2 * (1 + ‖ξ‖) ^ (-(N : ℝ)) := by + let P := (1 + ‖ξ‖) ^ N + have hP : 1 ≤ P := one_le_pow₀ (by linarith [norm_nonneg ξ]) + have hPpos : 0 < P := lt_of_lt_of_le zero_lt_one hP + have hdiff : P * ‖Ψ R ξ - Ψ R₀ ξ‖ ≤ D := by + calc + _ ≤ P * (‖Ψ R ξ‖ + ‖Ψ R₀ ξ‖) := + mul_le_mul_of_nonneg_left (norm_sub_le _ _) hPpos.le + _ ≤ D := by dsimp [P, D]; nlinarith [hpoly R hR ξ, hpoly R₀ hR₀ ξ] + have hs := pow_le_pow_left₀ (mul_nonneg hPpos.le (norm_nonneg _)) hdiff 2 + have hp : P ≤ P ^ 2 := by nlinarith + have hs' : P * ‖Ψ R ξ - Ψ R₀ ξ‖ ^ 2 ≤ D ^ 2 := by nlinarith [sq_nonneg ‖Ψ R ξ - Ψ R₀ ξ‖] + rw [Real.rpow_neg (by positivity), Real.rpow_natCast] + exact (le_mul_inv_iff₀ hPpos).mpr (by simpa only [mul_comm] using hs') + have hlim := tendsto_integral_filter_of_dominated_convergence + (μ := μ) (fun ξ : E => D ^ 2 * (1 + ‖ξ‖) ^ (-(N : ℝ))) + (F := fun R ξ => ‖Ψ R ξ - Ψ R₀ ξ‖ ^ 2) (f := fun _ => (0 : ℝ)) + (Eventually.of_forall (fun R => ((Ψ R).continuous.sub (Ψ R₀).continuous).norm.pow 2 |>.aestronglyMeasurable)) + (hnear.mono (fun R hR => ae_of_all μ (fun ξ => by + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] + exact hdom R hR ξ))) + ((Measure.integrable_pow_neg_integrablePower μ).const_mul (D ^ 2)) + (ae_of_all μ (fun ξ => by + have hcont : Continuous (fun R : Radius => Ψ R ξ) := by + simp only [Ψ, homogeneousFourierDilation_apply] + exact (Complex.continuous_ofReal.comp hc).mul + (ψ.continuous.comp (continuous_subtype_val.smul continuous_const)) + have ht : Tendsto (fun R : Radius => ‖Ψ R ξ - Ψ R₀ ξ‖ ^ 2) (𝓝 R₀) + (𝓝 (‖Ψ R₀ ξ - Ψ R₀ ξ‖ ^ 2)) := + ((hcont.sub (continuous_const (y := Ψ R₀ ξ))).norm.fun_pow 2).tendsto R₀ + simpa only [sub_self, norm_zero, + zero_pow (by norm_num : (2 : ℕ) ≠ 0)] using ht)) + have hsq : Tendsto (fun R : Radius => ‖homogeneousDilation a k R.1 ha ha1 hk R.2 + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) - + homogeneousDilation a k R₀.1 ha ha1 hk R₀.2 + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)‖ ^ 2) (𝓝 R₀) (𝓝 0) := by + simpa only [homogeneousDilation_on_Schwartz, ← map_sub, + homogeneousFrequencyEmbedding_norm_sq_integral, sub_apply, integral_zero, Ψ] using hlim + apply tendsto_iff_norm_sub_tendsto_zero.mpr + simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using + Real.continuous_sqrt.continuousAt.tendsto.comp hsq + +theorem continuous_homogeneousDilation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + Continuous (fun R : Radius => homogeneousDilation a k R.1 ha ha1 hk R.2 f) := by + rw [continuous_iff_continuousAt] + intro R₀ + apply Metric.tendsto_nhds.mpr + intro ε hε + obtain ⟨ψ, hψ⟩ := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).exists_dist_lt + f (by positivity : 0 < ε / 4) + let g := homogeneousFrequencyEmbedding a k ha ha1 hk ψ + have hg : ∀ᶠ R : Radius in 𝓝 R₀, + dist (homogeneousDilation a k R.1 ha ha1 hk R.2 g) + (homogeneousDilation a k R₀.1 ha ha1 hk R₀.2 g) < ε / 4 := + (continuous_dilation_schwartz a k ha ha1 hk ψ).continuousAt.eventually + (Metric.ball_mem_nhds _ (by positivity)) + filter_upwards [hg] with R hR + have hsmall : ‖f - g‖ < ε / 4 := by simpa only [dist_eq_norm, g] using hψ + have h1 := homogeneousDilation_norm_le_one a k ha ha1 hk R (f - g) + have h2 := homogeneousDilation_norm_le_one a k ha ha1 hk R₀ (f - g) + have ht := dist_triangle (homogeneousDilation a k R.1 ha ha1 hk R.2 f) + (homogeneousDilation a k R.1 ha ha1 hk R.2 g) + (homogeneousDilation a k R₀.1 ha ha1 hk R₀.2 f) + have ht' := dist_triangle (homogeneousDilation a k R.1 ha ha1 hk R.2 g) + (homogeneousDilation a k R₀.1 ha ha1 hk R₀.2 g) + (homogeneousDilation a k R₀.1 ha ha1 hk R₀.2 f) + rw [dist_comm (homogeneousDilation a k R₀.1 ha ha1 hk R₀.2 g)] at ht' + simp only [dist_eq_norm, ← map_sub] at * + linarith + +theorem continuous_homogeneousDilation_uncurry (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Continuous (fun p : Radius × HomogeneousY a k => + homogeneousDilation a k p.1.1 ha ha1 hk p.1.2 p.2) := by + rw [continuous_iff_continuousAt] + intro p + apply Metric.tendsto_nhds.mpr + intro ε hε + have hu : ∀ᶠ q : Radius × HomogeneousY a k in 𝓝 p, dist q.2 p.2 < ε / 2 := + continuous_snd.continuousAt.tendsto.eventually (Metric.ball_mem_nhds p.2 (by linarith)) + have hs : ∀ᶠ q : Radius × HomogeneousY a k in 𝓝 p, + dist (homogeneousDilation a k q.1.1 ha ha1 hk q.1.2 p.2) + (homogeneousDilation a k p.1.1 ha ha1 hk p.1.2 p.2) < ε / 2 := + ((continuous_homogeneousDilation a k ha ha1 hk p.2).comp continuous_fst).continuousAt.tendsto.eventually + (Metric.ball_mem_nhds _ (by linarith)) + filter_upwards [hu, hs] with q hqu hqs + have hb := homogeneousDilation_norm_le_one a k ha ha1 hk q.1 (q.2 - p.2) + calc + _ ≤ dist (homogeneousDilation a k q.1.1 ha ha1 hk q.1.2 q.2) + (homogeneousDilation a k q.1.1 ha ha1 hk q.1.2 p.2) + + dist (homogeneousDilation a k q.1.1 ha ha1 hk q.1.2 p.2) + (homogeneousDilation a k p.1.1 ha ha1 hk p.1.2 p.2) := dist_triangle _ _ _ + _ ≤ dist q.2 p.2 + dist (homogeneousDilation a k q.1.1 ha ha1 hk q.1.2 p.2) + (homogeneousDilation a k p.1.1 ha ha1 hk p.1.2 p.2) := by + exact add_le_add (by simpa only [dist_eq_norm, ← map_sub] using hb) le_rfl + _ < ε := by linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilationDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilationDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..dcf62adb443ab457457eec3592666868bca1d6aa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDilationDerivative.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDilationContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDifferentiation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalC2 + +namespace OAI + +/-! # Right differentiation of the physical similarity dilation -/ + +open Filter Set Topology + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousSimilarityDilation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (s : ℝ) : + HomogeneousY a k →L[ℂ] HomogeneousY a k := + homogeneousDilation a k (Real.exp (max s 0 / 2)) ha ha1 hk + (Real.one_le_exp_iff.mpr (by positivity)) + +attribute [local irreducible] homogeneousDilation homogeneousSimilarityDilation + +theorem continuous_homogeneousSimilarityDilation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Continuous (fun p : ℝ × HomogeneousY a k => + homogeneousSimilarityDilation a k ha ha1 hk p.1 p.2) := by + let R : ℝ × HomogeneousY a k → {R : ℝ // 1 ≤ R} := fun p => + ⟨Real.exp (max p.1 0 / 2), Real.one_le_exp_iff.mpr (by positivity)⟩ + have hR : Continuous R := Continuous.subtype_mk (by fun_prop) _ + simpa only [Function.comp_def, R, homogeneousSimilarityDilation] using + (continuous_homogeneousDilation_uncurry a k ha ha1 hk).comp + (hR.prodMk continuous_snd) + +theorem homogeneousSimilarityDilation_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (s : ℝ) (q : HomogeneousY a k) (x : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousSimilarityDilation a k ha ha1 hk s q) x = + (Real.exp (-a * max s 0) : ℝ) * + homogeneousPhysicalCLM a k ha ha1 hk q (Real.exp (-max s 0 / 2) • x) := by + rw [homogeneousSimilarityDilation, homogeneousDilation_physical, ← Real.exp_mul, + ← Real.exp_neg] + rw [show max s 0 / 2 * (-2 * a) = -a * max s 0 by ring, + show -(max s 0 / 2) = -max s 0 / 2 by ring] + +@[simp] theorem homogeneousSimilarityDilation_zero (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (q : HomogeneousY a k) : + homogeneousSimilarityDilation a k ha ha1 hk 0 q = q := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + ext x + rw [homogeneousSimilarityDilation_physical] + simp + +theorem hasDerivWithinAt_homogeneousSimilarityDilation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (q g : HomogeneousY a k) + (hg : ∀ x, homogeneousPhysicalCLM a k ha ha1 hk g x = + -(a : ℂ) * homogeneousPhysicalCLM a k ha ha1 hk q x - + (1 / 2 : ℂ) * fderiv ℝ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) x x) : + HasDerivWithinAt (fun s => homogeneousSimilarityDilation a k ha ha1 hk s q) + g (Ici 0) 0 := by + let Q := fun x : E => homogeneousPhysicalCLM a k ha ha1 hk q x + have hQ : Differentiable ℝ Q := + (contDiff_homogeneousPhysical a k ha ha1 hk q).differentiable (by norm_num) + have hc (u : HomogeneousY a k) : + Continuous (fun s => homogeneousSimilarityDilation a k ha ha1 hk s u) := + (continuous_homogeneousSimilarityDilation a k ha ha1 hk).comp + (continuous_id.prodMk continuous_const) + have hd : ∀ t : ℝ, 0 < t → ∀ x : E, HasDerivAt + (fun s => homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSimilarityDilation a k ha ha1 hk s q) x) + (homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSimilarityDilation a k ha ha1 hk t g) x) t := by + intro t ht x + have hscale := (((hasDerivAt_id t).neg.div_const 2).exp).smul_const x + have hcomp := (hQ (Real.exp (-t / 2) • x)).hasFDerivAt.comp_hasDerivAt t hscale + have hamp := (((hasDerivAt_id t).const_mul (-a)).exp).ofReal_comp + have h := hamp.mul hcomp + have he : (fun s => homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSimilarityDilation a k ha ha1 hk s q) x) =ᶠ[𝓝 t] + (fun s => (Real.exp (-a * s) : ℂ) * Q (Real.exp (-s / 2) • x)) := by + filter_upwards [eventually_gt_nhds ht] with s hs + rw [homogeneousSimilarityDilation_physical, max_eq_left hs.le] + apply HasDerivAt.congr_of_eventuallyEq _ he + convert h using 1 + · funext s + rfl + · rw [homogeneousSimilarityDilation_physical, max_eq_left ht.le, hg] + dsimp only [Q, Function.comp_apply] + simp only [Pi.neg_apply, id_eq, neg_div, neg_mul, one_div, + ContinuousLinearMap.map_smul, Complex.real_smul, Complex.ofReal_mul, + Complex.ofReal_neg, Complex.ofReal_one] + push_cast + ring + have h := hasDerivWithinAt_homogeneous_of_physical_Ici a k ha ha1 hk + (fun s => homogeneousSimilarityDilation a k ha ha1 hk s q) + (fun s => homogeneousSimilarityDilation a k ha ha1 hk s g) + (hc q).continuousOn (hc g) hd 0 le_rfl + simpa only [homogeneousSimilarityDilation_zero] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDoubleCircle.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDoubleCircle.lean new file mode 100644 index 0000000000000000000000000000000000000000..8a9f89b757b7dc2675453520feac6c36e97dd636 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDoubleCircle.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousResolventCircle +import Mathlib.MeasureTheory.Integral.Prod + +namespace OAI + +/-! # Exchanging the two compact contour integrals + +Only centered circles are needed for the time-step spectral projection. +-/ + +open Complex Set MeasureTheory + +namespace DefocusingNLS + +theorem circleIntegral_swap {A : Type*} [NormedAddCommGroup A] + [NormedSpace ℂ A] [CompleteSpace A] {f : ℂ × ℂ → A} {r R : ℝ} + (hr : 0 ≤ r) (hR : 0 ≤ R) + (hf : ContinuousOn f (Metric.sphere 0 r ×ˢ Metric.sphere 0 R)) : + (∮ z in C(0, r), ∮ w in C(0, R), f (z, w)) = + ∮ w in C(0, R), ∮ z in C(0, r), f (z, w) := by + let g : ℝ × ℝ → A := fun p => + (deriv (circleMap 0 r) p.1 * deriv (circleMap 0 R) p.2) • + f (circleMap 0 r p.1, circleMap 0 R p.2) + have hmap : Continuous (fun p : ℝ × ℝ => (circleMap 0 r p.1, circleMap 0 R p.2)) := by + fun_prop + have hg : ContinuousOn g (Icc 0 (2 * Real.pi) ×ˢ Icc 0 (2 * Real.pi)) := by + apply ContinuousOn.smul + · simp only [deriv_circleMap] + fun_prop + · apply hf.comp hmap.continuousOn + intro p _ + exact ⟨circleMap_mem_sphere 0 hr p.1, circleMap_mem_sphere 0 hR p.2⟩ + have hi : IntegrableOn g (Set.uIoc 0 (2 * Real.pi) ×ˢ Set.uIoc 0 (2 * Real.pi)) := by + apply (hg.integrableOn_compact (isCompact_Icc.prod isCompact_Icc)).mono_set + simpa only [Set.uIoc_of_le Real.two_pi_pos.le] using + Set.prod_mono Ioc_subset_Icc_self Ioc_subset_Icc_self + have hswap := MeasureTheory.intervalIntegral_intervalIntegral_swap + (F := fun θ φ => g (θ, φ)) hi + simpa only [circleIntegral, ← intervalIntegral.integral_smul, smul_smul, g, + mul_comm (deriv (circleMap 0 R) _) (deriv (circleMap 0 r) _)] using hswap + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamel.lean new file mode 100644 index 0000000000000000000000000000000000000000..02af30689ebffe45df2dc370af60711085a7ee19 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamel.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeJointContinuity +import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic +import Mathlib.MeasureTheory.Integral.Bochner.Set + +namespace OAI + +/-! # Inhomogeneous evolution on the exact whole-space homogeneous space -/ + +open MeasureTheory Set + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +noncomputable def homogeneousDuhamel (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (t : ℝ) (r : ℝ → HomogeneousY a k) : HomogeneousY a k := + ∫ τ in (0 : ℝ)..t, homogeneousFreeOperator a b k (t - τ) ha ha1 hk (r τ) + +theorem continuousOn_homogeneousDuhamelIntegrand (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (t : ℝ) (r : ℝ → HomogeneousY a k) (hr : ContinuousOn r (Icc 0 t)) : + ContinuousOn (fun τ => homogeneousFreeOperator a b k (t - τ) ha ha1 hk (r τ)) + (Icc 0 t) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).continuousOn.comp + ((continuous_const.sub continuous_id).continuousOn.prodMk hr) (fun _ _ => mem_univ _) + +theorem homogeneousDuhamel_norm_le (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (t : ℝ) (ht : 0 ≤ t) (r : ℝ → HomogeneousY a k) (hr : ContinuousOn r (Icc 0 t)) : + ‖homogeneousDuhamel a b k ha ha1 hk t r‖ ≤ + ∫ τ in Icc 0 t, Real.exp (-a * (t - τ) / 2) * ‖r τ‖ := by + rw [homogeneousDuhamel, intervalIntegral.integral_of_le ht, + ← integral_Icc_eq_integral_Ioc] + have hg : IntegrableOn (fun τ => Real.exp (-a * (t - τ) / 2) * ‖r τ‖) (Icc 0 t) := + ((Real.continuous_exp.comp (by fun_prop)).continuousOn.mul hr.norm).integrableOn_compact + isCompact_Icc + apply norm_integral_le_of_norm_le hg + filter_upwards [ae_restrict_mem measurableSet_Icc] with τ hτ + exact homogeneousFreeOperator_forward_bound a b k (t - τ) ha ha1 hk + (sub_nonneg.mpr hτ.2) (r τ) + +theorem homogeneousDuhamel_sub (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (t : ℝ) (ht : 0 ≤ t) (r q : ℝ → HomogeneousY a k) + (hr : ContinuousOn r (Icc 0 t)) (hq : ContinuousOn q (Icc 0 t)) : + homogeneousDuhamel a b k ha ha1 hk t (fun τ => r τ - q τ) = + homogeneousDuhamel a b k ha ha1 hk t r - homogeneousDuhamel a b k ha ha1 hk t q := by + have hir := (continuousOn_homogeneousDuhamelIntegrand a b k ha ha1 hk t r hr).intervalIntegrable_of_Icc (μ := volume) + ht + have hiq := (continuousOn_homogeneousDuhamelIntegrand a b k ha ha1 hk t q hq).intervalIntegrable_of_Icc (μ := volume) + ht + unfold homogeneousDuhamel + simp only [map_sub] + exact intervalIntegral.integral_sub hir hiq + +theorem homogeneousDuhamel_norm_le_mul (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (t C : ℝ) (ht : 0 ≤ t) (r : ℝ → HomogeneousY a k) + (hbound : ∀ τ ∈ Icc 0 t, ‖r τ‖ ≤ C) : + ‖homogeneousDuhamel a b k ha ha1 hk t r‖ ≤ t * C := by + rw [homogeneousDuhamel, intervalIntegral.integral_of_le ht, + ← integral_Icc_eq_integral_Ioc] + have hpoint (τ : ℝ) (hτ : τ ∈ Icc 0 t) : + ‖homogeneousFreeOperator a b k (t - τ) ha ha1 hk (r τ)‖ ≤ C := by + apply (homogeneousFreeOperator_forward_bound a b k (t - τ) ha ha1 hk + (sub_nonneg.mpr hτ.2) (r τ)).trans + exact (mul_le_of_le_one_left (norm_nonneg _) (Real.exp_le_one_iff.mpr (by + nlinarith [hτ.2]))).trans (hbound τ hτ) + have h := norm_integral_le_of_norm_le + (f := fun τ => homogeneousFreeOperator a b k (t - τ) ha ha1 hk (r τ)) + (μ := volume.restrict (Icc 0 t)) (g := fun _ => C) + (integrableOn_const isCompact_Icc.measure_ne_top) + (by filter_upwards [ae_restrict_mem measurableSet_Icc] with τ hτ; exact hpoint τ hτ) + simpa only [setIntegral_const, Real.volume_real_Icc_of_le ht, sub_zero, smul_eq_mul] using h + +/-- Unit-interval rescaling keeps continuity valid for positive and negative time. -/ +theorem homogeneousDuhamel_eq_unitIntegral (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (t : ℝ) (r : ℝ → HomogeneousY a k) : + homogeneousDuhamel a b k ha ha1 hk t r = + t • ∫ u in Icc (0 : ℝ) 1, + homogeneousFreeOperator a b k (t - t * u) ha ha1 hk (r (t * u)) := by + have h := intervalIntegral.smul_integral_comp_mul_left + (a := 0) (b := 1) + (fun τ => homogeneousFreeOperator a b k (t - τ) ha ha1 hk (r τ)) t + simpa only [mul_zero, mul_one, intervalIntegral.integral_of_le zero_le_one, + ← integral_Icc_eq_integral_Ioc, homogeneousDuhamel] using h.symm + +theorem continuous_homogeneousDuhamel (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : Continuous r) : + Continuous (fun t => homogeneousDuhamel a b k ha ha1 hk t r) := by + have hc : Continuous (fun p : ℝ × ℝ => + homogeneousFreeOperator a b k (p.1 - p.1 * p.2) ha ha1 hk (r (p.1 * p.2))) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp + ((continuous_fst.sub (continuous_fst.mul continuous_snd)).prodMk + (hr.comp (continuous_fst.mul continuous_snd))) + simp only [homogeneousDuhamel_eq_unitIntegral] + exact continuous_id.smul (continuous_parametric_integral_of_continuous hc isCompact_Icc) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..5b463d1fdbe84cecbed25dafd9021ce02320bbf2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelDerivative.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDuhamel +import Mathlib.Analysis.Calculus.Deriv.Slope + +namespace OAI + +/-! # The strong initial derivative of the actual Duhamel term + +Continuity of the forcing suffices at the initial time. This is the +bounded-perturbation part of the generator of the constructed evolution. +-/ + +open Filter Set MeasureTheory Topology + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +theorem hasDerivAt_zero_smul_continuous + {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + (A : ℝ → E) (hA : ContinuousAt A 0) : + HasDerivAt (fun t => t • A t) (A 0) 0 := by + rw [hasDerivAt_iff_tendsto_slope_zero] + apply (hA.tendsto.mono_left nhdsWithin_le_nhds).congr' + filter_upwards [self_mem_nhdsWithin] with t ht + have ht0 : t ≠ 0 := ht + simp only [zero_add, zero_smul, sub_zero, inv_smul_smul₀ ht0] + +theorem hasDerivAt_homogeneousDuhamel_zero (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : Continuous r) : + HasDerivAt (fun t => homogeneousDuhamel a b k ha ha1 hk t r) (r 0) 0 := by + let A : ℝ → HomogeneousY a k := fun t => + ∫ u in Icc (0 : ℝ) 1, + homogeneousFreeOperator a b k (t - t * u) ha ha1 hk (r (t * u)) + have hc : Continuous (fun p : ℝ × ℝ => + homogeneousFreeOperator a b k (p.1 - p.1 * p.2) ha ha1 hk (r (p.1 * p.2))) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp + ((continuous_fst.sub (continuous_fst.mul continuous_snd)).prodMk + (hr.comp (continuous_fst.mul continuous_snd))) + have hA : Continuous A := + continuous_parametric_integral_of_continuous hc isCompact_Icc + have hA0 : A 0 = r 0 := by + simp only [A, zero_mul, sub_zero, homogeneousFreeOperator_zero, + setIntegral_const, Real.volume_real_Icc_of_le zero_le_one, sub_zero, one_smul] + have hf : (fun t => t • A t) = + (fun t => homogeneousDuhamel a b k ha ha1 hk t r) := by + funext t + exact (homogeneousDuhamel_eq_unitIntegral a b k ha ha1 hk t r).symm + have h := hasDerivAt_zero_smul_continuous A hA.continuousAt + rw [hf, hA0] at h + exact h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelDuality.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelDuality.lean new file mode 100644 index 0000000000000000000000000000000000000000..0403305b0e28bfb245d5f9ebd57681285c6401b0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelDuality.lean @@ -0,0 +1,29 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMeasurableDuhamel +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeDuality + +namespace OAI + +/-! # Schwartz testing commutes with the measurable whole-space Duhamel integral -/ + +open Set MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousDuhamel_fourier_duality (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ht : 0 ≤ t) + (φ : 𝓢(E, ℂ)) (r : ℝ → HomogeneousY a k) + (hr : StronglyMeasurable r) (hir : IntegrableOn r (Icc 0 t)) : + homogeneousFourierPairing a k ha ha1 hk φ (homogeneousDuhamel a b k ha ha1 hk t r) = + ∫ s in Icc 0 t, homogeneousFourierPairing a k ha ha1 hk + (homogeneousFreeDualTest a b (t - s) φ) (r s) := by + rw [homogeneousDuhamel, intervalIntegral.integral_of_le ht, ← integral_Icc_eq_integral_Ioc] + rw [← (homogeneousFourierPairing a k ha ha1 hk φ).integral_comp_comm + (integrableOn_homogeneousDuhamelIntegrand a b k t ha ha1 hk r hr hir)] + simp only [homogeneousFreeOperator_fourier_duality] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelRestart.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelRestart.lean new file mode 100644 index 0000000000000000000000000000000000000000..1c9386b63255b301ba7daf346e2b1e6c28334b93 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDuhamelRestart.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDuhamel + +namespace OAI + +/-! # Exact whole-space restart and real linearity of the Duhamel operator -/ + +open MeasureTheory + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +private theorem continuous_homogeneousKernel (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : Continuous r) : + Continuous (fun τ => homogeneousFreeOperator a b k (t - τ) ha ha1 hk (r τ)) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp + ((continuous_const.sub continuous_id).prodMk hr) + +/-- Splitting the integral gives restart at every real pair of times. -/ +theorem homogeneousDuhamel_restart (a b k s t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : Continuous r) : + homogeneousDuhamel a b k ha ha1 hk (s + t) r = + homogeneousFreeOperator a b k t ha ha1 hk (homogeneousDuhamel a b k ha ha1 hk s r) + + homogeneousDuhamel a b k ha ha1 hk t (fun u => r (s + u)) := by + let F := fun τ => homogeneousFreeOperator a b k (s + t - τ) ha ha1 hk (r τ) + have hc : Continuous F := continuous_homogeneousKernel a b k (s + t) ha ha1 hk r hr + have hfirst : (∫ τ in 0..s, F τ) = + homogeneousFreeOperator a b k t ha ha1 hk (homogeneousDuhamel a b k ha ha1 hk s r) := by + rw [homogeneousDuhamel, ← ContinuousLinearMap.intervalIntegral_comp_comm _ + ((continuous_homogeneousKernel a b k s ha ha1 hk r hr).intervalIntegrable 0 s)] + apply intervalIntegral.integral_congr + intro τ _ + change homogeneousFreeOperator a b k (s + t - τ) ha ha1 hk (r τ) = + homogeneousFreeOperator a b k t ha ha1 hk + (homogeneousFreeOperator a b k (s - τ) ha ha1 hk (r τ)) + rw [← homogeneousFreeOperator_add] + congr 2 + ring + have hsecond : (∫ τ in s..s + t, F τ) = + homogeneousDuhamel a b k ha ha1 hk t (fun u => r (s + u)) := by + have hshift := intervalIntegral.integral_comp_add_left (a := 0) (b := t) F s + simp only [add_zero] at hshift + rw [← hshift, homogeneousDuhamel] + apply intervalIntegral.integral_congr + intro τ _ + change homogeneousFreeOperator a b k (s + t - (s + τ)) ha ha1 hk (r (s + τ)) = _ + congr 2 + ring + rw [homogeneousDuhamel, ← intervalIntegral.integral_add_adjacent_intervals + (hc.intervalIntegrable 0 s) (hc.intervalIntegrable s (s + t)), hfirst, hsecond] + +@[simp] theorem homogeneousDuhamel_zero (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + homogeneousDuhamel a b k ha ha1 hk t (fun _ => 0) = 0 := by + simp [homogeneousDuhamel] + +theorem homogeneousDuhamel_add (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r q : ℝ → HomogeneousY a k) (hr : Continuous r) (hq : Continuous q) : + homogeneousDuhamel a b k ha ha1 hk t (fun τ => r τ + q τ) = + homogeneousDuhamel a b k ha ha1 hk t r + homogeneousDuhamel a b k ha ha1 hk t q := by + simp only [homogeneousDuhamel, map_add] + exact intervalIntegral.integral_add + ((continuous_homogeneousKernel a b k t ha ha1 hk r hr).intervalIntegrable 0 t) + ((continuous_homogeneousKernel a b k t ha ha1 hk q hq).intervalIntegrable 0 t) + +theorem homogeneousDuhamel_real_smul (a b k t c : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (r : ℝ → HomogeneousY a k) : + homogeneousDuhamel a b k ha ha1 hk t (fun τ => c • r τ) = + c • homogeneousDuhamel a b k ha ha1 hk t r := by + simp only [homogeneousDuhamel, ContinuousLinearMap.map_smul_of_tower, + intervalIntegral.integral_smul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDyadicPartition.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDyadicPartition.lean new file mode 100644 index 0000000000000000000000000000000000000000..16a7129b826c5d471ac95367543e7b0c623b3b76 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDyadicPartition.lean @@ -0,0 +1,146 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAnnulusBounds +import Mathlib.Analysis.Calculus.BumpFunction.FiniteDimension + +namespace OAI + +/-! # A concrete smooth dyadic partition in twelve dimensions -/ + +open Filter +open scoped SchwartzMap Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousCoreBump : ContDiffBump (0 : E) where + rIn := 1 / 2 + rOut := 1 + rIn_pos := by norm_num + rIn_lt_rOut := by norm_num + +noncomputable def homogeneousCoreCutoff : 𝓢(E, ℂ) := + (homogeneousCoreBump.hasCompactSupport.comp_left (g := Complex.ofReal) (by simp)).toSchwartzMap + (Complex.ofRealCLM.contDiff.comp homogeneousCoreBump.contDiff) + +@[simp] theorem homogeneousCoreCutoff_apply (x : E) : + homogeneousCoreCutoff x = (homogeneousCoreBump x : ℂ) := rfl + +theorem homogeneousCoreCutoff_hasCompactSupport : + HasCompactSupport (homogeneousCoreCutoff : E → ℂ) := + homogeneousCoreBump.hasCompactSupport.comp_left (g := Complex.ofReal) (by simp) + +theorem homogeneousCoreCutoff_one (x : E) (hx : ‖x‖ ≤ 1 / 2) : + homogeneousCoreCutoff x = 1 := by + rw [homogeneousCoreCutoff_apply, homogeneousCoreBump.one_of_mem_closedBall] + · simp + · simpa [homogeneousCoreBump, Metric.mem_closedBall, dist_zero_right] using hx + +theorem homogeneousCoreCutoff_zero (x : E) (hx : 1 ≤ ‖x‖) : + homogeneousCoreCutoff x = 0 := by + rw [homogeneousCoreCutoff_apply, homogeneousCoreBump.zero_of_le_dist] + · simp + · simpa [homogeneousCoreBump, dist_zero_right] using hx + +noncomputable def homogeneousHalfScale : E ≃L[ℝ] E := + (Units.mk0 (1 / 2 : ℝ) (by norm_num)) • ContinuousLinearEquiv.refl ℝ E + +@[simp] theorem homogeneousHalfScale_apply (x : E) : + homogeneousHalfScale x = (1 / 2 : ℝ) • x := rfl + +noncomputable def homogeneousAnnulusCutoff : 𝓢(E, ℂ) := + SchwartzMap.compCLMOfContinuousLinearEquiv ℂ homogeneousHalfScale homogeneousCoreCutoff - + homogeneousCoreCutoff + +@[simp] theorem homogeneousAnnulusCutoff_apply (x : E) : + homogeneousAnnulusCutoff x = homogeneousCoreCutoff ((1 / 2 : ℝ) • x) - + homogeneousCoreCutoff x := by + simp [homogeneousAnnulusCutoff] + +theorem homogeneousAnnulusCutoff_hasCompactSupport : + HasCompactSupport (homogeneousAnnulusCutoff : E → ℂ) := by + exact (homogeneousCoreCutoff_hasCompactSupport.comp_homeomorph + homogeneousHalfScale.toHomeomorph).sub homogeneousCoreCutoff_hasCompactSupport + +theorem homogeneousAnnulusCutoff_support : + ∀ x ∈ tsupport (homogeneousAnnulusCutoff : E → ℂ), + (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2 := by + apply closure_minimal ?_ ((isClosed_le continuous_const continuous_norm).inter + (isClosed_le continuous_norm continuous_const)) + intro x hx + constructor + · by_contra h + change ¬ (1 / 2 : ℝ) ≤ ‖x‖ at h + have hs : ‖x‖ ≤ 1 / 2 := (lt_of_not_ge h).le + have hs' : ‖(1 / 2 : ℝ) • x‖ ≤ 1 / 2 := by + rw [norm_smul, Real.norm_eq_abs] + norm_num + linarith [norm_nonneg x] + exact hx (by + rw [homogeneousAnnulusCutoff_apply, homogeneousCoreCutoff_one ((1 / 2 : ℝ) • x) hs', + homogeneousCoreCutoff_one x hs, sub_self]) + · by_contra h + change ¬ ‖x‖ ≤ (2 : ℝ) at h + have hs : 1 ≤ ‖x‖ := by linarith [lt_of_not_ge h] + have hs' : 1 ≤ ‖(1 / 2 : ℝ) • x‖ := by + rw [norm_smul, Real.norm_eq_abs] + norm_num + linarith [lt_of_not_ge h] + exact hx (by + rw [homogeneousAnnulusCutoff_apply, homogeneousCoreCutoff_zero ((1 / 2 : ℝ) • x) hs', + homogeneousCoreCutoff_zero x hs, sub_self]) + +theorem homogeneousCoreCutoff_dyadic_tendsto_one (y : E) : + Tendsto (fun n : ℕ => homogeneousCoreCutoff (((2 : ℝ) ^ n)⁻¹ • y)) atTop (𝓝 1) := by + have ht : Tendsto (fun n : ℕ => ((2 : ℝ) ^ n)⁻¹ • y) atTop (𝓝 0) := by + have hp := tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num : (0 : ℝ) ≤ 2⁻¹) + (by norm_num : (2 : ℝ)⁻¹ < 1) + simpa only [inv_pow, zero_smul] using hp.smul_const y + have hc := homogeneousCoreCutoff.continuous.continuousAt.tendsto.comp ht + simpa only [Function.comp_def, homogeneousCoreCutoff_one 0 (by simp)] using hc + +theorem homogeneousAnnulusCutoff_dyadic_eventually_zero (y : E) : + ∀ᶠ n : ℕ in atTop, homogeneousAnnulusCutoff (((2 : ℝ) ^ n)⁻¹ • y) = 0 := by + have ht : Tendsto (fun n : ℕ => ((2 : ℝ) ^ n)⁻¹ • y) atTop (𝓝 0) := by + have hp := tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num : (0 : ℝ) ≤ 2⁻¹) + (by norm_num : (2 : ℝ)⁻¹ < 1) + simpa only [inv_pow, zero_smul] using hp.smul_const y + have he : ∀ᶠ x : E in 𝓝 0, homogeneousAnnulusCutoff x = 0 := by + filter_upwards [Metric.ball_mem_nhds (0 : E) (by norm_num : (0 : ℝ) < 1 / 2)] with x hx + have hslt : ‖x‖ < 1 / 2 := by simpa [Metric.mem_ball, dist_zero_right] using hx + have hs : ‖x‖ ≤ 1 / 2 := hslt.le + have hs' : ‖(1 / 2 : ℝ) • x‖ ≤ 1 / 2 := by + rw [norm_smul, Real.norm_eq_abs] + norm_num + linarith [norm_nonneg x] + rw [homogeneousAnnulusCutoff_apply, homogeneousCoreCutoff_one ((1 / 2 : ℝ) • x) hs', + homogeneousCoreCutoff_one x hs, sub_self] + exact ht.eventually he + +theorem homogeneousAnnulusCutoff_dyadic_sum (y : E) : + HasSum (fun n : ℕ => homogeneousAnnulusCutoff (((2 : ℝ) ^ n)⁻¹ • y)) + (1 - homogeneousCoreCutoff y) := by + have hz := homogeneousAnnulusCutoff_dyadic_eventually_zero y + have hs : Summable (fun n : ℕ => + ‖homogeneousAnnulusCutoff (((2 : ℝ) ^ n)⁻¹ • y)‖) := by + apply Summable.of_norm_bounded_eventually_nat (summable_zero : Summable (fun _ : ℕ => (0 : ℝ))) + filter_upwards [hz] with n hn + simp [hn] + apply (hasSum_iff_tendsto_nat_of_summable_norm hs).mpr + have hpartial (n : ℕ) : + ∑ j ∈ Finset.range n, homogeneousAnnulusCutoff (((2 : ℝ) ^ j)⁻¹ • y) = + homogeneousCoreCutoff (((2 : ℝ) ^ n)⁻¹ • y) - homogeneousCoreCutoff y := by + induction n with + | zero => simp + | succ n ih => + rw [Finset.sum_range_succ, ih, homogeneousAnnulusCutoff_apply] + have he : (1 / 2 : ℝ) • (((2 : ℝ) ^ n)⁻¹ • y) = ((2 : ℝ) ^ (n + 1))⁻¹ • y := by + rw [smul_smul, pow_succ, mul_inv_rev] + norm_num + rw [he] + ring + simp_rw [hpartial] + exact (homogeneousCoreCutoff_dyadic_tendsto_one y).sub_const _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDyadicSeries.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDyadicSeries.lean new file mode 100644 index 0000000000000000000000000000000000000000..6b4c1959548ab09a748e82f566c81fb0ddb56b2e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousDyadicSeries.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDilation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import Mathlib.Analysis.SpecificLimits.Normed + +namespace OAI + +/-! # A quantitative dyadic criterion for membership in the faithful Y space + +Summable bounds on normalized annular pieces give convergence in Y and +identify the physical representative of the sum. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousDyadicPiece (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : ℕ → HomogeneousY a k) (n : ℕ) : HomogeneousY a k := + homogeneousDilation a k ((2 : ℝ) ^ n) ha ha1 hk (one_le_pow₀ (by norm_num)) (v n) + +theorem homogeneousDyadicPiece_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : ℕ → HomogeneousY a k) (C : ℝ) (hC : ∀ n, ‖v n‖ ≤ C) (n : ℕ) : + ‖homogeneousDyadicPiece a k ha ha1 hk v n‖ ≤ C * (2 ^ (-a) : ℝ) ^ n := by + have h := homogeneousDilation_norm_le a k ((2 : ℝ) ^ n) ha ha1 hk + (one_le_pow₀ (by norm_num)) (v n) + rw [← Real.rpow_pow_comm (by norm_num : (0 : ℝ) ≤ 2)] at h + exact h.trans ((mul_le_mul_of_nonneg_left (hC n) (by positivity)).trans_eq (mul_comm _ _)) + +theorem summable_homogeneousDyadicPiece (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : ℕ → HomogeneousY a k) (C : ℝ) (hC : ∀ n, ‖v n‖ ≤ C) : + Summable (homogeneousDyadicPiece a k ha ha1 hk v) := by + have hr : ‖(2 ^ (-a) : ℝ)‖ < 1 := by + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact Real.rpow_lt_one_of_one_lt_of_neg (by norm_num) (by linarith) + exact ((summable_geometric_of_norm_lt_one hr).mul_left C).of_norm_bounded + (homogeneousDyadicPiece_norm_le a k ha ha1 hk v C hC) + +theorem homogeneousDyadicSeries_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : ℕ → HomogeneousY a k) (C : ℝ) (hC : ∀ n, ‖v n‖ ≤ C) : + ‖∑' n, homogeneousDyadicPiece a k ha ha1 hk v n‖ ≤ C / (1 - 2 ^ (-a)) := by + have hr : ‖(2 ^ (-a) : ℝ)‖ < 1 := by + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact Real.rpow_lt_one_of_one_lt_of_neg (by norm_num) (by linarith) + simpa only [div_eq_mul_inv] using tsum_of_norm_bounded + ((hasSum_geometric_of_norm_lt_one hr).mul_left C) + (homogeneousDyadicPiece_norm_le a k ha ha1 hk v C hC) + +theorem homogeneousDyadicSeries_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : ℕ → HomogeneousY a k) (C : ℝ) (hC : ∀ n, ‖v n‖ ≤ C) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk + (∑' n, homogeneousDyadicPiece a k ha ha1 hk v n) y = + ∑' n, (((2 : ℝ) ^ n) ^ (-2 * a) : ℝ) * + homogeneousPhysicalCLM a k ha ha1 hk (v n) (((2 : ℝ) ^ n)⁻¹ • y) := by + have hsum := (homogeneousPointEvaluation a k ha ha1 hk y).map_tsum + (summable_homogeneousDyadicPiece a k ha ha1 hk v C hC) + change homogeneousPhysicalCLM a k ha ha1 hk + (∑' n, homogeneousDyadicPiece a k ha ha1 hk v n) y = + ∑' n, homogeneousPhysicalCLM a k ha ha1 hk (homogeneousDyadicPiece a k ha ha1 hk v n) y at hsum + rw [hsum] + apply tsum_congr + intro n + exact homogeneousDilation_physical a k ((2 : ℝ) ^ n) ha ha1 hk + (one_le_pow₀ (by norm_num)) (v n) y + +/-- A function reconstructed from uniformly controlled normalized annuli belongs to Y. -/ +theorem exists_homogeneous_of_dyadic_representation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : ℕ → HomogeneousY a k) (C : ℝ) (hC : ∀ n, ‖v n‖ ≤ C) + (Q : E → ℂ) + (hQ : ∀ y, Q y = ∑' n, (((2 : ℝ) ^ n) ^ (-2 * a) : ℝ) * + homogeneousPhysicalCLM a k ha ha1 hk (v n) (((2 : ℝ) ^ n)⁻¹ • y)) : + ∃ q : HomogeneousY a k, (∀ y, homogeneousPhysicalCLM a k ha ha1 hk q y = Q y) ∧ + ‖q‖ ≤ C / (1 - 2 ^ (-a)) := by + refine ⟨∑' n, homogeneousDyadicPiece a k ha ha1 hk v n, ?_, + homogeneousDyadicSeries_norm_le a k ha ha1 hk v C hC⟩ + intro y + rw [homogeneousDyadicSeries_physical a k ha ha1 hk v C hC, ← hQ] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEigenfunctionPDE.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEigenfunctionPDE.lean new file mode 100644 index 0000000000000000000000000000000000000000..29fff891bc414fef68793815cacc644150af99bc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEigenfunctionPDE.lean @@ -0,0 +1,162 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousClassicalLinearization +import Mathlib.Analysis.Calculus.FDeriv.Star + +namespace OAI + +/-! # The two classical channels of an actual semigroup eigenvector + +The complexification used by the spectral argument has two physical channels. +An eigenvector of the actual evolution satisfies their coupled elliptic equations; +the required C² regularity follows from membership in Y with k > 8. +-/ + +open Set +open scoped Laplacian ZeroAtInfty ComplexConjugate NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem laplacian_channel_add (u v : E → ℂ) (c : ℂ) (x : E) + (hu : ContDiffAt ℝ 2 u x) (hv : ContDiffAt ℝ 2 v x) : + Δ (fun y => u y + c * v y) x = Δ u x + c * Δ v x := by + have h := hu.laplacian_add (hv.const_smul c) + calc + Δ (fun y => u y + c * v y) x = Δ u x + Δ (fun y => c • v y) x := h + _ = Δ u x + c * Δ v x := by + congr 1 + exact InnerProductSpace.laplacian_smul c hv + +private theorem fderiv_channel_add (u v : E → ℂ) (c : ℂ) (x : E) + (hu : DifferentiableAt ℝ u x) (hv : DifferentiableAt ℝ v x) : + fderiv ℝ (fun y => u y + c * v y) x x = + fderiv ℝ u x x + c * fderiv ℝ v x x := by + change (fderiv ℝ (u + c • v) x) x = _ + rw [fderiv_add hu (hv.const_smul c), fderiv_const_smul hv c] + rfl + +private theorem laplacian_channel_star (u : E → ℂ) (x : E) : + Δ (fun y => star (u y)) x = star (Δ u x) := by + exact congrFun (InnerProductSpace.laplacian_CLE_comp_left + (f := u) (l := (starL' ℝ : ℂ ≃L[ℝ] ℂ))) x + +private theorem fderiv_channel_star (u : E → ℂ) (x : E) : + fderiv ℝ (fun y => star (u y)) x x = star (fderiv ℝ u x x) := by + rw [fderiv_star] + rfl + +/-- A semigroup eigenvector has the actual two-channel classical PDE, with +coefficients obtained from the derivative of the odd-power nonlinearity. -/ +theorem homogeneous_eigenvector_classical_channels (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q : HomogeneousY a k) (lam : ℂ) (w : HomogeneousY a k × HomogeneousY a k) + (hw : ∀ t : ℝ≥0, homogeneousComplexLinearizedStep a b k ha ha1 hk m q t w = + Complex.exp (((t : ℝ) : ℂ) * lam) • w) : + let P := fun f : HomogeneousY a k => + fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + ContDiff ℝ 2 (P w.1) ∧ ContDiff ℝ 2 (P w.2) ∧ + ∀ x : E, + (lam * P w.1 x = Complex.I * Δ (P w.1) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.1) x x + + (-(a : ℂ) + Complex.I * (b : ℂ)) * P w.1 x - Complex.I * + ((((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.1 x + + ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.2 x)) ∧ + (lam * P w.2 x = -Complex.I * Δ (P w.2) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.2) x x + + (-(a : ℂ) - Complex.I * (b : ℂ)) * P w.2 x + Complex.I * + (star (((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.2 x + + star ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.1 x)) := by + dsimp only + let P := fun f : HomogeneousY a k => + fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + let X := homogeneousComplexReal a k ha ha1 hk + let Y := homogeneousComplexImag a k ha ha1 hk + let u := P (X w) + let v := P (Y w) + change ContDiff ℝ 2 (P w.1) ∧ ContDiff ℝ 2 (P w.2) ∧ + ∀ x : E, + (lam * P w.1 x = Complex.I * Δ (P w.1) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.1) x x + + (-(a : ℂ) + Complex.I * (b : ℂ)) * P w.1 x - Complex.I * + ((((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.1 x + + ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.2 x)) ∧ + (lam * P w.2 x = -Complex.I * Δ (P w.2) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.2) x x + + (-(a : ℂ) - Complex.I * (b : ℂ)) * P w.2 x + Complex.I * + (star (((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.2 x + + star ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.1 x)) + have hP (f : HomogeneousY a k) : ContDiff ℝ 2 (P f) := + contDiff_homogeneousPhysical a k ha ha1 hk f + refine ⟨hP w.1, hP w.2, ?_⟩ + have hfirst (z : HomogeneousY a k × HomogeneousY a k) : + P z.1 = fun x => P (X z) x + Complex.I * P (Y z) x := by + funext x + have h := congrArg (fun f : HomogeneousY a k => P f x) + (homogeneousComplexCoordinates_first a k ha ha1 hk z) + simpa only [P, X, Y, map_add, map_smul, ZeroAtInftyContinuousMap.add_apply, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul] using h.symm + have hsecond (z : HomogeneousY a k × HomogeneousY a k) : + P z.2 = fun x => star (P (X z) x) + Complex.I * star (P (Y z) x) := by + funext x + have h := congrArg (fun f : HomogeneousY a k => P f x) + (homogeneousComplexCoordinates_second a k ha ha1 hk z) + simpa only [P, X, Y, map_add, map_smul, ZeroAtInftyContinuousMap.add_apply, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul, + homogeneousConjugation_physical, starRingEnd_apply] using h.symm + have hu := hP (X w) + have hv := hP (Y w) + obtain ⟨hX, hY⟩ := homogeneous_eigenvector_free_coordinates a b k ha ha1 hk m q lam w hw + intro x + have hx := homogeneousLinearized_domain_classical a b k ha ha1 hk m q + (X w) (X (lam • w)) hX x + have hy := homogeneousLinearized_domain_classical a b k ha ha1 hk m q + (Y w) (Y (lam • w)) hY x + change P (X (lam • w)) x = Complex.I * Δ u x - + (1 / 2 : ℂ) * fderiv ℝ u x x + (-(a : ℂ) + Complex.I * (b : ℂ)) * u x - + Complex.I * oddPowerDerivative m (P q x) (u x) at hx + change P (Y (lam • w)) x = Complex.I * Δ v x - + (1 / 2 : ℂ) * fderiv ℝ v x x + (-(a : ℂ) + Complex.I * (b : ℂ)) * v x - + Complex.I * oddPowerDerivative m (P q x) (v x) at hy + have hlam₁ : lam * P w.1 x = + P (X (lam • w)) x + Complex.I * P (Y (lam • w)) x := by + have h := congrFun (hfirst (lam • w)) x + simpa only [P, Prod.smul_fst, map_smul, ZeroAtInftyContinuousMap.smul_apply, + smul_eq_mul] using h + have hlam₂ : lam * P w.2 x = + star (P (X (lam • w)) x) + Complex.I * star (P (Y (lam • w)) x) := by + have h := congrFun (hsecond (lam • w)) x + simpa only [P, Prod.smul_snd, map_smul, ZeroAtInftyContinuousMap.smul_apply, + smul_eq_mul] using h + have hd₁ := fderiv_channel_add u v Complex.I x + (hu.differentiable (by norm_num) x) (hv.differentiable (by norm_num) x) + have hl₁ := laplacian_channel_add u v Complex.I x hu.contDiffAt hv.contDiffAt + have hd₂ := fderiv_channel_add (fun y => star (u y)) (fun y => star (v y)) Complex.I x + ((hu.differentiable (by norm_num) x).star) + ((hv.differentiable (by norm_num) x).star) + have hus : ContDiff ℝ 2 (fun y => star (u y)) := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp hu + have hvs : ContDiff ℝ 2 (fun y => star (v y)) := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp hv + have hl₂ := laplacian_channel_add (fun y => star (u y)) (fun y => star (v y)) + Complex.I x hus.contDiffAt hvs.contDiffAt + rw [fderiv_channel_star, fderiv_channel_star] at hd₂ + rw [laplacian_channel_star, laplacian_channel_star] at hl₂ + constructor + · rw [hlam₁, hx, hy, hfirst w, hsecond w] + rw [hl₁, hd₁] + simp only [oddPowerDerivative, add_apply, smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul] + ring + · rw [hlam₂, hx, hy, hsecond w, hfirst w] + rw [hl₂, hd₂] + simp only [oddPowerDerivative, add_apply, smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul, + star_add, star_sub, star_mul, star_star, star_neg, star_pow] + simp only [Complex.star_def, Complex.conj_I, Complex.conj_ofReal, + map_div₀, map_ofNat, map_one] + dsimp only [u, v] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyComponents.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyComponents.lean new file mode 100644 index 0000000000000000000000000000000000000000..acf27bd8d16e9d83511a4c10efef47803cb0b83c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyComponents.lean @@ -0,0 +1,183 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeOperator + +namespace OAI + +/-! # The two exact homogeneous energy components + +The low and high Sobolev energies are bounded real-linear observations of +the actual weighted Fourier Hilbert space. Their squared norms add to the +full Y norm, with the manuscript's Plancherel normalization. +-/ + +open MeasureTheory +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousSobolevWeight (s : ℝ) (ξ : E) : ℝ := + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ‖ξ‖ ^ (2 * s) + +noncomputable def homogeneousSobolevMeasure (s : ℝ) : Measure E := + volume.withDensity (fun ξ => ENNReal.ofReal (homogeneousSobolevWeight s ξ)) + +theorem homogeneousSobolevWeight_nonneg (s : ℝ) (ξ : E) : + 0 ≤ homogeneousSobolevWeight s ξ := by + unfold homogeneousSobolevWeight + positivity + +theorem continuous_homogeneousSobolevWeight (s : ℝ) (hs : 0 ≤ s) : + Continuous (homogeneousSobolevWeight s) := by + exact continuous_const.mul (continuous_norm.rpow_const (fun _ => Or.inr (by positivity))) + +theorem homogeneousFourierMeasure_eq_components (a k : ℝ) (ha1 : a < 1) (_hk : 8 < k) : + homogeneousFourierMeasure a k = + homogeneousSobolevMeasure (6 - a) + homogeneousSobolevMeasure k := by + unfold homogeneousFourierMeasure homogeneousSobolevMeasure + have hw : (fun ξ => ENNReal.ofReal (homogeneousFourierWeight a k ξ)) = + (fun ξ => ENNReal.ofReal (homogeneousSobolevWeight (6 - a) ξ)) + + (fun ξ => ENNReal.ofReal (homogeneousSobolevWeight k ξ)) := by + funext ξ + rw [Pi.add_apply, ← ENNReal.ofReal_add (homogeneousSobolevWeight_nonneg _ _) + (homogeneousSobolevWeight_nonneg _ _)] + congr 1 + unfold homogeneousFourierWeight homogeneousSobolevWeight + ring + rw [hw] + exact withDensity_add_left + (continuous_homogeneousSobolevWeight (6 - a) (by linarith)).measurable.ennreal_ofReal _ + +theorem homogeneousLowMeasure_le (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) : + homogeneousSobolevMeasure (6 - a) ≤ homogeneousFourierMeasure a k := by + rw [homogeneousFourierMeasure_eq_components a k ha1 hk] + exact Measure.le_add_right le_rfl + +theorem homogeneousHighMeasure_le (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) : + homogeneousSobolevMeasure k ≤ homogeneousFourierMeasure a k := by + rw [homogeneousFourierMeasure_eq_components a k ha1 hk] + exact Measure.le_add_left le_rfl + +noncomputable def homogeneousLowEnergy (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) : + HomogeneousY a k →L[ℝ] Lp ℂ 2 (homogeneousSobolevMeasure (6 - a)) := + Lp.LpToLpOfMeasureLeSMul (c := 1) (by simp) + (by simpa only [one_smul] using homogeneousLowMeasure_le a k ha1 hk) + +noncomputable def homogeneousHighEnergy (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) : + HomogeneousY a k →L[ℝ] Lp ℂ 2 (homogeneousSobolevMeasure k) := + Lp.LpToLpOfMeasureLeSMul (c := 1) (by simp) + (by simpa only [one_smul] using homogeneousHighMeasure_le a k ha1 hk) + +theorem homogeneousLowEnergy_ae (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) : + homogeneousLowEnergy a k ha1 hk f =ᵐ[homogeneousSobolevMeasure (6 - a)] f := + Lp.coeFn_LpToLpOfMeasureLeSMul _ _ _ + +theorem homogeneousHighEnergy_ae (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) : + homogeneousHighEnergy a k ha1 hk f =ᵐ[homogeneousSobolevMeasure k] f := + Lp.coeFn_LpToLpOfMeasureLeSMul _ _ _ + +theorem homogeneousLowEnergy_norm_le (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) : ‖homogeneousLowEnergy a k ha1 hk f‖ ≤ ‖f‖ := by + have h : ‖homogeneousLowEnergy a k ha1 hk‖ ≤ 1 := by + apply (Lp.norm_LpToLpOfMeasureLeSMul_le (c := (1 : ℝ≥0∞)) (by simp) + (show homogeneousSobolevMeasure (6 - a) ≤ 1 • homogeneousFourierMeasure a k by + simpa only [one_smul] using homogeneousLowMeasure_le a k ha1 hk)).trans + simp + calc + _ ≤ ‖homogeneousLowEnergy a k ha1 hk‖ * ‖f‖ := + (homogeneousLowEnergy a k ha1 hk).le_opNorm f + _ ≤ 1 * ‖f‖ := mul_le_mul_of_nonneg_right h (norm_nonneg f) + _ = ‖f‖ := one_mul _ + +theorem homogeneousHighEnergy_norm_le (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) : ‖homogeneousHighEnergy a k ha1 hk f‖ ≤ ‖f‖ := by + have h : ‖homogeneousHighEnergy a k ha1 hk‖ ≤ 1 := by + apply (Lp.norm_LpToLpOfMeasureLeSMul_le (c := (1 : ℝ≥0∞)) (by simp) + (show homogeneousSobolevMeasure k ≤ 1 • homogeneousFourierMeasure a k by + simpa only [one_smul] using homogeneousHighMeasure_le a k ha1 hk)).trans + simp + calc + _ ≤ ‖homogeneousHighEnergy a k ha1 hk‖ * ‖f‖ := + (homogeneousHighEnergy a k ha1 hk).le_opNorm f + _ ≤ 1 * ‖f‖ := mul_le_mul_of_nonneg_right h (norm_nonneg f) + _ = ‖f‖ := one_mul _ + +private theorem l2_norm_sq_integral (μ : Measure E) (f : Lp ℂ 2 μ) : + ‖f‖ ^ 2 = ∫ ξ, ‖f ξ‖ ^ 2 ∂μ := by + have h := real_inner_self_eq_norm_sq f + rw [L2.inner_def] at h + simpa only [real_inner_self_eq_norm_sq] using h.symm + +attribute [local irreducible] homogeneousLowEnergy homogeneousHighEnergy + +theorem homogeneousEnergy_norm_sq (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) : + ‖f‖ ^ 2 = ‖homogeneousLowEnergy a k ha1 hk f‖ ^ 2 + + ‖homogeneousHighEnergy a k ha1 hk f‖ ^ 2 := by + let F : E → ℂ := f + have hl : (fun ξ => ‖homogeneousLowEnergy a k ha1 hk f ξ‖ ^ 2) =ᵐ[ + homogeneousSobolevMeasure (6 - a)] (fun ξ => ‖F ξ‖ ^ 2) := by + filter_upwards [homogeneousLowEnergy_ae a k ha1 hk f] with ξ hξ + exact congrArg (fun z : ℂ => ‖z‖ ^ 2) hξ + have hh : (fun ξ => ‖homogeneousHighEnergy a k ha1 hk f ξ‖ ^ 2) =ᵐ[ + homogeneousSobolevMeasure k] (fun ξ => ‖F ξ‖ ^ 2) := by + filter_upwards [homogeneousHighEnergy_ae a k ha1 hk f] with ξ hξ + exact congrArg (fun z : ℂ => ‖z‖ ^ 2) hξ + have hil : Integrable (fun ξ => ‖F ξ‖ ^ 2) (homogeneousSobolevMeasure (6 - a)) := + ((Lp.memLp (homogeneousLowEnergy a k ha1 hk f)).integrable_norm_pow + (p := 2) (by norm_num)).congr hl + have hih : Integrable (fun ξ => ‖F ξ‖ ^ 2) (homogeneousSobolevMeasure k) := + ((Lp.memLp (homogeneousHighEnergy a k ha1 hk f)).integrable_norm_pow + (p := 2) (by norm_num)).congr hh + calc + ‖f‖ ^ 2 = ∫ ξ, ‖F ξ‖ ^ 2 ∂homogeneousFourierMeasure a k := + l2_norm_sq_integral _ f + _ = ∫ ξ, ‖F ξ‖ ^ 2 ∂(homogeneousSobolevMeasure (6 - a) + + homogeneousSobolevMeasure k) := congrArg (fun μ : Measure E => ∫ ξ, ‖F ξ‖ ^ 2 ∂μ) + (homogeneousFourierMeasure_eq_components a k ha1 hk) + _ = (∫ ξ, ‖F ξ‖ ^ 2 ∂homogeneousSobolevMeasure (6 - a)) + + ∫ ξ, ‖F ξ‖ ^ 2 ∂homogeneousSobolevMeasure k := integral_add_measure hil hih + _ = _ := by rw [← integral_congr_ae hl, ← integral_congr_ae hh, + ← l2_norm_sq_integral, ← l2_norm_sq_integral] + +private theorem sobolevEnergy_norm_sq_of_ae (s : ℝ) (hs : 0 ≤ s) + (ψ : 𝓢(E, ℂ)) (g : Lp ℂ 2 (homogeneousSobolevMeasure s)) + (hg : g =ᵐ[homogeneousSobolevMeasure s] ψ) : + ‖g‖ ^ 2 = ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * homogeneousFrequencyEnergy s ψ := by + have he : (fun ξ => ‖g ξ‖ ^ 2) =ᵐ[homogeneousSobolevMeasure s] + (fun ξ => ‖ψ ξ‖ ^ 2) := by + filter_upwards [hg] with ξ hξ + exact congrArg (fun z : ℂ => ‖z‖ ^ 2) hξ + rw [l2_norm_sq_integral, integral_congr_ae he] + unfold homogeneousSobolevMeasure + rw [integral_withDensity_eq_integral_toReal_smul + (continuous_homogeneousSobolevWeight s hs).measurable.ennreal_ofReal + (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))] + simp only [ENNReal.toReal_ofReal (homogeneousSobolevWeight_nonneg s _), smul_eq_mul] + simp only [homogeneousSobolevWeight, mul_assoc, integral_const_mul, homogeneousFrequencyEnergy] + +theorem homogeneousLowEnergy_Schwartz_norm_sq (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousLowEnergy a k ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)‖ ^ 2 = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * homogeneousFrequencyEnergy (6 - a) ψ := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + apply sobolevEnergy_norm_sq_of_ae (6 - a) (by linarith) + exact (homogeneousLowEnergy_ae a k ha1 hk _).trans + ((SchwartzMap.coeFn_toLp ψ 2 (homogeneousFourierMeasure a k)).filter_mono + (Measure.absolutelyContinuous_of_le (homogeneousLowMeasure_le a k ha1 hk)).ae_le) + +theorem homogeneousHighEnergy_Schwartz_norm_sq (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousHighEnergy a k ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)‖ ^ 2 = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * homogeneousFrequencyEnergy k ψ := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + apply sobolevEnergy_norm_sq_of_ae k (by linarith) + exact (homogeneousHighEnergy_ae a k ha1 hk _).trans + ((SchwartzMap.coeFn_toLp ψ 2 (homogeneousFourierMeasure a k)).filter_mono + (Measure.absolutelyContinuous_of_le (homogeneousHighMeasure_le a k ha1 hk)).ae_le) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..d8820f0d7d62ee03532c1edd9b89a7b4c653420a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyGenerator.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEssentialContraction +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexDecomposition +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexStrongContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousContourGenerator + +namespace OAI + +/-! # The finite contour generator at a prescribed coercive Sobolev order -/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousLinearized_finite_generator_of_gap (a b : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m + 1)) ≤ M) + (hgap : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - + 2 * ((2 * ((m + 1 : ℕ) : ℝ) + 1) * M)) : + HasFiniteContourGenerator + (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q) := by + obtain ⟨c, hc, hcontract⟩ := + homogeneousLinearized_weakNull_contraction a b N ha ha1 hk m q M hM hQB hgap + let T := (Real.log 4 + 1) / c + have hT : 0 < T := div_pos (by have := Real.log_pos (show (1 : ℝ) < 4 by norm_num); linarith) hc + let t : ℝ≥0 := ⟨T, hT.le⟩ + have hexp : Real.exp (-c * T) < 1 / 4 := by + have heq : -c * T = -(Real.log 4 + 1) := by + dsimp only [T] + field_simp + rw [heq, Real.exp_neg, Real.exp_add, Real.exp_log (by norm_num)] + rw [inv_eq_one_div] + apply (div_lt_iff₀ (by positivity)).mpr + have h := (Real.one_lt_exp_iff).mpr (show (0 : ℝ) < 1 by norm_num) + nlinarith + let S := homogeneousLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q t + have hvalue (v : HomogeneousY a ((N + 1 : ℕ) : ℝ)) : + S v = homogeneousLinearizedPropagator a b ((N + 1 : ℕ) : ℝ) T ha ha1 hk + hT.le (m + 1) q v ⟨T, hT.le, le_rfl⟩ := rfl + have hweak : ∀ u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ), (∀ j, ‖u j‖ ≤ 1) → + (∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, ‖S (u j)‖ ^ 2 < Real.exp (-c * T) + ε := by + intro u hu hw ε hε + simp_rw [hvalue] + simpa only [one_pow, mul_one] using + hcontract T hT.le 1 u hu hw ε hε + obtain ⟨B, K, hS, hB, hK⟩ := homogeneousOperator_complexFiniteRank_contraction a + ((N + 1 : ℕ) : ℝ) (Real.exp (-c * T)) ha ha1 hk (Real.exp_pos _).le hexp S hweak + let SC := homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q + have hSc (u : HomogeneousY a ((N + 1 : ℕ) : ℝ) × + HomogeneousY a ((N + 1 : ℕ) : ℝ)) : Continuous (fun s : ℝ≥0 => SC s u) := + stronglyContinuous_homogeneousComplexLinearizedStep a b + ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u + exact semigroup_contour_generator SC + (homogeneousComplexLinearizedStep_zero a b ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q) + (fun s t => homogeneousComplexLinearizedStep_add a b ((N + 1 : ℕ) : ℝ) + ha ha1 hk (m + 1) q s t) hSc t hT B K hS hB hK + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyInterpolation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyInterpolation.lean new file mode 100644 index 0000000000000000000000000000000000000000..ac86cf173d480afd264cb7da5be6931b3b9542c1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyInterpolation.lean @@ -0,0 +1,116 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousConvolutionWeights + +namespace OAI + +/-! # The low homogeneous energy is controlled by L² and the high energy + +This is the elementary frequency splitting used for the compact interior +potential term. The indices are exactly 6-a and k from the manuscript. +-/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap FourierTransform + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +/-- Plancherel with the manuscript's radian Fourier normalization. -/ +theorem radianFourier_energy_zero (f : 𝓢(E, ℂ)) : + homogeneousFrequencyEnergy 0 (radianFourierKernel f) = + (2 * Real.pi) ^ (12 : ℕ) * homogeneousFrequencyEnergy 0 f := by + have hp : 0 < 2 * Real.pi := by positivity + change homogeneousFrequencyEnergy 0 (fun ξ => (𝓕 f : 𝓢(E, ℂ)) ((2 * Real.pi)⁻¹ • ξ)) = _ + rw [homogeneousFrequencyEnergy_dilation 0 _ (inv_pos.mpr hp)] + have hF : homogeneousFrequencyEnergy 0 (𝓕 f : 𝓢(E, ℂ)) = homogeneousFrequencyEnergy 0 f := by + simpa only [homogeneousFrequencyEnergy, mul_zero, Real.rpow_zero, one_mul] using + SchwartzMap.integral_norm_sq_fourier f + rw [hF] + congr 1 + simp only [mul_zero, sub_zero] + rw [Real.rpow_neg (inv_nonneg.mpr hp.le)] + rw [Real.rpow_ofNat, inv_pow, inv_inv] + +private theorem low_weight_interpolation (a k ε : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hε : 0 < ε) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ x : ℝ, 0 ≤ x → + x ^ (2 * (6 - a)) ≤ ε * x ^ (2 * k) + C := by + let R := max 1 ε⁻¹ + have hR : 1 ≤ R := le_max_left _ _ + have hRpos : 0 < R := lt_of_lt_of_le zero_lt_one hR + refine ⟨R ^ (2 * (6 - a)), Real.rpow_nonneg hRpos.le _, ?_⟩ + intro x hx + by_cases hsmall : x ≤ R + · exact (Real.rpow_le_rpow hx hsmall (by linarith)).trans + (le_add_of_nonneg_left (mul_nonneg hε.le (Real.rpow_nonneg hx _))) + · have hlarge : R ≤ x := (lt_of_not_ge hsmall).le + have hx1 : 1 ≤ x := hR.trans hlarge + have hxpos : 0 < x := lt_of_lt_of_le zero_lt_one hx1 + have hi : x⁻¹ ≤ ε := by + have hR' : ε⁻¹ ≤ x := (le_max_right _ _).trans hlarge + have hp : 1 ≤ ε * x := by + simpa only [mul_inv_cancel₀ hε.ne'] using mul_le_mul_of_nonneg_left hR' hε.le + exact (inv_le_iff_one_le_mul₀ hxpos).mpr hp + calc + x ^ (2 * (6 - a)) = x ^ (2 * k) * x ^ (2 * (6 - a) - 2 * k) := by + rw [← Real.rpow_add hxpos] + congr 1 + ring + _ ≤ x ^ (2 * k) * x ^ (-1 : ℝ) := mul_le_mul_of_nonneg_left + (Real.rpow_le_rpow_of_exponent_le hx1 (by linarith)) (Real.rpow_nonneg hx _) + _ ≤ x ^ (2 * k) * ε := by rw [Real.rpow_neg_one]; gcongr + _ ≤ ε * x ^ (2 * k) + R ^ (2 * (6 - a)) := by + nlinarith [Real.rpow_nonneg hRpos.le (2 * (6 - a))] + +theorem homogeneousLowEnergy_interpolation (a k ε : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hε : 0 < ε) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : E → ℂ, + Integrable (fun ξ => ‖f ξ‖ ^ 2) → + Integrable (fun ξ => ‖ξ‖ ^ (2 * k) * ‖f ξ‖ ^ 2) → + homogeneousFrequencyEnergy (6 - a) f ≤ + ε * homogeneousFrequencyEnergy k f + C * homogeneousFrequencyEnergy 0 f := by + obtain ⟨C, hC, hweight⟩ := low_weight_interpolation a k ε ha ha1 hk hε + refine ⟨C, hC, ?_⟩ + intro f h0 hh + have hmajor := (hh.const_mul ε).add (h0.const_mul C) + have hbound : ∀ ξ : E, ‖ξ‖ ^ (2 * (6 - a)) * ‖f ξ‖ ^ 2 ≤ + ε * (‖ξ‖ ^ (2 * k) * ‖f ξ‖ ^ 2) + C * ‖f ξ‖ ^ 2 := by + intro ξ + have h := mul_le_mul_of_nonneg_right (hweight ‖ξ‖ (norm_nonneg _)) (sq_nonneg ‖f ξ‖) + nlinarith + have hi := integral_mono_of_nonneg (ae_of_all _ (fun ξ => + mul_nonneg (Real.rpow_nonneg (norm_nonneg _) _) (sq_nonneg ‖f ξ‖))) + hmajor (ae_of_all _ hbound) + simpa only [Pi.add_apply, integral_add (hh.const_mul ε) (h0.const_mul C), integral_const_mul, + homogeneousFrequencyEnergy, mul_zero, Real.rpow_zero, one_mul] using hi + +theorem tendsto_homogeneousLowEnergy_of_L2 (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hM : 0 ≤ M) + (f : ℕ → E → ℂ) + (h0 : ∀ n, Integrable (fun ξ => ‖f n ξ‖ ^ 2)) + (hh : ∀ n, Integrable (fun ξ => ‖ξ‖ ^ (2 * k) * ‖f n ξ‖ ^ 2)) + (hhigh : ∀ n, homogeneousFrequencyEnergy k (f n) ≤ M) + (hlow : Tendsto (fun n => homogeneousFrequencyEnergy 0 (f n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousFrequencyEnergy (6 - a) (f n)) atTop (𝓝 0) := by + apply tendsto_order.2 + constructor + · intro d hd + exact Filter.Eventually.of_forall (fun n => hd.trans_le (integral_nonneg (fun ξ => + mul_nonneg (Real.rpow_nonneg (norm_nonneg _) _) (sq_nonneg ‖f n ξ‖)))) + · intro ε hε + let δ := ε / (2 * (M + 1)) + have hδ : 0 < δ := div_pos hε (by positivity) + obtain ⟨C, _hC, hc⟩ := homogeneousLowEnergy_interpolation a k δ ha ha1 hk hδ + have hsmall := (hlow.const_mul C).eventually + (gt_mem_nhds (show C * 0 < ε / 2 by simpa only [mul_zero] using half_pos hε)) + have hδM : δ * M ≤ ε / 2 := by + have he : δ * (2 * (M + 1)) = ε := div_mul_cancel₀ _ (by positivity) + nlinarith [hδ.le] + filter_upwards [hsmall] with n hn + have hi := hc (f n) (h0 n) (hh n) + have hh' := mul_le_mul_of_nonneg_left (hhigh n) hδ.le + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..4b035f3c1dd15c0cb7dbf18b3e4607871ad795d4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEnergyObservation.lean @@ -0,0 +1,142 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPotentialEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedEnergy + +namespace OAI + +/-! # Integrated local observation for the actual whole-space linear evolution + +The constants depend on the fixed profile and k, and are independent of +both initial data and slab length. The proof uses the previously established +mild energy derivative, with no generator-domain hypothesis. +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] homogeneousFreeOperator + +theorem homogeneousLinearized_integrated_observation (a b : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m + 1)) ≤ M) + (hgap : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - + 2 * ((2 * ((m + 1 : ℕ) : ℝ) + 1) * M)) : + ∃ c : ℝ, 0 < c ∧ ∃ R : ℝ, 0 < R ∧ ∃ C : ℝ, 0 ≤ C ∧ + ∀ (T : ℝ) (hT : 0 ≤ T) (f : HomogeneousY a ((N + 1 : ℕ) : ℝ)) (t : Icc (0 : ℝ) T), + let S := homogeneousLinearizedTrajectory a b ((N + 1 : ℕ) : ℝ) T ha ha1 hk hT (m + 1) q f + ‖S t‖ ^ 2 ≤ Real.exp (-c * (t : ℝ)) * ‖f‖ ^ 2 + + C * ∫ τ in (0 : ℝ)..(t : ℝ), Real.exp (-c * ((t : ℝ) - τ)) * + ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk + (S (projIcc 0 T hT τ))‖ ^ 2 := by + obtain ⟨c, hc, R, hR, C, hC, henergy⟩ := + homogeneousLinearized_energy_observation a N ha ha1 hk m q M hM hQB hgap + refine ⟨c, hc, R, hR, C, hC, fun T hT f t => ?_⟩ + dsimp only + let V := homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q + let S := homogeneousLinearizedTrajectory a b ((N + 1 : ℕ) : ℝ) T ha ha1 hk hT (m + 1) q f + let r := homogeneousPotentialHistory T hT V S + let u := homogeneousForcedTrajectory a b ((N + 1 : ℕ) : ℝ) ha ha1 hk f r + let J := homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk + have hr : Continuous r := continuous_homogeneousPotentialHistory T hT V S + have hu : Continuous u := continuous_homogeneousForcedTrajectory a b _ ha ha1 hk f r hr + have heq (τ : ℝ) (hτ : τ ∈ Icc (0 : ℝ) T) : u τ = S (projIcc 0 T hT τ) := by + change homogeneousFreeOperator a b ((N + 1 : ℕ) : ℝ) τ ha ha1 hk f + + homogeneousDuhamel a b ((N + 1 : ℕ) : ℝ) ha ha1 hk τ r = S (projIcc 0 T hT τ) + have hp : projIcc 0 T hT τ = ⟨τ, hτ⟩ := by + apply Subtype.ext + exact congrArg Subtype.val (projIcc_of_mem hT hτ) + rw [hp] + exact (homogeneousLinearizedTrajectory_eq a b _ T ha ha1 hk hT (m + 1) q f ⟨τ,hτ⟩).symm + have ht : u (t : ℝ) = S t := by + rw [heq t t.2] + congr 1 + apply Subtype.ext + exact congrArg Subtype.val (projIcc_of_mem hT t.2) + let D := fun τ : ℝ => -a * ‖homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk (u τ)‖ ^ 2 + + (6 - 2 * a - ((N + 1 : ℕ) : ℝ)) * + ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk (u τ)‖ ^ 2 + + 2 * inner ℝ (u τ) (r τ) + have hD (τ : ℝ) : HasDerivAt (fun s => ‖u s‖ ^ 2) (D τ) τ := + hasDerivAt_homogeneousForcedEnergy a b _ ha ha1 hk f r hr τ + have hDc : Continuous D := by + dsimp only [D] + exact ((continuous_const.mul (((homogeneousLowEnergy a _ ha1 hk).continuous.comp hu).norm.pow 2)).add + (continuous_const.mul (((homogeneousHighEnergy a _ ha1 hk).continuous.comp hu).norm.pow 2))).add + (continuous_const.mul (hu.inner hr)) + have hDbound (τ : ℝ) (hτ : τ ∈ Icc (0 : ℝ) T) : + D τ ≤ -c * ‖u τ‖ ^ 2 + C * ‖J (u τ)‖ ^ 2 := by + have hrt : r τ = V (u τ) := by + change V (S (projIcc 0 T hT τ)) = V (u τ) + rw [heq τ hτ] + dsimp only [D] + rw [hrt] + exact henergy (u τ) + let F := fun τ : ℝ => Real.exp (c * τ) * ‖u τ‖ ^ 2 + let dF := fun τ : ℝ => Real.exp (c * τ) * (c * ‖u τ‖ ^ 2 + D τ) + have hF (τ : ℝ) : HasDerivAt F (dF τ) τ := by + have h := (((hasDerivAt_id τ).const_mul c).exp).mul (hD τ) + convert h using 1 + · rfl + · dsimp only [dF, id_eq] + ring + have hdFc : Continuous dF := by + dsimp only [dF] + fun_prop + have hmono : (∫ τ in (0 : ℝ)..(t : ℝ), dF τ) ≤ + ∫ τ in (0 : ℝ)..(t : ℝ), C * Real.exp (c * τ) * ‖J (u τ)‖ ^ 2 := by + have hg : Continuous (fun τ : ℝ => C * Real.exp (c * τ) * ‖J (u τ)‖ ^ 2) := by + fun_prop + apply intervalIntegral.integral_mono_on t.2.1 (hdFc.intervalIntegrable 0 t) + (hg.intervalIntegrable 0 t) + intro τ hτ + have hτT : τ ∈ Icc (0 : ℝ) T := ⟨hτ.1, hτ.2.trans t.2.2⟩ + have h := mul_le_mul_of_nonneg_left (hDbound τ hτT) (Real.exp_nonneg (c * τ)) + dsimp only [dF] + nlinarith + have hFTC := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun τ _ => hF τ) (hdFc.intervalIntegrable 0 t) + have hweighted : F (t : ℝ) ≤ F 0 + + ∫ τ in (0 : ℝ)..(t : ℝ), C * Real.exp (c * τ) * ‖J (u τ)‖ ^ 2 := by + linarith + have hF0 : F 0 = ‖f‖ ^ 2 := by + simp only [F, u, homogeneousForcedTrajectory_zero, mul_zero, Real.exp_zero, one_mul] + calc + ‖S t‖ ^ 2 = Real.exp (-c * (t : ℝ)) * F (t : ℝ) := by + dsimp only [F] + rw [ht, ← mul_assoc, ← Real.exp_add] + simp + _ ≤ Real.exp (-c * (t : ℝ)) * (F 0 + + ∫ τ in (0 : ℝ)..(t : ℝ), C * Real.exp (c * τ) * ‖J (u τ)‖ ^ 2) := + mul_le_mul_of_nonneg_left hweighted (Real.exp_nonneg _) + _ = _ := by + rw [hF0, mul_add, ← intervalIntegral.integral_const_mul, + ← intervalIntegral.integral_const_mul] + congr 1 + apply intervalIntegral.integral_congr + intro τ hτ + have hτT : τ ∈ Icc (0 : ℝ) T := by + rw [uIcc_of_le t.2.1] at hτ + exact ⟨hτ.1,hτ.2.trans t.2.2⟩ + dsimp only [J] + rw [heq τ hτT] + have hexp : Real.exp (-c * (t : ℝ)) * Real.exp (c * τ) = + Real.exp (-c * ((t : ℝ) - τ)) := by + rw [← Real.exp_add] + congr 1 + ring + calc + _ = C * (Real.exp (-c * (t : ℝ)) * Real.exp (c * τ)) * + ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk + (S (projIcc 0 T hT τ))‖ ^ 2 := by ring + _ = _ := by + rw [hexp] + dsimp only [S] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEssentialContraction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEssentialContraction.lean new file mode 100644 index 0000000000000000000000000000000000000000..81bf58780549a5ef4c9c7f0fe6b29c29f76e4f34 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEssentialContraction.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyObservation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousTimeObservation + +namespace OAI + +/-! # The actual time-step contraction on weakly null data + +The integrated local term tends to zero by the already proved compact +physical observation. This is the whole-space time-step estimate used +before the finite-rank spectral decomposition. +-/ + +open MeasureTheory Set Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousLinearized_weakNull_contraction (a b : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m + 1)) ≤ M) + (hgap : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - + 2 * ((2 * ((m + 1 : ℕ) : ℝ) + 1) * M)) : + ∃ c : ℝ, 0 < c ∧ ∀ (T : ℝ) (hT : 0 ≤ T) (A : ℝ) + (u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ)), (∀ n, ‖u n‖ ≤ A) → + (∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ n in atTop, + ‖homogeneousLinearizedPropagator a b ((N + 1 : ℕ) : ℝ) T ha ha1 hk hT + (m + 1) q (u n) ⟨T, hT, le_rfl⟩‖ ^ 2 < Real.exp (-c * T) * A ^ 2 + ε := by + obtain ⟨c, hc, R, _hR, C, _hC, hobs⟩ := + homogeneousLinearized_integrated_observation a b N ha ha1 hk m q M hM hQB hgap + refine ⟨c, hc, fun T hT A u hu hw ε hε => ?_⟩ + have htime := tendsto_homogeneousLinearized_timeObservation a b ((N + 1 : ℕ) : ℝ) + T R A c ha ha1 hk hT (m + 1) q u hu hw + have hsmall := (htime.const_mul C).eventually + (gt_mem_nhds (show C * 0 < ε by simpa only [mul_zero] using hε)) + filter_upwards [hsmall] with n hn + have he := hobs T hT (u n) ⟨T,hT,le_rfl⟩ + dsimp only at he + have hA : ‖u n‖ ^ 2 ≤ A ^ 2 := pow_le_pow_left₀ (norm_nonneg _) (hu n) 2 + have hb := mul_le_mul_of_nonneg_left hA (Real.exp_nonneg (-c * T)) + change _ < Real.exp (-c * T) * A ^ 2 + ε + simpa only [homogeneousLinearizedPropagator_apply] using he.trans_lt (add_lt_add_of_le_of_lt hb hn) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..161419eb65b420d372155a314db6251e814e7ce8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerBounds.lean @@ -0,0 +1,180 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEulerRecurrence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLogJetBound + +namespace OAI + +/-! # Leading high-derivative row of the radial spectral equation + +The original logarithmic damping is an exponential diagonal plus a bounded +matrix. Repeated falling-Euler differentiation produces its powers as the +leading velocity coefficient. The remaining coefficient is two powers of +radius smaller; this is an operator statement for both channels together. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +private theorem eulerRows_one (B C : ℝ → End) : + homogeneousEulerRows B C 1 = (fun _ => 0, fun _ => 1) := by + apply Prod.ext <;> funext t <;> apply ContinuousLinearMap.ext <;> intro w + all_goals simp [homogeneousEulerRows, sub_apply, smul_apply] + +theorem homogeneousEulerRows_bound (B C : ℝ → End) + (hB : HasLogJetBound 2 B) (hC : HasLogJetBound 2 C) (n : ℕ) : + HasLogJetBound (2 * (n : ℝ)) (homogeneousEulerRows B C (n + 1)).1 ∧ + HasLogJetBound (2 * (n : ℝ)) (homogeneousEulerRows B C (n + 1)).2 := by + induction n with + | zero => + rw [show (0 : ℕ) + 1 = 1 by rfl, eulerRows_one] + exact ⟨by simpa using (HasLogJetBound.zero 0 : + HasLogJetBound 0 (fun _ : ℝ => (0 : End))), + by simpa using (HasLogJetBound.const (1 : End))⟩ + | succ n ih => + let S := (homogeneousEulerRows B C (n + 1)).1 + let T := (homogeneousEulerRows B C (n + 1)).2 + have hm : 2 * (n : ℝ) ≤ 2 * ((n + 1 : ℕ) : ℝ) := by push_cast; linarith + have hSC : HasLogJetBound (2 * ((n + 1 : ℕ) : ℝ)) (fun t => T t * C t) := by + convert ih.2.mul hC using 1 + push_cast + ring + have hTB : HasLogJetBound (2 * ((n + 1 : ℕ) : ℝ)) (fun t => T t * B t) := by + convert ih.2.mul hB using 1 + push_cast + ring + have hS : HasLogJetBound (2 * (n : ℝ)) S := ih.1 + have hT : HasLogJetBound (2 * (n : ℝ)) T := ih.2 + have hs := ((hS.deriv.sub (hS.smul (n + 1))).mono hm).sub hSC + have ht := (((hS.add hT.deriv).sub (hT.smul (n + 1))).mono hm).sub hTB + change HasLogJetBound (2 * ((n + 1 : ℕ) : ℝ)) + (fun t => deriv S t - ((n + 1 : ℕ) : ℝ) • S t - T t * C t) ∧ + HasLogJetBound (2 * ((n + 1 : ℕ) : ℝ)) + (fun t => S t + deriv T t - ((n + 1 : ℕ) : ℝ) • T t - T t * B t) + constructor + · simpa only [Nat.cast_add, Nat.cast_one] using hs + · simpa only [Nat.cast_add, Nat.cast_one] using ht + +noncomputable def homogeneousEulerLeading (D : End) (n : ℕ) (t : ℝ) : End := + Real.exp (2 * (n : ℝ) * t) • (-D) ^ n + +theorem homogeneousEulerLeading_step (D : End) (n : ℕ) (t : ℝ) : + -(homogeneousEulerLeading D n t * (Real.exp (2 * t) • D)) = + homogeneousEulerLeading D (n + 1) t := by + apply ContinuousLinearMap.ext + intro w + simp only [homogeneousEulerLeading, neg_apply, smul_apply, mul_apply_eq_comp, + ContinuousLinearMap.map_smul_of_tower, smul_smul, pow_succ, map_neg] + rw [← Real.exp_add] + have he : 2 * (n : ℝ) * t + 2 * t = 2 * ((n + 1 : ℕ) : ℝ) * t := by + push_cast + ring + rw [he] + simp only [smul_neg] + +theorem homogeneousEulerRows_leading (B C : ℝ → End) (D : End) (B₀ : ℝ → End) + (hB₀ : HasLogJetBound 0 B₀) (hC : HasLogJetBound 2 C) + (hB : ∀ t, B t = B₀ t + Real.exp (2 * t) • D) (n : ℕ) : + HasLogJetBound (2 * ((n : ℝ) - 1)) + (fun t => (homogeneousEulerRows B C (n + 1)).2 t - homogeneousEulerLeading D n t) := by + have hBbound : HasLogJetBound 2 B := by + have hb := (hB₀.mono (by norm_num : (0 : ℝ) ≤ 2)).add + (HasLogJetBound.exponential 2 D) + simpa only [show (fun t => B₀ t + Real.exp (2 * t) • D) = B from funext (fun t => (hB t).symm)] using hb + induction n with + | zero => + rw [show (0 : ℕ) + 1 = 1 by rfl, eulerRows_one] + simpa [homogeneousEulerLeading] using + (HasLogJetBound.zero (-2) : HasLogJetBound (-2) (fun _ : ℝ => (0 : End))) + | succ n ih => + let S := (homogeneousEulerRows B C (n + 1)).1 + let T := (homogeneousEulerRows B C (n + 1)).2 + obtain ⟨hS, hT⟩ := homogeneousEulerRows_bound B C hBbound hC n + have hrem : HasLogJetBound (2 * (n : ℝ)) + (fun t => (T t - homogeneousEulerLeading D n t) * (Real.exp (2 * t) • D)) := by + convert ih.mul (HasLogJetBound.exponential 2 D) using 1 + ring + have hlow : HasLogJetBound (2 * (n : ℝ)) + (fun t => S t + deriv T t - (n + 1 : ℝ) • T t - T t * B₀ t) := by + have hm : HasLogJetBound (2 * (n : ℝ)) (fun t => T t * B₀ t) := by + simpa only [add_zero] using hT.mul hB₀ + exact ((hS.add hT.deriv).sub (hT.smul (n + 1))).sub hm + have heq : (fun t => (homogeneousEulerRows B C (n + 1 + 1)).2 t - + homogeneousEulerLeading D (n + 1) t) = + (fun t => (S t + deriv T t - (n + 1 : ℝ) • T t - T t * B₀ t) - + (T t - homogeneousEulerLeading D n t) * (Real.exp (2 * t) • D)) := by + funext t + change S t + deriv T t - ((n + 1 : ℕ) : ℝ) • T t - T t * B t - + homogeneousEulerLeading D (n + 1) t = _ + rw [hB t, ← homogeneousEulerLeading_step D n t] + push_cast + rw [mul_add, sub_mul] + abel + rw [heq] + convert hlow.sub hrem using 1 + push_cast + ring + +/-- The actual leading diagonal has a positive lower stretch. The operator +error is uniformly smaller, simultaneously for all vectors in both channels. -/ +theorem homogeneousEulerRows_norm_lower (B C : ℝ → End) (D : End) (B₀ : ℝ → End) + (hB₀ : HasLogJetBound 0 B₀) (hC : HasLogJetBound 2 C) + (hB : ∀ t, B t = B₀ t + Real.exp (2 * t) • D) + (c : ℝ) (hc : 0 < c) (hD : ∀ w : V, ‖D w‖ = c * ‖w‖) (n : ℕ) : + ∀ᶠ t : ℝ in atTop, ∀ w : V, + (c ^ n / 2) * Real.exp (2 * (n : ℝ) * t) * ‖w‖ ≤ + ‖(homogeneousEulerRows B C (n + 1)).2 t w‖ := by + have hp (k : ℕ) (w : V) : ‖((-D) ^ k) w‖ = c ^ k * ‖w‖ := by + induction k generalizing w with + | zero => simp + | succ k ih => + rw [pow_succ, mul_apply_eq_comp, ih] + simp only [neg_apply, norm_neg, hD, pow_succ] + ring + have hlead (t : ℝ) (w : V) : + ‖homogeneousEulerLeading D n t w‖ = c ^ n * Real.exp (2 * (n : ℝ) * t) * ‖w‖ := by + simp only [homogeneousEulerLeading, smul_apply, norm_smul, + Real.norm_eq_abs, abs_of_pos (Real.exp_pos _), hp] + ring + obtain ⟨E, hE, hb⟩ := (homogeneousEulerRows_leading B C D B₀ hB₀ hC hB n).bound 0 + have hsmall : ∀ᶠ t : ℝ in atTop, E * Real.exp (-2 * t) ≤ c ^ n / 2 := by + have hh := (Real.tendsto_exp_neg_atTop_nhds_zero.comp + (Tendsto.const_mul_atTop (by norm_num : (0 : ℝ) < 2) tendsto_id)).const_mul E + have hpos : E * 0 < c ^ n / 2 := by + rw [mul_zero] + exact div_pos (pow_pos hc _) (by norm_num) + have hh' := hh.eventually (gt_mem_nhds hpos) + simpa only [Function.comp_def, id_eq, neg_mul] using hh'.mono (fun _ h => h.le) + filter_upwards [hb, hsmall] with t ht hs + intro w + simp only [iteratedDeriv_zero] at ht + let T := (homogeneousEulerRows B C (n + 1)).2 t + let A := homogeneousEulerLeading D n t + have herr : ‖(T - A) w‖ ≤ (c ^ n / 2) * Real.exp (2 * (n : ℝ) * t) * ‖w‖ := by + have he := (ContinuousLinearMap.le_opNorm (T - A) w).trans + (mul_le_mul_of_nonneg_right ht (norm_nonneg w)) + apply he.trans + have heq : Real.exp (2 * ((n : ℝ) - 1) * t) = + Real.exp (-2 * t) * Real.exp (2 * (n : ℝ) * t) := by + rw [← Real.exp_add] + congr 1 + ring + rw [heq] + have hh := mul_le_mul_of_nonneg_right hs + (mul_nonneg (Real.exp_pos (2 * (n : ℝ) * t)).le (norm_nonneg w)) + convert hh using 1 <;> ring + have htri : ‖A w‖ ≤ ‖T w‖ + ‖(T - A) w‖ := by + calc + ‖A w‖ = ‖T w - (T - A) w‖ := by simp only [sub_apply, sub_sub_cancel] + _ ≤ _ := norm_sub_le _ _ + change ‖homogeneousEulerLeading D n t w‖ ≤ _ at htri + rw [hlead] at htri + change _ ≤ ‖T w‖ + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerPhysical.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerPhysical.lean new file mode 100644 index 0000000000000000000000000000000000000000..6429165050293b58d799663cf05237e5aa81bbd0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerPhysical.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEulerRecurrence +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! # Falling Euler derivatives are the actual radial derivatives + +This identity converts the exact logarithmic coefficient recurrence back to +the top physical derivative occurring in the homogeneous Sobolev norm. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ + +theorem homogeneousPair_iteratedDeriv_smooth (U : ℝ → V) + (hU : ContDiffOn ℝ ∞ U (Ioi 0)) (n : ℕ) : + ContDiffOn ℝ ∞ (iteratedDeriv n U) (Ioi 0) := by + induction n with + | zero => simpa using hU + | succ n ih => + rw [iteratedDeriv_succ] + exact ih.deriv_of_isOpen isOpen_Ioi (by simp) + +theorem homogeneousEulerDeriv_physical (U : ℝ → V) + (hU : ContDiffOn ℝ ∞ U (Ioi 0)) (n : ℕ) (t : ℝ) : + homogeneousEulerDeriv (fun s => U (Real.exp s)) n t = + Real.exp ((n : ℝ) * t) • iteratedDeriv n U (Real.exp t) := by + induction n generalizing t with + | zero => simp [homogeneousEulerDeriv] + | succ n ih => + have heq : homogeneousEulerDeriv (fun s => U (Real.exp s)) n = + (fun s => Real.exp ((n : ℝ) * s) • iteratedDeriv n U (Real.exp s)) := funext ih + have hUn : HasDerivAt (iteratedDeriv n U) (iteratedDeriv (n + 1) U (Real.exp t)) + (Real.exp t) := by + rw [iteratedDeriv_succ] + exact (((homogeneousPair_iteratedDeriv_smooth U hU n) _ (Real.exp_pos t)).contDiffAt + (Ioi_mem_nhds (Real.exp_pos t))).differentiableAt (by simp) |>.hasDerivAt + have hUt : HasDerivAt (fun s => iteratedDeriv n U (Real.exp s)) + (Real.exp t • iteratedDeriv (n + 1) U (Real.exp t)) t := + hUn.scomp t (Real.hasDerivAt_exp t) + have hweight : HasDerivAt (fun s : ℝ => Real.exp ((n : ℝ) * s)) + ((n : ℝ) * Real.exp ((n : ℝ) * t)) t := by + convert ((hasDerivAt_id t).const_mul (n : ℝ)).exp using 1 <;> simp [mul_comm] + have hh := hweight.smul hUt + change HasDerivAt (fun s => Real.exp ((n : ℝ) * s) • iteratedDeriv n U (Real.exp s)) _ t at hh + change deriv (homogeneousEulerDeriv (fun s => U (Real.exp s)) n) t - + (n : ℝ) • homogeneousEulerDeriv (fun s => U (Real.exp s)) n t = _ + rw [heq, hh.deriv] + simp only [smul_smul] + have hexp : Real.exp ((n : ℝ) * t) * Real.exp t = Real.exp (((n + 1 : ℕ) : ℝ) * t) := by + rw [← Real.exp_add] + congr 1 + push_cast + ring + rw [hexp] + abel + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerRecurrence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerRecurrence.lean new file mode 100644 index 0000000000000000000000000000000000000000..89b3ae1c8bd7d7361b8220d8f76061e41ee5aaaa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEulerRecurrence.lean @@ -0,0 +1,126 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialDefect +import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas + +namespace OAI + +/-! # Exact finite recurrence for high physical radial derivatives + +In logarithmic radius the falling Euler derivatives are represented by two +operator rows. This is an identity for the original second-order equation, +not an asymptotic ansatz for a fast solution. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +noncomputable def homogeneousEulerDeriv (F : ℝ → V) : ℕ → ℝ → V + | 0 => F + | n + 1 => fun t => deriv (homogeneousEulerDeriv F n) t - + (n : ℝ) • homogeneousEulerDeriv F n t + +noncomputable def homogeneousEulerRows (B C : ℝ → End) : ℕ → (ℝ → End) × (ℝ → End) + | 0 => (fun _ => 1, fun _ => 0) + | n + 1 => + let S := (homogeneousEulerRows B C n).1 + let T := (homogeneousEulerRows B C n).2 + (fun t => deriv S t - (n : ℝ) • S t - T t * C t, + fun t => S t + deriv T t - (n : ℝ) • T t - T t * B t) + +theorem homogeneousEulerRows_smooth (B C : ℝ → End) (L : ℝ) + (hB : ContDiffOn ℝ ∞ B (Ioi L)) (hC : ContDiffOn ℝ ∞ C (Ioi L)) (n : ℕ) : + ContDiffOn ℝ ∞ (homogeneousEulerRows B C n).1 (Ioi L) ∧ + ContDiffOn ℝ ∞ (homogeneousEulerRows B C n).2 (Ioi L) := by + induction n with + | zero => exact ⟨contDiffOn_const, contDiffOn_const⟩ + | succ n ih => + exact ⟨((ih.1.deriv_of_isOpen isOpen_Ioi (by simp)).sub (ih.1.const_smul _)).sub + (ih.2.mul hC), + ((ih.1.add (ih.2.deriv_of_isOpen isOpen_Ioi (by simp))).sub + (ih.2.const_smul _)).sub (ih.2.mul hB)⟩ + +theorem homogeneousEulerRows_identity (B C : ℝ → End) (F G : ℝ → V) (L : ℝ) + (hB : ContDiffOn ℝ ∞ B (Ioi L)) (hC : ContDiffOn ℝ ∞ C (Ioi L)) + (hF : ∀ t, L < t → HasDerivAt F (G t) t) + (hG : ∀ t, L < t → HasDerivAt G (-B t (G t) - C t (F t)) t) (n : ℕ) : + ∀ t, L < t → homogeneousEulerDeriv F n t = + (homogeneousEulerRows B C n).1 t (F t) + + (homogeneousEulerRows B C n).2 t (G t) := by + induction n with + | zero => intro t ht; simp [homogeneousEulerDeriv, homogeneousEulerRows] + | succ n ih => + intro t ht + let S := (homogeneousEulerRows B C n).1 + let T := (homogeneousEulerRows B C n).2 + obtain ⟨hS, hT⟩ := homogeneousEulerRows_smooth B C L hB hC n + have hSd : HasDerivAt S (deriv S t) t := + ((hS t ht).contDiffAt (Ioi_mem_nhds ht)).differentiableAt (by simp) |>.hasDerivAt + have hTd : HasDerivAt T (deriv T t) t := + ((hT t ht).contDiffAt (Ioi_mem_nhds ht)).differentiableAt (by simp) |>.hasDerivAt + have hEq : homogeneousEulerDeriv F n =ᶠ[𝓝 t] + (fun s => S s (F s) + T s (G s)) := by + filter_upwards [Ioi_mem_nhds ht] with s hs + exact ih s hs + have hd := ((homogeneousComplexOperator_hasDerivAt_apply S _ F _ t hSd (hF t ht)).add + (homogeneousComplexOperator_hasDerivAt_apply T _ G _ t hTd (hG t ht))).congr_of_eventuallyEq + hEq + change deriv (homogeneousEulerDeriv F n) t - (n : ℝ) • + homogeneousEulerDeriv F n t = _ + rw [hd.deriv, ih t ht] + change _ = (deriv S t - (n : ℝ) • S t - T t * C t) (F t) + + (S t + deriv T t - (n : ℝ) • T t - T t * B t) (G t) + simp only [sub_apply, add_apply, smul_apply, mul_apply_eq_comp, + map_sub, map_neg, smul_add, S, T] + abel + +/-- At each derivative order the value-row remainder is exactly the +corresponding derivative of the two outgoing columns. -/ +theorem homogeneousEulerRows_outgoing_remainder + (B C : ℝ → End) (u v du dv : ℝ → V) (L : ℝ) + (hB : ContDiffOn ℝ ∞ B (Ioi L)) (hC : ContDiffOn ℝ ∞ C (Ioi L)) + (hu : ∀ t, L < t → HasDerivAt u (du t) t) + (hv : ∀ t, L < t → HasDerivAt v (dv t) t) + (hdu : ∀ t, L < t → HasDerivAt du (-B t (du t) - C t (u t)) t) + (hdv : ∀ t, L < t → HasDerivAt dv (-B t (dv t) - C t (v t)) t) + (n : ℕ) (t : ℝ) (ht : L < t) (hdet : spectralValueDet (u t) (v t) ≠ 0) : + (homogeneousEulerRows B C n).1 t + + (homogeneousEulerRows B C n).2 t * spectralRobinOperator (u t) (v t) (du t) (dv t) = + spectralTwoColumns (homogeneousEulerDeriv u n t) (homogeneousEulerDeriv v n t) * + spectralValueInverse (u t) (v t) := by + let S := (homogeneousEulerRows B C n).1 t + let T := (homogeneousEulerRows B C n).2 t + let A := spectralRobinOperator (u t) (v t) (du t) (dv t) + have hArF : A * spectralTwoColumns (u t) (v t) = spectralTwoColumns (du t) (dv t) := by + apply ContinuousLinearMap.ext + intro z + exact spectralRobinOperator_columns (u t) (v t) (du t) (dv t) z hdet + have hleft : (S + T * A) * spectralTwoColumns (u t) (v t) = + spectralTwoColumns (homogeneousEulerDeriv u n t) (homogeneousEulerDeriv v n t) := by + rw [add_mul, mul_assoc, hArF] + apply ContinuousLinearMap.ext + intro z + simp only [add_apply, mul_apply_eq_comp, spectralTwoColumns_apply, map_add, map_smul] + rw [homogeneousEulerRows_identity B C u du L hB hC hu hdu n t ht, + homogeneousEulerRows_identity B C v dv L hB hC hv hdv n t ht] + simp only [S, T, smul_add] + abel + apply ContinuousLinearMap.ext + intro x + obtain ⟨z, rfl⟩ := LinearMap.surjective_of_injective + (f := (spectralTwoColumns (u t) (v t)).toLinearMap) + (show Function.Injective (spectralTwoColumns (u t) (v t)) from + (show Function.LeftInverse (spectralValueInverse (u t) (v t)) + (spectralTwoColumns (u t) (v t)) from + fun z => spectralValueInverse_apply_columns (u t) (v t) z hdet).injective) x + change ((S + T * A) * spectralTwoColumns (u t) (v t)) z = _ + rw [hleft] + exact congrArg (spectralTwoColumns (homogeneousEulerDeriv u n t) + (homogeneousEulerDeriv v n t)) (spectralValueInverse_apply_columns (u t) (v t) z hdet).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEvaluationContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEvaluationContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..eb169c18a0668ba9c367ec8a10bfdb1cf8c2701d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousEvaluationContinuity.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousTranslation +import Mathlib.Analysis.InnerProductSpace.Dual + +namespace OAI + +/-! # Norm-continuity of actual point observation + +The Fourier translation isometry makes all evaluation dual norms equal. +Physical continuity gives weak continuity of their Riesz vectors; the +constant norm and the Hilbert norm-square identity give norm-continuity. +-/ + +open Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem continuous_homogeneousPointEvaluation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Continuous (homogeneousPointEvaluation a k ha ha1 hk) := by + let L : E → StrongDual ℂ (HomogeneousY a k) := homogeneousPointEvaluation a k ha ha1 hk + let K : E → HomogeneousY a k := fun y => (InnerProductSpace.toDual ℂ _).symm (L y) + let c := ‖L 0‖ + have hKn (y : E) : ‖K y‖ = c := by + rw [show ‖K y‖ = ‖L y‖ from (InnerProductSpace.toDual ℂ _).symm.norm_map (L y)] + exact homogeneousPointEvaluation_norm_const a k ha ha1 hk y + have hinner (y x : E) : inner ℂ (K y) (K x) = L y (K x) := + InnerProductSpace.toDual_symm_apply + have hK : Continuous K := by + apply continuous_iff_continuousAt.mpr + intro x + have heval : Continuous (fun y : E => (L y (K x)).re) := + Complex.continuous_re.comp (homogeneousPhysicalCLM a k ha ha1 hk (K x)).continuous + have hsq : Continuous (fun y : E => ‖K y - K x‖ ^ 2) := by + simp_rw [norm_sub_sq (𝕜 := ℂ), hKn, hinner] + exact (continuous_const.sub (heval.const_mul 2)).add continuous_const + have hnorm : Continuous (fun y : E => ‖K y - K x‖) := by + convert Real.continuous_sqrt.comp hsq using 1 + funext y + exact (Real.sqrt_sq (norm_nonneg _)).symm + apply tendsto_iff_norm_sub_tendsto_zero.mpr + simpa only [sub_self, norm_zero] using (hnorm.continuousAt (x := x)).tendsto + have heq : L = fun y => InnerProductSpace.toDual ℂ (HomogeneousY a k) (K y) := by + funext y + exact ((InnerProductSpace.toDual ℂ _).apply_symm_apply (L y)).symm + change Continuous L + rw [heq] + exact (InnerProductSpace.toDual ℂ _).continuous.comp hK + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFastTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFastTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..e5df3efb1711c902c1cb2f384117a3fa608e2c4f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFastTail.lean @@ -0,0 +1,77 @@ +import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals +import Mathlib.MeasureTheory.Function.L2Space + +namespace OAI + +/-! # The fast radial exponent cannot satisfy the top-derivative condition + +Only the elementary power comparison is used here. Applying it to an +actual slow/fast decomposition still requires the normalized asymptotic +formula for that solution; no decomposition is postulated as an input. +-/ + +open MeasureTheory Set Filter Topology + +namespace DefocusingNLS + +/-- Any nonzero tail bounded below by r^beta with beta >= -6 fails the +12-dimensional radial square-integrability condition. -/ +theorem radial_weighted_not_integrable_of_power_lower + (f : ℝ → ℂ) (R beta c : ℝ) (hc : 0 < c) (hb : -6 ≤ beta) + (hlower : ∀ᶠ r in atTop, c * r ^ beta ≤ ‖f r‖) : + ¬ IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R) := by + intro hf + obtain ⟨T, hT⟩ := eventually_atTop.1 hlower + let A := max (max R T) 1 + have hAR : R ≤ A := (le_max_left R T).trans (le_max_left _ _) + have hAT : T ≤ A := (le_max_right R T).trans (le_max_left _ _) + have hA : 0 < A := zero_lt_one.trans_le (le_max_right _ _) + have hsmall : IntegrableOn (fun r => c ^ 2 * r ^ (11 + 2 * beta)) (Ioi A) := by + apply (hf.mono_set (Ioi_subset_Ioi hAR)).mono' + · exact (measurable_const.mul (measurable_id.pow_const _)).aestronglyMeasurable + filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr + have hr0 : 0 < r := hA.trans hr + have hrT : T ≤ r := hAT.trans hr.le + have hsq := pow_le_pow_left₀ (mul_nonneg hc.le (Real.rpow_nonneg hr0.le _)) + (hT r hrT) 2 + have hpow : c ^ 2 * r ^ (11 + 2 * beta) = r ^ (11 : ℕ) * (c * r ^ beta) ^ 2 := by + have hbeta : r ^ (2 * beta) = (r ^ beta) ^ (2 : ℕ) := by + rw [mul_comm (2 : ℝ) beta, Real.rpow_mul hr0.le] + simp only [Real.rpow_ofNat] + rw [Real.rpow_add hr0, hbeta] + simp only [Real.rpow_ofNat, mul_pow] + ring + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity), hpow] + exact mul_le_mul_of_nonneg_left hsq (by positivity) + have hn : c ^ 2 ≠ 0 := pow_ne_zero _ hc.ne' + have hpower : IntegrableOn (fun r : ℝ => r ^ (11 + 2 * beta)) (Ioi A) := by + have h := hsmall.const_mul ((c ^ 2)⁻¹) + simpa only [IntegrableOn, ← mul_assoc, inv_mul_cancel₀ hn, one_mul] using h + exact (not_integrableOn_Ioi_rpow_of_neg_one_le (a := A) (by linarith)) hpower + +/-- A nonzero normalized limiting amplitude is incompatible with the radial +L² condition whenever its power is at least the threshold -6. -/ +theorem radial_weighted_limit_eq_zero + (f : ℝ → ℂ) (R beta c : ℝ) (hb : -6 ≤ beta) (hc : 0 ≤ c) + (hf : IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R)) + (hlim : Tendsto (fun r => ‖f r‖ / r ^ beta) atTop (𝓝 c)) : c = 0 := by + by_contra hn + have hc0 : 0 < c := lt_of_le_of_ne hc (Ne.symm hn) + have hpos := hlim.eventually (lt_mem_nhds (show c / 2 < c by linarith)) + have hlower : ∀ᶠ r in atTop, (c / 2) * r ^ beta ≤ ‖f r‖ := by + filter_upwards [hpos, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + exact ((lt_div_iff₀ (Real.rpow_pos_of_pos hr0 _)).mp hr).le + exact radial_weighted_not_integrable_of_power_lower f R beta (c / 2) + (by positivity) hb hlower hf + +/-- The exponent in the manuscript's fast kth derivative is above the +radial L² threshold throughout the counting half-plane. -/ +theorem fast_derivative_exponent (a reLam : ℝ) (k : ℕ) + (ha : 0 ≤ a) (hLam : -(1 / 32 : ℝ) ≤ reLam) (hk : 7 ≤ k) : + -6 < (k : ℝ) - 12 + 2 * (a + reLam) := by + have hk' : (7 : ℝ) ≤ k := by exact_mod_cast hk + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteCodimension.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteCodimension.lean new file mode 100644 index 0000000000000000000000000000000000000000..4be514f495d422aa09d46747be8d905326ff08d6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteCodimension.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEssentialContraction +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeakSubsequence + +namespace OAI + +/-! # A finite-dimensional exception to the actual weak-null contraction + +The argument uses a countable dense family only to choose finitely many +orthogonality constraints. The weak-null bound is supplied by the proved +whole-space energy observation inequality. +-/ + +open MeasureTheory Filter Topology +open scoped ENNReal + +namespace DefocusingNLS + +theorem homogeneousOperator_finite_annihilator (a k r δ : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hδ : 0 < δ) + (T : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (hweak : ∀ u : ℕ → HomogeneousY a k, (∀ j, ‖u j‖ ≤ 1) → + (∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, ‖T (u j)‖ ^ 2 < r + ε) : + ∃ (d : ℕ → HomogeneousY a k) (N : ℕ), + ∀ u : HomogeneousY a k, (∀ i ≤ N, inner ℂ (d i) u = 0) → + ‖T u‖ ^ 2 ≤ (r + δ) * ‖u‖ ^ 2 := by + let := homogeneousFourierMeasure_locallyFinite a k ha1 hk + let : Fact ((2 : ℝ≥0∞) ≠ ∞) := ⟨by norm_num⟩ + let : MeasureTheory.IsSeparable (homogeneousFourierMeasure a k) := inferInstance + let : SecondCountableTopology (HomogeneousY a k) := inferInstance + obtain ⟨d, hd⟩ := TopologicalSpace.exists_dense_seq (HomogeneousY a k) + refine ⟨d, ?_⟩ + by_contra! h + choose u horth hlarge using h + have hup (j : ℕ) : 0 < ‖u j‖ := by + by_contra hz + have hu0 : u j = 0 := norm_eq_zero.mp (le_antisymm (le_of_not_gt hz) (norm_nonneg _)) + simpa only [hu0, map_zero, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0), mul_zero, + lt_self_iff_false] using hlarge j + let w : ℕ → HomogeneousY a k := fun j => (‖u j‖)⁻¹ • u j + have hwn (j : ℕ) : ‖w j‖ = 1 := by + dsimp only [w] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (hup j)), + inv_mul_cancel₀ (hup j).ne'] + have hTw (j : ℕ) : ‖T (w j)‖ = ‖T (u j)‖ / ‖u j‖ := by + dsimp only [w] + rw [map_smul, norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (hup j))] + exact (mul_comm _ _).trans (div_eq_mul_inv _ _).symm + have hwlarge (j : ℕ) : r + δ < ‖T (w j)‖ ^ 2 := by + rw [hTw j, div_pow] + exact (lt_div_iff₀ (sq_pos_of_pos (hup j))).mpr (hlarge j) + have hworth (i j : ℕ) (hij : i ≤ j) : inner ℂ (d i) (w j) = 0 := by + dsimp only [w] + rw [inner_smul_right_eq_smul, horth j i hij, smul_zero] + obtain ⟨v, _hv, φ, hφ, hw⟩ := homogeneousY_weak_subsequence a k 1 ha1 hk w + (fun j => (hwn j).le) + have hv0 : v = 0 := by + have hi (i : ℕ) : inner ℂ (d i) v = 0 := by + let ℓ : HomogeneousY a k →L[ℝ] ℂ := (innerSL ℂ (d i)).restrictScalars ℝ + have hlim := hw ℓ + change Tendsto (fun j => inner ℂ (d i) (w (φ j))) atTop (𝓝 (inner ℂ (d i) v)) at hlim + have hzero : Tendsto (fun j => inner ℂ (d i) (w (φ j))) atTop (𝓝 0) := by + apply tendsto_const_nhds.congr' + filter_upwards [hφ.tendsto_atTop.eventually (eventually_ge_atTop i)] with j hj + exact (hworth i (φ j) hj).symm + exact tendsto_nhds_unique hlim hzero + have he : (fun x : HomogeneousY a k => inner ℂ x v) = fun _ => (0 : ℂ) := + hd.equalizer (by fun_prop) continuous_const (funext hi) + exact (inner_self_eq_zero (𝕜 := ℂ)).mp (congrFun he v) + have hupper := hweak (fun j => w (φ j)) (fun j => (hwn (φ j)).le) + (fun ℓ => by simpa only [hv0, map_zero] using hw ℓ) δ hδ + obtain ⟨j, hj⟩ := hupper.exists + exact (not_lt_of_ge (hwlarge (φ j)).le) hj + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankAnalytic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankAnalytic.lean new file mode 100644 index 0000000000000000000000000000000000000000..c3ba1bff0ea850b858e30ebc28888dec6b8d98f7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankAnalytic.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankCriterion +import Mathlib.Analysis.Analytic.Constructions +import Mathlib.Analysis.Normed.Operator.Bilinear + +namespace OAI + +/-! # Holomorphic finite-dimensional obstruction for the linearized step + +The Schur determinant is holomorphic on the resolvent of the contracting +part. This is the scalar analytic function used to isolate the remaining +spectral points of the actual finite-rank decomposition. +-/ + +namespace DefocusingNLS + +private theorem matrix_det_analyticAt {ι : Type*} [Fintype ι] [DecidableEq ι] + (M : ℂ → Matrix ι ι ℂ) (z : ℂ) + (hM : ∀ i j, AnalyticAt ℂ (fun w => M w i j) z) : + AnalyticAt ℂ (fun w => (M w).det) z := by + simp_rw [Matrix.det_apply'] + apply Finset.analyticAt_fun_sum + intro σ _ + apply AnalyticAt.mul analyticAt_const + apply Finset.analyticAt_fun_prod + intro i _ + exact hM (σ i) i + +section + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] + +local instance : CompleteSpace F := FiniteDimensional.complete ℂ F + +theorem finiteDimensional_det_analyticAt (D : ℂ → F →L[ℂ] F) (z : ℂ) + (hD : AnalyticAt ℂ D z) : AnalyticAt ℂ (fun w => (D w).det) z := by + let b := Module.finBasis ℂ F + have hentry (i j : Fin (Module.finrank ℂ F)) : + AnalyticAt ℂ (fun w => LinearMap.toMatrix b b (D w).toLinearMap i j) z := by + let L := ((b.coord i).toContinuousLinearMap).comp + (ContinuousLinearMap.apply ℂ F (b j)) + simpa only [Function.comp_def, L, ContinuousLinearMap.comp_apply, ContinuousLinearMap.apply_apply, + LinearMap.coe_toContinuousLinearMap', Module.Basis.coord_apply, LinearMap.toMatrix_apply] + using! (L.analyticAt (D z)).comp hD + have h := matrix_det_analyticAt + (fun w => LinearMap.toMatrix b b (D w).toLinearMap) z hentry + simpa only [LinearMap.det_toMatrix] using h + +theorem operator_resolvent_analyticAt (B : E →L[ℂ] E) (z : ℂ) + (hz : z ∈ resolventSet ℂ B) : AnalyticAt ℂ (resolvent B) z := by + let A := fun w : ℂ => w • (1 : E →L[ℂ] E) - B + have hA : AnalyticAt ℂ A z := + ((analyticAt_id : AnalyticAt ℂ (fun w : ℂ => w) z).smul + (analyticAt_const : AnalyticAt ℂ (fun _ : ℂ => (1 : E →L[ℂ] E)) z)).sub + analyticAt_const + have hunit : IsUnit (A z) := by + have hu : IsUnit (algebraMap ℂ (E →L[ℂ] E) z - B) := hz + simpa only [A, Algebra.algebraMap_eq_smul_one] using hu + have hi : AnalyticAt ℂ Ring.inverse (A z) := by + convert! (analyticAt_inverse (𝕜 := ℂ) hunit.unit) using 1 + convert! hi.comp hA using 1 + +theorem finiteRank_determinant_analyticAt (B : E →L[ℂ] E) (U : F →L[ℂ] E) + (V : E →L[ℂ] F) (z : ℂ) (hz : z ∈ resolventSet ℂ B) : + AnalyticAt ℂ (fun w => + (ContinuousLinearMap.id ℂ F - V.comp ((resolvent B w).comp U)).det) z := by + let K : (E →L[ℂ] E) →L[ℂ] (F →L[ℂ] F) := + (ContinuousLinearMap.compL ℂ F E F V).comp + ((ContinuousLinearMap.compL ℂ F E E).flip U) + have hR := operator_resolvent_analyticAt B z hz + have hK := (K.analyticAt (resolvent B z)).comp hR + exact finiteDimensional_det_analyticAt _ z (analyticAt_const.sub hK) + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankCriterion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankCriterion.lean new file mode 100644 index 0000000000000000000000000000000000000000..a82a2d2b843248edeaf5d0ad493107dd28f600f5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankCriterion.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankResolvent +import Mathlib.Analysis.Complex.Basic +import Mathlib.Analysis.Normed.Operator.Banach +import Mathlib.Analysis.Normed.Module.FiniteDimension +import Mathlib.Topology.Algebra.Module.Determinant +import Mathlib.Analysis.Normed.Algebra.Spectrum + +namespace OAI + +/-! # Invertibility reduces to the actual finite-dimensional remainder + +This is the finite-dimensional Schur complement of the checked resolvent +formula. It will be applied to a contraction plus the actual finite-rank +remainder of the linearized time step. +-/ + +namespace DefocusingNLS + +section + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] + +local instance : CompleteSpace F := FiniteDimensional.complete ℂ F + +theorem finiteRank_isUnit_iff (A : E →L[ℂ] E) (U : F →L[ℂ] E) + (V : E →L[ℂ] F) (hA : IsUnit A) : + IsUnit (A - U.comp V) ↔ + IsUnit (ContinuousLinearMap.id ℂ F - V.comp ((Ring.inverse A).comp U)) := by + let R := Ring.inverse A + let D := ContinuousLinearMap.id ℂ F - V.comp (R.comp U) + have hAR : A.comp R = ContinuousLinearMap.id ℂ E := Ring.mul_inverse_cancel A hA + have hRA : R.comp A = ContinuousLinearMap.id ℂ E := Ring.inverse_mul_cancel A hA + have hARx (x : E) : A (R x) = x := + congrArg (fun L : E →L[ℂ] E => L x) hAR + constructor + · intro hS + have hSinj := (ContinuousLinearMap.isUnit_iff_bijective.mp hS).1 + have hDinj : Function.Injective D := by + intro x y hxy + have hz : D (x - y) = 0 := by rw [map_sub, hxy, sub_self] + change x - y - V (R (U (x - y))) = 0 at hz + have hw : x - y = V (R (U (x - y))) := sub_eq_zero.mp hz + have hU := congrArg U hw + have hs : (A - U.comp V) (R (U (x - y))) = 0 := by + change A (R (U (x - y))) - U (V (R (U (x - y)))) = 0 + rw [hARx] + exact sub_eq_zero.mpr hU + have hr : R (U (x - y)) = 0 := hSinj (hs.trans (map_zero _).symm) + have hw0 : x - y = 0 := hw.trans (by rw [hr, map_zero]) + exact sub_eq_zero.mp hw0 + exact ContinuousLinearMap.isUnit_iff_bijective.mpr + ⟨hDinj, LinearMap.injective_iff_surjective.mp hDinj⟩ + · intro hD + let W := Ring.inverse D + have hDW : D.comp W = ContinuousLinearMap.id ℂ F := Ring.mul_inverse_cancel D hD + have hWD : W.comp D = ContinuousLinearMap.id ℂ F := Ring.inverse_mul_cancel D hD + have hleft := finiteRankResolvent_left A R U V W hAR hDW + have hright := finiteRankResolvent_right A R U V W hRA hWD + exact ⟨⟨A - U.comp V, finiteRankResolvent R U V W, hleft, hright⟩, rfl⟩ + +/-- The only obstruction is the determinant on the finite-dimensional range. -/ +theorem finiteRank_isUnit_iff_det_ne_zero (A : E →L[ℂ] E) (U : F →L[ℂ] E) + (V : E →L[ℂ] F) (hA : IsUnit A) : + IsUnit (A - U.comp V) ↔ + (ContinuousLinearMap.id ℂ F - V.comp ((Ring.inverse A).comp U)).det ≠ 0 := by + rw [finiteRank_isUnit_iff A U V hA, ContinuousLinearMap.isUnit_iff_isUnit_toLinearMap, + LinearMap.isUnit_iff_isUnit_det, isUnit_iff_ne_zero] + +/-- Outside the spectrum of the contracting part, the spectral problem is finite-dimensional. -/ +theorem finiteRank_spectrum_iff_det_zero (B : E →L[ℂ] E) (U : F →L[ℂ] E) + (V : E →L[ℂ] F) (z : ℂ) (hz : z ∈ resolventSet ℂ B) : + z ∈ spectrum ℂ (B + U.comp V) ↔ + (ContinuousLinearMap.id ℂ F - V.comp ((resolvent B z).comp U)).det = 0 := by + have he : algebraMap ℂ (E →L[ℂ] E) z - (B + U.comp V) = + (algebraMap ℂ (E →L[ℂ] E) z - B) - U.comp V := by abel + rw [spectrum.mem_iff, he] + have h := finiteRank_isUnit_iff_det_ne_zero + (algebraMap ℂ (E →L[ℂ] E) z - B) U V hz + simpa only [resolvent, not_not] using not_congr h + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankDiscrete.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankDiscrete.lean new file mode 100644 index 0000000000000000000000000000000000000000..8b78590ce37c2fc66c50d29028871a2c20c0753b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankDiscrete.lean @@ -0,0 +1,119 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankFactor +import Mathlib.Analysis.Analytic.IsolatedZeros +import Mathlib.Analysis.Normed.Module.Connected +import Mathlib.LinearAlgebra.Complex.FiniteDimensional +import Mathlib.Order.Interval.Set.Infinite + +namespace OAI + +/-! # Finitely many exceptional spectral values outside a larger disk + +The finite-dimensional determinant is nonzero near infinity. The identity +principle on the exterior disk makes its zeros discrete, and compactness +of the ambient spectrum makes every outer portion finite. +-/ + +open Set Filter Topology Bornology + +namespace DefocusingNLS + +private theorem complex_norm_exterior_preconnected (q : ℝ) (hq : 0 ≤ q) : + IsPreconnected {z : ℂ | q < ‖z‖} := by + let f : ℝ × ℂ → ℂ := fun p => p.1 • p.2 + have hi : f '' (Ioi q ×ˢ Metric.sphere (0 : ℂ) 1) = {z : ℂ | q < ‖z‖} := by + ext z + constructor + · rintro ⟨⟨r, u⟩, ⟨hr, hu⟩, rfl⟩ + have hr0 : 0 < r := hq.trans_lt hr + have hu1 : ‖u‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using hu + change q < ‖r • u‖ + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hr0, hu1, mul_one] + exact hr + · intro hz + have hz0 : 0 < ‖z‖ := hq.trans_lt hz + refine ⟨(‖z‖, ‖z‖⁻¹ • z), ⟨hz, ?_⟩, ?_⟩ + · simp only [Metric.mem_sphere, dist_zero_right, norm_smul, Real.norm_eq_abs, + abs_inv, abs_of_pos hz0, inv_mul_cancel₀ hz0.ne'] + · dsimp only [f] + rw [smul_smul, mul_inv_cancel₀ hz0.ne', one_smul] + rw [← hi] + apply (isPreconnected_Ioi.prod + (isPreconnected_sphere (by rw [Complex.rank_real_complex]; norm_num) (0 : ℂ) 1)).image + fun_prop + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +private theorem exterior_mem_resolvent (B : E →L[ℂ] E) {z : ℂ} (hz : ‖B‖ < ‖z‖) : + z ∈ resolventSet ℂ B := by + apply spectrum.mem_resolventSet_of_norm_lt_mul + exact (mul_le_of_le_one_right (norm_nonneg B) + (ContinuousLinearMap.norm_id_le (𝕜 := ℂ) (E := E))).trans_lt hz + +theorem finiteRankSchurDet_codiscrete (B K : E →L[ℂ] E) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) : + {z : ℂ | finiteRankSchurDet B K z ≠ 0} ∈ + codiscreteWithin {z : ℂ | ‖B‖ < ‖z‖} := by + have hf : AnalyticOnNhd ℂ (finiteRankSchurDet B K) {z : ℂ | ‖B‖ < ‖z‖} := + fun z hz => finiteRankSchurDet_analyticAt B K hK z (exterior_mem_resolvent B hz) + have hnonzero := (finiteRankSchurDet_tendsto_one B K).eventually + (eventually_ne_nhds (one_ne_zero : (1 : ℂ) ≠ 0)) + have hlarge : ∀ᶠ z : ℂ in cobounded ℂ, ‖B‖ < ‖z‖ := + tendsto_norm_cobounded_atTop.eventually_gt_atTop ‖B‖ + obtain ⟨w, hw, hw0⟩ := (hlarge.and hnonzero).exists + exact (hf.eqOn_zero_or_eventually_ne_zero_of_preconnected + (complex_norm_exterior_preconnected ‖B‖ (norm_nonneg B))).resolve_left + (fun hzero => hw0 (hzero hw)) + +theorem finiteRank_spectrum_outer_finite (B K : E →L[ℂ] E) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) + (r : ℝ) (hr : ‖B‖ < r) : + {z : ℂ | z ∈ spectrum ℂ (B + K) ∧ r ≤ ‖z‖}.Finite := by + let C := spectrum ℂ (B + K) ∩ {z : ℂ | r ≤ ‖z‖} + have hc : IsCompact C := + (spectrum.isCompact (B + K)).inter_right (isClosed_le continuous_const continuous_norm) + have hsub : C ⊆ {z : ℂ | ‖B‖ < ‖z‖} := fun z hz => hr.trans_le hz.2 + have hfinite := hc.finite_sdiff_of_mem_codiscreteWithin + ((Filter.codiscreteWithin_mono hsub) (finiteRankSchurDet_codiscrete B K hK)) + have heq : C \ {z : ℂ | finiteRankSchurDet B K z ≠ 0} = C := by + apply Subset.antisymm sdiff_subset + intro z hz + refine ⟨hz, ?_⟩ + exact fun hne => hne ((finiteRankSchurDet_spectrum_iff B K hK z + (exterior_mem_resolvent B (hsub hz))).mp hz.1) + rw [heq] at hfinite + exact hfinite + +/-- A contracting remainder admits a spectral contour strictly inside the unit circle. -/ +theorem finiteRank_exists_resolvent_circle (B K : E →L[ℂ] E) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) + (hB : ‖B‖ < 1) (η : ℝ) (hη : η < 1) : + ∃ r : ℝ, ‖B‖ < r ∧ η < r ∧ r < 1 ∧ + ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ (B + K) := by + let a := (max ‖B‖ η + 1) / 2 + have hmax : max ‖B‖ η < 1 := max_lt hB hη + have hBa : ‖B‖ < a := by + have hle := le_max_left ‖B‖ η + dsimp only [a] + linarith + have hηa : η < a := by + have hle := le_max_right ‖B‖ η + dsimp only [a] + linarith + have ha1 : a < 1 := by dsimp only [a]; linarith + have hf := (finiteRank_spectrum_outer_finite B K hK a hBa).image + (fun z : ℂ => ‖z‖) + obtain ⟨r, hr, hnot⟩ := (Set.Ioo_infinite ha1).exists_notMem_finite hf + refine ⟨r, hBa.trans hr.1, hηa.trans hr.1, hr.2, ?_⟩ + intro z hz + by_contra hres + have hs : z ∈ spectrum ℂ (B + K) := hres + apply hnot + exact ⟨z, ⟨hs, by simpa only [hz] using hr.1.le⟩, hz⟩ + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankEigen.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankEigen.lean new file mode 100644 index 0000000000000000000000000000000000000000..c54bb5b55f9c6e1d538698d51b04169ce14ae35d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankEigen.lean @@ -0,0 +1,89 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankCriterion +import Mathlib.LinearAlgebra.Eigenspace.Basic + +namespace OAI + +/-! # Actual eigenvectors for the finite-rank spectral obstruction + +Outside the spectrum of the bounded remainder, a zero of the Schur +determinant produces a nonzero eigenvector. Its eigenspace injects into +the finite-dimensional factor of the perturbation. +-/ + +namespace DefocusingNLS + +section + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] + +omit [CompleteSpace E] in +theorem finiteRank_exists_eigenvector_of_det_zero (B : E →L[ℂ] E) + (U : F →L[ℂ] E) (V : E →L[ℂ] F) (z : ℂ) + (hz : z ∈ resolventSet ℂ B) + (hdet : (ContinuousLinearMap.id ℂ F - V.comp ((resolvent B z).comp U)).det = 0) : + ∃ x : E, x ≠ 0 ∧ (B + U.comp V) x = z • x := by + let A : E →L[ℂ] E := algebraMap ℂ (E →L[ℂ] E) z - B + let R := resolvent B z + let D : F →L[ℂ] F := ContinuousLinearMap.id ℂ F - V.comp (R.comp U) + have hker : LinearMap.ker D.toLinearMap ≠ ⊥ := + LinearMap.det_eq_zero_iff_ker_ne_bot.mp hdet + obtain ⟨c, hc, hc0⟩ := (LinearMap.ker D.toLinearMap).ne_bot_iff.mp hker + change c - V (R (U c)) = 0 at hc + have hDc : c = V (R (U c)) := sub_eq_zero.mp hc + have hAR : A.comp R = ContinuousLinearMap.id ℂ E := + Ring.mul_inverse_cancel A hz + have hAx : A (R (U c)) = U c := + congrArg (fun L : E →L[ℂ] E => L (U c)) hAR + refine ⟨R (U c), ?_, ?_⟩ + · intro hx + exact hc0 (hDc.trans (by rw [hx, map_zero])) + · change z • R (U c) - B (R (U c)) = U c at hAx + change B (R (U c)) + U (V (R (U c))) = z • R (U c) + rw [← hDc] + exact (add_comm _ _).trans (sub_eq_iff_eq_add.mp hAx).symm + +theorem finiteRank_spectrum_iff_exists_eigenvector (B : E →L[ℂ] E) + (U : F →L[ℂ] E) (V : E →L[ℂ] F) (z : ℂ) + (hz : z ∈ resolventSet ℂ B) : + z ∈ spectrum ℂ (B + U.comp V) ↔ + ∃ x : E, x ≠ 0 ∧ (B + U.comp V) x = z • x := by + constructor + · intro hs + exact finiteRank_exists_eigenvector_of_det_zero B U V z hz + ((finiteRank_spectrum_iff_det_zero B U V z hz).mp hs) + · rintro ⟨x, hx, he⟩ + rw [spectrum.mem_iff] + intro hunit + have hinj := (ContinuousLinearMap.isUnit_iff_bijective.mp hunit).1 + have hzero : (algebraMap ℂ (E →L[ℂ] E) z - (B + U.comp V)) x = 0 := by + change z • x - (B + U.comp V) x = 0 + rw [he, sub_self] + exact hx (hinj (hzero.trans (map_zero _).symm)) + +theorem finiteRank_finiteDimensional_eigenspace (B : E →L[ℂ] E) + (U : F →L[ℂ] E) (V : E →L[ℂ] F) (z : ℂ) + (hz : z ∈ resolventSet ℂ B) : + FiniteDimensional ℂ (Module.End.eigenspace (B + U.comp V).toLinearMap z) := by + let A : E →L[ℂ] E := algebraMap ℂ (E →L[ℂ] E) z - B + let G := Module.End.eigenspace (B + U.comp V).toLinearMap z + let W : G →ₗ[ℂ] F := V.toLinearMap.comp G.subtype + have hA (x : G) : A x = U (V x) := by + have hx := Module.End.mem_eigenspace_iff.mp x.property + change B x + U (V x) = z • (x : E) at hx + change z • (x : E) - B x = U (V x) + rw [← hx] + abel + have hinjA := (ContinuousLinearMap.isUnit_iff_bijective.mp hz).1 + apply FiniteDimensional.of_injective W + intro x y hxy + apply Subtype.ext + apply hinjA + rw [hA x, hA y] + exact congrArg U hxy + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankFactor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankFactor.lean new file mode 100644 index 0000000000000000000000000000000000000000..171280c58a46855a99c069175b3b73db2b00ddc3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankFactor.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankEigen + +namespace OAI + +/-! # Canonical finite-dimensional factor of the actual finite-rank remainder + +The factor space is the range of the remainder already constructed from +the evolution. No auxiliary factorization or spectral hypothesis is needed. +-/ + +open Filter Topology Bornology + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +noncomputable def finiteRankRangeMap (K : E →L[ℂ] E) : + E →L[ℂ] LinearMap.range K.toLinearMap := + K.codRestrict (LinearMap.range K.toLinearMap) (fun x => ⟨x, rfl⟩) + +omit [CompleteSpace E] in +theorem finiteRank_range_factorization (K : E →L[ℂ] E) : + (LinearMap.range K.toLinearMap).subtypeL.comp (finiteRankRangeMap K) = K := by + ext x + rfl + +noncomputable def finiteRankSchurDet (B K : E →L[ℂ] E) (z : ℂ) : ℂ := + (ContinuousLinearMap.id ℂ (LinearMap.range K.toLinearMap) - + (finiteRankRangeMap K).comp + ((resolvent B z).comp (LinearMap.range K.toLinearMap).subtypeL)).det + +theorem finiteRankSchurDet_analyticAt (B K : E →L[ℂ] E) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) + (z : ℂ) (hz : z ∈ resolventSet ℂ B) : + AnalyticAt ℂ (finiteRankSchurDet B K) z := by + let : FiniteDimensional ℂ (LinearMap.range K.toLinearMap) := hK + exact finiteRank_determinant_analyticAt B + (LinearMap.range K.toLinearMap).subtypeL (finiteRankRangeMap K) z hz + +theorem finiteRankSchurDet_tendsto_one (B K : E →L[ℂ] E) : + Tendsto (finiteRankSchurDet B K) (cobounded ℂ) (𝓝 1) := by + exact finiteRank_determinant_tendsto_one B + (LinearMap.range K.toLinearMap).subtypeL (finiteRankRangeMap K) + +theorem finiteRankSchurDet_spectrum_iff (B K : E →L[ℂ] E) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) + (z : ℂ) (hz : z ∈ resolventSet ℂ B) : + z ∈ spectrum ℂ (B + K) ↔ finiteRankSchurDet B K z = 0 := by + let : FiniteDimensional ℂ (LinearMap.range K.toLinearMap) := hK + simpa only [finiteRank_range_factorization, finiteRankSchurDet] using + finiteRank_spectrum_iff_det_zero B (LinearMap.range K.toLinearMap).subtypeL + (finiteRankRangeMap K) z hz + +omit [CompleteSpace E] in +theorem finiteRankSchurDet_exists_eigenvector (B K : E →L[ℂ] E) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) + (z : ℂ) (hz : z ∈ resolventSet ℂ B) (hdet : finiteRankSchurDet B K z = 0) : + ∃ x : E, x ≠ 0 ∧ (B + K) x = z • x := by + let : FiniteDimensional ℂ (LinearMap.range K.toLinearMap) := hK + simpa only [finiteRank_range_factorization] using + finiteRank_exists_eigenvector_of_det_zero B (LinearMap.range K.toLinearMap).subtypeL + (finiteRankRangeMap K) z hz hdet + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..6a1181243f37ad18353dfd287876875cc29e4462 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankLimit.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankAnalytic + +namespace OAI + +/-! # The finite-dimensional obstruction tends to one at infinity + +The same exact determinant that detects the exceptional spectrum is not +identically zero: the ambient resolvent tends to zero in operator norm. +-/ + +open Filter Topology Bornology + +namespace DefocusingNLS + +section + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℂ F] + +theorem finiteRank_determinant_tendsto_one (B : E →L[ℂ] E) (U : F →L[ℂ] E) + (V : E →L[ℂ] F) : + Tendsto (fun w : ℂ => + (ContinuousLinearMap.id ℂ F - V.comp ((resolvent B w).comp U)).det) + (cobounded ℂ) (𝓝 1) := by + let K : (E →L[ℂ] E) →L[ℂ] (F →L[ℂ] F) := + (ContinuousLinearMap.compL ℂ F E F V).comp + ((ContinuousLinearMap.compL ℂ F E E).flip U) + have hR := spectrum.resolvent_tendsto_cobounded (𝕜 := ℂ) B + have hK := (K.continuous.tendsto 0).comp hR + have hD : Tendsto (fun w : ℂ => ContinuousLinearMap.id ℂ F - K (resolvent B w)) + (cobounded ℂ) (𝓝 (ContinuousLinearMap.id ℂ F)) := by + simpa only [Function.comp_def, map_zero, sub_zero] using + (tendsto_const_nhds (x := ContinuousLinearMap.id ℂ F)).sub hK + have hd := ContinuousLinearMap.continuous_det.continuousAt.tendsto.comp hD + have hid : (ContinuousLinearMap.id ℂ F).det = 1 := LinearMap.det_id + rw [hid] at hd + simpa only [Function.comp_def, K, ContinuousLinearMap.comp_apply, + ContinuousLinearMap.flip_apply, ContinuousLinearMap.compL_apply] using hd + +theorem finiteRank_determinant_eventually_ne_zero (B : E →L[ℂ] E) (U : F →L[ℂ] E) + (V : E →L[ℂ] F) : + ∀ᶠ w : ℂ in cobounded ℂ, + (ContinuousLinearMap.id ℂ F - V.comp ((resolvent B w).comp U)).det ≠ 0 := by + exact (finiteRank_determinant_tendsto_one B U V).eventually + (eventually_ne_nhds (one_ne_zero : (1 : ℂ) ≠ 0)) + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankResolvent.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankResolvent.lean new file mode 100644 index 0000000000000000000000000000000000000000..bec77ad6dacd818154dc35f06b2e2ae5b47cfc80 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankResolvent.lean @@ -0,0 +1,65 @@ +import Mathlib.Analysis.Normed.Operator.Basic + +namespace OAI + +/-! # The finite-rank resolvent formula + +The time-step decomposition reduces invertibility to the finite-dimensional +factor. This algebraic identity is used with the actual finite-rank factor; +it makes no spectral or evolution assumption. +-/ + +namespace DefocusingNLS + +section + +variable {𝕜 E F : Type*} [NontriviallyNormedField 𝕜] + [NormedAddCommGroup E] [NormedSpace 𝕜 E] + [NormedAddCommGroup F] [NormedSpace 𝕜 F] + +noncomputable def finiteRankResolvent (R : E →L[𝕜] E) (U : F →L[𝕜] E) + (V : E →L[𝕜] F) (W : F →L[𝕜] F) : E →L[𝕜] E := + R + R.comp (U.comp (W.comp (V.comp R))) + +theorem finiteRankResolvent_left (A R : E →L[𝕜] E) (U : F →L[𝕜] E) + (V : E →L[𝕜] F) (W : F →L[𝕜] F) + (hAR : A.comp R = ContinuousLinearMap.id 𝕜 E) + (hDW : (ContinuousLinearMap.id 𝕜 F - V.comp (R.comp U)).comp W = + ContinuousLinearMap.id 𝕜 F) : + (A - U.comp V).comp (finiteRankResolvent R U V W) = + ContinuousLinearMap.id 𝕜 E := by + have hARx (x : E) : A (R x) = x := + congrArg (fun L : E →L[𝕜] E => L x) hAR + ext x + have hDx : W (V (R x)) - V (R (U (W (V (R x))))) = V (R x) := + congrArg (fun L : F →L[𝕜] F => L (V (R x))) hDW + have hU := congrArg U hDx + rw [map_sub, sub_eq_iff_eq_add] at hU + change A (R x + R (U (W (V (R x))))) - + U (V (R x + R (U (W (V (R x)))))) = x + simp only [map_add, hARx] + rw [← hU] + abel + +theorem finiteRankResolvent_right (A R : E →L[𝕜] E) (U : F →L[𝕜] E) + (V : E →L[𝕜] F) (W : F →L[𝕜] F) + (hRA : R.comp A = ContinuousLinearMap.id 𝕜 E) + (hWD : W.comp (ContinuousLinearMap.id 𝕜 F - V.comp (R.comp U)) = + ContinuousLinearMap.id 𝕜 F) : + (finiteRankResolvent R U V W).comp (A - U.comp V) = + ContinuousLinearMap.id 𝕜 E := by + have hRAx (x : E) : R (A x) = x := + congrArg (fun L : E →L[𝕜] E => L x) hRA + ext x + have hWx : W (V x - V (R (U (V x)))) = V x := + congrArg (fun L : F →L[𝕜] F => L (V x)) hWD + change R (A x - U (V x)) + R (U (W (V (R (A x - U (V x)))))) = x + simp only [map_sub R, hRAx, map_sub V] + rw [hWx] + abel + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..311f3ccfbf1252f6117f327f17803b10f500c6df --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteRankStep.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteCodimension +import Mathlib.Analysis.InnerProductSpace.Projection.FiniteDimensional +import Mathlib.LinearAlgebra.Complex.FiniteDimensional +import Mathlib.Analysis.Normed.Operator.Compact.FiniteDimension + +namespace OAI + +/-! # Finite-rank decomposition of a contracting time step + +Orthogonal projection onto finitely many vectors turns the proved weak-null +bound into an operator-norm contraction with a finite-rank remainder. +-/ + +open MeasureTheory Filter Topology + +namespace DefocusingNLS + +theorem homogeneousOperator_isCompact_of_finiteRange (a k : ℝ) + (K : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (hK : FiniteDimensional ℝ (LinearMap.range K.toLinearMap)) : + IsCompactOperator K := by + let V := LinearMap.range K.toLinearMap + let : FiniteDimensional ℝ V := hK + let A : HomogeneousY a k →L[ℝ] V := + K.codRestrict V (fun x => ⟨x, rfl⟩) + have hA : IsCompactOperator A := isCompactOperator_of_locallyCompactSpace_dom A + exact hA.clm_comp V.subtypeL + +theorem homogeneousOperator_finiteRank_bound (a k r R : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hr : 0 ≤ r) (hR : 0 < R) (hrR : r < R ^ 2) + (T : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (hweak : ∀ u : ℕ → HomogeneousY a k, (∀ j, ‖u j‖ ≤ 1) → + (∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, ‖T (u j)‖ ^ 2 < r + ε) : + ∃ B K : HomogeneousY a k →L[ℝ] HomogeneousY a k, + T = B + K ∧ ‖B‖ < R ∧ FiniteDimensional ℝ (LinearMap.range K.toLinearMap) := by + let δ := (R ^ 2 - r) / 2 + have hδ : 0 < δ := by dsimp only [δ]; linarith + obtain ⟨d, N, hsmall⟩ := homogeneousOperator_finite_annihilator a k r δ ha1 hk hδ T hweak + let V : Submodule ℂ (HomogeneousY a k) := + Submodule.span ℂ (Set.range (fun i : Fin (N + 1) => d i.val)) + let : FiniteDimensional ℂ V := FiniteDimensional.span_of_finite ℂ (Set.finite_range _) + let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V + let P : HomogeneousY a k →L[ℝ] HomogeneousY a k := V.starProjection.restrictScalars ℝ + let Q : HomogeneousY a k →L[ℝ] HomogeneousY a k := Vᗮ.starProjection.restrictScalars ℝ + let B := T.comp Q + let K := T.comp P + have hmember (i : ℕ) (hi : i ≤ N) : d i ∈ V := + Submodule.subset_span ⟨⟨i, by omega⟩, rfl⟩ + have hQ (u : HomogeneousY a k) : ‖T (Q u)‖ ^ 2 ≤ (r + δ) * ‖u‖ ^ 2 := by + have h := hsmall (Q u) (fun i hi => + Submodule.inner_right_of_mem_orthogonal (K := V) (hmember i hi) (Vᗮ.starProjection_apply_mem u)) + exact h.trans (mul_le_mul_of_nonneg_left + (pow_le_pow_left₀ (norm_nonneg _) (Vᗮ.norm_starProjection_apply_le u) 2) + (by dsimp only [δ]; linarith)) + have hB : ‖B‖ ≤ Real.sqrt (r + δ) := by + apply ContinuousLinearMap.opNorm_le_bound _ (Real.sqrt_nonneg _) + intro u + have h := hQ u + have hs : (Real.sqrt (r + δ)) ^ 2 = r + δ := Real.sq_sqrt (by dsimp only [δ]; linarith) + have hp : 0 ≤ Real.sqrt (r + δ) * ‖u‖ := mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _) + change ‖T (Q u)‖ ≤ _ + apply (sq_le_sq₀ (norm_nonneg _) hp).mp + calc + _ ≤ (r + δ) * ‖u‖ ^ 2 := h + _ = (Real.sqrt (r + δ) * ‖u‖) ^ 2 := by rw [mul_pow, hs] + have hs1 : Real.sqrt (r + δ) < R := by + apply (Real.sqrt_lt' hR).mpr + dsimp only [δ] + nlinarith + refine ⟨B, K, ?_, hB.trans_lt hs1, ?_⟩ + · apply ContinuousLinearMap.ext + intro u + change T u = T (Q u) + T (P u) + rw [← map_add] + congr 1 + exact ((add_comm _ _).trans (Submodule.starProjection_add_starProjection_orthogonal (K := V) u)).symm + · let A : V →L[ℝ] HomogeneousY a k := T.comp (V.subtypeL.restrictScalars ℝ) + let F : HomogeneousY a k →L[ℝ] V := V.orthogonalProjectionOnto.restrictScalars ℝ + have he : K.toLinearMap = A.toLinearMap.comp F.toLinearMap := rfl + have hle : LinearMap.range K.toLinearMap ≤ LinearMap.range A.toLinearMap := by + rw [he] + exact LinearMap.range_comp_le_range _ _ + exact FiniteDimensional.of_injective (Submodule.inclusion hle) + (Submodule.inclusion_injective hle) + +theorem homogeneousOperator_finiteRank_contraction (a k r : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hr : 0 ≤ r) (hr1 : r < 1) + (T : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (hweak : ∀ u : ℕ → HomogeneousY a k, (∀ j, ‖u j‖ ≤ 1) → + (∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, ‖T (u j)‖ ^ 2 < r + ε) : + ∃ B K : HomogeneousY a k →L[ℝ] HomogeneousY a k, + T = B + K ∧ ‖B‖ < 1 ∧ FiniteDimensional ℝ (LinearMap.range K.toLinearMap) := + homogeneousOperator_finiteRank_bound a k r 1 ha1 hk hr zero_lt_one + (by simpa only [one_pow] using hr1) T hweak + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteSemigroup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteSemigroup.lean new file mode 100644 index 0000000000000000000000000000000000000000..030a5b4294fd4b16d4139eb8f4f6c5f868d6011b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFiniteSemigroup.lean @@ -0,0 +1,170 @@ +import Mathlib.Analysis.Calculus.Deriv.Slope +import Mathlib.Analysis.Calculus.Deriv.Comp +import Mathlib.Analysis.Calculus.Deriv.Mul +import Mathlib.Analysis.Calculus.MeanValue +import Mathlib.Analysis.Normed.Module.FiniteDimension +import Mathlib.Analysis.Normed.Ring.Units +import Mathlib.Analysis.SpecialFunctions.Exponential +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus +import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap + +namespace OAI + +/-! # Short-time averaging for the finite-dimensional semigroup + +On a finite-dimensional invariant subspace, strong continuity is norm +continuity. An invertible short-time integral then converts the semigroup +identity into a differential equation. These are supporting lemmas for the +actual contour subspace, with no spectral classification premise. +-/ + +open Set Filter Topology MeasureTheory +open scoped NNReal + +namespace DefocusingNLS + +section Averaging + +variable {A : Type*} [NormedRing A] [NormedAlgebra ℝ A] [CompleteSpace A] + +/-- A continuous operator family starting at the identity has an invertible +integral over some short positive interval. -/ +theorem continuous_exists_unit_integral (f : ℝ → A) (hf : Continuous f) + (hzero : f 0 = 1) : + ∃ ε : ℝ, 0 < ε ∧ IsUnit (∫ s in (0 : ℝ)..ε, f s) := by + have hd : HasDerivAt (fun t : ℝ => ∫ s in (0 : ℝ)..t, f s) (1 : A) 0 := by + simpa only [hzero] using (hf.integral_hasStrictDerivAt 0 0).hasDerivAt + have hlim : Tendsto (fun t : ℝ => t⁻¹ • ∫ s in (0 : ℝ)..t, f s) + (𝓝[>] (0 : ℝ)) (𝓝 (1 : A)) := by + simpa only [zero_add, intervalIntegral.integral_same, sub_zero] using + hd.tendsto_slope_zero_right + have hu := hlim.eventually + (Units.isOpen.mem_nhds (show IsUnit (1 : A) from isUnit_one)) + have hpos : ∀ᶠ t : ℝ in 𝓝[>] (0 : ℝ), 0 < t := self_mem_nhdsWithin + obtain ⟨ε, hε, hunit⟩ := (hpos.and hu).exists + change 0 < ε at hε + refine ⟨ε, hε, ?_⟩ + have hscalar : IsUnit (algebraMap ℝ A ε) := + (isUnit_iff_ne_zero.mpr hε.ne').map (algebraMap ℝ A) + have hproduct := hscalar.mul hunit + simpa only [Algebra.algebraMap_eq_smul_one, smul_mul_assoc, one_mul, + smul_smul, mul_inv_cancel₀ hε.ne', one_smul] using hproduct + +/-- The integrated semigroup identity. -/ +theorem continuous_semigroup_integral_shift (f : ℝ → A) (hf : Continuous f) + (hmul : ∀ s t : ℝ, 0 ≤ s → 0 ≤ t → f (s + t) = f s * f t) + {ε s : ℝ} (hε : 0 ≤ ε) (hs : 0 ≤ s) : + f s * (∫ t in (0 : ℝ)..ε, f t) = ∫ t in s..s + ε, f t := by + have hmap := (ContinuousLinearMap.mul ℝ A (f s)).intervalIntegral_comp_comm + (hf.intervalIntegrable (μ := volume) 0 ε) + change (∫ t in (0 : ℝ)..ε, f s * f t) = + f s * (∫ t in (0 : ℝ)..ε, f t) at hmap + rw [← hmap] + calc + (∫ t in (0 : ℝ)..ε, f s * f t) = ∫ t in (0 : ℝ)..ε, f (s + t) := by + apply intervalIntegral.integral_congr + intro t ht + have ht0 : 0 ≤ t := (Set.uIcc_of_le hε ▸ ht).1 + exact (hmul s t hs ht0).symm + _ = ∫ t in s..s + ε, f t := by + simpa only [add_zero] using intervalIntegral.integral_comp_add_left (a := 0) (b := ε) f s + +/-- Norm continuity and the semigroup identity produce a bounded generator, +without a differentiability hypothesis on the semigroup. -/ +theorem continuous_semigroup_hasRightDerivative (f : ℝ → A) (hf : Continuous f) + (hzero : f 0 = 1) + (hmul : ∀ s t : ℝ, 0 ≤ s → 0 ≤ t → f (s + t) = f s * f t) : + ∃ G : A, ∀ s : ℝ, 0 ≤ s → + HasDerivWithinAt f (f s * G) (Ici s) s := by + obtain ⟨ε, hε, hunit⟩ := continuous_exists_unit_integral f hf hzero + let F : ℝ → A := fun t => ∫ u in (0 : ℝ)..t, f u + let J : A := ∫ u in (0 : ℝ)..ε, f u + let G : A := (f ε - 1) * Ring.inverse J + let H : ℝ → A := fun s => (F (s + ε) - F s) * Ring.inverse J + have hF (s : ℝ) : HasDerivAt F (f s) s := + (hf.integral_hasStrictDerivAt 0 s).hasDerivAt + have hH (s : ℝ) (hs : 0 ≤ s) : H s = f s := by + have hshift := continuous_semigroup_integral_shift f hf hmul hε.le hs + have hadd := intervalIntegral.integral_add_adjacent_intervals + (hf.intervalIntegrable (μ := volume) 0 s) (hf.intervalIntegrable (μ := volume) s (s + ε)) + have hdiff : F (s + ε) - F s = f s * J := by + change (∫ u in (0 : ℝ)..s + ε, f u) - (∫ u in (0 : ℝ)..s, f u) = + f s * (∫ u in (0 : ℝ)..ε, f u) + rw [← hadd, add_sub_cancel_left, hshift] + dsimp only [H] + rw [hdiff, mul_assoc, Ring.mul_inverse_cancel J hunit, mul_one] + refine ⟨G, fun s hs => ?_⟩ + have hnum : HasDerivAt (fun t => F (t + ε) - F t) + (f (s + ε) - f s) s := by + convert ((hF (s + ε)).scomp s ((hasDerivAt_id s).add_const ε)).sub (hF s) using 1 + · rfl + · simp only [one_smul] + have hd : HasDerivAt H (f s * G) s := by + convert hnum.mul_const (Ring.inverse J) using 1 + dsimp only [G] + rw [hmul s ε hs hε.le] + simp only [mul_sub, one_mul, sub_mul, mul_assoc] + exact hd.hasDerivWithinAt.congr + (fun t ht => (hH t (hs.trans ht)).symm) (hH s hs).symm + +/-- The bounded generator obtained by averaging represents the semigroup +by an exponential for every nonnegative time. -/ +theorem continuous_semigroup_eq_exp (f : ℝ → A) (hf : Continuous f) + (hzero : f 0 = 1) + (hmul : ∀ s t : ℝ, 0 ≤ s → 0 ≤ t → f (s + t) = f s * f t) : + ∃ G : A, ∀ t : ℝ, 0 ≤ t → f t = NormedSpace.exp (t • G) := by + let : NormedAlgebra ℚ A := .restrictScalars ℚ ℝ A + obtain ⟨G, hG⟩ := continuous_semigroup_hasRightDerivative f hf hzero hmul + let g : ℝ → A := fun t => f t * NormedSpace.exp (t • (-G)) + have hg : Continuous g := hf.mul + (differentiable_exp_smul_const ℝ (-G)).continuous + have hgderiv (s : ℝ) (hs : 0 ≤ s) : HasDerivWithinAt g 0 (Ici s) s := by + have h := (hG s hs).mul + (hasDerivAt_exp_smul_const' (-G) s).hasDerivWithinAt + convert h using 1 + simp only [neg_mul, mul_neg, mul_assoc, add_neg_cancel] + refine ⟨G, fun t ht => ?_⟩ + have heq : f t * NormedSpace.exp (t • (-G)) = 1 := by + have h := constant_of_has_deriv_right_zero (a := 0) (b := t) + hg.continuousOn (fun s hs => hgderiv s hs.1) t ⟨ht, le_rfl⟩ + simpa only [g, hzero, zero_smul, NormedSpace.exp_zero, mul_one] using h + have hinv : NormedSpace.exp (t • (-G)) * NormedSpace.exp (t • G) = 1 := by + rw [smul_neg, ← NormedSpace.exp_add_of_commute ((Commute.refl (t • G)).neg_left), + neg_add_cancel, NormedSpace.exp_zero] + calc + f t = f t * (NormedSpace.exp (t • (-G)) * NormedSpace.exp (t • G)) := by + rw [hinv, mul_one] + _ = (f t * NormedSpace.exp (t • (-G))) * NormedSpace.exp (t • G) := + (mul_assoc _ _ _).symm + _ = NormedSpace.exp (t • G) := by rw [heq, one_mul] + +end Averaging + +section FiniteDimension + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] + [FiniteDimensional ℂ E] + +/-- Strongly continuous finite-dimensional semigroups are matrix +exponentials; differentiability is a conclusion. -/ +theorem finiteDimensional_semigroup_eq_exp (S : ℝ≥0 → E →L[ℂ] E) + (hS : ∀ x : E, Continuous (fun t => S t x)) (hzero : S 0 = 1) + (hadd : ∀ s t : ℝ≥0, S (s + t) = S t * S s) : + ∃ G : E →L[ℂ] E, ∀ t : ℝ≥0, S t = NormedSpace.exp ((t : ℝ) • G) := by + let : CompleteSpace E := FiniteDimensional.complete ℂ E + have hc : Continuous S := continuous_clm_apply.mpr hS + let f : ℝ → E →L[ℂ] E := fun t => S t.toNNReal + have hf : Continuous f := hc.comp continuous_real_toNNReal + have hf0 : f 0 = 1 := by simpa only [f, Real.toNNReal_zero] using hzero + have hmul (s t : ℝ) (hs : 0 ≤ s) (ht : 0 ≤ t) : f (s + t) = f s * f t := by + dsimp only [f] + rw [Real.toNNReal_add hs ht, add_comm, hadd] + obtain ⟨G, hG⟩ := continuous_semigroup_eq_exp f hf hf0 hmul + refine ⟨G, fun t => ?_⟩ + simpa only [f, Real.toNNReal_coe] using hG t t.2 + +end FiniteDimension + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFixedRadialModes.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFixedRadialModes.lean new file mode 100644 index 0000000000000000000000000000000000000000..7dd63c967cef75d176d30f48b7c561bc61955f4d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFixedRadialModes.lean @@ -0,0 +1,166 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedBoundedPair +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicPairEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanMode +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicLowerEnergy + +namespace OAI + +/-! Fixed ninth-order radial energies for every finite generator eigenvector and Jordan pair. -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_matched_contour_radialMode_fixed (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (hw : w ≠ 0) (he : G w = lam • w) : + ∃ ell : ℕ, Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam) := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x + let H : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x + have hF : Continuous F := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hH : Continuous H := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hw0 : (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) ≠ 0 := by + intro h + exact hw (Subtype.ext h) + have hne : ∃ x : E, F x ≠ 0 ∨ H x ≠ 0 := + homogeneous_physical_pair_nonzero _ _ ha ha1 hk w hw0 + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_pair_exists_spherical_eigenfunction F H hF hH hne + obtain ⟨hpair, hfs, hgs, _, _⟩ := homogeneous_matched_contour_radial + n z hX hz N ha ha1 hk q hq P hcomm hfin G hG lam w he + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + have hqr : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedProfile n z ‖x‖ := by + simpa only [radialMatchedCartesian] using hq + have hw := projectionSemigroup_eigenvector + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm hfin G hG lam w he + have hc2 := homogeneous_eigenvector_harmonic_channels + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + let A := fun f : HomogeneousY (radialShootingA n) N => + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk f x) + have hwb := homogeneous_harmonic_pair_bounded (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs + have hN9 : 9 ≤ N := by + have hh : 8 < N := by exact_mod_cast hk + omega + have htop := homogeneous_harmonic_pair_lower_topL2 (radialShootingA n) N 9 ha ha1 hk + (by norm_num) hN9 (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) + Y hYs hfs hgs + let u : RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) 9 (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam := + ⟨A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1, + A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2, + hc2.1,hc2.2.1,hpair,hfs,hgs,htop.1,htop.2,hwb,⟨r,hr,hm⟩⟩ + exact ⟨ell,⟨u⟩⟩ + +theorem homogeneous_matched_contour_jordan_mode_fixed (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (v w : P.range) (hw : w ≠ 0) (he : G w = lam • w) + (hJordan : G v=lam • v+w) : + ∃ ell : ℕ, HasRadialJordanMode n z ell 9 lam := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x + let H : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x + have hF : Continuous F := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hH : Continuous H := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hw0 : (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) ≠ 0 := by + intro h + exact hw (Subtype.ext h) + have hne : ∃ x : E, F x ≠ 0 ∨ H x ≠ 0 := + homogeneous_physical_pair_nonzero _ _ ha ha1 hk w hw0 + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_pair_exists_spherical_eigenfunction F H hF hH hne + obtain ⟨hpair, hfs, hgs, _, _⟩ := homogeneous_matched_contour_radial + n z hX hz N ha ha1 hk q hq P hcomm hfin G hG lam w he + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + have hqr : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedProfile n z ‖x‖ := by + simpa only [radialMatchedCartesian] using hq + have hw := projectionSemigroup_eigenvector + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm hfin G hG lam w he + have hc2 := homogeneous_eigenvector_harmonic_channels + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + let A := fun f : HomogeneousY (radialShootingA n) N => + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk f x) + have hwb := homogeneous_harmonic_pair_bounded (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs + have hN9 : 9 ≤ N := by + have hh : 8 < N := by exact_mod_cast hk + omega + have htop := homogeneous_harmonic_pair_lower_topL2 (radialShootingA n) N 9 ha ha1 hk + (by norm_num) hN9 (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) + Y hYs hfs hgs + let u : RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) 9 (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam := + ⟨A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1, + A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2, + hc2.1,hc2.2.1,hpair,hfs,hgs,htop.1,htop.2,hwb,⟨r,hr,hm⟩⟩ + obtain ⟨hv₁,hv₂,hve⟩ := homogeneous_contour_jordan_radial (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n+radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr P hcomm hfin G hG + lam v w hJordan Y ((ell : ℂ)*(ell+10)) hYs hYr hYe + have hvs := harmonicRadialSourcePair_contDiffOn (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) + (A (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1) + (A (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2) + u.first u.second ((ell : ℂ)*(ell+10)) lam hv₁ hv₂ hve 0 le_rfl + (radialMatchedProfile_contDiffOn n z hX hz) hfs hgs + have hvt := homogeneous_harmonic_pair_lower_topL2 (radialShootingA n) N 9 ha ha1 hk + (by norm_num) hN9 + (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs hvs.1 hvs.2 + have hvb := homogeneous_harmonic_pair_bounded (radialShootingA n) N ha ha1 hk + (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs + exact ⟨ell,u,_,_,hv₁,hv₂,hve,hvt.1,hvt.2,hvb⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierL1.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierL1.lean new file mode 100644 index 0000000000000000000000000000000000000000..19f13a8d6a8e21cdbc30f17582aedc45b2fc508e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierL1.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousInverseWeight +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYNorm + +namespace OAI + +/-! # Fourier L¹ control by the exact homogeneous norm + +Cauchy--Schwarz with the integrable inverse weight gives an actual L¹ +Fourier representative for every vector of Y, with no quotient by polynomials. +-/ + +open MeasureTheory +open scoped ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem integrable_and_integral_norm_of_memLp_homogeneous (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) {f : E → ℂ} + (hf : MemLp f 2 (homogeneousFourierMeasure a k)) : + Integrable f ∧ (∫ ξ, ‖f ξ‖) ≤ + Real.sqrt (∫ ξ, (homogeneousFourierWeight a k ξ)⁻¹) * + Real.sqrt (∫ ξ, ‖f ξ‖ ^ 2 ∂homogeneousFourierMeasure a k) := by + have hn : ∀ᵐ ξ : E ∂volume, ξ ≠ 0 := by + simp only [ae_iff, not_not, Set.ofPred_eq_eq_singleton] + exact measure_singleton _ + have hm := (continuous_homogeneousFourierWeight a k ha1 hk).measurable + have hμ : volume ≪ homogeneousFourierMeasure a k := by + apply withDensity_absolutelyContinuous' hm.ennreal_ofReal.aemeasurable + filter_upwards [hn] with ξ hξ + exact (ENNReal.ofReal_pos.mpr (homogeneousFourierWeight_pos a k ξ hξ)).ne' + have hfm : AEStronglyMeasurable f volume := hf.aestronglyMeasurable.mono_ac hμ + have hfsq : Integrable (fun ξ => ‖f ξ‖ ^ 2) (homogeneousFourierMeasure a k) := + (memLp_two_iff_integrable_sq_norm hf.aestronglyMeasurable).mp hf + have hweighted : Integrable (fun ξ => homogeneousFourierWeight a k ξ * ‖f ξ‖ ^ 2) := by + have ht := (integrable_withDensity_iff_integrable_smul' + hm.ennreal_ofReal (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))).mp hfsq + simpa only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k _), smul_eq_mul] using ht + let A : E → ℝ := fun ξ => Real.sqrt (homogeneousFourierWeight a k ξ) * ‖f ξ‖ + let B : E → ℝ := fun ξ => (Real.sqrt (homogeneousFourierWeight a k ξ))⁻¹ + have hAmeas : AEStronglyMeasurable A volume := hm.sqrt.aestronglyMeasurable.mul hfm.norm + have hBmeas : AEStronglyMeasurable B volume := hm.sqrt.inv.aestronglyMeasurable + have hAsq (ξ : E) : A ξ ^ 2 = homogeneousFourierWeight a k ξ * ‖f ξ‖ ^ 2 := by + simp only [A, mul_pow, Real.sq_sqrt (homogeneousFourierWeight_nonneg a k ξ)] + have hBsq (ξ : E) : B ξ ^ 2 = (homogeneousFourierWeight a k ξ)⁻¹ := by + simp only [B, inv_pow, Real.sq_sqrt (homogeneousFourierWeight_nonneg a k ξ)] + have hA : MemLp A 2 volume := (memLp_two_iff_integrable_sq hAmeas).mpr (by + simpa only [hAsq] using hweighted) + have hB : MemLp B 2 volume := (memLp_two_iff_integrable_sq hBmeas).mpr (by + simpa only [hBsq] using integrable_homogeneousFourierWeight_inv a k ha ha1 hk) + have hAB : A * B =ᵐ[volume] fun ξ => ‖f ξ‖ := by + filter_upwards [hn] with ξ hξ + have hpos := Real.sqrt_pos.mpr (homogeneousFourierWeight_pos a k ξ hξ) + dsimp [A, B] + field_simp + have hint : Integrable (fun ξ => ‖f ξ‖) := (hA.integrable_mul hB).congr hAB + refine ⟨(integrable_norm_iff hfm).mp hint, ?_⟩ + have hholder : (2 : ℝ).HolderConjugate 2 := by rw [Real.holderConjugate_iff]; norm_num + have heA : (∫ ξ, A ξ ^ 2) = ∫ ξ, ‖f ξ‖ ^ 2 ∂homogeneousFourierMeasure a k := by + simp_rw [hAsq] + unfold homogeneousFourierMeasure + rw [integral_withDensity_eq_integral_toReal_smul hm.ennreal_ofReal + (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))] + simp only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k _), smul_eq_mul] + have heB : (∫ ξ, B ξ ^ 2) = ∫ ξ, (homogeneousFourierWeight a k ξ)⁻¹ := by + simp_rw [hBsq] + have hh := integral_mul_le_Lp_mul_Lq_of_nonneg hholder + (ae_of_all _ (fun ξ => mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))) + (ae_of_all _ (fun ξ => inv_nonneg.mpr (Real.sqrt_nonneg _))) + (by simpa using hA) (by simpa using hB) + change (∫ ξ, A ξ * B ξ) ≤ (∫ ξ, A ξ ^ 2) ^ (1 / 2 : ℝ) * + (∫ ξ, B ξ ^ 2) ^ (1 / 2 : ℝ) at hh + have heAB : (∫ ξ, A ξ * B ξ) = ∫ ξ, ‖f ξ‖ := integral_congr_ae hAB + rw [heAB] at hh + simp only [Real.rpow_two] at hh + rw [heA, heB, ← Real.sqrt_eq_rpow, ← Real.sqrt_eq_rpow] at hh + simpa only [mul_comm] using hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierMeasure.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierMeasure.lean new file mode 100644 index 0000000000000000000000000000000000000000..e46ee0b1feb7955ffb6a7c276ca030803443432c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierMeasure.lean @@ -0,0 +1,114 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzFourierPolynomial +import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap + +namespace OAI + +/-! # The Fourier measure of the manuscript's homogeneous Hilbert space + +Its L² norm is exactly the sum of the two homogeneous Sobolev energies, +with the radian Plancherel factor (2π)^(-12). The measure is locally finite +and has temperate growth, which permits the library's Schwartz density theorem. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFourierWeight (a k : ℝ) (ξ : E) : ℝ := + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * (‖ξ‖ ^ (2 * (6 - a)) + ‖ξ‖ ^ (2 * k)) + +noncomputable def homogeneousFourierMeasure (a k : ℝ) : Measure E := + volume.withDensity (fun ξ => ENNReal.ofReal (homogeneousFourierWeight a k ξ)) + +theorem homogeneousFourierWeight_nonneg (a k : ℝ) (ξ : E) : + 0 ≤ homogeneousFourierWeight a k ξ := by unfold homogeneousFourierWeight; positivity + +theorem homogeneousFourierWeight_pos (a k : ℝ) (ξ : E) (hξ : ξ ≠ 0) : + 0 < homogeneousFourierWeight a k ξ := by + unfold homogeneousFourierWeight + exact mul_pos (by positivity) (add_pos_of_pos_of_nonneg + (Real.rpow_pos_of_pos (norm_pos_iff.mpr hξ) _) (by positivity)) + +theorem continuous_homogeneousFourierWeight (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) : + Continuous (homogeneousFourierWeight a k) := by + have hlow : Continuous (fun ξ : E => ‖ξ‖ ^ (2 * (6 - a))) := + continuous_norm.rpow_const (fun _ => Or.inr (by linarith)) + have hhigh : Continuous (fun ξ : E => ‖ξ‖ ^ (2 * k)) := + continuous_norm.rpow_const (fun _ => Or.inr (by linarith)) + exact continuous_const.mul (hlow.add hhigh) + +theorem homogeneousFourierMeasure_locallyFinite (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) : + IsLocallyFiniteMeasure (homogeneousFourierMeasure a k) := + IsLocallyFiniteMeasure.withDensity_ofReal (continuous_homogeneousFourierWeight a k ha1 hk) + +theorem homogeneousFourierMeasure_openPos (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) : + (homogeneousFourierMeasure a k).IsOpenPosMeasure := by + have hn : ∀ᵐ ξ : E ∂volume, ξ ≠ 0 := by + simp only [ae_iff, not_not, Set.ofPred_eq_eq_singleton] + exact measure_singleton _ + have hd : ∀ᵐ ξ : E ∂volume, ENNReal.ofReal (homogeneousFourierWeight a k ξ) ≠ 0 := by + filter_upwards [hn] with ξ hξ + exact (ENNReal.ofReal_pos.mpr (homogeneousFourierWeight_pos a k ξ hξ)).ne' + exact (withDensity_absolutelyContinuous' + (continuous_homogeneousFourierWeight a k ha1 hk).measurable.ennreal_ofReal.aemeasurable + hd).isOpenPosMeasure + +private theorem homogeneousFourierWeight_le (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (ξ : E) : + homogeneousFourierWeight a k ξ ≤ + (2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹) * (1 + ‖ξ‖) ^ (2 * k) := by + have hlow : ‖ξ‖ ^ (2 * (6 - a)) ≤ (1 + ‖ξ‖) ^ (2 * k) := by + exact (Real.rpow_le_rpow (norm_nonneg ξ) (by linarith) (by linarith)).trans + (Real.rpow_le_rpow_of_exponent_le (by linarith [norm_nonneg ξ]) (by linarith)) + have hhigh : ‖ξ‖ ^ (2 * k) ≤ (1 + ‖ξ‖) ^ (2 * k) := + Real.rpow_le_rpow (norm_nonneg ξ) (by linarith) (by linarith) + unfold homogeneousFourierWeight + calc + _ ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + ((1 + ‖ξ‖) ^ (2 * k) + (1 + ‖ξ‖) ^ (2 * k)) := by gcongr + _ = _ := by ring + +/-- The exact Fourier measure has the growth property required for Schwartz density. -/ +theorem homogeneousFourierMeasure_temperate (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + (homogeneousFourierMeasure a k).HasTemperateGrowth := by + obtain ⟨N, hN⟩ := exists_nat_gt (2 * k + 13) + refine ⟨⟨N, ?_⟩⟩ + have hbase : Integrable (fun ξ : E => (1 + ‖ξ‖) ^ (-(13 : ℝ))) := by + apply integrable_one_add_norm + norm_num + have hmajor := hbase.const_mul (2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹) + have hweighted : Integrable (fun ξ : E => homogeneousFourierWeight a k ξ * + (1 + ‖ξ‖) ^ (-(N : ℝ))) := by + have hp : Continuous (fun ξ : E => (1 + ‖ξ‖) ^ (-(N : ℝ))) := + (continuous_const.add continuous_norm).rpow_const (fun ξ => Or.inl (by + change 1 + ‖ξ‖ ≠ 0 + positivity)) + apply hmajor.mono' ((continuous_homogeneousFourierWeight a k ha1 hk).mul hp).aestronglyMeasurable + filter_upwards [] with ξ + change ‖homogeneousFourierWeight a k ξ * (1 + ‖ξ‖) ^ (-(N : ℝ))‖ ≤ _ + rw [Real.norm_eq_abs, abs_of_nonneg (mul_nonneg + (homogeneousFourierWeight_nonneg a k ξ) (Real.rpow_nonneg (by positivity) _))] + calc + _ ≤ ((2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹) * (1 + ‖ξ‖) ^ (2 * k)) * + (1 + ‖ξ‖) ^ (-(N : ℝ)) := mul_le_mul_of_nonneg_right + (homogeneousFourierWeight_le a k ha ha1 hk ξ) (by positivity) + _ = (2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹) * + (1 + ‖ξ‖) ^ (2 * k - N) := by + rw [mul_assoc, ← Real.rpow_add (by positivity)] + congr 2 + _ ≤ _ := mul_le_mul_of_nonneg_left + (Real.rpow_le_rpow_of_exponent_le (by linarith [norm_nonneg ξ]) (by linarith)) + (by positivity) + unfold homogeneousFourierMeasure + rw [integrable_withDensity_iff_integrable_smul' + (continuous_homogeneousFourierWeight a k ha1 hk).measurable.ennreal_ofReal + (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))] + simpa only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k _), smul_eq_mul] using hweighted + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierPairing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierPairing.lean new file mode 100644 index 0000000000000000000000000000000000000000..1a2ff57b13deb261ed8c73b4bbbfa863ecd353e9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierPairing.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMap +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeOperator + +namespace OAI + +/-! # Bounded Fourier test functionals on the actual homogeneous space + +The inverse weight makes every Y vector an integrable Fourier function. +Consequently Schwartz tests act continuously on Y, with their ordinary +Lebesgue pairing, rather than an unspecified distributional realization. +-/ + +open MeasureTheory +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +section + +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + +include ha ha1 hk + +theorem homogeneousFourier_integral_norm_le (f : HomogeneousY a k) : + (∫ ξ : E, ‖f ξ‖) ≤ + Real.sqrt (∫ ξ : E, (homogeneousFourierWeight a k ξ)⁻¹) * ‖f‖ := by + have hn : Real.sqrt (∫ ξ, ‖f ξ‖ ^ 2 ∂homogeneousFourierMeasure a k) = ‖f‖ := by + rw [Lp.norm_def, (Lp.memLp f).eLpNorm_eq_integral_rpow_norm (by norm_num) (by norm_num)] + simp only [ENNReal.toReal_ofNat, Real.rpow_two] + rw [ENNReal.toReal_ofReal (by positivity), Real.sqrt_eq_rpow] + norm_num + simpa only [hn] using + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp f)).2 + +theorem integrable_homogeneousFourier_test (f : HomogeneousY a k) (φ : 𝓢(E, ℂ)) : + Integrable (fun ξ : E => f ξ * φ ξ) := + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp f)).1.mul_bdd + φ.continuous.aestronglyMeasurable (ae_of_all _ (φ.norm_le_seminorm ℂ)) + +noncomputable def homogeneousFourierPairing (φ : 𝓢(E, ℂ)) : HomogeneousY a k →L[ℂ] ℂ := by + let L : HomogeneousY a k →ₗ[ℂ] ℂ := + { toFun := fun f => ∫ ξ : E, f ξ * φ ξ + map_add' := by + intro f g + calc + (∫ ξ : E, (f + g) ξ * φ ξ) = + ∫ ξ : E, (f ξ * φ ξ + g ξ * φ ξ) := by + apply integral_congr_ae + filter_upwards [(Lp.coeFn_add f g).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le] + with ξ hξ + rw [hξ, Pi.add_apply, add_mul] + _ = _ := integral_add + (integrable_homogeneousFourier_test a k ha ha1 hk f φ) + (integrable_homogeneousFourier_test a k ha ha1 hk g φ) + map_smul' := by + intro c f + calc + (∫ ξ : E, (c • f) ξ * φ ξ) = ∫ ξ : E, c * (f ξ * φ ξ) := by + apply integral_congr_ae + filter_upwards [(Lp.coeFn_smul c f).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le] + with ξ hξ + rw [hξ, Pi.smul_apply, smul_eq_mul, mul_assoc] + _ = c • ∫ ξ : E, f ξ * φ ξ := by rw [integral_const_mul, smul_eq_mul] } + refine L.mkContinuous + ((SchwartzMap.seminorm ℂ 0 0 φ) * + Real.sqrt (∫ ξ : E, (homogeneousFourierWeight a k ξ)⁻¹)) ?_ + intro f + have hnorm := norm_integral_le_integral_norm (μ := volume) (fun ξ : E => f ξ * φ ξ) + have hpoint : (∫ ξ : E, ‖f ξ * φ ξ‖) ≤ + (SchwartzMap.seminorm ℂ 0 0 φ) * ∫ ξ : E, ‖f ξ‖ := by + rw [← integral_const_mul] + apply integral_mono + (integrable_homogeneousFourier_test a k ha ha1 hk f φ).norm + ((integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp f)).1.norm.const_mul _) + intro ξ + dsimp only + rw [norm_mul] + exact (mul_le_mul_of_nonneg_left (φ.norm_le_seminorm ℂ ξ) (norm_nonneg _)).trans_eq + (mul_comm _ _) + exact hnorm.trans (hpoint.trans ((mul_le_mul_of_nonneg_left + (homogeneousFourier_integral_norm_le a k ha ha1 hk f) (apply_nonneg _ _)).trans_eq + (mul_assoc _ _ _).symm)) + +@[simp] theorem homogeneousFourierPairing_apply (φ : 𝓢(E, ℂ)) (f : HomogeneousY a k) : + homogeneousFourierPairing a k ha ha1 hk φ f = ∫ ξ : E, f ξ * φ ξ := rfl + +theorem homogeneousFourierPairing_Schwartz (φ ψ : 𝓢(E, ℂ)) : + homogeneousFourierPairing a k ha ha1 hk φ + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) = ∫ ξ : E, ψ ξ * φ ξ := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + apply integral_congr_ae + filter_upwards [(SchwartzMap.coeFn_toLp ψ 2 (homogeneousFourierMeasure a k)).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le] with ξ hξ + exact congrArg (fun z : ℂ => z * φ ξ) hξ + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierProduct.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierProduct.lean new file mode 100644 index 0000000000000000000000000000000000000000..6a2b41d9f726f120e1c86765995c149b961c5d7e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierProduct.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchwartzObservation + +namespace OAI + +/-! # The exact Fourier product formula on the physical Schwartz domain + +The previously constructed physical multiplication and frequency convolution +give the radian Fourier product formula, including its normalization. +-/ + +open MeasureTheory +open scoped SchwartzMap Convolution + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousFrequencyEmbedding_injective (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Function.Injective (homogeneousFrequencyEmbedding a k ha ha1 hk) := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + let := homogeneousFourierMeasure_openPos a k ha1 hk + intro f g h + exact SchwartzMap.injective_toLp 2 (homogeneousFourierMeasure a k) h + +theorem radianFourierKernel_schwartzProduct (V f : 𝓢(E, ℂ)) : + radianFourierKernel (SchwartzMap.smulLeftCLM ℂ V f) = + (((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) • + homogeneousSchwartzConvolution (radianFourierKernel V) (radianFourierKernel f)) := by + have ha : 0 < (1 / 2 : ℝ) := by norm_num + have ha1 : (1 / 2 : ℝ) < 1 := by norm_num + have hk : (8 : ℝ) < 9 := by norm_num + apply homogeneousFrequencyEmbedding_injective (1 / 2) 9 ha ha1 hk + have hp := homogeneousYProduct_physicalSchwartz (1 / 2) 9 ha ha1 hk V f + change homogeneousYProduct (1 / 2) 9 ha ha1 hk + (homogeneousFrequencyEmbedding (1 / 2) 9 ha ha1 hk (radianFourierKernel V)) + (homogeneousFrequencyEmbedding (1 / 2) 9 ha ha1 hk (radianFourierKernel f)) = + homogeneousFrequencyEmbedding (1 / 2) 9 ha ha1 hk + (radianFourierKernel (SchwartzMap.smulLeftCLM ℂ V f)) at hp + rw [homogeneousYProduct_on_Schwartz] at hp + exact hp.symm + +theorem radianFourierKernel_schwartzProduct_apply (V f : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (SchwartzMap.smulLeftCLM ℂ V f) ξ = + (((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) * + ∫ η : E, radianFourierKernel V η * radianFourierKernel f (ξ - η)) := by + rw [radianFourierKernel_schwartzProduct] + simp only [smul_apply, smul_eq_mul, homogeneousSchwartzConvolution, + SchwartzMap.convolution_apply, convolution_def, ContinuousLinearMap.mul_apply'] + +theorem schwartz_mul_sub_integrable (V f : 𝓢(E, ℂ)) (ξ : E) : + Integrable (fun η : E => V η * f (ξ - η)) := by + exact ConvolutionExists.of_memLp_memLp (L := ContinuousLinearMap.mul ℂ ℂ) + (V.memLp 2) (f.memLp 2) ξ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierTestExt.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierTestExt.lean new file mode 100644 index 0000000000000000000000000000000000000000..aacf249b358e66f06a0b152bcd5a72645ff53575 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFourierTestExt.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFourierPairing +import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff + +namespace OAI + +/-! # Schwartz Fourier tests separate the homogeneous space -/ + +open MeasureTheory +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousFourierPairing_ext (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u v : HomogeneousY a k) + (h : ∀ φ : 𝓢(E, ℂ), homogeneousFourierPairing a k ha ha1 hk φ u = + homogeneousFourierPairing a k ha ha1 hk φ v) : u = v := by + let w := u - v + have hw : ∀ φ : 𝓢(E, ℂ), homogeneousFourierPairing a k ha ha1 hk φ w = 0 := by + intro φ + simp only [w, map_sub, h φ, sub_self] + have hi := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp w)).1 + have hz : (w : E → ℂ) =ᵐ[volume] 0 := by + apply ae_eq_zero_of_integral_contDiff_smul_eq_zero hi.locallyIntegrable + intro g hg hgc + have hc : HasCompactSupport (Complex.ofRealCLM ∘ g) := hgc.comp_left rfl + have hs : ContDiff ℝ ∞ (Complex.ofRealCLM ∘ g) := by fun_prop + let ψ : 𝓢(E, ℂ) := hc.toSchwartzMap hs + change (∫ ξ : E, (g ξ : ℂ) * w ξ) = 0 + calc + _ = ∫ ξ : E, w ξ * ψ ξ := by + apply integral_congr_ae + exact ae_of_all _ fun ξ => mul_comm _ _ + _ = 0 := hw ψ + have hw0 : w = 0 := Lp.eq_zero_iff_ae_eq_zero.mpr + (hz.filter_mono (withDensity_absolutelyContinuous volume _).ae_le) + exact sub_eq_zero.mp hw0 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..636b9816c0b1148bff581297c39b7dfbe867349e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeContinuity.lean @@ -0,0 +1,203 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeGroup +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Strong continuity of the exact whole-space free group -/ + +open Filter MeasureTheory Topology +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem schwartz_polynomial_bound (ψ : 𝓢(E, ℂ)) (N : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ ξ, (1 + ‖ξ‖) ^ N * ‖ψ ξ‖ ≤ C := by + let C := 2 ^ N * (Finset.Iic (N, 0)).sup + (fun m => SchwartzMap.seminorm ℝ m.1 m.2) ψ + refine ⟨|C|, abs_nonneg C, fun ξ => ?_⟩ + have h : (1 + ‖ξ‖) ^ N * ‖ψ ξ‖ ≤ C := by + simpa only [norm_iteratedFDeriv_zero] using + (SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℝ) + (m := (N, 0)) le_rfl le_rfl ψ ξ) + exact h.trans (le_abs_self C) + +private theorem schwartz_dilation_polynomial_bound (ψ : 𝓢(E, ℂ)) (N : ℕ) + (C : ℝ) (hC : ∀ ξ, (1 + ‖ξ‖) ^ N * ‖ψ ξ‖ ≤ C) + (R : ℝ) (hR : 1 / 2 ≤ R) (ξ : E) : + (1 + ‖ξ‖) ^ N * ‖ψ (R • ξ)‖ ≤ 2 ^ N * C := by + have hRp : 0 ≤ R := by linarith + have hx : 1 + ‖ξ‖ ≤ 2 * (1 + ‖R • ξ‖) := by + rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg hRp] + nlinarith [norm_nonneg ξ] + calc + _ ≤ (2 * (1 + ‖R • ξ‖)) ^ N * ‖ψ (R • ξ)‖ := + mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (by positivity) hx N) (norm_nonneg _) + _ = 2 ^ N * ((1 + ‖R • ξ‖) ^ N * ‖ψ (R • ξ)‖) := by rw [mul_pow]; ring + _ ≤ 2 ^ N * C := mul_le_mul_of_nonneg_left (hC _) (by positivity) + +private theorem free_difference_polynomial_bound (a b s : ℝ) (ψ : 𝓢(E, ℂ)) + (N : ℕ) (C : ℝ) (hC : ∀ ξ, (1 + ‖ξ‖) ^ N * ‖ψ ξ‖ ≤ C) + (hamp : ‖homogeneousFreeAmplitude a b s‖ ≤ 2) + (hR : 1 / 2 ≤ Real.exp (s / 2)) (ξ : E) : + (1 + ‖ξ‖) ^ N * ‖homogeneousFreeFourier a b s ψ ξ - ψ ξ‖ ≤ + 3 * 2 ^ N * C := by + have hd := schwartz_dilation_polynomial_bound ψ N C hC _ hR ξ + have hi := schwartz_dilation_polynomial_bound ψ N C hC 1 (by norm_num) ξ + simp only [one_smul] at hi + have hnorm : ‖homogeneousFreeFourier a b s ψ ξ‖ ≤ + 2 * ‖ψ (Real.exp (s / 2) • ξ)‖ := by + rw [homogeneousFreeFourier_apply, norm_mul, norm_mul, homogeneousFreePhase_norm, mul_one] + exact mul_le_mul_of_nonneg_right hamp (norm_nonneg _) + calc + _ ≤ (1 + ‖ξ‖) ^ N * + (‖homogeneousFreeFourier a b s ψ ξ‖ + ‖ψ ξ‖) := + mul_le_mul_of_nonneg_left (norm_sub_le _ _) (by positivity) + _ ≤ 2 * ((1 + ‖ξ‖) ^ N * ‖ψ (Real.exp (s / 2) • ξ)‖) + + (1 + ‖ξ‖) ^ N * ‖ψ ξ‖ := by nlinarith [pow_nonneg (by positivity : 0 ≤ 1 + ‖ξ‖) N] + _ ≤ 3 * 2 ^ N * C := by linarith + +private theorem polynomial_bound_square (N : ℕ) (D : ℝ) (_hD : 0 ≤ D) + (ξ : E) (v : ℂ) (hv : (1 + ‖ξ‖) ^ N * ‖v‖ ≤ D) : + ‖v‖ ^ 2 ≤ D ^ 2 * (1 + ‖ξ‖) ^ (-(N : ℝ)) := by + let P := (1 + ‖ξ‖) ^ N + have hP : 1 ≤ P := one_le_pow₀ (by + change (1 : ℝ) ≤ 1 + ‖ξ‖ + exact le_add_of_nonneg_right (norm_nonneg ξ)) + have hPn : 0 < P := lt_of_lt_of_le zero_lt_one hP + have hs : (P * ‖v‖) ^ 2 ≤ D ^ 2 := + pow_le_pow_left₀ (mul_nonneg hPn.le (norm_nonneg _)) hv 2 + have hsmall : P * ‖v‖ ^ 2 ≤ D ^ 2 := by + have hp : P ≤ P ^ 2 := by nlinarith + have hv2 := sq_nonneg ‖v‖ + nlinarith + rw [Real.rpow_neg (by positivity), Real.rpow_natCast] + exact (le_mul_inv_iff₀ hPn).mpr (by simpa only [mul_comm] using hsmall) + +theorem continuous_homogeneousFreeFourier_coordinate (a b : ℝ) + (ψ : 𝓢(E, ℂ)) (ξ : E) : + Continuous (fun s : ℝ => homogeneousFreeFourier a b s ψ ξ) := by + simp only [homogeneousFreeFourier_apply] + have hA : Continuous (homogeneousFreeAmplitude a b) := by + unfold homogeneousFreeAmplitude + fun_prop + have hP : Continuous (fun s => homogeneousFreePhase s ξ) := by + unfold homogeneousFreePhase + fun_prop + exact (hA.mul hP).mul (ψ.continuous.comp ((Real.continuous_exp.comp + (continuous_id.div_const 2)).smul continuous_const)) + +private theorem tendsto_free_Schwartz_at_zero (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + Tendsto (fun s : ℝ => homogeneousFreeOperator a b k s ha ha1 hk + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)) (𝓝 0) + (𝓝 (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)) := by + let μ := homogeneousFourierMeasure a k + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + let N := μ.integrablePower + obtain ⟨C, hC0, hC⟩ := schwartz_polynomial_bound ψ N + let D := 3 * 2 ^ N * C + have hD : 0 ≤ D := by positivity + have hnear : ∀ᶠ s : ℝ in 𝓝 0, + ‖homogeneousFreeAmplitude a b s‖ ≤ 2 ∧ 1 / 2 ≤ Real.exp (s / 2) := by + have hA : Continuous (fun s => ‖homogeneousFreeAmplitude a b s‖) := by + unfold homogeneousFreeAmplitude + fun_prop + have hR : Continuous (fun s : ℝ => Real.exp (s / 2)) := by fun_prop + have h1 := hA.continuousAt.eventually (eventually_lt_nhds (by simp : + ‖homogeneousFreeAmplitude a b 0‖ < 2)) + have h2 := hR.continuousAt.eventually (eventually_gt_nhds (by norm_num : + (1 / 2 : ℝ) < Real.exp (0 / 2))) + filter_upwards [h1, h2] with s hs ht + exact ⟨hs.le, ht.le⟩ + have hlim := tendsto_integral_filter_of_dominated_convergence + (μ := μ) (fun ξ : E => D ^ 2 * (1 + ‖ξ‖) ^ (-(N : ℝ))) + (F := fun s ξ => ‖homogeneousFreeFourier a b s ψ ξ - ψ ξ‖ ^ 2) + (f := fun _ => (0 : ℝ)) + (by filter_upwards [] with s; exact + (((homogeneousFreeFourier a b s ψ).continuous.sub ψ.continuous).norm.pow 2).aestronglyMeasurable) + (by + filter_upwards [hnear] with s hs + exact ae_of_all μ (fun ξ => by + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] + exact polynomial_bound_square N D hD ξ _ + (free_difference_polynomial_bound a b s ψ N C hC hs.1 hs.2 ξ))) + ((Measure.integrable_pow_neg_integrablePower μ).const_mul (D ^ 2)) + (ae_of_all μ (fun ξ => by + have h : Continuous (fun s : ℝ => + ‖homogeneousFreeFourier a b s ψ ξ - ψ ξ‖ ^ 2) := + ((continuous_homogeneousFreeFourier_coordinate a b ψ ξ).sub + continuous_const).norm.pow 2 + simpa using (h.continuousAt (x := 0)).tendsto)) + have hsq : Tendsto (fun s : ℝ => ‖homogeneousFreeOperator a b k s ha ha1 hk + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) - + homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ ^ 2) (𝓝 0) (𝓝 0) := by + simpa only [homogeneousFreeOperator_on_Schwartz, ← map_sub, + homogeneousFrequencyEmbedding_norm_sq_integral, sub_apply, + integral_zero] using hlim + have hn := Real.continuous_sqrt.continuousAt.tendsto.comp hsq + apply tendsto_iff_norm_sub_tendsto_zero.mpr + simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using hn + +theorem continuous_homogeneousFreeBound (a k : ℝ) : Continuous (homogeneousFreeBound a k) := by + unfold homogeneousFreeBound + fun_prop + +/-- Strong continuity at zero follows from the dense Schwartz core and a local uniform bound. -/ +theorem tendsto_homogeneousFreeOperator_at_zero (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + Tendsto (fun s : ℝ => homogeneousFreeOperator a b k s ha ha1 hk f) (𝓝 0) (𝓝 f) := by + apply Metric.tendsto_nhds.mpr + intro ε hε + obtain ⟨ψ, hψ⟩ := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).exists_dist_lt + f (by positivity : 0 < ε / 9) + let g := homogeneousFrequencyEmbedding a k ha ha1 hk ψ + have hfg : ‖f - g‖ < ε / 9 := by simpa only [dist_eq_norm, g] using hψ + have hB : ∀ᶠ s : ℝ in 𝓝 0, homogeneousFreeBound a k s < 2 := + (continuous_homogeneousFreeBound a k).continuousAt.eventually + (eventually_lt_nhds (by simp [homogeneousFreeBound])) + have hg : ∀ᶠ s : ℝ in 𝓝 0, + dist (homogeneousFreeOperator a b k s ha ha1 hk g) g < ε / 3 := + (tendsto_free_Schwartz_at_zero a b k ha ha1 hk ψ).eventually + (Metric.ball_mem_nhds _ (by positivity)) + filter_upwards [hB, hg] with s hs ht + have hsmall : ‖homogeneousFreeOperator a b k s ha ha1 hk (f - g)‖ < 2 * (ε / 9) := + (homogeneousFreeOperator_norm_le a b k s ha ha1 hk (f - g)).trans_lt + (by nlinarith [norm_nonneg (f - g)]) + calc + _ ≤ dist (homogeneousFreeOperator a b k s ha ha1 hk f) + (homogeneousFreeOperator a b k s ha ha1 hk g) + + dist (homogeneousFreeOperator a b k s ha ha1 hk g) g + dist g f := by + exact (dist_triangle _ _ _).trans (add_le_add_left (dist_triangle _ _ _) _) + _ < 2 * (ε / 9) + ε / 3 + ε / 9 := by + rw [dist_comm g f] + simp only [dist_eq_norm, ← map_sub] at * + linarith + _ < ε := by linarith + +/-- The exact whole-space free group is strongly continuous at every real time. -/ +theorem continuous_homogeneousFreeOperator (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + Continuous (fun s : ℝ => homogeneousFreeOperator a b k s ha ha1 hk f) := by + rw [continuous_iff_continuousAt] + intro s₀ + have hs : Tendsto (fun s : ℝ => s - s₀) (𝓝 s₀) (𝓝 0) := by + have hc : Continuous (fun s : ℝ => s - s₀) := continuous_id.sub continuous_const + simpa only [sub_self] using hc.tendsto s₀ + have ht := (tendsto_homogeneousFreeOperator_at_zero a b k ha ha1 hk f).comp hs + have h := ((homogeneousFreeOperator a b k s₀ ha ha1 hk).continuous.tendsto f).comp ht + change Tendsto (fun s : ℝ => homogeneousFreeOperator a b k s ha ha1 hk f) + (𝓝 s₀) (𝓝 (homogeneousFreeOperator a b k s₀ ha ha1 hk f)) + convert h using 1 + funext s + change homogeneousFreeOperator a b k s ha ha1 hk f = + homogeneousFreeOperator a b k s₀ ha ha1 hk + (homogeneousFreeOperator a b k (s - s₀) ha ha1 hk f) + rw [← homogeneousFreeOperator_add] + congr 2 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeDomain.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeDomain.lean new file mode 100644 index 0000000000000000000000000000000000000000..9b2a33e807c0c18ec621657e932362984da75b78 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeDomain.lean @@ -0,0 +1,90 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDilationDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchrodingerDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StrongOperatorDerivative + +namespace OAI + +/-! # Classical Laplacian and dilation data give a strong free generator -/ + +open Filter Set Topology +open scoped Laplacian + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] homogeneousFreeOperator homogeneousSimilarityDilation + homogeneousSchrodingerOperator + +@[simp] theorem homogeneousSchrodingerOperator_zero (a k : ℝ) (q : HomogeneousY a k) : + homogeneousSchrodingerOperator a k 0 q = q := by + unfold homogeneousSchrodingerOperator + apply MeasureTheory.Lp.ext + filter_upwards [homogeneousSchrodingerVector_ae a k 0 q] with ξ hξ + change homogeneousSchrodingerVector a k 0 q ξ = q ξ + simpa only [homogeneousSchrodingerPhase, neg_zero, zero_mul, Complex.ofReal_zero, + Complex.exp_zero, one_mul] using hξ + +theorem homogeneousFreeOperator_factor (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hs : 0 ≤ s) (q : HomogeneousY a k) : + homogeneousFreeOperator a b k s ha ha1 hk q = + Complex.exp (Complex.I * (b : ℂ) * (s : ℂ)) • + homogeneousSimilarityDilation a k ha ha1 hk s + (homogeneousSchrodingerOperator a k (1 - Real.exp (-s)) q) := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + ext x + rw [homogeneousFreeOperator_physical, + (homogeneousPhysicalCLM a k ha ha1 hk).map_smul] + change _ = Complex.exp (Complex.I * (b : ℂ) * (s : ℂ)) * + homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSimilarityDilation a k ha ha1 hk s + (homogeneousSchrodingerOperator a k (1 - Real.exp (-s)) q)) x + rw [homogeneousSimilarityDilation_physical, max_eq_left hs] + have hA : homogeneousPhysicalAmplitude a b s = + Complex.exp (Complex.I * (b : ℂ) * (s : ℂ)) * (Real.exp (-a * s) : ℂ) := by + rw [homogeneousPhysicalAmplitude, Complex.exp_add, Complex.ofReal_exp] + push_cast + ring_nf + rw [hA] + ring + +theorem homogeneousFree_hasDerivWithinAt_of_classical (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (q qL g : HomogeneousY a k) + (hL : ∀ x, homogeneousPhysicalCLM a k ha ha1 hk qL x = + Δ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) x) + (hg : ∀ x, homogeneousPhysicalCLM a k ha ha1 hk g x = + -(a : ℂ) * homogeneousPhysicalCLM a k ha ha1 hk q x - + (1 / 2 : ℂ) * fderiv ℝ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) x x) : + HasDerivWithinAt (fun s => homogeneousFreeOperator a b k s ha ha1 hk q) + (g + Complex.I • qL + (Complex.I * (b : ℂ)) • q) (Ici 0) 0 := by + let v := fun s => homogeneousSchrodingerOperator a k (1 - Real.exp (-s)) q + have hv : HasDerivAt v (Complex.I • qL) 0 := by + have ht : HasDerivAt (fun s : ℝ => 1 - Real.exp (-s)) 1 0 := by + convert (((hasDerivAt_id (0 : ℝ)).neg.exp).const_sub 1) using 1 <;> norm_num + have h := (hasDerivAt_homogeneousSchrodinger a k ha ha1 hk q qL hL (1 - Real.exp (-0))).scomp 0 ht + simpa only [Function.comp_def, v, neg_zero, Real.exp_zero, sub_self, homogeneousSchrodingerOperator_zero, one_smul] using h + have hv0 : v 0 = q := by simp [v] + have hg' := hasDerivWithinAt_homogeneousSimilarityDilation a k ha ha1 hk q g hg + rw [← hv0] at hg' + have hD := hasDerivWithinAt_strong_apply + (fun s => (homogeneousSimilarityDilation a k ha ha1 hk s).restrictScalars ℝ) + v (Complex.I • qL) g (continuous_homogeneousSimilarityDilation a k ha ha1 hk) + hv.hasDerivWithinAt hg' + change HasDerivWithinAt + (fun s => homogeneousSimilarityDilation a k ha ha1 hk s (v s)) + (g + homogeneousSimilarityDilation a k ha ha1 hk 0 (Complex.I • qL)) (Ici 0) 0 at hD + rw [homogeneousSimilarityDilation_zero] at hD + have he : HasDerivAt (fun s : ℝ => Complex.exp (Complex.I * (b : ℂ) * (s : ℂ))) + (Complex.I * (b : ℂ)) 0 := by + have h := (((hasDerivAt_id (0 : ℝ)).ofReal_comp).const_mul (Complex.I * (b : ℂ))).cexp + simpa only [id_eq, Complex.ofReal_zero, mul_zero, Complex.exp_zero, one_mul, + Complex.ofReal_one, mul_one] using h + have h := he.hasDerivWithinAt.smul hD + simp only [Complex.ofReal_zero, mul_zero, Complex.exp_zero, one_smul, + homogeneousSimilarityDilation_zero, hv0] at h + apply h.congr_of_mem _ (by simp only [mem_Ici]; exact le_rfl) + intro s hs + exact homogeneousFreeOperator_factor a b k s ha ha1 hk hs q + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeDuality.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeDuality.lean new file mode 100644 index 0000000000000000000000000000000000000000..cbf362014c1db91966833b7ab9a7eba0f807ea14 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeDuality.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFourierPairing +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreePhysical + +namespace OAI + +/-! # Exact Fourier-test action of the free similarity group + +Changing variables moves the dilation onto the test function. This +identity holds on the whole homogeneous space by its dense Schwartz +realization and provides the distributional generator calculation. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFreeDualTest (a b t : ℝ) (φ : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + homogeneousPhysicalAmplitude a b t • + (SchwartzMap.smulLeftCLM ℂ (homogeneousSchrodingerPhase (1 - Real.exp (-t)))) + (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 (Real.exp (-t / 2)) (Real.exp_ne_zero _)) • + ContinuousLinearEquiv.refl ℝ E) φ) + +theorem homogeneousFreeDualTest_apply (a b t : ℝ) (φ : 𝓢(E, ℂ)) (ξ : E) : + homogeneousFreeDualTest a b t φ ξ = homogeneousPhysicalAmplitude a b t * + homogeneousSchrodingerPhase (1 - Real.exp (-t)) ξ * + φ (Real.exp (-t / 2) • ξ) := by + simp only [homogeneousFreeDualTest, smul_apply, + SchwartzMap.smulLeftCLM_apply_apply + (homogeneousSchrodingerPhase_temperate (1 - Real.exp (-t))), + SchwartzMap.compCLMOfContinuousLinearEquiv_apply, Function.comp_apply, + ContinuousLinearEquiv.smul_apply, ContinuousLinearEquiv.refl_apply, + Units.val_mk0, smul_eq_mul] + ring + +theorem integral_homogeneousFreeFourier_dual (a b t : ℝ) (φ ψ : 𝓢(E, ℂ)) : + (∫ ξ : E, homogeneousFreeFourier a b t ψ ξ * φ ξ) = + ∫ ξ : E, ψ ξ * homogeneousFreeDualTest a b t φ ξ := by + let R := Real.exp (t / 2) + let g : E → ℂ := fun ξ => + ψ ξ * homogeneousSchrodingerPhase (1 - Real.exp (-t)) ξ * φ (R⁻¹ • ξ) + have hR : 0 < R := Real.exp_pos _ + have hRinv : R⁻¹ = Real.exp (-t / 2) := by + dsimp only [R] + rw [← Real.exp_neg] + congr 1 + ring + have he (ξ : E) : homogeneousFreeFourier a b t ψ ξ * φ ξ = + homogeneousFreeAmplitude a b t * g (R • ξ) := by + rw [homogeneousFreeFourier_apply, homogeneousFreePhase_scaled] + dsimp only [g, R] + rw [smul_smul, inv_mul_cancel₀ hR.ne', one_smul] + ring + calc + (∫ ξ : E, homogeneousFreeFourier a b t ψ ξ * φ ξ) = + homogeneousFreeAmplitude a b t * ∫ ξ : E, g (R • ξ) := by + simp_rw [he] + rw [integral_const_mul] + _ = homogeneousFreeAmplitude a b t * + (((R ^ (12 : ℕ))⁻¹ : ℝ) • ∫ ξ : E, g ξ) := by + rw [Measure.integral_comp_smul_of_nonneg volume g R (hR := hR.le), + finrank_euclideanSpace_fin] + _ = homogeneousPhysicalAmplitude a b t * ∫ ξ : E, g ξ := by + rw [Complex.real_smul, ← mul_assoc, ← inv_pow] + rw [show homogeneousFreeAmplitude a b t * (((R⁻¹) ^ (12 : ℕ) : ℝ) : ℂ) = + homogeneousPhysicalAmplitude a b t from homogeneousFreeAmplitude_dilation a b t] + _ = ∫ ξ : E, ψ ξ * homogeneousFreeDualTest a b t φ ξ := by + rw [← integral_const_mul] + apply integral_congr_ae + exact ae_of_all _ (fun ξ => by + dsimp only + rw [homogeneousFreeDualTest_apply, ← hRinv] + dsimp only [g] + ring) + +theorem homogeneousFreeOperator_fourier_duality (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (φ : 𝓢(E, ℂ)) (u : HomogeneousY a k) : + homogeneousFourierPairing a k ha ha1 hk φ + (homogeneousFreeOperator a b k t ha ha1 hk u) = + homogeneousFourierPairing a k ha ha1 hk (homogeneousFreeDualTest a b t φ) u := by + have he := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (((homogeneousFourierPairing a k ha ha1 hk φ).comp + (homogeneousFreeOperator a b k t ha ha1 hk)).continuous) + (homogeneousFourierPairing a k ha ha1 hk (homogeneousFreeDualTest a b t φ)).continuous + (by + funext ψ + simp only [Function.comp_apply, ContinuousLinearMap.comp_apply, + homogeneousFreeOperator_on_Schwartz, homogeneousFourierPairing_Schwartz] + exact integral_homogeneousFreeFourier_dual a b t φ ψ) + exact congrFun he u + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..d9d96050be9c48e074ce40b60875c3cef3fe2de3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeEnergy.lean @@ -0,0 +1,119 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyComponents +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! # Exact free energy rates on the completed space + +The low and high squared Sobolev norms acquire the factors exp(-a s) +and exp((6-2a-k)s). Density extends the identities from Schwartz data to +every element of the faithful Y space. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +theorem homogeneousLowEnergy_free (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + ‖homogeneousLowEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk f)‖ ^ 2 = + Real.exp (-a * s) * ‖homogeneousLowEnergy a k ha1 hk f‖ ^ 2 := by + have h : (fun g : HomogeneousY a k => + ‖homogeneousLowEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk g)‖ ^ 2) = + (fun g => Real.exp (-a * s) * ‖homogeneousLowEnergy a k ha1 hk g‖ ^ 2) := + (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (((homogeneousLowEnergy a k ha1 hk).continuous.comp + (homogeneousFreeOperator a b k s ha ha1 hk).continuous).norm.pow 2) + (continuous_const.mul ((homogeneousLowEnergy a k ha1 hk).continuous.norm.pow 2)) (by + funext ψ + simp only [Function.comp_apply] + rw [homogeneousFreeOperator_on_Schwartz, homogeneousLowEnergy_Schwartz_norm_sq, + homogeneousLowEnergy_Schwartz_norm_sq, homogeneousFreeFourier_energy] + have he : 6 - 2 * a - (6 - a) = -a := by ring + rw [he] + ring) + exact congrFun h f + +theorem homogeneousHighEnergy_free (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + ‖homogeneousHighEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk f)‖ ^ 2 = + Real.exp ((6 - 2 * a - k) * s) * ‖homogeneousHighEnergy a k ha1 hk f‖ ^ 2 := by + have h : (fun g : HomogeneousY a k => + ‖homogeneousHighEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk g)‖ ^ 2) = + (fun g => Real.exp ((6 - 2 * a - k) * s) * ‖homogeneousHighEnergy a k ha1 hk g‖ ^ 2) := + (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (((homogeneousHighEnergy a k ha1 hk).continuous.comp + (homogeneousFreeOperator a b k s ha ha1 hk).continuous).norm.pow 2) + (continuous_const.mul ((homogeneousHighEnergy a k ha1 hk).continuous.norm.pow 2)) (by + funext ψ + simp only [Function.comp_apply] + rw [homogeneousFreeOperator_on_Schwartz, homogeneousHighEnergy_Schwartz_norm_sq, + homogeneousHighEnergy_Schwartz_norm_sq, homogeneousFreeFourier_energy] + ring) + exact congrFun h f + +theorem homogeneousFreeEnergy_formula (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + ‖homogeneousFreeOperator a b k s ha ha1 hk f‖ ^ 2 = + Real.exp (-a * s) * ‖homogeneousLowEnergy a k ha1 hk f‖ ^ 2 + + Real.exp ((6 - 2 * a - k) * s) * ‖homogeneousHighEnergy a k ha1 hk f‖ ^ 2 := by + rw [homogeneousEnergy_norm_sq a k ha1 hk, homogeneousLowEnergy_free, + homogeneousHighEnergy_free] + +theorem hasDerivAt_homogeneousFreeEnergy_zero (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + HasDerivAt (fun s => ‖homogeneousFreeOperator a b k s ha ha1 hk f‖ ^ 2) + (-a * ‖homogeneousLowEnergy a k ha1 hk f‖ ^ 2 + + (6 - 2 * a - k) * ‖homogeneousHighEnergy a k ha1 hk f‖ ^ 2) 0 := by + have hlow := (((hasDerivAt_id (0 : ℝ)).const_mul (-a)).exp).mul_const + (‖homogeneousLowEnergy a k ha1 hk f‖ ^ 2) + have hhigh := (((hasDerivAt_id (0 : ℝ)).const_mul (6 - 2 * a - k)).exp).mul_const + (‖homogeneousHighEnergy a k ha1 hk f‖ ^ 2) + have he : (fun s => ‖homogeneousFreeOperator a b k s ha ha1 hk f‖ ^ 2) = + (fun s => Real.exp (-a * s) * ‖homogeneousLowEnergy a k ha1 hk f‖ ^ 2 + + Real.exp ((6 - 2 * a - k) * s) * ‖homogeneousHighEnergy a k ha1 hk f‖ ^ 2) := + funext (fun s => homogeneousFreeEnergy_formula a b k s ha ha1 hk f) + rw [he] + simpa only [id_eq, mul_zero, Real.exp_zero, one_mul, mul_one, Pi.add_apply] using! + hlow.add hhigh + +theorem homogeneousLowEnergy_free_inner (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f g : HomogeneousY a k) : + inner ℝ (homogeneousLowEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk f)) + (homogeneousLowEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk g)) = + Real.exp (-a * s) * inner ℝ (homogeneousLowEnergy a k ha1 hk f) + (homogeneousLowEnergy a k ha1 hk g) := by + have h := homogeneousLowEnergy_free a b k s ha ha1 hk (f + g) + simp only [map_add] at h + rw [norm_add_sq_real, norm_add_sq_real, + homogeneousLowEnergy_free a b k s ha ha1 hk f, + homogeneousLowEnergy_free a b k s ha ha1 hk g] at h + nlinarith [h] + +theorem homogeneousHighEnergy_free_inner (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f g : HomogeneousY a k) : + inner ℝ (homogeneousHighEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk f)) + (homogeneousHighEnergy a k ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk g)) = + Real.exp ((6 - 2 * a - k) * s) * inner ℝ (homogeneousHighEnergy a k ha1 hk f) + (homogeneousHighEnergy a k ha1 hk g) := by + have h := homogeneousHighEnergy_free a b k s ha ha1 hk (f + g) + simp only [map_add] at h + rw [norm_add_sq_real, norm_add_sq_real, + homogeneousHighEnergy_free a b k s ha ha1 hk f, + homogeneousHighEnergy_free a b k s ha ha1 hk g] at h + nlinarith [h] + +theorem homogeneousEnergy_inner (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (f g : HomogeneousY a k) : + inner ℝ f g = inner ℝ (homogeneousLowEnergy a k ha1 hk f) + (homogeneousLowEnergy a k ha1 hk g) + + inner ℝ (homogeneousHighEnergy a k ha1 hk f) (homogeneousHighEnergy a k ha1 hk g) := by + have h := homogeneousEnergy_norm_sq a k ha1 hk (f + g) + simp only [map_add] at h + rw [norm_add_sq_real, norm_add_sq_real, norm_add_sq_real, + homogeneousEnergy_norm_sq a k ha1 hk f, homogeneousEnergy_norm_sq a k ha1 hk g] at h + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeFourier.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeFourier.lean new file mode 100644 index 0000000000000000000000000000000000000000..d3f6fac27ce1bb6e0199a9a8babd81bdb72b5e8a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeFourier.lean @@ -0,0 +1,111 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYNorm +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSobolevLocalization +import Mathlib.Analysis.Normed.Operator.Extend + +namespace OAI + +/-! # Exact whole-space free evolution in Fourier variables + +The similarity factor and dilation are those of (lin:free-flow). The two +homogeneous energies are estimated separately before extending the action to Y. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFrequencyEnergy (r : ℝ) (f : E → ℂ) : ℝ := + ∫ ξ, ‖ξ‖ ^ (2 * r) * ‖f ξ‖ ^ 2 + +private theorem frequency_density_dilation (r R : ℝ) (hR : 0 < R) + (f : E → ℂ) (ξ : E) : + ‖ξ‖ ^ (2 * r) * ‖f (R • ξ)‖ ^ 2 = + R ^ (-(2 * r)) * (‖R • ξ‖ ^ (2 * r) * ‖f (R • ξ)‖ ^ 2) := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hR, + Real.mul_rpow hR.le (norm_nonneg ξ)] + have hc : R ^ (-(2 * r)) * R ^ (2 * r) = 1 := by + rw [← Real.rpow_add hR] + simp + calc + _ = 1 * (‖ξ‖ ^ (2 * r) * ‖f (R • ξ)‖ ^ 2) := by ring + _ = _ := by rw [← hc]; ring + +theorem homogeneousFrequencyEnergy_dilation (r R : ℝ) (hR : 0 < R) (f : E → ℂ) : + homogeneousFrequencyEnergy r (fun ξ => f (R • ξ)) = + R ^ (-12 - 2 * r) * homogeneousFrequencyEnergy r f := by + unfold homogeneousFrequencyEnergy + simp_rw [frequency_density_dilation r R hR f] + rw [integral_const_mul, Measure.integral_comp_smul_of_nonneg + (volume : Measure E) (fun ξ => ‖ξ‖ ^ (2 * r) * ‖f ξ‖ ^ 2) R + (hR := hR.le), finrank_euclideanSpace_fin] + simp only [smul_eq_mul] + rw [← mul_assoc] + congr 1 + rw [← Real.rpow_natCast, ← Real.rpow_neg hR.le, ← Real.rpow_add hR] + congr 1 + ring + +noncomputable def homogeneousFreePhase (s : ℝ) (ξ : E) : ℂ := + Complex.exp ((-(Real.exp s - 1) * ‖ξ‖ ^ 2 : ℝ) * Complex.I) + +@[simp] theorem homogeneousFreePhase_norm (s : ℝ) (ξ : E) : + ‖homogeneousFreePhase s ξ‖ = 1 := Complex.norm_exp_ofReal_mul_I _ + +theorem homogeneousFreePhase_temperate (s : ℝ) : + (homogeneousFreePhase s).HasTemperateGrowth := by + have hpoly : (fun ξ : E => -(Real.exp s - 1) * ‖ξ‖ ^ 2).HasTemperateGrowth := + (Function.HasTemperateGrowth.const _).mul (Function.hasTemperateGrowth_norm_sq E) + exact Complex.hasTemperateGrowth_exp_mul_I.comp hpoly + +noncomputable def homogeneousFreeAmplitude (a b s : ℝ) : ℂ := + Complex.exp ((((6 - a) * s : ℝ) : ℂ) + Complex.I * ((b * s : ℝ) : ℂ)) + +@[simp] theorem homogeneousFreeAmplitude_norm (a b s : ℝ) : + ‖homogeneousFreeAmplitude a b s‖ = Real.exp ((6 - a) * s) := by + simp [homogeneousFreeAmplitude, Complex.norm_exp] + +/-- Fourier action of e^((-a+ib)s)[e^(i(1-e^-s)Δ)v](e^(-s/2)y). -/ +noncomputable def homogeneousFreeFourier (a b s : ℝ) : 𝓢(E, ℂ) →L[ℂ] 𝓢(E, ℂ) := + homogeneousFreeAmplitude a b s • + (SchwartzMap.smulLeftCLM ℂ (homogeneousFreePhase s)).comp + (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 (Real.exp (s / 2)) (Real.exp_ne_zero _)) • + ContinuousLinearEquiv.refl ℝ E)) + +@[simp] theorem homogeneousFreeFourier_apply (a b s : ℝ) (ψ : 𝓢(E, ℂ)) (ξ : E) : + homogeneousFreeFourier a b s ψ ξ = + homogeneousFreeAmplitude a b s * homogeneousFreePhase s ξ * + ψ (Real.exp (s / 2) • ξ) := by + simp only [homogeneousFreeFourier, smul_apply, + ContinuousLinearMap.comp_apply, SchwartzMap.smulLeftCLM_apply_apply + (homogeneousFreePhase_temperate s), smul_eq_mul, + SchwartzMap.compCLMOfContinuousLinearEquiv_apply] + change homogeneousFreeAmplitude a b s * + (homogeneousFreePhase s ξ * ψ (Real.exp (s / 2) • ξ)) = _ + ring + +/-- Each homogeneous order has its exact similarity exponent. -/ +theorem homogeneousFreeFourier_energy (a b s r : ℝ) (ψ : 𝓢(E, ℂ)) : + homogeneousFrequencyEnergy r (homogeneousFreeFourier a b s ψ) = + Real.exp ((6 - 2 * a - r) * s) * homogeneousFrequencyEnergy r ψ := by + have he : homogeneousFrequencyEnergy r (homogeneousFreeFourier a b s ψ) = + Real.exp ((6 - a) * s) ^ (2 : ℕ) * + homogeneousFrequencyEnergy r (fun ξ => ψ (Real.exp (s / 2) • ξ)) := by + unfold homogeneousFrequencyEnergy + rw [← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with ξ + simp only [homogeneousFreeFourier_apply, norm_mul, homogeneousFreeAmplitude_norm, + homogeneousFreePhase_norm, mul_one, mul_pow] + ring + rw [he, homogeneousFrequencyEnergy_dilation r _ (Real.exp_pos _)] + rw [← Real.exp_nat_mul, ← Real.exp_mul, ← mul_assoc, ← Real.exp_add] + congr 2 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeGroup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeGroup.lean new file mode 100644 index 0000000000000000000000000000000000000000..29d616e44c7f4cc6138290c623edde871a6a9895 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeGroup.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeOperator + +namespace OAI + +/-! # Group law for the exact whole-space free evolution -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +@[simp] theorem homogeneousFreeAmplitude_zero (a b : ℝ) : + homogeneousFreeAmplitude a b 0 = 1 := by + simp [homogeneousFreeAmplitude] + +@[simp] theorem homogeneousFreePhase_zero (ξ : E) : homogeneousFreePhase 0 ξ = 1 := by + simp [homogeneousFreePhase] + +theorem homogeneousFreeAmplitude_add (a b s t : ℝ) : + homogeneousFreeAmplitude a b (s + t) = + homogeneousFreeAmplitude a b s * homogeneousFreeAmplitude a b t := by + unfold homogeneousFreeAmplitude + rw [← Complex.exp_add] + congr 1 + push_cast + ring + +theorem homogeneousFreePhase_add (s t : ℝ) (ξ : E) : + homogeneousFreePhase (s + t) ξ = homogeneousFreePhase s ξ * + homogeneousFreePhase t (Real.exp (s / 2) • ξ) := by + unfold homogeneousFreePhase + rw [← Complex.exp_add, norm_smul, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _), + mul_pow, ← Real.exp_nat_mul] + have he : (2 : ℝ) * (s / 2) = s := by ring + simp only [Nat.cast_ofNat] + rw [he, Real.exp_add] + congr 1 + push_cast + ring + +@[simp] theorem homogeneousFreeFourier_zero (a b : ℝ) (ψ : 𝓢(E, ℂ)) : + homogeneousFreeFourier a b 0 ψ = ψ := by + ext ξ + simp + +theorem homogeneousFreeFourier_add (a b s t : ℝ) (ψ : 𝓢(E, ℂ)) : + homogeneousFreeFourier a b (s + t) ψ = + homogeneousFreeFourier a b s (homogeneousFreeFourier a b t ψ) := by + ext ξ + simp only [homogeneousFreeFourier_apply, homogeneousFreeAmplitude_add, + homogeneousFreePhase_add] + have he : Real.exp ((s + t) / 2) = Real.exp (t / 2) * Real.exp (s / 2) := by + rw [← Real.exp_add] + congr 1 + ring + rw [he, mul_smul] + ring + +@[simp] theorem homogeneousFreeOperator_zero (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + homogeneousFreeOperator a b k 0 ha ha1 hk f = f := by + have h := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (homogeneousFreeOperator a b k 0 ha ha1 hk).continuous continuous_id (by + funext ψ + simp only [Function.comp_apply, homogeneousFreeOperator_on_Schwartz, + homogeneousFreeFourier_zero, id_eq]) + exact congr_fun h f + +theorem homogeneousFreeOperator_add (a b k s t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + homogeneousFreeOperator a b k (s + t) ha ha1 hk f = + homogeneousFreeOperator a b k s ha ha1 hk + (homogeneousFreeOperator a b k t ha ha1 hk f) := by + have h := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (homogeneousFreeOperator a b k (s + t) ha ha1 hk).continuous + ((homogeneousFreeOperator a b k s ha ha1 hk).continuous.comp + (homogeneousFreeOperator a b k t ha ha1 hk).continuous) (by + funext ψ + simp only [Function.comp_apply, homogeneousFreeOperator_on_Schwartz, + homogeneousFreeFourier_add]) + exact congr_fun h f + +@[simp] theorem homogeneousFreeOperator_neg_cancel (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + homogeneousFreeOperator a b k (-s) ha ha1 hk + (homogeneousFreeOperator a b k s ha ha1 hk f) = f := by + rw [← homogeneousFreeOperator_add] + simp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeJointContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeJointContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..e374a55323edebc7efd3e4c0eaa237b20f119007 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeJointContinuity.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeContinuity + +namespace OAI + +/-! # Joint continuity of time and data for the whole-space free group -/ + +open Filter Topology + +namespace DefocusingNLS + +/-- Strong continuity and the local uniform bound give joint continuity in time and data. -/ +theorem continuous_homogeneousFreeOperator_uncurry (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Continuous (fun p : ℝ × HomogeneousY a k => + homogeneousFreeOperator a b k p.1 ha ha1 hk p.2) := by + rw [continuous_iff_continuousAt] + intro p + apply Metric.tendsto_nhds.mpr + intro ε hε + let M := homogeneousFreeBound a k p.1 + 1 + have hC : 0 < homogeneousFreeBound a k p.1 := + lt_of_lt_of_le (Real.exp_pos _) (le_max_left _ _) + have hM : 0 < M := by dsimp [M]; linarith + have hu : ∀ᶠ q : ℝ × HomogeneousY a k in 𝓝 p, dist q.2 p.2 < ε / (2 * M) := + continuous_snd.continuousAt.eventually + (Metric.ball_mem_nhds _ (by positivity)) + have hs : ∀ᶠ q : ℝ × HomogeneousY a k in 𝓝 p, + dist (homogeneousFreeOperator a b k q.1 ha ha1 hk p.2) + (homogeneousFreeOperator a b k p.1 ha ha1 hk p.2) < ε / 2 := + (((continuous_homogeneousFreeOperator a b k ha ha1 hk p.2).comp + continuous_fst).continuousAt).eventually (Metric.ball_mem_nhds _ (by positivity)) + have hB : ∀ᶠ q : ℝ × HomogeneousY a k in 𝓝 p, + homogeneousFreeBound a k q.1 < M := + (((continuous_homogeneousFreeBound a k).comp continuous_fst).continuousAt).eventually + (eventually_lt_nhds (by dsimp [M]; linarith)) + filter_upwards [hu, hs, hB] with q hqu hqs hqB + have hd : dist (homogeneousFreeOperator a b k q.1 ha ha1 hk q.2) + (homogeneousFreeOperator a b k q.1 ha ha1 hk p.2) < ε / 2 := by + rw [dist_eq_norm, ← map_sub] + apply (homogeneousFreeOperator_norm_le a b k q.1 ha ha1 hk (q.2 - p.2)).trans_lt + have hm : M * (ε / (2 * M)) = ε / 2 := by field_simp + rw [dist_eq_norm] at hqu + have hh := mul_lt_mul_of_pos_left hqu hM + rw [hm] at hh + exact (mul_le_mul_of_nonneg_right hqB.le (norm_nonneg _)).trans_lt hh + exact (dist_triangle _ _ _).trans_lt (by linarith) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeOperator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeOperator.lean new file mode 100644 index 0000000000000000000000000000000000000000..566480f7b7b130b9a93ea731e15be07f763d6864 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeOperator.lean @@ -0,0 +1,130 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeFourier + +namespace OAI + +/-! # Bounded whole-space free operators on the exact completion + +The Fourier-side Schwartz action extends through a dense map to Y. The bound +for nonnegative time is exactly exp(-a s/2). +-/ + +open MeasureTheory +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFrequencyEmbedding (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : 𝓢(E, ℂ) →L[ℂ] HomogeneousY a k := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + exact SchwartzMap.toLpCLM ℂ ℂ 2 (homogeneousFourierMeasure a k) + +theorem homogeneousFrequencyEmbedding_dense (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + DenseRange (homogeneousFrequencyEmbedding a k ha ha1 hk) := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + let := homogeneousFourierMeasure_locallyFinite a k ha1 hk + exact SchwartzMap.denseRange_toLpCLM (F := ℂ) (μ := homogeneousFourierMeasure a k) + (by norm_num : (2 : ℝ≥0∞) ≠ ⊤) + +theorem homogeneousFrequencyEmbedding_norm_sq (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ ^ 2 = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (homogeneousFrequencyEnergy (6 - a) ψ + homogeneousFrequencyEnergy k ψ) := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + obtain ⟨χ, hχ⟩ := radianFourierKernel_surjective ψ + have h := homogeneousSchwartzEmbedding_norm_sq a k ha ha1 hk χ + simpa only [homogeneousSchwartzEmbedding_apply, hχ, homogeneousFrequencyEmbedding, + SchwartzMap.toLpCLM_apply, homogeneousFrequencyEnergy, homogeneousFourierEnergy, + ← radianFourierKernel_apply] using h + +theorem homogeneousFrequencyEmbedding_norm_sq_integral (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ ^ 2 = + ∫ ξ, ‖ψ ξ‖ ^ 2 ∂homogeneousFourierMeasure a k := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + have hn := SchwartzMap.norm_toLp' (f := ψ) + (μ := homogeneousFourierMeasure a k) (p := 2) (by norm_num) (by norm_num) + have he : ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ = + Real.sqrt (∫ ξ, ‖ψ ξ‖ ^ 2 ∂homogeneousFourierMeasure a k) := by + simpa only [homogeneousFrequencyEmbedding, SchwartzMap.toLpCLM_apply, + ENNReal.toReal_ofNat, Real.rpow_two, Real.sqrt_eq_rpow, one_div] using hn + rw [he, Real.sq_sqrt (integral_nonneg (fun _ => sq_nonneg _))] + +noncomputable def homogeneousFreeBound (a k s : ℝ) : ℝ := + max (Real.exp (-a * s / 2)) (Real.exp ((6 - 2 * a - k) * s / 2)) + +private theorem exp_half_sq (x : ℝ) : Real.exp (x / 2) ^ (2 : ℕ) = Real.exp x := by + rw [← Real.exp_nat_mul] + congr 1 + ring + +theorem homogeneousFreeFourier_norm_bound (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousFreeFourier a b s ψ)‖ ≤ + homogeneousFreeBound a k s * ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ := by + let c := ((2 * Real.pi) ^ (12 : ℕ))⁻¹ + let E₁ := homogeneousFrequencyEnergy (6 - a) ψ + let E₂ := homogeneousFrequencyEnergy k ψ + let C := homogeneousFreeBound a k s + have hC : 0 ≤ C := le_trans (Real.exp_nonneg _) (le_max_left _ _) + have hE₁ : 0 ≤ E₁ := integral_nonneg (fun _ => by positivity) + have hE₂ : 0 ≤ E₂ := integral_nonneg (fun _ => by positivity) + have hc : 0 ≤ c := by positivity + have h₁ : Real.exp (-a * s) ≤ C ^ 2 := by + rw [← exp_half_sq] + exact (sq_le_sq₀ (Real.exp_nonneg _) hC).mpr (le_max_left _ _) + have h₂ : Real.exp ((6 - 2 * a - k) * s) ≤ C ^ 2 := by + rw [← exp_half_sq] + exact (sq_le_sq₀ (Real.exp_nonneg _) hC).mpr (le_max_right _ _) + have hn := homogeneousFrequencyEmbedding_norm_sq a k ha ha1 hk ψ + have hn' := homogeneousFrequencyEmbedding_norm_sq a k ha ha1 hk + (homogeneousFreeFourier a b s ψ) + rw [homogeneousFreeFourier_energy, homogeneousFreeFourier_energy] at hn' + have he : 6 - 2 * a - (6 - a) = -a := by ring + rw [he] at hn' + change ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ ^ 2 = c * (E₁ + E₂) at hn + change ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousFreeFourier a b s ψ)‖ ^ 2 = + c * (Real.exp (-a * s) * E₁ + Real.exp ((6 - 2 * a - k) * s) * E₂) at hn' + have hs : ‖homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousFreeFourier a b s ψ)‖ ^ 2 ≤ + (C * ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖) ^ 2 := by + rw [hn', mul_pow, hn] + exact mul_le_mul_of_nonneg_left (add_le_add + (mul_le_mul_of_nonneg_right h₁ hE₁) (mul_le_mul_of_nonneg_right h₂ hE₂)) hc |>.trans_eq (by ring) + exact (sq_le_sq₀ (norm_nonneg _) (mul_nonneg hC (norm_nonneg _))).mp hs + +noncomputable def homogeneousFreeOperator (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : HomogeneousY a k →L[ℂ] HomogeneousY a k := + ((homogeneousFrequencyEmbedding a k ha ha1 hk).comp + (homogeneousFreeFourier a b s)).toLinearMap.extendOfNorm + (homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap + +theorem homogeneousFreeOperator_on_Schwartz (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + homogeneousFreeOperator a b k s ha ha1 hk + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) = + homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousFreeFourier a b s ψ) := + LinearMap.extendOfNorm_eq (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + ⟨homogeneousFreeBound a k s, homogeneousFreeFourier_norm_bound a b k s ha ha1 hk⟩ ψ + +theorem homogeneousFreeOperator_norm_le (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + ‖homogeneousFreeOperator a b k s ha ha1 hk f‖ ≤ homogeneousFreeBound a k s * ‖f‖ := + LinearMap.norm_extendOfNorm_apply_le (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + (homogeneousFreeBound a k s) (homogeneousFreeFourier_norm_bound a b k s ha ha1 hk) f + +/-- The exact forward decay in the manuscript's homogeneous norm. -/ +theorem homogeneousFreeOperator_forward_bound (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hs : 0 ≤ s) (f : HomogeneousY a k) : + ‖homogeneousFreeOperator a b k s ha ha1 hk f‖ ≤ Real.exp (-a * s / 2) * ‖f‖ := by + have he : homogeneousFreeBound a k s = Real.exp (-a * s / 2) := by + apply max_eq_left + apply Real.exp_le_exp.mpr + nlinarith + simpa only [he] using homogeneousFreeOperator_norm_le a b k s ha ha1 hk f + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreePhysical.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreePhysical.lean new file mode 100644 index 0000000000000000000000000000000000000000..168d0ea16904380a9756c20a93884e99ce62cd45 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreePhysical.lean @@ -0,0 +1,141 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchrodingerMultiplier +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeGroup + +namespace OAI + +/-! # The whole-space free group has the manuscript's physical-space formula -/ + +open MeasureTheory +open scoped SchwartzMap ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousPhysicalAmplitude (a b s : ℝ) : ℂ := + Complex.exp (((-a * s : ℝ) : ℂ) + Complex.I * ((b * s : ℝ) : ℂ)) + +theorem homogeneousPhysicalAmplitude_eq (a b s : ℝ) : + homogeneousPhysicalAmplitude a b s = + Complex.exp ((-(a : ℂ) + Complex.I * (b : ℂ)) * (s : ℂ)) := by + unfold homogeneousPhysicalAmplitude + congr 1 + push_cast + ring_nf + +@[simp] theorem homogeneousPhysicalAmplitude_norm (a b s : ℝ) : + ‖homogeneousPhysicalAmplitude a b s‖ = Real.exp (-a * s) := by + simp [homogeneousPhysicalAmplitude, Complex.norm_exp] + +theorem homogeneousPhysicalCLM_rawSchwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) y = + inverseRadianFourier ψ y := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + have he := (SchwartzMap.coeFn_toLp ψ 2 (homogeneousFourierMeasure a k)).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + exact congrFun (inverseRadianFourier_congr_ae he) y + +theorem inverseRadianFourier_dilation (R : ℝ) (hR : 0 < R) (f : E → ℂ) (y : E) : + inverseRadianFourier (fun ξ => f (R • ξ)) y = + (((R⁻¹) ^ (12 : ℕ) : ℝ) : ℂ) * inverseRadianFourier f (R⁻¹ • y) := by + have h := radianFourier_dilation R⁻¹ (inv_pos.mpr hR) f (-y) + simp only [inv_inv, smul_neg] at h + change radianFourierIntegral (fun ξ => f (R • ξ)) (-y) = + (((R⁻¹) ^ (12 : ℕ) : ℝ) : ℂ) * radianFourierIntegral f (-(R⁻¹ • y)) at h + unfold inverseRadianFourier + rw [h] + ring_nf + +theorem homogeneousFreePhase_scaled (s : ℝ) (ξ : E) : + homogeneousFreePhase s ξ = + homogeneousSchrodingerPhase (1 - Real.exp (-s)) (Real.exp (s / 2) • ξ) := by + unfold homogeneousFreePhase homogeneousSchrodingerPhase + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _), mul_pow, + ← Real.exp_nat_mul] + simp only [Nat.cast_ofNat] + rw [show (2 : ℝ) * (s / 2) = s by ring_nf] + have he : Real.exp (-s) * Real.exp s = 1 := by rw [← Real.exp_add]; simp + have hreal : -(Real.exp s - 1) * ‖ξ‖ ^ 2 = + -(1 - Real.exp (-s)) * (Real.exp s * ‖ξ‖ ^ 2) := by nlinarith + exact congrArg (fun r : ℝ => Complex.exp ((r : ℂ) * Complex.I)) hreal + +theorem homogeneousFreeAmplitude_dilation (a b s : ℝ) : + homogeneousFreeAmplitude a b s * + (((Real.exp (s / 2))⁻¹ ^ (12 : ℕ) : ℝ) : ℂ) = + homogeneousPhysicalAmplitude a b s := by + have he : ((Real.exp (s / 2))⁻¹) ^ (12 : ℕ) = Real.exp (-6 * s) := by + rw [← Real.exp_neg, ← Real.exp_nat_mul] + congr 1 + norm_num + ring_nf + rw [he, homogeneousFreeAmplitude, homogeneousPhysicalAmplitude, Complex.ofReal_exp, + ← Complex.exp_add] + congr 1 + push_cast + ring_nf + +theorem inverseRadianFourier_homogeneousFree (a b s : ℝ) (ψ : 𝓢(E, ℂ)) (y : E) : + inverseRadianFourier (homogeneousFreeFourier a b s ψ) y = + homogeneousPhysicalAmplitude a b s * + inverseRadianFourier + (fun ξ => homogeneousSchrodingerPhase (1 - Real.exp (-s)) ξ * ψ ξ) + (Real.exp (-s / 2) • y) := by + have hf : (homogeneousFreeFourier a b s ψ : E → ℂ) = + homogeneousFreeAmplitude a b s • + (fun ξ => homogeneousSchrodingerPhase (1 - Real.exp (-s)) + (Real.exp (s / 2) • ξ) * ψ (Real.exp (s / 2) • ξ)) := by + funext ξ + rw [homogeneousFreeFourier_apply, homogeneousFreePhase_scaled] + simp only [Pi.smul_apply, smul_eq_mul] + ring_nf + rw [hf, inverseRadianFourier_smul] + change homogeneousFreeAmplitude a b s * inverseRadianFourier + (fun ξ => homogeneousSchrodingerPhase (1 - Real.exp (-s)) + (Real.exp (s / 2) • ξ) * ψ (Real.exp (s / 2) • ξ)) y = _ + rw [inverseRadianFourier_dilation _ (Real.exp_pos _) + (fun ξ => homogeneousSchrodingerPhase (1 - Real.exp (-s)) ξ * ψ ξ) y] + rw [← mul_assoc, homogeneousFreeAmplitude_dilation] + congr 2 + rw [← Real.exp_neg] + congr 1 + ring_nf + +/-- Formula (lin:free-flow) on every element of the actual homogeneous completion. -/ +theorem homogeneousFreeOperator_physical (a b k s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk f) y = + homogeneousPhysicalAmplitude a b s * + homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSchrodingerOperator a k (1 - Real.exp (-s)) f) + (Real.exp (-s / 2) • y) := by + have hev (z : E) : Continuous (fun g : C₀(E, ℂ) => g z) := + (BoundedContinuousFunction.evalCLM ℂ z).continuous.comp + ZeroAtInftyContinuousMap.isometry_toBCF.continuous + have hleft : Continuous (fun f : HomogeneousY a k => + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousFreeOperator a b k s ha ha1 hk f) y) := + ((hev y).comp + (homogeneousPhysicalCLM a k ha ha1 hk).continuous).comp + (homogeneousFreeOperator a b k s ha ha1 hk).continuous + have hright : Continuous (fun f : HomogeneousY a k => + homogeneousPhysicalAmplitude a b s * homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSchrodingerOperator a k (1 - Real.exp (-s)) f) + (Real.exp (-s / 2) • y)) := by + exact continuous_const.mul + (((hev (Real.exp (-s / 2) • y)).comp + (homogeneousPhysicalCLM a k ha ha1 hk).continuous).comp + (homogeneousSchrodingerOperator a k (1 - Real.exp (-s))).continuous) + have he := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer hleft hright (by + funext ψ + simp only [Function.comp_apply, homogeneousFreeOperator_on_Schwartz, + homogeneousSchrodingerOperator_Schwartz, homogeneousPhysicalCLM_rawSchwartz] + rw [inverseRadianFourier_homogeneousFree] + congr 2 + ext ξ + exact (SchwartzMap.smulLeftCLM_apply_apply + (homogeneousSchrodingerPhase_temperate (1 - Real.exp (-s))) ψ ξ).symm) + exact congrFun he f + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeTestBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeTestBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..5a36c287d2e86a36b912d2249f903935d63d7d2b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeTestBounds.lean @@ -0,0 +1,129 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeTestDerivative + +namespace OAI + +/-! # A uniform integrable bound for the differentiated Fourier tests -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFreeDualDerivative (a b t : ℝ) + (φ : 𝓢(E, ℂ)) (ξ : E) : ℂ := + let y := Real.exp (-t / 2) • ξ + homogeneousPhysicalAmplitude a b t * homogeneousSchrodingerPhase (1 - Real.exp (-t)) ξ * + (((-(a : ℂ) + Complex.I * (b : ℂ)) - Complex.I * (‖y‖ ^ 2 : ℝ)) * φ y - + (1 / 2 : ℝ) • fderiv ℝ φ y y) + +theorem hasDerivAt_homogeneousFreeDualTest (a b t : ℝ) (φ : 𝓢(E, ℂ)) (ξ : E) : + HasDerivAt (fun s : ℝ => homogeneousFreeDualTest a b s φ ξ) + (homogeneousFreeDualDerivative a b t φ ξ) t := by + let R := Real.exp (-t / 2) + let y := R • ξ + have hR : HasDerivAt (fun s : ℝ => Real.exp (-s / 2)) (-(R / 2)) t := by + convert (Real.hasDerivAt_exp (-t / 2)).comp t + (((hasDerivAt_id t).neg).div_const 2) using 1 + · rfl + · dsimp only [R] + ring + have hdir : (-(R / 2)) • ξ = (-(1 / 2 : ℝ)) • y := by + simp only [y, smul_smul] + congr 1 + ring + have hφ : HasDerivAt (fun s : ℝ => φ (Real.exp (-s / 2) • ξ)) + (-(1 / 2 : ℝ) • fderiv ℝ φ y y) t := by + have h := (φ.hasFDerivAt y).comp_hasDerivAt t (hR.smul_const ξ) + simpa only [Function.comp_def, hdir, map_smul] using h + have hy : Real.exp (-t) * ‖ξ‖ ^ 2 = ‖y‖ ^ 2 := by + simp only [y, R, norm_smul, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _), mul_pow] + rw [← Real.exp_nat_mul] + congr 1 + congr 1 + ring + have hreal : HasDerivAt (fun s : ℝ => -(1 - Real.exp (-s)) * ‖ξ‖ ^ 2) + (-‖y‖ ^ 2) t := by + have h := (((hasDerivAt_const t (1 : ℝ)).sub + ((Real.hasDerivAt_exp (-t)).comp t (hasDerivAt_id t).neg)).neg).mul_const (‖ξ‖ ^ 2) + convert h using 1 + · rfl + · rw [← hy] + ring + have hp : HasDerivAt + (fun s : ℝ => homogeneousSchrodingerPhase (1 - Real.exp (-s)) ξ) + (homogeneousSchrodingerPhase (1 - Real.exp (-t)) ξ * + (-((‖y‖ ^ 2 : ℝ) : ℂ) * Complex.I)) t := by + simpa only [homogeneousSchrodingerPhase, Complex.ofReal_neg] using + (hreal.ofReal_comp.mul_const Complex.I).cexp + have h := ((hasDerivAt_homogeneousPhysicalAmplitude a b t).mul hp).mul hφ + convert h using 1 + · funext s + exact homogeneousFreeDualTest_apply a b s φ ξ + · dsimp only [homogeneousFreeDualDerivative, y, R, Pi.mul_apply] + simp only [Complex.real_smul, Complex.ofReal_neg] + ring + +noncomputable def homogeneousFreeTestBound (a b : ℝ) (φ : 𝓢(E, ℂ)) : ℝ := + ‖-(a : ℂ) + Complex.I * (b : ℂ)‖ * SchwartzMap.seminorm ℂ 0 0 φ + + SchwartzMap.seminorm ℂ 2 0 φ + (1 / 2 : ℝ) * SchwartzMap.seminorm ℂ 1 1 φ + +theorem homogeneousFreeTestBound_nonneg (a b : ℝ) (φ : 𝓢(E, ℂ)) : + 0 ≤ homogeneousFreeTestBound a b φ := by + unfold homogeneousFreeTestBound + positivity + +theorem homogeneousFreeDualDerivative_norm_le (a b t : ℝ) (φ : 𝓢(E, ℂ)) (ξ : E) : + ‖homogeneousFreeDualDerivative a b t φ ξ‖ ≤ + Real.exp (-a * t) * homogeneousFreeTestBound a b φ := by + let y := Real.exp (-t / 2) • ξ + have hgrad : ‖fderiv ℝ φ y y‖ ≤ SchwartzMap.seminorm ℂ 1 1 φ := by + apply (ContinuousLinearMap.le_opNorm _ _).trans + have h := φ.le_seminorm ℂ 1 1 y + simpa only [pow_one, norm_iteratedFDeriv_one, mul_comm] using h + have hnorm : ‖((-(a : ℂ) + Complex.I * (b : ℂ)) - Complex.I * (‖y‖ ^ 2 : ℝ)) * φ y - + (1 / 2 : ℝ) • fderiv ℝ φ y y‖ ≤ homogeneousFreeTestBound a b φ := by + calc + _ ≤ ‖(-(a : ℂ) + Complex.I * (b : ℂ)) * φ y‖ + + ‖(Complex.I * (‖y‖ ^ 2 : ℝ)) * φ y‖ + + ‖(1 / 2 : ℝ) • fderiv ℝ φ y y‖ := by + rw [sub_mul] + exact (norm_sub_le _ _).trans (add_le_add (norm_sub_le _ _) le_rfl) + _ ≤ homogeneousFreeTestBound a b φ := by + simp only [norm_mul, Complex.norm_I, one_mul, norm_smul, Real.norm_eq_abs, + Complex.norm_real, abs_of_nonneg (sq_nonneg ‖y‖), + show |(1 / 2 : ℝ)| = 1 / 2 by norm_num] + unfold homogeneousFreeTestBound + exact add_le_add (add_le_add + (mul_le_mul_of_nonneg_left (φ.norm_le_seminorm ℂ y) (norm_nonneg _)) + (φ.norm_pow_mul_le_seminorm ℂ 2 y)) + (mul_le_mul_of_nonneg_left hgrad (by positivity)) + dsimp only [homogeneousFreeDualDerivative] + rw [norm_mul, norm_mul, homogeneousPhysicalAmplitude_norm, + homogeneousSchrodingerPhase_norm, mul_one] + exact mul_le_mul_of_nonneg_left hnorm (Real.exp_nonneg _) + +theorem continuous_homogeneousFreeDualDerivative (a b t : ℝ) (φ : 𝓢(E, ℂ)) : + Continuous (homogeneousFreeDualDerivative a b t φ) := by + have hd : Continuous (fun y : E => fderiv ℝ φ y) := + (SchwartzMap.fderivCLM ℂ E ℂ φ).continuous + have hgrad : Continuous (fun y : E => fderiv ℝ φ y y) := + Continuous.clm_apply (𝕜 := ℝ) hd continuous_id + have hy : Continuous (fun ξ : E => Real.exp (-t / 2) • ξ) := + continuous_const_smul _ + have hn : Continuous (fun ξ : E => ((‖Real.exp (-t / 2) • ξ‖ ^ 2 : ℝ) : ℂ)) := + Complex.continuous_ofReal.comp (hy.norm.pow 2) + have hc : Continuous (fun ξ : E => (-(a : ℂ) + Complex.I * (b : ℂ)) - + Complex.I * ((‖Real.exp (-t / 2) • ξ‖ ^ 2 : ℝ) : ℂ)) := + continuous_const.sub (hn.const_mul Complex.I) + have hb : Continuous (fun ξ : E => + (((-(a : ℂ) + Complex.I * (b : ℂ)) - + Complex.I * ((‖Real.exp (-t / 2) • ξ‖ ^ 2 : ℝ) : ℂ)) * + φ (Real.exp (-t / 2) • ξ) - + (1 / 2 : ℝ) • fderiv ℝ φ (Real.exp (-t / 2) • ξ) (Real.exp (-t / 2) • ξ))) := + (hc.mul (φ.continuous.comp hy)).sub ((hgrad.comp hy).const_smul (1 / 2 : ℝ)) + exact (continuous_const.mul (homogeneousSchrodingerPhase_continuous _)).mul hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeTestDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeTestDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..17b4e12179e736b5c05f719a14c83f1b75d589de --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFreeTestDerivative.lean @@ -0,0 +1,39 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeDuality +import Mathlib.Analysis.Calculus.Deriv.Comp +import Mathlib.Analysis.Calculus.Deriv.Mul +import Mathlib.Analysis.Calculus.Deriv.Star +import Mathlib.Analysis.Complex.RealDeriv + +namespace OAI + +/-! # The explicit adjoint free generator on Schwartz tests + +The Fourier-test generator has coefficients -a+ib, -i|xi|² and the +negative half Euler derivative. These are computed from the exact +similarity action, with the twelve-dimensional Jacobian already included. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem hasDerivAt_homogeneousPhysicalAmplitude (a b t : ℝ) : + HasDerivAt (homogeneousPhysicalAmplitude a b) + (homogeneousPhysicalAmplitude a b t * (-(a : ℂ) + Complex.I * (b : ℂ))) t := by + have h := hasDerivAt_exp_smul_const (𝕂 := ℝ) + (-(a : ℂ) + Complex.I * (b : ℂ)) t + have hf : (fun s : ℝ => NormedSpace.exp (s • (-(a : ℂ) + Complex.I * (b : ℂ)))) = + homogeneousPhysicalAmplitude a b := by + funext s + rw [Complex.real_smul, ← Complex.exp_eq_exp_ℂ, homogeneousPhysicalAmplitude_eq] + congr 1 + ring + have he := congrFun hf t + rw [hf, he] at h + exact h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFrequencySplit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFrequencySplit.lean new file mode 100644 index 0000000000000000000000000000000000000000..97a2a00a48ce65715d49f5f1d14e5b69279657af --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousFrequencySplit.lean @@ -0,0 +1,107 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorCompact +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDyadicPartition + +namespace OAI + +/-! # A concrete low/high frequency splitting on the Schwartz domain + +The low cutoff equals one up to R and vanishes beyond 2R. Its complement +does not increase any homogeneous Fourier energy. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFrequencyBump (R : ℝ) (hR : 0 < R) : ContDiffBump (0 : E) where + rIn := R + rOut := 2 * R + rIn_pos := hR + rIn_lt_rOut := by linarith + +noncomputable def homogeneousFrequencyCutoff (R : ℝ) (hR : 0 < R) : 𝓢(E, ℂ) := + ((homogeneousFrequencyBump R hR).hasCompactSupport.comp_left + (g := Complex.ofReal) (by simp)).toSchwartzMap + (Complex.ofRealCLM.contDiff.comp (homogeneousFrequencyBump R hR).contDiff) + +@[simp] theorem homogeneousFrequencyCutoff_apply (R : ℝ) (hR : 0 < R) (ξ : E) : + homogeneousFrequencyCutoff R hR ξ = ((homogeneousFrequencyBump R hR) ξ : ℂ) := rfl + +theorem homogeneousFrequencyCutoff_one (R : ℝ) (hR : 0 < R) (ξ : E) (hξ : ‖ξ‖ ≤ R) : + homogeneousFrequencyCutoff R hR ξ = 1 := by + rw [homogeneousFrequencyCutoff_apply, (homogeneousFrequencyBump R hR).one_of_mem_closedBall] + · simp + · simpa only [homogeneousFrequencyBump, Metric.mem_closedBall, dist_zero_right] using hξ + +theorem homogeneousFrequencyCutoff_zero (R : ℝ) (hR : 0 < R) (ξ : E) (hξ : 2 * R ≤ ‖ξ‖) : + homogeneousFrequencyCutoff R hR ξ = 0 := by + rw [homogeneousFrequencyCutoff_apply, (homogeneousFrequencyBump R hR).zero_of_le_dist] + · simp + · simpa only [homogeneousFrequencyBump, dist_zero_right] using hξ + +theorem homogeneousFrequencyCutoff_complement_norm (R : ℝ) (hR : 0 < R) (ξ : E) : + ‖1 - homogeneousFrequencyCutoff R hR ξ‖ ≤ 1 := by + let b := homogeneousFrequencyBump R hR + have hb0 : 0 ≤ b ξ := b.nonneg + have hb1 : b ξ ≤ 1 := b.le_one + change ‖(1 : ℂ) - (b ξ : ℂ)‖ ≤ 1 + rw [← Complex.ofReal_one, ← Complex.ofReal_sub, Complex.norm_real, + Real.norm_eq_abs, abs_of_nonneg (sub_nonneg.mpr hb1)] + linarith + +noncomputable def homogeneousLowFrequencyPart (R : ℝ) (hR : 0 < R) (f : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + Classical.choose (radianFourierKernel_surjective + (SchwartzMap.smulLeftCLM ℂ (homogeneousFrequencyCutoff R hR) (radianFourierKernel f))) + +theorem homogeneousLowFrequencyPart_fourier (R : ℝ) (hR : 0 < R) (f : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (homogeneousLowFrequencyPart R hR f) ξ = + homogeneousFrequencyCutoff R hR ξ * radianFourierKernel f ξ := by + have h := Classical.choose_spec (radianFourierKernel_surjective + (SchwartzMap.smulLeftCLM ℂ (homogeneousFrequencyCutoff R hR) (radianFourierKernel f))) + rw [show radianFourierKernel (homogeneousLowFrequencyPart R hR f) = _ from h] + exact SchwartzMap.smulLeftCLM_apply_apply (homogeneousFrequencyCutoff R hR).hasTemperateGrowth _ _ + +noncomputable def homogeneousHighFrequencyPart (R : ℝ) (hR : 0 < R) (f : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + f - homogeneousLowFrequencyPart R hR f + +theorem homogeneousHighFrequencyPart_fourier (R : ℝ) (hR : 0 < R) (f : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (homogeneousHighFrequencyPart R hR f) ξ = + (1 - homogeneousFrequencyCutoff R hR ξ) * radianFourierKernel f ξ := by + change radianFourierCLM (f - homogeneousLowFrequencyPart R hR f) ξ = _ + rw [map_sub, sub_apply, radianFourierCLM_apply, radianFourierCLM_apply, + homogeneousLowFrequencyPart_fourier] + ring + +theorem homogeneousHighFrequencyPart_zero (R : ℝ) (hR : 0 < R) (f : 𝓢(E, ℂ)) (ξ : E) + (hξ : ‖ξ‖ < R) : radianFourierKernel (homogeneousHighFrequencyPart R hR f) ξ = 0 := by + rw [homogeneousHighFrequencyPart_fourier, homogeneousFrequencyCutoff_one R hR ξ hξ.le, + sub_self, zero_mul] + +theorem homogeneousHighFrequencyPart_energy_le (s R : ℝ) (hs : 0 ≤ s) (hR : 0 < R) + (f : 𝓢(E, ℂ)) : + homogeneousFrequencyEnergy s (radianFourierKernel (homogeneousHighFrequencyPart R hR f)) ≤ + homogeneousFrequencyEnergy s (radianFourierKernel f) := by + have hi : Integrable (fun ξ : E => ‖ξ‖ ^ (2 * s) * ‖radianFourierKernel f ξ‖ ^ 2) := by + have h := homogeneousFourierMagnitude_sq_integrable s hs (radianFourierKernel f) + convert h using 1 + funext ξ + simp only [homogeneousFourierMagnitude, mul_pow, + ← Real.rpow_natCast, ← Real.rpow_mul (norm_nonneg _)] + congr 2 + ring + apply integral_mono_of_nonneg (ae_of_all _ (fun ξ => by positivity)) hi + filter_upwards [] with ξ + rw [homogeneousHighFrequencyPart_fourier, norm_mul, mul_pow] + have hc := pow_le_pow_left₀ (norm_nonneg _) + (homogeneousFrequencyCutoff_complement_norm R hR ξ) 2 + exact (mul_le_mul_of_nonneg_left + (mul_le_mul_of_nonneg_right hc (sq_nonneg ‖radianFourierKernel f ξ‖)) + (Real.rpow_nonneg (norm_nonneg ξ) (2 * s))).trans_eq (by rw [one_pow, one_mul]) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGaugeAngular.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGaugeAngular.lean new file mode 100644 index 0000000000000000000000000000000000000000..c90cb0b593dff08489a50410566d08fb32f52d12 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGaugeAngular.lean @@ -0,0 +1,130 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGaugeDecay +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularUpperExclusion +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLogGaugeCoefficients + +namespace OAI + +/-! # The real angular system of the actual complex gauge equation -/ + +open Set Filter Topology Asymptotics +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def homogeneousGaugeRealChannels (f g : ℝ → ℂ) : Fin 4 → ℝ → ℝ := + ![fun r => (f r).re, fun r => (f r).im, fun r => (g r).re, fun r => (g r).im] + +theorem homogeneousCoordinate_derivatives (F : ℝ → ℂ) (hF : ContDiff ℝ 2 F) + (L : ℂ →L[ℝ] ℝ) : + deriv (fun r => L (F r)) = (fun r => L (deriv F r)) ∧ + deriv (deriv (fun r => L (F r))) = (fun r => L (deriv (deriv F) r)) := by + have hd : deriv (fun r => L (F r)) = (fun r => L (deriv F r)) := by + funext r + exact (L.hasFDerivAt.comp_hasDerivAt r + (hF.differentiable (by norm_num) r).hasDerivAt).deriv + refine ⟨hd, ?_⟩ + rw [hd] + funext r + exact (L.hasFDerivAt.comp_hasDerivAt r + ((hF.deriv' (n := 1)).differentiable (by norm_num) r).hasDerivAt).deriv + +private theorem gauge_angular_action (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta : ℝ) (q f : ℝ → ℝ) (r : ℝ) (hr : 0 < r) : + radialAngularScalarAction n z eta q f r = radialMassDensity n z r * + (-deriv (deriv f) r - (11 / r + 2 * (deriv (radialMatchedProfile n z) r / + radialMatchedProfile n z r).re) * deriv f r + (q r + eta / r ^ 2) * f r) := by + have ha : radialAngularDensity n z r = radialMassDensity n z r / r ^ 2 := by + unfold radialAngularDensity radialMassDensity + field_simp [hr.ne'] + rw [radialAngularScalarAction, radialScalarAction, + radialMassLaplacian_logarithmic n z hX f r hr, ha] + ring + +private theorem gauge_coefficients_real (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (r : ℝ) (hr : 0 < r) : + let Q := radialMatchedEvenProfile n z + (11 / (r : ℂ) + deriv Q r / Q r + star (deriv Q r) / star (Q r) = + ((11 / r + 2 * (deriv (radialMatchedProfile n z) r / radialMatchedProfile n z r).re : ℝ) : ℂ)) ∧ + ((r : ℂ) / 2 - Complex.I * (deriv Q r / Q r - star (deriv Q r) / star (Q r)) = + (radialMatchedVelocity n z r : ℂ)) ∧ + (2 * ((n + radialInnerShootingThreshold : ℕ) : ℂ) * + ((‖Q r‖ ^ (2 * (n + radialInnerShootingThreshold)) : ℝ) : ℂ) = + (radialSpectralPressure n z r : ℂ)) := by + intro Q + have he := radialMatchedEvenProfile_eventuallyEq n z r hr + have hmass (q dq : ℂ) : dq / q + star dq / star q = ((2 * (dq / q).re : ℝ) : ℂ) := by + rw [← star_div₀] + apply Complex.ext <;> simp only [Complex.add_re, Complex.add_im, Complex.star_def, + Complex.conj_re, Complex.conj_im, Complex.ofReal_re, Complex.ofReal_im] + · ring + · ring + have hpress : 2 * ((n + radialInnerShootingThreshold : ℕ) : ℝ) * + ‖Q r‖ ^ (2 * (n + radialInnerShootingThreshold)) = radialSpectralPressure n z r := by + have ha := radialShootingA_power n (profileMatchingParameter z) + have han := (radialShootingA_bounds n (profileMatchingParameter z)).1.ne' + dsimp only [radialSpectralPressure] + rw [show Q r = radialMatchedProfile n z r from he.eq_of_nhds] + apply (eq_div_iff han).2 + calc + _ = (2 * radialShootingA n * ((n + radialInnerShootingThreshold : ℕ) : ℝ)) * + ‖radialMatchedProfile n z r‖ ^ (2 * (n + radialInnerShootingThreshold)) := by ring + _ = _ := by rw [ha, one_mul] + refine ⟨?_, ?_, ?_⟩ + · dsimp only [Q] + rw [add_assoc, hmass, he.eq_of_nhds, he.deriv_eq] + push_cast; rfl + · dsimp only [Q] + rw [spectralLogGauge_transport, he.eq_of_nhds, he.deriv_eq, + radialMatchedVelocity_formula n z hX hz r hr] + rfl + · exact_mod_cast hpress + +theorem homogeneousGauge_angular_system (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta : ℝ) (lam : ℂ) + (f g : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n + radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (eta : ℂ) lam f g) : + HasAngularSpectralSystem n z eta lam.re lam.im (homogeneousGaugeRealChannels f g) := by + obtain ⟨hfr, hfrr⟩ := homogeneousCoordinate_derivatives f hf Complex.reCLM + obtain ⟨hfi, hfii⟩ := homogeneousCoordinate_derivatives f hf Complex.imCLM + obtain ⟨hgr, hgrr⟩ := homogeneousCoordinate_derivatives g hg Complex.reCLM + obtain ⟨hgi, hgii⟩ := homogeneousCoordinate_derivatives g hg Complex.imCLM + simp only [Complex.reCLM_apply, Complex.imCLM_apply] at hfr hfrr hfi hfii hgr hgrr hgi hgii + intro r hr + rcases hr.eq_or_lt with hr | hr + · subst r + simp [homogeneousGaugeRealChannels, radialAngularScalarAction, radialScalarAction, + radialMassLaplacian, radialMassDensity, radialMassSlope, radialAngularDensity] + obtain ⟨hB, hW, hP⟩ := gauge_coefficients_real n z hX hz r hr + obtain ⟨h1, h2⟩ := he r hr + rw [hB, hW] at h1 h2 + rw [hP] at h2 + have heta : (eta : ℂ) / (r : ℂ) ^ 2 = ((eta / r ^ 2 : ℝ) : ℂ) := by push_cast; rfl + rw [heta] at h1 h2 + have h1r := congrArg Complex.re h1 + have h1i := congrArg Complex.im h1 + have h2r := congrArg Complex.re h2 + have h2i := congrArg Complex.im h2 + simp only [Complex.mul_re, Complex.mul_im, Complex.add_re, Complex.add_im, + Complex.sub_re, Complex.sub_im, Complex.neg_re, Complex.neg_im, + Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero, add_zero] at h1r h1i h2r h2i + dsimp only [homogeneousGaugeRealChannels, Matrix.cons_val_zero, Matrix.cons_val_one, + Matrix.cons_val, Matrix.head_cons, Matrix.tail_cons] at * + simp only [gauge_angular_action n z hX eta _ _ r hr, radialSpectralTest, + hfrr, hfii, hgrr, hgii] + simp only [hfr, hfi, hgr, hgi] + refine ⟨?_, ?_, ?_, ?_⟩ + · linear_combination radialMassDensity n z r * h2r + · linear_combination radialMassDensity n z r * h2i + · linear_combination -radialMassDensity n z r * h1r + · linear_combination -radialMassDensity n z r * h1i + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGaugeDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGaugeDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..0f63a41f6e85973ba024234d5d6cf73b472e6349 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGaugeDecay.lean @@ -0,0 +1,114 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedQuotient + +namespace OAI + +/-! # Energy decay of the actual logarithmic gauge channels -/ + +open Set Filter Topology Asymptotics MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem homogeneousGauge_energy_decay + (Q F G f g : ℝ → ℂ) (hf : Differentiable ℝ f) (hg : Differentiable ℝ g) + (hQ : ∀ r, Q r ≠ 0) + (hpair : ∀ r, (Q r * (f r + Complex.I * g r), + star (Q r) * (f r - Complex.I * g r)) = (F r, G r)) + (hU : (fun r => F r / Q r) =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ))) + (hdU : deriv (fun r => F r / Q r) =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) + (hV : (fun r => G r / star (Q r)) =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ))) + (hdV : deriv (fun r => G r / star (Q r)) =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) : + (f =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ)) ∧ + deriv f =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) ∧ + (g =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ)) ∧ + deriv g =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) := by + let U := fun r => F r / Q r + let V := fun r => G r / star (Q r) + have hUE : U = fun r => f r + Complex.I * g r := by + funext r + dsimp only [U] + have hp : Q r * (f r + Complex.I * g r) = F r := congrArg Prod.fst (hpair r) + rw [← hp] + apply (div_eq_iff (hQ r)).2 + ring + have hVE : V = fun r => f r - Complex.I * g r := by + funext r + dsimp only [V] + have hp : star (Q r) * (f r - Complex.I * g r) = G r := congrArg Prod.snd (hpair r) + rw [← hp] + apply (div_eq_iff (star_ne_zero.mpr (hQ r))).2 + ring + have hUd : deriv U = fun r => deriv f r + Complex.I * deriv g r := by + rw [hUE] + funext r + exact ((hf r).hasDerivAt.add ((hg r).hasDerivAt.const_mul Complex.I)).deriv + have hVd : deriv V = fun r => deriv f r - Complex.I * deriv g r := by + rw [hVE] + funext r + exact ((hf r).hasDerivAt.sub ((hg r).hasDerivAt.const_mul Complex.I)).deriv + have hfe : f = fun r => (1 / 2 : ℂ) * (U r + V r) := by + rw [hUE, hVE] + funext r + ring + have hge : g = fun r => (1 / (2 * Complex.I) : ℂ) * (U r - V r) := by + rw [hUE, hVE] + funext r + field_simp [Complex.I_ne_zero]; ring + have hdfe : deriv f = fun r => (1 / 2 : ℂ) * (deriv U r + deriv V r) := by + rw [hUd, hVd] + funext r + ring + have hdge : deriv g = fun r => (1 / (2 * Complex.I) : ℂ) * (deriv U r - deriv V r) := by + rw [hUd, hVd] + funext r + field_simp [Complex.I_ne_zero]; ring + refine ⟨⟨?_, ?_⟩, ⟨?_, ?_⟩⟩ + · rw [hfe] + exact (hU.add hV).const_mul_left _ + · rw [hdfe] + exact (hdU.add hdV).const_mul_left _ + · rw [hge] + exact (hU.sub hV).const_mul_left _ + · rw [hdge] + exact (hdU.sub hdV).const_mul_left _ + +theorem homogeneous_matched_gauge_decay + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta : ℂ) (N : ℕ) (hN : 7 ≤ N) + (lam : ℂ) (hlam : 4 ≤ lam.re) + (F G : ℝ → ℂ) (hF : ContDiff ℝ 2 F) (hG : ContDiff ℝ 2 G) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) eta lam F G) + (hbounded : ∃ M : ℝ, 0 ≤ M ∧ ∀ r, ‖(F r, G r)‖ ≤ M) + (hL2F : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N F r‖ ^ 2) (Ioi 0)) + (hL2G : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N G r‖ ^ 2) (Ioi 0)) + (Yp Ym : ℂ → ℝ → (ℂ × ℂ) × (ℂ × ℂ)) + (hYp : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1, 0) Yp) + (hYm : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0, 1) Ym) + (f g : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (hpair : ∀ r, (radialMatchedEvenProfile n z r * (f r + Complex.I * g r), + star (radialMatchedEvenProfile n z r) * (f r - Complex.I * g r)) = (F r, G r)) : + (∀ L : ℂ →L[ℝ] ℝ, HasRadialEnergyDecay (fun r => L (f r))) ∧ + (∀ L : ℂ →L[ℝ] ℝ, HasRadialEnergyDecay (fun r => L (g r))) := by + obtain ⟨c, R₀, _, hstate⟩ := homogeneous_matched_pair_canonical_tail n z hX hz eta N hN + lam (by linarith) F G hF hG he hbounded hL2F hL2G Yp Ym hYp hYm + obtain ⟨hU, hV⟩ := homogeneous_matched_quotient_decay n z hX eta lam hlam + F G Yp Ym hYp hYm c R₀ hstate + obtain ⟨hfd, hgd⟩ := homogeneousGauge_energy_decay (radialMatchedEvenProfile n z) F G f g + (hf.differentiable (by norm_num)) (hg.differentiable (by norm_num)) + (radialMatchedEvenProfile_ne_zero n z hX) hpair hU.1 hU.2 hV.1 hV.2 + exact ⟨fun L => homogeneousComplexEnergyDecay_real f hfd.1 hfd.2 + (Eventually.of_forall (hf.differentiable (by norm_num))) L, + fun L => homogeneousComplexEnergyDecay_real g hgd.1 hgd.2 + (Eventually.of_forall (hg.differentiable (by norm_num))) L⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..2f7f124bf6bda3e385f05a7fe22717e41f97b4e3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorCoordinates.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGeneratorPerturbation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGeneratorEigenvector +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexSemigroup +import Mathlib.Analysis.Calculus.Deriv.Comp +import Mathlib.Analysis.Calculus.Deriv.Mul + +namespace OAI + +/-! # Finite generator eigenvectors in the actual evolution domain + +An eigenvector on the finite contour space evolves by its scalar +exponential. Its two real coordinates therefore belong to the free +generator domain and satisfy the exact bounded-potential equations. +-/ + +open Set +open scoped NNReal + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +section Abstract + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +omit [CompleteSpace E] in +theorem projectionSemigroup_eigenvector (S : ℝ≥0 → E →L[ℂ] E) + (Q : E →L[ℂ] E) (hcomm : ∀ t, Commute (S t) Q) + (hfin : FiniteDimensional ℂ Q.range) (G : Q.range →L[ℂ] Q.range) + (hG : ∀ t, projectionSemigroupRestriction S Q hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (u : Q.range) (hu : G u = lam • u) (t : ℝ≥0) : + S t (u : E) = Complex.exp (((t : ℝ) : ℂ) * lam) • (u : E) := by + let : FiniteDimensional ℂ Q.range := hfin + let : CompleteSpace Q.range := FiniteDimensional.complete ℂ Q.range + have he := congrArg (fun L : Q.range →L[ℂ] Q.range => (L u : E)) (hG t) + change S t (u : E) = (NormedSpace.exp ((t : ℝ) • G) u : E) at he + rw [real_smul_operator_exp_apply_of_eigenvector G lam u hu] at he + exact he + +omit [CompleteSpace E] in +theorem hasDerivWithinAt_semigroup_eigenvector + (S : ℝ≥0 → E →L[ℂ] E) (lam : ℂ) (u : E) + (hu : ∀ t : ℝ≥0, S t u = Complex.exp (((t : ℝ) : ℂ) * lam) • u) : + HasDerivWithinAt (fun t : ℝ => S t.toNNReal u) (lam • u) (Ici 0) 0 := by + have he : HasDerivAt (fun t : ℝ => Complex.exp ((t : ℂ) * lam)) lam 0 := by + simpa only [Complex.real_smul, zero_smul, NormedSpace.exp_zero, one_mul, + ← Complex.exp_eq_exp_ℂ] using (hasDerivAt_exp_smul_const (𝕂 := ℝ) lam (0 : ℝ)) + apply (he.smul_const u).hasDerivWithinAt.congr + · intro t ht + simpa only [Real.coe_toNNReal t ht] using hu t.toNNReal + · simpa only [Real.toNNReal_zero, NNReal.coe_zero, Complex.ofReal_zero, + zero_mul, Complex.exp_zero, one_smul] using hu 0 + +end Abstract + +section Actual + +variable (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (q : HomogeneousY a k) + +local notation "H" => HomogeneousY a k +local notation "X" => homogeneousComplexReal a k ha ha1 hk +local notation "Y" => homogeneousComplexImag a k ha ha1 hk +local notation "B" => homogeneousLinearizedPotential a k ha ha1 hk m q +local notation "S" => homogeneousComplexLinearizedStep a b k ha ha1 hk m q + +theorem homogeneous_eigenvector_free_coordinates (lam : ℂ) (u : H × H) + (hu : ∀ t : ℝ≥0, S t u = Complex.exp (((t : ℝ) : ℂ) * lam) • u) : + HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk (X u)) + (X (lam • u) - B (X u)) (Ici 0) 0 ∧ + HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk (Y u)) + (Y (lam • u) - B (Y u)) (Ici 0) 0 := by + have hd := hasDerivWithinAt_semigroup_eigenvector S lam u hu + have hX := (X).hasFDerivAt.comp_hasDerivWithinAt 0 hd + have hY := (Y).hasFDerivAt.comp_hasDerivWithinAt 0 hd + have hx : HasDerivWithinAt (fun t : ℝ => + homogeneousLinearizedStep a b k ha ha1 hk m q t.toNNReal (X u)) + (X (lam • u)) (Ici 0) 0 := by + simpa only [Function.comp_def, homogeneousComplexLinearizedStep, + homogeneousComplexification_real] using hX + have hy : HasDerivWithinAt (fun t : ℝ => + homogeneousLinearizedStep a b k ha ha1 hk m q t.toNNReal (Y u)) + (Y (lam • u)) (Ici 0) 0 := by + simpa only [Function.comp_def, homogeneousComplexLinearizedStep, + homogeneousComplexification_imag] using hY + exact ⟨homogeneousFree_derivWithin_of_linearized a b k ha ha1 hk m q _ _ hx, + homogeneousFree_derivWithin_of_linearized a b k ha ha1 hk m q _ _ hy⟩ + +end Actual + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorEigenvector.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorEigenvector.lean new file mode 100644 index 0000000000000000000000000000000000000000..2c5cbfe8d2f1b277f244ee5556d86f28059e73e8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorEigenvector.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousInvariantSemigroup +import Mathlib.Analysis.Complex.Trigonometric + +namespace OAI + +/-! # Generator eigenvectors and the contour radius + +The exponential representation identifies generator eigenvectors with step +multipliers and converts their modulus into a real-part estimate. +-/ + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +theorem operator_exp_apply_of_eigenvector (G : E →L[ℂ] E) (lam : ℂ) (u : E) + (hu : G u = lam • u) : NormedSpace.exp G u = Complex.exp lam • u := by + have hp (n : ℕ) : (G ^ n) u = lam ^ n • u := by + induction n with + | zero => simp + | succ n ih => + rw [pow_succ', mul_apply_eq_comp, ih, map_smul, hu] + simp only [smul_smul, pow_succ, mul_comm] + have hs := (ContinuousLinearMap.apply ℂ E u).hasSum + (NormedSpace.exp_series_hasSum_exp' (𝕂 := ℂ) G) + have ht := (NormedSpace.exp_series_hasSum_exp' (𝕂 := ℂ) lam).smul_const u + have he : NormedSpace.exp G u = NormedSpace.exp lam • u := by + apply HasSum.unique hs + convert ht using 1 + ext n + simp only [ContinuousLinearMap.apply_apply, smul_apply, + hp, smul_smul, smul_eq_mul] + simpa only [← Complex.exp_eq_exp_ℂ] using he + +theorem real_smul_operator_exp_apply_of_eigenvector (G : E →L[ℂ] E) + (lam : ℂ) (u : E) (hu : G u = lam • u) (t : ℝ) : + NormedSpace.exp (t • G) u = Complex.exp ((t : ℂ) * lam) • u := by + apply operator_exp_apply_of_eigenvector + rw [smul_apply, hu, ← smul_assoc, Complex.real_smul] + +theorem generator_realPart_gt_of_step_modulus (lam : ℂ) (t γ : ℝ) + (ht : 0 < t) (hmod : Real.exp (-γ * t) < ‖Complex.exp ((t : ℂ) * lam)‖) : + -γ < lam.re := by + rw [Complex.norm_exp, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, + zero_mul, sub_zero] at hmod + have h := Real.exp_lt_exp.mp hmod + nlinarith + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorPerturbation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorPerturbation.lean new file mode 100644 index 0000000000000000000000000000000000000000..01dca48e06b82e714e629ffe19586f996137fd1c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGeneratorPerturbation.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDuhamelDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedSemigroup +import Mathlib.Analysis.Calculus.Deriv.Add + +namespace OAI + +/-! # The generator identity for the constructed linearized flow + +This derives the bounded-potential perturbation identity from the actual +finite-slab Duhamel construction. No generator-domain assumption is added. +-/ + +open Set Filter Topology +open scoped NNReal + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +section + +variable (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (q : HomogeneousY a k) + +local notation "B" => homogeneousLinearizedPotential a k ha ha1 hk m q +local notation "S" => homogeneousLinearizedStep a b k ha ha1 hk m q + +noncomputable def homogeneousLinearizedHistory (u : HomogeneousY a k) : + ℝ → HomogeneousY a k := fun t => B (S t.toNNReal u) + +theorem continuous_homogeneousLinearizedHistory (u : HomogeneousY a k) : + Continuous (homogeneousLinearizedHistory a b k ha ha1 hk m q u) := by + exact (B).continuous.comp + (((continuous_homogeneousLinearizedStep_apply a b k ha ha1 hk m q).curry_left (y := u)).comp + continuous_real_toNNReal) + +@[simp] theorem homogeneousLinearizedHistory_zero (u : HomogeneousY a k) : + homogeneousLinearizedHistory a b k ha ha1 hk m q u 0 = B u := by + simp only [homogeneousLinearizedHistory, Real.toNNReal_zero, + homogeneousLinearizedStep_zero, ContinuousLinearMap.id_apply] + +theorem homogeneousLinearizedStep_duhamel (t : ℝ≥0) (u : HomogeneousY a k) : + S t u = homogeneousFreeOperator a b k t ha ha1 hk u + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousLinearizedHistory a b k ha ha1 hk m q u) := by + have ht : (0 : ℝ) ≤ (t : ℝ) := t.2 + let v := homogeneousLinearizedTrajectory a b k t ha ha1 hk ht m q u + have hD : homogeneousDuhamel a b k ha ha1 hk t + (homogeneousPotentialHistory t ht B v) = + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousLinearizedHistory a b k ha ha1 hk m q u) := by + apply homogeneousDuhamel_congr_on a b k t ha ha1 hk ht + intro s hs + change B (v (projIcc (0 : ℝ) (t : ℝ) ht s)) = B (S s.toNNReal u) + rw [projIcc_of_mem ht hs] + congr 1 + have he := homogeneousLinearizedStep_eq_slab a b k ha ha1 hk m q + t ht s.toNNReal (by simpa only [Real.coe_toNNReal s hs.1] using hs.2) u + simpa only [Real.coe_toNNReal s hs.1, v] using he.symm + calc + S t u = v ⟨t, ht, le_rfl⟩ := + homogeneousLinearizedStep_eq_slab a b k ha ha1 hk m q t ht t le_rfl u + _ = homogeneousFreeOperator a b k t ha ha1 hk u + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousPotentialHistory t ht B v) := + homogeneousLinearizedTrajectory_eq a b k t ha ha1 hk ht m q u _ + _ = _ := congrArg (fun z => homogeneousFreeOperator a b k t ha ha1 hk u + z) hD + +/-- Every strong right derivative of the actual flow identifies the free +generator after subtracting the actual linearized potential. -/ +theorem homogeneousFree_derivWithin_of_linearized (u v : HomogeneousY a k) + (hu : HasDerivWithinAt (fun t : ℝ => S t.toNNReal u) v (Ici 0) 0) : + HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk u) + (v - B u) (Ici 0) 0 := by + have hD := (hasDerivAt_homogeneousDuhamel_zero a b k ha ha1 hk + (homogeneousLinearizedHistory a b k ha ha1 hk m q u) + (continuous_homogeneousLinearizedHistory a b k ha ha1 hk m q u)).hasDerivWithinAt + (s := Ici 0) + rw [homogeneousLinearizedHistory_zero] at hD + apply (hu.sub hD).congr + · intro t ht + have he := homogeneousLinearizedStep_duhamel a b k ha ha1 hk m q t.toNNReal u + have he' : S t.toNNReal u = homogeneousFreeOperator a b k t ha ha1 hk u + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousLinearizedHistory a b k ha ha1 hk m q u) := by + simpa only [Real.coe_toNNReal t ht] using he + exact (eq_sub_iff_add_eq.mpr he'.symm) + · simp only [homogeneousFreeOperator_zero, Real.toNNReal_zero, + homogeneousLinearizedStep_zero, ContinuousLinearMap.id_apply, + Pi.sub_apply, homogeneousDuhamel, intervalIntegral.integral_same, sub_zero] + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedAverage.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedAverage.lean new file mode 100644 index 0000000000000000000000000000000000000000..ff598b4675afaefce493c8265692a54f7df0b6e9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedAverage.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRegularKernel +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialIntegralRegularity + +namespace OAI + +/-! The regular spectral average preserves every finite order at the origin. -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousGlued_average_contDiffOn (d n : ℕ) (h R : ℝ) (hR : 0 < R) + (f : ℝ → ℂ) (hf : ContDiffOn ℝ n f (Icc 0 R)) : + ContDiffOn ℝ n (spectralRegularAverage d h f) (Icc 0 R) := by + let S : Set (ℝ × ℝ) := Icc 0 R ×ˢ Icc 0 1 + let K : ℝ × ℝ → ℂ := fun p => (p.2 : ℂ) ^ d * + Complex.exp (Complex.I * (h * p.1 ^ 2 * (p.2 ^ 2 - 1) / 4 : ℝ)) * f (p.1 * p.2) + have hm : MapsTo (fun p : ℝ × ℝ => p.1 * p.2) S (Icc 0 R) := by + intro p hp + exact ⟨mul_nonneg hp.1.1 hp.2.1, + (mul_le_of_le_one_right hp.1.1 hp.2.2).trans hp.1.2⟩ + have harg : ContDiffOn ℝ n (fun p : ℝ × ℝ => p.1 * p.2) S := by fun_prop + have hfc := hf.comp harg hm + have ht : ContDiffOn ℝ n (fun p : ℝ × ℝ => (p.2 : ℂ)) S := + Complex.ofRealCLM.contDiff.comp_contDiffOn contDiff_snd.contDiffOn + have he0 : ContDiffOn ℝ n + (fun p : ℝ × ℝ => h * p.1 ^ 2 * (p.2 ^ 2 - 1) / 4) S := by fun_prop + have he : ContDiffOn ℝ n (fun p : ℝ × ℝ => + Complex.exp (Complex.I * (h * p.1 ^ 2 * (p.2 ^ 2 - 1) / 4 : ℝ))) S := + (contDiffOn_const.mul (Complex.ofRealCLM.contDiff.comp_contDiffOn he0)).cexp + have hK : ContDiffOn ℝ n K S := ((ht.pow d).mul he).mul hfc + have hi := radial_rectangle_integral_contDiffOn R hR n K hK + apply hi.congr + intro r _ + change (∫ t in (0 : ℝ)..1, K (r, t)) = ∫ t in Icc (0 : ℝ) 1, K (r, t) + rw [intervalIntegral.integral_of_le (by norm_num), integral_Icc_eq_integral_Ioc] + +theorem homogeneousGlued_origin_smooth (d : ℕ) (R : ℝ) (hR : 0 < R) + (A B : ℝ → ℂ) (cp cm : ℂ) + (hA : ContDiffOn ℝ ∞ A (Icc 0 R)) (hB : ContDiffOn ℝ ∞ B (Icc 0 R)) + (F G : ℝ → ℂ) (hF : ContinuousOn F (Icc 0 R)) (hG : ContinuousOn G (Icc 0 R)) + (hdF : ∀ r ∈ Icc 0 R, HasDerivWithinAt F + ((r : ℂ) * spectralRegularAverage d 1 + (fun t => A t * F t + B t * G t - cp * F t) r) (Icc 0 R) r) + (hdG : ∀ r ∈ Icc 0 R, HasDerivWithinAt G + ((r : ℂ) * spectralRegularAverage d (-1) + (fun t => star (B t) * F t + star (A t) * G t - cm * G t) r) (Icc 0 R) r) : + ContDiffOn ℝ ∞ F (Icc 0 R) ∧ ContDiffOn ℝ ∞ G (Icc 0 R) := by + have hu := uniqueDiffOn_Icc hR + have hn : ∀ n : ℕ, ContDiffOn ℝ n F (Icc 0 R) ∧ ContDiffOn ℝ n G (Icc 0 R) := by + intro n + induction n with + | zero => simpa only [Nat.cast_zero, contDiffOn_zero] using And.intro hF hG + | succ n ih => + have hAn : ContDiffOn ℝ n A (Icc 0 R) := hA.of_le (by simp) + have hBn : ContDiffOn ℝ n B (Icc 0 R) := hB.of_le (by simp) + have hAs := (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp_contDiffOn hAn + have hBs := (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp_contDiffOn hBn + have hp := homogeneousGlued_average_contDiffOn d n 1 R hR + (fun t => A t * F t + B t * G t - cp * F t) + (((hAn.mul ih.1).add (hBn.mul ih.2)).sub (contDiffOn_const.mul ih.1)) + have hm := homogeneousGlued_average_contDiffOn d n (-1) R hR + (fun t => star (B t) * F t + star (A t) * G t - cm * G t) + (((hBs.mul ih.1).add (hAs.mul ih.2)).sub (contDiffOn_const.mul ih.2)) + have hr : ContDiffOn ℝ n (fun r : ℝ => (r : ℂ)) (Icc 0 R) := + Complex.ofRealCLM.contDiff.contDiffOn + constructor + · rw [Nat.cast_succ] + apply (contDiffOn_succ_iff_derivWithin hu).2 + refine ⟨fun r hr => (hdF r hr).differentiableWithinAt, by simp, ?_⟩ + apply (hr.mul hp).congr + intro r hr + exact (hdF r hr).derivWithin (hu r hr) + · rw [Nat.cast_succ] + apply (contDiffOn_succ_iff_derivWithin hu).2 + refine ⟨fun r hr => (hdG r hr).differentiableWithinAt, by simp, ?_⟩ + apply (hr.mul hm).congr + intro r hr + exact (hdG r hr).derivWithin (hu r hr) + exact ⟨contDiffOn_infty.mpr (fun n => (hn n).1), + contDiffOn_infty.mpr (fun n => (hn n).2)⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedCanonicalTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedCanonicalTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..77a23b00f86ef459cb7158778084fdcf9f172940 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedCanonicalTail.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedTail +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralHolomorphicSingularLimit + +namespace OAI + +/-! All physical derivatives of a canonical outgoing linear combination. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS +local notation "V" => ℂ × ℂ +local notation "E₄" => V × V + +theorem homogeneousGlued_canonical_tail_bound + (ν eta b : ℂ) (m : ℕ) (L : ℝ) (hX : HasRadialExterior ν m b L) + (lam : ℂ) (Yp Ym : ℂ → ℝ → E₄) + (hp : IsCanonicalHolomorphicColumn ν eta b m L (1, 0) Yp) + (hm : IsCanonicalHolomorphicColumn ν eta b m L (0, 1) Ym) + (U : ℝ → E₄) (hU : ContDiffOn ℝ ∞ U (Ioi 0)) + (R : ℝ) (hR : 0 < R) (c d : ℂ) + (ho : ∀ r, R ≤ r → U r = + c • spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (Yp lam) r + + d • spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (Ym lam) r) + (N : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ r in atTop, + ‖iteratedDeriv N (fun r => ((U r).1.1, (U r).2.1)) r‖ ≤ + C * r ^ ((ν - 2 * lam).re - (N : ℝ)) := by + obtain ⟨hpp, hpm⟩ := homogeneous_canonical_circular_value_logJets + ν (ν - 2 * lam) (star ν - 2 * lam) eta b m L hX (Yp lam) (1, 0) + (hp.1 lam) (hp.2.1 lam) (hp.2.2.2 lam) + obtain ⟨hmp, hmm⟩ := homogeneous_canonical_circular_value_logJets + ν (ν - 2 * lam) (star ν - 2 * lam) eta b m L hX (Ym lam) (0, 1) + (hm.1 lam) (hm.2.1 lam) (hm.2.2.2 lam) + let f := fun t => c * (Yp lam t).1.1 + d * (Ym lam t).1.1 + let g := fun t => c * (Yp lam t).2.1 + d * (Ym lam t).2.1 + apply homogeneousGlued_physical_derivative_bound (ν - 2 * lam) (star ν - 2 * lam) + (ν - 2 * lam).re rfl (by simp only [Complex.sub_re, + Complex.star_def, Complex.conj_re]) + (fun r => ((U r).1.1, (U r).2.1)) (hU.fst.fst.prodMk hU.snd.fst) + f g ((hpp.const_mul c).add (hmp.const_mul d)) + ((hpm.const_mul c).add (hmm.const_mul d)) (Real.log R) _ N + intro t ht + have hr : R ≤ Real.exp t := by + rw [← Real.exp_log hR] + exact (Real.exp_lt_exp.mpr ht).le + have hh := ho (Real.exp t) hr + apply Prod.ext + · have he := congrArg (fun W : E₄ => W.1.1) hh + simp only [Prod.fst_add, Prod.smul_fst, smul_eq_mul, + spectralPhysicalPair, spectralPhysicalJet, Real.log_exp] at he + rw [he] + dsimp only [f] + ring + · have he := congrArg (fun W : E₄ => W.2.1) hh + simp only [Prod.snd_add, Prod.fst_add, Prod.smul_snd, Prod.smul_fst, smul_eq_mul, + spectralPhysicalPair, spectralPhysicalJet, Real.log_exp] at he + rw [he] + dsimp only [g] + ring + +theorem homogeneousGlued_coordinate_derivatives (F : ℝ → V) + (hF : ContDiffOn ℝ ∞ F (Ioi 0)) (N : ℕ) (r : ℝ) (hr : 0 < r) : + ‖iteratedDeriv N (fun r => (F r).1) r‖ ≤ ‖iteratedDeriv N F r‖ ∧ + ‖iteratedDeriv N (fun r => (F r).2) r‖ ≤ ‖iteratedDeriv N F r‖ := by + have hs := (hF r hr).contDiffAt (Ioi_mem_nhds hr) + have hp := (ContinuousLinearMap.fst ℝ ℂ ℂ).norm_iteratedFDeriv_comp_left hs + (by simp : (N : ℕ∞ω) ≤ ∞) + have hm := (ContinuousLinearMap.snd ℝ ℂ ℂ).norm_iteratedFDeriv_comp_left hs + (by simp : (N : ℕ∞ω) ≤ ∞) + simpa only [norm_iteratedFDeriv_eq_norm_iteratedDeriv, Function.comp_def, + ContinuousLinearMap.coe_fst', ContinuousLinearMap.coe_snd', + ContinuousLinearMap.norm_fst, ContinuousLinearMap.norm_snd, one_mul] using And.intro hp hm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedCutoff.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedCutoff.lean new file mode 100644 index 0000000000000000000000000000000000000000..19cfd25751d99b7b8c757fd4247fccbd5fc0f800 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedCutoff.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedRegularity +import Mathlib.Analysis.SpecialFunctions.SmoothTransition + +namespace OAI + +/-! A harmless extension on negative radii makes the glued radial pair bounded globally. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS + +noncomputable def homogeneousGluedCutoff (f : ℝ → ℂ) (r : ℝ) : ℂ := + (Real.smoothTransition (r + 1) : ℂ) * f r + +theorem homogeneousGluedCutoff_eq (f : ℝ → ℂ) (r : ℝ) (hr : 0 ≤ r) : + homogeneousGluedCutoff f r = f r := by + simp only [homogeneousGluedCutoff, + Real.smoothTransition.one_of_one_le (by linarith : 1 ≤ r + 1), + Complex.ofReal_one, one_mul] + +theorem homogeneousGluedCutoff_contDiff {n : ℕ∞} (f : ℝ → ℂ) + (hf : ContDiff ℝ n f) : ContDiff ℝ n (homogeneousGluedCutoff f) := by + exact (Complex.ofRealCLM.contDiff.comp + (Real.smoothTransition.contDiff.comp (contDiff_id.add contDiff_const))).mul hf + +theorem homogeneousGluedCutoff_eventuallyEq (f : ℝ → ℂ) (r : ℝ) (hr : 0 < r) : + homogeneousGluedCutoff f =ᶠ[𝓝 r] f := by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact homogeneousGluedCutoff_eq f t ht.le + +theorem homogeneousGluedCutoff_iteratedDeriv (f : ℝ → ℂ) (N : ℕ) + (r : ℝ) (hr : 0 < r) : + iteratedDeriv N (homogeneousGluedCutoff f) r = iteratedDeriv N f r := + (homogeneousGluedCutoff_eventuallyEq f r hr).iteratedDeriv_eq N + +theorem homogeneousGluedCutoff_bounded (f : ℝ → ℂ) (hf : Continuous f) + (hbound : ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ r in atTop, ‖f r‖ ≤ M) : + ∃ M : ℝ, 0 ≤ M ∧ ∀ r, ‖homogeneousGluedCutoff f r‖ ≤ M := by + obtain ⟨M, hM, hbound⟩ := hbound + obtain ⟨T, hT⟩ := eventually_atTop.mp hbound + let S := max T 0 + obtain ⟨C, hC⟩ := isCompact_Icc.exists_bound_of_continuousOn + (s := Icc (-1 : ℝ) S) hf.continuousOn + have hnorm (r : ℝ) : ‖homogeneousGluedCutoff f r‖ ≤ ‖f r‖ := by + rw [homogeneousGluedCutoff, norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (Real.smoothTransition.nonneg _)] + exact mul_le_of_le_one_left (norm_nonneg _) (Real.smoothTransition.le_one _) + refine ⟨max (max C 0) M, (le_max_right C 0).trans (le_max_left _ _), ?_⟩ + intro r + by_cases hr : r ≤ -1 + · have hz : homogeneousGluedCutoff f r = 0 := by + simp only [homogeneousGluedCutoff, + Real.smoothTransition.zero_of_nonpos (by linarith : r + 1 ≤ 0), + Complex.ofReal_zero, zero_mul] + rw [hz, norm_zero] + exact (le_max_right C 0).trans (le_max_left _ _) + · by_cases hS : r ≤ S + · exact (hnorm r).trans ((hC r ⟨(lt_of_not_ge hr).le, hS⟩).trans + ((le_max_left C 0).trans (le_max_left _ _))) + · exact (hnorm r).trans ((hT r ((le_max_left T 0).trans (lt_of_not_ge hS).le)).trans + (le_max_right _ _)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedEigenpair.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedEigenpair.lean new file mode 100644 index 0000000000000000000000000000000000000000..6554ca49dc8535ccab66549899a6f64a49535503 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedEigenpair.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedRegularity + +namespace OAI + +/-! A matching zero supplies a nonzero classical eigenpair, including at the join. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousGlued_nonzero_values (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (U : ℝ → E₄) (R : ℝ) (hR : 0 < R) (hne : U R ≠ 0) + (hU : ∀ r, 0 < r → HasDerivAt U + (spectralPhysicalCircularField νp νm eta m (Q r) r (U r)) r) : + ∃ r : ℝ, 0 < r ∧ ((U r).1.1 ≠ 0 ∨ (U r).2.1 ≠ 0) := by + by_contra hn + push Not at hn + have hp : (fun r => (U r).1.1) =ᶠ[𝓝 R] (fun _ => (0 : ℂ)) := by + filter_upwards [Ioi_mem_nhds hR] with r hr + exact (hn r hr).1 + have hm : (fun r => (U r).2.1) =ᶠ[𝓝 R] (fun _ => (0 : ℂ)) := by + filter_upwards [Ioi_mem_nhds hR] with r hr + exact (hn r hr).2 + obtain ⟨hvp, hvm⟩ := homogeneousRegular_state_velocity νp νm eta m Q U R (hU R hR) + have hdp : (U R).1.2 = 0 := by + rw [← hvp, hp.deriv_eq] + exact deriv_const R 0 + have hdm : (U R).2.2 = 0 := by + rw [← hvm, hm.deriv_eq] + exact deriv_const R 0 + apply hne + apply Prod.ext <;> apply Prod.ext + · exact (hn R hR).1 + · exact hdp + · exact (hn R hR).2 + · exact hdm + +theorem homogeneousGlued_matching_state (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (hQ : ContDiffOn ℝ ∞ Q (Ioi 0)) + (R : ℝ) (hR : 0 < R) (Rp Rm Op Om : ℝ → E₄) + (hpc : ContDiff ℝ 2 (fun r => (Rp r).1.1) ∧ + ContDiff ℝ 2 (fun r => (Rp r).2.1)) + (hmc : ContDiff ℝ 2 (fun r => (Rm r).1.1) ∧ + ContDiff ℝ 2 (fun r => (Rm r).2.1)) + (hRp : ∀ r ∈ Ioc 0 R, HasDerivAt Rp + (spectralPhysicalCircularField νp νm eta m (Q r) r (Rp r)) r) + (hRm : ∀ r ∈ Ioc 0 R, HasDerivAt Rm + (spectralPhysicalCircularField νp νm eta m (Q r) r (Rm r)) r) + (hOp : ∀ r, R ≤ r → HasDerivAt Op + (spectralPhysicalCircularField νp νm eta m (Q r) r (Op r)) r) + (hOm : ∀ r, R ≤ r → HasDerivAt Om + (spectralPhysicalCircularField νp νm eta m (Q r) r (Om r)) r) + (hrank : LinearIndependent ℂ ![Rp R, Rm R]) + (horank : LinearIndependent ℂ ![Op R, Om R]) + (hzero : spectralMatchingDeterminant (Rp R) (Rm R) (Op R) (Om R) = 0) : + ∃ (U : ℝ → E₄) (a b c d : ℂ), + (∀ r, r ≤ R → U r = a • Rp r + b • Rm r) ∧ + (∀ r, R ≤ r → U r = c • Op r + d • Om r) ∧ + U R ≠ 0 ∧ + ContDiff ℝ 2 (fun r => (U r).1.1) ∧ + ContDiff ℝ 2 (fun r => (U r).2.1) ∧ + ContDiffOn ℝ ∞ U (Ioi 0) ∧ + (∀ r, 0 < r → HasDerivAt U + (spectralPhysicalCircularField νp νm eta m (Q r) r (U r)) r) := by + obtain ⟨U, a, b, c, d, hi, ho, hn, hd⟩ := + (spectralMatching_zero_iff_glued νp νm eta m Q R hR Rp Rm Op Om + hRp hRm hOp hOm hrank horank).mp hzero + have hc : ContDiff ℝ 2 (fun r => (a • Rp r + b • Rm r).1.1) ∧ + ContDiff ℝ 2 (fun r => (a • Rp r + b • Rm r).2.1) := + ⟨(hpc.1.const_smul a).add (hmc.1.const_smul b), + (hpc.2.const_smul a).add (hmc.2.const_smul b)⟩ + obtain ⟨hf, hg⟩ := homogeneousGlued_positions_c2 νp νm eta m Q hQ U + (fun r => a • Rp r + b • Rm r) R hR hc (fun r hr => hi r hr.le) hd + exact ⟨U, a, b, c, d, hi, ho, hn, hf, hg, + homogeneousGlued_state_smooth νp νm eta m Q hQ U hd, hd⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedLocalL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedLocalL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..764a46ab1283654a41d9ed4a088bd76dd6c0bce1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedLocalL2.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedOriginRegularity +import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals + +namespace OAI + +/-! Origin regularity and a strict power bound give the required radial top energy. -/ + +open Set Filter MeasureTheory Topology +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousGlued_local_top_integrable (f : ℝ → ℂ) (N : ℕ) + (R : ℝ) (hR : 0 < R) (hf : ContDiffOn ℝ ∞ f (Icc 0 R)) + (hs : ContDiffOn ℝ ∞ f (Ioi 0)) : + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioc 0 R) := by + have hu := uniqueDiffOn_Icc hR + have hc := hf.continuousOn_iteratedDerivWithin (m := N) (by simp) hu + have hi : IntegrableOn + (fun r : ℝ => r ^ 11 * ‖iteratedDerivWithin N f (Icc 0 R) r‖ ^ 2) (Icc 0 R) := + ((continuousOn_id.pow 11).mul (hc.norm.pow 2)).integrableOn_Icc + apply (hi.mono_set Ioc_subset_Icc_self).congr_fun + · intro r hr + dsimp only + rw [iteratedDerivWithin_eq_iteratedDeriv hu + (((hs r hr.1).contDiffAt (Ioi_mem_nhds hr.1)).of_le (by simp)) ⟨hr.1.le, hr.2⟩] + · exact measurableSet_Ioc + +theorem homogeneousGlued_top_integrable (f : ℝ → ℂ) (N : ℕ) (s : ℝ) + (hf : ∀ R : ℝ, 0 < R → ContDiffOn ℝ ∞ f (Icc 0 R)) + (hs : ContDiffOn ℝ ∞ f (Ioi 0)) (hexp : 11 + 2 * s < -1) + (hb : ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ r in atTop, ‖iteratedDeriv N f r‖ ≤ C * r ^ s) : + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0) := by + obtain ⟨C, hC, hb⟩ := hb + obtain ⟨T, hT⟩ := eventually_atTop.mp hb + let R := max T 1 + have hR : 0 < R := lt_of_lt_of_le zero_lt_one (le_max_right _ _) + have hsD : ∀ j : ℕ, ContDiffOn ℝ ∞ (iteratedDeriv j f) (Ioi 0) := by + intro j + induction j with + | zero => simpa using hs + | succ j ih => + rw [iteratedDeriv_succ] + exact ih.deriv_of_isOpen isOpen_Ioi (by simp) + have hsN : ContinuousOn (iteratedDeriv N f) (Ioi 0) := (hsD N).continuousOn + have hc : ContinuousOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi R) := + (continuousOn_id.pow 11).mul + (((hsN.mono (Ioi_subset_Ioi hR.le)).norm).pow 2) + have hi := (integrableOn_Ioi_rpow_of_lt hexp hR).const_mul (C ^ 2) + have ht : IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi R) := by + apply hi.mono' (hc.aestronglyMeasurable measurableSet_Ioi) + filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr + have hr0 : 0 < r := hR.trans hr + have hpow : r ^ (11 + 2 * s) = r ^ 11 * (r ^ s) ^ 2 := by + rw [Real.rpow_add hr0, show (2 : ℝ) * s = s * 2 by ring, Real.rpow_mul hr0.le] + norm_num + have hsq := pow_le_pow_left₀ (norm_nonneg (iteratedDeriv N f r)) + (hT r ((le_max_left T 1).trans hr.le)) 2 + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity), hpow] + calc + _ ≤ r ^ 11 * (C * r ^ s) ^ 2 := mul_le_mul_of_nonneg_left hsq (by positivity) + _ = _ := by ring + have hn := homogeneousGlued_local_top_integrable f N R hR (hf R hR) hs + apply (hn.union ht).mono_set + intro r hr + by_cases h : r ≤ R + · exact Or.inl ⟨hr, h⟩ + · exact Or.inr (lt_of_not_ge h) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedMatchingMode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedMatchingMode.lean new file mode 100644 index 0000000000000000000000000000000000000000..aff48ba1b7aabad9c5db2db223d522db14d9ce9a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedMatchingMode.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedMode +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchingData +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralColumnRank +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalRank + +namespace OAI + +/-! A zero of the actual matching determinant supplies a bounded classical mode. -/ + +open Set +open scoped ContDiff BoundedContinuousFunction +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousGlued_matching_mode {n ell : ℕ} {z : ProfileMatchingBall} {R L : ℝ} + (d : RadialMatchingData n z ell R L) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) (hN : 7 ≤ N) + (lam : ℂ) (hlam : ‖lam‖ ≤ L) (hhalf : -radialShootingA n ≤ lam.re) + (hzero : d.determinant lam = 0) : + Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) N + (radialMatchedProfile n z) ((ell * (ell + 10) : ℕ) : ℂ) lam) := by + let m := n + radialInnerShootingThreshold + let ν := radialShootingNu m z + let eta : ℂ := ((ell * (ell + 10) : ℕ) : ℂ) + let Q := radialMatchedEvenProfile n z + let Op := spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (d.outgoingPlus lam) + let Om := spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (d.outgoingMinus lam) + have hR : 0 < R := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) d.radius_gt + have hR1 : 1 ≤ R := innerBoundaryRadius_bounds.1.trans d.radius_gt.le + have hm : 1 ≤ m := radialShootingInner_power_pos n (profileMatchingParameter z) + have hQc : ContDiff ℝ ∞ Q := radialMatchedEvenProfile_contDiff n z hX hz + have hOp : ∀ r, R ≤ r → HasDerivAt Op + (spectralPhysicalCircularField (ν - 2 * lam) (star ν - 2 * lam) eta m + (Q r) r (Op r)) r := by + intro r hr + have hh := homogeneous_matched_canonicalColumn_derivative n z eta lam (1, 0) + d.outgoingPlus d.plus_canonical r (d.radius_gt.trans_le hr) + simpa only [Q, radialMatchedEvenProfile_nonneg n z r (hR.le.trans hr)] using hh + have hOm : ∀ r, R ≤ r → HasDerivAt Om + (spectralPhysicalCircularField (ν - 2 * lam) (star ν - 2 * lam) eta m + (Q r) r (Om r)) r := by + intro r hr + have hh := homogeneous_matched_canonicalColumn_derivative n z eta lam (0, 1) + d.outgoingMinus d.minus_canonical r (d.radius_gt.trans_le hr) + simpa only [Q, radialMatchedEvenProfile_nonneg n z r (hR.le.trans hr)] using hh + obtain ⟨q, hq, _⟩ := canonical_circular_expansion_data ν (radialShootingM z) m + (Real.log innerBoundaryRadius) hX (radialShootingM_ne_zero z) + have hrank : LinearIndependent ℂ ![Op R, Om R] := by + apply spectralPhysicalPair_rank (ν - 2 * lam) (star ν - 2 * lam) + (d.outgoingPlus lam) (d.outgoingMinus lam) R hR.ne' + apply circular_columns_at_linearIndependent (ν - 2 * lam) (star ν - 2 * lam) eta m hm + ‖q‖ (fun t => (radialExteriorCanonical ν m (radialShootingM z) + (Real.log innerBoundaryRadius) t).1) + (d.outgoingPlus lam) (d.outgoingMinus lam) _ + (d.plus_canonical.1 lam) (d.minus_canonical.1 lam) + (d.plus_canonical.2.1 lam) (d.minus_canonical.2.1 lam) + (Real.log R) (Real.log_nonneg hR1) + intro t ht + rw [← hq t ht] + exact q.norm_coe_le_norm t + obtain ⟨U, _a, _b, c, e, _hi, ho, hne, hfc, hgc, _hs, hU⟩ := + homogeneousGlued_matching_state (ν - 2 * lam) (star ν - 2 * lam) eta m Q + hQc.contDiffOn R hR (d.regularPlus lam) (d.regularMinus lam) Op Om + ⟨(d.regular_c2 lam).1, (d.regular_c2 lam).2.1⟩ + ⟨(d.regular_c2 lam).2.2.1, (d.regular_c2 lam).2.2.2⟩ + (d.plus_equation lam hlam) (d.minus_equation lam hlam) hOp hOm + (d.regular_rank lam hlam) hrank hzero + obtain ⟨u⟩ := homogeneousGlued_canonical_mode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) ell m N hN ν (radialShootingM z) + lam (radialShootingNu_physical n z) hhalf (Real.log innerBoundaryRadius) hX + Q hQc U ⟨hfc, hgc⟩ hU R hR hne d.outgoingPlus d.outgoingMinus + d.plus_canonical d.minus_canonical c e ho + refine ⟨⟨u.first, u.second, u.first_c2, u.second_c2, ?_, u.first_smooth, + u.second_smooth, u.first_top, u.second_top, u.bounded, u.nonzero⟩⟩ + intro r hr + simpa only [Q, radialMatchedEvenProfile_nonneg n z r hr.le] using u.equation r hr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedMode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedMode.lean new file mode 100644 index 0000000000000000000000000000000000000000..640e1c50c53dba4e93fe9a07677c4fcf1c185cdd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedMode.lean @@ -0,0 +1,127 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedCanonicalTail +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedLocalL2 +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedCutoff +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedEigenpair +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralMode + +namespace OAI + +/-! Canonical outgoing states yield bounded radial modes in Re lambda >= -a. -/ + +open Set Filter MeasureTheory Topology +open scoped ContDiff +namespace DefocusingNLS +local notation "V" => ℂ × ℂ +local notation "E₄" => V × V + +theorem homogeneousGlued_canonical_mode + (a b : ℝ) (ell m N : ℕ) (hN : 7 ≤ N) (ν beta lam : ℂ) + (hν : ν = -2 * (a : ℂ) + 2 * Complex.I * (b : ℂ)) + (hhalf : -a ≤ lam.re) (L : ℝ) (hX : HasRadialExterior ν m beta L) + (Q : ℝ → ℂ) (hQ : ContDiff ℝ ∞ Q) (U : ℝ → E₄) + (hc : ContDiff ℝ 2 (fun r => (U r).1.1) ∧ + ContDiff ℝ 2 (fun r => (U r).2.1)) + (hU : ∀ r, 0 < r → HasDerivAt U + (spectralPhysicalCircularField (ν - 2 * lam) (star ν - 2 * lam) + ((ell * (ell + 10) : ℕ) : ℂ) m (Q r) r (U r)) r) + (R : ℝ) (hR : 0 < R) (hne : U R ≠ 0) + (Yp Ym : ℂ → ℝ → E₄) + (hp : IsCanonicalHolomorphicColumn ν ((ell * (ell + 10) : ℕ) : ℂ) beta m L (1, 0) Yp) + (hm : IsCanonicalHolomorphicColumn ν ((ell * (ell + 10) : ℕ) : ℂ) beta m L (0, 1) Ym) + (c d : ℂ) (ho : ∀ r, R ≤ r → U r = + c • spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (Yp lam) r + + d • spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (Ym lam) r) : + Nonempty (RadialSpectralMode a b m N Q ((ell * (ell + 10) : ℕ) : ℂ) lam) := by + let f := fun r => (U r).1.1 + let g := fun r => (U r).2.1 + let F := fun r => (f r, g r) + have hsU := homogeneousGlued_state_smooth (ν - 2 * lam) (star ν - 2 * lam) + ((ell * (ell + 10) : ℕ) : ℂ) m Q hQ.contDiffOn U hU + have hfs : ContDiffOn ℝ ∞ f (Ioi 0) := hsU.fst.fst + have hgs : ContDiffOn ℝ ∞ g (Ioi 0) := hsU.snd.fst + have hFs : ContDiffOn ℝ ∞ F (Ioi 0) := hfs.prodMk hgs + have horigin (T : ℝ) (hT : 0 < T) := homogeneousGlued_origin_regularity ell m + (ν - 2 * lam) (star ν - 2 * lam) T hT Q hQ.continuous hQ.contDiffOn U hc + (fun r hr => hU r hr.1) + let σ := (ν - 2 * lam).re + have hνre : ν.re = -2 * a := by + rw [hν] + simp [Complex.mul_re, Complex.mul_im] + have hσ : σ ≤ 0 := by + have he : σ = -2 * a - 2 * lam.re := by + dsimp only [σ] + rw [Complex.sub_re, hνre] + norm_num [Complex.mul_re] + rw [he] + linarith + have htail (j : ℕ) := homogeneousGlued_canonical_tail_bound ν + ((ell * (ell + 10) : ℕ) : ℂ) beta m L hX lam Yp Ym hp hm U hsU R hR c d ho j + have hscalar (j : ℕ) : + (∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ r in atTop, ‖iteratedDeriv j f r‖ ≤ C * r ^ (σ - j)) ∧ + (∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ r in atTop, ‖iteratedDeriv j g r‖ ≤ C * r ^ (σ - j)) := by + obtain ⟨C, hC, hb⟩ := htail j + constructor + · refine ⟨C, hC, ?_⟩ + filter_upwards [hb, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + exact (homogeneousGlued_coordinate_derivatives F hFs j r hr0).1.trans hr + · refine ⟨C, hC, ?_⟩ + filter_upwards [hb, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + exact (homogeneousGlued_coordinate_derivatives F hFs j r hr0).2.trans hr + have hexp : 11 + 2 * (σ - (N : ℝ)) < -1 := by + have hN' : (7 : ℝ) ≤ N := by exact_mod_cast hN + linarith + have hft := homogeneousGlued_top_integrable f N (σ - N) + (fun T hT => (horigin T hT).1) hfs hexp (hscalar N).1 + have hgt := homogeneousGlued_top_integrable g N (σ - N) + (fun T hT => (horigin T hT).2) hgs hexp (hscalar N).2 + have hbF : ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ r in atTop, ‖F r‖ ≤ M := by + obtain ⟨C, hC, hb⟩ := htail 0 + refine ⟨C, hC, ?_⟩ + filter_upwards [hb, eventually_ge_atTop (1 : ℝ)] with r hr hr1 + simp only [iteratedDeriv_zero, Nat.cast_zero, sub_zero] at hr + exact hr.trans (mul_le_of_le_one_right hC + (Real.rpow_le_one_of_one_le_of_nonpos hr1 hσ)) + obtain ⟨Mf, hMf, hbf⟩ := homogeneousGluedCutoff_bounded f hc.1.continuous + (by obtain ⟨M, hM, hb⟩ := hbF; exact ⟨M, hM, hb.mono (fun r hr => (norm_fst_le (F r)).trans hr)⟩) + obtain ⟨Mg, hMg, hbg⟩ := homogeneousGluedCutoff_bounded g hc.2.continuous + (by obtain ⟨M, hM, hb⟩ := hbF; exact ⟨M, hM, hb.mono (fun r hr => (norm_snd_le (F r)).trans hr)⟩) + have heq : IsHarmonicRadialEigenpair a b m Q ((ell * (ell + 10) : ℕ) : ℂ) lam f g := by + have hstar : star ν = -2 * (a : ℂ) - 2 * Complex.I * (b : ℂ) := by + rw [hν] + simp only [star_add, star_mul, star_neg, star_ofNat, Complex.star_def, + Complex.conj_ofReal, Complex.conj_I] + ring + have hh := homogeneousGlued_eigenpair a b ((ell * (ell + 10) : ℕ) : ℝ) lam m Q U + (by simpa only [← hν, ← hstar, Complex.ofReal_natCast] using hU) + simpa only [Complex.ofReal_natCast] using hh + refine ⟨⟨homogeneousGluedCutoff f, homogeneousGluedCutoff g, + homogeneousGluedCutoff_contDiff f hc.1, homogeneousGluedCutoff_contDiff g hc.2, + ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩⟩ + · intro r hr + have hf := homogeneousGluedCutoff_eventuallyEq f r hr + have hg := homogeneousGluedCutoff_eventuallyEq g r hr + simpa only [← hf.eq_of_nhds, ← hg.eq_of_nhds, ← hf.deriv_eq, ← hg.deriv_eq, + ← hf.deriv.deriv_eq, ← hg.deriv.deriv_eq] using heq r hr + · exact ((Complex.ofRealCLM.contDiff.comp + (Real.smoothTransition.contDiff.comp (contDiff_id.add contDiff_const))).contDiffOn.mul hfs) + · exact ((Complex.ofRealCLM.contDiff.comp + (Real.smoothTransition.contDiff.comp (contDiff_id.add contDiff_const))).contDiffOn.mul hgs) + · apply hft.congr_fun _ measurableSet_Ioi + intro r hr + dsimp only + rw [homogeneousGluedCutoff_iteratedDeriv f N r hr] + · apply hgt.congr_fun _ measurableSet_Ioi + intro r hr + dsimp only + rw [homogeneousGluedCutoff_iteratedDeriv g N r hr] + · exact ⟨max Mf Mg, hMf.trans (le_max_left _ _), fun r => + max_le ((hbf r).trans (le_max_left _ _)) ((hbg r).trans (le_max_right _ _))⟩ + · obtain ⟨r, hr, hn⟩ := homogeneousGlued_nonzero_values + (ν - 2 * lam) (star ν - 2 * lam) ((ell * (ell + 10) : ℕ) : ℂ) m Q U R hR hne hU + refine ⟨r, hr, ?_⟩ + simpa only [homogeneousGluedCutoff_eq f r hr.le, + homogeneousGluedCutoff_eq g r hr.le] using hn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOrigin.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOrigin.lean new file mode 100644 index 0000000000000000000000000000000000000000..a95d9e0d3ac570ae3a81ece298fd69ec5e4abd25 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOrigin.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedAverage +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularPrimitive +import Mathlib.Analysis.Calculus.Deriv.Prod + +namespace OAI + +/-! Smoothness through the origin for the actual regular Volterra solutions. -/ + +open Set MeasureTheory +open scoped ContDiff BoundedContinuousFunction +namespace DefocusingNLS + +theorem homogeneousGlued_average_congr (d : ℕ) (h R : ℝ) (f g : ℝ → ℂ) + (he : EqOn f g (Icc 0 R)) (r : ℝ) (hr : r ∈ Icc 0 R) : + spectralRegularAverage d h f r = spectralRegularAverage d h g r := by + apply intervalIntegral.integral_congr + intro t ht + rw [uIcc_of_le (by norm_num : (0 : ℝ) ≤ 1)] at ht + have hrt : r * t ∈ Icc 0 R := + ⟨mul_nonneg hr.1 ht.1, (mul_le_of_le_one_right hr.1 ht.2).trans hr.2⟩ + dsimp only + rw [he hrt] + +theorem homogeneousGlued_regular_origin (d : ℕ) (R α : ℝ) + (hR : 0 < R) (hα : 0 < α) (A B : ℝ →ᵇ ℂ) (cp cm : ℂ) (c : ℂ × ℂ) + (v s : RegularSpectralSpace) + (hv : v = spectralRegularInitial R α hα.le c + spectralRegularPairKernel d R α hR.le hα s) + (hs : s = spectralRegularSourceCLM A B cp cm v) + (hA : ContDiffOn ℝ ∞ A (Icc 0 R)) (hB : ContDiffOn ℝ ∞ B (Icc 0 R)) : + ContDiffOn ℝ ∞ (spectralRegularLift d α c s) (Icc 0 R) := by + let F := fun r => (spectralRegularLift d α c s r).1 + let G := fun r => (spectralRegularLift d α c s r).2 + have he (r : ℝ) (hr : r ∈ Icc 0 R) := + spectralRegularLift_source d R α hR.le hα A B cp cm c v s hv hs r hr + have hep : EqOn (spectralRegularWeightedSource α s.1) + (fun r => A r * F r + B r * G r - cp * F r) (Icc 0 R) := by + intro r hr + exact congrArg Prod.fst (he r hr) + have hem : EqOn (spectralRegularWeightedSource α s.2) + (fun r => star (B r) * F r + star (A r) * G r - cm * G r) (Icc 0 R) := by + intro r hr + exact congrArg Prod.snd (he r hr) + have hdF (r : ℝ) (hr : r ∈ Icc 0 R) : HasDerivWithinAt F + ((r : ℂ) * spectralRegularAverage d 1 + (fun t => A t * F t + B t * G t - cp * F t) r) (Icc 0 R) r := by + have hd := ((ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r + (spectralRegularLift_hasDerivAt d α c s r)).hasDerivWithinAt + (s := Icc 0 R) + simp only [ContinuousLinearMap.coe_fst'] at hd + rw [homogeneousGlued_average_congr d 1 R _ _ hep r hr] at hd + exact hd + have hdG (r : ℝ) (hr : r ∈ Icc 0 R) : HasDerivWithinAt G + ((r : ℂ) * spectralRegularAverage d (-1) + (fun t => star (B t) * F t + star (A t) * G t - cm * G t) r) (Icc 0 R) r := by + have hd := ((ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r + (spectralRegularLift_hasDerivAt d α c s r)).hasDerivWithinAt + (s := Icc 0 R) + simp only [ContinuousLinearMap.coe_snd'] at hd + rw [homogeneousGlued_average_congr d (-1) R _ _ hem r hr] at hd + exact hd + obtain ⟨hf, hg⟩ := homogeneousGlued_origin_smooth d R hR A B cp cm hA hB F G + (spectralRegularLift_continuous d α c s).fst.continuousOn + (spectralRegularLift_continuous d α c s).snd.continuousOn hdF hdG + exact hf.prodMk hg + +theorem homogeneousGlued_regular_physical_origin (ell d : ℕ) (R α : ℝ) + (hR : 0 < R) (hα : 0 < α) (A B : ℝ →ᵇ ℂ) (cp cm : ℂ) (c : ℂ × ℂ) + (v s : RegularSpectralSpace) + (hv : v = spectralRegularInitial R α hα.le c + spectralRegularPairKernel d R α hR.le hα s) + (hs : s = spectralRegularSourceCLM A B cp cm v) + (hA : ContDiffOn ℝ ∞ A (Icc 0 R)) (hB : ContDiffOn ℝ ∞ B (Icc 0 R)) : + ContDiffOn ℝ ∞ + (fun r => (spectralAngularPair ell (spectralRegularState d α c s) r).1.1) (Icc 0 R) ∧ + ContDiffOn ℝ ∞ + (fun r => (spectralAngularPair ell (spectralRegularState d α c s) r).2.1) (Icc 0 R) := by + have hL := homogeneousGlued_regular_origin d R α hR hα A B cp cm c v s hv hs hA hB + have hp : ContDiffOn ℝ ∞ (fun r : ℝ => (r : ℂ) ^ ell) (Icc 0 R) := + (Complex.ofRealCLM.contDiff.pow ell).contDiffOn + exact ⟨hp.mul hL.fst, hp.mul hL.snd⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOriginBasis.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOriginBasis.lean new file mode 100644 index 0000000000000000000000000000000000000000..c7b28c5f2b0cf40c09efba0c4427c1f641532096 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOriginBasis.lean @@ -0,0 +1,106 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedOrigin +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularBasis + +namespace OAI + +/-! A regular physical basis retaining all derivatives up to the origin. -/ + +open Set +open scoped ContDiff BoundedContinuousFunction +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousGlued_exists_origin_basis (ell m : ℕ) (νp νm : ℂ) + (R : ℝ) (hR : 0 < R) (Q : ℝ → ℂ) (hQ : Continuous Q) + (hQs : ContDiffOn ℝ ∞ Q (Icc 0 R)) : + ∃ Rp Rm : ℝ → E₄, + (∀ r ∈ Ioc 0 R, HasDerivAt Rp + (spectralPhysicalCircularField νp νm ((ell * (ell + 10) : ℕ) : ℂ) m + (Q r) r (Rp r)) r) ∧ + (∀ r ∈ Ioc 0 R, HasDerivAt Rm + (spectralPhysicalCircularField νp νm ((ell * (ell + 10) : ℕ) : ℂ) m + (Q r) r (Rm r)) r) ∧ + LinearIndependent ℂ ![Rp R, Rm R] ∧ + (ContDiff ℝ 2 (fun r => (Rp r).1.1) ∧ ContDiff ℝ 2 (fun r => (Rp r).2.1)) ∧ + (ContDiff ℝ 2 (fun r => (Rm r).1.1) ∧ ContDiff ℝ 2 (fun r => (Rm r).2.1)) ∧ + (ContDiffOn ℝ ∞ (fun r => (Rp r).1.1) (Icc 0 R) ∧ + ContDiffOn ℝ ∞ (fun r => (Rp r).2.1) (Icc 0 R)) ∧ + (ContDiffOn ℝ ∞ (fun r => (Rm r).1.1) (Icc 0 R) ∧ + ContDiffOn ℝ ∞ (fun r => (Rm r).2.1) (Icc 0 R)) := by + let q := spectralClampedProfile R hR.le Q hQ + let A := spectralRegularDiagonal m q + let B := spectralRegularCross m q + let cp := -Complex.I * νp / 2 + Complex.I * (ell : ℂ) / 2 + let cm := Complex.I * νm / 2 - Complex.I * (ell : ℂ) / 2 + let d := 2 * ell + 11 + let α := spectralRegularSourceBound A B cp cm + 1 + have hbound := spectralRegularSourceBound_nonneg A B cp cm + have hα : 0 < α := by dsimp only [α]; linarith + have hgap : spectralRegularSourceBound A B (cp + Complex.I * 0) + (cm - Complex.I * 0) < 2 * α := by + simp only [mul_zero, add_zero, sub_zero] + dsimp only [α] + linarith + let v := fun c : ℂ × ℂ => spectralRegularVector d R α hR.le hα A B cp cm c 0 + let s := fun c : ℂ × ℂ => spectralRegularSolutionSource d R α hR.le hα A B cp cm c 0 + let W := fun c : ℂ × ℂ => spectralRegularState d α c (s c) + have hv (c : ℂ × ℂ) : v c = spectralRegularInitial R α hα.le c + + spectralRegularPairKernel d R α hR.le hα (s c) := + spectralRegularVector_equation d R α hR.le hα A B cp cm c 0 hgap + have hstate (c : ℂ × ℂ) (r : ℝ) (hr : r ∈ Ioc 0 R) : + HasDerivAt (W c) (spectralRegularField d (A r) (B r) cp cm r (W c r)) r := by + simpa only [mul_zero, add_zero, sub_zero] using + spectralRegularState_hasDerivAt d R α hR.le hα A B (cp + Complex.I * 0) + (cm - Complex.I * 0) c (v c) (s c) (hv c) rfl r hr + have hq (r : ℝ) (hr : r ∈ Icc 0 R) : q r = Q r := + spectralClampedProfile_eq R hR.le Q hQ r hr + have hAc : ContDiffOn ℝ ∞ A (Icc 0 R) := by + have hs := (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp_contDiffOn hQs + apply (((contDiffOn_const.mul (hQs.pow m)).mul (hs.pow m)) : + ContDiffOn ℝ ∞ (fun r => ((m + 1 : ℕ) : ℂ) * Q r ^ m * star (Q r) ^ m) + (Icc 0 R)).congr + intro r hr + change spectralRegularDiagonal m q r = _ + rw [spectralRegularDiagonal_apply, hq r hr] + rfl + have hBc : ContDiffOn ℝ ∞ B (Icc 0 R) := by + have hs := (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp_contDiffOn hQs + apply (((contDiffOn_const.mul (hQs.pow (m + 1))).mul (hs.pow (m - 1))) : + ContDiffOn ℝ ∞ (fun r => (m : ℂ) * Q r ^ (m + 1) * star (Q r) ^ (m - 1)) + (Icc 0 R)).congr + intro r hr + change spectralRegularCross m q r = _ + rw [spectralRegularCross_apply, hq r hr] + rfl + have hphys (c : ℂ × ℂ) (r : ℝ) (hr : r ∈ Ioc 0 R) : + HasDerivAt (spectralAngularPair ell (W c)) + (spectralPhysicalCircularField νp νm ((ell * (ell + 10) : ℕ) : ℂ) m + (Q r) r (spectralAngularPair ell (W c) r)) r := by + apply spectralRegularPhysical_hasDerivAt ell m νp νm (Q r) (W c) r hr.1 + have hh := hstate c r hr + have heA : A r = spectralDiagonalCoefficient m (Q r) := by + dsimp only [A] + rw [spectralRegularDiagonal_apply, hq r ⟨hr.1.le, hr.2⟩] + have heB : B r = spectralCrossCoefficient m (Q r) := by + dsimp only [B] + rw [spectralRegularCross_apply, hq r ⟨hr.1.le, hr.2⟩] + rw [heA, heB] at hh + exact hh + have hRank : LinearIndependent ℂ ![W (1, 0) R, W (0, 1) R] := + spectralRegular_at_linearIndependent d A B cp cm _ _ R hR + (spectralRegularState_continuous d α (1, 0) (s (1, 0))) + (spectralRegularState_continuous d α (0, 1) (s (0, 1))) + (hstate (1, 0)) (hstate (0, 1)) + (spectralRegularState_initial d α (1, 0) (s (1, 0))) + (spectralRegularState_initial d α (0, 1) (s (0, 1))) + have hOrigin (c : ℂ × ℂ) := homogeneousGlued_regular_physical_origin ell d R α hR hα + A B (cp + Complex.I * 0) (cm - Complex.I * 0) c (v c) (s c) (hv c) rfl hAc hBc + refine ⟨spectralAngularPair ell (W (1, 0)), spectralAngularPair ell (W (0, 1)), + hphys (1, 0), hphys (0, 1), spectralAngularPair_rank ell _ _ R hR.ne' hRank, + homogeneousRegularPhysical_contDiff_two ell d α (1, 0) (s (1, 0)), + homogeneousRegularPhysical_contDiff_two ell d α (0, 1) (s (0, 1)), + hOrigin (1, 0), hOrigin (0, 1)⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOriginRegularity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOriginRegularity.lean new file mode 100644 index 0000000000000000000000000000000000000000..c41af3b6c0abbf0808f588a9f2801b5d9750b2f4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedOriginRegularity.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGluedOriginBasis +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularCompleteness + +namespace OAI + +/-! Integer angular modes have all regular-origin derivatives; no expansion is assumed. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousGlued_origin_regularity (ell m : ℕ) (νp νm : ℂ) + (R : ℝ) (hR : 0 < R) (Q : ℝ → ℂ) (hQ : Continuous Q) + (hQs : ContDiffOn ℝ ∞ Q (Icc 0 R)) (U : ℝ → E₄) + (hUc : ContDiff ℝ 2 (fun r => (U r).1.1) ∧ + ContDiff ℝ 2 (fun r => (U r).2.1)) + (hU : ∀ r ∈ Ioc 0 R, HasDerivAt U + (spectralPhysicalCircularField νp νm ((ell * (ell + 10) : ℕ) : ℂ) m + (Q r) r (U r)) r) : + ContDiffOn ℝ ∞ (fun r => (U r).1.1) (Icc 0 R) ∧ + ContDiffOn ℝ ∞ (fun r => (U r).2.1) (Icc 0 R) := by + obtain ⟨Rp, Rm, hp, hm, hrank, hpc, hmc, hps, hms⟩ := + homogeneousGlued_exists_origin_basis ell m νp νm R hR Q hQ hQs + obtain ⟨c, hc⟩ := homogeneousRegular_basis_complete νp νm + ((ell * (ell + 10) : ℕ) : ℝ) (Nat.cast_nonneg _) m Q hQ R hR U Rp Rm + hUc hpc hmc (by simpa only [Complex.ofReal_natCast] using hU) + (by simpa only [Complex.ofReal_natCast] using hp) + (by simpa only [Complex.ofReal_natCast] using hm) hrank + have he (r : ℝ) (hr : r ∈ Ioc 0 R) : U r = c.1 • Rp r + c.2 • Rm r := + homogeneousPhysicalOutgoingPlane_backward νp νm ((ell * (ell + 10) : ℕ) : ℂ) m Q + U Rp Rm r R hr.1 hr.2 hQ.continuousOn + (fun t ht => hU t ⟨hr.1.trans_le ht.1, ht.2⟩) + (fun t ht => hp t ⟨hr.1.trans_le ht.1, ht.2⟩) + (fun t ht => hm t ⟨hr.1.trans_le ht.1, ht.2⟩) c hc + have hep : EqOn (fun r => (U r).1.1) + (fun r => c.1 * (Rp r).1.1 + c.2 * (Rm r).1.1) (Ioc 0 R) := by + intro r hr + exact congrArg (fun V : E₄ => V.1.1) (he r hr) + have hem : EqOn (fun r => (U r).2.1) + (fun r => c.1 * (Rp r).2.1 + c.2 * (Rm r).2.1) (Ioc 0 R) := by + intro r hr + exact congrArg (fun V : E₄ => V.2.1) (he r hr) + have hep' : EqOn (fun r => (U r).1.1) + (fun r => c.1 * (Rp r).1.1 + c.2 * (Rm r).1.1) (Icc 0 R) := by + have hh := hep.closure hUc.1.continuous + ((hpc.1.continuous.const_mul c.1).add (hmc.1.continuous.const_mul c.2)) + simpa only [closure_Ioc hR.ne] using hh + have hem' : EqOn (fun r => (U r).2.1) + (fun r => c.1 * (Rp r).2.1 + c.2 * (Rm r).2.1) (Icc 0 R) := by + have hh := hem.closure hUc.2.continuous + ((hpc.2.continuous.const_mul c.1).add (hmc.2.continuous.const_mul c.2)) + simpa only [closure_Ioc hR.ne] using hh + exact ⟨((contDiffOn_const.mul hps.1).add (contDiffOn_const.mul hms.1)).congr hep', + ((contDiffOn_const.mul hps.2).add (contDiffOn_const.mul hms.2)).congr hem'⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedRegularity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedRegularity.lean new file mode 100644 index 0000000000000000000000000000000000000000..d1b161f6bb95b455e06931e787d287a458fbadf1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedRegularity.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularPhysical +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMatchingGluing + +namespace OAI + +/-! Regularity of a physical state obtained by matching two ODE branches. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousGlued_state_smooth (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (hQ : ContDiffOn ℝ ∞ Q (Ioi 0)) (U : ℝ → E₄) + (hU : ∀ r, 0 < r → HasDerivAt U + (spectralPhysicalCircularField νp νm eta m (Q r) r (U r)) r) : + ContDiffOn ℝ ∞ U (Ioi 0) := by + intro r hr + have hr0 : 0 < r := hr + have hsub : Icc (r / 2) (r + 1) ⊆ Ioi (0 : ℝ) := by + intro t ht + exact (half_pos hr0).trans_le ht.1 + have hs : ContDiffOn ℝ ∞ U (Icc (r / 2) (r + 1)) := by + apply ODE.contDiffOn_enat_Icc_of_hasDerivWithinAt + (f := fun t V => spectralPhysicalCircularField νp νm eta m (Q t) t V) + (u := (univ : Set E₄)) + · exact spectralPhysicalCircularField_contDiffOn νp νm eta m Q _ + (hQ.mono hsub) (fun t ht => (hsub ht).ne') + · exact fun t ht => (hU t (hsub ht)).hasDerivWithinAt + · exact fun _ _ => mem_univ _ + exact (hs.contDiffAt (Icc_mem_nhds (by linarith) (by linarith))).contDiffWithinAt + +theorem homogeneousGlued_positions_c2 (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (hQ : ContDiffOn ℝ ∞ Q (Ioi 0)) + (U F : ℝ → E₄) (R : ℝ) (hR : 0 < R) + (hF : ContDiff ℝ 2 (fun r => (F r).1.1) ∧ + ContDiff ℝ 2 (fun r => (F r).2.1)) + (hUF : ∀ r, r < R → U r = F r) + (hU : ∀ r, 0 < r → HasDerivAt U + (spectralPhysicalCircularField νp νm eta m (Q r) r (U r)) r) : + ContDiff ℝ 2 (fun r => (U r).1.1) ∧ + ContDiff ℝ 2 (fun r => (U r).2.1) := by + have hs := homogeneousGlued_state_smooth νp νm eta m Q hQ U hU + constructor + · rw [contDiff_iff_contDiffAt] + intro r + by_cases hr : 0 < r + · exact ((hs.fst.fst r hr).contDiffAt (Ioi_mem_nhds hr)).of_le (by simp) + · apply (hF.1.contDiffAt).congr_of_eventuallyEq + filter_upwards [Iio_mem_nhds (lt_of_le_of_lt (le_of_not_gt hr) hR)] with t ht + exact congrArg (fun V : E₄ => V.1.1) (hUF t ht) + · rw [contDiff_iff_contDiffAt] + intro r + by_cases hr : 0 < r + · exact ((hs.snd.fst r hr).contDiffAt (Ioi_mem_nhds hr)).of_le (by simp) + · apply (hF.2.contDiffAt).congr_of_eventuallyEq + filter_upwards [Iio_mem_nhds (lt_of_le_of_lt (le_of_not_gt hr) hR)] with t ht + exact congrArg (fun V : E₄ => V.2.1) (hUF t ht) + +theorem homogeneousGlued_eigenpair (a b : ℝ) (eta : ℝ) (lam : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (U : ℝ → E₄) + (hU : ∀ r, 0 < r → HasDerivAt U + (spectralPhysicalCircularField (-2 * (a : ℂ) + 2 * Complex.I * (b : ℂ) - 2 * lam) + (-2 * (a : ℂ) - 2 * Complex.I * (b : ℂ) - 2 * lam) + (eta : ℂ) m (Q r) r (U r)) r) : + IsHarmonicRadialEigenpair a b m Q (eta : ℂ) lam + (fun r => (U r).1.1) (fun r => (U r).2.1) := by + intro r hr + obtain ⟨hp, hm⟩ := homogeneousRegular_state_equation + (-2 * (a : ℂ) + 2 * Complex.I * (b : ℂ) - 2 * lam) + (-2 * (a : ℂ) - 2 * Complex.I * (b : ℂ) - 2 * lam) + eta m Q U (r + 1) (fun t ht => hU t ht.1) r ⟨hr, by linarith⟩ + dsimp only at hp hm + have hI3 : Complex.I ^ 3 = -Complex.I := by + rw [show (3 : ℕ) = 2 + 1 from rfl, pow_succ, Complex.I_sq, neg_one_mul] + constructor + · dsimp only [spectralDiagonalCoefficient, spectralCrossCoefficient] at hp + push_cast at hp ⊢ + linear_combination (norm := (ring_nf; simp only [Complex.I_sq, hI3]; ring)) -Complex.I * hp + · dsimp only [spectralDiagonalCoefficient, spectralCrossCoefficient] at hm + push_cast at hm ⊢ + linear_combination (norm := (ring_nf; simp only [Complex.I_sq, hI3]; ring)) Complex.I * hm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..bbacc5899e76cdad5f008791e7c1802a868ff2a1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousGluedTail.lean @@ -0,0 +1,90 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEulerPhysical +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingLogJets + +namespace OAI + +/-! Actual physical derivatives of a bounded normalized outgoing column. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS +local notation "V" => ℂ × ℂ + +theorem homogeneousGlued_euler_congr (F G : ℝ → V) (t : ℝ) + (he : F =ᶠ[𝓝 t] G) (N : ℕ) : + homogeneousEulerDeriv F N t = homogeneousEulerDeriv G N t := by + have hh : ∀ n : ℕ, homogeneousEulerDeriv F n =ᶠ[𝓝 t] homogeneousEulerDeriv G n := by + intro n + induction n with + | zero => exact he + | succ n ih => + filter_upwards [ih.deriv, ih] with s hds hs + change deriv (homogeneousEulerDeriv F n) s - (n : ℝ) • homogeneousEulerDeriv F n s = _ + rw [hds, hs] + rfl + exact (hh N).eq_of_nhds + +theorem homogeneousGlued_physical_derivative_bound + (νp νm : ℂ) (σ : ℝ) (hp : νp.re = σ) (hm : νm.re = σ) + (U : ℝ → V) (hU : ContDiffOn ℝ ∞ U (Ioi 0)) + (f g : ℝ → ℂ) (hf : HasLogJetBound 0 f) (hg : HasLogJetBound 0 g) + (L : ℝ) (he : ∀ t, L < t → U (Real.exp t) = + (Complex.exp (νp * (t : ℂ)) * f t, Complex.exp (νm * (t : ℂ)) * g t)) + (N : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ r in atTop, + ‖iteratedDeriv N U r‖ ≤ C * r ^ (σ - (N : ℝ)) := by + obtain ⟨Lf, hfs⟩ := hf.smooth + obtain ⟨Lg, hgs⟩ := hg.smooth + let K := max L (max Lf Lg) + have hfs' := hfs.mono (Ioi_subset_Ioi ((le_max_left Lf Lg).trans (le_max_right L _))) + have hgs' := hgs.mono (Ioi_subset_Ioi ((le_max_right Lf Lg).trans (le_max_right L _))) + obtain ⟨A, hA, hAf⟩ := (homogeneousNormalizedEuler_bound νp f hf N).bound 0 + obtain ⟨B, _hB, hBg⟩ := (homogeneousNormalizedEuler_bound νm g hg N).bound 0 + simp only [iteratedDeriv_zero, zero_mul, Real.exp_zero, mul_one] at hAf hBg + have hbound : ∀ᶠ t : ℝ in atTop, + ‖iteratedDeriv N U (Real.exp t)‖ ≤ max A B * Real.exp ((σ - (N : ℝ)) * t) := by + filter_upwards [hAf, hBg, eventually_gt_atTop K] with t htA htB htK + have hevent : (fun s => U (Real.exp s)) =ᶠ[𝓝 t] + (fun s => (Complex.exp (νp * (s : ℂ)) * f s, + Complex.exp (νm * (s : ℂ)) * g s)) := by + filter_upwards [Ioi_mem_nhds ((le_max_left L (max Lf Lg)).trans_lt htK)] with s hs + exact he s hs + have hid := homogeneousGlued_euler_congr _ _ t hevent N + rw [homogeneousEulerDeriv_physical U hU N t, + homogeneousEulerDeriv_normalized νp νm f g K hfs' hgs' N t htK] at hid + have hn : ‖Real.exp ((N : ℝ) * t) • iteratedDeriv N U (Real.exp t)‖ ≤ + max A B * Real.exp (σ * t) := by + rw [hid, Prod.norm_def] + apply max_le + · rw [norm_mul, Complex.norm_exp] + simp only [Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, mul_zero, + sub_zero, hp] + calc + _ ≤ Real.exp (σ * t) * A := mul_le_mul_of_nonneg_left htA (Real.exp_pos _).le + _ = A * Real.exp (σ * t) := mul_comm _ _ + _ ≤ _ := mul_le_mul_of_nonneg_right (le_max_left A B) (Real.exp_pos _).le + · rw [norm_mul, Complex.norm_exp] + simp only [Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, mul_zero, + sub_zero, hm] + calc + _ ≤ Real.exp (σ * t) * B := mul_le_mul_of_nonneg_left htB (Real.exp_pos _).le + _ = B * Real.exp (σ * t) := mul_comm _ _ + _ ≤ _ := mul_le_mul_of_nonneg_right (le_max_right A B) (Real.exp_pos _).le + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _)] at hn + apply (mul_le_mul_iff_right₀ (Real.exp_pos ((N : ℝ) * t))).mp + have hExp : Real.exp (σ * t) = + Real.exp ((σ - (N : ℝ)) * t) * Real.exp ((N : ℝ) * t) := by + rw [← Real.exp_add] + congr 1 + ring + rw [hExp] at hn + nlinarith + refine ⟨max A B, hA.trans (le_max_left _ _), ?_⟩ + filter_upwards [Real.tendsto_log_atTop.eventually hbound, + eventually_gt_atTop (0 : ℝ)] with r hr hr0 + rw [Real.exp_log hr0] at hr + simpa only [Real.rpow_def_of_pos hr0, mul_comm] using hr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHamiltonian.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHamiltonian.lean new file mode 100644 index 0000000000000000000000000000000000000000..3d32d0415c304d7074113f5f19347d01273ea436 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHamiltonian.lean @@ -0,0 +1,120 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import Mathlib.Analysis.Calculus.Deriv.Pow +import Mathlib.Analysis.Complex.RealDeriv + +namespace OAI + +/-! # Exact frozen-potential energy cancellation + +The principal odd-power linearization is skew for its positive anisotropic +quadratic form. This is the scalar cancellation needed before estimating +spatially varying coefficients and lower derivatives. +-/ + +open scoped ComplexConjugate + +namespace DefocusingNLS + +theorem oddPowerDerivative_rotated (m : ℕ) (q v : ℂ) : + star q * oddPowerDerivative m q v = + ((Complex.normSq q) ^ m : ℝ) * + (((m + 1 : ℕ) : ℂ) * (star q * v) + (m : ℂ) * star (star q * v)) := by + have hp : (((Complex.normSq q) ^ m : ℝ) : ℂ) = q ^ m * star q ^ m := by + rw [Complex.ofReal_pow, ← Complex.mul_conj q, mul_pow] + rfl + rw [hp] + cases m with + | zero => simp [oddPowerDerivative] + | succ m => + simp only [oddPowerDerivative, add_apply, smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul, Nat.succ_sub_one, + star_mul, star_star, Nat.cast_add, Nat.cast_one, pow_succ] + ring + +theorem oddPowerLinearization_rotated_components (m : ℕ) (q v : ℂ) : + (star q * (-Complex.I * oddPowerDerivative m q v)).re = + Complex.normSq q ^ m * (star q * v).im ∧ + (star q * (-Complex.I * oddPowerDerivative m q v)).im = + -(2 * (m : ℝ) + 1) * Complex.normSq q ^ m * (star q * v).re := by + have he : star q * (-Complex.I * oddPowerDerivative m q v) = + -Complex.I * (star q * oddPowerDerivative m q v) := by ring + rw [he, oddPowerDerivative_rotated] + simp only [Complex.star_def, Complex.mul_re, Complex.mul_im, Complex.neg_re, Complex.neg_im, + Complex.I_re, Complex.I_im, Complex.ofReal_re, Complex.ofReal_im, + Complex.add_re, Complex.add_im, Complex.natCast_re, Complex.natCast_im, + Complex.conj_re, Complex.conj_im, zero_mul, + sub_zero, zero_sub, zero_add, add_zero, one_mul, neg_mul] + push_cast + constructor <;> ring + +noncomputable def frozenHamiltonianEnergy (m : ℕ) (q v : ℂ) : ℝ := + (2 * (m : ℝ) + 1) * (star q * v).re ^ 2 + (star q * v).im ^ 2 + +theorem frozenHamiltonianEnergy_bounds (m : ℕ) (q v : ℂ) : + ‖q‖ ^ 2 * ‖v‖ ^ 2 ≤ frozenHamiltonianEnergy m q v ∧ + frozenHamiltonianEnergy m q v ≤ (2 * (m : ℝ) + 1) * ‖q‖ ^ 2 * ‖v‖ ^ 2 := by + have hnorm : (star q * v).re ^ 2 + (star q * v).im ^ 2 = ‖q‖ ^ 2 * ‖v‖ ^ 2 := by + calc + _ = Complex.normSq (star q * v) := by simp [Complex.normSq_apply, pow_two] + _ = ‖star q * v‖ ^ 2 := Complex.normSq_eq_norm_sq _ + _ = _ := by rw [norm_mul, norm_star, mul_pow] + have hm : 0 ≤ (m : ℝ) := Nat.cast_nonneg _ + unfold frozenHamiltonianEnergy + constructor + · rw [← hnorm] + nlinarith [mul_nonneg hm (sq_nonneg (star q * v).re)] + · calc + _ ≤ (2 * (m : ℝ) + 1) * ((star q * v).re ^ 2 + (star q * v).im ^ 2) := by + nlinarith [mul_nonneg hm (sq_nonneg (star q * v).im)] + _ = _ := by rw [hnorm]; ring + +theorem frozenHamiltonianEnergy_cancellation (m : ℕ) (q v : ℂ) : + 2 * (2 * (m : ℝ) + 1) * (star q * v).re * + (star q * (-Complex.I * oddPowerDerivative m q v)).re + + 2 * (star q * v).im * + (star q * (-Complex.I * oddPowerDerivative m q v)).im = 0 := by + obtain ⟨hr, hi⟩ := oddPowerLinearization_rotated_components m q v + rw [hr, hi] + ring + +theorem hasDerivAt_frozenHamiltonianEnergy (m : ℕ) (q : ℂ) + (v : ℝ → ℂ) (t : ℝ) + (hv : HasDerivAt v (-Complex.I * oddPowerDerivative m q (v t)) t) : + HasDerivAt (fun s => frozenHamiltonianEnergy m q (v s)) 0 t := by + have hu := hv.const_mul (star q) + have hur := Complex.reCLM.hasFDerivAt.comp_hasDerivAt t hu + have hui := Complex.imCLM.hasFDerivAt.comp_hasDerivAt t hu + simp only [Complex.reCLM_apply] at hur + simp only [Complex.imCLM_apply] at hui + have hr := ((hur.pow 2).const_mul (2 * (m : ℝ) + 1)).add (hui.pow 2) + convert! hr using 1 + have hc := frozenHamiltonianEnergy_cancellation m q (v t) + simp only [Function.comp_apply, Complex.reCLM_apply, Complex.imCLM_apply, + Nat.reduceSub, pow_one, Nat.cast_ofNat] + nlinarith [hc] + +noncomputable def normalizedFrozenHamiltonianEnergy (m : ℕ) (q v : ℂ) : ℝ := + frozenHamiltonianEnergy m q v / ‖q‖ ^ 2 + +/-- Dividing by the frozen amplitude gives coercivity independent of that amplitude. -/ +theorem normalizedFrozenHamiltonianEnergy_bounds (m : ℕ) (q v : ℂ) (hq : q ≠ 0) : + ‖v‖ ^ 2 ≤ normalizedFrozenHamiltonianEnergy m q v ∧ + normalizedFrozenHamiltonianEnergy m q v ≤ (2 * (m : ℝ) + 1) * ‖v‖ ^ 2 := by + have hp : 0 < ‖q‖ ^ 2 := sq_pos_of_pos (norm_pos_iff.mpr hq) + obtain ⟨hl, hu⟩ := frozenHamiltonianEnergy_bounds m q v + constructor + · apply (le_div_iff₀ hp).mpr + simpa only [mul_comm] using hl + · apply (div_le_iff₀ hp).mpr + nlinarith [hu] + +theorem hasDerivAt_normalizedFrozenHamiltonianEnergy (m : ℕ) (q : ℂ) + (v : ℝ → ℂ) (t : ℝ) + (hv : HasDerivAt v (-Complex.I * oddPowerDerivative m q (v t)) t) : + HasDerivAt (fun s => normalizedFrozenHamiltonianEnergy m q (v s)) 0 t := by + simpa only [normalizedFrozenHamiltonianEnergy, zero_div] using! + (hasDerivAt_frozenHamiltonianEnergy m q v t hv).div_const (‖q‖ ^ 2) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicAnnularTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicAnnularTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..bb104e971eaaeae44701d4f33e7da592ae9bd8ca --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicAnnularTesting.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialSquareTest + +namespace OAI + +/-! # Arbitrary annular tests for the projected Laplacian -/ + +open Set MeasureTheory +open scoped ContDiff SchwartzMap Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem harmonicAngularCoefficient_annular_laplacian + (Y F : E → ℂ) (lam : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(lam / (‖x‖ ^ 2 : ℝ)) * Y x) + (hF : ContDiff ℝ 2 F) + (φ : 𝓢(ℝ, ℂ)) (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) : + (∫ r : PhysicalPositiveRadius, φ r * harmonicAngularCoefficient Y (Δ F) r + ∂physicalRadiusMeasure) = + ∫ r : PhysicalPositiveRadius, + (deriv (deriv φ) r + ((11 / r.1 : ℝ) : ℂ) * deriv φ r - + lam / (r.1 ^ 2 : ℝ) * φ r) * harmonicAngularCoefficient Y F r + ∂physicalRadiusMeasure := by + let ψ := radialSquareSchwartz φ hc hs + have hψc : HasCompactSupport ψ := radialSquarePullback_hasCompactSupport φ hc hs + have hψs : tsupport ψ ⊆ Ioi (0 : ℝ) := tsupport_radialSquarePullback φ hs + have h := harmonicAngularCoefficient_weak_laplacian Y F lam hY hRay hEigen hF + ψ hψc hψs + calc + _ = ∫ r : PhysicalPositiveRadius, ψ (r.1 ^ 2) * + harmonicAngularCoefficient Y (Δ F) r ∂physicalRadiusMeasure := by + apply integral_congr_ae + filter_upwards [] with r + rw [radialSquareSchwartz_square φ hc hs r.1 r.2] + _ = _ := h + _ = _ := by + apply integral_congr_ae + filter_upwards [] with r + rw [radialSquareSchwartz_laplacian_test φ hc hs lam r.1 r.2] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicBounded.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicBounded.lean new file mode 100644 index 0000000000000000000000000000000000000000..6ffe3b66761855c50dfbb7e549d1797ffd7a088c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicBounded.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicWeakLaplacian +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMap + +namespace OAI + +/-! # Uniformly bounded radial channels from the actual C₀ realization + +A smooth angular test is bounded on the unit sphere. Thus the radial +channel of a C₀ physical function is uniformly bounded at every radius. +-/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem harmonicAngularCoefficient_bounded (Y : E → ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) (F : C₀(E, ℂ)) : + ∃ M : ℝ, 0 ≤ M ∧ ∀ r : ℝ, ‖harmonicAngularCoefficient Y F r‖ ≤ M := by + have hYs : Continuous (fun z : PhysicalUnitSphere => Y z.1) := by + apply continuous_iff_continuousAt.mpr + intro z + have hn : ‖z.1‖ = 1 := by + simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + have hz : z.1 ≠ 0 := by + intro h + simp [h] at hn + exact ((hY z.1 hz).continuousAt).comp continuous_subtype_val.continuousAt + obtain ⟨K, hK⟩ := isCompact_univ.exists_bound_of_continuousOn hYs.continuousOn + refine ⟨(max K 0 * ‖F‖) * physicalSphereMeasure.real univ, by positivity, ?_⟩ + intro r + apply norm_integral_le_of_norm_le_const + filter_upwards [] with z + rw [norm_mul] + exact mul_le_mul ((hK z (mem_univ _)).trans (le_max_left K 0)) + ((BoundedContinuousFunction.norm_coe_le_norm F.toBCF _).trans_eq ZeroAtInftyContinuousMap.norm_toBCF_eq_norm) + (norm_nonneg _) (le_max_right K 0) + +theorem homogeneous_harmonic_channel_bounded (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) + (Y : E → ℂ) (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) : + ∃ M : ℝ, 0 ≤ M ∧ ∀ r : ℝ, + ‖harmonicAngularCoefficient Y (homogeneousPhysicalCLM a k ha ha1 hk u) r‖ ≤ M := + harmonicAngularCoefficient_bounded Y hY (homogeneousPhysicalCLM a k ha ha1 hk u) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicChannels.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicChannels.lean new file mode 100644 index 0000000000000000000000000000000000000000..11647d70891acd3e779340b8ed4c1a5241502bbb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicChannels.lean @@ -0,0 +1,138 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicTransport +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousInhomogeneousChannels + +namespace OAI + +/-! # Actual generator vectors satisfy the projected radial system + +The source is the actual strong generator derivative. Thus the same result +applies both to eigenvectors and to the inhomogeneous vectors in Jordan chains. +-/ + +open MeasureTheory Set Filter +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_harmonic_project_equation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u v : HomogeneousY a k) + (S Y : E → ℂ) (eta cD cE : ℂ) (alpha beta : ℝ → ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(eta / (‖x‖ ^ 2 : ℝ)) * Y x) + (hS : ∀ x : E, S x = + cD * Δ (fun y => homogeneousPhysicalCLM a k ha ha1 hk u y) x + + cE * fderiv ℝ (fun y => homogeneousPhysicalCLM a k ha ha1 hk u y) x x + + alpha ‖x‖ * homogeneousPhysicalCLM a k ha ha1 hk u x + + beta ‖x‖ * homogeneousPhysicalCLM a k ha ha1 hk v x) + (r : ℝ) (hr : 0 < r) : + let A := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x) + let B := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk v x) + harmonicAngularCoefficient Y S r = + cD * (deriv (deriv A) r + ((11 / r : ℝ) : ℂ) * deriv A r - + eta / (r ^ 2 : ℝ) * A r) + cE * ((r : ℂ) * deriv A r) + + alpha r * A r + beta r * B r := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM a k ha ha1 hk u x + let G : E → ℂ := fun x => homogeneousPhysicalCLM a k ha ha1 hk v x + let T : E → ℂ := fun x => fderiv ℝ F x x + have hF : ContDiff ℝ 2 F := contDiff_homogeneousPhysical a k ha ha1 hk u + have hG : ContDiff ℝ 2 G := contDiff_homogeneousPhysical a k ha ha1 hk v + have hT : Continuous T := + (contDiff_one_iff_fderiv.mp (hF.of_le (by norm_num))).2.clm_apply continuous_id + have hYs := continuous_harmonicSphere Y hY + have he : harmonicAngularCoefficient Y S r = + harmonicAngularCoefficient Y + (fun x => cD * Δ F x + cE * T x + alpha r * F x + beta r * G x) r := by + apply integral_congr_ae + filter_upwards [] with z + have hn : ‖r • z.1‖ = r := by + have hz : ‖z.1‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hr, hz, mul_one] + rw [hS, hn] + rw [harmonicAngularCoefficient_four Y (Δ F) T F G hYs + (continuous_laplacian_of_contDiff_two F hF) hT hF.continuous hG.continuous + cD cE (alpha r) (beta r) r] at he + rw [homogeneous_harmonic_radial_laplacian a k ha ha1 hk u Y eta hY hRay hEigen r hr, + homogeneous_harmonic_euler a k ha ha1 hk u Y hYs r] at he + exact he + +/-- The strong generator equation becomes the exact two-channel radial +system under every explicit spherical harmonic test. -/ +theorem homogeneous_generator_harmonic_channels (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q : HomogeneousY a k) (Q : ℝ → ℂ) + (hq : ∀ x : E, homogeneousPhysicalCLM a k ha ha1 hk q x = Q ‖x‖) + (w z : HomogeneousY a k × HomogeneousY a k) + (hw : HasDerivWithinAt (fun t : ℝ => + homogeneousComplexLinearizedStep a b k ha ha1 hk m q t.toNNReal w) z (Ici 0) 0) + (Y : E → ℂ) (eta : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(eta / (‖x‖ ^ 2 : ℝ)) * Y x) : + let P := fun f : HomogeneousY a k => fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + let A := fun f : HomogeneousY a k => harmonicAngularCoefficient Y (P f) + let D := fun r : ℝ => ((m + 1 : ℕ) : ℂ) * Q r ^ m * star (Q r) ^ m + let C := fun r : ℝ => (m : ℂ) * Q r ^ (m + 1) * star (Q r) ^ (m - 1) + ContDiff ℝ 2 (A w.1) ∧ ContDiff ℝ 2 (A w.2) ∧ ∀ r : ℝ, 0 < r → + (A z.1 r = Complex.I * (deriv (deriv (A w.1)) r + + ((11 / r : ℝ) : ℂ) * deriv (A w.1) r - eta / (r ^ 2 : ℝ) * A w.1 r) - + (r / 2 : ℝ) * deriv (A w.1) r + (-(a : ℂ) + Complex.I * (b : ℂ)) * A w.1 r - + Complex.I * (D r * A w.1 r + C r * A w.2 r)) ∧ + (A z.2 r = -Complex.I * (deriv (deriv (A w.2)) r + + ((11 / r : ℝ) : ℂ) * deriv (A w.2) r - eta / (r ^ 2 : ℝ) * A w.2 r) - + (r / 2 : ℝ) * deriv (A w.2) r + (-(a : ℂ) - Complex.I * (b : ℂ)) * A w.2 r + + Complex.I * (star (D r) * A w.2 r + star (C r) * A w.1 r)) := by + let P := fun f : HomogeneousY a k => fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + let A := fun f : HomogeneousY a k => harmonicAngularCoefficient Y (P f) + let D := fun r : ℝ => ((m + 1 : ℕ) : ℂ) * Q r ^ m * star (Q r) ^ m + let C := fun r : ℝ => (m : ℂ) * Q r ^ (m + 1) * star (Q r) ^ (m - 1) + have hYs := continuous_harmonicSphere Y hY + refine ⟨homogeneous_harmonic_contDiff a k ha ha1 hk w.1 Y hYs, + homogeneous_harmonic_contDiff a k ha ha1 hk w.2 Y hYs, ?_⟩ + obtain ⟨_, _, hpde⟩ := homogeneous_generator_classical_channels a b k ha ha1 hk m q w z hw + intro r hr + constructor + · have hs : ∀ x : E, P z.1 x = + Complex.I * Δ (P w.1) x + (-(1 / 2 : ℂ)) * fderiv ℝ (P w.1) x x + + (-(a : ℂ) + Complex.I * (b : ℂ) - Complex.I * D ‖x‖) * P w.1 x + + (-Complex.I * C ‖x‖) * P w.2 x := by + intro x + have hx := (hpde x).1 + dsimp only at hx + rw [hq] at hx + dsimp only [P, D, C] + rw [hx] + ring + have he := homogeneous_harmonic_project_equation a k ha ha1 hk w.1 w.2 (P z.1) + Y eta Complex.I (-(1 / 2 : ℂ)) + (fun t => -(a : ℂ) + Complex.I * (b : ℂ) - Complex.I * D t) + (fun t => -Complex.I * C t) hY hRay hEigen hs r hr + dsimp only [A, P, D, C] at he ⊢ + rw [he] + push_cast + ring + · have hs : ∀ x : E, P z.2 x = + -Complex.I * Δ (P w.2) x + (-(1 / 2 : ℂ)) * fderiv ℝ (P w.2) x x + + (-(a : ℂ) - Complex.I * (b : ℂ) + Complex.I * star (D ‖x‖)) * P w.2 x + + (Complex.I * star (C ‖x‖)) * P w.1 x := by + intro x + have hx := (hpde x).2 + dsimp only at hx + rw [hq] at hx + dsimp only [P, D, C] + rw [hx] + ring + have he := homogeneous_harmonic_project_equation a k ha ha1 hk w.2 w.1 (P z.2) + Y eta (-Complex.I) (-(1 / 2 : ℂ)) + (fun t => -(a : ℂ) - Complex.I * (b : ℂ) + Complex.I * star (D t)) + (fun t => Complex.I * star (C t)) hY hRay hEigen hs r hr + dsimp only [A, P, D, C] at he ⊢ + rw [he] + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicCompleteness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicCompleteness.lean new file mode 100644 index 0000000000000000000000000000000000000000..dafae9bcbf86902582f201413094c4cb5b9b5ee4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicCompleteness.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPolynomialHarmonic +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicWeakLaplacian + +namespace OAI + +/-! # A nonzero physical function has a nonzero spherical harmonic coefficient + +Polynomial density and harmonic decomposition give the exact completeness +consequence needed for the finite-dimensional spectral classification. +-/ + +open Set MeasureTheory +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem continuous_exists_nonzero_away_origin (F : E → ℂ) (hF : Continuous F) + (hne : F ≠ 0) : ∃ x : E, x ≠ 0 ∧ F x ≠ 0 := by + by_contra! h + apply hne + exact Continuous.ext_on (dense_compl_singleton (0 : E)) hF continuous_const + (fun x hx => h x (by simpa only [mem_compl_iff, mem_singleton_iff] using hx)) + +theorem physical_exists_nonzero_harmonic_coefficient (F : E → ℂ) + (hF : Continuous F) (hne : F ≠ 0) : + ∃ (p : PhysicalRealPolynomial) (ell : ℕ) (r : ℝ), + p.IsHomogeneous ell ∧ physicalPolynomialLaplacian p = 0 ∧ 0 < r ∧ + harmonicAngularCoefficient (physicalHarmonicExtension p ell) F r ≠ 0 := by + obtain ⟨x, hx, hFx⟩ := continuous_exists_nonzero_away_origin F hF hne + let r := ‖x‖ + have hr : 0 < r := norm_pos_iff.mpr hx + let f : C(PhysicalUnitSphere, ℂ) := + ⟨fun z => F (r • z.1), by fun_prop⟩ + have hf : f ≠ 0 := by + intro hf + let z : PhysicalUnitSphere := ⟨r⁻¹ • x, by + simp only [Metric.mem_sphere, dist_zero_right, norm_smul, norm_inv, Real.norm_eq_abs, + abs_of_pos hr, r, inv_mul_cancel₀ (norm_ne_zero_iff.mpr hx)]⟩ + have hz := DFunLike.congr_fun hf z + apply hFx + simpa only [f, z, ContinuousMap.coe_mk, smul_smul, mul_inv_cancel₀ hr.ne', one_smul, + ContinuousMap.zero_apply] using hz + obtain ⟨p, ell, hp, hDp, hm⟩ := physicalSphere_exists_harmonic_polynomial_moment f hf + refine ⟨p, ell, r, hp, hDp, hr, ?_⟩ + simpa only [harmonicAngularCoefficient, physicalHarmonicExtension_sphere, f, + ContinuousMap.coe_mk] using hm + +theorem physical_exists_spherical_eigenfunction (F : E → ℂ) + (hF : Continuous F) (hne : F ≠ 0) : + ∃ (ell : ℕ) (Y : E → ℂ) (r : ℝ), + (∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) ∧ + (∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) ∧ + (∀ x : E, x ≠ 0 → Δ Y x = + -(((ell : ℂ) * (ell + 10)) / (‖x‖ ^ 2 : ℝ)) * Y x) ∧ + 0 < r ∧ harmonicAngularCoefficient Y F r ≠ 0 := by + obtain ⟨p, ell, r, hp, hDp, hr, hm⟩ := + physical_exists_nonzero_harmonic_coefficient F hF hne + exact ⟨ell, physicalHarmonicExtension p ell, r, + physicalHarmonicExtension_contDiffAt p ell, physicalHarmonicExtension_ray p ell hp, + physicalHarmonicExtension_laplacian p ell hp hDp, hr, hm⟩ + +theorem physical_pair_exists_spherical_eigenfunction (F G : E → ℂ) + (hF : Continuous F) (hG : Continuous G) + (hne : ∃ x : E, F x ≠ 0 ∨ G x ≠ 0) : + ∃ (ell : ℕ) (Y : E → ℂ) (r : ℝ), + (∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) ∧ + (∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) ∧ + (∀ x : E, x ≠ 0 → Δ Y x = + -(((ell : ℂ) * (ell + 10)) / (‖x‖ ^ 2 : ℝ)) * Y x) ∧ + 0 < r ∧ (harmonicAngularCoefficient Y F r ≠ 0 ∨ + harmonicAngularCoefficient Y G r ≠ 0) := by + obtain ⟨x, hx⟩ := hne + rcases hx with hx | hx + · have hF0 : F ≠ 0 := fun h => hx (congrFun h x) + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_exists_spherical_eigenfunction F hF hF0 + exact ⟨ell, Y, r, hYs, hYr, hYe, hr, Or.inl hm⟩ + · have hG0 : G ≠ 0 := fun h => hx (congrFun h x) + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_exists_spherical_eigenfunction G hG hG0 + exact ⟨ell, Y, r, hYs, hYr, hYe, hr, Or.inr hm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicDecomposition.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicDecomposition.lean new file mode 100644 index 0000000000000000000000000000000000000000..8b7747a6d14db7802c8f49caf860073777247c41 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicDecomposition.lean @@ -0,0 +1,77 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPolynomialLaplacian +import Mathlib.Tactic.Positivity + +namespace OAI + +/-! # Algebraic harmonic decomposition + +A homogeneous polynomial is a homogeneous harmonic polynomial plus the +squared radius times a polynomial of two lower degrees. The preimage is +constructed by induction, using the positive radius-power coefficient. +-/ + +open MvPolynomial + +namespace DefocusingNLS + +theorem physicalPolynomialLaplacian_radius_preimage (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) (j : ℕ) : + ∃ q : PhysicalRealPolynomial, q.IsHomogeneous n ∧ + physicalPolynomialLaplacian (physicalRadiusPolynomial ^ (j + 1) * q) = + physicalRadiusPolynomial ^ j * p := by + induction n using Nat.strong_induction_on generalizing p j with + | h n ih => + let c : ℝ := (4 * (j + 1) * (n + j + 6) : ℕ) + have hc : c ≠ 0 := by dsimp only [c]; positivity + by_cases hn : n ≤ 1 + · refine ⟨c⁻¹ • p, (homogeneousSubmodule (Fin 12) ℝ n).smul_mem _ hp, ?_⟩ + rw [mul_smul_comm, map_smul, physicalPolynomialLaplacian_radius_pow_mul p n j hp, + physicalPolynomialLaplacian_low_degree p n hp hn, mul_zero, zero_add] + rw [← Nat.cast_smul_eq_nsmul ℝ] + change c⁻¹ • (c • (physicalRadiusPolynomial ^ j * p)) = _ + rw [smul_smul, inv_mul_cancel₀ hc, one_smul] + · obtain ⟨q₁, hq₁, hDq₁⟩ := ih (n - 2) (by omega) + (physicalPolynomialLaplacian p) (physicalPolynomialLaplacian_homogeneous p n hp) + (j + 1) + have hRq₁ : (physicalRadiusPolynomial * q₁).IsHomogeneous n := by + convert physicalRadiusPolynomial_homogeneous.mul hq₁ using 1 + omega + let q := c⁻¹ • (p - physicalRadiusPolynomial * q₁) + refine ⟨q, (homogeneousSubmodule (Fin 12) ℝ n).smul_mem _ (hp.sub hRq₁), ?_⟩ + have hqeq : physicalRadiusPolynomial ^ (j + 1) * q = c⁻¹ • + (physicalRadiusPolynomial ^ (j + 1) * p - + physicalRadiusPolynomial ^ (j + 2) * q₁) := by + dsimp only [q] + rw [mul_smul_comm, mul_sub] + congr 2 + rw [show j + 2 = (j + 1) + 1 by omega, pow_succ] + ring + rw [hqeq, map_smul, map_sub, physicalPolynomialLaplacian_radius_pow_mul p n j hp, + hDq₁] + rw [← Nat.cast_smul_eq_nsmul ℝ] + change c⁻¹ • (physicalRadiusPolynomial ^ (j + 1) * physicalPolynomialLaplacian p + + c • (physicalRadiusPolynomial ^ j * p) - + physicalRadiusPolynomial ^ (j + 1) * physicalPolynomialLaplacian p) = _ + rw [add_sub_cancel_left, smul_smul, inv_mul_cancel₀ hc, one_smul] + +theorem physicalPolynomial_harmonic_decomposition (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) : + ∃ h q : PhysicalRealPolynomial, h.IsHomogeneous n ∧ + physicalPolynomialLaplacian h = 0 ∧ q.IsHomogeneous (n - 2) ∧ + p = h + physicalRadiusPolynomial * q := by + by_cases hn : n ≤ 1 + · exact ⟨p, 0, hp, physicalPolynomialLaplacian_low_degree p n hp hn, + isHomogeneous_zero (Fin 12) ℝ (n - 2), by simp⟩ + obtain ⟨q, hq, hDq⟩ := physicalPolynomialLaplacian_radius_preimage + (physicalPolynomialLaplacian p) (n - 2) (physicalPolynomialLaplacian_homogeneous p n hp) 0 + simp only [zero_add, pow_one, pow_zero, one_mul] at hDq + have hRq : (physicalRadiusPolynomial * q).IsHomogeneous n := by + convert physicalRadiusPolynomial_homogeneous.mul hq using 1 + omega + refine ⟨p - physicalRadiusPolynomial * q, q, hp.sub hRq, ?_, hq, ?_⟩ + · rw [map_sub, hDq, sub_self] + · ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicEigenL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicEigenL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..882582f2c325484e4696302870af0e9a8bca6a69 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicEigenL2.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialSmoothL2 + +namespace OAI + +/-! # Weighted radial L² control of actual generator eigenmodes + +Smoothness is derived from the projected ODE, and the top radial derivative +is then identified with the completed Cartesian derivative contraction. +-/ + +open Set MeasureTheory Filter Topology +open scoped ContDiff Laplacian NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_eigenvector_harmonic_topL2 (a b : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (m : ℕ) + (q : HomogeneousY a N) (Q : ℝ → ℂ) + (hq : ∀ x : E, homogeneousPhysicalCLM a N ha ha1 hk q x = Q ‖x‖) + (w : HomogeneousY a N × HomogeneousY a N) (lam : ℂ) + (hw : ∀ t : ℝ≥0, homogeneousComplexLinearizedStep a b N ha ha1 hk m q t w = + Complex.exp (((t : ℝ) : ℂ) * lam) • w) + (Y : E → ℂ) (eta : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(eta / (‖x‖ ^ 2 : ℝ)) * Y x) + (R : ℝ) (hR : 0 ≤ R) (hQ : ContDiffOn ℝ ∞ Q (Ioi R)) : + let f := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk w.1 x) + let g := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk w.2 x) + ContDiffOn ℝ ∞ f (Ioi R) ∧ ContDiffOn ℝ ∞ g (Ioi R) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi R) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi R) := by + let f := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk w.1 x) + let g := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk w.2 x) + obtain ⟨hf, hg, heq⟩ := homogeneous_eigenvector_harmonic_channels + a b N ha ha1 hk m q Q hq w lam hw Y eta hY hRay hEigen + obtain ⟨hfs, hgs⟩ := harmonicRadialEigenpair_contDiffOn a b m Q f g eta lam hf hg heq R hR hQ + have hYs := continuous_harmonicSphere Y hY + have hh := memLp_star_harmonicSphere Y hYs + refine ⟨hfs, hgs, ?_, ?_⟩ + · dsimp only [f] at hfs + rw [← homogeneous_harmonic_projection a N ha ha1 hk w.1 Y] at hfs ⊢ + exact homogeneousAngularProjection_iteratedDeriv_integrable a N ha ha1 hk + (fun z => star (Y z.1)) hh w.1 R hR hfs + · dsimp only [g] at hgs + rw [← homogeneous_harmonic_projection a N ha ha1 hk w.2 Y] at hgs ⊢ + exact homogeneousAngularProjection_iteratedDeriv_integrable a N ha ha1 hk + (fun z => star (Y z.1)) hh w.2 R hR hgs + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicEigenmode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicEigenmode.lean new file mode 100644 index 0000000000000000000000000000000000000000..13c653286ddc57bda581d3968c40b819dc20fb66 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicEigenmode.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicChannels + +namespace OAI + +/-! # The radial equation of an actual semigroup eigenvector -/ + +open Set +open scoped ContDiff Laplacian NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +def IsHarmonicRadialEigenpair (a b : ℝ) (m : ℕ) (Q : ℝ → ℂ) + (eta lam : ℂ) (f g : ℝ → ℂ) : Prop := + ∀ r : ℝ, 0 < r → + (lam * f r = Complex.I * (deriv (deriv f) r + ((11 / r : ℝ) : ℂ) * deriv f r - + eta / (r ^ 2 : ℝ) * f r) - (r / 2 : ℝ) * deriv f r + + (-(a : ℂ) + Complex.I * (b : ℂ)) * f r - Complex.I * + ((((m + 1 : ℕ) : ℂ) * Q r ^ m * star (Q r) ^ m) * f r + + ((m : ℂ) * Q r ^ (m + 1) * star (Q r) ^ (m - 1)) * g r)) ∧ + (lam * g r = -Complex.I * (deriv (deriv g) r + ((11 / r : ℝ) : ℂ) * deriv g r - + eta / (r ^ 2 : ℝ) * g r) - (r / 2 : ℝ) * deriv g r + + (-(a : ℂ) - Complex.I * (b : ℂ)) * g r + Complex.I * + (star (((m + 1 : ℕ) : ℂ) * Q r ^ m * star (Q r) ^ m) * g r + + star ((m : ℂ) * Q r ^ (m + 1) * star (Q r) ^ (m - 1)) * f r)) + +theorem homogeneous_eigenvector_harmonic_channels (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q : HomogeneousY a k) (Q : ℝ → ℂ) + (hq : ∀ x : E, homogeneousPhysicalCLM a k ha ha1 hk q x = Q ‖x‖) + (w : HomogeneousY a k × HomogeneousY a k) (lam : ℂ) + (hw : ∀ t : ℝ≥0, homogeneousComplexLinearizedStep a b k ha ha1 hk m q t w = + Complex.exp (((t : ℝ) : ℂ) * lam) • w) + (Y : E → ℂ) (eta : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(eta / (‖x‖ ^ 2 : ℝ)) * Y x) : + let f := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk w.1 x) + let g := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk w.2 x) + ContDiff ℝ 2 f ∧ ContDiff ℝ 2 g ∧ IsHarmonicRadialEigenpair a b m Q eta lam f g := by + have hd := hasDerivWithinAt_semigroup_eigenvector + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) lam w hw + obtain ⟨hf, hg, he⟩ := homogeneous_generator_harmonic_channels + a b k ha ha1 hk m q Q hq w (lam • w) hd Y eta hY hRay hEigen + refine ⟨hf, hg, ?_⟩ + intro r hr + have h := he r hr + simpa only [Prod.smul_fst, Prod.smul_snd, homogeneous_harmonic_smul] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicFunctional.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicFunctional.lean new file mode 100644 index 0000000000000000000000000000000000000000..f437865fd6eb5b0bcbac272761c8ece72e3f8aef --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicFunctional.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicTransport +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicCompleteness + +namespace OAI + +/-! # Linear harmonic observations and their separating property -/ + +open Set MeasureTheory + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousHarmonicMoment (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (Y : E → ℂ) (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) (r : ℝ) : + HomogeneousY a k →ₗ[ℂ] ℂ where + toFun u := harmonicAngularCoefficient Y (homogeneousPhysicalCLM a k ha ha1 hk u) r + map_add' u v := by + change (∫ z : PhysicalUnitSphere, Y z.1 * + (homogeneousPhysicalCLM a k ha ha1 hk (u + v)) (r • z.1) ∂physicalSphereMeasure) = _ + simp only [map_add, ZeroAtInftyContinuousMap.add_apply, mul_add] + exact integral_add + (integrable_harmonicSphere_product Y _ hY + (homogeneousPhysicalCLM a k ha ha1 hk u).continuous r) + (integrable_harmonicSphere_product Y _ hY + (homogeneousPhysicalCLM a k ha ha1 hk v).continuous r) + map_smul' c u := homogeneous_harmonic_smul a k ha ha1 hk u Y c r + +noncomputable def homogeneousPairHarmonicMoment (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (Y : E → ℂ) (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) + (first : Bool) (r : ℝ) : (HomogeneousY a k × HomogeneousY a k) →ₗ[ℂ] ℂ := + (homogeneousHarmonicMoment a k ha ha1 hk Y hY r).comp + (if first then LinearMap.fst ℂ _ _ else LinearMap.snd ℂ _ _) + +theorem physical_zero_of_harmonic_coefficients (F : E → ℂ) (hF : Continuous F) + (h : ∀ (p : PhysicalRealPolynomial) (ell : ℕ), p.IsHomogeneous ell → + physicalPolynomialLaplacian p = 0 → ∀ r : ℝ, 0 < r → + harmonicAngularCoefficient (physicalHarmonicExtension p ell) F r = 0) : F = 0 := by + by_contra hne + obtain ⟨p, ell, r, hp, hDp, hr, hm⟩ := physical_exists_nonzero_harmonic_coefficient F hF hne + exact hm (h p ell hp hDp r hr) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicLowerEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicLowerEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..2856150f08edcd09821e75c4d6945f7ab2782a60 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicLowerEnergy.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLowerOrder +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicPairEnergy + +namespace OAI + +/-! A smooth harmonic channel of a high-order vector has every intermediate top energy. -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_harmonic_pair_lower_topL2 (a : ℝ) (N J : ℕ) + (ha : 0 homogeneousPhysicalCLM a N ha ha1 hk u.1 x)) (Ioi 0)) + (hg : ContDiffOn ℝ ∞ + (harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk u.2 x)) (Ioi 0)) : + let A := fun f : HomogeneousY a N => + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk f x) + IntegrableOn (fun r => r^11*‖iteratedDeriv J (A u.1) r‖^2) (Ioi 0) ∧ + IntegrableOn (fun r => r^11*‖iteratedDeriv J (A u.2) r‖^2) (Ioi 0) := by + obtain ⟨v,hv⟩ := exists_homogeneousLowerOrder a J N ha ha1 hJ (by exact_mod_cast hJN) u.1 + obtain ⟨w,hw⟩ := exists_homogeneousLowerOrder a J N ha ha1 hJ (by exact_mod_cast hJN) u.2 + have hfv : (fun x => homogeneousPhysicalCLM a J ha ha1 hJ v x) = + (fun x => homogeneousPhysicalCLM a N ha ha1 hk u.1 x) := funext hv + have hgw : (fun x => homogeneousPhysicalCLM a J ha ha1 hJ w x) = + (fun x => homogeneousPhysicalCLM a N ha ha1 hk u.2 x) := funext hw + have hf' := hf + have hg' := hg + rw [← hfv] at hf' + rw [← hgw] at hg' + have h := homogeneous_harmonic_pair_topL2 a J ha ha1 hJ (v,w) Y hY hf' hg' + dsimp only at h ⊢ + simpa only [hfv,hgw] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicPairEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicPairEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..193433a35e998c5965f843b02ad81ffa3c2abbb8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicPairEnergy.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicEigenL2 +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicBounded + +namespace OAI + +/-! The actual physical realization supplies boundedness and top energy for a smooth channel pair. -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_harmonic_pair_bounded (a : ℝ) (N : ℕ) + (ha : 0 + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk f x) + ∃ M : ℝ, 0≤M ∧ ∀ r, ‖(A u.1 r,A u.2 r)‖≤M := by + intro A + obtain ⟨Mf,hMf,hf⟩ := homogeneous_harmonic_channel_bounded a N ha ha1 hk u.1 Y hY + obtain ⟨Mg,hMg,hg⟩ := homogeneous_harmonic_channel_bounded a N ha ha1 hk u.2 Y hY + refine ⟨max Mf Mg,hMf.trans (le_max_left _ _),?_⟩ + intro r + rw [Prod.norm_def] + exact max_le_max (hf r) (hg r) + +theorem homogeneous_harmonic_pair_topL2 (a : ℝ) (N : ℕ) + (ha : 0 homogeneousPhysicalCLM a N ha ha1 hk u.1 x)) (Ioi 0)) + (hg : ContDiffOn ℝ ∞ + (harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk u.2 x)) (Ioi 0)) : + let A := fun f : HomogeneousY a N => + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a N ha ha1 hk f x) + IntegrableOn (fun r => r^11*‖iteratedDeriv N (A u.1) r‖^2) (Ioi 0) ∧ + IntegrableOn (fun r => r^11*‖iteratedDeriv N (A u.2) r‖^2) (Ioi 0) := by + intro A + have hh := memLp_star_harmonicSphere Y (continuous_harmonicSphere Y hY) + constructor + · dsimp only [A] + rw [← homogeneous_harmonic_projection a N ha ha1 hk u.1 Y] at hf ⊢ + exact homogeneousAngularProjection_iteratedDeriv_integrable a N ha ha1 hk + (fun z => star (Y z.1)) hh u.1 0 le_rfl hf + · dsimp only [A] + rw [← homogeneous_harmonic_projection a N ha ha1 hk u.2 Y] at hg ⊢ + exact homogeneousAngularProjection_iteratedDeriv_integrable a N ha ha1 hk + (fun z => star (Y z.1)) hh u.2 0 le_rfl hg + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicRadialEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicRadialEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..037653a6d3f5f3a40bcb9ae2b63a479c403e80aa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicRadialEquation.lean @@ -0,0 +1,211 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicAnnularTesting +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialLaplacianGreen +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAngularProjection +import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff + +namespace OAI + +/-! # The classical radial equation for an angular projection + +The angular eigenfunction and its degree-zero extension are explicit data. +The radial differential equation follows from Cartesian Green's identity; +no completeness or spectral decomposition assumption is used. +-/ + +open Set Filter MeasureTheory +open scoped ContDiff SchwartzMap Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem harmonicAngularCoefficient_continuous (Y F : E → ℂ) + (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) (hF : Continuous F) : + Continuous (harmonicAngularCoefficient Y F) := by + have h : Continuous (fun p : ℝ × PhysicalUnitSphere => Y p.2.1 * F (p.1 • p.2.1)) := + (hY.comp continuous_snd).mul + (hF.comp (continuous_fst.smul continuous_snd.subtype_val)) + change Continuous (fun r : ℝ => ∫ z : PhysicalUnitSphere, + Y z.1 * F (r • z.1) ∂physicalSphereMeasure) + simpa only [Measure.restrict_univ] using + (continuous_parametric_integral_of_continuous (μ := physicalSphereMeasure) + (f := fun (r : ℝ) (z : PhysicalUnitSphere) => Y z.1 * F (r • z.1)) h isCompact_univ) + +private theorem test_and_derivatives_zero_nonpositive (φ : 𝓢(ℝ, ℂ)) + (hs : tsupport φ ⊆ Ioi (0 : ℝ)) (r : ℝ) (hr : r ≤ 0) : + φ r = 0 ∧ deriv φ r = 0 ∧ deriv (deriv φ) r = 0 := by + let φ' := SchwartzMap.derivCLM ℂ ℂ φ + let φ'' := SchwartzMap.derivCLM ℂ ℂ φ' + have hz : r ∉ tsupport φ := fun h => (not_lt_of_ge hr) (hs h) + have hz' : r ∉ tsupport φ' := fun h => hz (SchwartzMap.tsupport_derivCLM_subset ℂ φ h) + have hz'' : r ∉ tsupport φ'' := fun h => hz' (SchwartzMap.tsupport_derivCLM_subset ℂ φ' h) + exact ⟨image_eq_zero_of_notMem_tsupport hz, + image_eq_zero_of_notMem_tsupport hz', image_eq_zero_of_notMem_tsupport hz''⟩ + +theorem harmonicAngularCoefficient_weighted_laplacian + (Y F : E → ℂ) (lam : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(lam / (‖x‖ ^ 2 : ℝ)) * Y x) + (hF : ContDiff ℝ 2 F) + (φ : 𝓢(ℝ, ℂ)) (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) : + (∫ r : ℝ, φ r * ((r : ℂ) ^ 11 * harmonicAngularCoefficient Y (Δ F) r)) = + ∫ r : ℝ, ((r : ℂ) ^ 11 * deriv (deriv φ) r + + 11 * (r : ℂ) ^ 10 * deriv φ r - lam * (r : ℂ) ^ 9 * φ r) * + harmonicAngularCoefficient Y F r := by + have hw := harmonicAngularCoefficient_annular_laplacian Y F lam hY hRay hEigen hF φ hc hs + have hleft : (∫ r : PhysicalPositiveRadius, φ r * harmonicAngularCoefficient Y (Δ F) r + ∂physicalRadiusMeasure) = + ∫ r : ℝ, φ r * ((r : ℂ) ^ 11 * harmonicAngularCoefficient Y (Δ F) r) := by + rw [integral_physicalRadiusMeasure + (fun r : ℝ => φ r * harmonicAngularCoefficient Y (Δ F) r)] + calc + _ = ∫ r in Ioi (0 : ℝ), φ r * ((r : ℂ) ^ 11 * + harmonicAngularCoefficient Y (Δ F) r) := by + apply integral_congr_ae + filter_upwards [] with r + simp only [Complex.real_smul, Complex.ofReal_pow] + ring + _ = _ := integral_Ioi_eq_of_zero_nonpositive _ (fun r hr => by + rw [(test_and_derivatives_zero_nonpositive φ hs r hr).1, zero_mul]) + have hright : (∫ r : PhysicalPositiveRadius, + (deriv (deriv φ) r + ((11 / r.1 : ℝ) : ℂ) * deriv φ r - + lam / (r.1 ^ 2 : ℝ) * φ r) * harmonicAngularCoefficient Y F r + ∂physicalRadiusMeasure) = + ∫ r : ℝ, ((r : ℂ) ^ 11 * deriv (deriv φ) r + + 11 * (r : ℂ) ^ 10 * deriv φ r - lam * (r : ℂ) ^ 9 * φ r) * + harmonicAngularCoefficient Y F r := by + rw [integral_physicalRadiusMeasure (fun r : ℝ => + (deriv (deriv φ) r + ((11 / r : ℝ) : ℂ) * deriv φ r - + lam / (r ^ 2 : ℝ) * φ r) * harmonicAngularCoefficient Y F r)] + calc + _ = ∫ r in Ioi (0 : ℝ), ((r : ℂ) ^ 11 * deriv (deriv φ) r + + 11 * (r : ℂ) ^ 10 * deriv φ r - lam * (r : ℂ) ^ 9 * φ r) * + harmonicAngularCoefficient Y F r := by + apply integral_congr_ae + filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr (ne_of_gt hr) + simp only [Complex.real_smul, Complex.ofReal_pow, Complex.ofReal_div, Complex.ofReal_ofNat] + field_simp [hrC] + _ = _ := integral_Ioi_eq_of_zero_nonpositive _ (fun r hr => by + obtain ⟨h0, h1, h2⟩ := test_and_derivatives_zero_nonpositive φ hs r hr + simp only [h0, h1, h2, mul_zero, add_zero, sub_zero, zero_mul]) + exact hleft.symm.trans (hw.trans hright) + +private theorem compact_positive_test_integrable (G : ℝ → ℂ) + (hG : ContinuousOn G (Ioi (0 : ℝ))) (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) : + Integrable (fun r => φ r * G r) := by + apply (integrableOn_iff_integrable_of_support_subset + ((Function.support_mul_subset_left _ _).trans (subset_tsupport φ))).mp + exact IntegrableOn.continuousOn_mul φ.continuous.continuousOn + (hG.locallyIntegrableOn measurableSet_Ioi |>.integrableOn_compact_subset hs hc) hc + +theorem radial_laplacian_eq_of_weighted_tests (A B : ℝ → ℂ) (lam : ℂ) + (hA : ContDiff ℝ 2 A) (hB : ContinuousOn B (Ioi (0 : ℝ))) + (htest : ∀ φ : 𝓢(ℝ, ℂ), HasCompactSupport φ → tsupport φ ⊆ Ioi (0 : ℝ) → + (∫ r : ℝ, φ r * ((r : ℂ) ^ 11 * B r)) = + ∫ r : ℝ, ((r : ℂ) ^ 11 * deriv (deriv φ) r + + 11 * (r : ℂ) ^ 10 * deriv φ r - lam * (r : ℂ) ^ 9 * φ r) * A r) : + ∀ r : ℝ, 0 < r → B r = deriv (deriv A) r + + ((11 / r : ℝ) : ℂ) * deriv A r - lam / (r ^ 2 : ℝ) * A r := by + let L : ℝ → ℂ := fun r => (r : ℂ) ^ 11 * deriv (deriv A) r + + 11 * (r : ℂ) ^ 10 * deriv A r - lam * (r : ℂ) ^ 9 * A r + let G : ℝ → ℂ := fun r => (r : ℂ) ^ 11 * B r + let R : ℝ → ℂ := fun r => G r - L r + have hLc : Continuous L := + (((Complex.continuous_ofReal.pow 11).mul + ((hA.deriv' : ContDiff ℝ 1 (deriv A)).continuous_deriv (by norm_num))).add + ((continuous_const.mul (Complex.continuous_ofReal.pow 10)).mul + (hA.continuous_deriv (by norm_num)))).sub + ((continuous_const.mul (Complex.continuous_ofReal.pow 9)).mul hA.continuous) + have hGc : ContinuousOn G (Ioi (0 : ℝ)) := + (Complex.continuous_ofReal.pow 11).continuousOn.mul hB + have hRc : ContinuousOn R (Ioi (0 : ℝ)) := hGc.sub hLc.continuousOn + have heq := isOpen_Ioi.ae_eq_zero_of_integral_contDiff_smul_eq_zero + (hRc.locallyIntegrableOn measurableSet_Ioi) (by + intro φ hφ hc hs + have hcc : HasCompactSupport (fun r => (φ r : ℂ)) := + hc.comp_left (g := Complex.ofReal) (by simp) + let ψ : 𝓢(ℝ, ℂ) := hcc.toSchwartzMap (Complex.ofRealCLM.contDiff.comp hφ) + have hψc : HasCompactSupport ψ := hcc + have hψs : tsupport ψ ⊆ Ioi (0 : ℝ) := by + change closure (Function.support (fun r => (φ r : ℂ))) ⊆ Ioi (0 : ℝ) + have he : Function.support (fun r => (φ r : ℂ)) = Function.support φ := by + ext r + simp + rwa [he] + have hiG := compact_positive_test_integrable G hGc ψ hψc hψs + have hiL := compact_positive_test_integrable L hLc.continuousOn ψ hψc hψs + have hh : (∫ r : ℝ, ψ r * G r) = ∫ r : ℝ, ψ r * L r := + (htest ψ hψc hψs).trans (radial_laplacian_green ψ hψc A hA lam) + calc + (∫ r : ℝ, φ r • R r) = ∫ r : ℝ, ψ r * G r - ψ r * L r := by + apply integral_congr_ae + filter_upwards [] with r + change φ r • (G r - L r) = (φ r : ℂ) * G r - (φ r : ℂ) * L r + rw [Complex.real_smul, mul_sub] + _ = (∫ r : ℝ, ψ r * G r) - ∫ r : ℝ, ψ r * L r := integral_sub hiG hiL + _ = 0 := sub_eq_zero.mpr hh) + have hz : EqOn R (fun _ => (0 : ℂ)) (Ioi (0 : ℝ)) := + Measure.eqOn_open_of_ae_eq ((ae_restrict_iff' measurableSet_Ioi).mpr heq) + isOpen_Ioi hRc continuousOn_const + intro r hr + have hL : (r : ℂ) ^ 11 * B r = L r := sub_eq_zero.mp (hz hr) + apply mul_left_cancel₀ (pow_ne_zero 11 (Complex.ofReal_ne_zero.mpr hr.ne')) + rw [hL] + dsimp only [L] + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr.ne' + push_cast + field_simp [hrC] + +/-- The actual homogeneous-space physical realization satisfies the +classical radial Laplacian identity in every explicit harmonic channel. -/ +theorem homogeneous_harmonic_radial_laplacian + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : HomogeneousY a k) (Y : E → ℂ) (lam : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(lam / (‖x‖ ^ 2 : ℝ)) * Y x) + (r : ℝ) (hr : 0 < r) : + harmonicAngularCoefficient Y (Δ (fun x : E => homogeneousPhysicalCLM a k ha ha1 hk u x)) r = + deriv (deriv (harmonicAngularCoefficient Y (homogeneousPhysicalCLM a k ha ha1 hk u))) r + + ((11 / r : ℝ) : ℂ) * + deriv (harmonicAngularCoefficient Y (homogeneousPhysicalCLM a k ha ha1 hk u)) r - + lam / (r ^ 2 : ℝ) * + harmonicAngularCoefficient Y (homogeneousPhysicalCLM a k ha ha1 hk u) r := by + let F : E → ℂ := homogeneousPhysicalCLM a k ha ha1 hk u + have hF : ContDiff ℝ 2 F := contDiff_homogeneousPhysical a k ha ha1 hk u + have hYs : Continuous (fun z : PhysicalUnitSphere => Y z.1) := by + apply continuous_iff_continuousAt.mpr + intro z + have hz : z.1 ≠ 0 := by + have hn : ‖z.1‖ = 1 := by + simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + intro he + simp [he] at hn + exact (hY z.1 hz).continuousAt.comp continuous_subtype_val.continuousAt + let h : PhysicalUnitSphere → ℂ := fun z => star (Y z.1) + have hh : MemLp h 2 physicalSphereMeasure := by + obtain ⟨B, hB⟩ := isCompact_univ.exists_bound_of_continuousOn hYs.star.continuousOn + exact MemLp.of_bound hYs.star.aestronglyMeasurable B + (Eventually.of_forall fun z => hB z (mem_univ z)) + have hA : ContDiff ℝ 2 (harmonicAngularCoefficient Y F) := by + have he : homogeneousAngularProjection a k ha ha1 hk h u = + harmonicAngularCoefficient Y F := by + funext t + apply integral_congr_ae + filter_upwards [] with z + simp only [h, RCLike.inner_apply', starRingEnd_apply, star_star, F] + rw [← he] + exact contDiff_homogeneousAngularProjection a k ha ha1 hk h hh u + apply radial_laplacian_eq_of_weighted_tests + (harmonicAngularCoefficient Y F) (harmonicAngularCoefficient Y (Δ F)) lam hA + (harmonicAngularCoefficient_continuous Y (Δ F) hYs + (continuous_laplacian_of_contDiff_two F hF)).continuousOn + (fun φ hc hs => harmonicAngularCoefficient_weighted_laplacian + Y F lam hY hRay hEigen hF φ hc hs) r hr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicSeparation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicSeparation.lean new file mode 100644 index 0000000000000000000000000000000000000000..021018b4c6032781f844c058ead71426405e1aaa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicSeparation.lean @@ -0,0 +1,91 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicTrace +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicFunctional + +namespace OAI + +/-! # A scalar trace of the allowed angular degree separates a contour eigenspace -/ + +open Set MeasureTheory +open scoped ContDiff Laplacian +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_contour_harmonic_trace_separates (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (he : G w = lam • w) + (ell₀ : ℕ) + (hclass : ∀ (ell : ℕ), Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ) * (ell + 10)) lam) → ell = ell₀) + (hline : RadialModeLine n z ell₀ 9 lam) + (u₀ : RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell₀ : ℂ) * (ell₀ + 10)) lam) + (first : Bool) (r₀ : ℝ) (hr₀ : 0 < r₀) (hu₀ : radialModeTrace u₀ first r₀ ≠ 0) + (htrace : ∀ (p : PhysicalRealPolynomial), p.IsHomogeneous ell₀ → + physicalPolynomialLaplacian p = 0 → + homogeneousPairHarmonicMoment (radialShootingA n) N ha ha1 hk + (physicalHarmonicExtension p ell₀) + (continuous_harmonicSphere _ (physicalHarmonicExtension_contDiffAt p ell₀)) first r₀ w = 0) : + w = 0 := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x + let H : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x + have hall (p : PhysicalRealPolynomial) (ell : ℕ) (hp : p.IsHomogeneous ell) + (hDp : physicalPolynomialLaplacian p = 0) : + ∀ r : ℝ, 0 < r → + harmonicAngularCoefficient (physicalHarmonicExtension p ell) F r = 0 ∧ + harmonicAngularCoefficient (physicalHarmonicExtension p ell) H r = 0 := by + apply homogeneous_contour_harmonic_zero_of_exclusion n z hX hz N ha ha1 hk q hq + P hcomm hfin G hG lam w he ell (physicalHarmonicExtension p ell) + (physicalHarmonicExtension_contDiffAt p ell) + (physicalHarmonicExtension_ray p ell hp) + (physicalHarmonicExtension_laplacian p ell hp hDp) + intro u hu hv + have hel := hclass ell ⟨u⟩ + subst ell + have ht := htrace p hp hDp + have hne := hline.trace_ne_zero u₀ u first r₀ hr₀ hu₀ + apply hne + cases first + · change u.second r₀ = 0 + rw [hv] + exact ht + · change u.first r₀ = 0 + rw [hu] + exact ht + have hF : F = 0 := physical_zero_of_harmonic_coefficients F + (homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk _).continuous + (fun p ell hp hd r hr => (hall p ell hp hd r hr).1) + have hH : H = 0 := physical_zero_of_harmonic_coefficients H + (homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk _).continuous + (fun p ell hp hd r hr => (hall p ell hp hd r hr).2) + by_contra hw + have hne := homogeneous_physical_pair_nonzero (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) + (fun h => hw (Subtype.ext h)) + obtain ⟨x, hx | hx⟩ := hne + · exact hx (congrFun hF x) + · exact hx (congrFun hH x) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicSmoothness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicSmoothness.lean new file mode 100644 index 0000000000000000000000000000000000000000..96c3e9b68a8d57e4595bbcbc7ec38ce607dfff9c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicSmoothness.lean @@ -0,0 +1,119 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicEigenmode +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalCoupling +import Mathlib.Analysis.ODE.PicardLindelof + +namespace OAI + +/-! # Smooth exterior regularity of projected eigenfunctions + +The C² angular coefficients satisfy a smooth first-order system away from +zero. The ODE regularity theorem supplies all higher derivatives. +-/ + +open Set +open scoped ContDiff + +namespace DefocusingNLS + +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable def harmonicRadialState (f g : ℝ → ℂ) (r : ℝ) : E₄ := + ((f r, deriv f r), (g r, deriv g r)) + +theorem harmonicRadialState_hasDerivAt (a b : ℝ) (m : ℕ) (Q f g : ℝ → ℂ) + (eta lam : ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (heq : IsHarmonicRadialEigenpair a b m Q eta lam f g) (r : ℝ) (hr : 0 < r) : + HasDerivAt (harmonicRadialState f g) + (spectralPhysicalCircularField (-2 * (a : ℂ) + 2 * Complex.I * (b : ℂ) - 2 * lam) + (-2 * (a : ℂ) - 2 * Complex.I * (b : ℂ) - 2 * lam) eta m (Q r) r + (harmonicRadialState f g r)) r := by + have hfd := ((hf.deriv' : ContDiff ℝ 1 (deriv f)).differentiable one_ne_zero r).hasDerivAt + have hgd := ((hg.deriv' : ContDiff ℝ 1 (deriv g)).differentiable one_ne_zero r).hasDerivAt + have hd := (((hf.differentiable (by norm_num) r).hasDerivAt.prodMk hfd).prodMk + ((hg.differentiable (by norm_num) r).hasDerivAt.prodMk hgd)) + apply hd.congr_deriv + obtain ⟨hp, hm⟩ := heq r hr + apply Prod.ext <;> apply Prod.ext + · rfl + · dsimp only [harmonicRadialState, spectralPhysicalCircularField, + spectralDiagonalCoefficient, spectralCrossCoefficient] + push_cast at hp ⊢ + linear_combination (norm := (ring_nf; simp only [Complex.I_sq]; ring)) Complex.I * hp + · rfl + · dsimp only [harmonicRadialState, spectralPhysicalCircularField, + spectralDiagonalCoefficient, spectralCrossCoefficient] + push_cast at hm ⊢ + linear_combination (norm := (ring_nf; simp only [Complex.I_sq]; ring)) -Complex.I * hm + +theorem spectralPhysicalCircularField_contDiffOn (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (s : Set ℝ) (hQ : ContDiffOn ℝ ∞ Q s) + (hs : ∀ r ∈ s, r ≠ 0) : + ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => + spectralPhysicalCircularField νp νm eta m (Q p.1) p.1 p.2) (s ×ˢ univ) := by + have hr : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => (p.1 : ℂ)) (s ×ˢ univ) := + Complex.ofRealCLM.contDiff.comp_contDiffOn contDiff_fst.contDiffOn + have hq : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => Q p.1) (s ×ˢ univ) := + hQ.comp contDiff_fst.contDiffOn (fun _ hp => hp.1) + have hr0 (p : ℝ × E₄) (hp : p ∈ s ×ˢ univ) : (p.1 : ℂ) ≠ 0 := + Complex.ofReal_ne_zero.mpr (hs p.1 hp.1) + have h11 : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => 11 / (p.1 : ℂ)) (s ×ˢ univ) := by + simpa only [div_eq_mul_inv] using + (contDiffOn_const.mul (hr.inv hr0) : ContDiffOn ℝ ∞ + (fun p : ℝ × E₄ => 11 * (p.1 : ℂ)⁻¹) (s ×ˢ univ)) + have hη : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => eta / (p.1 : ℂ) ^ 2) (s ×ˢ univ) := by + simpa only [div_eq_mul_inv] using + (contDiffOn_const.mul ((hr.pow 2).inv (fun p hp => pow_ne_zero 2 (hr0 p hp))) : + ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => eta * ((p.1 : ℂ) ^ 2)⁻¹) (s ×ˢ univ)) + have hI : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => Complex.I * (p.1 : ℂ) / 2) + (s ×ˢ univ) := (contDiffOn_const.mul hr).div_const (2 : ℂ) + have hqs : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => star (Q p.1)) (s ×ˢ univ) := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp_contDiffOn hq + have hD := ((contDiffOn_const.mul (hq.pow m)).mul (hqs.pow m) : + ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => + ((m + 1 : ℕ) : ℂ) * Q p.1 ^ m * star (Q p.1) ^ m) (s ×ˢ univ)) + have hC := ((contDiffOn_const.mul (hq.pow (m + 1))).mul (hqs.pow (m - 1)) : + ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => + (m : ℂ) * Q p.1 ^ (m + 1) * star (Q p.1) ^ (m - 1)) (s ×ˢ univ)) + have hDs := (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp_contDiffOn hD + have hCs := (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp_contDiffOn hC + have hf₀ : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => p.2.1.1) (s ×ˢ univ) := by fun_prop + have hf₁ : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => p.2.1.2) (s ×ˢ univ) := by fun_prop + have hg₀ : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => p.2.2.1) (s ×ˢ univ) := by fun_prop + have hg₁ : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => p.2.2.2) (s ×ˢ univ) := by fun_prop + exact (hf₁.prodMk ((((h11.add hI).neg.mul hf₁).sub + ((contDiffOn_const.sub hη).mul hf₀)).add (hD.mul hf₀) |>.add (hC.mul hg₀))).prodMk + (hg₁.prodMk ((((h11.sub hI).neg.mul hg₁).sub + ((contDiffOn_const.sub hη).mul hg₀)).add (hDs.mul hg₀) |>.add (hCs.mul hf₀))) + +theorem harmonicRadialEigenpair_contDiffOn (a b : ℝ) (m : ℕ) (Q f g : ℝ → ℂ) + (eta lam : ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (heq : IsHarmonicRadialEigenpair a b m Q eta lam f g) + (R : ℝ) (hR : 0 ≤ R) (hQ : ContDiffOn ℝ ∞ Q (Ioi R)) : + ContDiffOn ℝ ∞ f (Ioi R) ∧ ContDiffOn ℝ ∞ g (Ioi R) := by + have hstate : ContDiffOn ℝ ∞ (harmonicRadialState f g) (Ioi R) := by + intro r hr + simp only [mem_Ioi] at hr + let α := (R + r) / 2 + let β := r + 1 + have hα : R < α := by dsimp only [α]; linarith + have hαr : α < r := by dsimp only [α]; linarith + have hrβ : r < β := by dsimp only [β]; linarith + have hsub : Icc α β ⊆ Ioi R := fun t ht => hα.trans_le ht.1 + have hv : ContDiffOn ℝ ∞ (harmonicRadialState f g) (Icc α β) := by + apply ODE.contDiffOn_enat_Icc_of_hasDerivWithinAt + (f := fun t U => spectralPhysicalCircularField + (-2 * (a : ℂ) + 2 * Complex.I * (b : ℂ) - 2 * lam) + (-2 * (a : ℂ) - 2 * Complex.I * (b : ℂ) - 2 * lam) eta m (Q t) t U) + (u := (univ : Set E₄)) + · exact spectralPhysicalCircularField_contDiffOn _ _ eta m Q _ (hQ.mono hsub) + (fun t ht => (hR.trans_lt (hsub ht)).ne') + · intro t ht + exact (harmonicRadialState_hasDerivAt a b m Q f g eta lam hf hg heq t + (hR.trans_lt (hsub ht))).hasDerivWithinAt + · exact fun _ _ => mem_univ _ + exact (hv.contDiffAt (Icc_mem_nhds hαr hrβ)).contDiffWithinAt + exact ⟨hstate.fst.fst, hstate.snd.fst⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTestCalculus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTestCalculus.lean new file mode 100644 index 0000000000000000000000000000000000000000..c8798758043805e67aaeb9a871a4f99ef2b11d5a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTestCalculus.lean @@ -0,0 +1,126 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianCalculus +import Mathlib.Analysis.Calculus.FDeriv.Mul + +namespace OAI + +/-! # Cartesian calculus for a radial test times a spherical harmonic + +The degree-zero extension of the spherical harmonic is kept explicit: +its Euler derivative is zero and its Cartesian Laplacian is the spherical +eigenvalue divided by the squared radius. All formulas are local away from zero. +-/ + +open Set Filter Topology +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem second_directional_complex_mul_at (f g : E → ℂ) (x v : E) + (hf : ContDiffAt ℝ 2 f x) (hg : ContDiffAt ℝ 2 g x) : + iteratedFDeriv ℝ 2 (fun y => f y * g y) x ![v, v] = + f x * iteratedFDeriv ℝ 2 g x ![v, v] + + g x * iteratedFDeriv ℝ 2 f x ![v, v] + + 2 * (fderiv ℝ f x v * fderiv ℝ g x v) := by + have hdf : DifferentiableAt ℝ (fderiv ℝ f) x := + (hf.fderiv_right (m := 1) (by norm_num)).differentiableAt one_ne_zero + have hdg : DifferentiableAt ℝ (fderiv ℝ g) x := + (hg.fderiv_right (m := 1) (by norm_num)).differentiableAt one_ne_zero + have hfv : DifferentiableAt ℝ (fun y => fderiv ℝ f y v) x := + hdf.clm_apply (differentiableAt_const v) + have hgv : DifferentiableAt ℝ (fun y => fderiv ℝ g y v) x := + hdg.clm_apply (differentiableAt_const v) + have hfg : (fun y => fderiv ℝ (fun z => f z * g z) y v) =ᶠ[𝓝 x] + (fun y => f y * fderiv ℝ g y v + g y * fderiv ℝ f y v) := by + filter_upwards [hf.eventually (by norm_num), hg.eventually (by norm_num)] with y hyf hyg + rw [fderiv_fun_mul (hyf.differentiableAt (by norm_num)) + (hyg.differentiableAt (by norm_num))] + simp only [add_apply, smul_apply, smul_eq_mul] + have h₁ : DifferentiableAt ℝ (fun y => f y * fderiv ℝ g y v) x := + (hf.differentiableAt (by norm_num)).mul hgv + have h₂ : DifferentiableAt ℝ (fun y => g y * fderiv ℝ f y v) x := + (hg.differentiableAt (by norm_num)).mul hfv + rw [radial_second_directional_eq _ x v (hf.mul hg), hfg.fderiv_eq, + fderiv_fun_add h₁ h₂, + fderiv_fun_mul (hf.differentiableAt (by norm_num)) hgv, + fderiv_fun_mul (hg.differentiableAt (by norm_num)) hfv, + radial_second_directional_eq f x v hf, radial_second_directional_eq g x v hg] + simp only [add_apply, smul_apply, smul_eq_mul] + ring + +theorem laplacian_complex_mul_at (f g : E → ℂ) (x : E) + (hf : ContDiffAt ℝ 2 f x) (hg : ContDiffAt ℝ 2 g x) : + Δ (fun y => f y * g y) x = f x * Δ g x + g x * Δ f x + + 2 * ∑ j : Fin 12, fderiv ℝ f x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) * + fderiv ℝ g x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) := by + simp only [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ)] + simp_rw [second_directional_complex_mul_at f g x _ hf hg] + simp only [Finset.sum_add_distrib, Finset.mul_sum] + +theorem radial_basis_derivative_contraction (Y : E → ℂ) (x : E) : + (∑ j : Fin 12, (inner ℝ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Y x ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) = fderiv ℝ Y x x := by + have he := congrArg (fderiv ℝ Y x) ((EuclideanSpace.basisFun (Fin 12) ℝ).sum_repr' x) + simpa only [map_sum, map_smul, Complex.real_smul, real_inner_comm] using he + +/-- The dilation derivative of the same test contains no angular term. -/ +theorem radialSquare_harmonic_test_euler (q : ℝ → ℂ) (Y : E → ℂ) + (x : E) (hq : DifferentiableAt ℝ q (‖x‖ ^ 2)) + (hY : DifferentiableAt ℝ Y x) (hEuler : fderiv ℝ Y x x = 0) : + fderiv ℝ (fun y : E => q (‖y‖ ^ 2) * Y y) x x = + ((2 * ‖x‖ ^ 2 : ℝ) : ℂ) * deriv q (‖x‖ ^ 2) * Y x := by + have hr : DifferentiableAt ℝ (fun y : E => q (‖y‖ ^ 2)) x := + hq.comp x (hasStrictFDerivAt_norm_sq x).hasFDerivAt.differentiableAt + rw [fderiv_fun_mul hr hY] + simp only [add_apply, smul_apply, smul_eq_mul, hEuler, mul_zero, zero_add] + rw [radialSquareLift_fderiv q x x hq, real_inner_self_eq_norm_sq] + ring + +/-- The Laplacian of a squared-radius test times a degree-zero harmonic +extension. Here λ is the spherical eigenvalue ell(ell+10). -/ +theorem radialSquare_harmonic_test_laplacian (q : ℝ → ℂ) (Y : E → ℂ) + (x : E) (lam : ℂ) (hq : ContDiffAt ℝ 2 q (‖x‖ ^ 2)) + (hY : ContDiffAt ℝ 2 Y x) (hEuler : fderiv ℝ Y x x = 0) + (hEigen : Δ Y x = -(lam / (‖x‖ ^ 2 : ℝ)) * Y x) : + Δ (fun y : E => q (‖y‖ ^ 2) * Y y) x = + (((4 * ‖x‖ ^ 2 : ℝ) : ℂ) * deriv (deriv q) (‖x‖ ^ 2) + + 24 * deriv q (‖x‖ ^ 2) - lam / (‖x‖ ^ 2 : ℝ) * q (‖x‖ ^ 2)) * Y x := by + have hr : ContDiffAt ℝ 2 (fun y : E => q (‖y‖ ^ 2)) x := + hq.comp x (contDiff_norm_sq ℝ).contDiffAt + rw [laplacian_complex_mul_at _ Y x hr hY, radialSquareLift_laplacian q x hq, hEigen] + simp_rw [radialSquareLift_fderiv q x _ (hq.differentiableAt (by norm_num))] + have hs : (∑ j : Fin 12, + (((2 * inner ℝ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℝ) : ℂ) * + deriv q (‖x‖ ^ 2)) * fderiv ℝ Y x ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) = 0 := by + calc + _ = (2 * deriv q (‖x‖ ^ 2)) * ∑ j : Fin 12, + (inner ℝ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Y x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) := by + rw [Finset.mul_sum] + apply Finset.sum_congr rfl + intro j _ + push_cast + ring + _ = 0 := by rw [radial_basis_derivative_contraction, hEuler, mul_zero] + rw [hs] + ring + +/-- Constancy on positive rays gives the zero Euler derivative used above. -/ +theorem zero_euler_of_ray_constant (Y : E → ℂ) (x : E) + (hY : DifferentiableAt ℝ Y x) + (hRay : ∀ t : ℝ, 0 < t → Y (t • x) = Y x) : fderiv ℝ Y x x = 0 := by + have hline : HasDerivAt (fun t : ℝ => Y (t • x)) (fderiv ℝ Y x x) 1 := by + have hy : HasFDerivAt Y (fderiv ℝ Y x) ((1 : ℝ) • x) := by + simpa only [one_smul] using hY.hasFDerivAt + simpa only [Function.comp_def, id_eq, one_smul] using hy.comp_hasDerivAt (1 : ℝ) + ((hasDerivAt_id (1 : ℝ)).smul_const x) + have he : (fun t : ℝ => Y (t • x)) =ᶠ[𝓝 (1 : ℝ)] (fun _ => Y x) := by + filter_upwards [Ioi_mem_nhds (show (0 : ℝ) < 1 by norm_num)] with t ht + exact hRay t ht + exact hline.unique ((hasDerivAt_const (1 : ℝ) (Y x)).congr_of_eventuallyEq he) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTestSupport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTestSupport.lean new file mode 100644 index 0000000000000000000000000000000000000000..624c79a12e5933e5649c7dd4726300e06896b013 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTestSupport.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicTestCalculus +import Mathlib.Analysis.Distribution.SchwartzSpace.Basic + +namespace OAI + +/-! # Compact annular harmonic tests + +A compact scalar test in the positive squared radius removes the apparent +singularity of a degree-zero angular extension at the origin. +-/ + +open Set Filter Topology +open scoped ContDiff SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def squaredHarmonicTest (ψ : 𝓢(ℝ, ℂ)) (Y : E → ℂ) (x : E) : ℂ := + ψ (‖x‖ ^ 2) * Y x + +theorem squaredHarmonicTest_contDiff (ψ : 𝓢(ℝ, ℂ)) (Y : E → ℂ) + (hs : tsupport ψ ⊆ Ioi (0 : ℝ)) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) : + ContDiff ℝ ∞ (squaredHarmonicTest ψ Y) := by + apply contDiff_iff_contDiffAt.mpr + intro x + by_cases hx : x = 0 + · subst x + have hz : (0 : ℝ) ∉ tsupport ψ := fun h => (lt_irrefl 0) (Set.mem_Ioi.mp (hs h)) + have he : (fun y : E => ψ (‖y‖ ^ 2)) =ᶠ[𝓝 0] (fun _ => (0 : ℂ)) := by + have ht := (notMem_tsupport_iff_eventuallyEq.mp hz) + have hn : Tendsto (fun y : E => ‖y‖ ^ 2) (𝓝 0) (𝓝 0) := by + have hcont : Continuous (fun y : E => ‖y‖ ^ 2) := by fun_prop + simpa only [norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0)] using + hcont.tendsto (0 : E) + exact ht.comp_tendsto hn + have he' : squaredHarmonicTest ψ Y =ᶠ[𝓝 0] (fun _ => (0 : ℂ)) := by + filter_upwards [he] with y hy + simp only [squaredHarmonicTest, hy, zero_mul] + exact contDiffAt_const.congr_of_eventuallyEq he' + · exact ((ψ.smooth ⊤).contDiffAt.comp x (contDiff_norm_sq ℝ).contDiffAt).mul (hY x hx) + +theorem squaredHarmonicTest_hasCompactSupport (ψ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport ψ) (Y : E → ℂ) : + HasCompactSupport (squaredHarmonicTest ψ Y) := by + obtain ⟨B, hB⟩ := hc.isBounded.exists_norm_le + apply HasCompactSupport.of_support_subset_isCompact (isCompact_closedBall (0 : E) (max B 1)) + intro x hx + have hψ : ψ (‖x‖ ^ 2) ≠ 0 := by + intro hz + exact hx (by simp [squaredHarmonicTest, hz]) + have hs := hB (‖x‖ ^ 2) (subset_tsupport ψ (Function.mem_support.mpr hψ)) + have hs' : ‖x‖ ^ 2 ≤ B := by + simpa only [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg (‖x‖))] using hs + change dist x 0 ≤ max B 1 + rw [dist_zero_right] + have hb := le_max_left B (1 : ℝ) + have hb1 := le_max_right B (1 : ℝ) + nlinarith [sq_nonneg (‖x‖ - 1)] + +/-- The actual Schwartz test used in the Cartesian weak equation. -/ +noncomputable def squaredHarmonicSchwartz (ψ : 𝓢(ℝ, ℂ)) (Y : E → ℂ) + (hc : HasCompactSupport ψ) (hs : tsupport ψ ⊆ Ioi (0 : ℝ)) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) : 𝓢(E, ℂ) := + (squaredHarmonicTest_hasCompactSupport ψ hc Y).toSchwartzMap + (squaredHarmonicTest_contDiff ψ Y hs hY) + +@[simp] theorem squaredHarmonicSchwartz_apply (ψ : 𝓢(ℝ, ℂ)) (Y : E → ℂ) + (hc : HasCompactSupport ψ) (hs : tsupport ψ ⊆ Ioi (0 : ℝ)) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) (x : E) : + squaredHarmonicSchwartz ψ Y hc hs hY x = ψ (‖x‖ ^ 2) * Y x := rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTrace.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTrace.lean new file mode 100644 index 0000000000000000000000000000000000000000..971909b4c858853fe97bd21ca69bdbfb1e40b405 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTrace.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpecifiedRadialMode +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialModeTrace + +namespace OAI + +/-! # Vanishing of a specified harmonic channel from radial exclusion -/ + +open Set MeasureTheory +open scoped ContDiff Laplacian +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_contour_harmonic_zero_of_exclusion (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (he : G w = lam • w) + (ell : ℕ) (Y : E → ℂ) + (hYs : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hYr : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hYe : ∀ x : E, x ≠ 0 → Δ Y x = -(((ell : ℂ) * (ell + 10)) / (‖x‖ ^ 2 : ℝ)) * Y x) + (hreject : ∀ u : RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ) * (ell + 10)) lam, + u.first = harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x) → + u.second = harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x) → False) : + ∀ r : ℝ, 0 < r → + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x) r = 0 ∧ + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x) r = 0 := by + intro r hr + by_contra hzero + have hne : harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x) r ≠ 0 ∨ + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x) r ≠ 0 := by + tauto + obtain ⟨u, hu, hv⟩ := homogeneous_matched_contour_specified_radialMode n z hX hz N ha ha1 hk q hq + P hcomm hfin G hG lam w he ell Y hYs hYr hYe ⟨r, hr, hne⟩ + exact hreject u hu hv + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTransport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTransport.lean new file mode 100644 index 0000000000000000000000000000000000000000..2ae72e3552a1c7495beee6be89366f0bcdecb2db --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicTransport.lean @@ -0,0 +1,143 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicRadialEquation + +namespace OAI + +/-! # Angular averaging of radial transport and multiplication + +These identities use the actual physical realization. They complement the +radial Laplacian identity with the other terms of the linearized generator. +-/ + +open MeasureTheory Set Filter +open scoped ContDiff SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem continuous_harmonicSphere (Y : E → ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) : + Continuous (fun z : PhysicalUnitSphere => Y z.1) := by + apply continuous_iff_continuousAt.mpr + intro z + have hz : z.1 ≠ 0 := by + have hn : ‖z.1‖ = 1 := by + simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + intro he + simp [he] at hn + exact (hY z.1 hz).continuousAt.comp continuous_subtype_val.continuousAt + +theorem memLp_star_harmonicSphere (Y : E → ℂ) + (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) : + MemLp (fun z : PhysicalUnitSphere => star (Y z.1)) 2 physicalSphereMeasure := by + obtain ⟨B, hB⟩ := isCompact_univ.exists_bound_of_continuousOn hY.star.continuousOn + exact MemLp.of_bound hY.star.aestronglyMeasurable B + (Eventually.of_forall fun z => hB z (mem_univ z)) + +theorem homogeneous_harmonic_projection (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (Y : E → ℂ) : + homogeneousAngularProjection a k ha ha1 hk (fun z => star (Y z.1)) u = + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x) := by + funext r + apply integral_congr_ae + filter_upwards [] with z + simp only [RCLike.inner_apply', starRingEnd_apply, star_star] + +theorem homogeneous_harmonic_contDiff (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (Y : E → ℂ) + (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) : + ContDiff ℝ 2 (harmonicAngularCoefficient Y + (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x)) := by + rw [← homogeneous_harmonic_projection a k ha ha1 hk u Y] + exact contDiff_homogeneousAngularProjection a k ha ha1 hk _ + (memLp_star_harmonicSphere Y hY) u + +theorem homogeneous_harmonic_smul (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (Y : E → ℂ) + (c : ℂ) (r : ℝ) : + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk (c • u) x) r = + c * harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x) r := by + rw [harmonicAngularCoefficient, harmonicAngularCoefficient, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with z + simp only [map_smul, ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul] + ring + +theorem homogeneous_harmonic_deriv (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (Y : E → ℂ) + (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) (r : ℝ) : + deriv (harmonicAngularCoefficient Y + (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x)) r = + ∫ z : PhysicalUnitSphere, Y z.1 * + fderiv ℝ (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x) (r • z.1) z.1 + ∂physicalSphereMeasure := by + rw [← homogeneous_harmonic_projection a k ha ha1 hk u Y] + have hd := (hasDerivAt_homogeneousAngularProjection a k ha ha1 hk + (fun z => star (Y z.1)) (memLp_star_harmonicSphere Y hY) u r).deriv + simpa only [RCLike.inner_apply', starRingEnd_apply, star_star] using hd + +theorem homogeneous_harmonic_euler (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (Y : E → ℂ) + (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) (r : ℝ) : + harmonicAngularCoefficient Y + (fun x => fderiv ℝ (fun y => homogeneousPhysicalCLM a k ha ha1 hk u y) x x) r = + (r : ℂ) * deriv (harmonicAngularCoefficient Y + (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x)) r := by + rw [homogeneous_harmonic_deriv a k ha ha1 hk u Y hY r, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with z + rw [map_smul, Complex.real_smul] + ring + +theorem harmonicAngularCoefficient_radial_mul (Y F : E → ℂ) (c : ℝ → ℂ) + (r : ℝ) (hr : 0 < r) : + harmonicAngularCoefficient Y (fun x => c ‖x‖ * F x) r = + c r * harmonicAngularCoefficient Y F r := by + rw [harmonicAngularCoefficient, harmonicAngularCoefficient, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with z + have hz : ‖z.1‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hr, hz, mul_one] + ring + +theorem integrable_harmonicSphere_product (Y F : E → ℂ) + (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) (hF : Continuous F) (r : ℝ) : + Integrable (fun z : PhysicalUnitSphere => Y z.1 * F (r • z.1)) physicalSphereMeasure := by + have hc : Continuous (fun z : PhysicalUnitSphere => Y z.1 * F (r • z.1)) := + hY.mul (hF.comp (by fun_prop : Continuous (fun z : PhysicalUnitSphere => r • z.1))) + exact hc.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) + +theorem harmonicAngularCoefficient_four (Y F₁ F₂ F₃ F₄ : E → ℂ) + (hY : Continuous (fun z : PhysicalUnitSphere => Y z.1)) + (h₁ : Continuous F₁) (h₂ : Continuous F₂) (h₃ : Continuous F₃) (h₄ : Continuous F₄) + (c₁ c₂ c₃ c₄ : ℂ) (r : ℝ) : + harmonicAngularCoefficient Y + (fun x => c₁ * F₁ x + c₂ * F₂ x + c₃ * F₃ x + c₄ * F₄ x) r = + c₁ * harmonicAngularCoefficient Y F₁ r + c₂ * harmonicAngularCoefficient Y F₂ r + + c₃ * harmonicAngularCoefficient Y F₃ r + c₄ * harmonicAngularCoefficient Y F₄ r := by + have hi₁ := (integrable_harmonicSphere_product Y F₁ hY h₁ r).const_mul c₁ + have hi₂ := (integrable_harmonicSphere_product Y F₂ hY h₂ r).const_mul c₂ + have hi₃ := (integrable_harmonicSphere_product Y F₃ hY h₃ r).const_mul c₃ + have hi₄ := (integrable_harmonicSphere_product Y F₄ hY h₄ r).const_mul c₄ + change (∫ z : PhysicalUnitSphere, Y z.1 * + (c₁ * F₁ (r • z.1) + c₂ * F₂ (r • z.1) + c₃ * F₃ (r • z.1) + c₄ * F₄ (r • z.1)) + ∂physicalSphereMeasure) = _ + calc + _ = ∫ z : PhysicalUnitSphere, + c₁ * (Y z.1 * F₁ (r • z.1)) + c₂ * (Y z.1 * F₂ (r • z.1)) + + c₃ * (Y z.1 * F₃ (r • z.1)) + c₄ * (Y z.1 * F₄ (r • z.1)) + ∂physicalSphereMeasure := by + apply integral_congr_ae + filter_upwards [] with z + ring + _ = _ := by + have hsum₄ := integral_add ((hi₁.add hi₂).add hi₃) hi₄ + have hsum₃ := integral_add (hi₁.add hi₂) hi₃ + have hsum₂ := integral_add hi₁ hi₂ + simp only [Pi.add_apply] at hsum₄ hsum₃ hsum₂ + rw [hsum₄, hsum₃, hsum₂] + simp only [integral_const_mul, harmonicAngularCoefficient] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicWeakLaplacian.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicWeakLaplacian.lean new file mode 100644 index 0000000000000000000000000000000000000000..95ac64bdbe6ea524cf0732fa8fdce14fd4068cf4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousHarmonicWeakLaplacian.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousClassicalGreen +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicTestSupport +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPolarL2 + +namespace OAI + +/-! # The angular projection of the classical Laplacian, in weak radial form + +The only angular assumptions are the explicit degree-zero homogeneity and +spherical Laplacian eigenfunction identities. The function being projected +is an arbitrary C² Cartesian function. +-/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff SchwartzMap Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def harmonicAngularCoefficient (Y F : E → ℂ) (r : ℝ) : ℂ := + ∫ z : PhysicalUnitSphere, Y z.1 * F (r • z.1) ∂physicalSphereMeasure + +private theorem integral_eq_polar_iterated (G : E → ℂ) (hG : Integrable G) : + (∫ x : E, G x) = ∫ r : PhysicalPositiveRadius, + (∫ z : PhysicalUnitSphere, G (r.1 • z.1) ∂physicalSphereMeasure) + ∂physicalRadiusMeasure := by + have hm : AEStronglyMeasurable G + (Measure.map physicalPolarPoint physicalPolarMeasure) := by + rw [measurePreserving_physicalPolarPoint.map_eq] + exact hG.aestronglyMeasurable + have he := integral_map measurePreserving_physicalPolarPoint.measurable.aemeasurable hm + rw [measurePreserving_physicalPolarPoint.map_eq] at he + rw [he] + exact integral_prod_symm _ + (measurePreserving_physicalPolarPoint.integrable_comp_of_integrable hG) + +/-- The weak radial Laplacian identity in dimension twelve. Squared-radius +tests suffice locally, and avoid any artificial derivative at the origin. -/ +theorem harmonicAngularCoefficient_weak_laplacian + (Y F : E → ℂ) (lam : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(lam / (‖x‖ ^ 2 : ℝ)) * Y x) + (hF : ContDiff ℝ 2 F) + (ψ : 𝓢(ℝ, ℂ)) (hc : HasCompactSupport ψ) (hs : tsupport ψ ⊆ Ioi (0 : ℝ)) : + (∫ r : PhysicalPositiveRadius, ψ (r.1 ^ 2) * + harmonicAngularCoefficient Y (Δ F) r ∂physicalRadiusMeasure) = + ∫ r : PhysicalPositiveRadius, + (((4 * r.1 ^ 2 : ℝ) : ℂ) * deriv (deriv ψ) (r.1 ^ 2) + + 24 * deriv ψ (r.1 ^ 2) - lam / (r.1 ^ 2 : ℝ) * ψ (r.1 ^ 2)) * + harmonicAngularCoefficient Y F r ∂physicalRadiusMeasure := by + let T : 𝓢(E, ℂ) := squaredHarmonicSchwartz ψ Y hc hs hY + have hT : HasCompactSupport T := squaredHarmonicTest_hasCompactSupport ψ hc Y + have hiL : Integrable (fun x : E => T x * Δ F x) := + (T.continuous.mul (continuous_laplacian_of_contDiff_two F hF)).integrable_of_hasCompactSupport + hT.mul_right + have hiR : Integrable (fun x : E => Δ (fun y => T y) x * F x) := + ((continuous_laplacian_of_contDiff_two T (T.smooth 2)).mul hF.continuous).integrable_of_hasCompactSupport + (hasCompactSupport_laplacian T hT).mul_right + have hn (r : PhysicalPositiveRadius) (z : PhysicalUnitSphere) : ‖r.1 • z.1‖ = r.1 := by + have hz : ‖z.1‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + rw [norm_smul, Real.norm_eq_abs, abs_of_pos r.2, hz, mul_one] + have hleft (r : PhysicalPositiveRadius) : + (∫ z : PhysicalUnitSphere, T (r.1 • z.1) * Δ F (r.1 • z.1) ∂physicalSphereMeasure) = + ψ (r.1 ^ 2) * harmonicAngularCoefficient Y (Δ F) r := by + rw [harmonicAngularCoefficient, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with z + change ψ (‖r.1 • z.1‖ ^ 2) * Y (r.1 • z.1) * Δ F (r.1 • z.1) = _ + rw [hn, hRay z.1 r.1 r.2, mul_assoc] + have hright (r : PhysicalPositiveRadius) : + (∫ z : PhysicalUnitSphere, Δ (fun y => T y) (r.1 • z.1) * F (r.1 • z.1) + ∂physicalSphereMeasure) = + (((4 * r.1 ^ 2 : ℝ) : ℂ) * deriv (deriv ψ) (r.1 ^ 2) + + 24 * deriv ψ (r.1 ^ 2) - lam / (r.1 ^ 2 : ℝ) * ψ (r.1 ^ 2)) * + harmonicAngularCoefficient Y F r := by + rw [harmonicAngularCoefficient, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with z + have hx : r.1 • z.1 ≠ 0 := by + intro hz + have := hn r z + rw [hz, norm_zero] at this + exact r.2.ne' this.symm + change Δ (fun y : E => ψ (‖y‖ ^ 2) * Y y) (r.1 • z.1) * F (r.1 • z.1) = _ + rw [radialSquare_harmonic_test_laplacian ψ Y _ lam (ψ.smooth 2).contDiffAt + ((hY _ hx).of_le (by simp)) + (zero_euler_of_ray_constant Y _ ((hY _ hx).differentiableAt (by simp)) + (hRay _)) (hEigen _ hx), hn, hRay z.1 r.1 r.2, mul_assoc] + calc + _ = ∫ x : E, T x * Δ F x := by + rw [integral_eq_polar_iterated _ hiL] + exact integral_congr_ae (Eventually.of_forall fun r => (hleft r).symm) + _ = ∫ x : E, Δ (fun y => T y) x * F x := compactTest_laplacian_green T hT F hF + _ = _ := by + rw [integral_eq_polar_iterated _ hiR] + exact integral_congr_ae (Eventually.of_forall hright) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInhomogeneousChannels.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInhomogeneousChannels.lean new file mode 100644 index 0000000000000000000000000000000000000000..2182ad68780246edfe91f3cf01b5be4452614b44 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInhomogeneousChannels.lean @@ -0,0 +1,157 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousClassicalLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousContourDomain +import Mathlib.Analysis.Calculus.FDeriv.Star + +namespace OAI + +/-! # Classical inhomogeneous channels for the actual generator + +The same physical differential expression acts on every strong generator +vector. In particular this identifies the forcing in finite-dimensional +Jordan chains, rather than only homogeneous eigenvector equations. +-/ + +open Set +open scoped Laplacian ZeroAtInfty ComplexConjugate NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem laplacian_channel_add (u v : E → ℂ) (c : ℂ) (x : E) + (hu : ContDiffAt ℝ 2 u x) (hv : ContDiffAt ℝ 2 v x) : + Δ (fun y => u y + c * v y) x = Δ u x + c * Δ v x := by + have h := hu.laplacian_add (hv.const_smul c) + calc + Δ (fun y => u y + c * v y) x = Δ u x + Δ (fun y => c • v y) x := h + _ = Δ u x + c * Δ v x := by + congr 1 + exact InnerProductSpace.laplacian_smul c hv + +private theorem fderiv_channel_add (u v : E → ℂ) (c : ℂ) (x : E) + (hu : DifferentiableAt ℝ u x) (hv : DifferentiableAt ℝ v x) : + fderiv ℝ (fun y => u y + c * v y) x x = + fderiv ℝ u x x + c * fderiv ℝ v x x := by + change (fderiv ℝ (u + c • v) x) x = _ + rw [fderiv_add hu (hv.const_smul c), fderiv_const_smul hv c] + rfl + +private theorem laplacian_channel_star (u : E → ℂ) (x : E) : + Δ (fun y => star (u y)) x = star (Δ u x) := by + exact congrFun (InnerProductSpace.laplacian_CLE_comp_left + (f := u) (l := (starL' ℝ : ℂ ≃L[ℝ] ℂ))) x + +private theorem fderiv_channel_star (u : E → ℂ) (x : E) : + fderiv ℝ (fun y => star (u y)) x x = star (fderiv ℝ u x x) := by + rw [fderiv_star] + rfl + +/-- The strong derivative of the actual complexified flow is precisely the +two-channel physical differential expression. -/ +theorem homogeneous_generator_classical_channels (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q : HomogeneousY a k) (w z : HomogeneousY a k × HomogeneousY a k) + (hw : HasDerivWithinAt (fun t : ℝ => + homogeneousComplexLinearizedStep a b k ha ha1 hk m q t.toNNReal w) z (Ici 0) 0) : + let P := fun f : HomogeneousY a k => + fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + ContDiff ℝ 2 (P w.1) ∧ ContDiff ℝ 2 (P w.2) ∧ + ∀ x : E, + (P z.1 x = Complex.I * Δ (P w.1) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.1) x x + + (-(a : ℂ) + Complex.I * (b : ℂ)) * P w.1 x - Complex.I * + ((((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.1 x + + ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.2 x)) ∧ + (P z.2 x = -Complex.I * Δ (P w.2) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.2) x x + + (-(a : ℂ) - Complex.I * (b : ℂ)) * P w.2 x + Complex.I * + (star (((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.2 x + + star ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.1 x)) := by + dsimp only + let P := fun f : HomogeneousY a k => + fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + let X := homogeneousComplexReal a k ha ha1 hk + let Y := homogeneousComplexImag a k ha ha1 hk + let u := P (X w) + let v := P (Y w) + change ContDiff ℝ 2 (P w.1) ∧ ContDiff ℝ 2 (P w.2) ∧ + ∀ x : E, + (P z.1 x = Complex.I * Δ (P w.1) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.1) x x + + (-(a : ℂ) + Complex.I * (b : ℂ)) * P w.1 x - Complex.I * + ((((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.1 x + + ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.2 x)) ∧ + (P z.2 x = -Complex.I * Δ (P w.2) x - + (1 / 2 : ℂ) * fderiv ℝ (P w.2) x x + + (-(a : ℂ) - Complex.I * (b : ℂ)) * P w.2 x + Complex.I * + (star (((m + 1 : ℕ) : ℂ) * P q x ^ m * star (P q x) ^ m) * P w.2 x + + star ((m : ℂ) * P q x ^ (m + 1) * star (P q x) ^ (m - 1)) * P w.1 x)) + have hP (f : HomogeneousY a k) : ContDiff ℝ 2 (P f) := + contDiff_homogeneousPhysical a k ha ha1 hk f + refine ⟨hP w.1, hP w.2, ?_⟩ + have hfirst (z : HomogeneousY a k × HomogeneousY a k) : + P z.1 = fun x => P (X z) x + Complex.I * P (Y z) x := by + funext x + have h := congrArg (fun f : HomogeneousY a k => P f x) + (homogeneousComplexCoordinates_first a k ha ha1 hk z) + simpa only [P, X, Y, map_add, map_smul, ZeroAtInftyContinuousMap.add_apply, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul] using h.symm + have hsecond (z : HomogeneousY a k × HomogeneousY a k) : + P z.2 = fun x => star (P (X z) x) + Complex.I * star (P (Y z) x) := by + funext x + have h := congrArg (fun f : HomogeneousY a k => P f x) + (homogeneousComplexCoordinates_second a k ha ha1 hk z) + simpa only [P, X, Y, map_add, map_smul, ZeroAtInftyContinuousMap.add_apply, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul, + homogeneousConjugation_physical, starRingEnd_apply] using h.symm + have hu := hP (X w) + have hv := hP (Y w) + obtain ⟨hX, hY⟩ := homogeneous_generator_free_coordinates a b k ha ha1 hk m q w z hw + intro x + have hx := homogeneousLinearized_domain_classical a b k ha ha1 hk m q + (X w) (X z) hX x + have hy := homogeneousLinearized_domain_classical a b k ha ha1 hk m q + (Y w) (Y z) hY x + change P (X z) x = Complex.I * Δ u x - + (1 / 2 : ℂ) * fderiv ℝ u x x + (-(a : ℂ) + Complex.I * (b : ℂ)) * u x - + Complex.I * oddPowerDerivative m (P q x) (u x) at hx + change P (Y z) x = Complex.I * Δ v x - + (1 / 2 : ℂ) * fderiv ℝ v x x + (-(a : ℂ) + Complex.I * (b : ℂ)) * v x - + Complex.I * oddPowerDerivative m (P q x) (v x) at hy + have hlam₁ : P z.1 x = P (X z) x + Complex.I * P (Y z) x := + congrFun (hfirst z) x + have hlam₂ : P z.2 x = star (P (X z) x) + Complex.I * star (P (Y z) x) := + congrFun (hsecond z) x + have hd₁ := fderiv_channel_add u v Complex.I x + (hu.differentiable (by norm_num) x) (hv.differentiable (by norm_num) x) + have hl₁ := laplacian_channel_add u v Complex.I x hu.contDiffAt hv.contDiffAt + have hd₂ := fderiv_channel_add (fun y => star (u y)) (fun y => star (v y)) Complex.I x + ((hu.differentiable (by norm_num) x).star) + ((hv.differentiable (by norm_num) x).star) + have hus : ContDiff ℝ 2 (fun y => star (u y)) := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp hu + have hvs : ContDiff ℝ 2 (fun y => star (v y)) := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp hv + have hl₂ := laplacian_channel_add (fun y => star (u y)) (fun y => star (v y)) + Complex.I x hus.contDiffAt hvs.contDiffAt + rw [fderiv_channel_star, fderiv_channel_star] at hd₂ + rw [laplacian_channel_star, laplacian_channel_star] at hl₂ + constructor + · rw [hlam₁, hx, hy, hfirst w, hsecond w] + rw [hl₁, hd₁] + simp only [oddPowerDerivative, add_apply, smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul] + ring + · rw [hlam₂, hx, hy, hsecond w, hfirst w] + rw [hl₂, hd₂] + simp only [oddPowerDerivative, add_apply, smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul, + star_add, star_sub, star_mul, star_star, star_neg, star_pow] + simp only [Complex.star_def, Complex.conj_I, Complex.conj_ofReal, + map_div₀, map_ofNat, map_one] + dsimp only [u, v] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInteractionPicture.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInteractionPicture.lean new file mode 100644 index 0000000000000000000000000000000000000000..c1add9c4597a48d6f94e4cf42625196fbe95a729 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInteractionPicture.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDuhamel +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus + +namespace OAI + +/-! # Differentiation in the free interaction picture + +Removing the exact free group from a forced mild trajectory leaves the +ordinary integral of the transported source. Its derivative exists in Y +for continuous forcing, without additional spatial regularity. +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +noncomputable def homogeneousForcedTrajectory (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) (t : ℝ) : HomogeneousY a k := + homogeneousFreeOperator a b k t ha ha1 hk f + homogeneousDuhamel a b k ha ha1 hk t r + +theorem continuous_homogeneousForcedTrajectory (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) (hr : Continuous r) : + Continuous (homogeneousForcedTrajectory a b k ha ha1 hk f r) := by + exact ((continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp + (continuous_id.prodMk continuous_const)).add + (continuous_homogeneousDuhamel a b k ha ha1 hk r hr) + +@[simp] theorem homogeneousForcedTrajectory_zero (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) : + homogeneousForcedTrajectory a b k ha ha1 hk f r 0 = f := by + simp [homogeneousForcedTrajectory, homogeneousDuhamel] + +theorem homogeneousDuhamel_pullback (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : Continuous r) (t : ℝ) : + homogeneousFreeOperator a b k (-t) ha ha1 hk (homogeneousDuhamel a b k ha ha1 hk t r) = + ∫ τ in (0 : ℝ)..t, homogeneousFreeOperator a b k (-τ) ha ha1 hk (r τ) := by + have hc : Continuous (fun τ => homogeneousFreeOperator a b k (t - τ) ha ha1 hk (r τ)) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp + ((continuous_const.sub continuous_id).prodMk hr) + unfold homogeneousDuhamel + rw [← (homogeneousFreeOperator a b k (-t) ha ha1 hk).intervalIntegral_comp_comm + (hc.intervalIntegrable _ _)] + apply intervalIntegral.integral_congr + intro τ _hτ + dsimp only + rw [← homogeneousFreeOperator_add, show -t + (t - τ) = -τ by abel] + +theorem homogeneousForcedTrajectory_pullback (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) (hr : Continuous r) (t : ℝ) : + homogeneousFreeOperator a b k (-t) ha ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r t) = + f + ∫ τ in (0 : ℝ)..t, homogeneousFreeOperator a b k (-τ) ha ha1 hk (r τ) := by + rw [homogeneousForcedTrajectory, map_add, homogeneousFreeOperator_neg_cancel, + homogeneousDuhamel_pullback a b k ha ha1 hk r hr] + +theorem hasDerivAt_homogeneousForcedTrajectory_pullback (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) (hr : Continuous r) (t : ℝ) : + HasDerivAt (fun s => homogeneousFreeOperator a b k (-s) ha ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r s)) + (homogeneousFreeOperator a b k (-t) ha ha1 hk (r t)) t := by + have hc : Continuous (fun τ => homogeneousFreeOperator a b k (-τ) ha ha1 hk (r τ)) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp + (continuous_neg.prodMk hr) + have hd := (intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable 0 t) + hc.aestronglyMeasurable.stronglyMeasurableAtFilter (hc.continuousAt (x := t))).const_add f + convert hd using 1 + funext s + exact homogeneousForcedTrajectory_pullback a b k ha ha1 hk f r hr s + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInvariantSemigroup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInvariantSemigroup.lean new file mode 100644 index 0000000000000000000000000000000000000000..fd7c3c40f8f0235db93c0bdcba74ae9339dcd620 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInvariantSemigroup.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteSemigroup +import Mathlib.Topology.Algebra.Module.ContinuousLinearMap.Restrict +import Mathlib.Analysis.Normed.Operator.Banach + +namespace OAI + +/-! # Restriction to the finite-dimensional contour space + +A projection commuting with the actual evolution has an invariant range. +Strong continuity therefore gives a matrix generator on that range. +-/ + +open Set +open scoped NNReal + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] + +/-- Explicit topological-ring structure for endomorphisms of the projection range. -/ +instance projectionRangeEnd_isTopologicalRing (Q : E →L[ℂ] E) : + IsTopologicalRing (Q.range →L[ℂ] Q.range) := + NonUnitalSeminormedRing.toIsTopologicalRing (α := Q.range →L[ℂ] Q.range) + +private theorem projection_range_invariant (S Q : E →L[ℂ] E) + (h : Commute S Q) : ∀ x ∈ Q.range, S x ∈ Q.range := by + rintro x ⟨y, rfl⟩ + refine ⟨S y, ?_⟩ + exact (congrArg (fun L : E →L[ℂ] E => L y) h.eq).symm + +noncomputable def projectionSemigroupRestriction (S : ℝ≥0 → E →L[ℂ] E) + (Q : E →L[ℂ] E) (hcomm : ∀ t, Commute (S t) Q) (t : ℝ≥0) : + Q.range →L[ℂ] Q.range := + (S t).restrict (projection_range_invariant (S t) Q (hcomm t)) + +@[simp] theorem projectionSemigroupRestriction_apply + (S : ℝ≥0 → E →L[ℂ] E) (Q : E →L[ℂ] E) + (hcomm : ∀ t, Commute (S t) Q) (t : ℝ≥0) (x : Q.range) : + (projectionSemigroupRestriction S Q hcomm t x : E) = S t x := rfl + +/-- The finite contour space of a strongly continuous semigroup has an +actual matrix generator. -/ +theorem projectionSemigroupRestriction_eq_exp + (S : ℝ≥0 → E →L[ℂ] E) (Q : E →L[ℂ] E) + (hcomm : ∀ t, Commute (S t) Q) + (hfin : FiniteDimensional ℂ Q.range) + (hS : ∀ x : E, Continuous (fun t => S t x)) (hzero : S 0 = 1) + (hadd : ∀ s t : ℝ≥0, S (s + t) = S t * S s) : + ∃ G : Q.range →L[ℂ] Q.range, ∀ t : ℝ≥0, + projectionSemigroupRestriction S Q hcomm t = + NormedSpace.exp ((t : ℝ) • G) := by + let : FiniteDimensional ℂ Q.range := hfin + let R := projectionSemigroupRestriction S Q hcomm + have hRc (x : Q.range) : Continuous (fun t => R t x) := by + exact (hS x).subtype_mk (fun t => projection_range_invariant + (S t) Q (hcomm t) x x.property) + have hR0 : R 0 = 1 := by + ext x + change S 0 (x : E) = x + rw [hzero] + rfl + have hRadd (s t : ℝ≥0) : R (s + t) = R t * R s := by + ext x + change S (s + t) (x : E) = S t (S s (x : E)) + rw [hadd] + rfl + exact finiteDimensional_semigroup_eq_exp R hRc hR0 hRadd + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInverseWeight.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInverseWeight.lean new file mode 100644 index 0000000000000000000000000000000000000000..14c5db3df78a3af751280b5da86657cce401d9ce --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousInverseWeight.lean @@ -0,0 +1,81 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYSpace +import Mathlib.Analysis.SpecialFunctions.Pow.Integral + +namespace OAI + +/-! # Integrability of the inverse homogeneous Fourier weight + +The low-frequency exponent is strictly below dimension twelve and the +high-frequency exponent is strictly above it. This is the continuous +counterpart of the checked expanding-torus inverse-weight sum. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem homogeneousFourierWeight_inv_bound (a k : ℝ) (ξ : E) (hξ : ξ ≠ 0) + (s : ℝ) (hs : s = 6 - a ∨ s = k) : + (homogeneousFourierWeight a k ξ)⁻¹ ≤ + (2 * Real.pi) ^ (12 : ℕ) * ‖ξ‖ ^ (-(2 * s)) := by + have hlow : 0 < ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ‖ξ‖ ^ (2 * s) := by + exact mul_pos (by positivity) (Real.rpow_pos_of_pos (norm_pos_iff.mpr hξ) _) + have hle : ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ‖ξ‖ ^ (2 * s) ≤ + homogeneousFourierWeight a k ξ := by + rcases hs with rfl | rfl + · exact mul_le_mul_of_nonneg_left (le_add_of_nonneg_right (by positivity)) (by positivity) + · exact mul_le_mul_of_nonneg_left (le_add_of_nonneg_left (by positivity)) (by positivity) + calc + _ ≤ (((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ‖ξ‖ ^ (2 * s))⁻¹ := inv_anti₀ hlow hle + _ = _ := by rw [mul_inv_rev, inv_inv, Real.rpow_neg (norm_nonneg ξ)]; ring + +/-- The inverse of the exact Y Fourier weight is integrable over all frequencies. -/ +theorem integrable_homogeneousFourierWeight_inv (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Integrable (fun ξ => (homogeneousFourierWeight a k ξ)⁻¹) := by + have hm : AEStronglyMeasurable (fun ξ => (homogeneousFourierWeight a k ξ)⁻¹) volume := + (continuous_homogeneousFourierWeight a k ha1 hk).measurable.inv.aestronglyMeasurable + have hn : ∀ᵐ ξ : E ∂volume, ξ ≠ 0 := by + simp only [ae_iff, not_not, Set.ofPred_eq_eq_singleton] + exact measure_singleton _ + have hsmall : IntegrableOn (fun ξ => (homogeneousFourierWeight a k ξ)⁻¹) + (Metric.ball (0 : E) 1) := by + apply integrableOn_ball_of_norm_le_rpow (by norm_num : 1 ≤ Module.finrank ℝ E) + (α := 2 * (6 - a)) (C := (2 * Real.pi) ^ (12 : ℕ)) (by norm_num; linarith) + ?_ hm + filter_upwards [ae_restrict_of_ae hn] with ξ hξ + rw [Real.norm_eq_abs, abs_of_nonneg (inv_nonneg.mpr (homogeneousFourierWeight_nonneg a k ξ))] + exact homogeneousFourierWeight_inv_bound a k ξ hξ (6 - a) (Or.inl rfl) + have hbase : Integrable (fun ξ : E => (1 + ‖ξ‖) ^ (-(2 * k))) := by + apply integrable_one_add_norm + norm_num + linarith + have hlarge : IntegrableOn (fun ξ => (homogeneousFourierWeight a k ξ)⁻¹) + (Metric.ball (0 : E) 1)ᶜ := by + apply ((hbase.const_mul ((2 * Real.pi) ^ (12 : ℕ) * 2 ^ (2 * k))).integrableOn).mono' + hm.restrict + filter_upwards [ae_restrict_mem measurableSet_ball.compl] with ξ hξ + have hr : 1 ≤ ‖ξ‖ := by simpa only [Set.mem_compl_iff, Metric.mem_ball, dist_zero_right, not_lt] using hξ + have hn0 : ξ ≠ 0 := by intro hz; simp only [hz, norm_zero] at hr; linarith + rw [Real.norm_eq_abs, abs_of_nonneg (inv_nonneg.mpr (homogeneousFourierWeight_nonneg a k ξ))] + calc + _ ≤ (2 * Real.pi) ^ (12 : ℕ) * ‖ξ‖ ^ (-(2 * k)) := + homogeneousFourierWeight_inv_bound a k ξ hn0 k (Or.inr rfl) + _ ≤ (2 * Real.pi) ^ (12 : ℕ) * (((1 + ‖ξ‖) / 2) ^ (-(2 * k))) := by + exact mul_le_mul_of_nonneg_left + (Real.rpow_le_rpow_of_nonpos + (show 0 < (1 + ‖ξ‖) / 2 by positivity) + (show (1 + ‖ξ‖) / 2 ≤ ‖ξ‖ by linarith) + (show -(2 * k) ≤ 0 by linarith)) (by positivity) + _ = _ := by + rw [Real.div_rpow (by positivity) (by positivity), Real.rpow_neg (by positivity : (0 : ℝ) ≤ 2), + div_inv_eq_mul] + ring + have hu := hsmall.union hlarge + simpa only [Set.union_compl_self, integrableOn_univ] using hu + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousJordanChannels.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousJordanChannels.lean new file mode 100644 index 0000000000000000000000000000000000000000..5203750da6ea14ee055a07d0ca50858d5f62ce26 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousJordanChannels.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousInhomogeneousChannels + +namespace OAI + +/-! # The exact PDE source associated with a finite Jordan chain + +The relation G w = λ w + v gives the physical source v in both circular +channels. All contour vectors are in the actual generator domain. +-/ + +open Set +open scoped Laplacian ZeroAtInfty NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +/-- The coupled eigenvalue equation with an explicitly represented source. -/ +def IsClassicalLinearizedSourcePair (a b : ℝ) (m : ℕ) + (q f g F G : E → ℂ) (lam : ℂ) : Prop := + ContDiff ℝ 2 f ∧ ContDiff ℝ 2 g ∧ ∀ x : E, + (lam * f x + F x = Complex.I * Δ f x - (1 / 2 : ℂ) * fderiv ℝ f x x + + (-(a : ℂ) + Complex.I * (b : ℂ)) * f x - Complex.I * + ((((m + 1 : ℕ) : ℂ) * q x ^ m * star (q x) ^ m) * f x + + ((m : ℂ) * q x ^ (m + 1) * star (q x) ^ (m - 1)) * g x)) ∧ + (lam * g x + G x = -Complex.I * Δ g x - (1 / 2 : ℂ) * fderiv ℝ g x x + + (-(a : ℂ) - Complex.I * (b : ℂ)) * g x + Complex.I * + (star (((m + 1 : ℕ) : ℂ) * q x ^ m * star (q x) ^ m) * g x + + star ((m : ℂ) * q x ^ (m + 1) * star (q x) ^ (m - 1)) * f x)) + +theorem homogeneous_contour_jordan_channels (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (Q : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] + (HomogeneousY a k × HomogeneousY a k)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 hk m q t) Q) + (hfin : FiniteDimensional ℂ Q.range) (G : Q.range →L[ℂ] Q.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) Q hcomm t = + NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w v : Q.range) (he : G w = lam • w + v) : + let P := fun f : HomogeneousY a k => + fun x : E => homogeneousPhysicalCLM a k ha ha1 hk f x + IsClassicalLinearizedSourcePair a b m (P q) + (P (w : HomogeneousY a k × HomogeneousY a k).1) + (P (w : HomogeneousY a k × HomogeneousY a k).2) + (P (v : HomogeneousY a k × HomogeneousY a k).1) + (P (v : HomogeneousY a k × HomogeneousY a k).2) lam := by + dsimp only + have hd := projectionSemigroup_generator_domain + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) Q hcomm hfin G hG w + have hp := homogeneous_generator_classical_channels a b k ha ha1 hk m q + (w : HomogeneousY a k × HomogeneousY a k) (G w : HomogeneousY a k × HomogeneousY a k) hd + refine ⟨hp.1, hp.2.1, ?_⟩ + intro x + have hval : (G w : HomogeneousY a k × HomogeneousY a k) = + lam • (w : HomogeneousY a k × HomogeneousY a k) + + (v : HomogeneousY a k × HomogeneousY a k) := by + exact congrArg Subtype.val he + have hx := hp.2.2 x + rw [hval] at hx + change homogeneousPhysicalCLM a k ha ha1 hk + (lam • (w : HomogeneousY a k × HomogeneousY a k).1 + + (v : HomogeneousY a k × HomogeneousY a k).1) x = _ ∧ + homogeneousPhysicalCLM a k ha ha1 hk + (lam • (w : HomogeneousY a k × HomogeneousY a k).2 + + (v : HomogeneousY a k × HomogeneousY a k).2) x = _ at hx + simpa only [map_add, map_smul, ZeroAtInftyContinuousMap.add_apply, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul] using hx + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousL2Product.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousL2Product.lean new file mode 100644 index 0000000000000000000000000000000000000000..515bf2081c8aeecf1ae4fe3912631ec51913861c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousL2Product.lean @@ -0,0 +1,117 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchwartzObservation + +namespace OAI + +/-! # Actual multiplication of physical L² data by a Y coefficient + +The coefficient is the bounded continuous physical representative. This +bilinear map supplies the principal part of each top-order derivative. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure E) + +private theorem physicalL2Product_memLp (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (V : HomogeneousY a k) (u : H) : + MemLp (fun x => homogeneousPhysicalCLM a k ha ha1 hk V x * u x) 2 volume := by + apply (Lp.memLp u).of_le_mul + ((homogeneousPhysicalCLM a k ha ha1 hk V).continuous.aestronglyMeasurable.mul + (Lp.aestronglyMeasurable u)) + filter_upwards [] with x + exact (norm_mul _ _).trans_le + (mul_le_mul_of_nonneg_right + (homogeneousPhysical_point_bound a k ha ha1 hk V x) (norm_nonneg _)) + +noncomputable def homogeneousPhysicalL2ProductValue (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (V : HomogeneousY a k) (u : H) : H := + (physicalL2Product_memLp a k ha ha1 hk V u).toLp + (fun x => homogeneousPhysicalCLM a k ha ha1 hk V x * u x) + +theorem homogeneousPhysicalL2ProductValue_ae (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (V : HomogeneousY a k) (u : H) : + homogeneousPhysicalL2ProductValue a k ha ha1 hk V u =ᵐ[volume] + (fun x => homogeneousPhysicalCLM a k ha ha1 hk V x * u x) := + MemLp.coeFn_toLp _ + +theorem homogeneousPhysicalL2ProductValue_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (V : HomogeneousY a k) (u : H) : + ‖homogeneousPhysicalL2ProductValue a k ha ha1 hk V u‖ ≤ + ‖homogeneousPointEvaluation a k ha ha1 hk 0‖ * ‖V‖ * ‖u‖ := by + apply Lp.norm_le_mul_norm_of_ae_le_mul + filter_upwards [homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V u] with x hx + rw [hx, norm_mul] + exact mul_le_mul_of_nonneg_right + (homogeneousPhysical_point_bound a k ha ha1 hk V x) (norm_nonneg _) + +noncomputable def homogeneousPhysicalL2Product (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + HomogeneousY a k →L[ℂ] H →L[ℂ] H := + let A := homogeneousPhysicalL2ProductValue a k ha ha1 hk + let B : HomogeneousY a k →ₗ[ℂ] H →ₗ[ℂ] H := LinearMap.mk₂ ℂ A + (fun V W u => by + apply Lp.ext + filter_upwards [homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk (V + W) u, + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V u, + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk W u, + Lp.coeFn_add (A V u) (A W u)] with x hsum hV hW hout + change A (V + W) u x = (A V u + A W u : H) x + rw [hsum, hout, Pi.add_apply, hV, hW, map_add, + ZeroAtInftyContinuousMap.add_apply, add_mul]) + (fun c V u => by + apply Lp.ext + filter_upwards [homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk (c • V) u, + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V u, + Lp.coeFn_smul c (A V u)] with x hcv hV hout + change A (c • V) u x = (c • A V u : H) x + rw [hcv, hout, Pi.smul_apply, hV, map_smul, + ZeroAtInftyContinuousMap.smul_apply] + simp only [smul_eq_mul] + ring) + (fun V u v => by + apply Lp.ext + filter_upwards [homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V (u + v), + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V u, + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V v, + Lp.coeFn_add u v, Lp.coeFn_add (A V u) (A V v)] with x hsum hu hv hin hout + change A V (u + v) x = (A V u + A V v : H) x + rw [hsum, hout, hin, Pi.add_apply, Pi.add_apply, hu, hv, mul_add]) + (fun c V u => by + apply Lp.ext + filter_upwards [homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V (c • u), + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk V u, + Lp.coeFn_smul c u, Lp.coeFn_smul c (A V u)] with x hcu hu hin hout + change A V (c • u) x = (c • A V u : H) x + rw [hcu, hout, hin, Pi.smul_apply, Pi.smul_apply, hu] + simp only [smul_eq_mul] + ring) + B.mkContinuous₂ ‖homogeneousPointEvaluation a k ha ha1 hk 0‖ + (homogeneousPhysicalL2ProductValue_norm_le a k ha ha1 hk) + +@[simp] theorem homogeneousPhysicalL2Product_apply (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (V : HomogeneousY a k) (u : H) : + homogeneousPhysicalL2Product a k ha ha1 hk V u = + homogeneousPhysicalL2ProductValue a k ha ha1 hk V u := rfl + +theorem homogeneousPhysicalL2Product_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (V f : 𝓢(E, ℂ)) : + homogeneousPhysicalL2Product a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) (f.toLp 2 volume) = + (SchwartzMap.smulLeftCLM ℂ V f).toLp 2 volume := by + apply Lp.ext + filter_upwards [homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) (f.toLp 2 volume), + SchwartzMap.coeFn_toLp f 2 volume, + SchwartzMap.coeFn_toLp (SchwartzMap.smulLeftCLM ℂ V f) 2 volume] with x hprod hf hout + change homogeneousPhysicalL2ProductValue a k ha ha1 hk _ _ x = _ + rw [hprod, homogeneousPhysicalCLM_Schwartz, hf, hout, + SchwartzMap.smulLeftCLM_apply_apply V.hasTemperateGrowth, smul_eq_mul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLaplacianDomain.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLaplacianDomain.lean new file mode 100644 index 0000000000000000000000000000000000000000..974aecb6a5cbd62143f7de02bb641827de4ff893 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLaplacianDomain.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLowerOrder +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalLaplacian + +namespace OAI + +/-! # Two extra Fourier orders put the physical Laplacian in Y -/ + +open MeasureTheory +open scoped Laplacian RealInnerProductSpace + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousFourierWeight_laplacian (a k : ℝ) (ha : 0 < a) (hk : 8 < k) (ξ : E) : + homogeneousFourierWeight a k ξ * ‖ξ‖ ^ 4 ≤ 2 * homogeneousFourierWeight a (k + 2) ξ := by + by_cases hzero : ‖ξ‖ = 0 + · simp only [homogeneousFourierWeight, hzero, zero_pow (by norm_num : (4 : ℕ) ≠ 0), mul_zero] + positivity + have hr : 0 < ‖ξ‖ := lt_of_le_of_ne (norm_nonneg _) (Ne.symm hzero) + have hlo : ‖ξ‖ ^ (2 * (6 - a) + 4) ≤ + ‖ξ‖ ^ (2 * (6 - a)) + ‖ξ‖ ^ (2 * (k + 2)) := by + by_cases h : ‖ξ‖ ≤ 1 + · exact (Real.rpow_le_rpow_of_exponent_ge hr h (by linarith)).trans + (le_add_of_nonneg_right (by positivity)) + · exact (Real.rpow_le_rpow_of_exponent_le (le_of_not_ge h) (by linarith)).trans + (le_add_of_nonneg_left (by positivity)) + have hhi : 2 * k + 4 = 2 * (k + 2) := by ring + unfold homogeneousFourierWeight + rw [mul_assoc, add_mul, ← Real.rpow_natCast ‖ξ‖ 4, ← Real.rpow_add hr, + ← Real.rpow_add hr] + norm_num only [Nat.cast_ofNat] + rw [hhi] + have hnon : 0 ≤ ‖ξ‖ ^ (2 * (6 - a)) := by positivity + have hsum : ‖ξ‖ ^ (2 * (6 - a) + 4) + ‖ξ‖ ^ (2 * (k + 2)) ≤ + 2 * (‖ξ‖ ^ (2 * (6 - a)) + ‖ξ‖ ^ (2 * (k + 2))) := by linarith + calc + _ ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (2 * (‖ξ‖ ^ (2 * (6 - a)) + ‖ξ‖ ^ (2 * (k + 2)))) := + mul_le_mul_of_nonneg_left hsum (by positivity) + _ = _ := by ring + +theorem homogeneous_memLp_laplacian (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a (k + 2)) : + MemLp (fun ξ => (-(‖ξ‖ ^ 2 : ℝ) : ℂ) * u ξ) 2 (homogeneousFourierMeasure a k) := by + have hk2 : 8 < k + 2 := by linarith + have hm := (continuous_homogeneousFourierWeight a k ha1 hk).measurable + have hm2 := (continuous_homogeneousFourierWeight a (k + 2) ha1 hk2).measurable + have hu := (Lp.memLp u).aestronglyMeasurable.mono_ac + (volume_absolutelyContinuous_homogeneousFourierMeasure a (k + 2) ha1 hk2) + have hmul : AEStronglyMeasurable (fun ξ : E => (-(‖ξ‖ ^ 2 : ℝ) : ℂ) * u ξ) volume := + (by fun_prop : Continuous (fun ξ : E => (-(‖ξ‖ ^ 2 : ℝ) : ℂ))).aestronglyMeasurable.mul hu + apply (memLp_two_iff_integrable_sq_norm + (hmul.mono_ac (withDensity_absolutelyContinuous volume _))).mpr + apply (integrable_withDensity_iff_integrable_smul' (μ := volume) + hm.ennreal_ofReal (ae_of_all _ fun _ => ENNReal.ofReal_lt_top)).mpr + simp only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k _), smul_eq_mul] + have hs := (memLp_two_iff_integrable_sq_norm (Lp.memLp u).aestronglyMeasurable).mp (Lp.memLp u) + have hw := (integrable_withDensity_iff_integrable_smul' (μ := volume) + hm2.ennreal_ofReal (ae_of_all _ fun _ => ENNReal.ofReal_lt_top)).mp hs + simp only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a (k + 2) _), smul_eq_mul] at hw + apply (hw.const_mul 2).mono' (hm.aestronglyMeasurable.mul (hmul.norm.pow 2)) + filter_upwards [] with ξ + dsimp only [Pi.mul_apply, Pi.pow_apply] + rw [Real.norm_eq_abs, abs_of_nonneg (mul_nonneg (homogeneousFourierWeight_nonneg a k ξ) (sq_nonneg _))] + have hn : ‖(-(‖ξ‖ ^ 2 : ℝ) : ℂ) * u ξ‖ ^ 2 = ‖ξ‖ ^ 4 * ‖u ξ‖ ^ 2 := by + simp only [norm_mul, norm_neg, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (sq_nonneg ‖ξ‖), mul_pow, ← pow_mul, Nat.reduceMul] + rw [hn] + calc + _ = (homogeneousFourierWeight a k ξ * ‖ξ‖ ^ 4) * ‖u ξ‖ ^ 2 := by ring + _ ≤ (2 * homogeneousFourierWeight a (k + 2) ξ) * ‖u ξ‖ ^ 2 := + mul_le_mul_of_nonneg_right (homogeneousFourierWeight_laplacian a k ha hk ξ) (sq_nonneg _) + _ = _ := by ring + +theorem exists_homogeneous_laplacian_of_higher_order (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a (k + 2)) : + ∃ v : HomogeneousY a k, ∀ x, + homogeneousPhysicalCLM a k ha ha1 hk v x = + Δ (fun y : E => homogeneousPhysicalCLM a (k + 2) ha ha1 (by linarith) u y) x := by + let h := homogeneous_memLp_laplacian a k ha ha1 hk u + refine ⟨h.toLp _, ?_⟩ + intro x + have he := h.coeFn_toLp.filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + change inverseRadianFourier (h.toLp _) x = _ + rw [inverseRadianFourier_congr_ae he, laplacian_homogeneousPhysical] + simp only [inverseRadianFourier, radianFourierIntegral, inner_neg_right, neg_neg] + push_cast + congr 1 + apply integral_congr_ae + filter_upwards [] with ξ + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLaplacianFrequency.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLaplacianFrequency.lean new file mode 100644 index 0000000000000000000000000000000000000000..0c09d77980db8ce01483a66f3d3bb831ef0d99f3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLaplacianFrequency.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalInjective +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalLaplacian + +namespace OAI + +/-! # The Fourier representative of a classical Laplacian in Y -/ + +open MeasureTheory +open scoped Laplacian RealInnerProductSpace + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_laplacian_frequency (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (q qL : HomogeneousY a k) + (hL : ∀ x, homogeneousPhysicalCLM a k ha ha1 hk qL x = + Δ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) x) : + (qL : E → ℂ) =ᵐ[volume] (fun ξ => (-(‖ξ‖ ^ 2 : ℝ) : ℂ) * q ξ) := by + have hq := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp q)).1 + have hm : Integrable (fun ξ : E => (-(‖ξ‖ ^ 2 : ℝ) : ℂ) * q ξ) := by + apply (integrable_homogeneousFourier_secondMoment a k ha ha1 hk q).mono' + ((by fun_prop : Continuous (fun ξ : E => (-(‖ξ‖ ^ 2 : ℝ) : ℂ))).aestronglyMeasurable.mul + hq.aestronglyMeasurable) + filter_upwards [] with ξ + change ‖(-((‖ξ‖ ^ 2 : ℝ) : ℂ)) * q ξ‖ ≤ ‖ξ‖ ^ 2 * ‖q ξ‖ + simp only [norm_mul, norm_neg, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (sq_nonneg ‖ξ‖), le_refl] + apply inverseRadianFourier_injective_ae + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp qL)).1 hm + funext x + change homogeneousPhysicalCLM a k ha ha1 hk qL x = _ + rw [hL, laplacian_homogeneousPhysical] + simp only [inverseRadianFourier, radianFourierIntegral, inner_neg_right, neg_neg] + push_cast + congr 1 + apply integral_congr_ae + filter_upwards [] with ξ + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearization.lean new file mode 100644 index 0000000000000000000000000000000000000000..a1a687691e541774adbcb6f9c19cb8dc81d945ee --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearization.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousNonlinearity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPotentialPicard + +namespace OAI + +/-! # Actual pointwise linearized potential on the homogeneous space -/ + +open Set +open scoped ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousPointEvaluation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (y : E) : HomogeneousY a k →L[ℂ] ℂ where + toFun f := homogeneousPhysicalCLM a k ha ha1 hk f y + map_add' f g := by simp only [map_add, ZeroAtInftyContinuousMap.add_apply] + map_smul' c f := by simp only [map_smul, ZeroAtInftyContinuousMap.smul_apply, RingHom.id_apply] + cont := ((BoundedContinuousFunction.evalCLM ℂ y).continuous.comp + ZeroAtInftyContinuousMap.isometry_toBCF.continuous).comp + (homogeneousPhysicalCLM a k ha ha1 hk).continuous + +theorem homogeneousOddPower_fderiv_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q v : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) q v) y = + oddPowerDerivative m (homogeneousPhysicalCLM a k ha ha1 hk q y) + (homogeneousPhysicalCLM a k ha ha1 hk v y) := by + let L := (homogeneousPointEvaluation a k ha ha1 hk y).restrictScalars ℝ + have hL (f : HomogeneousY a k) : L f = homogeneousPhysicalCLM a k ha ha1 hk f y := rfl + have hN := ((contDiff_homogeneousOddPower a k ha ha1 hk m).differentiable (by simp) q).hasFDerivAt + have hleft := L.hasFDerivAt.comp q hN + have hright := (hasFDerivAt_oddPowerNonlinearity m (L q)).comp q L.hasFDerivAt + have heq : (fun f : HomogeneousY a k => L (homogeneousOddPower a k ha ha1 hk m f)) = + (fun f : HomogeneousY a k => oddPowerNonlinearity m (L f)) := by + funext f + simpa only [hL] using homogeneousOddPower_physical a k ha ha1 hk m f y + have hderiv : L.comp (fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) q) = + (oddPowerDerivative m (L q)).comp L := by + apply hleft.unique + simpa only [Function.comp_def, ← heq] using hright + have h := congrArg (fun T : HomogeneousY a k →L[ℝ] ℂ => T v) hderiv + simpa only [ContinuousLinearMap.comp_apply, hL] using h + +/-- The Schrödinger linearization is a bounded real operator on the actual Y space. -/ +noncomputable def homogeneousLinearizedPotential (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) : + HomogeneousY a k →L[ℝ] HomogeneousY a k := + (-Complex.I : ℂ) • fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) q + +theorem homogeneousLinearizedPotential_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q v : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousLinearizedPotential a k ha ha1 hk m q v) y = + -Complex.I * oddPowerDerivative m (homogeneousPhysicalCLM a k ha ha1 hk q y) + (homogeneousPhysicalCLM a k ha ha1 hk v y) := by + simp only [homogeneousLinearizedPotential, smul_apply, map_smul, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul, homogeneousOddPower_fderiv_physical] + +/-- The previously constructed finite-slab flow applies to the actual profile linearization. -/ +theorem existsUnique_homogeneousLinearized_finiteSlab (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) (m : ℕ) + (q u₀ : HomogeneousY a k) : + ∃! u : C(Icc (0 : ℝ) T, HomogeneousY a k), ∀ t : Icc (0 : ℝ) T, + u t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousPotentialHistory T hT (homogeneousLinearizedPotential a k ha ha1 hk m q) u) := + existsUnique_homogeneousPotential_finiteSlab a b k T ha ha1 hk hT + (homogeneousLinearizedPotential a k ha ha1 hk m q) u₀ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..0ce845af08199364cdd74c6334e3c4db8a9c27d7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedBound.lean @@ -0,0 +1,100 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDuhamelRestart + +namespace OAI + +/-! # Quantitative bounds for the true whole-space linearized evolution + +The Bielecki argument already constructs the mild trajectories. Its fixed +point estimate gives a data bound on every finite slab, for the actual +bounded real-linear derivative of the odd-power potential. +-/ + +open Set + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +private theorem homogeneousPotentialBielecki_zero_norm_le + (a b k T η : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hT : 0 ≤ T) (hη : 0 ≤ η) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) (u₀ : HomogeneousY a k) : + ‖homogeneousPotentialBielecki a b k T η ha ha1 hk hT B u₀ 0‖ ≤ ‖u₀‖ := by + apply (ContinuousMap.norm_le _ (norm_nonneg u₀)).2 + intro t + have hz : homogeneousPotentialHistory T hT B + (homogeneousTimeWeight T η (0 : C(Icc (0 : ℝ) T, HomogeneousY a k))) = fun _ => 0 := by + funext s + change B (Real.exp (η * (projIcc 0 T hT s : ℝ)) • (0 : HomogeneousY a k)) = 0 + rw [smul_zero, map_zero] + change ‖Real.exp (-η * (t : ℝ)) • + (homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousPotentialHistory T hT B (homogeneousTimeWeight T η 0)))‖ ≤ ‖u₀‖ + rw [hz, homogeneousDuhamel_zero, add_zero, norm_smul, Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _)] + have hf : ‖homogeneousFreeOperator a b k t ha ha1 hk u₀‖ ≤ ‖u₀‖ := + (homogeneousFreeOperator_forward_bound a b k t ha ha1 hk t.2.1 u₀).trans + (mul_le_of_le_one_left (norm_nonneg _) (Real.exp_le_one_iff.mpr (by + nlinarith [t.2.1]))) + exact (mul_le_mul_of_nonneg_left hf (Real.exp_pos _).le).trans + (mul_le_of_le_one_left (norm_nonneg _) (Real.exp_le_one_iff.mpr (by + nlinarith [mul_nonneg hη t.2.1]))) + +theorem homogeneousPotential_mild_bound + (a b k T : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) (u₀ : HomogeneousY a k) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) + (hu : ∀ t : Icc (0 : ℝ) T, u t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t (homogeneousPotentialHistory T hT B u)) + (t : Icc (0 : ℝ) T) : + ‖u t‖ ≤ 2 * Real.exp ((2 * (‖B‖ + 1)) * (t : ℝ)) * ‖u₀‖ := by + let η := 2 * (‖B‖ + 1) + have hη : 0 < η := by dsimp [η]; positivity + let v := homogeneousTimeWeight T (-η) u + let P := homogeneousPotentialBielecki a b k T η ha ha1 hk hT B u₀ + have hp : homogeneousPotentialPicard a b k T ha ha1 hk hT B u₀ u = u := by + apply ContinuousMap.ext + intro s + exact (hu s).symm + have hv : P v = v := by + dsimp only [P, v, homogeneousPotentialBielecki] + rw [homogeneousTimeWeight_cancel, hp] + have hz : ‖P 0‖ ≤ ‖u₀‖ := + homogeneousPotentialBielecki_zero_norm_le a b k T η ha ha1 hk hT hη.le B u₀ + have hdist := homogeneousPotentialBielecki_dist_le a b k T η ha ha1 hk hT hη B u₀ v 0 + change dist (P v) (P 0) ≤ _ at hdist + rw [hv, dist_eq_norm, dist_zero_right] at hdist + have hratio : ‖B‖ / η ≤ 1 / 2 := (div_le_iff₀ hη).mpr (by dsimp [η]; nlinarith) + have htri : ‖v‖ ≤ ‖v - P 0‖ + ‖P 0‖ := by + calc + ‖v‖ = ‖(v - P 0) + P 0‖ := by rw [sub_add_cancel] + _ ≤ _ := norm_add_le _ _ + have hdist' : ‖v - P 0‖ ≤ (1 / 2 : ℝ) * ‖v‖ := + hdist.trans (mul_le_mul_of_nonneg_right hratio (norm_nonneg v)) + have hvbound : ‖v‖ ≤ 2 * ‖u₀‖ := by linarith + have heq : Real.exp (η * (t : ℝ)) • v t = u t := by + exact congrArg (fun w : C(Icc (0 : ℝ) T, HomogeneousY a k) => w t) + (homogeneousTimeWeight_cancel T η u) + rw [← heq, norm_smul, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _)] + calc + _ ≤ Real.exp (η * (t : ℝ)) * (2 * ‖u₀‖) := + mul_le_mul_of_nonneg_left ((ContinuousMap.norm_coe_le_norm v t).trans hvbound) + (Real.exp_pos _).le + _ = _ := by dsimp [η]; ring + +theorem homogeneousLinearized_mild_bound + (a b k T : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (m : ℕ) (q u₀ : HomogeneousY a k) (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) + (hu : ∀ t : Icc (0 : ℝ) T, u t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousPotentialHistory T hT (homogeneousLinearizedPotential a k ha ha1 hk m q) u)) + (t : Icc (0 : ℝ) T) : + ‖u t‖ ≤ 2 * Real.exp + ((2 * (‖homogeneousLinearizedPotential a k ha ha1 hk m q‖ + 1)) * (t : ℝ)) * ‖u₀‖ := + homogeneousPotential_mild_bound a b k T ha ha1 hk hT _ u₀ u hu t + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedCommutator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedCommutator.lean new file mode 100644 index 0000000000000000000000000000000000000000..96cfbb477356c14313987b507a305086f5a40d64 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedCommutator.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorPotential +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDerivativeConjugation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedCompact + +namespace OAI + +/-! # Compact top-order error for the actual odd-power linearization + +The first two terms in the displayed identity are exactly the pointwise +principal coefficients acting on the ordered derivative. The remaining +real-linear map vanishes strongly on every bounded weakly null sequence. +-/ + +open MeasureTheory Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure E) + +noncomputable def homogeneousLinearizedTopCommutator (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) : + HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] H := + ((homogeneousTopCommutator a (N + 1) ha ha1 hk j + (homogeneousLinearizedFirstCoefficient a ((N + 1 : ℕ) : ℝ) ha ha1 hk m q)).restrictScalars ℝ) + + ((homogeneousTopCommutator a (N + 1) ha ha1 hk j + (homogeneousLinearizedSecondCoefficient a ((N + 1 : ℕ) : ℝ) ha ha1 hk m q)).restrictScalars ℝ).comp + (homogeneousConjugation a ((N + 1 : ℕ) : ℝ) ha ha1 hk) + +theorem homogeneousLinearized_ordered_derivative (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (m : ℕ) (q u : HomogeneousY a ((N + 1 : ℕ) : ℝ)) : + homogeneousPhysicalDerivative a (N + 1) ha ha1 hk j + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u) = + homogeneousPhysicalL2Product a ((N + 1 : ℕ) : ℝ) ha ha1 hk + (homogeneousLinearizedFirstCoefficient a ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) + (homogeneousPhysicalDerivative a (N + 1) ha ha1 hk j u) + + homogeneousPhysicalL2Product a ((N + 1 : ℕ) : ℝ) ha ha1 hk + (homogeneousLinearizedSecondCoefficient a ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) + (star (homogeneousPhysicalDerivative a (N + 1) ha ha1 hk j u)) + + homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u := by + rw [homogeneousLinearizedPotential_decomposition, map_add] + simp only [homogeneousLinearizedTopCommutator, add_apply, + ContinuousLinearMap.comp_apply, ContinuousLinearMap.coe_restrictScalars', + homogeneousTopCommutator_apply, homogeneousTopCommutatorValue, + homogeneousPhysicalDerivative_conjugation] + abel + +theorem tendsto_homogeneousLinearizedTopCommutator (a M : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) + (u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ)) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousLinearizedTopCommutator a N ha ha1 hk j m q (u n)) + atTop (𝓝 0) := by + have hfirst := tendsto_homogeneousTopCommutator a M N ha ha1 hk j + (homogeneousLinearizedFirstCoefficient a ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) u hu hweak + have hconj (ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ) : + Tendsto (fun n => ℓ (homogeneousConjugation a ((N + 1 : ℕ) : ℝ) ha ha1 hk (u n))) atTop (𝓝 0) := + hweak (ℓ.comp (homogeneousConjugation a ((N + 1 : ℕ) : ℝ) ha ha1 hk)) + have hsecond := tendsto_homogeneousTopCommutator a M N ha ha1 hk j + (homogeneousLinearizedSecondCoefficient a ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) + (fun n => homogeneousConjugation a ((N + 1 : ℕ) : ℝ) ha ha1 hk (u n)) + (fun n => by simpa only [homogeneousConjugation_norm] using hu n) hconj + simpa only [homogeneousLinearizedTopCommutator, add_apply, + ContinuousLinearMap.comp_apply, ContinuousLinearMap.coe_restrictScalars', add_zero] using + hfirst.add hsecond + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedCompact.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedCompact.lean new file mode 100644 index 0000000000000000000000000000000000000000..05aa6b4fdce9cc233c64fd482f4bdd0b32adc9ac --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedCompact.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousProductCompact +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization + +namespace OAI + +/-! # Compact low-order part of the actual linearized potential + +The two coefficients of the odd-power derivative are actual vectors in Y. +Their physical formulas identify the algebraic decomposition, so the +low-order compactness theorem applies directly to the Schrödinger potential. +-/ + +open Filter Topology +open scoped ComplexConjugate ZeroAtInfty + +namespace DefocusingNLS + +noncomputable def homogeneousLinearizedFirstCoefficient (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) : + HomogeneousY a k := + (-Complex.I * ((m + 2 : ℕ) : ℂ)) • + homogeneousYProduct a k ha ha1 hk (homogeneousOddPower a k ha ha1 hk m q) + (homogeneousConjugation a k ha ha1 hk q) + +noncomputable def homogeneousLinearizedSecondCoefficient (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) : + HomogeneousY a k := + (-Complex.I * ((m + 1 : ℕ) : ℂ)) • + homogeneousYProduct a k ha ha1 hk (homogeneousOddPower a k ha ha1 hk m q) q + +theorem homogeneousLinearizedPotential_decomposition (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q v : HomogeneousY a k) : + homogeneousLinearizedPotential a k ha ha1 hk (m + 1) q v = + homogeneousYProduct a k ha ha1 hk + (homogeneousLinearizedFirstCoefficient a k ha ha1 hk m q) v + + homogeneousYProduct a k ha ha1 hk + (homogeneousLinearizedSecondCoefficient a k ha ha1 hk m q) + (homogeneousConjugation a k ha ha1 hk v) := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + apply DFunLike.ext + intro x + rw [homogeneousLinearizedPotential_physical, map_add, ZeroAtInftyContinuousMap.add_apply] + simp only [homogeneousYProduct_physical, homogeneousLinearizedFirstCoefficient, + homogeneousLinearizedSecondCoefficient, map_smul, ZeroAtInftyContinuousMap.smul_apply, + homogeneousConjugation_physical, homogeneousOddPower_physical, smul_eq_mul, + oddPowerDerivative, oddPowerNonlinearity, add_apply, + smul_apply, ContinuousLinearMap.id_apply, ContinuousLinearEquiv.coe_coe, + starL'_apply, starRingEnd_apply, Nat.add_sub_cancel, Nat.cast_add, Nat.cast_one, pow_succ] + ring + +theorem tendsto_homogeneousLowEnergy_linearizedPotential (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousLowEnergy a k ha1 hk + (homogeneousLinearizedPotential a k ha ha1 hk (m + 1) q (u n))) atTop (𝓝 0) := by + have hfirst := tendsto_homogeneousLowEnergy_product a k M ha ha1 hk + (homogeneousLinearizedFirstCoefficient a k ha ha1 hk m q) u hu hweak + have hconj (ℓ : HomogeneousY a k →L[ℝ] ℂ) : + Tendsto (fun n => ℓ (homogeneousConjugation a k ha ha1 hk (u n))) atTop (𝓝 0) := + hweak (ℓ.comp (homogeneousConjugation a k ha ha1 hk)) + have hsecond := tendsto_homogeneousLowEnergy_product a k M ha ha1 hk + (homogeneousLinearizedSecondCoefficient a k ha ha1 hk m q) + (fun n => homogeneousConjugation a k ha ha1 hk (u n)) + (fun n => by simpa only [homogeneousConjugation_norm] using hu n) hconj + simpa only [homogeneousLinearizedPotential_decomposition, map_add, add_zero] using + hfirst.add hsecond + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedDomain.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedDomain.lean new file mode 100644 index 0000000000000000000000000000000000000000..bd13bc6beb133d28208fbc2ebfb33fab80d5dead --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedDomain.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeDomain +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGeneratorPerturbation + +namespace OAI + +/-! # The reverse domain inclusion for the actual linearized evolution -/ + +open Set +open scoped Laplacian ZeroAtInfty + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +attribute [local irreducible] homogeneousFreeOperator homogeneousLinearizedStep + +theorem homogeneousLinearized_derivWithin_of_free (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q u v : HomogeneousY a k) + (hu : HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk u) + v (Ici 0) 0) : + HasDerivWithinAt (fun t : ℝ => homogeneousLinearizedStep a b k ha ha1 hk m q t.toNNReal u) + (v + homogeneousLinearizedPotential a k ha ha1 hk m q u) (Ici 0) 0 := by + have hD := (hasDerivAt_homogeneousDuhamel_zero a b k ha ha1 hk + (homogeneousLinearizedHistory a b k ha ha1 hk m q u) + (continuous_homogeneousLinearizedHistory a b k ha ha1 hk m q u)).hasDerivWithinAt + (s := Ici 0) + rw [homogeneousLinearizedHistory_zero] at hD + apply (hu.add hD).congr_of_mem _ (by simp only [mem_Ici]; exact le_rfl) + intro t ht + have he := homogeneousLinearizedStep_duhamel a b k ha ha1 hk m q t.toNNReal u + simpa only [Pi.add_apply, Real.coe_toNNReal t ht] using he + +theorem homogeneousLinearized_hasDerivWithinAt_of_classical (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q u uL v : HomogeneousY a k) + (hL : ∀ x, homogeneousPhysicalCLM a k ha ha1 hk uL x = + Δ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) x) + (hv : ∀ x, homogeneousPhysicalCLM a k ha ha1 hk v x = + Complex.I * Δ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) x - + (1 / 2 : ℂ) * fderiv ℝ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) x x + + (-(a : ℂ) + Complex.I * (b : ℂ)) * homogeneousPhysicalCLM a k ha ha1 hk u x - + Complex.I * oddPowerDerivative m (homogeneousPhysicalCLM a k ha ha1 hk q x) + (homogeneousPhysicalCLM a k ha ha1 hk u x)) : + HasDerivWithinAt (fun t : ℝ => homogeneousLinearizedStep a b k ha ha1 hk m q t.toNNReal u) + v (Ici 0) 0 := by + let B := homogeneousLinearizedPotential a k ha ha1 hk m q + let g := v - B u - Complex.I • uL - (Complex.I * (b : ℂ)) • u + have hg (x : E) : homogeneousPhysicalCLM a k ha ha1 hk g x = + -(a : ℂ) * homogeneousPhysicalCLM a k ha ha1 hk u x - + (1 / 2 : ℂ) * fderiv ℝ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) x x := by + simp only [g, B, map_sub, map_smul, ZeroAtInftyContinuousMap.sub_apply, + ZeroAtInftyContinuousMap.smul_apply, smul_eq_mul, + homogeneousLinearizedPotential_physical, hv, hL] + ring + have h := homogeneousLinearized_derivWithin_of_free a b k ha ha1 hk m q u _ + (homogeneousFree_hasDerivWithinAt_of_classical a b k ha ha1 hk u uL g hL hg) + convert h using 1 + dsimp only [g, B] + module + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..650f8e92f0394f235ec8f76b6332ca47e6486474 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedEnergy.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMildEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedFlow + +namespace OAI + +/-! # Energy balance for the actual linearized propagator + +The continuous potential history used to construct the finite-slab flow +gives exactly the energy pairing with the true odd-power derivative. +This specialization retains the manuscript's two homogeneous energies. +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +theorem homogeneousLinearizedTrajectory_energy_balance + (a b k T : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (m : ℕ) (q f : HomogeneousY a k) (t : Icc (0 : ℝ) T) : + let S := homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q f + let B := homogeneousLinearizedPotential a k ha ha1 hk m q + ‖S t‖ ^ 2 = ‖f‖ ^ 2 + ∫ τ in (0 : ℝ)..(t : ℝ), + -a * ‖homogeneousLowEnergy a k ha1 hk (S (projIcc 0 T hT τ))‖ ^ 2 + + (6 - 2 * a - k) * ‖homogeneousHighEnergy a k ha1 hk (S (projIcc 0 T hT τ))‖ ^ 2 + + 2 * inner ℝ (S (projIcc 0 T hT τ)) (B (S (projIcc 0 T hT τ))) := by + dsimp only + let S := homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q f + let B := homogeneousLinearizedPotential a k ha ha1 hk m q + let r := homogeneousPotentialHistory T hT B S + let u := homogeneousForcedTrajectory a b k ha ha1 hk f r + have hr : Continuous r := continuous_homogeneousPotentialHistory T hT B S + have hu (τ : ℝ) (hτ : τ ∈ Icc (0 : ℝ) T) : u τ = S (projIcc 0 T hT τ) := by + change homogeneousFreeOperator a b k τ ha ha1 hk f + + homogeneousDuhamel a b k ha ha1 hk τ r = S (projIcc 0 T hT τ) + have hp : projIcc 0 T hT τ = ⟨τ, hτ⟩ := by + apply Subtype.ext + exact congrArg Subtype.val (projIcc_of_mem hT hτ) + rw [hp] + exact (homogeneousLinearizedTrajectory_eq a b k T ha ha1 hk hT m q f ⟨τ, hτ⟩).symm + have ht : u (t : ℝ) = S t := by + rw [hu t t.2] + congr 1 + apply Subtype.ext + exact congrArg Subtype.val (projIcc_of_mem hT t.2) + have he := homogeneousForcedEnergy_balance a b k ha ha1 hk f r hr t + change ‖u (t : ℝ)‖ ^ 2 = _ at he + rw [ht] at he + change ‖S t‖ ^ 2 = _ + rw [he] + congr 1 + apply intervalIntegral.integral_congr + intro τ hτ + have hτ' : τ ∈ Icc (0 : ℝ) T := by + rw [uIcc_of_le t.2.1] at hτ + exact ⟨hτ.1, hτ.2.trans t.2.2⟩ + dsimp only [u] at hu + dsimp only + rw [hu τ hτ'] + rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedFlow.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedFlow.lean new file mode 100644 index 0000000000000000000000000000000000000000..0c6db79af0aa45183a89b5f17e1611e56e9dfdf0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedFlow.lean @@ -0,0 +1,134 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedBound + +namespace OAI + +/-! # Bounded real-linear propagators for the actual profile potential + +The potential is the Fréchet derivative of the actual odd-power map at q. +Its finite-slab trajectory is linear in the data, quantitatively bounded, +and jointly continuous in the elapsed time and the initial vector. +-/ + +open Set + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +section + +variable (a b k T : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hT : 0 ≤ T) (m : ℕ) (q : HomogeneousY a k) + +local notation "B" => homogeneousLinearizedPotential a k ha ha1 hk m q + +noncomputable def homogeneousLinearizedTrajectory (u₀ : HomogeneousY a k) : + C(Icc (0 : ℝ) T, HomogeneousY a k) := + Classical.choose (existsUnique_homogeneousLinearized_finiteSlab + a b k T ha ha1 hk hT m q u₀).exists + +local notation "S" => homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q + +theorem homogeneousLinearizedTrajectory_eq (u₀ : HomogeneousY a k) + (t : Icc (0 : ℝ) T) : + S u₀ t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t (homogeneousPotentialHistory T hT B (S u₀)) := + Classical.choose_spec (existsUnique_homogeneousLinearized_finiteSlab + a b k T ha ha1 hk hT m q u₀).exists t + +theorem homogeneousLinearizedTrajectory_unique (u₀ : HomogeneousY a k) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) + (hu : ∀ t : Icc (0 : ℝ) T, u t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t (homogeneousPotentialHistory T hT B u)) : + u = S u₀ := + (existsUnique_homogeneousLinearized_finiteSlab a b k T ha ha1 hk hT m q u₀).unique + hu (homogeneousLinearizedTrajectory_eq a b k T ha ha1 hk hT m q u₀) + +private theorem linearized_history_zero : homogeneousPotentialHistory T hT B 0 = fun _ => 0 := by + funext t + simp only [homogeneousPotentialHistory, ContinuousMap.zero_apply, map_zero] + +private theorem linearized_history_add (u v : C(Icc (0 : ℝ) T, HomogeneousY a k)) : + homogeneousPotentialHistory T hT B (u + v) = fun t => + homogeneousPotentialHistory T hT B u t + homogeneousPotentialHistory T hT B v t := by + funext t + exact map_add B _ _ + +private theorem linearized_history_smul (c : ℝ) (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) : + homogeneousPotentialHistory T hT B (c • u) = fun t => + c • homogeneousPotentialHistory T hT B u t := by + funext t + exact map_smul B c _ + +@[simp] theorem homogeneousLinearizedTrajectory_zero : S 0 = 0 := by + symm + apply homogeneousLinearizedTrajectory_unique a b k T ha ha1 hk hT m q + intro t + rw [linearized_history_zero a k T ha ha1 hk hT m q, homogeneousDuhamel_zero, + map_zero, add_zero] + rfl + +theorem homogeneousLinearizedTrajectory_add (u₀ v₀ : HomogeneousY a k) : + S (u₀ + v₀) = S u₀ + S v₀ := by + symm + apply homogeneousLinearizedTrajectory_unique a b k T ha ha1 hk hT m q + intro t + rw [linearized_history_add a k T ha ha1 hk hT m q, + homogeneousDuhamel_add a b k t ha ha1 hk _ _ + (continuous_homogeneousPotentialHistory T hT B (S u₀)) + (continuous_homogeneousPotentialHistory T hT B (S v₀)), map_add] + change S u₀ t + S v₀ t = _ + rw [homogeneousLinearizedTrajectory_eq a b k T ha ha1 hk hT m q u₀, + homogeneousLinearizedTrajectory_eq a b k T ha ha1 hk hT m q v₀] + abel + +theorem homogeneousLinearizedTrajectory_smul (c : ℝ) (u₀ : HomogeneousY a k) : + S (c • u₀) = c • S u₀ := by + symm + apply homogeneousLinearizedTrajectory_unique a b k T ha ha1 hk hT m q + intro t + rw [linearized_history_smul a k T ha ha1 hk hT m q, + homogeneousDuhamel_real_smul, ContinuousLinearMap.map_smul_of_tower] + change c • S u₀ t = _ + rw [homogeneousLinearizedTrajectory_eq a b k T ha ha1 hk hT m q u₀, smul_add] + +theorem homogeneousLinearizedTrajectory_norm_le (u₀ : HomogeneousY a k) : + ‖S u₀‖ ≤ 2 * Real.exp ((2 * (‖B‖ + 1)) * T) * ‖u₀‖ := by + apply (ContinuousMap.norm_le _ (by positivity)).2 + intro t + apply (homogeneousLinearized_mild_bound a b k T ha ha1 hk hT m q u₀ + (S u₀) (homogeneousLinearizedTrajectory_eq a b k T ha ha1 hk hT m q u₀) t).trans + exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left + (Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_left t.2.2 (by positivity))) (by norm_num)) + (norm_nonneg u₀) + +noncomputable def homogeneousLinearizedPropagator : + HomogeneousY a k →L[ℝ] C(Icc (0 : ℝ) T, HomogeneousY a k) := + let L : HomogeneousY a k →ₗ[ℝ] C(Icc (0 : ℝ) T, HomogeneousY a k) := + { toFun := S + map_add' := homogeneousLinearizedTrajectory_add a b k T ha ha1 hk hT m q + map_smul' := homogeneousLinearizedTrajectory_smul a b k T ha ha1 hk hT m q } + L.mkContinuous (2 * Real.exp ((2 * (‖B‖ + 1)) * T)) + (homogeneousLinearizedTrajectory_norm_le a b k T ha ha1 hk hT m q) + +@[simp] theorem homogeneousLinearizedPropagator_apply (u₀ : HomogeneousY a k) : + homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q u₀ = S u₀ := rfl + +theorem homogeneousLinearizedPropagator_norm_le : + ‖homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q‖ ≤ + 2 * Real.exp ((2 * (‖B‖ + 1)) * T) := + LinearMap.mkContinuous_norm_le _ (by positivity) + (homogeneousLinearizedTrajectory_norm_le a b k T ha ha1 hk hT m q) + +theorem continuous_homogeneousLinearizedPropagator_apply : + Continuous (fun p : Icc (0 : ℝ) T × HomogeneousY a k => + homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q p.2 p.1) := by + exact continuous_eval.comp + (((homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q).continuous.comp + continuous_snd).prodMk continuous_fst) + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedRestart.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedRestart.lean new file mode 100644 index 0000000000000000000000000000000000000000..aab5e4d6c47e5607be90405adc8add5303cbb052 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedRestart.lean @@ -0,0 +1,118 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedFlow + +namespace OAI + +/-! # Restart for the actual whole-space profile linearization + +Splitting the Duhamel integral proves the autonomous restart identity on +finite slabs. The same physical potential is used on both sides. +-/ + +open Set + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +theorem homogeneousDuhamel_congr_on (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ht : 0 ≤ t) + (r q : ℝ → HomogeneousY a k) (hrq : EqOn r q (Icc 0 t)) : + homogeneousDuhamel a b k ha ha1 hk t r = + homogeneousDuhamel a b k ha ha1 hk t q := by + unfold homogeneousDuhamel + apply intervalIntegral.integral_congr + intro s hs + change homogeneousFreeOperator a b k (t - s) ha ha1 hk (r s) = + homogeneousFreeOperator a b k (t - s) ha ha1 hk (q s) + rw [hrq (by simpa only [uIcc_of_le ht] using hs)] + +theorem homogeneousLinearizedTrajectory_restrict + (a b k S T : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hS : 0 ≤ S) (hST : S ≤ T) (m : ℕ) (q u₀ : HomogeneousY a k) + (t : Icc (0 : ℝ) S) : + homogeneousLinearizedTrajectory a b k T ha ha1 hk (hS.trans hST) m q u₀ + ⟨t, t.2.1, t.2.2.trans hST⟩ = + homogeneousLinearizedTrajectory a b k S ha ha1 hk hS m q u₀ t := by + let B := homogeneousLinearizedPotential a k ha ha1 hk m q + let u := homogeneousLinearizedTrajectory a b k T ha ha1 hk (hS.trans hST) m q u₀ + let v : C(Icc (0 : ℝ) S, HomogeneousY a k) := + { toFun := fun s => u ⟨s, s.2.1, s.2.2.trans hST⟩ + continuous_toFun := u.continuous.comp (continuous_subtype_val.subtype_mk _) } + have hv : ∀ s : Icc (0 : ℝ) S, + v s = homogeneousFreeOperator a b k s ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk s (homogeneousPotentialHistory S hS B v) := by + intro s + have heq : homogeneousDuhamel a b k ha ha1 hk s + (homogeneousPotentialHistory T (hS.trans hST) B u) = + homogeneousDuhamel a b k ha ha1 hk s (homogeneousPotentialHistory S hS B v) := by + apply homogeneousDuhamel_congr_on a b k s ha ha1 hk s.2.1 + intro τ hτ + have hτS : τ ∈ Icc 0 S := ⟨hτ.1, hτ.2.trans s.2.2⟩ + have hτT : τ ∈ Icc 0 T := ⟨hτ.1, hτS.2.trans hST⟩ + change B (u (projIcc 0 T (hS.trans hST) τ)) = B (v (projIcc 0 S hS τ)) + rw [projIcc_of_mem _ hτT, projIcc_of_mem _ hτS] + rfl + exact (homogeneousLinearizedTrajectory_eq a b k T ha ha1 hk (hS.trans hST) + m q u₀ ⟨s, s.2.1, s.2.2.trans hST⟩).trans + (congrArg (fun w => homogeneousFreeOperator a b k s ha ha1 hk u₀ + w) heq) + have heq := homogeneousLinearizedTrajectory_unique a b k S ha ha1 hk hS m q u₀ v hv + exact congrArg (fun w : C(Icc (0 : ℝ) S, HomogeneousY a k) => w t) heq + +theorem homogeneousLinearizedTrajectory_restart + (a b k S T : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hS : 0 ≤ S) (hT : 0 ≤ T) (m : ℕ) (q u₀ : HomogeneousY a k) + (t : Icc (0 : ℝ) T) : + homogeneousLinearizedTrajectory a b k (S + T) ha ha1 hk (add_nonneg hS hT) m q u₀ + ⟨S + t, add_nonneg hS t.2.1, add_le_add le_rfl t.2.2⟩ = + homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q + (homogeneousLinearizedTrajectory a b k (S + T) ha ha1 hk (add_nonneg hS hT) m q u₀ + ⟨S, hS, le_add_of_nonneg_right hT⟩) t := by + let B := homogeneousLinearizedPotential a k ha ha1 hk m q + let u := homogeneousLinearizedTrajectory a b k (S + T) ha ha1 hk (add_nonneg hS hT) m q u₀ + let v : C(Icc (0 : ℝ) T, HomogeneousY a k) := + { toFun := fun s => u ⟨S + s, add_nonneg hS s.2.1, add_le_add le_rfl s.2.2⟩ + continuous_toFun := u.continuous.comp + ((continuous_const.add continuous_subtype_val).subtype_mk _) } + let r := homogeneousPotentialHistory (S + T) (add_nonneg hS hT) B u + have hr : Continuous r := continuous_homogeneousPotentialHistory _ _ _ _ + have hv : ∀ s : Icc (0 : ℝ) T, + v s = homogeneousFreeOperator a b k s ha ha1 hk + (u ⟨S, hS, le_add_of_nonneg_right hT⟩) + + homogeneousDuhamel a b k ha ha1 hk s (homogeneousPotentialHistory T hT B v) := by + intro s + have hfree : homogeneousFreeOperator a b k (S + s) ha ha1 hk u₀ = + homogeneousFreeOperator a b k s ha ha1 hk + (homogeneousFreeOperator a b k S ha ha1 hk u₀) := by + rw [add_comm S (s : ℝ), homogeneousFreeOperator_add] + have hduh : homogeneousDuhamel a b k ha ha1 hk s (fun τ => r (S + τ)) = + homogeneousDuhamel a b k ha ha1 hk s (homogeneousPotentialHistory T hT B v) := by + apply homogeneousDuhamel_congr_on a b k s ha ha1 hk s.2.1 + intro τ hτ + have hτT : τ ∈ Icc 0 T := ⟨hτ.1, hτ.2.trans s.2.2⟩ + have hSτ : S + τ ∈ Icc 0 (S + T) := + ⟨add_nonneg hS hτ.1, add_le_add le_rfl hτT.2⟩ + change B (u (projIcc 0 (S + T) (add_nonneg hS hT) (S + τ))) = + B (v (projIcc 0 T hT τ)) + rw [projIcc_of_mem _ hSτ, projIcc_of_mem _ hτT] + rfl + calc + v s = homogeneousFreeOperator a b k (S + s) ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk (S + s) r := + homogeneousLinearizedTrajectory_eq a b k (S + T) ha ha1 hk + (add_nonneg hS hT) m q u₀ _ + _ = homogeneousFreeOperator a b k s ha ha1 hk + (homogeneousFreeOperator a b k S ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk S r) + + homogeneousDuhamel a b k ha ha1 hk s (homogeneousPotentialHistory T hT B v) := by + rw [hfree, homogeneousDuhamel_restart a b k S s ha ha1 hk r hr, hduh, map_add] + abel + _ = _ := by + rw [← homogeneousLinearizedTrajectory_eq a b k (S + T) ha ha1 hk + (add_nonneg hS hT) m q u₀ ⟨S, hS, le_add_of_nonneg_right hT⟩] + have heq := homogeneousLinearizedTrajectory_unique a b k T ha ha1 hk hT m q + (u ⟨S, hS, le_add_of_nonneg_right hT⟩) v hv + exact congrArg (fun w : C(Icc (0 : ℝ) T, HomogeneousY a k) => w t) heq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedSemigroup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedSemigroup.lean new file mode 100644 index 0000000000000000000000000000000000000000..10c58a90df463e0be7320ad8c4dac9ad9763c5b6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLinearizedSemigroup.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedRestart + +namespace OAI + +/-! # The actual homogeneous linearized semigroup + +Finite-slab solutions agree on their common interval and restart at every +nonnegative time. These identities give the strongly continuous evolution +whose time-one map enters the finite-rank decomposition. +-/ + +open Set Filter Topology +open scoped NNReal + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +section + +variable (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (q : HomogeneousY a k) + +noncomputable def homogeneousLinearizedStep (t : ℝ≥0) : + HomogeneousY a k →L[ℝ] HomogeneousY a k := + (ContinuousMap.evalCLM (R := ℝ) ⟨(t : ℝ), t.2, le_rfl⟩).comp + (homogeneousLinearizedPropagator a b k t ha ha1 hk t.2 m q) + +theorem homogeneousLinearizedStep_eq_slab (T : ℝ) (hT : 0 ≤ T) + (t : ℝ≥0) (ht : (t : ℝ) ≤ T) (f : HomogeneousY a k) : + homogeneousLinearizedStep a b k ha ha1 hk m q t f = + homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q f ⟨t, t.2, ht⟩ := by + symm + exact homogeneousLinearizedTrajectory_restrict a b k t T ha ha1 hk t.2 ht m q f + ⟨t, t.2, le_rfl⟩ + +@[simp] theorem homogeneousLinearizedStep_zero : + homogeneousLinearizedStep a b k ha ha1 hk m q 0 = ContinuousLinearMap.id ℝ _ := by + apply ContinuousLinearMap.ext + intro f + change homogeneousLinearizedTrajectory a b k 0 ha ha1 hk (by positivity) m q f + ⟨0, le_rfl, le_rfl⟩ = f + rw [homogeneousLinearizedTrajectory_eq] + simp only [homogeneousFreeOperator_zero, homogeneousDuhamel, intervalIntegral.integral_same, + add_zero] + +theorem homogeneousLinearizedStep_add (s t : ℝ≥0) : + homogeneousLinearizedStep a b k ha ha1 hk m q (s + t) = + (homogeneousLinearizedStep a b k ha ha1 hk m q t).comp + (homogeneousLinearizedStep a b k ha ha1 hk m q s) := by + apply ContinuousLinearMap.ext + intro f + have hr := homogeneousLinearizedTrajectory_restart a b k s t ha ha1 hk s.2 t.2 m q f + ⟨t, t.2, le_rfl⟩ + have hs := homogeneousLinearizedTrajectory_restrict a b k s (s + t) ha ha1 hk s.2 + (le_add_of_nonneg_right t.2) m q f ⟨s, s.2, le_rfl⟩ + change homogeneousLinearizedTrajectory a b k (s + t) ha ha1 hk (add_nonneg s.2 t.2) + m q f ⟨s + t, add_nonneg s.2 t.2, le_rfl⟩ = + homogeneousLinearizedTrajectory a b k t ha ha1 hk t.2 m q + (homogeneousLinearizedTrajectory a b k s ha ha1 hk s.2 m q f + ⟨s, s.2, le_rfl⟩) ⟨t, t.2, le_rfl⟩ + exact hr.trans (congrArg (fun v => homogeneousLinearizedTrajectory a b k t ha ha1 hk + t.2 m q v ⟨t, t.2, le_rfl⟩) hs) + +theorem homogeneousLinearizedStep_nat (n : ℕ) : + homogeneousLinearizedStep a b k ha ha1 hk m q n = + (homogeneousLinearizedStep a b k ha ha1 hk m q 1) ^ n := by + induction n with + | zero => + rw [Nat.cast_zero, pow_zero, homogeneousLinearizedStep_zero] + rfl + | succ n ih => + rw [Nat.cast_add, Nat.cast_one, homogeneousLinearizedStep_add, ih, pow_succ'] + rfl + +theorem continuous_homogeneousLinearizedStep_apply : + Continuous (fun p : ℝ≥0 × HomogeneousY a k => + homogeneousLinearizedStep a b k ha ha1 hk m q p.1 p.2) := by + apply continuous_iff_continuousAt.mpr + intro p + let T : ℝ := p.1 + 1 + have hT : 0 ≤ T := by dsimp only [T]; positivity + let g := fun z : ℝ≥0 × HomogeneousY a k => + homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q z.2 + (projIcc 0 T hT z.1) + have hg : Continuous g := + (continuous_homogeneousLinearizedPropagator_apply a b k T ha ha1 hk hT m q).comp + ((((continuous_projIcc (h := hT)).comp (continuous_subtype_val.comp continuous_fst))).prodMk + continuous_snd) + apply hg.continuousAt.congr_of_eventuallyEq + have hp : (p.1 : ℝ) < T := by dsimp only [T]; linarith + have htime : Tendsto (fun z : ℝ≥0 × HomogeneousY a k => (z.1 : ℝ)) (𝓝 p) + (𝓝 (p.1 : ℝ)) := (continuous_subtype_val.comp continuous_fst).continuousAt + filter_upwards [htime.eventually (gt_mem_nhds hp)] with z hz + rw [homogeneousLinearizedStep_eq_slab a b k ha ha1 hk m q T hT z.1 hz.le] + change _ = homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q z.2 + (projIcc 0 T hT z.1) + congr 1 + exact (projIcc_of_mem hT ⟨z.1.2, hz.le⟩).symm + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..3d8e65a20faad5585fa8825726a491730b85e8be --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalL2.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCompactObservation +import Mathlib.MeasureTheory.Function.LpSpace.ContinuousFunctions + +namespace OAI + +/-! # Compact local L² observation + +The measure is ordinary Lebesgue measure on the closed Euclidean ball. +The observation agrees almost everywhere with the actual physical Fourier +realization and is compact by the already proved uniform local observation. +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousBallMeasure (R : ℝ) : + Measure (Metric.closedBall (0 : E) R) := + (volume.restrict (Metric.closedBall (0 : E) R)).comap Subtype.val + +instance homogeneousBallMeasure_finite (R : ℝ) : + IsFiniteMeasure (homogeneousBallMeasure R) := by + unfold homogeneousBallMeasure + let : IsFiniteMeasure (volume.restrict (Metric.closedBall (0 : E) R)) := + isFiniteMeasure_restrict.mpr (isCompact_closedBall (0 : E) R).measure_lt_top.ne + infer_instance + +noncomputable def homogeneousLocalL2Observation (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + HomogeneousY a k →L[ℂ] Lp ℂ 2 (homogeneousBallMeasure R) := + (BoundedContinuousFunction.toLp 2 (homogeneousBallMeasure R) ℂ).comp + (homogeneousLocalObservation a k ha ha1 hk (Metric.closedBall 0 R)) + +theorem homogeneousLocalL2Observation_ae (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + homogeneousLocalL2Observation a k R ha ha1 hk f =ᵐ[homogeneousBallMeasure R] + (fun x => homogeneousPhysicalCLM a k ha ha1 hk f x) := + BoundedContinuousFunction.coeFn_toLp 2 (homogeneousBallMeasure R) ℂ _ + +theorem isCompactOperator_homogeneousLocalL2Observation (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + IsCompactOperator (homogeneousLocalL2Observation a k R ha ha1 hk) := by + exact (isCompactOperator_homogeneousLocalObservation a k ha ha1 hk + (Metric.closedBall 0 R)).clm_comp + (BoundedContinuousFunction.toLp 2 (homogeneousBallMeasure R) ℂ) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalL2Energy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalL2Energy.lean new file mode 100644 index 0000000000000000000000000000000000000000..18c2368eb2b3fc4a75bc82812776be9b9f5b7316 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalL2Energy.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalL2 +import Mathlib.MeasureTheory.Function.LocallyIntegrable + +namespace OAI + +/-! # The exact physical local L² norm and radius monotonicity -/ + +open MeasureTheory Set + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousLocalL2Observation_norm_sq (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) : + ‖homogeneousLocalL2Observation a k R ha ha1 hk u‖ ^ 2 = + ∫ x in Metric.closedBall (0 : E) R, ‖homogeneousPhysicalCLM a k ha ha1 hk u x‖ ^ 2 := by + let f := homogeneousLocalL2Observation a k R ha ha1 hk u + have h := real_inner_self_eq_norm_sq f + rw [L2.inner_def] at h + calc + ‖f‖ ^ 2 = ∫ x : Metric.closedBall (0 : E) R, + ‖homogeneousPhysicalCLM a k ha ha1 hk u x‖ ^ 2 ∂homogeneousBallMeasure R := by + rw [← h] + apply integral_congr_ae + filter_upwards [homogeneousLocalL2Observation_ae a k R ha ha1 hk u] with x hx + change inner ℝ (f x) (f x) = _ + rw [show f x = homogeneousPhysicalCLM a k ha ha1 hk u x from hx, + real_inner_self_eq_norm_sq] + _ = _ := by + unfold homogeneousBallMeasure + rw [integral_subtype_comap measurableSet_closedBall + (fun x : E => ‖homogeneousPhysicalCLM a k ha ha1 hk u x‖ ^ 2), + Measure.restrict_restrict measurableSet_closedBall, inter_self] + +theorem homogeneousLocalL2Observation_norm_mono (a k R S : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hRS : R ≤ S) (u : HomogeneousY a k) : + ‖homogeneousLocalL2Observation a k R ha ha1 hk u‖ ≤ + ‖homogeneousLocalL2Observation a k S ha ha1 hk u‖ := by + apply (sq_le_sq₀ (norm_nonneg _) (norm_nonneg _)).mp + rw [homogeneousLocalL2Observation_norm_sq, homogeneousLocalL2Observation_norm_sq] + apply setIntegral_mono_set + (((homogeneousPhysicalCLM a k ha ha1 hk u).continuous.norm.pow 2).continuousOn.integrableOn_compact + (isCompact_closedBall (0 : E) S)) + (ae_of_all _ (fun x => sq_nonneg _)) + exact ae_of_all _ (fun x hx => (Metric.closedBall_subset_closedBall hRS) hx) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalRadialTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalRadialTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..f2e950d0686bece0aa01e17a527ba017fb4ad90e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalRadialTesting.lean @@ -0,0 +1,77 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialComplexTesting +import Mathlib.Analysis.Calculus.LineDeriv.IntegrationByParts + +namespace OAI + +/-! # Local radial integration by parts with a smooth test + +Only derivatives on the support of the test are used. This is the local +classical side of the distributional identification; exterior solutions +need no artificial extension through the origin. +-/ + +open MeasureTheory Set +open scoped SchwartzMap + +namespace DefocusingNLS + +private theorem integrable_compactTest_mul (ψ : 𝓢(ℝ, ℂ)) + (hψ : HasCompactSupport ψ) (F : ℝ → ℂ) + (hF : ∀ r ∈ tsupport ψ, ContinuousAt F r) : + Integrable (fun r => ψ r * F r) := by + have hc : Continuous (fun r => ψ r * F r) := by + apply continuous_of_tsupport + intro r hr + exact ψ.continuous.continuousAt.mul (hF r (tsupport_mul_subset_left hr)) + exact hc.integrable_of_hasCompactSupport hψ.mul_right + +noncomputable def scalarSchwartzJet (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) : 𝓢(ℝ, ℂ) := + (SchwartzMap.derivCLM ℂ ℂ)^[N] ψ + +@[simp] theorem scalarSchwartzJet_apply (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) (r : ℝ) : + scalarSchwartzJet N ψ r = iteratedDeriv N ψ r := by + induction N generalizing ψ with + | zero => rfl + | succ N ih => + rw [scalarSchwartzJet, Function.iterate_succ_apply] + change scalarSchwartzJet N (SchwartzMap.derivCLM ℂ ℂ ψ) r = _ + rw [ih, iteratedDeriv_succ'] + rfl + +/-- Classical local jets satisfy the full transposed identity against each +smooth compactly supported test in their domain. -/ +theorem local_radial_iterated_integration_by_parts (U : Set ℝ) + (F : ℕ → ℝ → ℂ) + (hF : ∀ j r, r ∈ U → HasDerivAt (F j) (F (j + 1) r) r) + (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) (hc : HasCompactSupport ψ) (hs : tsupport ψ ⊆ U) : + (∫ r : ℝ, ψ r * F N r) = + (-1 : ℂ) ^ N * ∫ r : ℝ, scalarSchwartzJet N ψ r * F 0 r := by + induction N generalizing ψ with + | zero => simp [scalarSchwartzJet] + | succ N ih => + let ψ' := SchwartzMap.derivCLM ℂ ℂ ψ + have hs' : tsupport ψ' ⊆ tsupport ψ := SchwartzMap.tsupport_derivCLM_subset ℂ ψ + have hc' : HasCompactSupport ψ' := hc.of_isClosed_subset isClosed_closure hs' + have hfirst : (∫ r : ℝ, ψ r * F (N + 1) r) = + -(∫ r : ℝ, ψ' r * F N r) := by + apply integral_bilinear_hasDerivAt_right_eq_neg_left_of_integrable + (L := ContinuousLinearMap.mul ℝ ℂ) + · intro r _ + exact ψ.hasDerivAt r + · intro r hr + exact hF N r (hs hr) + · exact integrable_compactTest_mul ψ hc (F (N + 1)) + (fun r hr => (hF (N + 1) r (hs hr)).continuousAt) + · exact integrable_compactTest_mul ψ' hc' (F N) + (fun r hr => (hF N r (hs (hs' hr))).continuousAt) + · exact integrable_compactTest_mul ψ hc (F N) + (fun r hr => (hF N r (hs hr)).continuousAt) + rw [hfirst, ih ψ' hc' (hs'.trans hs)] + have hj : scalarSchwartzJet N ψ' = scalarSchwartzJet (N + 1) ψ := by + exact (Function.iterate_succ_apply (SchwartzMap.derivCLM ℂ ℂ) N ψ).symm + rw [hj, pow_succ] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalizationContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalizationContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..9318a090189a8a2f689cde7629837a3e6ebf9757 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalizationContinuity.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDilationContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalizationPhysical +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalInjective +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingBlowupObservation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingCoordinateMap + +namespace OAI + +/-! # Strong continuity of the actual radius-dependent localization + +Localization at radius L factors through the fixed radius-one localization, +the exact inverse weight transfer, and physical homogeneous dilation. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousLocalizationCLM homogeneousDilation expandingInverseTransfer + +theorem homogeneousLocalization_dilation (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) : + homogeneousLocalizationCLM a k L ha ha1 hk hL χ f = + ((L ^ (2 * a) : ℝ) : ℂ) • homogeneousDilation a k L ha ha1 hk hL + (homogeneousLocalizationCLM a k 1 ha ha1 hk le_rfl χ + (expandingInverseTransfer a k L ha hk hL f)) := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + ext y + rw [map_smul] + change homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousLocalizationCLM a k L ha ha1 hk hL χ f) y = + ((L ^ (2 * a) : ℝ) : ℂ) * homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousDilation a k L ha ha1 hk hL + (homogeneousLocalizationCLM a k 1 ha ha1 hk le_rfl χ + (expandingInverseTransfer a k L ha hk hL f))) y + rw [homogeneousDilation_physical, homogeneousLocalization_physical, + homogeneousLocalization_physical] + simp only [expandingPhysicalLocalization, inv_one, one_smul] + rw [expandingInverseTransfer_function a k L ha ha1 hk hL] + have hc : L ^ (2 * a) * L ^ (-2 * a) = 1 := by + rw [← Real.rpow_add (lt_of_lt_of_le zero_lt_one hL)] + simp + rw [← mul_assoc, ← Complex.ofReal_mul, hc, Complex.ofReal_one, one_mul] + +theorem continuous_homogeneousLocalization (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) : + Continuous (fun p : Radius × FourierL2 => + homogeneousLocalizationCLM a k p.1.1 ha ha1 hk p.1.2 χ p.2) := by + have he : (fun p : Radius × FourierL2 => + homogeneousLocalizationCLM a k p.1.1 ha ha1 hk p.1.2 χ p.2) = + (fun p : Radius × FourierL2 => ((p.1.1 ^ (2 * a) : ℝ) : ℂ) • + homogeneousDilation a k p.1.1 ha ha1 hk p.1.2 + (homogeneousLocalizationCLM a k 1 ha ha1 hk le_rfl χ + (expandingInverseTransfer a k p.1.1 ha hk p.1.2 p.2))) := + funext (fun p => homogeneousLocalization_dilation a k p.1.1 ha ha1 hk p.1.2 χ p.2) + rw [he] + have hi := ((continuous_expandingInverseTransfer a k ha hk).comp continuous_fst).clm_apply + (continuous_snd : Continuous (fun p : Radius × FourierL2 => p.2)) + have hj := (homogeneousLocalizationCLM a k 1 ha ha1 hk le_rfl χ).continuous.comp hi + have hd := (continuous_homogeneousDilation_uncurry a k ha ha1 hk).comp + (continuous_fst.prodMk hj) + exact (Complex.continuous_ofReal.comp + ((continuous_subtype_val.comp continuous_fst).rpow_const + (fun p => Or.inl (lt_of_lt_of_le zero_lt_one p.1.2).ne'))).smul hd + +theorem continuous_expandingCoordinates_apply {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (π : HomogeneousY a k →L[ℝ] F) : + Continuous (fun p : Radius × FourierL2 => expandingCoordinates a k ha ha1 hk χ π p.1 p.2) := + π.continuous.comp (continuous_homogeneousLocalization a k ha ha1 hk χ) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalizationPhysical.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalizationPhysical.lean new file mode 100644 index 0000000000000000000000000000000000000000..d72ff7aa0736d75c39c89d7d749937d8b76fda5d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLocalizationPhysical.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMap +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYLocalization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierInversion + +namespace OAI + +/-! # Exact physical meaning of the localization operator + +The map into the completed homogeneous space represents the actual cutoff +χ(y/L)v(y) at every point, not only almost everywhere in Fourier variables. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem continuous_expandingPhysicalLocalization (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) : Continuous (expandingPhysicalLocalization a k L χ f) := by + rw [expandingPhysicalLocalization_eq_series a k L ha ha1 hk hL] + exact continuous_localizedFourierSeries L χ _ + (summable_norm_expandingFourierCoefficient a k L ha ha1 hk hL f) + +/-- The completed-space localization is pointwise the cutoff of the actual torus function. -/ +theorem homogeneousLocalization_physical (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousLocalizationCLM a k L ha ha1 hk hL χ f) y = + expandingPhysicalLocalization a k L χ f y := by + have hAE := (homogeneousLocalization_ae a k L ha ha1 hk hL χ f).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + have hF := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk + (memLp_expandingPhysicalLocalization_fourier a k L ha ha1 hk hL χ f)).1 + change inverseRadianFourier (homogeneousLocalization a k L ha ha1 hk hL χ f) y = _ + rw [inverseRadianFourier_congr_ae hAE] + exact inverseRadianFourier_radianFourier_of_integrable + (continuous_expandingPhysicalLocalization a k L ha ha1 hk hL χ f) + (integrable_expandingPhysicalLocalization a k L ha ha1 hk hL χ f) hF y + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogCoefficients.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogCoefficients.lean new file mode 100644 index 0000000000000000000000000000000000000000..9a70e362c9d1f738a87f241c808202a6911e6a9b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogCoefficients.lean @@ -0,0 +1,123 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLogJetOperations +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEulerBounds +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialLogarithmicSymbol +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCircularField + +namespace OAI + +/-! # The actual radial coefficients satisfy the finite Euler-row bounds + +In logarithmic radius, the normalized profile contributes bounded jets. +The sole growing coefficient is the explicit Schrödinger diagonal. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +noncomputable def homogeneousLogFastDiagonal : End := + spectralTwoColumns (Complex.I / 2, 0) (0, -Complex.I / 2) + +noncomputable def homogeneousLogRadialDamping (t : ℝ) : End := + (10 : End) + Real.exp (2 * t) • homogeneousLogFastDiagonal + +noncomputable def homogeneousLogRadialStiffness (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (t : ℝ) : End := + Real.exp (2 * t) • spectralTwoColumns (-Complex.I * νp / 2, 0) + (0, Complex.I * νm / 2) + + spectralTwoColumns (-eta, 0) (0, -eta) + + Real.exp (2 * t) • spectralTwoColumns + (-spectralDiagonalCoefficient m (Q t), -star (spectralCrossCoefficient m (Q t))) + (-spectralCrossCoefficient m (Q t), -star (spectralDiagonalCoefficient m (Q t))) + +theorem homogeneousLogFastDiagonal_norm (w : V) : + ‖homogeneousLogFastDiagonal w‖ = (1 / 2 : ℝ) * ‖w‖ := by + simp only [homogeneousLogFastDiagonal, spectralTwoColumns_apply, Prod.norm_def, + Prod.fst_add, Prod.snd_add, Prod.smul_fst, Prod.smul_snd, smul_eq_mul, + mul_zero, add_zero, zero_add, norm_mul, norm_div, norm_neg, + Complex.norm_I, Complex.norm_ofNat] + rw [← max_mul_of_nonneg _ _ (by norm_num : (0 : ℝ) ≤ 1 / 2), mul_comm] + +theorem HasLogJetBound.spectralDiagonal {σ : ℝ} {q : ℝ → ℂ} + (hq : HasLogJetBound σ q) (m : ℕ) : + HasLogJetBound (2 * (m : ℝ) * σ) (fun t => spectralDiagonalCoefficient m (q t)) := by + have hp := ((hq.pow m).mul (hq.conj.pow m)).const_mul (m + 1) + have he : (m : ℝ) * σ + (m : ℝ) * σ = 2 * (m : ℝ) * σ := by ring + simpa only [spectralDiagonalCoefficient, he, Nat.cast_add, Nat.cast_one, mul_assoc] using hp + +theorem HasLogJetBound.spectralCross {σ : ℝ} {q : ℝ → ℂ} + (hq : HasLogJetBound σ q) (m : ℕ) (hm : 1 ≤ m) : + HasLogJetBound (2 * (m : ℝ) * σ) (fun t => spectralCrossCoefficient m (q t)) := by + have hp := ((hq.pow (m + 1)).mul (hq.conj.pow (m - 1))).const_mul m + have he : ((m + 1 : ℕ) : ℝ) * σ + ((m - 1 : ℕ) : ℝ) * σ = 2 * (m : ℝ) * σ := by + rw [Nat.cast_add, Nat.cast_sub hm] + push_cast + ring + simpa only [spectralCrossCoefficient, he, mul_assoc] using hp + +theorem homogeneousLogRadialStiffness_bound (νp νm eta : ℂ) (m : ℕ) + (hm : 1 ≤ m) (σ : ℝ) (hσ : 2 * (m : ℝ) * σ = -2) + (Q : ℝ → ℂ) (hQ : HasLogJetBound σ Q) : + HasLogJetBound 2 (homogeneousLogRadialStiffness νp νm eta m Q) := by + have hD : HasLogJetBound (-2) (fun t => spectralDiagonalCoefficient m (Q t)) := by + simpa only [hσ] using hQ.spectralDiagonal m + have hC : HasLogJetBound (-2) (fun t => spectralCrossCoefficient m (Q t)) := by + simpa only [hσ] using hQ.spectralCross m hm + let F : ℝ → End := fun t => spectralTwoColumns + (-spectralDiagonalCoefficient m (Q t), -star (spectralCrossCoefficient m (Q t))) + (-spectralCrossCoefficient m (Q t), -star (spectralDiagonalCoefficient m (Q t))) + have hF : HasLogJetBound (-2) F := + (hD.neg.pair hC.conj.neg).twoColumns (hC.neg.pair hD.conj.neg) + have hsmall : HasLogJetBound 0 (fun t => Real.exp (2 * t) • F t) := by + have hp := (HasLogJetBound.exponential 2 (1 : End)).mul hF + have he : (fun t => (Real.exp (2 * t) • (1 : End)) * F t) = + (fun t => Real.exp (2 * t) • F t) := by + funext t + rfl + simpa only [he, show (2 : ℝ) + -2 = 0 by norm_num] using hp + exact ((HasLogJetBound.exponential 2 + (spectralTwoColumns (-Complex.I * νp / 2, 0) (0, Complex.I * νm / 2))).add + ((HasLogJetBound.const (spectralTwoColumns (-eta, 0) (0, -eta))).mono + (by norm_num : (0 : ℝ) ≤ 2))).add (hsmall.mono (by norm_num : (0 : ℝ) ≤ 2)) + +theorem radialExteriorCanonical_logJetBound (ν b : ℂ) (m : ℕ) (L : ℝ) + (hX : HasRadialExterior ν m b L) (hb : b ≠ 0) : + HasLogJetBound 0 (fun t => (radialExteriorCanonical ν m b L t).1) := by + refine ⟨⟨L, radialExteriorODE_position_contDiffOn ν m _ L + (fun t ht => ((radialExteriorCanonical_spec hX).2.2 t ht.le).2)⟩, ?_⟩ + intro k + simpa only [zero_mul, Real.exp_zero, mul_one] using + radialExteriorCanonical_derivatives_bounded ν b m L hX hb k + +theorem homogeneousPhysicalProfile_logJetBound (ν : ℂ) (q : ℝ → ℂ) + (hq : HasLogJetBound 0 q) : + HasLogJetBound ν.re (fun t => Complex.exp (ν * (t : ℂ)) * q t) := by + obtain ⟨L, hL⟩ := hq.smooth + refine ⟨⟨L, (radial_complexExp_contDiff ν).contDiffOn.mul hL⟩, ?_⟩ + apply radial_logarithmic_product_bound ν q L hL + intro k + simpa only [zero_mul, Real.exp_zero, mul_one] using hq.bound k + +theorem homogeneousCanonicalEulerRows_norm_lower (ν νp νm eta b : ℂ) + (m n : ℕ) (hm : 1 ≤ m) (hν : 2 * (m : ℝ) * ν.re = -2) + (L : ℝ) (hX : HasRadialExterior ν m b L) (hb : b ≠ 0) : + ∀ᶠ t : ℝ in atTop, ∀ w : V, + ((1 / 2 : ℝ) ^ n / 2) * Real.exp (2 * (n : ℝ) * t) * ‖w‖ ≤ + ‖(homogeneousEulerRows homogeneousLogRadialDamping + (homogeneousLogRadialStiffness νp νm eta m + (fun s => Complex.exp (ν * (s : ℂ)) * + (radialExteriorCanonical ν m b L s).1)) (n + 1)).2 t w‖ := by + exact homogeneousEulerRows_norm_lower _ _ homogeneousLogFastDiagonal + (fun _ => (10 : End)) (HasLogJetBound.const _) + (homogeneousLogRadialStiffness_bound νp νm eta m hm ν.re hν _ + (homogeneousPhysicalProfile_logJetBound ν _ + (radialExteriorCanonical_logJetBound ν b m L hX hb))) + (fun _ => rfl) (1 / 2) (by norm_num) homogeneousLogFastDiagonal_norm n + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..9d16ed6e51323f2368758e2fc05f4a35ab9c9313 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogEquation.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLogCoefficients + +namespace OAI + +/-! # Exact logarithmic form of the original physical radial equation -/ + +open Set Filter Topology + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +theorem homogeneousLogRadialDamping_eq (t : ℝ) : + homogeneousLogRadialDamping t = + Real.exp t • homogeneousRadialDamping (Real.exp t) - 1 := by + have hr : (Real.exp t : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr (Real.exp_pos t).ne' + have he : Real.exp (2 * t) = Real.exp t * Real.exp t := by + rw [two_mul, Real.exp_add] + apply ContinuousLinearMap.ext + intro w + apply Prod.ext + all_goals + simp only [homogeneousLogRadialDamping, homogeneousLogFastDiagonal, + homogeneousRadialDamping, spectralTwoColumns_apply, add_apply, sub_apply, + smul_apply, one_apply_eq_self, ContinuousLinearMap.ofNat_apply, + Prod.fst_add, Prod.snd_add, Prod.fst_sub, Prod.snd_sub, + Prod.smul_fst, Prod.smul_snd, Complex.real_smul, smul_eq_mul, nsmul_eq_mul, mul_zero, + Prod.fst_mul, Prod.snd_mul, Prod.fst_natCast, Prod.snd_natCast, + add_zero, zero_add, he, Complex.ofReal_mul] + field_simp [hr] + ring + +theorem homogeneousLogRadialStiffness_eq (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (t : ℝ) : + homogeneousLogRadialStiffness νp νm eta m Q t = + (Real.exp t) ^ 2 • homogeneousRadialStiffness νp νm eta m (Q t) (Real.exp t) := by + have hr : (Real.exp t : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr (Real.exp_pos t).ne' + have he : Real.exp (2 * t) = Real.exp t * Real.exp t := by + rw [two_mul, Real.exp_add] + apply ContinuousLinearMap.ext + intro w + apply Prod.ext + all_goals + simp only [homogeneousLogRadialStiffness, homogeneousRadialStiffness, + spectralTwoColumns_apply, add_apply, smul_apply, Prod.fst_add, Prod.snd_add, + Prod.smul_fst, Prod.smul_snd, Complex.real_smul, smul_eq_mul, mul_zero, + add_zero, zero_add, he, Complex.ofReal_mul, Complex.ofReal_pow] + field_simp [hr] + ring + +theorem homogeneousLogEquation_transform (U W : ℝ → V) (B C : End) (t : ℝ) + (hU : HasDerivAt U (W (Real.exp t)) (Real.exp t)) + (hW : HasDerivAt W (-B (W (Real.exp t)) - C (U (Real.exp t))) (Real.exp t)) : + HasDerivAt (fun s => U (Real.exp s)) (Real.exp t • W (Real.exp t)) t ∧ + HasDerivAt (fun s => Real.exp s • W (Real.exp s)) + (-((Real.exp t • B - 1) (Real.exp t • W (Real.exp t))) - + ((Real.exp t) ^ 2 • C) (U (Real.exp t))) t := by + refine ⟨hU.scomp t (Real.hasDerivAt_exp t), ?_⟩ + apply ((Real.hasDerivAt_exp t).smul (hW.scomp t (Real.hasDerivAt_exp t))).congr_deriv + simp only [smul_apply, sub_apply, one_apply_eq_self, + ContinuousLinearMap.map_smul_of_tower, smul_sub, smul_neg, smul_smul, pow_two] + abel + +theorem homogeneousPhysicalRadial_logEquation (νp νm eta : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (U W : ℝ → V) (t : ℝ) + (hU : HasDerivAt U (W (Real.exp t)) (Real.exp t)) + (hW : HasDerivAt W + (-homogeneousRadialDamping (Real.exp t) (W (Real.exp t)) - + homogeneousRadialStiffness νp νm eta m (Q (Real.exp t)) (Real.exp t) + (U (Real.exp t))) (Real.exp t)) : + HasDerivAt (fun s => U (Real.exp s)) (Real.exp t • W (Real.exp t)) t ∧ + HasDerivAt (fun s => Real.exp s • W (Real.exp s)) + (-homogeneousLogRadialDamping t (Real.exp t • W (Real.exp t)) - + homogeneousLogRadialStiffness νp νm eta m (fun s => Q (Real.exp s)) t + (U (Real.exp t))) t := by + rw [homogeneousLogRadialDamping_eq, homogeneousLogRadialStiffness_eq] + exact homogeneousLogEquation_transform U W _ _ t hU hW + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogJetBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogJetBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..3d2dbfafe78d090ecb713e67f9c4e0dda4c58731 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogJetBound.lean @@ -0,0 +1,178 @@ +import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! # Logarithmic bounds for the actual radial ODE coefficient recurrence + +Differentiation in logarithmic radius preserves an exponential order. This +small calculus is used for the finite recurrence of high radial derivatives. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +variable {A : Type*} [NormedAddCommGroup A] [NormedSpace ℝ A] + +structure HasLogJetBound (σ : ℝ) (f : ℝ → A) : Prop where + smooth : ∃ L : ℝ, ContDiffOn ℝ ∞ f (Ioi L) + bound : ∀ k : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv k f t‖ ≤ C * Real.exp (σ * t) + +namespace HasLogJetBound + +variable {σ τ : ℝ} {f g : ℝ → A} + +theorem mono (hf : HasLogJetBound σ f) (hστ : σ ≤ τ) : HasLogJetBound τ f := by + refine ⟨hf.smooth, ?_⟩ + intro k + obtain ⟨C, hC, hb⟩ := hf.bound k + refine ⟨C, hC, ?_⟩ + filter_upwards [hb, eventually_ge_atTop (0 : ℝ)] with t ht ht0 + exact ht.trans (mul_le_mul_of_nonneg_left + (Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_right hστ ht0)) hC) + +theorem const (c : A) : HasLogJetBound 0 (fun _ : ℝ => c) := by + refine ⟨⟨0, contDiffOn_const⟩, ?_⟩ + intro k + refine ⟨‖c‖, norm_nonneg _, Filter.Eventually.of_forall ?_⟩ + intro t + by_cases hk : k = 0 + · subst k + simp + · simp [iteratedDeriv_const, hk] + +theorem zero (σ : ℝ) : HasLogJetBound σ (fun _ : ℝ => (0 : A)) := by + refine ⟨⟨0, contDiffOn_const⟩, ?_⟩ + intro k + exact ⟨0, le_rfl, Filter.Eventually.of_forall (fun t => by simp)⟩ + +theorem exponential (σ : ℝ) (c : A) : + HasLogJetBound σ (fun t : ℝ => Real.exp (σ * t) • c) := by + have hs : ContDiff ℝ ∞ (fun t : ℝ => Real.exp (σ * t) • c) := + (contDiff_const.mul contDiff_id).exp.smul contDiff_const + have hd (k : ℕ) : iteratedDeriv k (fun t : ℝ => Real.exp (σ * t) • c) = + fun t => σ ^ k • (Real.exp (σ * t) • c) := by + induction k with + | zero => simp + | succ k ih => + rw [iteratedDeriv_succ, ih] + funext t + have hh := ((((hasDerivAt_id t).const_mul σ).exp).smul_const c).const_smul (σ ^ k) + change HasDerivAt (fun s : ℝ => σ ^ k • (Real.exp (σ * s) • c)) _ t at hh + rw [hh.deriv] + simp only [id_eq, mul_one, smul_smul, pow_succ] + congr 1 + ring + refine ⟨⟨0, hs.contDiffOn⟩, ?_⟩ + intro k + refine ⟨‖σ‖ ^ k * ‖c‖, mul_nonneg (pow_nonneg (norm_nonneg _) _) (norm_nonneg _), + Filter.Eventually.of_forall ?_⟩ + intro t + rw [hd] + simp only [norm_smul, norm_pow, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _)] + exact le_of_eq (by ring) + +theorem neg (hf : HasLogJetBound σ f) : HasLogJetBound σ (fun t => -f t) := by + obtain ⟨L, hL⟩ := hf.smooth + refine ⟨⟨L, hL.neg⟩, ?_⟩ + intro k + obtain ⟨C, hC, hb⟩ := hf.bound k + exact ⟨C, hC, by simpa only [iteratedDeriv_fun_neg, norm_neg] using hb⟩ + +theorem add (hf : HasLogJetBound σ f) (hg : HasLogJetBound σ g) : + HasLogJetBound σ (fun t => f t + g t) := by + obtain ⟨L, hL⟩ := hf.smooth + obtain ⟨M, hM⟩ := hg.smooth + have hLf : ContDiffOn ℝ ∞ f (Ioi (max L M)) := + hL.mono (Ioi_subset_Ioi (le_max_left _ _)) + have hMg : ContDiffOn ℝ ∞ g (Ioi (max L M)) := + hM.mono (Ioi_subset_Ioi (le_max_right _ _)) + refine ⟨⟨max L M, hLf.add hMg⟩, ?_⟩ + intro k + obtain ⟨C, hC, hb⟩ := hf.bound k + obtain ⟨D, hD, hd⟩ := hg.bound k + refine ⟨C + D, add_nonneg hC hD, ?_⟩ + filter_upwards [hb, hd, eventually_gt_atTop (max L M)] with t ht hu htm + rw [iteratedDeriv_fun_add + (((hLf t htm).contDiffAt (Ioi_mem_nhds htm)).of_le (by simp)) + (((hMg t htm).contDiffAt (Ioi_mem_nhds htm)).of_le (by simp))] + exact (norm_add_le _ _).trans ((add_le_add ht hu).trans_eq (by ring)) + +theorem sub (hf : HasLogJetBound σ f) (hg : HasLogJetBound σ g) : + HasLogJetBound σ (fun t => f t - g t) := by + simpa only [sub_eq_add_neg] using hf.add hg.neg + +theorem deriv (hf : HasLogJetBound σ f) : HasLogJetBound σ (deriv f) := by + obtain ⟨L, hL⟩ := hf.smooth + refine ⟨⟨L, hL.deriv_of_isOpen isOpen_Ioi (by simp)⟩, ?_⟩ + intro k + simpa only [← iteratedDeriv_succ'] using hf.bound (k + 1) + +theorem smul (hf : HasLogJetBound σ f) (c : ℝ) : + HasLogJetBound σ (fun t => c • f t) := by + obtain ⟨L, hL⟩ := hf.smooth + refine ⟨⟨L, hL.const_smul c⟩, ?_⟩ + intro k + obtain ⟨C, hC, hb⟩ := hf.bound k + refine ⟨‖c‖ * C, mul_nonneg (norm_nonneg _) hC, ?_⟩ + filter_upwards [hb] with t ht + simpa only [iteratedDeriv_fun_const_smul_field, norm_smul, mul_assoc] using + mul_le_mul_of_nonneg_left ht (norm_nonneg c) + +end HasLogJetBound + +namespace HasLogJetBound + +variable {R : Type*} [NormedRing R] [NormedAlgebra ℝ R] +variable {σ τ : ℝ} {f g : ℝ → R} + +theorem mul (hf : HasLogJetBound σ f) (hg : HasLogJetBound τ g) : + HasLogJetBound (σ + τ) (fun t => f t * g t) := by + obtain ⟨L, hL⟩ := hf.smooth + obtain ⟨M, hM⟩ := hg.smooth + have hLf : ContDiffOn ℝ ∞ f (Ioi (max L M)) := + hL.mono (Ioi_subset_Ioi (le_max_left _ _)) + have hMg : ContDiffOn ℝ ∞ g (Ioi (max L M)) := + hM.mono (Ioi_subset_Ioi (le_max_right _ _)) + refine ⟨⟨max L M, hLf.mul hMg⟩, ?_⟩ + intro k + choose C hC hb using hf.bound + choose D hD hd using hg.bound + let K := ∑ i ∈ Finset.range (k + 1), ‖(k.choose i : R)‖ * C i * D (k - i) + refine ⟨K, Finset.sum_nonneg (fun i _ => + mul_nonneg (mul_nonneg (norm_nonneg _) (hC i)) (hD _)), ?_⟩ + have hfb : ∀ᶠ t in atTop, ∀ i ∈ Finset.range (k + 1), + ‖iteratedDeriv i f t‖ ≤ C i * Real.exp (σ * t) := + (eventually_all_finset _).mpr (fun i _ => hb i) + have hgb : ∀ᶠ t in atTop, ∀ i ∈ Finset.range (k + 1), + ‖iteratedDeriv (k - i) g t‖ ≤ D (k - i) * Real.exp (τ * t) := + (eventually_all_finset _).mpr (fun i _ => hd (k - i)) + filter_upwards [hfb, hgb, eventually_gt_atTop (max L M)] with t ht hu htm + rw [iteratedDeriv_fun_mul + (((hLf t htm).contDiffAt (Ioi_mem_nhds htm)).of_le (by simp)) + (((hMg t htm).contDiffAt (Ioi_mem_nhds htm)).of_le (by simp))] + apply (norm_sum_le _ _).trans + calc + _ ≤ ∑ i ∈ Finset.range (k + 1), + (‖(k.choose i : R)‖ * C i * D (k - i)) * Real.exp ((σ + τ) * t) := by + apply Finset.sum_le_sum + intro i hi + have h := mul_le_mul (ht i hi) (hu i hi) (norm_nonneg _) + (mul_nonneg (hC _) (Real.exp_pos _).le) + have hh := mul_le_mul_of_nonneg_left h (norm_nonneg (k.choose i : R)) + apply ((norm_mul_le _ _).trans + (mul_le_mul_of_nonneg_right (norm_mul_le _ _) (norm_nonneg _))).trans + convert hh using 1 + · ring + · rw [add_mul, Real.exp_add] + ring + _ = K * Real.exp ((σ + τ) * t) := by rw [← Finset.sum_mul] + +end HasLogJetBound + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogJetOperations.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogJetOperations.lean new file mode 100644 index 0000000000000000000000000000000000000000..72dd5212fdbea0b3e5170cb93adeb013c10089b6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLogJetOperations.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLogJetBound +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRobinMatrix +import Mathlib.Analysis.Calculus.ContDiff.Bounds + +namespace OAI + +/-! # Linear maps and polynomial operations on logarithmic jet bounds + +These operations apply the checked scalar jet bounds to the two-channel +coefficient matrices of the original radial equation. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +namespace HasLogJetBound + +variable {A B : Type*} [NormedAddCommGroup A] [NormedSpace ℝ A] + [NormedAddCommGroup B] [NormedSpace ℝ B] + {σ : ℝ} {f : ℝ → A} + +theorem map (hf : HasLogJetBound σ f) (L : A →L[ℝ] B) : + HasLogJetBound σ (fun t => L (f t)) := by + obtain ⟨T, hT⟩ := hf.smooth + refine ⟨⟨T, L.contDiff.comp_contDiffOn hT⟩, ?_⟩ + intro k + obtain ⟨C, hC, hb⟩ := hf.bound k + refine ⟨‖L‖ * C, mul_nonneg (norm_nonneg _) hC, ?_⟩ + filter_upwards [hb, eventually_gt_atTop T] with t ht hTt + have hs := (hT t hTt).contDiffAt (Ioi_mem_nhds hTt) + have hh := L.norm_iteratedFDeriv_comp_left hs (by simp : (k : ℕ∞ω) ≤ ∞) + simp only [norm_iteratedFDeriv_eq_norm_iteratedDeriv, Function.comp_def] at hh + exact hh.trans ((mul_le_mul_of_nonneg_left ht (norm_nonneg _)).trans_eq (by ring)) + +theorem pair {g : ℝ → B} (hf : HasLogJetBound σ f) (hg : HasLogJetBound σ g) : + HasLogJetBound σ (fun t => (f t, g t)) := by + have hp := (hf.map (ContinuousLinearMap.inl ℝ A B)).add + (hg.map (ContinuousLinearMap.inr ℝ A B)) + simpa only [ContinuousLinearMap.inl_apply, ContinuousLinearMap.inr_apply, + Prod.mk_add_mk, add_zero, zero_add] using hp + +theorem conj {g : ℝ → ℂ} (hg : HasLogJetBound σ g) : + HasLogJetBound σ (fun t => star (g t)) := by + simpa only [ContinuousLinearEquiv.coe_coe, Complex.conjCLE_apply, starRingEnd_apply] using + hg.map Complex.conjCLE.toContinuousLinearMap + +theorem const_mul {g : ℝ → ℂ} (hg : HasLogJetBound σ g) (c : ℂ) : + HasLogJetBound σ (fun t => c * g t) := by + simpa only [zero_add] using (HasLogJetBound.const c).mul hg + +theorem pow {g : ℝ → ℂ} (hg : HasLogJetBound σ g) (m : ℕ) : + HasLogJetBound ((m : ℝ) * σ) (fun t => (g t) ^ m) := by + induction m with + | zero => simpa only [Nat.cast_zero, zero_mul, pow_zero] using HasLogJetBound.const (1 : ℂ) + | succ m ih => + have he : ((m + 1 : ℕ) : ℝ) * σ = (m : ℝ) * σ + σ := by push_cast; ring + simpa only [he, pow_succ] using ih.mul hg + +theorem twoColumns {u v : ℝ → ℂ × ℂ} + (hu : HasLogJetBound σ u) (hv : HasLogJetBound σ v) : + HasLogJetBound σ (fun t => spectralTwoColumns (u t) (v t)) := by + exact (hu.map ((ContinuousLinearMap.smulRightL ℂ (ℂ × ℂ) (ℂ × ℂ) + (ContinuousLinearMap.fst ℂ ℂ ℂ)).restrictScalars ℝ)).add + (hv.map ((ContinuousLinearMap.smulRightL ℂ (ℂ × ℂ) (ℂ × ℂ) + (ContinuousLinearMap.snd ℂ ℂ ℂ)).restrictScalars ℝ)) + +end HasLogJetBound + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLowCompact.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLowCompact.lean new file mode 100644 index 0000000000000000000000000000000000000000..37ab1e612b86d8f1ccfd4ce3ded5d30f40d9e622 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLowCompact.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchwartzObservation + +namespace OAI + +/-! # Compact low-order action of a fixed physical coefficient + +The frequency interpolation inequality extends from Schwartz functions to +the faithful completion, using the actual weighted physical L² observation. +Consequently the low Sobolev part of multiplication by a fixed Schwartz +coefficient vanishes on every bounded weakly null sequence. +-/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousLowEnergy_coefficient_interpolation (a k ε : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hε : 0 < ε) (V : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : HomogeneousY a k, + ‖homogeneousLowEnergy a k ha1 hk + (homogeneousYProduct a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) f)‖ ^ 2 ≤ + ε * ‖homogeneousYProduct a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) f‖ ^ 2 + + C * ‖homogeneousWeightedObservation a k ha ha1 hk V (V.memLp 2) f‖ ^ 2 := by + obtain ⟨C, hC, hc⟩ := homogeneousLowEnergy_schwartz_interpolation a k ε ha ha1 hk hε V + refine ⟨C, hC, fun f => ?_⟩ + let B := homogeneousYProduct a k ha ha1 hk (homogeneousSchwartzEmbedding a k ha ha1 hk V) + let L := homogeneousLowEnergy a k ha1 hk + let W := homogeneousWeightedObservation a k ha ha1 hk V (V.memLp 2) + refine (homogeneousSchwartzEmbedding_dense a k ha ha1 hk).induction_on + (p := fun f : HomogeneousY a k => ‖L (B f)‖ ^ 2 ≤ ε * ‖B f‖ ^ 2 + C * ‖W f‖ ^ 2) f ?_ ?_ + · apply isClosed_le <;> fun_prop + · exact hc + +theorem tendsto_homogeneousLowEnergy_schwartzCoefficient (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : 𝓢(E, ℂ)) (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => ‖homogeneousLowEnergy a k ha1 hk + (homogeneousYProduct a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) (u n))‖ ^ 2) atTop (𝓝 0) := by + let B := homogeneousYProduct a k ha ha1 hk (homogeneousSchwartzEmbedding a k ha ha1 hk V) + let D := ‖B‖ * M + have hM : 0 ≤ M := (norm_nonneg (u 0)).trans (hu 0) + have hD : 0 ≤ D := mul_nonneg (norm_nonneg _) hM + have hn (n : ℕ) : ‖B (u n)‖ ≤ D := + (B.le_opNorm _).trans (mul_le_mul_of_nonneg_left (hu n) (norm_nonneg _)) + have hobs : Tendsto (fun n => ‖homogeneousWeightedObservation a k ha ha1 hk + V (V.memLp 2) (u n)‖ ^ 2) atTop (𝓝 0) := by + simpa only [homogeneousWeightedObservation_norm_sq] using + tendsto_homogeneousPhysical_weighted_L2_of_weakNull a k M ha ha1 hk V (V.memLp 2) u hu hweak + apply tendsto_order.2 + constructor + · intro r hr + exact Filter.Eventually.of_forall (fun n => hr.trans_le (sq_nonneg _)) + · intro ε hε + let δ := ε / (2 * (D ^ 2 + 1)) + have hδ : 0 < δ := div_pos hε (by positivity) + obtain ⟨C, _hC, hc⟩ := homogeneousLowEnergy_coefficient_interpolation a k δ ha ha1 hk hδ V + have hs := (hobs.const_mul C).eventually + (gt_mem_nhds (show C * 0 < ε / 2 by simpa only [mul_zero] using half_pos hε)) + have hδD : δ * D ^ 2 ≤ ε / 2 := by + have he : δ * (2 * (D ^ 2 + 1)) = ε := div_mul_cancel₀ _ (by positivity) + nlinarith [hδ.le] + filter_upwards [hs] with n hsmall + have hi := hc (u n) + have hb := (sq_le_sq₀ (norm_nonneg _) hD).mpr (hn n) + have hm := mul_le_mul_of_nonneg_left hb hδ.le + change ‖homogeneousLowEnergy a k ha1 hk (B (u n))‖ ^ 2 < ε + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLowerOrder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLowerOrder.lean new file mode 100644 index 0000000000000000000000000000000000000000..1b74d6d1cbb071ff55fdf2901f41ba4eedc29e43 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousLowerOrder.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMap + +namespace OAI + +/-! Lowering the high Fourier exponent preserves the physical representative. -/ + +open MeasureTheory +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousFourierWeight_lower (a j k : ℝ) (ha : 0 < a) + (hj : 8 < j) (hjk : j ≤ k) (ξ : E) : + homogeneousFourierWeight a j ξ ≤ 2 * homogeneousFourierWeight a k ξ := by + have hp : ‖ξ‖ ^ (2*j) ≤ ‖ξ‖ ^ (2*(6-a)) + ‖ξ‖ ^ (2*k) := by + by_cases h : ‖ξ‖ ≤ 1 + · by_cases hzero : ‖ξ‖ = 0 + · simp only [hzero, Real.zero_rpow (show 2*j ≠ 0 by linarith)] + positivity + · have hpow : ‖ξ‖ ^ (2*j) ≤ ‖ξ‖ ^ (2*(6-a)) := + Real.rpow_le_rpow_of_exponent_ge (lt_of_le_of_ne (norm_nonneg ξ) (Ne.symm hzero)) h + (by linarith) + exact hpow.trans (le_add_of_nonneg_right (by positivity)) + · exact (Real.rpow_le_rpow_of_exponent_le (le_of_not_ge h) (by linarith)).trans + (le_add_of_nonneg_left (by positivity)) + unfold homogeneousFourierWeight + have h0 : 0 ≤ ‖ξ‖ ^ (2*(6-a)) := by positivity + have h1 : 0 ≤ ‖ξ‖ ^ (2*k) := by positivity + have hsum : ‖ξ‖ ^ (2*(6-a)) + ‖ξ‖ ^ (2*j) ≤ + 2 * (‖ξ‖ ^ (2*(6-a)) + ‖ξ‖ ^ (2*k)) := by linarith + calc + _ ≤ ((2*Real.pi)^12)⁻¹ * (2*(‖ξ‖ ^ (2*(6-a)) + ‖ξ‖ ^ (2*k))) := + mul_le_mul_of_nonneg_left hsum (by positivity) + _ = _ := by ring + +theorem homogeneous_memLp_lower (a j k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hj : 8 < j) (hjk : j ≤ k) (u : HomogeneousY a k) : + MemLp (fun ξ => u ξ) 2 (homogeneousFourierMeasure a j) := by + have hk : 8 < k := hj.trans_le hjk + have hmj := (continuous_homogeneousFourierWeight a j ha1 hj).measurable + have hmk := (continuous_homogeneousFourierWeight a k ha1 hk).measurable + have hmeas := (Lp.memLp u).aestronglyMeasurable.mono_ac + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk) + have hum : AEStronglyMeasurable (fun ξ => u ξ) (homogeneousFourierMeasure a j) := + hmeas.mono_ac (withDensity_absolutelyContinuous volume _) + apply (memLp_two_iff_integrable_sq_norm hum).mpr + apply (integrable_withDensity_iff_integrable_smul' (μ := volume) + hmj.ennreal_ofReal (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))).mpr + simp only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a j _), smul_eq_mul] + have hsq := (memLp_two_iff_integrable_sq_norm (Lp.memLp u).aestronglyMeasurable).mp + (Lp.memLp u) + have hw := (integrable_withDensity_iff_integrable_smul' (μ := volume) + hmk.ennreal_ofReal (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))).mp hsq + simp only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k _), smul_eq_mul] at hw + apply (hw.const_mul 2).mono' (hmj.aestronglyMeasurable.mul (hmeas.norm.pow 2)) + filter_upwards [] with ξ + dsimp only [Pi.mul_apply,Pi.pow_apply] + rw [Real.norm_eq_abs, abs_of_nonneg + (mul_nonneg (homogeneousFourierWeight_nonneg a j ξ) (sq_nonneg _))] + calc + _ ≤ (2 * homogeneousFourierWeight a k ξ) * ‖u ξ‖^2 := + mul_le_mul_of_nonneg_right (homogeneousFourierWeight_lower a j k ha hj hjk ξ) + (sq_nonneg _) + _ = _ := by ring + +theorem exists_homogeneousLowerOrder (a j k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hj : 8 < j) (hjk : j ≤ k) (u : HomogeneousY a k) : + ∃ v : HomogeneousY a j, ∀ x : E, + homogeneousPhysicalCLM a j ha ha1 hj v x = + homogeneousPhysicalCLM a k ha ha1 (hj.trans_le hjk) u x := by + let h := homogeneous_memLp_lower a j k ha ha1 hj hjk u + refine ⟨h.toLp (fun ξ => u ξ), ?_⟩ + have he := h.coeFn_toLp + have hev := he.filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a j ha1 hj).ae_le + intro x + exact congrFun (inverseRadianFourier_congr_ae hev) x + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedBoundedPair.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedBoundedPair.lean new file mode 100644 index 0000000000000000000000000000000000000000..4a93f947f1a30b878a2ef32ccf488c86f7da81a0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedBoundedPair.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedHarmonic +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicBounded + +namespace OAI + +/-! # Bounded C² data for the nonzero matched radial channel + +The faithful physical realization is a C₀ function. The same spherical test +used to obtain a nonzero channel therefore gives a global uniform bound, +alongside the exact radial equation and top-derivative square integrability. +-/ + +open Set MeasureTheory +open scoped ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_matched_contour_nonzero_bounded_radial (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (hw : w ≠ 0) (he : G w = lam • w) : + ∃ (ell : ℕ) (f g : ℝ → ℂ), + ContDiff ℝ 2 f ∧ ContDiff ℝ 2 g ∧ + IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) + (n + radialInnerShootingThreshold) (radialMatchedProfile n z) + ((ell : ℂ) * (ell + 10)) lam f g ∧ + ContDiffOn ℝ ∞ f (Ioi 0) ∧ ContDiffOn ℝ ∞ g (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0) ∧ + (∃ M : ℝ, 0 ≤ M ∧ ∀ r : ℝ, ‖(f r, g r)‖ ≤ M) ∧ + ∃ r : ℝ, 0 < r ∧ (f r ≠ 0 ∨ g r ≠ 0) := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x + let H : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x + have hF : Continuous F := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hH : Continuous H := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hw0 : (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) ≠ 0 := by + intro h + exact hw (Subtype.ext h) + have hne : ∃ x : E, F x ≠ 0 ∨ H x ≠ 0 := + homogeneous_physical_pair_nonzero _ _ ha ha1 hk w hw0 + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_pair_exists_spherical_eigenfunction F H hF hH hne + obtain ⟨hpair, hfs, hgs, hfl, hgl⟩ := homogeneous_matched_contour_radial + n z hX hz N ha ha1 hk q hq P hcomm hfin G hG lam w he + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + have hqr : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedProfile n z ‖x‖ := by + simpa only [radialMatchedCartesian] using hq + have hw := projectionSemigroup_eigenvector + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm hfin G hG lam w he + have hc2 := homogeneous_eigenvector_harmonic_channels + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + obtain ⟨Mf, hMf, hbf⟩ := homogeneous_harmonic_channel_bounded + (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 Y hYs + obtain ⟨Mg, hMg, hbg⟩ := homogeneous_harmonic_channel_bounded + (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 Y hYs + refine ⟨ell, harmonicAngularCoefficient Y F, harmonicAngularCoefficient Y H, + hc2.1, hc2.2.1, hpair, hfs, hgs, hfl, hgl, + ⟨max Mf Mg, hMf.trans (le_max_left _ _), ?_⟩, r, hr, hm⟩ + intro s + rw [Prod.norm_def] + exact max_le_max (hbf s) (hbg s) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedComplexDecomposition.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedComplexDecomposition.lean new file mode 100644 index 0000000000000000000000000000000000000000..2d4d59422cd45f159eef9e71c54084c95b4895d3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedComplexDecomposition.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedObservation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexDecomposition +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexSemigroup + +namespace OAI + +/-! # The actual matched complex semigroup has a finite-rank contracting step + +The step length is chosen after the proved energy decay rate. No spectral +splitting or semigroup decay assumption enters this construction. +-/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_exists_complex_step_decomposition : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∃ N : ℕ, ∃ hk : 8 < ((N + 1 : ℕ) : ℝ), + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = + radialMatchedCartesian n z x) ∧ + ∃ t : ℝ≥0, 0 < t ∧ + ∃ B K : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × + HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) + ha ha1 hk m q t = B + K ∧ + ‖B‖ < 1 ∧ FiniteDimensional ℂ (LinearMap.range K.toLinearMap) := by + filter_upwards [radialMatched_exists_weakNull_contraction] with n hn z hX hz + obtain ⟨N, hk, q, hq, c, hc, hcontract⟩ := hn z hX hz + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let T := (Real.log 4 + 1) / c + have hT : 0 < T := div_pos (by have := Real.log_pos (show (1 : ℝ) < 4 by norm_num); linarith) hc + let t : ℝ≥0 := ⟨T, hT.le⟩ + have hexp : Real.exp (-c * T) < 1 / 4 := by + have heq : -c * T = -(Real.log 4 + 1) := by + dsimp only [T] + field_simp + rw [heq, Real.exp_neg, Real.exp_add, Real.exp_log (by norm_num)] + rw [inv_eq_one_div] + apply (div_lt_iff₀ (by positivity)).mpr + have h := (Real.one_lt_exp_iff).mpr (show (0 : ℝ) < 1 by norm_num) + nlinarith + let S := homogeneousLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q t + have hvalue (v : HomogeneousY a ((N + 1 : ℕ) : ℝ)) : + S v = homogeneousLinearizedPropagator a b ((N + 1 : ℕ) : ℝ) T ha ha1 hk + hT.le m q v ⟨T, hT.le, le_rfl⟩ := rfl + have hweak : ∀ u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ), (∀ j, ‖u j‖ ≤ 1) → + (∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, ‖S (u j)‖ ^ 2 < Real.exp (-c * T) + ε := by + intro u hu hw ε hε + simp_rw [hvalue] + simpa only [a, b, m, one_pow, mul_one] using + hcontract T hT.le 1 u hu hw ε hε + obtain ⟨B, K, hS, hB, hK⟩ := homogeneousOperator_complexFiniteRank_contraction a + ((N + 1 : ℕ) : ℝ) (Real.exp (-c * T)) ha ha1 hk (Real.exp_pos _).le hexp S hweak + exact ⟨N, hk, q, hq, t, hT, B, K, hS, hB, hK⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedContour.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedContour.lean new file mode 100644 index 0000000000000000000000000000000000000000..5857dc07e9d8a22c896e1eaf1c1ddff9c0efc242 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedContour.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedComplexDecomposition +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSemigroupContour +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexStrongContinuity + +namespace OAI + +/-! # A finite-dimensional exceptional space for the actual matched evolution + +This applies the contour construction to the proved matched-profile time +step. Identification of the exceptional space with the symmetry modes is +the remaining spectral classification step. +-/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_exists_invariant_contour : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∃ N : ℕ, ∃ hk : 8 < ((N + 1 : ℕ) : ℝ), + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = + radialMatchedCartesian n z x) ∧ + ∃ t : ℝ≥0, 0 < t ∧ ∃ r : ℝ, + Real.exp (-(t : ℝ) / 32) < r ∧ r < 1 ∧ + ∃ Q : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × + HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem Q ∧ + FiniteDimensional ℂ (LinearMap.range Q.toLinearMap) ∧ + (∀ s : ℝ≥0, Commute + (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q s) Q) ∧ + ∃ D δ : ℝ, 0 ≤ D ∧ 0 < δ ∧ ∀ s : ℝ≥0, ∀ u, Q u = 0 → + ‖homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) + ha ha1 hk m q s u‖ ≤ D * Real.exp (-δ * (s : ℝ)) * ‖u‖ := by + filter_upwards [radialMatched_exists_complex_step_decomposition] with n hn z hX hz + obtain ⟨N, hk, q, hq, t, ht, B, K, hstep, hB, hK⟩ := hn z hX hz + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let S := homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q + have hSc (u : HomogeneousY a ((N + 1 : ℕ) : ℝ) × + HomogeneousY a ((N + 1 : ℕ) : ℝ)) : + Continuous (fun s : ℝ≥0 => S s u) := by + exact stronglyContinuous_homogeneousComplexLinearizedStep a b + ((N + 1 : ℕ) : ℝ) ha ha1 hk m q u + have htR : 0 < (t : ℝ) := ht + have hη : Real.exp (-(t : ℝ) / 32) < 1 := by + rw [Real.exp_lt_one_iff] + exact div_neg_of_neg_of_pos (neg_neg_of_pos htR) (by norm_num) + obtain ⟨r, hηr, hr, Q, hQ, hfin, hcomm, hdecay⟩ := + semigroup_contour_decomposition S + (show S 0 = 1 from homogeneousComplexLinearizedStep_zero a b + ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) + (fun s t => homogeneousComplexLinearizedStep_add a b + ((N + 1 : ℕ) : ℝ) ha ha1 hk m q s t) + hSc t ht B K hstep hB hK (Real.exp (-(t : ℝ) / 32)) hη + exact ⟨N, hk, q, hq, t, ht, r, hηr, hr, Q, hQ, hfin, hcomm, hdecay⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..1d14df4082fcd67842ef3246e2714c537f71b3a4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedGenerator.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedComplexDecomposition +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexStrongContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousContourGenerator + +namespace OAI + +/-! # The finite-dimensional generator for the actual matched profile + +This is the concrete semigroup conclusion preceding identification of its +finite-dimensional modes with the symmetry modes. +-/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_exists_finite_generator : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∃ N : ℕ, ∃ hk : 8 < ((N + 1 : ℕ) : ℝ), + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = + radialMatchedCartesian n z x) ∧ + HasFiniteContourGenerator + (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) := by + filter_upwards [radialMatched_exists_complex_step_decomposition] with n hn z hX hz + obtain ⟨N, hk, q, hq, t, ht, B, K, hstep, hB, hK⟩ := hn z hX hz + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let S := homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q + have hSc (u : HomogeneousY a ((N + 1 : ℕ) : ℝ) × + HomogeneousY a ((N + 1 : ℕ) : ℝ)) : Continuous (fun s : ℝ≥0 => S s u) := + stronglyContinuous_homogeneousComplexLinearizedStep a b + ((N + 1 : ℕ) : ℝ) ha ha1 hk m q u + have hgen := semigroup_contour_generator S + (show S 0 = 1 from homogeneousComplexLinearizedStep_zero a b + ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) + (fun s t => homogeneousComplexLinearizedStep_add a b + ((N + 1 : ℕ) : ℝ) ha ha1 hk m q s t) + hSc t ht B K hstep hB hK + exact ⟨N, hk, q, hq, hgen⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedHarmonic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedHarmonic.lean new file mode 100644 index 0000000000000000000000000000000000000000..b9551b8571ca2632aaf067a30bb2dad5caf82658 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedHarmonic.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedRadial +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicCompleteness +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousContourEigenfunction + +namespace OAI + +/-! # A nonzero radial channel for every actual contour eigenvector -/ + +open Set MeasureTheory +open scoped ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_matched_contour_nonzero_radial (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (hw : w ≠ 0) (he : G w = lam • w) : + ∃ (ell : ℕ) (f g : ℝ → ℂ), + IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) + (n + radialInnerShootingThreshold) (radialMatchedProfile n z) + ((ell : ℂ) * (ell + 10)) lam f g ∧ + ContDiffOn ℝ ∞ f (Ioi 0) ∧ ContDiffOn ℝ ∞ g (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0) ∧ + ∃ r : ℝ, 0 < r ∧ (f r ≠ 0 ∨ g r ≠ 0) := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x + let H : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x + have hF : Continuous F := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hH : Continuous H := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hw0 : (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) ≠ 0 := by + intro h + exact hw (Subtype.ext h) + have hne : ∃ x : E, F x ≠ 0 ∨ H x ≠ 0 := + homogeneous_physical_pair_nonzero _ _ ha ha1 hk w hw0 + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_pair_exists_spherical_eigenfunction F H hF hH hne + obtain ⟨hpair, hfs, hgs, hfl, hgl⟩ := homogeneous_matched_contour_radial + n z hX hz N ha ha1 hk q hq P hcomm hfin G hG lam w he + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + exact ⟨ell, harmonicAngularCoefficient Y F, harmonicAngularCoefficient Y H, + hpair, hfs, hgs, hfl, hgl, r, hr, hm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedJordanMode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedJordanMode.lean new file mode 100644 index 0000000000000000000000000000000000000000..0119581a31b2523202a25da73931f789eed7bc84 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedJordanMode.lean @@ -0,0 +1,92 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedBoundedPair +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicPairEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanMode + +namespace OAI + +/-! Every nontrivial finite-dimensional generator Jordan pair yields an actual finite-energy radial pair. -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_matched_contour_jordan_mode (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (v w : P.range) (hw : w ≠ 0) (he : G w = lam • w) + (hJordan : G v=lam • v+w) : + ∃ ell : ℕ, HasRadialJordanMode n z ell N lam := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x + let H : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x + have hF : Continuous F := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hH : Continuous H := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hw0 : (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) ≠ 0 := by + intro h + exact hw (Subtype.ext h) + have hne : ∃ x : E, F x ≠ 0 ∨ H x ≠ 0 := + homogeneous_physical_pair_nonzero _ _ ha ha1 hk w hw0 + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_pair_exists_spherical_eigenfunction F H hF hH hne + obtain ⟨hpair, hfs, hgs, hfl, hgl⟩ := homogeneous_matched_contour_radial + n z hX hz N ha ha1 hk q hq P hcomm hfin G hG lam w he + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + have hqr : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedProfile n z ‖x‖ := by + simpa only [radialMatchedCartesian] using hq + have hw := projectionSemigroup_eigenvector + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm hfin G hG lam w he + have hc2 := homogeneous_eigenvector_harmonic_channels + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + let A := fun f : HomogeneousY (radialShootingA n) N => + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk f x) + have hwb := homogeneous_harmonic_pair_bounded (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs + let u : RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) N (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam := + ⟨A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1, + A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2, + hc2.1,hc2.2.1,hpair,hfs,hgs,hfl,hgl,hwb,⟨r,hr,hm⟩⟩ + obtain ⟨hv₁,hv₂,hve⟩ := homogeneous_contour_jordan_radial (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n+radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr P hcomm hfin G hG + lam v w hJordan Y ((ell : ℂ)*(ell+10)) hYs hYr hYe + have hvs := harmonicRadialSourcePair_contDiffOn (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) + (A (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1) + (A (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2) + u.first u.second ((ell : ℂ)*(ell+10)) lam hv₁ hv₂ hve 0 le_rfl + (radialMatchedProfile_contDiffOn n z hX hz) hfs hgs + have hvt := homogeneous_harmonic_pair_topL2 (radialShootingA n) N ha ha1 hk + (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs hvs.1 hvs.2 + have hvb := homogeneous_harmonic_pair_bounded (radialShootingA n) N ha ha1 hk + (v : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs + exact ⟨ell,u,_,_,hv₁,hv₂,hve,hvt.1,hvt.2,hvb⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..625030fe84244de44ba7b3cc5083e292c162d1f6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedObservation.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEssentialContraction +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedPrincipal +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedProfileBounds + +namespace OAI + +/-! # The actual matched profile has a contracting essential time step + +The integer differentiability order is chosen after the fixed power. Its +principal coefficient is controlled by the proved global pressure bound; +no decay or spectral estimate is assumed for the evolution. +-/ + +open Set Filter Topology + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_exists_weakNull_contraction : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∃ N : ℕ, ∃ hk : 8 < ((N + 1 : ℕ) : ℝ), + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = + radialMatchedCartesian n z x) ∧ + ∃ c : ℝ, 0 < c ∧ ∀ (T : ℝ) (hT : 0 ≤ T) (A : ℝ) + (u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ)), + (∀ j, ‖u j‖ ≤ A) → + (∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, + ‖homogeneousLinearizedPropagator a b ((N + 1 : ℕ) : ℝ) T ha ha1 hk hT + m q (u j) ⟨T, hT, le_rfl⟩‖ ^ 2 < + Real.exp (-c * T) * A ^ 2 + ε := by + filter_upwards [radialMatched_global_pressure_bound] with n hn z hX hz + let a := radialShootingA n + let m := n + radialInnerShootingThreshold + have ha : 0 < a := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 : a < 1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + have hm : 1 ≤ m := radialShootingInner_power_pos n (profileMatchingParameter z) + obtain ⟨N, hN⟩ := exists_nat_gt (max 8 (6 - 2 * a + 2 * (2 * (m : ℝ) + 1) + 1)) + have hk : 8 < ((N + 1 : ℕ) : ℝ) := by + have h8 := lt_of_le_of_lt (le_max_left (8 : ℝ) _) hN + exact lt_trans h8 (by exact_mod_cast Nat.lt_succ_self N) + have hgap : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - + 2 * ((2 * ((m - 1 + 1 : ℕ) : ℝ) + 1) * 1) := by + have hbound := lt_of_le_of_lt (le_max_right (8 : ℝ) _) hN + have hsucc : m - 1 + 1 = m := Nat.sub_add_cancel hm + rw [hsucc] + push_cast + nlinarith + obtain ⟨q, hq⟩ := radialMatchedCartesian_homogeneous n z hX hz + ((N + 1 : ℕ) : ℝ) ha ha1 hk + have hQB (x : E) : ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m - 1 + 1)) ≤ 1 := by + rw [Nat.sub_add_cancel hm, hq x] + exact hn z ‖x‖ (norm_nonneg x) + obtain ⟨c, hc, hcontract⟩ := homogeneousLinearized_weakNull_contraction a + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk (m - 1) q + 1 zero_le_one hQB hgap + refine ⟨N, hk, q, hq, c, hc, ?_⟩ + simpa only [Nat.sub_add_cancel hm] using hcontract + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedOutgoing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedOutgoing.lean new file mode 100644 index 0000000000000000000000000000000000000000..3c9f44cb1fc9d546ef4c2ed7c815840d34ced4f8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedOutgoing.lean @@ -0,0 +1,253 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingSelection +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCanonicalLogEstimates +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSmooth +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhysicalScaling +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralHolomorphicSingularLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalProfile + +namespace OAI + +/-! # Actual weighted-L² eigenchannels belong to the canonical outgoing plane -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "V" => ℂ × ℂ +local notation "V₄" => V × V +local notation "End" => V →L[ℂ] V + +theorem homogeneous_matched_pair_canonical_span + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta : ℂ) (N : ℕ) (hN : 7 ≤ N) + (lam : ℂ) (hhalf : -(1 / 32 : ℝ) ≤ lam.re) + (f g : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) eta lam f g) + (hbounded : ∃ M : ℝ, 0 ≤ M ∧ ∀ r, ‖(f r, g r)‖ ≤ M) + (hL2f : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0)) + (hL2g : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0)) + (Yp Ym : ℂ → ℝ → V₄) + (hYp : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1, 0) Yp) + (hYm : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0, 1) Ym) + (R : ℝ) (hR : innerBoundaryRadius < R) : + ∃ a : V, harmonicRadialState f g R = + a.1 • spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Yp lam) R + + a.2 • spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Ym lam) R := by + let m := n + radialInnerShootingThreshold + let ν := radialShootingNu m z + let νp := ν - 2 * lam + let νm := star ν - 2 * lam + let b := radialShootingB (profileMatchingParameter z) + let q := fun t => (radialExteriorCanonical ν m (radialShootingM z) + (Real.log innerBoundaryRadius) t).1 + let Q := fun r => Complex.exp (ν * (Real.log r : ℂ)) * q (Real.log r) + let Zp := spectralPhysicalPair νp νm (Yp lam) + let Zm := spectralPhysicalPair νp νm (Ym lam) + let k := N - 1 + let R₀ := (innerBoundaryRadius + R) / 2 + have hm : 1 ≤ m := by + exact Nat.one_le_iff_ne_zero.mpr (radialShootingInner_power_pos n + (profileMatchingParameter z)).ne' + have hkn : k + 1 = N := by dsimp only [k]; omega + have hinner : 0 < innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + have hR₀ : 0 < R₀ := by dsimp only [R₀]; linarith + have hinner₀ : innerBoundaryRadius < R₀ := by dsimp only [R₀]; linarith + have h₀R : R₀ ≤ R := by dsimp only [R₀]; linarith + have hνform : ν = -1 / (m : ℂ) + 2 * Complex.I * (b : ℂ) := by + dsimp only [ν, b, m] + unfold radialShootingNu radialShootingQ + ring + have hνphysical : ν = -2 * (radialShootingA n : ℂ) + 2 * Complex.I * (b : ℂ) := + radialShootingNu_physical n z + have hνre : ν.re = -2 * radialShootingA n := by + rw [hνphysical] + simp [Complex.mul_re, Complex.mul_im] + have hsame : νp.re = νm.re := by simp [νp, νm, Complex.sub_re] + have hνweight : 2 * (m : ℝ) * ν.re = -2 := by + rw [hνre] + have ha := radialShootingA_power n (profileMatchingParameter z) + change 2 * radialShootingA n * (m : ℝ) = 1 at ha + nlinarith + have hQeq (r : ℝ) (hr : R₀ ≤ r) : Q r = radialMatchedProfile n z r := by + have hri : innerBoundaryRadius < r := hinner₀.trans_le hr + simp only [radialMatchedProfile, ite_eq_right hri.not_ge, + radialShootingExteriorProfile, radialPhysicalExterior, Q, q, ν, m] + have hQlog (t : ℝ) : Q (Real.exp t) = Complex.exp (ν * (t : ℂ)) * q t := by + simp only [Q, Real.log_exp] + have hZ (r : ℝ) (hr : R₀ ≤ r) : HasDerivAt (harmonicRadialState f g) + (spectralPhysicalCircularField νp νm eta m (Q r) r (harmonicRadialState f g r)) r := by + have hh := harmonicRadialState_hasDerivAt (radialShootingA n) b m + (radialMatchedProfile n z) f g eta lam hf hg he r (hR₀.trans_le hr) + have hs : star ν = -2 * (radialShootingA n : ℂ) - 2 * Complex.I * (b : ℂ) := by + rw [hνphysical] + simp only [star_add, star_mul, star_ofNat, star_neg, Complex.star_def, + Complex.conj_ofReal, Complex.conj_I] + ring + dsimp only [νp, νm] + rw [hs, hνphysical, hQeq r hr] + exact hh + have hZp : ∀ r, R₀ ≤ r → HasDerivAt Zp + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zp r)) r := by + intro r hr + have hh := spectralPhysicalPair_hasDerivAt ν lam eta m hm q (Yp lam) r (hR₀.trans_le hr) + apply hh + · rw [hνform] + exact spectralPhysicalFactor_scale m (by omega) b r (hR₀.trans_le hr) + · exact hYp.1 lam (Real.log r) (Real.log_nonneg + (le_trans (by linarith [innerBoundaryRadius_bounds.1]) (hinner₀.le.trans hr))) + have hZm : ∀ r, R₀ ≤ r → HasDerivAt Zm + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zm r)) r := by + intro r hr + apply spectralPhysicalPair_hasDerivAt ν lam eta m hm q (Ym lam) r (hR₀.trans_le hr) + · rw [hνform] + exact spectralPhysicalFactor_scale m (by omega) b r (hR₀.trans_le hr) + · exact hYm.1 lam (Real.log r) (Real.log_nonneg + (le_trans (by linarith [innerBoundaryRadius_bounds.1]) (hinner₀.le.trans hr))) + obtain ⟨hfs, hgs⟩ := harmonicRadialEigenpair_contDiffOn (radialShootingA n) b m + (radialMatchedProfile n z) f g eta lam hf hg he 0 le_rfl + (radialMatchedProfile_contDiffOn n z hX hz) + have hUs : ContDiffOn ℝ ∞ (fun r => spectralPhysicalValueMap (harmonicRadialState f g r)) + (Ioi 0) := hfs.prodMk hgs + have hL2p : IntegrableOn (fun r => r ^ 11 * + ‖(iteratedDeriv (k + 1) (fun s => spectralPhysicalValueMap (harmonicRadialState f g s)) r).1‖ ^ 2) + (Ioi 0) := by + apply hL2f.congr + filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr + change r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2 = + r ^ 11 * ‖(iteratedDeriv (k + 1) (fun s => (f s, g s)) r).1‖ ^ 2 + rw [homogeneousPair_iteratedDeriv f g hfs hgs (k + 1) r hr, hkn] + have hL2m : IntegrableOn (fun r => r ^ 11 * + ‖(iteratedDeriv (k + 1) (fun s => spectralPhysicalValueMap (harmonicRadialState f g s)) r).2‖ ^ 2) + (Ioi 0) := by + apply hL2g.congr + filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr + change r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2 = + r ^ 11 * ‖(iteratedDeriv (k + 1) (fun s => (f s, g s)) r).2‖ ^ 2 + rw [homogeneousPair_iteratedDeriv f g hfs hgs (k + 1) r hr, hkn] + let C := homogeneousLogRadialStiffness νp νm eta m (fun t => Q (Real.exp t)) + have hCeq : C = homogeneousLogRadialStiffness νp νm eta m + (fun t => Complex.exp (ν * (t : ℂ)) * q t) := by + dsimp only [C] + congr 1 + exact funext hQlog + have hCb := homogeneousLogRadialStiffness_bound νp νm eta m hm ν.re hνweight _ + (homogeneousPhysicalProfile_logJetBound ν q + (radialExteriorCanonical_logJetBound ν (radialShootingM z) m + (Real.log innerBoundaryRadius) hX (radialShootingM_ne_zero z))) + obtain ⟨LC, hCs⟩ := hCb.smooth + obtain ⟨LB, hBs⟩ := (((HasLogJetBound.const (10 : End)).mono (by norm_num : (0 : ℝ) ≤ 2)).add + (HasLogJetBound.exponential 2 homogeneousLogFastDiagonal)).smooth + let L := max (max LC LB) (Real.log R₀) + have hB : ContDiffOn ℝ ∞ homogeneousLogRadialDamping (Ioi L) := by + exact hBs.mono (Ioi_subset_Ioi ((le_max_right LC LB).trans (le_max_left _ _))) + have hC : ContDiffOn ℝ ∞ C (Ioi L) := by + rw [hCeq] + exact hCs.mono (Ioi_subset_Ioi ((le_max_left LC LB).trans (le_max_left _ _))) + have hrow := homogeneousCanonicalEulerRows_norm_lower ν νp νm eta (radialShootingM z) + m k hm hνweight (Real.log innerBoundaryRadius) hX (radialShootingM_ne_zero z) + rw [← hCeq] at hrow + have hest := homogeneous_canonical_outgoing_log_estimates ν νp νm eta (radialShootingM z) + m (Real.log innerBoundaryRadius) hX hsame (Yp lam) (Ym lam) + (hYp.1 lam) (hYm.1 lam) (hYp.2.1 lam) (hYm.2.1 lam) + (hYp.2.2.2 lam) (hYm.2.2.2 lam) + let Fp := homogeneousPhysicalLogColumn νp νm (fun t => (Yp lam t).1.1) + (fun t => (Yp lam t).2.1) + let Fm := homogeneousPhysicalLogColumn νp νm (fun t => (Ym lam t).1.1) + (fun t => (Ym lam t).2.1) + have hvalp : (fun t => spectralPhysicalValueMap (Zp (Real.exp t))) = Fp := by + funext t + simp only [Zp, homogeneousPhysicalColumn_logValue, Real.log_exp, Fp] + have hvalm : (fun t => spectralPhysicalValueMap (Zm (Real.exp t))) = Fm := by + funext t + simp only [Zm, homogeneousPhysicalColumn_logValue, Real.log_exp, Fm] + dsimp only [Fp] at hvalp + dsimp only [Fm] at hvalm + have hrem := hest.1 (k + 1) + rw [← hvalp, ← hvalm] at hrem + obtain ⟨M, hM, hMb⟩ := hest.2 + have hscaled := homogeneousLogRobin_error_to_radial _ (homogeneousDiagonal νp νm) M hMb + have herr : ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ r in atTop, + ‖spectralJetRobin (Zp r) (Zm r) - r⁻¹ • homogeneousDiagonal νp νm‖ ≤ M / r ^ 3 := by + refine ⟨M, hM, ?_⟩ + filter_upwards [hscaled, eventually_ge_atTop (1 : ℝ)] with r hr hr1 + have hp := homogeneousCircularValue_derivatives νp νm eta (q (Real.log r)) m + (Yp lam) (Real.log r) (hYp.1 lam (Real.log r) (Real.log_nonneg hr1)) + have hm' := homogeneousCircularValue_derivatives νp νm eta (q (Real.log r)) m + (Ym lam) (Real.log r) (hYm.1 lam (Real.log r) (Real.log_nonneg hr1)) + rw [spectralJetRobin, homogeneousPhysicalColumn_robin νp νm (Yp lam) (Ym lam) + r hp.1 hp.2 hm'.1 hm'.2] + exact hr + have hbeta : -6 < (k : ℝ) - (11 + νp.re) := by + have hh := fast_derivative_exponent (radialShootingA n) lam.re N + (by unfold radialShootingA; positivity) hhalf hN + have hkreal : (k : ℝ) + 1 = N := by exact_mod_cast hkn + have hre : νp.re = -2 * radialShootingA n - 2 * lam.re := by + change (ν - 2 * lam).re = _ + rw [Complex.sub_re, Complex.mul_re, hνre] + norm_num + rw [hre] + linarith + apply homogeneousPhysicalOutgoing_selection νp νm eta m k Q + (harmonicRadialState f g) Zp Zm R₀ L ((1 / 2 : ℝ) ^ k / 2) + hR₀ (le_max_right _ _) (by positivity) hsame hbeta.le + (by have hk7 : (7 : ℝ) ≤ N := by exact_mod_cast hN + have hkreal : (k : ℝ) + 1 = N := by exact_mod_cast hkn + push_cast + linarith) _ hZ hZp hZm hUs hbounded hL2p hL2m hB hC hrow hrem herr R h₀R + exact (radialMatchedProfile_contDiffOn n z hX hz).continuousOn.mono + (fun _ hr => hR₀.trans_le hr) |>.congr (fun r hr => hQeq r hr) + +theorem homogeneous_matched_pair_canonical_robin + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta : ℂ) (N : ℕ) (hN : 7 ≤ N) + (lam : ℂ) (hhalf : -(1 / 32 : ℝ) ≤ lam.re) + (f g : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) eta lam f g) + (hbounded : ∃ M : ℝ, 0 ≤ M ∧ ∀ r, ‖(f r, g r)‖ ≤ M) + (hL2f : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0)) + (hL2g : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0)) + (Yp Ym : ℂ → ℝ → V₄) + (hYp : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1, 0) Yp) + (hYm : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0, 1) Ym) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Yp lam) R)) + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Ym lam) R)) ≠ 0) : + (deriv f R, deriv g R) = spectralJetRobin + (spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Yp lam) R) + (spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Ym lam) R) + (f R, g R) := by + exact (spectralJetRobin_plane _ _ _ hdet).2 + (homogeneous_matched_pair_canonical_span n z hX hz eta N hN lam hhalf f g hf hg + he hbounded hL2f hL2g Yp Ym hYp hYm R hR) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedPotential.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedPotential.lean new file mode 100644 index 0000000000000000000000000000000000000000..b2b7759b9682ae8215d2ac10ab7c14f18eca29e9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedPotential.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedFlow +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPotentialSymbols + +namespace OAI + +/-! # The matched stationary profile supplies the actual whole-space evolution + +The Y representative is obtained from the proved profile symbol estimates. +Its bounded real-linear potential has exactly the two physical coefficients +in the manuscript, and its finite-slab propagators have explicit bounds. +-/ + +open Set + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_matched_homogeneousLinearized_propagator + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < k) : + let a := radialShootingA n + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + ∃ q : HomogeneousY a k, + (∀ y : E, homogeneousPhysicalCLM a k ha ha1 hk q y = radialMatchedCartesian n z y) ∧ + (∀ v : HomogeneousY a k, ∀ y : E, + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousLinearizedPotential a k ha ha1 hk m q v) y = + -Complex.I * + (radialPotentialDiagonal m (radialMatchedCartesian n z) y * + homogeneousPhysicalCLM a k ha ha1 hk v y + + radialPotentialAntilinear m (radialMatchedCartesian n z) y * + star (homogeneousPhysicalCLM a k ha ha1 hk v y))) ∧ + ∀ (T : ℝ) (hT : 0 ≤ T), ∃ U : HomogeneousY a k →L[ℝ] C(Icc (0 : ℝ) T, HomogeneousY a k), + (∀ u₀ t, U u₀ t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousPotentialHistory T hT (homogeneousLinearizedPotential a k ha ha1 hk m q) + (U u₀))) ∧ + ‖U‖ ≤ 2 * Real.exp + ((2 * (‖homogeneousLinearizedPotential a k ha ha1 hk m q‖ + 1)) * T) := by + dsimp only + obtain ⟨q, hq⟩ := radialMatchedCartesian_homogeneous n z hX hz k ha ha1 hk + refine ⟨q, hq, ?_, ?_⟩ + · intro v y + rw [homogeneousLinearizedPotential_physical, hq y, radialPotential_decomposition] + · intro T hT + refine ⟨homogeneousLinearizedPropagator (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) k T ha ha1 hk hT + (n + radialInnerShootingThreshold) q, ?_, + homogeneousLinearizedPropagator_norm_le _ _ _ _ _ _ _ _ _ _⟩ + intro u₀ t + exact homogeneousLinearizedTrajectory_eq _ _ _ _ _ _ _ _ _ _ u₀ t + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedPrincipal.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedPrincipal.lean new file mode 100644 index 0000000000000000000000000000000000000000..7d4f13378997774c6f0165f94e03bc508c904cc0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedPrincipal.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPrincipalPotential +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformExteriorPressure + +namespace OAI + +/-! # The k-independent principal bound for the constructed profile + +The proved global pressure bound supplies the actual L² principal +potential, with the manuscript's constant 1+1/a. +-/ + +open MeasureTheory Filter + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_principal_bound : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∃ B : Lp ℂ 2 (volume : Measure E) →L[ℝ] Lp ℂ 2 (volume : Measure E), + ‖B‖ ≤ 1 + 1 / radialShootingA n ∧ + ∀ f : Lp ℂ 2 (volume : Measure E), B f =ᵐ[volume] + (fun x => -Complex.I * oddPowerDerivative (n + radialInnerShootingThreshold) + (radialMatchedCartesian n z x) (f x)) := by + filter_upwards [radialMatched_global_pressure_bound] with n hn z hX hz + have hQ := (radialMatchedCartesian_contDiff n z hX hz).continuous + have hQB (x : E) : ‖radialMatchedCartesian n z x‖ ^ + (2 * (n + radialInnerShootingThreshold)) ≤ 1 := + hn z ‖x‖ (norm_nonneg x) + refine ⟨homogeneousPrincipalPotential (n + radialInnerShootingThreshold) + (radialMatchedCartesian n z) hQ 1 zero_le_one hQB, ?_, ?_⟩ + · have hA := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have hp := radialShootingA_power n (profileMatchingParameter z) + have hc : 2 * ((n + radialInnerShootingThreshold : ℕ) : ℝ) + 1 = + 1 + 1 / radialShootingA n := by + have hquot : 2 * ((n + radialInnerShootingThreshold : ℕ) : ℝ) = + 1 / radialShootingA n := (eq_div_iff hA.ne').mpr (by nlinarith) + rw [hquot, add_comm] + simpa only [mul_one, hc] using homogeneousPrincipalPotential_norm_le + (n + radialInnerShootingThreshold) (radialMatchedCartesian n z) hQ 1 zero_le_one hQB + · intro f + exact homogeneousPrincipalAction_ae (n + radialInnerShootingThreshold) + (radialMatchedCartesian n z) hQ 1 zero_le_one hQB f + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedQuotient.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedQuotient.lean new file mode 100644 index 0000000000000000000000000000000000000000..39926a4175223d7c5ac014b32cac099ce464320c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedQuotient.lean @@ -0,0 +1,150 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingTail +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousQuotientDecay +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeEquation + +namespace OAI + +/-! # Actual outgoing channels divided by the matched profile -/ + +open Set Filter Topology Asymptotics MeasureTheory +open scoped ContDiff + +namespace DefocusingNLS +open ProfileCertificate +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +private theorem canonical_position_derivatives + (ν eta M : ℂ) (m : ℕ) (L : ℝ) (c : ℂ × ℂ) + (Y : ℂ → ℝ → V₄) (hY : IsCanonicalHolomorphicColumn ν eta M m L c Y) + (lam : ℂ) (t : ℝ) (ht : 0 ≤ t) : + HasDerivAt (fun s => (Y lam s).1.1) (Y lam t).1.2 t ∧ + HasDerivAt (fun s => (Y lam s).2.1) (Y lam t).2.2 t := by + have hp := (ContinuousLinearMap.fst ℝ (ℂ × ℂ) (ℂ × ℂ)).hasFDerivAt.comp_hasDerivAt t + (hY.1 lam t ht) + have hm := (ContinuousLinearMap.snd ℝ (ℂ × ℂ) (ℂ × ℂ)).hasFDerivAt.comp_hasDerivAt t + (hY.1 lam t ht) + have hp' := homogeneousPair_fst_hasDerivAt hp + have hm' := homogeneousPair_fst_hasDerivAt hm + constructor + · simpa only [ContinuousLinearMap.coe_fst', Function.comp_def, + circularLeadingField, circularBoundedField, Prod.fst_add, zero_add] using hp' + · simpa only [ContinuousLinearMap.coe_snd', Function.comp_def, + circularLeadingField, circularBoundedField, Prod.fst_add, Prod.snd_add, zero_add] using hm' + +private theorem quotient_combination_value + (ν μ : ℂ) (Y Z Q : ℝ → ℂ × ℂ) (a b : ℂ) (r : ℝ) : + (a * (spectralPhysicalJet (μ + ν) Y r).1 + + b * (spectralPhysicalJet (μ + ν) Z r).1) / + (Complex.exp (μ * (Real.log r : ℂ)) * (Q (Real.log r)).1) = + (spectralQuotientJet ν (fun t => a • Y t + b • Z t) Q r).1 := by + rw [add_div, mul_div_assoc, mul_div_assoc, + homogeneousQuotient_value, homogeneousQuotient_value] + simp only [spectralQuotientJet, Prod.fst_add, Prod.smul_fst, smul_eq_mul] + ring + +theorem homogeneous_matched_quotient_decay + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta lam : ℂ) (hlam : 4 ≤ lam.re) + (F G : ℝ → ℂ) (Yp Ym : ℂ → ℝ → V₄) + (hYp : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1, 0) Yp) + (hYm : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0, 1) Ym) + (c : ℂ × ℂ) (R₀ : ℝ) + (hstate : ∀ r, R₀ ≤ r → harmonicRadialState F G r = + c.1 • spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Yp lam) r + + c.2 • spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Ym lam) r) : + let Q := radialMatchedEvenProfile n z + ((fun r => F r / Q r) =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ)) ∧ + deriv (fun r => F r / Q r) =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) ∧ + ((fun r => G r / star (Q r)) =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ)) ∧ + deriv (fun r => G r / star (Q r)) =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) := by + intro Q + let ν := radialShootingNu (n + radialInnerShootingThreshold) z + let W := radialExteriorCanonical ν (n + radialInnerShootingThreshold) + (radialShootingM z) (Real.log innerBoundaryRadius) + let Wm := fun t => (star (W t).1, star (W t).2) + let P := fun t => c.1 • (Yp lam t).1 + c.2 • (Ym lam t).1 + let S := fun t => c.1 • (Yp lam t).2 + c.2 • (Ym lam t).2 + have hW := radialExteriorCanonical_spec hX + have hM : radialShootingM z ≠ 0 := radialShootingM_ne_zero z + have hWm : Tendsto Wm atTop (𝓝 (star (radialShootingM z), 0)) := by + simpa only [Wm, W, ν, star_zero, Function.comp_def] using + (continuous_star.continuousAt.tendsto.comp hW.2.1.tendsto.fst_nhds).prodMk_nhds + (continuous_star.continuousAt.tendsto.comp hW.2.1.tendsto.snd_nhds) + have hP : Tendsto P atTop (𝓝 (c.1, 0)) := by + simpa only [P, Prod.fst, smul_zero, Prod.smul_mk, smul_eq_mul, + mul_one, mul_zero, add_zero, zero_add, Prod.mk_add_mk] using + ((hYp.2.1 lam).fst_nhds.const_smul c.1).add ((hYm.2.1 lam).fst_nhds.const_smul c.2) + have hS : Tendsto S atTop (𝓝 (c.2, 0)) := by + simpa only [S, Prod.snd, smul_zero, Prod.smul_mk, smul_eq_mul, + mul_one, mul_zero, add_zero, zero_add, Prod.mk_add_mk] using + ((hYp.2.1 lam).snd_nhds.const_smul c.1).add ((hYm.2.1 lam).snd_nhds.const_smul c.2) + have hPd : ∀ᶠ t in atTop, HasDerivAt (fun s => (P s).1) (P t).2 t := by + filter_upwards [eventually_ge_atTop (0 : ℝ)] with t ht + change HasDerivAt (fun s => c.1 * (Yp lam s).1.1 + c.2 * (Ym lam s).1.1) + (c.1 * (Yp lam t).1.2 + c.2 * (Ym lam t).1.2) t + exact (((canonical_position_derivatives _ _ _ _ _ _ Yp hYp lam t ht).1).const_mul c.1).add + (((canonical_position_derivatives _ _ _ _ _ _ Ym hYm lam t ht).1).const_mul c.2) + have hSd : ∀ᶠ t in atTop, HasDerivAt (fun s => (S s).1) (S t).2 t := by + filter_upwards [eventually_ge_atTop (0 : ℝ)] with t ht + change HasDerivAt (fun s => c.1 * (Yp lam s).2.1 + c.2 * (Ym lam s).2.1) + (c.1 * (Yp lam t).2.2 + c.2 * (Ym lam t).2.2) t + exact (((canonical_position_derivatives _ _ _ _ _ _ Yp hYp lam t ht).2).const_mul c.1).add + (((canonical_position_derivatives _ _ _ _ _ _ Ym hYm lam t ht).2).const_mul c.2) + have hWd : ∀ᶠ t in atTop, HasDerivAt (fun s => (W s).1) (W t).2 t := by + filter_upwards [eventually_ge_atTop (Real.log innerBoundaryRadius)] with t ht + exact homogeneousPair_fst_hasDerivAt ((hW.2.2 t ht).2) + have hWmd : ∀ᶠ t in atTop, HasDerivAt (fun s => (Wm s).1) (Wm t).2 t := by + filter_upwards [hWd] with t ht + exact ht.star + have hν : (-2 * lam).re ≤ -8 := by + norm_num [Complex.mul_re] + linarith + have hplus := homogeneousQuotient_energy_decay_of_limits (-2 * lam) hν P W + (c.1, 0) (radialShootingM z) hM hP hW.2.1.tendsto hPd hWd + have hminus := homogeneousQuotient_energy_decay_of_limits (-2 * lam) hν S Wm + (c.2, 0) (star (radialShootingM z)) (star_ne_zero.mpr hM) hS hWm hSd hWmd + have hQ (r : ℝ) (hr : innerBoundaryRadius < r) : + Q r = Complex.exp (ν * (Real.log r : ℂ)) * (W (Real.log r)).1 := by + dsimp only [Q] + rw [radialMatchedEvenProfile_nonneg n z r (by linarith [innerBoundaryRadius_bounds.1])] + simp only [radialMatchedProfile, ite_eq_right hr.not_ge, + radialShootingExteriorProfile, radialPhysicalExterior, W, ν] + have hQm (r : ℝ) (hr : innerBoundaryRadius < r) : + star (Q r) = Complex.exp (star ν * (Real.log r : ℂ)) * (Wm (Real.log r)).1 := by + rw [hQ r hr] + simp only [star_mul, Wm, Complex.star_def, ← Complex.exp_conj, map_mul, Complex.conj_ofReal] + ring + have hep : (fun r => (spectralQuotientJet (-2 * lam) P W r).1) =ᶠ[atTop] + (fun r => F r / Q r) := by + filter_upwards [eventually_ge_atTop R₀, eventually_gt_atTop innerBoundaryRadius] with r hr hri + have hs := congrArg (fun v : V₄ => v.1.1) (hstate r hr) + change F r = _ at hs + rw [hs, hQ r hri] + simpa only [P, ν, spectralPhysicalPair, Prod.fst_add, Prod.smul_fst, smul_eq_mul, + sub_eq_add_neg, neg_mul] using + (quotient_combination_value (-2 * lam) ν (fun t => (Yp lam t).1) + (fun t => (Ym lam t).1) W c.1 c.2 r).symm + have hem : (fun r => (spectralQuotientJet (-2 * lam) S Wm r).1) =ᶠ[atTop] + (fun r => G r / star (Q r)) := by + filter_upwards [eventually_ge_atTop R₀, eventually_gt_atTop innerBoundaryRadius] with r hr hri + have hs := congrArg (fun v : V₄ => v.2.1) (hstate r hr) + change G r = _ at hs + rw [hs, hQm r hri] + simpa only [S, ν, spectralPhysicalPair, Prod.snd_add, Prod.smul_snd, Prod.fst_add, + Prod.smul_fst, smul_eq_mul, sub_eq_add_neg, neg_mul] using + (quotient_combination_value (-2 * lam) (star ν) (fun t => (Yp lam t).2) + (fun t => (Ym lam t).2) Wm c.1 c.2 r).symm + exact ⟨homogeneousComplexEnergyDecay_congr hep hplus.1 hplus.2.1, + homogeneousComplexEnergyDecay_congr hem hminus.1 hminus.2.1⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedRadial.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedRadial.lean new file mode 100644 index 0000000000000000000000000000000000000000..e3a0852ec0959f4faf090ecaf8d2ec5fb750c2ef --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedRadial.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicEigenL2 +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousContourGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSymbol + +namespace OAI + +/-! # Radial channels of the actual matched-profile contour generator + +The profile is the already constructed matched stationary solution. Its +smoothness supplies the exterior hypothesis of the radial L² theorem. +-/ + +open Set MeasureTheory +open scoped ContDiff Laplacian + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_matched_contour_radial (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (he : G w = lam • w) + (Y : E → ℂ) (eta : ℂ) + (hY : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hRay : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hEigen : ∀ x : E, x ≠ 0 → Δ Y x = -(eta / (‖x‖ ^ 2 : ℝ)) * Y x) : + let f := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM + (radialShootingA n) N ha ha1 hk (w : HomogeneousY (radialShootingA n) N × + HomogeneousY (radialShootingA n) N).1 x) + let g := harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM + (radialShootingA n) N ha ha1 hk (w : HomogeneousY (radialShootingA n) N × + HomogeneousY (radialShootingA n) N).2 x) + IsHarmonicRadialEigenpair (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n + radialInnerShootingThreshold) (radialMatchedProfile n z) eta lam f g ∧ + ContDiffOn ℝ ∞ f (Ioi 0) ∧ ContDiffOn ℝ ∞ g (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0) := by + have hqr : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedProfile n z ‖x‖ := by + simpa only [radialMatchedCartesian] using hq + have hw := projectionSemigroup_eigenvector + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm hfin G hG lam w he + have heq := (homogeneous_eigenvector_harmonic_channels + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y eta hY hRay hEigen).2.2 + exact ⟨heq, homogeneous_eigenvector_harmonic_topL2 + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y eta hY hRay hEigen 0 le_rfl (radialMatchedProfile_contDiffOn n z hX hz)⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedRadialC2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedRadialC2.lean new file mode 100644 index 0000000000000000000000000000000000000000..23a9f57e71663320de932c4524e2a65d4bd4e406 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedRadialC2.lean @@ -0,0 +1,81 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedHarmonic + +namespace OAI + +/-! # Global C² data retained for the nonzero matched radial channel + +The global regularity already follows from angular differentiation of the +physical eigenfunction. Keeping it here allows the actual weak-energy bridge +to use the origin without assuming endpoint regularity. +-/ + +open Set MeasureTheory +open scoped ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_matched_contour_nonzero_radial_c2 (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (hw : w ≠ 0) (he : G w = lam • w) : + ∃ (ell : ℕ) (f g : ℝ → ℂ), + ContDiff ℝ 2 f ∧ ContDiff ℝ 2 g ∧ + IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) + (n + radialInnerShootingThreshold) (radialMatchedProfile n z) + ((ell : ℂ) * (ell + 10)) lam f g ∧ + ContDiffOn ℝ ∞ f (Ioi 0) ∧ ContDiffOn ℝ ∞ g (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0) ∧ + IntegrableOn (fun r : ℝ => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0) ∧ + ∃ r : ℝ, 0 < r ∧ (f r ≠ 0 ∨ g r ≠ 0) := by + let F : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x + let H : E → ℂ := fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x + have hF : Continuous F := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hH : Continuous H := (contDiff_homogeneousPhysical _ _ ha ha1 hk _).continuous + have hw0 : (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) ≠ 0 := by + intro h + exact hw (Subtype.ext h) + have hne : ∃ x : E, F x ≠ 0 ∨ H x ≠ 0 := + homogeneous_physical_pair_nonzero _ _ ha ha1 hk w hw0 + obtain ⟨ell, Y, r, hYs, hYr, hYe, hr, hm⟩ := + physical_pair_exists_spherical_eigenfunction F H hF hH hne + obtain ⟨hpair, hfs, hgs, hfl, hgl⟩ := homogeneous_matched_contour_radial + n z hX hz N ha ha1 hk q hq P hcomm hfin G hG lam w he + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + have hqr : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedProfile n z ‖x‖ := by + simpa only [radialMatchedCartesian] using hq + have hw := projectionSemigroup_eigenvector + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm hfin G hG lam w he + have hc2 := homogeneous_eigenvector_harmonic_channels + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + exact ⟨ell, harmonicAngularCoefficient Y F, harmonicAngularCoefficient Y H, + hc2.1, hc2.2.1, hpair, hfs, hgs, hfl, hgl, r, hr, hm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedSpectralStability.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedSpectralStability.lean new file mode 100644 index 0000000000000000000000000000000000000000..403e0a95158216ae4595febee0932a942983fe90 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMatchedSpectralStability.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFixedRadialModes +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralNoJordan + +namespace OAI + +/-! The actual contour generator has precisely the symmetry spectrum and no Jordan chains. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_contour_spectral_stability (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z=0) → ∀ (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (_hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (_hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (_hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)), + (∀ (lam : ℂ) (w : P.range), w ≠ 0 → G w=lam • w → + -(1/32 : ℝ) ≤ lam.re → lam=0 ∨ lam=1 ∨ lam=1/2) ∧ + (∀ (lam : ℂ) (v w : P.range), w ≠ 0 → G w=lam • w → + -(1/32 : ℝ) ≤ lam.re → G v ≠ lam • v+w) := by + filter_upwards [radialMatchedSpectralMode_classification hRou 9 (by omega), + radialMatched_no_jordan hRou 9 (by omega)] with n hc hj + intro z hX hz N ha ha1 hk q hq P hcomm hfin G hG + constructor + · intro lam w hw he hl + obtain ⟨ell,hu⟩ := homogeneous_matched_contour_radialMode_fixed n z hX hz N + ha ha1 hk q hq P hcomm hfin G hG lam w hw he + have heq : (((ell : ℝ)*(ell+10) : ℝ) : ℂ)=(ell : ℂ)*(ell+10) := by push_cast; rfl + have hs := hc z hX hz ell lam hl (by simpa only [heq] using hu) + rcases hs with ⟨_,h0 | h1⟩ | ⟨_,hh⟩ + · exact Or.inl h0 + · exact Or.inr (Or.inl h1) + · exact Or.inr (Or.inr hh) + · intro lam v w hw he hl hv + obtain ⟨ell,hu⟩ := homogeneous_matched_contour_jordan_mode_fixed n z hX hz N + ha ha1 hk q hq P hcomm hfin G hG lam v w hw he hv + exact hj z hX hz ell lam hl hu + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMeasurableDuhamel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMeasurableDuhamel.lean new file mode 100644 index 0000000000000000000000000000000000000000..d21bc46a794329fa3dc9a4a26ef79fa6362945a2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMeasurableDuhamel.lean @@ -0,0 +1,48 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalIntegrable +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDuhamel + +namespace OAI + +/-! # The free Duhamel integral for measurable, integrable forcing -/ + +open MeasureTheory Set + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +theorem stronglyMeasurable_homogeneousDuhamelIntegrand (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : StronglyMeasurable r) : + StronglyMeasurable (fun s => homogeneousFreeOperator a b k (t - s) ha ha1 hk (r s)) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp_stronglyMeasurable + ((continuous_const.sub continuous_id).stronglyMeasurable.prodMk hr) + +theorem integrableOn_homogeneousDuhamelIntegrand (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : StronglyMeasurable r) + (hir : IntegrableOn r (Icc 0 t)) : + IntegrableOn (fun s => homogeneousFreeOperator a b k (t - s) ha ha1 hk (r s)) (Icc 0 t) := by + apply hir.norm.mono' + (stronglyMeasurable_homogeneousDuhamelIntegrand a b k t ha ha1 hk r hr).aestronglyMeasurable + filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs + have hts : 0 ≤ t - s := sub_nonneg.mpr hs.2 + have he : Real.exp (-a * (t - s) / 2) ≤ 1 := Real.exp_le_one_iff.mpr (by nlinarith) + exact (homogeneousFreeOperator_forward_bound a b k (t - s) ha ha1 hk hts (r s)).trans + (mul_le_of_le_one_left (norm_nonneg _) he) + +theorem homogeneousDuhamel_measurable_norm_le (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ht : 0 ≤ t) + (r : ℝ → HomogeneousY a k) (hr : IntegrableOn r (Icc 0 t)) : + ‖homogeneousDuhamel a b k ha ha1 hk t r‖ ≤ ∫ s in Icc 0 t, ‖r s‖ := by + rw [homogeneousDuhamel, intervalIntegral.integral_of_le ht, ← integral_Icc_eq_integral_Ioc] + apply norm_integral_le_of_norm_le hr.norm + filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs + have hts : 0 ≤ t - s := sub_nonneg.mpr hs.2 + have he : Real.exp (-a * (t - s) / 2) ≤ 1 := Real.exp_le_one_iff.mpr (by nlinarith) + exact (homogeneousFreeOperator_forward_bound a b k (t - s) ha ha1 hk hts (r s)).trans + (mul_le_of_le_one_left (norm_nonneg _) he) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMeasurableMildContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMeasurableMildContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..33ac5c7748488226105da573398e30742196b4ca --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMeasurableMildContinuity.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMeasurableDuhamel +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Strong continuity of the Duhamel integral with merely integrable forcing -/ + +open Set MeasureTheory + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +theorem integrableOn_homogeneous_backward_forcing (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : StronglyMeasurable r) + (hir : IntegrableOn r (Icc 0 T)) : + IntegrableOn (fun s => homogeneousFreeOperator a b k (-s) ha ha1 hk (r s)) (Icc 0 T) := by + obtain ⟨C, hC⟩ := (isCompact_Icc : IsCompact (Icc (0 : ℝ) T)).exists_bound_of_continuousOn + (((continuous_homogeneousFreeBound a k).comp continuous_neg).continuousOn) + have hm : StronglyMeasurable (fun s => homogeneousFreeOperator a b k (-s) ha ha1 hk (r s)) := + (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp_stronglyMeasurable + (continuous_neg.stronglyMeasurable.prodMk hr) + apply (hir.norm.mul_const C).mono' hm.aestronglyMeasurable + filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs + have hc : homogeneousFreeBound a k (-s) ≤ C := + (le_abs_self _).trans (by simpa only [Function.comp_def, Real.norm_eq_abs] using hC s hs) + exact (homogeneousFreeOperator_norm_le a b k (-s) ha ha1 hk (r s)).trans + ((mul_le_mul_of_nonneg_right hc (norm_nonneg _)).trans_eq (mul_comm _ _)) + +theorem homogeneousDuhamel_factor_free (a b k T t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ht : t ∈ Icc 0 T) + (r : ℝ → HomogeneousY a k) (hr : StronglyMeasurable r) + (hir : IntegrableOn r (Icc 0 T)) : + homogeneousDuhamel a b k ha ha1 hk t r = + homogeneousFreeOperator a b k t ha ha1 hk + (∫ s in Icc 0 t, homogeneousFreeOperator a b k (-s) ha ha1 hk (r s)) := by + have hi := (integrableOn_homogeneous_backward_forcing a b k T ha ha1 hk r hr hir).mono_set + (show Icc (0 : ℝ) t ⊆ Icc (0 : ℝ) T from fun s hs => ⟨hs.1, hs.2.trans ht.2⟩) + rw [homogeneousDuhamel, intervalIntegral.integral_of_le ht.1, ← integral_Icc_eq_integral_Ioc, + ← (homogeneousFreeOperator a b k t ha ha1 hk).integral_comp_comm hi] + apply integral_congr_ae + filter_upwards [] with s + rw [← homogeneousFreeOperator_add, sub_eq_add_neg] + +theorem continuousOn_homogeneousDuhamel_measurable (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (r : ℝ → HomogeneousY a k) (hr : StronglyMeasurable r) + (hir : IntegrableOn r (Icc 0 T)) : + ContinuousOn (fun t => homogeneousDuhamel a b k ha ha1 hk t r) (Icc 0 T) := by + have hi := integrableOn_homogeneous_backward_forcing a b k T ha ha1 hk r hr hir + have hp := intervalIntegral.continuousOn_primitive_Icc hi + have hc := (continuous_homogeneousFreeOperator_uncurry a b k ha ha1 hk).comp_continuousOn + (continuousOn_id.prodMk hp) + apply hc.congr + intro t ht + exact homogeneousDuhamel_factor_free a b k T t ha ha1 hk ht r hr hir + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMildEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMildEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..eb66620230222b33058c725e5594baba5a0d268a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousMildEnergy.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousInteractionPicture +import Mathlib.Analysis.InnerProductSpace.Calculus + +namespace OAI + +/-! # Exact energy identity for forced mild evolution + +The identity is proved in the interaction picture and therefore holds for +arbitrary Y data and continuous Y forcing. No generator-domain assumption +or extra pair of spatial derivatives is needed. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +private theorem forced_component_energy_derivative (a b k s c : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (J : HomogeneousY a k →L[ℝ] Lp ℂ 2 (homogeneousSobolevMeasure s)) + (hnorm : ∀ t f, ‖J (homogeneousFreeOperator a b k t ha ha1 hk f)‖ ^ 2 = + Real.exp (c * t) * ‖J f‖ ^ 2) + (hinner : ∀ t f g, + inner ℝ (J (homogeneousFreeOperator a b k t ha ha1 hk f)) + (J (homogeneousFreeOperator a b k t ha ha1 hk g)) = + Real.exp (c * t) * inner ℝ (J f) (J g)) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) (hr : Continuous r) (t : ℝ) : + HasDerivAt (fun τ => ‖J (homogeneousForcedTrajectory a b k ha ha1 hk f r τ)‖ ^ 2) + (c * ‖J (homogeneousForcedTrajectory a b k ha ha1 hk f r t)‖ ^ 2 + + 2 * inner ℝ (J (homogeneousForcedTrajectory a b k ha ha1 hk f r t)) (J (r t))) t := by + let u := homogeneousForcedTrajectory a b k ha ha1 hk f r + let v := fun τ => homogeneousFreeOperator a b k (-τ) ha ha1 hk (u τ) + have hreturn (τ : ℝ) : homogeneousFreeOperator a b k τ ha ha1 hk (v τ) = u τ := by + change homogeneousFreeOperator a b k τ ha ha1 hk + (homogeneousFreeOperator a b k (-τ) ha ha1 hk (u τ)) = u τ + rw [← homogeneousFreeOperator_add] + simp only [add_neg_cancel, homogeneousFreeOperator_zero] + have hv : HasDerivAt v (homogeneousFreeOperator a b k (-t) ha ha1 hk (r t)) t := + hasDerivAt_homogeneousForcedTrajectory_pullback a b k ha ha1 hk f r hr t + have hJ := J.hasFDerivAt.comp_hasDerivAt t hv + have hD : HasDerivAt (fun τ => Real.exp (c * τ) * ‖J (v τ)‖ ^ 2) + (Real.exp (c * t) * c * ‖J (v t)‖ ^ 2 + Real.exp (c * t) * + (2 * inner ℝ (J (v t)) + (J (homogeneousFreeOperator a b k (-t) ha ha1 hk (r t))))) t := by + simpa only [id_eq, mul_one, Function.comp_apply, Pi.mul_apply] using! + (((hasDerivAt_id t).const_mul c).exp).mul hJ.norm_sq + have he (τ : ℝ) : ‖J (u τ)‖ ^ 2 = Real.exp (c * τ) * ‖J (v τ)‖ ^ 2 := by + simpa only [hreturn] using hnorm τ (v τ) + have hi : inner ℝ (J (u t)) (J (r t)) = + Real.exp (c * t) * inner ℝ (J (v t)) + (J (homogeneousFreeOperator a b k (-t) ha ha1 hk (r t))) := by + have hcancel : homogeneousFreeOperator a b k t ha ha1 hk + (homogeneousFreeOperator a b k (-t) ha ha1 hk (r t)) = r t := by + rw [← homogeneousFreeOperator_add] + simp only [add_neg_cancel, homogeneousFreeOperator_zero] + simpa only [hreturn, hcancel] using + hinner t (v t) (homogeneousFreeOperator a b k (-t) ha ha1 hk (r t)) + change HasDerivAt (fun τ => ‖J (u τ)‖ ^ 2) + (c * ‖J (u t)‖ ^ 2 + 2 * inner ℝ (J (u t)) (J (r t))) t + rw [show (fun τ => ‖J (u τ)‖ ^ 2) = + (fun τ => Real.exp (c * τ) * ‖J (v τ)‖ ^ 2) from funext he] + convert! hD using 1 + rw [he, hi] + ring + +/-- The two free rates and the exact real forcing pairing, valid for arbitrary +mild data in the faithful homogeneous Hilbert space. -/ +theorem hasDerivAt_homogeneousForcedEnergy (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) (hr : Continuous r) (t : ℝ) : + HasDerivAt (fun τ => ‖homogeneousForcedTrajectory a b k ha ha1 hk f r τ‖ ^ 2) + (-a * ‖homogeneousLowEnergy a k ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r t)‖ ^ 2 + + (6 - 2 * a - k) * ‖homogeneousHighEnergy a k ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r t)‖ ^ 2 + + 2 * inner ℝ (homogeneousForcedTrajectory a b k ha ha1 hk f r t) (r t)) t := by + have hlow := forced_component_energy_derivative a b k (6 - a) (-a) ha ha1 hk + (homogeneousLowEnergy a k ha1 hk) + (fun τ g => homogeneousLowEnergy_free a b k τ ha ha1 hk g) + (fun τ g h => homogeneousLowEnergy_free_inner a b k τ ha ha1 hk g h) f r hr t + have hhigh := forced_component_energy_derivative a b k k (6 - 2 * a - k) ha ha1 hk + (homogeneousHighEnergy a k ha1 hk) + (fun τ g => homogeneousHighEnergy_free a b k τ ha ha1 hk g) + (fun τ g h => homogeneousHighEnergy_free_inner a b k τ ha ha1 hk g h) f r hr t + convert hlow.add hhigh using 1 + · funext τ + exact homogeneousEnergy_norm_sq a k ha1 hk _ + · rw [homogeneousEnergy_inner a k ha1 hk] + ring + +/-- Integrated energy balance for the actual forced evolution. -/ +theorem homogeneousForcedEnergy_balance (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (r : ℝ → HomogeneousY a k) (hr : Continuous r) (t : ℝ) : + ‖homogeneousForcedTrajectory a b k ha ha1 hk f r t‖ ^ 2 = ‖f‖ ^ 2 + + ∫ τ in (0 : ℝ)..t, + -a * ‖homogeneousLowEnergy a k ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r τ)‖ ^ 2 + + (6 - 2 * a - k) * ‖homogeneousHighEnergy a k ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r τ)‖ ^ 2 + + 2 * inner ℝ (homogeneousForcedTrajectory a b k ha ha1 hk f r τ) (r τ) := by + have hu := continuous_homogeneousForcedTrajectory a b k ha ha1 hk f r hr + have hi : Continuous (fun τ => + -a * ‖homogeneousLowEnergy a k ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r τ)‖ ^ 2 + + (6 - 2 * a - k) * ‖homogeneousHighEnergy a k ha1 hk + (homogeneousForcedTrajectory a b k ha ha1 hk f r τ)‖ ^ 2 + + 2 * inner ℝ (homogeneousForcedTrajectory a b k ha ha1 hk f r τ) (r τ)) := + ((continuous_const.mul (((homogeneousLowEnergy a k ha1 hk).continuous.comp hu).norm.pow 2)).add + (continuous_const.mul (((homogeneousHighEnergy a k ha1 hk).continuous.comp hu).norm.pow 2))).add + (continuous_const.mul (hu.inner hr)) + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun τ _ => hasDerivAt_homogeneousForcedEnergy a b k ha ha1 hk f r hr τ) + (hi.intervalIntegrable 0 t) + rw [homogeneousForcedTrajectory_zero] at he + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousNonlinearity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousNonlinearity.lean new file mode 100644 index 0000000000000000000000000000000000000000..da6537dd97696c221dd893fffb386dac6bdcd953 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousNonlinearity.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousConjugation +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerNonlinearity +import Mathlib.Analysis.Calculus.ContDiff.Comp + +namespace OAI + +/-! # The actual odd-power nonlinearity on the whole-space homogeneous algebra -/ + +open scoped ComplexConjugate ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousRealProduct (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + HomogeneousY a k →L[ℝ] HomogeneousY a k →L[ℝ] HomogeneousY a k := + (homogeneousYProduct a k ha ha1 hk).bilinearRestrictScalars ℝ + +noncomputable def homogeneousOddPower (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : ℕ → HomogeneousY a k → HomogeneousY a k + | 0, f => f + | m + 1, f => homogeneousYProduct a k ha ha1 hk + (homogeneousYProduct a k ha ha1 hk (homogeneousOddPower a k ha ha1 hk m f) + (homogeneousConjugation a k ha ha1 hk f)) f + +theorem homogeneousOddPower_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (f : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousOddPower a k ha ha1 hk m f) y = + oddPowerNonlinearity m (homogeneousPhysicalCLM a k ha ha1 hk f y) := by + induction m with + | zero => simp [homogeneousOddPower, oddPowerNonlinearity] + | succ m ih => + simp only [homogeneousOddPower, homogeneousYProduct_physical, + homogeneousConjugation_physical, ih, oddPowerNonlinearity, pow_succ, starRingEnd_apply] + ring + +theorem contDiff_homogeneousOddPower (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) : + ContDiff ℝ ⊤ (homogeneousOddPower a k ha ha1 hk m) := by + induction m with + | zero => exact contDiff_id + | succ m ih => + exact ((homogeneousRealProduct a k ha ha1 hk).contDiff.comp + (((homogeneousRealProduct a k ha ha1 hk).contDiff.comp ih).clm_apply + (homogeneousConjugation a k ha ha1 hk).contDiff)).clm_apply contDiff_id + +theorem locallyLipschitz_homogeneousOddPower (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) : + LocallyLipschitz (homogeneousOddPower a k ha ha1 hk m) := + ((contDiff_homogeneousOddPower a k ha ha1 hk m).of_le (by simp)).locallyLipschitz + +theorem norm_homogeneousOddPower_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (f : HomogeneousY a k) : + ‖homogeneousOddPower a k ha ha1 hk m f‖ ≤ + ‖homogeneousYProduct a k ha ha1 hk‖ ^ (2 * m) * ‖f‖ ^ (2 * m + 1) := by + let C := ‖homogeneousYProduct a k ha ha1 hk‖ + have hC : 0 ≤ C := norm_nonneg (homogeneousYProduct a k ha ha1 hk) + have hprod (u v : HomogeneousY a k) : + ‖homogeneousYProduct a k ha ha1 hk u v‖ ≤ C * ‖u‖ * ‖v‖ := + (homogeneousYProduct a k ha ha1 hk).le_opNorm₂ u v + induction m with + | zero => simp [homogeneousOddPower] + | succ m ih => + change ‖homogeneousYProduct a k ha ha1 hk + (homogeneousYProduct a k ha ha1 hk (homogeneousOddPower a k ha ha1 hk m f) + (homogeneousConjugation a k ha ha1 hk f)) f‖ ≤ _ + calc + _ ≤ C * ‖homogeneousYProduct a k ha ha1 hk (homogeneousOddPower a k ha ha1 hk m f) + (homogeneousConjugation a k ha ha1 hk f)‖ * ‖f‖ := hprod _ _ + _ ≤ C * (C * ‖homogeneousOddPower a k ha ha1 hk m f‖ * ‖f‖) * ‖f‖ := by + gcongr + simpa only [homogeneousConjugation_norm] using + hprod (homogeneousOddPower a k ha ha1 hk m f) (homogeneousConjugation a k ha ha1 hk f) + _ ≤ C * (C * (C ^ (2 * m) * ‖f‖ ^ (2 * m + 1)) * ‖f‖) * ‖f‖ := by gcongr + _ = _ := by + change C * (C * (C ^ (2 * m) * ‖f‖ ^ (2 * m + 1)) * ‖f‖) * ‖f‖ = + C ^ (2 * (m + 1)) * ‖f‖ ^ (2 * (m + 1) + 1) + simp only [Nat.mul_add, Nat.mul_one, pow_succ] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousObservationSeparates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousObservationSeparates.lean new file mode 100644 index 0000000000000000000000000000000000000000..edafa2147794c2717cb76d7ac8aa29bc3b0d399f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousObservationSeparates.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalL2 +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalInjective +import Mathlib.MeasureTheory.Measure.OpenPos + +namespace OAI + +/-! # Local physical L² observations separate the faithful Y space -/ + +open MeasureTheory Set + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousLocalL2_zero_on_ball (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) + (hu : homogeneousLocalL2Observation a k R ha ha1 hk u = 0) : + EqOn (homogeneousPhysicalCLM a k ha ha1 hk u) 0 (Metric.ball (0 : E) R) := by + have hsub : ∀ᵐ x : Metric.closedBall (0 : E) R ∂homogeneousBallMeasure R, + homogeneousPhysicalCLM a k ha ha1 hk u x = 0 := by + filter_upwards [homogeneousLocalL2Observation_ae a k R ha ha1 hk u, + Lp.coeFn_zero ℂ 2 (homogeneousBallMeasure R)] with x hx hz + rw [hu] at hx + exact hx.symm.trans hz + have hclosed : ∀ᵐ x : E ∂volume.restrict (Metric.closedBall (0 : E) R), + homogeneousPhysicalCLM a k ha ha1 hk u x = 0 := by + have h := (ae_restrict_iff_subtype (μ := volume.restrict (Metric.closedBall (0 : E) R)) + (p := fun x : E => homogeneousPhysicalCLM a k ha ha1 hk u x = 0) + measurableSet_closedBall).mpr hsub + simpa only [Measure.restrict_restrict measurableSet_closedBall, inter_self] using h + have hopen := ae_restrict_of_ae_restrict_of_subset Metric.ball_subset_closedBall hclosed + exact Measure.eqOn_open_of_ae_eq hopen Metric.isOpen_ball + (homogeneousPhysicalCLM a k ha ha1 hk u).continuous.continuousOn continuous_const.continuousOn + +theorem homogeneousLocalL2_observations_separate (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) + (hu : ∀ R : ℝ, 0 < R → homogeneousLocalL2Observation a k R ha ha1 hk u = 0) : + u = 0 := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + rw [map_zero] + apply DFunLike.ext + intro x + have he := homogeneousLocalL2_zero_on_ball a k (‖x‖ + 1) ha ha1 hk u + (hu (‖x‖ + 1) (by positivity)) + exact he (by simpa only [Metric.mem_ball, dist_zero_right] using lt_add_one ‖x‖) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOrderedDerivatives.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOrderedDerivatives.lean new file mode 100644 index 0000000000000000000000000000000000000000..b286ef2ea7c947495a358aa84acb41105ed2877d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOrderedDerivatives.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyInterpolation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierDerivatives + +namespace OAI + +/-! # Ordered Cartesian derivatives and the high homogeneous energy + +The sum over all ordered k-tuples of Cartesian directions is exactly the +Fourier weight |ξ|^(2k). This supplies the high-energy interpretation needed +to apply one pointwise principal potential to each derivative component. +-/ + +open MeasureTheory LineDeriv +open scoped SchwartzMap FourierTransform LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousOrderedDerivative (N : ℕ) (j : Fin N → Fin 12) + (f : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + ∂^{fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i)} f + +private theorem radianFourierKernel_iteratedLineDeriv (N : ℕ) (v : Fin N → E) + (f : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (∂^{v} f) ξ = + (∏ i, ((inner ℝ ξ (v i) : ℂ) * Complex.I)) * radianFourierKernel f ξ := by + induction N with + | zero => simp + | succ N ih => + rw [iteratedLineDerivOp_succ_left, radianFourierKernel_lineDeriv, ih, + Fin.prod_univ_succ] + simp only [Fin.tail_def] + ring + +theorem homogeneousOrderedDerivative_fourier (N : ℕ) (j : Fin N → Fin 12) + (f : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (homogeneousOrderedDerivative N j f) ξ = + (∏ i, ((ξ (j i) : ℂ) * Complex.I)) * radianFourierKernel f ξ := by + simpa only [homogeneousOrderedDerivative, EuclideanSpace.inner_basisFun_real] using + radianFourierKernel_iteratedLineDeriv N + (fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i)) f ξ + +theorem homogeneousOrderedDerivative_fourier_sum (N : ℕ) (f : 𝓢(E, ℂ)) (ξ : E) : + (∑ j : Fin N → Fin 12, ‖radianFourierKernel (homogeneousOrderedDerivative N j f) ξ‖ ^ 2) = + ‖ξ‖ ^ (2 * N) * ‖radianFourierKernel f ξ‖ ^ 2 := by + have hterm (j : Fin N → Fin 12) : + ‖radianFourierKernel (homogeneousOrderedDerivative N j f) ξ‖ ^ 2 = + (∏ i, (ξ (j i)) ^ 2) * ‖radianFourierKernel f ξ‖ ^ 2 := by + rw [homogeneousOrderedDerivative_fourier, norm_mul, mul_pow] + rw [norm_prod, ← Finset.prod_pow] + congr 1 + apply Finset.prod_congr rfl + intro i _hi + rw [norm_mul, Complex.norm_real, Complex.norm_I, mul_one, Real.norm_eq_abs, sq_abs] + simp_rw [hterm] + rw [← Finset.sum_mul] + congr 1 + rw [← Fintype.sum_pow (fun i : Fin 12 => (ξ i) ^ 2) N] + rw [← EuclideanSpace.real_norm_sq_eq, pow_mul] + +private theorem integrable_schwartz_norm_sq (f : 𝓢(E, ℂ)) : + Integrable (fun x => ‖f x‖ ^ 2) := + (f.memLp 2).integrable_norm_pow (p := 2) (by norm_num) + +theorem homogeneousOrderedDerivative_energy (N : ℕ) (f : 𝓢(E, ℂ)) : + (∑ j : Fin N → Fin 12, ∫ x : E, ‖homogeneousOrderedDerivative N j f x‖ ^ 2) = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + homogeneousFrequencyEnergy (N : ℝ) (radianFourierKernel f) := by + have hzero (j : Fin N → Fin 12) : + (∫ x : E, ‖homogeneousOrderedDerivative N j f x‖ ^ 2) = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + homogeneousFrequencyEnergy 0 (radianFourierKernel (homogeneousOrderedDerivative N j f)) := by + rw [radianFourier_energy_zero] + rw [← mul_assoc, inv_mul_cancel₀ (by positivity), one_mul] + simp only [homogeneousFrequencyEnergy, mul_zero, Real.rpow_zero, one_mul] + simp_rw [hzero] + rw [← Finset.mul_sum] + congr 1 + simp only [homogeneousFrequencyEnergy, mul_zero, Real.rpow_zero, one_mul] + rw [← integral_finsetSum _ (fun j _ => + integrable_schwartz_norm_sq (radianFourierKernel (homogeneousOrderedDerivative N j f)))] + apply integral_congr_ae + filter_upwards [] with ξ + rw [homogeneousOrderedDerivative_fourier_sum] + congr 1 + rw [← Real.rpow_natCast] + congr 1 + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingComparison.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingComparison.lean new file mode 100644 index 0000000000000000000000000000000000000000..7b87f104b17561845b24abee05462be362026f15 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingComparison.lean @@ -0,0 +1,97 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingEstimates +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDefectComparison +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEulerPhysical + +namespace OAI + +/-! # The high radial derivative detects the transverse outgoing defect + +The exact Euler recurrence separates its velocity row from the outgoing +remainder. Dividing by the physical derivative scaling gives the power +comparison used with radial square integrability. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +theorem homogeneousEulerRows_defect_identity + (B C : ℝ → End) (u v du dv F G : ℝ → V) (L : ℝ) + (hB : ContDiffOn ℝ ∞ B (Ioi L)) (hC : ContDiffOn ℝ ∞ C (Ioi L)) + (hu : ∀ t, L < t → HasDerivAt u (du t) t) + (hv : ∀ t, L < t → HasDerivAt v (dv t) t) + (hdu : ∀ t, L < t → HasDerivAt du (-B t (du t) - C t (u t)) t) + (hdv : ∀ t, L < t → HasDerivAt dv (-B t (dv t) - C t (v t)) t) + (hF : ∀ t, L < t → HasDerivAt F (G t) t) + (hG : ∀ t, L < t → HasDerivAt G (-B t (G t) - C t (F t)) t) + (n : ℕ) (t : ℝ) (ht : L < t) (hd : spectralValueDet (u t) (v t) ≠ 0) : + homogeneousEulerDeriv F n t = + (homogeneousEulerRows B C n).2 t + (G t - spectralRobinOperator (u t) (v t) (du t) (dv t) (F t)) + + (spectralTwoColumns (homogeneousEulerDeriv u n t) + (homogeneousEulerDeriv v n t) * spectralValueInverse (u t) (v t)) (F t) := by + rw [homogeneousEulerRows_identity B C F G L hB hC hF hG n t ht, + ← homogeneousEulerRows_outgoing_remainder B C u v du dv L hB hC + hu hv hdu hdv n t ht hd] + simp only [add_apply, mul_apply_eq_comp, map_sub] + abel + +theorem homogeneousLogRow_norm_comparison + (U W H : V) (T R : End) (r c K M : ℝ) (n : ℕ) + (hr : 0 < r) (hK : 0 ≤ K) + (hrow : c * r ^ (2 * n) * ‖r • W‖ ≤ ‖T (r • W)‖) + (hidentity : r ^ (n + 1) • H = T (r • W) + R U) + (hR : ‖R‖ ≤ K) (hU : ‖U‖ ≤ M) : + c * r ^ n * ‖W‖ ≤ ‖H‖ + K * M / r ^ (n + 1) := by + have hRnorm : ‖R U‖ ≤ K * M := + (ContinuousLinearMap.le_opNorm R U).trans + (mul_le_mul hR hU (norm_nonneg _) hK) + have htri : ‖T (r • W)‖ ≤ r ^ (n + 1) * ‖H‖ + K * M := by + calc + _ = ‖r ^ (n + 1) • H - R U‖ := by rw [hidentity, add_sub_cancel_right] + _ ≤ ‖r ^ (n + 1) • H‖ + ‖R U‖ := norm_sub_le _ _ + _ ≤ r ^ (n + 1) * ‖H‖ + K * M := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (pow_pos hr _)] + exact add_le_add le_rfl hRnorm + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hr] at hrow + have hp : r ^ (2 * n) * r = r ^ n * r ^ (n + 1) := by + rw [two_mul, pow_add, pow_succ] + ring + apply (mul_le_mul_iff_left₀ (pow_pos hr (n + 1))).mp + calc + (c * r ^ n * ‖W‖) * r ^ (n + 1) = c * (r ^ n * r ^ (n + 1)) * ‖W‖ := by ring + _ = c * r ^ (2 * n) * (r * ‖W‖) := by rw [← hp]; ring + _ ≤ r ^ (n + 1) * ‖H‖ + K * M := hrow.trans htri + _ = (‖H‖ + K * M / r ^ (n + 1)) * r ^ (n + 1) := by + field_simp [hr.ne'] + +theorem homogeneousLogRow_energy_comparison + (U W H : V) (T R : End) (r c K M : ℝ) (n : ℕ) + (hr : 0 < r) (hc : 0 < c) (hK : 0 ≤ K) (hM : 0 ≤ M) + (hrow : c * r ^ (2 * n) * ‖r • W‖ ≤ ‖T (r • W)‖) + (hidentity : r ^ (n + 1) • H = T (r • W) + R U) + (hR : ‖R‖ ≤ K) (hU : ‖U‖ ≤ M) : + r ^ (2 * (n : ℝ)) * homogeneousPairEnergy W ≤ + (4 / c ^ 2) * homogeneousPairEnergy H + + (4 / c ^ 2) * (K * M) ^ 2 * r ^ (-2 * ((n + 1 : ℕ) : ℝ)) := by + have he := homogeneousPair_energy_control W H (r ^ n) + (K * M / r ^ (n + 1)) c (pow_nonneg hr.le _) (by positivity) hc + (homogeneousLogRow_norm_comparison U W H T R r c K M n hr hK + hrow hidentity hR hU) + have hp : r ^ (2 * (n : ℝ)) = (r ^ n) ^ 2 := by + rw [mul_comm (2 : ℝ), Real.rpow_mul hr.le, Real.rpow_ofNat, Real.rpow_natCast] + have hq : r ^ (-2 * ((n + 1 : ℕ) : ℝ)) = ((r ^ (n + 1))⁻¹) ^ 2 := by + rw [show -2 * ((n + 1 : ℕ) : ℝ) = (-((n + 1 : ℕ) : ℝ)) * 2 by ring, + Real.rpow_mul hr.le, Real.rpow_ofNat, Real.rpow_neg hr.le, Real.rpow_natCast] + rw [hp, hq] + convert he using 1 + simp only [div_eq_mul_inv, mul_pow] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDefectEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDefectEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..0b5748213ad6cc87c7ba5a49096d3dbf42f90cf4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDefectEquation.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingRobin +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingDefectZero + +namespace OAI + +/-! # The outgoing Robin estimate gives the exact defect energy equation -/ + +open Set Filter Topology MeasureTheory + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +private theorem radial_coefficient_split (z : ℂ) (r omega : ℝ) : + 11 / (r : ℂ) + Complex.I * omega + (r⁻¹ : ℝ) • z = + (((11 + z.re) / r : ℝ) : ℂ) + Complex.I * (omega + z.im / r) := by + apply Complex.ext + all_goals + simp [Complex.real_smul, Complex.mul_re, Complex.mul_im, div_eq_mul_inv] + ring + +theorem homogeneousOutgoingDefect_damping + (νp νm : ℂ) (hν : νp.re = νm.re) (A : End) (r : ℝ) (w : V) : + -(homogeneousRadialDamping r + A) w = + (-((((11 + νp.re) / r : ℝ) : ℂ) + + Complex.I * (r / 2 + νp.im / r)) * w.1 - + ((A - r⁻¹ • homogeneousDiagonal νp νm) w).1, + -((((11 + νp.re) / r : ℝ) : ℂ) + + Complex.I * (-r / 2 + νm.im / r)) * w.2 - + ((A - r⁻¹ • homogeneousDiagonal νp νm) w).2) := by + have hp := radial_coefficient_split νp r (r / 2) + have hm := radial_coefficient_split νm r (-r / 2) + rw [← hν] at hm + apply Prod.ext + all_goals + simp only [homogeneousRadialDamping, homogeneousDiagonal, spectralTwoColumns_apply, + add_apply, sub_apply, smul_apply, Prod.fst_add, Prod.snd_add, + Prod.fst_sub, Prod.snd_sub, Prod.fst_neg, Prod.snd_neg, + Prod.smul_fst, Prod.smul_snd, Complex.real_smul, smul_eq_mul, + mul_zero, add_zero, zero_add] + · have hp' : 11 / (r : ℂ) + Complex.I * r / 2 + (r⁻¹ : ℝ) • νp = + (((11 + νp.re) / r : ℝ) : ℂ) + Complex.I * (r / 2 + νp.im / r) := by + convert hp using 1 <;> push_cast <;> ring + rw [← hp'] + simp only [Complex.real_smul] + ring + · have hm' : 11 / (r : ℂ) - Complex.I * r / 2 + (r⁻¹ : ℝ) • νm = + (((11 + νp.re) / r : ℝ) : ℂ) + Complex.I * (-r / 2 + νm.im / r) := by + convert hm using 1 <;> push_cast <;> ring + rw [← hm'] + simp only [Complex.real_smul] + ring + +theorem homogeneousOutgoingDefect_hasDerivAt + (νp νm : ℂ) (hν : νp.re = νm.re) (A : ℝ → End) (W : ℝ → V) (r : ℝ) + (hW : HasDerivAt W (-(homogeneousRadialDamping r + A r) (W r)) r) : + HasDerivAt W + (-((((11 + νp.re) / r : ℝ) : ℂ) + + Complex.I * (r / 2 + νp.im / r)) * (W r).1 - + ((A r - r⁻¹ • homogeneousDiagonal νp νm) (W r)).1, + -((((11 + νp.re) / r : ℝ) : ℂ) + + Complex.I * (-r / 2 + νm.im / r)) * (W r).2 - + ((A r - r⁻¹ • homogeneousDiagonal νp νm) (W r)).2) r := + hW.congr_deriv (homogeneousOutgoingDefect_damping νp νm hν (A r) r (W r)) + +theorem homogeneousOutgoingDefect_eventually_zero + (νp νm : ℂ) (hν : νp.re = νm.re) (A : ℝ → End) (W : ℝ → V) + (f g : ℝ → ℂ) (R beta C B : ℝ) (N : ℕ) + (hR : 0 < R) (hC : 0 < C) + (hbeta : -6 ≤ beta - (11 + νp.re)) + (hgap : 0 < (N : ℝ) + beta - (11 + νp.re)) + (hW : ∀ r, R ≤ r → HasDerivAt W + (-(homogeneousRadialDamping r + A r) (W r)) r) + (hA : ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ r in atTop, + ‖A r - r⁻¹ • homogeneousDiagonal νp νm‖ ≤ M / r ^ 3) + (hcomparison : ∀ᶠ r in atTop, r ^ (2 * beta) * homogeneousPairEnergy (W r) ≤ + C * homogeneousPairEnergy (f r, g r) + B * r ^ (-2 * (N : ℝ))) + (hf : IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R)) + (hg : IntegrableOn (fun r => r ^ (11 : ℕ) * ‖g r‖ ^ 2) (Ioi R)) : + ∀ᶠ r in atTop, W r = 0 := by + obtain ⟨M, hM, hAM⟩ := hA + obtain ⟨T, hT⟩ := eventually_atTop.mp hAM + let S := max R T + have hRS : R ≤ S := le_max_left _ _ + have hTS : T ≤ S := le_max_right _ _ + have hzero := homogeneousOutgoingDefect_eq_zero W + (fun r => (A r - r⁻¹ • homogeneousDiagonal νp νm) (W r)) + (fun r => r / 2 + νp.im / r) (fun r => -r / 2 + νm.im / r) + f g S (11 + νp.re) M beta C B N (hR.trans_le hRS) hM hC hbeta hgap + (fun r hr => by + simpa only [Complex.ofReal_add, Complex.ofReal_div, Complex.ofReal_neg, + Complex.ofReal_ofNat] using + homogeneousOutgoingDefect_hasDerivAt νp νm hν A W r (hW r (hRS.trans hr))) + (fun r hr => (ContinuousLinearMap.le_opNorm _ _).trans + (mul_le_mul_of_nonneg_right (hT r (hTS.trans hr)) (norm_nonneg _))) + hcomparison (hf.mono_set (Ioi_subset_Ioi hRS)) (hg.mono_set (Ioi_subset_Ioi hRS)) + exact (eventually_ge_atTop S).mono hzero + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDefectZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDefectZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..fd9ea8d0e6bb1591efb51c287d2ed9258633a297 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDefectZero.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingComparison + +namespace OAI + +/-! # Radial square integrability forces the outgoing defect to vanish + +A nonzero defect has a fixed polynomial energy lower bound. The exact +high-derivative comparison and the twelve-dimensional radial measure +contradict that bound, even with the decaying outgoing remainder present. +-/ + +open Set Filter Topology MeasureTheory + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ + +theorem homogeneousOutgoingDefect_eq_zero + (W e : ℝ → V) (omega₁ omega₂ : ℝ → ℝ) (f g : ℝ → ℂ) + (R d M beta C B : ℝ) (N : ℕ) + (hR : 0 < R) (hM : 0 ≤ M) (hC : 0 < C) + (hbeta : -6 ≤ beta - d) (hgap : 0 < (N : ℝ) + beta - d) + (hW : ∀ r, R ≤ r → HasDerivAt W + (-(((d / r : ℝ) : ℂ) + Complex.I * omega₁ r) * (W r).1 - (e r).1, + -(((d / r : ℝ) : ℂ) + Complex.I * omega₂ r) * (W r).2 - (e r).2) r) + (he : ∀ r, R ≤ r → ‖e r‖ ≤ M / r ^ 3 * ‖W r‖) + (hcomparison : ∀ᶠ r in atTop, r ^ (2 * beta) * homogeneousPairEnergy (W r) ≤ + C * homogeneousPairEnergy (f r, g r) + B * r ^ (-2 * (N : ℝ))) + (hf : IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R)) + (hg : IntegrableOn (fun r => r ^ (11 : ℕ) * ‖g r‖ ^ 2) (Ioi R)) : + ∀ r, R ≤ r → W r = 0 := by + intro r hr + by_contra hn + obtain ⟨c, hc, hlower⟩ := homogeneousDefect_nonzero_power_bound W e + omega₁ omega₂ d M r hM (hR.trans_le hr) hn + (fun s hs => hW s (hr.trans hs)) (fun s hs => he s (hr.trans hs)) + have hlower' : ∀ᶠ s in atTop, c ≤ s ^ (2 * d) * homogeneousPairEnergy (W s) := + (eventually_ge_atTop r).mono hlower + exact radial_pair_not_integrable_of_defect_remainder f g + (fun s => homogeneousPairEnergy (W s)) R beta d c C B N hc hC + hbeta hgap hlower' hcomparison ⟨hf, hg⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDerivatives.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDerivatives.lean new file mode 100644 index 0000000000000000000000000000000000000000..5ab262399c48c9b5e65557e9df0235c5791940e6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingDerivatives.lean @@ -0,0 +1,115 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralInterpolation +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCanonicalOutgoing + +namespace OAI + +/-! # Differentiated bounds for the constructed outgoing spectral columns -/ + +open Set Filter Topology Polynomial +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneous_circular_positive_derivatives + (ν νp νm eta : ℂ) (m : ℕ) (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) + (L U M : ℝ) (hM : 0 ≤ M) + (hq : ∀ t, L < t → HasDerivAt q (radialExteriorODEField ν m t (q t)) t) + (hY : ∀ t, L < t → HasDerivAt Y (circularLeadingField t (Y t) + + circularBoundedField νp νm eta m (q t).1 (Y t)) t) + (hbq : ∀ t, U ≤ t → ‖q t‖ ≤ M) (hbY : ∀ t, U ≤ t → ‖Y t‖ ≤ M) + (P : ℕ → ℂ[X] × ℂ[X]) + (happrox : ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ v : CircularTailSpace, ∀ t, 0 ≤ t → + Y t = circularPolynomialJet (P j) t + circularUnweight (2 * (j : ℝ)) v t) : + (∀ k : ℕ, 0 < k → ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv k (fun s => (Y s).1.1) t‖ ≤ A * Real.exp (-2 * t)) ∧ + (∀ k : ℕ, 0 < k → ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv k (fun s => (Y s).2.1) t‖ ≤ A * Real.exp (-2 * t)) := by + have hs := homogeneousSpectral_solution_contDiffOn ν νp νm eta m q Y L hq hY + have hg (i : Fin 6) (k : ℕ) : ∃ C B T : ℝ, 0 ≤ C ∧ 0 ≤ B ∧ + ∀ t, T ≤ t → ‖iteratedDeriv k (fun s => homogeneousSpectralState q Y s i) t‖ ≤ + B * Real.exp (C * t) := by + obtain ⟨C, B, T, hC, hB, _hT, hb⟩ := + homogeneousSpectral_derivatives_exponential_bound ν νp νm eta m q Y L U M + hM hq hY hbq hbY i k + exact ⟨C, B, T, hC, hB, hb⟩ + have hap : ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ A T : ℝ, 0 ≤ A ∧ + ∀ t, T ≤ t → ‖(Y t).1.1 - radialExteriorPolynomialFunction (P j).1 t‖ ≤ + A * Real.exp (-(2 * (j : ℝ)) * t) := by + intro J + obtain ⟨j, hj, v, hv⟩ := happrox J + refine ⟨j, hj, ‖v‖, 0, norm_nonneg _, ?_⟩ + intro t ht + have he : (Y t).1.1 - radialExteriorPolynomialFunction (P j).1 t = + (circularUnweight (2 * (j : ℝ)) v t).1.1 := by + rw [hv t ht] + simp only [circularPolynomialJet, Prod.fst_add, add_sub_cancel_left] + rw [he] + exact (norm_fst_le _).trans ((norm_fst_le _).trans + ((circularUnweight_norm (2 * (j : ℝ)) t v).trans_eq (mul_comm _ _))) + have ham : ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ A T : ℝ, 0 ≤ A ∧ + ∀ t, T ≤ t → ‖(Y t).2.1 - radialExteriorPolynomialFunction (P j).2 t‖ ≤ + A * Real.exp (-(2 * (j : ℝ)) * t) := by + intro J + obtain ⟨j, hj, v, hv⟩ := happrox J + refine ⟨j, hj, ‖v‖, 0, norm_nonneg _, ?_⟩ + intro t ht + have he : (Y t).2.1 - radialExteriorPolynomialFunction (P j).2 t = + (circularUnweight (2 * (j : ℝ)) v t).2.1 := by + rw [hv t ht] + simp only [circularPolynomialJet, Prod.snd_add, Prod.fst_add, add_sub_cancel_left] + rw [he] + exact (norm_fst_le _).trans ((norm_snd_le _).trans + ((circularUnweight_norm (2 * (j : ℝ)) t v).trans_eq (mul_comm _ _))) + constructor + · intro k hk + apply radial_arbitrary_approximation_positive_derivative_decay + (fun s => (Y s).1.1) (fun j => (P j).1) L hs.fst.fst _ hap k hk + intro j + simpa only [homogeneousSpectralState_two] using hg 2 j + · intro k hk + apply radial_arbitrary_approximation_positive_derivative_decay + (fun s => (Y s).2.1) (fun j => (P j).2) L hs.snd.fst _ ham k hk + intro j + simpa only [homogeneousSpectralState_four] using hg 4 j + +theorem homogeneous_canonical_circular_positive_derivatives + (ν νp νm eta b : ℂ) (m : ℕ) (L : ℝ) + (hX : HasRadialExterior ν m b L) (Y : ℝ → V₄) (c : ℂ × ℂ) + (hY : ∀ t, 0 ≤ t → HasDerivAt Y (circularLeadingField t (Y t) + + circularBoundedField νp νm eta m (radialExteriorCanonical ν m b L t).1 (Y t)) t) + (hlim : Tendsto Y atTop (𝓝 ((c.1, 0), (c.2, 0)))) + (happrox : ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ v : CircularTailSpace, ∀ t, 0 ≤ t → + Y t = circularPolynomialJet + (spectralOutgoingPolynomial νp νm eta m (radialExteriorExpansion ν m b j) c j) t + + circularUnweight (2 * (j : ℝ)) v t) : + (∀ k : ℕ, 0 < k → ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv k (fun s => (Y s).1.1) t‖ ≤ A * Real.exp (-2 * t)) ∧ + (∀ k : ℕ, 0 < k → ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv k (fun s => (Y s).2.1) t‖ ≤ A * Real.exp (-2 * t)) := by + let M := max (‖(b, (0 : ℂ))‖ + 1) (‖((c.1, (0 : ℂ)), (c.2, (0 : ℂ)))‖ + 1) + obtain ⟨Uq, hUq⟩ := eventually_atTop.mp + ((radialExteriorCanonical_spec hX).2.1.tendsto.norm.eventually + (gt_mem_nhds (show ‖(b, (0 : ℂ))‖ < ‖(b, (0 : ℂ))‖ + 1 by linarith))) + obtain ⟨UY, hUY⟩ := eventually_atTop.mp + (hlim.norm.eventually (gt_mem_nhds + (show ‖((c.1, (0 : ℂ)), (c.2, (0 : ℂ)))‖ < + ‖((c.1, (0 : ℂ)), (c.2, (0 : ℂ)))‖ + 1 by linarith))) + apply homogeneous_circular_positive_derivatives ν νp νm eta m + (radialExteriorCanonical ν m b L) Y (max L 0) (max Uq UY) M + (le_trans (by positivity : 0 ≤ ‖(b, (0 : ℂ))‖ + 1) (le_max_left _ _)) + _ _ _ _ _ happrox + · intro t ht + exact ((radialExteriorCanonical_spec hX).2.2 t + ((le_max_left L 0).trans ht.le)).2 + · intro t ht + exact hY t ((le_max_right L 0).trans ht.le) + · intro t ht + exact (hUq t ((le_max_left Uq UY).trans ht)).le.trans (le_max_left _ _) + · intro t ht + exact (hUY t ((le_max_right Uq UY).trans ht)).le.trans (le_max_right _ _) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingEstimates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingEstimates.lean new file mode 100644 index 0000000000000000000000000000000000000000..949f75fe4df40ed8402f695cd01306dfd0553028 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingEstimates.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingMatrix +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingLogJets + +namespace OAI + +/-! # Bounded physical derivative rows from the normalized outgoing columns + +The radial powers in the value matrix and its inverse cancel. The +remaining bound depends only on the bounded normalized jets and inverse. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ + +noncomputable def homogeneousPhysicalLogColumn (νp νm : ℂ) + (f g : ℝ → ℂ) (t : ℝ) : V := + (Complex.exp (νp * (t : ℂ)) * f t, Complex.exp (νm * (t : ℂ)) * g t) + +noncomputable def homogeneousNormalizedEulerColumn (νp νm : ℂ) + (f g : ℝ → ℂ) (n : ℕ) (t : ℝ) : V := + (homogeneousNormalizedEuler νp f n t, homogeneousNormalizedEuler νm g n t) + +theorem homogeneousNormalizedEulerColumn_bound (νp νm : ℂ) + (f g : ℝ → ℂ) (hf : HasLogJetBound 0 f) (hg : HasLogJetBound 0 g) (n : ℕ) : + HasLogJetBound 0 (homogeneousNormalizedEulerColumn νp νm f g n) := + (homogeneousNormalizedEuler_bound νp f hf n).pair + (homogeneousNormalizedEuler_bound νm g hg n) + +theorem homogeneousPhysicalLogColumn_diagonal (νp νm : ℂ) + (f g : ℝ → ℂ) (t : ℝ) : + homogeneousPhysicalLogColumn νp νm f g t = + homogeneousDiagonal (Complex.exp (νp * (t : ℂ))) (Complex.exp (νm * (t : ℂ))) + (f t, g t) := by + rw [homogeneousDiagonal_apply] + rfl + +theorem homogeneousPhysicalLogColumn_euler (νp νm : ℂ) + (f g : ℝ → ℂ) (L : ℝ) (hf : ContDiffOn ℝ ∞ f (Ioi L)) + (hg : ContDiffOn ℝ ∞ g (Ioi L)) (n : ℕ) (t : ℝ) (ht : L < t) : + homogeneousEulerDeriv (homogeneousPhysicalLogColumn νp νm f g) n t = + homogeneousDiagonal (Complex.exp (νp * (t : ℂ))) (Complex.exp (νm * (t : ℂ))) + (homogeneousNormalizedEulerColumn νp νm f g n t) := by + rw [homogeneousDiagonal_apply] + exact homogeneousEulerDeriv_normalized νp νm f g L hf hg n t ht + +theorem homogeneousOutgoingDerivativeRows_bound (νp νm : ℂ) (hν : νp.re = νm.re) + (fp gp fm gm : ℝ → ℂ) + (hfp : HasLogJetBound 0 fp) (hgp : HasLogJetBound 0 gp) + (hfm : HasLogJetBound 0 fm) (hgm : HasLogJetBound 0 gm) + (hp : Tendsto (fun t => (fp t, gp t)) atTop (𝓝 (1, 0))) + (hm : Tendsto (fun t => (fm t, gm t)) atTop (𝓝 (0, 1))) (n : ℕ) : + ∃ K : ℝ, 0 ≤ K ∧ ∀ᶠ t in atTop, + spectralValueDet (homogeneousPhysicalLogColumn νp νm fp gp t) + (homogeneousPhysicalLogColumn νp νm fm gm t) ≠ 0 ∧ + ‖spectralTwoColumns + (homogeneousEulerDeriv (homogeneousPhysicalLogColumn νp νm fp gp) n t) + (homogeneousEulerDeriv (homogeneousPhysicalLogColumn νp νm fm gm) n t) * + spectralValueInverse (homogeneousPhysicalLogColumn νp νm fp gp t) + (homogeneousPhysicalLogColumn νp νm fm gm t)‖ ≤ K := by + obtain ⟨Lf, hLf⟩ := hfp.smooth + obtain ⟨Lg, hLg⟩ := hgp.smooth + obtain ⟨Lh, hLh⟩ := hfm.smooth + obtain ⟨Li, hLi⟩ := hgm.smooth + let L := max (max Lf Lg) (max Lh Li) + have hLf' : ContDiffOn ℝ ∞ fp (Ioi L) := + hLf.mono (Ioi_subset_Ioi ((le_max_left Lf Lg).trans (le_max_left _ _))) + have hLg' : ContDiffOn ℝ ∞ gp (Ioi L) := + hLg.mono (Ioi_subset_Ioi ((le_max_right Lf Lg).trans (le_max_left _ _))) + have hLh' : ContDiffOn ℝ ∞ fm (Ioi L) := + hLh.mono (Ioi_subset_Ioi ((le_max_left Lh Li).trans (le_max_right _ _))) + have hLi' : ContDiffOn ℝ ∞ gm (Ioi L) := + hLi.mono (Ioi_subset_Ioi ((le_max_right Lh Li).trans (le_max_right _ _))) + obtain ⟨J, hJ, hInv⟩ := homogeneousNormalizedInverse_bound _ _ hp hm + obtain ⟨A, hA, ha⟩ := (homogeneousNormalizedEulerColumn_bound νp νm fp gp hfp hgp n).bound 0 + obtain ⟨B, hB, hb⟩ := (homogeneousNormalizedEulerColumn_bound νp νm fm gm hfm hgm n).bound 0 + refine ⟨(A + B) * J, mul_nonneg (add_nonneg hA hB) hJ, ?_⟩ + filter_upwards [hInv, ha, hb, eventually_gt_atTop L] with t hi htA htB htL + simp only [iteratedDeriv_zero, zero_mul, Real.exp_zero, mul_one] at htA htB + have hnormp : ‖Complex.exp (νp * (t : ℂ))‖ = Real.exp (νp.re * t) := by + simp only [Complex.norm_exp, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, + mul_zero, sub_zero] + have hnormm : ‖Complex.exp (νm * (t : ℂ))‖ = Real.exp (νp.re * t) := by + simpa only [hν] using (show ‖Complex.exp (νm * (t : ℂ))‖ = Real.exp (νm.re * t) by + simp only [Complex.norm_exp, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, + mul_zero, sub_zero]) + refine ⟨?_, ?_⟩ + · simp only [homogeneousPhysicalLogColumn_diagonal, homogeneousDiagonal_det] + exact mul_ne_zero (mul_ne_zero (Complex.exp_ne_zero _) (Complex.exp_ne_zero _)) hi.1 + · rw [homogeneousPhysicalLogColumn_euler νp νm fp gp L hLf' hLg' n t htL, + homogeneousPhysicalLogColumn_euler νp νm fm gm L hLh' hLi' n t htL] + simp only [homogeneousPhysicalLogColumn_diagonal] + apply (homogeneousDiagonal_remainder_norm _ _ (Real.exp (νp.re * t)) + (Real.exp_pos _) hnormp hnormm (fp t, gp t) (fm t, gm t) _ _ hi.1).trans + apply (mul_le_mul_of_nonneg_right (homogeneousTwoColumns_norm _ _) (norm_nonneg _)).trans + exact mul_le_mul (add_le_add htA htB) hi.2 (norm_nonneg _) + (add_nonneg hA hB) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingLogJets.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingLogJets.lean new file mode 100644 index 0000000000000000000000000000000000000000..c3f940d61fa0766e6a0d30b4bb8b060bcb6e1820 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingLogJets.lean @@ -0,0 +1,128 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLogCoefficients +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingDerivatives + +namespace OAI + +/-! # Normalized falling-Euler derivatives of the outgoing columns + +Factoring the exact physical exponential leaves only a finite recurrence +in the bounded normalized jets. This is the value-row estimate needed in +the transverse-defect argument. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem HasLogJetBound.of_tendsto_positive_decay + (f : ℝ → ℂ) (L : ℝ) (c : ℂ) (hf : ContDiffOn ℝ ∞ f (Ioi L)) + (hlim : Tendsto f atTop (𝓝 c)) + (hb : ∀ k : ℕ, 0 < k → ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv k f t‖ ≤ A * Real.exp (-2 * t)) : HasLogJetBound 0 f := by + refine ⟨⟨L, hf⟩, ?_⟩ + intro k + cases k with + | zero => + refine ⟨‖c‖ + 1, by positivity, ?_⟩ + simpa only [iteratedDeriv_zero, zero_mul, Real.exp_zero, mul_one] using + (hlim.norm.eventually (gt_mem_nhds (show ‖c‖ < ‖c‖ + 1 by linarith))).mono + (fun _ h => h.le) + | succ k => + obtain ⟨A, hA, hbound⟩ := hb (k + 1) (by omega) + refine ⟨A, hA, ?_⟩ + filter_upwards [hbound, eventually_ge_atTop (0 : ℝ)] with t ht ht0 + simpa only [zero_mul, Real.exp_zero, mul_one] using ht.trans + (mul_le_of_le_one_right hA (Real.exp_le_one_iff.mpr (by linarith))) + +theorem homogeneous_canonical_circular_value_logJets + (ν νp νm eta b : ℂ) (m : ℕ) (L : ℝ) + (hX : HasRadialExterior ν m b L) (Y : ℝ → V₄) (c : V) + (hY : ∀ t, 0 ≤ t → HasDerivAt Y (circularLeadingField t (Y t) + + circularBoundedField νp νm eta m (radialExteriorCanonical ν m b L t).1 (Y t)) t) + (hlim : Tendsto Y atTop (𝓝 ((c.1, 0), (c.2, 0)))) + (happrox : ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ v : CircularTailSpace, ∀ t, 0 ≤ t → + Y t = circularPolynomialJet + (spectralOutgoingPolynomial νp νm eta m (radialExteriorExpansion ν m b j) c j) t + + circularUnweight (2 * (j : ℝ)) v t) : + HasLogJetBound 0 (fun t => (Y t).1.1) ∧ + HasLogJetBound 0 (fun t => (Y t).2.1) := by + have hs := homogeneousSpectral_solution_contDiffOn ν νp νm eta m + (radialExteriorCanonical ν m b L) Y (max L 0) + (fun t ht => ((radialExteriorCanonical_spec hX).2.2 t + ((le_max_left L 0).trans ht.le)).2) + (fun t ht => hY t ((le_max_right L 0).trans ht.le)) + obtain ⟨hp, hm⟩ := homogeneous_canonical_circular_positive_derivatives + ν νp νm eta b m L hX Y c hY hlim happrox + exact ⟨HasLogJetBound.of_tendsto_positive_decay _ _ c.1 hs.fst.fst + hlim.fst_nhds.fst_nhds hp, + HasLogJetBound.of_tendsto_positive_decay _ _ c.2 hs.snd.fst + hlim.snd_nhds.fst_nhds hm⟩ + +noncomputable def homogeneousNormalizedEuler (ν : ℂ) (f : ℝ → ℂ) : ℕ → ℝ → ℂ + | 0 => f + | n + 1 => fun t => deriv (homogeneousNormalizedEuler ν f n) t + + (ν - (n : ℂ)) * homogeneousNormalizedEuler ν f n t + +theorem homogeneousNormalizedEuler_smooth (ν : ℂ) (f : ℝ → ℂ) (L : ℝ) + (hf : ContDiffOn ℝ ∞ f (Ioi L)) (n : ℕ) : + ContDiffOn ℝ ∞ (homogeneousNormalizedEuler ν f n) (Ioi L) := by + induction n with + | zero => exact hf + | succ n ih => + exact (ih.deriv_of_isOpen isOpen_Ioi (by simp)).add (contDiffOn_const.mul ih) + +theorem homogeneousNormalizedEuler_bound (ν : ℂ) (f : ℝ → ℂ) + (hf : HasLogJetBound 0 f) (n : ℕ) : + HasLogJetBound 0 (homogeneousNormalizedEuler ν f n) := by + induction n with + | zero => exact hf + | succ n ih => exact ih.deriv.add (ih.const_mul _) + +theorem homogeneousEulerDeriv_normalized (νp νm : ℂ) (f g : ℝ → ℂ) (L : ℝ) + (hf : ContDiffOn ℝ ∞ f (Ioi L)) (hg : ContDiffOn ℝ ∞ g (Ioi L)) (n : ℕ) : + ∀ t, L < t → + homogeneousEulerDeriv + (fun s => (Complex.exp (νp * (s : ℂ)) * f s, + Complex.exp (νm * (s : ℂ)) * g s)) n t = + (Complex.exp (νp * (t : ℂ)) * homogeneousNormalizedEuler νp f n t, + Complex.exp (νm * (t : ℂ)) * homogeneousNormalizedEuler νm g n t) := by + induction n with + | zero => intro t ht; rfl + | succ n ih => + intro t ht + let fp := homogeneousNormalizedEuler νp f n + let fm := homogeneousNormalizedEuler νm g n + have hfp : HasDerivAt fp (deriv fp t) t := + (((homogeneousNormalizedEuler_smooth νp f L hf n) t ht).contDiffAt + (Ioi_mem_nhds ht)).differentiableAt (by simp) |>.hasDerivAt + have hfm : HasDerivAt fm (deriv fm t) t := + (((homogeneousNormalizedEuler_smooth νm g L hg n) t ht).contDiffAt + (Ioi_mem_nhds ht)).differentiableAt (by simp) |>.hasDerivAt + have hp := ((hasDerivAt_id t).ofReal_comp.const_mul νp).cexp + have hm := ((hasDerivAt_id t).ofReal_comp.const_mul νm).cexp + simp only [id_eq, Complex.ofReal_one, mul_one] at hp hm + have hEq : homogeneousEulerDeriv + (fun s => (Complex.exp (νp * (s : ℂ)) * f s, + Complex.exp (νm * (s : ℂ)) * g s)) n =ᶠ[𝓝 t] + (fun s => (Complex.exp (νp * (s : ℂ)) * fp s, + Complex.exp (νm * (s : ℂ)) * fm s)) := by + filter_upwards [Ioi_mem_nhds ht] with s hs + exact ih s hs + have hd := ((hp.mul hfp).prodMk (hm.mul hfm)).congr_of_eventuallyEq hEq + change deriv (homogeneousEulerDeriv _ n) t - (n : ℝ) • + homogeneousEulerDeriv _ n t = _ + rw [hd.deriv, ih t ht] + apply Prod.ext + all_goals + simp only [homogeneousNormalizedEuler, Prod.fst_sub, Prod.snd_sub, + Prod.smul_fst, Prod.smul_snd, Complex.real_smul, fp, fm] + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingMatrix.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingMatrix.lean new file mode 100644 index 0000000000000000000000000000000000000000..618e9dd27885fb539d25492d553a7fba7baf6b10 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingMatrix.lean @@ -0,0 +1,204 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialRiccati +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRobinPlane + +namespace OAI + +/-! # Bounded normalized inverse for the actual outgoing value matrix + +The two physical channel factors have the same modulus. Consequently +conjugation by their diagonal does not enlarge an operator norm. No +derivative of the inverse matrix is used in the high-derivative estimate. +-/ + +open Set Filter Topology + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +theorem homogeneousTwoColumns_norm (u v : V) : + ‖spectralTwoColumns u v‖ ≤ ‖u‖ + ‖v‖ := by + apply ContinuousLinearMap.opNorm_le_bound _ (add_nonneg (norm_nonneg _) (norm_nonneg _)) + intro w + rw [spectralTwoColumns_apply] + apply (norm_add_le _ _).trans + rw [norm_smul, norm_smul] + calc + _ ≤ ‖w‖ * ‖u‖ + ‖w‖ * ‖v‖ := add_le_add + (mul_le_mul_of_nonneg_right (norm_fst_le w) (norm_nonneg _)) + (mul_le_mul_of_nonneg_right (norm_snd_le w) (norm_nonneg _)) + _ = _ := by ring + +noncomputable def homogeneousDiagonal (a b : ℂ) : End := + spectralTwoColumns (a, 0) (0, b) + +theorem homogeneousDiagonal_apply (a b : ℂ) (w : V) : + homogeneousDiagonal a b w = (a * w.1, b * w.2) := by + apply Prod.ext <;> + simp only [homogeneousDiagonal, spectralTwoColumns_apply, Prod.fst_add, Prod.snd_add, + Prod.smul_fst, Prod.smul_snd, smul_eq_mul, mul_zero, add_zero, zero_add, mul_comm] + +theorem homogeneousDiagonal_norm (a b : ℂ) (ρ : ℝ) (hρ : 0 ≤ ρ) + (ha : ‖a‖ = ρ) (hb : ‖b‖ = ρ) (w : V) : + ‖homogeneousDiagonal a b w‖ = ρ * ‖w‖ := by + rw [homogeneousDiagonal_apply] + simp only [Prod.norm_def, norm_mul, ha, hb] + exact (mul_max_of_nonneg _ _ hρ).symm + +theorem homogeneousDiagonal_inv_apply (a b : ℂ) (ha : a ≠ 0) (hb : b ≠ 0) (w : V) : + homogeneousDiagonal a⁻¹ b⁻¹ (homogeneousDiagonal a b w) = w := by + simp only [homogeneousDiagonal_apply, ← mul_assoc, inv_mul_cancel₀ ha, + inv_mul_cancel₀ hb, one_mul, Prod.mk.eta] + +theorem homogeneousDiagonal_columns (a b : ℂ) (u v : V) : + spectralTwoColumns (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) = + homogeneousDiagonal a b * spectralTwoColumns u v := by + apply ContinuousLinearMap.ext + intro w + simp only [spectralTwoColumns_apply, mul_apply_eq_comp, map_add, map_smul] + +theorem homogeneousDiagonal_det (a b : ℂ) (u v : V) : + spectralValueDet (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) = + a * b * spectralValueDet u v := by + simp only [homogeneousDiagonal_apply, spectralValueDet] + ring + +theorem homogeneousDiagonal_valueInverse (a b : ℂ) (ha : a ≠ 0) (hb : b ≠ 0) + (u v : V) (hd : spectralValueDet u v ≠ 0) : + spectralValueInverse (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) = + spectralValueInverse u v * homogeneousDiagonal a⁻¹ b⁻¹ := by + have hdet : spectralValueDet (homogeneousDiagonal a b u) + (homogeneousDiagonal a b v) ≠ 0 := by + rw [homogeneousDiagonal_det] + exact mul_ne_zero (mul_ne_zero ha hb) hd + apply ContinuousLinearMap.ext + intro w + let z := spectralValueInverse (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) w + have hz : homogeneousDiagonal a b (spectralTwoColumns u v z) = w := by + rw [← mul_apply_eq_comp, ← homogeneousDiagonal_columns] + exact spectralTwoColumns_apply_inverse _ _ w hdet + have h := congrArg (homogeneousDiagonal a⁻¹ b⁻¹) hz + rw [homogeneousDiagonal_inv_apply a b ha hb] at h + change z = spectralValueInverse u v (homogeneousDiagonal a⁻¹ b⁻¹ w) + rw [← h, spectralValueInverse_apply_columns u v z hd] + +theorem homogeneousDiagonal_conjugate_norm (a b : ℂ) (ρ : ℝ) (hρ : 0 < ρ) + (ha : ‖a‖ = ρ) (hb : ‖b‖ = ρ) (M : End) : + ‖homogeneousDiagonal a b * M * homogeneousDiagonal a⁻¹ b⁻¹‖ ≤ ‖M‖ := by + apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg M) + intro w + have hia : ‖a⁻¹‖ = ρ⁻¹ := by rw [norm_inv, ha] + have hib : ‖b⁻¹‖ = ρ⁻¹ := by rw [norm_inv, hb] + simp only [mul_apply_eq_comp] + rw [homogeneousDiagonal_norm a b ρ hρ.le ha hb] + calc + _ ≤ ρ * (‖M‖ * ‖homogeneousDiagonal a⁻¹ b⁻¹ w‖) := + mul_le_mul_of_nonneg_left (M.le_opNorm _) hρ.le + _ = ‖M‖ * ‖w‖ := by + rw [homogeneousDiagonal_norm a⁻¹ b⁻¹ ρ⁻¹ (inv_nonneg.mpr hρ.le) hia hib] + field_simp + +theorem homogeneousDiagonal_remainder_norm (a b : ℂ) (ρ : ℝ) (hρ : 0 < ρ) + (ha : ‖a‖ = ρ) (hb : ‖b‖ = ρ) (u v p q : V) + (hd : spectralValueDet u v ≠ 0) : + ‖spectralTwoColumns (homogeneousDiagonal a b p) (homogeneousDiagonal a b q) * + spectralValueInverse (homogeneousDiagonal a b u) (homogeneousDiagonal a b v)‖ ≤ + ‖spectralTwoColumns p q‖ * ‖spectralValueInverse u v‖ := by + have ha0 : a ≠ 0 := norm_pos_iff.mp (ha.symm ▸ hρ) + have hb0 : b ≠ 0 := norm_pos_iff.mp (hb.symm ▸ hρ) + rw [homogeneousDiagonal_columns, + homogeneousDiagonal_valueInverse a b ha0 hb0 u v hd] + calc + _ = ‖homogeneousDiagonal a b * + (spectralTwoColumns p q * spectralValueInverse u v) * + homogeneousDiagonal a⁻¹ b⁻¹‖ := by simp only [mul_assoc] + _ ≤ ‖spectralTwoColumns p q * spectralValueInverse u v‖ := + homogeneousDiagonal_conjugate_norm a b ρ hρ ha hb _ + _ ≤ _ := norm_mul_le _ _ + +theorem homogeneousDiagonal_commute (a b c d : ℂ) : + Commute (homogeneousDiagonal a b) (homogeneousDiagonal c d) := by + change homogeneousDiagonal a b * homogeneousDiagonal c d = + homogeneousDiagonal c d * homogeneousDiagonal a b + apply ContinuousLinearMap.ext + intro w + apply Prod.ext <;> simp only [mul_apply_eq_comp, homogeneousDiagonal_apply] + all_goals ring + +theorem homogeneousDiagonal_robin_difference (a b : ℂ) (ha : a ≠ 0) (hb : b ≠ 0) + (u v du dv : V) (hd : spectralValueDet u v ≠ 0) (K : End) + (hK : Commute K (homogeneousDiagonal a b)) : + spectralRobinOperator (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) + (homogeneousDiagonal a b (K u + du)) (homogeneousDiagonal a b (K v + dv)) - K = + homogeneousDiagonal a b * (spectralTwoColumns du dv * spectralValueInverse u v) * + homogeneousDiagonal a⁻¹ b⁻¹ := by + have hdet : spectralValueDet (homogeneousDiagonal a b u) + (homogeneousDiagonal a b v) ≠ 0 := by + rw [homogeneousDiagonal_det] + exact mul_ne_zero (mul_ne_zero ha hb) hd + apply ContinuousLinearMap.ext + intro x + obtain ⟨z, rfl⟩ := homogeneousTwoColumns_surjective + (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) hdet x + have hz : spectralTwoColumns (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) z = + homogeneousDiagonal a b (spectralTwoColumns u v z) := by + rw [homogeneousDiagonal_columns, mul_apply_eq_comp] + rw [sub_apply, spectralRobinOperator_columns _ _ _ _ z hdet, hz] + change spectralTwoColumns (homogeneousDiagonal a b (K u + du)) + (homogeneousDiagonal a b (K v + dv)) z - K (homogeneousDiagonal a b (spectralTwoColumns u v z)) = + homogeneousDiagonal a b (spectralTwoColumns du dv (spectralValueInverse u v + (homogeneousDiagonal a⁻¹ b⁻¹ (homogeneousDiagonal a b (spectralTwoColumns u v z))))) + rw [homogeneousDiagonal_inv_apply a b ha hb, spectralValueInverse_apply_columns u v z hd] + have hcomm := congrArg (fun M : End => M (spectralTwoColumns u v z)) hK.eq + simp only [mul_apply_eq_comp] at hcomm + rw [hcomm] + simp only [spectralTwoColumns_apply, map_add, map_smul, smul_add] + abel + +theorem homogeneousDiagonal_robin_bound (a b : ℂ) (ρ : ℝ) (hρ : 0 < ρ) + (ha : ‖a‖ = ρ) (hb : ‖b‖ = ρ) (u v du dv : V) + (hd : spectralValueDet u v ≠ 0) (K : End) + (hK : Commute K (homogeneousDiagonal a b)) : + ‖spectralRobinOperator (homogeneousDiagonal a b u) (homogeneousDiagonal a b v) + (homogeneousDiagonal a b (K u + du)) (homogeneousDiagonal a b (K v + dv)) - K‖ ≤ + (‖du‖ + ‖dv‖) * ‖spectralValueInverse u v‖ := by + have ha0 : a ≠ 0 := norm_pos_iff.mp (ha.symm ▸ hρ) + have hb0 : b ≠ 0 := norm_pos_iff.mp (hb.symm ▸ hρ) + rw [homogeneousDiagonal_robin_difference a b ha0 hb0 u v du dv hd K hK] + exact (homogeneousDiagonal_conjugate_norm a b ρ hρ ha hb _).trans + ((norm_mul_le _ _).trans + (mul_le_mul_of_nonneg_right (homogeneousTwoColumns_norm du dv) (norm_nonneg _))) + +theorem homogeneousValueInverse_tendsto {α : Type*} {l : Filter α} + (u v : α → V) (u₀ v₀ : V) + (hu : Tendsto u l (𝓝 u₀)) (hv : Tendsto v l (𝓝 v₀)) + (hd : spectralValueDet u₀ v₀ ≠ 0) : + Tendsto (fun t => spectralValueInverse (u t) (v t)) l + (𝓝 (spectralValueInverse u₀ v₀)) := by + have hcol := + (((ContinuousLinearMap.smulRightL ℂ V V (ContinuousLinearMap.fst ℂ ℂ ℂ)).continuous.continuousAt.tendsto).comp + (hv.snd_nhds.prodMk_nhds hu.snd_nhds.neg)).add + (((ContinuousLinearMap.smulRightL ℂ V V (ContinuousLinearMap.snd ℂ ℂ ℂ)).continuous.continuousAt.tendsto).comp + (hv.fst_nhds.neg.prodMk_nhds hu.fst_nhds)) + have hdet := (hu.fst_nhds.mul hv.snd_nhds).sub (hu.snd_nhds.mul hv.fst_nhds) + exact (hdet.inv₀ hd).smul hcol + +theorem homogeneousNormalizedInverse_bound (u v : ℝ → V) + (hu : Tendsto u atTop (𝓝 (1, 0))) (hv : Tendsto v atTop (𝓝 (0, 1))) : + ∃ K : ℝ, 0 ≤ K ∧ ∀ᶠ t in atTop, + spectralValueDet (u t) (v t) ≠ 0 ∧ ‖spectralValueInverse (u t) (v t)‖ ≤ K := by + have hd : spectralValueDet (1, 0) (0, 1) ≠ 0 := by norm_num [spectralValueDet] + have hinv := homogeneousValueInverse_tendsto u v (1, 0) (0, 1) hu hv hd + have hdet : Tendsto (fun t => spectralValueDet (u t) (v t)) atTop (𝓝 (1 : ℂ)) := by + simpa only [spectralValueDet, one_mul, zero_mul, sub_zero] using + (hu.fst_nhds.mul hv.snd_nhds).sub (hu.snd_nhds.mul hv.fst_nhds) + refine ⟨‖spectralValueInverse (1, 0) (0, 1)‖ + 1, by positivity, ?_⟩ + filter_upwards [hdet.eventually (eventually_ne_nhds (by norm_num : (1 : ℂ) ≠ 0)), + hinv.norm.eventually (gt_mem_nhds (show ‖spectralValueInverse (1, 0) (0, 1)‖ < + ‖spectralValueInverse (1, 0) (0, 1)‖ + 1 by linarith))] with t ht hb + exact ⟨ht, hb.le⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingPropagation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingPropagation.lean new file mode 100644 index 0000000000000000000000000000000000000000..9c093a831a74b7ae76262322f01eed4222203235 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingPropagation.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HarmonicRadialNonvanishing +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRegularRank +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRobinPlane + +namespace OAI + +/-! # Propagating the outgoing plane back from a mode-dependent far radius + +The ODE is linear on every positive closed annulus. A representation by +the two outgoing columns at one far point therefore holds at the fixed +radius used by the canonical boundary operator. +-/ + +open Set Filter Topology + +namespace DefocusingNLS + +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +private theorem physicalField_combination (νp νm eta : ℂ) (m : ℕ) (q : ℂ) + (r : ℝ) (a b : ℂ) (Zp Zm : V₄) : + spectralPhysicalCircularField νp νm eta m q r (a • Zp + b • Zm) = + a • spectralPhysicalCircularField νp νm eta m q r Zp + + b • spectralPhysicalCircularField νp νm eta m q r Zm := by + simp only [spectralPhysicalCircularField_regular, spectralRegularField_add, + spectralRegularField_smul] + +private theorem physicalField_sub (νp νm eta : ℂ) (m : ℕ) (q : ℂ) + (r : ℝ) (Z W : V₄) : + spectralPhysicalCircularField νp νm eta m q r (Z - W) = + spectralPhysicalCircularField νp νm eta m q r Z - + spectralPhysicalCircularField νp νm eta m q r W := by + simpa only [one_smul, neg_one_smul, sub_eq_add_neg] using + physicalField_combination νp νm eta m q r 1 (-1) Z W + +theorem homogeneousPhysicalOutgoingPlane_backward + (νp νm eta : ℂ) (m : ℕ) (Q : ℝ → ℂ) (Z Zp Zm : ℝ → V₄) + (R T : ℝ) (hR : 0 < R) (hRT : R ≤ T) + (hQ : ContinuousOn Q (Icc R T)) + (hZ : ∀ r ∈ Icc R T, HasDerivAt Z + (spectralPhysicalCircularField νp νm eta m (Q r) r (Z r)) r) + (hZp : ∀ r ∈ Icc R T, HasDerivAt Zp + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zp r)) r) + (hZm : ∀ r ∈ Icc R T, HasDerivAt Zm + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zm r)) r) + (c : ℂ × ℂ) (hc : Z T = c.1 • Zp T + c.2 • Zm T) : + Z R = c.1 • Zp R + c.2 • Zm R := by + let D := fun r => Z r - (c.1 • Zp r + c.2 • Zm r) + have hd (r : ℝ) (hr : r ∈ Icc R T) : HasDerivAt D + (spectralPhysicalCircularField νp νm eta m (Q r) r (D r)) r := by + apply ((hZ r hr).sub (((hZp r hr).const_smul c.1).add + ((hZm r hr).const_smul c.2))).congr_deriv + dsimp only [D] + rw [physicalField_sub, physicalField_combination] + obtain ⟨C, hC⟩ := spectralPhysicalCircularField_bounded_on νp νm eta m Q R T hR hQ + have hzero := spectral_zero_on_annulus D + (fun r => spectralPhysicalCircularField νp νm eta m (Q r) r (D r)) R T C + (fun r hr => (hd r hr).continuousAt.continuousWithinAt) hd + (fun r hr => hC r hr (D r)) (by simp only [D, hc, sub_self]) R ⟨le_rfl, hRT⟩ + exact sub_eq_zero.mp hzero + +theorem homogeneousPhysicalOutgoingPlane_of_eventually + (νp νm eta : ℂ) (m : ℕ) (Q : ℝ → ℂ) (Z Zp Zm : ℝ → V₄) + (R₀ : ℝ) (hR₀ : 0 < R₀) (hQ : ContinuousOn Q (Ioi 0)) + (hZ : ∀ r, R₀ ≤ r → HasDerivAt Z + (spectralPhysicalCircularField νp νm eta m (Q r) r (Z r)) r) + (hZp : ∀ r, R₀ ≤ r → HasDerivAt Zp + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zp r)) r) + (hZm : ∀ r, R₀ ≤ r → HasDerivAt Zm + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zm r)) r) + (hout : ∀ᶠ r in atTop, ∃ c : ℂ × ℂ, Z r = c.1 • Zp r + c.2 • Zm r) + (R : ℝ) (hR : R₀ ≤ R) : + ∃ c : ℂ × ℂ, Z R = c.1 • Zp R + c.2 • Zm R := by + obtain ⟨T, ⟨c, hc⟩, hT⟩ := (hout.and (eventually_ge_atTop R)).exists + refine ⟨c, homogeneousPhysicalOutgoingPlane_backward νp νm eta m Q Z Zp Zm R T + (hR₀.trans_le hR) hT ?_ ?_ ?_ ?_ c hc⟩ + · exact hQ.mono (fun r hr => (hR₀.trans_le hR).trans_le hr.1) + · exact fun r hr => hZ r (hR.trans hr.1) + · exact fun r hr => hZp r (hR.trans hr.1) + · exact fun r hr => hZm r (hR.trans hr.1) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingRadialRows.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingRadialRows.lean new file mode 100644 index 0000000000000000000000000000000000000000..1dbd2053927fa2e16bd4e28b55814707a66405be --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingRadialRows.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingComparison + +namespace OAI + +/-! # The logarithmic derivative-row estimate in physical radius -/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +private theorem scalar_iterated_smooth (f : ℝ → ℂ) + (hf : ContDiffOn ℝ ∞ f (Ioi 0)) (n : ℕ) : + ContDiffOn ℝ ∞ (iteratedDeriv n f) (Ioi 0) := by + induction n with + | zero => simpa using hf + | succ n ih => + rw [iteratedDeriv_succ] + exact ih.deriv_of_isOpen isOpen_Ioi (by simp) + +theorem homogeneousPair_iteratedDeriv (f g : ℝ → ℂ) + (hf : ContDiffOn ℝ ∞ f (Ioi 0)) (hg : ContDiffOn ℝ ∞ g (Ioi 0)) + (n : ℕ) (r : ℝ) (hr : 0 < r) : + iteratedDeriv n (fun s => (f s, g s)) r = (iteratedDeriv n f r, iteratedDeriv n g r) := by + induction n generalizing r with + | zero => rfl + | succ n ih => + have he : iteratedDeriv n (fun s => (f s, g s)) =ᶠ[𝓝 r] + (fun s => (iteratedDeriv n f s, iteratedDeriv n g s)) := + Filter.mem_of_superset (Ioi_mem_nhds hr) (fun s hs => ih s hs) + have hfs := scalar_iterated_smooth f hf n + have hgs := scalar_iterated_smooth g hg n + have hfd := ((hfs r hr).contDiffAt (Ioi_mem_nhds hr)).differentiableAt + (by simp : (∞ : WithTop ℕ∞) ≠ 0) + have hgd := ((hgs r hr).contDiffAt (Ioi_mem_nhds hr)).differentiableAt + (by simp : (∞ : WithTop ℕ∞) ≠ 0) + rw [iteratedDeriv_succ, he.deriv_eq] + simpa only [iteratedDeriv_succ] using (hfd.hasDerivAt.prodMk hgd.hasDerivAt).deriv + +theorem homogeneousOutgoingRows_physical_comparison + (U W : ℝ → V) (T R : ℝ → End) (n : ℕ) (c K M : ℝ) + (hU : ContDiffOn ℝ ∞ U (Ioi 0)) (hc : 0 < c) (hK : 0 ≤ K) (hM : 0 ≤ M) + (hbound : ∀ r, ‖U r‖ ≤ M) + (hrow : ∀ᶠ t in atTop, ∀ w : V, + c * Real.exp (2 * (n : ℝ) * t) * ‖w‖ ≤ ‖T t w‖) + (hR : ∀ᶠ t in atTop, ‖R t‖ ≤ K) + (hid : ∀ᶠ t in atTop, + homogeneousEulerDeriv (fun s => U (Real.exp s)) (n + 1) t = + T t (Real.exp t • W (Real.exp t)) + R t (U (Real.exp t))) : + ∀ᶠ r in atTop, r ^ (2 * (n : ℝ)) * homogeneousPairEnergy (W r) ≤ + (4 / c ^ 2) * homogeneousPairEnergy (iteratedDeriv (n + 1) U r) + + (4 / c ^ 2) * (K * M) ^ 2 * r ^ (-2 * ((n + 1 : ℕ) : ℝ)) := by + have hall := hrow.and (hR.and hid) + have hlog := Real.tendsto_log_atTop.eventually hall + filter_upwards [hlog, eventually_gt_atTop (0 : ℝ)] with r h hr + have he2 : Real.exp (2 * (n : ℝ) * Real.log r) = r ^ (2 * n) := by + rw [show 2 * (n : ℝ) = ((2 * n : ℕ) : ℝ) by push_cast; ring, + Real.exp_nat_mul, Real.exp_log hr] + have heN : Real.exp (((n + 1 : ℕ) : ℝ) * Real.log r) = r ^ (n + 1) := by + rw [Real.exp_nat_mul, Real.exp_log hr] + have hident := h.2.2 + rw [homogeneousEulerDeriv_physical U hU, heN, Real.exp_log hr] at hident + apply homogeneousLogRow_energy_comparison (U r) (W r) + (iteratedDeriv (n + 1) U r) (T (Real.log r)) (R (Real.log r)) + r c K M n hr hc hK hM + · simpa only [he2, Real.exp_log hr] using h.1 (r • W r) + · exact hident + · exact h.2.1 + · exact hbound r + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingRobin.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingRobin.lean new file mode 100644 index 0000000000000000000000000000000000000000..5ead382a73847f41a12d2d6b3bf3af9df87a0bc3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingRobin.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingEstimates + +namespace OAI + +/-! # The outgoing Robin error in logarithmic radius + +The normalized first derivatives decay like `exp (-2t)`. The equal-modulus +physical diagonal transfers that decay to the full two-channel Robin map. +-/ + +open Set Filter Topology + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ + +noncomputable def homogeneousPhysicalLogDerivativeColumn (νp νm : ℂ) + (f g : ℝ → ℂ) (t : ℝ) : V := + homogeneousDiagonal (Complex.exp (νp * (t : ℂ))) (Complex.exp (νm * (t : ℂ))) + (homogeneousDiagonal νp νm (f t, g t) + (deriv f t, deriv g t)) + +theorem homogeneousPhysicalLogDerivativeColumn_hasDerivAt (νp νm : ℂ) + (f g : ℝ → ℂ) (t : ℝ) (hf : DifferentiableAt ℝ f t) (hg : DifferentiableAt ℝ g t) : + HasDerivAt (homogeneousPhysicalLogColumn νp νm f g) + (homogeneousPhysicalLogDerivativeColumn νp νm f g t) t := by + have hp := ((hasDerivAt_id t).ofReal_comp.const_mul νp).cexp + have hm := ((hasDerivAt_id t).ofReal_comp.const_mul νm).cexp + simp only [id_eq, Complex.ofReal_one, mul_one] at hp hm + apply ((hp.mul hf.hasDerivAt).prodMk (hm.mul hg.hasDerivAt)).congr_deriv + apply Prod.ext + all_goals + simp only [homogeneousPhysicalLogDerivativeColumn, homogeneousDiagonal_apply, + Prod.fst_add, Prod.snd_add] + ring + +private theorem norm_pair_le_sum (u v : ℂ) : ‖(u, v)‖ ≤ ‖u‖ + ‖v‖ := by + rw [Prod.norm_def] + exact max_le (by linarith [norm_nonneg v]) (by linarith [norm_nonneg u]) + +theorem homogeneousOutgoingRobin_error (νp νm : ℂ) (hν : νp.re = νm.re) + (fp gp fm gm : ℝ → ℂ) + (hp : Tendsto (fun t => (fp t, gp t)) atTop (𝓝 (1, 0))) + (hm : Tendsto (fun t => (fm t, gm t)) atTop (𝓝 (0, 1))) + (hfp : ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, ‖deriv fp t‖ ≤ A * Real.exp (-2 * t)) + (hgp : ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, ‖deriv gp t‖ ≤ A * Real.exp (-2 * t)) + (hfm : ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, ‖deriv fm t‖ ≤ A * Real.exp (-2 * t)) + (hgm : ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, ‖deriv gm t‖ ≤ A * Real.exp (-2 * t)) : + ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ t in atTop, + ‖spectralRobinOperator (homogeneousPhysicalLogColumn νp νm fp gp t) + (homogeneousPhysicalLogColumn νp νm fm gm t) + (homogeneousPhysicalLogDerivativeColumn νp νm fp gp t) + (homogeneousPhysicalLogDerivativeColumn νp νm fm gm t) - + homogeneousDiagonal νp νm‖ ≤ M * Real.exp (-2 * t) := by + obtain ⟨J, hJ, hInv⟩ := homogeneousNormalizedInverse_bound _ _ hp hm + obtain ⟨A, hA, ha⟩ := hfp + obtain ⟨B, hB, hb⟩ := hgp + obtain ⟨C, hC, hc⟩ := hfm + obtain ⟨D, hD, hd⟩ := hgm + refine ⟨(A + B + C + D) * J, by positivity, ?_⟩ + filter_upwards [hInv, ha, hb, hc, hd] with t hi htA htB htC htD + have hnormp : ‖Complex.exp (νp * (t : ℂ))‖ = Real.exp (νp.re * t) := by + simp only [Complex.norm_exp, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, + mul_zero, sub_zero] + have hnormm : ‖Complex.exp (νm * (t : ℂ))‖ = Real.exp (νp.re * t) := by + simpa only [hν] using (show ‖Complex.exp (νm * (t : ℂ))‖ = Real.exp (νm.re * t) by + simp only [Complex.norm_exp, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, + mul_zero, sub_zero]) + have hpair : ‖(deriv fp t, deriv gp t)‖ + ‖(deriv fm t, deriv gm t)‖ ≤ + (A + B + C + D) * Real.exp (-2 * t) := by + calc + _ ≤ (‖deriv fp t‖ + ‖deriv gp t‖) + (‖deriv fm t‖ + ‖deriv gm t‖) := + add_le_add (norm_pair_le_sum _ _) (norm_pair_le_sum _ _) + _ ≤ (A * Real.exp (-2 * t) + B * Real.exp (-2 * t)) + + (C * Real.exp (-2 * t) + D * Real.exp (-2 * t)) := + add_le_add (add_le_add htA htB) (add_le_add htC htD) + _ = _ := by ring + have hh := homogeneousDiagonal_robin_bound _ _ (Real.exp (νp.re * t)) (Real.exp_pos _) + hnormp hnormm (fp t, gp t) (fm t, gm t) (deriv fp t, deriv gp t) (deriv fm t, deriv gm t) + hi.1 (homogeneousDiagonal νp νm) (homogeneousDiagonal_commute _ _ _ _) + simp only [homogeneousPhysicalLogColumn_diagonal, homogeneousPhysicalLogDerivativeColumn] + apply hh.trans + have h := mul_le_mul hpair hi.2 (norm_nonneg _) + (show 0 ≤ (A + B + C + D) * Real.exp (-2 * t) by positivity) + convert h using 1 + ring + +theorem homogeneousLogRobin_error_to_radial + (A : ℝ → V →L[ℂ] V) (K : V →L[ℂ] V) (M : ℝ) + (hA : ∀ᶠ t in atTop, ‖A t - K‖ ≤ M * Real.exp (-2 * t)) : + ∀ᶠ r : ℝ in atTop, + ‖r⁻¹ • A (Real.log r) - r⁻¹ • K‖ ≤ M / r ^ (3 : ℕ) := by + filter_upwards [Real.tendsto_log_atTop.eventually hA, + eventually_gt_atTop (0 : ℝ)] with r hAr hr + rw [← smul_sub (r⁻¹ : ℝ) (A (Real.log r)) K, + norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hr)] + apply (mul_le_mul_of_nonneg_left hAr (inv_nonneg.mpr hr.le)).trans_eq + have he : Real.exp (-2 * Real.log r) = (r * r)⁻¹ := by + rw [neg_mul, Real.exp_neg, two_mul, Real.exp_add, Real.exp_log hr] + rw [he] + field_simp [hr.ne'] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingSelection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingSelection.lean new file mode 100644 index 0000000000000000000000000000000000000000..83e825c0b031a843b677890dc89d018f9112e636 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingSelection.lean @@ -0,0 +1,143 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingRadialRows +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingDefectEquation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalColumnJets +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingPropagation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialRiccati +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLogEquation + +namespace OAI + +/-! # Selection of the outgoing plane by the top radial derivative -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "V₄" => V × V +local notation "End" => V →L[ℂ] V + +theorem homogeneousPhysicalOutgoing_selection + (νp νm eta : ℂ) (m n : ℕ) (Q : ℝ → ℂ) (Z Zp Zm : ℝ → V₄) + (R₀ L c : ℝ) (hR₀ : 0 < R₀) (hL : Real.log R₀ ≤ L) (hc : 0 < c) + (hν : νp.re = νm.re) + (hbeta : -6 ≤ (n : ℝ) - (11 + νp.re)) + (hgap : 0 < ((n + 1 : ℕ) : ℝ) + n - (11 + νp.re)) + (hQ : ContinuousOn Q (Ici R₀)) + (hZ : ∀ r, R₀ ≤ r → HasDerivAt Z + (spectralPhysicalCircularField νp νm eta m (Q r) r (Z r)) r) + (hZp : ∀ r, R₀ ≤ r → HasDerivAt Zp + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zp r)) r) + (hZm : ∀ r, R₀ ≤ r → HasDerivAt Zm + (spectralPhysicalCircularField νp νm eta m (Q r) r (Zm r)) r) + (hU : ContDiffOn ℝ ∞ (fun r => spectralPhysicalValueMap (Z r)) (Ioi 0)) + (hbounded : ∃ M : ℝ, 0 ≤ M ∧ ∀ r, ‖spectralPhysicalValueMap (Z r)‖ ≤ M) + (hL2p : IntegrableOn (fun r => r ^ 11 * + ‖(iteratedDeriv (n + 1) (fun s => spectralPhysicalValueMap (Z s)) r).1‖ ^ 2) (Ioi 0)) + (hL2m : IntegrableOn (fun r => r ^ 11 * + ‖(iteratedDeriv (n + 1) (fun s => spectralPhysicalValueMap (Z s)) r).2‖ ^ 2) (Ioi 0)) + (hB : ContDiffOn ℝ ∞ homogeneousLogRadialDamping (Ioi L)) + (hC : ContDiffOn ℝ ∞ + (homogeneousLogRadialStiffness νp νm eta m (fun t => Q (Real.exp t))) (Ioi L)) + (hrow : ∀ᶠ t in atTop, ∀ w : V, + c * Real.exp (2 * (n : ℝ) * t) * ‖w‖ ≤ + ‖(homogeneousEulerRows homogeneousLogRadialDamping + (homogeneousLogRadialStiffness νp νm eta m (fun s => Q (Real.exp s))) + (n + 1)).2 t w‖) + (hrem : ∃ K : ℝ, 0 ≤ K ∧ ∀ᶠ t in atTop, + spectralValueDet (spectralPhysicalValueMap (Zp (Real.exp t))) + (spectralPhysicalValueMap (Zm (Real.exp t))) ≠ 0 ∧ + ‖spectralTwoColumns + (homogeneousEulerDeriv (fun s => spectralPhysicalValueMap (Zp (Real.exp s))) (n + 1) t) + (homogeneousEulerDeriv (fun s => spectralPhysicalValueMap (Zm (Real.exp s))) (n + 1) t) * + spectralValueInverse (spectralPhysicalValueMap (Zp (Real.exp t))) + (spectralPhysicalValueMap (Zm (Real.exp t)))‖ ≤ K) + (herr : ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ r in atTop, + ‖spectralJetRobin (Zp r) (Zm r) - r⁻¹ • homogeneousDiagonal νp νm‖ ≤ M / r ^ 3) + (R : ℝ) (hR : R₀ ≤ R) : + ∃ a : V, Z R = a.1 • Zp R + a.2 • Zm R := by + let U := fun r => spectralPhysicalValueMap (Z r) + let Vd := fun r => spectralPhysicalDerivativeMap (Z r) + let A := fun r => spectralJetRobin (Zp r) (Zm r) + let W := homogeneousRadialDefect A U Vd + let logU := fun t => U (Real.exp t) + let logV := fun t => Real.exp t • Vd (Real.exp t) + let up := fun t => spectralPhysicalValueMap (Zp (Real.exp t)) + let um := fun t => spectralPhysicalValueMap (Zm (Real.exp t)) + let dp := fun t => Real.exp t • spectralPhysicalDerivativeMap (Zp (Real.exp t)) + let dm := fun t => Real.exp t • spectralPhysicalDerivativeMap (Zm (Real.exp t)) + let C := homogeneousLogRadialStiffness νp νm eta m (fun t => Q (Real.exp t)) + have hrad (t : ℝ) (ht : L < t) : R₀ ≤ Real.exp t := by + rw [← Real.exp_log hR₀] + exact Real.exp_le_exp.mpr (hL.trans ht.le) + have hlogs (S : ℝ → V₄) + (hS : ∀ r, R₀ ≤ r → HasDerivAt S + (spectralPhysicalCircularField νp νm eta m (Q r) r (S r)) r) + (t : ℝ) (ht : L < t) := + homogeneousPhysicalRadial_logEquation νp νm eta m Q + (fun r => spectralPhysicalValueMap (S r)) + (fun r => spectralPhysicalDerivativeMap (S r)) t + (homogeneousPhysicalState_pair_derivatives νp νm eta m _ S _ (hS _ (hrad t ht))).1 + (homogeneousPhysicalState_pair_derivatives νp νm eta m _ S _ (hS _ (hrad t ht))).2 + have hAscale (t : ℝ) : spectralRobinOperator (up t) (um t) (dp t) (dm t) = + Real.exp t • A (Real.exp t) := + homogeneousRobin_smul_derivatives _ _ _ _ _ + obtain ⟨K, hK, hremK⟩ := hrem + obtain ⟨M, hM, hMbound⟩ := hbounded + let T := (homogeneousEulerRows homogeneousLogRadialDamping C (n + 1)).2 + let Rem := fun t => spectralTwoColumns (homogeneousEulerDeriv up (n + 1) t) + (homogeneousEulerDeriv um (n + 1) t) * spectralValueInverse (up t) (um t) + have hid : ∀ᶠ t in atTop, homogeneousEulerDeriv logU (n + 1) t = + T t (Real.exp t • W (Real.exp t)) + Rem t (U (Real.exp t)) := by + filter_upwards [hremK, eventually_gt_atTop L] with t ht hLt + have hh := homogeneousEulerRows_defect_identity homogeneousLogRadialDamping C + up um dp dm logU logV L hB hC + (fun t ht => (hlogs Zp hZp t ht).1) (fun t ht => (hlogs Zm hZm t ht).1) + (fun t ht => (hlogs Zp hZp t ht).2) (fun t ht => (hlogs Zm hZm t ht).2) + (fun t ht => (hlogs Z hZ t ht).1) (fun t ht => (hlogs Z hZ t ht).2) + (n + 1) t hLt ht.1 + have hw : logV t - spectralRobinOperator (up t) (um t) (dp t) (dm t) (logU t) = + Real.exp t • W (Real.exp t) := by + rw [hAscale] + simp only [logV, logU, W, homogeneousRadialDefect, smul_apply, smul_sub] + simpa only [hw] using hh + have hcomp := homogeneousOutgoingRows_physical_comparison U W T Rem n c K M + hU hc hK hM hMbound hrow (hremK.mono fun _ h => h.2) hid + have hd : ∀ᶠ r in atTop, spectralValueDet (spectralPhysicalValueMap (Zp r)) + (spectralPhysicalValueMap (Zm r)) ≠ 0 := by + filter_upwards [Real.tendsto_log_atTop.eventually hremK, + eventually_gt_atTop (0 : ℝ)] with r hr hr0 + simpa only [Real.exp_log hr0] using hr.1 + obtain ⟨R₁, hR₁⟩ := eventually_atTop.mp hd + let R₂ := max R₀ R₁ + have hW (r : ℝ) (hr : R₂ ≤ r) : HasDerivAt W + (-(homogeneousRadialDamping r + A r) (W r)) r := by + have hr₀ := (le_max_left R₀ R₁).trans hr + have hp := homogeneousPhysicalState_pair_derivatives νp νm eta m _ Zp r (hZp r hr₀) + have hm := homogeneousPhysicalState_pair_derivatives νp νm eta m _ Zm r (hZm r hr₀) + have hu := homogeneousPhysicalState_pair_derivatives νp νm eta m _ Z r (hZ r hr₀) + exact homogeneousRadialDefect_from_columns _ _ _ _ _ _ U Vd r hp.1 hm.1 hp.2 hm.2 + (hR₁ r ((le_max_right R₀ R₁).trans hr)) hu.1 hu.2 + have hwzero := homogeneousOutgoingDefect_eventually_zero νp νm hν A W + (fun r => (iteratedDeriv (n + 1) U r).1) + (fun r => (iteratedDeriv (n + 1) U r).2) R₂ n (4 / c ^ 2) + ((4 / c ^ 2) * (K * M) ^ 2) (n + 1) + (hR₀.trans_le (le_max_left _ _)) (by positivity) hbeta hgap hW herr hcomp + (hL2p.mono_set (Ioi_subset_Ioi (by positivity : 0 ≤ R₂))) + (hL2m.mono_set (Ioi_subset_Ioi (by positivity : 0 ≤ R₂))) + have hout : ∀ᶠ r in atTop, ∃ a : V, Z r = a.1 • Zp r + a.2 • Zm r := by + filter_upwards [hwzero, hd] with r hw hd' + apply (spectralJetRobin_plane _ _ _ hd').1 + exact sub_eq_zero.mp hw + obtain ⟨T', ⟨a, ha⟩, hT'⟩ := (hout.and (eventually_ge_atTop R)).exists + refine ⟨a, homogeneousPhysicalOutgoingPlane_backward νp νm eta m Q Z Zp Zm R T' + (hR₀.trans_le hR) hT' ?_ ?_ ?_ ?_ a ha⟩ + · exact hQ.mono (fun _ hr => hR.trans hr.1) + · exact fun _ hr => hZ _ (hR.trans hr.1) + · exact fun _ hr => hZp _ (hR.trans hr.1) + · exact fun _ hr => hZm _ (hR.trans hr.1) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..e332c84864908975b067fe7268df797a601d1fa6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousOutgoingTail.lean @@ -0,0 +1,177 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedOutgoing +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralOutgoingBounds + +namespace OAI + +/-! # A fixed outgoing combination on the entire far tail -/ + +open Set Filter Topology Asymptotics MeasureTheory +open scoped ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +private theorem outgoingTail_field_sub (νp νm eta : ℂ) (m : ℕ) (q : ℂ) + (r : ℝ) (Z W : V₄) : + spectralPhysicalCircularField νp νm eta m q r (Z - W) = + spectralPhysicalCircularField νp νm eta m q r Z - + spectralPhysicalCircularField νp νm eta m q r W := by + have h := show spectralPhysicalCircularField νp νm eta m q r (1 • Z + (-1 : ℂ) • W) = + (1 : ℂ) • spectralPhysicalCircularField νp νm eta m q r Z + + (-1 : ℂ) • spectralPhysicalCircularField νp νm eta m q r W by + simp only [spectralPhysicalCircularField_regular, spectralRegularField_add, + spectralRegularField_smul, one_smul] + simpa only [one_smul, neg_one_smul, sub_eq_add_neg] using h + +theorem homogeneousPhysicalOutgoingPlane_forward + (νp νm eta : ℂ) (m : ℕ) (Q : ℝ → ℂ) (Z Zp Zm : ℝ → V₄) + (R r : ℝ) (hR : 0 < R) (hr : R ≤ r) + (hQ : ContinuousOn Q (Icc R r)) + (hZ : ∀ t ∈ Icc R r, HasDerivAt Z + (spectralPhysicalCircularField νp νm eta m (Q t) t (Z t)) t) + (hZp : ∀ t ∈ Icc R r, HasDerivAt Zp + (spectralPhysicalCircularField νp νm eta m (Q t) t (Zp t)) t) + (hZm : ∀ t ∈ Icc R r, HasDerivAt Zm + (spectralPhysicalCircularField νp νm eta m (Q t) t (Zm t)) t) + (c : ℂ × ℂ) (hc : Z R = c.1 • Zp R + c.2 • Zm R) : + Z r = c.1 • Zp r + c.2 • Zm r := by + let D := fun t => Z t - (c.1 • Zp t + c.2 • Zm t) + have hd (t : ℝ) (ht : t ∈ Icc R r) : HasDerivAt D + (spectralPhysicalCircularField νp νm eta m (Q t) t (D t)) t := by + apply ((hZ t ht).sub (((hZp t ht).const_smul c.1).add + ((hZm t ht).const_smul c.2))).congr_deriv + dsimp only [D] + rw [outgoingTail_field_sub] + simp only [spectralPhysicalCircularField_regular, spectralRegularField_add, + spectralRegularField_smul] + obtain ⟨C, hC⟩ := spectralPhysicalCircularField_bounded_on νp νm eta m Q R r hR hQ + have hz : D R = 0 := by simp only [D, hc, sub_self] + have hzero := eq_zero_of_abs_deriv_le_mul_abs_self_of_eq_zero_right + (fun t ht => (hd t ht).continuousAt.continuousWithinAt) + (fun t ht => (hd t ⟨ht.1, ht.2.le⟩).hasDerivWithinAt) hz + (fun t ht => hC t ⟨ht.1, ht.2.le⟩ (D t)) r ⟨hr, le_rfl⟩ + exact sub_eq_zero.mp hzero + +theorem homogeneous_matched_canonicalColumn_derivative + (n : ℕ) (z : ProfileMatchingBall) (eta lam : ℂ) (c : ℂ × ℂ) + (Y : ℂ → ℝ → V₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) c Y) + (r : ℝ) (hr : innerBoundaryRadius < r) : + let ν := radialShootingNu (n + radialInnerShootingThreshold) z + HasDerivAt (spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (Y lam)) + (spectralPhysicalCircularField (ν - 2 * lam) (star ν - 2 * lam) eta + (n + radialInnerShootingThreshold) (radialMatchedProfile n z r) r + (spectralPhysicalPair (ν - 2 * lam) (star ν - 2 * lam) (Y lam) r)) r := by + intro ν + have hr0 : 0 < r := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hr + have hm := radialShootingInner_power_pos n (profileMatchingParameter z) + have hν : ν = -1 / ((n + radialInnerShootingThreshold : ℕ) : ℂ) + + 2 * Complex.I * (radialShootingB (profileMatchingParameter z) : ℂ) := by + dsimp only [ν] + unfold radialShootingNu radialShootingQ + ring + have h := spectralPhysicalPair_hasDerivAt ν lam eta (n + radialInnerShootingThreshold) + (by omega) (fun t => (radialExteriorCanonical ν (n + radialInnerShootingThreshold) + (radialShootingM z) (Real.log innerBoundaryRadius) t).1) (Y lam) r hr0 + (by rw [hν]; exact spectralPhysicalFactor_scale _ hm _ r hr0) + (hY.1 lam (Real.log r) (Real.log_nonneg (by linarith [innerBoundaryRadius_bounds.1]))) + simpa only [radialMatchedProfile, ite_eq_right hr.not_ge, + radialShootingExteriorProfile, radialPhysicalExterior] using h + +theorem spectralPhysicalJet_bigO (ν : ℂ) (Y : ℝ → ℂ × ℂ) + (hY : ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ t in atTop, ‖Y t‖ ≤ M) : + (fun r => (spectralPhysicalJet ν Y r).1) =O[atTop] (fun r : ℝ => r ^ ν.re) ∧ + (fun r => (spectralPhysicalJet ν Y r).2) =O[atTop] (fun r : ℝ => r ^ (ν.re - 1)) := by + obtain ⟨M, hM, hbound⟩ := hY + have hb := Real.tendsto_log_atTop.eventually hbound + constructor + · apply IsBigO.of_bound M + filter_upwards [hb, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + simpa only [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos hr0 _), mul_comm] using + (spectralPhysicalJet_bounds ν Y M r hr0 hr).1 + · apply IsBigO.of_bound ((‖ν‖ + 1) * M) + filter_upwards [hb, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + simpa only [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos hr0 _), mul_assoc, + mul_comm, mul_left_comm] using (spectralPhysicalJet_bounds ν Y M r hr0 hr).2 + +theorem spectralPhysicalPair_bigO (νp νm : ℂ) (Y : ℝ → V₄) (Y₀ : V₄) + (hY : Tendsto Y atTop (𝓝 Y₀)) : + (fun r => (spectralPhysicalPair νp νm Y r).1.1) =O[atTop] (fun r : ℝ => r ^ νp.re) ∧ + (fun r => (spectralPhysicalPair νp νm Y r).1.2) =O[atTop] (fun r : ℝ => r ^ (νp.re - 1)) ∧ + (fun r => (spectralPhysicalPair νp νm Y r).2.1) =O[atTop] (fun r : ℝ => r ^ νm.re) ∧ + (fun r => (spectralPhysicalPair νp νm Y r).2.2) =O[atTop] (fun r : ℝ => r ^ (νm.re - 1)) := by + have hb : ∀ᶠ t in atTop, ‖Y t‖ ≤ ‖Y₀‖ + 1 := + (hY.norm.eventually (gt_mem_nhds (show ‖Y₀‖ < ‖Y₀‖ + 1 by linarith))).mono + (fun _ h => h.le) + have hp := spectralPhysicalJet_bigO νp (fun t => (Y t).1) + ⟨‖Y₀‖ + 1, by positivity, hb.mono (fun _ h => (norm_fst_le _).trans h)⟩ + have hm := spectralPhysicalJet_bigO νm (fun t => (Y t).2) + ⟨‖Y₀‖ + 1, by positivity, hb.mono (fun _ h => (norm_snd_le _).trans h)⟩ + exact ⟨hp.1, hp.2, hm.1, hm.2⟩ + +theorem homogeneous_matched_pair_canonical_tail + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta : ℂ) (N : ℕ) (hN : 7 ≤ N) + (lam : ℂ) (hhalf : -(1 / 32 : ℝ) ≤ lam.re) + (f g : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) eta lam f g) + (hbounded : ∃ M : ℝ, 0 ≤ M ∧ ∀ r, ‖(f r, g r)‖ ≤ M) + (hL2f : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0)) + (hL2g : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0)) + (Yp Ym : ℂ → ℝ → V₄) + (hYp : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1, 0) Yp) + (hYm : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0, 1) Ym) + : + ∃ c : ℂ × ℂ, ∃ R₀ : ℝ, innerBoundaryRadius < R₀ ∧ ∀ r, R₀ ≤ r → + harmonicRadialState f g r = + c.1 • spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Yp lam) r + + c.2 • spectralPhysicalPair (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) (Ym lam) r := by + let R₀ := innerBoundaryRadius + 1 + have hi : innerBoundaryRadius < R₀ := by dsimp only [R₀]; linarith + have hR₀ : 0 < R₀ := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hi + obtain ⟨c, hc⟩ := homogeneous_matched_pair_canonical_span n z hX hz eta N hN lam hhalf + f g hf hg he hbounded hL2f hL2g Yp Ym hYp hYm R₀ hi + refine ⟨c, R₀, hi, ?_⟩ + intro r hr + let ν := radialShootingNu (n + radialInnerShootingThreshold) z + have hν : -2 * (radialShootingA n : ℂ) + + 2 * Complex.I * (radialShootingB (profileMatchingParameter z) : ℂ) = ν := + (radialShootingNu_physical n z).symm + have hνm : -2 * (radialShootingA n : ℂ) - + 2 * Complex.I * (radialShootingB (profileMatchingParameter z) : ℂ) = star ν := by + rw [← hν] + simp only [star_add, star_mul, star_neg, star_ofNat, Complex.star_def, + Complex.conj_ofReal, Complex.conj_I] + ring + apply homogeneousPhysicalOutgoingPlane_forward (ν - 2 * lam) (star ν - 2 * lam) eta + (n + radialInnerShootingThreshold) (radialMatchedProfile n z) + (harmonicRadialState f g) _ _ R₀ r hR₀ hr + · exact (radialMatchedProfile_contDiffOn n z hX hz).continuousOn.mono + (fun _ ht => hR₀.trans_le ht.1) + · intro t ht + simpa only [hν, hνm] using harmonicRadialState_hasDerivAt (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) f g eta lam hf hg he t (hR₀.trans_le ht.1) + · exact fun t ht => homogeneous_matched_canonicalColumn_derivative n z eta lam (1, 0) + Yp hYp t (hi.trans_le ht.1) + · exact fun t ht => homogeneous_matched_canonicalColumn_derivative n z eta lam (0, 1) + Ym hYm t (hi.trans_le ht.1) + · exact hc + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalC2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalC2.lean new file mode 100644 index 0000000000000000000000000000000000000000..6def7f3f635a2fdf8d51296c23a95568c14447cd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalC2.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSecondMomentWeight +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFourierPairing +import Mathlib.Analysis.Fourier.FourierTransformDeriv + +namespace OAI + +/-! # Every actual Y vector has a classical C² physical representative -/ + +open MeasureTheory Filter +open scoped FourierTransform ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem integrable_homogeneousFourier_secondMoment (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) : + Integrable (fun ξ : E => ‖ξ‖ ^ 2 * ‖u ξ‖) := by + have hm := (continuous_homogeneousFourierWeight a k ha1 hk).measurable + have hu := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u)).1 + have hw : Integrable (fun ξ : E => homogeneousFourierWeight a k ξ * ‖u ξ‖ ^ 2) := by + have hsq : Integrable (fun ξ : E => ‖u ξ‖ ^ 2) (homogeneousFourierMeasure a k) := + (memLp_two_iff_integrable_sq_norm (Lp.memLp u).aestronglyMeasurable).mp (Lp.memLp u) + have ht := (integrable_withDensity_iff_integrable_smul' + hm.ennreal_ofReal (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))).mp hsq + simpa only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k _), smul_eq_mul] using ht + let A : E → ℝ := fun ξ => Real.sqrt (homogeneousFourierWeight a k ξ) * ‖u ξ‖ + let B : E → ℝ := fun ξ => ‖ξ‖ ^ 2 * (Real.sqrt (homogeneousFourierWeight a k ξ))⁻¹ + have hAmeas : AEStronglyMeasurable A volume := hm.sqrt.aestronglyMeasurable.mul hu.aestronglyMeasurable.norm + have hBmeas : AEStronglyMeasurable B volume := + (continuous_norm.pow 2).aestronglyMeasurable.mul hm.sqrt.inv.aestronglyMeasurable + have hAsq (ξ : E) : A ξ ^ 2 = homogeneousFourierWeight a k ξ * ‖u ξ‖ ^ 2 := by + simp only [A, mul_pow, Real.sq_sqrt (homogeneousFourierWeight_nonneg a k ξ)] + have hBsq (ξ : E) : B ξ ^ 2 = ‖ξ‖ ^ 4 * (homogeneousFourierWeight a k ξ)⁻¹ := by + simp only [B, mul_pow, inv_pow, Real.sq_sqrt (homogeneousFourierWeight_nonneg a k ξ), + ← pow_mul, Nat.reduceMul] + have hA : MemLp A 2 volume := (memLp_two_iff_integrable_sq hAmeas).mpr (by simpa only [hAsq] using hw) + have hB : MemLp B 2 volume := (memLp_two_iff_integrable_sq hBmeas).mpr (by + simpa only [hBsq] using integrable_homogeneousSecondMomentWeight a k ha ha1 hk) + apply (hA.integrable_mul hB).congr + have hn : ∀ᵐ ξ : E ∂volume, ξ ≠ 0 := by + simp only [ae_iff, not_not, Set.ofPred_eq_eq_singleton] + exact measure_singleton _ + filter_upwards [hn] with ξ hξ + have hpos := Real.sqrt_pos.mpr (homogeneousFourierWeight_pos a k ξ hξ) + dsimp only [Pi.mul_apply, A, B] + field_simp [ne_of_gt hpos] + +theorem integrable_homogeneousFourier_moment_le_two (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) + (n : ℕ) (hn : n ≤ 2) : Integrable (fun ξ : E => ‖ξ‖ ^ n * ‖u ξ‖) := by + have hu := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u)).1 + have h₂ := integrable_homogeneousFourier_secondMoment a k ha ha1 hk u + apply (hu.norm.add h₂).mono' + ((continuous_norm.pow n).aestronglyMeasurable.mul hu.aestronglyMeasurable.norm) + filter_upwards [] with ξ + change ‖‖ξ‖ ^ n * ‖u ξ‖‖ ≤ ‖u ξ‖ + ‖ξ‖ ^ 2 * ‖u ξ‖ + rw [Real.norm_eq_abs, abs_of_nonneg + (mul_nonneg (pow_nonneg (norm_nonneg ξ) n) (norm_nonneg (u ξ)))] + have hp : ‖ξ‖ ^ n ≤ 1 + ‖ξ‖ ^ 2 := by + interval_cases n + · simp + · simp only [pow_one] + nlinarith [norm_nonneg ξ, sq_nonneg (‖ξ‖ - 1)] + · simp + exact (mul_le_mul_of_nonneg_right hp (norm_nonneg _)).trans_eq (by ring) + +theorem contDiff_homogeneousPhysical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) : + ContDiff ℝ 2 (fun x : E => homogeneousPhysicalCLM a k ha ha1 hk u x) := by + have hF : ContDiff ℝ 2 (𝓕 (u : E → ℂ)) := by + apply Real.contDiff_fourier + intro n hn + exact integrable_homogeneousFourier_moment_le_two a k ha ha1 hk u n (by exact_mod_cast hn) + have he : (fun x : E => homogeneousPhysicalCLM a k ha ha1 hk u x) = + (fun x : E => ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) * + 𝓕 (u : E → ℂ) ((2 * Real.pi)⁻¹ • (-x))) := by + funext x + change inverseRadianFourier (u : E → ℂ) x = _ + rw [inverseRadianFourier, radianFourierIntegral_eq_fourier] + rw [he] + have hs : ContDiff ℝ 2 (fun x : E => (2 * Real.pi)⁻¹ • (-x)) := + contDiff_const.fun_smul contDiff_id.neg + exact contDiff_const.mul (hF.comp hs) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalColumnJets.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalColumnJets.lean new file mode 100644 index 0000000000000000000000000000000000000000..998313a095b8f5d3011f325f2438e7d1a78afe2b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalColumnJets.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingRobin +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalTrace + +namespace OAI + +/-! # Exact value and derivative maps of the physical outgoing columns -/ + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousCircularValue_derivatives (νp νm eta q : ℂ) (m : ℕ) + (Y : ℝ → V₄) (t : ℝ) + (hY : HasDerivAt Y (circularLeadingField t (Y t) + + circularBoundedField νp νm eta m q (Y t)) t) : + deriv (fun s => (Y s).1.1) t = (Y t).1.2 ∧ + deriv (fun s => (Y s).2.1) t = (Y t).2.2 := by + have hp := (ContinuousLinearMap.fst ℝ V V).hasFDerivAt.comp_hasDerivAt t hY + have hm := (ContinuousLinearMap.snd ℝ V V).hasFDerivAt.comp_hasDerivAt t hY + constructor + · simpa only [Function.comp_def, ContinuousLinearMap.coe_fst', + circularLeadingField, circularBoundedField, Prod.fst_add, zero_add] + using (homogeneousPair_fst_hasDerivAt hp).deriv + · simpa only [Function.comp_def, ContinuousLinearMap.coe_snd', + circularLeadingField, circularBoundedField, Prod.snd_add, Prod.fst_add, zero_add] + using (homogeneousPair_fst_hasDerivAt hm).deriv + +theorem homogeneousPhysicalState_pair_derivatives + (νp νm eta : ℂ) (m : ℕ) (Q : ℂ) (Z : ℝ → V₄) (r : ℝ) + (hZ : HasDerivAt Z (spectralPhysicalCircularField νp νm eta m Q r (Z r)) r) : + HasDerivAt (fun s => spectralPhysicalValueMap (Z s)) + (spectralPhysicalDerivativeMap (Z r)) r ∧ + HasDerivAt (fun s => spectralPhysicalDerivativeMap (Z s)) + (-homogeneousRadialDamping r (spectralPhysicalDerivativeMap (Z r)) - + homogeneousRadialStiffness νp νm eta m Q r (spectralPhysicalValueMap (Z r))) r := by + have hv := (spectralPhysicalValueMap.restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt r hZ + have hd := (spectralPhysicalDerivativeMap.restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt r hZ + exact ⟨hv, hd.congr_deriv (homogeneousRadial_acceleration νp νm eta m Q r (Z r))⟩ + +theorem homogeneousPhysicalColumn_logValue (νp νm : ℂ) (Y : ℝ → V₄) (r : ℝ) : + spectralPhysicalValueMap (spectralPhysicalPair νp νm Y r) = + homogeneousPhysicalLogColumn νp νm (fun t => (Y t).1.1) + (fun t => (Y t).2.1) (Real.log r) := rfl + +theorem homogeneousPhysicalColumn_logDerivative + (νp νm : ℂ) (Y : ℝ → V₄) (r : ℝ) + (hp : deriv (fun t => (Y t).1.1) (Real.log r) = (Y (Real.log r)).1.2) + (hm : deriv (fun t => (Y t).2.1) (Real.log r) = (Y (Real.log r)).2.2) : + spectralPhysicalDerivativeMap (spectralPhysicalPair νp νm Y r) = + r⁻¹ • homogeneousPhysicalLogDerivativeColumn νp νm + (fun t => (Y t).1.1) (fun t => (Y t).2.1) (Real.log r) := by + change (Complex.exp (νp * (Real.log r : ℂ)) / (r : ℂ) * + (νp * (Y (Real.log r)).1.1 + (Y (Real.log r)).1.2), + Complex.exp (νm * (Real.log r : ℂ)) / (r : ℂ) * + (νm * (Y (Real.log r)).2.1 + (Y (Real.log r)).2.2)) = _ + rw [homogeneousPhysicalLogDerivativeColumn, homogeneousDiagonal_apply, + homogeneousDiagonal_apply] + apply Prod.ext + all_goals + simp only [Prod.fst_add, Prod.snd_add, Prod.smul_fst, Prod.smul_snd, + Complex.real_smul, hp, hm, div_eq_mul_inv, Complex.ofReal_inv] + ring + +theorem homogeneousRobin_smul_derivatives (u v du dv : V) (c : ℝ) : + spectralRobinOperator u v (c • du) (c • dv) = c • spectralRobinOperator u v du dv := by + apply ContinuousLinearMap.ext + intro w + simp only [spectralRobinOperator, ContinuousLinearMap.comp_apply, smul_apply, + spectralTwoColumns_apply] + rw [smul_comm _ c du, smul_comm _ c dv, smul_add] + +theorem homogeneousPhysicalColumn_robin (νp νm : ℂ) (Yp Ym : ℝ → V₄) (r : ℝ) + (hpp : deriv (fun t => (Yp t).1.1) (Real.log r) = (Yp (Real.log r)).1.2) + (hpm : deriv (fun t => (Yp t).2.1) (Real.log r) = (Yp (Real.log r)).2.2) + (hmp : deriv (fun t => (Ym t).1.1) (Real.log r) = (Ym (Real.log r)).1.2) + (hmm : deriv (fun t => (Ym t).2.1) (Real.log r) = (Ym (Real.log r)).2.2) : + spectralRobinOperator + (spectralPhysicalValueMap (spectralPhysicalPair νp νm Yp r)) + (spectralPhysicalValueMap (spectralPhysicalPair νp νm Ym r)) + (spectralPhysicalDerivativeMap (spectralPhysicalPair νp νm Yp r)) + (spectralPhysicalDerivativeMap (spectralPhysicalPair νp νm Ym r)) = + r⁻¹ • spectralRobinOperator + (homogeneousPhysicalLogColumn νp νm (fun t => (Yp t).1.1) (fun t => (Yp t).2.1) + (Real.log r)) + (homogeneousPhysicalLogColumn νp νm (fun t => (Ym t).1.1) (fun t => (Ym t).2.1) + (Real.log r)) + (homogeneousPhysicalLogDerivativeColumn νp νm + (fun t => (Yp t).1.1) (fun t => (Yp t).2.1) (Real.log r)) + (homogeneousPhysicalLogDerivativeColumn νp νm + (fun t => (Ym t).1.1) (fun t => (Ym t).2.1) (Real.log r)) := by + rw [homogeneousPhysicalColumn_logValue, homogeneousPhysicalColumn_logValue, + homogeneousPhysicalColumn_logDerivative νp νm Yp r hpp hpm, + homogeneousPhysicalColumn_logDerivative νp νm Ym r hmp hmm, + homogeneousRobin_smul_derivatives] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..acc8d34190dce171264c41cbd6a795b479fba6ee --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalCoordinates.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRealPhysicalContour + +namespace OAI + +/-! # Physical coordinates on the real contour range -/ + +namespace DefocusingNLS + +section +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) +local notation "H" => HomogeneousY a k +local notation "ι" => homogeneousComplexEmbed a k ha ha1 hk +local notation "X" => homogeneousComplexReal a k ha ha1 hk + +theorem exists_physicalContour_coordinates + (P : (H × H) →L[ℂ] (H × H)) + (F : ProfileSymmetryParameters →L[ℝ] H) (hF : Function.Injective F) + (hfix : ∀ p, P (ι (F p)) = ι (F p)) + (hrange : ∀ u, ∃ p, P (ι u) = ι (F p)) : + ∃ π : H →L[ℝ] ProfileSymmetryParameters, + (∀ p, π (F p) = p) ∧ + (∀ u, ι (F (π u)) = P (ι u)) ∧ + (∀ u, π u = 0 ↔ homogeneousStableCoordinates a k ha ha1 hk P u = 0) := by + let B := (X).comp ((P.restrictScalars ℝ).comp ι) + have hB (u : H) : B u ∈ F.range := by + obtain ⟨p, hp⟩ := hrange u + refine ⟨p, ?_⟩ + change F p = X (P (ι u)) + rw [hp, homogeneousComplexReal_embed] + let e : ProfileSymmetryParameters ≃L[ℝ] F.range := + (LinearEquiv.ofInjective F.toLinearMap hF).toContinuousLinearEquiv + let π := e.symm.toContinuousLinearMap.comp (B.codRestrict F.range hB) + have hπ (u : H) : F (π u) = B u := by + exact congrArg (fun v : F.range => (v : H)) (e.apply_symm_apply ⟨B u, hB u⟩) + have hπF (p : ProfileSymmetryParameters) : π (F p) = p := by + apply hF + rw [hπ] + change X (P (ι (F p))) = F p + rw [hfix, homogeneousComplexReal_embed] + have hreal (u : H) : ι (F (π u)) = P (ι u) := by + obtain ⟨p, hp⟩ := hrange u + rw [hπ] + change ι (X (P (ι u))) = P (ι u) + rw [hp, homogeneousComplexReal_embed] + refine ⟨π, hπF, hreal, fun u => ?_⟩ + rw [homogeneousStableCoordinates_zero_iff] + constructor + · intro h + rw [← hreal, h, map_zero, map_zero] + · intro h + have he := hreal u + rw [h] at he + have hf0 : F (π u) = 0 := by + have := congrArg X he + simpa only [homogeneousComplexReal_embed, map_zero] using this + exact hF (hf0.trans (map_zero F).symm) + +end +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..fd3be35ef9933d04c264058e60e02586ef4188dd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDerivative.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOrderedDerivatives +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyComponents + +namespace OAI + +/-! # Bounded physical ordered derivatives on the faithful Y completion + +Each ordered top derivative is a bounded map into physical L², with norm at +most one. On the dense Schwartz domain it is the usual Cartesian derivative. +-/ + +open MeasureTheory LineDeriv +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousOrderedDerivativeL2 (N : ℕ) (j : Fin N → Fin 12) : + 𝓢(E, ℂ) →ₗ[ℂ] Lp ℂ 2 (volume : Measure E) := + (SchwartzMap.toLpCLM ℂ ℂ 2 volume).toLinearMap.comp + (iteratedLineDerivOpCLM ℂ 𝓢(E, ℂ) + (fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i))).toLinearMap + +theorem homogeneousOrderedDerivativeL2_norm_sq (N : ℕ) (j : Fin N → Fin 12) + (f : 𝓢(E, ℂ)) : + ‖homogeneousOrderedDerivativeL2 N j f‖ ^ 2 = + ∫ x : E, ‖homogeneousOrderedDerivative N j f x‖ ^ 2 := by + have h := real_inner_self_eq_norm_sq (homogeneousOrderedDerivativeL2 N j f) + rw [L2.inner_def] at h + rw [← h] + apply integral_congr_ae + filter_upwards [SchwartzMap.coeFn_toLp (homogeneousOrderedDerivative N j f) 2 volume] with x hx + change inner ℝ ((homogeneousOrderedDerivative N j f).toLp 2 volume x) + ((homogeneousOrderedDerivative N j f).toLp 2 volume x) = _ + rw [hx, real_inner_self_eq_norm_sq] + +theorem homogeneousOrderedDerivativeL2_norm_le (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (j : Fin N → Fin 12) (f : 𝓢(E, ℂ)) : + ‖homogeneousOrderedDerivativeL2 N j f‖ ≤ + ‖homogeneousSchwartzEmbedding a N ha ha1 hk f‖ := by + have hterm : (∫ x : E, ‖homogeneousOrderedDerivative N j f x‖ ^ 2) ≤ + ∑ l : Fin N → Fin 12, ∫ x : E, ‖homogeneousOrderedDerivative N l f x‖ ^ 2 := + Finset.single_le_sum (f := fun l : Fin N → Fin 12 => + ∫ x : E, ‖homogeneousOrderedDerivative N l f x‖ ^ 2) + (fun l _ => integral_nonneg (fun x => sq_nonneg _)) (Finset.mem_univ j) + rw [homogeneousOrderedDerivative_energy] at hterm + rw [← homogeneousHighEnergy_Schwartz_norm_sq a N ha ha1 hk (radianFourierKernel f)] at hterm + have hhigh := (sq_le_sq₀ (norm_nonneg _) (norm_nonneg _)).mpr + (homogeneousHighEnergy_norm_le a N ha1 hk + (homogeneousSchwartzEmbedding a N ha ha1 hk f)) + apply (sq_le_sq₀ (norm_nonneg _) (norm_nonneg _)).mp + rw [homogeneousOrderedDerivativeL2_norm_sq] + exact hterm.trans hhigh + +noncomputable def homogeneousPhysicalDerivative (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) : + HomogeneousY a N →L[ℂ] Lp ℂ 2 (volume : Measure E) := + (homogeneousOrderedDerivativeL2 N j).extendOfNorm + (homogeneousSchwartzEmbedding a N ha ha1 hk).toLinearMap + +theorem homogeneousPhysicalDerivative_Schwartz (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (j : Fin N → Fin 12) (f : 𝓢(E, ℂ)) : + homogeneousPhysicalDerivative a N ha ha1 hk j + (homogeneousSchwartzEmbedding a N ha ha1 hk f) = homogeneousOrderedDerivativeL2 N j f := by + apply LinearMap.extendOfNorm_eq (homogeneousSchwartzEmbedding_dense a N ha ha1 hk) + refine ⟨1, fun f => ?_⟩ + simpa only [one_mul] using! homogeneousOrderedDerivativeL2_norm_le a N ha ha1 hk j f + +theorem homogeneousPhysicalDerivative_norm_le (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (u : HomogeneousY a N) : ‖homogeneousPhysicalDerivative a N ha ha1 hk j u‖ ≤ ‖u‖ := by + have h := LinearMap.norm_extendOfNorm_apply_le + (f := homogeneousOrderedDerivativeL2 N j) + (e := (homogeneousSchwartzEmbedding a N ha ha1 hk).toLinearMap) + (homogeneousSchwartzEmbedding_dense a N ha ha1 hk) 1 + (fun f => by simpa only [one_mul] using! homogeneousOrderedDerivativeL2_norm_le a N ha ha1 hk j f) u + simpa only [homogeneousPhysicalDerivative, one_mul] using! h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDifferentiation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDifferentiation.lean new file mode 100644 index 0000000000000000000000000000000000000000..c92eb62e00ded1dc25198adcc90f6a55f540d398 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDifferentiation.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalInjective +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus + +namespace OAI + +/-! # Strong differentiation from a faithful physical integral identity -/ + +open MeasureTheory Set + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem hasDerivAt_homogeneous_of_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u v : ℝ → HomogeneousY a k) (hv : Continuous v) + (hd : ∀ t : ℝ, ∀ x : E, HasDerivAt + (fun s => homogeneousPhysicalCLM a k ha ha1 hk (u s) x) + (homogeneousPhysicalCLM a k ha ha1 hk (v t) x) t) (t : ℝ) : + HasDerivAt u (v t) t := by + have he (s : ℝ) : u s = u 0 + ∫ r in (0 : ℝ)..s, v r := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + ext x + let L := (homogeneousPointEvaluation a k ha ha1 hk x).restrictScalars ℝ + have hL (w : HomogeneousY a k) : L w = homogeneousPhysicalCLM a k ha ha1 hk w x := rfl + have hi := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun r (_ : r ∈ uIcc (0 : ℝ) s) => hd r x) + ((L.continuous.comp hv).intervalIntegrable 0 s) + rw [map_add] + change L (u s) = L (u 0) + L (∫ r in (0 : ℝ)..s, v r) + rw [← L.intervalIntegral_comp_comm (hv.intervalIntegrable 0 s)] + simp only [hL] at hi ⊢ + linear_combination -hi + have hi := (intervalIntegral.integral_hasDerivAt_right (hv.intervalIntegrable 0 t) + hv.aestronglyMeasurable.stronglyMeasurableAtFilter (hv.continuousAt (x := t))).const_add (u 0) + convert hi using 1 + exact funext he + +theorem hasDerivWithinAt_homogeneous_of_physical_Ici (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u v : ℝ → HomogeneousY a k) (hu : ContinuousOn u (Ici 0)) (hv : Continuous v) + (hd : ∀ t : ℝ, 0 < t → ∀ x : E, HasDerivAt + (fun s => homogeneousPhysicalCLM a k ha ha1 hk (u s) x) + (homogeneousPhysicalCLM a k ha ha1 hk (v t) x) t) + (t : ℝ) (ht : 0 ≤ t) : HasDerivWithinAt u (v t) (Ici 0) t := by + have he (s : ℝ) (hs : 0 ≤ s) : u s = u 0 + ∫ r in (0 : ℝ)..s, v r := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + ext x + let L := (homogeneousPointEvaluation a k ha ha1 hk x).restrictScalars ℝ + have hL (w : HomogeneousY a k) : L w = homogeneousPhysicalCLM a k ha ha1 hk w x := rfl + have hi := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hs + (L.continuous.comp_continuousOn (hu.mono (fun r hr => hr.1))) + (fun r hr => hd r hr.1 x) ((L.continuous.comp hv).intervalIntegrable 0 s) + rw [map_add] + change L (u s) = L (u 0) + L (∫ r in (0 : ℝ)..s, v r) + rw [← L.intervalIntegral_comp_comm (hv.intervalIntegrable 0 s)] + simp only [Function.comp_def, hL] at hi ⊢ + linear_combination -hi + have hi := (intervalIntegral.integral_hasDerivAt_right (hv.intervalIntegrable 0 t) + hv.aestronglyMeasurable.stronglyMeasurableAtFilter (hv.continuousAt (x := t))).const_add (u 0) + exact hi.hasDerivWithinAt.congr_of_mem he ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDuality.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDuality.lean new file mode 100644 index 0000000000000000000000000000000000000000..d4d71c046068b91fdc9fa6921168c227b8fc47df --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalDuality.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFourierPairing +import Mathlib.MeasureTheory.Integral.Prod + +namespace OAI + +/-! # Exact Fourier normalization for physical Schwartz tests -/ + +open MeasureTheory +open scoped SchwartzMap RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem integral_inverseRadianFourier_test (f : E → ℂ) (hf : Integrable f) + (ψ : 𝓢(E, ℂ)) : + (∫ y : E, ψ y * inverseRadianFourier f y) = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, f ξ * radianFourierKernel ψ (-ξ) := by + let c : ℂ := (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) + let G := fun (y ξ : E) => ψ y * (Complex.exp ((⟪ξ, y⟫ : ℝ) * Complex.I) * f ξ) + have hG : Integrable (Function.uncurry G) (volume.prod volume) := by + apply (ψ.integrable.norm.mul_prod hf.norm).mono' + · have hp : Continuous (fun p : E × E => Complex.exp ((⟪p.2, p.1⟫ : ℝ) * Complex.I)) := by + fun_prop + exact ψ.continuous.aestronglyMeasurable.comp_fst.mul + (hp.aestronglyMeasurable.mul hf.aestronglyMeasurable.comp_snd) + · filter_upwards [] with p + simp only [Function.uncurry, G, norm_mul, Complex.norm_exp_ofReal_mul_I, one_mul, le_refl] + have he (y : E) : ψ y * inverseRadianFourier f y = c * ∫ ξ : E, G y ξ := by + unfold inverseRadianFourier radianFourierIntegral + simp only [inner_neg_right, neg_neg] + change ψ y * (c * ∫ ξ : E, Complex.exp ((⟪ξ, y⟫ : ℝ) * Complex.I) * f ξ) = + c * ∫ ξ : E, ψ y * (Complex.exp ((⟪ξ, y⟫ : ℝ) * Complex.I) * f ξ) + rw [integral_const_mul] + ring + have ht (ξ : E) : (∫ y : E, G y ξ) = f ξ * radianFourierKernel ψ (-ξ) := by + rw [radianFourierKernel_apply, radianFourierIntegral, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with y + simp only [G, inner_neg_right, neg_neg] + rw [real_inner_comm ξ y] + ring + calc + _ = ∫ y : E, c * ∫ ξ : E, G y ξ := integral_congr_ae (ae_of_all _ he) + _ = c * ∫ y : E, ∫ ξ : E, G y ξ := integral_const_mul _ _ + _ = c * ∫ ξ : E, ∫ y : E, G y ξ := congrArg (c * ·) (integral_integral_swap hG) + _ = c * ∫ ξ : E, f ξ * radianFourierKernel ψ (-ξ) := by simp only [ht] + _ = _ := by simp only [c, Complex.ofReal_inv, Complex.ofReal_pow, + Complex.ofReal_mul, Complex.ofReal_ofNat] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalEigenvector.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalEigenvector.lean new file mode 100644 index 0000000000000000000000000000000000000000..36423ee918f1fabce6b24f7c8d7e0d13b37b0ce4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalEigenvector.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedDomain +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLaplacianDomain +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SemigroupGeneratorEigenvector +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialGaugeLinearization + +namespace OAI + +/-! # Physical eigenvectors with two extra orders are semigroup eigenvectors -/ + +open Set +open scoped Laplacian ZeroAtInfty NNReal + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +attribute [local irreducible] homogeneousLinearizedStep + +theorem homogeneousLinearized_eigenvector_of_physical (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q u : HomogeneousY a k) (uH : HomogeneousY a (k + 2)) (lam : ℝ) + (hH : ∀ x, homogeneousPhysicalCLM a (k + 2) ha ha1 (by linarith) uH x = + homogeneousPhysicalCLM a k ha ha1 hk u x) + (he : ∀ x, similarityLinearization a b m + (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) + (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) x = + (lam : ℂ) * homogeneousPhysicalCLM a k ha ha1 hk u x) (t : ℝ≥0) : + homogeneousLinearizedStep a b k ha ha1 hk m q t u = Real.exp (lam * (t : ℝ)) • u := by + obtain ⟨uL, hL⟩ := exists_homogeneous_laplacian_of_higher_order a k ha ha1 hk uH + have hEq : (fun y : E => homogeneousPhysicalCLM a (k + 2) ha ha1 (by linarith) uH y) = + (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) := funext hH + simp only [hEq] at hL + have hd := homogeneousLinearized_hasDerivWithinAt_of_classical a b k ha ha1 hk m q u uL + (lam • u) hL (fun x => by + have hp := he x + dsimp only [similarityLinearization] at hp + simp only [ContinuousLinearMap.map_smul_of_tower, + ZeroAtInftyContinuousMap.smul_apply, Complex.real_smul] + rw [map_smul] at hp + simp only [Complex.real_smul] at hp + push_cast at hp + linear_combination -hp) + apply semigroup_eigenvector_of_generator + (homogeneousLinearizedStep a b k ha ha1 hk m q) + (fun v => (continuous_homogeneousLinearizedStep_apply a b k ha ha1 hk m q).comp + (continuous_id.prodMk continuous_const)) + (homogeneousLinearizedStep_zero a b k ha ha1 hk m q) + (fun s t => by rw [add_comm, homogeneousLinearizedStep_add]) u lam hd t + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFourierJets.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFourierJets.lean new file mode 100644 index 0000000000000000000000000000000000000000..be13152824bf87a276eddd0f9631c9687eb32fea --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFourierJets.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalC2 +import Mathlib.Analysis.InnerProductSpace.Laplacian + +namespace OAI + +/-! # Cartesian jets of the actual physical representative + +Up to order two, derivatives are ordinary inverse Fourier integrals. The +restriction n ≤ 2 is exactly what k > 8 supplies in dimension twelve. +-/ + +open MeasureTheory +open scoped FourierTransform RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem physical_fourier_phase (ξ x : E) : + -2 * Real.pi * ⟪ξ, (-(2 * Real.pi)⁻¹ : ℝ) • x⟫ = ⟪ξ, x⟫ := by + rw [real_inner_smul_right] + field_simp + +private theorem physical_fourier_scalar : + (((-(2 * Real.pi)⁻¹ : ℝ) : ℂ) * (-(2 * (Real.pi : ℂ) * Complex.I))) = Complex.I := by + push_cast + field_simp + +theorem iteratedFDeriv_homogeneousPhysical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) + (n : ℕ) (hn : n ≤ 2) (x : E) (v : Fin n → E) : + iteratedFDeriv ℝ n (fun z : E => homogeneousPhysicalCLM a k ha ha1 hk u z) x v = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (Complex.I ^ n * ((∏ j : Fin n, ⟪ξ, v j⟫ : ℝ) : ℂ)) * u ξ := by + have hm (j : ℕ) (hj : j ≤ (2 : ℕ∞)) : + Integrable (fun ξ : E => ‖ξ‖ ^ j * ‖u ξ‖) := + integrable_homogeneousFourier_moment_le_two a k ha ha1 hk u j (by exact_mod_cast hj) + have hu := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u)).1 + have hF2 : ContDiff ℝ 2 (𝓕 (u : E → ℂ)) := Real.contDiff_fourier hm + have hFn : ContDiff ℝ n (𝓕 (u : E → ℂ)) := hF2.of_le (by exact_mod_cast hn) + let r : ℝ := -(2 * Real.pi)⁻¹ + let c : ℂ := (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) + have hc : (fun z : E => homogeneousPhysicalCLM a k ha ha1 hk u z) = + c • (fun z : E => 𝓕 (u : E → ℂ) (r • z)) := by + funext z + change inverseRadianFourier (u : E → ℂ) z = c * 𝓕 (u : E → ℂ) (r • z) + rw [inverseRadianFourier, radianFourierIntegral_eq_fourier] + simp only [c, r, neg_smul, smul_neg] + have hcomp : ContDiff ℝ n (fun z : E => 𝓕 (u : E → ℂ) (r • z)) := + hFn.comp (contDiff_const.fun_smul contDiff_id) + rw [hc, iteratedFDeriv_const_smul_apply hcomp.contDiffAt] + rw [congrFun (iteratedFDeriv_comp_const_smul r hFn) x] + rw [Real.iteratedFDeriv_fourier hm hu.aestronglyMeasurable (by exact_mod_cast hn)] + simp only [smul_apply] + rw [Real.fourier_continuousMultilinearMap_apply + (VectorFourier.integrable_fourierPowSMulRight (innerSL ℝ) (hm n (by exact_mod_cast hn)) + hu.aestronglyMeasurable)] + rw [Real.fourier_eq'] + simp only [Complex.real_smul, smul_eq_mul] + rw [← integral_const_mul, ← integral_const_mul, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with ξ + simp only [VectorFourier.fourierPowSMulRight_apply, + Complex.real_smul, smul_eq_mul, r, Complex.ofReal_pow] + rw [physical_fourier_phase] + have hpow : (((-(2 * Real.pi)⁻¹ : ℝ) : ℂ) ^ n * + (-(2 * (Real.pi : ℂ) * Complex.I)) ^ n) = Complex.I ^ n := by + rw [← mul_pow, physical_fourier_scalar] + dsimp only [c] + push_cast + push_cast at hpow + have hi : (∏ j : Fin n, (((innerSL ℝ) ξ (v j) : ℝ) : ℂ)) = + ∏ j : Fin n, ((⟪ξ, v j⟫ : ℝ) : ℂ) := rfl + rw [hi] + calc + _ = (((2 * (Real.pi : ℂ)) ^ (12 : ℕ))⁻¹) * + Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (((-(2 * (Real.pi : ℂ))⁻¹) ^ n * (-(2 * (Real.pi : ℂ) * Complex.I)) ^ n) * + ∏ j : Fin n, ((⟪ξ, v j⟫ : ℝ) : ℂ)) * u ξ := by ring + _ = _ := by rw [hpow]; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFrame.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFrame.lean new file mode 100644 index 0000000000000000000000000000000000000000..960daf4a321e601e6aab8f10dda3f16d42f6414b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFrame.lean @@ -0,0 +1,97 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryIndependence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSymbol + +namespace OAI + +/-! # The injective physical modulation frame of the actual matched profile -/ + +open scoped ContDiff ZeroAtInfty + +namespace DefocusingNLS + +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +abbrev ProfileSymmetryParameters := ℝ × E × ℝ + +noncomputable def profileSymmetryFrame {V : Type*} [NormedAddCommGroup V] + [NormedSpace ℝ V] (q t : V) (D : E →L[ℝ] V) : ProfileSymmetryParameters →L[ℝ] V where + toFun p := p.1 • q + D p.2.1 + p.2.2 • t + map_add' p r := by simp only [Prod.fst_add, Prod.snd_add, add_smul, map_add]; abel + map_smul' c p := by + change (c * p.1) • q + D (c • p.2.1) + (c * p.2.2) • t = + c • (p.1 • q + D p.2.1 + p.2.2 • t) + simp only [map_smul, smul_add, smul_smul] + cont := by fun_prop + +theorem homogeneous_physical_symmetry_frame (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) + (h0 : Q 0 ≠ 0) (heven : ∀ y, Q (-y) = Q y) + (hstat : ∀ y, stationarySimilarityDefect a b m Q y = 0) + (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 hk q y = Q y) : + ∃ F : ProfileSymmetryParameters →L[ℝ] HomogeneousY a k, + Function.Injective F ∧ ∀ p y, homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y := by + obtain ⟨D, hD⟩ := homogeneous_profile_translation_map a k ha ha1 hk Q hQ hsymbol + obtain ⟨t, ht⟩ := homogeneous_profile_time_direction a b k ha ha1 hk m Q hQ hsymbol q hq hstat + let F := profileSymmetryFrame (Complex.I • q) t D + have hF (p : ProfileSymmetryParameters) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y := by + change homogeneousPhysicalCLM a k ha ha1 hk + (p.1 • (Complex.I • q) + D p.2.1 + p.2.2 • t) y = _ + simp only [map_add, ContinuousLinearMap.map_smul_of_tower, + ZeroAtInftyContinuousMap.add_apply, ZeroAtInftyContinuousMap.smul_apply, + map_smul, smul_eq_mul, Complex.real_smul, hq, hD, ht] + ring + refine ⟨F, (injective_iff_map_eq_zero F).mpr ?_, hF⟩ + intro p hp + let Q₀ := homogeneousPhysicalCLM a k ha ha1 hk q + have heq : ⇑Q₀ = Q := funext hq + have hz (y : E) : (p.1 : ℂ) * (Complex.I * Q₀ y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q₀ y + cartesianTransport Q₀ y) + + cartesianDerivative p.2.1 Q₀ y = 0 := by + rw [heq, ← hF, hp, map_zero] + rfl + obtain ⟨hs, ht, hv⟩ := physical_symmetry_directions_independent a b ha Q₀ + (heq.symm ▸ hQ.differentiable (by simp)) (by simpa only [heq] using h0) + (by simpa only [heq] using heven) p.1 p.2.2 p.2.1 hz + exact Prod.ext hs (Prod.ext hv ht) + +theorem radialMatched_physical_symmetry_frame (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < k) + (q : HomogeneousY (radialShootingA n) k) + (hq : ∀ y, homogeneousPhysicalCLM (radialShootingA n) k ha ha1 hk q y = + radialMatchedCartesian n z y) : + ∃ F : ProfileSymmetryParameters →L[ℝ] HomogeneousY (radialShootingA n) k, + Function.Injective F ∧ ∀ p y, + homogeneousPhysicalCLM (radialShootingA n) k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * radialMatchedCartesian n z y) + + (p.2.2 : ℂ) * (((radialShootingA n : ℂ) - + Complex.I * (radialShootingB (profileMatchingParameter z) : ℂ)) * + radialMatchedCartesian n z y + cartesianTransport (radialMatchedCartesian n z) y) + + cartesianDerivative p.2.1 (radialMatchedCartesian n z) y := by + apply homogeneous_physical_symmetry_frame _ _ k ha ha1 hk + (n + radialInnerShootingThreshold) _ (radialMatchedCartesian_contDiff n z hX hz) + ?_ ?_ ?_ (radialMatchedCartesian_stationary n z hX hz) q hq + · intro j + obtain ⟨D, _, hD⟩ := radialMatchedCartesian_symbol n z hX hz j + exact ⟨D, hD⟩ + · simpa only [radialMatchedCartesian, norm_zero] using radialMatchedProfile_ne_zero n z hX 0 le_rfl + · intro y + simp only [radialMatchedCartesian, norm_neg] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFreeKernel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFreeKernel.lean new file mode 100644 index 0000000000000000000000000000000000000000..0fe9b56b624c4d2a1aad88e81c2f81a26af5f2f1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalFreeKernel.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalC2 +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreePhysical + +namespace OAI + +/-! # The actual free flow as one physical Fourier kernel + +This formula isolates all time dependence in a smooth scalar kernel. The +second Fourier moment supplies an integrable bound for its derivative. +-/ + +open MeasureTheory +open scoped RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousPhysicalFreeKernel (a b t : ℝ) (y ξ : E) : ℂ := + homogeneousPhysicalAmplitude a b t * Complex.exp + (((-(1 - Real.exp (-t)) * ‖ξ‖ ^ 2 + Real.exp (-t / 2) * ⟪ξ, y⟫ : ℝ) : ℂ) * Complex.I) + +theorem homogeneousFreeOperator_physical_integral (a b k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousFreeOperator a b k t ha ha1 hk u) y = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) * + ∫ ξ : E, homogeneousPhysicalFreeKernel a b t y ξ * u ξ := by + rw [homogeneousFreeOperator_physical, homogeneousSchrodingerOperator_physical, + inverseRadianFourier] + unfold radianFourierIntegral + have he : (∫ ξ : E, + Complex.exp (((-⟪ξ, -(Real.exp (-t / 2) • y)⟫ : ℝ) : ℂ) * Complex.I) * + (homogeneousSchrodingerPhase (1 - Real.exp (-t)) ξ * u ξ)) = + ∫ ξ : E, Complex.exp + (((-(1 - Real.exp (-t)) * ‖ξ‖ ^ 2 + Real.exp (-t / 2) * ⟪ξ, y⟫ : ℝ) : ℂ) * Complex.I) * u ξ := by + apply integral_congr_ae + filter_upwards [] with ξ + have hi : -⟪ξ, -(Real.exp (-t / 2) • y)⟫ = Real.exp (-t / 2) * ⟪ξ, y⟫ := by + simp only [inner_neg_right, inner_smul_right, neg_neg] + rw [hi, homogeneousSchrodingerPhase] + rw [← mul_assoc, ← Complex.exp_add] + congr 2 + push_cast + ring + rw [he] + unfold homogeneousPhysicalFreeKernel + simp_rw [mul_assoc] + rw [integral_const_mul] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalGeneratorIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalGeneratorIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..b92c505784d6fa1a6320f9ac68bb7d6654a24703 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalGeneratorIntegral.lean @@ -0,0 +1,100 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalKernelDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeakGenerator + +namespace OAI + +/-! # A physical integral formula for the strong free generator + +The derivative comes from the actual Fourier representation of the free +flow. In particular it applies to the generator vectors selected by the +finite spectral contour, with no additional spatial regularity hypothesis. +-/ + +open Set Filter MeasureTheory Topology +open scoped RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem continuous_physicalFreeKernel (a b t : ℝ) (y : E) : + Continuous (fun ξ : E => homogeneousPhysicalFreeKernel a b t y ξ) := by + unfold homogeneousPhysicalFreeKernel + fun_prop + +private theorem continuous_physicalFreeKernelDerivative (a b t : ℝ) (y : E) : + Continuous (fun ξ : E => homogeneousPhysicalFreeKernelDerivative a b t y ξ) := by + have hK := continuous_physicalFreeKernel a b t y + unfold homogeneousPhysicalFreeKernelDerivative + apply hK.mul + fun_prop + +theorem hasDerivAt_homogeneousFree_physical (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (y : E) : + HasDerivAt (fun t : ℝ => homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousFreeOperator a b k t ha ha1 hk u) y) + ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, homogeneousPhysicalFreeKernelDerivative a b 0 y ξ * u ξ) 0 := by + have hu := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u)).1 + have h₂ := integrable_homogeneousFourier_secondMoment a k ha ha1 hk u + let C := Real.exp a * (‖-(a : ℂ) + Complex.I * (b : ℂ)‖ + Real.exp 1 * (1 + ‖y‖)) + have hbound : Integrable (fun ξ : E => C * (1 + ‖ξ‖ ^ 2) * ‖u ξ‖) := by + convert (hu.norm.add h₂).const_mul C using 1 + funext ξ + dsimp only [Pi.add_apply] + ring + have hzero : Integrable (fun ξ : E => homogeneousPhysicalFreeKernel a b 0 y ξ * u ξ) := by + apply hu.norm.mono' ((continuous_physicalFreeKernel a b 0 y).aestronglyMeasurable.mul + hu.aestronglyMeasurable) + filter_upwards [] with ξ + dsimp only [Pi.mul_apply] + rw [norm_mul, homogeneousPhysicalFreeKernel_norm] + simp + have hd := hasDerivAt_integral_of_dominated_loc_of_deriv_le + (μ := volume) (x₀ := (0 : ℝ)) (s := Ioo (-1 : ℝ) 1) + (F := fun t ξ => homogeneousPhysicalFreeKernel a b t y ξ * u ξ) + (F' := fun t ξ => homogeneousPhysicalFreeKernelDerivative a b t y ξ * u ξ) + (bound := fun ξ => C * (1 + ‖ξ‖ ^ 2) * ‖u ξ‖) + (Ioo_mem_nhds (by norm_num) (by norm_num)) + (Eventually.of_forall fun t => (continuous_physicalFreeKernel a b t y).aestronglyMeasurable.mul + hu.aestronglyMeasurable) + hzero + ((continuous_physicalFreeKernelDerivative a b 0 y).aestronglyMeasurable.mul hu.aestronglyMeasurable) + (by + filter_upwards [] with ξ t ht + rw [norm_mul] + exact mul_le_mul_of_nonneg_right + (homogeneousPhysicalFreeKernelDerivative_local_bound a b t ha ht y ξ) (norm_nonneg _)) + hbound + (by + filter_upwards [] with ξ t _ + exact (hasDerivAt_homogeneousPhysicalFreeKernel a b t y ξ).mul_const (u ξ)) + have he : (fun t : ℝ => homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousFreeOperator a b k t ha ha1 hk u) y) = + (fun t : ℝ => (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, homogeneousPhysicalFreeKernel a b t y ξ * u ξ) := by + funext t + simpa only [Complex.ofReal_inv, Complex.ofReal_pow, Complex.ofReal_mul, + Complex.ofReal_ofNat] using homogeneousFreeOperator_physical_integral a b k t ha ha1 hk u y + rw [he] + exact hd.2.const_mul _ + +theorem homogeneousFree_generator_physical_integral (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u v : HomogeneousY a k) + (hu : HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk u) + v (Ici 0) 0) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk v y = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, homogeneousPhysicalFreeKernelDerivative a b 0 y ξ * u ξ := by + let L := (homogeneousPointEvaluation a k ha ha1 hk y).restrictScalars ℝ + have hL (f : HomogeneousY a k) : L f = homogeneousPhysicalCLM a k ha ha1 hk f y := rfl + have h₁ := L.hasFDerivAt.comp_hasDerivWithinAt 0 hu + have h₂ := (hasDerivAt_homogeneousFree_physical a b k ha ha1 hk u y).hasDerivWithinAt + (s := Ici 0) + have he := (h₁.derivWithin (uniqueDiffWithinAt_Ici 0)).symm.trans + (h₂.derivWithin (uniqueDiffWithinAt_Ici 0)) + simpa only [hL, Function.comp_def] using he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalInjective.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalInjective.lean new file mode 100644 index 0000000000000000000000000000000000000000..8012caa0562cf2703246601645fa8cde25e0684d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalInjective.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMap +import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff + +namespace OAI + +/-! # Faithfulness of the physical homogeneous realization + +The inverse Fourier realization is injective. The proof uses Fourier duality +against Schwartz tests and the fundamental lemma for locally integrable functions. +-/ + +open MeasureTheory +open scoped SchwartzMap FourierTransform RealInnerProductSpace ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem integral_fourier_mul_schwartz {f : E → ℂ} + (hf : Integrable f) (g : 𝓢(E, ℂ)) : + (∫ ξ, 𝓕 f ξ * g ξ) = ∫ ξ, f ξ * (𝓕 g) ξ := by + simpa using! VectorFourier.integral_bilin_fourierIntegral_eq_flip + (ContinuousLinearMap.mul ℂ ℂ) (L := innerₗ E) + Real.continuous_fourierChar continuous_inner hf g.integrable + +private theorem ae_eq_zero_of_fourier_zero {f : E → ℂ} (hf : Integrable f) + (hF : ∀ ξ, 𝓕 f ξ = 0) : f =ᵐ[volume] 0 := by + apply ae_eq_zero_of_integral_contDiff_smul_eq_zero hf.locallyIntegrable + intro g hg hgc + have hc : HasCompactSupport (Complex.ofRealCLM ∘ g) := hgc.comp_left rfl + have hs : ContDiff ℝ ∞ (Complex.ofRealCLM ∘ g) := by fun_prop + let χ : 𝓢(E, ℂ) := hc.toSchwartzMap hs + have h := integral_fourier_mul_schwartz hf (𝓕⁻ χ) + simp only [hF, zero_mul, integral_zero, FourierTransform.fourier_fourierInv_eq] at h + change (∫ ξ, (g ξ : ℂ) * f ξ) = 0 + calc + _ = ∫ ξ, f ξ * χ ξ := by + apply integral_congr_ae + filter_upwards [] with ξ + change (g ξ : ℂ) * f ξ = f ξ * (g ξ : ℂ) + ring + _ = 0 := h.symm + +private theorem ae_eq_zero_of_inverseRadian_zero {f : E → ℂ} (hf : Integrable f) + (hF : ∀ y, inverseRadianFourier f y = 0) : f =ᵐ[volume] 0 := by + apply ae_eq_zero_of_fourier_zero hf + intro ξ + have h := hF (-((2 * Real.pi) • ξ)) + simp only [inverseRadianFourier, neg_neg, radianFourierIntegral_eq_fourier, + smul_smul, inv_mul_cancel₀ (by positivity : 2 * Real.pi ≠ 0), one_smul] at h + exact (mul_eq_zero.mp h).resolve_left (by exact_mod_cast inv_ne_zero (pow_ne_zero 12 + (by positivity : 2 * Real.pi ≠ 0))) + +/-- Equality of inverse Fourier transforms determines integrable Fourier data. -/ +theorem inverseRadianFourier_injective_ae {f g : E → ℂ} + (hf : Integrable f) (hg : Integrable g) + (h : inverseRadianFourier f = inverseRadianFourier g) : f =ᵐ[volume] g := by + have hz : f - g =ᵐ[volume] 0 := by + apply ae_eq_zero_of_inverseRadian_zero (hf.sub hg) + intro y + have he : inverseRadianFourier (f - g) = + inverseRadianFourier f - inverseRadianFourier g := by + have hn := inverseRadianFourier_smul (-1) g + have ha := inverseRadianFourier_add hf (hg.smul (-1 : ℂ)) + simpa only [neg_one_smul, sub_eq_add_neg] using ha.trans + (congrArg (fun F => inverseRadianFourier f + F) hn) + rw [he, h, sub_self] + rfl + filter_upwards [hz] with ξ hξ + exact sub_eq_zero.mp hξ + +/-- Distinct Y vectors represent distinct continuous functions. -/ +theorem homogeneousPhysicalCLM_injective (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Function.Injective (homogeneousPhysicalCLM a k ha ha1 hk) := by + apply (injective_iff_map_eq_zero (homogeneousPhysicalCLM a k ha ha1 hk)).mpr + intro f hf + apply Lp.eq_zero_iff_ae_eq_zero.mpr + have hzero : (f : E → ℂ) =ᵐ[volume] 0 := by + apply ae_eq_zero_of_inverseRadian_zero + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp f)).1 + intro y + exact DFunLike.congr_fun hf y + exact hzero.filter_mono (withDensity_absolutelyContinuous volume _).ae_le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalIntegrable.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalIntegrable.lean new file mode 100644 index 0000000000000000000000000000000000000000..324ed2b93e94365894951f3cea232c625ed816b9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalIntegrable.lean @@ -0,0 +1,35 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMeasurable +import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic + +namespace OAI + +/-! # Bochner integrability of bounded physical limits on finite time slabs -/ + +open Set MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem stronglyMeasurable_homogeneous_clamped (a k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (u : Icc (0 : ℝ) T → HomogeneousY a k) + (hp : ∀ y : E, Continuous (fun t => homogeneousPhysicalCLM a k ha ha1 hk (u t) y)) : + StronglyMeasurable (fun t : ℝ => u (projIcc 0 T hT t)) := by + apply stronglyMeasurable_of_homogeneousPhysical a k ha ha1 hk + intro y + exact ((hp y).comp continuous_projIcc).measurable + +theorem integrableOn_homogeneous_clamped (a k T M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (u : Icc (0 : ℝ) T → HomogeneousY a k) (hu : ∀ t, ‖u t‖ ≤ M) + (hp : ∀ y : E, Continuous (fun t => homogeneousPhysicalCLM a k ha ha1 hk (u t) y)) : + IntegrableOn (fun t : ℝ => u (projIcc 0 T hT t)) (Icc 0 T) := by + have hb : IntegrableOn (fun _ : ℝ => M) (Icc 0 T) := + continuousOn_const.integrableOn_compact isCompact_Icc + exact hb.mono' (stronglyMeasurable_homogeneous_clamped a k T ha ha1 hk hT u hp).aestronglyMeasurable + (Filter.Eventually.of_forall (fun t => hu (projIcc 0 T hT t))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalKernelDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalKernelDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..b5908f667c6d68a53aebf7a0ec785f738ae8a1ed --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalKernelDerivative.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFreeKernel +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeTestDerivative + +namespace OAI + +/-! # Differentiating the exact physical free kernel + +The estimates are on the scalar kernel itself. They require only the second +Fourier moment, already proved for every vector in the manuscript's Y space. +-/ + +open Set +open scoped RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousPhysicalFreeKernelDerivative (a b t : ℝ) (y ξ : E) : ℂ := + homogeneousPhysicalFreeKernel a b t y ξ * + ((-(a : ℂ) + Complex.I * (b : ℂ)) + + ((-Real.exp (-t) * ‖ξ‖ ^ 2 - Real.exp (-t / 2) / 2 * ⟪ξ, y⟫ : ℝ) : ℂ) * Complex.I) + +private theorem physicalPhase_hasDerivAt (t : ℝ) (y ξ : E) : + HasDerivAt (fun s : ℝ => -(1 - Real.exp (-s)) * ‖ξ‖ ^ 2 + + Real.exp (-s / 2) * ⟪ξ, y⟫) + (-Real.exp (-t) * ‖ξ‖ ^ 2 - Real.exp (-t / 2) / 2 * ⟪ξ, y⟫) t := by + have he := ((hasDerivAt_id t).neg).exp + have hr := (((hasDerivAt_id t).neg).div_const 2).exp + have h := ((((hasDerivAt_const t (1 : ℝ)).sub he).neg).mul_const (‖ξ‖ ^ 2)).add + (hr.mul_const ⟪ξ, y⟫) + convert h using 1 + · rfl + · simp only [Pi.neg_apply, id_eq] + ring + +@[simp] theorem homogeneousPhysicalFreeKernel_norm (a b t : ℝ) (y ξ : E) : + ‖homogeneousPhysicalFreeKernel a b t y ξ‖ = Real.exp (-a * t) := by + simp only [homogeneousPhysicalFreeKernel, norm_mul, homogeneousPhysicalAmplitude_norm, + Complex.norm_exp, Complex.mul_re, Complex.ofReal_re, Complex.I_re, + Complex.ofReal_im, Complex.I_im, mul_zero, sub_zero, Real.exp_zero, mul_one] + +theorem hasDerivAt_homogeneousPhysicalFreeKernel (a b t : ℝ) (y ξ : E) : + HasDerivAt (fun s : ℝ => homogeneousPhysicalFreeKernel a b s y ξ) + (homogeneousPhysicalFreeKernelDerivative a b t y ξ) t := by + have hp := (((physicalPhase_hasDerivAt t y ξ).ofReal_comp).mul_const Complex.I).cexp + have h := (hasDerivAt_homogeneousPhysicalAmplitude a b t).mul hp + convert h using 1 + · rfl + · unfold homogeneousPhysicalFreeKernelDerivative homogeneousPhysicalFreeKernel + ring + +theorem homogeneousPhysicalFreeKernelDerivative_norm_le (a b t : ℝ) (y ξ : E) : + ‖homogeneousPhysicalFreeKernelDerivative a b t y ξ‖ ≤ Real.exp (-a * t) * + (‖-(a : ℂ) + Complex.I * (b : ℂ)‖ + + Real.exp (-t) * ‖ξ‖ ^ 2 + Real.exp (-t / 2) / 2 * ‖ξ‖ * ‖y‖) := by + have hreal : |(-Real.exp (-t) * ‖ξ‖ ^ 2 - Real.exp (-t / 2) / 2 * ⟪ξ, y⟫ : ℝ)| ≤ + Real.exp (-t) * ‖ξ‖ ^ 2 + Real.exp (-t / 2) / 2 * ‖ξ‖ * ‖y‖ := by + calc + _ ≤ |-Real.exp (-t) * ‖ξ‖ ^ 2| + |Real.exp (-t / 2) / 2 * ⟪ξ, y⟫| := by + simpa only [Real.norm_eq_abs] using + norm_sub_le (-Real.exp (-t) * ‖ξ‖ ^ 2) (Real.exp (-t / 2) / 2 * ⟪ξ, y⟫) + _ = Real.exp (-t) * ‖ξ‖ ^ 2 + Real.exp (-t / 2) / 2 * |⟪ξ, y⟫| := by + rw [abs_mul, abs_neg, abs_of_pos (Real.exp_pos _), abs_of_nonneg (sq_nonneg _), + abs_mul, abs_of_nonneg (by positivity : 0 ≤ Real.exp (-t / 2) / 2)] + _ ≤ _ := by + simpa only [mul_assoc] using add_le_add (le_refl (Real.exp (-t) * ‖ξ‖ ^ 2)) + (mul_le_mul_of_nonneg_left (abs_real_inner_le_norm ξ y) + (show 0 ≤ Real.exp (-t / 2) / 2 by positivity)) + unfold homogeneousPhysicalFreeKernelDerivative + rw [norm_mul, homogeneousPhysicalFreeKernel_norm] + apply mul_le_mul_of_nonneg_left _ (Real.exp_nonneg _) + apply (norm_add_le _ _).trans + rw [norm_mul, Complex.norm_I, mul_one, Complex.norm_real, Real.norm_eq_abs] + simpa only [add_assoc] using add_le_add (le_refl ‖-(a : ℂ) + Complex.I * (b : ℂ)‖) hreal + +theorem homogeneousPhysicalFreeKernelDerivative_local_bound (a b t : ℝ) (ha : 0 < a) + (ht : t ∈ Ioo (-1 : ℝ) 1) (y ξ : E) : + ‖homogeneousPhysicalFreeKernelDerivative a b t y ξ‖ ≤ + (Real.exp a * (‖-(a : ℂ) + Complex.I * (b : ℂ)‖ + + Real.exp 1 * (1 + ‖y‖))) * (1 + ‖ξ‖ ^ 2) := by + have hA : Real.exp (-a * t) ≤ Real.exp a := Real.exp_le_exp.mpr (by nlinarith [ht.1]) + have hE : Real.exp (-t) ≤ Real.exp 1 := Real.exp_le_exp.mpr (by linarith [ht.1]) + have hR : Real.exp (-t / 2) / 2 ≤ Real.exp 1 := by + have h := Real.exp_le_exp.mpr (show -t / 2 ≤ (1 : ℝ) by linarith [ht.1]) + linarith [Real.exp_pos (-t / 2)] + have hξ : ‖ξ‖ ≤ 1 + ‖ξ‖ ^ 2 := by nlinarith [sq_nonneg (‖ξ‖ - 1), norm_nonneg ξ] + have h₁ : ‖-(a : ℂ) + Complex.I * (b : ℂ)‖ + Real.exp (-t) * ‖ξ‖ ^ 2 + + Real.exp (-t / 2) / 2 * ‖ξ‖ * ‖y‖ ≤ + (‖-(a : ℂ) + Complex.I * (b : ℂ)‖ + Real.exp 1 * (1 + ‖y‖)) * + (1 + ‖ξ‖ ^ 2) := by + calc + _ ≤ ‖-(a : ℂ) + Complex.I * (b : ℂ)‖ + Real.exp 1 * ‖ξ‖ ^ 2 + + Real.exp 1 * (1 + ‖ξ‖ ^ 2) * ‖y‖ := by gcongr + _ ≤ _ := by + nlinarith [mul_nonneg (norm_nonneg (-(a : ℂ) + Complex.I * (b : ℂ))) + (sq_nonneg ‖ξ‖), Real.exp_pos (1 : ℝ)] + exact (homogeneousPhysicalFreeKernelDerivative_norm_le a b t y ξ).trans + ((mul_le_mul hA h₁ (by positivity) (Real.exp_nonneg _)).trans_eq (by ring)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalLaplacian.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalLaplacian.lean new file mode 100644 index 0000000000000000000000000000000000000000..e4b1cde2ca7dc103d61cd3543f19a8b2087ba2cc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalLaplacian.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFourierJets + +namespace OAI + +/-! # The classical gradient and Laplacian of the actual Y realization -/ + +open MeasureTheory +open scoped RealInnerProductSpace Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem fderiv_homogeneousPhysical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (x v : E) : + fderiv ℝ (fun z : E => homogeneousPhysicalCLM a k ha ha1 hk u z) x v = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (Complex.I * (⟪ξ, v⟫ : ℂ)) * u ξ := by + simpa only [iteratedFDeriv_one_apply, Fin.prod_univ_one, pow_one] using + iteratedFDeriv_homogeneousPhysical a k ha ha1 hk u 1 (by norm_num) x (fun _ => v) + +private theorem integrable_physicalSquare (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) + (x : E) (j : Fin 12) : + Integrable (fun ξ : E => Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (-((⟪ξ, EuclideanSpace.basisFun (Fin 12) ℝ j⟫ : ℝ) : ℂ) ^ 2) * u ξ) := by + have hu := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u)).1 + have hm : AEStronglyMeasurable (fun ξ : E => + Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (-((⟪ξ, EuclideanSpace.basisFun (Fin 12) ℝ j⟫ : ℝ) : ℂ) ^ 2) * u ξ) volume := by + apply AEStronglyMeasurable.mul _ hu.aestronglyMeasurable + apply Continuous.aestronglyMeasurable + fun_prop + apply (integrable_homogeneousFourier_secondMoment a k ha ha1 hk u).mono' hm + filter_upwards [] with ξ + have hi : |⟪ξ, EuclideanSpace.basisFun (Fin 12) ℝ j⟫| ≤ ‖ξ‖ := by + simpa only [(EuclideanSpace.basisFun (Fin 12) ℝ).norm_eq_one, mul_one] using + abs_real_inner_le_norm ξ (EuclideanSpace.basisFun (Fin 12) ℝ j) + have hs : |⟪ξ, EuclideanSpace.basisFun (Fin 12) ℝ j⟫| ^ 2 ≤ ‖ξ‖ ^ 2 := + (sq_le_sq₀ (abs_nonneg _) (norm_nonneg _)).mpr hi + simp only [norm_mul, norm_neg, norm_pow, Complex.norm_real, Complex.norm_exp, + Complex.mul_re, Complex.ofReal_re, Complex.I_re, Complex.ofReal_im, Complex.I_im, + mul_zero, zero_mul, sub_self, Real.exp_zero, one_mul] + exact mul_le_mul_of_nonneg_right hs (norm_nonneg _) + +theorem laplacian_homogeneousPhysical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (u : HomogeneousY a k) (x : E) : + Δ (fun z : E => homogeneousPhysicalCLM a k ha ha1 hk u z) x = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (-(‖ξ‖ ^ 2 : ℝ) : ℂ) * u ξ := by + let e := EuclideanSpace.basisFun (Fin 12) ℝ + have hj (j : Fin 12) : + iteratedFDeriv ℝ 2 (fun z : E => homogeneousPhysicalCLM a k ha ha1 hk u z) + x ![e j, e j] = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * + ∫ ξ : E, Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (-((⟪ξ, e j⟫ : ℝ) : ℂ) ^ 2) * u ξ := by + simpa only [Fin.prod_univ_two, Matrix.cons_val_zero, Matrix.cons_val_one, + Complex.I_sq, neg_one_mul, Complex.ofReal_mul, ← pow_two, Complex.ofReal_pow] using + iteratedFDeriv_homogeneousPhysical a k ha ha1 hk u 2 (by norm_num) x ![e j, e j] + rw [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ e] + simp_rw [hj] + rw [← Finset.mul_sum] + congr 1 + rw [← integral_finsetSum _ (fun j _ => integrable_physicalSquare a k ha ha1 hk u x j)] + apply integral_congr_ae + filter_upwards [] with ξ + have hs : ∑ j : Fin 12, (⟪ξ, e j⟫ : ℝ) ^ 2 = ‖ξ‖ ^ 2 := by + simpa only [Real.norm_eq_abs, sq_abs] using e.sum_sq_norm_inner_left ξ + have hc : ∑ j : Fin 12, ((⟪ξ, e j⟫ : ℝ) : ℂ) ^ 2 = ((‖ξ‖ ^ 2 : ℝ) : ℂ) := by + exact_mod_cast hs + calc + _ = Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) * + (-(∑ j : Fin 12, ((⟪ξ, e j⟫ : ℝ) : ℂ) ^ 2)) * u ξ := by + rw [← Finset.sum_neg_distrib, Finset.mul_sum, Finset.sum_mul] + _ = _ := by rw [hc] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalLift.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalLift.lean new file mode 100644 index 0000000000000000000000000000000000000000..9676c5f2d05a17fe89675ba6f3253926dc649ca6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalLift.lean @@ -0,0 +1,32 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalWeakLimit + +namespace OAI + +/-! # A continuous physical limit lifts to a weakly continuous bounded Y path -/ + +open Set + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_homogeneous_weaklyContinuous_lift (a k M T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : C(Icc (0 : ℝ) T × E, ℂ)) + (hv : ∀ t : Icc (0 : ℝ) T, ∃ u : HomogeneousY a k, + ‖u‖ ≤ M ∧ ∀ y, homogeneousPhysicalCLM a k ha ha1 hk u y = v (t, y)) : + ∃ u : Icc (0 : ℝ) T → HomogeneousY a k, + (∀ t, ‖u t‖ ≤ M) ∧ + (∀ t y, homogeneousPhysicalCLM a k ha ha1 hk (u t) y = v (t, y)) ∧ + ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, Continuous (fun t => ℓ (u t)) := by + classical + choose u hu hp using hv + refine ⟨u, hu, hp, fun ℓ => ?_⟩ + apply continuous_functional_of_physical a k M ha ha1 hk u hu (ℓ := ℓ) + intro y + exact (v.continuous.comp (continuous_id.prodMk continuous_const)).congr + (fun t => (hp t y).symm) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalMap.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalMap.lean new file mode 100644 index 0000000000000000000000000000000000000000..274416c6c68bc3517f5dde25e2d68fe948999b28 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalMap.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCZero + +namespace OAI + +/-! # Bounded linear physical realization of the homogeneous space + +Almost-everywhere arithmetic of the Fourier representatives becomes exact +arithmetic of the inverse Fourier functions. +-/ + +open MeasureTheory +open scoped SchwartzMap ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem volume_absolutelyContinuous_homogeneousFourierMeasure (a k : ℝ) + (ha1 : a < 1) (hk : 8 < k) : volume ≪ homogeneousFourierMeasure a k := by + apply withDensity_absolutelyContinuous' + (continuous_homogeneousFourierWeight a k ha1 hk).measurable.ennreal_ofReal.aemeasurable + have hn : ∀ᵐ ξ : E ∂volume, ξ ≠ 0 := by + simp only [ae_iff, not_not, Set.ofPred_eq_eq_singleton] + exact measure_singleton _ + filter_upwards [hn] with ξ hξ + exact (ENNReal.ofReal_pos.mpr (homogeneousFourierWeight_pos a k ξ hξ)).ne' + +theorem inverseRadianFourier_congr_ae {f g : E → ℂ} (h : f =ᵐ[volume] g) : + inverseRadianFourier f = inverseRadianFourier g := by + funext y + simp only [inverseRadianFourier, radianFourierIntegral_eq_fourier, + Real.fourier_congr_ae h] + +theorem inverseRadianFourier_add {f g : E → ℂ} (hf : Integrable f) (hg : Integrable g) : + inverseRadianFourier (f + g) = inverseRadianFourier f + inverseRadianFourier g := by + funext y + simp only [inverseRadianFourier, radianFourierIntegral_add hf hg, Pi.add_apply, mul_add] + +theorem inverseRadianFourier_smul (c : ℂ) (f : E → ℂ) : + inverseRadianFourier (c • f) = c • inverseRadianFourier f := by + funext y + simp only [inverseRadianFourier, radianFourierIntegral_smul, Pi.smul_apply, smul_eq_mul] + ring + +noncomputable def homogeneousPhysicalLinearMap (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : HomogeneousY a k →ₗ[ℂ] C₀(E, ℂ) where + toFun := homogeneousPhysicalFunction a k ha ha1 hk + map_add' f g := by + apply DFunLike.ext + intro y + have hfg : ((f + g : HomogeneousY a k) : E → ℂ) =ᵐ[volume] + (fun ξ => f ξ + g ξ) := (Lp.coeFn_add f g).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + have he := inverseRadianFourier_congr_ae hfg + change inverseRadianFourier (f + g : HomogeneousY a k) = + inverseRadianFourier ((f : E → ℂ) + (g : E → ℂ)) at he + rw [inverseRadianFourier_add + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp f)).1 + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp g)).1] at he + exact congrFun he y + map_smul' c f := by + apply DFunLike.ext + intro y + have hcf : ((c • f : HomogeneousY a k) : E → ℂ) =ᵐ[volume] + (fun ξ => c • f ξ) := (Lp.coeFn_smul c f).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + have he := inverseRadianFourier_congr_ae hcf + change inverseRadianFourier (c • f : HomogeneousY a k) = + inverseRadianFourier (c • (f : E → ℂ)) at he + rw [inverseRadianFourier_smul] at he + exact congrFun he y + +noncomputable def homogeneousPhysicalCLM (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : HomogeneousY a k →L[ℂ] C₀(E, ℂ) := + (homogeneousPhysicalLinearMap a k ha ha1 hk).mkContinuous + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ * Real.sqrt (∫ ξ, (homogeneousFourierWeight a k ξ)⁻¹)) + (homogeneousPhysicalFunction_norm_le a k ha ha1 hk) + +@[simp] theorem homogeneousPhysicalCLM_apply (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) : + homogeneousPhysicalCLM a k ha ha1 hk f = homogeneousPhysicalFunction a k ha ha1 hk f := rfl + +/-- The physical map agrees with the original Schwartz function on the dense domain. -/ +theorem homogeneousPhysicalCLM_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousSchwartzEmbedding a k ha ha1 hk χ) y = + χ y := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + have he : (homogeneousSchwartzEmbedding a k ha ha1 hk χ : E → ℂ) =ᵐ[volume] + radianFourierKernel χ := by + rw [homogeneousSchwartzEmbedding_apply] + exact (SchwartzMap.coeFn_toLp _ _ _).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + change inverseRadianFourier (homogeneousSchwartzEmbedding a k ha ha1 hk χ) y = χ y + rw [inverseRadianFourier_congr_ae he, inverseRadianFourier_kernel] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalMeasurable.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalMeasurable.lean new file mode 100644 index 0000000000000000000000000000000000000000..7dc59cde67a448a29b7b91db19c1e604e830c3b3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalMeasurable.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalLift +import Mathlib.MeasureTheory.Constructions.Polish.Basic +import Mathlib.MeasureTheory.Function.StronglyMeasurable.Basic + +namespace OAI + +/-! # Physical point observations detect strong measurability in Y -/ + +open MeasureTheory TopologicalSpace +open scoped ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem stronglyMeasurable_of_homogeneousPhysical {X : Type*} [MeasurableSpace X] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : X → HomogeneousY a k) + (hu : ∀ y : E, Measurable (fun x => homogeneousPhysicalCLM a k ha ha1 hk (u x) y)) : + StronglyMeasurable u := by + let := homogeneousFourierMeasure_locallyFinite a k ha1 hk + let : Fact ((2 : ℝ≥0∞) ≠ ∞) := ⟨by norm_num⟩ + let : MeasureTheory.IsSeparable (homogeneousFourierMeasure a k) := inferInstance + let : SecondCountableTopology (HomogeneousY a k) := inferInstance + let : MeasurableSpace (HomogeneousY a k) := borel (HomogeneousY a k) + let : BorelSpace (HomogeneousY a k) := ⟨rfl⟩ + let J : HomogeneousY a k → ℕ → ℂ := fun f n => + homogeneousPhysicalCLM a k ha ha1 hk f (denseSeq E n) + have hJ : Continuous J := continuous_pi (fun n => + (homogeneousPointEvaluation a k ha ha1 hk (denseSeq E n)).continuous) + have hi : Function.Injective J := by + intro f g h + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + apply DFunLike.coe_injective + apply (denseRange_denseSeq E).equalizer + (homogeneousPhysicalCLM a k ha ha1 hk f).continuous + (homogeneousPhysicalCLM a k ha ha1 hk g).continuous + exact h + have hm : Measurable u := (hJ.measurableEmbedding hi).measurable_comp_iff.mp + (Measurable.of_eval (fun n => hu (denseSeq E n))) + exact hm.stronglyMeasurable + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalRealSpan.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalRealSpan.lean new file mode 100644 index 0000000000000000000000000000000000000000..1561811d0aa4b3c9d54854804b1ab4c94bb9e610 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalRealSpan.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalSpan + +namespace OAI + +/-! # Real and imaginary coordinates of the complex physical symmetry span -/ + +namespace DefocusingNLS + +section +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) +local notation "H" => HomogeneousY a k +local notation "ι" => homogeneousComplexEmbed a k ha ha1 hk +local notation "X" => homogeneousComplexReal a k ha ha1 hk +local notation "Y" => homogeneousComplexImag a k ha ha1 hk + +theorem homogeneousComplexReal_smul (c : ℂ) (z : H × H) : + X (c • z) = c.re • X z - c.im • Y z := by + have he : c • z = c.re • z + c.im • (Complex.I • z) := by + conv_lhs => rw [← c.re_add_im] + simp only [add_smul, mul_smul, Complex.coe_smul] + rfl + rw [he, map_add, map_smul, map_smul, homogeneousComplexReal_I, smul_neg, sub_eq_add_neg] + +theorem homogeneousComplexImag_smul (c : ℂ) (z : H × H) : + Y (c • z) = c.im • X z + c.re • Y z := by + have he : c • z = c.re • z + c.im • (Complex.I • z) := by + conv_lhs => rw [← c.re_add_im] + simp only [add_smul, mul_smul, Complex.coe_smul] + rfl + rw [he, map_add, map_smul, map_smul, homogeneousComplexImag_I, add_comm] + +theorem homogeneousComplexEmbed_coordinates (z : H × H) : + ι (X z) + Complex.I • ι (Y z) = z := by + apply Prod.ext + · exact homogeneousComplexCoordinates_first a k ha ha1 hk z + · exact homogeneousComplexCoordinates_second a k ha ha1 hk z + +theorem homogeneous_frame_real_coordinates + (F : ProfileSymmetryParameters →L[ℝ] H) (z : H × H) + (hz : z ∈ Submodule.span ℂ (Set.range (fun p => ι (F p)))) : + X z ∈ F.range ∧ Y z ∈ F.range := by + induction hz using Submodule.span_induction with + | mem z hz => + rcases hz with ⟨p, rfl⟩ + simp only [homogeneousComplexReal_embed, homogeneousComplexImag_embed] + exact ⟨⟨p, rfl⟩, F.range.zero_mem⟩ + | zero => simp only [map_zero]; exact ⟨F.range.zero_mem, F.range.zero_mem⟩ + | add x y _ _ hx hy => + simp only [map_add] + exact ⟨F.range.add_mem hx.1 hy.1, F.range.add_mem hx.2 hy.2⟩ + | smul c z _ hz => + rw [homogeneousComplexReal_smul, homogeneousComplexImag_smul] + exact ⟨F.range.sub_mem (F.range.smul_mem _ hz.1) (F.range.smul_mem _ hz.2), + F.range.add_mem (F.range.smul_mem _ hz.1) (F.range.smul_mem _ hz.2)⟩ + +end +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalSpan.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalSpan.lean new file mode 100644 index 0000000000000000000000000000000000000000..15385dd20569e53620aac9316ed672219646d7b0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalSpan.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousComplexIndependence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFrame + +namespace OAI + +/-! # Fourteen physical directions fill any containing contour of dimension at most fourteen -/ + +namespace DefocusingNLS + +theorem profileSymmetryParameters_finrank : Module.finrank ℝ ProfileSymmetryParameters = 14 := by + simp only [ProfileSymmetryParameters, Module.finrank_prod, Module.finrank_self, + finrank_euclideanSpace_fin] + +theorem homogeneous_physical_frame_spans (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (F : ProfileSymmetryParameters →L[ℝ] HomogeneousY a k) (hF : Function.Injective F) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + [FiniteDimensional ℂ P.range] + (hfix : ∀ p, P (homogeneousComplexEmbed a k ha ha1 hk (F p)) = + homogeneousComplexEmbed a k ha ha1 hk (F p)) + (hdim : Module.finrank ℂ P.range ≤ 14) : + Submodule.span ℂ (Set.range (fun p => homogeneousComplexEmbed a k ha ha1 hk (F p))) = P.range := by + classical + let ι := homogeneousComplexEmbed a k ha ha1 hk + let W := Submodule.span ℂ (Set.range (fun p => ι (F p))) + have hWP : W ≤ P.range := by + apply Submodule.span_le.mpr + rintro w ⟨p, rfl⟩ + exact ⟨ι (F p), hfix p⟩ + let : FiniteDimensional ℂ W := Submodule.finiteDimensional_of_le hWP + let b := Module.finBasis ℝ ProfileSymmetryParameters + have hli : LinearIndependent ℝ (fun j => F (b j)) := + b.linearIndependent.map' F.toLinearMap (LinearMap.ker_eq_bot.mpr hF) + have hcli := homogeneousComplexEmbed_linearIndependent a k ha ha1 hk _ hli + let v := fun j => (⟨ι (F (b j)), Submodule.subset_span ⟨b j, rfl⟩⟩ : W) + have hv : LinearIndependent ℂ v := by + apply LinearIndependent.of_comp W.subtype + exact hcli + have hlo : 14 ≤ Module.finrank ℂ W := by + simpa only [Fintype.card_fin, profileSymmetryParameters_finrank] using hv.fintype_card_le_finrank + have hhi := Submodule.finrank_mono hWP + change W = P.range + exact Submodule.eq_of_le_of_finrank_eq hWP (by omega) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalWeakLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalWeakLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..2540692cec8e336464ead0d719491a92b621f016 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPhysicalWeakLimit.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeakSubsequence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalInjective +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEvaluationContinuity +import Mathlib.Topology.Sequences + +namespace OAI + +/-! # Bounded physical convergence determines weak convergence in Y -/ + +open Set Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousY_weak_of_physical_limit (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : ℕ → HomogeneousY a k) (v : HomogeneousY a k) + (hu : ∀ n, ‖u n‖ ≤ M) + (hp : ∀ y : E, Tendsto (fun n => homogeneousPhysicalCLM a k ha ha1 hk (u n) y) + atTop (𝓝 (homogeneousPhysicalCLM a k ha ha1 hk v y))) + (ℓ : HomogeneousY a k →L[ℝ] ℂ) : + Tendsto (fun n => ℓ (u n)) atTop (𝓝 (ℓ v)) := by + apply (isCompact_closedBall (0 : ℂ) (‖ℓ‖ * M)).tendsto_nhds_of_unique_mapClusterPt + · filter_upwards [] with n + rw [Metric.mem_closedBall, dist_zero_right] + exact (ℓ.le_opNorm (u n)).trans (mul_le_mul_of_nonneg_left (hu n) (norm_nonneg ℓ)) + · intro z _ hz + obtain ⟨σ, hσ, hσz⟩ := hz.tendsto_subseq + obtain ⟨w, _, φ, hφ, hw⟩ := homogeneousY_weak_subsequence a k M ha1 hk + (u ∘ σ) (fun n => hu (σ n)) + have he : w = v := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + ext y + have h₁ := hw ((homogeneousPointEvaluation a k ha ha1 hk y).restrictScalars ℝ) + have h₂ := (hp y).comp (hσ.comp hφ).tendsto_atTop + exact tendsto_nhds_unique h₁ h₂ + have h₁ := hσz.comp hφ.tendsto_atTop + have h₂ := hw ℓ + rw [he] at h₂ + exact tendsto_nhds_unique h₁ h₂ + +theorem homogeneousY_exists_of_physical_limit (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : ℕ → HomogeneousY a k) (w : E → ℂ) + (hu : ∀ n, ‖u n‖ ≤ M) + (hp : ∀ y : E, Tendsto (fun n => homogeneousPhysicalCLM a k ha ha1 hk (u n) y) + atTop (𝓝 (w y))) : + ∃ v : HomogeneousY a k, ‖v‖ ≤ M ∧ + (∀ y, homogeneousPhysicalCLM a k ha ha1 hk v y = w y) ∧ + ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 (ℓ v)) := by + obtain ⟨v, hv, φ, hφ, hw⟩ := homogeneousY_weak_subsequence a k M ha1 hk u hu + have he (y : E) : homogeneousPhysicalCLM a k ha ha1 hk v y = w y := + tendsto_nhds_unique + (hw ((homogeneousPointEvaluation a k ha ha1 hk y).restrictScalars ℝ)) + ((hp y).comp hφ.tendsto_atTop) + refine ⟨v, hv, he, ?_⟩ + intro ℓ + apply homogeneousY_weak_of_physical_limit a k M ha ha1 hk u v hu (ℓ := ℓ) + intro y + rw [he y] + exact hp y + +theorem continuous_functional_of_physical {X : Type*} [TopologicalSpace X] + [SequentialSpace X] (a k M : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : X → HomogeneousY a k) (hu : ∀ x, ‖u x‖ ≤ M) + (hp : ∀ y : E, Continuous (fun x => homogeneousPhysicalCLM a k ha ha1 hk (u x) y)) + (ℓ : HomogeneousY a k →L[ℝ] ℂ) : Continuous (fun x => ℓ (u x)) := by + apply continuous_iff_seqContinuous.mpr + intro x v hv + apply homogeneousY_weak_of_physical_limit a k M ha ha1 hk (u ∘ x) (u v) + (fun n => hu (x n)) (ℓ := ℓ) + intro y + exact ((hp y).tendsto v).comp hv + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolarL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolarL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..4394684e571ea26be9ca5eaa1143be18b2d39157 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolarL2.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDerivative +import Mathlib.MeasureTheory.Constructions.HaarToSphere + +namespace OAI + +/-! # The exact twelve-dimensional polar L² realization + +The surface measure is the Haar-induced (unnormalized) sphere measure, and +its radial partner is r^11 dr. This transfers the already constructed +physical derivatives, without making an additional regularity assumption. +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +abbrev PhysicalUnitSphere := Metric.sphere (0 : EuclideanSpace ℝ (Fin 12)) 1 +abbrev PhysicalPositiveRadius := Ioi (0 : ℝ) + +noncomputable def physicalSphereMeasure : Measure PhysicalUnitSphere := + (volume : Measure (EuclideanSpace ℝ (Fin 12))).toSphere + +noncomputable def physicalRadiusMeasure : Measure PhysicalPositiveRadius := + Measure.volumeIoiPow 11 + +instance : IsFiniteMeasure physicalSphereMeasure := by + unfold physicalSphereMeasure + infer_instance + +instance : SigmaFinite physicalRadiusMeasure := by + unfold physicalRadiusMeasure + infer_instance + +noncomputable def physicalPolarMeasure : Measure (PhysicalUnitSphere × PhysicalPositiveRadius) := + physicalSphereMeasure.prod physicalRadiusMeasure + +noncomputable def physicalPolarPoint (p : PhysicalUnitSphere × PhysicalPositiveRadius) : + EuclideanSpace ℝ (Fin 12) := p.2.1 • p.1.1 + +/-- Polar coordinates preserve precisely the Cartesian volume measure. -/ +theorem measurePreserving_physicalPolarPoint : + MeasurePreserving physicalPolarPoint physicalPolarMeasure volume := by + dsimp only [physicalPolarPoint, physicalPolarMeasure, physicalSphereMeasure, physicalRadiusMeasure] + let E := EuclideanSpace ℝ (Fin 12) + have hp := MeasurePreserving.symm (homeomorphUnitSphereProd E).toMeasurableEquiv + (volume.measurePreserving_homeomorphUnitSphereProd (E := E)) + have hs := measurePreserving_subtype_coe + (μa := (volume : Measure E)) (measurableSet_singleton (0 : E)).compl + have h := hs.comp hp + have hdim : Module.finrank ℝ E = 12 := by simp [E] + change MeasurePreserving (fun p : Metric.sphere (0 : E) 1 × Ioi (0 : ℝ) => + p.2.1 • p.1.1) (volume.toSphere.prod (Measure.volumeIoiPow + (Module.finrank ℝ E - 1))) (volume.restrict {0}ᶜ) at h + rw [hdim] at h + simp only [Nat.reduceSub, restrict_compl_singleton] at h + exact h + +/-- The pullback is a genuine L² isometry, including for nonsmooth completed data. -/ +noncomputable def physicalPolarL2 : + Lp ℂ 2 (volume : Measure (EuclideanSpace ℝ (Fin 12))) →ₗᵢ[ℂ] + Lp ℂ 2 physicalPolarMeasure := + Lp.compMeasurePreservingₗᵢ ℂ physicalPolarPoint measurePreserving_physicalPolarPoint + +theorem physicalPolarL2_ae (f : Lp ℂ 2 (volume : Measure (EuclideanSpace ℝ (Fin 12)))) : + physicalPolarL2 f =ᵐ[physicalPolarMeasure] fun p => f (physicalPolarPoint p) := + Lp.coeFn_compMeasurePreserving f measurePreserving_physicalPolarPoint + +/-- Every Cartesian derivative from the homogeneous completion has an exact +sphere/radius L² representative with the same norm. -/ +noncomputable def homogeneousPolarDerivative (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) : + HomogeneousY a N →L[ℂ] Lp ℂ 2 physicalPolarMeasure := + physicalPolarL2.toContinuousLinearMap.comp + (homogeneousPhysicalDerivative a N ha ha1 hk j) + +theorem homogeneousPolarDerivative_norm_le (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (u : HomogeneousY a N) : + ‖homogeneousPolarDerivative a N ha ha1 hk j u‖ ≤ ‖u‖ := by + change ‖physicalPolarL2 (homogeneousPhysicalDerivative a N ha ha1 hk j u)‖ ≤ _ + rw [physicalPolarL2.norm_map] + exact homogeneousPhysicalDerivative_norm_le a N ha ha1 hk j u + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolarTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolarTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..fd8093f758cdd69ca76ed9db017dc7c623abdf4e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolarTesting.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialComplexTesting + +namespace OAI + +/-! # Integrable polar tests of the faithful physical realization + +The radial variable here is ordinary Lebesgue measure on the real line. +This lets a compactly supported radial test absorb the polar Jacobian before +integration by parts. The test is a bounded functional on physical C0. +-/ + +open MeasureTheory Set +open scoped ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def physicalLinePolarMeasure : Measure (PhysicalUnitSphere × ℝ) := + physicalSphereMeasure.prod volume + +private theorem physicalCZero_norm_le (f : C₀(E, ℂ)) (x : E) : ‖f x‖ ≤ ‖f‖ := + (BoundedContinuousFunction.norm_coe_le_norm f.toBCF x).trans_eq + ZeroAtInftyContinuousMap.norm_toBCF_eq_norm + +private theorem integrable_linePolarTest (K : PhysicalUnitSphere × ℝ → ℂ) + (hK : Integrable K physicalLinePolarMeasure) (f : C₀(E, ℂ)) : + Integrable (fun p : PhysicalUnitSphere × ℝ => K p * f (p.2 • p.1.1)) + physicalLinePolarMeasure := by + apply (hK.norm.mul_const ‖f‖).mono' + (hK.aestronglyMeasurable.mul + (f.continuous.comp (continuous_snd.smul continuous_fst.subtype_val)).aestronglyMeasurable) + filter_upwards [] with p + change ‖K p * f (p.2 • p.1.1)‖ ≤ ‖K p‖ * ‖f‖ + rw [norm_mul] + exact mul_le_mul_of_nonneg_left (physicalCZero_norm_le f _) (norm_nonneg _) + +/-- An L¹ polar test is continuous on the actual physical C0 realization. -/ +noncomputable def physicalPolarTest (K : PhysicalUnitSphere × ℝ → ℂ) + (hK : Integrable K physicalLinePolarMeasure) : C₀(E, ℂ) →L[ℂ] ℂ := by + let L : C₀(E, ℂ) →ₗ[ℂ] ℂ := + { toFun := fun f => ∫ p, K p * f (p.2 • p.1.1) ∂physicalLinePolarMeasure + map_add' := by + intro f g + simp only [ZeroAtInftyContinuousMap.add_apply, mul_add] + exact integral_add (integrable_linePolarTest K hK f) (integrable_linePolarTest K hK g) + map_smul' := by + intro c f + change (∫ p, K p * (c * f (p.2 • p.1.1)) ∂physicalLinePolarMeasure) = + c * ∫ p, K p * f (p.2 • p.1.1) ∂physicalLinePolarMeasure + rw [← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with p + ring } + refine L.mkContinuous (∫ p, ‖K p‖ ∂physicalLinePolarMeasure) ?_ + intro f + apply (norm_integral_le_integral_norm _).trans + calc + (∫ p, ‖K p * f (p.2 • p.1.1)‖ ∂physicalLinePolarMeasure) ≤ + ∫ p, ‖K p‖ * ‖f‖ ∂physicalLinePolarMeasure := by + apply integral_mono (integrable_linePolarTest K hK f).norm (hK.norm.mul_const ‖f‖) + intro p + change ‖K p * f (p.2 • p.1.1)‖ ≤ ‖K p‖ * ‖f‖ + rw [norm_mul] + exact mul_le_mul_of_nonneg_left (physicalCZero_norm_le f _) (norm_nonneg _) + _ = (∫ p, ‖K p‖ ∂physicalLinePolarMeasure) * ‖f‖ := integral_mul_const _ _ + +@[simp] theorem physicalPolarTest_apply (K : PhysicalUnitSphere × ℝ → ℂ) + (hK : Integrable K physicalLinePolarMeasure) (f : C₀(E, ℂ)) : + physicalPolarTest K hK f = + ∫ p, K p * f (p.2 • p.1.1) ∂physicalLinePolarMeasure := rfl + +/-- Product tests are integrable without regularity of the angular factor. -/ +theorem integrable_linePolarProduct (h : PhysicalUnitSphere → ℂ) (φ : ℝ → ℂ) + (hh : Integrable h physicalSphereMeasure) (hφ : Integrable φ) : + Integrable (fun p : PhysicalUnitSphere × ℝ => star (h p.1) * φ p.2) + physicalLinePolarMeasure := by + have hs : Integrable (fun ω => star (h ω)) physicalSphereMeasure := by + apply hh.norm.mono' hh.aestronglyMeasurable.star + filter_upwards [] with ω + change ‖star (h ω)‖ ≤ ‖h ω‖ + exact le_of_eq (norm_star _) + exact hs.mul_prod hφ + +/-- The product-test functional equals its iterated angular/radial formula. -/ +theorem physicalPolarTest_product (h : PhysicalUnitSphere → ℂ) (φ : ℝ → ℂ) + (hh : Integrable h physicalSphereMeasure) (hφ : Integrable φ) + (f : C₀(E, ℂ)) : + physicalPolarTest (fun p => star (h p.1) * φ p.2) + (integrable_linePolarProduct h φ hh hφ) f = + ∫ ω, star (h ω) * (∫ r, φ r * f (r • ω.1)) ∂physicalSphereMeasure := by + rw [physicalPolarTest_apply] + change (∫ p, star (h p.1) * φ p.2 * f (p.2 • p.1.1) + ∂physicalSphereMeasure.prod volume) = _ + trans ∫ ω, ∫ r, star (h ω) * φ r * f (r • ω.1) ∂volume ∂physicalSphereMeasure + · exact integral_prod _ (integrable_linePolarTest _ (integrable_linePolarProduct h φ hh hφ) f) + apply integral_congr_ae + filter_upwards [] with ω + simp only [mul_assoc, integral_const_mul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialCalculus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialCalculus.lean new file mode 100644 index 0000000000000000000000000000000000000000..a94efe346a8868bf503bcbd9ca4c98faa385e7c1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialCalculus.lean @@ -0,0 +1,140 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPolynomialLaplacian +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicTestCalculus + +namespace OAI + +/-! # Cartesian realization of the algebraic polynomial Laplacian + +This identifies the algebraic harmonic polynomials used in the sphere-density +argument with smooth Cartesian harmonic functions. +-/ + +open MvPolynomial +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def physicalPolynomialFunction : PhysicalRealPolynomial →ₐ[ℝ] (E → ℂ) := + MvPolynomial.aeval (fun i x => (x i : ℂ)) + +@[simp] theorem physicalPolynomialFunction_C (c : ℝ) (x : E) : + physicalPolynomialFunction (C c) x = (c : ℂ) := by + simp [physicalPolynomialFunction] + +@[simp] theorem physicalPolynomialFunction_X (i : Fin 12) (x : E) : + physicalPolynomialFunction (X i) x = (x i : ℂ) := by + simp [physicalPolynomialFunction] + +@[simp] theorem physicalPolynomialFunction_C_eq (c : ℝ) : + physicalPolynomialFunction (C c) = (fun _ : E => (c : ℂ)) := by + funext x + exact physicalPolynomialFunction_C c x + +@[simp] theorem physicalPolynomialFunction_X_eq (i : Fin 12) : + physicalPolynomialFunction (X i) = (fun x : E => (x i : ℂ)) := by + funext x + exact physicalPolynomialFunction_X i x + +theorem physicalPolynomialFunction_eval (p : PhysicalRealPolynomial) (x : E) : + physicalPolynomialFunction p x = (MvPolynomial.eval (fun i => x i) p : ℂ) := by + induction p using MvPolynomial.induction_on with + | C c => simp + | add p q hp hq => simp only [map_add, Pi.add_apply, hp, hq, Complex.ofReal_add] + | mul_X p i hp => + simp only [map_mul, Pi.mul_apply, physicalPolynomialFunction_X, MvPolynomial.eval_X, + Complex.ofReal_mul, hp] + +theorem physicalPolynomialFunction_contDiff (p : PhysicalRealPolynomial) : + ContDiff ℝ ∞ (physicalPolynomialFunction p) := by + induction p using MvPolynomial.induction_on with + | C c => simpa only [physicalPolynomialFunction_C_eq] using + (contDiff_const : ContDiff ℝ ∞ (fun _ : E => (c : ℂ))) + | add p q hp hq => + have he : physicalPolynomialFunction (p + q) = + (fun x => physicalPolynomialFunction p x + physicalPolynomialFunction q x) := by + funext x + simp only [map_add, Pi.add_apply] + rw [he] + exact hp.add hq + | mul_X p i hp => + have hi : ContDiff ℝ ∞ (fun x : E => (x i : ℂ)) := by + simpa only [Function.comp_def, PiLp.proj_apply, Complex.ofRealCLM_apply] using + Complex.ofRealCLM.contDiff.comp (EuclideanSpace.proj (𝕜 := ℝ) i).contDiff + have he : physicalPolynomialFunction (p * X i) = + (fun x => physicalPolynomialFunction p x * (x i : ℂ)) := by + funext x + simp only [map_mul, Pi.mul_apply, physicalPolynomialFunction_X] + rw [he] + exact hp.mul hi + +theorem physicalPolynomialFunction_fderiv_basis (p : PhysicalRealPolynomial) + (x : E) (i : Fin 12) : + fderiv ℝ (physicalPolynomialFunction p) x (EuclideanSpace.basisFun (Fin 12) ℝ i) = + physicalPolynomialFunction (pderiv i p) x := by + classical + induction p using MvPolynomial.induction_on with + | C c => + rw [physicalPolynomialFunction_C_eq, pderiv_C] + simp + | add p q hp hq => + rw [map_add, fderiv_add ((physicalPolynomialFunction_contDiff p).differentiable + (by simp) x) ((physicalPolynomialFunction_contDiff q).differentiable (by simp) x)] + simpa only [add_apply, map_add, Pi.add_apply] using congrArg₂ (· + ·) hp hq + | mul_X p j hp => + have hj : DifferentiableAt ℝ (physicalPolynomialFunction (X j)) x := + (physicalPolynomialFunction_contDiff (X j)).differentiable (by simp) x + have hx : fderiv ℝ (physicalPolynomialFunction (X j)) x = + Complex.ofRealCLM.comp (EuclideanSpace.proj j) := by + simpa only [physicalPolynomialFunction_X_eq, Function.comp_def, PiLp.proj_apply, + Complex.ofRealCLM_apply] using + (Complex.ofRealCLM.hasFDerivAt.comp x (EuclideanSpace.proj j).hasFDerivAt).fderiv + rw [map_mul, fderiv_mul ((physicalPolynomialFunction_contDiff p).differentiable + (by simp) x) hj] + simp only [add_apply, smul_apply, smul_eq_mul, + hx, ContinuousLinearMap.comp_apply, Complex.ofRealCLM_apply, PiLp.proj_apply, + EuclideanSpace.basisFun_apply, PiLp.single_apply, pderiv_mul, pderiv_X, + Pi.single_apply, map_add, map_mul, Pi.add_apply, Pi.mul_apply, + physicalPolynomialFunction_X] + split_ifs <;> simp_all <;> ring + +theorem physicalPolynomialFunction_laplacian (p : PhysicalRealPolynomial) (x : E) : + Δ (physicalPolynomialFunction p) x = + physicalPolynomialFunction (physicalPolynomialLaplacian p) x := by + rw [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ), physicalPolynomialLaplacian_apply, map_sum] + simp only [Finset.sum_apply] + apply Finset.sum_congr rfl + intro i _ + rw [radial_second_directional_eq _ x _ + ((physicalPolynomialFunction_contDiff p).of_le (by simp)).contDiffAt] + simp only [physicalPolynomialFunction_fderiv_basis] + +theorem physicalPolynomialFunction_euler (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) (x : E) : + fderiv ℝ (physicalPolynomialFunction p) x x = + (n : ℂ) * physicalPolynomialFunction p x := by + rw [← radial_basis_derivative_contraction] + simp_rw [EuclideanSpace.inner_basisFun_real, physicalPolynomialFunction_fderiv_basis] + have h := congrArg (fun q : PhysicalRealPolynomial => physicalPolynomialFunction q x) + hp.sum_X_mul_pderiv + simpa [nsmul_eq_mul] using h + +theorem physicalPolynomialFunction_smul (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) (t : ℝ) (x : E) : + physicalPolynomialFunction p (t • x) = + (t : ℂ) ^ n * physicalPolynomialFunction p x := by + rw [physicalPolynomialFunction_eval, physicalPolynomialFunction_eval, p.as_sum] + simp only [map_sum, Complex.ofReal_sum, Finset.mul_sum] + apply Finset.sum_congr rfl + intro d hd + rw [MvPolynomial.eval_monomial, MvPolynomial.eval_monomial] + simp only [PiLp.smul_apply, smul_eq_mul, mul_pow, Finsupp.prod, Finset.prod_mul_distrib, + Finset.prod_pow_eq_pow_sum, ← hp.degree_eq_sum_deg_support hd, + Complex.ofReal_mul, Complex.ofReal_pow] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialHarmonic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialHarmonic.lean new file mode 100644 index 0000000000000000000000000000000000000000..b64c4f1363881ba6cbd7c5fe59df5ce075233f0f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialHarmonic.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPolynomialCalculus +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialPowerCalculus +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSphereHarmonicSpan + +namespace OAI + +/-! # Degree-zero extensions of homogeneous harmonic polynomials + +The ambient Laplacian of the extension is the spherical eigenvalue +`-ell * (ell + 10) / r²`. This supplies actual angular tests rather than an +assumed complete family of spherical harmonics. +-/ + +open Set MvPolynomial +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def physicalHarmonicExtension (p : PhysicalRealPolynomial) (ell : ℕ) + (x : E) : ℂ := + physicalRadiusPower (-(ell : ℝ) / 2) x * physicalPolynomialFunction p x + +theorem physicalRadiusPower_neg_nat_half (ell : ℕ) (x : E) : + physicalRadiusPower (-(ell : ℝ) / 2) x = ((‖x‖ : ℂ) ^ ell)⁻¹ := by + have he : (2 : ℝ) * (-(ell : ℝ) / 2) = -(ell : ℝ) := by ring + unfold physicalRadiusPower + rw [← Real.rpow_natCast ‖x‖ 2, ← Real.rpow_mul (norm_nonneg x)] + norm_num only [Nat.cast_ofNat] + rw [he, Real.rpow_neg (norm_nonneg x), Real.rpow_natCast] + simp only [Complex.ofReal_inv, Complex.ofReal_pow] + +theorem physicalHarmonicExtension_eq_div (p : PhysicalRealPolynomial) (ell : ℕ) (x : E) : + physicalHarmonicExtension p ell x = + physicalPolynomialFunction p x / (‖x‖ : ℂ) ^ ell := by + rw [physicalHarmonicExtension, physicalRadiusPower_neg_nat_half] + ring + +theorem physicalHarmonicExtension_contDiffAt (p : PhysicalRealPolynomial) (ell : ℕ) + (x : E) (hx : x ≠ 0) : ContDiffAt ℝ ∞ (physicalHarmonicExtension p ell) x := + (physicalRadiusPower_contDiffAt _ x hx).mul + (physicalPolynomialFunction_contDiff p).contDiffAt + +theorem physicalHarmonicExtension_ray (p : PhysicalRealPolynomial) (ell : ℕ) + (hp : p.IsHomogeneous ell) (x : E) (t : ℝ) (ht : 0 < t) : + physicalHarmonicExtension p ell (t • x) = physicalHarmonicExtension p ell x := by + rw [physicalHarmonicExtension_eq_div, physicalHarmonicExtension_eq_div, + physicalPolynomialFunction_smul p ell hp, norm_smul, Real.norm_eq_abs, abs_of_pos ht, + Complex.ofReal_mul, mul_pow] + exact mul_div_mul_left _ _ (pow_ne_zero ell (Complex.ofReal_ne_zero.mpr ht.ne')) + +theorem physicalHarmonicExtension_sphere (p : PhysicalRealPolynomial) (ell : ℕ) + (z : PhysicalUnitSphere) : + physicalHarmonicExtension p ell z.1 = (physicalSpherePolynomial p z : ℂ) := by + have hz : ‖z.1‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + rw [physicalHarmonicExtension_eq_div, hz, Complex.ofReal_one, one_pow, div_one, + physicalPolynomialFunction_eval, physicalSpherePolynomial_apply] + +theorem physicalHarmonicExtension_laplacian (p : PhysicalRealPolynomial) (ell : ℕ) + (hp : p.IsHomogeneous ell) (hDp : physicalPolynomialLaplacian p = 0) + (x : E) (hx : x ≠ 0) : + Δ (physicalHarmonicExtension p ell) x = + -(((ell : ℂ) * (ell + 10)) / (‖x‖ ^ 2 : ℝ)) * physicalHarmonicExtension p ell x := by + let c : ℝ := -(ell : ℝ) / 2 + have hs : ((‖x‖ ^ 2 : ℝ) : ℂ) ≠ 0 := by + exact_mod_cast pow_ne_zero 2 (norm_ne_zero_iff.mpr hx) + have hP : ContDiffAt ℝ 2 (physicalPolynomialFunction p) x := + ((physicalPolynomialFunction_contDiff p).of_le (by simp)).contDiffAt + have hR : ContDiffAt ℝ 2 (physicalRadiusPower c) x := + (physicalRadiusPower_contDiffAt c x hx).of_le (by simp) + have hsum : (∑ i : Fin 12, + fderiv ℝ (physicalRadiusPower c) x (EuclideanSpace.basisFun (Fin 12) ℝ i) * + fderiv ℝ (physicalPolynomialFunction p) x (EuclideanSpace.basisFun (Fin 12) ℝ i)) = + (2 * (c : ℂ) / (‖x‖ ^ 2 : ℝ) * physicalRadiusPower c x) * + fderiv ℝ (physicalPolynomialFunction p) x x := by + rw [← radial_basis_derivative_contraction, Finset.mul_sum] + apply Finset.sum_congr rfl + intro i _ + rw [physicalRadiusPower_fderiv c x _ hx] + ring + change Δ (fun y => physicalRadiusPower c y * physicalPolynomialFunction p y) x = _ + rw [laplacian_complex_mul_at _ _ x hR hP, physicalPolynomialFunction_laplacian, hDp, + map_zero, Pi.zero_apply, mul_zero, zero_add, physicalRadiusPower_laplacian c x hx, + hsum, physicalPolynomialFunction_euler p ell hp] + dsimp only [physicalHarmonicExtension, c] + push_cast + field_simp [hs] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialLaplacian.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialLaplacian.lean new file mode 100644 index 0000000000000000000000000000000000000000..ab53df8fd1be6b25ef79b3893ceea411954dfb92 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialLaplacian.lean @@ -0,0 +1,159 @@ +import Mathlib.RingTheory.MvPolynomial.EulerIdentity +import Mathlib.Basic.Real.Basic +import Mathlib.Tactic.Ring + +namespace OAI + +/-! # The algebraic Laplacian on twelve-dimensional polynomials + +The radius-multiplication identity is the algebraic ingredient for reducing +sphere polynomial moments to homogeneous harmonic moments. +-/ + +open MvPolynomial + +namespace DefocusingNLS + +abbrev PhysicalRealPolynomial := MvPolynomial (Fin 12) ℝ + +noncomputable def physicalPolynomialLaplacian : + PhysicalRealPolynomial →ₗ[ℝ] PhysicalRealPolynomial := + ∑ i : Fin 12, (pderiv i).toLinearMap.comp (pderiv i).toLinearMap + +noncomputable def physicalRadiusPolynomial : PhysicalRealPolynomial := + ∑ i : Fin 12, (X i) ^ 2 + +theorem physicalPolynomialLaplacian_apply (p : PhysicalRealPolynomial) : + physicalPolynomialLaplacian p = ∑ i : Fin 12, pderiv i (pderiv i p) := by + simp [physicalPolynomialLaplacian] + +theorem pderiv_physicalRadiusPolynomial (i : Fin 12) : + pderiv i physicalRadiusPolynomial = 2 * X i := by + classical + simp [physicalRadiusPolynomial, map_sum, pderiv_X, Pi.single_apply] + +theorem physicalPolynomialLaplacian_radius : + physicalPolynomialLaplacian physicalRadiusPolynomial = 24 := by + have htwo (i : Fin 12) : pderiv i (2 : PhysicalRealPolynomial) = 0 := by + simpa only [map_ofNat] using (pderiv_C (i := i) (a := (2 : ℝ))) + rw [physicalPolynomialLaplacian_apply] + simp [pderiv_physicalRadiusPolynomial, htwo] + norm_num + +theorem physicalRadiusPolynomial_homogeneous : physicalRadiusPolynomial.IsHomogeneous 2 := by + apply MvPolynomial.IsHomogeneous.sum + intro i _ + exact MvPolynomial.isHomogeneous_X_pow i 2 + +theorem physicalPolynomialLaplacian_mul (p q : PhysicalRealPolynomial) : + physicalPolynomialLaplacian (p * q) = + physicalPolynomialLaplacian p * q + p * physicalPolynomialLaplacian q + + 2 * ∑ i : Fin 12, pderiv i p * pderiv i q := by + simp only [physicalPolynomialLaplacian_apply] + rw [Finset.sum_mul, Finset.mul_sum, Finset.mul_sum, ← Finset.sum_add_distrib, + ← Finset.sum_add_distrib] + apply Finset.sum_congr rfl + intro i _ + simp only [pderiv_mul, map_add] + ring + +theorem physicalPolynomialLaplacian_radius_mul (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) : + physicalPolynomialLaplacian (physicalRadiusPolynomial * p) = + physicalRadiusPolynomial * physicalPolynomialLaplacian p + (4 * n + 24) • p := by + rw [physicalPolynomialLaplacian_mul, physicalPolynomialLaplacian_radius] + have hcross : (∑ i : Fin 12, pderiv i physicalRadiusPolynomial * pderiv i p) = + 2 * (n • p) := by + simp only [pderiv_physicalRadiusPolynomial, mul_assoc, ← Finset.mul_sum, + hp.sum_X_mul_pderiv] + rw [hcross] + simp only [nsmul_eq_mul, Nat.cast_add, Nat.cast_mul, Nat.cast_ofNat] + ring + +theorem physicalPolynomialLaplacian_homogeneous (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) : + (physicalPolynomialLaplacian p).IsHomogeneous (n - 2) := by + rw [physicalPolynomialLaplacian_apply] + apply MvPolynomial.IsHomogeneous.sum + intro i _ + simpa only [Nat.sub_sub] using hp.pderiv.pderiv (i := i) + +theorem physicalPolynomialLaplacian_radius_pow_mul (p : PhysicalRealPolynomial) + (n j : ℕ) (hp : p.IsHomogeneous n) : + physicalPolynomialLaplacian (physicalRadiusPolynomial ^ (j + 1) * p) = + physicalRadiusPolynomial ^ (j + 1) * physicalPolynomialLaplacian p + + (4 * (j + 1) * (n + j + 6)) • (physicalRadiusPolynomial ^ j * p) := by + induction j with + | zero => + simpa only [zero_add, add_zero, pow_one, pow_zero, one_mul, + show 4 * 1 * (n + 0 + 6) = 4 * n + 24 by omega] using + physicalPolynomialLaplacian_radius_mul p n hp + | succ j ih => + have hp' : (physicalRadiusPolynomial ^ (j + 1) * p).IsHomogeneous + (2 * (j + 1) + n) := + (physicalRadiusPolynomial_homogeneous.pow (j + 1)).mul hp + calc + _ = physicalPolynomialLaplacian + (physicalRadiusPolynomial * (physicalRadiusPolynomial ^ (j + 1) * p)) := by + rw [pow_succ'] + congr 1 + ring + _ = physicalRadiusPolynomial * + physicalPolynomialLaplacian (physicalRadiusPolynomial ^ (j + 1) * p) + + (4 * (2 * (j + 1) + n) + 24) • (physicalRadiusPolynomial ^ (j + 1) * p) := + physicalPolynomialLaplacian_radius_mul _ _ hp' + _ = _ := by + rw [ih] + simp only [nsmul_eq_mul, Nat.cast_mul, Nat.cast_add, Nat.cast_one, Nat.cast_ofNat] + rw [pow_succ' physicalRadiusPolynomial j, pow_succ' physicalRadiusPolynomial (j + 1)] + ring + +theorem physicalPolynomialLaplacian_constant (p : PhysicalRealPolynomial) + (hp : p.IsHomogeneous 0) : physicalPolynomialLaplacian p = 0 := by + have he : p = C (p.coeff 0) := + (MvPolynomial.totalDegree_eq_zero_iff_eq_C).mp + ((MvPolynomial.totalDegree_zero_iff_isHomogeneous (Fin 12)).mpr hp) + rw [he, physicalPolynomialLaplacian_apply] + simp + +theorem physicalPolynomialLaplacian_low_degree (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) (hn : n ≤ 1) : + physicalPolynomialLaplacian p = 0 := by + rw [physicalPolynomialLaplacian_apply] + apply Finset.sum_eq_zero + intro i _ + have hd : (pderiv i p).IsHomogeneous 0 := by + simpa only [Nat.sub_eq_zero_of_le hn] using hp.pderiv (i := i) + have he : pderiv i p = C ((pderiv i p).coeff 0) := + (MvPolynomial.totalDegree_eq_zero_iff_eq_C).mp + ((MvPolynomial.totalDegree_zero_iff_isHomogeneous (Fin 12)).mpr hd) + rw [he, pderiv_C] + +theorem physicalPolynomialLaplacian_iterate_homogeneous + (p : PhysicalRealPolynomial) (n j : ℕ) (hp : p.IsHomogeneous n) : + ((physicalPolynomialLaplacian^[j]) p).IsHomogeneous (n - 2 * j) := by + induction j with + | zero => simpa only [Function.iterate_zero_apply, Nat.mul_zero, Nat.sub_zero] using hp + | succ j ih => + rw [Function.iterate_succ_apply'] + have h := physicalPolynomialLaplacian_homogeneous _ _ ih + convert h using 1 + +theorem physicalPolynomialLaplacian_iterate_zero + (p : PhysicalRealPolynomial) (n j : ℕ) (hp : p.IsHomogeneous n) (hj : n < 2 * j) : + (physicalPolynomialLaplacian^[j]) p = 0 := by + induction n using Nat.strong_induction_on generalizing p j with + | h n ih => + cases j with + | zero => omega + | succ j => + rw [Function.iterate_succ_apply] + by_cases hn : n ≤ 1 + · rw [physicalPolynomialLaplacian_low_degree p n hp hn] + exact Function.iterate_fixed (map_zero physicalPolynomialLaplacian) j + · exact ih (n - 2) (by omega) (physicalPolynomialLaplacian p) j + (physicalPolynomialLaplacian_homogeneous p n hp) (by omega) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialMoment.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialMoment.lean new file mode 100644 index 0000000000000000000000000000000000000000..1f06270c77ebc02cdbaab579dcc68f0058816d65 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPolynomialMoment.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicFunctional +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalLowDegreeMoments + +namespace OAI + +/-! # Polynomial linearity of a fixed-radius homogeneous observation -/ + +open MeasureTheory + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousPairSphereFunction (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (first : Bool) (r : ℝ) (u : HomogeneousY a k × HomogeneousY a k) : + C(PhysicalUnitSphere, ℂ) := + ⟨fun z => homogeneousPhysicalCLM a k ha ha1 hk (if first then u.1 else u.2) (r • z.1), + (homogeneousPhysicalCLM a k ha ha1 hk (if first then u.1 else u.2)).continuous.comp + (by fun_prop)⟩ + +theorem homogeneousPairHarmonicMoment_eq_sphere (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (p : PhysicalRealPolynomial) (ell : ℕ) (first : Bool) (r : ℝ) + (u : HomogeneousY a k × HomogeneousY a k) : + homogeneousPairHarmonicMoment a k ha ha1 hk (physicalHarmonicExtension p ell) + (continuous_harmonicSphere _ (physicalHarmonicExtension_contDiffAt p ell)) first r u = + physicalSphereMoment (homogeneousPairSphereFunction a k ha ha1 hk first r u) + (physicalSpherePolynomial p) := by + cases first <;> + change (∫ z : PhysicalUnitSphere, physicalHarmonicExtension p ell z.1 * _ ∂physicalSphereMeasure) = _ <;> + simp only [physicalHarmonicExtension_sphere] <;> rfl + +theorem homogeneousPairPolynomialMoment_complete (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ell : ℕ) + {J : Type*} (p : J → PhysicalRealPolynomial) + (hspan : ∀ L : PhysicalRealPolynomial →ₗ[ℝ] ℂ, (∀ j, L (p j) = 0) → + ∀ q : PhysicalRealPolynomial, q.IsHomogeneous ell → L q = 0) + (first : Bool) (r : ℝ) (u : HomogeneousY a k × HomogeneousY a k) + (hu : ∀ j, homogeneousPairHarmonicMoment a k ha ha1 hk (physicalHarmonicExtension (p j) ell) + (continuous_harmonicSphere _ (physicalHarmonicExtension_contDiffAt (p j) ell)) first r u = 0) : + ∀ q : PhysicalRealPolynomial, q.IsHomogeneous ell → + homogeneousPairHarmonicMoment a k ha ha1 hk (physicalHarmonicExtension q ell) + (continuous_harmonicSphere _ (physicalHarmonicExtension_contDiffAt q ell)) first r u = 0 := by + let L := (physicalSphereMoment (homogeneousPairSphereFunction a k ha ha1 hk first r u)).comp + physicalSpherePolynomial.toLinearMap + have hp (j : J) : L (p j) = 0 := by + have hj := hu j + rw [homogeneousPairHarmonicMoment_eq_sphere] at hj + exact hj + intro q hq + rw [homogeneousPairHarmonicMoment_eq_sphere] + exact hspan L hp q hq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPotentialEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPotentialEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..f301a1a4506641d8c8ec91cbca6c682d2cc7568b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPotentialEnergy.lean @@ -0,0 +1,137 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPrincipalCommutator +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDerivativeEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeEnergy + +namespace OAI + +/-! # The actual potential pairing in the homogeneous energy + +Only the principal L² norm appears in the high-order coefficient. All +remaining terms are exactly the compact error previously constructed. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousLinearized_energy_pairing_bound (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (q u : HomogeneousY a ((N + 1 : ℕ) : ℝ)) + (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m + 1)) ≤ M) : + inner ℝ u (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u) ≤ + ((2 * ((m + 1 : ℕ) : ℝ) + 1) * M) * + ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ ^ 2 + + ‖u‖ * (‖homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u)‖ + + Real.sqrt (∑ j : Fin (N + 1) → Fin 12, + ‖homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u‖ ^ 2)) := by + let V := homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q + let D := homogeneousPhysicalDerivative a (N + 1) ha ha1 hk + let K := fun j => homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u + let P := homogeneousPrincipalPotential (m + 1) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q).continuous M hM hQB + let B := (2 * ((m + 1 : ℕ) : ℝ) + 1) * M + have hD (j : Fin (N + 1) → Fin 12) : D j (V u) = P (D j u) + K j := by + have h := homogeneousLinearized_derivative_commutator a N ha ha1 hk j m q u M hM hQB + change D j (V u) - P (D j u) = K j at h + exact sub_eq_iff_eq_add.mp h |>.trans (add_comm _ _) + have hhigh : inner ℝ (homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u) + (homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk (V u)) ≤ + B * ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ ^ 2 + + ‖u‖ * Real.sqrt (∑ j : Fin (N + 1) → Fin 12, ‖K j‖ ^ 2) := by + rw [← homogeneousPhysicalDerivative_inner a (N + 1) ha ha1 hk] + have hterm (j : Fin (N + 1) → Fin 12) : + inner ℝ (D j u) (D j (V u)) ≤ B * ‖D j u‖ ^ 2 + ‖D j u‖ * ‖K j‖ := by + rw [hD, inner_add_right] + exact add_le_add (homogeneousPrincipalPotential_energy_le (m + 1) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q).continuous M hM hQB (D j u)) + (real_inner_le_norm _ _) + calc + _ ≤ ∑ j : Fin (N + 1) → Fin 12, (B * ‖D j u‖ ^ 2 + ‖D j u‖ * ‖K j‖) := + Finset.sum_le_sum (fun j _ => hterm j) + _ = B * ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ ^ 2 + + ∑ j : Fin (N + 1) → Fin 12, ‖D j u‖ * ‖K j‖ := by + rw [Finset.sum_add_distrib, ← Finset.mul_sum] + congr 2 + exact homogeneousPhysicalDerivative_energy a (N + 1) ha ha1 hk u + _ ≤ B * ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ ^ 2 + + Real.sqrt (∑ j : Fin (N + 1) → Fin 12, ‖D j u‖ ^ 2) * + Real.sqrt (∑ j : Fin (N + 1) → Fin 12, ‖K j‖ ^ 2) := + add_le_add le_rfl (Real.sum_mul_le_sqrt_mul_sqrt Finset.univ + (fun j => ‖D j u‖) (fun j => ‖K j‖)) + _ ≤ _ := by + rw [homogeneousPhysicalDerivative_energy a (N + 1) ha ha1 hk, + Real.sqrt_sq (norm_nonneg _)] + exact add_le_add le_rfl (mul_le_mul_of_nonneg_right + (homogeneousHighEnergy_norm_le a ((N + 1 : ℕ) : ℝ) ha1 hk u) + (Real.sqrt_nonneg _)) + rw [homogeneousEnergy_inner a ((N + 1 : ℕ) : ℝ) ha1 hk] + have hlow : inner ℝ (homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u) + (homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk (V u)) ≤ + ‖u‖ * ‖homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk (V u)‖ := + (real_inner_le_norm _ _).trans (mul_le_mul_of_nonneg_right + (homogeneousLowEnergy_norm_le a ((N + 1 : ℕ) : ℝ) ha1 hk u) (norm_nonneg _)) + change _ ≤ B * _ + ‖u‖ * (_ + Real.sqrt (∑ j, ‖K j‖ ^ 2)) + nlinarith + +theorem homogeneousLinearized_energy_observation (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m + 1)) ≤ M) + (hgap : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - + 2 * ((2 * ((m + 1 : ℕ) : ℝ) + 1) * M)) : + ∃ c : ℝ, 0 < c ∧ ∃ R : ℝ, 0 < R ∧ ∃ C : ℝ, 0 ≤ C ∧ + ∀ u : HomogeneousY a ((N + 1 : ℕ) : ℝ), + -a * ‖homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ ^ 2 + + (6 - 2 * a - ((N + 1 : ℕ) : ℝ)) * + ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ ^ 2 + + 2 * inner ℝ u + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u) ≤ + -c * ‖u‖ ^ 2 + C * + ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk u‖ ^ 2 := by + let B := (2 * ((m + 1 : ℕ) : ℝ) + 1) * M + let g := ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - 2 * B + let γ := min a g + have hγ : 0 < γ := lt_min ha hgap + let ε := γ / 8 + have hε : 0 < ε := div_pos hγ (by norm_num) + obtain ⟨R, hR, C, hC, herror⟩ := homogeneousLinearized_compact_errors a ε N ha ha1 hk m q hε + refine ⟨γ / 2, half_pos hγ, R, hR, 4 * C ^ 2 / γ, by positivity, fun u => ?_⟩ + let x := ‖u‖ + let y := ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk u‖ + let L := ‖homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ + let H := ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk u‖ + have hnorm : x ^ 2 = L ^ 2 + H ^ 2 := homogeneousEnergy_norm_sq a ((N + 1 : ℕ) : ℝ) ha1 hk u + have hbase : -a * L ^ 2 - g * H ^ 2 ≤ -γ * x ^ 2 := by + have h₁ := mul_nonneg (sub_nonneg.mpr (min_le_left a g)) (sq_nonneg L) + have h₂ := mul_nonneg (sub_nonneg.mpr (min_le_right a g)) (sq_nonneg H) + change 0 ≤ (a - γ) * L ^ 2 at h₁ + change 0 ≤ (g - γ) * H ^ 2 at h₂ + nlinarith + have hpair : inner ℝ u + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u) ≤ + B * H ^ 2 + x * (ε * x + C * y) := by + exact (homogeneousLinearized_energy_pairing_bound a N ha ha1 hk m q u M hM hQB).trans + (add_le_add le_rfl (mul_le_mul_of_nonneg_left (herror u) (norm_nonneg u))) + have hcross : 2 * C * x * y ≤ γ / 4 * x ^ 2 + (4 * C ^ 2 / γ) * y ^ 2 := by + apply (mul_le_mul_iff_right₀ hγ).mp + have hdiv : (4 * C ^ 2 / γ) * y ^ 2 * γ = 4 * C ^ 2 * y ^ 2 := by + rw [mul_right_comm, div_mul_cancel₀ _ hγ.ne'] + nlinarith [sq_nonneg (γ * x - 4 * C * y)] + change -a * L ^ 2 + (6 - 2 * a - ((N + 1 : ℕ) : ℝ)) * H ^ 2 + + 2 * inner ℝ u (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u) ≤ + -(γ / 2) * x ^ 2 + (4 * C ^ 2 / γ) * y ^ 2 + dsimp only [g] at hbase + dsimp only [ε] at hpair + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPotentialPicard.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPotentialPicard.lean new file mode 100644 index 0000000000000000000000000000000000000000..078a08475846ad1627e74f9ee7b6d208fbb20c49 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPotentialPicard.lean @@ -0,0 +1,148 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeightedDuhamel +import Mathlib.Topology.Order.ProjIcc +import Mathlib.Topology.MetricSpace.Contracting +import Mathlib.Topology.ContinuousMap.Compact + +namespace OAI + +/-! # Whole-space mild evolution for a bounded real-linear potential + +The construction acts on the faithful homogeneous Fourier completion and +takes a bounded real operator as input. Identifying the manuscript profile +potential with such an operator is a separate spatial estimate. +-/ + +open Set MeasureTheory + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +variable {a k : ℝ} + +noncomputable def homogeneousPotentialHistory (T : ℝ) (hT : 0 ≤ T) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) : ℝ → HomogeneousY a k := + fun t => B (u (projIcc 0 T hT t)) + +theorem continuous_homogeneousPotentialHistory (T : ℝ) (hT : 0 ≤ T) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) : + Continuous (homogeneousPotentialHistory T hT B u) := + B.continuous.comp (u.continuous.comp continuous_projIcc) + +noncomputable def homogeneousTimeWeight (T η : ℝ) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) : C(Icc (0 : ℝ) T, HomogeneousY a k) where + toFun t := Real.exp (η * t) • u t + continuous_toFun := + (Real.continuous_exp.comp (continuous_const.mul continuous_subtype_val)).smul u.continuous + +@[simp] theorem homogeneousTimeWeight_cancel (T η : ℝ) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) : + homogeneousTimeWeight T η (homogeneousTimeWeight T (-η) u) = u := by + apply ContinuousMap.ext + intro t + change Real.exp (η * t) • (Real.exp (-η * t) • u t) = u t + rw [smul_smul, ← Real.exp_add, show η * (t : ℝ) + -η * t = 0 by ring, + Real.exp_zero, one_smul] + +noncomputable def homogeneousPotentialPicard (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) (u₀ : HomogeneousY a k) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) : C(Icc (0 : ℝ) T, HomogeneousY a k) where + toFun t := homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t (homogeneousPotentialHistory T hT B u) + continuous_toFun := + ((continuous_homogeneousFreeOperator a b k ha ha1 hk u₀).comp continuous_subtype_val).add + ((continuous_homogeneousDuhamel a b k ha ha1 hk _ + (continuous_homogeneousPotentialHistory T hT B u)).comp continuous_subtype_val) + +noncomputable def homogeneousPotentialBielecki (a b k T η : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) (u₀ : HomogeneousY a k) + (u : C(Icc (0 : ℝ) T, HomogeneousY a k)) : C(Icc (0 : ℝ) T, HomogeneousY a k) := + homogeneousTimeWeight T (-η) + (homogeneousPotentialPicard a b k T ha ha1 hk hT B u₀ (homogeneousTimeWeight T η u)) + +/-- The contraction constant is independent of the finite slab length. -/ +theorem homogeneousPotentialBielecki_dist_le (a b k T η : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) (hη : 0 < η) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) (u₀ : HomogeneousY a k) + (u v : C(Icc (0 : ℝ) T, HomogeneousY a k)) : + dist (homogeneousPotentialBielecki a b k T η ha ha1 hk hT B u₀ u) + (homogeneousPotentialBielecki a b k T η ha ha1 hk hT B u₀ v) ≤ ‖B‖ / η * dist u v := by + apply (ContinuousMap.dist_le (mul_nonneg (div_nonneg (norm_nonneg _) hη.le) dist_nonneg)).2 + intro t + let ru := homogeneousPotentialHistory T hT B (homogeneousTimeWeight T η u) + let rv := homogeneousPotentialHistory T hT B (homogeneousTimeWeight T η v) + have hru : Continuous ru := continuous_homogeneousPotentialHistory T hT B _ + have hrv : Continuous rv := continuous_homogeneousPotentialHistory T hT B _ + have hbound : ∀ τ ∈ Icc (0 : ℝ) t, ‖ru τ - rv τ‖ ≤ (‖B‖ * dist u v) * Real.exp (η * τ) := by + intro τ hτ + let τ' : Icc (0 : ℝ) T := ⟨τ, hτ.1, hτ.2.trans t.2.2⟩ + have hτT : τ ∈ Icc 0 T := τ'.2 + change ‖B (homogeneousTimeWeight T η u (projIcc 0 T hT τ)) - + B (homogeneousTimeWeight T η v (projIcc 0 T hT τ))‖ ≤ _ + rw [← map_sub, projIcc_of_mem _ hτT] + apply (B.le_opNorm _).trans + change ‖B‖ * ‖Real.exp (η * τ) • u τ' - Real.exp (η * τ) • v τ'‖ ≤ _ + rw [← smul_sub, norm_smul, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _)] + have hdist : ‖u τ' - v τ'‖ ≤ dist u v := by + simpa only [dist_eq_norm] using (ContinuousMap.dist_apply_le_dist (f := u) (g := v) τ') + exact (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hdist + (Real.exp_pos _).le) (norm_nonneg B)).trans_eq (by ring) + have hb := homogeneousDuhamel_weighted_norm_le a b k η t (‖B‖ * dist u v) + ha ha1 hk hη t.2.1 (mul_nonneg (norm_nonneg _) dist_nonneg) (fun τ => ru τ - rv τ) hbound + change dist + (Real.exp (-η * t) • (homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t ru)) + (Real.exp (-η * t) • (homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t rv)) ≤ _ + rw [dist_eq_norm, ← smul_sub, add_sub_add_left_eq_sub, norm_smul, Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _), ← homogeneousDuhamel_sub a b k ha ha1 hk t t.2.1 + ru rv hru.continuousOn hrv.continuousOn] + exact hb.trans_eq (by ring) + +/-- A bounded real-linear perturbation has one mild trajectory on every finite forward slab. -/ +theorem existsUnique_homogeneousPotential_finiteSlab (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (B : HomogeneousY a k →L[ℝ] HomogeneousY a k) (u₀ : HomogeneousY a k) : + ∃! u : C(Icc (0 : ℝ) T, HomogeneousY a k), ∀ t : Icc (0 : ℝ) T, + u t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t (homogeneousPotentialHistory T hT B u) := by + let η := ‖B‖ + 1 + have hη : 0 < η := by dsimp [η]; positivity + have hKl : 0 ≤ ‖B‖ / η := div_nonneg (norm_nonneg _) hη.le + have hKl' : ‖B‖ / η < 1 := (div_lt_one hη).2 (by dsimp [η]; linarith) + let P := homogeneousPotentialBielecki a b k T η ha ha1 hk hT B u₀ + have hP : ContractingWith ⟨‖B‖ / η, hKl⟩ P := + ⟨hKl', LipschitzWith.of_dist_le_mul + (homogeneousPotentialBielecki_dist_le a b k T η ha ha1 hk hT hη B u₀)⟩ + let v := hP.fixedPoint P + have hv : P v = v := hP.fixedPoint_isFixedPt + let u := homogeneousTimeWeight T η v + refine ⟨u, ?_, ?_⟩ + · intro t + have he := congrArg (fun f : C(Icc (0 : ℝ) T, HomogeneousY a k) => + homogeneousTimeWeight T η f t) hv + change u t = homogeneousPotentialPicard a b k T ha ha1 hk hT B u₀ u t + simpa only [P, homogeneousPotentialBielecki, homogeneousTimeWeight_cancel, u] using he.symm + · intro w hw + let z := homogeneousTimeWeight T (-η) w + have hz : Function.IsFixedPt P z := by + apply ContinuousMap.ext + intro t + change Real.exp (-η * t) • + (homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t + (homogeneousPotentialHistory T hT B (homogeneousTimeWeight T η z))) = z t + rw [show homogeneousTimeWeight T η z = w from homogeneousTimeWeight_cancel T η w] + rw [← hw t] + rfl + have he : z = v := hP.fixedPoint_unique hz + have h := congrArg (homogeneousTimeWeight T η) he + simpa only [z, homogeneousTimeWeight_cancel, u] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPrincipalCommutator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPrincipalCommutator.lean new file mode 100644 index 0000000000000000000000000000000000000000..f53a85fb95fccc67a579185fe171c86118b67432 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPrincipalCommutator.lean @@ -0,0 +1,95 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCompactErrors +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPrincipalPotential + +namespace OAI + +/-! # The compact-error estimate with the actual physical principal potential + +The principal action on each ordered derivative is exactly the same +pointwise odd-power derivative as in the Schrödinger linearization. +-/ + +open MeasureTheory +open scoped ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure E) + +theorem homogeneousPrincipalPotential_decomposition (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a k ha ha1 hk q x‖ ^ (2 * (m + 1)) ≤ M) + (f : H) : + homogeneousPrincipalPotential (m + 1) (homogeneousPhysicalCLM a k ha ha1 hk q) + (homogeneousPhysicalCLM a k ha ha1 hk q).continuous M hM hQB f = + homogeneousPhysicalL2Product a k ha ha1 hk + (homogeneousLinearizedFirstCoefficient a k ha ha1 hk m q) f + + homogeneousPhysicalL2Product a k ha ha1 hk + (homogeneousLinearizedSecondCoefficient a k ha ha1 hk m q) (star f) := by + let A := homogeneousLinearizedFirstCoefficient a k ha ha1 hk m q + let B := homogeneousLinearizedSecondCoefficient a k ha ha1 hk m q + apply Lp.ext + filter_upwards [homogeneousPrincipalAction_ae (m + 1) + (homogeneousPhysicalCLM a k ha ha1 hk q) + (homogeneousPhysicalCLM a k ha ha1 hk q).continuous M hM hQB f, + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk A f, + homogeneousPhysicalL2ProductValue_ae a k ha ha1 hk B (star f), + Lp.coeFn_star f, + Lp.coeFn_add (homogeneousPhysicalL2Product a k ha ha1 hk A f) + (homogeneousPhysicalL2Product a k ha ha1 hk B (star f))] with x hp hA hB hs hadd + change homogeneousPrincipalAction (m + 1) (homogeneousPhysicalCLM a k ha ha1 hk q) + (homogeneousPhysicalCLM a k ha ha1 hk q).continuous M hM hQB f x = _ + rw [hp, hadd, Pi.add_apply] + change _ = homogeneousPhysicalL2ProductValue a k ha ha1 hk A f x + + homogeneousPhysicalL2ProductValue a k ha ha1 hk B (star f) x + rw [hA, hB, hs, Pi.star_apply] + simp only [A, B, homogeneousLinearizedFirstCoefficient, homogeneousLinearizedSecondCoefficient, + map_smul, ZeroAtInftyContinuousMap.smul_apply, homogeneousYProduct_physical, + homogeneousOddPower_physical, homogeneousConjugation_physical, smul_eq_mul, + oddPowerDerivative, oddPowerNonlinearity, add_apply, smul_apply, + ContinuousLinearEquiv.coe_coe, ContinuousLinearMap.id_apply, starL'_apply, starRingEnd_apply, Nat.add_sub_cancel, + Nat.cast_add, Nat.cast_one, pow_succ] + ring + +theorem homogeneousLinearized_derivative_commutator (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (m : ℕ) (q u : HomogeneousY a ((N + 1 : ℕ) : ℝ)) + (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m + 1)) ≤ M) : + homogeneousPhysicalDerivative a (N + 1) ha ha1 hk j + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u) - + homogeneousPrincipalPotential (m + 1) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q).continuous M hM hQB + (homogeneousPhysicalDerivative a (N + 1) ha ha1 hk j u) = + homogeneousLinearizedTopCommutator a N ha ha1 hk j m q u := by + rw [homogeneousPrincipalPotential_decomposition, + homogeneousLinearized_ordered_derivative] + abel + +theorem homogeneousLinearized_physical_compact_errors (a ε : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (q : HomogeneousY a ((N + 1 : ℕ) : ℝ)) (hε : 0 < ε) + (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : E, ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m + 1)) ≤ M) : + ∃ R : ℝ, 0 < R ∧ ∃ C : ℝ, 0 ≤ C ∧ ∀ u : HomogeneousY a ((N + 1 : ℕ) : ℝ), + ‖homogeneousLowEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u)‖ + + Real.sqrt (∑ j : Fin (N + 1) → Fin 12, + ‖homogeneousPhysicalDerivative a (N + 1) ha ha1 hk j + (homogeneousLinearizedPotential a ((N + 1 : ℕ) : ℝ) ha ha1 hk (m + 1) q u) - + homogeneousPrincipalPotential (m + 1) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q) + (homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q).continuous M hM hQB + (homogeneousPhysicalDerivative a (N + 1) ha ha1 hk j u)‖ ^ 2) ≤ + ε * ‖u‖ + C * ‖homogeneousLocalL2Observation a ((N + 1 : ℕ) : ℝ) R ha ha1 hk u‖ := by + simpa only [homogeneousLinearized_derivative_commutator] using + homogeneousLinearized_compact_errors a ε N ha ha1 hk m q hε + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPrincipalPotential.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPrincipalPotential.lean new file mode 100644 index 0000000000000000000000000000000000000000..a444894b62eb682f77a084c46b4a4fd235832ce7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousPrincipalPotential.lean @@ -0,0 +1,142 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import Mathlib.MeasureTheory.Function.L2Space + +namespace OAI + +/-! # The physical principal potential on L² + +The actual odd-power derivative acts pointwise on every ordered spatial +derivative. Its L² bound is independent of the derivative order; only the +lower commutator terms require separate compact-error estimates. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem norm_oddPowerDerivative_le (m : ℕ) (z v : ℂ) : + ‖oddPowerDerivative m z v‖ ≤ (2 * (m : ℝ) + 1) * ‖z‖ ^ (2 * m) * ‖v‖ := by + cases m with + | zero => simp [oddPowerDerivative] + | succ m => + have hp : ‖z‖ ^ (2 * (m + 1)) = ‖z‖ ^ m * ‖z‖ ^ m * ‖z‖ ^ 2 := by + rw [show 2 * (m + 1) = m + m + 2 by omega, pow_add, pow_add] + rw [oddPowerDerivative, add_apply] + calc + _ ≤ ‖((((m + 1 + 1 : ℕ) : ℂ) * z ^ (m + 1) * star z ^ (m + 1)) • v)‖ + + ‖((((m + 1 : ℕ) : ℂ) * z ^ (m + 1 + 1) * star z ^ m) • star v)‖ := by + exact norm_add_le _ _ + _ = _ := by + rw [hp] + simp only [norm_smul, norm_mul, norm_pow, norm_star, Complex.norm_natCast] + simp only [Nat.cast_add, Nat.cast_one, pow_add, pow_one, pow_two] + ring + +theorem norm_schrodingerOddPowerDerivative_le (m : ℕ) (z v : ℂ) : + ‖-Complex.I * oddPowerDerivative m z v‖ ≤ + (2 * (m : ℝ) + 1) * ‖z‖ ^ (2 * m) * ‖v‖ := by + simpa only [norm_mul, norm_neg, Complex.norm_I, one_mul] using norm_oddPowerDerivative_le m z v + +private theorem principalPotential_memLp (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (_hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + MemLp (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) 2 volume := by + have hq : AEStronglyMeasurable Q (volume : Measure E) := hQ.aestronglyMeasurable + have hf := Lp.aestronglyMeasurable f + have hm : AEStronglyMeasurable + (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) volume := by + simpa only [oddPowerDerivative, add_apply, + smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul, + Pi.add_apply, Pi.mul_apply, Pi.pow_apply, Pi.star_apply] using + ((((aestronglyMeasurable_const.mul (hq.pow m)).mul (hq.star.pow m)).mul hf).add + (((aestronglyMeasurable_const.mul (hq.pow (m + 1))).mul + (hq.star.pow (m - 1))).mul hf.star)).const_mul (-Complex.I) + apply (((Lp.memLp f).norm.const_mul ((2 * (m : ℝ) + 1) * M))).mono' hm + filter_upwards [] with x + exact (norm_schrodingerOddPowerDerivative_le m (Q x) (f x)).trans + (by gcongr; exact hQB x) + +noncomputable def homogeneousPrincipalAction (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : Lp ℂ 2 (volume : Measure E) := + (principalPotential_memLp m Q hQ M hM hQB f).toLp + (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) + +theorem homogeneousPrincipalAction_ae (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + homogeneousPrincipalAction m Q hQ M hM hQB f =ᵐ[volume] + (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) := MemLp.coeFn_toLp _ + +theorem homogeneousPrincipalAction_norm_le (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + ‖homogeneousPrincipalAction m Q hQ M hM hQB f‖ ≤ (2 * (m : ℝ) + 1) * M * ‖f‖ := by + apply Lp.norm_le_mul_norm_of_ae_le_mul + filter_upwards [homogeneousPrincipalAction_ae m Q hQ M hM hQB f] with x hx + rw [hx] + exact (norm_schrodingerOddPowerDerivative_le m (Q x) (f x)).trans + (by gcongr; exact hQB x) + +noncomputable def homogeneousPrincipalPotential (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) : + Lp ℂ 2 (volume : Measure E) →L[ℝ] Lp ℂ 2 (volume : Measure E) := + let A : Lp ℂ 2 (volume : Measure E) →ₗ[ℝ] Lp ℂ 2 (volume : Measure E) := + { toFun := homogeneousPrincipalAction m Q hQ M hM hQB + map_add' := by + intro f g + apply Lp.ext + filter_upwards [homogeneousPrincipalAction_ae m Q hQ M hM hQB (f + g), + homogeneousPrincipalAction_ae m Q hQ M hM hQB f, + homogeneousPrincipalAction_ae m Q hQ M hM hQB g, Lp.coeFn_add f g, + Lp.coeFn_add (homogeneousPrincipalAction m Q hQ M hM hQB f) + (homogeneousPrincipalAction m Q hQ M hM hQB g)] with x hfg hf hg ha hb + rw [hfg, hb, Pi.add_apply, hf, hg, ha, Pi.add_apply, map_add, mul_add] + map_smul' := by + intro c f + apply Lp.ext + filter_upwards [homogeneousPrincipalAction_ae m Q hQ M hM hQB (c • f), + homogeneousPrincipalAction_ae m Q hQ M hM hQB f, Lp.coeFn_smul c f, + Lp.coeFn_smul c (homogeneousPrincipalAction m Q hQ M hM hQB f)] with x hcf hf ha hb + simp only [RingHom.id_apply] + rw [hcf, hb, Pi.smul_apply, hf, ha, Pi.smul_apply, map_smul] + simp only [Complex.real_smul] + ring } + A.mkContinuous ((2 * (m : ℝ) + 1) * M) + (homogeneousPrincipalAction_norm_le m Q hQ M hM hQB) + +theorem homogeneousPrincipalPotential_norm_le (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) : + ‖homogeneousPrincipalPotential m Q hQ M hM hQB‖ ≤ (2 * (m : ℝ) + 1) * M := by + exact LinearMap.mkContinuous_norm_le _ (by positivity) + (homogeneousPrincipalAction_norm_le m Q hQ M hM hQB) + +theorem homogeneousPrincipalPotential_energy_le (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + inner ℝ f (homogeneousPrincipalPotential m Q hQ M hM hQB f) ≤ + ((2 * (m : ℝ) + 1) * M) * ‖f‖ ^ 2 := by + calc + _ ≤ ‖f‖ * ‖homogeneousPrincipalPotential m Q hQ M hM hQB f‖ := real_inner_le_norm _ _ + _ ≤ ‖f‖ * (((2 * (m : ℝ) + 1) * M) * ‖f‖) := + mul_le_mul_of_nonneg_left (homogeneousPrincipalAction_norm_le m Q hQ M hM hQB f) + (norm_nonneg f) + _ = _ := by ring + +/-- Every ordered derivative receives the same pointwise operator; the +constant is independent of the number of derivatives. -/ +theorem homogeneousPrincipalPotential_ordered_energy_le (m N : ℕ) + (Q : E → ℂ) (hQ : Continuous Q) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : (Fin N → Fin 12) → Lp ℂ 2 (volume : Measure E)) : + ∑ j, inner ℝ (f j) (homogeneousPrincipalPotential m Q hQ M hM hQB (f j)) ≤ + ((2 * (m : ℝ) + 1) * M) * ∑ j, ‖f j‖ ^ 2 := by + rw [Finset.mul_sum] + exact Finset.sum_le_sum (fun j _ => homogeneousPrincipalPotential_energy_le m Q hQ M hM hQB (f j)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProductCompact.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProductCompact.lean new file mode 100644 index 0000000000000000000000000000000000000000..dc9f189a3f20d7aecaef2ef4ecc425e08507891f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProductCompact.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLowCompact + +namespace OAI + +/-! # Compact low-energy multiplication for every coefficient in Y + +Density of physical Schwartz functions in the actual Y norm and the proved +bilinear product bound extend the compact observation result to every fixed +Y coefficient. This applies to the polynomial coefficients of the actual +odd-power linearization. +-/ + +open Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +theorem tendsto_homogeneousLowEnergy_product (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : HomogeneousY a k) (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousLowEnergy a k ha1 hk + (homogeneousYProduct a k ha ha1 hk V (u n))) atTop (𝓝 0) := by + let B := homogeneousYProduct a k ha ha1 hk + let L := homogeneousLowEnergy a k ha1 hk + let C := ‖B‖ + have hC : 0 ≤ C := norm_nonneg B + have hM : 0 ≤ M := (norm_nonneg (u 0)).trans (hu 0) + have hnorm : Tendsto (fun n => ‖L (B V (u n))‖) atTop (𝓝 0) := by + apply tendsto_order.2 + constructor + · intro r hr + exact Filter.Eventually.of_forall (fun n => hr.trans_le (norm_nonneg _)) + · intro ε hε + let δ := ε / (2 * (C * M + 1)) + have hδ : 0 < δ := div_pos hε (by positivity) + obtain ⟨φ, hφ⟩ := (homogeneousSchwartzEmbedding_dense a k ha ha1 hk).exists_dist_lt V hδ + let Vφ := homogeneousSchwartzEmbedding a k ha ha1 hk φ + have hdiff : ‖V - Vφ‖ < δ := by simpa only [dist_eq_norm] using hφ + have hs := tendsto_homogeneousLowEnergy_schwartzCoefficient a k M ha ha1 hk φ u hu hweak + have hs' : Tendsto (fun n => ‖L (B Vφ (u n))‖) atTop (𝓝 0) := by + have h := Real.continuous_sqrt.continuousAt.tendsto.comp hs + change Tendsto (fun n => Real.sqrt (‖L (B Vφ (u n))‖ ^ 2)) atTop (𝓝 (Real.sqrt 0)) at h + simpa only [Real.sqrt_sq (norm_nonneg _), Real.sqrt_zero] using h + have he := hs'.eventually (gt_mem_nhds (half_pos hε)) + have hδbound : C * δ * M ≤ ε / 2 := by + have hid : δ * (2 * (C * M + 1)) = ε := div_mul_cancel₀ _ (by positivity) + nlinarith [hδ.le] + filter_upwards [he] with n hn + have herror : ‖L (B (V - Vφ) (u n))‖ ≤ ε / 2 := calc + _ ≤ ‖B (V - Vφ) (u n)‖ := homogeneousLowEnergy_norm_le a k ha1 hk _ + _ ≤ C * ‖V - Vφ‖ * ‖u n‖ := B.le_opNorm₂ _ _ + _ ≤ C * ‖V - Vφ‖ * M := mul_le_mul_of_nonneg_left (hu n) + (mul_nonneg hC (norm_nonneg _)) + _ ≤ C * δ * M := mul_le_mul_of_nonneg_right + (mul_le_mul_of_nonneg_left hdiff.le hC) hM + _ ≤ ε / 2 := hδbound + have hsum : L (B V (u n)) = L (B Vφ (u n)) + L (B (V - Vφ) (u n)) := by + simp only [map_sub, sub_apply] + abel + calc + ‖L (B V (u n))‖ = ‖L (B Vφ (u n)) + L (B (V - Vφ) (u n))‖ := congrArg norm hsum + _ ≤ ‖L (B Vφ (u n))‖ + ‖L (B (V - Vφ) (u n))‖ := norm_add_le _ _ + _ < ε := by linarith + apply tendsto_iff_norm_sub_tendsto_zero.mpr + simpa only [sub_zero] using hnorm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProfileDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProfileDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..bc40fcbb87ce8dee426bc1a317713e63bcd276a9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProfileDerivative.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymbolMembership +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CartesianDirectionalCalculus +import Mathlib.Analysis.Calculus.ContDiff.Bounds + +namespace OAI + +/-! # Cartesian derivatives of symbol profiles belong to the faithful space -/ + +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cartesianDerivative_symbol_decay (a : ℝ) (Q : E → ℂ) + (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) (v : E) : + ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n (cartesianDerivative v Q) y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ)) := by + intro n + obtain ⟨D, hD⟩ := hsymbol (n + 1) + refine ⟨‖v‖ * max D 0, ?_⟩ + intro y hy + have hderiv : ‖iteratedFDeriv ℝ n (cartesianDerivative v Q) y‖ ≤ + ‖v‖ * ‖iteratedFDeriv ℝ (n + 1) Q y‖ := by + exact (norm_iteratedFDeriv_clm_apply_const + ((contDiff_infty_iff_fderiv.mp hQ).2.contDiffAt) (by simp)).trans_eq + (congrArg (‖v‖ * ·) norm_iteratedFDeriv_fderiv) + have hb : ‖iteratedFDeriv ℝ (n + 1) Q y‖ ≤ + max D 0 * ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ)) := + (hD y hy).trans (mul_le_mul_of_nonneg_right (le_max_left _ _) + (Real.rpow_nonneg (norm_nonneg _) _)) + have hp : ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ)) ≤ ‖y‖ ^ (-2 * a - (n : ℝ)) := + Real.rpow_le_rpow_of_exponent_le hy (by push_cast; linarith) + calc + _ ≤ ‖v‖ * (max D 0 * ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ))) := + hderiv.trans (mul_le_mul_of_nonneg_left hb (norm_nonneg _)) + _ ≤ ‖v‖ * (max D 0 * ‖y‖ ^ (-2 * a - (n : ℝ))) := + mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hp (le_max_right _ _)) (norm_nonneg _) + _ = _ := by ring + +theorem homogeneous_profile_directional_derivative (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) (v : E) : + ∃ q : HomogeneousY a k, ∀ y, + homogeneousPhysicalCLM a k ha ha1 hk q y = cartesianDerivative v Q y := + exists_homogeneous_of_symbol_decay_at_infinity a k ha ha1 hk _ + (cartesianDerivative_contDiff Q hQ v) (cartesianDerivative_symbol_decay a Q hQ hsymbol v) + +theorem homogeneous_profile_laplacian (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ q : HomogeneousY a k, ∀ y, homogeneousPhysicalCLM a k ha ha1 hk q y = Δ Q y := by + classical + let e := EuclideanSpace.basisFun (Fin 12) ℝ + have hex (j : Fin 12) := homogeneous_profile_directional_derivative a k ha ha1 hk + (cartesianDerivative (e j) Q) (cartesianDerivative_contDiff Q hQ (e j)) + (cartesianDerivative_symbol_decay a Q hQ hsymbol (e j)) (e j) + choose q hq using hex + refine ⟨∑ j, q j, ?_⟩ + intro y + rw [map_sum, laplacian_eq_cartesianDerivatives Q hQ] + change (∑ j, homogeneousPhysicalCLM a k ha ha1 hk (q j) y) = _ + exact Finset.sum_congr rfl (fun j _ => hq j y) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProfileSymmetries.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProfileSymmetries.lean new file mode 100644 index 0000000000000000000000000000000000000000..5cfd9e39c565284516c5779d99b23fa6e9f6526b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousProfileSymmetries.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousProfileDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTimeMode + +namespace OAI + +/-! # Physical symmetry directions in the faithful homogeneous space -/ + +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_profile_translation_map (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ D : E →L[ℝ] HomogeneousY a k, ∀ v y, + homogeneousPhysicalCLM a k ha ha1 hk (D v) y = cartesianDerivative v Q y := by + classical + let b := (EuclideanSpace.basisFun (Fin 12) ℝ).toBasis + choose q hq using fun j : Fin 12 => + homogeneous_profile_directional_derivative a k ha ha1 hk Q hQ hsymbol (b j) + let D : E →L[ℝ] HomogeneousY a k := (b.constr ℝ q).toContinuousLinearMap + refine ⟨D, ?_⟩ + intro v y + let ev := (homogeneousPointEvaluation a k ha ha1 hk y).restrictScalars ℝ + have he : ev.toLinearMap.comp D.toLinearMap = (fderiv ℝ Q y).toLinearMap := by + apply b.ext + intro j + change homogeneousPhysicalCLM a k ha ha1 hk ((b.constr ℝ q) (b j)) y = + cartesianDerivative (b j) Q y + rw [b.constr_basis] + exact hq j y + exact DFunLike.congr_fun he v + +theorem stationary_time_field_eq (a b : ℝ) (m : ℕ) (Q : E → ℂ) + (hstat : ∀ y, stationarySimilarityDefect a b m Q y = 0) (y : E) : + ((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y = + Complex.I * (Δ Q y - oddPowerNonlinearity m (Q y)) := by + have hs := congrArg (fun z : ℂ => Complex.I * z) (hstat y) + dsimp only [stationarySimilarityDefect] at hs + simp only [mul_add, mul_sub, ← mul_assoc, Complex.I_mul_I, neg_one_mul, mul_zero] at hs + unfold cartesianTransport + linear_combination -hs + +theorem homogeneous_profile_time_direction (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) + (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 hk q y = Q y) + (hstat : ∀ y, stationarySimilarityDefect a b m Q y = 0) : + ∃ t : HomogeneousY a k, ∀ y, homogeneousPhysicalCLM a k ha ha1 hk t y = + ((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y := by + obtain ⟨qL, hL⟩ := homogeneous_profile_laplacian a k ha ha1 hk Q hQ hsymbol + refine ⟨Complex.I • (qL - homogeneousOddPower a k ha ha1 hk m q), ?_⟩ + intro y + rw [map_smul, map_sub] + change Complex.I * (homogeneousPhysicalCLM a k ha ha1 hk qL y - + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousOddPower a k ha ha1 hk m q) y) = _ + rw [hL, homogeneousOddPower_physical, hq, stationary_time_field_eq a b m Q hstat] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousQuotientDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousQuotientDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..c9bea0ba77139eb36036c06800a30173d6721dd1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousQuotientDecay.lean @@ -0,0 +1,124 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralQuotientDecay +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialOutgoingBoundary + +namespace OAI + +/-! # Gauge decay from eventual normalized outgoing bounds -/ + +open Set Filter Topology Asymptotics + +namespace DefocusingNLS + +theorem homogeneousQuotient_energy_decay (ν : ℂ) (hν : ν.re ≤ -8) + (Y Q : ℝ → ℂ × ℂ) (M K D : ℝ) + (hY : ∀ᶠ t in atTop, ‖Y t‖ ≤ M) + (hQ : ∀ᶠ t in atTop, ‖((Q t).1)⁻¹‖ ≤ K) + (hQ' : ∀ᶠ t in atTop, ‖(Q t).2‖ ≤ D) + (hQ0 : ∀ᶠ t in atTop, (Q t).1 ≠ 0) + (hYd : ∀ᶠ t in atTop, HasDerivAt (fun s => (Y s).1) (Y t).2 t) + (hQd : ∀ᶠ t in atTop, HasDerivAt (fun s => (Q s).1) (Q t).2 t) : + let F := fun r => (spectralQuotientJet ν Y Q r).1 + F =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ)) ∧ + deriv F =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ)) ∧ + ∀ᶠ r in atTop, DifferentiableAt ℝ F r := by + intro F + have hb := Real.tendsto_log_atTop.eventually (hY.and (hQ.and hQ')) + have hv : F =O[atTop] (fun r : ℝ => r ^ ν.re) := by + apply IsBigO.of_bound (M * K) + filter_upwards [hb, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + simpa only [F, Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos hr0 _), mul_comm] using + (spectralQuotientJet_bounds ν Y Q M K D r hr0 hr.1 hr.2.1 hr.2.2).1 + have hd : (fun r => (spectralQuotientJet ν Y Q r).2) =O[atTop] + (fun r : ℝ => r ^ (ν.re - 1)) := by + apply IsBigO.of_bound (((‖ν‖ + 1) * M) * K + M * D * K ^ 2) + filter_upwards [hb, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + simpa only [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos hr0 _), mul_comm] using + (spectralQuotientJet_bounds ν Y Q M K D r hr0 hr.1 hr.2.1 hr.2.2).2 + have hp (a b : ℝ) (hab : a ≤ b) : + (fun r : ℝ => r ^ a) =O[atTop] (fun r : ℝ => r ^ b) := by + apply Eventually.isBigO + filter_upwards [eventually_ge_atTop (1 : ℝ)] with r hr + rw [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos (zero_lt_one.trans_le hr) _)] + exact Real.rpow_le_rpow_of_exponent_le hr hab + have hder : ∀ᶠ r in atTop, HasDerivAt F (spectralQuotientJet ν Y Q r).2 r := by + filter_upwards [Real.tendsto_log_atTop.eventually (hQ0.and (hYd.and hQd)), + eventually_gt_atTop (0 : ℝ)] with r hr hr0 + exact spectralQuotientJet_hasDerivAt ν Y Q r hr0 hr.1 hr.2.1 hr.2.2 + refine ⟨hv.trans (hp _ _ hν), ?_, hder.mono (fun _ h => h.differentiableAt)⟩ + apply (hd.trans (hp _ _ (by linarith : ν.re - 1 ≤ -9))).congr' _ EventuallyEq.rfl + exact hder.mono (fun _ h => h.deriv.symm) + +theorem homogeneousComplexEnergyDecay_real + (F : ℝ → ℂ) + (hF : F =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ))) + (hdF : deriv F =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) + (hfd : ∀ᶠ r in atTop, DifferentiableAt ℝ F r) + (L : ℂ →L[ℝ] ℝ) : HasRadialEnergyDecay (fun r => L (F r)) := by + have hb (G : ℝ → ℂ) : (fun r => L (G r)) =O[atTop] G := + IsBigO.of_bound ‖L‖ (Eventually.of_forall (fun r => L.le_opNorm (G r))) + refine ⟨(hb F).trans hF, ?_⟩ + apply ((hb (deriv F)).trans hdF).congr' _ EventuallyEq.rfl + filter_upwards [hfd] with r hr + exact (L.hasFDerivAt.comp_hasDerivAt r hr.hasDerivAt).deriv.symm + +theorem homogeneousQuotient_energy_decay_of_limits + (ν : ℂ) (hν : ν.re ≤ -8) (Y Q : ℝ → ℂ × ℂ) (y₀ : ℂ × ℂ) (q₀ : ℂ) + (hq₀ : q₀ ≠ 0) (hy : Tendsto Y atTop (𝓝 y₀)) + (hq : Tendsto Q atTop (𝓝 (q₀, 0))) + (hYd : ∀ᶠ t in atTop, HasDerivAt (fun s => (Y s).1) (Y t).2 t) + (hQd : ∀ᶠ t in atTop, HasDerivAt (fun s => (Q s).1) (Q t).2 t) : + let F := fun r => (spectralQuotientJet ν Y Q r).1 + F =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ)) ∧ + deriv F =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ)) ∧ + ∀ᶠ r in atTop, DifferentiableAt ℝ F r := by + have hqi := (hq.fst_nhds.inv₀ hq₀).norm + have hyb := (hy.norm.eventually (gt_mem_nhds + (show ‖y₀‖ < ‖y₀‖ + 1 by linarith))).mono (fun _ h => h.le) + have hqib := (hqi.eventually (gt_mem_nhds + (show ‖q₀⁻¹‖ < ‖q₀⁻¹‖ + 1 by linarith))).mono (fun _ h => h.le) + have hqdb := (hq.snd_nhds.norm.eventually (gt_mem_nhds + (show ‖(0 : ℂ)‖ < 1 by norm_num))).mono (fun _ h => h.le) + have hqn := hq.fst_nhds.eventually (eventually_ne_nhds hq₀) + exact homogeneousQuotient_energy_decay ν hν Y Q (‖y₀‖ + 1) (‖q₀⁻¹‖ + 1) 1 + hyb hqib hqdb hqn hYd hQd + +theorem homogeneousQuotient_value (ν μ : ℂ) (Y Q : ℝ → ℂ × ℂ) (r : ℝ) : + (spectralPhysicalJet (μ + ν) Y r).1 / + (Complex.exp (μ * (Real.log r : ℂ)) * (Q (Real.log r)).1) = + (spectralQuotientJet ν Y Q r).1 := by + have he : Complex.exp ((μ + ν) * (Real.log r : ℂ)) = + Complex.exp (μ * (Real.log r : ℂ)) * Complex.exp (ν * (Real.log r : ℂ)) := by + rw [← Complex.exp_add] + congr 1 + ring + change Complex.exp ((μ + ν) * (Real.log r : ℂ)) * (Y (Real.log r)).1 / + (Complex.exp (μ * (Real.log r : ℂ)) * (Q (Real.log r)).1) = _ + rw [he] + simp only [spectralQuotientJet, div_eq_mul_inv, mul_inv_rev] + have hn := Complex.exp_ne_zero (μ * (Real.log r : ℂ)) + calc + _ = (Complex.exp (μ * (Real.log r : ℂ)) * + (Complex.exp (μ * (Real.log r : ℂ)))⁻¹) * + (Complex.exp (ν * (Real.log r : ℂ)) * ((Y (Real.log r)).1 * (Q (Real.log r)).1⁻¹)) := by ring + _ = _ := by rw [mul_inv_cancel₀ hn, one_mul] + +theorem homogeneousEventuallyEq_deriv_atTop {F G : ℝ → ℂ} + (h : F =ᶠ[atTop] G) : deriv F =ᶠ[atTop] deriv G := by + obtain ⟨T, hT⟩ := eventually_atTop.mp h + filter_upwards [eventually_gt_atTop T] with r hr + apply Filter.EventuallyEq.deriv_eq + filter_upwards [Ioi_mem_nhds hr] with s hs + exact hT s hs.le + +theorem homogeneousComplexEnergyDecay_congr {F G : ℝ → ℂ} + (h : F =ᶠ[atTop] G) + (hF : F =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ))) + (hdF : deriv F =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ))) : + G =O[atTop] (fun r : ℝ => r ^ (-8 : ℝ)) ∧ + deriv G =O[atTop] (fun r : ℝ => r ^ (-9 : ℝ)) := by + exact ⟨hF.congr' h EventuallyEq.rfl, + hdF.congr' (homogeneousEventuallyEq_deriv_atTop h) EventuallyEq.rfl⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialCompletion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialCompletion.lean new file mode 100644 index 0000000000000000000000000000000000000000..00e12840e60ffd9a582d9773ebbdd18bb517ad9b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialCompletion.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialMeasure +import Mathlib.MeasureTheory.Function.LocallyIntegrable + +namespace OAI + +/-! # Local integrability of the completed radial derivative + +The extension by zero is only a measurable representative. On positive radii +its weighted square integral is exactly the polar L² integral. +-/ + +open MeasureTheory Set Filter + +namespace DefocusingNLS + +noncomputable def positiveRadiusExtension (g : PhysicalPositiveRadius → ℂ) (r : ℝ) : ℂ := + if h : 0 < r then g ⟨r, h⟩ else 0 + +@[simp] theorem positiveRadiusExtension_coe (g : PhysicalPositiveRadius → ℂ) + (r : PhysicalPositiveRadius) : positiveRadiusExtension g r = g r := by + unfold positiveRadiusExtension + split + · rfl + · rename_i h + exact (h r.2).elim + +theorem positiveRadiusExtension_aestronglyMeasurable + (g : PhysicalPositiveRadius → ℂ) (hg : MemLp g 2 physicalRadiusMeasure) : + AEStronglyMeasurable (positiveRadiusExtension g) (volume.restrict (Ioi 0)) := by + have hμ : volume.comap (Subtype.val : PhysicalPositiveRadius → ℝ) ≪ + physicalRadiusMeasure := by + apply withDensity_absolutelyContinuous' + · exact (show Measurable (fun r : PhysicalPositiveRadius => + ENNReal.ofReal (r.1 ^ (11 : ℕ))) by fun_prop).aemeasurable + · exact Eventually.of_forall (fun r => + (ENNReal.ofReal_pos.mpr (pow_pos r.2 11)).ne') + have hm := hg.aestronglyMeasurable.mono_ac hμ + rw [← map_comap_subtype_coe measurableSet_Ioi, + (MeasurableEmbedding.subtype_coe measurableSet_Ioi).aestronglyMeasurable_map_iff] + simpa only [Function.comp_def, positiveRadiusExtension_coe] using hm + +theorem positiveRadiusExtension_weighted_square + (g : PhysicalPositiveRadius → ℂ) (hg : MemLp g 2 physicalRadiusMeasure) : + IntegrableOn (fun r : ℝ => r ^ (11 : ℕ) * ‖positiveRadiusExtension g r‖ ^ 2) + (Ioi 0) := by + apply radial_weighted_integrable_of_memLp + simpa only [positiveRadiusExtension_coe] using hg + +/-- The Jacobian times the completed radial derivative is locally integrable +on the entire positive half-line. -/ +theorem positiveRadiusExtension_weighted_locallyIntegrable + (g : PhysicalPositiveRadius → ℂ) (hg : MemLp g 2 physicalRadiusMeasure) : + LocallyIntegrableOn (fun r : ℝ => (r : ℂ) ^ (11 : ℕ) * positiveRadiusExtension g r) + (Ioi 0) := by + have hm := positiveRadiusExtension_aestronglyMeasurable g hg + have hsq := positiveRadiusExtension_weighted_square g hg + intro x hx + change 0 < x at hx + have hlo : 0 < x / 2 := by linarith [hx] + have hlx : x / 2 < x := by linarith [hx] + have hxu : x < x + 1 := by linarith + have hs : Icc (x / 2) (x + 1) ⊆ Ioi (0 : ℝ) := + fun r hr => lt_of_lt_of_le hlo hr.1 + refine ⟨Icc (x / 2) (x + 1), + mem_nhdsWithin_of_mem_nhds (Icc_mem_nhds hlx hxu), ?_⟩ + have hi : IntegrableOn (fun r : ℝ => r ^ (11 : ℕ) + + r ^ (11 : ℕ) * ‖positiveRadiusExtension g r‖ ^ 2) + (Icc (x / 2) (x + 1)) := + (continuous_id.pow 11).continuousOn.integrableOn_Icc.add (hsq.mono_set hs) + apply hi.mono' + (((Complex.continuous_ofReal.pow 11).aestronglyMeasurable).mul + (hm.mono_measure (Measure.restrict_mono hs le_rfl))) + filter_upwards [ae_restrict_mem measurableSet_Icc] with r hr + have hr0 : 0 ≤ r := (hs hr).le + have hnorm : ‖positiveRadiusExtension g r‖ ≤ 1 + ‖positiveRadiusExtension g r‖ ^ 2 := by + nlinarith [sq_nonneg (‖positiveRadiusExtension g r‖ - 1)] + change ‖(r : ℂ) ^ (11 : ℕ) * positiveRadiusExtension g r‖ ≤ _ + rw [norm_mul, norm_pow, Complex.norm_real, Real.norm_of_nonneg hr0] + nlinarith [mul_le_mul_of_nonneg_left hnorm (pow_nonneg hr0 11)] + +/-- Once a classical representative agrees almost everywhere on a tail, it +inherits the exact radial weighted L² condition. -/ +theorem positiveRadiusExtension_weighted_square_tail + (g : PhysicalPositiveRadius → ℂ) (hg : MemLp g 2 physicalRadiusMeasure) + (R : ℝ) (hR : 0 ≤ R) (F : ℝ → ℂ) + (heq : ∀ᵐ r ∂volume, r ∈ Ioi R → positiveRadiusExtension g r = F r) : + IntegrableOn (fun r : ℝ => r ^ (11 : ℕ) * ‖F r‖ ^ 2) (Ioi R) := by + apply ((positiveRadiusExtension_weighted_square g hg).mono_set + (Ioi_subset_Ioi hR)).congr + filter_upwards [heq.filter_mono ae_restrict_le, + ae_restrict_mem measurableSet_Ioi] with r hr hmem + rw [hr hmem] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialComplexTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialComplexTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..3d60f5b7432f054cad850175c2f17e4db1e0fad4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialComplexTesting.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialTesting + +namespace OAI + +/-! # Complex radial integration by parts on the Schwartz core -/ + +open MeasureTheory Set LineDeriv +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +/-- The complex bilinear form of radial integration by parts. -/ +theorem schwartz_radial_integral_mul_by_parts (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) + (f : 𝓢(E, ℂ)) (ω : PhysicalUnitSphere) : + (∫ r : ℝ, ψ r * + (∑ j : Fin N → Fin 12, (radialTensorCoefficient N j ω : ℂ) * + homogeneousOrderedDerivative N j f (r • ω.1))) = + (-1 : ℂ) ^ N * ∫ r : ℝ, + ((∂^{fun _ : Fin N => (1 : ℝ)} ψ) r) * f (r • ω.1) := by + have hibp (M : ℕ) (v : Fin M → ℝ) (φ g : 𝓢(ℝ, ℂ)) : + (∫ r : ℝ, φ r * ((∂^{v} g) r)) = + (-1 : ℂ) ^ M * ∫ r : ℝ, ((∂^{fun i => v (Fin.rev i)} φ) r) * g r := by + induction M generalizing φ g with + | zero => simp + | succ M ih => + rw [iteratedLineDerivOp_succ_left] + have h := SchwartzMap.integral_bilinear_lineDerivOp_right_eq_neg_left + (μ := (volume : Measure ℝ)) φ (∂^{Fin.tail v} g) + (ContinuousLinearMap.mul ℝ ℂ) (v 0) + change (∫ r : ℝ, φ r * ((∂_{v 0} (∂^{Fin.tail v} g)) r)) = + -(∫ r : ℝ, ((∂_{v 0} φ) r) * ((∂^{Fin.tail v} g) r)) at h + rw [h, ih (Fin.tail v) (∂_{v 0} φ) g] + have ht : (∂^{fun i => v (Fin.rev i)} φ) = + ∂^{fun i => Fin.tail v (Fin.rev i)} (∂_{v 0} φ) := by + rw [iteratedLineDerivOp_succ_right] + simp only [Fin.rev_last] + congr 1 + funext i + simp only [Fin.init_def, Fin.tail_def, Fin.rev_castSucc] + rw [ht, pow_succ] + ring + have h := hibp N (fun _ : Fin N => (1 : ℝ)) ψ (schwartzRadialRestriction ω f) + have hj (r : ℝ) : (∂^{fun _ : Fin N => (1 : ℝ)} + (schwartzRadialRestriction ω f)) r = + ∑ j : Fin N → Fin 12, (radialTensorCoefficient N j ω : ℂ) * + homogeneousOrderedDerivative N j f (r • ω.1) := by + rw [SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv] + change iteratedDeriv N (fun t : ℝ => f (t • ω.1)) r = _ + exact schwartz_radial_iteratedDeriv N f ω r + simpa only [hj, schwartzRadialRestriction_apply] using h + + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialDefect.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialDefect.lean new file mode 100644 index 0000000000000000000000000000000000000000..15a319b14201ab74462aac3518be3628bcbdaaa7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialDefect.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRobinMatrix +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalCoupling +import Mathlib.Analysis.Calculus.Deriv.Mul + +namespace OAI + +/-! # Exact transverse defect of the outgoing value plane + +The two-channel second-order equation gives a closed first-order equation +for `U' - A U` whenever `A` satisfies its Riccati identity. This is the +starting point for excluding a transverse component using the actual +top-derivative L² bound. +-/ + +open Filter Topology + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +theorem homogeneousPair_fst_hasDerivAt {u : ℝ → V} {v : V} {r : ℝ} + (h : HasDerivAt u v r) : HasDerivAt (fun t => (u t).1) v.1 r := + (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r h + +theorem homogeneousPair_snd_hasDerivAt {u : ℝ → V} {v : V} {r : ℝ} + (h : HasDerivAt u v r) : HasDerivAt (fun t => (u t).2) v.2 r := + (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r h + +noncomputable def homogeneousRadialDamping (r : ℝ) : End := + spectralTwoColumns (11 / (r : ℂ) + Complex.I * r / 2, 0) + (0, 11 / (r : ℂ) - Complex.I * r / 2) + +noncomputable def homogeneousRadialStiffness (νp νm eta : ℂ) (m : ℕ) + (Q : ℂ) (r : ℝ) : End := + spectralTwoColumns + (-Complex.I * νp / 2 - eta / (r : ℂ) ^ 2 - spectralDiagonalCoefficient m Q, + -star (spectralCrossCoefficient m Q)) + (-spectralCrossCoefficient m Q, + Complex.I * νm / 2 - eta / (r : ℂ) ^ 2 - star (spectralDiagonalCoefficient m Q)) + +theorem homogeneousRadial_acceleration (νp νm eta : ℂ) (m : ℕ) (Q : ℂ) + (r : ℝ) (z : (ℂ × ℂ) × (ℂ × ℂ)) : + ((spectralPhysicalCircularField νp νm eta m Q r z).1.2, + (spectralPhysicalCircularField νp νm eta m Q r z).2.2) = + -homogeneousRadialDamping r (z.1.2, z.2.2) - + homogeneousRadialStiffness νp νm eta m Q r (z.1.1, z.2.1) := by + apply Prod.ext <;> + simp only [homogeneousRadialDamping, homogeneousRadialStiffness, + spectralTwoColumns_apply, spectralPhysicalCircularField, Prod.fst_add, + Prod.snd_add, Prod.fst_sub, Prod.snd_sub, Prod.fst_neg, Prod.snd_neg, + Prod.smul_fst, Prod.smul_snd, smul_eq_mul] + all_goals ring + +theorem homogeneousComplexOperator_hasDerivAt_apply + (A : ℝ → End) (A' : End) (u : ℝ → V) (u' : V) (r : ℝ) + (hA : HasDerivAt A A' r) (hu : HasDerivAt u u' r) : + HasDerivAt (fun t => A t (u t)) (A' (u r) + A r u') r := by + have hAr := (ContinuousLinearMap.restrictScalarsL ℂ V V ℝ ℝ).hasFDerivAt.comp_hasDerivAt r hA + simpa only [ContinuousLinearMap.coe_restrict_scalarsL', + Function.comp_def, ContinuousLinearMap.coe_restrictScalars'] using hAr.clm_apply hu + +noncomputable def homogeneousRadialDefect (A : ℝ → End) (u v : ℝ → V) (r : ℝ) : V := + v r - A r (u r) + +theorem homogeneousRadialDefect_hasDerivAt + (B C : End) (A : ℝ → End) (u v : ℝ → V) (r : ℝ) + (hu : HasDerivAt u (v r) r) + (hv : HasDerivAt v (-B (v r) - C (u r)) r) + (hA : HasDerivAt A (-B * A r - C - A r * A r) r) : + HasDerivAt (homogeneousRadialDefect A u v) + (-(B + A r) (homogeneousRadialDefect A u v r)) r := by + apply (hv.sub (homogeneousComplexOperator_hasDerivAt_apply A _ u _ r hA hu)).congr_deriv + simp only [homogeneousRadialDefect, sub_apply, neg_apply, add_apply, + mul_apply_eq_comp, map_sub] + abel + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialIdentification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialIdentification.lean new file mode 100644 index 0000000000000000000000000000000000000000..1264dbfbb5c30c26cb70b1cb2fc7d49c7bd6fd5b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialIdentification.lean @@ -0,0 +1,141 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialCompletion +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialWeakTesting +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalRadialTesting +import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff + +namespace OAI + +/-! # Identification of the classical exterior radial derivative + +Local smooth jets are identified with the completed radial L² derivative by +test functions. No smoothness through the origin or interface is required. +-/ + +open MeasureTheory Set Filter +open scoped SchwartzMap + +namespace DefocusingNLS + +private theorem compact_test_integrable (U : Set ℝ) (G : ℝ → ℂ) + (hG : LocallyIntegrableOn G U) (ψ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport ψ) (hs : tsupport ψ ⊆ U) : + Integrable (fun r => ψ r * G r) := by + apply (integrableOn_iff_integrable_of_support_subset + ((Function.support_mul_subset_left _ _).trans (subset_tsupport ψ))).mp + exact IntegrableOn.continuousOn_mul ψ.continuous.continuousOn + (hG.integrableOn_compact_subset hs hc) hc + +/-- Local test equality suffices to identify a classical representative of +the completed radial function on an exterior interval. -/ +theorem positiveRadiusExtension_eq_of_local_testing + (g : PhysicalPositiveRadius → ℂ) (hg : MemLp g 2 physicalRadiusMeasure) + (R : ℝ) (hR : 0 ≤ R) (F : ℝ → ℂ) (hF : ContinuousOn F (Ioi R)) + (htest : ∀ ψ : 𝓢(ℝ, ℂ), HasCompactSupport ψ → tsupport ψ ⊆ Ioi R → + (∫ r, ψ r * ((r : ℂ) ^ (11 : ℕ) * positiveRadiusExtension g r)) = + ∫ r, ψ r * ((r : ℂ) ^ (11 : ℕ) * F r)) : + ∀ᵐ r ∂volume, r ∈ Ioi R → positiveRadiusExtension g r = F r := by + let G : ℝ → ℂ := fun r => (r : ℂ) ^ (11 : ℕ) * positiveRadiusExtension g r + let H : ℝ → ℂ := fun r => (r : ℂ) ^ (11 : ℕ) * F r + have hG : LocallyIntegrableOn G (Ioi R) := + (positiveRadiusExtension_weighted_locallyIntegrable g hg).mono_set (Ioi_subset_Ioi hR) + have hH : LocallyIntegrableOn H (Ioi R) := + ((Complex.continuous_ofReal.pow 11).continuousOn.mul hF).locallyIntegrableOn + measurableSet_Ioi + have heq := isOpen_Ioi.ae_eq_zero_of_integral_contDiff_smul_eq_zero (hG.sub hH) + (by + intro φ hφ hc hs + have hcc : HasCompactSupport (fun r => (φ r : ℂ)) := + hc.comp_left (g := Complex.ofReal) (by simp) + let ψ : 𝓢(ℝ, ℂ) := hcc.toSchwartzMap (Complex.ofRealCLM.contDiff.comp hφ) + have hψ : HasCompactSupport ψ := hcc + have hsψ : tsupport ψ ⊆ Ioi R := by + change closure (Function.support (fun r => (φ r : ℂ))) ⊆ Ioi R + have he : Function.support (fun r => (φ r : ℂ)) = Function.support φ := by + ext r + simp + rwa [he] + have hiG := compact_test_integrable (Ioi R) G hG ψ hψ hsψ + have hiH := compact_test_integrable (Ioi R) H hH ψ hψ hsψ + calc + (∫ r, φ r • (G r - H r)) = ∫ r, ψ r * G r - ψ r * H r := by + apply integral_congr_ae + filter_upwards [] with r + change φ r • (G r - H r) = (φ r : ℂ) * G r - (φ r : ℂ) * H r + rw [Complex.real_smul, mul_sub] + _ = (∫ r, ψ r * G r) - ∫ r, ψ r * H r := integral_sub hiG hiH + _ = 0 := sub_eq_zero.mpr (htest ψ hψ hsψ)) + filter_upwards [heq] with r hr hmem + have hr0 : 0 < r := hR.trans_lt hmem + have hz : (r : ℂ) ^ (11 : ℕ) ≠ 0 := pow_ne_zero _ (Complex.ofReal_ne_zero.mpr hr0.ne') + have hh := sub_eq_zero.mp (hr hmem) + exact (mul_left_cancel₀ hz hh) + +private theorem radialTransposedTest_eq (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) (r : ℝ) : + radialTransposedTest N ψ r = scalarSchwartzJet N (radialWeightedSchwartzTest ψ) r := by + rw [scalarSchwartzJet_apply] + exact SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv + +/-- The classical Nth radial jet on a smooth exterior interval agrees almost +everywhere with the exact contraction of the completed Cartesian derivatives. -/ +theorem homogeneousRadialAngularDerivative_eq_classical + (a : ℝ) (N : ℕ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (u : HomogeneousY a N) (R : ℝ) (hR : 0 ≤ R) (F : ℕ → ℝ → ℂ) + (hF : ∀ j r, r ∈ Ioi R → HasDerivAt (F j) (F (j + 1) r) r) + (hF0 : F 0 = homogeneousAngularProjection a N ha ha1 hk h u) : + ∀ᵐ r ∂volume, r ∈ Ioi R → + positiveRadiusExtension (homogeneousRadialAngularDerivative a N ha ha1 hk h u) r = + F N r := by + apply positiveRadiusExtension_eq_of_local_testing _ + (homogeneousRadialAngularDerivative_memLp a N ha ha1 hk h hh u) R hR (F N) + (fun r hr => (hF N r hr).continuousAt.continuousWithinAt) + intro ψ hc hs + have hψ : ∀ r, r ≤ 0 → ψ r = 0 := by + intro r hr + apply image_eq_zero_of_notMem_tsupport + exact fun hm => (not_lt_of_ge (hr.trans hR)) (hs hm) + have hweak := homogeneousAngularProjection_weak_derivative a N ha ha1 hk h hh ψ hψ u + have hclass := local_radial_iterated_integration_by_parts (Ioi R) F hF N + (radialWeightedSchwartzTest ψ) + (hc.of_isClosed_subset isClosed_closure (tsupport_radialWeightedSchwartzTest_subset ψ)) + ((tsupport_radialWeightedSchwartzTest_subset ψ).trans hs) + have hi : (∫ r, ψ r * ((r : ℂ) ^ (11 : ℕ) * + positiveRadiusExtension (homogeneousRadialAngularDerivative a N ha ha1 hk h u) r)) = + ∫ r, ψ r * homogeneousRadialAngularDerivative a N ha ha1 hk h u r + ∂physicalRadiusMeasure := by + rw [← integral_Ioi_eq_of_zero_nonpositive _ + (fun r hr => by simp [hψ r hr])] + calc + (∫ r in Ioi (0 : ℝ), ψ r * ((r : ℂ) ^ (11 : ℕ) * + positiveRadiusExtension (homogeneousRadialAngularDerivative a N ha ha1 hk h u) r)) = + ∫ r in Ioi (0 : ℝ), (r ^ (11 : ℕ) : ℝ) • (ψ r * + positiveRadiusExtension (homogeneousRadialAngularDerivative a N ha ha1 hk h u) r) := by + apply integral_congr_ae + filter_upwards [] with r + simp only [Complex.real_smul, Complex.ofReal_pow] + ring + _ = _ := by + symm + simpa only [positiveRadiusExtension_coe] using integral_physicalRadiusMeasure + (fun r => ψ r * positiveRadiusExtension + (homogeneousRadialAngularDerivative a N ha ha1 hk h u) r) + rw [hi, hweak, ← hF0] + simpa only [radialTransposedTest_eq, radialWeightedSchwartzTest_apply, mul_assoc, + mul_left_comm (ψ _)] using hclass.symm + +/-- The classical exterior Nth radial derivative has the weighted L² +integrability required to exclude a nonzero fast outgoing component. -/ +theorem homogeneousRadial_classical_weighted_square + (a : ℝ) (N : ℕ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (u : HomogeneousY a N) (R : ℝ) (hR : 0 ≤ R) (F : ℕ → ℝ → ℂ) + (hF : ∀ j r, r ∈ Ioi R → HasDerivAt (F j) (F (j + 1) r) r) + (hF0 : F 0 = homogeneousAngularProjection a N ha ha1 hk h u) : + IntegrableOn (fun r : ℝ => r ^ (11 : ℕ) * ‖F N r‖ ^ 2) (Ioi R) := + positiveRadiusExtension_weighted_square_tail _ + (homogeneousRadialAngularDerivative_memLp a N ha ha1 hk h hh u) R hR (F N) + (homogeneousRadialAngularDerivative_eq_classical a N ha ha1 hk h hh u R hR F hF hF0) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..e97a444d8d394034bd27d5f7bd311fa993ed02e7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialL2.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAngularL2 + +namespace OAI + +/-! # Completed radial derivative contractions in the exact radial measure -/ + +open MeasureTheory Set + +namespace DefocusingNLS + +noncomputable def radialTensorCoefficient (N : ℕ) (j : Fin N → Fin 12) + (ω : PhysicalUnitSphere) : ℝ := ∏ i, (ω.1 (j i)) + +theorem continuous_radialTensorCoefficient (N : ℕ) (j : Fin N → Fin 12) : + Continuous (radialTensorCoefficient N j) := by + unfold radialTensorCoefficient + fun_prop + +theorem radialTensorCoefficient_abs_le (N : ℕ) (j : Fin N → Fin 12) + (ω : PhysicalUnitSphere) : |radialTensorCoefficient N j ω| ≤ 1 := by + have hnorm : ‖ω.1‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using ω.2 + unfold radialTensorCoefficient + rw [Finset.abs_prod] + apply Finset.prod_le_one₀ + · intro i _ + positivity + · intro i _ + simpa only [Real.norm_eq_abs, hnorm] using PiLp.norm_apply_le (ω.1) (j i) + +/-- Multiplying an angular test by a radial tensor coefficient preserves L². -/ +theorem memLp_radialTensor_test (N : ℕ) (j : Fin N → Fin 12) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) : + MemLp (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) + 2 physicalSphereMeasure := by + apply hh.of_le ((Complex.continuous_ofReal.comp (continuous_radialTensorCoefficient N j)).aestronglyMeasurable.mul + hh.aestronglyMeasurable) + filter_upwards [] with ω + dsimp only [Pi.mul_apply, Function.comp_apply] + rw [norm_mul, Complex.norm_real, Real.norm_eq_abs] + exact mul_le_of_le_one_left (norm_nonneg _) (radialTensorCoefficient_abs_le N j ω) + +/-- Remove the polar density: this is exactly square integrability with +respect to r^11 dr, on the positive real half-line. -/ +theorem radial_weighted_integrable_of_memLp (f : ℝ → ℂ) + (hf : MemLp (fun r : PhysicalPositiveRadius => f r) 2 physicalRadiusMeasure) : + IntegrableOn (fun r : ℝ => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi 0) := by + have hi := (memLp_two_iff_integrable_sq_norm hf.aestronglyMeasurable).mp hf + change Integrable (fun r : PhysicalPositiveRadius => ‖f r‖ ^ 2) + ((volume.comap Subtype.val).withDensity + (fun r : PhysicalPositiveRadius => ENNReal.ofReal (r.1 ^ (11 : ℕ)))) at hi + have hw := (integrable_withDensity_iff_integrable_smul' + (show Measurable (fun r : PhysicalPositiveRadius => ENNReal.ofReal (r.1 ^ (11 : ℕ))) by + fun_prop) (Filter.Eventually.of_forall (fun _ => ENNReal.ofReal_lt_top))).mp hi + rw [integrableOn_iff_comap_subtypeVal measurableSet_Ioi] + convert hw using 1 + funext r + simp only [Function.comp_def, ENNReal.toReal_ofReal (pow_nonneg (le_of_lt r.2) 11), + smul_eq_mul] + +/-- The contraction is formed after completing each Cartesian derivative. +Its angular coefficients are r^11-weighted L² functions. -/ +noncomputable def homogeneousRadialAngularDerivative (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (u : HomogeneousY a N) + (r : PhysicalPositiveRadius) : ℂ := + ∑ j : Fin N → Fin 12, ∫ ω, inner ℂ + ((radialTensorCoefficient N j ω : ℂ) * h ω) + (homogeneousPolarDerivative a N ha ha1 hk j u (ω, r)) ∂physicalSphereMeasure + +theorem homogeneousRadialAngularDerivative_memLp (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (u : HomogeneousY a N) : + MemLp (homogeneousRadialAngularDerivative a N ha ha1 hk h u) + 2 physicalRadiusMeasure := by + classical + apply memLp_finsetSum + intro j _ + exact homogeneousPolarDerivative_angular_memLp a N ha ha1 hk j _ + (memLp_radialTensor_test N j h hh) u + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialLaplacianGreen.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialLaplacianGreen.lean new file mode 100644 index 0000000000000000000000000000000000000000..5da09d5d39bcc50124a2356086f2257a0e319913 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialLaplacianGreen.lean @@ -0,0 +1,154 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialMeasure +import Mathlib.Analysis.Calculus.LineDeriv.IntegrationByParts +import Mathlib.Analysis.Calculus.ContDiff.Deriv + +namespace OAI + +/-! # The one-dimensional radial Green identity in dimension twelve -/ + +open Set MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +private theorem compactScalarTest_integrable (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (g : ℝ → ℂ) (hg : Continuous g) : + Integrable (fun r => φ r * g r) := + (φ.continuous.mul hg).integrable_of_hasCompactSupport hc.mul_right + +theorem compactScalarTest_first_green (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (g g' : ℝ → ℂ) + (hg : ∀ r, HasDerivAt g (g' r) r) (hg' : Continuous g') : + (∫ r, φ r * g' r) = -(∫ r, deriv φ r * g r) := by + let φ' := SchwartzMap.derivCLM ℂ ℂ φ + have hc' : HasCompactSupport φ' := hc.of_isClosed_subset isClosed_closure + (SchwartzMap.tsupport_derivCLM_subset ℂ φ) + have hgc : Continuous g := continuous_iff_continuousAt.mpr fun r => (hg r).continuousAt + exact integral_bilinear_hasDerivAt_right_eq_neg_left_of_integrable + (L := ContinuousLinearMap.mul ℝ ℂ) + (fun r _ => φ.hasDerivAt r) (fun r _ => hg r) + (compactScalarTest_integrable φ hc g' hg') + (compactScalarTest_integrable φ' hc' g hgc) + (compactScalarTest_integrable φ hc g hgc) + +private theorem deriv_radialWeighted_firstTest (φ : 𝓢(ℝ, ℂ)) (r : ℝ) : + deriv (radialWeightedSchwartzTest (SchwartzMap.derivCLM ℂ ℂ φ)) r = + 11 * (r : ℂ) ^ 10 * deriv φ r + (r : ℂ) ^ 11 * deriv (deriv φ) r := by + have hp : HasDerivAt (fun s : ℝ => (s : ℂ) ^ 11) (11 * (r : ℂ) ^ 10) r := by + convert! ((hasDerivAt_id r).ofReal_comp.pow 11) using 1 + simp + have hφ : HasDerivAt (deriv φ) (deriv (deriv φ) r) r := + ((φ.smooth 2).differentiable_deriv_two r).hasDerivAt + have he : (radialWeightedSchwartzTest (SchwartzMap.derivCLM ℂ ℂ φ) : ℝ → ℂ) = + fun s : ℝ => (s : ℂ) ^ 11 * deriv φ s := by + funext s + rw [radialWeightedSchwartzTest_apply, SchwartzMap.derivCLM_apply] + rw [he] + exact (hp.mul hφ).deriv + +/-- The radial divergence operator is symmetric against a compact smooth +test. The function being tested only needs two continuous derivatives. -/ +theorem radial_divergence_green (φ : 𝓢(ℝ, ℂ)) (hc : HasCompactSupport φ) + (A : ℝ → ℂ) (hA : ContDiff ℝ 2 A) : + (∫ r : ℝ, ((r : ℂ) ^ 11 * deriv (deriv φ) r + + 11 * (r : ℂ) ^ 10 * deriv φ r) * A r) = + ∫ r : ℝ, φ r * ((r : ℂ) ^ 11 * deriv (deriv A) r + + 11 * (r : ℂ) ^ 10 * deriv A r) := by + let φ' := SchwartzMap.derivCLM ℂ ℂ φ + let W := radialWeightedSchwartzTest φ' + let g : ℝ → ℂ := fun r => (r : ℂ) ^ 11 * deriv A r + let gd : ℝ → ℂ := fun r => 11 * (r : ℂ) ^ 10 * deriv A r + + (r : ℂ) ^ 11 * deriv (deriv A) r + have hAd : ContDiff ℝ 1 (deriv A) := hA.deriv' + have hAc := hA.continuous_deriv (by norm_num) + have hAddc := hAd.continuous_deriv (by norm_num) + have hWc : HasCompactSupport W := hc.of_isClosed_subset isClosed_closure + ((tsupport_radialWeightedSchwartzTest_subset φ').trans + (SchwartzMap.tsupport_derivCLM_subset ℂ φ)) + have hg (r : ℝ) : HasDerivAt g (gd r) r := by + have hp : HasDerivAt (fun s : ℝ => (s : ℂ) ^ 11) (11 * (r : ℂ) ^ 10) r := by + convert! ((hasDerivAt_id r).ofReal_comp.pow 11) using 1 + simp + exact hp.mul (hAd.differentiable one_ne_zero r).hasDerivAt + have hgdc : Continuous gd := by + exact ((continuous_const.mul (Complex.continuous_ofReal.pow 10)).mul hAc).add + ((Complex.continuous_ofReal.pow 11).mul hAddc) + have hfirst := compactScalarTest_first_green W hWc A (deriv A) + (fun r => (hA.differentiable (by norm_num) r).hasDerivAt) hAc + have hsecond := compactScalarTest_first_green φ hc g gd hg hgdc + calc + _ = ∫ r : ℝ, deriv W r * A r := by + apply integral_congr_ae + filter_upwards [] with r + rw [deriv_radialWeighted_firstTest] + ring + _ = -(∫ r : ℝ, W r * deriv A r) := by + simpa only [neg_neg] using congrArg Neg.neg hfirst.symm + _ = -(∫ r : ℝ, deriv φ r * g r) := by + congr 1 + apply integral_congr_ae + filter_upwards [] with r + simp only [W, φ', radialWeightedSchwartzTest_apply, SchwartzMap.derivCLM_apply, g] + ring + _ = ∫ r : ℝ, φ r * gd r := hsecond.symm + _ = _ := by + apply integral_congr_ae + filter_upwards [] with r + dsimp only [gd] + ring + +theorem radial_laplacian_green (φ : 𝓢(ℝ, ℂ)) (hc : HasCompactSupport φ) + (A : ℝ → ℂ) (hA : ContDiff ℝ 2 A) (lam : ℂ) : + (∫ r : ℝ, ((r : ℂ) ^ 11 * deriv (deriv φ) r + + 11 * (r : ℂ) ^ 10 * deriv φ r - lam * (r : ℂ) ^ 9 * φ r) * A r) = + ∫ r : ℝ, φ r * ((r : ℂ) ^ 11 * deriv (deriv A) r + + 11 * (r : ℂ) ^ 10 * deriv A r - lam * (r : ℂ) ^ 9 * A r) := by + let φ' := SchwartzMap.derivCLM ℂ ℂ φ + let φ'' := SchwartzMap.derivCLM ℂ ℂ φ' + have hc' : HasCompactSupport φ' := hc.of_isClosed_subset isClosed_closure + (SchwartzMap.tsupport_derivCLM_subset ℂ φ) + have hc'' : HasCompactSupport φ'' := hc'.of_isClosed_subset isClosed_closure + (SchwartzMap.tsupport_derivCLM_subset ℂ φ') + have hiL : Integrable (fun r : ℝ => + ((r : ℂ) ^ 11 * deriv (deriv φ) r + 11 * (r : ℂ) ^ 10 * deriv φ r) * A r) := by + convert (compactScalarTest_integrable φ'' hc'' + (fun r => (r : ℂ) ^ 11 * A r) + ((Complex.continuous_ofReal.pow 11).mul hA.continuous)).add + (compactScalarTest_integrable φ' hc' (fun r => 11 * (r : ℂ) ^ 10 * A r) + ((continuous_const.mul (Complex.continuous_ofReal.pow 10)).mul hA.continuous)) using 1 + ext r + simp only [Pi.add_apply, φ'', φ', SchwartzMap.derivCLM_apply] + change _ = deriv (deriv φ) r * ((r : ℂ) ^ 11 * A r) + + deriv φ r * (11 * (r : ℂ) ^ 10 * A r) + ring + have hiR := compactScalarTest_integrable φ hc + (fun r : ℝ => (r : ℂ) ^ 11 * deriv (deriv A) r + + 11 * (r : ℂ) ^ 10 * deriv A r) + (((Complex.continuous_ofReal.pow 11).mul + ((hA.deriv' : ContDiff ℝ 1 (deriv A)).continuous_deriv (by norm_num))).add + ((continuous_const.mul (Complex.continuous_ofReal.pow 10)).mul + (hA.continuous_deriv (by norm_num)))) + have hiH := compactScalarTest_integrable φ hc + (fun r : ℝ => lam * (r : ℂ) ^ 9 * A r) + ((continuous_const.mul (Complex.continuous_ofReal.pow 9)).mul hA.continuous) + calc + _ = (∫ r : ℝ, ((r : ℂ) ^ 11 * deriv (deriv φ) r + + 11 * (r : ℂ) ^ 10 * deriv φ r) * A r) - + ∫ r : ℝ, φ r * (lam * (r : ℂ) ^ 9 * A r) := by + rw [← integral_sub hiL hiH] + apply integral_congr_ae + filter_upwards [] with r + ring + _ = (∫ r : ℝ, φ r * ((r : ℂ) ^ 11 * deriv (deriv A) r + + 11 * (r : ℂ) ^ 10 * deriv A r)) - + ∫ r : ℝ, φ r * (lam * (r : ℂ) ^ 9 * A r) := by + rw [radial_divergence_green φ hc A hA] + _ = _ := by + rw [← integral_sub hiR hiH] + apply integral_congr_ae + filter_upwards [] with r + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialMeasure.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialMeasure.lean new file mode 100644 index 0000000000000000000000000000000000000000..4ba4b7812952ad032707fd4656ecd57d16823087 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialMeasure.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialL2 +import Mathlib.Analysis.Distribution.SchwartzSpace.Deriv + +namespace OAI + +/-! # Exact radial Jacobian and Schwartz radial tests in dimension twelve -/ + +open MeasureTheory Set LineDeriv +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +/-- The polar radial measure is precisely r¹¹ dr, with no normalization factor. -/ +theorem integral_physicalRadiusMeasure (F : ℝ → ℂ) : + (∫ r : PhysicalPositiveRadius, F r ∂physicalRadiusMeasure) = + ∫ r in Ioi (0 : ℝ), (r ^ (11 : ℕ) : ℝ) • F r := by + change (∫ r : PhysicalPositiveRadius, F r ∂(volume.comap Subtype.val).withDensity + (fun r : PhysicalPositiveRadius => ENNReal.ofReal (r.1 ^ (11 : ℕ)))) = _ + rw [integral_withDensity_eq_integral_toReal_smul + (show Measurable (fun r : PhysicalPositiveRadius => ENNReal.ofReal (r.1 ^ (11 : ℕ))) by + fun_prop) (Filter.Eventually.of_forall (fun _ => ENNReal.ofReal_lt_top))] + trans ∫ r : PhysicalPositiveRadius, (r.1 ^ (11 : ℕ)) • F r ∂volume.comap Subtype.val + · apply integral_congr_ae + filter_upwards [] with r + rw [ENNReal.toReal_ofReal (pow_nonneg (le_of_lt r.2) 11)] + · exact integral_subtype_comap (s := Ioi (0 : ℝ)) (μ := volume) measurableSet_Ioi + (fun r : ℝ => (r ^ (11 : ℕ)) • F r) + +/-- Schwartz radial tests remain square-integrable against the polar Jacobian. -/ +theorem memLp_radialSchwartz (ψ : 𝓢(ℝ, ℂ)) : + MemLp (fun r : PhysicalPositiveRadius => ψ r) 2 physicalRadiusMeasure := by + have hmeas : AEStronglyMeasurable (fun r : PhysicalPositiveRadius => ψ r) + physicalRadiusMeasure := + (ψ.continuous.comp continuous_subtype_val).aestronglyMeasurable + apply (memLp_two_iff_integrable_sq_norm hmeas).mpr + change Integrable (fun r : PhysicalPositiveRadius => ‖ψ r‖ ^ 2) + ((volume.comap Subtype.val).withDensity + (fun r : PhysicalPositiveRadius => ENNReal.ofReal (r.1 ^ (11 : ℕ)))) + apply (integrable_withDensity_iff_integrable_smul' + (show Measurable (fun r : PhysicalPositiveRadius => ENNReal.ofReal (r.1 ^ (11 : ℕ))) by + fun_prop) (Filter.Eventually.of_forall (fun _ => ENNReal.ofReal_lt_top))).mpr + have hi : Integrable (fun r : ℝ => ‖r‖ ^ (11 : ℕ) * ‖ψ r‖ ^ 2) := by + apply ((ψ.integrable_pow_mul volume 11).mul_const (SchwartzMap.seminorm ℝ 0 0 ψ)).mono' + ((continuous_norm.pow 11).mul (ψ.continuous.norm.pow 2)).aestronglyMeasurable + filter_upwards [] with r + dsimp only [Pi.mul_apply, Pi.pow_apply] + rw [Real.norm_of_nonneg (mul_nonneg (pow_nonneg (norm_nonneg r) 11) (sq_nonneg ‖ψ r‖))] + calc + ‖r‖ ^ 11 * ‖ψ r‖ ^ 2 = (‖r‖ ^ 11 * ‖ψ r‖) * ‖ψ r‖ := by ring + _ ≤ (‖r‖ ^ 11 * ‖ψ r‖) * SchwartzMap.seminorm ℝ 0 0 ψ := + mul_le_mul_of_nonneg_left (SchwartzMap.norm_le_seminorm ℝ ψ r) (by positivity) + have hs : Integrable (fun r : PhysicalPositiveRadius => ‖r.1‖ ^ 11 * ‖ψ r.1‖ ^ 2) + (volume.comap Subtype.val) := + (integrableOn_iff_comap_subtypeVal (s := Ioi (0 : ℝ)) measurableSet_Ioi).mp hi.integrableOn + apply hs.congr + filter_upwards [] with r + simp only [ENNReal.toReal_ofReal (pow_nonneg (le_of_lt r.2) 11), smul_eq_mul, + Real.norm_of_nonneg (le_of_lt r.2)] + +/-- A test supported on the positive half-line has the same full-line integral. -/ +theorem integral_Ioi_eq_of_zero_nonpositive (F : ℝ → ℂ) + (hF : ∀ r, r ≤ 0 → F r = 0) : + (∫ r in Ioi (0 : ℝ), F r) = ∫ r, F r := by + rw [← integral_indicator measurableSet_Ioi] + congr 1 + funext r + by_cases hr : 0 < r + · simp [hr] + · simp [hr, hF r (le_of_not_gt hr)] + +/-- Absorb the twelve-dimensional radial Jacobian into a Schwartz test. -/ +noncomputable def radialWeightedSchwartzTest (ψ : 𝓢(ℝ, ℂ)) : 𝓢(ℝ, ℂ) := + SchwartzMap.smulLeftCLM ℂ (fun r : ℝ => (r : ℂ) ^ (11 : ℕ)) ψ + +@[simp] theorem radialWeightedSchwartzTest_apply (ψ : 𝓢(ℝ, ℂ)) (r : ℝ) : + radialWeightedSchwartzTest ψ r = (r : ℂ) ^ (11 : ℕ) * ψ r := by + exact SchwartzMap.smulLeftCLM_apply_apply + (Complex.hasTemperateGrowth_ofReal.pow 11) ψ r + +/-- The transposed radial derivative includes the exact Jacobian. -/ +noncomputable def radialTransposedTest (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) : 𝓢(ℝ, ℂ) := + ∂^{fun _ : Fin N => (1 : ℝ)} (radialWeightedSchwartzTest ψ) + +theorem tsupport_radialWeightedSchwartzTest_subset (ψ : 𝓢(ℝ, ℂ)) : + tsupport (radialWeightedSchwartzTest ψ) ⊆ tsupport ψ := by + apply closure_mono + intro r hr + contrapose! hr + simp only [Function.mem_support, ne_eq] at hr ⊢ + simp [hr] + +theorem tsupport_radialTransposedTest_subset (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) : + tsupport (radialTransposedTest N ψ) ⊆ tsupport ψ := + (SchwartzMap.tsupport_iteratedLineDerivOp_subset _ _).trans + (tsupport_radialWeightedSchwartzTest_subset ψ) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialPairL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialPairL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..24318629239738d30606547fe0b62ccfc79f4d1a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialPairL2.lean @@ -0,0 +1,91 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDefectEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFastTail + +namespace OAI + +/-! # The two-channel radial L² obstruction + +A lower bound for the sum of the two squared amplitudes already excludes +joint square integrability. No fixed choice of a dominant channel is needed. +-/ + +open Set MeasureTheory Filter Topology + +namespace DefocusingNLS + +theorem radial_pair_energy_integrable (f g : ℝ → ℂ) (R : ℝ) + (hf : IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R)) + (hg : IntegrableOn (fun r => r ^ (11 : ℕ) * ‖g r‖ ^ 2) (Ioi R)) : + IntegrableOn (fun r => r ^ (11 : ℕ) * homogeneousPairEnergy (f r, g r)) (Ioi R) := by + convert! hf.add hg using 1 + ext r + simp only [homogeneousPairEnergy_eq_norms, Pi.add_apply] + ring + +theorem radial_pair_not_integrable_of_energy_lower + (f g : ℝ → ℂ) (R beta c : ℝ) (hc : 0 < c) (hb : -6 ≤ beta) + (hlower : ∀ᶠ r in atTop, c * r ^ (2 * beta) ≤ homogeneousPairEnergy (f r, g r)) : + ¬ (IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R) ∧ + IntegrableOn (fun r => r ^ (11 : ℕ) * ‖g r‖ ^ 2) (Ioi R)) := by + rintro ⟨hf, hg⟩ + have hE := radial_pair_energy_integrable f g R hf hg + obtain ⟨T, hT⟩ := eventually_atTop.1 hlower + let A := max (max R T) 1 + have hAR : R ≤ A := (le_max_left R T).trans (le_max_left _ _) + have hAT : T ≤ A := (le_max_right R T).trans (le_max_left _ _) + have hA : 0 < A := zero_lt_one.trans_le (le_max_right _ _) + have hsmall : IntegrableOn (fun r : ℝ => c * r ^ (11 + 2 * beta)) (Ioi A) := by + apply (hE.mono_set (Ioi_subset_Ioi hAR)).mono' + · exact (measurable_const.mul (measurable_id.pow_const _)).aestronglyMeasurable + filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr + have hr0 : 0 < r := hA.trans hr + have hp : c * r ^ (11 + 2 * beta) = r ^ (11 : ℕ) * (c * r ^ (2 * beta)) := by + rw [Real.rpow_add hr0] + simp only [Real.rpow_ofNat] + ring + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity), hp] + exact mul_le_mul_of_nonneg_left (hT r (hAT.trans hr.le)) (by positivity) + have hpower : IntegrableOn (fun r : ℝ => r ^ (11 + 2 * beta)) (Ioi A) := by + have h := hsmall.const_mul c⁻¹ + simpa only [IntegrableOn, ← mul_assoc, inv_mul_cancel₀ hc.ne', one_mul] using h + exact (not_integrableOn_Ioi_rpow_of_neg_one_le (a := A) (by linarith)) hpower + +theorem radial_pair_not_integrable_of_norm_lower + (f g : ℝ → ℂ) (R beta c : ℝ) (hc : 0 < c) (hb : -6 ≤ beta) + (hlower : ∀ᶠ r in atTop, c * r ^ beta ≤ ‖(f r, g r)‖) : + ¬ (IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R) ∧ + IntegrableOn (fun r => r ^ (11 : ℕ) * ‖g r‖ ^ 2) (Ioi R)) := by + apply radial_pair_not_integrable_of_energy_lower f g R beta (c ^ 2) (by positivity) hb + filter_upwards [hlower, eventually_gt_atTop (0 : ℝ)] with r hr hr0 + have hs := (sq_le_sq₀ (by positivity : 0 ≤ c * r ^ beta) (norm_nonneg _)).2 hr + have hp : c ^ 2 * r ^ (2 * beta) = (c * r ^ beta) ^ 2 := by + rw [mul_comm (2 : ℝ) beta, Real.rpow_mul hr0.le, Real.rpow_ofNat, mul_pow] + rw [hp] + exact hs.trans (homogeneousPairEnergy_lower _) + +/-- Transfer a nonzero-defect energy lower bound through a derivative estimate. -/ +theorem radial_pair_not_integrable_of_defect_bound + (f g : ℝ → ℂ) (E : ℝ → ℝ) (R beta d c C : ℝ) + (hc : 0 < c) (hC : 0 < C) (hb : -6 ≤ beta - d) + (hElower : ∀ᶠ r in atTop, c ≤ r ^ (2 * d) * E r) + (hderiv : ∀ᶠ r in atTop, r ^ (2 * beta) * E r ≤ C * homogeneousPairEnergy (f r, g r)) : + ¬ (IntegrableOn (fun r => r ^ (11 : ℕ) * ‖f r‖ ^ 2) (Ioi R) ∧ + IntegrableOn (fun r => r ^ (11 : ℕ) * ‖g r‖ ^ 2) (Ioi R)) := by + apply radial_pair_not_integrable_of_energy_lower f g R (beta - d) (c / C) + (div_pos hc hC) hb + filter_upwards [hElower, hderiv, eventually_gt_atTop (0 : ℝ)] with r hE hD hr + have hp : r ^ (2 * (beta - d)) * r ^ (2 * d) = r ^ (2 * beta) := by + rw [← Real.rpow_add hr] + congr 1 + ring + have h := mul_le_mul_of_nonneg_left hE (Real.rpow_nonneg hr.le (2 * (beta - d))) + rw [← mul_assoc, hp] at h + apply (mul_le_mul_iff_right₀ hC).mp + calc + C * (c / C * r ^ (2 * (beta - d))) = c * r ^ (2 * (beta - d)) := by field_simp + _ ≤ r ^ (2 * beta) * E r := by simpa only [mul_comm c] using h + _ ≤ C * homogeneousPairEnergy (f r, g r) := hD + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialPowerCalculus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialPowerCalculus.lean new file mode 100644 index 0000000000000000000000000000000000000000..2382bb23730cb2d41ed0181178e3f5f6a61c8899 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialPowerCalculus.lean @@ -0,0 +1,77 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicTestCalculus +import Mathlib.Analysis.SpecialFunctions.Pow.Deriv + +namespace OAI + +/-! # Real powers of the squared radius away from the origin -/ + +open Set Filter Topology +open scoped ContDiff Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def physicalRadiusPower (c : ℝ) (x : E) : ℂ := + ((‖x‖ ^ 2) ^ c : ℝ) + +theorem realPowerComplex_contDiffAt (c s : ℝ) (hs : s ≠ 0) : + ContDiffAt ℝ ∞ (fun t : ℝ => ((t ^ c : ℝ) : ℂ)) s := + Complex.ofRealCLM.contDiff.contDiffAt.comp s (Real.contDiffAt_rpow_const_of_ne hs) + +theorem realPowerComplex_deriv (c s : ℝ) (hs : s ≠ 0) : + deriv (fun t : ℝ => ((t ^ c : ℝ) : ℂ)) s = (c : ℂ) * (s ^ (c - 1) : ℝ) := by + simpa only [Complex.ofReal_mul] using + (Real.hasDerivAt_rpow_const (p := c) (Or.inl hs)).ofReal_comp.deriv + +theorem realPowerComplex_deriv_two (c s : ℝ) (hs : s ≠ 0) : + deriv (deriv (fun t : ℝ => ((t ^ c : ℝ) : ℂ))) s = + (c : ℂ) * ((c - 1 : ℝ) : ℂ) * (s ^ ((c - 1) - 1) : ℝ) := by + have he : deriv (fun t : ℝ => ((t ^ c : ℝ) : ℂ)) =ᶠ[𝓝 s] + (fun t : ℝ => (c : ℂ) * (t ^ (c - 1) : ℝ)) := by + filter_upwards [eventually_ne_nhds hs] with t ht + exact realPowerComplex_deriv c t ht + rw [he.deriv_eq] + simpa only [Complex.ofReal_mul, mul_assoc] using + ((Real.hasDerivAt_rpow_const (p := c - 1) (Or.inl hs)).ofReal_comp.const_mul + (c : ℂ)).deriv + +theorem physicalRadiusPower_contDiffAt (c : ℝ) (x : E) (hx : x ≠ 0) : + ContDiffAt ℝ ∞ (physicalRadiusPower c) x := by + change ContDiffAt ℝ ∞ (fun y : E => (((‖y‖ ^ 2) ^ c : ℝ) : ℂ)) x + have h := (realPowerComplex_contDiffAt c (‖x‖ ^ 2) + (pow_ne_zero _ (norm_ne_zero_iff.mpr hx))).comp x (contDiff_norm_sq ℝ).contDiffAt + simpa only [Function.comp_def] using h + +theorem physicalRadiusPower_fderiv (c : ℝ) (x v : E) (hx : x ≠ 0) : + fderiv ℝ (physicalRadiusPower c) x v = + 2 * (c : ℂ) * (inner ℝ x v : ℂ) / (‖x‖ ^ 2 : ℝ) * physicalRadiusPower c x := by + have hs : ‖x‖ ^ 2 ≠ 0 := pow_ne_zero _ (norm_ne_zero_iff.mpr hx) + change fderiv ℝ (fun y : E => (((‖y‖ ^ 2) ^ c : ℝ) : ℂ)) x v = _ + rw [radialSquareLift_fderiv _ x v + ((realPowerComplex_contDiffAt c _ hs).differentiableAt (by simp)), + realPowerComplex_deriv c _ hs, Real.rpow_sub_one hs] + simp only [physicalRadiusPower, Complex.ofReal_mul, Complex.ofReal_div, + Complex.ofReal_ofNat] + ring + +theorem physicalRadiusPower_laplacian (c : ℝ) (x : E) (hx : x ≠ 0) : + Δ (physicalRadiusPower c) x = + (4 * (c : ℂ) * ((c + 5 : ℝ) : ℂ) / (‖x‖ ^ 2 : ℝ)) * + physicalRadiusPower c x := by + have hs : ‖x‖ ^ 2 ≠ 0 := pow_ne_zero _ (norm_ne_zero_iff.mpr hx) + have hsc : ((‖x‖ ^ 2 : ℝ) : ℂ) ≠ 0 := by exact_mod_cast hs + change Δ (fun y : E => (((‖y‖ ^ 2) ^ c : ℝ) : ℂ)) x = _ + rw [radialSquareLift_laplacian _ x + ((realPowerComplex_contDiffAt c _ hs).of_le (by simp)), + realPowerComplex_deriv c _ hs, realPowerComplex_deriv_two c _ hs, + Real.rpow_sub_one hs (c - 1), Real.rpow_sub_one hs c] + simp only [physicalRadiusPower, Complex.ofReal_mul, Complex.ofReal_div, + Complex.ofReal_add, Complex.ofReal_sub, Complex.ofReal_ofNat, Complex.ofReal_one, + Complex.ofReal_pow] + field_simp [hsc] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialRiccati.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialRiccati.lean new file mode 100644 index 0000000000000000000000000000000000000000..19c82cb744030f6352cd9be0c47bc91b0839d5fd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialRiccati.lean @@ -0,0 +1,117 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialDefect +import Mathlib.Analysis.Calculus.Deriv.Prod +import Mathlib.Analysis.Calculus.Deriv.Inv + +namespace OAI + +/-! # The Riccati identity of the actual outgoing columns + +No inverse derivative formula is assumed. Differentiate `A Φ = Φ'`, +then use invertibility of the two value columns to obtain the Riccati +equation from their original second-order ODE. +-/ + +open Filter Topology + +namespace DefocusingNLS + +local notation "V" => ℂ × ℂ +local notation "End" => V →L[ℂ] V + +theorem homogeneousTwoColumns_hasDerivAt (u v : ℝ → V) (u' v' : V) (r : ℝ) + (hu : HasDerivAt u u' r) (hv : HasDerivAt v v' r) : + HasDerivAt (fun t => spectralTwoColumns (u t) (v t)) + (spectralTwoColumns u' v') r := by + have hp := ((ContinuousLinearMap.smulRightL ℂ V V + (ContinuousLinearMap.fst ℂ ℂ ℂ)).restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt r hu + have hm := ((ContinuousLinearMap.smulRightL ℂ V V + (ContinuousLinearMap.snd ℂ ℂ ℂ)).restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt r hv + exact hp.add hm + +theorem homogeneousValueInverse_differentiableAt (u v : ℝ → V) (u' v' : V) (r : ℝ) + (hu : HasDerivAt u u' r) (hv : HasDerivAt v v' r) + (hd : spectralValueDet (u r) (v r) ≠ 0) : + DifferentiableAt ℝ (fun t => spectralValueInverse (u t) (v t)) r := by + have hdet : HasDerivAt (fun t => spectralValueDet (u t) (v t)) + (u'.1 * (v r).2 + (u r).1 * v'.2 - + (u'.2 * (v r).1 + (u r).2 * v'.1)) r := by + exact ((homogeneousPair_fst_hasDerivAt hu).mul (homogeneousPair_snd_hasDerivAt hv)).sub + ((homogeneousPair_snd_hasDerivAt hu).mul (homogeneousPair_fst_hasDerivAt hv)) + have hadj := homogeneousTwoColumns_hasDerivAt + (fun t => ((v t).2, -(u t).2)) (fun t => (-(v t).1, (u t).1)) + (v'.2, -u'.2) (-v'.1, u'.1) r + ((homogeneousPair_snd_hasDerivAt hv).prodMk (homogeneousPair_snd_hasDerivAt hu).neg) + ((homogeneousPair_fst_hasDerivAt hv).neg.prodMk (homogeneousPair_fst_hasDerivAt hu)) + exact ((hdet.inv hd).smul hadj).differentiableAt + +theorem homogeneousTwoColumns_surjective (u v : V) + (hd : spectralValueDet u v ≠ 0) : Function.Surjective (spectralTwoColumns u v) := by + apply LinearMap.surjective_of_injective (f := (spectralTwoColumns u v).toLinearMap) + exact (show Function.LeftInverse (spectralValueInverse u v) (spectralTwoColumns u v) from + fun z => spectralValueInverse_apply_columns u v z hd).injective + +theorem homogeneousRadialRiccati_from_columns + (B C : End) (u v du dv : ℝ → V) (r : ℝ) + (hu : HasDerivAt u (du r) r) (hv : HasDerivAt v (dv r) r) + (hdu : HasDerivAt du (-B (du r) - C (u r)) r) + (hdv : HasDerivAt dv (-B (dv r) - C (v r)) r) + (hd : spectralValueDet (u r) (v r) ≠ 0) : + let A := fun t => spectralRobinOperator (u t) (v t) (du t) (dv t) + HasDerivAt A (-B * A r - C - A r * A r) r := by + intro A + let F := fun t => spectralTwoColumns (u t) (v t) + let D := fun t => spectralTwoColumns (du t) (dv t) + have hF : HasDerivAt F (D r) r := homogeneousTwoColumns_hasDerivAt u v _ _ r hu hv + have hD : HasDerivAt D (-B * D r - C * F r) r := by + apply (homogeneousTwoColumns_hasDerivAt du dv _ _ r hdu hdv).congr_deriv + apply ContinuousLinearMap.ext + intro z + simp only [D, F, spectralTwoColumns_apply, sub_apply, neg_apply, mul_apply_eq_comp, + map_add, map_smul, smul_sub, smul_neg] + abel + have hA : DifferentiableAt ℝ A r := by + have hi := homogeneousValueInverse_differentiableAt u v _ _ r hu hv hd + change DifferentiableAt ℝ (fun t => D t * spectralValueInverse (u t) (v t)) r + exact hD.differentiableAt.mul hi + have hdetc : ContinuousAt (fun t => spectralValueDet (u t) (v t)) r := + (hu.continuousAt.fst.mul hv.continuousAt.snd).sub + (hu.continuousAt.snd.mul hv.continuousAt.fst) + have hAD : (fun t => A t * F t) =ᶠ[𝓝 r] D := by + filter_upwards [hdetc.eventually (eventually_ne_nhds hd)] with t ht + apply ContinuousLinearMap.ext + intro z + exact spectralRobinOperator_columns (u t) (v t) (du t) (dv t) z ht + have hder : deriv A r * F r + A r * D r = -B * D r - C * F r := + (hA.hasDerivAt.mul hF).unique (hD.congr_of_eventuallyEq hAD) + have hArF : A r * F r = D r := hAD.self_of_nhds + have hR : deriv A r = -B * A r - C - A r * A r := by + apply ContinuousLinearMap.ext + intro x + obtain ⟨z, rfl⟩ := homogeneousTwoColumns_surjective (u r) (v r) hd x + have hz := congrArg (fun L : End => L z) hder + have hzD := congrArg (fun L : End => L z) hArF + simp only [mul_apply_eq_comp] at hzD + change A r (F r z) = D r z at hzD + simp only [add_apply, sub_apply, neg_apply, mul_apply_eq_comp] at hz ⊢ + change deriv A r (F r z) + A r (D r z) = -B (D r z) - C (F r z) at hz + rw [← hzD] at hz + exact (eq_sub_iff_add_eq).mpr hz + exact hA.hasDerivAt.congr_deriv hR + +theorem homogeneousRadialDefect_from_columns + (B C : End) (u v du dv U V' : ℝ → V) (r : ℝ) + (hu : HasDerivAt u (du r) r) (hv : HasDerivAt v (dv r) r) + (hdu : HasDerivAt du (-B (du r) - C (u r)) r) + (hdv : HasDerivAt dv (-B (dv r) - C (v r)) r) + (hd : spectralValueDet (u r) (v r) ≠ 0) + (hU : HasDerivAt U (V' r) r) (hV : HasDerivAt V' (-B (V' r) - C (U r)) r) : + let A := fun t => spectralRobinOperator (u t) (v t) (du t) (dv t) + HasDerivAt (homogeneousRadialDefect A U V') + (-(B + A r) (homogeneousRadialDefect A U V' r)) r := by + intro A + exact homogeneousRadialDefect_hasDerivAt B C A U V' r hU hV + (homogeneousRadialRiccati_from_columns B C u v du dv r hu hv hdu hdv hd) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSchwartz.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSchwartz.lean new file mode 100644 index 0000000000000000000000000000000000000000..c5da064b8e6b5b767efaf819ec9da017f4b01af2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSchwartz.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialL2 +import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas + +namespace OAI + +/-! # Radial Schwartz derivatives are Cartesian tensor contractions + +This is the dense-domain identity for the completed radial derivative. +-/ + +open MeasureTheory Set LineDeriv +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +/-- The ordinary radial derivative is the contraction of the Cartesian jet +against the unit vector, with no lower-order correction terms. -/ +theorem schwartz_radial_iteratedDeriv (N : ℕ) (f : 𝓢(E, ℂ)) + (ω : PhysicalUnitSphere) (r : ℝ) : + iteratedDeriv N (fun t : ℝ => f (t • ω.1)) r = + ∑ j : Fin N → Fin 12, + (radialTensorCoefficient N j ω : ℂ) * + homogeneousOrderedDerivative N j f (r • ω.1) := by + have hw : ‖ω.1‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using ω.2 + let L : ℝ →L[ℝ] E := (LinearIsometry.toSpanSingleton ℝ E hw).toContinuousLinearMap + have hL := L.iteratedFDeriv_comp_right (f.smooth ⊤) r (i := N) (by simp) + have hjet : iteratedDeriv N (fun t : ℝ => f (t • ω.1)) r = + iteratedFDeriv ℝ N f (r • ω.1) (fun _ => ω.1) := by + change iteratedFDeriv ℝ N (f ∘ L) r (fun _ => (1 : ℝ)) = _ + rw [hL] + simp only [ContinuousMultilinearMap.compContinuousLinearMap_apply, + L, LinearIsometry.coe_toContinuousLinearMap, LinearIsometry.toSpanSingleton_apply, + one_smul] + rw [hjet] + have hb : (∑ j : Fin 12, ω.1 j • (EuclideanSpace.basisFun (Fin 12) ℝ) j) = ω.1 := by + simpa only [EuclideanSpace.basisFun_repr] using + (EuclideanSpace.basisFun (Fin 12) ℝ).sum_repr ω.1 + calc + _ = iteratedFDeriv ℝ N f (r • ω.1) + (fun _ : Fin N => ∑ j : Fin 12, ω.1 j • (EuclideanSpace.basisFun (Fin 12) ℝ) j) := by + rw [hb] + _ = ∑ j : Fin N → Fin 12, (∏ i, ω.1 (j i)) • + iteratedFDeriv ℝ N f (r • ω.1) + (fun i => (EuclideanSpace.basisFun (Fin 12) ℝ) (j i)) := by + rw [ContinuousMultilinearMap.map_sum] + apply Finset.sum_congr rfl + intro j _ + exact ContinuousMultilinearMap.map_smul_univ _ _ _ + _ = _ := by + apply Finset.sum_congr rfl + intro j _ + rw [← SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv] + rfl + + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSmoothL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSmoothL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..3d76d44825555751c0a8438e6444de7bc18b954f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSmoothL2.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialIdentification +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFastTail + +namespace OAI + +/-! # Smooth radial channels of homogeneous-space vectors + +Exterior ODE regularity supplies smoothness. The completed Fourier norm then +forces the classical top radial derivative to lie in L²(r¹¹dr), excluding +the nonintegrable fast asymptotic coefficient. +-/ + +open MeasureTheory Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +theorem hasDerivAt_iteratedDeriv_on_open (U : Set ℝ) (hU : IsOpen U) + (f : ℝ → ℂ) (hf : ContDiffOn ℝ ∞ f U) (j : ℕ) (r : ℝ) (hr : r ∈ U) : + HasDerivAt (iteratedDeriv j f) (iteratedDeriv (j + 1) f r) r := by + have hd := hf.differentiableOn_iteratedDerivWithin (m := j) + (by exact_mod_cast ENat.natCast_lt_top j) hU.uniqueDiffOn + have he : DifferentiableOn ℝ (iteratedDeriv j f) U := hd.congr + (fun x hx => (iteratedDerivWithin_of_isOpen hU hx).symm) + simpa only [iteratedDeriv_succ] using + ((he r hr).differentiableAt (hU.mem_nhds hr)).hasDerivAt + +/-- Smoothness only on the exterior suffices for the exact weighted L² bound. -/ +theorem homogeneousAngularProjection_iteratedDeriv_integrable + (a : ℝ) (N : ℕ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (u : HomogeneousY a N) (R : ℝ) (hR : 0 ≤ R) + (hsmooth : ContDiffOn ℝ ∞ (homogeneousAngularProjection a N ha ha1 hk h u) (Ioi R)) : + IntegrableOn (fun r : ℝ => r ^ (11 : ℕ) * + ‖iteratedDeriv N (homogeneousAngularProjection a N ha ha1 hk h u) r‖ ^ 2) (Ioi R) := by + apply homogeneousRadial_classical_weighted_square a N ha ha1 hk h hh u R hR + (fun j => iteratedDeriv j (homogeneousAngularProjection a N ha ha1 hk h u)) + · intro j r hr + exact hasDerivAt_iteratedDeriv_on_open (Ioi R) isOpen_Ioi _ hsmooth j r hr + · funext r + rfl + +/-- A fast-mode asymptotic at or above the radial L² threshold must have +zero coefficient for a genuine homogeneous-space vector. -/ +theorem homogeneousAngularProjection_fast_coefficient_zero + (a : ℝ) (N : ℕ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (u : HomogeneousY a N) (R : ℝ) (hR : 0 ≤ R) + (hsmooth : ContDiffOn ℝ ∞ (homogeneousAngularProjection a N ha ha1 hk h u) (Ioi R)) + (β c : ℝ) (hβ : -6 ≤ β) (hc : 0 ≤ c) + (hlim : Tendsto (fun r => + ‖iteratedDeriv N (homogeneousAngularProjection a N ha ha1 hk h u) r‖ / r ^ β) + atTop (𝓝 c)) : c = 0 := + radial_weighted_limit_eq_zero _ R β c hβ hc + (homogeneousAngularProjection_iteratedDeriv_integrable a N ha ha1 hk h hh u R hR hsmooth) + hlim + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSquareTest.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSquareTest.lean new file mode 100644 index 0000000000000000000000000000000000000000..837a5d09901c47bf369518de5cfb1dda13729ff7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialSquareTest.lean @@ -0,0 +1,128 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicWeakLaplacian +import Mathlib.Analysis.SpecialFunctions.Sqrt +import Mathlib.Analysis.Calculus.IteratedDeriv.FaaDiBruno + +namespace OAI + +/-! # Every annular test is a smooth test of the squared radius + +The scalar test vanishes near zero, so its square-root pullback is smooth +on the whole line. This removes the squared-radius restriction in the +Cartesian-to-radial weak Laplacian identity. +-/ + +open Set Filter Topology +open scoped ContDiff SchwartzMap + +namespace DefocusingNLS + +noncomputable def radialSquarePullback (φ : 𝓢(ℝ, ℂ)) (s : ℝ) : ℂ := + φ (Real.sqrt s) + +theorem radialSquarePullback_contDiff (φ : 𝓢(ℝ, ℂ)) + (hs : tsupport φ ⊆ Ioi (0 : ℝ)) : + ContDiff ℝ ∞ (radialSquarePullback φ) := by + apply contDiff_iff_contDiffAt.mpr + intro s + by_cases hz : s = 0 + · subst s + have hzero : (0 : ℝ) ∉ tsupport φ := fun h => (lt_irrefl 0) (Set.mem_Ioi.mp (hs h)) + have he : radialSquarePullback φ =ᶠ[𝓝 0] (fun _ => (0 : ℂ)) := by + have ht := notMem_tsupport_iff_eventuallyEq.mp hzero + have hsqrt : Tendsto Real.sqrt (𝓝 (0 : ℝ)) (𝓝 0) := by + simpa only [Real.sqrt_zero] using Real.continuous_sqrt.tendsto (0 : ℝ) + exact ht.comp_tendsto hsqrt + exact contDiffAt_const.congr_of_eventuallyEq he + · exact (φ.smooth ⊤).contDiffAt.comp s (Real.contDiffAt_sqrt hz) + +theorem tsupport_radialSquarePullback (φ : 𝓢(ℝ, ℂ)) + (hs : tsupport φ ⊆ Ioi (0 : ℝ)) : + tsupport (radialSquarePullback φ) ⊆ Ioi (0 : ℝ) := by + intro s hs' + have hmem : Real.sqrt s ∈ tsupport φ := + tsupport_comp_subset_preimage φ Real.continuous_sqrt hs' + exact Real.sqrt_pos.mp (hs hmem) + +theorem radialSquarePullback_hasCompactSupport (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) : + HasCompactSupport (radialSquarePullback φ) := by + obtain ⟨B, hB⟩ := hc.isBounded.exists_norm_le + apply HasCompactSupport.of_support_subset_isCompact + (isCompact_closedBall (0 : ℝ) ((max B 1) ^ 2)) + intro s hs' + have hφ : Real.sqrt s ∈ Function.support φ := hs' + have hpos : 0 < s := Real.sqrt_pos.mp (hs (subset_tsupport φ hφ)) + have hb : Real.sqrt s ≤ max B 1 := by + have := hB (Real.sqrt s) (subset_tsupport φ hφ) + simpa only [Real.norm_eq_abs, abs_of_nonneg (Real.sqrt_nonneg s)] using + this.trans (le_max_left B 1) + have hsq := pow_le_pow_left₀ (Real.sqrt_nonneg s) hb 2 + rw [Real.sq_sqrt hpos.le] at hsq + simpa only [Metric.mem_closedBall, dist_zero_right, Real.norm_eq_abs, + abs_of_pos hpos] using hsq + +noncomputable def radialSquareSchwartz (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) : 𝓢(ℝ, ℂ) := + (radialSquarePullback_hasCompactSupport φ hc hs).toSchwartzMap + (radialSquarePullback_contDiff φ hs) + +@[simp] theorem radialSquareSchwartz_apply (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) (s : ℝ) : + radialSquareSchwartz φ hc hs s = φ (Real.sqrt s) := rfl + +theorem radialSquareSchwartz_square (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) + (r : ℝ) (hr : 0 < r) : radialSquareSchwartz φ hc hs (r ^ 2) = φ r := by + simp only [radialSquareSchwartz_apply, Real.sqrt_sq hr.le] + +/-- Exact derivative conversion, without dividing at the origin. -/ +theorem radialSquareSchwartz_derivatives (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) + (r : ℝ) (hr : 0 < r) : + deriv φ r = ((2 * r : ℝ) : ℂ) * deriv (radialSquareSchwartz φ hc hs) (r ^ 2) ∧ + deriv (deriv φ) r = ((4 * r ^ 2 : ℝ) : ℂ) * + deriv (deriv (radialSquareSchwartz φ hc hs)) (r ^ 2) + + 2 * deriv (radialSquareSchwartz φ hc hs) (r ^ 2) := by + let ψ := radialSquareSchwartz φ hc hs + have hq : ContDiffAt ℝ 2 ψ (r ^ 2) := (ψ.smooth 2).contDiffAt + have he : (fun s : ℝ => ψ (s ^ 2)) =ᶠ[𝓝 r] φ := by + filter_upwards [Ioi_mem_nhds hr] with s hs' + exact radialSquareSchwartz_square φ hc hs s hs' + constructor + · rw [← he.deriv_eq] + have h := hq.differentiableAt (by norm_num) |>.hasDerivAt + simpa [Function.comp_def, Complex.real_smul] using + (h.scomp (h := fun s : ℝ => s ^ 2) r ((hasDerivAt_id r).pow 2)).deriv + · have h := iteratedDeriv_scomp_two (g := ψ) (f := fun s : ℝ => s ^ 2) + (x := r) hq (contDiffAt_id.pow 2) + have hfirst : deriv (fun s : ℝ => s ^ 2) = fun s => 2 * s := by + funext s + simp + have hsecond : deriv (deriv (fun s : ℝ => s ^ 2)) r = 2 := by + rw [hfirst] + simpa only [mul_one, id_eq] using ((hasDerivAt_id r).const_mul 2).deriv + simp only [iteratedDeriv_succ, iteratedDeriv_zero, Function.comp_def] at h + rw [hsecond, hfirst] at h + rw [← he.deriv.deriv_eq, h] + simp only [Complex.real_smul] + push_cast + ring + +theorem radialSquareSchwartz_laplacian_test (φ : 𝓢(ℝ, ℂ)) + (hc : HasCompactSupport φ) (hs : tsupport φ ⊆ Ioi (0 : ℝ)) + (lam : ℂ) (r : ℝ) (hr : 0 < r) : + ((4 * r ^ 2 : ℝ) : ℂ) * deriv (deriv (radialSquareSchwartz φ hc hs)) (r ^ 2) + + 24 * deriv (radialSquareSchwartz φ hc hs) (r ^ 2) - + lam / (r ^ 2 : ℝ) * radialSquareSchwartz φ hc hs (r ^ 2) = + deriv (deriv φ) r + ((11 / r : ℝ) : ℂ) * deriv φ r - + lam / (r ^ 2 : ℝ) * φ r := by + obtain ⟨hfirst, hsecond⟩ := radialSquareSchwartz_derivatives φ hc hs r hr + rw [radialSquareSchwartz_square φ hc hs r hr, hfirst, hsecond] + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr.ne' + push_cast + field_simp [hrC] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialTestPairing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialTestPairing.lean new file mode 100644 index 0000000000000000000000000000000000000000..e9a5dfd3420eb3a1893f54693083e6dc720c7395 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialTestPairing.lean @@ -0,0 +1,139 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialL2 + +namespace OAI + +/-! # Bounded radial test functionals on the actual homogeneous completion + +Tensor-product tests turn the completed Cartesian derivatives into bounded +functionals. Their exact radial integral formula is the bridge used when +passing radial integration by parts through the Schwartz completion. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +/-- On the dense Schwartz domain the polar completion agrees with the +ordinary Cartesian derivative pulled back along the polar map. -/ +theorem homogeneousPolarDerivative_Schwartz_ae (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (j : Fin N → Fin 12) (f : SchwartzMap (EuclideanSpace ℝ (Fin 12)) ℂ) : + homogeneousPolarDerivative a N ha ha1 hk j + (homogeneousSchwartzEmbedding a N ha ha1 hk f) =ᵐ[physicalPolarMeasure] + fun p => homogeneousOrderedDerivative N j f (p.2.1 • p.1.1) := by + change physicalPolarL2 (homogeneousPhysicalDerivative a N ha ha1 hk j + (homogeneousSchwartzEmbedding a N ha ha1 hk f)) =ᵐ[physicalPolarMeasure] _ + rw [homogeneousPhysicalDerivative_Schwartz] + have h := physicalPolarL2_ae (homogeneousOrderedDerivativeL2 N j f) + have hc := measurePreserving_physicalPolarPoint.quasiMeasurePreserving.ae_eq_comp + (SchwartzMap.coeFn_toLp (homogeneousOrderedDerivative N j f) 2 volume) + exact h.trans hc + +/-- Square-integrable radial and angular factors give a polar L² test. -/ +theorem memLp_polarProductTest (h : PhysicalUnitSphere → ℂ) + (ψ : PhysicalPositiveRadius → ℂ) + (hh : MemLp h 2 physicalSphereMeasure) (hψ : MemLp ψ 2 physicalRadiusMeasure) : + MemLp (fun p : PhysicalUnitSphere × PhysicalPositiveRadius => + h p.1 * star (ψ p.2)) 2 physicalPolarMeasure := by + have hm := hh.aestronglyMeasurable.comp_fst.mul hψ.aestronglyMeasurable.star.comp_snd + apply (memLp_two_iff_integrable_sq_norm hm).mpr + have hi := ((memLp_two_iff_integrable_sq_norm hh.aestronglyMeasurable).mp hh).mul_prod + ((memLp_two_iff_integrable_sq_norm hψ.aestronglyMeasurable).mp hψ) + simpa only [Pi.mul_apply, Pi.star_apply, Function.comp_apply, norm_mul, norm_star, mul_pow] using hi + +noncomputable def polarProductTest (h : PhysicalUnitSphere → ℂ) + (ψ : PhysicalPositiveRadius → ℂ) + (hh : MemLp h 2 physicalSphereMeasure) (hψ : MemLp ψ 2 physicalRadiusMeasure) : + Lp ℂ 2 physicalPolarMeasure := + (memLp_polarProductTest h ψ hh hψ).toLp (fun p => h p.1 * star (ψ p.2)) + +private theorem integrable_polarTestPair (h : PhysicalUnitSphere → ℂ) + (ψ : PhysicalPositiveRadius → ℂ) + (hh : MemLp h 2 physicalSphereMeasure) (hψ : MemLp ψ 2 physicalRadiusMeasure) + (F : Lp ℂ 2 physicalPolarMeasure) : + Integrable (fun p : PhysicalUnitSphere × PhysicalPositiveRadius => + inner ℂ (h p.1 * star (ψ p.2)) (F p)) physicalPolarMeasure := by + apply (L2.integrable_inner (𝕜 := ℂ) (polarProductTest h ψ hh hψ) F).congr + filter_upwards [(memLp_polarProductTest h ψ hh hψ).coeFn_toLp] with p hp + change polarProductTest h ψ hh hψ p = _ at hp + rw [hp] + +private theorem inner_polarTest (c ψ z : ℂ) : + inner ℂ (c * star ψ) z = ψ * inner ℂ c z := by + simp only [RCLike.inner_apply'] + change star (c * star ψ) * z = ψ * (star c * z) + rw [star_mul, star_star] + ring + +/-- The test functional is exactly the radial integral of its angular projection. -/ +theorem polarProductTest_pairing (h : PhysicalUnitSphere → ℂ) + (ψ : PhysicalPositiveRadius → ℂ) + (hh : MemLp h 2 physicalSphereMeasure) (hψ : MemLp ψ 2 physicalRadiusMeasure) + (F : Lp ℂ 2 physicalPolarMeasure) : + inner ℂ (polarProductTest h ψ hh hψ) F = + ∫ r, ψ r * (∫ ω, inner ℂ (h ω) (F (ω, r)) ∂physicalSphereMeasure) + ∂physicalRadiusMeasure := by + rw [L2.inner_def] + have he : (∫ p, inner ℂ (polarProductTest h ψ hh hψ p) (F p) + ∂physicalPolarMeasure) = + ∫ p : PhysicalUnitSphere × PhysicalPositiveRadius, + inner ℂ (h p.1 * star (ψ p.2)) (F p) ∂physicalPolarMeasure := by + apply integral_congr_ae + filter_upwards [(memLp_polarProductTest h ψ hh hψ).coeFn_toLp] with p hp + change polarProductTest h ψ hh hψ p = _ at hp + rw [hp] + rw [he] + change (∫ p : PhysicalUnitSphere × PhysicalPositiveRadius, + inner ℂ (h p.1 * star (ψ p.2)) (F p) + ∂physicalSphereMeasure.prod physicalRadiusMeasure) = _ + rw [integral_prod_symm _ (integrable_polarTestPair h ψ hh hψ F)] + apply integral_congr_ae + filter_upwards [] with r + simp only [inner_polarTest, integral_const_mul] + +/-- Each separated angular/radial test acts boundedly on an ordered derivative. -/ +noncomputable def homogeneousRadialTestComponent (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (h : PhysicalUnitSphere → ℂ) (ψ : PhysicalPositiveRadius → ℂ) + (hh : MemLp h 2 physicalSphereMeasure) (hψ : MemLp ψ 2 physicalRadiusMeasure) : + HomogeneousY a N →L[ℂ] ℂ := + (innerSL ℂ (polarProductTest (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) + ψ (memLp_radialTensor_test N j h hh) hψ)).comp + (homogeneousPolarDerivative a N ha ha1 hk j) + +/-- The finite contracted test remains bounded on the full completion. -/ +noncomputable def homogeneousRadialTest (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (ψ : PhysicalPositiveRadius → ℂ) + (hh : MemLp h 2 physicalSphereMeasure) (hψ : MemLp ψ 2 physicalRadiusMeasure) : + HomogeneousY a N →L[ℂ] ℂ := + ∑ j : Fin N → Fin 12, homogeneousRadialTestComponent a N ha ha1 hk j h ψ hh hψ + +/-- The bounded completion-level functional has the expected integral formula. -/ +theorem homogeneousRadialTest_apply (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (ψ : PhysicalPositiveRadius → ℂ) + (hh : MemLp h 2 physicalSphereMeasure) (hψ : MemLp ψ 2 physicalRadiusMeasure) + (u : HomogeneousY a N) : + homogeneousRadialTest a N ha ha1 hk h ψ hh hψ u = + ∫ r, ψ r * homogeneousRadialAngularDerivative a N ha ha1 hk h u r + ∂physicalRadiusMeasure := by + classical + have hi (j : Fin N → Fin 12) : + Integrable (fun r => ψ r * (∫ ω, + inner ℂ ((radialTensorCoefficient N j ω : ℂ) * h ω) + (homogeneousPolarDerivative a N ha ha1 hk j u (ω, r)) + ∂physicalSphereMeasure)) physicalRadiusMeasure := by + have hpair := (integrable_polarTestPair + (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) ψ + (memLp_radialTensor_test N j h hh) hψ + (homogeneousPolarDerivative a N ha ha1 hk j u)).integral_prod_right + simpa only [inner_polarTest, integral_const_mul] using hpair + simp only [homogeneousRadialTest, sum_apply, + homogeneousRadialTestComponent, ContinuousLinearMap.comp_apply, innerSL_apply_apply, + polarProductTest_pairing, homogeneousRadialAngularDerivative, Finset.mul_sum] + exact (integral_finsetSum _ (fun j _ => hi j)).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..4206e2dcf658c7f333f29b021212430e469f4ba4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialTesting.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialSchwartz +import Mathlib.Data.Fin.Rev + +namespace OAI + +/-! # Integration by parts along each radial line + +This is the dense-domain testing identity for the completed contraction. +Tests supported in the positive half-line can later be multiplied by r^11 +before this identity is applied. +-/ + +open MeasureTheory Set LineDeriv +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem scalar_schwartz_iterated_ibp (N : ℕ) (v : Fin N → ℝ) + (ψ f : 𝓢(ℝ, ℂ)) : + (∫ r : ℝ, inner ℝ (ψ r) ((∂^{v} f) r)) = + (-1 : ℝ) ^ N * ∫ r : ℝ, inner ℝ ((∂^{fun i => v (Fin.rev i)} ψ) r) (f r) := by + induction N generalizing ψ f with + | zero => simp + | succ N ih => + rw [iteratedLineDerivOp_succ_left] + have hibp := SchwartzMap.integral_bilinear_lineDerivOp_right_eq_neg_left + (μ := (volume : Measure ℝ)) ψ (∂^{Fin.tail v} f) (innerSL ℝ) (v 0) + change (∫ r : ℝ, inner ℝ (ψ r) ((∂_{v 0} (∂^{Fin.tail v} f)) r)) = + -(∫ r : ℝ, inner ℝ ((∂_{v 0} ψ) r) ((∂^{Fin.tail v} f) r)) at hibp + rw [hibp, ih (Fin.tail v) (∂_{v 0} ψ) f] + have ht : (∂^{fun i => v (Fin.rev i)} ψ) = + ∂^{fun i => Fin.tail v (Fin.rev i)} (∂_{v 0} ψ) := by + rw [iteratedLineDerivOp_succ_right] + simp only [Fin.rev_last] + congr 1 + funext i + simp only [Fin.init_def, Fin.tail_def, Fin.rev_castSucc] + rw [ht, pow_succ] + ring + +/-- Restrict a Schwartz function to a radial line through a unit vector. -/ +noncomputable def schwartzRadialRestriction (ω : PhysicalUnitSphere) : + 𝓢(E, ℂ) →L[ℂ] 𝓢(ℝ, ℂ) := by + let L := LinearIsometry.toSpanSingleton ℝ E + (show ‖ω.1‖ = 1 by simpa only [Metric.mem_sphere, dist_zero_right] using ω.2) + exact SchwartzMap.compCLMOfAntilipschitz ℂ + L.toContinuousLinearMap.hasTemperateGrowth L.isometry.antilipschitzWith + +@[simp] theorem schwartzRadialRestriction_apply (ω : PhysicalUnitSphere) + (f : 𝓢(E, ℂ)) (r : ℝ) : schwartzRadialRestriction ω f r = f (r • ω.1) := rfl + +/-- The contracted top Cartesian derivative has the expected scalar +integration-by-parts formula on every fixed radial line. -/ +theorem schwartz_radial_integral_by_parts (N : ℕ) (ψ : 𝓢(ℝ, ℂ)) + (f : 𝓢(E, ℂ)) (ω : PhysicalUnitSphere) : + (∫ r : ℝ, inner ℝ (ψ r) + (∑ j : Fin N → Fin 12, (radialTensorCoefficient N j ω : ℂ) * + homogeneousOrderedDerivative N j f (r • ω.1))) = + (-1 : ℝ) ^ N * ∫ r : ℝ, + inner ℝ ((∂^{fun _ : Fin N => (1 : ℝ)} ψ) r) (f (r • ω.1)) := by + have h := scalar_schwartz_iterated_ibp N (fun _ : Fin N => (1 : ℝ)) + ψ (schwartzRadialRestriction ω f) + have hj (r : ℝ) : (∂^{fun _ : Fin N => (1 : ℝ)} + (schwartzRadialRestriction ω f)) r = + ∑ j : Fin N → Fin 12, (radialTensorCoefficient N j ω : ℂ) * + homogeneousOrderedDerivative N j f (r • ω.1) := by + rw [SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv] + change iteratedDeriv N (fun t : ℝ => f (t • ω.1)) r = _ + exact schwartz_radial_iteratedDeriv N f ω r + simpa only [hj, schwartzRadialRestriction_apply] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialWeakTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialWeakTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..82c6340a1f994e388d87b7944ac933e6d1080f77 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRadialWeakTesting.lean @@ -0,0 +1,203 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialTestPairing +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialMeasure +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPolarTesting +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAngularProjection + +namespace OAI + +/-! # Exact radial weak derivatives of the completed homogeneous space + +The identity is proved on Schwartz functions by radial integration by parts, +then extended through the faithful Y completion using two bounded functionals. +No classical high derivative of the completed vector is assumed. +-/ + +open MeasureTheory Set +open scoped SchwartzMap ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem radial_tensor_inner (t : ℝ) (h ψ z : ℂ) : + inner ℂ ((t : ℂ) * h * star ψ) z = ψ * star h * ((t : ℂ) * z) := by + rw [RCLike.inner_apply'] + change star ((t : ℂ) * h * star ψ) * z = _ + rw [star_mul, star_mul, star_star] + have ht : star (t : ℂ) = (t : ℂ) := by simp + rw [ht] + ring + +/-- Dense-domain version of the exact transposed radial identity. -/ +theorem homogeneousRadialTest_Schwartz (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (ψ : 𝓢(ℝ, ℂ)) (hψ : ∀ r, r ≤ 0 → ψ r = 0) (f : 𝓢(E, ℂ)) : + homogeneousRadialTest a N ha ha1 hk h (fun r => ψ r) hh (memLp_radialSchwartz ψ) + (homogeneousSchwartzEmbedding a N ha ha1 hk f) = + (-1 : ℂ) ^ N * physicalPolarTest + (fun p => star (h p.1) * radialTransposedTest N ψ p.2) + (integrable_linePolarProduct h (radialTransposedTest N ψ) + (hh.integrable (by norm_num)) (radialTransposedTest N ψ).integrable) + (homogeneousPhysicalCLM a N ha ha1 hk + (homogeneousSchwartzEmbedding a N ha ha1 hk f)) := by + classical + let u := homogeneousSchwartzEmbedding a N ha ha1 hk f + let D (j : Fin N → Fin 12) (p : PhysicalUnitSphere × PhysicalPositiveRadius) : ℂ := + inner ℂ ((radialTensorCoefficient N j p.1 : ℂ) * h p.1 * star (ψ p.2.1)) + (homogeneousOrderedDerivative N j f (p.2.1 • p.1.1)) + have hi (j : Fin N → Fin 12) : Integrable (D j) physicalPolarMeasure := by + let W := polarProductTest (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) + (fun r => ψ r) (memLp_radialTensor_test N j h hh) (memLp_radialSchwartz ψ) + let T := homogeneousPolarDerivative a N ha ha1 hk j u + apply (L2.integrable_inner (𝕜 := ℂ) W T).congr + filter_upwards [(memLp_polarProductTest + (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) (fun r => ψ r) + (memLp_radialTensor_test N j h hh) (memLp_radialSchwartz ψ)).coeFn_toLp, + homogeneousPolarDerivative_Schwartz_ae a N ha ha1 hk j f] with p hW hT + change W p = _ at hW + change T p = _ at hT + change inner ℂ (W p) (T p) = D j p + rw [hW, hT] + have he (j : Fin N → Fin 12) : + homogeneousRadialTestComponent a N ha ha1 hk j h (fun r => ψ r) hh + (memLp_radialSchwartz ψ) u = ∫ p, D j p ∂physicalPolarMeasure := by + change inner ℂ + (polarProductTest (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) + (fun r => ψ r) (memLp_radialTensor_test N j h hh) (memLp_radialSchwartz ψ)) + (homogeneousPolarDerivative a N ha ha1 hk j u) = _ + rw [L2.inner_def] + apply integral_congr_ae + filter_upwards [(memLp_polarProductTest + (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) (fun r => ψ r) + (memLp_radialTensor_test N j h hh) (memLp_radialSchwartz ψ)).coeFn_toLp, + homogeneousPolarDerivative_Schwartz_ae a N ha ha1 hk j f] with p hW hT + change polarProductTest (fun ω => (radialTensorCoefficient N j ω : ℂ) * h ω) + (fun r => ψ r) (memLp_radialTensor_test N j h hh) + (memLp_radialSchwartz ψ) p = _ at hW + change homogeneousPolarDerivative a N ha ha1 hk j u p = _ at hT + rw [hW, hT] + have hsum : Integrable (fun p => ∑ j : Fin N → Fin 12, D j p) physicalPolarMeasure := + integrable_finsetSum _ (fun j _ => hi j) + have hpoint (ω : PhysicalUnitSphere) : + (∫ r : PhysicalPositiveRadius, ∑ j : Fin N → Fin 12, D j (ω, r) + ∂physicalRadiusMeasure) = + (-1 : ℂ) ^ N * star (h ω) * + ∫ r : ℝ, radialTransposedTest N ψ r * f (r • ω.1) := by + let S : ℝ → ℂ := fun r => ∑ j : Fin N → Fin 12, + (radialTensorCoefficient N j ω : ℂ) * homogeneousOrderedDerivative N j f (r • ω.1) + have hd (r : PhysicalPositiveRadius) : + (∑ j : Fin N → Fin 12, D j (ω, r)) = ψ r * star (h ω) * S r := by + simp only [D, radial_tensor_inner, S, Finset.mul_sum] + simp_rw [hd] + rw [integral_physicalRadiusMeasure (fun r => ψ r * star (h ω) * S r)] + calc + (∫ r in Ioi (0 : ℝ), r ^ (11 : ℕ) • (ψ r * star (h ω) * S r)) = + ∫ r in Ioi (0 : ℝ), star (h ω) * (radialWeightedSchwartzTest ψ r * S r) := by + apply integral_congr_ae + filter_upwards [] with r + simp only [radialWeightedSchwartzTest_apply, Complex.real_smul, Complex.ofReal_pow] + ring + _ = ∫ r : ℝ, star (h ω) * (radialWeightedSchwartzTest ψ r * S r) := + integral_Ioi_eq_of_zero_nonpositive _ (fun r hr => by simp [hψ r hr]) + _ = star (h ω) * ((-1 : ℂ) ^ N * + ∫ r : ℝ, radialTransposedTest N ψ r * f (r • ω.1)) := by + rw [integral_const_mul] + change star (h ω) * (∫ r : ℝ, radialWeightedSchwartzTest ψ r * + (∑ j : Fin N → Fin 12, (radialTensorCoefficient N j ω : ℂ) * + homogeneousOrderedDerivative N j f (r • ω.1))) = _ + rw [schwartz_radial_integral_mul_by_parts] + rfl + _ = _ := by ring + calc + homogeneousRadialTest a N ha ha1 hk h (fun r => ψ r) hh + (memLp_radialSchwartz ψ) u = + ∑ j : Fin N → Fin 12, ∫ p, D j p ∂physicalPolarMeasure := by + simp only [homogeneousRadialTest, sum_apply, he] + _ = ∫ p, ∑ j : Fin N → Fin 12, D j p ∂physicalPolarMeasure := + (integral_finsetSum _ (fun j _ => hi j)).symm + _ = ∫ ω, ∫ r, ∑ j : Fin N → Fin 12, D j (ω, r) + ∂physicalRadiusMeasure ∂physicalSphereMeasure := integral_prod _ hsum + _ = (-1 : ℂ) ^ N * ∫ ω, star (h ω) * + (∫ r : ℝ, radialTransposedTest N ψ r * f (r • ω.1)) + ∂physicalSphereMeasure := by + simp_rw [hpoint, mul_assoc] + rw [integral_const_mul] + _ = _ := by + rw [physicalPolarTest_product h (radialTransposedTest N ψ) + (hh.integrable (by norm_num)) (radialTransposedTest N ψ).integrable] + simp only [homogeneousPhysicalCLM_Schwartz] + +/-- Exact weak radial differentiation for every vector in the completion. -/ +theorem homogeneousRadial_weak_testing (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (ψ : 𝓢(ℝ, ℂ)) (hψ : ∀ r, r ≤ 0 → ψ r = 0) (u : HomogeneousY a N) : + homogeneousRadialTest a N ha ha1 hk h (fun r => ψ r) hh (memLp_radialSchwartz ψ) u = + (-1 : ℂ) ^ N * physicalPolarTest + (fun p => star (h p.1) * radialTransposedTest N ψ p.2) + (integrable_linePolarProduct h (radialTransposedTest N ψ) + (hh.integrable (by norm_num)) (radialTransposedTest N ψ).integrable) + (homogeneousPhysicalCLM a N ha ha1 hk u) := by + let L := homogeneousRadialTest a N ha ha1 hk h (fun r => ψ r) hh (memLp_radialSchwartz ψ) + let R : HomogeneousY a N →L[ℂ] ℂ := (-1 : ℂ) ^ N • + (physicalPolarTest (fun p => star (h p.1) * radialTransposedTest N ψ p.2) + (integrable_linePolarProduct h (radialTransposedTest N ψ) + (hh.integrable (by norm_num)) (radialTransposedTest N ψ).integrable)).comp + (homogeneousPhysicalCLM a N ha ha1 hk) + have heq : L = R := by + apply DFunLike.coe_injective + apply (homogeneousSchwartzEmbedding_dense a N ha ha1 hk).equalizer L.continuous R.continuous + funext f + exact homogeneousRadialTest_Schwartz a N ha ha1 hk h hh ψ hψ f + exact congrArg (fun T : HomogeneousY a N →L[ℂ] ℂ => T u) heq + +/-- Integral form: the contracted L² derivative is the distributional Nth +radial derivative of the actual angular projection. -/ +theorem homogeneousAngularProjection_weak_derivative (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) + (h : PhysicalUnitSphere → ℂ) (hh : MemLp h 2 physicalSphereMeasure) + (ψ : 𝓢(ℝ, ℂ)) (hψ : ∀ r, r ≤ 0 → ψ r = 0) (u : HomogeneousY a N) : + (∫ r, ψ r * homogeneousRadialAngularDerivative a N ha ha1 hk h u r + ∂physicalRadiusMeasure) = + (-1 : ℂ) ^ N * ∫ r : ℝ, radialTransposedTest N ψ r * + homogeneousAngularProjection a N ha ha1 hk h u r := by + rw [← homogeneousRadialTest_apply a N ha ha1 hk h (fun r => ψ r) hh + (memLp_radialSchwartz ψ) u, homogeneousRadial_weak_testing a N ha ha1 hk h hh ψ hψ u, + physicalPolarTest_apply] + congr 1 + let F := homogeneousPhysicalCLM a N ha ha1 hk u + let K : PhysicalUnitSphere × ℝ → ℂ := fun p => star (h p.1) * radialTransposedTest N ψ p.2 + have hK : Integrable K physicalLinePolarMeasure := + integrable_linePolarProduct h (radialTransposedTest N ψ) + (hh.integrable (by norm_num)) (radialTransposedTest N ψ).integrable + have hint : Integrable (fun p : PhysicalUnitSphere × ℝ => K p * F (p.2 • p.1.1)) + physicalLinePolarMeasure := by + apply (hK.norm.mul_const ‖F‖).mono' + (hK.aestronglyMeasurable.mul + (F.continuous.comp (continuous_snd.smul continuous_fst.subtype_val)).aestronglyMeasurable) + filter_upwards [] with p + change ‖K p * F (p.2 • p.1.1)‖ ≤ ‖K p‖ * ‖F‖ + rw [norm_mul] + apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) + exact (BoundedContinuousFunction.norm_coe_le_norm F.toBCF _).trans_eq + ZeroAtInftyContinuousMap.norm_toBCF_eq_norm + change (∫ p, K p * F (p.2 • p.1.1) ∂physicalSphereMeasure.prod volume) = _ + rw [integral_prod_symm _ hint] + apply integral_congr_ae + filter_upwards [] with r + change (∫ ω, (star (h ω) * radialTransposedTest N ψ r) * F (r • ω.1) + ∂physicalSphereMeasure) = + radialTransposedTest N ψ r * + (∫ ω, inner ℂ (h ω) (F (r • ω.1)) ∂physicalSphereMeasure) + rw [← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with ω + rw [RCLike.inner_apply'] + change (star (h ω) * radialTransposedTest N ψ r) * F (r • ω.1) = + radialTransposedTest N ψ r * (star (h ω) * F (r • ω.1)) + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealCoordinateEvolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealCoordinateEvolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..62ce5db514cf4b0662c5951c2c84dfd324ce8237 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealCoordinateEvolution.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRealStableCoordinates + +namespace OAI + +/-! # Exact evolution of the real contour coordinates -/ + +open Set +open scoped NNReal + +namespace DefocusingNLS + +theorem homogeneousLinearizedTrajectory_initial (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (m : ℕ) (q u : HomogeneousY a k) : + homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q u ⟨0, le_rfl, hT⟩ = u := by + rw [homogeneousLinearizedTrajectory_eq] + simp only [homogeneousDuhamel, intervalIntegral.integral_same, add_zero, + homogeneousFreeOperator_zero] + +theorem homogeneousStableCoordinates_step (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 hk m q t) P) + (t : ℝ≥0) (u : HomogeneousY a k) : + homogeneousStableCoordinates a k ha ha1 hk P + (homogeneousLinearizedStep a b k ha ha1 hk m q t u) = + projectionSemigroupRestriction (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) + P hcomm t (homogeneousStableCoordinates a k ha ha1 hk P u) := by + apply Subtype.ext + change P (homogeneousComplexEmbed a k ha ha1 hk + (homogeneousLinearizedStep a b k ha ha1 hk m q t u)) = + homogeneousComplexLinearizedStep a b k ha ha1 hk m q t + (P (homogeneousComplexEmbed a k ha ha1 hk u)) + rw [← homogeneousComplexification_embed] + exact (congrArg (fun A : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] + (HomogeneousY a k × HomogeneousY a k) => A (homogeneousComplexEmbed a k ha ha1 hk u)) + (hcomm t).eq).symm + +theorem homogeneousStableCoordinates_slab (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) (m : ℕ) (q : HomogeneousY a k) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 hk m q t) P) + (t : Icc (0 : ℝ) T) (u : HomogeneousY a k) : + homogeneousStableCoordinates a k ha ha1 hk P + (homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q u t) = + projectionSemigroupRestriction (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) + P hcomm ⟨t, t.2.1⟩ (homogeneousStableCoordinates a k ha ha1 hk P u) := by + have h := homogeneousStableCoordinates_step a b k ha ha1 hk m q P hcomm ⟨t, t.2.1⟩ u + rwa [homogeneousLinearizedStep_eq_slab a b k ha ha1 hk m q T hT ⟨t, t.2.1⟩ t.2.2] at h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealPhysicalContour.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealPhysicalContour.lean new file mode 100644 index 0000000000000000000000000000000000000000..612bf364f4a7fe7d0fa93dd58866a73facb9fd9b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealPhysicalContour.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalRealSpan +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryDecay +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SymmetryRangeGenerator + +namespace OAI + +/-! # The real contour range is the real physical symmetry space -/ + +open scoped NNReal + +namespace DefocusingNLS + +theorem homogeneous_projection_real_frame_range (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + (hP : IsIdempotentElem P) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 hk m q t) P) + [FiniteDimensional ℂ P.range] + (hgen : HasSymmetryRangeGenerator (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) P hcomm) + (D δ : ℝ) (hδ : 0 < δ) + (hdecay : ∀ t : ℝ≥0, ∀ z, P z = 0 → + ‖homogeneousComplexLinearizedStep a b k ha ha1 hk m q t z‖ ≤ + D * Real.exp (-δ * (t : ℝ)) * ‖z‖) + (F : ProfileSymmetryParameters →L[ℝ] HomogeneousY a k) + (hspan : Submodule.span ℂ (Set.range (fun p => homogeneousComplexEmbed a k ha ha1 hk (F p))) = P.range) + (u : HomogeneousY a k) : + ∃ p, P (homogeneousComplexEmbed a k ha ha1 hk u) = homogeneousComplexEmbed a k ha ha1 hk (F p) := by + let ι := homogeneousComplexEmbed a k ha ha1 hk + let X := homogeneousComplexReal a k ha ha1 hk + let Y := homogeneousComplexImag a k ha ha1 hk + let S := homogeneousComplexLinearizedStep a b k ha ha1 hk m q + let B := homogeneousLinearizedStep a b k ha ha1 hk m q + let z := P (ι u) + let w := ι u - z + have hz : z ∈ P.range := ⟨ι u, rfl⟩ + have hzspan : z ∈ Submodule.span ℂ (Set.range (fun p => ι (F p))) := hspan ▸ hz + obtain ⟨hp, hr⟩ := homogeneous_frame_real_coordinates a k ha ha1 hk F z hzspan + obtain ⟨r, hr⟩ := hr + have hYr : ι (Y z) ∈ P.range := by + rw [← hspan, ← hr] + exact Submodule.subset_span ⟨r, rfl⟩ + let v : P.range := ⟨ι (Y z), hYr⟩ + have hPw : P w = 0 := by + have hi := congrArg (fun A => (A : _ →L[ℂ] _) (ι u)) hP + change P (P (ι u)) = P (ι u) at hi + simp only [w, z, map_sub, hi, sub_self] + have hi (t : ℝ≥0) : Y (S t w) = -B t (Y z) := by + dsimp only [w] + rw [map_sub, map_sub] + change Y (homogeneousComplexification a k ha ha1 hk (B t) (ι u)) - + Y (homogeneousComplexification a k ha ha1 hk (B t) z) = _ + rw [homogeneousComplexification_embed, homogeneousComplexImag_embed, + homogeneousComplexification_imag, zero_sub] + have hn (t : ℝ≥0) : ‖S t (v : _)‖ ≤ D * Real.exp (-δ * (t : ℝ)) * ‖w‖ := by + have he : ‖S t (v : _)‖ = ‖Y (S t w)‖ := by + change ‖homogeneousComplexification a k ha ha1 hk (B t) (ι (Y z))‖ = _ + rw [homogeneousComplexification_embed, homogeneousComplexEmbed_norm, hi, norm_neg] + rw [he] + exact (homogeneousComplexImag_norm_le a k ha ha1 hk (S t w)).trans (hdecay t w hPw) + obtain ⟨G, hG, hspec, hGspan⟩ := hgen + have hv : v = 0 := by + apply finite_symmetry_exp_decay_eq_zero G hGspan hspec v (D * ‖w‖) δ hδ + intro t + rw [← hG] + change ‖S t (v : _)‖ ≤ _ + exact (hn t).trans_eq (by ring) + have hY : Y z = 0 := by + have he := congrArg (fun v : P.range => (v : HomogeneousY a k × HomogeneousY a k).1) hv + exact he + obtain ⟨p, hp⟩ := hp + refine ⟨p, ?_⟩ + have he := homogeneousComplexEmbed_coordinates a k ha ha1 hk z + change ι (X z) + Complex.I • ι (Y z) = z at he + rw [hY, map_zero, smul_zero, add_zero] at he + exact he.symm.trans (congrArg ι hp.symm) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealStableCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealStableCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..207a8a125440b5f43a894f56e3f3efb9d4caf11b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRealStableCoordinates.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryGenerator + +namespace OAI + +/-! # Real stable coordinates induced by the actual complex contour projection -/ + +open Set +open scoped NNReal + +namespace DefocusingNLS + +section + +variable (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + +local notation "H" => HomogeneousY a k +local notation "J" => homogeneousConjugation a k ha ha1 hk + +noncomputable def homogeneousComplexEmbed : H →L[ℝ] H × H := + (ContinuousLinearMap.id ℝ H).prod J + +@[simp] theorem homogeneousComplexEmbed_apply (u : H) : + homogeneousComplexEmbed a k ha ha1 hk u = (u, J u) := rfl + +@[simp] theorem homogeneousComplexEmbed_norm (u : H) : + ‖homogeneousComplexEmbed a k ha ha1 hk u‖ = ‖u‖ := by + simp only [homogeneousComplexEmbed_apply, Prod.norm_def, homogeneousConjugation_norm, max_self] + +@[simp] theorem homogeneousComplexReal_embed (u : H) : + homogeneousComplexReal a k ha ha1 hk (homogeneousComplexEmbed a k ha ha1 hk u) = u := by + simp only [homogeneousComplexEmbed_apply, homogeneousComplexReal_apply, + homogeneousConjugation_involutive] + module + +@[simp] theorem homogeneousComplexImag_embed (u : H) : + homogeneousComplexImag a k ha ha1 hk (homogeneousComplexEmbed a k ha ha1 hk u) = 0 := by + simp only [homogeneousComplexEmbed_apply, homogeneousComplexImag_apply, + homogeneousConjugation_involutive, sub_self, smul_zero] + +theorem homogeneousComplexification_embed (A : H →L[ℝ] H) (u : H) : + homogeneousComplexification a k ha ha1 hk A (homogeneousComplexEmbed a k ha ha1 hk u) = + homogeneousComplexEmbed a k ha ha1 hk (A u) := by + rw [homogeneousComplexification_apply, homogeneousComplexReal_embed, + homogeneousComplexImag_embed] + simp only [map_zero, smul_zero, add_zero, homogeneousComplexEmbed_apply] + +noncomputable def homogeneousStableCoordinates (P : (H × H) →L[ℂ] H × H) : + H →L[ℝ] P.range := + (P.rangeRestrict.restrictScalars ℝ).comp (homogeneousComplexEmbed a k ha ha1 hk) + +theorem homogeneousStableCoordinates_zero_iff (P : (H × H) →L[ℂ] H × H) (u : H) : + homogeneousStableCoordinates a k ha ha1 hk P u = 0 ↔ + P (homogeneousComplexEmbed a k ha ha1 hk u) = 0 := by + constructor + · intro h + exact congrArg Subtype.val h + · intro h + exact Subtype.ext h + +theorem homogeneousStableCoordinates_decay (b : ℝ) (m : ℕ) (q : H) + (P : (H × H) →L[ℂ] H × H) (D δ : ℝ) + (hdecay : ∀ s : ℝ≥0, ∀ u, P u = 0 → + ‖homogeneousComplexLinearizedStep a b k ha ha1 hk m q s u‖ ≤ + D * Real.exp (-δ * (s : ℝ)) * ‖u‖) + (T : ℝ) (hT : 0 ≤ T) (u : H) + (hu : homogeneousStableCoordinates a k ha ha1 hk P u = 0) (t : Icc (0 : ℝ) T) : + ‖homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q u t‖ ≤ + D * Real.exp (-δ * (t : ℝ)) * ‖u‖ := by + have h := hdecay ⟨t, t.2.1⟩ (homogeneousComplexEmbed a k ha ha1 hk u) + ((homogeneousStableCoordinates_zero_iff a k ha ha1 hk P u).mp hu) + change ‖homogeneousComplexification a k ha ha1 hk + (homogeneousLinearizedStep a b k ha ha1 hk m q ⟨t, t.2.1⟩) + (homogeneousComplexEmbed a k ha ha1 hk u)‖ ≤ + D * Real.exp (-δ * (t : ℝ)) * ‖homogeneousComplexEmbed a k ha ha1 hk u‖ at h + rw [homogeneousComplexification_embed, + homogeneousComplexEmbed_norm, homogeneousComplexEmbed_norm, + homogeneousLinearizedStep_eq_slab a b k ha ha1 hk m q T hT ⟨t, t.2.1⟩ t.2.2] at h + exact h + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularBasis.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularBasis.lean new file mode 100644 index 0000000000000000000000000000000000000000..f4b78a21e60cddabbfba10b2617bb6da10bf44e6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularBasis.lean @@ -0,0 +1,118 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularPrimitive + +namespace OAI + +/-! The normalized regular basis, retaining its C² physical values at the origin. -/ + +open Set +open scoped BoundedContinuousFunction ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem exists_regular_state_family_c2 (ell d : ℕ) (R L : ℝ) (hR : 0 < R) (hL : 0 ≤ L) + (A B : ℝ →ᵇ ℂ) (cp cm : ℂ) : + ∃ W : (ℂ × ℂ) → ℂ → ℝ → E₄, + (∀ c lam, W c lam 0=((c.1,0),(c.2,0)) ∧ Continuous (W c lam)) ∧ + (∀ c lam, ‖lam‖ ≤ L → ∀ r ∈ Ioc 0 R, + HasDerivAt (W c lam) + (spectralRegularField d (A r) (B r) (cp+Complex.I*lam) + (cm-Complex.I*lam) r (W c lam r)) r) ∧ + (∀ lam, ‖lam‖ ≤ L → LinearIndependent ℂ ![W (1,0) lam R,W (0,1) lam R]) ∧ + (∀ c z, ‖z‖ ≤ L → ∀ r, 0 ≤ r → AnalyticAt ℂ (fun lam => W c lam r) z) ∧ + (∀ c lam, ContDiff ℝ 2 (fun r => (spectralAngularPair ell (W c lam) r).1.1) ∧ + ContDiff ℝ 2 (fun r => (spectralAngularPair ell (W c lam) r).2.1)) := by + let α := spectralRegularSourceBound A B cp cm+2*L+1 + have hC := spectralRegularSourceBound_nonneg A B cp cm + have hα : 0 < α := by dsimp only [α]; linarith + have hgap (lam : ℂ) (hlam : ‖lam‖ ≤ L) : + spectralRegularSourceBound A B (cp+Complex.I*lam) (cm-Complex.I*lam)<2*α := by + have h := spectralRegularSourceBound_parameter A B cp cm lam + dsimp only [α] + linarith + let W := fun c lam => spectralRegularState d α c + (spectralRegularSolutionSource d R α hR.le hα A B cp cm c lam) + have hinit (c : ℂ × ℂ) (lam : ℂ) : + W c lam 0=((c.1,0),(c.2,0)) ∧ Continuous (W c lam) := + ⟨spectralRegularState_initial d α c _,spectralRegularState_continuous d α c _⟩ + have hODE (c : ℂ × ℂ) (lam : ℂ) (hlam : ‖lam‖ ≤ L) (r : ℝ) (hr : r ∈ Ioc 0 R) : + HasDerivAt (W c lam) (spectralRegularField d (A r) (B r) + (cp+Complex.I*lam) (cm-Complex.I*lam) r (W c lam r)) r := + spectralRegularState_hasDerivAt d R α hR.le hα A B _ _ c _ _ + (spectralRegularVector_equation d R α hR.le hα A B cp cm c lam (hgap lam hlam)) + rfl r hr + refine ⟨W,hinit,hODE,?_,?_,?_⟩ + · intro lam hlam + exact spectralRegular_at_linearIndependent d A B _ _ (W (1,0) lam) (W (0,1) lam) R hR + (hinit _ _).2 (hinit _ _).2 (hODE _ _ hlam) (hODE _ _ hlam) + (hinit _ _).1 (hinit _ _).1 + · intro c z hz r hr + exact spectralRegularState_analyticAt d α hα c _ z r hr + (spectralRegularSolutionSource_analyticAt d R α hR.le hα A B cp cm c z (hgap z hz)) + + · intro c lam + exact homogeneousRegularPhysical_contDiff_two ell d α c _ + +theorem exists_regular_physical_basis_c2 (ell m : ℕ) (νp νm : ℂ) + (R L : ℝ) (hR : 0 < R) (hL : 0 ≤ L) (Q : ℝ → ℂ) (hQ : Continuous Q) : + ∃ Vp Vm : ℂ → ℝ → E₄, + (∀ lam, ‖lam‖ ≤ L → ∀ r ∈ Ioc 0 R, HasDerivAt (Vp lam) + (spectralPhysicalCircularField (νp-2*lam) (νm-2*lam) + ((ell*(ell+10) : ℕ) : ℂ) m (Q r) r (Vp lam r)) r) ∧ + (∀ lam, ‖lam‖ ≤ L → ∀ r ∈ Ioc 0 R, HasDerivAt (Vm lam) + (spectralPhysicalCircularField (νp-2*lam) (νm-2*lam) + ((ell*(ell+10) : ℕ) : ℂ) m (Q r) r (Vm lam r)) r) ∧ + (∀ lam, ‖lam‖ ≤ L → LinearIndependent ℂ ![Vp lam R,Vm lam R]) ∧ + (∀ lam, ContDiff ℝ 2 (fun r => (Vp lam r).1.1) ∧ + ContDiff ℝ 2 (fun r => (Vp lam r).2.1) ∧ + ContDiff ℝ 2 (fun r => (Vm lam r).1.1) ∧ + ContDiff ℝ 2 (fun r => (Vm lam r).2.1)) ∧ + (∀ z, ‖z‖ ≤ L → ∀ r, 0 ≤ r → AnalyticAt ℂ (fun lam => Vp lam r) z ∧ + AnalyticAt ℂ (fun lam => Vm lam r) z) ∧ + (∃ Wp Wm : ℂ → ℝ → E₄, + (∀ lam, Continuous (Wp lam) ∧ Continuous (Wm lam) ∧ + Wp lam 0=((1,0),(0,0)) ∧ Wm lam 0=((0,0),(1,0))) ∧ + (∀ lam r, Vp lam r=spectralAngularPair ell (Wp lam) r ∧ + Vm lam r=spectralAngularPair ell (Wm lam) r)) := by + let q := spectralClampedProfile R hR.le Q hQ + let A := spectralRegularDiagonal m q + let B := spectralRegularCross m q + let cp := -Complex.I*νp/2+Complex.I*(ell : ℂ)/2 + let cm := Complex.I*νm/2-Complex.I*(ell : ℂ)/2 + obtain ⟨W,hinit,hODE,hrank,ha,hc2⟩ := + exists_regular_state_family_c2 ell (2*ell+11) R L hR hL A B cp cm + have hcp (lam : ℂ) : cp+Complex.I*lam= + -Complex.I*(νp-2*lam)/2+Complex.I*(ell : ℂ)/2 := by dsimp only [cp]; ring + have hcm (lam : ℂ) : cm-Complex.I*lam= + Complex.I*(νm-2*lam)/2-Complex.I*(ell : ℂ)/2 := by dsimp only [cm]; ring + have hphysical (c : ℂ × ℂ) (lam : ℂ) (hlam : ‖lam‖ ≤ L) (r : ℝ) (hr : r ∈ Ioc 0 R) : + HasDerivAt (spectralAngularPair ell (W c lam)) + (spectralPhysicalCircularField (νp-2*lam) (νm-2*lam) + ((ell*(ell+10) : ℕ) : ℂ) m (Q r) r (spectralAngularPair ell (W c lam) r)) r := by + apply spectralRegularPhysical_hasDerivAt ell m _ _ _ _ r hr.1 + have he := hODE c lam hlam r hr + have hq : q r=Q r := spectralClampedProfile_eq R hR.le Q hQ r ⟨hr.1.le,hr.2⟩ + have hA : A r=spectralDiagonalCoefficient m (Q r) := by + dsimp only [A] + rw [spectralRegularDiagonal_apply,hq] + have hB : B r=spectralCrossCoefficient m (Q r) := by + dsimp only [B] + rw [spectralRegularCross_apply,hq] + rw [hA,hB,hcp,hcm] at he + exact he + refine ⟨(fun lam => spectralAngularPair ell (W (1,0) lam)), + (fun lam => spectralAngularPair ell (W (0,1) lam)),hphysical (1,0),hphysical (0,1),?_,?_,?_,?_⟩ + · intro lam hlam + exact spectralAngularPair_rank ell _ _ R hR.ne' (hrank lam hlam) + · intro lam + exact ⟨(hc2 (1,0) lam).1,(hc2 (1,0) lam).2, + (hc2 (0,1) lam).1,(hc2 (0,1) lam).2⟩ + · intro z hz r hr + exact ⟨spectralAngularPair_analyticAt ell _ z r (ha (1,0) z hz r hr), + spectralAngularPair_analyticAt ell _ z r (ha (0,1) z hz r hr)⟩ + · exact ⟨W (1,0),W (0,1), + (fun lam => ⟨(hinit (1,0) lam).2,(hinit (0,1) lam).2, + (hinit (1,0) lam).1,(hinit (0,1) lam).1⟩),fun _ _ => ⟨rfl,rfl⟩⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularCompleteness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularCompleteness.lean new file mode 100644 index 0000000000000000000000000000000000000000..dbff513a4b2a3ed62a322782eb33a868467df097 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularCompleteness.lean @@ -0,0 +1,143 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularStateZero +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularBasis +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalGluing + +namespace OAI + +/-! Every C² radial solution belongs to the regular two-column plane. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +private theorem valueDet_ne_zero_of_kernel (u v : ℂ × ℂ) + (hk : ∀ a b : ℂ, a • u + b • v = 0 → a = 0 ∧ b = 0) : + spectralValueDet u v ≠ 0 := by + intro hd + change u.1 * v.2 - u.2 * v.1 = 0 at hd + have h1 := hk v.1 (-u.1) (by + apply Prod.ext + · change v.1 * u.1 + -u.1 * v.1 = 0 + ring + · change v.1 * u.2 + -u.1 * v.2 = 0 + linear_combination -hd) + have h2 := hk v.2 (-u.2) (by + apply Prod.ext + · change v.2 * u.1 + -u.2 * v.1 = 0 + linear_combination hd + · change v.2 * u.2 + -u.2 * v.2 = 0 + ring) + have hu : u = 0 := Prod.ext (neg_eq_zero.mp h1.2) (neg_eq_zero.mp h2.2) + exact one_ne_zero (hk 1 0 (by simp [hu])).1 + +theorem homogeneousRegular_basis_complete (νp νm : ℂ) (eta : ℝ) (heta : 0 ≤ eta) + (m : ℕ) (Q : ℝ → ℂ) (hQ : Continuous Q) (R : ℝ) (hR : 0 < R) + (U Vp Vm : ℝ → E₄) + (hUc : ContDiff ℝ 2 (fun r => (U r).1.1) ∧ ContDiff ℝ 2 (fun r => (U r).2.1)) + (hpc : ContDiff ℝ 2 (fun r => (Vp r).1.1) ∧ ContDiff ℝ 2 (fun r => (Vp r).2.1)) + (hmc : ContDiff ℝ 2 (fun r => (Vm r).1.1) ∧ ContDiff ℝ 2 (fun r => (Vm r).2.1)) + (hU : ∀ r ∈ Ioc 0 R, HasDerivAt U + (spectralPhysicalCircularField νp νm (eta : ℂ) m (Q r) r (U r)) r) + (hp : ∀ r ∈ Ioc 0 R, HasDerivAt Vp + (spectralPhysicalCircularField νp νm (eta : ℂ) m (Q r) r (Vp r)) r) + (hm : ∀ r ∈ Ioc 0 R, HasDerivAt Vm + (spectralPhysicalCircularField νp νm (eta : ℂ) m (Q r) r (Vm r)) r) + (hRank : LinearIndependent ℂ ![Vp R, Vm R]) : + ∃ c : ℂ × ℂ, U R = c.1 • Vp R + c.2 • Vm R := by + classical + obtain ⟨δ, hδ, hzero⟩ := homogeneousRegular_state_zero_radius νp νm m Q hQ + let t := min δ R / 2 + have ht : 0 < t := by dsimp only [t]; exact div_pos (lt_min hδ hR) (by norm_num) + have htδ : t ≤ δ := by + have hh := min_le_left δ R + dsimp only [t] + linarith + have htR : t < R := by + have hh := min_le_right δ R + dsimp only [t] + linarith + let W := fun x y z : ℂ => fun r => x • U r + y • Vp r + z • Vm r + have hWc (x y z : ℂ) : + ContDiff ℝ 2 (fun r => (W x y z r).1.1) ∧ + ContDiff ℝ 2 (fun r => (W x y z r).2.1) := by + constructor + · simpa only [W, Prod.fst_add, Prod.smul_fst] using + ((hUc.1.const_smul x).add (hpc.1.const_smul y)).add (hmc.1.const_smul z) + · simpa only [W, Prod.snd_add, Prod.fst_add, Prod.smul_snd, Prod.smul_fst] using + ((hUc.2.const_smul x).add (hpc.2.const_smul y)).add (hmc.2.const_smul z) + have hWd (x y z : ℂ) (r : ℝ) (hr : r ∈ Ioc 0 R) : HasDerivAt (W x y z) + (spectralPhysicalCircularField νp νm (eta : ℂ) m (Q r) r (W x y z r)) r := by + apply ((((hU r hr).const_smul x).add ((hp r hr).const_smul y)).add + ((hm r hr).const_smul z)).congr_deriv + dsimp only [W] + rw [spectralPhysicalField_add, spectralPhysicalField_add, + spectralPhysicalField_smul, spectralPhysicalField_smul, spectralPhysicalField_smul] + have hkernel (a b : ℂ) + (h : a • spectralPhysicalValueMap (Vp t) + b • spectralPhysicalValueMap (Vm t) = 0) : + a = 0 ∧ b = 0 := by + have hv : spectralPhysicalValueMap (W 0 a b t) = 0 := by + dsimp only [W] + rw [map_add, map_add, map_smul, map_smul, map_smul, zero_smul, zero_add] + exact h + have he := hzero eta R t heta ht htR htδ (W 0 a b) (hWc 0 a b).1 (hWc 0 a b).2 + (hWd 0 a b) (congrArg Prod.fst hv) (congrArg Prod.snd hv) + have hab : a • Vp R + b • Vm R = 0 := by + simpa only [W, zero_smul, zero_add] using he + have hcoeff := Fintype.linearIndependent_iff.mp hRank (![a, b]) + (by simpa only [Fin.sum_univ_two, Matrix.cons_val_zero, Matrix.cons_val_one] using hab) + exact ⟨by simpa using hcoeff 0, by simpa using hcoeff 1⟩ + have hdet := valueDet_ne_zero_of_kernel _ _ hkernel + let c := spectralValueInverse (spectralPhysicalValueMap (Vp t)) + (spectralPhysicalValueMap (Vm t)) (spectralPhysicalValueMap (U t)) + have hc : c.1 • spectralPhysicalValueMap (Vp t) + c.2 • spectralPhysicalValueMap (Vm t) = + spectralPhysicalValueMap (U t) := + spectralTwoColumns_apply_inverse _ _ _ hdet + have hv : spectralPhysicalValueMap (W 1 (-c.1) (-c.2) t) = 0 := by + dsimp only [W] + rw [map_add, map_add, map_smul, map_smul, map_smul, one_smul, neg_smul, neg_smul] + rw [← hc] + abel + have he := hzero eta R t heta ht htR htδ (W 1 (-c.1) (-c.2)) + (hWc 1 (-c.1) (-c.2)).1 (hWc 1 (-c.1) (-c.2)).2 (hWd 1 (-c.1) (-c.2)) + (congrArg Prod.fst hv) (congrArg Prod.snd hv) + refine ⟨c, sub_eq_zero.mp ?_⟩ + simpa only [W, one_smul, neg_smul, sub_eq_add_neg, neg_add, add_assoc] using he + +/-- The constructed analytic regular basis is complete for C² radial solutions. +The two positions, rather than a prescribed asymptotic expansion, are the only +origin regularity data required of the solution. -/ +theorem homogeneousRegular_exists_complete_basis (ell m : ℕ) (νp νm : ℂ) + (R L : ℝ) (hR : 0 < R) (hL : 0 ≤ L) (Q : ℝ → ℂ) (hQ : Continuous Q) : + ∃ Vp Vm : ℂ → ℝ → E₄, + (∀ lam, ‖lam‖ ≤ L → ∀ r ∈ Ioc 0 R, HasDerivAt (Vp lam) + (spectralPhysicalCircularField (νp - 2 * lam) (νm - 2 * lam) + ((ell * (ell + 10) : ℕ) : ℂ) m (Q r) r (Vp lam r)) r) ∧ + (∀ lam, ‖lam‖ ≤ L → ∀ r ∈ Ioc 0 R, HasDerivAt (Vm lam) + (spectralPhysicalCircularField (νp - 2 * lam) (νm - 2 * lam) + ((ell * (ell + 10) : ℕ) : ℂ) m (Q r) r (Vm lam r)) r) ∧ + (∀ lam, ‖lam‖ ≤ L → LinearIndependent ℂ ![Vp lam R, Vm lam R]) ∧ + (∀ lam, ‖lam‖ ≤ L → ∀ r, 0 ≤ r → + AnalyticAt ℂ (fun z => Vp z r) lam ∧ AnalyticAt ℂ (fun z => Vm z r) lam) ∧ + (∀ lam, ‖lam‖ ≤ L → ∀ U : ℝ → E₄, + ContDiff ℝ 2 (fun r => (U r).1.1) → ContDiff ℝ 2 (fun r => (U r).2.1) → + (∀ r ∈ Ioc 0 R, HasDerivAt U + (spectralPhysicalCircularField (νp - 2 * lam) (νm - 2 * lam) + ((ell * (ell + 10) : ℕ) : ℂ) m (Q r) r (U r)) r) → + ∃ c : ℂ × ℂ, U R = c.1 • Vp lam R + c.2 • Vm lam R) := by + obtain ⟨Vp, Vm, hp, hm, hrank, hc, ha, _⟩ := + exists_regular_physical_basis_c2 ell m νp νm R L hR hL Q hQ + refine ⟨Vp, Vm, hp, hm, hrank, ha, ?_⟩ + intro lam hlam U hU1 hU2 hU + have hc' := hc lam + have he : (0 : ℝ) ≤ (ell * (ell + 10) : ℕ) := by positivity + simpa only [Nat.cast_mul, Nat.cast_add, Nat.cast_ofNat] using + homogeneousRegular_basis_complete (νp - 2 * lam) (νm - 2 * lam) + ((ell * (ell + 10) : ℕ) : ℝ) he m Q hQ R hR U (Vp lam) (Vm lam) + ⟨hU1, hU2⟩ ⟨hc'.1, hc'.2.1⟩ ⟨hc'.2.2.1, hc'.2.2.2⟩ + (by simpa using hU) (by simpa using hp lam hlam) (by simpa using hm lam hlam) + (hrank lam hlam) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularComplexEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularComplexEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..2846357ba7e2f04bd1d5a2aca41181176bffb032 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularComplexEnergy.lean @@ -0,0 +1,107 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGaugeAngular + +namespace OAI + +/-! # Complex radial energy and the small-ball Poincaré bound -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousRegular_complex_poincare (R : ℝ) (hR : 0 ≤ R) + (F : ℝ → ℂ) (hF : ContDiff ℝ 1 F) (hFR : F R = 0) : + 16 * (∫ r in (0 : ℝ)..R, r ^ 11 * ‖F r‖ ^ 2) ≤ + R ^ 2 * (∫ r in (0 : ℝ)..R, r ^ 11 * ‖deriv F r‖ ^ 2) := by + have hr := homogeneousRegular_poincare R hR (fun r => (F r).re) + (Complex.reCLM.contDiff.comp hF) (by rw [hFR]; rfl) + have hi := homogeneousRegular_poincare R hR (fun r => (F r).im) + (Complex.imCLM.contDiff.comp hF) (by rw [hFR]; rfl) + have hdre : deriv (fun r => (F r).re) = fun r => (deriv F r).re := by + funext r + exact (Complex.reCLM.hasFDerivAt.comp_hasDerivAt r + (hF.differentiable (by norm_num) r).hasDerivAt).deriv + have hdim : deriv (fun r => (F r).im) = fun r => (deriv F r).im := by + funext r + exact (Complex.imCLM.hasFDerivAt.comp_hasDerivAt r + (hF.differentiable (by norm_num) r).hasDerivAt).deriv + rw [hdre] at hr + rw [hdim] at hi + have hnorm (G : ℝ → ℂ) (hG : Continuous G) : + (∫ r in (0 : ℝ)..R, r ^ 11 * ‖G r‖ ^ 2) = + (∫ r in (0 : ℝ)..R, r ^ 11 * (G r).re ^ 2) + + (∫ r in (0 : ℝ)..R, r ^ 11 * (G r).im ^ 2) := by + have hpoint (r : ℝ) : r ^ 11 * ‖G r‖ ^ 2 = + r ^ 11 * (G r).re ^ 2 + r ^ 11 * (G r).im ^ 2 := by + rw [Complex.sq_norm] + simp only [Complex.normSq_apply] + ring + simp_rw [hpoint] + rw [intervalIntegral.integral_add] + · exact Continuous.intervalIntegrable (by fun_prop) 0 R + · exact Continuous.intervalIntegrable (by fun_prop) 0 R + rw [hnorm F hF.continuous, hnorm (deriv F) hF.continuous_deriv_one] + linarith + +theorem homogeneousRegular_complex_energy (R eta : ℝ) (hR : 0 ≤ R) + (F H : ℝ → ℂ) (hF : ContDiff ℝ 2 F) (hH : Continuous H) (hFR : F R = 0) + (hODE : ∀ r, 0 < r → r ≤ R → deriv (deriv F) r + + ((11 / r : ℝ) : ℂ) * deriv F r - ((eta / r ^ 2 : ℝ) : ℂ) * F r = H r) : + (∫ r in (0 : ℝ)..R, r ^ 11 * ‖deriv F r‖ ^ 2) + + eta * (∫ r in (0 : ℝ)..R, r ^ 9 * ‖F r‖ ^ 2) = + -(∫ r in (0 : ℝ)..R, r ^ 11 * (star (F r) * H r).re) := by + obtain ⟨hdr, hddr⟩ := homogeneousCoordinate_derivatives F hF Complex.reCLM + obtain ⟨hdi, hddi⟩ := homogeneousCoordinate_derivatives F hF Complex.imCLM + simp only [Complex.reCLM_apply, Complex.imCLM_apply] at hdr hddr hdi hddi + have hre : ∀ r, 0 < r → r ≤ R → + deriv (deriv (fun r => (F r).re)) r + 11 / r * deriv (fun r => (F r).re) r - + eta / r ^ 2 * (F r).re = (H r).re := by + intro r hr hrr + rw [hddr, hdr] + simpa only [Complex.add_re, Complex.sub_re, Complex.mul_re, + Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero] using + congrArg Complex.re (hODE r hr hrr) + have him : ∀ r, 0 < r → r ≤ R → + deriv (deriv (fun r => (F r).im)) r + 11 / r * deriv (fun r => (F r).im) r - + eta / r ^ 2 * (F r).im = (H r).im := by + intro r hr hrr + rw [hddi, hdi] + simpa only [Complex.add_im, Complex.sub_im, Complex.mul_im, + Complex.ofReal_re, Complex.ofReal_im, zero_mul, add_zero] using + congrArg Complex.im (hODE r hr hrr) + have hr := homogeneousRegular_energy_identity R eta hR (fun r => (F r).re) + (fun r => (H r).re) (Complex.reCLM.contDiff.comp hF) (Complex.continuous_re.comp hH) (by rw [hFR]; rfl) hre + have hi := homogeneousRegular_energy_identity R eta hR (fun r => (F r).im) + (fun r => (H r).im) (Complex.imCLM.contDiff.comp hF) (Complex.continuous_im.comp hH) (by rw [hFR]; rfl) him + rw [hdr] at hr + rw [hdi] at hi + have hs : (∫ r in (0 : ℝ)..R, r ^ 11 * (star (F r) * H r).re) = + (∫ r in (0 : ℝ)..R, r ^ 11 * (F r).re * (H r).re) + + (∫ r in (0 : ℝ)..R, r ^ 11 * (F r).im * (H r).im) := by + have he (r : ℝ) : r ^ 11 * (star (F r) * H r).re = + r ^ 11 * (F r).re * (H r).re + r ^ 11 * (F r).im * (H r).im := by + simp only [Complex.star_def, Complex.mul_re, Complex.conj_re, Complex.conj_im] + ring + simp_rw [he] + rw [intervalIntegral.integral_add] + · exact Continuous.intervalIntegrable (by fun_prop) 0 R + · exact Continuous.intervalIntegrable (by fun_prop) 0 R + have hn (G : ℝ → ℂ) (hG : Continuous G) (k : ℕ) : + (∫ r in (0 : ℝ)..R, r ^ k * ‖G r‖ ^ 2) = + (∫ r in (0 : ℝ)..R, r ^ k * (G r).re ^ 2) + + (∫ r in (0 : ℝ)..R, r ^ k * (G r).im ^ 2) := by + have he (r : ℝ) : r ^ k * ‖G r‖ ^ 2 = + r ^ k * (G r).re ^ 2 + r ^ k * (G r).im ^ 2 := by + rw [Complex.sq_norm] + simp only [Complex.normSq_apply] + ring + simp_rw [he] + rw [intervalIntegral.integral_add] + · exact Continuous.intervalIntegrable (by fun_prop) 0 R + · exact Continuous.intervalIntegrable (by fun_prop) 0 R + rw [hn (deriv F) (hF.continuous_deriv (by norm_num)) 11, hn F hF.continuous 9, hs] + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularCoupling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularCoupling.lean new file mode 100644 index 0000000000000000000000000000000000000000..083152f0ba4832f5b12fbe38212aeb2a466a8f8b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularCoupling.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularSmallBall + +namespace OAI + +/-! Explicit bounds on the lower-order terms of the regular two-channel system. -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousRegular_coupling_bound (A B C D F G FP GP : ℂ) (t K : ℝ) + (ht : 0 ≤ t) (ht1 : t ≤ 1) (hK : 0 ≤ K) + (hA : ‖A‖ ≤ K) (hB : ‖B‖ ≤ K) (hC : ‖C‖ ≤ K) (hD : ‖D‖ ≤ K) : + -((star F * (-Complex.I * (t / 2 : ℝ) * FP + A * F + B * G)).re + + (star G * (Complex.I * (t / 2 : ℝ) * GP + C * G + D * F)).re) ≤ + (2 * K + 1) * (‖F‖ ^ 2 + ‖G‖ ^ 2) + (‖FP‖ ^ 2 + ‖GP‖ ^ 2) / 2 := by + have hnorm (I : ℂ) (hI : ‖I‖ = 1) (X XP U V Y : ℂ) + (hU : ‖U‖ ≤ K) (hV : ‖V‖ ≤ K) : + ‖I * (t / 2 : ℝ) * XP + U * X + V * Y‖ ≤ + ‖XP‖ / 2 + K * ‖X‖ + K * ‖Y‖ := by + calc + _ ≤ ‖I * (t / 2 : ℝ) * XP‖ + ‖U * X‖ + ‖V * Y‖ := + (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) + _ = (t / 2) * ‖XP‖ + ‖U‖ * ‖X‖ + ‖V‖ * ‖Y‖ := by + rw [norm_mul, norm_mul, norm_mul, norm_mul, hI, one_mul, + Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (div_nonneg ht (by norm_num))] + _ ≤ ‖XP‖ / 2 + K * ‖X‖ + K * ‖Y‖ := by + nlinarith [norm_nonneg XP, mul_le_mul_of_nonneg_right hU (norm_nonneg X), + mul_le_mul_of_nonneg_right hV (norm_nonneg Y), + mul_le_mul_of_nonneg_right ht1 (norm_nonneg XP)] + have hHp := hnorm (-Complex.I) (by simp) F FP A B G hA hB + have hHm := hnorm Complex.I Complex.norm_I G GP C D F hC hD + have hreal (X Y : ℂ) : -(star X * Y).re ≤ ‖X‖ * ‖Y‖ := by + calc + _ ≤ |(star X * Y).re| := neg_le_abs _ + _ ≤ ‖star X * Y‖ := Complex.abs_re_le_norm _ + _ = ‖X‖ * ‖Y‖ := by rw [norm_mul, norm_star] + have hp := (hreal F _).trans (mul_le_mul_of_nonneg_left hHp (norm_nonneg F)) + have hm := (hreal G _).trans (mul_le_mul_of_nonneg_left hHm (norm_nonneg G)) + nlinarith [sq_nonneg (‖FP‖ - ‖F‖), sq_nonneg (‖GP‖ - ‖G‖), + mul_nonneg hK (sq_nonneg (‖F‖ - ‖G‖)), sq_nonneg ‖F‖, sq_nonneg ‖G‖] + +theorem homogeneousRegular_coupled_zero (R eta K : ℝ) + (hR : 0 < R) (hR1 : R ≤ 1) (heta : 0 ≤ eta) (hK : 0 ≤ K) + (hsmall : (2 * K + 1) * R ^ 2 < 8) + (A B C D F G : ℝ → ℂ) (hA : Continuous A) (hB : Continuous B) + (hC : Continuous C) (hD : Continuous D) + (hF : ContDiff ℝ 2 F) (hG : ContDiff ℝ 2 G) (hFR : F R = 0) (hGR : G R = 0) + (hcoeff : ∀ r ∈ Icc 0 R, ‖A r‖ ≤ K ∧ ‖B r‖ ≤ K ∧ ‖C r‖ ≤ K ∧ ‖D r‖ ≤ K) + (hODEF : ∀ r, 0 < r → r ≤ R → deriv (deriv F) r + + ((11 / r : ℝ) : ℂ) * deriv F r - ((eta / r ^ 2 : ℝ) : ℂ) * F r = + -Complex.I * (r / 2 : ℝ) * deriv F r + A r * F r + B r * G r) + (hODEG : ∀ r, 0 < r → r ≤ R → deriv (deriv G) r + + ((11 / r : ℝ) : ℂ) * deriv G r - ((eta / r ^ 2 : ℝ) : ℂ) * G r = + Complex.I * (r / 2 : ℝ) * deriv G r + C r * G r + D r * F r) : + ∀ r ∈ Icc 0 R, F r = 0 ∧ G r = 0 := by + let H := fun r => -Complex.I * (r / 2 : ℝ) * deriv F r + A r * F r + B r * G r + let J := fun r => Complex.I * (r / 2 : ℝ) * deriv G r + C r * G r + D r * F r + have hfd := hF.continuous_deriv (by norm_num : (1 : ℕ∞ω) ≤ 2) + have hgd := hG.continuous_deriv (by norm_num : (1 : ℕ∞ω) ≤ 2) + have hH : Continuous H := by dsimp only [H]; fun_prop + have hJ : Continuous J := by dsimp only [J]; fun_prop + apply homogeneousRegular_pair_zero_of_bound R eta (2 * K + 1) hR heta + (by positivity) hsmall F G H J hF hG hH hJ hFR hGR hODEF hODEG + intro r hr + obtain ⟨hAr, hBr, hCr, hDr⟩ := hcoeff r hr + exact homogeneousRegular_coupling_bound (A r) (B r) (C r) (D r) + (F r) (G r) (deriv F r) (deriv G r) r K hr.1 (hr.2.trans hR1) hK hAr hBr hCr hDr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..ba09e59918f466421174ea83b5398d04fe9df671 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularEnergy.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialHardyInequality +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus + +namespace OAI + +/-! # Small-ball energy estimates for bounded regular radial channels -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousRegular_poincare (R : ℝ) (hR : 0 ≤ R) + (u : ℝ → ℝ) (hu : ContDiff ℝ 1 u) (huR : u R = 0) : + 16 * (∫ r in (0 : ℝ)..R, r ^ 11 * (u r) ^ 2) ≤ + R ^ 2 * (∫ r in (0 : ℝ)..R, r ^ 11 * (deriv u r) ^ 2) := by + have hH := radialHardyInequality 0 R le_rfl (by norm_num) hR u hu huR + simp only [radialHardyWeight, mul_zero, Real.rpow_zero, mul_one] at hH + have hI : (∫ r in (0 : ℝ)..R, r ^ 11 * (u r) ^ 2) ≤ + R ^ 2 * (∫ r in (0 : ℝ)..R, r ^ 9 * (u r) ^ 2) := by + have hA : Continuous (fun r : ℝ => r ^ 11 * (u r) ^ 2) := by fun_prop + have hB : Continuous (fun r : ℝ => R ^ 2 * (r ^ 9 * (u r) ^ 2)) := by fun_prop + have h := intervalIntegral.integral_mono_on hR + (hA.intervalIntegrable (μ := volume) 0 R) + (hB.intervalIntegrable (μ := volume) 0 R) (fun r hr => by + have hrR : r ^ 2 ≤ R ^ 2 := pow_le_pow_left₀ hr.1 hr.2 2 + have hp := mul_le_mul_of_nonneg_right hrR (mul_nonneg (pow_nonneg hr.1 9) (sq_nonneg (u r))) + convert hp using 1 + ring) + simpa only [intervalIntegral.integral_const_mul] using h + nlinarith [mul_le_mul_of_nonneg_left hH (sq_nonneg R)] + +theorem homogeneousRegular_energy_identity (R eta : ℝ) (hR : 0 ≤ R) + (u H : ℝ → ℝ) (hu : ContDiff ℝ 2 u) (hH : Continuous H) (huR : u R = 0) + (hODE : ∀ r, 0 < r → r ≤ R → + deriv (deriv u) r + 11 / r * deriv u r - eta / r ^ 2 * u r = H r) : + (∫ r in (0 : ℝ)..R, r ^ 11 * (deriv u r) ^ 2) + + eta * (∫ r in (0 : ℝ)..R, r ^ 9 * (u r) ^ 2) = + -(∫ r in (0 : ℝ)..R, r ^ 11 * u r * H r) := by + let J := fun r => r ^ 11 * u r * deriv u r + let A := fun r => r ^ 11 * (deriv u r) ^ 2 + eta * (r ^ 9 * (u r) ^ 2) + + r ^ 11 * u r * H r + have hud : ContDiff ℝ 1 (deriv u) := hu.deriv' + have hA : Continuous A := by + dsimp only [A] + fun_prop + have hJ (r : ℝ) (hr : r ∈ Icc 0 R) : HasDerivAt J (A r) r := by + have h := (((hasDerivAt_id r).pow 11).mul + (hu.differentiable (by norm_num) r).hasDerivAt).mul + (hud.differentiable (by norm_num) r).hasDerivAt + apply h.congr_deriv + rcases hr.1.eq_or_lt with hr0 | hr0 + · subst r + simp [A] + · have he := hODE r hr0 hr.2 + dsimp only [A] + norm_num only [Nat.cast_ofNat, Nat.reduceSub, Pi.mul_apply, Pi.pow_apply, id_eq, mul_one] + field_simp [hr0.ne'] at he + linear_combination (r ^ 9 * u r) * he + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun r hr => hJ r (by simpa only [uIcc_of_le hR] using hr)) + (hA.intervalIntegrable (μ := volume) 0 R) + have hi1 : IntervalIntegrable (fun r => r ^ 11 * (deriv u r) ^ 2) volume 0 R := by + apply Continuous.intervalIntegrable + fun_prop + have hi2 : IntervalIntegrable (fun r => r ^ 9 * (u r) ^ 2) volume 0 R := by + apply Continuous.intervalIntegrable + fun_prop + have hi3 : IntervalIntegrable (fun r => r ^ 11 * u r * H r) volume 0 R := by + apply Continuous.intervalIntegrable + fun_prop + simp only [J, huR, mul_zero, zero_pow (by norm_num : (11 : ℕ) ≠ 0), zero_mul, sub_self] at he + dsimp only [A] at he + rw [intervalIntegral.integral_add (hi1.add (hi2.const_mul eta)) hi3, + intervalIntegral.integral_add hi1 (hi2.const_mul eta), + intervalIntegral.integral_const_mul] at he + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularMode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularMode.lean new file mode 100644 index 0000000000000000000000000000000000000000..4af247db1d002e09982d32b111b750763e7f64c9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularMode.lean @@ -0,0 +1,95 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularCompleteness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralMode +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedEvenProfile +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhysicalScaling + +namespace OAI + +/-! The actual classical harmonic mode supplies the regular-basis data. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneous_matched_mode_state (n N : ℕ) (z : ProfileMatchingBall) + (eta lam : ℂ) + (u : RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) N + (radialMatchedProfile n z) eta lam) : + ContDiff ℝ 2 (fun r => (harmonicRadialState u.first u.second r).1.1) ∧ + ContDiff ℝ 2 (fun r => (harmonicRadialState u.first u.second r).2.1) ∧ + ∀ r, 0 < r → HasDerivAt (harmonicRadialState u.first u.second) + (spectralPhysicalCircularField + (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) + eta (n + radialInnerShootingThreshold) (radialMatchedEvenProfile n z r) r + (harmonicRadialState u.first u.second r)) r := by + refine ⟨u.first_c2, u.second_c2, ?_⟩ + intro r hr + have hs : star (radialShootingNu (n + radialInnerShootingThreshold) z) = + -2 * (radialShootingA n : ℂ) - + 2 * Complex.I * (radialShootingB (profileMatchingParameter z) : ℂ) := by + rw [radialShootingNu_physical] + simp only [star_add, star_mul, star_neg, star_ofNat, Complex.star_def, + Complex.conj_ofReal, Complex.conj_I] + ring + rw [hs, radialShootingNu_physical, radialMatchedEvenProfile_nonneg n z r hr.le] + exact harmonicRadialState_hasDerivAt (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) u.first u.second eta lam u.first_c2 u.second_c2 u.equation r hr + +theorem homogeneous_matched_mode_state_ne_zero (n N : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta lam : ℂ) + (u : RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) N + (radialMatchedProfile n z) eta lam) (R : ℝ) (hR : 0 < R) : + harmonicRadialState u.first u.second R ≠ 0 := by + intro hzero + obtain ⟨r, hr, hn⟩ := u.nonzero + have he := harmonicRadialState_zero_of_zero (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) u.first u.second eta lam + (radialMatchedProfile_differentiable n z hX hz).continuous.continuousOn + u.first_c2 u.second_c2 u.equation R hR hzero r hr + rcases hn with hf | hg + · exact hf (congrArg (fun w : E₄ => w.1.1) he) + · exact hg (congrArg (fun w : E₄ => w.2.1) he) + +theorem homogeneous_matched_mode_regular_span (n N : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta : ℝ) (heta : 0 ≤ eta) (lam : ℂ) + (u : RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) N + (radialMatchedProfile n z) (eta : ℂ) lam) (R : ℝ) (hR : 0 < R) + (Rp Rm : ℝ → E₄) + (hpc : ContDiff ℝ 2 (fun r => (Rp r).1.1) ∧ ContDiff ℝ 2 (fun r => (Rp r).2.1)) + (hmc : ContDiff ℝ 2 (fun r => (Rm r).1.1) ∧ ContDiff ℝ 2 (fun r => (Rm r).2.1)) + (hp : ∀ r ∈ Ioc 0 R, HasDerivAt Rp + (spectralPhysicalCircularField + (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) + (eta : ℂ) (n + radialInnerShootingThreshold) (radialMatchedEvenProfile n z r) r (Rp r)) r) + (hm : ∀ r ∈ Ioc 0 R, HasDerivAt Rm + (spectralPhysicalCircularField + (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) + (eta : ℂ) (n + radialInnerShootingThreshold) (radialMatchedEvenProfile n z r) r (Rm r)) r) + (hrank : LinearIndependent ℂ ![Rp R, Rm R]) : + ∃ c : ℂ × ℂ, harmonicRadialState u.first u.second R = c.1 • Rp R + c.2 • Rm R := by + obtain ⟨huc1, huc2, hu⟩ := homogeneous_matched_mode_state n N z (eta : ℂ) lam u + exact homogeneousRegular_basis_complete + (radialShootingNu (n + radialInnerShootingThreshold) z - 2 * lam) + (star (radialShootingNu (n + radialInnerShootingThreshold) z) - 2 * lam) + eta heta (n + radialInnerShootingThreshold) (radialMatchedEvenProfile n z) + (radialMatchedEvenProfile_contDiff n z hX hz).continuous R hR + (harmonicRadialState u.first u.second) Rp Rm ⟨huc1, huc2⟩ hpc hmc + (fun r hr => hu r hr.1) hp hm hrank + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularPhysical.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularPhysical.lean new file mode 100644 index 0000000000000000000000000000000000000000..c3999a678c57de162840ab058e63c816dd7cc8ae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularPhysical.lean @@ -0,0 +1,110 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularCoupling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingPropagation + +namespace OAI + +/-! Small-ball uniqueness for the actual physical radial system. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousRegular_state_velocity (νp νm eta : ℂ) (m : ℕ) (Q : ℝ → ℂ) + (U : ℝ → E₄) (r : ℝ) + (hU : HasDerivAt U (spectralPhysicalCircularField νp νm eta m (Q r) r (U r)) r) : + deriv (fun s => (U s).1.1) r = (U r).1.2 ∧ + deriv (fun s => (U s).2.1) r = (U r).2.2 := by + have hp := ((ContinuousLinearMap.fst ℝ ℂ ℂ).comp + (ContinuousLinearMap.fst ℝ (ℂ × ℂ) (ℂ × ℂ))).hasFDerivAt.comp_hasDerivAt r hU + have hm := ((ContinuousLinearMap.fst ℝ ℂ ℂ).comp + (ContinuousLinearMap.snd ℝ (ℂ × ℂ) (ℂ × ℂ))).hasFDerivAt.comp_hasDerivAt r hU + exact ⟨hp.deriv, hm.deriv⟩ + +theorem homogeneousRegular_state_equation (νp νm : ℂ) (eta : ℝ) (m : ℕ) + (Q : ℝ → ℂ) (U : ℝ → E₄) (R : ℝ) + (hU : ∀ r ∈ Ioc 0 R, HasDerivAt U + (spectralPhysicalCircularField νp νm (eta : ℂ) m (Q r) r (U r)) r) + (r : ℝ) (hr : r ∈ Ioo 0 R) : + let F := fun s => (U s).1.1 + let G := fun s => (U s).2.1 + (deriv (deriv F) r + ((11 / r : ℝ) : ℂ) * deriv F r - + ((eta / r ^ 2 : ℝ) : ℂ) * F r = -Complex.I * (r / 2 : ℝ) * deriv F r + + (spectralDiagonalCoefficient m (Q r) + Complex.I * νp / 2) * F r + + spectralCrossCoefficient m (Q r) * G r) ∧ + (deriv (deriv G) r + ((11 / r : ℝ) : ℂ) * deriv G r - + ((eta / r ^ 2 : ℝ) : ℂ) * G r = Complex.I * (r / 2 : ℝ) * deriv G r + + (star (spectralDiagonalCoefficient m (Q r)) - Complex.I * νm / 2) * G r + + star (spectralCrossCoefficient m (Q r)) * F r) := by + let F := fun s => (U s).1.1 + let G := fun s => (U s).2.1 + have hv (s : ℝ) (hs : s ∈ Ioc 0 R) := + homogeneousRegular_state_velocity νp νm (eta : ℂ) m Q U s (hU s hs) + have hFp : deriv F =ᶠ[nhds r] (fun s => (U s).1.2) := by + filter_upwards [Ioo_mem_nhds hr.1 hr.2] with s hs + exact (hv s ⟨hs.1, hs.2.le⟩).1 + have hGp : deriv G =ᶠ[nhds r] (fun s => (U s).2.2) := by + filter_upwards [Ioo_mem_nhds hr.1 hr.2] with s hs + exact (hv s ⟨hs.1, hs.2.le⟩).2 + have hp := (((ContinuousLinearMap.snd ℝ ℂ ℂ).comp + (ContinuousLinearMap.fst ℝ (ℂ × ℂ) (ℂ × ℂ))).hasFDerivAt.comp_hasDerivAt r + (hU r ⟨hr.1, hr.2.le⟩)).congr_of_eventuallyEq hFp + have hm := (((ContinuousLinearMap.snd ℝ ℂ ℂ).comp + (ContinuousLinearMap.snd ℝ (ℂ × ℂ) (ℂ × ℂ))).hasFDerivAt.comp_hasDerivAt r + (hU r ⟨hr.1, hr.2.le⟩)).congr_of_eventuallyEq hGp + change (_ = _) ∧ (_ = _) + dsimp only [F, G] + rw [hp.deriv, hm.deriv, (hv r ⟨hr.1, hr.2.le⟩).1, (hv r ⟨hr.1, hr.2.le⟩).2] + simp only [ContinuousLinearMap.comp_apply, ContinuousLinearMap.coe_fst', + ContinuousLinearMap.coe_snd'] + constructor <;> dsimp only [spectralPhysicalCircularField] + all_goals push_cast; ring + +theorem homogeneousRegular_physical_small_ball (νp νm : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (hQ : Continuous Q) : + ∃ δ : ℝ, 0 < δ ∧ δ ≤ 1 ∧ ∀ (R eta : ℝ), 0 < R → R ≤ δ → 0 ≤ eta → + ∀ F G : ℝ → ℂ, ContDiff ℝ 2 F → ContDiff ℝ 2 G → F R = 0 → G R = 0 → + (∀ r, 0 < r → r ≤ R → deriv (deriv F) r + ((11 / r : ℝ) : ℂ) * deriv F r - + ((eta / r ^ 2 : ℝ) : ℂ) * F r = -Complex.I * (r / 2 : ℝ) * deriv F r + + (spectralDiagonalCoefficient m (Q r) + Complex.I * νp / 2) * F r + + spectralCrossCoefficient m (Q r) * G r) → + (∀ r, 0 < r → r ≤ R → deriv (deriv G) r + ((11 / r : ℝ) : ℂ) * deriv G r - + ((eta / r ^ 2 : ℝ) : ℂ) * G r = Complex.I * (r / 2 : ℝ) * deriv G r + + (star (spectralDiagonalCoefficient m (Q r)) - Complex.I * νm / 2) * G r + + star (spectralCrossCoefficient m (Q r)) * F r) → + ∀ r ∈ Icc 0 R, F r = 0 ∧ G r = 0 := by + let A := fun r => spectralDiagonalCoefficient m (Q r) + Complex.I * νp / 2 + let B := fun r => spectralCrossCoefficient m (Q r) + let C := fun r => star (spectralDiagonalCoefficient m (Q r)) - Complex.I * νm / 2 + let D := fun r => star (spectralCrossCoefficient m (Q r)) + have hA : Continuous A := by dsimp [A, spectralDiagonalCoefficient]; fun_prop + have hB : Continuous B := by dsimp [B, spectralCrossCoefficient]; fun_prop + have hC : Continuous C := by dsimp [C, spectralDiagonalCoefficient]; fun_prop + have hD : Continuous D := by dsimp [D, spectralCrossCoefficient]; fun_prop + obtain ⟨M, hM⟩ := (isCompact_Icc : IsCompact (Icc (0 : ℝ) 1)).exists_bound_of_continuousOn + ((hA.prodMk hB).prodMk (hC.prodMk hD)).continuousOn + let K := max M 0 + have hK : 0 ≤ K := le_max_right _ _ + have hcoeff (r : ℝ) (hr : r ∈ Icc 0 1) : + ‖A r‖ ≤ K ∧ ‖B r‖ ≤ K ∧ ‖C r‖ ≤ K ∧ ‖D r‖ ≤ K := by + have hb : ‖((A r, B r), (C r, D r))‖ ≤ K := (hM r hr).trans (le_max_left _ _) + exact ⟨((norm_fst_le _).trans (norm_fst_le _)).trans hb, + ((norm_snd_le _).trans (norm_fst_le _)).trans hb, + ((norm_fst_le _).trans (norm_snd_le _)).trans hb, + ((norm_snd_le _).trans (norm_snd_le _)).trans hb⟩ + obtain ⟨ε, hε, hεsmall⟩ := exists_pos_mul_lt (by norm_num : (0 : ℝ) < 8) (2 * K + 1) + let δ := min 1 ε + have hδ : 0 < δ := lt_min zero_lt_one hε + refine ⟨δ, hδ, min_le_left _ _, ?_⟩ + intro R eta hR hRδ heta F G hF hG hFR hGR hODEF hODEG + have hR1 : R ≤ 1 := hRδ.trans (min_le_left _ _) + have hRsqR : R ^ 2 ≤ R := by nlinarith + have hRsq : R ^ 2 ≤ ε := hRsqR.trans (hRδ.trans (min_le_right _ _)) + exact homogeneousRegular_coupled_zero R eta K hR hR1 heta hK + ((mul_le_mul_of_nonneg_left hRsq (by positivity)).trans_lt hεsmall) + A B C D F G hA hB hC hD hF hG hFR hGR + (fun r hr => hcoeff r ⟨hr.1, hr.2.trans hR1⟩) hODEF hODEG + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularPrimitive.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularPrimitive.lean new file mode 100644 index 0000000000000000000000000000000000000000..9eefbc63bddacf60e2b7a7d69968d208854d6fc5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularPrimitive.lean @@ -0,0 +1,123 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRegularPhysicalBasis +import Mathlib.Analysis.Calculus.Deriv.Slope +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + +namespace OAI + +/-! # Twice differentiable regular Volterra primitives at the origin -/ + +open Set Filter MeasureTheory Topology +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousRegularSlope_hasDerivAt (d : ℕ) (h : ℝ) (f : ℝ → ℂ) + (hf : Continuous f) (r : ℝ) (hr : r ≠ 0) : + HasDerivAt (fun s : ℝ => (s : ℂ)*spectralRegularAverage d h f s) + (f r-((d : ℂ)/(r : ℂ)+Complex.I*(h*r/2 : ℝ))* + ((r : ℂ)*spectralRegularAverage d h f r)) r := by + let F : ℝ → ℂ := fun s => spectralRegularDensity d h s*f s + let J : ℝ → ℂ := fun s => ∫ t in (0 : ℝ)..s, F t + have hF : Continuous F := by unfold F spectralRegularDensity; fun_prop + have hJ : HasDerivAt J (F r) r := + intervalIntegral.integral_hasDerivAt_right (hF.intervalIntegrable 0 r) + hF.stronglyMeasurable.stronglyMeasurableAtFilter hF.continuousAt + have he (s : ℝ) (hs : s ≠ 0) : + J s/spectralRegularDensity d h s=(s : ℂ)*spectralRegularAverage d h f s := by + apply (div_eq_iff (spectralRegularDensity_ne_zero d h s hs)).mpr + have hi := spectralRegularAverage_scaling d h s f + change _=∫ t in (0 : ℝ)..s, F t at hi + change _=J s at hi + rw [← hi] + unfold spectralRegularDensity + rw [pow_succ] + ring + have hevent : (fun s => J s/spectralRegularDensity d h s) =ᶠ[nhds r] + (fun s : ℝ => (s : ℂ)*spectralRegularAverage d h f s) := by + filter_upwards [eventually_ne_nhds hr] with s hs + exact he s hs + have hd := (hJ.div (spectralRegularDensity_hasDerivAt d h r hr) + (spectralRegularDensity_ne_zero d h r hr)).congr_of_eventuallyEq hevent.symm + apply hd.congr_deriv + change (spectralRegularDensity d h r*f r*spectralRegularDensity d h r- + J r*(spectralRegularDensity d h r* + ((d : ℂ)/(r : ℂ)+Complex.I*(h*r/2 : ℝ))))/(spectralRegularDensity d h r)^2=_ + rw [← he r hr] + field_simp [spectralRegularDensity_ne_zero d h r hr] + +theorem homogeneousRegularAverage_zero (d : ℕ) (h : ℝ) (f : ℝ → ℂ) : + spectralRegularAverage d h f 0 = f 0 / (d + 1 : ℂ) := by + simp only [spectralRegularAverage, zero_pow (by norm_num : (2 : ℕ) ≠ 0), + mul_zero, zero_mul, zero_div, Complex.ofReal_zero, Complex.exp_zero, mul_one] + rw [intervalIntegral.integral_mul_const] + have hi : (∫ t in (0 : ℝ)..1, (t : ℂ)^d) = 1 / (d + 1 : ℂ) := by + simp_rw [← Complex.ofReal_pow] + rw [intervalIntegral.integral_ofReal] + simp only [integral_pow, one_pow, zero_pow (Nat.succ_ne_zero d), sub_zero] + push_cast + rfl + rw [hi] + ring + +theorem homogeneousRegular_mul_at_zero (A : ℝ → ℂ) (hA : ContinuousAt A 0) : + HasDerivAt (fun r : ℝ => (r : ℂ) * A r) (A 0) 0 := by + apply hasDerivAt_iff_tendsto_slope_zero.mpr + apply (hA.tendsto.mono_left nhdsWithin_le_nhds).congr' + filter_upwards [self_mem_nhdsWithin] with r hr + simp only [zero_add, Complex.ofReal_zero, zero_mul, sub_zero, Complex.real_smul, + Complex.ofReal_inv] + have hn : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr + rw [← mul_assoc, inv_mul_cancel₀ hn, one_mul] + +theorem homogeneousRegularPrimitive_contDiff_two (d : ℕ) (h : ℝ) (f : ℝ → ℂ) + (hf : Continuous f) : ContDiff ℝ 2 (spectralRegularPrimitive d h f) := by + let A := spectralRegularAverage d h f + let S := fun r : ℝ => (r : ℂ) * A r + let D := fun r : ℝ => f r - ((d : ℂ) + Complex.I * (h * r ^ 2 / 2 : ℝ)) * A r + have hA : Continuous A := spectralRegularAverage_continuous d h f hf + have hD : Continuous D := by dsimp only [D]; fun_prop + have hS (r : ℝ) : HasDerivAt S (D r) r := by + by_cases hr : r = 0 + · subst r + have he : D 0 = A 0 := by + dsimp only [D, A] + rw [homogeneousRegularAverage_zero] + simp only [zero_pow (by norm_num : (2 : ℕ) ≠ 0), mul_zero, zero_div, + Complex.ofReal_zero, mul_zero, add_zero] + field_simp [show (d + 1 : ℂ) ≠ 0 by exact_mod_cast Nat.succ_ne_zero d] + ring + rw [he] + exact homogeneousRegular_mul_at_zero A hA.continuousAt + · apply (homogeneousRegularSlope_hasDerivAt d h f hf r hr).congr_deriv + dsimp only [S, D, A] + push_cast + field_simp [Complex.ofReal_ne_zero.mpr hr] + have hSder : deriv S = D := funext (fun r => (hS r).deriv) + have hSC : ContDiff ℝ 1 S := contDiff_one_iff_deriv.mpr + ⟨fun r => (hS r).differentiableAt, by rw [hSder]; exact hD⟩ + have hp : deriv (spectralRegularPrimitive d h f) = S := + funext (fun r => (spectralRegularPrimitive_hasDerivAt d h f hf r).deriv) + rw [show (2 : ℕ∞ω) = 1 + 1 by norm_num, contDiff_succ_iff_deriv] + refine ⟨fun r => (spectralRegularPrimitive_hasDerivAt d h f hf r).differentiableAt, + by norm_num, ?_⟩ + rw [hp] + exact hSC + +theorem homogeneousRegularLift_contDiff_two (d : ℕ) (α : ℝ) (c : ℂ × ℂ) + (s : RegularSpectralSpace) : ContDiff ℝ 2 (spectralRegularLift d α c s) := by + exact (contDiff_const.add (homogeneousRegularPrimitive_contDiff_two d 1 _ + (spectralRegularWeightedSource_continuous α s.1))).prodMk + (contDiff_const.add (homogeneousRegularPrimitive_contDiff_two d (-1) _ + (spectralRegularWeightedSource_continuous α s.2))) + +theorem homogeneousRegularPhysical_contDiff_two (ell d : ℕ) (α : ℝ) (c : ℂ × ℂ) + (s : RegularSpectralSpace) : + ContDiff ℝ 2 (fun r => (spectralAngularPair ell (spectralRegularState d α c s) r).1.1) ∧ + ContDiff ℝ 2 (fun r => (spectralAngularPair ell (spectralRegularState d α c s) r).2.1) := by + have hp : ContDiff ℝ 2 (fun r : ℝ => (r : ℂ)^ell) := + Complex.ofRealCLM.contDiff.pow ell + have hL := homogeneousRegularLift_contDiff_two d α c s + exact ⟨hp.mul hL.fst, hp.mul hL.snd⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularSmallBall.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularSmallBall.lean new file mode 100644 index 0000000000000000000000000000000000000000..0f9c6f3cc193b62f14fa34e9138d5864245f90ea --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularSmallBall.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularZero + +namespace OAI + +/-! A local Dirichlet uniqueness estimate for the two radial channels. -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousRegular_pair_zero_of_bound (R eta C : ℝ) + (hR : 0 < R) (heta : 0 ≤ eta) (hC : 0 ≤ C) (hsmall : C * R ^ 2 < 8) + (F G H J : ℝ → ℂ) (hF : ContDiff ℝ 2 F) (hG : ContDiff ℝ 2 G) + (hH : Continuous H) (hJ : Continuous J) (hFR : F R = 0) (hGR : G R = 0) + (hODEF : ∀ r, 0 < r → r ≤ R → deriv (deriv F) r + + ((11 / r : ℝ) : ℂ) * deriv F r - ((eta / r ^ 2 : ℝ) : ℂ) * F r = H r) + (hODEG : ∀ r, 0 < r → r ≤ R → deriv (deriv G) r + + ((11 / r : ℝ) : ℂ) * deriv G r - ((eta / r ^ 2 : ℝ) : ℂ) * G r = J r) + (hbound : ∀ r ∈ Icc 0 R, + -((star (F r) * H r).re + (star (G r) * J r).re) ≤ + C * (‖F r‖ ^ 2 + ‖G r‖ ^ 2) + (‖deriv F r‖ ^ 2 + ‖deriv G r‖ ^ 2) / 2) : + ∀ r ∈ Icc 0 R, F r = 0 ∧ G r = 0 := by + let I := (∫ r in (0 : ℝ)..R, r ^ 11 * ‖F r‖ ^ 2) + + (∫ r in (0 : ℝ)..R, r ^ 11 * ‖G r‖ ^ 2) + let E := (∫ r in (0 : ℝ)..R, r ^ 11 * ‖deriv F r‖ ^ 2) + + (∫ r in (0 : ℝ)..R, r ^ 11 * ‖deriv G r‖ ^ 2) + have hEF := homogeneousRegular_complex_energy R eta hR.le F H hF hH hFR hODEF + have hEG := homogeneousRegular_complex_energy R eta hR.le G J hG hJ hGR hODEG + have hPF := homogeneousRegular_complex_poincare R hR.le F (hF.of_le (by norm_num)) hFR + have hPG := homogeneousRegular_complex_poincare R hR.le G (hG.of_le (by norm_num)) hGR + have hPN : 16 * I ≤ R ^ 2 * E := by dsimp only [I, E]; nlinarith [hPF, hPG] + have hnon (k : ℕ) (f : ℝ → ℂ) : + 0 ≤ ∫ r in (0 : ℝ)..R, r ^ k * ‖f r‖ ^ 2 := by + apply intervalIntegral.integral_nonneg hR.le + intro r hr + exact mul_nonneg (pow_nonneg hr.1 k) (sq_nonneg _) + have hEn : 0 ≤ E := add_nonneg (hnon 11 (deriv F)) (hnon 11 (deriv G)) + have hineq : -(∫ r in (0 : ℝ)..R, r ^ 11 * (star (F r) * H r).re) - + (∫ r in (0 : ℝ)..R, r ^ 11 * (star (G r) * J r).re) ≤ C * I + E / 2 := by + have hc1 : Continuous (fun r => r ^ 11 * (star (F r) * H r).re) := by fun_prop + have hc2 : Continuous (fun r => r ^ 11 * (star (G r) * J r).re) := by fun_prop + have hcf : Continuous (fun r => r ^ 11 * ‖F r‖ ^ 2) := by fun_prop + have hcg : Continuous (fun r => r ^ 11 * ‖G r‖ ^ 2) := by fun_prop + have hcdf : Continuous (fun r => r ^ 11 * ‖deriv F r‖ ^ 2) := by + exact (continuous_id.pow 11).mul ((hF.continuous_deriv (by norm_num)).norm.pow 2) + have hcdg : Continuous (fun r => r ^ 11 * ‖deriv G r‖ ^ 2) := by + exact (continuous_id.pow 11).mul ((hG.continuous_deriv (by norm_num)).norm.pow 2) + have hi := intervalIntegral.integral_mono_on hR.le + ((hc1.add hc2).neg.intervalIntegrable (μ := volume) 0 R) + ((((hcf.add hcg).const_mul C).add ((hcdf.add hcdg).div_const 2)).intervalIntegrable (μ := volume) 0 R) + (fun r hr => by + dsimp only [Pi.add_apply, Pi.neg_apply] + have hh := mul_le_mul_of_nonneg_left (hbound r hr) (pow_nonneg hr.1 11) + convert hh using 1 <;> ring) + change (∫ r in (0 : ℝ)..R, -(r ^ 11 * (star (F r) * H r).re + + r ^ 11 * (star (G r) * J r).re)) ≤ + (∫ r in (0 : ℝ)..R, C * (r ^ 11 * ‖F r‖ ^ 2 + r ^ 11 * ‖G r‖ ^ 2) + + (r ^ 11 * ‖deriv F r‖ ^ 2 + r ^ 11 * ‖deriv G r‖ ^ 2) / 2) at hi + have hci : IntervalIntegrable (fun r => C * (r ^ 11 * ‖F r‖ ^ 2 + + r ^ 11 * ‖G r‖ ^ 2)) volume 0 R := by + apply Continuous.intervalIntegrable + fun_prop + have hdi : IntervalIntegrable (fun r => (r ^ 11 * ‖deriv F r‖ ^ 2 + + r ^ 11 * ‖deriv G r‖ ^ 2) / 2) volume 0 R := by + apply Continuous.intervalIntegrable + fun_prop + rw [intervalIntegral.integral_neg, + intervalIntegral.integral_add (hc1.intervalIntegrable (μ := volume) 0 R) + (hc2.intervalIntegrable (μ := volume) 0 R), + intervalIntegral.integral_add hci hdi, + intervalIntegral.integral_const_mul, intervalIntegral.integral_div, + intervalIntegral.integral_add (hcf.intervalIntegrable (μ := volume) 0 R) + (hcg.intervalIntegrable (μ := volume) 0 R), + intervalIntegral.integral_add (hcdf.intervalIntegrable (μ := volume) 0 R) + (hcdg.intervalIntegrable (μ := volume) 0 R)] at hi + dsimp only [I, E] + linarith + have hE : E ≤ C * I + E / 2 := by + have hpF := mul_nonneg heta (hnon 9 F) + have hpG := mul_nonneg heta (hnon 9 G) + dsimp only [E] + linarith + have hmul := mul_le_mul_of_nonneg_left hPN hC + have heq : E = 0 := by nlinarith + have hzeroF : (∫ r in (0 : ℝ)..R, r ^ 11 * ‖deriv F r‖ ^ 2) = 0 := by + dsimp only [E] at heq + linarith [hnon 11 (deriv F), hnon 11 (deriv G)] + have hzeroG : (∫ r in (0 : ℝ)..R, r ^ 11 * ‖deriv G r‖ ^ 2) = 0 := by + dsimp only [E] at heq + linarith [hnon 11 (deriv F), hnon 11 (deriv G)] + exact fun r hr => ⟨homogeneousRegular_gradient_zero R hR F (hF.of_le (by norm_num)) hFR hzeroF r hr, + homogeneousRegular_gradient_zero R hR G (hG.of_le (by norm_num)) hGR hzeroG r hr⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularStateZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularStateZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..e2a72ab5063df646f2449ff3406ec354a2c7ccc1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularStateZero.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularPhysical + +namespace OAI + +/-! Vanishing values on a small sphere determine the entire regular state. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneousRegular_state_zero_radius (νp νm : ℂ) (m : ℕ) + (Q : ℝ → ℂ) (hQ : Continuous Q) : + ∃ δ : ℝ, 0 < δ ∧ ∀ (eta R t : ℝ), 0 ≤ eta → 0 < t → t < R → t ≤ δ → + ∀ U : ℝ → E₄, + ContDiff ℝ 2 (fun r => (U r).1.1) → ContDiff ℝ 2 (fun r => (U r).2.1) → + (∀ r ∈ Ioc 0 R, HasDerivAt U + (spectralPhysicalCircularField νp νm (eta : ℂ) m (Q r) r (U r)) r) → + (U t).1.1 = 0 → (U t).2.1 = 0 → U R = 0 := by + obtain ⟨δ, hδ, _, huniq⟩ := homogeneousRegular_physical_small_ball νp νm m Q hQ + refine ⟨δ, hδ, ?_⟩ + intro eta R t heta ht htR htδ U hF hG hU hFt hGt + let F := fun r => (U r).1.1 + let G := fun r => (U r).2.1 + have hzero : ∀ r ∈ Icc 0 t, F r = 0 ∧ G r = 0 := by + apply huniq t eta ht htδ heta F G hF hG hFt hGt + · intro r hr hrt + exact (homogeneousRegular_state_equation νp νm eta m Q U R hU r + ⟨hr, hrt.trans_lt htR⟩).1 + · intro r hr hrt + exact (homogeneousRegular_state_equation νp νm eta m Q U R hU r + ⟨hr, hrt.trans_lt htR⟩).2 + let s := t / 2 + have hs : 0 < s := by dsimp only [s]; positivity + have hst : s < t := by dsimp only [s]; linarith + have heF : F =ᶠ[nhds s] (fun _ => 0) := by + filter_upwards [Ioo_mem_nhds hs hst] with r hr + exact (hzero r ⟨hr.1.le, hr.2.le⟩).1 + have heG : G =ᶠ[nhds s] (fun _ => 0) := by + filter_upwards [Ioo_mem_nhds hs hst] with r hr + exact (hzero r ⟨hr.1.le, hr.2.le⟩).2 + have hv := homogeneousRegular_state_velocity νp νm (eta : ℂ) m Q U s + (hU s ⟨hs, hst.le.trans htR.le⟩) + have hus : U s = 0 := by + apply Prod.ext <;> apply Prod.ext + · exact heF.eq_of_nhds + · rw [← hv.1] + exact heF.deriv_eq.trans (deriv_const s 0) + · exact heG.eq_of_nhds + · rw [← hv.2] + exact heG.deriv_eq.trans (deriv_const s 0) + obtain ⟨C, hC⟩ := spectralPhysicalCircularField_bounded_on νp νm (eta : ℂ) m Q s R hs + hQ.continuousOn + exact eq_zero_of_abs_deriv_le_mul_abs_self_of_eq_zero_right + (fun r hr => (hU r ⟨hs.trans_le hr.1, hr.2⟩).continuousAt.continuousWithinAt) + (fun r hr => (hU r ⟨hs.trans_le hr.1, hr.2.le⟩).hasDerivWithinAt) hus + (fun r hr => hC r ⟨hr.1, hr.2.le⟩ (U r)) R ⟨hst.le.trans htR.le, le_rfl⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..69dcf58705fa3d9f9c8d104f01be9345c4e13bf1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousRegularZero.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularComplexEnergy +import Mathlib.Analysis.Calculus.MeanValue + +namespace OAI + +/-! Vanishing small-ball gradient energy for complex radial channels. -/ + +open Set MeasureTheory +open scoped ContDiff +namespace DefocusingNLS + +theorem homogeneousRegular_gradient_zero (R : ℝ) (hR : 0 < R) + (F : ℝ → ℂ) (hF : ContDiff ℝ 1 F) (hFR : F R = 0) + (hE : (∫ r in (0 : ℝ)..R, r ^ 11 * ‖deriv F r‖ ^ 2) = 0) : + ∀ r ∈ Icc 0 R, F r = 0 := by + let G := fun r => r ^ 11 * ‖deriv F r‖ ^ 2 + have hGc : Continuous G := by + dsimp only [G] + exact (continuous_id.pow 11).mul (hF.continuous_deriv_one.norm.pow 2) + have hGn : ∀ r ∈ Icc 0 R, 0 ≤ G r := by + intro r hr + exact mul_nonneg (pow_nonneg hr.1 11) (sq_nonneg _) + have hdf : EqOn (deriv F) (fun _ => 0) (Ioo 0 R) := by + intro r hr + by_contra hn + have hGp : 0 < G r := + mul_pos (pow_pos hr.1 11) (sq_pos_of_pos (norm_pos_iff.mpr hn)) + have hi := intervalIntegral.integral_lt_integral_of_continuousOn_of_le_of_exists_lt + hR (show ContinuousOn (fun _ : ℝ => (0 : ℝ)) (Icc 0 R) from continuousOn_const) + hGc.continuousOn (fun x hx => hGn x ⟨hx.1.le, hx.2⟩) + ⟨r, ⟨hr.1.le, hr.2.le⟩, hGp⟩ + simp only [intervalIntegral.integral_zero] at hi + exact (ne_of_gt hi) hE + have hclosed : EqOn (deriv F) (fun _ => 0) (Icc 0 R) := by + have he := hdf.closure hF.continuous_deriv_one continuous_const + rwa [closure_Ioo hR.ne] at he + intro r hr + have he := Convex.norm_image_sub_le_of_norm_deriv_le (C := 0) + (fun x (_ : x ∈ Icc 0 R) => hF.differentiable (by norm_num) x) + (fun x hx => by rw [hclosed hx]; simp) (convex_Icc 0 R) hr (right_mem_Icc.mpr hR.le) + simpa only [hFR, zero_sub, norm_neg, zero_mul, norm_le_zero_iff] using he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousResolventCircle.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousResolventCircle.lean new file mode 100644 index 0000000000000000000000000000000000000000..c52e4a62c32da22b140d3769a5392f1172d00102 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousResolventCircle.lean @@ -0,0 +1,205 @@ +import Mathlib.Analysis.Normed.Algebra.GelfandFormula +import Mathlib.Analysis.Complex.CauchyIntegral +import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap +import Mathlib.Algebra.Group.Commute.Units +import Mathlib.Algebra.Ring.Commute + +namespace OAI + +/-! # The resolvent contour operator + +This is the contour operator on the circle used to split the actual linearized +time step. Its action on eigenvectors is proved directly. Idempotence and +finite rank are separate obligations; no spectral splitting is assumed here. +-/ + +open Complex Set MeasureTheory + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +omit [CompleteSpace E] in +theorem commute_resolvent_of_commute (U T : E →L[ℂ] E) (hUT : Commute U T) {z : ℂ} + (hz : z ∈ resolventSet ℂ T) : Commute U (resolvent T z) := by + rw [spectrum.resolvent_eq hz] + apply Commute.units_inv_right + rw [hz.unit_spec] + exact (Algebra.commute_algebraMap_right z U).sub_right hUT + +omit [CompleteSpace E] in +theorem commute_resolvent_operator (T : E →L[ℂ] E) {z : ℂ} + (hz : z ∈ resolventSet ℂ T) : Commute T (resolvent T z) := + commute_resolvent_of_commute T T (Commute.refl T) hz + +omit [CompleteSpace E] in +theorem resolvent_first_identity (T : E →L[ℂ] E) {z w : ℂ} + (hz : z ∈ resolventSet ℂ T) (hw : w ∈ resolventSet ℂ T) (hwz : w ≠ z) : + resolvent T z * resolvent T w = (w - z)⁻¹ • (resolvent T z - resolvent T w) := by + let Az := algebraMap ℂ (E →L[ℂ] E) z - T + let Aw := algebraMap ℂ (E →L[ℂ] E) w - T + have hzl : resolvent T z * Az = 1 := Ring.inverse_mul_cancel Az hz + have hwr : Aw * resolvent T w = 1 := Ring.mul_inverse_cancel Aw hw + have hdiff : Aw - Az = (w - z) • (1 : E →L[ℂ] E) := by + calc + Aw - Az = algebraMap ℂ (E →L[ℂ] E) w - algebraMap ℂ (E →L[ℂ] E) z := by + dsimp only [Aw, Az] + abel + _ = _ := by rw [← map_sub, Algebra.algebraMap_eq_smul_one] + have h : resolvent T z - resolvent T w = + (w - z) • (resolvent T z * resolvent T w) := by + calc + resolvent T z - resolvent T w = + resolvent T z * (Aw - Az) * resolvent T w := by + rw [mul_sub, sub_mul, mul_assoc, hwr, mul_one, hzl, one_mul] + _ = (w - z) • (resolvent T z * resolvent T w) := by + rw [hdiff, mul_smul_comm, mul_one, smul_mul_assoc] + rw [h, inv_smul_smul₀ (sub_ne_zero.mpr hwz)] + +omit [CompleteSpace E] in +theorem resolvent_apply_eigenvector (T : E →L[ℂ] E) {lam z : ℂ} {x : E} + (hx : T x = lam • x) (hz : z ∈ resolventSet ℂ T) (hlamz : z ≠ lam) : + resolvent T z x = (z - lam)⁻¹ • x := by + let A := algebraMap ℂ (E →L[ℂ] E) z - T + have hA : IsUnit A := hz + have hRA : (resolvent T z).comp A = ContinuousLinearMap.id ℂ E := + Ring.inverse_mul_cancel A hA + have hAx : A x = (z - lam) • x := by + change z • x - T x = (z - lam) • x + rw [hx, sub_smul] + have h := congrArg (fun L : E →L[ℂ] E => L x) hRA + change resolvent T z (A x) = x at h + rw [hAx, map_smul] at h + calc + resolvent T z x = (z - lam)⁻¹ • ((z - lam) • resolvent T z x) := by + rw [inv_smul_smul₀ (sub_ne_zero.mpr hlamz)] + _ = (z - lam)⁻¹ • x := by rw [h] + +noncomputable def circleResolventOperator (T : E →L[ℂ] E) (r : ℝ) : E →L[ℂ] E := + (2 * Real.pi * I : ℂ)⁻¹ • ∮ z in C(0, r), resolvent T z + +theorem circleIntegrable_resolvent (T : E →L[ℂ] E) {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) : + CircleIntegrable (resolvent T) 0 r := by + apply ContinuousOn.circleIntegrable hr + intro z hz + apply ((spectrum.hasDerivAt_resolvent_const_left + (hres z (by simpa only [Metric.mem_sphere, dist_zero_right] using hz))).continuousAt).continuousWithinAt + +theorem circleResolventOperator_apply (T : E →L[ℂ] E) {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) (x : E) : + circleResolventOperator T r x = + (2 * Real.pi * I : ℂ)⁻¹ • ∮ z in C(0, r), resolvent T z x := by + have hint := (circleIntegrable_resolvent T hr hres).out + unfold circleResolventOperator + rw [smul_apply, circleIntegral, + ContinuousLinearMap.intervalIntegral_apply hint] + rfl + +theorem circleIntegral_map_clm {A F : Type*} [NormedAddCommGroup A] + [NormedSpace ℂ A] [CompleteSpace A] [NormedAddCommGroup F] + [NormedSpace ℂ F] [CompleteSpace F] (L : A →L[ℂ] F) + {f : ℂ → A} {c : ℂ} {r : ℝ} (hf : CircleIntegrable f c r) : + (∮ z in C(c, r), L (f z)) = L (∮ z in C(c, r), f z) := by + unfold circleIntegral + simpa only [map_smul] using L.intervalIntegral_comp_comm hf.out + +theorem circleResolventOperator_commute_of_commute (U T : E →L[ℂ] E) + (hUT : Commute U T) {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) : + Commute U (circleResolventOperator T r) := by + let A := E →L[ℂ] E + have hint := circleIntegrable_resolvent T hr hres + have hl := circleIntegral_map_clm (ContinuousLinearMap.mul ℂ A U) hint + have hh := circleIntegral_map_clm ((ContinuousLinearMap.mul ℂ A).flip U) hint + change (∮ z in C(0, r), U * resolvent T z) = U * (∮ z in C(0, r), resolvent T z) at hl + change (∮ z in C(0, r), resolvent T z * U) = (∮ z in C(0, r), resolvent T z) * U at hh + have he : (∮ z in C(0, r), U * resolvent T z) = + ∮ z in C(0, r), resolvent T z * U := by + apply circleIntegral.integral_congr hr + intro z hz + exact (commute_resolvent_of_commute U T hUT + (hres z (by simpa only [Metric.mem_sphere, dist_zero_right] using hz))).eq + rw [hl, hh] at he + change U * ((2 * Real.pi * I : ℂ)⁻¹ • (∮ z in C(0, r), resolvent T z)) = + ((2 * Real.pi * I : ℂ)⁻¹ • (∮ z in C(0, r), resolvent T z)) * U + rw [mul_smul_comm, smul_mul_assoc, he] + +theorem circleResolventOperator_commute (T : E →L[ℂ] E) {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) : + Commute T (circleResolventOperator T r) := + circleResolventOperator_commute_of_commute T T (Commute.refl T) hr hres + +theorem circleResolventOperator_eq_of_annulus (T : E →L[ℂ] E) + {r R : ℝ} (hr : 0 < r) (hrR : r ≤ R) + (hres : ∀ z : ℂ, r ≤ ‖z‖ → ‖z‖ ≤ R → z ∈ resolventSet ℂ T) : + circleResolventOperator T R = circleResolventOperator T r := by + have hc : ContinuousOn (resolvent T) + (Metric.closedBall (0 : ℂ) R \ Metric.ball 0 r) := by + intro z hz + apply ((spectrum.hasDerivAt_resolvent_const_left (hres z ?_ ?_)).continuousAt).continuousWithinAt + · simpa only [Metric.mem_ball, dist_zero_right, not_lt] using hz.2 + · simpa only [Metric.mem_closedBall, dist_zero_right] using hz.1 + have hd : ∀ z ∈ (Metric.ball (0 : ℂ) R \ Metric.closedBall 0 r) \ (∅ : Set ℂ), + DifferentiableAt ℂ (resolvent T) z := by + intro z hz + apply (spectrum.hasDerivAt_resolvent_const_left (hres z ?_ ?_)).differentiableAt + · exact le_of_lt (by + simpa only [Metric.mem_closedBall, dist_zero_right, not_le] using hz.1.2) + · exact le_of_lt (by simpa only [Metric.mem_ball, dist_zero_right] using hz.1.1) + unfold circleResolventOperator + rw [Complex.circleIntegral_eq_of_differentiable_on_annulus_off_countable + hr hrR Set.countable_empty hc hd] + +theorem circleResolventOperator_eigenvector_inside (T : E →L[ℂ] E) + {r : ℝ} (hr : 0 < r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) + {lam : ℂ} {x : E} (hx : T x = lam • x) (hlam : ‖lam‖ < r) : + circleResolventOperator T r x = x := by + rw [circleResolventOperator_apply T hr.le hres] + have heq : (∮ z in C(0, r), resolvent T z x) = + ∮ z in C(0, r), (z - lam)⁻¹ • x := by + apply circleIntegral.integral_congr hr.le + intro z hz + have hz' : ‖z‖ = r := by simpa only [Metric.mem_sphere, dist_zero_right] using hz + apply resolvent_apply_eigenvector T hx (hres z hz') + intro he + have := congrArg norm he + linarith + rw [heq, circleIntegral.integral_smul_const, + circleIntegral.integral_sub_inv_of_mem_ball + (by simpa only [Metric.mem_ball, dist_zero_right] using hlam), + inv_smul_smul₀ (by simp [Real.pi_ne_zero, I_ne_zero])] + +theorem circleResolventOperator_eigenvector_outside (T : E →L[ℂ] E) + {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) + {lam : ℂ} {x : E} (hx : T x = lam • x) (hlam : r < ‖lam‖) : + circleResolventOperator T r x = 0 := by + rw [circleResolventOperator_apply T hr hres] + have hn (z : ℂ) (hz : z ∈ Metric.closedBall (0 : ℂ) r) : z - lam ≠ 0 := by + intro he + have hz' : ‖z‖ ≤ r := by simpa only [Metric.mem_closedBall, dist_zero_right] using hz + rw [sub_eq_zero.mp he] at hz' + exact (not_le_of_gt hlam) hz' + have hdiff : DifferentiableOn ℂ (fun z : ℂ => (z - lam)⁻¹ • x) + (Metric.closedBall (0 : ℂ) r) := by + intro z hz + exact (((differentiableAt_id.sub_const lam).inv (hn z hz)).smul + (differentiableAt_const x)).differentiableWithinAt + have heq : (∮ z in C(0, r), resolvent T z x) = + ∮ z in C(0, r), (z - lam)⁻¹ • x := by + apply circleIntegral.integral_congr hr + intro z hz + have hz' : ‖z‖ = r := by simpa only [Metric.mem_sphere, dist_zero_right] using hz + exact resolvent_apply_eigenvector T hx (hres z hz') + (sub_ne_zero.mp (hn z (Metric.sphere_subset_closedBall hz))) + rw [heq, (hdiff.diffContOnCl_ball (Subset.refl _)).circleIntegral_eq_zero hr, smul_zero] + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousResolventMoments.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousResolventMoments.lean new file mode 100644 index 0000000000000000000000000000000000000000..eb76319e75c228d123541c44aa2693da18a95594 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousResolventMoments.lean @@ -0,0 +1,135 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousResolventCircle + +namespace OAI + +/-! # Power decay on the range of the resolvent contour operator + +Resolvent moments satisfy the exact recurrence obtained by multiplying by the +time-step operator. A circle of radius less than one therefore gives a +geometric estimate on these moments and on powers applied to the contour range. +-/ + +open Complex Set + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +omit [CompleteSpace E] in +theorem operator_mul_resolvent (T : E →L[ℂ] E) {z : ℂ} + (hz : z ∈ resolventSet ℂ T) : + T * resolvent T z = z • resolvent T z - 1 := by + have h := Ring.mul_inverse_cancel (algebraMap ℂ (E →L[ℂ] E) z - T) hz + change (algebraMap ℂ (E →L[ℂ] E) z - T) * resolvent T z = 1 at h + rw [sub_mul, Algebra.algebraMap_eq_smul_one, smul_mul_assoc, one_mul] at h + apply eq_sub_iff_add_eq.mpr + simpa only [add_comm] using (sub_eq_iff_eq_add.mp h).symm + +noncomputable def circleResolventMoment (T : E →L[ℂ] E) (r : ℝ) (n : ℕ) : + E →L[ℂ] E := + (2 * Real.pi * I : ℂ)⁻¹ • ∮ z in C(0, r), z ^ n • resolvent T z + +omit [CompleteSpace E] in +@[simp] theorem circleResolventMoment_zero (T : E →L[ℂ] E) (r : ℝ) : + circleResolventMoment T r 0 = circleResolventOperator T r := by + simp only [circleResolventMoment, pow_zero, one_smul, circleResolventOperator] + +theorem circleResolventMoment_succ (T : E →L[ℂ] E) {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) (n : ℕ) : + T * circleResolventMoment T r n = circleResolventMoment T r (n + 1) := by + have hi (j : ℕ) : CircleIntegrable (fun z : ℂ => z ^ j • resolvent T z) 0 r := by + apply ContinuousOn.circleIntegrable hr + intro z hz + have hzr : ‖z‖ = r := by + simpa only [Metric.mem_sphere, dist_zero_right] using hz + exact ((continuousAt_id.pow j).smul + (spectrum.hasDerivAt_resolvent_const_left (hres z hzr)).continuousAt).continuousWithinAt + have hp : CircleIntegrable (fun z : ℂ => z ^ n • (1 : E →L[ℂ] E)) 0 r := by + exact ((continuous_id.pow n).smul continuous_const).continuousOn.circleIntegrable hr + have hz : (∮ z in C(0, r), z ^ n • (1 : E →L[ℂ] E)) = 0 := by + rw [circleIntegral.integral_smul_const, + (differentiable_id.pow n).diffContOnCl.circleIntegral_eq_zero hr, zero_smul] + have hmap := circleIntegral_map_clm + (ContinuousLinearMap.mul ℂ (E →L[ℂ] E) T) (hi n) + change (∮ z in C(0, r), T * (z ^ n • resolvent T z)) = + T * (∮ z in C(0, r), z ^ n • resolvent T z) at hmap + unfold circleResolventMoment + rw [mul_smul_comm, ← hmap] + congr 1 + calc + (∮ z in C(0, r), T * (z ^ n • resolvent T z)) = + ∮ z in C(0, r), z ^ (n + 1) • resolvent T z - z ^ n • (1 : E →L[ℂ] E) := by + apply circleIntegral.integral_congr hr + intro z hz' + have hzr : ‖z‖ = r := by + simpa only [Metric.mem_sphere, dist_zero_right] using hz' + dsimp only + rw [mul_smul_comm, operator_mul_resolvent T (hres z hzr), smul_sub, + smul_smul, pow_succ] + _ = ∮ z in C(0, r), z ^ (n + 1) • resolvent T z := by + rw [circleIntegral.integral_sub (hi (n + 1)) hp, hz, sub_zero] + +theorem pow_mul_circleResolventOperator (T : E →L[ℂ] E) {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) (n : ℕ) : + T ^ n * circleResolventOperator T r = circleResolventMoment T r n := by + induction n with + | zero => simp + | succ n ih => + rw [pow_succ', mul_assoc, ih, circleResolventMoment_succ T hr hres] + +theorem circleResolventMoment_norm_bound (T : E →L[ℂ] E) {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, ‖circleResolventMoment T r n‖ ≤ C * r ^ n := by + have hc : ContinuousOn (resolvent T) (Metric.sphere (0 : ℂ) r) := by + intro z hz + exact ((spectrum.hasDerivAt_resolvent_const_left + (hres z (by simpa only [Metric.mem_sphere, dist_zero_right] using hz))).continuousAt).continuousWithinAt + obtain ⟨B, hB⟩ := (isCompact_sphere (0 : ℂ) r).exists_bound_of_continuousOn hc + let D := max B 0 + have hD : 0 ≤ D := le_max_right _ _ + refine ⟨‖(2 * Real.pi * I : ℂ)⁻¹‖ * (2 * Real.pi * r * D), by positivity, ?_⟩ + intro n + have hint : ‖∮ z in C(0, r), z ^ n • resolvent T z‖ ≤ + 2 * Real.pi * r * (r ^ n * D) := by + apply circleIntegral.norm_integral_le_of_norm_le_const hr + intro z hz + have hzr : ‖z‖ = r := by simpa only [Metric.mem_sphere, dist_zero_right] using hz + rw [norm_smul, norm_pow, hzr] + exact mul_le_mul_of_nonneg_left ((hB z hz).trans (le_max_left _ _)) (pow_nonneg hr n) + calc + ‖circleResolventMoment T r n‖ = ‖(2 * Real.pi * I : ℂ)⁻¹‖ * + ‖∮ z in C(0, r), z ^ n • resolvent T z‖ := norm_smul _ _ + _ ≤ ‖(2 * Real.pi * I : ℂ)⁻¹‖ * (2 * Real.pi * r * (r ^ n * D)) := + mul_le_mul_of_nonneg_left hint (norm_nonneg _) + _ = (‖(2 * Real.pi * I : ℂ)⁻¹‖ * (2 * Real.pi * r * D)) * r ^ n := by ring + +theorem pow_mul_circleResolventOperator_norm_bound (T : E →L[ℂ] E) + {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, + ‖T ^ n * circleResolventOperator T r‖ ≤ C * r ^ n := by + simpa only [pow_mul_circleResolventOperator T hr hres] using + circleResolventMoment_norm_bound T hr hres + +theorem powers_on_circleResolvent_fixedSpace (T : E →L[ℂ] E) + {r : ℝ} (hr : 0 ≤ r) + (hres : ∀ z : ℂ, ‖z‖ = r → z ∈ resolventSet ℂ T) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, ∀ x : E, + circleResolventOperator T r x = x → ‖(T ^ n) x‖ ≤ C * r ^ n * ‖x‖ := by + obtain ⟨C, hC, hb⟩ := pow_mul_circleResolventOperator_norm_bound T hr hres + refine ⟨C, hC, fun n x hx => ?_⟩ + calc + ‖(T ^ n) x‖ = ‖(T ^ n * circleResolventOperator T r) x‖ := by + change ‖(T ^ n) x‖ = ‖(T ^ n) (circleResolventOperator T r x)‖ + rw [hx] + _ ≤ ‖T ^ n * circleResolventOperator T r‖ * ‖x‖ := + ContinuousLinearMap.le_opNorm _ _ + _ ≤ C * r ^ n * ‖x‖ := mul_le_mul_of_nonneg_right (hb n) (norm_nonneg x) + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..478ed13386fa7f466fa24b031d1742770e020c6e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerContinuity.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchrodingerMultiplier +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Strong continuity of the Schrödinger Fourier multiplier -/ + +open Filter MeasureTheory Topology + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem norm_sq_integral (a k : ℝ) (f : HomogeneousY a k) : + ‖f‖ ^ 2 = ∫ ξ, ‖f ξ‖ ^ 2 ∂homogeneousFourierMeasure a k := by + have h := real_inner_self_eq_norm_sq f + rw [L2.inner_def] at h + simpa only [real_inner_self_eq_norm_sq] using h.symm + +theorem continuous_homogeneousSchrodingerOperator (a k : ℝ) (f : HomogeneousY a k) : + Continuous (fun t : ℝ => homogeneousSchrodingerOperator a k t f) := by + let μ := homogeneousFourierMeasure a k + have hi : Integrable (fun ξ => 4 * ‖f ξ‖ ^ 2) μ := by + have h := (Lp.memLp f).integrable_norm_rpow (by norm_num) (by norm_num) + simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using h.const_mul 4 + rw [continuous_iff_continuousAt] + intro t₀ + let F := fun t ξ => (homogeneousSchrodingerPhase t ξ - homogeneousSchrodingerPhase t₀ ξ) * f ξ + have hm (t : ℝ) : AEStronglyMeasurable (fun ξ => ‖F t ξ‖ ^ 2) μ := + (((homogeneousSchrodingerPhase_continuous t).sub + (homogeneousSchrodingerPhase_continuous t₀)).aestronglyMeasurable.mul + (Lp.aestronglyMeasurable f)).norm.pow 2 + have hb (t : ℝ) (ξ : E) : ‖F t ξ‖ ^ 2 ≤ 4 * ‖f ξ‖ ^ 2 := by + have hp : ‖homogeneousSchrodingerPhase t ξ - homogeneousSchrodingerPhase t₀ ξ‖ ≤ 2 := by + simpa only [homogeneousSchrodingerPhase_norm, one_add_one_eq_two] using + norm_sub_le (homogeneousSchrodingerPhase t ξ) (homogeneousSchrodingerPhase t₀ ξ) + dsimp only [F] + rw [norm_mul, mul_pow] + exact mul_le_mul_of_nonneg_right + (by nlinarith [norm_nonneg (homogeneousSchrodingerPhase t ξ - homogeneousSchrodingerPhase t₀ ξ)]) + (sq_nonneg _) + have ht := tendsto_integral_filter_of_dominated_convergence + (μ := μ) (l := 𝓝 t₀) (fun ξ => 4 * ‖f ξ‖ ^ 2) + (F := fun t ξ => ‖F t ξ‖ ^ 2) (f := fun _ => (0 : ℝ)) + (Eventually.of_forall hm) + (Eventually.of_forall fun t => ae_of_all μ fun ξ => by + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] + exact hb t ξ) hi + (ae_of_all μ fun ξ => by + have hc : Continuous (fun t : ℝ => F t ξ) := by + dsimp only [F, homogeneousSchrodingerPhase] + fun_prop + simpa only [Pi.pow_apply, F, sub_self, zero_mul, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0)] + using (hc.norm.fun_pow 2).tendsto t₀) + have hs : Tendsto (fun t : ℝ => ‖homogeneousSchrodingerOperator a k t f - + homogeneousSchrodingerOperator a k t₀ f‖ ^ 2) (𝓝 t₀) (𝓝 0) := by + have he (t : ℝ) : ‖homogeneousSchrodingerOperator a k t f - + homogeneousSchrodingerOperator a k t₀ f‖ ^ 2 = ∫ ξ, ‖F t ξ‖ ^ 2 ∂μ := by + rw [norm_sq_integral] + apply integral_congr_ae + filter_upwards [Lp.coeFn_sub (homogeneousSchrodingerOperator a k t f) + (homogeneousSchrodingerOperator a k t₀ f), + homogeneousSchrodingerVector_ae a k t f, + homogeneousSchrodingerVector_ae a k t₀ f] with ξ hsub h₁ h₂ + rw [hsub] + change ‖homogeneousSchrodingerVector a k t f ξ - + homogeneousSchrodingerVector a k t₀ f ξ‖ ^ 2 = _ + rw [h₁, h₂, ← sub_mul] + simp only [he, integral_zero] at * + exact ht + apply tendsto_iff_norm_sub_tendsto_zero.mpr + simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using + Real.continuous_sqrt.continuousAt.tendsto.comp hs + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..00ee3dd8db6e63fff8d823e5933eb67c03b30a45 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerDerivative.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchrodingerContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLaplacianFrequency +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDifferentiation +import Mathlib.Analysis.Calculus.ParametricIntegral + +namespace OAI + +/-! # Strong Schrödinger differentiation for the physical Laplacian domain -/ + +open Filter MeasureTheory Set +open scoped Laplacian RealInnerProductSpace + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem hasDerivAt_homogeneousSchrodingerPhase (t : ℝ) (ξ : E) : + HasDerivAt (fun s => homogeneousSchrodingerPhase s ξ) + (homogeneousSchrodingerPhase t ξ * ((-(‖ξ‖ ^ 2 : ℝ) : ℂ) * Complex.I)) t := by + have h := (((hasDerivAt_id t).neg.mul_const (‖ξ‖ ^ 2)).ofReal_comp.mul_const Complex.I).cexp + convert h using 1 <;> simp only [homogeneousSchrodingerPhase, Pi.neg_apply, id_eq, neg_mul, one_mul, + Complex.ofReal_neg] + +private theorem physical_derivative (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (q qL : HomogeneousY a k) + (hL : (qL : E → ℂ) =ᵐ[volume] (fun ξ => (-(‖ξ‖ ^ 2 : ℝ) : ℂ) * q ξ)) + (t : ℝ) (x : E) : + HasDerivAt (fun s => homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSchrodingerOperator a k s q) x) + (homogeneousPhysicalCLM a k ha ha1 hk + (Complex.I • homogeneousSchrodingerOperator a k t qL) x) t := by + let P := fun ξ : E => Complex.exp (((⟪ξ, x⟫ : ℝ) : ℂ) * Complex.I) + have hP : Continuous P := by dsimp only [P]; fun_prop + have hnP (ξ : E) : ‖P ξ‖ = 1 := Complex.norm_exp_ofReal_mul_I _ + let F := fun s ξ => P ξ * homogeneousSchrodingerPhase s ξ * q ξ + let D := fun s ξ => P ξ * homogeneousSchrodingerPhase s ξ * (Complex.I * qL ξ) + have hq := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp q)).1 + have hqL := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp qL)).1 + have hFm (s : ℝ) : AEStronglyMeasurable (F s) volume := + (hP.mul (homogeneousSchrodingerPhase_continuous s)).aestronglyMeasurable.mul hq.aestronglyMeasurable + have hDm (s : ℝ) : AEStronglyMeasurable (D s) volume := + (hP.mul (homogeneousSchrodingerPhase_continuous s)).aestronglyMeasurable.mul + (hqL.const_mul Complex.I).aestronglyMeasurable + have hDi := hasDerivAt_integral_of_dominated_loc_of_deriv_le + (μ := volume) (x₀ := t) (s := univ) (F := F) (F' := D) (bound := fun ξ => ‖qL ξ‖) + (by simp) (Eventually.of_forall hFm) + (hq.norm.mono' (hFm t) (ae_of_all _ fun ξ => by + dsimp only [F]; simp only [norm_mul, hnP, homogeneousSchrodingerPhase_norm, one_mul]; exact le_rfl)) + (hDm t) + (ae_of_all _ fun ξ s _ => by + dsimp only [D]; simp only [norm_mul, hnP, homogeneousSchrodingerPhase_norm, Complex.norm_I, one_mul]; exact le_rfl) + hqL.norm + (by + filter_upwards [hL] with ξ hξ + intro s _ + have hd := ((hasDerivAt_homogeneousSchrodingerPhase s ξ).const_mul (P ξ)).mul_const (q ξ) + convert hd using 1 + dsimp only [D] + rw [hξ] + ring) + let N : ℂ := (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) + have he (s : ℝ) : homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSchrodingerOperator a k s q) x = N * ∫ ξ, F s ξ := by + rw [homogeneousSchrodingerOperator_physical] + simp only [inverseRadianFourier, radianFourierIntegral, inner_neg_right, neg_neg] + congr 1 + apply integral_congr_ae + filter_upwards [] with ξ + dsimp only [F, P] + ring + have hd : homogeneousPhysicalCLM a k ha ha1 hk + (Complex.I • homogeneousSchrodingerOperator a k t qL) x = N * ∫ ξ, D t ξ := by + rw [map_smul] + change Complex.I * homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSchrodingerOperator a k t qL) x = _ + rw [homogeneousSchrodingerOperator_physical] + simp only [inverseRadianFourier, radianFourierIntegral, inner_neg_right, neg_neg] + change Complex.I * (N * ∫ ξ, P ξ * (homogeneousSchrodingerPhase t ξ * qL ξ)) = _ + rw [mul_left_comm, ← integral_const_mul] + congr 1 + apply integral_congr_ae + filter_upwards [] with ξ + dsimp only [D] + ring + simp_rw [he] + rw [hd] + exact hDi.2.const_mul N + +theorem hasDerivAt_homogeneousSchrodinger (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (q qL : HomogeneousY a k) + (hL : ∀ x, homogeneousPhysicalCLM a k ha ha1 hk qL x = + Δ (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) x) (t : ℝ) : + HasDerivAt (fun s => homogeneousSchrodingerOperator a k s q) + (Complex.I • homogeneousSchrodingerOperator a k t qL) t := by + apply hasDerivAt_homogeneous_of_physical a k ha ha1 hk + (fun s => homogeneousSchrodingerOperator a k s q) + (fun s => Complex.I • homogeneousSchrodingerOperator a k s qL) + ((continuous_homogeneousSchrodingerOperator a k qL).const_smul Complex.I) + exact physical_derivative a k ha ha1 hk q qL (homogeneous_laplacian_frequency a k ha ha1 hk q qL hL) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerMultiplier.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerMultiplier.lean new file mode 100644 index 0000000000000000000000000000000000000000..8d02c81e7baaa11c5a4e784aab830382ef3dc44e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchrodingerMultiplier.lean @@ -0,0 +1,125 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeOperator +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMap + +namespace OAI + +/-! # The ordinary Schrödinger multiplier in the faithful homogeneous space -/ + +open MeasureTheory +open scoped SchwartzMap ENNReal ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousSchrodingerPhase (t : ℝ) (ξ : E) : ℂ := + Complex.exp ((-t * ‖ξ‖ ^ 2 : ℝ) * Complex.I) + +@[simp] theorem homogeneousSchrodingerPhase_norm (t : ℝ) (ξ : E) : + ‖homogeneousSchrodingerPhase t ξ‖ = 1 := Complex.norm_exp_ofReal_mul_I _ + +theorem homogeneousSchrodingerPhase_continuous (t : ℝ) : + Continuous (homogeneousSchrodingerPhase t) := by + unfold homogeneousSchrodingerPhase + fun_prop + +theorem homogeneousSchrodingerPhase_temperate (t : ℝ) : + (homogeneousSchrodingerPhase t).HasTemperateGrowth := + Complex.hasTemperateGrowth_exp_mul_I.comp + ((Function.HasTemperateGrowth.const (-t)).mul (Function.hasTemperateGrowth_norm_sq E)) + +theorem memLp_homogeneousSchrodingerPhase_mul (a k t : ℝ) (f : HomogeneousY a k) : + MemLp (fun ξ => homogeneousSchrodingerPhase t ξ * f ξ) 2 (homogeneousFourierMeasure a k) := by + apply (Lp.memLp f).of_le_mul (c := 1) + ((homogeneousSchrodingerPhase_continuous t).aestronglyMeasurable.mul (Lp.aestronglyMeasurable f)) + exact ae_of_all _ (fun ξ => by + change ‖homogeneousSchrodingerPhase t ξ * f ξ‖ ≤ 1 * ‖f ξ‖ + simp only [norm_mul, homogeneousSchrodingerPhase_norm, one_mul] + exact le_rfl) + +noncomputable def homogeneousSchrodingerVector (a k t : ℝ) (f : HomogeneousY a k) : + HomogeneousY a k := + (memLp_homogeneousSchrodingerPhase_mul a k t f).toLp + (fun ξ => homogeneousSchrodingerPhase t ξ * f ξ) + +theorem homogeneousSchrodingerVector_ae (a k t : ℝ) (f : HomogeneousY a k) : + homogeneousSchrodingerVector a k t f =ᵐ[homogeneousFourierMeasure a k] + (fun ξ => homogeneousSchrodingerPhase t ξ * f ξ) := + (memLp_homogeneousSchrodingerPhase_mul a k t f).coeFn_toLp + +theorem homogeneousSchrodingerVector_norm (a k t : ℝ) (f : HomogeneousY a k) : + ‖homogeneousSchrodingerVector a k t f‖ = ‖f‖ := by + rw [homogeneousSchrodingerVector, Lp.norm_toLp, Lp.norm_def] + congr 1 + apply eLpNorm_congr_norm_ae + ((homogeneousSchrodingerPhase_continuous t).aestronglyMeasurable.mul + (Lp.aestronglyMeasurable f)) (Lp.aestronglyMeasurable f) + exact ae_of_all _ (fun ξ => by + change ‖homogeneousSchrodingerPhase t ξ * f ξ‖ = ‖f ξ‖ + simp only [norm_mul, homogeneousSchrodingerPhase_norm, one_mul]) + +noncomputable def homogeneousSchrodingerLinearMap (a k t : ℝ) : + HomogeneousY a k →ₗ[ℂ] HomogeneousY a k where + toFun := homogeneousSchrodingerVector a k t + map_add' f g := by + apply Lp.ext + filter_upwards [homogeneousSchrodingerVector_ae a k t (f + g), + homogeneousSchrodingerVector_ae a k t f, homogeneousSchrodingerVector_ae a k t g, + Lp.coeFn_add f g, Lp.coeFn_add (homogeneousSchrodingerVector a k t f) + (homogeneousSchrodingerVector a k t g)] with ξ hfg hf hg hsum hout + rw [hfg, hsum, hout] + simp only [Pi.add_apply, hf, hg, mul_add] + map_smul' c f := by + apply Lp.ext + filter_upwards [homogeneousSchrodingerVector_ae a k t (c • f), + homogeneousSchrodingerVector_ae a k t f, Lp.coeFn_smul c f, + Lp.coeFn_smul c (homogeneousSchrodingerVector a k t f)] with ξ hcf hf hin hout + change homogeneousSchrodingerVector a k t (c • f) ξ = + (c • homogeneousSchrodingerVector a k t f : HomogeneousY a k) ξ + rw [hcf, hin, hout] + simp only [Pi.smul_apply, smul_eq_mul, hf] + ring + +noncomputable def homogeneousSchrodingerOperator (a k t : ℝ) : + HomogeneousY a k →L[ℂ] HomogeneousY a k := + (homogeneousSchrodingerLinearMap a k t).mkContinuous 1 + (fun f => by + change ‖homogeneousSchrodingerVector a k t f‖ ≤ 1 * ‖f‖ + rw [homogeneousSchrodingerVector_norm, one_mul]) + +@[simp] theorem homogeneousSchrodingerOperator_norm (a k t : ℝ) (f : HomogeneousY a k) : + ‖homogeneousSchrodingerOperator a k t f‖ = ‖f‖ := homogeneousSchrodingerVector_norm a k t f + +theorem homogeneousSchrodingerOperator_Schwartz (a k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + homogeneousSchrodingerOperator a k t (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) = + homogeneousFrequencyEmbedding a k ha ha1 hk + (SchwartzMap.smulLeftCLM ℂ (homogeneousSchrodingerPhase t) ψ) := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + apply Lp.ext + filter_upwards [homogeneousSchrodingerVector_ae a k t + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ), + SchwartzMap.coeFn_toLp ψ 2 (homogeneousFourierMeasure a k), + SchwartzMap.coeFn_toLp (SchwartzMap.smulLeftCLM ℂ (homogeneousSchrodingerPhase t) ψ) + 2 (homogeneousFourierMeasure a k)] with ξ hf hψ hS + change homogeneousSchrodingerVector a k t + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) ξ = _ + rw [hf] + change homogeneousSchrodingerPhase t ξ * ψ.toLp 2 (homogeneousFourierMeasure a k) ξ = + (SchwartzMap.smulLeftCLM ℂ (homogeneousSchrodingerPhase t) ψ).toLp + 2 (homogeneousFourierMeasure a k) ξ + rw [hψ, hS] + exact (SchwartzMap.smulLeftCLM_apply_apply (homogeneousSchrodingerPhase_temperate t) ψ ξ).symm + +/-- The physical representative of the usual free Schrödinger evolution. -/ +theorem homogeneousSchrodingerOperator_physical (a k t : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousSchrodingerOperator a k t f) y = + inverseRadianFourier (fun ξ => homogeneousSchrodingerPhase t ξ * f ξ) y := by + have he := (homogeneousSchrodingerVector_ae a k t f).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + exact congrFun (inverseRadianFourier_congr_ae he) y + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzCommutator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzCommutator.lean new file mode 100644 index 0000000000000000000000000000000000000000..8f1f9f4b05ce727fbaa9e3b461d16849276be40c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzCommutator.lean @@ -0,0 +1,125 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorSplit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyComponents + +namespace OAI + +/-! # Compact top-order commutator for a Schwartz coefficient + +The concrete low-frequency part is compact by the kernel row argument. +The complementary high-frequency part is uniformly small by the proved +R⁻¹ estimate. No Rellich or compact-error hypothesis is assumed. +-/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem commutator_split_energy (N : ℕ) (j : Fin N → Fin 12) + (V f : 𝓢(E, ℂ)) (R : ℝ) (hR : 0 < R) : + (∫ ξ : E, ‖radianFourierKernel (homogeneousOrderedCommutator N j V f) ξ‖ ^ 2) ≤ + 2 * ((∫ ξ : E, ‖radianFourierKernel (homogeneousOrderedCommutator N j V + (homogeneousLowFrequencyPart R hR f)) ξ‖ ^ 2) + + ∫ ξ : E, ‖radianFourierKernel (homogeneousOrderedCommutator N j V + (homogeneousHighFrequencyPart R hR f)) ξ‖ ^ 2) := by + let F := radianFourierKernel (homogeneousOrderedCommutator N j V f) + let L := radianFourierKernel (homogeneousOrderedCommutator N j V (homogeneousLowFrequencyPart R hR f)) + let H := radianFourierKernel (homogeneousOrderedCommutator N j V (homogeneousHighFrequencyPart R hR f)) + have he : F = L + H := by + change radianFourierCLM (homogeneousOrderedCommutator N j V f) = _ + rw [homogeneousOrderedCommutator_split N j V f R hR, map_add] + rfl + have hF := (F.memLp 2).integrable_norm_pow (p := 2) (by norm_num) + have hL := (L.memLp 2).integrable_norm_pow (p := 2) (by norm_num) + have hH := (H.memLp 2).integrable_norm_pow (p := 2) (by norm_num) + have hp (ξ : E) : ‖F ξ‖ ^ 2 ≤ 2 * (‖L ξ‖ ^ 2 + ‖H ξ‖ ^ 2) := by + have hfξ : F ξ = L ξ + H ξ := by rw [he, add_apply] + rw [hfξ] + have hnorm := pow_le_pow_left₀ (norm_nonneg _) (norm_add_le (L ξ) (H ξ)) 2 + nlinarith [sq_nonneg (‖L ξ‖ - ‖H ξ‖)] + have hi := integral_mono hF ((hL.add hH).const_mul 2) hp + rw [integral_const_mul] at hi + simp only [Pi.add_apply] at hi + rw [integral_add hL hH] at hi + exact hi + +theorem tendsto_homogeneousSchwartzCommutator_fourierL2 (a M : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (V : 𝓢(E, ℂ)) (f : ℕ → 𝓢(E, ℂ)) + (hf : ∀ n, ‖homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n)‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun n => ℓ (homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n))) + atTop (𝓝 0)) : + Tendsto (fun n => ∫ ξ : E, + ‖radianFourierKernel (homogeneousOrderedCommutator (N + 1) j V (f n)) ξ‖ ^ 2) + atTop (𝓝 0) := by + let c : ℝ := ((2 * Real.pi) ^ (12 : ℕ))⁻¹ + let J : ℝ := ∫ ξ : E, homogeneousCommutatorMoment N V ξ + let D := M ^ 2 / c + have hc : 0 < c := by dsimp [c]; positivity + have henergy (n : ℕ) : homogeneousFrequencyEnergy (N + 1) (radianFourierKernel (f n)) ≤ D := by + have hn := pow_le_pow_left₀ (norm_nonneg _) + ((homogeneousHighEnergy_norm_le a ((N + 1 : ℕ) : ℝ) ha1 hk + (homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n))).trans (hf n)) 2 + change ‖homogeneousHighEnergy a ((N + 1 : ℕ) : ℝ) ha1 hk + (homogeneousFrequencyEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (radianFourierKernel (f n)))‖ ^ 2 ≤ M ^ 2 at hn + rw [homogeneousHighEnergy_Schwartz_norm_sq] at hn + exact (le_div_iff₀ hc).mpr (by simpa only [c, Nat.cast_add, Nat.cast_one, mul_comm] using hn) + have htail : Tendsto (fun r : ℕ => ((c * J) / (r : ℝ)) ^ 2 * D) atTop (𝓝 0) := by + simpa only [zero_pow (by norm_num : (2 : ℕ) ≠ 0), zero_mul] using + ((tendsto_const_div_atTop_nhds_zero_nat (c * J)).pow 2).mul_const D + apply tendsto_order.2 + constructor + · intro b hb + exact Eventually.of_forall (fun n => hb.trans_le (integral_nonneg (fun ξ => sq_nonneg _))) + · intro ε hε + have hsmall := htail.eventually (gt_mem_nhds (show 0 < ε / 4 by linarith)) + obtain ⟨r, hr1, hr⟩ := ((eventually_ge_atTop (1 : ℕ)).and hsmall).exists + have hR : 1 ≤ (r : ℝ) := by exact_mod_cast hr1 + have hRp : 0 < (r : ℝ) := by linarith + have hl := tendsto_homogeneousLowCommutator_fourier_L2 a ((N + 1 : ℕ) : ℝ) M r ha ha1 hk hR + (N + 1) j V f hf hweak + have hlow := hl.eventually (gt_mem_nhds (show 0 < ε / 4 by linarith)) + filter_upwards [hlow] with n hn + have hh : (∫ ξ : E, ‖radianFourierKernel + (homogeneousOrderedCommutator (N + 1) j V + (homogeneousHighFrequencyPart r hRp (f n))) ξ‖ ^ 2) < ε / 4 := by + have he := (homogeneousHighFrequencyPart_energy_le (N + 1) r (by positivity) hRp (f n)).trans + (henergy n) + calc + _ ≤ (c / (r : ℝ) * J) ^ 2 * + homogeneousFrequencyEnergy (N + 1) + (radianFourierKernel (homogeneousHighFrequencyPart r hRp (f n))) := + homogeneousOrderedCommutator_high_energy N j V + (homogeneousHighFrequencyPart r hRp (f n)) r hR + (homogeneousHighFrequencyPart_zero r hRp (f n)) + _ ≤ (c / (r : ℝ) * J) ^ 2 * D := mul_le_mul_of_nonneg_left he (sq_nonneg _) + _ = ((c * J) / (r : ℝ)) ^ 2 * D := by rw [div_eq_mul_inv, div_eq_mul_inv]; ring + _ < ε / 4 := hr + have hb := commutator_split_energy (N + 1) j V (f n) r hRp + linarith + +theorem tendsto_homogeneousSchwartzCommutator_physicalL2 (a M : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (j : Fin (N + 1) → Fin 12) (V : 𝓢(E, ℂ)) (f : ℕ → 𝓢(E, ℂ)) + (hf : ∀ n, ‖homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n)‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun n => ℓ (homogeneousSchwartzEmbedding a ((N + 1 : ℕ) : ℝ) ha ha1 hk (f n))) + atTop (𝓝 0)) : + Tendsto (fun n => ∫ x : E, ‖homogeneousOrderedCommutator (N + 1) j V (f n) x‖ ^ 2) + atTop (𝓝 0) := by + have ht := tendsto_homogeneousSchwartzCommutator_fourierL2 a M N ha ha1 hk j V f hf hweak + have he (n : ℕ) : (∫ x : E, ‖homogeneousOrderedCommutator (N + 1) j V (f n) x‖ ^ 2) = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + ∫ ξ : E, ‖radianFourierKernel (homogeneousOrderedCommutator (N + 1) j V (f n)) ξ‖ ^ 2 := by + have h := radianFourier_energy_zero (homogeneousOrderedCommutator (N + 1) j V (f n)) + simp only [homogeneousFrequencyEnergy, mul_zero, Real.rpow_zero, one_mul] at h + rw [h, ← mul_assoc, inv_mul_cancel₀ (by positivity), one_mul] + simp_rw [he] + simpa only [mul_zero] using ht.const_mul (((2 * Real.pi) ^ (12 : ℕ))⁻¹) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzConvolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzConvolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..15bc153c3e7f52a838cb2e5794c8d818fa5a51da --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzConvolution.lean @@ -0,0 +1,132 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousConvolutionWeights +import Mathlib.Analysis.Fourier.Convolution + +namespace OAI + +/-! # Weighted continuous-frequency convolution on the Schwartz core of Y -/ + +open MeasureTheory +open scoped SchwartzMap Convolution + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousSchwartzConvolution (ψ φ : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + SchwartzMap.convolution (ContinuousLinearMap.mul ℂ ℂ) ψ φ + +private theorem positive_integrand_integrable (f g : E → ℝ) + (hf : Integrable f) (hg : Continuous g) (hgp : ∀ ξ, 0 ≤ g ξ) + (K : ℝ) (hK : ∀ ξ, g ξ ≤ K) (ξ : E) : + Integrable (fun η => f η * g (ξ - η)) := by + apply hf.mul_bdd (c := K) (hg.comp (continuous_const.sub continuous_id)).aestronglyMeasurable + exact ae_of_all _ (fun η => by + change ‖g (ξ - η)‖ ≤ K + simpa only [Real.norm_eq_abs, abs_of_nonneg (hgp _)] using hK (ξ - η)) + +theorem homogeneousSchwartzConvolution_weighted_pointwise (s : ℝ) (hs : 0 ≤ s) + (ψ φ : 𝓢(E, ℂ)) (ξ : E) : + homogeneousFourierMagnitude s (homogeneousSchwartzConvolution ψ φ) ξ ≤ + 2 ^ s * (positiveFrequencyConvolution (fun η => ‖φ η‖) + (homogeneousFourierMagnitude s ψ) ξ + + positiveFrequencyConvolution (fun η => ‖ψ η‖) + (homogeneousFourierMagnitude s φ) ξ) := by + obtain ⟨Kφ, _, hKφ⟩ := homogeneousFourierMagnitude_bounded s hs φ + have hI₁ : Integrable (fun η => homogeneousFourierMagnitude s ψ η * ‖φ (ξ - η)‖) := + positive_integrand_integrable _ _ (homogeneousFourierMagnitude_integrable s hs ψ) + φ.continuous.norm (fun _ => norm_nonneg _) (SchwartzMap.seminorm ℝ 0 0 φ) + (SchwartzMap.norm_le_seminorm ℝ φ) ξ + have hI₂ : Integrable (fun η => ‖ψ η‖ * homogeneousFourierMagnitude s φ (ξ - η)) := + positive_integrand_integrable _ _ ψ.integrable.norm + (homogeneousFourierMagnitude_continuous s hs φ) + (homogeneousFourierMagnitude_nonneg s φ) Kφ hKφ ξ + have hpoint (η : E) : + ‖ξ‖ ^ s * (‖ψ η‖ * ‖φ (ξ - η)‖) ≤ + 2 ^ s * (homogeneousFourierMagnitude s ψ η * ‖φ (ξ - η)‖ + + ‖ψ η‖ * homogeneousFourierMagnitude s φ (ξ - η)) := by + have hw := homogeneousFrequencyWeight_add_le s hs η (ξ - η) + rw [add_sub_cancel] at hw + have hm := mul_le_mul_of_nonneg_right hw (mul_nonneg (norm_nonneg (ψ η)) + (norm_nonneg (φ (ξ - η)))) + dsimp only [homogeneousFourierMagnitude] + convert hm using 1; ring + have hi : (∫ η, ‖ξ‖ ^ s * (‖ψ η‖ * ‖φ (ξ - η)‖)) ≤ + ∫ η, 2 ^ s * (homogeneousFourierMagnitude s ψ η * ‖φ (ξ - η)‖ + + ‖ψ η‖ * homogeneousFourierMagnitude s φ (ξ - η)) := + integral_mono_of_nonneg + (ae_of_all _ (fun η => mul_nonneg (Real.rpow_nonneg (norm_nonneg _) _) + (mul_nonneg (norm_nonneg _) (norm_nonneg _)))) + ((hI₁.add hI₂).const_mul _) (ae_of_all _ hpoint) + calc + _ ≤ ‖ξ‖ ^ s * ∫ η, ‖ψ η‖ * ‖φ (ξ - η)‖ := by + apply mul_le_mul_of_nonneg_left _ (Real.rpow_nonneg (norm_nonneg _) _) + change ‖SchwartzMap.convolution (ContinuousLinearMap.mul ℂ ℂ) ψ φ ξ‖ ≤ _ + rw [SchwartzMap.convolution_apply] + change ‖∫ η, ψ η * φ (ξ - η)‖ ≤ _ + simpa only [norm_mul] using + (norm_integral_le_integral_norm (fun η => ψ η * φ (ξ - η))) + _ = (∫ η, ‖ξ‖ ^ s * (‖ψ η‖ * ‖φ (ξ - η)‖)) := (integral_const_mul _ _).symm + _ ≤ _ := hi + _ = _ := by + rw [integral_const_mul, integral_add hI₁ hI₂] + change 2 ^ s * (positiveFrequencyConvolution (homogeneousFourierMagnitude s ψ) + (fun η => ‖φ η‖) ξ + _) = _ + rw [positiveFrequencyConvolution_comm] + rfl + +/-- The homogeneous energy is controlled by the L¹ norms and matching energies. -/ +theorem homogeneousSchwartzConvolution_energy_le (s : ℝ) (hs : 0 ≤ s) + (ψ φ : 𝓢(E, ℂ)) : + homogeneousFrequencyEnergy s (homogeneousSchwartzConvolution ψ φ) ≤ + 2 * (2 ^ s) ^ 2 * ((∫ ξ, ‖φ ξ‖) ^ 2 * homogeneousFrequencyEnergy s ψ + + (∫ ξ, ‖ψ ξ‖) ^ 2 * homogeneousFrequencyEnergy s φ) := by + obtain ⟨Kψ, hKψ, hψ⟩ := homogeneousFourierMagnitude_bounded s hs ψ + obtain ⟨Kφ, hKφ, hφ⟩ := homogeneousFourierMagnitude_bounded s hs φ + have hY₁ := continuousYoung_nonnegative (fun ξ => ‖φ ξ‖) + (homogeneousFourierMagnitude s ψ) φ.integrable.norm + (homogeneousFourierMagnitude_continuous s hs ψ) (fun _ => norm_nonneg _) + (homogeneousFourierMagnitude_nonneg s ψ) + (homogeneousFourierMagnitude_sq_integrable s hs ψ) Kψ hKψ hψ + have hY₂ := continuousYoung_nonnegative (fun ξ => ‖ψ ξ‖) + (homogeneousFourierMagnitude s φ) ψ.integrable.norm + (homogeneousFourierMagnitude_continuous s hs φ) (fun _ => norm_nonneg _) + (homogeneousFourierMagnitude_nonneg s φ) + (homogeneousFourierMagnitude_sq_integrable s hs φ) Kφ hKφ hφ + let U := positiveFrequencyConvolution (fun ξ => ‖φ ξ‖) (homogeneousFourierMagnitude s ψ) + let V := positiveFrequencyConvolution (fun ξ => ‖ψ ξ‖) (homogeneousFourierMagnitude s φ) + have hpoint (ξ : E) : + homogeneousFourierMagnitude s (homogeneousSchwartzConvolution ψ φ) ξ ^ 2 ≤ + 2 * (2 ^ s) ^ 2 * (U ξ ^ 2 + V ξ ^ 2) := by + have hU : 0 ≤ U ξ := integral_nonneg (fun η => + mul_nonneg (norm_nonneg _) (homogeneousFourierMagnitude_nonneg s ψ _)) + have hV : 0 ≤ V ξ := integral_nonneg (fun η => + mul_nonneg (norm_nonneg _) (homogeneousFourierMagnitude_nonneg s φ _)) + have hm := homogeneousSchwartzConvolution_weighted_pointwise s hs ψ φ ξ + have hsquare := pow_le_pow_left₀ + (homogeneousFourierMagnitude_nonneg s (homogeneousSchwartzConvolution ψ φ) ξ) hm 2 + change _ ≤ (2 ^ s * (U ξ + V ξ)) ^ 2 at hsquare + exact hsquare.trans (by + nlinarith [mul_nonneg (sq_nonneg (2 ^ s)) (sq_nonneg (U ξ - V ξ))]) + have hI := integral_mono + (homogeneousFourierMagnitude_sq_integrable s hs (homogeneousSchwartzConvolution ψ φ)) + ((hY₁.1.add hY₂.1).const_mul (2 * (2 ^ s) ^ 2)) hpoint + rw [integral_const_mul] at hI + simp only [Pi.add_apply] at hI + rw [integral_add hY₁.1 hY₂.1] at hI + have henergy (χ : 𝓢(E, ℂ)) : + (∫ ξ, homogeneousFourierMagnitude s χ ξ ^ 2) = homogeneousFrequencyEnergy s χ := by + change (∫ ξ, homogeneousFourierMagnitude s χ ξ ^ 2) = + ∫ ξ, ‖ξ‖ ^ (2 * s) * ‖χ ξ‖ ^ 2 + apply integral_congr_ae + filter_upwards [] with ξ + rw [homogeneousFourierMagnitude, mul_pow, + ← Real.rpow_natCast, ← Real.rpow_mul (norm_nonneg _)] + congr 2 + ring + rw [henergy] at hI + exact hI.trans ((mul_le_mul_of_nonneg_left (add_le_add hY₁.2 hY₂.2) + (by positivity)).trans_eq (by rw [henergy, henergy])) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzFrame.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzFrame.lean new file mode 100644 index 0000000000000000000000000000000000000000..5904c6f09565fc49e4788f9311e5a428eed50c8b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzFrame.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYSpace +import Mathlib.Analysis.Normed.Module.FiniteDimension + +namespace OAI + +/-! # A finite family of Schwartz functions realizes every finite coordinate -/ + +open Set +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem homogeneousSchwartz_coordinates_surjective (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (π : HomogeneousY a k →L[ℝ] F) (hπ : Function.Surjective π) : + Function.Surjective (fun f : 𝓢(E, ℂ) => π (homogeneousSchwartzEmbedding a k ha ha1 hk f)) := by + let A := π.comp ((homogeneousSchwartzEmbedding a k ha ha1 hk).restrictScalars ℝ) + have hd : DenseRange A := hπ.denseRange.comp + (homogeneousSchwartzEmbedding_dense a k ha ha1 hk) π.continuous + have hc : IsClosed (Set.range A) := A.range.closed_of_finiteDimensional + have hr : Set.range A = univ := by + rw [← hc.closure_eq, hd.closure_range] + exact Set.range_eq_univ.mp hr + +theorem exists_homogeneousSchwartz_frame (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (π : HomogeneousY a k →L[ℝ] F) (hπ : Function.Surjective π) : + ∃ B : F →ₗ[ℝ] 𝓢(E, ℂ), ∀ v, + π (homogeneousSchwartzEmbedding a k ha ha1 hk (B v)) = v := by + let A := π.comp ((homogeneousSchwartzEmbedding a k ha ha1 hk).restrictScalars ℝ) + obtain ⟨B, hB⟩ := A.toLinearMap.exists_rightInverse_of_surjective + (LinearMap.range_eq_top.mpr (homogeneousSchwartz_coordinates_surjective a k ha ha1 hk π hπ)) + refine ⟨B, fun v => ?_⟩ + exact congrArg (fun L : F →ₗ[ℝ] F => L v) hB + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..d4f7a18b3a5638a8420ae4b5fba2b957077f914b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSchwartzObservation.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeightedObservation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyInterpolation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyComponents +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYProduct +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalInjective + +namespace OAI + +/-! # The compact low-energy part of a Schwartz coefficient + +On the dense physical Schwartz domain, multiplication by a fixed Schwartz +coefficient takes bounded weakly null data to zero in the exact low energy. +The proof combines physical L² observation, Plancherel and frequency splitting. +-/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousYProduct_physicalSchwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (V f : 𝓢(E, ℂ)) : + homogeneousYProduct a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) + (homogeneousSchwartzEmbedding a k ha ha1 hk f) = + homogeneousSchwartzEmbedding a k ha ha1 hk (SchwartzMap.smulLeftCLM ℂ V f) := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + apply DFunLike.ext + intro x + rw [homogeneousYProduct_physical, homogeneousPhysicalCLM_Schwartz, + homogeneousPhysicalCLM_Schwartz, homogeneousPhysicalCLM_Schwartz, + SchwartzMap.smulLeftCLM_apply_apply V.hasTemperateGrowth] + rfl + +private theorem schwartz_frequency_integrable (s : ℝ) (hs : 0 ≤ s) (f : 𝓢(E, ℂ)) : + Integrable (fun ξ : E => ‖ξ‖ ^ (2 * s) * ‖radianFourierKernel f ξ‖ ^ 2) := by + have h := homogeneousFourierMagnitude_sq_integrable s hs (radianFourierKernel f) + convert h using 1 + funext ξ + simp only [homogeneousFourierMagnitude, mul_pow] + rw [← Real.rpow_natCast (‖ξ‖ ^ s) 2, ← Real.rpow_mul (norm_nonneg _)] + congr 2 + ring + +theorem homogeneousLowEnergy_schwartz_interpolation (a k ε : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hε : 0 < ε) (V : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : 𝓢(E, ℂ), + ‖homogeneousLowEnergy a k ha1 hk + (homogeneousYProduct a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) + (homogeneousSchwartzEmbedding a k ha ha1 hk f))‖ ^ 2 ≤ + ε * ‖homogeneousYProduct a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) + (homogeneousSchwartzEmbedding a k ha ha1 hk f)‖ ^ 2 + + C * ‖homogeneousWeightedObservation a k ha ha1 hk V (V.memLp 2) + (homogeneousSchwartzEmbedding a k ha ha1 hk f)‖ ^ 2 := by + obtain ⟨C, hC, hc⟩ := homogeneousLowEnergy_interpolation a k ε ha ha1 hk hε + refine ⟨C, hC, fun f => ?_⟩ + let P : 𝓢(E, ℂ) := SchwartzMap.smulLeftCLM ℂ V f + let v := homogeneousSchwartzEmbedding a k ha ha1 hk P + have hp : homogeneousYProduct a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk V) + (homogeneousSchwartzEmbedding a k ha ha1 hk f) = v := + homogeneousYProduct_physicalSchwartz a k ha ha1 hk V f + let c := ((2 * Real.pi) ^ (12 : ℕ))⁻¹ + have hc0 : 0 < c := by dsimp [c]; positivity + have hz : c * homogeneousFrequencyEnergy 0 (radianFourierKernel P) = + ‖homogeneousWeightedObservation a k ha ha1 hk V (V.memLp 2) + (homogeneousSchwartzEmbedding a k ha ha1 hk f)‖ ^ 2 := by + rw [radianFourier_energy_zero, homogeneousWeightedObservation_norm_sq, + ← mul_assoc, inv_mul_cancel₀ (by positivity), one_mul] + unfold homogeneousFrequencyEnergy + apply integral_congr_ae + filter_upwards [] with x + simp only [mul_zero, Real.rpow_zero, one_mul, + homogeneousPhysicalCLM_Schwartz, P, + SchwartzMap.smulLeftCLM_apply_apply V.hasTemperateGrowth, smul_eq_mul] + have hl : c * homogeneousFrequencyEnergy (6 - a) (radianFourierKernel P) = + ‖homogeneousLowEnergy a k ha1 hk v‖ ^ 2 := + (homogeneousLowEnergy_Schwartz_norm_sq a k ha ha1 hk _).symm + have hh : c * homogeneousFrequencyEnergy k (radianFourierKernel P) = + ‖homogeneousHighEnergy a k ha1 hk v‖ ^ 2 := + (homogeneousHighEnergy_Schwartz_norm_sq a k ha ha1 hk _).symm + have hhigh := (sq_le_sq₀ (norm_nonneg _) (norm_nonneg v)).mpr + (homogeneousHighEnergy_norm_le a k ha1 hk v) + have hi := mul_le_mul_of_nonneg_left + (hc (radianFourierKernel P) + (by simpa only [mul_zero, Real.rpow_zero, one_mul] using schwartz_frequency_integrable 0 le_rfl P) + (schwartz_frequency_integrable k (by linarith) P)) hc0.le + rw [mul_add, mul_left_comm c ε, hl, hh, mul_left_comm c C, hz] at hi + rw [hp] + nlinarith + + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSecondMomentWeight.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSecondMomentWeight.lean new file mode 100644 index 0000000000000000000000000000000000000000..8dc602aab8a11ceb0e089c4e5e4480a359d4dd7e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSecondMomentWeight.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousInverseWeight + +namespace OAI + +/-! # The inverse-weight moment needed for classical second derivatives + +In dimension twelve, k > 8 makes |xi|⁴ divided by the Y weight integrable. +At the origin the factor |xi|⁴ only improves the existing inverse-weight +estimate. This is the exact moment required for the physical C² bridge. +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem homogeneous_secondMoment_high_bound (a k : ℝ) (ξ : E) (hξ : ξ ≠ 0) : + ‖ξ‖ ^ 4 * (homogeneousFourierWeight a k ξ)⁻¹ ≤ + (2 * Real.pi) ^ (12 : ℕ) * ‖ξ‖ ^ (4 - 2 * k : ℝ) := by + have hn : 0 < ‖ξ‖ := norm_pos_iff.mpr hξ + have hp : 0 < ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ‖ξ‖ ^ (2 * k) := by positivity + have hw : ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ‖ξ‖ ^ (2 * k) ≤ + homogeneousFourierWeight a k ξ := + mul_le_mul_of_nonneg_left (le_add_of_nonneg_left (by positivity)) (by positivity) + calc + _ ≤ ‖ξ‖ ^ 4 * (((2 * Real.pi) ^ (12 : ℕ))⁻¹ * ‖ξ‖ ^ (2 * k))⁻¹ := + mul_le_mul_of_nonneg_left (inv_anti₀ hp hw) (by positivity) + _ = (2 * Real.pi) ^ (12 : ℕ) * (‖ξ‖ ^ (4 : ℝ) * ‖ξ‖ ^ (-(2 * k))) := by + simp only [mul_inv_rev, inv_inv, Real.rpow_neg hn.le, Real.rpow_ofNat] + ring + _ = _ := by rw [← Real.rpow_add hn]; congr 2 + +theorem integrable_homogeneousSecondMomentWeight (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Integrable (fun ξ : E => ‖ξ‖ ^ 4 * (homogeneousFourierWeight a k ξ)⁻¹) := by + have hm : AEStronglyMeasurable + (fun ξ : E => ‖ξ‖ ^ 4 * (homogeneousFourierWeight a k ξ)⁻¹) volume := + (continuous_norm.pow 4).aestronglyMeasurable.mul + (continuous_homogeneousFourierWeight a k ha1 hk).measurable.inv.aestronglyMeasurable + have hsmall : IntegrableOn + (fun ξ : E => ‖ξ‖ ^ 4 * (homogeneousFourierWeight a k ξ)⁻¹) (Metric.ball 0 1) := by + apply (integrable_homogeneousFourierWeight_inv a k ha ha1 hk).integrableOn.mono' hm.restrict + filter_upwards [ae_restrict_mem measurableSet_ball] with ξ hξ + have hn : ‖ξ‖ ≤ 1 := (by simpa only [Metric.mem_ball, dist_zero_right] using hξ : ‖ξ‖ < 1).le + rw [Real.norm_eq_abs, abs_of_nonneg + (mul_nonneg (by positivity) (inv_nonneg.mpr (homogeneousFourierWeight_nonneg a k ξ)))] + exact mul_le_of_le_one_left (inv_nonneg.mpr (homogeneousFourierWeight_nonneg a k ξ)) + (pow_le_one₀ (norm_nonneg _) hn) + have hbase : Integrable (fun ξ : E => (1 + ‖ξ‖) ^ (4 - 2 * k : ℝ)) := by + rw [show (4 - 2 * k : ℝ) = -(2 * k - 4) by ring] + apply integrable_one_add_norm + norm_num + linarith + have hlarge : IntegrableOn + (fun ξ : E => ‖ξ‖ ^ 4 * (homogeneousFourierWeight a k ξ)⁻¹) (Metric.ball 0 1)ᶜ := by + apply ((hbase.const_mul ((2 * Real.pi) ^ (12 : ℕ) * 2 ^ (2 * k - 4))).integrableOn).mono' + hm.restrict + filter_upwards [ae_restrict_mem measurableSet_ball.compl] with ξ hξ + have hn : 1 ≤ ‖ξ‖ := by + simpa only [mem_compl_iff, Metric.mem_ball, dist_zero_right, not_lt] using hξ + have hξ0 : ξ ≠ 0 := by intro h; simp only [h, norm_zero] at hn; linarith + rw [Real.norm_eq_abs, abs_of_nonneg + (mul_nonneg (by positivity) (inv_nonneg.mpr (homogeneousFourierWeight_nonneg a k ξ)))] + calc + _ ≤ (2 * Real.pi) ^ (12 : ℕ) * ‖ξ‖ ^ (4 - 2 * k : ℝ) := + homogeneous_secondMoment_high_bound a k ξ hξ0 + _ ≤ (2 * Real.pi) ^ (12 : ℕ) * ((1 + ‖ξ‖) / 2) ^ (4 - 2 * k : ℝ) := by + exact mul_le_mul_of_nonneg_left + (Real.rpow_le_rpow_of_nonpos (by positivity) (by linarith) (by linarith)) (by positivity) + _ = _ := by + rw [Real.div_rpow (by positivity) (by positivity)] + rw [show (4 - 2 * k : ℝ) = -(2 * k - 4) by ring, Real.rpow_neg (by positivity : (0 : ℝ) ≤ 2), + div_inv_eq_mul] + ring + simpa only [union_compl_self, integrableOn_univ] using hsmall.union hlarge + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSemigroupContour.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSemigroupContour.lean new file mode 100644 index 0000000000000000000000000000000000000000..14ecee952d5ce1c5de652166f3af6c6f36cf9840 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSemigroupContour.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousContourDecomposition +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSemigroupDecay + +namespace OAI + +/-! # The contour decomposition of a strongly continuous semigroup + +The algebra and compact-interval argument are performed before specializing +its Banach space and parameters to the physical matched profile. +-/ + +open scoped NNReal + +namespace DefocusingNLS + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +theorem semigroup_contour_decomposition (S : ℝ≥0 → E →L[ℂ] E) + (hzero : S 0 = 1) (hadd : ∀ s t, S (s + t) = S t * S s) + (hS : ∀ x : E, Continuous (fun t => S t x)) + (τ : ℝ≥0) (hτ : 0 < τ) (B K : E →L[ℂ] E) + (hstep : S τ = B + K) (hB : ‖B‖ < 1) + (hK : FiniteDimensional ℂ (LinearMap.range K.toLinearMap)) + (η : ℝ) (hη : η < 1) : + ∃ r : ℝ, η < r ∧ r < 1 ∧ ∃ Q : E →L[ℂ] E, + IsIdempotentElem Q ∧ FiniteDimensional ℂ (LinearMap.range Q.toLinearMap) ∧ + (∀ s, Commute (S s) Q) ∧ + ∃ D δ : ℝ, 0 ≤ D ∧ 0 < δ ∧ ∀ s : ℝ≥0, ∀ u, Q u = 0 → + ‖S s u‖ ≤ D * Real.exp (-δ * (s : ℝ)) * ‖u‖ := by + obtain ⟨r, hηr, hr0, hr, Q, hQ, hfin, hcomm, C, hC, hpowers⟩ := + finiteRank_contour_decomposition B K hB hK η hη + refine ⟨r, hηr, hr, Q, hQ, hfin, ?_, ?_⟩ + · intro s + apply hcomm + rw [← hstep] + change S s * S τ = S τ * S s + rw [← hadd, ← hadd, add_comm s τ] + · apply continuous_decay_of_step_decay S hzero hadd hS + {u | Q u = 0} τ hτ r C hr0 hr hC + intro j u hu + simpa only [hstep] using hpowers j u hu + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSemigroupDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSemigroupDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..18d22f4d34b3c5dab80bf6839e5c25b552595694 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSemigroupDecay.lean @@ -0,0 +1,98 @@ +import Mathlib.Analysis.Normed.Operator.BanachSteinhaus +import Mathlib.Analysis.SpecialFunctions.Log.Basic +import Mathlib.Algebra.Order.Floor.Semiring + +namespace OAI + +/-! # From a decaying time step to continuous-time decay + +Strong continuity gives the bounded propagation on one compact time interval. +The remaining estimate is a division of time into integral steps and one +bounded remainder interval. +-/ + +open Set +open scoped NNReal + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +theorem stronglyContinuous_family_compact_bound (S : ℝ≥0 → E →L[ℂ] E) + (hS : ∀ x : E, Continuous (fun t => S t x)) (τ : ℝ≥0) : + ∃ M : ℝ, 0 ≤ M ∧ ∀ t : ℝ≥0, t ≤ τ → ‖S t‖ ≤ M := by + obtain ⟨M, hM⟩ := banach_steinhaus (g := fun t : Icc (0 : ℝ≥0) τ => S t) (by + intro x + obtain ⟨C, hC⟩ := (isCompact_Icc : IsCompact (Icc (0 : ℝ≥0) τ)).exists_bound_of_continuousOn + (hS x).continuousOn + exact ⟨C, fun t => hC t t.property⟩) + exact ⟨max M 0, le_max_right _ _, fun t ht => + (hM ⟨t, bot_le, ht⟩).trans (le_max_left _ _)⟩ + +omit [CompleteSpace E] in +theorem semigroup_nat_mul (S : ℝ≥0 → E →L[ℂ] E) + (hzero : S 0 = 1) + (hadd : ∀ s t, S (s + t) = S t * S s) (τ : ℝ≥0) (n : ℕ) : + S ((n : ℝ≥0) * τ) = (S τ) ^ n := by + induction n with + | zero => simpa only [Nat.cast_zero, zero_mul, pow_zero] using hzero + | succ n ih => + rw [Nat.cast_add, Nat.cast_one, add_mul, one_mul, hadd, ih, pow_succ'] + +theorem continuous_decay_of_step_decay (S : ℝ≥0 → E →L[ℂ] E) + (hzero : S 0 = 1) (hadd : ∀ s t, S (s + t) = S t * S s) + (hS : ∀ x : E, Continuous (fun t => S t x)) + (V : Set E) (τ : ℝ≥0) (hτ : 0 < τ) (r C : ℝ) + (hr : 0 < r) (hr1 : r < 1) (hC : 0 ≤ C) + (hstep : ∀ n : ℕ, ∀ x ∈ V, ‖((S τ) ^ n) x‖ ≤ C * r ^ n * ‖x‖) : + ∃ D δ : ℝ, 0 ≤ D ∧ 0 < δ ∧ ∀ t : ℝ≥0, ∀ x ∈ V, + ‖S t x‖ ≤ D * Real.exp (-δ * (t : ℝ)) * ‖x‖ := by + obtain ⟨M, hM, hbound⟩ := stronglyContinuous_family_compact_bound S hS τ + have hτR : 0 < (τ : ℝ) := hτ + let δ : ℝ := -Real.log r / τ + have hlog : Real.log r < 0 := Real.log_neg hr hr1 + have hδ : 0 < δ := div_pos (neg_pos.mpr hlog) hτR + refine ⟨M * C / r, δ, by positivity, hδ, ?_⟩ + intro t x hx + let n : ℕ := ⌊(t : ℝ) / τ⌋₊ + have hn : (n : ℝ) ≤ (t : ℝ) / τ := Nat.floor_le (div_nonneg t.2 hτR.le) + have hn' : (t : ℝ) / τ < (n : ℝ) + 1 := Nat.lt_floor_add_one _ + have hnτ : (n : ℝ) * τ ≤ (t : ℝ) := (le_div_iff₀ hτR).mp hn + let u : ℝ≥0 := ⟨(t : ℝ) - (n : ℝ) * τ, sub_nonneg.mpr hnτ⟩ + have hu : u ≤ τ := by + change (t : ℝ) - (n : ℝ) * τ ≤ (τ : ℝ) + have h := (div_lt_iff₀ hτR).mp hn' + nlinarith + have ht : t = (n : ℝ≥0) * τ + u := by + apply Subtype.ext + change (t : ℝ) = (n : ℝ) * τ + ((t : ℝ) - (n : ℝ) * τ) + ring + have hsplit : S t = S u * (S τ) ^ n := by + rw [ht, hadd, semigroup_nat_mul S hzero hadd] + have hgeom : r ^ n ≤ Real.exp (-δ * (t : ℝ)) / r := by + have hh : (n : ℝ) * Real.log r ≤ ((t : ℝ) / τ - 1) * Real.log r := + mul_le_mul_of_nonpos_right (by linarith : (t : ℝ) / τ - 1 ≤ (n : ℝ)) hlog.le + have he : ((t : ℝ) / τ - 1) * Real.log r = -δ * (t : ℝ) - Real.log r := by + dsimp only [δ] + field_simp + calc + r ^ n = Real.exp ((n : ℝ) * Real.log r) := by + rw [Real.exp_nat_mul, Real.exp_log hr] + _ ≤ Real.exp (((t : ℝ) / τ - 1) * Real.log r) := Real.exp_le_exp.mpr hh + _ = Real.exp (-δ * (t : ℝ)) / r := by rw [he, Real.exp_sub, Real.exp_log hr] + calc + ‖S t x‖ = ‖S u (((S τ) ^ n) x)‖ := by rw [hsplit]; rfl + _ ≤ ‖S u‖ * ‖((S τ) ^ n) x‖ := ContinuousLinearMap.le_opNorm _ _ + _ ≤ M * (C * r ^ n * ‖x‖) := + mul_le_mul (hbound u hu) (hstep n x hx) (norm_nonneg _) hM + _ ≤ M * (C * (Real.exp (-δ * (t : ℝ)) / r) * ‖x‖) := by + gcongr + _ = M * C / r * Real.exp (-δ * (t : ℝ)) * ‖x‖ := by ring + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpecifiedRadialMode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpecifiedRadialMode.lean new file mode 100644 index 0000000000000000000000000000000000000000..268871d3ea7b6468c75860e225a36d8e8988db11 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpecifiedRadialMode.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFixedRadialModes + +namespace OAI + +/-! # The finite-energy radial mode in any specified nonzero harmonic channel -/ + +open Set MeasureTheory +open scoped ContDiff Laplacian +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneous_matched_contour_specified_radialMode (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)) + (lam : ℂ) (w : P.range) (he : G w = lam • w) + (ell : ℕ) (Y : E → ℂ) + (hYs : ∀ x : E, x ≠ 0 → ContDiffAt ℝ ∞ Y x) + (hYr : ∀ (x : E) (t : ℝ), 0 < t → Y (t • x) = Y x) + (hYe : ∀ x : E, x ≠ 0 → Δ Y x = -(((ell : ℂ) * (ell + 10)) / (‖x‖ ^ 2 : ℝ)) * Y x) + (hne : ∃ r : ℝ, 0 < r ∧ + (harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x) r ≠ 0 ∨ + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x) r ≠ 0)) : + ∃ u : RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ) * (ell + 10)) lam, + u.first = harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1 x) ∧ + u.second = harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N + ha ha1 hk (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2 x) := by + obtain ⟨r, hr, hm⟩ := hne + obtain ⟨hpair, hfs, hgs, _, _⟩ := homogeneous_matched_contour_radial + n z hX hz N ha ha1 hk q hq P hcomm hfin G hG lam w he + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + have hqr : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedProfile n z ‖x‖ := by + simpa only [radialMatchedCartesian] using hq + have hw := projectionSemigroup_eigenvector + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm hfin G hG lam w he + have hc2 := homogeneous_eigenvector_harmonic_channels + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q (radialMatchedProfile n z) hqr w lam hw + Y ((ell : ℂ) * (ell + 10)) hYs hYr hYe + let A := fun f : HomogeneousY (radialShootingA n) N => + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk f x) + have hwb := homogeneous_harmonic_pair_bounded (radialShootingA n) N ha ha1 hk + (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) Y hYs + have hN9 : 9 ≤ N := by + have hh : 8 < N := by exact_mod_cast hk + omega + have htop := homogeneous_harmonic_pair_lower_topL2 (radialShootingA n) N 9 ha ha1 hk + (by norm_num) hN9 (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) + Y hYs hfs hgs + let u : RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) 9 (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam := + ⟨A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).1, + A (w : HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N).2, + hc2.1,hc2.2.1,hpair,hfs,hgs,htop.1,htop.2,hwb,⟨r,hr,hm⟩⟩ + exact ⟨u, rfl, rfl⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralGrowth.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralGrowth.lean new file mode 100644 index 0000000000000000000000000000000000000000..8bbe1b493577646ee076339ce74b8d5f07a6c199 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralGrowth.lean @@ -0,0 +1,166 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialODEGrowthRegularity +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCircularField +import Mathlib.Analysis.Calculus.IteratedDeriv.Defs +import Mathlib.Analysis.Calculus.Deriv.Star + +namespace OAI + +/-! # Coarse derivative growth for the coupled profile and spectral state + +The six scalar coordinates form a polynomial differential system with the +single explicit coefficient `exp(2t)`. This records coarse derivative +growth, independent of the order of any comparison polynomial. +-/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +inductive HomogeneousSpectralExpr where + | constant : ℂ → HomogeneousSpectralExpr + | exponential : HomogeneousSpectralExpr + | coordinate : Fin 6 → HomogeneousSpectralExpr + | add : HomogeneousSpectralExpr → HomogeneousSpectralExpr → HomogeneousSpectralExpr + | mul : HomogeneousSpectralExpr → HomogeneousSpectralExpr → HomogeneousSpectralExpr + | conjugate : HomogeneousSpectralExpr → HomogeneousSpectralExpr + +namespace HomogeneousSpectralExpr + +noncomputable def eval (F : ℝ → Fin 6 → ℂ) (t : ℝ) : HomogeneousSpectralExpr → ℂ + | constant c => c + | exponential => (Real.exp (2 * t) : ℂ) + | coordinate i => F t i + | add a b => eval F t a + eval F t b + | mul a b => eval F t a * eval F t b + | conjugate a => star (eval F t a) + +def pow (a : HomogeneousSpectralExpr) : ℕ → HomogeneousSpectralExpr + | 0 => constant 1 + | n + 1 => mul (pow a n) a + +theorem eval_pow (F : ℝ → Fin 6 → ℂ) (t : ℝ) (a : HomogeneousSpectralExpr) (n : ℕ) : + eval F t (pow a n) = eval F t a ^ n := by + induction n with + | zero => rfl + | succ n ih => simp only [pow, eval, ih, pow_succ] + +noncomputable def differentiate (D : Fin 6 → HomogeneousSpectralExpr) : + HomogeneousSpectralExpr → HomogeneousSpectralExpr + | constant _ => constant 0 + | exponential => mul (constant 2) exponential + | coordinate i => D i + | add a b => add (differentiate D a) (differentiate D b) + | mul a b => add (mul (differentiate D a) b) (mul a (differentiate D b)) + | conjugate a => conjugate (differentiate D a) + +theorem hasDerivAt_eval (D : Fin 6 → HomogeneousSpectralExpr) + (F : ℝ → Fin 6 → ℂ) (t : ℝ) + (hF : ∀ i, HasDerivAt (fun s => F s i) (eval F t (D i)) t) + (a : HomogeneousSpectralExpr) : + HasDerivAt (fun s => eval F s a) (eval F t (differentiate D a)) t := by + induction a with + | constant c => exact hasDerivAt_const t c + | exponential => + convert (((hasDerivAt_id t).const_mul 2).exp).ofReal_comp using 1 <;> + simp only [eval, differentiate, Complex.ofReal_mul, Complex.ofReal_ofNat, id_eq, mul_one] + ring + | coordinate i => exact hF i + | add a b ha hb => exact ha.add hb + | mul a b ha hb => exact ha.mul hb + | conjugate a ha => exact ha.star + +theorem iteratedDeriv_eval (D : Fin 6 → HomogeneousSpectralExpr) + (F : ℝ → Fin 6 → ℂ) (L : ℝ) + (hF : ∀ t, L < t → ∀ i, HasDerivAt (fun s => F s i) (eval F t (D i)) t) + (a : HomogeneousSpectralExpr) (k : ℕ) : ∀ t, L < t → + iteratedDeriv k (fun s => eval F s a) t = eval F t ((differentiate D)^[k] a) := by + induction k with + | zero => intro t ht; rfl + | succ k ih => + intro t ht + have he : iteratedDeriv k (fun s => eval F s a) =ᶠ[𝓝 t] + (fun s => eval F s ((differentiate D)^[k] a)) := by + filter_upwards [eventually_gt_nhds ht] with s hs + exact ih s hs + rw [iteratedDeriv_succ, he.deriv_eq] + simpa only [Function.iterate_succ_apply'] using + (hasDerivAt_eval D F t (hF t ht) ((differentiate D)^[k] a)).deriv + +theorem eval_exponential_bound (a : HomogeneousSpectralExpr) + (F : ℝ → Fin 6 → ℂ) (M U : ℝ) (hM : 0 ≤ M) + (hF : ∀ t, U ≤ t → ∀ i, ‖F t i‖ ≤ M) : + ∃ C B : ℝ, 0 ≤ C ∧ 0 ≤ B ∧ ∀ t, U ≤ t → 0 ≤ t → + ‖eval F t a‖ ≤ B * Real.exp (C * t) := by + induction a with + | constant c => + refine ⟨0, ‖c‖, le_rfl, norm_nonneg _, ?_⟩ + intro t ht ht0 + simp only [eval, zero_mul, Real.exp_zero, mul_one, le_refl] + | exponential => + refine ⟨2, 1, by norm_num, by norm_num, ?_⟩ + intro t ht ht0 + simp only [eval, Complex.norm_real, Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _), one_mul, le_refl] + | coordinate i => + refine ⟨0, M, le_rfl, hM, ?_⟩ + intro t ht ht0 + simpa only [eval, zero_mul, Real.exp_zero, mul_one] using hF t ht i + | add a b ha hb => + obtain ⟨Ca, Ba, hCa, hBa, hba⟩ := ha + obtain ⟨Cb, Bb, hCb, hBb, hbb⟩ := hb + refine ⟨Ca + Cb, Ba + Bb, add_nonneg hCa hCb, add_nonneg hBa hBb, ?_⟩ + intro t ht ht0 + have hea : Real.exp (Ca * t) ≤ Real.exp ((Ca + Cb) * t) := + Real.exp_le_exp.mpr (by nlinarith) + have heb : Real.exp (Cb * t) ≤ Real.exp ((Ca + Cb) * t) := + Real.exp_le_exp.mpr (by nlinarith) + calc + ‖eval F t (add a b)‖ ≤ ‖eval F t a‖ + ‖eval F t b‖ := norm_add_le _ _ + _ ≤ Ba * Real.exp (Ca * t) + Bb * Real.exp (Cb * t) := + add_le_add (hba t ht ht0) (hbb t ht ht0) + _ ≤ Ba * Real.exp ((Ca + Cb) * t) + Bb * Real.exp ((Ca + Cb) * t) := + add_le_add (mul_le_mul_of_nonneg_left hea hBa) (mul_le_mul_of_nonneg_left heb hBb) + _ = _ := by ring + | mul a b ha hb => + obtain ⟨Ca, Ba, hCa, hBa, hba⟩ := ha + obtain ⟨Cb, Bb, hCb, hBb, hbb⟩ := hb + refine ⟨Ca + Cb, Ba * Bb, add_nonneg hCa hCb, mul_nonneg hBa hBb, ?_⟩ + intro t ht ht0 + calc + ‖eval F t (mul a b)‖ = ‖eval F t a‖ * ‖eval F t b‖ := norm_mul _ _ + _ ≤ (Ba * Real.exp (Ca * t)) * (Bb * Real.exp (Cb * t)) := + mul_le_mul (hba t ht ht0) (hbb t ht ht0) (norm_nonneg _) + (mul_nonneg hBa (Real.exp_pos _).le) + _ = (Ba * Bb) * (Real.exp (Ca * t) * Real.exp (Cb * t)) := by ring + _ = _ := by rw [← Real.exp_add]; congr 2; ring + | conjugate a ha => + obtain ⟨C, B, hC, hB, hb⟩ := ha + refine ⟨C, B, hC, hB, ?_⟩ + intro t ht ht0 + simpa only [eval, norm_star] using hb t ht ht0 + +theorem derivatives_exponential_bound (D : Fin 6 → HomogeneousSpectralExpr) + (F : ℝ → Fin 6 → ℂ) (L U M : ℝ) (hM : 0 ≤ M) + (hF : ∀ t, L < t → ∀ i, HasDerivAt (fun s => F s i) (eval F t (D i)) t) + (hB : ∀ t, U ≤ t → ∀ i, ‖F t i‖ ≤ M) (i : Fin 6) (k : ℕ) : + ∃ C B T : ℝ, 0 ≤ C ∧ 0 ≤ B ∧ L < T ∧ ∀ t, T ≤ t → + ‖iteratedDeriv k (fun s => F s i) t‖ ≤ B * Real.exp (C * t) := by + obtain ⟨C, B, hC, hB0, hb⟩ := eval_exponential_bound + ((differentiate D)^[k] (coordinate i)) F M U hM hB + let T := max U (max 0 (L + 1)) + have hLT : L < T := lt_of_lt_of_le (by linarith : L < L + 1) + ((le_max_right 0 _).trans (le_max_right U _)) + refine ⟨C, B, T, hC, hB0, hLT, ?_⟩ + intro t ht + rw [show iteratedDeriv k (fun s => F s i) t = + eval F t ((differentiate D)^[k] (coordinate i)) from + iteratedDeriv_eval D F L hF (coordinate i) k t (hLT.trans_le ht)] + exact hb t ((le_max_left U _).trans ht) + (((le_max_left 0 _).trans (le_max_right U _)).trans ht) + +end HomogeneousSpectralExpr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralGrowthEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralGrowthEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..055bd719140998fdf2498fce33e13b18ab9cc498 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralGrowthEquation.lean @@ -0,0 +1,169 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralGrowth + +namespace OAI + +/-! # Applying polynomial derivative growth to the actual circular equation -/ + +open Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable def homogeneousSpectralState (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) + (t : ℝ) : Fin 6 → ℂ := + ![(q t).1, (q t).2, (Y t).1.1, (Y t).1.2, (Y t).2.1, (Y t).2.2] + +@[simp] theorem homogeneousSpectralState_zero (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) : + homogeneousSpectralState q Y t 0 = (q t).1 := rfl +@[simp] theorem homogeneousSpectralState_one (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) : + homogeneousSpectralState q Y t 1 = (q t).2 := rfl +@[simp] theorem homogeneousSpectralState_two (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) : + homogeneousSpectralState q Y t 2 = (Y t).1.1 := rfl +@[simp] theorem homogeneousSpectralState_three (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) : + homogeneousSpectralState q Y t 3 = (Y t).1.2 := rfl +@[simp] theorem homogeneousSpectralState_four (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) : + homogeneousSpectralState q Y t 4 = (Y t).2.1 := rfl +@[simp] theorem homogeneousSpectralState_five (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) : + homogeneousSpectralState q Y t 5 = (Y t).2.2 := rfl + +noncomputable def homogeneousSpectralDifferential (ν νp νm eta : ℂ) (m : ℕ) : + Fin 6 → HomogeneousSpectralExpr := + let q := HomogeneousSpectralExpr.coordinate 0 + let dq := HomogeneousSpectralExpr.coordinate 1 + let p := HomogeneousSpectralExpr.coordinate 2 + let dp := HomogeneousSpectralExpr.coordinate 3 + let n := HomogeneousSpectralExpr.coordinate 4 + let dn := HomogeneousSpectralExpr.coordinate 5 + let c := HomogeneousSpectralExpr.constant + let e := HomogeneousSpectralExpr.exponential + let a := HomogeneousSpectralExpr.add + let M := HomogeneousSpectralExpr.mul + let star := HomogeneousSpectralExpr.conjugate + let pow := HomogeneousSpectralExpr.pow + let D := M (c (m + 1)) (M (pow q m) (pow (star q) m)) + let C := M (c m) (M (pow q (m + 1)) (pow (star q) (m - 1))) + ![dq, + a (a (M (c (-(2 * ν + 10))) dq) (M (M (c (-Complex.I / 2)) e) dq)) + (a (M (c (-(ν * (ν + 10)))) q) (M (pow q (m + 1)) (pow (star q) m))), + dp, + a (a (M (c (-(2 * νp + 10))) dp) (M (M (c (-Complex.I / 2)) e) dp)) + (a (M (c (-(νp * (νp + 10) - eta))) p) (a (M D p) (M C n))), + dn, + a (a (M (c (-(2 * νm + 10))) dn) (M (M (c (Complex.I / 2)) e) dn)) + (a (M (c (-(νm * (νm + 10) - eta))) n) (a (M (star D) n) (M (star C) p)))] + +theorem homogeneousSpectralDifferential_eval (ν νp νm eta : ℂ) (m : ℕ) + (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) (i : Fin 6) : + HomogeneousSpectralExpr.eval (homogeneousSpectralState q Y) t + (homogeneousSpectralDifferential ν νp νm eta m i) = + homogeneousSpectralState + (fun _ => radialExteriorODEField ν m t (q t)) + (fun _ => circularLeadingField t (Y t) + + circularBoundedField νp νm eta m (q t).1 (Y t)) t i := by + fin_cases i <;> + simp only [homogeneousSpectralDifferential, HomogeneousSpectralExpr.eval, + HomogeneousSpectralExpr.eval_pow, homogeneousSpectralState_zero, + homogeneousSpectralState_one, homogeneousSpectralState_two, homogeneousSpectralState_three, + homogeneousSpectralState_four, homogeneousSpectralState_five, + Matrix.cons_val_zero', Matrix.cons_val_succ', + radialExteriorODEField, circularLeadingField, circularBoundedField, + spectralDiagonalCoefficient, spectralCrossCoefficient, oddPowerNonlinearity, + Complex.ofReal_div, Complex.ofReal_ofNat, + star_add, star_mul, star_natCast, star_one, Nat.cast_add, Nat.cast_one] + all_goals simp only [homogeneousSpectralState, Matrix.cons_val_zero', Matrix.cons_val_succ', + Prod.fst_add, Prod.snd_add] + all_goals ring + +theorem homogeneousSpectralState_hasDerivAt (ν νp νm eta : ℂ) (m : ℕ) + (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t : ℝ) + (hq : HasDerivAt q (radialExteriorODEField ν m t (q t)) t) + (hY : HasDerivAt Y (circularLeadingField t (Y t) + + circularBoundedField νp νm eta m (q t).1 (Y t)) t) (i : Fin 6) : + HasDerivAt (fun s => homogeneousSpectralState q Y s i) + (HomogeneousSpectralExpr.eval (homogeneousSpectralState q Y) t + (homogeneousSpectralDifferential ν νp νm eta m i)) t := by + rw [homogeneousSpectralDifferential_eval] + have hq₀ := (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hq + have hq₁ := (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hq + have hp := (ContinuousLinearMap.fst ℝ (ℂ × ℂ) (ℂ × ℂ)).hasFDerivAt.comp_hasDerivAt t hY + have hn := (ContinuousLinearMap.snd ℝ (ℂ × ℂ) (ℂ × ℂ)).hasFDerivAt.comp_hasDerivAt t hY + fin_cases i + · exact hq₀ + · exact hq₁ + · exact (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hp + · exact (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hp + · exact (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hn + · exact (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hn + +theorem homogeneousSpectralState_bound (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (t M : ℝ) + (hq : ‖q t‖ ≤ M) (hY : ‖Y t‖ ≤ M) (i : Fin 6) : + ‖homogeneousSpectralState q Y t i‖ ≤ M := by + fin_cases i + · exact (norm_fst_le _).trans hq + · exact (norm_snd_le _).trans hq + · exact (norm_fst_le _).trans ((norm_fst_le _).trans hY) + · exact (norm_snd_le _).trans ((norm_fst_le _).trans hY) + · exact (norm_fst_le _).trans ((norm_snd_le _).trans hY) + · exact (norm_snd_le _).trans ((norm_snd_le _).trans hY) + +theorem homogeneousSpectral_derivatives_exponential_bound + (ν νp νm eta : ℂ) (m : ℕ) (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) + (L U M : ℝ) (hM : 0 ≤ M) + (hq : ∀ t, L < t → HasDerivAt q (radialExteriorODEField ν m t (q t)) t) + (hY : ∀ t, L < t → HasDerivAt Y (circularLeadingField t (Y t) + + circularBoundedField νp νm eta m (q t).1 (Y t)) t) + (hbq : ∀ t, U ≤ t → ‖q t‖ ≤ M) (hbY : ∀ t, U ≤ t → ‖Y t‖ ≤ M) + (i : Fin 6) (k : ℕ) : + ∃ C B T : ℝ, 0 ≤ C ∧ 0 ≤ B ∧ L < T ∧ ∀ t, T ≤ t → + ‖iteratedDeriv k (fun s => homogeneousSpectralState q Y s i) t‖ ≤ + B * Real.exp (C * t) := by + exact HomogeneousSpectralExpr.derivatives_exponential_bound + (homogeneousSpectralDifferential ν νp νm eta m) (homogeneousSpectralState q Y) L U M hM + (fun t ht => homogeneousSpectralState_hasDerivAt ν νp νm eta m q Y t + (hq t ht) (hY t ht)) + (fun t ht i => homogeneousSpectralState_bound q Y t M (hbq t ht) (hbY t ht) i) i k + +noncomputable def homogeneousCoupledSpectralField (ν νp νm eta : ℂ) (m : ℕ) + (t : ℝ) (w : (ℂ × ℂ) × V₄) : (ℂ × ℂ) × V₄ := + (radialExteriorODEField ν m t w.1, + circularLeadingField t w.2 + circularBoundedField νp νm eta m w.1.1 w.2) + +theorem homogeneousCoupledSpectralField_contDiff (ν νp νm eta : ℂ) (m : ℕ) : + ContDiff ℝ ∞ (Function.uncurry (homogeneousCoupledSpectralField ν νp νm eta m)) := by + have he : ContDiff ℝ ∞ (fun z : ℝ × ((ℂ × ℂ) × V₄) => + ((Real.exp (2 * z.1) / 2 : ℝ) : ℂ)) := + Complex.ofRealCLM.contDiff.comp + ((Real.contDiff_exp.comp (contDiff_const.mul contDiff_fst)).div_const 2) + have hstar : ContDiff ℝ ∞ (star : ℂ → ℂ) := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff + unfold Function.uncurry homogeneousCoupledSpectralField radialExteriorODEField + circularLeadingField circularBoundedField spectralDiagonalCoefficient + spectralCrossCoefficient oddPowerNonlinearity + fun_prop + +theorem homogeneousSpectral_solution_contDiffOn + (ν νp νm eta : ℂ) (m : ℕ) (q : ℝ → ℂ × ℂ) (Y : ℝ → V₄) (L : ℝ) + (hq : ∀ t, L < t → HasDerivAt q (radialExteriorODEField ν m t (q t)) t) + (hY : ∀ t, L < t → HasDerivAt Y (circularLeadingField t (Y t) + + circularBoundedField νp νm eta m (q t).1 (Y t)) t) : + ContDiffOn ℝ ∞ Y (Ioi L) := by + have hZ : ContDiffOn ℝ ∞ (fun t => (q t, Y t)) (Ioi L) := by + intro r hr + change L < r at hr + have hI : Icc ((r + L) / 2) (r + 1) ⊆ Ioi L := fun t ht => by + change L < t + linarith [ht.1] + have hF := (homogeneousCoupledSpectralField_contDiff ν νp νm eta m).contDiffOn + (s := Icc ((r + L) / 2) (r + 1) ×ˢ (univ : Set ((ℂ × ℂ) × V₄))) + have hh := ODE.contDiffOn_enat_Icc_of_hasDerivWithinAt (n := ⊤) hF + (fun t ht => ((hq t (hI ht)).prodMk (hY t (hI ht))).hasDerivWithinAt) + (fun _ _ => mem_univ _) + exact (hh r ⟨by linarith, by linarith⟩).contDiffAt + (Icc_mem_nhds (by linarith) (by linarith)) |>.contDiffWithinAt + exact hZ.snd + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralInterpolation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralInterpolation.lean new file mode 100644 index 0000000000000000000000000000000000000000..16b8d11b0ed8f604e6493259846844e0401d6782 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralInterpolation.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralGrowthEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExpansionDifferentiation + +namespace OAI + +/-! # Differentiating arbitrary-order outgoing value expansions + +Only the already constructed value expansions and coarse ODE derivative +growth are used. In particular no differentiated asymptotic is assumed. +-/ + +open Polynomial Set Filter Topology +open scoped ContDiff + +namespace DefocusingNLS + +theorem radialPolynomial_positive_derivative_decay (P : ℂ[X]) (k : ℕ) (hk : 0 < k) : + ∃ B : ℝ, 0 ≤ B ∧ ∀ t : ℝ, 0 ≤ t → + ‖iteratedDeriv k (radialExteriorPolynomialFunction P) t‖ ≤ B * Real.exp (-2 * t) := by + have hX : X ∣ P - C (P.coeff 0) := by + apply X_dvd_iff.mpr + simp + obtain ⟨B, hB, hb⟩ := radialExteriorPolynomial_deriv_decay (P - C (P.coeff 0)) 1 k (by simpa using hX) + refine ⟨B, hB, ?_⟩ + intro t ht + have he : radialExteriorPolynomialFunction (P - C (P.coeff 0)) = + radialExteriorPolynomialFunction P - fun _ => P.coeff 0 := by + funext s + simp only [radialExteriorPolynomialFunction, eval_sub, eval_C, Pi.sub_apply] + have h := hb t ht + rw [he, iteratedDeriv_sub ((radialPolynomialFunction_contDiff P).contDiffAt.of_le (by simp)) + contDiffAt_const, iteratedDeriv_const] at h + simpa only [Nat.ne_of_gt hk, ite_false, sub_zero, Nat.cast_one, mul_one] using h + +theorem radial_arbitrary_approximation_positive_derivative_decay + (F : ℝ → ℂ) (P : ℕ → ℂ[X]) (L : ℝ) + (hF : ContDiffOn ℝ ∞ F (Ioi L)) + (hgrowth : ∀ k : ℕ, ∃ C B T : ℝ, 0 ≤ C ∧ 0 ≤ B ∧ + ∀ t, T ≤ t → ‖iteratedDeriv k F t‖ ≤ B * Real.exp (C * t)) + (happrox : ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ A T : ℝ, 0 ≤ A ∧ + ∀ t, T ≤ t → ‖F t - radialExteriorPolynomialFunction (P j) t‖ ≤ + A * Real.exp (-(2 * (j : ℝ)) * t)) (k : ℕ) (hk : 0 < k) : + ∃ A : ℝ, 0 ≤ A ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv k F t‖ ≤ A * Real.exp (-2 * t) := by + obtain ⟨j, _hj, A, T, hA, hb⟩ := + radial_expansion_derivative_selection F P L hF hgrowth happrox k 2 (by norm_num) 0 + obtain ⟨B, hB, hp⟩ := radialPolynomial_positive_derivative_decay (P j) k hk + refine ⟨A + B, add_nonneg hA hB, ?_⟩ + filter_upwards [eventually_ge_atTop T, eventually_ge_atTop (0 : ℝ), + eventually_gt_atTop L] with t ht ht0 hLt + have hf : ContDiffAt ℝ k F t := + ((hF t hLt).contDiffAt (Ioi_mem_nhds hLt)).of_le (by simp) + have h := hb t ht + rw [iteratedDeriv_sub hf ((radialPolynomialFunction_contDiff (P j)).contDiffAt.of_le (by simp))] at h + calc + ‖iteratedDeriv k F t‖ = + ‖(iteratedDeriv k F t - iteratedDeriv k (radialExteriorPolynomialFunction (P j)) t) + + iteratedDeriv k (radialExteriorPolynomialFunction (P j)) t‖ := by rw [sub_add_cancel] + _ ≤ + ‖iteratedDeriv k F t - iteratedDeriv k (radialExteriorPolynomialFunction (P j)) t‖ + + ‖iteratedDeriv k (radialExteriorPolynomialFunction (P j)) t‖ := + norm_add_le _ _ + _ ≤ A * Real.exp (-2 * t) + B * Real.exp (-2 * t) := add_le_add h (hp t ht0) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationBarrier.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationBarrier.lean new file mode 100644 index 0000000000000000000000000000000000000000..b52222b3d1317894e0bbcbe3e79d3ae012c5b6f2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationBarrier.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularScalarEstimates + +namespace OAI + +/-! The angular barrier in the actual weighted radial energy on a fixed ball. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem homogeneousSpectralLocalization_angular_barrier + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (η R : ℝ) (hη : 0 ≤ η) (hR : 0 < R) + (f : ℝ → ℝ) (hf : Continuous f) : + η / R^2 * (∫ r in (0 : ℝ)..R, radialMassDensity n z r * (f r)^2) ≤ + η * radialAngularForm n z R f f := by + have hMi := ((radialMassDensity_continuous n z hX hz).mul (hf.pow 2)).intervalIntegrable + (μ := MeasureTheory.volume) 0 R + have hKi := ((radialAngularDensity_continuous n z hX hz).mul (hf.pow 2)).intervalIntegrable + (μ := MeasureTheory.volume) 0 R + have he : ∀ r ∈ Icc 0 R, + η / R^2 * (radialMassDensity n z r * (f r)^2) ≤ + η * (radialAngularDensity n z r * (f r)^2) := by + intro r hr + have hr0 := hr.1 + have hp : 0 ≤ radialAngularDensity n z r * (f r)^2 := by + dsimp only [radialAngularDensity] + positivity + have hm : radialMassDensity n z r = r^2 * radialAngularDensity n z r := by + dsimp only [radialMassDensity, radialAngularDensity] + ring + rw [hm] + have hrr : r^2 ≤ R^2 := (sq_le_sq₀ hr.1 hR.le).mpr hr.2 + have hquot : η / R^2 * r^2 ≤ η := by + calc + _ = (η * r^2) / R^2 := by ring + _ ≤ η := (div_le_iff₀ (sq_pos_of_pos hR)).mpr + (mul_le_mul_of_nonneg_left hrr hη) + calc + _ = (η / R^2 * r^2) * (radialAngularDensity n z r * (f r)^2) := by ring + _ ≤ _ := mul_le_mul_of_nonneg_right hquot hp + have hi := intervalIntegral.integral_mono_on hR.le + (hMi.const_mul (η / R^2)) (hKi.const_mul η) he + simpa only [intervalIntegral.integral_const_mul, radialAngularForm_diag, + Pi.mul_apply, Pi.pow_apply] using hi + +theorem homogeneousSpectralLocalization_energy_barrier + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (η R : ℝ) (hη : 0 ≤ η) (hR : 0 < R) + (q f : ℝ → ℝ) (hf : Continuous f) (hq : ∀ r ∈ Icc 0 R, 0 ≤ q r) : + η / R^2 * (∫ r in (0 : ℝ)..R, radialMassDensity n z r * (f r)^2) ≤ + radialAngularScalarForm n z η R q f f := by + have hb := homogeneousSpectralLocalization_angular_barrier n z hX hz η R hη hR f hf + have he := radialScalarForm_nonneg n z R hR.le q f hq + unfold radialAngularScalarForm + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..0afa904a5ddbc3a0a363e209cd174a7f19379655 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationEquation.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationPotential + +namespace OAI + +/-! Exact two-channel Schrodinger equations after the radial Liouville transform. -/ + +namespace DefocusingNLS + +noncomputable def homogeneousSpectralLocalizationFrequency + (h b eta omega r : ℝ) : ℝ := + r^2 / 16 + b - h * omega - (eta + 99 / 4) / r^2 + +theorem homogeneousSpectralLocalization_centrifugal (ell : ℕ) : + (ell : ℝ) * (ell + 10) + 99 / 4 = ((ell : ℝ) + 5)^2 - 1 / 4 := by ring + +private theorem localization_source (A B D C f g : ℂ) (hB : B ≠ 0) : + A * (D * f + C * g) = D * (A * f) + C * (A / B) * (B * g) := by + field_simp [hB] + +theorem homogeneousSpectralLocalization_eigenpair + (a b eta : ℝ) (m : ℕ) (Q : ℝ → ℂ) (lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsHarmonicRadialEigenpair a b m Q (eta : ℂ) lam f g) + (r : ℝ) (hr : 0 < r) : + let P := homogeneousSpectralLocalizationState 1 (fun t => (f t, deriv f t)) + let M := homogeneousSpectralLocalizationState (-1) (fun t => (g t, deriv g t)) + let D := spectralDiagonalCoefficient m (Q r) + let C := spectralCrossCoefficient m (Q r) + HasDerivAt P ((P r).2, + -((homogeneousSpectralLocalizationFrequency 1 b eta lam.im r : ℂ) + + Complex.I * ((a + lam.re - 3 : ℝ) : ℂ)) * (P r).1 + + D * (P r).1 + C * (homogeneousSpectralLocalizationFactor 1 r / + homogeneousSpectralLocalizationFactor (-1) r) * (M r).1) r ∧ + HasDerivAt M ((M r).2, + -((homogeneousSpectralLocalizationFrequency (-1) b eta lam.im r : ℂ) - + Complex.I * ((a + lam.re - 3 : ℝ) : ℂ)) * (M r).1 + + star D * (M r).1 + star C * (homogeneousSpectralLocalizationFactor (-1) r / + homogeneousSpectralLocalizationFactor 1 r) * (P r).1) r := by + intro P M D C + have hd := harmonicRadialState_hasDerivAt a b m Q f g (eta : ℂ) lam hf hg he r hr + have hp := (ContinuousLinearMap.fst ℝ (ℂ × ℂ) (ℂ × ℂ)).hasFDerivAt.comp_hasDerivAt r hd + have hm := (ContinuousLinearMap.snd ℝ (ℂ × ℂ) (ℂ × ℂ)).hasFDerivAt.comp_hasDerivAt r hd + simp only [ContinuousLinearMap.coe_fst', ContinuousLinearMap.coe_snd'] at hp hm + have hplus : HasDerivAt (fun t => (f t, deriv f t)) + (deriv f r, -2 * homogeneousSpectralLocalizationSlope 1 r * deriv f r + + (-(b : ℂ) - Complex.I * ((a : ℂ) + lam) + (eta : ℂ) / (r : ℂ)^2) * f r + + (D * f r + C * g r)) r := by + change HasDerivAt (fun t => (f t, deriv f t)) _ r at hp + apply hp.congr_deriv + apply Prod.ext + · rfl + · dsimp only [spectralPhysicalCircularField, harmonicRadialState, + homogeneousSpectralLocalizationSlope, D, C] + push_cast + ring_nf + simp only [Complex.I_sq] + ring + have hminus : HasDerivAt (fun t => (g t, deriv g t)) + (deriv g r, -2 * homogeneousSpectralLocalizationSlope (-1) r * deriv g r + + (-(b : ℂ) + Complex.I * ((a : ℂ) + lam) + (eta : ℂ) / (r : ℂ)^2) * g r + + (star D * g r + star C * f r)) r := by + change HasDerivAt (fun t => (g t, deriv g t)) _ r at hm + apply hm.congr_deriv + apply Prod.ext + · rfl + · dsimp only [spectralPhysicalCircularField, harmonicRadialState, + homogeneousSpectralLocalizationSlope, D, C] + push_cast + ring_nf + simp only [Complex.I_sq] + ring + have hP := homogeneousSpectralLocalizationState_hasDerivAt 1 r hr _ + (-(b : ℂ) - Complex.I * ((a : ℂ) + lam) + (eta : ℂ) / (r : ℂ)^2) + (D * f r + C * g r) hplus + have hM := homogeneousSpectralLocalizationState_hasDerivAt (-1) r hr _ + (-(b : ℂ) + Complex.I * ((a : ℂ) + lam) + (eta : ℂ) / (r : ℂ)^2) + (star D * g r + star C * f r) hminus + have hAp : homogeneousSpectralLocalizationFactor 1 r ≠ 0 := Complex.exp_ne_zero _ + have hAm : homogeneousSpectralLocalizationFactor (-1) r ≠ 0 := Complex.exp_ne_zero _ + constructor + · apply hP.congr_deriv + apply Prod.ext + · rfl + · have hc := homogeneousSpectralLocalization_coefficient 1 r a b eta lam hr (by norm_num) + norm_num at hc + rw [hc] + dsimp only [P, M, homogeneousSpectralLocalizationState, homogeneousSpectralLocalizationFrequency] + rw [localization_source _ _ D C (f r) (g r) hAm] + push_cast + ring + · apply hM.congr_deriv + apply Prod.ext + · rfl + · have hc := homogeneousSpectralLocalization_coefficient (-1) r a b eta lam hr (by norm_num) + norm_num at hc + rw [hc] + dsimp only [P, M, homogeneousSpectralLocalizationState, homogeneousSpectralLocalizationFrequency] + rw [localization_source _ _ (star D) (star C) (g r) (f r) hAp] + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationGauge.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationGauge.lean new file mode 100644 index 0000000000000000000000000000000000000000..ddff40692a2c4a3232bfa1ba1a3cd28384252c6b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationGauge.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRegularMode +import Mathlib.Analysis.SpecialFunctions.Pow.Deriv + +namespace OAI + +/-! The radial Liouville transform used at unbounded spectral parameters. -/ + +open Set Filter Topology +namespace DefocusingNLS + +noncomputable def homogeneousSpectralLocalizationFactor (h r : ℝ) : ℂ := + Complex.exp ((11 / 2 : ℂ) * (Real.log r : ℂ) + (h : ℂ) * Complex.I * (r : ℂ)^2 / 8) + +noncomputable def homogeneousSpectralLocalizationSlope (h r : ℝ) : ℂ := + 11 / (2 * (r : ℂ)) + (h : ℂ) * Complex.I * (r : ℂ) / 4 + +noncomputable def homogeneousSpectralLocalizationSlopeDeriv (h r : ℝ) : ℂ := + -11 / (2 * (r : ℂ)^2) + (h : ℂ) * Complex.I / 4 + +noncomputable def homogeneousSpectralLocalizationState (h : ℝ) + (U : ℝ → ℂ × ℂ) (r : ℝ) : ℂ × ℂ := + (homogeneousSpectralLocalizationFactor h r * (U r).1, + homogeneousSpectralLocalizationFactor h r * + ((U r).2 + homogeneousSpectralLocalizationSlope h r * (U r).1)) + +theorem homogeneousSpectralLocalizationFactor_norm (h r : ℝ) (hr : 0 < r) : + ‖homogeneousSpectralLocalizationFactor h r‖ = r ^ (11 / 2 : ℝ) := by + rw [homogeneousSpectralLocalizationFactor, Complex.norm_exp, Real.rpow_def_of_pos hr] + congr 1 + norm_num [Complex.add_re, Complex.mul_re, Complex.div_re, pow_two] + ring + +theorem homogeneousSpectralLocalizationFactor_hasDerivAt (h r : ℝ) (hr : 0 < r) : + HasDerivAt (homogeneousSpectralLocalizationFactor h) + (homogeneousSpectralLocalizationFactor h r * homogeneousSpectralLocalizationSlope h r) r := by + have hlog := (Real.hasDerivAt_log hr.ne').ofReal_comp.const_mul (11 / 2 : ℂ) + have hpoly := (((hasDerivAt_id r).ofReal_comp.pow 2).const_mul ((h : ℂ) * Complex.I)).div_const 8 + have hd := (hlog.add hpoly).cexp + convert hd using 1 + · funext t + rfl + · dsimp only [homogeneousSpectralLocalizationFactor, homogeneousSpectralLocalizationSlope, id_eq, + Pi.add_apply, Pi.pow_apply] + push_cast + field_simp [hr.ne'] + ring + +theorem homogeneousSpectralLocalizationSlope_hasDerivAt (h r : ℝ) (hr : 0 < r) : + HasDerivAt (homogeneousSpectralLocalizationSlope h) + (homogeneousSpectralLocalizationSlopeDeriv h r) r := by + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr.ne' + have hinv := ((hasDerivAt_id r).ofReal_comp.inv hrC).const_mul (11 / 2 : ℂ) + have hlin := ((hasDerivAt_id r).ofReal_comp.const_mul ((h : ℂ) * Complex.I)).div_const 4 + convert hinv.add hlin using 1 + · funext t + dsimp only [homogeneousSpectralLocalizationSlope, id_eq, Pi.add_apply, Pi.inv_apply] + ring + · dsimp only [homogeneousSpectralLocalizationSlopeDeriv, id_eq] + push_cast + field_simp [hrC] + +theorem homogeneousSpectralLocalizationState_hasDerivAt + (h r : ℝ) (hr : 0 < r) (U : ℝ → ℂ × ℂ) (K S : ℂ) + (hU : HasDerivAt U ((U r).2, + -2 * homogeneousSpectralLocalizationSlope h r * (U r).2 + K * (U r).1 + S) r) : + HasDerivAt (homogeneousSpectralLocalizationState h U) + ((homogeneousSpectralLocalizationState h U r).2, + (K + homogeneousSpectralLocalizationSlopeDeriv h r + + homogeneousSpectralLocalizationSlope h r ^ 2) * + (homogeneousSpectralLocalizationState h U r).1 + + homogeneousSpectralLocalizationFactor h r * S) r := by + have hp := (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r hU + have hm := (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r hU + simp only [ContinuousLinearMap.coe_fst', ContinuousLinearMap.coe_snd', Function.comp_def] at hp hm + have hA := homogeneousSpectralLocalizationFactor_hasDerivAt h r hr + have hB := homogeneousSpectralLocalizationSlope_hasDerivAt h r hr + convert (hA.mul hp).prodMk (hA.mul (hm.add (hB.mul hp))) using 1 + · rfl + · apply Prod.ext <;> dsimp only [homogeneousSpectralLocalizationState, + Function.comp_def, Pi.add_apply, Pi.mul_apply] <;> ring + +theorem homogeneousSpectralLocalization_coefficient + (h r a b eta : ℝ) (lam : ℂ) (hr : 0 < r) (hh : h^2 = 1) : + (-(b : ℂ) - (h : ℂ) * Complex.I * ((a : ℂ) + lam) + (eta : ℂ) / (r : ℂ)^2) + + homogeneousSpectralLocalizationSlopeDeriv h r + homogeneousSpectralLocalizationSlope h r ^ 2 = + -(((r^2 / 16 + b - h * lam.im - (eta + 99 / 4) / r^2 : ℝ) : ℂ) + + (h : ℂ) * Complex.I * ((a + lam.re - 3 : ℝ) : ℂ)) := by + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr.ne' + have hhC : (h : ℂ)^2 = 1 := by exact_mod_cast hh + have hlam : lam = (lam.re : ℂ) + Complex.I * (lam.im : ℂ) := by + simpa only [mul_comm] using (Complex.re_add_im lam).symm + conv_lhs => rw [hlam] + dsimp only [homogeneousSpectralLocalizationSlope, homogeneousSpectralLocalizationSlopeDeriv] + push_cast + field_simp [hrC] + ring_nf + simp only [Complex.I_sq, hhC] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationGeometry.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationGeometry.lean new file mode 100644 index 0000000000000000000000000000000000000000..557b8a4df52918d76a01988223668c45d038ba35 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationGeometry.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationEquation +import Mathlib.Analysis.Calculus.Deriv.MeanValue + +namespace OAI + +/-! Monotonicity and the uniformly oscillatory remote region of the actual +Liouville frequency. These are the geometric inputs to outgoing transfer. -/ + +open Set +namespace DefocusingNLS + +theorem homogeneousSpectralLocalizationFrequency_hasDerivAt + (h b eta omega r : ℝ) (hr : 0 < r) : + HasDerivAt (homogeneousSpectralLocalizationFrequency h b eta omega) + (r / 8 + 2 * (eta + 99 / 4) / r^3) r := by + have hs := ((hasDerivAt_id r).pow 2).div_const 16 + have hi := (((hasDerivAt_id r).pow 2).inv (pow_ne_zero 2 hr.ne')).const_mul + (eta + 99 / 4) + convert ((hs.add_const b).sub_const (h * omega)).sub hi using 1 + · funext t + simp only [homogeneousSpectralLocalizationFrequency, div_eq_mul_inv, + Pi.sub_apply, Pi.pow_apply, Pi.inv_apply, id_eq] + · simp only [Pi.pow_apply, id_eq] + field_simp [hr.ne'] + ring + +theorem homogeneousSpectralLocalizationFrequency_strictMono + (h b eta omega : ℝ) (heta : 0 ≤ eta) : + StrictMonoOn (homogeneousSpectralLocalizationFrequency h b eta omega) (Ioi 0) := by + have hd := homogeneousSpectralLocalizationFrequency_hasDerivAt h b eta omega + apply strictMonoOn_of_deriv_pos (convex_Ioi 0) + · intro r hr + exact (hd r hr).continuousAt.continuousWithinAt + · intro r hr + have hr0 : 0 < r := by simpa only [interior_Ioi, mem_Ioi] using hr + rw [(hd r hr0).deriv] + positivity + +theorem homogeneousSpectralLocalizationFrequency_unique_zero + (h b eta omega : ℝ) (heta : 0 ≤ eta) {r s : ℝ} + (hr : 0 < r) (hs : 0 < s) + (hzr : homogeneousSpectralLocalizationFrequency h b eta omega r = 0) + (hzs : homogeneousSpectralLocalizationFrequency h b eta omega s = 0) : r = s := + (homogeneousSpectralLocalizationFrequency_strictMono h b eta omega heta).injOn + hr hs (hzr.trans hzs.symm) + +theorem homogeneousSpectralLocalizationFrequency_remote + (ell : ℕ) (h b omega S r : ℝ) (hh : |h| ≤ 1) (hb : 0 ≤ b) (hb1 : b ≤ 1) + (homega : 0 ≤ omega) (hS : (ell : ℝ) + 1 ≤ S) (hωS : omega ≤ S) + (hr : 0 < r) (hrS : 256 * S ≤ r^2) : + r^2 / 32 ≤ homogeneousSpectralLocalizationFrequency h b + ((ell : ℝ) * (ell + 10)) omega r ∧ + homogeneousSpectralLocalizationFrequency h b + ((ell : ℝ) * (ell + 10)) omega r ≤ r^2 / 8 := by + let L : ℝ := (ell : ℝ) * (ell + 10) + 99 / 4 + have hell : 0 ≤ (ell : ℝ) := Nat.cast_nonneg ell + have hS0 : 0 ≤ S := by linarith + have hr2 : 0 < r^2 := sq_pos_of_pos hr + have hr256 : 256 ≤ r^2 := by linarith + have hL0 : 0 ≤ L := by dsimp only [L]; positivity + have hL : L ≤ 25 * ((ell : ℝ) + 1)^2 := by dsimp only [L]; nlinarith + have hLS : L ≤ 25 * S^2 := hL.trans (mul_le_mul_of_nonneg_left + ((sq_le_sq₀ (by positivity) hS0).mpr hS) (by norm_num)) + have hSsq : S^2 ≤ (r^2 / 256)^2 := + (sq_le_sq₀ hS0 (by positivity)).mpr (by linarith) + have hLr : L ≤ r^4 / 1024 := by nlinarith + have hωr : omega * r^2 ≤ r^4 / 256 := by + have hp := mul_le_mul_of_nonneg_right (hωS.trans (by linarith : S ≤ r^2 / 256)) hr2.le + nlinarith + have hhω : -omega ≤ h * omega ∧ h * omega ≤ omega := by + exact ⟨by nlinarith [abs_le.mp hh], by nlinarith [abs_le.mp hh]⟩ + have hhωr := mul_le_mul_of_nonneg_right hhω.2 hr2.le + have hnegωr := mul_le_mul_of_nonneg_right hhω.1 hr2.le + have hbr : 0 ≤ b * r^2 := mul_nonneg hb hr2.le + have hb1r := mul_le_mul_of_nonneg_right hb1 hr2.le + have he : r^2 * homogeneousSpectralLocalizationFrequency h b + ((ell : ℝ) * (ell + 10)) omega r = + r^4 / 16 + b * r^2 - h * omega * r^2 - L := by + dsimp only [homogeneousSpectralLocalizationFrequency, L] + field_simp [hr.ne'] + constructor + · apply (mul_le_mul_iff_left₀ hr2).mp + rw [mul_comm (homogeneousSpectralLocalizationFrequency h b + ((ell : ℝ) * (ell + 10)) omega r) (r^2), he] + nlinarith + · apply (mul_le_mul_iff_left₀ hr2).mp + rw [mul_comm (homogeneousSpectralLocalizationFrequency h b + ((ell : ℝ) * (ell + 10)) omega r) (r^2), he] + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationPotential.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationPotential.lean new file mode 100644 index 0000000000000000000000000000000000000000..92e10e98a49576fbb5573608ecfd60136a87d9ce --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationPotential.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationGauge +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSubunitCoefficients +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformExteriorPressure + +namespace OAI + +/-! The Liouville gauge preserves the uniform inverse-square coupling bound. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem homogeneousSpectralLocalization_phase_norm (h r : ℝ) (hr : 0 < r) : + ‖homogeneousSpectralLocalizationFactor h r / + homogeneousSpectralLocalizationFactor (-h) r‖ = 1 := by + rw [norm_div, homogeneousSpectralLocalizationFactor_norm h r hr, + homogeneousSpectralLocalizationFactor_norm (-h) r hr, + div_self (Real.rpow_pos_of_pos hr _).ne'] + +theorem homogeneousSpectralLocalization_coupling_bound + (h r : ℝ) (hr : 0 < r) (D C u v : ℂ) : + ‖D * u + C * (homogeneousSpectralLocalizationFactor h r / + homogeneousSpectralLocalizationFactor (-h) r) * v‖ ≤ + (‖D‖ + ‖C‖) * max ‖u‖ ‖v‖ := by + calc + _ ≤ ‖D * u‖ + ‖C * (homogeneousSpectralLocalizationFactor h r / + homogeneousSpectralLocalizationFactor (-h) r) * v‖ := norm_add_le _ _ + _ = ‖D‖ * ‖u‖ + ‖C‖ * ‖v‖ := by + rw [norm_mul, norm_mul, norm_mul, homogeneousSpectralLocalization_phase_norm h r hr, + mul_one] + _ ≤ ‖D‖ * max ‖u‖ ‖v‖ + ‖C‖ * max ‖u‖ ‖v‖ := + add_le_add (mul_le_mul_of_nonneg_left (le_max_left _ _) (norm_nonneg _)) + (mul_le_mul_of_nonneg_left (le_max_right _ _) (norm_nonneg _)) + _ = _ := by ring + +theorem homogeneousSpectralLocalization_uniform_potential (ε : ℝ) (hε : 0 < ε) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, ∀ r : ℝ, innerBoundaryRadius < r → + r^2 * (‖spectralDiagonalCoefficient (n + radialInnerShootingThreshold) + (radialMatchedProfile n z r)‖ + + ‖spectralCrossCoefficient (n + radialInnerShootingThreshold) + (radialMatchedProfile n z r)‖) < ε := by + filter_upwards [radialMatched_exterior_pressure_small (ε / 2) (by positivity)] with n hn z r hr + let m := n + radialInnerShootingThreshold + let a := radialShootingA n + let P := ‖radialMatchedProfile n z r‖^(2*m) + have ha : 0 < a := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 : a < 1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + have hma : 2 * a * (m : ℝ) = 1 := radialShootingA_power n (profileMatchingParameter z) + have hm : 1 ≤ m := radialShootingInner_power_pos n (profileMatchingParameter z) + have hcoef : (2 * (m : ℝ) + 1) * a ≤ 2 := by nlinarith + have hnonneg : 0 ≤ r^2 * (P / a) := by positivity + have he : r^2 * ((2 * (m : ℝ) + 1) * P) = + ((2 * (m : ℝ) + 1) * a) * (r^2 * (P / a)) := by + field_simp [ha.ne'] + rw [spectralCoefficient_norm_sum _ hm] + change r^2 * ((2 * (m : ℝ) + 1) * P) < ε + rw [he] + have hb : r^2 * (P / a) < ε / 2 := hn z r hr + exact (mul_le_mul_of_nonneg_right hcoef hnonneg).trans_lt (by linarith) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationRemote.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationRemote.lean new file mode 100644 index 0000000000000000000000000000000000000000..29e8846147de66998e66a4d365320d3623626a4d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationRemote.lean @@ -0,0 +1,175 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationGeometry +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingMatrix + +namespace OAI + +/-! The two remote leading eigenvectors have a uniform gap. The scalar +`c` is the actual combination `h * omega / r² + ell * (ell + 10) / r⁴`. -/ + +namespace DefocusingNLS + +noncomputable def homogeneousSpectralLocalizationRemoteRoot (h j c : ℝ) : ℂ := + (h : ℂ) * Complex.I * ((-1 / 4 + j * Real.sqrt (1 / 16 - c) : ℝ) : ℂ) + +noncomputable def homogeneousSpectralLocalizationRemoteField + (h c : ℝ) (v : ℂ × ℂ) : ℂ × ℂ := + (v.2, (c : ℂ) * v.1 - (h : ℂ) * Complex.I / 2 * v.2) + +theorem homogeneousSpectralLocalizationRemoteRoot_equation + (h j c : ℝ) (hh : h^2 = 1) (hj : j^2 = 1) (hc : c ≤ 1 / 16) : + homogeneousSpectralLocalizationRemoteRoot h j c ^ 2 + + (h : ℂ) * Complex.I / 2 * homogeneousSpectralLocalizationRemoteRoot h j c - + (c : ℂ) = 0 := by + have hhC : (h : ℂ)^2 = 1 := by exact_mod_cast hh + have hjC : (j : ℂ)^2 = 1 := by exact_mod_cast hj + have hs : (Real.sqrt (1 / 16 - c) : ℂ)^2 = (1 / 16 : ℂ) - (c : ℂ) := by + have he := congrArg Complex.ofReal (Real.sq_sqrt (sub_nonneg.mpr hc)) + push_cast at he + exact he + dsimp only [homogeneousSpectralLocalizationRemoteRoot] + push_cast + ring_nf + simp only [Complex.I_sq, hhC, hjC, hs] + ring + +theorem homogeneousSpectralLocalizationRemoteField_eigenvector + (h j c : ℝ) (hh : h^2 = 1) (hj : j^2 = 1) (hc : c ≤ 1 / 16) : + homogeneousSpectralLocalizationRemoteField h c + (1, homogeneousSpectralLocalizationRemoteRoot h j c) = + homogeneousSpectralLocalizationRemoteRoot h j c • + (1, homogeneousSpectralLocalizationRemoteRoot h j c) := by + have he := homogeneousSpectralLocalizationRemoteRoot_equation h j c hh hj hc + apply Prod.ext + · simp only [homogeneousSpectralLocalizationRemoteField, Prod.smul_fst, smul_eq_mul, mul_one] + · dsimp only [homogeneousSpectralLocalizationRemoteField, Prod.smul_snd, smul_eq_mul] + linear_combination -he + +theorem homogeneousSpectralLocalizationRemoteRoot_gap + (h c : ℝ) (hh : h^2 = 1) : + ‖homogeneousSpectralLocalizationRemoteRoot h 1 c - + homogeneousSpectralLocalizationRemoteRoot h (-1) c‖ = + 2 * Real.sqrt (1 / 16 - c) := by + have habs : |h| = 1 := by nlinarith [sq_abs h, abs_nonneg h] + have he : homogeneousSpectralLocalizationRemoteRoot h 1 c - + homogeneousSpectralLocalizationRemoteRoot h (-1) c = + (2 : ℂ) * (h : ℂ) * Complex.I * (Real.sqrt (1 / 16 - c) : ℂ) := by + dsimp only [homogeneousSpectralLocalizationRemoteRoot] + push_cast + ring + rw [he, norm_mul, norm_mul, norm_mul] + simp only [Complex.norm_ofNat, Complex.norm_real, Real.norm_eq_abs, Complex.norm_I, + habs, abs_of_nonneg (Real.sqrt_nonneg _), mul_one] + +theorem homogeneousSpectralLocalizationRemoteRoot_uniform + (h c : ℝ) (hh : h^2 = 1) (hc : |c| ≤ 1 / 32) : + 1 / 4 ≤ ‖homogeneousSpectralLocalizationRemoteRoot h 1 c - + homogeneousSpectralLocalizationRemoteRoot h (-1) c‖ ∧ + homogeneousSpectralLocalizationRemoteRoot h 1 c ≠ + homogeneousSpectralLocalizationRemoteRoot h (-1) c := by + have hcu : c ≤ 1 / 32 := (abs_le.mp hc).2 + have hd : 0 ≤ 1 / 16 - c := by linarith + have hs := Real.sq_sqrt hd + have hs0 := Real.sqrt_nonneg (1 / 16 - c) + have hgap := homogeneousSpectralLocalizationRemoteRoot_gap h c hh + have hb : 1 / 4 ≤ ‖homogeneousSpectralLocalizationRemoteRoot h 1 c - + homogeneousSpectralLocalizationRemoteRoot h (-1) c‖ := by + rw [hgap] + nlinarith + refine ⟨hb, ?_⟩ + intro heq + rw [heq, sub_self, norm_zero] at hb + norm_num at hb + +theorem homogeneousSpectralLocalizationRemoteRoot_norm + (h j c : ℝ) (hh : h^2 = 1) (hj : j^2 = 1) (hc : |c| ≤ 1 / 32) : + ‖homogeneousSpectralLocalizationRemoteRoot h j c‖ ≤ 1 := by + have habs : |h| = 1 := by nlinarith [sq_abs h, abs_nonneg h] + have jabs : |j| = 1 := by nlinarith [sq_abs j, abs_nonneg j] + have hcl := (abs_le.mp hc).1 + have hcu := (abs_le.mp hc).2 + have hd : 0 ≤ 1 / 16 - c := by linarith + have hs := Real.sq_sqrt hd + have hs0 := Real.sqrt_nonneg (1 / 16 - c) + have hs1 : Real.sqrt (1 / 16 - c) ≤ 1 / 2 := by nlinarith + have ha : |(-1 / 4 : ℝ) + j * Real.sqrt (1 / 16 - c)| ≤ + 1 / 4 + Real.sqrt (1 / 16 - c) := by + calc + _ ≤ |(-1 / 4 : ℝ)| + |j * Real.sqrt (1 / 16 - c)| := abs_add_le _ _ + _ = _ := by rw [abs_mul, jabs, abs_of_nonneg hs0]; norm_num + simp only [homogeneousSpectralLocalizationRemoteRoot, norm_mul, Complex.norm_real, + Real.norm_eq_abs, Complex.norm_I, habs, mul_one, one_mul] + linarith + +theorem homogeneousSpectralLocalizationRemoteFrame_bounds + (h c : ℝ) (hh : h^2 = 1) (hc : |c| ≤ 1 / 32) : + let u : ℂ × ℂ := (1, homogeneousSpectralLocalizationRemoteRoot h 1 c) + let v : ℂ × ℂ := (1, homogeneousSpectralLocalizationRemoteRoot h (-1) c) + spectralValueDet u v ≠ 0 ∧ ‖spectralTwoColumns u v‖ ≤ 2 ∧ + ‖spectralValueInverse u v‖ ≤ 8 := by + intro u v + have hp := homogeneousSpectralLocalizationRemoteRoot_norm h 1 c hh (by norm_num) hc + have hm := homogeneousSpectralLocalizationRemoteRoot_norm h (-1) c hh (by norm_num) hc + have hgap := (homogeneousSpectralLocalizationRemoteRoot_uniform h c hh hc).1 + have hdet : 1 / 4 ≤ ‖spectralValueDet u v‖ := by + simpa only [spectralValueDet, u, v, one_mul, mul_one, norm_sub_rev] using hgap + have hdet0 : 0 < ‖spectralValueDet u v‖ := by linarith + have hu : ‖u‖ ≤ 1 := by simpa only [u, Prod.norm_def, norm_one, max_le_iff, le_refl, true_and] using hp + have hv : ‖v‖ ≤ 1 := by simpa only [v, Prod.norm_def, norm_one, max_le_iff, le_refl, true_and] using hm + have hcol := homogeneousTwoColumns_norm u v + refine ⟨norm_pos_iff.mp hdet0, by linarith, ?_⟩ + have hfirst : ‖(v.2, -u.2)‖ ≤ 1 := by + simpa only [u, v, Prod.norm_def, norm_neg, max_le_iff] using And.intro hm hp + have hsecond : ‖(-v.1, u.1)‖ ≤ 1 := by simp only [u, v, Prod.norm_def, norm_neg, norm_one, max_self, le_refl] + have hc2 : ‖spectralTwoColumns (v.2, -u.2) (-v.1, u.1)‖ ≤ 2 := + (homogeneousTwoColumns_norm _ _).trans (by linarith) + have hinv : ‖spectralValueDet u v‖⁻¹ ≤ 4 := + (inv_le_iff_one_le_mul₀ hdet0).mpr (by linarith) + rw [spectralValueInverse, norm_smul, norm_inv] + exact (mul_le_mul hinv hc2 (norm_nonneg _) (by norm_num)).trans_eq (by norm_num) + +theorem homogeneousSpectralLocalizationRemote_coefficient + (ell : ℕ) (h omega S r : ℝ) (hh : |h| ≤ 1) (homega : 0 ≤ omega) + (hS : (ell : ℝ) + 1 ≤ S) (hωS : omega ≤ S) + (hr : 0 < r) (hrS : 256 * S ≤ r^2) : + |h * omega / r^2 + (ell : ℝ) * (ell + 10) / r^4| ≤ 1 / 32 := by + have hell : 0 ≤ (ell : ℝ) := Nat.cast_nonneg ell + have hS0 : 0 ≤ S := by linarith + have hr2 : 0 < r^2 := sq_pos_of_pos hr + have hr4 : 0 < r^4 := pow_pos hr 4 + have hSsq : S^2 ≤ (r^2 / 256)^2 := + (sq_le_sq₀ hS0 (by positivity)).mpr (by linarith) + have hη : (ell : ℝ) * (ell + 10) ≤ 16 * S^2 := by + have hs := (sq_le_sq₀ (by positivity : 0 ≤ (ell : ℝ) + 1) hS0).mpr hS + nlinarith + have hηr : (ell : ℝ) * (ell + 10) / r^4 ≤ 1 / 256 := + (div_le_iff₀ hr4).mpr (by nlinarith) + have hωr : omega / r^2 ≤ 1 / 256 := + (div_le_iff₀ hr2).mpr (by linarith) + have hhω : |h * omega| ≤ omega := by + rw [abs_mul, abs_of_nonneg homega] + simpa only [one_mul] using mul_le_mul_of_nonneg_right hh homega + have hhωr : |h * omega / r^2| ≤ 1 / 256 := by + rw [abs_div, abs_of_pos hr2] + exact (div_le_div_of_nonneg_right hhω hr2.le).trans hωr + have hη0 : 0 ≤ (ell : ℝ) * (ell + 10) / r^4 := by positivity + calc + _ ≤ |h * omega / r^2| + |(ell : ℝ) * (ell + 10) / r^4| := abs_add_le _ _ + _ ≤ 1 / 256 + 1 / 256 := add_le_add hhωr (by rwa [abs_of_nonneg hη0]) + _ ≤ 1 / 32 := by norm_num + +theorem homogeneousSpectralLocalizationRemote_actual_gap + (ell : ℕ) (h omega S r : ℝ) (hh : h^2 = 1) (homega : 0 ≤ omega) + (hS : (ell : ℝ) + 1 ≤ S) (hωS : omega ≤ S) + (hr : 0 < r) (hrS : 256 * S ≤ r^2) : + 1 / 4 ≤ ‖homogeneousSpectralLocalizationRemoteRoot h 1 + (h * omega / r^2 + (ell : ℝ) * (ell + 10) / r^4) - + homogeneousSpectralLocalizationRemoteRoot h (-1) + (h * omega / r^2 + (ell : ℝ) * (ell + 10) / r^4)‖ := by + have habs : |h| ≤ 1 := by nlinarith [sq_abs h, abs_nonneg h] + exact (homogeneousSpectralLocalizationRemoteRoot_uniform h _ hh + (homogeneousSpectralLocalizationRemote_coefficient ell h omega S r habs + homega hS hωS hr hrS)).1 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationSubunit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationSubunit.lean new file mode 100644 index 0000000000000000000000000000000000000000..f37140e27dcd437fac7ceb24e74eadfe7bd2c1f7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationSubunit.lean @@ -0,0 +1,152 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerNonlinearity +import Mathlib.Analysis.Complex.Schwarz +import Mathlib.Analysis.Calculus.ContDiff.RestrictScalars +import Mathlib.Analysis.Calculus.ContDiff.Basic +import Mathlib.Analysis.SpecificLimits.Normed + +namespace OAI + +/-! Uniform finite-order bounds for the polynomial nonlinearity on strictly +subunit balls. Complexifying the two real variables permits Cauchy estimates +with constants independent of the power. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS + +noncomputable def homogeneousSubunitPolynomial (n : ℕ) (x : ℂ × ℂ) : ℂ := + x.1 ^ (n + 1) * x.2 ^ n + +theorem homogeneousSubunitPolynomial_contDiff (n : ℕ) : + ContDiff ℂ ∞ (homogeneousSubunitPolynomial n) := by + exact (contDiff_fst.pow (n + 1)).mul (contDiff_snd.pow n) + +theorem homogeneousSubunitPolynomial_norm (n : ℕ) (ρ : ℝ) + (hρ : 0 ≤ ρ) (x : ℂ × ℂ) (hx : ‖x‖ ≤ ρ) : + ‖homogeneousSubunitPolynomial n x‖ ≤ ρ ^ (2 * n + 1) := by + have hx₁ : ‖x.1‖ ≤ ρ := (norm_fst_le x).trans hx + have hx₂ : ‖x.2‖ ≤ ρ := (norm_snd_le x).trans hx + calc + _ = ‖x.1‖ ^ (n + 1) * ‖x.2‖ ^ n := by + simp only [homogeneousSubunitPolynomial, norm_mul, norm_pow] + _ ≤ ρ ^ (n + 1) * ρ ^ n := by gcongr + _ = _ := by rw [← pow_add]; congr 1; omega + +/-- The gap between the two radii absorbs every fixed derivative order. -/ +theorem homogeneousSubunitPolynomial_derivatives (k : ℕ) (ρ σ : ℝ) + (hρ : 0 ≤ ρ) (hρσ : ρ < σ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, ∀ x : ℂ × ℂ, ‖x‖ ≤ ρ → + ‖iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) x‖ ≤ + C * σ ^ (2 * n + 1) := by + induction k generalizing ρ with + | zero => + refine ⟨1, by norm_num, ?_⟩ + intro n x hx + rw [norm_iteratedFDeriv_zero, one_mul] + exact homogeneousSubunitPolynomial_norm n σ (hρ.trans hρσ.le) x + (hx.trans hρσ.le) + | succ k ih => + let τ : ℝ := (ρ + σ) / 2 + have hρτ : ρ < τ := by dsimp only [τ]; linarith + have hτσ : τ < σ := by dsimp only [τ]; linarith + obtain ⟨B, hB, hjet⟩ := ih τ (hρ.trans hρτ.le) hτσ + let δ : ℝ := τ - ρ + have hδ : 0 < δ := sub_pos.mpr hρτ + refine ⟨2 * B / δ, by positivity, ?_⟩ + intro n x hx + have hxτ : ‖x‖ ≤ τ := hx.trans hρτ.le + have hd : Differentiable ℂ (iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n)) := + ContDiff.differentiable_iteratedFDeriv (n := ∞) (by exact_mod_cast ENat.natCast_lt_top k) + (homogeneousSubunitPolynomial_contDiff n) + have hmaps : MapsTo (iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n)) + (Metric.ball x δ) + (Metric.closedBall (iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) x) + (2 * (B * σ ^ (2 * n + 1)))) := by + intro y hy + have hxy : ‖y - x‖ < δ := by simpa only [Metric.mem_ball, dist_eq_norm] using hy + have hyτ : ‖y‖ ≤ τ := by + have hn := norm_add_le (y - x) x + rw [sub_add_cancel] at hn + dsimp only [δ] at hxy + linarith + rw [Metric.mem_closedBall, dist_eq_norm] + calc + _ ≤ ‖iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) y‖ + + ‖iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) x‖ := norm_sub_le _ _ + _ ≤ B * σ ^ (2 * n + 1) + B * σ ^ (2 * n + 1) := + add_le_add (hjet n y hyτ) (hjet n x hxτ) + _ = _ := by ring + have hb := Complex.norm_fderiv_le_div_of_mapsTo_ball hd.differentiableOn hmaps hδ + calc + _ = ‖fderiv ℂ (iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n)) x‖ := + norm_fderiv_iteratedFDeriv.symm + _ ≤ 2 * (B * σ ^ (2 * n + 1)) / δ := hb + _ = _ := by ring + +/-- All fixed-order complexified jets tend uniformly to zero on a subunit ball. -/ +theorem homogeneousSubunitPolynomial_derivatives_small (k : ℕ) (ρ : ℝ) + (hρ : 0 ≤ ρ) (hρ1 : ρ < 1) (ε : ℝ) (hε : 0 < ε) : + ∀ᶠ n : ℕ in atTop, ∀ x : ℂ × ℂ, ‖x‖ ≤ ρ → + ‖iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) x‖ < ε := by + let σ : ℝ := (ρ + 1) / 2 + have hρσ : ρ < σ := by dsimp only [σ]; linarith + have hσ : 0 ≤ σ := hρ.trans hρσ.le + have hσ1 : σ < 1 := by dsimp only [σ]; linarith + obtain ⟨C, hC, hjet⟩ := homogeneousSubunitPolynomial_derivatives k ρ σ hρ hρσ + have ht : Tendsto (fun n : ℕ => C * σ ^ (2 * n + 1)) atTop (𝓝 0) := by + have hp := tendsto_pow_atTop_nhds_zero_of_lt_one (sq_nonneg σ) + (pow_lt_one₀ hσ hσ1 (by decide : 2 ≠ 0)) + convert hp.mul_const (C * σ) using 1 + · funext n + rw [pow_succ, pow_mul] + ring + · ring_nf + filter_upwards [ht.eventually (gt_mem_nhds hε)] with n hn + intro x hx + exact (hjet n x hx).trans_lt hn + +theorem homogeneousSubunitPolynomial_diagonal (n : ℕ) (z : ℂ) : + homogeneousSubunitPolynomial n (z, star z) = oddPowerNonlinearity n z := rfl + +noncomputable def homogeneousSubunitDiagonal : ℂ →ₗᵢ[ℝ] ℂ × ℂ where + toLinearMap := ((ContinuousLinearMap.id ℝ ℂ).prod + (starL' ℝ : ℂ ≃L[ℝ] ℂ).toContinuousLinearMap).toLinearMap + norm_map' z := by simp [Prod.norm_def] + +theorem homogeneousSubunitPolynomial_real_norm (n k : ℕ) (x : ℂ × ℂ) : + ‖iteratedFDeriv ℝ k (homogeneousSubunitPolynomial n) x‖ = + ‖iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) x‖ := by + have hc : ContDiffAt ℂ k (homogeneousSubunitPolynomial n) x := + (homogeneousSubunitPolynomial_contDiff n).contDiffAt.of_le (by simp) + have he := hc.restrictScalars_iteratedFDeriv (𝕜 := ℝ) + change (iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) x).restrictScalars ℝ = + iteratedFDeriv ℝ k (homogeneousSubunitPolynomial n) x at he + rw [← he, ContinuousMultilinearMap.norm_restrictScalars] + +theorem homogeneousSubunitPolynomial_oddPower_bound (n k : ℕ) (z : ℂ) : + ‖iteratedFDeriv ℝ k (oddPowerNonlinearity n) z‖ ≤ + ‖iteratedFDeriv ℂ k (homogeneousSubunitPolynomial n) (z, star z)‖ := by + have he : oddPowerNonlinearity n = + homogeneousSubunitPolynomial n ∘ homogeneousSubunitDiagonal.toContinuousLinearMap := rfl + rw [he, homogeneousSubunitDiagonal.toContinuousLinearMap.iteratedFDeriv_comp_right + ((homogeneousSubunitPolynomial_contDiff n).restrict_scalars ℝ) z (by simp)] + exact (ContinuousMultilinearMap.norm_compContinuous_linearIsometry_le _ + (fun _ => homogeneousSubunitDiagonal)).trans_eq + (homogeneousSubunitPolynomial_real_norm n k (z, star z)) + +/-- Uniform decay holds for the actual real odd-power derivatives, including +the real-linear derivative used in the spectral potential. -/ +theorem homogeneous_oddPower_derivatives_subunit (k : ℕ) (ρ : ℝ) + (hρ : 0 ≤ ρ) (hρ1 : ρ < 1) (ε : ℝ) (hε : 0 < ε) : + ∀ᶠ n : ℕ in atTop, ∀ z : ℂ, ‖z‖ ≤ ρ → + ‖iteratedFDeriv ℝ k (oddPowerNonlinearity n) z‖ < ε := by + filter_upwards [homogeneousSubunitPolynomial_derivatives_small k ρ hρ hρ1 ε hε] + with n hn + intro z hz + apply (homogeneousSubunitPolynomial_oddPower_bound n k z).trans_lt + apply hn (z, star z) + simpa only [Prod.norm_def, norm_star, max_self] using hz + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationWKB.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationWKB.lean new file mode 100644 index 0000000000000000000000000000000000000000..21e1cf05c746aa7533a253514ff16923a1e24966 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralLocalizationWKB.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationGauge + +namespace OAI + +/-! Exact residual of the scalar WKB logarithmic derivative. The same +identity covers both exponential and oscillatory outer intervals. -/ + +namespace DefocusingNLS + +noncomputable def homogeneousSpectralWKBLog (chi p v : ℂ) : ℂ := + chi * p - v / (2 * p) + +noncomputable def homogeneousSpectralWKBResidual (p v w : ℂ) : ℂ := + (3 / 4 : ℂ) * (v / p)^2 - w / (2 * p) + +theorem homogeneousSpectralWKBLog_identity (chi p v w : ℂ) (hp : p ≠ 0) : + (chi * v - w / (2 * p) + v^2 / (2 * p^2)) + + homogeneousSpectralWKBLog chi p v ^ 2 = + chi^2 * p^2 + homogeneousSpectralWKBResidual p v w := by + dsimp only [homogeneousSpectralWKBLog, homogeneousSpectralWKBResidual] + field_simp [hp] + ring + +theorem homogeneousSpectralWKBLog_hasDerivAt + (chi : ℂ) (p v : ℝ → ℂ) (w : ℂ) (r : ℝ) + (hp0 : p r ≠ 0) (hp : HasDerivAt p (v r) r) (hv : HasDerivAt v w r) : + HasDerivAt (fun t => homogeneousSpectralWKBLog chi (p t) (v t)) + (chi * v r - w / (2 * p r) + (v r)^2 / (2 * (p r)^2)) r := by + have hd := (hp.const_mul chi).sub ((hv.div hp hp0).div_const 2) + convert hd using 1 + · funext t + change chi*p t-v t/(2*p t)=chi*p t-(v t/p t)/2 + ring + · field_simp [hp0] + ring + +theorem homogeneousSpectralWKB_acceleration + (chi : ℂ) (p v U : ℝ → ℂ) (w : ℂ) (r : ℝ) + (hp0 : p r ≠ 0) (hp : HasDerivAt p (v r) r) (hv : HasDerivAt v w r) + (hU : HasDerivAt U (homogeneousSpectralWKBLog chi (p r) (v r) * U r) r) : + HasDerivAt (fun t => homogeneousSpectralWKBLog chi (p t) (v t) * U t) + ((chi^2 * (p r)^2 + homogeneousSpectralWKBResidual (p r) (v r) w) * U r) r := by + have hd := (homogeneousSpectralWKBLog_hasDerivAt chi p v w r hp0 hp hv).mul hU + apply hd.congr_deriv + have he := homogeneousSpectralWKBLog_identity chi (p r) (v r) w hp0 + linear_combination he * U r + +theorem homogeneousSpectralWKBResidual_norm (p v w : ℂ) : + ‖homogeneousSpectralWKBResidual p v w‖ ≤ + (3 / 4 : ℝ) * (‖v‖ / ‖p‖)^2 + ‖w‖ / (2 * ‖p‖) := by + have hb := norm_sub_le ((3 / 4 : ℂ) * (v / p)^2) (w / (2 * p)) + simpa only [homogeneousSpectralWKBResidual, norm_mul, norm_div, norm_pow, + Complex.norm_ofNat] using hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralPower.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralPower.lean new file mode 100644 index 0000000000000000000000000000000000000000..375d15c2d701050b9e2c6b1c4aca0fde47f8032d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpectralPower.lean @@ -0,0 +1,73 @@ +import Mathlib.Analysis.Normed.Algebra.GelfandFormula +import Mathlib.Analysis.SpecialFunctions.Pow.Real + +namespace OAI + +/-! # Geometric power decay from the spectral radius + +This quantitative form of Gelfand's formula is used for the restricted +time-step operator after its exceptional spectral subspace is removed. +-/ + +open Filter Topology + +namespace DefocusingNLS + +section + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] + +theorem operator_powers_le_geometric (T : E →L[ℂ] E) (r : ℝ) (hr : 0 < r) + (hρ : spectralRadius ℂ T < ENNReal.ofReal r) : + ∃ C : ℝ, 1 ≤ C ∧ ∀ n : ℕ, ‖T ^ n‖ ≤ C * r ^ n := by + have hsmall := (spectrum.pow_norm_pow_one_div_tendsto_nhds_spectralRadius T).eventually + (gt_mem_nhds hρ) + obtain ⟨N, hN⟩ := eventually_atTop.mp hsmall + let M := max N 1 + have hlarge (n : ℕ) (hn : M ≤ n) : ‖T ^ n‖ ≤ r ^ n := by + have hn0 : n ≠ 0 := by dsimp only [M] at hn; omega + have hroot : ‖T ^ n‖ ^ (1 / (n : ℝ)) < r := + (ENNReal.ofReal_lt_ofReal_iff hr).mp (hN n ((le_max_left N 1).trans hn)) + have hp := pow_le_pow_left₀ (Real.rpow_nonneg (norm_nonneg (T ^ n)) _) + hroot.le n + simpa only [one_div, Real.rpow_inv_natCast_pow (norm_nonneg (T ^ n)) hn0] using hp + let C := 1 + ∑ i ∈ Finset.range M, ‖T ^ i‖ / r ^ i + have hsum : 0 ≤ ∑ i ∈ Finset.range M, ‖T ^ i‖ / r ^ i := by positivity + have hC : 1 ≤ C := by dsimp only [C]; linarith + refine ⟨C, hC, fun n => ?_⟩ + by_cases hn : M ≤ n + · exact (hlarge n hn).trans (le_mul_of_one_le_left (pow_nonneg hr.le n) hC) + · have hterm : ‖T ^ n‖ / r ^ n ≤ ∑ i ∈ Finset.range M, ‖T ^ i‖ / r ^ i := by + apply Finset.single_le_sum (s := Finset.range M) + (f := fun i : ℕ => ‖T ^ i‖ / r ^ i) + · intro i _ + exact div_nonneg (norm_nonneg _) (pow_nonneg hr.le i) + · exact Finset.mem_range.mpr (lt_of_not_ge hn) + apply (div_le_iff₀ (pow_pos hr n)).mp + exact hterm.trans (by dsimp only [C]; linarith) + +theorem operator_powers_decay_of_spectralRadius_lt_one (T : E →L[ℂ] E) + (hρ : spectralRadius ℂ T < 1) : + ∃ r C : ℝ, 0 < r ∧ r < 1 ∧ 1 ≤ C ∧ ∀ n : ℕ, ‖T ^ n‖ ≤ C * r ^ n := by + have hfin : spectralRadius ℂ T ≠ ⊤ := ne_top_of_lt (hρ.trans_le le_top) + have hrho : (spectralRadius ℂ T).toReal < 1 := by + simpa only [ENNReal.toReal_one] using + (ENNReal.toReal_lt_toReal hfin ENNReal.one_ne_top).mpr hρ + let r := ((spectralRadius ℂ T).toReal + 1) / 2 + have hr : 0 < r := by + have hnonneg := ENNReal.toReal_nonneg (a := spectralRadius ℂ T) + dsimp only [r] + linarith + have hr1 : r < 1 := by dsimp only [r]; linarith + have hρr : spectralRadius ℂ T < ENNReal.ofReal r := by + rw [← ENNReal.ofReal_toReal hfin, ENNReal.ofReal_lt_ofReal_iff hr] + dsimp only [r] + linarith + obtain ⟨C, hC, hb⟩ := operator_powers_le_geometric T r hr hρr + exact ⟨r, C, hr, hr1, hC, hb⟩ + +end + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSphereHarmonicSpan.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSphereHarmonicSpan.lean new file mode 100644 index 0000000000000000000000000000000000000000..4c65dc9c1c8cf880e9b2487f864280320fcbc1c7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSphereHarmonicSpan.lean @@ -0,0 +1,91 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpherePolynomial +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicDecomposition + +namespace OAI + +/-! # Harmonic polynomial restrictions span the sphere polynomials -/ + +open Set MeasureTheory MvPolynomial + +namespace DefocusingNLS + +def physicalHarmonicPolynomialRestrictions : Set C(PhysicalUnitSphere, ℝ) := + {f | ∃ (p : PhysicalRealPolynomial) (n : ℕ), p.IsHomogeneous n ∧ + physicalPolynomialLaplacian p = 0 ∧ physicalSpherePolynomial p = f} + +noncomputable def physicalHarmonicPolynomialSpan : Submodule ℝ C(PhysicalUnitSphere, ℝ) := + Submodule.span ℝ physicalHarmonicPolynomialRestrictions + +theorem physicalSpherePolynomial_radius : + physicalSpherePolynomial physicalRadiusPolynomial = 1 := by + ext z + rw [physicalSpherePolynomial_apply] + simp only [physicalRadiusPolynomial, map_sum, map_pow, MvPolynomial.eval_X, + ContinuousMap.one_apply] + rw [← EuclideanSpace.real_norm_sq_eq] + have hz : ‖z.1‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using z.2 + rw [hz, one_pow] + +theorem physicalSpherePolynomial_homogeneous_mem_span (p : PhysicalRealPolynomial) + (n : ℕ) (hp : p.IsHomogeneous n) : + physicalSpherePolynomial p ∈ physicalHarmonicPolynomialSpan := by + induction n using Nat.strong_induction_on generalizing p with + | h n ih => + by_cases hn : n ≤ 1 + · apply Submodule.subset_span + exact ⟨p, n, hp, physicalPolynomialLaplacian_low_degree p n hp hn, rfl⟩ + obtain ⟨h, q, hh, hDh, hq, he⟩ := physicalPolynomial_harmonic_decomposition p n hp + rw [he, map_add, map_mul, physicalSpherePolynomial_radius, one_mul] + apply Submodule.add_mem + · exact Submodule.subset_span ⟨h, n, hh, hDh, rfl⟩ + · exact ih (n - 2) (by omega) q hq + +theorem physicalSpherePolynomial_mem_harmonic_span (p : PhysicalRealPolynomial) : + physicalSpherePolynomial p ∈ physicalHarmonicPolynomialSpan := by + rw [← MvPolynomial.sum_homogeneousComponent p, map_sum] + apply Submodule.sum_mem + intro n _ + exact physicalSpherePolynomial_homogeneous_mem_span _ n + (MvPolynomial.homogeneousComponent_isHomogeneous n p) + +noncomputable def physicalSphereMoment (f : C(PhysicalUnitSphere, ℂ)) : + C(PhysicalUnitSphere, ℝ) →ₗ[ℝ] ℂ where + toFun g := ∫ z, (g z : ℂ) * f z ∂physicalSphereMeasure + map_add' g h := by + have hg : Integrable (fun z => (g z : ℂ) * f z) physicalSphereMeasure := + ((Complex.continuous_ofReal.comp g.continuous).mul f.continuous).integrable_of_hasCompactSupport + (HasCompactSupport.of_compactSpace _) + have hh : Integrable (fun z => (h z : ℂ) * f z) physicalSphereMeasure := + ((Complex.continuous_ofReal.comp h.continuous).mul f.continuous).integrable_of_hasCompactSupport + (HasCompactSupport.of_compactSpace _) + simp only [ContinuousMap.add_apply, Complex.ofReal_add, add_mul] + exact integral_add hg hh + map_smul' c g := by + simp only [ContinuousMap.smul_apply, smul_eq_mul, RingHom.id_apply, Complex.ofReal_mul, + mul_assoc] + exact integral_const_mul _ _ + +theorem physicalSphere_eq_zero_of_harmonic_polynomial_moments + (f : C(PhysicalUnitSphere, ℂ)) + (hf : ∀ (p : PhysicalRealPolynomial) (n : ℕ), p.IsHomogeneous n → + physicalPolynomialLaplacian p = 0 → + (∫ z, (physicalSpherePolynomial p z : ℂ) * f z ∂physicalSphereMeasure) = 0) : f = 0 := by + have hspan : physicalHarmonicPolynomialSpan ≤ (physicalSphereMoment f).ker := by + apply Submodule.span_le.mpr + rintro g ⟨p, n, hp, hDp, rfl⟩ + exact hf p n hp hDp + apply physicalSphere_eq_zero_of_polynomial_moments + intro p + exact hspan (physicalSpherePolynomial_mem_harmonic_span p) + +theorem physicalSphere_exists_harmonic_polynomial_moment + (f : C(PhysicalUnitSphere, ℂ)) (hf : f ≠ 0) : + ∃ (p : PhysicalRealPolynomial) (n : ℕ), p.IsHomogeneous n ∧ + physicalPolynomialLaplacian p = 0 ∧ + (∫ z, (physicalSpherePolynomial p z : ℂ) * f z ∂physicalSphereMeasure) ≠ 0 := by + by_contra! h + exact hf (physicalSphere_eq_zero_of_harmonic_polynomial_moments f h) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpherePolynomial.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpherePolynomial.lean new file mode 100644 index 0000000000000000000000000000000000000000..0e4ffad946dcbab68e258655159cf3b05c17eaf5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSpherePolynomial.lean @@ -0,0 +1,116 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPolarL2 +import Mathlib.Topology.ContinuousMap.StoneWeierstrass +import Mathlib.Algebra.MvPolynomial.Eval +import Mathlib.MeasureTheory.Measure.OpenPos + +namespace OAI + +/-! # Polynomial moments separate continuous functions on the physical sphere + +Coordinate polynomials are dense by Stone-Weierstrass. This is the first +step toward detecting a nonzero spherical harmonic coefficient. +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +noncomputable def physicalSphereCoordinate (i : Fin 12) : C(PhysicalUnitSphere, ℝ) := + ⟨fun z => (z.1 : EuclideanSpace ℝ (Fin 12)) i, by fun_prop⟩ + +noncomputable def physicalSpherePolynomial : + MvPolynomial (Fin 12) ℝ →ₐ[ℝ] C(PhysicalUnitSphere, ℝ) := + MvPolynomial.aeval physicalSphereCoordinate + +@[simp] theorem physicalSpherePolynomial_X (i : Fin 12) : + physicalSpherePolynomial (MvPolynomial.X i) = physicalSphereCoordinate i := by + simp [physicalSpherePolynomial] + +theorem physicalSpherePolynomial_apply (p : MvPolynomial (Fin 12) ℝ) + (z : PhysicalUnitSphere) : + physicalSpherePolynomial p z = MvPolynomial.eval (fun i => z.1 i) p := by + induction p using MvPolynomial.induction_on with + | C c => simp [physicalSpherePolynomial] + | add p q hp hq => simp only [map_add, ContinuousMap.add_apply, hp, hq] + | mul_X p i hp => + simp only [map_mul, ContinuousMap.mul_apply, physicalSpherePolynomial_X, + physicalSphereCoordinate, ContinuousMap.coe_mk, hp, MvPolynomial.eval_X] + +theorem physicalSpherePolynomial_separates : physicalSpherePolynomial.range.SeparatesPoints := by + intro x y hxy + have hcoord : ∃ i : Fin 12, x.1 i ≠ y.1 i := by + by_contra! h + apply hxy + apply Subtype.ext + ext i + exact h i + obtain ⟨i, hi⟩ := hcoord + refine ⟨physicalSphereCoordinate i, ⟨physicalSphereCoordinate i, ?_, rfl⟩, hi⟩ + exact ⟨MvPolynomial.X i, physicalSpherePolynomial_X i⟩ + +theorem physicalSpherePolynomial_dense : + physicalSpherePolynomial.range.topologicalClosure = ⊤ := + ContinuousMap.subalgebra_topologicalClosure_eq_top_of_separatesPoints + physicalSpherePolynomial.range physicalSpherePolynomial_separates + +theorem physicalSphere_real_eq_zero_of_polynomial_moments (f : C(PhysicalUnitSphere, ℝ)) + (hf : ∀ p : MvPolynomial (Fin 12) ℝ, + ∫ z, physicalSpherePolynomial p z * f z ∂physicalSphereMeasure = 0) : f = 0 := by + let L : C(PhysicalUnitSphere, ℝ) →L[ℝ] Lp ℝ 2 physicalSphereMeasure := + ContinuousMap.toLp 2 physicalSphereMeasure ℝ + have hclosed : IsClosed {g : C(PhysicalUnitSphere, ℝ) | inner ℝ (L f) (L g) = 0} := + isClosed_eq (continuous_const.inner L.continuous) continuous_const + have hrange : (physicalSpherePolynomial.range : Set C(PhysicalUnitSphere, ℝ)) ⊆ + {g | inner ℝ (L f) (L g) = 0} := by + rintro g ⟨p, rfl⟩ + change inner ℝ (L f) (L (physicalSpherePolynomial p)) = 0 + simpa only [L, ContinuousMap.inner_toLp, RCLike.conj_to_real] using hf p + have hmem : f ∈ closure (physicalSpherePolynomial.range : Set C(PhysicalUnitSphere, ℝ)) := by + change f ∈ physicalSpherePolynomial.range.topologicalClosure + rw [physicalSpherePolynomial_dense] + trivial + have hself := closure_minimal hrange hclosed hmem + have hzero : L f = 0 := (inner_self_eq_zero).mp hself + let : physicalSphereMeasure.IsOpenPosMeasure := by + unfold physicalSphereMeasure + infer_instance + apply ContinuousMap.toLp_injective (p := 2) physicalSphereMeasure (𝕜 := ℝ) + simpa only [map_zero] using hzero + +theorem physicalSphere_eq_zero_of_polynomial_moments (f : C(PhysicalUnitSphere, ℂ)) + (hf : ∀ p : MvPolynomial (Fin 12) ℝ, + ∫ z, (physicalSpherePolynomial p z : ℂ) * f z ∂physicalSphereMeasure = 0) : f = 0 := by + let fr : C(PhysicalUnitSphere, ℝ) := ⟨fun z => (f z).re, Complex.continuous_re.comp f.continuous⟩ + let fi : C(PhysicalUnitSphere, ℝ) := ⟨fun z => (f z).im, Complex.continuous_im.comp f.continuous⟩ + have hint (p : MvPolynomial (Fin 12) ℝ) : + Integrable (fun z => (physicalSpherePolynomial p z : ℂ) * f z) physicalSphereMeasure := + ((Complex.continuous_ofReal.comp (physicalSpherePolynomial p).continuous).mul + f.continuous).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) + have hr : fr = 0 := physicalSphere_real_eq_zero_of_polynomial_moments fr (by + intro p + have h := (integral_re (hint p)).trans (congrArg Complex.re (hf p)) + change (∫ z, ((physicalSpherePolynomial p z : ℂ) * f z).re ∂physicalSphereMeasure) = + (0 : ℂ).re at h + simpa only [fr, ContinuousMap.coe_mk, Complex.mul_re, Complex.ofReal_re, + Complex.ofReal_im, zero_mul, sub_zero, Complex.zero_re] using h) + have hi : fi = 0 := physicalSphere_real_eq_zero_of_polynomial_moments fi (by + intro p + have h := (integral_im (hint p)).trans (congrArg Complex.im (hf p)) + change (∫ z, ((physicalSpherePolynomial p z : ℂ) * f z).im ∂physicalSphereMeasure) = + (0 : ℂ).im at h + simpa only [fi, ContinuousMap.coe_mk, Complex.mul_im, Complex.ofReal_re, + Complex.ofReal_im, zero_mul, add_zero, Complex.zero_im] using h) + ext z + apply Complex.ext + · exact congrArg (fun g : C(PhysicalUnitSphere, ℝ) => g z) hr + · exact congrArg (fun g : C(PhysicalUnitSphere, ℝ) => g z) hi + +theorem physicalSphere_exists_polynomial_moment (f : C(PhysicalUnitSphere, ℂ)) (hf : f ≠ 0) : + ∃ p : MvPolynomial (Fin 12) ℝ, + (∫ z, (physicalSpherePolynomial p z : ℂ) * f z ∂physicalSphereMeasure) ≠ 0 := by + by_contra! h + exact hf (physicalSphere_eq_zero_of_polynomial_moments f h) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymbolBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymbolBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..693ad108201603f73b0a088ff2f1f530eff39072 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymbolBound.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDyadicSeries +import Mathlib.Analysis.LocallyConvex.WithSeminorms + +namespace OAI + +/-! # Finite Schwartz-jet control for normalized profile pieces + +Continuity of the actual Schwartz-to-Y embedding reduces the remaining +annular estimate to finitely many weighted physical derivatives. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_homogeneousSymbolJet_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (ψ : 𝓢(E, ℂ)) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ x : E, (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ ≤ D) → + ‖homogeneousSchwartzEmbedding a k ha ha1 hk ψ‖ ≤ C * D := by + let T := (homogeneousSchwartzEmbedding a k ha ha1 hk).restrictScalars ℝ + let q : Seminorm ℝ 𝓢(E, ℂ) := (normSeminorm ℝ (HomogeneousY a k)).comp T.toLinearMap + have hq : Continuous q := T.continuous.norm + obtain ⟨S, C, _, hC⟩ := Seminorm.bound_of_continuous + (schwartz_withSeminorms ℝ E ℂ) q hq + let N := S.sup (fun p : ℕ × ℕ => max p.1 p.2) + refine ⟨N, C, C.coe_nonneg, ?_⟩ + intro ψ D hD hjet + have hsemi : ∀ p ∈ S, schwartzSeminormFamily ℝ E ℂ p ψ ≤ D := by + intro p hp + have hpN : max p.1 p.2 ≤ N := Finset.le_sup (f := fun q : ℕ × ℕ => max q.1 q.2) hp + have hi : p.1 ≤ N := (le_max_left _ _).trans hpN + have hn : p.2 ≤ N := (le_max_right _ _).trans hpN + apply SchwartzMap.seminorm_le_bound ℝ p.1 p.2 ψ hD + intro x + have hweight : ‖x‖ ^ p.1 ≤ (1 + ‖x‖) ^ N := by + calc + _ ≤ (1 + ‖x‖) ^ p.1 := pow_le_pow_left₀ (norm_nonneg _) (by linarith) _ + _ ≤ _ := pow_le_pow_right₀ (by linarith [norm_nonneg x]) hi + exact (mul_le_mul_of_nonneg_right hweight (norm_nonneg _)).trans (hjet p.2 hn x) + have hsup : S.sup (schwartzSeminormFamily ℝ E ℂ) ψ ≤ D := by + exact Seminorm.finset_sup_apply_le hD hsemi + have hb := hC ψ + change ‖homogeneousSchwartzEmbedding a k ha ha1 hk ψ‖ ≤ (C : ℝ) * _ at hb + exact hb.trans (mul_le_mul_of_nonneg_left hsup C.coe_nonneg) + +/-- Uniform jets of the normalized annuli suffice for the dyadic Y reconstruction. -/ +theorem exists_homogeneous_from_schwartz_annuli (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (ψ : ℕ → 𝓢(E, ℂ)) (D : ℝ), 0 ≤ D → + (∀ j n, n ≤ N → ∀ x : E, + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (ψ j) x‖ ≤ D) → + ∃ q : HomogeneousY a k, + (∀ y : E, homogeneousPhysicalCLM a k ha ha1 hk q y = + ∑' j, (((2 : ℝ) ^ j) ^ (-2 * a) : ℝ) * ψ j (((2 : ℝ) ^ j)⁻¹ • y)) ∧ + ‖q‖ ≤ C * D / (1 - 2 ^ (-a)) := by + obtain ⟨N, C, hC, hCb⟩ := exists_homogeneousSymbolJet_bound a k ha ha1 hk + refine ⟨N, C, hC, ?_⟩ + intro ψ D hD hjet + let v : ℕ → HomogeneousY a k := fun j => homogeneousSchwartzEmbedding a k ha ha1 hk (ψ j) + have hv : ∀ j, ‖v j‖ ≤ C * D := fun j => hCb (ψ j) D hD (hjet j) + refine ⟨∑' j, homogeneousDyadicPiece a k ha ha1 hk v j, ?_, + homogeneousDyadicSeries_norm_le a k ha ha1 hk v (C * D) hv⟩ + intro y + rw [homogeneousDyadicSeries_physical a k ha ha1 hk v (C * D) hv] + apply tsum_congr + intro j + rw [show v j = homogeneousSchwartzEmbedding a k ha ha1 hk (ψ j) from rfl, + homogeneousPhysicalCLM_Schwartz] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymbolMembership.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymbolMembership.lean new file mode 100644 index 0000000000000000000000000000000000000000..1f07ebaa459d5671ac7d2552f205cd49cab62803 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymbolMembership.lean @@ -0,0 +1,109 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDyadicPartition + +namespace OAI + +/-! # Actual homogeneous-space membership from physical symbol estimates + +A smooth physical profile with the manuscript's `|x|^(-2a)` derivative decay +has a representative in the faithful Fourier completion. The proof builds +the representative from a compact core and normalized dyadic annuli. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_finite_symbol_membership_order (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + ∃ N : ℕ, ∀ (Q : E → ℂ), ContDiff ℝ ∞ Q → ∀ D : ℝ, 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∃ q : HomogeneousY a k, ∀ y : E, homogeneousPhysicalCLM a k ha ha1 hk q y = Q y := by + obtain ⟨N, C, _hC, hCbound⟩ := exists_homogeneous_from_schwartz_annuli a k ha ha1 hk + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol + let κ := homogeneousAnnulusCutoff + let hκ := homogeneousAnnulusCutoff_hasCompactSupport + let ψ : ℕ → 𝓢(E, ℂ) := fun j => + homogeneousAnnulusPiece a ((2 : ℝ) ^ j) κ hκ Q hQ + let J := homogeneousAnnulusJetConstant a κ N + have hJ : 0 ≤ J := homogeneousAnnulusJetConstant_nonneg a κ N + have hjet (j n : ℕ) (hn : n ≤ N) (x : E) : + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (ψ j) x‖ ≤ J * D := + homogeneousAnnulusPiece_jet_bound a ((2 : ℝ) ^ j) D ha (by positivity) hD + κ hκ homogeneousAnnulusCutoff_support Q hQ N hsymbol n hn x + obtain ⟨qtail, htail, _hnorm⟩ := hCbound ψ (J * D) (mul_nonneg hJ hD) hjet + let core : 𝓢(E, ℂ) := + (homogeneousCoreCutoff_hasCompactSupport.mul_right (f' := Q)).toSchwartzMap + (homogeneousCoreCutoff.smooth'.mul hQ) + refine ⟨homogeneousSchwartzEmbedding a k ha ha1 hk core + qtail, ?_⟩ + intro y + have ht : homogeneousPhysicalCLM a k ha ha1 hk qtail y = + (1 - homogeneousCoreCutoff y) * Q y := by + rw [htail] + have he (j : ℕ) : + (((2 : ℝ) ^ j) ^ (-2 * a) : ℝ) * ψ j (((2 : ℝ) ^ j)⁻¹ • y) = + homogeneousAnnulusCutoff (((2 : ℝ) ^ j)⁻¹ • y) * Q y := + homogeneousAnnulusPiece_rescale a ((2 : ℝ) ^ j) (by positivity) κ hκ Q hQ y + simp_rw [he] + exact ((homogeneousAnnulusCutoff_dyadic_sum y).mul_right (Q y)).tsum_eq + rw [map_add] + change homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousSchwartzEmbedding a k ha ha1 hk core) y + + homogeneousPhysicalCLM a k ha ha1 hk qtail y = _ + rw [homogeneousPhysicalCLM_Schwartz, ht] + change homogeneousCoreCutoff y * Q y + (1 - homogeneousCoreCutoff y) * Q y = Q y + ring + +theorem exists_homogeneous_of_symbol_decay (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ q : HomogeneousY a k, ∀ y : E, homogeneousPhysicalCLM a k ha ha1 hk q y = Q y := by + obtain ⟨N, hN⟩ := exists_finite_symbol_membership_order a k ha ha1 hk + choose D hD hDbound using hsymbol + let B := ∑ n ∈ Finset.range (N + 1), D n + have hB : 0 ≤ B := Finset.sum_nonneg (fun n _ => hD n) + apply hN Q hQ B hB + intro n hn y hy + have hnB : D n ≤ B := + Finset.single_le_sum (fun j _ => hD j) (Finset.mem_range.mpr (by omega)) + exact (hDbound n y hy).trans + (mul_le_mul_of_nonneg_right hnB (Real.rpow_nonneg (norm_nonneg _) _)) + +/-- Only the decay at infinity needs to be supplied; smoothness controls the core. -/ +theorem exists_homogeneous_of_symbol_decay_at_infinity (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ q : HomogeneousY a k, ∀ y : E, homogeneousPhysicalCLM a k ha ha1 hk q y = Q y := by + apply exists_homogeneous_of_symbol_decay a k ha ha1 hk Q hQ + intro n + obtain ⟨D, hD⟩ := hsymbol n + obtain ⟨C, hC⟩ := (isCompact_closedBall (0 : E) 1).exists_bound_of_continuousOn + ((hQ.of_le (by simp : (n : ℕ∞ω) ≤ ∞)).continuous_iteratedFDeriv'.continuousOn) + let B := max (max C 0) D + have hB : 0 ≤ B := (le_max_right C 0).trans (le_max_left _ _) + refine ⟨B, hB, ?_⟩ + intro y hy + by_cases hlarge : 1 ≤ ‖y‖ + · exact (hD y hlarge).trans + (mul_le_mul_of_nonneg_right (le_max_right _ _) (Real.rpow_nonneg (norm_nonneg _) _)) + · have hsmall : ‖y‖ ≤ 1 := (lt_of_not_ge hlarge).le + have hyB : ‖iteratedFDeriv ℝ n Q y‖ ≤ B := + (hC y (by simpa [Metric.mem_closedBall, dist_zero_right] using hsmall)).trans + ((le_max_left C 0).trans (le_max_left _ _)) + have hpow : 1 ≤ ‖y‖ ^ (-2 * a - (n : ℝ)) := by + have hn : 0 ≤ (n : ℝ) := Nat.cast_nonneg _ + have h := Real.rpow_le_rpow_of_nonpos (norm_pos_iff.mpr hy) hsmall + (show -2 * a - (n : ℝ) ≤ 0 by linarith) + simpa using h + exact hyB.trans (le_mul_of_one_le_right hB hpow) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryDimension.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryDimension.lean new file mode 100644 index 0000000000000000000000000000000000000000..1f6ef7add5fc175f9b6218fa570bb645173df3e0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryDimension.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAngularDimension +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformModeLine + +namespace OAI + +/-! # Actual contour eigenspaces have the physical symmetry dimensions -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_contour_symmetry_dimensions (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + ∀ (_hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (_hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (_hq : ∀ x : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q x = + radialMatchedCartesian n z x) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q t) P) + (_hfin : FiniteDimensional ℂ P.range) (G : P.range →L[ℂ] P.range) + (_hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm t = NormedSpace.exp ((t : ℝ) • G)), + Module.finrank ℂ (Module.End.eigenspace G.toLinearMap 0) ≤ 1 ∧ + Module.finrank ℂ (Module.End.eigenspace G.toLinearMap 1) ≤ 1 ∧ + Module.finrank ℂ (Module.End.eigenspace G.toLinearMap (1 / 2)) ≤ 12 := by + filter_upwards [radialMatchedSpectralMode_classification hRou 9 (by omega), + radialMatched_eventually_all_mode_lines hRou 9 (by omega)] with n hc hline + intro z hX hz N ha ha1 hk q hq P hcomm hfin G hG + have hC (ell : ℕ) (lam : ℂ) (hlam : -(1 / 32 : ℝ) ≤ lam.re) + (hm : Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ) * (ell + 10)) lam)) : + (ell = 0 ∧ (lam = 0 ∨ lam = 1)) ∨ (ell = 1 ∧ lam = 1 / 2) := by + have hη : (((ell : ℝ) * (ell + 10) : ℝ) : ℂ) = (ell : ℂ) * (ell + 10) := by push_cast; rfl + exact hc z hX hz ell lam hlam (by simpa only [hη] using hm) + have hc0 (ell : ℕ) (hm : Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ) * (ell + 10)) 0)) : ell = 0 := by + rcases hC ell 0 (by norm_num) hm with ⟨h, _⟩ | ⟨_, h⟩ + · exact h + · norm_num at h + have hc1 (ell : ℕ) (hm : Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ) * (ell + 10)) 1)) : ell = 0 := by + rcases hC ell 1 (by norm_num) hm with ⟨h, _⟩ | ⟨_, h⟩ + · exact h + · norm_num at h + have hch (ell : ℕ) (hm : Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) 9 + (radialMatchedProfile n z) ((ell : ℂ) * (ell + 10)) (1 / 2))) : ell = 1 := by + rcases hC ell (1 / 2) (by norm_num) hm with ⟨_, h | h⟩ | ⟨h, _⟩ + · norm_num at h + · norm_num at h + · exact h + have hspan0 (L : PhysicalRealPolynomial →ₗ[ℝ] ℂ) (hL : ∀ _ : Fin 1, L 1 = 0) + (p : PhysicalRealPolynomial) (hp : p.IsHomogeneous 0) : L p = 0 := + physicalPolynomial_zero_degree_map L (hL 0) p hp + have hspan1 (L : PhysicalRealPolynomial →ₗ[ℝ] ℂ) (hL : ∀ j : Fin 12, L (MvPolynomial.X j) = 0) + (p : PhysicalRealPolynomial) (hp : p.IsHomogeneous 1) : L p = 0 := + physicalPolynomial_one_degree_map L hL p hp + refine ⟨?_, ?_, ?_⟩ + · have hb := homogeneous_contour_eigenspace_dimension n z hX hz N ha ha1 hk q hq P hcomm hfin G hG + 0 0 hc0 (hline z hX hz 0 0 (by norm_num)) (fun _ : Fin 1 => 1) hspan0 + simpa using hb + · have hb := homogeneous_contour_eigenspace_dimension n z hX hz N ha ha1 hk q hq P hcomm hfin G hG + 1 0 hc1 (hline z hX hz 0 1 (by norm_num)) (fun _ : Fin 1 => 1) hspan0 + simpa using hb + · have hb := homogeneous_contour_eigenspace_dimension n z hX hz N ha ha1 hk q hq P hcomm hfin G hG + (1 / 2) 1 hch (hline z hX hz 1 (1 / 2) (by norm_num)) MvPolynomial.X hspan1 + simpa using hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryEvolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryEvolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..32cc8b1226b94a3f0e3b4815efc57262803e7ec0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryEvolution.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalEigenvector +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousProfileSymmetries +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhaseMode +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTranslationMode +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSymbol + +namespace OAI + +/-! # The physical phase, translation and time directions are actual eigenvectors -/ + +open scoped ContDiff ZeroAtInfty NNReal + +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] homogeneousLinearizedStep + +section +variable (n : ℕ) (z : ProfileCertificate.ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < k) + (q : HomogeneousY (radialShootingA n) k) + (hq : ∀ y, homogeneousPhysicalCLM (radialShootingA n) k ha ha1 hk q y = + radialMatchedCartesian n z y) + +local notation "a" => radialShootingA n +local notation "b" => radialShootingB (profileMatchingParameter z) +local notation "m" => n + radialInnerShootingThreshold +local notation "Q" => radialMatchedCartesian n z +local notation "S" => homogeneousLinearizedStep a b k ha ha1 hk m q + +include hX hz + +private theorem symbol : ∀ j : ℕ, ∃ D : ℝ, ∀ y : E, 1 ≤ ‖y‖ → + ‖iteratedFDeriv ℝ j Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (j : ℝ)) := by + intro j + obtain ⟨D, _, hD⟩ := radialMatchedCartesian_symbol n z hX hz j + exact ⟨D, hD⟩ + +include hq + +theorem radialMatched_phase_evolution (u : HomogeneousY a k) + (hu : ∀ y, homogeneousPhysicalCLM a k ha ha1 hk u y = Complex.I * Q y) + (s : ℝ≥0) : S s u = u := by + obtain ⟨qH, hH⟩ := radialMatchedCartesian_homogeneous n z hX hz (k + 2) ha ha1 (by linarith) + have h := homogeneousLinearized_eigenvector_of_physical a b k ha ha1 hk m q u + (Complex.I • qH) 0 (fun x => by + rw [map_smul] + change Complex.I * homogeneousPhysicalCLM a (k + 2) ha ha1 (by linarith) qH x = _ + rw [hH, hu]) (fun x => by + rw [show (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) = Q from funext hq, + show (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) = + (fun y => Complex.I * Q y) from funext hu] + simpa only [Complex.ofReal_zero, zero_mul] using radialMatched_phaseMode n z hX hz x) s + simpa only [zero_mul, Real.exp_zero, one_smul] using h + +theorem radialMatched_translation_evolution (v : E) (u : HomogeneousY a k) + (hu : ∀ y, homogeneousPhysicalCLM a k ha ha1 hk u y = cartesianDerivative v Q y) + (s : ℝ≥0) : S s u = Real.exp ((1 / 2 : ℝ) * s) • u := by + obtain ⟨uH, hH⟩ := homogeneous_profile_directional_derivative a (k + 2) ha ha1 + (by linarith) Q (radialMatchedCartesian_contDiff n z hX hz) (symbol n z hX hz) v + apply homogeneousLinearized_eigenvector_of_physical a b k ha ha1 hk m q u uH (1 / 2) + (fun x => (hH x).trans (hu x).symm) + intro x + rw [show (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) = Q from funext hq, + show (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) = + cartesianDerivative v Q from funext hu] + simpa only [hu, Complex.ofReal_div, Complex.ofReal_one, Complex.ofReal_ofNat] using + radialMatched_translationMode n z hX hz v x + +theorem radialMatched_time_evolution (u : HomogeneousY a k) + (hu : ∀ y, homogeneousPhysicalCLM a k ha ha1 hk u y = + ((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + (s : ℝ≥0) : S s u = Real.exp (s : ℝ) • u := by + obtain ⟨qH, hqH⟩ := radialMatchedCartesian_homogeneous n z hX hz (k + 2) ha ha1 (by linarith) + obtain ⟨uH, hH⟩ := homogeneous_profile_time_direction a b (k + 2) ha ha1 + (by linarith) m Q (radialMatchedCartesian_contDiff n z hX hz) (symbol n z hX hz) + qH hqH (radialMatchedCartesian_stationary n z hX hz) + have h := homogeneousLinearized_eigenvector_of_physical a b k ha ha1 hk m q u uH 1 + (fun x => (hH x).trans (hu x).symm) (fun x => by + rw [show (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk q y) = Q from funext hq, + show (fun y : E => homogeneousPhysicalCLM a k ha ha1 hk u y) = + (fun y => ((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) from funext hu] + simpa only [hu, Complex.ofReal_one, one_mul] using radialMatched_timeMode n z hX hz x) s + simpa only [one_mul] using h + +end +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..c4d6ff744cbfdd2a0d70d13ebc9a5642999c067a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryGenerator.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedSpectralStability +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteGeneratorNoJordan + +namespace OAI + +/-! The actual linearized evolution splits into a decaying kernel and a diagonal symmetry generator. -/ + +open Filter Topology +open scoped NNReal +namespace DefocusingNLS +open ProfileCertificate + +def HasSymmetryContourGenerator {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] + (S : ℝ≥0 → E →L[ℂ] E) : Prop := + ∃ P : E →L[ℂ] E, IsIdempotentElem P ∧ FiniteDimensional ℂ P.range ∧ + ∃ hcomm : ∀ s, Commute (S s) P, + (∃ D δ : ℝ, 0 ≤ D ∧ 0 < δ ∧ ∀ s : ℝ≥0, ∀ u, P u=0 → + ‖S s u‖ ≤ D * Real.exp (-δ*(s : ℝ)) * ‖u‖) ∧ + ∃ G : P.range →L[ℂ] P.range, + (∀ s, projectionSemigroupRestriction S P hcomm s=NormedSpace.exp ((s : ℝ) • G)) ∧ + (∀ (lam : ℂ) (u : P.range), u ≠ 0 → G u=lam • u → lam=0 ∨ lam=1 ∨ lam=1/2) ∧ + (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam)=⊤ + +theorem radialMatched_exists_symmetry_generator (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z=0) → + ∃ N : ℕ, ∃ hk : 8 < ((N+1 : ℕ) : ℝ), + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n+radialInnerShootingThreshold + ∃ q : HomogeneousY a ((N+1 : ℕ) : ℝ), + (∀ x : EuclideanSpace ℝ (Fin 12), + homogeneousPhysicalCLM a ((N+1 : ℕ) : ℝ) ha ha1 hk q x=radialMatchedCartesian n z x) ∧ + HasSymmetryContourGenerator + (homogeneousComplexLinearizedStep a b ((N+1 : ℕ) : ℝ) ha ha1 hk m q) := by + filter_upwards [radialMatched_exists_finite_generator, + radialMatched_contour_spectral_stability hRou] with n hn hs z hX hz + obtain ⟨N,hk,q,hq,P,hP,hfin,hcomm,hdecay,G,hG,hgap⟩ := hn z hX hz + obtain ⟨hspec,hJordan⟩ := hs z hX hz (N+1) _ _ hk q hq P hcomm hfin G hG + have hJ : ∀ (lam : ℂ) (v w : P.range), w ≠ 0 → G w=lam • w → G v ≠ lam • v+w := by + intro lam v w hw he + exact hJordan lam v w hw he (hgap lam w hw he).le + let : FiniteDimensional ℂ P.range := hfin + refine ⟨N,hk,q,hq,P,hP,hfin,hcomm,hdecay,G,hG,?_,?_⟩ + · intro lam w hw he + exact hspec lam w hw he (hgap lam w hw he).le + · exact generator_eigenspaces_span G.toLinearMap hJ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryIndependence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryIndependence.lean new file mode 100644 index 0000000000000000000000000000000000000000..1a8ef9e27f746c75c9f4f9c362efd1702716d0b2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryIndependence.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousProfileSymmetries +import Mathlib.Analysis.Calculus.MeanValue +import Mathlib.Analysis.Normed.Module.FiniteDimension + +namespace OAI + +/-! # Independence of the fourteen physical modulation directions -/ + +open scoped ContDiff ZeroAtInfty +open Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem vanishing_directional_derivative_eq_zero (Q : C₀(E, ℂ)) + (hQ : Differentiable ℝ Q) (h0 : Q 0 ≠ 0) (v : E) + (hv : ∀ y, fderiv ℝ Q y v = 0) : v = 0 := by + by_contra hne + have hd (t : ℝ) : HasDerivAt (fun s : ℝ => Q (s • v)) 0 t := by + simpa only [id_eq, one_smul, hv, Function.comp_def] using! + (hQ (t • v)).hasFDerivAt.comp_hasDerivAt t ((hasDerivAt_id t).smul_const v) + have he : (fun t : ℝ => Q (t • v)) = fun _ => Q 0 := by + funext t + simpa only [zero_smul] using is_const_of_deriv_eq_zero + (fun t => (hd t).differentiableAt) (fun t => (hd t).deriv) t 0 + have hline : Topology.IsClosedEmbedding (fun t : ℝ => t • v) := + isClosedEmbedding_smul_left hne + have ht := (zero_at_infty Q).comp hline.tendsto_cocompact + change Tendsto (fun t : ℝ => Q (t • v)) (cocompact ℝ) (𝓝 0) at ht + rw [he] at ht + exact h0 (tendsto_nhds_unique tendsto_const_nhds ht) + +theorem even_fderiv_at_zero (Q : E → ℂ) (hQ : DifferentiableAt ℝ Q 0) + (heven : ∀ y, Q (-y) = Q y) (v : E) : fderiv ℝ Q 0 v = 0 := by + have he : (fun y : E => Q (-y)) = Q := funext heven + have hd := hQ.hasFDerivAt + have hd' : HasFDerivAt Q (fderiv ℝ Q 0) (-(0 : E)) := by simpa only [neg_zero] using hd + have hc := hd'.comp (0 : E) ((hasFDerivAt_id (𝕜 := ℝ) (0 : E)).neg) + change HasFDerivAt (fun y : E => Q (-y)) _ 0 at hc + rw [he] at hc + have hi := congrArg (fun A : E →L[ℝ] ℂ => A v) (hc.unique hd) + simp only [ContinuousLinearMap.comp_apply, neg_apply, ContinuousLinearMap.id_apply, + map_neg] at hi + linear_combination - (1 / 2 : ℂ) * hi + +theorem physical_symmetry_directions_independent (a b : ℝ) (ha : 0 < a) + (Q : C₀(E, ℂ)) (hQ : Differentiable ℝ Q) (h0 : Q 0 ≠ 0) + (heven : ∀ y, Q (-y) = Q y) (s t : ℝ) (v : E) + (h : ∀ y, (s : ℂ) * (Complex.I * Q y) + + (t : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative v Q y = 0) : s = 0 ∧ t = 0 ∧ v = 0 := by + have hD : cartesianDerivative v Q 0 = 0 := even_fderiv_at_zero Q (hQ 0) heven v + have hT : cartesianTransport Q 0 = 0 := by simp [cartesianTransport] + have hc : (s : ℂ) * Complex.I + (t : ℂ) * ((a : ℂ) - Complex.I * (b : ℂ)) = 0 := by + apply (mul_eq_zero.mp (show ((s : ℂ) * Complex.I + + (t : ℂ) * ((a : ℂ) - Complex.I * (b : ℂ))) * Q 0 = 0 by + have hz := h 0 + rw [hD, hT] at hz + linear_combination hz)).resolve_right h0 + have hr := congrArg Complex.re hc + simp only [Complex.add_re, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, + Complex.I_re, Complex.I_im, Complex.sub_re, Complex.sub_im, zero_mul, mul_zero, + sub_zero, zero_sub, zero_add, Complex.zero_re] at hr + have ht : t = 0 := (mul_eq_zero.mp hr).resolve_right ha.ne' + have hs : s = 0 := by + subst t + simpa using congrArg Complex.im hc + refine ⟨hs, ht, vanishing_directional_derivative_eq_zero Q hQ h0 v ?_⟩ + intro y + simpa only [hs, ht, Complex.ofReal_zero, zero_mul, zero_add, cartesianDerivative] using! h y + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryProjection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryProjection.lean new file mode 100644 index 0000000000000000000000000000000000000000..0ff93f1309adf6d3d9ddc1cf406872e45db7c379 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousSymmetryProjection.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryEvolution +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableProjectionEigenvector +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRealStableCoordinates + +namespace OAI + +/-! # The contour projection fixes all physical symmetry directions -/ + +open scoped NNReal + +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] homogeneousComplexLinearizedStep homogeneousLinearizedStep + +theorem homogeneousProjection_fixes_real_eigenvector (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + (hP : IsIdempotentElem P) + (hcomm : ∀ s, Commute (homogeneousComplexLinearizedStep a b k ha ha1 hk m q s) P) + (D δ : ℝ) (hδ : 0 < δ) + (hdecay : ∀ s : ℝ≥0, ∀ w, P w = 0 → + ‖homogeneousComplexLinearizedStep a b k ha ha1 hk m q s w‖ ≤ + D * Real.exp (-δ * (s : ℝ)) * ‖w‖) + (u : HomogeneousY a k) (lam : ℝ) (hlam : 0 ≤ lam) + (he : ∀ s : ℝ≥0, homogeneousLinearizedStep a b k ha ha1 hk m q s u = + Real.exp (lam * (s : ℝ)) • u) : + P (homogeneousComplexEmbed a k ha ha1 hk u) = homogeneousComplexEmbed a k ha ha1 hk u := by + apply stable_projection_fixes_eigenvector _ P hP hcomm D δ hδ hdecay _ lam hlam + intro s + rw [homogeneousComplexLinearizedStep, homogeneousComplexification_embed, he] + simp only [map_smul, Complex.coe_smul] + rfl + +theorem radialMatched_projection_fixes_physical_frame (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < k) + (q : HomogeneousY (radialShootingA n) k) + (hq : ∀ y, homogeneousPhysicalCLM (radialShootingA n) k ha ha1 hk q y = radialMatchedCartesian n z y) + (P : (HomogeneousY (radialShootingA n) k × HomogeneousY (radialShootingA n) k) →L[ℂ] + (HomogeneousY (radialShootingA n) k × HomogeneousY (radialShootingA n) k)) + (hP : IsIdempotentElem P) + (hcomm : ∀ s, Commute (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) k ha ha1 hk (n + radialInnerShootingThreshold) q s) P) + (D δ : ℝ) (hδ : 0 < δ) + (hdecay : ∀ s : ℝ≥0, ∀ w, P w = 0 → + ‖homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) k ha ha1 hk (n + radialInnerShootingThreshold) q s w‖ ≤ + D * Real.exp (-δ * (s : ℝ)) * ‖w‖) + (F : ProfileSymmetryParameters →L[ℝ] HomogeneousY (radialShootingA n) k) + (hF : ∀ p y, homogeneousPhysicalCLM (radialShootingA n) k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * radialMatchedCartesian n z y) + + (p.2.2 : ℂ) * (((radialShootingA n : ℂ) - + Complex.I * (radialShootingB (profileMatchingParameter z) : ℂ)) * radialMatchedCartesian n z y + + cartesianTransport (radialMatchedCartesian n z) y) + + cartesianDerivative p.2.1 (radialMatchedCartesian n z) y) (p : ProfileSymmetryParameters) : + P (homogeneousComplexEmbed (radialShootingA n) k ha ha1 hk (F p)) = + homogeneousComplexEmbed (radialShootingA n) k ha ha1 hk (F p) := by + let ι := homogeneousComplexEmbed (radialShootingA n) k ha ha1 hk + have hphase : P (ι (F (1, 0, 0))) = ι (F (1, 0, 0)) := by + apply homogeneousProjection_fixes_real_eigenvector _ _ _ ha ha1 hk _ q P hP hcomm D δ hδ hdecay _ 0 le_rfl + intro s + simpa only [zero_mul, Real.exp_zero, one_smul] using + radialMatched_phase_evolution n z hX hz k ha ha1 hk q hq (F (1, 0, 0)) + (fun y => by simpa [cartesianDerivative] using hF (1, 0, 0) y) s + have htime : P (ι (F (0, 0, 1))) = ι (F (0, 0, 1)) := by + apply homogeneousProjection_fixes_real_eigenvector _ _ _ ha ha1 hk _ q P hP hcomm D δ hδ hdecay _ 1 zero_le_one + intro s + simpa only [one_mul] using + radialMatched_time_evolution n z hX hz k ha ha1 hk q hq (F (0, 0, 1)) + (fun y => by simpa [cartesianDerivative] using hF (0, 0, 1) y) s + have htrans : P (ι (F (0, p.2.1, 0))) = ι (F (0, p.2.1, 0)) := by + apply homogeneousProjection_fixes_real_eigenvector _ _ _ ha ha1 hk _ q P hP hcomm D δ hδ hdecay _ (1 / 2) (by norm_num) + exact radialMatched_translation_evolution n z hX hz k ha ha1 hk q hq p.2.1 + (F (0, p.2.1, 0)) (fun y => by simpa using hF (0, p.2.1, 0) y) + have hp : p = p.1 • ((1, 0, 0) : ProfileSymmetryParameters) + (0, p.2.1, 0) + + p.2.2 • ((0, 0, 1) : ProfileSymmetryParameters) := by + ext <;> simp + have he : ι (F p) = p.1 • ι (F (1, 0, 0)) + ι (F (0, p.2.1, 0)) + + p.2.2 • ι (F (0, 0, 1)) := by + conv_lhs => rw [hp] + simp only [map_add, map_smul] + change P (ι (F p)) = ι (F p) + rw [he] + simp only [map_add, ContinuousLinearMap.map_smul_of_tower, hphase, htime, htrans] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTaylorRemainder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTaylorRemainder.lean new file mode 100644 index 0000000000000000000000000000000000000000..7d50f73e3f7507fa4e651e31dad95b9ef58351c9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTaylorRemainder.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDerivativeBounds +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization + +namespace OAI + +/-! # The quadratic homogeneous remainder after linearization -/ + +open Set Metric +open scoped ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +/-- The actual odd-power nonlinearity with its constant and linear parts removed. -/ +noncomputable def homogeneousNonlinearRemainder (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q v : (HomogeneousY a k)) : (HomogeneousY a k) := + homogeneousOddPower a k ha ha1 hk m (q + v) - homogeneousOddPower a k ha ha1 hk m q - + fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) q v + +@[simp] theorem homogeneousNonlinearRemainder_zero (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q : (HomogeneousY a k)) : homogeneousNonlinearRemainder a k ha ha1 hk m q 0 = 0 := by + simp [homogeneousNonlinearRemainder] + +/-- The completed-space remainder is exactly the pointwise physical remainder. -/ +theorem homogeneousNonlinearRemainder_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q v : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousNonlinearRemainder a k ha ha1 hk m q v) y = + oddPowerNonlinearity m + (homogeneousPhysicalCLM a k ha ha1 hk q y + homogeneousPhysicalCLM a k ha ha1 hk v y) - + oddPowerNonlinearity m (homogeneousPhysicalCLM a k ha ha1 hk q y) - + oddPowerDerivative m (homogeneousPhysicalCLM a k ha ha1 hk q y) + (homogeneousPhysicalCLM a k ha ha1 hk v y) := by + simp only [homogeneousNonlinearRemainder, map_sub, ZeroAtInftyContinuousMap.sub_apply, + homogeneousOddPower_physical, homogeneousOddPower_fderiv_physical, map_add, + ZeroAtInftyContinuousMap.add_apply] + +theorem hasFDerivAt_homogeneousNonlinearRemainder (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (q v : (HomogeneousY a k)) : + HasFDerivAt (homogeneousNonlinearRemainder a k ha ha1 hk m q) + (fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) (q + v) - + fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) q) v := by + have hN := ((contDiff_homogeneousOddPower a k ha ha1 hk m).differentiable (by simp) (q + v)).hasFDerivAt + have hshift : HasFDerivAt (fun z : (HomogeneousY a k) => q + z) + (ContinuousLinearMap.id ℝ (HomogeneousY a k)) v := (hasFDerivAt_id v).const_add q + have h := ((hN.comp v hshift).sub_const (homogeneousOddPower a k ha ha1 hk m q)).sub + (fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) q).hasFDerivAt + convert h using 1 <;> ext z <;> rfl + +/-- On any bounded set of backgrounds, the linearized remainder has the manuscript's +quadratic Lipschitz bound, uniformly for perturbations in the unit ball. -/ +theorem exists_homogeneousNonlinearRemainder_lipschitz (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ q v w : (HomogeneousY a k), ‖q‖ ≤ R → ‖v‖ ≤ 1 → ‖w‖ ≤ 1 → + ‖homogeneousNonlinearRemainder a k ha ha1 hk m q v - homogeneousNonlinearRemainder a k ha ha1 hk m q w‖ ≤ + C * (‖v‖ + ‖w‖) * ‖v - w‖ := by + obtain ⟨C, hC, hCb⟩ := exists_homogeneousOddPower_derivative_lipschitz a k ha ha1 hk m (R + 1) (by linarith) + refine ⟨C, hC, ?_⟩ + intro q v w hq hv hw + let d := max ‖v‖ ‖w‖ + have hd : d ≤ 1 := max_le hv hw + have hdb : ∀ z ∈ closedBall (0 : (HomogeneousY a k)) d, + ‖fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) (q + z) - + fderiv ℝ (homogeneousOddPower a k ha ha1 hk m) q‖ ≤ C * d := by + intro z hz + have hzn : ‖z‖ ≤ d := by simpa using hz + have hqz : ‖q + z‖ ≤ R + 1 := (norm_add_le q z).trans (by linarith) + have h := hCb (q + z) q hqz (by linarith) + simp only [add_sub_cancel_left] at h + exact h.trans (mul_le_mul_of_nonneg_left hzn hC) + have hm := (convex_closedBall (0 : (HomogeneousY a k)) d).norm_image_sub_le_of_norm_hasFDerivWithin_le + (fun z hz => (hasFDerivAt_homogeneousNonlinearRemainder a k ha ha1 hk m q z).hasFDerivWithinAt) hdb + (show w ∈ closedBall (0 : (HomogeneousY a k)) d by simp [d]) + (show v ∈ closedBall (0 : (HomogeneousY a k)) d by simp [d]) + have hd' : d ≤ ‖v‖ + ‖w‖ := max_le + (le_add_of_nonneg_right (norm_nonneg w)) (le_add_of_nonneg_left (norm_nonneg v)) + exact hm.trans (mul_le_mul_of_nonneg_right + (mul_le_mul_of_nonneg_left hd' hC) (norm_nonneg (v - w))) + +/-- The remainder is quadratic, with one constant for every background in a fixed homogeneous-space ball. -/ +theorem exists_homogeneousNonlinearRemainder_quadratic (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ q v : (HomogeneousY a k), ‖q‖ ≤ R → ‖v‖ ≤ 1 → + ‖homogeneousNonlinearRemainder a k ha ha1 hk m q v‖ ≤ C * ‖v‖ ^ 2 := by + obtain ⟨C, hC, hb⟩ := exists_homogeneousNonlinearRemainder_lipschitz a k ha ha1 hk m R hR + refine ⟨C, hC, ?_⟩ + intro q v hq hv + simpa only [homogeneousNonlinearRemainder_zero, norm_zero, add_zero, sub_zero, pow_two, mul_assoc] + using hb q v 0 hq hv (by simp) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTimeObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTimeObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..7c0d57a9d4a3b299589488daa6ce94eb3c163dbb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTimeObservation.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeakObservation +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Integrated compact observation for the actual linearized evolution + +Bounded weakly null data have vanishing local observation integrated over +any fixed time interval. This is the compact term used in the time-one +energy argument; no spectral-decay assumption occurs here. +-/ + +open Set Filter Topology MeasureTheory + +namespace DefocusingNLS + +theorem tendsto_homogeneousLinearized_timeObservation (a b k T R M c : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (m : ℕ) (q : HomogeneousY a k) + (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => ∫ s in (0 : ℝ)..T, Real.exp (-c * (T - s)) * + ‖homogeneousLocalL2Observation a k R ha ha1 hk + (homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q (u n) + (projIcc 0 T hT s))‖ ^ 2) atTop (𝓝 0) := by + let U := homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q + let J := homogeneousLocalL2Observation a k R ha ha1 hk + let C := ‖J‖ * ‖U‖ * M + let F := fun n s => Real.exp (-c * (T - s)) * ‖J (U (u n) (projIcc 0 T hT s))‖ ^ 2 + have hcont (n : ℕ) : Continuous (F n) := by + exact (Real.continuous_exp.comp (continuous_const.mul + (continuous_const.sub continuous_id))).mul + ((J.continuous.comp ((U (u n)).continuous.comp continuous_projIcc)).norm.pow 2) + have hbound (n : ℕ) (s : ℝ) : ‖F n s‖ ≤ Real.exp (-c * (T - s)) * C ^ 2 := by + have hv : ‖J (U (u n) (projIcc 0 T hT s))‖ ≤ C := calc + _ ≤ ‖J‖ * ‖U (u n) (projIcc 0 T hT s)‖ := J.le_opNorm _ + _ ≤ ‖J‖ * ‖U (u n)‖ := mul_le_mul_of_nonneg_left + (ContinuousMap.norm_coe_le_norm _ _) (norm_nonneg J) + _ ≤ ‖J‖ * (‖U‖ * ‖u n‖) := mul_le_mul_of_nonneg_left (U.le_opNorm _) (norm_nonneg J) + _ ≤ ‖J‖ * (‖U‖ * M) := mul_le_mul_of_nonneg_left + (mul_le_mul_of_nonneg_left (hu n) (norm_nonneg U)) (norm_nonneg J) + _ = C := by dsimp only [C]; ring + dsimp only [F] + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) hv 2) (Real.exp_pos _).le + have hpoint (s : ℝ) : Tendsto (fun n => F n s) atTop (𝓝 0) := by + have h := tendsto_homogeneousLinearized_localL2_of_weakNull a b k T R M ha ha1 hk hT + m q (projIcc 0 T hT s) u hu hweak + simpa only [norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0), mul_zero] using + (h.norm.pow 2).const_mul (Real.exp (-c * (T - s))) + have hdom : IntegrableOn (fun s => Real.exp (-c * (T - s)) * C ^ 2) (Ioc (0 : ℝ) T) := + (((Real.continuous_exp.comp (continuous_const.mul + (continuous_const.sub continuous_id))).mul continuous_const).continuousOn.integrableOn_compact + isCompact_Icc).mono_set Ioc_subset_Icc_self + have hlim := tendsto_integral_of_dominated_convergence + (μ := volume.restrict (Ioc (0 : ℝ) T)) (fun s => Real.exp (-c * (T - s)) * C ^ 2) + (fun n => (hcont n).aestronglyMeasurable) + hdom (fun n => ae_of_all _ (hbound n)) (ae_of_all _ hpoint) + simpa only [intervalIntegral.integral_of_le hT, integral_zero] using hlim + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTimeOneDecomposition.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTimeOneDecomposition.lean new file mode 100644 index 0000000000000000000000000000000000000000..a034b9265868cb6fe5b3137b8bad353bd9e53495 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTimeOneDecomposition.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFiniteRankStep +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedObservation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedSemigroup + +namespace OAI + +/-! # Finite-rank decomposition of the actual matched time-one evolution -/ + +open Filter Topology Set + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousLinearizedTimeOne (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (q : HomogeneousY a k) : + HomogeneousY a k →L[ℝ] HomogeneousY a k := + homogeneousLinearizedStep a b k ha ha1 hk m q 1 + +theorem homogeneousLinearizedTimeOne_pow (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m n : ℕ) (q : HomogeneousY a k) : + (homogeneousLinearizedTimeOne a b k ha ha1 hk m q) ^ n = + homogeneousLinearizedStep a b k ha ha1 hk m q n := + (homogeneousLinearizedStep_nat a b k ha ha1 hk m q n).symm + +theorem radialMatched_exists_timeOne_decomposition : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∃ N : ℕ, ∃ hk : 8 < ((N + 1 : ℕ) : ℝ), + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = + radialMatchedCartesian n z x) ∧ + ∃ B K : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] + HomogeneousY a ((N + 1 : ℕ) : ℝ), + homogeneousLinearizedTimeOne a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q = B + K ∧ + ‖B‖ < 1 ∧ FiniteDimensional ℝ (LinearMap.range K.toLinearMap) ∧ + IsCompactOperator K := by + filter_upwards [radialMatched_exists_weakNull_contraction] with n hn z hX hz + obtain ⟨N, hk, q, hq, c, hc, hcontract⟩ := hn z hX hz + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let T := homogeneousLinearizedTimeOne a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q + have hvalue (v : HomogeneousY a ((N + 1 : ℕ) : ℝ)) : + T v = homogeneousLinearizedPropagator a b ((N + 1 : ℕ) : ℝ) 1 ha ha1 hk + zero_le_one m q v ⟨1, zero_le_one, le_rfl⟩ := rfl + have hweak : ∀ u : ℕ → HomogeneousY a ((N + 1 : ℕ) : ℝ), (∀ j, ‖u j‖ ≤ 1) → + (∀ ℓ : HomogeneousY a ((N + 1 : ℕ) : ℝ) →L[ℝ] ℂ, + Tendsto (fun j => ℓ (u j)) atTop (𝓝 0)) → + ∀ ε : ℝ, 0 < ε → ∀ᶠ j in atTop, ‖T (u j)‖ ^ 2 < Real.exp (-c) + ε := by + intro u hu hw ε hε + simp_rw [hvalue] + simpa only [a, b, m, mul_one, one_pow] using + hcontract 1 zero_le_one 1 u hu hw ε hε + obtain ⟨B, K, hT, hB, hK⟩ := homogeneousOperator_finiteRank_contraction a + ((N + 1 : ℕ) : ℝ) (Real.exp (-c)) ha1 hk (Real.exp_pos _).le + (by rw [Real.exp_lt_one_iff]; linarith) T hweak + exact ⟨N, hk, q, hq, B, K, hT, hB, hK, + homogeneousOperator_isCompact_of_finiteRange a ((N + 1 : ℕ) : ℝ) K hK⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTopCommutator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTopCommutator.lean new file mode 100644 index 0000000000000000000000000000000000000000..cfe4fe86d377022084dde8d05144d695cc0326da --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTopCommutator.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousL2Product +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorFourier + +namespace OAI + +/-! # The actual top-order commutator on the faithful homogeneous space + +This is the difference between differentiating the physical product and +multiplying the physical derivative. Its coefficient dependence is bounded +in the Y norm, allowing approximation of the actual profile coefficients. +-/ + +open MeasureTheory LineDeriv +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure E) + +noncomputable def homogeneousTopCommutatorValue (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (V u : HomogeneousY a N) : H := + homogeneousPhysicalDerivative a N ha ha1 hk j (homogeneousYProduct a N ha ha1 hk V u) - + homogeneousPhysicalL2Product a N ha ha1 hk V (homogeneousPhysicalDerivative a N ha ha1 hk j u) + +theorem homogeneousTopCommutatorValue_norm_le (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (V u : HomogeneousY a N) : + ‖homogeneousTopCommutatorValue a N ha ha1 hk j V u‖ ≤ + (‖homogeneousYProduct a N ha ha1 hk‖ + ‖homogeneousPointEvaluation a N ha ha1 hk 0‖) * + ‖V‖ * ‖u‖ := by + let B := homogeneousYProduct a N ha ha1 hk + let D := homogeneousPhysicalDerivative a N ha ha1 hk j + let P := homogeneousPhysicalL2Product a N ha ha1 hk + have hD : ‖D (B V u)‖ ≤ ‖B‖ * ‖V‖ * ‖u‖ := + (homogeneousPhysicalDerivative_norm_le a N ha ha1 hk j _).trans (B.le_opNorm₂ V u) + have hP : ‖P V (D u)‖ ≤ ‖homogeneousPointEvaluation a N ha ha1 hk 0‖ * ‖V‖ * ‖u‖ := by + exact (homogeneousPhysicalL2ProductValue_norm_le a N ha ha1 hk V (D u)).trans + (mul_le_mul_of_nonneg_left (homogeneousPhysicalDerivative_norm_le a N ha ha1 hk j u) + (mul_nonneg (norm_nonneg _) (norm_nonneg _))) + change ‖D (B V u) - P V (D u)‖ ≤ _ + calc + _ ≤ ‖D (B V u)‖ + ‖P V (D u)‖ := norm_sub_le _ _ + _ ≤ ‖B‖ * ‖V‖ * ‖u‖ + ‖homogeneousPointEvaluation a N ha ha1 hk 0‖ * ‖V‖ * ‖u‖ := add_le_add hD hP + _ = _ := by ring + +noncomputable def homogeneousTopCommutator (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) : + HomogeneousY a N →L[ℂ] HomogeneousY a N →L[ℂ] H := + (LinearMap.mk₂ ℂ (homogeneousTopCommutatorValue a N ha ha1 hk j) + (fun V W u => by + simp only [homogeneousTopCommutatorValue, map_add, add_apply] + abel) + (fun c V u => by + simp only [homogeneousTopCommutatorValue, map_smul, smul_apply, smul_sub]) + (fun V u v => by + simp only [homogeneousTopCommutatorValue, map_add] + abel) + (fun c V u => by + simp only [homogeneousTopCommutatorValue, map_smul, smul_sub])).mkContinuous₂ + (‖homogeneousYProduct a N ha ha1 hk‖ + ‖homogeneousPointEvaluation a N ha ha1 hk 0‖) + (homogeneousTopCommutatorValue_norm_le a N ha ha1 hk j) + +@[simp] theorem homogeneousTopCommutator_apply (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (V u : HomogeneousY a N) : + homogeneousTopCommutator a N ha ha1 hk j V u = + homogeneousTopCommutatorValue a N ha ha1 hk j V u := rfl + +theorem homogeneousTopCommutator_Schwartz (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < (N : ℝ)) (j : Fin N → Fin 12) + (V f : 𝓢(E, ℂ)) : + homogeneousTopCommutator a N ha ha1 hk j + (homogeneousSchwartzEmbedding a N ha ha1 hk V) + (homogeneousSchwartzEmbedding a N ha ha1 hk f) = + (homogeneousOrderedCommutator N j V f).toLp 2 volume := by + change homogeneousPhysicalDerivative a N ha ha1 hk j + (homogeneousYProduct a N ha ha1 hk + (homogeneousSchwartzEmbedding a N ha ha1 hk V) + (homogeneousSchwartzEmbedding a N ha ha1 hk f)) - + homogeneousPhysicalL2Product a N ha ha1 hk + (homogeneousSchwartzEmbedding a N ha ha1 hk V) + (homogeneousPhysicalDerivative a N ha ha1 hk j + (homogeneousSchwartzEmbedding a N ha ha1 hk f)) = _ + rw [homogeneousYProduct_physicalSchwartz, homogeneousPhysicalDerivative_Schwartz, + homogeneousPhysicalDerivative_Schwartz] + change (homogeneousOrderedDerivative N j (SchwartzMap.smulLeftCLM ℂ V f)).toLp 2 volume - + homogeneousPhysicalL2Product a N ha ha1 hk + (homogeneousSchwartzEmbedding a N ha ha1 hk V) + ((homogeneousOrderedDerivative N j f).toLp 2 volume) = _ + rw [homogeneousPhysicalL2Product_Schwartz] + change (SchwartzMap.toLpCLM ℂ ℂ 2 volume) _ - (SchwartzMap.toLpCLM ℂ ℂ 2 volume) _ = + (SchwartzMap.toLpCLM ℂ ℂ 2 volume) (_ - _) + rw [map_sub] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTranslation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTranslation.lean new file mode 100644 index 0000000000000000000000000000000000000000..28e0c3ed849564ba0fcbaea1372bce1f02e9f18d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousTranslation.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearization + +namespace OAI + +/-! # Isometric physical translations in the faithful homogeneous space + +Fourier modulation preserves the exact Y norm. The physical realization +turns it into translation; consequently all point-evaluation functionals +have the same operator norm. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousTranslationPhase (y ξ : E) : ℂ := + Complex.exp ((inner ℝ ξ y : ℝ) * Complex.I) + +@[simp] theorem homogeneousTranslationPhase_norm (y ξ : E) : + ‖homogeneousTranslationPhase y ξ‖ = 1 := Complex.norm_exp_ofReal_mul_I _ + +theorem homogeneousTranslationPhase_continuous (y : E) : + Continuous (homogeneousTranslationPhase y) := by + unfold homogeneousTranslationPhase + fun_prop + +theorem memLp_homogeneousTranslation (a k : ℝ) (y : E) (f : HomogeneousY a k) : + MemLp (fun ξ => homogeneousTranslationPhase y ξ * f ξ) 2 (homogeneousFourierMeasure a k) := by + apply (Lp.memLp f).of_le_mul (c := 1) + ((homogeneousTranslationPhase_continuous y).aestronglyMeasurable.mul (Lp.aestronglyMeasurable f)) + exact ae_of_all _ (fun ξ => by + change ‖homogeneousTranslationPhase y ξ * f ξ‖ ≤ 1 * ‖f ξ‖ + rw [norm_mul, homogeneousTranslationPhase_norm]) + +noncomputable def homogeneousTranslationVector (a k : ℝ) (y : E) (f : HomogeneousY a k) : + HomogeneousY a k := + (memLp_homogeneousTranslation a k y f).toLp (fun ξ => homogeneousTranslationPhase y ξ * f ξ) + +theorem homogeneousTranslationVector_ae (a k : ℝ) (y : E) (f : HomogeneousY a k) : + homogeneousTranslationVector a k y f =ᵐ[homogeneousFourierMeasure a k] + (fun ξ => homogeneousTranslationPhase y ξ * f ξ) := + (memLp_homogeneousTranslation a k y f).coeFn_toLp + +@[simp] theorem homogeneousTranslationVector_norm (a k : ℝ) (y : E) (f : HomogeneousY a k) : + ‖homogeneousTranslationVector a k y f‖ = ‖f‖ := by + rw [homogeneousTranslationVector, Lp.norm_toLp, Lp.norm_def] + congr 1 + apply eLpNorm_congr_norm_ae + ((homogeneousTranslationPhase_continuous y).aestronglyMeasurable.mul (Lp.aestronglyMeasurable f)) + (Lp.aestronglyMeasurable f) + exact ae_of_all _ (fun ξ => by + change ‖homogeneousTranslationPhase y ξ * f ξ‖ = ‖f ξ‖ + rw [norm_mul, homogeneousTranslationPhase_norm, one_mul]) + +theorem inverseRadianFourier_translation (f : E → ℂ) (x y : E) : + inverseRadianFourier (fun ξ => homogeneousTranslationPhase y ξ * f ξ) x = + inverseRadianFourier f (x + y) := by + unfold inverseRadianFourier radianFourierIntegral + congr 1 + apply integral_congr_ae + exact ae_of_all _ (fun ξ => by + simp only [homogeneousTranslationPhase, inner_neg_right, neg_neg, inner_add_right, + Complex.ofReal_add, add_mul, Complex.exp_add] + ring) + +theorem homogeneousTranslationVector_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (x y : E) (f : HomogeneousY a k) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousTranslationVector a k y f) x = + homogeneousPhysicalCLM a k ha ha1 hk f (x + y) := by + have he := (homogeneousTranslationVector_ae a k y f).filter_mono + (volume_absolutelyContinuous_homogeneousFourierMeasure a k ha1 hk).ae_le + change inverseRadianFourier (homogeneousTranslationVector a k y f) x = inverseRadianFourier f (x + y) + rw [inverseRadianFourier_congr_ae he, inverseRadianFourier_translation] + +theorem homogeneousPointEvaluation_norm_const (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (y : E) : + ‖homogeneousPointEvaluation a k ha ha1 hk y‖ = + ‖homogeneousPointEvaluation a k ha ha1 hk 0‖ := by + apply le_antisymm + · apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) + intro f + have he := homogeneousTranslationVector_physical a k ha ha1 hk 0 y f + simp only [zero_add] at he + change ‖homogeneousPhysicalCLM a k ha ha1 hk f y‖ ≤ _ + rw [← he] + exact ((homogeneousPointEvaluation a k ha ha1 hk 0).le_opNorm + (homogeneousTranslationVector a k y f)).trans_eq (by rw [homogeneousTranslationVector_norm]) + · apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) + intro f + have he := homogeneousTranslationVector_physical a k ha ha1 hk y (-y) f + simp only [add_neg_cancel] at he + change ‖homogeneousPhysicalCLM a k ha ha1 hk f 0‖ ≤ _ + rw [← he] + exact ((homogeneousPointEvaluation a k ha ha1 hk y).le_opNorm + (homogeneousTranslationVector a k (-y) f)).trans_eq (by rw [homogeneousTranslationVector_norm]) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..937d97093a43558801b08527c89418f220c6e6d0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakGenerator.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFreeTestBounds +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGeneratorCoordinates +import Mathlib.Analysis.Calculus.ParametricIntegral +import Mathlib.Analysis.Calculus.TangentCone.Real + +namespace OAI + +/-! # The weak Fourier equation for the actual free generator + +This is the distributional identity behind the physical operator +i Delta - x dot grad / 2 - a + i b. The statement uses ordinary Lebesgue +integrals of the faithful Fourier representative and Schwartz tests. +-/ + +open Set Filter MeasureTheory Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem hasDerivAt_homogeneousFourierPairing_free (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : HomogeneousY a k) (φ : 𝓢(E, ℂ)) : + HasDerivAt (fun t : ℝ => homogeneousFourierPairing a k ha ha1 hk φ + (homogeneousFreeOperator a b k t ha ha1 hk u)) + (∫ ξ : E, u ξ * homogeneousFreeDualDerivative a b 0 φ ξ) 0 := by + have hu := (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp u)).1 + have hm : AEStronglyMeasurable (fun ξ : E => u ξ) volume := hu.aestronglyMeasurable + have hd := hasDerivAt_integral_of_dominated_loc_of_deriv_le + (μ := volume) (x₀ := (0 : ℝ)) (s := Ioo (-1 : ℝ) 1) + (F := fun t ξ => u ξ * homogeneousFreeDualTest a b t φ ξ) + (F' := fun t ξ => u ξ * homogeneousFreeDualDerivative a b t φ ξ) + (bound := fun ξ => (Real.exp a * homogeneousFreeTestBound a b φ) * ‖u ξ‖) + (Ioo_mem_nhds (by norm_num) (by norm_num)) + (Eventually.of_forall fun t => hm.mul (homogeneousFreeDualTest a b t φ).continuous.aestronglyMeasurable) + (integrable_homogeneousFourier_test a k ha ha1 hk u (homogeneousFreeDualTest a b 0 φ)) + (hm.mul (continuous_homogeneousFreeDualDerivative a b 0 φ).aestronglyMeasurable) + (by + filter_upwards [] with ξ t ht + rw [norm_mul] + apply (mul_le_mul_of_nonneg_left (homogeneousFreeDualDerivative_norm_le a b t φ ξ) + (norm_nonneg _)).trans + have he : Real.exp (-a * t) ≤ Real.exp a := by + apply Real.exp_le_exp.mpr + nlinarith [ht.1] + exact (mul_le_mul_of_nonneg_left + (mul_le_mul_of_nonneg_right he (homogeneousFreeTestBound_nonneg a b φ)) + (norm_nonneg _)).trans_eq (mul_comm _ _)) + (hu.norm.const_mul _) + (by + filter_upwards [] with ξ t _ + exact (hasDerivAt_homogeneousFreeDualTest a b t φ ξ).const_mul (u ξ)) + have hf : (fun t : ℝ => homogeneousFourierPairing a k ha ha1 hk φ + (homogeneousFreeOperator a b k t ha ha1 hk u)) = + (fun t : ℝ => ∫ ξ : E, u ξ * homogeneousFreeDualTest a b t φ ξ) := by + funext t + exact homogeneousFreeOperator_fourier_duality a b k t ha ha1 hk φ u + rw [hf] + exact hd.2 + +theorem homogeneousFree_weak_generator (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u v : HomogeneousY a k) + (hu : HasDerivWithinAt (fun t : ℝ => homogeneousFreeOperator a b k t ha ha1 hk u) + v (Ici 0) 0) (φ : 𝓢(E, ℂ)) : + homogeneousFourierPairing a k ha ha1 hk φ v = + ∫ ξ : E, u ξ * + (((-(a : ℂ) + Complex.I * (b : ℂ)) - Complex.I * (‖ξ‖ ^ 2 : ℝ)) * φ ξ - + (1 / 2 : ℝ) • fderiv ℝ φ ξ ξ) := by + let L := (homogeneousFourierPairing a k ha ha1 hk φ).restrictScalars ℝ + have h₁ := L.hasFDerivAt.comp_hasDerivWithinAt 0 hu + have h₂ := (hasDerivAt_homogeneousFourierPairing_free a b k ha ha1 hk u φ).hasDerivWithinAt + (s := Ici 0) + have he := (h₁.derivWithin (uniqueDiffWithinAt_Ici 0)).symm.trans + (h₂.derivWithin (uniqueDiffWithinAt_Ici 0)) + simpa only [L, ContinuousLinearMap.coe_restrictScalars', Function.comp_def, + homogeneousFreeDualDerivative, neg_zero, zero_div, Real.exp_zero, one_smul, + homogeneousPhysicalAmplitude, mul_zero, Complex.ofReal_zero, zero_add, + Complex.exp_zero, homogeneousSchrodingerPhase, sub_self, zero_mul, one_mul] using he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakMildIdentification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakMildIdentification.lean new file mode 100644 index 0000000000000000000000000000000000000000..901bc6c87ea8d7b9c054eca35535d741a392a945 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakMildIdentification.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMeasurableMildContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedFlow + +namespace OAI + +/-! # Identification of bounded weakly continuous mild limits -/ + +open Set MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousLinearizedTrajectory_eq_of_bounded_mild (a b k T C : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (m : ℕ) (q u₀ : HomogeneousY a k) (v : Icc (0 : ℝ) T → HomogeneousY a k) + (hv : ∀ t, ‖v t‖ ≤ C) + (hp : ∀ y : E, Continuous (fun t => homogeneousPhysicalCLM a k ha ha1 hk (v t) y)) + (heq : ∀ t : Icc (0 : ℝ) T, + v t = homogeneousFreeOperator a b k t ha ha1 hk u₀ + + homogeneousDuhamel a b k ha ha1 hk t + (fun s => homogeneousLinearizedPotential a k ha ha1 hk m q (v (projIcc 0 T hT s)))) : + v = fun t => homogeneousLinearizedTrajectory a b k T ha ha1 hk hT m q u₀ t := by + let B := homogeneousLinearizedPotential a k ha ha1 hk m q + let r := fun s => B (v (projIcc 0 T hT s)) + have hr : StronglyMeasurable r := B.continuous.comp_stronglyMeasurable + (stronglyMeasurable_homogeneous_clamped a k T ha ha1 hk hT v hp) + have hir : IntegrableOn r (Icc 0 T) := B.integrable_comp + (integrableOn_homogeneous_clamped a k T C ha ha1 hk hT v hv hp) + have hd : Continuous (fun t : Icc (0 : ℝ) T => homogeneousDuhamel a b k ha ha1 hk t r) := + (continuousOn_homogeneousDuhamel_measurable a b k T ha ha1 hk r hr hir).domRestrict + have hc : Continuous v := by + have h := ((continuous_homogeneousFreeOperator a b k ha ha1 hk u₀).comp + continuous_subtype_val).add hd + exact h.congr (fun t => (heq t).symm) + let w : C(Icc (0 : ℝ) T, HomogeneousY a k) := ⟨v, hc⟩ + have hw := homogeneousLinearizedTrajectory_unique a b k T ha ha1 hk hT m q u₀ w heq + exact congrArg (fun z : C(Icc (0 : ℝ) T, HomogeneousY a k) => (z : Icc (0 : ℝ) T → HomogeneousY a k)) hw + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakNorm.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakNorm.lean new file mode 100644 index 0000000000000000000000000000000000000000..80d22898b3fe566a6dfc0c9970bfcf155490ee96 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakNorm.lean @@ -0,0 +1,27 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalWeakLimit + +namespace OAI + +/-! # The norm bound retained by a weak homogeneous limit -/ + +open Filter Topology + +namespace DefocusingNLS + +theorem homogeneousY_norm_le_of_weak_limit (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : ℕ → HomogeneousY a k) (v : HomogeneousY a k) + (hu : ∀ n, ‖u n‖ ≤ M) + (hv : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 (ℓ v))) : ‖v‖ ≤ M := by + obtain ⟨w, hw, φ, hφ, hweak⟩ := homogeneousY_weak_subsequence a k M ha1 hk u hu + have he : w = v := by + apply homogeneousPhysicalCLM_injective a k ha ha1 hk + ext y + let ℓ := (homogeneousPointEvaluation a k ha ha1 hk y).restrictScalars ℝ + exact tendsto_nhds_unique (hweak ℓ) ((hv ℓ).comp hφ.tendsto_atTop) + exact he ▸ hw + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..e45c8938c330f6be3648877bd8c545332efa2124 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakObservation.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalL2 +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLinearizedFlow + +namespace OAI + +/-! # Weakly null data have vanishing local observation + +This is the compact observation step in the time-one semigroup argument. +Weak convergence is stated using bounded real-linear functionals, matching +the real-linear Schrödinger linearization. +-/ + +open Set Filter Topology MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem tendsto_homogeneousLocalObservation_of_weakNull (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (S : Set E) [CompactSpace S] + (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousLocalObservation a k ha ha1 hk S (u n)) + atTop (𝓝 0) := by + let T := homogeneousLocalObservation a k ha ha1 hk S + have hc := (isCompactOperator_homogeneousLocalObservation a k ha ha1 hk S).isCompact_closure_image_closedBall M + apply hc.tendsto_nhds_of_unique_mapClusterPt + · exact Filter.Eventually.of_forall (fun n => subset_closure + ⟨u n, by simpa only [Metric.mem_closedBall, dist_zero_right] using hu n, rfl⟩) + · intro g _hg hcluster + apply BoundedContinuousFunction.ext + intro x + have heval : MapClusterPt (g x) atTop (fun n => T (u n) x) := + hcluster.continuousAt_comp (BoundedContinuousFunction.evalCLM ℂ x).continuous.continuousAt + have hzero : Tendsto (fun n => T (u n) x) atTop (𝓝 0) := + hweak ((homogeneousPointEvaluation a k ha ha1 hk x).restrictScalars ℝ) + exact eq_of_nhds_neBot (heval.clusterPt.mono hzero) + +theorem tendsto_homogeneousLocalL2Observation_of_weakNull (a k R M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousLocalL2Observation a k R ha ha1 hk (u n)) + atTop (𝓝 0) := by + have ht := tendsto_homogeneousLocalObservation_of_weakNull a k M ha ha1 hk + (Metric.closedBall 0 R) u hu hweak + let J : BoundedContinuousFunction (Metric.closedBall (0 : E) R) ℂ →L[ℂ] + Lp ℂ 2 (homogeneousBallMeasure R) := + BoundedContinuousFunction.toLp 2 (homogeneousBallMeasure R) ℂ + have hc := J.continuous.tendsto 0 + simpa only [Function.comp_def, map_zero, homogeneousLocalL2Observation, + ContinuousLinearMap.comp_apply, J] using hc.comp ht + +/-- At each fixed time the actual linearized evolution preserves weak nullity, +so its local observation converges strongly to zero. -/ +theorem tendsto_homogeneousLinearized_localL2_of_weakNull (a b k T R M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (m : ℕ) (q : HomogeneousY a k) (t : Icc (0 : ℝ) T) + (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => homogeneousLocalL2Observation a k R ha ha1 hk + (homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q (u n) t)) + atTop (𝓝 0) := by + let V : HomogeneousY a k →L[ℝ] HomogeneousY a k := + (ContinuousMap.evalCLM (R := ℝ) t).comp + (homogeneousLinearizedPropagator a b k T ha ha1 hk hT m q) + apply tendsto_homogeneousLocalL2Observation_of_weakNull a k R (‖V‖ * M) + ha ha1 hk (fun n => V (u n)) + · intro n + exact (V.le_opNorm (u n)).trans (mul_le_mul_of_nonneg_left (hu n) (norm_nonneg V)) + · intro ℓ + exact hweak (ℓ.comp V) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakSubsequence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakSubsequence.lean new file mode 100644 index 0000000000000000000000000000000000000000..6ba34042c182a96ed376d6ede9762c90f04cd4db --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeakSubsequence.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYSpace +import Mathlib.Analysis.Normed.Module.WeakDual +import Mathlib.Analysis.InnerProductSpace.Dual +import Mathlib.MeasureTheory.Measure.SeparableMeasure + +namespace OAI + +/-! # Weak subsequences in the actual homogeneous Hilbert space + +Sequential Banach–Alaoglu and the real Riesz representation theorem apply +to the weighted Fourier L² completion. This prepares the quantitative local +observation form of the compact-error estimates. +-/ + +open Filter Topology Set +open scoped ENNReal + +namespace DefocusingNLS + +theorem homogeneousY_weak_subsequence (a k M : ℝ) + (ha1 : a < 1) (hk : 8 < k) (u : ℕ → HomogeneousY a k) + (hu : ∀ n, ‖u n‖ ≤ M) : + ∃ v : HomogeneousY a k, ‖v‖ ≤ M ∧ ∃ φ : ℕ → ℕ, StrictMono φ ∧ + ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u (φ n))) atTop (𝓝 (ℓ v)) := by + let := homogeneousFourierMeasure_locallyFinite a k ha1 hk + let : Fact ((2 : ℝ≥0∞) ≠ ∞) := ⟨by norm_num⟩ + let : MeasureTheory.IsSeparable (homogeneousFourierMeasure a k) := inferInstance + let : SecondCountableTopology (HomogeneousY a k) := inferInstance + let R := InnerProductSpace.toDual ℝ (HomogeneousY a k) + let w : ℕ → WeakDual ℝ (HomogeneousY a k) := fun n => (R (u n)).toWeakDual + have hw (n : ℕ) : w n ∈ WeakDual.toStrongDual ⁻¹' Metric.closedBall 0 M := by + change R (u n) ∈ Metric.closedBall 0 M + simpa only [Metric.mem_closedBall, dist_zero_right, R.norm_map] using hu n + obtain ⟨v', hv', φ, hφ, ht⟩ := + (WeakDual.isSeqCompact_closedBall ℝ (HomogeneousY a k) 0 M) hw + let v := R.symm v'.toStrongDual + have hv : ‖v‖ ≤ M := by + change ‖R.symm v'.toStrongDual‖ ≤ M + rw [R.symm.norm_map] + simpa only [mem_preimage, Metric.mem_closedBall, dist_zero_right] using hv' + refine ⟨v, hv, φ, hφ, fun ℓ => ?_⟩ + have hreal (L : HomogeneousY a k →L[ℝ] ℝ) : + Tendsto (fun n => L (u (φ n))) atTop (𝓝 (L v)) := by + let x := R.symm L + have hn (n : ℕ) : w (φ n) x = L (u (φ n)) := by + change inner ℝ (u (φ n)) x = L (u (φ n)) + rw [real_inner_comm] + exact InnerProductSpace.toDual_symm_apply + have hvx : v' x = L v := by + have he : R v = v'.toStrongDual := R.apply_symm_apply _ + change v'.toStrongDual x = L v + rw [← he] + change inner ℝ v x = L v + rw [real_inner_comm] + exact InnerProductSpace.toDual_symm_apply + have h := (WeakDual.eval_continuous x).continuousAt.tendsto.comp ht + simpa only [Function.comp_def, hn, hvx] using h + have hre := hreal (Complex.reCLM.comp ℓ) + have him := hreal (Complex.imCLM.comp ℓ) + have h := (Complex.continuous_ofReal.continuousAt.tendsto.comp hre).add + ((Complex.continuous_ofReal.continuousAt.tendsto.comp him).mul_const Complex.I) + simpa only [ContinuousLinearMap.comp_apply, Complex.reCLM_apply, Complex.imCLM_apply, + Function.comp_apply, Complex.re_add_im] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeightedDuhamel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeightedDuhamel.lean new file mode 100644 index 0000000000000000000000000000000000000000..3f556a9166b3996f930810571b5edeac6df432d0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeightedDuhamel.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDuhamel +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + +namespace OAI + +/-! # Exponential time weights for whole-space inhomogeneous evolution -/ + +open Set MeasureTheory + +namespace DefocusingNLS + +attribute [local irreducible] homogeneousFreeOperator + +private theorem homogeneous_integral_exp_Icc (η t : ℝ) (hη : 0 < η) (ht : 0 ≤ t) : + (∫ τ in Icc 0 t, Real.exp (η * τ)) = η⁻¹ * (Real.exp (η * t) - 1) := by + rw [integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le ht] + rw [intervalIntegral.integral_comp_mul_left Real.exp hη.ne', integral_exp] + simp only [mul_zero, Real.exp_zero, smul_eq_mul] + +/-- An exponentially bounded forcing gives the Bielecki contraction estimate. -/ +theorem homogeneousDuhamel_weighted_norm_le (a b k η t C : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hη : 0 < η) (ht : 0 ≤ t) (hC : 0 ≤ C) + (r : ℝ → HomogeneousY a k) (hbound : ∀ τ ∈ Icc 0 t, ‖r τ‖ ≤ C * Real.exp (η * τ)) : + Real.exp (-η * t) * ‖homogeneousDuhamel a b k ha ha1 hk t r‖ ≤ C / η := by + have hg : IntegrableOn (fun τ => C * Real.exp (η * τ)) (Icc 0 t) := + (continuous_const.mul (Real.continuous_exp.comp (continuous_const.mul continuous_id))).continuousOn.integrableOn_compact + isCompact_Icc + have hi : ‖homogeneousDuhamel a b k ha ha1 hk t r‖ ≤ + ∫ τ in Icc 0 t, C * Real.exp (η * τ) := by + rw [homogeneousDuhamel, intervalIntegral.integral_of_le ht, + ← integral_Icc_eq_integral_Ioc] + apply norm_integral_le_of_norm_le hg + filter_upwards [ae_restrict_mem measurableSet_Icc] with τ hτ + apply (homogeneousFreeOperator_forward_bound a b k (t - τ) ha ha1 hk + (sub_nonneg.mpr hτ.2) (r τ)).trans + exact (mul_le_of_le_one_left (norm_nonneg _) (Real.exp_le_one_iff.mpr (by + nlinarith [hτ.2]))).trans (hbound τ hτ) + rw [integral_const_mul, homogeneous_integral_exp_Icc η t hη ht] at hi + have he : Real.exp (-η * t) * Real.exp (η * t) = 1 := by + rw [← Real.exp_add, show -η * t + η * t = 0 by ring, Real.exp_zero] + calc + _ ≤ Real.exp (-η * t) * (C * (η⁻¹ * (Real.exp (η * t) - 1))) := + mul_le_mul_of_nonneg_left hi (Real.exp_pos _).le + _ = (C / η) * (Real.exp (-η * t) * Real.exp (η * t) - Real.exp (-η * t)) := by ring + _ = (C / η) * (1 - Real.exp (-η * t)) := by rw [he] + _ ≤ C / η := mul_le_of_le_one_right (div_nonneg hC hη.le) (by linarith [Real.exp_pos (-η * t)]) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeightedObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeightedObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..8b70c51ac8168c6be9a0ec26181a761436f1f7e1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousWeightedObservation.lean @@ -0,0 +1,145 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousWeakObservation +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Physical L² observation with an actual square-integrable coefficient + +Multiplication by a fixed L² coefficient sends bounded weakly null data in +the faithful homogeneous space to zero in physical L². In particular this +applies to every smooth compactly supported part of a potential coefficient. +-/ + +open MeasureTheory Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem homogeneousPhysical_point_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (f : HomogeneousY a k) (x : E) : + ‖homogeneousPhysicalCLM a k ha ha1 hk f x‖ ≤ + ‖homogeneousPointEvaluation a k ha ha1 hk 0‖ * ‖f‖ := by + calc + _ ≤ ‖homogeneousPointEvaluation a k ha ha1 hk x‖ * ‖f‖ := + (homogeneousPointEvaluation a k ha ha1 hk x).le_opNorm f + _ = _ := by rw [homogeneousPointEvaluation_norm_const] + +theorem homogeneousPhysical_weighted_memLp (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : E → ℂ) (hV : MemLp V 2 volume) (f : HomogeneousY a k) : + MemLp (fun x => V x * homogeneousPhysicalCLM a k ha ha1 hk f x) 2 volume := by + let C := ‖homogeneousPointEvaluation a k ha ha1 hk 0‖ * ‖f‖ + apply (hV.norm.const_mul C).mono' + (hV.aestronglyMeasurable.mul (homogeneousPhysicalCLM a k ha ha1 hk f).continuous.aestronglyMeasurable) + filter_upwards [] with x + rw [Pi.mul_apply, norm_mul] + exact (mul_le_mul_of_nonneg_left (homogeneousPhysical_point_bound a k ha ha1 hk f x) + (norm_nonneg _)).trans_eq (mul_comm _ _) + +noncomputable def homogeneousWeightedObservationValue (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : E → ℂ) (hV : MemLp V 2 volume) (f : HomogeneousY a k) : Lp ℂ 2 (volume : Measure E) := + (homogeneousPhysical_weighted_memLp a k ha ha1 hk V hV f).toLp + (fun x => V x * homogeneousPhysicalCLM a k ha ha1 hk f x) + +theorem homogeneousWeightedObservationValue_ae (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : E → ℂ) (hV : MemLp V 2 volume) (f : HomogeneousY a k) : + homogeneousWeightedObservationValue a k ha ha1 hk V hV f =ᵐ[volume] + (fun x => V x * homogeneousPhysicalCLM a k ha ha1 hk f x) := MemLp.coeFn_toLp _ + +theorem homogeneousWeightedObservationValue_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : E → ℂ) (hV : MemLp V 2 volume) (f : HomogeneousY a k) : + ‖homogeneousWeightedObservationValue a k ha ha1 hk V hV f‖ ≤ + (‖hV.toLp V‖ * ‖homogeneousPointEvaluation a k ha ha1 hk 0‖) * ‖f‖ := by + have h : ‖homogeneousWeightedObservationValue a k ha ha1 hk V hV f‖ ≤ + (‖homogeneousPointEvaluation a k ha ha1 hk 0‖ * ‖f‖) * ‖hV.toLp V‖ := by + apply Lp.norm_le_mul_norm_of_ae_le_mul + filter_upwards [homogeneousWeightedObservationValue_ae a k ha ha1 hk V hV f, + hV.coeFn_toLp] with x hx hv + rw [hx, norm_mul, hv] + exact (mul_le_mul_of_nonneg_left (homogeneousPhysical_point_bound a k ha ha1 hk f x) + (norm_nonneg _)).trans_eq (mul_comm _ _) + exact h.trans_eq (by ring) + +noncomputable def homogeneousWeightedObservation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : E → ℂ) (hV : MemLp V 2 volume) : HomogeneousY a k →L[ℂ] Lp ℂ 2 (volume : Measure E) := + let A : HomogeneousY a k →ₗ[ℂ] Lp ℂ 2 (volume : Measure E) := + { toFun := homogeneousWeightedObservationValue a k ha ha1 hk V hV + map_add' := by + intro f g + apply Lp.ext + filter_upwards [homogeneousWeightedObservationValue_ae a k ha ha1 hk V hV (f + g), + homogeneousWeightedObservationValue_ae a k ha ha1 hk V hV f, + homogeneousWeightedObservationValue_ae a k ha ha1 hk V hV g, + Lp.coeFn_add (homogeneousWeightedObservationValue a k ha ha1 hk V hV f) + (homogeneousWeightedObservationValue a k ha ha1 hk V hV g)] with x hfg hf hg hadd + rw [hfg, hadd, Pi.add_apply, hf, hg, map_add, ZeroAtInftyContinuousMap.add_apply, mul_add] + map_smul' := by + intro c f + apply Lp.ext + filter_upwards [homogeneousWeightedObservationValue_ae a k ha ha1 hk V hV (c • f), + homogeneousWeightedObservationValue_ae a k ha ha1 hk V hV f, + Lp.coeFn_smul c (homogeneousWeightedObservationValue a k ha ha1 hk V hV f)] with x hcf hf hsmul + simp only [RingHom.id_apply] + rw [hcf, hsmul, Pi.smul_apply, hf, map_smul, ZeroAtInftyContinuousMap.smul_apply] + simp only [smul_eq_mul] + ring } + A.mkContinuous (‖hV.toLp V‖ * ‖homogeneousPointEvaluation a k ha ha1 hk 0‖) + (homogeneousWeightedObservationValue_norm_le a k ha ha1 hk V hV) + +theorem homogeneousWeightedObservation_norm_sq (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : E → ℂ) (hV : MemLp V 2 volume) (f : HomogeneousY a k) : + ‖homogeneousWeightedObservation a k ha ha1 hk V hV f‖ ^ 2 = + ∫ x : E, ‖V x * homogeneousPhysicalCLM a k ha ha1 hk f x‖ ^ 2 := by + have h := real_inner_self_eq_norm_sq (homogeneousWeightedObservation a k ha ha1 hk V hV f) + rw [L2.inner_def] at h + rw [← h] + apply integral_congr_ae + filter_upwards [homogeneousWeightedObservationValue_ae a k ha ha1 hk V hV f] with x hx + change inner ℝ (homogeneousWeightedObservationValue a k ha ha1 hk V hV f x) + (homogeneousWeightedObservationValue a k ha ha1 hk V hV f x) = _ + rw [hx, real_inner_self_eq_norm_sq] + +theorem tendsto_homogeneousPhysical_weighted_L2_of_weakNull (a k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (V : E → ℂ) (hV : MemLp V 2 volume) + (u : ℕ → HomogeneousY a k) (hu : ∀ n, ‖u n‖ ≤ M) + (hweak : ∀ ℓ : HomogeneousY a k →L[ℝ] ℂ, + Tendsto (fun n => ℓ (u n)) atTop (𝓝 0)) : + Tendsto (fun n => ∫ x : E, + ‖V x * homogeneousPhysicalCLM a k ha ha1 hk (u n) x‖ ^ 2) + atTop (𝓝 0) := by + let C := ‖homogeneousPointEvaluation a k ha ha1 hk 0‖ * M + have hv (n : ℕ) (x : E) : + ‖homogeneousPhysicalCLM a k ha ha1 hk (u n) x‖ ≤ C := + (homogeneousPhysical_point_bound a k ha ha1 hk (u n) x).trans + (mul_le_mul_of_nonneg_left (hu n) (norm_nonneg _)) + have hbound (n : ℕ) (x : E) : + ‖‖V x * homogeneousPhysicalCLM a k ha ha1 hk (u n) x‖ ^ 2‖ ≤ ‖V x‖ ^ 2 * C ^ 2 := by + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _), norm_mul, mul_pow] + exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) (hv n x) 2) (sq_nonneg _) + have hpoint (x : E) : Tendsto + (fun n => ‖V x * homogeneousPhysicalCLM a k ha ha1 hk (u n) x‖ ^ 2) atTop (𝓝 0) := by + have hx := hweak ((homogeneousPointEvaluation a k ha ha1 hk x).restrictScalars ℝ) + change Tendsto (fun n => homogeneousPhysicalCLM a k ha ha1 hk (u n) x) atTop (𝓝 0) at hx + simpa only [norm_mul, mul_pow, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0), mul_zero] using + (hx.norm.pow 2).const_mul (‖V x‖ ^ 2) + have hi : Integrable (fun x => ‖V x‖ ^ 2 * C ^ 2) := + (hV.integrable_norm_pow (p := 2) (by norm_num)).mul_const _ + have hmeas (n : ℕ) : AEStronglyMeasurable + (fun x => ‖V x * homogeneousPhysicalCLM a k ha ha1 hk (u n) x‖ ^ 2) volume := + (hV.aestronglyMeasurable.mul + (homogeneousPhysicalCLM a k ha ha1 hk (u n)).continuous.aestronglyMeasurable).norm.pow 2 + simpa only [integral_zero] using tendsto_integral_of_dominated_convergence + (fun x => ‖V x‖ ^ 2 * C ^ 2) hmeas hi + (fun n => ae_of_all _ (hbound n)) (ae_of_all _ hpoint) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYConvolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYConvolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..057cf6185344ff3524f2f49a99930e81218433d2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYConvolution.lean @@ -0,0 +1,115 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousConvolutionBound + +namespace OAI + +/-! # Continuous convolution on the faithful homogeneous completion -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousConvolutionPartial (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + HomogeneousY a k →L[ℂ] HomogeneousY a k := + ((homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap.comp + ((SchwartzMap.convolution (ContinuousLinearMap.mul ℂ ℂ)) ψ).toLinearMap).extendOfNorm + (homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap + +theorem homogeneousConvolutionPartial_on_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ φ : 𝓢(E, ℂ)) : + homogeneousConvolutionPartial a k ha ha1 hk ψ + (homogeneousFrequencyEmbedding a k ha ha1 hk φ) = + homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConvolution ψ φ) := by + apply LinearMap.extendOfNorm_eq (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + exact ⟨homogeneousAlgebraConstant a k * ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖, + homogeneousSchwartzConvolution_norm_le a k ha ha1 hk ψ⟩ + +theorem homogeneousConvolutionPartial_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ : 𝓢(E, ℂ)) : + ‖homogeneousConvolutionPartial a k ha ha1 hk ψ‖ ≤ + homogeneousAlgebraConstant a k * ‖homogeneousFrequencyEmbedding a k ha ha1 hk ψ‖ := by + apply LinearMap.opNorm_extendOfNorm_le (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + (mul_nonneg (homogeneousAlgebraConstant_nonneg a k) (norm_nonneg _)) + exact homogeneousSchwartzConvolution_norm_le a k ha ha1 hk ψ + +theorem homogeneousConvolutionPartial_add (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ φ : 𝓢(E, ℂ)) : + homogeneousConvolutionPartial a k ha ha1 hk (ψ + φ) = + homogeneousConvolutionPartial a k ha ha1 hk ψ + + homogeneousConvolutionPartial a k ha ha1 hk φ := by + have he := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (homogeneousConvolutionPartial a k ha ha1 hk (ψ + φ)).continuous + (homogeneousConvolutionPartial a k ha ha1 hk ψ + + homogeneousConvolutionPartial a k ha ha1 hk φ).continuous (by + funext χ + simp only [Function.comp_apply, add_apply, + homogeneousConvolutionPartial_on_Schwartz, homogeneousSchwartzConvolution, + map_add]) + apply ContinuousLinearMap.ext + intro f + exact congrFun he f + +theorem homogeneousConvolutionPartial_smul (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (c : ℂ) (ψ : 𝓢(E, ℂ)) : + homogeneousConvolutionPartial a k ha ha1 hk (c • ψ) = + c • homogeneousConvolutionPartial a k ha ha1 hk ψ := by + have he := (homogeneousFrequencyEmbedding_dense a k ha ha1 hk).equalizer + (homogeneousConvolutionPartial a k ha ha1 hk (c • ψ)).continuous + (c • homogeneousConvolutionPartial a k ha ha1 hk ψ).continuous (by + funext χ + simp only [Function.comp_apply, smul_apply, + homogeneousConvolutionPartial_on_Schwartz, homogeneousSchwartzConvolution, + map_smul]) + apply ContinuousLinearMap.ext + intro f + exact congrFun he f + +noncomputable def homogeneousConvolutionPartialLinear (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + 𝓢(E, ℂ) →ₗ[ℂ] (HomogeneousY a k →L[ℂ] HomogeneousY a k) where + toFun := homogeneousConvolutionPartial a k ha ha1 hk + map_add' := homogeneousConvolutionPartial_add a k ha ha1 hk + map_smul' := homogeneousConvolutionPartial_smul a k ha ha1 hk + +/-- The actual continuous-frequency convolution extends to every vector of Y. -/ +noncomputable def homogeneousYConvolution (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + HomogeneousY a k →L[ℂ] HomogeneousY a k →L[ℂ] HomogeneousY a k := + (homogeneousConvolutionPartialLinear a k ha ha1 hk).extendOfNorm + (homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap + +theorem homogeneousYConvolution_on_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ φ : 𝓢(E, ℂ)) : + homogeneousYConvolution a k ha ha1 hk + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) + (homogeneousFrequencyEmbedding a k ha ha1 hk φ) = + homogeneousFrequencyEmbedding a k ha ha1 hk (homogeneousSchwartzConvolution ψ φ) := by + have h := LinearMap.extendOfNorm_eq + (f := homogeneousConvolutionPartialLinear a k ha ha1 hk) + (e := (homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap) + (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + ⟨homogeneousAlgebraConstant a k, homogeneousConvolutionPartial_norm_le a k ha ha1 hk⟩ ψ + change ((homogeneousConvolutionPartialLinear a k ha ha1 hk).extendOfNorm + (homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ)) _ = _ + exact (congrArg (fun T : HomogeneousY a k →L[ℂ] HomogeneousY a k => + T (homogeneousFrequencyEmbedding a k ha ha1 hk φ)) h).trans + (homogeneousConvolutionPartial_on_Schwartz a k ha ha1 hk ψ φ) + +theorem homogeneousYConvolution_norm_le (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f g : HomogeneousY a k) : + ‖homogeneousYConvolution a k ha ha1 hk f g‖ ≤ + homogeneousAlgebraConstant a k * ‖f‖ * ‖g‖ := by + have h := LinearMap.norm_extendOfNorm_apply_le + (f := homogeneousConvolutionPartialLinear a k ha ha1 hk) + (e := (homogeneousFrequencyEmbedding a k ha ha1 hk).toLinearMap) + (homogeneousFrequencyEmbedding_dense a k ha ha1 hk) + (homogeneousAlgebraConstant a k) (homogeneousConvolutionPartial_norm_le a k ha ha1 hk) f + exact (ContinuousLinearMap.le_opNorm _ g).trans + (mul_le_mul_of_nonneg_right h (norm_nonneg g)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYLocalization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYLocalization.lean new file mode 100644 index 0000000000000000000000000000000000000000..48bb09d34586663cb505063a95f0ae88a0c3c8ca --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYLocalization.lean @@ -0,0 +1,149 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYNorm +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingLocalizationBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingEvaluation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierContinuity + +namespace OAI + +/-! # The actual localization operator into the homogeneous completion + +The operator is the Fourier realization of χ(y/L)v(y). Its norm has a bound +independent of L ≥ 1, with the exact manuscript Y and Y_L norms. +-/ + +open MeasureTheory +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem norm_toLp_two_sq {f : E → ℂ} {μ : Measure E} (hf : MemLp f 2 μ) : + ‖hf.toLp f‖ ^ 2 = ∫ ξ, ‖f ξ‖ ^ 2 ∂μ := by + rw [Lp.norm_toLp, hf.eLpNorm_eq_integral_rpow_norm (by norm_num) (by norm_num)] + simp only [ENNReal.toReal_ofNat, Real.rpow_two] + rw [ENNReal.toReal_ofReal (by positivity)] + rw [show (2 : ℝ)⁻¹ = 1 / 2 by norm_num, ← Real.sqrt_eq_rpow, + Real.sq_sqrt (integral_nonneg (fun _ => sq_nonneg _))] + +theorem memLp_expandingPhysicalLocalization_fourier (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) : + MemLp (radianFourierIntegral (expandingPhysicalLocalization a k L χ f)) 2 + (homogeneousFourierMeasure a k) := by + have hc := continuous_radianFourierIntegral + (integrable_expandingPhysicalLocalization a k L ha ha1 hk hL χ f) + apply (memLp_two_iff_integrable_sq_norm hc.aestronglyMeasurable).mpr + obtain ⟨C, hC, hb⟩ := exists_expandingPhysicalLocalization_bound a k ha ha1 hk χ + have h := hb L hL f + unfold homogeneousFourierMeasure + rw [integrable_withDensity_iff_integrable_smul' + (continuous_homogeneousFourierWeight a k ha1 hk).measurable.ennreal_ofReal + (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))] + have hi := (h.1.add h.2.1).const_mul (((2 * Real.pi) ^ (12 : ℕ))⁻¹) + convert hi using 1 + funext ξ + rw [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k ξ)] + simp only [smul_eq_mul, homogeneousFourierWeight, Pi.add_apply] + ring + +/-- The Fourier representative of the actual physical localization. -/ +noncomputable def homogeneousLocalization (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) : HomogeneousY a k := + (memLp_expandingPhysicalLocalization_fourier a k L ha ha1 hk hL χ f).toLp + (radianFourierIntegral (expandingPhysicalLocalization a k L χ f)) + +theorem homogeneousLocalization_ae (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) : + homogeneousLocalization a k L ha ha1 hk hL χ f =ᵐ[homogeneousFourierMeasure a k] + radianFourierIntegral (expandingPhysicalLocalization a k L χ f) := + MemLp.coeFn_toLp _ + +theorem homogeneousLocalization_norm_sq (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) : + ‖homogeneousLocalization a k L ha ha1 hk hL χ f‖ ^ 2 = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (homogeneousFourierEnergy (6 - a) (expandingPhysicalLocalization a k L χ f) + + homogeneousFourierEnergy k (expandingPhysicalLocalization a k L χ f)) := by + rw [homogeneousLocalization, norm_toLp_two_sq] + obtain ⟨C, hC, hb⟩ := exists_expandingPhysicalLocalization_bound a k ha ha1 hk χ + exact integral_homogeneousFourierMeasure a k ha1 hk _ (hb L hL f).1 (hb L hL f).2.1 + +private theorem expandingPhysicalLocalization_add (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f g : FourierL2) : + expandingPhysicalLocalization a k L χ (f + g) = + expandingPhysicalLocalization a k L χ f + expandingPhysicalLocalization a k L χ g := by + funext y + simp only [expandingPhysicalLocalization, + expandingTorusFunction_eq_evaluation a k L ha ha1 hk hL, map_add, mul_add, Pi.add_apply] + +private theorem expandingPhysicalLocalization_smul (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (c : ℂ) (f : FourierL2) : + expandingPhysicalLocalization a k L χ (c • f) = + c • expandingPhysicalLocalization a k L χ f := by + funext y + simp only [expandingPhysicalLocalization, + expandingTorusFunction_eq_evaluation a k L ha ha1 hk hL, map_smul, Pi.smul_apply, + smul_eq_mul] + ring + +noncomputable def homogeneousLocalizationLinearMap (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) : FourierL2 →ₗ[ℂ] HomogeneousY a k where + toFun := homogeneousLocalization a k L ha ha1 hk hL χ + map_add' f g := by + have he : radianFourierIntegral (expandingPhysicalLocalization a k L χ (f + g)) = + radianFourierIntegral (expandingPhysicalLocalization a k L χ f) + + radianFourierIntegral (expandingPhysicalLocalization a k L χ g) := by + rw [expandingPhysicalLocalization_add a k L ha ha1 hk hL, + radianFourierIntegral_add + (integrable_expandingPhysicalLocalization a k L ha ha1 hk hL χ f) + (integrable_expandingPhysicalLocalization a k L ha ha1 hk hL χ g)] + exact (MemLp.toLp_congr _ _ (Filter.Eventually.of_forall (congrFun he))).trans + (MemLp.toLp_add _ _) + map_smul' c f := by + have he : radianFourierIntegral (expandingPhysicalLocalization a k L χ (c • f)) = + c • radianFourierIntegral (expandingPhysicalLocalization a k L χ f) := by + rw [expandingPhysicalLocalization_smul a k L ha ha1 hk hL, + radianFourierIntegral_smul] + exact (MemLp.toLp_congr _ _ (Filter.Eventually.of_forall (congrFun he))).trans + (MemLp.toLp_const_smul _ _) + +/-- One constant controls the actual localization operator on every expanding torus. -/ +theorem exists_homogeneousLocalization_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L) (f : FourierL2), + ‖homogeneousLocalization a k L ha ha1 hk hL χ f‖ ≤ C * ‖f‖ := by + obtain ⟨C, hC, hb⟩ := exists_expandingPhysicalLocalization_bound a k ha ha1 hk χ + refine ⟨Real.sqrt (((2 * Real.pi) ^ (12 : ℕ))⁻¹ * C), Real.sqrt_nonneg _, ?_⟩ + intro L hL f + have hs := mul_le_mul_of_nonneg_left (hb L hL f).2.2 + (show 0 ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ by positivity) + rw [← homogeneousLocalization_norm_sq a k L ha ha1 hk hL χ f] at hs + have hC' : 0 ≤ ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * C := by positivity + have hsq := Real.sq_sqrt hC' + have hroot := Real.sqrt_nonneg (((2 * Real.pi) ^ (12 : ℕ))⁻¹ * C) + nlinarith [norm_nonneg (homogeneousLocalization a k L ha ha1 hk hL χ f), norm_nonneg f, + mul_nonneg hroot (norm_nonneg f)] + +noncomputable def homogeneousLocalizationCLM (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) : FourierL2 →L[ℂ] HomogeneousY a k := + (homogeneousLocalizationLinearMap a k L ha ha1 hk hL χ).mkContinuous + (Classical.choose (exists_homogeneousLocalization_bound a k ha ha1 hk χ)) + ((Classical.choose_spec (exists_homogeneousLocalization_bound a k ha ha1 hk χ)).2 L hL) + +@[simp] theorem homogeneousLocalizationCLM_apply (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (f : FourierL2) : + homogeneousLocalizationCLM a k L ha ha1 hk hL χ f = + homogeneousLocalization a k L ha ha1 hk hL χ f := rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYNorm.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYNorm.lean new file mode 100644 index 0000000000000000000000000000000000000000..3993efa2d5f55fa76fd148254b863118d743cc1b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYNorm.lean @@ -0,0 +1,70 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYSpace +import OAI.MathematicalPhysics.DefocusingNLS.Linear.LocalizationFourierEnergy + +namespace OAI + +/-! # Exact norm in the homogeneous completion + +This identifies the weighted Fourier L² norm with the manuscript's two +homogeneous Sobolev energies, including the radian Plancherel constant. +-/ + +open MeasureTheory +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem integral_homogeneousFourierMeasure (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (g : E → ℝ) + (hlow : Integrable (fun ξ => ‖ξ‖ ^ (2 * (6 - a)) * g ξ)) + (hhigh : Integrable (fun ξ => ‖ξ‖ ^ (2 * k) * g ξ)) : + (∫ ξ, g ξ ∂homogeneousFourierMeasure a k) = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + ((∫ ξ, ‖ξ‖ ^ (2 * (6 - a)) * g ξ) + (∫ ξ, ‖ξ‖ ^ (2 * k) * g ξ)) := by + unfold homogeneousFourierMeasure + rw [integral_withDensity_eq_integral_toReal_smul + (continuous_homogeneousFourierWeight a k ha1 hk).measurable.ennreal_ofReal + (ae_of_all _ (fun _ => ENNReal.ofReal_lt_top))] + simp only [ENNReal.toReal_ofReal (homogeneousFourierWeight_nonneg a k _), smul_eq_mul] + have heq (ξ : E) : homogeneousFourierWeight a k ξ * g ξ = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (‖ξ‖ ^ (2 * (6 - a)) * g ξ + ‖ξ‖ ^ (2 * k) * g ξ) := by + unfold homogeneousFourierWeight + ring + simp_rw [heq] + rw [integral_const_mul, integral_add hlow hhigh] + +private theorem integrable_homogeneousSchwartz (s : ℝ) (hs : 0 ≤ s) (χ : 𝓢(E, ℂ)) : + Integrable (fun ξ => ‖ξ‖ ^ (2 * s) * ‖radianFourierKernel χ ξ‖ ^ 2) := by + have h := integrable_localizedFourierPolynomial_energy s 1 hs zero_lt_one χ {0} (fun _ => 1) + have heq : localizedFourierPolynomial 1 χ {0} (fun _ => 1) = (χ : E → ℂ) := by + funext y + simp [localizedFourierPolynomial] + rw [heq] at h + simpa only [radianFourierKernel_apply] using h + +/-- The norm of the dense Schwartz embedding is exactly the norm defining Y. -/ +theorem homogeneousSchwartzEmbedding_norm_sq (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) : + ‖homogeneousSchwartzEmbedding a k ha ha1 hk χ‖ ^ 2 = + ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (homogeneousFourierEnergy (6 - a) χ + homogeneousFourierEnergy k χ) := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + rw [homogeneousSchwartzEmbedding_apply] + have hn := SchwartzMap.norm_toLp' (f := radianFourierKernel χ) + (μ := homogeneousFourierMeasure a k) (p := 2) (by norm_num) (by norm_num) + simp only [ENNReal.toReal_ofNat, Real.rpow_two] at hn + have hn' : ‖(radianFourierKernel χ).toLp 2 (homogeneousFourierMeasure a k)‖ = + Real.sqrt (∫ ξ, ‖radianFourierKernel χ ξ‖ ^ 2 ∂homogeneousFourierMeasure a k) := by + simpa only [Real.sqrt_eq_rpow, one_div] using hn + rw [hn', Real.sq_sqrt (integral_nonneg (fun _ => sq_nonneg _))] + rw [integral_homogeneousFourierMeasure a k ha1 hk _ + (integrable_homogeneousSchwartz (6 - a) (by linarith) χ) + (integrable_homogeneousSchwartz k (by linarith) χ)] + simp only [homogeneousFourierEnergy, radianFourierKernel_apply] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYProduct.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYProduct.lean new file mode 100644 index 0000000000000000000000000000000000000000..fa316c71aee73622529be62ea9109e48970e5120 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYProduct.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousYConvolution + +namespace OAI + +/-! # The homogeneous algebra is the actual pointwise physical product -/ + +open MeasureTheory +open scoped SchwartzMap Convolution FourierTransform ZeroAtInfty + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radianFourierIntegral_schwartzConvolution (ψ φ : 𝓢(E, ℂ)) (ξ : E) : + radianFourierIntegral (homogeneousSchwartzConvolution ψ φ) ξ = + radianFourierIntegral ψ ξ * radianFourierIntegral φ ξ := by + simp only [radianFourierIntegral_eq_fourier] + have he : (homogeneousSchwartzConvolution ψ φ : E → ℂ) = + (ψ : E → ℂ) ⋆[ContinuousLinearMap.mul ℂ ℂ] (φ : E → ℂ) := by + funext y + exact SchwartzMap.convolution_apply _ ψ φ y + rw [he] + exact Real.fourier_mul_convolution_eq ψ.integrable φ.integrable _ + +theorem inverseRadianFourier_normalizedConvolution (ψ φ : 𝓢(E, ℂ)) (y : E) : + inverseRadianFourier + (((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) • + (homogeneousSchwartzConvolution ψ φ : E → ℂ)) y = + inverseRadianFourier ψ y * inverseRadianFourier φ y := by + rw [inverseRadianFourier_smul] + simp only [Pi.smul_apply, smul_eq_mul, inverseRadianFourier, + radianFourierIntegral_schwartzConvolution] + ring + +noncomputable def homogeneousYProduct (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + HomogeneousY a k →L[ℂ] HomogeneousY a k →L[ℂ] HomogeneousY a k := + (((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) • + homogeneousYConvolution a k ha ha1 hk) + +theorem homogeneousYProduct_on_Schwartz (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (ψ φ : 𝓢(E, ℂ)) : + homogeneousYProduct a k ha ha1 hk + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) + (homogeneousFrequencyEmbedding a k ha ha1 hk φ) = + homogeneousFrequencyEmbedding a k ha ha1 hk + (((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) • + homogeneousSchwartzConvolution ψ φ) := by + simp only [homogeneousYProduct, smul_apply, + homogeneousYConvolution_on_Schwartz, map_smul] + +/-- Multiplication on Y agrees everywhere with multiplication of the represented functions. -/ +theorem homogeneousYProduct_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (f g : HomogeneousY a k) (y : E) : + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousYProduct a k ha ha1 hk f g) y = + homogeneousPhysicalCLM a k ha ha1 hk f y * homogeneousPhysicalCLM a k ha ha1 hk g y := by + let P := homogeneousPhysicalCLM a k ha ha1 hk + let B := homogeneousYProduct a k ha ha1 hk + have hev : Continuous (fun h : C₀(E, ℂ) => h y) := + (BoundedContinuousFunction.evalCLM ℂ y).continuous.comp + ZeroAtInftyContinuousMap.isometry_toBCF.continuous + have hleft : Continuous (fun p : HomogeneousY a k × HomogeneousY a k => P (B p.1 p.2) y) := + (hev.comp P.continuous).comp ((B.continuous.comp continuous_fst).clm_apply continuous_snd) + have hright : Continuous (fun p : HomogeneousY a k × HomogeneousY a k => P p.1 y * P p.2 y) := + ((hev.comp P.continuous).comp continuous_fst).mul + ((hev.comp P.continuous).comp continuous_snd) + have he := ((homogeneousFrequencyEmbedding_dense a k ha ha1 hk).prodMap + (homogeneousFrequencyEmbedding_dense a k ha ha1 hk)).equalizer hleft hright (by + funext p + rcases p with ⟨ψ, φ⟩ + change homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousYProduct a k ha ha1 hk + (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) + (homogeneousFrequencyEmbedding a k ha ha1 hk φ)) y = + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk ψ) y * + homogeneousPhysicalCLM a k ha ha1 hk (homogeneousFrequencyEmbedding a k ha ha1 hk φ) y + rw [homogeneousYProduct_on_Schwartz, homogeneousPhysicalCLM_rawSchwartz, + homogeneousPhysicalCLM_rawSchwartz, homogeneousPhysicalCLM_rawSchwartz] + exact inverseRadianFourier_normalizedConvolution ψ φ y) + exact congrFun he (f, g) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYSpace.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYSpace.lean new file mode 100644 index 0000000000000000000000000000000000000000..b7ea04bc91823ca0e8ba102c29054a9f5fb9c26d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/HomogeneousYSpace.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousFourierMeasure +import Mathlib.MeasureTheory.Function.L2Space + +namespace OAI + +/-! # The homogeneous space Y as a completed Fourier Hilbert space + +The weighted L² model is complete. The radian Fourier image of Schwartz is +dense and injective, so this is precisely a completion of the Schwartz domain +with the homogeneous norm, rather than an added global L² requirement. +-/ + +open MeasureTheory +open scoped SchwartzMap FourierTransform ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable abbrev HomogeneousY (a k : ℝ) := Lp ℂ 2 (homogeneousFourierMeasure a k) + +noncomputable def radianFourierCLM : 𝓢(E, ℂ) →L[ℂ] 𝓢(E, ℂ) := + (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 ((2 * Real.pi)⁻¹) (by positivity)) • ContinuousLinearEquiv.refl ℝ E)).comp + (SchwartzMap.fourierTransformCLM ℂ) + +@[simp] theorem radianFourierCLM_apply (χ : 𝓢(E, ℂ)) : + radianFourierCLM χ = radianFourierKernel χ := rfl + +theorem radianFourierKernel_injective : Function.Injective radianFourierKernel := by + intro χ ψ h + let A : E ≃L[ℝ] E := + (Units.mk0 ((2 * Real.pi)⁻¹) (by positivity)) • ContinuousLinearEquiv.refl ℝ E + have hF : 𝓕 χ = 𝓕 ψ := by + ext ξ + have he := congrArg (fun K : 𝓢(E, ℂ) => K (A.symm ξ)) h + change (𝓕 χ) (A (A.symm ξ)) = (𝓕 ψ) (A (A.symm ξ)) at he + simpa only [A.apply_symm_apply] using he + have hi := congrArg (fun K : 𝓢(E, ℂ) => 𝓕⁻ K) hF + simpa only [FourierTransform.fourierInv_fourier_eq] using hi + +theorem radianFourierKernel_surjective : Function.Surjective radianFourierKernel := by + intro K + let A : E ≃L[ℝ] E := + (Units.mk0 ((2 * Real.pi)⁻¹) (by positivity)) • ContinuousLinearEquiv.refl ℝ E + let ψ := SchwartzMap.compCLMOfContinuousLinearEquiv ℂ A.symm K + refine ⟨𝓕⁻ ψ, ?_⟩ + ext ξ + change (𝓕 (𝓕⁻ ψ)) (A ξ) = K ξ + rw [FourierTransform.fourier_fourierInv_eq] + change K (A.symm (A ξ)) = K ξ + rw [A.symm_apply_apply] + +noncomputable def homogeneousSchwartzEmbedding (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : 𝓢(E, ℂ) →L[ℂ] HomogeneousY a k := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + exact (SchwartzMap.toLpCLM ℂ ℂ 2 (homogeneousFourierMeasure a k)).comp radianFourierCLM + +@[simp] theorem homogeneousSchwartzEmbedding_apply (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) : + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + homogeneousSchwartzEmbedding a k ha ha1 hk χ = + (radianFourierKernel χ).toLp 2 (homogeneousFourierMeasure a k) := rfl + +/-- The Schwartz Fourier domain is dense in the completed homogeneous space. -/ +theorem homogeneousSchwartzEmbedding_dense (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + DenseRange (homogeneousSchwartzEmbedding a k ha ha1 hk) := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + let := homogeneousFourierMeasure_locallyFinite a k ha1 hk + have hd := SchwartzMap.denseRange_toLpCLM (F := ℂ) (μ := homogeneousFourierMeasure a k) + (by norm_num : (2 : ℝ≥0∞) ≠ ⊤) + change DenseRange (fun K : 𝓢(E, ℂ) => K.toLp 2 (homogeneousFourierMeasure a k)) at hd + exact hd.comp radianFourierKernel_surjective.denseRange (by fun_prop) + +/-- No nonzero Schwartz function is identified with zero in this completion. -/ +theorem homogeneousSchwartzEmbedding_injective (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + Function.Injective (homogeneousSchwartzEmbedding a k ha ha1 hk) := by + let := homogeneousFourierMeasure_temperate a k ha ha1 hk + let := homogeneousFourierMeasure_openPos a k ha1 hk + intro χ ψ h + apply radianFourierKernel_injective + exact SchwartzMap.injective_toLp 2 (homogeneousFourierMeasure a k) h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LatticeMomentAlgebra.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LatticeMomentAlgebra.lean new file mode 100644 index 0000000000000000000000000000000000000000..5848c4e57e3b5c94c50cc6bc9042ff38f5e45827 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LatticeMomentAlgebra.lean @@ -0,0 +1,92 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingMultiplication + +namespace OAI + +/-! # Polynomial Fourier moments form a uniform convolution algebra -/ + +namespace DefocusingNLS + +noncomputable def latticeMomentWeight (L : ℝ) (N : ℕ) (n : frequencyLattice) : ℝ := + (1 + ‖n‖ / L) ^ N + +noncomputable def latticeMomentMass (L : ℝ) (N : ℕ) + (c : frequencyLattice → ℂ) (n : frequencyLattice) : ℝ := latticeMomentWeight L N n * ‖c n‖ + +theorem latticeMomentWeight_one_le (L : ℝ) (hL : 1 ≤ L) (N : ℕ) (n : frequencyLattice) : + 1 ≤ latticeMomentWeight L N n := by + apply one_le_pow₀ + have : 0 ≤ ‖n‖ / L := div_nonneg (norm_nonneg _) (by linarith) + linarith + +theorem latticeMomentWeight_add_le (L : ℝ) (hL : 1 ≤ L) (N : ℕ) (m n : frequencyLattice) : + latticeMomentWeight L N (m + n) ≤ latticeMomentWeight L N m * latticeMomentWeight L N n := by + have hLp : 0 < L := by linarith + have ht := div_le_div_of_nonneg_right (norm_add_le m n) hLp.le + have hn : 0 ≤ (‖m‖ / L) * (‖n‖ / L) := by positivity + unfold latticeMomentWeight + rw [← mul_pow] + apply pow_le_pow_left₀ (by positivity) + rw [add_div] at ht + nlinarith + +private theorem positiveLatticeConvolution (A B : frequencyLattice → ℝ) + (hA : ∀ n, 0 ≤ A n) (hB : ∀ n, 0 ≤ B n) (hsA : Summable A) (hsB : Summable B) : + (∀ n, Summable (fun m => A m * B (n - m))) ∧ + Summable (fun n => ∑' m, A m * B (n - m)) ∧ + (∑' n, ∑' m, A m * B (n - m)) = (∑' m, A m) * ∑' n, B n := by + have hs (m : frequencyLattice) : Summable (fun n => A m * B (n - m)) := + ((Equiv.subRight m).summable_iff.mpr hsB).mul_left _ + have he (m : frequencyLattice) : (∑' n, A m * B (n - m)) = A m * ∑' n, B n := by + rw [tsum_mul_left] + congr 1 + exact (Equiv.subRight m).tsum_eq B + have hp : Summable (fun p : frequencyLattice × frequencyLattice => A p.1 * B (p.2 - p.1)) := by + apply (summable_prod_of_nonneg (fun p => mul_nonneg (hA _) (hB _))).mpr + exact ⟨hs, by simpa only [he] using hsA.mul_right (∑' n, B n)⟩ + have hswap := (summable_prod_of_nonneg (fun p : frequencyLattice × frequencyLattice => + mul_nonneg (hA p.2) (hB (p.1 - p.2)))).mp hp.prod_symm + refine ⟨hswap.1, hswap.2, ?_⟩ + rw [hp.tsum_comm, show (∑' m, ∑' n, A m * B (n - m)) = + ∑' m, A m * ∑' n, B n from tsum_congr he, tsum_mul_right] + +theorem latticeMoment_convolution (L : ℝ) (hL : 1 ≤ L) (N : ℕ) + (c d : frequencyLattice → ℂ) + (hc : Summable (latticeMomentMass L N c)) (hd : Summable (latticeMomentMass L N d)) : + Summable (latticeMomentMass L N (fun n => ∑' m, c m * d (n - m))) ∧ + (∑' n, latticeMomentMass L N (fun n => ∑' m, c m * d (n - m)) n) ≤ + (∑' n, latticeMomentMass L N c n) * ∑' n, latticeMomentMass L N d n := by + let A := latticeMomentMass L N c + let B := latticeMomentMass L N d + have hA (n) : 0 ≤ A n := mul_nonneg (le_trans zero_le_one (latticeMomentWeight_one_le L hL N n)) (norm_nonneg _) + have hB (n) : 0 ≤ B n := mul_nonneg (le_trans zero_le_one (latticeMomentWeight_one_le L hL N n)) (norm_nonneg _) + obtain ⟨hrow, hsum, heq⟩ := positiveLatticeConvolution A B hA hB hc hd + have hnorm (n m : frequencyLattice) : ‖c m * d (n - m)‖ ≤ A m * B (n - m) := by + rw [norm_mul] + have hcm : ‖c m‖ ≤ A m := le_mul_of_one_le_left (norm_nonneg _) (latticeMomentWeight_one_le L hL N m) + have hdm : ‖d (n - m)‖ ≤ B (n - m) := le_mul_of_one_le_left (norm_nonneg _) (latticeMomentWeight_one_le L hL N (n - m)) + exact mul_le_mul hcm hdm (norm_nonneg _) (hA m) + have hweighted (n m : frequencyLattice) : + latticeMomentWeight L N n * ‖c m * d (n - m)‖ ≤ A m * B (n - m) := by + have hw := latticeMomentWeight_add_le L hL N m (n - m) + rw [add_sub_cancel] at hw + rw [norm_mul] + calc + _ ≤ (latticeMomentWeight L N m * latticeMomentWeight L N (n - m)) * (‖c m‖ * ‖d (n - m)‖) := + mul_le_mul_of_nonneg_right hw (by positivity) + _ = _ := by dsimp only [A, B, latticeMomentMass]; ring + have hbound (n : frequencyLattice) : + latticeMomentMass L N (fun n => ∑' m, c m * d (n - m)) n ≤ ∑' m, A m * B (n - m) := by + have hns := Summable.of_nonneg_of_le (fun m => norm_nonneg (c m * d (n - m))) (hnorm n) (hrow n) + calc + _ ≤ latticeMomentWeight L N n * ∑' m, ‖c m * d (n - m)‖ := + mul_le_mul_of_nonneg_left (norm_tsum_le_tsum_norm hns) + (le_trans zero_le_one (latticeMomentWeight_one_le L hL N n)) + _ = ∑' m, latticeMomentWeight L N n * ‖c m * d (n - m)‖ := tsum_mul_left.symm + _ ≤ _ := (hns.mul_left _).tsum_le_tsum (hweighted n) (hrow n) + have hs := Summable.of_nonneg_of_le + (fun n => mul_nonneg (le_trans zero_le_one (latticeMomentWeight_one_le L hL N n)) (norm_nonneg _)) hbound hsum + exact ⟨hs, (hs.tsum_le_tsum hbound hsum).trans_eq heq⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationFatou.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationFatou.lean new file mode 100644 index 0000000000000000000000000000000000000000..e6ff9cf79b6ddbfce936e58eb94b0a5e7b3d95c6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationFatou.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevWeights +import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Passing the localization energy bound to a Fourier-series limit + +Fatou's lemma applies to the nonnegative Fourier energy densities indexed by +finite frequency sets. A uniform bound gives integrability of the limit as +well as the same numerical energy bound. +-/ + +open Filter MeasureTheory Topology + +namespace DefocusingNLS + +theorem localization_integral_limit + (F : Finset frequencyLattice → EuclideanSpace ℝ (Fin 12) → ℝ) + (f : EuclideanSpace ℝ (Fin 12) → ℝ) (C : ℝ) (hC : 0 ≤ C) + (hFI : ∀ S, Integrable (F S)) + (hFn : ∀ S x, 0 ≤ F S x) (hfn : ∀ x, 0 ≤ f x) + (hlim : ∀ x, Tendsto (fun S => F S x) atTop (𝓝 (f x))) + (hbound : ∀ S, (∫ x, F S x) ≤ C) : + Integrable f ∧ (∫ x, f x) ≤ C := by + have hm : AEStronglyMeasurable f := aestronglyMeasurable_of_tendsto_ae atTop + (fun S => (hFI S).aestronglyMeasurable) (Eventually.of_forall hlim) + have hlimE (x) : Tendsto (fun S => ENNReal.ofReal (F S x)) atTop (𝓝 (ENNReal.ofReal (f x))) := + ENNReal.continuous_ofReal.continuousAt.tendsto.comp (hlim x) + have hFatou : (∫⁻ x, ENNReal.ofReal (f x)) ≤ + liminf (fun S => ∫⁻ x, ENNReal.ofReal (F S x)) atTop := by + convert lintegral_liminf_le' (u := (atTop : Filter (Finset frequencyLattice))) (fun S => + (hFI S).aestronglyMeasurable.aemeasurable.ennreal_ofReal) using 1 + apply lintegral_congr + intro x + exact (hlimE x).liminf_eq.symm + have hlimbound : liminf (fun S => ∫⁻ x, ENNReal.ofReal (F S x)) atTop ≤ ENNReal.ofReal C := by + have hb (S : Finset frequencyLattice) : (∫⁻ x, ENNReal.ofReal (F S x)) ≤ ENNReal.ofReal C := by + rw [← ofReal_integral_eq_lintegral_ofReal (hFI S) (Eventually.of_forall (hFn S))] + exact ENNReal.ofReal_le_ofReal (hbound S) + simpa only [liminf_const] using + liminf_le_liminf (f := (atTop : Filter (Finset frequencyLattice))) (Eventually.of_forall hb) + have hL := hFatou.trans hlimbound + have hI : Integrable f := + (MeasureTheory.lintegral_ofReal_ne_top_iff_integrable hm (Eventually.of_forall hfn)).mp + (ne_of_lt (hL.trans_lt ENNReal.ofReal_lt_top)) + refine ⟨hI, ?_⟩ + rw [← ofReal_integral_eq_lintegral_ofReal hI (Eventually.of_forall hfn)] at hL + have hreal := ENNReal.toReal_mono ENNReal.ofReal_ne_top hL + simpa only [ENNReal.toReal_ofReal (integral_nonneg hfn), ENNReal.toReal_ofReal hC] using hreal + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationFourierEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationFourierEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..d033f4056b7ed30781c9379b55cb01b989ece03b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationFourierEnergy.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingLocalizationEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierLocalization + +namespace OAI + +/-! # The exact homogeneous Fourier energy of a finite localized polynomial + +The dilation identity supplies the factor L^(12-2s). The weighted mixed +estimate then controls both orders of Y by the exact Y_L coefficient norm. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousFourierEnergy (s : ℝ) (f : E → ℂ) : ℝ := + ∫ ξ, ‖ξ‖ ^ (2 * s) * ‖radianFourierIntegral f ξ‖ ^ 2 + +private theorem homogeneousKernel_density_scale (s L : ℝ) (hL : 0 < L) + (F : E → ℂ) (ξ : E) : + ‖ξ‖ ^ (2 * s) * ‖(L ^ (12 : ℕ) : ℝ) • F (L • ξ)‖ ^ 2 = + L ^ (24 - 2 * s) * (‖L • ξ‖ ^ (2 * s) * ‖F (L • ξ)‖ ^ 2) := by + have hcoef : L ^ (24 - 2 * s) * L ^ (2 * s) = L ^ (24 : ℝ) := by + rw [← Real.rpow_add hL] + congr 1 + ring + have hnat : (L ^ (12 : ℕ)) ^ 2 = L ^ (24 : ℝ) := by + norm_num [← pow_mul] + rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (by positivity), norm_smul, + Real.norm_eq_abs, abs_of_pos hL, Real.mul_rpow hL.le (norm_nonneg ξ), mul_pow, hnat] + calc + _ = (L ^ (24 : ℝ) * ‖ξ‖ ^ (2 * s)) * ‖F (L • ξ)‖ ^ 2 := by ring + _ = _ := by rw [← hcoef]; ring + +private theorem homogeneousKernel_dilation (s L : ℝ) (hL : 0 < L) (F : E → ℂ) : + (∫ ξ, ‖ξ‖ ^ (2 * s) * ‖(L ^ (12 : ℕ) : ℝ) • F (L • ξ)‖ ^ 2) = + L ^ (12 - 2 * s) * ∫ ξ, ‖ξ‖ ^ (2 * s) * ‖F ξ‖ ^ 2 := by + let H : E → ℝ := fun ξ => ‖ξ‖ ^ (2 * s) * ‖F ξ‖ ^ 2 + simp_rw [homogeneousKernel_density_scale s L hL F] + rw [integral_const_mul, Measure.integral_comp_smul_of_nonneg + (volume : Measure E) H L (hR := hL.le), finrank_euclideanSpace_fin] + change L ^ (24 - 2 * s) * ((L ^ (12 : ℕ))⁻¹ * ∫ ξ, H ξ) = _ + have hscale : L ^ (24 - 2 * s) * (L ^ (12 : ℕ))⁻¹ = L ^ (12 - 2 * s) := by + rw [← Real.rpow_natCast, ← Real.rpow_neg hL.le, ← Real.rpow_add hL] + congr 1 + ring + rw [← mul_assoc, hscale] + +private theorem homogeneousKernel_bessel_control (s : ℝ) (hs : 0 ≤ s) + (K : 𝓢(E, ℂ)) (S : Finset frequencyLattice) (v : frequencyLattice → ℂ) : + Integrable (fun ξ => ‖ξ‖ ^ (2 * s) * ‖∑ n ∈ S, v n * K (ξ - n)‖ ^ 2) ∧ + (∫ ξ, ‖ξ‖ ^ (2 * s) * ‖∑ n ∈ S, v n * K (ξ - n)‖ ^ 2) ≤ + ∫ ξ, (1 + ‖ξ‖ ^ 2) ^ s * ‖∑ n ∈ S, v n * K (ξ - n)‖ ^ 2 := by + have hweight (ξ : E) : ‖ξ‖ ^ (2 * s) ≤ (1 + ‖ξ‖ ^ 2) ^ s := by + calc + _ = (‖ξ‖ ^ 2) ^ s := by rw [← Real.rpow_natCast, ← Real.rpow_mul (norm_nonneg ξ)]; norm_num + _ ≤ _ := Real.rpow_le_rpow (by positivity) (by linarith) hs + obtain ⟨C, hC, hb⟩ := exists_schwartz_sobolev_localization_bound s hs K + have hBI := (hb S v).1 + have hcont : Continuous (fun ξ : E => ‖ξ‖ ^ (2 * s) * + ‖∑ n ∈ S, v n * K (ξ - n)‖ ^ 2) := by + have hK : Continuous K := K.continuous + have hpow : Continuous (fun ξ : E => ‖ξ‖ ^ (2 * s)) := + continuous_norm.rpow_const (fun _ => Or.inr (by positivity)) + fun_prop + have hI : Integrable (fun ξ : E => ‖ξ‖ ^ (2 * s) * + ‖∑ n ∈ S, v n * K (ξ - n)‖ ^ 2) := by + apply hBI.mono' hcont.aestronglyMeasurable + filter_upwards [] with ξ + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact mul_le_mul_of_nonneg_right (hweight ξ) (sq_nonneg _) + exact ⟨hI, integral_mono hI hBI (fun ξ => mul_le_mul_of_nonneg_right (hweight ξ) (sq_nonneg _))⟩ + +/-- Each finite physical cutoff has finite homogeneous Fourier energy. -/ +theorem integrable_localizedFourierPolynomial_energy (s L : ℝ) (hs : 0 ≤ s) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (S : Finset frequencyLattice) (v : frequencyLattice → ℂ) : + Integrable (fun ξ => ‖ξ‖ ^ (2 * s) * + ‖radianFourierIntegral (localizedFourierPolynomial L χ S v) ξ‖ ^ 2) := by + have h := (homogeneousKernel_bessel_control s hs (radianFourierKernel χ) S v).1 + have hc := (h.comp_smul hL.ne').const_mul (L ^ (24 - 2 * s)) + convert hc using 1 + funext ξ + rw [localizedFourierPolynomial_transform L hL] + exact homogeneousKernel_density_scale s L hL + (fun x => ∑ n ∈ S, v n * radianFourierKernel χ (x - n)) ξ + +/-- The finite Fourier version of the manuscript's uniform cutoff estimate. +The right side is the exact Y_L coefficient density, before the common (2π)^12 normalization. -/ +theorem exists_localizedFourierPolynomial_energy_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ), 1 ≤ L → + ∀ (S : Finset frequencyLattice) (v : frequencyLattice → ℂ), + homogeneousFourierEnergy (6 - a) (localizedFourierPolynomial L χ S v) + + homogeneousFourierEnergy k (localizedFourierPolynomial L χ S v) ≤ + C * ∑ n ∈ S, expandingSobolevWeightSq a k L n * ‖v n‖ ^ 2 := by + obtain ⟨C, hC, hbound⟩ := exists_expanding_localization_energy_bound a k ha ha1 hk + (radianFourierKernel χ) + refine ⟨C, hC, ?_⟩ + intro L hL S v + have hLp : 0 < L := by linarith + have henergy (s : ℝ) (hs : 0 ≤ s) : + homogeneousFourierEnergy s (localizedFourierPolynomial L χ S v) ≤ + L ^ (12 - 2 * s) * ∫ ξ, (1 + ‖ξ‖ ^ 2) ^ s * + ‖∑ n ∈ S, v n * radianFourierKernel χ (ξ - n)‖ ^ 2 := by + unfold homogeneousFourierEnergy + simp_rw [localizedFourierPolynomial_transform L hLp] + rw [homogeneousKernel_dilation s L hLp + (fun ξ => ∑ n ∈ S, v n * radianFourierKernel χ (ξ - n))] + exact mul_le_mul_of_nonneg_left + (homogeneousKernel_bessel_control s hs (radianFourierKernel χ) S v).2 (by positivity) + have hlo := henergy (6 - a) (by linarith) + have hhi := henergy k (by linarith) + have hexp : 12 - 2 * (6 - a) = 2 * a := by ring + rw [hexp] at hlo + exact (add_le_add hlo hhi).trans (hbound L hL S v) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationWeightComparison.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationWeightComparison.lean new file mode 100644 index 0000000000000000000000000000000000000000..b8446d95193b73d6e1faec2f139f8cfa63167f1c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/LocalizationWeightComparison.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingSobolevWeights + +namespace OAI + +/-! # Exact expanding-weight comparisons for localization + +The high-order localized norm produces a harmless additional zero-frequency +term. It is absorbed by the regularized low-order part of the exact Y_L weight. +-/ + +namespace DefocusingNLS + +private theorem localization_high_bessel_le (k r : ℝ) (hk : 0 ≤ k) (hr : 0 ≤ r) : + (1 + r ^ 2) ^ k ≤ 2 ^ k * (1 + r ^ (2 * k)) := by + have hbase : 1 + r ^ 2 ≤ 2 * max 1 (r ^ 2) := by + linarith [le_max_left (1 : ℝ) (r ^ 2), le_max_right (1 : ℝ) (r ^ 2)] + have hpow : (r ^ 2) ^ k = r ^ (2 * k) := by + rw [← Real.rpow_natCast, ← Real.rpow_mul hr] + norm_num + calc + _ ≤ (2 * max 1 (r ^ 2)) ^ k := Real.rpow_le_rpow (by positivity) hbase hk + _ = 2 ^ k * max 1 (r ^ (2 * k)) := by + rw [Real.mul_rpow (by norm_num) (by positivity), + Real.rpow_max (by norm_num) (by positivity) hk, Real.one_rpow, hpow] + _ ≤ _ := mul_le_mul_of_nonneg_left (max_le + (le_add_of_nonneg_right (by positivity)) (le_add_of_nonneg_left zero_le_one)) (by positivity) + +theorem localization_low_weight_le (a k L : ℝ) (hL : 1 ≤ L) (n : frequencyLattice) : + L ^ (2 * a) * (1 + ‖n‖ ^ 2) ^ (6 - a) ≤ expandingSobolevWeightSq a k L n := by + unfold expandingSobolevWeightSq + exact le_add_of_nonneg_right (by positivity) + +/-- The extra high-order Bessel term is uniformly absorbed by the exact Y_L weight. -/ +theorem localization_high_weight_le (a k L : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (hL : 1 ≤ L) (n : frequencyLattice) : + L ^ (12 - 2 * k) * (1 + ‖n‖ ^ 2) ^ k ≤ + 2 ^ k * expandingSobolevWeightSq a k L n := by + have hscale : L ^ (12 - 2 * k) ≤ L ^ (2 * a) := + Real.rpow_le_rpow_of_exponent_le hL (by linarith) + have hlow : 1 ≤ (1 + ‖n‖ ^ 2) ^ (6 - a) := + Real.one_le_rpow (by linarith [sq_nonneg ‖n‖]) (by linarith) + have hconstant : L ^ (12 - 2 * k) ≤ L ^ (2 * a) * (1 + ‖n‖ ^ 2) ^ (6 - a) := + hscale.trans (le_mul_of_one_le_right (by positivity) hlow) + calc + _ ≤ L ^ (12 - 2 * k) * (2 ^ k * (1 + ‖n‖ ^ (2 * k))) := + mul_le_mul_of_nonneg_left (localization_high_bessel_le k ‖n‖ (by linarith) (norm_nonneg n)) + (by positivity) + _ = 2 ^ k * (L ^ (12 - 2 * k) + L ^ (12 - 2 * k) * ‖n‖ ^ (2 * k)) := by ring + _ ≤ 2 ^ k * (L ^ (2 * a) * (1 + ‖n‖ ^ 2) ^ (6 - a) + + L ^ (12 - 2 * k) * ‖n‖ ^ (2 * k)) := by gcongr + _ = _ := rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/ObservationDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/ObservationDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..00297d1e71ae4ba9090a970354fd7ea26895afb6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/ObservationDecay.lean @@ -0,0 +1,60 @@ +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic +import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics + +namespace OAI + +/-! # Decay of the scalar observation term in the energy inequality -/ + +open Set Filter Topology MeasureTheory + +namespace DefocusingNLS + +noncomputable def observationDecayIntegral (c d T : ℝ) : ℝ := + ∫ s in (0 : ℝ)..T, Real.exp (-c * (T - s)) * Real.exp (-d * s) + +theorem observationDecayIntegral_nonneg (c d T : ℝ) (hT : 0 ≤ T) : + 0 ≤ observationDecayIntegral c d T := by + exact intervalIntegral.integral_nonneg hT (fun _ _ => by positivity) + +theorem observationDecayIntegral_le (c d T : ℝ) (hT : 0 ≤ T) : + observationDecayIntegral c d T ≤ T * Real.exp (-min c d * T) := by + have hi : IntervalIntegrable (fun s : ℝ => + Real.exp (-c * (T - s)) * Real.exp (-d * s)) volume 0 T := + (by fun_prop : Continuous (fun s : ℝ => + Real.exp (-c * (T - s)) * Real.exp (-d * s))).intervalIntegrable _ _ + have h := intervalIntegral.integral_mono_on hT hi + (intervalIntegrable_const (c := Real.exp (-min c d * T))) (fun s hs => ?_) + · simpa only [observationDecayIntegral, intervalIntegral.integral_const, sub_zero, + smul_eq_mul] using h + rw [← Real.exp_add] + apply Real.exp_le_exp.mpr + have h₁ := mul_le_mul_of_nonneg_right (min_le_left c d) (sub_nonneg.mpr hs.2) + have h₂ := mul_le_mul_of_nonneg_right (min_le_right c d) hs.1 + nlinarith + +theorem tendsto_observationDecayIntegral (c d : ℝ) (hc : 0 < c) (hd : 0 < d) : + Tendsto (observationDecayIntegral c d) atTop (𝓝 0) := by + have hdecay : Tendsto (fun T : ℝ => T * Real.exp (-min c d * T)) atTop (𝓝 0) := by + simpa only [Real.rpow_one] using + tendsto_rpow_mul_exp_neg_mul_atTop_nhds_zero 1 (min c d) (lt_min hc hd) + exact squeeze_zero' (eventually_ge_atTop (0 : ℝ) |>.mono fun T hT => + observationDecayIntegral_nonneg c d T hT) + (eventually_ge_atTop (0 : ℝ) |>.mono fun T hT => + observationDecayIntegral_le c d T hT) hdecay + +noncomputable def escapedEnergyBound (c d M C T : ℝ) : ℝ := + Real.exp (-c * T) * M ^ 2 + C * observationDecayIntegral c d T + +theorem tendsto_escapedEnergyBound (c d M C : ℝ) (hc : 0 < c) (hd : 0 < d) : + Tendsto (escapedEnergyBound c d M C) atTop (𝓝 0) := by + change Tendsto (fun T => Real.exp (-c * T) * M ^ 2 + + C * observationDecayIntegral c d T) atTop (𝓝 0) + have he : Tendsto (fun T : ℝ => Real.exp (-c * T)) atTop (𝓝 0) := + Real.tendsto_exp_atBot.comp ((tendsto_const_mul_atBot_of_neg (neg_neg_of_pos hc)).2 + tendsto_id) + simpa only [zero_mul, mul_zero, add_zero] using + (he.mul_const (M ^ 2)).add ((tendsto_observationDecayIntegral c d hc hd).const_mul C) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/PeriodicSchwartzPairing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/PeriodicSchwartzPairing.lean new file mode 100644 index 0000000000000000000000000000000000000000..390dbb67274507514d1bbfa576f9279c17344a5f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/PeriodicSchwartzPairing.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzFourierConvolution + +namespace OAI + +/-! # Schwartz testing of absolutely convergent periodic Fourier series -/ + +open MeasureTheory +open scoped SchwartzMap RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem hasSum_periodicSchwartzPairing (L : ℝ) (ψ : 𝓢(E, ℂ)) + (c : frequencyLattice → ℂ) (hc : Summable (fun n => ‖c n‖)) : + HasSum (fun n => c n * radianFourierKernel ψ (-(L⁻¹ • (n : E)))) + (∫ y : E, ψ y * spatialFourierSeries c (L⁻¹ • y)) := by + let G := fun (n : frequencyLattice) (y : E) => + ψ y * (c n * spatialFourierCharacter n (L⁻¹ • y)) + have hn (n : frequencyLattice) (y : E) : ‖G n y‖ = ‖ψ y‖ * ‖c n‖ := by + simp only [G, norm_mul, spatialFourierCharacter_norm, mul_one] + have hi (n : frequencyLattice) : Integrable (G n) := by + apply (ψ.integrable.norm.mul_const ‖c n‖).mono' + · exact (ψ.continuous.mul (continuous_const.mul + ((continuous_spatialFourierCharacter n).comp (continuous_const_smul L⁻¹)))).aestronglyMeasurable + · exact ae_of_all _ (fun y => (hn n y).le) + have hs : Summable (fun n => ∫ y : E, ‖G n y‖) := by + simp_rw [hn, integral_mul_const] + exact hc.mul_left _ + have h := hasSum_integral_of_summable_integral_norm hi hs + have he (n : frequencyLattice) : (∫ y : E, G n y) = + c n * radianFourierKernel ψ (-(L⁻¹ • (n : E))) := by + rw [radianFourierKernel_apply, radianFourierIntegral, ← integral_const_mul] + apply integral_congr_ae + filter_upwards [] with y + dsimp only [G, spatialFourierCharacter] + rw [inner_neg_right, neg_neg, real_inner_smul_left, real_inner_smul_right] + ring + simpa only [he, G, spatialFourierSeries, tsum_mul_left] using h + +theorem integrable_periodicSchwartzPairing (L : ℝ) (ψ : 𝓢(E, ℂ)) + (c : frequencyLattice → ℂ) (hc : Summable (fun n => ‖c n‖)) : + Integrable (fun y : E => ψ y * spatialFourierSeries c (L⁻¹ • y)) := by + apply ψ.integrable.mul_bdd + (((continuous_spatialFourierSeries c hc).comp (continuous_const_smul L⁻¹)).aestronglyMeasurable) + exact ae_of_all _ (fun y => spatialFourierSeries_norm_le c hc (L⁻¹ • y)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerFlow.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerFlow.lean new file mode 100644 index 0000000000000000000000000000000000000000..cf3d9ef251b6c735dfc4735b1514c32ce588b370 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerFlow.lean @@ -0,0 +1,132 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTorus +import Mathlib.Analysis.Normed.Group.Tannery + +namespace OAI + +/-! +# The linear Schrödinger group on the Fourier Sobolev model + +Multiplication of each frequency by `exp(-i t |n|²)` defines a strongly +continuous unitary group. The same coefficient model is used for every +Sobolev index, so these isometries act on the paper's weighted Fourier spaces. +-/ + +open Filter Topology +open scoped ENNReal + +namespace DefocusingNLS + +/-- The exact free Schrödinger phase for a Fourier frequency. -/ +noncomputable def schrodingerMultiplier (t : ℝ) (n : frequencyLattice) : ℂ := + Complex.exp (-Complex.I * ((t * ‖n‖ ^ 2 : ℝ) : ℂ)) + +@[simp] theorem schrodingerMultiplier_norm (t : ℝ) (n : frequencyLattice) : + ‖schrodingerMultiplier t n‖ = 1 := by + simp only [schrodingerMultiplier, Complex.norm_exp, Complex.mul_re, Complex.neg_re, + Complex.neg_im, Complex.I_re, Complex.I_im, Complex.ofReal_re, Complex.ofReal_im, + neg_zero, zero_mul, mul_zero, sub_zero, Real.exp_zero] + +@[simp] theorem schrodingerMultiplier_zero (n : frequencyLattice) : + schrodingerMultiplier 0 n = 1 := by + simp [schrodingerMultiplier] + +theorem schrodingerMultiplier_add (t s : ℝ) (n : frequencyLattice) : + schrodingerMultiplier (t + s) n = + schrodingerMultiplier t n * schrodingerMultiplier s n := by + unfold schrodingerMultiplier + rw [← Complex.exp_add] + congr 1 + push_cast + ring + +theorem continuous_schrodingerMultiplier (n : frequencyLattice) : + Continuous (fun t : ℝ => schrodingerMultiplier t n) := by + unfold schrodingerMultiplier + fun_prop + +/-- Free evolution preserves the norm of every weighted Fourier vector. -/ +noncomputable def schrodingerFlow (t : ℝ) : FourierL2 →ₗᵢ[ℂ] FourierL2 where + toFun f := ⟨fun n => schrodingerMultiplier t n * f n, + (lp.memℓp f).mono' (by intro n; simp)⟩ + map_add' f g := by + ext n + change schrodingerMultiplier t n * (f n + g n) = + schrodingerMultiplier t n * f n + schrodingerMultiplier t n * g n + exact mul_add _ _ _ + map_smul' c f := by ext n; simp [mul_left_comm] + norm_map' f := by + apply le_antisymm + · apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0) + intro n + simp + · apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0) + intro n + simp + +@[simp] theorem schrodingerFlow_apply (t : ℝ) (f : FourierL2) (n : frequencyLattice) : + schrodingerFlow t f n = schrodingerMultiplier t n * f n := rfl + +@[simp] theorem schrodingerFlow_zero (f : FourierL2) : schrodingerFlow 0 f = f := by + ext n + simp + +theorem schrodingerFlow_add (t s : ℝ) (f : FourierL2) : + schrodingerFlow (t + s) f = schrodingerFlow t (schrodingerFlow s f) := by + ext n + simp [schrodingerMultiplier_add, mul_assoc] + +/-- Free evolution is a complex-linear isometric equivalence, with inverse time `-t`. -/ +noncomputable def schrodingerUnitary (t : ℝ) : FourierL2 ≃ₗᵢ[ℂ] FourierL2 := + LinearIsometryEquiv.ofSurjective (schrodingerFlow t) (by + intro f + refine ⟨schrodingerFlow (-t) f, ?_⟩ + rw [← schrodingerFlow_add] + simp) + +@[simp] theorem schrodingerUnitary_apply (t : ℝ) (f : FourierL2) : + schrodingerUnitary t f = schrodingerFlow t f := rfl + +/-- The free evolution is strongly continuous in every Fourier Sobolev norm. -/ +theorem continuous_schrodingerFlow (f : FourierL2) : + Continuous (fun t : ℝ => schrodingerFlow t f) := by + rw [continuous_iff_continuousAt] + intro t₀ + have hs : Summable (fun n : frequencyLattice => 4 * ‖f n‖ ^ 2) := by + simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using + ((lp.memℓp f).summable (by norm_num : 0 < (2 : ℝ≥0∞).toReal)).mul_left 4 + have hlim := tendsto_tsum_of_dominated_convergence hs + (f := fun t n => ‖schrodingerFlow t f n - schrodingerFlow t₀ f n‖ ^ 2) + (g := fun _ => (0 : ℝ)) (𝓕 := 𝓝 t₀) + (by + intro n + have hc : Continuous (fun t : ℝ => + ‖schrodingerFlow t f n - schrodingerFlow t₀ f n‖ ^ 2) := by + change Continuous (fun t : ℝ => + ‖schrodingerMultiplier t n * f n - schrodingerMultiplier t₀ n * f n‖ ^ 2) + exact ((((continuous_schrodingerMultiplier n).fun_mul continuous_const).fun_sub + continuous_const).norm.fun_pow 2) + simpa using (hc.continuousAt (x := t₀)).tendsto) + (Filter.Eventually.of_forall (by + intro t n + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] + have hn : ‖schrodingerFlow t f n - schrodingerFlow t₀ f n‖ ≤ 2 * ‖f n‖ := by + calc + _ ≤ ‖schrodingerFlow t f n‖ + ‖schrodingerFlow t₀ f n‖ := norm_sub_le _ _ + _ = 2 * ‖f n‖ := by simp; ring + nlinarith [norm_nonneg (schrodingerFlow t f n - schrodingerFlow t₀ f n), + norm_nonneg (f n)])) + have hsq : Tendsto (fun t => ‖schrodingerFlow t f - schrodingerFlow t₀ f‖ ^ 2) + (𝓝 t₀) (𝓝 0) := by + have heq (t : ℝ) := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) + (schrodingerFlow t f - schrodingerFlow t₀ f) + simp only [ENNReal.toReal_ofNat, Real.rpow_two, lp.coeFn_sub, Pi.sub_apply] at heq + simpa only [heq, tsum_zero] using hlim + have hn := Real.continuous_sqrt.continuousAt.tendsto.comp hsq + have hn' : Tendsto (fun t => ‖schrodingerFlow t f - schrodingerFlow t₀ f‖) + (𝓝 t₀) (𝓝 0) := by + simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using hn + exact tendsto_iff_norm_sub_tendsto_zero.mpr hn' + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerForcedDuhamel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerForcedDuhamel.lean new file mode 100644 index 0000000000000000000000000000000000000000..0b793e9b1ce7d7224c778808f9ffbc5b4dfb5d97 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerForcedDuhamel.lean @@ -0,0 +1,152 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevDuhamelIntegral + +namespace OAI + +/-! # Duhamel's identity with a Sobolev forcing term + +The forcing is an actual vector in the upper Sobolev space, while the time + derivative is taken after the two-order inclusion. Fourier coordinates +remove the unbounded generator without assuming upper-space differentiability. +-/ + +open Filter Topology Set MeasureTheory + +namespace DefocusingNLS + +/-- The forced equation determines every physical Fourier coefficient. -/ +theorem hasDerivAt_coordinate_forced_schrodinger + (u j : ℝ → FourierL2) (t : ℝ) (n : frequencyLattice) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) + lowerSobolevInclusion (j t)) t) : + HasDerivAt (fun s => u s n) + (-Complex.I * ((‖n‖ ^ 2 : ℝ) : ℂ) * u t n + j t n) t := by + have h := hasDerivAt_coordinate_of_lowerSobolev u _ t n hu + apply h.congr_deriv + simp only [lp.coeFn_add, Pi.add_apply, lowerSobolevGenerator_apply, + lowerSobolevInclusion_apply, Complex.ofReal_div, Complex.ofReal_inv] + have hb : (((1 + ‖n‖ ^ 2 : ℝ) : ℂ)) ≠ 0 := by + exact_mod_cast (ne_of_gt (show 0 < 1 + ‖n‖ ^ 2 by positivity)) + field_simp [hb] + +/-- The inverse phase cancels the free generator in the forced equation. -/ +theorem hasDerivAt_forced_interaction_coordinate + (u j : ℝ → FourierL2) (t : ℝ) (n : frequencyLattice) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) + lowerSobolevInclusion (j t)) t) : + HasDerivAt (fun s => inverseSchrodingerCurve u s n) + (schrodingerFlow (-t) (j t) n) t := by + have hp : HasDerivAt (fun s => schrodingerMultiplier (-s) n) + (Complex.I * ((‖n‖ ^ 2 : ℝ) : ℂ) * schrodingerMultiplier (-t) n) t := by + have h := (hasDerivAt_schrodingerMultiplier_mul n 1 (-t)).scomp t (hasDerivAt_neg t) + convert h using 1 + · funext s + simp + · simp only [mul_one, neg_smul, one_smul] + ring + have h := hp.mul (hasDerivAt_coordinate_forced_schrodinger u j t n hu) + apply h.congr_deriv + simp only [schrodingerFlow_apply] + ring + +theorem continuousOn_rotatedSchrodingerForcing (j : ℝ → FourierL2) (J : Set ℝ) + (hj : ContinuousOn j J) : + ContinuousOn (fun t => schrodingerFlow (-t) (j t)) J := by + have hneg : ContinuousOn (fun t : ℝ => -t) J := continuous_neg.continuousOn + have hp : ContinuousOn (fun t : ℝ => (-t, j t)) J := hneg.prodMk hj + exact Continuous.comp_continuousOn + (f := fun t : ℝ => (-t, j t)) + (g := fun p : ℝ × FourierL2 => schrodingerFlow p.1 p.2) + continuous_schrodingerFlow_uncurry hp + +/-- The forced equation gives an upper-Sobolev Bochner integral identity. -/ +theorem forcedSobolevDuhamel_identity + (u j : ℝ → FourierL2) (a b t₀ t : ℝ) + (hj : ContinuousOn j (Ioo a b)) + (hu : ∀ s ∈ Ioo a b, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u s) + lowerSobolevInclusion (j s)) s) + (ht₀ : t₀ ∈ Ioo a b) (ht : t ∈ Ioo a b) : + inverseSchrodingerCurve u t = inverseSchrodingerCurve u t₀ + + ∫ s in t₀..t, schrodingerFlow (-s) (j s) := by + have hseg : uIcc t₀ t ⊆ Ioo a b := by + intro s hs + exact ⟨(lt_min ht₀.1 ht.1).trans_le hs.1, hs.2.trans_lt (max_lt ht₀.2 ht.2)⟩ + have hF := continuousOn_rotatedSchrodingerForcing j (Ioo a b) hj + have hint : IntervalIntegrable (fun s => schrodingerFlow (-s) (j s)) volume t₀ t := + (hF.mono hseg).intervalIntegrable + ext n + let E := lp.evalCLM ℂ (fun _ : frequencyLattice => ℂ) 2 n + have hintn : IntervalIntegrable (fun s => schrodingerFlow (-s) (j s) n) + volume t₀ t := (E.continuous.comp_continuousOn (hF.mono hseg)).intervalIntegrable + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (a := t₀) (b := t) + (f := fun s => inverseSchrodingerCurve u s n) + (f' := fun s => schrodingerFlow (-s) (j s) n) + (fun s hs => hasDerivAt_forced_interaction_coordinate u j s n (hu s (hseg hs))) hintn + have hE : (∫ s in t₀..t, schrodingerFlow (-s) (j s)) n = + ∫ s in t₀..t, schrodingerFlow (-s) (j s) n := + (E.intervalIntegral_comp_comm hint).symm + change inverseSchrodingerCurve u t n = inverseSchrodingerCurve u t₀ n + + (∫ s in t₀..t, schrodingerFlow (-s) (j s)) n + rw [hE, he] + abel + +/-- The usual variation-of-constants formula in the physical Sobolev representation. -/ +theorem forcedSobolevDuhamel_physical + (u j : ℝ → FourierL2) (a b t₀ t : ℝ) + (hj : ContinuousOn j (Ioo a b)) + (hu : ∀ s ∈ Ioo a b, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u s) + lowerSobolevInclusion (j s)) s) + (ht₀ : t₀ ∈ Ioo a b) (ht : t ∈ Ioo a b) : + u t = schrodingerFlow (t - t₀) (u t₀) + + ∫ s in t₀..t, schrodingerFlow (t - s) (j s) := by + have h := congrArg (schrodingerFlow t) + (forcedSobolevDuhamel_identity u j a b t₀ t hj hu ht₀ ht) + rw [map_add, ← (schrodingerFlow t).intervalIntegral_comp_comm] at h + simpa only [inverseSchrodingerCurve, ← schrodingerFlow_add, add_neg_cancel, + schrodingerFlow_zero, ← sub_eq_add_neg] using h + +/-- Continuous upper-space forcing upgrades the interaction curve to a classical one. -/ +theorem hasDerivAt_forced_inverseSchrodingerCurve + (u j : ℝ → FourierL2) (a b t : ℝ) + (hj : ContinuousOn j (Ioo a b)) + (hu : ∀ s ∈ Ioo a b, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u s) + lowerSobolevInclusion (j s)) s) + (ht : t ∈ Ioo a b) : + HasDerivAt (inverseSchrodingerCurve u) (schrodingerFlow (-t) (j t)) t := by + have hF := continuousOn_rotatedSchrodingerForcing j (Ioo a b) hj + have hFt : ContinuousAt (fun s => schrodingerFlow (-s) (j s)) t := + (hF t ht).continuousAt (isOpen_Ioo.mem_nhds ht) + have hint : IntervalIntegrable (fun s => schrodingerFlow (-s) (j s)) volume t t := by simp + have hd := (intervalIntegral.integral_hasDerivAt_right hint + (hF.stronglyMeasurableAtFilter isOpen_Ioo t ht) hFt).const_add (inverseSchrodingerCurve u t) + have he : inverseSchrodingerCurve u =ᶠ[𝓝 t] + (fun s => inverseSchrodingerCurve u t + ∫ r in t..s, schrodingerFlow (-r) (j r)) := by + filter_upwards [isOpen_Ioo.mem_nhds ht] with s hs + exact forcedSobolevDuhamel_identity u j a b t s hj hu ht hs + exact hd.congr_of_eventuallyEq he + +/-- An approximate nonlinear Schrödinger trajectory has the exact rotated residual. -/ +theorem hasDerivAt_residual_inverseSchrodingerCurve + (k : ℝ) (hk : 6 < k) (m : ℕ) (u r : ℝ → FourierL2) (a b t : ℝ) + (huc : ContinuousOn u (Ioo a b)) (hrc : ContinuousOn r (Ioo a b)) + (hu : ∀ s ∈ Ioo a b, HasDerivAt (fun x => lowerSobolevInclusion (u x)) + (lowerSobolevGenerator (u s) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u s)) + + lowerSobolevInclusion (r s)) s) + (ht : t ∈ Ioo a b) : + HasDerivAt (inverseSchrodingerCurve u) + (schrodingerInteractionField k hk m t (inverseSchrodingerCurve u t) + + schrodingerFlow (-t) (r t)) t := by + let j : ℝ → FourierL2 := fun s => (-Complex.I) • sobolevOddPower k hk m (u s) + r s + have hj : ContinuousOn j (Ioo a b) := + (((contDiff_sobolevOddPower k hk m).continuous.comp_continuousOn huc).const_smul + (-Complex.I)).add hrc + have h := hasDerivAt_forced_inverseSchrodingerCurve u j a b t hj + (fun s hs => by simpa [j, map_add, map_smul, sub_eq_add_neg, add_assoc] using hu s hs) ht + apply h.congr_deriv + simp [j, schrodingerInteractionField, inverseSchrodingerCurve, map_add, map_smul, + ← schrodingerFlow_add] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..93e4a34b5d8834964e9fb9d758247d956dc54368 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerGenerator.lean @@ -0,0 +1,153 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerFlow +import Mathlib.Analysis.Calculus.UniformLimitsDeriv +import Mathlib.Analysis.SpecialFunctions.ExpDeriv +import Mathlib.Analysis.Complex.RealDeriv + +namespace OAI + +/-! +# Two-derivative loss for the free Schrödinger evolution + +In the common weighted-ℓ² model, the inclusion from `H^k` to `H^(k-2)` +multiplies by `(1+|n|²)⁻¹`. The time derivative is the bounded multiplier +`-i |n|²/(1+|n|²)`. Finite Fourier sums give the derivative of the full +flow by uniform convergence of their derivatives. +-/ + +open Filter Topology +open scoped ENNReal + +namespace DefocusingNLS + +/-- A bounded Fourier multiplier of norm at most one. -/ +noncomputable def fourierContraction (m : frequencyLattice → ℂ) + (hm : ∀ n, ‖m n‖ ≤ 1) : FourierL2 →L[ℂ] FourierL2 := + LinearMap.mkContinuous + { toFun := fun f => ⟨fun n => m n * f n, (lp.memℓp f).mono' (by + intro n + rw [norm_mul] + simpa using mul_le_mul_of_nonneg_right (hm n) (norm_nonneg (f n)))⟩ + map_add' := by + intro f g + ext n + change m n * (f n + g n) = m n * f n + m n * g n + exact mul_add _ _ _ + map_smul' := by + intro c f + ext n + change m n * (c * f n) = c * (m n * f n) + ring } + 1 (by + intro f + simp only [one_mul] + apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0) + intro n + change ‖m n * f n‖ ≤ ‖f n‖ + rw [norm_mul] + simpa using mul_le_mul_of_nonneg_right (hm n) (norm_nonneg (f n))) + +@[simp] theorem fourierContraction_apply (m : frequencyLattice → ℂ) + (hm : ∀ n, ‖m n‖ ≤ 1) (f : FourierL2) (n : frequencyLattice) : + fourierContraction m hm f n = m n * f n := rfl + +/-- The continuous inclusion from `H^k` into `H^(k-2)`, in weighted coordinates. -/ +noncomputable def lowerSobolevInclusion : FourierL2 →L[ℂ] FourierL2 := + fourierContraction (fun n => (((1 + ‖n‖ ^ 2)⁻¹ : ℝ) : ℂ)) (by + intro n + rw [Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact inv_le_one_of_one_le₀ (le_add_of_nonneg_right (sq_nonneg _))) + +/-- The free Schrödinger generator, with the loss of two Sobolev derivatives. -/ +noncomputable def lowerSobolevGenerator : FourierL2 →L[ℂ] FourierL2 := + fourierContraction (fun n => -Complex.I * (((‖n‖ ^ 2 / (1 + ‖n‖ ^ 2)) : ℝ) : ℂ)) (by + intro n + rw [norm_mul, norm_neg, Complex.norm_I, one_mul, Complex.norm_real, + Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact (div_le_one (by positivity)).mpr (by linarith [sq_nonneg ‖n‖])) + +@[simp] theorem lowerSobolevInclusion_apply (f : FourierL2) (n : frequencyLattice) : + lowerSobolevInclusion f n = (((1 + ‖n‖ ^ 2)⁻¹ : ℝ) : ℂ) * f n := rfl + +@[simp] theorem lowerSobolevGenerator_apply (f : FourierL2) (n : frequencyLattice) : + lowerSobolevGenerator f n = + -Complex.I * (((‖n‖ ^ 2 / (1 + ‖n‖ ^ 2)) : ℝ) : ℂ) * f n := rfl + +/-- The inclusion changes the Sobolev index without changing physical Fourier coefficients. -/ +theorem sobolevFourierCoefficient_lower_inclusion (k : ℝ) (f : FourierL2) + (n : frequencyLattice) : + sobolevFourierCoefficient (k - 2) (lowerSobolevInclusion f) n = + sobolevFourierCoefficient k f n := by + unfold sobolevFourierCoefficient + rw [lowerSobolevInclusion_apply] + change (((1 + ‖n‖ ^ 2) ^ (-(k - 2) / 2) : ℝ) : ℂ) * + ((((1 + ‖n‖ ^ 2)⁻¹ : ℝ) : ℂ) * f n) = + (((1 + ‖n‖ ^ 2) ^ (-k / 2) : ℝ) : ℂ) * f n + rw [← mul_assoc, ← Complex.ofReal_mul, ← Real.rpow_neg_one, + ← Real.rpow_add (by positivity)] + congr 3 + ring + +/-- Applying the free group to one coordinate keeps that coordinate. -/ +theorem schrodingerFlow_single (t : ℝ) (n : frequencyLattice) (c : ℂ) : + schrodingerFlow t (lp.single 2 n c) = + lp.single 2 n (schrodingerMultiplier t n * c) := by + ext j + by_cases h : j = n + · subst j + simp + · simp [lp.single_apply, h] + +/-- Uniform-in-time convergence of the finite Fourier approximations. -/ +theorem tendstoUniformly_schrodingerFlow_partials (f : FourierL2) : + TendstoUniformly + (fun S : Finset frequencyLattice => fun t : ℝ => + ∑ n ∈ S, lp.single 2 n (schrodingerMultiplier t n * f n)) + (fun t => schrodingerFlow t f) atTop := by + rw [Metric.tendstoUniformly_iff] + intro ε hε + have hs := lp.hasSum_single (by norm_num : (2 : ℝ≥0∞) ≠ ∞) f + rw [HasSum, Metric.tendsto_nhds] at hs + filter_upwards [hs ε hε] with S hS t + have heq : (∑ n ∈ S, lp.single 2 n (schrodingerMultiplier t n * f n)) = + schrodingerFlow t (∑ n ∈ S, lp.single 2 n (f n)) := by + simp only [map_sum, schrodingerFlow_single] + rw [heq, (schrodingerFlow t).isometry.dist_eq] + simpa only [dist_comm] using hS + +/-- The scalar phase has the exact Schrödinger derivative. -/ +theorem hasDerivAt_schrodingerMultiplier_mul (n : frequencyLattice) (c : ℂ) (t : ℝ) : + HasDerivAt (fun s : ℝ => schrodingerMultiplier s n * c) + (schrodingerMultiplier t n * (-Complex.I * ((‖n‖ ^ 2 : ℝ) : ℂ) * c)) t := by + have h := (((((hasDerivAt_id (t : ℂ)).mul_const ((‖n‖ ^ 2 : ℝ) : ℂ)).const_mul + (-Complex.I)).cexp).mul_const c).comp_ofReal + simpa [schrodingerMultiplier, mul_assoc] using h + +/-- Coordinatewise Schrödinger differentiation yields differentiation in ℓ² +when the derivative coordinates also form an ℓ² vector. -/ +theorem hasDerivAt_schrodingerFlow_of_generator (f v : FourierL2) + (hv : ∀ n, v n = -Complex.I * ((‖n‖ ^ 2 : ℝ) : ℂ) * f n) (t : ℝ) : + HasDerivAt (fun s : ℝ => schrodingerFlow s f) (schrodingerFlow t v) t := by + apply hasDerivAt_of_tendstoUniformly (tendstoUniformly_schrodingerFlow_partials v) + (Filter.Eventually.of_forall ?_) (fun s => + (tendstoUniformly_schrodingerFlow_partials f).tendsto_at s) t + intro S s + apply HasDerivAt.fun_sum + intro n _ + let L := (lp.singleContinuousLinearMap ℂ (fun _ : frequencyLattice => ℂ) 2 n).restrictScalars ℝ + have h := L.hasFDerivAt.comp_hasDerivAt s (hasDerivAt_schrodingerMultiplier_mul n (f n) s) + simpa only [hv n, L, Function.comp_def, ContinuousLinearMap.coe_restrictScalars', + lp.singleContinuousLinearMap_apply] using h + +/-- The free evolution is differentiable as an `H^(k-2)`-valued function. -/ +theorem hasDerivAt_lowerSobolev_schrodingerFlow (f : FourierL2) (t : ℝ) : + HasDerivAt (fun s => schrodingerFlow s (lowerSobolevInclusion f)) + (schrodingerFlow t (lowerSobolevGenerator f)) t := by + apply hasDerivAt_schrodingerFlow_of_generator + intro n + simp only [lowerSobolevGenerator_apply, lowerSobolevInclusion_apply, Complex.ofReal_div, + Complex.ofReal_inv] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerInteraction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerInteraction.lean new file mode 100644 index 0000000000000000000000000000000000000000..6c3173a72bd166e945788c17efbfb77490373249 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerInteraction.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevPolynomialBounds +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerFlow + +namespace OAI + +/-! # The interaction representation of the semilinear Schrödinger equation -/ + +open Filter Topology + +namespace DefocusingNLS + +/-- Strong continuity and the uniform isometry bound give joint continuity. -/ +theorem continuous_schrodingerFlow_uncurry : + Continuous (fun p : ℝ × FourierL2 => schrodingerFlow p.1 p.2) := by + rw [continuous_iff_continuousAt] + intro p + apply Metric.tendsto_nhds.mpr + intro ε hε + have hu : ∀ᶠ q : ℝ × FourierL2 in 𝓝 p, dist q.2 p.2 < ε / 2 := + (continuous_snd.continuousAt.tendsto).eventually + (Metric.ball_mem_nhds p.2 (by linarith)) + have hs : ∀ᶠ q : ℝ × FourierL2 in 𝓝 p, + dist (schrodingerFlow q.1 p.2) (schrodingerFlow p.1 p.2) < ε / 2 := + (((continuous_schrodingerFlow p.2).comp continuous_fst).continuousAt.tendsto).eventually + (Metric.ball_mem_nhds _ (by linarith)) + filter_upwards [hu, hs] with q hqu hqs + calc + _ ≤ dist (schrodingerFlow q.1 q.2) (schrodingerFlow q.1 p.2) + + dist (schrodingerFlow q.1 p.2) (schrodingerFlow p.1 p.2) := dist_triangle _ _ _ + _ = dist q.2 p.2 + dist (schrodingerFlow q.1 p.2) (schrodingerFlow p.1 p.2) := by + rw [(schrodingerFlow q.1).dist_map] + _ < ε := by linarith + +/-- The derivative field for `v(t) = S(-t)u(t)` in the defocusing equation. -/ +noncomputable def schrodingerInteractionField (k : ℝ) (hk : 6 < k) (m : ℕ) + (t : ℝ) (f : FourierL2) : FourierL2 := + (-Complex.I) • schrodingerFlow (-t) (sobolevOddPower k hk m (schrodingerFlow t f)) + +theorem continuous_schrodingerInteractionField (k : ℝ) (hk : 6 < k) (m : ℕ) : + Continuous (fun p : ℝ × FourierL2 => schrodingerInteractionField k hk m p.1 p.2) := by + have hN : Continuous (fun p : ℝ × FourierL2 => + sobolevOddPower k hk m (schrodingerFlow p.1 p.2)) := + (contDiff_sobolevOddPower k hk m).continuous.comp continuous_schrodingerFlow_uncurry + exact (continuous_schrodingerFlow_uncurry.comp + ((continuous_fst.neg).prodMk hN)).const_smul (-Complex.I) + +theorem norm_schrodingerInteractionField (k : ℝ) (hk : 6 < k) (m : ℕ) + (t : ℝ) (f : FourierL2) : + ‖schrodingerInteractionField k hk m t f‖ = + ‖sobolevOddPower k hk m (schrodingerFlow t f)‖ := by + simp [schrodingerInteractionField, norm_smul] + +theorem norm_schrodingerInteractionField_sub (k : ℝ) (hk : 6 < k) (m : ℕ) + (t : ℝ) (f g : FourierL2) : + ‖schrodingerInteractionField k hk m t f - schrodingerInteractionField k hk m t g‖ = + ‖sobolevOddPower k hk m (schrodingerFlow t f) - + sobolevOddPower k hk m (schrodingerFlow t g)‖ := by + unfold schrodingerInteractionField + rw [← smul_sub, ← map_sub, norm_smul, LinearIsometry.norm_map] + simp + +/-- The interaction vector field has time-uniform bounds and Lipschitz constants on norm balls. -/ +theorem exists_schrodingerInteractionField_ball_bounds (k : ℝ) (hk : 6 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ A K : ℝ, 0 ≤ A ∧ 0 ≤ K ∧ + (∀ t (f : FourierL2), ‖f‖ ≤ R → ‖schrodingerInteractionField k hk m t f‖ ≤ A) ∧ + (∀ t (f g : FourierL2), ‖f‖ ≤ R → ‖g‖ ≤ R → + ‖schrodingerInteractionField k hk m t f - + schrodingerInteractionField k hk m t g‖ ≤ K * ‖f - g‖) := by + obtain ⟨A, K, hA, hK, hbound, hlip⟩ := exists_sobolevOddPower_ball_bounds k hk m R hR + refine ⟨A, K, hA, hK, ?_, ?_⟩ + · intro t f hf + rw [norm_schrodingerInteractionField] + exact hbound _ (by simpa using hf) + · intro t f g hf hg + rw [norm_schrodingerInteractionField_sub] + have h := hlip (schrodingerFlow t f) (schrodingerFlow t g) + (by simpa using hf) (by simpa using hg) + simpa only [← map_sub, LinearIsometry.norm_map] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerNonlinearEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerNonlinearEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..c56fefe780dfc1393f0963380165891984fe31ee --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerNonlinearEquation.lean @@ -0,0 +1,139 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevLocalFlow +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerTorus +import Mathlib.Analysis.Calculus.Deriv.Slope + +namespace OAI + +/-! # Returning from the interaction equation to the Schrödinger equation -/ + +open Filter Topology Set + +namespace DefocusingNLS + +/-- A differentiable Sobolev curve under the free group loses exactly two derivatives. -/ +theorem hasDerivAt_lowerSobolev_schrodingerCurve + (v : ℝ → FourierL2) (v' : FourierL2) (t : ℝ) (hv : HasDerivAt v v' t) : + HasDerivAt (fun s => schrodingerFlow s (lowerSobolevInclusion (v s))) + (schrodingerFlow t (lowerSobolevGenerator (v t)) + + schrodingerFlow t (lowerSobolevInclusion v')) t := by + let w : ℝ → FourierL2 := fun s => + schrodingerFlow s (lowerSobolevInclusion (v s - v t)) + have hw : HasDerivAt w (schrodingerFlow t (lowerSobolevInclusion v')) t := by + rw [hasDerivAt_iff_tendsto_slope] + have hl := ((lowerSobolevInclusion.restrictScalars ℝ).continuous.tendsto v').comp + hv.tendsto_slope + have hp := (tendsto_id.mono_left (nhdsWithin_le_nhds : 𝓝[≠] t ≤ 𝓝 t)).prodMk_nhds hl + have h := continuous_schrodingerFlow_uncurry.continuousAt.tendsto.comp hp + change Tendsto (fun s => schrodingerFlow s (lowerSobolevInclusion (slope v t s))) + (𝓝[≠] t) (𝓝 (schrodingerFlow t (lowerSobolevInclusion v'))) at h + have hreal (s c : ℝ) (z : FourierL2) : schrodingerFlow s (c • z) = c • schrodingerFlow s z := + (schrodingerFlow s).toLinearMap.map_smul_of_tower c z + apply h.congr' + filter_upwards with s + simp [w, slope, hreal] + have hfixed := hasDerivAt_lowerSobolev_schrodingerFlow (v t) t + convert hfixed.add hw using 1 + funext s + dsimp [w] + rw [← map_add, ← map_add] + congr 2 + abel + +/-- The local interaction solution gives the nonlinear Schrödinger equation in `H^(k-2)`. -/ +theorem hasDerivAt_of_schrodingerInteraction + (k : ℝ) (hk : 6 < k) (m : ℕ) (v : ℝ → FourierL2) (t : ℝ) + (hv : HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) : + HasDerivAt (fun s => lowerSobolevInclusion (schrodingerFlow s (v s))) + (lowerSobolevGenerator (schrodingerFlow t (v t)) - + Complex.I • lowerSobolevInclusion + (sobolevOddPower k hk m (schrodingerFlow t (v t)))) t := by + have h := hasDerivAt_lowerSobolev_schrodingerCurve v _ t hv + convert h using 1 + · funext s + exact lowerSobolevInclusion_schrodingerFlow s (v s) + · rw [lowerSobolevGenerator_schrodingerFlow] + unfold schrodingerInteractionField + rw [map_smul, lowerSobolevInclusion_schrodingerFlow, map_smul, + ← schrodingerFlow_add] + simp [sub_eq_add_neg] + +/-- A continuous Sobolev curve remains continuous after free evolution. -/ +theorem continuousOn_schrodingerFlow_curve (v : ℝ → FourierL2) (J : Set ℝ) + (hv : ContinuousOn v J) : ContinuousOn (fun s => schrodingerFlow s (v s)) J := by + intro t ht + have hp : ContinuousWithinAt (fun s : ℝ => (s, v s)) J t := + (continuousWithinAt_id : ContinuousWithinAt (id : ℝ → ℝ) J t).prodMk (hv t ht) + exact ContinuousAt.comp_continuousWithinAt + (f := fun s : ℝ => (s, v s)) + (g := fun p : ℝ × FourierL2 => schrodingerFlow p.1 p.2) + (continuous_schrodingerFlow_uncurry.continuousAt (x := (t, v t))) hp + +/-- Every initial Sobolev vector admits a local solution of the actual semilinear equation. -/ +theorem exists_local_sobolevSchrodingerSolution + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) : + ∃ T : ℝ, 0 < T ∧ ∃ u : ℝ → FourierL2, u 0 = f₀ ∧ + ContinuousOn u (Ioo (-T) T) ∧ + ∀ t ∈ Ioo (-T) T, + HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t := by + obtain ⟨T, hT, v, hv₀, hv⟩ := exists_sobolevInteractionSolution k hk m f₀ + let u : ℝ → FourierL2 := fun s => schrodingerFlow s (v s) + refine ⟨T, hT, u, by simp [u, hv₀], ?_, ?_⟩ + · have hvc : ContinuousOn v (Ioo (-T) T) := fun t ht => (hv t ht).continuousAt.continuousWithinAt + exact continuousOn_schrodingerFlow_curve v _ hvc + · intro t ht + exact hasDerivAt_of_schrodingerInteraction k hk m v t (hv t ht) + +/-- The nonlinear Sobolev equation gives the usual time derivative at every torus point. -/ +theorem hasDerivAt_nonlinearTorusFunction + (k : ℝ) (hk : 8 < k) (m : ℕ) (u : ℝ → FourierL2) + (t : ℝ) (x : SchrodingerTorus) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k (by linarith) m (u t))) t) : + HasDerivAt (fun s => sobolevTorusFunction k (u s) x) + (Complex.I * torusFourierLaplacian k (u t) x - + Complex.I * oddPowerNonlinearity m (sobolevTorusFunction k (u t) x)) t := by + let E := (sobolevPointEvaluation (k - 2) (by linarith) x).restrictScalars ℝ + have h := E.hasFDerivAt.comp_hasDerivAt t hu + have hinc (f : FourierL2) : E (lowerSobolevInclusion f) = sobolevTorusFunction k f x := by + change sobolevPointEvaluation (k - 2) (by linarith) x (lowerSobolevInclusion f) = _ + rw [← sobolevTorusFunction_apply, sobolevTorusFunction_lower_inclusion] + have hgen (f : FourierL2) : E (lowerSobolevGenerator f) = + Complex.I * torusFourierLaplacian k f x := by + change sobolevPointEvaluation (k - 2) (by linarith) x (lowerSobolevGenerator f) = _ + simp only [torusFourierLaplacian, sobolevTorusFunction_apply (k - 2) (by linarith), map_smul, + smul_eq_mul] + simp [← mul_assoc] + have hderiv : E (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k (by linarith) m (u t))) = + Complex.I * torusFourierLaplacian k (u t) x - + Complex.I * oddPowerNonlinearity m (sobolevTorusFunction k (u t) x) := by + change sobolevPointEvaluation (k - 2) (by linarith) x _ = _ + rw [map_sub, map_smul] + change E (lowerSobolevGenerator (u t)) - + Complex.I * E (lowerSobolevInclusion (sobolevOddPower k (by linarith) m (u t))) = _ + rw [hgen, hinc] + rw [sobolevOddPower_apply] + simpa only [Function.comp_def, hinc, hderiv] using h + +/-- The ordinary twelve-torus Laplacian and the actual odd power satisfy the defocusing PDE. -/ +theorem nonlinearTorusFunction_schrodinger_equation + (k : ℝ) (hk : 8 < k) (m : ℕ) (u : ℝ → FourierL2) + (t : ℝ) (x : SchrodingerTorus) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k (by linarith) m (u t))) t) : + Complex.I * deriv (fun s => sobolevTorusFunction k (u s) x) t + + (∑ j : Fin 12, deriv (deriv + (fun r => sobolevTorusFunction k (u t) (torusCoordinateLine x j r))) 0) - + oddPowerNonlinearity m (sobolevTorusFunction k (u t) x) = 0 := by + rw [(hasDerivAt_nonlinearTorusFunction k hk m u t x hu).deriv, + sum_coordinate_second_derivative_eq_laplacian k hk] + simp only [mul_sub, ← mul_assoc, Complex.I_mul_I, neg_one_mul] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerTorus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerTorus.lean new file mode 100644 index 0000000000000000000000000000000000000000..501cba5d36e7757db1067cbd586a13138739020b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchrodingerTorus.lean @@ -0,0 +1,133 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerGenerator + +namespace OAI + +/-! +# The free equation on the actual twelve-torus + +The Fourier Sobolev model embeds continuously into continuous functions for +`k>6`. For `k>8`, free evolution is differentiable in the continuous-function +norm, and its derivative is `i` times the continuous Fourier Laplacian. +-/ + +open Filter Topology +open scoped ENNReal + +namespace DefocusingNLS + +/-- The Fourier representation is a bounded linear map into continuous functions. -/ +noncomputable def sobolevTorusEmbedding (k : ℝ) (hk : 6 < k) : + FourierL2 →L[ℂ] C(SchrodingerTorus, ℂ) := + LinearMap.mkContinuous + { toFun := sobolevTorusFunction k + map_add' := by + intro f g + ext x + simp only [ContinuousMap.add_apply, sobolevTorusFunction_apply k hk, map_add] + map_smul' := by + intro c f + ext x + simp only [ContinuousMap.smul_apply, sobolevTorusFunction_apply k hk, + map_smul, RingHom.id_apply] } + ‖sobolevObservationVector k hk‖ (by + intro f + apply (ContinuousMap.norm_le _ (by positivity)).mpr + intro x + change ‖sobolevTorusFunction k f x‖ ≤ ‖sobolevObservationVector k hk‖ * ‖f‖ + rw [sobolevTorusFunction_apply k hk] + exact sobolevPointEvaluation_bound k hk x f) + +@[simp] theorem sobolevTorusEmbedding_apply (k : ℝ) (hk : 6 < k) (f : FourierL2) : + sobolevTorusEmbedding k hk f = sobolevTorusFunction k f := rfl + +/-- Lowering the index of a Sobolev vector preserves its continuous torus function. -/ +theorem sobolevTorusFunction_lower_inclusion (k : ℝ) (f : FourierL2) : + sobolevTorusFunction (k - 2) (lowerSobolevInclusion f) = sobolevTorusFunction k f := by + unfold sobolevTorusFunction + congr 1 + funext n + simp only [sobolevTorusTerm, sobolevFourierCoefficient_lower_inclusion] + +theorem lowerSobolevInclusion_schrodingerFlow (t : ℝ) (f : FourierL2) : + lowerSobolevInclusion (schrodingerFlow t f) = + schrodingerFlow t (lowerSobolevInclusion f) := by + ext n + simp only [lowerSobolevInclusion_apply, schrodingerFlow_apply] + ring + +theorem lowerSobolevGenerator_schrodingerFlow (t : ℝ) (f : FourierL2) : + lowerSobolevGenerator (schrodingerFlow t f) = + schrodingerFlow t (lowerSobolevGenerator f) := by + ext n + simp only [lowerSobolevGenerator_apply, schrodingerFlow_apply] + ring + +/-- The spectral Laplacian, represented as a continuous function for `k>8`. -/ +noncomputable def torusFourierLaplacian (k : ℝ) (f : FourierL2) : + C(SchrodingerTorus, ℂ) := + sobolevTorusFunction (k - 2) (-Complex.I • lowerSobolevGenerator f) + +/-- The Fourier Laplacian has precisely the multiplier `-|n|²`. -/ +theorem sobolevFourierCoefficient_laplacian (k : ℝ) (f : FourierL2) + (n : frequencyLattice) : + sobolevFourierCoefficient (k - 2) (-Complex.I • lowerSobolevGenerator f) n = + -((‖n‖ ^ 2 : ℝ) : ℂ) * sobolevFourierCoefficient k f n := by + rw [← sobolevFourierCoefficient_lower_inclusion k f n] + unfold sobolevFourierCoefficient + simp only [lp.coeFn_smul, Pi.smul_apply, smul_eq_mul, Algebra.smul_def, + lowerSobolevGenerator_apply, + lowerSobolevInclusion_apply, Complex.ofReal_div, Complex.ofReal_inv] + have hi := Complex.I_sq + linear_combination + (((1 + ‖n‖ ^ 2) ^ (-(k - 2) / 2) : ℝ) : ℂ) * + (((1 + ‖n‖ ^ 2 : ℝ) : ℂ)⁻¹ * f n * ((‖n‖ ^ 2 : ℝ) : ℂ)) * hi + +/-- The Laplacian Fourier series converges absolutely and defines the stated function. -/ +theorem hasSum_torusFourierLaplacian (k : ℝ) (hk : 8 < k) (f : FourierL2) + (x : SchrodingerTorus) : + HasSum (fun n => -((‖n‖ ^ 2 : ℝ) : ℂ) * sobolevFourierCoefficient k f n * + torusCharacter n x) (torusFourierLaplacian k f x) := by + have h := hasSum_sobolevPointEvaluation (k - 2) (by linarith) x + (-Complex.I • lowerSobolevGenerator f) + simpa only [sobolevFourierCoefficient_laplacian, + ← sobolevTorusFunction_apply, torusFourierLaplacian] using h + +/-- The free evolution, represented by continuous functions on the torus. -/ +noncomputable def freeTorusEvolution (k : ℝ) (f : FourierL2) (t : ℝ) : + C(SchrodingerTorus, ℂ) := sobolevTorusFunction k (schrodingerFlow t f) + +/-- Free evolution solves the spectral Schrödinger equation in the continuous-function norm. -/ +theorem hasDerivAt_freeTorusEvolution (k : ℝ) (hk : 8 < k) (f : FourierL2) (t : ℝ) : + HasDerivAt (freeTorusEvolution k f) + (Complex.I • torusFourierLaplacian k (schrodingerFlow t f)) t := by + let E := (sobolevTorusEmbedding (k - 2) (by linarith)).restrictScalars ℝ + have h := E.hasFDerivAt.comp_hasDerivAt t (hasDerivAt_lowerSobolev_schrodingerFlow f t) + have hfun : (fun s => E (schrodingerFlow s (lowerSobolevInclusion f))) = + freeTorusEvolution k f := by + funext s + change sobolevTorusFunction (k - 2) (schrodingerFlow s (lowerSobolevInclusion f)) = _ + rw [← lowerSobolevInclusion_schrodingerFlow, sobolevTorusFunction_lower_inclusion] + rfl + have hderiv : E (schrodingerFlow t (lowerSobolevGenerator f)) = + Complex.I • torusFourierLaplacian k (schrodingerFlow t f) := by + change sobolevTorusEmbedding (k - 2) (by linarith) + (schrodingerFlow t (lowerSobolevGenerator f)) = _ + rw [← lowerSobolevGenerator_schrodingerFlow] + unfold torusFourierLaplacian + rw [← sobolevTorusEmbedding_apply (k - 2) (by linarith), map_smul, smul_smul] + simp + simpa only [Function.comp_def, hfun, hderiv] using h + +/-- At every point of the torus, the time derivative equals `i` times the Fourier Laplacian. -/ +theorem hasDerivAt_freeTorusEvolution_point (k : ℝ) (hk : 8 < k) (f : FourierL2) + (x : SchrodingerTorus) (t : ℝ) : + HasDerivAt (fun s => freeTorusEvolution k f s x) + (Complex.I * torusFourierLaplacian k (schrodingerFlow t f) x) t := by + let E : C(SchrodingerTorus, ℂ) →L[ℝ] ℂ := + (ContinuousMap.evalCLM (R := ℂ) x).restrictScalars ℝ + have h := E.hasFDerivAt.comp_hasDerivAt t (hasDerivAt_freeTorusEvolution k hk f t) + simpa [E, Function.comp_def] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzAnnulusSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzAnnulusSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..fcde8896f497713db8df0a57e688cb9b30483359 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzAnnulusSampling.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingDilation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAnnulusBounds + +namespace OAI + +/-! # Uniform sampling of physical symbol annuli + +The Fourier sample of a physical radius-R annulus has norm O(R^(-a)), +uniformly for L ≥ R. The constant uses finitely many symbol derivatives. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def schwartzPhysicalDilation (a R : ℝ) (hR : 0 < R) : + 𝓢(E, ℂ) →L[ℂ] 𝓢(E, ℂ) := + ((R ^ (-2 * a) : ℝ) : ℂ) • + SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 R⁻¹ (inv_ne_zero hR.ne')) • ContinuousLinearEquiv.refl ℝ E) + +@[simp] theorem schwartzPhysicalDilation_apply (a R : ℝ) (hR : 0 < R) + (ψ : 𝓢(E, ℂ)) (y : E) : + schwartzPhysicalDilation a R hR ψ y = + (R ^ (-2 * a) : ℝ) * ψ (R⁻¹ • y) := by + simp [schwartzPhysicalDilation] + +theorem radianFourierKernel_schwartzPhysicalDilation (a R : ℝ) (hR : 0 < R) + (ψ : 𝓢(E, ℂ)) : + radianFourierKernel (schwartzPhysicalDilation a R hR ψ) = + homogeneousFourierDilation a R hR (radianFourierKernel ψ) := by + ext ξ + rw [radianFourierKernel_apply, homogeneousFourierDilation_apply, + radianFourierKernel_apply] + have hf : (schwartzPhysicalDilation a R hR ψ : E → ℂ) = + ((R ^ (-2 * a) : ℝ) : ℂ) • (fun y => ψ (R⁻¹ • y)) := by + funext y + exact schwartzPhysicalDilation_apply a R hR ψ y + rw [hf, radianFourierIntegral_smul, Pi.smul_apply, radianFourier_dilation R hR] + have hp : R ^ (-2 * a) * R ^ (12 : ℕ) = R ^ (12 - 2 * a) := by + rw [← Real.rpow_natCast, ← Real.rpow_add hR] + congr 1 + norm_num + ring + simp only [Complex.real_smul, smul_eq_mul] + rw [← mul_assoc, ← Complex.ofReal_mul, hp] + +theorem schwartzPhysicalDilation_annulus (a R : ℝ) (hR : 0 < R) + (κ : 𝓢(E, ℂ)) (hκ : HasCompactSupport (κ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (y : E) : + schwartzPhysicalDilation a R hR + (homogeneousAnnulusPiece a R κ hκ Q hQ) y = κ (R⁻¹ • y) * Q y := by + rw [schwartzPhysicalDilation_apply] + exact homogeneousAnnulusPiece_rescale a R hR κ hκ Q hQ y + +theorem exists_schwartzAnnulusSample_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (κ : 𝓢(E, ℂ)) (hκ : HasCompactSupport (κ : E → ℂ)) + (hκann : ∀ x ∈ tsupport (κ : E → ℂ), (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∀ (R L : ℝ) (hR : 1 ≤ R) (hRL : R ≤ L), + ‖schwartzTorusSample a k L ha1 hk (hR.trans hRL) + (radianFourierKernel (schwartzPhysicalDilation a R (by linarith) + (homogeneousAnnulusPiece a R κ hκ Q hQ)))‖ ≤ C * D * R ^ (-a) := by + obtain ⟨N, C, hC, hbound⟩ := exists_schwartzTorusSample_physicalJet_bound a k ha1 hk + refine ⟨N, C * homogeneousAnnulusJetConstant a κ N, by + exact mul_nonneg hC (homogeneousAnnulusJetConstant_nonneg a κ N), ?_⟩ + intro Q hQ D hD hsymbol R L hR hRL + have hRp : 0 < R := by linarith + have hLR : 1 ≤ L / R := (le_div_iff₀ hRp).mpr (by simpa using hRL) + have hj := hbound (homogeneousAnnulusPiece a R κ hκ Q hQ) + (homogeneousAnnulusJetConstant a κ N * D) + (mul_nonneg (homogeneousAnnulusJetConstant_nonneg a κ N) hD) + (fun n hn x => homogeneousAnnulusPiece_jet_bound a R D ha hRp hD κ hκ hκann + Q hQ N hsymbol n hn x) (L / R) hLR + rw [radianFourierKernel_schwartzPhysicalDilation] + exact (schwartzTorusSample_homogeneousDilation_norm_le a k R L ha ha1 hk hR hRL + (radianFourierKernel (homogeneousAnnulusPiece a R κ hκ Q hQ))).trans + ((mul_le_mul_of_nonneg_left hj (Real.rpow_nonneg hRp.le _)).trans_eq (by ring)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCommutatorSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCommutatorSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..8ac2f2be5d06d720c327bea611cceef68aac4069 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCommutatorSampling.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProductCommutatorBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzTorusSampling + +namespace OAI + +/-! # Uniform commutator moments of sampled Schwartz coefficients -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem schwartzCommutator_decay (N : ℕ) (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ x : E, + ‖x‖ * (2 + ‖x‖) ^ N * ‖K x‖ ≤ C * ((1 + ‖x‖ ^ 2) ^ (12 : ℕ))⁻¹ := by + let M : ℝ := 2 ^ (N + 25) * + (Finset.Iic (N + 25, 0)).sup (fun m => SchwartzMap.seminorm ℂ m.1 m.2) K + have hM : 0 ≤ M := by dsimp only [M]; positivity + refine ⟨2 ^ N * M, by positivity, ?_⟩ + intro x + have hbase : (1 + ‖x‖) ^ (N + 25) * ‖K x‖ ≤ M := by + simpa only [norm_iteratedFDeriv_zero] using + SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℂ) + (m := (N + 25, 0)) (k := N + 25) (n := 0) (by rfl) (by rfl) K x + have hp : ‖x‖ * (2 + ‖x‖) ^ N ≤ 2 ^ N * (1 + ‖x‖) ^ (N + 1) := by + calc + _ ≤ (1 + ‖x‖) * (2 * (1 + ‖x‖)) ^ N := by gcongr <;> linarith [norm_nonneg x] + _ = _ := by rw [mul_pow, pow_succ]; ring + have hd : (1 + ‖x‖ ^ 2) ^ 12 ≤ (1 + ‖x‖) ^ 24 := by + calc + _ ≤ ((1 + ‖x‖) ^ 2) ^ 12 := + pow_le_pow_left₀ (by positivity) (by nlinarith [norm_nonneg x]) 12 + _ = _ := by rw [← pow_mul] + rw [← div_eq_mul_inv] + apply (le_div_iff₀ (by positivity : 0 < (1 + ‖x‖ ^ 2) ^ (12 : ℕ))).mpr + calc + _ ≤ (2 ^ N * (1 + ‖x‖) ^ (N + 1)) * ‖K x‖ * (1 + ‖x‖) ^ 24 := by gcongr + _ = 2 ^ N * ((1 + ‖x‖) ^ (N + 25) * ‖K x‖) := by + rw [show N + 25 = (N + 1) + 24 by omega, pow_add] + ring + _ ≤ _ := mul_le_mul_of_nonneg_left hbase (by positivity) + +theorem exists_schwartzCommutator_sampling_bound (N : ℕ) (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : ℝ, 1 ≤ L → + Summable (expandingCommutatorMoment L N (schwartzLatticeCoefficient L K)) ∧ + (∑' m, expandingCommutatorMoment L N (schwartzLatticeCoefficient L K) m) ≤ C := by + obtain ⟨D, hD, hd⟩ := schwartzCommutator_decay N K + refine ⟨((2 * Real.pi) ^ (12 : ℕ))⁻¹ * D * (1 + 2 * Real.pi) ^ (12 : ℕ), by positivity, ?_⟩ + intro L hL + have hLp : 0 < L := by linarith + let A : ℝ := ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * D + have hA : 0 ≤ A := by dsimp only [A]; positivity + obtain ⟨hs, hb⟩ := scaledRadialKernel_sum L hL + have hm (m : frequencyLattice) : expandingCommutatorMoment L N (schwartzLatticeCoefficient L K) m ≤ + A * ((1 + ‖(L⁻¹ : ℝ) • (m : E)‖ ^ 2) ^ (12 : ℕ))⁻¹ := by + have hn : ‖(L⁻¹ : ℝ) • (m : E)‖ = ‖m‖ / L := by + rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_of_pos hLp, Submodule.norm_coe, div_eq_inv_mul] + have he := mul_le_mul_of_nonneg_left (hd ((L⁻¹ : ℝ) • (m : E))) + (show 0 ≤ ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ by positivity) + rw [hn] at he + dsimp only [expandingCommutatorMoment, schwartzLatticeCoefficient, A] + rw [norm_mul, Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (by positivity)] + rw [hn] + convert he using 1 <;> ring + have hsum := Summable.of_nonneg_of_le + (expandingCommutatorMoment_nonneg L hL N (schwartzLatticeCoefficient L K)) hm (hs.mul_left A) + refine ⟨hsum, ?_⟩ + calc + _ ≤ ∑' m : frequencyLattice, A * ((1 + ‖(L⁻¹ : ℝ) • (m : E)‖ ^ 2) ^ (12 : ℕ))⁻¹ := + hsum.tsum_le_tsum hm (hs.mul_left A) + _ = A * ∑' m : frequencyLattice, ((1 + ‖(L⁻¹ : ℝ) • (m : E)‖ ^ 2) ^ (12 : ℕ))⁻¹ := tsum_mul_left + _ ≤ A * (((1 + 2 * Real.pi) * L) ^ (12 : ℕ)) := mul_le_mul_of_nonneg_left hb hA + _ = _ := by dsimp only [A]; rw [mul_pow, mul_pow]; field_simp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCompactContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCompactContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..6a973a6d37b944777d504cd0395c381399998d50 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCompactContinuity.lean @@ -0,0 +1,114 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingSum +import Mathlib.Topology.UniformSpace.HeineCantor + +namespace OAI + +/-! # Continuity of smooth families with a common compact support + +The support is fixed only after rescaling the physical cutoff. No decay or +symbol hypothesis on the smooth coefficient is needed for this local result. +-/ + +open Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +/-- Spatial derivatives of a jointly smooth family vary jointly continuously. -/ +theorem continuous_spatial_iteratedFDeriv (F : ℝ × E → ℂ) + (hF : ContDiff ℝ ∞ F) (n : ℕ) : + Continuous (fun p : ℝ × E => iteratedFDeriv ℝ n (fun x => F (p.1, x)) p.2) := by + let J : E →L[ℝ] ℝ × E := ContinuousLinearMap.inr ℝ ℝ E + have he (t : ℝ) (x : E) : + iteratedFDeriv ℝ n (fun y => F (t, y)) x = + (iteratedFDeriv ℝ n F (t, x)).compContinuousLinearMap (fun _ => J) := by + have h := J.iteratedFDeriv_comp_right + (hF.comp (contDiff_const.add contDiff_id) : + ContDiff ℝ ∞ (fun z : ℝ × E => F ((t, 0) + z))) x (by simp : (n : ℕ∞ω) ≤ ∞) + simpa only [J, Function.comp_def, ContinuousLinearMap.inr_apply, + Prod.mk_add_mk, add_zero, zero_add, + iteratedFDeriv_comp_add_left] using h + simp_rw [he] + exact (ContinuousMultilinearMap.compContinuousLinearMapL + (fun _ : Fin n => J)).continuous.comp (hF.continuous_iteratedFDeriv (by simp)) + +/-- Jointly continuous spatial jets and a fixed compact support give Schwartz continuity. -/ +theorem continuous_schwartz_of_common_compact_support + {P : Type*} [UniformSpace P] [WeaklyLocallyCompactSpace P] + (f : P → 𝓢(E, ℂ)) (K : Set E) (hK : IsCompact K) + (hs : ∀ t, tsupport (f t : E → ℂ) ⊆ K) + (hj : ∀ n : ℕ, Continuous + (fun p : P × E => iteratedFDeriv ℝ n (f p.1) p.2)) : Continuous f := by + obtain ⟨R, hR⟩ := hK.isBounded.exists_norm_le + let B : ℝ := max R 1 + have hB : 0 < B := lt_of_lt_of_le zero_lt_one (le_max_right _ _) + rw [continuous_iff_continuousAt] + intro t + apply ((schwartz_withSeminorms ℝ E ℂ).tendsto_nhds f (f t)).mpr + rintro ⟨i, n⟩ ε hε + let : CompactSpace K := isCompact_iff_compactSpace.mp hK + have hu : TendstoUniformly + (fun s : P => fun x : K => iteratedFDeriv ℝ n (f s) x) + (fun x : K => iteratedFDeriv ℝ n (f t) x) (𝓝 t) := + Continuous.tendstoUniformly _ + ((hj n).comp (continuous_fst.prodMk (continuous_subtype_val.comp continuous_snd))) t + have hd := (Metric.tendstoUniformly_iff.mp hu) + (ε / (2 * B ^ i)) (by positivity) + filter_upwards [hd] with s hst + have hb : SchwartzMap.seminorm ℝ i n (f s - f t) ≤ ε / 2 := by + apply SchwartzMap.seminorm_le_bound ℝ i n _ (by positivity) + intro x + by_cases hx : x ∈ K + · have hdx : ‖iteratedFDeriv ℝ n (f s) x - iteratedFDeriv ℝ n (f t) x‖ < + ε / (2 * B ^ i) := by + simpa only [dist_eq_norm, norm_sub_rev] using hst ⟨x, hx⟩ + have hxB : ‖x‖ ≤ B := (hR x hx).trans (le_max_left _ _) + have hdif : iteratedFDeriv ℝ n (f s - f t) x = + iteratedFDeriv ℝ n (f s) x - iteratedFDeriv ℝ n (f t) x := + iteratedFDeriv_sub_apply ((f s).smooth'.contDiffAt.of_le (by simp)) + ((f t).smooth'.contDiffAt.of_le (by simp)) + rw [hdif] + calc + _ ≤ B ^ i * ‖iteratedFDeriv ℝ n (f s) x - iteratedFDeriv ℝ n (f t) x‖ := + mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (norm_nonneg _) hxB i) (norm_nonneg _) + _ ≤ B ^ i * (ε / (2 * B ^ i)) := + mul_le_mul_of_nonneg_left hdx.le (by positivity) + _ = ε / 2 := by field_simp + · have hzero (u : P) : iteratedFDeriv ℝ n (f u) x = 0 := by + by_contra hn + exact hx (hs u (support_iteratedFDeriv_subset n hn)) + have hdif : iteratedFDeriv ℝ n (f s - f t) x = + iteratedFDeriv ℝ n (f s) x - iteratedFDeriv ℝ n (f t) x := + iteratedFDeriv_sub_apply ((f s).smooth'.contDiffAt.of_le (by simp)) + ((f t).smooth'.contDiffAt.of_le (by simp)) + rw [hdif, hzero s, hzero t, sub_self, norm_zero, mul_zero] + positivity + exact hb.trans_lt (by linarith) + +/-- Multiplication of a jointly smooth family by a fixed compact cutoff. -/ +noncomputable def compactSmoothFamily (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (F : ℝ × E → ℂ) + (hF : ContDiff ℝ ∞ F) (t : ℝ) : 𝓢(E, ℂ) := + (hκ.mul_right (f' := fun x => F (t, x))).toSchwartzMap + (κ.smooth'.mul (hF.comp (contDiff_const.prodMk contDiff_id))) + +@[simp] theorem compactSmoothFamily_apply (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (F : ℝ × E → ℂ) + (hF : ContDiff ℝ ∞ F) (t : ℝ) (x : E) : + compactSmoothFamily κ hκ F hF t x = κ x * F (t, x) := rfl + +theorem continuous_compactSmoothFamily (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (F : ℝ × E → ℂ) + (hF : ContDiff ℝ ∞ F) : Continuous (compactSmoothFamily κ hκ F hF) := by + apply continuous_schwartz_of_common_compact_support _ (tsupport (κ : E → ℂ)) hκ + · intro t + exact tsupport_mul_subset_left + · intro n + exact continuous_spatial_iteratedFDeriv (fun p => κ p.2 * F p) + ((κ.smooth'.comp contDiff_snd).mul hF) n + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCoreSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCoreSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..090d92182048567cc494fe2ec095eb4c3ff1e23c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCoreSampling.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzScaledCutoff + +namespace OAI + +/-! # Uniform sampling of the fixed compact core of a profile -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_schwartz_weightedJet_bound (ψ : 𝓢(E, ℂ)) (N : ℕ) : + ∃ D : ℝ, 0 ≤ D ∧ ∀ n ≤ N, ∀ x : E, + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ ≤ D := by + let D : ℝ := 2 ^ N * (Finset.Iic (N, N)).sup (schwartzSeminormFamily ℝ E ℂ) ψ + refine ⟨D, by dsimp [D]; positivity, ?_⟩ + intro n hn x + simpa only [D, schwartzSeminormFamily] using! + SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℝ) + (m := (N, N)) (k := N) (n := n) le_rfl hn ψ x + +theorem exists_schwartzCore_sampling_bound (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (χ ψ : 𝓢(E, ℂ)) (hψ : HasCompactSupport (ψ : E → ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), + ‖schwartzTorusSample a k L ha1 hk hL + (radianFourierKernel (schwartzScaledCutoff L⁻¹ χ ψ hψ))‖ ≤ C := by + obtain ⟨N, C, hC, hb⟩ := exists_schwartzTorusSample_physicalJet_bound a k ha1 hk + obtain ⟨D, hD, hjet⟩ := exists_schwartz_weightedJet_bound ψ N + let B := schwartzCutoffJetConstant χ N + have hB : 0 ≤ B := schwartzCutoffJetConstant_nonneg χ N + refine ⟨C * (B * D), mul_nonneg hC (mul_nonneg hB hD), ?_⟩ + intro L hL + have hLp : 0 < L := by linarith + exact hb (schwartzScaledCutoff L⁻¹ χ ψ hψ) (B * D) (mul_nonneg hB hD) + (fun n hn x => schwartzScaledCutoff_jet_bound L⁻¹ D (inv_pos.mpr hLp) + ((inv_le_one₀ hLp).mpr hL) hD χ ψ hψ N hjet n hn x) L hL + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCutoffAnnulusSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCutoffAnnulusSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..5941927011c87f052b7d73f50191bc4178a8ddfa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCutoffAnnulusSampling.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzScaledCutoff + +namespace OAI + +/-! # Uniform samples of cutoff profile annuli + +This combines actual symbol jets, a cutoff varying at scale L, and the exact +radius-R sampling law. All constants are independent of 1 ≤ R ≤ L. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def cutoffProfileAnnulus (a R L : ℝ) (χ κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + 𝓢(E, ℂ) := + schwartzScaledCutoff (R / L) χ (homogeneousAnnulusPiece a R κ hκ Q hQ) + (hκ.mul_right (f' := normalizedPhysicalProfile a R Q)) + +theorem cutoffProfileAnnulus_physical (a R L : ℝ) (hR : 0 < R) (hL : 0 < L) + (χ κ : 𝓢(E, ℂ)) (hκ : HasCompactSupport (κ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (y : E) : + schwartzPhysicalDilation a R hR (cutoffProfileAnnulus a R L χ κ hκ Q hQ) y = + κ (R⁻¹ • y) * Q y * χ (L⁻¹ • y) := by + have harg : (R / L) • (R⁻¹ • y) = L⁻¹ • y := by + rw [smul_smul] + congr 1 + field_simp + rw [schwartzPhysicalDilation_apply] + change (R ^ (-2 * a) : ℝ) * + (homogeneousAnnulusPiece a R κ hκ Q hQ (R⁻¹ • y) * + χ ((R / L) • (R⁻¹ • y))) = _ + rw [harg, ← mul_assoc, homogeneousAnnulusPiece_rescale a R hR] + +theorem exists_cutoffProfileAnnulus_sampling_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ κ : 𝓢(E, ℂ)) (hκ : HasCompactSupport (κ : E → ℂ)) + (hκann : ∀ x ∈ tsupport (κ : E → ℂ), (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∀ (R L : ℝ) (hR : 1 ≤ R) (hRL : R ≤ L), + ‖schwartzTorusSample a k L ha1 hk (hR.trans hRL) + (radianFourierKernel (schwartzPhysicalDilation a R (by linarith) + (cutoffProfileAnnulus a R L χ κ hκ Q hQ)))‖ ≤ C * D * R ^ (-a) := by + obtain ⟨N, C, hC, hbound⟩ := exists_schwartzTorusSample_physicalJet_bound a k ha1 hk + refine ⟨N, C * schwartzCutoffJetConstant χ N * homogeneousAnnulusJetConstant a κ N, + mul_nonneg (mul_nonneg hC (schwartzCutoffJetConstant_nonneg χ N)) + (homogeneousAnnulusJetConstant_nonneg a κ N), ?_⟩ + intro Q hQ D hD hsymbol R L hR hRL + have hRp : 0 < R := by linarith + have hLp : 0 < L := by linarith + have hLR : 1 ≤ L / R := (le_div_iff₀ hRp).mpr (by simpa using hRL) + have hδp : 0 < R / L := div_pos hRp hLp + have hδ1 : R / L ≤ 1 := (div_le_one hLp).mpr hRL + have hjet : ∀ n ≤ N, ∀ x : E, (1 + ‖x‖) ^ N * + ‖iteratedFDeriv ℝ n (cutoffProfileAnnulus a R L χ κ hκ Q hQ) x‖ ≤ + schwartzCutoffJetConstant χ N * (homogeneousAnnulusJetConstant a κ N * D) := by + intro n hn x + exact schwartzScaledCutoff_jet_bound (R / L) (homogeneousAnnulusJetConstant a κ N * D) + hδp hδ1 (mul_nonneg (homogeneousAnnulusJetConstant_nonneg a κ N) hD) + χ (homogeneousAnnulusPiece a R κ hκ Q hQ) + (hκ.mul_right (f' := normalizedPhysicalProfile a R Q)) N + (fun n hn x => homogeneousAnnulusPiece_jet_bound a R D ha hRp hD κ hκ hκann + Q hQ N hsymbol n hn x) n hn x + have hj := hbound (cutoffProfileAnnulus a R L χ κ hκ Q hQ) + (schwartzCutoffJetConstant χ N * (homogeneousAnnulusJetConstant a κ N * D)) + (mul_nonneg (schwartzCutoffJetConstant_nonneg χ N) + (mul_nonneg (homogeneousAnnulusJetConstant_nonneg a κ N) hD)) + hjet (L / R) hLR + rw [radianFourierKernel_schwartzPhysicalDilation] + exact (schwartzTorusSample_homogeneousDilation_norm_le a k R L ha ha1 hk hR hRL + (radianFourierKernel (cutoffProfileAnnulus a R L χ κ hκ Q hQ))).trans + ((mul_le_mul_of_nonneg_left hj (Real.rpow_nonneg hRp.le _)).trans_eq (by ring)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCutoffDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCutoffDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..ea8924db769a39fc5b45360193e19564f8f4d559 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzCutoffDerivative.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampleDerivativeBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffSymbolSampling +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CartesianDirectionalCalculus +import Mathlib.Analysis.Normed.Module.RCLike.Real + +namespace OAI + +/-! # The derivative of the cutoff contributes only an inverse-radius error -/ + +open Set Filter Topology +open scoped SchwartzMap LineDeriv ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartzCutoff_lineDeriv_compact (χ : 𝓢(E, ℂ)) + (hχ : HasCompactSupport (χ : E → ℂ)) (v : E) : + HasCompactSupport ((∂_{v} χ : 𝓢(E, ℂ)) : E → ℂ) := + HasCompactSupport.fderiv_apply ℝ hχ v + +theorem schwartzCutoff_lineDeriv_zero (χ : 𝓢(E, ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) (v : E) : + ∀ y : E, 1 ≤ ‖y‖ → (∂_{v} χ) y = 0 := by + have he : EqOn (fun y => (∂_{v} χ) y) (fun _ => 0) (Metric.closedBall (0 : E) 1)ᶜ := by + intro y hy + have hn : 1 < ‖y‖ := by simpa only [mem_compl_iff, Metric.mem_closedBall, + dist_zero_right, not_le] using hy + have hloc : (χ : E → ℂ) =ᶠ[𝓝 y] fun _ => 0 := by + filter_upwards [((isOpen_lt continuous_const continuous_norm).mem_nhds hn)] with z hz + exact hχzero z hz.le + change fderiv ℝ (χ : E → ℂ) y v = 0 + rw [hloc.fderiv_eq] + simp + have hc := he.closure (∂_{v} χ).continuous continuous_const + rw [closure_compl, interior_closedBall (0 : E) (by norm_num : (1 : ℝ) ≠ 0)] at hc + intro y hy + exact hc (by simpa only [mem_compl_iff, Metric.mem_ball, dist_zero_right, not_lt] using hy) + +theorem cutoffProfileSchwartz_lineDeriv (L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (v : E) : + ∂_{v} (cutoffProfileSchwartz L hL χ hχ Q hQ) = + cutoffProfileSchwartz L hL χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v) + + L⁻¹ • cutoffProfileSchwartz L hL (∂_{v} χ) + (schwartzCutoff_lineDeriv_compact χ hχ v) Q hQ := by + ext y + change fderiv ℝ (fun z => χ (L⁻¹ • z) * Q z) y v = _ + have hc : DifferentiableAt ℝ (fun z : E => χ (L⁻¹ • z)) y := + χ.differentiableAt.comp y (differentiableAt_id.const_smul L⁻¹) + rw [fderiv_fun_mul hc (hQ.differentiable (by simp) y)] + simp only [add_apply, smul_apply, smul_eq_mul, + cutoffProfileSchwartz_apply, + SchwartzMap.lineDerivOp_apply_eq_fderiv, cartesianDerivative] + rw [fderiv_comp_smul] + simp only [smul_apply, Complex.real_smul] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzDilationJets.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzDilationJets.lean new file mode 100644 index 0000000000000000000000000000000000000000..989405ccc5004aaade7b77e5fa5cc9859170f1dd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzDilationJets.lean @@ -0,0 +1,81 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzAnnulusSampling + +namespace OAI + +/-! # Physical Schwartz dilation and bounded scale ratios + +The annulus immediately outside radius L has radius at most 2L. Its extra +scale ratio lies in [1,2], where finite weighted jets remain uniformly bounded. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartzPhysicalDilation_comp (a R S : ℝ) (hR : 0 < R) (hS : 0 < S) + (ψ : 𝓢(E, ℂ)) : + schwartzPhysicalDilation a R hR (schwartzPhysicalDilation a S hS ψ) = + schwartzPhysicalDilation a (R * S) (mul_pos hR hS) ψ := by + ext x + simp only [schwartzPhysicalDilation_apply] + have harg : S⁻¹ • (R⁻¹ • x) = (R * S)⁻¹ • x := by + rw [smul_smul, mul_inv_rev] + rw [harg, Real.mul_rpow hR.le hS.le, Complex.ofReal_mul] + ring + +theorem schwartzPhysicalDilation_jet_norm (a R : ℝ) (hR : 0 < R) + (ψ : 𝓢(E, ℂ)) (n : ℕ) (x : E) : + ‖iteratedFDeriv ℝ n (schwartzPhysicalDilation a R hR ψ) x‖ = + R ^ (-2 * a) * (R⁻¹) ^ n * ‖iteratedFDeriv ℝ n ψ (R⁻¹ • x)‖ := by + have hin : ContDiff ℝ ∞ (fun y : E => ψ (R⁻¹ • y)) := + ψ.smooth'.comp (contDiff_id.const_smul R⁻¹) + have hf : (schwartzPhysicalDilation a R hR ψ : E → ℂ) = + fun y => (R ^ (-2 * a) : ℝ) • ψ (R⁻¹ • y) := by + funext y + simp only [schwartzPhysicalDilation_apply, Complex.real_smul] + have hd : iteratedFDeriv ℝ n (fun y : E => ψ (R⁻¹ • y)) = + fun y => (R⁻¹) ^ n • iteratedFDeriv ℝ n ψ (R⁻¹ • y) := by + simpa only using! iteratedFDeriv_comp_const_smul R⁻¹ (ψ.smooth'.of_le (by simp)) + rw [hf, iteratedFDeriv_const_smul_apply' ((hin.of_le (by simp)).contDiffAt), hd] + simp only [norm_smul, Real.norm_eq_abs, abs_of_nonneg (Real.rpow_nonneg hR.le _), + abs_of_nonneg (pow_nonneg (inv_nonneg.mpr hR.le) n)] + ring + +theorem schwartzPhysicalDilation_boundedRatio_jets (a R D : ℝ) + (ha : 0 < a) (hR : 1 ≤ R) (hR2 : R ≤ 2) (_hD : 0 ≤ D) + (ψ : 𝓢(E, ℂ)) (N : ℕ) + (hjet : ∀ n ≤ N, ∀ x : E, (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ ≤ D) + (n : ℕ) (hn : n ≤ N) (x : E) : + (1 + ‖x‖) ^ N * + ‖iteratedFDeriv ℝ n (schwartzPhysicalDilation a R (by linarith) ψ) x‖ ≤ + 2 ^ N * D := by + have hRp : 0 < R := by linarith + have hc : R ^ (-2 * a) ≤ 1 := + Real.rpow_le_one_of_one_le_of_nonpos hR (by linarith) + have hi : (R⁻¹) ^ n ≤ 1 := pow_le_one₀ (by positivity) + ((inv_le_one₀ hRp).mpr hR) + have hderiv : ‖iteratedFDeriv ℝ n (schwartzPhysicalDilation a R hRp ψ) x‖ ≤ + ‖iteratedFDeriv ℝ n ψ (R⁻¹ • x)‖ := by + rw [schwartzPhysicalDilation_jet_norm] + have hfac : R ^ (-2 * a) * (R⁻¹) ^ n ≤ 1 := by + exact (mul_le_mul hc hi (by positivity) (by norm_num)).trans_eq (one_mul _) + exact mul_le_of_le_one_left (norm_nonneg _) hfac + have hnorm : ‖x‖ = R * ‖R⁻¹ • x‖ := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hRp), + ← mul_assoc, mul_inv_cancel₀ hRp.ne', one_mul] + have hweight : (1 + ‖x‖) ^ N ≤ 2 ^ N * (1 + ‖R⁻¹ • x‖) ^ N := by + rw [← mul_pow] + apply pow_le_pow_left₀ (by positivity) + rw [hnorm] + nlinarith [norm_nonneg (R⁻¹ • x)] + calc + _ ≤ (2 ^ N * (1 + ‖R⁻¹ • x‖) ^ N) * ‖iteratedFDeriv ℝ n ψ (R⁻¹ • x)‖ := + mul_le_mul hweight hderiv (norm_nonneg _) (by positivity) + _ = 2 ^ N * ((1 + ‖R⁻¹ • x‖) ^ N * ‖iteratedFDeriv ℝ n ψ (R⁻¹ • x)‖) := by ring + _ ≤ _ := mul_le_mul_of_nonneg_left (hjet n hn _) (by positivity) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzDyadicCutoff.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzDyadicCutoff.lean new file mode 100644 index 0000000000000000000000000000000000000000..5ca7256bf9a90b3d126cd3d599a3f6259f177d9d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzDyadicCutoff.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCoreSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingSum +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDyadicPartition + +namespace OAI + +/-! # Finite physical dyadic assembly of a cutoff profile -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def cutoffProfileSchwartz (L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : 𝓢(E, ℂ) := + ((hχ.comp_homeomorph + (((Units.mk0 L⁻¹ (inv_ne_zero hL.ne')) • ContinuousLinearEquiv.refl ℝ E).toHomeomorph)).mul_right + (f' := Q)).toSchwartzMap ((χ.smooth'.comp (contDiff_id.const_smul L⁻¹)).mul hQ) + +@[simp] theorem cutoffProfileSchwartz_apply (L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (y : E) : + cutoffProfileSchwartz L hL χ hχ Q hQ y = χ (L⁻¹ • y) * Q y := rfl + +noncomputable def profileCoreSchwartz (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : 𝓢(E, ℂ) := + (homogeneousCoreCutoff_hasCompactSupport.mul_right (f' := Q)).toSchwartzMap + (homogeneousCoreCutoff.smooth'.mul hQ) + +@[simp] theorem profileCoreSchwartz_apply (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (y : E) : + profileCoreSchwartz Q hQ y = homogeneousCoreCutoff y * Q y := rfl + +theorem profileCoreSchwartz_hasCompactSupport (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + HasCompactSupport (profileCoreSchwartz Q hQ : E → ℂ) := + homogeneousCoreCutoff_hasCompactSupport.mul_right + +theorem homogeneousAnnulusCutoff_zero_core (y : E) (hy : ‖y‖ ≤ 1 / 2) : + homogeneousAnnulusCutoff y = 0 := by + have hh : ‖(1 / 2 : ℝ) • y‖ ≤ 1 / 2 := by + rw [norm_smul, Real.norm_eq_abs] + norm_num + linarith [norm_nonneg y] + rw [homogeneousAnnulusCutoff_apply, homogeneousCoreCutoff_one _ hh, + homogeneousCoreCutoff_one _ hy, sub_self] + +theorem homogeneousAnnulusCutoff_partial_sum (N : ℕ) (y : E) : + ∑ j ∈ Finset.range N, homogeneousAnnulusCutoff (((2 : ℝ) ^ j)⁻¹ • y) = + homogeneousCoreCutoff (((2 : ℝ) ^ N)⁻¹ • y) - homogeneousCoreCutoff y := by + induction N with + | zero => simp + | succ N ih => + rw [Finset.sum_range_succ, ih, homogeneousAnnulusCutoff_apply] + have he : (1 / 2 : ℝ) • (((2 : ℝ) ^ N)⁻¹ • y) = ((2 : ℝ) ^ (N + 1))⁻¹ • y := by + rw [smul_smul, pow_succ, mul_inv_rev] + norm_num + rw [he] + ring + +theorem cutoffProfileAnnulus_zero_of_large_radius (a R L : ℝ) + (hL : 0 < L) (hRL : 2 * L ≤ R) + (χ : 𝓢(E, ℂ)) (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + schwartzPhysicalDilation a R (by linarith) + (cutoffProfileAnnulus a R L χ homogeneousAnnulusCutoff + homogeneousAnnulusCutoff_hasCompactSupport Q hQ) = 0 := by + have hRp : 0 < R := by linarith + ext y + rw [cutoffProfileAnnulus_physical a R L hRp hL] + by_cases hy : L ≤ ‖y‖ + · have hz : χ (L⁻¹ • y) = 0 := by + apply hχzero + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hL)] + exact (one_le_inv_mul₀ hL).mpr hy + simp [hz] + · have hn : ‖R⁻¹ • y‖ ≤ 1 / 2 := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hRp)] + apply (inv_mul_le_iff₀ hRp).mpr + linarith [lt_of_not_ge hy] + simp [homogeneousAnnulusCutoff_zero_core _ hn] + +theorem cutoffProfileSchwartz_dyadic_assembly (a L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (N : ℕ) (hN : 2 * L ≤ (2 : ℝ) ^ N) : + cutoffProfileSchwartz L hL χ hχ Q hQ = + schwartzScaledCutoff L⁻¹ χ (profileCoreSchwartz Q hQ) + (profileCoreSchwartz_hasCompactSupport Q hQ) + + ∑ j ∈ Finset.range N, schwartzPhysicalDilation a ((2 : ℝ) ^ j) (by positivity) + (cutoffProfileAnnulus a ((2 : ℝ) ^ j) L χ homogeneousAnnulusCutoff + homogeneousAnnulusCutoff_hasCompactSupport Q hQ) := by + ext y + simp only [cutoffProfileSchwartz_apply, add_apply, schwartzScaledCutoff_apply, + profileCoreSchwartz_apply, sum_apply] + simp_rw [cutoffProfileAnnulus_physical a ((2 : ℝ) ^ _) L (by positivity) hL] + rw [← Finset.sum_mul, ← Finset.sum_mul, homogeneousAnnulusCutoff_partial_sum] + by_cases hy : L ≤ ‖y‖ + · have hz : χ (L⁻¹ • y) = 0 := by + apply hχzero + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hL)] + exact (one_le_inv_mul₀ hL).mpr hy + simp [hz] + · have hn : ‖((2 : ℝ) ^ N)⁻¹ • y‖ ≤ 1 / 2 := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (by positivity))] + apply (inv_mul_le_iff₀ (by positivity : 0 < (2 : ℝ) ^ N)).mpr + linarith [lt_of_not_ge hy] + rw [homogeneousCoreCutoff_one _ hn] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFourierConvolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFourierConvolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..ff5e2d8dd9b8fe1b81c0bfea01ce4e7a6c34d747 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFourierConvolution.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierSeries + +namespace OAI + +/-! # Convolution of a periodic Fourier series by a Schwartz function -/ + +open MeasureTheory +open scoped SchwartzMap RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem spatialFourierCharacter_sub_scale (L : ℝ) (n : frequencyLattice) (y z : E) : + spatialFourierCharacter n (L⁻¹ • (y - z)) = + spatialFourierCharacter n (L⁻¹ • y) * + Complex.exp ((-⟪z, L⁻¹ • (n : E)⟫ : ℝ) * Complex.I) := by + unfold spatialFourierCharacter + rw [← Complex.exp_add, smul_sub, inner_sub_left, real_inner_smul_left, + real_inner_smul_right, real_inner_smul_left] + congr 1 + push_cast + ring + +theorem hasSum_schwartzFourierConvolution (L : ℝ) (K : 𝓢(E, ℂ)) + (v : frequencyLattice → ℂ) (hv : Summable (fun n => ‖v n‖)) (y : E) : + HasSum (fun n : frequencyLattice => (radianFourierKernel K (L⁻¹ • (n : E)) * v n) * + spatialFourierCharacter n (L⁻¹ • y)) + (∫ z : E, K z * spatialFourierSeries v (L⁻¹ • (y - z))) := by + let G : frequencyLattice → E → ℂ := fun n z => + K z * (v n * spatialFourierCharacter n (L⁻¹ • (y - z))) + have hnorm (n : frequencyLattice) (z : E) : ‖G n z‖ = ‖K z‖ * ‖v n‖ := by + simp only [G, norm_mul, spatialFourierCharacter_norm, mul_one] + have hG (n : frequencyLattice) : Integrable (G n) := by + apply (K.integrable.norm.mul_const ‖v n‖).mono' + · exact (K.continuous.mul (continuous_const.mul + ((continuous_spatialFourierCharacter n).comp + ((continuous_const.sub continuous_id).const_smul L⁻¹)))).aestronglyMeasurable + · exact ae_of_all _ (fun z => (hnorm n z).le) + have hGI : Summable (fun n => ∫ z : E, ‖G n z‖) := by + have he (n : frequencyLattice) : (∫ z : E, ‖G n z‖) = + (∫ z : E, ‖K z‖) * ‖v n‖ := by + simp_rw [hnorm] + exact integral_mul_const _ _ + simpa only [he] using hv.mul_left (∫ z : E, ‖K z‖) + have hs := hasSum_integral_of_summable_integral_norm hG hGI + have hp (z : E) : (∑' n, G n z) = + K z * spatialFourierSeries v (L⁻¹ • (y - z)) := by + simp only [G, spatialFourierSeries, tsum_mul_left] + have ht (n : frequencyLattice) : (∫ z : E, G n z) = + (radianFourierKernel K (L⁻¹ • (n : E)) * v n) * + spatialFourierCharacter n (L⁻¹ • y) := by + have he (z : E) : G n z = (v n * spatialFourierCharacter n (L⁻¹ • y)) * + (Complex.exp ((-⟪z, L⁻¹ • (n : E)⟫ : ℝ) * Complex.I) * K z) := by + dsimp only [G] + rw [spatialFourierCharacter_sub_scale] + ring + simp_rw [he] + rw [integral_const_mul, ← radianFourierIntegral, ← radianFourierKernel_apply] + ring + simpa only [ht, hp] using hs + +theorem schwartzFourierConvolution_eq (L : ℝ) (K : 𝓢(E, ℂ)) + (v : frequencyLattice → ℂ) (hv : Summable (fun n => ‖v n‖)) (y : E) : + spatialFourierSeries (fun n => radianFourierKernel K (L⁻¹ • (n : E)) * v n) + (L⁻¹ • y) = ∫ z : E, K z * spatialFourierSeries v (L⁻¹ • (y - z)) := + (hasSum_schwartzFourierConvolution L K v hv y).tsum_eq + +theorem radianFourierKernel_norm_le_integral (K : 𝓢(E, ℂ)) (ξ : E) : + ‖radianFourierKernel K ξ‖ ≤ ∫ z : E, ‖K z‖ := by + rw [radianFourierKernel_apply, radianFourierIntegral] + calc + _ ≤ ∫ z : E, ‖Complex.exp ((-⟪z, ξ⟫ : ℝ) * Complex.I) * K z‖ := norm_integral_le_integral_norm _ + _ = _ := by simp only [norm_mul, Complex.norm_exp_ofReal_mul_I, one_mul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFourierPolynomial.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFourierPolynomial.lean new file mode 100644 index 0000000000000000000000000000000000000000..8baa6f5f606c76e4d6f490c1355a6330ae379c74 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFourierPolynomial.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierSeries + +namespace OAI + +/-! # Finite physical cutoffs are Schwartz + +This supplies the dense-domain objects used when extending localization into +the manuscript's completed homogeneous Sobolev space. +-/ + +open scoped SchwartzMap RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem spatialFourierCharacter_temperate (n : frequencyLattice) : + (spatialFourierCharacter n).HasTemperateGrowth := by + have h := Complex.hasTemperateGrowth_exp_mul_I.comp + (((innerSL ℝ).flip (n : E)).hasTemperateGrowth) + exact h + +noncomputable def modulatedSchwartzCutoff (χ : 𝓢(E, ℂ)) (n : frequencyLattice) : 𝓢(E, ℂ) := + SchwartzMap.smulLeftCLM ℂ (spatialFourierCharacter n) χ + +@[simp] theorem modulatedSchwartzCutoff_apply (χ : 𝓢(E, ℂ)) (n : frequencyLattice) (y : E) : + modulatedSchwartzCutoff χ n y = spatialFourierCharacter n y * χ y := by + exact SchwartzMap.smulLeftCLM_apply_apply (spatialFourierCharacter_temperate n) χ y + +/-- The actual finite cutoff polynomial, bundled in the Schwartz space. -/ +noncomputable def localizedSchwartzPolynomial (L : ℝ) (hL : 0 < L) (χ : 𝓢(E, ℂ)) + (S : Finset frequencyLattice) (v : frequencyLattice → ℂ) : 𝓢(E, ℂ) := + SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 L⁻¹ (inv_ne_zero hL.ne')) • ContinuousLinearEquiv.refl ℝ E) + (∑ n ∈ S, v n • modulatedSchwartzCutoff χ n) + +@[simp] theorem localizedSchwartzPolynomial_apply (L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (S : Finset frequencyLattice) (v : frequencyLattice → ℂ) (y : E) : + localizedSchwartzPolynomial L hL χ S v y = localizedFourierPolynomial L χ S v y := by + change (∑ n ∈ S, v n • modulatedSchwartzCutoff χ n) (L⁻¹ • y) = _ + simp only [sum_apply, smul_apply, modulatedSchwartzCutoff_apply, + smul_eq_mul, localizedFourierPolynomial, spatialFourierCharacter, Finset.mul_sum] + apply Finset.sum_congr rfl + intro n _ + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFrequencyCutoff.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFrequencyCutoff.lean new file mode 100644 index 0000000000000000000000000000000000000000..989e1e9d6dd7147f7bde1af58ea450c5f5711549 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzFrequencyCutoff.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDyadicPartition +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierLocalization + +namespace OAI + +/-! # A smooth frequency cutoff and its exact radian inverse Fourier kernel -/ + +open scoped SchwartzMap FourierTransform + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def radianInverseKernel (ψ : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + 𝓕⁻ (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 (2 * Real.pi) (by positivity)) • ContinuousLinearEquiv.refl ℝ E) ψ) + +theorem radianFourierKernel_inverseKernel (ψ : 𝓢(E, ℂ)) : + radianFourierKernel (radianInverseKernel ψ) = ψ := by + ext ξ + change (𝓕 (radianInverseKernel ψ)) ((2 * Real.pi)⁻¹ • ξ) = ψ ξ + rw [radianInverseKernel, FourierTransform.fourier_fourierInv_eq] + change ψ ((2 * Real.pi) • ((2 * Real.pi)⁻¹ • ξ)) = ψ ξ + rw [smul_smul, mul_inv_cancel₀ (show (2 * Real.pi : ℝ) ≠ 0 by positivity), one_smul] + +noncomputable def smoothFrequencyCutoff (R : ℝ) (hR : 0 < R) : 𝓢(E, ℂ) := + SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 ((2 * R)⁻¹) (by positivity)) • ContinuousLinearEquiv.refl ℝ E) + homogeneousCoreCutoff + +@[simp] theorem smoothFrequencyCutoff_apply (R : ℝ) (hR : 0 < R) (ξ : E) : + smoothFrequencyCutoff R hR ξ = homogeneousCoreCutoff ((2 * R)⁻¹ • ξ) := rfl + +theorem smoothFrequencyCutoff_one (R : ℝ) (hR : 0 < R) (ξ : E) (hξ : ‖ξ‖ ≤ R) : + smoothFrequencyCutoff R hR ξ = 1 := by + rw [smoothFrequencyCutoff_apply] + apply homogeneousCoreCutoff_one + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (by positivity : 0 < (2 * R)⁻¹)] + have h := mul_le_mul_of_nonneg_left hξ (show 0 ≤ (2 * R)⁻¹ by positivity) + have he : (2 * R)⁻¹ * R = 1 / 2 := by field_simp + exact he ▸ h + +theorem smoothFrequencyCutoff_zero (R : ℝ) (hR : 0 < R) (ξ : E) (hξ : 2 * R ≤ ‖ξ‖) : + smoothFrequencyCutoff R hR ξ = 0 := by + rw [smoothFrequencyCutoff_apply] + apply homogeneousCoreCutoff_zero + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (by positivity : 0 < (2 * R)⁻¹)] + have h := mul_le_mul_of_nonneg_left hξ (show 0 ≤ (2 * R)⁻¹ by positivity) + simpa only [inv_mul_cancel₀ (show 2 * R ≠ 0 by positivity)] using h + +theorem smoothFrequencyCutoff_norm_le (R : ℝ) (hR : 0 < R) (ξ : E) : + ‖smoothFrequencyCutoff R hR ξ‖ ≤ 1 := by + rw [smoothFrequencyCutoff_apply, homogeneousCoreCutoff_apply, Complex.norm_real, + Real.norm_eq_abs, abs_of_nonneg homogeneousCoreBump.nonneg] + exact homogeneousCoreBump.le_one + +theorem one_sub_smoothFrequencyCutoff_norm_le (R : ℝ) (hR : 0 < R) (ξ : E) : + ‖1 - smoothFrequencyCutoff R hR ξ‖ ≤ 1 := by + rw [smoothFrequencyCutoff_apply, homogeneousCoreCutoff_apply, ← Complex.ofReal_one, + ← Complex.ofReal_sub, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (sub_nonneg.mpr homogeneousCoreBump.le_one)] + exact sub_le_self _ homogeneousCoreBump.nonneg + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLatticeSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLatticeSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..714bddb715232ed9566d2123178b0236a60ed4a1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLatticeSampling.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ScaledLatticeKernel +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzLocalizationKernel + +namespace OAI + +/-! # Uniform sampling of Schwartz Fourier kernels + +The normalized sampling sum has a bound independent of the expanding +period. The same statement holds with either Sobolev weight. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem schwartz_sampling_decay (K : 𝓢(E, ℂ)) : + ∃ D : ℝ, 0 ≤ D ∧ ∀ x : E, + ‖K x‖ ^ 2 ≤ D ^ 2 * ((1 + ‖x‖ ^ 2) ^ (12 : ℕ))⁻¹ := by + let M : ℝ := 2 ^ (12 : ℕ) * + (Finset.Iic (12, 0)).sup (fun m => SchwartzMap.seminorm ℂ m.1 m.2) K + let D := max M 1 + have hD : 0 ≤ D := (by norm_num : (0 : ℝ) ≤ 1).trans (le_max_right _ _) + refine ⟨D, hD, ?_⟩ + intro x + have hbase := SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℂ) + (m := (12, 0)) (k := 12) (n := 0) (by decide) (by decide) K x + have hb : (1 + ‖x‖) ^ 12 * ‖K x‖ ≤ D := by + have h : (1 + ‖x‖) ^ 12 * ‖K x‖ ≤ M := by + simpa only [norm_iteratedFDeriv_zero] using hbase + exact h.trans (le_max_left _ _) + have hw : (1 + ‖x‖ ^ 2) ^ 6 ≤ (1 + ‖x‖) ^ 12 := by + calc + _ ≤ ((1 + ‖x‖) ^ 2) ^ 6 := + pow_le_pow_left₀ (by positivity) (by nlinarith [norm_nonneg x]) _ + _ = _ := by ring + have he := (mul_le_mul_of_nonneg_right hw (norm_nonneg _)).trans hb + have hs := pow_le_pow_left₀ (by positivity : 0 ≤ (1 + ‖x‖ ^ 2) ^ 6 * ‖K x‖) he 2 + rw [← div_eq_mul_inv] + apply (le_div_iff₀ (by positivity : 0 < (1 + ‖x‖ ^ 2) ^ (12 : ℕ))).mpr + nlinarith [show ((1 + ‖x‖ ^ 2) ^ 6 * ‖K x‖) ^ 2 = + ‖K x‖ ^ 2 * (1 + ‖x‖ ^ 2) ^ (12 : ℕ) by ring] + +theorem exists_schwartz_scaledLattice_l2_bound (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : ℝ, 1 ≤ L → + Summable (fun n : frequencyLattice => ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2) ∧ + (∑' n : frequencyLattice, ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2) ≤ C * L ^ (12 : ℕ) := by + obtain ⟨D, _hD, hb⟩ := schwartz_sampling_decay K + refine ⟨D ^ 2 * (1 + 2 * Real.pi) ^ (12 : ℕ), by positivity, ?_⟩ + intro L hL + obtain ⟨hs, hsum⟩ := scaledRadialKernel_sum L hL + have hmajor := hs.mul_left (D ^ 2) + have hS : Summable (fun n : frequencyLattice => ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2) := + Summable.of_nonneg_of_le (fun _ => sq_nonneg _) (fun n => hb _) hmajor + refine ⟨hS, ?_⟩ + calc + _ ≤ ∑' n : frequencyLattice, + D ^ 2 * ((1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ (12 : ℕ))⁻¹ := + hS.tsum_le_tsum (fun n => hb _) hmajor + _ = D ^ 2 * ∑' n : frequencyLattice, + ((1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ (12 : ℕ))⁻¹ := tsum_mul_left + _ ≤ D ^ 2 * (((1 + 2 * Real.pi) * L) ^ (12 : ℕ)) := + mul_le_mul_of_nonneg_left hsum (sq_nonneg D) + _ = _ := by rw [mul_pow]; ring + +theorem exists_weightedSchwartz_scaledLattice_l2_bound (s : ℝ) (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : ℝ, 1 ≤ L → + Summable (fun n : frequencyLattice => + (1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ s * ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2) ∧ + (∑' n : frequencyLattice, + (1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ s * ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2) ≤ + C * L ^ (12 : ℕ) := by + have he (x : E) : ‖weightedSchwartzKernel s K x‖ ^ 2 = + (1 + ‖x‖ ^ 2) ^ s * ‖K x‖ ^ 2 := by + rw [weightedSchwartzKernel_norm, mul_pow, ← Real.rpow_natCast, + ← Real.rpow_mul (by positivity)] + congr 2 + ring + simpa only [he] using exists_schwartz_scaledLattice_l2_bound (weightedSchwartzKernel s K) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalConvolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalConvolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..87d6a477226376fb0f93ec8a4cf1f5ee31a952dc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalConvolution.lean @@ -0,0 +1,127 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingLocalConvergence +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Smooth spatial filtering preserves local uniform limits + +A globally bounded sequence that vanishes locally uniformly also vanishes, +on every fixed ball, after convolution by a Schwartz kernel. The proof +uses the compact-ball Banach space, so the conclusion is uniform in space. +-/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def shiftedBallRestriction (R : ℝ) (u : C(E, ℂ)) (z : E) : + C(Metric.closedBall (0 : E) R, ℂ) where + toFun y := u (y - z) + continuous_toFun := u.continuous.comp (continuous_subtype_val.sub continuous_const) + +@[simp] theorem shiftedBallRestriction_apply (R : ℝ) (u : C(E, ℂ)) (z : E) + (y : Metric.closedBall (0 : E) R) : shiftedBallRestriction R u z y = u (y - z) := rfl + +theorem continuous_shiftedBallRestriction (R : ℝ) (u : C(E, ℂ)) : + Continuous (shiftedBallRestriction R u) := by + apply ContinuousMap.continuous_of_continuous_uncurry + exact u.continuous.comp ((continuous_subtype_val.comp continuous_snd).sub continuous_fst) + +theorem shiftedBallRestriction_norm_le (R M : ℝ) (hM : 0 ≤ M) (u : C(E, ℂ)) + (hu : ∀ y : E, ‖u y‖ ≤ M) (z : E) : ‖shiftedBallRestriction R u z‖ ≤ M := by + apply (ContinuousMap.norm_le _ hM).mpr + intro y + exact hu _ + +noncomputable def schwartzBallConvolution (R : ℝ) (K : 𝓢(E, ℂ)) (u : C(E, ℂ)) : + C(Metric.closedBall (0 : E) R, ℂ) := + ∫ z : E, K z • shiftedBallRestriction R u z + +theorem schwartzBallConvolution_integrable (R M : ℝ) (hM : 0 ≤ M) + (K : 𝓢(E, ℂ)) (u : C(E, ℂ)) (hu : ∀ y : E, ‖u y‖ ≤ M) : + Integrable (fun z : E => K z • shiftedBallRestriction R u z) := by + apply (K.integrable.norm.mul_const M).mono' + ((K.continuous.smul (continuous_shiftedBallRestriction R u)).aestronglyMeasurable) + filter_upwards [] with z + change ‖K z • shiftedBallRestriction R u z‖ ≤ ‖K z‖ * M + rw [norm_smul] + exact mul_le_mul_of_nonneg_left (shiftedBallRestriction_norm_le R M hM u hu z) (norm_nonneg _) + +theorem schwartzBallConvolution_apply (R M : ℝ) (hM : 0 ≤ M) + (K : 𝓢(E, ℂ)) (u : C(E, ℂ)) (hu : ∀ y : E, ‖u y‖ ≤ M) + (y : Metric.closedBall (0 : E) R) : + schwartzBallConvolution R K u y = ∫ z : E, K z * u (y - z) := by + have h := (ContinuousMap.evalCLM (R := ℂ) y).integral_comp_comm + (schwartzBallConvolution_integrable R M hM K u hu) + exact h.symm + +theorem tendsto_schwartzBallConvolution_zero (R M : ℝ) (hM : 0 ≤ M) + (K : 𝓢(E, ℂ)) (u : ℕ → C(E, ℂ)) (hu : ∀ n y, ‖u n y‖ ≤ M) + (hlocal : ∀ S ε : ℝ, 0 < ε → ∀ᶠ n in atTop, ∀ y : E, ‖y‖ ≤ S → ‖u n y‖ < ε) : + Tendsto (fun n => schwartzBallConvolution R K (u n)) atTop (𝓝 0) := by + have hshift (z : E) : Tendsto (fun n => shiftedBallRestriction R (u n) z) atTop (𝓝 0) := by + rw [tendsto_zero_iff_norm_tendsto_zero] + apply tendsto_order.2 + constructor + · intro r hr + exact Eventually.of_forall (fun n => hr.trans_le (norm_nonneg _)) + · intro ε hε + filter_upwards [hlocal (R + ‖z‖) (ε / 2) (half_pos hε)] with n hn + have hb : ‖shiftedBallRestriction R (u n) z‖ ≤ ε / 2 := by + apply (ContinuousMap.norm_le _ (half_pos hε).le).mpr + intro y + apply (hn _ ?_).le + have hy : ‖(y : E)‖ ≤ R := by simpa only [Metric.mem_closedBall, dist_zero_right] using y.property + exact (norm_sub_le (y : E) z).trans (add_le_add hy le_rfl) + exact hb.trans_lt (half_lt_self hε) + have hpoint (z : E) : Tendsto (fun n => K z • shiftedBallRestriction R (u n) z) atTop (𝓝 0) := by + have hz : K z • (0 : C(Metric.closedBall (0 : E) R, ℂ)) = 0 := by + ext y + change K z * 0 = 0 + exact mul_zero _ + simpa only [hz] using (hshift z).const_smul (K z) + have hbound (n : ℕ) : ∀ᵐ z : E, + ‖K z • shiftedBallRestriction R (u n) z‖ ≤ ‖K z‖ * M := by + filter_upwards [] with z + rw [norm_smul] + exact mul_le_mul_of_nonneg_left (shiftedBallRestriction_norm_le R M hM (u n) (hu n) z) (norm_nonneg _) + simpa only [schwartzBallConvolution, integral_zero] using + tendsto_integral_of_dominated_convergence (fun z : E => ‖K z‖ * M) + (fun n => (schwartzBallConvolution_integrable R M hM K (u n) (hu n)).aestronglyMeasurable) + (K.integrable.norm.mul_const M) hbound (ae_of_all _ hpoint) + +theorem schwartzBallConvolution_sub (R M M₀ : ℝ) (hM : 0 ≤ M) (hM₀ : 0 ≤ M₀) + (K : 𝓢(E, ℂ)) (u v : C(E, ℂ)) + (hu : ∀ y, ‖u y‖ ≤ M) (hv : ∀ y, ‖v y‖ ≤ M₀) : + schwartzBallConvolution R K (u - v) = + schwartzBallConvolution R K u - schwartzBallConvolution R K v := by + unfold schwartzBallConvolution + rw [← integral_sub (schwartzBallConvolution_integrable R M hM K u hu) + (schwartzBallConvolution_integrable R M₀ hM₀ K v hv)] + apply integral_congr_ae + filter_upwards [] with z + ext y + change K z * (u (y - z) - v (y - z)) = K z * u (y - z) - K z * v (y - z) + ring + +theorem tendsto_schwartzBallConvolution (R M M₀ : ℝ) (hM : 0 ≤ M) (hM₀ : 0 ≤ M₀) + (K : 𝓢(E, ℂ)) (u : ℕ → C(E, ℂ)) (v : C(E, ℂ)) + (hu : ∀ n y, ‖u n y‖ ≤ M) (hv : ∀ y, ‖v y‖ ≤ M₀) + (hlocal : ∀ S ε : ℝ, 0 < ε → + ∀ᶠ n in atTop, ∀ y : E, ‖y‖ ≤ S → ‖u n y - v y‖ < ε) : + Tendsto (fun n => schwartzBallConvolution R K (u n)) atTop + (𝓝 (schwartzBallConvolution R K v)) := by + have hb (n : ℕ) (y : E) : ‖(u n - v) y‖ ≤ M + M₀ := + (norm_sub_le _ _).trans (add_le_add (hu n y) (hv y)) + have hz := tendsto_schwartzBallConvolution_zero R (M + M₀) (add_nonneg hM hM₀) + K (fun n => u n - v) hb hlocal + have he (n : ℕ) := schwartzBallConvolution_sub R M M₀ hM hM₀ K (u n) v (hu n) hv + simp_rw [he] at hz + simpa only [sub_add_cancel, zero_add] using hz.add_const (schwartzBallConvolution R K v) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalizationKernel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalizationKernel.lean new file mode 100644 index 0000000000000000000000000000000000000000..e2fa3b3d599512e90f21d3819630aa60f2082bf1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalizationKernel.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.MixedFourierLocalization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodization + +namespace OAI + +/-! # Schwartz kernels in the mixed Fourier localization estimate + +The actual localization kernel is the Fourier transform of a smooth cutoff. +Its Bessel-weighted versions remain Schwartz, so the lattice-to-continuum +bound applies at both Sobolev orders used in the manuscript. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +/-- Applying any real Bessel weight preserves the Schwartz localization kernel. -/ +noncomputable def weightedSchwartzKernel (s : ℝ) + (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ) := + SchwartzMap.smulLeftCLM ℂ (fun x : EuclideanSpace ℝ (Fin 12) => + (1 + ‖x‖ ^ 2) ^ (s / 2)) K + +@[simp] theorem weightedSchwartzKernel_apply (s : ℝ) + (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) (x : EuclideanSpace ℝ (Fin 12)) : + weightedSchwartzKernel s K x = ((1 + ‖x‖ ^ 2) ^ (s / 2) : ℝ) • K x := + SchwartzMap.smulLeftCLM_apply_apply + (Function.hasTemperateGrowth_one_add_norm_sq_rpow _ _) K x + +theorem weightedSchwartzKernel_norm (s : ℝ) + (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) (x : EuclideanSpace ℝ (Fin 12)) : + ‖weightedSchwartzKernel s K x‖ = (1 + ‖x‖ ^ 2) ^ (s / 2) * ‖K x‖ := by + rw [weightedSchwartzKernel_apply, norm_smul, Real.norm_eq_abs, + abs_of_nonneg (Real.rpow_nonneg (by positivity) _)] + +/-- A concrete Schwartz kernel has a finite mixed L² operator bound. -/ +theorem exists_schwartz_mixedFourier_bound + (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (S : Finset frequencyLattice) (v : frequencyLattice → ℂ), + Integrable (fun x => ‖∑ n ∈ S, v n * K (x - n)‖ ^ 2) ∧ + (∫ x, ‖∑ n ∈ S, v n * K (x - n)‖ ^ 2) ≤ C * ∑ n ∈ S, ‖v n‖ ^ 2 := by + obtain ⟨C, hC, hperiod⟩ := exists_schwartz_periodization_bound K + refine ⟨C * ∫ x, ‖K x‖, mul_nonneg hC (integral_nonneg (fun _ => norm_nonneg _)), ?_⟩ + intro S v + exact mixedFourier_integral_bound S v K K.integrable C hC (hperiod S) + +/-- The same estimate applies to every real Sobolev weight of the cutoff kernel. -/ +theorem exists_weightedSchwartz_mixedFourier_bound (s : ℝ) + (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (S : Finset frequencyLattice) (v : frequencyLattice → ℂ), + Integrable (fun x => ‖∑ n ∈ S, v n * weightedSchwartzKernel s K (x - n)‖ ^ 2) ∧ + (∫ x, ‖∑ n ∈ S, v n * weightedSchwartzKernel s K (x - n)‖ ^ 2) ≤ + C * ∑ n ∈ S, ‖v n‖ ^ 2 := + exists_schwartz_mixedFourier_bound (weightedSchwartzKernel s K) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalizationLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalizationLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..ad8a49f312f1ed1563bfc106427a1a36f588434c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzLocalizationLimit.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodizationLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalWeakLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingLocalConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.WeakLinearCoordinates + +namespace OAI + +/-! # The finite coordinates of a fixed sampled Schwartz function -/ + +open Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartzSample_localized_weak_limit (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ ψ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (hLinf : Tendsto L atTop atTop) + (ℓ : HomogeneousY a k →L[ℝ] ℂ) : + Tendsto (fun n => ℓ (homogeneousLocalizationCLM a k (L n) ha ha1 hk (hL n) χ + (schwartzTorusSample a k (L n) ha1 hk (hL n) (radianFourierKernel ψ)))) + atTop (𝓝 (ℓ (homogeneousSchwartzEmbedding a k ha ha1 hk ψ))) := by + obtain ⟨C, hC, hb⟩ := exists_schwartzTorusSample_norm_bound a k ha1 hk (radianFourierKernel ψ) + obtain ⟨D, hD, hJ⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + apply homogeneousY_weak_of_physical_limit a k (D * C) ha ha1 hk + (hu := fun n => (hJ _ (hL n) _).trans (mul_le_mul_of_nonneg_left (hb _ (hL n)) hD)) + intro y + rw [homogeneousPhysicalCLM_Schwartz] + have hp := tendsto_schwartz_periodization ψ y L hL hLinf + apply hp.congr' + filter_upwards [eventually_expandingCutoff_one L hL hLinf χ ρ ‖y‖ hρ hχ] with n hn + change (∑' m : frequencyLattice, ψ (y + (2 * Real.pi * L n) • (m : E))) = + homogeneousPhysicalCLM a k ha ha1 hk + (homogeneousLocalizationCLM a k (L n) ha ha1 hk (hL n) χ + (schwartzTorusSample a k (L n) ha1 hk (hL n) (radianFourierKernel ψ))) y + rw [homogeneousLocalization_physical, expandingPhysicalLocalization, + hn y le_rfl, one_mul, schwartzTorusSample_physical a k (L n) ha ha1 hk (hL n)] + +theorem schwartzSample_finite_coordinate_limit {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ ψ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (hLinf : Tendsto L atTop atTop) + (π : HomogeneousY a k →L[ℝ] F) : + Tendsto (fun n => π (homogeneousLocalizationCLM a k (L n) ha ha1 hk (hL n) χ + (schwartzTorusSample a k (L n) ha1 hk (hL n) (radianFourierKernel ψ)))) + atTop (𝓝 (π (homogeneousSchwartzEmbedding a k ha ha1 hk ψ))) := by + exact tendsto_finite_coordinates_of_weak π _ _ + (schwartzSample_localized_weak_limit a k ha ha1 hk χ ψ ρ hρ hχ L hL hLinf) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzNonlinearPeriodization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzNonlinearPeriodization.lean new file mode 100644 index 0000000000000000000000000000000000000000..7343a24b1e45b6fc8d1aa3b52ac9dd4550e9ed3f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzNonlinearPeriodization.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPhysicalSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingNonlinearity + +namespace OAI + +/-! # Odd-power nonlinearity commutes with the cutoff periodization + +The support radius is at most twice the scale, whereas distinct lattice +translates are separated by at least `2π` times the scale. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem oddPowerNonlinearity_tsum_disjoint {ι : Type*} (m : ℕ) (f : ι → ℂ) + (hd : ∀ i j, i ≠ j → f i = 0 ∨ f j = 0) : + oddPowerNonlinearity m (∑' i, f i) = ∑' i, oddPowerNonlinearity m (f i) := by + classical + by_cases hz : ∀ i, f i = 0 + · simp [hz, oddPowerNonlinearity] + · push Not at hz + obtain ⟨i, hi⟩ := hz + have hj (j : ι) (hji : j ≠ i) : f j = 0 := + (hd j i hji).resolve_right hi + rw [tsum_eq_single i hj, tsum_eq_single i] + intro j hji + simp [hj j hji, oddPowerNonlinearity] + +theorem cutoff_periodization_disjoint (L : ℝ) (hL : 0 < L) (ψ : E → ℂ) + (hψ : ∀ x : E, 2 * L < ‖x‖ → ψ x = 0) (y : E) + (n m : frequencyLattice) (hnm : n ≠ m) : + ψ (y + (2 * Real.pi * L) • (n : E)) = 0 ∨ + ψ (y + (2 * Real.pi * L) • (m : E)) = 0 := by + by_contra! hne + have hn : ‖y + (2 * Real.pi * L) • (n : E)‖ ≤ 2 * L := by + by_contra h + exact hne.1 (hψ _ (lt_of_not_ge h)) + have hm : ‖y + (2 * Real.pi * L) • (m : E)‖ ≤ 2 * L := by + by_contra h + exact hne.2 (hψ _ (lt_of_not_ge h)) + have hd : 1 ≤ ‖n - m‖ := one_le_norm_frequencyLattice (sub_ne_zero.mpr hnm) + have hp : 0 < 2 * Real.pi * L := by positivity + have hlarge : 2 * Real.pi * L ≤ ‖(2 * Real.pi * L) • ((n - m : frequencyLattice) : E)‖ := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hp, Submodule.norm_coe] + exact le_mul_of_one_le_right hp.le hd + have he : (2 * Real.pi * L) • ((n - m : frequencyLattice) : E) = + (y + (2 * Real.pi * L) • (n : E)) - + (y + (2 * Real.pi * L) • (m : E)) := by + simp only [Submodule.coe_sub, smul_sub] + abel + rw [he] at hlarge + have hsmall := norm_sub_le (y + (2 * Real.pi * L) • (n : E)) + (y + (2 * Real.pi * L) • (m : E)) + nlinarith [Real.pi_gt_three] + +theorem oddPowerNonlinearity_periodization (m : ℕ) (L : ℝ) (hL : 0 < L) + (ψ : E → ℂ) (hψ : ∀ x : E, 2 * L < ‖x‖ → ψ x = 0) (y : E) : + oddPowerNonlinearity m (∑' n : frequencyLattice, + ψ (y + (2 * Real.pi * L) • (n : E))) = + ∑' n : frequencyLattice, + oddPowerNonlinearity m (ψ (y + (2 * Real.pi * L) • (n : E))) := + oddPowerNonlinearity_tsum_disjoint m _ (cutoff_periodization_disjoint L hL ψ hψ y) + +/-- The actual torus polynomial is the periodization of the physical polynomial. -/ +theorem sampled_oddPower_periodization (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (m : ℕ) (ψ : 𝓢(E, ℂ)) (hψ : ∀ x : E, 2 * L < ‖x‖ → ψ x = 0) (y : E) : + expandingTorusFunction a k L + (expandingOddPower a k L ha ha1 hk hL m + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ))) + (euclideanToTorus (L⁻¹ • y)) = + ∑' n : frequencyLattice, + oddPowerNonlinearity m (ψ (y + (2 * Real.pi * L) • (n : E))) := by + rw [expandingOddPower_apply, schwartzTorusSample_physical a k L ha ha1 hk hL] + exact oddPowerNonlinearity_periodization m L (lt_of_lt_of_le zero_lt_one hL) ψ hψ y + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzNormSquare.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzNormSquare.lean new file mode 100644 index 0000000000000000000000000000000000000000..936122ed6e89e84bdb934eebc0746ac902fecad3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzNormSquare.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDerivativeConjugation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSeparatedPeriodization + +namespace OAI + +/-! # Squared moduli as Schwartz functions and separated periodizations -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def schwartzNormSquare (K : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + SchwartzMap.smulLeftCLM ℂ (homogeneousPhysicalSchwartzStar K) K + +@[simp] theorem schwartzNormSquare_apply (K : 𝓢(E, ℂ)) (x : E) : + schwartzNormSquare K x = (‖K x‖ ^ 2 : ℝ) := by + rw [schwartzNormSquare, SchwartzMap.smulLeftCLM_apply_apply + (homogeneousPhysicalSchwartzStar K).hasTemperateGrowth, + homogeneousPhysicalSchwartzStar_apply, smul_eq_mul, mul_comm] + simpa only [Complex.sq_norm, Complex.star_def] using Complex.mul_conj (K x) + +theorem periodizationRescale_normSquare (L : ℝ) (hL : 0 < L) (K : 𝓢(E, ℂ)) : + periodizationRescale L hL (schwartzNormSquare K) = + schwartzNormSquare (periodizationRescale L hL K) := by + ext x + simp only [periodizationRescale_apply, schwartzNormSquare_apply] + +theorem separatedSchwartz_periodization_normSquare (L R : ℝ) (hL : 0 < L) + (hLR : 2 * R < 2 * Real.pi * L) (K : 𝓢(E, ℂ)) + (hK : ∀ x : E, R < ‖x‖ → K x = 0) (x : E) : + schwartzPeriodization (periodizationRescale L hL (schwartzNormSquare K)) x = + (‖schwartzPeriodization (periodizationRescale L hL K) x‖ ^ 2 : ℝ) := by + have he := separatedSchwartz_norm_tsum_sq (2 * Real.pi * L) R (by positivity) hLR K hK + ((2 * Real.pi * L) • x) + simp only [schwartzPeriodization_apply, periodizationRescale_apply, schwartzNormSquare_apply, + smul_add] + rw [he, Complex.ofReal_tsum] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzOuterAnnulusSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzOuterAnnulusSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..0ffb1b2f88c6f0e323fe5aaba13b167757c3660e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzOuterAnnulusSampling.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzDilationJets +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCutoffAnnulusSampling + +namespace OAI + +/-! # The outer annulus in the uniform cutoff estimate + +The radius-R annulus with L ≤ R ≤ 2L is reduced to a bounded dilation at +effective period one. This covers the final annulus in a dyadic decomposition. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_outerSchwartzDilation_sampling_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (ψ : 𝓢(E, ℂ)) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ x : E, (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ ≤ D) → + ∀ (L R : ℝ) (hL : 1 ≤ L) (hLR : L ≤ R), R ≤ 2 * L → + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (schwartzPhysicalDilation a R (by linarith) ψ))‖ ≤ C * D * L ^ (-a) := by + obtain ⟨N, C, hC, hb⟩ := exists_schwartzTorusSample_physicalJet_bound a k ha1 hk + refine ⟨N, C * 2 ^ N, mul_nonneg hC (by positivity), ?_⟩ + intro ψ D hD hjet L R hL hLR hR2L + have hLp : 0 < L := by linarith + have hRp : 0 < R := by linarith + let σ := R / L + have hσ : 1 ≤ σ := (le_div_iff₀ hLp).mpr (by simpa using hLR) + have hσp : 0 < σ := by linarith + have hσ2 : σ ≤ 2 := (div_le_iff₀ hLp).mpr hR2L + let φ := schwartzPhysicalDilation a σ hσp ψ + have hφ : ‖schwartzTorusSample a k 1 ha1 hk le_rfl (radianFourierKernel φ)‖ ≤ + C * (2 ^ N * D) := + hb φ (2 ^ N * D) (by positivity) + (fun n hn x => schwartzPhysicalDilation_boundedRatio_jets a σ D ha hσ hσ2 hD + ψ N hjet n hn x) 1 le_rfl + have he : schwartzPhysicalDilation a R hRp ψ = + schwartzPhysicalDilation a L hLp φ := by + dsimp only [φ] + rw [schwartzPhysicalDilation_comp] + have hRσ : L * σ = R := by dsimp [σ]; field_simp + simp only [hRσ] + rw [he, radianFourierKernel_schwartzPhysicalDilation] + have hs := schwartzTorusSample_homogeneousDilation_norm_le a k L L ha ha1 hk hL le_rfl + (radianFourierKernel φ) + simp only [div_self hLp.ne'] at hs + exact hs.trans ((mul_le_mul_of_nonneg_left hφ (Real.rpow_nonneg hLp.le _)).trans_eq + (by ring)) + +noncomputable def schwartzDoubleScale (χ : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 (2 : ℝ) (by norm_num)) • ContinuousLinearEquiv.refl ℝ E) χ + +@[simp] theorem schwartzDoubleScale_apply (χ : 𝓢(E, ℂ)) (x : E) : + schwartzDoubleScale χ x = χ ((2 : ℝ) • x) := by simp [schwartzDoubleScale] + +theorem cutoffProfileAnnulus_outer_rescale (a R L : ℝ) (χ κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + cutoffProfileAnnulus a R L χ κ hκ Q hQ = + schwartzScaledCutoff (R / (2 * L)) (schwartzDoubleScale χ) + (homogeneousAnnulusPiece a R κ hκ Q hQ) + (hκ.mul_right (f' := normalizedPhysicalProfile a R Q)) := by + ext x + change homogeneousAnnulusPiece a R κ hκ Q hQ x * χ ((R / L) • x) = + homogeneousAnnulusPiece a R κ hκ Q hQ x * + schwartzDoubleScale χ ((R / (2 * L)) • x) + rw [schwartzDoubleScale_apply, smul_smul] + have he : (2 : ℝ) * (R / (2 * L)) = R / L := by ring + rw [he] + +theorem exists_outerCutoffAnnulus_sampling_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ κ : 𝓢(E, ℂ)) (hκ : HasCompactSupport (κ : E → ℂ)) + (hκann : ∀ x ∈ tsupport (κ : E → ℂ), (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∀ (L R : ℝ) (hL : 1 ≤ L) (hLR : L ≤ R), R ≤ 2 * L → + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (schwartzPhysicalDilation a R (by linarith) + (cutoffProfileAnnulus a R L χ κ hκ Q hQ)))‖ ≤ C * D * L ^ (-a) := by + obtain ⟨N, C, hC, hb⟩ := exists_outerSchwartzDilation_sampling_bound a k ha ha1 hk + let B := schwartzCutoffJetConstant (schwartzDoubleScale χ) N + let A := homogeneousAnnulusJetConstant a κ N + have hB : 0 ≤ B := schwartzCutoffJetConstant_nonneg _ _ + have hA : 0 ≤ A := homogeneousAnnulusJetConstant_nonneg _ _ _ + refine ⟨N, C * B * A, mul_nonneg (mul_nonneg hC hB) hA, ?_⟩ + intro Q hQ D hD hsymbol L R hL hLR hR2L + have hLp : 0 < L := by linarith + have hRp : 0 < R := by linarith + have hδp : 0 < R / (2 * L) := by positivity + have hδ1 : R / (2 * L) ≤ 1 := (div_le_one (by positivity)).mpr hR2L + have hjet : ∀ n ≤ N, ∀ x : E, (1 + ‖x‖) ^ N * + ‖iteratedFDeriv ℝ n (cutoffProfileAnnulus a R L χ κ hκ Q hQ) x‖ ≤ B * (A * D) := by + intro n hn x + rw [cutoffProfileAnnulus_outer_rescale] + exact schwartzScaledCutoff_jet_bound (R / (2 * L)) (A * D) hδp hδ1 + (mul_nonneg hA hD) (schwartzDoubleScale χ) + (homogeneousAnnulusPiece a R κ hκ Q hQ) + (hκ.mul_right (f' := normalizedPhysicalProfile a R Q)) N + (fun n hn x => homogeneousAnnulusPiece_jet_bound a R D ha hRp hD κ hκ hκann + Q hQ N hsymbol n hn x) n hn x + exact (hb (cutoffProfileAnnulus a R L χ κ hκ Q hQ) (B * (A * D)) + (mul_nonneg hB (mul_nonneg hA hD)) hjet L R hL hLR hR2L).trans_eq (by ring) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPairingLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPairingLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..45e0646f07bf0e09cf2498e28441060f1b3bc786 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPairingLimit.lean @@ -0,0 +1,30 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.PeriodicSchwartzPairing + +namespace OAI + +/-! # Passing bounded physical convergence through a Schwartz test -/ + +open MeasureTheory Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem tendsto_schwartzPairing_of_bounded_pointwise (ψ : 𝓢(E, ℂ)) + (f : ℕ → C(E, ℂ)) (v : C(E, ℂ)) (B : ℝ) + (hb : ∀ n y, ‖f n y‖ ≤ B) (hv : ∀ y, Tendsto (fun n => f n y) atTop (𝓝 (v y))) : + Tendsto (fun n => ∫ y : E, ψ y * f n y) atTop (𝓝 (∫ y : E, ψ y * v y)) := by + apply tendsto_integral_of_dominated_convergence (fun y => ‖ψ y‖ * B) + · intro n + exact (ψ.continuous.mul (f n).continuous).aestronglyMeasurable + · exact ψ.integrable.norm.mul_const B + · intro n + exact ae_of_all _ (fun y => by + rw [norm_mul] + exact mul_le_mul_of_nonneg_left (hb n y) (norm_nonneg _)) + · exact ae_of_all _ (fun y => tendsto_const_nhds.mul (hv y)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPartialDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPartialDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..1ba0a1e9fcc5a98400bee09e0101d3be80a088b4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPartialDerivative.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousCommutatorSymbol + +namespace OAI + +/-! # Partial Cartesian symbols and their compactly supported Schwartz derivatives -/ + +open Set +open scoped SchwartzMap LineDeriv + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousPartialSymbol (N : ℕ) (j : Fin N → Fin 12) + (s : Finset (Fin N)) (ξ : E) : ℂ := ∏ i ∈ s, ((ξ (j i) : ℂ) * Complex.I) + +theorem homogeneousOrderedSymbol_add (N : ℕ) (j : Fin N → Fin 12) (ξ η : E) : + homogeneousOrderedSymbol N j (ξ + η) = + ∑ s : Finset (Fin N), homogeneousPartialSymbol N j s ξ * + homogeneousPartialSymbol N j sᶜ η := by + simp only [homogeneousOrderedSymbol, homogeneousPartialSymbol, PiLp.add_apply, + Complex.ofReal_add, add_mul] + exact Fintype.prod_add _ _ + +theorem exists_schwartzPartialDerivative (N : ℕ) (j : Fin N → Fin 12) + (s : Finset (Fin N)) (K : 𝓢(E, ℂ)) : + ∃ G : 𝓢(E, ℂ), + (∀ ξ : E, radianFourierKernel G ξ = homogeneousPartialSymbol N j s ξ * radianFourierKernel K ξ) ∧ + tsupport (G : E → ℂ) ⊆ tsupport (K : E → ℂ) := by + classical + induction s using Finset.induction_on with + | empty => + refine ⟨K, ?_, subset_rfl⟩ + intro ξ + simp [homogeneousPartialSymbol] + | @insert i s hi ih => + obtain ⟨G, hG, hsup⟩ := ih + refine ⟨∂_{(EuclideanSpace.basisFun (Fin 12) ℝ) (j i)} G, ?_, ?_⟩ + · intro ξ + rw [radianFourierKernel_lineDeriv, hG] + simp only [EuclideanSpace.inner_basisFun_real, homogeneousPartialSymbol, + Finset.prod_insert hi] + ring + · exact (SchwartzMap.tsupport_lineDerivOp_subset _ G).trans hsup + +theorem exists_compact_schwartzPartialDerivative (N : ℕ) (j : Fin N → Fin 12) + (s : Finset (Fin N)) (K : 𝓢(E, ℂ)) (R : ℝ) + (hK : ∀ x : E, R < ‖x‖ → K x = 0) : + ∃ G : 𝓢(E, ℂ), + (∀ ξ : E, radianFourierKernel G ξ = homogeneousPartialSymbol N j s ξ * radianFourierKernel K ξ) ∧ + (∀ x : E, R < ‖x‖ → G x = 0) := by + obtain ⟨G, hG, hsup⟩ := exists_schwartzPartialDerivative N j s K + refine ⟨G, hG, ?_⟩ + have hball : tsupport (K : E → ℂ) ⊆ Metric.closedBall (0 : E) R := by + apply closure_minimal ?_ Metric.isClosed_closedBall + intro x hx + have hh : ‖x‖ ≤ R := le_of_not_gt (fun h => hx (hK x h)) + simpa only [Metric.mem_closedBall, dist_zero_right] using hh + intro x hx + by_contra hGx + have hb := hball (hsup (subset_closure hGx)) + have hh : ‖x‖ ≤ R := by simpa only [Metric.mem_closedBall, dist_zero_right] using hb + exact (not_le_of_gt hx) hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPartialKernel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPartialKernel.lean new file mode 100644 index 0000000000000000000000000000000000000000..d25083f18ffdff2c2a3ed1030a1a15e7ed9d2387 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPartialKernel.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPartialDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzFrequencyCutoff + +namespace OAI + +/-! # Concrete partial-derivative kernels for the finite product formula -/ + +open Set +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def schwartzPartialDerivative (N : ℕ) (j : Fin N → Fin 12) + (s : Finset (Fin N)) (K : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + Classical.choose (exists_schwartzPartialDerivative N j s K) + +theorem schwartzPartialDerivative_fourier (N : ℕ) (j : Fin N → Fin 12) + (s : Finset (Fin N)) (K : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (schwartzPartialDerivative N j s K) ξ = + homogeneousPartialSymbol N j s ξ * radianFourierKernel K ξ := + (Classical.choose_spec (exists_schwartzPartialDerivative N j s K)).1 ξ + +theorem schwartzPartialDerivative_support (N : ℕ) (j : Fin N → Fin 12) + (s : Finset (Fin N)) (K : 𝓢(E, ℂ)) : + tsupport (schwartzPartialDerivative N j s K : E → ℂ) ⊆ tsupport (K : E → ℂ) := + (Classical.choose_spec (exists_schwartzPartialDerivative N j s K)).2 + +theorem schwartzPartialDerivative_zero (N : ℕ) (j : Fin N → Fin 12) + (s : Finset (Fin N)) (K : 𝓢(E, ℂ)) (R : ℝ) + (hK : ∀ x : E, R < ‖x‖ → K x = 0) (x : E) (hx : R < ‖x‖) : + schwartzPartialDerivative N j s K x = 0 := by + have hball : tsupport (K : E → ℂ) ⊆ Metric.closedBall (0 : E) R := by + apply closure_minimal ?_ Metric.isClosed_closedBall + intro y hy + have hh : ‖y‖ ≤ R := le_of_not_gt (fun h => hy (hK y h)) + simpa only [Metric.mem_closedBall, dist_zero_right] using hh + by_contra hn + have hb := hball (schwartzPartialDerivative_support N j s K (subset_closure hn)) + exact (not_le_of_gt hx) (by simpa only [Metric.mem_closedBall, dist_zero_right] using hb) + +noncomputable def partialFilterKernel (R : ℝ) (hR : 0 < R) (N : ℕ) + (j : Fin N → Fin 12) (s : Finset (Fin N)) : 𝓢(E, ℂ) := + schwartzPartialDerivative N j s (radianInverseKernel (smoothFrequencyCutoff R hR)) + +theorem partialFilterKernel_fourier (R : ℝ) (hR : 0 < R) (N : ℕ) + (j : Fin N → Fin 12) (s : Finset (Fin N)) (ξ : E) : + radianFourierKernel (partialFilterKernel R hR N j s) ξ = + homogeneousPartialSymbol N j s ξ * smoothFrequencyCutoff R hR ξ := by + rw [partialFilterKernel, schwartzPartialDerivative_fourier, radianFourierKernel_inverseKernel] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodization.lean new file mode 100644 index 0000000000000000000000000000000000000000..35de589f9e1a04d88a73be8363566d21c5ae4f92 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodization.lean @@ -0,0 +1,106 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevWeights +import Mathlib.Analysis.Distribution.SchwartzSpace.Basic + +namespace OAI + +/-! # Uniform periodization bounds for the localization kernel + +Fourteen powers of decay suffice in twelve dimensions. Lattice translation +reduces each continuous frequency to a bounded fundamental cell, and the +already proved lattice p-series controls the remaining sum. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +private theorem schwartz_decay_fourteen + (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) : + ∃ M : ℝ, 0 < M ∧ ∀ x, (1 + ‖x‖) ^ 14 * ‖K x‖ ≤ M := by + let M : ℝ := 2 ^ (14 : ℕ) * + (Finset.Iic (14, 0)).sup (fun m => SchwartzMap.seminorm ℂ m.1 m.2) K + refine ⟨max M 1, lt_of_lt_of_le zero_lt_one (le_max_right _ _), ?_⟩ + intro x + have h := SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℂ) + (m := (14, 0)) (k := 14) (n := 0) (by decide) (by decide) K x + have h' : (1 + ‖x‖) ^ 14 * ‖K x‖ ≤ M := by + simpa only [norm_iteratedFDeriv_zero] using h + exact h'.trans (le_max_left M 1) + +private theorem bounded_shift_decay + (K : EuclideanSpace ℝ (Fin 12) → ℂ) (M : ℝ) + (hdecay : ∀ x, (1 + ‖x‖) ^ 14 * ‖K x‖ ≤ M) + (z : EuclideanSpace ℝ (Fin 12)) (hz : ‖z‖ ≤ 12) + (n : EuclideanSpace ℝ (Fin 12)) : + ‖K (z - n)‖ ≤ (13 ^ (14 : ℕ) * M) * ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹ := by + have hn : ‖n‖ ≤ ‖z‖ + ‖z - n‖ := by + calc + ‖n‖ = ‖z - (z - n)‖ := by rw [sub_sub_cancel] + _ ≤ ‖z‖ + ‖z - n‖ := norm_sub_le _ _ + have hlin : 1 + ‖n‖ ≤ 13 * (1 + ‖z - n‖) := by + nlinarith [norm_nonneg (z - n)] + have hsq : 1 + ‖n‖ ^ 2 ≤ (1 + ‖n‖) ^ 2 := by nlinarith [norm_nonneg n] + have hpow : (1 + ‖n‖ ^ 2) ^ (7 : ℕ) ≤ + 13 ^ (14 : ℕ) * (1 + ‖z - n‖) ^ (14 : ℕ) := by + calc + _ ≤ ((1 + ‖n‖) ^ 2) ^ (7 : ℕ) := by gcongr + _ = (1 + ‖n‖) ^ (14 : ℕ) := by ring + _ ≤ (13 * (1 + ‖z - n‖)) ^ (14 : ℕ) := by gcongr + _ = _ := by rw [mul_pow] + rw [← div_eq_mul_inv] + apply (le_div_iff₀ (by positivity : 0 < (1 + ‖n‖ ^ 2) ^ (7 : ℕ))).2 + calc + _ = (1 + ‖n‖ ^ 2) ^ (7 : ℕ) * ‖K (z - n)‖ := mul_comm _ _ + _ ≤ (13 ^ (14 : ℕ) * (1 + ‖z - n‖) ^ (14 : ℕ)) * ‖K (z - n)‖ := + mul_le_mul_of_nonneg_right hpow (norm_nonneg _) + _ = 13 ^ (14 : ℕ) * ((1 + ‖z - n‖) ^ (14 : ℕ) * ‖K (z - n)‖) := by ring + _ ≤ _ := mul_le_mul_of_nonneg_left (hdecay (z - n)) (by positivity) + +private theorem summable_localization_majorant : + Summable (fun n : frequencyLattice => ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹) := by + have h := summable_sobolev_variances 0 7 (by norm_num) + convert h using 1 + ext n + norm_num [Real.rpow_neg] + +/-- Every Schwartz localization kernel has a uniform lattice-periodization bound. -/ +theorem exists_schwartz_periodization_bound (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (S : Finset frequencyLattice) (x : EuclideanSpace ℝ (Fin 12)), + ∑ n ∈ S, ‖K (x - n)‖ ≤ C := by + classical + obtain ⟨M, hM, hdecay⟩ := schwartz_decay_fourteen K + let D : ℝ := 13 ^ (14 : ℕ) * M + let seq := fun n : frequencyLattice => ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹ + have hD : 0 ≤ D := by dsimp [D]; positivity + have hseq : Summable seq := summable_localization_majorant + refine ⟨D * ∑' n, seq n, mul_nonneg hD (tsum_nonneg (fun _ => by dsimp [seq]; positivity)), ?_⟩ + intro S x + let b := (EuclideanSpace.basisFun (Fin 12) ℝ).toBasis + let l : frequencyLattice := ZSpan.floor b x + let z := ZSpan.fract b x + have hz : ‖z‖ ≤ 12 := by + have h := ZSpan.norm_fract_le b x + simpa [b, OrthonormalBasis.norm_eq_one] using h + have hx (n : frequencyLattice) : x - (n : EuclideanSpace ℝ (Fin 12)) = + z - ((n - l : frequencyLattice) : EuclideanSpace ℝ (Fin 12)) := by + dsimp [z, ZSpan.fract] + change x - (n : EuclideanSpace ℝ (Fin 12)) = (x - (l : EuclideanSpace ℝ (Fin 12))) - + ((n : EuclideanSpace ℝ (Fin 12)) - (l : EuclideanSpace ℝ (Fin 12))) + abel + have hs : Summable (fun n => seq (n - l)) := (Equiv.subRight l).summable_iff.mpr hseq + calc + _ ≤ D * ∑ n ∈ S, seq (n - l) := by + rw [Finset.mul_sum] + apply Finset.sum_le_sum + intro n _ + rw [hx] + exact bounded_shift_decay K M hdecay z hz (n - l) + _ ≤ D * ∑' n, seq (n - l) := mul_le_mul_of_nonneg_left + (hs.sum_le_tsum S (fun _ _ => by dsimp [seq]; positivity)) hD + _ = _ := by + congr 1 + exact (Equiv.subRight l).tsum_eq seq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationFunction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationFunction.lean new file mode 100644 index 0000000000000000000000000000000000000000..87070961a57d54e238f18d126149c3a7ab20ec5c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationFunction.lean @@ -0,0 +1,173 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusDerivatives +import Mathlib.Analysis.Fourier.AddCircleMulti + +namespace OAI + +/-! # Actual continuous periodization in twelve dimensions + +Schwartz decay gives local normal convergence of lattice translates. The +resulting function descends to the genuine product torus. +-/ + +open Set Filter Topology TopologicalSpace +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def frequencyCoordinatesEquiv : frequencyLattice ≃ₗ[ℤ] (Fin 12 → ℤ) := + ((EuclideanSpace.basisFun (Fin 12) ℝ).toBasis.restrictScalars ℤ).repr.trans + (Finsupp.linearEquivFunOnFinite ℤ ℤ (Fin 12)) + +theorem frequencyCoordinatesEquiv_apply (n : frequencyLattice) : + frequencyCoordinatesEquiv n = frequencyCoordinates n := rfl + +private theorem schwartz_periodization_decay (K : 𝓢(E, ℂ)) : + ∃ M : ℝ, 0 ≤ M ∧ ∀ x : E, (1 + ‖x‖) ^ 14 * ‖K x‖ ≤ M := by + let M := 2 ^ (14 : ℕ) * + (Finset.Iic (14, 0)).sup (fun m => SchwartzMap.seminorm ℂ m.1 m.2) K + refine ⟨max M 1, le_trans (by norm_num) (le_max_right _ _), ?_⟩ + intro x + have h := SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℂ) + (m := (14, 0)) (k := 14) (n := 0) (by decide) (by decide) K x + have h' : (1 + ‖x‖) ^ 14 * ‖K x‖ ≤ M := by + simpa only [norm_iteratedFDeriv_zero] using h + exact h'.trans (le_max_left _ _) + +private theorem schwartz_periodization_translate_bound (K : 𝓢(E, ℂ)) (M R : ℝ) + (hM : ∀ x : E, (1 + ‖x‖) ^ 14 * ‖K x‖ ≤ M) (hR : 0 ≤ R) + (x : E) (hx : ‖x‖ ≤ R) (n : frequencyLattice) : + ‖K (x + n)‖ ≤ ((1 + R) ^ 14 * M) * ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹ := by + have hn : ‖n‖ ≤ ‖x + (n : E)‖ + ‖x‖ := by + have h := norm_sub_le (x + (n : E)) x + simpa only [add_sub_cancel_left, Submodule.norm_coe] using h + have hlin : 1 + ‖n‖ ≤ (1 + R) * (1 + ‖x + (n : E)‖) := by + nlinarith [norm_nonneg (x + (n : E))] + have hsquare : 1 + ‖n‖ ^ 2 ≤ (1 + ‖n‖) ^ 2 := by + nlinarith [norm_nonneg n] + have hp : (1 + ‖n‖ ^ 2) ^ (7 : ℕ) ≤ + (1 + R) ^ (14 : ℕ) * (1 + ‖x + (n : E)‖) ^ (14 : ℕ) := by + calc + _ ≤ ((1 + ‖n‖) ^ 2) ^ (7 : ℕ) := by gcongr + _ = (1 + ‖n‖) ^ (14 : ℕ) := by ring + _ ≤ ((1 + R) * (1 + ‖x + (n : E)‖)) ^ (14 : ℕ) := by gcongr + _ = _ := by rw [mul_pow] + rw [← div_eq_mul_inv] + apply (le_div_iff₀ (by positivity : 0 < (1 + ‖n‖ ^ 2) ^ (7 : ℕ))).mpr + calc + _ = (1 + ‖n‖ ^ 2) ^ (7 : ℕ) * ‖K (x + n)‖ := mul_comm _ _ + _ ≤ ((1 + R) ^ (14 : ℕ) * (1 + ‖x + (n : E)‖) ^ (14 : ℕ)) * + ‖K (x + n)‖ := mul_le_mul_of_nonneg_right hp (norm_nonneg _) + _ = (1 + R) ^ (14 : ℕ) * ((1 + ‖x + (n : E)‖) ^ (14 : ℕ) * + ‖K (x + n)‖) := by ring + _ ≤ _ := mul_le_mul_of_nonneg_left (hM _) (by positivity) + +noncomputable def schwartzLatticeTranslate (K : 𝓢(E, ℂ)) (n : frequencyLattice) : C(E, ℂ) := + K.toContinuousMap.comp (ContinuousMap.addRight (n : E)) + +theorem summable_schwartzLatticeTranslate_restrict (K : 𝓢(E, ℂ)) (S : Compacts E) : + Summable (fun n : frequencyLattice => ‖(schwartzLatticeTranslate K n).restrict S‖) := by + obtain ⟨M, hM, hdecay⟩ := schwartz_periodization_decay K + obtain ⟨r, hr⟩ := S.isCompact.isBounded.subset_closedBall (0 : E) + let R := max r 0 + have hR : 0 ≤ R := le_max_right _ _ + have hs : Summable (fun n : frequencyLattice => ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹) := by + have h := summable_sobolev_variances 0 7 (by norm_num) + convert h using 1 + ext n + norm_num [Real.rpow_neg] + apply Summable.of_nonneg_of_le (fun _ => norm_nonneg _) _ + (hs.mul_left ((1 + R) ^ (14 : ℕ) * M)) + intro n + apply (ContinuousMap.norm_le _ (by positivity)).mpr + intro x + apply schwartz_periodization_translate_bound K M R hdecay hR x.1 + have hx := hr x.2 + rw [Metric.mem_closedBall, dist_zero_right] at hx + exact hx.trans (le_max_left _ _) + +theorem summable_schwartzLatticeTranslate (K : 𝓢(E, ℂ)) : + Summable (schwartzLatticeTranslate K) := + ContinuousMap.summable_of_locally_summable_norm (summable_schwartzLatticeTranslate_restrict K) + +theorem summable_norm_schwartz_lattice (K : 𝓢(E, ℂ)) (x : E) : + Summable (fun n : frequencyLattice => ‖K (x + n)‖) := by + let S : Compacts E := ⟨{x}, isCompact_singleton⟩ + apply Summable.of_nonneg_of_le (fun _ => norm_nonneg _) _ + (summable_schwartzLatticeTranslate_restrict K S) + intro n + exact ((schwartzLatticeTranslate K n).restrict S).norm_coe_le_norm ⟨x, rfl⟩ + +noncomputable def schwartzPeriodization (K : 𝓢(E, ℂ)) : C(E, ℂ) := + ∑' n, schwartzLatticeTranslate K n + +theorem schwartzPeriodization_apply (K : 𝓢(E, ℂ)) (x : E) : + schwartzPeriodization K x = ∑' n : frequencyLattice, K (x + n) := by + exact (ContinuousMap.tsum_apply (summable_schwartzLatticeTranslate K) x).symm + +theorem schwartzPeriodization_add_lattice (K : 𝓢(E, ℂ)) (x : E) (n : frequencyLattice) : + schwartzPeriodization K (x + n) = schwartzPeriodization K x := by + simp only [schwartzPeriodization_apply] + calc + _ = ∑' m : frequencyLattice, K (x + ((m + n : frequencyLattice) : E)) := by + apply tsum_congr + intro m + congr 1 + simp only [Submodule.coe_add] + abel + _ = _ := (Equiv.addRight n).tsum_eq (fun m : frequencyLattice => K (x + m)) + +noncomputable def unitTorusProjection (x : E) : UnitAddTorus (Fin 12) := + fun j => (x j : UnitAddCircle) + +theorem unitTorusProjection_isOpenQuotientMap : IsOpenQuotientMap unitTorusProjection := by + exact (IsOpenQuotientMap.piMap fun _ : Fin 12 => + (QuotientAddGroup.isOpenQuotientMap_mk : + IsOpenQuotientMap (fun x : ℝ => (x : UnitAddCircle)))).comp + (PiLp.homeomorph 2 (fun _ : Fin 12 => ℝ)).isOpenQuotientMap + +theorem schwartzPeriodization_eq_of_projection_eq (K : 𝓢(E, ℂ)) {x y : E} + (h : unitTorusProjection x = unitTorusProjection y) : + schwartzPeriodization K x = schwartzPeriodization K y := by + have hj (j : Fin 12) : ((x j - y j : ℝ) : UnitAddCircle) = 0 := by + have hc := congrFun h j + change (x j : UnitAddCircle) = (y j : UnitAddCircle) at hc + rw [AddCircle.coe_sub, hc, sub_self] + have hz (j : Fin 12) : ∃ n : ℤ, (n : ℝ) = x j - y j := by + simpa only [zsmul_eq_mul, mul_one] using ((AddCircle.coe_eq_zero_iff (1 : ℝ)).mp (hj j)) + choose z hz using hz + let n := frequencyCoordinatesEquiv.symm z + have hn (j : Fin 12) : ((n : frequencyLattice) : E) j = (z j : ℝ) := by + rw [← frequencyCoordinates_coe] + change (frequencyCoordinatesEquiv n j : ℝ) = _ + rw [LinearEquiv.apply_symm_apply] + have hxy : x = y + (n : E) := by + ext j + change x j = y j + (n : E) j + rw [hn, hz] + ring + rw [hxy, schwartzPeriodization_add_lattice] + +noncomputable def schwartzPeriodizedTorus (K : 𝓢(E, ℂ)) : C(UnitAddTorus (Fin 12), ℂ) where + toFun x := schwartzPeriodization K + (Function.surjInv unitTorusProjection_isOpenQuotientMap.surjective x) + continuous_toFun := by + apply unitTorusProjection_isOpenQuotientMap.isQuotientMap.continuous_iff.mpr + have he : (fun x : E => schwartzPeriodization K + (Function.surjInv unitTorusProjection_isOpenQuotientMap.surjective + (unitTorusProjection x))) = schwartzPeriodization K := by + funext x + apply schwartzPeriodization_eq_of_projection_eq + exact Function.rightInverse_surjInv unitTorusProjection_isOpenQuotientMap.surjective _ + simpa only [Function.comp_def, he] using (schwartzPeriodization K).continuous + +theorem schwartzPeriodizedTorus_projection (K : 𝓢(E, ℂ)) (x : E) : + schwartzPeriodizedTorus K (unitTorusProjection x) = schwartzPeriodization K x := by + apply schwartzPeriodization_eq_of_projection_eq + exact Function.rightInverse_surjInv unitTorusProjection_isOpenQuotientMap.surjective _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..35c35ff01fddc421b9bff13d18265682ca4531a9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationIntegral.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodizationFunction +import Mathlib.MeasureTheory.Integral.DominatedConvergence +import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace + +namespace OAI + +/-! # Integration of the genuine lattice periodization + +The fundamental-cell integral of a periodized Schwartz function, twisted by +a periodic unit-modulus character, is its whole-space integral. +-/ + +open Set MeasureTheory TopologicalSpace +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +instance frequencyLattice_vaddInvariant_volume : + VAddInvariantMeasure frequencyLattice E (volume : Measure E) where + measure_preimage_vadd n s _ := by + change volume ((fun x : E => (n : E) + x) ⁻¹' s) = volume s + exact measure_preimage_add volume (n : E) s + +noncomputable def frequencyCell : Set E := + ZSpan.fundamentalDomain (EuclideanSpace.basisFun (Fin 12) ℝ).toBasis + +theorem frequencyCell_isAddFundamentalDomain : + IsAddFundamentalDomain frequencyLattice frequencyCell (volume : Measure E) := by + exact ZSpan.isAddFundamentalDomain (EuclideanSpace.basisFun (Fin 12) ℝ).toBasis volume + +theorem frequencyCell_isBounded : Bornology.IsBounded frequencyCell := + ZSpan.fundamentalDomain_isBounded _ + +theorem frequencyCell_measurableSet : MeasurableSet frequencyCell := + ZSpan.fundamentalDomain_measurableSet _ + +theorem frequencyCell_volume_lt_top : volume frequencyCell < ⊤ := + (measure_mono subset_closure).trans_lt frequencyCell_isBounded.isCompact_closure.measure_lt_top + +theorem schwartzPeriodization_twisted_integral (K : 𝓢(E, ℂ)) (e : C(E, ℂ)) + (he : ∀ x, ‖e x‖ = 1) + (hperiod : ∀ (x : E) (n : frequencyLattice), e (x + n) = e x) : + (∫ x in frequencyCell, e x * schwartzPeriodization K x) = ∫ x, e x * K x := by + let S : Compacts E := ⟨closure frequencyCell, frequencyCell_isBounded.isCompact_closure⟩ + have hI (n : frequencyLattice) : + IntegrableOn (fun x : E => e x * K (x + n)) frequencyCell := by + have hc : Continuous (fun x : E => e x * K (x + n)) := by fun_prop + exact (hc.continuousOn.integrableOn_compact S.isCompact).mono_set subset_closure + have hnorm (n : frequencyLattice) (x : E) : ‖e x * K (x + n)‖ = ‖K (x + n)‖ := by + rw [norm_mul, he, one_mul] + have hsum : Summable (fun n : frequencyLattice => + ∫ x in frequencyCell, ‖e x * K (x + n)‖) := by + apply Summable.of_nonneg_of_le (fun _ => integral_nonneg (fun _ => norm_nonneg _)) _ + ((summable_schwartzLatticeTranslate_restrict K S).mul_right (volume.real frequencyCell)) + intro n + rw [← Real.norm_of_nonneg (integral_nonneg (fun _ => norm_nonneg _))] + apply norm_setIntegral_le_of_norm_le_const frequencyCell_volume_lt_top + intro x hx + rw [norm_norm, hnorm] + exact ((schwartzLatticeTranslate K n).restrict S).norm_coe_le_norm ⟨x, subset_closure hx⟩ + have hwhole : Integrable (fun x : E => e x * K x) := by + apply K.integrable.bdd_mul e.continuous.aestronglyMeasurable + filter_upwards [] with x + exact (he x).le + calc + _ = ∫ x in frequencyCell, ∑' n : frequencyLattice, e x * K (x + n) := by + apply integral_congr_ae + filter_upwards [] with x + rw [schwartzPeriodization_apply, tsum_mul_left] + _ = ∑' n : frequencyLattice, ∫ x in frequencyCell, e x * K (x + n) := + (integral_tsum_of_summable_integral_norm hI hsum).symm + _ = ∑' n : frequencyLattice, ∫ x in frequencyCell, e ((n : E) + x) * K ((n : E) + x) := by + apply tsum_congr + intro n + apply integral_congr_ae + filter_upwards [] with x + rw [add_comm (n : E) x, hperiod] + _ = _ := (frequencyCell_isAddFundamentalDomain.integral_eq_tsum'' _ hwhole).symm + +theorem schwartzPeriodization_integral (K : 𝓢(E, ℂ)) : + (∫ x in frequencyCell, schwartzPeriodization K x) = ∫ x, K x := by + simpa using schwartzPeriodization_twisted_integral K (1 : C(E, ℂ)) (by simp) (by simp) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..5f230fa4facebdc065951bcdd73a767e21914ed6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationLimit.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPhysicalSampling +import Mathlib.Analysis.Normed.Group.Tannery + +namespace OAI + +/-! # Fixed Schwartz samples converge locally as the torus expands -/ + +open Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem tendsto_schwartz_periodization (ψ : 𝓢(E, ℂ)) (y : E) + (L : ℕ → ℝ) (hL : ∀ j, 1 ≤ L j) (hLinf : Tendsto L atTop atTop) : + Tendsto (fun j => ∑' n : frequencyLattice, ψ (y + (2 * Real.pi * L j) • (n : E))) + atTop (𝓝 (ψ y)) := by + classical + let M : ℝ := 2 ^ (14 : ℕ) * + (Finset.Iic (14, 0)).sup (fun m => SchwartzMap.seminorm ℂ m.1 m.2) ψ + have hM : 0 ≤ M := by dsimp [M]; positivity + have hdecay (x : E) : (1 + ‖x‖) ^ 14 * ‖ψ x‖ ≤ M := by + simpa only [M, norm_iteratedFDeriv_zero] using + SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℂ) + (m := (14, 0)) (k := 14) (n := 0) (by decide) (by decide) ψ x + let bound := fun n : frequencyLattice => M * ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹ + have hs : Summable bound := by + have h := summable_sobolev_variances 0 7 (by norm_num) + have hh : Summable (fun n : frequencyLattice => ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹) := by + convert h using 1 + ext n + norm_num [Real.rpow_neg] + exact hh.mul_left M + have htriangle (j : ℕ) (n : frequencyLattice) : + (2 * Real.pi * ‖n‖) * L j - ‖y‖ ≤ ‖y + (2 * Real.pi * L j) • (n : E)‖ := by + have ht := norm_sub_le (y + (2 * Real.pi * L j) • (n : E)) y + simp only [add_sub_cancel_left, norm_smul, Real.norm_eq_abs, + abs_of_pos (show 0 < 2 * Real.pi * L j by positivity [hL j]), Submodule.norm_coe] at ht + nlinarith + have hp (n : frequencyLattice) : + Tendsto (fun j => ψ (y + (2 * Real.pi * L j) • (n : E))) atTop + (𝓝 (if n = 0 then ψ y else 0)) := by + by_cases hn : n = 0 + · subst n + simpa only [ite_true, Submodule.coe_zero, smul_zero, add_zero] using + (tendsto_const_nhds : Tendsto (fun _ : ℕ => ψ y) atTop (𝓝 (ψ y))) + · have hnpos : 0 < 2 * Real.pi * ‖n‖ := by + positivity [lt_of_lt_of_le zero_lt_one (one_le_norm_frequencyLattice hn)] + have hnorm : Tendsto (fun j => ‖y + (2 * Real.pi * L j) • (n : E)‖) atTop atTop := + tendsto_atTop_mono (fun j => htriangle j n) + (by simpa only [sub_eq_add_neg] using + tendsto_atTop_add_const_right atTop (-‖y‖) (hLinf.const_mul_atTop hnpos)) + have he : Tendsto (fun j => y + (2 * Real.pi * L j) • (n : E)) atTop (cocompact E) := by + simpa only [Metric.cobounded_eq_cocompact] using + (tendsto_norm_atTop_iff_cobounded.mp hnorm) + rw [ite_eq_right hn] + exact (SchwartzMap.tendsto_cocompact ψ).comp he + have hb : ∀ᶠ j in atTop, ∀ n : frequencyLattice, + ‖ψ (y + (2 * Real.pi * L j) • (n : E))‖ ≤ bound n := by + filter_upwards [hLinf.eventually (eventually_ge_atTop ‖y‖)] with j hj n + have hnorm : ‖n‖ ≤ ‖y + (2 * Real.pi * L j) • (n : E)‖ := by + by_cases hn : n = 0 + · simp only [hn, norm_zero] + positivity + · have hn1 := one_le_norm_frequencyLattice hn + have hp := Real.pi_gt_three + have hLj := hL j + have hprod := mul_le_mul_of_nonneg_left hLj + (mul_nonneg (by linarith : 0 ≤ 2 * Real.pi - 1) (norm_nonneg n)) + have hyprod := mul_le_mul_of_nonneg_left hj (by linarith : 0 ≤ ‖n‖) + nlinarith [htriangle j n] + have hw : (1 + ‖n‖ ^ 2) ^ (7 : ℕ) ≤ + (1 + ‖y + (2 * Real.pi * L j) • (n : E)‖) ^ 14 := by + calc + _ ≤ ((1 + ‖y + (2 * Real.pi * L j) • (n : E)‖) ^ 2) ^ (7 : ℕ) := by + gcongr + calc + 1 + ‖n‖ ^ 2 ≤ (1 + ‖n‖) ^ 2 := by nlinarith [norm_nonneg n] + _ ≤ (1 + ‖y + (2 * Real.pi * L j) • (n : E)‖) ^ 2 := by gcongr + _ = _ := by ring + change _ ≤ M * ((1 + ‖n‖ ^ 2) ^ (7 : ℕ))⁻¹ + rw [← div_eq_mul_inv] + apply (le_div_iff₀ (by positivity)).mpr + calc + _ ≤ (1 + ‖y + (2 * Real.pi * L j) • (n : E)‖) ^ 14 * + ‖ψ (y + (2 * Real.pi * L j) • (n : E))‖ := by + nlinarith [mul_le_mul_of_nonneg_right hw (norm_nonneg + (ψ (y + (2 * Real.pi * L j) • (n : E))))] + _ ≤ M := hdecay _ + have h := tendsto_tsum_of_dominated_convergence hs hp hb + simpa only [tsum_ite_eq] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationWeighted.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationWeighted.lean new file mode 100644 index 0000000000000000000000000000000000000000..d722ba6b0118527e163993fe0dbb30c7713d9a3d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPeriodizationWeighted.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodizationIntegral + +namespace OAI + +/-! # Integrating periodization against a bounded periodic function -/ + +open Set MeasureTheory TopologicalSpace +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartzPeriodization_weighted_integral (K : 𝓢(E, ℂ)) (e : C(E, ℂ)) + (C : ℝ) (hC : 0 ≤ C) (he : ∀ x, ‖e x‖ ≤ C) + (hperiod : ∀ (x : E) (n : frequencyLattice), e (x + n) = e x) : + (∫ x in frequencyCell, e x * schwartzPeriodization K x) = ∫ x, e x * K x := by + let S : Compacts E := ⟨closure frequencyCell, frequencyCell_isBounded.isCompact_closure⟩ + have hI (n : frequencyLattice) : + IntegrableOn (fun x : E => e x * K (x + n)) frequencyCell := by + have hc : Continuous (fun x : E => e x * K (x + n)) := by fun_prop + exact (hc.continuousOn.integrableOn_compact S.isCompact).mono_set subset_closure + have hsum : Summable (fun n : frequencyLattice => + ∫ x in frequencyCell, ‖e x * K (x + n)‖) := by + apply Summable.of_nonneg_of_le (fun _ => integral_nonneg (fun _ => norm_nonneg _)) _ + (((summable_schwartzLatticeTranslate_restrict K S).mul_left C).mul_right + (volume.real frequencyCell)) + intro n + rw [← Real.norm_of_nonneg (integral_nonneg (fun _ => norm_nonneg _))] + apply norm_setIntegral_le_of_norm_le_const frequencyCell_volume_lt_top + intro x hx + rw [norm_norm, norm_mul] + have hb := ((schwartzLatticeTranslate K n).restrict S).norm_coe_le_norm ⟨x, subset_closure hx⟩ + change ‖K (x + n)‖ ≤ ‖(schwartzLatticeTranslate K n).restrict S‖ at hb + exact mul_le_mul (he x) hb (norm_nonneg _) hC + have hwhole : Integrable (fun x : E => e x * K x) := by + apply K.integrable.bdd_mul e.continuous.aestronglyMeasurable + exact ae_of_all _ he + calc + _ = ∫ x in frequencyCell, ∑' n : frequencyLattice, e x * K (x + n) := by + apply integral_congr_ae + filter_upwards [] with x + rw [schwartzPeriodization_apply, tsum_mul_left] + _ = ∑' n : frequencyLattice, ∫ x in frequencyCell, e x * K (x + n) := + (integral_tsum_of_summable_integral_norm hI hsum).symm + _ = ∑' n : frequencyLattice, ∫ x in frequencyCell, e ((n : E) + x) * K ((n : E) + x) := by + apply tsum_congr + intro n + apply integral_congr_ae + filter_upwards [] with x + rw [add_comm (n : E) x, hperiod] + _ = _ := (frequencyCell_isAddFundamentalDomain.integral_eq_tsum'' _ hwhole).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPhysicalSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPhysicalSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..cb0427ba2264249241fe5863af8b329e05ef19ad --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPhysicalSampling.lean @@ -0,0 +1,131 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPoissonSummation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzTorusSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPhysicalLocalization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierContinuity +import Mathlib.Analysis.Real.Pi.Bounds + +namespace OAI + +/-! # The physical function of the uniformly bounded sampled vector + +With the exact radian Fourier normalization, the sampled `Y_L` vector is +the periodization of the original physical Schwartz function at period `2πL`. +-/ + +open scoped SchwartzMap FourierTransform RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def periodizationRescale (L : ℝ) (hL : 0 < L) (ψ : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + SchwartzMap.compCLMOfContinuousLinearEquiv ℂ + ((Units.mk0 (2 * Real.pi * L) (by positivity)) • ContinuousLinearEquiv.refl ℝ E) ψ + +theorem periodizationRescale_apply (L : ℝ) (hL : 0 < L) (ψ : 𝓢(E, ℂ)) (x : E) : + periodizationRescale L hL ψ x = ψ ((2 * Real.pi * L) • x) := by + simp [periodizationRescale] + +theorem fourier_periodizationRescale (L : ℝ) (hL : 0 < L) (ψ : 𝓢(E, ℂ)) + (n : frequencyLattice) : + 𝓕 (periodizationRescale L hL ψ : E → ℂ) (n : E) = + schwartzLatticeCoefficient L (radianFourierKernel ψ) n := by + have hp : (2 * Real.pi : ℝ) ≠ 0 := by positivity + have hd : 0 < 2 * Real.pi * L := by positivity + have hstd (f : E → ℂ) : radianFourierIntegral f ((2 * Real.pi) • (n : E)) = + 𝓕 f (n : E) := by + rw [radianFourierIntegral_eq_fourier, smul_smul, inv_mul_cancel₀ hp, one_smul] + rw [← hstd] + have hfun : (periodizationRescale L hL ψ : E → ℂ) = + fun x => ψ (((2 * Real.pi * L)⁻¹)⁻¹ • x) := by + funext x + rw [periodizationRescale_apply, inv_inv] + rw [hfun, radianFourier_dilation (2 * Real.pi * L)⁻¹ (inv_pos.mpr hd)] + have harg : (2 * Real.pi * L)⁻¹ • ((2 * Real.pi) • (n : E)) = L⁻¹ • (n : E) := by + rw [smul_smul] + congr 1 + field_simp + rw [harg, inv_pow] + simp only [schwartzLatticeCoefficient, radianFourierKernel_apply, Complex.real_smul] + +theorem integerFourierCharacter_rescale (L : ℝ) (_hL : 0 < L) + (n : frequencyLattice) (y : E) : + integerFourierCharacter n ((2 * Real.pi * L)⁻¹ • y) = + spatialFourierCharacter n (L⁻¹ • y) := by + rw [integerFourierCharacter_exp] + unfold spatialFourierCharacter + simp only [real_inner_smul_left] + congr 1 + push_cast + field_simp + +theorem schwartz_physical_sampling_series (L : ℝ) (hL : 0 < L) + (ψ : 𝓢(E, ℂ)) (y : E) : + (∑' n : frequencyLattice, ψ (y + (2 * Real.pi * L) • (n : E))) = + ∑' n : frequencyLattice, schwartzLatticeCoefficient L (radianFourierKernel ψ) n * + spatialFourierCharacter n (L⁻¹ • y) := by + have h := schwartz_poisson_summation (periodizationRescale L hL ψ) + ((2 * Real.pi * L)⁻¹ • y) + have hl (n : frequencyLattice) : + periodizationRescale L hL ψ ((2 * Real.pi * L)⁻¹ • y + (n : E)) = + ψ (y + (2 * Real.pi * L) • (n : E)) := by + rw [periodizationRescale_apply, smul_add, smul_smul, + mul_inv_cancel₀ (show (2 * Real.pi * L : ℝ) ≠ 0 by positivity), one_smul] + simpa only [hl, fourier_periodizationRescale, integerFourierCharacter_rescale L hL] using h + +theorem schwartzTorusSample_physical (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (ψ : 𝓢(E, ℂ)) (y : E) : + expandingTorusFunction a k L + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ)) + (euclideanToTorus (L⁻¹ • y)) = + ∑' n : frequencyLattice, ψ (y + (2 * Real.pi * L) • (n : E)) := by + rw [schwartzTorusSample_function a k L ha ha1 hk hL] + simp only [torusCharacter_euclidean] + exact (schwartz_physical_sampling_series L (by linarith) ψ y).symm + +theorem one_le_norm_frequencyLattice {n : frequencyLattice} (hn : n ≠ 0) : 1 ≤ ‖n‖ := by + classical + have hex : ∃ j : Fin 12, frequencyCoordinates n j ≠ 0 := by + by_contra! h + apply hn + apply frequencyCoordinatesEquiv.injective + rw [map_zero] + funext j + exact h j + obtain ⟨j, hj⟩ := hex + have hz : (1 : ℝ) ≤ |(frequencyCoordinates n j : ℝ)| := by + exact_mod_cast Int.one_le_abs hj + nlinarith [frequencyCoordinates_sq_le n j, sq_abs (frequencyCoordinates n j : ℝ), + norm_nonneg n] + +theorem periodization_eq_of_support_ball (L : ℝ) (hL : 0 < L) (ψ : E → ℂ) + (hψ : ∀ x : E, 2 * L < ‖x‖ → ψ x = 0) (y : E) (hy : ‖y‖ ≤ L) : + (∑' n : frequencyLattice, ψ (y + (2 * Real.pi * L) • (n : E))) = ψ y := by + rw [tsum_eq_single (0 : frequencyLattice)] + · simp + · intro n hn + apply hψ + have hD : 0 < 2 * Real.pi * L := by positivity + have hscaled : 2 * Real.pi * L ≤ ‖(2 * Real.pi * L) • (n : E)‖ := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos hD, Submodule.norm_coe] + nlinarith [one_le_norm_frequencyLattice hn] + have ht : ‖(2 * Real.pi * L) • (n : E)‖ ≤ + ‖y + (2 * Real.pi * L) • (n : E)‖ + ‖y‖ := by + have h := norm_sub_le (y + (2 * Real.pi * L) • (n : E)) y + simpa only [add_sub_cancel_left] using h + nlinarith [mul_pos (sub_pos.mpr Real.pi_gt_three) hL] + +theorem schwartzTorusSample_eq_on_ball (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (ψ : 𝓢(E, ℂ)) (hψ : ∀ x : E, 2 * L < ‖x‖ → ψ x = 0) + (y : E) (hy : ‖y‖ ≤ L) : + expandingTorusFunction a k L + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ)) + (euclideanToTorus (L⁻¹ • y)) = ψ y := by + rw [schwartzTorusSample_physical a k L ha ha1 hk hL] + exact periodization_eq_of_support_ball L (by linarith) ψ hψ y hy + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPoissonSummation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPoissonSummation.lean new file mode 100644 index 0000000000000000000000000000000000000000..e82836334536988858ad4325734ddf1a0eebde63 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPoissonSummation.lean @@ -0,0 +1,133 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodizationIntegral +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevConjugation +import Mathlib.Analysis.Distribution.SchwartzSpace.Fourier + +namespace OAI + +/-! # Poisson summation for the actual twelve-dimensional Fourier lattice + +The periodic function is the locally normally convergent sum of Schwartz +translates. Computing its Fourier coefficients on a fundamental cell and +using the existing multivariate Fourier basis identifies its Fourier series. +-/ + +open Set MeasureTheory +open scoped SchwartzMap FourierTransform RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable local instance : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ + +theorem unitTorus_integral_eq_frequencyCell (f : UnitAddTorus (Fin 12) → ℂ) : + (∫ x : UnitAddTorus (Fin 12), f x) = + ∫ x in frequencyCell, f (unitTorusProjection x) := by + let A : Set (Fin 12 → ℝ) := Set.pi Set.univ (fun _ => Ico (0 : ℝ) 1) + let B : Set (Fin 12 → ℝ) := Set.pi Set.univ (fun _ => Ioc (0 : ℝ) 1) + have hB : B = {x : Fin 12 → ℝ | ∀ i, x i ∈ Ioc 0 1} := by + ext x + simp [B] + have hAB : A =ᵐ[volume] B := by + exact Measure.ae_eq_set_pi (fun _ _ => Ico_ae_eq_Ioc) + have hcell : (WithLp.ofLp : E → Fin 12 → ℝ) ⁻¹' A = frequencyCell := by + ext x + simp only [A, frequencyCell, ZSpan.mem_fundamentalDomain, Set.mem_preimage, + Set.mem_pi, Set.mem_univ, forall_const, + OrthonormalBasis.coe_toBasis_repr_apply, EuclideanSpace.basisFun_repr] + calc + _ = ∫ x in B, f (fun j => (x j : UnitAddCircle)) := by + rw [hB] + simpa only [zero_add] using! + UnitAddTorus.integral_preimage f (fun _ => 0) + _ = ∫ x in A, f (fun j => (x j : UnitAddCircle)) := setIntegral_congr_set hAB.symm + _ = _ := by + have h := (PiLp.volume_preserving_ofLp (Fin 12)).setIntegral_preimage_emb + (MeasurableEquiv.toLp 2 (Fin 12 → ℝ)).symm.measurableEmbedding + (fun x : Fin 12 → ℝ => f (fun j => (x j : UnitAddCircle))) A + simpa only [hcell, unitTorusProjection] using! h.symm + +noncomputable def integerFourierCharacter (n : frequencyLattice) : C(E, ℂ) := + (UnitAddTorus.mFourier (frequencyCoordinates n)).comp + ⟨unitTorusProjection, unitTorusProjection_isOpenQuotientMap.continuous⟩ + +theorem integerFourierCharacter_norm (n : frequencyLattice) (x : E) : + ‖integerFourierCharacter n x‖ = 1 := by + simp [integerFourierCharacter, UnitAddTorus.mFourier, norm_prod, fourier_apply, + Circle.norm_coe] + +theorem unitTorusProjection_add_lattice (x : E) (n : frequencyLattice) : + unitTorusProjection (x + n) = unitTorusProjection x := by + funext j + change ((x j + (n : E) j : ℝ) : UnitAddCircle) = (x j : UnitAddCircle) + rw [AddCircle.coe_add, add_eq_left] + apply (AddCircle.coe_eq_zero_iff (1 : ℝ)).mpr + refine ⟨frequencyCoordinates n j, ?_⟩ + simpa only [zsmul_eq_mul, mul_one] using frequencyCoordinates_coe n j + +theorem integerFourierCharacter_periodic (m n : frequencyLattice) (x : E) : + integerFourierCharacter m (x + n) = integerFourierCharacter m x := by + change UnitAddTorus.mFourier _ (unitTorusProjection (x + n)) = _ + rw [unitTorusProjection_add_lattice] + rfl + +theorem integerFourierCharacter_exp (n : frequencyLattice) (x : E) : + integerFourierCharacter n x = + Complex.exp (((2 * Real.pi * ⟪x, (n : E)⟫ : ℝ) : ℂ) * Complex.I) := by + simp only [integerFourierCharacter, ContinuousMap.comp_apply, ContinuousMap.coe_mk, + UnitAddTorus.mFourier, unitTorusProjection, fourier_coe_apply] + rw [← Complex.exp_sum] + congr 1 + simp only [PiLp.inner_apply, Real.inner_apply, Complex.ofReal_mul, + Complex.ofReal_sum, Finset.mul_sum, Finset.sum_mul] + apply Finset.sum_congr rfl + intro j _ + rw [← frequencyCoordinates_coe n j] + push_cast + ring + +theorem schwartzPeriodizedTorus_fourierCoeff (K : 𝓢(E, ℂ)) (n : frequencyLattice) : + UnitAddTorus.mFourierCoeff (schwartzPeriodizedTorus K) (frequencyCoordinates n) = + 𝓕 (K : E → ℂ) (n : E) := by + have hneg : -frequencyCoordinates n = frequencyCoordinates (-n) := by + funext j + exact (frequencyCoordinates_neg n j).symm + unfold UnitAddTorus.mFourierCoeff + rw [unitTorus_integral_eq_frequencyCell] + simp only [schwartzPeriodizedTorus_projection, smul_eq_mul, hneg] + change (∫ x in frequencyCell, integerFourierCharacter (-n) x * schwartzPeriodization K x) = _ + rw [schwartzPeriodization_twisted_integral K (integerFourierCharacter (-n)) + (integerFourierCharacter_norm (-n)) (fun x m => integerFourierCharacter_periodic (-n) m x)] + rw [Real.fourier_eq'] + apply integral_congr_ae + filter_upwards [] with x + rw [integerFourierCharacter_exp] + simp only [Submodule.coe_neg, inner_neg_right, smul_eq_mul] + congr 2 + push_cast + ring + +theorem schwartz_poisson_summation (K : 𝓢(E, ℂ)) (x : E) : + (∑' n : frequencyLattice, K (x + n)) = + ∑' n : frequencyLattice, 𝓕 (K : E → ℂ) (n : E) * integerFourierCharacter n x := by + have hS : Summable (fun n : frequencyLattice => 𝓕 (K : E → ℂ) (n : E)) := by + apply Summable.of_norm + simpa only [zero_add, SchwartzMap.fourier_coe] using! + summable_norm_schwartz_lattice (𝓕 K) (0 : E) + have hc : Summable (UnitAddTorus.mFourierCoeff (schwartzPeriodizedTorus K)) := by + apply frequencyCoordinatesEquiv.toEquiv.summable_iff.mp + change Summable (fun n : frequencyLattice => + UnitAddTorus.mFourierCoeff (schwartzPeriodizedTorus K) (frequencyCoordinates n)) + simpa only [frequencyCoordinatesEquiv_apply, schwartzPeriodizedTorus_fourierCoeff] using hS + have ht := UnitAddTorus.hasSum_mFourier_series_apply_of_summable hc (unitTorusProjection x) + have heq := (frequencyCoordinatesEquiv.toEquiv.hasSum_iff).mpr ht + change HasSum (fun n : frequencyLattice => + UnitAddTorus.mFourierCoeff (schwartzPeriodizedTorus K) (frequencyCoordinates n) * + UnitAddTorus.mFourier (frequencyCoordinates n) (unitTorusProjection x)) _ at heq + simp only [schwartzPeriodizedTorus_fourierCoeff] at heq + rw [schwartzPeriodizedTorus_projection, schwartzPeriodization_apply] at heq + exact heq.tsum_eq.symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPolynomialMoment.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPolynomialMoment.lean new file mode 100644 index 0000000000000000000000000000000000000000..967ce07fe77697d3d8f73c8115af66d12f52ba8d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzPolynomialMoment.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCommutatorSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.LatticeMomentAlgebra + +namespace OAI + +/-! # Uniform polynomial moments of the actual sampled profile -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem one_add_pow_le_commutator (N : ℕ) (r : ℝ) (hr : 0 ≤ r) : + (1 + r) ^ N ≤ 2 ^ N * (1 + r * (2 + r) ^ N) := by + have hpow : 1 ≤ (2 : ℝ) ^ N := one_le_pow₀ (by norm_num) + by_cases h : r ≤ 1 + · exact (pow_le_pow_left₀ (by positivity) (by linarith) N).trans + (le_mul_of_one_le_right (by positivity) (by + nlinarith [mul_nonneg hr (pow_nonneg (by linarith : 0 ≤ 2 + r) N)])) + · have hr1 : 1 ≤ r := (lt_of_not_ge h).le + calc + _ ≤ (2 + r) ^ N := pow_le_pow_left₀ (by positivity) (by linarith) N + _ ≤ r * (2 + r) ^ N := le_mul_of_one_le_left (by positivity) hr1 + _ ≤ 1 + r * (2 + r) ^ N := by linarith + _ ≤ _ := le_mul_of_one_le_left (by positivity) hpow + +theorem exists_schwartzPolynomialMoment_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (N : ℕ) (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : ℝ, 1 ≤ L → + Summable (latticeMomentMass L N (schwartzLatticeCoefficient L K)) ∧ + (∑' n, latticeMomentMass L N (schwartzLatticeCoefficient L K) n) ≤ C := by + obtain ⟨B, hB, hb⟩ := exists_schwartzTorusSample_norm_bound a k ha1 hk K + obtain ⟨D, hD, hd⟩ := exists_schwartzCommutator_sampling_bound N K + refine ⟨2 ^ N * (expandingEmbeddingBound a k * B + D), by + unfold expandingEmbeddingBound + positivity, ?_⟩ + intro L hL + have hplain := summable_norm_expandingFourierCoefficient a k L ha ha1 hk hL + (schwartzTorusSample a k L ha1 hk hL K) + have hbplain := tsum_norm_expandingFourierCoefficient_le a k L ha ha1 hk hL + (schwartzTorusSample a k L ha1 hk hL K) + simp_rw [schwartzTorusSample_coefficient a k L ha1 hk hL K] at hplain hbplain + have hp := hbplain.trans (mul_le_mul_of_nonneg_left (hb L hL) (Real.sqrt_nonneg _)) + obtain ⟨hcomm, hbcomm⟩ := hd L hL + have hterm (n : frequencyLattice) : latticeMomentMass L N (schwartzLatticeCoefficient L K) n ≤ + 2 ^ N * (‖schwartzLatticeCoefficient L K n‖ + expandingCommutatorMoment L N (schwartzLatticeCoefficient L K) n) := by + have h := mul_le_mul_of_nonneg_right + (one_add_pow_le_commutator N (‖n‖ / L) (div_nonneg (norm_nonneg _) (by linarith))) + (norm_nonneg (schwartzLatticeCoefficient L K n)) + dsimp only [latticeMomentMass, latticeMomentWeight, expandingCommutatorMoment] + convert h using 1; ring + have hsum := (hplain.add hcomm).mul_left ((2 : ℝ) ^ N) + have hs := Summable.of_nonneg_of_le + (fun n => mul_nonneg (le_trans zero_le_one (latticeMomentWeight_one_le L hL N n)) (norm_nonneg _)) hterm hsum + refine ⟨hs, ?_⟩ + calc + _ ≤ ∑' n, 2 ^ N * (‖schwartzLatticeCoefficient L K n‖ + expandingCommutatorMoment L N (schwartzLatticeCoefficient L K) n) := hs.tsum_le_tsum hterm hsum + _ = 2 ^ N * ((∑' n, ‖schwartzLatticeCoefficient L K n‖) + ∑' n, expandingCommutatorMoment L N (schwartzLatticeCoefficient L K) n) := by + rw [tsum_mul_left, hplain.tsum_add hcomm] + _ ≤ _ := mul_le_mul_of_nonneg_left (add_le_add hp hbcomm) (by positivity) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzProductSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzProductSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..aab68ca3108d26d36509084e0827950b63b730cb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzProductSampling.lean @@ -0,0 +1,95 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampledNonlinearity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSeparatedPeriodization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPolynomial + +namespace OAI + +/-! # Exact sampling of products with separated compact physical supports -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem mul_tsum_of_separated_support {ι : Type*} (u v : ι → ℂ) + (hu : ∀ i j, u i ≠ 0 → u j ≠ 0 → i = j) + (huv : ∀ i j, u i ≠ 0 → v j ≠ 0 → i = j) : + (∑' i, u i) * (∑' i, v i) = ∑' i, u i * v i := by + classical + by_cases hh : ∃ i, u i ≠ 0 + · obtain ⟨i, hi⟩ := hh + have hzu (j : ι) (hj : j ≠ i) : u j = 0 := by + by_contra h + exact hj (hu j i h hi) + have hzv (j : ι) (hj : j ≠ i) : v j = 0 := by + by_contra h + exact hj (huv i j hi h).symm + rw [tsum_eq_single i hzu, tsum_eq_single i hzv, + tsum_eq_single i (fun j hj => by rw [hzu j hj, zero_mul])] + · have hz : ∀ i, u i = 0 := by simpa only [not_exists, not_not] using hh + simp only [hz, tsum_zero, zero_mul] + +theorem separatedSchwartz_cross (D R : ℝ) (hD : 0 < D) (hDR : 2 * R < D) + (K J : 𝓢(E, ℂ)) (hK : ∀ x : E, R < ‖x‖ → K x = 0) + (hJ : ∀ x : E, R < ‖x‖ → J x = 0) (x : E) + (m n : frequencyLattice) (hm : K (x + D • (m : E)) ≠ 0) + (hn : J (x + D • (n : E)) ≠ 0) : m = n := by + by_contra hmn + have hmR : ‖x + D • (m : E)‖ ≤ R := le_of_not_gt (fun h => hm (hK _ h)) + have hnR : ‖x + D • (n : E)‖ ≤ R := le_of_not_gt (fun h => hn (hJ _ h)) + have hp : 1 ≤ ‖m - n‖ := one_le_norm_frequencyLattice (sub_ne_zero.mpr hmn) + have hid : D • ((m - n : frequencyLattice) : E) = + (x + D • (m : E)) - (x + D • (n : E)) := by + simp only [Submodule.coe_sub, smul_sub] + abel + have hb := norm_sub_le (x + D • (m : E)) (x + D • (n : E)) + rw [← hid, norm_smul, Real.norm_eq_abs, abs_of_pos hD, Submodule.norm_coe] at hb + nlinarith + +theorem schwartzTorusSample_product (a k L R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hLR : 2 * R < 2 * Real.pi * L) + (K J : 𝓢(E, ℂ)) (hK : ∀ x : E, R < ‖x‖ → K x = 0) + (hJ : ∀ x : E, R < ‖x‖ → J x = 0) : + expandingProduct a k L ha ha1 hk hL + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel K)) + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel J)) = + schwartzTorusSample a k L ha1 hk hL + (radianFourierKernel (SchwartzMap.smulLeftCLM ℂ K J)) := by + ext n + rw [← weight_mul_expandingFourierCoefficient a k L hL _ n, + ← weight_mul_expandingFourierCoefficient a k L hL _ n] + congr 1 + apply expandingFourierCoefficient_eq_of_torus_eq a k L ha ha1 hk hL + intro x + have hp : 0 < L := by linarith + have hx : L⁻¹ • (L • x) = x := by rw [smul_smul, inv_mul_cancel₀ hp.ne', one_smul] + rw [← hx, expandingTorusFunction_product, ContinuousMap.mul_apply, + schwartzTorusSample_physical a k L ha ha1 hk hL, + schwartzTorusSample_physical a k L ha ha1 hk hL, + schwartzTorusSample_physical a k L ha ha1 hk hL] + simp only [SchwartzMap.smulLeftCLM_apply_apply K.hasTemperateGrowth, smul_eq_mul] + exact mul_tsum_of_separated_support _ _ + (separatedSchwartz_atMostOne _ R (by positivity) hLR K hK _) + (separatedSchwartz_cross _ R (by positivity) hLR K J hK hJ _) + +theorem schwartzTorusSample_conjugate (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (K : 𝓢(E, ℂ)) : + fourierConjugate (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel K)) = + schwartzTorusSample a k L ha1 hk hL (radianFourierKernel (schwartzPointConjugate K)) := by + ext n + rw [← weight_mul_expandingFourierCoefficient a k L hL _ n, + ← weight_mul_expandingFourierCoefficient a k L hL _ n] + congr 1 + apply expandingFourierCoefficient_eq_of_torus_eq a k L ha ha1 hk hL + intro x + have hp : 0 < L := by linarith + have hx : L⁻¹ • (L • x) = x := by rw [smul_smul, inv_mul_cancel₀ hp.ne', one_smul] + rw [← hx, expandingTorusFunction_conjugate a k L ha ha1 hk hL, + schwartzTorusSample_physical a k L ha ha1 hk hL, + schwartzTorusSample_physical a k L ha ha1 hk hL, Complex.conj_tsum] + simp only [schwartzPointConjugate_apply] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzProfileSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzProfileSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..4a8ae73f2d0481af749bec1dcba2cbb5fb1c1347 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzProfileSampling.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzDyadicCutoff +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzOuterAnnulusSampling + +namespace OAI + +/-! # Uniform expanding-torus bound for the entire cutoff profile + +Only finitely many symbol derivatives are required. The proof includes the +compact core, all inner dyadic annuli, and the final outer annulus. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem outer_annulus_decay (a L R : ℝ) (ha : 0 < a) + (hL : 0 < L) (hR : 0 < R) (hR2 : R ≤ 2 * L) : + L ^ (-a) ≤ 2 ^ a * R ^ (-a) := by + have hp : (R / L) ^ a ≤ (2 : ℝ) ^ a := + Real.rpow_le_rpow (by positivity) ((div_le_iff₀ hL).mpr hR2) ha.le + have he : (R / L) ^ a * R ^ (-a) = L ^ (-a) := by + rw [Real.div_rpow hR.le hL.le, Real.rpow_neg hR.le, Real.rpow_neg hL.le] + field_simp + calc + _ = (R / L) ^ a * R ^ (-a) := he.symm + _ ≤ _ := mul_le_mul_of_nonneg_right hp (Real.rpow_nonneg hR.le _) + +theorem exists_cutoffProfile_sampling_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (cutoffProfileSchwartz L (by linarith) χ hχ Q hQ))‖ ≤ C := by + obtain ⟨N₁, C₁, hC₁, hb₁⟩ := exists_cutoffProfileAnnulus_sampling_bound a k ha ha1 hk + χ homogeneousAnnulusCutoff homogeneousAnnulusCutoff_hasCompactSupport + homogeneousAnnulusCutoff_support + obtain ⟨N₂, C₂, hC₂, hb₂⟩ := exists_outerCutoffAnnulus_sampling_bound a k ha ha1 hk + χ homogeneousAnnulusCutoff homogeneousAnnulusCutoff_hasCompactSupport + homogeneousAnnulusCutoff_support + refine ⟨max N₁ N₂, ?_⟩ + intro Q hQ D hD hsymbol + obtain ⟨C₀, hC₀, hcore⟩ := exists_schwartzCore_sampling_bound a k ha1 hk χ + (profileCoreSchwartz Q hQ) (profileCoreSchwartz_hasCompactSupport Q hQ) + let B := max C₁ (2 ^ a * C₂) + have hB : 0 ≤ B := hC₁.trans (le_max_left _ _) + have hr : ‖(2 ^ (-a) : ℝ)‖ < 1 := by + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact Real.rpow_lt_one_of_one_lt_of_neg (by norm_num) (by linarith) + have hden : 0 < 1 - (2 ^ (-a) : ℝ) := by + have := lt_of_le_of_lt (le_abs_self (2 ^ (-a) : ℝ)) + (show |(2 ^ (-a) : ℝ)| < 1 by simpa only [Real.norm_eq_abs] using hr) + linarith + refine ⟨C₀ + B * D / (1 - 2 ^ (-a)), add_nonneg hC₀ (by positivity), ?_⟩ + intro L hL + have hLp : 0 < L := by linarith + let P := physicalSchwartzTorusSamplingLinear a k L ha1 hk hL + let ψ : ℕ → 𝓢(E, ℂ) := fun j => + schwartzPhysicalDilation a ((2 : ℝ) ^ j) (by positivity) + (cutoffProfileAnnulus a ((2 : ℝ) ^ j) L χ homogeneousAnnulusCutoff + homogeneousAnnulusCutoff_hasCompactSupport Q hQ) + have hψ (j : ℕ) : ‖P (ψ j)‖ ≤ (B * D) * (2 ^ (-a) : ℝ) ^ j := by + have hRp : 0 < (2 : ℝ) ^ j := by positivity + have hR : 1 ≤ (2 : ℝ) ^ j := one_le_pow₀ (by norm_num) + have he : ((2 : ℝ) ^ j) ^ (-a) = (2 ^ (-a) : ℝ) ^ j := + (Real.rpow_pow_comm (by norm_num : (0 : ℝ) ≤ 2) _ _).symm + by_cases hRL : (2 : ℝ) ^ j ≤ L + · have h := hb₁ Q hQ D hD + (fun n hn => hsymbol n (hn.trans (le_max_left _ _))) ((2 : ℝ) ^ j) L hR hRL + change ‖P (ψ j)‖ ≤ C₁ * D * ((2 : ℝ) ^ j) ^ (-a) at h + exact h.trans (by rw [he]; gcongr; exact le_max_left _ _) + · by_cases hR2 : (2 : ℝ) ^ j ≤ 2 * L + · have h := hb₂ Q hQ D hD + (fun n hn => hsymbol n (hn.trans (le_max_right _ _))) L ((2 : ℝ) ^ j) hL + (le_of_lt (lt_of_not_ge hRL)) hR2 + change ‖P (ψ j)‖ ≤ C₂ * D * L ^ (-a) at h + calc + _ ≤ C₂ * D * L ^ (-a) := h + _ ≤ C₂ * D * (2 ^ a * ((2 : ℝ) ^ j) ^ (-a)) := + mul_le_mul_of_nonneg_left (outer_annulus_decay a L ((2 : ℝ) ^ j) ha hLp hRp hR2) + (mul_nonneg hC₂ hD) + _ = (2 ^ a * C₂) * D * ((2 : ℝ) ^ j) ^ (-a) := by ring + _ ≤ B * D * ((2 : ℝ) ^ j) ^ (-a) := by gcongr; exact le_max_right _ _ + _ = _ := by rw [he] + · have hz : ψ j = 0 := cutoffProfileAnnulus_zero_of_large_radius a ((2 : ℝ) ^ j) L + hLp (le_of_lt (lt_of_not_ge hR2)) χ hχzero Q hQ + rw [hz, map_zero, norm_zero] + positivity + obtain ⟨J, hJ⟩ := pow_unbounded_of_one_lt (2 * L) (by norm_num : (1 : ℝ) < 2) + have hs : ‖P (∑ j ∈ Finset.range J, ψ j)‖ ≤ B * D / (1 - 2 ^ (-a)) := by + rw [map_sum] + calc + _ ≤ ∑ j ∈ Finset.range J, ‖P (ψ j)‖ := norm_sum_le _ _ + _ ≤ ∑ j ∈ Finset.range J, (B * D) * (2 ^ (-a) : ℝ) ^ j := + Finset.sum_le_sum (fun j _ => hψ j) + _ ≤ ∑' j : ℕ, (B * D) * (2 ^ (-a) : ℝ) ^ j := + ((summable_geometric_of_norm_lt_one hr).mul_left (B * D)).sum_le_tsum _ + (fun j _ => by positivity) + _ = _ := by rw [((hasSum_geometric_of_norm_lt_one hr).mul_left (B * D)).tsum_eq]; rfl + rw [cutoffProfileSchwartz_dyadic_assembly a L hLp χ hχ hχzero Q hQ J hJ.le] + change ‖P (_ + ∑ j ∈ Finset.range J, ψ j)‖ ≤ _ + rw [map_add] + exact (norm_add_le _ _).trans (add_le_add (hcore L hL) hs) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..953a2fa276a4fa59c3969f8be7761679319b3dd0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleContinuity.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingLocalBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodizationLimit +import Mathlib.Analysis.Normed.Group.Tannery + +namespace OAI + +/-! # Continuity of a fixed Schwartz sample in the torus radius -/ + +open Filter Topology +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem continuous_schwartzTorusSample_coordinate (a k : ℝ) + (ha1 : a < 1) (hk : 8 < k) (K : 𝓢(E, ℂ)) (n : frequencyLattice) : + Continuous (fun L : Radius => schwartzTorusSample a k L.1 ha1 hk L.2 K n) := by + have hpos (L : Radius) : L.1 ≠ 0 := (lt_of_lt_of_le zero_lt_one L.2).ne' + have hlo : Continuous (fun L : Radius => L.1 ^ (2 * a)) := + continuous_subtype_val.rpow_const (fun L => Or.inl (hpos L)) + have hhi : Continuous (fun L : Radius => L.1 ^ (12 - 2 * k)) := + continuous_subtype_val.rpow_const (fun L => Or.inl (hpos L)) + have hw : Continuous (fun L : Radius => expandingSobolevWeight a k L.1 n) := by + unfold expandingSobolevWeight expandingSobolevWeightSq + exact continuous_const.mul (Real.continuous_sqrt.comp + ((hlo.mul continuous_const).add (hhi.mul continuous_const))) + have hv : Continuous (fun L : Radius => ((2 * Real.pi * L.1) ^ (12 : ℕ))⁻¹) := + ((continuous_const.mul continuous_subtype_val).pow 12).inv₀ (fun L => by + exact pow_ne_zero _ (mul_ne_zero (mul_ne_zero (by norm_num) Real.pi_ne_zero) (hpos L))) + have hx : Continuous (fun L : Radius => L.1⁻¹ • (n : E)) := + (continuous_subtype_val.inv₀ hpos).smul continuous_const + change Continuous (fun L : Radius => (expandingSobolevWeight a k L.1 n : ℂ) * + ((((2 * Real.pi * L.1) ^ (12 : ℕ))⁻¹ : ℝ) * K (L.1⁻¹ • (n : E)))) + exact (Complex.continuous_ofReal.comp hw).mul + ((Complex.continuous_ofReal.comp hv).mul (K.continuous.comp hx)) + +theorem continuous_schwartzTorusSample (a k : ℝ) + (ha1 : a < 1) (hk : 8 < k) (K : 𝓢(E, ℂ)) : + Continuous (fun L : Radius => schwartzTorusSample a k L.1 ha1 hk L.2 K) := by + rw [continuous_iff_continuousAt] + intro L₀ + obtain ⟨D, hD, hbD⟩ := schwartzTorusSample_local_bound a k (L₀.1 + 1) ha1 hk + (by linarith [L₀.2]) K + have hnear : ∀ᶠ L : Radius in 𝓝 L₀, L.1 ≤ L₀.1 + 1 := + (continuous_subtype_val.continuousAt.tendsto.eventually + (eventually_lt_nhds (by linarith : L₀.1 < L₀.1 + 1))).mono + (fun _ h => h.le) + have hs : Summable (fun n : frequencyLattice => ((1 + ‖n‖ ^ 2) ^ (12 : ℕ))⁻¹) := by + convert summable_sobolev_variances 0 12 (by norm_num) using 1 + ext n + norm_num [Real.rpow_neg] + have hb : ∀ᶠ L : Radius in 𝓝 L₀, ∀ n : frequencyLattice, + ‖schwartzTorusSample a k L.1 ha1 hk L.2 K n - + schwartzTorusSample a k L₀.1 ha1 hk L₀.2 K n‖ ^ 2 ≤ + 4 * D * ((1 + ‖n‖ ^ 2) ^ (12 : ℕ))⁻¹ := by + filter_upwards [hnear] with L hL n + have h₁ := hbD L.1 L.2 hL n + have h₀ := hbD L₀.1 L₀.2 (by linarith) n + have ht := norm_sub_le (schwartzTorusSample a k L.1 ha1 hk L.2 K n) + (schwartzTorusSample a k L₀.1 ha1 hk L₀.2 K n) + have hsq := sq_le_sq₀ (norm_nonneg _) (add_nonneg (norm_nonneg _) (norm_nonneg _)) |>.2 ht + nlinarith [sq_nonneg (‖schwartzTorusSample a k L.1 ha1 hk L.2 K n‖ - + ‖schwartzTorusSample a k L₀.1 ha1 hk L₀.2 K n‖)] + have hlim := tendsto_tsum_of_dominated_convergence (hs.mul_left (4 * D)) + (f := fun L n => ‖schwartzTorusSample a k L.1 ha1 hk L.2 K n - + schwartzTorusSample a k L₀.1 ha1 hk L₀.2 K n‖ ^ 2) + (g := fun _ => (0 : ℝ)) (𝓕 := 𝓝 L₀) + (by + intro n + have hc : Continuous (fun L : Radius => + ‖schwartzTorusSample a k L.1 ha1 hk L.2 K n - + schwartzTorusSample a k L₀.1 ha1 hk L₀.2 K n‖ ^ 2) := + (((continuous_schwartzTorusSample_coordinate a k ha1 hk K n).sub + continuous_const).norm.fun_pow 2) + simpa using (hc.continuousAt (x := L₀)).tendsto) + (by + filter_upwards [hb] with L hL n + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] + exact hL n) + have hsq : Tendsto (fun L : Radius => ‖schwartzTorusSample a k L.1 ha1 hk L.2 K - + schwartzTorusSample a k L₀.1 ha1 hk L₀.2 K‖ ^ 2) (𝓝 L₀) (𝓝 0) := by + have heq (L : Radius) := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) + (schwartzTorusSample a k L.1 ha1 hk L.2 K - schwartzTorusSample a k L₀.1 ha1 hk L₀.2 K) + simp only [ENNReal.toReal_ofNat, Real.rpow_two, lp.coeFn_sub, Pi.sub_apply] at heq + simpa only [heq, tsum_zero] using hlim + have hn := Real.continuous_sqrt.continuousAt.tendsto.comp hsq + apply tendsto_iff_norm_sub_tendsto_zero.mpr + simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using hn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleDerivativeBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleDerivativeBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..8ba96b599d222697fd8c17fa251f63e70f53c66d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleDerivativeBound.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampleTranslation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingDerivativeWeight + +namespace OAI + +/-! # Uniform sampling estimates for directional derivatives -/ + +open scoped SchwartzMap LineDeriv RealInnerProductSpace ENNReal +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartzSample_directional_norm_le (a k L : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)) (v : E) : + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ)‖ ≤ + (2 ^ (6 - a) + 1) * ‖v‖ * + ‖physicalSchwartzTorusSamplingCLM a (k + 1) L ha1 (by linarith) hL ψ‖ := by + let C := (2 : ℝ) ^ (6 - a) + 1 + let g := physicalSchwartzTorusSamplingCLM a (k + 1) L ha1 (by linarith) hL ψ + have hC : 0 ≤ C := by dsimp [C]; positivity + have hbound (n : frequencyLattice) : + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ) n‖ ≤ + C * ‖v‖ * ‖g n‖ := by + have hxi : ‖L⁻¹ • (n : E)‖ = ‖n‖ / L := by + rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_of_pos (by linarith : 0 < L)] + simp only [Submodule.norm_coe, div_eq_inv_mul] + have hi : |inner ℝ (L⁻¹ • (n : E)) v| ≤ (‖n‖ / L) * ‖v‖ := by + simpa only [hxi] using abs_real_inner_le_norm (L⁻¹ • (n : E)) v + have hf : expandingSobolevWeight a k L n * |inner ℝ (L⁻¹ • (n : E)) v| ≤ + C * ‖v‖ * expandingSobolevWeight a (k + 1) L n := by + calc + _ ≤ expandingSobolevWeight a k L n * ((‖n‖ / L) * ‖v‖) := + mul_le_mul_of_nonneg_left hi (expandingSobolevWeight_pos a k L hL n).le + _ = (expandingSobolevWeight a k L n * (‖n‖ / L)) * ‖v‖ := by ring + _ ≤ (C * expandingSobolevWeight a (k + 1) L n) * ‖v‖ := + mul_le_mul_of_nonneg_right (expandingSobolevWeight_derivative_le a k L ha ha1 hk hL n) + (norm_nonneg v) + _ = _ := by ring + simp only [physicalSchwartzTorusSamplingCLM_apply, g] + change ‖(expandingSobolevWeight a k L n : ℂ) * + schwartzLatticeCoefficient L (radianFourierKernel (∂_{v} ψ)) n‖ ≤ + C * ‖v‖ * ‖(expandingSobolevWeight a (k + 1) L n : ℂ) * + schwartzLatticeCoefficient L (radianFourierKernel ψ) n‖ + simp only [schwartzLatticeCoefficient, radianFourierKernel_lineDeriv, norm_mul, + Complex.norm_real, Real.norm_eq_abs, Complex.norm_I, mul_one, + abs_of_pos (expandingSobolevWeight_pos a k L hL n), + abs_of_pos (expandingSobolevWeight_pos a (k + 1) L hL n)] + have hm := mul_le_mul_of_nonneg_right hf + (show 0 ≤ |((2 * Real.pi * L) ^ (12 : ℕ))⁻¹| * + ‖radianFourierKernel ψ (L⁻¹ • (n : E))‖ by positivity) + nlinarith only [hm] + calc + _ ≤ ‖(C * ‖v‖ : ℝ) • g‖ := by + apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0) + intro n + simpa only [lp.coeFn_smul, Pi.smul_apply, norm_smul, Real.norm_eq_abs, + abs_of_nonneg (mul_nonneg hC (norm_nonneg v))] using hbound n + _ = _ := by rw [norm_smul, Real.norm_eq_abs, + abs_of_nonneg (mul_nonneg hC (norm_nonneg v))] + +theorem schwartzSample_secondDirectional_norm_le (a k L : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)) (v : E) : + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} (∂_{v} ψ))‖ ≤ + (2 ^ (6 - a) + 1) ^ 2 * ‖v‖ ^ 2 * + ‖physicalSchwartzTorusSamplingCLM a (k + 2) L ha1 (by linarith) hL ψ‖ := by + have h1 := schwartzSample_directional_norm_le a k L ha ha1 hk hL (∂_{v} ψ) v + have h2 := schwartzSample_directional_norm_le a (k + 1) L ha ha1 (by linarith) hL ψ v + have he : k + 1 + 1 = k + 2 := by ring + simp only [he] at h2 + calc + _ ≤ (2 ^ (6 - a) + 1) * ‖v‖ * + ((2 ^ (6 - a) + 1) * ‖v‖ * + ‖physicalSchwartzTorusSamplingCLM a (k + 2) L ha1 (by linarith) hL ψ‖) := + h1.trans (mul_le_mul_of_nonneg_left h2 (by positivity)) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleLipschitz.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleLipschitz.lean new file mode 100644 index 0000000000000000000000000000000000000000..cc10be179041434ffcf82d73ae40272a9a5a3ee6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleLipschitz.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampleDerivativeBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffSymbolSampling + +namespace OAI + +/-! # Uniform Lipschitz bound for normalized translations of a cutoff profile -/ + +open Set +open scoped SchwartzMap LineDeriv ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem translated_schwartzSample_sub_norm_le (a k L : ℝ) (ha1 : a < 1) + (hk : 8 < k) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)) (v : E) : + ‖sobolevTranslation (euclideanToTorus ((1 / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ‖ ≤ + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ)‖ := by + let u := fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) + let d := fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ)) + have h := Convex.norm_image_sub_le_of_norm_hasDerivWithin_le + (fun t (_ : t ∈ Icc (0 : ℝ) 1) => + (hasDerivAt_translated_schwartzSample a k L ha1 hk hL ψ v t).hasDerivWithinAt) + (fun t (_ : t ∈ Icc (0 : ℝ) 1) => (sobolevTranslation _).norm_map _ |>.le) + (convex_Icc (0 : ℝ) 1) (show (0 : ℝ) ∈ Icc (0 : ℝ) 1 by norm_num) + (show (1 : ℝ) ∈ Icc (0 : ℝ) 1 by norm_num) + have hzero : euclideanToTorus ((0 / L) • v) = 0 := by + ext j + simp [euclideanToTorus] + simpa only [hzero, sobolevTranslation_zero, sub_zero, Real.norm_eq_abs, + abs_one, mul_one] using h + +theorem cutoffProfile_translation_lipschitz (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L) (v : E), + let ψ := cutoffProfileSchwartz L (by linarith) χ hχ Q hQ + ‖sobolevTranslation (euclideanToTorus ((1 / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ‖ ≤ C * ‖v‖ := by + obtain ⟨B, hB, hb⟩ := cutoffProfile_sampling_of_global_symbol a (k + 1) ha ha1 + (by linarith) χ hχ hχzero Q hQ hsymbol + refine ⟨(2 ^ (6 - a) + 1) * B, by positivity, ?_⟩ + intro L hL v ψ + calc + _ ≤ ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ)‖ := + translated_schwartzSample_sub_norm_le a k L ha1 hk hL ψ v + _ ≤ (2 ^ (6 - a) + 1) * ‖v‖ * + ‖physicalSchwartzTorusSamplingCLM a (k + 1) L ha1 (by linarith) hL ψ‖ := + schwartzSample_directional_norm_le a k L ha ha1 hk hL ψ v + _ ≤ (2 ^ (6 - a) + 1) * ‖v‖ * B := mul_le_mul_of_nonneg_left (hb L hL) (by positivity) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleTranslation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleTranslation.lean new file mode 100644 index 0000000000000000000000000000000000000000..b1497f1012cd6eb823e21ad853cad420c8c8ae2d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampleTranslation.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTranslation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierDerivatives +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPhysicalLocalization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.FourierCoordinateDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.NormedCurveTaylor + +namespace OAI + +/-! # Differentiation and Taylor expansion of normalized sampled translations -/ + +open Set +open scoped SchwartzMap LineDeriv RealInnerProductSpace +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem continuous_normalizedTranslation (L : ℝ) (v : E) : + Continuous (fun t : ℝ => euclideanToTorus ((t / L) • v)) := by + unfold euclideanToTorus + apply continuous_pi + intro j + exact (AddCircle.continuous_mk' (2 * Real.pi)).comp (by fun_prop) + +attribute [local irreducible] sobolevTranslation + +/-- Translation by `t*v/L` of the sampled vector differentiates to the sample +of the physical directional derivative. -/ +theorem hasDerivAt_translated_schwartzSample (a k L : ℝ) (ha1 : a < 1) + (hk : 8 < k) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)) (v : E) (s : ℝ) : + HasDerivAt (fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ)) + (sobolevTranslation (euclideanToTorus ((s / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ))) s := by + let u := fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) + let d := fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ)) + have hc : Continuous d := (continuous_sobolevTranslation _).comp + (continuous_normalizedTranslation L v) + apply hasDerivAt_fourierL2_of_coordinates u d (s - 1) (s + 1) s hc.continuousOn _ + (by constructor <;> linarith) + intro t _ n + have ht := (((((hasDerivAt_id t).div_const L).mul_const ⟪v, (n : E)⟫).ofReal_comp.mul_const Complex.I).cexp).mul_const + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ n) + simp only [id_eq, one_div] at ht + convert ht using 1 + · ext r + simp only [u, sobolevTranslation_apply, torusCharacter_euclidean, + spatialFourierCharacter, real_inner_smul_left] + · simp only [d, sobolevTranslation_apply, torusCharacter_euclidean, + spatialFourierCharacter, real_inner_smul_left, physicalSchwartzTorusSamplingCLM_apply] + change _ * ((expandingSobolevWeight a k L n : ℂ) * + schwartzLatticeCoefficient L (radianFourierKernel (∂_{v} ψ)) n) = _ + simp only [schwartzLatticeCoefficient, radianFourierKernel_lineDeriv, + real_inner_smul_left, real_inner_comm (n : E) v, Complex.ofReal_mul] + change _ = _ * ((expandingSobolevWeight a k L n : ℂ) * + schwartzLatticeCoefficient L (radianFourierKernel ψ) n) + simp only [schwartzLatticeCoefficient] + ring + +theorem translated_schwartzSample_taylor (a k L : ℝ) (ha1 : a < 1) + (hk : 8 < k) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)) (v : E) : + ‖sobolevTranslation (euclideanToTorus ((1 / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ)‖ ≤ + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} (∂_{v} ψ))‖ := by + have h := normedCurve_firstOrder_bound + (fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ)) + (fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ))) + (fun t : ℝ => sobolevTranslation (euclideanToTorus ((t / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} (∂_{v} ψ)))) + 1 ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} (∂_{v} ψ))‖ + (norm_nonneg _) + (fun t _ => hasDerivAt_translated_schwartzSample a k L ha1 hk hL ψ v t) + (fun t _ => hasDerivAt_translated_schwartzSample a k L ha1 hk hL (∂_{v} ψ) v t) + (fun t _ => (sobolevTranslation _).norm_map _ |>.le) 1 (by norm_num) + have hzero : euclideanToTorus ((0 / L) • v) = 0 := by + ext j + simp [euclideanToTorus] + simpa only [hzero, sobolevTranslation_zero, one_smul, abs_one, one_pow, mul_one] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampledNonlinearity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampledNonlinearity.lean new file mode 100644 index 0000000000000000000000000000000000000000..e42e01adf11f0dc1053805eace4ddfa74d812daf --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSampledNonlinearity.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.UnitTorusCoefficients +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzNonlinearPeriodization + +namespace OAI + +/-! # Exact nonlinear Fourier coefficients of a compact physical profile -/ + +open scoped SchwartzMap ComplexConjugate + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def schwartzPointConjugate (ψ : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + SchwartzMap.postcompCLM (Complex.conjCLE : ℂ →L[ℝ] ℂ) ψ + +@[simp] theorem schwartzPointConjugate_apply (ψ : 𝓢(E, ℂ)) (x : E) : + schwartzPointConjugate ψ x = conj (ψ x) := rfl + +noncomputable def schwartzOddPower : ℕ → 𝓢(E, ℂ) → 𝓢(E, ℂ) + | 0, ψ => ψ + | m + 1, ψ => + SchwartzMap.bilinLeftCLM (ContinuousLinearMap.mul ℝ ℂ) ψ.hasTemperateGrowth + (SchwartzMap.bilinLeftCLM (ContinuousLinearMap.mul ℝ ℂ) + (schwartzPointConjugate ψ).hasTemperateGrowth (schwartzOddPower m ψ)) + +@[simp] theorem schwartzOddPower_apply (m : ℕ) (ψ : 𝓢(E, ℂ)) (x : E) : + schwartzOddPower m ψ x = oddPowerNonlinearity m (ψ x) := by + induction m with + | zero => simp [schwartzOddPower, oddPowerNonlinearity] + | succ m ih => + change (schwartzOddPower m ψ x * conj (ψ x)) * ψ x = _ + rw [ih] + simp only [oddPowerNonlinearity, pow_succ, starRingEnd_apply] + ring + +theorem sampled_oddPower_coefficient (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (m : ℕ) (ψ : 𝓢(E, ℂ)) (hψ : ∀ x : E, 2 * L < ‖x‖ → ψ x = 0) + (n : frequencyLattice) : + expandingFourierCoefficient a k L + (expandingOddPower a k L ha ha1 hk hL m + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ))) n = + schwartzLatticeCoefficient L (radianFourierKernel (schwartzOddPower m ψ)) n := by + rw [← schwartzTorusSample_coefficient a k L ha1 hk hL] + apply expandingFourierCoefficient_eq_of_torus_eq a k L ha ha1 hk hL + intro x + have hLp : 0 < L := lt_of_lt_of_le zero_lt_one hL + have hx : L⁻¹ • (L • x) = x := by + rw [smul_smul, inv_mul_cancel₀ hLp.ne', one_smul] + rw [← hx, sampled_oddPower_periodization a k L ha ha1 hk hL m ψ hψ, + schwartzTorusSample_physical a k L ha ha1 hk hL] + exact tsum_congr fun n => (schwartzOddPower_apply m ψ _).symm + +theorem sampled_oddPower_eq (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (m : ℕ) (ψ : 𝓢(E, ℂ)) (hψ : ∀ x : E, 2 * L < ‖x‖ → ψ x = 0) : + expandingOddPower a k L ha ha1 hk hL m + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ)) = + schwartzTorusSample a k L ha1 hk hL (radianFourierKernel (schwartzOddPower m ψ)) := by + ext n + rw [← weight_mul_expandingFourierCoefficient a k L hL _ n, + sampled_oddPower_coefficient a k L ha ha1 hk hL m ψ hψ n, + ← schwartzTorusSample_coefficient a k L ha1 hk hL] + exact weight_mul_expandingFourierCoefficient a k L hL _ n + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..9e7462c09b3bfdb8beee71177f4252b015e21d68 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingBound.lean @@ -0,0 +1,145 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzTorusSampling + +namespace OAI + +/-! # Quantitative Schwartz sampling bounds + +The constant is independent of both the expanding scale and the Schwartz +kernel. Dependence on the kernel is isolated in two weighted decay bounds. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartz_scaledLattice_l2_bound_of_decay (K : 𝓢(E, ℂ)) + (D : ℝ) (_hD : 0 ≤ D) + (hb : ∀ x : E, (1 + ‖x‖) ^ (12 : ℕ) * ‖K x‖ ≤ D) + (L : ℝ) (hL : 1 ≤ L) : + Summable (fun n : frequencyLattice => ‖K (L⁻¹ • (n : E))‖ ^ 2) ∧ + (∑' n : frequencyLattice, ‖K (L⁻¹ • (n : E))‖ ^ 2) ≤ + D ^ 2 * (1 + 2 * Real.pi) ^ (12 : ℕ) * L ^ (12 : ℕ) := by + have hdecay (x : E) : + ‖K x‖ ^ 2 ≤ D ^ 2 * ((1 + ‖x‖ ^ 2) ^ (12 : ℕ))⁻¹ := by + have hw : (1 + ‖x‖ ^ 2) ^ 6 ≤ (1 + ‖x‖) ^ 12 := by + calc + _ ≤ ((1 + ‖x‖) ^ 2) ^ 6 := + pow_le_pow_left₀ (by positivity) (by nlinarith [norm_nonneg x]) _ + _ = _ := by ring + have he := (mul_le_mul_of_nonneg_right hw (norm_nonneg _)).trans (hb x) + have hs := pow_le_pow_left₀ + (by positivity : 0 ≤ (1 + ‖x‖ ^ 2) ^ 6 * ‖K x‖) he 2 + rw [← div_eq_mul_inv] + apply (le_div_iff₀ (by positivity : 0 < (1 + ‖x‖ ^ 2) ^ (12 : ℕ))).mpr + nlinarith [show ((1 + ‖x‖ ^ 2) ^ 6 * ‖K x‖) ^ 2 = + ‖K x‖ ^ 2 * (1 + ‖x‖ ^ 2) ^ (12 : ℕ) by ring] + obtain ⟨hs, hsum⟩ := scaledRadialKernel_sum L hL + have hmajor := hs.mul_left (D ^ 2) + have hS : Summable (fun n : frequencyLattice => ‖K (L⁻¹ • (n : E))‖ ^ 2) := + Summable.of_nonneg_of_le (fun _ => sq_nonneg _) (fun n => hdecay _) hmajor + refine ⟨hS, ?_⟩ + calc + _ ≤ ∑' n : frequencyLattice, + D ^ 2 * ((1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ (12 : ℕ))⁻¹ := + hS.tsum_le_tsum (fun n => hdecay _) hmajor + _ = D ^ 2 * ∑' n : frequencyLattice, + ((1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ (12 : ℕ))⁻¹ := tsum_mul_left + _ ≤ D ^ 2 * (((1 + 2 * Real.pi) * L) ^ (12 : ℕ)) := + mul_le_mul_of_nonneg_left hsum (sq_nonneg D) + _ = _ := by rw [mul_pow]; ring + +theorem weightedSchwartz_scaledLattice_bound_of_decay (s : ℝ) (K : 𝓢(E, ℂ)) + (D : ℝ) (hD : 0 ≤ D) + (hb : ∀ x : E, (1 + ‖x‖) ^ (12 : ℕ) * ‖weightedSchwartzKernel s K x‖ ≤ D) + (L : ℝ) (hL : 1 ≤ L) : + Summable (fun n : frequencyLattice => + (1 + ‖L⁻¹ • (n : E)‖ ^ 2) ^ s * ‖K (L⁻¹ • (n : E))‖ ^ 2) ∧ + (∑' n : frequencyLattice, + (1 + ‖L⁻¹ • (n : E)‖ ^ 2) ^ s * ‖K (L⁻¹ • (n : E))‖ ^ 2) ≤ + D ^ 2 * (1 + 2 * Real.pi) ^ (12 : ℕ) * L ^ (12 : ℕ) := by + have he (x : E) : ‖weightedSchwartzKernel s K x‖ ^ 2 = + (1 + ‖x‖ ^ 2) ^ s * ‖K x‖ ^ 2 := by + rw [weightedSchwartzKernel_norm, mul_pow, ← Real.rpow_natCast, + ← Real.rpow_mul (by positivity)] + congr 2 + ring + simpa only [he] using + schwartz_scaledLattice_l2_bound_of_decay (weightedSchwartzKernel s K) D hD hb L hL + +theorem schwartzTorusSample_norm_le_of_weighted_decay (a k : ℝ) + (ha1 : a < 1) (hk : 8 < k) (K : 𝓢(E, ℂ)) (D : ℝ) (hD : 0 ≤ D) + (hb : ∀ s ∈ ({6 - a, k} : Set ℝ), ∀ x : E, + (1 + ‖x‖) ^ (12 : ℕ) * ‖weightedSchwartzKernel s K x‖ ≤ D) + (L : ℝ) (hL : 1 ≤ L) : + ‖schwartzTorusSample a k L ha1 hk hL K‖ ≤ + Real.sqrt (2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (1 + 2 * Real.pi) ^ (12 : ℕ)) * D := by + have hLp : 0 < L := by linarith + obtain ⟨hs₀, hb₀⟩ := weightedSchwartz_scaledLattice_bound_of_decay + (6 - a) K D hD (hb _ (by simp)) L hL + obtain ⟨hs₁, hb₁⟩ := weightedSchwartz_scaledLattice_bound_of_decay + k K D hD (hb _ (by simp)) L hL + let g : frequencyLattice → ℝ := fun n => + (1 + ‖L⁻¹ • (n : E)‖ ^ 2) ^ (6 - a) * ‖K (L⁻¹ • (n : E))‖ ^ 2 + + (1 + ‖L⁻¹ • (n : E)‖ ^ 2) ^ k * ‖K (L⁻¹ • (n : E))‖ ^ 2 + have hgs : Summable g := hs₀.add hs₁ + have hgb : (∑' n, g n) ≤ + 2 * D ^ 2 * (1 + 2 * Real.pi) ^ (12 : ℕ) * L ^ (12 : ℕ) := by + dsimp only [g] + rw [hs₀.tsum_add hs₁] + linarith + have hdensity (n : frequencyLattice) : + (L ^ (-2 : ℝ) + (‖n‖ / L) ^ 2) ^ (6 - a) + (‖n‖ / L) ^ (2 * k) ≤ + (1 + ‖L⁻¹ • (n : E)‖ ^ 2) ^ (6 - a) + + (1 + ‖L⁻¹ • (n : E)‖ ^ 2) ^ k := by + have hn : ‖(L⁻¹ : ℝ) • (n : E)‖ = ‖n‖ / L := by + rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_of_pos hLp, div_eq_inv_mul, + Submodule.norm_coe] + rw [hn] + apply add_le_add + · exact Real.rpow_le_rpow (by positivity) + (add_le_add (Real.rpow_le_one_of_one_le_of_nonpos (z := -2) hL (by norm_num)) + le_rfl) (by linarith) + · calc + _ = ((‖n‖ / L) ^ (2 : ℕ)) ^ k := by + rw [← Real.rpow_natCast, ← Real.rpow_mul (by positivity)] + norm_num + _ ≤ (1 + (‖n‖ / L) ^ (2 : ℕ)) ^ k := + Real.rpow_le_rpow (by positivity) (by linarith) (by linarith) + have hmajor (n : frequencyLattice) : + ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2 ≤ + ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * g n := by + rw [weightedSchwartzLatticeCoefficient_norm_sq a k L hL] + have h := mul_le_mul_of_nonneg_right (hdensity n) + (sq_nonneg ‖K ((L⁻¹ : ℝ) • (n : E))‖) + simpa only [g, add_mul, mul_assoc] using + mul_le_mul_of_nonneg_left h (by positivity : 0 ≤ ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹) + have hs := Summable.of_nonneg_of_le (fun _ => sq_nonneg _) hmajor + (hgs.mul_left (((2 * Real.pi * L) ^ (12 : ℕ))⁻¹)) + have hsum : (∑' n, ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2) ≤ + (2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * (1 + 2 * Real.pi) ^ (12 : ℕ)) * D ^ 2 := by + calc + _ ≤ ∑' n, ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * g n := + hs.tsum_le_tsum hmajor (hgs.mul_left _) + _ = ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * ∑' n, g n := tsum_mul_left + _ ≤ ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * + (2 * D ^ 2 * (1 + 2 * Real.pi) ^ (12 : ℕ) * L ^ (12 : ℕ)) := + mul_le_mul_of_nonneg_left hgb (by positivity) + _ = _ := by rw [mul_pow]; field_simp + have hn := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) + (schwartzTorusSample a k L ha1 hk hL K) + simp only [ENNReal.toReal_ofNat, Real.rpow_two] at hn + change ‖schwartzTorusSample a k L ha1 hk hL K‖ ^ 2 = + (∑' n, ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2) at hn + have hc : 0 ≤ 2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (1 + 2 * Real.pi) ^ (12 : ℕ) := by positivity + apply (sq_le_sq₀ (norm_nonneg _) + (mul_nonneg (Real.sqrt_nonneg _) hD)).mp + rw [mul_pow, Real.sq_sqrt hc, hn] + exact hsum + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..596e365fe408a195b367f153ae2799ceea1f40ae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingContinuity.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingSum +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingWeightIdentification + +namespace OAI + +/-! # Continuous sampling at a fixed period + +The finite-jet estimate gives a continuous linear sampling map. Combining it +with the exact dilation identity handles families at a changing physical scale. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem physicalSampling_seminorm_bound (a k : ℝ) + (ha1 : a < 1) (hk : 8 < k) : + ∃ (S : Finset (ℕ × ℕ)) (C : ℝ), 0 ≤ C ∧ + ∀ (L : ℝ) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)), + ‖physicalSchwartzTorusSamplingLinear a k L ha1 hk hL ψ‖ ≤ + C * S.sup (schwartzSeminormFamily ℂ E ℂ) ψ := by + obtain ⟨N, C, hC, hb⟩ := exists_schwartzTorusSample_physicalJet_bound a k ha1 hk + refine ⟨Finset.Iic (N, N), C * 2 ^ N, mul_nonneg hC (by positivity), ?_⟩ + intro L hL ψ + have hj (n : ℕ) (hn : n ≤ N) (x : E) : + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ ≤ + 2 ^ N * (Finset.Iic (N, N)).sup (schwartzSeminormFamily ℂ E ℂ) ψ := by + exact SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℂ) + (m := (N, N)) (k := N) (n := n) le_rfl hn ψ x + have h := hb ψ + (2 ^ N * (Finset.Iic (N, N)).sup (schwartzSeminormFamily ℂ E ℂ) ψ) + (by positivity) hj L hL + simpa only [physicalSchwartzTorusSamplingLinear_apply, mul_assoc] using h + +noncomputable def physicalSchwartzTorusSamplingCLM (a k L : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) : 𝓢(E, ℂ) →L[ℂ] FourierL2 := + SchwartzMap.mkCLMtoNormedSpace + (physicalSchwartzTorusSamplingLinear a k L ha1 hk hL) + (fun ψ φ => map_add (physicalSchwartzTorusSamplingLinear a k L ha1 hk hL) ψ φ) + (fun c ψ => by + exact map_smul (physicalSchwartzTorusSamplingLinear a k L ha1 hk hL) c ψ) (by + obtain ⟨S, C, hC, hb⟩ := physicalSampling_seminorm_bound a k ha1 hk + exact ⟨S, C, hC, hb L hL⟩) + +@[simp] theorem physicalSchwartzTorusSamplingCLM_apply (a k L : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)) : + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ = + schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ) := rfl + +/-- Changing period is reduced to period one after the physical dilation. -/ +theorem continuous_dilatedPhysicalSampling {P : Type*} [TopologicalSpace P] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (L : P → {L : ℝ // 1 ≤ L}) (hL : Continuous L) + (ψ : P → 𝓢(E, ℂ)) (hψ : Continuous ψ) : + Continuous (fun t => schwartzTorusSample a k (L t).1 ha1 hk (L t).2 + (radianFourierKernel + (schwartzPhysicalDilation a (L t).1 + (lt_of_lt_of_le zero_lt_one (L t).2) (ψ t)))) := by + have he (t : P) : + schwartzTorusSample a k (L t).1 ha1 hk (L t).2 + (radianFourierKernel (schwartzPhysicalDilation a (L t).1 + (lt_of_lt_of_le zero_lt_one (L t).2) (ψ t))) = + ((L t).1 ^ (-2 * a) : ℝ) • + (expandingScaleTransfer a k 1 (L t).1 ha hk le_rfl (L t).2 + (physicalSchwartzTorusSamplingCLM a k 1 ha1 hk le_rfl (ψ t))) := by + rw [radianFourierKernel_schwartzPhysicalDilation, + schwartzTorusSample_homogeneousDilation a k (L t).1 (L t).1 ha ha1 hk + (L t).2 le_rfl] + simp only [div_self (ne_of_gt (lt_of_lt_of_le zero_lt_one (L t).2)), + physicalSchwartzTorusSamplingCLM_apply] + simp_rw [he] + have hc : Continuous (fun t => (L t).1 ^ (-2 * a)) := + (continuous_subtype_val.comp hL).rpow_const + (fun t => Or.inl (ne_of_gt (lt_of_lt_of_le zero_lt_one (L t).2))) + exact hc.smul (((continuous_expandingScaleTransfer_from_one a k ha hk).comp hL).clm_apply + ((physicalSchwartzTorusSamplingCLM a k 1 ha1 hk le_rfl).continuous.comp hψ)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingDilation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingDilation.lean new file mode 100644 index 0000000000000000000000000000000000000000..7b967ab481dd4ccc079adc16bc077f649fa93e7f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingDilation.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingJetBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDilation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingScaleTransfer + +namespace OAI + +/-! # Exact dilation of the sampled expanding-torus vector + +An annulus of physical radius R is sampled at effective period L/R. The +canonical scale transfer gives exactly the decay factor R^(-a) for 1 ≤ R ≤ L. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartzLatticeCoefficient_homogeneousDilation (a R L : ℝ) + (hR : 0 < R) (hL : 0 < L) (K : 𝓢(E, ℂ)) (n : frequencyLattice) : + schwartzLatticeCoefficient L (homogeneousFourierDilation a R hR K) n = + (R ^ (-2 * a) : ℝ) * schwartzLatticeCoefficient (L / R) K n := by + have harg : R • (L⁻¹ • (n : E)) = (L / R)⁻¹ • (n : E) := by + rw [smul_smul] + congr 1 + field_simp + have hp : R ^ (12 - 2 * a) = R ^ (12 : ℕ) * R ^ (-2 * a) := by + calc + _ = R ^ (12 : ℝ) * R ^ (-2 * a) := by + rw [← Real.rpow_add hR] + congr 1 + ring + _ = _ := by norm_num + have hc : ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * R ^ (12 - 2 * a) = + R ^ (-2 * a) * ((2 * Real.pi * (L / R)) ^ (12 : ℕ))⁻¹ := by + rw [hp] + field_simp + simp only [schwartzLatticeCoefficient, homogeneousFourierDilation_apply, harg] + calc + _ = (((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * R ^ (12 - 2 * a) : ℝ) * + K ((L / R)⁻¹ • (n : E)) := by push_cast; ring + _ = _ := by rw [hc]; push_cast; ring + +theorem schwartzTorusSample_homogeneousDilation (a k R L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hR : 1 ≤ R) (hRL : R ≤ L) (K : 𝓢(E, ℂ)) : + schwartzTorusSample a k L ha1 hk (hR.trans hRL) + (homogeneousFourierDilation a R (by linarith) K) = + (R ^ (-2 * a) : ℝ) • + expandingScaleTransfer a k (L / R) L ha hk + ((le_div_iff₀ (by linarith : 0 < R)).mpr (by simpa using hRL)) + (div_le_self (by linarith : 0 ≤ L) hR) + (schwartzTorusSample a k (L / R) ha1 hk + ((le_div_iff₀ (by linarith : 0 < R)).mpr (by simpa using hRL)) K) := by + have hRp : 0 < R := by linarith + have hLp : 0 < L := by linarith + have hLR : 1 ≤ L / R := (le_div_iff₀ hRp).mpr (by simpa using hRL) + ext n + change (expandingSobolevWeight a k L n : ℂ) * + schwartzLatticeCoefficient L (homogeneousFourierDilation a R hRp K) n = + (R ^ (-2 * a) : ℝ) • + ((expandingScaleRatio a k (L / R) L n : ℂ) * + ((expandingSobolevWeight a k (L / R) n : ℂ) * + schwartzLatticeCoefficient (L / R) K n)) + rw [schwartzLatticeCoefficient_homogeneousDilation a R L hRp hLp] + simp only [Complex.real_smul, expandingScaleRatio, Complex.ofReal_div] + have hw : (expandingSobolevWeight a k (L / R) n : ℂ) ≠ 0 := + Complex.ofReal_ne_zero.mpr (expandingSobolevWeight_pos a k (L / R) hLR n).ne' + field_simp + +theorem schwartzTorusSample_homogeneousDilation_norm_le (a k R L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hR : 1 ≤ R) (hRL : R ≤ L) (K : 𝓢(E, ℂ)) : + ‖schwartzTorusSample a k L ha1 hk (hR.trans hRL) + (homogeneousFourierDilation a R (by linarith) K)‖ ≤ + R ^ (-a) * ‖schwartzTorusSample a k (L / R) ha1 hk + ((le_div_iff₀ (by linarith : 0 < R)).mpr (by simpa using hRL)) K‖ := by + have hRp : 0 < R := by linarith + have hLp : 0 < L := by linarith + have hLR : 1 ≤ L / R := (le_div_iff₀ hRp).mpr (by simpa using hRL) + have hratio : L / (L / R) = R := by field_simp + have hp : R ^ (-2 * a) * R ^ a = R ^ (-a) := by + rw [← Real.rpow_add hRp] + congr 1 + ring + rw [schwartzTorusSample_homogeneousDilation a k R L ha ha1 hk hR hRL, + norm_smul, Real.norm_eq_abs, abs_of_nonneg (Real.rpow_nonneg hRp.le _)] + calc + _ ≤ R ^ (-2 * a) * ((L / (L / R)) ^ a * + ‖schwartzTorusSample a k (L / R) ha1 hk hLR K‖) := by + apply mul_le_mul_of_nonneg_left _ (Real.rpow_nonneg hRp.le _) + exact (expandingScaleTransfer a k (L / R) L ha hk hLR + (div_le_self hLp.le hR)).le_opNorm _ |>.trans + (mul_le_mul_of_nonneg_right + (expandingScaleTransfer_norm_le a k (L / R) L ha hk hLR + (div_le_self hLp.le hR)) (norm_nonneg _)) + _ = _ := by rw [hratio, ← mul_assoc, hp] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingJetBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingJetBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..98b7c8002f05525c13de3ed72184fcb10c2dd2e6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingJetBound.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymbolBound + +namespace OAI + +/-! # Finite physical jet control of expanding-torus sampling + +A fixed finite set of physical Schwartz derivatives controls every sampled +vector, uniformly for all periods `L ≥ 1`. The test function may vary with L. +-/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private noncomputable def samplingDecaySeminorm : Seminorm ℝ 𝓢(E, ℂ) := + (Finset.Iic (12, 0)).sup (schwartzSeminormFamily ℝ E ℂ) + +private theorem samplingDecaySeminorm_continuous : Continuous samplingDecaySeminorm := + Seminorm.continuous_finsetSup fun p _ => + (schwartz_withSeminorms ℝ E ℂ).continuous_seminorm p + +private theorem decay_le_samplingDecaySeminorm (K : 𝓢(E, ℂ)) (x : E) : + (1 + ‖x‖) ^ (12 : ℕ) * ‖K x‖ ≤ 2 ^ (12 : ℕ) * samplingDecaySeminorm K := by + simpa only [samplingDecaySeminorm, schwartzSeminormFamily, norm_iteratedFDeriv_zero] + using! SchwartzMap.one_add_le_sup_seminorm_apply (𝕜 := ℝ) + (m := (12, 0)) (k := 12) (n := 0) (by decide) (by decide) K x + +theorem exists_schwartzTorusSample_physicalJet_bound (a k : ℝ) + (ha1 : a < 1) (hk : 8 < k) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (ψ : 𝓢(E, ℂ)) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ x : E, (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ ≤ D) → + ∀ (L : ℝ) (hL : 1 ≤ L), + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ)‖ ≤ C * D := by + let W (s : ℝ) : 𝓢(E, ℂ) →L[ℝ] 𝓢(E, ℂ) := + SchwartzMap.smulLeftCLM ℂ (fun x : E => (1 + ‖x‖ ^ 2) ^ (s / 2)) + let T₀ := (W (6 - a)).comp (radianFourierCLM.restrictScalars ℝ) + let T₁ := (W k).comp (radianFourierCLM.restrictScalars ℝ) + let q : Seminorm ℝ 𝓢(E, ℂ) := + samplingDecaySeminorm.comp T₀.toLinearMap + samplingDecaySeminorm.comp T₁.toLinearMap + have hq : Continuous q := + (samplingDecaySeminorm_continuous.comp T₀.continuous).add + (samplingDecaySeminorm_continuous.comp T₁.continuous) + obtain ⟨S, C, _, hC⟩ := Seminorm.bound_of_continuous + (schwartz_withSeminorms ℝ E ℂ) q hq + let N := S.sup (fun p : ℕ × ℕ => max p.1 p.2) + let B := Real.sqrt (2 * ((2 * Real.pi) ^ (12 : ℕ))⁻¹ * + (1 + 2 * Real.pi) ^ (12 : ℕ)) + refine ⟨N, B * 2 ^ (12 : ℕ) * C, by dsimp [B]; positivity, ?_⟩ + intro ψ D hD hjet L hL + have hsemi : ∀ p ∈ S, schwartzSeminormFamily ℝ E ℂ p ψ ≤ D := by + intro p hp + have hpN : max p.1 p.2 ≤ N := + Finset.le_sup (f := fun p : ℕ × ℕ => max p.1 p.2) hp + have hi : p.1 ≤ N := (le_max_left _ _).trans hpN + have hn : p.2 ≤ N := (le_max_right _ _).trans hpN + apply SchwartzMap.seminorm_le_bound ℝ p.1 p.2 ψ hD + intro x + have hweight : ‖x‖ ^ p.1 ≤ (1 + ‖x‖) ^ N := by + calc + _ ≤ (1 + ‖x‖) ^ p.1 := pow_le_pow_left₀ (norm_nonneg _) (by linarith) _ + _ ≤ _ := pow_le_pow_right₀ (by linarith [norm_nonneg x]) hi + exact (mul_le_mul_of_nonneg_right hweight (norm_nonneg _)).trans (hjet p.2 hn x) + have hsup : S.sup (schwartzSeminormFamily ℝ E ℂ) ψ ≤ D := + Seminorm.finset_sup_apply_le hD hsemi + have hqD : q ψ ≤ C * D := + (hC ψ).trans (mul_le_mul_of_nonneg_left hsup C.coe_nonneg) + have hb : ∀ s ∈ ({6 - a, k} : Set ℝ), ∀ x : E, + (1 + ‖x‖) ^ (12 : ℕ) * + ‖weightedSchwartzKernel s (radianFourierKernel ψ) x‖ ≤ + 2 ^ (12 : ℕ) * ((C : ℝ) * D) := by + intro s hs x + have hsbound : samplingDecaySeminorm + (weightedSchwartzKernel s (radianFourierKernel ψ)) ≤ q ψ := by + simp only [Set.mem_insert_iff, Set.mem_singleton_iff] at hs + rcases hs with rfl | rfl + · change samplingDecaySeminorm (T₀ ψ) ≤ + samplingDecaySeminorm (T₀ ψ) + samplingDecaySeminorm (T₁ ψ) + exact le_add_of_nonneg_right (apply_nonneg _ _) + · change samplingDecaySeminorm (T₁ ψ) ≤ + samplingDecaySeminorm (T₀ ψ) + samplingDecaySeminorm (T₁ ψ) + exact le_add_of_nonneg_left (apply_nonneg _ _) + exact (decay_le_samplingDecaySeminorm _ x).trans + (mul_le_mul_of_nonneg_left (hsbound.trans hqD) (by positivity)) + have h := schwartzTorusSample_norm_le_of_weighted_decay a k ha1 hk + (radianFourierKernel ψ) (2 ^ (12 : ℕ) * ((C : ℝ) * D)) (by positivity) hb L hL + dsimp only [B] at ⊢ + convert h using 1; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingLocalBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingLocalBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..8e631afdbd02680fd0d834ed6869822e576c038b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingLocalBound.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzTorusSampling +import Mathlib.Analysis.Real.Pi.Bounds + +namespace OAI + +/-! # A summable bound for Schwartz samples on bounded radius intervals -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem schwartz_scaled_squared_decay (K : 𝓢(E, ℂ)) (M : ℝ) (hM : 1 ≤ M) : + ∃ D : ℝ, 0 ≤ D ∧ ∀ (L : ℝ), 1 ≤ L → L ≤ M → ∀ n : frequencyLattice, + ‖K (L⁻¹ • (n : E))‖ ^ 2 ≤ D * ((1 + ‖n‖ ^ 2) ^ (12 : ℕ))⁻¹ := by + let C := SchwartzMap.seminorm ℝ 0 0 (weightedSchwartzKernel 12 K) + have hC : 0 ≤ C := apply_nonneg _ _ + refine ⟨M ^ (24 : ℕ) * C ^ 2, by positivity, fun L hL hLM n => ?_⟩ + have hLp : 0 < L := lt_of_lt_of_le zero_lt_one hL + have hMp : 0 < M := lt_of_lt_of_le zero_lt_one hM + let x := L⁻¹ • (n : E) + have hx : L * ‖x‖ = ‖n‖ := by + dsimp [x] + rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_of_pos hLp, Submodule.norm_coe, + ← mul_assoc, mul_inv_cancel₀ hLp.ne', one_mul] + have hbase : 1 + ‖n‖ ^ 2 ≤ M ^ 2 * (1 + ‖x‖ ^ 2) := by + have hsq : L ^ 2 ≤ M ^ 2 := pow_le_pow_left₀ hLp.le hLM 2 + have hmul := mul_le_mul_of_nonneg_right hsq (sq_nonneg ‖x‖) + have hx2 := congrArg (fun r : ℝ => r ^ 2) hx + rw [mul_pow] at hx2 + nlinarith [sq_nonneg (M - 1)] + have hb : (1 + ‖x‖ ^ 2) ^ (6 : ℕ) * ‖K x‖ ≤ C := by + have h := SchwartzMap.norm_le_seminorm ℝ (weightedSchwartzKernel 12 K) x + rw [weightedSchwartzKernel_norm] at h + norm_num at h + exact h + have hs := pow_le_pow_left₀ (by positivity : 0 ≤ (1 + ‖x‖ ^ 2) ^ (6 : ℕ) * ‖K x‖) hb 2 + have hs' : (1 + ‖x‖ ^ 2) ^ (12 : ℕ) * ‖K x‖ ^ 2 ≤ C ^ 2 := by nlinarith [hs] + have hp := pow_le_pow_left₀ (by positivity : 0 ≤ 1 + ‖n‖ ^ 2) hbase 12 + have hp' : (1 + ‖n‖ ^ 2) ^ (12 : ℕ) ≤ M ^ (24 : ℕ) * (1 + ‖x‖ ^ 2) ^ (12 : ℕ) := by + simpa only [mul_pow, ← pow_mul, show 2 * 12 = 24 by norm_num] using hp + apply (le_mul_inv_iff₀ (by positivity : 0 < (1 + ‖n‖ ^ 2) ^ (12 : ℕ))).mpr + calc + _ ≤ M ^ (24 : ℕ) * ((1 + ‖x‖ ^ 2) ^ (12 : ℕ) * ‖K x‖ ^ 2) := by + nlinarith [mul_le_mul_of_nonneg_right hp' (sq_nonneg ‖K x‖)] + _ ≤ M ^ (24 : ℕ) * C ^ 2 := mul_le_mul_of_nonneg_left hs' (pow_nonneg hMp.le _) + +theorem weightedSchwartzKernel_norm_sq (s : ℝ) (K : 𝓢(E, ℂ)) (x : E) : + ‖weightedSchwartzKernel s K x‖ ^ 2 = (1 + ‖x‖ ^ 2) ^ s * ‖K x‖ ^ 2 := by + rw [weightedSchwartzKernel_norm, mul_pow, ← Real.rpow_natCast, + ← Real.rpow_mul (by positivity)] + norm_num + +theorem schwartzTorusSample_local_bound (a k M : ℝ) (ha1 : a < 1) (hk : 8 < k) + (hM : 1 ≤ M) (K : 𝓢(E, ℂ)) : + ∃ D : ℝ, 0 ≤ D ∧ ∀ (L : ℝ) (hL : 1 ≤ L), L ≤ M → ∀ n : frequencyLattice, + ‖schwartzTorusSample a k L ha1 hk hL K n‖ ^ 2 ≤ + D * ((1 + ‖n‖ ^ 2) ^ (12 : ℕ))⁻¹ := by + obtain ⟨D₀, hD₀, hb₀⟩ := schwartz_scaled_squared_decay (weightedSchwartzKernel (6 - a) K) M hM + obtain ⟨D₁, hD₁, hb₁⟩ := schwartz_scaled_squared_decay (weightedSchwartzKernel k K) M hM + refine ⟨D₀ + D₁, add_nonneg hD₀ hD₁, fun L hL hLM n => ?_⟩ + let x := L⁻¹ • (n : E) + have hx : ‖x‖ = ‖n‖ / L := by + dsimp [x] + rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_of_pos (lt_of_lt_of_le zero_lt_one hL), + Submodule.norm_coe, div_eq_inv_mul] + have hlo : (L ^ (-2 : ℝ) + (‖n‖ / L) ^ 2) ^ (6 - a) ≤ (1 + ‖x‖ ^ 2) ^ (6 - a) := by + rw [hx] + exact Real.rpow_le_rpow (by positivity) + (add_le_add (Real.rpow_le_one_of_one_le_of_nonpos hL (by norm_num)) le_rfl) (by linarith) + have hhi : (‖n‖ / L) ^ (2 * k) ≤ (1 + ‖x‖ ^ 2) ^ k := by + rw [hx] + calc + _ = ((‖n‖ / L) ^ (2 : ℕ)) ^ k := by + rw [← Real.rpow_natCast, ← Real.rpow_mul (by positivity)] + norm_num + _ ≤ _ := Real.rpow_le_rpow (by positivity) (by linarith) (by linarith) + have hvol : ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ ≤ 1 := by + apply inv_le_one_of_one_le₀ + apply one_le_pow₀ + nlinarith [Real.pi_gt_three] + have hcoef : ‖schwartzTorusSample a k L ha1 hk hL K n‖ ^ 2 ≤ + ‖weightedSchwartzKernel (6 - a) K x‖ ^ 2 + ‖weightedSchwartzKernel k K x‖ ^ 2 := by + change ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2 ≤ _ + rw [weightedSchwartzLatticeCoefficient_norm_sq a k L hL, + weightedSchwartzKernel_norm_sq, weightedSchwartzKernel_norm_sq] + calc + _ ≤ ((1 + ‖x‖ ^ 2) ^ (6 - a) + (1 + ‖x‖ ^ 2) ^ k) * ‖K x‖ ^ 2 := by + apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) + exact (mul_le_mul_of_nonneg_left (add_le_add hlo hhi) (by positivity)).trans + (mul_le_of_le_one_left (by positivity) hvol) + _ = _ := by ring + exact hcoef.trans (by simpa only [add_mul] using add_le_add (hb₀ L hL hLM n) (hb₁ L hL hLM n)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingSum.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingSum.lean new file mode 100644 index 0000000000000000000000000000000000000000..1d90fdc336afdfe2de4085420d5115cd27356a0c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSamplingSum.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCutoffAnnulusSampling + +namespace OAI + +/-! # Finite sums of sampled physical annuli + +Sampling respects the actual physical Fourier transform. Consequently the +uniform annular estimate can be summed before passing to a full cutoff profile. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def schwartzTorusSamplingLinear (a k L : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) : 𝓢(E, ℂ) →ₗ[ℂ] FourierL2 where + toFun := schwartzTorusSample a k L ha1 hk hL + map_add' := by + intro K J + ext n + change (expandingSobolevWeight a k L n : ℂ) * + schwartzLatticeCoefficient L (K + J) n = + (expandingSobolevWeight a k L n : ℂ) * schwartzLatticeCoefficient L K n + + (expandingSobolevWeight a k L n : ℂ) * schwartzLatticeCoefficient L J n + simp only [schwartzLatticeCoefficient, add_apply] + ring + map_smul' := by + intro c K + ext n + change (expandingSobolevWeight a k L n : ℂ) * + schwartzLatticeCoefficient L (c • K) n = + c * ((expandingSobolevWeight a k L n : ℂ) * schwartzLatticeCoefficient L K n) + simp only [schwartzLatticeCoefficient, smul_apply, smul_eq_mul] + ring + +noncomputable def physicalSchwartzTorusSamplingLinear (a k L : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) : 𝓢(E, ℂ) →ₗ[ℂ] FourierL2 := + (schwartzTorusSamplingLinear a k L ha1 hk hL).comp radianFourierCLM.toLinearMap + +@[simp] theorem physicalSchwartzTorusSamplingLinear_apply (a k L : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (ψ : 𝓢(E, ℂ)) : + physicalSchwartzTorusSamplingLinear a k L ha1 hk hL ψ = + schwartzTorusSample a k L ha1 hk hL (radianFourierKernel ψ) := rfl + +theorem schwartzTorusSample_physical_sum {ι : Type*} (S : Finset ι) + (a k L : ℝ) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (ψ : ι → 𝓢(E, ℂ)) : + schwartzTorusSample a k L ha1 hk hL (radianFourierKernel (∑ i ∈ S, ψ i)) = + ∑ i ∈ S, schwartzTorusSample a k L ha1 hk hL (radianFourierKernel (ψ i)) := by + exact map_sum (physicalSchwartzTorusSamplingLinear a k L ha1 hk hL) ψ S + +theorem schwartzTorusSample_physical_sum_norm_le {ι : Type*} (S : Finset ι) + (a k L : ℝ) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (ψ : ι → 𝓢(E, ℂ)) (B : ι → ℝ) + (hB : ∀ i ∈ S, ‖schwartzTorusSample a k L ha1 hk hL + (radianFourierKernel (ψ i))‖ ≤ B i) : + ‖schwartzTorusSample a k L ha1 hk hL + (radianFourierKernel (∑ i ∈ S, ψ i))‖ ≤ ∑ i ∈ S, B i := by + rw [schwartzTorusSample_physical_sum] + exact (norm_sum_le _ _).trans (Finset.sum_le_sum hB) + +theorem exists_cutoffProfileDyadicSum_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ κ : 𝓢(E, ℂ)) (hκ : HasCompactSupport (κ : E → ℂ)) + (hκann : ∀ x ∈ tsupport (κ : E → ℂ), (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∀ (L : ℝ) (hL : 1 ≤ L) (S : Finset ℕ), (∀ j ∈ S, (2 : ℝ) ^ j ≤ L) → + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (∑ j ∈ S, schwartzPhysicalDilation a ((2 : ℝ) ^ j) (by positivity) + (cutoffProfileAnnulus a ((2 : ℝ) ^ j) L χ κ hκ Q hQ)))‖ ≤ + C * D / (1 - 2 ^ (-a)) := by + obtain ⟨N, C, hC, hb⟩ := exists_cutoffProfileAnnulus_sampling_bound + a k ha ha1 hk χ κ hκ hκann + refine ⟨N, C, hC, ?_⟩ + intro Q hQ D hD hsymbol L hL S hSL + have hr : ‖(2 ^ (-a) : ℝ)‖ < 1 := by + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact Real.rpow_lt_one_of_one_lt_of_neg (by norm_num) (by linarith) + have hB (j : ℕ) (hj : j ∈ S) : + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (schwartzPhysicalDilation a ((2 : ℝ) ^ j) (by positivity) + (cutoffProfileAnnulus a ((2 : ℝ) ^ j) L χ κ hκ Q hQ)))‖ ≤ + (C * D) * (2 ^ (-a) : ℝ) ^ j := by + have h := hb Q hQ D hD hsymbol ((2 : ℝ) ^ j) L + (one_le_pow₀ (by norm_num)) (hSL j hj) + rw [← Real.rpow_pow_comm (by norm_num : (0 : ℝ) ≤ 2)] at h + exact h + calc + _ ≤ ∑ j ∈ S, (C * D) * (2 ^ (-a) : ℝ) ^ j := + schwartzTorusSample_physical_sum_norm_le S a k L ha1 hk hL _ _ hB + _ ≤ ∑' j : ℕ, (C * D) * (2 ^ (-a) : ℝ) ^ j := + ((summable_geometric_of_norm_lt_one hr).mul_left (C * D)).sum_le_tsum S + (fun j _ => by positivity) + _ = C * D / (1 - 2 ^ (-a)) := by + rw [((hasSum_geometric_of_norm_lt_one hr).mul_left (C * D)).tsum_eq] + rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzScaledCutoff.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzScaledCutoff.lean new file mode 100644 index 0000000000000000000000000000000000000000..7c17f4732fceb2bb8ecfe47eeba9ce2b873ed5a0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzScaledCutoff.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzAnnulusSampling + +namespace OAI + +/-! # Uniform finite jets after a slowly varying cutoff + +On normalized annuli the extra cutoff is χ(δ x), with 0 < δ ≤ 1. Its +derivatives cost no inverse scale, so the same finite jet bound is uniform in δ. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def schwartzScaledCutoff (δ : ℝ) (χ ψ : 𝓢(E, ℂ)) + (hψ : HasCompactSupport (ψ : E → ℂ)) : 𝓢(E, ℂ) := + (hψ.mul_right (f' := fun x => χ (δ • x))).toSchwartzMap + (ψ.smooth'.mul (χ.smooth'.comp (contDiff_id.const_smul δ))) + +@[simp] theorem schwartzScaledCutoff_apply (δ : ℝ) (χ ψ : 𝓢(E, ℂ)) + (hψ : HasCompactSupport (ψ : E → ℂ)) (x : E) : + schwartzScaledCutoff δ χ ψ hψ x = ψ x * χ (δ • x) := rfl + +noncomputable def schwartzCutoffJetConstant (χ : 𝓢(E, ℂ)) (N : ℕ) : ℝ := + ∑ n ∈ Finset.range (N + 1), ∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * SchwartzMap.seminorm ℝ 0 (n - i) χ + +theorem schwartzCutoffJetConstant_nonneg (χ : 𝓢(E, ℂ)) (N : ℕ) : + 0 ≤ schwartzCutoffJetConstant χ N := by + unfold schwartzCutoffJetConstant + positivity + +theorem schwartzScaledCutoff_jet_bound (δ D : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) + (hD : 0 ≤ D) (χ ψ : 𝓢(E, ℂ)) (hψ : HasCompactSupport (ψ : E → ℂ)) + (N : ℕ) + (hjet : ∀ n ≤ N, ∀ x : E, (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ ≤ D) + (n : ℕ) (hn : n ≤ N) (x : E) : + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (schwartzScaledCutoff δ χ ψ hψ) x‖ ≤ + schwartzCutoffJetConstant χ N * D := by + have hχ (j : ℕ) : ‖iteratedFDeriv ℝ j (fun y : E => χ (δ • y)) x‖ ≤ + SchwartzMap.seminorm ℝ 0 j χ := by + have hd : iteratedFDeriv ℝ j (fun y : E => χ (δ • y)) x = + δ ^ j • iteratedFDeriv ℝ j χ (δ • x) := by + simpa only using! congrFun + (iteratedFDeriv_comp_const_smul δ (χ.smooth'.of_le (by simp))) x + rw [hd] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (pow_pos hδ j)] + calc + _ ≤ 1 * SchwartzMap.seminorm ℝ 0 j χ := + mul_le_mul (pow_le_one₀ hδ.le hδ1) + (SchwartzMap.norm_iteratedFDeriv_le_seminorm ℝ χ j (δ • x)) + (norm_nonneg _) (by positivity) + _ = _ := one_mul _ + have hp : ‖iteratedFDeriv ℝ n (schwartzScaledCutoff δ χ ψ hψ) x‖ ≤ + ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * + ‖iteratedFDeriv ℝ i ψ x‖ * + ‖iteratedFDeriv ℝ (n - i) (fun y : E => χ (δ • y)) x‖ := by + exact norm_iteratedFDeriv_mul_le ψ.smooth' + (χ.smooth'.comp (contDiff_id.const_smul δ)) x (by simp) + have hsum : (∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * SchwartzMap.seminorm ℝ 0 (n - i) χ) ≤ + schwartzCutoffJetConstant χ N := by + unfold schwartzCutoffJetConstant + exact Finset.single_le_sum (f := fun j : ℕ => ∑ i ∈ Finset.range (j + 1), + (j.choose i : ℝ) * SchwartzMap.seminorm ℝ 0 (j - i) χ) + (fun _ _ => by positivity) (Finset.mem_range.mpr (Nat.lt_succ_of_le hn)) + calc + _ ≤ (1 + ‖x‖) ^ N * (∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * ‖iteratedFDeriv ℝ i ψ x‖ * + ‖iteratedFDeriv ℝ (n - i) (fun y : E => χ (δ • y)) x‖) := + mul_le_mul_of_nonneg_left hp (by positivity) + _ = ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * + ((1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ i ψ x‖) * + ‖iteratedFDeriv ℝ (n - i) (fun y : E => χ (δ • y)) x‖ := by + rw [Finset.mul_sum] + apply Finset.sum_congr rfl + intro i _ + ring + _ ≤ ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * D * + SchwartzMap.seminorm ℝ 0 (n - i) χ := by + apply Finset.sum_le_sum + intro i hi + have hiN : i ≤ N := (Nat.le_of_lt_succ (Finset.mem_range.mp hi)).trans hn + exact mul_le_mul (mul_le_mul_of_nonneg_left (hjet i hiN x) (Nat.cast_nonneg _)) + (hχ (n - i)) (norm_nonneg _) (mul_nonneg (Nat.cast_nonneg _) hD) + _ = (∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * SchwartzMap.seminorm ℝ 0 (n - i) χ) * D := by + rw [Finset.sum_mul] + apply Finset.sum_congr rfl + intro i _ + ring + _ ≤ _ := mul_le_mul_of_nonneg_right hsum hD + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSeparatedPeriodization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSeparatedPeriodization.lean new file mode 100644 index 0000000000000000000000000000000000000000..eb614b56d4d031853cb944ca7859bd57a44a0061 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSeparatedPeriodization.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPhysicalSampling + +namespace OAI + +/-! # Disjointness of sufficiently separated compactly supported translates -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem norm_tsum_sq_of_atMostOne {ι : Type*} (v : ι → ℂ) + (hv : ∀ i j, v i ≠ 0 → v j ≠ 0 → i = j) : + ‖∑' i, v i‖ ^ 2 = ∑' i, ‖v i‖ ^ 2 := by + classical + by_cases h : ∃ i, v i ≠ 0 + · obtain ⟨i, hi⟩ := h + have hz (j : ι) (hj : j ≠ i) : v j = 0 := by + by_contra hji + exact hj (hv j i hji hi) + rw [tsum_eq_single i hz, tsum_eq_single i (fun j hj => by rw [hz j hj]; simp)] + · have hz : ∀ i, v i = 0 := by simpa only [not_exists, not_not] using h + simp only [hz, tsum_zero, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0)] + +theorem separatedSchwartz_atMostOne (D R : ℝ) (hD : 0 < D) (hDR : 2 * R < D) + (K : 𝓢(E, ℂ)) (hK : ∀ x : E, R < ‖x‖ → K x = 0) (x : E) + (m n : frequencyLattice) (hm : K (x + D • (m : E)) ≠ 0) + (hn : K (x + D • (n : E)) ≠ 0) : m = n := by + by_contra hmn + have hmR : ‖x + D • (m : E)‖ ≤ R := le_of_not_gt (fun h => hm (hK _ h)) + have hnR : ‖x + D • (n : E)‖ ≤ R := le_of_not_gt (fun h => hn (hK _ h)) + have hp : 1 ≤ ‖m - n‖ := one_le_norm_frequencyLattice (sub_ne_zero.mpr hmn) + have hid : D • ((m - n : frequencyLattice) : E) = + (x + D • (m : E)) - (x + D • (n : E)) := by + simp only [Submodule.coe_sub, smul_sub] + abel + have hb := norm_sub_le (x + D • (m : E)) (x + D • (n : E)) + rw [← hid, norm_smul, Real.norm_eq_abs, abs_of_pos hD, Submodule.norm_coe] at hb + nlinarith + +theorem separatedSchwartz_norm_tsum_sq (D R : ℝ) (hD : 0 < D) (hDR : 2 * R < D) + (K : 𝓢(E, ℂ)) (hK : ∀ x : E, R < ‖x‖ → K x = 0) (x : E) : + ‖∑' n : frequencyLattice, K (x + D • (n : E))‖ ^ 2 = + ∑' n : frequencyLattice, ‖K (x + D • (n : E))‖ ^ 2 := + norm_tsum_sq_of_atMostOne _ (separatedSchwartz_atMostOne D R hD hDR K hK x) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSobolevLocalization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSobolevLocalization.lean new file mode 100644 index 0000000000000000000000000000000000000000..52d58dc88b2db8972f04bb291da32863882706dc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzSobolevLocalization.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzLocalizationKernel + +namespace OAI + +/-! # Weighted finite Fourier localization + +This proves the weighted mixed Fourier bound in the verification of (lin:J-bound). +The kernel is a genuine Schwartz function; its positive Bessel-weighted modulus +is used only inside the Schur estimate. The later Fourier change of variables +must still carry the chosen Fourier normalization. +-/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +private theorem localization_bessel_product (s : ℝ) (hs : 0 ≤ s) + (x y : EuclideanSpace ℝ (Fin 12)) : + (1 + ‖x‖ ^ 2) ^ (s / 2) ≤ 2 ^ (s / 2) * + (1 + ‖y‖ ^ 2) ^ (s / 2) * (1 + ‖x - y‖ ^ 2) ^ (s / 2) := by + have hn : ‖x‖ ≤ ‖y‖ + ‖x - y‖ := by + have hid : y + (x - y) = x := by abel + simpa only [hid] using norm_add_le y (x - y) + have hbase : 1 + ‖x‖ ^ 2 ≤ 2 * (1 + ‖y‖ ^ 2) * (1 + ‖x - y‖ ^ 2) := by + nlinarith [norm_nonneg x, norm_nonneg y, norm_nonneg (x - y), + sq_nonneg (‖y‖ - ‖x - y‖), mul_nonneg (sq_nonneg ‖y‖) (sq_nonneg ‖x - y‖)] + calc + _ ≤ (2 * (1 + ‖y‖ ^ 2) * (1 + ‖x - y‖ ^ 2)) ^ (s / 2) := + Real.rpow_le_rpow (by positivity) hbase (by positivity) + _ = _ := by rw [Real.mul_rpow (by positivity) (by positivity), + Real.mul_rpow (by positivity) (by positivity)] + +private theorem localization_bessel_square (s : ℝ) (x : EuclideanSpace ℝ (Fin 12)) : + ((1 + ‖x‖ ^ 2) ^ (s / 2)) ^ 2 = (1 + ‖x‖ ^ 2) ^ s := by + rw [← Real.rpow_natCast, ← Real.rpow_mul (by positivity)] + congr 1 + ring + +/-- Uniform finite-sum estimate for the Sobolev-weighted localization kernel. -/ +theorem exists_schwartz_sobolev_localization_bound (s : ℝ) (hs : 0 ≤ s) + (K : 𝓢(EuclideanSpace ℝ (Fin 12), ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (S : Finset frequencyLattice) (v : frequencyLattice → ℂ), + Integrable (fun x => (1 + ‖x‖ ^ 2) ^ s * ‖∑ n ∈ S, v n * K (x - n)‖ ^ 2) ∧ + (∫ x, (1 + ‖x‖ ^ 2) ^ s * ‖∑ n ∈ S, v n * K (x - n)‖ ^ 2) ≤ + C * ∑ n ∈ S, (1 + ‖n‖ ^ 2) ^ s * ‖v n‖ ^ 2 := by + classical + let W := weightedSchwartzKernel s K + let P : EuclideanSpace ℝ (Fin 12) → ℂ := fun x => (‖W x‖ : ℂ) + obtain ⟨C₀, hC₀, hperiod⟩ := exists_schwartz_periodization_bound W + have hP : Integrable P := W.integrable.norm.ofReal + have hPn (x : EuclideanSpace ℝ (Fin 12)) : ‖P x‖ = ‖W x‖ := by + simp only [P, Complex.norm_real, Real.norm_eq_abs, abs_norm] + let C₁ := C₀ * ∫ x, ‖W x‖ + have hC₁ : 0 ≤ C₁ := mul_nonneg hC₀ (integral_nonneg (fun _ => norm_nonneg _)) + let c : ℝ := 2 ^ (s / 2) + refine ⟨c ^ 2 * C₁, mul_nonneg (sq_nonneg _) hC₁, ?_⟩ + intro S v + let A : frequencyLattice → ℂ := fun n => ((1 + ‖n‖ ^ 2) ^ (s / 2) * ‖v n‖ : ℝ) + let F : EuclideanSpace ℝ (Fin 12) → ℝ := fun x => + ∑ n ∈ S, (1 + ‖n‖ ^ 2) ^ (s / 2) * ‖v n‖ * ‖W (x - n)‖ + have hF_nonneg (x) : 0 ≤ F x := by + apply Finset.sum_nonneg + intro n _ + positivity + have hF_eq (x) : ‖∑ n ∈ S, A n * P (x - n)‖ = F x := by + have heq : (∑ n ∈ S, A n * P (x - n)) = (F x : ℂ) := by + simp only [A, P, F, Complex.ofReal_sum, Complex.ofReal_mul] + rw [heq, Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (hF_nonneg x)] + obtain ⟨hFI, hFB⟩ := mixedFourier_integral_bound S A P hP C₀ hC₀ (by + intro x + simpa only [hPn] using hperiod S x) + simp only [hF_eq] at hFI hFB + have hpoint (x : EuclideanSpace ℝ (Fin 12)) : + (1 + ‖x‖ ^ 2) ^ (s / 2) * ‖∑ n ∈ S, v n * K (x - n)‖ ≤ c * F x := by + calc + _ ≤ (1 + ‖x‖ ^ 2) ^ (s / 2) * ∑ n ∈ S, ‖v n‖ * ‖K (x - n)‖ := by + apply mul_le_mul_of_nonneg_left _ (by positivity) + simpa only [norm_mul] using norm_sum_le S (fun n => v n * K (x - n)) + _ = ∑ n ∈ S, (1 + ‖x‖ ^ 2) ^ (s / 2) * (‖v n‖ * ‖K (x - n)‖) := by + rw [Finset.mul_sum] + _ ≤ ∑ n ∈ S, c * ((1 + ‖n‖ ^ 2) ^ (s / 2) * ‖v n‖ * ‖W (x - n)‖) := by + apply Finset.sum_le_sum + intro n _ + calc + _ ≤ (2 ^ (s / 2) * (1 + ‖n‖ ^ 2) ^ (s / 2) * + (1 + ‖x - n‖ ^ 2) ^ (s / 2)) * (‖v n‖ * ‖K (x - n)‖) := + mul_le_mul_of_nonneg_right (localization_bessel_product s hs x n) (by positivity) + _ = _ := by + rw [show ‖W (x - n)‖ = _ from weightedSchwartzKernel_norm s K (x - n)] + dsimp [c] + ring + _ = _ := by rw [← Finset.mul_sum] + have hsquare (x : EuclideanSpace ℝ (Fin 12)) : + (1 + ‖x‖ ^ 2) ^ s * ‖∑ n ∈ S, v n * K (x - n)‖ ^ 2 ≤ c ^ 2 * F x ^ 2 := by + have h := pow_le_pow_left₀ (by positivity : 0 ≤ + (1 + ‖x‖ ^ 2) ^ (s / 2) * ‖∑ n ∈ S, v n * K (x - n)‖) (hpoint x) 2 + simpa only [mul_pow, localization_bessel_square] using h + have hcont : Continuous (fun x => + (1 + ‖x‖ ^ 2) ^ s * ‖∑ n ∈ S, v n * K (x - n)‖ ^ 2) := by + have hK : Continuous K := K.continuous + fun_prop + have hI : Integrable (fun x => + (1 + ‖x‖ ^ 2) ^ s * ‖∑ n ∈ S, v n * K (x - n)‖ ^ 2) := by + apply (hFI.const_mul (c ^ 2)).mono' hcont.aestronglyMeasurable + filter_upwards [] with x + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact hsquare x + refine ⟨hI, (integral_mono hI (hFI.const_mul (c ^ 2)) hsquare).trans ?_⟩ + rw [integral_const_mul] + have hAn (n : frequencyLattice) : ‖A n‖ ^ 2 = (1 + ‖n‖ ^ 2) ^ s * ‖v n‖ ^ 2 := by + simp only [A, Complex.norm_real, Real.norm_eq_abs] + rw [abs_of_nonneg (by positivity), mul_pow] + have hn := localization_bessel_square s (n : EuclideanSpace ℝ (Fin 12)) + change ((1 + ‖n‖ ^ 2) ^ (s / 2)) ^ 2 = (1 + ‖n‖ ^ 2) ^ s at hn + rw [hn] + simp only [hPn, hAn] at hFB + exact (mul_le_mul_of_nonneg_left hFB (sq_nonneg c)).trans_eq (by dsimp [C₁]; ring) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzTorusSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzTorusSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..7442033a6c2ac64f0ff78244a3beb71a37517585 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SchwartzTorusSampling.lean @@ -0,0 +1,155 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzLatticeSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingTorus + +namespace OAI + +/-! # Schwartz Fourier sampling in the exact expanding-torus space + +The sampled coefficients carry the physical volume factor `(2πL)⁻¹²`. +Their exact `Y_L` vectors have norms bounded independently of `L ≥ 1`. +-/ + +open scoped SchwartzMap ENNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def schwartzLatticeCoefficient (L : ℝ) (K : 𝓢(E, ℂ)) + (n : frequencyLattice) : ℂ := + (((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ : ℝ) * K ((L⁻¹ : ℝ) • (n : E)) + +noncomputable def weightedSchwartzLatticeCoefficient (a k L : ℝ) (K : 𝓢(E, ℂ)) + (n : frequencyLattice) : ℂ := + (expandingSobolevWeight a k L n : ℂ) * schwartzLatticeCoefficient L K n + +theorem weightedSchwartzLatticeCoefficient_norm_sq (a k L : ℝ) (hL : 1 ≤ L) + (K : 𝓢(E, ℂ)) (n : frequencyLattice) : + ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2 = + ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * + ((L ^ (-2 : ℝ) + (‖n‖ / L) ^ 2) ^ (6 - a) + (‖n‖ / L) ^ (2 * k)) * + ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2 := by + have hLp : 0 < L := by linarith + have hP : 0 < (2 * Real.pi * L) ^ (12 : ℕ) := by positivity + have hw : expandingSobolevWeight a k L n ^ 2 = + (2 * Real.pi * L) ^ (12 : ℕ) * + ((L ^ (-2 : ℝ) + (‖n‖ / L) ^ 2) ^ (6 - a) + (‖n‖ / L) ^ (2 * k)) := by + rw [expandingSobolevWeight_sq a k L hL] + exact (expandingSobolevWeightSq_original a k L hL n).symm + have hc : ‖schwartzLatticeCoefficient L K n‖ ^ 2 = + (((2 * Real.pi * L) ^ (12 : ℕ))⁻¹) ^ 2 * + ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2 := by + change ‖(((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ : ℝ) • + K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2 = _ + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hP), mul_pow] + unfold weightedSchwartzLatticeCoefficient + rw [norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_pos (expandingSobolevWeight_pos a k L hL n), mul_pow, hc, hw] + field_simp + +private theorem sampling_density_le (a k L : ℝ) (ha1 : a < 1) (hk : 8 < k) + (hL : 1 ≤ L) (n : frequencyLattice) : + (L ^ (-2 : ℝ) + (‖n‖ / L) ^ 2) ^ (6 - a) + (‖n‖ / L) ^ (2 * k) ≤ + (1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ (6 - a) + + (1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ k := by + have hLp : 0 < L := by linarith + have hn : ‖(L⁻¹ : ℝ) • (n : E)‖ = ‖n‖ / L := by + rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_of_pos hLp, div_eq_inv_mul, + Submodule.norm_coe] + rw [hn] + apply add_le_add + · exact Real.rpow_le_rpow (by positivity) + (add_le_add (Real.rpow_le_one_of_one_le_of_nonpos (z := -2) hL (by norm_num)) le_rfl) + (by linarith) + · calc + _ = ((‖n‖ / L) ^ (2 : ℕ)) ^ k := by + rw [← Real.rpow_natCast, ← Real.rpow_mul (by positivity)] + norm_num + _ ≤ (1 + (‖n‖ / L) ^ (2 : ℕ)) ^ k := + Real.rpow_le_rpow (by positivity) (by linarith) (by linarith) + +theorem exists_weightedSchwartz_torus_sampling_bound (a k : ℝ) + (ha1 : a < 1) (hk : 8 < k) (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : ℝ, 1 ≤ L → + Summable (fun n => ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2) ∧ + (∑' n, ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2) ≤ C := by + obtain ⟨C₀, hC₀, h₀⟩ := exists_weightedSchwartz_scaledLattice_l2_bound (6 - a) K + obtain ⟨C₁, hC₁, h₁⟩ := exists_weightedSchwartz_scaledLattice_l2_bound k K + refine ⟨((2 * Real.pi) ^ (12 : ℕ))⁻¹ * (C₀ + C₁), by positivity, ?_⟩ + intro L hL + have hLp : 0 < L := by linarith + obtain ⟨hs₀, hb₀⟩ := h₀ L hL + obtain ⟨hs₁, hb₁⟩ := h₁ L hL + let g : frequencyLattice → ℝ := fun n => + (1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ (6 - a) * ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2 + + (1 + ‖(L⁻¹ : ℝ) • (n : E)‖ ^ 2) ^ k * ‖K ((L⁻¹ : ℝ) • (n : E))‖ ^ 2 + have hgs : Summable g := hs₀.add hs₁ + have hgb : (∑' n, g n) ≤ (C₀ + C₁) * L ^ (12 : ℕ) := by + dsimp only [g] + rw [hs₀.tsum_add hs₁] + nlinarith + have hmajor (n : frequencyLattice) : + ‖weightedSchwartzLatticeCoefficient a k L K n‖ ^ 2 ≤ + ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * g n := by + rw [weightedSchwartzLatticeCoefficient_norm_sq a k L hL] + have h := mul_le_mul_of_nonneg_right (sampling_density_le a k L ha1 hk hL n) + (sq_nonneg ‖K ((L⁻¹ : ℝ) • (n : E))‖) + simpa only [g, add_mul, mul_assoc] using + mul_le_mul_of_nonneg_left h (by positivity : 0 ≤ ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹) + have hs := Summable.of_nonneg_of_le (fun _ => sq_nonneg _) hmajor + (hgs.mul_left (((2 * Real.pi * L) ^ (12 : ℕ))⁻¹)) + refine ⟨hs, ?_⟩ + calc + _ ≤ ∑' n, ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * g n := + hs.tsum_le_tsum hmajor (hgs.mul_left _) + _ = ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * ∑' n, g n := tsum_mul_left + _ ≤ ((2 * Real.pi * L) ^ (12 : ℕ))⁻¹ * ((C₀ + C₁) * L ^ (12 : ℕ)) := + mul_le_mul_of_nonneg_left hgb (by positivity) + _ = _ := by + rw [mul_pow] + field_simp + +noncomputable def schwartzTorusSample (a k L : ℝ) (ha1 : a < 1) (hk : 8 < k) + (hL : 1 ≤ L) (K : 𝓢(E, ℂ)) : FourierL2 := + ⟨weightedSchwartzLatticeCoefficient a k L K, by + apply memℓp_gen + simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using + ((exists_weightedSchwartz_torus_sampling_bound a k ha1 hk K).choose_spec.2 L hL).1⟩ + +theorem schwartzTorusSample_coefficient (a k L : ℝ) (ha1 : a < 1) (hk : 8 < k) + (hL : 1 ≤ L) (K : 𝓢(E, ℂ)) (n : frequencyLattice) : + expandingFourierCoefficient a k L (schwartzTorusSample a k L ha1 hk hL K) n = + schwartzLatticeCoefficient L K n := by + change (((expandingSobolevWeight a k L n)⁻¹ : ℝ) : ℂ) * + ((expandingSobolevWeight a k L n : ℂ) * schwartzLatticeCoefficient L K n) = _ + rw [← mul_assoc, ← Complex.ofReal_mul, + inv_mul_cancel₀ (expandingSobolevWeight_pos a k L hL n).ne'] + simp + +theorem exists_schwartzTorusSample_norm_bound (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : ℝ, ∀ hL : 1 ≤ L, + ‖schwartzTorusSample a k L ha1 hk hL K‖ ≤ C := by + obtain ⟨C, hC, hb⟩ := exists_weightedSchwartz_torus_sampling_bound a k ha1 hk K + refine ⟨Real.sqrt C, Real.sqrt_nonneg _, ?_⟩ + intro L hL + have hn := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) + (schwartzTorusSample a k L ha1 hk hL K) + simp only [ENNReal.toReal_ofNat, Real.rpow_two] at hn + have hsq : ‖schwartzTorusSample a k L ha1 hk hL K‖ ^ 2 ≤ C := by + rw [hn] + exact (hb L hL).2 + nlinarith [Real.sq_sqrt hC, Real.sqrt_nonneg C, + norm_nonneg (schwartzTorusSample a k L ha1 hk hL K)] + +theorem schwartzTorusSample_function (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (K : 𝓢(E, ℂ)) (x : SchrodingerTorus) : + expandingTorusFunction a k L (schwartzTorusSample a k L ha1 hk hL K) x = + ∑' n, schwartzLatticeCoefficient L K n * torusCharacter n x := by + rw [expandingTorusFunction_apply a k L ha ha1 hk hL] + simp only [schwartzTorusSample_coefficient] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupGeneratorEigenvector.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupGeneratorEigenvector.lean new file mode 100644 index 0000000000000000000000000000000000000000..8f72ee476759c2028c1ffd040a63657508fe587b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupGeneratorEigenvector.lean @@ -0,0 +1,57 @@ +import Mathlib.Analysis.Calculus.MeanValue +import Mathlib.Analysis.Calculus.Deriv.Comp +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! # A real generator eigenvector evolves by its scalar exponential -/ + +open Set Filter Topology +open scoped NNReal + +namespace DefocusingNLS + +theorem semigroup_eigenvector_of_generator + {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + (S : ℝ≥0 → V →L[ℝ] V) + (hc : ∀ v, Continuous (fun t => S t v)) + (hzero : S 0 = ContinuousLinearMap.id ℝ V) + (hadd : ∀ s t, S (s + t) = (S s).comp (S t)) + (u : V) (lam : ℝ) + (hu : HasDerivWithinAt (fun t : ℝ => S t.toNNReal u) (lam • u) (Ici 0) 0) + (t : ℝ≥0) : S t u = Real.exp (lam * (t : ℝ)) • u := by + let f := fun s : ℝ => S s.toNNReal u + have hf : Continuous f := (hc u).comp continuous_real_toNNReal + have hf0 : f 0 = u := by simp only [f, Real.toNNReal_zero, hzero, ContinuousLinearMap.id_apply] + have hd (s : ℝ) (hs : 0 ≤ s) : HasDerivWithinAt f (lam • f s) (Ici s) s := by + have h := (S s.toNNReal).hasFDerivAt.comp_hasDerivWithinAt 0 hu + have hh : HasDerivWithinAt (fun r : ℝ => r - s) 1 (Ici s) s := + ((hasDerivAt_id s).sub_const s).hasDerivWithinAt + have he := h.scomp_of_eq s hh (fun r hr => show 0 ≤ r - s from sub_nonneg.mpr hr) (by simp) + simp only [one_smul, map_smul] at he + apply he.congr_of_mem _ (by simp only [mem_Ici]; exact le_rfl) + intro r hr + have hsum : s.toNNReal + (r - s).toNNReal = r.toNNReal := by + rw [← Real.toNNReal_add hs (sub_nonneg.mpr hr), add_sub_cancel] + change S r.toNNReal u = S s.toNNReal (S (r - s).toNNReal u) + rw [← hsum, hadd] + rfl + let g := fun s : ℝ => Real.exp (-lam * s) • f s + have hg : Continuous g := (by fun_prop : Continuous (fun s : ℝ => Real.exp (-lam * s))).smul hf + have hgD (s : ℝ) (hs : 0 ≤ s) : HasDerivWithinAt g 0 (Ici s) s := by + have he := (((hasDerivAt_id s).const_mul (-lam)).exp).hasDerivWithinAt (s := Ici s) + have h := he.smul (hd s hs) + convert h using 1 + · rfl + · simp only [id_eq, mul_one, smul_smul] + module + have hconst := constant_of_has_deriv_right_zero (a := 0) (b := (t : ℝ)) + hg.continuousOn (fun s hs => hgD s hs.1) t ⟨t.2, le_rfl⟩ + have hz : Real.exp (-lam * (t : ℝ)) • S t u = u := by + simpa only [g, f, hf0, Real.toNNReal_coe, mul_zero, Real.exp_zero, one_smul] using hconst + have he := congrArg (fun v : V => Real.exp (lam * (t : ℝ)) • v) hz + simpa only [smul_smul, ← Real.exp_add, neg_mul, add_neg_cancel, Real.exp_zero, one_smul] using he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupStableBlocks.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupStableBlocks.lean new file mode 100644 index 0000000000000000000000000000000000000000..186d7acd281bca0d8e25bcdbe710f59fc3dbc5d7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupStableBlocks.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SemigroupSymmetryFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphFrameBounds + +namespace OAI + +/-! The real stable-graph blocks obtained from the actual complex contour projection. -/ + +open scoped NNReal +namespace DefocusingNLS +variable {V F : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + [NormedAddCommGroup F] [NormedSpace ℂ F] + +theorem projectionFrame_stableProjection (P : V →L[ℂ] V) (e : F ≃L[ℂ] P.range) : + stableFrameProjection ((projectionFrame P e).restrictScalars ℝ) + ((projectionCoordinates P e).restrictScalars ℝ)=(1-P).restrictScalars ℝ := by + ext v + change v-projectionFrame P e (projectionCoordinates P e v)=v-P v + rw [projectionFrame_coordinates] + +theorem semigroup_stableProjectedBlock_bound + (S : ℝ≥0 → V →L[ℂ] V) (P : V →L[ℂ] V) (hP : IsIdempotentElem P) + (hcomm : ∀ t, Commute (S t) P) (e : F ≃L[ℂ] P.range) + (D δ : ℝ) (hD : 0≤D) + (hdecay : ∀ t : ℝ≥0, ∀ v, P v=0 → ‖S t v‖ ≤ D*Real.exp (-δ*(t : ℝ))*‖v‖) + (t : ℝ≥0) : + ‖stableProjectedBlock ((projectionFrame P e).restrictScalars ℝ) + ((projectionFrame P e).restrictScalars ℝ) + ((projectionCoordinates P e).restrictScalars ℝ) + ((projectionCoordinates P e).restrictScalars ℝ) ((S t).restrictScalars ℝ)‖ ≤ + (D*Real.exp (-δ*(t : ℝ)))*‖(1-P).restrictScalars ℝ‖ := by + apply stableProjectedBlock_norm_le _ _ _ _ _ _ _ (by positivity) (norm_nonneg _) + · exact projectionCoordinates_frame P hP e + · rw [projectionFrame_stableProjection] + · intro v hv + have hPv := (projectionCoordinates_zero_iff P e v).mp hv + have hPS : P (S t v)=0 := by + have hh := congrArg (fun L : V →L[ℂ] V => L v) (hcomm t).eq + change S t (P v)=P (S t v) at hh + rw [hPv,map_zero] at hh + exact hh.symm + rw [projectionFrame_stableProjection] + change ‖S t v-P (S t v)‖ ≤ _ + rw [hPS,sub_zero] + exact hdecay t v hPv + +theorem semigroup_stableMixedBlock_zero + (S : ℝ≥0 → V →L[ℂ] V) (P : V →L[ℂ] V) (hP : IsIdempotentElem P) + (hcomm : ∀ t, Commute (S t) P) (e : F ≃L[ℂ] P.range) (t : ℝ≥0) : + stableMixedBlock ((projectionFrame P e).restrictScalars ℝ) + ((projectionFrame P e).restrictScalars ℝ) + ((projectionCoordinates P e).restrictScalars ℝ) ((S t).restrictScalars ℝ)=0 := by + rw [stableMixedBlock,projectionFrame_stableProjection] + ext v + change S t (projectionFrame P e v)-P (S t (projectionFrame P e v))=0 + have hpv : P (projectionFrame P e v)=projectionFrame P e v := + idempotent_range_fixed P hP (e v) + have hh := congrArg (fun L : V →L[ℂ] V => L (projectionFrame P e v)) (hcomm t).eq + change S t (P (projectionFrame P e v))=P (S t (projectionFrame P e v)) at hh + rw [hpv] at hh + exact sub_eq_zero.mpr hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupSymmetryFrame.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupSymmetryFrame.lean new file mode 100644 index 0000000000000000000000000000000000000000..7847829cc3db92cc8f8bd7f3d02ece0baee7b061 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SemigroupSymmetryFrame.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ProjectionCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryBackward + +namespace OAI + +/-! The concrete symmetry frame intertwines the actual semigroup and its three diagonal factors. -/ + +open scoped NNReal +namespace DefocusingNLS +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + +theorem semigroup_symmetryFrame_forward + (S : ℝ≥0 → V →L[ℂ] V) (P : V →L[ℂ] V) + (hcomm : ∀ t, Commute (S t) P) (hfin : FiniteDimensional ℂ P.range) + (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction S P hcomm t=NormedSpace.exp ((t : ℝ) • G)) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam)=⊤) + (hspec : ∀ (lam : ℂ) (w : P.range), w ≠ 0 → G w=lam • w → lam=0 ∨ lam=1 ∨ lam=1/2) + (t : ℝ≥0) (u : SymmetryCoordinates G) : + let e := symmetryCoordinateEquiv G hspan hspec + S t (projectionFrame P e u)= + projectionFrame P e (symmetryCoordinateEvolution G t u) := by + let : FiniteDimensional ℂ P.range := hfin + let : CompleteSpace P.range := FiniteDimensional.complete ℂ P.range + intro e + have hh := congrArg (fun L : P.range →L[ℂ] P.range => L (e u)) (hG t) + change projectionSemigroupRestriction S P hcomm t (symmetryCoordinateSum G u)= + NormedSpace.exp ((t : ℝ) • G) (symmetryCoordinateSum G u) at hh + rw [symmetryCoordinateEvolution_intertwines] at hh + exact congrArg Subtype.val hh + +theorem semigroup_symmetryFrame_coordinates + (S : ℝ≥0 → V →L[ℂ] V) (P : V →L[ℂ] V) (hP : IsIdempotentElem P) + (hcomm : ∀ t, Commute (S t) P) (hfin : FiniteDimensional ℂ P.range) + (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction S P hcomm t=NormedSpace.exp ((t : ℝ) • G)) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam)=⊤) + (hspec : ∀ (lam : ℂ) (w : P.range), w ≠ 0 → G w=lam • w → lam=0 ∨ lam=1 ∨ lam=1/2) + (t : ℝ≥0) (v : V) : + let e := symmetryCoordinateEquiv G hspan hspec + projectionCoordinates P e (S t v)= + symmetryCoordinateEvolution G t (projectionCoordinates P e v) := by + intro e + have hinj : Function.Injective (projectionFrame P e) := by + intro x y hxy + have hh := congrArg (projectionCoordinates P e) hxy + simpa only [projectionCoordinates_frame P hP e] using hh + apply hinj + rw [projectionFrame_coordinates] + rw [← semigroup_symmetryFrame_forward S P hcomm hfin G hG hspan hspec] + rw [projectionFrame_coordinates] + exact (congrArg (fun L : V →L[ℂ] V => L v) (hcomm t).eq).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevAmplitude.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevAmplitude.lean new file mode 100644 index 0000000000000000000000000000000000000000..4c8881257a12a759d79d03b5c28df300a282901c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevAmplitude.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevPhase + +namespace OAI + +/-! # Scalar amplitude covariance of the Sobolev nonlinearity + +This exact scaling identity supplies the amplitude factor in the passage from +similarity time to physical Schrödinger time. +-/ + +open scoped ComplexConjugate + +namespace DefocusingNLS + +theorem sobolevOddPower_smul (k : ℝ) (hk : 6 < k) (m : ℕ) + (c : ℂ) (f : FourierL2) : + sobolevOddPower k hk m (c • f) = + ((c * conj c) ^ m * c) • sobolevOddPower k hk m f := by + induction m with + | zero => simp [sobolevOddPower] + | succ m ih => + simp only [sobolevOddPower, ih, fourierConjugate_smul, + sobolevProduct_smul_left, sobolevProduct_smul_right, smul_smul] + congr 1 + rw [pow_succ] + ring + +theorem sobolevOddPower_smul_norm (k : ℝ) (hk : 6 < k) (m : ℕ) + (c : ℂ) (f : FourierL2) : + sobolevOddPower k hk m (c • f) = + ((‖c‖ ^ (2 * m) : ℝ) : ℂ) • (c • sobolevOddPower k hk m f) := by + rw [sobolevOddPower_smul, smul_smul, Complex.mul_conj, ← Complex.sq_norm] + congr 1 + rw [← Complex.ofReal_pow, ← pow_mul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevCompactStability.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevCompactStability.lean new file mode 100644 index 0000000000000000000000000000000000000000..6a37c44276e4d300a30a3670aebd83ab1aced5fe --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevCompactStability.lean @@ -0,0 +1,70 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevForwardDomain + +namespace OAI + +/-! # Uniform stability on compact intervals before blowup -/ + +open Filter Topology Set Metric + +namespace DefocusingNLS + +/-- On every compact interval before the reference solution's maximal time, one neighborhood +of its initial datum gives existence and uniform Sobolev closeness throughout that interval. -/ +theorem maximalSobolevSchrodingerFlow_compact_stability + (k : ℝ) (hk : 6 < k) (m : ℕ) (f : FourierL2) (T ε : ℝ) (hε : 0 < ε) + (hdom : T ∈ maximalSobolevInteractionDomain k hk m f) : + ∃ δ : ℝ, 0 < δ ∧ ∀ g : FourierL2, dist g f < δ → ∀ t ∈ Icc 0 T, + t ∈ maximalSobolevInteractionDomain k hk m g ∧ + dist (maximalSobolevSchrodingerFlow k hk m g t) + (maximalSobolevSchrodingerFlow k hk m f t) < ε := by + have hseg : Icc 0 T ⊆ maximalSobolevInteractionDomain k hk m f := + (isPreconnected_maximalSobolevInteractionDomain k hk m f).Icc_subset + (zero_mem_maximalSobolevInteractionDomain k hk m f) hdom + have hevent : ∀ᶠ g : FourierL2 in 𝓝 f, ∀ t ∈ Icc 0 T, + t ∈ maximalSobolevInteractionDomain k hk m g ∧ + dist (maximalSobolevSchrodingerFlow k hk m g t) + (maximalSobolevSchrodingerFlow k hk m f t) < ε := by + apply isCompact_Icc.eventually_forall_of_forall_eventually + intro t ht + have hf := hasSobolevFlowNeighborhood_of_nonneg k hk m f t ht.1 (hseg ht) + have hc : ContinuousAt (maximalSobolevSchrodingerFlow k hk m f) t := + (continuousOn_maximalSobolevSchrodingerFlow k hk m f t (hseg ht)).continuousAt + ((isOpen_maximalSobolevInteractionDomain k hk m f).mem_nhds (hseg ht)) + have href : ContinuousAt + (fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m f p.2) (f, t) := + ContinuousAt.comp (f := fun p : FourierL2 × ℝ => p.2) + (g := maximalSobolevSchrodingerFlow k hk m f) hc continuous_snd.continuousAt + have hd : ContinuousAt (fun p : FourierL2 × ℝ => + dist (maximalSobolevSchrodingerFlow k hk m p.1 p.2) + (maximalSobolevSchrodingerFlow k hk m f p.2)) (f, t) := hf.2.dist href + have he : ∀ᶠ p : FourierL2 × ℝ in 𝓝 (f, t), + dist (maximalSobolevSchrodingerFlow k hk m p.1 p.2) + (maximalSobolevSchrodingerFlow k hk m f p.2) < ε := + hd.tendsto.eventually (isOpen_Iio.mem_nhds (by simpa using hε)) + filter_upwards [hf.1, he] with p hp hd + exact ⟨hp, hd⟩ + obtain ⟨δ, hδ, hball⟩ := Metric.mem_nhds_iff.mp hevent + exact ⟨δ, hδ, fun g hg => hball hg⟩ + +/-- Reaching a specified open set at a fixed forward time is an open condition on the datum. -/ +theorem isOpen_maximalSobolev_terminal_condition + (k : ℝ) (hk : 6 < k) (m : ℕ) (T : ℝ) (hT : 0 ≤ T) + (V : Set FourierL2) (hV : IsOpen V) : + IsOpen {f : FourierL2 | T ∈ maximalSobolevInteractionDomain k hk m f ∧ + maximalSobolevSchrodingerFlow k hk m f T ∈ V} := by + apply isOpen_iff_mem_nhds.mpr + intro f hf + have hflow := hasSobolevFlowNeighborhood_of_nonneg k hk m f T hT hf.1 + have hp : ContinuousAt (fun g : FourierL2 => (g, T)) f := + (continuous_id.prodMk continuous_const).continuousAt + have hc : ContinuousAt (fun g : FourierL2 => maximalSobolevSchrodingerFlow k hk m g T) f := + ContinuousAt.comp (f := fun g : FourierL2 => (g, T)) + (g := fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) + hflow.2 hp + have hdom : ∀ᶠ g : FourierL2 in 𝓝 f, + T ∈ maximalSobolevInteractionDomain k hk m g := hp.tendsto.eventually hflow.1 + exact hdom.and (hc.tendsto.eventually (hV.mem_nhds hf.2)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevConjugation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevConjugation.lean new file mode 100644 index 0000000000000000000000000000000000000000..a395babbd28ce3a3e5a7fd379ec9c1df22466216 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevConjugation.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevMultiplication + +namespace OAI + +/-! # Complex conjugation in the Fourier Sobolev model -/ + +open scoped ENNReal ComplexConjugate + +namespace DefocusingNLS + +/-- Conjugating a torus function conjugates its coefficients and reverses frequency. -/ +noncomputable def fourierConjugate (f : FourierL2) : FourierL2 := + ⟨fun n => conj (f (-n)), by + apply memℓp_gen + simpa only [Complex.norm_conj, Function.comp_def, Equiv.neg_apply] using + (Equiv.neg frequencyLattice).summable_iff.mpr + ((lp.memℓp f).summable (by norm_num : 0 < (2 : ℝ≥0∞).toReal))⟩ + +@[simp] theorem fourierConjugate_apply (f : FourierL2) (n : frequencyLattice) : + fourierConjugate f n = conj (f (-n)) := rfl + +@[simp] theorem fourierConjugate_involutive (f : FourierL2) : + fourierConjugate (fourierConjugate f) = f := by + ext n + simp + +@[simp] theorem fourierConjugate_norm (f : FourierL2) : ‖fourierConjugate f‖ = ‖f‖ := by + have h1 := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) (fourierConjugate f) + have h2 := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) f + simp only [ENNReal.toReal_ofNat, Real.rpow_two, fourierConjugate_apply, Complex.norm_conj] at h1 h2 + have heq : ‖fourierConjugate f‖ ^ 2 = ‖f‖ ^ 2 := by + rw [h1, h2] + exact (Equiv.neg frequencyLattice).tsum_eq (fun n => ‖f n‖ ^ 2) + nlinarith [norm_nonneg f, norm_nonneg (fourierConjugate f)] + +/-- Conjugation of torus functions is a continuous real-linear map on `H^k`. -/ +noncomputable def sobolevConjugation : FourierL2 →L[ℝ] FourierL2 := + LinearIsometry.toContinuousLinearMap + { toFun := fourierConjugate + map_add' := by intro f g; ext n; simp + map_smul' := by intro c f; ext n; simp [Algebra.smul_def] + norm_map' := fourierConjugate_norm } + +@[simp] theorem sobolevConjugation_apply (f : FourierL2) : + sobolevConjugation f = fourierConjugate f := rfl + +theorem sobolevFourierCoefficient_conjugate (k : ℝ) (f : FourierL2) + (n : frequencyLattice) : + sobolevFourierCoefficient k (fourierConjugate f) n = + conj (sobolevFourierCoefficient k f (-n)) := by + simp [sobolevFourierCoefficient, Algebra.smul_def] + +theorem frequencyCoordinates_neg (n : frequencyLattice) (j : Fin 12) : + frequencyCoordinates (-n) j = -frequencyCoordinates n j := by + apply Int.cast_injective (α := ℝ) + simp only [Int.cast_neg, frequencyCoordinates_coe] + rfl + +theorem torusCharacter_neg (n : frequencyLattice) (x : SchrodingerTorus) : + torusCharacter (-n) x = conj (torusCharacter n x) := by + change (∏ j, fourier (frequencyCoordinates (-n) j) (x j)) = + conj (∏ j, fourier (frequencyCoordinates n j) (x j)) + simp only [frequencyCoordinates_neg, fourier_neg, map_prod] + +theorem sobolevTorusFunction_conjugate (k : ℝ) (hk : 6 < k) (f : FourierL2) + (x : SchrodingerTorus) : + sobolevTorusFunction k (fourierConjugate f) x = conj (sobolevTorusFunction k f x) := by + rw [sobolevTorusFunction_eq_tsum k hk, sobolevTorusFunction_eq_tsum k hk, Complex.conj_tsum, + ← (Equiv.neg frequencyLattice).tsum_eq + (fun n => sobolevFourierCoefficient k (fourierConjugate f) n * torusCharacter n x)] + simp only [Equiv.neg_apply, sobolevFourierCoefficient_conjugate, neg_neg, + torusCharacter_neg, map_mul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevContinuation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevContinuation.lean new file mode 100644 index 0000000000000000000000000000000000000000..f77ac26942ce129598c467aad38e94eb51d20a5c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevContinuation.lean @@ -0,0 +1,161 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevIntervalUniqueness + +namespace OAI + +/-! # Uniform local lifespans and continuation of Sobolev interaction solutions -/ + +open Filter Topology Set Metric + +namespace DefocusingNLS + +/-- Every bounded set of initial data has one common positive local lifespan, at every time. -/ +theorem exists_uniform_sobolevInteraction_time (k : ℝ) (hk : 6 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ δ : ℝ, 0 < δ ∧ ∀ (t₀ : ℝ) (f₀ : FourierL2), ‖f₀‖ ≤ R → + ∃ v : ℝ → FourierL2, v t₀ = f₀ ∧ + ∀ t ∈ Ioo (t₀ - δ) (t₀ + δ), + HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t := by + obtain ⟨A, K, hA, hK, hbound, hlip⟩ := + exists_schrodingerInteractionField_ball_bounds k hk m (R + 1) (by linarith) + let δ : ℝ := 1 / (A + 1) + have hδ : 0 < δ := by dsimp [δ]; positivity + refine ⟨δ, hδ, ?_⟩ + intro t₀ f₀ hf₀ + let τ₀ : Icc (t₀ - δ) (t₀ + δ) := ⟨t₀, by constructor <;> linarith⟩ + have hpl : IsPicardLindelof (schrodingerInteractionField k hk m) + τ₀ 0 ⟨R + 1, by linarith⟩ ⟨R, hR⟩ ⟨A, hA⟩ ⟨K, hK⟩ := by + constructor + · intro t ht + apply LipschitzOnWith.of_dist_le_mul + intro f hf g hg + rw [dist_eq_norm, dist_eq_norm] + change ‖schrodingerInteractionField k hk m t f - schrodingerInteractionField k hk m t g‖ ≤ + K * ‖f - g‖ + have hfn : ‖f‖ ≤ R + 1 := by + rw [mem_closedBall, dist_zero_right] at hf + change ‖f‖ ≤ R + 1 at hf + exact hf + have hgn : ‖g‖ ≤ R + 1 := by + rw [mem_closedBall, dist_zero_right] at hg + change ‖g‖ ≤ R + 1 at hg + exact hg + exact hlip t f g hfn hgn + · intro f hf + exact ((continuous_schrodingerInteractionField k hk m).comp + (continuous_id.prodMk continuous_const)).continuousOn + · intro t ht f hf + apply hbound t f + rw [mem_closedBall, dist_zero_right] at hf + change ‖f‖ ≤ R + 1 at hf + exact hf + · change A * max ((t₀ + δ) - t₀) (t₀ - (t₀ - δ)) ≤ (R + 1) - R + have hmax : max ((t₀ + δ) - t₀) (t₀ - (t₀ - δ)) = δ := by + have h1 : (t₀ + δ) - t₀ = δ := by ring + have h2 : t₀ - (t₀ - δ) = δ := by ring + rw [h1, h2, max_self] + rw [hmax] + have hr : (R + 1) - R = 1 := by ring + rw [hr] + dsimp [δ] + rw [mul_one_div] + apply (div_le_iff₀ (by positivity : 0 < A + 1)).2 + linarith + obtain ⟨v, hv₀, hv⟩ := hpl.exists_eq_forall_mem_Icc_hasDerivWithinAt + (x := f₀) (by + change dist f₀ 0 ≤ R + simpa only [dist_zero_right] using hf₀) + refine ⟨v, hv₀, ?_⟩ + intro t ht + exact (hv t (Ioo_subset_Icc_self ht)).hasDerivAt (Icc_mem_nhds ht.1 ht.2) + +/-- A right continuation is a classical solution across the endpoint agreeing on a left neighborhood. -/ +def HasSobolevInteractionContinuation (k : ℝ) (hk : 6 < k) (m : ℕ) + (v : ℝ → FourierL2) (T : ℝ) : Prop := + ∃ ε : ℝ, 0 < ε ∧ ∃ w : ℝ → FourierL2, + (∀ t ∈ Ioo (T - ε) (T + ε), + HasDerivAt w (schrodingerInteractionField k hk m t (w t)) t) ∧ + EqOn w v (Ioo (T - ε) T) + +/-- A local solution started before the endpoint and lasting beyond it continues the original one. -/ +theorem sobolevInteraction_continuation_from_overlap + (k : ℝ) (hk : 6 < k) (m : ℕ) (v w : ℝ → FourierL2) + (a T t₀ δ : ℝ) (ht₀ : t₀ ∈ Ioo a T) (hT : T < t₀ + δ) + (hv : ∀ t ∈ Ioo a T, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) + (hw : ∀ t ∈ Ioo (t₀ - δ) (t₀ + δ), + HasDerivAt w (schrodingerInteractionField k hk m t (w t)) t) + (heq : v t₀ = w t₀) : HasSobolevInteractionContinuation k hk m v T := by + have hδ : 0 < δ := by linarith [ht₀.2] + let ε := min (T - t₀) (t₀ + δ - T) / 2 + have hε : 0 < ε := by + exact div_pos (lt_min (sub_pos.mpr ht₀.2) (sub_pos.mpr hT)) (by norm_num) + have hleft : t₀ < T - ε := by + have h := min_le_left (T - t₀) (t₀ + δ - T) + dsimp [ε] + linarith [ht₀.2] + have hright : T + ε < t₀ + δ := by + have h := min_le_right (T - t₀) (t₀ + δ - T) + dsimp [ε] + linarith + have htbase : t₀ ∈ Ioo (max a (t₀ - δ)) T := + ⟨max_lt ht₀.1 (by linarith), ht₀.2⟩ + have he := sobolevInteractionSolution_unique_on_interval k hk m v w + (max a (t₀ - δ)) T t₀ htbase + (fun t ht => hv t ⟨lt_of_le_of_lt (le_max_left _ _) ht.1, ht.2⟩) + (fun t ht => hw t ⟨lt_of_le_of_lt (le_max_right _ _) ht.1, ht.2.trans hT⟩) heq + refine ⟨ε, hε, w, ?_, ?_⟩ + · intro t ht + exact hw t ⟨by linarith [ht.1], by linarith [ht.2]⟩ + · intro t ht + exact (he ⟨by + apply max_lt + · linarith [ht₀.1, ht.1] + · linarith [ht.1] + , ht.2⟩).symm + +/-- A finite right endpoint with bounded Sobolev norm is extendible. -/ +theorem sobolevInteraction_continuation_of_bounded + (k : ℝ) (hk : 6 < k) (m : ℕ) (v : ℝ → FourierL2) + (a T R : ℝ) (haT : a < T) (hR : 0 ≤ R) + (hv : ∀ t ∈ Ioo a T, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) + (hb : ∀ t ∈ Ioo a T, ‖v t‖ ≤ R) : HasSobolevInteractionContinuation k hk m v T := by + obtain ⟨δ, hδ, hex⟩ := exists_uniform_sobolevInteraction_time k hk m R hR + let d := min δ (T - a) / 2 + let t₀ := T - d + have hd : 0 < d := by dsimp [d]; positivity + have hda : d < T - a := by + have h := min_le_right δ (T - a) + dsimp [d] + linarith + have hdd : d < δ := by + have h := min_le_left δ (T - a) + dsimp [d] + linarith + have ht₀ : t₀ ∈ Ioo a T := by dsimp [t₀]; constructor <;> linarith + obtain ⟨w, hw₀, hw⟩ := hex t₀ (v t₀) (hb t₀ ht₀) + exact sobolevInteraction_continuation_from_overlap k hk m v w a T t₀ δ ht₀ + (by dsimp [t₀]; linarith) hv hw hw₀.symm + +/-- A nonextendible finite endpoint forces the Sobolev norm to diverge. -/ +theorem sobolevInteraction_norm_tendsto_atTop + (k : ℝ) (hk : 6 < k) (m : ℕ) (v : ℝ → FourierL2) + (a T : ℝ) (haT : a < T) + (hv : ∀ t ∈ Ioo a T, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) + (hmax : ¬ HasSobolevInteractionContinuation k hk m v T) : + Tendsto (fun t => ‖v t‖) (𝓝[<] T) atTop := by + rw [Filter.tendsto_atTop] + intro R + obtain ⟨δ, hδ, hex⟩ := exists_uniform_sobolevInteraction_time k hk m (max R 0) + (le_max_right _ _) + have hb : max a (T - δ / 2) < T := max_lt haT (by linarith) + filter_upwards [Ioo_mem_nhdsLT hb] with t ht + by_contra hn + have hnorm : ‖v t‖ ≤ max R 0 := (le_of_lt (lt_of_not_ge hn)).trans (le_max_left _ _) + have ht' : t ∈ Ioo a T := ⟨lt_of_le_of_lt (le_max_left _ _) ht.1, ht.2⟩ + obtain ⟨w, hw₀, hw⟩ := hex t (v t) hnorm + apply hmax + exact sobolevInteraction_continuation_from_overlap k hk m v w a T t δ ht' + (by have h := lt_of_le_of_lt (le_max_right _ _) ht.1; linarith) hv hw hw₀.symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevContinuousDependence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevContinuousDependence.lean new file mode 100644 index 0000000000000000000000000000000000000000..9f19aa058ec73586f17f88f1af2944f81f796ac0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevContinuousDependence.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevDuhamelIntegral + +namespace OAI + +/-! # Quantitative continuous dependence on Sobolev balls -/ + +open Filter Topology Set Metric +open scoped NNReal + +namespace DefocusingNLS + +/-- On a fixed norm ball, one exponential bound applies to all interaction trajectories. -/ +theorem exists_sobolevInteraction_gronwall_constant + (k : ℝ) (hk : 6 < k) (m : ℕ) (R : ℝ) (hR : 0 ≤ R) : + ∃ K : ℝ≥0, ∀ (v w : ℝ → FourierL2) (a b : ℝ), + (∀ t ∈ Icc a b, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) → + (∀ t ∈ Icc a b, HasDerivAt w (schrodingerInteractionField k hk m t (w t)) t) → + (∀ t ∈ Icc a b, ‖v t‖ ≤ R) → (∀ t ∈ Icc a b, ‖w t‖ ≤ R) → + ∀ t ∈ Icc a b, dist (v t) (w t) ≤ dist (v a) (w a) * Real.exp (K * (t - a)) := by + obtain ⟨_, K, _, hK, _, hlip⟩ := + exists_schrodingerInteractionField_ball_bounds k hk m R hR + refine ⟨⟨K, hK⟩, ?_⟩ + intro v w a b hv hw hvb hwb + apply dist_le_of_trajectories_ODE_of_mem + (v := schrodingerInteractionField k hk m) (s := fun _ => closedBall 0 R) + (K := ⟨K, hK⟩) + · intro t ht + apply LipschitzOnWith.of_dist_le_mul + intro f hf g hg + rw [dist_eq_norm, dist_eq_norm] + change ‖schrodingerInteractionField k hk m t f - + schrodingerInteractionField k hk m t g‖ ≤ K * ‖f - g‖ + exact hlip t f g (by simpa using hf) (by simpa using hg) + · intro t ht + exact (hv t ht).continuousAt.continuousWithinAt + · intro t ht + exact (hv t (Ico_subset_Icc_self ht)).hasDerivWithinAt + · intro t ht + simpa using hvb t (Ico_subset_Icc_self ht) + · intro t ht + exact (hw t ht).continuousAt.continuousWithinAt + · intro t ht + exact (hw t (Ico_subset_Icc_self ht)).hasDerivWithinAt + · intro t ht + simpa using hwb t (Ico_subset_Icc_self ht) + · exact le_rfl + +/-- The same exponential estimate holds for strong physical Schrödinger solutions. -/ +theorem exists_sobolevSchrodinger_gronwall_constant + (k : ℝ) (hk : 6 < k) (m : ℕ) (R : ℝ) (hR : 0 ≤ R) : + ∃ K : ℝ≥0, ∀ (u v : ℝ → FourierL2) (a' b' a b : ℝ), + Icc a b ⊆ Ioo a' b' → + ContinuousOn u (Ioo a' b') → ContinuousOn v (Ioo a' b') → + (∀ t ∈ Ioo a' b', HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) → + (∀ t ∈ Ioo a' b', HasDerivAt (fun s => lowerSobolevInclusion (v s)) + (lowerSobolevGenerator (v t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (v t))) t) → + (∀ t ∈ Icc a b, ‖u t‖ ≤ R) → (∀ t ∈ Icc a b, ‖v t‖ ≤ R) → + ∀ t ∈ Icc a b, dist (u t) (v t) ≤ dist (u a) (v a) * Real.exp (K * (t - a)) := by + obtain ⟨K, hK⟩ := exists_sobolevInteraction_gronwall_constant k hk m R hR + refine ⟨K, ?_⟩ + intro u v a' b' a b hsub huc hvc hu hv hub hvb t ht + have h := hK (inverseSchrodingerCurve u) (inverseSchrodingerCurve v) a b + (fun s hs => hasDerivAt_inverseSchrodingerCurve k hk m u a' b' s huc hu (hsub hs)) + (fun s hs => hasDerivAt_inverseSchrodingerCurve k hk m v a' b' s hvc hv (hsub hs)) + (fun s hs => by simpa [inverseSchrodingerCurve] using hub s hs) + (fun s hs => by simpa [inverseSchrodingerCurve] using hvb s hs) t ht + simpa only [inverseSchrodingerCurve, LinearIsometry.dist_map] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevConvolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevConvolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..f18dcbff5aa8b4bb2aa7846de36ab9eebaf56356 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevConvolution.lean @@ -0,0 +1,205 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.FourierConvolution +import OAI.MathematicalPhysics.DefocusingNLS.Linear.FourierAbsolute +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevProductWeights + +namespace OAI + +/-! +# Weighted convolution for Sobolev multiplication + +The frequency weight inequality and Young's inequality give an explicit ℓ² +majorant for the Fourier coefficients of a product. +-/ + +open scoped ENNReal + +namespace DefocusingNLS + +theorem weight_mul_sobolevFourierCoefficient (k : ℝ) (f : FourierL2) + (n : frequencyLattice) : + (sobolevProductWeight k n : ℂ) * sobolevFourierCoefficient k f n = f n := by + unfold sobolevProductWeight sobolevFourierCoefficient + change (((1 + ‖n‖ ^ 2) ^ (k / 2) : ℝ) : ℂ) * + ((((1 + ‖n‖ ^ 2) ^ (-k / 2) : ℝ) : ℂ) * f n) = f n + rw [← mul_assoc, ← Complex.ofReal_mul, ← Real.rpow_add (by positivity)] + have he : k / 2 + -k / 2 = 0 := by ring + simp [he] + +theorem weight_mul_norm_sobolevFourierCoefficient (k : ℝ) (f : FourierL2) + (n : frequencyLattice) : + sobolevProductWeight k n * ‖sobolevFourierCoefficient k f n‖ = ‖f n‖ := by + simpa only [norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_pos (sobolevProductWeight_pos k n)] using + congrArg norm (weight_mul_sobolevFourierCoefficient k f n) + +theorem norm_sobolevFourierCoefficient_le (k : ℝ) (hk : 0 ≤ k) (f : FourierL2) + (n : frequencyLattice) : ‖sobolevFourierCoefficient k f n‖ ≤ ‖f‖ := by + have hw : 1 ≤ sobolevProductWeight k n := by + unfold sobolevProductWeight + exact Real.one_le_rpow (le_add_of_nonneg_right (sq_nonneg _)) (by positivity) + calc + _ ≤ sobolevProductWeight k n * ‖sobolevFourierCoefficient k f n‖ := + le_mul_of_one_le_left (norm_nonneg _) hw + _ = ‖f n‖ := weight_mul_norm_sobolevFourierCoefficient k f n + _ ≤ ‖f‖ := lp.norm_apply_le_norm (by norm_num : (2 : ℝ≥0∞) ≠ 0) f n + +/-- The physical coefficients of the product are the discrete convolution. -/ +noncomputable def sobolevProductCoefficient (k : ℝ) (f g : FourierL2) + (n : frequencyLattice) : ℂ := + ∑' m, sobolevFourierCoefficient k f m * sobolevFourierCoefficient k g (n - m) + +theorem summable_norm_sobolevProductTerms (k : ℝ) (hk : 6 < k) (f g : FourierL2) + (n : frequencyLattice) : + Summable (fun m => ‖sobolevFourierCoefficient k f m‖ * + ‖sobolevFourierCoefficient k g (n - m)‖) := by + apply Summable.of_nonneg_of_le (fun m => mul_nonneg (norm_nonneg _) (norm_nonneg _)) + (fun m => mul_le_mul_of_nonneg_left (norm_sobolevFourierCoefficient_le k (by linarith) g _) + (norm_nonneg _)) + exact (summable_norm_sobolevFourierCoefficient k hk f).mul_right ‖g‖ + +theorem absolute_convolution_apply (a : frequencyLattice → ℂ) + (ha : Summable (fun m => ‖a m‖)) (f : FourierL2) (n : frequencyLattice) : + fourierConvolution (fun m => (‖a m‖ : ℂ)) (fourierAbsolute f) n = + Complex.ofReal (∑' m, ‖a m‖ * ‖f (n - m)‖) := by + rw [fourierConvolution_apply _ (by simpa using ha)] + simp only [fourierAbsolute_apply, ← Complex.ofReal_mul, ← Complex.ofReal_tsum] + +/-- The two unweighted Young convolutions which dominate the weighted product. -/ +noncomputable def sobolevProductMajorant (k : ℝ) (f g : FourierL2) : FourierL2 := + Complex.ofReal ((4 : ℝ) ^ (k / 2)) • + (fourierConvolution (fun m => (‖sobolevFourierCoefficient k f m‖ : ℂ)) (fourierAbsolute g) + + fourierConvolution (fun m => (‖sobolevFourierCoefficient k g m‖ : ℂ)) (fourierAbsolute f)) + +theorem sobolevProductMajorant_norm_apply (k : ℝ) (hk : 6 < k) (f g : FourierL2) + (n : frequencyLattice) : + ‖sobolevProductMajorant k f g n‖ = 4 ^ (k / 2) * + ((∑' m, ‖sobolevFourierCoefficient k f m‖ * ‖g (n - m)‖) + + ∑' m, ‖sobolevFourierCoefficient k g m‖ * ‖f (n - m)‖) := by + simp only [sobolevProductMajorant, lp.coeFn_smul, Pi.smul_apply, lp.coeFn_add, + Pi.add_apply, smul_eq_mul] + rw [absolute_convolution_apply _ (summable_norm_sobolevFourierCoefficient k hk f), + absolute_convolution_apply _ (summable_norm_sobolevFourierCoefficient k hk g), + ← Complex.ofReal_add, ← Complex.ofReal_mul, Complex.norm_real, Real.norm_eq_abs] + apply abs_of_nonneg + exact mul_nonneg (Real.rpow_nonneg (by norm_num) _) + (add_nonneg (tsum_nonneg (fun m => mul_nonneg (norm_nonneg _) (norm_nonneg _))) + (tsum_nonneg (fun m => mul_nonneg (norm_nonneg _) (norm_nonneg _)))) + +lemma weighted_product_term_bound (k : ℝ) (hk : 0 ≤ k) (f g : FourierL2) + (n m : frequencyLattice) : + sobolevProductWeight k n * + (‖sobolevFourierCoefficient k f m‖ * ‖sobolevFourierCoefficient k g (n - m)‖) ≤ + 4 ^ (k / 2) * (‖f m‖ * ‖sobolevFourierCoefficient k g (n - m)‖ + + ‖sobolevFourierCoefficient k f m‖ * ‖g (n - m)‖) := by + have hw := sobolevProductWeight_add_le k hk m (n - m) + have hn : m + (n - m) = n := by abel + rw [hn] at hw + calc + _ ≤ (4 ^ (k / 2) * (sobolevProductWeight k m + sobolevProductWeight k (n - m))) * + (‖sobolevFourierCoefficient k f m‖ * ‖sobolevFourierCoefficient k g (n - m)‖) := + mul_le_mul_of_nonneg_right hw (mul_nonneg (norm_nonneg _) (norm_nonneg _)) + _ = _ := by + rw [← weight_mul_norm_sobolevFourierCoefficient k f m, + ← weight_mul_norm_sobolevFourierCoefficient k g (n - m)] + ring + +/-- The weighted convolution is bounded pointwise by an ℓ² vector. -/ +theorem weighted_sobolevProduct_le_majorant (k : ℝ) (hk : 6 < k) (f g : FourierL2) + (n : frequencyLattice) : + ‖(sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k f g n‖ ≤ + ‖sobolevProductMajorant k f g n‖ := by + let A := fun m : frequencyLattice => ‖f m‖ * ‖sobolevFourierCoefficient k g (n - m)‖ + let B := fun m : frequencyLattice => ‖sobolevFourierCoefficient k f m‖ * ‖g (n - m)‖ + have hA : Summable A := by + apply Summable.of_nonneg_of_le (fun m => mul_nonneg (norm_nonneg _) (norm_nonneg _)) + (fun m => mul_le_mul_of_nonneg_right + (lp.norm_apply_le_norm (by norm_num : (2 : ℝ≥0∞) ≠ 0) f m) (norm_nonneg _)) + exact ((Equiv.subLeft n).summable_iff.mpr + (summable_norm_sobolevFourierCoefficient k hk g)).mul_left ‖f‖ + have hB : Summable B := by + apply Summable.of_nonneg_of_le (fun m => mul_nonneg (norm_nonneg _) (norm_nonneg _)) + (fun m => mul_le_mul_of_nonneg_left + (lp.norm_apply_le_norm (by norm_num : (2 : ℝ≥0∞) ≠ 0) g (n - m)) (norm_nonneg _)) + exact (summable_norm_sobolevFourierCoefficient k hk f).mul_right ‖g‖ + have hp := summable_norm_sobolevProductTerms k hk f g n + have hswap : (∑' m, A m) = + ∑' m, ‖sobolevFourierCoefficient k g m‖ * ‖f (n - m)‖ := by + rw [← (Equiv.subLeft n).tsum_eq A] + simp only [A, Equiv.subLeft_apply, sub_sub_cancel, mul_comm] + rw [norm_mul, Complex.norm_real, Real.norm_eq_abs, + abs_of_pos (sobolevProductWeight_pos k n), sobolevProductMajorant_norm_apply k hk] + calc + _ ≤ sobolevProductWeight k n * + ∑' m, ‖sobolevFourierCoefficient k f m‖ * ‖sobolevFourierCoefficient k g (n - m)‖ := by + apply mul_le_mul_of_nonneg_left _ (sobolevProductWeight_pos k n).le + simpa only [sobolevProductCoefficient, norm_mul] using + (norm_tsum_le_tsum_norm + (f := fun m => sobolevFourierCoefficient k f m * sobolevFourierCoefficient k g (n - m)) + (by simpa only [norm_mul] using hp)) + _ = ∑' m, sobolevProductWeight k n * + (‖sobolevFourierCoefficient k f m‖ * ‖sobolevFourierCoefficient k g (n - m)‖) := + by rw [tsum_mul_left] + _ ≤ ∑' m, 4 ^ (k / 2) * (A m + B m) := + (hp.mul_left _).tsum_le_tsum (fun m => weighted_product_term_bound k (by linarith) f g n m) + ((hA.add hB).mul_left _) + _ = _ := by rw [tsum_mul_left, hA.tsum_add hB, hswap]; ring + +/-- Multiplication closes in the original Sobolev Fourier space. -/ +noncomputable def sobolevProduct (k : ℝ) (hk : 6 < k) (f g : FourierL2) : FourierL2 := + ⟨fun n => (sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k f g n, + (lp.memℓp (sobolevProductMajorant k f g)).mono' + (weighted_sobolevProduct_le_majorant k hk f g)⟩ + +theorem sobolevProduct_coefficient (k : ℝ) (hk : 6 < k) (f g : FourierL2) + (n : frequencyLattice) : + sobolevFourierCoefficient k (sobolevProduct k hk f g) n = + sobolevProductCoefficient k f g n := by + apply mul_left_cancel₀ (show (sobolevProductWeight k n : ℂ) ≠ 0 from + Complex.ofReal_ne_zero.mpr (sobolevProductWeight_pos k n).ne') + exact weight_mul_sobolevFourierCoefficient k (sobolevProduct k hk f g) n + +/-- A quantitative norm bound for the two-Young-convolution majorant. -/ +theorem sobolevProductMajorant_norm_le (k : ℝ) (hk : 6 < k) (f g : FourierL2) : + ‖sobolevProductMajorant k f g‖ ≤ + 2 * 4 ^ (k / 2) * ‖sobolevObservationVector k hk‖ * ‖f‖ * ‖g‖ := by + have hf := summable_norm_sobolevFourierCoefficient k hk f + have hg := summable_norm_sobolevFourierCoefficient k hk g + have hcf := fourierConvolution_norm_le (fun m => (‖sobolevFourierCoefficient k f m‖ : ℂ)) + (by simpa using hf) (fourierAbsolute g) + have hcg := fourierConvolution_norm_le (fun m => (‖sobolevFourierCoefficient k g m‖ : ℂ)) + (by simpa using hg) (fourierAbsolute f) + simp only [Complex.norm_real, Real.norm_eq_abs, abs_norm, fourierAbsolute_norm] at hcf hcg + have hC : 0 ≤ (4 : ℝ) ^ (k / 2) := Real.rpow_nonneg (by norm_num) _ + calc + _ = 4 ^ (k / 2) * ‖fourierConvolution + (fun m => (‖sobolevFourierCoefficient k f m‖ : ℂ)) (fourierAbsolute g) + + fourierConvolution (fun m => (‖sobolevFourierCoefficient k g m‖ : ℂ)) + (fourierAbsolute f)‖ := by + rw [sobolevProductMajorant, norm_smul, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg hC] + _ ≤ 4 ^ (k / 2) * + (‖fourierConvolution (fun m => (‖sobolevFourierCoefficient k f m‖ : ℂ)) + (fourierAbsolute g)‖ + + ‖fourierConvolution (fun m => (‖sobolevFourierCoefficient k g m‖ : ℂ)) + (fourierAbsolute f)‖) := mul_le_mul_of_nonneg_left (norm_add_le _ _) hC + _ ≤ 4 ^ (k / 2) * ((∑' m, ‖sobolevFourierCoefficient k f m‖) * ‖g‖ + + (∑' m, ‖sobolevFourierCoefficient k g m‖) * ‖f‖) := + mul_le_mul_of_nonneg_left (add_le_add hcf hcg) hC + _ ≤ 4 ^ (k / 2) * ((‖sobolevObservationVector k hk‖ * ‖f‖) * ‖g‖ + + (‖sobolevObservationVector k hk‖ * ‖g‖) * ‖f‖) := by + gcongr + · exact tsum_norm_sobolevFourierCoefficient_le k hk f + · exact tsum_norm_sobolevFourierCoefficient_le k hk g + _ = _ := by ring + +/-- Multiplication is bounded bilinearly in the twelve-dimensional Sobolev norm. -/ +theorem sobolevProduct_norm_le (k : ℝ) (hk : 6 < k) (f g : FourierL2) : + ‖sobolevProduct k hk f g‖ ≤ + 2 * 4 ^ (k / 2) * ‖sobolevObservationVector k hk‖ * ‖f‖ * ‖g‖ := by + exact (lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0) + (weighted_sobolevProduct_le_majorant k hk f g)).trans + (sobolevProductMajorant_norm_le k hk f g) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevDuhamel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevDuhamel.lean new file mode 100644 index 0000000000000000000000000000000000000000..ff997ba66963498f21590ccc2e5ff448e3571ef2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevDuhamel.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerNonlinearEquation +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus + +namespace OAI + +/-! # Strong Sobolev solutions and the interaction equation -/ + +open Filter Topology Set MeasureTheory + +namespace DefocusingNLS + +/-- Differentiability in the lower Sobolev space determines each physical Fourier derivative. -/ +theorem hasDerivAt_coordinate_of_lowerSobolev + (u : ℝ → FourierL2) (g : FourierL2) (t : ℝ) (n : frequencyLattice) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) g t) : + HasDerivAt (fun s => u s n) (((1 + ‖n‖ ^ 2 : ℝ) : ℂ) * g n) t := by + let E := (lp.evalCLM ℂ (fun _ : frequencyLattice => ℂ) 2 n).restrictScalars ℝ + have h := (E.hasFDerivAt.comp_hasDerivAt t hu).const_mul (((1 + ‖n‖ ^ 2 : ℝ) : ℂ)) + have hb : (((1 + ‖n‖ ^ 2 : ℝ) : ℂ)) ≠ 0 := by + exact_mod_cast (ne_of_gt (show 0 < 1 + ‖n‖ ^ 2 by positivity)) + convert h using 1 + · funext s + change u s n = (((1 + ‖n‖ ^ 2 : ℝ) : ℂ)) * + ((((1 + ‖n‖ ^ 2)⁻¹ : ℝ) : ℂ) * u s n) + rw [Complex.ofReal_inv, ← mul_assoc, mul_inv_cancel₀ hb, one_mul] + · rfl + +/-- Every strong solution has the expected scalar Fourier differential equations. -/ +theorem hasDerivAt_coordinate_schrodinger + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) + (t : ℝ) (n : frequencyLattice) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) : + HasDerivAt (fun s => u s n) + (-Complex.I * ((‖n‖ ^ 2 : ℝ) : ℂ) * u t n - + Complex.I * sobolevOddPower k hk m (u t) n) t := by + have h := hasDerivAt_coordinate_of_lowerSobolev u _ t n hu + apply h.congr_deriv + simp only [lp.coeFn_sub, Pi.sub_apply, lp.coeFn_smul, Pi.smul_apply, smul_eq_mul, + lowerSobolevGenerator_apply, lowerSobolevInclusion_apply, + Complex.ofReal_div, Complex.ofReal_inv] + have hb : (((1 + ‖n‖ ^ 2 : ℝ) : ℂ)) ≠ 0 := by + exact_mod_cast (ne_of_gt (show 0 < 1 + ‖n‖ ^ 2 by positivity)) + field_simp [hb] + +/-- Multiplying by the inverse free phase cancels the unbounded linear term coordinatewise. -/ +theorem hasDerivAt_interaction_coordinate + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) + (t : ℝ) (n : frequencyLattice) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) : + HasDerivAt (fun s => schrodingerFlow (-s) (u s) n) + (((-Complex.I) • schrodingerFlow (-t) (sobolevOddPower k hk m (u t))) n) t := by + have hp : HasDerivAt (fun s => schrodingerMultiplier (-s) n) + (Complex.I * ((‖n‖ ^ 2 : ℝ) : ℂ) * schrodingerMultiplier (-t) n) t := by + have h := (hasDerivAt_schrodingerMultiplier_mul n 1 (-t)).scomp t (hasDerivAt_neg t) + convert h using 1 + · funext s + simp + · simp only [mul_one, neg_smul, one_smul] + ring + have h := hp.mul (hasDerivAt_coordinate_schrodinger k hk m u t n hu) + apply h.congr_deriv + simp only [lp.coeFn_smul, Pi.smul_apply, smul_eq_mul, schrodingerFlow_apply] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevDuhamelIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevDuhamelIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..d3d7610164484249e4657877b4efc478f044837f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevDuhamelIntegral.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevDuhamel +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevIntervalUniqueness + +namespace OAI + +/-! # The Bochner Duhamel identity and uniqueness of strong Sobolev solutions -/ + +open Filter Topology Set MeasureTheory + +namespace DefocusingNLS + +noncomputable def inverseSchrodingerCurve (u : ℝ → FourierL2) (t : ℝ) : FourierL2 := + schrodingerFlow (-t) (u t) + +noncomputable def physicalSchrodingerForcing (k : ℝ) (hk : 6 < k) (m : ℕ) + (u : ℝ → FourierL2) (t : ℝ) : FourierL2 := + (-Complex.I) • schrodingerFlow (-t) (sobolevOddPower k hk m (u t)) + +theorem continuousOn_physicalSchrodingerForcing (k : ℝ) (hk : 6 < k) (m : ℕ) + (u : ℝ → FourierL2) (J : Set ℝ) (hu : ContinuousOn u J) : + ContinuousOn (physicalSchrodingerForcing k hk m u) J := by + have hN : ContinuousOn (fun t => sobolevOddPower k hk m (u t)) J := + (contDiff_sobolevOddPower k hk m).continuous.comp_continuousOn hu + have hp : ContinuousOn (fun t : ℝ => (-t, sobolevOddPower k hk m (u t))) J := + (continuousOn_id.neg).prodMk hN + exact (continuous_schrodingerFlow_uncurry.comp_continuousOn hp).const_smul (-Complex.I) + +/-- Strong solutions satisfy the `H^k`-valued Duhamel identity, proved by their Fourier coordinates. -/ +theorem sobolevDuhamel_identity + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) (a b t₀ t : ℝ) + (huc : ContinuousOn u (Ioo a b)) + (hu : ∀ s ∈ Ioo a b, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u s) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u s))) s) + (ht₀ : t₀ ∈ Ioo a b) (ht : t ∈ Ioo a b) : + inverseSchrodingerCurve u t = inverseSchrodingerCurve u t₀ + + ∫ s in t₀..t, physicalSchrodingerForcing k hk m u s := by + have hseg : uIcc t₀ t ⊆ Ioo a b := by + intro s hs + exact ⟨(lt_min ht₀.1 ht.1).trans_le hs.1, hs.2.trans_lt (max_lt ht₀.2 ht.2)⟩ + have hF := continuousOn_physicalSchrodingerForcing k hk m u (Ioo a b) huc + have hint : IntervalIntegrable (physicalSchrodingerForcing k hk m u) volume t₀ t := + (hF.mono hseg).intervalIntegrable + ext n + let E := lp.evalCLM ℂ (fun _ : frequencyLattice => ℂ) 2 n + have hintn : IntervalIntegrable (fun s => physicalSchrodingerForcing k hk m u s n) + volume t₀ t := (E.continuous.comp_continuousOn (hF.mono hseg)).intervalIntegrable + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (a := t₀) (b := t) + (f := fun s => inverseSchrodingerCurve u s n) + (f' := fun s => physicalSchrodingerForcing k hk m u s n) + (fun s hs => hasDerivAt_interaction_coordinate k hk m u s n (hu s (hseg hs))) hintn + have hE : (∫ s in t₀..t, physicalSchrodingerForcing k hk m u s) n = + ∫ s in t₀..t, physicalSchrodingerForcing k hk m u s n := + (E.intervalIntegral_comp_comm hint).symm + change inverseSchrodingerCurve u t n = inverseSchrodingerCurve u t₀ n + + (∫ s in t₀..t, physicalSchrodingerForcing k hk m u s) n + rw [hE, he] + abel + +/-- A strong Sobolev solution becomes a classical `H^k` interaction solution. -/ +theorem hasDerivAt_inverseSchrodingerCurve + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) (a b t : ℝ) + (huc : ContinuousOn u (Ioo a b)) + (hu : ∀ s ∈ Ioo a b, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u s) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u s))) s) + (ht : t ∈ Ioo a b) : + HasDerivAt (inverseSchrodingerCurve u) + (schrodingerInteractionField k hk m t (inverseSchrodingerCurve u t)) t := by + have hF := continuousOn_physicalSchrodingerForcing k hk m u (Ioo a b) huc + have hFt : ContinuousAt (physicalSchrodingerForcing k hk m u) t := + (hF t ht).continuousAt (isOpen_Ioo.mem_nhds ht) + have hint : IntervalIntegrable (physicalSchrodingerForcing k hk m u) volume t t := by simp + have hd := (intervalIntegral.integral_hasDerivAt_right hint + (hF.stronglyMeasurableAtFilter isOpen_Ioo t ht) hFt).const_add (inverseSchrodingerCurve u t) + have he : inverseSchrodingerCurve u =ᶠ[𝓝 t] + (fun s => inverseSchrodingerCurve u t + ∫ r in t..s, physicalSchrodingerForcing k hk m u r) := by + filter_upwards [isOpen_Ioo.mem_nhds ht] with s hs + exact sobolevDuhamel_identity k hk m u a b t s huc hu ht hs + have hf : schrodingerInteractionField k hk m t (inverseSchrodingerCurve u t) = + physicalSchrodingerForcing k hk m u t := by + unfold schrodingerInteractionField inverseSchrodingerCurve physicalSchrodingerForcing + rw [← schrodingerFlow_add] + simp + rw [hf] + exact hd.congr_of_eventuallyEq he + +/-- Strong `H^k` solutions of the actual Schrödinger equation are unique on a common interval. -/ +theorem sobolevSchrodingerSolution_unique_on_interval + (k : ℝ) (hk : 6 < k) (m : ℕ) (u v : ℝ → FourierL2) (a b t₀ : ℝ) + (ht₀ : t₀ ∈ Ioo a b) (huc : ContinuousOn u (Ioo a b)) (hvc : ContinuousOn v (Ioo a b)) + (hu : ∀ t ∈ Ioo a b, HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) + (hv : ∀ t ∈ Ioo a b, HasDerivAt (fun s => lowerSobolevInclusion (v s)) + (lowerSobolevGenerator (v t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (v t))) t) + (heq : u t₀ = v t₀) : EqOn u v (Ioo a b) := by + have he := sobolevInteractionSolution_unique_on_interval k hk m + (inverseSchrodingerCurve u) (inverseSchrodingerCurve v) a b t₀ ht₀ + (fun t ht => hasDerivAt_inverseSchrodingerCurve k hk m u a b t huc hu ht) + (fun t ht => hasDerivAt_inverseSchrodingerCurve k hk m v a b t hvc hv ht) + (by simp only [inverseSchrodingerCurve, heq]) + intro t ht + have h := congrArg (schrodingerFlow t) (he ht) + simpa only [inverseSchrodingerCurve, ← schrodingerFlow_add, add_neg_cancel, + schrodingerFlow_zero] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevEmbedding.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevEmbedding.lean new file mode 100644 index 0000000000000000000000000000000000000000..3a6dc32efc733a7c417e1386efd04bae93863b2a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevEmbedding.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianRealization +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.BlowupRate +import Mathlib.Analysis.InnerProductSpace.l2Space + +namespace OAI + +/-! +# Continuous point observation in the Fourier Sobolev model + +For `k > 6`, the Fourier coefficients are absolutely summable in dimension +twelve. Their sum is therefore a bounded linear observation (evaluation at +the center of the torus), suitable for the blowup/nonextension argument. +-/ + +open MeasureTheory +open scoped ENNReal ComplexConjugate + +namespace DefocusingNLS + +lemma sobolev_observation_weight_sq (k : ℝ) (n : frequencyLattice) : + ‖(((1 + ‖n‖ ^ 2) ^ (-k / 2) : ℝ) : ℂ)‖ ^ 2 = (1 + ‖n‖ ^ 2) ^ (-k) := by + rw [Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (Real.rpow_nonneg (by positivity) _), + ← Real.rpow_natCast, ← Real.rpow_mul (by positivity)] + congr 1 + ring + +/-- The inverse Sobolev weights form an `ℓ²` vector exactly above dimension/2. -/ +noncomputable def sobolevObservationVector (k : ℝ) (hk : 6 < k) : FourierL2 := + ⟨fun n => (((1 + ‖n‖ ^ 2) ^ (-k / 2) : ℝ) : ℂ), by + apply memℓp_gen + simpa only [ENNReal.toReal_ofNat, Real.rpow_two, sobolev_observation_weight_sq, + zero_sub] using summable_sobolev_variances 0 k (by linarith)⟩ + +/-- Evaluation at the torus center, in the Fourier model of `H^k`. -/ +noncomputable def sobolevCenterEvaluation (k : ℝ) (hk : 6 < k) : FourierL2 →L[ℂ] ℂ := + innerSL ℂ (sobolevObservationVector k hk) + +/-- The bounded observation is the sum of the actual, unweighted coefficients. -/ +theorem hasSum_sobolevFourierCoefficient (k : ℝ) (hk : 6 < k) (f : FourierL2) : + HasSum (sobolevFourierCoefficient k f) (sobolevCenterEvaluation k hk f) := by + have h := lp.hasSum_inner (𝕜 := ℂ) (sobolevObservationVector k hk) f + change HasSum (fun n => sobolevFourierCoefficient k f n) _ + simpa [sobolevObservationVector, sobolevCenterEvaluation, sobolevFourierCoefficient, + RCLike.inner_apply', Algebra.smul_def, mul_comm] using h + +theorem sobolevCenterEvaluation_eq_tsum (k : ℝ) (hk : 6 < k) (f : FourierL2) : + sobolevCenterEvaluation k hk f = ∑' n, sobolevFourierCoefficient k f n := + (hasSum_sobolevFourierCoefficient k hk f).tsum_eq.symm + +/-- Absolute summability of the unweighted Fourier series. -/ +theorem summable_norm_sobolevFourierCoefficient (k : ℝ) (hk : 6 < k) (f : FourierL2) : + Summable (fun n => ‖sobolevFourierCoefficient k f n‖) := + (hasSum_sobolevFourierCoefficient k hk f).summable.norm + +theorem sobolevCenterEvaluation_bound (k : ℝ) (hk : 6 < k) (f : FourierL2) : + ‖sobolevCenterEvaluation k hk f‖ ≤ ‖sobolevObservationVector k hk‖ * ‖f‖ := by + change ‖inner ℂ (sobolevObservationVector k hk) f‖ ≤ _ + exact norm_inner_le_norm _ _ + +/-- A positive self-similar center amplitude obstructs continuous continuation +in the concrete Fourier Sobolev space. -/ +theorem no_sobolev_extension_of_positive_center_rate + (k : ℝ) (hk : 6 < k) (u : ℝ → FourierL2) (T a c : ℝ) + (ha : 0 < a) (hc : 0 < c) + (hblowup : Filter.Tendsto + (fun t => (T - t) ^ a * ‖sobolevCenterEvaluation k hk (u t)‖) + (nhdsWithin T (Set.Iio T)) (nhds c)) : + ¬ ContinuousWithinAt u (Set.Iio T) T := + no_continuous_extension_of_positive_rescaled_norm u (sobolevCenterEvaluation k hk) + T a c ha hc (sobolevCenterEvaluation k hk).continuous hblowup + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevEvaluationContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevEvaluationContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..d8dafa29bbe807e64cdde272a166c1f186bebef8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevEvaluationContinuity.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTorus +import Mathlib.Analysis.InnerProductSpace.Dual + +namespace OAI + +/-! # Norm continuity of Sobolev point evaluation -/ + +open Filter Topology + +namespace DefocusingNLS + +theorem continuous_sobolevPointEvaluation (k : ℝ) (hk : 6 < k) : + Continuous (sobolevPointEvaluation k hk) := by + let K := sobolevPointObservationVector k hk + have hKn (x : SchrodingerTorus) : ‖K x‖ = ‖sobolevObservationVector k hk‖ := + sobolevPointObservationVector_norm k hk x + have hinner (y x : SchrodingerTorus) : + inner ℂ (K y) (K x) = sobolevTorusFunction k (K x) y := + (sobolevTorusFunction_apply k hk y (K x)).symm + have hK : Continuous K := by + apply continuous_iff_continuousAt.mpr + intro x + have hsq : Continuous (fun y => ‖K y - K x‖ ^ 2) := by + simp_rw [norm_sub_sq (𝕜 := ℂ), hKn, hinner] + exact (continuous_const.sub + ((Complex.continuous_re.comp (sobolevTorusFunction k (K x)).continuous).const_mul 2)).add + continuous_const + have hn : Continuous (fun y => ‖K y - K x‖) := by + convert Real.continuous_sqrt.comp hsq using 1 + funext y + exact (Real.sqrt_sq (norm_nonneg _)).symm + apply tendsto_iff_norm_sub_tendsto_zero.mpr + simpa only [sub_self, norm_zero] using (hn.continuousAt (x := x)).tendsto + exact (innerSL ℂ).continuous.comp hK + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevFlowNeighborhood.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevFlowNeighborhood.lean new file mode 100644 index 0000000000000000000000000000000000000000..ae0dab1970f7e71e8ad263e90cc18750c0cde014 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevFlowNeighborhood.lean @@ -0,0 +1,106 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevRestartExtension + +namespace OAI + +/-! # Neighborhoods of the maximal Sobolev flow -/ + +open Filter Topology Set Metric + +namespace DefocusingNLS + +/-- Existence for nearby data and times, together with joint continuity of the maximal flow. -/ +def HasSobolevFlowNeighborhood (k : ℝ) (hk : 6 < k) (m : ℕ) + (f : FourierL2) (t : ℝ) : Prop := + {p : FourierL2 × ℝ | p.2 ∈ maximalSobolevInteractionDomain k hk m p.1} ∈ 𝓝 (f, t) ∧ + ContinuousAt (fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) (f, t) + +theorem hasSobolevFlowNeighborhood_zero (k : ℝ) (hk : 6 < k) (m : ℕ) (f : FourierL2) : + HasSobolevFlowNeighborhood k hk m f 0 := by + obtain ⟨δ, hδ, hdom, hcont⟩ := + exists_continuous_maximalSobolevSchrodingerFlow_on_ball k hk m (‖f‖ + 1) (by positivity) + have hb : closedBall (0 : FourierL2) (‖f‖ + 1) ∈ 𝓝 f := + mem_of_superset (isOpen_ball.mem_nhds (by simp : f ∈ ball (0 : FourierL2) (‖f‖ + 1))) + ball_subset_closedBall + have hi : Ioo (-δ) δ ∈ 𝓝 (0 : ℝ) := Ioo_mem_nhds (by linarith) hδ + have hrect := prod_mem_nhds hb hi + refine ⟨mem_of_superset hrect ?_, hcont.continuousAt hrect⟩ + intro p hp + exact hdom p.1 (by simpa using hp.1) hp.2 + +/-- A common local flow on a ball propagates an existence/continuity neighborhood forward. -/ +theorem HasSobolevFlowNeighborhood.advance + (k : ℝ) (hk : 6 < k) (m : ℕ) (R δ : ℝ) (hδ : 0 < δ) + (hdom : ∀ g : FourierL2, ‖g‖ ≤ R → + Ioo (-δ) δ ⊆ maximalSobolevInteractionDomain k hk m g) + (hcont : ContinuousOn + (fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) + (closedBall 0 R ×ˢ Ioo (-δ) δ)) + (f : FourierL2) (s τ : ℝ) (hs : 0 ≤ s) + (hf : HasSobolevFlowNeighborhood k hk m f s) + (hR : ‖maximalSobolevSchrodingerFlow k hk m f s‖ < R) + (hτ : τ ∈ Ioo 0 δ) : HasSobolevFlowNeighborhood k hk m f (s + τ) := by + let v : FourierL2 → FourierL2 := fun g => maximalSobolevSchrodingerFlow k hk m g s + have hstate : ContinuousAt v f := by + have hp : ContinuousAt (fun g : FourierL2 => (g, s)) f := + (continuous_id.prodMk continuous_const).continuousAt + exact ContinuousAt.comp + (f := fun g : FourierL2 => (g, s)) + (g := fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) + hf.2 hp + have hgdom : ∀ᶠ g : FourierL2 in 𝓝 f, + s ∈ maximalSobolevInteractionDomain k hk m g := + (continuous_id.prodMk continuous_const).continuousAt.tendsto.eventually hf.1 + have hgnorm : ∀ᶠ g : FourierL2 in 𝓝 f, ‖v g‖ ≤ R := by + have h := hstate.norm.tendsto.eventually (isOpen_Iio.mem_nhds hR) + exact h.mono (fun g hg => le_of_lt hg) + have hb : closedBall (0 : FourierL2) R ∈ 𝓝 (v f) := + mem_of_superset (isOpen_ball.mem_nhds (by simpa [v] using hR)) ball_subset_closedBall + have hi : Ioo (-δ) δ ∈ 𝓝 τ := Ioo_mem_nhds (by linarith [hτ.1]) hτ.2 + have hlocal := hcont.continuousAt (prod_mem_nhds hb hi) + have hparam : ContinuousAt (fun p : FourierL2 × ℝ => (v p.1, p.2 - s)) (f, s + τ) := by + have hfirst : ContinuousAt (fun p : FourierL2 × ℝ => v p.1) (f, s + τ) := + ContinuousAt.comp (f := fun p : FourierL2 × ℝ => p.1) (g := v) + hstate continuous_fst.continuousAt + exact hfirst.prodMk (continuous_snd.sub continuous_const).continuousAt + have hresult : ContinuousAt + (fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m (v p.1) (p.2 - s)) + (f, s + τ) := by + have hlocal' : ContinuousAt + (fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) + (v f, (s + τ) - s) := by simpa using hlocal + exact ContinuousAt.comp + (f := fun p : FourierL2 × ℝ => (v p.1, p.2 - s)) + (g := fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) + hlocal' hparam + have hfst : Tendsto (fun p : FourierL2 × ℝ => p.1) (𝓝 (f, s + τ)) (𝓝 f) := + continuous_fst.tendsto (f, s + τ) + have hgdom' : ∀ᶠ p : FourierL2 × ℝ in 𝓝 (f, s + τ), + s ∈ maximalSobolevInteractionDomain k hk m p.1 := + hfst.eventually hgdom + have hgnorm' : ∀ᶠ p : FourierL2 × ℝ in 𝓝 (f, s + τ), ‖v p.1‖ ≤ R := + hfst.eventually hgnorm + have htime : ∀ᶠ p : FourierL2 × ℝ in 𝓝 (f, s + τ), p.2 - s ∈ Ico 0 δ := by + have hmem : (s + τ) - s ∈ Ioo 0 δ := by simpa using hτ + have hc : Continuous (fun p : FourierL2 × ℝ => p.2 - s) := + continuous_snd.sub continuous_const + have h := (hc.tendsto (f, s + τ)).eventually (isOpen_Ioo.mem_nhds hmem) + exact h.mono (fun p hp => ⟨hp.1.le, hp.2⟩) + have hext : ∀ᶠ p : FourierL2 × ℝ in 𝓝 (f, s + τ), + p.2 ∈ maximalSobolevInteractionDomain k hk m p.1 ∧ + maximalSobolevSchrodingerFlow k hk m p.1 p.2 = + maximalSobolevSchrodingerFlow k hk m (v p.1) (p.2 - s) := by + filter_upwards [hgdom', hgnorm', htime] with p hpd hpn hpt + have hsub := hdom (v p.1) hpn + have h := maximalSobolevSchrodingerFlow_restart_extension k hk m p.1 s δ hpd hs hδ + (maximalSobolevSchrodingerFlow k hk m (v p.1)) + (maximalSobolevSchrodingerFlow_initial k hk m (v p.1)) + ((continuousOn_maximalSobolevSchrodingerFlow k hk m (v p.1)).mono hsub) + (fun t ht => hasDerivAt_maximalSobolevSchrodingerFlow k hk m (v p.1) (hsub ht)) + (p.2 - s) hpt + have hshift : s + (p.2 - s) = p.2 := by ring + simpa only [hshift] using h + exact ⟨hext.mono (fun p hp => hp.1), hresult.congr_of_eventuallyEq (hext.mono (fun p hp => hp.2))⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForcedEvaluation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForcedEvaluation.lean new file mode 100644 index 0000000000000000000000000000000000000000..1f6c4b38e50c21398f129ca6df857e5cb8729cde --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForcedEvaluation.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerTorus +import Mathlib.Analysis.Calculus.FDeriv.Linear + +namespace OAI + +/-! # Pointwise evaluation of the forced strong Sobolev equation -/ + +namespace DefocusingNLS + +theorem sobolevPointEvaluation_lowerInclusion (k : ℝ) (hk : 8 < k) + (x : SchrodingerTorus) (f : FourierL2) : + sobolevPointEvaluation (k - 2) (by linarith) x (lowerSobolevInclusion f) = + sobolevTorusFunction k f x := by + rw [← sobolevTorusFunction_apply, sobolevTorusFunction_lower_inclusion] + +theorem sobolevPointEvaluation_lowerGenerator (k : ℝ) (hk : 8 < k) + (x : SchrodingerTorus) (f : FourierL2) : + sobolevPointEvaluation (k - 2) (by linarith) x (lowerSobolevGenerator f) = + Complex.I * torusFourierLaplacian k f x := by + simp only [torusFourierLaplacian, sobolevTorusFunction_apply (k - 2) (by linarith), map_smul, + smul_eq_mul] + simp [← mul_assoc] + +theorem hasDerivAt_forcedTorusFunction (k : ℝ) (hk : 8 < k) + (u : ℝ → FourierL2) (t : ℝ) (x : SchrodingerTorus) + (α β : ℂ) (g : FourierL2) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (α • lowerSobolevInclusion (u t) + β • lowerSobolevGenerator (u t) + + lowerSobolevInclusion g) t) : + HasDerivAt (fun s => sobolevTorusFunction k (u s) x) + (α * sobolevTorusFunction k (u t) x + + β * (Complex.I * torusFourierLaplacian k (u t) x) + sobolevTorusFunction k g x) t := by + let E := sobolevPointEvaluation (k - 2) (by linarith) x + have h := (E.restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt t hu + have he : E (α • lowerSobolevInclusion (u t) + β • lowerSobolevGenerator (u t) + + lowerSobolevInclusion g) = + α * sobolevTorusFunction k (u t) x + + β * (Complex.I * torusFourierLaplacian k (u t) x) + sobolevTorusFunction k g x := by + simp only [map_add, map_smul, smul_eq_mul, E, + sobolevPointEvaluation_lowerInclusion k hk, sobolevPointEvaluation_lowerGenerator k hk] + simpa only [Function.comp_def, ContinuousLinearMap.coe_restrictScalars', E, + sobolevPointEvaluation_lowerInclusion k hk] using h.congr_deriv he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardDomain.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardDomain.lean new file mode 100644 index 0000000000000000000000000000000000000000..fe85c2ee06e6fec970e234c0ebd5c5aab9202c09 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardDomain.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevFlowNeighborhood + +namespace OAI + +/-! # Openness and continuous dependence throughout the forward lifespan -/ + +open Filter Topology Set + +namespace DefocusingNLS + +/-- Finitely many uniform local restarts propagate continuous dependence to every +nonnegative time in a maximal solution's lifespan. -/ +theorem hasSobolevFlowNeighborhood_of_nonneg + (k : ℝ) (hk : 6 < k) (m : ℕ) (f : FourierL2) (T : ℝ) (hT : 0 ≤ T) + (hdom : T ∈ maximalSobolevInteractionDomain k hk m f) : + HasSobolevFlowNeighborhood k hk m f T := by + rcases hT.eq_or_lt with hT | hT + · subst T + exact hasSobolevFlowNeighborhood_zero k hk m f + have hseg : Icc 0 T ⊆ maximalSobolevInteractionDomain k hk m f := + (isPreconnected_maximalSobolevInteractionDomain k hk m f).Icc_subset + (zero_mem_maximalSobolevInteractionDomain k hk m f) hdom + have hc : ContinuousOn (maximalSobolevSchrodingerFlow k hk m f) (Icc 0 T) := + (continuousOn_maximalSobolevSchrodingerFlow k hk m f).mono hseg + obtain ⟨C, hC⟩ := isCompact_Icc.exists_bound_of_continuousOn hc + let R := max C 0 + 1 + have hR : 0 ≤ R := by dsimp [R]; positivity + obtain ⟨δ, hδ, hlocalDom, hlocalCont⟩ := + exists_continuous_maximalSobolevSchrodingerFlow_on_ball k hk m R hR + obtain ⟨N, hN⟩ := exists_nat_gt (T / δ) + have hNpos : (0 : ℝ) < N := (div_pos hT hδ).trans hN + have hNne : (N : ℝ) ≠ 0 := ne_of_gt hNpos + let h := T / N + have hh : 0 < h := div_pos hT hNpos + have hhδ : h < δ := by + apply (div_lt_iff₀ hNpos).2 + have hmul := (div_lt_iff₀ hδ).1 hN + simpa only [mul_comm] using hmul + have hNh : (N : ℝ) * h = T := mul_div_cancel₀ T hNne + have hstep : ∀ n : ℕ, n ≤ N → (n : ℝ) * h ∈ Icc 0 T := by + intro n hn + refine ⟨mul_nonneg (Nat.cast_nonneg n) hh.le, ?_⟩ + calc + (n : ℝ) * h ≤ (N : ℝ) * h := + mul_le_mul_of_nonneg_right (by exact_mod_cast hn) hh.le + _ = T := hNh + have hsteps : ∀ n : ℕ, n ≤ N → HasSobolevFlowNeighborhood k hk m f ((n : ℝ) * h) := by + intro n + induction n with + | zero => + intro hn + simpa only [Nat.cast_zero, zero_mul] using hasSobolevFlowNeighborhood_zero k hk m f + | succ n ih => + intro hn + have hn' : n ≤ N := (Nat.le_succ n).trans hn + have hbound : ‖maximalSobolevSchrodingerFlow k hk m f ((n : ℝ) * h)‖ < R := by + have hb := hC ((n : ℝ) * h) (hstep n hn') + have hCm : C ≤ max C 0 := le_max_left C 0 + dsimp [R] + linarith + have hnext := HasSobolevFlowNeighborhood.advance k hk m R δ hδ hlocalDom hlocalCont + f ((n : ℝ) * h) h (hstep n hn').1 (ih hn') hbound ⟨hh, hhδ⟩ + simpa only [Nat.cast_succ, add_mul, one_mul] using hnext + simpa only [hNh] using hsteps N le_rfl + +/-- Existence up to any prescribed forward time is an open condition on the initial datum. -/ +theorem isOpen_sobolevForwardExistenceSet + (k : ℝ) (hk : 6 < k) (m : ℕ) (T : ℝ) (hT : 0 ≤ T) : + IsOpen {f : FourierL2 | T ∈ maximalSobolevInteractionDomain k hk m f} := by + apply isOpen_iff_mem_nhds.mpr + intro f hf + have h := hasSobolevFlowNeighborhood_of_nonneg k hk m f T hT hf + exact (continuous_id.prodMk continuous_const).continuousAt.tendsto.eventually h.1 + +/-- The maximal physical flow is jointly continuous throughout its forward existence domain. -/ +theorem continuousOn_maximalSobolevForwardFlow + (k : ℝ) (hk : 6 < k) (m : ℕ) : + ContinuousOn (fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) + {p | 0 ≤ p.2 ∧ p.2 ∈ maximalSobolevInteractionDomain k hk m p.1} := by + intro p hp + exact (hasSobolevFlowNeighborhood_of_nonneg k hk m p.1 p.2 hp.1 hp.2).2.continuousWithinAt + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardDuhamel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardDuhamel.lean new file mode 100644 index 0000000000000000000000000000000000000000..78c388f96c4642faccde4ecc4b024ff6108623d9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardDuhamel.lean @@ -0,0 +1,92 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevDuhamelIntegral + +namespace OAI + +/-! # Duhamel at the initial endpoint of a forward strong solution + +Continuity at time zero and the strong equation on positive times suffice; +no two-sided derivative at the initial endpoint is assumed. +-/ + +open Filter Topology Set MeasureTheory + +namespace DefocusingNLS + +theorem continuousOn_inverseSchrodingerCurve (u : ℝ → FourierL2) (J : Set ℝ) + (hu : ContinuousOn u J) : ContinuousOn (inverseSchrodingerCurve u) J := by + intro t ht + have hp : ContinuousWithinAt (fun s : ℝ => (-s, u s)) J t := + (continuousWithinAt_id : ContinuousWithinAt (id : ℝ → ℝ) J t).neg.prodMk (hu t ht) + exact ContinuousAt.comp_continuousWithinAt + (f := fun s : ℝ => (-s, u s)) + (g := fun p : ℝ × FourierL2 => schrodingerFlow p.1 p.2) + (continuous_schrodingerFlow_uncurry.continuousAt (x := (-t, u t))) hp + +theorem sobolevForwardDuhamel_identity + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) (T t : ℝ) + (huc : ContinuousOn u (Icc 0 T)) + (hu : ∀ s ∈ Ioo 0 T, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u s) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u s))) s) + (ht : t ∈ Icc 0 T) : + inverseSchrodingerCurve u t = inverseSchrodingerCurve u 0 + + ∫ s in (0 : ℝ)..t, physicalSchrodingerForcing k hk m u s := by + have hsub : Icc (0 : ℝ) t ⊆ Icc 0 T := Icc_subset_Icc le_rfl ht.2 + have hF := continuousOn_physicalSchrodingerForcing k hk m u (Icc 0 T) huc + have hint : IntervalIntegrable (physicalSchrodingerForcing k hk m u) volume 0 t := + (hF.mono hsub).intervalIntegrable_of_Icc ht.1 + ext n + let E := lp.evalCLM ℂ (fun _ : frequencyLattice => ℂ) 2 n + have hintn : IntervalIntegrable (fun s => physicalSchrodingerForcing k hk m u s n) + volume 0 t := (E.continuous.comp_continuousOn (hF.mono hsub)).intervalIntegrable_of_Icc ht.1 + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le + (f := fun s => inverseSchrodingerCurve u s n) + (f' := fun s => physicalSchrodingerForcing k hk m u s n) ht.1 + (E.continuous.comp_continuousOn ((continuousOn_inverseSchrodingerCurve u _ huc).mono hsub)) + (fun s hs => hasDerivAt_interaction_coordinate k hk m u s n + (hu s ⟨hs.1, hs.2.trans_le ht.2⟩)) hintn + have hE : (∫ s in (0 : ℝ)..t, physicalSchrodingerForcing k hk m u s) n = + ∫ s in (0 : ℝ)..t, physicalSchrodingerForcing k hk m u s n := + (E.intervalIntegral_comp_comm hint).symm + change inverseSchrodingerCurve u t n = inverseSchrodingerCurve u 0 n + + (∫ s in (0 : ℝ)..t, physicalSchrodingerForcing k hk m u s) n + rw [hE, he] + abel + +theorem hasDerivWithinAt_inverseSchrodingerCurve_zero + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) (T : ℝ) (hT : 0 < T) + (huc : ContinuousOn u (Icc 0 T)) + (hu : ∀ s ∈ Ioo 0 T, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u s) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u s))) s) : + HasDerivWithinAt (inverseSchrodingerCurve u) + (schrodingerInteractionField k hk m 0 (inverseSchrodingerCurve u 0)) (Ici 0) 0 := by + let F := physicalSchrodingerForcing k hk m u + have hF : ContinuousOn F (Icc 0 T) := + continuousOn_physicalSchrodingerForcing k hk m u (Icc 0 T) huc + let G := fun s : ℝ => F (projIcc 0 T hT.le s) + have hG : Continuous G := hF.domRestrict.comp continuous_projIcc + let V := fun s => inverseSchrodingerCurve u 0 + ∫ r in (0 : ℝ)..s, G r + have hV : HasDerivAt V (G 0) 0 := + (intervalIntegral.integral_hasDerivAt_right (hG.intervalIntegrable 0 0) + hG.stronglyMeasurable.stronglyMeasurableAtFilter hG.continuousAt).const_add _ + have hEq (s : ℝ) (hs : s ∈ Icc 0 T) : inverseSchrodingerCurve u s = V s := by + rw [sobolevForwardDuhamel_identity k hk m u T s huc hu hs] + congr 1 + apply intervalIntegral.integral_congr + intro r hr + have hr' : r ∈ Icc 0 T := by + have hr0 : r ∈ Icc 0 s := by simpa only [uIcc_of_le hs.1] using hr + exact ⟨hr0.1, hr0.2.trans hs.2⟩ + simp only [G, F, projIcc_of_mem _ hr'] + have he : inverseSchrodingerCurve u =ᶠ[𝓝[Ici 0] 0] V := by + filter_upwards [self_mem_nhdsWithin, + (nhdsWithin_le_nhds (Iio_mem_nhds hT) : Iio T ∈ 𝓝[Ici 0] (0 : ℝ))] with s hs hst + exact hEq s ⟨hs, hst.le⟩ + have hd := hV.hasDerivWithinAt.congr_of_eventuallyEq_of_mem he (show (0 : ℝ) ∈ Ici 0 by simp) + convert hd using 1 + simp [G, F, inverseSchrodingerCurve, physicalSchrodingerForcing, schrodingerInteractionField] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardMaximal.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardMaximal.lean new file mode 100644 index 0000000000000000000000000000000000000000..8cdcc050def01578f547b137bbc05a181157b8a6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevForwardMaximal.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevForwardDuhamel +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.MaximalStrongSolution + +namespace OAI + +/-! # Forward strong solutions are restrictions of the maximal flow + +The local backward branch is glued using the right derivative provided by +the endpoint Duhamel identity. The forward input needs no derivative at zero. +-/ + +open Filter Topology Set + +namespace DefocusingNLS + +theorem forwardStrongSobolevSolution_restricts_maximal + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) (T : ℝ) (hT : 0 < T) + (huc : ContinuousOn u (Icc 0 T)) + (hu : ∀ t ∈ Ioo 0 T, HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) : + Ico 0 T ⊆ maximalSobolevInteractionDomain k hk m (u 0) ∧ + EqOn u (maximalSobolevSchrodingerFlow k hk m (u 0)) (Ico 0 T) := by + obtain ⟨P⟩ := sobolevInteractionPatch_nonempty k hk m (u 0) + let v := inverseSchrodingerCurve u + let w := fun t => if t ≤ 0 then P.curve t else v t + have hv0 : v 0 = u 0 := by simp [v, inverseSchrodingerCurve] + have hw0 : w 0 = u 0 := by simp [w, P.initial] + have hright := hasDerivWithinAt_inverseSchrodingerCurve_zero k hk m u T hT huc hu + change HasDerivWithinAt v (schrodingerInteractionField k hk m 0 (v 0)) (Ici 0) 0 at hright + have hwleft : HasDerivWithinAt w + (schrodingerInteractionField k hk m 0 (u 0)) (Iic 0) 0 := by + have h := (P.solves 0 ⟨P.left_neg, P.right_pos⟩).hasDerivWithinAt (s := Iic 0) + rw [P.initial] at h + apply h.congr_of_mem + · intro t ht + change t ≤ 0 at ht + simp only [w, ite_eq_left ht] + · simp + have hwright : HasDerivWithinAt w + (schrodingerInteractionField k hk m 0 (u 0)) (Ici 0) 0 := by + rw [hv0] at hright + apply hright.congr_of_mem + · intro t ht + by_cases ht0 : t ≤ 0 + · have he : t = 0 := le_antisymm ht0 ht + subst t + simp [w, P.initial, hv0] + · simp only [w, ite_eq_right ht0] + · simp + have hwd0 : HasDerivAt w (schrodingerInteractionField k hk m 0 (u 0)) 0 := by + simpa only [Iic_union_Ici, hasDerivWithinAt_univ] using hwleft.union hwright + have hwd : ∀ t ∈ Ioo P.left T, HasDerivAt w + (schrodingerInteractionField k hk m t (w t)) t := by + intro t ht + rcases lt_trichotomy t 0 with hneg | heq | hpos + · have he : w =ᶠ[𝓝 t] P.curve := by + filter_upwards [isOpen_Iio.mem_nhds hneg] with s hs + change s < 0 at hs + simp only [w, ite_eq_left hs.le] + rw [show w t = P.curve t by simp only [w, ite_eq_left hneg.le]] + exact (P.solves t ⟨ht.1, hneg.trans P.right_pos⟩).congr_of_eventuallyEq he + · subst t + simpa only [hw0] using hwd0 + · have he : w =ᶠ[𝓝 t] v := by + filter_upwards [isOpen_Ioi.mem_nhds hpos] with s hs + change 0 < s at hs + simp only [w, ite_eq_right (not_le_of_gt hs)] + rw [show w t = v t by simp only [w, ite_eq_right (not_le_of_gt hpos)]] + exact (hasDerivAt_inverseSchrodingerCurve k hk m u 0 T t + (huc.mono Ioo_subset_Icc_self) hu ⟨hpos, ht.2⟩).congr_of_eventuallyEq he + let Q : SobolevInteractionPatch k hk m (u 0) := + { left := P.left + right := T + left_neg := P.left_neg + right_pos := hT + curve := w + initial := hw0 + solves := hwd } + refine ⟨fun t ht => Q.subset_maximalDomain ⟨P.left_neg.trans_le ht.1, ht.2⟩, ?_⟩ + intro t ht + change u t = schrodingerFlow t (maximalSobolevInteractionFlow k hk m (u 0) t) + rw [maximalSobolevInteractionFlow_eq_patch Q ⟨P.left_neg.trans_le ht.1, ht.2⟩] + have hwv : w t = v t := by + by_cases ht0 : t ≤ 0 + · have he : t = 0 := le_antisymm ht0 ht.1 + subst t + simp [w, P.initial, hv0] + · simp only [w, ite_eq_right ht0] + change u t = schrodingerFlow t (w t) + rw [hwv] + simp [v, inverseSchrodingerCurve, ← schrodingerFlow_add] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevIntervalUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevIntervalUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..30159b908641eef8966c35a404b58d45cb057374 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevIntervalUniqueness.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevUniqueness +import Mathlib.Analysis.Normed.Group.Bounded + +namespace OAI + +/-! # Uniqueness throughout a common open time interval -/ + +open Filter Topology Set Metric + +namespace DefocusingNLS + +/-- On an interval where both curves are bounded, one initial value determines the solution. -/ +theorem sobolevInteractionSolution_unique_of_bounded + (k : ℝ) (hk : 6 < k) (m : ℕ) (v w : ℝ → FourierL2) + (a b t₀ R : ℝ) (hR : 0 ≤ R) (ht₀ : t₀ ∈ Ioo a b) + (hv : ∀ t ∈ Ioo a b, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) + (hw : ∀ t ∈ Ioo a b, HasDerivAt w (schrodingerInteractionField k hk m t (w t)) t) + (hvb : ∀ t ∈ Ioo a b, ‖v t‖ ≤ R) (hwb : ∀ t ∈ Ioo a b, ‖w t‖ ≤ R) + (heq : v t₀ = w t₀) : EqOn v w (Ioo a b) := by + obtain ⟨A, K, hA, hK, hbound, hlip⟩ := + exists_schrodingerInteractionField_ball_bounds k hk m R hR + apply ODE_solution_unique_of_mem_Ioo + (v := schrodingerInteractionField k hk m) (s := fun _ => closedBall 0 R) + (K := ⟨K, hK⟩) ?_ ht₀ ?_ ?_ heq + · intro t ht + apply LipschitzOnWith.of_dist_le_mul + intro f hf g hg + rw [dist_eq_norm, dist_eq_norm] + change ‖schrodingerInteractionField k hk m t f - schrodingerInteractionField k hk m t g‖ ≤ + K * ‖f - g‖ + exact hlip t f g (by simpa using hf) (by simpa using hg) + · intro t ht + exact ⟨hv t ht, by simpa using hvb t ht⟩ + · intro t ht + exact ⟨hw t ht, by simpa using hwb t ht⟩ + +/-- Two classical Sobolev interaction solutions agree on their entire common interval. -/ +theorem sobolevInteractionSolution_unique_on_interval + (k : ℝ) (hk : 6 < k) (m : ℕ) (v w : ℝ → FourierL2) + (a b t₀ : ℝ) (ht₀ : t₀ ∈ Ioo a b) + (hv : ∀ t ∈ Ioo a b, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) + (hw : ∀ t ∈ Ioo a b, HasDerivAt w (schrodingerInteractionField k hk m t (w t)) t) + (heq : v t₀ = w t₀) : EqOn v w (Ioo a b) := by + intro t ht + let a' := (a + min t₀ t) / 2 + let b' := (b + max t₀ t) / 2 + have hamin : a < min t₀ t := lt_min ht₀.1 ht.1 + have hmaxb : max t₀ t < b := max_lt ht₀.2 ht.2 + have ha' : a < a' := by dsimp [a']; linarith + have hb' : b' < b := by dsimp [b']; linarith + have h₀ : t₀ ∈ Ioo a' b' := by + have hm := min_le_left t₀ t + have hM := le_max_left t₀ t + dsimp [a', b'] + constructor <;> linarith + have ht' : t ∈ Ioo a' b' := by + have hm := min_le_right t₀ t + have hM := le_max_right t₀ t + dsimp [a', b'] + constructor <;> linarith + have hsub : Icc a' b' ⊆ Ioo a b := by + intro s hs + exact ⟨lt_of_lt_of_le ha' hs.1, lt_of_le_of_lt hs.2 hb'⟩ + have hvc : ContinuousOn v (Icc a' b') := fun s hs => + (hv s (hsub hs)).continuousAt.continuousWithinAt + have hwc : ContinuousOn w (Icc a' b') := fun s hs => + (hw s (hsub hs)).continuousAt.continuousWithinAt + obtain ⟨C, hC⟩ := isCompact_Icc.exists_bound_of_continuousOn hvc + obtain ⟨D, hD⟩ := isCompact_Icc.exists_bound_of_continuousOn hwc + let R := max (max C D) 0 + have hR : 0 ≤ R := le_max_right _ _ + have hsmall : Ioo a' b' ⊆ Ioo a b := Ioo_subset_Icc_self.trans hsub + have he := sobolevInteractionSolution_unique_of_bounded k hk m v w a' b' t₀ R hR h₀ + (fun s hs => hv s (hsmall hs)) (fun s hs => hw s (hsmall hs)) + (fun s hs => (hC s (Ioo_subset_Icc_self hs)).trans + ((le_max_left C D).trans (le_max_left _ _))) + (fun s hs => (hD s (Ioo_subset_Icc_self hs)).trans + ((le_max_right C D).trans (le_max_left _ _))) heq + exact he ht' + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLinearization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLinearization.lean new file mode 100644 index 0000000000000000000000000000000000000000..6a34afb59beb705366f7892d12c4319f3447369f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLinearization.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTaylorRemainder + +namespace OAI + +/-! # Pointwise meaning of the Sobolev linearization + +Bounded torus observation commutes with the real Fréchet derivative. Thus +the operator used in the perturbation equation is exactly the scalar +linearization, including its conjugate component. +-/ + +namespace DefocusingNLS + +/-- At each torus point, the Sobolev derivative is the scalar real derivative. -/ +theorem sobolevOddPower_fderiv_pointwise (k : ℝ) (hk : 6 < k) (m : ℕ) + (q v : FourierL2) (x : SchrodingerTorus) : + sobolevTorusFunction k (fderiv ℝ (sobolevOddPower k hk m) q v) x = + oddPowerDerivative m (sobolevTorusFunction k q x) (sobolevTorusFunction k v x) := by + let E := (sobolevPointEvaluation k hk x).restrictScalars ℝ + have hE (f : FourierL2) : E f = sobolevTorusFunction k f x := + (sobolevTorusFunction_apply k hk x f).symm + have hN := ((contDiff_sobolevOddPower k hk m).differentiable (by simp) q).hasFDerivAt + have hleft := E.hasFDerivAt.comp q hN + have hright := (hasFDerivAt_oddPowerNonlinearity m (E q)).comp q E.hasFDerivAt + have heq : (fun f : FourierL2 => E (sobolevOddPower k hk m f)) = + (fun f : FourierL2 => oddPowerNonlinearity m (E f)) := by + funext f + simpa only [hE] using sobolevOddPower_apply k hk m f x + have hderiv : E.comp (fderiv ℝ (sobolevOddPower k hk m) q) = + (oddPowerDerivative m (E q)).comp E := by + apply hleft.unique + simpa only [Function.comp_def, ← heq] using hright + have h := congrArg (fun L : FourierL2 →L[ℝ] ℂ => L v) hderiv + simpa only [ContinuousLinearMap.comp_apply, hE] using h + +/-- The two circular components of the exact linearized odd-power operator. -/ +theorem sobolevOddPower_fderiv_pointwise_explicit (k : ℝ) (hk : 6 < k) (m : ℕ) + (q v : FourierL2) (x : SchrodingerTorus) : + sobolevTorusFunction k (fderiv ℝ (sobolevOddPower k hk m) q v) x = + ((m + 1 : ℕ) : ℂ) * (sobolevTorusFunction k q x) ^ m * + star (sobolevTorusFunction k q x) ^ m * sobolevTorusFunction k v x + + (m : ℂ) * (sobolevTorusFunction k q x) ^ (m + 1) * + star (sobolevTorusFunction k q x) ^ (m - 1) * star (sobolevTorusFunction k v x) := by + rw [sobolevOddPower_fderiv_pointwise] + simp [oddPowerDerivative, smul_eq_mul] + +/-- The abstract remainder evaluates to the actual scalar nonlinear Taylor remainder. -/ +theorem sobolevNonlinearRemainder_pointwise (k : ℝ) (hk : 6 < k) (m : ℕ) + (q v : FourierL2) (x : SchrodingerTorus) : + sobolevTorusFunction k (sobolevNonlinearRemainder k hk m q v) x = + oddPowerNonlinearity m (sobolevTorusFunction k q x + sobolevTorusFunction k v x) - + oddPowerNonlinearity m (sobolevTorusFunction k q x) - + oddPowerDerivative m (sobolevTorusFunction k q x) (sobolevTorusFunction k v x) := by + rw [sobolevTorusFunction_apply k hk] + unfold sobolevNonlinearRemainder + rw [map_sub, map_sub] + simp only [← sobolevTorusFunction_apply k hk, sobolevOddPower_apply, + sobolevOddPower_fderiv_pointwise] + have hadd : sobolevTorusFunction k (q + v) x = + sobolevTorusFunction k q x + sobolevTorusFunction k v x := by + simp only [sobolevTorusFunction_apply k hk, map_add] + rw [hadd] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLocalContinuousFlow.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLocalContinuousFlow.lean new file mode 100644 index 0000000000000000000000000000000000000000..5bc09d4b36e309cfdb0761add1aa26520d21697c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLocalContinuousFlow.lean @@ -0,0 +1,121 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.MaximalStrongSolution + +namespace OAI + +/-! # A jointly continuous local Sobolev solution map -/ + +open Filter Topology Set Metric +open scoped NNReal + +namespace DefocusingNLS + +/-- Every bounded ball of initial data has a jointly continuous interaction flow on a common +positive time interval. The flow solves the actual polynomial interaction equation. -/ +theorem exists_continuous_sobolevInteractionFlow_on_ball + (k : ℝ) (hk : 6 < k) (m : ℕ) (R : ℝ) (hR : 0 ≤ R) : + ∃ δ : ℝ, 0 < δ ∧ ∃ α : FourierL2 × ℝ → FourierL2, + ContinuousOn α (closedBall 0 R ×ˢ Icc (-δ) δ) ∧ + ∀ f : FourierL2, ‖f‖ ≤ R → α (f, 0) = f ∧ + ∀ t ∈ Ioo (-δ) δ, HasDerivAt (fun s => α (f, s)) + (schrodingerInteractionField k hk m t (α (f, t))) t := by + obtain ⟨A, K, hA, hK, hbound, hlip⟩ := + exists_schrodingerInteractionField_ball_bounds k hk m (R + 1) (by linarith) + let δ : ℝ := 1 / (A + 1) + have hδ : 0 < δ := by dsimp [δ]; positivity + let τ₀ : Icc (-δ) δ := ⟨0, by constructor <;> linarith⟩ + have hpl : IsPicardLindelof (schrodingerInteractionField k hk m) + τ₀ 0 ⟨R + 1, by linarith⟩ ⟨R, hR⟩ ⟨A, hA⟩ ⟨K, hK⟩ := by + constructor + · intro t ht + apply LipschitzOnWith.of_dist_le_mul + intro f hf g hg + rw [dist_eq_norm, dist_eq_norm] + change ‖schrodingerInteractionField k hk m t f - + schrodingerInteractionField k hk m t g‖ ≤ K * ‖f - g‖ + have hfn : ‖f‖ ≤ R + 1 := by + rw [mem_closedBall, dist_zero_right] at hf + change ‖f‖ ≤ R + 1 at hf + exact hf + have hgn : ‖g‖ ≤ R + 1 := by + rw [mem_closedBall, dist_zero_right] at hg + change ‖g‖ ≤ R + 1 at hg + exact hg + exact hlip t f g hfn hgn + · intro f hf + exact ((continuous_schrodingerInteractionField k hk m).comp + (continuous_id.prodMk continuous_const)).continuousOn + · intro t ht f hf + apply hbound t f + rw [mem_closedBall, dist_zero_right] at hf + change ‖f‖ ≤ R + 1 at hf + exact hf + · change A * max (δ - 0) (0 - (-δ)) ≤ (R + 1) - R + simp only [sub_zero, sub_neg_eq_add, zero_add, max_self] + have hr : (R + 1) - R = 1 := by ring + rw [hr] + dsimp [δ] + rw [mul_one_div] + apply (div_le_iff₀ (by positivity : 0 < A + 1)).2 + linarith + obtain ⟨α, hsol, hcont⟩ := hpl.exists_forall_mem_closedBall_eq_hasDerivWithinAt_continuousOn + refine ⟨δ, hδ, α, hcont, ?_⟩ + intro f hf + have hfball : f ∈ closedBall (0 : FourierL2) (⟨R, hR⟩ : ℝ≥0) := by simpa using hf + refine ⟨(hsol f hfball).1, ?_⟩ + intro t ht + exact ((hsol f hfball).2 t (Ioo_subset_Icc_self ht)).hasDerivAt (Icc_mem_nhds ht.1 ht.2) + +/-- The local interaction map agrees with the maximal interaction flow on the common interval. -/ +theorem exists_continuous_maximalSobolevInteractionFlow_on_ball + (k : ℝ) (hk : 6 < k) (m : ℕ) (R : ℝ) (hR : 0 ≤ R) : + ∃ δ : ℝ, 0 < δ ∧ + (∀ f : FourierL2, ‖f‖ ≤ R → + Ioo (-δ) δ ⊆ maximalSobolevInteractionDomain k hk m f) ∧ + ContinuousOn (fun p : FourierL2 × ℝ => maximalSobolevInteractionFlow k hk m p.1 p.2) + (closedBall 0 R ×ˢ Ioo (-δ) δ) := by + obtain ⟨δ, hδ, α, hcont, hsol⟩ := + exists_continuous_sobolevInteractionFlow_on_ball k hk m R hR + let P (f : FourierL2) (hf : ‖f‖ ≤ R) : SobolevInteractionPatch k hk m f := + { left := -δ + right := δ + left_neg := by linarith + right_pos := hδ + curve := fun t => α (f, t) + initial := (hsol f hf).1 + solves := (hsol f hf).2 } + have heq : EqOn (fun p : FourierL2 × ℝ => maximalSobolevInteractionFlow k hk m p.1 p.2) + α (closedBall 0 R ×ˢ Ioo (-δ) δ) := by + intro p hp + exact maximalSobolevInteractionFlow_eq_patch (P p.1 (by simpa using hp.1)) hp.2 + have hV : ContinuousOn + (fun p : FourierL2 × ℝ => maximalSobolevInteractionFlow k hk m p.1 p.2) + (closedBall 0 R ×ˢ Ioo (-δ) δ) := + hcont.congr_mono heq (fun p hp => ⟨hp.1, Ioo_subset_Icc_self hp.2⟩) + exact ⟨δ, hδ, fun f hf => (P f hf).subset_maximalDomain, hV⟩ + +/-- The actual maximal physical flow is jointly continuous in the datum and time on one +common interval for every bounded ball of initial data. -/ +theorem exists_continuous_maximalSobolevSchrodingerFlow_on_ball + (k : ℝ) (hk : 6 < k) (m : ℕ) (R : ℝ) (hR : 0 ≤ R) : + ∃ δ : ℝ, 0 < δ ∧ + (∀ f : FourierL2, ‖f‖ ≤ R → + Ioo (-δ) δ ⊆ maximalSobolevInteractionDomain k hk m f) ∧ + ContinuousOn (fun p : FourierL2 × ℝ => maximalSobolevSchrodingerFlow k hk m p.1 p.2) + (closedBall 0 R ×ˢ Ioo (-δ) δ) := by + obtain ⟨δ, hδ, hdom, hV⟩ := + exists_continuous_maximalSobolevInteractionFlow_on_ball k hk m R hR + refine ⟨δ, hδ, hdom, ?_⟩ + intro p hp + have hpair : ContinuousWithinAt + (fun q : FourierL2 × ℝ => (q.2, maximalSobolevInteractionFlow k hk m q.1 q.2)) + (closedBall 0 R ×ˢ Ioo (-δ) δ) p := + continuous_snd.continuousWithinAt.prodMk (hV p hp) + exact ContinuousAt.comp_continuousWithinAt + (f := fun q : FourierL2 × ℝ => (q.2, maximalSobolevInteractionFlow k hk m q.1 q.2)) + (g := fun q : ℝ × FourierL2 => schrodingerFlow q.1 q.2) + (continuous_schrodingerFlow_uncurry.continuousAt + (x := (p.2, maximalSobolevInteractionFlow k hk m p.1 p.2))) hpair + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLocalFlow.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLocalFlow.lean new file mode 100644 index 0000000000000000000000000000000000000000..05c57084a8fb6403db476d4eab3a63fa1ed461c2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevLocalFlow.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerInteraction +import Mathlib.Analysis.ODE.ExistUnique + +namespace OAI + +/-! +# Local Sobolev solutions in the Schrödinger interaction representation + +The actual polynomial field satisfies the Banach-space Picard–Lindelöf +hypotheses. This establishes local existence without treating the nonlinear +Cauchy theory as an external assumption. +-/ + +open Filter Topology Set Metric + +namespace DefocusingNLS + +/-- Local existence for the actual interaction equation in `H^k`. -/ +theorem exists_sobolevInteractionSolution (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) : + ∃ T : ℝ, 0 < T ∧ ∃ v : ℝ → FourierL2, v 0 = f₀ ∧ + ∀ t ∈ Ioo (-T) T, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t := by + obtain ⟨A, K, hA, hK, hbound, hlip⟩ := + exists_schrodingerInteractionField_ball_bounds k hk m (‖f₀‖ + 1) (by positivity) + let T : ℝ := 1 / (A + 1) + have hT : 0 < T := by dsimp [T]; positivity + have hnorm (f : FourierL2) (hf : f ∈ closedBall f₀ 1) : ‖f‖ ≤ ‖f₀‖ + 1 := by + have hd : ‖f - f₀‖ ≤ 1 := by simpa only [mem_closedBall, dist_eq_norm] using hf + calc + ‖f‖ = ‖(f - f₀) + f₀‖ := by congr 1; abel + _ ≤ ‖f - f₀‖ + ‖f₀‖ := norm_add_le _ _ + _ ≤ ‖f₀‖ + 1 := by linarith + let t₀ : Icc (-T) T := ⟨0, by constructor <;> linarith⟩ + have hpl : IsPicardLindelof (schrodingerInteractionField k hk m) + t₀ f₀ 1 0 ⟨A, hA⟩ ⟨K, hK⟩ := by + constructor + · intro t ht + apply LipschitzOnWith.of_dist_le_mul + intro f hf g hg + rw [dist_eq_norm, dist_eq_norm] + change ‖schrodingerInteractionField k hk m t f - schrodingerInteractionField k hk m t g‖ ≤ + K * ‖f - g‖ + exact hlip t f g (hnorm f hf) (hnorm g hg) + · intro f hf + exact ((continuous_schrodingerInteractionField k hk m).comp + (continuous_id.prodMk continuous_const)).continuousOn + · intro t ht f hf + exact hbound t f (hnorm f hf) + · change A * max (T - 0) (0 - -T) ≤ (1 : ℝ) - 0 + simp only [sub_zero, sub_neg_eq_add, zero_add, max_self] + dsimp [T] + rw [mul_one_div] + apply (div_le_iff₀ (by positivity : 0 < A + 1)).2 + linarith + obtain ⟨v, hv₀, hv⟩ := hpl.exists_eq_forall_mem_Icc_hasDerivWithinAt₀ + refine ⟨T, hT, v, hv₀, ?_⟩ + intro t ht + exact (hv t (Ioo_subset_Icc_self ht)).hasDerivAt (Icc_mem_nhds ht.1 ht.2) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevMultiplication.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevMultiplication.lean new file mode 100644 index 0000000000000000000000000000000000000000..5d2823adb75917e4fefe1138db507ac7f7a605c5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevMultiplication.lean @@ -0,0 +1,157 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevConvolution +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusDerivatives +import Mathlib.Analysis.Normed.Operator.Bilinear + +namespace OAI + +/-! # Sobolev multiplication agrees with pointwise multiplication on the torus -/ + +namespace DefocusingNLS + +theorem frequencyCoordinates_add (m n : frequencyLattice) (j : Fin 12) : + frequencyCoordinates (m + n) j = frequencyCoordinates m j + frequencyCoordinates n j := by + apply Int.cast_injective (α := ℝ) + simp only [Int.cast_add, frequencyCoordinates_coe] + rfl + +theorem torusCharacter_frequency_add (m n : frequencyLattice) (x : SchrodingerTorus) : + torusCharacter (m + n) x = torusCharacter m x * torusCharacter n x := by + change (∏ j, fourier (frequencyCoordinates (m + n) j) (x j)) = _ + simp only [frequencyCoordinates_add, fourier_add] + exact Finset.prod_mul_distrib + +/-- The additive shear used to collect terms of a double Fourier series. -/ +noncomputable def frequencySumEquiv : frequencyLattice × frequencyLattice ≃ + frequencyLattice × frequencyLattice where + toFun p := (p.1 + p.2, p.1) + invFun p := (p.2, p.1 - p.2) + left_inv p := by rcases p with ⟨a,b⟩; ext <;> simp + right_inv p := by rcases p with ⟨a,b⟩; ext <;> simp + +/-- Collect an absolutely convergent double series by the sum of its frequencies. -/ +theorem tsum_frequency_convolution (a b : frequencyLattice → ℂ) + (ha : Summable (fun n => ‖a n‖)) (hb : Summable (fun n => ‖b n‖)) : + (∑' n, a n) * (∑' n, b n) = ∑' n, ∑' m, a m * b (n - m) := by + let D : frequencyLattice × frequencyLattice → ℂ := fun p => a p.1 * b p.2 + let C : frequencyLattice × frequencyLattice → ℂ := fun p => a p.2 * b (p.1 - p.2) + have heq : D = C ∘ frequencySumEquiv := by + funext p + change a p.1 * b p.2 = a p.1 * b (p.1 + p.2 - p.1) + rw [add_sub_cancel_left] + have hD : Summable D := summable_mul_of_summable_norm ha hb + have hC : Summable C := frequencySumEquiv.summable_iff.mp (heq ▸ hD) + calc + _ = ∑' p, D p := tsum_mul_tsum_of_summable_norm ha hb + _ = ∑' p, C p := by rw [heq]; exact frequencySumEquiv.tsum_eq C + _ = ∑' n, ∑' m, C (n,m) := hC.tsum_prod + +/-- The absolutely convergent Fourier Cauchy product on the actual torus. -/ +theorem tsum_fourier_product (a b : frequencyLattice → ℂ) + (ha : Summable (fun n => ‖a n‖)) (hb : Summable (fun n => ‖b n‖)) + (x : SchrodingerTorus) : + (∑' n, a n * torusCharacter n x) * (∑' n, b n * torusCharacter n x) = + ∑' n, (∑' m, a m * b (n - m)) * torusCharacter n x := by + have ha' : Summable (fun n => ‖a n * torusCharacter n x‖) := by simpa using ha + have hb' : Summable (fun n => ‖b n * torusCharacter n x‖) := by simpa using hb + rw [tsum_frequency_convolution _ _ ha' hb'] + apply tsum_congr + intro n + rw [← tsum_mul_right] + apply tsum_congr + intro m + have hchar : torusCharacter m x * torusCharacter (n - m) x = torusCharacter n x := by + rw [← torusCharacter_frequency_add, add_sub_cancel] + calc + _ = (a m * b (n - m)) * (torusCharacter m x * torusCharacter (n - m) x) := by ring + _ = _ := by rw [hchar] + +lemma sobolevTorusFunction_eq_tsum (k : ℝ) (hk : 6 < k) (f : FourierL2) + (x : SchrodingerTorus) : + sobolevTorusFunction k f x = + ∑' n, sobolevFourierCoefficient k f n * torusCharacter n x := by + rw [sobolevTorusFunction_apply k hk] + exact (hasSum_sobolevPointEvaluation k hk x f).tsum_eq.symm + +/-- The bounded Sobolev product is exactly the usual product of torus functions. -/ +theorem sobolevTorusFunction_product (k : ℝ) (hk : 6 < k) (f g : FourierL2) : + sobolevTorusFunction k (sobolevProduct k hk f g) = + sobolevTorusFunction k f * sobolevTorusFunction k g := by + ext x + simp only [ContinuousMap.mul_apply, sobolevTorusFunction_eq_tsum k hk, + sobolevProduct_coefficient] + exact (tsum_fourier_product (sobolevFourierCoefficient k f) (sobolevFourierCoefficient k g) + (summable_norm_sobolevFourierCoefficient k hk f) + (summable_norm_sobolevFourierCoefficient k hk g) x).symm + +lemma sobolevFourierCoefficient_add (k : ℝ) (f g : FourierL2) (n : frequencyLattice) : + sobolevFourierCoefficient k (f + g) n = + sobolevFourierCoefficient k f n + sobolevFourierCoefficient k g n := by + simp only [sobolevFourierCoefficient, lp.coeFn_add, Pi.add_apply, smul_add] + +lemma sobolevFourierCoefficient_smul (k : ℝ) (c : ℂ) (f : FourierL2) (n : frequencyLattice) : + sobolevFourierCoefficient k (c • f) n = c * sobolevFourierCoefficient k f n := by + simp only [sobolevFourierCoefficient, lp.coeFn_smul, Pi.smul_apply, Algebra.smul_def] + simp only [Algebra.algebraMap_self, RingHom.id_apply] + ring + +lemma summable_sobolevProductTerms (k : ℝ) (hk : 6 < k) (f g : FourierL2) + (n : frequencyLattice) : Summable (fun m => + sobolevFourierCoefficient k f m * sobolevFourierCoefficient k g (n - m)) := by + apply Summable.of_norm + simpa only [norm_mul] using summable_norm_sobolevProductTerms k hk f g n + +theorem sobolevProduct_comm (k : ℝ) (hk : 6 < k) (f g : FourierL2) : + sobolevProduct k hk f g = sobolevProduct k hk g f := by + ext n + change (sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k f g n = + (sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k g f n + congr 1 + unfold sobolevProductCoefficient + rw [← (Equiv.subLeft n).tsum_eq (fun m => + sobolevFourierCoefficient k f m * sobolevFourierCoefficient k g (n - m))] + simp only [Equiv.subLeft_apply, sub_sub_cancel, mul_comm] + +theorem sobolevProduct_add_left (k : ℝ) (hk : 6 < k) (f g h : FourierL2) : + sobolevProduct k hk (f + g) h = sobolevProduct k hk f h + sobolevProduct k hk g h := by + ext n + change (sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k (f + g) h n = + (sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k f h n + + (sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k g h n + unfold sobolevProductCoefficient + simp only [sobolevFourierCoefficient_add, add_mul] + rw [(summable_sobolevProductTerms k hk f h n).tsum_add + (summable_sobolevProductTerms k hk g h n)] + ring + +theorem sobolevProduct_smul_left (k : ℝ) (hk : 6 < k) (c : ℂ) (f g : FourierL2) : + sobolevProduct k hk (c • f) g = c • sobolevProduct k hk f g := by + ext n + change (sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k (c • f) g n = + c * ((sobolevProductWeight k n : ℂ) * sobolevProductCoefficient k f g n) + unfold sobolevProductCoefficient + simp only [sobolevFourierCoefficient_smul, mul_assoc, tsum_mul_left] + ring + +theorem sobolevProduct_add_right (k : ℝ) (hk : 6 < k) (f g h : FourierL2) : + sobolevProduct k hk f (g + h) = sobolevProduct k hk f g + sobolevProduct k hk f h := by + rw [sobolevProduct_comm k hk f (g + h), sobolevProduct_add_left, + sobolevProduct_comm k hk g f, sobolevProduct_comm k hk h f] + +theorem sobolevProduct_smul_right (k : ℝ) (hk : 6 < k) (c : ℂ) (f g : FourierL2) : + sobolevProduct k hk f (c • g) = c • sobolevProduct k hk f g := by + rw [sobolevProduct_comm k hk f (c • g), sobolevProduct_smul_left, sobolevProduct_comm k hk g f] + +/-- The usual torus product is a continuous complex-bilinear operation in `H^k`. -/ +noncomputable def sobolevBilinearProduct (k : ℝ) (hk : 6 < k) : + FourierL2 →L[ℂ] FourierL2 →L[ℂ] FourierL2 := + (LinearMap.mk₂ ℂ (sobolevProduct k hk) + (sobolevProduct_add_left k hk) (sobolevProduct_smul_left k hk) + (sobolevProduct_add_right k hk) (sobolevProduct_smul_right k hk)).mkContinuous₂ + (2 * 4 ^ (k / 2) * ‖sobolevObservationVector k hk‖) (sobolevProduct_norm_le k hk) + +@[simp] theorem sobolevBilinearProduct_apply (k : ℝ) (hk : 6 < k) (f g : FourierL2) : + sobolevBilinearProduct k hk f g = sobolevProduct k hk f g := rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevNonlinearity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevNonlinearity.lean new file mode 100644 index 0000000000000000000000000000000000000000..a4155c21fe3a639eca2c8cfbdc027157735a3579 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevNonlinearity.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevConjugation +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerNonlinearity +import Mathlib.Analysis.Calculus.ContDiff.Comp + +namespace OAI + +/-! +# The odd-power nonlinearity on the Fourier Sobolev space + +The convolution product and frequency-reversing conjugation realize the actual +pointwise polynomial `|u|^(2m) u`. The induced map is smooth and locally Lipschitz +on `H^k` whenever `k > 6`. +-/ + +open scoped ComplexConjugate + +namespace DefocusingNLS + +/-- Pointwise multiplication viewed as a continuous real-bilinear operation. -/ +noncomputable def sobolevRealBilinearProduct (k : ℝ) (hk : 6 < k) : + FourierL2 →L[ℝ] FourierL2 →L[ℝ] FourierL2 := + (sobolevBilinearProduct k hk).bilinearRestrictScalars ℝ + +@[simp] theorem sobolevRealBilinearProduct_apply (k : ℝ) (hk : 6 < k) + (f g : FourierL2) : + sobolevRealBilinearProduct k hk f g = sobolevProduct k hk f g := rfl + +/-- The actual odd-power map on `H^k`, built from its bounded algebra operations. -/ +noncomputable def sobolevOddPower (k : ℝ) (hk : 6 < k) : ℕ → FourierL2 → FourierL2 + | 0, f => f + | m + 1, f => sobolevProduct k hk + (sobolevProduct k hk (sobolevOddPower k hk m f) (fourierConjugate f)) f + +/-- Sobolev odd powers have exactly the claimed pointwise values on the torus. -/ +theorem sobolevOddPower_apply (k : ℝ) (hk : 6 < k) (m : ℕ) + (f : FourierL2) (x : SchrodingerTorus) : + sobolevTorusFunction k (sobolevOddPower k hk m f) x = + oddPowerNonlinearity m (sobolevTorusFunction k f x) := by + induction m with + | zero => simp [sobolevOddPower, oddPowerNonlinearity] + | succ m ih => + simp only [sobolevOddPower, sobolevTorusFunction_product k hk, + ContinuousMap.mul_apply, sobolevTorusFunction_conjugate k hk, ih] + simp only [oddPowerNonlinearity, pow_succ, starRingEnd_apply] + ring + +/-- The Banach-space nonlinearity is smooth as a real map. -/ +theorem contDiff_sobolevOddPower (k : ℝ) (hk : 6 < k) (m : ℕ) : + ContDiff ℝ ⊤ (sobolevOddPower k hk m) := by + induction m with + | zero => exact contDiff_id + | succ m ih => + have hconj : ContDiff ℝ ⊤ (fourierConjugate : FourierL2 → FourierL2) := + sobolevConjugation.contDiff + exact ((sobolevRealBilinearProduct k hk).contDiff.comp + (((sobolevRealBilinearProduct k hk).contDiff.comp ih).clm_apply hconj)).clm_apply + contDiff_id + +/-- Local Lipschitz continuity needed for the semilinear Cauchy problem. -/ +theorem locallyLipschitz_sobolevOddPower (k : ℝ) (hk : 6 < k) (m : ℕ) : + LocallyLipschitz (sobolevOddPower k hk m) := + ((contDiff_sobolevOddPower k hk m).of_le (by simp)).locallyLipschitz + +/-- The algebra norm controls the polynomial growth of the nonlinearity. -/ +theorem norm_sobolevOddPower_le (k : ℝ) (hk : 6 < k) (m : ℕ) (f : FourierL2) : + ‖sobolevOddPower k hk m f‖ ≤ + ‖sobolevBilinearProduct k hk‖ ^ (2 * m) * ‖f‖ ^ (2 * m + 1) := by + let C := ‖sobolevBilinearProduct k hk‖ + have hC : 0 ≤ C := norm_nonneg (sobolevBilinearProduct k hk) + have hprod (u v : FourierL2) : ‖sobolevProduct k hk u v‖ ≤ C * ‖u‖ * ‖v‖ := + (sobolevBilinearProduct k hk).le_opNorm₂ u v + induction m with + | zero => simp [sobolevOddPower] + | succ m ih => + change ‖sobolevProduct k hk + (sobolevProduct k hk (sobolevOddPower k hk m f) (fourierConjugate f)) f‖ ≤ _ + calc + _ ≤ C * ‖sobolevProduct k hk (sobolevOddPower k hk m f) (fourierConjugate f)‖ * + ‖f‖ := hprod _ _ + _ ≤ C * (C * ‖sobolevOddPower k hk m f‖ * ‖f‖) * ‖f‖ := by + gcongr + simpa only [fourierConjugate_norm] using hprod (sobolevOddPower k hk m f) + (fourierConjugate f) + _ ≤ C * (C * (C ^ (2 * m) * ‖f‖ ^ (2 * m + 1)) * ‖f‖) * ‖f‖ := by + gcongr + _ = _ := by + change C * (C * (C ^ (2 * m) * ‖f‖ ^ (2 * m + 1)) * ‖f‖) * ‖f‖ = + C ^ (2 * (m + 1)) * ‖f‖ ^ (2 * (m + 1) + 1) + simp only [Nat.mul_add, Nat.mul_one, pow_succ] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevPhase.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevPhase.lean new file mode 100644 index 0000000000000000000000000000000000000000..a2f356f311e4efc8a8470b3d6c511ad5f6b6b035 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevPhase.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTranslationEquation + +namespace OAI + +/-! # Unit-phase covariance of the Sobolev Schrödinger equation -/ + +open scoped ComplexConjugate + +namespace DefocusingNLS + +/-- Multiplication by a constant unit complex phase is an isometry. -/ +noncomputable def sobolevPhase (c : Circle) : FourierL2 →ₗᵢ[ℂ] FourierL2 where + toFun f := (c : ℂ) • f + map_add' f g := smul_add _ _ _ + map_smul' d f := by + change (c : ℂ) • (d • f) = d • ((c : ℂ) • f) + exact smul_comm _ _ _ + norm_map' f := by simp [norm_smul] + +@[simp] theorem sobolevPhase_apply (c : Circle) (f : FourierL2) : + sobolevPhase c f = (c : ℂ) • f := rfl + +theorem continuous_sobolevPhase_uncurry : + Continuous (fun p : Circle × FourierL2 => sobolevPhase p.1 p.2) := + (continuous_subtype_val.comp continuous_fst).smul continuous_snd + +theorem fourierConjugate_smul (c : ℂ) (f : FourierL2) : + fourierConjugate (c • f) = conj c • fourierConjugate f := by + ext n + simp + +/-- Odd powers commute with every constant phase of modulus one. -/ +theorem sobolevOddPower_phase (k : ℝ) (hk : 6 < k) (m : ℕ) (c : Circle) (f : FourierL2) : + sobolevOddPower k hk m (sobolevPhase c f) = + sobolevPhase c (sobolevOddPower k hk m f) := by + have hc : (c : ℂ) * conj (c : ℂ) = 1 := by + rw [Complex.mul_conj, ← Complex.sq_norm] + simp + induction m with + | zero => rfl + | succ m ih => + simp only [sobolevOddPower, sobolevPhase_apply] at ih ⊢ + rw [ih, fourierConjugate_smul] + simp only [sobolevProduct_smul_left, sobolevProduct_smul_right, smul_smul] + congr 1 + calc + _ = ((c : ℂ) * conj (c : ℂ)) * (c : ℂ) := by ring + _ = (c : ℂ) := by rw [hc, one_mul] + +theorem sobolevTorusFunction_phase (k : ℝ) (hk : 6 < k) (c : Circle) + (f : FourierL2) (x : SchrodingerTorus) : + sobolevTorusFunction k (sobolevPhase c f) x = (c : ℂ) * sobolevTorusFunction k f x := by + simp only [sobolevTorusFunction_apply k hk, sobolevPhase_apply, map_smul, smul_eq_mul] + +/-- The actual strong equation is invariant under unit phase. -/ +theorem hasDerivAt_sobolevSchrodinger_phase + (k : ℝ) (hk : 6 < k) (m : ℕ) (c : Circle) (u : ℝ → FourierL2) (t : ℝ) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) : + HasDerivAt (fun s => lowerSobolevInclusion (sobolevPhase c (u s))) + (lowerSobolevGenerator (sobolevPhase c (u t)) - + Complex.I • lowerSobolevInclusion + (sobolevOddPower k hk m (sobolevPhase c (u t)))) t := by + have h := hu.const_smul (c : ℂ) + rw [sobolevOddPower_phase] + simp only [sobolevPhase_apply, map_smul] + convert h using 1 + simp only [smul_sub, smul_smul] + congr 1 + ring_nf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevPolynomialBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevPolynomialBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..3a77bf05aed2ea7be812000303ac74bc7830c34f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevPolynomialBounds.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevNonlinearity + +namespace OAI + +/-! # Uniform polynomial bounds on Sobolev balls -/ + +namespace DefocusingNLS + +/-- The bilinear difference estimate in the Sobolev algebra. -/ +theorem norm_sobolevProduct_sub_le (k : ℝ) (hk : 6 < k) + (u v u' v' : FourierL2) : + ‖sobolevProduct k hk u v - sobolevProduct k hk u' v'‖ ≤ + ‖sobolevBilinearProduct k hk‖ * + (‖u - u'‖ * ‖v‖ + ‖u'‖ * ‖v - v'‖) := by + let B := sobolevBilinearProduct k hk + have heq : B u v - B u' v' = B (u - u') v + B u' (v - v') := by + simp only [map_sub, sub_apply] + abel + change ‖B u v - B u' v'‖ ≤ _ + rw [heq] + calc + _ ≤ ‖B (u - u') v‖ + ‖B u' (v - v')‖ := norm_add_le _ _ + _ ≤ ‖B‖ * ‖u - u'‖ * ‖v‖ + ‖B‖ * ‖u'‖ * ‖v - v'‖ := + add_le_add (B.le_opNorm₂ _ _) (B.le_opNorm₂ _ _) + _ = _ := by ring + +/-- Polynomial bounds are uniform on every norm ball, including in infinite dimension. -/ +theorem exists_sobolevOddPower_ball_bounds (k : ℝ) (hk : 6 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ A K : ℝ, 0 ≤ A ∧ 0 ≤ K ∧ + (∀ f : FourierL2, ‖f‖ ≤ R → ‖sobolevOddPower k hk m f‖ ≤ A) ∧ + (∀ f g : FourierL2, ‖f‖ ≤ R → ‖g‖ ≤ R → + ‖sobolevOddPower k hk m f - sobolevOddPower k hk m g‖ ≤ K * ‖f - g‖) := by + let C := ‖sobolevBilinearProduct k hk‖ + have hC : 0 ≤ C := norm_nonneg (sobolevBilinearProduct k hk) + have hprod (u v : FourierL2) : ‖sobolevProduct k hk u v‖ ≤ C * ‖u‖ * ‖v‖ := + (sobolevBilinearProduct k hk).le_opNorm₂ u v + have hconj (f g : FourierL2) : + ‖fourierConjugate f - fourierConjugate g‖ = ‖f - g‖ := by + change ‖sobolevConjugation f - sobolevConjugation g‖ = _ + rw [← map_sub, sobolevConjugation_apply, fourierConjugate_norm] + induction m with + | zero => + exact ⟨R, 1, hR, by positivity, (by simp [sobolevOddPower]), + (by intros; simp [sobolevOddPower])⟩ + | succ m ih => + obtain ⟨A, K, hA, hK, hbound, hlip⟩ := ih + let M : FourierL2 → FourierL2 := fun f => + sobolevProduct k hk (sobolevOddPower k hk m f) (fourierConjugate f) + let B := C * A * R + let L := C * (K * R + A) + have hB : 0 ≤ B := by positivity + have hL : 0 ≤ L := by positivity + have hMbound (f : FourierL2) (hf : ‖f‖ ≤ R) : ‖M f‖ ≤ B := by + calc + _ ≤ C * ‖sobolevOddPower k hk m f‖ * ‖fourierConjugate f‖ := hprod _ _ + _ ≤ B := by + simp only [fourierConjugate_norm] + exact mul_le_mul (mul_le_mul_of_nonneg_left (hbound f hf) hC) hf + (norm_nonneg f) (mul_nonneg hC hA) + have hMlip (f g : FourierL2) (hf : ‖f‖ ≤ R) (hg : ‖g‖ ≤ R) : + ‖M f - M g‖ ≤ L * ‖f - g‖ := by + calc + _ ≤ C * (‖sobolevOddPower k hk m f - sobolevOddPower k hk m g‖ * + ‖fourierConjugate f‖ + ‖sobolevOddPower k hk m g‖ * + ‖fourierConjugate f - fourierConjugate g‖) := + norm_sobolevProduct_sub_le k hk _ _ _ _ + _ ≤ C * ((K * ‖f - g‖) * R + A * ‖f - g‖) := by + rw [fourierConjugate_norm, hconj] + gcongr + · exact hlip f g hf hg + · exact hbound g hg + _ = L * ‖f - g‖ := by dsimp [L]; ring + refine ⟨C * B * R, C * (L * R + B), by positivity, by positivity, ?_, ?_⟩ + · intro f hf + change ‖sobolevProduct k hk (M f) f‖ ≤ _ + exact (hprod _ _).trans (mul_le_mul + (mul_le_mul_of_nonneg_left (hMbound f hf) hC) hf (norm_nonneg f) + (mul_nonneg hC hB)) + · intro f g hf hg + change ‖sobolevProduct k hk (M f) f - sobolevProduct k hk (M g) g‖ ≤ _ + calc + _ ≤ C * (‖M f - M g‖ * ‖f‖ + ‖M g‖ * ‖f - g‖) := + norm_sobolevProduct_sub_le k hk _ _ _ _ + _ ≤ C * ((L * ‖f - g‖) * R + B * ‖f - g‖) := by + gcongr + · exact hMlip f g hf hg + · exact hMbound g hg + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevProductWeights.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevProductWeights.lean new file mode 100644 index 0000000000000000000000000000000000000000..1beb6ad6c7406560aa11965eb32641724c2a3536 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevProductWeights.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevWeights + +namespace OAI + +/-! # The weight inequality needed for multiplication in the Sobolev Fourier model -/ + +namespace DefocusingNLS + +/-- The positive Sobolev weight, inverse to the coefficient normalization. -/ +noncomputable def sobolevProductWeight (k : ℝ) (n : frequencyLattice) : ℝ := + (1 + ‖n‖ ^ 2) ^ (k / 2) + +theorem sobolevProductWeight_pos (k : ℝ) (n : frequencyLattice) : + 0 < sobolevProductWeight k n := Real.rpow_pos_of_pos (by positivity) _ + +/-- A frequency sum costs at most a fixed multiple of either input weight. -/ +theorem sobolevProductWeight_add_le (k : ℝ) (hk : 0 ≤ k) (m n : frequencyLattice) : + sobolevProductWeight k (m + n) ≤ 4 ^ (k / 2) * + (sobolevProductWeight k m + sobolevProductWeight k n) := by + have hsq : ‖m + n‖ ^ 2 ≤ 2 * ‖m‖ ^ 2 + 2 * ‖n‖ ^ 2 := by + have h := norm_add_le m n + have hp := sq_nonneg (‖m‖ - ‖n‖) + nlinarith [norm_nonneg (m + n), norm_nonneg m, norm_nonneg n] + have hm : 1 + ‖m‖ ^ 2 ≤ max (1 + ‖m‖ ^ 2) (1 + ‖n‖ ^ 2) := le_max_left _ _ + have hn : 1 + ‖n‖ ^ 2 ≤ max (1 + ‖m‖ ^ 2) (1 + ‖n‖ ^ 2) := le_max_right _ _ + have hb : 1 + ‖m + n‖ ^ 2 ≤ 4 * max (1 + ‖m‖ ^ 2) (1 + ‖n‖ ^ 2) := by + linarith + have he : 0 ≤ k / 2 := by positivity + unfold sobolevProductWeight + calc + _ ≤ (4 * max (1 + ‖m‖ ^ 2) (1 + ‖n‖ ^ 2)) ^ (k / 2) := + Real.rpow_le_rpow (by positivity) hb he + _ = 4 ^ (k / 2) * max ((1 + ‖m‖ ^ 2) ^ (k / 2)) + ((1 + ‖n‖ ^ 2) ^ (k / 2)) := by + rw [Real.mul_rpow (by norm_num) (by positivity), Real.rpow_max (by positivity) (by positivity) he] + _ ≤ _ := mul_le_mul_of_nonneg_left (max_le + (le_add_of_nonneg_right (Real.rpow_nonneg (by positivity) _)) + (le_add_of_nonneg_left (Real.rpow_nonneg (by positivity) _))) (by positivity) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevResidualStability.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevResidualStability.lean new file mode 100644 index 0000000000000000000000000000000000000000..1c76c4dc94e9de003abc66ceae3e6df4a43f6363 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevResidualStability.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerForcedDuhamel +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTaylorRemainder + +namespace OAI + +/-! # Stability near an approximate physical Schrödinger trajectory + +These estimates retain the actual Fourier generator and pointwise Sobolev +nonlinearity. They apply on a fixed Sobolev ball; no uniform estimate for a +rescaled growing torus is asserted here. +-/ + +open Set Metric +open scoped NNReal + +namespace DefocusingNLS + +/-- A bounded residual gives a quantitative comparison with an exact physical solution. -/ +theorem exists_sobolevSchrodinger_residual_stability_constant + (k : ℝ) (hk : 6 < k) (m : ℕ) (R : ℝ) (hR : 0 ≤ R) : + ∃ K : ℝ≥0, ∀ (u q r : ℝ → FourierL2) (a' b' a b ε : ℝ), + Icc a b ⊆ Ioo a' b' → + ContinuousOn u (Ioo a' b') → ContinuousOn q (Ioo a' b') → + ContinuousOn r (Ioo a' b') → + (∀ t ∈ Ioo a' b', HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) → + (∀ t ∈ Ioo a' b', HasDerivAt (fun s => lowerSobolevInclusion (q s)) + (lowerSobolevGenerator (q t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (q t)) + + lowerSobolevInclusion (r t)) t) → + (∀ t ∈ Icc a b, ‖u t‖ ≤ R) → (∀ t ∈ Icc a b, ‖q t‖ ≤ R) → + (∀ t ∈ Icc a b, ‖r t‖ ≤ ε) → + ∀ t ∈ Icc a b, dist (u t) (q t) ≤ + gronwallBound (dist (u a) (q a)) K ε (t - a) := by + obtain ⟨_, K, _, hK, _, hlip⟩ := exists_schrodingerInteractionField_ball_bounds k hk m R hR + refine ⟨⟨K, hK⟩, ?_⟩ + intro u q r a' b' a b ε hsub huc hqc hrc hu hq hub hqb hrb t ht + let v := inverseSchrodingerCurve u + let w := inverseSchrodingerCurve q + have hv : ∀ s ∈ Icc a b, + HasDerivAt v (schrodingerInteractionField k hk m s (v s)) s := + fun s hs => hasDerivAt_inverseSchrodingerCurve k hk m u a' b' s huc hu (hsub hs) + have hw : ∀ s ∈ Icc a b, + HasDerivAt w (schrodingerInteractionField k hk m s (w s) + + schrodingerFlow (-s) (r s)) s := + fun s hs => hasDerivAt_residual_inverseSchrodingerCurve k hk m q r a' b' s hqc hrc hq + (hsub hs) + have h := dist_le_of_approx_trajectories_ODE_of_mem + (v := schrodingerInteractionField k hk m) (s := fun _ => closedBall 0 R) + (K := (⟨K, hK⟩ : ℝ≥0)) (f := v) (g := w) + (f' := fun s => schrodingerInteractionField k hk m s (v s)) + (g' := fun s => schrodingerInteractionField k hk m s (w s) + + schrodingerFlow (-s) (r s)) (εf := 0) (εg := ε) + (δ := dist (v a) (w a)) + (fun s hs => LipschitzOnWith.of_dist_le_mul (fun f hf g hg => by + rw [dist_eq_norm, dist_eq_norm] + exact hlip s f g (by simpa using hf) (by simpa using hg))) + (fun s hs => (hv s hs).continuousAt.continuousWithinAt) + (fun s hs => (hv s (Ico_subset_Icc_self hs)).hasDerivWithinAt) + (fun s hs => by simp) + (fun s hs => by simpa [v, inverseSchrodingerCurve] using hub s (Ico_subset_Icc_self hs)) + (fun s hs => (hw s hs).continuousAt.continuousWithinAt) + (fun s hs => (hw s (Ico_subset_Icc_self hs)).hasDerivWithinAt) + (fun s hs => by simpa [dist_eq_norm] using hrb s (Ico_subset_Icc_self hs)) + (fun s hs => by simpa [w, inverseSchrodingerCurve] using hqb s (Ico_subset_Icc_self hs)) + le_rfl t ht + simpa only [v, w, inverseSchrodingerCurve, LinearIsometry.dist_map, zero_add] using h + +/-- Subtracting an approximate profile gives the actual linearized equation plus its +quadratic Taylor remainder and the negative profile residual. -/ +theorem hasDerivAt_sobolevProfilePerturbation + (k : ℝ) (hk : 6 < k) (m : ℕ) (u q : ℝ → FourierL2) (r : FourierL2) (t : ℝ) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) + (hq : HasDerivAt (fun s => lowerSobolevInclusion (q s)) + (lowerSobolevGenerator (q t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (q t)) + + lowerSobolevInclusion r) t) : + HasDerivAt (fun s => lowerSobolevInclusion (u s - q s)) + (lowerSobolevGenerator (u t - q t) - + Complex.I • lowerSobolevInclusion + (fderiv ℝ (sobolevOddPower k hk m) (q t) (u t - q t) + + sobolevNonlinearRemainder k hk m (q t) (u t - q t)) - + lowerSobolevInclusion r) t := by + have hnonlin : fderiv ℝ (sobolevOddPower k hk m) (q t) (u t - q t) + + sobolevNonlinearRemainder k hk m (q t) (u t - q t) = + sobolevOddPower k hk m (u t) - sobolevOddPower k hk m (q t) := by + unfold sobolevNonlinearRemainder + have hsum : q t + (u t - q t) = u t := by abel + rw [hsum] + abel + have h := hu.sub hq + rw [hnonlin] + simp only [map_sub, smul_sub] + convert h using 1; abel + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevRestartExtension.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevRestartExtension.lean new file mode 100644 index 0000000000000000000000000000000000000000..c790d1eeaf20db55fbcb05eb7d0273f359a0ad66 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevRestartExtension.lean @@ -0,0 +1,120 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTimeTranslation + +namespace OAI + +/-! # Extending a maximal trajectory through a later local solution -/ + +open Filter Topology Set + +namespace DefocusingNLS + +/-- A classical interaction solution through a later point extends the original maximal +trajectory to the right. This is a gluing theorem, with no assumed continuation principle. -/ +theorem maximalSobolevInteractionFlow_restart_extension + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) (s δ : ℝ) + (hs : s ∈ maximalSobolevInteractionDomain k hk m f₀) (hs₀ : 0 ≤ s) (hδ : 0 < δ) + (w : ℝ → FourierL2) + (hw : ∀ t ∈ Ioo (s - δ) (s + δ), + HasDerivAt w (schrodingerInteractionField k hk m t (w t)) t) + (hw₀ : w s = maximalSobolevInteractionFlow k hk m f₀ s) : + ∀ t ∈ Ico s (s + δ), + t ∈ maximalSobolevInteractionDomain k hk m f₀ ∧ + maximalSobolevInteractionFlow k hk m f₀ t = w t := by + obtain ⟨P, hP⟩ := mem_iUnion.mp hs + have heq₀ : P.curve s = w s := + (maximalSobolevInteractionFlow_eq_patch P hP).symm.trans hw₀.symm + have hscommon : s ∈ Ioo (max P.left (s - δ)) (min P.right (s + δ)) := + ⟨max_lt hP.1 (by linarith), lt_min hP.2 (by linarith)⟩ + have heq := sobolevInteractionSolution_unique_on_interval k hk m P.curve w + (max P.left (s - δ)) (min P.right (s + δ)) s hscommon + (fun t ht => P.solves t ⟨lt_of_le_of_lt (le_max_left _ _) ht.1, + lt_of_lt_of_le ht.2 (min_le_left _ _)⟩) + (fun t ht => hw t ⟨lt_of_le_of_lt (le_max_right _ _) ht.1, + lt_of_lt_of_le ht.2 (min_le_right _ _)⟩) heq₀ + let u : ℝ → FourierL2 := fun t => if t ≤ s then P.curve t else w t + have hunear : u =ᶠ[𝓝 s] w := by + filter_upwards [isOpen_Ioo.mem_nhds hscommon] with t ht + dsimp [u] + split_ifs with hts + · exact heq ht + · rfl + have hu : ∀ t ∈ Ioo P.left (s + δ), + HasDerivAt u (schrodingerInteractionField k hk m t (u t)) t := by + intro t ht + rcases lt_trichotomy t s with hts | hts | hst + · have hnear : u =ᶠ[𝓝 t] P.curve := by + filter_upwards [isOpen_Iio.mem_nhds hts] with r hr + change r < s at hr + simp only [u, ite_eq_left hr.le] + rw [show u t = P.curve t by simp only [u, ite_eq_left hts.le]] + exact (P.solves t ⟨ht.1, hts.trans hP.2⟩).congr_of_eventuallyEq hnear + · subst t + rw [show u s = w s by simpa [u] using heq₀] + exact (hw s ⟨by linarith, by linarith⟩).congr_of_eventuallyEq hunear + · have hnear : u =ᶠ[𝓝 t] w := by + filter_upwards [isOpen_Ioi.mem_nhds hst] with r hr + change s < r at hr + simp only [u, ite_eq_right (not_le_of_gt hr)] + rw [show u t = w t by simp only [u, ite_eq_right (not_le_of_gt hst)]] + exact (hw t ⟨by linarith, ht.2⟩).congr_of_eventuallyEq hnear + let Q : SobolevInteractionPatch k hk m f₀ := + { left := P.left + right := s + δ + left_neg := P.left_neg + right_pos := by linarith + curve := u + initial := by simpa [u, hs₀] using P.initial + solves := hu } + intro t ht + have htQ : t ∈ Ioo Q.left Q.right := ⟨hP.1.trans_le ht.1, ht.2⟩ + refine ⟨Q.subset_maximalDomain htQ, ?_⟩ + rw [maximalSobolevInteractionFlow_eq_patch Q htQ] + change (if t ≤ s then P.curve t else w t) = w t + split_ifs with hts + · have hts' : t = s := le_antisymm hts ht.1 + subst t + exact heq₀ + · rfl + +/-- A local physical solution through a later state extends the original maximal physical +solution. The derivative is taken in the lower Sobolev space, as in the Cauchy problem. -/ +theorem maximalSobolevSchrodingerFlow_restart_extension + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) (s δ : ℝ) + (hs : s ∈ maximalSobolevInteractionDomain k hk m f₀) (hs₀ : 0 ≤ s) (hδ : 0 < δ) + (w : ℝ → FourierL2) (hw₀ : w 0 = maximalSobolevSchrodingerFlow k hk m f₀ s) + (hwc : ContinuousOn w (Ioo (-δ) δ)) + (hw : ∀ t ∈ Ioo (-δ) δ, HasDerivAt (fun r => lowerSobolevInclusion (w r)) + (lowerSobolevGenerator (w t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (w t))) t) : + ∀ t ∈ Ico 0 δ, + s + t ∈ maximalSobolevInteractionDomain k hk m f₀ ∧ + maximalSobolevSchrodingerFlow k hk m f₀ (s + t) = w t := by + let z : ℝ → FourierL2 := fun t => w (-s + t) + have hzc : ContinuousOn z (Ioo (s - δ) (s + δ)) := by + have hl : (-δ) - (-s) = s - δ := by ring + have hr : δ - (-s) = s + δ := by ring + simpa only [z, hl, hr] using continuousOn_timeTranslation w (-δ) δ (-s) hwc + have hzd : ∀ t ∈ Ioo (s - δ) (s + δ), + HasDerivAt (fun r => lowerSobolevInclusion (z r)) + (lowerSobolevGenerator (z t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (z t))) t := by + intro t ht + apply hasDerivAt_schrodinger_timeTranslation + apply hw + constructor <;> linarith [ht.1, ht.2] + have hvi : inverseSchrodingerCurve z s = maximalSobolevInteractionFlow k hk m f₀ s := by + simp [inverseSchrodingerCurve, z, hw₀, maximalSobolevSchrodingerFlow, + ← schrodingerFlow_add] + have hext := maximalSobolevInteractionFlow_restart_extension k hk m f₀ s δ hs hs₀ hδ + (inverseSchrodingerCurve z) + (fun t ht => hasDerivAt_inverseSchrodingerCurve k hk m z (s - δ) (s + δ) t hzc hzd ht) hvi + intro t ht + have h := hext (s + t) ⟨by linarith [ht.1], by linarith [ht.2]⟩ + refine ⟨h.1, ?_⟩ + change schrodingerFlow (s + t) (maximalSobolevInteractionFlow k hk m f₀ (s + t)) = w t + rw [h.2] + simp [inverseSchrodingerCurve, z, ← schrodingerFlow_add] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevSecondDerivativeBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevSecondDerivativeBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..b0aa468b09998a124e674c4c68fc946a284dfbde --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevSecondDerivativeBounds.lean @@ -0,0 +1,111 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevPolynomialBounds +import Mathlib.Analysis.Calculus.ContDiff.Bounds +import Mathlib.Analysis.Calculus.MeanValue + +namespace OAI + +/-! # Uniform second-derivative bounds for the actual Sobolev nonlinearity -/ + +open Set Metric + +namespace DefocusingNLS + +private theorem linear_two_jet_bound (L : FourierL2 →L[ℝ] FourierL2) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : FourierL2, ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → + ‖iteratedFDeriv ℝ n (fun g => L g) f‖ ≤ C := by + refine ⟨(‖L‖ + 1) * (R + 1), by positivity, ?_⟩ + intro f hf n hn + have hLn := norm_nonneg L + have hLR : 0 ≤ ‖L‖ * R := mul_nonneg hLn hR + interval_cases n + · rw [norm_iteratedFDeriv_zero] + have h := L.le_opNorm f + have h' := mul_le_mul_of_nonneg_left hf hLn + nlinarith + · rw [norm_iteratedFDeriv_one, L.fderiv] + nlinarith + · rw [← norm_iteratedFDeriv_fderiv (n := 1), norm_iteratedFDeriv_one] + have hderiv : fderiv ℝ (fun g => L g) = fun _ => L := funext (fun g => L.fderiv) + rw [hderiv] + simp only [fderiv_const_apply, norm_zero] + positivity + +private theorem bilinear_two_jet_bound (B : FourierL2 →L[ℝ] FourierL2 →L[ℝ] FourierL2) + (F G : FourierL2 → FourierL2) (hF : ContDiff ℝ ⊤ F) (hG : ContDiff ℝ ⊤ G) + (R A D : ℝ) (hA : 0 ≤ A) (hD : 0 ≤ D) + (hFb : ∀ f : FourierL2, ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → ‖iteratedFDeriv ℝ n F f‖ ≤ A) + (hGb : ∀ f : FourierL2, ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → ‖iteratedFDeriv ℝ n G f‖ ≤ D) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : FourierL2, ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → + ‖iteratedFDeriv ℝ n (fun g => B (F g) (G g)) f‖ ≤ C := by + refine ⟨4 * ‖B‖ * A * D, by positivity, ?_⟩ + intro f hf n hn + have hsum : (∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ)) = (2 : ℝ) ^ n := by + exact_mod_cast Nat.sum_range_choose n + have hp : (2 : ℝ) ^ n ≤ 4 := by interval_cases n <;> norm_num + calc + _ ≤ ‖B‖ * ∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * ‖iteratedFDeriv ℝ i F f‖ * ‖iteratedFDeriv ℝ (n - i) G f‖ := + B.norm_iteratedFDeriv_le_of_bilinear hF hG f (by simp) + _ ≤ ‖B‖ * ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * A * D := by + apply mul_le_mul_of_nonneg_left _ (norm_nonneg B) + apply Finset.sum_le_sum + intro i hi + have hi' : i ≤ n := Nat.le_of_lt_succ (Finset.mem_range.mp hi) + gcongr + · exact hFb f hf i (hi'.trans hn) + · exact hGb f hf (n - i) ((Nat.sub_le n i).trans hn) + _ = ‖B‖ * ((2 : ℝ) ^ n * A * D) := by + rw [← Finset.sum_mul, ← Finset.sum_mul, hsum] + _ = (‖B‖ * A * D) * (2 : ℝ) ^ n := by ring + _ ≤ (‖B‖ * A * D) * 4 := mul_le_mul_of_nonneg_left hp (by positivity) + _ = 4 * ‖B‖ * A * D := by ring + +/-- All derivatives of order at most two are uniformly bounded on a Sobolev ball. +The proof uses the polynomial's actual bounded bilinear operations. -/ +theorem exists_sobolevOddPower_two_jet_bound (k : ℝ) (hk : 6 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f : FourierL2, ‖f‖ ≤ R → ∀ n : ℕ, n ≤ 2 → + ‖iteratedFDeriv ℝ n (sobolevOddPower k hk m) f‖ ≤ C := by + obtain ⟨J, hJ, hJb⟩ := linear_two_jet_bound (ContinuousLinearMap.id ℝ FourierL2) R hR + obtain ⟨D, hD, hDb⟩ := linear_two_jet_bound sobolevConjugation R hR + induction m with + | zero => + exact ⟨J, hJ, hJb⟩ + | succ m ih => + obtain ⟨A, hA, hAb⟩ := ih + let B := sobolevRealBilinearProduct k hk + let F : FourierL2 → FourierL2 := fun f => + B (sobolevOddPower k hk m f) (sobolevConjugation f) + have hF : ContDiff ℝ ⊤ F := + (B.contDiff.comp (contDiff_sobolevOddPower k hk m)).clm_apply sobolevConjugation.contDiff + obtain ⟨C, hC, hCb⟩ := bilinear_two_jet_bound B (sobolevOddPower k hk m) + sobolevConjugation (contDiff_sobolevOddPower k hk m) sobolevConjugation.contDiff + R A D hA hD hAb hDb + obtain ⟨C', hC', hC'b⟩ := bilinear_two_jet_bound B F (fun f => f) hF contDiff_id + R C J hC hJ hCb hJb + exact ⟨C', hC', hC'b⟩ + +/-- The real Fréchet derivative of the Sobolev odd-power map is uniformly Lipschitz on balls. -/ +theorem exists_sobolevOddPower_derivative_lipschitz (k : ℝ) (hk : 6 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f g : FourierL2, ‖f‖ ≤ R → ‖g‖ ≤ R → + ‖fderiv ℝ (sobolevOddPower k hk m) f - fderiv ℝ (sobolevOddPower k hk m) g‖ ≤ + C * ‖f - g‖ := by + obtain ⟨C, hC, hCb⟩ := exists_sobolevOddPower_two_jet_bound k hk m R hR + have hdiff : Differentiable ℝ (fderiv ℝ (sobolevOddPower k hk m)) := + (contDiff_infty_iff_fderiv.mp ((contDiff_sobolevOddPower k hk m).of_le + (by simp))).2.differentiable (by simp) + refine ⟨C, hC, ?_⟩ + intro f g hf hg + apply (convex_closedBall (0 : FourierL2) R).norm_image_sub_le_of_norm_fderiv_le + (fun x hx => hdiff x) + · intro x hx + rw [← norm_iteratedFDeriv_one, norm_iteratedFDeriv_fderiv] + exact hCb x (by simpa using hx) 2 le_rfl + · simpa using hg + · simpa using hf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevSymmetryFlow.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevSymmetryFlow.lean new file mode 100644 index 0000000000000000000000000000000000000000..3cc173d89f00af4742de899b6c7e0580ab48d73f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevSymmetryFlow.lean @@ -0,0 +1,130 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevPhase +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.MaximalStrongSolution + +namespace OAI + +/-! # Spatial and phase covariance of the maximal physical flow -/ + +open Set + +namespace DefocusingNLS + +private def mapInteractionPatch (k : ℝ) (hk : 6 < k) (m : ℕ) + (L : FourierL2 →L[ℝ] FourierL2) + (hL : ∀ t f, schrodingerInteractionField k hk m t (L f) = + L (schrodingerInteractionField k hk m t f)) + {f : FourierL2} (P : SobolevInteractionPatch k hk m f) : + SobolevInteractionPatch k hk m (L f) where + left := P.left + right := P.right + left_neg := P.left_neg + right_pos := P.right_pos + curve := fun t => L (P.curve t) + initial := by rw [P.initial] + solves t ht := by + rw [hL] + exact L.hasFDerivAt.comp_hasDerivAt t (P.solves t ht) + +private theorem maximalInteractionFlow_map (k : ℝ) (hk : 6 < k) (m : ℕ) + (L : FourierL2 →L[ℝ] FourierL2) + (hL : ∀ t f, schrodingerInteractionField k hk m t (L f) = + L (schrodingerInteractionField k hk m t f)) + (f : FourierL2) (t : ℝ) (ht : t ∈ maximalSobolevInteractionDomain k hk m f) : + t ∈ maximalSobolevInteractionDomain k hk m (L f) ∧ + maximalSobolevInteractionFlow k hk m (L f) t = + L (maximalSobolevInteractionFlow k hk m f t) := by + obtain ⟨P, hP⟩ := mem_iUnion.mp ht + let Q := mapInteractionPatch k hk m L hL P + have hQ : t ∈ Ioo Q.left Q.right := hP + refine ⟨mem_iUnion.mpr ⟨Q, hQ⟩, ?_⟩ + rw [maximalSobolevInteractionFlow_eq_patch Q hQ, + maximalSobolevInteractionFlow_eq_patch P hP] + rfl + +theorem schrodingerInteractionField_translation (k : ℝ) (hk : 6 < k) (m : ℕ) + (x : SchrodingerTorus) (t : ℝ) (f : FourierL2) : + schrodingerInteractionField k hk m t (sobolevTranslation x f) = + sobolevTranslation x (schrodingerInteractionField k hk m t f) := by + simp only [schrodingerInteractionField, schrodingerFlow_translation, + sobolevOddPower_translation, map_smul] + +theorem maximalSobolevInteractionDomain_translation (k : ℝ) (hk : 6 < k) (m : ℕ) + (x : SchrodingerTorus) (f : FourierL2) : + maximalSobolevInteractionDomain k hk m (sobolevTranslation x f) = + maximalSobolevInteractionDomain k hk m f := by + ext t + constructor + · intro ht + have h := (maximalInteractionFlow_map k hk m + ((sobolevTranslation (-x)).toContinuousLinearMap.restrictScalars ℝ) + (schrodingerInteractionField_translation k hk m (-x)) (sobolevTranslation x f) t ht).1 + change t ∈ maximalSobolevInteractionDomain k hk m + (sobolevTranslation (-x) (sobolevTranslation x f)) at h + simpa only [← sobolevTranslation_add, neg_add_cancel, sobolevTranslation_zero] using h + · intro ht + exact (maximalInteractionFlow_map k hk m + ((sobolevTranslation x).toContinuousLinearMap.restrictScalars ℝ) + (schrodingerInteractionField_translation k hk m x) f t ht).1 + +/-- Translating the initial datum translates the maximal physical solution at every time. -/ +theorem maximalSobolevSchrodingerFlow_translation (k : ℝ) (hk : 6 < k) (m : ℕ) + (x : SchrodingerTorus) (f : FourierL2) (t : ℝ) + (ht : t ∈ maximalSobolevInteractionDomain k hk m f) : + maximalSobolevSchrodingerFlow k hk m (sobolevTranslation x f) t = + sobolevTranslation x (maximalSobolevSchrodingerFlow k hk m f t) := by + have h := (maximalInteractionFlow_map k hk m + ((sobolevTranslation x).toContinuousLinearMap.restrictScalars ℝ) + (schrodingerInteractionField_translation k hk m x) f t ht).2 + change maximalSobolevInteractionFlow k hk m (sobolevTranslation x f) t = + sobolevTranslation x (maximalSobolevInteractionFlow k hk m f t) at h + change schrodingerFlow t (maximalSobolevInteractionFlow k hk m (sobolevTranslation x f) t) = _ + rw [h, schrodingerFlow_translation] + rfl + +theorem schrodingerInteractionField_phase (k : ℝ) (hk : 6 < k) (m : ℕ) + (c : Circle) (t : ℝ) (f : FourierL2) : + schrodingerInteractionField k hk m t (sobolevPhase c f) = + sobolevPhase c (schrodingerInteractionField k hk m t f) := by + simp only [schrodingerInteractionField, sobolevPhase_apply, map_smul] + rw [← sobolevPhase_apply, sobolevOddPower_phase, sobolevPhase_apply, map_smul] + +@[simp] theorem sobolevPhase_inv_apply (c : Circle) (f : FourierL2) : + sobolevPhase c⁻¹ (sobolevPhase c f) = f := by + simp only [sobolevPhase_apply, smul_smul, ← Circle.coe_mul, inv_mul_cancel, Circle.coe_one, + one_smul] + +theorem maximalSobolevInteractionDomain_phase (k : ℝ) (hk : 6 < k) (m : ℕ) + (c : Circle) (f : FourierL2) : + maximalSobolevInteractionDomain k hk m (sobolevPhase c f) = + maximalSobolevInteractionDomain k hk m f := by + ext t + constructor + · intro ht + have h := (maximalInteractionFlow_map k hk m + ((sobolevPhase c⁻¹).toContinuousLinearMap.restrictScalars ℝ) + (schrodingerInteractionField_phase k hk m c⁻¹) (sobolevPhase c f) t ht).1 + change t ∈ maximalSobolevInteractionDomain k hk m (sobolevPhase c⁻¹ (sobolevPhase c f)) at h + simpa only [sobolevPhase_inv_apply] using h + · intro ht + exact (maximalInteractionFlow_map k hk m + ((sobolevPhase c).toContinuousLinearMap.restrictScalars ℝ) + (schrodingerInteractionField_phase k hk m c) f t ht).1 + +/-- Unit phase commutes with the maximal physical flow and preserves its lifespan. -/ +theorem maximalSobolevSchrodingerFlow_phase (k : ℝ) (hk : 6 < k) (m : ℕ) + (c : Circle) (f : FourierL2) (t : ℝ) + (ht : t ∈ maximalSobolevInteractionDomain k hk m f) : + maximalSobolevSchrodingerFlow k hk m (sobolevPhase c f) t = + sobolevPhase c (maximalSobolevSchrodingerFlow k hk m f t) := by + have h := (maximalInteractionFlow_map k hk m + ((sobolevPhase c).toContinuousLinearMap.restrictScalars ℝ) + (schrodingerInteractionField_phase k hk m c) f t ht).2 + change maximalSobolevInteractionFlow k hk m (sobolevPhase c f) t = + sobolevPhase c (maximalSobolevInteractionFlow k hk m f t) at h + change schrodingerFlow t (maximalSobolevInteractionFlow k hk m (sobolevPhase c f) t) = _ + rw [h] + exact (schrodingerFlow t).map_smul _ _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTaylorRemainder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTaylorRemainder.lean new file mode 100644 index 0000000000000000000000000000000000000000..3e266572c1e36132f1ca293b6d04f5e3e1cdf15e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTaylorRemainder.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevSecondDerivativeBounds + +namespace OAI + +/-! # The quadratic Sobolev remainder after linearization -/ + +open Set Metric + +namespace DefocusingNLS + +/-- The actual odd-power nonlinearity with its constant and linear parts removed. -/ +noncomputable def sobolevNonlinearRemainder (k : ℝ) (hk : 6 < k) (m : ℕ) + (q v : FourierL2) : FourierL2 := + sobolevOddPower k hk m (q + v) - sobolevOddPower k hk m q - + fderiv ℝ (sobolevOddPower k hk m) q v + +@[simp] theorem sobolevNonlinearRemainder_zero (k : ℝ) (hk : 6 < k) (m : ℕ) + (q : FourierL2) : sobolevNonlinearRemainder k hk m q 0 = 0 := by + simp [sobolevNonlinearRemainder] + +theorem hasFDerivAt_sobolevNonlinearRemainder (k : ℝ) (hk : 6 < k) (m : ℕ) + (q v : FourierL2) : + HasFDerivAt (sobolevNonlinearRemainder k hk m q) + (fderiv ℝ (sobolevOddPower k hk m) (q + v) - + fderiv ℝ (sobolevOddPower k hk m) q) v := by + have hN := ((contDiff_sobolevOddPower k hk m).differentiable (by simp) (q + v)).hasFDerivAt + have hshift : HasFDerivAt (fun z : FourierL2 => q + z) + (ContinuousLinearMap.id ℝ FourierL2) v := (hasFDerivAt_id v).const_add q + have h := ((hN.comp v hshift).sub_const (sobolevOddPower k hk m q)).sub + (fderiv ℝ (sobolevOddPower k hk m) q).hasFDerivAt + convert h using 1 <;> ext z <;> rfl + +/-- On any bounded set of backgrounds, the linearized remainder has the manuscript's +quadratic Lipschitz bound, uniformly for perturbations in the unit ball. -/ +theorem exists_sobolevNonlinearRemainder_lipschitz (k : ℝ) (hk : 6 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ q v w : FourierL2, ‖q‖ ≤ R → ‖v‖ ≤ 1 → ‖w‖ ≤ 1 → + ‖sobolevNonlinearRemainder k hk m q v - sobolevNonlinearRemainder k hk m q w‖ ≤ + C * (‖v‖ + ‖w‖) * ‖v - w‖ := by + obtain ⟨C, hC, hCb⟩ := exists_sobolevOddPower_derivative_lipschitz k hk m (R + 1) (by linarith) + refine ⟨C, hC, ?_⟩ + intro q v w hq hv hw + let d := max ‖v‖ ‖w‖ + have hd : d ≤ 1 := max_le hv hw + have hdb : ∀ z ∈ closedBall (0 : FourierL2) d, + ‖fderiv ℝ (sobolevOddPower k hk m) (q + z) - + fderiv ℝ (sobolevOddPower k hk m) q‖ ≤ C * d := by + intro z hz + have hzn : ‖z‖ ≤ d := by simpa using hz + have hqz : ‖q + z‖ ≤ R + 1 := (norm_add_le q z).trans (by linarith) + have h := hCb (q + z) q hqz (by linarith) + simp only [add_sub_cancel_left] at h + exact h.trans (mul_le_mul_of_nonneg_left hzn hC) + have hm := (convex_closedBall (0 : FourierL2) d).norm_image_sub_le_of_norm_hasFDerivWithin_le + (fun z hz => (hasFDerivAt_sobolevNonlinearRemainder k hk m q z).hasFDerivWithinAt) hdb + (show w ∈ closedBall (0 : FourierL2) d by simp [d]) + (show v ∈ closedBall (0 : FourierL2) d by simp [d]) + have hd' : d ≤ ‖v‖ + ‖w‖ := max_le + (le_add_of_nonneg_right (norm_nonneg w)) (le_add_of_nonneg_left (norm_nonneg v)) + exact hm.trans (mul_le_mul_of_nonneg_right + (mul_le_mul_of_nonneg_left hd' hC) (norm_nonneg (v - w))) + +/-- The remainder is quadratic, with one constant for every background in a fixed Sobolev ball. -/ +theorem exists_sobolevNonlinearRemainder_quadratic (k : ℝ) (hk : 6 < k) (m : ℕ) + (R : ℝ) (hR : 0 ≤ R) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ q v : FourierL2, ‖q‖ ≤ R → ‖v‖ ≤ 1 → + ‖sobolevNonlinearRemainder k hk m q v‖ ≤ C * ‖v‖ ^ 2 := by + obtain ⟨C, hC, hb⟩ := exists_sobolevNonlinearRemainder_lipschitz k hk m R hR + refine ⟨C, hC, ?_⟩ + intro q v hq hv + simpa only [sobolevNonlinearRemainder_zero, norm_zero, add_zero, sub_zero, pow_two, mul_assoc] + using hb q v 0 hq hv (by simp) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTimeTranslation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTimeTranslation.lean new file mode 100644 index 0000000000000000000000000000000000000000..21ba83cd32b896659328482eae6c2578a77481ac --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTimeTranslation.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevLocalContinuousFlow + +namespace OAI + +/-! # Time translation and restarting the strong Schrödinger flow -/ + +open Filter Topology Set + +namespace DefocusingNLS + +/-- The strong physical equation is autonomous, so translating time preserves it. -/ +theorem hasDerivAt_schrodinger_timeTranslation + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) (s t : ℝ) + (hu : HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u (s + t)) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u (s + t)))) (s + t)) : + HasDerivAt (fun r => lowerSobolevInclusion (u (s + r))) + (lowerSobolevGenerator (u (s + t)) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u (s + t)))) t := by + simpa only [Function.comp_def, one_smul] using + hu.scomp t ((hasDerivAt_id t).const_add s) + +theorem continuousOn_timeTranslation (u : ℝ → FourierL2) (a b s : ℝ) + (hu : ContinuousOn u (Ioo a b)) : + ContinuousOn (fun t => u (s + t)) (Ioo (a - s) (b - s)) := by + apply hu.comp (continuous_const.add continuous_id).continuousOn + intro t ht + change s + t ∈ Ioo a b + constructor <;> linarith [ht.1, ht.2] + +/-- A translated strong solution is a restriction of the maximal flow through its new datum. -/ +theorem strongSobolev_timeTranslation_restricts_maximal + (k : ℝ) (hk : 6 < k) (m : ℕ) (u : ℝ → FourierL2) (a b s : ℝ) + (hs : s ∈ Ioo a b) (huc : ContinuousOn u (Ioo a b)) + (hu : ∀ t ∈ Ioo a b, HasDerivAt (fun r => lowerSobolevInclusion (u r)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) : + Ioo (a - s) (b - s) ⊆ maximalSobolevInteractionDomain k hk m (u s) ∧ + EqOn (fun t => u (s + t)) (maximalSobolevSchrodingerFlow k hk m (u s)) + (Ioo (a - s) (b - s)) := by + apply strongSobolevSchrodingerSolution_restricts_maximal k hk m (u s) + (fun t => u (s + t)) (a - s) (b - s) (by linarith [hs.1]) (by linarith [hs.2]) + (by simp) (continuousOn_timeTranslation u a b s huc) + intro t ht + apply hasDerivAt_schrodinger_timeTranslation + apply hu + constructor <;> linarith [ht.1, ht.2] + +/-- At every time of a maximal trajectory, the local flow through its value agrees with +the original trajectory on an open interval about that time. -/ +theorem maximalSobolevSchrodingerFlow_local_restart + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) (s : ℝ) + (hs : s ∈ maximalSobolevInteractionDomain k hk m f₀) : + ∃ a b : ℝ, a < 0 ∧ 0 < b ∧ + Ioo a b ⊆ maximalSobolevInteractionDomain k hk m + (maximalSobolevSchrodingerFlow k hk m f₀ s) ∧ + ∀ t ∈ Ioo a b, + s + t ∈ maximalSobolevInteractionDomain k hk m f₀ ∧ + maximalSobolevSchrodingerFlow k hk m f₀ (s + t) = + maximalSobolevSchrodingerFlow k hk m + (maximalSobolevSchrodingerFlow k hk m f₀ s) t := by + obtain ⟨P, hP⟩ := mem_iUnion.mp hs + have hsub := P.subset_maximalDomain + obtain ⟨hdom, heq⟩ := strongSobolev_timeTranslation_restricts_maximal k hk m + (maximalSobolevSchrodingerFlow k hk m f₀) P.left P.right s hP + ((continuousOn_maximalSobolevSchrodingerFlow k hk m f₀).mono hsub) + (fun t ht => hasDerivAt_maximalSobolevSchrodingerFlow k hk m f₀ (hsub ht)) + refine ⟨P.left - s, P.right - s, by linarith [hP.1], by linarith [hP.2], hdom, ?_⟩ + intro t ht + refine ⟨hsub ?_, heq ht⟩ + constructor <;> linarith [ht.1, ht.2] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTorus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTorus.lean new file mode 100644 index 0000000000000000000000000000000000000000..6f0a55cc02e330e01aa61c3433d1bfb12b656d22 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTorus.lean @@ -0,0 +1,147 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevEmbedding +import Mathlib.Analysis.Fourier.AddCircle + +namespace OAI + +/-! +# Continuous functions on the twelve-dimensional torus + +The integer coordinates of the Euclidean frequency lattice define genuine +periodic Fourier characters. Absolute summability gives a uniformly convergent +Fourier representation, with bounded point evaluation at every torus point. +-/ + +open MeasureTheory Filter Topology +open scoped ENNReal ComplexConjugate + +namespace DefocusingNLS + +abbrev SchrodingerTorus := Fin 12 → AddCircle (2 * Real.pi) + +instance : Fact (0 < 2 * Real.pi) := ⟨Real.two_pi_pos⟩ + +/-- Integer coordinates in the standard Euclidean Fourier lattice. -/ +noncomputable def frequencyCoordinates (n : frequencyLattice) : Fin 12 → ℤ := + ((EuclideanSpace.basisFun (Fin 12) ℝ).toBasis.restrictScalars ℤ).repr n + +/-- The periodic character `exp(i n·x)`. -/ +noncomputable def torusCharacter (n : frequencyLattice) : C(SchrodingerTorus, ℂ) where + toFun x := ∏ j : Fin 12, fourier (frequencyCoordinates n j) (x j) + continuous_toFun := by fun_prop + +@[simp] theorem torusCharacter_norm_apply (n : frequencyLattice) (x : SchrodingerTorus) : + ‖torusCharacter n x‖ = 1 := by + simp [torusCharacter, norm_prod, fourier_apply, Circle.norm_coe] + +@[simp] theorem torusCharacter_zero (n : frequencyLattice) : torusCharacter n 0 = 1 := by + simp [torusCharacter, fourier_apply] + +@[simp] theorem torusCharacter_norm (n : frequencyLattice) : ‖torusCharacter n‖ = 1 := by + rw [ContinuousMap.norm_eq_iSup_norm] + simp_rw [torusCharacter_norm_apply] + exact ciSup_const + +/-- A weighted Fourier coefficient times its periodic character. -/ +noncomputable def sobolevTorusTerm (k : ℝ) (f : FourierL2) (n : frequencyLattice) : + C(SchrodingerTorus, ℂ) := + sobolevFourierCoefficient k f n • torusCharacter n + +theorem summable_sobolevTorusTerm (k : ℝ) (hk : 6 < k) (f : FourierL2) : + Summable (sobolevTorusTerm k f) := by + apply Summable.of_norm + simpa [sobolevTorusTerm, norm_smul] using + summable_norm_sobolevFourierCoefficient k hk f + +/-- The actual continuous periodic function represented by a Fourier Sobolev vector. -/ +noncomputable def sobolevTorusFunction (k : ℝ) (f : FourierL2) : C(SchrodingerTorus, ℂ) := + ∑' n, sobolevTorusTerm k f n + +theorem hasSum_sobolevTorusTerm (k : ℝ) (hk : 6 < k) (f : FourierL2) : + HasSum (sobolevTorusTerm k f) (sobolevTorusFunction k f) := + (summable_sobolevTorusTerm k hk f).hasSum + +/-- Fourier polynomials converge uniformly on the whole twelve-torus. -/ +theorem tendstoUniformly_sobolevFourierSeries (k : ℝ) (hk : 6 < k) (f : FourierL2) : + TendstoUniformly + (fun S : Finset frequencyLattice => fun x : SchrodingerTorus => + ∑ n ∈ S, sobolevFourierCoefficient k f n * torusCharacter n x) + (sobolevTorusFunction k f) atTop := by + have h := (ContinuousMap.isometryEquivBoundedOfCompact SchrodingerTorus ℂ).continuous.continuousAt.tendsto.comp + (hasSum_sobolevTorusTerm k hk f) + have hu := BoundedContinuousFunction.tendsto_iff_tendstoUniformly.mp h + change TendstoUniformly + (fun S x => (∑ n ∈ S, sobolevTorusTerm k f n) x) + (sobolevTorusFunction k f) atTop at hu + simpa [sobolevTorusTerm, ContinuousMap.sum_apply, ContinuousMap.smul_apply, + smul_eq_mul] using hu + +/-- The modulated inverse weights representing evaluation at `x`. -/ +noncomputable def sobolevPointObservationVector (k : ℝ) (hk : 6 < k) + (x : SchrodingerTorus) : FourierL2 := + ⟨fun n => (((1 + ‖n‖ ^ 2) ^ (-k / 2) : ℝ) : ℂ) * conj (torusCharacter n x), by + apply memℓp_gen + have hs := summable_sobolev_variances 0 k (by linarith : 0 + 6 < k) + simpa only [ENNReal.toReal_ofNat, Real.rpow_two, norm_mul, Complex.norm_conj, + torusCharacter_norm_apply, mul_one, sobolev_observation_weight_sq, zero_sub] using hs⟩ + +/-- Point evaluation is a continuous complex-linear functional on the Fourier Sobolev model. -/ +noncomputable def sobolevPointEvaluation (k : ℝ) (hk : 6 < k) + (x : SchrodingerTorus) : FourierL2 →L[ℂ] ℂ := + innerSL ℂ (sobolevPointObservationVector k hk x) + +theorem hasSum_sobolevPointEvaluation (k : ℝ) (hk : 6 < k) + (x : SchrodingerTorus) (f : FourierL2) : + HasSum (fun n => sobolevFourierCoefficient k f n * torusCharacter n x) + (sobolevPointEvaluation k hk x f) := by + have h := lp.hasSum_inner (𝕜 := ℂ) (sobolevPointObservationVector k hk x) f + change HasSum (fun n => sobolevFourierCoefficient k f n * torusCharacter n x) _ + simpa [sobolevPointObservationVector, sobolevPointEvaluation, sobolevFourierCoefficient, + RCLike.inner_apply', Algebra.smul_def, mul_assoc, mul_left_comm, mul_comm] using h + +/-- The continuous Fourier function agrees with bounded point evaluation. -/ +theorem sobolevTorusFunction_apply (k : ℝ) (hk : 6 < k) (x : SchrodingerTorus) + (f : FourierL2) : sobolevTorusFunction k f x = sobolevPointEvaluation k hk x f := by + have h := (hasSum_sobolevTorusTerm k hk f).mapL + (ContinuousMap.evalCLM (R := ℂ) x) + have h' : HasSum (fun n => sobolevFourierCoefficient k f n * torusCharacter n x) + (sobolevTorusFunction k f x) := by + simpa [sobolevTorusTerm, smul_eq_mul] using h + exact h'.unique (hasSum_sobolevPointEvaluation k hk x f) + +/-- The norm of the evaluation vector does not depend on the torus point. -/ +theorem sobolevPointObservationVector_norm (k : ℝ) (hk : 6 < k) (x : SchrodingerTorus) : + ‖sobolevPointObservationVector k hk x‖ = ‖sobolevObservationVector k hk‖ := by + have h1 := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) + (sobolevPointObservationVector k hk x) + have h2 := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) (sobolevObservationVector k hk) + simp only [ENNReal.toReal_ofNat, Real.rpow_two] at h1 h2 + have heq : ‖sobolevPointObservationVector k hk x‖ ^ 2 = + ‖sobolevObservationVector k hk‖ ^ 2 := by + rw [h1, h2] + congr 1 + funext n + simp [sobolevPointObservationVector, sobolevObservationVector] + nlinarith [norm_nonneg (sobolevPointObservationVector k hk x), + norm_nonneg (sobolevObservationVector k hk)] + +/-- The pointwise Sobolev embedding bound is uniform in `x`. -/ +theorem sobolevPointEvaluation_bound (k : ℝ) (hk : 6 < k) + (x : SchrodingerTorus) (f : FourierL2) : + ‖sobolevPointEvaluation k hk x f‖ ≤ ‖sobolevObservationVector k hk‖ * ‖f‖ := by + change ‖inner ℂ (sobolevPointObservationVector k hk x) f‖ ≤ _ + simpa only [sobolevPointObservationVector_norm] using + norm_inner_le_norm (𝕜 := ℂ) (sobolevPointObservationVector k hk x) f + +/-- Blowup at any point of the actual torus prevents Sobolev continuation. -/ +theorem no_sobolev_extension_of_positive_point_rate + (k : ℝ) (hk : 6 < k) (x : SchrodingerTorus) (u : ℝ → FourierL2) + (T a c : ℝ) (ha : 0 < a) (hc : 0 < c) + (hblowup : Tendsto (fun t => (T - t) ^ a * ‖sobolevTorusFunction k (u t) x‖) + (𝓝[<] T) (𝓝 c)) : ¬ ContinuousWithinAt u (Set.Iio T) T := by + apply no_continuous_extension_of_positive_rescaled_norm u (sobolevPointEvaluation k hk x) + T a c ha hc (sobolevPointEvaluation k hk x).continuous + simpa only [sobolevTorusFunction_apply k hk] using hblowup + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTranslation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTranslation.lean new file mode 100644 index 0000000000000000000000000000000000000000..1997c97f4a992319486b7a6e4bcb4cbeb2d078ec --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTranslation.lean @@ -0,0 +1,113 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevNonlinearity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerInteraction + +namespace OAI + +/-! # Spatial translations on the actual Fourier Sobolev space -/ + +open Filter Topology +open scoped ENNReal ComplexConjugate + +namespace DefocusingNLS + +/-- Translation by `x` multiplies the Fourier coefficients by `exp(i n·x)`. -/ +noncomputable def sobolevTranslation (x : SchrodingerTorus) : FourierL2 →ₗᵢ[ℂ] FourierL2 where + toFun f := ⟨fun n => torusCharacter n x * f n, (lp.memℓp f).mono' (by intro n; simp)⟩ + map_add' f g := by ext n; exact mul_add _ _ _ + map_smul' c f := by ext n; simp [mul_left_comm] + norm_map' f := by + apply le_antisymm + · apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0) + intro n + simp + · apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0) + intro n + simp + +@[simp] theorem sobolevTranslation_apply (x : SchrodingerTorus) (f : FourierL2) + (n : frequencyLattice) : sobolevTranslation x f n = torusCharacter n x * f n := rfl + +@[simp] theorem sobolevTranslation_zero (f : FourierL2) : sobolevTranslation 0 f = f := by + ext n + simp + +theorem sobolevTranslation_add (x y : SchrodingerTorus) (f : FourierL2) : + sobolevTranslation (x + y) f = sobolevTranslation x (sobolevTranslation y f) := by + ext n + simp only [sobolevTranslation_apply, torusCharacter_add, mul_assoc] + +/-- The Fourier action represents translation of the continuous torus function. -/ +theorem sobolevTorusFunction_translation (k : ℝ) (hk : 6 < k) + (x y : SchrodingerTorus) (f : FourierL2) : + sobolevTorusFunction k (sobolevTranslation x f) y = sobolevTorusFunction k f (x + y) := by + simp only [sobolevTorusFunction_eq_tsum k hk] + apply tsum_congr + intro n + simp only [sobolevFourierCoefficient, sobolevTranslation_apply, torusCharacter_add, + Algebra.smul_def] + ring + +/-- Strong continuity of spatial translation in every represented Sobolev order. -/ +theorem continuous_sobolevTranslation (f : FourierL2) : + Continuous (fun x : SchrodingerTorus => sobolevTranslation x f) := by + rw [continuous_iff_continuousAt] + intro x₀ + have hs : Summable (fun n : frequencyLattice => 4 * ‖f n‖ ^ 2) := by + simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using + ((lp.memℓp f).summable (by norm_num : 0 < (2 : ℝ≥0∞).toReal)).mul_left 4 + have hlim := tendsto_tsum_of_dominated_convergence hs + (f := fun x n => ‖sobolevTranslation x f n - sobolevTranslation x₀ f n‖ ^ 2) + (g := fun _ => (0 : ℝ)) (𝓕 := 𝓝 x₀) + (by + intro n + have hc : Continuous (fun x : SchrodingerTorus => + ‖sobolevTranslation x f n - sobolevTranslation x₀ f n‖ ^ 2) := + ((((torusCharacter n).continuous.fun_mul continuous_const).fun_sub + continuous_const).norm.fun_pow 2) + simpa using (hc.continuousAt (x := x₀)).tendsto) + (Filter.Eventually.of_forall (by + intro x n + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] + have hn : ‖sobolevTranslation x f n - sobolevTranslation x₀ f n‖ ≤ 2 * ‖f n‖ := by + calc + _ ≤ ‖sobolevTranslation x f n‖ + ‖sobolevTranslation x₀ f n‖ := norm_sub_le _ _ + _ = 2 * ‖f n‖ := by simp; ring + nlinarith [norm_nonneg (sobolevTranslation x f n - sobolevTranslation x₀ f n), + norm_nonneg (f n)])) + have hsq : Tendsto (fun x => ‖sobolevTranslation x f - sobolevTranslation x₀ f‖ ^ 2) + (𝓝 x₀) (𝓝 0) := by + have heq (x : SchrodingerTorus) := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) + (sobolevTranslation x f - sobolevTranslation x₀ f) + simp only [ENNReal.toReal_ofNat, Real.rpow_two, lp.coeFn_sub, Pi.sub_apply] at heq + simpa only [heq, tsum_zero] using hlim + have hn := Real.continuous_sqrt.continuousAt.tendsto.comp hsq + have hn' : Tendsto (fun x => ‖sobolevTranslation x f - sobolevTranslation x₀ f‖) + (𝓝 x₀) (𝓝 0) := by + simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using hn + exact tendsto_iff_norm_sub_tendsto_zero.mpr hn' + +/-- Spatial shifts and initial data vary jointly continuously in the Sobolev norm. -/ +theorem continuous_sobolevTranslation_uncurry : + Continuous (fun p : SchrodingerTorus × FourierL2 => sobolevTranslation p.1 p.2) := by + rw [continuous_iff_continuousAt] + intro p + apply Metric.tendsto_nhds.mpr + intro ε hε + have hu : ∀ᶠ q : SchrodingerTorus × FourierL2 in 𝓝 p, dist q.2 p.2 < ε / 2 := + (continuous_snd.continuousAt.tendsto).eventually + (Metric.ball_mem_nhds p.2 (by linarith)) + have hs : ∀ᶠ q : SchrodingerTorus × FourierL2 in 𝓝 p, + dist (sobolevTranslation q.1 p.2) (sobolevTranslation p.1 p.2) < ε / 2 := + (((continuous_sobolevTranslation p.2).comp continuous_fst).continuousAt.tendsto).eventually + (Metric.ball_mem_nhds _ (by linarith)) + filter_upwards [hu, hs] with q hqu hqs + calc + _ ≤ dist (sobolevTranslation q.1 q.2) (sobolevTranslation q.1 p.2) + + dist (sobolevTranslation q.1 p.2) (sobolevTranslation p.1 p.2) := dist_triangle _ _ _ + _ = dist q.2 p.2 + dist (sobolevTranslation q.1 p.2) (sobolevTranslation p.1 p.2) := by + rw [(sobolevTranslation q.1).dist_map] + _ < ε := by linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTranslationEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTranslationEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..fc3db276e1868bd3442e0f32878bcd1e16154e92 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevTranslationEquation.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTranslation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerNonlinearEquation + +namespace OAI + +/-! # Translation covariance of the strong nonlinear Schrödinger equation -/ + +open scoped ComplexConjugate + +namespace DefocusingNLS + +theorem sobolevFourierCoefficient_translation (k : ℝ) (x : SchrodingerTorus) + (f : FourierL2) (n : frequencyLattice) : + sobolevFourierCoefficient k (sobolevTranslation x f) n = + torusCharacter n x * sobolevFourierCoefficient k f n := by + simp only [sobolevFourierCoefficient, sobolevTranslation_apply, Algebra.smul_def] + ring + +theorem sobolevProduct_translation (k : ℝ) (hk : 6 < k) (x : SchrodingerTorus) + (f g : FourierL2) : + sobolevProduct k hk (sobolevTranslation x f) (sobolevTranslation x g) = + sobolevTranslation x (sobolevProduct k hk f g) := by + ext n + change (sobolevProductWeight k n : ℂ) * + (∑' j, sobolevFourierCoefficient k (sobolevTranslation x f) j * + sobolevFourierCoefficient k (sobolevTranslation x g) (n - j)) = + torusCharacter n x * ((sobolevProductWeight k n : ℂ) * + ∑' j, sobolevFourierCoefficient k f j * sobolevFourierCoefficient k g (n - j)) + simp only [sobolevFourierCoefficient_translation] + have heq (j : frequencyLattice) : + (torusCharacter j x * sobolevFourierCoefficient k f j) * + (torusCharacter (n - j) x * sobolevFourierCoefficient k g (n - j)) = + torusCharacter n x * (sobolevFourierCoefficient k f j * + sobolevFourierCoefficient k g (n - j)) := by + have hchar : torusCharacter j x * torusCharacter (n - j) x = torusCharacter n x := by + rw [← torusCharacter_frequency_add, add_sub_cancel] + calc + _ = (torusCharacter j x * torusCharacter (n - j) x) * + (sobolevFourierCoefficient k f j * sobolevFourierCoefficient k g (n - j)) := by ring + _ = _ := by rw [hchar] + simp_rw [heq] + rw [tsum_mul_left] + ring + +theorem fourierConjugate_translation (x : SchrodingerTorus) (f : FourierL2) : + fourierConjugate (sobolevTranslation x f) = sobolevTranslation x (fourierConjugate f) := by + ext n + simp [torusCharacter_neg] + +/-- Translation commutes with the actual polynomial Sobolev nonlinearity. -/ +theorem sobolevOddPower_translation (k : ℝ) (hk : 6 < k) (m : ℕ) + (x : SchrodingerTorus) (f : FourierL2) : + sobolevOddPower k hk m (sobolevTranslation x f) = + sobolevTranslation x (sobolevOddPower k hk m f) := by + induction m with + | zero => rfl + | succ m ih => + simp only [sobolevOddPower, ih, fourierConjugate_translation, sobolevProduct_translation] + +theorem lowerSobolevInclusion_translation (x : SchrodingerTorus) (f : FourierL2) : + lowerSobolevInclusion (sobolevTranslation x f) = + sobolevTranslation x (lowerSobolevInclusion f) := by + ext n + simp only [lowerSobolevInclusion_apply, sobolevTranslation_apply] + ring + +theorem lowerSobolevGenerator_translation (x : SchrodingerTorus) (f : FourierL2) : + lowerSobolevGenerator (sobolevTranslation x f) = + sobolevTranslation x (lowerSobolevGenerator f) := by + ext n + simp only [lowerSobolevGenerator_apply, sobolevTranslation_apply] + ring + +theorem schrodingerFlow_translation (t : ℝ) (x : SchrodingerTorus) (f : FourierL2) : + schrodingerFlow t (sobolevTranslation x f) = + sobolevTranslation x (schrodingerFlow t f) := by + ext n + simp only [schrodingerFlow_apply, sobolevTranslation_apply] + ring + +/-- Spatially translated strong solutions satisfy the same defocusing equation. -/ +theorem hasDerivAt_sobolevSchrodinger_translation + (k : ℝ) (hk : 6 < k) (m : ℕ) (x : SchrodingerTorus) (u : ℝ → FourierL2) (t : ℝ) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) : + HasDerivAt (fun s => lowerSobolevInclusion (sobolevTranslation x (u s))) + (lowerSobolevGenerator (sobolevTranslation x (u t)) - + Complex.I • lowerSobolevInclusion + (sobolevOddPower k hk m (sobolevTranslation x (u t)))) t := by + let T := (sobolevTranslation x).toContinuousLinearMap.restrictScalars ℝ + have h := T.hasFDerivAt.comp_hasDerivAt t hu + change HasDerivAt (fun s => sobolevTranslation x (lowerSobolevInclusion (u s))) + (sobolevTranslation x (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t)))) t at h + simpa only [Function.comp_def, lowerSobolevInclusion_translation, + lowerSobolevGenerator_translation, sobolevOddPower_translation, map_sub, map_smul] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..4e6fa54c6cc391f8b92ce6c09fa6f31bcfc5997b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevUniqueness.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevLocalFlow + +namespace OAI + +/-! # Local uniqueness of the Sobolev interaction equation -/ + +open Filter Topology Set Metric + +namespace DefocusingNLS + +/-- Two Sobolev interaction solutions with the same initial datum agree near that time. -/ +theorem sobolevInteractionSolution_eventually_unique + (k : ℝ) (hk : 6 < k) (m : ℕ) (v w : ℝ → FourierL2) + (J : Set ℝ) (hJ : IsOpen J) (t₀ : ℝ) (ht₀ : t₀ ∈ J) + (hv : ∀ t ∈ J, HasDerivAt v (schrodingerInteractionField k hk m t (v t)) t) + (hw : ∀ t ∈ J, HasDerivAt w (schrodingerInteractionField k hk m t (w t)) t) + (heq : v t₀ = w t₀) : v =ᶠ[𝓝 t₀] w := by + let R := ‖v t₀‖ + 1 + have hR : 0 ≤ R := by positivity + obtain ⟨A, K, hA, hK, hbound, hlip⟩ := + exists_schrodingerInteractionField_ball_bounds k hk m R hR + have hvnorm : ∀ᶠ t in 𝓝 t₀, ‖v t‖ < R := + ((hv t₀ ht₀).continuousAt.norm.tendsto).eventually (gt_mem_nhds (by dsimp [R]; linarith)) + have hwnorm : ∀ᶠ t in 𝓝 t₀, ‖w t‖ < R := + ((hw t₀ ht₀).continuousAt.norm.tendsto).eventually (gt_mem_nhds (by rw [← heq]; dsimp [R]; linarith)) + apply ODE_solution_unique_of_eventually + (v := schrodingerInteractionField k hk m) (s := fun _ => closedBall 0 R) + (K := ⟨K, hK⟩) ?_ ?_ ?_ heq + · exact Eventually.of_forall (fun t => by + apply LipschitzOnWith.of_dist_le_mul + intro f hf g hg + rw [dist_eq_norm, dist_eq_norm] + change ‖schrodingerInteractionField k hk m t f - schrodingerInteractionField k hk m t g‖ ≤ + K * ‖f - g‖ + exact hlip t f g (by simpa using hf) (by simpa using hg)) + · filter_upwards [hJ.mem_nhds ht₀, hvnorm] with t ht hn + exact ⟨hv t ht, by simpa using hn.le⟩ + · filter_upwards [hJ.mem_nhds ht₀, hwnorm] with t ht hn + exact ⟨hw t ht, by simpa using hn.le⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevWeights.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevWeights.lean new file mode 100644 index 0000000000000000000000000000000000000000..fa7ff41ae93021c1578a5e20cf9801597dea4e11 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SobolevWeights.lean @@ -0,0 +1,63 @@ +import Mathlib.Algebra.Module.ZLattice.Summable +import Mathlib.Analysis.InnerProductSpace.PiL2 +import Mathlib.Tactic + +namespace OAI + +/-! +# Summability of the twelve-dimensional Gaussian Sobolev variances + +The exponent restriction in Corollary 1.2 is exactly `α > k + 6`. +We use the Euclidean integer lattice, defined as the integer span of the +standard orthonormal basis, and the existing lattice p-series theorem. +-/ + +namespace DefocusingNLS + +/-- The standard Fourier frequency lattice in twelve dimensions. -/ +noncomputable def frequencyLattice : Submodule ℤ (EuclideanSpace ℝ (Fin 12)) := + Submodule.span ℤ (Set.range (EuclideanSpace.basisFun (Fin 12) ℝ).toBasis) + +instance : DiscreteTopology frequencyLattice := by + unfold frequencyLattice + infer_instance + +instance : IsZLattice ℝ frequencyLattice := by + unfold frequencyLattice + infer_instance + +/-- The frequency lattice has integer rank twelve. -/ +theorem frequencyLattice_rank : Module.finrank ℤ frequencyLattice = 12 := by + rw [ZLattice.rank ℝ frequencyLattice] + exact finrank_euclideanSpace_fin + +/-- The square Sobolev weights of the Gaussian coefficients are summable. +The lattice norm here is the Euclidean norm, as in the manuscript. -/ +theorem summable_sobolev_variances (k α : ℝ) (hα : k + 6 < α) : + Summable (fun n : frequencyLattice => (1 + ‖n‖ ^ 2) ^ (k - α)) := by + classical + have hexp : k - α < 0 := by linarith + have hlattice : Summable (fun n : frequencyLattice => ‖n‖ ^ (2 * (k - α))) := by + apply ZLattice.summable_norm_rpow frequencyLattice + rw [frequencyLattice_rank] + norm_num + linarith + have hsingle : Summable (fun n : frequencyLattice => if n = 0 then (1 : ℝ) else 0) := + (hasSum_ite_eq 0 1).summable + apply Summable.of_nonneg_of_le (fun n => Real.rpow_nonneg (by positivity) _) _ + (hsingle.add hlattice) + intro n + by_cases hn : n = 0 + · simp [hn, Real.zero_rpow (by linarith : 2 * (k - α) ≠ 0)] + · have hnorm : 0 < ‖n‖ := norm_pos_iff.mpr hn + simp only [hn, ↓reduceIte, zero_add] + calc + (1 + ‖n‖ ^ 2) ^ (k - α) ≤ (‖n‖ ^ 2) ^ (k - α) := + Real.rpow_le_rpow_of_nonpos (by positivity) (by linarith) hexp.le + _ = ‖n‖ ^ (2 * (k - α)) := by + rw [Real.rpow_mul (norm_nonneg n)] + norm_num + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeBallObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeBallObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..6ec0f9bc1f4edbe3218dd9ed91b7b8457a133aae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeBallObservation.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingSpacetimeObservation + +namespace OAI + +/-! # Continuous compact-ball observations of a local space-time limit -/ + +open Set Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def spacetimeBallPath (T R : ℝ) (v : C(Icc (0 : ℝ) T × E, ℂ)) : + C(Icc (0 : ℝ) T, C(Metric.closedBall (0 : E) R, ℂ)) := + ContinuousMap.curry (v.comp + ⟨fun p => (p.1, (p.2 : E)), continuous_fst.prodMk (continuous_subtype_val.comp continuous_snd)⟩) + +@[simp] theorem spacetimeBallPath_apply (T R : ℝ) (v : C(Icc (0 : ℝ) T × E, ℂ)) + (t : Icc (0 : ℝ) T) (y : Metric.closedBall (0 : E) R) : + spacetimeBallPath T R v t y = v (t, (y : E)) := rfl + +theorem continuous_spacetimeBallPath (T R : ℝ) : Continuous (spacetimeBallPath T R) := by + exact ContinuousMap.continuous_curry.comp (ContinuousMap.continuous_precomp + (⟨fun p => (p.1, (p.2 : E)), + continuous_fst.prodMk (continuous_subtype_val.comp continuous_snd)⟩ : + C(Icc (0 : ℝ) T × Metric.closedBall (0 : E) R, Icc (0 : ℝ) T × E))) + +theorem spacetimeBallPath_norm_le (T R B : ℝ) (hB : 0 ≤ B) + (v : C(Icc (0 : ℝ) T × E, ℂ)) (hv : ∀ t y, ‖v (t, y)‖ ≤ B) + (t : Icc (0 : ℝ) T) : ‖spacetimeBallPath T R v t‖ ≤ B := + (ContinuousMap.norm_le _ hB).mpr (fun y => hv t y) + +theorem spacetimeBallPath_expanding (a k L T R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (u : C(Icc (0 : ℝ) T, FourierL2)) (t : Icc (0 : ℝ) T) : + spacetimeBallPath T R (expandingSpacetimePath a k L T ha ha1 hk hL u) t = + expandingPhysicalBall a k (expandingRadius L t) R ha ha1 hk + (hL.trans (expandingRadius_ge L t hL t.2.1)) (u t) := by + ext y + simp only [spacetimeBallPath_apply, expandingSpacetimePath_apply, expandingPhysicalBall_apply] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeObservationIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeObservationIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..30bc00db7934244b281364432a93921a9ceda9a3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeObservationIntegral.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SpacetimeBallObservation +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! # Passage to the limit in the compact-observation energy integral -/ + +open Set MeasureTheory Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem tendsto_spacetime_observation_integral (T R B c C : ℝ) + (hT : 0 ≤ T) (hB : 0 ≤ B) (hc : 0 ≤ c) (hC : 0 ≤ C) + (u : ℕ → C(Icc (0 : ℝ) T × E, ℂ)) (v : C(Icc (0 : ℝ) T × E, ℂ)) + (hu : ∀ n t y, ‖u n (t, y)‖ ≤ B) (hv : Tendsto u atTop (𝓝 v)) : + Tendsto (fun n => ∫ s in (0 : ℝ)..T, Real.exp (-c * (T - s)) * + (C * ‖spacetimeBallPath T R (u n) (projIcc 0 T hT s)‖ ^ 2)) atTop + (𝓝 (∫ s in (0 : ℝ)..T, Real.exp (-c * (T - s)) * + (C * ‖spacetimeBallPath T R v (projIcc 0 T hT s)‖ ^ 2))) := by + let p := projIcc 0 T hT + have hpath := (continuous_spacetimeBallPath T R).continuousAt.tendsto.comp hv + have hs (s : ℝ) : Tendsto (fun n => spacetimeBallPath T R (u n) (p s)) atTop + (𝓝 (spacetimeBallPath T R v (p s))) := + (continuous_eval_const (p s)).continuousAt.tendsto.comp hpath + have h := tendsto_integral_of_dominated_convergence (μ := volume.restrict (Icc 0 T)) + (fun _ => C * B ^ 2) + (fun n => (show Continuous (fun s => Real.exp (-c * (T - s)) * + (C * ‖spacetimeBallPath T R (u n) (p s)‖ ^ 2)) by + exact (by fun_prop : Continuous (fun s : ℝ => Real.exp (-c * (T - s)))).mul + (continuous_const.mul (((spacetimeBallPath T R (u n)).continuous.comp + continuous_projIcc).norm.pow 2))).aestronglyMeasurable) + (integrableOn_const isCompact_Icc.measure_ne_top) + (fun n => by + filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs + have hb := spacetimeBallPath_norm_le T R B hB (u n) (hu n) (p s) + have he : Real.exp (-c * (T - s)) ≤ 1 := Real.exp_le_one_iff.mpr + (by nlinarith [mul_nonneg hc (sub_nonneg.mpr hs.2)]) + rw [Real.norm_eq_abs, abs_of_nonneg (by positivity)] + calc + _ ≤ 1 * (C * ‖spacetimeBallPath T R (u n) (p s)‖ ^ 2) := + mul_le_mul_of_nonneg_right he (by positivity) + _ ≤ C * B ^ 2 := by simpa only [one_mul] using + mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) hb 2) hC) + (ae_of_all _ (fun s => tendsto_const_nhds.mul (tendsto_const_nhds.mul ((hs s).norm.pow 2)))) + simpa only [intervalIntegral.integral_of_le hT, ← integral_Icc_eq_integral_Ioc, p] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeStableObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeStableObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..f68eb11ff0a831a18dd74f8b812aa01810b2462f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/SpacetimeStableObservation.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SpacetimeBallObservation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalMap +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ObservationDecay + +namespace OAI + +/-! # Whole-space decay bounds the compact observation independently of the slab -/ + +open Set MeasureTheory + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem spacetimeBallPath_norm_le_homogeneous (a k T R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (v : C(Icc (0 : ℝ) T × E, ℂ)) (w : Icc (0 : ℝ) T → HomogeneousY a k) + (hw : ∀ t y, v (t, y) = homogeneousPhysicalCLM a k ha ha1 hk (w t) y) + (t : Icc (0 : ℝ) T) : + ‖spacetimeBallPath T R v t‖ ≤ ‖homogeneousPhysicalCLM a k ha ha1 hk‖ * ‖w t‖ := by + apply (ContinuousMap.norm_le _ (by positivity)).mpr + intro y + rw [spacetimeBallPath_apply, hw] + exact (BoundedContinuousFunction.norm_coe_le_norm _ _).trans + ((homogeneousPhysicalCLM a k ha ha1 hk).le_opNorm _) + +theorem spacetime_stable_observation_integral_le (a k T R C A η : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (hC : 0 ≤ C) (_hA : 0 ≤ A) (c : ℝ) + (v : C(Icc (0 : ℝ) T × E, ℂ)) (w : Icc (0 : ℝ) T → HomogeneousY a k) + (hw : ∀ t y, v (t, y) = homogeneousPhysicalCLM a k ha ha1 hk (w t) y) + (hdecay : ∀ t, ‖w t‖ ≤ A * Real.exp (-η * (t : ℝ))) : + (∫ s in (0 : ℝ)..T, Real.exp (-c * (T - s)) * + (C * ‖spacetimeBallPath T R v (projIcc 0 T hT s)‖ ^ 2)) ≤ + (C * (‖homogeneousPhysicalCLM a k ha ha1 hk‖ * A) ^ 2) * + observationDecayIntegral c (2 * η) T := by + let B : ℝ := ‖homogeneousPhysicalCLM a k ha ha1 hk‖ * A + have heq (s : ℝ) : (B * Real.exp (-η * s)) ^ 2 = + B ^ 2 * Real.exp (-(2 * η) * s) := by + rw [mul_pow, ← Real.exp_nat_mul] + congr 2 + push_cast + ring + have hi : IntervalIntegrable (fun s : ℝ => Real.exp (-c * (T - s)) * + (C * ‖spacetimeBallPath T R v (projIcc 0 T hT s)‖ ^ 2)) volume 0 T := + ((by fun_prop : Continuous (fun s : ℝ => Real.exp (-c * (T - s)))).mul + (continuous_const.mul (((spacetimeBallPath T R v).continuous.comp + continuous_projIcc).norm.pow 2))).intervalIntegrable _ _ + have hj : IntervalIntegrable (fun s : ℝ => + (C * B ^ 2) * (Real.exp (-c * (T - s)) * Real.exp (-(2 * η) * s))) volume 0 T := + (by fun_prop : Continuous (fun s : ℝ => + (C * B ^ 2) * (Real.exp (-c * (T - s)) * Real.exp (-(2 * η) * s)))).intervalIntegrable _ _ + have hb (s : ℝ) (hs : s ∈ Icc 0 T) : + ‖spacetimeBallPath T R v (projIcc 0 T hT s)‖ ≤ B * Real.exp (-η * s) := by + have hp : (projIcc 0 T hT s : ℝ) = s := congrArg Subtype.val (projIcc_of_mem hT hs) + calc + _ ≤ ‖homogeneousPhysicalCLM a k ha ha1 hk‖ * ‖w (projIcc 0 T hT s)‖ := + spacetimeBallPath_norm_le_homogeneous a k T R ha ha1 hk v w hw _ + _ ≤ ‖homogeneousPhysicalCLM a k ha ha1 hk‖ * (A * Real.exp (-η * s)) := by + simpa only [hp] using mul_le_mul_of_nonneg_left (hdecay (projIcc 0 T hT s)) + (norm_nonneg (homogeneousPhysicalCLM a k ha ha1 hk)) + _ = _ := (mul_assoc _ _ _).symm + have h := intervalIntegral.integral_mono_on hT hi hj (fun s hs => by + calc + _ ≤ Real.exp (-c * (T - s)) * (C * (B * Real.exp (-η * s)) ^ 2) := by + gcongr + exact hb s hs + _ = _ := by rw [heq]; ring) + simpa only [intervalIntegral.integral_const_mul, observationDecayIntegral, B] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusCircularPotential.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusCircularPotential.lean new file mode 100644 index 0000000000000000000000000000000000000000..e87366e147f01ea30e425e113073e64fd244155a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusCircularPotential.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.UnitTorusPolynomial +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusPrincipalPotential +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusConjugation + +namespace OAI + +/-! # The two physical multiplication blocks of the actual principal potential -/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure T) +noncomputable local instance torusCircularPotentialMeasure : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusCircularPotentialProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +attribute [local irreducible] torusPrincipalPotential torusL2Product torusL2Conjugation + expandingCircularCoefficient expandingAnticircularCoefficient + +theorem torusPrincipalPotential_circular (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (m : ℕ) (q : FourierL2) + (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : T, ‖expandingUnitTorusFunction a k L q x‖ ^ (2 * m) ≤ M) (v : H) : + torusPrincipalPotential m (expandingUnitTorusFunction a k L q) + (expandingUnitTorusFunction a k L q).continuous M hM hQB v = + (-Complex.I) • + (torusL2Product (expandingUnitTorusFunction a k L + (expandingCircularCoefficient a k L ha ha1 hk hL m q)) v + + torusL2Product (expandingUnitTorusFunction a k L + (expandingAnticircularCoefficient a k L ha ha1 hk hL m q)) (torusL2Conjugation v)) := by + let A := expandingUnitTorusFunction a k L (expandingCircularCoefficient a k L ha ha1 hk hL m q) + let B := expandingUnitTorusFunction a k L (expandingAnticircularCoefficient a k L ha ha1 hk hL m q) + have hp : torusPrincipalPotential m (expandingUnitTorusFunction a k L q) + (expandingUnitTorusFunction a k L q).continuous M hM hQB v =ᵐ[volume] + (fun x => -Complex.I * oddPowerDerivative m (expandingUnitTorusFunction a k L q x) (v x)) := by + unfold torusPrincipalPotential + exact torusPrincipalAction_ae m (expandingUnitTorusFunction a k L q) + (expandingUnitTorusFunction a k L q).continuous M hM hQB v + apply Lp.ext + filter_upwards [hp, torusL2Product_ae A v, torusL2Product_ae B (torusL2Conjugation v), + torusL2Conjugation_ae v, Lp.coeFn_add (torusL2Product A v) (torusL2Product B (torusL2Conjugation v)), + Lp.coeFn_smul (-Complex.I) (torusL2Product A v + torusL2Product B (torusL2Conjugation v))] + with x hp hA hB hJ hadd hsmul + rw [hp, hsmul] + simp only [Pi.smul_apply, smul_eq_mul] + rw [hadd] + simp only [Pi.add_apply] + rw [hA, hB, hJ] + dsimp only [A, B] + rw [expandingCircular_unit a k L ha ha1 hk hL, expandingAnticircular_unit a k L ha ha1 hk hL] + simp only [oddPowerDerivative, add_apply, smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul, starRingEnd_apply] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusCompactWeightIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusCompactWeightIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..efffe73d0e7547bdade82d3cb2e62f2a462485bc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusCompactWeightIntegral.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzNormSquare +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPeriodizationWeighted + +namespace OAI + +/-! # Exact weighted physical integration for a compactly supported torus coefficient -/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "T" => UnitAddTorus (Fin 12) +noncomputable local instance torusCompactWeightMeasure : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusCompactWeightProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +theorem separatedSchwartz_torus_weighted_integral (L R : ℝ) (hL : 0 < L) + (hLR : 2 * R < 2 * Real.pi * L) (K : 𝓢(E, ℂ)) + (hK : ∀ y : E, R < ‖y‖ → K y = 0) (u : C(T, ℂ)) : + (2 * Real.pi * L) ^ 12 * (∫ x : T, + ‖schwartzPeriodizedTorus (periodizationRescale L hL K) x * u x‖ ^ 2) = + ∫ y : E, ‖K y * u (unitTorusProjection ((2 * Real.pi * L)⁻¹ • y))‖ ^ 2 := by + let D := 2 * Real.pi * L + have hD : 0 < D := by dsimp only [D]; positivity + let e : C(E, ℂ) := + ⟨fun x => (‖u (unitTorusProjection x)‖ ^ 2 : ℝ), by + exact Complex.continuous_ofReal.comp + ((u.continuous.comp unitTorusProjection_isOpenQuotientMap.continuous).norm.pow 2)⟩ + have he : ∀ x, ‖e x‖ ≤ ‖u‖ ^ 2 := by + intro x + change ‖((‖u (unitTorusProjection x)‖ ^ 2 : ℝ) : ℂ)‖ ≤ ‖u‖ ^ 2 + rw [Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] + exact pow_le_pow_left₀ (norm_nonneg _) (u.norm_coe_le_norm _) 2 + have hp : ∀ (x : E) (n : frequencyLattice), e (x + n) = e x := by + intro x n + change Complex.ofReal (‖u (unitTorusProjection (x + n))‖ ^ 2) = + Complex.ofReal (‖u (unitTorusProjection x)‖ ^ 2) + rw [unitTorusProjection_add_lattice] + have hw := schwartzPeriodization_weighted_integral + (periodizationRescale L hL (schwartzNormSquare K)) e (‖u‖ ^ 2) (sq_nonneg _) he hp + have hleft : Complex.ofReal (∫ x : T, + ‖schwartzPeriodizedTorus (periodizationRescale L hL K) x * u x‖ ^ 2) = + ∫ x in frequencyCell, e x * schwartzPeriodization (periodizationRescale L hL (schwartzNormSquare K)) x := by + rw [← integral_complex_ofReal, unitTorus_integral_eq_frequencyCell] + apply integral_congr_ae + filter_upwards [] with x + rw [schwartzPeriodizedTorus_projection, separatedSchwartz_periodization_normSquare L R hL hLR K hK] + rw [norm_mul, mul_pow, Complex.ofReal_mul] + dsimp only [e, ContinuousMap.coe_mk] + ring + let F : E → ℝ := fun y => ‖K y * u (unitTorusProjection (D⁻¹ • y))‖ ^ 2 + have hfun : (fun x : E => e x * periodizationRescale L hL (schwartzNormSquare K) x) = + fun x => (F (D • x) : ℂ) := by + funext x + change (‖u (unitTorusProjection x)‖ ^ 2 : ℝ) * + periodizationRescale L hL (schwartzNormSquare K) x = _ + rw [periodizationRescale_apply, schwartzNormSquare_apply] + dsimp only [F] + rw [smul_smul, inv_mul_cancel₀ hD.ne', one_smul, norm_mul, mul_pow, Complex.ofReal_mul] + ring + rw [hfun, integral_complex_ofReal] at hw + rw [Measure.integral_comp_smul_of_nonneg volume F D (hR := hD.le)] at hw + simp only [finrank_euclideanSpace_fin, smul_eq_mul] at hw + have hr := Complex.ofReal_injective (hleft.trans hw) + change D ^ 12 * _ = ∫ y : E, F y + rw [hr] + rw [← mul_assoc, mul_inv_cancel₀ (pow_ne_zero 12 hD.ne'), one_mul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusConjugation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusConjugation.lean new file mode 100644 index 0000000000000000000000000000000000000000..f3ee2b637e51fcea14067dcb70434ee8ace2e4f8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusConjugation.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusL2Product +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevConjugation + +namespace OAI + +/-! # Physical complex conjugation under the torus Fourier isometry -/ + +open MeasureTheory +open scoped ComplexConjugate + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure T) +noncomputable local instance torusConjugationMeasure : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusConjugationProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +noncomputable def torusL2Conjugation : H →L[ℝ] H := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).toContinuousLinearMap.compLpL 2 volume + +theorem torusL2Conjugation_ae (f : H) : torusL2Conjugation f =ᵐ[volume] (fun x => conj (f x)) := + ContinuousLinearMap.coeFn_compLpL _ f + +theorem torusL2Conjugation_coefficient (f : H) (n : Fin 12 → ℤ) : + UnitAddTorus.mFourierCoeff (torusL2Conjugation f) n = + conj (UnitAddTorus.mFourierCoeff f (-n)) := by + unfold UnitAddTorus.mFourierCoeff + rw [← integral_conj] + apply integral_congr_ae + filter_upwards [torusL2Conjugation_ae f] with x hx + simp only [hx, neg_neg, smul_eq_mul, map_mul, UnitAddTorus.mFourier_neg] + +theorem torusFourierIsometry_conjugate (f : FourierL2) : + torusFourierIsometry (fourierConjugate f) = torusL2Conjugation (torusFourierIsometry f) := by + apply UnitAddTorus.mFourierBasis.repr.injective + ext i + obtain ⟨n, rfl⟩ := frequencyCoordinatesEquiv.surjective i + rw [UnitAddTorus.mFourierBasis_repr, UnitAddTorus.mFourierBasis_repr] + change UnitAddTorus.mFourierCoeff (torusFourierIsometry (fourierConjugate f)) (frequencyCoordinates n) = + UnitAddTorus.mFourierCoeff (torusL2Conjugation (torusFourierIsometry f)) (frequencyCoordinates n) + rw [torusL2Conjugation_coefficient, torusFourierIsometry_coefficient] + have hn : -frequencyCoordinates n = frequencyCoordinates (-n) := by + exact (frequencyCoordinatesEquiv.map_neg n).symm + rw [hn, torusFourierIsometry_coefficient, fourierConjugate_apply] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDerivatives.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDerivatives.lean new file mode 100644 index 0000000000000000000000000000000000000000..b8b6afd59f8ba4f12f4aeb775e90116f751b35ba --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDerivatives.lean @@ -0,0 +1,224 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerTorus +import Mathlib.Analysis.Calculus.SmoothSeries + +namespace OAI + +/-! +# Coordinate derivatives of the torus Fourier series + +For `k>8`, the continuous Fourier Laplacian agrees with the sum of the +ordinary second derivatives along the twelve coordinate circles. +-/ + +open Filter Topology +open scoped ENNReal + +namespace DefocusingNLS + +theorem frequencyCoordinates_coe (n : frequencyLattice) (j : Fin 12) : + (frequencyCoordinates n j : ℝ) = (n : EuclideanSpace ℝ (Fin 12)) j := by + simpa [frequencyCoordinates, OrthonormalBasis.coe_toBasis_repr_apply] using + (EuclideanSpace.basisFun (Fin 12) ℝ).toBasis.restrictScalars_repr_apply ℤ n j + +theorem frequencyCoordinates_sq_sum (n : frequencyLattice) : + ∑ j : Fin 12, (frequencyCoordinates n j : ℝ) ^ 2 = ‖n‖ ^ 2 := by + simp_rw [frequencyCoordinates_coe] + exact (EuclideanSpace.real_norm_sq_eq (n : EuclideanSpace ℝ (Fin 12))).symm + +theorem frequencyCoordinates_sq_le (n : frequencyLattice) (j : Fin 12) : + (frequencyCoordinates n j : ℝ) ^ 2 ≤ ‖n‖ ^ 2 := by + rw [← frequencyCoordinates_sq_sum] + exact Finset.single_le_sum (f := fun i : Fin 12 => (frequencyCoordinates n i : ℝ) ^ 2) + (fun i _ => sq_nonneg _) (Finset.mem_univ j) + +theorem frequencyCoordinates_abs_le (n : frequencyLattice) (j : Fin 12) : + |(frequencyCoordinates n j : ℝ)| ≤ 1 + ‖n‖ ^ 2 := by + have h := frequencyCoordinates_sq_le n j + have hs := sq_nonneg (|(frequencyCoordinates n j : ℝ)| - 1) + nlinarith [abs_nonneg (frequencyCoordinates n j : ℝ), + sq_abs (frequencyCoordinates n j : ℝ)] + +/-- The real parameter `t` moves along the `j`th coordinate circle. -/ +noncomputable def torusCoordinateLine (x : SchrodingerTorus) (j : Fin 12) (t : ℝ) : + SchrodingerTorus := x + fun l => if l = j then (t : AddCircle (2 * Real.pi)) else 0 + +@[simp] theorem torusCoordinateLine_zero (x : SchrodingerTorus) (j : Fin 12) : + torusCoordinateLine x j 0 = x := by + ext l + simp [torusCoordinateLine] + +theorem torusCharacter_add (n : frequencyLattice) (x y : SchrodingerTorus) : + torusCharacter n (x + y) = torusCharacter n x * torusCharacter n y := by + simp only [torusCharacter, ContinuousMap.coe_mk, Pi.add_apply, fourier_apply, + smul_add, AddCircle.toCircle_add, Circle.coe_mul, Finset.prod_mul_distrib] + +theorem torusCharacter_coordinateLine (n : frequencyLattice) (x : SchrodingerTorus) + (j : Fin 12) (t : ℝ) : + torusCharacter n (torusCoordinateLine x j t) = + torusCharacter n x * fourier (frequencyCoordinates n j) (t : AddCircle (2 * Real.pi)) := by + rw [torusCoordinateLine, torusCharacter_add] + congr 1 + have hz (m : ℤ) : fourier m (0 : AddCircle (2 * Real.pi)) = 1 := by + simp [fourier_apply] + simp only [torusCharacter, ContinuousMap.coe_mk, apply_ite, hz] + simp + +/-- Each torus character has its expected coordinate derivative. -/ +theorem hasDerivAt_torusCharacter_coordinateLine (n : frequencyLattice) + (x : SchrodingerTorus) (j : Fin 12) (t : ℝ) : + HasDerivAt (fun s => torusCharacter n (torusCoordinateLine x j s)) + (Complex.I * (frequencyCoordinates n j : ℂ) * + torusCharacter n (torusCoordinateLine x j t)) t := by + have h := (hasDerivAt_fourier (2 * Real.pi) (frequencyCoordinates n j) t).const_mul + (torusCharacter n x) + have hp : (Real.pi : ℂ) ≠ 0 := by exact_mod_cast Real.pi_ne_zero + simp only [Complex.ofReal_mul, Complex.ofReal_ofNat] at h + simpa only [torusCharacter_coordinateLine] using + h.congr_deriv (by field_simp) + +theorem summable_quadratic_sobolev_coefficients (k : ℝ) (hk : 8 < k) (f : FourierL2) : + Summable (fun n : frequencyLattice => ‖n‖ ^ 2 * ‖sobolevFourierCoefficient k f n‖) := by + have h := summable_norm_sobolevFourierCoefficient (k - 2) (by linarith) + (-Complex.I • lowerSobolevGenerator f) + simpa only [sobolevFourierCoefficient_laplacian, norm_mul, norm_neg, Complex.norm_real, + Real.norm_eq_abs, abs_pow, abs_norm] using h + +theorem summable_derivative_bound (k : ℝ) (hk : 8 < k) (f : FourierL2) : + Summable (fun n : frequencyLattice => (1 + ‖n‖ ^ 2) * + ‖sobolevFourierCoefficient k f n‖) := by + simpa only [add_mul, one_mul] using + (summable_norm_sobolevFourierCoefficient k (by linarith) f).add + (summable_quadratic_sobolev_coefficients k hk f) + +/-- First coordinate derivative, represented by its absolutely convergent Fourier series. -/ +noncomputable def torusPartial (k : ℝ) (f : FourierL2) (j : Fin 12) + (x : SchrodingerTorus) : ℂ := + ∑' n, Complex.I * (frequencyCoordinates n j : ℂ) * sobolevFourierCoefficient k f n * + torusCharacter n x + +/-- Second coordinate derivative, represented by its absolutely convergent Fourier series. -/ +noncomputable def torusSecondPartial (k : ℝ) (f : FourierL2) (j : Fin 12) + (x : SchrodingerTorus) : ℂ := + ∑' n, -(frequencyCoordinates n j : ℂ) ^ 2 * sobolevFourierCoefficient k f n * + torusCharacter n x + +lemma torusPartial_term_bound (k : ℝ) (f : FourierL2) (n : frequencyLattice) + (j : Fin 12) (x : SchrodingerTorus) : + ‖Complex.I * (frequencyCoordinates n j : ℂ) * sobolevFourierCoefficient k f n * + torusCharacter n x‖ ≤ (1 + ‖n‖ ^ 2) * ‖sobolevFourierCoefficient k f n‖ := by + simp only [norm_mul, Complex.norm_I, one_mul, torusCharacter_norm_apply, mul_one, + Complex.norm_intCast] + exact mul_le_mul_of_nonneg_right (frequencyCoordinates_abs_le n j) (norm_nonneg _) + +lemma torusSecondPartial_term_bound (k : ℝ) (f : FourierL2) (n : frequencyLattice) + (j : Fin 12) (x : SchrodingerTorus) : + ‖-(frequencyCoordinates n j : ℂ) ^ 2 * sobolevFourierCoefficient k f n * + torusCharacter n x‖ ≤ ‖n‖ ^ 2 * ‖sobolevFourierCoefficient k f n‖ := by + simp only [norm_mul, norm_neg, norm_pow, Complex.norm_intCast, sq_abs, + torusCharacter_norm_apply, mul_one] + exact mul_le_mul_of_nonneg_right (frequencyCoordinates_sq_le n j) (norm_nonneg _) + +/-- Termwise differentiation of the Fourier series gives the actual first coordinate derivative. -/ +theorem hasDerivAt_torusFunction_coordinateLine (k : ℝ) (hk : 8 < k) (f : FourierL2) + (x : SchrodingerTorus) (j : Fin 12) (t : ℝ) : + HasDerivAt (fun s => sobolevTorusFunction k f (torusCoordinateLine x j s)) + (torusPartial k f j (torusCoordinateLine x j t)) t := by + have h := hasDerivAt_tsum (summable_derivative_bound k hk f) + (y₀ := (0 : ℝ)) + (g := fun n s => sobolevFourierCoefficient k f n * + torusCharacter n (torusCoordinateLine x j s)) + (g' := fun n s => Complex.I * (frequencyCoordinates n j : ℂ) * + sobolevFourierCoefficient k f n * torusCharacter n (torusCoordinateLine x j s)) + (fun n s => ((hasDerivAt_torusCharacter_coordinateLine n x j s).const_mul + (sobolevFourierCoefficient k f n)).congr_deriv (by ring)) + (fun n s => torusPartial_term_bound k f n j _) + ((summable_norm_sobolevFourierCoefficient k (by linarith) f).of_norm_bounded (by + intro n + simp)) t + convert h using 1 + · funext s + rw [sobolevTorusFunction_apply k (by linarith)] + exact (hasSum_sobolevPointEvaluation k (by linarith) _ f).tsum_eq.symm + · rfl + +/-- The derivative of the first coordinate derivative is the stated second series. -/ +theorem hasDerivAt_torusPartial_coordinateLine (k : ℝ) (hk : 8 < k) (f : FourierL2) + (x : SchrodingerTorus) (j : Fin 12) (t : ℝ) : + HasDerivAt (fun s => torusPartial k f j (torusCoordinateLine x j s)) + (torusSecondPartial k f j (torusCoordinateLine x j t)) t := by + have h := hasDerivAt_tsum (summable_quadratic_sobolev_coefficients k hk f) + (y₀ := (0 : ℝ)) + (g := fun n s => Complex.I * (frequencyCoordinates n j : ℂ) * + sobolevFourierCoefficient k f n * torusCharacter n (torusCoordinateLine x j s)) + (g' := fun n s => -(frequencyCoordinates n j : ℂ) ^ 2 * + sobolevFourierCoefficient k f n * torusCharacter n (torusCoordinateLine x j s)) + (fun n s => ((hasDerivAt_torusCharacter_coordinateLine n x j s).const_mul + (Complex.I * (frequencyCoordinates n j : ℂ) * sobolevFourierCoefficient k f n)).congr_deriv + (by + linear_combination (frequencyCoordinates n j : ℂ) ^ 2 * + sobolevFourierCoefficient k f n * torusCharacter n (torusCoordinateLine x j s) * + Complex.I_sq)) + (fun n s => torusSecondPartial_term_bound k f n j _) + ((summable_derivative_bound k hk f).of_norm_bounded (torusPartial_term_bound k f · j _)) t + exact h + +/-- The ordinary coordinate Laplacian equals the continuous spectral Laplacian. -/ +theorem sum_torusSecondPartial_eq_laplacian (k : ℝ) (hk : 8 < k) (f : FourierL2) + (x : SchrodingerTorus) : + ∑ j : Fin 12, torusSecondPartial k f j x = torusFourierLaplacian k f x := by + have hsum := hasSum_sum (s := Finset.univ) (fun j _ => + ((summable_quadratic_sobolev_coefficients k hk f).of_norm_bounded + (torusSecondPartial_term_bound k f · j x)).hasSum) + have hterms (n : frequencyLattice) : + ∑ j : Fin 12, -(frequencyCoordinates n j : ℂ) ^ 2 * + sobolevFourierCoefficient k f n * torusCharacter n x = + -((‖n‖ ^ 2 : ℝ) : ℂ) * sobolevFourierCoefficient k f n * torusCharacter n x := by + rw [← Finset.sum_mul, ← Finset.sum_mul, Finset.sum_neg_distrib] + have hn : (∑ j : Fin 12, (frequencyCoordinates n j : ℂ) ^ 2) = + ((‖n‖ ^ 2 : ℝ) : ℂ) := by exact_mod_cast frequencyCoordinates_sq_sum n + rw [hn] + simp_rw [hterms] at hsum + exact hsum.unique (hasSum_torusFourierLaplacian k hk f x) + +theorem torusFunction_first_derivative (k : ℝ) (hk : 8 < k) (f : FourierL2) + (x : SchrodingerTorus) (j : Fin 12) (t : ℝ) : + deriv (fun s => sobolevTorusFunction k f (torusCoordinateLine x j s)) t = + torusPartial k f j (torusCoordinateLine x j t) := + (hasDerivAt_torusFunction_coordinateLine k hk f x j t).deriv + +theorem torusFunction_second_derivative (k : ℝ) (hk : 8 < k) (f : FourierL2) + (x : SchrodingerTorus) (j : Fin 12) (t : ℝ) : + deriv (deriv (fun s => sobolevTorusFunction k f (torusCoordinateLine x j s))) t = + torusSecondPartial k f j (torusCoordinateLine x j t) := by + have h : deriv (fun s => sobolevTorusFunction k f (torusCoordinateLine x j s)) = + fun s => torusPartial k f j (torusCoordinateLine x j s) := + funext (torusFunction_first_derivative k hk f x j) + rw [h] + exact (hasDerivAt_torusPartial_coordinateLine k hk f x j t).deriv + +/-- The Fourier Laplacian is the sum of the ordinary coordinate second derivatives. -/ +theorem sum_coordinate_second_derivative_eq_laplacian (k : ℝ) (hk : 8 < k) + (f : FourierL2) (x : SchrodingerTorus) : + ∑ j : Fin 12, + deriv (deriv (fun s => sobolevTorusFunction k f (torusCoordinateLine x j s))) 0 = + torusFourierLaplacian k f x := by + simp_rw [torusFunction_second_derivative k hk, torusCoordinateLine_zero] + exact sum_torusSecondPartial_eq_laplacian k hk f x + +/-- The free evolution solves `i∂ₜu+Δu=0` with the ordinary torus Laplacian. -/ +theorem freeTorusEvolution_schrodinger_equation (k : ℝ) (hk : 8 < k) + (f : FourierL2) (x : SchrodingerTorus) (t : ℝ) : + Complex.I * deriv (fun s => freeTorusEvolution k f s x) t + + ∑ j : Fin 12, + deriv (deriv (fun s => freeTorusEvolution k f t (torusCoordinateLine x j s))) 0 = 0 := by + change Complex.I * deriv (fun s => freeTorusEvolution k f s x) t + + ∑ j : Fin 12, + deriv (deriv (fun s => sobolevTorusFunction k (schrodingerFlow t f) + (torusCoordinateLine x j s))) 0 = 0 + rw [sum_coordinate_second_derivative_eq_laplacian k hk, + (hasDerivAt_freeTorusEvolution_point k hk f x t).deriv] + simp [← mul_assoc] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDiscreteLinearData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDiscreteLinearData.lean new file mode 100644 index 0000000000000000000000000000000000000000..341e7724002aa688a014f50109b264ab3010327a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDiscreteLinearData.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusDiscreteRadius + +namespace OAI + +/-! # Uniform stable-graph linear estimates along the expanding orbit -/ + +open scoped NNReal + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem torusLinearStep_discrete {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) + (h : HasTorusLinearStep (F := F) T A) : + ∃ C : ℝ, 0 < C ∧ ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, + ∀ L : Radius, L₀ ≤ L.1 → + ∃ ζ : ℕ → F →L[ℝ] FourierL2, ∃ π : ℕ → FourierL2 →L[ℝ] F, + ∃ D R : F →L[ℝ] F, (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ n v, π n (ζ n v) = v) ∧ + (∀ n, ‖ζ n‖ ≤ 1) ∧ (∀ n, ‖π n‖ ≤ C) ∧ + (∀ n, ‖stableFrameProjection (ζ n) (π n)‖ ≤ C) ∧ + (∀ n, ‖stableProjectedBlock (ζ n) (ζ (n + 1)) (π n) (π (n + 1)) + (A (expandingDiscreteRadius L T n))‖ ≤ 1 / 8) ∧ + (∀ n, ‖stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) + (A (expandingDiscreteRadius L T n))‖ ≤ 1 / 16) ∧ + (∀ n, ‖(π (n + 1)).comp (A (expandingDiscreteRadius L T n)) - + D.comp (π n)‖ ≤ ε) := by + obtain ⟨C, hC, Lb, ζ, π, D, R, hinv, hR, hframe, hbound, hdefect⟩ := h + refine ⟨C, hC, ?_⟩ + intro ε hε + obtain ⟨L₀, hLb, hεL⟩ := hdefect ε hε + refine ⟨L₀, ?_⟩ + intro L hL + have hn (n : ℕ) : L₀ ≤ (expandingDiscreteRadius L T n).1 := + hL.trans (expandingDiscreteRadius_ge L T n) + have hb (n : ℕ) := hbound (expandingDiscreteRadius L T n) (hLb.trans (hn n)) + refine ⟨(fun n => ζ (expandingDiscreteRadius L T n)), + (fun n => π (expandingDiscreteRadius L T n)), D, R, hinv, hR, + (fun n => hframe _ (hLb.trans (hn n))), (fun n => (hb n).1), + (fun n => (hb n).2.1), (fun n => (hb n).2.2.1), ?_, ?_, ?_⟩ + · intro n + simpa only [expandingDiscreteRadius_succ] using (hb n).2.2.2.1 + · intro n + simpa only [expandingDiscreteRadius_succ] using (hb n).2.2.2.2 + · intro n + simpa only [expandingDiscreteRadius_succ] using hεL _ (hn n) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDiscreteRadius.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDiscreteRadius.lean new file mode 100644 index 0000000000000000000000000000000000000000..3a4b1e22e68a5101cee96ec8b8037029f03c8648 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusDiscreteRadius.lean @@ -0,0 +1,39 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusLinearStep + +namespace OAI + +/-! # Equal similarity-time steps in the actual expanding radii -/ + +open scoped NNReal + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +noncomputable def expandingDiscreteRadius (L : Radius) (T : ℝ≥0) (n : ℕ) : Radius := + ⟨expandingRadius L.1 ((n : ℝ) * T), + L.2.trans (expandingRadius_ge L.1 _ L.2 (mul_nonneg (Nat.cast_nonneg n) T.2))⟩ + +theorem expandingDiscreteRadius_ge (L : Radius) (T : ℝ≥0) (n : ℕ) : + L.1 ≤ (expandingDiscreteRadius L T n).1 := + expandingRadius_ge L.1 _ L.2 (mul_nonneg (Nat.cast_nonneg n) T.2) + +@[simp] theorem expandingDiscreteRadius_zero (L : Radius) (T : ℝ≥0) : + expandingDiscreteRadius L T 0 = L := by + apply Subtype.ext + simp [expandingDiscreteRadius, expandingRadius] + +theorem expandingDiscreteRadius_succ (L : Radius) (T : ℝ≥0) (n : ℕ) : + torusEndpointRadius T (expandingDiscreteRadius L T n) = + expandingDiscreteRadius L T (n + 1) := by + apply Subtype.ext + change expandingRadius (expandingRadius L.1 ((n : ℝ) * T)) T = + expandingRadius L.1 (((n + 1 : ℕ) : ℝ) * T) + rw [expandingRadius_add] + congr 1 + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierIsometry.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierIsometry.lean new file mode 100644 index 0000000000000000000000000000000000000000..34351ecf91e11e2739e09bb267ff7c0bc666e764 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierIsometry.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.UnitTorusCoefficients + +namespace OAI + +/-! # The physical L² realization of the frequency lattice + +Reindexing the existing torus Fourier Hilbert basis gives an exact isometry +from the Euclidean lattice model into physical torus L². +-/ + +open MeasureTheory Set + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) + +noncomputable local instance torusFourierIsometryMeasureSpace : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusFourierIsometryProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +noncomputable def torusLatticeBasis : HilbertBasis frequencyLattice ℂ (Lp ℂ 2 (volume : Measure T)) := + HilbertBasis.mk + (UnitAddTorus.mFourierBasis.orthonormal.comp frequencyCoordinatesEquiv + frequencyCoordinatesEquiv.injective) + (by + have he : range (⇑(UnitAddTorus.mFourierBasis (d := Fin 12)) ∘ + ⇑frequencyCoordinatesEquiv) = + range (UnitAddTorus.mFourierBasis (d := Fin 12)) := + frequencyCoordinatesEquiv.surjective.range_comp _ + rw [he] + exact UnitAddTorus.mFourierBasis.dense_span.ge) + +@[simp] theorem torusLatticeBasis_apply (n : frequencyLattice) : + torusLatticeBasis n = UnitAddTorus.mFourierLp 2 (frequencyCoordinates n) := by + rw [torusLatticeBasis, HilbertBasis.coe_mk, UnitAddTorus.coe_mFourierBasis] + rfl + +noncomputable def torusFourierIsometry : FourierL2 ≃ₗᵢ[ℂ] Lp ℂ 2 (volume : Measure T) := + torusLatticeBasis.repr.symm + +theorem torusFourierIsometry_coefficient (f : FourierL2) (n : frequencyLattice) : + UnitAddTorus.mFourierCoeff (torusFourierIsometry f) (frequencyCoordinates n) = f n := by + rw [← UnitAddTorus.mFourierBasis_repr, HilbertBasis.repr_apply_apply, + UnitAddTorus.coe_mFourierBasis, ← torusLatticeBasis_apply, + ← HilbertBasis.repr_apply_apply] + exact congrArg (fun u : FourierL2 => u n) (torusLatticeBasis.repr.apply_symm_apply f) + +theorem torusFourierIsometry_eq_continuous (f : FourierL2) (g : C(T, ℂ)) + (hfg : ∀ n : frequencyLattice, unitTorusCoefficient (frequencyCoordinates n) g = f n) : + torusFourierIsometry f = g.toLp 2 volume ℂ := by + apply torusLatticeBasis.repr.injective + ext n + simp only [HilbertBasis.repr_apply_apply, torusLatticeBasis_apply] + change inner ℂ (UnitAddTorus.mFourierLp 2 (frequencyCoordinates n)) + (torusFourierIsometry f) = unitTorusCoefficient (frequencyCoordinates n) g + rw [hfg, ← torusLatticeBasis_apply, ← HilbertBasis.repr_apply_apply] + exact congrArg (fun u : FourierL2 => u n) (torusLatticeBasis.repr.apply_symm_apply f) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierProduct.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierProduct.lean new file mode 100644 index 0000000000000000000000000000000000000000..bdc39ef0787b0ecd67cd2a7f612e88565418bbab --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierProduct.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusFourierTranslation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusL2Coefficient + +namespace OAI + +/-! # Absolutely convergent Fourier multiplication in physical L² -/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +noncomputable local instance torusFourierProductMeasureSpace : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusFourierProductProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +theorem torusFourierIsometry_convolution (a : frequencyLattice → ℂ) + (ha : Summable (fun n => ‖a n‖)) (f : FourierL2) : + torusFourierIsometry (fourierConvolution a f) = + torusL2Product (∑' n, a n • UnitAddTorus.mFourier (frequencyCoordinates n)) + (torusFourierIsometry f) := by + have hs : Summable (fun n => a n • UnitAddTorus.mFourier (frequencyCoordinates n)) := by + apply Summable.of_norm + simpa only [norm_smul, UnitAddTorus.mFourier_norm, mul_one] using ha + have hleft := (summable_fourierConvolution_terms a ha f).hasSum.mapL + torusFourierIsometry.toContinuousLinearEquiv.toContinuousLinearMap + have hright := hs.hasSum.mapL (torusL2Coefficient (torusFourierIsometry f)) + have he : (fun n => torusFourierIsometry (a n • fourierTranslation n f)) = + (fun n => torusL2Coefficient (torusFourierIsometry f) + (a n • UnitAddTorus.mFourier (frequencyCoordinates n))) := by + funext n + rw [map_smul, map_smul, torusL2Coefficient_apply, torusFourierIsometry_translation] + apply hleft.unique + change HasSum (fun n => torusFourierIsometry (a n • fourierTranslation n f)) _ + rw [he] + exact hright + +theorem torusFourierIsometry_expanding_convolution (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (q f : FourierL2) : + torusFourierIsometry (fourierConvolution (expandingFourierCoefficient a k L q) f) = + torusL2Product (expandingUnitTorusFunction a k L q) (torusFourierIsometry f) := by + exact torusFourierIsometry_convolution _ + (summable_norm_expandingFourierCoefficient a k L ha ha1 hk hL q) f + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierTranslation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierTranslation.lean new file mode 100644 index 0000000000000000000000000000000000000000..dafab7897199c9cf989c6e2a4c906c0ea0112708 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFourierTranslation.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusL2Product +import OAI.MathematicalPhysics.DefocusingNLS.Linear.FourierConvolution + +namespace OAI + +/-! # Fourier translation is multiplication by the physical character -/ + +open MeasureTheory +open scoped ENNReal + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +noncomputable local instance torusFourierTranslationMeasureSpace : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusFourierTranslationProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +theorem torusFourierIsometry_single (n : frequencyLattice) : + torusFourierIsometry (lp.single 2 n (1 : ℂ)) = + UnitAddTorus.mFourierLp 2 (frequencyCoordinates n) := by + exact (torusLatticeBasis.repr_symm_single n).trans (torusLatticeBasis_apply n) + +theorem fourierTranslation_single (m n : frequencyLattice) : + fourierTranslation m (lp.single 2 n (1 : ℂ)) = lp.single 2 (n + m) (1 : ℂ) := by + classical + ext l + simp only [fourierTranslation_apply, lp.single_apply, Pi.single_apply] + congr 1 + exact propext sub_eq_iff_eq_add + +theorem torusFourierIsometry_translation (m : frequencyLattice) (f : FourierL2) : + torusFourierIsometry (fourierTranslation m f) = + torusL2Product (UnitAddTorus.mFourier (frequencyCoordinates m)) (torusFourierIsometry f) := by + let I := torusFourierIsometry.toContinuousLinearEquiv.toContinuousLinearMap + let A := I.comp (fourierTranslation m).toContinuousLinearMap + let B := (torusL2Product (UnitAddTorus.mFourier (frequencyCoordinates m))).comp I + have hsingle (n : frequencyLattice) : A (lp.single 2 n (1 : ℂ)) = B (lp.single 2 n (1 : ℂ)) := by + change torusFourierIsometry (fourierTranslation m (lp.single 2 n (1 : ℂ))) = + torusL2Product _ (torusFourierIsometry (lp.single 2 n (1 : ℂ))) + rw [fourierTranslation_single, torusFourierIsometry_single, + torusFourierIsometry_single, torusL2Product_mFourier] + congr 2 + change frequencyCoordinatesEquiv (n + m) = frequencyCoordinatesEquiv m + frequencyCoordinatesEquiv n + rw [map_add, add_comm] + have heq : A = B := by + apply lp.ext_continuousLinearMap (by norm_num : (2 : ℝ≥0∞) ≠ ⊤) + intro n + apply ContinuousLinearMap.ext + intro c + change A (lp.single 2 n c) = B (lp.single 2 n c) + have hc : lp.single (E := fun _ : frequencyLattice => ℂ) 2 n c = + c • lp.single (E := fun _ : frequencyLattice => ℂ) 2 n (1 : ℂ) := by + simpa only [smul_eq_mul, mul_one] using lp.single_smul (E := fun _ : frequencyLattice => ℂ) 2 n c (1 : ℂ) + rw [hc, map_smul, map_smul, hsingle] + exact congrArg (fun U : FourierL2 →L[ℂ] Lp ℂ 2 (volume : Measure T) => U f) heq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFrameNormalization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFrameNormalization.lean new file mode 100644 index 0000000000000000000000000000000000000000..14324903fa94e0770ca42272fcef18cbbe30db6a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusFrameNormalization.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphFrameBounds + +namespace OAI + +/-! # One frame scale controls every mixed endpoint block -/ + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem stableNormalized_projectedBlock (K : ℝ) (hK : K ≠ 0) + (ζ₀ ζ₁ : F →L[ℝ] E) (π₀ π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) : + stableProjectedBlock (stableNormalizedFrame K ζ₀) (stableNormalizedFrame K ζ₁) + (stableNormalizedCoordinate K π₀) (stableNormalizedCoordinate K π₁) A = + stableProjectedBlock ζ₀ ζ₁ π₀ π₁ A := by + unfold stableProjectedBlock + rw [stableNormalized_projection K hK, stableNormalized_projection K hK] + +theorem exists_uniform_frame_scale (CP CA Cζ : ℝ) + (hCP : 0 ≤ CP) (hCA : 0 ≤ CA) (hCζ : 0 ≤ Cζ) : + ∃ K : ℝ, 0 < K ∧ ∀ (ζ₀ ζ₁ : F →L[ℝ] E) (π₁ : E →L[ℝ] F) (A : E →L[ℝ] E), + ‖stableFrameProjection ζ₁ π₁‖ ≤ CP → ‖A‖ ≤ CA → ‖ζ₀‖ ≤ Cζ → + ‖stableNormalizedFrame K ζ₀‖ ≤ 1 ∧ + ‖stableMixedBlock (stableNormalizedFrame K ζ₀) (stableNormalizedFrame K ζ₁) + (stableNormalizedCoordinate K π₁) A‖ ≤ 1 / 16 := by + let K := 1 + Cζ + 16 * (CP * CA * Cζ) + have hp : 0 ≤ CP * CA * Cζ := mul_nonneg (mul_nonneg hCP hCA) hCζ + have hK : 0 < K := by dsimp [K]; positivity + have hCK : Cζ ≤ K := by dsimp [K]; linarith + have hlarge : 16 * (CP * CA * Cζ) ≤ K := by dsimp [K]; linarith + refine ⟨K, hK, ?_⟩ + intro ζ₀ ζ₁ π₁ A hP hA hζ + refine ⟨(stableNormalizedFrame_norm_le K Cζ hK ζ₀ hζ).trans ?_, ?_⟩ + · exact (div_le_one hK).mpr hCK + · exact stableNormalized_mixed_norm_le K CP CA Cζ hK hCP hCA hCζ hlarge + ζ₀ ζ₁ π₁ A hP hA hζ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusL2Coefficient.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusL2Coefficient.lean new file mode 100644 index 0000000000000000000000000000000000000000..706ec4f45e32598ae4515a14f9a5a61d33db8a10 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusL2Coefficient.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusL2Product + +namespace OAI + +/-! # Continuous dependence of physical L² multiplication on its coefficient -/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure T) +noncomputable local instance torusL2CoefficientMeasureSpace : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusL2CoefficientProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +noncomputable def torusL2Coefficient (f : H) : C(T, ℂ) →L[ℂ] H := + LinearMap.mkContinuous + { toFun := fun V => torusL2Product V f + map_add' := by + intro V W + apply Lp.ext + filter_upwards [torusL2Product_ae (V + W) f, + torusL2Product_ae V f, torusL2Product_ae W f, + Lp.coeFn_add (torusL2Product V f) (torusL2Product W f)] with x h hV hW ha + rw [h, ha] + simp only [Pi.add_apply, ContinuousMap.add_apply] + rw [hV, hW, add_mul] + map_smul' := by + intro c V + apply Lp.ext + filter_upwards [torusL2Product_ae (c • V) f, + torusL2Product_ae V f, Lp.coeFn_smul c (torusL2Product V f)] with x h hV ha + simp only [RingHom.id_apply] + rw [h, ha] + simp only [Pi.smul_apply, ContinuousMap.smul_apply, smul_eq_mul] + rw [hV, mul_assoc] } + ‖f‖ (by + intro V + change ‖torusL2ProductValue V f‖ ≤ ‖f‖ * ‖V‖ + rw [mul_comm] + exact torusL2ProductValue_norm_le V f) + +@[simp] theorem torusL2Coefficient_apply (f : H) (V : C(T, ℂ)) : + torusL2Coefficient f V = torusL2Product V f := rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusL2Product.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusL2Product.lean new file mode 100644 index 0000000000000000000000000000000000000000..02e5c4393c333bc6c00092d9f441e2e662a64d33 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusL2Product.lean @@ -0,0 +1,91 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusFourierIsometry + +namespace OAI + +/-! # Multiplication of torus L² functions by continuous coefficients -/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +local notation "H" => Lp ℂ 2 (volume : Measure T) +noncomputable local instance torusL2ProductMeasureSpace : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusL2ProductProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +private theorem torusL2Product_memLp (V : C(T, ℂ)) (f : H) : + MemLp (fun x => V x * f x) 2 volume := by + apply (Lp.memLp f).of_le_mul (c := ‖V‖) + (V.continuous.aestronglyMeasurable.mul (Lp.aestronglyMeasurable f)) + filter_upwards [] with x + change ‖V x * f x‖ ≤ ‖V‖ * ‖f x‖ + rw [norm_mul] + exact mul_le_mul_of_nonneg_right (ContinuousMap.norm_coe_le_norm V x) (norm_nonneg _) + +noncomputable def torusL2ProductValue (V : C(T, ℂ)) (f : H) : H := + (torusL2Product_memLp V f).toLp (fun x => V x * f x) + +theorem torusL2ProductValue_ae (V : C(T, ℂ)) (f : H) : + torusL2ProductValue V f =ᵐ[volume] (fun x => V x * f x) := MemLp.coeFn_toLp _ + +theorem torusL2ProductValue_norm_le (V : C(T, ℂ)) (f : H) : + ‖torusL2ProductValue V f‖ ≤ ‖V‖ * ‖f‖ := by + apply Lp.norm_le_mul_norm_of_ae_le_mul + filter_upwards [torusL2ProductValue_ae V f] with x hx + rw [hx, norm_mul] + exact mul_le_mul_of_nonneg_right (ContinuousMap.norm_coe_le_norm V x) (norm_nonneg _) + +noncomputable def torusL2Product (V : C(T, ℂ)) : H →L[ℂ] H := + LinearMap.mkContinuous + { toFun := torusL2ProductValue V + map_add' := by + intro f g + apply Lp.ext + filter_upwards [torusL2ProductValue_ae V (f + g), torusL2ProductValue_ae V f, + torusL2ProductValue_ae V g, Lp.coeFn_add f g, + Lp.coeFn_add (torusL2ProductValue V f) (torusL2ProductValue V g)] with x hfg hf hg ha hb + rw [hfg, ha, hb] + simp only [Pi.add_apply] + rw [hf, hg, mul_add] + map_smul' := by + intro c f + apply Lp.ext + filter_upwards [torusL2ProductValue_ae V (c • f), torusL2ProductValue_ae V f, + Lp.coeFn_smul c f, Lp.coeFn_smul c (torusL2ProductValue V f)] with x hcf hf ha hb + simp only [RingHom.id_apply] + rw [hcf, ha, hb] + simp only [Pi.smul_apply] + rw [hf] + simp only [smul_eq_mul] + ring } + ‖V‖ (torusL2ProductValue_norm_le V) + +theorem torusL2Product_ae (V : C(T, ℂ)) (f : H) : + torusL2Product V f =ᵐ[volume] (fun x => V x * f x) := + torusL2ProductValue_ae V f + +theorem torusL2Product_continuous (V f : C(T, ℂ)) : + torusL2Product V (f.toLp 2 volume ℂ) = (V * f).toLp 2 volume ℂ := by + apply Lp.ext + have hf : (f.toLp 2 volume ℂ : H) =ᵐ[volume] f := + ContinuousMap.coeFn_toLp volume f + have hout : ((V * f).toLp 2 volume ℂ : H) =ᵐ[volume] (V * f) := + ContinuousMap.coeFn_toLp volume (V * f) + filter_upwards [torusL2ProductValue_ae V (f.toLp 2 volume ℂ), + hf, hout] with x hp hfx houtx + change torusL2ProductValue V (f.toLp 2 volume ℂ) x = _ + rw [hp, hfx, houtx] + rfl + +theorem torusL2Product_mFourier (m n : Fin 12 → ℤ) : + torusL2Product (UnitAddTorus.mFourier m) (UnitAddTorus.mFourierLp 2 n) = + UnitAddTorus.mFourierLp 2 (m + n) := by + rw [torusL2Product_continuous] + congr 1 + ext x + exact (UnitAddTorus.mFourier_add (m := m) (n := n)).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusLinearStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusLinearStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..90f07cc166f7bb73417014c0deac9917fb61aca5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusLinearStep.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusStableBlocks +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusFrameNormalization + +namespace OAI + +/-! # Normalized linear data for the discrete stable graph -/ + +open scoped NNReal + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + +def HasTorusLinearStep (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) : Prop := + ∃ C : ℝ, 0 < C ∧ ∃ L₀ : ℝ, + ∃ ζ : Radius → F →L[ℝ] FourierL2, ∃ π : Radius → FourierL2 →L[ℝ] F, + ∃ D R : F →L[ℝ] F, (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ L : Radius, L₀ ≤ L.1 → ∀ v, π L (ζ L v) = v) ∧ + (∀ L : Radius, L₀ ≤ L.1 → + ‖ζ L‖ ≤ 1 ∧ ‖π L‖ ≤ C ∧ ‖stableFrameProjection (ζ L) (π L)‖ ≤ C ∧ + ‖stableProjectedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π L) (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 8 ∧ + ‖stableMixedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 16) ∧ + (∀ ε : ℝ, 0 < ε → ∃ Lε : ℝ, L₀ ≤ Lε ∧ ∀ L : Radius, Lε ≤ L.1 → + ‖(π (torusEndpointRadius T L)).comp (A L) - D.comp (π L)‖ ≤ ε) + +theorem torusLinearStep_of_frames (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) + (ζ : Radius → F →L[ℝ] FourierL2) (π : Radius → FourierL2 →L[ℝ] F) + (D R : F →L[ℝ] F) (hinv : ∀ v, D (R v) = v) (hR : ‖R‖ ≤ 1) + (L₀ C Cπ CA : ℝ) (hC : 0 ≤ C) (hCπ : 0 ≤ Cπ) (hCA : 0 ≤ CA) + (hframe : ∀ L : Radius, L₀ ≤ L.1 → + (∀ v, π L (ζ L v) = v) ∧ ‖ζ L‖ ≤ C ∧ ‖π L‖ ≤ Cπ ∧ + ‖stableFrameProjection (ζ L) (π L)‖ ≤ C) + (hstable : ∀ L : Radius, L₀ ≤ L.1 → + ‖stableProjectedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π L) (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 8) + (hA : ∀ L : Radius, ‖A L‖ ≤ CA) + (hdefect : ∀ ε : ℝ, 0 < ε → ∃ Lε : ℝ, ∀ L : Radius, Lε ≤ L.1 → + ‖(π (torusEndpointRadius T L)).comp (A L) - D.comp (π L)‖ ≤ ε) : + HasTorusLinearStep (F := F) T A := by + obtain ⟨K, hK, hscale⟩ := exists_uniform_frame_scale (E := FourierL2) (F := F) C CA C hC hCA hC + let ζ' := fun L => stableNormalizedFrame K (ζ L) + let π' := fun L => stableNormalizedCoordinate K (π L) + let B := 1 + C + K * Cπ + have hB : 0 < B := by dsimp [B]; positivity + refine ⟨B, hB, L₀, ζ', π', D, R, hinv, hR, ?_, ?_, ?_⟩ + · intro L hL v + exact stableNormalized_rightInverse K hK.ne' (ζ L) (π L) (hframe L hL).1 v + · intro L hL + have hLR := hL.trans (torusEndpointRadius_ge T L) + obtain ⟨_, hζ, hπ, hP⟩ := hframe L hL + obtain ⟨_, _, _, hPR⟩ := hframe (torusEndpointRadius T L) hLR + obtain ⟨hζ', hmixed⟩ := hscale (ζ L) (ζ (torusEndpointRadius T L)) + (π (torusEndpointRadius T L)) (A L) hPR (hA L) hζ + refine ⟨hζ', ?_, ?_, ?_, hmixed⟩ + · exact (stableNormalizedCoordinate_norm_le K Cπ hK.le (π L) hπ).trans (by dsimp [B]; linarith) + · rw [stableNormalized_projection K hK.ne'] + exact hP.trans (by dsimp [B]; nlinarith [mul_nonneg hK.le hCπ]) + · rw [stableNormalized_projectedBlock K hK.ne'] + exact hstable L hL + · intro ε hε + obtain ⟨Lε, hεL⟩ := hdefect (ε / K) (div_pos hε hK) + refine ⟨max L₀ Lε, le_max_left _ _, ?_⟩ + intro L hL + apply (stableNormalized_defect_norm_le K (ε / K) hK.le (π L) + (π (torusEndpointRadius T L)) (A L) D + (hεL L ((le_max_right _ _).trans hL))).trans_eq + exact mul_div_cancel₀ ε hK.ne' + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusLinearStepAssembly.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusLinearStepAssembly.lean new file mode 100644 index 0000000000000000000000000000000000000000..c27f22cd3f3d468f73d6b4b45a639ee3f63acae0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusLinearStepAssembly.lean @@ -0,0 +1,95 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateInverse +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalRealCoordinates + +namespace OAI + +/-! # Combining actual stable decay and finite coordinate transfer -/ + +open scoped SchwartzMap NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +def HasEventualTorusLinearSteps {H F : Type*} + [NormedAddCommGroup H] [NormedSpace ℝ H] [NormedAddCommGroup F] [NormedSpace ℝ F] + (π : H →L[ℝ] F) (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) : Prop := + ∃ T₀ : ℝ, 0 ≤ T₀ ∧ ∀ T : ℝ≥0, T₀ ≤ T → HasTorusLinearStep (F := π.range) T (A T) + +def HasFiniteDiagonalTorusLinearSteps {H V : Type*} + [NormedAddCommGroup H] [NormedSpace ℝ H] + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (π : H →L[ℝ] V) (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) : Prop := + ∃ G : V →L[ℂ] V, + ∃ hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤, + ∃ hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2, + HasEventualTorusLinearSteps (diagonalRealCoordinates π G hspan hspec) A + +theorem torusLinearStep_of_stable_transfer {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) + (π : HomogeneousY a k →L[ℝ] F) + (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) + (hstable : HasTorusStableBlocks a k ha ha1 hk χ π A) + (hcoord : ∀ T, HasContractingTorusCoordinateTransfer a k ha ha1 hk χ π T (A T)) + (hA : ∀ T, ∃ C : ℝ, 0 ≤ C ∧ ∀ L, ‖A T L‖ ≤ C) : + HasEventualTorusLinearSteps π A := by + obtain ⟨C, hC, Lf, ζ, hζ, hs⟩ := hstable + obtain ⟨T₀, hT₀, hT⟩ := hs (1 / 8) (by norm_num) + refine ⟨T₀, hT₀, ?_⟩ + intro T hTT + obtain ⟨L₀, hLf, hL₀⟩ := hT T hTT + obtain ⟨D, R, hDR, hR, hdefect⟩ := hcoord T + obtain ⟨CA, hCA, hAb⟩ := hA T + obtain ⟨CJ, hCJ, hJ⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let Cπ := ‖π.rangeRestrict‖ * CJ + have hCπ : 0 ≤ Cπ := mul_nonneg (norm_nonneg π.rangeRestrict) hCJ + apply torusLinearStep_of_frames T (A T) ζ + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict) D R hDR hR + L₀ C Cπ CA hC.le hCπ hCA + · intro L hL + obtain ⟨he, hz, hp⟩ := hζ L (hLf.trans hL) + refine ⟨fun v => congrArg (fun B : π.range →L[ℝ] π.range => B v) he, hz, ?_, hp⟩ + exact expandingCoordinates_norm_le a k CJ ha ha1 hk hCJ χ π.rangeRestrict hJ L + · exact hL₀ + · exact hAb + · exact hdefect + +theorem finiteDiagonalTorusLinearSteps_of_transfer {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) + (ρ : ℝ) (hρ : 0 < ρ) (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) + (hkernel : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 → ‖A T L f‖ < β) + (hcoord : ∀ T, HasContractingTorusCoordinateTransfer a k ha ha1 hk χ + (diagonalRealCoordinates π G hspan hspec) T (A T)) + (hA : ∀ T, ∃ C : ℝ, 0 ≤ C ∧ ∀ L, ‖A T L‖ ≤ C) : + HasFiniteDiagonalTorusLinearSteps π A := by + let : FiniteDimensional ℝ (SymmetryCoordinates G) := + FiniteDimensional.trans ℝ ℂ (SymmetryCoordinates G) + refine ⟨G, hspan, hspec, ?_⟩ + apply torusLinearStep_of_stable_transfer a k ha ha1 hk χ + (diagonalRealCoordinates π G hspan hspec) A + · apply hasTorusStableBlocks_of_kernel_decay a k ha ha1 hk χ ρ hρ hχ + intro β hβ + obtain ⟨T₀, hT₀, hT⟩ := hkernel β hβ + refine ⟨T₀, hT₀, fun T hTT => ?_⟩ + obtain ⟨L₀, hL₀⟩ := hT T hTT + refine ⟨L₀, fun L hL f hf hz => ?_⟩ + exact hL₀ L hL f hf ((diagonalRealCoordinates_zero_iff π G hspan hspec _).mp hz) + · exact hcoord + · exact hA + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusOddCommutator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusOddCommutator.lean new file mode 100644 index 0000000000000000000000000000000000000000..dbe16417943deff8a4c3e25e432c4a3c2001544d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusOddCommutator.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusCircularPotential +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingOddCommutatorBound + +namespace OAI + +/-! # The full physical odd-power commutator has uniform high-frequency gain -/ + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) + +attribute [local irreducible] expandingCircularCoefficient expandingAnticircularCoefficient + expandingProduct expandingFourierCoefficient expandingOrderedFourierEnergy + torusPrincipalPotential torusL2Product + +theorem torusOddCommutator_identification (a L : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hN : 8 < (N : ℝ)) (hL : 1 ≤ L) + (m : ℕ) (q : FourierL2) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : T, ‖expandingUnitTorusFunction a N L q x‖ ^ (2 * m) ≤ M) + (f : FourierL2) (j : Fin N → Fin 12) : + torusFourierIsometry (expandingOddFourierCommutator a L N ha ha1 hN hL m q f j) = + expandingOrderedCommutator a L N ha ha1 hN hL m q M hM hQB j f := by + unfold expandingOddFourierCommutator + rw [map_sub, map_smul, map_add, + torusFourierIsometry_expanding_convolution a N L ha ha1 hN hL, + torusFourierIsometry_expanding_convolution a N L ha ha1 hN hL, + torusFourierIsometry_conjugate] + have hP := torusPrincipalPotential_circular a N L ha ha1 hN hL m q M hM hQB + (expandingOrderedPhysicalEnergy a L N hL j f) + dsimp only [expandingOrderedPhysicalEnergy, ContinuousLinearMap.comp_apply, + LinearIsometryEquiv.coe_toContinuousLinearEquiv, ContinuousLinearEquiv.coe_coe] at hP + change torusFourierIsometry (expandingOrderedFourierEnergy a L N hL j + (expandingLinearizedPotential a N L ha ha1 hN hL m q f)) - _ = _ + rw [← hP] + rfl + +theorem exists_torusOddCommutator_high_bound (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hN : 8 < ((N + 1 : ℕ) : ℝ)) + (m : ℕ) (K : SchwartzMap (EuclideanSpace ℝ (Fin 12)) ℂ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L R : ℝ) (hL : 1 ≤ L), 1 ≤ R → + let q := schwartzTorusSample a (N + 1 : ℕ) L ha1 hN hL K + ∀ (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x : T, ‖expandingUnitTorusFunction a (N + 1 : ℕ) L q x‖ ^ (2 * m) ≤ M) + (f : FourierL2) (j : Fin (N + 1) → Fin 12), + (∀ n : frequencyLattice, ‖n‖ < R * L → f n = 0) → + ‖expandingOrderedCommutator a L (N + 1) ha ha1 hN hL m q M hM hQB j f‖ ≤ (C / R) * ‖f‖ := by + obtain ⟨C, hC, hc⟩ := exists_expandingOddFourierCommutator_high_bound a N ha ha1 hN m K + refine ⟨C, hC, ?_⟩ + intro L R hL hR q M hM hQB f j hf + rw [← torusOddCommutator_identification a L (N + 1) ha ha1 hN hL m q M hM hQB f j, + LinearIsometryEquiv.norm_map] + exact hc L R hL hR f j hf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusOrderedEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusOrderedEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..28e057ed4f6c01208557b20453af121afa698b5b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusOrderedEnergy.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingOrderedEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusPrincipalPotential + +namespace OAI + +/-! # Physical ordered components and their principal potential energy + +The sum of the squared physical component norms is exactly the high term +of Y_L. The leading odd-power action has one bound for every derivative +order, using only the profile's pointwise size. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +noncomputable local instance torusOrderedEnergyMeasureSpace : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusOrderedEnergyProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +noncomputable def expandingOrderedPhysicalEnergy (a L : ℝ) (N : ℕ) (hL : 1 ≤ L) + (j : Fin N → Fin 12) : FourierL2 →L[ℂ] Lp ℂ 2 (volume : Measure T) := + torusFourierIsometry.toContinuousLinearEquiv.toContinuousLinearMap.comp + (expandingOrderedFourierEnergy a L N hL j) + +theorem expandingOrderedPhysicalEnergy_norm (a L : ℝ) (N : ℕ) (hL : 1 ≤ L) + (j : Fin N → Fin 12) (f : FourierL2) : + ‖expandingOrderedPhysicalEnergy a L N hL j f‖ = + ‖expandingOrderedFourierEnergy a L N hL j f‖ := + torusFourierIsometry.norm_map _ + +theorem expandingOrderedPhysicalEnergy_norm_sq (a L : ℝ) (N : ℕ) (hL : 1 ≤ L) (f : FourierL2) : + (∑ j : Fin N → Fin 12, ‖expandingOrderedPhysicalEnergy a L N hL j f‖ ^ 2) = + ‖expandingHighEnergy a N L hL f‖ ^ 2 := by + simp only [expandingOrderedPhysicalEnergy_norm] + exact expandingOrderedFourierEnergy_norm_sq a L N hL f + +theorem expandingOrderedPhysicalEnergy_inner (a L : ℝ) (N : ℕ) (hL : 1 ≤ L) (f g : FourierL2) : + (∑ j : Fin N → Fin 12, inner ℝ (expandingOrderedPhysicalEnergy a L N hL j f) + (expandingOrderedPhysicalEnergy a L N hL j g)) = + inner ℝ (expandingHighEnergy a N L hL f) (expandingHighEnergy a N L hL g) := by + have h := expandingOrderedPhysicalEnergy_norm_sq a L N hL (f + g) + simp only [map_add, norm_add_sq_real, Finset.sum_add_distrib, ← Finset.mul_sum] at h + rw [expandingOrderedPhysicalEnergy_norm_sq a L N hL f, + expandingOrderedPhysicalEnergy_norm_sq a L N hL g] at h + linarith + +theorem expandingOrderedPrincipal_energy_le (a L : ℝ) (N m : ℕ) (hL : 1 ≤ L) + (Q : T → ℂ) (hQ : Continuous Q) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) (f : FourierL2) : + (∑ j : Fin N → Fin 12, + inner ℝ (expandingOrderedPhysicalEnergy a L N hL j f) + (torusPrincipalPotential m Q hQ M hM hQB (expandingOrderedPhysicalEnergy a L N hL j f))) ≤ + ((2 * (m : ℝ) + 1) * M) * ‖expandingHighEnergy a N L hL f‖ ^ 2 := by + have h := torusPrincipalPotential_ordered_energy_le m N Q hQ M hM hQB + (fun j => expandingOrderedPhysicalEnergy a L N hL j f) + rw [expandingOrderedPhysicalEnergy_norm_sq] at h + exact h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusPhysicalL2.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusPhysicalL2.lean new file mode 100644 index 0000000000000000000000000000000000000000..41d9e3f11802ba51895c1623ea92048fbe6d9154 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusPhysicalL2.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusL2Product + +namespace OAI + +/-! # Physical-volume normalization of the continuous torus L² realization -/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) +noncomputable local instance torusPhysicalL2Measure : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusPhysicalL2Probability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +theorem continuousTorusL2_norm_sq (f : C(T, ℂ)) : + ‖f.toLp 2 volume ℂ‖ ^ 2 = ∫ x : T, ‖f x‖ ^ 2 := by + have he := real_inner_self_eq_norm_sq (f.toLp 2 volume ℂ) + rw [L2.inner_def] at he + rw [← he] + apply integral_congr_ae + have hf : (f.toLp 2 volume ℂ : Lp ℂ 2 (volume : Measure T)) =ᵐ[volume] f := + ContinuousMap.coeFn_toLp volume f + filter_upwards [hf] with x hx + rw [hx, real_inner_self_eq_norm_sq] + +noncomputable def torusPhysicalL2Value (L : ℝ) (f : C(T, ℂ)) : Lp ℂ 2 (volume : Measure T) := + ((2 * Real.pi * L) ^ 6 : ℝ) • f.toLp 2 volume ℂ + +theorem torusPhysicalL2Value_norm_sq (L : ℝ) (f : C(T, ℂ)) : + ‖torusPhysicalL2Value L f‖ ^ 2 = + (2 * Real.pi * L) ^ 12 * (∫ x : T, ‖f x‖ ^ 2) := by + rw [torusPhysicalL2Value, norm_smul, mul_pow, Real.norm_eq_abs, sq_abs, + continuousTorusL2_norm_sq, ← pow_mul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusPrincipalPotential.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusPrincipalPotential.lean new file mode 100644 index 0000000000000000000000000000000000000000..58b36379443a66e5cbfdbb1fc241150cf01facfc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusPrincipalPotential.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPrincipalPotential +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusFourierIsometry + +namespace OAI + +/-! # The order-independent principal energy estimate on torus L² + +The actual odd-power derivative is applied to each physical derivative +component. Its bound uses the profile supremum, independently of the +number of derivatives; commutators are treated separately. +-/ + +open MeasureTheory + +namespace DefocusingNLS + +local notation "E" => UnitAddTorus (Fin 12) +noncomputable local instance torusPrincipalPotentialMeasureSpace : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance torusPrincipalPotentialProbability : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +private theorem torusPrincipalPotential_memLp (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (_hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + MemLp (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) 2 volume := by + have hq : AEStronglyMeasurable Q (volume : Measure E) := hQ.aestronglyMeasurable + have hf := Lp.aestronglyMeasurable f + have hm : AEStronglyMeasurable + (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) volume := by + simpa only [oddPowerDerivative, add_apply, + smul_apply, ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe, starL'_apply, smul_eq_mul, + Pi.add_apply, Pi.mul_apply, Pi.pow_apply, Pi.star_apply] using + ((((aestronglyMeasurable_const.mul (hq.pow m)).mul (hq.star.pow m)).mul hf).add + (((aestronglyMeasurable_const.mul (hq.pow (m + 1))).mul + (hq.star.pow (m - 1))).mul hf.star)).const_mul (-Complex.I) + apply (((Lp.memLp f).norm.const_mul ((2 * (m : ℝ) + 1) * M))).mono' hm + filter_upwards [] with x + exact (norm_schrodingerOddPowerDerivative_le m (Q x) (f x)).trans + (by gcongr; exact hQB x) + +noncomputable def torusPrincipalAction (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : Lp ℂ 2 (volume : Measure E) := + (torusPrincipalPotential_memLp m Q hQ M hM hQB f).toLp + (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) + +theorem torusPrincipalAction_ae (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + torusPrincipalAction m Q hQ M hM hQB f =ᵐ[volume] + (fun x => -Complex.I * oddPowerDerivative m (Q x) (f x)) := MemLp.coeFn_toLp _ + +theorem torusPrincipalAction_norm_le (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + ‖torusPrincipalAction m Q hQ M hM hQB f‖ ≤ (2 * (m : ℝ) + 1) * M * ‖f‖ := by + apply Lp.norm_le_mul_norm_of_ae_le_mul + filter_upwards [torusPrincipalAction_ae m Q hQ M hM hQB f] with x hx + rw [hx] + exact (norm_schrodingerOddPowerDerivative_le m (Q x) (f x)).trans + (by gcongr; exact hQB x) + +noncomputable def torusPrincipalPotential (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) : + Lp ℂ 2 (volume : Measure E) →L[ℝ] Lp ℂ 2 (volume : Measure E) := + let A : Lp ℂ 2 (volume : Measure E) →ₗ[ℝ] Lp ℂ 2 (volume : Measure E) := + { toFun := torusPrincipalAction m Q hQ M hM hQB + map_add' := by + intro f g + apply Lp.ext + filter_upwards [torusPrincipalAction_ae m Q hQ M hM hQB (f + g), + torusPrincipalAction_ae m Q hQ M hM hQB f, + torusPrincipalAction_ae m Q hQ M hM hQB g, Lp.coeFn_add f g, + Lp.coeFn_add (torusPrincipalAction m Q hQ M hM hQB f) + (torusPrincipalAction m Q hQ M hM hQB g)] with x hfg hf hg ha hb + rw [hfg, hb, Pi.add_apply, hf, hg, ha, Pi.add_apply, map_add, mul_add] + map_smul' := by + intro c f + apply Lp.ext + filter_upwards [torusPrincipalAction_ae m Q hQ M hM hQB (c • f), + torusPrincipalAction_ae m Q hQ M hM hQB f, Lp.coeFn_smul c f, + Lp.coeFn_smul c (torusPrincipalAction m Q hQ M hM hQB f)] with x hcf hf ha hb + simp only [RingHom.id_apply] + rw [hcf, hb, Pi.smul_apply, hf, ha, Pi.smul_apply, map_smul] + simp only [Complex.real_smul] + ring } + A.mkContinuous ((2 * (m : ℝ) + 1) * M) + (torusPrincipalAction_norm_le m Q hQ M hM hQB) + +theorem torusPrincipalPotential_norm_le (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) : + ‖torusPrincipalPotential m Q hQ M hM hQB‖ ≤ (2 * (m : ℝ) + 1) * M := by + exact LinearMap.mkContinuous_norm_le _ (by positivity) + (torusPrincipalAction_norm_le m Q hQ M hM hQB) + +theorem torusPrincipalPotential_energy_le (m : ℕ) (Q : E → ℂ) (hQ : Continuous Q) + (M : ℝ) (hM : 0 ≤ M) (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : Lp ℂ 2 (volume : Measure E)) : + inner ℝ f (torusPrincipalPotential m Q hQ M hM hQB f) ≤ + ((2 * (m : ℝ) + 1) * M) * ‖f‖ ^ 2 := by + calc + _ ≤ ‖f‖ * ‖torusPrincipalPotential m Q hQ M hM hQB f‖ := real_inner_le_norm _ _ + _ ≤ ‖f‖ * (((2 * (m : ℝ) + 1) * M) * ‖f‖) := + mul_le_mul_of_nonneg_left (torusPrincipalAction_norm_le m Q hQ M hM hQB f) + (norm_nonneg f) + _ = _ := by ring + +/-- Every ordered derivative receives the same pointwise operator; the +constant is independent of the number of derivatives. -/ +theorem torusPrincipalPotential_ordered_energy_le (m N : ℕ) + (Q : E → ℂ) (hQ : Continuous Q) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ x, ‖Q x‖ ^ (2 * m) ≤ M) + (f : (Fin N → Fin 12) → Lp ℂ 2 (volume : Measure E)) : + ∑ j, inner ℝ (f j) (torusPrincipalPotential m Q hQ M hM hQB (f j)) ≤ + ((2 * (m : ℝ) + 1) * M) * ∑ j, ‖f j‖ ^ 2 := by + rw [Finset.mul_sum] + exact Finset.sum_le_sum (fun j _ => torusPrincipalPotential_energy_le m Q hQ M hM hQB (f j)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusProductCommutator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusProductCommutator.lean new file mode 100644 index 0000000000000000000000000000000000000000..747ba3c495a2c7769f5594e5a2a903d9a459ed7d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusProductCommutator.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCommutatorSampling + +namespace OAI + +/-! # Uniform physical derivative commutators for sampled smooth potentials -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem torusProductCommutator_physical (a L : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hN : 8 < (N : ℝ)) (hL : 1 ≤ L) + (j : Fin N → Fin 12) (q f : FourierL2) : + torusFourierIsometry (expandingProductCommutator a L N ha ha1 hN hL j q f) = + expandingOrderedPhysicalEnergy a L N hL j (expandingProduct a N L ha ha1 hN hL q f) - + torusL2Product (expandingUnitTorusFunction a N L q) + (expandingOrderedPhysicalEnergy a L N hL j f) := by + change torusFourierIsometry (expandingOrderedFourierEnergy a L N hL j + (expandingProduct a N L ha ha1 hN hL q f) - + fourierConvolution (expandingFourierCoefficient a N L q) + (expandingOrderedFourierEnergy a L N hL j f)) = _ + rw [map_sub, torusFourierIsometry_expanding_convolution a N L ha ha1 hN hL] + rfl + +theorem exists_schwartzProductCommutator_high_bound (a : ℝ) (N : ℕ) + (ha : 0 < a) (ha1 : a < 1) (hN : 8 < ((N + 1 : ℕ) : ℝ)) (K : 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L R : ℝ) (hL : 1 ≤ L), 1 ≤ R → + ∀ (j : Fin (N + 1) → Fin 12) (f : FourierL2), + (∀ n : frequencyLattice, ‖n‖ < R * L → f n = 0) → + let q := schwartzTorusSample a ((N + 1 : ℕ) : ℝ) L ha1 hN hL K + ‖expandingOrderedPhysicalEnergy a L (N + 1) hL j + (expandingProduct a ((N + 1 : ℕ) : ℝ) L ha ha1 hN hL q f) - + torusL2Product (expandingUnitTorusFunction a ((N + 1 : ℕ) : ℝ) L q) + (expandingOrderedPhysicalEnergy a L (N + 1) hL j f)‖ ≤ (C / R) * ‖f‖ := by + obtain ⟨D, hD, hDb⟩ := exists_schwartzCommutator_sampling_bound N K + refine ⟨(N + 1 : ℕ) * D, by positivity, ?_⟩ + intro L R hL hR j f hf q + obtain ⟨hs, hb⟩ := hDb L hL + have hc : expandingFourierCoefficient a ((N + 1 : ℕ) : ℝ) L q = schwartzLatticeCoefficient L K := by + funext n + exact schwartzTorusSample_coefficient a ((N + 1 : ℕ) : ℝ) L ha1 hN hL K n + have h := expandingProductCommutator_high_norm_le a L R N ha ha1 hN hL hR j q f + (by simpa only [hc] using hs) hf + rw [hc] at h + rw [← torusProductCommutator_physical, LinearIsometryEquiv.norm_map] + calc + _ ≤ ((N + 1 : ℕ) / R) * + (∑' m, expandingCommutatorMoment L N (schwartzLatticeCoefficient L K) m) * ‖f‖ := h + _ ≤ ((N + 1 : ℕ) / R) * D * ‖f‖ := by gcongr + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusStableBlocks.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusStableBlocks.lean new file mode 100644 index 0000000000000000000000000000000000000000..b0cb085f822425dc7a8de0a58e2ba79a3c5d9aed --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/TorusStableBlocks.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.CorrectedTorusFrame +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.KernelOperatorBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProfileOperator + +namespace OAI + +/-! # Corrected finite frames and the stable torus endpoint blocks -/ + +open scoped SchwartzMap NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +noncomputable def torusEndpointRadius (T : ℝ≥0) (L : Radius) : Radius := + expandingRadiusCurve L.1 T L.2 ⟨T, T.2, le_rfl⟩ + +theorem torusEndpointRadius_ge (T : ℝ≥0) (L : Radius) : L.1 ≤ (torusEndpointRadius T L).1 := + expandingRadius_ge L.1 T L.2 T.2 + +def HasTorusStableBlocks {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) + (π : HomogeneousY a k →L[ℝ] F) + (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) : Prop := + ∃ C : ℝ, 0 < C ∧ ∃ Lf : ℝ, ∃ ζ : Radius → π.range →L[ℝ] FourierL2, + (∀ L : Radius, Lf ≤ L.1 → + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L).comp (ζ L) = + ContinuousLinearMap.id ℝ π.range ∧ + ‖ζ L‖ ≤ C ∧ + ‖stableFrameProjection (ζ L) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L)‖ ≤ C) ∧ + ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, Lf ≤ L₀ ∧ + ∀ L : Radius, L₀ ≤ L.1 → + ‖stableProjectedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict (torusEndpointRadius T L)) + (A T L)‖ ≤ β + +theorem hasTorusStableBlocks_of_kernel_decay {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] F) + (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) + (hstable : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 → + ‖A T L f‖ < β) : + HasTorusStableBlocks a k ha ha1 hk χ π A := by + obtain ⟨C, hC, Lf, ζ, hζ⟩ := exists_boundedTorusRangeFrame a k ha ha1 hk χ ρ hρ hχ π + refine ⟨C, hC, Lf, ζ, hζ, ?_⟩ + intro β hβ + obtain ⟨T₀, hT₀, hT⟩ := hstable (β / (C * C)) (by positivity) + refine ⟨T₀, hT₀, ?_⟩ + intro T hTT + obtain ⟨L₀, hL₀⟩ := hT T hTT + refine ⟨max Lf L₀, le_max_left _ _, ?_⟩ + intro L hL + have hLf : Lf ≤ L.1 := (le_max_left _ _).trans hL + have hLR : Lf ≤ (torusEndpointRadius T L).1 := hLf.trans (torusEndpointRadius_ge T L) + have hb := stableProjectedBlock_of_kernel_bound (ζ L) (ζ (torusEndpointRadius T L)) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict (torusEndpointRadius T L)) + (A T L) C (β / (C * C)) hC.le (by positivity) + (fun v => congrArg (fun B : π.range →L[ℝ] π.range => B v) (hζ L hLf).1) + (hζ L hLf).2.2 (hζ _ hLR).2.2 + have hunit : ∀ f : FourierL2, ‖f‖ ≤ 1 → + expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L f = 0 → + ‖A T L f‖ ≤ β / (C * C) := by + intro f hf hzero + have hz : π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 := + congrArg (fun v : π.range => (v : F)) hzero + exact (hL₀ L ((le_max_right _ _).trans hL) f hf hz).le + apply (hb hunit).trans_eq + field_simp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/WeakLinearCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/WeakLinearCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..50a4abe39827573488c954518637013e71b1b043 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Linear/WeakLinearCoordinates.lean @@ -0,0 +1,51 @@ +import Mathlib.Analysis.Normed.Module.Dual +import Mathlib.Analysis.Normed.Module.FiniteDimension +import Mathlib.Analysis.Complex.Basic + +namespace OAI + +/-! # Linear coordinates of a weak limit -/ + +open Filter Topology + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem weakLimit_map_eq_zero (A : E →L[ℝ] F) (u : ℕ → E) (v : E) + (hweak : ∀ ℓ : E →L[ℝ] ℂ, Tendsto (fun n => ℓ (u n)) atTop (𝓝 (ℓ v))) + (hz : ∀ n, A (u n) = 0) : A v = 0 := by + apply SeparatingDual.eq_zero_of_forall_dual_eq_zero (R := ℝ) + intro ℓ + have h := hweak (Complex.ofRealCLM.comp (ℓ.comp A)) + have he : (fun n => (Complex.ofRealCLM.comp (ℓ.comp A)) (u n)) = fun _ => 0 := by + funext n + simp only [ContinuousLinearMap.comp_apply, hz n, map_zero] + rw [he] at h + have hv := tendsto_nhds_unique tendsto_const_nhds h + have hreal := congrArg Complex.re hv + simpa only [Complex.zero_re, ContinuousLinearMap.comp_apply, Complex.ofRealCLM_apply, + Complex.ofReal_re] using hreal.symm + +theorem tendsto_finite_coordinates_of_weak [FiniteDimensional ℝ F] + (A : E →L[ℝ] F) (u : ℕ → E) (v : E) + (hweak : ∀ ℓ : E →L[ℝ] ℂ, Tendsto (fun n => ℓ (u n)) atTop (𝓝 (ℓ v))) : + Tendsto (fun n => A (u n)) atTop (𝓝 (A v)) := by + let e := (Module.finBasis ℝ F).equivFunL + have hc : Tendsto (fun n => e (A (u n))) atTop (𝓝 (e (A v))) := by + apply tendsto_pi_nhds.mpr + intro i + let d : E →L[ℝ] ℝ := (ContinuousLinearMap.proj i).comp (e.toContinuousLinearMap.comp A) + have h := (Complex.continuous_re.tendsto _).comp (hweak (Complex.ofRealCLM.comp d)) + change Tendsto (fun n => Complex.re ((Complex.ofRealCLM.comp d) (u n))) atTop + (𝓝 (Complex.re ((Complex.ofRealCLM.comp d) v))) at h + simpa only [Function.comp_apply, ContinuousLinearMap.comp_apply, Complex.ofRealCLM_apply, + Complex.ofReal_re, d, ContinuousLinearMap.proj_apply, ContinuousLinearEquiv.coe_coe] using h + have h := e.symm.continuous.continuousAt.tendsto.comp hc + change Tendsto (fun n => e.symm (e (A (u n)))) atTop (𝓝 (e.symm (e (A v)))) at h + simpa only [e.symm_apply_apply] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Main.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Main.lean new file mode 100644 index 0000000000000000000000000000000000000000..7533f4499d72881105567cedc1c15a000052e8af --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Main.lean @@ -0,0 +1,19 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates +import OAI.MathematicalPhysics.DefocusingNLS.Profile +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum +import OAI.MathematicalPhysics.DefocusingNLS.Linear +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear +import OAI.MathematicalPhysics.DefocusingNLS.MainTheorems + +/-! +# Stable blowup for the defocusing Schrödinger equation + +Arbitrarily large odd powers admit a nonempty open family of classical solutions +on the twelve-dimensional torus with finite-time self-similar blowup. For the +same power and integer Sobolev order above eight, every Gaussian decay exponent +above that order plus six has positive blowup probability. + +The construction combines radial profiles, spectral classification, decay on +expanding tori, nonlinear stable graphs, physical-data openness and Gaussian +full support. +-/ diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/MainTheorems.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/MainTheorems.lean new file mode 100644 index 0000000000000000000000000000000000000000..ce48c385e76a4cb8de3c6f2ca5593f07621cc246 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/MainTheorems.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.RectangleRouche +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianCounterexample + +namespace OAI + +/-! # Stable defocusing Schrödinger blowup + +Theorem 1.1 and Corollary 1.2 of OpenAI, *Stable self-similar blowup for a +supercritical defocusing Schrödinger equation on the torus* (September 2026). +-/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +attribute [local irreducible] HasFiniteTimeSelfSimilarBlowup IsClassicalDefocusingFlow + maximalSobolevInteractionDomain + +/-- Theorem 1.1: arbitrarily large odd powers admit a nonempty open family of +classical solutions with finite-time self-similar blowup on the twelve-torus. -/ +theorem stable_blowup (p₀ : ℕ) : + ∃ p k : ℕ, p₀ ≤ p ∧ Odd p ∧ 3 ≤ p ∧ ∃ hk : 8 < (k : ℝ), + ∃ U : Set FourierL2, U.Nonempty ∧ IsOpen U ∧ ∀ f ∈ U, + IsClassicalDefocusingFlow k (by linarith) ((p - 1) / 2) f ∧ + HasFiniteTimeSelfSimilarBlowup k (by linarith) ((p - 1) / 2) + (1 / ((p : ℝ) - 1)) f := + stable_blowup_conditional rectangle_rouche p₀ + +/-- Corollary 1.2: for every permitted Gaussian Fourier decay exponent, +the same open blowup family has positive Gaussian probability. -/ +theorem gaussian_blowup (p₀ : ℕ) : + ∃ p k : ℕ, p₀ ≤ p ∧ Odd p ∧ 3 ≤ p ∧ ∃ hk : 8 < (k : ℝ), + ∃ U : Set FourierL2, U.Nonempty ∧ IsOpen U ∧ + (∀ f ∈ U, IsClassicalDefocusingFlow k (by linarith) ((p - 1) / 2) f ∧ + HasFiniteTimeSelfSimilarBlowup k (by linarith) ((p - 1) / 2) + (1 / ((p : ℝ) - 1)) f) ∧ + ∀ α : ℝ, (k : ℝ) + 6 < α → + (∀ᵐ g ∂fourierGaussianLaw, Memℓp (weightedGaussianCoefficient k α g) 2) ∧ + (∀ᵐ g ∂fourierGaussianLaw, ∀ n, + sobolevFourierCoefficient k (weightedGaussianVector k α g) n = + (1 + ‖n‖ ^ 2) ^ (-α / 2) • g n) ∧ + 0 < weightedGaussianLaw k α U := + gaussian_blowup_conditional rectangle_rouche p₀ + +/-- In particular, Gaussian data are not almost surely globally continuable. -/ +theorem gaussian_not_almost_sure_global (p₀ : ℕ) : + ∃ p k : ℕ, p₀ ≤ p ∧ Odd p ∧ 3 ≤ p ∧ ∃ hk : 8 < (k : ℝ), + ∀ α : ℝ, (k : ℝ) + 6 < α → + ¬ ∀ᵐ f ∂weightedGaussianLaw k α, + maximalSobolevInteractionDomain k (by linarith) ((p - 1) / 2) f = univ := + gaussian_not_almost_sure_global_conditional rectangle_rouche p₀ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear.lean new file mode 100644 index 0000000000000000000000000000000000000000..4c55eee9d4097cd3aef95505ea4334938d746d54 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear.lean @@ -0,0 +1,40 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.BoundedInnerNull +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousCutoffStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusAssembly +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffContinuousDiagonalStep +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffContourTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateLinearData +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffDiagonalLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffLinearizedPropagator +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffLocalExistence +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffPointwiseBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileCompactApproximation +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalCutoffBlowup +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryDecay +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryDimension +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianCounterexample +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianEnclosure +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.LocalUniformSubsequence +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.LocalWeightedCompact +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerMixedIncrement +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ParameterBoxHomotopy +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ParameterChoice +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCharacterLipschitz +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCoordinateOpen +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCutoffBlowup +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalFourierTest +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalLowDegreeMoments +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModeRateBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalQuadraticWeight +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ProjectionCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SampledSchwartzFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SmallComplexPower +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableEndpointCoordinateBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphSlabGluing +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableProjectionEigenvector +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StrongOperatorDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SymmetryRangeGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.UnitTorusPolynomial +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.WeightedEnergyEstimate + +/-! Nonlinear stability, physical-data openness and Gaussian blowup. -/ diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/BlowupRate.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/BlowupRate.lean new file mode 100644 index 0000000000000000000000000000000000000000..63d5ac899466c8bdbd3756b15a473eb577a82684 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/BlowupRate.lean @@ -0,0 +1,57 @@ +import Mathlib.Analysis.SpecialFunctions.Pow.Continuity +import Mathlib.Topology.Order.LeftRightNhds + +namespace OAI + +/-! +# A nonzero self-similar amplitude prevents continuous continuation + +A positive self-similar amplitude excludes continuous continuation through +the singular time. +-/ + +open Filter Topology + +namespace DefocusingNLS + +/-- A positive power times a function with a finite left limit tends to zero. -/ +theorem vanishing_rescaled_norm_of_left_limit {E : Type*} [NormedAddCommGroup E] + (u : ℝ → E) (T a : ℝ) (ha : 0 < a) (v : E) + (hu : Tendsto u (𝓝[<] T) (𝓝 v)) : + Tendsto (fun t => (T - t) ^ a * ‖u t‖) (𝓝[<] T) (𝓝 0) := by + have hbase : Tendsto (fun t : ℝ => T - t) (𝓝[<] T) (𝓝 0) := by + have hconst : Tendsto (fun _ : ℝ => T) (𝓝[<] T) (𝓝 T) := tendsto_const_nhds + simpa using (hconst.sub (tendsto_id.mono_left nhdsWithin_le_nhds : + Tendsto (fun t : ℝ => t) (𝓝[<] T) (𝓝 T))) + have hpow : Tendsto (fun t : ℝ => (T - t) ^ a) (𝓝[<] T) (𝓝 0) := by + simpa [Function.comp_def, Real.zero_rpow ha.ne'] using + (Real.continuous_rpow_const ha.le).continuousAt.tendsto.comp hbase + simpa using hpow.mul hu.norm + +/-- In particular, the positive rescaled limit in the paper excludes a finite left limit. -/ +theorem no_left_limit_of_positive_rescaled_norm {E : Type*} [NormedAddCommGroup E] + (u : ℝ → E) (T a c : ℝ) (ha : 0 < a) (hc : 0 < c) + (hblowup : Tendsto (fun t => (T - t) ^ a * ‖u t‖) (𝓝[<] T) (𝓝 c)) : + ¬ ∃ v, Tendsto u (𝓝[<] T) (𝓝 v) := by + rintro ⟨v, hv⟩ + have hzero := vanishing_rescaled_norm_of_left_limit u T a ha v hv + have heq : c = 0 := tendsto_nhds_unique hblowup hzero + exact hc.ne' heq + +/-- Continuous observations of a continuously extendible trajectory have a finite left limit. +Hence a positive self-similar pointwise amplitude rules out such an extension. -/ +theorem no_continuous_extension_of_positive_rescaled_norm + {E F : Type*} [TopologicalSpace E] [NormedAddCommGroup F] + (u : ℝ → E) (observe : E → F) (T a c : ℝ) + (ha : 0 < a) (hc : 0 < c) (hobs : Continuous observe) + (hblowup : Tendsto (fun t => (T - t) ^ a * ‖observe (u t)‖) + (𝓝[<] T) (𝓝 c)) : + ¬ ContinuousWithinAt u (Set.Iio T) T := by + intro hu + apply no_left_limit_of_positive_rescaled_norm (fun t => observe (u t)) T a c ha hc + hblowup + exact ⟨observe (u T), hobs.continuousAt.tendsto.comp hu⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/BoundedInnerNull.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/BoundedInnerNull.lean new file mode 100644 index 0000000000000000000000000000000000000000..791c0687ac6611eaa29bdfaa63227a375f19bfa8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/BoundedInnerNull.lean @@ -0,0 +1,23 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingOddCompactness + +namespace OAI + +/-! # Pairing a bounded sequence with a strongly vanishing sequence -/ + +open Filter Topology + +namespace DefocusingNLS + +theorem tendsto_inner_of_bounded_null {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H] + (u v : ℕ → H) (M : ℝ) (hu : ∀ n, ‖u n‖ ≤ M) (hv : Tendsto v atTop (𝓝 0)) : + Tendsto (fun n => inner ℝ (u n) (v n)) atTop (𝓝 0) := by + rw [tendsto_zero_iff_norm_tendsto_zero] + have ht : Tendsto (fun n => M * ‖v n‖) atTop (𝓝 0) := by + simpa only [norm_zero, mul_zero] using hv.norm.const_mul M + exact squeeze_zero (fun _ => norm_nonneg _) + (fun n => (norm_inner_le_norm (𝕜 := ℝ) (u n) (v n)).trans + (mul_le_mul_of_nonneg_right (hu n) (norm_nonneg _))) ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ClassicalMaximalFlow.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ClassicalMaximalFlow.lean new file mode 100644 index 0000000000000000000000000000000000000000..7bcfa6c2528a54b249ea5b07e63dea81ca965447 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ClassicalMaximalFlow.lean @@ -0,0 +1,48 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.MaximalStrongSolution +import Mathlib.Analysis.Calculus.ContDiff.Deriv + +namespace OAI + +/-! # The maximal Sobolev flow is a classical solution of the defocusing equation -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS + +def IsClassicalDefocusingFlow (k : ℝ) (hk : 6 < k) (m : ℕ) (f : FourierL2) : Prop := + let u := maximalSobolevSchrodingerFlow k hk m f + let D := maximalSobolevInteractionDomain k hk m f + u 0 = f ∧ ContinuousOn u D ∧ + ContDiffOn ℝ 1 (fun t => lowerSobolevInclusion (u t)) D ∧ + ∀ t ∈ D, HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - Complex.I • lowerSobolevInclusion + (sobolevOddPower k hk m (u t))) t + +theorem maximalSobolev_classical (k : ℝ) (hk : 6 < k) (m : ℕ) (f : FourierL2) : + IsClassicalDefocusingFlow k hk m f := by + let u := maximalSobolevSchrodingerFlow k hk m f + let D := maximalSobolevInteractionDomain k hk m f + let v := fun t => lowerSobolevGenerator (u t) - Complex.I • lowerSobolevInclusion + (sobolevOddPower k hk m (u t)) + have hu : ContinuousOn u D := continuousOn_maximalSobolevSchrodingerFlow k hk m f + have hv : ContinuousOn v D := + (lowerSobolevGenerator.continuous.comp_continuousOn hu).sub + ((lowerSobolevInclusion.continuous.comp_continuousOn + ((contDiff_sobolevOddPower k hk m).continuous.comp_continuousOn hu)).const_smul Complex.I) + have hd (t : ℝ) (ht : t ∈ D) : + HasDerivAt (fun s => lowerSobolevInclusion (u s)) (v t) t := + hasDerivAt_maximalSobolevSchrodingerFlow k hk m f ht + have hopen : IsOpen D := isOpen_maximalSobolevInteractionDomain k hk m f + have hdiff : ContDiffOn ℝ 1 (fun t => lowerSobolevInclusion (u t)) D := by + rw [show (1 : ℕ∞ω) = 0 + 1 from rfl, contDiffOn_succ_iff_deriv_of_isOpen hopen] + refine ⟨fun t ht => (hd t ht).differentiableAt.differentiableWithinAt, ?_, ?_⟩ + · norm_num + · apply contDiffOn_zero.mpr + apply hv.congr + intro t ht + exact (hd t ht).deriv + exact ⟨maximalSobolevSchrodingerFlow_initial k hk m f, hu, hdiff, hd⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ConditionalMain.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ConditionalMain.lean new file mode 100644 index 0000000000000000000000000000000000000000..272a32c5983b90cf582c0f9352c25995d2e4b0e2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ConditionalMain.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedOpenBlowup +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ClassicalMaximalFlow +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianFullSupport + +namespace OAI + +/-! # The paper's main statements conditional on the published rectangle Rouché input + +The sole explicit published input is `RectangleRouche`, the rectangle specialization +of the corollary after Ahlfors, *Complex Analysis*, third edition, Chapter 4, +§5.2, Theorem 18, p.153. The conclusions combine the profile, spectral, nonlinear, physical-openness +and probabilistic arguments. +-/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +attribute [local irreducible] HasFiniteTimeSelfSimilarBlowup IsClassicalDefocusingFlow + maximalSobolevInteractionDomain + +/-- Theorem 1.1, with an arbitrary lower bound on the odd power. -/ +theorem stable_blowup_conditional (hRou : RectangleRouche) (p₀ : ℕ) : + ∃ p k : ℕ, p₀ ≤ p ∧ Odd p ∧ 3 ≤ p ∧ ∃ hk : 8 < (k : ℝ), + ∃ U : Set FourierL2, U.Nonempty ∧ IsOpen U ∧ ∀ f ∈ U, + IsClassicalDefocusingFlow k (by linarith) ((p - 1) / 2) f ∧ + HasFiniteTimeSelfSimilarBlowup k (by linarith) ((p - 1) / 2) + (1 / ((p : ℝ) - 1)) f := by + obtain ⟨n, hn, hlarge⟩ := ((radialMatched_exists_open_blowup hRou).and + (eventually_ge_atTop (max 1 p₀))).exists + obtain ⟨N, hk, U, hUn, hUo, hU⟩ := hn + let m := n + radialInnerShootingThreshold + let p := 2 * m + 1 + have hm : 1 ≤ m := by dsimp [m]; omega + have hodd : Odd p := ⟨m, rfl⟩ + have hp : p₀ ≤ p := by dsimp [p, m]; omega + have hp3 : 3 ≤ p := by dsimp [p]; omega + have hdiv : (p - 1) / 2 = m := by dsimp [p]; omega + have ha : radialShootingA n = 1 / ((p : ℝ) - 1) := by + dsimp [radialShootingA, p, m] + push_cast + congr 1 + ring + refine ⟨p, N + 1, hp, hodd, hp3, hk, U, hUn, hUo, ?_⟩ + intro f hf + refine ⟨maximalSobolev_classical _ _ _ f, ?_⟩ + simpa only [hdiv, ← ha] using hU f hf + +/-- Corollary 1.2: the same fixed power and Sobolev order work for every allowed +Gaussian decay exponent. The charged event is an actual open measurable set. -/ +theorem gaussian_blowup_conditional (hRou : RectangleRouche) (p₀ : ℕ) : + ∃ p k : ℕ, p₀ ≤ p ∧ Odd p ∧ 3 ≤ p ∧ ∃ hk : 8 < (k : ℝ), + ∃ U : Set FourierL2, U.Nonempty ∧ IsOpen U ∧ + (∀ f ∈ U, IsClassicalDefocusingFlow k (by linarith) ((p - 1) / 2) f ∧ + HasFiniteTimeSelfSimilarBlowup k (by linarith) ((p - 1) / 2) + (1 / ((p : ℝ) - 1)) f) ∧ + ∀ α : ℝ, (k : ℝ) + 6 < α → + (∀ᵐ g ∂fourierGaussianLaw, Memℓp (weightedGaussianCoefficient k α g) 2) ∧ + (∀ᵐ g ∂fourierGaussianLaw, ∀ n, + sobolevFourierCoefficient k (weightedGaussianVector k α g) n = + (1 + ‖n‖ ^ 2) ^ (-α / 2) • g n) ∧ + 0 < weightedGaussianLaw k α U := by + obtain ⟨p, k, hp, hodd, hp3, hk, U, hUn, hUo, hU⟩ := stable_blowup_conditional hRou p₀ + refine ⟨p, k, hp, hodd, hp3, hk, U, hUn, hUo, hU, ?_⟩ + intro α hα + let : (weightedGaussianLaw k α).IsOpenPosMeasure := weightedGaussianLaw_isOpenPosMeasure k α hα + exact ⟨ae_mem_l2_gaussian_coefficients k α hα, ae_sobolevFourierCoefficient k α hα, + hUo.measure_pos _ hUn⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousCutoffStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousCutoffStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..e6ed57a634507b82eb2f4426a2728df6471f45ae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousCutoffStableOrbit.lean @@ -0,0 +1,115 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusSequence +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffContinuousLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffEndpointContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphStepDecay + +namespace OAI + +/-! # A continuous stable graph of actual global cutoff trajectories -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +abbrev CutoffStableParameter {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + (ρ L₀ : ℝ) (π : Radius → FourierL2 →L[ℝ] F) := + {p : Radius × FourierL2 // L₀ ≤ p.1.1 ∧ ‖p.2‖ ≤ ρ / 4 ∧ π p.1 p.2 = 0} + +def HasContinuousCutoffStableOrbits {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) : Prop := + ∃ ρ : ℝ, 0 < ρ ∧ ∃ C : ℝ, 0 < C ∧ ∃ L₀ : ℝ, + ∃ ζ : Radius → F →L[ℝ] FourierL2, ∃ π : Radius → FourierL2 →L[ℝ] F, + ContinuousOn ζ {L : Radius | L₀ ≤ L.1} ∧ + Continuous (fun q : Radius × FourierL2 => π q.1 q.2) ∧ + (∀ L : Radius, L₀ ≤ L.1 → (∀ v, π L (ζ L v) = v) ∧ ‖ζ L‖ ≤ 1 ∧ ‖π L‖ ≤ C) ∧ + ∃ G : CutoffStableParameter ρ L₀ π → FourierL2, Continuous G ∧ + ∀ p, ‖G p‖ ≤ 2 * ρ ∧ stableFrameProjection (ζ p.1.1) (π p.1.1) (G p) = p.1.2 ∧ + ∃ u : ℝ → FourierL2, ∃ hu : ContinuousOn u (Ici 0), + u 0 = sampledCutoffProfileOrbit a k p.1.1.1 ha1 hk p.1.1.2 χ hχ Qp hQp 0 + G p ∧ + (∀ (S : ℝ) (hS : 0 < S), expandingSlabRestriction u hu S = + expandingPicard a b k p.1.1.1 S ha hk p.1.1.2 hS.le + (expandingNonlinearReaction a k p.1.1.1 S ha ha1 hk p.1.1.2 m) (u 0) + (expandingSlabRestriction u hu S)) ∧ + Tendsto (fun s => ‖u s - sampledCutoffProfileOrbit a k p.1.1.1 ha1 hk p.1.1.2 χ hχ Qp hQp s‖) + atTop (𝓝 0) + +theorem exists_continuous_cutoffStable_orbits {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) (hT : 0 < (T : ℝ)) + (hratio : 2 * Real.exp (-(2 + a) * T / 2) ≤ 1) + (hlinear : HasContinuousTorusLinearStep (F := F) T + (cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T)) + (hnonlinear : HasContinuousCutoffNonlinearSteps a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T) : + HasContinuousCutoffStableOrbits (F := F) a b k ha ha1 hk m χ hχ Qp hQp := by + classical + obtain ⟨δ, Lnl, B, hδ, _, hB, V, h, hcV, hch, hsol, hV, hend, hzero, hlip⟩ := hnonlinear + obtain ⟨C, hC, ρ, hρ, hρδ, Lg, ζ, π, hζc, hπc, hbound, hπζ, hseq⟩ := + exists_continuous_cutoffStable_sequence_threshold a δ B ha hδ hB.le T hratio + (cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T) + (continuous_cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T) hlinear + let L₀ := max Lg Lnl + let ζ₀ := fun L => ζ L 0 + let π₀ := fun L => π L 0 + let P := CutoffStableParameter ρ L₀ π₀ + let l : P → Radius := fun p => p.1.1 + let w : P → FourierL2 := fun p => p.1.2 + have hlc : Continuous l := continuous_fst.comp continuous_subtype_val + have hwc : Continuous w := continuous_snd.comp continuous_subtype_val + have hl (p : P) : Lg ≤ (l p).1 := (le_max_left _ _).trans p.2.1 + let ln := fun n (p : P) => expandingDiscreteRadius (l p) T n + have hln (n : ℕ) (p : P) : Lnl ≤ (ln n p).1 := + ((le_max_right _ _).trans p.2.1).trans (expandingDiscreteRadius_ge (l p) T n) + let r := fun n (p : P) => (⟨(ln n p).1, (ln n p).2, hln n p⟩ : {R : ℝ // 1 ≤ R ∧ Lnl ≤ R}) + have hrc (n : ℕ) : Continuous (r n) := + (continuous_subtype_val.comp ((continuous_expandingDiscreteRadius T n).comp hlc)).subtype_mk _ + let H := fun p n v => h (r n p, v) + have hHc (n : ℕ) : Continuous (fun q : P × {v : FourierL2 // ‖v‖ ≤ δ} => H q.1 n q.2) := + hch.comp (((hrc n).comp continuous_fst).prodMk continuous_snd) + obtain ⟨z, hzc, hz0, hzstep, hzn⟩ := hseq P l hlc hl H hHc + (fun p n d hd hdδ v u hv hu => hlip d hd hdδ (r n p) v u hv hu) + (fun p n v hv => hzero (r n p, v) hv) + w hwc (fun p => p.2.2.1) (fun p => p.2.2.2) + refine ⟨ρ, hρ, C, hC, L₀, ζ₀, π₀, ?_, hπc 0, ?_, (fun p => z p 0), hzc 0, ?_⟩ + · apply (hζc 0).mono + intro L hL + exact (le_max_left Lg Lnl).trans hL + · intro L hL + have hLg : Lg ≤ L.1 := (le_max_left _ _).trans hL + exact ⟨hπζ L hLg 0, (hbound L hLg 0).1, (hbound L hLg 0).2⟩ + · intro p + refine ⟨by simpa using hzn p 0, hz0 p, ?_⟩ + have hzδ (n : ℕ) : ‖z p n‖ ≤ δ := (hzn p n).trans ((mul_le_of_le_one_right + (by positivity : 0 ≤ 2 * ρ) (pow_le_one₀ (by norm_num : (0 : ℝ) ≤ 1 / 2) (by norm_num))).trans hρδ) + let Z := fun n => (⟨z p n, hzδ n⟩ : {f : FourierL2 // ‖f‖ ≤ δ}) + let W := fun n => V (r n p, Z n) + have hWM (n : ℕ) : W n ⟨T, T.2, le_rfl⟩ = z p (n + 1) := by + calc + _ = cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T (ln n p) (z p n) + + H p n (Z n) := hend (r n p, Z n) + _ = cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T (ln n p) (z p n) + + cutoffRemainderExtension δ (H p) n (z p n) := by + rw [cutoffRemainderExtension, dite_eq_left (hzδ n)] + _ = _ := (hzstep p n).symm + have hWbound (n : ℕ) : ‖W n‖ ≤ B * (‖z p n‖ + + (expandingRadius (l p).1 ((n : ℝ) * T)) ^ (-2 - a)) := hV (r n p, Z n) + have hr : Real.exp (-(2 + a) * T / 2) ≤ 1 / 2 := by linarith + have hWgeo := cutoffStep_path_geometric_bound a (l p).1 T B (2 * ρ) + (lt_of_lt_of_le zero_lt_one (l p).2) hB.le hr (z p) W (hzn p) hWbound + exact exists_cutoffGlobal_orbit_of_steps a b k (l p).1 T ha ha1 hk (l p).2 hT m χ hχ Qp hQp + (z p) W hWM (fun n => hsol (r n p, Z n)) + (B * (2 * ρ + (l p).1 ^ (-2 - a))) (1 / 2) (by norm_num) (by norm_num) hWgeo + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusAssembly.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusAssembly.lean new file mode 100644 index 0000000000000000000000000000000000000000..f14d8f28d3eafda7d4e723245a65d46ab6721eef --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusAssembly.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateInverse + +namespace OAI + +/-! # Continuous normalized torus data from kernel decay and coordinate transfer -/ + +open scoped SchwartzMap NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem continuous_torusLinearSteps_of_transfer {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] F) + (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) + (hkernel : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 → ‖A T L f‖ < β) + (hcoord : ∀ T, HasContractingTorusCoordinateTransfer a k ha ha1 hk χ π T (A T)) + (hA : ∀ T, ∃ C : ℝ, 0 ≤ C ∧ ∀ L, ‖A T L‖ ≤ C) : + ∃ T₀ : ℝ, 0 ≤ T₀ ∧ ∀ T : ℝ≥0, T₀ ≤ T → + HasContinuousTorusLinearStep (F := π.range) T (A T) := by + have hsurj : Function.Surjective π.rangeRestrict := by + rintro ⟨v, u, hu⟩ + exact ⟨u, Subtype.ext hu⟩ + obtain ⟨C, hC, Lf, ζ, hζc, hζ⟩ := exists_continuous_boundedTorusFrame + a k ha ha1 hk χ ρ hρ hχ π.rangeRestrict hsurj + obtain ⟨T₀, hT₀, hT⟩ := hkernel ((1 / 8) / (C * C)) (by positivity) + refine ⟨T₀, hT₀, ?_⟩ + intro T hTT + obtain ⟨Lk, hLk⟩ := hT T hTT + obtain ⟨D, R, hDR, hR, hdefect⟩ := hcoord T + obtain ⟨CA, hCA, hAb⟩ := hA T + obtain ⟨CJ, hCJ, hJ⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let Cπ := ‖π.rangeRestrict‖ * CJ + have hCπ : 0 ≤ Cπ := mul_nonneg (norm_nonneg π.rangeRestrict) hCJ + apply continuous_torusLinearStep_of_frames T (A T) ζ + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict) D R hDR hR + (max Lf Lk) C Cπ CA hC.le hCπ hCA + · intro L hL + obtain ⟨he, hz, hp⟩ := hζ L ((le_max_left _ _).trans hL) + exact ⟨fun v => congrArg (fun B : π.range →L[ℝ] π.range => B v) he, hz, + expandingCoordinates_norm_le a k CJ ha ha1 hk hCJ χ π.rangeRestrict hJ L, hp⟩ + · intro L hL + have hLf : Lf ≤ L.1 := (le_max_left _ _).trans hL + have hLR : Lf ≤ (torusEndpointRadius T L).1 := hLf.trans (torusEndpointRadius_ge T L) + have hb := stableProjectedBlock_of_kernel_bound (ζ L) (ζ (torusEndpointRadius T L)) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict (torusEndpointRadius T L)) + (A T L) C ((1 / 8) / (C * C)) hC.le (by positivity) + (fun v => congrArg (fun B : π.range →L[ℝ] π.range => B v) (hζ L hLf).1) + (hζ L hLf).2.2 (hζ _ hLR).2.2 + have hunit : ∀ f : FourierL2, ‖f‖ ≤ 1 → + expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L f = 0 → + ‖A T L f‖ ≤ (1 / 8) / (C * C) := by + intro f hf hz + have he : π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 := + congrArg (fun v : π.range => (v : F)) hz + exact (hLk L ((le_max_right _ _).trans hL) f hf he).le + apply (hb hunit).trans_eq + field_simp + · exact hAb + · exact hdefect + · apply hζc.mono + intro L hL + exact (le_max_left Lf Lk).trans hL + · exact continuous_expandingCoordinates_apply a k ha ha1 hk χ π.rangeRestrict + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusCoordinateData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusCoordinateData.lean new file mode 100644 index 0000000000000000000000000000000000000000..b742cd998a091ceee83e8e74e982df8ac6e1ce33 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusCoordinateData.lean @@ -0,0 +1,142 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusDiscreteData +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusFrameNormalization + +namespace OAI + +/-! # Continuous linear data retaining the original torus coordinate map -/ + +open scoped NNReal + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + +def HasContinuousTorusCoordinateData (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) + (κ : Radius → FourierL2 →L[ℝ] F) : Prop := + ∃ K : ℝ, 0 < K ∧ ∃ C : ℝ, 0 < C ∧ ∃ L₀ : ℝ, + ∃ ζ : Radius → F →L[ℝ] FourierL2, + let π := fun L => K • κ L + ∃ D R : F →L[ℝ] F, (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ L : Radius, L₀ ≤ L.1 → ∀ v, π L (ζ L v) = v) ∧ + (∀ L : Radius, L₀ ≤ L.1 → + ‖ζ L‖ ≤ 1 ∧ ‖π L‖ ≤ C ∧ ‖stableFrameProjection (ζ L) (π L)‖ ≤ C ∧ + ‖stableProjectedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π L) (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 8 ∧ + ‖stableMixedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 16) ∧ + (∀ ε : ℝ, 0 < ε → ∃ Lε : ℝ, L₀ ≤ Lε ∧ ∀ L : Radius, Lε ≤ L.1 → + ‖(π (torusEndpointRadius T L)).comp (A L) - D.comp (π L)‖ ≤ ε) ∧ + ContinuousOn ζ {L : Radius | L₀ ≤ L.1} ∧ + Continuous (fun p : Radius × FourierL2 => π p.1 p.2) + +theorem continuous_torusCoordinateData_of_frames (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) + (ζ : Radius → F →L[ℝ] FourierL2) (π : Radius → FourierL2 →L[ℝ] F) + (D R : F →L[ℝ] F) (hinv : ∀ v, D (R v) = v) (hR : ‖R‖ ≤ 1) + (L₀ C Cπ CA : ℝ) (hC : 0 ≤ C) (hCπ : 0 ≤ Cπ) (hCA : 0 ≤ CA) + (hframe : ∀ L : Radius, L₀ ≤ L.1 → + (∀ v, π L (ζ L v) = v) ∧ ‖ζ L‖ ≤ C ∧ ‖π L‖ ≤ Cπ ∧ + ‖stableFrameProjection (ζ L) (π L)‖ ≤ C) + (hstable : ∀ L : Radius, L₀ ≤ L.1 → + ‖stableProjectedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π L) (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 8) + (hA : ∀ L : Radius, ‖A L‖ ≤ CA) + (hdefect : ∀ ε : ℝ, 0 < ε → ∃ Lε : ℝ, ∀ L : Radius, Lε ≤ L.1 → + ‖(π (torusEndpointRadius T L)).comp (A L) - D.comp (π L)‖ ≤ ε) + (hζc : ContinuousOn ζ {L : Radius | L₀ ≤ L.1}) + (hπc : Continuous (fun p : Radius × FourierL2 => π p.1 p.2)) : + HasContinuousTorusCoordinateData (F := F) T A π := by + obtain ⟨K, hK, hscale⟩ := exists_uniform_frame_scale (E := FourierL2) (F := F) C CA C hC hCA hC + let ζ' := fun L => stableNormalizedFrame K (ζ L) + let B := 1 + C + K * Cπ + have hB : 0 < B := by dsimp [B]; positivity + refine ⟨K, hK, B, hB, L₀, ζ', D, R, hinv, hR, ?_, ?_, ?_, ?_, ?_⟩ + · intro L hL v + exact stableNormalized_rightInverse K hK.ne' (ζ L) (π L) (hframe L hL).1 v + · intro L hL + have hLR := hL.trans (torusEndpointRadius_ge T L) + obtain ⟨_, hζ, hπ, hP⟩ := hframe L hL + obtain ⟨_, _, _, hPR⟩ := hframe (torusEndpointRadius T L) hLR + obtain ⟨hζ', hmixed⟩ := hscale (ζ L) (ζ (torusEndpointRadius T L)) + (π (torusEndpointRadius T L)) (A L) hPR (hA L) hζ + refine ⟨hζ', ?_, ?_, ?_, hmixed⟩ + · exact (stableNormalizedCoordinate_norm_le K Cπ hK.le (π L) hπ).trans (by dsimp [B]; linarith) + · change ‖stableFrameProjection (stableNormalizedFrame K (ζ L)) + (stableNormalizedCoordinate K (π L))‖ ≤ B + rw [stableNormalized_projection K hK.ne'] + exact hP.trans (by dsimp [B]; nlinarith [mul_nonneg hK.le hCπ]) + · change ‖stableProjectedBlock (stableNormalizedFrame K (ζ L)) + (stableNormalizedFrame K (ζ (torusEndpointRadius T L))) + (stableNormalizedCoordinate K (π L)) + (stableNormalizedCoordinate K (π (torusEndpointRadius T L))) (A L)‖ ≤ 1 / 8 + rw [stableNormalized_projectedBlock K hK.ne'] + exact hstable L hL + · intro ε hε + obtain ⟨Lε, hεL⟩ := hdefect (ε / K) (div_pos hε hK) + refine ⟨max L₀ Lε, le_max_left _ _, ?_⟩ + intro L hL + apply (stableNormalized_defect_norm_le K (ε / K) hK.le (π L) + (π (torusEndpointRadius T L)) (A L) D + (hεL L ((le_max_right _ _).trans hL))).trans_eq + exact mul_div_cancel₀ ε hK.ne' + + · change ContinuousOn (fun L => (K⁻¹ : ℝ) • ζ L) {L : Radius | L₀ ≤ L.1} + exact (continuousOn_const : ContinuousOn (fun _ : Radius => (K⁻¹ : ℝ)) + {L : Radius | L₀ ≤ L.1}).smul hζc + · change Continuous (fun p : Radius × FourierL2 => (K : ℝ) • π p.1 p.2) + exact continuous_const.smul hπc + +theorem continuous_torusCoordinateData_discrete {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) + (κ : Radius → FourierL2 →L[ℝ] F) + (h : HasContinuousTorusCoordinateData (F := F) T A κ) : + ∃ K : ℝ, 0 < K ∧ ∃ C : ℝ, 0 < C ∧ ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, + ∃ ζ : Radius → ℕ → F →L[ℝ] FourierL2, + ∃ π : Radius → ℕ → FourierL2 →L[ℝ] F, + (∀ L n, π L n = K • κ (expandingDiscreteRadius L T n)) ∧ + ∃ D R : F →L[ℝ] F, (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ n, ContinuousOn (fun L => ζ L n) {L : Radius | L₀ ≤ L.1}) ∧ + (∀ n, Continuous (fun p : Radius × FourierL2 => π p.1 n p.2)) ∧ + ∀ L : Radius, L₀ ≤ L.1 → + (∀ n v, π L n (ζ L n v) = v) ∧ + (∀ n, ‖ζ L n‖ ≤ 1) ∧ (∀ n, ‖π L n‖ ≤ C) ∧ + (∀ n, ‖stableFrameProjection (ζ L n) (π L n)‖ ≤ C) ∧ + (∀ n, ‖stableProjectedBlock (ζ L n) (ζ L (n + 1)) (π L n) (π L (n + 1)) + (A (expandingDiscreteRadius L T n))‖ ≤ 1 / 8) ∧ + (∀ n, ‖stableMixedBlock (ζ L n) (ζ L (n + 1)) (π L (n + 1)) + (A (expandingDiscreteRadius L T n))‖ ≤ 1 / 16) ∧ + (∀ n, ‖(π L (n + 1)).comp (A (expandingDiscreteRadius L T n)) - + D.comp (π L n)‖ ≤ ε) := by + obtain ⟨K, hK, C, hC, Lb, ζ, D, R, hinv, hR, hframe, hbound, hdefect, hζc, hπc⟩ := h + let π := fun L => K • κ L + refine ⟨K, hK, C, hC, ?_⟩ + intro ε hε + obtain ⟨L₀, hLb, hεL⟩ := hdefect ε hε + refine ⟨L₀, (fun L n => ζ (expandingDiscreteRadius L T n)), + (fun L n => π (expandingDiscreteRadius L T n)), (fun _ _ => rfl), D, R, hinv, hR, ?_, ?_, ?_⟩ + · intro n + exact hζc.comp (continuous_expandingDiscreteRadius T n).continuousOn + (fun L hL => hLb.trans (hL.trans (expandingDiscreteRadius_ge L T n))) + · intro n + exact hπc.comp (((continuous_expandingDiscreteRadius T n).comp continuous_fst).prodMk + continuous_snd) + · intro L hL + have hn (n : ℕ) : L₀ ≤ (expandingDiscreteRadius L T n).1 := + hL.trans (expandingDiscreteRadius_ge L T n) + have hb (n : ℕ) := hbound (expandingDiscreteRadius L T n) (hLb.trans (hn n)) + refine ⟨(fun n => hframe _ (hLb.trans (hn n))), (fun n => (hb n).1), + (fun n => (hb n).2.1), (fun n => (hb n).2.2.1), ?_, ?_, ?_⟩ + · intro n + simpa only [expandingDiscreteRadius_succ] using (hb n).2.2.2.1 + · intro n + simpa only [expandingDiscreteRadius_succ] using (hb n).2.2.2.2 + · intro n + simpa only [expandingDiscreteRadius_succ] using hεL _ (hn n) + + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusCoordinateTransfer.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusCoordinateTransfer.lean new file mode 100644 index 0000000000000000000000000000000000000000..d0044be05939c19ea783190386397a5e894968dd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusCoordinateTransfer.lean @@ -0,0 +1,125 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusCoordinateData +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateInverse +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalRealCoordinates + +namespace OAI + +/-! # Continuous torus data with retained localized coordinates -/ + +open scoped SchwartzMap NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +def HasContinuousDiagonalCoordinateData {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (π : HomogeneousY a k →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (χ : 𝓢(E, ℂ)) (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) : Prop := + ∃ T₀ : ℝ, 0 ≤ T₀ ∧ ∀ T : ℝ≥0, T₀ ≤ T → + HasContinuousTorusCoordinateData + (F := (diagonalRealCoordinates π G hspan hspec).range) T (A T) + (expandingCoordinates a k ha ha1 hk χ + (diagonalRealCoordinates π G hspan hspec).rangeRestrict) + +theorem continuous_torusCoordinateData_of_transfer {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] F) + (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) + (hkernel : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 → ‖A T L f‖ < β) + (hcoord : ∀ T, HasContractingTorusCoordinateTransfer a k ha ha1 hk χ π T (A T)) + (hA : ∀ T, ∃ C : ℝ, 0 ≤ C ∧ ∀ L, ‖A T L‖ ≤ C) : + ∃ T₀ : ℝ, 0 ≤ T₀ ∧ ∀ T : ℝ≥0, T₀ ≤ T → + HasContinuousTorusCoordinateData (F := π.range) T (A T) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict) := by + have hsurj : Function.Surjective π.rangeRestrict := by + rintro ⟨v, u, hu⟩ + exact ⟨u, Subtype.ext hu⟩ + obtain ⟨C, hC, Lf, ζ, hζc, hζ⟩ := exists_continuous_boundedTorusFrame + a k ha ha1 hk χ ρ hρ hχ π.rangeRestrict hsurj + obtain ⟨T₀, hT₀, hT⟩ := hkernel ((1 / 8) / (C * C)) (by positivity) + refine ⟨T₀, hT₀, ?_⟩ + intro T hTT + obtain ⟨Lk, hLk⟩ := hT T hTT + obtain ⟨D, R, hDR, hR, hdefect⟩ := hcoord T + obtain ⟨CA, hCA, hAb⟩ := hA T + obtain ⟨CJ, hCJ, hJ⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let Cπ := ‖π.rangeRestrict‖ * CJ + have hCπ : 0 ≤ Cπ := mul_nonneg (norm_nonneg π.rangeRestrict) hCJ + apply continuous_torusCoordinateData_of_frames T (A T) ζ + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict) D R hDR hR + (max Lf Lk) C Cπ CA hC.le hCπ hCA + · intro L hL + obtain ⟨he, hz, hp⟩ := hζ L ((le_max_left _ _).trans hL) + exact ⟨fun v => congrArg (fun B : π.range →L[ℝ] π.range => B v) he, hz, + expandingCoordinates_norm_le a k CJ ha ha1 hk hCJ χ π.rangeRestrict hJ L, hp⟩ + · intro L hL + have hLf : Lf ≤ L.1 := (le_max_left _ _).trans hL + have hLR : Lf ≤ (torusEndpointRadius T L).1 := hLf.trans (torusEndpointRadius_ge T L) + have hb := stableProjectedBlock_of_kernel_bound (ζ L) (ζ (torusEndpointRadius T L)) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L) + (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict (torusEndpointRadius T L)) + (A T L) C ((1 / 8) / (C * C)) hC.le (by positivity) + (fun v => congrArg (fun B : π.range →L[ℝ] π.range => B v) (hζ L hLf).1) + (hζ L hLf).2.2 (hζ _ hLR).2.2 + have hunit : ∀ f : FourierL2, ‖f‖ ≤ 1 → + expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L f = 0 → + ‖A T L f‖ ≤ (1 / 8) / (C * C) := by + intro f hf hz + have he : π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 := + congrArg (fun v : π.range => (v : F)) hz + exact (hLk L ((le_max_right _ _).trans hL) f hf he).le + apply (hb hunit).trans_eq + field_simp + · exact hAb + · exact hdefect + · apply hζc.mono + intro L hL + exact (le_max_left Lf Lk).trans hL + · exact continuous_expandingCoordinates_apply a k ha ha1 hk χ π.rangeRestrict + +theorem continuous_diagonalCoordinateData_of_transfer {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) + (ρ : ℝ) (hρ : 0 < ρ) (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (A : ℝ≥0 → Radius → FourierL2 →L[ℝ] FourierL2) + (hkernel : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + π (homogeneousLocalizationCLM a k L.1 ha ha1 hk L.2 χ f) = 0 → ‖A T L f‖ < β) + (hcoord : ∀ T, HasContractingTorusCoordinateTransfer a k ha ha1 hk χ + (diagonalRealCoordinates π G hspan hspec) T (A T)) + (hA : ∀ T, ∃ C : ℝ, 0 ≤ C ∧ ∀ L, ‖A T L‖ ≤ C) : + HasContinuousDiagonalCoordinateData a k ha ha1 hk π G hspan hspec χ A := by + let : FiniteDimensional ℝ (SymmetryCoordinates G) := + FiniteDimensional.trans ℝ ℂ (SymmetryCoordinates G) + unfold HasContinuousDiagonalCoordinateData + apply continuous_torusCoordinateData_of_transfer a k ha ha1 hk χ ρ hρ hχ + (diagonalRealCoordinates π G hspan hspec) A + · intro β hβ + obtain ⟨T₀, hT₀, hT⟩ := hkernel β hβ + refine ⟨T₀, hT₀, fun T hTT => ?_⟩ + obtain ⟨L₀, hL₀⟩ := hT T hTT + refine ⟨L₀, fun L hL f hf hz => ?_⟩ + exact hL₀ L hL f hf ((diagonalRealCoordinates_zero_iff π G hspan hspec _).mp hz) + · exact hcoord + · exact hA + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusDiscreteData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusDiscreteData.lean new file mode 100644 index 0000000000000000000000000000000000000000..2708a14c274d73a36b66e24e05f63c08299488df --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusDiscreteData.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusDiscreteRadius + +namespace OAI + +/-! # Continuous linear data along the expanding discrete orbit -/ + +open scoped NNReal + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem continuous_expandingDiscreteRadius (T : ℝ≥0) (n : ℕ) : + Continuous (fun L : Radius => expandingDiscreteRadius L T n) := by + apply Continuous.subtype_mk + exact continuous_subtype_val.mul continuous_const + +theorem continuous_torusLinearStep_discrete {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) + (h : HasContinuousTorusLinearStep (F := F) T A) : + ∃ C : ℝ, 0 < C ∧ ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, + ∃ ζ : Radius → ℕ → F →L[ℝ] FourierL2, + ∃ π : Radius → ℕ → FourierL2 →L[ℝ] F, + ∃ D R : F →L[ℝ] F, (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ n, ContinuousOn (fun L => ζ L n) {L : Radius | L₀ ≤ L.1}) ∧ + (∀ n, Continuous (fun p : Radius × FourierL2 => π p.1 n p.2)) ∧ + ∀ L : Radius, L₀ ≤ L.1 → + (∀ n v, π L n (ζ L n v) = v) ∧ + (∀ n, ‖ζ L n‖ ≤ 1) ∧ (∀ n, ‖π L n‖ ≤ C) ∧ + (∀ n, ‖stableFrameProjection (ζ L n) (π L n)‖ ≤ C) ∧ + (∀ n, ‖stableProjectedBlock (ζ L n) (ζ L (n + 1)) (π L n) (π L (n + 1)) + (A (expandingDiscreteRadius L T n))‖ ≤ 1 / 8) ∧ + (∀ n, ‖stableMixedBlock (ζ L n) (ζ L (n + 1)) (π L (n + 1)) + (A (expandingDiscreteRadius L T n))‖ ≤ 1 / 16) ∧ + (∀ n, ‖(π L (n + 1)).comp (A (expandingDiscreteRadius L T n)) - + D.comp (π L n)‖ ≤ ε) := by + obtain ⟨C, hC, Lb, ζ, π, D, R, hinv, hR, hframe, hbound, hdefect, hζc, hπc⟩ := h + refine ⟨C, hC, ?_⟩ + intro ε hε + obtain ⟨L₀, hLb, hεL⟩ := hdefect ε hε + refine ⟨L₀, (fun L n => ζ (expandingDiscreteRadius L T n)), + (fun L n => π (expandingDiscreteRadius L T n)), D, R, hinv, hR, ?_, ?_, ?_⟩ + · intro n + exact hζc.comp (continuous_expandingDiscreteRadius T n).continuousOn + (fun L hL => hLb.trans (hL.trans (expandingDiscreteRadius_ge L T n))) + · intro n + exact hπc.comp (((continuous_expandingDiscreteRadius T n).comp continuous_fst).prodMk + continuous_snd) + · intro L hL + have hn (n : ℕ) : L₀ ≤ (expandingDiscreteRadius L T n).1 := + hL.trans (expandingDiscreteRadius_ge L T n) + have hb (n : ℕ) := hbound (expandingDiscreteRadius L T n) (hLb.trans (hn n)) + refine ⟨(fun n => hframe _ (hLb.trans (hn n))), (fun n => (hb n).1), + (fun n => (hb n).2.1), (fun n => (hb n).2.2.1), ?_, ?_, ?_⟩ + · intro n + simpa only [expandingDiscreteRadius_succ] using (hb n).2.2.2.1 + · intro n + simpa only [expandingDiscreteRadius_succ] using (hb n).2.2.2.2 + · intro n + simpa only [expandingDiscreteRadius_succ] using hεL _ (hn n) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusFrame.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusFrame.lean new file mode 100644 index 0000000000000000000000000000000000000000..2649b8e5ac40ffeca4bcf1c6428a2074dbb5ca36 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusFrame.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ContinuousSampledFrame +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.CorrectedTorusFrame + +namespace OAI + +/-! # Continuous, uniformly bounded corrected torus frames -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem nearIdentity_ringInverse (A : F →L[ℝ] F) + (hA : ‖A - ContinuousLinearMap.id ℝ F‖ < 1 / 2) : + IsUnit A ∧ A.comp (Ring.inverse A) = ContinuousLinearMap.id ℝ F ∧ + (Ring.inverse A).comp A = ContinuousLinearMap.id ℝ F ∧ ‖Ring.inverse A‖ ≤ 2 := by + let : CompleteSpace F := FiniteDimensional.complete ℝ F + obtain ⟨D, hDA, hAD, hD⟩ := exists_nearIdentity_inverse A hA + let U : (F →L[ℝ] F)ˣ := ⟨A, D, hAD, hDA⟩ + have hi : Ring.inverse A = D := Ring.inverse_unit U + exact ⟨⟨U, rfl⟩, hi ▸ hAD, hi ▸ hDA, hi ▸ hD⟩ + +theorem exists_continuous_boundedTorusFrame + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] F) (hπ : Function.Surjective π) : + ∃ C : ℝ, 0 < C ∧ ∃ L₀ : ℝ, ∃ ζ : Radius → F →L[ℝ] FourierL2, + ContinuousOn ζ {L : Radius | L₀ ≤ L.1} ∧ + ∀ L : Radius, L₀ ≤ L.1 → + (expandingCoordinates a k ha ha1 hk χ π L).comp (ζ L) = + ContinuousLinearMap.id ℝ F ∧ + ‖ζ L‖ ≤ C ∧ + ‖stableFrameProjection (ζ L) (expandingCoordinates a k ha ha1 hk χ π L)‖ ≤ C := by + classical + let : CompleteSpace F := FiniteDimensional.complete ℝ F + obtain ⟨B, hB⟩ := exists_homogeneousSchwartz_frame a k ha ha1 hk π hπ + obtain ⟨CB, hCB, hbound⟩ := sampledSchwartzFrame_uniform_bound a k ha1 hk B + obtain ⟨L₀, hL₀⟩ := sampledSchwartzFrame_coordinate_approximation a k ha ha1 hk + χ ρ hρ hχ π B hB (1 / 2) (by norm_num) + let A := fun L : Radius => (expandingCoordinates a k ha ha1 hk χ π L).comp + (sampledSchwartzFrame a k ha1 hk B L) + have hA : Continuous A := continuous_sampledSchwartzFrame_coordinates a k ha ha1 hk χ π B + have hAi (L : Radius) (hL : L₀ ≤ L.1) := nearIdentity_ringInverse (A L) (hL₀ L hL) + let ζ := fun L : Radius => (sampledSchwartzFrame a k ha1 hk B L).comp (Ring.inverse (A L)) + have hζc : ContinuousOn ζ {L : Radius | L₀ ≤ L.1} := by + intro L hL + obtain ⟨U, hU⟩ := (hAi L hL).1 + have hi : ContinuousAt (fun R => Ring.inverse (A R)) L := by + exact (hU ▸ NormedRing.inverse_continuousAt U).comp hA.continuousAt + exact (((continuous_sampledSchwartzFrame a k ha1 hk B).continuousAt).clm_comp hi).continuousWithinAt + have hζb (L : Radius) (hL : L₀ ≤ L.1) : ‖ζ L‖ ≤ CB * 2 := + (ContinuousLinearMap.opNorm_comp_le _ _).trans + (mul_le_mul (hbound L) (hAi L hL).2.2.2 (norm_nonneg _) hCB) + obtain ⟨CJ, hCJ, hJ⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let CP := ‖π‖ * CJ + have hCP : 0 ≤ CP := mul_nonneg (norm_nonneg _) hCJ + let C := 1 + CB * 2 + CB * 2 * CP + refine ⟨C, by dsimp [C]; positivity, L₀, ζ, hζc, ?_⟩ + intro L hL + refine ⟨?_, (hζb L hL).trans (by + have hp : 0 ≤ CB * 2 * CP := by positivity + dsimp [C] + linarith), ?_⟩ + · dsimp only [ζ] + rw [← ContinuousLinearMap.comp_assoc] + exact (hAi L hL).2.1 + · have hp : ‖expandingCoordinates a k ha ha1 hk χ π L‖ ≤ CP := + expandingCoordinates_norm_le a k CJ ha ha1 hk hCJ χ π hJ L + calc + _ ≤ ‖ContinuousLinearMap.id ℝ FourierL2‖ + + ‖(ζ L).comp (expandingCoordinates a k ha ha1 hk χ π L)‖ := norm_sub_le _ _ + _ ≤ 1 + CB * 2 * CP := add_le_add ContinuousLinearMap.norm_id_le + ((ContinuousLinearMap.opNorm_comp_le _ _).trans + (mul_le_mul (hζb L hL) hp (norm_nonneg _) (by positivity))) + _ ≤ C := by dsimp [C]; linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusLinearStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusLinearStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..2f8b6d56a93f7a39ffbe3e71b5b27e3920db2d22 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusLinearStep.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusFrame +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusFrameNormalization + +namespace OAI + +/-! # Continuous normalized linear data for the discrete stable graph -/ + +open scoped NNReal + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + +def HasContinuousTorusLinearStep (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) : Prop := + ∃ C : ℝ, 0 < C ∧ ∃ L₀ : ℝ, + ∃ ζ : Radius → F →L[ℝ] FourierL2, ∃ π : Radius → FourierL2 →L[ℝ] F, + ∃ D R : F →L[ℝ] F, (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ L : Radius, L₀ ≤ L.1 → ∀ v, π L (ζ L v) = v) ∧ + (∀ L : Radius, L₀ ≤ L.1 → + ‖ζ L‖ ≤ 1 ∧ ‖π L‖ ≤ C ∧ ‖stableFrameProjection (ζ L) (π L)‖ ≤ C ∧ + ‖stableProjectedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π L) (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 8 ∧ + ‖stableMixedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 16) ∧ + (∀ ε : ℝ, 0 < ε → ∃ Lε : ℝ, L₀ ≤ Lε ∧ ∀ L : Radius, Lε ≤ L.1 → + ‖(π (torusEndpointRadius T L)).comp (A L) - D.comp (π L)‖ ≤ ε) ∧ + ContinuousOn ζ {L : Radius | L₀ ≤ L.1} ∧ + Continuous (fun p : Radius × FourierL2 => π p.1 p.2) + +theorem continuous_torusLinearStep_of_frames (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) + (ζ : Radius → F →L[ℝ] FourierL2) (π : Radius → FourierL2 →L[ℝ] F) + (D R : F →L[ℝ] F) (hinv : ∀ v, D (R v) = v) (hR : ‖R‖ ≤ 1) + (L₀ C Cπ CA : ℝ) (hC : 0 ≤ C) (hCπ : 0 ≤ Cπ) (hCA : 0 ≤ CA) + (hframe : ∀ L : Radius, L₀ ≤ L.1 → + (∀ v, π L (ζ L v) = v) ∧ ‖ζ L‖ ≤ C ∧ ‖π L‖ ≤ Cπ ∧ + ‖stableFrameProjection (ζ L) (π L)‖ ≤ C) + (hstable : ∀ L : Radius, L₀ ≤ L.1 → + ‖stableProjectedBlock (ζ L) (ζ (torusEndpointRadius T L)) + (π L) (π (torusEndpointRadius T L)) (A L)‖ ≤ 1 / 8) + (hA : ∀ L : Radius, ‖A L‖ ≤ CA) + (hdefect : ∀ ε : ℝ, 0 < ε → ∃ Lε : ℝ, ∀ L : Radius, Lε ≤ L.1 → + ‖(π (torusEndpointRadius T L)).comp (A L) - D.comp (π L)‖ ≤ ε) + (hζc : ContinuousOn ζ {L : Radius | L₀ ≤ L.1}) + (hπc : Continuous (fun p : Radius × FourierL2 => π p.1 p.2)) : + HasContinuousTorusLinearStep (F := F) T A := by + obtain ⟨K, hK, hscale⟩ := exists_uniform_frame_scale (E := FourierL2) (F := F) C CA C hC hCA hC + let ζ' := fun L => stableNormalizedFrame K (ζ L) + let π' := fun L => stableNormalizedCoordinate K (π L) + let B := 1 + C + K * Cπ + have hB : 0 < B := by dsimp [B]; positivity + refine ⟨B, hB, L₀, ζ', π', D, R, hinv, hR, ?_, ?_, ?_, ?_, ?_⟩ + · intro L hL v + exact stableNormalized_rightInverse K hK.ne' (ζ L) (π L) (hframe L hL).1 v + · intro L hL + have hLR := hL.trans (torusEndpointRadius_ge T L) + obtain ⟨_, hζ, hπ, hP⟩ := hframe L hL + obtain ⟨_, _, _, hPR⟩ := hframe (torusEndpointRadius T L) hLR + obtain ⟨hζ', hmixed⟩ := hscale (ζ L) (ζ (torusEndpointRadius T L)) + (π (torusEndpointRadius T L)) (A L) hPR (hA L) hζ + refine ⟨hζ', ?_, ?_, ?_, hmixed⟩ + · exact (stableNormalizedCoordinate_norm_le K Cπ hK.le (π L) hπ).trans (by dsimp [B]; linarith) + · rw [stableNormalized_projection K hK.ne'] + exact hP.trans (by dsimp [B]; nlinarith [mul_nonneg hK.le hCπ]) + · rw [stableNormalized_projectedBlock K hK.ne'] + exact hstable L hL + · intro ε hε + obtain ⟨Lε, hεL⟩ := hdefect (ε / K) (div_pos hε hK) + refine ⟨max L₀ Lε, le_max_left _ _, ?_⟩ + intro L hL + apply (stableNormalized_defect_norm_le K (ε / K) hK.le (π L) + (π (torusEndpointRadius T L)) (A L) D + (hεL L ((le_max_right _ _).trans hL))).trans_eq + exact mul_div_cancel₀ ε hK.ne' + + · change ContinuousOn (fun L => (K⁻¹ : ℝ) • ζ L) {L : Radius | L₀ ≤ L.1} + exact (continuousOn_const : ContinuousOn (fun _ : Radius => (K⁻¹ : ℝ)) + {L : Radius | L₀ ≤ L.1}).smul hζc + · change Continuous (fun p : Radius × FourierL2 => (K : ℝ) • π p.1 p.2) + exact continuous_const.smul hπc + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusSequence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusSequence.lean new file mode 100644 index 0000000000000000000000000000000000000000..3caeabca52d78c7c06b06ad0bfb36807f3bbc6ba --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ContinuousTorusSequence.lean @@ -0,0 +1,121 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusDiscreteData +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableSmallRemainderContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffRemainderContinuity + +namespace OAI + +/-! # Continuous stable endpoint sequences for the expanding torus -/ + +open scoped NNReal + +universe u + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem exists_continuous_cutoffStable_sequence_threshold + {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + (a δ B : ℝ) (ha : 0 < a) (hδ : 0 < δ) (hB : 0 ≤ B) + (T : ℝ≥0) (hratio : 2 * Real.exp (-(2 + a) * T / 2) ≤ 1) + (A : Radius → FourierL2 →L[ℝ] FourierL2) + (hAc : Continuous (fun q : Radius × FourierL2 => A q.1 q.2)) + (hA : HasContinuousTorusLinearStep (F := F) T A) : + ∃ C : ℝ, 0 < C ∧ ∃ ρ : ℝ, 0 < ρ ∧ 2 * ρ ≤ δ ∧ ∃ L₀ : ℝ, + ∃ ζ : Radius → ℕ → F →L[ℝ] FourierL2, + ∃ π : Radius → ℕ → FourierL2 →L[ℝ] F, + (∀ n, ContinuousOn (fun L => ζ L n) {L : Radius | L₀ ≤ L.1}) ∧ + (∀ n, Continuous (fun p : Radius × FourierL2 => π p.1 n p.2)) ∧ + (∀ L : Radius, L₀ ≤ L.1 → ∀ n, ‖ζ L n‖ ≤ 1 ∧ ‖π L n‖ ≤ C) ∧ + (∀ L : Radius, L₀ ≤ L.1 → ∀ n v, π L n (ζ L n v) = v) ∧ + ∀ (P : Type u) [TopologicalSpace P], ∀ L : P → Radius, + Continuous L → (∀ p, L₀ ≤ (L p).1) → + ∀ h : P → ℕ → {v : FourierL2 // ‖v‖ ≤ δ} → FourierL2, + (∀ n, Continuous (fun q : P × {v : FourierL2 // ‖v‖ ≤ δ} => h q.1 n q.2)) → + (∀ p n d, 0 < d → d ≤ δ → ∀ v u, ‖v.1‖ ≤ d → ‖u.1‖ ≤ d → + ‖h p n v - h p n u‖ ≤ + B * (d + (expandingDiscreteRadius (L p) T n).1 ^ (-2 - a)) * ‖v.1 - u.1‖) → + (∀ p n v, v.1 = 0 → ‖h p n v‖ ≤ + B * (expandingDiscreteRadius (L p) T n).1 ^ (-2 - a)) → + ∀ w : P → FourierL2, Continuous w → (∀ p, ‖w p‖ ≤ ρ / 4) → + (∀ p, π (L p) 0 (w p) = 0) → + ∃ z : P → ℕ → FourierL2, + (∀ n, Continuous (fun p => z p n)) ∧ + (∀ p, stableFrameProjection (ζ (L p) 0) (π (L p) 0) (z p 0) = w p) ∧ + (∀ p n, z p (n + 1) = A (expandingDiscreteRadius (L p) T n) (z p n) + + cutoffRemainderExtension δ (h p) n (z p n)) ∧ + (∀ p n, ‖z p n‖ ≤ (2 * ρ) * (1 / 2 : ℝ) ^ n) := by + obtain ⟨C, hC, hlinear⟩ := continuous_torusLinearStep_discrete T A hA + obtain ⟨σ, Llip, hσ, hσδ, hLlip, hlip⟩ := exists_cutoffRemainder_small_lipschitz + a B δ (1 / (128 * (C + 1))) ha hB hδ (by positivity) + let ρ := σ / 2 + have hρ : 0 < ρ := by dsimp [ρ]; positivity + have h2ρ : 2 * ρ = σ := by dsimp [ρ]; ring + obtain ⟨Llin, ζ, π, D, R, hinv, hR, hζc, hπc, hdata⟩ := hlinear (1 / 128) (by norm_num) + obtain ⟨Lforce, _, hforce⟩ := exists_cutoffResidual_small_scale a (C * B) (ρ / 8) ha (by positivity) + let L₀ := max Llin (max Llip Lforce) + have hL₀lip : Llip ≤ L₀ := (le_max_left _ _).trans (le_max_right _ _) + have hL₀lin : Llin ≤ L₀ := le_max_left _ _ + have hL₀force : Lforce ≤ L₀ := (le_max_right _ _).trans (le_max_right _ _) + have hL₀pos : 0 < L₀ := lt_of_lt_of_le zero_lt_one (hLlip.trans hL₀lip) + let ε := B * L₀ ^ (-2 - a) + have hε : 0 ≤ ε := mul_nonneg hB (Real.rpow_nonneg hL₀pos.le _) + have hεsmall : C * ε ≤ ρ / 8 := by + simpa only [ε, ← mul_assoc] using hforce L₀ hL₀force + refine ⟨C, hC, ρ, hρ, by rw [h2ρ]; exact hσδ, L₀, ζ, π, ?_, hπc, + (fun L hL n => ⟨(hdata L (hL₀lin.trans hL)).2.1 n, + (hdata L (hL₀lin.trans hL)).2.2.1 n⟩), + (fun L hL => (hdata L (hL₀lin.trans hL)).1), ?_⟩ + · intro n + apply (hζc n).mono + intro L hL + exact hL₀lin.trans hL + intro P _ L hLc hL h hhc hl hz w hwc hwb hker + have hd (p : P) := hdata (L p) (hL₀lin.trans (hL p)) + have hZc (n : ℕ) : Continuous (fun p => ζ (L p) n) := + (hζc n).comp_continuous hLc (fun p => hL₀lin.trans (hL p)) + have hZjoint (n : ℕ) : Continuous (fun q : P × F => ζ (L q.1) n q.2) := + ((hZc n).comp continuous_fst).clm_apply continuous_snd + have hPjoint (n : ℕ) : Continuous (fun q : P × FourierL2 => π (L q.1) n q.2) := + (hπc n).comp ((hLc.comp continuous_fst).prodMk continuous_snd) + have hAjoint (n : ℕ) : Continuous + (fun q : P × FourierL2 => A (expandingDiscreteRadius (L q.1) T n) q.2) := + hAc.comp ((((continuous_expandingDiscreteRadius T n).comp hLc).comp + continuous_fst).prodMk continuous_snd) + have hpow (p : P) : (L p).1 ^ (-2 - a) ≤ L₀ ^ (-2 - a) := + Real.rpow_le_rpow_of_nonpos hL₀pos (hL p) (by linarith) + have hsmall (p : P) : ‖w p‖ + 2 * (C * ε) ≤ ρ / 2 := by + linarith [hwb p] + have hLip : ∀ p n v u, ‖v‖ ≤ 2 * ρ → ‖u‖ ≤ 2 * ρ → + ‖cutoffRemainderExtension δ (h p) n v - cutoffRemainderExtension δ (h p) n u‖ ≤ + (1 / (128 * (C + 1))) * ‖v - u‖ := by + intro p n v u hv hu + have hh := cutoffRemainderExtension_lipschitz a (L p).1 T δ σ B + (lt_of_lt_of_le zero_lt_one (L p).2) T.2 ha hσ hσδ hB (h p) (hl p) + n v u (by rwa [← h2ρ]) (by rwa [← h2ρ]) + exact hh.trans (mul_le_mul_of_nonneg_right + (hlip (L p).1 (hL₀lip.trans (hL p))) (norm_nonneg _)) + have hZero : ∀ p n, ‖cutoffRemainderExtension δ (h p) n 0‖ ≤ + ε * (Real.exp (-(2 + a) * T / 2)) ^ n := by + intro p n + apply (cutoffRemainderExtension_zero_bound a (L p).1 T δ B + (lt_of_lt_of_le zero_lt_one (L p).2) hδ.le (h p) (hz p) n).trans + exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (hpow p) hB) (by positivity) + obtain ⟨z, hzc, hz0, hzstep, hzn⟩ := exists_continuous_stableGraph_small_remainder + (fun p => ζ (L p)) (fun p => π (L p)) + (fun p n => A (expandingDiscreteRadius (L p) T n)) D R hR hinv + (fun p => (hd p).1) (fun p => (hd p).2.2.2.2.1) (fun p => (hd p).2.2.2.2.2.1) + hZjoint hPjoint hAjoint C ρ ε (Real.exp (-(2 + a) * T / 2)) hC hρ.le hε + (Real.exp_nonneg _) hratio (fun p => (hd p).2.1) (fun p => (hd p).2.2.1) + (fun p => (hd p).2.2.2.1) (fun p => (hd p).2.2.2.2.2.2) + (fun p => cutoffRemainderExtension δ (h p)) + (continuous_cutoffRemainderExtension_on_ball δ (2 * ρ) (h2ρ ▸ hσδ) h hhc) + hLip hZero w hwc hker hsmall + refine ⟨z, hzc, hz0, hzstep, fun p n => (hzn p n).trans ?_⟩ + apply mul_le_mul_of_nonneg_right _ (by positivity) + linarith [hsmall p] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffAnnulusUniform.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffAnnulusUniform.lean new file mode 100644 index 0000000000000000000000000000000000000000..fdc58df9d6deb79ba9bbf141ee5242fd55973b98 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffAnnulusUniform.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzProfileSampling + +namespace OAI + +/-! # Uniform norm bounds for every annulus of the physical cutoff profile -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffOuterAnnulus_decay (a L R : ℝ) (ha : 0 < a) + (hL : 0 < L) (hR : 0 < R) (hR2 : R ≤ 2 * L) : + L ^ (-a) ≤ 2 ^ a * R ^ (-a) := by + have hp : (R / L) ^ a ≤ (2 : ℝ) ^ a := + Real.rpow_le_rpow (by positivity) ((div_le_iff₀ hL).mpr hR2) ha.le + have he : (R / L) ^ a * R ^ (-a) = L ^ (-a) := by + rw [Real.div_rpow hR.le hL.le, Real.rpow_neg hR.le, Real.rpow_neg hL.le] + field_simp + exact he.symm.trans_le (mul_le_mul_of_nonneg_right hp (Real.rpow_nonneg hR.le _)) + +theorem exists_cutoffAnnulus_uniform_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∀ (L R : ℝ) (hL : 1 ≤ L) (hR : 1 ≤ R), + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (schwartzPhysicalDilation a R (by linarith) + (cutoffProfileAnnulus a R L χ homogeneousAnnulusCutoff + homogeneousAnnulusCutoff_hasCompactSupport Q hQ)))‖ ≤ C * D * R ^ (-a) := by + obtain ⟨N₁, C₁, hC₁, hb₁⟩ := exists_cutoffProfileAnnulus_sampling_bound a k ha ha1 hk + χ homogeneousAnnulusCutoff homogeneousAnnulusCutoff_hasCompactSupport homogeneousAnnulusCutoff_support + obtain ⟨N₂, C₂, hC₂, hb₂⟩ := exists_outerCutoffAnnulus_sampling_bound a k ha ha1 hk + χ homogeneousAnnulusCutoff homogeneousAnnulusCutoff_hasCompactSupport homogeneousAnnulusCutoff_support + let C := max C₁ (2 ^ a * C₂) + have hC : 0 ≤ C := hC₁.trans (le_max_left _ _) + refine ⟨max N₁ N₂, C, hC, ?_⟩ + intro Q hQ D hD hsymbol L R hL hR + by_cases hRL : R ≤ L + · exact (hb₁ Q hQ D hD (fun n hn => hsymbol n (hn.trans (le_max_left _ _))) + R L hR hRL).trans (by gcongr; exact le_max_left _ _) + · by_cases hR2 : R ≤ 2 * L + · have h := hb₂ Q hQ D hD (fun n hn => hsymbol n (hn.trans (le_max_right _ _))) + L R hL (le_of_lt (lt_of_not_ge hRL)) hR2 + calc + _ ≤ C₂ * D * L ^ (-a) := h + _ ≤ C₂ * D * (2 ^ a * R ^ (-a)) := mul_le_mul_of_nonneg_left + (cutoffOuterAnnulus_decay a L R ha (by linarith) (by linarith) hR2) (mul_nonneg hC₂ hD) + _ = (2 ^ a * C₂) * D * R ^ (-a) := by ring + _ ≤ C * D * R ^ (-a) := by gcongr; exact le_max_right _ _ + · rw [cutoffProfileAnnulus_zero_of_large_radius a R L (by linarith) + (le_of_lt (lt_of_not_ge hR2)) χ hχzero Q hQ] + change ‖(physicalSchwartzTorusSamplingLinear a k L ha1 hk hL) 0‖ ≤ _ + rw [map_zero, norm_zero] + positivity + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffApproximateMode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffApproximateMode.lean new file mode 100644 index 0000000000000000000000000000000000000000..fd444a8db63fdcd46b40f0ac931679452c6c101d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffApproximateMode.lean @@ -0,0 +1,182 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffFourierDefect + +namespace OAI + +/-! # The actual sampled cutoff profile satisfies the forced mode equation + +The smooth stationary-profile premise is explicit. The forcing is the already +constructed three-term cutoff residual, with the same physical normalization. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffProfileSchwartz_dilation_zero (R : ℝ) (hR : 0 < R) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + cutoffProfileSchwartz R hR χ hχ Q hQ = + schwartzPhysicalDilation 0 R hR (compactDilationFamily χ hχ Q hQ R) := by + ext x + simp only [cutoffProfileSchwartz_apply, schwartzPhysicalDilation_apply, + compactDilationFamily_apply, mul_zero, Real.rpow_zero, Complex.ofReal_one, + one_mul, smul_smul, mul_inv_cancel₀ hR.ne', one_smul] + +theorem schwartzOddPower_dilation_zero (R : ℝ) (hR : 0 < R) + (ψ : 𝓢(E, ℂ)) (m : ℕ) : + schwartzOddPower m (schwartzPhysicalDilation 0 R hR ψ) = + schwartzPhysicalDilation 0 R hR (schwartzOddPower m ψ) := by + ext x + simp only [schwartzOddPower_apply, schwartzPhysicalDilation_apply, mul_zero, + Real.rpow_zero, Complex.ofReal_one, one_mul] + +theorem cutoffProfileSchwartz_zero_outside (R : ℝ) (hR : 0 < R) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (x : E) (hx : 2 * R < ‖x‖) : + cutoffProfileSchwartz R hR (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ x = 0 := by + have hr : 2 < ‖R⁻¹ • x‖ := by + rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_of_pos hR] + exact (lt_inv_mul_iff₀' hR).mpr hx + simp only [cutoffProfileSchwartz_apply, SchwartzMap.postcompCLM_apply, + Complex.ofRealCLM_apply, hχzero _ hr, Complex.ofReal_zero, zero_mul] + +theorem cutoff_normalized_nonlinearity_coefficient (a k R : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hR : 1 ≤ R) (m : ℕ) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (n : frequencyLattice) : + physicalSchwartzCoefficient 1 n (schwartzOddPower m + (compactDilationFamily (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ R)) = + expandingFourierCoefficient a k R + (expandingOddPower a k R ha ha1 hk hR m + (schwartzTorusSample a k R ha1 hk hR (radianFourierKernel + (cutoffProfileSchwartz R (lt_of_lt_of_le zero_lt_one hR) + (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ)))) n := by + rw [sampled_oddPower_coefficient a k R ha ha1 hk hR m _ + (cutoffProfileSchwartz_zero_outside R (lt_of_lt_of_le zero_lt_one hR) + χ hχ hχzero Q hQ)] + change _ = physicalSchwartzCoefficient R n _ + rw [cutoffProfileSchwartz_dilation_zero, schwartzOddPower_dilation_zero, + physicalSchwartzCoefficient_dilation] + +theorem cutoff_normalized_defect_coefficient (a b R : ℝ) (hR : 0 < R) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hstationary : ∀ y, stationarySimilarityDefect a b m Q y = 0) (n : frequencyLattice) : + physicalSchwartzCoefficient 1 n (normalizedCutoffDefectSchwartz a b R m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ) = + physicalSchwartzCoefficient R n + (cutoffResidualSchwartz χ hχ hχone hχzero a R hR m Q hQ) := by + have he : schwartzPhysicalDilation 0 R hR + (normalizedCutoffDefectSchwartz a b R m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ) = + cutoffResidualSchwartz χ hχ hχone hχzero a R hR m Q hQ := by + ext y + rw [schwartzPhysicalDilation_apply, + normalizedCutoffDefectSchwartz_apply a b R hR m χ hχ Q hQ, + hstationary, + cutoffResidualSchwartz_apply χ hχ hχone hχzero a R hR m ham Q hQ] + simp only [mul_zero, zero_add, Real.rpow_zero, Complex.ofReal_one, one_mul, + smul_smul, mul_inv_cancel₀ hR.ne', one_smul] + rw [← he, physicalSchwartzCoefficient_dilation] + +noncomputable def cutoffSampledMode (L : ℝ) (χ : 𝓢(E, ℂ)) + (hχ : HasCompactSupport (χ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (n : frequencyLattice) (t : ℝ) : ℂ := + physicalSchwartzCoefficient 1 n (compactDilationFamily χ hχ Q hQ (expandingRadius L t)) + +theorem cutoffSampledMode_eq_physical (L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (n : frequencyLattice) (t : ℝ) : + cutoffSampledMode L χ hχ Q hQ n t = + physicalSchwartzCoefficient (expandingRadius L t) n + (cutoffProfileSchwartz (expandingRadius L t) + (mul_pos hL (Real.exp_pos _)) χ hχ Q hQ) := by + exact (cutoffProfile_coefficient_fixed_scale _ (mul_pos hL (Real.exp_pos _)) + χ hχ Q hQ n).symm + +theorem hasDerivAt_cutoffSampledMode (L s : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (n : frequencyLattice) : + HasDerivAt (cutoffSampledMode L χ hχ Q hQ n) + (physicalSchwartzCoefficient 1 n (cutoffVelocitySchwartz χ hχ Q hQ (expandingRadius L s))) s := by + have hd := hasDerivAt_cutoffProfile_coefficient L s hL χ hχ Q hQ n + have he : (fun t => schwartzLatticeCoefficient (expandingRadius L t) + (radianFourierKernel (cutoffProfileSchwartz (expandingRadius L t) + (mul_pos hL (Real.exp_pos _)) χ hχ Q hQ)) n) = + cutoffSampledMode L χ hχ Q hQ n := by + funext t + exact (cutoffSampledMode_eq_physical L hL χ hχ Q hQ n t).symm + rw [he] at hd + convert hd using 1 + simp only [physicalSchwartzCoefficient_apply, schwartzLatticeCoefficient, + mul_one, inv_one, one_smul, radianFourierKernel_apply] + rfl + +/-- The sampled profile has the actual Fourier mode derivative, including the +same sampled residual used in the decaying Duhamel estimate. -/ +theorem hasDerivAt_cutoffSampledMode_equation (a b k L s : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 0 < L) + (hRs : 1 ≤ expandingRadius L s) (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hstationary : ∀ y, stationarySimilarityDefect a b m Q y = 0) (n : frequencyLattice) : + let R := expandingRadius L s + let ψ := cutoffProfileSchwartz R (lt_of_lt_of_le zero_lt_one hRs) + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let U := schwartzTorusSample a k R ha1 hk hRs (radianFourierKernel ψ) + let residual := cutoffResidualSchwartz χ hχ hχone hχzero a R + (lt_of_lt_of_le zero_lt_one hRs) m Q hQ + HasDerivAt + (cutoffSampledMode L (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ n) + (((-(a : ℂ)) + Complex.I * ((b : ℂ) - + (((R ^ (2 : ℕ))⁻¹ : ℝ) : ℂ) * ((‖n‖ ^ 2 : ℝ) : ℂ))) * + cutoffSampledMode L (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ n s - + Complex.I * expandingFourierCoefficient a k R + (expandingOddPower a k R ha ha1 hk hRs m U) n - + Complex.I * physicalSchwartzCoefficient R n residual) s := by + intro R ψ U residual + have hd := hasDerivAt_cutoffSampledMode L s hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ n + have he := physicalSchwartzCoefficient_cutoffDefect a b R m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ n + rw [cutoff_normalized_defect_coefficient a b R + (lt_of_lt_of_le zero_lt_one hRs) m ham χ hχ hχone hχzero Q hQ hstationary n, + cutoff_normalized_nonlinearity_coefficient a k R ha ha1 hk hRs m + χ hχ hχzero Q hQ n] at he + apply hd.congr_deriv + change physicalSchwartzCoefficient 1 n + (cutoffVelocitySchwartz (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ R) = _ + change physicalSchwartzCoefficient R n residual = + Complex.I * physicalSchwartzCoefficient 1 n + (cutoffVelocitySchwartz (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ R) + + (-(((R ^ (2 : ℕ))⁻¹ : ℝ) : ℂ) * ((‖n‖ ^ 2 : ℝ) : ℂ) + + Complex.I * (a : ℂ) + (b : ℂ)) * + cutoffSampledMode L (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ n s - + expandingFourierCoefficient a k R (expandingOddPower a k R ha ha1 hk hRs m U) n at he + linear_combination Complex.I * he + + (physicalSchwartzCoefficient 1 n + (cutoffVelocitySchwartz (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ R) + + (a : ℂ) * cutoffSampledMode L (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ n s) * Complex.I_sq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousDiagonalStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousDiagonalStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..62a9bfef8de1452f67a54a653c114a0b5af0c06d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousDiagonalStep.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffDiagonalTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ContinuousDiagonalLinearStep + +namespace OAI + +/-! # Continuous normalized linear step data for the actual cutoff profile -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousStableCoordinates diagonalRealCoordinates + homogeneousComplexLinearizedStep cutoffProfileEndpoint HasContinuousFiniteDiagonalTorusLinearSteps + +theorem cutoffProfile_continuous_diagonal_steps (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) q y = Qp y) + (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + [FiniteDimensional ℂ P.range] + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m q t) P) + (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m q) P hcomm t = + NormedSpace.exp ((t : ℝ) • G)) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : P.range), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (hkernel : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + homogeneousStableCoordinates a k ha ha1 (by linarith) P + (homogeneousLocalizationCLM a k L.1 ha ha1 (by linarith) L.2 χ f) = 0 → + ‖cutoffProfileEndpoint a b k ha ha1 (by linarith) m χ hχ Qp hQp Q hQ hqb T L f‖ < β) : + HasContinuousFiniteDiagonalTorusLinearSteps (homogeneousStableCoordinates a k ha ha1 (by linarith) P) + (cutoffProfileEndpoint a b k ha ha1 (by linarith) m χ hχ Qp hQp Q hQ hqb) := by + have hk8 : 8 < k := by linarith + apply continuous_finiteDiagonalTorusLinearSteps_of_transfer a k ha ha1 hk8 χ (1 / 2) (by norm_num) hχone + (homogeneousStableCoordinates a k ha ha1 hk8 P) G hspan hspec + (cutoffProfileEndpoint a b k ha ha1 hk8 m χ hχ Qp hQp Q hQ hqb) hkernel + · exact fun T => cutoffProfile_diagonal_coordinate_transfer a b k ha ha1 hk m χ hχ hχzero hχone + Qp hQp q hq Q hQ hqb P hcomm G hG hspan hspec T + · exact fun T => cutoffProfileEndpoint_uniform_bound a b k ha ha1 hk8 m χ hχ Qp hQp Q hQ hqb T + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousLinearization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousLinearization.lean new file mode 100644 index 0000000000000000000000000000000000000000..8819c7a7bce0c232884054c32656b256c460d692 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousLinearization.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffContinuousStep +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepLinearization + +namespace OAI + +/-! # Continuous nonlinear cutoff steps with the exact linear endpoint -/ + +open Set +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +def HasContinuousCutoffNonlinearSteps (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) : Prop := + ∃ δ L₀ C : ℝ, 0 < δ ∧ 1 ≤ L₀ ∧ 0 < C ∧ + ∃ V : {L : ℝ // 1 ≤ L ∧ L₀ ≤ L} × {f : FourierL2 // ‖f‖ ≤ δ} → + C(Icc (0 : ℝ) T, FourierL2), + ∃ h : {L : ℝ // 1 ≤ L ∧ L₀ ≤ L} × {f : FourierL2 // ‖f‖ ≤ δ} → FourierL2, + Continuous V ∧ Continuous h ∧ + (∀ z, let q := sampledCutoffProfilePath a k z.1.1 T ha ha1 hk z.1.2.1 χ hχ Qp hQp + q + V z = expandingPicard a b k z.1.1 T ha hk z.1.2.1 T.2 + (expandingNonlinearReaction a k z.1.1 T ha ha1 hk z.1.2.1 m) + (q ⟨0, le_rfl, T.2⟩ + z.2.1) (q + V z)) ∧ + (∀ z, ‖V z‖ ≤ C * (‖z.2.1‖ + z.1.1 ^ (-2 - a))) ∧ + (∀ z, V z ⟨T, T.2, le_rfl⟩ = + cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T + ⟨z.1.1, z.1.2.1⟩ z.2.1 + h z) ∧ + (∀ z, z.2.1 = 0 → ‖h z‖ ≤ C * z.1.1 ^ (-2 - a)) ∧ + (∀ d : ℝ, 0 < d → d ≤ δ → ∀ L f j, ‖f.1‖ ≤ d → ‖j.1‖ ≤ d → + ‖h (L, f) - h (L, j)‖ ≤ C * (d + L.1 ^ (-2 - a)) * ‖f.1 - j.1‖) + +theorem exists_cutoffContinuousNonlinear_steps_order (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) (T : ℝ≥0) : + ∃ N : ℕ, ∀ (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (B : ℝ), 0 ≤ B → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → ‖iteratedFDeriv ℝ n Qp y‖ ≤ B * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Qp y = 0) → + ∀ (Q : ℝ) (hQ : 0 ≤ Q), + ∀ hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp L‖ ≤ Q, + HasContinuousCutoffNonlinearSteps a b k ha ha1 hk m (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Qp hQp Q hQ hqb T := by + obtain ⟨N, hN⟩ := exists_cutoffNonlinear_step_continuous a b k T ha ha1 hk T.2 m ham + χ hχ hχone hχzero + refine ⟨N, ?_⟩ + intro Qp hQp B hB hsymbol hstationary Q hQ hqb + obtain ⟨δ, L₀, C, hδ, hL₀, hC, V, h, hcV, hch, hsol, hV, hend, hzero, hlip⟩ := + hN Qp hQp B hB hsymbol hstationary + refine ⟨δ, L₀, C, hδ, hL₀, hC, V, h, hcV, hch, hsol, hV, ?_, hzero, hlip⟩ + intro z + obtain ⟨w, hw, he⟩ := hend z + rw [he, cutoffStep_linear_endpoint a b k ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) + Qp hQp Q hQ hqb T ⟨z.1.1, z.1.2.1⟩ z.2.1 w hw] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..3c20f39a3444cd613981a372f7e58496b719dde9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContinuousStep.lean @@ -0,0 +1,120 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingStepMapContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffPathContinuity + +namespace OAI + +/-! # The continuous nonlinear step for the actual cutoff profile + +The same family has the exact unforced mild equation, a continuous endpoint +remainder, and the scale-dependent remainder estimates. The stationary +profile and its finite symbol bounds are the hypotheses for the step +estimates. +-/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] expandingPicard expandingPerturbationReaction + expandingProfileTrajectory sampledCutoffProfilePath sampledCutoffDefectPath + +theorem exists_cutoffNonlinear_step_continuous (a b k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hT : 0 ≤ T) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχsupport : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Q y = 0) → + ∃ δ L₀ C : ℝ, 0 < δ ∧ 1 ≤ L₀ ∧ 0 < C ∧ + let q := fun L : {L : ℝ // 1 ≤ L ∧ L₀ ≤ L} => + sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2.1 + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + ∃ (V : {L : ℝ // 1 ≤ L ∧ L₀ ≤ L} × {f : FourierL2 // ‖f‖ ≤ δ} → + C(Icc (0 : ℝ) T, FourierL2)) + (h : {L : ℝ // 1 ≤ L ∧ L₀ ≤ L} × {f : FourierL2 // ‖f‖ ≤ δ} → FourierL2), + Continuous V ∧ Continuous h ∧ + (∀ z, q z.1 + V z = expandingPicard a b k z.1.1 T ha hk z.1.2.1 hT + (expandingNonlinearReaction a k z.1.1 T ha ha1 hk z.1.2.1 m) + (q z.1 ⟨0, le_rfl, hT⟩ + z.2.1) (q z.1 + V z)) ∧ + (∀ z, ‖V z‖ ≤ C * (‖z.2.1‖ + z.1.1 ^ (-2 - a))) ∧ + (∀ z, ∃ w : C(Icc (0 : ℝ) T, FourierL2), + (∀ t : Icc (0 : ℝ) T, w t = + expandingFreeStep a b k z.1.1 t ha hk z.1.2.1 t.2.1 z.2.1 + + expandingDuhamel a b k z.1.1 ha hk z.1.2.1 t + (expandingReactionHistory T hT + (expandingProfileReaction a k T ha ha1 hk m + (expandingRadiusCurve z.1.1 T z.1.2.1) (q z.1) 0) w)) ∧ + V z ⟨T, hT, le_rfl⟩ = w ⟨T, hT, le_rfl⟩ + h z) ∧ + (∀ z, z.2.1 = 0 → ‖h z‖ ≤ C * z.1.1 ^ (-2 - a)) ∧ + (∀ d : ℝ, 0 < d → d ≤ δ → ∀ L f j, ‖f.1‖ ≤ d → ‖j.1‖ ≤ d → + ‖h (L, f) - h (L, j)‖ ≤ C * (d + L.1 ^ (-2 - a)) * ‖f.1 - j.1‖) := by + let hχzero := fun x : E => fun hx : 2 < ‖x‖ => hχsupport x (by linarith) + obtain ⟨N, hN⟩ := exists_cutoffStep_profile_forcing_bounds a k ha ha1 hk m χ hχ hχone hχsupport + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol hstationary + obtain ⟨R, B, hR, hB, hbounds⟩ := hN Q hQ D hD hsymbol + obtain ⟨δ, A, hδ, hA, hstep⟩ := + exists_expandingNonlinear_stepMap_continuous a b k T ha ha1 hk hT m R hR + obtain ⟨L₀, hL₀, hsmall⟩ := exists_cutoffResidual_small_scale a B δ ha hδ + let P := {L : ℝ // 1 ≤ L ∧ L₀ ≤ L} + let l : P → {L : ℝ // 1 ≤ L} := fun L => ⟨L.1, L.2.1⟩ + have hl : Continuous l := continuous_subtype_val.subtype_mk _ + let q : P → C(Icc (0 : ℝ) T, FourierL2) := fun L => + sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2.1 + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let g : P → C(Icc (0 : ℝ) T, FourierL2) := fun L => + sampledCutoffDefectPath a k L.1 T ha ha1 hk L.2.1 χ hχ hχone hχzero m Q hQ + let G : P → ℝ := fun L => B * L.1 ^ (-2 - a) + have hq : Continuous q := (continuous_sampledCutoffProfilePath a k T ha ha1 hk + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ).comp hl + have hg : Continuous g := (continuous_sampledCutoffDefectPath a k T ha ha1 hk + χ hχ hχone hχzero m Q hQ).comp hl + have hqb : ∀ L t, ‖q L t‖ ≤ R := fun L t => (hbounds L.1 T L.2.1 t).1 + have hgb : ∀ L t, ‖g L t‖ ≤ G L := fun L t => (hbounds L.1 T L.2.1 t).2 + have hG : ∀ L : P, 0 ≤ G L := + fun L => mul_nonneg hB (Real.rpow_nonneg (by linarith [L.2.1]) _) + have hGδ : ∀ L : P, G L ≤ δ := fun L => hsmall L.1 L.2.2 + specialize hstep P l q g G hl hq hg hG hGδ hqb hgb + obtain ⟨V, h, hcV, hch, hV, hVbound, hEnd, hzero, hlip⟩ := hstep + let C := A * (1 + B) + have hC : 0 < C := by dsimp [C]; positivity + have hcoeff (L : P) (x : ℝ) (hx : 0 ≤ x) : + A * (x + G L) ≤ C * (x + L.1 ^ (-2 - a)) := by + have hp : 0 ≤ L.1 ^ (-2 - a) := Real.rpow_nonneg (by linarith [L.2.1]) _ + have hAA : A ≤ C := by dsimp [C]; nlinarith [mul_nonneg hA.le hB] + have hAB : A * B ≤ C := by dsimp [C]; nlinarith + calc + A * (x + G L) = A * x + (A * B) * L.1 ^ (-2 - a) := by dsimp [G]; ring + _ ≤ C * x + C * L.1 ^ (-2 - a) := add_le_add + (mul_le_mul_of_nonneg_right hAA hx) (mul_le_mul_of_nonneg_right hAB hp) + _ = C * (x + L.1 ^ (-2 - a)) := by ring + refine ⟨δ, L₀, C, hδ, hL₀, hC, V, h, hcV, hch, ?_, ?_, ?_, ?_, ?_⟩ + · intro z + exact expandingPerturbation_add_mild a b k z.1.1 T ha ha1 hk z.1.2.1 hT m + (q z.1) (g z.1) (V z) (q z.1 ⟨0, le_rfl, hT⟩) z.2.1 + (sampledCutoffProfile_forced_mild a b k z.1.1 T ha ha1 hk z.1.2.1 hT m ham + χ hχ hχone hχzero Q hQ hstationary) (hV z) + · intro z + exact (hVbound z).trans (hcoeff z.1 _ (norm_nonneg _)) + · intro z + refine ⟨expandingProfileTrajectory a b k z.1.1 T ha ha1 hk z.1.2.1 hT + m R hR (q z.1) (hqb z.1) z.2.1, ?_, hEnd z⟩ + exact expandingProfileTrajectory_eq a b k z.1.1 T ha ha1 hk z.1.2.1 hT + m R hR (q z.1) (hqb z.1) z.2.1 + · intro z hz + have hb := hcoeff z.1 0 (by norm_num) + simp only [zero_add] at hb + exact (hzero z hz).trans hb + · intro d hd hdδ L f j hf hj + exact (hlip d hd hdδ L f j hf hj).trans + (mul_le_mul_of_nonneg_right (hcoeff L d hd.le) (norm_nonneg _)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContourTransfer.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContourTransfer.lean new file mode 100644 index 0000000000000000000000000000000000000000..9aa3bd004ea0c19bfd15832c7e43e495eb9a79c1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffContourTransfer.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateOperator + +namespace OAI + +/-! # The actual contour coordinates have vanishing torus transfer defect -/ + +open Set +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem sampledCutoffProfile_contour_coordinate_operator (a b k T Q C₀ : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (hT : 0 ≤ T) + (hQ : 0 ≤ Q) (hC₀ : 0 ≤ C₀) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q₀ : HomogeneousY a k) + (hQ₀ : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) Q₀ y = Qp y) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (hCb : ∀ (L : ℝ) (hL : 1 ≤ L) (f : FourierL2), + ‖homogeneousLocalizationCLM a k L ha ha1 (by linarith) hL χ f‖ ≤ C₀ * ‖f‖) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + (hfin : FiniteDimensional ℂ P.range) + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m Q₀ t) P) : + let π := homogeneousStableCoordinates a k ha ha1 (by linarith) P + let A := (projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m Q₀) + P hcomm ⟨T, hT⟩).restrictScalars ℝ + ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ‖(expandingCoordinates a k ha ha1 (by linarith) χ π + (expandingRadiusCurve L.1 T L.2 ⟨T, hT, le_rfl⟩)).comp + (expandingProfileEndpoint a b k L.1 T ha ha1 (by linarith) L.2 hT m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 (by linarith) L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t))) - + A.comp (expandingCoordinates a k ha ha1 (by linarith) χ π L)‖ ≤ ε := by + intro π A + let : FiniteDimensional ℂ P.range := hfin + let : FiniteDimensional ℝ P.range := FiniteDimensional.trans ℝ ℂ P.range + apply sampledCutoffProfile_coordinate_operator_norm a b k T Q C₀ ha ha1 hk hT hQ hC₀ + m χ hχ hχzero hχone Qp hQp Q₀ hQ₀ hqb hCb π A + intro u + exact homogeneousStableCoordinates_slab a b k T ha ha1 (by linarith) hT m Q₀ P hcomm + ⟨T, hT, le_rfl⟩ u + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateInverse.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateInverse.lean new file mode 100644 index 0000000000000000000000000000000000000000..0938b33879d2534ec7230ba5934a7c07faaad973 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateInverse.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteInvariantInverse +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateOperator +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileEndpoint +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusStableBlocks + +namespace OAI + +/-! # The finite inverse and the actual torus coordinate defect -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +def HasContractingTorusCoordinateTransfer {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) + (π : HomogeneousY a k →L[ℝ] F) + (T : ℝ≥0) (A : Radius → FourierL2 →L[ℝ] FourierL2) : Prop := + ∃ D R : π.range →L[ℝ] π.range, (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ‖(expandingCoordinates a k ha ha1 hk χ π.rangeRestrict + (torusEndpointRadius T L)).comp (A L) - + D.comp (expandingCoordinates a k ha ha1 hk χ π.rangeRestrict L)‖ ≤ ε + +theorem cutoffProfile_coordinate_transfer_of_inverse {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) q y = Qp y) + (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (π : HomogeneousY a k →L[ℝ] F) (T : ℝ≥0) + (hI : HasContractingCoordinateInverse π + (homogeneousLinearizedStep a b k ha ha1 (by linarith) m q T)) : + HasContractingTorusCoordinateTransfer a k ha ha1 (by linarith) χ π T + (cutoffProfileEndpoint a b k ha ha1 (by linarith) m χ hχ Qp hQp Q hQ hqb T) := by + obtain ⟨D, R, hDR, hR, hD⟩ := hI + refine ⟨D, R, hDR, hR, ?_⟩ + have hk8 : 8 < k := by linarith + obtain ⟨C₀, hC₀, hCb⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk8 χ + apply sampledCutoffProfile_coordinate_operator_norm a b k T Q C₀ ha ha1 hk T.2 hQ hC₀ + m χ hχ hχzero hχone Qp hQp q hq hqb hCb π.rangeRestrict D + intro u + have h := hD u + rwa [homogeneousLinearizedStep_eq_slab a b k ha ha1 hk8 m q T T.2 T le_rfl] at h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateLinearData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateLinearData.lean new file mode 100644 index 0000000000000000000000000000000000000000..42bd091dd359fbe143051c581dea5771df8b84d9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateLinearData.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffDiagonalTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusCoordinateTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ContinuousDiagonalLinearStep + +namespace OAI + +/-! # Actual cutoff linear data retaining the diagonal coordinates -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousStableCoordinates diagonalRealCoordinates + homogeneousComplexLinearizedStep cutoffProfileEndpoint HasContinuousFiniteDiagonalTorusLinearSteps + HasContinuousTorusCoordinateData HasContinuousDiagonalCoordinateData + homogeneousLocalizationCLM cutoffProfileCoefficient homogeneousPhysicalCLM + +theorem cutoffProfile_continuous_coordinate_steps (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 (show (8 : ℝ) < k from lt_trans (by norm_num) hk) q y = Qp y) + (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a k ha1 (show (8 : ℝ) < k from lt_trans (by norm_num) hk) χ hχ Qp hQp L‖ ≤ Q) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + [FiniteDimensional ℂ P.range] + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 (show (8 : ℝ) < k from lt_trans (by norm_num) hk) m q t) P) + (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 (show (8 : ℝ) < k from lt_trans (by norm_num) hk) m q) P hcomm t = + NormedSpace.exp ((t : ℝ) • G)) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : P.range), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (hkernel : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + homogeneousStableCoordinates a k ha ha1 (show (8 : ℝ) < k from lt_trans (by norm_num) hk) P + (homogeneousLocalizationCLM a k L.1 ha ha1 (show (8 : ℝ) < k from lt_trans (by norm_num) hk) L.2 χ f) = 0 → + ‖cutoffProfileEndpoint a b k ha ha1 (show (8 : ℝ) < k from lt_trans (by norm_num) hk) m χ hχ Qp hQp Q hQ hqb T L f‖ < β) : + HasContinuousDiagonalCoordinateData a k ha ha1 + (show 8 < k from lt_trans (by norm_num) hk) + (homogeneousStableCoordinates a k ha ha1 (show 8 < k from lt_trans (by norm_num) hk) P) + G hspan hspec χ + (cutoffProfileEndpoint a b k ha ha1 (show 8 < k from lt_trans (by norm_num) hk) + m χ hχ Qp hQp Q hQ hqb) := by + have hk8 : 8 < k := by linarith + apply continuous_diagonalCoordinateData_of_transfer a k ha ha1 hk8 χ (1 / 2) + (by norm_num) hχone (homogeneousStableCoordinates a k ha ha1 hk8 P) + G hspan hspec + (cutoffProfileEndpoint a b k ha ha1 hk8 m χ hχ Qp hQp Q hQ hqb) hkernel + · exact fun T => cutoffProfile_diagonal_coordinate_transfer a b k ha ha1 hk m χ hχ hχzero hχone + Qp hQp q hq Q hQ hqb P hcomm G hG hspan hspec T + · exact fun T => cutoffProfileEndpoint_uniform_bound a b k ha ha1 hk8 m χ hχ Qp hQp Q hQ hqb T + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateOperator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateOperator.lean new file mode 100644 index 0000000000000000000000000000000000000000..20c10ecbde450eca05036b9698c14d5d5231a36d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateOperator.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProfileOperator + +namespace OAI + +/-! # Operator-norm control of the exact expanding-torus coordinate defect -/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem sampledCutoffProfile_coordinate_operator_norm (a b k T Q C₀ : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (hT : 0 ≤ T) + (hQ : 0 ≤ Q) (hC₀ : 0 ≤ C₀) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q₀ : HomogeneousY a k) + (hQ₀ : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) Q₀ y = Qp y) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (hCb : ∀ (L : ℝ) (hL : 1 ≤ L) (f : FourierL2), + ‖homogeneousLocalizationCLM a k L ha ha1 (by linarith) hL χ f‖ ≤ C₀ * ‖f‖) + (π : HomogeneousY a k →L[ℝ] F) (A : F →L[ℝ] F) + (hA : ∀ u, π (homogeneousLinearizedTrajectory a b k T ha ha1 (by linarith) hT m Q₀ u + ⟨T, hT, le_rfl⟩) = A (π u)) : + ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ‖(expandingCoordinates a k ha ha1 (by linarith) χ π + (expandingRadiusCurve L.1 T L.2 ⟨T, hT, le_rfl⟩)).comp + (expandingProfileEndpoint a b k L.1 T ha ha1 (by linarith) L.2 hT m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 (by linarith) L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t))) - + A.comp (expandingCoordinates a k ha ha1 (by linarith) χ π L)‖ ≤ ε := by + intro ε hε + obtain ⟨L₀, hL₀⟩ := sampledCutoffProfile_uniform_coordinate_defect a b k T Q C₀ + ha ha1 hk hT hQ hC₀ m χ hχ hχzero hχone Qp hQp Q₀ hQ₀ hqb hCb π A hA ε hε + refine ⟨L₀, fun L hL => ?_⟩ + apply ContinuousLinearMap.opNorm_le_of_unit_norm hε.le + intro f hf + exact (hL₀ L hL f hf.le).le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateTransfer.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateTransfer.lean new file mode 100644 index 0000000000000000000000000000000000000000..2edc33a580d9ddbd4a0131283ef76f979ac39f9f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffCoordinateTransfer.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingCoordinateSequence +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableTransfer + +namespace OAI + +/-! # Uniform finite-coordinate transfer for the sampled cutoff profile -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem sampledCutoffProfile_uniform_coordinate_defect (a b k T Q C₀ : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (hT : 0 ≤ T) + (hQ : 0 ≤ Q) (hC₀ : 0 ≤ C₀) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q₀ : HomogeneousY a k) + (hQ₀ : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) Q₀ y = Qp y) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (hCb : ∀ (L : ℝ) (hL : 1 ≤ L) (f : FourierL2), + ‖homogeneousLocalizationCLM a k L ha ha1 (by linarith) hL χ f‖ ≤ C₀ * ‖f‖) + (π : HomogeneousY a k →L[ℝ] F) (A : F →L[ℝ] F) + (hA : ∀ u, π (homogeneousLinearizedTrajectory a b k T ha ha1 (by linarith) hT m Q₀ u + ⟨T, hT, le_rfl⟩) = A (π u)) : + ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → ∀ f : FourierL2, ‖f‖ ≤ 1 → + ‖expandingCoordinates a k ha ha1 (by linarith) χ π + (expandingRadiusCurve L.1 T L.2 ⟨T, hT, le_rfl⟩) + (expandingProfileTrajectory a b k L.1 T ha ha1 (by linarith) L.2 hT m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 (by linarith) L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) f ⟨T, hT, le_rfl⟩) - + A (expandingCoordinates a k ha ha1 (by linarith) χ π L f)‖ < ε := by + classical + have hk8 : 8 < k := by linarith + intro ε hε + by_contra h + push Not at h + choose L hL f hf hbad using fun n : ℕ => h (n : ℝ) + have hLinf : Tendsto (fun n => (L n).1) atTop atTop := + tendsto_atTop_mono hL tendsto_natCast_atTop_atTop + let q := fun n => sampledCutoffProfilePath a k (L n).1 T ha ha1 hk8 (L n).2 χ hχ Qp hQp + have hq (n : ℕ) (t : Icc (0 : ℝ) T) : ‖q n t‖ ≤ Q := + hqb (expandingRadiusCurve (L n).1 T (L n).2 t) + have hqp (t : Icc (0 : ℝ) T) (y : E) : + Tendsto (fun n => expandingPhysicalContinuous a k (expandingRadius (L n).1 t) + ha ha1 hk8 ((L n).2.trans (expandingRadius_ge (L n).1 t (L n).2 t.2.1)) (q n t) y) + atTop (𝓝 (homogeneousPhysicalCLM a k ha ha1 hk8 Q₀ y)) := by + rw [hQ₀] + exact tendsto_sampledCutoffProfilePath_physical a k T ha ha1 hk8 χ hχ hχzero hχone + Qp hQp (fun n => (L n).1) (fun n => (L n).2) hLinf t y + have hs := expandingProfile_coordinate_sequence a b k T Q 1 C₀ ha ha1 hk hT hQ + zero_le_one hC₀ m χ (1 / 2) (by norm_num) hχone hCb + (fun n => (L n).1) (fun n => (L n).2) hLinf q hq f hf Q₀ π A hA hqp ε hε + obtain ⟨n, hn⟩ := hs.exists + exact (not_lt_of_ge (hbad n)) hn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDiagonalLinearStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDiagonalLinearStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..3bf543cb7682727f5436190a29fbddf01f6db5eb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDiagonalLinearStep.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffDiagonalTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusLinearStepAssembly + +namespace OAI + +/-! # Normalized linear step data for a profile with a symmetry generator -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousStableCoordinates diagonalRealCoordinates + homogeneousComplexLinearizedStep cutoffProfileEndpoint HasFiniteDiagonalTorusLinearSteps + +theorem cutoffProfile_diagonal_linear_steps (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) q y = Qp y) + (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + [FiniteDimensional ℂ P.range] + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m q t) P) + (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m q) P hcomm t = + NormedSpace.exp ((t : ℝ) • G)) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : P.range), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (hkernel : ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ T : ℝ≥0, T₀ ≤ T → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∀ f : FourierL2, ‖f‖ ≤ 1 → + homogeneousStableCoordinates a k ha ha1 (by linarith) P + (homogeneousLocalizationCLM a k L.1 ha ha1 (by linarith) L.2 χ f) = 0 → + ‖cutoffProfileEndpoint a b k ha ha1 (by linarith) m χ hχ Qp hQp Q hQ hqb T L f‖ < β) : + HasFiniteDiagonalTorusLinearSteps (homogeneousStableCoordinates a k ha ha1 (by linarith) P) + (cutoffProfileEndpoint a b k ha ha1 (by linarith) m χ hχ Qp hQp Q hQ hqb) := by + have hk8 : 8 < k := by linarith + apply finiteDiagonalTorusLinearSteps_of_transfer a k ha ha1 hk8 χ (1 / 2) (by norm_num) hχone + (homogeneousStableCoordinates a k ha ha1 hk8 P) G hspan hspec + (cutoffProfileEndpoint a b k ha ha1 hk8 m χ hχ Qp hQp Q hQ hqb) hkernel + · exact fun T => cutoffProfile_diagonal_coordinate_transfer a b k ha ha1 hk m χ hχ hχzero hχone + Qp hQp q hq Q hQ hqb P hcomm G hG hspan hspec T + · exact fun T => cutoffProfileEndpoint_uniform_bound a b k ha ha1 hk8 m χ hχ Qp hQp Q hQ hqb T + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDiagonalTransfer.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDiagonalTransfer.lean new file mode 100644 index 0000000000000000000000000000000000000000..65f04f4a003e74e869892439a31cb89d6ac557cf --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDiagonalTransfer.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousDiagonalCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateInverse + +namespace OAI + +/-! # Actual torus coordinate transfer with a contracting backward map -/ + +open Set +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +attribute [local irreducible] diagonalRealCoordinates homogeneousStableCoordinates + homogeneousLinearizedStep homogeneousComplexLinearizedStep + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem cutoffProfile_diagonal_coordinate_transfer (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) q y = Qp y) + (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] (HomogeneousY a k × HomogeneousY a k)) + [FiniteDimensional ℂ P.range] + (hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m q t) P) + (G : P.range →L[ℂ] P.range) + (hG : ∀ t, projectionSemigroupRestriction + (homogeneousComplexLinearizedStep a b k ha ha1 (by linarith) m q) P hcomm t = + NormedSpace.exp ((t : ℝ) • G)) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : P.range), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) (T : ℝ≥0) : + HasContractingTorusCoordinateTransfer a k ha ha1 (by linarith) χ + (diagonalRealCoordinates (homogeneousStableCoordinates a k ha ha1 (by linarith) P) + G hspan hspec) T + (cutoffProfileEndpoint a b k ha ha1 (by linarith) m χ hχ Qp hQp Q hQ hqb T) := by + let : FiniteDimensional ℝ P.range := FiniteDimensional.trans ℝ ℂ P.range + let : FiniteDimensional ℝ (SymmetryCoordinates G) := + FiniteDimensional.trans ℝ ℂ (SymmetryCoordinates G) + have hk8 : 8 < k := by linarith + apply cutoffProfile_coordinate_transfer_of_inverse a b k ha ha1 hk m χ hχ hχzero hχone + Qp hQp q hq Q hQ hqb _ T + exact homogeneousDiagonalCoordinates_inverse a b k ha ha1 hk8 m q + P hcomm G hG hspan hspec T + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDirectionalError.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDirectionalError.lean new file mode 100644 index 0000000000000000000000000000000000000000..214f9d76324a365636c702beaf2b3caeb282d956 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffDirectionalError.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCutoffDerivative + +namespace OAI + +/-! # Uniform bound for the cutoff's directional derivative term -/ + +open scoped SchwartzMap LineDeriv ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem cutoff_directional_sum (L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (v : E) : + cutoffProfileSchwartz L hL (∂_{v} χ) (schwartzCutoff_lineDeriv_compact χ hχ v) Q hQ = + ∑ j : Fin 12, (v j) • cutoffProfileSchwartz L hL + (∂_{(EuclideanSpace.basisFun (Fin 12) ℝ) j} χ) + (schwartzCutoff_lineDeriv_compact χ hχ _) Q hQ := by + ext y + have hrep : (∑ j : Fin 12, v j • (EuclideanSpace.basisFun (Fin 12) ℝ) j) = v := by + simpa only [EuclideanSpace.basisFun_repr] using (EuclideanSpace.basisFun (Fin 12) ℝ).sum_repr v + have he := congrArg (fderiv ℝ (χ : E → ℂ) (L⁻¹ • y)) hrep + simp only [map_sum, map_smul] at he + simp only [cutoffProfileSchwartz_apply, sum_apply, smul_apply, + SchwartzMap.lineDerivOp_apply_eq_fderiv, Complex.real_smul] + rw [← he] + simp only [Finset.sum_mul, Complex.real_smul, mul_assoc] + +theorem cutoff_directional_sample_bound (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L) (v : E), + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL + (cutoffProfileSchwartz L (by linarith) (∂_{v} χ) + (schwartzCutoff_lineDeriv_compact χ hχ v) Q hQ)‖ ≤ C * ‖v‖ := by + classical + have hb (j : Fin 12) := cutoffProfile_sampling_of_global_symbol a k ha ha1 hk + (∂_{(EuclideanSpace.basisFun (Fin 12) ℝ) j} χ) + (schwartzCutoff_lineDeriv_compact χ hχ _) + (schwartzCutoff_lineDeriv_zero χ hχzero _) Q hQ hsymbol + choose B hB hbound using hb + refine ⟨∑ j, B j, Finset.sum_nonneg (fun j _ => hB j), ?_⟩ + intro L hL v + rw [cutoff_directional_sum L (by linarith) χ hχ Q hQ v, map_sum] + calc + _ ≤ ∑ j : Fin 12, ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL + ((v j) • cutoffProfileSchwartz L (by linarith) + (∂_{(EuclideanSpace.basisFun (Fin 12) ℝ) j} χ) + (schwartzCutoff_lineDeriv_compact χ hχ _) Q hQ)‖ := norm_sum_le _ _ + _ ≤ ∑ j : Fin 12, ‖v‖ * B j := by + apply Finset.sum_le_sum + intro j _ + rw [ContinuousLinearMap.map_smul_of_tower, norm_smul] + exact mul_le_mul (PiLp.norm_apply_le v j) (hbound j L hL) + (norm_nonneg _) (norm_nonneg _) + _ = _ := by rw [← Finset.mul_sum]; ring + +theorem cutoff_directional_error_bound (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L) (v : E), + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL + (∂_{v} (cutoffProfileSchwartz L (by linarith) χ hχ Q hQ)) - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL + (cutoffProfileSchwartz L (by linarith) χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v))‖ ≤ C / L * ‖v‖ := by + obtain ⟨C, hC, hb⟩ := cutoff_directional_sample_bound a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + refine ⟨C, hC, ?_⟩ + intro L hL v + rw [cutoffProfileSchwartz_lineDeriv L (by linarith) χ hχ Q hQ v, map_add, + add_sub_cancel_left, ContinuousLinearMap.map_smul_of_tower, norm_smul, Real.norm_eq_abs, + abs_of_pos (inv_pos.mpr (by linarith : 0 < L))] + calc + _ ≤ L⁻¹ * (C * ‖v‖) := mul_le_mul_of_nonneg_left (hb L hL v) (by positivity) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffEndpointContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffEndpointContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..dd9dce986db4c7f5de7ac66b5c709e3e5c99a703 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffEndpointContinuity.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileEndpoint +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffPathContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProfileContinuity + +namespace OAI + +/-! # Strong continuity of the actual cutoff linear endpoint -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] cutoffProfileEndpoint expandingProfileTrajectory + +theorem continuous_cutoffProfileEndpoint (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) : + Continuous (fun p : Radius × FourierL2 => + cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T p.1 p.2) := by + have hq := (continuous_sampledCutoffProfilePath a k T ha ha1 hk χ hχ Qp hQp).comp + (continuous_fst : Continuous (fun p : Radius × FourierL2 => p.1)) + have hc := continuous_expandingProfileTrajectory_family a b k T Q ha ha1 hk T.2 m hQ + (fun p : Radius × FourierL2 => p.1) continuous_fst + (fun p : Radius × FourierL2 => sampledCutoffProfilePath a k p.1.1 T ha ha1 hk p.1.2 χ hχ Qp hQp) + hq (fun p t => hqb (expandingRadiusCurve p.1.1 T p.1.2 t)) + (fun p : Radius × FourierL2 => p.2) continuous_snd + simpa only [cutoffProfileEndpoint_apply, Function.comp_def] using + (continuous_eval_const ⟨T, T.2, le_rfl⟩).comp hc + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFamilyContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFamilyContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..81c3cc9f8b999a5dce3d618f7a6fa92cd65c1957 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFamilyContinuity.lean @@ -0,0 +1,192 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzCompactContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffResidualSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzDyadicCutoff + +namespace OAI + +/-! # Continuous cutoff-profile and residual paths + +These are the actual sampled physical functions. The fixed-support rescaling +makes their Schwartz and Hilbert continuity independent of any symbol bounds. +The symbol bounds remain responsible for the separate uniform norm estimates. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Scale" => {L : ℝ // 1 ≤ L} + +noncomputable def compactDilationFamily (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : ℝ) : 𝓢(E, ℂ) := + compactSmoothFamily κ hκ (fun p => Q (p.1 • p.2)) + (hQ.comp (contDiff_fst.smul contDiff_snd)) L + +@[simp] theorem compactDilationFamily_apply (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : ℝ) (x : E) : compactDilationFamily κ hκ Q hQ L x = κ x * Q (L • x) := rfl + +theorem continuous_compactDilationFamily (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (compactDilationFamily κ hκ Q hQ) := by + unfold compactDilationFamily + exact continuous_compactSmoothFamily κ hκ _ _ + +private theorem continuous_scale_rpow (b : ℝ) : + Continuous (fun L : Scale => L.1 ^ b) := + continuous_subtype_val.rpow_const + (fun L => Or.inl (ne_of_gt (lt_of_lt_of_le zero_lt_one L.2))) + +noncomputable def normalizedCompactProfile (a : ℝ) (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : Scale) : 𝓢(E, ℂ) := + (L.1 ^ (2 * a) : ℝ) • compactDilationFamily κ hκ Q hQ L.1 + +@[simp] theorem normalizedCompactProfile_apply (a : ℝ) (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : Scale) (x : E) : + normalizedCompactProfile a κ hκ Q hQ L x = + κ x * ((L.1 ^ (2 * a) : ℝ) * Q (L.1 • x)) := by + simp only [normalizedCompactProfile, smul_apply, compactDilationFamily_apply, + Complex.real_smul] + ring + +theorem continuous_normalizedCompactProfile (a : ℝ) (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (normalizedCompactProfile a κ hκ Q hQ) := + (continuous_scale_rpow (2 * a)).smul + ((continuous_compactDilationFamily κ hκ Q hQ).comp continuous_subtype_val) + +section Residual + +variable (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + +include hχone hχzero in +private theorem family_gradient_compact (j : Fin 12) : + HasCompactSupport (cutoffGradientCoefficient χ j : E → ℂ) := + hasCompactSupport_of_cutoff_annulus _ (cutoffGradientCoefficient_annulus χ hχone hχzero j) + +include hχone hχzero in +private theorem family_laplacian_compact : + HasCompactSupport (cutoffLaplacianCoefficient χ : E → ℂ) := + hasCompactSupport_of_cutoff_annulus _ (cutoffLaplacianCoefficient_annulus χ hχone hχzero) + +include hχone hχzero in +private theorem family_power_compact (m : ℕ) : + HasCompactSupport (cutoffPowerCoefficient χ hχ m : E → ℂ) := + hasCompactSupport_of_cutoff_annulus _ (cutoffPowerCoefficient_annulus χ hχ m hχone hχzero) + +/-- The normalized three-term residual is a continuous Schwartz family. -/ +theorem continuous_normalizedCutoffResidualSchwartz (a : ℝ) (m : ℕ) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fun L : Scale => + normalizedCutoffResidualSchwartz χ hχ hχone hχzero a L.1 m Q hQ) := by + let Qj (j : Fin 12) : E → ℂ := + fun x => fderiv ℝ Q x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) + have hQj (j : Fin 12) : ContDiff ℝ ∞ (Qj j) := + (contDiff_infty_iff_fderiv.mp hQ).2.clm_apply contDiff_const + have hN : ContDiff ℝ ∞ (fun x => oddPowerNonlinearity m (Q x)) := + ((contDiff_oddPowerNonlinearity m).of_le (by simp)).comp hQ + let A (j : Fin 12) := compactDilationFamily (cutoffGradientCoefficient χ j) + (family_gradient_compact χ hχone hχzero j) (Qj j) (hQj j) + let B := compactDilationFamily (cutoffLaplacianCoefficient χ) + (family_laplacian_compact χ hχone hχzero) Q hQ + let C := compactDilationFamily (cutoffPowerCoefficient χ hχ m) + (family_power_compact χ hχ hχone hχzero m) + (fun x => oddPowerNonlinearity m (Q x)) hN + have hcA (j : Fin 12) : Continuous (fun L : Scale => + (L.1 ^ (2 * a + 1) : ℝ) • A j L.1) := + (continuous_scale_rpow _).smul + ((continuous_compactDilationFamily _ _ _ _).comp continuous_subtype_val) + have hcB : Continuous (fun L : Scale => (L.1 ^ (2 * a) : ℝ) • B L.1) := + (continuous_scale_rpow _).smul + ((continuous_compactDilationFamily _ _ _ _).comp continuous_subtype_val) + have hcC : Continuous (fun L : Scale => + ((L.1 ^ (2 * a)) ^ (2 * m + 1) : ℝ) • C L.1) := + ((continuous_scale_rpow _).pow _).smul + ((continuous_compactDilationFamily _ _ _ _).comp continuous_subtype_val) + have he (L : Scale) : normalizedCutoffResidualSchwartz χ hχ hχone hχzero a L.1 m Q hQ = + (2 : ℂ) • (∑ j, (L.1 ^ (2 * a + 1) : ℝ) • A j L.1) + + (L.1 ^ (2 * a) : ℝ) • B L.1 + + ((L.1 ^ (2 * a)) ^ (2 * m + 1) : ℝ) • C L.1 := by + ext x + rw [normalizedCutoffResidualSchwartz_apply χ hχ hχone hχzero a L.1 m + (lt_of_lt_of_le zero_lt_one L.2) Q hQ] + simp only [add_apply, smul_apply, sum_apply, A, B, C, compactDilationFamily_apply, + cutoffGradientCoefficient_apply, cutoffLaplacianCoefficient_apply, + cutoffPowerCoefficient_apply, Complex.real_smul, Qj, normalizedCutoffResidual, + oddPowerNonlinearity_real_mul] + congr 1 + · congr 1 + · congr 1 + apply Finset.sum_congr rfl + intro j _ + ring + · ring + · ring + simp_rw [he] + exact ((continuous_finsetSum _ (fun j _ => hcA j)).const_smul (2 : ℂ)).add hcB |>.add hcC + +end Residual + +/-- The actual cutoff-profile sample varies continuously with the physical radius. -/ +theorem continuous_cutoffProfile_sample (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) + (hχ : HasCompactSupport (χ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fun L : Scale => schwartzTorusSample a k L.1 ha1 hk L.2 + (radianFourierKernel + (cutoffProfileSchwartz L.1 (lt_of_lt_of_le zero_lt_one L.2) χ hχ Q hQ))) := by + have he (L : Scale) : + cutoffProfileSchwartz L.1 (lt_of_lt_of_le zero_lt_one L.2) χ hχ Q hQ = + schwartzPhysicalDilation a L.1 (lt_of_lt_of_le zero_lt_one L.2) + (normalizedCompactProfile a χ hχ Q hQ L) := by + ext x + rw [cutoffProfileSchwartz_apply, schwartzPhysicalDilation_apply, + normalizedCompactProfile_apply, smul_smul, + mul_inv_cancel₀ (ne_of_gt (lt_of_lt_of_le zero_lt_one L.2)), one_smul] + have hp : L.1 ^ (-2 * a) * L.1 ^ (2 * a) = 1 := by + rw [← Real.rpow_add (lt_of_lt_of_le zero_lt_one L.2)] + simp + symm + calc + _ = (L.1 ^ (-2 * a) * L.1 ^ (2 * a) : ℝ) * + (χ (L.1⁻¹ • x) * Q x) := by push_cast; ring + _ = _ := by rw [hp]; simp + simp_rw [he] + exact continuous_dilatedPhysicalSampling a k ha ha1 hk id continuous_id + (normalizedCompactProfile a χ hχ Q hQ) + (continuous_normalizedCompactProfile a χ hχ Q hQ) + +/-- The exact PDE residual is a continuous forcing path in the sampled Hilbert model. -/ +theorem continuous_cutoffResidual_sample (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fun L : Scale => schwartzTorusSample a k L.1 ha1 hk L.2 + (radianFourierKernel (cutoffResidualSchwartz χ hχ hχone hχzero a L.1 + (lt_of_lt_of_le zero_lt_one L.2) m Q hQ))) := by + have he (L : Scale) : + schwartzTorusSample a k L.1 ha1 hk L.2 + (radianFourierKernel (cutoffResidualSchwartz χ hχ hχone hχzero a L.1 + (lt_of_lt_of_le zero_lt_one L.2) m Q hQ)) = + ((L.1 ^ (-2 : ℝ) : ℝ) : ℂ) • schwartzTorusSample a k L.1 ha1 hk L.2 + (radianFourierKernel (schwartzPhysicalDilation a L.1 + (lt_of_lt_of_le zero_lt_one L.2) + (normalizedCutoffResidualSchwartz χ hχ hχone hχzero a L.1 m Q hQ))) := by + exact map_smul (physicalSchwartzTorusSamplingLinear a k L.1 ha1 hk L.2) + ((L.1 ^ (-2 : ℝ) : ℝ) : ℂ) _ + simp_rw [he] + exact (Complex.continuous_ofReal.comp (continuous_scale_rpow (-2))).smul + (continuous_dilatedPhysicalSampling a k ha ha1 hk id continuous_id _ + (continuous_normalizedCutoffResidualSchwartz χ hχ hχone hχzero a m Q hQ)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFiniteJets.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFiniteJets.lean new file mode 100644 index 0000000000000000000000000000000000000000..d642016101a07f0a11e0ecbdddd31b766484eaa1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFiniteJets.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousAnnulusBounds +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerNonlinearity + +namespace OAI + +/-! # Finite derivative bounds used by the cutoff residual + +The nonlinear estimate concerns the actual scalar odd-power polynomial. The +annular estimate only uses derivatives where the compact coefficient lives. +-/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_oddPower_finiteJet_bound (m N : ℕ) (B : ℝ) (_hB : 0 ≤ B) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (f : E → ℂ), ContDiff ℝ ∞ f → ∀ x : E, + (∀ i ≤ N, ‖iteratedFDeriv ℝ i f x‖ ≤ B) → + ∀ n ≤ N, ‖iteratedFDeriv ℝ n (fun y => oddPowerNonlinearity m (f y)) x‖ ≤ C := by + let M : ℂ → ℝ := fun z => ∑ i ∈ Finset.range (N + 1), + ‖iteratedFDeriv ℝ i (oddPowerNonlinearity m) z‖ + have hM : Continuous M := by + apply continuous_finsetSum + intro i _ + exact ((contDiff_oddPowerNonlinearity m).continuous_iteratedFDeriv (by simp)).norm + obtain ⟨C₀, hC₀⟩ := (isCompact_closedBall (0 : ℂ) B).exists_bound_of_continuousOn + hM.continuousOn + let A := max C₀ 0 + let D := max B 1 + let C := ∑ n ∈ Finset.range (N + 1), (n.factorial : ℝ) * A * D ^ n + have hA : 0 ≤ A := le_max_right _ _ + have hD : 1 ≤ D := le_max_right _ _ + have hD0 : 0 ≤ D := le_trans zero_le_one hD + have hC : 0 ≤ C := by dsimp [C]; positivity + refine ⟨C, hC, ?_⟩ + intro f hf x hx n hn + have hxB : ‖f x‖ ≤ B := by simpa only [norm_iteratedFDeriv_zero] using hx 0 (Nat.zero_le _) + have hxball : f x ∈ Metric.closedBall (0 : ℂ) B := by + simpa only [Metric.mem_closedBall, dist_zero_right] using hxB + have houter (i : ℕ) (hi : i ≤ n) : + ‖iteratedFDeriv ℝ i (oddPowerNonlinearity m) (f x)‖ ≤ A := by + have hiM : ‖iteratedFDeriv ℝ i (oddPowerNonlinearity m) (f x)‖ ≤ M (f x) := + Finset.single_le_sum (f := fun j => ‖iteratedFDeriv ℝ j (oddPowerNonlinearity m) (f x)‖) + (fun _ _ => norm_nonneg _) + (Finset.mem_range.mpr (Nat.lt_succ_of_le (hi.trans hn))) + exact hiM.trans ((le_abs_self _).trans ((hC₀ (f x) hxball).trans (le_max_left _ _))) + have hinner (i : ℕ) (hi : 1 ≤ i) (hin : i ≤ n) : + ‖iteratedFDeriv ℝ i f x‖ ≤ D ^ i := by + exact (hx i (hin.trans hn)).trans ((le_max_left B 1).trans + (by simpa only [pow_one] using pow_le_pow_right₀ hD hi)) + have hodd : ContDiff ℝ ∞ (oddPowerNonlinearity m) := + (contDiff_oddPowerNonlinearity m).of_le (by simp) + have hcomp := norm_iteratedFDeriv_comp_le hodd + hf (by simp : (n : ℕ∞ω) ≤ ∞) x houter hinner + have hsum : (n.factorial : ℝ) * A * D ^ n ≤ C := + Finset.single_le_sum (f := fun j => (j.factorial : ℝ) * A * D ^ j) (fun j _ => by positivity) + (Finset.mem_range.mpr (Nat.lt_succ_of_le hn)) + exact hcomp.trans hsum + +noncomputable def annularCoefficientProduct (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (f : E → ℂ) (hf : ContDiff ℝ ∞ f) : + 𝓢(E, ℂ) := (hκ.mul_right (f' := f)).toSchwartzMap (κ.smooth'.mul hf) + +@[simp] theorem annularCoefficientProduct_apply (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) (f : E → ℂ) (hf : ContDiff ℝ ∞ f) (x : E) : + annularCoefficientProduct κ hκ f hf x = κ x * f x := rfl + +theorem annularCoefficientProduct_jet_bound (κ : 𝓢(E, ℂ)) + (hκ : HasCompactSupport (κ : E → ℂ)) + (hκann : ∀ x ∈ tsupport (κ : E → ℂ), (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2) + (f : E → ℂ) (hf : ContDiff ℝ ∞ f) (N : ℕ) (B : ℝ) (hB : 0 ≤ B) + (hjet : ∀ x ∈ tsupport (κ : E → ℂ), ∀ i ≤ N, + ‖iteratedFDeriv ℝ i f x‖ ≤ B) (n : ℕ) (hn : n ≤ N) (x : E) : + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (annularCoefficientProduct κ hκ f hf) x‖ ≤ + 3 ^ N * homogeneousAnnulusCutoffConstant κ N * B := by + by_cases hx : x ∈ tsupport (κ : E → ℂ) + · have hp : ‖iteratedFDeriv ℝ n (annularCoefficientProduct κ hκ f hf) x‖ ≤ + (∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * SchwartzMap.seminorm ℝ 0 i κ) * B := by + refine (norm_iteratedFDeriv_mul_le κ.smooth' hf x (by simp)).trans ?_ + rw [Finset.sum_mul] + apply Finset.sum_le_sum + intro i _ + exact mul_le_mul + (mul_le_mul_of_nonneg_left (SchwartzMap.norm_iteratedFDeriv_le_seminorm ℝ κ i x) + (Nat.cast_nonneg _)) + (hjet x hx (n - i) ((Nat.sub_le _ _).trans hn)) (norm_nonneg _) + (mul_nonneg (Nat.cast_nonneg _) (apply_nonneg _ _)) + have hs : (∑ i ∈ Finset.range (n + 1), + (n.choose i : ℝ) * SchwartzMap.seminorm ℝ 0 i κ) ≤ + homogeneousAnnulusCutoffConstant κ N := by + exact Finset.single_le_sum (f := fun j : ℕ => ∑ i ∈ Finset.range (j + 1), + (j.choose i : ℝ) * SchwartzMap.seminorm ℝ 0 i κ) + (fun _ _ => by positivity) (Finset.mem_range.mpr (Nat.lt_succ_of_le hn)) + have hw : (1 + ‖x‖) ^ N ≤ (3 : ℝ) ^ N := + pow_le_pow_left₀ (by positivity) (by linarith [(hκann x hx).2]) _ + calc + _ ≤ 3 ^ N * (homogeneousAnnulusCutoffConstant κ N * B) := + mul_le_mul hw (hp.trans (mul_le_mul_of_nonneg_right hs hB)) + (norm_nonneg _) (by positivity) + _ = _ := by ring + · have hz : iteratedFDeriv ℝ n (annularCoefficientProduct κ hκ f hf) x = 0 := by + by_contra hne + have hm : x ∈ tsupport (fun y => κ y * f y) := support_iteratedFDeriv_subset n hne + exact hx (tsupport_mul_subset_left hm) + rw [hz, norm_zero, mul_zero] + exact mul_nonneg (mul_nonneg (by positivity) + (homogeneousAnnulusCutoffConstant_nonneg κ N)) hB + +theorem norm_iteratedFDeriv_directional_le (f : E → ℂ) (hf : ContDiff ℝ ∞ f) + (v : E) (n : ℕ) (x : E) : + ‖iteratedFDeriv ℝ n (fun y => fderiv ℝ f y v) x‖ ≤ + ‖v‖ * ‖iteratedFDeriv ℝ (n + 1) f x‖ := by + have hdf : ContDiff ℝ ∞ (fderiv ℝ f) := (contDiff_infty_iff_fderiv.mp hf).2 + simpa only [norm_iteratedFDeriv_fderiv] using + norm_iteratedFDeriv_clm_apply_const hdf.contDiffAt (by simp : (n : ℕ∞ω) ≤ ∞) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffForcingHistory.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffForcingHistory.lean new file mode 100644 index 0000000000000000000000000000000000000000..d1c999fa7ac714ec5e3b94f1c92330bf85fc551e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffForcingHistory.lean @@ -0,0 +1,128 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffResidualDuhamel +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffApproximateMode + +namespace OAI + +/-! # Continuous histories for the actual approximate nonlinear solution -/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def sampledCutoffProfileHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : ℝ → FourierL2 := + fun t => sampledCutoffProfilePath a k L T ha ha1 hk hL χ hχ Q hQ (projIcc 0 T hT t) + +theorem continuous_sampledCutoffProfileHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (sampledCutoffProfileHistory a k L T ha ha1 hk hL hT χ hχ Q hQ) := + (sampledCutoffProfilePath a k L T ha ha1 hk hL χ hχ Q hQ).continuous.comp continuous_projIcc + +theorem sampledCutoffProfileHistory_of_mem (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (t : ℝ) (ht : t ∈ Icc 0 T) : + sampledCutoffProfileHistory a k L T ha ha1 hk hL hT χ hχ Q hQ t = + schwartzTorusSample a k (expandingRadius L t) ha1 hk + (hL.trans (expandingRadius_ge L t hL ht.1)) + (radianFourierKernel (cutoffProfileSchwartz (expandingRadius L t) + (mul_pos (lt_of_lt_of_le zero_lt_one hL) (Real.exp_pos _)) χ hχ Q hQ)) := by + unfold sampledCutoffProfileHistory + rw [projIcc_of_mem _ ht] + rfl + +noncomputable def sampledCutoffNonlinearPath (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (m : ℕ) : C(Icc (0 : ℝ) T, FourierL2) where + toFun t := expandingOddPower a k (expandingRadiusCurve L T hL t).1 + ha ha1 hk (expandingRadiusCurve L T hL t).2 m + (sampledCutoffProfilePath a k L T ha ha1 hk hL χ hχ Q hQ t) + continuous_toFun := (continuous_expandingOddPower_scale a k ha ha1 hk m).comp + ((expandingRadiusCurve L T hL).continuous.prodMk + (sampledCutoffProfilePath a k L T ha ha1 hk hL χ hχ Q hQ).continuous) + +noncomputable def sampledCutoffForcingPath (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : C(Icc (0 : ℝ) T, FourierL2) := + (-Complex.I) • sampledCutoffNonlinearPath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ m + + (-Complex.I) • sampledCutoffResidualPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ + +noncomputable def sampledCutoffForcingHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : ℝ → FourierL2 := + fun t => sampledCutoffForcingPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ + (projIcc 0 T hT t) + +theorem continuous_sampledCutoffForcingHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (sampledCutoffForcingHistory a k L T ha ha1 hk hL hT χ hχ hχone hχzero m Q hQ) := + (sampledCutoffForcingPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ).continuous.comp + continuous_projIcc + +theorem sampledCutoffForcingHistory_of_mem (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (t : ℝ) (ht : t ∈ Icc 0 T) : + sampledCutoffForcingHistory a k L T ha ha1 hk hL hT χ hχ hχone hχzero m Q hQ t = + (-Complex.I) • expandingOddPower a k (expandingRadius L t) ha ha1 hk + (hL.trans (expandingRadius_ge L t hL ht.1)) m + (sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ t) + + (-Complex.I) • sampledCutoffResidualHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ t := by + unfold sampledCutoffForcingHistory sampledCutoffProfileHistory sampledCutoffResidualHistory + rw [projIcc_of_mem _ ht] + rfl + +theorem sampledCutoffProfileHistory_coefficient (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (t : ℝ) (ht : t ∈ Icc 0 T) + (n : frequencyLattice) : + expandingFourierCoefficient a k (expandingRadius L t) + (sampledCutoffProfileHistory a k L T ha ha1 hk hL hT χ hχ Q hQ t) n = + cutoffSampledMode L χ hχ Q hQ n t := by + rw [sampledCutoffProfileHistory_of_mem a k L T ha ha1 hk hL hT χ hχ Q hQ t ht, + schwartzTorusSample_coefficient] + exact (cutoffSampledMode_eq_physical L (lt_of_lt_of_le zero_lt_one hL) + χ hχ Q hQ n t).symm + +theorem sampledCutoffResidualHistory_of_mem (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (t : ℝ) (ht : t ∈ Icc 0 T) : + sampledCutoffResidualHistory a k L T ha ha1 hk hL hT χ hχ hχone hχzero m Q hQ t = + schwartzTorusSample a k (expandingRadius L t) ha1 hk + (hL.trans (expandingRadius_ge L t hL ht.1)) (radianFourierKernel + (cutoffResidualSchwartz χ hχ hχone hχzero a (expandingRadius L t) + (mul_pos (lt_of_lt_of_le zero_lt_one hL) (Real.exp_pos _)) m Q hQ)) := by + unfold sampledCutoffResidualHistory + rw [projIcc_of_mem _ ht] + rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFourierDefect.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFourierDefect.lean new file mode 100644 index 0000000000000000000000000000000000000000..e401846b49256f8c0b481d1b0330bcd79aba0f1a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFourierDefect.lean @@ -0,0 +1,114 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierDerivatives +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampledNonlinearity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffNormalizedEquation +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileModeDerivative + +namespace OAI + +/-! # The exact Fourier transform of the normalized cutoff defect -/ + +open scoped SchwartzMap Laplacian ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def physicalSchwartzCoefficient (L : ℝ) (n : frequencyLattice) : + 𝓢(E, ℂ) →ₗ[ℂ] ℂ where + toFun ψ := schwartzLatticeCoefficient L (radianFourierKernel ψ) n + map_add' ψ φ := by + change (((2 * Real.pi * L) ^ 12)⁻¹ : ℝ) * + (radianFourierCLM (ψ + φ)) (L⁻¹ • (n : E)) = + (((2 * Real.pi * L) ^ 12)⁻¹ : ℝ) * (radianFourierCLM ψ) (L⁻¹ • (n : E)) + + (((2 * Real.pi * L) ^ 12)⁻¹ : ℝ) * (radianFourierCLM φ) (L⁻¹ • (n : E)) + rw [map_add] + simp only [add_apply, mul_add] + map_smul' c ψ := by + change (((2 * Real.pi * L) ^ 12)⁻¹ : ℝ) * + (radianFourierCLM (c • ψ)) (L⁻¹ • (n : E)) = + c * ((((2 * Real.pi * L) ^ 12)⁻¹ : ℝ) * (radianFourierCLM ψ) (L⁻¹ • (n : E))) + rw [map_smul radianFourierCLM] + simp only [smul_apply, smul_eq_mul] + ring + +@[simp] theorem physicalSchwartzCoefficient_apply (L : ℝ) (n : frequencyLattice) + (ψ : 𝓢(E, ℂ)) : + physicalSchwartzCoefficient L n ψ = + schwartzLatticeCoefficient L (radianFourierKernel ψ) n := rfl + +theorem physicalSchwartzCoefficient_laplacian (ψ : 𝓢(E, ℂ)) (n : frequencyLattice) : + physicalSchwartzCoefficient 1 n (Δ ψ) = + -((‖n‖ ^ 2 : ℝ) : ℂ) * physicalSchwartzCoefficient 1 n ψ := by + change (((2 * Real.pi * 1) ^ 12)⁻¹ : ℝ) * + radianFourierKernel (Δ ψ) (1⁻¹ • (n : E)) = _ + simp only [inv_one, one_smul, radianFourierKernel_laplacian, + physicalSchwartzCoefficient_apply, schwartzLatticeCoefficient, Submodule.norm_coe] + ring + +theorem physicalSchwartzCoefficient_dilation (R : ℝ) (hR : 0 < R) + (ψ : 𝓢(E, ℂ)) (n : frequencyLattice) : + physicalSchwartzCoefficient R n (schwartzPhysicalDilation 0 R hR ψ) = + physicalSchwartzCoefficient 1 n ψ := by + simp only [physicalSchwartzCoefficient_apply] + rw [radianFourierKernel_schwartzPhysicalDilation, + schwartzLatticeCoefficient_homogeneousDilation 0 R R hR hR] + simp only [mul_zero, Real.rpow_zero, Complex.ofReal_one, one_mul, div_self hR.ne'] + +noncomputable def cutoffVelocitySchwartz (χ : 𝓢(E, ℂ)) + (hχ : HasCompactSupport (χ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (R : ℝ) : 𝓢(E, ℂ) := + (hχ.mul_right (f' := fun x => fderiv ℝ Q (R • x) ((R / 2) • x))).toSchwartzMap + (χ.smooth'.mul (((contDiff_infty_iff_fderiv.mp hQ).2.comp + (contDiff_id.const_smul R)).clm_apply (contDiff_id.const_smul (R / 2)))) + +@[simp] theorem cutoffVelocitySchwartz_apply (χ : 𝓢(E, ℂ)) + (hχ : HasCompactSupport (χ : E → ℂ)) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (R : ℝ) (x : E) : + cutoffVelocitySchwartz χ hχ Q hQ R x = χ x * fderiv ℝ Q (R • x) ((R / 2) • x) := rfl + +noncomputable def normalizedCutoffDefectSchwartz (a b R : ℝ) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : 𝓢(E, ℂ) := + let ψ := compactDilationFamily χ hχ Q hQ R + Complex.I • cutoffVelocitySchwartz χ hχ Q hQ R + + (((R ^ (2 : ℕ))⁻¹ : ℝ) : ℂ) • Δ ψ + + (Complex.I * (a : ℂ) + (b : ℂ)) • ψ - schwartzOddPower m ψ + +theorem hasCompactSupport_complexCutoff (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) : + HasCompactSupport (χ.postcompCLM Complex.ofRealCLM : E → ℂ) := + hχ.comp_left (g := fun r : ℝ => (r : ℂ)) rfl + +theorem normalizedCutoffDefectSchwartz_apply (a b R : ℝ) (hR : 0 < R) (m : ℕ) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (x : E) : + normalizedCutoffDefectSchwartz a b R m (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ x = + (χ x : ℂ) * stationarySimilarityDefect a b m Q (R • x) + + cutoffResidual m R χ Q (R • x) := by + have hφ : (compactDilationFamily (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ R : E → ℂ) = + fun z => (χ z : ℂ) * Q (R • z) := rfl + have h := cutoff_normalized_similarity_defect a b R hR m χ χ.smooth' Q hQ x + simpa only [normalizedCutoffDefectSchwartz, add_apply, sub_apply, smul_apply, + smul_eq_mul, cutoffVelocitySchwartz_apply, compactDilationFamily_apply, + SchwartzMap.postcompCLM_apply, Complex.ofRealCLM_apply, + SchwartzMap.laplacian_apply, schwartzOddPower_apply, Complex.real_smul, hφ] using h + +theorem physicalSchwartzCoefficient_cutoffDefect (a b R : ℝ) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (n : frequencyLattice) : + physicalSchwartzCoefficient 1 n (normalizedCutoffDefectSchwartz a b R m χ hχ Q hQ) = + Complex.I * physicalSchwartzCoefficient 1 n (cutoffVelocitySchwartz χ hχ Q hQ R) + + (-(((R ^ (2 : ℕ))⁻¹ : ℝ) : ℂ) * ((‖n‖ ^ 2 : ℝ) : ℂ) + + Complex.I * (a : ℂ) + (b : ℂ)) * + physicalSchwartzCoefficient 1 n (compactDilationFamily χ hχ Q hQ R) - + physicalSchwartzCoefficient 1 n (schwartzOddPower m (compactDilationFamily χ hχ Q hQ R)) := by + rw [normalizedCutoffDefectSchwartz, map_sub, map_add, map_add, + map_smul, map_smul, map_smul, physicalSchwartzCoefficient_laplacian] + simp only [smul_eq_mul] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffGlobalOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffGlobalOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..ed6c78856ace742d74d7a013f3eeb4e7f150b209 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffGlobalOrbit.lean @@ -0,0 +1,155 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingSlabTrajectory +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffPathContinuity + +namespace OAI + +/-! # A global cutoff orbit from compatible nonlinear steps + +The profile is the actual sampled cutoff of the smooth stationary function. +Compatible step solutions with geometric perturbation bounds give a global +nonlinear trajectory, with vanishing error relative to that same profile. +The stable graph supplies these endpoint data in the subsequent application. +-/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def sampledCutoffProfileAtRadius (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (R : {R : ℝ // 1 ≤ R}) : FourierL2 := + schwartzTorusSample a k R.1 ha1 hk R.2 + (radianFourierKernel (cutoffProfileSchwartz R.1 + (lt_of_lt_of_le zero_lt_one R.2) χ hχ Q hQ)) + +noncomputable def sampledCutoffProfileOrbit (a k L : ℝ) + (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (s : ℝ) : FourierL2 := + sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ + ⟨expandingRadius L (max 0 s), + hL.trans (expandingRadius_ge L _ hL (le_max_left _ _))⟩ + +theorem continuous_sampledCutoffProfileOrbit (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (sampledCutoffProfileOrbit a k L ha1 hk hL χ hχ Q hQ) := by + have hR : Continuous (fun s : ℝ => + (⟨expandingRadius L (max 0 s), + hL.trans (expandingRadius_ge L _ hL (le_max_left _ _))⟩ : {R : ℝ // 1 ≤ R})) := by + apply Continuous.subtype_mk + unfold expandingRadius + fun_prop + exact (continuous_cutoffProfile_sample a k ha ha1 hk χ hχ Q hQ).comp hR + +theorem sampledCutoffProfileOrbit_at (a k L M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hM : 0 < M) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (n : ℕ) (s : Icc (0 : ℝ) M) : + sampledCutoffProfileOrbit a k L ha1 hk hL χ hχ Q hQ ((n : ℝ) * M + s) = + sampledCutoffProfilePath a k (expandingRadius L ((n : ℝ) * M)) M ha ha1 hk + (hL.trans (expandingRadius_ge L _ hL (by positivity))) χ hχ Q hQ s := by + have hpos : 0 ≤ (n : ℝ) * M + s := add_nonneg (by positivity) s.2.1 + unfold sampledCutoffProfileOrbit + simp only [max_eq_right hpos] + change sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ _ = + sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ _ + congr 1 + apply Subtype.ext + exact (expandingRadius_add L ((n : ℝ) * M) s).symm + +theorem exists_cutoffGlobal_orbit_of_steps (a b k L M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hM : 0 < M) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (x : ℕ → FourierL2) (V : ℕ → C(Icc (0 : ℝ) M, FourierL2)) + (hVM : ∀ n, V n ⟨M, hM.le, le_rfl⟩ = x (n + 1)) + (hsol : ∀ n : ℕ, + let Ln := expandingRadius L ((n : ℝ) * M) + let hLn := hL.trans (expandingRadius_ge L ((n : ℝ) * M) hL (by positivity)) + let q := sampledCutoffProfilePath a k Ln M ha ha1 hk hLn χ hχ Q hQ + q + V n = expandingPicard a b k Ln M ha hk hLn hM.le + (expandingNonlinearReaction a k Ln M ha ha1 hk hLn m) + (q ⟨0, le_rfl, hM.le⟩ + x n) (q + V n)) + (C r : ℝ) (hr : 0 ≤ r) (hr1 : r < 1) + (hVbound : ∀ n, ‖V n‖ ≤ C * r ^ n) : + ∃ u : ℝ → FourierL2, ∃ hu : ContinuousOn u (Ici 0), + u 0 = sampledCutoffProfileOrbit a k L ha1 hk hL χ hχ Q hQ 0 + x 0 ∧ + (∀ (S : ℝ) (hS : 0 < S), expandingSlabRestriction u hu S = + expandingPicard a b k L S ha hk hL hS.le + (expandingNonlinearReaction a k L S ha ha1 hk hL m) (u 0) + (expandingSlabRestriction u hu S)) ∧ + Tendsto (fun s => ‖u s - sampledCutoffProfileOrbit a k L ha1 hk hL χ hχ Q hQ s‖) + atTop (𝓝 0) := by + let q : ℕ → C(Icc (0 : ℝ) M, FourierL2) := fun n => + sampledCutoffProfilePath a k (expandingRadius L ((n : ℝ) * M)) M ha ha1 hk + (hL.trans (expandingRadius_ge L _ hL (by positivity))) χ hχ Q hQ + let W := fun n => q n + V n + let qglob := sampledCutoffProfileOrbit a k L ha1 hk hL χ hχ Q hQ + have hV0 (n : ℕ) : V n ⟨0, le_rfl, hM.le⟩ = x n := by + have hz := congrArg (fun f : C(Icc (0 : ℝ) M, FourierL2) => f ⟨0, le_rfl, hM.le⟩) + (hsol n) + simp only [ContinuousMap.add_apply, expandingPicard_initial] at hz + exact add_left_cancel hz + have hq (n : ℕ) (s : Icc (0 : ℝ) M) : + qglob ((n : ℝ) * M + s) = q n s := + sampledCutoffProfileOrbit_at a k L M ha ha1 hk hL hM χ hχ Q hQ n s + have hqjoin (n : ℕ) : q n ⟨M, hM.le, le_rfl⟩ = q (n + 1) ⟨0, le_rfl, hM.le⟩ := by + rw [← hq n, ← hq (n + 1)] + congr 1 + push_cast + ring + have hjoinV (n : ℕ) : V n ⟨M, hM.le, le_rfl⟩ = V (n + 1) ⟨0, le_rfl, hM.le⟩ := + (hVM n).trans (hV0 (n + 1)).symm + have hjoinW (n : ℕ) : W n ⟨M, hM.le, le_rfl⟩ = W (n + 1) ⟨0, le_rfl, hM.le⟩ := by + change q n _ + V n _ = q (n + 1) _ + V (n + 1) _ + rw [hqjoin n, hjoinV n] + let u := gluedSlabPath M hM W hjoinW + let v := gluedSlabPath M hM V hjoinV + have hu : ContinuousOn u (Ici 0) := continuousOn_gluedSlabPath M hM W hjoinW + have hWsol (n : ℕ) : + W n = expandingPicard a b k (expandingRadius L ((n : ℝ) * M)) M ha hk + (hL.trans (expandingRadius_ge L _ hL (by positivity))) hM.le + (expandingNonlinearReaction a k (expandingRadius L ((n : ℝ) * M)) M ha ha1 hk + (hL.trans (expandingRadius_ge L _ hL (by positivity))) m) + (W n ⟨0, le_rfl, hM.le⟩) (W n) := by + simpa only [W, ContinuousMap.add_apply, hV0] using hsol n + refine ⟨u, hu, ?_, ?_, ?_⟩ + · have hu0 := gluedSlabPath_at M hM W hjoinW 0 ⟨0, le_rfl, hM.le⟩ + have hq0 := hq 0 ⟨0, le_rfl, hM.le⟩ + simp only [Nat.cast_zero, zero_mul, add_zero] at hu0 hq0 + change u 0 = W 0 ⟨0, le_rfl, hM.le⟩ at hu0 + change u 0 = qglob 0 + x 0 + rw [hu0] + change q 0 _ + V 0 _ = _ + rw [hV0, hq0] + · intro S hS + exact expandingGluedSlabs_picard a b k L M ha ha1 hk hL hM m W hjoinW hWsol S hS + · have hv : Tendsto v atTop (𝓝 0) := gluedSlabPath_tendsto_zero M hM V hjoinV C r hr hr1 + (fun n s => (ContinuousMap.norm_coe_le_norm (V n) s).trans (hVbound n)) + have heq : (fun s => u s - qglob s) =ᶠ[atTop] v := by + filter_upwards [eventually_ge_atTop (0 : ℝ)] with t ht + let n := ⌊t / M⌋₊ + let s : Icc (0 : ℝ) M := ⟨t - (n : ℝ) * M, by + have hh := equalSlabInterval_floor M hM t ht + constructor <;> dsimp [n] <;> linarith [hh.1, hh.2]⟩ + have he : (n : ℝ) * M + s = t := by dsimp [s]; ring + have hut := gluedSlabPath_at M hM W hjoinW n s + have hvt := gluedSlabPath_at M hM V hjoinV n s + have hqt := hq n s + rw [he] at hut hvt hqt + change u t = W n s at hut + change v t = V n s at hvt + change u t - qglob t = v t + rw [hut, hvt, hqt] + change q n s + V n s - q n s = V n s + abel + simpa using (hv.congr' heq.symm).norm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLaplacian.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLaplacian.lean new file mode 100644 index 0000000000000000000000000000000000000000..ecd91b6a1a58fdae99a96ceffcd40814bd96e0f3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLaplacian.lean @@ -0,0 +1,127 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffResidualScaling +import Mathlib.Analysis.Calculus.FDeriv.CompCLM + +namespace OAI + +/-! # The spatial product identity behind the actual cutoff defect -/ + +open scoped Laplacian ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem second_directional_eq (f : E → ℂ) (hf : ContDiff ℝ ∞ f) + (x v : E) : + iteratedFDeriv ℝ 2 f x ![v, v] = + fderiv ℝ (fun y => fderiv ℝ f y v) x v := by + have hdf : ContDiff ℝ ∞ (fderiv ℝ f) := (contDiff_infty_iff_fderiv.mp hf).2 + rw [iteratedFDeriv_two_apply] + have h := iteratedFDeriv_clm_apply_const_apply hdf + (by simp : (1 : ℕ∞ω) ≤ ∞) (x := x) (u := v) (m := fun _ : Fin 1 => v) + simpa only [iteratedFDeriv_one_apply, Matrix.cons_val_zero, Matrix.cons_val_one] using h.symm + +private theorem second_directional_mul (f g : E → ℂ) + (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (x v : E) : + iteratedFDeriv ℝ 2 (fun y => f y * g y) x ![v, v] = + f x * iteratedFDeriv ℝ 2 g x ![v, v] + + g x * iteratedFDeriv ℝ 2 f x ![v, v] + + 2 * (fderiv ℝ f x v * fderiv ℝ g x v) := by + have hdf : ContDiff ℝ ∞ (fderiv ℝ f) := (contDiff_infty_iff_fderiv.mp hf).2 + have hdg : ContDiff ℝ ∞ (fderiv ℝ g) := (contDiff_infty_iff_fderiv.mp hg).2 + have hfv : Differentiable ℝ (fun y => fderiv ℝ f y v) := + hdf.differentiable (by simp) |>.clm_apply (differentiable_const _) + have hgv : Differentiable ℝ (fun y => fderiv ℝ g y v) := + hdg.differentiable (by simp) |>.clm_apply (differentiable_const _) + have hfg : (fun y => fderiv ℝ (fun z => f z * g z) y v) = + fun y => f y * fderiv ℝ g y v + g y * fderiv ℝ f y v := by + funext y + rw [fderiv_fun_mul (hf.differentiable (by simp) y) (hg.differentiable (by simp) y)] + simp only [add_apply, smul_apply, smul_eq_mul] + have h₁ : DifferentiableAt ℝ (fun y => f y * fderiv ℝ g y v) x := + (hf.differentiable (by simp) x).mul (hgv x) + have h₂ : DifferentiableAt ℝ (fun y => g y * fderiv ℝ f y v) x := + (hg.differentiable (by simp) x).mul (hfv x) + rw [second_directional_eq _ (hf.mul hg), hfg, + fderiv_fun_add h₁ h₂, + fderiv_fun_mul (hf.differentiable (by simp) x) (hgv x), + fderiv_fun_mul (hg.differentiable (by simp) x) (hfv x), + second_directional_eq f hf, second_directional_eq g hg] + simp only [add_apply, smul_apply, smul_eq_mul] + ring + +theorem laplacian_complex_mul (f g : E → ℂ) + (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (x : E) : + Δ (fun y => f y * g y) x = f x * Δ g x + g x * Δ f x + + 2 * ∑ j : Fin 12, fderiv ℝ f x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) * + fderiv ℝ g x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) := by + simp only [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ)] + simp_rw [second_directional_mul f g hf hg] + simp only [Finset.sum_add_distrib, Finset.mul_sum] + +theorem laplacian_complex_real_mul (χ : E → ℝ) (Q : E → ℂ) + (hχ : ContDiff ℝ ∞ χ) (hQ : ContDiff ℝ ∞ Q) (x : E) : + Δ (fun y => (χ y : ℂ) * Q y) x = (χ x : ℂ) * Δ Q x + + (Δ χ x : ℂ) * Q x + 2 * ∑ j : Fin 12, + (fderiv ℝ χ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Q x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) := by + have hc : ContDiff ℝ ∞ (fun y => (χ y : ℂ)) := Complex.ofRealCLM.contDiff.comp hχ + have hl : Δ (fun y => (χ y : ℂ)) x = (Δ χ x : ℂ) := + (hχ.contDiffAt.of_le (by simp)).laplacian_CLM_comp_left (l := Complex.ofRealCLM) + have hd (v : E) : fderiv ℝ (fun y => (χ y : ℂ)) x v = (fderiv ℝ χ x v : ℂ) := by + have h := Complex.ofRealCLM.hasFDerivAt.comp x (hχ.differentiable (by simp) x).hasFDerivAt + exact congrArg (fun A : E →L[ℝ] ℂ => A v) h.fderiv + rw [laplacian_complex_mul _ Q hc hQ, hl] + simp_rw [hd] + ring + +theorem laplacian_real_dilation (χ : E → ℝ) (hχ : ContDiff ℝ ∞ χ) + (r : ℝ) (x : E) : + Δ (fun y => χ (r • y)) x = r ^ (2 : ℕ) * Δ χ (r • x) := by + simp only [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ)] + have hd : iteratedFDeriv ℝ 2 (fun y => χ (r • y)) x = + r ^ (2 : ℕ) • iteratedFDeriv ℝ 2 χ (r • x) := by + simpa only using! congrFun (iteratedFDeriv_comp_const_smul r + (hχ.of_le (by simp : (2 : ℕ∞ω) ≤ ∞))) x + rw [hd, Finset.mul_sum] + apply Finset.sum_congr rfl + intro j _ + simp only [smul_apply, smul_eq_mul] + +theorem fderiv_real_dilation (χ : E → ℝ) (_hχ : Differentiable ℝ χ) + (r : ℝ) (x v : E) : + fderiv ℝ (fun y => χ (r • y)) x v = r * fderiv ℝ χ (r • x) v := by + rw [fderiv_comp_smul] + simp only [smul_apply, smul_eq_mul] + +theorem cutoffResidual_spatial_identity (m : ℕ) (L : ℝ) (χ : E → ℝ) (Q : E → ℂ) + (hχ : ContDiff ℝ ∞ χ) (hQ : ContDiff ℝ ∞ Q) (y : E) : + Δ (fun z => (χ (L⁻¹ • z) : ℂ) * Q z) y - + oddPowerNonlinearity m ((χ (L⁻¹ • y) : ℂ) * Q y) = + (χ (L⁻¹ • y) : ℂ) * (Δ Q y - oddPowerNonlinearity m (Q y)) + + cutoffResidual m L χ Q y := by + have hc : ContDiff ℝ ∞ (fun z : E => χ (L⁻¹ • z)) := + hχ.comp (contDiff_id.const_smul L⁻¹) + rw [laplacian_complex_real_mul (fun z : E => χ (L⁻¹ • z)) Q hc hQ, + laplacian_real_dilation χ hχ, oddPowerNonlinearity_real_mul] + simp_rw [fderiv_real_dilation χ (hχ.differentiable (by simp)), Complex.ofReal_mul] + have hsum : (∑ j : Fin 12, ((L⁻¹ : ℝ) : ℂ) * + (fderiv ℝ χ (L⁻¹ • y) ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Q y ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) = + ((L⁻¹ : ℝ) : ℂ) * ∑ j : Fin 12, + (fderiv ℝ χ (L⁻¹ • y) ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Q y ((EuclideanSpace.basisFun (Fin 12) ℝ) j) := by + rw [Finset.mul_sum] + apply Finset.sum_congr rfl + intro j _ + ring + rw [hsum] + unfold cutoffResidual + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLinearizedPropagator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLinearizedPropagator.lean new file mode 100644 index 0000000000000000000000000000000000000000..fd9788d8994ddf791c1b52364ef35d6149544e54 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLinearizedPropagator.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedProfileBounds +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMovingPath +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProfilePropagator + +namespace OAI + +/-! # Uniform finite-slab evolution for the actual cutoff profile + +The matched profile's proved symbol bounds give a single norm bound on +all of its expanding-torus samples. The actual linearized potential then +has bounded real-linear propagators uniformly in the starting radius. +-/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_matchedCutoffProfile_uniform_bound (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) : + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let hQ := radialMatchedCartesian_contDiff n z hX hz + ∃ R : ℝ, 0 ≤ R ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (t : Icc (0 : ℝ) T), + ‖sampledCutoffProfilePath (radialShootingA n) k L T ha ha1 hk hL + χ hχ (radialMatchedCartesian n z) hQ t‖ ≤ R := by + intro ha ha1 hQ + obtain ⟨R, hR, hbound⟩ := radialMatchedCutoff_sampling_bound n z hX hz k hk χ hχ hχzero + refine ⟨R, hR, ?_⟩ + intro L T hL t + exact hbound (expandingRadiusCurve L T hL t).1 (expandingRadiusCurve L T hL t).2 + +theorem exists_matchedCutoffLinearized_propagator (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) : + let a := radialShootingA n + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let hQ := radialMatchedCartesian_contDiff n z hX hz + ∃ K : ℝ, 0 ≤ K ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (hT : 0 ≤ T), + let q := sampledCutoffProfilePath a k L T ha ha1 hk hL χ hχ (radialMatchedCartesian n z) hQ + ∃ U : FourierL2 →L[ℝ] C(Icc (0 : ℝ) T, FourierL2), + (∀ u₀ t, U u₀ t = expandingFreeStep a b k L t ha hk hL t.2.1 u₀ + + expandingDuhamel a b k L ha hk hL t (expandingReactionHistory T hT + (expandingProfileReaction a k T ha ha1 hk m (expandingRadiusCurve L T hL) q 0) + (U u₀))) ∧ + ‖U‖ ≤ (K + 1) * Real.exp ((K + 1) * T) := by + intro a b m ha ha1 hQ + obtain ⟨R, hR, hbound⟩ := exists_matchedCutoffProfile_uniform_bound n z hX hz k hk χ hχ hχzero + obtain ⟨K, hK, hprop⟩ := exists_expandingProfile_propagator a b k ha ha1 hk m R hR + refine ⟨K, hK, ?_⟩ + intro L T hL hT + exact hprop L T hL hT _ (hbound L T hL) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLocalExistence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLocalExistence.lean new file mode 100644 index 0000000000000000000000000000000000000000..e58b9fce7078a32a7658968dba263b389e9797ba --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffLocalExistence.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffPicardResidual +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingApproximateExistence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzProfileSampling + +namespace OAI + +/-! # Exact local evolution near the sampled stationary cutoff + +Finite symbol jets control the whole cutoff path and its true mild residual. +The starting-scale smallness gives a genuine solution of the nonlinear +equation, with no globally Lipschitz extension of that equation. +-/ + +open Set Metric +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_cutoffProfile_localSolution (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Q y = 0) → + ∃ C K : ℝ, 0 ≤ C ∧ 0 ≤ K ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (hT : 0 ≤ T), + T * K < 1 → + let q := sampledCutoffProfilePath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let q₀ := sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ 0 + ∀ u₀ : FourierL2, dist u₀ q₀ + C * L ^ (-2 - a) ≤ 1 - T * K → + ∃ u : C(Icc (0 : ℝ) T, FourierL2), + u = expandingPicard a b k L T ha hk hL hT + (expandingNonlinearReaction a k L T ha ha1 hk hL m) u₀ u ∧ + dist u q ≤ 1 ∧ + dist u q ≤ (dist u₀ q₀ + C * L ^ (-2 - a)) / (1 - T * K) := by + have hzero₂ : ∀ x : E, 2 < ‖x‖ → χ x = 0 := fun x hx => hχzero x (by linarith) + have hzeroC : ∀ x : E, 1 ≤ ‖x‖ → (χ.postcompCLM Complex.ofRealCLM) x = 0 := by + intro x hx + simp only [SchwartzMap.postcompCLM_apply, hχzero x hx, map_zero] + obtain ⟨N₁, hsamp⟩ := exists_cutoffProfile_sampling_bound a k ha ha1 hk + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) hzeroC + obtain ⟨N₂, hres⟩ := exists_cutoffPicard_residual_bound a b k ha ha1 hk + χ hχ hχone hzero₂ m ham + refine ⟨max N₁ N₂, ?_⟩ + intro Q hQ D hD hsymbol hstationary + obtain ⟨R, hR, hbR⟩ := hsamp Q hQ D hD + (fun n hn => hsymbol n (hn.trans (le_max_left _ _))) + obtain ⟨C, hC, hbC⟩ := hres Q hQ D hD + (fun n hn => hsymbol n (hn.trans (le_max_right _ _))) hstationary + obtain ⟨K, hK, hex⟩ := exists_expandingNonlinear_near_approximation a b k ha ha1 hk + m R 1 hR (by norm_num) + refine ⟨C, K, hC, hK, ?_⟩ + intro L T hL hT hTK q q₀ u₀ hsmall + have hqR : ∀ t, ‖q t‖ ≤ R := by + intro t + exact hbR (expandingRadius L t) (expandingRadiusCurve L T hL t).2 + have hdef : dist q (expandingPicard a b k L T ha hk hL hT + (expandingNonlinearReaction a k L T ha ha1 hk hL m) u₀ q) ≤ + dist u₀ q₀ + C * L ^ (-2 - a) := by + calc + _ ≤ dist q (expandingPicard a b k L T ha hk hL hT + (expandingNonlinearReaction a k L T ha ha1 hk hL m) q₀ q) + + dist (expandingPicard a b k L T ha hk hL hT + (expandingNonlinearReaction a k L T ha ha1 hk hL m) q₀ q) + (expandingPicard a b k L T ha hk hL hT + (expandingNonlinearReaction a k L T ha ha1 hk hL m) u₀ q) := dist_triangle _ _ _ + _ ≤ C * L ^ (-2 - a) + dist q₀ u₀ := add_le_add (hbC L T hL hT) + (expandingPicard_initial_dist_le a b k L T ha hk hL hT _ q₀ u₀ q) + _ = _ := by rw [dist_comm q₀ u₀, add_comm] + exact hex L T hL hT hTK q hqR u₀ (dist u₀ q₀ + C * L ^ (-2 - a)) hdef + (by simpa only [mul_one] using hsmall) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMildEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMildEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..3433e887ceb95b88c2711ca07c48eba022428a77 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMildEquation.lean @@ -0,0 +1,113 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffForcingHistory +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingModeConverse + +namespace OAI + +/-! # The genuine sampled cutoff profile is a forced mild solution -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem expandingModeRate_eq_radius (a b L t : ℝ) (hL : 0 < L) (n : frequencyLattice) : + expandingModeRate a b L t n = -(a : ℂ) + Complex.I * ((b : ℂ) - + ((((expandingRadius L t) ^ (2 : ℕ))⁻¹ : ℝ) : ℂ) * ((‖n‖ ^ 2 : ℝ) : ℂ)) := by + have hR : 0 < expandingRadius L t := mul_pos hL (Real.exp_pos _) + have hp : (expandingRadius L t) ^ (-2 : ℝ) = ((expandingRadius L t) ^ (2 : ℕ))⁻¹ := by + rw [Real.rpow_neg hR.le, Real.rpow_two] + have he : ((expandingRadius L t) ^ (2 : ℕ))⁻¹ = L ^ (-2 : ℝ) * Real.exp (-t) := by + have h := expandingRadius_residual_power 0 L t hL + simp only [sub_zero, add_zero] at h + rw [hp] at h + simpa only [show -(2 : ℝ) * t / 2 = -t by ring] using h + unfold expandingModeRate + rw [he] + push_cast + ring + +theorem hasDerivAt_sampledCutoffProfileHistory_coefficient (a b k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hstationary : ∀ y, stationarySimilarityDefect a b m Q y = 0) + (t : ℝ) (ht : t ∈ Ioo 0 T) (n : frequencyLattice) : + let u := sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let r := sampledCutoffForcingHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ + HasDerivAt (fun s => expandingFourierCoefficient a k (expandingRadius L s) (u s) n) + (expandingModeRate a b L t n * + expandingFourierCoefficient a k (expandingRadius L t) (u t) n + + expandingFourierCoefficient a k (expandingRadius L t) (r t) n) t := by + intro u r + have hLp : 0 < L := lt_of_lt_of_le zero_lt_one hL + have hRt : 1 ≤ expandingRadius L t := hL.trans (expandingRadius_ge L t hL ht.1.le) + have hd := hasDerivAt_cutoffSampledMode_equation a b k L t ha ha1 hk hLp hRt + m ham χ hχ hχone hχzero Q hQ hstationary n + have he : (fun s => expandingFourierCoefficient a k (expandingRadius L s) (u s) n) =ᶠ[𝓝 t] + cutoffSampledMode L (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Q hQ n := by + filter_upwards [Ioo_mem_nhds ht.1 ht.2] with s hs + exact sampledCutoffProfileHistory_coefficient a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ s + ⟨hs.1.le, hs.2.le⟩ n + apply (hd.congr_of_eventuallyEq he).congr_deriv + rw [expandingModeRate_eq_radius a b L t hLp n, + sampledCutoffProfileHistory_coefficient a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) + Q hQ t ⟨ht.1.le, ht.2.le⟩ n] + have hforce : expandingFourierCoefficient a k (expandingRadius L t) (r t) n = + (-Complex.I) * expandingFourierCoefficient a k (expandingRadius L t) + (expandingOddPower a k (expandingRadius L t) ha ha1 hk hRt m (u t)) n + + (-Complex.I) * physicalSchwartzCoefficient (expandingRadius L t) n + (cutoffResidualSchwartz χ hχ hχone hχzero a (expandingRadius L t) + (lt_of_lt_of_le zero_lt_one hRt) m Q hQ) := by + change expandingCoefficientCLM a k (expandingRadius L t) n (r t) = _ + rw [show r t = _ from sampledCutoffForcingHistory_of_mem a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ t ⟨ht.1.le, ht.2.le⟩, + map_add, map_smul, map_smul] + simp only [expandingCoefficientCLM_apply, smul_eq_mul] + rw [sampledCutoffResidualHistory_of_mem a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ t ⟨ht.1.le, ht.2.le⟩, + schwartzTorusSample_coefficient] + rfl + have hu := sampledCutoffProfileHistory_of_mem a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) + Q hQ t ⟨ht.1.le, ht.2.le⟩ + change u t = _ at hu + rw [hforce, hu] + ring + +theorem sampledCutoffProfile_mild (a b k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hstationary : ∀ y, stationarySimilarityDefect a b m Q y = 0) + (t : ℝ) (ht : t ∈ Icc 0 T) : + let u := sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let r := sampledCutoffForcingHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ + u t = expandingFreeStep a b k L t ha hk hL ht.1 (u 0) + + expandingDuhamel a b k L ha hk hL t r := by + intro u r + exact expandingMild_of_mode_equation a b k L T ha hk hL u r + (continuous_sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ).continuousOn + (continuous_sampledCutoffForcingHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ).continuousOn + (fun s hs n => hasDerivAt_sampledCutoffProfileHistory_coefficient a b k L T + ha ha1 hk hL hT m ham χ hχ hχone hχzero Q hQ hstationary s hs n) t ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMildResidual.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMildResidual.lean new file mode 100644 index 0000000000000000000000000000000000000000..5deef0f256af14d4da27955cfcaeaf3c0855498a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMildResidual.lean @@ -0,0 +1,119 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMildEquation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingDuhamelLinear + +namespace OAI + +/-! # The exact mild defect has the proved small cutoff-residual bound -/ + +open Set MeasureTheory +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem expandingDuhamel_complex_smul (a b k L : ℝ) + (ha : 0 < a) (hk : 8 < k) (hL : 1 ≤ L) + (t : ℝ) (c : ℂ) (r : ℝ → FourierL2) : + expandingDuhamel a b k L ha hk hL t (fun s => c • r s) = + c • expandingDuhamel a b k L ha hk hL t r := by + unfold expandingDuhamel + rw [← integral_smul] + apply integral_congr_ae + filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs + simp only [expandingDuhamelIntegrand_of_mem _ _ _ _ _ _ _ _ _ _ hs, map_smul] + +noncomputable def sampledCutoffNonlinearHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (m : ℕ) : ℝ → FourierL2 := + fun t => (-Complex.I) • sampledCutoffNonlinearPath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) + Q hQ m (projIcc 0 T hT t) + +theorem continuous_sampledCutoffNonlinearHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (m : ℕ) : + Continuous (sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m) := by + have hp : Continuous (fun t : ℝ => projIcc 0 T hT t) := continuous_projIcc + exact ((sampledCutoffNonlinearPath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) + Q hQ m).continuous.comp hp).const_smul (-Complex.I) + +theorem sampledCutoffProfile_mild_residual (a b k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hstationary : ∀ y, stationarySimilarityDefect a b m Q y = 0) + (t : ℝ) (ht : t ∈ Icc 0 T) : + let u := sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + u t - expandingFreeStep a b k L t ha hk hL ht.1 (u 0) - + expandingDuhamel a b k L ha hk hL t + (sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m) = + (-Complex.I) • expandingDuhamel a b k L ha hk hL t + (sampledCutoffResidualHistory a k L T ha ha1 hk hL hT χ hχ hχone hχzero m Q hQ) := by + intro u + change 0 ≤ t ∧ t ≤ T at ht + have hu := sampledCutoffProfile_mild a b k L T ha ha1 hk hL hT m ham + χ hχ hχone hχzero Q hQ hstationary t ht + change u t = expandingFreeStep a b k L t ha hk hL ht.1 (u 0) + + expandingDuhamel a b k L ha hk hL t + (sampledCutoffForcingHistory a k L T ha ha1 hk hL hT χ hχ hχone hχzero m Q hQ) at hu + have hf : sampledCutoffForcingHistory a k L T ha ha1 hk hL hT χ hχ hχone hχzero m Q hQ = + fun s => sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m s + + (-Complex.I) • sampledCutoffResidualHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ s := rfl + rw [hf] at hu + have hd := expandingDuhamel_add a b k L ha hk hL t + (sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m) + (fun s => (-Complex.I) • sampledCutoffResidualHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ s) + (continuous_sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m).continuousOn + ((continuous_sampledCutoffResidualHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ).const_smul (-Complex.I)).continuousOn + rw [hd, expandingDuhamel_complex_smul] at hu + change u t = _ at hu + rw [hu] + abel + +/-- The true mild defect is uniformly small in the initial torus scale. -/ +theorem exists_cutoffProfile_mild_residual_bound (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Q y = 0) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (hT : 0 ≤ T) (t : ℝ) + (ht : t ∈ Icc 0 T), + let u := sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + ‖u t - expandingFreeStep a b k L t ha hk hL ht.1 (u 0) - + expandingDuhamel a b k L ha hk hL t + (sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m)‖ ≤ + C * L ^ (-2 - a) * Real.exp (-a * t / 2) := by + obtain ⟨N, hN⟩ := exists_cutoffResidual_Duhamel_bound a b k ha ha1 hk χ hχ hχone hχzero m + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol hstationary + obtain ⟨C, hC, hbound⟩ := hN Q hQ D hD hsymbol + refine ⟨C, hC, ?_⟩ + intro L T hL hT t ht u + have he := sampledCutoffProfile_mild_residual a b k L T ha ha1 hk hL hT m ham + χ hχ hχone hχzero Q hQ hstationary t ht + change u t - expandingFreeStep a b k L t ha hk hL ht.1 (u 0) - + expandingDuhamel a b k L ha hk hL t + (sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m) = _ at he + rw [he, norm_smul] + simpa only [norm_neg, Complex.norm_I, one_mul] using hbound L T hL hT t ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMixedTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMixedTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..143851305edf40e27ee01ccc6111d39fe777ec70 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMixedTaylor.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FixedCutoffProfileIdentity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FixedCutoffProfileTaylor +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffPhysicalTranslation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampleLipschitz +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CartesianTransportSymbol + +namespace OAI + +/-! # Uniform joint time and translation expansion in the physical symmetry directions -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem cutoffProfile_mixed_taylor (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : Radius), 2 ≤ L.1 → ∀ (t : ℝ) (v : E), + |t| ≤ 2 * Real.log 2 → + ‖sobolevTranslation (euclideanToTorus ((1 / L.1) • v)) + (fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t)) - + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 - + t • fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1 - + fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v) L.1‖ ≤ + C * (|t| ^ 2 + ‖v‖ ^ 2 + ‖v‖ / L.1) := by + have hT := cartesianTransport_global_symbol a Q hQ hsymbol + have hTT := cartesianTransport_global_symbol a (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) hT + obtain ⟨B, hB, hb⟩ := cutoffProfile_sampling_of_global_symbol a k ha ha1 hk χ hχ hχzero + (cartesianTransport (cartesianTransport Q)) + (cartesianTransport_contDiff _ (cartesianTransport_contDiff Q hQ)) hTT + obtain ⟨A, hA, hspace⟩ := cutoffProfile_physical_translation_taylor a k ha ha1 hk χ hχ + hχzero Q hQ hsymbol + obtain ⟨D, hD, hshift⟩ := cutoffProfile_translation_lipschitz a k ha ha1 hk χ hχ hχzero + (cartesianTransport Q) (cartesianTransport_contDiff Q hQ) hT + let B' := (2 ^ a + 2 ^ (k - 6)) * B + have hB' : 0 ≤ B' := by dsimp [B']; positivity + refine ⟨B' + A + D, by positivity, ?_⟩ + intro L hL t v ht + let u := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t) + let q := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + let d := fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1 + let f := fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v) L.1 + let S := (sobolevTranslation (euclideanToTorus ((1 / L.1) • v))).toContinuousLinearMap + have htime : ‖u - q - t • d‖ ≤ B' * |t| ^ 2 := + fixedCutoffProfile_logRadius_taylor a k ha ha1 hk L hL χ hχ Q hQ B hB + (fun R => hb R.1 R.2) t ht + have htrans : ‖S q - q - f‖ ≤ A * (‖v‖ ^ 2 + ‖v‖ / L.1) := by + simpa only [S, LinearIsometry.coe_toContinuousLinearMap, q, f, fixedCutoffProfile_self] using hspace L.1 L.2 v + have htd : ‖S d - d‖ ≤ D * ‖v‖ := by + simpa only [S, LinearIsometry.coe_toContinuousLinearMap, d, fixedCutoffProfile_self] using hshift L.1 L.2 v + have he : S u - q - t • d - f = + S (u - q - t • d) + (S q - q - f) + t • (S d - d) := by + simp only [map_sub, ContinuousLinearMap.map_smul_of_tower, smul_sub] + abel + change ‖S u - q - t • d - f‖ ≤ _ + rw [he] + calc + _ ≤ ‖S (u - q - t • d)‖ + ‖S q - q - f‖ + ‖t • (S d - d)‖ := + (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) + _ = ‖u - q - t • d‖ + ‖S q - q - f‖ + |t| * ‖S d - d‖ := by + rw [norm_smul, Real.norm_eq_abs] + simp only [S, LinearIsometry.coe_toContinuousLinearMap, LinearIsometry.norm_map] + _ ≤ B' * |t| ^ 2 + A * (‖v‖ ^ 2 + ‖v‖ / L.1) + |t| * (D * ‖v‖) := + add_le_add (add_le_add htime htrans) (mul_le_mul_of_nonneg_left htd (abs_nonneg _)) + _ ≤ _ := by + have hm := mul_nonneg hD (sq_nonneg (|t| - ‖v‖)) + have hp : 0 ≤ ‖v‖ / L.1 := by positivity + have h1 := mul_nonneg hB' (add_nonneg (sq_nonneg ‖v‖) hp) + have h2 := mul_nonneg hA (sq_nonneg |t|) + have h3 := mul_nonneg hD hp + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffModulationTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffModulationTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..2dbbb8e8b527ef4b393541308f27f8a678b35dca --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffModulationTaylor.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffTimeLipschitz +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ExponentialModulationTaylor + +namespace OAI + +/-! # Uniform phase, time and translation Taylor estimate for the cutoff profile -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem cutoffProfile_modulation_taylor (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : Radius), 2 ≤ L.1 → ∀ (t : ℝ) (v : E) (z : ℂ), + |t| ≤ 2 * Real.log 2 → |t| ≤ 1 → ‖z‖ ≤ 1 → + ‖Complex.exp z • sobolevTranslation (euclideanToTorus ((1 / L.1) • v)) + (fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t)) - + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 - + (z • fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + + t • fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1 + + fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v) L.1)‖ ≤ + C * (‖z‖ ^ 2 + |t| ^ 2 + ‖v‖ ^ 2 + ‖v‖ / L.1) := by + obtain ⟨A, hA, htaylor⟩ := cutoffProfile_mixed_taylor a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + obtain ⟨B, hB, hbase⟩ := cutoffProfile_sampling_of_global_symbol a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + obtain ⟨D, hD, hfirst⟩ := cutoffProfile_mixed_first_bound a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + refine ⟨A + B + 2 * D, by positivity, ?_⟩ + intro L hL t v z ht ht1 hz + let u := sobolevTranslation (euclideanToTorus ((1 / L.1) • v)) + (fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t)) + let q := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + let d := t • fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1 + + fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v) L.1 + have hrem : ‖u - q - d‖ ≤ A * (|t| ^ 2 + ‖v‖ ^ 2 + ‖v‖ / L.1) := by + simpa only [d, sub_add_eq_sub_sub] using htaylor L hL t v ht + have hq : ‖q‖ ≤ B := by + simpa only [q, fixedCutoffProfile_self, physicalSchwartzTorusSamplingCLM_apply] using hbase L.1 L.2 + have hu : ‖u - q‖ ≤ D * (|t| + ‖v‖) := hfirst L hL t v ht ht1 + have heq : z • q + t • fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1 + + fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v) L.1 = z • q + d := by + dsimp only [d] + abel + change ‖Complex.exp z • u - q - _‖ ≤ _ + rw [heq] + calc + _ ≤ ‖u - q - d‖ + ‖z‖ ^ 2 * ‖q‖ + 2 * ‖z‖ * ‖u - q‖ := + exponential_modulation_taylor z hz u q d + _ ≤ A * (|t| ^ 2 + ‖v‖ ^ 2 + ‖v‖ / L.1) + ‖z‖ ^ 2 * B + + 2 * ‖z‖ * (D * (|t| + ‖v‖)) := + add_le_add (add_le_add hrem (mul_le_mul_of_nonneg_left hq (sq_nonneg _))) + (mul_le_mul_of_nonneg_left hu (by positivity)) + _ ≤ _ := by + let R := ‖z‖ ^ 2 + |t| ^ 2 + ‖v‖ ^ 2 + ‖v‖ / L.1 + have hvL : 0 ≤ ‖v‖ / L.1 := by positivity + have hc : ‖z‖ * (|t| + ‖v‖) ≤ R := by + dsimp only [R] + nlinarith [sq_nonneg (‖z‖ - |t|), sq_nonneg (‖z‖ - ‖v‖)] + have h1 : A * (|t| ^ 2 + ‖v‖ ^ 2 + ‖v‖ / L.1) ≤ A * R := + mul_le_mul_of_nonneg_left (by dsimp [R]; nlinarith [sq_nonneg ‖z‖]) hA + have h2 : ‖z‖ ^ 2 * B ≤ B * R := by + have := mul_le_mul_of_nonneg_left + (show ‖z‖ ^ 2 ≤ R by dsimp [R]; nlinarith [sq_nonneg |t|, sq_nonneg ‖v‖]) hB + nlinarith only [this] + have h3 := mul_le_mul_of_nonneg_left hc (show 0 ≤ 2 * D by positivity) + dsimp only [R] at h1 h2 h3 + nlinarith only [h1, h2, h3] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMovingPath.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMovingPath.lean new file mode 100644 index 0000000000000000000000000000000000000000..1ed8ffb70e28aead6e5722f3c4b6b1e901d184d8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffMovingPath.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffFamilyContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPotentialContinuity + +namespace OAI + +/-! # Actual cutoff profiles and residuals along the expanding radius + +The sampled profile and its exact PDE residual are continuous histories on +any finite time slab. The residual decay retains the starting-scale factor. +-/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def sampledCutoffProfilePath (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : C(Icc (0 : ℝ) T, FourierL2) := + (⟨fun R : {R : ℝ // 1 ≤ R} => schwartzTorusSample a k R.1 ha1 hk R.2 + (radianFourierKernel (cutoffProfileSchwartz R.1 + (lt_of_lt_of_le zero_lt_one R.2) χ hχ Q hQ)), + continuous_cutoffProfile_sample a k ha ha1 hk χ hχ Q hQ⟩ : + C({R : ℝ // 1 ≤ R}, FourierL2)).comp (expandingRadiusCurve L T hL) + +noncomputable def sampledCutoffResidualPath (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : C(Icc (0 : ℝ) T, FourierL2) := + (⟨fun R : {R : ℝ // 1 ≤ R} => schwartzTorusSample a k R.1 ha1 hk R.2 + (radianFourierKernel (cutoffResidualSchwartz χ hχ hχone hχzero a R.1 + (lt_of_lt_of_le zero_lt_one R.2) m Q hQ)), + continuous_cutoffResidual_sample a k ha ha1 hk χ hχ hχone hχzero m Q hQ⟩ : + C({R : ℝ // 1 ≤ R}, FourierL2)).comp (expandingRadiusCurve L T hL) + +theorem expandingRadius_residual_power (a L t : ℝ) (hL : 0 < L) : + (expandingRadius L t) ^ (-2 - a) = + L ^ (-2 - a) * Real.exp (-(2 + a) * t / 2) := by + unfold expandingRadius + rw [Real.mul_rpow hL.le (Real.exp_pos _).le, ← Real.exp_mul] + congr 2 + ring + +/-- The same constant controls every starting radius and every time slab. -/ +theorem exists_sampledCutoffResidualPath_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) (m : ℕ) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (t : Icc (0 : ℝ) T), + ‖sampledCutoffResidualPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ t‖ ≤ + C * L ^ (-2 - a) * Real.exp (-(2 + a) * (t : ℝ) / 2) := by + obtain ⟨N, hb⟩ := exists_cutoffResidual_sampling_bound a k ha ha1 hk m χ hχ hχone hχzero + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol + obtain ⟨C, hC, hbC⟩ := hb Q hQ D hD hsymbol + refine ⟨C, hC, ?_⟩ + intro L T hL t + have hR : 1 ≤ expandingRadius L t := hL.trans (expandingRadius_ge L t hL t.2.1) + have h := hbC (expandingRadius L t) hR + change ‖sampledCutoffResidualPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ t‖ ≤ + C * (expandingRadius L t) ^ (-2 - a) at h + rw [expandingRadius_residual_power a L t (lt_of_lt_of_le zero_lt_one hL)] at h + simpa only [mul_assoc] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffNonlinearStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffNonlinearStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..9a883f93ff1c0f30d9cd21f54bcc1d66cd81ad43 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffNonlinearStep.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingStepMap +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepForcing + +namespace OAI + +/-! # The nonlinear step for the actual sampled cutoff profile + +The fixed-step bounds follow from a smooth stationary profile with finitely +many symbol estimates. +-/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_cutoffNonlinear_step (a b k M : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hM : 0 ≤ M) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχsupport : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Q y = 0) → + ∃ δ L₀ C : ℝ, 0 < δ ∧ 1 ≤ L₀ ∧ 0 < C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), L₀ ≤ L → + let q := sampledCutoffProfilePath a k L M ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + ∃ (V : {f : FourierL2 // ‖f‖ ≤ δ} → C(Icc (0 : ℝ) M, FourierL2)) + (h : {f : FourierL2 // ‖f‖ ≤ δ} → FourierL2), + (∀ f, q + V f = expandingPicard a b k L M ha hk hL hM + (expandingNonlinearReaction a k L M ha ha1 hk hL m) + (q ⟨0, le_rfl, hM⟩ + f.1) (q + V f)) ∧ + (∀ f, ‖V f‖ ≤ C * (‖f.1‖ + L ^ (-2 - a))) ∧ + (∀ f, ∃ w : C(Icc (0 : ℝ) M, FourierL2), + (∀ t : Icc (0 : ℝ) M, w t = expandingFreeStep a b k L t ha hk hL t.2.1 f.1 + + expandingDuhamel a b k L ha hk hL t + (expandingReactionHistory M hM + (expandingProfileReaction a k M ha ha1 hk m (expandingRadiusCurve L M hL) q 0) w)) ∧ + V f ⟨M, hM, le_rfl⟩ = w ⟨M, hM, le_rfl⟩ + h f) ∧ + (∀ z, z.1 = 0 → ‖h z‖ ≤ C * L ^ (-2 - a)) ∧ + (∀ d : ℝ, 0 < d → d ≤ δ → ∀ f j, ‖f.1‖ ≤ d → ‖j.1‖ ≤ d → + ‖h f - h j‖ ≤ C * (d + L ^ (-2 - a)) * ‖f.1 - j.1‖) := by + let hχzero := fun x : E => fun hx : 2 < ‖x‖ => hχsupport x (by linarith) + obtain ⟨N, hN⟩ := exists_cutoffStep_profile_forcing_bounds a k ha ha1 hk m χ hχ hχone hχsupport + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol hstationary + obtain ⟨R, B, hR, hB, hbounds⟩ := hN Q hQ D hD hsymbol + obtain ⟨δ, A, hδ, hA, hstep⟩ := exists_expandingNonlinear_stepMap a b k M ha ha1 hk hM m R hR + obtain ⟨L₀, hL₀, hsmall⟩ := exists_cutoffResidual_small_scale a B δ ha hδ + let C := A * (1 + B) + have hC : 0 < C := by dsimp [C]; positivity + have hAC : A ≤ C := by dsimp [C]; nlinarith [mul_nonneg hA.le hB] + have hABC : A * B ≤ C := by dsimp [C]; nlinarith + refine ⟨δ, L₀, C, hδ, hL₀, hC, ?_⟩ + intro L hL hLlarge q + let g := sampledCutoffDefectPath a k L M ha ha1 hk hL χ hχ hχone hχzero m Q hQ + let G := B * L ^ (-2 - a) + have hpow : 0 ≤ L ^ (-2 - a) := Real.rpow_nonneg (by linarith) _ + have hG : 0 ≤ G := mul_nonneg hB hpow + have hGδ : G ≤ δ := hsmall L hLlarge + have hq : ∀ t, ‖q t‖ ≤ R := fun t => (hbounds L M hL t).1 + have hg : ∀ t, ‖g t‖ ≤ G := fun t => (hbounds L M hL t).2 + obtain ⟨V, h, hV, hV_bound, hEnd, hZero, hLip⟩ := hstep L hL q g G hG hGδ hq hg + have hcoeff (x : ℝ) (hx : 0 ≤ x) : A * (x + G) ≤ C * (x + L ^ (-2 - a)) := by + calc + A * (x + G) = A * x + (A * B) * L ^ (-2 - a) := by dsimp [G]; ring + _ ≤ C * x + C * L ^ (-2 - a) := add_le_add + (mul_le_mul_of_nonneg_right hAC hx) (mul_le_mul_of_nonneg_right hABC hpow) + _ = C * (x + L ^ (-2 - a)) := by ring + refine ⟨V, h, ?_, ?_, ?_, ?_, ?_⟩ + · intro f + exact expandingPerturbation_add_mild a b k L M ha ha1 hk hL hM m q g (V f) + (q ⟨0, le_rfl, hM⟩) f.1 + (sampledCutoffProfile_forced_mild a b k L M ha ha1 hk hL hM m ham + χ hχ hχone hχzero Q hQ hstationary) (hV f) + · intro f + exact (hV_bound f).trans (hcoeff _ (norm_nonneg _)) + · intro f + refine ⟨expandingProfileTrajectory a b k L M ha ha1 hk hL hM m R hR q hq f.1, + expandingProfileTrajectory_eq a b k L M ha ha1 hk hL hM m R hR q hq f.1, hEnd f⟩ + · intro z hz + exact (hZero z hz).trans (by + change A * (B * L ^ (-2 - a)) ≤ C * L ^ (-2 - a) + rw [← mul_assoc] + exact mul_le_mul_of_nonneg_right hABC hpow) + · intro d hd hdδ f j hf hj + exact (hLip d hd hdδ f j hf hj).trans + (mul_le_mul_of_nonneg_right (hcoeff d hd.le) (norm_nonneg _)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffNormalizedEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffNormalizedEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..92aaaa76077a77d070943f180d1aaa2d2e506139 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffNormalizedEquation.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffTransport + +namespace OAI + +/-! # The cutoff defect in the fixed normalized spatial coordinate -/ + +open scoped Laplacian ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem laplacian_complex_dilation (f : E → ℂ) (hf : ContDiff ℝ ∞ f) + (r : ℝ) (x : E) : + Δ (fun y => f (r • y)) x = (r ^ (2 : ℕ) : ℝ) • Δ f (r • x) := by + simp only [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ)] + have hd : iteratedFDeriv ℝ 2 (fun y => f (r • y)) x = + r ^ (2 : ℕ) • iteratedFDeriv ℝ 2 f (r • x) := by + simpa only using! congrFun (iteratedFDeriv_comp_const_smul r + (hf.of_le (by simp : (2 : ℕ∞ω) ≤ ∞))) x + rw [hd, Finset.smul_sum] + apply Finset.sum_congr rfl + intro j _ + simp only [smul_apply] + +/-- Exact fixed-coordinate equation, with both the profile defect and cutoff residual visible. -/ +theorem cutoff_normalized_similarity_defect (a b R : ℝ) (hR : 0 < R) (m : ℕ) + (χ : E → ℝ) (hχ : ContDiff ℝ ∞ χ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (x : E) : + Complex.I * ((χ x : ℂ) * fderiv ℝ Q (R • x) ((R / 2) • x)) + + ((R ^ (2 : ℕ))⁻¹ : ℝ) • Δ (fun z => (χ z : ℂ) * Q (R • z)) x + + (Complex.I * (a : ℂ) + (b : ℂ)) * ((χ x : ℂ) * Q (R • x)) - + oddPowerNonlinearity m ((χ x : ℂ) * Q (R • x)) = + (χ x : ℂ) * stationarySimilarityDefect a b m Q (R • x) + + cutoffResidual m R χ Q (R • x) := by + let ψ : E → ℂ := fun y => (χ (R⁻¹ • y) : ℂ) * Q y + have hψ : ContDiff ℝ ∞ ψ := + (Complex.ofRealCLM.contDiff.comp (hχ.comp (contDiff_id.const_smul R⁻¹))).mul hQ + have hscale : (fun z => (χ z : ℂ) * Q (R • z)) = fun z => ψ (R • z) := by + funext z + simp only [ψ, smul_smul, inv_mul_cancel₀ hR.ne', one_smul] + have hlap : ((R ^ (2 : ℕ))⁻¹ : ℝ) • + Δ (fun z => (χ z : ℂ) * Q (R • z)) x = Δ ψ (R • x) := by + rw [hscale, laplacian_complex_dilation ψ hψ, smul_smul, + inv_mul_cancel₀ (pow_ne_zero _ hR.ne'), one_smul] + have harg : R⁻¹ • (R • x) = x := by + rw [smul_smul, inv_mul_cancel₀ hR.ne', one_smul] + have hsp := cutoffResidual_spatial_identity m R χ Q hχ hQ (R • x) + rw [harg] at hsp + change Δ ψ (R • x) - oddPowerNonlinearity m ((χ x : ℂ) * Q (R • x)) = _ at hsp + have hvec : (1 / 2 : ℝ) • (R • x) = (R / 2) • x := by + rw [smul_smul] + congr 1 + ring + rw [hlap] + unfold stationarySimilarityDefect + rw [hvec] + linear_combination hsp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPathContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPathContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..971efa786b3ba042e0c101a3c356e1a280fdcbb5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPathContinuity.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPerturbationContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepForcing + +namespace OAI + +/-! # Scale continuity of the actual sampled cutoff histories + +The smooth profile and exact cutoff residual vary continuously in the +finite-time path norm. This supplies the concrete parameter hypotheses +for the nonlinear step continuity theorem. +-/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem continuous_sampledCutoffProfilePath (a k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fun L : {L : ℝ // 1 ≤ L} => + sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2 χ hχ Q hQ) := by + apply ContinuousMap.continuous_of_continuous_uncurry + exact (continuous_cutoffProfile_sample a k ha ha1 hk χ hχ Q hQ).comp + (continuous_expandingRadiusCurve_family T id continuous_id) + +theorem continuous_sampledCutoffResidualPath (a k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fun L : {L : ℝ // 1 ≤ L} => + sampledCutoffResidualPath a k L.1 T ha ha1 hk L.2 χ hχ hχone hχzero m Q hQ) := by + apply ContinuousMap.continuous_of_continuous_uncurry + exact (continuous_cutoffResidual_sample a k ha ha1 hk χ hχ hχone hχzero m Q hQ).comp + (continuous_expandingRadiusCurve_family T id continuous_id) + +theorem continuous_sampledCutoffDefectPath (a k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fun L : {L : ℝ // 1 ≤ L} => + sampledCutoffDefectPath a k L.1 T ha ha1 hk L.2 χ hχ hχone hχzero m Q hQ) := + (continuous_sampledCutoffResidualPath a k T ha ha1 hk χ hχ hχone hχzero m Q hQ).const_smul + (-Complex.I : ℂ) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPhysicalTranslation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPhysicalTranslation.lean new file mode 100644 index 0000000000000000000000000000000000000000..32bed2ec803e82a6221a17bc5dc63415e3bb85d9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPhysicalTranslation.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffTranslationTaylor +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffDirectionalError + +namespace OAI + +/-! # Translation expansion with the actual physical profile direction -/ + +open scoped SchwartzMap LineDeriv ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffProfile_physical_translation_taylor (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L) (v : E), + let ψ := cutoffProfileSchwartz L (by linarith) χ hχ Q hQ + ‖sobolevTranslation (euclideanToTorus ((1 / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL + (cutoffProfileSchwartz L (by linarith) χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v))‖ ≤ C * (‖v‖ ^ 2 + ‖v‖ / L) := by + obtain ⟨B, hB, hb⟩ := cutoffProfile_translation_taylor a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + obtain ⟨D, hD, hd⟩ := cutoff_directional_error_bound a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + refine ⟨B + D, add_nonneg hB hD, ?_⟩ + intro L hL v ψ + let u := sobolevTranslation (euclideanToTorus ((1 / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ + let d := physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ) + let f := physicalSchwartzTorusSamplingCLM a k L ha1 hk hL + (cutoffProfileSchwartz L (by linarith) χ hχ (cartesianDerivative v Q) + (cartesianDerivative_contDiff Q hQ v)) + change ‖u - f‖ ≤ _ + calc + _ ≤ ‖u - d‖ + ‖d - f‖ := norm_sub_le_norm_sub_add_norm_sub u d f + _ ≤ B * ‖v‖ ^ 2 + D / L * ‖v‖ := add_le_add (hb L hL v) (hd L hL v) + _ ≤ _ := by + have h1 := mul_nonneg hB (show 0 ≤ ‖v‖ / L by positivity) + have h2 := mul_nonneg hD (sq_nonneg ‖v‖) + simp only [div_eq_mul_inv] at * + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPicardResidual.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPicardResidual.lean new file mode 100644 index 0000000000000000000000000000000000000000..da58c79effca9c1332f389a89eef0cb6bdc3de94 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPicardResidual.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMildResidual +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingResidualStability + +namespace OAI + +/-! # The sampled cutoff is a quantitative approximate Picard fixed point -/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffNonlinearHistory_eq_reaction (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (m : ℕ) : + sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m = + expandingReactionHistory T hT (expandingNonlinearReaction a k L T ha ha1 hk hL m) + (sampledCutoffProfilePath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ) := rfl + +/-- The approximate fixed-point error has no dependence on the slab length. -/ +theorem exists_cutoffPicard_residual_bound (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Q y = 0) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (hT : 0 ≤ T), + let q := sampledCutoffProfilePath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let q₀ := sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ 0 + dist q (expandingPicard a b k L T ha hk hL hT + (expandingNonlinearReaction a k L T ha ha1 hk hL m) q₀ q) ≤ C * L ^ (-2 - a) := by + obtain ⟨N, hN⟩ := exists_cutoffProfile_mild_residual_bound a b k ha ha1 hk + χ hχ hχone hχzero m ham + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol hstationary + obtain ⟨C, hC, hCb⟩ := hN Q hQ D hD hsymbol hstationary + refine ⟨C, hC, ?_⟩ + intro L T hL hT q q₀ + have hCL : 0 ≤ C * L ^ (-2 - a) := mul_nonneg hC (Real.rpow_nonneg (by linarith) _) + apply (ContinuousMap.dist_le hCL).2 + intro t + have hb := hCb L T hL hT t t.2 + change ‖sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ t - + expandingFreeStep a b k L t ha hk hL t.2.1 q₀ - + expandingDuhamel a b k L ha hk hL t + (sampledCutoffNonlinearHistory a k L T ha ha1 hk hL hT χ hχ Q hQ m)‖ ≤ + C * L ^ (-2 - a) * Real.exp (-a * (t : ℝ) / 2) at hb + have hq : sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ t = q t := by + unfold sampledCutoffProfileHistory + rw [projIcc_of_mem _ t.2] + rw [hq, cutoffNonlinearHistory_eq_reaction] at hb + rw [dist_eq_norm] + change ‖q t - (expandingFreeStep a b k L t ha hk hL t.2.1 q₀ + + expandingDuhamel a b k L ha hk hL t + (expandingReactionHistory T hT (expandingNonlinearReaction a k L T ha ha1 hk hL m) q))‖ ≤ _ + rw [sub_add_eq_sub_sub] + apply hb.trans + exact mul_le_of_le_one_right hCL (Real.exp_le_one_iff.mpr (by nlinarith [t.2.1])) + +/-- On a short slab, every bounded exact trajectory close to the sampled +stationary cutoff remains close with the actual `L^(-2-a)` forcing error. -/ +theorem exists_cutoffProfile_shortSlab_stability (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) (R : ℝ) (hR : 0 ≤ R) : + ∃ K : ℝ, 0 ≤ K ∧ ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Q y = 0) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (hT : 0 ≤ T), T * K < 1 → + let q := sampledCutoffProfilePath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let q₀ := sampledCutoffProfileHistory a k L T ha ha1 hk hL hT + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ 0 + ∀ (u : C(Icc (0 : ℝ) T, FourierL2)) (u₀ : FourierL2), + (∀ t, ‖u t‖ ≤ R) → (∀ t, ‖q t‖ ≤ R) → + u = expandingPicard a b k L T ha hk hL hT + (expandingNonlinearReaction a k L T ha ha1 hk hL m) u₀ u → + dist u q ≤ (dist u₀ q₀ + C * L ^ (-2 - a)) / (1 - T * K) := by + obtain ⟨K, hK, hstable⟩ := exists_expandingNonlinear_residual_stability a b k + ha ha1 hk m R hR + obtain ⟨N, hN⟩ := exists_cutoffPicard_residual_bound a b k ha ha1 hk + χ hχ hχone hχzero m ham + refine ⟨K, hK, N, ?_⟩ + intro Q hQ D hD hsymbol hstationary + obtain ⟨C, hC, hbound⟩ := hN Q hQ D hD hsymbol hstationary + refine ⟨C, hC, ?_⟩ + intro L T hL hT hTK q q₀ u u₀ huR hqR hu + exact hstable L T hL hT hTK u q huR hqR u₀ q₀ (C * L ^ (-2 - a)) hu + (hbound L T hL hT) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPointwiseBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPointwiseBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..d04c896201a5a36adcfccf6da87c7a443ef0cefc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffPointwiseBound.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzNonlinearPeriodization +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzDyadicCutoff +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.UnitTorusPhysical + +namespace OAI + +/-! # A scale- and derivative-order independent bound for a sampled cutoff -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "T" => UnitAddTorus (Fin 12) + +theorem norm_tsum_le_of_disjoint {ι : Type*} (u : ι → ℂ) (M : ℝ) (hM : 0 ≤ M) + (hu : ∀ i, ‖u i‖ ≤ M) (hd : ∀ i j, i ≠ j → u i = 0 ∨ u j = 0) : + ‖∑' i, u i‖ ≤ M := by + classical + by_cases h : ∃ i, u i ≠ 0 + · obtain ⟨i, hi⟩ := h + have hz (j : ι) (hji : j ≠ i) : u j = 0 := (hd j i hji).resolve_right hi + rw [tsum_eq_single i hz] + exact hu i + · have hz : ∀ i, u i = 0 := by simpa only [not_exists, not_not] using h + simpa only [hz, tsum_zero, norm_zero] using hM + +theorem sampledCutoff_pointwise_bound (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (M : ℝ) (hM : 0 ≤ M) + (hQB : ∀ y : E, ‖Q y‖ ≤ M) (x : T) : + ‖expandingUnitTorusFunction a k L + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (cutoffProfileSchwartz L (by linarith) χ hχ Q hQ))) x‖ ≤ + SchwartzMap.seminorm ℝ 0 0 χ * M := by + let ψ := cutoffProfileSchwartz L (by linarith : 0 < L) χ hχ Q hQ + have hψ (y : E) (hy : 2 * L < ‖y‖) : ψ y = 0 := by + rw [cutoffProfileSchwartz_apply, hχzero, zero_mul] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (by linarith))] + apply (le_inv_mul_iff₀ (by linarith : 0 < L)).mpr + linarith + have hb (y : E) : ‖ψ y‖ ≤ SchwartzMap.seminorm ℝ 0 0 χ * M := by + rw [cutoffProfileSchwartz_apply, norm_mul] + exact mul_le_mul (SchwartzMap.norm_le_seminorm ℝ χ _) (hQB y) (norm_nonneg _) (by positivity) + obtain ⟨y, rfl⟩ := unitTorusProjection_isOpenQuotientMap.surjective x + rw [expandingUnitTorusFunction_projection a k L ha ha1 hk hL] + have hy : (2 * Real.pi) • y = L⁻¹ • ((2 * Real.pi * L) • y) := by + rw [smul_smul] + congr 1 + field_simp + rw [hy, schwartzTorusSample_physical a k L ha ha1 hk hL] + exact norm_tsum_le_of_disjoint _ _ (by positivity) (fun n => hb _) + (cutoff_periodization_disjoint L (by linarith) ψ hψ _) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileCompactApproximation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileCompactApproximation.lean new file mode 100644 index 0000000000000000000000000000000000000000..e768f0603a8ea0f07b195d2774edc98ebd97ef69 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileCompactApproximation.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileTailBound +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingCoefficientCompactness + +namespace OAI + +/-! # Compact approximation of the actual expanding cutoff profile -/ + +open Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffProfile_compactApproximation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ N : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) + (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (hLinf : Tendsto L atTop atTop) : + ExpandingCompactApproximation a k ha1 hk L hL (fun n => + schwartzTorusSample a k (L n) ha1 hk (hL n) (radianFourierKernel + (cutoffProfileSchwartz (L n) (by linarith [hL n]) χ hχ Q hQ))) := by + obtain ⟨N, C, hC, hc⟩ := exists_cutoffProfile_tail_bound a k ha ha1 hk χ hχ hχzero hχone + obtain ⟨D, hD, hd⟩ := hsymbol N + have hr0 : 0 ≤ (2 ^ (-a) : ℝ) := by positivity + have hr1 : (2 ^ (-a) : ℝ) < 1 := + Real.rpow_lt_one_of_one_lt_of_neg (by norm_num) (by linarith) + have ht : Tendsto (fun J : ℕ => C * D * (2 ^ (-a) : ℝ) ^ J) atTop (𝓝 0) := by + simpa only [mul_zero] using (tendsto_pow_atTop_nhds_zero_of_lt_one hr0 hr1).const_mul (C * D) + intro δ hδ + obtain ⟨J, hJ⟩ := (ht.eventually (gt_mem_nhds hδ)).exists + refine ⟨(2 : ℝ) ^ J, + cutoffProfileSchwartz ((2 : ℝ) ^ J) (by positivity) + homogeneousCoreCutoff homogeneousCoreCutoff_hasCompactSupport Q hQ, ?_, ?_⟩ + · intro y hy + exact cutoffProfile_core_zero _ _ Q hQ y hy.le + · filter_upwards [hLinf.eventually (eventually_ge_atTop (2 * (2 : ℝ) ^ J))] with n hn + exact (hc Q hQ D hD hd J (L n) (hL n) hn).trans_lt hJ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileCoordinateLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileCoordinateLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..2268028bcc07f2336e1ed55f35c7a548f74cdb45 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileCoordinateLimit.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfilePhysicalLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalWeakLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLocalizationPhysical +import OAI.MathematicalPhysics.DefocusingNLS.Linear.WeakLinearCoordinates + +namespace OAI + +/-! # Finite coordinates of the actual sampled profile converge to its whole-space coordinates -/ + +open Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem cutoffProfile_finite_coordinate_limit (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (χ : 𝓢(E, ℂ)) + (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (q : HomogeneousY a k) + (hq : ∀ y, homogeneousPhysicalCLM a k ha ha1 hk q y = Q y) + (B : ℝ) (_hB : 0 ≤ B) + (hb : ∀ (L : ℝ) (hL : 1 ≤ L), + ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL + (cutoffProfileSchwartz L (by linarith) χ hχ Q hQ)‖ ≤ B) + (L : ℕ → Radius) (hLinf : Tendsto (fun n => (L n).1) atTop atTop) + (π : HomogeneousY a k →L[ℝ] F) : + Tendsto (fun n => π (homogeneousLocalizationCLM a k (L n).1 ha ha1 hk (L n).2 χ + (physicalSchwartzTorusSamplingCLM a k (L n).1 ha1 hk (L n).2 + (cutoffProfileSchwartz (L n).1 (by linarith [(L n).2]) χ hχ Q hQ)))) + atTop (𝓝 (π q)) := by + obtain ⟨D, hD, hd⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + apply tendsto_finite_coordinates_of_weak π _ q + apply homogeneousY_weak_of_physical_limit a k (D * B) ha ha1 hk + · intro n + exact (hd (L n).1 (L n).2 _).trans (mul_le_mul_of_nonneg_left (hb (L n).1 (L n).2) hD) + · intro y + rw [hq] + apply tendsto_const_nhds.congr' + filter_upwards [hLinf.eventually (eventually_ge_atTop (2 * ‖y‖))] with n hn + rw [homogeneousLocalization_physical, expandingPhysicalLocalization] + have hc : χ ((L n).1⁻¹ • y) = 1 := by + apply hχone + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (by linarith [(L n).2]))] + exact (inv_mul_le_iff₀ (by linarith [(L n).2] : 0 < (L n).1)).mpr (by linarith) + rw [hc, one_mul] + simpa only [expandingPhysicalContinuous_apply, physicalSchwartzTorusSamplingCLM_apply] using + (sampledCutoffProfile_physical_eq a k (L n).1 ha ha1 hk (L n).2 χ hχ + hχzero hχone Q hQ y hn).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileEndpoint.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileEndpoint.lean new file mode 100644 index 0000000000000000000000000000000000000000..0cb1dd418e680c02082740683b35eb41bb773269 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileEndpoint.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingProfileOperator + +namespace OAI + +/-! # Endpoint operators for the actual sampled cutoff profile -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +noncomputable def cutoffProfileEndpoint (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) (L : Radius) : FourierL2 →L[ℝ] FourierL2 := + expandingProfileEndpoint a b k L.1 T ha ha1 hk L.2 T.2 m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) + +@[simp] theorem cutoffProfileEndpoint_apply (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) (L : Radius) (f : FourierL2) : + cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T L f = + expandingProfileTrajectory a b k L.1 T ha ha1 hk L.2 T.2 m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) f ⟨T, T.2, le_rfl⟩ := rfl + +theorem cutoffProfileEndpoint_uniform_bound (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) : ∃ C : ℝ, 0 ≤ C ∧ ∀ L : Radius, + ‖cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T L‖ ≤ C := by + obtain ⟨K, hK, hb⟩ := exists_expandingProfileTrajectory_bound a b k ha ha1 hk m Q hQ + refine ⟨(K + 1) * Real.exp ((K + 1) * T), by positivity, ?_⟩ + intro L + apply ContinuousLinearMap.opNorm_le_bound _ (by positivity) + intro f + rw [cutoffProfileEndpoint_apply] + exact ((expandingProfileTrajectory a b k L.1 T ha ha1 hk L.2 T.2 m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) f).norm_coe_le_norm ⟨T, T.2, le_rfl⟩).trans + (hb L.1 T L.2 T.2 _ _ f) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileModeDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileModeDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..8b1e87ee38401e79a7c521639daa30ec71e43716 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileModeDerivative.lean @@ -0,0 +1,92 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.CompactFamilyIntegral +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMovingPath + +namespace OAI + +/-! # Time derivative of the actual cutoff-profile Fourier coefficients + +The physical volume factor disappears after rescaling to the fixed cutoff. +Differentiating then takes place on a fixed compact support. +-/ + +open MeasureTheory +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffProfile_coefficient_fixed_scale (R : ℝ) (hR : 0 < R) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (n : frequencyLattice) : + schwartzLatticeCoefficient R (radianFourierKernel (cutoffProfileSchwartz R hR χ hχ Q hQ)) n = + schwartzLatticeCoefficient 1 (radianFourierKernel (compactDilationFamily χ hχ Q hQ R)) n := by + have he : cutoffProfileSchwartz R hR χ hχ Q hQ = + schwartzPhysicalDilation 0 R hR (compactDilationFamily χ hχ Q hQ R) := by + ext x + simp only [cutoffProfileSchwartz_apply, schwartzPhysicalDilation_apply, + compactDilationFamily_apply, mul_zero, Real.rpow_zero, Complex.ofReal_one, + one_mul, smul_smul, mul_inv_cancel₀ hR.ne', one_smul] + rw [he, radianFourierKernel_schwartzPhysicalDilation, + schwartzLatticeCoefficient_homogeneousDilation 0 R R hR hR] + simp only [mul_zero, Real.rpow_zero, Complex.ofReal_one, + one_mul, div_self hR.ne'] + +private theorem hasDerivAt_radius (L s : ℝ) : + HasDerivAt (expandingRadius L) (expandingRadius L s / 2) s := by + change HasDerivAt (fun t : ℝ => L * Real.exp (t / 2)) _ s + apply (((hasDerivAt_id s).div_const 2).exp.const_mul L).congr_deriv + dsimp only [expandingRadius, id_eq] + ring + +private theorem positive_radius (L t : ℝ) (hL : 0 < L) : 0 < expandingRadius L t := + mul_pos hL (Real.exp_pos _) + +/-- An exact scalar Fourier-mode derivative at every real time. -/ +theorem hasDerivAt_cutoffProfile_coefficient (L s : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (n : frequencyLattice) : + HasDerivAt + (fun t => schwartzLatticeCoefficient (expandingRadius L t) + (radianFourierKernel (cutoffProfileSchwartz (expandingRadius L t) + (positive_radius L _ hL) χ hχ Q hQ)) n) + ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) * + radianFourierIntegral (fun x => χ x * + fderiv ℝ Q ((expandingRadius L s) • x) ((expandingRadius L s / 2) • x)) + (n : E)) s := by + let F : ℝ → E → ℂ := fun t x => χ x * Q ((expandingRadius L t) • x) + let Fd : ℝ → E → ℂ := fun t x => χ x * + fderiv ℝ Q ((expandingRadius L t) • x) ((expandingRadius L t / 2) • x) + have hRc : Continuous (expandingRadius L) := by unfold expandingRadius; fun_prop + have harg : Continuous (fun p : ℝ × E => (expandingRadius L p.1) • p.2) := + (hRc.comp continuous_fst).smul continuous_snd + have hFc : Continuous (Function.uncurry F) := + (χ.continuous.comp continuous_snd).mul (hQ.continuous.comp harg) + have hFdc : Continuous (Function.uncurry Fd) := + (χ.continuous.comp continuous_snd).mul + (((contDiff_infty_iff_fderiv.mp hQ).2.continuous.comp harg).clm_apply + (((hRc.comp continuous_fst).div_const 2).smul continuous_snd)) + have hd (t : ℝ) (x : E) : HasDerivAt (fun u => F u x) (Fd t x) t := + (((hQ.differentiable (by simp) _).hasFDerivAt.comp_hasDerivAt t + ((hasDerivAt_radius L t).smul_const x)).const_mul (χ x)) + have hz (_t : ℝ) (x : E) (hx : x ∉ tsupport (χ : E → ℂ)) : χ x = 0 := + image_eq_zero_of_notMem_tsupport hx + have h := (hasDerivAt_compactFamily_fourier F Fd hFc hFdc + (tsupport (χ : E → ℂ)) hχ + (fun t x hx => by dsimp [F]; rw [hz t x hx, zero_mul]) + (fun t x hx => by dsimp [Fd]; rw [hz t x hx, zero_mul]) hd s (n : E)).const_mul + ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) + have he (t : ℝ) : + schwartzLatticeCoefficient (expandingRadius L t) + (radianFourierKernel (cutoffProfileSchwartz (expandingRadius L t) + (positive_radius L _ hL) χ hχ Q hQ)) n = + ((((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) : ℂ) * radianFourierIntegral (F t) (n : E) := by + rw [cutoffProfile_coefficient_fixed_scale] + simp only [schwartzLatticeCoefficient, mul_one, inv_one, one_smul, + radianFourierKernel_apply, F] + rfl + simpa only [he, Fd] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfilePhysicalLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfilePhysicalLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..12db0cbc58c5b9574eb277e5b67d5b8958d2131f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfilePhysicalLimit.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMovingPath +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPhysicalSampling +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingSmoothFilter + +namespace OAI + +/-! # The sampled cutoff coefficient agrees locally with the whole-space profile -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem sampledCutoffProfile_physical_eq (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (y : E) (hy : 2 * ‖y‖ ≤ L) : + expandingPhysicalContinuous a k L ha ha1 hk hL + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (cutoffProfileSchwartz L (by linarith) χ hχ Q hQ))) y = Q y := by + have hpos : 0 < L := by linarith + rw [expandingPhysicalContinuous_apply, + schwartzTorusSample_eq_on_ball a k L ha ha1 hk hL] + · rw [cutoffProfileSchwartz_apply, hχone, one_mul] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hpos)] + apply (inv_mul_le_iff₀ hpos).mpr + linarith + · intro x hx + rw [cutoffProfileSchwartz_apply, hχzero, zero_mul] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hpos)] + apply (le_inv_mul_iff₀ hpos).mpr + linarith + · linarith [norm_nonneg y] + +theorem tendsto_sampledCutoffProfile_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (hLinf : Tendsto L atTop atTop) (y : E) : + Tendsto (fun n => expandingPhysicalContinuous a k (L n) ha ha1 hk (hL n) + (schwartzTorusSample a k (L n) ha1 hk (hL n) (radianFourierKernel + (cutoffProfileSchwartz (L n) (by linarith [hL n]) χ hχ Q hQ))) y) + atTop (𝓝 (Q y)) := by + apply tendsto_const_nhds.congr' + filter_upwards [hLinf.eventually (eventually_ge_atTop (2 * ‖y‖))] with n hn + exact (sampledCutoffProfile_physical_eq a k (L n) ha ha1 hk (hL n) + χ hχ hχzero hχone Q hQ y hn).symm + +theorem tendsto_sampledCutoffProfilePath_physical (a k T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (hLinf : Tendsto L atTop atTop) + (s : Icc (0 : ℝ) T) (y : E) : + Tendsto (fun n => expandingPhysicalContinuous a k (expandingRadius (L n) s) + ha ha1 hk ((hL n).trans (expandingRadius_ge (L n) s (hL n) s.2.1)) + (sampledCutoffProfilePath a k (L n) T ha ha1 hk (hL n) χ hχ Q hQ s) y) + atTop (𝓝 (Q y)) := by + exact tendsto_sampledCutoffProfile_physical a k ha ha1 hk χ hχ hχzero hχone Q hQ + (fun n => expandingRadius (L n) s) + (fun n => (hL n).trans (expandingRadius_ge (L n) s (hL n) s.2.1)) + (hLinf.atTop_mul_const (Real.exp_pos _)) y + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileTailAssembly.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileTailAssembly.lean new file mode 100644 index 0000000000000000000000000000000000000000..33ad2f3d998b7e5ae0984d01f0ca5081b6fc33ae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileTailAssembly.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffAnnulusUniform + +namespace OAI + +/-! # Exact tail beyond a fixed compact core of the cutoff profile -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffProfile_core_zero (R : ℝ) (hR : 0 < R) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (y : E) (hy : R ≤ ‖y‖) : + cutoffProfileSchwartz R hR homogeneousCoreCutoff homogeneousCoreCutoff_hasCompactSupport Q hQ y = 0 := by + rw [cutoffProfileSchwartz_apply, homogeneousCoreCutoff_zero, zero_mul] + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hR)] + exact (one_le_inv_mul₀ hR).mpr hy + +theorem cutoffProfileSchwartz_tail_assembly (a L : ℝ) (hL : 0 < L) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (J M : ℕ) + (hJM : J ≤ M) (hJ : 2 * (2 : ℝ) ^ J ≤ L) (hM : 2 * L ≤ (2 : ℝ) ^ M) : + cutoffProfileSchwartz L hL χ hχ Q hQ - + cutoffProfileSchwartz ((2 : ℝ) ^ J) (by positivity) + homogeneousCoreCutoff homogeneousCoreCutoff_hasCompactSupport Q hQ = + ∑ j ∈ Finset.Ico J M, schwartzPhysicalDilation a ((2 : ℝ) ^ j) (by positivity) + (cutoffProfileAnnulus a ((2 : ℝ) ^ j) L χ homogeneousAnnulusCutoff + homogeneousAnnulusCutoff_hasCompactSupport Q hQ) := by + ext y + simp only [sub_apply, cutoffProfileSchwartz_apply, sum_apply] + simp_rw [cutoffProfileAnnulus_physical a ((2 : ℝ) ^ _) L (by positivity) hL] + rw [← Finset.sum_mul, ← Finset.sum_mul, Finset.sum_Ico_eq_sub _ hJM, + homogeneousAnnulusCutoff_partial_sum, homogeneousAnnulusCutoff_partial_sum] + have hstart : homogeneousCoreCutoff (((2 : ℝ) ^ J)⁻¹ • y) * χ (L⁻¹ • y) = + homogeneousCoreCutoff (((2 : ℝ) ^ J)⁻¹ • y) := by + by_cases hy : (2 : ℝ) ^ J ≤ ‖y‖ + · have hz : homogeneousCoreCutoff (((2 : ℝ) ^ J)⁻¹ • y) = 0 := by + apply homogeneousCoreCutoff_zero + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (by positivity)] + exact (one_le_inv_mul₀ (by positivity : 0 < (2 : ℝ) ^ J)).mpr hy + rw [hz, zero_mul] + · have hz : χ (L⁻¹ • y) = 1 := by + apply hχone + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hL)] + apply (inv_mul_le_iff₀ hL).mpr + linarith [lt_of_not_ge hy] + rw [hz, mul_one] + have hend : homogeneousCoreCutoff (((2 : ℝ) ^ M)⁻¹ • y) * χ (L⁻¹ • y) = χ (L⁻¹ • y) := by + by_cases hy : L ≤ ‖y‖ + · have hz : χ (L⁻¹ • y) = 0 := by + apply hχzero + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hL)] + exact (one_le_inv_mul₀ hL).mpr hy + rw [hz, mul_zero] + · have hz : homogeneousCoreCutoff (((2 : ℝ) ^ M)⁻¹ • y) = 1 := by + apply homogeneousCoreCutoff_one + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (by positivity)] + apply (inv_mul_le_iff₀ (by positivity : 0 < (2 : ℝ) ^ M)).mpr + linarith [lt_of_not_ge hy] + rw [hz, one_mul] + calc + χ (L⁻¹ • y) * Q y - homogeneousCoreCutoff (((2 : ℝ) ^ J)⁻¹ • y) * Q y = + (homogeneousCoreCutoff (((2 : ℝ) ^ M)⁻¹ • y) * χ (L⁻¹ • y) - + homogeneousCoreCutoff (((2 : ℝ) ^ J)⁻¹ • y) * χ (L⁻¹ • y)) * Q y := by + rw [hstart, hend] + ring + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileTailBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileTailBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..994d28037c02cbd743d8dadf57bb32bb72e44938 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffProfileTailBound.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileTailAssembly +import Mathlib.Algebra.Order.Field.GeomSum + +namespace OAI + +/-! # Geometric decay of the actual sampled profile tail -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_cutoffProfile_tail_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) : + ∃ (N : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∀ (J : ℕ) (L : ℝ) (hL : 1 ≤ L), 2 * (2 : ℝ) ^ J ≤ L → + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (cutoffProfileSchwartz L (by linarith) χ hχ Q hQ)) - + schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (cutoffProfileSchwartz ((2 : ℝ) ^ J) (by positivity) + homogeneousCoreCutoff homogeneousCoreCutoff_hasCompactSupport Q hQ))‖ ≤ + C * D * (2 ^ (-a) : ℝ) ^ J := by + obtain ⟨N, C, hC, hc⟩ := exists_cutoffAnnulus_uniform_bound a k ha ha1 hk χ hχzero + let r : ℝ := 2 ^ (-a) + have hr0 : 0 ≤ r := by dsimp [r]; positivity + have hr1 : r < 1 := Real.rpow_lt_one_of_one_lt_of_neg (by norm_num) (by linarith) + have hden : 0 < 1 - r := sub_pos.mpr hr1 + refine ⟨N, C / (1 - r), div_nonneg hC hden.le, ?_⟩ + intro Q hQ D hD hsymbol J L hL hJL + obtain ⟨M₀, hM₀⟩ := pow_unbounded_of_one_lt (2 * L) (by norm_num : (1 : ℝ) < 2) + let M := max J M₀ + have hJM : J ≤ M := le_max_left _ _ + have hM : 2 * L ≤ (2 : ℝ) ^ M := hM₀.le.trans + (pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) (le_max_right J M₀)) + let P := physicalSchwartzTorusSamplingLinear a k L ha1 hk hL + let ψ := fun j => schwartzPhysicalDilation a ((2 : ℝ) ^ j) (by positivity) + (cutoffProfileAnnulus a ((2 : ℝ) ^ j) L χ homogeneousAnnulusCutoff + homogeneousAnnulusCutoff_hasCompactSupport Q hQ) + have hb (j : ℕ) : ‖P (ψ j)‖ ≤ (C * D) * r ^ j := by + have h := hc Q hQ D hD hsymbol L ((2 : ℝ) ^ j) hL (one_le_pow₀ (by norm_num)) + have he : ((2 : ℝ) ^ j) ^ (-a) = r ^ j := + (Real.rpow_pow_comm (by norm_num : (0 : ℝ) ≤ 2) _ _).symm + simpa only [P, ψ, physicalSchwartzTorusSamplingLinear_apply, he] using h + change ‖P _ - P _‖ ≤ _ + rw [← map_sub, cutoffProfileSchwartz_tail_assembly a L (by linarith) χ hχ hχzero hχone Q hQ J M hJM hJL hM, + map_sum] + calc + _ ≤ ∑ j ∈ Finset.Ico J M, ‖P (ψ j)‖ := norm_sum_le _ _ + _ ≤ ∑ j ∈ Finset.Ico J M, (C * D) * r ^ j := Finset.sum_le_sum (fun j _ => hb j) + _ = (C * D) * ∑ j ∈ Finset.Ico J M, r ^ j := (Finset.mul_sum _ _ _).symm + _ ≤ (C * D) * (r ^ J / (1 - r)) := + mul_le_mul_of_nonneg_left (geom_sum_Ico_le_of_lt_one hr0 hr1) (mul_nonneg hC hD) + _ = C / (1 - r) * D * (2 ^ (-a) : ℝ) ^ J := by dsimp [r]; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffRemainderContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffRemainderContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..3b8def5f987f1f75188bfb3599e37b0cefcf1882 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffRemainderContinuity.lean @@ -0,0 +1,27 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepRemainder + +namespace OAI + +/-! # Continuity of the remainder extension on the smaller contraction ball -/ + +namespace DefocusingNLS + +theorem continuous_cutoffRemainderExtension_on_ball + {P V : Type*} [TopologicalSpace P] [NormedAddCommGroup V] + (δ r : ℝ) (hrδ : r ≤ δ) + (h : P → ℕ → {v : V // ‖v‖ ≤ δ} → V) + (hc : ∀ n, Continuous (fun q : P × {v : V // ‖v‖ ≤ δ} => h q.1 n q.2)) (n : ℕ) : + Continuous (fun q : P × {v : V // ‖v‖ ≤ r} => + cutoffRemainderExtension δ (h q.1) n q.2.1) := by + have he : (fun q : P × {v : V // ‖v‖ ≤ r} => + cutoffRemainderExtension δ (h q.1) n q.2.1) = + (fun q => h q.1 n ⟨q.2.1, q.2.2.trans hrδ⟩) := by + funext q + simp only [cutoffRemainderExtension, dite_eq_left (q.2.2.trans hrδ)] + rw [he] + exact (hc n).comp (continuous_fst.prodMk + ((continuous_subtype_val.comp continuous_snd).subtype_mk _)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualCoefficients.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualCoefficients.lean new file mode 100644 index 0000000000000000000000000000000000000000..b1e11963da390a78e20a764fa9842e36c350a58b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualCoefficients.lean @@ -0,0 +1,111 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffFiniteJets +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffResidualScaling +import Mathlib.Analysis.Distribution.SchwartzSpace.Deriv + +namespace OAI + +/-! # Compact annular coefficients of the cutoff residual -/ + +open scoped SchwartzMap Laplacian ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def cutoffGradientCoefficient (χ : 𝓢(E, ℝ)) (j : Fin 12) : 𝓢(E, ℂ) := + (SchwartzMap.evalCLM ℝ E ℝ ((EuclideanSpace.basisFun (Fin 12) ℝ) j) + (SchwartzMap.fderivCLM ℝ E ℝ χ)).postcompCLM Complex.ofRealCLM + +@[simp] theorem cutoffGradientCoefficient_apply (χ : 𝓢(E, ℝ)) (j : Fin 12) (x : E) : + cutoffGradientCoefficient χ j x = + (fderiv ℝ χ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) := rfl + +noncomputable def cutoffLaplacianCoefficient (χ : 𝓢(E, ℝ)) : 𝓢(E, ℂ) := + (Δ χ).postcompCLM Complex.ofRealCLM + +@[simp] theorem cutoffLaplacianCoefficient_apply (χ : 𝓢(E, ℝ)) (x : E) : + cutoffLaplacianCoefficient χ x = (Δ (χ : E → ℝ) x : ℂ) := by + simp only [cutoffLaplacianCoefficient, SchwartzMap.postcompCLM_apply, + SchwartzMap.laplacian_apply, Complex.ofRealCLM_apply] + +noncomputable def cutoffPowerCoefficient (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) (m : ℕ) : 𝓢(E, ℂ) := + ((hχ.comp_left (g := fun t : ℝ => t - t ^ (2 * m + 1)) (by simp)).toSchwartzMap + (χ.smooth'.sub (χ.smooth'.pow (2 * m + 1)))).postcompCLM Complex.ofRealCLM + +@[simp] theorem cutoffPowerCoefficient_apply (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) (m : ℕ) (x : E) : + cutoffPowerCoefficient χ hχ m x = ((χ x - χ x ^ (2 * m + 1) : ℝ) : ℂ) := rfl + +private theorem tsupport_annulus_of_zero (f : E → ℂ) + (hz : ∀ x, ‖x‖ < 1 / 2 ∨ 2 < ‖x‖ → f x = 0) : + ∀ x ∈ tsupport f, (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2 := by + have hs : tsupport f ⊆ {x : E | (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2} := by + apply closure_minimal + · intro x hx + constructor + · by_contra hn + exact hx (hz x (Or.inl (lt_of_not_ge hn))) + · by_contra hn + exact hx (hz x (Or.inr (lt_of_not_ge hn))) + · exact (isClosed_le continuous_const continuous_norm).inter + (isClosed_le continuous_norm continuous_const) + exact fun x hx => hs hx + +private theorem cutoff_eventually_constant (χ : 𝓢(E, ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) (x : E) + (hx : ‖x‖ < 1 / 2 ∨ 2 < ‖x‖) : + ∃ c : ℝ, (c = 0 ∨ c = 1) ∧ (χ : E → ℝ) =ᶠ[nhds x] fun _ => c := by + rcases hx with hx | hx + · refine ⟨1, Or.inr rfl, ?_⟩ + filter_upwards [(isOpen_lt continuous_norm continuous_const).mem_nhds hx] with y hy + exact hχone y hy + · refine ⟨0, Or.inl rfl, ?_⟩ + filter_upwards [(isOpen_lt continuous_const continuous_norm).mem_nhds hx] with y hy + exact hχzero y hy + +theorem cutoffGradientCoefficient_annulus (χ : 𝓢(E, ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) (j : Fin 12) : + ∀ x ∈ tsupport (cutoffGradientCoefficient χ j : E → ℂ), + (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2 := by + apply tsupport_annulus_of_zero + intro x hx + obtain ⟨c, _, hc⟩ := cutoff_eventually_constant χ hχone hχzero x hx + rw [cutoffGradientCoefficient_apply, hc.fderiv_eq] + simp + +theorem cutoffLaplacianCoefficient_annulus (χ : 𝓢(E, ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) : + ∀ x ∈ tsupport (cutoffLaplacianCoefficient χ : E → ℂ), + (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2 := by + apply tsupport_annulus_of_zero + intro x hx + obtain ⟨c, _, hc⟩ := cutoff_eventually_constant χ hχone hχzero x hx + rw [cutoffLaplacianCoefficient_apply, (InnerProductSpace.laplacian_congr_nhds hc).eq_of_nhds] + simp + +theorem cutoffPowerCoefficient_annulus (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) (m : ℕ) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) : + ∀ x ∈ tsupport (cutoffPowerCoefficient χ hχ m : E → ℂ), + (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2 := by + apply tsupport_annulus_of_zero + intro x hx + obtain ⟨c, hc, heq⟩ := cutoff_eventually_constant χ hχone hχzero x hx + rw [cutoffPowerCoefficient_apply, heq.eq_of_nhds] + rcases hc with rfl | rfl <;> simp + +theorem hasCompactSupport_of_cutoff_annulus (f : E → ℂ) + (hf : ∀ x ∈ tsupport f, (1 / 2 : ℝ) ≤ ‖x‖ ∧ ‖x‖ ≤ 2) : + HasCompactSupport f := by + apply IsCompact.of_isClosed_subset (isCompact_closedBall (0 : E) 2) (isClosed_tsupport f) + intro x hx + simpa only [Metric.mem_closedBall, dist_zero_right] using (hf x hx).2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualDuhamel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualDuhamel.lean new file mode 100644 index 0000000000000000000000000000000000000000..d2e462868b47a74b33081d74bc1a90d76db358ff --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualDuhamel.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMovingPath +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingDecayingDuhamel + +namespace OAI + +/-! # The actual cutoff residual as a moving-scale forcing history -/ + +open Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def sampledCutoffResidualHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : ℝ → FourierL2 := + fun t => sampledCutoffResidualPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ + (projIcc 0 T hT t) + +theorem continuous_sampledCutoffResidualHistory (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (sampledCutoffResidualHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ) := + (sampledCutoffResidualPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ).continuous.comp + continuous_projIcc + +/-- The free response to the actual residual retains the small scale factor, +with a constant independent of the starting radius and the length of the slab. -/ +theorem exists_cutoffResidual_Duhamel_bound (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) (m : ℕ) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (hT : 0 ≤ T) (t : ℝ), + t ∈ Icc 0 T → + ‖expandingDuhamel a b k L ha hk hL t + (sampledCutoffResidualHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ)‖ ≤ + C * L ^ (-2 - a) * Real.exp (-a * t / 2) := by + obtain ⟨N, hb⟩ := exists_sampledCutoffResidualPath_bound a k ha ha1 hk χ hχ hχone hχzero m + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol + obtain ⟨C, hC, hbound⟩ := hb Q hQ D hD hsymbol + refine ⟨C, hC, ?_⟩ + intro L T hL hT t ht + apply expandingDuhamel_fast_source_norm_le a b k L t (C * L ^ (-2 - a)) ha hk hL ht.1 + (mul_nonneg hC (Real.rpow_nonneg (le_trans zero_le_one hL) _)) + intro τ hτ + have hτT : τ ∈ Icc 0 T := ⟨hτ.1, hτ.2.trans ht.2⟩ + unfold sampledCutoffResidualHistory + rw [projIcc_of_mem _ hτT] + exact hbound L T hL ⟨τ, hτT⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualJets.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualJets.lean new file mode 100644 index 0000000000000000000000000000000000000000..31ac20ac31e747acfb0dd40bec58942c298f914f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualJets.lean @@ -0,0 +1,192 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffResidualCoefficients + +namespace OAI + +/-! # Uniform finite jets of the normalized cutoff residual -/ + +open scoped SchwartzMap Laplacian ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem normalizedPhysicalProfile_fderiv (a L : ℝ) (hL : 0 < L) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (x v : E) : + fderiv ℝ (normalizedPhysicalProfile a L Q) x v = + (L ^ (2 * a + 1) : ℝ) * fderiv ℝ Q (L • x) v := by + have hin : DifferentiableAt ℝ (fun y : E => Q (L • y)) x := + (hQ.comp (contDiff_id.const_smul L)).differentiable (by simp) x + have hp : L ^ (2 * a) * L = L ^ (2 * a + 1) := by + calc + _ = L ^ (2 * a) * L ^ (1 : ℝ) := by rw [Real.rpow_one] + _ = _ := (Real.rpow_add hL _ _).symm + unfold normalizedPhysicalProfile + rw [fderiv_fun_const_smul hin, fderiv_comp_smul] + simp only [smul_apply, Complex.real_smul] + rw [← mul_assoc, ← Complex.ofReal_mul, hp] + +private theorem weightedJet_add (ψ φ : 𝓢(E, ℂ)) (N n : ℕ) (x : E) : + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (ψ + φ) x‖ ≤ + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖ + + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n φ x‖ := by + have h : iteratedFDeriv ℝ n (ψ + φ) x = + iteratedFDeriv ℝ n ψ x + iteratedFDeriv ℝ n φ x := by + exact iteratedFDeriv_add_apply (ψ.smooth'.contDiffAt.of_le (by simp)) + (φ.smooth'.contDiffAt.of_le (by simp)) + rw [h, ← mul_add] + exact mul_le_mul_of_nonneg_left (norm_add_le _ _) (by positivity) + +private theorem weightedJet_sum {ι : Type*} (s : Finset ι) (ψ : ι → 𝓢(E, ℂ)) + (N n : ℕ) (x : E) : + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (∑ j ∈ s, ψ j : 𝓢(E, ℂ)) x‖ ≤ + ∑ j ∈ s, (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (ψ j) x‖ := by + classical + induction s using Finset.induction_on with + | empty => simp + | @insert i s hi ih => + rw [Finset.sum_insert hi, Finset.sum_insert hi] + exact (weightedJet_add (ψ i) (∑ j ∈ s, ψ j) N n x).trans (add_le_add le_rfl ih) + +private theorem weightedJet_two_smul (ψ : 𝓢(E, ℂ)) (N n : ℕ) (x : E) : + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ((2 : ℂ) • ψ) x‖ = + 2 * ((1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ψ x‖) := by + have h : iteratedFDeriv ℝ n ((2 : ℂ) • ψ) x = + (2 : ℂ) • iteratedFDeriv ℝ n ψ x := + iteratedFDeriv_const_smul_apply (ψ.smooth'.contDiffAt.of_le (by simp)) + rw [h, norm_smul] + norm_num + ring + +private theorem weightedJet_assembly (P : Fin 12 → 𝓢(E, ℂ)) (R S : 𝓢(E, ℂ)) + (N n : ℕ) (x : E) (G : Fin 12 → ℝ) (H K : ℝ) + (hP : ∀ j, (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (P j) x‖ ≤ G j) + (hR : (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n R x‖ ≤ H) + (hS : (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n S x‖ ≤ K) : + (1 + ‖x‖) ^ N * + ‖iteratedFDeriv ℝ n (((2 : ℂ) • ∑ j, P j) + R + S : 𝓢(E, ℂ)) x‖ ≤ + 2 * (∑ j, G j) + H + K := by + calc + _ ≤ ((1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n ((2 : ℂ) • ∑ j, P j) x‖ + + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n R x‖) + + (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n S x‖ := + (weightedJet_add _ S N n x).trans (add_le_add (weightedJet_add _ R N n x) le_rfl) + _ ≤ 2 * (∑ j, G j) + H + K := by + rw [weightedJet_two_smul] + exact add_le_add (add_le_add (mul_le_mul_of_nonneg_left + ((weightedJet_sum Finset.univ P N n x).trans (Finset.sum_le_sum fun j _ => hP j)) + (by norm_num)) hR) hS + +section Residual + +variable (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + +include hχone hχzero in +private theorem gradient_compact (j : Fin 12) : + HasCompactSupport (cutoffGradientCoefficient χ j : E → ℂ) := + hasCompactSupport_of_cutoff_annulus _ (cutoffGradientCoefficient_annulus χ hχone hχzero j) + +include hχone hχzero in +private theorem laplacian_compact : + HasCompactSupport (cutoffLaplacianCoefficient χ : E → ℂ) := + hasCompactSupport_of_cutoff_annulus _ (cutoffLaplacianCoefficient_annulus χ hχone hχzero) + +include hχone hχzero in +private theorem power_compact (m : ℕ) : + HasCompactSupport (cutoffPowerCoefficient χ hχ m : E → ℂ) := + hasCompactSupport_of_cutoff_annulus _ (cutoffPowerCoefficient_annulus χ hχ m hχone hχzero) + +noncomputable def normalizedCutoffResidualSchwartz (a L : ℝ) (m : ℕ) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : 𝓢(E, ℂ) := + let f := normalizedPhysicalProfile a L Q + let hf := normalizedPhysicalProfile_contDiff a L Q hQ + let hdf := (contDiff_infty_iff_fderiv.mp hf).2 + (2 : ℂ) • (∑ j : Fin 12, annularCoefficientProduct + (cutoffGradientCoefficient χ j) (gradient_compact χ hχone hχzero j) + (fun x => fderiv ℝ f x ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) + (hdf.clm_apply contDiff_const)) + + annularCoefficientProduct (cutoffLaplacianCoefficient χ) (laplacian_compact χ hχone hχzero) + f hf + + annularCoefficientProduct (cutoffPowerCoefficient χ hχ m) (power_compact χ hχ hχone hχzero m) + (fun x => oddPowerNonlinearity m (f x)) + (((contDiff_oddPowerNonlinearity m).of_le (show (∞ : ℕ∞ω) ≤ ⊤ by simp)).comp hf) + +theorem normalizedCutoffResidualSchwartz_apply (a L : ℝ) (m : ℕ) (hL : 0 < L) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (x : E) : + normalizedCutoffResidualSchwartz χ hχ hχone hχzero a L m Q hQ x = + normalizedCutoffResidual a L m χ Q x := by + simp only [normalizedCutoffResidualSchwartz, add_apply, smul_apply, + sum_apply, annularCoefficientProduct_apply, cutoffGradientCoefficient_apply, + cutoffLaplacianCoefficient_apply, cutoffPowerCoefficient_apply, + normalizedPhysicalProfile_fderiv a L hL Q hQ, normalizedPhysicalProfile, + Complex.real_smul, normalizedCutoffResidual, smul_eq_mul] + +attribute [local irreducible] cutoffGradientCoefficient cutoffLaplacianCoefficient + cutoffPowerCoefficient annularCoefficientProduct + +theorem exists_normalizedCutoffResidual_uniform_jets (a : ℝ) (ha : 0 < a) (m N : ℕ) + (D : ℝ) (hD : 0 ≤ D) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n ≤ N + 1, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ), 1 ≤ L → ∀ n ≤ N, ∀ x : E, + (1 + ‖x‖) ^ N * + ‖iteratedFDeriv ℝ n (normalizedCutoffResidualSchwartz χ hχ hχone hχzero a L m Q hQ) x‖ ≤ C := by + let B := D * (1 / 2 : ℝ) ^ (-2 * a - ((N + 1 : ℕ) : ℝ)) + have hB : 0 ≤ B := mul_nonneg hD (Real.rpow_nonneg (by norm_num) _) + obtain ⟨A, hA, hAjet⟩ := exists_oddPower_finiteJet_bound m N B hB + let G (j : Fin 12) := 3 ^ N * homogeneousAnnulusCutoffConstant (cutoffGradientCoefficient χ j) N * B + let H := 3 ^ N * homogeneousAnnulusCutoffConstant (cutoffLaplacianCoefficient χ) N * B + let K := 3 ^ N * homogeneousAnnulusCutoffConstant (cutoffPowerCoefficient χ hχ m) N * A + have hG : ∀ j, 0 ≤ G j := fun j => mul_nonneg (mul_nonneg (by positivity) + (homogeneousAnnulusCutoffConstant_nonneg _ _)) hB + have hH : 0 ≤ H := mul_nonneg (mul_nonneg (by positivity) + (homogeneousAnnulusCutoffConstant_nonneg _ _)) hB + have hK : 0 ≤ K := mul_nonneg (mul_nonneg (by positivity) + (homogeneousAnnulusCutoffConstant_nonneg _ _)) hA + have hsumG : 0 ≤ ∑ j, G j := Finset.sum_nonneg fun j _ => hG j + refine ⟨2 * (∑ j, G j) + H + K, + add_nonneg (add_nonneg (mul_nonneg (by norm_num) hsumG) hH) hK, ?_⟩ + intro L hL n hn x + let f := normalizedPhysicalProfile a L Q + have hf := normalizedPhysicalProfile_contDiff a L Q hQ + have hdf : ContDiff ℝ ∞ (fderiv ℝ f) := (contDiff_infty_iff_fderiv.mp hf).2 + have hLp : 0 < L := by linarith + have hjets (y : E) (hy : (1 / 2 : ℝ) ≤ ‖y‖) (i : ℕ) (hi : i ≤ N + 1) : + ‖iteratedFDeriv ℝ i f y‖ ≤ B := by + apply normalizedPhysicalProfile_annulus_bound a L D ha hLp hD Q hQ (N + 1) i hi y hy + apply hsymbol i hi + exact smul_ne_zero hLp.ne' (norm_pos_iff.mp (by linarith)) + let P (j : Fin 12) := annularCoefficientProduct + (cutoffGradientCoefficient χ j) (gradient_compact χ hχone hχzero j) + (fun y => fderiv ℝ f y ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) + (hdf.clm_apply contDiff_const) + let R := annularCoefficientProduct (cutoffLaplacianCoefficient χ) (laplacian_compact χ hχone hχzero) f hf + let S := annularCoefficientProduct (cutoffPowerCoefficient χ hχ m) (power_compact χ hχ hχone hχzero m) + (fun y => oddPowerNonlinearity m (f y)) + (((contDiff_oddPowerNonlinearity m).of_le (show (∞ : ℕ∞ω) ≤ ⊤ by simp)).comp hf) + have hP (j : Fin 12) : (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n (P j) x‖ ≤ G j := by + apply annularCoefficientProduct_jet_bound _ _ (cutoffGradientCoefficient_annulus χ hχone hχzero j) + _ _ N B hB _ n hn x + intro y hy i hi + have h := norm_iteratedFDeriv_directional_le f hf ((EuclideanSpace.basisFun (Fin 12) ℝ) j) i y + simpa only [OrthonormalBasis.norm_eq_one, one_mul] using + h.trans (mul_le_mul_of_nonneg_left (hjets y + ((cutoffGradientCoefficient_annulus χ hχone hχzero j y hy).1) (i + 1) (by omega)) (norm_nonneg _)) + have hR : (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n R x‖ ≤ H := by + apply annularCoefficientProduct_jet_bound _ _ (cutoffLaplacianCoefficient_annulus χ hχone hχzero) + _ _ N B hB _ n hn x + intro y hy i hi + exact hjets y ((cutoffLaplacianCoefficient_annulus χ hχone hχzero y hy).1) i (by omega) + have hS : (1 + ‖x‖) ^ N * ‖iteratedFDeriv ℝ n S x‖ ≤ K := by + apply annularCoefficientProduct_jet_bound _ _ (cutoffPowerCoefficient_annulus χ hχ m hχone hχzero) + _ _ N A hA _ n hn x + intro y hy i hi + exact hAjet f hf y (fun j hj => hjets y + ((cutoffPowerCoefficient_annulus χ hχ m hχone hχzero y hy).1) j (by omega)) i hi + exact weightedJet_assembly P R S N n x G H K hP hR hS + +end Residual +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..fb5b5ae0d40b95cd932b1b3547c7eb54ec01eb58 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualSampling.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffResidualJets +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzAnnulusSampling + +namespace OAI + +/-! # The exact cutoff residual has expanding-torus norm O(L^(-2-a)) -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def cutoffResidualSchwartz (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (a L : ℝ) (hL : 0 < L) (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : 𝓢(E, ℂ) := + ((L ^ (-2 : ℝ) : ℝ) : ℂ) • schwartzPhysicalDilation a L hL + (normalizedCutoffResidualSchwartz χ hχ hχone hχzero a L m Q hQ) + +theorem cutoffResidualSchwartz_apply (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (a L : ℝ) (hL : 0 < L) (m : ℕ) (ha : 2 * a * (m : ℝ) = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (y : E) : + cutoffResidualSchwartz χ hχ hχone hχzero a L hL m Q hQ y = + cutoffResidual m L χ Q y := by + have harg : L • (L⁻¹ • y) = y := by rw [smul_smul, mul_inv_cancel₀ hL.ne', one_smul] + have hs := cutoffResidual_scaling a L m hL ha χ Q (L⁻¹ • y) + rw [harg] at hs + rw [cutoffResidualSchwartz, smul_apply, schwartzPhysicalDilation_apply, + normalizedCutoffResidualSchwartz_apply χ hχ hχone hχzero a L m hL Q hQ] + rw [hs, smul_eq_mul, ← mul_assoc, ← Complex.ofReal_mul, ← Real.rpow_add hL] + congr 2 + ring_nf + +theorem exists_cutoffResidual_sampling_bound (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (χ : 𝓢(E, ℝ)) + (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q), ∀ D : ℝ, 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (cutoffResidualSchwartz χ hχ hχone hχzero a L (lt_of_lt_of_le zero_lt_one hL) m Q hQ))‖ ≤ + C * L ^ (-2 - a) := by + obtain ⟨N, J, hJ, hsampling⟩ := exists_schwartzTorusSample_physicalJet_bound a k ha1 hk + refine ⟨N + 1, ?_⟩ + intro Q hQ D hD hsymbol + obtain ⟨B, hB, hjets⟩ := exists_normalizedCutoffResidual_uniform_jets χ hχ hχone hχzero + a ha m N D hD Q hQ hsymbol + refine ⟨J * B, mul_nonneg hJ hB, ?_⟩ + intro L hL + let ψ := normalizedCutoffResidualSchwartz χ hχ hχone hχzero a L m Q hQ + have hLp : 0 < L := lt_of_lt_of_le zero_lt_one hL + have hbase : ‖schwartzTorusSample a k 1 ha1 hk (by norm_num) (radianFourierKernel ψ)‖ ≤ J * B := + hsampling ψ B hB (hjets L hL) 1 (by norm_num) + have hd := schwartzTorusSample_homogeneousDilation_norm_le a k L L ha ha1 hk hL le_rfl + (radianFourierKernel ψ) + simp only [div_self hLp.ne'] at hd + have hscale : ‖schwartzTorusSample a k L ha1 hk hL + (radianFourierKernel (schwartzPhysicalDilation a L hLp ψ))‖ ≤ L ^ (-a) * (J * B) := by + rw [radianFourierKernel_schwartzPhysicalDilation] + exact hd.trans (mul_le_mul_of_nonneg_left hbase (Real.rpow_nonneg hLp.le _)) + change ‖physicalSchwartzTorusSamplingLinear a k L ha1 hk hL + (((L ^ (-2 : ℝ) : ℝ) : ℂ) • schwartzPhysicalDilation a L hLp ψ)‖ ≤ _ + rw [map_smul, norm_smul, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (Real.rpow_nonneg hLp.le _)] + calc + _ ≤ L ^ (-2 : ℝ) * (L ^ (-a) * (J * B)) := + mul_le_mul_of_nonneg_left hscale (Real.rpow_nonneg hLp.le _) + _ = (J * B) * L ^ (-2 - a) := by + rw [← mul_assoc, ← Real.rpow_add hLp] + ring_nf + +/-- The sampled object in the norm estimate represents exactly the three +displayed terms of the physical PDE residual. -/ +theorem exists_actualCutoffResidual_bound (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) : + ∃ N : ℕ, ∀ (Q : E → ℂ) (_hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), ∃ R : 𝓢(E, ℂ), + (∀ y : E, R y = cutoffResidual m L χ Q y) ∧ + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel R)‖ ≤ + C * L ^ (-2 - a) := by + obtain ⟨N, hN⟩ := exists_cutoffResidual_sampling_bound a k ha ha1 hk m χ hχ hχone hχzero + refine ⟨N, ?_⟩ + intro Q hQ D hD hsymbol + obtain ⟨C, hC, hbound⟩ := hN Q hQ D hD hsymbol + refine ⟨C, hC, ?_⟩ + intro L hL + refine ⟨cutoffResidualSchwartz χ hχ hχone hχzero a L (lt_of_lt_of_le zero_lt_one hL) m Q hQ, ?_, hbound L hL⟩ + exact cutoffResidualSchwartz_apply χ hχ hχone hχzero a L (lt_of_lt_of_le zero_lt_one hL) m ham Q hQ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualScaling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualScaling.lean new file mode 100644 index 0000000000000000000000000000000000000000..a2fd01d569e355513996cc5639de539e84253cde --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffResidualScaling.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSamplingSum +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerNonlinearity +import Mathlib.Analysis.InnerProductSpace.Laplacian + +namespace OAI + +/-! # Exact normalization of the cutoff residual + +The residual has three terms. When +`p = 2m+1` and `2am = 1`, all three have the common physical factor L^(-2-2a). +-/ + +open scoped SchwartzMap Laplacian + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem oddPowerNonlinearity_real_mul (m : ℕ) (c : ℝ) (z : ℂ) : + oddPowerNonlinearity m ((c : ℂ) * z) = + ((c ^ (2 * m + 1) : ℝ) : ℂ) * oddPowerNonlinearity m z := by + simp only [oddPowerNonlinearity, mul_pow, star_mul, Complex.star_def, + Complex.conj_ofReal, Complex.ofReal_pow] + rw [show 2 * m + 1 = (m + 1) + m by omega, pow_add] + ring + +theorem oddPowerNonlinearity_profile_scaling (a L : ℝ) (m : ℕ) + (hL : 0 < L) (ha : 2 * a * (m : ℝ) = 1) (z : ℂ) : + oddPowerNonlinearity m ((L ^ (2 * a) : ℝ) * z) = + (L ^ (2 + 2 * a) : ℝ) * oddPowerNonlinearity m z := by + rw [oddPowerNonlinearity_real_mul] + congr 2 + rw [← Real.rpow_natCast, ← Real.rpow_mul hL.le] + congr 1 + push_cast + nlinarith + +noncomputable def cutoffResidual (m : ℕ) (L : ℝ) (χ : E → ℝ) (Q : E → ℂ) + (y : E) : ℂ := + 2 * (L⁻¹ : ℝ) * (∑ j : Fin 12, + (fderiv ℝ χ (L⁻¹ • y) ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Q y ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) + + (L⁻¹ ^ (2 : ℕ) : ℝ) * (Δ χ (L⁻¹ • y) : ℂ) * Q y + + ((χ (L⁻¹ • y) - χ (L⁻¹ • y) ^ (2 * m + 1) : ℝ) : ℂ) * oddPowerNonlinearity m (Q y) + +noncomputable def normalizedCutoffResidual (a L : ℝ) (m : ℕ) + (χ : E → ℝ) (Q : E → ℂ) (x : E) : ℂ := + 2 * (∑ j : Fin 12, + (fderiv ℝ χ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + ((L ^ (2 * a + 1) : ℝ) * fderiv ℝ Q (L • x) ((EuclideanSpace.basisFun (Fin 12) ℝ) j))) + + (Δ χ x : ℂ) * ((L ^ (2 * a) : ℝ) * Q (L • x)) + + ((χ x - χ x ^ (2 * m + 1) : ℝ) : ℂ) * + oddPowerNonlinearity m ((L ^ (2 * a) : ℝ) * Q (L • x)) + +theorem cutoffResidual_scaling (a L : ℝ) (m : ℕ) (hL : 0 < L) + (ha : 2 * a * (m : ℝ) = 1) (χ : E → ℝ) (Q : E → ℂ) (x : E) : + cutoffResidual m L χ Q (L • x) = + (L ^ (-2 - 2 * a) : ℝ) * normalizedCutoffResidual a L m χ Q x := by + have harg : L⁻¹ • (L • x) = x := by + rw [smul_smul, inv_mul_cancel₀ hL.ne', one_smul] + have h₁ : L ^ (-2 - 2 * a) * L ^ (2 * a + 1) = L⁻¹ := by + rw [← Real.rpow_add hL] + convert Real.rpow_neg_one L using 1; congr 1; ring + have h₂ : L ^ (-2 - 2 * a) * L ^ (2 * a) = L⁻¹ ^ (2 : ℕ) := by + rw [← Real.rpow_add hL] + have he : -2 - 2 * a + 2 * a = -(2 : ℝ) := by ring + rw [he, Real.rpow_neg hL.le, Real.rpow_two, inv_pow] + have h₃ : L ^ (-2 - 2 * a) * L ^ (2 + 2 * a) = 1 := by + rw [← Real.rpow_add hL] + have he : -2 - 2 * a + (2 + 2 * a) = 0 := by ring + rw [he, Real.rpow_zero] + have hc₁ : ((L ^ (-2 - 2 * a) : ℝ) : ℂ) * (L ^ (2 * a + 1) : ℝ) = (L⁻¹ : ℝ) := by + exact_mod_cast h₁ + have hc₂ : ((L ^ (-2 - 2 * a) : ℝ) : ℂ) * (L ^ (2 * a) : ℝ) = (L⁻¹ ^ (2 : ℕ) : ℝ) := by + exact_mod_cast h₂ + have hc₃ : ((L ^ (-2 - 2 * a) : ℝ) : ℂ) * (L ^ (2 + 2 * a) : ℝ) = 1 := by + exact_mod_cast h₃ + have hsum : (∑ j : Fin 12, + (fderiv ℝ χ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + ((L ^ (2 * a + 1) : ℝ) * fderiv ℝ Q (L • x) ((EuclideanSpace.basisFun (Fin 12) ℝ) j))) = + (L ^ (2 * a + 1) : ℝ) * (∑ j : Fin 12, + (fderiv ℝ χ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Q (L • x) ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) := by + rw [Finset.mul_sum] + apply Finset.sum_congr rfl + intro j _ + ring + unfold cutoffResidual normalizedCutoffResidual + rw [harg, oddPowerNonlinearity_profile_scaling a L m hL ha, hsum] + symm + calc + _ = 2 * (((L ^ (-2 - 2 * a) : ℝ) : ℂ) * (L ^ (2 * a + 1) : ℝ)) * + (∑ j : Fin 12, (fderiv ℝ χ x ((EuclideanSpace.basisFun (Fin 12) ℝ) j) : ℂ) * + fderiv ℝ Q (L • x) ((EuclideanSpace.basisFun (Fin 12) ℝ) j)) + + (((L ^ (-2 - 2 * a) : ℝ) : ℂ) * (L ^ (2 * a) : ℝ)) * (Δ χ x : ℂ) * Q (L • x) + + (((L ^ (-2 - 2 * a) : ℝ) : ℂ) * (L ^ (2 + 2 * a) : ℝ)) * + ((χ x - χ x ^ (2 * m + 1) : ℝ) : ℂ) * oddPowerNonlinearity m (Q (L • x)) := by ring + _ = _ := by rw [hc₁, hc₂, hc₃]; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableBlowup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableBlowup.lean new file mode 100644 index 0000000000000000000000000000000000000000..13a0d55640f3a070113ccb04f92c82c696af820b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableBlowup.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableOrbit + +namespace OAI + +/-! # Finite-time blowup of the constructed stable cutoff orbits + +The conclusion retains the stable initial coordinates. The additional physical +parameter argument is needed to obtain an open set of initial data. +-/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem sampledCutoffProfileOrbit_center (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ y : E, ‖y‖ < 1 / 2 → χ y = 1) + (hχzero : ∀ y : E, 2 < ‖y‖ → χ y = 0) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (s : ℝ) (hs : 0 ≤ s) : + expandingTorusFunction a k (expandingRadius L s) + (sampledCutoffProfileOrbit a k L ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp s) 0 = + Qp 0 := by + unfold sampledCutoffProfileOrbit sampledCutoffProfileAtRadius + simp only [max_eq_right hs] + exact sampledCutoffProfile_center a k (expandingRadius L s) ha ha1 hk + (hL.trans (expandingRadius_ge L s hL hs)) χ hχ hχone hχzero Qp hQp + +theorem cutoffGlobal_blowup (a b k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (m : ℕ) (ham : 2 * a * m = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ y : E, ‖y‖ < 1 / 2 → χ y = 1) + (hχzero : ∀ y : E, 2 < ‖y‖ → χ y = 0) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (hQzero : Qp 0 ≠ 0) + (u : ℝ → FourierL2) (hu : ContinuousOn u (Ici 0)) + (hsol : ∀ (S : ℝ) (hS : 0 < S), expandingSlabRestriction u hu S = + expandingPicard a b k L S ha hk hL hS.le + (expandingNonlinearReaction a k L S ha ha1 hk hL m) (u 0) + (expandingSlabRestriction u hu S)) + (hdecay : Tendsto (fun s => ‖u s - sampledCutoffProfileOrbit a k L ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp s‖) + atTop (𝓝 0)) : + let f := expandingPhysicalInitialEquiv a k L ha ha1 hk hL (u 0) + BddAbove (maximalSobolevInteractionDomain k (by linarith) m f) ∧ + sSup (maximalSobolevInteractionDomain k (by linarith) m f) = L ^ (-2 : ℝ) ∧ + Tendsto (fun t => (L ^ (-2 : ℝ) - t) ^ a * + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k (by linarith) m f t) 0‖) + (𝓝[<] (L ^ (-2 : ℝ))) (𝓝 ‖Qp 0‖) := by + let q := sampledCutoffProfileOrbit a k L ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp + have hq : ∀ s, 0 ≤ s → expandingTorusFunction a k (expandingRadius L s) (q s) 0 = Qp 0 := + sampledCutoffProfileOrbit_center a k L ha ha1 hk hL χ hχ hχone hχzero Qp hQp + have htime := expandingGlobal_lifespan a b k L ha ha1 hk hL m ham u hu hsol + q 0 (Qp 0) hQzero hq hdecay + exact ⟨htime.1, htime.2, expandingGlobal_rescaled_limit a b k L ha ha1 hk hL m ham + u hu hsol q 0 (Qp 0) hq hdecay⟩ + +theorem exists_cutoffStable_blowup {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (ham : 2 * a * m = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ y : E, ‖y‖ < 1 / 2 → χ y = 1) + (hχzero : ∀ y : E, 2 < ‖y‖ → χ y = 0) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (hQzero : Qp 0 ≠ 0) + (hstable : HasCutoffStableOrbits (F := F) a b k ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp) : + ∃ ρ : ℝ, 0 < ρ ∧ ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∃ ζ : F →L[ℝ] FourierL2, ∃ π : FourierL2 →L[ℝ] F, + (∀ v, π (ζ v) = v) ∧ ∀ w : FourierL2, ‖w‖ ≤ ρ / 4 → π w = 0 → + ∃ f : FourierL2, + stableFrameProjection ζ π ((expandingPhysicalInitialEquiv a k L.1 ha ha1 hk L.2).symm f - + sampledCutoffProfileOrbit a k L.1 ha1 hk L.2 + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp 0) = w ∧ + BddAbove (maximalSobolevInteractionDomain k (by linarith) m f) ∧ + sSup (maximalSobolevInteractionDomain k (by linarith) m f) = L.1 ^ (-2 : ℝ) ∧ + Tendsto (fun t => (L.1 ^ (-2 : ℝ) - t) ^ a * + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k (by linarith) m f t) 0‖) + (𝓝[<] (L.1 ^ (-2 : ℝ))) (𝓝 ‖Qp 0‖) := by + obtain ⟨ρ, hρ, L₀, hs⟩ := hstable + refine ⟨ρ, hρ, L₀, fun L hL => ?_⟩ + obtain ⟨ζ, π, hπζ, hw⟩ := hs L hL + refine ⟨ζ, π, hπζ, fun w hwb hwz => ?_⟩ + obtain ⟨u, hu, hu0, hsol, hdecay⟩ := hw w hwb hwz + refine ⟨expandingPhysicalInitialEquiv a k L.1 ha ha1 hk L.2 (u 0), ?_, ?_⟩ + · simpa only [ContinuousLinearEquiv.symm_apply_apply] using hu0 + · exact cutoffGlobal_blowup a b k L.1 ha ha1 hk L.2 m ham χ hχ hχone hχzero Qp hQp + hQzero u hu hsol hdecay + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..b1008c0ed8d27262d681715f5a4103e6739274a1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableOrbit.lean @@ -0,0 +1,89 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableSequence +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphStepDecay + +namespace OAI + +/-! # Actual global nonlinear orbits selected by the stable graph -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +def HasCutoffStableOrbits {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) : Prop := + ∃ ρ : ℝ, 0 < ρ ∧ ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ∃ ζ : F →L[ℝ] FourierL2, ∃ π : FourierL2 →L[ℝ] F, + (∀ v, π (ζ v) = v) ∧ ∀ w₀ : FourierL2, ‖w₀‖ ≤ ρ / 4 → π w₀ = 0 → + ∃ u : ℝ → FourierL2, ∃ hu : ContinuousOn u (Ici 0), + stableFrameProjection ζ π + (u 0 - sampledCutoffProfileOrbit a k L.1 ha1 hk L.2 χ hχ Qp hQp 0) = w₀ ∧ + (∀ (S : ℝ) (hS : 0 < S), expandingSlabRestriction u hu S = + expandingPicard a b k L.1 S ha hk L.2 hS.le + (expandingNonlinearReaction a k L.1 S ha ha1 hk L.2 m) (u 0) + (expandingSlabRestriction u hu S)) ∧ + Tendsto (fun s => ‖u s - sampledCutoffProfileOrbit a k L.1 ha1 hk L.2 χ hχ Qp hQp s‖) + atTop (𝓝 0) + +theorem exists_cutoffStable_orbits {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) (hT : 0 < (T : ℝ)) + (hratio : 2 * Real.exp (-(2 + a) * T / 2) ≤ 1) + (hlinear : HasTorusLinearStep (F := F) T + (cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T)) + (hnonlinear : HasCutoffNonlinearSteps a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T) : + HasCutoffStableOrbits (F := F) a b k ha ha1 hk m χ hχ Qp hQp := by + classical + obtain ⟨δ, Lnl, B, hδ, _, hB, hstep⟩ := hnonlinear + obtain ⟨ρ, hρ, hρδ, Lg, hgraph⟩ := exists_cutoffStable_sequence_threshold a δ B ha hδ hB.le + T hratio _ hlinear + refine ⟨ρ, hρ, max Lg Lnl, ?_⟩ + intro L hL + have hLg : Lg ≤ L.1 := (le_max_left _ _).trans hL + have hLnl : Lnl ≤ L.1 := (le_max_right _ _).trans hL + let Ln := expandingDiscreteRadius L T + have hLn (n : ℕ) : Lnl ≤ (Ln n).1 := hLnl.trans (expandingDiscreteRadius_ge L T n) + choose V h hsol hV hend hzero hlip using fun n => hstep (Ln n) (hLn n) + obtain ⟨ζ, π, hπζ, hs⟩ := hgraph L hLg + refine ⟨ζ 0, π 0, hπζ 0, ?_⟩ + intro w₀ hw₀ hker + obtain ⟨z, hz0, hzstep, hzn⟩ := hs h hlip hzero w₀ hw₀ hker + have hzδ (n : ℕ) : ‖z n‖ ≤ δ := (hzn n).trans ((mul_le_of_le_one_right + (by positivity : 0 ≤ 2 * ρ) (pow_le_one₀ (by norm_num : (0 : ℝ) ≤ 1 / 2) (by norm_num))).trans hρδ) + let Z := fun n => (⟨z n, hzδ n⟩ : {f : FourierL2 // ‖f‖ ≤ δ}) + let W := fun n => V n (Z n) + have hWM (n : ℕ) : W n ⟨T, T.2, le_rfl⟩ = z (n + 1) := by + calc + _ = cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T (Ln n) (z n) + + h n (Z n) := hend n (Z n) + _ = cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T (Ln n) (z n) + + cutoffRemainderExtension δ h n (z n) := by + rw [cutoffRemainderExtension, dite_eq_left (hzδ n)] + _ = _ := (hzstep n).symm + have hWbound (n : ℕ) : ‖W n‖ ≤ B * (‖z n‖ + + (expandingRadius L.1 ((n : ℝ) * T)) ^ (-2 - a)) := hV n (Z n) + have hr : Real.exp (-(2 + a) * T / 2) ≤ 1 / 2 := by linarith + have hWgeo := cutoffStep_path_geometric_bound a L.1 T B (2 * ρ) + (lt_of_lt_of_le zero_lt_one L.2) hB.le hr z W hzn hWbound + obtain ⟨u, hu, hu0, husol, hudecay⟩ := exists_cutoffGlobal_orbit_of_steps a b k L.1 T + ha ha1 hk L.2 hT m χ hχ Qp hQp z W hWM (fun n => hsol n (Z n)) + (B * (2 * ρ + L.1 ^ (-2 - a))) (1 / 2) (by norm_num) (by norm_num) + hWgeo + refine ⟨u, hu, ?_, husol, hudecay⟩ + rw [hu0, add_sub_cancel_left] + exact hz0 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableSequence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableSequence.lean new file mode 100644 index 0000000000000000000000000000000000000000..380a1ed096e3f77a5a0960a415cda9f8aed8b48d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableSequence.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusDiscreteLinearData +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphSmallRemainder +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepRemainder + +namespace OAI + +/-! # Decaying endpoint sequences for the actual cutoff remainder estimates -/ + +open scoped NNReal + +namespace DefocusingNLS + +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem exists_cutoffStable_sequence_threshold {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + (a δ B : ℝ) (ha : 0 < a) (hδ : 0 < δ) (hB : 0 ≤ B) + (T : ℝ≥0) (hratio : 2 * Real.exp (-(2 + a) * T / 2) ≤ 1) + (A : Radius → FourierL2 →L[ℝ] FourierL2) (hA : HasTorusLinearStep (F := F) T A) : + ∃ ρ : ℝ, 0 < ρ ∧ 2 * ρ ≤ δ ∧ ∃ L₀ : ℝ, + ∀ L : Radius, L₀ ≤ L.1 → + ∃ ζ : ℕ → F →L[ℝ] FourierL2, ∃ π : ℕ → FourierL2 →L[ℝ] F, + (∀ n v, π n (ζ n v) = v) ∧ + ∀ h : ℕ → {v : FourierL2 // ‖v‖ ≤ δ} → FourierL2, + (∀ n d, 0 < d → d ≤ δ → ∀ v w, ‖v.1‖ ≤ d → ‖w.1‖ ≤ d → + ‖h n v - h n w‖ ≤ + B * (d + (expandingDiscreteRadius L T n).1 ^ (-2 - a)) * ‖v.1 - w.1‖) → + (∀ n v, v.1 = 0 → ‖h n v‖ ≤ B * (expandingDiscreteRadius L T n).1 ^ (-2 - a)) → + ∀ w₀ : FourierL2, ‖w₀‖ ≤ ρ / 4 → π 0 w₀ = 0 → + ∃ z : ℕ → FourierL2, + stableFrameProjection (ζ 0) (π 0) (z 0) = w₀ ∧ + (∀ n, z (n + 1) = A (expandingDiscreteRadius L T n) (z n) + + cutoffRemainderExtension δ h n (z n)) ∧ + (∀ n, ‖z n‖ ≤ (2 * ρ) * (1 / 2 : ℝ) ^ n) := by + obtain ⟨C, hC, hlinear⟩ := torusLinearStep_discrete T A hA + obtain ⟨σ, Llip, hσ, hσδ, hLlip, hlip⟩ := exists_cutoffRemainder_small_lipschitz + a B δ (1 / (128 * (C + 1))) ha hB hδ (by positivity) + let ρ := σ / 2 + have hρ : 0 < ρ := by dsimp [ρ]; positivity + have h2ρ : 2 * ρ = σ := by dsimp [ρ]; ring + obtain ⟨Llin, hLlin⟩ := hlinear (1 / 128) (by norm_num) + obtain ⟨Lforce, _, hforce⟩ := exists_cutoffResidual_small_scale a (C * B) (ρ / 8) ha (by positivity) + refine ⟨ρ, hρ, by rw [h2ρ]; exact hσδ, max Llin (max Llip Lforce), ?_⟩ + intro L hL + have hLlinear : Llin ≤ L.1 := (le_max_left _ _).trans hL + have hLlip' : Llip ≤ L.1 := (le_max_left _ _).trans ((le_max_right _ _).trans hL) + have hLforce : Lforce ≤ L.1 := (le_max_right _ _).trans ((le_max_right _ _).trans hL) + obtain ⟨ζ, π, D, R, hinv, hR, hπζ, hζ, hπ, hP, hstable, hmixed, he⟩ := hLlin L hLlinear + refine ⟨ζ, π, hπζ, ?_⟩ + intro h hl hz w₀ hw₀ hker + let ε := B * L.1 ^ (-2 - a) + have hLp : 0 < L.1 := lt_of_lt_of_le zero_lt_one L.2 + have hε : 0 ≤ ε := mul_nonneg hB (Real.rpow_nonneg hLp.le _) + have hsmall : ‖w₀‖ + 2 * (C * ε) ≤ ρ / 2 := by + have hf := hforce L.1 hLforce + change C * B * L.1 ^ (-2 - a) ≤ ρ / 8 at hf + dsimp [ε] + nlinarith + have hLip : ∀ n v w, ‖v‖ ≤ 2 * ρ → ‖w‖ ≤ 2 * ρ → + ‖cutoffRemainderExtension δ h n v - cutoffRemainderExtension δ h n w‖ ≤ + (1 / (128 * (C + 1))) * ‖v - w‖ := by + intro n v w hv hw + have hest := cutoffRemainderExtension_lipschitz a L.1 T δ σ B hLp T.2 ha hσ hσδ hB h hl + n v w (by rwa [← h2ρ]) (by rwa [← h2ρ]) + exact hest.trans (mul_le_mul_of_nonneg_right (hlip L.1 hLlip') (norm_nonneg _)) + have hZero : ∀ n, ‖cutoffRemainderExtension δ h n 0‖ ≤ + ε * (Real.exp (-(2 + a) * T / 2)) ^ n := + cutoffRemainderExtension_zero_bound a L.1 T δ B hLp hδ.le h hz + obtain ⟨z, hz0, hzstep, hzbound⟩ := exists_stableGraph_of_small_remainder ζ π + (fun n => A (expandingDiscreteRadius L T n)) D R hR hinv hπζ hstable hmixed + C ρ ε (Real.exp (-(2 + a) * T / 2)) hC hρ.le hε (Real.exp_nonneg _) hratio + hζ hπ hP he (cutoffRemainderExtension δ h) hLip hZero w₀ hker hsmall + refine ⟨z, hz0, hzstep, fun n => (hzbound n).trans ?_⟩ + apply mul_le_mul_of_nonneg_right _ (by positivity) + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableTransfer.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableTransfer.lean new file mode 100644 index 0000000000000000000000000000000000000000..f71becdae11075bde6968b22b48ef9174e1e6ac8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStableTransfer.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingStableSequence +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfilePhysicalLimit + +namespace OAI + +/-! # Uniform large-radius contraction for the actual sampled cutoff evolution -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + +noncomputable def cutoffProfileCoefficient (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (L : Radius) : FourierL2 := + schwartzTorusSample a k L.1 ha1 hk L.2 (radianFourierKernel + (cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ Q hQ)) + +theorem sampledCutoffProfile_uniform_stable_contraction (a b k T Q C₀ c C R D η β : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 10 < k) (hT : 0 ≤ T) + (hQ : 0 ≤ Q) (hC₀ : 0 ≤ C₀) (hc : 0 ≤ c) (hC : 0 ≤ C) (hD : 0 ≤ D) + (hβ : 0 < β) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q₀ : HomogeneousY a k) + (hQ₀ : ∀ y, homogeneousPhysicalCLM a k ha ha1 (by linarith) Q₀ y = Qp y) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L‖ ≤ Q) + (hCb : ∀ (L : ℝ) (hL : 1 ≤ L) (f : FourierL2), + ‖homogeneousLocalizationCLM a k L ha ha1 (by linarith) hL χ f‖ ≤ C₀ * ‖f‖) + (π : HomogeneousY a k →L[ℝ] F) (R₀ : ℝ) + (henergy : ∀ L : Radius, R₀ ≤ L.1 → ∀ w : FourierL2, + -a * ‖expandingLowEnergy a k L.1 L.2 w‖ ^ 2 + + (6 - 2 * a - k) * ‖expandingHighEnergy a k L.1 L.2 w‖ ^ 2 + + 2 * inner ℝ w (expandingLinearizedPotential a k L.1 ha ha1 (by linarith) L.2 m + (cutoffProfileCoefficient a k ha1 (by linarith) χ hχ Qp hQp L) w) ≤ + -c * ‖w‖ ^ 2 + C * ‖expandingPhysicalBall a k L.1 R ha ha1 (by linarith) L.2 w‖ ^ 2) + (hdecay : ∀ u : HomogeneousY a k, π u = 0 → ∀ t : Icc (0 : ℝ) T, + ‖homogeneousLinearizedTrajectory a b k T ha ha1 (by linarith) hT m Q₀ u t‖ ≤ + D * Real.exp (-η * (t : ℝ)) * ‖u‖) + (hsmall : escapedEnergyBound c (2 * η) 1 + (C * (‖homogeneousPhysicalCLM a k ha ha1 (by linarith)‖ * (D * C₀)) ^ 2) T < β ^ 2) : + ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → ∀ f : FourierL2, ‖f‖ ≤ 1 → + π (homogeneousLocalizationCLM a k L.1 ha ha1 (by linarith) L.2 χ f) = 0 → + ‖expandingProfileTrajectory a b k L.1 T ha ha1 (by linarith) L.2 hT m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 (by linarith) L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) f ⟨T, hT, le_rfl⟩‖ < β := by + classical + have hk8 : 8 < k := by linarith + by_contra h + push Not at h + choose L hL f hf hker hbad using fun n : ℕ => h (max R₀ (n : ℝ)) + have hLinf : Tendsto (fun n => (L n).1) atTop atTop := + tendsto_atTop_mono (fun n => (le_max_right R₀ (n : ℝ)).trans (hL n)) + tendsto_natCast_atTop_atTop + let q := fun n => sampledCutoffProfilePath a k (L n).1 T ha ha1 hk8 (L n).2 χ hχ Qp hQp + have hq (n : ℕ) (t : Icc (0 : ℝ) T) : ‖q n t‖ ≤ Q := + hqb (expandingRadiusCurve (L n).1 T (L n).2 t) + have hqp (t : Icc (0 : ℝ) T) (y : E) : + Tendsto (fun n => expandingPhysicalContinuous a k (expandingRadius (L n).1 t) + ha ha1 hk8 ((L n).2.trans (expandingRadius_ge (L n).1 t (L n).2 t.2.1)) (q n t) y) + atTop (𝓝 (homogeneousPhysicalCLM a k ha ha1 hk8 Q₀ y)) := by + rw [hQ₀] + exact tendsto_sampledCutoffProfilePath_physical a k T ha ha1 hk8 χ hχ hχzero hχone + Qp hQp (fun n => (L n).1) (fun n => (L n).2) hLinf t y + have he (n : ℕ) (s : Icc (0 : ℝ) T) (w : FourierL2) := + henergy (expandingRadiusCurve (L n).1 T (L n).2 s) + (((le_max_left R₀ (n : ℝ)).trans (hL n)).trans + (expandingRadius_ge (L n).1 s (L n).2 s.2.1)) w + have hs := expandingProfile_stable_sequence a b k T Q C₀ c C R D η β ha ha1 hk hT + hQ hC₀ hc hC hD hβ m χ (1 / 2) (by norm_num) hχone hCb + (fun n => (L n).1) (fun n => (L n).2) hLinf q hq f hf Q₀ π hker hqp he hdecay hsmall + obtain ⟨n, hn⟩ := hs.exists + exact (not_lt_of_ge (hbad n)) hn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepForcing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepForcing.lean new file mode 100644 index 0000000000000000000000000000000000000000..108fca729dc74d9bb4cb860b9e27d5c15e950482 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepForcing.lean @@ -0,0 +1,107 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPerturbationEquation +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMildEquation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzProfileSampling +import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics + +namespace OAI + +/-! # The actual sampled cutoff supplies the nonlinear step data + +The profile is a forced nonlinear mild solution. Its forcing is exactly +minus `i` times the sampled cutoff residual, with the required uniform +`L^(-2-a)` bound. +-/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_cutoffResidual_small_scale (a C δ : ℝ) (ha : 0 < a) (hδ : 0 < δ) : + ∃ L₀ : ℝ, 1 ≤ L₀ ∧ ∀ L : ℝ, L₀ ≤ L → C * L ^ (-2 - a) ≤ δ := by + have ht : Tendsto (fun L : ℝ => C * L ^ (-2 - a)) atTop (𝓝 0) := by + have h := (tendsto_rpow_neg_atTop (show 0 < 2 + a by linarith)).const_mul C + simpa only [show -(2 + a) = -2 - a by ring, mul_zero] using h + obtain ⟨L₀, hL₀⟩ := eventually_atTop.mp (ht.eventually (gt_mem_nhds hδ)) + refine ⟨max 1 L₀, le_max_left _ _, ?_⟩ + intro L hL + exact (hL₀ L ((le_max_right _ _).trans hL)).le + +noncomputable def sampledCutoffDefectPath (a k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (m : ℕ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : C(Icc (0 : ℝ) T, FourierL2) := + (-Complex.I) • sampledCutoffResidualPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ + +theorem sampledCutoffProfile_forced_mild (a b k L T : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (hT : 0 ≤ T) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 2 < ‖x‖ → χ x = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hstationary : ∀ y, stationarySimilarityDefect a b m Q y = 0) : + let q := sampledCutoffProfilePath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ + let g := sampledCutoffDefectPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ + ∀ t : Icc (0 : ℝ) T, q t = + expandingFreeStep a b k L t ha hk hL t.2.1 (q ⟨0, le_rfl, hT⟩) + + expandingDuhamel a b k L ha hk hL t (fun τ => + expandingReactionHistory T hT (expandingNonlinearReaction a k L T ha ha1 hk hL m) q τ + + g (projIcc 0 T hT τ)) := by + intro q g t + have h := sampledCutoffProfile_mild a b k L T ha ha1 hk hL hT m ham + χ hχ hχone hχzero Q hQ hstationary t t.2 + have hf : sampledCutoffForcingHistory a k L T ha ha1 hk hL hT + χ hχ hχone hχzero m Q hQ = fun τ => + expandingReactionHistory T hT (expandingNonlinearReaction a k L T ha ha1 hk hL m) q τ + + g (projIcc 0 T hT τ) := rfl + rw [hf] at h + simpa only [sampledCutoffProfileHistory, projIcc_of_mem hT t.2, + projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl, hT⟩)] using h + +theorem exists_cutoffStep_profile_forcing_bounds (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχsupport : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) : + let hχzero := fun x : E => fun hx : 2 < ‖x‖ => hχsupport x (by linarith) + ∃ N : ℕ, ∀ (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (D : ℝ), 0 ≤ D → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) → + ∃ R C : ℝ, 0 ≤ R ∧ 0 ≤ C ∧ ∀ (L T : ℝ) (hL : 1 ≤ L) (t : Icc (0 : ℝ) T), + ‖sampledCutoffProfilePath a k L T ha ha1 hk hL + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ t‖ ≤ R ∧ + ‖sampledCutoffDefectPath a k L T ha ha1 hk hL χ hχ hχone hχzero m Q hQ t‖ ≤ + C * L ^ (-2 - a) := by + intro hχzero + have hχc : ∀ x : E, 1 ≤ ‖x‖ → (χ.postcompCLM Complex.ofRealCLM) x = 0 := by + intro x hx + simp [hχsupport x hx] + obtain ⟨N₁, hN₁⟩ := exists_cutoffProfile_sampling_bound a k ha ha1 hk + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) hχc + obtain ⟨N₂, hN₂⟩ := exists_sampledCutoffResidualPath_bound a k ha ha1 hk χ hχ hχone hχzero m + refine ⟨max N₁ N₂, ?_⟩ + intro Q hQ D hD hsymbol + obtain ⟨R, hR, hprofile⟩ := hN₁ Q hQ D hD + (fun n hn => hsymbol n (hn.trans (le_max_left _ _))) + obtain ⟨C, hC, hresidual⟩ := hN₂ Q hQ D hD + (fun n hn => hsymbol n (hn.trans (le_max_right _ _))) + refine ⟨R, C, hR, hC, ?_⟩ + intro L T hL t + constructor + · exact hprofile (expandingRadius L t) (hL.trans (expandingRadius_ge L t hL t.2.1)) + · change ‖(-Complex.I) • sampledCutoffResidualPath a k L T ha ha1 hk hL + χ hχ hχone hχzero m Q hQ t‖ ≤ _ + rw [norm_smul, norm_neg, Complex.norm_I, one_mul] + apply (hresidual L T hL t).trans + apply mul_le_of_le_one_right (mul_nonneg hC (Real.rpow_nonneg (by linarith) _)) + exact Real.exp_le_one_iff.mpr (by nlinarith [t.2.1]) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepLinearization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepLinearization.lean new file mode 100644 index 0000000000000000000000000000000000000000..1fcb191b2dddc9bee0b4d627d3339f2b41edb0c0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepLinearization.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffNonlinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileEndpoint + +namespace OAI + +/-! # The exact linear endpoint in the nonlinear cutoff step -/ + +open Set +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem cutoffStep_linear_endpoint (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) (L : Radius) (f : FourierL2) (w : C(Icc (0 : ℝ) T, FourierL2)) + (hw : ∀ t : Icc (0 : ℝ) T, w t = expandingFreeStep a b k L.1 t ha hk L.2 t.2.1 f + + expandingDuhamel a b k L.1 ha hk L.2 t + (expandingReactionHistory T T.2 + (expandingProfileReaction a k T ha ha1 hk m (expandingRadiusCurve L.1 T L.2) + (sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2 χ hχ Qp hQp) 0) w)) : + w ⟨T, T.2, le_rfl⟩ = cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T L f := by + have he := expandingProfileTrajectory_unique a b k L.1 T ha ha1 hk L.2 T.2 m Q hQ + (sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) f w hw + exact congrArg (fun v : C(Icc (0 : ℝ) T, FourierL2) => v ⟨T, T.2, le_rfl⟩) he + +def HasCutoffNonlinearSteps (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (T : ℝ≥0) : Prop := + ∃ δ L₀ C : ℝ, 0 < δ ∧ 1 ≤ L₀ ∧ 0 < C ∧ ∀ L : Radius, L₀ ≤ L.1 → + let q := sampledCutoffProfilePath a k L.1 T ha ha1 hk L.2 χ hχ Qp hQp + ∃ V : {f : FourierL2 // ‖f‖ ≤ δ} → C(Icc (0 : ℝ) T, FourierL2), + ∃ h : {f : FourierL2 // ‖f‖ ≤ δ} → FourierL2, + (∀ f, q + V f = expandingPicard a b k L.1 T ha hk L.2 T.2 + (expandingNonlinearReaction a k L.1 T ha ha1 hk L.2 m) + (q ⟨0, le_rfl, T.2⟩ + f.1) (q + V f)) ∧ + (∀ f, ‖V f‖ ≤ C * (‖f.1‖ + L.1 ^ (-2 - a))) ∧ + (∀ f, V f ⟨T, T.2, le_rfl⟩ = + cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T L f.1 + h f) ∧ + (∀ f, f.1 = 0 → ‖h f‖ ≤ C * L.1 ^ (-2 - a)) ∧ + (∀ d : ℝ, 0 < d → d ≤ δ → ∀ f j, ‖f.1‖ ≤ d → ‖j.1‖ ≤ d → + ‖h f - h j‖ ≤ C * (d + L.1 ^ (-2 - a)) * ‖f.1 - j.1‖) + +theorem exists_cutoffNonlinear_steps_order (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (ham : 2 * a * (m : ℝ) = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) (T : ℝ≥0) : + ∃ N : ℕ, ∀ (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (B : ℝ), 0 ≤ B → + (∀ n ≤ N, ∀ y : E, y ≠ 0 → ‖iteratedFDeriv ℝ n Qp y‖ ≤ B * ‖y‖ ^ (-2 * a - (n : ℝ))) → + (∀ y, stationarySimilarityDefect a b m Qp y = 0) → + ∀ (Q : ℝ) (hQ : 0 ≤ Q), + ∀ hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp L‖ ≤ Q, + HasCutoffNonlinearSteps a b k ha ha1 hk m (χ.postcompCLM Complex.ofRealCLM) + (hasCompactSupport_complexCutoff χ hχ) Qp hQp Q hQ hqb T := by + obtain ⟨N, hN⟩ := exists_cutoffNonlinear_step a b k T ha ha1 hk T.2 m ham χ hχ hχone hχzero + refine ⟨N, ?_⟩ + intro Qp hQp B hB hsymbol hstationary Q hQ hqb + obtain ⟨δ, L₀, C, hδ, hL₀, hC, hstep⟩ := hN Qp hQp B hB hsymbol hstationary + refine ⟨δ, L₀, C, hδ, hL₀, hC, ?_⟩ + intro L hL + obtain ⟨V, h, hsol, hV, hend, hzero, hlip⟩ := hstep L.1 L.2 hL + refine ⟨V, h, hsol, hV, ?_, hzero, hlip⟩ + intro f + obtain ⟨w, hw, he⟩ := hend f + rw [he, cutoffStep_linear_endpoint a b k ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) + Qp hQp Q hQ hqb T L f.1 w hw] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepRemainder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepRemainder.lean new file mode 100644 index 0000000000000000000000000000000000000000..c8b4fea25cd3b4c9af4359d0b316c33d1037d0b1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffStepRemainder.lean @@ -0,0 +1,111 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphWeightedSource +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffNonlinearStep + +namespace OAI + +/-! # The actual cutoff-step estimates in weighted sequence form + +These adapters use exactly the remainder bounds proved for the sampled +nonlinear step. The exponent along `L exp(nM/2)` is geometric, and the small +Lipschitz constant is obtained by first reducing the state ball and then +increasing the starting radius. The step maps themselves are not assumed +to be spectral projections or a stable graph. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +theorem expandingRadius_discrete_residual (a L M : ℝ) (hL : 0 < L) (n : ℕ) : + (expandingRadius L ((n : ℝ) * M)) ^ (-2 - a) = + L ^ (-2 - a) * (Real.exp (-(2 + a) * M / 2)) ^ n := by + rw [expandingRadius_residual_power a L _ hL, ← Real.exp_nat_mul] + congr 2 + ring + +theorem exists_cutoffStep_geometric_ratio (a : ℝ) (ha : 0 < a) : + ∃ M₀ : ℝ, 0 < M₀ ∧ ∀ M : ℝ, M₀ ≤ M → + 2 * Real.exp (-(2 + a) * M / 2) ≤ 1 / 2 := by + let M₀ := 2 * Real.log 4 / (2 + a) + have hd : 0 < 2 + a := by linarith + have hl : 0 < Real.log 4 := Real.log_pos (by norm_num) + have hM₀ : 0 < M₀ := by dsimp [M₀]; positivity + refine ⟨M₀, hM₀, ?_⟩ + intro M hM + have heq : (2 + a) * M₀ = 2 * Real.log 4 := by + dsimp [M₀] + field_simp [hd.ne'] + have hp : Real.log 4 ≤ (2 + a) * M / 2 := by + have h := mul_le_mul_of_nonneg_left hM hd.le + nlinarith + have he := Real.exp_le_exp.mpr (neg_le_neg hp) + have hv : Real.exp (-Real.log 4) = 1 / 4 := by + rw [Real.exp_neg, Real.exp_log (by norm_num : (0 : ℝ) < 4)] + norm_num + rw [hv] at he + have hi : -(2 + a) * M / 2 = -((2 + a) * M / 2) := by ring + rw [hi] + linarith + +noncomputable def cutoffRemainderExtension {V : Type*} [NormedAddCommGroup V] + (δ : ℝ) (h : ℕ → {v : V // ‖v‖ ≤ δ} → V) (n : ℕ) (v : V) : V := + if hv : ‖v‖ ≤ δ then h n ⟨v, hv⟩ else 0 + +theorem cutoffRemainderExtension_lipschitz {V : Type*} [NormedAddCommGroup V] + (a L M δ ρ C : ℝ) (hL : 0 < L) (hM : 0 ≤ M) (ha : 0 < a) + (hρ : 0 < ρ) (hρδ : ρ ≤ δ) (hC : 0 ≤ C) + (h : ℕ → {v : V // ‖v‖ ≤ δ} → V) + (hlip : ∀ n d, 0 < d → d ≤ δ → ∀ v w, + ‖v.1‖ ≤ d → ‖w.1‖ ≤ d → ‖h n v - h n w‖ ≤ + C * (d + (expandingRadius L ((n : ℝ) * M)) ^ (-2 - a)) * ‖v.1 - w.1‖) : + ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → + ‖cutoffRemainderExtension δ h n v - cutoffRemainderExtension δ h n w‖ ≤ + (C * (ρ + L ^ (-2 - a))) * ‖v - w‖ := by + intro n v w hv hw + have hgeo : (Real.exp (-(2 + a) * M / 2)) ^ n ≤ 1 := + pow_le_one₀ (Real.exp_nonneg _) (Real.exp_le_one_iff.mpr (by + have hp := mul_nonneg (show 0 ≤ 2 + a by linarith) hM + nlinarith)) + have hpow : (expandingRadius L ((n : ℝ) * M)) ^ (-2 - a) ≤ L ^ (-2 - a) := by + rw [expandingRadius_discrete_residual a L M hL n] + exact mul_le_of_le_one_right (Real.rpow_nonneg hL.le _) hgeo + have hvδ := hv.trans hρδ + have hwδ := hw.trans hρδ + simp only [cutoffRemainderExtension, dite_eq_left hvδ, dite_eq_left hwδ] + exact (hlip n ρ hρ hρδ ⟨v, hvδ⟩ ⟨w, hwδ⟩ hv hw).trans + (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left + (add_le_add le_rfl hpow) hC) (norm_nonneg _)) + +theorem cutoffRemainderExtension_zero_bound {V : Type*} [NormedAddCommGroup V] + (a L M δ C : ℝ) (hL : 0 < L) (hδ : 0 ≤ δ) + (h : ℕ → {v : V // ‖v‖ ≤ δ} → V) + (hzero : ∀ n z, z.1 = 0 → ‖h n z‖ ≤ + C * (expandingRadius L ((n : ℝ) * M)) ^ (-2 - a)) : + ∀ n, ‖cutoffRemainderExtension δ h n 0‖ ≤ + (C * L ^ (-2 - a)) * (Real.exp (-(2 + a) * M / 2)) ^ n := by + intro n + have h0 : ‖(0 : V)‖ ≤ δ := by simpa only [norm_zero] using hδ + rw [cutoffRemainderExtension, dite_eq_left h0] + simpa only [expandingRadius_discrete_residual a L M hL n, mul_assoc] using + hzero n ⟨0, h0⟩ rfl + +theorem exists_cutoffRemainder_small_lipschitz (a C δ η : ℝ) + (ha : 0 < a) (hC : 0 ≤ C) (hδ : 0 < δ) (hη : 0 < η) : + ∃ ρ L₀ : ℝ, 0 < ρ ∧ ρ ≤ δ ∧ 1 ≤ L₀ ∧ + ∀ L : ℝ, L₀ ≤ L → C * (ρ + L ^ (-2 - a)) ≤ η := by + let ρ := min δ (η / (4 * (C + 1))) + have hρ : 0 < ρ := lt_min hδ (by positivity) + have hρδ : ρ ≤ δ := min_le_left _ _ + have hρsmall : C * ρ ≤ η / 4 := by + have h := (le_div_iff₀ (show 0 < 4 * (C + 1) by positivity)).mp + (show ρ ≤ η / (4 * (C + 1)) from min_le_right _ _) + nlinarith [mul_nonneg hC hρ.le] + obtain ⟨L₀, hL₀, hlarge⟩ := exists_cutoffResidual_small_scale a C (η / 2) ha (by positivity) + refine ⟨ρ, L₀, hρ, hρδ, hL₀, ?_⟩ + intro L hL + have h := hlarge L hL + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffSymbolSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffSymbolSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..c82798ec7f145ca862e43b38b636be6d7f54a04e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffSymbolSampling.lean @@ -0,0 +1,35 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzProfileSampling + +namespace OAI + +/-! # Uniform sampling from the profile's finite symbol bounds -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffProfile_sampling_of_global_symbol (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), + ‖schwartzTorusSample a k L ha1 hk hL (radianFourierKernel + (cutoffProfileSchwartz L (lt_of_lt_of_le zero_lt_one hL) χ hχ Q hQ))‖ ≤ C := by + classical + obtain ⟨N, hN⟩ := exists_cutoffProfile_sampling_bound a k ha ha1 hk χ hχ hχzero + choose D hD hb using hsymbol + let B := ∑ j ∈ Finset.range (N + 1), D j + have hB : 0 ≤ B := Finset.sum_nonneg (fun j _ => hD j) + apply hN Q hQ B hB + intro j hj y hy + apply (hb j y hy).trans + apply mul_le_mul_of_nonneg_right _ (by positivity) + exact Finset.single_le_sum (fun i _ => hD i) + (Finset.mem_range.mpr (by omega)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTimeLipschitz.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTimeLipschitz.lean new file mode 100644 index 0000000000000000000000000000000000000000..ee5d6adb63caebdbbd7775e5146617f8e70b87f2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTimeLipschitz.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffMixedTaylor + +namespace OAI + +/-! # Uniform first-order bounds for the joint time and translation perturbation -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem cutoffProfile_time_lipschitz (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : Radius), 2 ≤ L.1 → ∀ t : ℝ, + |t| ≤ 2 * Real.log 2 → |t| ≤ 1 → + ‖fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t) - + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1‖ ≤ C * |t| := by + have hT := cartesianTransport_global_symbol a Q hQ hsymbol + have hTT := cartesianTransport_global_symbol a (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) hT + obtain ⟨B, hB, hb⟩ := cutoffProfile_sampling_of_global_symbol a k ha ha1 hk χ hχ hχzero + (cartesianTransport (cartesianTransport Q)) + (cartesianTransport_contDiff _ (cartesianTransport_contDiff Q hQ)) hTT + obtain ⟨D, hD, hd⟩ := cutoffProfile_sampling_of_global_symbol a k ha ha1 hk χ hχ hχzero + (cartesianTransport Q) (cartesianTransport_contDiff Q hQ) hT + let A := (2 ^ a + 2 ^ (k - 6)) * B + have hA : 0 ≤ A := by dsimp [A]; positivity + refine ⟨A + D, add_nonneg hA hD, ?_⟩ + intro L hL t ht ht1 + let u := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t) + let q := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + let d := fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1 + have htime : ‖u - q - t • d‖ ≤ A * |t| ^ 2 := + fixedCutoffProfile_logRadius_taylor a k ha ha1 hk L hL χ hχ Q hQ B hB + (fun R => hb R.1 R.2) t ht + have hdn : ‖d‖ ≤ D := by + simpa only [d, fixedCutoffProfile_self, physicalSchwartzTorusSamplingCLM_apply] using hd L.1 L.2 + have hsq : |t| ^ 2 ≤ |t| := by nlinarith [abs_nonneg t] + calc + _ ≤ ‖u - q - t • d‖ + ‖t • d‖ := by + simpa only [sub_zero] using norm_sub_le_norm_sub_add_norm_sub (u - q) (t • d) 0 + _ ≤ A * |t| ^ 2 + |t| * D := by + rw [norm_smul, Real.norm_eq_abs] + exact add_le_add htime (mul_le_mul_of_nonneg_left hdn (abs_nonneg _)) + _ ≤ _ := by nlinarith [mul_le_mul_of_nonneg_left hsq hA] + +theorem cutoffProfile_mixed_first_bound (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : Radius), 2 ≤ L.1 → ∀ (t : ℝ) (v : E), + |t| ≤ 2 * Real.log 2 → |t| ≤ 1 → + ‖sobolevTranslation (euclideanToTorus ((1 / L.1) • v)) + (fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t)) - + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1‖ ≤ C * (|t| + ‖v‖) := by + obtain ⟨A, hA, ht⟩ := cutoffProfile_time_lipschitz a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + obtain ⟨B, hB, hs⟩ := cutoffProfile_translation_lipschitz a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + refine ⟨A + B, add_nonneg hA hB, ?_⟩ + intro L hL t v htlog ht1 + let u := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t) + let q := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + let S := sobolevTranslation (euclideanToTorus ((1 / L.1) • v)) + have hshift : ‖S q - q‖ ≤ B * ‖v‖ := by + simpa only [S, q, fixedCutoffProfile_self] using hs L.1 L.2 v + calc + _ ≤ ‖S u - S q‖ + ‖S q - q‖ := norm_sub_le_norm_sub_add_norm_sub (S u) (S q) q + _ = ‖u - q‖ + ‖S q - q‖ := by rw [← map_sub, S.norm_map] + _ ≤ A * |t| + B * ‖v‖ := add_le_add (ht L hL t htlog ht1) hshift + _ ≤ _ := by nlinarith [mul_nonneg hA (norm_nonneg v), mul_nonneg hB (abs_nonneg t)] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTranslationTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTranslationTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..91728a536d3b18ba915334578d2c46405566bd60 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTranslationTaylor.lean @@ -0,0 +1,40 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampleDerivativeBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffSymbolSampling + +namespace OAI + +/-! # A uniform quadratic translation remainder for cutoff profiles -/ + +open scoped SchwartzMap LineDeriv ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem cutoffProfile_translation_taylor (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L) (v : E), + let ψ := cutoffProfileSchwartz L (by linarith) χ hχ Q hQ + ‖sobolevTranslation (euclideanToTorus ((1 / L) • v)) + (physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ) - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL ψ - + physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} ψ)‖ ≤ C * ‖v‖ ^ 2 := by + obtain ⟨B, hB, hb⟩ := cutoffProfile_sampling_of_global_symbol a (k + 2) ha ha1 + (by linarith) χ hχ hχzero Q hQ hsymbol + refine ⟨(2 ^ (6 - a) + 1) ^ 2 * B, by positivity, ?_⟩ + intro L hL v ψ + calc + _ ≤ ‖physicalSchwartzTorusSamplingCLM a k L ha1 hk hL (∂_{v} (∂_{v} ψ))‖ := + translated_schwartzSample_taylor a k L ha1 hk hL ψ v + _ ≤ (2 ^ (6 - a) + 1) ^ 2 * ‖v‖ ^ 2 * + ‖physicalSchwartzTorusSamplingCLM a (k + 2) L ha1 (by linarith) hL ψ‖ := + schwartzSample_secondDirectional_norm_le a k L ha ha1 hk hL ψ v + _ ≤ (2 ^ (6 - a) + 1) ^ 2 * ‖v‖ ^ 2 * B := + mul_le_mul_of_nonneg_left (hb L hL) (by positivity) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTransport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTransport.lean new file mode 100644 index 0000000000000000000000000000000000000000..07787be42dcb5c3211011be90a09db1abf49040e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffTransport.lean @@ -0,0 +1,109 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffLaplacian +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingFreeStep +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! # The moving cutoff has zero transport derivative + +This identifies the displayed residual with the actual similarity-equation +defect of the cutoff profile, including its time derivative. +-/ + +open scoped Laplacian ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def movingProfileCutoff (χ : E → ℝ) (L s : ℝ) (y : E) : ℝ := + χ ((L⁻¹ * Real.exp (-s / 2)) • y) + +theorem movingProfileCutoff_eq (χ : E → ℝ) (L s : ℝ) (y : E) : + movingProfileCutoff χ L s y = χ ((expandingRadius L s)⁻¹ • y) := by + unfold movingProfileCutoff expandingRadius + rw [mul_inv_rev, ← Real.exp_neg] + congr 2 + ring_nf + +theorem hasDerivAt_movingProfileCutoff (χ : E → ℝ) (hχ : Differentiable ℝ χ) + (L s : ℝ) (y : E) : + HasDerivAt (fun t => movingProfileCutoff χ L t y) + (-(1 / 2 : ℝ) * fderiv ℝ χ ((L⁻¹ * Real.exp (-s / 2)) • y) + ((L⁻¹ * Real.exp (-s / 2)) • y)) s := by + let c := L⁻¹ * Real.exp (-s / 2) + have hc : HasDerivAt (fun t : ℝ => L⁻¹ * Real.exp (-t / 2)) (-(1 / 2 : ℝ) * c) s := by + apply (((hasDerivAt_id s).neg.div_const 2).exp.const_mul L⁻¹).congr_deriv + dsimp [c] + ring_nf + have h := (hχ (c • y)).hasFDerivAt.comp_hasDerivAt s (hc.smul_const y) + apply h.congr_deriv + simp only [map_smul, smul_eq_mul] + dsimp only [c] + ring_nf + +theorem movingProfileCutoff_transport (χ : E → ℝ) (hχ : Differentiable ℝ χ) + (L s : ℝ) (y : E) : + deriv (fun t => movingProfileCutoff χ L t y) s + + fderiv ℝ (movingProfileCutoff χ L s) y ((1 / 2 : ℝ) • y) = 0 := by + rw [(hasDerivAt_movingProfileCutoff χ hχ L s y).deriv] + unfold movingProfileCutoff + rw [fderiv_comp_smul] + simp only [smul_apply, map_smul, smul_eq_mul] + ring_nf + +noncomputable def stationarySimilarityDefect (a b : ℝ) (m : ℕ) (Q : E → ℂ) (y : E) : ℂ := + Δ Q y + Complex.I * (fderiv ℝ Q y ((1 / 2 : ℝ) • y) + (a : ℂ) * Q y) + + (b : ℂ) * Q y - oddPowerNonlinearity m (Q y) + +theorem movingCutoff_similarity_defect (a b L s : ℝ) (m : ℕ) + (χ : E → ℝ) (hχ : ContDiff ℝ ∞ χ) (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (y : E) : + let U : ℝ → E → ℂ := fun t z => (movingProfileCutoff χ L t z : ℂ) * Q z + Complex.I * deriv (fun t => U t y) s + + Δ (U s) y + Complex.I * (fderiv ℝ (U s) y ((1 / 2 : ℝ) • y) + (a : ℂ) * U s y) + + (b : ℂ) * U s y - oddPowerNonlinearity m (U s y) = + (movingProfileCutoff χ L s y : ℂ) * stationarySimilarityDefect a b m Q y + + cutoffResidual m (expandingRadius L s) χ Q y := by + intro U + let c : E → ℝ := movingProfileCutoff χ L s + have hc : ContDiff ℝ ∞ c := hχ.comp (contDiff_id.const_smul _) + have hcC : ContDiff ℝ ∞ (fun z => (c z : ℂ)) := Complex.ofRealCLM.contDiff.comp hc + have ht : deriv (fun t => U t y) s = + ((deriv (fun t => movingProfileCutoff χ L t y) s : ℝ) : ℂ) * Q y := by + have hr := hasDerivAt_movingProfileCutoff χ (hχ.differentiable (by simp)) L s y + have h := ((Complex.ofRealCLM.hasFDerivAt.comp_hasDerivAt s hr).mul_const (Q y)).deriv + rw [hr.deriv] + exact h + have hd : fderiv ℝ (U s) y ((1 / 2 : ℝ) • y) = + (c y : ℂ) * fderiv ℝ Q y ((1 / 2 : ℝ) • y) + + (fderiv ℝ c y ((1 / 2 : ℝ) • y) : ℂ) * Q y := by + have hcast := Complex.ofRealCLM.hasFDerivAt.comp y (hc.differentiable (by simp) y).hasFDerivAt + have hcast' : fderiv ℝ (fun z => (c z : ℂ)) y = + Complex.ofRealCLM.comp (fderiv ℝ c y) := hcast.fderiv + change fderiv ℝ (fun z => (c z : ℂ) * Q z) y _ = _ + rw [fderiv_fun_mul (hcC.differentiable (by simp) y) (hQ.differentiable (by simp) y), hcast'] + simp only [add_apply, smul_apply, + ContinuousLinearMap.comp_apply, Complex.ofRealCLM_apply, smul_eq_mul] + ring_nf + have hz := movingProfileCutoff_transport χ (hχ.differentiable (by simp)) L s y + have hzC : ((deriv (fun t => movingProfileCutoff χ L t y) s : ℝ) : ℂ) + + (fderiv ℝ c y ((1 / 2 : ℝ) • y) : ℂ) = 0 := by exact_mod_cast hz + have hs := cutoffResidual_spatial_identity m (expandingRadius L s) χ Q hχ hQ y + have heq : U s = fun z => (χ ((expandingRadius L s)⁻¹ • z) : ℂ) * Q z := by + funext z + rw [show U s z = (movingProfileCutoff χ L s z : ℂ) * Q z from rfl, + movingProfileCutoff_eq] + have hspatial : Δ (U s) y - oddPowerNonlinearity m (U s y) = + (c y : ℂ) * (Δ Q y - oddPowerNonlinearity m (Q y)) + + cutoffResidual m (expandingRadius L s) χ Q y := by + rw [heq] + simpa only [c, movingProfileCutoff_eq] using hs + rw [ht, hd] + unfold stationarySimilarityDefect + change _ = (c y : ℂ) * _ + _ + linear_combination hspatial + Complex.I * Q y * hzC + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCoordinateStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCoordinateStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..0d6853989075faf17f766105e14f83ff384b17f9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCoordinateStableOrbit.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ContinuousCoordinateStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ContinuousTorusCoordinateTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteCoordinateComplete + +namespace OAI + +/-! # Global stable orbits in the retained diagonal coordinates -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + +def HasContinuousDiagonalCoordinateOrbits + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) + (π : HomogeneousY a k →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) : Prop := + HasContinuousCoordinateStableOrbits + (F := (diagonalRealCoordinates π G hspan hspec).range) + a b k ha ha1 hk m χ hχ Qp hQp + (expandingCoordinates a k ha ha1 hk χ (diagonalRealCoordinates π G hspan hspec).rangeRestrict) + +attribute [local irreducible] HasContinuousCoordinateStableOrbits HasContinuousTorusCoordinateData + +theorem continuousDiagonalCoordinateOrbits_of_linear + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (π : HomogeneousY a k →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (hlinear : HasContinuousDiagonalCoordinateData a k ha ha1 hk π G hspan hspec χ + (cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb)) + (hnonlinear : ∀ T : ℝ≥0, HasContinuousCutoffNonlinearSteps a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T) : + HasContinuousDiagonalCoordinateOrbits a b k ha ha1 hk m χ hχ Qp hQp π G hspan hspec := by + obtain ⟨T₀, _, hT₀⟩ := hlinear + let c := diagonalRealCoordinates π G hspan hspec + let : FiniteDimensional ℝ (SymmetryCoordinates G) := + FiniteDimensional.trans ℝ ℂ (SymmetryCoordinates G) + let : CompleteSpace c.range := finiteCoordinate_complete c + obtain ⟨M₀, hM₀, hM⟩ := exists_cutoffStep_geometric_ratio a ha + let T : ℝ≥0 := ⟨max T₀ M₀, hM₀.le.trans (le_max_right _ _)⟩ + have hT : 0 < (T : ℝ) := hM₀.trans_le (le_max_right _ _) + have hr : 2 * Real.exp (-(2 + a) * T / 2) ≤ 1 := + (hM T (le_max_right _ _)).trans (by norm_num) + have hlin := hT₀ T (le_max_left _ _) + exact exists_continuous_coordinateStable_orbits a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T hT hr + (expandingCoordinates a k ha ha1 hk χ c.rangeRestrict) hlin (hnonlinear T) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCutoffBlowup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCutoffBlowup.lean new file mode 100644 index 0000000000000000000000000000000000000000..a4a1ea4d46305eb4a40ffe4e09a89321eb748bbd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCutoffBlowup.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalCutoffStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableBlowup + +namespace OAI + +/-! # Blowup data from finite diagonal stable coordinates -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] diagonalRealCoordinates + +theorem exists_diagonalCutoff_blowup {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (ham : 2 * a * m = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ y : E, ‖y‖ < 1 / 2 → χ y = 1) + (hχzero : ∀ y : E, 2 < ‖y‖ → χ y = 0) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (hQzero : Qp 0 ≠ 0) + (π : HomogeneousY a k →L[ℝ] V) + (hstable : HasFiniteDiagonalCutoffStableOrbits a b k ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp π) : + ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → ∃ f : FourierL2, + BddAbove (maximalSobolevInteractionDomain k (by linarith) m f) ∧ + sSup (maximalSobolevInteractionDomain k (by linarith) m f) = L.1 ^ (-2 : ℝ) ∧ + Tendsto (fun t => (L.1 ^ (-2 : ℝ) - t) ^ a * + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k (by linarith) m f t) 0‖) + (𝓝[<] (L.1 ^ (-2 : ℝ))) (𝓝 ‖Qp 0‖) := by + obtain ⟨G, hspan, hspec, horbit⟩ := hstable + obtain ⟨ρ, hρ, L₀, hL₀⟩ := exists_cutoffStable_blowup a b k ha ha1 hk m ham + χ hχ hχone hχzero Qp hQp hQzero horbit + refine ⟨L₀, fun L hL => ?_⟩ + obtain ⟨ζ, π, _, hw⟩ := hL₀ L hL + obtain ⟨f, _, hf⟩ := hw 0 (by simpa using (by positivity : (0 : ℝ) ≤ ρ / 4)) (map_zero π) + exact ⟨f, hf⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCutoffStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCutoffStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..7e12b92829c7e7d60a158d21f86efde738302ac9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalCutoffStableOrbit.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusLinearStepAssembly +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteCoordinateComplete + +namespace OAI + +/-! # The finite symmetry coordinates select global stable cutoff orbits -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] diagonalRealCoordinates + +def HasFiniteDiagonalCutoffStableOrbits {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (π : HomogeneousY a k →L[ℝ] V) : Prop := + ∃ G : V →L[ℂ] V, + ∃ hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤, + ∃ hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2, + HasCutoffStableOrbits (F := (diagonalRealCoordinates π G hspan hspec).range) + a b k ha ha1 hk m χ hχ Qp hQp + +theorem cutoffStableOrbits_of_linear_steps {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) (Q : ℝ) (hQ : 0 ≤ Q) + (hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk χ hχ Qp hQp L‖ ≤ Q) + (π : HomogeneousY a k →L[ℝ] V) + (hlinear : HasFiniteDiagonalTorusLinearSteps π + (cutoffProfileEndpoint a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb)) + (hnonlinear : ∀ T : ℝ≥0, HasCutoffNonlinearSteps a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T) : + HasFiniteDiagonalCutoffStableOrbits a b k ha ha1 hk m χ hχ Qp hQp π := by + obtain ⟨G, hspan, hspec, T₀, _, hT₀⟩ := hlinear + let : FiniteDimensional ℝ (SymmetryCoordinates G) := + FiniteDimensional.trans ℝ ℂ (SymmetryCoordinates G) + let F := (diagonalRealCoordinates π G hspan hspec).range + let : CompleteSpace F := finiteCoordinate_complete (diagonalRealCoordinates π G hspan hspec) + obtain ⟨M₀, hM₀, hM⟩ := exists_cutoffStep_geometric_ratio a ha + let T : ℝ≥0 := ⟨max T₀ M₀, hM₀.le.trans (le_max_right _ _)⟩ + have hT : 0 < (T : ℝ) := hM₀.trans_le (le_max_right _ _) + have hr : 2 * Real.exp (-(2 + a) * T / 2) ≤ 1 := + (hM T (le_max_right _ _)).trans (by norm_num) + refine ⟨G, hspan, hspec, ?_⟩ + exact exists_cutoffStable_orbits (F := F) a b k ha ha1 hk m χ hχ Qp hQp Q hQ hqb T hT hr + (hT₀ T (le_max_left _ _)) (hnonlinear T) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalRealCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalRealCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..e66afcb5cccfef6e167ae5eb2297d9e4c2e69475 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/DiagonalRealCoordinates.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryBackward +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteInvariantInverse + +namespace OAI + +/-! # Real coordinate images inside the diagonal symmetry coordinates -/ + +namespace DefocusingNLS + +variable {H V : Type*} [NormedAddCommGroup H] [NormedSpace ℝ H] + [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + +noncomputable def diagonalRealCoordinates (π : H →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) : H →L[ℝ] SymmetryCoordinates G := + ((symmetryCoordinateEquiv G hspan hspec).symm.toContinuousLinearMap.restrictScalars ℝ).comp π + +theorem diagonalRealCoordinates_zero_iff (π : H →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) (u : H) : + diagonalRealCoordinates π G hspan hspec u = 0 ↔ π u = 0 := by + change (symmetryCoordinateEquiv G hspan hspec).symm (π u) = 0 ↔ π u = 0 + exact (symmetryCoordinateEquiv G hspan hspec).symm.map_eq_zero_iff + +theorem diagonalRealCoordinates_step (π : H →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (S : H →L[ℝ] H) (t : ℝ) + (hπ : ∀ u, π (S u) = NormedSpace.exp (t • G) (π u)) (u : H) : + diagonalRealCoordinates π G hspan hspec (S u) = + symmetryCoordinateEvolution G t (diagonalRealCoordinates π G hspan hspec u) := by + let e := symmetryCoordinateEquiv G hspan hspec + apply e.injective + change e (e.symm (π (S u))) = e (symmetryCoordinateEvolution G t (e.symm (π u))) + rw [e.apply_symm_apply, hπ u] + have he := symmetryCoordinateEvolution_intertwines G t (e.symm (π u)) + change NormedSpace.exp (t • G) (e (e.symm (π u))) = + e (symmetryCoordinateEvolution G t (e.symm (π u))) at he + simpa only [e.apply_symm_apply] using he + +theorem diagonalRealCoordinates_range_inverse (π : H →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (S : H →L[ℝ] H) (t : ℝ) (ht : 0 ≤ t) + (hπ : ∀ u, π (S u) = NormedSpace.exp (t • G) (π u)) : + let c := diagonalRealCoordinates π G hspan hspec + ∃ D R : c.range →L[ℝ] c.range, + (∀ v : c.range, (D v : SymmetryCoordinates G) = symmetryCoordinateEvolution G t v) ∧ + (∀ v : c.range, (R v : SymmetryCoordinates G) = symmetryCoordinateEvolution G (-t) v) ∧ + (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ u, D (c.rangeRestrict u) = c.rangeRestrict (S u)) := by + intro c + let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V + have hd : ∀ v ∈ c.range, symmetryCoordinateEvolution G t v ∈ c.range := by + rintro v ⟨u, rfl⟩ + exact ⟨S u, diagonalRealCoordinates_step π G hspan hspec S t hπ u⟩ + obtain ⟨D, R, hD, hR, hDR, hRn⟩ := finite_subspace_contracting_inverse c.range + ((symmetryCoordinateEvolution G t).restrictScalars ℝ) + ((symmetryCoordinateEvolution G (-t)).restrictScalars ℝ) + (fun v => by + change symmetryCoordinateEvolution G (-t) (symmetryCoordinateEvolution G t v) = v + simpa only [neg_neg] using symmetryCoordinateEvolution_inverse G (-t) v) + (symmetryCoordinateEvolution_inverse G t) hd + (by simpa only [ContinuousLinearMap.norm_restrictScalars] using + symmetryCoordinateEvolution_backward_norm G t ht) + refine ⟨D, R, hD, hR, hDR, hRn, fun u => Subtype.ext ?_⟩ + rw [hD] + exact (diagonalRealCoordinates_step π G hspan hspec S t hπ u).symm + +theorem diagonalRealCoordinates_has_inverse (π : H →L[ℝ] V) (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (S : H →L[ℝ] H) (t : ℝ) (ht : 0 ≤ t) + (hπ : ∀ u, π (S u) = NormedSpace.exp (t • G) (π u)) : + HasContractingCoordinateInverse (diagonalRealCoordinates π G hspan hspec) S := by + obtain ⟨D, R, _, _, hDR, hR, hD⟩ := + diagonalRealCoordinates_range_inverse π G hspan hspec S t ht hπ + exact ⟨D, R, hDR, hR, fun u => (hD u).symm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ExponentialModulationTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ExponentialModulationTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..b7badc635590eec755326bc69deb8b750d016310 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ExponentialModulationTaylor.lean @@ -0,0 +1,40 @@ +import Mathlib.Analysis.SpecialFunctions.Exp + +namespace OAI + +/-! # Multiplying a first-order vector expansion by a complex exponential -/ + +namespace DefocusingNLS +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + +theorem complex_exp_sub_one_bound (z : ℂ) (hz : ‖z‖ ≤ 1) : + ‖Complex.exp z - 1‖ ≤ 2 * ‖z‖ := by + calc + _ ≤ ‖Complex.exp z - 1 - z‖ + ‖z‖ := by + have h := norm_add_le (Complex.exp z - 1 - z) z + simpa only [sub_add_cancel] using h + _ ≤ ‖z‖ ^ 2 + ‖z‖ := add_le_add (Complex.norm_exp_sub_one_sub_id_le hz) le_rfl + _ ≤ _ := by nlinarith [norm_nonneg z] + +theorem exponential_modulation_taylor (z : ℂ) (hz : ‖z‖ ≤ 1) (u q d : V) : + ‖Complex.exp z • u - q - (z • q + d)‖ ≤ + ‖u - q - d‖ + ‖z‖ ^ 2 * ‖q‖ + 2 * ‖z‖ * ‖u - q‖ := by + have he : Complex.exp z • u - q - (z • q + d) = + (u - q - d) + (Complex.exp z - 1 - z) • q + + (Complex.exp z - 1) • (u - q) := by + simp only [sub_smul, one_smul, smul_sub] + abel + rw [he] + calc + _ ≤ ‖u - q - d‖ + ‖(Complex.exp z - 1 - z) • q‖ + + ‖(Complex.exp z - 1) • (u - q)‖ := + (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) + _ ≤ _ := by + simp only [norm_smul] + exact add_le_add (add_le_add le_rfl + (mul_le_mul_of_nonneg_right (Complex.norm_exp_sub_one_sub_id_le hz) (norm_nonneg q))) + (mul_le_mul_of_nonneg_right (complex_exp_sub_one_bound z hz) (norm_nonneg _)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteCoordinateComplete.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteCoordinateComplete.lean new file mode 100644 index 0000000000000000000000000000000000000000..ae6dbae85b15098a82d8e846c60ddb48ebca7d93 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteCoordinateComplete.lean @@ -0,0 +1,17 @@ +import Mathlib.Analysis.Normed.Module.FiniteDimension + +namespace OAI + +/-! Completeness of the image of finite-dimensional real coordinates. -/ + +namespace DefocusingNLS + +theorem finiteCoordinate_complete {H F : Type*} + [NormedAddCommGroup H] [NormedSpace ℝ H] + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + (c : H →L[ℝ] F) : CompleteSpace c.range := + FiniteDimensional.complete ℝ c.range + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteGaussian.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteGaussian.lean new file mode 100644 index 0000000000000000000000000000000000000000..262377546fd8b6717b1d8f82d3173729b275e025 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteGaussian.lean @@ -0,0 +1,80 @@ +import Mathlib.Analysis.Complex.Basic +import Mathlib.MeasureTheory.Constructions.Pi +import Mathlib.MeasureTheory.Measure.OpenPos +import Mathlib.Probability.Distributions.Gaussian.Real + +namespace OAI + +/-! +# Positivity of finite Gaussian Fourier blocks + +A finite list of independent nondegenerate complex Gaussians charges every +nonempty open coefficient set. Multiplication by any nonzero Fourier weights +preserves that property. This is the finite-block ingredient in the Gaussian +support argument for Corollary 1.2 of the stable defocusing NLS manuscript. +-/ + +open MeasureTheory ProbabilityTheory Set +open scoped ENNReal NNReal + +namespace DefocusingNLS + +/-- A nondegenerate real Gaussian is positive on nonempty open sets. -/ +theorem gaussianReal_isOpenPosMeasure (m : ℝ) {v : ℝ≥0} (hv : v ≠ 0) : + (gaussianReal m v).IsOpenPosMeasure := + (gaussianReal_absolutelyContinuous' m hv).isOpenPosMeasure + +/-- Independent centered real and imaginary Gaussian coordinates, each of +variance `v`. The usual standard complex Gaussian takes `v = 1/2`. -/ +noncomputable def complexGaussian (v : ℝ≥0) : Measure ℂ := + ((gaussianReal 0 v).prod (gaussianReal 0 v)).map + Complex.equivRealProdCLM.symm + +instance complexGaussian_isProbabilityMeasure (v : ℝ≥0) : + IsProbabilityMeasure (complexGaussian v) := by + unfold complexGaussian + infer_instance + +/-- Real and imaginary nondegeneracy give full topological support on `ℂ`. -/ +theorem complexGaussian_isOpenPosMeasure {v : ℝ≥0} (hv : v ≠ 0) : + (complexGaussian v).IsOpenPosMeasure := by + let := gaussianReal_isOpenPosMeasure 0 hv + exact Complex.equivRealProdCLM.symm.continuous.isOpenPosMeasure_map + Complex.equivRealProdCLM.symm.surjective + +/-- The independent finite Fourier block has full support. -/ +theorem finite_complexGaussian_isOpenPosMeasure {ι : Type*} [Fintype ι] + {v : ℝ≥0} (hv : v ≠ 0) : + (Measure.pi (fun _ : ι => complexGaussian v)).IsOpenPosMeasure := by + let := complexGaussian_isOpenPosMeasure hv + infer_instance + +/-- Multiplying each finite Fourier coefficient by a nonzero weight preserves +full support. In particular all polynomial Fourier-decay weights qualify. -/ +theorem weighted_finite_complexGaussian_isOpenPosMeasure + {ι : Type*} [Fintype ι] {v : ℝ≥0} (hv : v ≠ 0) + (w : ι → ℂ) (hw : ∀ i, w i ≠ 0) : + ((Measure.pi (fun _ : ι => complexGaussian v)).map + (fun z : ι → ℂ => fun i => w i * z i)).IsOpenPosMeasure := by + let := finite_complexGaussian_isOpenPosMeasure (ι := ι) hv + have hcont : Continuous (fun z : ι → ℂ => fun i => w i * z i) := by + fun_prop + apply hcont.isOpenPosMeasure_map + intro z + refine ⟨fun i => (w i)⁻¹ * z i, ?_⟩ + funext i + simp [hw i] + +/-- Every prescribed finite coefficient vector can be approximated with +positive probability, including after nonzero Fourier weights are applied. -/ +theorem weighted_finite_complexGaussian_ball_pos + {ι : Type*} [Fintype ι] {v : ℝ≥0} (hv : v ≠ 0) + (w : ι → ℂ) (hw : ∀ i, w i ≠ 0) (f : ι → ℂ) {r : ℝ} (hr : 0 < r) : + 0 < ((Measure.pi (fun _ : ι => complexGaussian v)).map + (fun z : ι → ℂ => fun i => w i * z i)) (Metric.ball f r) := by + let := weighted_finite_complexGaussian_isOpenPosMeasure hv w hw + exact Metric.isOpen_ball.measure_pos _ (Metric.nonempty_ball.mpr hr) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteGeneratorNoJordan.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteGeneratorNoJordan.lean new file mode 100644 index 0000000000000000000000000000000000000000..0a860d32af454eb0f1274bb6b5cb1fd2dc806101 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteGeneratorNoJordan.lean @@ -0,0 +1,49 @@ +import Mathlib.LinearAlgebra.Eigenspace.Triangularizable +import Mathlib.Analysis.Complex.Polynomial.Basic +import Mathlib.Tactic + +namespace OAI + +/-! Exclusion of length-two Jordan chains makes the eigenspaces span. -/ + +namespace DefocusingNLS + +variable {V : Type*} [AddCommGroup V] [Module ℂ V] + +theorem generator_maxGenEigenspace_eq (G : Module.End ℂ V) + (hJ : ∀ (lam : ℂ) (v w : V), w ≠ 0 → G w=lam • w → G v ≠ lam • v+w) + (lam : ℂ) : G.maxGenEigenspace lam=G.eigenspace lam := by + apply le_antisymm + · intro x hx + obtain ⟨k,hk⟩ := (Module.End.mem_maxGenEigenspace G lam x).mp hx + have hpow : ∀ (k : ℕ) (x : V), ((G-lam • (1 : Module.End ℂ V))^k) x=0 → (G-lam • (1 : Module.End ℂ V)) x=0 := by + intro k + induction k with + | zero => + intro x hx + simpa only [pow_zero,Module.End.one_apply,map_zero] using congrArg (fun y : V => (G-lam • (1 : Module.End ℂ V)) y) hx + | succ k ih => + intro x hx + have hh : (G-lam • (1 : Module.End ℂ V)) ((G-lam • (1 : Module.End ℂ V)) x)=0 := by + apply ih + simpa only [pow_succ,Module.End.mul_apply] using hx + by_contra hn + have he : G ((G-lam • (1 : Module.End ℂ V)) x)=lam • ((G-lam • (1 : Module.End ℂ V)) x) := by + simpa only [LinearMap.sub_apply,LinearMap.smul_apply,Module.End.one_apply, + sub_eq_zero] using hh + apply hJ lam x ((G-lam • (1 : Module.End ℂ V)) x) hn he + simp only [LinearMap.sub_apply,LinearMap.smul_apply,Module.End.one_apply] + abel + rw [Module.End.mem_eigenspace_iff] + simpa only [LinearMap.sub_apply,LinearMap.smul_apply,Module.End.one_apply, + sub_eq_zero] using hpow k x hk + · exact G.eigenspace_le_maxGenEigenspace + +theorem generator_eigenspaces_span [FiniteDimensional ℂ V] (G : Module.End ℂ V) + (hJ : ∀ (lam : ℂ) (v w : V), w ≠ 0 → G w=lam • w → G v ≠ lam • v+w) : + (⨆ lam : ℂ, G.eigenspace lam)=⊤ := by + simpa only [generator_maxGenEigenspace_eq G hJ] using G.iSup_maxGenEigenspace_eq_top + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteInvariantInverse.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteInvariantInverse.lean new file mode 100644 index 0000000000000000000000000000000000000000..5c892ebd7cc2ae2a047f21dce153b445f6c58a49 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteInvariantInverse.lean @@ -0,0 +1,51 @@ +import Mathlib.Analysis.Normed.Module.FiniteDimension + +namespace OAI + +/-! # An inverse preserves every finite-dimensional invariant subspace -/ + +namespace DefocusingNLS + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] + +def HasContractingCoordinateInverse {H : Type*} [NormedAddCommGroup H] [NormedSpace ℝ H] + (π : H →L[ℝ] F) (S : H →L[ℝ] H) : Prop := + ∃ D R : π.range →L[ℝ] π.range, + (∀ v, D (R v) = v) ∧ ‖R‖ ≤ 1 ∧ + (∀ u, π.rangeRestrict (S u) = D (π.rangeRestrict u)) + +theorem finite_subspace_inverse_invariant (V : Submodule ℝ F) [FiniteDimensional ℝ V] + (D R : F →L[ℝ] F) (hRD : ∀ v, R (D v) = v) (_hDR : ∀ v, D (R v) = v) + (hD : ∀ v ∈ V, D v ∈ V) : ∀ v ∈ V, R v ∈ V := by + let DV : V →L[ℝ] V := D.restrict hD + have hDi : Function.Injective D := Function.LeftInverse.injective hRD + have hi : Function.Injective DV := by + intro u v huv + apply Subtype.ext + exact hDi (congrArg Subtype.val huv) + have hs : Function.Surjective DV := LinearMap.injective_iff_surjective.mp hi + intro v hv + obtain ⟨u, hu⟩ := hs ⟨v, hv⟩ + have he : D (u : F) = v := congrArg Subtype.val hu + have hr : R v = (u : F) := by rw [← he, hRD] + rw [hr] + exact u.property + +theorem finite_subspace_contracting_inverse (V : Submodule ℝ F) [FiniteDimensional ℝ V] + (D R : F →L[ℝ] F) (hRD : ∀ v, R (D v) = v) (hDR : ∀ v, D (R v) = v) + (hD : ∀ v ∈ V, D v ∈ V) (hR : ‖R‖ ≤ 1) : + ∃ Dv Rv : V →L[ℝ] V, + (∀ v : V, (Dv v : F) = D v) ∧ + (∀ v : V, (Rv v : F) = R v) ∧ + (∀ v, Dv (Rv v) = v) ∧ ‖Rv‖ ≤ 1 := by + have hi := finite_subspace_inverse_invariant V D R hRD hDR hD + refine ⟨D.restrict hD, R.restrict hi, fun _ => rfl, fun _ => rfl, ?_, ?_⟩ + · intro v + exact Subtype.ext (hDR v) + · apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one + intro v + exact (R.le_opNorm v).trans (mul_le_mul_of_nonneg_right hR (norm_nonneg (v : F))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteOperatorConvergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteOperatorConvergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..b72f34bd20ae89c52a4792f7c779167f51d8d1e8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteOperatorConvergence.lean @@ -0,0 +1,48 @@ +import Mathlib.Analysis.Normed.Module.FiniteDimension + +namespace OAI + +/-! # Pointwise convergence of operators with finite-dimensional domain -/ + +open Filter Topology + +namespace DefocusingNLS + +theorem tendsto_finite_domain_operator_of_basis {E F ι : Type*} + [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + [Fintype ι] (b : Module.Basis ι ℝ E) + (A : ℕ → E →L[ℝ] F) (B : E →L[ℝ] F) + (h : ∀ i, Tendsto (fun n => A n (b i)) atTop (𝓝 (B (b i)))) : + Tendsto A atTop (𝓝 B) := by + classical + obtain ⟨C, hC, hbound⟩ := b.exists_opNorm_le (F := F) + apply tendsto_iff_norm_sub_tendsto_zero.mpr + apply (tendsto_order.2 ⟨?_, ?_⟩) + · intro ε hε + exact Filter.Eventually.of_forall (fun n => hε.trans_le (norm_nonneg _)) + · intro ε hε + have he : 0 < ε / (2 * C) := div_pos hε (by positivity) + have hh : ∀ᶠ n in atTop, ∀ i, ‖A n (b i) - B (b i)‖ < ε / (2 * C) := by + apply eventually_all.mpr + intro i + exact (tendsto_iff_norm_sub_tendsto_zero.mp (h i)).eventually + (eventually_lt_nhds he) + filter_upwards [hh] with n hn + have hb : ‖A n - B‖ ≤ C * (ε / (2 * C)) := + hbound he.le (fun i => (hn i).le) + have hc : C * (ε / (2 * C)) = ε / 2 := by field_simp + linarith + +theorem tendsto_finite_domain_operator {E F : Type*} + [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + (A : ℕ → E →L[ℝ] F) (B : E →L[ℝ] F) + (h : ∀ v, Tendsto (fun n => A n v) atTop (𝓝 (B v))) : + Tendsto A atTop (𝓝 B) := + tendsto_finite_domain_operator_of_basis (Module.finBasis ℝ E) A B + (fun i => h ((Module.finBasis ℝ E) i)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryBackward.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryBackward.lean new file mode 100644 index 0000000000000000000000000000000000000000..10254bcb877ee692aa0a241569e8de28a5fa560a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryBackward.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousGeneratorEigenvector + +namespace OAI + +/-! The backward symmetry evolution is a contraction in product coordinates. -/ + +namespace DefocusingNLS +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + +noncomputable def symmetryCoordinateEvolution (G : V →L[ℂ] V) (t : ℝ) : + SymmetryCoordinates G →L[ℂ] SymmetryCoordinates G := + (ContinuousLinearMap.id ℂ _).prodMap + (((Real.exp t : ℂ) • ContinuousLinearMap.id ℂ _).prodMap + ((Real.exp (t/2) : ℂ) • ContinuousLinearMap.id ℂ _)) + +theorem symmetryCoordinateEvolution_inverse (G : V →L[ℂ] V) (t : ℝ) + (u : SymmetryCoordinates G) : + symmetryCoordinateEvolution G t (symmetryCoordinateEvolution G (-t) u)=u := by + change (u.1, ((Real.exp t : ℂ) • ((Real.exp (-t) : ℂ) • u.2.1), + (Real.exp (t/2) : ℂ) • ((Real.exp ((-t)/2) : ℂ) • u.2.2)))=u + rw [smul_smul,smul_smul,← Complex.ofReal_mul,← Complex.ofReal_mul, + ← Real.exp_add,← Real.exp_add] + simp only [add_neg_cancel,neg_div,Real.exp_zero,Complex.ofReal_one,one_smul] + +theorem symmetryCoordinateEvolution_backward_norm (G : V →L[ℂ] V) + (t : ℝ) (ht : 0≤t) : ‖symmetryCoordinateEvolution G (-t)‖ ≤ 1 := by + apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one + intro u + change ‖(u.1, ((Real.exp (-t) : ℂ) • u.2.1, + (Real.exp ((-t)/2) : ℂ) • u.2.2))‖ ≤ 1*‖u‖ + simp only [Prod.norm_def,norm_smul,Complex.norm_real,Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _),one_mul] + apply max_le_max le_rfl + apply max_le_max + · exact mul_le_of_le_one_left (norm_nonneg _) (Real.exp_le_one_iff.mpr (by linarith)) + · exact mul_le_of_le_one_left (norm_nonneg _) (Real.exp_le_one_iff.mpr (by linarith)) + +theorem symmetryCoordinateEvolution_intertwines [CompleteSpace V] + (G : V →L[ℂ] V) (t : ℝ) (u : SymmetryCoordinates G) : + NormedSpace.exp (t • G) (symmetryCoordinateSum G u)= + symmetryCoordinateSum G (symmetryCoordinateEvolution G t u) := by + have h0 : G (u.1 : V)=(0 : ℂ) • (u.1 : V) := + Module.End.mem_eigenspace_iff.mp u.1.property + have h1 : G (u.2.1 : V)=(1 : ℂ) • (u.2.1 : V) := + Module.End.mem_eigenspace_iff.mp u.2.1.property + have hh : G (u.2.2 : V)=(1/2 : ℂ) • (u.2.2 : V) := + Module.End.mem_eigenspace_iff.mp u.2.2.property + change NormedSpace.exp (t • G) ((u.1 : V)+(u.2.1 : V)+(u.2.2 : V))= + (u.1 : V)+(Real.exp t : ℂ) • (u.2.1 : V)+(Real.exp (t/2) : ℂ) • (u.2.2 : V) + rw [map_add,map_add,real_smul_operator_exp_apply_of_eigenvector G 0 _ h0, + real_smul_operator_exp_apply_of_eigenvector G 1 _ h1, + real_smul_operator_exp_apply_of_eigenvector G (1/2) _ hh] + have hct : (t : ℂ)*(1/2 : ℂ)=((t/2 : ℝ) : ℂ) := by push_cast; ring + simp only [mul_zero,Complex.exp_zero,one_smul,mul_one,hct,← Complex.ofReal_exp] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..31ab70646f192e30a6ce8e453b43b074fcfe0b56 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryCoordinates.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryDecomposition +import Mathlib.Analysis.Normed.Module.FiniteDimension + +namespace OAI + +/-! Product coordinates for the neutral, time, and translation eigenspaces. -/ + +namespace DefocusingNLS +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + +abbrev SymmetryCoordinates (G : V →L[ℂ] V) := + Module.End.eigenspace G.toLinearMap 0 × + (Module.End.eigenspace G.toLinearMap 1 × Module.End.eigenspace G.toLinearMap (1/2)) + +def symmetryCoordinateSum (G : V →L[ℂ] V) : SymmetryCoordinates G →ₗ[ℂ] V where + toFun u := u.1.val+u.2.1.val+u.2.2.val + map_add' := by intros; simp only [Prod.fst_add,Prod.snd_add,Submodule.coe_add]; abel + map_smul' := by intros; simp only [Prod.smul_fst,Prod.smul_snd,Submodule.coe_smul,smul_add,RingHom.id_apply] + +theorem symmetry_eigenvectors_independent (G : V →L[ℂ] V) (x₀ x₁ xh : V) + (h0 : G x₀=0) (h1 : G x₁=x₁) (hh : G xh=(1/2 : ℂ) • xh) + (hsum : x₀+x₁+xh=0) : x₀=0 ∧ x₁=0 ∧ xh=0 := by + have ha : x₁+(1/2 : ℂ) • xh=0 := by + simpa only [map_add,h0,h1,hh,map_zero,zero_add] using congrArg G hsum + have hb : x₁+(1/4 : ℂ) • xh=0 := by + have he := congrArg G ha + simpa only [map_add,map_smul,h1,hh,map_zero,smul_smul, + show (1/2 : ℂ)*(1/2)=1/4 by norm_num] using he + have hxh : xh=0 := by + calc + xh = (4 : ℂ) • ((x₁+(1/2 : ℂ) • xh)-(x₁+(1/4 : ℂ) • xh)) := by module + _ = 0 := by rw [ha,hb,sub_self,smul_zero] + have hx1 : x₁=0 := by simpa only [hxh,smul_zero,add_zero] using ha + exact ⟨by simpa only [hx1,hxh,add_zero] using hsum,hx1,hxh⟩ + +theorem symmetryCoordinateSum_bijective (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam)=⊤) + (hspec : ∀ (lam : ℂ) (w : V), w ≠ 0 → G w=lam • w → lam=0 ∨ lam=1 ∨ lam=1/2) : + Function.Bijective (symmetryCoordinateSum G) := by + constructor + · apply LinearMap.ker_eq_bot.mp + apply LinearMap.ker_eq_bot'.mpr + intro u hu + obtain ⟨h0,h1,hh⟩ := symmetry_eigenvectors_independent G u.1 u.2.1 u.2.2 + (by simpa only [zero_smul,ContinuousLinearMap.coe_coe] using Module.End.mem_eigenspace_iff.mp u.1.property) + (by simpa only [one_smul,ContinuousLinearMap.coe_coe] using Module.End.mem_eigenspace_iff.mp u.2.1.property) + (Module.End.mem_eigenspace_iff.mp u.2.2.property) hu + exact Prod.ext (Subtype.ext h0) (Prod.ext (Subtype.ext h1) (Subtype.ext hh)) + · intro x + obtain ⟨x₀,x₁,xh,hx,h0,h1,hh⟩ := symmetry_eigenvector_decomposition G.toLinearMap hspan hspec x + refine ⟨(⟨x₀,?_⟩,(⟨x₁,?_⟩,⟨xh,?_⟩)),hx.symm⟩ + · exact Module.End.mem_eigenspace_iff.mpr (by simpa only [zero_smul] using h0) + · exact Module.End.mem_eigenspace_iff.mpr (by simpa only [one_smul] using h1) + · exact Module.End.mem_eigenspace_iff.mpr hh + +noncomputable def symmetryCoordinateEquiv [FiniteDimensional ℂ V] (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam)=⊤) + (hspec : ∀ (lam : ℂ) (w : V), w ≠ 0 → G w=lam • w → lam=0 ∨ lam=1 ∨ lam=1/2) : + SymmetryCoordinates G ≃L[ℂ] V := + (LinearEquiv.ofBijective (symmetryCoordinateSum G) + (symmetryCoordinateSum_bijective G hspan hspec)).toContinuousLinearEquiv + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..44d5e6f9c888c868c6d8b9f23802fbb5716203b3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDecay.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryBackward +import Mathlib.Analysis.SpecificLimits.Normed + +namespace OAI + +/-! # A diagonal nonnegative symmetry orbit cannot decay to zero -/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS + +theorem finite_symmetry_exp_decay_eq_zero + {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (G : V →L[ℂ] V) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (u : V) (D δ : ℝ) (hδ : 0 < δ) + (hdecay : ∀ t : ℝ≥0, ‖NormedSpace.exp ((t : ℝ) • G) u‖ ≤ D * Real.exp (-δ * (t : ℝ))) : + u = 0 := by + let : CompleteSpace V := FiniteDimensional.complete ℂ V + let e := symmetryCoordinateEquiv G hspan hspec + let c := e.symm u + have hb (t : ℝ≥0) : ‖c‖ ≤ ‖e.symm.toContinuousLinearMap‖ * + (D * Real.exp (-δ * (t : ℝ))) := by + have he : symmetryCoordinateEvolution G t c = e.symm (NormedSpace.exp ((t : ℝ) • G) u) := by + apply e.injective + rw [e.apply_symm_apply] + exact (symmetryCoordinateEvolution_intertwines G t c).symm.trans + (congrArg (fun x : V => (NormedSpace.exp ((t : ℝ) • G) : V →L[ℂ] V) x) + (e.apply_symm_apply u)) + have hi : c = symmetryCoordinateEvolution G (-(t : ℝ)) + (e.symm (NormedSpace.exp ((t : ℝ) • G) u)) := by + rw [← he] + simpa only [neg_neg] using (symmetryCoordinateEvolution_inverse G (-(t : ℝ)) c).symm + calc + ‖c‖ = ‖symmetryCoordinateEvolution G (-(t : ℝ)) + (e.symm (NormedSpace.exp ((t : ℝ) • G) u))‖ := congrArg norm hi + _ ≤ ‖e.symm (NormedSpace.exp ((t : ℝ) • G) u)‖ := by + simpa only [one_mul] using (symmetryCoordinateEvolution G (-(t : ℝ))).le_of_opNorm_le + (symmetryCoordinateEvolution_backward_norm G t t.2) _ + _ ≤ ‖e.symm.toContinuousLinearMap‖ * ‖NormedSpace.exp ((t : ℝ) • G) u‖ := + e.symm.toContinuousLinearMap.le_opNorm _ + _ ≤ _ := mul_le_mul_of_nonneg_left (hdecay t) (norm_nonneg e.symm.toContinuousLinearMap) + have ht : Tendsto (fun n : ℕ => (n : ℝ)) atTop atTop := tendsto_natCast_atTop_atTop + have hlim : Tendsto (fun n : ℕ => ‖e.symm.toContinuousLinearMap‖ * + (D * Real.exp (-δ * (n : ℝ)))) atTop (𝓝 0) := by + simpa only [Function.comp_def, mul_zero] using tendsto_const_nhds.mul + (tendsto_const_nhds.mul (Real.tendsto_exp_atBot.comp (ht.const_mul_atTop_of_neg (by linarith)))) + have hc : ‖c‖ ≤ 0 := ge_of_tendsto hlim (Eventually.of_forall fun n => hb n) + have hc0 : c = 0 := norm_eq_zero.mp (le_antisymm hc (norm_nonneg _)) + exact e.symm.injective (hc0.trans (map_zero e.symm).symm) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDecomposition.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDecomposition.lean new file mode 100644 index 0000000000000000000000000000000000000000..1b754d6132660863e94c3c9571ab169c9cc2bbdd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDecomposition.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteGeneratorNoJordan + +namespace OAI + +/-! The three actual symmetry eigenvalues give a concrete decomposition. -/ + +namespace DefocusingNLS +variable {V : Type*} [AddCommGroup V] [Module ℂ V] + +theorem symmetry_eigenspaces_sup_eq_top (G : Module.End ℂ V) + (hspan : (⨆ lam : ℂ, G.eigenspace lam)=⊤) + (hspec : ∀ (lam : ℂ) (w : V), w ≠ 0 → G w=lam • w → lam=0 ∨ lam=1 ∨ lam=1/2) : + (G.eigenspace 0 ⊔ G.eigenspace 1) ⊔ G.eigenspace (1/2)=⊤ := by + apply top_unique + rw [← hspan] + refine iSup_le fun lam x hx => ?_ + by_cases hz : x=0 + · subst x + exact Submodule.zero_mem _ + rcases hspec lam x hz (Module.End.mem_eigenspace_iff.mp hx) with rfl | rfl | rfl + · exact Submodule.mem_sup_left (Submodule.mem_sup_left hx) + · exact Submodule.mem_sup_left (Submodule.mem_sup_right hx) + · exact Submodule.mem_sup_right hx + +theorem symmetry_eigenvector_decomposition (G : Module.End ℂ V) + (hspan : (⨆ lam : ℂ, G.eigenspace lam)=⊤) + (hspec : ∀ (lam : ℂ) (w : V), w ≠ 0 → G w=lam • w → lam=0 ∨ lam=1 ∨ lam=1/2) + (x : V) : ∃ x₀ x₁ xh : V, x=x₀+x₁+xh ∧ G x₀=0 ∧ G x₁=x₁ ∧ G xh=(1/2 : ℂ) • xh := by + have hx : x ∈ (G.eigenspace 0 ⊔ G.eigenspace 1) ⊔ G.eigenspace (1/2) := by + rw [symmetry_eigenspaces_sup_eq_top G hspan hspec] + trivial + obtain ⟨y,hy,xh,hh,hxy⟩ := Submodule.mem_sup.mp hx + obtain ⟨x₀,h0,x₁,h1,hyx⟩ := Submodule.mem_sup.mp hy + refine ⟨x₀,x₁,xh,?_,?_,?_,Module.End.mem_eigenspace_iff.mp hh⟩ + · rw [← hxy,← hyx] + · simpa only [zero_smul] using Module.End.mem_eigenspace_iff.mp h0 + · simpa only [one_smul] using Module.End.mem_eigenspace_iff.mp h1 + +theorem symmetry_polynomial_annihilates (G : Module.End ℂ V) + (hspan : (⨆ lam : ℂ, G.eigenspace lam)=⊤) + (hspec : ∀ (lam : ℂ) (w : V), w ≠ 0 → G w=lam • w → lam=0 ∨ lam=1 ∨ lam=1/2) : + G * (G-(1/2 : ℂ) • 1) * (G-1)=0 := by + ext x + obtain ⟨x₀,x₁,xh,rfl,h0,h1,hh⟩ := symmetry_eigenvector_decomposition G hspan hspec x + simp only [Module.End.mul_apply,LinearMap.sub_apply,LinearMap.smul_apply, + Module.End.one_apply,map_add,map_sub,map_smul,h0,h1,hh,map_zero,LinearMap.zero_apply,smul_zero,sub_self,add_zero] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDimension.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDimension.lean new file mode 100644 index 0000000000000000000000000000000000000000..c4bd04ddb3c9d64d68e8f2a49343a75b5be0e65c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FiniteSymmetryDimension.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteGeneratorNoJordan +import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas + +namespace OAI + +/-! # Dimension of a generator with only the three physical symmetry eigenvalues -/ + +namespace DefocusingNLS + +theorem finite_symmetry_dimension_le {V : Type*} [NormedAddCommGroup V] + [NormedSpace ℂ V] [FiniteDimensional ℂ V] (G : V →L[ℂ] V) + (hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (h0 : Module.finrank ℂ (Module.End.eigenspace G.toLinearMap 0) ≤ 1) + (h1 : Module.finrank ℂ (Module.End.eigenspace G.toLinearMap 1) ≤ 1) + (hh : Module.finrank ℂ (Module.End.eigenspace G.toLinearMap (1 / 2)) ≤ 12) : + Module.finrank ℂ V ≤ 14 := by + let S := Module.End.eigenspace G.toLinearMap + have htop : S 0 ⊔ S 1 ⊔ S (1 / 2) = ⊤ := by + apply le_antisymm le_top + rw [← hspan] + apply iSup_le + intro lam v hv + by_cases hz : v = 0 + · simpa only [hz] using (zero_mem (S 0 ⊔ S 1 ⊔ S (1 / 2))) + rcases hspec lam v hz (Module.End.mem_eigenspace_iff.mp hv) with rfl | rfl | rfl + · exact Submodule.mem_sup_left (Submodule.mem_sup_left hv) + · exact Submodule.mem_sup_left (Submodule.mem_sup_right hv) + · exact Submodule.mem_sup_right hv + have h01 := Submodule.finrank_sup_add_finrank_inf_eq (S 0) (S 1) + have hall := Submodule.finrank_sup_add_finrank_inf_eq (S 0 ⊔ S 1) (S (1 / 2)) + rw [htop, finrank_top] at hall + dsimp only [S] at h01 hall + omega + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..e3d138324441e3fdd26d13b6c9ad936b83f6404b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileBound.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FixedCutoffProfileDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingNearbyTransfer + +namespace OAI + +/-! # Uniform cutoff-profile estimates in a nearby fixed radius -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] fixedCutoffProfile expandingNearbyTransfer + +theorem fixedCutoffProfile_eq_transfer (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (M R : Radius) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + fixedCutoffProfile a k ha ha1 hk M χ hχ Q hQ R.1 = + expandingNearbyTransfer a k ha hk R M + (schwartzTorusSample a k R.1 ha1 hk R.2 + (radianFourierKernel (cutoffProfileSchwartz R.1 + (lt_of_lt_of_le zero_lt_one R.2) χ hχ Q hQ))) := by + ext n + rw [fixedCutoffProfile_coordinate, expandingNearbyTransfer_apply] + change (expandingSobolevWeight a k M.1 n : ℂ) * _ = + ((expandingSobolevWeight a k M.1 n / expandingSobolevWeight a k R.1 n : ℝ) : ℂ) * + ((expandingSobolevWeight a k R.1 n : ℂ) * + schwartzLatticeCoefficient R.1 + (radianFourierKernel (cutoffProfileSchwartz R.1 _ χ hχ Q hQ)) n) + rw [cutoffProfile_coefficient_fixed_scale, Complex.ofReal_div, ← mul_assoc, + div_mul_cancel₀ _ (Complex.ofReal_ne_zero.mpr (expandingSobolevWeight_pos a k R.1 R.2 n).ne')] + +theorem fixedCutoffProfile_norm_le (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (M R : Radius) + (hMR : M.1 ≤ 2 * R.1) (hRM : R.1 ≤ 2 * M.1) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (B : ℝ) + (hB : ‖schwartzTorusSample a k R.1 ha1 hk R.2 + (radianFourierKernel (cutoffProfileSchwartz R.1 + (lt_of_lt_of_le zero_lt_one R.2) χ hχ Q hQ))‖ ≤ B) : + ‖fixedCutoffProfile a k ha ha1 hk M χ hχ Q hQ R.1‖ ≤ + (2 ^ a + 2 ^ (k - 6)) * B := by + rw [fixedCutoffProfile_eq_transfer] + exact ((expandingNearbyTransfer a k ha hk R M).le_opNorm _).trans + (mul_le_mul (expandingNearbyTransfer_norm_le a k ha hk R M hMR hRM) + hB (norm_nonneg _) (by positivity)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..3a8e91fb92e969d1e063759f331ff689bd5e8924 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileDerivative.lean @@ -0,0 +1,90 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileModeDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Linear.FourierCoordinateDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CartesianTransportCalculus + +namespace OAI + +/-! # Strong differentiation of the cutoff profile in a fixed torus norm -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +noncomputable def fixedCutoffProfile (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (M : Radius) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (R : ℝ) : FourierL2 := + expandingScaleTransfer a k 1 M.1 ha hk le_rfl M.2 + (physicalSchwartzTorusSamplingCLM a k 1 ha1 hk le_rfl + (compactDilationFamily χ hχ Q hQ R)) + +theorem fixedCutoffProfile_coordinate (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (M : Radius) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (R : ℝ) (n : frequencyLattice) : + fixedCutoffProfile a k ha ha1 hk M χ hχ Q hQ R n = + (expandingSobolevWeight a k M.1 n : ℂ) * + schwartzLatticeCoefficient 1 (radianFourierKernel (compactDilationFamily χ hχ Q hQ R)) n := by + change (expandingScaleRatio a k 1 M.1 n : ℂ) * + ((expandingSobolevWeight a k 1 n : ℂ) * _) = _ + unfold expandingScaleRatio + rw [Complex.ofReal_div, ← mul_assoc, div_mul_cancel₀ _ + (Complex.ofReal_ne_zero.mpr (expandingSobolevWeight_pos a k 1 le_rfl n).ne')] + rfl + +theorem continuous_fixedCutoffProfile (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (M : Radius) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fixedCutoffProfile a k ha ha1 hk M χ hχ Q hQ) := + (expandingScaleTransfer a k 1 M.1 ha hk le_rfl M.2).continuous.comp + ((physicalSchwartzTorusSamplingCLM a k 1 ha1 hk le_rfl).continuous.comp + (continuous_compactDilationFamily χ hχ Q hQ)) + +attribute [local irreducible] fixedCutoffProfile expandingScaleTransfer + +theorem hasDerivAt_fixedCutoffProfile_logRadius (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (M : Radius) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (L s : ℝ) (hL : 0 < L) : + HasDerivAt (fun t => fixedCutoffProfile a k ha ha1 hk M χ hχ Q hQ (expandingRadius L t)) + (fixedCutoffProfile a k ha ha1 hk M χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) (expandingRadius L s)) s := by + let u := fun t => fixedCutoffProfile a k ha ha1 hk M χ hχ Q hQ (expandingRadius L t) + let v := fun t => fixedCutoffProfile a k ha ha1 hk M χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) (expandingRadius L t) + have hRc : Continuous (expandingRadius L) := by unfold expandingRadius; fun_prop + have hv : Continuous v := (continuous_fixedCutoffProfile a k ha ha1 hk M χ hχ + (cartesianTransport Q) (cartesianTransport_contDiff Q hQ)).comp hRc + apply hasDerivAt_fourierL2_of_coordinates u v (s - 1) (s + 1) s hv.continuousOn _ + (by constructor <;> linarith) + intro t _ n + have hc := (hasDerivAt_cutoffProfile_coefficient L t hL χ hχ Q hQ n).const_mul + (expandingSobolevWeight a k M.1 n : ℂ) + have he (r : ℝ) : schwartzLatticeCoefficient (expandingRadius L r) + (radianFourierKernel (cutoffProfileSchwartz (expandingRadius L r) + (mul_pos hL (Real.exp_pos _)) χ hχ Q hQ)) n = + schwartzLatticeCoefficient 1 (radianFourierKernel + (compactDilationFamily χ hχ Q hQ (expandingRadius L r))) n := + cutoffProfile_coefficient_fixed_scale _ _ χ hχ Q hQ n + have hd : (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℝ) * + radianFourierIntegral (fun x => χ x * fderiv ℝ Q (expandingRadius L t • x) + ((expandingRadius L t / 2) • x)) (n : E) = + schwartzLatticeCoefficient 1 (radianFourierKernel + (compactDilationFamily χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) (expandingRadius L t))) n := by + have harg (x : E) : (expandingRadius L t / 2) • x = + (1 / 2 : ℝ) • (expandingRadius L t • x) := by + rw [smul_smul] + congr 1 + ring + simp only [schwartzLatticeCoefficient, mul_one, inv_one, one_smul, + radianFourierKernel_apply, harg] + rfl + simpa only [he, hd, u, v, fixedCutoffProfile_coordinate] using hc + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileIdentity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileIdentity.lean new file mode 100644 index 0000000000000000000000000000000000000000..00757dc3f006b4589a51ba5cb4b4d6172e4dbab5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileIdentity.lean @@ -0,0 +1,25 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FixedCutoffProfileBound + +namespace OAI + +/-! # The fixed-norm profile agrees with physical sampling at its own radius -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem fixedCutoffProfile_self (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (L : Radius) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 = + physicalSchwartzTorusSamplingCLM a k L.1 ha1 hk L.2 + (cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ Q hQ) := by + rw [fixedCutoffProfile_eq_transfer] + ext n + rw [expandingNearbyTransfer_apply, div_self (expandingSobolevWeight_pos a k L.1 L.2 n).ne'] + simp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..8dfc8cc3d066a13fb1272d85a1288a81b196e770 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FixedCutoffProfileTaylor.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FixedCutoffProfileBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.NormedCurveTaylor + +namespace OAI + +/-! # Uniform logarithmic-radius Taylor expansion of the actual cutoff profile -/ + +open Set +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +private theorem logarithmicRadius_nearby (L t : ℝ) (hL : 2 ≤ L) + (ht : |t| ≤ 2 * Real.log 2) : + 1 ≤ expandingRadius L t ∧ L ≤ 2 * expandingRadius L t ∧ + expandingRadius L t ≤ 2 * L := by + have hlo : (1 / 2 : ℝ) ≤ Real.exp (t / 2) := by + have h := Real.exp_le_exp.mpr (show -Real.log 2 ≤ t / 2 by linarith [(abs_le.mp ht).1]) + simpa only [Real.exp_neg, Real.exp_log (by norm_num : (0 : ℝ) < 2), one_div] using h + have hhi : Real.exp (t / 2) ≤ 2 := by + have h := Real.exp_le_exp.mpr (show t / 2 ≤ Real.log 2 by linarith [(abs_le.mp ht).2]) + simpa only [Real.exp_log (by norm_num : (0 : ℝ) < 2)] using h + dsimp only [expandingRadius] + constructor + · nlinarith + constructor <;> nlinarith + +theorem fixedCutoffProfile_logRadius_taylor (a k : ℝ) (ha : 0 < a) + (ha1 : a < 1) (hk : 8 < k) (L : Radius) (hL : 2 ≤ L.1) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (B : ℝ) (hB : 0 ≤ B) + (hb : ∀ R : Radius, ‖schwartzTorusSample a k R.1 ha1 hk R.2 + (radianFourierKernel (cutoffProfileSchwartz R.1 + (lt_of_lt_of_le zero_lt_one R.2) χ hχ + (cartesianTransport (cartesianTransport Q)) + (cartesianTransport_contDiff _ (cartesianTransport_contDiff Q hQ))))‖ ≤ B) + (t : ℝ) (ht : |t| ≤ 2 * Real.log 2) : + ‖fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 t) - + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 - + t • fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1‖ ≤ + ((2 ^ a + 2 ^ (k - 6)) * B) * |t| ^ 2 := by + let Q₁ := cartesianTransport Q + let hQ₁ := cartesianTransport_contDiff Q hQ + let Q₂ := cartesianTransport Q₁ + let hQ₂ := cartesianTransport_contDiff Q₁ hQ₁ + let u := fun s => fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 s) + let v := fun s => fixedCutoffProfile a k ha ha1 hk L χ hχ Q₁ hQ₁ (expandingRadius L.1 s) + let w := fun s => fixedCutoffProfile a k ha ha1 hk L χ hχ Q₂ hQ₂ (expandingRadius L.1 s) + have h := normedCurve_firstOrder_bound u v w (2 * Real.log 2) + ((2 ^ a + 2 ^ (k - 6)) * B) (by positivity) + (fun s _ => hasDerivAt_fixedCutoffProfile_logRadius a k ha ha1 hk L χ hχ Q hQ L.1 s (by linarith)) + (fun s _ => hasDerivAt_fixedCutoffProfile_logRadius a k ha ha1 hk L χ hχ Q₁ hQ₁ L.1 s (by linarith)) + (fun s hs => by + obtain ⟨hR, hLR, hRL⟩ := logarithmicRadius_nearby L.1 s hL (abs_le.mpr hs) + exact fixedCutoffProfile_norm_le a k ha ha1 hk L ⟨expandingRadius L.1 s, hR⟩ + hLR hRL χ hχ Q₂ hQ₂ B (hb _)) t ht + simpa only [u, v, expandingRadius, zero_div, Real.exp_zero, mul_one] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FlatStableGraphIntersection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FlatStableGraphIntersection.lean new file mode 100644 index 0000000000000000000000000000000000000000..2b86e2aa32c83f205632d83f4cad7caf8accbcd2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/FlatStableGraphIntersection.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalParameterZero +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ContinuousCoordinateStableOrbit + +namespace OAI + +/-! # Physical parameter selection on the continuous flat stable graph -/ + +open Set Metric +namespace DefocusingNLS +local notation "Params" => ProfileSymmetryParameters +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + +theorem flatStableGraph_intersection + (C : Params ≃L[ℝ] V) (r ρ L₀ ε ν η W : ℝ) + (hr : 0 ≤ r) (hν : 0 ≤ ν) (hW : W ≤ ρ / 4) + (π : Radius → FourierL2 →L[ℝ] V) (ζ : Radius → V →L[ℝ] FourierL2) + (hπc : Continuous (fun q : Radius × FourierL2 => π q.1 q.2)) + (hζc : ContinuousOn ζ {L : Radius | L₀ ≤ L.1}) + (hinv : ∀ L : Radius, L₀ ≤ L.1 → ∀ v, π L (ζ L v) = v) + (G : CutoffStableParameter ρ L₀ π → FourierL2) (hGc : Continuous G) + (hGstable : ∀ q, stableFrameProjection (ζ q.1.1) (π q.1.1) (G q) = q.1.2) + (hGflat : ∀ q, ‖π q.1.1 (G q)‖ ≤ ν * (‖q.1.2‖ + 2 * η) + 2 * η) + (L : closedBall (0 : Params) r → Radius) (hLc : Continuous L) + (hL : ∀ p, L₀ ≤ (L p).1) + (f : closedBall (0 : Params) r → FourierL2) (hfc : Continuous f) + (hwbound : ∀ p, ‖stableFrameProjection (ζ (L p)) (π (L p)) (f p)‖ ≤ W) + (herror : ∀ p, ‖π (L p) (f p) - C p.1‖ ≤ ε) + (hsmall : ‖C.symm.toContinuousLinearMap‖ * (ε + ν * (W + 2 * η) + 2 * η) ≤ r) : + ∃ p, ∃ q : CutoffStableParameter ρ L₀ π, q.1.1 = L p ∧ G q = f p := by + let w := fun p => stableFrameProjection (ζ (L p)) (π (L p)) (f p) + have hzc : Continuous (fun p => ζ (L p)) := hζc.comp_continuous hLc hL + have hpc : Continuous (fun p => π (L p) (f p)) := hπc.comp (hLc.prodMk hfc) + have hwc : Continuous w := hfc.sub (hzc.clm_apply hpc) + let Q := fun p : closedBall (0 : Params) r => + (⟨(L p, w p), hL p, (hwbound p).trans hW, + stableFrameProjection_coordinate _ _ (hinv (L p) (hL p)) (f p)⟩ : + CutoffStableParameter ρ L₀ π) + have hQc : Continuous Q := (hLc.prodMk hwc).subtype_mk _ + obtain ⟨p, hp⟩ := physical_parameter_zero_of_coordinate_bound C r ε + (ν * (W + 2 * η) + 2 * η) hr f (fun p => G (Q p)) + (fun p => π (L p)) (fun p => ζ (L p)) hfc (hGc.comp hQc) + (hπc.comp ((hLc.comp continuous_fst).prodMk continuous_snd)) herror + (fun p => (hGflat (Q p)).trans (by + exact add_le_add (mul_le_mul_of_nonneg_left + (add_le_add (hwbound p) le_rfl) hν) le_rfl)) + (fun p => hGstable (Q p)) (by simpa only [add_assoc] using hsmall) + exact ⟨p, Q p, rfl, hp.symm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianBlocks.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianBlocks.lean new file mode 100644 index 0000000000000000000000000000000000000000..69e4a60b27255a47506df6cd46e4cde357189dc5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianBlocks.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteGaussian +import Mathlib.Probability.Independence.InfinitePi + +namespace OAI + +/-! +# Independent finite heads and infinite tails + +The restrictions of a product sample to disjoint index sets are independent. +For complex Gaussian coordinates, every nonempty open weighted finite-head +event has positive probability. These facts apply to any countable Fourier +indexing, including the twelve-dimensional frequency lattice. +-/ + +open MeasureTheory ProbabilityTheory Set +open scoped ENNReal NNReal + +namespace DefocusingNLS + +/-- Product coordinates on disjoint sets remain independent as entire vectors, +including when one of the index sets is infinite. -/ +theorem independent_product_restrictions {ι X : Type*} [MeasurableSpace X] + (μ : ι → Measure X) [∀ i, IsProbabilityMeasure (μ i)] + (S T : Set ι) (hST : Disjoint S T) : + IndepFun S.domRestrict T.domRestrict (Measure.infinitePi μ) := by + rw [IndepFun_iff_Indep] + change Indep + ((inferInstance : MeasurableSpace (S → X)).comap (fun z (i : S) => z i)) + ((inferInstance : MeasurableSpace (T → X)).comap (fun z (i : T) => z i)) + (Measure.infinitePi μ) + rw [MeasurableSpace.comap_process_pi, MeasurableSpace.comap_process_pi] + simp_rw [iSup_subtype] + apply indep_iSup_of_disjoint (fun i => (measurable_pi_apply i).comap_le) _ hST + exact (iIndepFun_iff_iIndep (fun _ : ι => inferInstance) + (fun i z => z i) (Measure.infinitePi μ)).mp + (iIndepFun_infinitePi (X := fun _ x => x) (by fun_prop)) + +/-- In particular, a finite head and its full complementary tail are independent. -/ +theorem independent_product_head_tail {ι X : Type*} [MeasurableSpace X] + (μ : ι → Measure X) [∀ i, IsProbabilityMeasure (μ i)] (S : Finset ι) : + IndepFun S.restrict (Set.compl (S : Set ι)).domRestrict + (Measure.infinitePi μ) := by + exact independent_product_restrictions μ (S : Set ι) (S : Set ι)ᶜ disjoint_compl_right + +/-- Law of a nonzero weighted finite head of an infinite Gaussian sample. -/ +theorem weighted_gaussian_head_law {ι : Type*} (S : Finset ι) + (v : ℝ≥0) (w : S → ℂ) : + (Measure.infinitePi (fun _ : ι => complexGaussian v)).map + (fun z : ι → ℂ => fun i : S => w i * z i) = + (Measure.pi (fun _ : S => complexGaussian v)).map + (fun z : S → ℂ => fun i => w i * z i) := by + calc + _ = ((Measure.infinitePi (fun _ : ι => complexGaussian v)).map S.restrict).map + (fun z : S → ℂ => fun i => w i * z i) := by + rw [Measure.map_map (by fun_prop) (by fun_prop)] + rfl + _ = _ := by rw [Measure.infinitePi_map_restrict] + +/-- Positive probability of every prescribed open finite-head neighborhood. -/ +theorem weighted_gaussian_head_open_pos {ι : Type*} (S : Finset ι) + {v : ℝ≥0} (hv : v ≠ 0) (w : S → ℂ) (hw : ∀ i, w i ≠ 0) + (U : Set (S → ℂ)) (hU : IsOpen U) (hne : U.Nonempty) : + 0 < Measure.infinitePi (fun _ : ι => complexGaussian v) + ((fun z : ι → ℂ => fun i : S => w i * z i) ⁻¹' U) := by + have hpos : 0 < ((Measure.pi (fun _ : S => complexGaussian v)).map + (fun z : S → ℂ => fun i => w i * z i)) U := by + let := weighted_finite_complexGaussian_isOpenPosMeasure hv w hw + exact hU.measure_pos _ hne + rw [← weighted_gaussian_head_law S v w, Measure.map_apply (by fun_prop) hU.measurableSet] at hpos + exact hpos + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianCounterexample.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianCounterexample.lean new file mode 100644 index 0000000000000000000000000000000000000000..9c4013e18ac1a1b2b1a91bdc069ecc7f2e12edce --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianCounterexample.lean @@ -0,0 +1,35 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ConditionalMain + +namespace OAI + +/-! # The Gaussian data do not almost surely admit global classical solutions -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +attribute [local irreducible] HasFiniteTimeSelfSimilarBlowup + maximalSobolevInteractionDomain + +theorem gaussian_not_almost_sure_global_conditional (hRou : RectangleRouche) (p₀ : ℕ) : + ∃ p k : ℕ, p₀ ≤ p ∧ Odd p ∧ 3 ≤ p ∧ ∃ hk : 8 < (k : ℝ), + ∀ α : ℝ, (k : ℝ) + 6 < α → + ¬ ∀ᵐ f ∂weightedGaussianLaw k α, + maximalSobolevInteractionDomain k (by linarith) ((p - 1) / 2) f = univ := by + obtain ⟨p, k, hp, hodd, hp3, hk, U, _, _, hU, hGauss⟩ := gaussian_blowup_conditional hRou p₀ + refine ⟨p, k, hp, hodd, hp3, hk, ?_⟩ + intro α hα hglobal + have hnot : ∀ᵐ f ∂weightedGaussianLaw k α, f ∉ U := by + filter_upwards [hglobal] with f hf + intro hfU + have hblow := (hU f hfU).2 + unfold HasFiniteTimeSelfSimilarBlowup at hblow + obtain ⟨T, _, x, c, _, _, hb, _⟩ := hblow + rw [hf] at hb + exact not_bddAbove_univ hb + have hzero : weightedGaussianLaw k α U = 0 := by + simpa only [not_not, ofPred_mem_eq] using (ae_iff.mp hnot) + exact (hGauss α hα).2.2.ne' hzero + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianEnclosure.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianEnclosure.lean new file mode 100644 index 0000000000000000000000000000000000000000..416523ddbcff39ff443686911a53755895bf7bae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianEnclosure.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.SeparatorArithmetic + +namespace OAI + +/-! # Sound Gaussian-integer error balls + +The center is a Gaussian integer and the radius is an integer. The product +radius bounds the error arising from both factors. +-/ + +namespace DefocusingNLS + +structure GaussianEnclosure where + center : GaussianInt + error : ℤ + deriving DecidableEq + +namespace GaussianEnclosure + +def magnitude (z : GaussianInt) : ℤ := |z.re| + |z.im| + +noncomputable def Encloses (a : GaussianEnclosure) (z : ℂ) : Prop := + ‖z - (a.center : ℂ)‖ ≤ (a.error : ℝ) + +def add (a b : GaussianEnclosure) : GaussianEnclosure := + ⟨a.center + b.center, a.error + b.error⟩ + +def neg (a : GaussianEnclosure) : GaussianEnclosure := ⟨-a.center, a.error⟩ + +def mul (a b : GaussianEnclosure) : GaussianEnclosure := + ⟨a.center * b.center, a.error * (magnitude b.center + b.error) + magnitude a.center * b.error⟩ + +def conj (a : GaussianEnclosure) : GaussianEnclosure := ⟨star a.center, a.error⟩ + +theorem magnitude_nonneg (z : GaussianInt) : 0 ≤ magnitude z := add_nonneg (abs_nonneg _) (abs_nonneg _) + +theorem norm_center_le_magnitude (z : GaussianInt) : ‖(z : ℂ)‖ ≤ (magnitude z : ℝ) := by + rw [GaussianInt.toComplex_def] + apply (norm_add_le _ _).trans + change ‖((z.re : ℝ) : ℂ)‖ + ‖((z.im : ℝ) : ℂ) * Complex.I‖ ≤ _ + simp only [norm_mul, Complex.norm_real, Real.norm_eq_abs, Complex.norm_I, mul_one, + magnitude, Int.cast_add, Int.cast_abs] + exact le_rfl + +theorem error_nonneg {a : GaussianEnclosure} {z : ℂ} (h : a.Encloses z) : 0 ≤ a.error := by + have h' : (0 : ℝ) ≤ a.error := (norm_nonneg _).trans h + exact_mod_cast h' + +theorem add_sound {a b : GaussianEnclosure} {x y : ℂ} (ha : a.Encloses x) (hb : b.Encloses y) : + (add a b).Encloses (x + y) := by + change ‖x + y - ((a.center + b.center : GaussianInt) : ℂ)‖ ≤ ((a.error + b.error : ℤ) : ℝ) + rw [GaussianInt.toComplex_add, Int.cast_add] + calc + _ = ‖(x - (a.center : ℂ)) + (y - (b.center : ℂ))‖ := by congr 1; ring + _ ≤ ‖x - (a.center : ℂ)‖ + ‖y - (b.center : ℂ)‖ := norm_add_le _ _ + _ ≤ _ := add_le_add ha hb + +theorem neg_sound {a : GaussianEnclosure} {z : ℂ} (h : a.Encloses z) : (neg a).Encloses (-z) := by + change ‖-z - ((-a.center : GaussianInt) : ℂ)‖ ≤ (a.error : ℝ) + rw [GaussianInt.toComplex_neg] + calc + _ = ‖-(z - (a.center : ℂ))‖ := by congr 1; ring + _ = ‖z - (a.center : ℂ)‖ := norm_neg _ + _ ≤ _ := h + +theorem conj_sound {a : GaussianEnclosure} {z : ℂ} (h : a.Encloses z) : (conj a).Encloses (star z) := by + change ‖star z - ((star a.center : GaussianInt) : ℂ)‖ ≤ (a.error : ℝ) + rw [GaussianInt.toComplex_star] + change ‖star z - star (a.center : ℂ)‖ ≤ _ + rw [← star_sub, norm_star] + exact h + +theorem mul_sound {a b : GaussianEnclosure} {x y : ℂ} (ha : a.Encloses x) (hb : b.Encloses y) : + (mul a b).Encloses (x * y) := by + have hae : (0 : ℝ) ≤ a.error := by exact_mod_cast error_nonneg ha + have hbe : (0 : ℝ) ≤ b.error := by exact_mod_cast error_nonneg hb + have ham := norm_center_le_magnitude a.center + have hbm := norm_center_le_magnitude b.center + change ‖x * y - ((a.center * b.center : GaussianInt) : ℂ)‖ ≤ _ + rw [GaussianInt.toComplex_mul] + calc + _ = ‖(x - (a.center : ℂ)) * (y - (b.center : ℂ)) + + (x - (a.center : ℂ)) * (b.center : ℂ) + + (a.center : ℂ) * (y - (b.center : ℂ))‖ := by congr 1; ring + _ ≤ (‖(x - (a.center : ℂ)) * (y - (b.center : ℂ))‖ + + ‖(x - (a.center : ℂ)) * (b.center : ℂ)‖) + + ‖(a.center : ℂ) * (y - (b.center : ℂ))‖ := by + exact (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) + _ ≤ ((a.error : ℝ) * b.error + a.error * (magnitude b.center : ℝ)) + + (magnitude a.center : ℝ) * b.error := by + simp only [norm_mul] + exact add_le_add + (add_le_add (mul_le_mul ha hb (norm_nonneg _) hae) + (mul_le_mul ha hbm (norm_nonneg _) hae)) + (mul_le_mul ham hb (norm_nonneg _) (by exact_mod_cast magnitude_nonneg a.center)) + _ = _ := by simp only [mul, Int.cast_add, Int.cast_mul]; ring + +end GaussianEnclosure + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianFourier.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianFourier.lean new file mode 100644 index 0000000000000000000000000000000000000000..b1b9330a7752279bd03cdb718d3f875e2c3495d2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianFourier.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianMoments +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.RandomSeries +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevWeights +import Mathlib.Analysis.Normed.Lp.lpSpace +import Mathlib.Probability.ProductMeasure + +namespace OAI + +/-! +# Almost-sure Sobolev summability of the Gaussian Fourier coefficients + +The underlying independent coefficients are constructed using Mathlib's +countable product measure. Their weighted square sum is almost surely finite +at the exact threshold `α > k + 6` from Corollary 1.2. +-/ + +open MeasureTheory ProbabilityTheory +open scoped ENNReal NNReal + +namespace DefocusingNLS + +/-- The standard independent complex Gaussian Fourier coefficients. -/ +noncomputable def fourierGaussianLaw : Measure (frequencyLattice → ℂ) := + Measure.infinitePi (fun _ : frequencyLattice => complexGaussian (1 / 2)) + +instance : IsProbabilityMeasure fourierGaussianLaw := by + unfold fourierGaussianLaw + infer_instance + +/-- Every coordinate has the standard complex Gaussian law. -/ +theorem fourierGaussianLaw_map_eval (n : frequencyLattice) : + fourierGaussianLaw.map (fun g => g n) = complexGaussian (1 / 2) := + Measure.infinitePi_map_eval _ n + +theorem fourierGaussian_coordinate_second_moment (n : frequencyLattice) : + (∫⁻ g, ENNReal.ofReal (Complex.normSq (g n)) ∂fourierGaussianLaw) = 1 := by + rw [← lintegral_map (f := fun z : ℂ => ENNReal.ofReal (Complex.normSq z)) + (g := fun g : frequencyLattice → ℂ => g n) (by fun_prop) (by fun_prop), + fourierGaussianLaw_map_eval] + exact standard_complex_gaussian_normSq_moment + +/-- The deterministic expected energy weight. -/ +noncomputable def sobolevVariance (k α : ℝ) (n : frequencyLattice) : ℝ := + (1 + ‖n‖ ^ 2) ^ (k - α) + +theorem sobolevVariance_nonneg (k α : ℝ) (n : frequencyLattice) : + 0 ≤ sobolevVariance k α n := by + exact Real.rpow_nonneg (by positivity) _ + +/-- Almost-sure finite weighted Fourier energy. -/ +theorem ae_summable_gaussian_sobolev_energy (k α : ℝ) (hα : k + 6 < α) : + ∀ᵐ g ∂fourierGaussianLaw, + Summable (fun n => sobolevVariance k α n * Complex.normSq (g n)) := by + have hfinite := ae_tsum_lt_top_of_summable_expectations + (μ := fourierGaussianLaw) + (fun n g => ENNReal.ofReal (sobolevVariance k α n) * + ENNReal.ofReal (Complex.normSq (g n))) + (by intro n; fun_prop) + (sobolevVariance k α) (summable_sobolev_variances k α hα) + (by + intro n + rw [lintegral_const_mul _ (by fun_prop), fourierGaussian_coordinate_second_moment, + mul_one]) + filter_upwards [hfinite] with g hg + have hs := ENNReal.summable_toReal hg.ne + simpa only [ENNReal.toReal_mul, ENNReal.toReal_ofReal (sobolevVariance_nonneg k α _), + ENNReal.toReal_ofReal (Complex.normSq_nonneg _)] using hs + +/-- The normalized `H^k` coefficients, represented as an `ℓ²` sequence. -/ +noncomputable def weightedGaussianCoefficient (k α : ℝ) + (g : frequencyLattice → ℂ) (n : frequencyLattice) : ℂ := + Real.sqrt (sobolevVariance k α n) • g n + +/-- These are exactly the `⟨n⟩^(k-α)`-weighted coordinates of the manuscript. -/ +theorem weightedGaussianCoefficient_eq_rpow (k α : ℝ) + (g : frequencyLattice → ℂ) (n : frequencyLattice) : + weightedGaussianCoefficient k α g n = + (1 + ‖n‖ ^ 2) ^ ((k - α) / 2) • g n := by + unfold weightedGaussianCoefficient sobolevVariance + rw [Real.sqrt_eq_rpow, ← Real.rpow_mul (by positivity)] + congr 2 + ring + +theorem weightedGaussianCoefficient_norm_sq (k α : ℝ) + (g : frequencyLattice → ℂ) (n : frequencyLattice) : + ‖weightedGaussianCoefficient k α g n‖ ^ 2 = + sobolevVariance k α n * Complex.normSq (g n) := by + rw [weightedGaussianCoefficient, norm_smul, mul_pow, + Real.norm_eq_abs, abs_of_nonneg (Real.sqrt_nonneg _), + Real.sq_sqrt (sobolevVariance_nonneg k α n), Complex.normSq_eq_norm_sq] + +/-- The weighted coefficient sequence lies in `ℓ²` almost surely. -/ +theorem ae_mem_l2_gaussian_coefficients (k α : ℝ) (hα : k + 6 < α) : + ∀ᵐ g ∂fourierGaussianLaw, Memℓp (weightedGaussianCoefficient k α g) 2 := by + filter_upwards [ae_summable_gaussian_sobolev_energy k α hα] with g hg + apply memℓp_gen + simpa only [ENNReal.toReal_ofNat, Real.rpow_two, + weightedGaussianCoefficient_norm_sq] using hg + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianFullSupport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianFullSupport.lean new file mode 100644 index 0000000000000000000000000000000000000000..f6d76734078a80add403d411bb0fc3dff1a572a2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianFullSupport.lean @@ -0,0 +1,149 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianRealization +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianSmallBalls + +namespace OAI + +/-! +# Full support of the Fourier Gaussian law + +The small-tail/independent-head estimate is converted to positive mass of +all Hilbert balls, and hence all nonempty open Sobolev sets. +-/ + +open MeasureTheory ProbabilityTheory Set Filter +open scoped ENNReal NNReal Topology + +namespace DefocusingNLS + +lemma ofReal_norm_sub_sq_le (x y : ℂ) : + ENNReal.ofReal (‖x - y‖ ^ 2) ≤ + 2 * ENNReal.ofReal (‖x‖ ^ 2) + 2 * ENNReal.ofReal (‖y‖ ^ 2) := by + have h : ‖x - y‖ ^ 2 ≤ 2 * ‖x‖ ^ 2 + 2 * ‖y‖ ^ 2 := by + have ht := norm_sub_le x y + have hp := sq_nonneg (‖x‖ - ‖y‖) + nlinarith [norm_nonneg (x - y), norm_nonneg x, norm_nonneg y] + calc + _ ≤ ENNReal.ofReal (2 * ‖x‖ ^ 2 + 2 * ‖y‖ ^ 2) := ENNReal.ofReal_le_ofReal h + _ = _ := by + rw [ENNReal.ofReal_add (by positivity) (by positivity), + ENNReal.ofReal_mul (by norm_num), ENNReal.ofReal_mul (by norm_num)] + norm_num + +lemma sqrt_weight_norm_sq (w : ℝ) (hw : 0 ≤ w) (z : ℂ) : + ‖(Real.sqrt w : ℂ) * z‖ ^ 2 = w * Complex.normSq z := by + rw [norm_mul, mul_pow, Complex.norm_real, Real.norm_eq_abs, + abs_of_nonneg (Real.sqrt_nonneg w), Real.sq_sqrt hw, Complex.sq_norm] + +section CountableProduct + +variable {ι : Type*} [Countable ι] + +/-- All squared-error balls about square-summable coefficient vectors have +positive probability under a positive square-summable Gaussian weighting. -/ +theorem gaussian_error_energy_pos (w : ι → ℝ) (hw : ∀ i, 0 < w i) + (hwsum : Summable w) (f : ι → ℂ) (hfsum : Summable (fun i => ‖f i‖ ^ 2)) + {r : ℝ} (hr : 0 < r) : + 0 < Measure.infinitePi (fun _ : ι => complexGaussian (1 / 2)) + {g | (∑' i, ENNReal.ofReal (‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2)) < + ENNReal.ofReal r} := by + classical + have hsmall : 0 < ENNReal.ofReal (r / 8) := ENNReal.ofReal_pos.mpr (by positivity) + obtain ⟨S, hwS, hfS⟩ := exists_small_variance_target_tails w hwsum f hfsum hsmall + have hpos := gaussian_head_and_tail_pos w hw S f (δ := r / 2) (by positivity) hwS + refine lt_of_lt_of_le hpos (measure_mono ?_) + intro g hg + change (∑' i, ENNReal.ofReal (‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2)) < + ENNReal.ofReal r + have hhead : (∑ i ∈ S, + ENNReal.ofReal (‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2)) < + ENNReal.ofReal (r / 2) := by + rw [← ENNReal.ofReal_sum_of_nonneg (by intro i hi; positivity)] + apply (ENNReal.ofReal_lt_ofReal_iff (by positivity)).mpr + have hh := hg.1 + change (∑ i : S, ‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2) < r / 2 at hh + rw [Finset.sum_coe_sort S (fun i : ι => ‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2)] at hh + exact hh + have htail : (∑' i : ↥((S : Set ι)ᶜ), + ENNReal.ofReal (‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2)) ≤ + 2 * gaussianTailEnergy w S g + + 2 * (∑' i : ↥((S : Set ι)ᶜ), ENNReal.ofReal (‖f i‖ ^ 2)) := by + calc + _ ≤ ∑' i : ↥((S : Set ι)ᶜ), + (2 * (ENNReal.ofReal (w i) * ENNReal.ofReal (Complex.normSq (g i))) + + 2 * ENNReal.ofReal (‖f i‖ ^ 2)) := by + apply ENNReal.tsum_le_tsum + intro i + simpa only [sqrt_weight_norm_sq _ (hw i).le, + ENNReal.ofReal_mul (hw i).le] using + ofReal_norm_sub_sq_le ((Real.sqrt (w i) : ℂ) * g i) (f i) + _ = _ := by rw [ENNReal.tsum_add, ENNReal.tsum_mul_left, ENNReal.tsum_mul_left]; rfl + have hstrict : (∑' i, ENNReal.ofReal (‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2)) < + ENNReal.ofReal (r / 2) + + (2 * ENNReal.ofReal (r / 8) + 2 * ENNReal.ofReal (r / 8)) := by + rw [← ENNReal.sum_add_tsum_compl S] + refine lt_of_le_of_lt (add_le_add le_rfl htail) ?_ + exact ENNReal.add_lt_add hhead (ENNReal.add_lt_add + (ENNReal.mul_lt_mul_right (by norm_num) (by simp) hg.2) + (ENNReal.mul_lt_mul_right (by norm_num) (by simp) hfS)) + have hscale : (2 : ℝ≥0∞) * ENNReal.ofReal (r / 8) = ENNReal.ofReal (r / 4) := by + have htwo : ENNReal.ofReal (2 : ℝ) = 2 := by norm_num + rw [← htwo, ← ENNReal.ofReal_mul (by positivity)] + congr 1 + ring + rw [hscale, ← ENNReal.ofReal_add (by positivity) (by positivity), + ← ENNReal.ofReal_add (by positivity) (by positivity)] at hstrict + simpa only [show r / 2 + (r / 4 + r / 4) = r by ring] using hstrict + +end CountableProduct + +/-- Every Hilbert ball has positive probability for the Gaussian Fourier law at +exactly the manuscript's Sobolev threshold. -/ +theorem weightedGaussianLaw_ball_pos (k α : ℝ) (hα : k + 6 < α) + (f : FourierL2) {r : ℝ} (hr : 0 < r) : + 0 < weightedGaussianLaw k α (Metric.ball f r) := by + have hw : ∀ n, 0 < sobolevVariance k α n := by + intro n + exact Real.rpow_pos_of_pos (by positivity) _ + have hf : Summable (fun n => ‖f n‖ ^ 2) := by + simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using + (lp.hasSum_norm (p := 2) (by norm_num) f).summable + have hpos := gaussian_error_energy_pos (sobolevVariance k α) hw + (summable_sobolev_variances k α hα) (fun n => f n) hf (sq_pos_of_pos hr) + change 0 < fourierGaussianLaw _ at hpos + rw [weightedGaussianLaw, Measure.map_apply (measurable_weightedGaussianVector k α) + Metric.isOpen_ball.measurableSet] + refine lt_of_lt_of_le hpos (measure_mono_ae ?_) + filter_upwards [ae_weightedGaussianVector_coefficients k α hα] with g hg herror + change dist (weightedGaussianVector k α g) f < r + rw [dist_eq_norm] + have hnorm : ENNReal.ofReal (‖weightedGaussianVector k α g - f‖ ^ 2) = + ∑' n, ENNReal.ofReal + (‖(Real.sqrt (sobolevVariance k α n) : ℂ) * g n - f n‖ ^ 2) := by + have hs : Summable (fun n => ‖(weightedGaussianVector k α g - f) n‖ ^ 2) := by + simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using + (lp.hasSum_norm (p := 2) (by norm_num) (weightedGaussianVector k α g - f)).summable + have hn := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) + (weightedGaussianVector k α g - f) + simp only [ENNReal.toReal_ofNat, Real.rpow_two] at hn + rw [hn, ENNReal.ofReal_tsum_of_nonneg (fun n => sq_nonneg _) hs] + congr 1 + funext n + simp only [lp.coeFn_sub, Pi.sub_apply, hg n, weightedGaussianCoefficient] + rfl + rw [← hnorm] at herror + have hsq := (ENNReal.ofReal_lt_ofReal_iff (sq_pos_of_pos hr)).mp herror + nlinarith [norm_nonneg (weightedGaussianVector k α g - f)] + +/-- The Fourier Gaussian law has full support in its Sobolev Hilbert model. -/ +theorem weightedGaussianLaw_isOpenPosMeasure (k α : ℝ) (hα : k + 6 < α) : + (weightedGaussianLaw k α).IsOpenPosMeasure := by + constructor + intro U hU hne + obtain ⟨f, hf⟩ := hne + obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp hU f hf + exact (lt_of_lt_of_le (weightedGaussianLaw_ball_pos k α hα f hr) + (measure_mono hball)).ne' + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianMoments.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianMoments.lean new file mode 100644 index 0000000000000000000000000000000000000000..c6e092bc2cf38a0cb117a4375d92840432dacf84 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianMoments.lean @@ -0,0 +1,48 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteGaussian +import Mathlib.Probability.Moments.Variance + +namespace OAI + +/-! +# Second moments of the complex Fourier coefficients + +The complex Gaussian used for finite Fourier blocks has second moment twice +the variance of one real coordinate. This includes the zero-variance case. +-/ + +open MeasureTheory ProbabilityTheory +open scoped ENNReal NNReal + +namespace DefocusingNLS + +/-- The nonnegative second moment of a centered real Gaussian. -/ +theorem real_gaussian_second_moment (v : ℝ≥0) : + (∫⁻ x : ℝ, ENNReal.ofReal (x ^ 2) ∂gaussianReal 0 v) = v := by + have h := (memLp_id_gaussianReal (μ := 0) (v := v) 2).ofReal_variance_eq + rw [evariance_eq_lintegral_ofReal] at h + simpa using h.symm + +/-- A complex coefficient with independent real/imaginary variance `v` has +squared-modulus expectation `2*v`. -/ +theorem complex_gaussian_second_moment (v : ℝ≥0) : + (∫⁻ z : ℂ, ENNReal.ofReal (‖z‖ ^ 2) ∂complexGaussian v) = 2 * v := by + rw [complexGaussian, lintegral_map (by fun_prop) (by fun_prop)] + have hnorm (p : ℝ × ℝ) : + ‖Complex.equivRealProdCLM.symm p‖ ^ 2 = p.1 ^ 2 + p.2 ^ 2 := by + rw [Complex.sq_norm, Complex.normSq_apply] + simp [Complex.equivRealProdCLM_symm_apply, pow_two] + simp_rw [hnorm, ENNReal.ofReal_add (sq_nonneg _) (sq_nonneg _)] + rw [lintegral_add_left (by fun_prop)] + rw [lintegral_prod _ (by fun_prop), lintegral_prod _ (by fun_prop)] + simp [real_gaussian_second_moment, two_mul] + +/-- The standard complex Gaussian has unit squared-modulus expectation. -/ +theorem standard_complex_gaussian_normSq_moment : + (∫⁻ z : ℂ, ENNReal.ofReal (Complex.normSq z) ∂complexGaussian (1 / 2)) = 1 := by + have h := complex_gaussian_second_moment (1 / 2) + norm_num [Complex.normSq_eq_norm_sq] at h ⊢ + exact h.trans (ENNReal.mul_inv_cancel (by norm_num) (by simp)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianRealization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianRealization.lean new file mode 100644 index 0000000000000000000000000000000000000000..b5c211292d5df69cc6e80cdaa2844833522fb05e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianRealization.lean @@ -0,0 +1,102 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianFourier +import Mathlib.Topology.Algebra.Module.Basic +import Mathlib.MeasureTheory.Group.Arithmetic + +namespace OAI + +/-! +# A measurable Hilbert-valued realization of the Fourier series + +The weighted coefficients are realized in the standard `ℓ²` Hilbert model of +the Sobolev norm. The realization is a measurable sum of coordinate vectors, +and agrees almost surely with the prescribed coefficients. +-/ + +open MeasureTheory Filter Topology TopologicalSpace +open scoped ENNReal + +noncomputable section + +namespace DefocusingNLS + +abbrev FourierL2 := lp (fun _ : frequencyLattice => ℂ) (2 : ℝ≥0∞) + +/-- Finite coordinate vectors have dense complex span, so this Hilbert model +is separable. -/ +instance : SeparableSpace FourierL2 := by + let S : Set FourierL2 := Set.range (fun n => lp.single 2 n (1 : ℂ)) + have hs : TopologicalSpace.IsSeparable S := (Set.countable_range _).isSeparable + have hspan := hs.span (R := ℂ) + apply TopologicalSpace.isSeparable_univ_iff.mp + apply hspan.closure.mono + intro f _ + change f ∈ (Submodule.span ℂ S).topologicalClosure + apply (Submodule.isClosed_topologicalClosure (Submodule.span ℂ S)).mem_of_tendsto + (lp.hasSum_single (by norm_num : (2 : ℝ≥0∞) ≠ ∞) f) + apply Eventually.of_forall + intro J + apply Submodule.sum_mem + intro n _ + apply (Submodule.span ℂ S).le_topologicalClosure + have h : lp.single 2 n (1 : ℂ) ∈ Submodule.span ℂ S := + Submodule.subset_span ⟨n, rfl⟩ + simpa only [← lp.single_smul, smul_eq_mul, mul_one] using + (Submodule.span ℂ S).smul_mem (f n) h + +instance : MeasurableSpace FourierL2 := borel FourierL2 +instance : BorelSpace FourierL2 := ⟨rfl⟩ + +/-- Measurable Hilbert-valued sum of the weighted Gaussian coordinates. -/ +noncomputable def weightedGaussianVector (k α : ℝ) + (g : frequencyLattice → ℂ) : FourierL2 := + ∑' n, lp.single 2 n (weightedGaussianCoefficient k α g n) + +theorem measurable_weightedGaussianVector (k α : ℝ) : + Measurable (weightedGaussianVector k α) := by + apply Measurable.tsum + intro n + apply (lp.isometry_single (p := 2) n).continuous.measurable.comp + unfold weightedGaussianCoefficient + fun_prop + +/-- In the summable range, the measurable realization has precisely the +prescribed Fourier coefficients almost surely. -/ +theorem ae_weightedGaussianVector_coefficients (k α : ℝ) (hα : k + 6 < α) : + ∀ᵐ g ∂fourierGaussianLaw, ∀ n, + weightedGaussianVector k α g n = weightedGaussianCoefficient k α g n := by + filter_upwards [ae_mem_l2_gaussian_coefficients k α hα] with g hg + have hsum := lp.hasSum_single (by norm_num : (2 : ℝ≥0∞) ≠ ∞) + (⟨weightedGaussianCoefficient k α g, hg⟩ : FourierL2) + intro n + exact congrArg (fun f : FourierL2 => f n) hsum.tsum_eq + +/-- The unweighted Fourier coefficient of an element of the `H^k` model. -/ +noncomputable def sobolevFourierCoefficient (k : ℝ) (f : FourierL2) + (n : frequencyLattice) : ℂ := + (1 + ‖n‖ ^ 2) ^ (-k / 2) • f n + +/-- Undoing the Sobolev weight gives exactly `gₙ / ⟨n⟩^α`. -/ +theorem ae_sobolevFourierCoefficient (k α : ℝ) (hα : k + 6 < α) : + ∀ᵐ g ∂fourierGaussianLaw, ∀ n, + sobolevFourierCoefficient k (weightedGaussianVector k α g) n = + (1 + ‖n‖ ^ 2) ^ (-α / 2) • g n := by + filter_upwards [ae_weightedGaussianVector_coefficients k α hα] with g hg + intro n + rw [sobolevFourierCoefficient, hg, weightedGaussianCoefficient_eq_rpow, + smul_smul, ← Real.rpow_add (by positivity)] + congr 2 + ring + +/-- The corresponding probability law in the Hilbert model. -/ +noncomputable def weightedGaussianLaw (k α : ℝ) : Measure FourierL2 := + fourierGaussianLaw.map (weightedGaussianVector k α) + +instance (k α : ℝ) : IsProbabilityMeasure (weightedGaussianLaw k α) := by + unfold weightedGaussianLaw + infer_instance + +end DefocusingNLS + +end + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianSmallBalls.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianSmallBalls.lean new file mode 100644 index 0000000000000000000000000000000000000000..f458b6c379bcf4016a023a638b119201212cb53d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianSmallBalls.lean @@ -0,0 +1,121 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianBlocks +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianMoments +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.GaussianSupport +import Mathlib.Topology.Algebra.InfiniteSum.ENNReal + +namespace OAI + +/-! +# Small balls for square-summable Gaussian coefficients + +The random tail has arbitrarily small expected energy; a finite head can be +placed near any prescribed target independently of that tail. The argument +proves the coefficient-space probability estimate used for Hilbert support. +-/ + +open MeasureTheory ProbabilityTheory Set Filter +open scoped ENNReal NNReal Topology + +namespace DefocusingNLS + +section CountableProduct + +variable {ι : Type*} [Countable ι] + +/-- Energy beyond a finite set of Fourier frequencies. -/ +noncomputable def gaussianTailEnergy (w : ι → ℝ) (S : Finset ι) (g : ι → ℂ) : ℝ≥0∞ := + ∑' i : ↥((S : Set ι)ᶜ), ENNReal.ofReal (w i) * ENNReal.ofReal (Complex.normSq (g i)) + +theorem measurable_gaussianTailEnergy (w : ι → ℝ) (S : Finset ι) : + Measurable (gaussianTailEnergy w S) := by + apply Measurable.tsum + intro i + fun_prop + +/-- The mean tail energy is exactly the sum of the tail variances. -/ +theorem gaussianTailEnergy_mean (w : ι → ℝ) (S : Finset ι) : + (∫⁻ g, gaussianTailEnergy w S g + ∂Measure.infinitePi (fun _ : ι => complexGaussian (1 / 2))) = + ∑' i : ↥((S : Set ι)ᶜ), ENNReal.ofReal (w i) := by + unfold gaussianTailEnergy + have hm : ∀ i : ↥((S : Set ι)ᶜ), + Measurable (fun g : ι → ℂ => + ENNReal.ofReal (w i) * ENNReal.ofReal (Complex.normSq (g i))) := by + intro i + fun_prop + rw [lintegral_tsum (fun i => (hm i).aemeasurable)] + congr 1 + funext i + rw [lintegral_const_mul _ (by fun_prop)] + have hcoord : (∫⁻ g : ι → ℂ, ENNReal.ofReal (Complex.normSq (g i)) + ∂Measure.infinitePi (fun _ : ι => complexGaussian (1 / 2))) = 1 := by + rw [← lintegral_map (f := fun z : ℂ => ENNReal.ofReal (Complex.normSq z)) + (g := fun g : ι → ℂ => g i) (by fun_prop) (by fun_prop), Measure.infinitePi_map_eval] + exact standard_complex_gaussian_normSq_moment + rw [hcoord, mul_one] + +/-- A small expected tail produces a positive-probability small-tail event. -/ +theorem gaussianTailEnergy_small_pos (w : ι → ℝ) (S : Finset ι) {c : ℝ≥0∞} + (hmean : (∑' i : ↥((S : Set ι)ᶜ), ENNReal.ofReal (w i)) < c) : + 0 < Measure.infinitePi (fun _ : ι => complexGaussian (1 / 2)) + {g | gaussianTailEnergy w S g < c} := by + apply positive_sublevel_of_lintegral_lt + rwa [gaussianTailEnergy_mean] + +omit [Countable ι] in +/-- One finite set makes both a summable variance tail and a square-summable +fixed target tail small. -/ +theorem exists_small_variance_target_tails (w : ι → ℝ) (hw : Summable w) + (f : ι → ℂ) (hf : Summable (fun i => ‖f i‖ ^ 2)) {c : ℝ≥0∞} (hc : 0 < c) : + ∃ S : Finset ι, + (∑' i : ↥((S : Set ι)ᶜ), ENNReal.ofReal (w i)) < c ∧ + (∑' i : ↥((S : Set ι)ᶜ), ENNReal.ofReal (‖f i‖ ^ 2)) < c := by + have hwlim := ENNReal.tendsto_tsum_compl_atTop_zero hw.tsum_ofReal_ne_top + have hflim := ENNReal.tendsto_tsum_compl_atTop_zero hf.tsum_ofReal_ne_top + exact ((hwlim.eventually (gt_mem_nhds hc)).and + (hflim.eventually (gt_mem_nhds hc))).exists + +/-- A finite prescribed coefficient error and a small infinite-tail energy +occur together with positive probability. -/ +theorem gaussian_head_and_tail_pos (w : ι → ℝ) (hw : ∀ i, 0 < w i) + (S : Finset ι) (f : ι → ℂ) {δ : ℝ} (hδ : 0 < δ) {c : ℝ≥0∞} + (hmean : (∑' i : ↥((S : Set ι)ᶜ), ENNReal.ofReal (w i)) < c) : + 0 < Measure.infinitePi (fun _ : ι => complexGaussian (1 / 2)) + ({g | (∑ i : S, ‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2) < δ} ∩ + {g | gaussianTailEnergy w S g < c}) := by + classical + let A : Set (S → ℂ) := + {z | (∑ i : S, ‖(Real.sqrt (w i) : ℂ) * z i - f i‖ ^ 2) < δ} + let B : Set (↥((S : Set ι)ᶜ) → ℂ) := + {z | (∑' i : ↥((S : Set ι)ᶜ), + ENNReal.ofReal (w i) * ENNReal.ofReal (Complex.normSq (z i))) < c} + have hmA : MeasurableSet A := by + apply measurableSet_lt <;> fun_prop + have hmB : MeasurableSet B := by + apply measurableSet_lt + · apply Measurable.tsum + intro i + fun_prop + · exact measurable_const + have hindep : IndepSet + {g | (∑ i : S, ‖(Real.sqrt (w i) : ℂ) * g i - f i‖ ^ 2) < δ} + {g | gaussianTailEnergy w S g < c} + (Measure.infinitePi (fun _ : ι => complexGaussian (1 / 2))) := by + exact (indepFun_iff_indepSet_preimage (by fun_prop) (by fun_prop)).mp + (independent_product_head_tail (fun _ : ι => complexGaussian (1 / 2)) S) + A B hmA hmB + rw [hindep.measure_inter_eq_mul] + apply ENNReal.mul_pos + · have hpos := weighted_gaussian_head_open_pos S (v := 1 / 2) (by norm_num) + (fun i => (Real.sqrt (w i) : ℂ)) + (fun i => Complex.ofReal_ne_zero.mpr (Real.sqrt_pos.mpr (hw i)).ne') + {z : S → ℂ | (∑ i : S, ‖z i - f i‖ ^ 2) < δ} + (by apply isOpen_lt <;> fun_prop) ⟨fun i => f i, by simpa using hδ⟩ + exact hpos.ne' + · exact (gaussianTailEnergy_small_pos w S hmean).ne' + +end CountableProduct + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianSupport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianSupport.lean new file mode 100644 index 0000000000000000000000000000000000000000..23410d6a257904f3c15fd3292061795fefac80ae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/GaussianSupport.lean @@ -0,0 +1,127 @@ +import Mathlib.MeasureTheory.Measure.OpenPos +import Mathlib.MeasureTheory.Integral.Lebesgue.Basic +import Mathlib.Probability.Independence.Basic +import Mathlib.Topology.MetricSpace.Isometry +import Mathlib.Tactic.Linarith + +namespace OAI + +/-! +# Supporting probability lemmas for stable defocusing NLS blowup + +These lemmas formalize the measure and quantifier steps in the proof of +Corollary 1.2 of *Stable self-similar blowup for a supercritical defocusing +Schrödinger equation on the torus* (September 2026). +The independent head/tail argument uses Mathlib's +measure-theoretic independence theorem. +-/ + +open MeasureTheory ProbabilityTheory Set +open scoped ENNReal + +namespace DefocusingNLS + +/-- If the expectation of a nonnegative random variable is below a threshold, +its strict sublevel set has positive probability. Applied to the squared tail +norm, this supplies the tail event in the Fourier support argument. -/ +theorem positive_sublevel_of_lintegral_lt {Ω : Type*} [MeasurableSpace Ω] + {μ : Measure Ω} [IsProbabilityMeasure μ] {F : Ω → ℝ≥0∞} {c : ℝ≥0∞} + (hmean : (∫⁻ ω, F ω ∂μ) < c) : 0 < μ {ω | F ω < c} := by + by_contra hpos + have hzero : μ {ω | F ω < c} = 0 := le_antisymm (le_of_not_gt hpos) bot_le + have hbound : ∀ᵐ ω ∂μ, c ≤ F ω := by + rw [ae_iff] + simpa only [not_le] using hzero + have : c ≤ ∫⁻ ω, F ω ∂μ := by + calc + c = ∫⁻ _ω : Ω, c ∂μ := by simp + _ ≤ ∫⁻ ω, F ω ∂μ := lintegral_mono_ae hbound + exact (not_le_of_gt hmean) this + +section Probability + +variable {Ω E : Type*} [MeasurableSpace Ω] [NormedAddCommGroup E] + {μ : Measure Ω} {X H : Ω → E} {f g : E} {r : ℝ} + +/-- Independent positive-probability head and tail events put the full random +variable in a prescribed ball with positive probability. -/ +theorem positive_ball_of_independent_head_tail + (happrox : ‖f - g‖ < r / 3) + (hhead : 0 < μ {ω | ‖H ω - g‖ < r / 3}) + (htail : 0 < μ {ω | ‖X ω - H ω‖ < r / 3}) + (hindep : IndepSet {ω | ‖H ω - g‖ < r / 3} + {ω | ‖X ω - H ω‖ < r / 3} μ) : + 0 < μ (X ⁻¹' Metric.ball f r) := by + have hpos : 0 < μ ({ω | ‖H ω - g‖ < r / 3} ∩ + {ω | ‖X ω - H ω‖ < r / 3}) := by + rw [hindep.measure_inter_eq_mul] + exact ENNReal.mul_pos hhead.ne' htail.ne' + refine lt_of_lt_of_le hpos (measure_mono ?_) + intro ω hω + change dist (X ω) f < r + rw [dist_eq_norm] + calc + ‖X ω - f‖ = ‖(X ω - H ω) + (H ω - g) + (g - f)‖ := by + congr 1 + abel + _ ≤ ‖X ω - H ω‖ + ‖H ω - g‖ + ‖g - f‖ := norm_add₃_le + _ < r / 3 + r / 3 + r / 3 := by + rw [norm_sub_rev g f] + exact add_lt_add (add_lt_add hω.2 hω.1) happrox + _ = r := by ring + +/-- Nonempty open sets have positive probability whenever the above head/tail +approximation can be made at every center and radius. This is the exact +measure-theoretic part of the Gaussian support argument. -/ +theorem positive_open_of_head_tail + (hsplit : ∀ (f : E) (r : ℝ), 0 < r → + ∃ (H : Ω → E) (g : E), ‖f - g‖ < r / 3 ∧ + 0 < μ {ω | ‖H ω - g‖ < r / 3} ∧ + 0 < μ {ω | ‖X ω - H ω‖ < r / 3} ∧ + IndepSet {ω | ‖H ω - g‖ < r / 3} + {ω | ‖X ω - H ω‖ < r / 3} μ) + {U : Set E} (hU : IsOpen U) (hne : U.Nonempty) : + 0 < μ (X ⁻¹' U) := by + obtain ⟨f, hf⟩ := hne + obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp hU f hf + obtain ⟨H, g, happrox, hhead, htail, hindep⟩ := hsplit f r hr + exact lt_of_lt_of_le + (positive_ball_of_independent_head_tail happrox hhead htail hindep) + (measure_mono (preimage_mono hball)) + +omit [NormedAddCommGroup E] in +/-- A positive-probability set of data incompatible with global continuation +rules out almost-sure global continuation. No measurability of the bad-data +predicate is needed for this implication. -/ +theorem not_ae_of_positive_bad_set {B : Set E} {Good : E → Prop} + (hB : 0 < μ (X ⁻¹' B)) (hbad : ∀ x ∈ B, ¬ Good x) : + ¬ ∀ᵐ ω ∂μ, Good (X ω) := by + intro hgood + have hzero : μ {ω | ¬ Good (X ω)} = 0 := by + simpa only [ae_iff] using hgood + have hle : μ (X ⁻¹' B) ≤ μ {ω | ¬ Good (X ω)} := + measure_mono (fun ω hω => hbad (X ω) hω) + rw [hzero] at hle + exact (not_le_of_gt hB) hle + +end Probability + +/-- The fixed index supplied by the deterministic theorem refutes every finite +Gaussian regularity threshold, with the strict inequalities in the manuscript. -/ +theorem no_universal_regularity_threshold {Global : ℝ → ℝ → Prop} {k : ℝ} + (hk : 8 < k) (hfailure : ∀ α : ℝ, k + 6 < α → ¬ Global α k) : + ¬ ∃ α₀ : ℝ, ∀ α : ℝ, α₀ < α → + ∀ m : ℝ, 8 < m → m < α - 6 → Global α m := by + rintro ⟨α₀, hglobal⟩ + let α := max α₀ (k + 6) + 1 + have hα₀ : α₀ < α := by + dsimp [α] + linarith [le_max_left α₀ (k + 6)] + have hαk : k + 6 < α := by + dsimp [α] + linarith [le_max_right α₀ (k + 6)] + exact hfailure α hαk (hglobal α hα₀ k hk (by linarith)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/LocalUniformSubsequence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/LocalUniformSubsequence.lean new file mode 100644 index 0000000000000000000000000000000000000000..5b1924c4154e8cc1f33bb89fa05e84fedc890ba7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/LocalUniformSubsequence.lean @@ -0,0 +1,46 @@ +import Mathlib.Topology.UniformSpace.Ascoli +import Mathlib.Topology.UniformSpace.CompleteSeparated +import Mathlib.Topology.Sequences +import Mathlib.Analysis.Complex.Basic + +namespace OAI + +/-! # Subsequence extraction for locally equicontinuous complex functions -/ + +open Set Filter Topology + +namespace DefocusingNLS + +theorem exists_localUniform_subsequence {X : Type*} [TopologicalSpace X] + [WeaklyLocallyCompactSpace X] [SigmaCompactSpace X] + (F : ℕ → C(X, ℂ)) (heq : Equicontinuous (fun n => (F n : X → ℂ))) + (hb : ∀ x : X, ∃ M : ℝ, ∀ n, ‖F n x‖ ≤ M) : + ∃ v : C(X, ℂ), ∃ φ : ℕ → ℕ, StrictMono φ ∧ + Tendsto (F ∘ φ) atTop (𝓝 v) := by + let : T2Space (UniformOnFun X ℂ {K | IsCompact K}) := + UniformOnFun.t2Space_of_covering (eq_univ_iff_forall.mpr (fun x => + mem_sUnion_of_mem (mem_singleton x) isCompact_singleton)) + have hemb : IsClosedEmbedding (ContinuousMap.toUniformOnFunIsCompact : + C(X, ℂ) → UniformOnFun X ℂ {K | IsCompact K}) := + ContinuousMap.isUniformEmbedding_toUniformOnFunIsCompact.isClosedEmbedding + have hc : IsCompact (closure (range F)) := by + apply ArzelaAscoli.isCompact_closure_of_isClosedEmbedding + (F := fun f : C(X, ℂ) => (f : X → ℂ)) (fun K hK => hK) hemb + · intro K _ + apply Equicontinuous.equicontinuousOn + intro x U hU + filter_upwards [heq x U hU] with y hy + rintro ⟨f, n, rfl⟩ + exact hy n + · intro K _ x _ + obtain ⟨M, hM⟩ := hb x + refine ⟨Metric.closedBall (0 : ℂ) M, isCompact_closedBall _ _, ?_⟩ + rintro f ⟨n, rfl⟩ + simpa only [Metric.mem_closedBall, dist_zero_right] using hM n + obtain ⟨v, _, φ, hφ, hv⟩ := hc.tendsto_subseq + (fun n => subset_closure (mem_range_self n)) + exact ⟨v, φ, hφ, hv⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/LocalWeightedCompact.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/LocalWeightedCompact.lean new file mode 100644 index 0000000000000000000000000000000000000000..3414cf39a9da5010cd22de0e4d0b8a97bfcd3ab1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/LocalWeightedCompact.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzLocalConvolution + +namespace OAI + +/-! # Weighted physical L² compactness from bounded local convergence -/ + +open MeasureTheory Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem tendsto_weightedL2_of_pointwise_zero (C : ℝ) (V : E → ℂ) (hV : MemLp V 2 volume) + (u : ℕ → C(E, ℂ)) (hu : ∀ n x, ‖u n x‖ ≤ C) + (hpoint : ∀ x, Tendsto (fun n => u n x) atTop (𝓝 0)) : + Tendsto (fun n => ∫ x : E, ‖V x * u n x‖ ^ 2) atTop (𝓝 0) := by + have hbound (n : ℕ) (x : E) : ‖‖V x * u n x‖ ^ 2‖ ≤ ‖V x‖ ^ 2 * C ^ 2 := by + rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _), norm_mul, mul_pow] + exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) (hu n x) 2) (sq_nonneg _) + have hp (x : E) : Tendsto (fun n => ‖V x * u n x‖ ^ 2) atTop (𝓝 0) := by + simpa only [norm_mul, mul_pow, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0), mul_zero] using + ((hpoint x).norm.pow 2).const_mul (‖V x‖ ^ 2) + have hi : Integrable (fun x => ‖V x‖ ^ 2 * C ^ 2) := + (hV.integrable_norm_pow (p := 2) (by norm_num)).mul_const _ + have hm (n : ℕ) : AEStronglyMeasurable (fun x => ‖V x * u n x‖ ^ 2) volume := + (hV.aestronglyMeasurable.mul (u n).continuous.aestronglyMeasurable).norm.pow 2 + simpa only [integral_zero] using tendsto_integral_of_dominated_convergence + (fun x => ‖V x‖ ^ 2 * C ^ 2) hm hi (fun n => ae_of_all _ (hbound n)) (ae_of_all _ hp) + +theorem tendsto_weightedL2_of_locally_uniform_zero (C : ℝ) (V : E → ℂ) (hV : MemLp V 2 volume) + (u : ℕ → C(E, ℂ)) (hu : ∀ n x, ‖u n x‖ ≤ C) + (hlocal : ∀ S ε : ℝ, 0 < ε → ∀ᶠ n in atTop, ∀ y : E, ‖y‖ ≤ S → ‖u n y‖ < ε) : + Tendsto (fun n => ∫ x : E, ‖V x * u n x‖ ^ 2) atTop (𝓝 0) := by + apply tendsto_weightedL2_of_pointwise_zero C V hV u hu + intro x + rw [tendsto_zero_iff_norm_tendsto_zero] + apply tendsto_order.2 + constructor + · intro r hr + exact Eventually.of_forall (fun n => hr.trans_le (norm_nonneg _)) + · intro ε hε + filter_upwards [hlocal ‖x‖ ε hε] with n hn + exact hn x le_rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalSobolevEndpoint.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalSobolevEndpoint.lean new file mode 100644 index 0000000000000000000000000000000000000000..d5434070f12fafb393117c90fe2aa044fb0695f6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalSobolevEndpoint.lean @@ -0,0 +1,148 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.MaximalSobolevFlow +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchrodingerNonlinearEquation + +namespace OAI + +/-! # Finite endpoints of the maximal Sobolev solution -/ + +open Filter Topology Set + +namespace DefocusingNLS + +/-- A finite right boundary of the maximal solution domain cannot be continued across. -/ +theorem maximalSobolevInteractionFlow_not_continuable + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) (a T : ℝ) + (ha : a < 0) (hT : 0 < T) + (hsub : Ioo a T ⊆ maximalSobolevInteractionDomain k hk m f₀) + (hnot : T ∉ maximalSobolevInteractionDomain k hk m f₀) : + ¬ HasSobolevInteractionContinuation k hk m (maximalSobolevInteractionFlow k hk m f₀) T := by + rintro ⟨ε, hε, w, hw, heq⟩ + let V := maximalSobolevInteractionFlow k hk m f₀ + let u : ℝ → FourierL2 := fun s => if s < T then V s else w s + have hueq : u =ᶠ[𝓝 T] w := by + filter_upwards [Ioo_mem_nhds (show T - ε < T by linarith) + (show T < T + ε by linarith)] with s hs + dsimp [u] + split_ifs with hst + · exact (heq ⟨hs.1, hst⟩).symm + · rfl + have hsol : ∀ s ∈ Ioo a (T + ε / 2), + HasDerivAt u (schrodingerInteractionField k hk m s (u s)) s := by + intro s hs + rcases lt_trichotomy s T with hst | he | hts + · have hnear : u =ᶠ[𝓝 s] V := by + filter_upwards [isOpen_Iio.mem_nhds hst] with r hr + change r < T at hr + simp only [u, ite_eq_left hr] + have hd := hasDerivAt_maximalSobolevInteractionFlow k hk m f₀ (hsub ⟨hs.1, hst⟩) + rw [show u s = V s by simp only [u, ite_eq_left hst]] + exact hd.congr_of_eventuallyEq hnear + · subst s + rw [show u T = w T by simp [u]] + exact (hw T ⟨by linarith, by linarith⟩).congr_of_eventuallyEq hueq + · have hnear : u =ᶠ[𝓝 s] w := by + filter_upwards [isOpen_Ioi.mem_nhds hts] with r hr + change T < r at hr + simp only [u, ite_eq_right (not_lt_of_ge hr.le)] + have hd := hw s ⟨by linarith, by linarith [hs.2]⟩ + rw [show u s = w s by simp only [u, ite_eq_right (not_lt_of_ge hts.le)]] + exact hd.congr_of_eventuallyEq hnear + let P : SobolevInteractionPatch k hk m f₀ := + { left := a + right := T + ε / 2 + left_neg := ha + right_pos := by linarith + curve := u + initial := by simp [u, hT, V] + solves := hsol } + apply hnot + exact P.subset_maximalDomain ⟨by dsimp [P]; linarith, by dsimp [P]; linarith⟩ + +/-- The Sobolev norm diverges at a finite right boundary of the actual maximal solution. -/ +theorem maximalSobolevInteractionFlow_norm_tendsto_atTop + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) (a T : ℝ) + (ha : a < 0) (hT : 0 < T) + (hsub : Ioo a T ⊆ maximalSobolevInteractionDomain k hk m f₀) + (hnot : T ∉ maximalSobolevInteractionDomain k hk m f₀) : + Tendsto (fun t => ‖maximalSobolevInteractionFlow k hk m f₀ t‖) (𝓝[<] T) atTop := by + apply sobolevInteraction_norm_tendsto_atTop k hk m _ a T (by linarith) + · intro t ht + exact hasDerivAt_maximalSobolevInteractionFlow k hk m f₀ (hsub ht) + · exact maximalSobolevInteractionFlow_not_continuable k hk m f₀ a T ha hT hsub hnot + +/-- Return the maximal interaction solution to the physical Schrödinger variable. -/ +noncomputable def maximalSobolevSchrodingerFlow (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) (t : ℝ) : FourierL2 := + schrodingerFlow t (maximalSobolevInteractionFlow k hk m f₀ t) + +@[simp] theorem maximalSobolevSchrodingerFlow_initial (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) : maximalSobolevSchrodingerFlow k hk m f₀ 0 = f₀ := by + simp [maximalSobolevSchrodingerFlow] + +theorem hasDerivAt_maximalSobolevSchrodingerFlow (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) {t : ℝ} (ht : t ∈ maximalSobolevInteractionDomain k hk m f₀) : + HasDerivAt (fun s => lowerSobolevInclusion (maximalSobolevSchrodingerFlow k hk m f₀ s)) + (lowerSobolevGenerator (maximalSobolevSchrodingerFlow k hk m f₀ t) - + Complex.I • lowerSobolevInclusion + (sobolevOddPower k hk m (maximalSobolevSchrodingerFlow k hk m f₀ t))) t := by + exact hasDerivAt_of_schrodingerInteraction k hk m _ t + (hasDerivAt_maximalSobolevInteractionFlow k hk m f₀ ht) + +theorem maximalSobolevSchrodingerFlow_norm_tendsto_atTop + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) (a T : ℝ) + (ha : a < 0) (hT : 0 < T) + (hsub : Ioo a T ⊆ maximalSobolevInteractionDomain k hk m f₀) + (hnot : T ∉ maximalSobolevInteractionDomain k hk m f₀) : + Tendsto (fun t => ‖maximalSobolevSchrodingerFlow k hk m f₀ t‖) (𝓝[<] T) atTop := by + simpa only [maximalSobolevSchrodingerFlow, LinearIsometry.norm_map] using + maximalSobolevInteractionFlow_norm_tendsto_atTop k hk m f₀ a T ha hT hsub hnot + +/-- If the maximal time domain is bounded above, its supremum is a positive excluded endpoint. -/ +theorem bounded_maximalSobolevDomain_endpoint (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) (hb : BddAbove (maximalSobolevInteractionDomain k hk m f₀)) : + ∃ a : ℝ, a < 0 ∧ 0 < sSup (maximalSobolevInteractionDomain k hk m f₀) ∧ + Ioo a (sSup (maximalSobolevInteractionDomain k hk m f₀)) ⊆ + maximalSobolevInteractionDomain k hk m f₀ ∧ + sSup (maximalSobolevInteractionDomain k hk m f₀) ∉ + maximalSobolevInteractionDomain k hk m f₀ := by + let D := maximalSobolevInteractionDomain k hk m f₀ + have hzero : (0 : ℝ) ∈ D := zero_mem_maximalSobolevInteractionDomain k hk m f₀ + have hpre : IsPreconnected D := isPreconnected_maximalSobolevInteractionDomain k hk m f₀ + obtain ⟨P⟩ := sobolevInteractionPatch_nonempty k hk m f₀ + have hleft : P.left / 2 ∈ D := P.subset_maximalDomain ⟨by linarith [P.left_neg], + by linarith [P.left_neg, P.right_pos]⟩ + have hright : P.right / 2 ∈ D := P.subset_maximalDomain ⟨by linarith [P.left_neg, P.right_pos], + by linarith [P.right_pos]⟩ + have hpos : 0 < sSup D := lt_of_lt_of_le (by linarith [P.right_pos]) (le_csSup hb hright) + refine ⟨P.left / 2, by linarith [P.left_neg], hpos, ?_, ?_⟩ + · intro t ht + obtain ⟨r, hr, htr⟩ := exists_lt_of_lt_csSup ⟨0, hzero⟩ ht.2 + exact hpre.Icc_subset hleft hr ⟨ht.1.le, htr.le⟩ + · intro hT + have ho : IsOpen D := isOpen_maximalSobolevInteractionDomain k hk m f₀ + obtain ⟨l, r, ⟨hlt, htr⟩, hsub⟩ := mem_nhds_iff_exists_Ioo_subset.mp (ho.mem_nhds hT) + have hy : (sSup D + r) / 2 ∈ D := hsub ⟨by linarith, by linarith⟩ + have hle := le_csSup hb hy + linarith + +/-- A finite maximal forward lifespan has divergent Sobolev norm at its endpoint. -/ +theorem maximalSobolevSchrodingerFlow_finite_lifespan_blowup + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) + (hb : BddAbove (maximalSobolevInteractionDomain k hk m f₀)) : + Tendsto (fun t => ‖maximalSobolevSchrodingerFlow k hk m f₀ t‖) + (𝓝[<] (sSup (maximalSobolevInteractionDomain k hk m f₀))) atTop := by + obtain ⟨a, ha, hT, hsub, hnot⟩ := bounded_maximalSobolevDomain_endpoint k hk m f₀ hb + exact maximalSobolevSchrodingerFlow_norm_tendsto_atTop k hk m f₀ a _ ha hT hsub hnot + +/-- An unbounded maximal forward time domain contains every nonnegative time. -/ +theorem maximalSobolevInteractionDomain_global_of_unbounded + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) + (hb : ¬ BddAbove (maximalSobolevInteractionDomain k hk m f₀)) + (t : ℝ) (ht : 0 ≤ t) : t ∈ maximalSobolevInteractionDomain k hk m f₀ := by + obtain ⟨r, hr, htr⟩ := not_bddAbove_iff.mp hb t + exact (isPreconnected_maximalSobolevInteractionDomain k hk m f₀).Icc_subset + (zero_mem_maximalSobolevInteractionDomain k hk m f₀) hr ⟨ht, htr.le⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalSobolevFlow.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalSobolevFlow.lean new file mode 100644 index 0000000000000000000000000000000000000000..9145a584611db06a37f8bfb705ff4e220fb72acc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalSobolevFlow.lean @@ -0,0 +1,116 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevContinuation + +namespace OAI + +/-! +# The maximal Sobolev interaction solution + +Local solutions through the same initial datum agree on overlapping time +intervals. Their union therefore defines one classical solution on an open, +connected domain, containing every other solution interval through that datum. +-/ + +open Filter Topology Set + +namespace DefocusingNLS + +/-- A classical solution patch on an open interval containing the initial time. -/ +structure SobolevInteractionPatch (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) where + left : ℝ + right : ℝ + left_neg : left < 0 + right_pos : 0 < right + curve : ℝ → FourierL2 + initial : curve 0 = f₀ + solves : ∀ t ∈ Ioo left right, + HasDerivAt curve (schrodingerInteractionField k hk m t (curve t)) t + +theorem sobolevInteractionPatch_nonempty (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) : + Nonempty (SobolevInteractionPatch k hk m f₀) := by + obtain ⟨T, hT, v, hv₀, hv⟩ := exists_sobolevInteractionSolution k hk m f₀ + exact ⟨⟨-T, T, by linarith, hT, v, hv₀, hv⟩⟩ + +/-- The union of every classical solution interval through the prescribed datum. -/ +def maximalSobolevInteractionDomain (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) : Set ℝ := + ⋃ P : SobolevInteractionPatch k hk m f₀, Ioo P.left P.right + +/-- The unique value supplied by any classical solution patch containing the time. -/ +noncomputable def maximalSobolevInteractionFlow (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) (t : ℝ) : FourierL2 := by + classical + exact if ht : t ∈ maximalSobolevInteractionDomain k hk m f₀ then + (Classical.choose (mem_iUnion.mp ht)).curve t + else 0 + +/-- Any two local patches agree wherever their intervals overlap. -/ +theorem SobolevInteractionPatch.eqOn_overlap + {k : ℝ} {hk : 6 < k} {m : ℕ} {f₀ : FourierL2} + (P Q : SobolevInteractionPatch k hk m f₀) : + EqOn P.curve Q.curve (Ioo (max P.left Q.left) (min P.right Q.right)) := by + apply sobolevInteractionSolution_unique_on_interval k hk m P.curve Q.curve + (max P.left Q.left) (min P.right Q.right) 0 + ⟨max_lt P.left_neg Q.left_neg, lt_min P.right_pos Q.right_pos⟩ + · intro t ht + exact P.solves t ⟨lt_of_le_of_lt (le_max_left _ _) ht.1, + lt_of_lt_of_le ht.2 (min_le_left _ _)⟩ + · intro t ht + exact Q.solves t ⟨lt_of_le_of_lt (le_max_right _ _) ht.1, + lt_of_lt_of_le ht.2 (min_le_right _ _)⟩ + · exact P.initial.trans Q.initial.symm + +/-- The maximal solution agrees with each of its classical patches. -/ +theorem maximalSobolevInteractionFlow_eq_patch + {k : ℝ} {hk : 6 < k} {m : ℕ} {f₀ : FourierL2} + (P : SobolevInteractionPatch k hk m f₀) {t : ℝ} (ht : t ∈ Ioo P.left P.right) : + maximalSobolevInteractionFlow k hk m f₀ t = P.curve t := by + have hdom : t ∈ maximalSobolevInteractionDomain k hk m f₀ := mem_iUnion.mpr ⟨P, ht⟩ + rw [maximalSobolevInteractionFlow, dite_eq_left hdom] + let Q := Classical.choose (mem_iUnion.mp hdom) + have hQ : t ∈ Ioo Q.left Q.right := Classical.choose_spec (mem_iUnion.mp hdom) + exact Q.eqOn_overlap P ⟨max_lt hQ.1 ht.1, lt_min hQ.2 ht.2⟩ + +theorem isOpen_maximalSobolevInteractionDomain (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) : IsOpen (maximalSobolevInteractionDomain k hk m f₀) := + isOpen_iUnion (fun _ => isOpen_Ioo) + +theorem zero_mem_maximalSobolevInteractionDomain (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) : 0 ∈ maximalSobolevInteractionDomain k hk m f₀ := by + obtain ⟨P⟩ := sobolevInteractionPatch_nonempty k hk m f₀ + exact mem_iUnion.mpr ⟨P, P.left_neg, P.right_pos⟩ + +theorem isPreconnected_maximalSobolevInteractionDomain (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) : IsPreconnected (maximalSobolevInteractionDomain k hk m f₀) := by + apply isPreconnected_iUnion + · refine ⟨0, mem_iInter.mpr (fun P => ?_)⟩ + exact ⟨P.left_neg, P.right_pos⟩ + · intro P + exact isPreconnected_Ioo + +@[simp] theorem maximalSobolevInteractionFlow_initial (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) : maximalSobolevInteractionFlow k hk m f₀ 0 = f₀ := by + obtain ⟨P⟩ := sobolevInteractionPatch_nonempty k hk m f₀ + rw [maximalSobolevInteractionFlow_eq_patch P ⟨P.left_neg, P.right_pos⟩, P.initial] + +/-- The union is a classical solution at every point of its maximal open domain. -/ +theorem hasDerivAt_maximalSobolevInteractionFlow (k : ℝ) (hk : 6 < k) (m : ℕ) + (f₀ : FourierL2) {t : ℝ} (ht : t ∈ maximalSobolevInteractionDomain k hk m f₀) : + HasDerivAt (maximalSobolevInteractionFlow k hk m f₀) + (schrodingerInteractionField k hk m t (maximalSobolevInteractionFlow k hk m f₀ t)) t := by + obtain ⟨P, hP⟩ := mem_iUnion.mp ht + have he : maximalSobolevInteractionFlow k hk m f₀ =ᶠ[𝓝 t] P.curve := by + filter_upwards [isOpen_Ioo.mem_nhds hP] with s hs + exact maximalSobolevInteractionFlow_eq_patch P hs + rw [maximalSobolevInteractionFlow_eq_patch P hP] + exact (P.solves t hP).congr_of_eventuallyEq he + +/-- Every solution interval through the datum is contained in this domain. -/ +theorem SobolevInteractionPatch.subset_maximalDomain + {k : ℝ} {hk : 6 < k} {m : ℕ} {f₀ : FourierL2} + (P : SobolevInteractionPatch k hk m f₀) : + Ioo P.left P.right ⊆ maximalSobolevInteractionDomain k hk m f₀ := by + intro t ht + exact mem_iUnion.mpr ⟨P, ht⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalStrongSolution.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalStrongSolution.lean new file mode 100644 index 0000000000000000000000000000000000000000..1ff78844b86d1c8178e56bca1f619834ba3aa3ac --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/MaximalStrongSolution.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.MaximalSobolevEndpoint +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevDuhamelIntegral +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.BlowupRate + +namespace OAI + +/-! # Maximality among strong Sobolev Schrödinger solutions -/ + +open Filter Topology Set + +namespace DefocusingNLS + +theorem continuousOn_maximalSobolevSchrodingerFlow + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) : + ContinuousOn (maximalSobolevSchrodingerFlow k hk m f₀) + (maximalSobolevInteractionDomain k hk m f₀) := by + apply continuousOn_schrodingerFlow_curve + intro t ht + exact (hasDerivAt_maximalSobolevInteractionFlow k hk m f₀ ht).continuousAt.continuousWithinAt + +/-- Every strong solution through the initial datum is a restriction of the maximal flow. -/ +theorem strongSobolevSchrodingerSolution_restricts_maximal + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) + (u : ℝ → FourierL2) (a b : ℝ) (ha : a < 0) (hb : 0 < b) + (hu₀ : u 0 = f₀) (huc : ContinuousOn u (Ioo a b)) + (hu : ∀ t ∈ Ioo a b, HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) : + Ioo a b ⊆ maximalSobolevInteractionDomain k hk m f₀ ∧ + EqOn u (maximalSobolevSchrodingerFlow k hk m f₀) (Ioo a b) := by + let P : SobolevInteractionPatch k hk m f₀ := + { left := a + right := b + left_neg := ha + right_pos := hb + curve := inverseSchrodingerCurve u + initial := by simp [inverseSchrodingerCurve, hu₀] + solves := fun t ht => hasDerivAt_inverseSchrodingerCurve k hk m u a b t huc hu ht } + refine ⟨P.subset_maximalDomain, ?_⟩ + intro t ht + change u t = schrodingerFlow t (maximalSobolevInteractionFlow k hk m f₀ t) + rw [maximalSobolevInteractionFlow_eq_patch P ht] + change u t = schrodingerFlow t (schrodingerFlow (-t) (u t)) + rw [← schrodingerFlow_add, add_neg_cancel, schrodingerFlow_zero] + +/-- A positive rescaled observation fixes the finite endpoint of the maximal strong solution. +The observation may be evaluation at any point of the twelve-dimensional torus. -/ +theorem maximalSobolev_lifespan_of_positive_rescaled_observation + {F : Type*} [NormedAddCommGroup F] + (k : ℝ) (hk : 6 < k) (m : ℕ) (f₀ : FourierL2) + (u : ℝ → FourierL2) (a T β c : ℝ) (ha : a < 0) (hT : 0 < T) + (hβ : 0 < β) (hc : 0 < c) (hu₀ : u 0 = f₀) + (huc : ContinuousOn u (Ioo a T)) + (hu : ∀ t ∈ Ioo a T, HasDerivAt (fun s => lowerSobolevInclusion (u s)) + (lowerSobolevGenerator (u t) - + Complex.I • lowerSobolevInclusion (sobolevOddPower k hk m (u t))) t) + (observe : FourierL2 → F) (hobs : Continuous observe) + (hblowup : Tendsto (fun t => (T - t) ^ β * ‖observe (u t)‖) + (𝓝[<] T) (𝓝 c)) : + BddAbove (maximalSobolevInteractionDomain k hk m f₀) ∧ + sSup (maximalSobolevInteractionDomain k hk m f₀) = T := by + obtain ⟨hsub, heq⟩ := strongSobolevSchrodingerSolution_restricts_maximal + k hk m f₀ u a T ha hT hu₀ huc hu + have hnot : T ∉ maximalSobolevInteractionDomain k hk m f₀ := by + intro hmem + have hcont := (continuousOn_maximalSobolevSchrodingerFlow k hk m f₀ T hmem).continuousAt + ((isOpen_maximalSobolevInteractionDomain k hk m f₀).mem_nhds hmem) + have hlim := hobs.continuousAt.tendsto.comp + (hcont.tendsto.mono_left (nhdsWithin_le_nhds : 𝓝[<] T ≤ 𝓝 T)) + have hev : (fun t => observe (u t)) =ᶠ[𝓝[<] T] + (fun t => observe (maximalSobolevSchrodingerFlow k hk m f₀ t)) := by + filter_upwards [Ioo_mem_nhdsLT (show a < T by linarith)] with t ht + rw [heq ht] + exact no_left_limit_of_positive_rescaled_norm (fun t => observe (u t)) T β c hβ hc + hblowup ⟨_, hlim.congr' hev.symm⟩ + have hbound : ∀ t ∈ maximalSobolevInteractionDomain k hk m f₀, t ≤ T := by + intro t ht + by_contra hn + apply hnot + exact (isPreconnected_maximalSobolevInteractionDomain k hk m f₀).Icc_subset + (zero_mem_maximalSobolevInteractionDomain k hk m f₀) ht ⟨hT.le, (lt_of_not_ge hn).le⟩ + refine ⟨⟨T, hbound⟩, ?_⟩ + apply csSup_eq_of_forall_le_of_forall_lt_exists_gt + ⟨0, zero_mem_maximalSobolevInteractionDomain k hk m f₀⟩ hbound + intro r hr + let s := (max a r + T) / 2 + have hs : s ∈ Ioo a T := by + have hmax : max a r < T := max_lt (by linarith) hr + have hamax := le_max_left a r + dsimp [s] + constructor <;> linarith + refine ⟨s, hsub hs, ?_⟩ + have hrmax := le_max_right a r + dsimp [s] + linarith [max_lt (show a < T by linarith) hr] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormalizedFrameLowerBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormalizedFrameLowerBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..a214d270af745f2fc5e4eb641254ff2abc1dbc41 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormalizedFrameLowerBound.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphReconstruction + +namespace OAI + +/-! # A normalized right inverse bounds its coordinate normalization from below -/ + +namespace DefocusingNLS +variable {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup V] [NormedSpace ℝ V] [Nontrivial V] + +theorem normalized_coordinate_lower_bound (K B : ℝ) (hK : 0 ≤ K) + (κ : E →L[ℝ] V) (hκ : ‖κ‖ ≤ B) (ζ : V →L[ℝ] E) (hζ : ‖ζ‖ ≤ 1) + (hinv : ∀ v, (K • κ) (ζ v) = v) : 1 ≤ K * B := by + have he : (K • κ).comp ζ = ContinuousLinearMap.id ℝ V := by + ext v + exact hinv v + have h := ContinuousLinearMap.opNorm_comp_le (K • κ) ζ + rw [he, ContinuousLinearMap.norm_id, norm_smul, Real.norm_eq_abs, abs_of_nonneg hK] at h + calc + 1 ≤ K * ‖κ‖ * ‖ζ‖ := h + _ ≤ K * B * 1 := mul_le_mul (mul_le_mul_of_nonneg_left hκ hK) hζ + (norm_nonneg _) (mul_nonneg hK ((norm_nonneg κ).trans hκ)) + _ = _ := mul_one _ + +theorem normalized_stable_projection_bound (K B : ℝ) (hK : 0 ≤ K) + (κ : E →L[ℝ] V) (hκ : ‖κ‖ ≤ B) (ζ : V →L[ℝ] E) (hζ : ‖ζ‖ ≤ 1) + (hinv : ∀ v, (K • κ) (ζ v) = v) (f : E) : + ‖stableFrameProjection ζ (K • κ) f‖ ≤ 2 * K * B * ‖f‖ := by + have hlower := normalized_coordinate_lower_bound K B hK κ hκ ζ hζ hinv + have hπ : ‖K • κ‖ ≤ K * B := by + rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg hK] + exact mul_le_mul_of_nonneg_left hκ hK + have hb : ‖ζ ((K • κ) f)‖ ≤ K * B * ‖f‖ := by + calc + _ ≤ ‖ζ‖ * ‖(K • κ) f‖ := ζ.le_opNorm _ + _ ≤ 1 * ((K * B) * ‖f‖) := + mul_le_mul hζ (((K • κ).le_opNorm f).trans + (mul_le_mul_of_nonneg_right hπ (norm_nonneg _))) (norm_nonneg _) + (by norm_num) + _ = _ := one_mul _ + change ‖f - ζ ((K • κ) f)‖ ≤ _ + exact (norm_sub_le _ _).trans (by nlinarith [mul_le_mul_of_nonneg_right hlower (norm_nonneg f)]) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormalizedStableGraphIntersection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormalizedStableGraphIntersection.lean new file mode 100644 index 0000000000000000000000000000000000000000..3ac44ae79cd61af8afafe2044384c743e85e60d0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormalizedStableGraphIntersection.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FlatStableGraphIntersection + +namespace OAI + +/-! # Selecting parameters using unnormalized coordinates of the flat graph -/ + +open Set Metric +namespace DefocusingNLS +local notation "Params" => ProfileSymmetryParameters +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + +theorem stableFrameProjection_normalize (K : ℝ) + (ζ : V →L[ℝ] FourierL2) (κ : FourierL2 →L[ℝ] V) : + stableFrameProjection (K • ζ) κ = stableFrameProjection ζ (K • κ) := by + ext f + simp only [stableFrameProjection, sub_apply, + ContinuousLinearMap.id_apply, ContinuousLinearMap.comp_apply, + smul_apply, map_smul] + +theorem normalized_flatStableGraph_intersection + (C : Params ≃L[ℝ] V) (r ρ L₀ ε ν η W K : ℝ) + (hr : 0 ≤ r) (hν : 0 ≤ ν) (hK : 0 < K) (hW : W ≤ ρ / 4) + (κ : Radius → FourierL2 →L[ℝ] V) (ζ : Radius → V →L[ℝ] FourierL2) + (hκc : Continuous (fun q : Radius × FourierL2 => κ q.1 q.2)) + (hζc : ContinuousOn ζ {L : Radius | L₀ ≤ L.1}) + (hinv : ∀ L : Radius, L₀ ≤ L.1 → ∀ v, (K • κ L) (ζ L v) = v) + (G : CutoffStableParameter ρ L₀ (fun L => K • κ L) → FourierL2) + (hGc : Continuous G) + (hGstable : ∀ q, stableFrameProjection (ζ q.1.1) (K • κ q.1.1) (G q) = q.1.2) + (hGflat : ∀ q, ‖(K • κ q.1.1) (G q)‖ ≤ ν * (‖q.1.2‖ + 2 * η) + 2 * η) + (L : closedBall (0 : Params) r → Radius) (hLc : Continuous L) + (hL : ∀ p, L₀ ≤ (L p).1) + (f : closedBall (0 : Params) r → FourierL2) (hfc : Continuous f) + (hwbound : ∀ p, ‖stableFrameProjection (ζ (L p)) (K • κ (L p)) (f p)‖ ≤ W) + (herror : ∀ p, ‖κ (L p) (f p) - C p.1‖ ≤ ε) + (hsmall : ‖C.symm.toContinuousLinearMap‖ * + (ε + (ν * (W + 2 * η) + 2 * η) / K) ≤ r) : + ∃ p, ∃ q : CutoffStableParameter ρ L₀ (fun L => K • κ L), + q.1.1 = L p ∧ G q = f p := by + let w := fun p => stableFrameProjection (ζ (L p)) (K • κ (L p)) (f p) + have hzc : Continuous (fun p => ζ (L p)) := hζc.comp_continuous hLc hL + have hpc : Continuous (fun p => (K • κ (L p)) (f p)) := + continuous_const.smul (hκc.comp (hLc.prodMk hfc)) + have hwc : Continuous w := hfc.sub (hzc.clm_apply hpc) + let Q := fun p : closedBall (0 : Params) r => + (⟨(L p, w p), hL p, (hwbound p).trans hW, + stableFrameProjection_coordinate _ _ (hinv (L p) (hL p)) (f p)⟩ : + CutoffStableParameter ρ L₀ (fun L => K • κ L)) + have hQc : Continuous Q := (hLc.prodMk hwc).subtype_mk _ + have hgb (p : closedBall (0 : Params) r) : + ‖κ (L p) (G (Q p))‖ ≤ (ν * (W + 2 * η) + 2 * η) / K := by + apply (le_div_iff₀ hK).mpr + have hn := hGflat (Q p) + simp only [smul_apply, norm_smul, Real.norm_eq_abs, abs_of_pos hK] at hn + apply (show ‖κ (L p) (G (Q p))‖ * K = K * ‖κ (L p) (G (Q p))‖ by ring).le.trans + exact hn.trans (add_le_add (mul_le_mul_of_nonneg_left + (add_le_add (hwbound p) le_rfl) hν) le_rfl) + have hgs (p : closedBall (0 : Params) r) : + stableFrameProjection (K • ζ (L p)) (κ (L p)) (G (Q p)) = + stableFrameProjection (K • ζ (L p)) (κ (L p)) (f p) := by + simp only [stableFrameProjection_normalize] + exact hGstable (Q p) + obtain ⟨p, hp⟩ := physical_parameter_zero_of_coordinate_bound C r ε + ((ν * (W + 2 * η) + 2 * η) / K) hr f (fun p => G (Q p)) + (fun p => κ (L p)) (fun p => K • ζ (L p)) hfc (hGc.comp hQc) + (hκc.comp ((hLc.comp continuous_fst).prodMk continuous_snd)) herror hgb hgs hsmall + exact ⟨p, Q p, rfl, hp.symm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormedCurveTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormedCurveTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..c6fc7f66145759b2058abac49c19c7e234d2241d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/NormedCurveTaylor.lean @@ -0,0 +1,44 @@ +import Mathlib.Analysis.Calculus.MeanValue + +namespace OAI + +/-! # A first-order Taylor bound from the norm of the second derivative -/ + +open Set +namespace DefocusingNLS + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + +theorem normedCurve_firstOrder_bound (u v w : ℝ → E) (r B : ℝ) + (hB : 0 ≤ B) + (hu : ∀ t ∈ Icc (-r) r, HasDerivAt u (v t) t) + (hv : ∀ t ∈ Icc (-r) r, HasDerivAt v (w t) t) + (hw : ∀ t ∈ Icc (-r) r, ‖w t‖ ≤ B) + (t : ℝ) (ht : |t| ≤ r) : + ‖u t - u 0 - t • v 0‖ ≤ B * |t| ^ 2 := by + let s := Icc (-|t|) |t| + have hsub : s ⊆ Icc (-r) r := by + intro x hx + exact ⟨(neg_le_neg ht).trans hx.1, hx.2.trans ht⟩ + have h0 : (0 : ℝ) ∈ s := ⟨neg_nonpos.mpr (abs_nonneg _), abs_nonneg _⟩ + have htt : t ∈ s := ⟨neg_abs_le t, le_abs_self t⟩ + have hdb (x : ℝ) (hx : x ∈ s) : ‖v x - v 0‖ ≤ B * |t| := by + have hb := Convex.norm_image_sub_le_of_norm_hasDerivWithin_le + (fun y hy => (hv y (hsub hy)).hasDerivWithinAt) + (fun y hy => hw y (hsub hy)) (convex_Icc (-|t|) |t|) h0 hx + simp only [sub_zero, Real.norm_eq_abs] at hb + exact hb.trans (mul_le_mul_of_nonneg_left (abs_le.mpr hx) hB) + let f := fun x => u x - u 0 - x • v 0 + have hd (x : ℝ) (hx : x ∈ s) : HasDerivWithinAt f (v x - v 0) s x := by + have hh := ((hu x (hsub hx)).sub_const (u 0)).sub + ((hasDerivAt_id x).smul_const (v 0)) + convert hh.hasDerivWithinAt using 1 + · rfl + · simp only [one_smul] + have hb := Convex.norm_image_sub_le_of_norm_hasDerivWithin_le + hd hdb (convex_Icc (-|t|) |t|) h0 htt + simpa only [f, zero_smul, sub_self, sub_zero, Real.norm_eq_abs, pow_two, mul_assoc] using hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/OddPowerMixedIncrement.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/OddPowerMixedIncrement.lean new file mode 100644 index 0000000000000000000000000000000000000000..e00b6c6402c1d1367ae0c0742ef5ffa74466825d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/OddPowerMixedIncrement.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerNonlinearity +import Mathlib.Analysis.Calculus.MeanValue +import Mathlib.Analysis.Normed.Module.FiniteDimension + +namespace OAI + +/-! # Mixed increments of the scalar odd-power nonlinearity + +The extra factor of the increment preserves the decaying tail weight when +the background profile varies at a fixed power. +-/ + +open Set Metric + +namespace DefocusingNLS + +theorem exists_oddPower_derivative_lipschitz (m : ℕ) (R : ℝ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ z w : ℂ, ‖z‖ ≤ R → ‖w‖ ≤ R → + ‖fderiv ℝ (oddPowerNonlinearity m) z - + fderiv ℝ (oddPowerNonlinearity m) w‖ ≤ C * ‖z - w‖ := by + have hN := contDiff_oddPowerNonlinearity m + have hD := (contDiff_infty_iff_fderiv.mp (hN.of_le (by simp))).2 + have hDD : Continuous (fderiv ℝ (fderiv ℝ (oddPowerNonlinearity m))) := + (contDiff_infty_iff_fderiv.mp hD).2.continuous + have hnorm : Continuous (fun x : ℂ => ‖fderiv ℝ (fderiv ℝ (oddPowerNonlinearity m)) x‖) := by + let V := ℂ →L[ℝ] ℂ →L[ℝ] ℂ + let G : SeminormedAddGroup V := inferInstance + have hd : @Continuous ℂ V inferInstance G.toUniformSpace.toTopologicalSpace + (fderiv ℝ (fderiv ℝ (oddPowerNonlinearity m))) := by + convert! hDD using 1 + have hn := (@continuous_norm V G).comp hd + convert! hn using 1 + obtain ⟨C, hC⟩ := (isCompact_closedBall (0 : ℂ) R).exists_bound_of_continuousOn + hnorm.continuousOn + refine ⟨max C 0, le_max_right _ _, ?_⟩ + intro z w hz hw + apply (convex_closedBall (0 : ℂ) R).norm_image_sub_le_of_norm_fderiv_le + (fun x _ => hD.differentiable (by simp) x) + · intro x hx + have hcx : ‖fderiv ℝ (fderiv ℝ (oddPowerNonlinearity m)) x‖ ≤ C := by + apply (Real.le_norm_self _).trans + convert! hC x hx using 1 + exact hcx.trans (le_max_left _ _) + · simpa using hw + · simpa using hz + +/-- For fixed power and a fixed bounded ball, varying the background changes +the nonlinear increment by at most `C * ‖f-g‖ * ‖h‖`. -/ +theorem exists_oddPower_mixed_increment_bound (m : ℕ) (M : ℝ) (hM : 0 ≤ M) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ f g h : ℂ, ‖f‖ ≤ M → ‖g‖ ≤ M → ‖h‖ ≤ M → + ‖(oddPowerNonlinearity m (f + h) - oddPowerNonlinearity m f) - + (oddPowerNonlinearity m (g + h) - oddPowerNonlinearity m g)‖ ≤ + C * ‖f - g‖ * ‖h‖ := by + obtain ⟨C, hC, hb⟩ := exists_oddPower_derivative_lipschitz m (2 * M) + refine ⟨C, hC, ?_⟩ + intro f g h hf hg hh + let F : ℂ → ℂ := fun x => oddPowerNonlinearity m (x + h) - oddPowerNonlinearity m x + have hF (x : ℂ) : HasFDerivAt F + (fderiv ℝ (oddPowerNonlinearity m) (x + h) - + fderiv ℝ (oddPowerNonlinearity m) x) x := by + have hshift : HasFDerivAt (fun y : ℂ => y + h) (ContinuousLinearMap.id ℝ ℂ) x := + (hasFDerivAt_id x).add_const h + have hN := (contDiff_oddPowerNonlinearity m).differentiable (by simp) + convert! ((hN (x + h)).hasFDerivAt.comp x hshift).sub (hN x).hasFDerivAt using 1 + have hdb : ∀ x ∈ closedBall (0 : ℂ) M, + ‖fderiv ℝ (oddPowerNonlinearity m) (x + h) - + fderiv ℝ (oddPowerNonlinearity m) x‖ ≤ C * ‖h‖ := by + intro x hx + have hxM : ‖x‖ ≤ M := by simpa using hx + have hx2 : ‖x‖ ≤ 2 * M := by linarith + have hxh : ‖x + h‖ ≤ 2 * M := (norm_add_le x h).trans (by linarith) + simpa only [add_sub_cancel_left] using hb (x + h) x hxh hx2 + have hbound := (convex_closedBall (0 : ℂ) M).norm_image_sub_le_of_norm_hasFDerivWithin_le + (fun x _ => (hF x).hasFDerivWithinAt) hdb + (show g ∈ closedBall (0 : ℂ) M by simpa using hg) + (show f ∈ closedBall (0 : ℂ) M by simpa using hf) + change ‖F f - F g‖ ≤ _ + exact hbound.trans_eq (by ring) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/OddPowerNonlinearity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/OddPowerNonlinearity.lean new file mode 100644 index 0000000000000000000000000000000000000000..13715f1993d0775a4234b989663952aef8959a64 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/OddPowerNonlinearity.lean @@ -0,0 +1,56 @@ +import Mathlib.Analysis.Calculus.FDeriv.Pow +import Mathlib.Analysis.Calculus.FDeriv.Star +import Mathlib.Analysis.Calculus.ContDiff.Operations +import Mathlib.Analysis.Calculus.ContDiff.RCLike +import Mathlib.Analysis.Complex.Norm +import Mathlib.Tactic + +namespace OAI + +/-! # The odd-power defocusing nonlinearity + +For an odd power `p = 2m + 1`, the scalar nonlinearity is a real polynomial +in a complex variable and its conjugate. Its real derivative has the two +circular components used in the linearized equation. +-/ + +namespace DefocusingNLS + +noncomputable section + +def oddPowerNonlinearity (m : ℕ) (z : ℂ) : ℂ := z ^ (m + 1) * star z ^ m + +theorem oddPowerNonlinearity_eq (m : ℕ) (z : ℂ) : + oddPowerNonlinearity m z = ((‖z‖ ^ (2 * m) : ℝ) : ℂ) * z := by + calc + oddPowerNonlinearity m z = (z * star z) ^ m * z := by + rw [oddPowerNonlinearity, mul_pow, pow_succ] + ring + _ = ((‖z‖ ^ (2 * m) : ℝ) : ℂ) * z := by + have hz : z * star z = (Complex.normSq z : ℂ) := by + simpa only [starRingEnd_apply] using Complex.mul_conj z + rw [hz, ← Complex.sq_norm, ← Complex.ofReal_pow, ← pow_mul] + +def oddPowerDerivative (m : ℕ) (z : ℂ) : ℂ →L[ℝ] ℂ := + (((m + 1 : ℕ) : ℂ) * z ^ m * star z ^ m) • ContinuousLinearMap.id ℝ ℂ + + ((m : ℂ) * z ^ (m + 1) * star z ^ (m - 1)) • + (starL' ℝ : ℂ ≃L[ℝ] ℂ).toContinuousLinearMap + +theorem hasFDerivAt_oddPowerNonlinearity (m : ℕ) (z : ℂ) : + HasFDerivAt (oddPowerNonlinearity m) (oddPowerDerivative m z) z := by + have h := ((hasFDerivAt_id z (𝕜 := ℝ)).pow (m + 1)).mul + (((hasFDerivAt_id z (𝕜 := ℝ)).star).pow m) + apply h.congr_fderiv + ext v : 1 + simp [oddPowerDerivative, nsmul_eq_mul, smul_eq_mul] + ring + +theorem contDiff_oddPowerNonlinearity (m : ℕ) : + ContDiff ℝ ⊤ (oddPowerNonlinearity m) := by + exact (contDiff_id.pow (m + 1)).mul + ((starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.pow m) + +end +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterBoxHomotopy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterBoxHomotopy.lean new file mode 100644 index 0000000000000000000000000000000000000000..52f810c035a246a806d7ca25d743b8749f93ddd8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterBoxHomotopy.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ZeroTailParameterContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.RectangleHomotopyCount + +namespace OAI + +/-! # The finite zero-tail count throughout the certified parameter box -/ + +open Set + +namespace DefocusingNLS + +attribute [local irreducible] spectralHomotopyDeterminant matchingHomotopyColumn backwardProduct + +noncomputable def certifiedParameterSegment (center value t : ℝ) : ℝ := + center + t * (value - center) + +@[simp] theorem certifiedParameterSegment_zero (c b : ℝ) : + certifiedParameterSegment c b 0 = c := by simp [certifiedParameterSegment] + +@[simp] theorem certifiedParameterSegment_one (c b : ℝ) : + certifiedParameterSegment c b 1 = b := by simp [certifiedParameterSegment] + +theorem certifiedParameterSegment_bound (C center value t : ℝ) + (hc : 100000000 * center = C) (hb : |100000000 * value - C| ≤ 2) + (ht : t ∈ Icc (0 : ℝ) 1) : + |100000000 * certifiedParameterSegment center value t - C| ≤ 2 := by + have he : 100000000 * certifiedParameterSegment center value t - C = + t * (100000000 * value - C) := by + calc + 100000000 * certifiedParameterSegment center value t - C = + (1 - t) * (100000000 * center - C) + t * (100000000 * value - C) := by + unfold certifiedParameterSegment + ring + _ = t * (100000000 * value - C) := by rw [sub_eq_zero.mpr hc]; ring + rw [he, abs_mul, abs_of_nonneg ht.1] + exact (mul_le_of_le_one_left (abs_nonneg _) ht.2).trans hb + +theorem continuous_zeroTail_parameterSegment (ell : ℕ) (b Z : ℝ) : + Continuous (fun x : ℝ × ℂ => spectralHomotopyDeterminant ell + (certifiedParameterSegment (33477607 / 100000000) b x.1) + (certifiedParameterSegment (270506819 / 100000000) Z x.1) 0 x.2) := by + have hc : Continuous (fun x : ℝ × ℂ => + (certifiedParameterSegment (33477607 / 100000000) b x.1, + certifiedParameterSegment (270506819 / 100000000) Z x.1, x.2)) := by + unfold certifiedParameterSegment + fun_prop + simpa only [Function.comp_def] using (continuous_zeroTail_spectralDeterminant ell).comp hc + +/-- The certified boundary stays zero-free along the straight parameter segment. +Only the published rectangle Rouché input is assumed. -/ +theorem exists_zeroTail_parameter_count (hR : RectangleRouche) (ell : Fin 4) : + ∃ V : ℝ, 0 < V ∧ ∀ W : ℝ, V < W → ∀ b Z : ℝ, + |100000000 * b - 33477607| ≤ 2 → |100000000 * Z - 270506819| ≤ 2 → + rectangleZeroCount W + (spectralHomotopyDeterminant ell (33477607 / 100000000) + (270506819 / 100000000) 0) = + rectangleZeroCount W (spectralHomotopyDeterminant ell b Z 0) := by + obtain ⟨V, hV, he⟩ := exists_spectral_counting_boundary ell + refine ⟨V, hV, ?_⟩ + intro W hW b Z hb hZ + let B := certifiedParameterSegment (33477607 / 100000000) b + let C := certifiedParameterSegment (270506819 / 100000000) Z + have hB (t : ℝ) (ht : t ∈ Icc (0 : ℝ) 1) : |100000000 * B t - 33477607| ≤ 2 := + certifiedParameterSegment_bound _ _ b t (by norm_num) hb ht + have hC (t : ℝ) (ht : t ∈ Icc (0 : ℝ) 1) : |100000000 * C t - 270506819| ≤ 2 := + certifiedParameterSegment_bound _ _ Z t (by norm_num) hZ ht + have hC0 (t : ℝ) (ht : t ∈ Icc (0 : ℝ) 1) : C t ≠ 0 := by + have hh := hC t ht + intro hz + norm_num [hz] at hh + have hc := rectangleZeroCount_homotopy hR W (hV.trans hW) + (fun t => spectralHomotopyDeterminant ell (B t) (C t) 0) ?_ ?_ ?_ + · simpa only [B, C, certifiedParameterSegment_zero, certifiedParameterSegment_one] using hc + · intro t ht z hz + exact analyticAt_spectralHomotopyDeterminant ell (B t) (C t) 0 z (hC0 t ht) hz.1 + · intro t ht z hz + exact (continuous_zeroTail_parameterSegment ell b Z).continuousAt + · intro t ht z hz + apply he (B t) (C t) 0 z (hB t ht) (hC t ht) (by norm_num) (by norm_num) + rcases (mem_countingRectangleBoundary_iff W z).mp hz with ⟨hrect, hedge⟩ + rcases hedge with hleft | hright | hbottom | htop + · exact Or.inl hleft + · exact Or.inr (Or.inl hright.ge) + · exact Or.inr (Or.inr ⟨hrect.1, by + rw [hbottom, abs_neg, abs_of_pos (hV.trans hW)] + exact hW⟩) + · exact Or.inr (Or.inr ⟨hrect.1, by + rw [htop, abs_of_pos (hV.trans hW)] + exact hW⟩) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterChoice.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterChoice.lean new file mode 100644 index 0000000000000000000000000000000000000000..1d9a55bf08836b5ea528eb979bb357b4728e3b35 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterChoice.lean @@ -0,0 +1,55 @@ +import Mathlib.Algebra.Order.AbsoluteValue.Basic +import Mathlib.Data.Rat.Floor +import Mathlib.Tactic + +namespace OAI + +/-! +# Finite choices of the nonlinearity power and Sobolev index + +The manuscript first constructs profiles for all sufficiently small positive +`a`, then chooses an odd integer power with `a = 1 / (p - 1)`, and only afterward +chooses the finite Sobolev index. These lemmas justify that order of choices. +-/ + +namespace DefocusingNLS + +/-- Every small-parameter interval contains the reciprocal of an even positive +integer, yielding an odd power at least three. -/ +theorem exists_odd_power_with_small_reciprocal (a₀ : ℝ) (ha₀ : 0 < a₀) : + ∃ p : ℕ, Odd p ∧ 3 ≤ p ∧ 0 < 1 / ((p : ℝ) - 1) ∧ + 1 / ((p : ℝ) - 1) < a₀ := by + obtain ⟨n, hn⟩ := exists_nat_gt (1 / a₀) + have hden : 0 < ((2 * n + 3 : ℕ) : ℝ) - 1 := by + push_cast + linarith [Nat.cast_nonneg (α := ℝ) n] + refine ⟨2 * n + 3, ⟨n + 1, by omega⟩, by omega, one_div_pos.mpr hden, ?_⟩ + apply (div_lt_iff₀ hden).mpr + have hlarge : 1 / a₀ < ((2 * n + 3 : ℕ) : ℝ) - 1 := by + push_cast + linarith [Nat.cast_nonneg (α := ℝ) n] + have hmul := (div_lt_iff₀ ha₀).mp hlarge + nlinarith + +/-- The high derivative index can be chosen after the profile and potential +bound, without an infinite regularity requirement. -/ +theorem exists_sobolev_index (a B : ℝ) : + ∃ k : ℕ, 8 < k ∧ 6 - 2 * a + 2 * B + 1 < (k : ℝ) := by + obtain ⟨k, hk⟩ := exists_nat_gt (max 8 (6 - 2 * a + 2 * B + 1)) + refine ⟨k, ?_, lt_of_le_of_lt (le_max_right _ _) hk⟩ + have h8 : (8 : ℝ) < k := lt_of_le_of_lt (le_max_left _ _) hk + exact_mod_cast h8 + +/-- Every power considered here is energy-supercritical in dimension twelve. -/ +theorem energy_supercritical_in_twelve {p : ℕ} (hp : 3 ≤ p) : + 1 < 6 - 2 / ((p : ℝ) - 1) := by + have hp' : (3 : ℝ) ≤ p := by exact_mod_cast hp + have hd : 0 < (p : ℝ) - 1 := by linarith + have hdiv : 2 / ((p : ℝ) - 1) ≤ 1 := by + apply (div_le_iff₀ hd).mpr + linarith + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterOpenness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterOpenness.lean new file mode 100644 index 0000000000000000000000000000000000000000..45d57400828160a6563882b922cdc74baec75490 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ParameterOpenness.lean @@ -0,0 +1,85 @@ +import FixedPointTheorems.brouwer + +namespace OAI + +/-! +# Filling an open neighborhood with physical parameters + +The finite-dimensional step used in the proof of Theorem `thm:blowup`. +Brouwer's theorem gives a zero for a continuous perturbation of an invertible +linear parameter map when the boundary error is sufficiently small. +-/ + +open Metric Set + +namespace DefocusingNLS + +/-- A continuous perturbation of the identity on a ball covers the smaller ball. -/ +theorem continuous_perturbation_covers_ball {E : Type*} + [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] + (r δ : ℝ) (hr : 0 ≤ r) + (f : closedBall (0 : E) r → E) (hf : Continuous f) + (herror : ∀ x, ‖f x - x.val‖ ≤ δ) : + closedBall (0 : E) (r - δ) ⊆ Set.range f := by + intro z hz + have hz' : ‖z‖ ≤ r - δ := by simpa using hz + have hmaps (x : closedBall (0 : E) r) : + z - (f x - x.val) ∈ closedBall (0 : E) r := by + have hbound := (norm_sub_le z (f x - x.val)).trans (add_le_add hz' (herror x)) + simpa only [mem_closedBall, dist_zero_right, sub_add_cancel] using hbound + let T : C(closedBall (0 : E) r, closedBall (0 : E) r) := + ⟨fun x => ⟨z - (f x - x.val), hmaps x⟩, + (continuous_const.sub (hf.sub continuous_subtype_val)).subtype_mk _⟩ + obtain ⟨u, hu⟩ := brouwer_fixed_point (closedBall (0 : E) r) + (convex_closedBall _ _) (isCompact_closedBall _ _) + ⟨0, mem_closedBall_self hr⟩ T + have heq := congrArg (fun x : closedBall (0 : E) r => x.val) hu + change z - (f u - u.val) = u.val at heq + refine ⟨u, ?_⟩ + calc + f u = (f u - u.val) + u.val := (sub_add_cancel _ _).symm + _ = (f u - u.val) + (z - (f u - u.val)) := by rw [heq] + _ = z := by abel + +/-- The zero-existence specialization used after preconditioning by the +invertible physical-parameter matrix. -/ +theorem zero_of_small_continuous_error {E : Type*} + [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] + (r δ : ℝ) (hr : 0 ≤ r) (hδ : δ ≤ r) + (f : closedBall (0 : E) r → E) (hf : Continuous f) + (herror : ∀ x, ‖f x - x.val‖ ≤ δ) : + ∃ x, f x = 0 := by + apply continuous_perturbation_covers_ball r δ hr f hf herror + simpa using (sub_nonneg.mpr hδ : 0 ≤ r - δ) + +/-- The version applied to a map close to an invertible physical-parameter +matrix, after multiplication by its inverse. -/ +theorem zero_of_near_invertible_linear_map {E : Type*} + [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] + (C : E ≃L[ℝ] E) (r δ : ℝ) (hr : 0 ≤ r) (hδ : δ ≤ r) + (f : closedBall (0 : E) r → E) (hf : Continuous f) + (herror : ∀ x, ‖C.symm (f x) - x.val‖ ≤ δ) : + ∃ x, f x = 0 := by + obtain ⟨x, hx⟩ := zero_of_small_continuous_error r δ hr hδ + (fun x => C.symm (f x)) (C.symm.continuous.comp hf) herror + refine ⟨x, ?_⟩ + simpa using congrArg C hx + +/-- Phase, twelve translations, and logarithmic blowup time. -/ +abbrev PhysicalParameters := ℝ × (Fin 12 → ℝ) × ℝ + +/-- The leading parameter map in equation `nl:leading-expansion`. -/ +def leadingParameterMap (b : ℝ) (d : PhysicalParameters) : PhysicalParameters := + (-d.1 + b * d.2.2, d.2.1, d.2.2) + +/-- The leading matrix is its own inverse, for every phase frequency. -/ +theorem leadingParameterMap_involutive (b : ℝ) : + Function.Involutive (leadingParameterMap b) := by + intro d + rcases d with ⟨θ, ζ, β⟩ + simp only [leadingParameterMap, Prod.mk.injEq, and_true] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCharacterLipschitz.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCharacterLipschitz.lean new file mode 100644 index 0000000000000000000000000000000000000000..26db0d674d1920a3c39dccd068f2b91fa6d482bd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCharacterLipschitz.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPhysicalCharacter +import Mathlib.Analysis.Calculus.MeanValue + +namespace OAI + +/-! # Spatial differences of the physical Fourier characters -/ + +open scoped RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem complex_phase_lipschitz (s t : ℝ) : + ‖Complex.exp ((t : ℂ) * Complex.I) - Complex.exp ((s : ℂ) * Complex.I)‖ ≤ |t - s| := by + have hd (x : ℝ) : HasDerivAt (fun x : ℝ => Complex.exp ((x : ℂ) * Complex.I)) + (Complex.exp ((x : ℂ) * Complex.I) * Complex.I) x := by + simpa only [id_eq, Complex.ofReal_one, one_mul] using + (((hasDerivAt_id x).ofReal_comp.mul_const Complex.I).cexp) + have hb (x : ℝ) : ‖Complex.exp ((x : ℂ) * Complex.I) * Complex.I‖ ≤ (1 : ℝ) := by + rw [norm_mul, Complex.norm_exp_ofReal_mul_I, Complex.norm_I, one_mul] + have he := Convex.norm_image_sub_le_of_norm_hasDerivWithin_le + (fun x (_ : x ∈ (Set.univ : Set ℝ)) => (hd x).hasDerivWithinAt) + (fun x _ => hb x) (convex_univ : Convex ℝ (Set.univ : Set ℝ)) + (Set.mem_univ s) (Set.mem_univ t) + simpa only [one_mul, Real.norm_eq_abs] using he + +theorem spatialFourierCharacter_lipschitz (n : frequencyLattice) (x y : E) : + ‖spatialFourierCharacter n x - spatialFourierCharacter n y‖ ≤ ‖n‖ * ‖x - y‖ := by + have h := complex_phase_lipschitz ⟪y, (n : E)⟫ ⟪x, (n : E)⟫ + rw [← inner_sub_left] at h + exact h.trans ((abs_real_inner_le_norm (x - y) (n : E)).trans_eq (mul_comm _ _)) + +theorem scaledFourierCharacter_lipschitz (L : ℝ) (hL : 0 < L) (n : frequencyLattice) (x y : E) : + ‖spatialFourierCharacter n (L⁻¹ • x) - spatialFourierCharacter n (L⁻¹ • y)‖ ≤ + (‖n‖ / L) * ‖x - y‖ := by + have h := spatialFourierCharacter_lipschitz n (L⁻¹ • x) (L⁻¹ • y) + rw [← smul_sub, norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hL)] at h + convert h using 1 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateFrame.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateFrame.lean new file mode 100644 index 0000000000000000000000000000000000000000..168dd64df4a07e07ea78bb4b038b2091226f663d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateFrame.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalRealCoordinates + +namespace OAI + +/-! # A physical frame gives a continuous inverse on its coordinate image -/ + +namespace DefocusingNLS + +variable {H V : Type*} [NormedAddCommGroup H] [NormedSpace ℝ H] + [NormedAddCommGroup V] [NormedSpace ℝ V] + +def HasPhysicalCoordinateFrame (c : H →L[ℝ] V) + (F : ProfileSymmetryParameters →L[ℝ] H) : Prop := + ∃ B : ProfileSymmetryParameters ≃L[ℝ] c.range, ∀ p, (B p : V) = c (F p) + +theorem physicalCoordinateFrame_of_bijective (c : H →L[ℝ] V) + (F : ProfileSymmetryParameters →L[ℝ] H) + (hinj : Function.Injective (c.comp F)) + (hsurj : ∀ u, ∃ p, c (F p) = c u) : + HasPhysicalCoordinateFrame c F := by + let B := c.rangeRestrict.comp F + have hi : Function.Injective B := by + intro p q h + exact hinj (congrArg Subtype.val h) + have hs : Function.Surjective B := by + rintro ⟨v, u, rfl⟩ + obtain ⟨p, hp⟩ := hsurj u + exact ⟨p, Subtype.ext hp⟩ + let e : ProfileSymmetryParameters ≃L[ℝ] c.range := + (LinearEquiv.ofBijective B.toLinearMap ⟨hi, hs⟩).toContinuousLinearEquiv + exact ⟨e, fun _ => rfl⟩ + +section ComplexCoordinates +variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] + +def HasPhysicalDiagonalFrame (π : H →L[ℝ] W) (G : W →L[ℂ] W) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : W), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (F : ProfileSymmetryParameters →L[ℝ] H) : Prop := + HasPhysicalCoordinateFrame (diagonalRealCoordinates π G hspan hspec) F + +theorem physicalDiagonalFrame_of_frame (π : H →L[ℝ] W) (G : W →L[ℂ] W) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : W), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (F : ProfileSymmetryParameters →L[ℝ] H) + (hinj : Function.Injective (π.comp F)) + (hsurj : ∀ u, ∃ p, π (F p) = π u) : + HasPhysicalDiagonalFrame π G hspan hspec F := by + apply physicalCoordinateFrame_of_bijective (diagonalRealCoordinates π G hspan hspec) F + · intro p q h + apply hinj + exact (symmetryCoordinateEquiv G hspan hspec).symm.injective h + · intro u + obtain ⟨p, hp⟩ := hsurj u + exact ⟨p, congrArg (symmetryCoordinateEquiv G hspan hspec).symm hp⟩ + +end ComplexCoordinates + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateOpen.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateOpen.lean new file mode 100644 index 0000000000000000000000000000000000000000..6e2c1dc96095542552a2e77b27da14a26e53b920 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateOpen.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalOpenStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCoordinateStableOrbit + +namespace OAI + +/-! # Openness for the retained physical symmetry coordinates -/ + +open Set +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Params" => ProfileSymmetryParameters + +attribute [local irreducible] HasPhysicalCoordinateStableOrbits HasPhysicalDiagonalFrame + HasPhysicalCoordinateFrame HasContinuousDiagonalCoordinateOrbits + HasContinuousCoordinateStableOrbits diagonalRealCoordinates + +theorem physicalCoordinateStableOrbits_open + {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (hS : HasCartesianSymbol (-2 * a) Q) + (π : HomogeneousY a k →L[ℝ] V) + (h : HasPhysicalCoordinateStableOrbits a b k ha ha1 hk m χ hχ Q hQ π) : + ∃ U : Set FourierL2, U.Nonempty ∧ IsOpen U ∧ + ∀ f ∈ U, HasPhysicalCutoffOrbit a b k ha ha1 hk m χ hχ Q hQ f := by + unfold HasPhysicalCoordinateStableOrbits at h + obtain ⟨G, hspan, hspec, F, _, hphys, hframe, hgraph⟩ := h + unfold HasPhysicalDiagonalFrame HasPhysicalCoordinateFrame at hframe + obtain ⟨B, hB⟩ := hframe + let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V + let c := diagonalRealCoordinates π G hspan hspec + let C : Params ≃L[ℝ] c.range := (physicalModulationParameterEquiv b).trans B + have hC (p : Params) : C p = c.rangeRestrict (F (physicalModulationParameterEquiv b p)) := by + apply Subtype.ext + exact hB (physicalModulationParameterEquiv b p) + unfold HasContinuousDiagonalCoordinateOrbits at hgraph + exact physical_cutoff_orbit_open_of_frame a b k ha ha1 hk m χ hχ hχzero hχone Q hQ hS + F hphys c.rangeRestrict C hC hgraph + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..70261c80538b469e05144df2380052a1255fcc29 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCoordinateStableOrbit.lean @@ -0,0 +1,35 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalCoordinateStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalDiagonalCoordinates + +namespace OAI + +/-! # The physical modulation frame paired with its actual stable graph -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] + +def HasPhysicalCoordinateStableOrbits + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Qp : E → ℂ) (hQp : ContDiff ℝ ∞ Qp) + (π : HomogeneousY a k →L[ℝ] V) : Prop := + ∃ G : V →L[ℂ] V, + ∃ hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤, + ∃ hspec : ∀ (lam : ℂ) (v : V), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2, + ∃ F : ProfileSymmetryParameters →L[ℝ] HomogeneousY a k, + Function.Injective F ∧ + (∀ p y, homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Qp y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Qp y + + cartesianTransport Qp y) + cartesianDerivative p.2.1 Qp y) ∧ + HasPhysicalDiagonalFrame π G hspan hspec F ∧ + HasContinuousDiagonalCoordinateOrbits a b k ha ha1 hk m χ hχ Qp hQp π G hspan hspec + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCutoffBlowup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCutoffBlowup.lean new file mode 100644 index 0000000000000000000000000000000000000000..a921b70a1b20d727d80468d3750903d5042b2c96 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCutoffBlowup.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCutoffOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalStartingInverse +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableBlowup + +namespace OAI + +/-! # The physical open-family orbits have the asserted finite-time singularity -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +def HasFiniteTimeSelfSimilarBlowup (k : ℝ) (hk : 6 < k) (m : ℕ) + (a : ℝ) (f : FourierL2) : Prop := + ∃ T : ℝ, 0 < T ∧ ∃ x : SchrodingerTorus, ∃ c : ℝ, 0 < c ∧ + Ico 0 T ⊆ maximalSobolevInteractionDomain k hk m f ∧ + BddAbove (maximalSobolevInteractionDomain k hk m f) ∧ + sSup (maximalSobolevInteractionDomain k hk m f) = T ∧ + Tendsto (fun t => (T - t) ^ a * + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k hk m f t) x‖) + (𝓝[<] T) (𝓝 c) ∧ + ¬ ContinuousWithinAt (maximalSobolevSchrodingerFlow k hk m f) (Iio T) T + +attribute [local irreducible] physicalStartingOperator expandingPhysicalInitialEquiv + maximalSobolevSchrodingerFlow maximalSobolevInteractionDomain + +theorem HasPhysicalCutoffOrbit.blowup (a b k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) (ham : 2 * a * m = 1) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ y : E, ‖y‖ < 1 / 2 → χ y = 1) + (hχzero : ∀ y : E, 2 < ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (hQzero : Q 0 ≠ 0) + (f : FourierL2) + (h : HasPhysicalCutoffOrbit a b k ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Q hQ f) : + HasFiniteTimeSelfSimilarBlowup k (by linarith) m a f := by + obtain ⟨L, θ, x, u, hu, hu0, hsol, hdecay⟩ := h + let g := expandingPhysicalInitialEquiv a k L.1 ha ha1 hk L.2 (u 0) + let phase := Circle.exp (-θ) + have hg : g = sobolevPhase phase (sobolevTranslation x f) := by + dsimp only [g] + rw [hu0, expandingPhysicalInitial_physicalStarting] + rfl + have hdom : maximalSobolevInteractionDomain k (by linarith) m g = + maximalSobolevInteractionDomain k (by linarith) m f := by + rw [hg, maximalSobolevInteractionDomain_phase, maximalSobolevInteractionDomain_translation] + obtain ⟨hbounded, hend, hlimit⟩ := cutoffGlobal_blowup a b k L.1 ha ha1 hk L.2 m ham + χ hχ hχone hχzero Q hQ hQzero u hu hsol hdecay + change BddAbove (maximalSobolevInteractionDomain k (by linarith) m g) at hbounded + change sSup (maximalSobolevInteractionDomain k (by linarith) m g) = L.1 ^ (-2 : ℝ) at hend + change Tendsto (fun t => (L.1 ^ (-2 : ℝ) - t) ^ a * + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k (by linarith) m g t) 0‖) + (𝓝[<] (L.1 ^ (-2 : ℝ))) (𝓝 ‖Q 0‖) at hlimit + have hT : 0 < L.1 ^ (-2 : ℝ) := Real.rpow_pos_of_pos (by linarith [L.2]) _ + have hsub : Ico 0 (L.1 ^ (-2 : ℝ)) ⊆ maximalSobolevInteractionDomain k (by linarith) m f := by + intro t ht + rw [← hdom] + exact expandingGlobal_mem_maximal a b k L.1 ha ha1 hk L.2 m ham u hu hsol t ht + have hlim : Tendsto (fun t => (L.1 ^ (-2 : ℝ) - t) ^ a * + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k (by linarith) m f t) x‖) + (𝓝[<] (L.1 ^ (-2 : ℝ))) (𝓝 ‖Q 0‖) := by + apply hlimit.congr' + filter_upwards [Ioo_mem_nhdsLT hT] with t ht + rw [hg, maximalSobolev_phase_translation_norm k (by linarith) m phase x f t (hsub ⟨ht.1.le, ht.2⟩)] + refine ⟨L.1 ^ (-2 : ℝ), hT, x, ‖Q 0‖, norm_pos_iff.mpr hQzero, + hsub, ?_, ?_, hlim, ?_⟩ + · rwa [← hdom] + · rwa [← hdom] + · exact no_continuous_extension_of_positive_rescaled_norm + (maximalSobolevSchrodingerFlow k (by linarith) m f) + (sobolevPointEvaluation k (by linarith) x) _ a ‖Q 0‖ ha (norm_pos_iff.mpr hQzero) + (sobolevPointEvaluation k (by linarith) x).continuous + (by simpa only [sobolevTorusFunction_apply k (by linarith)] using hlim) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCutoffOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCutoffOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..910fea29320412b7abe40192a23d215cafdfe01e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalCutoffOrbit.lean @@ -0,0 +1,28 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalStartingData + +namespace OAI + +/-! # A physical initial datum admitting the constructed global similarity orbit -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +def HasPhysicalCutoffOrbit (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (m : ℕ) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (f : FourierL2) : Prop := + ∃ (L : Radius) (θ : ℝ) (x : SchrodingerTorus) (u : ℝ → FourierL2), + ∃ hu : ContinuousOn u (Ici 0), + u 0 = physicalStartingOperator a k ha hk L θ x f ∧ + (∀ (S : ℝ) (hS : 0 < S), expandingSlabRestriction u hu S = + expandingPicard a b k L.1 S ha hk L.2 hS.le + (expandingNonlinearReaction a k L.1 S ha ha1 hk L.2 m) (u 0) + (expandingSlabRestriction u hu S)) ∧ + Tendsto (fun s => ‖u s - sampledCutoffProfileOrbit a k L.1 ha1 hk L.2 χ hχ Q hQ s‖) + atTop (𝓝 0) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalDiagonalCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalDiagonalCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..c9a38b45a20881d3df71517aa8a8abc432193381 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalDiagonalCoordinates.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCoordinateFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalRealCoordinates + +namespace OAI + +/-! # The fourteen physical parameters are coordinates on the real diagonal range -/ + +namespace DefocusingNLS + +attribute [local irreducible] diagonalRealCoordinates homogeneousStableCoordinates + symmetryCoordinateEquiv HasPhysicalCoordinateFrame + +theorem physicalDiagonal_coordinate_equiv (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (P : (HomogeneousY a k × HomogeneousY a k) →L[ℂ] + (HomogeneousY a k × HomogeneousY a k)) [FiniteDimensional ℂ P.range] + (G : P.range →L[ℂ] P.range) + (hspan : (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤) + (hspec : ∀ (lam : ℂ) (v : P.range), v ≠ 0 → G v = lam • v → + lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) + (F : ProfileSymmetryParameters →L[ℝ] HomogeneousY a k) (hF : Function.Injective F) + (hfix : ∀ p, P (homogeneousComplexEmbed a k ha ha1 hk (F p)) = + homogeneousComplexEmbed a k ha ha1 hk (F p)) + (hrange : ∀ u, ∃ p, P (homogeneousComplexEmbed a k ha ha1 hk u) = + homogeneousComplexEmbed a k ha ha1 hk (F p)) : + HasPhysicalDiagonalFrame (homogeneousStableCoordinates a k ha ha1 hk P) G hspan hspec F := by + apply physicalDiagonalFrame_of_frame (homogeneousStableCoordinates a k ha ha1 hk P) G hspan hspec F + · intro p r h + unfold homogeneousStableCoordinates at h + have he := congrArg (fun v : P.range => + homogeneousComplexReal a k ha ha1 hk (v : HomogeneousY a k × HomogeneousY a k)) h + change homogeneousComplexReal a k ha ha1 hk + (P (homogeneousComplexEmbed a k ha ha1 hk (F p))) = + homogeneousComplexReal a k ha ha1 hk + (P (homogeneousComplexEmbed a k ha ha1 hk (F r))) at he + rw [hfix, hfix, homogeneousComplexReal_embed, homogeneousComplexReal_embed] at he + exact hF he + · intro u + obtain ⟨p, hp⟩ := hrange u + refine ⟨p, Subtype.ext ?_⟩ + unfold homogeneousStableCoordinates + exact (hfix p).trans hp.symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFourierTest.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFourierTest.lean new file mode 100644 index 0000000000000000000000000000000000000000..d96dcd3cb9936642f665ef1ef2bc7eb713c4b16f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFourierTest.lean @@ -0,0 +1,37 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzFrequencyCutoff +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalDuality + +namespace OAI + +/-! # A physical Schwartz test for every Fourier Schwartz test -/ + +open MeasureTheory +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def physicalFourierTest (φ : 𝓢(E, ℂ)) : 𝓢(E, ℂ) := + radianInverseKernel + (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ (ContinuousLinearEquiv.neg ℝ) φ) + +@[simp] theorem physicalFourierTest_kernel (φ : 𝓢(E, ℂ)) (ξ : E) : + radianFourierKernel (physicalFourierTest φ) (-ξ) = φ ξ := by + rw [physicalFourierTest, radianFourierKernel_inverseKernel] + change φ (- -ξ) = φ ξ + rw [neg_neg] + +theorem homogeneousFourierPairing_physical (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (φ : 𝓢(E, ℂ)) (v : HomogeneousY a k) : + (∫ y : E, physicalFourierTest φ y * homogeneousPhysicalCLM a k ha ha1 hk v y) = + (((2 * Real.pi) ^ (12 : ℕ))⁻¹ : ℂ) * homogeneousFourierPairing a k ha ha1 hk φ v := by + change (∫ y : E, physicalFourierTest φ y * inverseRadianFourier v y) = _ + rw [integral_inverseRadianFourier_test v + (integrable_and_integral_norm_of_memLp_homogeneous a k ha ha1 hk (Lp.memLp v)).1] + simp only [physicalFourierTest_kernel, homogeneousFourierPairing_apply] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFrameSampling.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFrameSampling.lean new file mode 100644 index 0000000000000000000000000000000000000000..cdbd6669690828bb6fa313c8bb05662625cb02d1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFrameSampling.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalFrameSymbols +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SampledPhysicalFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationParameters +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FixedCutoffProfileIdentity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffSymbolSampling + +namespace OAI + +/-! # The actual physical frame controls the sampled modulation tangent -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} +local notation "Params" => ProfileSymmetryParameters + +variable (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (F : Params →L[ℝ] HomogeneousY a k) + (hphys : ∀ p y, homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y) + +include hphys hQ + +theorem physicalFrame_smooth (p : Params) : + ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y) := by + have he : (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y) = + (fun y => (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y) := funext (hphys p) + rw [he] + exact ((contDiff_const.mul (contDiff_const.mul hQ)).add + (contDiff_const.mul ((contDiff_const.mul hQ).add + (cartesianTransport_contDiff Q hQ)))).add (cartesianDerivative_contDiff Q hQ _) + +omit hQ in +theorem physicalFrame_sample_bounded (hS : HasCartesianSymbol (-2 * a) Q) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) : + ∀ p, ∃ B : ℝ, 0 ≤ B ∧ ∀ L : Radius, + ‖sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L p‖ ≤ B := by + intro p + have hs : HasCartesianSymbol (-2 * a) + (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y) := by + have he := funext (hphys p) + rw [he] + exact physical_symmetry_frame_symbol a b ha hS p + obtain ⟨B, hB, hb⟩ := cutoffProfile_sampling_of_global_symbol a k ha ha1 hk χ hχ hχzero + _ (hF p) (hs.global_profile_bound a ha) + exact ⟨B, hB, fun L => hb L.1 L.2⟩ + +theorem sampledPhysicalFrame_modulation_tangent + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (L : Radius) (p : Params) : + sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L (physicalModulationParameterEquiv b p) = + ((a * p.2.2 : ℝ) - (p.1 : ℂ) * Complex.I) • + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + + p.2.2 • fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) L.1 + + fixedCutoffProfile a k ha ha1 hk L χ hχ (cartesianDerivative p.2.1 Q) + (cartesianDerivative_contDiff Q hQ p.2.1) L.1 := by + have he : + cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ + (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F (physicalModulationParameterEquiv b p)) y) + (hF _) = + ((a * p.2.2 : ℝ) - (p.1 : ℂ) * Complex.I) • + cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ Q hQ + + p.2.2 • cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ (cartesianTransport Q) + (cartesianTransport_contDiff Q hQ) + + cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ (cartesianDerivative p.2.1 Q) + (cartesianDerivative_contDiff Q hQ p.2.1) := by + ext y + simp only [cutoffProfileSchwartz_apply, add_apply, smul_apply, Complex.real_smul, + hphys, physicalModulationParameterEquiv_apply] + push_cast + ring + have hs := congrArg (physicalSchwartzTorusSamplingCLM a k L.1 ha1 hk L.2) he + simpa only [sampledPhysicalFrame_apply, map_add, map_smul, RingHom.id_apply, + ContinuousLinearMap.map_smul_of_tower, fixedCutoffProfile_self] using hs + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFrameSymbols.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFrameSymbols.lean new file mode 100644 index 0000000000000000000000000000000000000000..59047c3dda6cb8b7e659adb36d3cc03958b76de5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalFrameSymbols.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSymbolProducts +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CartesianTransportSymbol +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFrame + +namespace OAI + +/-! # Symbol bounds for the fourteen physical profile directions -/ + +open scoped ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem HasCartesianSymbol.add {σ : ℝ} {f g : E → ℂ} + (hf : HasCartesianSymbol σ f) (hg : HasCartesianSymbol σ g) : + HasCartesianSymbol σ (fun x => f x + g x) := by + refine ⟨hf.1.add hg.1, ?_⟩ + intro n + obtain ⟨A, hA, ha⟩ := hf.2 n + obtain ⟨B, hB, hb⟩ := hg.2 n + refine ⟨A + B, add_nonneg hA hB, ?_⟩ + intro x hx + change ‖iteratedFDeriv ℝ n (f + g) x‖ ≤ _ + rw [iteratedFDeriv_add_apply (hf.1.contDiffAt.of_le (by simp)) (hg.1.contDiffAt.of_le (by simp))] + exact (norm_add_le _ _).trans (by nlinarith only [ha x hx, hb x hx]) + +theorem HasCartesianSymbol.global_profile_bound (a : ℝ) (ha : 0 < a) {Q : E → ℂ} + (hQ : HasCartesianSymbol (-2 * a) Q) : + ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ)) := by + intro n + obtain ⟨D, hD, hd⟩ := hQ.2 n + obtain ⟨C, hC⟩ := (isCompact_closedBall (0 : E) 1).exists_bound_of_continuousOn + ((hQ.1.of_le (by simp : (n : ℕ∞ω) ≤ ∞)).continuous_iteratedFDeriv'.continuousOn) + let B := max (max C 0) D + have hB : 0 ≤ B := (le_max_right C 0).trans (le_max_left _ _) + refine ⟨B, hB, ?_⟩ + intro y hy + by_cases hlarge : 1 ≤ ‖y‖ + · exact (hd y hlarge).trans (mul_le_mul_of_nonneg_right (le_max_right _ _) (by positivity)) + · have hsmall : ‖y‖ ≤ 1 := (lt_of_not_ge hlarge).le + have hcore : ‖iteratedFDeriv ℝ n Q y‖ ≤ B := + (hC y (by simpa only [Metric.mem_closedBall, dist_zero_right] using hsmall)).trans + ((le_max_left C 0).trans (le_max_left _ _)) + have hp : 1 ≤ ‖y‖ ^ (-2 * a - (n : ℝ)) := by + simpa only [Real.one_rpow] using + Real.rpow_le_rpow_of_nonpos (norm_pos_iff.mpr hy) hsmall + (show -2 * a - (n : ℝ) ≤ 0 by have := Nat.cast_nonneg (α := ℝ) n; linarith) + exact hcore.trans (le_mul_of_one_le_right hB hp) + +theorem HasCartesianSymbol.profile_directional (a : ℝ) {Q : E → ℂ} + (hQ : HasCartesianSymbol (-2 * a) Q) (v : E) : + HasCartesianSymbol (-2 * a) (cartesianDerivative v Q) := by + refine ⟨cartesianDerivative_contDiff Q hQ.1 v, ?_⟩ + have hb := cartesianDerivative_symbol_decay a Q hQ.1 + (fun n => let ⟨D, _, hd⟩ := hQ.2 n; ⟨D, hd⟩) v + intro n + obtain ⟨D, hd⟩ := hb n + exact ⟨max D 0, le_max_right _ _, fun y hy => (hd y hy).trans + (mul_le_mul_of_nonneg_right (le_max_left _ _) (by positivity))⟩ + +theorem HasCartesianSymbol.profile_transport (a : ℝ) (ha : 0 < a) {Q : E → ℂ} + (hQ : HasCartesianSymbol (-2 * a) Q) : + HasCartesianSymbol (-2 * a) (cartesianTransport Q) := by + refine ⟨cartesianTransport_contDiff Q hQ.1, ?_⟩ + have hb := cartesianTransport_global_symbol a Q hQ.1 (hQ.global_profile_bound a ha) + intro n + obtain ⟨D, hD, hd⟩ := hb n + exact ⟨D, hD, fun y hy => hd y (norm_ne_zero_iff.mp (ne_of_gt (lt_of_lt_of_le zero_lt_one hy)))⟩ + +theorem physical_symmetry_frame_symbol (a b : ℝ) (ha : 0 < a) {Q : E → ℂ} + (hQ : HasCartesianSymbol (-2 * a) Q) (p : ProfileSymmetryParameters) : + HasCartesianSymbol (-2 * a) (fun y => + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y) := + (((hQ.const_mul Complex.I).const_mul p.1).add + (((hQ.const_mul ((a : ℂ) - Complex.I * (b : ℂ))).add + (hQ.profile_transport a ha)).const_mul p.2.2)).add (hQ.profile_directional a p.2.1) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalLowDegreeMoments.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalLowDegreeMoments.lean new file mode 100644 index 0000000000000000000000000000000000000000..e949c483975762e2fffcb95db7aa3fa41f53beb6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalLowDegreeMoments.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSphereHarmonicSpan + +namespace OAI + +/-! # Constant and coordinate moments determine degrees zero and one -/ + +open MvPolynomial + +namespace DefocusingNLS + +theorem physicalPolynomial_zero_degree_map (L : PhysicalRealPolynomial →ₗ[ℝ] ℂ) + (hL : L 1 = 0) (p : PhysicalRealPolynomial) (hp : p.IsHomogeneous 0) : L p = 0 := by + have he : p = C (p.coeff 0) := (MvPolynomial.totalDegree_eq_zero_iff_eq_C).mp + ((MvPolynomial.totalDegree_zero_iff_isHomogeneous (Fin 12)).mpr hp) + rw [he, C_eq_smul_one, map_smul, hL, smul_zero] + +theorem physicalPolynomial_one_degree_map (L : PhysicalRealPolynomial →ₗ[ℝ] ℂ) + (hL : ∀ j : Fin 12, L (X j) = 0) (p : PhysicalRealPolynomial) + (hp : p.IsHomogeneous 1) : L p = 0 := by + have hs : homogeneousSubmodule (Fin 12) ℝ 1 ≤ L.ker := by + rw [homogeneousSubmodule_one_eq_span_X] + apply Submodule.span_le.mpr + rintro _ ⟨j, rfl⟩ + exact hL j + exact hs hp + +theorem physicalSphereMoment_zero_degree (f : C(PhysicalUnitSphere, ℂ)) + (h : physicalSphereMoment f (physicalSpherePolynomial 1) = 0) + (p : PhysicalRealPolynomial) (hp : p.IsHomogeneous 0) : + physicalSphereMoment f (physicalSpherePolynomial p) = 0 := + physicalPolynomial_zero_degree_map + ((physicalSphereMoment f).comp physicalSpherePolynomial.toLinearMap) h p hp + +theorem physicalSphereMoment_one_degree (f : C(PhysicalUnitSphere, ℂ)) + (h : ∀ j : Fin 12, physicalSphereMoment f (physicalSpherePolynomial (X j)) = 0) + (p : PhysicalRealPolynomial) (hp : p.IsHomogeneous 1) : + physicalSphereMoment f (physicalSpherePolynomial p) = 0 := + physicalPolynomial_one_degree_map + ((physicalSphereMoment f).comp physicalSpherePolynomial.toLinearMap) h p hp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModeRateBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModeRateBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..08c14391ab89140c74712d04fbd3e0daa199d092 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModeRateBound.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPhysicalTermDerivative + +namespace OAI + +/-! # A physical-space bound for the transport and Schrödinger mode rate -/ + +open scoped RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def physicalModeRate (a b R : ℝ) (n : frequencyLattice) (y : E) : ℂ := + (-(a : ℂ) + Complex.I * b) - Complex.I * (((‖n‖ / R) ^ 2 : ℝ) : ℂ) + + ((-R⁻¹ / 2 * ⟪y, (n : E)⟫ : ℝ) : ℂ) * Complex.I + +theorem physicalModeRate_norm_le (a b R : ℝ) (hR : 0 < R) (n : frequencyLattice) (y : E) : + ‖physicalModeRate a b R n y‖ ≤ + (|a| + |b| + 1 + ‖y‖ / 2) * (1 + (‖n‖ / R) ^ 2) := by + let r := ‖n‖ / R + have hr : 0 ≤ r := div_nonneg (norm_nonneg _) hR.le + have hinner : |⟪y, (n : E)⟫| ≤ ‖y‖ * ‖n‖ := abs_real_inner_le_norm _ _ + have hdrift : ‖((-R⁻¹ / 2 * ⟪y, (n : E)⟫ : ℝ) : ℂ) * Complex.I‖ ≤ (‖y‖ / 2) * r := by + rw [norm_mul, Complex.norm_I, mul_one, Complex.norm_real, Real.norm_eq_abs, + abs_mul, abs_div, abs_neg, abs_inv, abs_of_pos hR] + rw [abs_of_pos (by norm_num : (0 : ℝ) < 2)] + have hm := mul_le_mul_of_nonneg_left hinner (show 0 ≤ R⁻¹ / 2 by positivity) + calc + _ ≤ (R⁻¹ / 2) * (‖y‖ * ‖n‖) := hm + _ = _ := by dsimp [r]; ring + have hbase : ‖(-(a : ℂ) + Complex.I * b) - Complex.I * (((‖n‖ / R) ^ 2 : ℝ) : ℂ)‖ ≤ + |a| + |b| + r ^ 2 := by + calc + _ ≤ ‖-(a : ℂ) + Complex.I * b‖ + ‖Complex.I * (((‖n‖ / R) ^ 2 : ℝ) : ℂ)‖ := norm_sub_le _ _ + _ ≤ (‖-(a : ℂ)‖ + ‖Complex.I * b‖) + ‖Complex.I * (((‖n‖ / R) ^ 2 : ℝ) : ℂ)‖ := by gcongr; exact norm_add_le _ _ + _ = _ := by simp only [norm_neg, norm_mul, Complex.norm_real, Real.norm_eq_abs, + Complex.norm_I, one_mul, abs_of_nonneg (sq_nonneg (‖n‖ / R))]; rfl + have htotal := (norm_add_le + ((-(a : ℂ) + Complex.I * b) - Complex.I * (((‖n‖ / R) ^ 2 : ℝ) : ℂ)) + (((-R⁻¹ / 2 * ⟪y, (n : E)⟫ : ℝ) : ℂ) * Complex.I)).trans (add_le_add hbase hdrift) + have hr1 : r ≤ 1 + r ^ 2 := by nlinarith [sq_nonneg (r - 1)] + have hm := mul_le_mul_of_nonneg_left hr1 (show 0 ≤ ‖y‖ / 2 by positivity) + have hp := mul_nonneg (show 0 ≤ |a| + |b| by positivity) (sq_nonneg r) + change ‖physicalModeRate a b R n y‖ ≤ _ at htotal + change ‖physicalModeRate a b R n y‖ ≤ (|a| + |b| + 1 + ‖y‖ / 2) * (1 + r ^ 2) + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..b683a760c67e12f6c2d5c2066bf114c752c6db3e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationBound.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationTaylor + +namespace OAI + +/-! # A uniform first-order bound for the actual modulation chart -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} +local notation "Params" => ProfileSymmetryParameters + +theorem modulatedCutoffProfile_bound (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : Radius, 2 ≤ L.1 → ∀ p : Params, + ‖p‖ ≤ 1 / 2 → ‖p‖ ≤ 2 * Real.log 2 → + ‖modulatedCutoffProfile a k ha ha1 hk χ hχ Q hQ L p‖ ≤ C * ‖p‖ := by + obtain ⟨A, hA, hfirst⟩ := cutoffProfile_mixed_first_bound a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + obtain ⟨B, hB, hsample⟩ := cutoffProfile_sampling_of_global_symbol a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + refine ⟨6 * A + 4 * B, by positivity, ?_⟩ + intro L hL p hp hplog + have hθ : |p.1| ≤ ‖p‖ := by simpa only [Real.norm_eq_abs] using norm_fst_le p + have hv : ‖p.2.1‖ ≤ ‖p‖ := (norm_fst_le p.2).trans (norm_snd_le p) + have ht : |p.2.2| ≤ ‖p‖ := by + simpa only [Real.norm_eq_abs] using (norm_snd_le p.2).trans (norm_snd_le p) + let z : ℂ := (a * p.2.2 : ℝ) - (p.1 : ℂ) * Complex.I + let u := sobolevTranslation (euclideanToTorus ((1 / L.1) • p.2.1)) + (fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 p.2.2)) + let q := fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + have hz : ‖z‖ ≤ 2 * ‖p‖ := by + have h := norm_sub_le ((a * p.2.2 : ℝ) : ℂ) ((p.1 : ℂ) * Complex.I) + simp only [norm_mul, Complex.norm_real, Real.norm_eq_abs, Complex.norm_I, + mul_one, abs_of_pos ha] at h + change ‖z‖ ≤ a * |p.2.2| + |p.1| at h + nlinarith [mul_nonneg (show 0 ≤ 1 - a by linarith) (abs_nonneg p.2.2)] + have hexp : ‖Complex.exp z - 1‖ ≤ 4 * ‖p‖ := + (complex_exp_sub_one_bound z (by linarith)).trans (by linarith) + have hnexp : ‖Complex.exp z‖ ≤ 3 := by + have h := norm_le_norm_sub_add (Complex.exp z) 1 + simp only [norm_one] at h + linarith + have hu : ‖u - q‖ ≤ 2 * A * ‖p‖ := by + apply (hfirst L hL p.2.2 p.2.1 (ht.trans hplog) (by linarith)).trans + nlinarith + have hq : ‖q‖ ≤ B := by + simpa only [q, fixedCutoffProfile_self, physicalSchwartzTorusSamplingCLM_apply] using hsample L.1 L.2 + have he : Complex.exp z • u - q = + Complex.exp z • (u - q) + (Complex.exp z - 1) • q := by + rw [smul_sub, sub_smul, one_smul] + abel + change ‖Complex.exp z • u - q‖ ≤ _ + rw [he] + calc + _ ≤ ‖Complex.exp z • (u - q)‖ + ‖(Complex.exp z - 1) • q‖ := norm_add_le _ _ + _ = ‖Complex.exp z‖ * ‖u - q‖ + ‖Complex.exp z - 1‖ * ‖q‖ := by rw [norm_smul, norm_smul] + _ ≤ 3 * (2 * A * ‖p‖) + (4 * ‖p‖) * B := add_le_add + (mul_le_mul hnexp hu (norm_nonneg _) (by norm_num)) + (mul_le_mul hexp hq (norm_nonneg _) (by positivity)) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationBudget.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationBudget.lean new file mode 100644 index 0000000000000000000000000000000000000000..6e4976bc43c72db3392035de6a4542bade713cd8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationBudget.lean @@ -0,0 +1,75 @@ +import Mathlib.Analysis.SpecialFunctions.Log.Basic + +namespace OAI + +/-! # Choosing the modulation radius before the graph's tail cutoff -/ + +namespace DefocusingNLS + +theorem exists_physical_modulation_budget (A B D E H M : ℝ) + (hA : 0 ≤ A) (hB : 0 ≤ B) (hD : 0 ≤ D) (hE : 0 ≤ E) + (hH : 0 ≤ H) (_hM : 0 ≤ M) : + ∃ ν : ℝ, 0 < ν ∧ ∀ ρ K : ℝ, 0 < ρ → 0 < K → + ∃ r ε η J δ : ℝ, 0 < r ∧ r ≤ 1 / 2 ∧ r ≤ 2 * Real.log 2 ∧ + 0 < ε ∧ 0 < η ∧ 2 ≤ J ∧ 0 < δ ∧ D * δ ≤ r ∧ + 2 * K * B * (A + 1) * r ≤ ρ / 4 ∧ + H * (E * (r ^ 2 + r / J) + ε * M * r + B * D * δ + + (ν * (2 * K * B * (A + 1) * r + 2 * η) + 2 * η) / K) ≤ r := by + obtain ⟨ν, hν, hνsmall⟩ := exists_pos_mul_lt (by norm_num : (0 : ℝ) < 1 / 16) + (2 * H * B * (A + 1)) + refine ⟨ν, hν, ?_⟩ + intro ρ K hρ hK + obtain ⟨r₀, hr₀, hr₀small⟩ := exists_pos_mul_lt (div_pos hρ (by norm_num : (0 : ℝ) < 4)) + (2 * K * B * (A + 1)) + obtain ⟨r₁, hr₁, hr₁small⟩ := exists_pos_mul_lt (by norm_num : (0 : ℝ) < 1 / 16) (H * E) + let r := min r₀ (min r₁ (min (1 / 2) (2 * Real.log 2))) + have hr : 0 < r := by + dsimp [r] + exact lt_min_iff.mpr ⟨hr₀, lt_min_iff.mpr ⟨hr₁, lt_min_iff.mpr ⟨by norm_num, + mul_pos (by norm_num) (Real.log_pos (by norm_num))⟩⟩⟩ + have hrr₀ : r ≤ r₀ := min_le_left _ _ + have hrr₁ : r ≤ r₁ := (min_le_right _ _).trans (min_le_left _ _) + have hrhalf : r ≤ 1 / 2 := (min_le_right _ _).trans + ((min_le_right _ _).trans (min_le_left _ _)) + have hrlog : r ≤ 2 * Real.log 2 := (min_le_right _ _).trans + ((min_le_right _ _).trans (min_le_right _ _)) + have hrsmall : H * E * r ≤ 1 / 16 := + (mul_le_mul_of_nonneg_left hrr₁ (mul_nonneg hH hE)).trans hr₁small.le + have hstable : 2 * K * B * (A + 1) * r ≤ ρ / 4 := + (mul_le_mul_of_nonneg_left hrr₀ (by positivity)).trans hr₀small.le + obtain ⟨ε, hε, hεsmall⟩ := exists_pos_mul_lt (by norm_num : (0 : ℝ) < 1 / 16) (H * M) + obtain ⟨η, hη, hηsmall⟩ := exists_pos_mul_lt (div_pos hr (by norm_num : (0 : ℝ) < 16)) + (H * (2 * ν + 2) / K) + let J := 2 + 16 * H * E + have hJ : 2 ≤ J := by dsimp [J]; nlinarith [mul_nonneg hH hE] + have hJpos : 0 < J := lt_of_lt_of_le (by norm_num) hJ + have hJsmall : H * E / J ≤ 1 / 16 := by + apply (div_le_iff₀ hJpos).mpr + dsimp [J] + nlinarith + obtain ⟨δ₀, hδ₀, hδ₀small⟩ := exists_pos_mul_lt hr D + obtain ⟨δ₁, hδ₁, hδ₁small⟩ := exists_pos_mul_lt + (div_pos hr (by norm_num : (0 : ℝ) < 16)) (H * B * D) + let δ := min δ₀ δ₁ + have hδ : 0 < δ := lt_min_iff.mpr ⟨hδ₀, hδ₁⟩ + have hDδ : D * δ ≤ r := + (mul_le_mul_of_nonneg_left (min_le_left _ _) hD).trans hδ₀small.le + have hδsmall : H * B * D * δ ≤ r / 16 := + (mul_le_mul_of_nonneg_left (min_le_right _ _) (by positivity)).trans hδ₁small.le + refine ⟨r, ε, η, J, δ, hr, hrhalf, hrlog, hε, hη, hJ, hδ, hDδ, hstable, ?_⟩ + have hquad := mul_le_mul_of_nonneg_right hrsmall hr.le + have htail := mul_le_mul_of_nonneg_right hJsmall hr.le + have heps := mul_le_mul_of_nonneg_right hεsmall.le hr.le + have hflat := mul_le_mul_of_nonneg_right hνsmall.le hr.le + have hid : H * (E * (r ^ 2 + r / J) + ε * M * r + B * D * δ + + (ν * (2 * K * B * (A + 1) * r + 2 * η) + 2 * η) / K) = + (H * E * r) * r + (H * E / J) * r + (H * M * ε) * r + H * B * D * δ + + (2 * H * B * (A + 1) * ν) * r + (H * (2 * ν + 2) / K) * η := by + field_simp + ring + rw [hid] + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..0356b9ac4b4add9bd70c41c45850018cd581b2c9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationCoordinates.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationTaylor + +namespace OAI + +/-! # The modulation map approaches the physical invertible frame in the retained coordinates -/ + +open Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} +local notation "Params" => ProfileSymmetryParameters + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] + +theorem physical_modulation_coordinate_error (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (hS : HasCartesianSymbol (-2 * a) Q) + (F : Params →L[ℝ] HomogeneousY a k) + (hphys : ∀ p y, homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (π : HomogeneousY a k →L[ℝ] V) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, ∀ (L : Radius), + L₀ ≤ L.1 → 2 ≤ L.1 → ∀ p : Params, ‖p‖ ≤ 1 / 2 → ‖p‖ ≤ 2 * Real.log 2 → + ‖expandingCoordinates a k ha ha1 hk χ π L + (modulatedCutoffProfile a k ha ha1 hk χ hχ Q hQ L p) - + π (F (physicalModulationParameterEquiv b p))‖ ≤ + C * (‖p‖ ^ 2 + ‖p‖ / L.1) + ε * ‖(physicalModulationParameterEquiv b).toContinuousLinearMap‖ * ‖p‖ := by + obtain ⟨A, hA, haTaylor⟩ := modulatedCutoffProfile_taylor a b k ha ha1 hk χ hχ hχzero + Q hQ (hS.global_profile_bound a ha) F hphys hF + obtain ⟨J, hJ, hj⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let C := ‖π‖ * J * A + have hC : 0 ≤ C := by dsimp [C]; positivity + refine ⟨C, hC, ?_⟩ + intro ε hε + have hb := physicalFrame_sample_bounded a b k ha ha1 hk Q F hphys hS χ hχ hχzero hF + obtain ⟨L₀, hL₀⟩ := sampledPhysicalFrame_coordinate_approximation a k ha ha1 hk χ hχ + hχzero hχone F hF hb π ε hε + refine ⟨L₀, ?_⟩ + intro L hL hL2 p hp hplog + let κ := expandingCoordinates a k ha ha1 hk χ π L + let S := sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L + let M := physicalModulationParameterEquiv b + let u := modulatedCutoffProfile a k ha ha1 hk χ hχ Q hQ L p + have hκ : ‖κ‖ ≤ ‖π‖ * J := expandingCoordinates_norm_le a k J ha ha1 hk hJ χ π hj L + have herr : ‖κ (u - S (M p))‖ ≤ C * (‖p‖ ^ 2 + ‖p‖ / L.1) := by + calc + _ ≤ ‖κ‖ * ‖u - S (M p)‖ := κ.le_opNorm _ + _ ≤ (‖π‖ * J) * (A * (‖p‖ ^ 2 + ‖p‖ / L.1)) := + mul_le_mul hκ (haTaylor L hL2 p hp hplog) (norm_nonneg _) (by positivity) + _ = _ := by dsimp [C]; ring + have hlinear : ‖κ (S (M p)) - π (F (M p))‖ ≤ ε * ‖M.toContinuousLinearMap‖ * ‖p‖ := by + have h := ((κ.comp S) - π.comp F).le_opNorm (M p) + change ‖κ (S (M p)) - π (F (M p))‖ ≤ _ at h + calc + _ ≤ ‖κ.comp S - π.comp F‖ * ‖M p‖ := h + _ ≤ ε * (‖M.toContinuousLinearMap‖ * ‖p‖) := mul_le_mul (hL₀ L hL).le (M.toContinuousLinearMap.le_opNorm p) + (norm_nonneg _) hε.le + _ = _ := by ring + have he : κ u - π (F (M p)) = κ (u - S (M p)) + (κ (S (M p)) - π (F (M p))) := by + rw [map_sub] + abel + change ‖κ u - π (F (M p))‖ ≤ _ + rw [he] + exact (norm_add_le _ _).trans (add_le_add herr hlinear) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationParameters.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationParameters.lean new file mode 100644 index 0000000000000000000000000000000000000000..c30262550e404a1a5d2e857528fdf82e38366ed1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationParameters.lean @@ -0,0 +1,39 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFrame + +namespace OAI + +/-! # The invertible leading map for the fourteen modulation parameters -/ + +namespace DefocusingNLS + +noncomputable def physicalModulationParameterEquiv (b : ℝ) : + ProfileSymmetryParameters ≃L[ℝ] ProfileSymmetryParameters where + toFun p := (-p.1 + b * p.2.2, p.2.1, p.2.2) + invFun p := (-p.1 + b * p.2.2, p.2.1, p.2.2) + left_inv p := by + rcases p with ⟨θ, v, t⟩ + simp only [Prod.mk.injEq, and_true] + ring + right_inv p := by + rcases p with ⟨θ, v, t⟩ + simp only [Prod.mk.injEq, and_true] + ring + map_add' p q := by + apply Prod.ext + · simp only [Prod.fst_add, Prod.snd_add] + ring + · rfl + map_smul' c p := by + apply Prod.ext + · simp only [Prod.smul_fst, Prod.smul_snd, smul_eq_mul, RingHom.id_apply] + ring + · rfl + continuous_toFun := by fun_prop + continuous_invFun := by fun_prop + +@[simp] theorem physicalModulationParameterEquiv_apply (b : ℝ) (p : ProfileSymmetryParameters) : + physicalModulationParameterEquiv b p = (-p.1 + b * p.2.2, p.2.1, p.2.2) := rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationRadius.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationRadius.lean new file mode 100644 index 0000000000000000000000000000000000000000..2d5f36cc0e14c09f911af1200c3a47a5d0eb6ac5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationRadius.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalReferenceModulation + +namespace OAI + +/-! # Continuous physical parameters with a positive similarity radius -/ + +open Metric +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Params" => ProfileSymmetryParameters +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] physicalStartingPerturbation physicalStartingOperator + sobolevTranslation + +noncomputable def physicalModulationRadius (R : Radius) (p : Params) : Radius := + ⟨max 1 (expandingRadius R.1 (-p.2.2)), le_max_left _ _⟩ + +theorem continuous_physicalModulationRadius (R : Radius) : + Continuous (physicalModulationRadius R) := by + apply Continuous.subtype_mk + unfold expandingRadius + fun_prop + +theorem physicalModulationRadius_bounds (R : Radius) (hR : 2 ≤ R.1) + (p : Params) (hp : ‖p‖ ≤ 2 * Real.log 2) : + (physicalModulationRadius R p).1 = expandingRadius R.1 (-p.2.2) ∧ + R.1 ≤ 2 * (physicalModulationRadius R p).1 ∧ + (physicalModulationRadius R p).1 ≤ 2 * R.1 := by + have ht : |p.2.2| ≤ 2 * Real.log 2 := + (show |p.2.2| ≤ ‖p‖ by simpa only [Real.norm_eq_abs] using + (norm_snd_le p.2).trans (norm_snd_le p)).trans hp + have hlo : (1 / 2 : ℝ) ≤ Real.exp (-p.2.2 / 2) := by + have h := Real.exp_le_exp.mpr + (show -Real.log 2 ≤ -p.2.2 / 2 by linarith [(abs_le.mp ht).2]) + simpa only [Real.exp_neg, Real.exp_log (by norm_num : (0 : ℝ) < 2), one_div] using h + have hhi : Real.exp (-p.2.2 / 2) ≤ 2 := by + have h := Real.exp_le_exp.mpr + (show -p.2.2 / 2 ≤ Real.log 2 by linarith [(abs_le.mp ht).1]) + simpa only [Real.exp_log (by norm_num : (0 : ℝ) < 2)] using h + have hlow : 1 ≤ expandingRadius R.1 (-p.2.2) := by + unfold expandingRadius + nlinarith + have he : (physicalModulationRadius R p).1 = expandingRadius R.1 (-p.2.2) := + max_eq_right hlow + refine ⟨he, ?_, ?_⟩ <;> rw [he] <;> unfold expandingRadius <;> nlinarith + +theorem physicalModulationRadius_cancel (R : Radius) (hR : 2 ≤ R.1) + (p : Params) (hp : ‖p‖ ≤ 2 * Real.log 2) : + R.1 = expandingRadius (physicalModulationRadius R p).1 p.2.2 := by + rw [(physicalModulationRadius_bounds R hR p hp).1] + unfold expandingRadius + rw [mul_assoc, ← Real.exp_add] + have he : -p.2.2 / 2 + p.2.2 / 2 = 0 := by ring + rw [he, Real.exp_zero, mul_one] + +theorem continuous_euclideanToTorus : Continuous euclideanToTorus := by + apply continuous_pi + intro i + exact continuous_quotient_mk'.comp (by fun_prop) + +theorem continuous_physicalModulation_shift (R : Radius) : + Continuous (fun p : Params => + euclideanToTorus ((1 / (physicalModulationRadius R p).1) • p.2.1)) := by + apply continuous_euclideanToTorus.comp + have hc : Continuous (fun p : Params => 1 / (physicalModulationRadius R p).1) := + continuous_const.div + (continuous_subtype_val.comp (continuous_physicalModulationRadius R)) + (fun p => ne_of_gt (lt_of_lt_of_le zero_lt_one (physicalModulationRadius R p).2)) + exact hc.smul (continuous_fst.comp continuous_snd) + +theorem continuous_physicalModulation_perturbation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (R : Radius) (f : FourierL2) : + Continuous (fun p : Params => + physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ + (physicalModulationRadius R p) p.1 + (euclideanToTorus ((1 / (physicalModulationRadius R p).1) • p.2.1)) f) := by + exact (continuous_physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ).comp + (((continuous_physicalModulationRadius R).prodMk + (continuous_fst.prodMk (continuous_physicalModulation_shift R))).prodMk continuous_const) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..0047a4aeb7e2e4efd1084d40bfc3b3eb31d18c01 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalModulationTaylor.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalFrameSampling +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffModulationTaylor + +namespace OAI + +/-! # The full modulation error is quadratic up to the inverse-radius cutoff term -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} +local notation "Params" => ProfileSymmetryParameters + +noncomputable def modulatedCutoffProfile (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (L : Radius) (p : Params) : FourierL2 := + Complex.exp ((a * p.2.2 : ℝ) - (p.1 : ℂ) * Complex.I) • + sobolevTranslation (euclideanToTorus ((1 / L.1) • p.2.1)) + (fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ (expandingRadius L.1 p.2.2)) - + fixedCutoffProfile a k ha ha1 hk L χ hχ Q hQ L.1 + +theorem modulatedCutoffProfile_taylor (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) + (hk : 8 < k) (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) + (F : Params →L[ℝ] HomogeneousY a k) + (hphys : ∀ p y, homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : Radius), 2 ≤ L.1 → ∀ p : Params, + ‖p‖ ≤ 1 / 2 → ‖p‖ ≤ 2 * Real.log 2 → + ‖modulatedCutoffProfile a k ha ha1 hk χ hχ Q hQ L p - + sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L (physicalModulationParameterEquiv b p)‖ ≤ + C * (‖p‖ ^ 2 + ‖p‖ / L.1) := by + obtain ⟨C, hC, hc⟩ := cutoffProfile_modulation_taylor a k ha ha1 hk χ hχ hχzero Q hQ hsymbol + refine ⟨6 * C, by positivity, ?_⟩ + intro L hL p hp hplog + have hθ : |p.1| ≤ ‖p‖ := by simpa only [Real.norm_eq_abs] using norm_fst_le p + have hv : ‖p.2.1‖ ≤ ‖p‖ := (norm_fst_le p.2).trans (norm_snd_le p) + have ht : |p.2.2| ≤ ‖p‖ := by + simpa only [Real.norm_eq_abs] using (norm_snd_le p.2).trans (norm_snd_le p) + let z : ℂ := (a * p.2.2 : ℝ) - (p.1 : ℂ) * Complex.I + have hz : ‖z‖ ≤ 2 * ‖p‖ := by + have hb := norm_sub_le ((a * p.2.2 : ℝ) : ℂ) ((p.1 : ℂ) * Complex.I) + simp only [norm_mul, Complex.norm_real, Real.norm_eq_abs, Complex.norm_I, + mul_one, abs_of_pos ha] at hb + change ‖z‖ ≤ a * |p.2.2| + |p.1| at hb + nlinarith [mul_nonneg (show 0 ≤ 1 - a by linarith) (abs_nonneg p.2.2)] + have h := hc L hL p.2.2 p.2.1 z (ht.trans hplog) (by linarith) (by linarith) + rw [sampledPhysicalFrame_modulation_tangent a b k ha ha1 hk Q hQ F hphys χ hχ hF L p] + change ‖Complex.exp z • _ - _ - _‖ ≤ _ + apply h.trans + have hz2 : ‖z‖ ^ 2 ≤ 4 * ‖p‖ ^ 2 := by nlinarith [norm_nonneg z, norm_nonneg p] + have ht2 : |p.2.2| ^ 2 ≤ ‖p‖ ^ 2 := by nlinarith [abs_nonneg p.2.2, norm_nonneg p] + have hv2 : ‖p.2.1‖ ^ 2 ≤ ‖p‖ ^ 2 := by nlinarith [norm_nonneg p.2.1, norm_nonneg p] + have hdiv : ‖p.2.1‖ / L.1 ≤ ‖p‖ / L.1 := div_le_div_of_nonneg_right hv (by linarith [L.2]) + have hs : ‖z‖ ^ 2 + |p.2.2| ^ 2 + ‖p.2.1‖ ^ 2 + ‖p.2.1‖ / L.1 ≤ + 6 * (‖p‖ ^ 2 + ‖p‖ / L.1) := by + nlinarith [show 0 ≤ ‖p‖ / L.1 by positivity] + exact (mul_le_mul_of_nonneg_left hs hC).trans_eq (by ring) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalOpenStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalOpenStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..0c0b138c3c2d2ce051e395ca312246f934b69db7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalOpenStableOrbit.lean @@ -0,0 +1,142 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalStartingChartBounds +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationBudget +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.NormalizedStableGraphIntersection +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.NormalizedFrameLowerBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCutoffOrbit + +namespace OAI + +/-! # An open physical family from the actual flat stable graph and symmetry frame -/ + +open Set Metric Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} +local notation "Params" => ProfileSymmetryParameters + +attribute [local irreducible] physicalStartingPerturbation physicalStartingOperator + physicalReferenceData modulatedCutoffProfile sampledPhysicalFrame + expandingCoordinates expandingPicard expandingNonlinearReaction + sampledCutoffProfileOrbit + +theorem physical_cutoff_orbit_open_of_frame + {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (m : ℕ) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (hS : HasCartesianSymbol (-2 * a) Q) + (F : Params →L[ℝ] HomogeneousY a k) + (hphys : ∀ p y, homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y) + (π : HomogeneousY a k →L[ℝ] V) + (C : Params ≃L[ℝ] V) + (hC : ∀ p, C p = π (F (physicalModulationParameterEquiv b p))) + (hgraph : HasContinuousCoordinateStableOrbits a b k ha ha1 hk m χ hχ Q hQ + (expandingCoordinates a k ha ha1 hk χ π)) : + ∃ U : Set FourierL2, U.Nonempty ∧ IsOpen U ∧ + ∀ f ∈ U, HasPhysicalCutoffOrbit a b k ha ha1 hk m χ hχ Q hQ f := by + let : Nontrivial V := C.toEquiv.symm.nontrivial + obtain ⟨Jloc, hJloc, hloc⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let B := max 1 (‖π‖ * Jloc) + have hB : 0 ≤ B := (by norm_num : (0 : ℝ) ≤ 1).trans (le_max_left _ _) + let κ := expandingCoordinates a k ha ha1 hk χ π + have hκ (L : Radius) : ‖κ L‖ ≤ B := + (expandingCoordinates_norm_le a k Jloc ha ha1 hk hJloc χ π hloc L).trans (le_max_right _ _) + obtain ⟨A, hA, hnorm⟩ := physicalStartingPerturbation_modulation_bound a k ha ha1 hk + χ hχ hχzero Q hQ hS + have hF := physicalFrame_smooth a b k ha ha1 hk Q hQ F hphys + obtain ⟨E₀, hE₀, hcoord⟩ := physicalStartingPerturbation_modulation_coordinates a b k ha ha1 hk + χ hχ hχzero hχone Q hQ hS F hphys hF π B hκ + let D := ‖sobolevToExpanding a k ha hk‖ + let H := ‖C.symm.toContinuousLinearMap‖ + let M := ‖(physicalModulationParameterEquiv b).toContinuousLinearMap‖ + obtain ⟨ν, hν, hbudget⟩ := exists_physical_modulation_budget A B D E₀ H M + hA hB (norm_nonneg _) hE₀ (norm_nonneg _) (norm_nonneg _) + obtain ⟨ρ, hρ, Cg, _, K, hK, hg⟩ := hgraph ν hν + obtain ⟨r, ε, η, J, δ, hr, hrhalf, hrlog, hε, hη, hJ, hδ, hDδ, hW, hsmall⟩ := + hbudget ρ K hρ hK + obtain ⟨L₀, ζ, hζc, hπc, hinv, G, hGc, hG⟩ := hg η hη + obtain ⟨Lerr, herror⟩ := hcoord ε hε + let Lbig := max J (max L₀ (max Lerr 2)) + have hJbig : J ≤ Lbig := le_max_left _ _ + have hL₀big : L₀ ≤ Lbig := (le_max_left _ _).trans (le_max_right _ _) + have hLerrbig : Lerr ≤ Lbig := (le_max_left _ _).trans + ((le_max_right _ _).trans (le_max_right _ _)) + have h2big : 2 ≤ Lbig := hJ.trans hJbig + let R : Radius := ⟨2 * Lbig, by linarith⟩ + have hR : 2 ≤ R.1 := by change 2 ≤ 2 * Lbig; linarith + let f₀ := physicalReferenceData a k ha ha1 hk χ hχ Q hQ R + refine ⟨ball f₀ δ, ⟨f₀, mem_ball_self hδ⟩, isOpen_ball, ?_⟩ + intro f hf + have hdist : ‖f - f₀‖ ≤ δ := (mem_ball_iff_norm.mp hf).le + let L := fun p : closedBall (0 : Params) r => physicalModulationRadius R p.1 + have hLc : Continuous L := (continuous_physicalModulationRadius R).comp continuous_subtype_val + have hpbound (p : closedBall (0 : Params) r) : ‖p.1‖ ≤ r := by + simpa only [mem_closedBall, dist_zero_right] using p.2 + have hLp (p : closedBall (0 : Params) r) : Lbig ≤ (L p).1 := by + have h := (physicalModulationRadius_bounds R hR p.1 ((hpbound p).trans hrlog)).2.1 + change 2 * Lbig ≤ 2 * (L p).1 at h + linarith + have hLR (p : closedBall (0 : Params) r) : R.1 = expandingRadius (L p).1 p.1.2.2 := + physicalModulationRadius_cancel R hR p.1 ((hpbound p).trans hrlog) + let P := fun p : closedBall (0 : Params) r => + physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ (L p) p.1.1 + (euclideanToTorus ((1 / (L p).1) • p.1.2.1)) f + have hPc : Continuous P := (continuous_physicalModulation_perturbation a k ha ha1 hk + χ hχ Q hQ R f).comp continuous_subtype_val + have hPn (p : closedBall (0 : Params) r) : ‖P p‖ ≤ (A + 1) * r := by + have h := hnorm (L p) R (h2big.trans (hLp p)) p.1 + ((hpbound p).trans hrhalf) ((hpbound p).trans hrlog) (hLR p) f + apply h.trans + change A * ‖p.1‖ + D * ‖f - f₀‖ ≤ _ + have hd := mul_le_mul_of_nonneg_left hdist (norm_nonneg (sobolevToExpanding a k ha hk)) + have hp := mul_le_mul_of_nonneg_left (hpbound p) hA + nlinarith + have hw (p : closedBall (0 : Params) r) : + ‖stableFrameProjection (ζ (L p)) (K • κ (L p)) (P p)‖ ≤ 2 * K * B * (A + 1) * r := by + have hi := hinv (L p) (hL₀big.trans (hLp p)) + exact (normalized_stable_projection_bound K B hK.le (κ (L p)) (hκ (L p)) + (ζ (L p)) hi.2.1 hi.1 (P p)).trans + ((mul_le_mul_of_nonneg_left (hPn p) (by positivity)).trans_eq (by ring)) + let err := E₀ * (r ^ 2 + r / J) + ε * M * r + B * D * δ + have herr (p : closedBall (0 : Params) r) : ‖κ (L p) (P p) - C p.1‖ ≤ err := by + have h := herror (L p) R (hLerrbig.trans (hLp p)) (h2big.trans (hLp p)) p.1 + ((hpbound p).trans hrhalf) ((hpbound p).trans hrlog) (hLR p) f + rw [← hC] at h + apply h.trans + have hsq : ‖p.1‖ ^ 2 ≤ r ^ 2 := by nlinarith [norm_nonneg p.1, hpbound p] + have hdiv : ‖p.1‖ / (L p).1 ≤ r / J := + (div_le_div_of_nonneg_right (hpbound p) (by linarith [(L p).2])).trans + (div_le_div_of_nonneg_left hr.le (by linarith : 0 < J) (hJbig.trans (hLp p))) + exact add_le_add (add_le_add + (mul_le_mul_of_nonneg_left (add_le_add hsq hdiv) hE₀) + (mul_le_mul_of_nonneg_left (hpbound p) (by positivity))) + (mul_le_mul_of_nonneg_left hdist (by positivity)) + have hκc : Continuous (fun q : Radius × FourierL2 => κ q.1 q.2) := by + have hc : Continuous (fun q : Radius × FourierL2 => K⁻¹ • (K • κ q.1) q.2) := + continuous_const.smul hπc + simpa only [smul_apply, smul_smul, inv_mul_cancel₀ hK.ne', one_smul] using hc + obtain ⟨p, q, hqp, hqf⟩ := normalized_flatStableGraph_intersection C r ρ L₀ err ν η + (2 * K * B * (A + 1) * r) K hr.le hν.le hK hW κ ζ hκc hζc + (fun L hL => (hinv L hL).1) G hGc (fun q => (hG q).2.2.1) + (fun q => (hG q).2.2.2.1) L hLc (fun p => hL₀big.trans (hLp p)) P hPc hw herr hsmall + obtain ⟨u, hu, hu0, hsol, hdecay⟩ := (hG q).2.2.2.2 + refine ⟨q.1.1, p.1.1, euclideanToTorus ((1 / (L p).1) • p.1.2.1), u, hu, ?_, hsol, hdecay⟩ + rw [hu0, hqf] + have hqzero : sampledCutoffProfileOrbit a k q.1.1.1 ha1 hk q.1.1.2 χ hχ Q hQ 0 = + sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ q.1.1 := by + unfold sampledCutoffProfileOrbit + congr 1 + apply Subtype.ext + simp [expandingRadius] + rw [hqzero, hqp] + unfold P physicalStartingPerturbation + abel + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalParameterZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalParameterZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..784728dbf7e0d44d816b3abd7ff1cc43ecd4849c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalParameterZero.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphCoordinateZero +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFrame + +namespace OAI + +/-! # Brouwer selection when physical parameters and retained coordinates use different norms -/ + +open Metric +namespace DefocusingNLS +local notation "Params" => ProfileSymmetryParameters + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + +theorem physical_parameter_zero_of_coordinate_bound + (C : Params ≃L[ℝ] V) (r ε B : ℝ) (hr : 0 ≤ r) + (f g : closedBall (0 : Params) r → FourierL2) + (π : closedBall (0 : Params) r → FourierL2 →L[ℝ] V) + (ζ : closedBall (0 : Params) r → V →L[ℝ] FourierL2) + (hf : Continuous f) (hg : Continuous g) + (hπ : Continuous (fun q : closedBall (0 : Params) r × FourierL2 => π q.1 q.2)) + (herror : ∀ p, ‖π p (f p) - C p.1‖ ≤ ε) + (hgbound : ∀ p, ‖π p (g p)‖ ≤ B) + (hstable : ∀ p, stableFrameProjection (ζ p) (π p) (g p) = + stableFrameProjection (ζ p) (π p) (f p)) + (hsmall : ‖C.symm.toContinuousLinearMap‖ * (ε + B) ≤ r) : + ∃ p, f p = g p := by + let Φ := fun p => C.symm (π p (f p - g p)) + have hc : Continuous Φ := C.symm.continuous.comp + (hπ.comp (continuous_id.prodMk (hf.sub hg))) + have he (p : closedBall (0 : Params) r) : + ‖Φ p - p.1‖ ≤ ‖C.symm.toContinuousLinearMap‖ * (ε + B) := by + calc + _ = ‖C.symm ((π p (f p) - C p.1) - π p (g p))‖ := by + simp only [Φ, map_sub, C.symm_apply_apply] + congr 1 + abel + _ ≤ ‖C.symm.toContinuousLinearMap‖ * ‖(π p (f p) - C p.1) - π p (g p)‖ := + C.symm.toContinuousLinearMap.le_opNorm _ + _ ≤ _ := mul_le_mul_of_nonneg_left + ((norm_sub_le _ _).trans (add_le_add (herror p) (hgbound p))) (norm_nonneg _) + obtain ⟨p, hp⟩ := zero_of_small_continuous_error r + (‖C.symm.toContinuousLinearMap‖ * (ε + B)) hr hsmall Φ hc he + have hcoord : π p (f p) = π p (g p) := by + have hzero : π p (f p - g p) = 0 := by + have h := congrArg C hp + simpa only [Φ, C.apply_symm_apply, map_zero] using h + simpa only [map_sub, sub_eq_zero] using hzero + refine ⟨p, ?_⟩ + calc + f p = stableFrameProjection (ζ p) (π p) (f p) + ζ p (π p (f p)) := + (stableFrameProjection_decomposition _ _ _).symm + _ = stableFrameProjection (ζ p) (π p) (g p) + ζ p (π p (g p)) := by + rw [hstable p, hcoord] + _ = g p := stableFrameProjection_decomposition _ _ _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalQuadraticWeight.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalQuadraticWeight.lean new file mode 100644 index 0000000000000000000000000000000000000000..cfb5edfdb8c31635b05600730323381740d84dd5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalQuadraticWeight.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingLowInterpolation + +namespace OAI + +/-! # Two physical derivatives cost two Sobolev orders, uniformly in the radius -/ + +namespace DefocusingNLS + +theorem physical_quadratic_weight (a k x r : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (hx0 : 0 ≤ x) (hx1 : x ≤ 1) (hr : 0 ≤ r) : + r ^ 4 * ((x + r ^ 2) ^ (6 - a) + r ^ (2 * k)) ≤ + (2 ^ (6 - a) + 1) * ((x + r ^ 2) ^ (6 - a) + r ^ (2 * (k + 2))) := by + have hA : 0 ≤ (x + r ^ 2) ^ (6 - a) := Real.rpow_nonneg (by positivity) _ + have hP : 0 ≤ r ^ (2 * (k + 2)) := Real.rpow_nonneg hr _ + have hC : 0 ≤ (2 : ℝ) ^ (6 - a) := Real.rpow_nonneg (by norm_num) _ + have hpow : r ^ 4 * r ^ (2 * k) = r ^ (2 * (k + 2)) := by + rw [← Real.rpow_natCast, ← Real.rpow_add' hr] + · congr 1 + ring + · push_cast + linarith + by_cases hr1 : r ≤ 1 + · have hr4 : r ^ 4 ≤ 1 := pow_le_one₀ hr hr1 + have ht := mul_le_mul_of_nonneg_right hr4 hA + rw [mul_add, hpow] + nlinarith + · have hrr : 1 ≤ r := (lt_of_not_ge hr1).le + have hrp : 0 < r := lt_of_lt_of_le zero_lt_one hrr + have hr2 : 1 ≤ r ^ 2 := one_le_pow₀ hrr + have hb : (x + r ^ 2) ^ (6 - a) ≤ + (2 : ℝ) ^ (6 - a) * r ^ (2 * (6 - a)) := by + calc + _ ≤ (2 * r ^ 2) ^ (6 - a) := Real.rpow_le_rpow (by positivity) (by linarith) (by linarith) + _ = _ := by + rw [Real.mul_rpow (by norm_num : (0 : ℝ) ≤ 2) (sq_nonneg r), + ← Real.rpow_natCast, ← Real.rpow_mul hr] + norm_num + have he : r ^ 4 * r ^ (2 * (6 - a)) = r ^ (4 + 2 * (6 - a)) := by + rw [← Real.rpow_natCast, ← Real.rpow_add hrp] + norm_num + have hp : r ^ (4 + 2 * (6 - a)) ≤ r ^ (2 * (k + 2)) := by + apply Real.rpow_le_rpow_of_exponent_le hrr + linarith + have hbound := mul_le_mul_of_nonneg_left hb (pow_nonneg hr 4) + have ht := mul_le_mul_of_nonneg_left hp hC + rw [mul_left_comm, he] at hbound + rw [mul_add, hpow] + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalReferenceModulation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalReferenceModulation.lean new file mode 100644 index 0000000000000000000000000000000000000000..42bfac87b0b3d7ca8fb03cf0d9e1ac3639f9bb0a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalReferenceModulation.lean @@ -0,0 +1,89 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalStartingFunction +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationTaylor + +namespace OAI + +/-! # The modulation chart represents the actual physical reference data -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem sobolevToExpanding_translation (a k : ℝ) (ha : 0 < a) (hk : 8 < k) + (x : SchrodingerTorus) (f : FourierL2) : + sobolevToExpanding a k ha hk (sobolevTranslation x f) = + sobolevTranslation x (sobolevToExpanding a k ha hk f) := by + ext n + simp only [sobolevToExpanding_apply, sobolevTranslation_apply] + ring + +theorem expandingScaleTransfer_translation (a k : ℝ) (ha : 0 < a) (hk : 8 < k) + (L M : Radius) (hLM : L.1 ≤ M.1) (x : SchrodingerTorus) (f : FourierL2) : + expandingScaleTransfer a k L.1 M.1 ha hk L.2 hLM (sobolevTranslation x f) = + sobolevTranslation x (expandingScaleTransfer a k L.1 M.1 ha hk L.2 hLM f) := by + ext n + change (expandingScaleRatio a k L.1 M.1 n : ℂ) * + (torusCharacter n x * f n) = torusCharacter n x * + ((expandingScaleRatio a k L.1 M.1 n : ℂ) * f n) + ring + +theorem physicalStartingOperator_reference_modulation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (M R : Radius) (θ : ℝ) (x : SchrodingerTorus) : + physicalStartingOperator a k ha hk M θ x + (physicalReferenceData a k ha ha1 hk χ hχ Q hQ R) = + (physicalStartingAmplitude a M θ * (R.1 ^ (2 * a) : ℝ)) • + sobolevTranslation x (fixedCutoffProfile a k ha ha1 hk M χ hχ Q hQ R.1) := by + unfold physicalStartingOperator physicalReferenceData + simp only [smul_apply, ContinuousLinearMap.comp_apply, + LinearIsometry.coe_toContinuousLinearMap, + ContinuousLinearMap.map_smul_of_tower, sobolevToExpanding_translation, + sobolevToExpanding_expandingToSobolev, + expandingScaleTransfer_translation a k ha hk ⟨1, le_rfl⟩ M M.2] + rw [fixedCutoffProfile_eq_transfer] + change physicalStartingAmplitude a M θ • + ((R.1 ^ (2 * a) : ℝ) • sobolevTranslation x + (expandingNearbyTransfer a k ha hk R M + (sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ R))) = _ + rw [← IsScalarTower.algebraMap_smul ℂ (R.1 ^ (2 * a)), smul_smul] + rfl + +theorem physicalStartingAmplitude_expandingRadius (a : ℝ) (M R : Radius) + (t θ : ℝ) (hR : R.1 = expandingRadius M.1 t) : + physicalStartingAmplitude a M θ * (R.1 ^ (2 * a) : ℝ) = + Complex.exp ((a * t : ℝ) - (θ : ℂ) * Complex.I) := by + have hM : 0 < M.1 := lt_of_lt_of_le zero_lt_one M.2 + have hp : M.1 ^ (-2 * a) * R.1 ^ (2 * a) = Real.exp (a * t) := by + rw [hR, expandingRadius, Real.mul_rpow hM.le (Real.exp_pos _).le, + ← mul_assoc, ← Real.rpow_add hM, ← Real.exp_mul] + simp only [neg_mul, neg_add_cancel, Real.rpow_zero, one_mul] + congr 1 + ring + unfold physicalStartingAmplitude + rw [mul_assoc, ← Complex.ofReal_mul, hp, Complex.ofReal_exp, ← Complex.exp_add] + congr 1 + push_cast + ring + +theorem physicalStartingPerturbation_reference_modulation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (M R : Radius) (p : ProfileSymmetryParameters) + (hR : R.1 = expandingRadius M.1 p.2.2) : + physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ M p.1 + (euclideanToTorus ((1 / M.1) • p.2.1)) + (physicalReferenceData a k ha ha1 hk χ hχ Q hQ R) = + modulatedCutoffProfile a k ha ha1 hk χ hχ Q hQ M p := by + unfold physicalStartingPerturbation modulatedCutoffProfile + rw [physicalStartingOperator_reference_modulation, + physicalStartingAmplitude_expandingRadius a M R p.2.2 p.1 hR, hR, + fixedCutoffProfile_self] + rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingChartBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingChartBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..1bab0ae3e76375d25cdd5a2299b94a1be97ad42c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingChartBounds.lean @@ -0,0 +1,111 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationRadius +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationBound +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalModulationCoordinates + +namespace OAI + +/-! # Uniform chart estimates for nearby physical initial data -/ + +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} +local notation "Params" => ProfileSymmetryParameters + +attribute [local irreducible] physicalStartingPerturbation physicalStartingOperator + modulatedCutoffProfile sampledPhysicalFrame physicalReferenceData + +theorem physicalStartingPerturbation_coordinate_data_bound + {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : Radius) (θ : ℝ) (x : SchrodingerTorus) (f g : FourierL2) + (κ : FourierL2 →L[ℝ] V) : + ‖κ (physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ L θ x f) - + κ (physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ L θ x g)‖ ≤ + ‖κ‖ * ‖sobolevToExpanding a k ha hk‖ * ‖f - g‖ := by + rw [← map_sub] + exact (κ.le_opNorm _).trans ((mul_le_mul_of_nonneg_left + (physicalStartingPerturbation_data_bound a k ha ha1 hk χ hχ Q hQ L θ x f g) + (norm_nonneg _)).trans_eq (by ring)) + +theorem physicalStartingPerturbation_modulation_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (hS : HasCartesianSymbol (-2 * a) Q) : + ∃ A : ℝ, 0 ≤ A ∧ ∀ M R : Radius, 2 ≤ M.1 → ∀ p : Params, + ‖p‖ ≤ 1 / 2 → ‖p‖ ≤ 2 * Real.log 2 → R.1 = expandingRadius M.1 p.2.2 → + ∀ f : FourierL2, + ‖physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ M p.1 + (euclideanToTorus ((1 / M.1) • p.2.1)) f‖ ≤ A * ‖p‖ + + ‖sobolevToExpanding a k ha hk‖ * + ‖f - physicalReferenceData a k ha ha1 hk χ hχ Q hQ R‖ := by + obtain ⟨A, hA, hbound⟩ := modulatedCutoffProfile_bound a k ha ha1 hk χ hχ hχzero Q hQ + (hS.global_profile_bound a ha) + refine ⟨A, hA, ?_⟩ + intro M R hM p hp hplog hR f + let f₀ := physicalReferenceData a k ha ha1 hk χ hχ Q hQ R + let P := fun g => physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ M p.1 + (euclideanToTorus ((1 / M.1) • p.2.1)) g + have hzero : P f₀ = modulatedCutoffProfile a k ha ha1 hk χ hχ Q hQ M p := + physicalStartingPerturbation_reference_modulation a k ha ha1 hk χ hχ Q hQ M R p hR + have hnorm : ‖P f₀‖ ≤ A * ‖p‖ := by rw [hzero]; exact hbound M hM p hp hplog + have hd := physicalStartingPerturbation_data_bound a k ha ha1 hk χ hχ Q hQ M p.1 + (euclideanToTorus ((1 / M.1) • p.2.1)) f f₀ + exact ((norm_le_norm_sub_add (P f) (P f₀)).trans + (add_le_add hd hnorm)).trans_eq (add_comm _ _) + +theorem physicalStartingPerturbation_modulation_coordinates + {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] + (a b k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (hS : HasCartesianSymbol (-2 * a) Q) + (F : Params →L[ℝ] HomogeneousY a k) + (hphys : ∀ p y, homogeneousPhysicalCLM a k ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * Q y) + + (p.2.2 : ℂ) * (((a : ℂ) - Complex.I * (b : ℂ)) * Q y + cartesianTransport Q y) + + cartesianDerivative p.2.1 Q y) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (π : HomogeneousY a k →L[ℝ] V) (B : ℝ) + (hκ : ∀ L : Radius, ‖expandingCoordinates a k ha ha1 hk χ π L‖ ≤ B) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, ∀ M R : Radius, + L₀ ≤ M.1 → 2 ≤ M.1 → ∀ p : Params, ‖p‖ ≤ 1 / 2 → ‖p‖ ≤ 2 * Real.log 2 → + R.1 = expandingRadius M.1 p.2.2 → ∀ f : FourierL2, + ‖expandingCoordinates a k ha ha1 hk χ π M + (physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ M p.1 + (euclideanToTorus ((1 / M.1) • p.2.1)) f) - + π (F (physicalModulationParameterEquiv b p))‖ ≤ + C * (‖p‖ ^ 2 + ‖p‖ / M.1) + + ε * ‖(physicalModulationParameterEquiv b).toContinuousLinearMap‖ * ‖p‖ + + B * ‖sobolevToExpanding a k ha hk‖ * + ‖f - physicalReferenceData a k ha ha1 hk χ hχ Q hQ R‖ := by + obtain ⟨C, hC, hc⟩ := physical_modulation_coordinate_error a b k ha ha1 hk χ hχ hχzero hχone + Q hQ hS F hphys hF π + refine ⟨C, hC, ?_⟩ + intro ε hε + obtain ⟨L₀, hL₀⟩ := hc ε hε + refine ⟨L₀, ?_⟩ + intro M R hM hM2 p hp hplog hR f + let f₀ := physicalReferenceData a k ha ha1 hk χ hχ Q hQ R + let P := fun g => physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ M p.1 + (euclideanToTorus ((1 / M.1) • p.2.1)) g + let κ := expandingCoordinates a k ha ha1 hk χ π M + have hzero : P f₀ = modulatedCutoffProfile a k ha ha1 hk χ hχ Q hQ M p := + physicalStartingPerturbation_reference_modulation a k ha ha1 hk χ hχ Q hQ M R p hR + have hd : ‖κ (P f) - κ (P f₀)‖ ≤ B * ‖sobolevToExpanding a k ha hk‖ * ‖f - f₀‖ := + (physicalStartingPerturbation_coordinate_data_bound a k ha ha1 hk χ hχ Q hQ M p.1 + (euclideanToTorus ((1 / M.1) • p.2.1)) f f₀ κ).trans + (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right (hκ M) (norm_nonneg _)) + (norm_nonneg _)) + have he := hL₀ M hM hM2 p hp hplog + rw [← hzero] at he + exact (norm_sub_le_norm_sub_add_norm_sub (κ (P f)) (κ (P f₀)) _).trans + ((add_le_add hd he).trans_eq (by ring)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingData.lean new file mode 100644 index 0000000000000000000000000000000000000000..e5f4db868bde4f7c2e3f722ecc42f993376a4f2e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingData.lean @@ -0,0 +1,125 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevTranslation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingSobolevEquiv +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingBlowupObservation +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffFamilyContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffGlobalOrbit + +namespace OAI + +/-! # Physical initial data in the moving similarity coordinates -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +noncomputable def physicalStartingAmplitude (a : ℝ) (L : Radius) (θ : ℝ) : ℂ := + Complex.exp ((-θ : ℝ) * Complex.I) * (L.1 ^ (-2 * a) : ℝ) + +@[simp] theorem physicalStartingAmplitude_norm (a : ℝ) (L : Radius) (θ : ℝ) : + ‖physicalStartingAmplitude a L θ‖ = L.1 ^ (-2 * a) := by + rw [physicalStartingAmplitude, norm_mul, Complex.norm_exp_ofReal_mul_I, one_mul, + Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (Real.rpow_nonneg (by linarith [L.2]) _)] + +noncomputable def physicalStartingOperator (a k : ℝ) (ha : 0 < a) (hk : 8 < k) + (L : Radius) (θ : ℝ) (x : SchrodingerTorus) : FourierL2 →L[ℂ] FourierL2 := + physicalStartingAmplitude a L θ • + (expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2).comp + ((sobolevToExpanding a k ha hk).comp (sobolevTranslation x).toContinuousLinearMap) + +theorem physicalStartingOperator_norm_le (a k : ℝ) (ha : 0 < a) (hk : 8 < k) + (L : Radius) (θ : ℝ) (x : SchrodingerTorus) : + ‖physicalStartingOperator a k ha hk L θ x‖ ≤ ‖sobolevToExpanding a k ha hk‖ := by + have hp : L.1 ^ (-2 * a) * L.1 ^ a ≤ 1 := by + rw [← Real.rpow_add (lt_of_lt_of_le zero_lt_one L.2)] + exact Real.rpow_le_one_of_one_le_of_nonpos L.2 (by linarith) + apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) + intro f + change ‖physicalStartingAmplitude a L θ • + expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2 + (sobolevToExpanding a k ha hk (sobolevTranslation x f))‖ ≤ _ + rw [norm_smul, physicalStartingAmplitude_norm] + calc + _ ≤ L.1 ^ (-2 * a) * (L.1 ^ a * + (‖sobolevToExpanding a k ha hk‖ * ‖f‖)) := by + apply mul_le_mul_of_nonneg_left _ (Real.rpow_nonneg (by linarith [L.2]) _) + have ht := (expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2).le_opNorm + (sobolevToExpanding a k ha hk (sobolevTranslation x f)) + apply ht.trans + have hb := expandingScaleTransfer_norm_le a k 1 L.1 ha hk le_rfl L.2 + simp only [div_one] at hb + apply mul_le_mul hb _ (norm_nonneg _) (Real.rpow_nonneg (by linarith [L.2]) _) + simpa only [(sobolevTranslation x).norm_map] using + (sobolevToExpanding a k ha hk).le_opNorm (sobolevTranslation x f) + _ ≤ 1 * (‖sobolevToExpanding a k ha hk‖ * ‖f‖) := by + rw [← mul_assoc] + exact mul_le_mul_of_nonneg_right hp (by positivity) + _ = _ := one_mul _ + +attribute [local irreducible] physicalStartingOperator expandingScaleTransfer sobolevToExpanding + sobolevTranslation + +theorem continuous_physicalStartingOperator_apply (a k : ℝ) (ha : 0 < a) (hk : 8 < k) : + Continuous (fun p : (Radius × ℝ × SchrodingerTorus) × FourierL2 => + physicalStartingOperator a k ha hk p.1.1 p.1.2.1 p.1.2.2 p.2) := by + unfold physicalStartingOperator + have hx : Continuous (fun p : (Radius × ℝ × SchrodingerTorus) × FourierL2 => + p.1.2.2) := continuous_snd.comp (continuous_snd.comp continuous_fst) + have ht : Continuous (fun p : (Radius × ℝ × SchrodingerTorus) × FourierL2 => + sobolevTranslation p.1.2.2 p.2) := + continuous_sobolevTranslation_uncurry.comp (hx.prodMk continuous_snd) + have hv := (sobolevToExpanding a k ha hk).continuous.comp ht + have hc := ((continuous_expandingScaleTransfer_from_one a k ha hk).comp + (continuous_fst.comp continuous_fst)).clm_apply hv + have hA : Continuous (fun p : (Radius × ℝ × SchrodingerTorus) × FourierL2 => + physicalStartingAmplitude a p.1.1 p.1.2.1) := by + unfold physicalStartingAmplitude + have hpow : Continuous (fun p : (Radius × ℝ × SchrodingerTorus) × FourierL2 => + p.1.1.1 ^ (-2 * a)) := + ((continuous_subtype_val.comp (continuous_fst.comp continuous_fst)).rpow_const + (fun p => Or.inl (lt_of_lt_of_le zero_lt_one p.1.1.2).ne')) + exact (Complex.continuous_exp.comp (by fun_prop)).mul + (Complex.continuous_ofReal.comp hpow) + exact hA.smul hc + +noncomputable def physicalStartingPerturbation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : Radius) (θ : ℝ) (x : SchrodingerTorus) (f : FourierL2) : FourierL2 := + physicalStartingOperator a k ha hk L θ x f - + sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ L + +theorem physicalStartingPerturbation_data_bound (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) + (L : Radius) (θ : ℝ) (x : SchrodingerTorus) (f g : FourierL2) : + ‖physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ L θ x f - + physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ L θ x g‖ ≤ + ‖sobolevToExpanding a k ha hk‖ * ‖f - g‖ := by + have he : physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ L θ x f - + physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ L θ x g = + physicalStartingOperator a k ha hk L θ x (f - g) := by + simp only [physicalStartingPerturbation, map_sub] + abel + rw [he] + exact ((physicalStartingOperator a k ha hk L θ x).le_opNorm _).trans + (mul_le_mul_of_nonneg_right (physicalStartingOperator_norm_le a k ha hk L θ x) (norm_nonneg _)) + +theorem continuous_physicalStartingPerturbation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) : + Continuous (fun p : (Radius × ℝ × SchrodingerTorus) × FourierL2 => + physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ p.1.1 p.1.2.1 p.1.2.2 p.2) := by + unfold physicalStartingPerturbation + exact (continuous_physicalStartingOperator_apply a k ha hk).sub + ((continuous_cutoffProfile_sample a k ha ha1 hk χ hχ Q hQ).comp + (continuous_fst.comp continuous_fst)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingFunction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingFunction.lean new file mode 100644 index 0000000000000000000000000000000000000000..238e9a72f58d873101f7f07da174efad90c4980e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingFunction.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalStartingData + +namespace OAI + +/-! # The moving-coordinate operator represents the physical initial datum -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] expandingScaleTransfer sobolevToExpanding + +theorem physicalStartingOperator_function (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (L : Radius) (θ : ℝ) (x y : SchrodingerTorus) (f : FourierL2) : + expandingTorusFunction a k L.1 (physicalStartingOperator a k ha hk L θ x f) y = + physicalStartingAmplitude a L θ * sobolevTorusFunction k f (x + y) := by + let v := sobolevToExpanding a k ha hk (sobolevTranslation x f) + have he : expandingTorusFunction a k 1 v y = + sobolevTorusFunction k (sobolevTranslation x f) y := by + rw [← sobolevTorusFunction_expandingToSobolev a k ha ha1 hk] + exact congrArg (fun g => sobolevTorusFunction k g y) + (expandingToSobolev_sobolevToExpanding a k ha ha1 hk (sobolevTranslation x f)) + change expandingTorusFunction a k L.1 + (physicalStartingAmplitude a L θ • expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2 v) y = _ + rw [expandingTorusFunction_eq_evaluation a k L.1 ha ha1 hk L.2, + map_smul, smul_eq_mul] + congr 1 + rw [← expandingTorusFunction_eq_evaluation a k L.1 ha ha1 hk L.2, + expandingScaleTransfer_function a k 1 L.1 ha ha1 hk le_rfl L.2, he, + sobolevTorusFunction_translation k (by linarith) x y f] + +noncomputable def physicalReferenceData (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (L : Radius) : FourierL2 := + (L.1 ^ (2 * a) : ℝ) • expandingToSobolev a k ha1 hk + (expandingInverseTransfer a k L.1 ha hk L.2 + (sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ L)) + +theorem physicalStartingPerturbation_reference (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (Q : E → ℂ) (hQ : ContDiff ℝ ∞ Q) (L : Radius) : + physicalStartingPerturbation a k ha ha1 hk χ hχ Q hQ L 0 0 + (physicalReferenceData a k ha ha1 hk χ hχ Q hQ L) = 0 := by + let q := sampledCutoffProfileAtRadius a k ha1 hk χ hχ Q hQ L + have hInv : expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2 + (expandingInverseTransfer a k L.1 ha hk L.2 q) = q := + congrArg (fun A : FourierL2 →L[ℂ] FourierL2 => A q) + (expandingWeightUnit a k L.1 ha hk L.2).val_inv + have hp : L.1 ^ (-2 * a) * L.1 ^ (2 * a) = 1 := by + rw [← Real.rpow_add (lt_of_lt_of_le zero_lt_one L.2)] + simp + change physicalStartingAmplitude a L 0 • + expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2 + (sobolevToExpanding a k ha hk (sobolevTranslation 0 + ((L.1 ^ (2 * a) : ℝ) • expandingToSobolev a k ha1 hk + (expandingInverseTransfer a k L.1 ha hk L.2 q)))) - q = 0 + rw [sobolevTranslation_zero, ContinuousLinearMap.map_smul_of_tower, + sobolevToExpanding_expandingToSobolev, ContinuousLinearMap.map_smul_of_tower, hInv] + simp only [physicalStartingAmplitude, neg_zero, Complex.ofReal_zero, zero_mul, + Complex.exp_zero, one_mul] + rw [← IsScalarTower.algebraMap_smul ℂ (L.1 ^ (2 * a)) q, smul_smul] + change ((L.1 ^ (-2 * a) : ℝ) * (L.1 ^ (2 * a) : ℝ) : ℂ) • q - q = 0 + rw [← Complex.ofReal_mul, hp, Complex.ofReal_one, one_smul, sub_self] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingInverse.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingInverse.lean new file mode 100644 index 0000000000000000000000000000000000000000..a23055ab0e5e1331be3fd076362e433bd6a7123e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/PhysicalStartingInverse.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalReferenceModulation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevSymmetryFlow + +namespace OAI + +/-! # Undoing the physical starting-coordinate map -/ + +namespace DefocusingNLS +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem expandingPhysicalInitial_physicalStarting (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (L : Radius) (θ : ℝ) (x : SchrodingerTorus) (f : FourierL2) : + expandingPhysicalInitialEquiv a k L.1 ha ha1 hk L.2 + (physicalStartingOperator a k ha hk L θ x f) = + Complex.exp ((-θ : ℝ) * Complex.I) • sobolevTranslation x f := by + have hInv (v : FourierL2) : expandingInverseTransfer a k L.1 ha hk L.2 + (expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2 v) = v := + congrArg (fun A : FourierL2 →L[ℂ] FourierL2 => A v) + (expandingWeightUnit a k L.1 ha hk L.2).inv_val + have hAmp : physicalStartingAmplitude a L θ * (L.1 ^ (2 * a) : ℝ) = + Complex.exp ((-θ : ℝ) * Complex.I) := by + have h := physicalStartingAmplitude_expandingRadius a L L 0 θ (by simp [expandingRadius]) + simpa using h + rw [expandingPhysicalInitialEquiv_apply] + change ((L.1 ^ (2 * a) : ℝ) : ℂ) • expandingToSobolev a k ha1 hk + (expandingInverseTransfer a k L.1 ha hk L.2 + (physicalStartingAmplitude a L θ • expandingScaleTransfer a k 1 L.1 ha hk le_rfl L.2 + (sobolevToExpanding a k ha hk (sobolevTranslation x f)))) = _ + rw [map_smul, map_smul, hInv, expandingToSobolev_sobolevToExpanding, smul_smul, + mul_comm ((L.1 ^ (2 * a) : ℝ) : ℂ), hAmp] + +theorem maximalSobolev_phase_translation_norm (k : ℝ) (hk : 6 < k) (m : ℕ) + (c : Circle) (x : SchrodingerTorus) (f : FourierL2) (t : ℝ) + (ht : t ∈ maximalSobolevInteractionDomain k hk m f) : + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k hk m + (sobolevPhase c (sobolevTranslation x f)) t) 0‖ = + ‖sobolevTorusFunction k (maximalSobolevSchrodingerFlow k hk m f t) x‖ := by + rw [maximalSobolevSchrodingerFlow_phase k hk m c (sobolevTranslation x f) t + (by rwa [maximalSobolevInteractionDomain_translation]), + maximalSobolevSchrodingerFlow_translation k hk m x f t ht, + sobolevTorusFunction_phase k hk, sobolevTorusFunction_translation k hk, add_zero, norm_mul] + simp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ProjectionCoordinates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ProjectionCoordinates.lean new file mode 100644 index 0000000000000000000000000000000000000000..008c1b850681eccfd4a16040dacf094a1ce7dbaa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/ProjectionCoordinates.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryCoordinates + +namespace OAI + +/-! Coordinates of a bounded projection and its exact complementary projection. -/ + +namespace DefocusingNLS +variable {V F : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + [NormedAddCommGroup F] [NormedSpace ℂ F] + +def projectionFrame (P : V →L[ℂ] V) (e : F ≃L[ℂ] P.range) : F →L[ℂ] V := + P.range.subtypeL.comp e.toContinuousLinearMap + +def projectionCoordinates (P : V →L[ℂ] V) (e : F ≃L[ℂ] P.range) : V →L[ℂ] F := + e.symm.toContinuousLinearMap.comp P.rangeRestrict + +theorem idempotent_range_fixed (P : V →L[ℂ] V) (hP : IsIdempotentElem P) (v : P.range) : + P (v : V)=(v : V) := by + obtain ⟨w,hw⟩ := v.property + rw [← hw] + exact congrArg (fun L : V →L[ℂ] V => L w) hP + +theorem projectionCoordinates_frame (P : V →L[ℂ] V) (hP : IsIdempotentElem P) + (e : F ≃L[ℂ] P.range) (v : F) : + projectionCoordinates P e (projectionFrame P e v)=v := by + have hfix : P.rangeRestrict (e v : V)=e v := + Subtype.ext (idempotent_range_fixed P hP (e v)) + change e.symm (P.rangeRestrict (e v : V))=v + rw [hfix,e.symm_apply_apply] + +theorem projectionFrame_coordinates (P : V →L[ℂ] V) + (e : F ≃L[ℂ] P.range) (v : V) : + projectionFrame P e (projectionCoordinates P e v)=P v := by + change (e (e.symm (P.rangeRestrict v)) : V)=P v + rw [e.apply_symm_apply] + rfl + +theorem projectionCoordinates_zero_iff (P : V →L[ℂ] V) + (e : F ≃L[ℂ] P.range) (v : V) : projectionCoordinates P e v=0 ↔ P v=0 := by + constructor + · intro h + rw [← projectionFrame_coordinates P e v,h,map_zero] + · intro h + have hz : P.rangeRestrict v=0 := Subtype.ext h + change e.symm (P.rangeRestrict v)=0 + rw [hz,map_zero] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/RandomSeries.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/RandomSeries.lean new file mode 100644 index 0000000000000000000000000000000000000000..6a06235e48e73eafa8421437b1cf85f0cc126ce8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/RandomSeries.lean @@ -0,0 +1,35 @@ +import Mathlib.MeasureTheory.Constructions.Polish.Basic +import Mathlib.MeasureTheory.Integral.Lebesgue.Add +import Mathlib.MeasureTheory.Integral.Lebesgue.Markov + +namespace OAI + +/-! +# Almost sure finiteness of a random Fourier energy + +The Tonelli step used to turn summable expected squared Sobolev coefficients +into almost sure finite Sobolev energy. This lemma does not identify the NLS +flow or assert its existence. +-/ + +open MeasureTheory +open scoped ENNReal + +namespace DefocusingNLS + +/-- Summable bounds on the expectations of nonnegative terms imply almost +sure finiteness of their sum. Independence is not needed for this step. -/ +theorem ae_tsum_lt_top_of_summable_expectations + {ι Ω : Type*} [Countable ι] [MeasurableSpace Ω] {μ : Measure Ω} + (F : ι → Ω → ℝ≥0∞) (hF : ∀ i, Measurable (F i)) + (w : ι → ℝ) (hw : Summable w) + (hbound : ∀ i, ∫⁻ ω, F i ω ∂μ ≤ ENNReal.ofReal (w i)) : + ∀ᵐ ω ∂μ, (∑' i, F i ω) < ∞ := by + have hfinite : ∫⁻ ω, (∑' i, F i ω) ∂μ < ∞ := by + rw [lintegral_tsum (fun i => (hF i).aemeasurable)] + exact lt_of_le_of_lt (ENNReal.tsum_le_tsum hbound) hw.tsum_ofReal_lt_top + exact ae_lt_top (Measurable.tsum hF) hfinite.ne + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SampledPhysicalFrame.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SampledPhysicalFrame.lean new file mode 100644 index 0000000000000000000000000000000000000000..2074889b8c3d2f413eca8ccf2bec8e5d5a2430bc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SampledPhysicalFrame.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileCoordinateLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteOperatorConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingCoordinateMap + +namespace OAI + +/-! # Sampling the actual smooth physical frame and its finite coordinates -/ + +open Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} +local notation "Params" => ProfileSymmetryParameters + +noncomputable def physicalFrameCutoff (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (F : Params →L[ℝ] HomogeneousY a k) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (L : Radius) : Params →ₗ[ℝ] 𝓢(E, ℂ) where + toFun p := cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ + (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y) (hF p) + map_add' p q := by + ext y + simp only [cutoffProfileSchwartz_apply, map_add, add_apply, + ZeroAtInftyContinuousMap.add_apply, mul_add] + map_smul' c p := by + ext y + simp only [cutoffProfileSchwartz_apply, map_smul, RingHom.id_apply, + ContinuousLinearMap.map_smul_of_tower, ZeroAtInftyContinuousMap.smul_apply, + smul_apply, Complex.real_smul] + ring + +noncomputable def sampledPhysicalFrame (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (F : Params →L[ℝ] HomogeneousY a k) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (L : Radius) : Params →L[ℝ] FourierL2 := + (((physicalSchwartzTorusSamplingCLM a k L.1 ha1 hk L.2).restrictScalars ℝ).toLinearMap.comp + (physicalFrameCutoff a k ha ha1 hk χ hχ F hF L)).toContinuousLinearMap + +@[simp] theorem sampledPhysicalFrame_apply (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (F : Params →L[ℝ] HomogeneousY a k) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (L : Radius) (p : Params) : + sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L p = + physicalSchwartzTorusSamplingCLM a k L.1 ha1 hk L.2 + (cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ + (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y) (hF p)) := rfl + +attribute [local irreducible] sampledPhysicalFrame physicalFrameCutoff + +theorem sampledPhysicalFrame_coordinate_limit {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (F : Params →L[ℝ] HomogeneousY a k) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (hb : ∀ p, ∃ B : ℝ, 0 ≤ B ∧ ∀ L : Radius, + ‖sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L p‖ ≤ B) + (π : HomogeneousY a k →L[ℝ] V) + (L : ℕ → Radius) (hLinf : Tendsto (fun n => (L n).1) atTop atTop) : + Tendsto (fun n => (expandingCoordinates a k ha ha1 hk χ π (L n)).comp + (sampledPhysicalFrame a k ha ha1 hk χ hχ F hF (L n))) atTop (𝓝 (π.comp F)) := by + apply tendsto_finite_domain_operator_of_basis (Module.finBasis ℝ Params) + intro i + let p := (Module.finBasis ℝ Params) i + obtain ⟨B, hB, hbound⟩ := hb p + simpa only [ContinuousLinearMap.comp_apply, expandingCoordinates_apply, sampledPhysicalFrame_apply] using + cutoffProfile_finite_coordinate_limit a k ha ha1 hk χ hχ hχzero hχone + (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y) (hF p) (F p) + (fun _ => rfl) B hB (fun R hR => by simpa only [sampledPhysicalFrame_apply] using hbound ⟨R, hR⟩) L hLinf π + +theorem sampledPhysicalFrame_coordinate_approximation {V : Type*} + [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] + (a k : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (F : Params →L[ℝ] HomogeneousY a k) + (hF : ∀ p, ContDiff ℝ ∞ (fun y => homogeneousPhysicalCLM a k ha ha1 hk (F p) y)) + (hb : ∀ p, ∃ B : ℝ, 0 ≤ B ∧ ∀ L : Radius, + ‖sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L p‖ ≤ B) + (π : HomogeneousY a k →L[ℝ] V) (ε : ℝ) (hε : 0 < ε) : + ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ‖(expandingCoordinates a k ha ha1 hk χ π L).comp + (sampledPhysicalFrame a k ha ha1 hk χ hχ F hF L) - π.comp F‖ < ε := by + by_contra! h + choose L hL hbad using fun n : ℕ => h (n : ℝ) + have hi : Tendsto (fun n => (L n).1) atTop atTop := + tendsto_atTop_mono hL tendsto_natCast_atTop_atTop + have ht := tendsto_iff_norm_sub_tendsto_zero.mp + (sampledPhysicalFrame_coordinate_limit a k ha ha1 hk χ hχ hχzero hχone F hF hb π L hi) + obtain ⟨n, hn⟩ := (ht.eventually (gt_mem_nhds hε)).exists + exact (not_lt_of_ge (hbad n)) hn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SampledSchwartzFrame.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SampledSchwartzFrame.lean new file mode 100644 index 0000000000000000000000000000000000000000..2d53d7916bfe09bbb35da793702929b9066d6953 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SampledSchwartzFrame.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzLocalizationLimit +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSchwartzFrame +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteOperatorConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingCoordinateMap + +namespace OAI + +/-! # Uniformly bounded torus frames from finitely many Schwartz functions -/ + +open Filter Topology +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +noncomputable def sampledSchwartzFrame (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (B : F →ₗ[ℝ] 𝓢(E, ℂ)) (L : Radius) : F →L[ℝ] FourierL2 := + ((Module.finBasis ℝ F).constr ℝ (fun i => + schwartzTorusSample a k L.1 ha1 hk L.2 + (radianFourierKernel (B ((Module.finBasis ℝ F) i))))).toContinuousLinearMap + +theorem sampledSchwartzFrame_basis (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (B : F →ₗ[ℝ] 𝓢(E, ℂ)) (L : Radius) (i : Fin (Module.finrank ℝ F)) : + sampledSchwartzFrame a k ha1 hk B L ((Module.finBasis ℝ F) i) = + schwartzTorusSample a k L.1 ha1 hk L.2 + (radianFourierKernel (B ((Module.finBasis ℝ F) i))) := by + exact (Module.finBasis ℝ F).constr_basis ℝ _ i + +theorem sampledSchwartzFrame_uniform_bound (a k : ℝ) (ha1 : a < 1) (hk : 8 < k) + (B : F →ₗ[ℝ] 𝓢(E, ℂ)) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ L : Radius, ‖sampledSchwartzFrame a k ha1 hk B L‖ ≤ C := by + classical + let b := Module.finBasis ℝ F + choose C hC hb using fun i => exists_schwartzTorusSample_norm_bound a k ha1 hk + (radianFourierKernel (B (b i))) + obtain ⟨D, hD, hDb⟩ := b.exists_opNorm_le (F := FourierL2) + have hsum : 0 ≤ ∑ i, C i := Finset.sum_nonneg (fun i _ => hC i) + refine ⟨D * ∑ i, C i, mul_nonneg hD.le hsum, fun L => hDb hsum (fun i => ?_)⟩ + rw [sampledSchwartzFrame_basis] + exact (hb i L.1 L.2).trans (Finset.single_le_sum (fun j _ => hC j) (Finset.mem_univ i)) + +theorem sampledSchwartzFrame_coordinate_limit (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] F) (B : F →ₗ[ℝ] 𝓢(E, ℂ)) + (hB : ∀ v, π (homogeneousSchwartzEmbedding a k ha ha1 hk (B v)) = v) + (L : ℕ → Radius) (hLinf : Tendsto (fun n => (L n).1) atTop atTop) : + Tendsto (fun n => (expandingCoordinates a k ha ha1 hk χ π (L n)).comp + (sampledSchwartzFrame a k ha1 hk B (L n))) atTop + (𝓝 (ContinuousLinearMap.id ℝ F)) := by + apply tendsto_finite_domain_operator_of_basis (Module.finBasis ℝ F) + intro i + have h := schwartzSample_finite_coordinate_limit a k ha ha1 hk χ + (B ((Module.finBasis ℝ F) i)) ρ hρ hχ (fun n => (L n).1) + (fun n => (L n).2) hLinf π + rw [hB] at h + simpa only [ContinuousLinearMap.comp_apply, sampledSchwartzFrame_basis, + expandingCoordinates_apply, ContinuousLinearMap.id_apply] using h + +theorem sampledSchwartzFrame_coordinate_approximation (a k : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (ρ : ℝ) (hρ : 0 < ρ) + (hχ : ∀ y : E, ‖y‖ ≤ ρ → χ y = 1) + (π : HomogeneousY a k →L[ℝ] F) (B : F →ₗ[ℝ] 𝓢(E, ℂ)) + (hB : ∀ v, π (homogeneousSchwartzEmbedding a k ha ha1 hk (B v)) = v) : + ∀ ε : ℝ, 0 < ε → ∃ L₀ : ℝ, ∀ L : Radius, L₀ ≤ L.1 → + ‖(expandingCoordinates a k ha ha1 hk χ π L).comp + (sampledSchwartzFrame a k ha1 hk B L) - ContinuousLinearMap.id ℝ F‖ < ε := by + classical + intro ε hε + by_contra hn + push Not at hn + choose L hL hbad using fun n : ℕ => hn (n : ℝ) + have hLinf : Tendsto (fun n => (L n).1) atTop atTop := + tendsto_atTop_mono hL tendsto_natCast_atTop_atTop + have h := tendsto_iff_norm_sub_tendsto_zero.mp + (sampledSchwartzFrame_coordinate_limit a k ha ha1 hk χ ρ hρ hχ π B hB L hLinf) + obtain ⟨n, hn⟩ := (h.eventually (eventually_lt_nhds hε)).exists + exact (not_lt_of_ge (hbad n)) hn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SmallComplexPower.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SmallComplexPower.lean new file mode 100644 index 0000000000000000000000000000000000000000..d548aa19113861476db89ffee9b69c29e74d6072 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SmallComplexPower.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowParameterKernel +import Mathlib.Analysis.SpecialFunctions.Complex.LogBounds + +namespace OAI + +/-! # Uniform cancellation for bounded complex powers near one -/ + +namespace DefocusingNLS + +theorem norm_log_mul_le_one_of_small (r z : ℂ) (M : ℝ) (hM : 0 ≤ M) + (hr : ‖r‖ ≤ M) (hz : ‖z‖ ≤ 1 / (2 * (M + 1))) : + ‖z‖ ≤ 1 / 2 ∧ ‖Complex.log (1 + z) * r‖ ≤ 1 := by + have hden : 0 < 2 * (M + 1) := by positivity + have hs : ‖z‖ * (2 * (M + 1)) ≤ 1 := (le_div_iff₀ hden).mp hz + have hzhalf : ‖z‖ ≤ 1 / 2 := by + nlinarith [norm_nonneg z, mul_nonneg (norm_nonneg z) hM] + refine ⟨hzhalf, ?_⟩ + rw [norm_mul] + calc + ‖Complex.log (1 + z)‖ * ‖r‖ ≤ ((3 / 2 : ℝ) * ‖z‖) * M := by + gcongr + exact Complex.norm_log_one_add_half_le_self hzhalf + _ ≤ 1 := by nlinarith [norm_nonneg z] + +theorem norm_cpow_sub_one_le_of_small (r z : ℂ) (M : ℝ) (hM : 0 ≤ M) + (hr : ‖r‖ ≤ M) (hz : ‖z‖ ≤ 1 / (2 * (M + 1))) : + ‖(1 + z) ^ r - 1‖ ≤ 3 * M * ‖z‖ := by + obtain ⟨hzhalf, harg⟩ := norm_log_mul_le_one_of_small r z M hM hr hz + have hne : 1 + z ≠ 0 := by + intro h + have heq : z = -1 := by linear_combination h + rw [heq, norm_neg, norm_one] at hzhalf + norm_num at hzhalf + rw [Complex.cpow_def_of_ne_zero hne] + calc + ‖Complex.exp (Complex.log (1 + z) * r) - 1‖ ≤ + 2 * ‖Complex.log (1 + z) * r‖ := Complex.norm_exp_sub_one_le harg + _ = 2 * (‖Complex.log (1 + z)‖ * ‖r‖) := by rw [norm_mul] + _ ≤ 2 * (((3 / 2 : ℝ) * ‖z‖) * M) := by + gcongr + exact Complex.norm_log_one_add_half_le_self hzhalf + _ = _ := by ring + +theorem norm_log_mul_cpow_le_of_small (r z : ℂ) (M : ℝ) (hM : 0 ≤ M) + (hr : ‖r‖ ≤ M) (hz : ‖z‖ ≤ 1 / (2 * (M + 1))) : + ‖Complex.log (1 + z) * (1 + z) ^ r‖ ≤ + ((3 / 2 : ℝ) * Real.exp 1) * ‖z‖ := by + obtain ⟨hzhalf, harg⟩ := norm_log_mul_le_one_of_small r z M hM hr hz + have hne : 1 + z ≠ 0 := by + intro h + have heq : z = -1 := by linear_combination h + rw [heq, norm_neg, norm_one] at hzhalf + norm_num at hzhalf + have he : ‖(1 + z) ^ r‖ ≤ Real.exp 1 := by + rw [Complex.cpow_def_of_ne_zero hne, Complex.norm_exp] + exact Real.exp_le_exp.mpr ((Complex.re_le_norm _).trans harg) + rw [norm_mul] + calc + ‖Complex.log (1 + z)‖ * ‖(1 + z) ^ r‖ ≤ + ((3 / 2 : ℝ) * ‖z‖) * Real.exp 1 := by + gcongr + exact Complex.norm_log_one_add_half_le_self hzhalf + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableCoordinateBackwardBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableCoordinateBackwardBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..cdb24796a05488cd710f1ba72d4fbdd3cd34b49e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableCoordinateBackwardBound.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphBackward +import Mathlib.Analysis.SpecificLimits.Normed + +namespace OAI + +/-! # An explicit bound on the initial finite coordinate of a decaying orbit -/ + +open Filter Topology + +namespace DefocusingNLS + +theorem stableCoordinate_initial_bound {F : Type*} + [NormedAddCommGroup F] [NormedSpace ℝ F] + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) + (u f : ℕ → F) (B E : ℝ) (hE : 0 ≤ E) + (hu : ∀ n, ‖u n‖ ≤ B * (1 / 2 : ℝ) ^ n) + (hf : ∀ n, ‖f n‖ ≤ E * (1 / 2 : ℝ) ^ n) + (hrec : ∀ n, u n = R (u (n + 1) - f n)) : + ‖u 0‖ ≤ 2 * E := by + have hs (n : ℕ) : ‖u n‖ ≤ ‖u (n + 1)‖ + ‖f n‖ := by + rw [hrec n] + have hb : ‖R (u (n + 1) - f n)‖ ≤ ‖u (n + 1) - f n‖ := by + simpa only [one_mul] using R.le_of_opNorm_le hR (u (n + 1) - f n) + exact hb.trans (norm_sub_le _ _) + have ht (n : ℕ) : ‖u 0‖ ≤ ‖u n‖ + ∑ j ∈ Finset.range n, ‖f j‖ := by + induction n with + | zero => simp + | succ n hn => + rw [Finset.sum_range_succ] + linarith [hs n] + have hg : HasSum (fun n : ℕ => E * (1 / 2 : ℝ) ^ n) (2 * E) := by + convert (hasSum_geometric_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).mul_left E using 1 + ring + have hb (n : ℕ) : ‖u 0‖ ≤ B * (1 / 2 : ℝ) ^ n + 2 * E := by + apply (ht n).trans + apply add_le_add (hu n) + calc + (∑ j ∈ Finset.range n, ‖f j‖) ≤ ∑ j ∈ Finset.range n, E * (1 / 2 : ℝ) ^ j := + Finset.sum_le_sum (fun j _ => hf j) + _ ≤ 2 * E := by + rw [← hg.tsum_eq] + exact hg.summable.sum_le_tsum _ (fun j _ => mul_nonneg hE (by positivity)) + have hl : Tendsto (fun n : ℕ => B * (1 / 2 : ℝ) ^ n + 2 * E) atTop (𝓝 (2 * E)) := by + simpa only [mul_zero, zero_add] using + ((tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).const_mul B).add_const (2 * E) + exact ge_of_tendsto hl (Eventually.of_forall hb) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableEndpointContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableEndpointContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..7a97051bdfc643ff1e4df552b3ea7a6bdfe5f2e1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableEndpointContinuity.lean @@ -0,0 +1,95 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableFixedPointEndpoint +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableFrameContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableWeightedLocalContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphParameterSelection + +namespace OAI + +/-! # Continuous families of actual stable endpoint sequences -/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {P E F : Type*} [TopologicalSpace P] + [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +theorem exists_continuous_stableGraph_endpoints + (ζ : P → ℕ → F →L[ℝ] E) (π : P → ℕ → E →L[ℝ] F) + (A : P → ℕ → E →L[ℝ] E) (D R : F →L[ℝ] F) + (hR : ‖R‖ ≤ 1) (hinv : ∀ v, D (R v) = v) + (hπζ : ∀ p n v, π p n (ζ p n v) = v) + (hA : ∀ p n, ‖stableProjectedBlock (ζ p n) (ζ p (n + 1)) + (π p n) (π p (n + 1)) (A p n)‖ ≤ 1 / 8) + (hB : ∀ p n, ‖stableMixedBlock (ζ p n) (ζ p (n + 1)) (π p (n + 1)) (A p n)‖ ≤ 1 / 16) + (hζc : ∀ n, Continuous (fun q : P × F => ζ q.1 n q.2)) + (hπc : ∀ n, Continuous (fun q : P × E => π q.1 n q.2)) + (hAc : ∀ n, Continuous (fun q : P × E => A q.1 n q.2)) + (h : P → ℕ → E → E) (w : P → E) (hw : Continuous w) (hwker : ∀ p, π p 0 (w p) = 0) + (ρ ε C r : ℝ) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) (hC : 0 ≤ C) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) (hζ : ∀ p n, ‖ζ p n‖ ≤ C) + (hhc : ∀ n, Continuous (fun q : P × {v : E // ‖v‖ ≤ (1 + C) * ρ} => h q.1 n q.2.1)) + (hN : ∀ p n v u, ‖v‖ ≤ ρ → ‖u‖ ≤ ρ → + ‖stableFrameForwardSource (ζ p) (π p) (h p) n v - + stableFrameForwardSource (ζ p) (π p) (h p) n u‖ ≤ (1 / 16 : ℝ) * ‖v - u‖) + (hH : ∀ p n v u, ‖v‖ ≤ ρ → ‖u‖ ≤ ρ → + ‖stableFrameCoordinateSource (ζ p) (π p) (A p) D (h p) n v - + stableFrameCoordinateSource (ζ p) (π p) (A p) D (h p) n u‖ ≤ + (1 / 16 : ℝ) * ‖v - u‖) + (hN0 : ∀ p n, ‖stableFrameForwardSource (ζ p) (π p) (h p) n 0‖ ≤ ε * r ^ n) + (hH0 : ∀ p n, ‖stableFrameCoordinateSource (ζ p) (π p) (A p) D (h p) n 0‖ ≤ ε * r ^ n) + (hsmall : ∀ p, ‖w p‖ + 2 * ε ≤ ρ / 2) : + ∃ z : P → ℕ → E, (∀ n, Continuous (fun p => z p n)) ∧ + (∀ p, stableFrameProjection (ζ p 0) (π p 0) (z p 0) = w p) ∧ + (∀ p n, z p (n + 1) = A p n (z p n) + h p n (z p n)) ∧ + (∀ p n, ‖z p n‖ ≤ (2 * (‖w p‖ + 2 * ε) * (1 + C)) * (1 / 2 : ℝ) ^ n) := by + let Nf := fun p => stableFrameForwardSource (ζ p) (π p) (h p) + let Hf := fun p => stableFrameCoordinateSource (ζ p) (π p) (A p) D (h p) + let N := fun p => stableWeightedPairSource (Nf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hN p) (hN0 p) + let H := fun p => stableWeightedPairSource (Hf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hH p) (hH0 p) + have hc := continuous_stableFrame_sources_local ζ π A D h hζc hπc hAc + ρ ((1 + C) * ρ) C hC hζ le_rfl hhc + obtain ⟨x, hfix, hx, hbound, _hinit, hxc⟩ := exists_continuous_stableGraph_selection + (fun p n => stableProjectedBlock (ζ p n) (ζ p (n + 1)) (π p n) (π p (n + 1)) (A p n)) + (fun p n => stableMixedBlock (ζ p n) (ζ p (n + 1)) (π p (n + 1)) (A p n)) + hA hB + (continuous_stableProjectedBlock_apply ζ π A hζc hπc hAc) + (continuous_stableMixedBlock_apply ζ π A hζc hπc hAc) + R hR w hw N H ρ ε hρ hε + (fun p v u hv hu => stableWeightedPairSource_dist_le (Nf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hN p) (hN0 p) v u hv hu) + (fun p v u hv hu => stableWeightedPairSource_dist_le (Hf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hH p) (hH0 p) v u hv hu) + (fun p => stableWeightedPairSource_zero_bound (Nf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hN p) (hN0 p)) + (fun p => stableWeightedPairSource_zero_bound (Hf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hH p) (hH0 p)) + (fun y hy hy₁ hy₂ n => continuous_stableWeightedPairSource_local Nf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (fun i => (hc i).1) hN hN0 y hy hy₁ hy₂ n) + (fun y hy hy₁ hy₂ n => continuous_stableWeightedPairSource_local Hf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (fun i => (hc i).2) hH hH0 y hy hy₁ hy₂ n) + hsmall + let z := fun p => stableFrameState (ζ p) (stableSequenceValue (x p).1) (stableSequenceValue (x p).2) + have hz (p : P) := stableGraph_fixedPoint_endpoint (ζ p) (π p) (A p) D R hR hinv + (hπζ p) (hA p) (hB p) (h p) (w p) (hwker p) (N p) (H p) ε C hC (hζ p) + (x p) (hfix p) (hbound p) + (fun n => (stableWeightedPairSource_value (Nf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hN p) (hN0 p) (x p) (hx p) n).trans + (stableFrameForwardSource_value (ζ p) (π p) (h p) (x p) n)) + (fun n => (stableWeightedPairSource_value (Hf p) ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall (hH p) (hH0 p) (x p) (hx p) n).trans + (stableFrameCoordinateSource_value (ζ p) (π p) (A p) D (h p) (x p) n)) + refine ⟨z, ?_, fun p => (hz p).1, fun p => (hz p).2.1, fun p => (hz p).2.2⟩ + intro n + have hwc : Continuous (fun p => stableSequenceValue (x p).1 n) := + continuous_const.smul (continuous_fst.comp (hxc n)) + have huc : Continuous (fun p => stableSequenceValue (x p).2 n) := + continuous_const.smul (continuous_snd.comp (hxc n)) + exact hwc.add ((hζc n).comp (continuous_id.prodMk huc)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableEndpointCoordinateBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableEndpointCoordinateBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..8628927fb677d942eaab8382ccfe42446a67e14f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableEndpointCoordinateBound.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableCoordinateBackwardBound +import Mathlib.LinearAlgebra.FiniteDimensional.Basic + +namespace OAI + +/-! # Small unstable coordinates of the actual decaying endpoint sequence -/ + +namespace DefocusingNLS + +section Inverse +variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem finiteCoordinate_rightInverse_leftInverse (D R : F →L[ℝ] F) + (hDR : ∀ v, D (R v) = v) (v : F) : R (D v) = v := by + have hsurj : Function.Surjective D := fun v => ⟨R v, hDR v⟩ + have hinj : Function.Injective D := + (D.toLinearMap.injective_iff_surjective).mpr hsurj + apply hinj + exact hDR (D v) +end Inverse + +section Endpoint +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem stableEndpoint_coordinate_bound + (π : ℕ → E →L[ℝ] F) (A : ℕ → E →L[ℝ] E) (D R : F →L[ℝ] F) + (hRD : ∀ v, R (D v) = v) (hR : ‖R‖ ≤ 1) + (C τ κ ε B r : ℝ) + (hC : 0 ≤ C) (hτ : 0 ≤ τ) (hκ : 0 ≤ κ) (hε : 0 ≤ ε) (hB : 0 ≤ B) + (hr : 0 ≤ r) (hrhalf : r ≤ 1 / 2) + (hπ : ∀ n, ‖π n‖ ≤ C) + (he : ∀ n, ‖(π (n + 1)).comp (A n) - D.comp (π n)‖ ≤ τ) + (h : ℕ → E → E) (z : ℕ → E) + (hstep : ∀ n, z (n + 1) = A n (z n) + h n (z n)) + (hz : ∀ n, ‖z n‖ ≤ B * (1 / 2 : ℝ) ^ n) + (hh : ∀ n, ‖h n (z n) - h n 0‖ ≤ κ * ‖z n‖) + (hzero : ∀ n, ‖h n 0‖ ≤ ε * r ^ n) : + ‖π 0 (z 0)‖ ≤ 2 * ((τ + C * κ) * B + C * ε) := by + let u : ℕ → F := fun n => π n (z n) + let f : ℕ → F := fun n => + ((π (n + 1)).comp (A n) - D.comp (π n)) (z n) + π (n + 1) (h n (z n)) + have hrec (n : ℕ) : u n = R (u (n + 1) - f n) := by + have hid : u (n + 1) - f n = D (u n) := by + dsimp only [u, f] + rw [hstep n, map_add] + simp only [sub_apply, ContinuousLinearMap.comp_apply] + abel + rw [hid, hRD] + have hf (n : ℕ) : ‖f n‖ ≤ ((τ + C * κ) * B + C * ε) * (1 / 2 : ℝ) ^ n := by + have hhn : ‖h n (z n)‖ ≤ κ * (B * (1 / 2 : ℝ) ^ n) + ε * (1 / 2 : ℝ) ^ n := by + calc + _ = ‖(h n (z n) - h n 0) + h n 0‖ := by rw [sub_add_cancel] + _ ≤ ‖h n (z n) - h n 0‖ + ‖h n 0‖ := norm_add_le _ _ + _ ≤ κ * ‖z n‖ + ε * r ^ n := add_le_add (hh n) (hzero n) + _ ≤ _ := add_le_add (mul_le_mul_of_nonneg_left (hz n) hκ) + (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ hr hrhalf n) hε) + calc + ‖f n‖ ≤ ‖((π (n + 1)).comp (A n) - D.comp (π n)) (z n)‖ + + ‖π (n + 1) (h n (z n))‖ := norm_add_le _ _ + _ ≤ τ * ‖z n‖ + C * ‖h n (z n)‖ := + add_le_add (ContinuousLinearMap.le_of_opNorm_le _ (he n) _) + (ContinuousLinearMap.le_of_opNorm_le _ (hπ (n + 1)) _) + _ ≤ τ * (B * (1 / 2 : ℝ) ^ n) + + C * (κ * (B * (1 / 2 : ℝ) ^ n) + ε * (1 / 2 : ℝ) ^ n) := + add_le_add (mul_le_mul_of_nonneg_left (hz n) hτ) + (mul_le_mul_of_nonneg_left hhn hC) + _ = _ := by ring + apply stableCoordinate_initial_bound R hR u f (C * B) + ((τ + C * κ) * B + C * ε) (by positivity) _ hf hrec + intro n + exact (ContinuousLinearMap.le_of_opNorm_le _ (hπ n) _).trans + (by simpa only [mul_assoc] using mul_le_mul_of_nonneg_left (hz n) hC) + +end Endpoint +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableFixedPointEndpoint.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableFixedPointEndpoint.lean new file mode 100644 index 0000000000000000000000000000000000000000..4a3c66bdd0807e76c674c53d6d4badaebb26fec2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableFixedPointEndpoint.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphEndpoint + +namespace OAI + +/-! # A prescribed graph fixed point reconstructs the endpoint dynamics -/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +theorem stableGraph_fixedPoint_endpoint + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D R : F →L[ℝ] F) + (hR : ‖R‖ ≤ 1) (hinv : ∀ v, D (R v) = v) + (hπζ : ∀ n v, π n (ζ n v) = v) + (hA : ∀ n, ‖stableProjectedBlock (ζ n) (ζ (n + 1)) + (π n) (π (n + 1)) (A n)‖ ≤ 1 / 8) + (hB : ∀ n, ‖stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n)‖ ≤ 1 / 16) + (h : ℕ → E → E) (w₀ : E) (hw₀ : π 0 w₀ = 0) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (ε C : ℝ) (hC : 0 ≤ C) (hζ : ∀ n, ‖ζ n‖ ≤ C) + (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) + (hfix : stableGraphMap + (fun n => stableProjectedBlock (ζ n) (ζ (n + 1)) (π n) (π (n + 1)) (A n)) + (fun n => stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n)) + hA hB R hR w₀ N H x = x) + (hbound : ‖x‖ ≤ 2 * (‖w₀‖ + 2 * ε)) + (hNs : ∀ n, stableSequenceValue (N x) n = + stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n))) + (hHs : ∀ n, stableSequenceValue (H x) n = + ((π (n + 1)).comp (A n) - D.comp (π n)) + (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n) + + π (n + 1) (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n))) : + let z := stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) + stableFrameProjection (ζ 0) (π 0) (z 0) = w₀ ∧ + (∀ n, z (n + 1) = A n (z n) + h n (z n)) ∧ + (∀ n, ‖z n‖ ≤ (2 * (‖w₀‖ + 2 * ε) * (1 + C)) * (1 / 2 : ℝ) ^ n) := by + let A' := fun n => stableProjectedBlock (ζ n) (ζ (n + 1)) (π n) (π (n + 1)) (A n) + let B' := fun n => stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n) + have hforward : stableForward A' B' (1 / 8) (1 / 16) (by norm_num) (by norm_num) + hA hB w₀ x.1 x.2 (N x) = x.1 := congrArg Prod.fst hfix + have hback : stableBackward R hR (H x) = x.2 := congrArg Prod.snd hfix + have hwinit : stableSequenceValue x.1 0 = w₀ := by + rw [stableSequenceValue_zero, ← hforward, stableForward_zero] + have hw (n : ℕ) : stableSequenceValue x.1 (n + 1) = + stableProjectedBlock (ζ n) (ζ (n + 1)) (π n) (π (n + 1)) (A n) + (stableSequenceValue x.1 n) + + stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n) + (stableSequenceValue x.2 n) + + stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n)) := by + simpa only [A', B', hNs n] using stableForward_unweighted_recurrence + A' B' (1 / 8) (1 / 16) (by norm_num) (by norm_num) hA hB + w₀ x.1 x.2 (N x) hforward n + have hu (n : ℕ) : stableSequenceValue x.2 (n + 1) = + D (stableSequenceValue x.2 n) + + ((π (n + 1)).comp (A n) - D.comp (π n)) + (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n) + + π (n + 1) (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n)) := by + have hh := stableBackward_unweighted_recurrence R D hR hinv (H x) n + rw [hback, hHs n] at hh + simpa only [add_assoc] using hh + have hk₀ : π 0 (stableSequenceValue x.1 0) = 0 := by rw [hwinit]; exact hw₀ + obtain ⟨hker, hrec⟩ := stableProjected_reconstruct_recurrence ζ π A D h + (stableSequenceValue x.1) (stableSequenceValue x.2) hπζ hk₀ hw hu + refine ⟨?_, hrec, ?_⟩ + · change (stableSequenceValue x.1 0 + ζ 0 (stableSequenceValue x.2 0)) - + ζ 0 (π 0 (stableSequenceValue x.1 0 + ζ 0 (stableSequenceValue x.2 0))) = w₀ + rw [map_add, hker 0, hπζ 0, zero_add, add_sub_cancel_right, hwinit] + · intro n + have hx₁ : ‖x.1‖ ≤ 2 * (‖w₀‖ + 2 * ε) := (norm_fst_le x).trans hbound + have hx₂ : ‖x.2‖ ≤ 2 * (‖w₀‖ + 2 * ε) := (norm_snd_le x).trans hbound + apply (stableFrameState_weighted_norm_le ζ x.1 x.2 C hζ n).trans + calc + _ ≤ (1 / 2 : ℝ) ^ n * + (2 * (‖w₀‖ + 2 * ε) + C * (2 * (‖w₀‖ + 2 * ε))) := + mul_le_mul_of_nonneg_left + (add_le_add hx₁ (mul_le_mul_of_nonneg_left hx₂ hC)) (by positivity) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableFrameContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableFrameContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..a475d1777f009fccef901cd8f10945be10d7740f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableFrameContinuity.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphPointSources + +namespace OAI + +/-! # Strong continuity of projected blocks and local nonlinear sources -/ + +namespace DefocusingNLS + +variable {P E F : Type*} [TopologicalSpace P] + [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem continuous_stableProjection_apply + (ζ : P → F →L[ℝ] E) (π : P → E →L[ℝ] F) + (hζ : Continuous (fun q : P × F => ζ q.1 q.2)) + (hπ : Continuous (fun q : P × E => π q.1 q.2)) : + Continuous (fun q : P × E => stableFrameProjection (ζ q.1) (π q.1) q.2) := + continuous_snd.sub (hζ.comp (continuous_fst.prodMk hπ)) + +theorem continuous_stableProjectedBlock_apply + (ζ : P → ℕ → F →L[ℝ] E) (π : P → ℕ → E →L[ℝ] F) + (A : P → ℕ → E →L[ℝ] E) + (hζ : ∀ n, Continuous (fun q : P × F => ζ q.1 n q.2)) + (hπ : ∀ n, Continuous (fun q : P × E => π q.1 n q.2)) + (hA : ∀ n, Continuous (fun q : P × E => A q.1 n q.2)) (n : ℕ) : + Continuous (fun q : P × E => stableProjectedBlock (ζ q.1 n) (ζ q.1 (n + 1)) + (π q.1 n) (π q.1 (n + 1)) (A q.1 n) q.2) := by + have hp := continuous_stableProjection_apply (fun p => ζ p n) (fun p => π p n) (hζ n) (hπ n) + exact (continuous_stableProjection_apply (fun p => ζ p (n + 1)) (fun p => π p (n + 1)) + (hζ (n + 1)) (hπ (n + 1))).comp + (continuous_fst.prodMk ((hA n).comp (continuous_fst.prodMk hp))) + +theorem continuous_stableMixedBlock_apply + (ζ : P → ℕ → F →L[ℝ] E) (π : P → ℕ → E →L[ℝ] F) + (A : P → ℕ → E →L[ℝ] E) + (hζ : ∀ n, Continuous (fun q : P × F => ζ q.1 n q.2)) + (hπ : ∀ n, Continuous (fun q : P × E => π q.1 n q.2)) + (hA : ∀ n, Continuous (fun q : P × E => A q.1 n q.2)) (n : ℕ) : + Continuous (fun q : P × F => stableMixedBlock (ζ q.1 n) (ζ q.1 (n + 1)) + (π q.1 (n + 1)) (A q.1 n) q.2) := by + exact (continuous_stableProjection_apply (fun p => ζ p (n + 1)) (fun p => π p (n + 1)) + (hζ (n + 1)) (hπ (n + 1))).comp + (continuous_fst.prodMk ((hA n).comp (continuous_fst.prodMk (hζ n)))) + +theorem continuous_stableFrameAssembly_apply + (ζ : P → F →L[ℝ] E) (hζ : Continuous (fun q : P × F => ζ q.1 q.2)) : + Continuous (fun q : P × (E × F) => stableFrameAssembly (ζ q.1) q.2) := + continuous_snd.fst.add (hζ.comp (continuous_fst.prodMk continuous_snd.snd)) + +theorem continuous_stableFrame_sources_local + (ζ : P → ℕ → F →L[ℝ] E) (π : P → ℕ → E →L[ℝ] F) + (A : P → ℕ → E →L[ℝ] E) (D : F →L[ℝ] F) (h : P → ℕ → E → E) + (hζ : ∀ n, Continuous (fun q : P × F => ζ q.1 n q.2)) + (hπ : ∀ n, Continuous (fun q : P × E => π q.1 n q.2)) + (hA : ∀ n, Continuous (fun q : P × E => A q.1 n q.2)) + (ρ δ C : ℝ) (hC : 0 ≤ C) (hζb : ∀ p n, ‖ζ p n‖ ≤ C) + (hball : (1 + C) * ρ ≤ δ) + (hh : ∀ n, Continuous (fun q : P × {v : E // ‖v‖ ≤ δ} => h q.1 n q.2.1)) (n : ℕ) : + Continuous (fun q : P × {v : E × F // ‖v‖ ≤ ρ} => + stableFrameForwardSource (ζ q.1) (π q.1) (h q.1) n q.2.1) ∧ + Continuous (fun q : P × {v : E × F // ‖v‖ ≤ ρ} => + stableFrameCoordinateSource (ζ q.1) (π q.1) (A q.1) D (h q.1) n q.2.1) := by + let v := fun q : P × {v : E × F // ‖v‖ ≤ ρ} => stableFrameAssembly (ζ q.1 n) q.2.1 + have hv : Continuous v := (continuous_stableFrameAssembly_apply (fun p => ζ p n) (hζ n)).comp + (continuous_fst.prodMk (continuous_subtype_val.comp continuous_snd)) + have hvb (q : P × {v : E × F // ‖v‖ ≤ ρ}) : ‖v q‖ ≤ δ := by + exact ((stableFrameAssembly (ζ q.1 n)).le_opNorm q.2.1).trans + ((mul_le_mul (stableFrameAssembly_norm_le _ C hC (hζb q.1 n)) q.2.2 + (norm_nonneg _) (by positivity)).trans hball) + have hhcv : Continuous (fun q : P × {v : E × F // ‖v‖ ≤ ρ} => h q.1 n (v q)) := + (hh n).comp (continuous_fst.prodMk (hv.subtype_mk hvb)) + refine ⟨?_, ?_⟩ + · exact (continuous_stableProjection_apply (fun p => ζ p (n + 1)) + (fun p => π p (n + 1)) (hζ (n + 1)) (hπ (n + 1))).comp + (continuous_fst.prodMk hhcv) + · have hva := (hA n).comp (continuous_fst.prodMk hv) + have hpa := (hπ (n + 1)).comp (continuous_fst.prodMk hva) + have hpd := D.continuous.comp ((hπ n).comp (continuous_fst.prodMk hv)) + have hph := (hπ (n + 1)).comp (continuous_fst.prodMk hhcv) + exact (hpa.sub hpd).add hph + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphApplication.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphApplication.lean new file mode 100644 index 0000000000000000000000000000000000000000..19284a3ec95004cea21aa3c80dd54eeb264faf51 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphApplication.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphEndpoint +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphPointSources + +namespace OAI + +/-! # Direct application of the stable graph to endpoint remainders + +Only the concrete projected block and pointwise remainder estimates occur +as hypotheses. The weighted sources and the fixed sequence are constructed +inside the proof, and the conclusion is the original endpoint recurrence. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +theorem exists_stableGraph_actual_endpoint_sequence + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D R : F →L[ℝ] F) + (hR : ‖R‖ ≤ 1) (hinv : ∀ z, D (R z) = z) + (hπζ : ∀ n v, π n (ζ n v) = v) + (hA : ∀ n, ‖stableProjectedBlock (ζ n) (ζ (n + 1)) + (π n) (π (n + 1)) (A n)‖ ≤ 1 / 8) + (hB : ∀ n, ‖stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n)‖ ≤ 1 / 16) + (h : ℕ → E → E) (w₀ : E) (hw₀ : π 0 w₀ = 0) + (ρ ε C r : ℝ) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) (hC : 0 ≤ C) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) (hζ : ∀ n, ‖ζ n‖ ≤ C) + (hN : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → + ‖stableFrameForwardSource ζ π h n v - stableFrameForwardSource ζ π h n w‖ ≤ + (1 / 16 : ℝ) * ‖v - w‖) + (hH : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → + ‖stableFrameCoordinateSource ζ π A D h n v - + stableFrameCoordinateSource ζ π A D h n w‖ ≤ (1 / 16 : ℝ) * ‖v - w‖) + (hN0 : ∀ n, ‖stableFrameForwardSource ζ π h n 0‖ ≤ ε * r ^ n) + (hH0 : ∀ n, ‖stableFrameCoordinateSource ζ π A D h n 0‖ ≤ ε * r ^ n) + (hsmall : ‖w₀‖ + 2 * ε ≤ ρ / 2) : + ∃ z : ℕ → E, + stableFrameProjection (ζ 0) (π 0) (z 0) = w₀ ∧ + (∀ n, z (n + 1) = A n (z n) + h n (z n)) ∧ + (∀ n, ‖z n‖ ≤ (2 * (‖w₀‖ + 2 * ε) * (1 + C)) * (1 / 2 : ℝ) ^ n) := by + let Nf : ℕ → E × F → E := stableFrameForwardSource ζ π h + let Hf : ℕ → E × F → F := stableFrameCoordinateSource ζ π A D h + let N := stableWeightedPairSource Nf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hN hN0 + let H := stableWeightedPairSource Hf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hH hH0 + apply exists_stableGraph_endpoint_sequence ζ π A D R hR hinv hπζ hA hB h w₀ hw₀ + N H ρ ε C hρ hε hC hζ + · intro x y hx hy + exact stableWeightedPairSource_dist_le Nf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hN hN0 x y hx hy + · intro x y hx hy + exact stableWeightedPairSource_dist_le Hf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hH hH0 x y hx hy + · exact stableWeightedPairSource_zero_bound Nf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hN hN0 + · exact stableWeightedPairSource_zero_bound Hf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hH hH0 + · exact hsmall + · intro x hx n + exact (stableWeightedPairSource_value Nf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hN hN0 x hx n).trans + (stableFrameForwardSource_value ζ π h x n) + · intro x hx n + exact (stableWeightedPairSource_value Hf ρ (1 / 16) ε r + hρ (by norm_num) hε hr hrsmall hH hH0 x hx n).trans + (stableFrameCoordinateSource_value ζ π A D h x n) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphBackward.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphBackward.lean new file mode 100644 index 0000000000000000000000000000000000000000..4ae1c9fd6150e5afdc7d3d107b48562b4b286276 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphBackward.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphSequence +import Mathlib.Topology.Algebra.InfiniteSum.Module + +namespace OAI + +/-! # The convergent backward sum in the graph construction + +The inverse unstable evolution only needs operator norm at most one. The +factor `2⁻ʲ` from the weighted sequence space supplies summability, including +the neutral phase coordinate. The bound is exactly the geometric cost two. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + +omit [CompleteSpace E] in +theorem stableBackward_term_bound (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f : ℕ →ᵇ E) (n j : ℕ) : + ‖(1 / 2 : ℝ) ^ j • (R ^ (j + 1)) (f (n + j))‖ ≤ + (1 / 2 : ℝ) ^ j * ‖f‖ := by + have hpow_all (i : ℕ) : ‖R ^ i‖ ≤ 1 := by + induction i with + | zero => simpa only [pow_zero, ContinuousLinearMap.one_def] using (ContinuousLinearMap.norm_id_le (𝕜 := ℝ) (E := E)) + | succ i hi => + calc + ‖R ^ (i + 1)‖ ≤ ‖R ^ i‖ * ‖R‖ := by rw [pow_succ]; exact norm_mul_le _ _ + _ ≤ 1 * 1 := mul_le_mul hi hR (norm_nonneg _) (by norm_num) + _ = 1 := one_mul _ + have hpow := hpow_all (j + 1) + rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (by positivity)] + apply mul_le_mul_of_nonneg_left _ (by positivity) + calc + ‖(R ^ (j + 1)) (f (n + j))‖ ≤ ‖R ^ (j + 1)‖ * ‖f (n + j)‖ := + (R ^ (j + 1)).le_opNorm _ + _ ≤ 1 * ‖f‖ := mul_le_mul hpow (f.norm_coe_le_norm _) (norm_nonneg _) (by norm_num) + _ = ‖f‖ := one_mul _ + +theorem stableBackward_summable (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f : ℕ →ᵇ E) (n : ℕ) : + Summable (fun j : ℕ => (1 / 2 : ℝ) ^ j • (R ^ (j + 1)) (f (n + j))) := by + apply Summable.of_norm_bounded + ((summable_geometric_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).mul_right ‖f‖) + exact stableBackward_term_bound R hR f n + +theorem stableBackward_sum_bound (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f : ℕ →ᵇ E) (n : ℕ) : + ‖∑' j : ℕ, (1 / 2 : ℝ) ^ j • (R ^ (j + 1)) (f (n + j))‖ ≤ 2 * ‖f‖ := by + have hs : HasSum (fun j : ℕ => (1 / 2 : ℝ) ^ j * ‖f‖) (2 * ‖f‖) := by + convert (hasSum_geometric_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).mul_right ‖f‖ using 1 + norm_num + exact (stableBackward_summable R hR f n).hasSum.norm_le_of_bounded hs + (stableBackward_term_bound R hR f n) + +/-- Negative backward solution of the normalized unstable recurrence. -/ +noncomputable def stableBackward (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f : ℕ →ᵇ E) : ℕ →ᵇ E := + BoundedContinuousFunction.ofNormedAddCommGroupDiscrete + (fun n => -(∑' j : ℕ, (1 / 2 : ℝ) ^ j • (R ^ (j + 1)) (f (n + j)))) + (2 * ‖f‖) (fun n => by simpa using stableBackward_sum_bound R hR f n) + +theorem stableBackward_apply (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f : ℕ →ᵇ E) (n : ℕ) : + stableBackward R hR f n = -(∑' j : ℕ, (1 / 2 : ℝ) ^ j • + (R ^ (j + 1)) (f (n + j))) := rfl + +theorem norm_stableBackward_le (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f : ℕ →ᵇ E) : ‖stableBackward R hR f‖ ≤ 2 * ‖f‖ := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro n + simpa only [stableBackward_apply, norm_neg] using stableBackward_sum_bound R hR f n + +theorem stableBackward_sub (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f g : ℕ →ᵇ E) : + stableBackward R hR (f - g) = stableBackward R hR f - stableBackward R hR g := by + apply BoundedContinuousFunction.ext + intro n + simp only [stableBackward_apply, BoundedContinuousFunction.sub_apply, map_sub, smul_sub] + rw [(stableBackward_summable R hR f n).tsum_sub (stableBackward_summable R hR g n)] + abel + +theorem stableBackward_dist_le (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f g : ℕ →ᵇ E) : + dist (stableBackward R hR f) (stableBackward R hR g) ≤ 2 * dist f g := by + simpa only [dist_eq_norm, stableBackward_sub] using norm_stableBackward_le R hR (f - g) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..5a99f9be10afb5ad8ec2d2c27ebb0606b5be77b1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphContinuity.lean @@ -0,0 +1,70 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphContraction +import Mathlib.Topology.UniformSpace.UniformApproximation + +namespace OAI + +/-! # Continuity from uniformly contracting iterates + +Only continuity of the observed finite iterates is required. In the stable +graph application the observation is a single coordinate, whose continuity +comes from strong Fourier continuity and uniformly convergent backward tails. +Operator-norm continuity of the free Schrödinger group is unnecessary. +-/ + +open Filter Topology + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +theorem continuous_contraction_observation + {P X Y : Type*} [TopologicalSpace P] [NormedAddCommGroup X] [PseudoMetricSpace Y] + (T : P → X → X) (z : P → X) (observe : X → Y) + (ρ : ℝ) (hρ : 0 ≤ ρ) + (hmap : ∀ p x, ‖x‖ ≤ ρ → ‖T p x‖ ≤ ρ) + (hcontract : ∀ p x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (T p x) (T p y) ≤ (1 / 2 : ℝ) * dist x y) + (hz : ∀ p, T p (z p) = z p) (hzbound : ∀ p, ‖z p‖ ≤ ρ) + (hobserve : ∀ x y, dist (observe x) (observe y) ≤ dist x y) + (hiterate : ∀ n : ℕ, Continuous (fun p => observe ((T p)^[n] 0))) : + Continuous (fun p => observe (z p)) := by + have hi : ∀ n : ℕ, ∀ p : P, ‖(T p)^[n] 0‖ ≤ ρ ∧ + dist ((T p)^[n] 0) (z p) ≤ (1 / 2 : ℝ) ^ n * ρ := by + intro n + induction n with + | zero => + intro p + simpa only [Function.iterate_zero_apply, norm_zero, dist_zero_left, pow_zero, + one_mul] using And.intro hρ (hzbound p) + | succ n ih => + intro p + obtain ⟨hnorm, hdist⟩ := ih p + rw [Function.iterate_succ_apply'] + refine ⟨hmap p _ hnorm, ?_⟩ + calc + dist (T p ((T p)^[n] 0)) (z p) = + dist (T p ((T p)^[n] 0)) (T p (z p)) := by rw [hz] + _ ≤ (1 / 2 : ℝ) * dist ((T p)^[n] 0) (z p) := + hcontract p _ _ hnorm (hzbound p) + _ ≤ (1 / 2 : ℝ) * ((1 / 2 : ℝ) ^ n * ρ) := + mul_le_mul_of_nonneg_left hdist (by norm_num) + _ = (1 / 2 : ℝ) ^ (n + 1) * ρ := by rw [pow_succ]; ring + have ht : Tendsto (fun n : ℕ => (1 / 2 : ℝ) ^ n * ρ) atTop (𝓝 0) := by + simpa using (tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).mul_const ρ + have hu : TendstoUniformly (fun n p => observe ((T p)^[n] 0)) + (fun p => observe (z p)) atTop := by + rw [Metric.tendstoUniformly_iff] + intro ε hε + filter_upwards [ht.eventually (gt_mem_nhds hε)] with n hn p + calc + dist (observe (z p)) (observe ((T p)^[n] 0)) ≤ dist (z p) ((T p)^[n] 0) := + hobserve _ _ + _ = dist ((T p)^[n] 0) (z p) := dist_comm _ _ + _ ≤ (1 / 2 : ℝ) ^ n * ρ := (hi n p).2 + _ < ε := hn + exact hu.continuous (Eventually.of_forall hiterate).frequently + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphContraction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphContraction.lean new file mode 100644 index 0000000000000000000000000000000000000000..35dbf21007ad4b1f743405d9c385c99e712340b8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphContraction.lean @@ -0,0 +1,131 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphForward +import Mathlib.Topology.MetricSpace.Contracting + +namespace OAI + +/-! # A Banach contraction for the forward/backward recurrence + +All inputs are explicit estimates on the two linear blocks and the two +nonlinear remainder maps. This is the recurrence lemma used by `nl:graph`, +not an assumption of the spectral splitting or the stable graph itself. +The mixed block is small after weighting the finite-dimensional coordinates. +-/ + +open Set Metric + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +noncomputable def stableGraphMap (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (hA : ∀ n, ‖A n‖ ≤ 1 / 8) (hB : ∀ n, ‖B n‖ ≤ 1 / 16) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) (w₀ : E) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) : (ℕ →ᵇ E) × (ℕ →ᵇ F) := + (stableForward A B (1 / 8) (1 / 16) (by norm_num) (by norm_num) hA hB + w₀ x.1 x.2 (N x), stableBackward R hR (H x)) + +omit [CompleteSpace E] in +theorem stableGraphMap_dist_le (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (hA : ∀ n, ‖A n‖ ≤ 1 / 8) (hB : ∀ n, ‖B n‖ ≤ 1 / 16) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) (w₀ : E) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (x y : (ℕ →ᵇ E) × (ℕ →ᵇ F)) + (hN : dist (N x) (N y) ≤ (1 / 16 : ℝ) * dist x y) + (hH : dist (H x) (H y) ≤ (1 / 16 : ℝ) * dist x y) : + dist (stableGraphMap A B hA hB R hR w₀ N H x) + (stableGraphMap A B hA hB R hR w₀ N H y) ≤ (1 / 2 : ℝ) * dist x y := by + have hfst : dist x.1 y.1 ≤ dist x y := le_max_left _ _ + have hsnd : dist x.2 y.2 ≤ dist x y := le_max_right _ _ + change max (dist _ _) (dist _ _) ≤ _ + apply max_le + · apply (stableForward_dist_le A B (1 / 8) (1 / 16) (by norm_num) (by norm_num) + hA hB w₀ x.1 y.1 x.2 y.2 (N x) (N y)).trans + linarith + · apply (stableBackward_dist_le R hR (H x) (H y)).trans + nlinarith [show 0 ≤ dist x y from dist_nonneg] + +omit [CompleteSpace E] in +theorem stableGraphMap_zero_bound (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (hA : ∀ n, ‖A n‖ ≤ 1 / 8) (hB : ∀ n, ‖B n‖ ≤ 1 / 16) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) (w₀ : E) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (ε : ℝ) (hε : 0 ≤ ε) (hN : ‖N 0‖ ≤ ε) (hH : ‖H 0‖ ≤ ε) : + ‖stableGraphMap A B hA hB R hR w₀ N H 0‖ ≤ ‖w₀‖ + 2 * ε := by + change max ‖stableForward A B (1 / 8) (1 / 16) (by norm_num) (by norm_num) + hA hB w₀ 0 0 (N 0)‖ + ‖stableBackward R hR (H 0)‖ ≤ _ + apply max_le + · apply (stableForward_norm_le A B (1 / 8) (1 / 16) (by norm_num) (by norm_num) + hA hB w₀ 0 0 (N 0)).trans + simp only [norm_zero, mul_zero, zero_add] + apply max_le <;> nlinarith [norm_nonneg w₀] + · exact (norm_stableBackward_le R hR (H 0)).trans (by nlinarith [norm_nonneg w₀]) + +theorem exists_stableGraph_fixedPoint + (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (hA : ∀ n, ‖A n‖ ≤ 1 / 8) (hB : ∀ n, ‖B n‖ ≤ 1 / 16) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) (w₀ : E) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (ρ ε : ℝ) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) + (hN : ∀ x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (N x) (N y) ≤ (1 / 16 : ℝ) * dist x y) + (hH : ∀ x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (H x) (H y) ≤ (1 / 16 : ℝ) * dist x y) + (hN0 : ‖N 0‖ ≤ ε) (hH0 : ‖H 0‖ ≤ ε) + (hsmall : ‖w₀‖ + 2 * ε ≤ ρ / 2) : + ∃ x : (ℕ →ᵇ E) × (ℕ →ᵇ F), ‖x‖ ≤ ρ ∧ + stableGraphMap A B hA hB R hR w₀ N H x = x ∧ + ‖x‖ ≤ 2 * (‖w₀‖ + 2 * ε) ∧ + (∀ y, ‖y‖ ≤ ρ → stableGraphMap A B hA hB R hR w₀ N H y = y → y = x) := by + let P := stableGraphMap A B hA hB R hR w₀ N H + have hzero : (0 : (ℕ →ᵇ E) × (ℕ →ᵇ F)) ∈ closedBall 0 ρ := by + simpa only [mem_closedBall, dist_self] using hρ + have hp0 : ‖P 0‖ ≤ ‖w₀‖ + 2 * ε := stableGraphMap_zero_bound A B hA hB R hR w₀ + N H ε hε hN0 hH0 + have hlip (x y : (ℕ →ᵇ E) × (ℕ →ᵇ F)) + (hx : x ∈ closedBall 0 ρ) (hy : y ∈ closedBall 0 ρ) : + dist (P x) (P y) ≤ (1 / 2 : ℝ) * dist x y := by + have hx' : ‖x‖ ≤ ρ := by simpa only [mem_closedBall, dist_zero_right] using hx + have hy' : ‖y‖ ≤ ρ := by simpa only [mem_closedBall, dist_zero_right] using hy + exact stableGraphMap_dist_le A B hA hB R hR w₀ N H x y + (hN x y hx' hy') (hH x y hx' hy') + have hmap : MapsTo P (closedBall 0 ρ) (closedBall 0 ρ) := by + intro x hx + have hx' : ‖x‖ ≤ ρ := by simpa only [mem_closedBall, dist_zero_right] using hx + have hh := hlip x 0 hx hzero + have ht := dist_triangle (P x) (P 0) 0 + simp only [mem_closedBall, dist_zero_right] at hh ht ⊢ + linarith + have hcontract : ContractingWith (1 / 2) + (hmap.restrict P (closedBall 0 ρ) (closedBall 0 ρ)) := by + refine ⟨by norm_num, LipschitzWith.of_dist_le_mul ?_⟩ + intro x y + exact hlip x.1 y.1 x.2 y.2 + obtain ⟨x, hx, hfix, _⟩ := hcontract.exists_fixedPoint' + isClosed_closedBall.isComplete hmap hzero (edist_ne_top _ _) + have hxnorm : ‖x‖ ≤ ρ := by simpa only [mem_closedBall, dist_zero_right] using hx + have hbound : ‖x‖ ≤ 2 * (‖w₀‖ + 2 * ε) := by + have hh := hlip x 0 hx hzero + have ht := dist_triangle (P x) (P 0) 0 + rw [hfix] at hh ht + simp only [dist_zero_right] at hh ht + linarith + refine ⟨x, hxnorm, hfix, hbound, ?_⟩ + intro y hy hyfix + change P y = y at hyfix + have hyball : y ∈ closedBall 0 ρ := by simpa only [mem_closedBall, dist_zero_right] using hy + have hh := hlip y x hyball hx + rw [hyfix, hfix] at hh + exact dist_eq_zero.mp (by linarith [show 0 ≤ dist y x from dist_nonneg]) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphCoordinateContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphCoordinateContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..b8fa4b123ff8beffe06aac20dcd30891b53e7a82 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphCoordinateContinuity.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphContinuity +import Mathlib.Analysis.Normed.Group.FunctionSeries + +namespace OAI + +/-! # Coordinate continuity of the graph iteration + +The backward tail is uniformly geometric. Therefore continuity of each +forcing coordinate suffices, without continuity in the sequence sup norm. +Together with `continuous_contraction_observation`, this supplies the +continuity mechanism stated in the manuscript's graph construction. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +theorem continuous_stableBackward_coordinate + {P E : Type*} [TopologicalSpace P] [NormedAddCommGroup E] [NormedSpace ℝ E] + [CompleteSpace E] (R : E →L[ℝ] E) (hR : ‖R‖ ≤ 1) + (f : P → (ℕ →ᵇ E)) (C : ℝ) (hf : ∀ n, Continuous (fun p => f p n)) + (hbound : ∀ p, ‖f p‖ ≤ C) (n : ℕ) : + Continuous (fun p => stableBackward R hR (f p) n) := by + have hc : ∀ j : ℕ, Continuous (fun p => + (1 / 2 : ℝ) ^ j • (R ^ (j + 1)) (f p (n + j))) := by + intro j + exact continuous_const.smul ((R ^ (j + 1)).continuous.comp (hf (n + j))) + have hs := (summable_geometric_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).mul_right C + have ht : Continuous (fun p => ∑' j : ℕ, + (1 / 2 : ℝ) ^ j • (R ^ (j + 1)) (f p (n + j))) := by + apply continuous_tsum hc hs + intro j p + exact (stableBackward_term_bound R hR (f p) n j).trans + (mul_le_mul_of_nonneg_left (hbound p) (by positivity)) + exact ht.neg + +theorem continuous_stableForward_coordinate + {P E F : Type*} [TopologicalSpace P] [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + (A : P → ℕ → E →L[ℝ] E) (B : P → ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ p n, ‖A p n‖ ≤ a) (hB : ∀ p n, ‖B p n‖ ≤ b) + (w₀ : P → E) (w : P → (ℕ →ᵇ E)) (u : P → (ℕ →ᵇ F)) (r : P → (ℕ →ᵇ E)) + (hzero : Continuous w₀) + (hAw : ∀ n, Continuous (fun p => A p n (w p n))) + (hBu : ∀ n, Continuous (fun p => B p n (u p n))) + (hr : ∀ n, Continuous (fun p => r p n)) (n : ℕ) : + Continuous (fun p => stableForward (A p) (B p) a b ha hb (hA p) (hB p) + (w₀ p) (w p) (u p) (r p) n) := by + cases n with + | zero => exact hzero + | succ n => exact continuous_const.smul (((hAw n).add (hBu n)).add (hr n)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphCoordinateZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphCoordinateZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..17f6949ffb34f9a724bb8844c1b3ceaa87d393e8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphCoordinateZero.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphParameterZero + +namespace OAI + +/-! # The parameter zero from estimates on the retained finite coordinates -/ + +open Metric + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem stableGraph_parameter_zero_of_coordinate_bound + (C : F ≃L[ℝ] F) (r ε B : ℝ) (hr : 0 ≤ r) + (f g : closedBall (0 : F) r → E) + (π : closedBall (0 : F) r → E →L[ℝ] F) + (ζ : closedBall (0 : F) r → F →L[ℝ] E) + (hf : Continuous f) (hg : Continuous g) + (hπ : Continuous (fun q : closedBall (0 : F) r × E => π q.1 q.2)) + (herror : ∀ p, ‖π p (f p) - C p.1‖ ≤ ε) + (hgbound : ∀ p, ‖π p (g p)‖ ≤ B) + (hstable : ∀ p, stableFrameProjection (ζ p) (π p) (g p) = + stableFrameProjection (ζ p) (π p) (f p)) + (hsmall : ‖C.symm.toContinuousLinearMap‖ * (ε + B) ≤ r) : + ∃ p, f p = g p := by + let Φ := fun p => π p (f p - g p) + have hc : Continuous Φ := hπ.comp (continuous_id.prodMk (hf.sub hg)) + have he (p : closedBall (0 : F) r) : + ‖C.symm (Φ p) - p.1‖ ≤ ‖C.symm.toContinuousLinearMap‖ * (ε + B) := by + calc + _ = ‖C.symm (Φ p - C p.1)‖ := by rw [map_sub, C.symm_apply_apply] + _ ≤ ‖C.symm.toContinuousLinearMap‖ * ‖Φ p - C p.1‖ := + C.symm.toContinuousLinearMap.le_opNorm _ + _ ≤ _ := by + apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) + have hid : Φ p - C p.1 = (π p (f p) - C p.1) - π p (g p) := by + simp only [Φ, map_sub] + abel + rw [hid] + exact (norm_sub_le _ _).trans (add_le_add (herror p) (hgbound p)) + obtain ⟨p, hp⟩ := zero_of_near_invertible_linear_map C r + (‖C.symm.toContinuousLinearMap‖ * (ε + B)) hr hsmall Φ hc he + have hcoord : π p (f p) = π p (g p) := by + apply sub_eq_zero.mp + simpa only [Φ, map_sub] using hp + refine ⟨p, ?_⟩ + calc + f p = stableFrameProjection (ζ p) (π p) (f p) + ζ p (π p (f p)) := + (stableFrameProjection_decomposition _ _ _).symm + _ = stableFrameProjection (ζ p) (π p) (g p) + ζ p (π p (g p)) := by + rw [hstable p, hcoord] + _ = g p := stableFrameProjection_decomposition _ _ _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphEndpoint.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphEndpoint.lean new file mode 100644 index 0000000000000000000000000000000000000000..098a7eadd19519f6b11f002662991a11f4b47bf8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphEndpoint.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphProjectedRecurrence + +namespace OAI + +/-! # From the graph contraction to the original endpoint sequence + +The source identities below are the exact projected nonlinear remainder and +coordinate defect. They permit the abstract contraction to reconstruct the +original endpoint dynamics, with a prescribed stable initial coordinate. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +theorem exists_stableGraph_endpoint_sequence + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D R : F →L[ℝ] F) + (hR : ‖R‖ ≤ 1) (hinv : ∀ z, D (R z) = z) + (hπζ : ∀ n v, π n (ζ n v) = v) + (hA : ∀ n, ‖stableProjectedBlock (ζ n) (ζ (n + 1)) + (π n) (π (n + 1)) (A n)‖ ≤ 1 / 8) + (hB : ∀ n, ‖stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n)‖ ≤ 1 / 16) + (h : ℕ → E → E) (w₀ : E) (hw₀ : π 0 w₀ = 0) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (ρ ε C : ℝ) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) (hC : 0 ≤ C) + (hζ : ∀ n, ‖ζ n‖ ≤ C) + (hN : ∀ x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (N x) (N y) ≤ (1 / 16 : ℝ) * dist x y) + (hH : ∀ x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (H x) (H y) ≤ (1 / 16 : ℝ) * dist x y) + (hN0 : ‖N 0‖ ≤ ε) (hH0 : ‖H 0‖ ≤ ε) + (hsmall : ‖w₀‖ + 2 * ε ≤ ρ / 2) + (hNs : ∀ x, ‖x‖ ≤ ρ → ∀ n, stableSequenceValue (N x) n = + stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n))) + (hHs : ∀ x, ‖x‖ ≤ ρ → ∀ n, stableSequenceValue (H x) n = + ((π (n + 1)).comp (A n) - D.comp (π n)) + (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n) + + π (n + 1) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n))) : + ∃ z : ℕ → E, + stableFrameProjection (ζ 0) (π 0) (z 0) = w₀ ∧ + (∀ n, z (n + 1) = A n (z n) + h n (z n)) ∧ + (∀ n, ‖z n‖ ≤ (2 * (‖w₀‖ + 2 * ε) * (1 + C)) * (1 / 2 : ℝ) ^ n) := by + let A' := fun n => stableProjectedBlock (ζ n) (ζ (n + 1)) (π n) (π (n + 1)) (A n) + let B' := fun n => stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n) + obtain ⟨x, hx, hfix, hbound, _⟩ := exists_stableGraph_fixedPoint + A' B' hA hB R hR w₀ N H ρ ε hρ hε hN hH hN0 hH0 hsmall + have hforward : stableForward A' B' (1 / 8) (1 / 16) (by norm_num) (by norm_num) + hA hB w₀ x.1 x.2 (N x) = x.1 := congrArg Prod.fst hfix + have hback : stableBackward R hR (H x) = x.2 := congrArg Prod.snd hfix + have hwinit : stableSequenceValue x.1 0 = w₀ := by + rw [stableSequenceValue_zero, ← hforward, stableForward_zero] + have hw (n : ℕ) : stableSequenceValue x.1 (n + 1) = + stableProjectedBlock (ζ n) (ζ (n + 1)) (π n) (π (n + 1)) (A n) + (stableSequenceValue x.1 n) + + stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n) + (stableSequenceValue x.2 n) + + stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n)) := by + simpa only [A', B', hNs x hx n] using stableForward_unweighted_recurrence + A' B' (1 / 8) (1 / 16) (by norm_num) (by norm_num) hA hB + w₀ x.1 x.2 (N x) hforward n + have hu (n : ℕ) : stableSequenceValue x.2 (n + 1) = + D (stableSequenceValue x.2 n) + + ((π (n + 1)).comp (A n) - D.comp (π n)) + (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n) + + π (n + 1) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n)) := by + have hh := stableBackward_unweighted_recurrence R D hR hinv (H x) n + rw [hback, hHs x hx n] at hh + simpa only [add_assoc] using hh + have hk₀ : π 0 (stableSequenceValue x.1 0) = 0 := by rw [hwinit]; exact hw₀ + obtain ⟨hker, hrec⟩ := stableProjected_reconstruct_recurrence ζ π A D h + (stableSequenceValue x.1) (stableSequenceValue x.2) hπζ hk₀ hw hu + refine ⟨stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2), ?_, hrec, ?_⟩ + · change (stableSequenceValue x.1 0 + ζ 0 (stableSequenceValue x.2 0)) - + ζ 0 (π 0 (stableSequenceValue x.1 0 + ζ 0 (stableSequenceValue x.2 0))) = w₀ + rw [map_add, hker 0, hπζ 0, zero_add, add_sub_cancel_right, hwinit] + · intro n + have hx₁ : ‖x.1‖ ≤ 2 * (‖w₀‖ + 2 * ε) := (norm_fst_le x).trans hbound + have hx₂ : ‖x.2‖ ≤ 2 * (‖w₀‖ + 2 * ε) := (norm_snd_le x).trans hbound + apply (stableFrameState_weighted_norm_le ζ x.1 x.2 C hζ n).trans + calc + _ ≤ (1 / 2 : ℝ) ^ n * + (2 * (‖w₀‖ + 2 * ε) + C * (2 * (‖w₀‖ + 2 * ε))) := + mul_le_mul_of_nonneg_left + (add_le_add hx₁ (mul_le_mul_of_nonneg_left hx₂ hC)) (by positivity) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphForward.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphForward.lean new file mode 100644 index 0000000000000000000000000000000000000000..f41989a3db8da67d0a62d43eb15a53ce4d520e9e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphForward.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphBackward + +namespace OAI + +/-! # The forward part of the weighted graph map + +In weighted coordinates the stable recurrence has a factor two. Rescaling +the unstable coordinates by a fixed constant makes the mixed block small. +The resulting estimates use the product sup norm, equivalent to the sum +norm in the manuscript and complete on the same weighted sequences. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem stableForward_term_bound (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (r : ℕ →ᵇ E) (n : ℕ) : + ‖(2 : ℝ) • (A n (w n) + B n (u n) + r n)‖ ≤ + 2 * (a * ‖w‖ + b * ‖u‖ + ‖r‖) := by + rw [norm_smul, Real.norm_eq_abs, abs_of_pos (by norm_num : (0 : ℝ) < 2)] + apply mul_le_mul_of_nonneg_left _ (by norm_num) + calc + ‖A n (w n) + B n (u n) + r n‖ ≤ ‖A n (w n)‖ + ‖B n (u n)‖ + ‖r n‖ := + (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) + _ ≤ a * ‖w‖ + b * ‖u‖ + ‖r‖ := by + apply add_le_add _ (r.norm_coe_le_norm n) + apply add_le_add + · exact ((A n).le_opNorm _).trans + (mul_le_mul (hA n) (w.norm_coe_le_norm n) (norm_nonneg _) ha) + · exact ((B n).le_opNorm _).trans + (mul_le_mul (hB n) (u.norm_coe_le_norm n) (norm_nonneg _) hb) + +noncomputable def stableForward (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w₀ : E) (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (r : ℕ →ᵇ E) : ℕ →ᵇ E := + BoundedContinuousFunction.ofNormedAddCommGroupDiscrete + (fun n => match n with + | 0 => w₀ + | j + 1 => (2 : ℝ) • (A j (w j) + B j (u j) + r j)) + (max ‖w₀‖ (2 * (a * ‖w‖ + b * ‖u‖ + ‖r‖))) + (fun n => by + cases n with + | zero => exact le_max_left _ _ + | succ j => + exact (stableForward_term_bound A B a b ha hb hA hB w u r j).trans (le_max_right _ _)) + +@[simp] theorem stableForward_zero (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w₀ : E) (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (r : ℕ →ᵇ E) : + stableForward A B a b ha hb hA hB w₀ w u r 0 = w₀ := rfl + +@[simp] theorem stableForward_succ (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w₀ : E) (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (r : ℕ →ᵇ E) (n : ℕ) : + stableForward A B a b ha hb hA hB w₀ w u r (n + 1) = + (2 : ℝ) • (A n (w n) + B n (u n) + r n) := rfl + +theorem stableForward_norm_le (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w₀ : E) (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (r : ℕ →ᵇ E) : + ‖stableForward A B a b ha hb hA hB w₀ w u r‖ ≤ + max ‖w₀‖ (2 * (a * ‖w‖ + b * ‖u‖ + ‖r‖)) := by + apply (BoundedContinuousFunction.norm_le (le_max_of_le_left (norm_nonneg _))).2 + intro n + cases n with + | zero => exact le_max_left _ _ + | succ j => + exact (stableForward_term_bound A B a b ha hb hA hB w u r j).trans (le_max_right _ _) + +theorem stableForward_sub (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w₀ : E) (w w' : ℕ →ᵇ E) (u u' : ℕ →ᵇ F) (r r' : ℕ →ᵇ E) : + stableForward A B a b ha hb hA hB w₀ w u r - + stableForward A B a b ha hb hA hB w₀ w' u' r' = + stableForward A B a b ha hb hA hB 0 (w - w') (u - u') (r - r') := by + apply BoundedContinuousFunction.ext + intro n + cases n with + | zero => simp only [BoundedContinuousFunction.sub_apply, stableForward_zero, sub_self] + | succ j => + simp only [BoundedContinuousFunction.sub_apply, stableForward_succ, map_sub] + module + +theorem stableForward_dist_le (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w₀ : E) (w w' : ℕ →ᵇ E) (u u' : ℕ →ᵇ F) (r r' : ℕ →ᵇ E) : + dist (stableForward A B a b ha hb hA hB w₀ w u r) + (stableForward A B a b ha hb hA hB w₀ w' u' r') ≤ + 2 * (a * dist w w' + b * dist u u' + dist r r') := by + simp only [dist_eq_norm, stableForward_sub] + apply (stableForward_norm_le A B a b ha hb hA hB 0 (w - w') (u - u') (r - r')).trans + rw [norm_zero, max_eq_right (by positivity)] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphFrameBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphFrameBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..8073a6649937c4f8c746fc86a8b30ca5e33afeeb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphFrameBounds.lean @@ -0,0 +1,144 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphReconstruction + +namespace OAI + +/-! # Bounded frame normalization for the concrete torus blocks + +The stable estimate in the manuscript is only on the coordinate kernel. +Precomposing with the bounded stable projection gives the whole-space +block used by the sequence contraction. Scaling the finite-dimensional +frame makes the mixed block small without changing that projection. +-/ + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +noncomputable def stableNormalizedFrame (K : ℝ) (ζ : F →L[ℝ] E) : F →L[ℝ] E := + K⁻¹ • ζ + +noncomputable def stableNormalizedCoordinate (K : ℝ) (π : E →L[ℝ] F) : E →L[ℝ] F := + K • π + +theorem stableNormalized_rightInverse (K : ℝ) (hK : K ≠ 0) + (ζ : F →L[ℝ] E) (π : E →L[ℝ] F) (hπζ : ∀ v, π (ζ v) = v) (v : F) : + stableNormalizedCoordinate K π (stableNormalizedFrame K ζ v) = v := by + simp only [stableNormalizedCoordinate, stableNormalizedFrame, smul_apply, + map_smul, hπζ, smul_smul, inv_mul_cancel₀ hK, one_smul] + +theorem stableNormalized_projection (K : ℝ) (hK : K ≠ 0) + (ζ : F →L[ℝ] E) (π : E →L[ℝ] F) : + stableFrameProjection (stableNormalizedFrame K ζ) (stableNormalizedCoordinate K π) = + stableFrameProjection ζ π := by + apply ContinuousLinearMap.ext + intro v + simp only [stableFrameProjection, sub_apply, ContinuousLinearMap.id_apply, + ContinuousLinearMap.comp_apply, stableNormalizedFrame, stableNormalizedCoordinate, + smul_apply, map_smul, smul_smul, mul_inv_cancel₀ hK, one_smul] + +theorem stableNormalizedFrame_norm_le (K C : ℝ) (hK : 0 < K) + (ζ : F →L[ℝ] E) (hζ : ‖ζ‖ ≤ C) : ‖stableNormalizedFrame K ζ‖ ≤ C / K := by + rw [stableNormalizedFrame, norm_smul, Real.norm_eq_abs, + abs_of_pos (inv_pos.mpr hK), div_eq_mul_inv] + exact (mul_le_mul_of_nonneg_left hζ (inv_pos.mpr hK).le).trans_eq (mul_comm _ _) + +theorem stableNormalizedCoordinate_norm_le (K C : ℝ) (hK : 0 ≤ K) + (π : E →L[ℝ] F) (hπ : ‖π‖ ≤ C) : ‖stableNormalizedCoordinate K π‖ ≤ K * C := by + rw [stableNormalizedCoordinate, norm_smul, Real.norm_eq_abs, abs_of_nonneg hK] + exact mul_le_mul_of_nonneg_left hπ hK + +theorem stableNormalized_defect (K : ℝ) (π₀ π₁ : E →L[ℝ] F) + (A : E →L[ℝ] E) (D : F →L[ℝ] F) : + (stableNormalizedCoordinate K π₁).comp A - D.comp (stableNormalizedCoordinate K π₀) = + K • (π₁.comp A - D.comp π₀) := by + apply ContinuousLinearMap.ext + intro v + simp only [stableNormalizedCoordinate, sub_apply, smul_apply, + ContinuousLinearMap.comp_apply, map_smul, smul_sub] + +theorem stableNormalized_defect_norm_le (K τ : ℝ) (hK : 0 ≤ K) + (π₀ π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) (D : F →L[ℝ] F) + (he : ‖π₁.comp A - D.comp π₀‖ ≤ τ) : + ‖(stableNormalizedCoordinate K π₁).comp A - + D.comp (stableNormalizedCoordinate K π₀)‖ ≤ K * τ := by + rw [stableNormalized_defect, norm_smul, Real.norm_eq_abs, abs_of_nonneg hK] + exact mul_le_mul_of_nonneg_left he hK + +noncomputable def stableProjectedBlock (ζ₀ ζ₁ : F →L[ℝ] E) + (π₀ π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) : E →L[ℝ] E := + (stableFrameProjection ζ₁ π₁).comp (A.comp (stableFrameProjection ζ₀ π₀)) + +noncomputable def stableMixedBlock (ζ₀ ζ₁ : F →L[ℝ] E) + (π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) : F →L[ℝ] E := + (stableFrameProjection ζ₁ π₁).comp (A.comp ζ₀) + +theorem stableFrameProjection_eq_self (ζ : F →L[ℝ] E) (π : E →L[ℝ] F) + (v : E) (hv : π v = 0) : stableFrameProjection ζ π v = v := by + change v - ζ (π v) = v + rw [hv, map_zero, sub_zero] + +theorem stableProjectedBlock_norm_le (ζ₀ ζ₁ : F →L[ℝ] E) + (π₀ π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) + (c C : ℝ) (hc : 0 ≤ c) (hC : 0 ≤ C) + (hπζ : ∀ v, π₀ (ζ₀ v) = v) (hP : ‖stableFrameProjection ζ₀ π₀‖ ≤ C) + (hstable : ∀ v, π₀ v = 0 → ‖stableFrameProjection ζ₁ π₁ (A v)‖ ≤ c * ‖v‖) : + ‖stableProjectedBlock ζ₀ ζ₁ π₀ π₁ A‖ ≤ c * C := by + apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg hc hC) + intro v + calc + _ ≤ c * ‖stableFrameProjection ζ₀ π₀ v‖ := + hstable _ (stableFrameProjection_coordinate ζ₀ π₀ hπζ v) + _ ≤ c * (C * ‖v‖) := mul_le_mul_of_nonneg_left + (((stableFrameProjection ζ₀ π₀).le_opNorm v).trans + (mul_le_mul_of_nonneg_right hP (norm_nonneg v))) hc + _ = (c * C) * ‖v‖ := by ring + +theorem stableProjectedBlock_norm_le_eighth (ζ₀ ζ₁ : F →L[ℝ] E) + (π₀ π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) + (C : ℝ) (hC : 0 < C) (hπζ : ∀ v, π₀ (ζ₀ v) = v) + (hP : ‖stableFrameProjection ζ₀ π₀‖ ≤ C) + (hstable : ∀ v, π₀ v = 0 → + ‖stableFrameProjection ζ₁ π₁ (A v)‖ ≤ (1 / (8 * C)) * ‖v‖) : + ‖stableProjectedBlock ζ₀ ζ₁ π₀ π₁ A‖ ≤ 1 / 8 := by + apply (stableProjectedBlock_norm_le ζ₀ ζ₁ π₀ π₁ A (1 / (8 * C)) C + (by positivity) hC.le hπζ hP hstable).trans_eq + field_simp [hC.ne'] + +theorem stableMixedBlock_norm_le (ζ₀ ζ₁ : F →L[ℝ] E) + (π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) + (Cₚ Cₐ Cζ : ℝ) (hCₚ : 0 ≤ Cₚ) (hCₐ : 0 ≤ Cₐ) (hCζ : 0 ≤ Cζ) + (hP : ‖stableFrameProjection ζ₁ π₁‖ ≤ Cₚ) (hA : ‖A‖ ≤ Cₐ) (hζ : ‖ζ₀‖ ≤ Cζ) : + ‖stableMixedBlock ζ₀ ζ₁ π₁ A‖ ≤ Cₚ * Cₐ * Cζ := by + apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (mul_nonneg hCₚ hCₐ) hCζ) + intro v + calc + _ ≤ ‖stableFrameProjection ζ₁ π₁‖ * ‖A (ζ₀ v)‖ := + (stableFrameProjection ζ₁ π₁).le_opNorm _ + _ ≤ Cₚ * (Cₐ * (Cζ * ‖v‖)) := by + apply mul_le_mul hP _ (norm_nonneg _) hCₚ + exact (A.le_opNorm _).trans (mul_le_mul hA + ((ζ₀.le_opNorm v).trans (mul_le_mul_of_nonneg_right hζ (norm_nonneg v))) + (norm_nonneg _) hCₐ) + _ = (Cₚ * Cₐ * Cζ) * ‖v‖ := by ring + +theorem stableNormalized_mixed_norm_le (K Cₚ Cₐ Cζ : ℝ) + (hK : 0 < K) (hCₚ : 0 ≤ Cₚ) (hCₐ : 0 ≤ Cₐ) (hCζ : 0 ≤ Cζ) + (hlarge : 16 * (Cₚ * Cₐ * Cζ) ≤ K) + (ζ₀ ζ₁ : F →L[ℝ] E) (π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) + (hP : ‖stableFrameProjection ζ₁ π₁‖ ≤ Cₚ) (hA : ‖A‖ ≤ Cₐ) (hζ : ‖ζ₀‖ ≤ Cζ) : + ‖stableMixedBlock (stableNormalizedFrame K ζ₀) (stableNormalizedFrame K ζ₁) + (stableNormalizedCoordinate K π₁) A‖ ≤ 1 / 16 := by + have hP' : ‖stableFrameProjection (stableNormalizedFrame K ζ₁) + (stableNormalizedCoordinate K π₁)‖ ≤ Cₚ := by + rw [stableNormalized_projection K hK.ne'] + exact hP + apply (stableMixedBlock_norm_le _ _ _ _ Cₚ Cₐ (Cζ / K) hCₚ hCₐ + (div_nonneg hCζ hK.le) hP' hA (stableNormalizedFrame_norm_le K Cζ hK ζ₀ hζ)).trans + rw [← mul_div_assoc] + apply (div_le_iff₀ hK).mpr + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphParameterSelection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphParameterSelection.lean new file mode 100644 index 0000000000000000000000000000000000000000..d68430a7ac1ea2fbcf584e99bf10e76eafa5d075 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphParameterSelection.lean @@ -0,0 +1,128 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphCoordinateContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphSelection + +namespace OAI + +/-! # Continuous parameter selection for the contracting stable graph + +Only strong continuity of the linear blocks and coordinate continuity of the +sources are used. The backward inverse is fixed while the starting radius +and initial data vary. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {P E F : Type*} [TopologicalSpace P] + [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +local notation "X" => (ℕ →ᵇ E) × (ℕ →ᵇ F) + +omit [NormedSpace ℝ E] [CompleteSpace E] [NormedSpace ℝ F] [CompleteSpace F] in +theorem stableGraph_source_norm_le (N : X → (ℕ →ᵇ E)) (ρ ε : ℝ) + (hρ : 0 ≤ ρ) (hN : ∀ x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (N x) (N y) ≤ (1 / 16 : ℝ) * dist x y) + (hN0 : ‖N 0‖ ≤ ε) (x : X) (hx : ‖x‖ ≤ ρ) : + ‖N x‖ ≤ ρ / 16 + ε := by + have hh := hN x 0 hx (by simpa using hρ) + have ht := norm_add_le (N x - N 0) (N 0) + rw [sub_add_cancel] at ht + rw [dist_zero_right, dist_eq_norm] at hh + linarith + +theorem exists_continuous_stableGraph_selection + (A : P → ℕ → E →L[ℝ] E) (B : P → ℕ → F →L[ℝ] E) + (hA : ∀ p n, ‖A p n‖ ≤ 1 / 8) (hB : ∀ p n, ‖B p n‖ ≤ 1 / 16) + (hAc : ∀ n, Continuous (fun z : P × E => A z.1 n z.2)) + (hBc : ∀ n, Continuous (fun z : P × F => B z.1 n z.2)) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) (w : P → E) (hw : Continuous w) + (N : P → X → (ℕ →ᵇ E)) (H : P → X → (ℕ →ᵇ F)) + (ρ ε : ℝ) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) + (hN : ∀ p x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (N p x) (N p y) ≤ (1 / 16 : ℝ) * dist x y) + (hH : ∀ p x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (H p x) (H p y) ≤ (1 / 16 : ℝ) * dist x y) + (hN0 : ∀ p, ‖N p 0‖ ≤ ε) (hH0 : ∀ p, ‖H p 0‖ ≤ ε) + (hNc : ∀ x : P → X, (∀ p, ‖x p‖ ≤ ρ) → + (∀ n, Continuous (fun p => (x p).1 n)) → + (∀ n, Continuous (fun p => (x p).2 n)) → + ∀ n, Continuous (fun p => N p (x p) n)) + (hHc : ∀ x : P → X, (∀ p, ‖x p‖ ≤ ρ) → + (∀ n, Continuous (fun p => (x p).1 n)) → + (∀ n, Continuous (fun p => (x p).2 n)) → + ∀ n, Continuous (fun p => H p (x p) n)) + (hsmall : ∀ p, ‖w p‖ + 2 * ε ≤ ρ / 2) : + ∃ z : P → X, + (∀ p, stableGraphMap (A p) (B p) (hA p) (hB p) R hR (w p) (N p) (H p) (z p) = z p) ∧ + (∀ p, ‖z p‖ ≤ ρ) ∧ + (∀ p, ‖z p‖ ≤ 2 * (‖w p‖ + 2 * ε)) ∧ + (∀ p, (z p).1 0 = w p) ∧ + (∀ n, Continuous (fun p => ((z p).1 n, (z p).2 n))) := by + classical + choose z hz hfix hbound _huniq using fun p => exists_stableGraph_fixedPoint + (A p) (B p) (hA p) (hB p) R hR (w p) (N p) (H p) ρ ε hρ hε + (hN p) (hH p) (hN0 p) (hH0 p) (hsmall p) + let T := fun p => stableGraphMap (A p) (B p) (hA p) (hB p) R hR (w p) (N p) (H p) + have hcontract : ∀ p x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (T p x) (T p y) ≤ (1 / 2 : ℝ) * dist x y := by + intro p x y hx hy + exact stableGraphMap_dist_le (A p) (B p) (hA p) (hB p) R hR (w p) + (N p) (H p) x y (hN p x y hx hy) (hH p x y hx hy) + have hmap : ∀ p x, ‖x‖ ≤ ρ → ‖T p x‖ ≤ ρ := by + intro p x hx + have ht := norm_add_le (T p x - T p 0) (T p 0) + rw [sub_add_cancel] at ht + have hc := hcontract p x 0 hx (by simpa using hρ) + rw [dist_zero_right, dist_eq_norm] at hc + have hzero := stableGraphMap_zero_bound (A p) (B p) (hA p) (hB p) R hR + (w p) (N p) (H p) ε hε (hN0 p) (hH0 p) + change ‖T p 0‖ ≤ _ at hzero + linarith [hsmall p] + have hi : ∀ j : ℕ, + (∀ p, ‖(T p)^[j] 0‖ ≤ ρ) ∧ + (∀ n, Continuous (fun p => ((T p)^[j] 0).1 n)) ∧ + (∀ n, Continuous (fun p => ((T p)^[j] 0).2 n)) := by + intro j + induction j with + | zero => + simp only [Function.iterate_zero_apply] + exact ⟨fun _ => by simpa using hρ, fun _ => continuous_const, fun _ => continuous_const⟩ + | succ j ih => + refine ⟨fun p => ?_, fun n => ?_, fun n => ?_⟩ + · rw [Function.iterate_succ_apply'] + exact hmap p _ (ih.1 p) + · simp only [Function.iterate_succ_apply'] + exact continuous_stableForward_coordinate A B (1 / 8) (1 / 16) + (by norm_num) (by norm_num) hA hB w + (fun p => ((T p)^[j] 0).1) (fun p => ((T p)^[j] 0).2) + (fun p => N p ((T p)^[j] 0)) hw + (fun n => (hAc n).comp (continuous_id.prodMk (ih.2.1 n))) + (fun n => (hBc n).comp (continuous_id.prodMk (ih.2.2 n))) + (hNc _ ih.1 ih.2.1 ih.2.2) n + · simp only [Function.iterate_succ_apply'] + exact continuous_stableBackward_coordinate R hR (fun p => H p ((T p)^[j] 0)) + (ρ / 16 + ε) (hHc _ ih.1 ih.2.1 ih.2.2) + (fun p => by + have hh := hH p ((T p)^[j] 0) 0 (ih.1 p) (by simpa using hρ) + have ht := norm_add_le (H p ((T p)^[j] 0) - H p 0) (H p 0) + rw [sub_add_cancel] at ht + rw [dist_zero_right, dist_eq_norm] at hh + linarith [ih.1 p, hH0 p]) n + refine ⟨z, hfix, hz, hbound, ?_, fun n => ?_⟩ + · intro p + have h := congrArg (fun x : X => x.1 0) (hfix p) + exact h.symm + · apply continuous_contraction_observation T z (fun x : X => (x.1 n, x.2 n)) ρ hρ hmap + hcontract hfix hz + · intro x y + exact max_le + ((BoundedContinuousFunction.dist_coe_le_dist n).trans (le_max_left _ _)) + ((BoundedContinuousFunction.dist_coe_le_dist n).trans (le_max_right _ _)) + · intro j + exact (hi j).2.1 n |>.prodMk ((hi j).2.2 n) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphParameterZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphParameterZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..9b142f7a3f7edc1d3767ec3ec5363009710a0ce3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphParameterZero.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ParameterOpenness +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphReconstruction + +namespace OAI + +/-! # The finite-dimensional zero placing physical data on a stable graph -/ + +open Metric + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] + +theorem stableGraph_parameter_zero + (C : F ≃L[ℝ] F) (r M ε B : ℝ) (hr : 0 ≤ r) (hM : 0 ≤ M) + (f g : closedBall (0 : F) r → E) + (π : closedBall (0 : F) r → E →L[ℝ] F) + (ζ : closedBall (0 : F) r → F →L[ℝ] E) + (hf : Continuous f) (hg : Continuous g) + (hπ : Continuous (fun q : closedBall (0 : F) r × E => π q.1 q.2)) + (hπζ : ∀ p v, π p (ζ p v) = v) + (hπbound : ∀ p, ‖π p‖ ≤ M) + (herror : ∀ p, ‖f p - ζ p (C p.1)‖ ≤ ε) + (hgbound : ∀ p, ‖g p‖ ≤ B) + (hstable : ∀ p, stableFrameProjection (ζ p) (π p) (g p) = + stableFrameProjection (ζ p) (π p) (f p)) + (hsmall : ‖C.symm.toContinuousLinearMap‖ * M * (ε + B) ≤ r) : + ∃ p, f p = g p := by + let Φ := fun p => π p (f p - g p) + have hc : Continuous Φ := hπ.comp (continuous_id.prodMk (hf.sub hg)) + have he (p : closedBall (0 : F) r) : + ‖C.symm (Φ p) - p.1‖ ≤ ‖C.symm.toContinuousLinearMap‖ * M * (ε + B) := by + have hlin : Φ p - C p.1 = π p ((f p - ζ p (C p.1)) - g p) := by + simp only [Φ, map_sub, hπζ] + abel + calc + _ = ‖C.symm (Φ p - C p.1)‖ := by + rw [map_sub, C.symm_apply_apply] + _ ≤ ‖C.symm.toContinuousLinearMap‖ * ‖Φ p - C p.1‖ := + C.symm.toContinuousLinearMap.le_opNorm _ + _ ≤ ‖C.symm.toContinuousLinearMap‖ * (M * (ε + B)) := by + apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) + rw [hlin] + apply ((π p).le_opNorm _).trans + apply (mul_le_mul_of_nonneg_right (hπbound p) (norm_nonneg _)).trans + exact mul_le_mul_of_nonneg_left + ((norm_sub_le _ _).trans (add_le_add (herror p) (hgbound p))) hM + _ = _ := by ring + obtain ⟨p, hp⟩ := zero_of_near_invertible_linear_map C r + (‖C.symm.toContinuousLinearMap‖ * M * (ε + B)) hr hsmall Φ hc he + have hcoord : π p (f p) = π p (g p) := by + have hh : π p (f p) - π p (g p) = 0 := by simpa only [Φ, map_sub] using hp + exact sub_eq_zero.mp hh + refine ⟨p, ?_⟩ + calc + f p = stableFrameProjection (ζ p) (π p) (f p) + ζ p (π p (f p)) := + (stableFrameProjection_decomposition _ _ _).symm + _ = stableFrameProjection (ζ p) (π p) (g p) + ζ p (π p (g p)) := by + rw [hstable p, hcoord] + _ = g p := stableFrameProjection_decomposition _ _ _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphPointSources.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphPointSources.lean new file mode 100644 index 0000000000000000000000000000000000000000..439352bf9b0cc5b3f593c2bc5594266af5d9db5c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphPointSources.lean @@ -0,0 +1,140 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphSourceIdentity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphFrameBounds + +namespace OAI + +/-! # The actual projected point sources on weighted pair sequences + +These definitions package the nonlinear remainder and the linear coordinate +commutation defect. The extension is only outside the fixed sequence ball; +inside that ball their values are exactly the endpoint sources. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F W : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + [NormedAddCommGroup W] [NormedSpace ℝ W] + +noncomputable def stableWeightedPairSource (f : ℕ → E × F → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) + (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) : ℕ →ᵇ W := + stableWeightedSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero (stablePairSequence x) + +theorem stableWeightedPairSource_dist_le (f : ℕ → E × F → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) + (x y : (ℕ →ᵇ E) × (ℕ →ᵇ F)) (hx : ‖x‖ ≤ ρ) (hy : ‖y‖ ≤ ρ) : + dist (stableWeightedPairSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero x) + (stableWeightedPairSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero y) ≤ η * dist x y := by + exact (stableWeightedSource_dist_le f ρ η ε r hρ hη hε hr hrsmall hlip hzero + _ _ ((norm_stablePairSequence_le x).trans hx) ((norm_stablePairSequence_le y).trans hy)).trans + (mul_le_mul_of_nonneg_left (stablePairSequence_dist_le x y) hη) + +theorem stableWeightedPairSource_zero_bound (f : ℕ → E × F → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) : + ‖stableWeightedPairSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero 0‖ ≤ ε := by + have hz : ‖stablePairSequence (0 : (ℕ →ᵇ E) × (ℕ →ᵇ F))‖ = 0 := + le_antisymm (by simpa using norm_stablePairSequence_le (0 : (ℕ →ᵇ E) × (ℕ →ᵇ F))) + (norm_nonneg _) + have hh := stableWeightedSource_norm_le f ρ η ε r hρ hη hε hr hrsmall hlip hzero + (stablePairSequence (0 : (ℕ →ᵇ E) × (ℕ →ᵇ F))) (by rw [hz]; exact hρ) + simpa only [stableWeightedPairSource, hz, mul_zero, zero_add] using hh + +theorem stableWeightedPairSource_value (f : ℕ → E × F → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) + (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) (hx : ‖x‖ ≤ ρ) (n : ℕ) : + stableSequenceValue + (stableWeightedPairSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero x) n = + f n (stableSequenceValue x.1 n, stableSequenceValue x.2 n) := by + simpa only [stableWeightedPairSource, stablePairSequence_value] using stableWeightedSource_value + f ρ η ε r hρ hη hε hr hrsmall hlip hzero (stablePairSequence x) + ((norm_stablePairSequence_le x).trans hx) n + +noncomputable def stableFrameForwardSource + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) (h : ℕ → E → E) + (n : ℕ) (v : E × F) : E := + stableFrameProjection (ζ (n + 1)) (π (n + 1)) (h n (stableFrameAssembly (ζ n) v)) + +noncomputable def stableFrameCoordinateSource + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D : F →L[ℝ] F) (h : ℕ → E → E) + (n : ℕ) (v : E × F) : F := + ((π (n + 1)).comp (A n) - D.comp (π n)) (stableFrameAssembly (ζ n) v) + + π (n + 1) (h n (stableFrameAssembly (ζ n) v)) + +theorem stableFrameForwardSource_value + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) (h : ℕ → E → E) + (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) (n : ℕ) : + stableFrameForwardSource ζ π h n (stableSequenceValue x.1 n, stableSequenceValue x.2 n) = + stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n)) := rfl + +theorem stableFrameCoordinateSource_value + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D : F →L[ℝ] F) (h : ℕ → E → E) + (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) (n : ℕ) : + stableFrameCoordinateSource ζ π A D h n + (stableSequenceValue x.1 n, stableSequenceValue x.2 n) = + ((π (n + 1)).comp (A n) - D.comp (π n)) + (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n) + + π (n + 1) + (h n (stableFrameState ζ (stableSequenceValue x.1) (stableSequenceValue x.2) n)) := rfl + +theorem stableFramePointSources_lipschitz + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D : F →L[ℝ] F) (h : ℕ → E → E) + (Cζ CP Cπ τ κ ρ R : ℝ) + (hCζ : 0 ≤ Cζ) (hCP : 0 ≤ CP) (hCπ : 0 ≤ Cπ) + (hτ : 0 ≤ τ) (hκ : 0 ≤ κ) + (hζ : ∀ n, ‖ζ n‖ ≤ Cζ) + (hP : ∀ n, ‖stableFrameProjection (ζ (n + 1)) (π (n + 1))‖ ≤ CP) + (hπ : ∀ n, ‖π (n + 1)‖ ≤ Cπ) + (he : ∀ n, ‖(π (n + 1)).comp (A n) - D.comp (π n)‖ ≤ τ) + (hball : (1 + Cζ) * ρ ≤ R) + (hh : ∀ n v w, ‖v‖ ≤ R → ‖w‖ ≤ R → ‖h n v - h n w‖ ≤ κ * ‖v - w‖) + (n : ℕ) (v w : E × F) (hv : ‖v‖ ≤ ρ) (hw : ‖w‖ ≤ ρ) : + ‖stableFrameForwardSource ζ π h n v - stableFrameForwardSource ζ π h n w‖ ≤ + CP * κ * (1 + Cζ) * ‖v - w‖ ∧ + ‖stableFrameCoordinateSource ζ π A D h n v - + stableFrameCoordinateSource ζ π A D h n w‖ ≤ + (τ + Cπ * κ) * (1 + Cζ) * ‖v - w‖ := by + simpa only [stableFrameForwardSource, stableFrameCoordinateSource, one_smul, one_mul] + using stableGraph_split_source_lipschitz (stableFrameAssembly (ζ n)) + (stableFrameProjection (ζ (n + 1)) (π (n + 1))) (π (n + 1)) + ((π (n + 1)).comp (A n) - D.comp (π n)) (h n) + (1 + Cζ) CP Cπ τ κ 1 ρ R (by positivity) hCP hCπ hτ hκ (by norm_num) + (stableFrameAssembly_norm_le (ζ n) Cζ hCζ (hζ n)) (hP n) (hπ n) (he n) + hball (hh n) v w hv hw + +theorem stableFramePointSources_zero + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D : F →L[ℝ] F) (h : ℕ → E → E) + (CP Cπ ε r : ℝ) (hCP : 0 ≤ CP) (hCπ : 0 ≤ Cπ) + (hP : ∀ n, ‖stableFrameProjection (ζ (n + 1)) (π (n + 1))‖ ≤ CP) + (hπ : ∀ n, ‖π (n + 1)‖ ≤ Cπ) + (hh : ∀ n, ‖h n 0‖ ≤ ε * r ^ n) (n : ℕ) : + ‖stableFrameForwardSource ζ π h n 0‖ ≤ (CP * ε) * r ^ n ∧ + ‖stableFrameCoordinateSource ζ π A D h n 0‖ ≤ (Cπ * ε) * r ^ n := by + simpa only [stableFrameForwardSource, stableFrameCoordinateSource, one_smul, one_mul, + mul_assoc] using stableGraph_split_source_zero (stableFrameAssembly (ζ n)) + (stableFrameProjection (ζ (n + 1)) (π (n + 1))) (π (n + 1)) + ((π (n + 1)).comp (A n) - D.comp (π n)) (h n) + CP Cπ 1 (ε * r ^ n) hCP hCπ (by norm_num) (hP n) (hπ n) (hh n) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphProjectedRecurrence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphProjectedRecurrence.lean new file mode 100644 index 0000000000000000000000000000000000000000..cc8666d82ffd74d1cbec5280fd317e20a3666b74 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphProjectedRecurrence.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphFrameBounds + +namespace OAI + +/-! # The projected contraction retains the original endpoint dynamics + +Preprojecting the stable block extends its kernel estimate to a bounded +operator on the fixed ambient space. The fixed forward sequence remains +in the correct kernels, so that extension does not alter its recurrence. +-/ + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem stableProjected_forward_identity (ζ₀ ζ₁ : F →L[ℝ] E) + (π₀ π₁ : E →L[ℝ] F) (A : E →L[ℝ] E) (w h : E) (u : F) : + stableProjectedBlock ζ₀ ζ₁ π₀ π₁ A w + stableMixedBlock ζ₀ ζ₁ π₁ A u + + stableFrameProjection ζ₁ π₁ h = + stableFrameProjection ζ₁ π₁ + (A (stableFrameProjection ζ₀ π₀ w + ζ₀ u) + h) := by + simp only [stableProjectedBlock, stableMixedBlock, ContinuousLinearMap.comp_apply, map_add] + +theorem stableProjected_reconstruct_recurrence + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D : F →L[ℝ] F) (h : ℕ → E → E) + (w : ℕ → E) (u : ℕ → F) + (hπζ : ∀ n v, π n (ζ n v) = v) (hw₀ : π 0 (w 0) = 0) + (hw : ∀ n, w (n + 1) = + stableProjectedBlock (ζ n) (ζ (n + 1)) (π n) (π (n + 1)) (A n) (w n) + + stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n) (u n) + + stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (h n (stableFrameState ζ w u n))) + (hu : ∀ n, u (n + 1) = D (u n) + + ((π (n + 1)).comp (A n) - D.comp (π n)) (stableFrameState ζ w u n) + + π (n + 1) (h n (stableFrameState ζ w u n))) : + (∀ n, π n (w n) = 0) ∧ + ∀ n, stableFrameState ζ w u (n + 1) = + A n (stableFrameState ζ w u n) + h n (stableFrameState ζ w u n) := by + have hprojected (n : ℕ) : w (n + 1) = + stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (A n (stableFrameProjection (ζ n) (π n) (w n) + ζ n (u n)) + + h n (stableFrameState ζ w u n)) := + (hw n).trans (stableProjected_forward_identity _ _ _ _ _ _ _ _) + have hker : ∀ n, π n (w n) = 0 := stableFrame_forward_kernel ζ π w + (fun n => A n (stableFrameProjection (ζ n) (π n) (w n) + ζ n (u n)) + + h n (stableFrameState ζ w u n)) hπζ hw₀ hprojected + refine ⟨hker, stableGraph_reconstruct_recurrence ζ π A D h w u hπζ hw₀ ?_ hu⟩ + intro n + rw [hprojected n, stableFrameProjection_eq_self _ _ _ (hker n)] + rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphReconstruction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphReconstruction.lean new file mode 100644 index 0000000000000000000000000000000000000000..660ce47254e23c1d42e5f7fbb1d1620d453ce827 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphReconstruction.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphRecurrence + +namespace OAI + +/-! # Reconstructing the actual endpoint recurrence from graph coordinates + +The frame and coordinate maps are explicit operators. Their identities +ensure the projected stable recurrence stays in the correct kernel and the +two graph recurrences combine into the original nonlinear endpoint step. +No spectral estimates are assumed by this algebraic supporting lemma. +-/ + +open Filter Topology +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +noncomputable def stableFrameProjection (ζ : F →L[ℝ] E) (π : E →L[ℝ] F) : E →L[ℝ] E := + ContinuousLinearMap.id ℝ E - ζ.comp π + +theorem stableFrameProjection_coordinate (ζ : F →L[ℝ] E) (π : E →L[ℝ] F) + (hπζ : ∀ u, π (ζ u) = u) (x : E) : π (stableFrameProjection ζ π x) = 0 := by + change π (x - ζ (π x)) = 0 + rw [map_sub, hπζ, sub_self] + +theorem stableFrameProjection_decomposition (ζ : F →L[ℝ] E) (π : E →L[ℝ] F) (x : E) : + stableFrameProjection ζ π x + ζ (π x) = x := sub_add_cancel _ _ + +noncomputable def stableFrameState (ζ : ℕ → F →L[ℝ] E) (w : ℕ → E) (u : ℕ → F) + (n : ℕ) : E := w n + ζ n (u n) + +theorem stableFrameState_coordinate (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (w : ℕ → E) (u : ℕ → F) (hπζ : ∀ n v, π n (ζ n v) = v) + (hw : ∀ n, π n (w n) = 0) (n : ℕ) : π n (stableFrameState ζ w u n) = u n := by + simp only [stableFrameState, map_add, hw, hπζ, zero_add] + +theorem stableFrame_forward_split (ζ : F →L[ℝ] E) (π : E →L[ℝ] F) + (A : E →L[ℝ] E) (w : E) (u : F) : + stableFrameProjection ζ π (A (w + ζ u)) = + (stableFrameProjection ζ π |>.comp A) w + + ((stableFrameProjection ζ π |>.comp A).comp ζ) u := by + simp only [map_add, ContinuousLinearMap.comp_apply] + +theorem stableFrame_forward_kernel (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (w : ℕ → E) (y : ℕ → E) (hπζ : ∀ n v, π n (ζ n v) = v) + (hw₀ : π 0 (w 0) = 0) + (hw : ∀ n, w (n + 1) = stableFrameProjection (ζ (n + 1)) (π (n + 1)) (y n)) : + ∀ n, π n (w n) = 0 := by + intro n + cases n with + | zero => exact hw₀ + | succ n => + rw [hw n] + exact stableFrameProjection_coordinate _ _ (hπζ (n + 1)) _ + +theorem stableGraph_reconstruct_recurrence + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D : F →L[ℝ] F) (h : ℕ → E → E) + (w : ℕ → E) (u : ℕ → F) + (hπζ : ∀ n v, π n (ζ n v) = v) (hw₀ : π 0 (w 0) = 0) + (hw : ∀ n, w (n + 1) = stableFrameProjection (ζ (n + 1)) (π (n + 1)) + (A n (stableFrameState ζ w u n) + h n (stableFrameState ζ w u n))) + (hu : ∀ n, u (n + 1) = D (u n) + + ((π (n + 1)).comp (A n) - D.comp (π n)) (stableFrameState ζ w u n) + + π (n + 1) (h n (stableFrameState ζ w u n))) : + ∀ n, stableFrameState ζ w u (n + 1) = + A n (stableFrameState ζ w u n) + h n (stableFrameState ζ w u n) := by + have hker : ∀ n, π n (w n) = 0 := + stableFrame_forward_kernel ζ π w + (fun n => A n (stableFrameState ζ w u n) + h n (stableFrameState ζ w u n)) hπζ hw₀ hw + have hcoord := stableFrameState_coordinate ζ π w u hπζ hker + intro n + have hu' : u (n + 1) = π (n + 1) + (A n (stableFrameState ζ w u n) + h n (stableFrameState ζ w u n)) := by + rw [hu n] + simp only [sub_apply, ContinuousLinearMap.comp_apply, hcoord, map_add] + abel + change w (n + 1) + ζ (n + 1) (u (n + 1)) = _ + rw [hw n, hu'] + exact stableFrameProjection_decomposition _ _ _ + +theorem stableFrameState_norm_le (ζ : ℕ → F →L[ℝ] E) (w : ℕ → E) (u : ℕ → F) + (C : ℝ) (hC : ∀ n, ‖ζ n‖ ≤ C) (n : ℕ) : + ‖stableFrameState ζ w u n‖ ≤ ‖w n‖ + C * ‖u n‖ := + (norm_add_le _ _).trans (add_le_add le_rfl + (((ζ n).le_opNorm (u n)).trans (mul_le_mul_of_nonneg_right (hC n) (norm_nonneg _)))) + +theorem stableFrameState_weighted_norm_le (ζ : ℕ → F →L[ℝ] E) + (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (C : ℝ) (hC : ∀ n, ‖ζ n‖ ≤ C) (n : ℕ) : + ‖stableFrameState ζ (stableSequenceValue w) (stableSequenceValue u) n‖ ≤ + (1 / 2 : ℝ) ^ n * (‖w‖ + C * ‖u‖) := by + have hC0 : 0 ≤ C := (norm_nonneg (ζ 0)).trans (hC 0) + apply (stableFrameState_norm_le ζ (stableSequenceValue w) (stableSequenceValue u) C hC n).trans + calc + _ ≤ (1 / 2 : ℝ) ^ n * ‖w‖ + C * ((1 / 2 : ℝ) ^ n * ‖u‖) := + add_le_add (norm_stableSequenceValue_le w n) + (mul_le_mul_of_nonneg_left (norm_stableSequenceValue_le u n) hC0) + _ = _ := by ring + +theorem stableFrameState_weighted_tendsto_zero (ζ : ℕ → F →L[ℝ] E) + (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (C : ℝ) (hC : ∀ n, ‖ζ n‖ ≤ C) : + Tendsto (stableFrameState ζ (stableSequenceValue w) (stableSequenceValue u)) atTop (𝓝 0) := by + apply squeeze_zero_norm (stableFrameState_weighted_norm_le ζ w u C hC) + simpa using (tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).mul_const (‖w‖ + C * ‖u‖) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphRecurrence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphRecurrence.lean new file mode 100644 index 0000000000000000000000000000000000000000..8bf845222d0defb765275ec730743ad7a5cc06b7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphRecurrence.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphContraction + +namespace OAI + +/-! # The fixed sequence solves the original two recurrences + +The backward sum telescopes in the neutral coordinate as well as in the +strictly expanding coordinates. Removing the `2^n` weights recovers the +forward and unstable-coordinate equations and gives actual endpoint decay. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +theorem stableBackward_recurrence (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) + (f : ℕ →ᵇ F) (n : ℕ) : + stableBackward R hR f n = R ((1 / 2 : ℝ) • stableBackward R hR f (n + 1) - f n) := by + let t := fun n j : ℕ => (1 / 2 : ℝ) ^ j • (R ^ (j + 1)) (f (n + j)) + have hterm (j : ℕ) : t n (j + 1) = (1 / 2 : ℝ) • R (t (n + 1) j) := by + dsimp [t] + rw [pow_succ' R (j + 1), pow_succ] + simp only [mul_apply_eq_comp, map_smul, smul_smul] + rw [mul_comm ((1 / 2 : ℝ) ^ j) (1 / 2)] + simp only [Nat.add_left_comm, Nat.add_comm] + have hshift : (∑' j : ℕ, t n (j + 1)) = + (1 / 2 : ℝ) • R (∑' j : ℕ, t (n + 1) j) := by + rw [R.map_tsum (stableBackward_summable R hR f (n + 1)), ← tsum_const_smul''] + exact tsum_congr hterm + have hs := (stableBackward_summable R hR f n).tsum_eq_zero_add + change (∑' j : ℕ, t n j) = t n 0 + ∑' j : ℕ, t n (j + 1) at hs + rw [hshift] at hs + have ht0 : t n 0 = R (f n) := by simp [t] + rw [ht0] at hs + change -(∑' j : ℕ, t n j) = R ((1 / 2 : ℝ) • -(∑' j : ℕ, t (n + 1) j) - f n) + rw [hs] + simp only [map_sub, map_smul, map_neg, smul_neg] + abel + +theorem stableBackward_unweighted_recurrence + (R D : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) + (hinv : ∀ z : F, D (R z) = z) (f : ℕ →ᵇ F) (n : ℕ) : + stableSequenceValue (stableBackward R hR f) (n + 1) = + D (stableSequenceValue (stableBackward R hR f) n) + stableSequenceValue f n := by + have h := congrArg D (stableBackward_recurrence R hR f n) + rw [hinv] at h + have hu : (1 / 2 : ℝ) • stableBackward R hR f (n + 1) = + D (stableBackward R hR f n) + f n := by rw [h]; abel + rw [stableSequenceValue_succ, hu] + simp only [stableSequenceValue, map_smul, smul_add] + +omit [CompleteSpace E] [CompleteSpace F] in +theorem stableForward_unweighted_recurrence + (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) + (hA : ∀ n, ‖A n‖ ≤ a) (hB : ∀ n, ‖B n‖ ≤ b) + (w₀ : E) (w : ℕ →ᵇ E) (u : ℕ →ᵇ F) (r : ℕ →ᵇ E) + (hfix : stableForward A B a b ha hb hA hB w₀ w u r = w) (n : ℕ) : + stableSequenceValue w (n + 1) = A n (stableSequenceValue w n) + + B n (stableSequenceValue u n) + stableSequenceValue r n := by + have he := congrArg (fun x : ℕ →ᵇ E => x (n + 1)) hfix + rw [stableForward_succ] at he + rw [stableSequenceValue_succ, ← he] + simp only [smul_smul, one_div_mul_cancel (by norm_num : (2 : ℝ) ≠ 0), one_smul, + stableSequenceValue, map_smul, smul_add] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSelection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSelection.lean new file mode 100644 index 0000000000000000000000000000000000000000..2dc87d851cdffbf2b9594a962dad1fd673863c46 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSelection.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphRecurrence + +namespace OAI + +/-! # Initial stable coordinates select a Lipschitz graph + +This selects the unique small fixed sequence of the contracting recurrence map. +Its zeroth unstable coordinate is Lipschitz in the prescribed stable data. +The torus spectral blocks and endpoint remainder estimates are hypotheses +of this construction. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +omit [CompleteSpace E] in +theorem stableGraphMap_initial_dist_le + (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (hA : ∀ n, ‖A n‖ ≤ 1 / 8) (hB : ∀ n, ‖B n‖ ≤ 1 / 16) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) (w₀ w₁ : E) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) : + dist (stableGraphMap A B hA hB R hR w₀ N H x) + (stableGraphMap A B hA hB R hR w₁ N H x) ≤ dist w₀ w₁ := by + dsimp only [stableGraphMap] + rw [Prod.dist_eq] + apply max_le + · apply (BoundedContinuousFunction.dist_le (show 0 ≤ dist w₀ w₁ from dist_nonneg)).2 + intro n + cases n with + | zero => simp only [stableForward_zero, le_refl] + | succ n => simp only [stableForward_succ, dist_self]; exact dist_nonneg + · simp only [dist_self]; exact dist_nonneg + +omit [CompleteSpace E] in +theorem stableGraph_fixedPoint_data_dist_le + (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (hA : ∀ n, ‖A n‖ ≤ 1 / 8) (hB : ∀ n, ‖B n‖ ≤ 1 / 16) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) (w₀ w₁ : E) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (x y : (ℕ →ᵇ E) × (ℕ →ᵇ F)) + (hx : stableGraphMap A B hA hB R hR w₀ N H x = x) + (hy : stableGraphMap A B hA hB R hR w₁ N H y = y) + (hN : dist (N x) (N y) ≤ (1 / 16 : ℝ) * dist x y) + (hH : dist (H x) (H y) ≤ (1 / 16 : ℝ) * dist x y) : + dist x y ≤ 2 * dist w₀ w₁ := by + have htri := dist_triangle + (stableGraphMap A B hA hB R hR w₀ N H x) + (stableGraphMap A B hA hB R hR w₀ N H y) + (stableGraphMap A B hA hB R hR w₁ N H y) + have hfirst := stableGraphMap_dist_le A B hA hB R hR w₀ N H x y hN hH + have hsecond := stableGraphMap_initial_dist_le A B hA hB R hR w₀ w₁ N H y + rw [hx, hy] at htri + rw [hx] at hfirst + rw [hy] at hsecond + linarith + +theorem exists_stableGraph_selection + (A : ℕ → E →L[ℝ] E) (B : ℕ → F →L[ℝ] E) + (hA : ∀ n, ‖A n‖ ≤ 1 / 8) (hB : ∀ n, ‖B n‖ ≤ 1 / 16) + (R : F →L[ℝ] F) (hR : ‖R‖ ≤ 1) + (N : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ E)) + (H : ((ℕ →ᵇ E) × (ℕ →ᵇ F)) → (ℕ →ᵇ F)) + (ρ ε : ℝ) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) + (hN : ∀ x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (N x) (N y) ≤ (1 / 16 : ℝ) * dist x y) + (hH : ∀ x y, ‖x‖ ≤ ρ → ‖y‖ ≤ ρ → + dist (H x) (H y) ≤ (1 / 16 : ℝ) * dist x y) + (hN0 : ‖N 0‖ ≤ ε) (hH0 : ‖H 0‖ ≤ ε) : + ∃ G : {w : E // ‖w‖ + 2 * ε ≤ ρ / 2} → F, + LipschitzWith 2 G ∧ ∀ w, + ‖G w‖ ≤ 2 * (‖w.1‖ + 2 * ε) ∧ + ∃ x : (ℕ →ᵇ E) × (ℕ →ᵇ F), + stableGraphMap A B hA hB R hR w.1 N H x = x ∧ + x.1 0 = w.1 ∧ x.2 0 = G w ∧ ‖x‖ ≤ ρ ∧ + Filter.Tendsto (stableSequenceValue x.1) Filter.atTop (nhds 0) ∧ + Filter.Tendsto (stableSequenceValue x.2) Filter.atTop (nhds 0) := by + classical + choose x hx hfix hbound huniq using fun w : {w : E // ‖w‖ + 2 * ε ≤ ρ / 2} => + exists_stableGraph_fixedPoint A B hA hB R hR w.1 N H ρ ε hρ hε hN hH hN0 hH0 w.2 + let G := fun w : {w : E // ‖w‖ + 2 * ε ≤ ρ / 2} => (x w).2 0 + refine ⟨G, LipschitzWith.of_dist_le_mul ?_, ?_⟩ + · intro w v + have hd := stableGraph_fixedPoint_data_dist_le A B hA hB R hR w.1 v.1 N H + (x w) (x v) (hfix w) (hfix v) (hN _ _ (hx w) (hx v)) (hH _ _ (hx w) (hx v)) + have he : dist (G w) (G v) ≤ dist (x w) (x v) := + (BoundedContinuousFunction.dist_coe_le_dist (f := (x w).2) (g := (x v).2) 0).trans (le_max_right _ _) + exact he.trans hd + · intro w + have hG : ‖G w‖ ≤ ‖x w‖ := ((x w).2.norm_coe_le_norm 0).trans (norm_snd_le _) + refine ⟨hG.trans (hbound w), x w, hfix w, ?_, rfl, hx w, + stableSequenceValue_tendsto_zero _, stableSequenceValue_tendsto_zero _⟩ + have he := congrArg (fun y : (ℕ →ᵇ E) × (ℕ →ᵇ F) => y.1 0) (hfix w) + exact he.symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSequence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSequence.lean new file mode 100644 index 0000000000000000000000000000000000000000..89795f3bf362acadc5b53fb27fbf2040cd6e8c0e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSequence.lean @@ -0,0 +1,60 @@ +import Mathlib.Topology.ContinuousMap.Bounded.Normed +import Mathlib.Analysis.SpecificLimits.Normed +import Mathlib.Analysis.Normed.Group.InfiniteSum +import Mathlib.Tactic.Positivity +import Mathlib.Tactic.Linarith +import Mathlib.Tactic.Module + +namespace OAI + +/-! # The weighted sequence space for the nonlinear stable graph + +A bounded sequence records `2^n` times the physical perturbation. Thus the +ambient sequence space is Banach without imposing an auxiliary completeness +assumption on decaying sequences. These are supporting lemmas for `nl:graph`; +no spectral splitting or nonlinear evolution is assumed here. +-/ + +open Filter Topology + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + +/-- The actual value of a perturbation encoded in the weighted sequence space. -/ +noncomputable def stableSequenceValue (x : ℕ →ᵇ E) (n : ℕ) : E := + (1 / 2 : ℝ) ^ n • x n + +theorem norm_stableSequenceValue_le (x : ℕ →ᵇ E) (n : ℕ) : + ‖stableSequenceValue x n‖ ≤ (1 / 2 : ℝ) ^ n * ‖x‖ := by + unfold stableSequenceValue + rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (by positivity)] + exact mul_le_mul_of_nonneg_left (x.norm_coe_le_norm n) (by positivity) + +theorem stableSequenceValue_tendsto_zero (x : ℕ →ᵇ E) : + Tendsto (stableSequenceValue x) atTop (𝓝 0) := by + apply squeeze_zero_norm (norm_stableSequenceValue_le x) + simpa using (tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num : (0 : ℝ) ≤ 1 / 2) + (by norm_num : (1 / 2 : ℝ) < 1)).mul_const ‖x‖ + +theorem stableSequenceValue_zero (x : ℕ →ᵇ E) : stableSequenceValue x 0 = x 0 := by + simp [stableSequenceValue] + +theorem stableSequenceValue_succ (x : ℕ →ᵇ E) (n : ℕ) : + stableSequenceValue x (n + 1) = (1 / 2 : ℝ) ^ n • ((1 / 2 : ℝ) • x (n + 1)) := by + simp only [stableSequenceValue, pow_succ, smul_smul] + +theorem stableSequence_geometric_source_bound (ε r : ℝ) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hr' : 2 * r ≤ 1) (n : ℕ) : + (2 : ℝ) ^ n * (ε * r ^ n) ≤ ε := by + have hp : (2 * r) ^ n ≤ (1 : ℝ) := pow_le_one₀ (by positivity) hr' + calc + (2 : ℝ) ^ n * (ε * r ^ n) = ε * (2 * r) ^ n := by rw [mul_pow]; ring + _ ≤ ε * 1 := mul_le_mul_of_nonneg_left hp hε + _ = ε := mul_one _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSlabGluing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSlabGluing.lean new file mode 100644 index 0000000000000000000000000000000000000000..988f8fe020c0da86680ad35153f4725f63bb3b5d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSlabGluing.lean @@ -0,0 +1,151 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphReconstruction +import Mathlib.Topology.LocallyFinite +import Mathlib.Topology.Algebra.Order.Floor +import Mathlib.Data.Set.UnionLift + +namespace OAI + +/-! # Gluing the finite trajectories selected by a stable endpoint sequence + +Adjacent closed slabs agree at their endpoints. Their locally finite cover +therefore gives one continuous trajectory, with the same geometric decay +between the discrete times. This is a supporting construction; its inputs +are actual finite trajectories and their proved endpoint identities. +-/ + +open Set Filter Topology + +namespace DefocusingNLS + +def equalSlabInterval (M : ℝ) (n : ℕ) : Set ℝ := + Icc ((n : ℝ) * M) (((n : ℝ) + 1) * M) + +theorem equalSlabInterval_floor (M : ℝ) (hM : 0 < M) (t : ℝ) (ht : 0 ≤ t) : + t ∈ equalSlabInterval M ⌊t / M⌋₊ := by + constructor + · exact (le_div_iff₀ hM).mp (Nat.floor_le (div_nonneg ht hM.le)) + · exact (div_lt_iff₀ hM).mp (Nat.lt_floor_add_one (t / M)) |>.le + +theorem equalSlabInterval_cover (M : ℝ) (hM : 0 < M) : + (⋃ n : ℕ, equalSlabInterval M n) = Ici 0 := by + ext t + constructor + · intro ht + obtain ⟨n, hn⟩ := mem_iUnion.mp ht + exact (mul_nonneg (Nat.cast_nonneg n) hM.le).trans hn.1 + · intro ht + exact mem_iUnion.mpr ⟨⌊t / M⌋₊, equalSlabInterval_floor M hM t ht⟩ + +theorem equalSlabInterval_locallyFinite (M : ℝ) (hM : 0 < M) : + LocallyFinite (equalSlabInterval M) := by + intro x + obtain ⟨N, hN⟩ := exists_nat_gt ((x + 1) / M) + refine ⟨Iio (x + 1), Iio_mem_nhds (by linarith), (finite_Iio N).subset ?_⟩ + rintro n ⟨t, ht, htx⟩ + have hn : (n : ℝ) < N := + ((lt_div_iff₀ hM).mpr (ht.1.trans_lt htx)).trans hN + exact_mod_cast hn + +section Topological + +variable {E : Type*} [TopologicalSpace E] + +noncomputable def equalSlabPiece (M : ℝ) (hM : 0 < M) + (u : ℕ → C(Icc (0 : ℝ) M, E)) (n : ℕ) (t : ℝ) : E := + u n (projIcc 0 M hM.le (t - (n : ℝ) * M)) + +theorem continuous_equalSlabPiece (M : ℝ) (hM : 0 < M) + (u : ℕ → C(Icc (0 : ℝ) M, E)) (n : ℕ) : + Continuous (equalSlabPiece M hM u n) := + (u n).continuous.comp (continuous_projIcc.comp (continuous_id.sub continuous_const)) + +theorem equalSlabPiece_compatible (M : ℝ) (hM : 0 < M) + (u : ℕ → C(Icc (0 : ℝ) M, E)) + (hjoin : ∀ n, u n ⟨M, hM.le, le_rfl⟩ = u (n + 1) ⟨0, le_rfl, hM.le⟩) + (i j : ℕ) (t : ℝ) (hi : t ∈ equalSlabInterval M i) + (hj : t ∈ equalSlabInterval M j) : + equalSlabPiece M hM u i t = equalSlabPiece M hM u j t := by + have ordered (i j : ℕ) (hij : i < j) (hi : t ∈ equalSlabInterval M i) + (hj : t ∈ equalSlabInterval M j) : + equalSlabPiece M hM u i t = equalSlabPiece M hM u j t := by + have hle : (j : ℝ) ≤ (i : ℝ) + 1 := + (mul_le_mul_iff_left₀ hM).mp (hj.1.trans hi.2) + have hji : j = i + 1 := by + have : j ≤ i + 1 := by exact_mod_cast hle + omega + subst j + have ht : t = ((i : ℝ) + 1) * M := by + have hh := hj.1 + push_cast at hh + exact le_antisymm hi.2 hh + have hleft : t - (i : ℝ) * M = M := by rw [ht]; ring + have hright : t - ((i + 1 : ℕ) : ℝ) * M = 0 := by rw [ht]; push_cast; ring + unfold equalSlabPiece + rw [hleft, hright, projIcc_of_mem _ ⟨hM.le, le_rfl⟩, + projIcc_of_mem _ ⟨le_rfl, hM.le⟩] + exact hjoin i + rcases lt_trichotomy i j with hij | rfl | hji + · exact ordered i j hij hi hj + · rfl + · exact (ordered j i hji hj hi).symm + +noncomputable def gluedSlabPath (M : ℝ) (hM : 0 < M) + (u : ℕ → C(Icc (0 : ℝ) M, E)) + (hjoin : ∀ n, u n ⟨M, hM.le, le_rfl⟩ = u (n + 1) ⟨0, le_rfl, hM.le⟩) + (t : ℝ) : E := + if ht : 0 ≤ t then + Set.iUnionLift (equalSlabInterval M) + (fun n x => equalSlabPiece M hM u n x) + (equalSlabPiece_compatible M hM u hjoin) (Ici 0) + (equalSlabInterval_cover M hM).symm.subset ⟨t, ht⟩ + else u 0 ⟨0, le_rfl, hM.le⟩ + +theorem gluedSlabPath_eq (M : ℝ) (hM : 0 < M) + (u : ℕ → C(Icc (0 : ℝ) M, E)) + (hjoin : ∀ n, u n ⟨M, hM.le, le_rfl⟩ = u (n + 1) ⟨0, le_rfl, hM.le⟩) + (n : ℕ) (t : ℝ) (ht : t ∈ equalSlabInterval M n) : + gluedSlabPath M hM u hjoin t = equalSlabPiece M hM u n t := by + have ht0 : 0 ≤ t := (mul_nonneg (Nat.cast_nonneg n) hM.le).trans ht.1 + rw [gluedSlabPath, dite_eq_left ht0] + exact Set.iUnionLift_of_mem _ ht + +theorem gluedSlabPath_at (M : ℝ) (hM : 0 < M) + (u : ℕ → C(Icc (0 : ℝ) M, E)) + (hjoin : ∀ n, u n ⟨M, hM.le, le_rfl⟩ = u (n + 1) ⟨0, le_rfl, hM.le⟩) + (n : ℕ) (s : Icc (0 : ℝ) M) : + gluedSlabPath M hM u hjoin ((n : ℝ) * M + s) = u n s := by + rw [gluedSlabPath_eq M hM u hjoin n _ ⟨by linarith [s.2.1], by linarith [s.2.2]⟩] + unfold equalSlabPiece + rw [add_sub_cancel_left, projIcc_of_mem _ s.2] + +theorem continuousOn_gluedSlabPath (M : ℝ) (hM : 0 < M) + (u : ℕ → C(Icc (0 : ℝ) M, E)) + (hjoin : ∀ n, u n ⟨M, hM.le, le_rfl⟩ = u (n + 1) ⟨0, le_rfl, hM.le⟩) : + ContinuousOn (gluedSlabPath M hM u hjoin) (Ici 0) := by + rw [← equalSlabInterval_cover M hM] + apply (equalSlabInterval_locallyFinite M hM).continuousOn_iUnion + (fun _ => isClosed_Icc) + intro n + exact (continuous_equalSlabPiece M hM u n).continuousOn.congr + (fun t ht => gluedSlabPath_eq M hM u hjoin n t ht) + +end Topological + +theorem gluedSlabPath_tendsto_zero {E : Type*} [NormedAddCommGroup E] + (M : ℝ) (hM : 0 < M) (u : ℕ → C(Icc (0 : ℝ) M, E)) + (hjoin : ∀ n, u n ⟨M, hM.le, le_rfl⟩ = u (n + 1) ⟨0, le_rfl, hM.le⟩) + (C r : ℝ) (hr : 0 ≤ r) (hr1 : r < 1) + (hu : ∀ n s, ‖u n s‖ ≤ C * r ^ n) : + Tendsto (gluedSlabPath M hM u hjoin) atTop (𝓝 0) := by + have hfloor : Tendsto (fun t : ℝ => ⌊t / M⌋₊) atTop atTop := + tendsto_nat_floor_atTop.comp (tendsto_id.atTop_div_const hM) + have hdecay : Tendsto (fun t : ℝ => C * r ^ ⌊t / M⌋₊) atTop (𝓝 0) := by + simpa using ((tendsto_pow_atTop_nhds_zero_of_lt_one hr hr1).comp hfloor).const_mul C + apply squeeze_zero_norm' _ hdecay + filter_upwards [eventually_ge_atTop (0 : ℝ)] with t ht + rw [gluedSlabPath_eq M hM u hjoin _ t (equalSlabInterval_floor M hM t ht)] + exact hu _ _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSmallRemainder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSmallRemainder.lean new file mode 100644 index 0000000000000000000000000000000000000000..0106c8192dc3a939573603616027cdd74bc8d1df --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSmallRemainder.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphApplication + +namespace OAI + +/-! # The stable graph from the normalized linear data and a small remainder -/ + +namespace DefocusingNLS + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +theorem exists_stableGraph_of_small_remainder + (ζ : ℕ → F →L[ℝ] E) (π : ℕ → E →L[ℝ] F) + (A : ℕ → E →L[ℝ] E) (D R : F →L[ℝ] F) + (hR : ‖R‖ ≤ 1) (hinv : ∀ v, D (R v) = v) + (hπζ : ∀ n v, π n (ζ n v) = v) + (hA : ∀ n, ‖stableProjectedBlock (ζ n) (ζ (n + 1)) + (π n) (π (n + 1)) (A n)‖ ≤ 1 / 8) + (hB : ∀ n, ‖stableMixedBlock (ζ n) (ζ (n + 1)) (π (n + 1)) (A n)‖ ≤ 1 / 16) + (C ρ ε r : ℝ) (hC : 0 < C) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hζ : ∀ n, ‖ζ n‖ ≤ 1) (hπ : ∀ n, ‖π n‖ ≤ C) + (hP : ∀ n, ‖stableFrameProjection (ζ n) (π n)‖ ≤ C) + (he : ∀ n, ‖(π (n + 1)).comp (A n) - D.comp (π n)‖ ≤ 1 / 128) + (h : ℕ → E → E) + (hlip : ∀ n v w, ‖v‖ ≤ 2 * ρ → ‖w‖ ≤ 2 * ρ → + ‖h n v - h n w‖ ≤ (1 / (128 * (C + 1))) * ‖v - w‖) + (hzero : ∀ n, ‖h n 0‖ ≤ ε * r ^ n) + (w₀ : E) (hw₀ : π 0 w₀ = 0) (hsmall : ‖w₀‖ + 2 * (C * ε) ≤ ρ / 2) : + ∃ z : ℕ → E, + stableFrameProjection (ζ 0) (π 0) (z 0) = w₀ ∧ + (∀ n, z (n + 1) = A n (z n) + h n (z n)) ∧ + (∀ n, ‖z n‖ ≤ (4 * (‖w₀‖ + 2 * (C * ε))) * (1 / 2 : ℝ) ^ n) := by + have hκ : 0 ≤ 1 / (128 * (C + 1)) := by positivity + have hCκ : C * (1 / (128 * (C + 1))) ≤ 1 / 128 := by + rw [one_div, ← div_eq_mul_inv] + apply (div_le_iff₀ (by positivity)).mpr + nlinarith + have hN (n : ℕ) (v w : E × F) (hv : ‖v‖ ≤ ρ) (hw : ‖w‖ ≤ ρ) := + stableFramePointSources_lipschitz ζ π A D h 1 C C (1 / 128) + (1 / (128 * (C + 1))) ρ (2 * ρ) zero_le_one hC.le hC.le (by norm_num) hκ + hζ (fun n => hP (n + 1)) (fun n => hπ (n + 1)) he (by ring_nf; rfl) hlip n v w hv hw + have hz (n : ℕ) := stableFramePointSources_zero ζ π A D h C C ε r hC.le hC.le + (fun n => hP (n + 1)) (fun n => hπ (n + 1)) hzero n + obtain ⟨z, hz0, hzstep, hzbound⟩ := exists_stableGraph_actual_endpoint_sequence ζ π A D R hR hinv + hπζ hA hB h w₀ hw₀ ρ (C * ε) 1 r hρ (mul_nonneg hC.le hε) zero_le_one hr hrsmall hζ + (fun n v w hv hw => (hN n v w hv hw).1.trans + (mul_le_mul_of_nonneg_right (by nlinarith : C * (1 / (128 * (C + 1))) * (1 + 1) ≤ 1 / 16) + (norm_nonneg _))) + (fun n v w hv hw => (hN n v w hv hw).2.trans + (mul_le_mul_of_nonneg_right (by nlinarith : + (1 / 128 + C * (1 / (128 * (C + 1)))) * (1 + 1) ≤ 1 / 16) (norm_nonneg _))) + (fun n => (hz n).1) (fun n => (hz n).2) hsmall + refine ⟨z, hz0, hzstep, fun n => (hzbound n).trans_eq ?_⟩ + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSourceIdentity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSourceIdentity.lean new file mode 100644 index 0000000000000000000000000000000000000000..8f5dfb70b11b4e7cbf6c7f4f5a717206891dc363 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSourceIdentity.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphSplitSource + +namespace OAI + +/-! # Exact values of the weighted graph sources + +The bounded extension used outside the sequence ball has no effect on its +fixed point. Removing the geometric weight recovers the actual pointwise +nonlinear source on that ball. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + [NormedAddCommGroup W] [NormedSpace ℝ W] + +theorem stableWeightedSource_value (f : ℕ → V → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) (x : ℕ →ᵇ V) (hx : ‖x‖ ≤ ρ) (n : ℕ) : + stableSequenceValue + (stableWeightedSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero x) n = + f n (stableSequenceValue x n) := by + simp only [stableSequenceValue, stableWeightedSource, dite_eq_left hx, + BoundedContinuousFunction.coe_ofNormedAddCommGroupDiscrete, stableWeightedSourceTerm, + smul_smul, ← mul_pow] + norm_num + +variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem stablePairSequence_value (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) (n : ℕ) : + stableSequenceValue (stablePairSequence x) n = + (stableSequenceValue x.1 n, stableSequenceValue x.2 n) := rfl + +noncomputable def stableFrameAssembly (ζ : F →L[ℝ] E) : E × F →L[ℝ] E := + ContinuousLinearMap.fst ℝ E F + ζ.comp (ContinuousLinearMap.snd ℝ E F) + +@[simp] theorem stableFrameAssembly_apply (ζ : F →L[ℝ] E) (v : E × F) : + stableFrameAssembly ζ v = v.1 + ζ v.2 := rfl + +theorem stableFrameAssembly_norm_le (ζ : F →L[ℝ] E) (C : ℝ) (hC : 0 ≤ C) + (hζ : ‖ζ‖ ≤ C) : ‖stableFrameAssembly ζ‖ ≤ 1 + C := by + apply ContinuousLinearMap.opNorm_le_bound _ (by positivity) + intro v + calc + ‖stableFrameAssembly ζ v‖ ≤ ‖v.1‖ + ‖ζ v.2‖ := norm_add_le _ _ + _ ≤ ‖v‖ + C * ‖v‖ := add_le_add (norm_fst_le v) + ((ζ.le_opNorm _).trans (mul_le_mul hζ (norm_snd_le v) (norm_nonneg _) hC)) + _ = (1 + C) * ‖v‖ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSplitSource.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSplitSource.lean new file mode 100644 index 0000000000000000000000000000000000000000..09a39431a43ad588a811be98c97c762c1b8b3a88 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphSplitSource.lean @@ -0,0 +1,89 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphWeightedSource + +namespace OAI + +/-! # Splitting a nonlinear endpoint remainder into graph coordinates + +These operator estimates implement the two source terms in the forward and +backward graph equations. The unstable coordinate is weighted by `K`; the +small linear defect and nonlinear remainder remain explicit quantities. +-/ + +namespace DefocusingNLS + +variable {V E F : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] + +theorem stableGraph_split_source_lipschitz + (S : V →L[ℝ] E) (P : E →L[ℝ] E) (π e : E →L[ℝ] F) + (h : E → E) (J cP cπ τ κ K ρ R : ℝ) + (hJ : 0 ≤ J) (hcP : 0 ≤ cP) (hcπ : 0 ≤ cπ) (hτ : 0 ≤ τ) + (hκ : 0 ≤ κ) (hK : 0 ≤ K) + (hS : ‖S‖ ≤ J) (hP : ‖P‖ ≤ cP) (hπ : ‖π‖ ≤ cπ) (he : ‖e‖ ≤ τ) + (hball : J * ρ ≤ R) + (hh : ∀ x y, ‖x‖ ≤ R → ‖y‖ ≤ R → ‖h x - h y‖ ≤ κ * ‖x - y‖) + (x y : V) (hx : ‖x‖ ≤ ρ) (hy : ‖y‖ ≤ ρ) : + ‖P (h (S x)) - P (h (S y))‖ ≤ cP * κ * J * ‖x - y‖ ∧ + ‖K • (e (S x) + π (h (S x))) - K • (e (S y) + π (h (S y)))‖ ≤ + K * (τ + cπ * κ) * J * ‖x - y‖ := by + have hsx : ‖S x‖ ≤ R := ((S.le_opNorm x).trans + (mul_le_mul hS hx (norm_nonneg _) hJ)).trans hball + have hsy : ‖S y‖ ≤ R := ((S.le_opNorm y).trans + (mul_le_mul hS hy (norm_nonneg _) hJ)).trans hball + have hsdiff : ‖S x - S y‖ ≤ J * ‖x - y‖ := by + rw [← map_sub] + exact (S.le_opNorm _).trans (mul_le_mul_of_nonneg_right hS (norm_nonneg _)) + have hhdiff : ‖h (S x) - h (S y)‖ ≤ (κ * J) * ‖x - y‖ := by + calc + _ ≤ κ * ‖S x - S y‖ := hh _ _ hsx hsy + _ ≤ κ * (J * ‖x - y‖) := mul_le_mul_of_nonneg_left hsdiff hκ + _ = _ := by ring + have hp : ‖P (h (S x)) - P (h (S y))‖ ≤ cP * κ * J * ‖x - y‖ := by + rw [← map_sub] + calc + _ ≤ ‖P‖ * ‖h (S x) - h (S y)‖ := P.le_opNorm _ + _ ≤ cP * ((κ * J) * ‖x - y‖) := + mul_le_mul hP hhdiff (norm_nonneg _) hcP + _ = _ := by ring + have hediff : ‖e (S x) - e (S y)‖ ≤ (τ * J) * ‖x - y‖ := by + rw [← map_sub] + calc + _ ≤ ‖e‖ * ‖S x - S y‖ := e.le_opNorm _ + _ ≤ τ * (J * ‖x - y‖) := mul_le_mul he hsdiff (norm_nonneg _) hτ + _ = _ := by ring + have hπdiff : ‖π (h (S x)) - π (h (S y))‖ ≤ (cπ * κ * J) * ‖x - y‖ := by + rw [← map_sub] + calc + _ ≤ ‖π‖ * ‖h (S x) - h (S y)‖ := π.le_opNorm _ + _ ≤ cπ * ((κ * J) * ‖x - y‖) := + mul_le_mul hπ hhdiff (norm_nonneg _) hcπ + _ = _ := by ring + refine ⟨hp, ?_⟩ + rw [← smul_sub, norm_smul, Real.norm_eq_abs, abs_of_nonneg hK] + have hid : e (S x) + π (h (S x)) - (e (S y) + π (h (S y))) = + (e (S x) - e (S y)) + (π (h (S x)) - π (h (S y))) := by abel + rw [hid] + calc + _ ≤ K * (‖e (S x) - e (S y)‖ + ‖π (h (S x)) - π (h (S y))‖) := + mul_le_mul_of_nonneg_left (norm_add_le _ _) hK + _ ≤ K * ((τ * J) * ‖x - y‖ + (cπ * κ * J) * ‖x - y‖) := + mul_le_mul_of_nonneg_left (add_le_add hediff hπdiff) hK + _ = _ := by ring + +theorem stableGraph_split_source_zero + (S : V →L[ℝ] E) (P : E →L[ℝ] E) (π e : E →L[ℝ] F) + (h : E → E) (cP cπ K ε : ℝ) + (hcP : 0 ≤ cP) (hcπ : 0 ≤ cπ) (hK : 0 ≤ K) + (hP : ‖P‖ ≤ cP) (hπ : ‖π‖ ≤ cπ) (hh : ‖h 0‖ ≤ ε) : + ‖P (h (S 0))‖ ≤ cP * ε ∧ + ‖K • (e (S 0) + π (h (S 0)))‖ ≤ K * cπ * ε := by + simp only [map_zero, zero_add] + constructor + · exact (P.le_opNorm _).trans (mul_le_mul hP hh (norm_nonneg _) hcP) + · rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg hK] + exact ((mul_le_mul_of_nonneg_left + ((π.le_opNorm _).trans (mul_le_mul hπ hh (norm_nonneg _) hcπ)) hK).trans_eq (by ring)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphStepDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphStepDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..574a5263550463325baeceadebc37cc085c49765 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphStepDecay.lean @@ -0,0 +1,34 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffGlobalOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepRemainder + +namespace OAI + +/-! # Endpoint decay controls the actual nonlinear path between steps -/ + +open Set + +namespace DefocusingNLS + +theorem cutoffStep_path_geometric_bound (a L M A B : ℝ) + (hL : 0 < L) (hA : 0 ≤ A) + (hratio : Real.exp (-(2 + a) * M / 2) ≤ 1 / 2) + (x : ℕ → FourierL2) (V : ℕ → C(Icc (0 : ℝ) M, FourierL2)) + (hx : ∀ n, ‖x n‖ ≤ B * (1 / 2 : ℝ) ^ n) + (hV : ∀ n, ‖V n‖ ≤ A * (‖x n‖ + (expandingRadius L ((n : ℝ) * M)) ^ (-2 - a))) : + ∀ n, ‖V n‖ ≤ (A * (B + L ^ (-2 - a))) * (1 / 2 : ℝ) ^ n := by + intro n + have hp : (Real.exp (-(2 + a) * M / 2)) ^ n ≤ (1 / 2 : ℝ) ^ n := + pow_le_pow_left₀ (Real.exp_nonneg _) hratio n + have hres : (expandingRadius L ((n : ℝ) * M)) ^ (-2 - a) ≤ + L ^ (-2 - a) * (1 / 2 : ℝ) ^ n := by + rw [expandingRadius_discrete_residual a L M hL n] + exact mul_le_mul_of_nonneg_left hp (Real.rpow_nonneg hL.le _) + calc + ‖V n‖ ≤ A * (‖x n‖ + (expandingRadius L ((n : ℝ) * M)) ^ (-2 - a)) := hV n + _ ≤ A * (B * (1 / 2 : ℝ) ^ n + L ^ (-2 - a) * (1 / 2 : ℝ) ^ n) := + mul_le_mul_of_nonneg_left (add_le_add (hx n) hres) hA + _ = (A * (B + L ^ (-2 - a))) * (1 / 2 : ℝ) ^ n := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphWeightedSource.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphWeightedSource.lean new file mode 100644 index 0000000000000000000000000000000000000000..bc5b71dda720fcf4d28798906fb843d7fcf5e7fd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableGraphWeightedSource.lean @@ -0,0 +1,154 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphSelection + +namespace OAI + +/-! # Endpoint remainders define bounded weighted sequence sources + +The zero-data remainder decays geometrically along the expanding radii. +Pointwise Lipschitz bounds on a small state ball therefore give a bounded +Lipschitz map on the weighted sequence ball. The extension outside that +ball is used only to supply a total function to the local contraction. +-/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + [NormedAddCommGroup W] [NormedSpace ℝ W] + +theorem stableSequenceValue_norm_le (ρ : ℝ) (x : ℕ →ᵇ V) (hx : ‖x‖ ≤ ρ) (n : ℕ) : + ‖stableSequenceValue x n‖ ≤ ρ := by + apply (norm_stableSequenceValue_le x n).trans + exact (mul_le_mul_of_nonneg_right + (pow_le_one₀ (by norm_num : (0 : ℝ) ≤ 1 / 2) (by norm_num : (1 / 2 : ℝ) ≤ 1)) + (norm_nonneg x)).trans (by simpa using hx) + +noncomputable def stableWeightedSourceTerm (f : ℕ → V → W) (x : ℕ →ᵇ V) (n : ℕ) : W := + (2 : ℝ) ^ n • f n (stableSequenceValue x n) + +theorem stableWeightedSourceTerm_bound (f : ℕ → V → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) + (x : ℕ →ᵇ V) (hx : ‖x‖ ≤ ρ) (n : ℕ) : + ‖stableWeightedSourceTerm f x n‖ ≤ η * ‖x‖ + ε := by + have hv := stableSequenceValue_norm_le ρ x hx n + have hf : ‖f n (stableSequenceValue x n)‖ ≤ + η * ‖stableSequenceValue x n‖ + ε * r ^ n := by + calc + _ = ‖(f n (stableSequenceValue x n) - f n 0) + f n 0‖ := by congr 1; abel + _ ≤ ‖f n (stableSequenceValue x n) - f n 0‖ + ‖f n 0‖ := norm_add_le _ _ + _ ≤ η * ‖stableSequenceValue x n‖ + ε * r ^ n := + add_le_add (by simpa using hlip n _ 0 hv (by simpa using hρ)) (hzero n) + have hcancel : (2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n = 1 := by rw [← mul_pow]; norm_num + unfold stableWeightedSourceTerm + rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (by positivity)] + calc + _ ≤ (2 : ℝ) ^ n * (η * ‖stableSequenceValue x n‖ + ε * r ^ n) := + mul_le_mul_of_nonneg_left hf (by positivity) + _ ≤ (2 : ℝ) ^ n * (η * ((1 / 2 : ℝ) ^ n * ‖x‖) + ε * r ^ n) := + mul_le_mul_of_nonneg_left (add_le_add + (mul_le_mul_of_nonneg_left (norm_stableSequenceValue_le x n) hη) le_rfl) (by positivity) + _ = η * ‖x‖ * ((2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n) + + (2 : ℝ) ^ n * (ε * r ^ n) := by ring + _ = η * ‖x‖ + (2 : ℝ) ^ n * (ε * r ^ n) := by rw [hcancel, mul_one] + _ ≤ η * ‖x‖ + ε := add_le_add le_rfl + (stableSequence_geometric_source_bound ε r hε hr hrsmall n) + +theorem stableWeightedSourceTerm_dist_le (f : ℕ → V → W) + (ρ η : ℝ) (hη : 0 ≤ η) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (x y : ℕ →ᵇ V) (hx : ‖x‖ ≤ ρ) (hy : ‖y‖ ≤ ρ) (n : ℕ) : + dist (stableWeightedSourceTerm f x n) (stableWeightedSourceTerm f y n) ≤ + η * dist x y := by + have hf := hlip n _ _ (stableSequenceValue_norm_le ρ x hx n) + (stableSequenceValue_norm_le ρ y hy n) + have hv : ‖stableSequenceValue x n - stableSequenceValue y n‖ ≤ + (1 / 2 : ℝ) ^ n * dist x y := by + rw [stableSequenceValue, stableSequenceValue, ← smul_sub, norm_smul, + Real.norm_eq_abs, abs_of_nonneg (by positivity), ← dist_eq_norm] + exact mul_le_mul_of_nonneg_left (BoundedContinuousFunction.dist_coe_le_dist n) (by positivity) + have hcancel : (2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n = 1 := by rw [← mul_pow]; norm_num + rw [dist_eq_norm] + unfold stableWeightedSourceTerm + rw [← smul_sub, norm_smul, Real.norm_eq_abs, abs_of_nonneg (by positivity)] + calc + _ ≤ (2 : ℝ) ^ n * (η * ‖stableSequenceValue x n - stableSequenceValue y n‖) := + mul_le_mul_of_nonneg_left hf (by positivity) + _ ≤ (2 : ℝ) ^ n * (η * ((1 / 2 : ℝ) ^ n * dist x y)) := + mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hv hη) (by positivity) + _ = η * dist x y * ((2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n) := by ring + _ = η * dist x y := by rw [hcancel, mul_one] + +noncomputable def stableWeightedSource (f : ℕ → V → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) (x : ℕ →ᵇ V) : ℕ →ᵇ W := + if hx : ‖x‖ ≤ ρ then + BoundedContinuousFunction.ofNormedAddCommGroupDiscrete (stableWeightedSourceTerm f x) + (η * ‖x‖ + ε) (stableWeightedSourceTerm_bound f ρ η ε r hρ hη hε hr hrsmall hlip hzero x hx) + else 0 + +theorem stableWeightedSource_norm_le (f : ℕ → V → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) (x : ℕ →ᵇ V) (hx : ‖x‖ ≤ ρ) : + ‖stableWeightedSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero x‖ ≤ η * ‖x‖ + ε := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro n + simpa only [stableWeightedSource, dite_eq_left hx, + BoundedContinuousFunction.coe_ofNormedAddCommGroupDiscrete] using + stableWeightedSourceTerm_bound f ρ η ε r hρ hη hε hr hrsmall hlip hzero x hx n + +theorem stableWeightedSource_dist_le (f : ℕ → V → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → ‖f n v - f n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ n, ‖f n 0‖ ≤ ε * r ^ n) (x y : ℕ →ᵇ V) + (hx : ‖x‖ ≤ ρ) (hy : ‖y‖ ≤ ρ) : + dist (stableWeightedSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero x) + (stableWeightedSource f ρ η ε r hρ hη hε hr hrsmall hlip hzero y) ≤ η * dist x y := by + apply (BoundedContinuousFunction.dist_le (mul_nonneg hη dist_nonneg)).2 + intro n + simpa only [stableWeightedSource, dite_eq_left hx, dite_eq_left hy, + BoundedContinuousFunction.coe_ofNormedAddCommGroupDiscrete] using + stableWeightedSourceTerm_dist_le f ρ η hη hlip x y hx hy n + +section Pair + +variable {E F : Type*} [NormedAddCommGroup E] [NormedAddCommGroup F] + +/-- Package the stable and unstable weighted coordinates into one sequence. -/ +noncomputable def stablePairSequence (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) : ℕ →ᵇ E × F := + BoundedContinuousFunction.ofNormedAddCommGroupDiscrete (fun n => (x.1 n, x.2 n)) ‖x‖ + (fun n => by + change max ‖x.1 n‖ ‖x.2 n‖ ≤ ‖x‖ + exact max_le ((x.1.norm_coe_le_norm n).trans (norm_fst_le x)) + ((x.2.norm_coe_le_norm n).trans (norm_snd_le x))) + +theorem norm_stablePairSequence_le (x : (ℕ →ᵇ E) × (ℕ →ᵇ F)) : + ‖stablePairSequence x‖ ≤ ‖x‖ := by + apply (BoundedContinuousFunction.norm_le (norm_nonneg x)).2 + intro n + change max ‖x.1 n‖ ‖x.2 n‖ ≤ ‖x‖ + exact max_le ((x.1.norm_coe_le_norm n).trans (norm_fst_le x)) + ((x.2.norm_coe_le_norm n).trans (norm_snd_le x)) + +theorem stablePairSequence_dist_le (x y : (ℕ →ᵇ E) × (ℕ →ᵇ F)) : + dist (stablePairSequence x) (stablePairSequence y) ≤ dist x y := by + apply (BoundedContinuousFunction.dist_le dist_nonneg).2 + intro n + change max (dist (x.1 n) (y.1 n)) (dist (x.2 n) (y.2 n)) ≤ dist x y + exact max_le + ((BoundedContinuousFunction.dist_coe_le_dist n).trans (le_max_left _ _)) + ((BoundedContinuousFunction.dist_coe_le_dist n).trans (le_max_right _ _)) + +end Pair + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableProjectionEigenvector.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableProjectionEigenvector.lean new file mode 100644 index 0000000000000000000000000000000000000000..b1d61d63cd47f6c645be71ab1f38189d27e309a1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableProjectionEigenvector.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryGenerator + +namespace OAI + +/-! # Nondecaying eigenvectors lie in the finite contour range -/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS + +theorem stable_projection_fixes_eigenvector + {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + (S : ℝ≥0 → V →L[ℂ] V) (P : V →L[ℂ] V) + (hP : IsIdempotentElem P) (hcomm : ∀ t, Commute (S t) P) + (D δ : ℝ) (hδ : 0 < δ) + (hdecay : ∀ t : ℝ≥0, ∀ v, P v = 0 → ‖S t v‖ ≤ D * Real.exp (-δ * (t : ℝ)) * ‖v‖) + (u : V) (lam : ℝ) (hlam : 0 ≤ lam) + (he : ∀ t : ℝ≥0, S t u = (Real.exp (lam * (t : ℝ)) : ℂ) • u) : P u = u := by + let v := u - P u + have hPv : P v = 0 := by + have hi := congrArg (fun A : V →L[ℂ] V => A u) hP + change P (P u) = P u at hi + simp only [v, map_sub, hi, sub_self] + have hev (t : ℝ≥0) : S t v = (Real.exp (lam * (t : ℝ)) : ℂ) • v := by + have hc := congrArg (fun A : V →L[ℂ] V => A u) (hcomm t).eq + change S t (P u) = P (S t u) at hc + simp only [v, map_sub, hc, he, map_smul, smul_sub] + have hlim : Tendsto (fun t : ℝ => D * Real.exp (-δ * t)) atTop (𝓝 0) := by + simpa only [Function.comp_def, id_eq, mul_zero] using tendsto_const_nhds.mul + (Real.tendsto_exp_atBot.comp (tendsto_id.const_mul_atTop_of_neg (neg_neg_of_pos hδ))) + obtain ⟨t, ht, hsmall⟩ := ((eventually_ge_atTop (0 : ℝ)).and + (hlim.eventually (gt_mem_nhds (show (0 : ℝ) < 1 by norm_num)))).exists + have hbd := hdecay ⟨t, ht⟩ v hPv + rw [hev ⟨t, ht⟩, norm_smul, Complex.norm_real, Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _)] at hbd + have hlarge : 1 ≤ Real.exp (lam * t) := Real.one_le_exp_iff.mpr (mul_nonneg hlam ht) + change Real.exp (lam * t) * ‖v‖ ≤ (D * Real.exp (-δ * t)) * ‖v‖ at hbd + have hv : v = 0 := by + by_contra hne + have hn : 0 < ‖v‖ := norm_pos_iff.mpr hne + have hle : ‖v‖ ≤ Real.exp (lam * t) * ‖v‖ := by + simpa only [one_mul] using mul_le_mul_of_nonneg_right hlarge hn.le + have hlt : (D * Real.exp (-δ * t)) * ‖v‖ < ‖v‖ := by + simpa only [one_mul] using mul_lt_mul_of_pos_right hsmall hn + exact (lt_irrefl ‖v‖) ((hle.trans hbd).trans_lt hlt) + exact (sub_eq_zero.mp hv).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableSmallRemainderContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableSmallRemainderContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..4971f64affa7ad6fd4fcc5510a9368d09b74104e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableSmallRemainderContinuity.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableEndpointContinuity + +namespace OAI + +/-! # Continuous stable endpoints from the quantitative small-remainder bounds -/ + +namespace DefocusingNLS + +variable {P E F : Type*} [TopologicalSpace P] + [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] + [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] + +theorem exists_continuous_stableGraph_small_remainder + (ζ : P → ℕ → F →L[ℝ] E) (π : P → ℕ → E →L[ℝ] F) + (A : P → ℕ → E →L[ℝ] E) (D R : F →L[ℝ] F) + (hR : ‖R‖ ≤ 1) (hinv : ∀ v, D (R v) = v) + (hπζ : ∀ p n v, π p n (ζ p n v) = v) + (hA : ∀ p n, ‖stableProjectedBlock (ζ p n) (ζ p (n + 1)) + (π p n) (π p (n + 1)) (A p n)‖ ≤ 1 / 8) + (hB : ∀ p n, ‖stableMixedBlock (ζ p n) (ζ p (n + 1)) (π p (n + 1)) (A p n)‖ ≤ 1 / 16) + (hζc : ∀ n, Continuous (fun q : P × F => ζ q.1 n q.2)) + (hπc : ∀ n, Continuous (fun q : P × E => π q.1 n q.2)) + (hAc : ∀ n, Continuous (fun q : P × E => A q.1 n q.2)) + (C ρ ε r : ℝ) (hC : 0 < C) (hρ : 0 ≤ ρ) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hζ : ∀ p n, ‖ζ p n‖ ≤ 1) (hπ : ∀ p n, ‖π p n‖ ≤ C) + (hP : ∀ p n, ‖stableFrameProjection (ζ p n) (π p n)‖ ≤ C) + (he : ∀ p n, ‖(π p (n + 1)).comp (A p n) - D.comp (π p n)‖ ≤ 1 / 128) + (h : P → ℕ → E → E) + (hhc : ∀ n, Continuous (fun q : P × {v : E // ‖v‖ ≤ 2 * ρ} => h q.1 n q.2.1)) + (hlip : ∀ p n v u, ‖v‖ ≤ 2 * ρ → ‖u‖ ≤ 2 * ρ → + ‖h p n v - h p n u‖ ≤ (1 / (128 * (C + 1))) * ‖v - u‖) + (hzero : ∀ p n, ‖h p n 0‖ ≤ ε * r ^ n) + (w : P → E) (hw : Continuous w) (hwker : ∀ p, π p 0 (w p) = 0) + (hsmall : ∀ p, ‖w p‖ + 2 * (C * ε) ≤ ρ / 2) : + ∃ z : P → ℕ → E, (∀ n, Continuous (fun p => z p n)) ∧ + (∀ p, stableFrameProjection (ζ p 0) (π p 0) (z p 0) = w p) ∧ + (∀ p n, z p (n + 1) = A p n (z p n) + h p n (z p n)) ∧ + (∀ p n, ‖z p n‖ ≤ (4 * (‖w p‖ + 2 * (C * ε))) * (1 / 2 : ℝ) ^ n) := by + have hκ : 0 ≤ 1 / (128 * (C + 1)) := by positivity + have hCκ : C * (1 / (128 * (C + 1))) ≤ 1 / 128 := by + rw [one_div, ← div_eq_mul_inv] + apply (div_le_iff₀ (by positivity)).mpr + nlinarith + have hN (p : P) (n : ℕ) (v u : E × F) (hv : ‖v‖ ≤ ρ) (hu : ‖u‖ ≤ ρ) := + stableFramePointSources_lipschitz (ζ p) (π p) (A p) D (h p) 1 C C (1 / 128) + (1 / (128 * (C + 1))) ρ (2 * ρ) zero_le_one hC.le hC.le (by norm_num) hκ + (hζ p) (fun n => hP p (n + 1)) (fun n => hπ p (n + 1)) (he p) + (by ring_nf; rfl) (hlip p) n v u hv hu + have hz (p : P) (n : ℕ) := stableFramePointSources_zero (ζ p) (π p) (A p) D (h p) + C C ε r hC.le hC.le (fun n => hP p (n + 1)) (fun n => hπ p (n + 1)) (hzero p) n + have hhc' : ∀ n, Continuous + (fun q : P × {v : E // ‖v‖ ≤ (1 + (1 : ℝ)) * ρ} => h q.1 n q.2.1) := by + rw [show (1 + (1 : ℝ)) * ρ = 2 * ρ by ring] + exact hhc + obtain ⟨z, hzc, hz0, hzstep, hzb⟩ := exists_continuous_stableGraph_endpoints ζ π A D R + hR hinv hπζ hA hB hζc hπc hAc h w hw hwker ρ (C * ε) 1 r hρ + (mul_nonneg hC.le hε) zero_le_one hr hrsmall hζ hhc' + (fun p n v u hv hu => (hN p n v u hv hu).1.trans + (mul_le_mul_of_nonneg_right (by nlinarith : C * (1 / (128 * (C + 1))) * (1 + 1) ≤ 1 / 16) + (norm_nonneg _))) + (fun p n v u hv hu => (hN p n v u hv hu).2.trans + (mul_le_mul_of_nonneg_right (by nlinarith : + (1 / 128 + C * (1 / (128 * (C + 1)))) * (1 + 1) ≤ 1 / 16) (norm_nonneg _))) + (fun p n => (hz p n).1) (fun p n => (hz p n).2) hsmall + refine ⟨z, hzc, hz0, hzstep, fun p n => (hzb p n).trans_eq ?_⟩ + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableWeightedContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableWeightedContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..45d09e630aa17fdefc839e121a0b33acea351064 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableWeightedContinuity.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableGraphPointSources + +namespace OAI + +/-! # Coordinate continuity of the actual weighted point sources -/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +theorem continuous_stableWeightedPairSource_coordinate + {P E F W : Type*} [TopologicalSpace P] + [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + [NormedAddCommGroup W] [NormedSpace ℝ W] + (f : P → ℕ → E × F → W) + (hf : ∀ n, Continuous (fun z : P × (E × F) => f z.1 n z.2)) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hlip : ∀ p n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → + ‖f p n v - f p n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ p n, ‖f p n 0‖ ≤ ε * r ^ n) + (x : P → (ℕ →ᵇ E) × (ℕ →ᵇ F)) (hx : ∀ p, ‖x p‖ ≤ ρ) + (hxc : ∀ n, Continuous (fun p => (x p).1 n)) + (hyc : ∀ n, Continuous (fun p => (x p).2 n)) (n : ℕ) : + Continuous (fun p => stableWeightedPairSource (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) n) := by + have hscale : (2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n = 1 := by + rw [← mul_pow] + norm_num + have he (p : P) : stableWeightedPairSource (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) n = + (2 : ℝ) ^ n • f p n ((1 / 2 : ℝ) ^ n • (x p).1 n, (1 / 2 : ℝ) ^ n • (x p).2 n) := by + have hv := stableWeightedPairSource_value (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) (hx p) n + calc + _ = ((2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n) • + stableWeightedPairSource (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) n := by rw [hscale, one_smul] + _ = _ := by rw [mul_smul]; exact congrArg ((2 : ℝ) ^ n • ·) hv + simp_rw [he] + exact continuous_const.smul ((hf n).comp (continuous_id.prodMk + ((continuous_const.smul (hxc n)).prodMk (continuous_const.smul (hyc n))))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableWeightedLocalContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableWeightedLocalContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..9fe9b11deccf81b26ce5b881412d97055ec15d6b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StableWeightedLocalContinuity.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.StableWeightedContinuity + +namespace OAI + +/-! # Weighted-source continuity only on the ball used by the contraction -/ + +open scoped BoundedContinuousFunction + +namespace DefocusingNLS + +theorem continuous_stableWeightedPairSource_local + {P E F W : Type*} [TopologicalSpace P] + [NormedAddCommGroup E] [NormedSpace ℝ E] + [NormedAddCommGroup F] [NormedSpace ℝ F] + [NormedAddCommGroup W] [NormedSpace ℝ W] + (f : P → ℕ → E × F → W) + (ρ η ε r : ℝ) (hρ : 0 ≤ ρ) (hη : 0 ≤ η) (hε : 0 ≤ ε) + (hr : 0 ≤ r) (hrsmall : 2 * r ≤ 1) + (hf : ∀ n, Continuous (fun z : P × {v : E × F // ‖v‖ ≤ ρ} => f z.1 n z.2.1)) + (hlip : ∀ p n v w, ‖v‖ ≤ ρ → ‖w‖ ≤ ρ → + ‖f p n v - f p n w‖ ≤ η * ‖v - w‖) + (hzero : ∀ p n, ‖f p n 0‖ ≤ ε * r ^ n) + (x : P → (ℕ →ᵇ E) × (ℕ →ᵇ F)) (hx : ∀ p, ‖x p‖ ≤ ρ) + (hxc : ∀ n, Continuous (fun p => (x p).1 n)) + (hyc : ∀ n, Continuous (fun p => (x p).2 n)) (n : ℕ) : + Continuous (fun p => stableWeightedPairSource (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) n) := by + let v := fun p => (stableSequenceValue (x p).1 n, stableSequenceValue (x p).2 n) + have hv : ∀ p, ‖v p‖ ≤ ρ := by + intro p + exact stableSequenceValue_norm_le ρ (stablePairSequence (x p)) + ((norm_stablePairSequence_le _).trans (hx p)) n + have hvc : Continuous v := + (continuous_const.smul (hxc n)).prodMk (continuous_const.smul (hyc n)) + have hfc : Continuous (fun p => f p n (v p)) := + (hf n).comp (continuous_id.prodMk (hvc.subtype_mk hv)) + have hscale : (2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n = 1 := by + rw [← mul_pow] + norm_num + have he (p : P) : stableWeightedPairSource (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) n = (2 : ℝ) ^ n • f p n (v p) := by + have hh := stableWeightedPairSource_value (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) (hx p) n + calc + _ = ((2 : ℝ) ^ n * (1 / 2 : ℝ) ^ n) • + stableWeightedPairSource (f p) ρ η ε r + hρ hη hε hr hrsmall (hlip p) (hzero p) (x p) n := by rw [hscale, one_smul] + _ = _ := by rw [mul_smul]; exact congrArg ((2 : ℝ) ^ n • ·) hh + simp_rw [he] + exact continuous_const.smul hfc + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StrongOperatorDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StrongOperatorDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..81ca833663be54c6f8e2d4cfac182199016f50e2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/StrongOperatorDerivative.lean @@ -0,0 +1,31 @@ +import Mathlib.Analysis.Calculus.Deriv.Slope +import Mathlib.Analysis.Normed.Operator.ContinuousLinearMap + +namespace OAI + +/-! # Differentiating a strongly continuous family on a varying vector -/ + +open Filter Set Topology + +namespace DefocusingNLS + +theorem hasDerivWithinAt_strong_apply + {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + [NormedAddCommGroup W] [NormedSpace ℝ W] + (A : ℝ → V →L[ℝ] W) (v : ℝ → V) (dv : V) (w : W) + (hA : Continuous (fun p : ℝ × V => A p.1 p.2)) + (hv : HasDerivWithinAt v dv (Ici 0) 0) + (hw : HasDerivWithinAt (fun t => A t (v 0)) w (Ici 0) 0) : + HasDerivWithinAt (fun t => A t (v t)) (w + A 0 dv) (Ici 0) 0 := by + rw [hasDerivWithinAt_iff_tendsto_slope] at hv hw ⊢ + have ht : Tendsto (fun t : ℝ => t) (𝓝[Ici 0 \ {0}] 0) (𝓝 0) := + nhdsWithin_le_nhds + have hlim := hw.add ((hA.tendsto (0, dv)).comp (ht.prodMk_nhds hv)) + apply hlim.congr' + filter_upwards [] with t + simp only [Function.comp_apply, slope_def_module, sub_zero, map_smul, map_sub] + module + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SymmetryRangeGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SymmetryRangeGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..41f29f8e602613229656b9703c2f31f8e1596ca0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/SymmetryRangeGenerator.lean @@ -0,0 +1,22 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryGenerator + +namespace OAI + +/-! # The diagonal generator data on a fixed contour range -/ + +open scoped NNReal + +namespace DefocusingNLS + +variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] + +def HasSymmetryRangeGenerator (S : ℝ≥0 → V →L[ℂ] V) (P : V →L[ℂ] V) + (hcomm : ∀ t, Commute (S t) P) : Prop := + ∃ G : P.range →L[ℂ] P.range, + (∀ t, projectionSemigroupRestriction S P hcomm t = NormedSpace.exp ((t : ℝ) • G)) ∧ + (∀ (lam : ℂ) (u : P.range), u ≠ 0 → G u = lam • u → lam = 0 ∨ lam = 1 ∨ lam = 1 / 2) ∧ + (⨆ lam : ℂ, Module.End.eigenspace G.toLinearMap lam) = ⊤ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusCoefficients.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusCoefficients.lean new file mode 100644 index 0000000000000000000000000000000000000000..5f6795e99ace53c50d3d49b0d2f84ecf381e23b6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusCoefficients.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzPhysicalSampling + +namespace OAI + +/-! # Recovering the physical coefficients from the continuous Fourier series -/ + +open MeasureTheory +open scoped RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "T" => UnitAddTorus (Fin 12) + +noncomputable local instance : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ +local instance : IsProbabilityMeasure (volume : Measure UnitAddCircle) := + inferInstanceAs (IsProbabilityMeasure AddCircle.haarAddCircle) + +noncomputable def unitTorusCoefficient (n : Fin 12 → ℤ) : C(T, ℂ) →L[ℂ] ℂ := + (innerSL ℂ (UnitAddTorus.mFourierLp 2 n)).comp + (ContinuousMap.toLp 2 volume ℂ) + +theorem unitTorusCoefficient_apply (n : Fin 12 → ℤ) (f : C(T, ℂ)) : + unitTorusCoefficient n f = UnitAddTorus.mFourierCoeff f n := by + change inner ℂ (UnitAddTorus.mFourierLp 2 n) (ContinuousMap.toLp 2 volume ℂ f) = _ + rw [← UnitAddTorus.coe_mFourierBasis] + rw [← HilbertBasis.repr_apply_apply, UnitAddTorus.mFourierBasis_repr, + UnitAddTorus.mFourierCoeff_toLp] + +theorem unitTorusCoefficient_mFourier (n m : Fin 12 → ℤ) : + unitTorusCoefficient n (UnitAddTorus.mFourier m) = if n = m then 1 else 0 := by + change inner ℂ (UnitAddTorus.mFourierLp 2 n) (UnitAddTorus.mFourierLp 2 m) = _ + exact (orthonormal_iff_ite.mp UnitAddTorus.orthonormal_mFourier) n m + +noncomputable def expandingUnitTorusTerm (a k L : ℝ) (f : FourierL2) + (n : frequencyLattice) : C(T, ℂ) := + expandingFourierCoefficient a k L f n • UnitAddTorus.mFourier (frequencyCoordinates n) + +theorem summable_expandingUnitTorusTerm (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (f : FourierL2) : + Summable (expandingUnitTorusTerm a k L f) := by + apply Summable.of_norm + simpa only [expandingUnitTorusTerm, norm_smul, UnitAddTorus.mFourier_norm, mul_one] using + summable_norm_expandingFourierCoefficient a k L ha ha1 hk hL f + +noncomputable def expandingUnitTorusFunction (a k L : ℝ) (f : FourierL2) : C(T, ℂ) := + ∑' n, expandingUnitTorusTerm a k L f n + +theorem expandingUnitTorusFunction_coefficient (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (f : FourierL2) (n : frequencyLattice) : + unitTorusCoefficient (frequencyCoordinates n) (expandingUnitTorusFunction a k L f) = + expandingFourierCoefficient a k L f n := by + classical + have h := (summable_expandingUnitTorusTerm a k L ha ha1 hk hL f).hasSum.mapL + (unitTorusCoefficient (frequencyCoordinates n)) + have he (m : frequencyLattice) : + unitTorusCoefficient (frequencyCoordinates n) (expandingUnitTorusTerm a k L f m) = + if m = n then expandingFourierCoefficient a k L f n else 0 := by + simp only [expandingUnitTorusTerm, map_smul, unitTorusCoefficient_mFourier, + smul_eq_mul] + by_cases hmn : m = n + · subst m + simp + · have hnm : frequencyCoordinates n ≠ frequencyCoordinates m := by + intro heq + exact hmn (frequencyCoordinatesEquiv.injective heq.symm) + simp [hnm, hmn] + simp_rw [he] at h + simpa [expandingUnitTorusFunction] using h.tsum_eq.symm + +theorem expandingUnitTorusFunction_projection (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (f : FourierL2) (x : E) : + expandingUnitTorusFunction a k L f (unitTorusProjection x) = + expandingTorusFunction a k L f (euclideanToTorus ((2 * Real.pi) • x)) := by + have hs := (summable_expandingUnitTorusTerm a k L ha ha1 hk hL f).hasSum.mapL + (ContinuousMap.evalCLM (R := ℂ) (unitTorusProjection x)) + have he (n : frequencyLattice) : + UnitAddTorus.mFourier (frequencyCoordinates n) (unitTorusProjection x) = + torusCharacter n (euclideanToTorus ((2 * Real.pi) • x)) := by + change integerFourierCharacter n x = _ + rw [integerFourierCharacter_exp, torusCharacter_euclidean] + simp only [spatialFourierCharacter, real_inner_smul_left] + rw [expandingTorusFunction_apply a k L ha ha1 hk hL] + exact hs.tsum_eq.symm.trans (tsum_congr fun n => by + change expandingFourierCoefficient a k L f n * + UnitAddTorus.mFourier (frequencyCoordinates n) (unitTorusProjection x) = _ + rw [he]) + +theorem expandingFourierCoefficient_eq_of_torus_eq (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + (f g : FourierL2) + (hfg : ∀ x : E, expandingTorusFunction a k L f (euclideanToTorus x) = + expandingTorusFunction a k L g (euclideanToTorus x)) (n : frequencyLattice) : + expandingFourierCoefficient a k L f n = expandingFourierCoefficient a k L g n := by + have he : expandingUnitTorusFunction a k L f = expandingUnitTorusFunction a k L g := by + ext y + obtain ⟨x, rfl⟩ := unitTorusProjection_isOpenQuotientMap.surjective y + rw [expandingUnitTorusFunction_projection a k L ha ha1 hk hL, + expandingUnitTorusFunction_projection a k L ha ha1 hk hL] + exact hfg _ + rw [← expandingUnitTorusFunction_coefficient a k L ha ha1 hk hL f n, + ← expandingUnitTorusFunction_coefficient a k L ha ha1 hk hL g n, he] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusPhysical.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusPhysical.lean new file mode 100644 index 0000000000000000000000000000000000000000..898d74d7d912590d63031d364c191a11178d150f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusPhysical.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.UnitTorusCoefficients +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingSmoothFilter + +namespace OAI + +/-! # The exact physical scaling of continuous functions on the unit torus -/ + +open scoped SchwartzMap + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem expandingUnitTorusFunction_physical (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (f : FourierL2) (y : E) : + expandingUnitTorusFunction a k L f (unitTorusProjection ((2 * Real.pi * L)⁻¹ • y)) = + expandingPhysicalContinuous a k L ha ha1 hk hL f y := by + rw [expandingUnitTorusFunction_projection a k L ha ha1 hk hL, + expandingPhysicalContinuous_apply] + congr 2 + rw [smul_smul] + congr 1 + field_simp + +theorem expandingUnitTorusFunction_sample (a k L : ℝ) + (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) (K : 𝓢(E, ℂ)) : + expandingUnitTorusFunction a k L + (schwartzTorusSample a k L ha1 hk hL (radianFourierKernel K)) = + schwartzPeriodizedTorus (periodizationRescale L (by linarith) K) := by + ext x + obtain ⟨y, rfl⟩ := unitTorusProjection_isOpenQuotientMap.surjective x + rw [expandingUnitTorusFunction_projection a k L ha ha1 hk hL, + schwartzPeriodizedTorus_projection, schwartzPeriodization_apply] + have hy : (2 * Real.pi) • y = L⁻¹ • ((2 * Real.pi * L) • y) := by + rw [smul_smul] + congr 1 + field_simp + rw [hy, schwartzTorusSample_physical a k L ha ha1 hk hL] + apply tsum_congr + intro n + rw [periodizationRescale_apply, smul_add] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusPolynomial.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusPolynomial.lean new file mode 100644 index 0000000000000000000000000000000000000000..7c77f3680f904b78c560a09d46606d982a9186b6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/UnitTorusPolynomial.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPolynomial + +namespace OAI + +/-! # Polynomial identities in the physical unit-torus realization -/ + +namespace DefocusingNLS + +local notation "T" => UnitAddTorus (Fin 12) + +variable (a k L : ℝ) (ha : 0 < a) (ha1 : a < 1) (hk : 8 < k) (hL : 1 ≤ L) + +theorem expandingUnitTorusFunction_product (f g : FourierL2) : + expandingUnitTorusFunction a k L (expandingProduct a k L ha ha1 hk hL f g) = + expandingUnitTorusFunction a k L f * expandingUnitTorusFunction a k L g := by + ext t + obtain ⟨x, rfl⟩ := unitTorusProjection_isOpenQuotientMap.surjective t + simp only [ContinuousMap.mul_apply, expandingUnitTorusFunction_projection a k L ha ha1 hk hL, + expandingTorusFunction_product a k L ha ha1 hk hL] + +include ha ha1 hk hL in +theorem expandingUnitTorusFunction_smul (c : ℂ) (f : FourierL2) : + expandingUnitTorusFunction a k L (c • f) = c • expandingUnitTorusFunction a k L f := by + ext t + obtain ⟨x, rfl⟩ := unitTorusProjection_isOpenQuotientMap.surjective t + simp only [ContinuousMap.smul_apply, expandingUnitTorusFunction_projection a k L ha ha1 hk hL, + expandingTorusFunction_eq_evaluation a k L ha ha1 hk hL, map_smul] + +include ha ha1 hk hL in +theorem expandingUnitTorusFunction_conjugate (f : FourierL2) : + expandingUnitTorusFunction a k L (fourierConjugate f) = star (expandingUnitTorusFunction a k L f) := by + ext t + obtain ⟨x, rfl⟩ := unitTorusProjection_isOpenQuotientMap.surjective t + simp only [ContinuousMap.star_apply, expandingUnitTorusFunction_projection a k L ha ha1 hk hL, + expandingTorusFunction_conjugate a k L ha ha1 hk hL, starRingEnd_apply] + +theorem expandingUnitTorusFunction_power (f : FourierL2) (m : ℕ) : + expandingUnitTorusFunction a k L (expandingPower a k L ha ha1 hk hL f m) = + (expandingUnitTorusFunction a k L f) ^ m := by + ext t + obtain ⟨x, rfl⟩ := unitTorusProjection_isOpenQuotientMap.surjective t + simp only [ContinuousMap.pow_apply, expandingUnitTorusFunction_projection a k L ha ha1 hk hL, + expandingPower_function a k L ha ha1 hk hL] + +theorem expandingCircular_unit (m : ℕ) (q : FourierL2) (t : T) : + expandingUnitTorusFunction a k L (expandingCircularCoefficient a k L ha ha1 hk hL m q) t = + ((m + 1 : ℕ) : ℂ) * (expandingUnitTorusFunction a k L q t) ^ m * + star (expandingUnitTorusFunction a k L q t) ^ m := by + simp only [expandingCircularCoefficient, expandingUnitTorusFunction_smul a k L ha ha1 hk hL, + expandingUnitTorusFunction_product a k L ha ha1 hk hL, + expandingUnitTorusFunction_power a k L ha ha1 hk hL, + expandingUnitTorusFunction_conjugate a k L ha ha1 hk hL, + ContinuousMap.smul_apply, ContinuousMap.mul_apply, ContinuousMap.pow_apply, + ContinuousMap.star_apply, smul_eq_mul] + ring + +theorem expandingAnticircular_unit (m : ℕ) (q : FourierL2) (t : T) : + expandingUnitTorusFunction a k L (expandingAnticircularCoefficient a k L ha ha1 hk hL m q) t = + (m : ℂ) * (expandingUnitTorusFunction a k L q t) ^ (m + 1) * + star (expandingUnitTorusFunction a k L q t) ^ (m - 1) := by + simp only [expandingAnticircularCoefficient, expandingUnitTorusFunction_smul a k L ha ha1 hk hL, + expandingUnitTorusFunction_product a k L ha ha1 hk hL, + expandingUnitTorusFunction_power a k L ha ha1 hk hL, + expandingUnitTorusFunction_conjugate a k L ha ha1 hk hL, + ContinuousMap.smul_apply, ContinuousMap.mul_apply, ContinuousMap.pow_apply, + ContinuousMap.star_apply, smul_eq_mul] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/WeightedEnergyEstimate.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/WeightedEnergyEstimate.lean new file mode 100644 index 0000000000000000000000000000000000000000..66be55c8d07893b167db4c437f5147dfe061d72b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/WeightedEnergyEstimate.lean @@ -0,0 +1,65 @@ +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! # The integrating factor estimate for a continuously forced energy -/ + +open Set MeasureTheory + +namespace DefocusingNLS + +theorem weighted_energy_estimate (F D H : ℝ → ℝ) (c t : ℝ) (ht : 0 ≤ t) + (hF : Continuous F) (hD : Continuous D) (hH : Continuous H) + (hd : ∀ s ∈ Ioo 0 t, HasDerivAt F (D s) s) + (hbound : ∀ s ∈ Icc 0 t, D s ≤ -c * F s + H s) : + Real.exp (c * t) * F t ≤ F 0 + ∫ s in (0 : ℝ)..t, Real.exp (c * s) * H s := by + let G := fun s => Real.exp (c * s) * F s + let Gd := fun s => Real.exp (c * s) * (c * F s + D s) + have hG : Continuous G := (Real.continuous_exp.comp (continuous_const.mul continuous_id)).mul hF + have hGd : Continuous Gd := + (Real.continuous_exp.comp (continuous_const.mul continuous_id)).mul ((continuous_const.mul hF).add hD) + have hGderiv (s : ℝ) (hs : s ∈ Ioo 0 t) : HasDerivAt G (Gd s) s := by + have he := ((hasDerivAt_id s).const_mul c).exp.mul (hd s hs) + convert he using 1 + · rfl + · dsimp [Gd] + ring + have hi := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le ht hG.continuousOn hGderiv + (hGd.intervalIntegrable 0 t) + have hmaj : Continuous (fun s => Real.exp (c * s) * H s) := + (Real.continuous_exp.comp (continuous_const.mul continuous_id)).mul hH + have hb : (∫ s in (0 : ℝ)..t, Gd s) ≤ ∫ s in (0 : ℝ)..t, Real.exp (c * s) * H s := by + apply intervalIntegral.integral_mono_on ht (hGd.intervalIntegrable 0 t) (hmaj.intervalIntegrable 0 t) + intro s hs + apply mul_le_mul_of_nonneg_left _ (Real.exp_pos _).le + linarith [hbound s hs] + dsimp only [G] at hi + simp only [mul_zero, Real.exp_zero, one_mul] at hi + linarith + +theorem energy_decay_estimate (F D H : ℝ → ℝ) (c t : ℝ) (ht : 0 ≤ t) + (hF : Continuous F) (hD : Continuous D) (hH : Continuous H) + (hd : ∀ s ∈ Ioo 0 t, HasDerivAt F (D s) s) + (hbound : ∀ s ∈ Icc 0 t, D s ≤ -c * F s + H s) : + F t ≤ Real.exp (-c * t) * F 0 + + ∫ s in (0 : ℝ)..t, Real.exp (-c * (t - s)) * H s := by + have hw := mul_le_mul_of_nonneg_left + (weighted_energy_estimate F D H c t ht hF hD hH hd hbound) (Real.exp_pos (-c * t)).le + have hcancel : Real.exp (-c * t) * Real.exp (c * t) = 1 := by + rw [← Real.exp_add] + have he : -c * t + c * t = 0 := by ring + rw [he, Real.exp_zero] + rw [← mul_assoc, hcancel, one_mul, mul_add, ← intervalIntegral.integral_const_mul] at hw + convert hw using 1 + congr 1 + apply intervalIntegral.integral_congr + intro s _ + dsimp only + rw [← mul_assoc, ← Real.exp_add] + congr 2 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianDirectionalCalculus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianDirectionalCalculus.lean new file mode 100644 index 0000000000000000000000000000000000000000..1c5769aeb0ec1ae54a3368d8241e3726fc037ee9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianDirectionalCalculus.lean @@ -0,0 +1,96 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianCalculus +import Mathlib.Analysis.Calculus.FDeriv.Symmetric + +namespace OAI + +/-! Constant Cartesian derivatives commute with each other and the Laplacian. -/ + +open scoped ContDiff Laplacian +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def cartesianDerivative (v : E) (f : E → ℂ) (x : E) : ℂ := + fderiv ℝ f x v + +theorem cartesianDerivative_contDiff (f : E → ℂ) (hf : ContDiff ℝ ∞ f) (v : E) : + ContDiff ℝ ∞ (cartesianDerivative v f) := + (contDiff_infty_iff_fderiv.mp hf).2.clm_apply contDiff_const + +theorem cartesianDerivative_second (f : E → ℂ) (hf : ContDiff ℝ ∞ f) + (x v w : E) : + cartesianDerivative v (cartesianDerivative w f) x= + fderiv ℝ (fderiv ℝ f) x v w := by + have hd := (contDiff_infty_iff_fderiv.mp hf).2.differentiable (by simp) x + unfold cartesianDerivative + rw [fderiv_clm_apply hd (differentiableAt_const w)] + simp + +theorem cartesianDerivative_commute (f : E → ℂ) (hf : ContDiff ℝ ∞ f) (v w : E) : + cartesianDerivative v (cartesianDerivative w f)= + cartesianDerivative w (cartesianDerivative v f) := by + funext x + rw [cartesianDerivative_second f hf,cartesianDerivative_second f hf] + exact (hf.contDiffAt.isSymmSndFDerivAt (by simp)).eq v w + +theorem cartesianDerivative_sum (F : Fin 12 → E → ℂ) + (hF : ∀ j, ContDiff ℝ ∞ (F j)) (v : E) : + cartesianDerivative v (fun x => ∑ j : Fin 12, F j x)= + fun x => ∑ j : Fin 12, cartesianDerivative v (F j) x := by + funext x + unfold cartesianDerivative + rw [fderiv_fun_sum (fun j _ => (hF j).differentiable (by simp) x)] + simp + +theorem laplacian_eq_cartesianDerivatives (f : E → ℂ) (hf : ContDiff ℝ ∞ f) : + Δ f=fun x => ∑ j : Fin 12, + cartesianDerivative (EuclideanSpace.basisFun (Fin 12) ℝ j) + (cartesianDerivative (EuclideanSpace.basisFun (Fin 12) ℝ j) f) x := by + funext x + rw [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ)] + apply Finset.sum_congr rfl + intro j _ + exact radial_second_directional_eq f x _ (hf.contDiffAt.of_le (by simp)) + +theorem laplacian_cartesianDerivative (f : E → ℂ) (hf : ContDiff ℝ ∞ f) (v : E) : + Δ (cartesianDerivative v f)=cartesianDerivative v (Δ f) := by + let e := EuclideanSpace.basisFun (Fin 12) ℝ + have hi (j : Fin 12) : + cartesianDerivative (e j) (cartesianDerivative (e j) (cartesianDerivative v f))= + cartesianDerivative v (cartesianDerivative (e j) (cartesianDerivative (e j) f)) := by + rw [cartesianDerivative_commute f hf (e j) v] + exact cartesianDerivative_commute _ (cartesianDerivative_contDiff f hf (e j)) (e j) v + rw [laplacian_eq_cartesianDerivatives _ (cartesianDerivative_contDiff f hf v), + laplacian_eq_cartesianDerivatives f hf, + cartesianDerivative_sum _ (fun j => cartesianDerivative_contDiff _ + (cartesianDerivative_contDiff f hf (e j)) (e j)) v] + funext x + exact Finset.sum_congr rfl (fun j _ => congrFun (hi j) x) + +theorem laplacian_contDiff (f : E → ℂ) (hf : ContDiff ℝ ∞ f) : + ContDiff ℝ ∞ (Δ f) := by + rw [laplacian_eq_cartesianDerivatives f hf] + exact ContDiff.sum fun j _ => cartesianDerivative_contDiff _ + (cartesianDerivative_contDiff f hf (EuclideanSpace.basisFun (Fin 12) ℝ j)) _ + +theorem cartesianDerivative_transport (f : E → ℂ) (hf : ContDiff ℝ ∞ f) (x v : E) : + fderiv ℝ (fun y => fderiv ℝ f y ((1/2 : ℝ) • y)) x v= + fderiv ℝ (cartesianDerivative v f) x ((1/2 : ℝ) • x)+ + (1/2 : ℂ)*cartesianDerivative v f x := by + have hd := (contDiff_infty_iff_fderiv.mp hf).2.differentiable (by simp) x + have hv : HasFDerivAt (fun y : E => (1/2 : ℝ) • y) + ((1/2 : ℝ) • ContinuousLinearMap.id ℝ E) x := + (hasFDerivAt_id (𝕜 := ℝ) x).const_smul (1/2 : ℝ) + rw [fderiv_clm_apply hd hv.differentiableAt,hv.fderiv] + simp only [add_apply,ContinuousLinearMap.comp_apply,ContinuousLinearMap.flip_apply, + smul_apply,ContinuousLinearMap.id_apply,map_smul,Complex.real_smul] + have hs := ((hf.contDiffAt (x := x)).isSymmSndFDerivAt (by simp)).eq v x + have hsecond := cartesianDerivative_second f hf x x v + unfold cartesianDerivative at hsecond ⊢ + rw [hsecond,hs] + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianTransportCalculus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianTransportCalculus.lean new file mode 100644 index 0000000000000000000000000000000000000000..d5d6accf899afdee65870df723dbe11cc3f414ec --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianTransportCalculus.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CartesianDirectionalCalculus + +namespace OAI + +/-! The dilation transport and its exact commutator with the Laplacian. -/ + +open scoped ContDiff Laplacian +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def cartesianTransport (f : E → ℂ) (x : E) : ℂ := + fderiv ℝ f x ((1/2 : ℝ) • x) + +theorem cartesianTransport_contDiff (f : E → ℂ) (hf : ContDiff ℝ ∞ f) : + ContDiff ℝ ∞ (cartesianTransport f) := + (contDiff_infty_iff_fderiv.mp hf).2.clm_apply (contDiff_id.const_smul (1/2 : ℝ)) + +theorem cartesianDerivative_cartesianTransport (f : E → ℂ) (hf : ContDiff ℝ ∞ f) + (v : E) : + cartesianDerivative v (cartesianTransport f)=fun x => + cartesianTransport (cartesianDerivative v f) x+ + (1/2 : ℂ)*cartesianDerivative v f x := by + funext x + exact cartesianDerivative_transport f hf x v + +theorem cartesianTransport_sum (F : Fin 12 → E → ℂ) + (hF : ∀ j, ContDiff ℝ ∞ (F j)) : + cartesianTransport (fun x => ∑ j : Fin 12, F j x)= + fun x => ∑ j : Fin 12, cartesianTransport (F j) x := by + funext x + exact congrFun (cartesianDerivative_sum F hF ((1/2 : ℝ) • x)) x + +theorem cartesianDerivative_twice_transport (f : E → ℂ) (hf : ContDiff ℝ ∞ f) + (v x : E) : + cartesianDerivative v (cartesianDerivative v (cartesianTransport f)) x= + cartesianTransport (cartesianDerivative v (cartesianDerivative v f)) x+ + cartesianDerivative v (cartesianDerivative v f) x := by + have hd := cartesianDerivative_contDiff f hf v + have ht := cartesianTransport_contDiff (cartesianDerivative v f) hd + rw [cartesianDerivative_cartesianTransport f hf v] + have hs : cartesianDerivative v (fun y => + cartesianTransport (cartesianDerivative v f) y+ + (1/2 : ℂ)*cartesianDerivative v f y) x= + cartesianDerivative v (cartesianTransport (cartesianDerivative v f)) x+ + (1/2 : ℂ)*cartesianDerivative v (cartesianDerivative v f) x := by + change fderiv ℝ (fun y => cartesianTransport (cartesianDerivative v f) y+ + (1/2 : ℂ)*cartesianDerivative v f y) x v= + fderiv ℝ (cartesianTransport (cartesianDerivative v f)) x v+ + (1/2 : ℂ)*fderiv ℝ (cartesianDerivative v f) x v + rw [fderiv_fun_add (ht.differentiable (by simp) x) + ((hd.differentiable (by simp) x).const_mul (1/2 : ℂ)), + fderiv_const_mul (hd.differentiable (by simp) x)] + simp only [add_apply,smul_apply,smul_eq_mul] + rw [hs,cartesianDerivative_cartesianTransport _ hd v] + dsimp only + ring + +theorem laplacian_cartesianTransport (f : E → ℂ) (hf : ContDiff ℝ ∞ f) : + Δ (cartesianTransport f)=fun x => cartesianTransport (Δ f) x+Δ f x := by + let e := EuclideanSpace.basisFun (Fin 12) ℝ + rw [laplacian_eq_cartesianDerivatives _ (cartesianTransport_contDiff f hf)] + have hi (x : E) : + (∑ j : Fin 12, cartesianDerivative (e j) + (cartesianDerivative (e j) (cartesianTransport f)) x)= + (∑ j : Fin 12, cartesianTransport + (cartesianDerivative (e j) (cartesianDerivative (e j) f)) x)+ + ∑ j : Fin 12, cartesianDerivative (e j) (cartesianDerivative (e j) f) x := by + simp_rw [cartesianDerivative_twice_transport f hf] + exact Finset.sum_add_distrib + funext x + rw [hi] + rw [laplacian_eq_cartesianDerivatives f hf, + cartesianTransport_sum _ (fun j => cartesianDerivative_contDiff _ + (cartesianDerivative_contDiff f hf (e j)) (e j))] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianTransportSymbol.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianTransportSymbol.lean new file mode 100644 index 0000000000000000000000000000000000000000..b6c1f8027bedf466cb2ef107848d4d696e8df898 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CartesianTransportSymbol.lean @@ -0,0 +1,100 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousProfileDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CartesianTransportCalculus + +namespace OAI + +/-! # Dilation transport preserves the finite-order symbol bounds -/ + +open scoped ContDiff +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +private theorem halfIdentity_fderiv : + fderiv ℝ (fun y : E => (1 / 2 : ℝ) • y) = + fun _ => (1 / 2 : ℝ) • ContinuousLinearMap.id ℝ E := by + funext x + exact ((hasFDerivAt_id x).const_smul (1 / 2 : ℝ)).fderiv + +private theorem halfIdentity_higher_norm (j : ℕ) (hj : 2 ≤ j) (x : E) : + ‖iteratedFDeriv ℝ j (fun y : E => (1 / 2 : ℝ) • y) x‖ = 0 := by + obtain ⟨n, rfl⟩ := Nat.exists_eq_add_of_le hj + rw [show 2 + n = (n + 1) + 1 by omega, ← norm_iteratedFDeriv_fderiv, + halfIdentity_fderiv, iteratedFDeriv_succ_const] + simp only [Pi.zero_apply, norm_zero] + +private theorem halfIdentity_first_norm (x : E) : + ‖iteratedFDeriv ℝ 1 (fun y : E => (1 / 2 : ℝ) • y) x‖ ≤ 1 := by + rw [norm_iteratedFDeriv_one, halfIdentity_fderiv, norm_smul] + norm_num + +private theorem halfIdentity_zero_norm (x : E) : + ‖iteratedFDeriv ℝ 0 (fun y : E => (1 / 2 : ℝ) • y) x‖ ≤ ‖x‖ := by + rw [norm_iteratedFDeriv_zero, norm_smul] + norm_num + linarith [norm_nonneg x] + +theorem cartesianTransport_global_symbol (a : ℝ) (Q : E → ℂ) + (hQ : ContDiff ℝ ∞ Q) + (hsymbol : ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n Q y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ))) : + ∀ n : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ n (cartesianTransport Q) y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ)) := by + intro n + obtain ⟨D₀, hD₀, hb₀⟩ := hsymbol n + obtain ⟨D₁, hD₁, hb₁⟩ := hsymbol (n + 1) + let D := max D₀ D₁ + let C := ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) + refine ⟨C * D, mul_nonneg (Finset.sum_nonneg (fun _ _ => Nat.cast_nonneg _)) + (hD₀.trans (le_max_left _ _)), ?_⟩ + intro y hy + have hyr : 0 < ‖y‖ := norm_pos_iff.mpr hy + have hprod := norm_iteratedFDeriv_clm_apply (contDiff_infty_iff_fderiv.mp hQ).2 + (contDiff_id.const_smul (1 / 2 : ℝ)) y (by simp : (n : ℕ∞ω) ≤ ∞) + simp only [id_eq] at hprod + change ‖iteratedFDeriv ℝ n (cartesianTransport Q) y‖ ≤ _ at hprod + apply hprod.trans + calc + _ ≤ ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * (D * ‖y‖ ^ (-2 * a - (n : ℝ))) := by + apply Finset.sum_le_sum + intro i hi + have hin : i ≤ n := Nat.le_of_lt_succ (Finset.mem_range.mp hi) + by_cases h0 : n - i = 0 + · have hi_eq : i = n := by omega + subst i + rw [Nat.sub_self] + have hb : ‖iteratedFDeriv ℝ n (fderiv ℝ Q) y‖ ≤ D * ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ)) := by + rw [norm_iteratedFDeriv_fderiv] + exact (hb₁ y hy).trans (mul_le_mul_of_nonneg_right (le_max_right _ _) (by positivity)) + calc + _ ≤ (n.choose n : ℝ) * (D * ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ))) * ‖y‖ := + mul_le_mul (mul_le_mul_of_nonneg_left hb (Nat.cast_nonneg _)) + (halfIdentity_zero_norm y) (norm_nonneg _) (by positivity) + _ = _ := by + have hp : ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ)) * ‖y‖ = ‖y‖ ^ (-2 * a - (n : ℝ)) := by + calc + _ = ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ)) * ‖y‖ ^ (1 : ℝ) := by + rw [Real.rpow_one] + _ = ‖y‖ ^ (-2 * a - ((n + 1 : ℕ) : ℝ) + 1) := (Real.rpow_add hyr _ _).symm + _ = _ := by congr 1; push_cast; ring + rw [mul_assoc, mul_assoc, hp] + · by_cases h1 : n - i = 1 + · have hi_eq : i + 1 = n := by omega + rw [h1] + have hb : ‖iteratedFDeriv ℝ i (fderiv ℝ Q) y‖ ≤ D * ‖y‖ ^ (-2 * a - (n : ℝ)) := by + rw [norm_iteratedFDeriv_fderiv, hi_eq] + exact (hb₀ y hy).trans (mul_le_mul_of_nonneg_right (le_max_left _ _) (by positivity)) + calc + _ ≤ (n.choose i : ℝ) * (D * ‖y‖ ^ (-2 * a - (n : ℝ))) * 1 := + mul_le_mul (mul_le_mul_of_nonneg_left hb (Nat.cast_nonneg _)) + (halfIdentity_first_norm y) (norm_nonneg _) (by positivity) + _ = _ := mul_one _ + · rw [halfIdentity_higher_norm (n - i) (by omega) y, mul_zero] + positivity + _ = C * D * ‖y‖ ^ (-2 * a - (n : ℝ)) := by + rw [← Finset.sum_mul] + dsimp only [C] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..c89d7edf055048a048807d6f88fded08370a6681 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowContinuity.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.NormalizedSlowDerivative + +namespace OAI + +/-! # Continuous extension of the normalized slow solution at inverse radius zero -/ + +open Filter Topology Set + +namespace DefocusingNLS + +noncomputable def compactifiedSlowSolution (q : ℂ) (m : ℕ) (x : ℂ) (t : ℝ) : ℂ := + if t = 0 then 1 else normalizedSlowSolution q m (x / (t : ℂ)) + +@[simp] theorem compactifiedSlowSolution_zero (q : ℂ) (m : ℕ) (x : ℂ) : + compactifiedSlowSolution q m x 0 = 1 := by simp [compactifiedSlowSolution] + +theorem compactifiedSlowSolution_pos (q : ℂ) (m : ℕ) (x : ℂ) {t : ℝ} (ht : 0 < t) : + compactifiedSlowSolution q m x t = normalizedSlowSolution q m (x / (t : ℂ)) := by + simp [compactifiedSlowSolution, ht.ne'] + +theorem slow_div_real_re_nonneg {x : ℂ} {t : ℝ} (hx : 0 ≤ x.re) (ht : 0 < t) : + 0 ≤ (x / (t : ℂ)).re := by + simp only [Complex.div_re, Complex.ofReal_re, Complex.ofReal_im, mul_zero, zero_div, add_zero] + exact div_nonneg (mul_nonneg hx ht.le) (Complex.normSq_nonneg _) + +theorem continuousWithinAt_compactifiedSlowSolution_zero (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + ContinuousWithinAt (compactifiedSlowSolution q m x) (Ioi 0) 0 := by + obtain ⟨A, hA, hb⟩ := regularizedSlowSolution_first_remainder q m hq + have hxn : 0 < ‖x‖ := norm_pos_iff.mpr hx0 + have hbound : ∀ᶠ t : ℝ in 𝓝[>] 0, + ‖compactifiedSlowSolution q m x t - 1‖ ≤ (A / ‖x‖) * t := by + filter_upwards [self_mem_nhdsWithin, + (eventually_lt_nhds hxn).filter_mono nhdsWithin_le_nhds] with t ht htx + rw [compactifiedSlowSolution_pos q m x ht] + have hn : 1 ≤ ‖x / (t : ℂ)‖ := by + rw [norm_div, Complex.norm_of_nonneg ht.le] + exact (le_div_iff₀ ht).mpr (by linarith) + have hh := hb (x / (t : ℂ)) (slow_div_real_re_nonneg hx ht) hn + apply hh.trans_eq + rw [norm_div, Complex.norm_of_nonneg ht.le] + field_simp + have hz : Tendsto (fun t : ℝ => (A / ‖x‖) * t) (𝓝[>] 0) (𝓝 0) := by + have hc : Continuous (fun t : ℝ => (A / ‖x‖) * t) := continuous_const.mul continuous_id + simpa only [mul_zero] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds + have hh := (squeeze_zero_norm' hbound hz).add_const (1 : ℂ) + rw [ContinuousWithinAt, compactifiedSlowSolution_zero] + simpa only [sub_add_cancel, zero_add] using hh + +theorem continuousAt_compactifiedSlowSolution_pos (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) {t : ℝ} (ht : 0 < t) : + ContinuousAt (compactifiedSlowSolution q m x) t := by + have hy := slow_div_real_re_nonneg hx ht + have hy0 : x / (t : ℂ) ≠ 0 := div_ne_zero hx0 (Complex.ofReal_ne_zero.mpr ht.ne') + have hnorm := (hasDerivAt_normalizedSlowSolution q m (x / (t : ℂ)) hq hy hy0).continuousAt + have harg : ContinuousAt (fun u : ℝ => x / (u : ℂ)) t := + continuousAt_const.div Complex.continuous_ofReal.continuousAt + (Complex.ofReal_ne_zero.mpr ht.ne') + have he : compactifiedSlowSolution q m x =ᶠ[𝓝 t] + (fun u : ℝ => normalizedSlowSolution q m (x / (u : ℂ))) := by + filter_upwards [eventually_gt_nhds ht] with u hu + exact compactifiedSlowSolution_pos q m x hu + exact (ContinuousAt.comp (f := fun u : ℝ => x / (u : ℂ)) + (g := normalizedSlowSolution q m) hnorm harg).congr + (by simpa only [Function.comp_def] using he.symm) + +theorem continuousOn_compactifiedSlowSolution (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + ContinuousOn (compactifiedSlowSolution q m x) (Ici 0) := by + intro t ht + change 0 ≤ t at ht + rcases ht.eq_or_lt with he | ht + · subst t + rw [ContinuousWithinAt, ← Ioi_union_left, nhdsWithin_union] + have h0 := continuousWithinAt_compactifiedSlowSolution_zero q m x hq hx hx0 + rw [ContinuousWithinAt] at h0 + exact h0.sup (by simpa only [nhdsWithin_singleton] using + tendsto_pure_nhds (compactifiedSlowSolution q m x) (0 : ℝ)) + · exact (continuousAt_compactifiedSlowSolution_pos q m x hq hx hx0 ht).continuousWithinAt + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..82173e59f9a37e85e7446bc39ed095b396b281bd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowDerivative.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CompactifiedSlowContinuity +import Mathlib.Analysis.Calculus.FDeriv.Extend + +namespace OAI + +/-! # A regular derivative recurrence at inverse radius zero -/ + +open Filter Topology Set + +namespace DefocusingNLS + +attribute [local irreducible] normalizedSlowSolution + +theorem hasDerivAt_compactifiedSlowSolution_pos (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) {t : ℝ} (ht : 0 < t) : + HasDerivAt (compactifiedSlowSolution q m x) + (q * ((m : ℂ) - 1 - q) / x * compactifiedSlowSolution (q + 1) m x t) t := by + have ht0 : (t : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr ht.ne' + have hy0 : x / (t : ℂ) ≠ 0 := div_ne_zero hx0 ht0 + have ha : HasDerivAt (fun u : ℝ => x / (u : ℂ)) (-x / (t : ℂ) ^ 2) t := by + convert! (((hasDerivAt_const (t : ℂ) x).div (hasDerivAt_id (t : ℂ)) ht0).comp_ofReal) using 1 + simp only [id_eq] + ring + have hn := hasDerivAt_normalizedSlowSolution q m (x / (t : ℂ)) hq + (slow_div_real_re_nonneg hx ht) hy0 + have he : compactifiedSlowSolution q m x =ᶠ[𝓝 t] + (fun u : ℝ => normalizedSlowSolution q m (x / (u : ℂ))) := by + filter_upwards [eventually_gt_nhds ht] with u hu + exact compactifiedSlowSolution_pos q m x hu + convert! (hn.comp t ha).congr_of_eventuallyEq he using 1 + rw [compactifiedSlowSolution_pos (q + 1) m x ht] + field_simp + +/-- The derivative at the endpoint is obtained from the actual normalized +integral and its limit, not imposed as a formal asymptotic coefficient. -/ +theorem hasDerivWithinAt_compactifiedSlowSolution_zero (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + HasDerivWithinAt (compactifiedSlowSolution q m x) + (q * ((m : ℂ) - 1 - q) / x) (Ici 0) 0 := by + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + apply hasDerivWithinAt_Ici_of_tendsto_deriv + (s := Ioi 0) + (fun t ht => (hasDerivAt_compactifiedSlowSolution_pos q m x hq hx hx0 ht).differentiableAt.differentiableWithinAt) + (continuousWithinAt_compactifiedSlowSolution_zero q m x hq hx hx0) self_mem_nhdsWithin + have hc := (continuousWithinAt_compactifiedSlowSolution_zero (q + 1) m x hq' hx hx0).const_mul + (q * ((m : ℂ) - 1 - q) / x) + have he : (fun t : ℝ => deriv (compactifiedSlowSolution q m x) t) =ᶠ[𝓝[>] 0] + (fun t => q * ((m : ℂ) - 1 - q) / x * compactifiedSlowSolution (q + 1) m x t) := by + filter_upwards [self_mem_nhdsWithin] with t ht + exact (hasDerivAt_compactifiedSlowSolution_pos q m x hq hx hx0 ht).deriv + simpa only [compactifiedSlowSolution_zero, mul_one] using hc.congr' he.symm + +theorem hasDerivWithinAt_compactifiedSlowSolution (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) {t : ℝ} (ht : t ∈ Ici 0) : + HasDerivWithinAt (compactifiedSlowSolution q m x) + (q * ((m : ℂ) - 1 - q) / x * compactifiedSlowSolution (q + 1) m x t) (Ici 0) t := by + change 0 ≤ t at ht + rcases ht.eq_or_lt with he | ht + · subst t + simpa only [compactifiedSlowSolution_zero, mul_one] using + hasDerivWithinAt_compactifiedSlowSolution_zero q m x hq hx hx0 + · exact (hasDerivAt_compactifiedSlowSolution_pos q m x hq hx hx0 ht).hasDerivWithinAt + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowSmoothness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowSmoothness.lean new file mode 100644 index 0000000000000000000000000000000000000000..cfeaa23a74de05a93e4a2129abaf399a5dfc78e5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowSmoothness.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.CompactifiedSlowDerivative +import Mathlib.Analysis.Calculus.ContDiff.Deriv +import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas + +namespace OAI + +/-! # Smoothness and exact jets of the compactified slow solution -/ + +open Set +open scoped ContDiff + +namespace DefocusingNLS + +noncomputable def slowAsymptoticJet (q : ℂ) (m : ℕ) : ℕ → ℂ + | 0 => 1 + | n + 1 => q * ((m : ℂ) - 1 - q) * slowAsymptoticJet (q + 1) m n + +theorem contDiffOn_compactifiedSlowSolution (n : ℕ) (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + ContDiffOn ℝ n (compactifiedSlowSolution q m x) (Ici 0) := by + induction n generalizing q with + | zero => + exact contDiffOn_zero.mpr (continuousOn_compactifiedSlowSolution q m x hq hx hx0) + | succ n ih => + rw [show ((n + 1 : ℕ) : ℕ∞ω) = (n : ℕ∞ω) + 1 by simp, + contDiffOn_succ_iff_derivWithin (uniqueDiffOn_Ici 0)] + refine ⟨fun t ht => (hasDerivWithinAt_compactifiedSlowSolution q m x hq hx hx0 ht).differentiableWithinAt, + by simp, ?_⟩ + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + have hi : ContDiffOn ℝ n + (fun t => q * ((m : ℂ) - 1 - q) / x * compactifiedSlowSolution (q + 1) m x t) + (Ici 0) := contDiffOn_const.mul (ih (q + 1) hq') + apply hi.congr + intro t ht + exact (hasDerivWithinAt_compactifiedSlowSolution q m x hq hx hx0 ht).derivWithin + ((uniqueDiffOn_Ici 0) t ht) + +theorem iteratedDerivWithin_compactifiedSlowSolution (n : ℕ) (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) {t : ℝ} (ht : t ∈ Icc (0 : ℝ) 1) : + iteratedDerivWithin n (compactifiedSlowSolution q m x) (Icc 0 1) t = + slowAsymptoticJet q m n / x ^ n * compactifiedSlowSolution (q + n) m x t := by + induction n generalizing q with + | zero => simp [slowAsymptoticJet] + | succ n ih => + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + have hd : EqOn (derivWithin (compactifiedSlowSolution q m x) (Icc 0 1)) + (fun u => q * ((m : ℂ) - 1 - q) / x * compactifiedSlowSolution (q + 1) m x u) + (Icc 0 1) := by + intro u hu + exact ((hasDerivWithinAt_compactifiedSlowSolution q m x hq hx hx0 hu.1).mono + (fun _ h => h.1)).derivWithin ((uniqueDiffOn_Icc (by norm_num : (0 : ℝ) < 1)) u hu) + rw [iteratedDerivWithin_succ', iteratedDerivWithin_congr hd ht, + iteratedDerivWithin_const_mul_field, ih (q + 1) hq'] + have he : q + 1 + n = q + (n + 1 : ℕ) := by push_cast; ring + rw [he, slowAsymptoticJet, pow_succ] + field_simp + +theorem iteratedDerivWithin_compactifiedSlowSolution_zero (n : ℕ) (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + iteratedDerivWithin n (compactifiedSlowSolution q m x) (Icc 0 1) 0 = + slowAsymptoticJet q m n / x ^ n := by + rw [iteratedDerivWithin_compactifiedSlowSolution n q m x hq hx hx0 ⟨le_rfl, by norm_num⟩, + compactifiedSlowSolution_zero, mul_one] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/FreeSlowContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/FreeSlowContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..1bfdb22d05379a681b69078ed067a08041f1e7c5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/FreeSlowContinuity.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowUniformGrowth + +namespace OAI + +/-! Joint continuity on the small real parameter rectangle used for the free profile. -/ + +open MeasureTheory Filter Topology +namespace DefocusingNLS + +/-- A fixed rectangle containing the free-profile parameter disk. -/ +def freeParameterRectangle : Set (ℝ × ℝ) := + {p | |p.1| ≤ 1 ∧ 1 ≤ p.2 ∧ p.2 ≤ 4} + +noncomputable def freeShiftedQ (a : ℝ) (p : ℝ × ℝ) : ℂ := a-Complex.I*p.1 +noncomputable def freeSpatialArgument (p : ℝ × ℝ) : ℂ := -Complex.I*p.2 + +private theorem continuous_freeShiftedQ (a : ℝ) : Continuous (freeShiftedQ a) := by + unfold freeShiftedQ + fun_prop + +private theorem continuous_freeSpatialArgument : Continuous freeSpatialArgument := by + unfold freeSpatialArgument + fun_prop + +private theorem freeSpatialArgument_slit {p : ℝ × ℝ} (hp : p ∈ freeParameterRectangle) : + freeSpatialArgument p ∈ Complex.slitPlane := by + simp only [Complex.mem_slitPlane_iff, freeSpatialArgument, Complex.mul_im, + Complex.mul_re, Complex.neg_re, Complex.neg_im, Complex.I_re, Complex.I_im, + Complex.ofReal_re, Complex.ofReal_im] + right + dsimp [freeParameterRectangle] at hp + linarith + +private theorem free_parameter_mass_bound (m : ℕ) (a : ℝ) + {p : ℝ × ℝ} (hp : p ∈ freeParameterRectangle) : + ‖(m : ℂ)-1-freeShiftedQ a p‖ ≤ |(m : ℝ)-1-a|+1 := by + have he : (m : ℂ)-1-freeShiftedQ a p = + (((m : ℝ)-1-a : ℝ) : ℂ)+Complex.I*p.1 := by + simp only [freeShiftedQ, Complex.ofReal_sub, Complex.ofReal_natCast, Complex.ofReal_one] + ring + rw [he] + have hn := norm_add_le ((((m : ℝ)-1-a : ℝ) : ℂ)) (Complex.I*p.1) + simp only [Complex.norm_real, Real.norm_eq_abs, norm_mul, Complex.norm_I, one_mul] at hn + exact hn.trans (add_le_add le_rfl hp.1) + +private theorem continuousOn_free_regularizedSlowKernel (a : ℝ) (m : ℕ) + {u : ℝ} (hu : 0 < u) : + ContinuousOn (fun p => regularizedSlowKernel (freeShiftedQ a p) m + (freeSpatialArgument p) u) freeParameterRectangle := by + have hq : ContinuousOn (freeShiftedQ a) freeParameterRectangle := + (continuous_freeShiftedQ a).continuousOn + have hx : ContinuousOn freeSpatialArgument freeParameterRectangle := + continuous_freeSpatialArgument.continuousOn + have hx0 (p : ℝ × ℝ) (hp : p ∈ freeParameterRectangle) : freeSpatialArgument p ≠ 0 := + Complex.slitPlane_ne_zero (freeSpatialArgument_slit hp) + have hbase : ContinuousOn (fun p => 1+(u : ℂ)/freeSpatialArgument p) + freeParameterRectangle := continuousOn_const.add (continuousOn_const.div hx hx0) + have hexp : ContinuousOn (fun p => (m : ℂ)-1-freeShiftedQ a p) freeParameterRectangle := + continuousOn_const.sub hq + have hp := hbase.cpow hexp (fun p hp => + one_add_real_div_mem_slitPlane (freeSpatialArgument p) (by simp [freeSpatialArgument]) hu.le) + have huq : ContinuousOn (fun p => (u : ℂ)^(freeShiftedQ a p-1)) freeParameterRectangle := + (hq.sub continuousOn_const).const_cpow + (Or.inl (Complex.ofReal_ne_zero.mpr hu.ne')) + unfold regularizedSlowKernel regularizingBracket + convert! (continuousOn_const.mul huq).mul (hp.sub continuousOn_const) using 1 + +/-- Joint continuity of the actual integral H, including the q=0 normalization. -/ +theorem continuousOn_free_regularizedSlowSolution (a : ℝ) (ha : 0 ≤ a) (m : ℕ) : + ContinuousOn (fun p => regularizedSlowSolution (freeShiftedQ a p) m + (freeSpatialArgument p)) freeParameterRectangle := by + let M : ℝ := |(m : ℝ)-1-a|+1 + let K : ℝ := M*Real.exp (Real.pi*M)/1*(1+(1:ℝ)⁻¹)^(M+1) + have hM : 0 ≤ M := by dsimp [M]; positivity + have hint : ContinuousOn (fun p => ∫ u : ℝ in Set.Ioi 0, + regularizedSlowKernel (freeShiftedQ a p) m (freeSpatialArgument p) u) + freeParameterRectangle := by + apply continuousOn_of_dominated + (bound := fun u => K*slowParameterMajorant a a M u) + · intro p _ + exact (measurable_regularizedSlowKernel _ _ _).aestronglyMeasurable.restrict + · intro p hp + filter_upwards [ae_restrict_mem measurableSet_Ioi] with u hu + apply regularizedSlowKernel_uniform_spatial_bound (freeShiftedQ a p) m + (freeSpatialArgument p) a a M 1 hM (by norm_num) + · simp [freeShiftedQ] + · simp [freeShiftedQ] + · exact free_parameter_mass_bound m a hp + · simp [freeSpatialArgument] + · simpa [freeSpatialArgument, norm_mul, Real.norm_eq_abs, abs_of_nonneg (by linarith [hp.2.1] : 0 ≤ p.2)] using hp.2.1 + · exact hu + · exact (integrable_slowParameterMajorant a a M (by linarith) le_rfl hM).const_mul K + · filter_upwards [ae_restrict_mem measurableSet_Ioi] with u hu + exact continuousOn_free_regularizedSlowKernel a m hu + have hq : ContinuousOn (freeShiftedQ a) freeParameterRectangle := + (continuous_freeShiftedQ a).continuousOn + have hx : ContinuousOn freeSpatialArgument freeParameterRectangle := + continuous_freeSpatialArgument.continuousOn + have hpow := hx.cpow hq.neg (fun _ hp => freeSpatialArgument_slit hp) + have hgamma : ContinuousOn (fun p => (Complex.Gamma (freeShiftedQ a p))⁻¹) + freeParameterRectangle := Complex.differentiable_one_div_Gamma.continuous.continuousOn.comp + hq (Set.mapsTo_univ _ _) + unfold regularizedSlowSolution + convert! hpow.mul (continuousOn_const.add (hgamma.mul hint)) using 1 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingEvaluationDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingEvaluationDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..54a223c242080f27676df324629422a248541497 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingEvaluationDerivative.lean @@ -0,0 +1,34 @@ +import Mathlib.Analysis.Calculus.Deriv.Mul +import Mathlib.Analysis.Calculus.Deriv.Slope + +namespace OAI + +/-! # Differentiating a moving bounded observation + +Only continuity in operator norm is needed for the moving observation; its +derivative is required on the single vector at the base point. +-/ + +open Filter Topology + +namespace DefocusingNLS + +theorem hasDerivAt_moving_observation + {V F : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] + [NormedAddCommGroup F] [NormedSpace ℝ F] + (A : ℝ → V →L[ℝ] F) (u : ℝ → V) (t : ℝ) (v : V) (d : F) + (hA : ContinuousAt A t) (hu : HasDerivAt u v t) + (hd : HasDerivAt (fun s => A s (u t)) d t) : + HasDerivAt (fun s => A s (u s)) (A t v + d) t := by + apply hasDerivAt_iff_tendsto_slope.mpr + have h := (isBoundedBilinearMap_apply.continuous.tendsto + (A t, v)).comp ((hA.tendsto.mono_left nhdsWithin_le_nhds).prodMk_nhds hu.tendsto_slope) + have hs := h.add hd.tendsto_slope + convert hs using 1 + ext s + simp only [Function.comp_def, slope_def_module, map_smul, map_sub, smul_sub] + abel + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingSobolevEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingSobolevEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..5303d4a3ceaf1a79dcec9a9b57e65b1d1bfaedc5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingSobolevEquation.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.MovingSobolevEvaluation +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevForcedEvaluation + +namespace OAI + +/-! # A strong Sobolev equation evaluated at moving physical points -/ + +open Filter Topology + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem hasDerivAt_sobolev_moving_point (k L : ℝ) (hk : 8 < k) + (u : ℝ → FourierL2) (t : ℝ) (y : E) (v : FourierL2) (d : ℂ) + (hu : HasDerivAt (fun s => lowerSobolevInclusion (u s)) v t) + (hd : HasDerivAt (fun s => sobolevTorusFunction k (u s) + (euclideanToTorus ((expandingRadius L t)⁻¹ • y))) d t) : + HasDerivAt (fun s => sobolevTorusFunction k (u s) + (euclideanToTorus ((expandingRadius L s)⁻¹ • y))) + (d + (-((expandingRadius L t)⁻¹) / 2) • + sobolevPhysicalDirectional k (u t) ((expandingRadius L t)⁻¹ • y) y) t := by + let x := fun s => euclideanToTorus ((expandingRadius L s)⁻¹ • y) + let A := fun s => (sobolevPointEvaluation (k - 2) (by linarith) (x s)).restrictScalars ℝ + have hx : Continuous x := by + have hc : Continuous (fun s => (expandingRadius L s)⁻¹) := + continuous_iff_continuousAt.mpr fun s => (hasDerivAt_expandingRadius_inv L s).continuousAt + dsimp [x, euclideanToTorus] + apply continuous_pi + intro j + change Continuous (fun s : ℝ => + (((expandingRadius L s)⁻¹ * y j : ℝ) : AddCircle (2 * Real.pi))) + exact (AddCircle.continuous_mk' (2 * Real.pi)).comp (hc.mul continuous_const) + have hA : Continuous A := by + exact (ContinuousLinearMap.isEmbedding_restrictScalars ℝ).continuous.comp + ((continuous_sobolevPointEvaluation (k - 2) (by linarith)).comp hx) + have hAv : A t v = d := by + have h := (A t).hasFDerivAt.comp_hasDerivAt t hu + have h' : HasDerivAt (fun s => sobolevTorusFunction k (u s) (x t)) (A t v) t := by + simpa only [Function.comp_def, A, ContinuousLinearMap.coe_restrictScalars', + sobolevPointEvaluation_lowerInclusion k hk] using h + exact h'.unique hd + have hfixed : HasDerivAt (fun s => A s (lowerSobolevInclusion (u t))) + ((-((expandingRadius L t)⁻¹) / 2) • + sobolevPhysicalDirectional k (u t) ((expandingRadius L t)⁻¹ • y) y) t := by + simpa only [A, x, ContinuousLinearMap.coe_restrictScalars', + sobolevPointEvaluation_lowerInclusion k hk] using + hasDerivAt_sobolev_expanding_point k L hk (u t) y t + have h := hasDerivAt_moving_observation A (fun s => lowerSobolevInclusion (u s)) + t v _ hA.continuousAt hu hfixed + simpa only [hAv, A, x, ContinuousLinearMap.coe_restrictScalars', + sobolevPointEvaluation_lowerInclusion k hk] using h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingSobolevEvaluation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingSobolevEvaluation.lean new file mode 100644 index 0000000000000000000000000000000000000000..b887f56800c7911f27a1050304299ca106c546b9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/MovingSobolevEvaluation.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingPhysicalCharacter +import OAI.MathematicalPhysics.DefocusingNLS.Linear.TorusDerivatives +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SobolevEvaluationContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.MovingEvaluationDerivative + +namespace OAI + +/-! # Differentiating Sobolev Fourier series along the physical dilation -/ + +open Set Filter Topology +open scoped RealInnerProductSpace + +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def sobolevPhysicalDirectional (k : ℝ) (f : FourierL2) (x v : E) : ℂ := + ∑' n : frequencyLattice, sobolevFourierCoefficient k f n * + ((⟪v, (n : E)⟫ : ℝ) : ℂ) * Complex.I * spatialFourierCharacter n x + +theorem hasDerivAt_sobolev_physical_ray (k : ℝ) (hk : 8 < k) + (f : FourierL2) (y : E) (t : ℝ) : + HasDerivAt (fun s => sobolevTorusFunction k f (euclideanToTorus (s • y))) + (sobolevPhysicalDirectional k f (t • y) y) t := by + let g := fun (n : frequencyLattice) (s : ℝ) => + sobolevFourierCoefficient k f n * spatialFourierCharacter n (s • y) + let g' := fun (n : frequencyLattice) (s : ℝ) => + sobolevFourierCoefficient k f n * ((⟪y, (n : E)⟫ : ℝ) : ℂ) * Complex.I * + spatialFourierCharacter n (s • y) + have hd (n : frequencyLattice) (s : ℝ) : HasDerivAt (g n) (g' n s) s := by + have h := ((((hasDerivAt_id s).mul_const ⟪y, (n : E)⟫).ofReal_comp.mul_const + Complex.I).cexp).const_mul (sobolevFourierCoefficient k f n) + simp only [id_eq, one_mul] at h + simp only [g, g', spatialFourierCharacter, real_inner_smul_left] + convert h using 1 + ring + have hb (n : frequencyLattice) (s : ℝ) : + ‖g' n s‖ ≤ (‖y‖ * (1 + ‖n‖ ^ 2)) * ‖sobolevFourierCoefficient k f n‖ := by + have hn : ‖n‖ ≤ 1 + ‖n‖ ^ 2 := by nlinarith [sq_nonneg (‖n‖ - 1)] + simp only [g', norm_mul, Complex.norm_real, Real.norm_eq_abs, + Complex.norm_I, mul_one, spatialFourierCharacter_norm] + calc + _ ≤ ‖sobolevFourierCoefficient k f n‖ * (‖y‖ * ‖n‖) := + mul_le_mul_of_nonneg_left (abs_real_inner_le_norm y (n : E)) (norm_nonneg _) + _ ≤ _ := by + calc + _ ≤ ‖sobolevFourierCoefficient k f n‖ * (‖y‖ * (1 + ‖n‖ ^ 2)) := + mul_le_mul_of_nonneg_left + (mul_le_mul_of_nonneg_left hn (norm_nonneg y)) (norm_nonneg _) + _ = _ := by ring + have hs : Summable (fun n : frequencyLattice => + (‖y‖ * (1 + ‖n‖ ^ 2)) * ‖sobolevFourierCoefficient k f n‖) := by + simpa only [mul_assoc] using (summable_derivative_bound k hk f).mul_left ‖y‖ + have h0 : Summable (fun n => g n (0 : ℝ)) := by + apply (summable_norm_sobolevFourierCoefficient k (by linarith) f).of_norm_bounded + intro n + simp only [g, norm_mul, spatialFourierCharacter_norm, mul_one, le_refl] + have h := hasDerivAt_tsum hs hd hb h0 t + convert h using 1 + · funext s + rw [sobolevTorusFunction_apply k (by linarith)] + have he := (hasSum_sobolevPointEvaluation k (by linarith) + (euclideanToTorus (s • y)) f).tsum_eq + simpa only [torusCharacter_euclidean] using he.symm + · rfl + +theorem hasDerivAt_sobolev_expanding_point (k L : ℝ) (hk : 8 < k) + (f : FourierL2) (y : E) (t : ℝ) : + HasDerivAt + (fun s => sobolevTorusFunction k f (euclideanToTorus ((expandingRadius L s)⁻¹ • y))) + ((-((expandingRadius L t)⁻¹) / 2) • + sobolevPhysicalDirectional k f ((expandingRadius L t)⁻¹ • y) y) t := by + exact (hasDerivAt_sobolev_physical_ray k hk f y _).scomp t + (hasDerivAt_expandingRadius_inv L t) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowCone.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowCone.lean new file mode 100644 index 0000000000000000000000000000000000000000..2ad79a537933db11afdb446fd1a4cf125c4a41bc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowCone.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.NormalizedSlowTail + +namespace OAI + +/-! # Strict tail cone including the removable parameter -/ + +open Filter Topology + +namespace DefocusingNLS + +theorem normalizedSlow_tail_nontrivial (q : ℂ) (M K : ℕ) (s : ℂ) + (hq : -1 < q.re) (hK : 0 < K) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + ∃ n, K ≤ n ∧ normalizedSlowCoefficient q (M + 1) s n ≠ 0 := by + by_contra hn + push Not at hn + have hB (j : ℕ) : normalizedSlowB q (M + 1) s (j + K) = normalizedSlowB q (M + 1) s K := by + induction j with + | zero => simp + | succ j ih => + rw [show j + 1 + K = (j + K) + 1 by omega, normalizedSlowB_succ, + hn (j + K) (by omega), sub_zero, ih] + have hBK : normalizedSlowB q (M + 1) s K = 0 := by + have hl := (normalizedSlowB_tendsto_zero q (M + 1) s hq hsre hsim).comp + (tendsto_add_atTop_nat K) + have hc : Tendsto (fun j => normalizedSlowB q (M + 1) s (j + K)) atTop + (𝓝 (normalizedSlowB q (M + 1) s K)) := by simpa only [hB] using tendsto_const_nhds + exact tendsto_nhds_unique hc hl + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + have hq0 : q + 1 ≠ 0 := by + intro hz + have he := congrArg Complex.re hz + simp only [Complex.add_re, Complex.one_re, Complex.zero_re] at he + linarith + obtain ⟨j, hj, hgj⟩ := slowLaguerre_tail_nontrivial (q + 1) (M + 1) K s hq' hq0 hK hsre hsim + have hz := hB (j + 1 - K) + rw [Nat.sub_add_cancel (by omega : K ≤ j + 1), hBK] at hz + simp only [normalizedSlowB, Nat.add_sub_cancel] at hz + exact hgj hz + +theorem normalizedSlow_cone_increment (q : ℂ) (M : ℕ) (s : ℂ) (n : ℕ) + (hn : 1 ≤ n) (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + coneForm M s (normalizedSlowB q (M + 1) s (n + 1)) + (normalizedSlowC q (M + 1) s (n + 1)) - + coneForm M s (normalizedSlowB q (M + 1) s n) (normalizedSlowC q (M + 1) s n) = + (q.re + n - M / 2) * Complex.normSq (normalizedSlowCoefficient q (M + 1) s n) := by + have h := normalizedSlow_recurrence q M s n hn hq hsre hsim + rw [normalizedSlowB_succ q _ s n] at h + have h' := coneForm_increment (M : ℝ) s (q + n) + (normalizedSlowB q (M + 1) s n) (normalizedSlowC q (M + 1) s n) + (normalizedSlowCoefficient q (M + 1) s n) hsre (by simpa using h) + rw [normalizedSlowC_succ, normalizedSlowB_succ q _ s n] + simpa only [Complex.add_re, Complex.natCast_re] using h' + +theorem normalizedSlow_strict_cone (σ : ℝ) (ℓ K : ℕ) (q s : ℂ) + (hσ : -(1 / 32 : ℝ) ≤ σ) (hK : 3 ≤ K) + (hq : q.re = σ + (ℓ : ℝ) / 2) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + coneForm ((ℓ : ℝ) + 5) s (normalizedSlowB q (ℓ + 6) s K) + (normalizedSlowC q (ℓ + 6) s K) < 0 := by + have hq' : -1 < q.re := by rw [hq]; linarith [Nat.cast_nonneg (α := ℝ) ℓ] + let P := fun n => coneForm ((ℓ : ℝ) + 5) s (normalizedSlowB q (ℓ + 6) s n) + (normalizedSlowC q (ℓ + 6) s n) + have hi (n : ℕ) (hn : 1 ≤ n) : P (n + 1) - P n = + (σ + n - 5 / 2) * Complex.normSq (normalizedSlowCoefficient q (ℓ + 6) s n) := by + have h := normalizedSlow_cone_increment q (ℓ + 5) s n hn hq' hsre hsim + have he : ℓ + 5 + 1 = ℓ + 6 := by omega + rw [he] at h + push_cast at h + rw [hq] at h + convert h using 1 + ring + apply negative_of_increasing_tail K + (coneForm_tendsto_zero _ _ _ _ + (normalizedSlowB_tendsto_zero q (ℓ + 6) s hq' hsre hsim) + (normalizedSlowC_tendsto_zero q (ℓ + 6) s hq' hsre hsim)) + · intro n hn + have h := mode_increment_nonneg σ n (normalizedSlowCoefficient q (ℓ + 6) s n) + hσ (hK.trans hn) + linarith [hi n (by omega)] + · obtain ⟨n, hn, hg⟩ := normalizedSlow_tail_nontrivial q (ℓ + 5) K s hq' (by omega) hsre hsim + have he : ℓ + 5 + 1 = ℓ + 6 := by omega + rw [he] at hg + refine ⟨n, hn, ?_⟩ + have hn' : (3 : ℝ) ≤ n := by exact_mod_cast hK.trans hn + have hpos : 0 < (σ + n - 5 / 2) * Complex.normSq (normalizedSlowCoefficient q (ℓ + 6) s n) := + mul_pos (by linarith) (Complex.normSq_pos.mpr hg) + linarith [hi n (by omega)] + +/-- The tail denominator is nonzero and its ratio lies in the strict disk, +including at `q = 0`. -/ +theorem normalizedSlow_tail_disk (σ : ℝ) (ℓ K : ℕ) (q s : ℂ) + (hσ : -(1 / 32 : ℝ) ≤ σ) (hK : 3 ≤ K) + (hq : q.re = σ + (ℓ : ℝ) / 2) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + normalizedSlowC q (ℓ + 6) s K ≠ 0 ∧ + Complex.normSq (normalizedSlowB q (ℓ + 6) s K / normalizedSlowC q (ℓ + 6) s K + + s / ((ℓ : ℝ) + 5 : ℂ)) < Complex.normSq (s / ((ℓ : ℝ) + 5 : ℂ)) := by + have hM : 0 < (ℓ : ℝ) + 5 := by positivity + have hc := normalizedSlow_strict_cone σ ℓ K q s hσ hK hq hsre hsim + have hd := tail_disk_of_negative_cone ((ℓ : ℝ) + 5) s + (normalizedSlowB q (ℓ + 6) s K) (normalizedSlowC q (ℓ + 6) s K) hM hc + push_cast at hd + exact hd + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..454f83bf5d0d138ad89398f8d7f9c35be538d3bf --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowDerivative.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowHigherDerivatives + +namespace OAI + +/-! # The differential recurrence of the normalized outgoing solution -/ + +open Filter Topology + +namespace DefocusingNLS + +noncomputable def normalizedSlowSolution (q : ℂ) (m : ℕ) (x : ℂ) : ℂ := + x ^ q * regularizedSlowSolution q m x + +theorem hasDerivAt_normalizedSlowSolution (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + HasDerivAt (normalizedSlowSolution q m) + (-q * ((m : ℂ) - 1 - q) / x ^ 2 * normalizedSlowSolution (q + 1) m x) x := by + have hslit : x ∈ Complex.slitPlane := by + rcases hx.eq_or_lt with hr | hr + · apply Complex.mem_slitPlane_iff.mpr + right + intro hi + exact hx0 (Complex.ext hr.symm hi) + · exact Complex.mem_slitPlane_iff.mpr (Or.inl hr) + have hp := (hasDerivAt_id x).cpow_const (c := q) hslit + have hh := hasDerivAt_regularizedSlowSolution_shift_closed q m x hq hx hx0 + have hc := regularizedSlowSolution_contiguous q m x hq hx hx0 + have he : x ^ (q + 1) = x ^ (q - 1) * x ^ (2 : ℕ) := by + calc + x ^ (q + 1) = x ^ ((q - 1) + 2) := by congr 1; ring + _ = _ := by rw [Complex.cpow_add _ _ hx0, Complex.cpow_two] + have he1 : x ^ q = x ^ (q - 1) * x := by + calc + x ^ q = x ^ ((q - 1) + 1) := by congr 1; ring + _ = _ := by rw [Complex.cpow_add _ _ hx0, Complex.cpow_one] + convert! hp.mul hh using 1 + simp only [normalizedSlowSolution, id_eq, he, he1, mul_one] + rw [hc] + field_simp + ring + +/-- The normalized solution is uniformly bounded for large arguments in the +closed right half-plane, including the two imaginary rays. -/ +theorem normalizedSlowSolution_bounded (q : ℂ) (m : ℕ) (hq : -1 < q.re) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ x : ℂ, 0 ≤ x.re → 1 ≤ ‖x‖ → + ‖normalizedSlowSolution q m x‖ ≤ C := by + obtain ⟨A, hA, hb⟩ := regularizedSlowSolution_first_remainder q m hq + refine ⟨A + 1, by linarith, ?_⟩ + intro x hx hn + calc + ‖normalizedSlowSolution q m x‖ ≤ ‖normalizedSlowSolution q m x - 1‖ + 1 := by + simpa only [norm_one] using norm_le_norm_sub_add (normalizedSlowSolution q m x) 1 + _ ≤ A / ‖x‖ + 1 := add_le_add (hb x hx hn) le_rfl + _ ≤ A + 1 := add_le_add (div_le_self hA hn) le_rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..faaf0616bd861523f389b52d0627c67c5ba0f89f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowEquation.lean @@ -0,0 +1,90 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.NormalizedSlowDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowBoundaryEquation + +namespace OAI + +/-! The differential equation for the actual normalized outgoing H solution. -/ + +namespace DefocusingNLS + +noncomputable def normalizedSlowFirst (q : ℂ) (m : ℕ) (x : ℂ) : ℂ := + q*x^(q-1)*regularizedSlowSolution q m x+ + x^q*deriv (regularizedSlowSolution q m) x + +theorem hasDerivAt_normalizedSlowFirst_value (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : x ∈ Complex.slitPlane) : + HasDerivAt (normalizedSlowSolution q m) (normalizedSlowFirst q m x) x := by + have hf := (analyticOnNhd_regularizedSlowSolution_slit q m hq x hx).differentiableAt.hasDerivAt + convert ((hasDerivAt_id x).cpow_const (c := q) hx).mul hf using 1 + · rfl + · simp only [normalizedSlowFirst,id_eq,mul_one] + +theorem hasDerivAt_normalizedSlowFirst (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : x ∈ Complex.slitPlane) : + HasDerivAt (normalizedSlowFirst q m) + (q*(q-1)*x^(q-2)*regularizedSlowSolution q m x+ + 2*q*x^(q-1)*deriv (regularizedSlowSolution q m) x+ + x^q*deriv (deriv (regularizedSlowSolution q m)) x) x := by + have ha := analyticOnNhd_regularizedSlowSolution_slit q m hq + have hf := (ha x hx).differentiableAt.hasDerivAt + have hdf := (ha.deriv x hx).differentiableAt.hasDerivAt + have hp := (hasDerivAt_id x).cpow_const (c := q) hx + have hp1 := (hasDerivAt_id x).cpow_const (c := q-1) hx + convert ((hp1.const_mul q).mul hf).add (hp.mul hdf) using 1 + · rfl + · simp only [id_eq,mul_one] + rw [show q-1-1=q-2 by ring] + ring + +theorem normalizedSlowFirst_eq_shift (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + normalizedSlowFirst q m x = + -q*((m : ℂ)-1-q)/x^2*normalizedSlowSolution (q+1) m x := by + have hs : x ∈ Complex.slitPlane := by + apply Complex.mem_slitPlane_iff.mpr + rcases hx.eq_or_lt with h | h + · right + intro hi + exact hx0 (Complex.ext h.symm hi) + · exact Or.inl h + exact (hasDerivAt_normalizedSlowFirst_value q m x hq hs).unique + (hasDerivAt_normalizedSlowSolution q m x hq hx hx0) + +theorem normalizedSlowSolution_equation (q : ℂ) (m : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + x^2*deriv (normalizedSlowFirst q m) x+ + (((m : ℂ)-2*q)*x-x^2)*normalizedSlowFirst q m x+ + q*(q+1-m)*normalizedSlowSolution q m x=0 := by + have hs : x ∈ Complex.slitPlane := by + apply Complex.mem_slitPlane_iff.mpr + rcases hx.eq_or_lt with h | h + · right + intro hi + exact hx0 (Complex.ext h.symm hi) + · exact Or.inl h + rw [(hasDerivAt_normalizedSlowFirst q m x hq hs).deriv] + have he1 : x^(q-1)*x=x^q := by + calc + _ = x^(q-1)*x^(1 : ℂ) := by rw [Complex.cpow_one] + _ = x^((q-1)+1) := (Complex.cpow_add _ _ hx0).symm + _ = _ := by congr 1; ring + have he2 : x^(q-2)*x^2=x^q := by + calc + _ = x^(q-2)*x^(2 : ℂ) := by rw [Complex.cpow_two] + _ = x^((q-2)+2) := (Complex.cpow_add _ _ hx0).symm + _ = _ := by congr 1; ring + have hK := regularizedSlowSolution_kummer_equation_closed q m x hq hx hx0 + dsimp only [normalizedSlowFirst,normalizedSlowSolution] + calc + _ = x^q*x*(x*deriv (deriv (regularizedSlowSolution q m)) x+ + ((m : ℂ)-x)*deriv (regularizedSlowSolution q m) x-q*regularizedSlowSolution q m x) := by + linear_combination + q*(q-1)*regularizedSlowSolution q m x*he2 + + (q*((m : ℂ)-2*q)*regularizedSlowSolution q m x+ + 2*q*x*deriv (regularizedSlowSolution q m) x)*he1 - + q*regularizedSlowSolution q m x*he1*x + _ = 0 := by rw [hK,mul_zero] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowIdentification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowIdentification.lean new file mode 100644 index 0000000000000000000000000000000000000000..ff728021e6f227cf723a439215ebc444eb03a211 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowIdentification.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.NormalizedSlowCone + +namespace OAI + +/-! # Identification of the nonsingular tail with division by `q` -/ + +open MeasureTheory Set Polynomial + +namespace DefocusingNLS + +theorem shiftedSlowDerivative_parameter_step (q : ℂ) (m : ℕ) (s : ℂ) (t : ℝ) + (hq : -1 < q.re) (hsre : s.re = 0) (ht : 0 < t) : + shiftedSlowDerivative 1 q m s t = -q * shiftedSlowDerivative 0 (q + 1) (m + 1) s t := by + have hx : 0 < ((t : ℂ) - s).re := by simpa [hsre] using ht + simpa only [shiftedSlowDerivative, iteratedDeriv_succ, iteratedDeriv_zero] using + (hasDerivAt_regularizedSlowSolution_shift q m ((t : ℂ) - s) hq hx).deriv + +theorem shiftedSlowSecondDerivative_parameter_step (q : ℂ) (m : ℕ) (s : ℂ) (t : ℝ) + (hq : -1 < q.re) (hsre : s.re = 0) (ht : 0 < t) : + shiftedSlowDerivative 2 q m s t = -q * shiftedSlowDerivative 1 (q + 1) (m + 1) s t := by + have hx : 0 < ((t : ℂ) - s).re := by simpa [hsre] using ht + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + have h1 := (hasDerivAt_regularizedSlowSolution_shift (q + 1) (m + 1) + ((t : ℂ) - s) hq' hx).deriv + have h2 := (hasDerivAt_deriv_regularizedSlowSolution q m ((t : ℂ) - s) hq hx).deriv + simp only [shiftedSlowDerivative, iteratedDeriv_succ, iteratedDeriv_zero] + rw [h1, h2] + have he : q + 1 + 1 = q + 2 := by ring + rw [he, Nat.add_assoc] + ring + +theorem slowDerivative_coefficient_parameter_step (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) + (hq : -1 < q.re) (hsre : s.re = 0) : + laguerreCoefficientIntegral (shiftedSlowDerivative 1 q m s) n = + -q * slowLaguerreCoefficient (q + 1) (m + 1) s n := by + unfold slowLaguerreCoefficient laguerreCoefficientIntegral + rw [← integral_const_mul] + apply setIntegral_congr_fun measurableSet_Ioi + intro t ht + simp only [laguerreIntegrand, + shiftedSlowDerivative_parameter_step q m s t hq hsre ht] + ring + +theorem slowSecondDerivative_coefficient_parameter_step (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) + (hq : -1 < q.re) (hsre : s.re = 0) : + laguerreCoefficientIntegral (shiftedSlowDerivative 2 q m s) n = + -q * laguerreCoefficientIntegral (shiftedSlowDerivative 1 (q + 1) (m + 1) s) n := by + unfold laguerreCoefficientIntegral + rw [← integral_const_mul] + apply setIntegral_congr_fun measurableSet_Ioi + intro t ht + simp only [laguerreIntegrand, + shiftedSlowSecondDerivative_parameter_step q m s t hq hsre ht] + ring + +theorem q_mul_normalizedSlowB (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) + (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + q * normalizedSlowB q m s (n + 1) = slowLaguerreB q m s (n + 1) := by + rw [slowLaguerreB_eq_derivative_coefficient q m s n hq hsre hsim, + slowDerivative_coefficient_parameter_step q m s n hq hsre] + simp only [normalizedSlowB, Nat.add_sub_cancel] + ring + +theorem q_mul_normalizedSlowC (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) + (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + q * normalizedSlowC q m s n = slowLaguerreC q m s n := by + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + rw [slowLaguerreC_eq_derivative_coefficients q m s n hq hsre hsim, + slowSecondDerivative_coefficient_parameter_step q m s n hq hsre, + slowDerivative_coefficient_parameter_step q m s n hq hsre] + have hb := slowLaguerreB_succ (q + 1) (m + 1) s n + rw [slowLaguerreB_eq_derivative_coefficient (q + 1) (m + 1) s n hq' hsre hsim] at hb + unfold normalizedSlowC + linear_combination -q * hb + +theorem q_mul_normalizedSlowCoefficient (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) + (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + q * normalizedSlowCoefficient q m s (n + 1) = slowLaguerreCoefficient q m s (n + 1) := by + have h := slowLaguerreB_succ q m s (n + 1) + rw [← q_mul_normalizedSlowB q m s (n + 1) hq hsre hsim, + ← q_mul_normalizedSlowB q m s n hq hsre hsim] at h + simp only [normalizedSlowB, normalizedSlowCoefficient, Nat.add_sub_cancel] at h ⊢ + linear_combination -h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..3f4f715426be168a2bd6d334d94f3f8f6e677c5a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/NormalizedSlowTail.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowMatchingColumns + +namespace OAI + +/-! # A nonsingular normalization of the slow tail + +The only vanishing Pochhammer factor in the relevant half-plane is `q`. +Coefficients of `H(q+1,m+1)` give the tail divided by this factor without +division. The resulting recurrence remains meaningful at `q = 0`. +-/ + +open Filter Topology + +namespace DefocusingNLS + +noncomputable def normalizedSlowB (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) : ℂ := + slowLaguerreCoefficient (q + 1) (m + 1) s (n - 1) + +noncomputable def normalizedSlowC (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) : ℂ := + slowLaguerreB (q + 1) (m + 1) s n + +noncomputable def normalizedSlowCoefficient (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) : ℂ := + slowLaguerreCoefficient (q + 1) (m + 1) s (n - 1) - + slowLaguerreCoefficient (q + 1) (m + 1) s n + +theorem normalizedSlowB_succ (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) : + normalizedSlowB q m s (n + 1) = + normalizedSlowB q m s n - normalizedSlowCoefficient q m s n := by + simp only [normalizedSlowB, normalizedSlowCoefficient, Nat.add_sub_cancel] + ring + +theorem normalizedSlowC_succ (q : ℂ) (m : ℕ) (s : ℂ) (n : ℕ) : + normalizedSlowC q m s (n + 1) = normalizedSlowC q m s n - normalizedSlowB q m s (n + 1) := by + simp only [normalizedSlowC, normalizedSlowB, Nat.add_sub_cancel, slowLaguerreB_succ] + +/-- The normalized recurrence holds at the removable parameter `q = 0`. -/ +theorem normalizedSlow_recurrence_succ (q : ℂ) (M : ℕ) (s : ℂ) (n : ℕ) + (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + (q + (n + 1 : ℕ)) * normalizedSlowCoefficient q (M + 1) s (n + 1) = + -(M : ℂ) * normalizedSlowB q (M + 1) s (n + 2) - + s * normalizedSlowC q (M + 1) s (n + 1) := by + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + have h0 := slowLaguerre_recurrence (q + 1) (M + 1) s n hq' hsre hsim + have h1 := slowLaguerre_recurrence (q + 1) (M + 1) s (n + 1) hq' hsre hsim + rw [slowLaguerreB_succ, slowLaguerreC_succ] at h1 + simp only [normalizedSlowCoefficient, normalizedSlowB, normalizedSlowC, + Nat.add_sub_cancel, show n + 2 - 1 = n + 1 by omega] + push_cast at h0 h1 ⊢ + linear_combination h0 - h1 + +theorem normalizedSlow_recurrence (q : ℂ) (M : ℕ) (s : ℂ) (n : ℕ) + (hn : 1 ≤ n) (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + (q + n) * normalizedSlowCoefficient q (M + 1) s n = + -(M : ℂ) * normalizedSlowB q (M + 1) s (n + 1) - + s * normalizedSlowC q (M + 1) s n := by + obtain ⟨j, rfl⟩ := Nat.exists_eq_add_of_le' hn + simpa only [add_comm, add_left_comm, add_assoc] using + normalizedSlow_recurrence_succ q M s j hq hsre hsim + +theorem normalizedSlowB_tendsto_zero (q : ℂ) (m : ℕ) (s : ℂ) + (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + Tendsto (normalizedSlowB q m s) atTop (𝓝 0) := by + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + exact (shiftedSlowDerivative_laguerre_tendsto_zero 0 (q + 1) (m + 1) s hq' hsre hsim).comp + (tendsto_sub_atTop_nat 1) + +theorem normalizedSlowC_tendsto_zero (q : ℂ) (m : ℕ) (s : ℂ) + (hq : -1 < q.re) (hsre : s.re = 0) (hsim : s.im ≠ 0) : + Tendsto (normalizedSlowC q m s) atTop (𝓝 0) := by + have hq' : -1 < (q + 1).re := by change -1 < q.re + 1; linarith + exact slowLaguerreB_tendsto_zero (q + 1) (m + 1) s hq' hsre hsim + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCentralEnclosures.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCentralEnclosures.lean new file mode 100644 index 0000000000000000000000000000000000000000..ad58e7b3ba4dc186b6f6aa232bb96524dcc27366 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCentralEnclosures.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileCertificateComparisons +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileMatrixProduct + +namespace OAI + +/-! Modulus consequences of the exact central rational comparisons. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate +open RationalComplex + +theorem norm_toComplex_lt_of_sq (z : RationalComplex) (c : ℚ) (hc : 0 ≤ c) + (h : normSq z < c^2) : ‖toComplex z‖ < (c : ℝ) := by + have hh := (Rat.cast_lt (K := ℝ)).mpr h + rw [← normSq_toComplex z, Complex.normSq_eq_norm_sq] at hh + push_cast at hh + have hc' : (0 : ℝ) ≤ c := Rat.cast_nonneg.mpr hc + nlinarith [norm_nonneg (toComplex z)] + +theorem norm_toComplex_lt_mul (z w : RationalComplex) (c : ℚ) (hc : 0 ≤ c) + (h : normSq z < c^2*normSq w) : ‖toComplex z‖ < (c : ℝ)*‖toComplex w‖ := by + have hh := (Rat.cast_lt (K := ℝ)).mpr h + push_cast at hh + rw [← normSq_toComplex z, ← normSq_toComplex w, + Complex.normSq_eq_norm_sq, Complex.normSq_eq_norm_sq] at hh + have hc' : (0 : ℝ) ≤ c := Rat.cast_nonneg.mpr hc + have hn : 0 ≤ (c : ℝ)*‖toComplex w‖ := mul_nonneg hc' (norm_nonneg _) + nlinarith [norm_nonneg (toComplex z)] + +noncomputable def centralM : ℂ := toComplex result.value.b + +theorem centralM_bounds : 9 < ‖centralM‖ ∧ ‖centralM‖ < 10 := by + rcases central_bounds with ⟨hlo, hhi, _⟩ + have hl := (Rat.cast_lt (K := ℝ)).mpr hlo + have hu := (Rat.cast_lt (K := ℝ)).mpr hhi + rw [← normSq_toComplex, Complex.normSq_eq_norm_sq] at hl hu + norm_num only [Rat.cast_ofNat] at hl hu + constructor <;> dsimp [centralM] <;> nlinarith [norm_nonneg (toComplex result.value.b)] + +theorem centralM_ne_zero : centralM ≠ 0 := by + exact norm_pos_iff.mp (lt_trans (by norm_num) centralM_bounds.1) + +/-- Every computed derivative entry has the required size relative to m0. -/ +theorem central_derivative_entries : + (∀ v ∈ [result.derivB.a, result.derivB.b, result.derivB.c, result.derivB.d, + result.derivZ.a, result.derivZ.b, result.derivZ.c, result.derivZ.d], + ‖toComplex v‖ < 20*‖centralM‖) := by + have h := central_bounds + rcases h with ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, hder, _⟩ + intro v hv + exact norm_toComplex_lt_mul v result.value.b 20 (by norm_num) (by + simpa only [show (20 : ℚ)^2 = 400 by norm_num] using hder v hv) + +/-- Every entry of E is below the prescribed 50000 |m0| bound. -/ +theorem central_error_entries : + ∀ e ∈ [result.error.a, result.error.b, result.error.c, result.error.d], + 0 ≤ (e : ℝ) ∧ (e : ℝ) < 50000*‖centralM‖ := by + have h := central_bounds + rcases h with ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, herr⟩ + intro e he + obtain ⟨hpos, hsq⟩ := herr e he + have hepos : 0 ≤ (e : ℝ) := Rat.cast_nonneg.mpr hpos + have hs := (Rat.cast_lt (K := ℝ)).mpr hsq + push_cast at hs + rw [← normSq_toComplex, Complex.normSq_eq_norm_sq] at hs + refine ⟨hepos, ?_⟩ + dsimp [centralM] + nlinarith [norm_nonneg (toComplex result.value.b)] + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateComparisons.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateComparisons.lean new file mode 100644 index 0000000000000000000000000000000000000000..32c5b2124ed55f6622427c359e68fc719dba727b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateComparisons.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileCertificateValues + +namespace OAI + +/-! Exact rational comparisons for Lemma `free:profile-degree`. +The state is obtained by nine checked blocks of the K=34 recurrence. -/ + +namespace DefocusingNLS.ProfileCertificate +open RationalComplex + +/-- All entrywise comparisons in `free:profile-enclosures`, before taking roots. -/ +def CentralBounds (s : State) : Prop := + let m := s.value.b + let u := quotient s.value.a m + let x := quotient s.derivB.d m + let y := quotient s.derivZ.d m + 81 < normSq m ∧ normSq m < 100 ∧ + 2835/1000 < u.re ∧ u.re < 2837/1000 ∧ + 1426/1000 < u.im ∧ u.im < 1428/1000 ∧ + normSq s.value.d < (1/1000000000000 : ℚ)^2 * normSq m ∧ + -811/10000 < x.re ∧ x.re < -810/10000 ∧ + 1361/10000 < x.im ∧ x.im < 1363/10000 ∧ + -1/10000 < y.re ∧ y.re < 1/10000 ∧ + 1237/10000 < y.im ∧ y.im < 1240/10000 ∧ + (∀ v ∈ [s.derivB.a, s.derivB.b, s.derivB.c, s.derivB.d, + s.derivZ.a, s.derivZ.b, s.derivZ.c, s.derivZ.d], normSq v < 400*normSq m) ∧ + (∀ e ∈ [s.error.a, s.error.b, s.error.c, s.error.d], + 0 ≤ e ∧ e^2 < 50000^2*normSq m) + +theorem central_bounds : CentralBounds result := by + rw [result_eq_computed] + simp only [CentralBounds, List.forall_mem_cons] + decide +kernel + +/-- Sylvester's strict inequalities and the denominator/linear-size comparisons. -/ +def LinearBounds (s : State) : Prop := + let m := s.value.b + let u := quotient s.value.a m + let x := quotient s.derivB.d m + let y := quotient s.derivZ.d m + let κ : ℚ := (48/1000)^2 + κ < normSq x ∧ + (normSq x-κ)*(normSq y-κ) > (x.re*y.re+x.im*y.im)^2 ∧ + normSq (1 - (⟨0,centerZ/5⟩ : RationalComplex)*u) > (234/100)^2 ∧ + normSq u < (318/100)^2 ∧ + normSq x < (159/1000)^2 ∧ normSq y < (124/1000)^2 ∧ + x.re*y.im-x.im*y.re < 0 + +theorem linear_bounds : LinearBounds result := by + rw [result_eq_computed] + unfold LinearBounds + decide +kernel + +/-- Factorwise rational upper bound for the determinant on the parameter disk. -/ +def determinantSqBound : ℚ := + ((List.range 34).map fun n => + ((n : ℚ)^2+(centerB+radius)^2)*(((n : ℚ)-5)^2+(centerB+radius)^2)).prod / + (Nat.factorial 34 : ℚ)^4 + +theorem determinant_bound : determinantSqBound < + (62/10000000000000 : ℚ)^2 * (normSq result.value.b)^2 := by + rw [result_eq_computed] + decide +kernel + +theorem propagation_comparisons : + 6/10 < denominatorGap ∧ changeBound < 5/10000000 ∧ + jetError + tailError < 25/1000000000000 ∧ + (283/1000)*radius+25/1000000000000 < 3/1000000000 ∧ + (48/1000)*radius > 25/1000000000000 ∧ + (48/1000)*radius-25/1000000000000 = 91/200000000000 := by + decide +kernel + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateRecipe.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateRecipe.lean new file mode 100644 index 0000000000000000000000000000000000000000..f331507892e6e5d7644e52cd9ea35731f6be8b74 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateRecipe.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.RationalComplexMatrix + +namespace OAI + +/-! The exact K=34 recipe of the manuscript, Appendix `cert:profile`. +All operations here are rational. Its analytic interpretation is established +separately; no certificate comparison is assumed. -/ + +namespace DefocusingNLS.ProfileCertificate + +abbrev QMatrix := Matrix2 RationalComplex +abbrev RMatrix := Matrix2 ℚ + +def centerB : ℚ := 33477606871236 / 100000000000000 +def centerZ : ℚ := 270506819293654 / 100000000000000 +def radius : ℚ := 1 / 100000000 + +def parameterB : QMatrix := ⟨⟨0,-1⟩,0,⟨0,-1⟩,⟨0,-1⟩⟩ +def parameterZ : QMatrix := ⟨⟨0,-1⟩,⟨0,-1⟩,0,0⟩ +def majorant : RMatrix := + Matrix2.add (Matrix2.map RationalComplex.absOne parameterB) + (Matrix2.map RationalComplex.absOne parameterZ) + +def factor (n : ℕ) : QMatrix := + ⟨⟨(n : ℚ)-5, -centerB-centerZ⟩, ⟨0,-centerZ⟩, + ⟨(n : ℚ),-centerB⟩, ⟨(n : ℚ),-centerB⟩⟩ + +structure State where + value : QMatrix + derivB : QMatrix + derivZ : QMatrix + error : RMatrix + deriving DecidableEq + +def initial : State := ⟨Matrix2.one, Matrix2.zero, Matrix2.zero, Matrix2.zero⟩ + +/-- All four right-hand sides use the old state, as in the supplement. -/ +def step (n : ℕ) (s : State) : State := + let inv : RationalComplex := ⟨((n : ℚ)+1)⁻¹,0⟩ + { value := Matrix2.scale inv (Matrix2.mul (factor n) s.value) + derivB := Matrix2.scale inv (Matrix2.add (Matrix2.mul parameterB s.value) + (Matrix2.mul (factor n) s.derivB)) + derivZ := Matrix2.scale inv (Matrix2.add (Matrix2.mul parameterZ s.value) + (Matrix2.mul (factor n) s.derivZ)) + error := Matrix2.scale (((n : ℚ)+1)⁻¹) + (Matrix2.add + (Matrix2.mul (Matrix2.add (Matrix2.map RationalComplex.absOne (factor n)) + (Matrix2.scale radius majorant)) s.error) + (Matrix2.mul majorant (Matrix2.add + (Matrix2.map RationalComplex.absOne s.derivB) + (Matrix2.map RationalComplex.absOne s.derivZ)))) } + +/-- Descending multiplication of factors 33 through 0. -/ +def result : State := (List.range 34).foldr step initial + +def normalized (z : RationalComplex) : RationalComplex := + RationalComplex.quotient z result.value.b + +def changeBound : ℚ := 40*radius + 50000*radius^2 + +def denominatorGap : ℚ := + 234/100 - (318/100)*centerZ/5 - + ((1+(centerZ+radius)/5)*changeBound+(318/100)*radius/5) - + ((centerZ+radius)/5*changeBound+(318/100)*radius/5) + +def jetError : ℚ := + (1/1000000000000+50000*radius^2+(283/1000)*radius*changeBound)/(1-changeBound) + +def tailError : ℚ := + (2*(centerZ+radius)/5)*(62/10000000000000)/((6/10)*(1-changeBound)) + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateValues.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateValues.lean new file mode 100644 index 0000000000000000000000000000000000000000..9ef9b775c9628a0ece99fa59673121b278889c52 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileCertificateValues.lean @@ -0,0 +1,107 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileCertificateRecipe + +namespace OAI + +/-! Exact intermediate rational values for Appendix `cert:profile`. +Every recurrence transition is proved by kernel reduction. -/ + +namespace DefocusingNLS.ProfileCertificate + +namespace Computed + +def stage0 : State := initial + +def stage4 : State := + ⟨⟨⟨(473389420852990707572186868228319438689556581787110448672331 / 1391280000000000000000000000000000000000000000000000000000000), (-198945475349241026349725618423338174880102869 / 347820000000000000000000000000000000000000000)⟩, ⟨(-441582866941409870531620824937178850545486283864520617543779 / 6956400000000000000000000000000000000000000000000000000000000), (-5426960103024316165938611734703791888798785749 / 23188000000000000000000000000000000000000000000)⟩, ⟨(3169782311878258141059438968639710402297456373369641752718669 / 1159400000000000000000000000000000000000000000000000000000000), (-800608655957435165075463877997182759885899849 / 1054000000000000000000000000000000000000000000)⟩, ⟨(972842845388836007879461141977205173998878198800012143484239 / 1159400000000000000000000000000000000000000000000000000000000), (-2521074013990028302536379271597301784152012991 / 5797000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-8480554333646519489248190005101608001801416791 / 139128000000000000000000000000000000000000000000), (-888109323670835572732184546177 / 14880000000000000000000000000000)⟩, ⟨(-1698890840959916742338477076003840540220564043 / 69564000000000000000000000000000000000000000000), (3046487860483509309306891580669 / 695640000000000000000000000000000)⟩, ⟨(-3563405351001194225766137576057663933387802767 / 46376000000000000000000000000000000000000000000), (-1033600914412567082966625349760339 / 2782560000000000000000000000000000)⟩, ⟨(-109324909410330167355840651874435034933823431 / 2529600000000000000000000000000000000000000000), (-304135182570127222288273134192733 / 2782560000000000000000000000000000)⟩⟩, + ⟨⟨(-4677278459610142289136650683318649950491206273 / 69564000000000000000000000000000000000000000000), (-92672902469844071045916831500589 / 463760000000000000000000000000000)⟩, ⟨(-190618357901348654040067231783614693781841987 / 4347750000000000000000000000000000000000000000), (-310756104777524771758736594949 / 3710080000000000000000000000000)⟩, ⟨(-782498052664642686452446660130663612801820423 / 23188000000000000000000000000000000000000000000), (-108364622927518301865524842322771 / 463760000000000000000000000000000)⟩, ⟨(-19918634007967368381672849191191557526685317 / 748000000000000000000000000000000000000000000), (-6165876735406141363227127646669 / 42160000000000000000000000000000)⟩⟩, + ⟨(62896937679620465573448570917263 / 1391280000000000000000000000000000), (124065067854642798027976046219 / 5610000000000000000000000000000), (146308627690004873387965277270821 / 2782560000000000000000000000000000), (2255526301392935884909707274057 / 81840000000000000000000000000000)⟩⟩ + +theorem transition4 : step 30 (step 31 (step 32 (step 33 (stage0)))) = stage4 := by + decide +kernel + +def stage8 : State := + ⟨⟨⟨(-19183182109167059028153871103976209245897701785040553712618576418784797308325928042083077948467753760162710101687144321881 / 28596021300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-141140608647260434668577809928917967347467790238711645042885124510409542448039116086793243996380049420848177 / 142980106500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-9620061580367327930488936173686715316909442375047654763422119772296265869162013669787350610814879074691556598647166389331 / 28596021300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-140873859225544709302290692288343668102881174887352537030061446016972346884421942371003301769295043948409 / 706074600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(418850044548804336415501124027308674694714815693054471165460546299030547571422575934677275955850985498710639426952698099 / 185688450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-131840797987759622391185858488994612650044958022946337223469354097647618937820817272414238178072299258588833 / 35745026625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(21664448810679976317235747345658271275317334971748361583410119569400526671477740510748573739814168763525643313066813783 / 190640142000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-186858159417180029080806613432467772127667362295851754108798468357068156644272237368737707894205187182487123 / 142980106500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-31861017031315643610688542078351262352452847068283523663272448784322590378892381063491246229612851600042787 / 114384085200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (308687211900335695252224095930946457502135288790473195807037512143292837951422760916123303421 / 2287681704000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-1139079464362801452147793966874326878209775181347632228922786108183898488179931942371003301769295043948409 / 19064014200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (536027232394205861173053572784865314417172308427882185387430261949500281713903321518406141 / 7060746000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-78125292492416664691454742549145214430038200112552382006044356569662090407366957656796203946227206454047819 / 81702918000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-242522208908998223527785759840708553996984886525228522536478656654757324350586343963965729641 / 326811672000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-38321590398979937665364971999108384253046283119452950578389941058841349673614349409265226418997081336352333 / 114384085200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-151556340006502770948494852907428553589977126746235624873104819928785580553172509178530696333 / 2287681704000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-161480006239858270570763608118163724754062259203493349408545349332400757135692914728757414692913675794637167 / 285960213000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-1203516872447373928029126443531668828367614538053529065270769320857107131819264844410544312749 / 5719204260000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-32444798450018820830905114775575655882605294126775857460865299931991137241842735462568816293473070105592061 / 142980106500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (233918706278213991533733776598711126334933656208122223292673520324153553585553447501729829 / 42364476000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-7408957354066064543488415886119370782607403824964421564519882519427157071575806093162724357811092921857409 / 8665461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-6348322884931932448708662311208771853978691210283829769473667700270208945957007100132837290279 / 5719204260000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-2733884644335666217055492173226883358273478927247102177609575146514747718891049306747106269021500790743401 / 6354671400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-2171121187196341565561547351917425734301659978697049784325342667324174679171488988081281224331 / 5719204260000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(566377511226608322590788655581111570939234590556101389296058267590569060364922035583195729779 / 1143840852000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (62751803148721883837745463911114657466688108951100501583656818847142411930966332911603854607 / 317733570000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (3665126292590030638454098321814836766532331612765827065586676277803626657385116117897938963729 / 3812802840000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (154605938264545326722169208504872674322375535688897628790295031710117514454139625726382938437 / 381280284000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition8 : step 26 (step 27 (step 28 (step 29 (stage4)))) = stage8 := by + decide +kernel + +def stage12 : State := + ⟨⟨⟨(-42484418223416255090294860159839434217681137411147716312471732235809512494183990402665627678913946927278841115836317485658922521472085323038060657729070753982479414746019975803198563 / 21375525921750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (6966997465219026101914172225404643101494298088816653869307271511738149247743713279089664768368400551956928660781257094744236196245764784438273584421680313987872372141 / 160316444413125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-7075253213814904339133152906026649939148685813472099912875620199188920014208595210165079558882757728771582220780871264010984956495700688717486285388169235874300369414096547286479271 / 12825315553050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (677541494117065040402758303939425264248802606881536520035026646869145249128849950310550440261464894561861124564384505346259300116212482879382447464874124518738226423 / 2331875555100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-40848842254399201394886159914550133814115754309853422240584998770949126287241600031935816435609894674823676393529068836371157802722904422343935580187465751854179895292369067807833 / 14947920225000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-24143893048040500409616694051930849689933723983800037947917757598433170800231613395017235226191435115256354946113647309278166803852026314787794353323936135077563760491 / 4164063491250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-4652591904293269723259190407655048462683336631215670981447554968182239763847309125684412167278066491631471595126946971242613569489333191821476289658231236707997108962162599589872697 / 2914844443875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-9027730972903265681630548049301994620757044022036650826206827204110763273671567943025452016110742521584584392675038413227087062029073159294801014487775616489493455653 / 7287111109687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-43731757336431408185744825002197502401620881745305894821601963537355667398314552098845004729256452267867284125500737971916641463234094121094789625125295316699612297901 / 427510518435000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (21556879454232536650722244932181267255211950724814519304035382660168802456633257254270626402167081451947867968733833598048081412617728322361904828617826781 / 25650631106100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(55398841126128541594939071126371123569210940742593729498994090440709799276998920476778483382793594974081836443891969113861764676146160767923206922113615369706120490653 / 641265777652500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (6831862255240670062659496718458134309844747873686343796705698584083994387691752425998001243647460578448163509403958274222353957452587136782556105534397 / 28500701229000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-3467256881291405367491312508451969548979772785840223154388754864186296411604482984207319935738104124232400181702925224895033450969371801666381010010560069533580629476461 / 1282531555305000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (3281579810811850298428779094995859688389116441335818247338379921864921872765614651559845114707396077730514244619936680794647722846013589480586972333114267 / 3664375872300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-771965697931090163972418670416464053721221830842597777095489225647108348138820522929497212687661414738387680672330858275801152502745661547130782719603116689511077875009 / 1282531555305000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (15854573535930956870659860391596157482350327154837544983877101194975703922044426615476320754061154777869393402172544080075700842859641142370335978856625019 / 25650631106100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-3249879480001982534452540793570599828198532088347963940624108756616652008428062949234249987841104542760667244189723946128997058814325200500063800559834050096404915173 / 2955141832500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (9211214684455638121411547624571102167298792399370900782032601416915478568406673864261854831836507500508269722069430808113728738822559603970963965825683 / 9327502220400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-12390161460726012745507222936898840098345282389106488797450066677185989635524621361553213158766242561320345380825553525603405606623971958060329675650744311474775848491 / 53438814804375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (4516029613107629550359930073087442117657060966883449057382694308820249652616997969456959012809037285379870209450064186899714000009425611283567439268103 / 9327502220400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-73715092799361505290563519831538740436514800581821587699385042513583643489025775996400975207321538572508688718751960734399375973310210064744549328501066801393656467981 / 19432296292500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-1362317944572998663384497311834564156280204427857950700694941930937397250243941615622238826514413492470930526144513718009277052913960587133091518549891 / 3587500854000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-4620902872114092473137672543285862579516353010541102921769866867946630527010585263250475932018729047583647919985500148930310001173437899532967318789706187878195488827 / 3429228757500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (14056998408111109022335559726602202298961626174761240800113555768752867165055600348366617696601523610041008537518196527214904665003389285047367765348573 / 46637511102000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(515690778751742816774697244736674736127071069669067327621965312905780892043383361242957743183579824371754721175918761818537639212233825942912833821179693 / 213755259217500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (12236893499581549749540093062357068182149223065373156438633936004771674651590697999757182163712976475989800594582169143642624484818362083651412742507897 / 13940560383750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (13546558837111894241263046248883614419817204444360313570499723978081330889118963015579157735739699383319303885063302655883464041354514078730211548654055589 / 2331875555100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (898215070246969769292802072238376068751588569140560658864015170398213972485310928084069535688021473730479052357926190283841680791533844261028108087434513 / 413719856550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition12 : step 22 (step 23 (step 24 (step 25 (stage8)))) = stage12 := by + decide +kernel + +def stage16 : State := + ⟨⟨⟨(-2707619760753738454307902183909268677156195658964499964710960735334808143359959856326587173753169270089487622007267941934579009261781892127920633774803571612382216891124950406155012786815395731168756218309912234150084297683369919796704348979 / 2010368212940587500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1040020918002184614014192814072990027710003086092421349284075397411041969596452943542388920039660777793041131705300389439223125241000199965518521904604528861750493271267562177518441221169193371843791839617903425370612746466456301 / 351814437264602812500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(165801568608801284577758256068806210283168045235807469771315721118793243384878860459457994971415977856123913707946770788140221897689622986350580256946863936809257563243886212843515037619727733136001779742356188949082481939804627313352110333 / 4138993379583562500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (2085320544774925786622606194471052847078514233851275664386170854484842792730824414850335057177693424397781161468322343958190691656621533963522917723164921089416357866445658549699177393655215819848561689814373160505757330394399 / 2039503984142625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-5379570885566818917498352445778788943919163797509479920681273321568691847094278560399292033787222061626216773106741759813546156146409835404392286804245874902631955892189999287549738746085157038558664082096838218691266325275819378174787588151 / 558435614705718750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-8072387735802273469179792924466376054077677536324568976838834758889519153505196545146569673305272862498070506370761949098881058998846757523037565961347467096887032785615533656361038018749586874846345305851135865823657659746893 / 19545246514700156250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-984464652511578340957437775249117925618109792946661470728851829644424138009373065108385409592436628264081079709406417254757326990908516023360415662211317068278428049712466374314138222240153360721953073843097052773042184908558716450563828737 / 355368118449093750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1250530996393692989968027919055355105616079287223796187221176026630293134887785431017191647581065054889101536531148663796462564257645198591347944137132759879403661247449800388330843137447815855126892722878366300035833695718261 / 1002320334087187500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(265627265201626917920765880734316261663795466852007827558191914731399074388067134459802226708459278173900498083617492713748559872738961936326072510911361043187236281533536782154039115524929129410964025621654003544641869692334297 / 156361972117601250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (108885705064951501930333955616649199373978108097789681033743550802721026396525480960601498018181133090565671519216792606115485107031980459422478699728006327278145143511901833628723514380327552029062180248549921117 / 98754929758485000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(357294473756576956593056303531900999273169179426038025663661526281183597025750138124291949271087448129685742401414547082414099671456399623117675890360852214907835303119267881016960805631656819511697428269313248895132806548079 / 579118415250375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (3968840893684899367218595569441309660510055651639586124461051659165732790829196842958770481352880336534803302457629492477167715296987043128484183070910511090777079639497877084932203922136421727088240377480710571 / 61185119524278750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-490084360120248810464344772410312791418262061632202168734457198694947086850565224364379193877656088496070134124406390402819193057120779430480183379404363991751736062837079092623203283568844369274351682713507924849242310028248559 / 469085916352803750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (4933176489328475289493597644381727946300279422642456437958903240327713703654526089790013575654007650849225871413655910148019021398880551419994613075560107470713278984323116089434720247933359152639618002253787898247 / 804147285176235000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(114154324414697151884190946167172449088472269868531499890237132654265956838154820502666220399406217239681324545540134349535591074553537297448753992474740697567939963593397016183031984241668461401848239985779262440943443902739529 / 201036821294058750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (2052452000525635597418401262290246618923530889495891132764626031329052217012268885429551277412136590317520973738324676332768881613767453421305167555110813074056779714348574052648660948239537772218087465435278797039 / 1125806199246729000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(733915627174850832515290104963903546304589125892782306822084673294059795157154331747589681803195318045240853431151670849250745407436707427739837675815568390391637368623441685609234683515281384228214083113590564338512474286565749 / 703628874529205625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1496005112810105512283356304032613101219439792495790606853157888517859755542570609901748137980537433785644654432478492659236260612543683899553572331242450557689328413614057327032430005391060487509571420173104119 / 465593961640500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(272626141085609069441063559227066726967387726484788497653028397301774677077899436373921214798237071496280288988165378841637768958284724126986206252170813958167484813472647213417260425718308363374982473272519233089261205551836377 / 351814437264602812500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (632965700892176319101315366287332060341404061799065255958966627551701924532538537360902586112029208236973046188340146336173846537309619263809996424568770510332873786617653816138241999503580679176381157180190847 / 715615433032500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-4704394415982362091023585528140628884733900885659502255762279790286752394767094712620727373486322348129539447737265536776306187063459561114935621568398464557382913218748359362689064563909888407610186184421882058102040925900013 / 919776306574125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (421316563904520898581084499847608766711035784168587436581419455603598094387632057244041251527445637974459405365566518954365465117185593867671934864831249611004077396267783609155571788656353972496233922010745026413 / 62544788847040500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-12604418761955453392422966683492617183103796806830461669800369612567138609640301810065031693679037446583894881156404569656132347426273086454838935380099125473947690026080502995635941565664257651932831965143286707555776373713489 / 15636197211760125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (295480970636049706736504545410113261173345774051233396336694343563580118782171117808213681484550946525161183586077729808059022821358086263700881169847753852402661493165217456481227911960075881810032178475400940559 / 104241314745067500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(1575895865659289765883939253258524114307628688832425409914465656903982218503851203940436711695496169864077543957743297389068578361379091358336941480098358706040227753630187364934869174048781218676745127614211957761 / 161753764259587500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (786645301185692209022066502308792271167588035798591414166564577817085151812594840592010817579735760208810191178193366095088118345694979084918317879652626623529564733494984555676180514797663524815838404472202736481 / 226977056299743750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (17763730459860019262276333196128080492374185779647234328156536705061972482076521420919793252874203348499986211185990718265279315079554541789750786838832607189390841542334656343840287088109518346391358828279098038457 / 721670640542775000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (850014007685852101222383936413398641255998673717517290310667288889343307722267735198696213469911262310981686638760909220826991758320878736139931892419325465294591414442610162921661307091131445298543642135066767527 / 95731819663837500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition16 : step 18 (step 19 (step 20 (step 21 (stage12)))) = stage16 := by + decide +kernel + +def stage20 : State := + ⟨⟨⟨(11625499508978271248454596670654453965246218257327216870039766074595324490988155967706733062952244765179081350397773512957356840843926328200084115290426737729741221357345762460684170994338542926656633003941618103108483769193061233630946847002255224162920600578720175022943509196685551377776783558134789 / 2936051394626412562500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (71137893277403653417982000452002671321298979103667519167984993494817159346108496165680210039661037873688008369162027758380906732195802356106469199178656683791183505025304756497205632141454174690237787932115556249673119277779989289243094099441978410056488540269650111204620902195988327201 / 20185353338056586367187500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(2742212839913491781654551508430538869047484056804833207917426949272562100345652614789024514863470878967567848022194643465421319346081432797440801611375471785333943226922876006361331941535237070513568953788123670879957880474168877995966571949185609465364510260920034965679669009100312952071478301528911 / 1699819228467923062500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (947096949575511770984994608641664203238293519305243585184874491120113440503028533599759006411158383462189389330665898973927877267812141592627186004902016329758560380157543007638297160604988692455078166103278710817893437306267400324921990347344953617492255481398411723236339828582169107 / 2197045261285070625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-88139582872010484288638376643847983990800026533676528873503466235129994345807172445627561057732879011192806425050018832888025442501417494383958546876518042311610768341354042393814905814710719152734733067626013914212800274879020846757187396342707714094354318494945124816555665112786552070790681205329497 / 16148282670445269093750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (2108157469428115911470131799345015721213764594127680227498798369051596812072373878687411440490615153988639713064055609067664344579660317046295815868442892543702372667502769098637527950815629543905120182327843006357978400083058521754770621556161703860934004310204888449063253518160782447819 / 161482826704452690937500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(336521298660008682244874845395195795596756810151088145136153053684848028246580662888786558680109380983517725677190915522670730515532736250811289001679089950240921904489984180126022838031871513798645118333422700402282693797282539084202478041787697798833549743273929411510862166354503968872884380347779 / 1076552178029684606250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (359005610079406549477499676705997838723118168883868351647614420636072221382298927940388602908146954296629451431009494868261773903002688625847416409801136326933219963656854632220797069937425023035904170801198275556614341337387355875604975687082179073959388967045892028860910408662648987521 / 80741413352226345468750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(771379792617987248501056432110630465922294887029269412519641446526775376654877735195973706317172206411420551904916358811527892986540251077650982852140448312973615795854248354763353412095877875640120556797549219047373408382758906685918396643334852229541845492262754546317989174993460127683 / 215310435605936921250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-37944157389127075420542983877954197118863228394577474340270043291117355267272788913676599029952398193590990688999221333405401491243756254199223212312390763039971054698800269564324299904251463951881843149167103528007967061417491673483260318123053803334300391992656191609265931 / 12918626136356215275000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(26625178198778386270032120433410142819312104471974658497661709407443789349554889468770890356355606323535645118059491258751573415988500627634243517602431526425843337605754642509366281091655339871853537084873660079100124969066249924983569429573370788206118891031398411723236339828582169107 / 46137950486986483125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-201366700606776836162810669373490559652264267910200646852037757708277561632111097453154050606523427145212835464049595293817697503757760835008734433892351196018714811642980739241308119771318844712280924303539894200673953091108338866172586644344606100460839757880407772940823 / 153793168289954943750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(308959485130570336282155761281466235079749153886188926087491781947448282755849289046008307122689707116213551203022406367671255733652101877130430084655187053082974273689713466391353783097463760712647921077407803031391244158062387031854685823609744444107318794002142486411527049520345275813 / 28083969861643946250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (666246305790961266003340313517652212470873384763262118712824831433728881948145619616961418277543361490844325074458103917873819934072051209204996263322049607572628067738642286463339385415325963608516063714102486271826055316373956265702087039885776461946990318380862087873809 / 103349009090849722200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(2540699682288037883383820770486018315306222364190939877816912526648568552700704660868373194415161623923248978027156592828145912881423485324407394492080423363526595911633310229895395542877258449873454313929983417845582683657171343503860119653333620821899473858268685874828658767380230015551 / 645931306817810763750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (280955802822715894540187681418926329731675314967094142288568204620541518316792448539338463139078911776145103402303925387790108669122875486145063804176895035466640706800199310669493671664280405256614845424112161729225562062427841005961069453254193818124202894802375061024601 / 1174420557850565025000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(102157420214497203427209735647481359759931659433093843056095462406084432934354713492154294238686542272663694839096597199947864052050478346044302907922669295131611020905943938348974358012766458174362017643141222284071085914156656748663128298748951307883616285011386313330642278955960018769 / 14041984930821973125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-221073131608605657604035877485299020021539744506128921805802544467924816651858631911089974106251346814059449564093864861744467090207794190541826130846145832834569338730053128997135802441991748361410195647913027770232911720031335114072581069866187632232442603840351611426153 / 922759009739729662500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(12832401997028899871784559261619821555832690069874568699339128241673372269344174395230819285480842647656234407415782562138449278926613621103867026941019066225614064136547468083857049163674298450124664973081416901774409835281009759452719464607673334673113449058075525610953493066976465459 / 5767243810873310390625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-331450261342439692781386201586667371808737027102993939675625974069956879601267957406882643441283970819847520758717230360596051311170823869214475322119178364697740301999231439779384758063423491192856489592585859316181247316038920732164192266948424633175013705175895249288783 / 307586336579909887500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(312627941165736201402115483450050665384066537541631793260040058310820357047152666377654351566250741195662612142521490442129914846314198111374306180576416527773342875271393672616768539325632385668659435043132250919820205147314806001744704958268726869026736441818977492295300177948102603683 / 35885072600989486875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (62082145476651974429126945258902538817024405834504342381956280370816940817739752802875899246336292385627044042042760431311473554220591237414575054802003125657608105703287984173292448173896864846381106633354932100387974132417086099745376716555142528480270277572035502727169 / 4252345667003362500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(166951004377909504714544092498282176448451981866404532222521047316147137622826374291443286918682051912526349805396564921567734635551245857004895644110105311027675443519017142643999826286310661738737734615930031652294166724869080624396531294436560234815741318632739530265708533804044262887 / 35885072600989486875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (287461490229771178155971124694012527343829254703678790293869459856209410074599793804872452956244904697352454652777137179164760026111737075830135351338166714719316907630437006238220045338352980277495021804868744058822991541750918245121194995157232343205702401792883716915943 / 83887182703611787500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(239714755608071352485759976940805846623513802257221579566646898574118813731971144979326153460248916227942519705186769256945536282067215086377239298084371673281910768099987898450021062997536482270610609366344938295409957571425679177458713939928266241008507788969515285514578143 / 6459313068178107637500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (41962757033530163451228245166131687635033011514081880626697593962398330019820009229714566579467184050796615040813363955735273304189603803654253124022200478711472179858663505362487554920899299665838197519884839467626188308139667180392124684628630534044158482920744884825392491 / 3229656534089053818750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1188215970751998323933417973015504442375057626238968322654400697265012337693057019382962401749504566245105794883339677119532529027301372491534028912546806337542127975676745480916676403409548403644971213341816957161921221077485899938559542482098800719091662606960292721156227641 / 12918626136356215275000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (13085323214808388771534763344753364933332929613382372121932531508005536388998153442232207660702039179344874896476271443330122015149173682070460145764568048650902929937895534191027047555726363834365153301635514004565344265481008100971834367626062014874298086269763352764559439 / 403707066761131727343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition20 : step 14 (step 15 (step 16 (step 17 (stage16)))) = stage20 := by + decide +kernel + +def stage24 : State := + ⟨⟨⟨(60596564469092365838713598561676392431237500414448617039923760013765016227498053675448415018082585790696747279303309650410124626429826638418530493538329969827161099202044529261903625554724556915364708042606486550273561528019300579168753831223279757432434584910889899917689836387412776606908620819227375011858731988709528803891408749067703646274463711746667437 / 10040019225537710784375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-991228806043853635415591452100814529015263517030413197257075045042517552442086627211851820757912211741493551620332283012097621088684822151263348212354375005360369919910372905999801783591677989885521246202998967316032633282737540900712784344527871968161325963449898969611003751415467677330775050408592925483859802058253587645383940278962159304539 / 169556968039675325484375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(844358357658461427316343370873873666900819605178994249818791041804197970192350197650145514783314929346341098855075970517064737721460283793328346827467586022844982747075839773159835116610967884743775243770758439195317702866560388357196448424618392224074131981332244641084272767023155118904976100939758382084066713021046146732847581350125038853387075315215468233 / 969865857186942861770625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-375277670277158209929986004872177828297962040739863826366477441155652856633260442797088203109941408664819235617278238426486370082688858648469574705663485435527671285586637407011508784120027150296340273391961636475891171915048347110554119245147320882066611057343270693023211025089237869803958918598561021945671507020590668365241452580855001764567 / 150134033620269792843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(2690035221902950000334882509955044438984458164368257746761470217033458156751063655659549638430080455296094310451689473085390972651306206452111147663479598708969251638858016086519185949018253823817226664674949392445314489924020799967450025675539178443046164934990784351214342751081264055683724005242447635680813249919412942753028748330297326437099109405448567737 / 161644309531157143628437500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (15552837360420356152950348710931284139886990634976393660980047100089557052141826106733265051065628145867324568922392769295442178267581721272304373507119236137344475748440863465429049199085308270128254882467583381404333130454622341866264382957697480208214156985022982184507144220306103148062669856764483691608585289761984524823504219531989912187799 / 1515415401854598221516601562500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(79560972901191582473129826116312520223631361162251296145717201853595086256411582963245691135829077080330157383359973081088357175656170998491991651913710342480285900867995044050179712108819369732463460213483422543191551732428026252386892324801449441371740229744419021658133449626718901740632825737385137397453450821012364491353887732069721034448210150260863719 / 12966121085386936654687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (12889437664653081629065103398155278856634353982235536140738465277773358128888411911374433733729065047868777035854970344005247851952916428055748687217071950832352290084142449535980472157556238094901079133612087490329627825238675788779146760540094653172031208097071032070588540658253097919213383900199223988520031638076075675668520210537604375861353 / 24246646429673571544265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-185888515016560817127469898210317262693957343787198335254816083721062015735746564938892359293746103044855877534908493614799133193106998775716710534707914120727993487413399267555590962917548006527613355730699090609005295183383090750776805753216857774001479988709676500539308397177773021846660443522488851082335651004291393168372206240040774287356677 / 32328861906231428725687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-1491351650638882131875763304829895818538752501637402994186844178457640412669399687051288959483549192815992028855024152082096850260972050203954993764089509680030442408090085107738956935011961751877027044315559454249946885117202496478599621552232454397359926935744507939521954819825930329616301413680897783162573184828692791774243779069 / 176339246761262338503750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-44914040536755352124091130315798455814884416039107800437435679656559820974771040356708671719953726905170858276613155939058821962931421850590208908255237103164122709392294448297547195656631733911140571736919567561873785621725012495299920285610491363736007168792104320840270385655256152991513048799377297246140682580001830454069701564624845009999213 / 16164430953115714362843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-7854693222250611836996402635961400034101910709977281317358303277006355168199770009912756998055113865460437526513738748617934818473884663266847102775133291204972702877560855337579885503385005609799179702604178645301150119467799261324801831262872492286818427316155563331484124877592306270500415728340725674639756149965759819045287201 / 5104557143089172956687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(1526857154888135054452154041860016798814601884068634518127854350962854405670906772592364184889874274543616215017764344447365089086080158083139725607073646221125739783149811873169577874602800779970368814049082257917275964478019658925330739993132997532956517832517499179188157965141047576567283428916678501078061361832295077265934758520673954401955443 / 96986585718694286177062500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-36370655699116408353417642279963190967932517400040731127000731171906521086108629406090404484867280916513111909621316275845300782509832192236907086741593408229541636221921995653756964442964160697958748991731409319427808957529035579027282884921113703127274435768684276966045564742981071293140651676335340253879753026673060457163043768123 / 1939731714373885723541250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(12947620004353554125588573699442338637819365962480208607603750042926525725713799287309447417582226005202532850043316377222253339974185487227823497470017750911836533634345371752558841825301347849721905110399984894787110573311360948781701121875278354489144003902755544942431048928177210757165883933268998700543104811279769478407814666740519015225019 / 7460506593745714321312500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-14366948511634963916000946141553687834508395059520494789916591172449511048607980163482612727057135687687505829804225760170263390535269560407013540719946924233128168629838557111006336970269290758086938990189674802292442429468733685442562712466299694181011658871393760637243367413420410608924671731026371129132358888162677297040546991121 / 1939731714373885723541250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(17944793658077500365646338680622193409309938548271420472524204719970710934171299784383500949953386851243714217884792210683684186417038445601366436333316670615079868572489789100824689753877346425138954620912570008337357871266681931481837951113826217606498144613966857215072698437484745656240983971603877078167853675896621940204534950137907884971353 / 48493292859347143088531250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-119299435665523265678689073601500599850279941662707411901458439146866604613616764519959849466141394606331024277884785698222189194026680532432602306054268993191079282820058774323098772155241710842252963144737080113717556129131808534226373002121327575705680437452027337703998545129470789008405503664037383865474416132211063902766237933 / 8015420307330106295625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-403477807340607849667796126584491397845479310162741770808982109849528893195826887975973378774224914337769685963029624926277071323163199772922268847430220243745209609974568232035430284932592872666929387064308381126853317287656592716301952225684049224680315370074980786827532756396838990165912110240238798895766785526550373729372959597173561710701 / 207236294270714286703125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-233438673959252076541824502918049552658201186604026300863929467221860007198586357324149681836196571771332596925776567315226201330726631910755244198840513883441615743814473110215226765586290800664162447705568668601419784085938644606596907591602928361660392620460169014729320525705529006656027315299968401295783197185269668109673994471 / 51045571430891729566875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(42545498780128768270542214338146859684645317369835181180452708847263672827207056329279222802340929825547918138265723914658807813237151093427967303343114796286066248926596630211387579011905193080927888697265585461576586456638179657895069850110134301328579606879136477964783681120703123883326744232226460204339006045099472699879100397866681388003663 / 1469493723010519487531250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-1541444975981854572038972858470828659083255210352936379473037695734295785311710989553110241891253955061005157564474746350880236693311714791716276412364265452967030326632654910674212280845417007386912118386380079877458235044972805070403070843767479598406639622952593408276789122813750097391124767259698818520300142709820082647912770761 / 138552265312420408824375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(4631460832524913728100156064026157871336243712262015651594561821280437653106709581787291050859894596738652553814232328950418808433077521540415055265256553393879664215116688527360522495525586646285564215449452850159154520916953713245093663316574128382019113634696078814650189792793486207556676453028777473549126164414283044063348149297097679549031 / 629783024147365494656250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-7073671517187919695204167289254636103223028761037021207429378464584140807227433122730659318134039137550147764533769025483729670847678165630250786938554285185708627105010314848915832168830912009394982568404159498626558214288437421812111340599533862308630987278568829773499802409264858031348764799284283983829243931376678157021341984099 / 969865857186942861770625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(139408285570234215414216136638255274456625235788770519180850633932830098133488835211880083315062929374701789769308370594598454365799435357891039990005993435693457292678301455310753664184206629242887863980129479424371776821196090624033125786752733958562448497448859653257335476604686488517417625049774783958583194373091788978376611183513 / 969865857186942861770625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (16056120952351056845887742521347457932255524022941219613223038229402976093436612410969011398334432046678289458174324819538276800194307449229669719159564542694177723654634435554261998634609839468200946908911889970326265469035492165334432057948595507014072323274619917385275794304364640229304708181890869770099215049103043239127014192261 / 323288619062314287256875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (212844812574669033787546260012970354585585964006260886991283003206521670427525069691425123393894368238817385930109204457462168899694877657461991481493419956800226811470350764180023482877840050917893751876166442930094377474664160556921772459047404685062164045798664462255759766861324552002327271887959192800612107272662926261914617078739 / 646577238124628574513750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (479329493887530717140121989367771455556246502796804196329669365372585772887207357170850575754160615955075581967424353022579576498351688197434108697066986876556615417273916231177783609640013369767360122551989089557896559126905158580210321977263291445950011023972326502489172608934595858495941385067536396538126468225336947422579852079 / 4198553494315769964375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition24 : step 10 (step 11 (step 12 (step 13 (stage20)))) = stage24 := by + decide +kernel + +def stage28 : State := + ⟨⟨⟨(-325713703920998326864834323330094020094919109573420556972747141938398342877145147050756324189151162201490138101587348892884850991571778308310034808663058472145336496765712871202404796546442089554405367654626708135866962409523076740860894262936543721422534717880315986111680619160144180679395828445260129334716578285815526698989724311908901032068500048679752759567877269876745075190728410473379482624706613291799863881237 / 30550774501388700145774687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-58029580904963293398121412772543961947242382706580668012142571255521758027908694490298216404999298922639657751030155725051472152708004918406370405743605061868806061765940522702712222578548491282835982702627306804244495970093110820248754108798382214241800509023729086521862847316161437903344855339102681269066063219656453982677752998860024321805845409125791406541769938369953596615631618256578051682343399 / 10910990893353107194919531250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-81900332722590568240999049578649722085881621100126598502982778127698620344538024666038766982146865894017252332546757016935462193774161218968035532401393603848310101181193284943343721344122574536237482370579730575204997051621578963491812832345871648958786711058629757808827589407334068322872422635255640692084690884448900265742729060824469357623835818340238759683438586954346279279431444462765706436818805563797495857957 / 21821981786706214389839062500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (55679988616838696201928447901719140065805927183442848839111432255694717838787307807415667160988587795037481414032896689200262248452415997686410250796127251769712794718089384727907418324247799877047072304692437694159570794927603619864096455510645586140268200523806480563629270567744097153250041271460232973761094212928651594316378284406292139827471907283340180179284895972312673991466894026114968398073 / 4278819958177689096046875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(77276812905087640472627683300203329083795916625314703319555499077513481279292043721876258350901455799041396294817322389351725377326213148193638001407699733411693813609652056151059225153459527237042438023380503782296038640979396080305462639803495171460824758088906984317406004118472689178983455881576347484631283901807330162372592020359637139714581871469049321307217281383220532319705316302288181033220909319270167997 / 9301782517777584991406250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-257852955784167397526168967736437050061666538651103802930335210666914859738687505118155378608938268630808715684276290664238098701238224655868378747797412512179417312054655125664074186990294178813873720521308005941748397155560904295255035096378807347248631795776860848676775597536099110695334331539072772659537592951120874188647239981271881916003862071494257344111068055497594210328825723281805442385602501 / 12123323214836785772132812500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-17155430734902670796369302143091607430554747811516207867575667304806024953630193350343092731005160997303614261258577870027377684462076513493090342763478915880260033209782395720819060092543473407480409751181065277967004729375464070724232812600793345642584883075195891593122370366918877405795840652958303911502250868929836042957633415518819300892517126148760919824870988582932103394872272266290411344300237918736141400081 / 25458978751157250121478906250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-1162757727932989472840588024734085970184588722477270998466925252445866178008921409398934547022904071453455147749153530589804534319276138050282410077805174486702279720729011273275494850269392337765061585691756332195749340872064711678621926176304389441491956793703082449827091143498406911031604226666173940059079254919353517725650026555177000161618970925531392599242079226475184769021892329717599948607249 / 162365935912992666591064453125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-3617366852787727375028991047862636457264981118294742750230272171678068273666787055351824354838897965346304976902523127788305552853007218292194113893798713968621323545803593145124644937450247043800430049717088860324515987527396634363267019210256878911648567465198039741971257889892610793662213437039505545425360545909842329822300970067808552271809301862005434154894501131291343515927975593116239489349235093 / 277734313648988183143406250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1010719151975918812013083579555830261819639171905050746592398173488392017278407047160046916512728896814405175321952513505792926881846989561741784101535153115378237785383787363833041856620577032573053771448841688006130439130567507344215854597102437922065808069575336556063160971183877561188705450583970761689642887356876981309327987305828134661795528735365954872052179239829790387093126968087309 / 61101549002777400291549375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-1990272665748926740141048348499297535884643836345414636884289697462532138051470112012325946007900686060079690251590322258820235320367155201415759920900598574764065367946427474799426603651786663987580792489113512125799044681977364998790407037867076591067636693651965518958636397679204768298885914837940345601045684224601743348491019562152439412528038335291160322967592739971390992853325869356095490173467 / 1526012712357077929359375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (5783855347757241569358974476461595524452300692459101348504383065053551767758098453407058592919755678179941012036759900282868888393325817724376146748578822459636247265500795466278149997133463406303169333339111234617043683526677085087673049724799080763080009990516106728408757849211814930808199202624930673425251423756940625734711166036291005727134095003574345343972207859807545699850076114349 / 898552191217314710169843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-575307674530760051427714822041805190580562025724384703933788339513918172312955828211652910445641523060675233886161439017988022449324965815061482037849247509947983361531912903011262201438894141652946179267892110001363013416325827584000229398079774236235790916526678180619573185910247126098550277757817542121993681775107956919635030938030796354229863872215177999264671690356656049784223311380678506518493937 / 16164430953115714362843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-8055129134926526134072347874262395540601801434577838111346580271053052893666278681523162944369478784440726475846182589548054574696281474120434079115753240543159926073826299428665854705142890733907358403014732936457682105558705528329239838387448110316560037065030645738497244081954658470227752963243395766909631309408465624172119385517834945877089693752587944038659863160636513422606825786947 / 379512726725325467649375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-39406665240273618007256601995962495348674653523363382276807498251577601855547343845545772302788134227602909022202513307389631237916512936070354399248720535065506199156446845051413183206486020685868428742747762251672229260069667941229357558341251762509289748799345558197158725946994407887726627263925005961389047514152436807251268830072337568002670520630351143388352177460352499507515373133827731211514305089 / 3055077450138870014577468750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-55499482779281339519858168215158787356380403558995210407470728288803644941636023064427466036909885827223504672693367416441617590689063039038563581036505364853668394703032205018681670455550364860818299681268996993114740408060335785935756471001703471080731112483502176879885408205498802919633312979390727442588393924795163802137423289016143115543088332460772630088362431324315868746757932571477 / 61101549002777400291549375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(-807478219918440272415497357089038096043055966178156729928776408960803979151311195940426025783979954814599863183290937113199767864933457003272927037399599358716608502489370303485463993311719093940452350223522276104356530453495064576076538831835380017867761039585576272791538065321326309277528962317890512067776868199268107306469767647597869133808831047437756845575548984121045014257275190689933020994066021 / 31174259695294591985484375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (62199835754599123176027783471108598536537523332422311484878577687218418842474995517958433030290282839295660731028898265620316241496159242263525870109424113265155865570568872264578930059870105215129561986737862971971659273833709433361058476807344403052336581354299561750136130946705435851502851925206942806765381094998836455697435275683103010554679446711011386866771931620345020198729281233 / 6960759740576144940937500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-70864117725960624492609837410557082802076781881735122899087097349165237243778952355243103847831457458762997164118092938143129999707400316648844140873255128543675791974266351993466068477512102570230549660221279194373728548550292994705473634021023352950238918374076930105184840882642990079681617443750822492682929444213639075837578484542303033609750435440932611803990723298813641004401154138786255315438681 / 10910990893353107194919531250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (535990257175093354013081158246428639067747380757291046816812809005825016303312340850011810181790805050631725901641823588741612269660642130626068844700087506264886137669702323394567851422320875915333099993146974793018767751732897501298618726210807936144239889552671020898329798321070608887091649949184277581095709929821830914312996254709766086552333670920102726401351503085673460345959677981 / 85576399163553781920937500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-600014318450607179724481670603519689074893141855289248304039172512060303543456188426442010245228851595791172029653259549517770097045022627644255695692862235953313676927958314634842409688471529106639299294314512402806105041814768721213078845018574105794917916943570995847948493692825134225521594489094100828382231615576412983677217669194798199297112116008835612043411852509918485190062527507235088570274787 / 24246646429673571544265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-59038319406650851812363222730544976089178620592785343509488800226173555956054399211003594991317859414343107282335691730815081060201935370234342779712255185436496068359186745990884183752203372695759854350101078505061014110410112628191380214900787348527176976141496146922350797522719060844814890107540289309398608180582876647950698257021845334398176875547089642008145635387608213782866904769097 / 1454798785780414292655937500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-134528914103281175835105424783628697959296705546433475443217503260859406272144574427166342745387976123658622335459779105240352420671950840808363637394034292380020098347028827388449495208715610888828040955283828843274407091203269185883196026315957607075369528919738032119555150535676782018244917144582302206313938888665179443434524142200430634099899958175317809127400705129709722129185869145419335269032787 / 10391419898431530661828125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-12803809987373438741372588490861576229877081871825366636757018065244985900333535133128006481561788968974153442924031871728333898620388736061870256725536636997934456818075487184381438959368355192833741552304732693566934738149837471381276785491426750216968972644758764140638765045406241596903586928033468952290440551060283361238764831551251701967022722386252206276474350428553516950905543436973 / 1454798785780414292655937500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(146152986997116658687332040023142049681922907804163457525886308340150623441732993936827027249888637314369266041974446979559050102445499858858417544929948949276137139811599621707852160498647823219643743459371165387309349326124651108460428415971277053024606302437050385247205324937686527777159629418481088660784002646175736145329821195269143508970100495811896798137185996416371557967842205682559 / 244406196011109601166197500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (81536781133720523142749763854610196703895685669515781974352127922532402720856781199987543433300974030211345651691351954506321774665996417895929359539182254369827611528528078296330344128023018425155910396004551245439068970183124771920308416510541261807307710683448740130283110718483061746408068065641030662930346370073862667905064538030943619487345262628675210200864288527829516310255597065827 / 396763305212840261633437500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (71427957226354754151094399948100303688513837336295083030047296678146658803810706861719073285702243243702679913838621446255925180590103468826351023487233638146586690732962964926835968132990918636812228057591280710906826844258031241746989796957383847771421500584646268576410630566989275635093473493518140462405551511297586345176342602240983580149781567094430860631139576490411946867389005660378679 / 61101549002777400291549375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1227408979536104882473074424383708580642752437652842628395776056266355996098434773976940191841896766867195807839806766831226337772529227029857845184639648492463702255346697750525202760470505514903629987682332634883169835622948824952862906812448378334839215842540213131874869929009564612683343906873443175088349016493583191900372549315899971747523679440999236420503390712250309102694699652818883 / 3055077450138870014577468750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition28 : step 6 (step 7 (step 8 (step 9 (stage24)))) = stage28 := by + decide +kernel + +def stage32 : State := + ⟨⟨⟨(2823973687931382034756608865595296660285455993506001431313643076830386549436307373147077932241987058568843046676156803228073437564551604231572374655836002893643383871716266878518389441977105686151693802311215795388712307086298941208738499587196953595815035196055498840797879960291431649494394102555835732284447443733697569248441368487472627780978416623486921239511215526323947512581473663972226384724128076543411356684716845131992515525426269181991569164384988675247118144996039 / 343696213140622876639965234375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (6006648643474982113792876576379650873819873974116029029591053920777106110299286033574569431970264015652955353994762091993107707697125219287053935905572698572699691106468583182925313716103223444954437481169121511811075978027079328640350844602483942778475474235546179052290723183265907827850412581982119338196866555786623336651450726832534069429278707370907345538969125000817841945850049855945909974451729598306331688248869193848521578447450194815429125471696593801 / 1718481065703114383199826171875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(964750179890541759030493167979133850405272129352374242105544447087662450539911851110749185745366941670833597132546788117376894875684882587792348716230643321677172410519758388281326574645878631811831193797630408402966201026026582431798818524888116317629190163242793733764424711832815739664787953122813566205952915287480649735651088201923718945934491352680091673658044654020831018916892215490143488220651433104115512291646739328498520691835969269150516464520315413692441806804749 / 343696213140622876639965234375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-535168290420482493887744123645939850154075083377018670425188729979940867017923314859439226977709624387140587832768468375409304039656619199030076971604409207147889077977425981040494281113612873372380939305819893248743128677417757416112990203729551199388646771131186924833445230093152728658553819127106203373091893285018399407398189454059779700203619590019310654439994736183273369720182629747450923068910968978235533299216038491355961680244110846597953052871771 / 2975724789096301962250781250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-1733624921126474291335061560630703028240711415643924251321554620858488237624721472476162970776700786824427986368717682403681562471730463229997088628243133736268387092730724506606338681892951048662369979822579791901940899691394647496862541305947473080118669326554185878117892632273389210885278854045750835365962808415481955266316694530982777103425341966502956804429633618545079963245693378679027941168445090620186091234358881696909623272007468054829887994654844291868125913827017 / 171848106570311438319982617187500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (6484821672917416202556972104224139212043775425047547067361672053378426668915739763303728349633963955609730458456535413170872260097784476684106386119684436765875263322341036018423781855353968410467855340009378470071757379630863003602884251046125843572216857708519044814251814145747503032710815967662630005172371168452687491012084723141208318166595164794443859679675502128696679077864801747339528053794176868051517956312562244184304281068831579819606032014670173957 / 859240532851557191599913085937500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-2253248191218757010025345855283606547702449350356075020814889694460986706276390850893468564427072732313417549280410732781114364024889472809529684831974980093502050828783117350465344471116272313827715314730729655814510569846242462015480700052314003798149731528125716968105915978759823116244441670655756436473484583618445810188488349015173993263504133099784796982268599041245767951173019418896547697626181279859157629701211230848693923354642283763091934444945654586834532080773 / 1272948937557862506073945312500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (6104291952068128077697633064889846982392871587340489107003511564081256676184419086745790677363652283137391675495437870887990478752676290289872344184323487609808055805888821169055214374996315019228082819338747045609186043895740343584496008408003989344924699796114855046330789185550963305461703280202852547581731080121637871918620046877277719637928531739992789137280554846005254828524464660807591538242662033875609575272592507264163166732273703533579630800964383399 / 1718481065703114383199826171875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(1541444951448626700688759126405495204258530848345692258880830100367651443939232992321552329664745600416419181015876335004111128109669901383596789046631174313453407517399989148715970330526177836391267666331351363428346869630412891310291745417782412289293331427190913358923693558401765656092532870379140772769767237033730709835540001451693723163247126503434567443740114501352583126249535322406655768169866394431939159552885944742338974771698729559465345697266853523 / 75537629261675357503289062500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-39435331010748088252000306459827207859790705113948108586195968282314432191013792581796671695438727965600527082844781148670471653262464198581774208542688391705798318392565922721863880294561212276932609597433450766954126883252356525593544980842971029776800407775539045311194244765643463008401671503673942071618276769480781492866653221322954971572077709526881974221157464572137952246753289384899506215751075997898809562951525677145959877613876467850613 / 1833046470083322008746481250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(9227951616457703729534554712357446505797511097146768753090273072273902597149791918741121603020559355714223873399111352041279779642742980198364775655157930243668928723096612462733866848511228909359275433436099200272187985618469237369758709435806840965215826020729405471051693606656823285280152798178033458731439686436294158909494461732851877478119350127907335697267486862656778727180424423660566543532158840670570032805504723682097169700621203464811957614928873633 / 3436962131406228766399652343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-10426253245147680685744824148153429659604988224935590417040149975002714097393633230375451272775020348821254994820325616031648724417470721842480786456330040428564774384610798885478243140601357031806697262535234766616836611088337021012804208824932411067201064129104132087442798246132676706089005797002922342459109661012658601324822006662905803697847727895945590276889775751635184222494342664183299839503342786943138400577835842574780435193706487147 / 1172024597239975708917187500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(39323957035610599397773012739090478336832679698236304758760059068103705704889302256454383680441967179502849069863278296117109609501900375522831868510236983799076428242254091402312031049274969674699455523944800014071094677282035972496521232315108593040910747665956536886560966071828926806132366137441208127560014067012480218427391338334041682728156636061933124180096083633775306693314585686212673484552993863040671668835708971563373223032704168203297064027442060177 / 2291308087604152510933101562500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (12760600988035387763517003329418273809681935983863745250029257989382741190416263963912769607147553611126812258663928882563203043454735660718803066871549728209688242828872955398964601406700610965168457245861387095512752685162675184731811520437506527835649959555368770901168936444043962837227529005818808049257270574836362186781868360772040381478530213512686019182721829254132527889614062851174126080061583920604605750863520730313949436936499273938177 / 339453050015430001619718750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(69442534617893871177074349245662043338158892321625510716310633420615105467455552565475061278683138263860006216606245552672187217062254382813904969391102842517353100567886700947934582637080233881147502601235017825096847564910902845159600452198811202771971263267140314573634682180523787457597889538632165591891300367837109579555231993762903619376574739444127912182190722955537200678433682556695125467417051774817915576721909435580627467823341982981722543221425923327 / 6873924262812457532799304687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (74247005815039750404747611557516047356365463908705670450216360336023223797054119582838748452204118399849624846991762504104586342652121064713157351258200205633558110496260104485024190182202970323240213365050091700139374960379863712324357103958500228401644353823998220073972673940213148273081938159815165495888302815372626673903402411897828575368426816441004807648973736156863835648799193208038159183178469514660936923393031704329679355837568997398921 / 9165232350416610043732406250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(8658514376287947790768824241560079383717251625102708241869313351850534362627540837192289402280491157808402715312993070510042703329392837907891543113777051458975829133521033811077691768747713414989258839335840582087184512417568051465868633726369354441093264723819190870134297853964567107289461326633647742156335495481301955630996652267432370174061252758293034283487359770325414399479444607177052364093274811483609799316210935926503541656197656693664492057582042071 / 312451102855111706036332031250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-37944003376165151250819386589514717774719008490880366598408202738024711955357282243245278454686080055257351726922570262609909111712087524090620415331034385279118433281536105753180576789795692654545838440276033684497630134050918419347990423988423999468180717671085997075177912995657167338778682846363954586654761922268881930847070995985077774942293907924596238578651550010230826866461655688550466492930996787122733034936362534206803862129839371144503 / 2988662722961938057738828125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(2182155791592987956077523056874453548799123933107635327416794941748769153666448870841080397412328255620430719197707308246958957894220639721346258664907004372613007999035389052990159758460170800197728439516709250819588103856296180209168215535758884080683274944668534045939350912325340921065171144869326590374370114730742774096628105854866741065975758194166785967691418852125615358205769598938136690733047725662539341785070843191196097631161074901295634093057451777 / 343696213140622876639965234375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-11576457887116152386111195559398297778888561813680058788217112857329591010156799643722807077037318860573132359772062637887377327184126068671868019289943135498623315985524549844216075606059840464442335049886117883597662330101702533308645720109590671723413773496612539089878875137400820703637952476818548057164367202114766403685556471662533712936029277511466231914694409683998526238807551982642828991696931311429138546773968362032337469635716592524157 / 1527538725069435007288734375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(80044323995664964692829090102203964482824094260692491057672090965607616535076903729814909491838325742915151365560687426560063637701603283360626606485965193239400847891757974560759216436864359692762975177280271152535044598941897884656731980547947323771158603635486364530933403646005062697332222952660987902140344635348386505951775940694900705702224183827306149048295930487886930953430236331105675738113627308809266213506438054003525792371959539983290452421422379 / 49811045382698967628980468750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (359865973376742990504848723951216680066421497090965271746224718720497619461750722340352787399411577233932610866942247049819280162875703083883408171256313982827071194954992294954446526504352901210390856378296268573294691106251204843897925686983716317346221265986201814050300490597886369317616760325436021824020554587910285300027666839145669350384935112256244519300723452896261788127832561132639658330550801687258594364439682999443280121404625613569827 / 9819891804017796475427578125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(6294292011709550026104353928419917243186571305689744205860111880493215722861778505567106249861851488046581076797384624637856532036679850416343745123917085390139288739988101793265579972728016645980673298627467375173306310785123939584014083951439126701657697874291716230469373445802682854202931907308491003413452621872133825237589679141575825847681273314465884191939866248965566944805973616788895498356214506505141226396223073666336822177187824872451023900942648337 / 1145654043802076255466550781250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (726469405725153552430648641082166058162450561340119597074608347612469742766008032330570648786881719664174990413199723439427933419147094495345855156881949485442677659581918656231514720212401170599962665210621703006048091105437527406789575006961183631414208249015060485475018032829270574548780204907334252628369119462717455006210023196270977202961777234445790895585732780411101483794855409358809264516864706295515906617674212073812940531714287627993489 / 68739242628124575327993046875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(35118225826605488628245564873459279091731637717828587881823096696533135046188914553088190250560823949714891414725566672410841797620940377755680252557757315561655918183660165676574036920451340239729826656477767847500013323949662578635699010603987232861319642833654729097344020179875031402672178857959549811188662122246650887713654415136624441491311759514959746739901879128299657206991712325572162177133677479012563298724042765974687736698277689608713611 / 3436962131406228766399652343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (3332528443534707659991577275158647570837384151112216294563124258625829219533076137467284152863170499145769239723258450219995555271439924705200000352652915427989089499484296939646370248018838047221337164343439370993530713815052786161396173568819334409934427827213516263958523172905637369110176450889685635864614419410305905419477429868629372493193761067184869272937629359351484841851953686327555646212194293132858905710342087991220876518521219985823859 / 954711703168396879555458984375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (737574444377057111331064175618365402934403003560612451562248163318815659277150972105528625805467504402041514531822794807644907176094845786931147559222477040103996976503365312802425196232287560386104685292433901496910809224967016582820117990229722955462053596882708930944533478524352392243348551021481510592197944516689731424322157892434002226308472966434671686639175625640015090227847379431285788037049907215862454485371215516368991815141099364030034003 / 137478485256249150655986093750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (6626750085590235225461279205508923059254772346079109045224786361281334890059826641829005779318188365289570356929555375406587157988516937074173593384356480682363403331777398347551580744569353236305554326450556423694625189752275911188355454696092906909265997905795307998998517244948349835973922442604769930975404718751828004553247500581374535426914580689125436694813155000433964075254272962288937185931726311196007159831184487317219675926548930865812619 / 3617854875164451333052265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition32 : step 2 (step 3 (step 4 (step 5 (stage28)))) = stage32 := by + decide +kernel + +def stage34 : State := + ⟨⟨⟨(896885394030409536020956235284007699023350928799565735005707196151106459280481467927174690312934613402624667489790735746204381853148948698497466003156606233897401802956639287092699800482513066030710209120994305319245052071170013701659871860711273044372414992276219329109875095398388438954563650245671737106274045132073870755420596227109493190984650237967124176103268494211426711801003376918517954458159503130778396037533894247783327465476635580507322684864539861743467734685863872896070239310634030460621 / 343696213140622876639965234375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (101315297418143212120707712599935365579898693071825301779161193775321061643185620236838576711838960700569911246691204880513031165901781853091804872097094100540398057879903212866566331265416625423374117598055168456283428614816834547663581581580595150962512382446735054108375745078455567012122329109424034745810787678365871904636503805143743430793404902835240500306487484166161969926432576683013110528946396273209619568858670619127016701383569804800617126847030093556613263442555159866058713057 / 3436962131406228766399652343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(8434726074246475211782543708471835994647677829860667851471585892039102843478962986868471127383897944285431320932383003466050002284309037916076728925444840122033404763301742209295926849268495427581810815115014614569152699345628853036317490142715216456698273008395408309688885992998176710664232317746862450807439835624601467301603019177649800467477352909096915697421974211758644823224051912394059219951891828285228036777562539858468095536277996142282790860700359526182367844132070421989911193039706417074571 / 1718481065703114383199826171875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (2216544437942040767734606614753383464374264031437249997258943525750669637158704299074515686785716606440231834838008208863597050995428492500169819353107595673912788538598034260005887732970848663549782641035607706163137388650824958400249866814450769286378097610106403949290265439910547244063222770450257674359153739568777851646268939409204363427501809471233534056724675971276157875558083855836585146766789240799580245284850075728737507011453004932032832272146807046086530635024201605197393 / 279673382433862966376953125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(83342475189008744213192999616796211194911047217377627109905055316149823384286021461910242910869230279511102031721144178679023875523738570952323632541854048806123529873467339817810983923192996765544524897061828146112107026822839150771721760003531487810227886416854802701616247895985863127300256653634178961810750791438049839831452635417598861269774696417603242749878979408414833258764577087277040368323389169047227616989141353619947661265458013562196581965502452808493885985522303618673626281 / 2893065767176960241077148437500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (92736790157484665974135940203981037028872180630178137693390940031270984439374982825598263845131756585380917810224195619380387852421378988242557849102610920097053844122293942545686741015590393582350154971934068189152329894598996947324018926629576071180902268442873688114306786972536493416678353766737465346932905422728605832537413587264488193564440878664725022802416561941532493379027254712902189757787375849425674739873299570299683435789212497050648919685220002279612101775941 / 5985653311400607395332031250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-60296666687642378424576685559098478371429046475530484111881649967842926217580632343640614835537949476566893167738158484221723493539170277896498204748376592354705130319979318324303709859909004178028777520664028603464757119892911025560624803052190548621243238620074388574422562538131784392979086846540635869817196417013906640036893767240155655468413385929608462252371818035187483048244114136404949515660618115999161496048335641336283830635978797641008500940307701516773017725050487305738710967 / 8679197301530880723231445312500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (799300162515634885861706013335282619925863836279762994395483037001247619441972398455093768267811130252308689933099139476471811923838145019646798749133940013130324674696348954155105268087612596372088074632424511723488541781038526135108668059582337993029873175391505694368241634687913205560813071871469820769344228145793226191340955744688045272309546062045136425081210887057132564554632403148914128075471069503920959469746559648475190389386227778291081997743608144498738311917797 / 173583946030617614464628906250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(681580855252914064253202136960733581017886041260312642349609583958968683771666432549933223548166929831515782733518601240001120151988089548455204536407480264787040595185995105987824461215230188841303424561474074196485295393172565844571281487604747076060313652207100359437187330542424915198724987886968602954559032776622361835435403818003181487280351298682022066240985084986541789819088290228405862110821656149877878357961662962386230204992499606794535825523777419114635140376637577768003153273 / 11456540438020762554665507812500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (4593822418891027564593152444248360222312971502010823967661605039590805465722844284928847014834376152367765348572647107529645569935795052069845903989096087975524685455056310322302731833936248638932059322478694542861886223791190794838682001103399429214047706742977559479138694363381188598160887461180490883257024765671823111354724423162128600698053048245971314644111243950175272583678031613421733570468970870804424256064263554273252092656056360881284768625400863027637671427219 / 67530447615801724460156250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(21454389845744800113794676320244505625501857949632776944473257884434297484507415369617084467215291064346849087826832568171209238133963788561468553093237510285672035478376370664618614586290234903471255515731709686508902655679517680523094995771968905333751839842346437498514913693730336031742988621208966306487784954726506662681804746262119011855114056316534319793319522600322351517824209238767521432352617615299419945218687400260515797612773303798671812643482337952632084902720058135486255137 / 818324317001483039618964843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (33018115955006300077484874839599920229766489500156176337465899672557566016812627235367182328327280874948585463638966353164116578096923157618891611229268923431672074026170375696263680335345795196628074262203610201440242650761065501949091218853101032897320405981042676055470429007691424833291784921547484631051607190116473355834827228912494190363483150830083645949852774837417377516388575561974144371501570105434429192642672367143487653407617589115716078125633554749224731645549 / 3068716188755561398571118164062500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-6916451504209157712548580346644261133114362733220707189165980634691806589477215775454883380200240385780927096784306966899700031161381557450081106369259979683388591959505871200608298951060072045845424076115690729211030507203567537732136359368036021167682841652793201616257048320899584739850641040537874545482991000705194682800319770759309339684673878960458669409655738930174678318759268886858539942228602784966321776947073825493956512128941267500322902766406746855618063701156929030296421271 / 1636648634002966079237929687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (-48221753290922695955007059886658608095482054729743559043125572749174961092036092417437119631362544743517914951096298304144207312605293683901783393762036277116284633725726838089783474780058084036021465750092205800521814527570650098549508734050300141487572808610624514162612647308940233652994935950598580680108944489886366459607320528480671914386654525297306609815403061280563340106781013088988626415032951843665367861617985624576118299418726073121541634396578471751028128153521 / 23703187113146405285514843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-10154334546626704023093795488324091759685997410957622338744761938847910760088183701917400752780128627907989101179361491776192285389915385136009671502154479576671262559176819075697690888983955694861030837686828868228638981560844174211075151497093398595666420976063205205468080047196300219828237615435845258245448705667757162867821907221404406238408148990466671090356429899937391265037829974255800563385729978636950558110763696863685996062938884697151602817645629253328428956865941677282651187 / 6873924262812457532799304687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1369921231772804172375859364531446030185516679907542731294568726217246047083317486258281881159710717570224131162114387588730194307400599273745164541939841115290771401982235377071931628458779768805036514409865168926657916415647399959133124600532022379200809590427763399283114624833340401562614416862285218173293747933322937872776935003852602547329661087607574540416544852193048822568685234461196564415625634647931380833318965048473088625635266350663270745113531369525860815979 / 52876340483172750252302343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨⟨(538508166522008140771262441352618705143542664859429965163004535228678619801330142757354093162205920947993796182158113652828264790290755515028001034386184369198665166627227396338247533741659394309596941449838245139498592906752482412721099225133440326547961879683709522897280299087716642114562886596201254150148587089847534430268371550021973228410889549956840224031572730194600140415416158034331445787360419232596207758941929139119599694688951661141504335126143238466990760425702152958473076641 / 8592405328515571915999130859375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1601196303352035696772914842529947274318739057270708736403222039710493525426560612235926393581579593327259770497679690945248772515725928714160036207014736755014825902832450451746557213561367460257782575777218747538845971367878792258295725714841148009812939317500019206667212161560577849119045101692460506713342826337216732866662615063615034406410322756306575428881089347081670410168548847727354576485085626457845123114423321703891128492432462767517750048426942079709696228549 / 16172417332045119360058593750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(557465871838175726648289916577618363510096468317856976579191225988329885431416585682567693298088660005127823878573159073046324955699739542599264411889062267236848763619912729542928069264078999637484177217359166237581496263041718202719153814268282426897924337604397305816898139746808977296877918690793484881715593940911213082634532563836828717576626158636677458563433858198110909039167218345814443426990857502212999960657432236358728374470526054372941685654658886550932684071178624318870335123 / 17184810657031143831998261718750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (3533519331062110799789510140601809563225271614480333095575974632139383995562893522549268745114128899569883616812871797217158084764826747585159146234577005528842633580635660915968545881961778181830577385508131177057340618909716154258623781771226093554065828636642829197773953747284706914241759664469279359585529087342901959464202277924632559810919215978200363079752691169300302039833587965499893921263732840473583782905495438308122176292571099321057569836040746208445544711 / 177761337460949938007812500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-4428432029551021828653153286151205817799948499344238348313206886959836340084165029789972743966026418646739101604129353538007044070290540406285759382154620944766518758298998913953622898363489711128093717248971565779122326231678295043049391961611379508893844878242600103432223188706601885509427996831636345486204549961321666869729682191875450593486462847876751928490495749740215832244516302742197723469142443863482732252280808372693305913480075540261761915410011125057546566799112605033637 / 1213873748465857443808593750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1264443058382732637534813375233295776350940185997117882572932499137661089639597276761281083203145849511977001855793265862545732811212632353583463487276715930777113045467360321689197026750161913394529787059040448381745635285004435584637297405107964569347943847611288540540435966111597859059217111845299490790903525875604791863220427767858618283945660631541605422082362064068835523949353382893046440416701323680385816529414357472429995160114470408566347474686151177093857 / 3915262500916148217773437500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩, ⟨(-170259381648203604213929215237313361203919823979936481101943613930977499228585408055138749937517232823862796279415710984775666740251955442773452844714283338577225723059632692406942785686964485430303464985392493041376441290740584747603100088661370918481235738038874111099810749707102433338793098341182912148990447508773683187184268978109103039586209503837045914473062309402288244728255050436431984213184376667729834967501241288727169733374457600078842137275072131080314779997720387898224059 / 173583946030617614464628906250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (18828856634630816559318796782692028030409432779960628643966073947836845115411731221795602609128108035178330269360682013255831772188548287180720019139233542494193604244893974011202158450880308166000823789052807335806042884120836491194999728669668190025014519915786532684885393562844555188169762549002742626675353620026238774860569314966724628001178153138493943450767815136006327655133877029047069994114058586425177095652399304192722607585908066577486709971882205008869885381 / 30997133219753145440112304687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩, + ⟨(1329340899788737096866572014706401131327574282721164770979297837635259624509377469714053075934756387438067210455480781620475256343599964409462692326463232975920731921554546435117029030864752695979629501376402059214482744832655573759020494546866635933072145807833981232327178679325966372676667959270739783991913233007493838794948713681379677746088642319363382203281870134070952494952761789414797951815778717396747537473791444057690994936146481231387252053613457685678479887503428503 / 3525089365544850016820156250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (88530098994254851085190592098928324546351355194035588880646678901599291493233441868281950962977651696032407337908586991702647077289162293874930670189505157434756479345640908443617701814610520388629566272822807845554761206998015833504101071414304807463928681622430230374538891828065283353423417516667996912888058367445142247159857442945328594149593863751044056475894002720496261309408106516722024527648288692538392128179864609424307354707116284675056484831795116203851945060167742799 / 687392426281245753279930468750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (1134391682727401628197237642984136424555023941010407185910723130851201167461417199495743332635306941631904489861868163550129009481127807048985112075734323067089665042787603262890724812709088544067681675096242108297780550560066348193209750223152417618700597642694706990809174506415101582084430470915124204132849675396812885754263471213660062288254569857164975587572395330234963597674754147200182321578477365199264346502088294593642638389553517930038484219880317825818746677390139479 / 62490220571022341207266406250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), (6065164474800368461028935455569374901746793951668898637261417270640650461311235964384278887102288328501407724002773055016896948480399531178874161587687601805578226495782875269130684708049674625975807884210344038663961826580885496189838422281481841618544498445127028057601276225498670979142524719793376349095357836127845361360074229629022933699376782052175493943215570072556320628542798328290283165424149147724660812434858157484361676247884377478052186631149832517718673759743591 / 979191490429125004672265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)⟩⟩ + +theorem transition34 : step 0 (step 1 (stage32)) = stage34 := by + decide +kernel + +end Computed + +theorem result_eq_computed : result = Computed.stage34 := by + have h : List.range 34 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33] := by decide + unfold result + rw [h] + simp only [List.foldr_cons, List.foldr_nil] + change step 0 (step 1 (step 2 (step 3 (step 4 (step 5 (step 6 (step 7 (step 8 (step 9 (step 10 (step 11 (step 12 (step 13 (step 14 (step 15 (step 16 (step 17 (step 18 (step 19 (step 20 (step 21 (step 22 (step 23 (step 24 (step 25 (step 26 (step 27 (step 28 (step 29 (step 30 (step 31 (step 32 (step 33 (Computed.stage0)))))))))))))))))))))))))))))))))) = Computed.stage34 + rw [Computed.transition4, Computed.transition8, Computed.transition12, Computed.transition16, Computed.transition20, Computed.transition24, Computed.transition28, Computed.transition32, Computed.transition34] + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileDenominatorGap.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileDenominatorGap.lean new file mode 100644 index 0000000000000000000000000000000000000000..a60706cbe93fa139f43fdcb70647c58d5daa81de --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileDenominatorGap.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileNormalizedBounds + +namespace OAI + +/-! The finite certificate gives a uniform nonzero first matching component. -/ + +namespace DefocusingNLS.ProfileCertificate + +private theorem gap_of_near (a b u s s₀ : ℂ) (χ ρ e U D : ℝ) + (hρ : 0 ≤ ρ) (he : 0 ≤ e) + (hb : ‖b-1‖ ≤ χ) (ha : ‖a-u‖ ≤ χ) (hu : ‖u‖ ≤ U) + (hs : ‖s‖ ≤ ρ) (hs₀ : ‖s-s₀‖ ≤ e) (hD : D ≤ ‖1-s₀*u‖) : + D-(χ+ρ*χ+e*U)-ρ*(U+χ) ≤ ‖b-s*a‖-‖s‖*‖a‖ := by + have hn : ‖a‖ ≤ U+χ := by + have ht : ‖a‖ ≤ ‖a-u‖+‖u‖ := by + calc + _ = ‖(a-u)+u‖ := by rw [sub_add_cancel] + _ ≤ _ := norm_add_le _ _ + linarith + have hid : 1-s₀*u = (b-s*a)-((b-1)-s*(a-u)-(s-s₀)*u) := by ring + have hd : ‖1-s₀*u‖ ≤ ‖b-s*a‖+χ+ρ*χ+e*U := by + rw [hid] + calc + _ ≤ ‖b-s*a‖+‖(b-1)-s*(a-u)-(s-s₀)*u‖ := norm_sub_le _ _ + _ ≤ ‖b-s*a‖+(‖b-1‖+‖s*(a-u)‖+‖(s-s₀)*u‖) := by + gcongr + exact (norm_sub_le _ _).trans (add_le_add (norm_sub_le _ _) le_rfl) + _ ≤ _ := by + rw [norm_mul, norm_mul] + have h₁ := mul_le_mul hs ha (norm_nonneg _) hρ + have h₂ := mul_le_mul hs₀ hu (norm_nonneg _) he + linarith + have hm : ‖s‖*‖a‖ ≤ ρ*(U+χ) := + mul_le_mul hs hn (norm_nonneg _) hρ + linarith + +theorem normalized_denominator_gap (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + (6/10 : ℝ) < + ‖normalizedProfile b z 0 1- + (Complex.I*((centerZ : ℝ)+z)/5)*normalizedProfile b z 0 0‖- + (((centerZ : ℝ)+z)/5)*‖normalizedProfile b z 0 0‖ := by + have hρ : 0 ≤ ((centerZ : ℝ)+(radius : ℝ))/5 := by norm_num [centerZ, radius] + have he : 0 ≤ (radius : ℝ)/5 := by norm_num [radius] + have hZ : 0 ≤ (centerZ : ℝ)+z := by + have h := (abs_le.mp hz).1 + norm_num [centerZ, radius] at h ⊢ + linarith + have hs : ‖Complex.I*((centerZ : ℝ)+z)/5‖ ≤ ((centerZ : ℝ)+(radius : ℝ))/5 := by + simp only [← Complex.ofReal_add, norm_div, norm_mul, Complex.norm_I, one_mul, Complex.norm_real, + Real.norm_eq_abs, Complex.norm_ofNat, abs_of_nonneg hZ] + linarith [(abs_le.mp hz).2] + have hdiff : ‖Complex.I*((centerZ : ℝ)+z)/5-Complex.I*(centerZ : ℝ)/5‖ ≤ (radius : ℝ)/5 := by + have heq : Complex.I*((centerZ : ℝ)+z)/5-Complex.I*(centerZ : ℝ)/5 = Complex.I*z/5 := by + push_cast; ring + rw [heq] + simp only [norm_div, norm_mul, Complex.norm_I, one_mul, Complex.norm_real, + Real.norm_eq_abs, Complex.norm_ofNat] + linarith + have hg := gap_of_near (normalizedProfile b z 0 0) (normalizedProfile b z 0 1) + (centralNormalized 0 0) (Complex.I*((centerZ : ℝ)+z)/5) + (Complex.I*(centerZ : ℝ)/5) (changeBound : ℝ) + (((centerZ : ℝ)+(radius : ℝ))/5) ((radius : ℝ)/5) (318/100) (234/100) + hρ he + (by simpa only [centralNormalized_zero_one] using (normalizedProfile_variation b z hb hz 0 1).le) + (normalizedProfile_variation b z hb hz 0 0).le central_u_bound.le hs hdiff + central_denominator_bound.le + have hcert : (6/10 : ℝ) < (denominatorGap : ℝ) := by + simpa only [Rat.cast_div, Rat.cast_ofNat] using + (Rat.cast_lt (K := ℝ)).mpr propagation_comparisons.1 + have hid : (denominatorGap : ℝ) = + 234/100-((changeBound : ℝ)+(((centerZ : ℝ)+(radius : ℝ))/5)*(changeBound : ℝ)+ + ((radius : ℝ)/5)*(318/100))- + (((centerZ : ℝ)+(radius : ℝ))/5)*(318/100+(changeBound : ℝ)) := by + unfold denominatorGap + push_cast + ring + rw [hid] at hcert + have hsnorm : ‖Complex.I*((centerZ : ℝ)+z)/5‖ = ((centerZ : ℝ)+z)/5 := by + simp only [← Complex.ofReal_add, norm_div, norm_mul, Complex.norm_I, one_mul, + Complex.norm_real, Real.norm_eq_abs, Complex.norm_ofNat, abs_of_nonneg hZ] + rw [hsnorm] at hg + exact hcert.trans_le hg + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileDeterminantBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileDeterminantBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..b39230f8c673e6e680522478c4a4ef6643f676ef --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileDeterminantBound.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileCertificateComparisons +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileMatrixProduct + +namespace OAI + +/-! The scalar determinant bound holds for the actual parameter-dependent product. -/ + +open Matrix BigOperators +namespace DefocusingNLS.ProfileCertificate + +attribute [local irreducible] backwardProduct profileProduct + +private theorem backward_det_normSq (b Z : ℝ) (K : ℕ) : + Complex.normSq (backwardProduct 5 (Complex.I*Z) (-Complex.I*b) K).det = + ∏ n ∈ Finset.range K, (((n : ℝ)^2+b^2)*(((n : ℝ)-5)^2+b^2)) := by + induction K with + | zero => simp [backwardProduct] + | succ K ih => + rw [backwardProduct, Matrix.det_mul, Complex.normSq_mul, ih, + det_backwardMatrix, Finset.prod_range_succ] + congr 1 + rw [Complex.normSq_mul] + simp [Complex.normSq_apply, Complex.mul_re, Complex.mul_im] + ring + +private theorem profile_det_normSq (b Z : ℝ) (K : ℕ) : + Complex.normSq (profileProduct b Z K).det = + (∏ n ∈ Finset.range K, (((n : ℝ)^2+b^2)*(((n : ℝ)-5)^2+b^2)))/ + (K.factorial : ℝ)^4 := by + rw [profileProduct, Matrix.det_smul, Fintype.card_fin, Complex.normSq_mul, + map_pow, Complex.normSq_inv, Complex.normSq_natCast, backward_det_normSq] + simp only [div_eq_mul_inv, _root_.mul_inv_rev, mul_pow] + ring + +private theorem profile_det_bound (b Z B : ℝ) (hB : |b| ≤ B) (K : ℕ) : + Complex.normSq (profileProduct b Z K).det ≤ + (∏ n ∈ Finset.range K, (((n : ℝ)^2+B^2)*(((n : ℝ)-5)^2+B^2)))/ + (K.factorial : ℝ)^4 := by + rw [profile_det_normSq] + have hBB : 0 ≤ B := (abs_nonneg b).trans hB + have hb : b^2 ≤ B^2 := by + have h := mul_self_le_mul_self (abs_nonneg b) hB + nlinarith [sq_abs b] + apply div_le_div_of_nonneg_right _ (by positivity) + apply Finset.prod_le_prod₀ + · intro n _; positivity + · intro n _ + apply mul_le_mul <;> nlinarith [sq_nonneg (n : ℝ), sq_nonneg ((n : ℝ)-5)] + +private theorem certificate_as_real : (determinantSqBound : ℝ) = + (∏ n ∈ Finset.range 34, + (((n : ℝ)^2+((centerB : ℝ)+(radius : ℝ))^2)* + (((n : ℝ)-5)^2+((centerB : ℝ)+(radius : ℝ))^2)))/(Nat.factorial 34 : ℝ)^4 := by + unfold determinantSqBound + simp only [bind_pure_comp, List.map_eq_map, List.map_map, Function.comp_def] + rw [← List.prod_toFinset _ List.nodup_range] + simp only [List.toFinset_range] + push_cast + rfl + +/-- Uniform determinant modulus bound throughout the certificate square. -/ +theorem actual_profile_determinant_bound (b z : ℝ) (hb : |b| ≤ (radius : ℝ)) : + ‖(profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34).det‖ < + (62/10000000000000 : ℝ)*‖RationalComplex.toComplex result.value.b‖^2 := by + have hcb : 0 ≤ (centerB : ℝ) := by norm_num [centerB] + have hB : |(centerB : ℝ)+b| ≤ (centerB : ℝ)+(radius : ℝ) := by + exact (abs_add_le _ _).trans (by + simpa only [abs_of_nonneg hcb] using add_le_add le_rfl hb) + have hu := profile_det_bound ((centerB : ℝ)+b) ((centerZ : ℝ)+z) + ((centerB : ℝ)+(radius : ℝ)) hB 34 + rw [← certificate_as_real] at hu + have hc := (Rat.cast_lt (K := ℝ)).mpr determinant_bound + push_cast at hc + rw [← RationalComplex.normSq_toComplex, Complex.normSq_eq_norm_sq] at hc + have hs := hu.trans_lt hc + rw [Complex.normSq_eq_norm_sq] at hs + nlinarith [norm_nonneg ((profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34).det), + sq_nonneg ‖RationalComplex.toComplex result.value.b‖] + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileEntryBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileEntryBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..e65c6d43f75b1f951e9c27d4414037e77b7a2f80 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileEntryBounds.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileTaylorBound +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileCentralEnclosures + +namespace OAI + +/-! Uniform entrywise bounds for the actual K=34 free matching product. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +attribute [local irreducible] profileProduct + +private theorem derivativeB_entry (i j : Fin 2) : + ‖complexMatrix result.derivB i j‖ < 20*‖centralM‖ := by + fin_cases i <;> fin_cases j <;> exact central_derivative_entries _ (by simp [Matrix2.toMatrix]) + +private theorem derivativeZ_entry (i j : Fin 2) : + ‖complexMatrix result.derivZ i j‖ < 20*‖centralM‖ := by + fin_cases i <;> fin_cases j <;> exact central_derivative_entries _ (by simp [Matrix2.toMatrix]) + +private theorem error_entry (i j : Fin 2) : + rationalMatrix result.error i j < 50000*‖centralM‖ := by + fin_cases i <;> fin_cases j <;> exact (central_error_entries _ (by simp [Matrix2.toMatrix])).2 + +/-- The entrywise complex Taylor remainder in `free:profile-enclosures`. -/ +theorem profile_entry_remainder (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) (i j : Fin 2) : + ‖profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 i j- + complexMatrix result.value i j- + (b : ℂ)*complexMatrix result.derivB i j- + (z : ℂ)*complexMatrix result.derivZ i j‖ < + 50000*‖centralM‖*(radius : ℝ)^2 := by + have h := profileProduct_remainder b z hb hz i j + have he : 0 < (radius : ℝ)^2 := by norm_num [radius] + have hs := mul_lt_mul_of_pos_left (error_entry i j) he + have hnorm : + ‖profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 i j- + complexMatrix result.value i j- + (b : ℂ)*complexMatrix result.derivB i j- + (z : ℂ)*complexMatrix result.derivZ i j‖ ≤ + (radius : ℝ)^2*rationalMatrix result.error i j := by + convert! h using 1 + simp only [linearModel, Matrix.sub_apply, Matrix.add_apply, Matrix.smul_apply, + Complex.real_smul] + congr 1 + ring + exact hnorm.trans_lt (hs.trans_eq (by ring)) + +/-- The entire matrix varies by less than chi times the central denominator. -/ +theorem profile_entry_variation (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) (i j : Fin 2) : + ‖profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 i j- + complexMatrix result.value i j‖ < (changeBound : ℝ)*‖centralM‖ := by + let L := profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 i j + let U := complexMatrix result.value i j + let X := complexMatrix result.derivB i j + let Y := complexMatrix result.derivZ i j + have hδ : 0 ≤ (radius : ℝ) := by norm_num [radius] + have hx : ‖(b : ℂ)*X‖ ≤ (radius : ℝ)*(20*‖centralM‖) := by + rw [norm_mul, Complex.norm_real, Real.norm_eq_abs] + exact mul_le_mul hb (derivativeB_entry i j).le (norm_nonneg _) hδ + have hy : ‖(z : ℂ)*Y‖ ≤ (radius : ℝ)*(20*‖centralM‖) := by + rw [norm_mul, Complex.norm_real, Real.norm_eq_abs] + exact mul_le_mul hz (derivativeZ_entry i j).le (norm_nonneg _) hδ + calc + ‖L-U‖ = ‖(L-U-(b : ℂ)*X-(z : ℂ)*Y)+(b : ℂ)*X+(z : ℂ)*Y‖ := by + congr 1; ring + _ ≤ ‖L-U-(b : ℂ)*X-(z : ℂ)*Y‖+‖(b : ℂ)*X‖+‖(z : ℂ)*Y‖ := + (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) + _ < 50000*‖centralM‖*(radius : ℝ)^2+ + (radius : ℝ)*(20*‖centralM‖)+(radius : ℝ)*(20*‖centralM‖) := by + exact add_lt_add_of_lt_of_le + (add_lt_add_of_lt_of_le (profile_entry_remainder b z hb hz i j) hx) hy + _ = _ := by unfold changeBound; push_cast; ring + +noncomputable def normalizedProfile (b z : ℝ) (i j : Fin 2) : ℂ := + profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 i j/centralM + +noncomputable def centralNormalized (i j : Fin 2) : ℂ := + complexMatrix result.value i j/centralM + +theorem normalizedProfile_variation (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) (i j : Fin 2) : + ‖normalizedProfile b z i j-centralNormalized i j‖ < (changeBound : ℝ) := by + rw [normalizedProfile, centralNormalized, ← sub_div, norm_div] + exact (div_lt_iff₀ (norm_pos_iff.mpr centralM_ne_zero)).mpr + (profile_entry_variation b z hb hz i j) + +@[simp] theorem centralNormalized_zero_one : centralNormalized 0 1 = 1 := by + exact div_self centralM_ne_zero + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileExistence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileExistence.lean new file mode 100644 index 0000000000000000000000000000000000000000..6390b04a6e15e3bebfa42d7606ff3cd3bd92fc5f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileExistence.lean @@ -0,0 +1,97 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileTailError +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileQuotientContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileZeroCriterion + +namespace OAI + +/-! A zero of the actual free-profile matching quotient in the certified disk. -/ + +namespace DefocusingNLS.ProfileCertificate + +theorem diskProfile_linear_error (w : Metric.closedBall (0 : ℂ) (radius : ℝ)) : + ‖diskProfile w-realLinearMap centralX centralY w.val‖ < (25/1000000000000 : ℝ) := by + obtain ⟨hb, hz⟩ := disk_coordinates w + simpa only [diskProfile, realLinearMap_apply] using + free_profile_linear_error w.val.re w.val.im hb hz + +theorem diskProfile_bound (w : Metric.closedBall (0 : ℂ) (radius : ℝ)) : + ‖diskProfile w‖ < (3/1000000000 : ℝ) := by + obtain ⟨hb, hz⟩ := disk_coordinates w + have he := diskProfile_linear_error w + have hl := free_linear_size w.val.re w.val.im hb hz + rw [← realLinearMap_apply] at hl + have hc := (Rat.cast_lt (K := ℝ)).mpr propagation_comparisons.2.2.2.1 + push_cast at hc + have hn : ‖diskProfile w‖ ≤ + ‖diskProfile w-realLinearMap centralX centralY w.val‖+ + ‖realLinearMap centralX centralY w.val‖ := by + calc + _ = ‖(diskProfile w-realLinearMap centralX centralY w.val)+ + realLinearMap centralX centralY w.val‖ := by rw [sub_add_cancel] + _ ≤ _ := norm_add_le _ _ + linarith + +theorem diskProfile_boundary_margin (w : Metric.closedBall (0 : ℂ) (radius : ℝ)) + (hw : ‖w.val‖ = (radius : ℝ)) : + (91/200000000000 : ℝ) < ‖diskProfile w‖ := by + have hl := central_minimum_stretch w.val + rw [hw] at hl + have he := diskProfile_linear_error w + have hn := norm_sub_norm_le (realLinearMap centralX centralY w.val) (diskProfile w) + rw [norm_sub_rev] at hn + have hc : (48/1000 : ℝ)*(radius : ℝ) = (48/100000000000 : ℝ) := by norm_num [radius] + rw [hc] at hl + linarith + +/-- The certified error and Brouwer's theorem give an actual free matching root. -/ +theorem exists_diskProfile_zero : + ∃ w : Metric.closedBall (0 : ℂ) (radius : ℝ), + ‖w.val‖ < (radius : ℝ) ∧ diskProfile w = 0 := by + obtain ⟨w, hw⟩ := zero_of_free_profile_error diskProfile continuous_diskProfile + (fun w => (diskProfile_linear_error w).le) + refine ⟨w, ?_, hw⟩ + have hn : ‖w.val‖ ≤ (radius : ℝ) := by + simpa only [Metric.mem_closedBall, dist_zero_right] using w.property + apply lt_of_le_of_ne hn + intro he + have hm := diskProfile_boundary_margin w he + rw [hw, norm_zero] at hm + norm_num at hm + +/-- The free matching condition is the vanishing of the actual spatial derivative. -/ +theorem freeProfileJ_eq_log_derivative (b Z : ℝ) (hZ : 0 < Z) : + freeProfileJ b Z = + -deriv (regularizedSlowSolution (-Complex.I*(b : ℂ)) 6) (-Complex.I*(Z : ℂ))/ + regularizedSlowSolution (-Complex.I*(b : ℂ)) 6 (-Complex.I*(Z : ℂ)) := by + have h := (hasDerivAt_regularizedSlowSolution_shift_closed + (-Complex.I*(b : ℂ)) 6 (-Complex.I*(Z : ℂ)) + (by simp) (by simp) (by simpa using hZ.ne')).deriv + rw [h] + unfold freeProfileJ + ring + +theorem exists_free_profile_matching : + ∃ b Z : ℝ, (b-(centerB : ℝ))^2+(Z-(centerZ : ℝ))^2 < (radius : ℝ)^2 ∧ + regularizedSlowSolution (-Complex.I*(b : ℂ)) 6 (-Complex.I*(Z : ℂ)) ≠ 0 ∧ + deriv (regularizedSlowSolution (-Complex.I*(b : ℂ)) 6) (-Complex.I*(Z : ℂ)) = 0 := by + obtain ⟨w, hwn, hw⟩ := exists_diskProfile_zero + obtain ⟨hb, hz⟩ := disk_coordinates w + refine ⟨(centerB : ℝ)+w.val.re, (centerZ : ℝ)+w.val.im, ?_, ?_, ?_⟩ + · have hsq := (sq_lt_sq₀ (norm_nonneg w.val) (by norm_num [radius])).mpr hwn + rw [← Complex.normSq_eq_norm_sq, Complex.normSq_apply] at hsq + simpa only [add_sub_cancel_left, pow_two] using hsq + · simpa only [neg_mul] using free_profile_nonzero w.val.re w.val.im hb hz + · have hZ : 0 < (centerZ : ℝ)+w.val.im := by + have hz' := (abs_le.mp hz).1 + norm_num [centerZ, radius] at hz' ⊢ + linarith + change freeProfileJ ((centerB : ℝ)+w.val.re) ((centerZ : ℝ)+w.val.im) = 0 at hw + rw [freeProfileJ_eq_log_derivative _ _ hZ] at hw + have hn := free_profile_nonzero w.val.re w.val.im hb hz + simp only [neg_mul] at hn + simp only [neg_mul] at hw ⊢ + exact neg_eq_zero.mp ((div_eq_zero_iff.mp hw).resolve_right hn) + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileJetError.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileJetError.lean new file mode 100644 index 0000000000000000000000000000000000000000..b38557f5f344bfe01538138736a7025e5b4c2377 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileJetError.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileNormalizedBounds + +namespace OAI + +/-! The zero-tail quotient has the certified linear approximation. -/ + +namespace DefocusingNLS.ProfileCertificate + +private theorem ratio_error (d b l : ℂ) (η χ S : ℝ) + (hη : 0 ≤ η) (hχ : 0 ≤ χ) (hχ1 : χ < 1) (hS : 0 ≤ S) + (hd : ‖d-l‖ ≤ η) (hb : ‖b-1‖ ≤ χ) (hl : ‖l‖ ≤ S) : + ‖d/b-l‖ ≤ (η+S*χ)/(1-χ) := by + have hnorm : 1-χ ≤ ‖b‖ := by + have hn := norm_sub_norm_le (1 : ℂ) b + rw [norm_one, norm_sub_rev] at hn + linarith + have hden : 0 < 1-χ := sub_pos.mpr hχ1 + have hb0 : b ≠ 0 := norm_pos_iff.mp (hden.trans_le hnorm) + have he : d/b-l = (d-l+l*(1-b))/b := by field_simp [hb0]; ring + rw [he, norm_div] + have hnum : ‖d-l+l*(1-b)‖ ≤ η+S*χ := by + apply (norm_add_le _ _).trans + rw [norm_mul, norm_sub_rev (1 : ℂ) b] + exact add_le_add hd (mul_le_mul hl hb (norm_nonneg _) hS) + exact (div_le_div_of_nonneg_right hnum (norm_nonneg _)).trans + (div_le_div_of_nonneg_left (by positivity) hden hnorm) + +theorem normalized_first_denominator_lower (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + 1-(changeBound : ℝ) ≤ ‖normalizedProfile b z 0 1‖ := by + have h := normalizedProfile_variation b z hb hz 0 1 + rw [centralNormalized_zero_one] at h + have hn := norm_sub_norm_le (1 : ℂ) (normalizedProfile b z 0 1) + rw [norm_one, norm_sub_rev] at hn + linarith + +theorem normalized_first_entry_ne_zero (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + normalizedProfile b z 0 1 ≠ 0 := by + apply norm_pos_iff.mp + have hχ : (changeBound : ℝ) < 1 := by norm_num [changeBound, radius] + linarith [normalized_first_denominator_lower b z hb hz] + +theorem normalized_zero_tail_error (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + ‖normalizedProfile b z 1 1/normalizedProfile b z 0 1- + ((b : ℂ)*centralX+(z : ℂ)*centralY)‖ ≤ (jetError : ℝ) := by + have h := ratio_error (normalizedProfile b z 1 1) (normalizedProfile b z 0 1) + ((b : ℂ)*centralX+(z : ℂ)*centralY) + ((1/1000000000000 : ℝ)+50000*(radius : ℝ)^2) (changeBound : ℝ) + ((283/1000 : ℝ)*(radius : ℝ)) + (by positivity) (by norm_num [changeBound, radius]) (by norm_num [changeBound, radius]) + (by norm_num [radius]) (normalizedProfile_last_remainder b z hb hz).le + (by simpa only [centralNormalized_zero_one] using (normalizedProfile_variation b z hb hz 0 1).le) + (free_linear_size b z hb hz) + convert! h using 1 + unfold jetError + push_cast + ring + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileLinearMap.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileLinearMap.lean new file mode 100644 index 0000000000000000000000000000000000000000..13e790aae687fd22981501afc8452518268acda7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileLinearMap.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileCertificateComparisons +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.ParameterOpenness + +namespace OAI + +/-! The real-linear map certified at the free profile center. -/ + +namespace DefocusingNLS.ProfileCertificate + +noncomputable def realLinearMap (x y : ℂ) : ℂ →L[ℝ] ℂ := + Complex.reCLM.smulRight x + Complex.imCLM.smulRight y + +@[simp] theorem realLinearMap_apply (x y z : ℂ) : + realLinearMap x y z = (z.re : ℂ)*x+(z.im : ℂ)*y := by + simp [realLinearMap, Complex.real_smul] + +/-- The two strict rational Gram inequalities give the Euclidean lower bound. -/ +theorem realLinearMap_minimum_stretch (x y : ℂ) (c : ℝ) (hc : 0 ≤ c) + (hx : c^2 < Complex.normSq x) + (hgram : (Complex.normSq x-c^2)*(Complex.normSq y-c^2) > + (x.re*y.re+x.im*y.im)^2) (z : ℂ) : + c*‖z‖ ≤ ‖realLinearMap x y z‖ := by + let A := Complex.normSq x-c^2 + let B := Complex.normSq y-c^2 + let C := x.re*y.re+x.im*y.im + have hA : 0 < A := sub_pos.mpr hx + have hD : 0 ≤ A*B-C^2 := le_of_lt (sub_pos.mpr hgram) + have he : A*(Complex.normSq (realLinearMap x y z)-c^2*Complex.normSq z) = + (A*z.re+C*z.im)^2+(A*B-C^2)*z.im^2 := by + simp only [realLinearMap_apply, Complex.normSq_apply, Complex.add_re, + Complex.add_im, Complex.mul_re, Complex.mul_im, Complex.ofReal_re, + Complex.ofReal_im, zero_mul, sub_zero, A, B, C] + ring + have hnon : 0 ≤ A*(Complex.normSq (realLinearMap x y z)-c^2*Complex.normSq z) := by + rw [he] + exact add_nonneg (sq_nonneg _) (mul_nonneg hD (sq_nonneg _)) + have hq := nonneg_of_mul_nonneg_right hnon hA + rw [Complex.normSq_eq_norm_sq, Complex.normSq_eq_norm_sq] at hq + have hcz : 0 ≤ c*‖z‖ := mul_nonneg hc (norm_nonneg _) + nlinarith [norm_nonneg (realLinearMap x y z)] + +noncomputable def centralX : ℂ := + RationalComplex.toComplex (RationalComplex.quotient result.derivB.d result.value.b) +noncomputable def centralY : ℂ := + RationalComplex.toComplex (RationalComplex.quotient result.derivZ.d result.value.b) + +/-- The concrete map has the precise lower bound needed in the degree argument. -/ +theorem central_minimum_stretch (z : ℂ) : + (48/1000 : ℝ)*‖z‖ ≤ ‖realLinearMap centralX centralY z‖ := by + have h := linear_bounds + rcases h with ⟨hx, hgram, _⟩ + apply realLinearMap_minimum_stretch centralX centralY (48/1000) (by norm_num) _ _ z + · simp only [centralX, RationalComplex.normSq_toComplex] + have hh := (Rat.cast_lt (K := ℝ)).mpr hx + push_cast at hh ⊢ + exact hh + · simp only [centralX, centralY, RationalComplex.normSq_toComplex, + RationalComplex.toComplex_re, RationalComplex.toComplex_im] + have hh := (Rat.cast_lt (K := ℝ)).mpr hgram + push_cast at hh ⊢ + exact hh + +theorem central_linear_orientation : + centralX.re*centralY.im-centralX.im*centralY.re < 0 := by + have h := linear_bounds + rcases h with ⟨_, _, _, _, _, _, hdet⟩ + simp only [centralX, centralY, RationalComplex.toComplex_re, RationalComplex.toComplex_im] + exact_mod_cast hdet + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatchingQuotient.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatchingQuotient.lean new file mode 100644 index 0000000000000000000000000000000000000000..d5546d4cdfce35c7ffc7d689e082bade315da57e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatchingQuotient.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileNonvanishing + +namespace OAI + +/-! The actual logarithmic derivative equals the quotient of the matched column. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +attribute [local irreducible] backwardProduct profileProduct + normalizedMatchingB normalizedMatchingC + +noncomputable def freeProfileJ (b Z : ℝ) : ℂ := + let q : ℂ := -Complex.I*(b : ℂ) + q*regularizedSlowSolution (q+1) 7 (-Complex.I*(Z : ℂ))/ + regularizedSlowSolution q 6 (-Complex.I*(Z : ℂ)) + +/-- The normalization of the finite matrix cancels in the component ratio. -/ +theorem freeProfileJ_eq_matched (b z : ℝ) + (hz : |z| ≤ (radius : ℝ)) : + let q : ℂ := -Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ) + let s : ℂ := Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ) + let r := normalizedMatchingB q 6 s 34/normalizedMatchingC q 6 s 34 + freeProfileJ ((centerB : ℝ)+b) ((centerZ : ℝ)+z) = + (normalizedProfile b z 1 0*r+normalizedProfile b z 1 1)/ + (normalizedProfile b z 0 0*r+normalizedProfile b z 0 1) := by + dsimp only + let q : ℂ := -Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ) + let s : ℂ := Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ) + let r := normalizedMatchingB q 6 s 34/normalizedMatchingC q 6 s 34 + have hq : -1 < q.re := by simp [q] + have hsre : s.re = 0 := by simp [s] + have hsim : s.im ≠ 0 := by + have he := (abs_le.mp hz).1 + have hZ : 0 < (centerZ : ℝ)+z := by norm_num [centerZ, radius] at he ⊢; linarith + simpa [s] using hZ.ne' + have hC := (profile_tail_disk b z hz).1 + have hv := normalizedMatching_ratio_column q 5 34 s (by decide) hq hsre hsim hC + have h0 := congrFun hv 0 + have h1 := congrFun hv 1 + simp only [Matrix.mulVec, dotProduct, Fin.sum_univ_two, Matrix.cons_val_zero, + Matrix.cons_val_one, mul_one, Pi.smul_apply, smul_eq_mul, slowBoundaryColumn] at h0 h1 + change backwardProduct 5 s q 34 0 0*r+backwardProduct 5 s q 34 0 1 = + (normalizedMatchingC q 6 s 34)⁻¹*regularizedSlowSolution q 6 (-s) at h0 + change backwardProduct 5 s q 34 1 0*r+backwardProduct 5 s q 34 1 1 = + (normalizedMatchingC q 6 s 34)⁻¹*(q*regularizedSlowSolution (q+1) 7 (-s)) at h1 + have hfac : (Nat.factorial 34 : ℂ) ≠ 0 := by exact_mod_cast Nat.factorial_ne_zero 34 + have hn : ∀ i j, normalizedProfile b z i j = + ((Nat.factorial 34 : ℂ)⁻¹/centralM)*backwardProduct 5 s q 34 i j := by + intro i j + unfold normalizedProfile profileProduct + simp only [Matrix.smul_apply, smul_eq_mul] + change ((Nat.factorial 34 : ℂ)⁻¹*backwardProduct 5 s q 34 i j)/centralM = _ + ring + rw [hn 1 0, hn 1 1, hn 0 0, hn 0 1] + simp only [mul_assoc] + rw [← mul_add, ← mul_add] + change freeProfileJ ((centerB : ℝ)+b) ((centerZ : ℝ)+z) = + _*(backwardProduct 5 s q 34 1 0*r+backwardProduct 5 s q 34 1 1)/ + (_*(backwardProduct 5 s q 34 0 0*r+backwardProduct 5 s q 34 0 1)) + rw [h0, h1] + have hscale : ((Nat.factorial 34 : ℂ)⁻¹/centralM) ≠ 0 := + div_ne_zero (inv_ne_zero hfac) centralM_ne_zero + rw [mul_div_mul_left _ _ hscale, mul_div_mul_left _ _ (inv_ne_zero hC)] + simp only [freeProfileJ, q, s, neg_mul] + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatrixMajorant.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatrixMajorant.lean new file mode 100644 index 0000000000000000000000000000000000000000..53a888c7df762827cf7665f14cd952562527b143 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatrixMajorant.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileMatrixProduct + +namespace OAI + +/-! Entrywise majorants for the finite free-profile Taylor remainder. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +/-- Entrywise complex modulus bounds, retaining the two-term matrix product. -/ +def Dominates (E : Matrix (Fin 2) (Fin 2) ℝ) + (A : Matrix (Fin 2) (Fin 2) ℂ) : Prop := ∀ i j, ‖A i j‖ ≤ E i j + +namespace Dominates + +theorem nonneg {E : Matrix (Fin 2) (Fin 2) ℝ} {A : Matrix (Fin 2) (Fin 2) ℂ} + (h : Dominates E A) (i j : Fin 2) : 0 ≤ E i j := (norm_nonneg _).trans (h i j) + +theorem add {E F : Matrix (Fin 2) (Fin 2) ℝ} {A B : Matrix (Fin 2) (Fin 2) ℂ} + (hA : Dominates E A) (hB : Dominates F B) : Dominates (E+F) (A+B) := by + intro i j + exact (norm_add_le _ _).trans (add_le_add (hA i j) (hB i j)) + +theorem mul {E F : Matrix (Fin 2) (Fin 2) ℝ} {A B : Matrix (Fin 2) (Fin 2) ℂ} + (hA : Dominates E A) (hB : Dominates F B) : Dominates (E*F) (A*B) := by + intro i j + simp only [Matrix.mul_apply, Fin.sum_univ_two] + apply (norm_add_le _ _).trans + rw [norm_mul, norm_mul] + exact add_le_add + (mul_le_mul (hA i 0) (hB 0 j) (norm_nonneg _) (hA.nonneg i 0)) + (mul_le_mul (hA i 1) (hB 1 j) (norm_nonneg _) (hA.nonneg i 1)) + +theorem smul {E : Matrix (Fin 2) (Fin 2) ℝ} {A : Matrix (Fin 2) (Fin 2) ℂ} + (hA : Dominates E A) (r : ℝ) : Dominates (|r| • E) (r • A) := by + intro i j + simp only [Matrix.smul_apply, norm_smul, Real.norm_eq_abs, smul_eq_mul] + exact mul_le_mul_of_nonneg_left (hA i j) (abs_nonneg r) + +theorem mono {E F : Matrix (Fin 2) (Fin 2) ℝ} {A : Matrix (Fin 2) (Fin 2) ℂ} + (hA : Dominates E A) (hEF : ∀ i j, E i j ≤ F i j) : Dominates F A := by + intro i j + exact (hA i j).trans (hEF i j) + +theorem smul_le {E : Matrix (Fin 2) (Fin 2) ℝ} {A : Matrix (Fin 2) (Fin 2) ℂ} + (hA : Dominates E A) (r δ : ℝ) (hr : |r| ≤ δ) : Dominates (δ • E) (r • A) := by + apply (hA.smul r).mono + intro i j + exact mul_le_mul_of_nonneg_right hr (hA.nonneg i j) + +end Dominates + +noncomputable def rationalMatrix (E : RMatrix) : Matrix (Fin 2) (Fin 2) ℝ := + (Matrix2.toMatrix E).map (Rat.castHom ℝ) + +noncomputable def absoluteMatrix (A : QMatrix) : Matrix (Fin 2) (Fin 2) ℝ := + rationalMatrix (Matrix2.map RationalComplex.absOne A) + +theorem absoluteMatrix_dominates (A : QMatrix) : Dominates (absoluteMatrix A) (complexMatrix A) := by + intro i j + fin_cases i <;> fin_cases j <;> exact RationalComplex.norm_toComplex_le_absOne _ + +/-- The exact algebraic remainder identity. -/ +theorem product_remainder (F P U V R : Matrix (Fin 2) (Fin 2) ℂ) : + (F+P)*(U+V+R)-(F*U+F*V+P*U) = (F+P)*R+P*V := by + noncomm_ring + +/-- Propagate one Taylor remainder without losing the entrywise product structure. -/ +theorem product_remainder_dominates + (F P U V R : Matrix (Fin 2) (Fin 2) ℂ) + (Fbound N Vbound E : Matrix (Fin 2) (Fin 2) ℝ) (δ : ℝ) + (hF : Dominates Fbound F) (hP : Dominates (δ • N) P) + (hV : Dominates (δ • Vbound) V) (hR : Dominates (δ^2 • E) R) : + Dominates (δ^2 • ((Fbound+δ • N)*E+N*Vbound)) + ((F+P)*(U+V+R)-(F*U+F*V+P*U)) := by + rw [product_remainder] + have h := ((hF.add hP).mul hR).add (hP.mul hV) + convert! h using 1 + ext i j + simp only [Matrix.add_apply, Matrix.smul_apply, Matrix.mul_apply, + Fin.sum_univ_two, smul_eq_mul] + ring + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatrixProduct.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatrixProduct.lean new file mode 100644 index 0000000000000000000000000000000000000000..626bddc560b9e0e8440c9e3cd16a2b05ebe94b9c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileMatrixProduct.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileCertificateRecipe +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ForwardMatching + +namespace OAI + +/-! The rational profile product is the actual normalized backward matrix. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +noncomputable def complexMatrix (A : QMatrix) : Matrix (Fin 2) (Fin 2) ℂ := + (Matrix2.toMatrix A).map RationalComplex.toComplex + +@[simp] theorem complexMatrix_one : complexMatrix Matrix2.one = 1 := by + ext i j; fin_cases i <;> fin_cases j <;> simp [complexMatrix, Matrix2.one, Matrix2.toMatrix] + +@[simp] theorem complexMatrix_mul (A B : QMatrix) : + complexMatrix (Matrix2.mul A B) = complexMatrix A * complexMatrix B := by + simp only [complexMatrix, Matrix2.toMatrix_mul, Matrix.map_mul] + +@[simp] theorem complexMatrix_scale (r : RationalComplex) (A : QMatrix) : + complexMatrix (Matrix2.scale r A) = RationalComplex.toComplex r • complexMatrix A := by + simp only [complexMatrix, Matrix2.toMatrix_scale] + exact Matrix.map_smul' _ _ _ RationalComplex.toComplex.map_mul + +/-- Each factor in the finite product, including its manuscript normalization. -/ +noncomputable def profileFactor (b Z : ℝ) (n : ℕ) : Matrix (Fin 2) (Fin 2) ℂ := + ((n : ℂ)+1)⁻¹ • backwardMatrix 5 (Complex.I * Z) ((n : ℂ)-Complex.I*b) + +noncomputable def profileProduct (b Z : ℝ) (K : ℕ) : Matrix (Fin 2) (Fin 2) ℂ := + ((K.factorial : ℂ)⁻¹) • backwardProduct 5 (Complex.I * Z) (-Complex.I*b) K + +private theorem factor_complex (n : ℕ) : + complexMatrix (factor n) = + backwardMatrix 5 (Complex.I * (centerZ : ℝ)) ((n : ℂ)-Complex.I*(centerB : ℝ)) := by + ext i j; fin_cases i <;> fin_cases j <;> + simp [complexMatrix, factor, Matrix2.toMatrix, backwardMatrix, + RationalComplex.toComplex, Complex.ext_iff] + +private theorem inverse_complex (n : ℕ) : + RationalComplex.toComplex (⟨((n : ℚ)+1)⁻¹,0⟩ : RationalComplex) = ((n : ℂ)+1)⁻¹ := by + have hr (r : ℚ) : RationalComplex.toComplex (⟨r,0⟩ : RationalComplex) = (r : ℂ) := by + apply Complex.ext <;> simp [RationalComplex.toComplex] + simpa using hr (((n : ℚ)+1)⁻¹) + +theorem complexMatrix_step (n : ℕ) (s : State) : + complexMatrix (step n s).value = + profileFactor (centerB : ℝ) (centerZ : ℝ) n * complexMatrix s.value := by + simp only [step, complexMatrix_scale, complexMatrix_mul, factor_complex, inverse_complex, + profileFactor, Matrix.smul_mul] + +theorem complexMatrix_foldr (ns : List ℕ) : + complexMatrix (ns.foldr step initial).value = + (ns.map (profileFactor (centerB : ℝ) (centerZ : ℝ))).prod := by + induction ns with + | nil => simp [initial] + | cons n ns ih => simp only [List.foldr_cons, complexMatrix_step, ih, List.map_cons, List.prod_cons] + +theorem profileFactor_product (b Z : ℝ) (K : ℕ) : + ((List.range K).map (profileFactor b Z)).prod = profileProduct b Z K := by + induction K with + | zero => simp [profileProduct, backwardProduct] + | succ K ih => + rw [List.range_succ, List.map_append, List.prod_append, List.map_singleton, + List.prod_singleton, ih] + simp only [profileProduct, profileFactor, backwardProduct, Matrix.smul_mul, + Matrix.mul_smul, smul_smul] + have he : (-Complex.I * (b : ℂ)) + K = (K : ℂ) - Complex.I*b := by ring + rw [he] + congr 1 + simp only [Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, Nat.cast_one, _root_.mul_inv_rev] + ring + +theorem result_value_eq_profileProduct : + complexMatrix result.value = profileProduct (centerB : ℝ) (centerZ : ℝ) 34 := by + rw [result, complexMatrix_foldr, profileFactor_product] + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileNonvanishing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileNonvanishing.lean new file mode 100644 index 0000000000000000000000000000000000000000..39d2891898bf1790b4273ea754f35b4430a83e02 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileNonvanishing.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileDenominatorGap +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.AnalyticMatchingColumn +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileQuotientAlgebra + +namespace OAI + +/-! The computed denominator gap proves that the actual free slow profile is nonzero. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +attribute [local irreducible] backwardProduct normalizedMatchingB normalizedMatchingC + profileProduct + +private theorem actualZ_pos (z : ℝ) (hz : |z| ≤ (radius : ℝ)) : + 0 < (centerZ : ℝ)+z := by + have h := (abs_le.mp hz).1 + norm_num [centerZ, radius] at h ⊢ + linarith + +/-- The tail used in the finite product is the actual normalized analytic tail. -/ +theorem profile_tail_disk (b z : ℝ) (hz : |z| ≤ (radius : ℝ)) : + let q : ℂ := -Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ) + let s : ℂ := Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ) + normalizedMatchingC q 6 s 34 ≠ 0 ∧ + ‖normalizedMatchingB q 6 s 34/normalizedMatchingC q 6 s 34+s/5‖ ≤ + ((centerZ : ℝ)+z)/5 := by + dsimp only + have hZ := actualZ_pos z hz + have h := normalizedMatching_tail_disk 0 0 34 + (-Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ)) (Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ)) + (by norm_num) (by decide) (by simp) (by simp) (by simpa using hZ.ne') + refine ⟨h.1, ?_⟩ + have hd := h.2 + simp only [Nat.cast_zero, Complex.ofReal_zero, zero_add] at hd + rw [Complex.normSq_eq_norm_sq, Complex.normSq_eq_norm_sq] at hd + have hs : ‖Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ)/(5 : ℂ)‖ = ((centerZ : ℝ)+z)/5 := by + simp only [norm_div, norm_mul, Complex.norm_I, one_mul, Complex.norm_real, + Real.norm_eq_abs, Complex.norm_ofNat, abs_of_pos hZ] + rw [hs] at hd + nlinarith [norm_nonneg (normalizedMatchingB (-Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ)) 6 + (Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ)) 34/normalizedMatchingC (-Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ)) 6 + (Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ)) 34+Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ)/5)] + +/-- No zero of H occurs anywhere in the certificate's full parameter square. -/ +theorem free_profile_nonzero (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + regularizedSlowSolution (-Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ)) 6 + (-(Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ))) ≠ 0 := by + let q : ℂ := -Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ) + let s : ℂ := Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ) + let R := normalizedMatchingB q 6 s 34/normalizedMatchingC q 6 s 34 + let A : Matrix (Fin 2) (Fin 2) ℂ := normalizedProfile b z + obtain ⟨hC, hR⟩ := profile_tail_disk b z hz + have hg := normalized_denominator_gap b z hb hz + simp only [← Complex.ofReal_add] at hg + have hn : A 0 0*R+A 0 1 ≠ 0 := by + apply matched_denominator_ne_zero A R (s/5) (((centerZ : ℝ)+z)/5) hR + dsimp only [A, s] + linarith + have hq : -1 < q.re := by dsimp [q]; norm_num + have hsre : s.re = 0 := by simp [s] + have hsim : s.im ≠ 0 := by simpa [s] using (actualZ_pos z hz).ne' + have hc := congrFun (normalizedMatching_ratio_column q 5 34 s (by decide) + hq hsre hsim hC) 0 + simp only [Matrix.mulVec, dotProduct, Fin.sum_univ_two, Matrix.cons_val_zero, + Matrix.cons_val_one, mul_one, Pi.smul_apply, smul_eq_mul, slowBoundaryColumn] at hc + intro hH + have he : A 0 0*R+A 0 1 = 0 := by + dsimp only [A, normalizedProfile] + unfold profileProduct + simp only [Matrix.smul_apply, smul_eq_mul] + have he0 : regularizedSlowSolution q 6 (-s) = 0 := hH + rw [he0, mul_zero] at hc + change backwardProduct 5 s q 34 0 0*R+backwardProduct 5 s q 34 0 1 = 0 at hc + calc + _ = ((Nat.factorial 34 : ℂ)⁻¹/centralM)* + (backwardProduct 5 s q 34 0 0*R+backwardProduct 5 s q 34 0 1) := by + change (((Nat.factorial 34 : ℂ)⁻¹*backwardProduct 5 s q 34 0 0)/centralM)*R+ + ((Nat.factorial 34 : ℂ)⁻¹*backwardProduct 5 s q 34 0 1)/centralM = _ + ring + _ = 0 := by rw [hc]; ring + exact hn he + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileNormalizedBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileNormalizedBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..f627838d61af1bb7be46d198de393dd012d53e1c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileNormalizedBounds.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileEntryBounds +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileLinearMap + +namespace OAI + +/-! Normalized numerical bounds before division by the free-profile matching denominator. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate +open RationalComplex + +attribute [local irreducible] profileProduct + +private theorem lt_norm_of_sq (v : RationalComplex) (c : ℚ) (hc : 0 ≤ c) + (h : c^2 < normSq v) : (c : ℝ) < ‖toComplex v‖ := by + have hh := (Rat.cast_lt (K := ℝ)).mpr h + rw [← normSq_toComplex v, Complex.normSq_eq_norm_sq] at hh + push_cast at hh + have hc' : (0 : ℝ) ≤ c := Rat.cast_nonneg.mpr hc + nlinarith [norm_nonneg (toComplex v)] + +private theorem central_u : centralNormalized 0 0 = + toComplex (quotient result.value.a result.value.b) := by + exact (toComplex_quotient _ _).symm + +theorem central_u_bound : ‖centralNormalized 0 0‖ < (318/100 : ℝ) := by + rcases linear_bounds with ⟨_, _, _, hu, _⟩ + rw [central_u] + simpa only [Rat.cast_div, Rat.cast_ofNat] using + norm_toComplex_lt_of_sq _ (318/100) (by norm_num) hu + +theorem central_denominator_bound : (234/100 : ℝ) < + ‖1-(Complex.I*(centerZ : ℝ)/5)*centralNormalized 0 0‖ := by + rcases linear_bounds with ⟨_, _, hd, _⟩ + have h := lt_norm_of_sq _ (234/100) (by norm_num) hd + have hi : toComplex (⟨0,centerZ/5⟩ : RationalComplex) = Complex.I*(centerZ : ℝ)/5 := by + apply Complex.ext <;> simp [toComplex] + simpa only [map_sub, map_one, map_mul, hi, ← central_u, Rat.cast_div, Rat.cast_ofNat] using h + +theorem central_last_entry_bound : ‖centralNormalized 1 1‖ < (1/1000000000000 : ℝ) := by + rcases central_bounds with ⟨_, _, _, _, _, _, hd, _⟩ + have h := norm_toComplex_lt_mul result.value.d result.value.b (1/1000000000000) + (by norm_num) hd + change ‖toComplex result.value.d/centralM‖ < _ + rw [norm_div] + exact (div_lt_iff₀ (norm_pos_iff.mpr centralM_ne_zero)).mpr (by + simpa only [centralM, Rat.cast_div, Rat.cast_one, Rat.cast_ofNat] using h) + +theorem centralX_bound : ‖centralX‖ < (159/1000 : ℝ) := by + rcases linear_bounds with ⟨_, _, _, _, hx, _⟩ + simpa only [centralX, Rat.cast_div, Rat.cast_ofNat] using + norm_toComplex_lt_of_sq _ (159/1000) (by norm_num) hx + +theorem centralY_bound : ‖centralY‖ < (124/1000 : ℝ) := by + rcases linear_bounds with ⟨_, _, _, _, _, hy, _⟩ + simpa only [centralY, Rat.cast_div, Rat.cast_ofNat] using + norm_toComplex_lt_of_sq _ (124/1000) (by norm_num) hy + +theorem free_linear_size (b z : ℝ) (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + ‖(b : ℂ)*centralX+(z : ℂ)*centralY‖ ≤ (283/1000 : ℝ)*(radius : ℝ) := by + have hδ : 0 ≤ (radius : ℝ) := by norm_num [radius] + calc + _ ≤ ‖(b : ℂ)*centralX‖+‖(z : ℂ)*centralY‖ := norm_add_le _ _ + _ = |b| *‖centralX‖+|z| *‖centralY‖ := by simp only [norm_mul, Complex.norm_real, Real.norm_eq_abs] + _ ≤ (radius : ℝ)*(159/1000)+(radius : ℝ)*(124/1000) := + add_le_add (mul_le_mul hb centralX_bound.le (norm_nonneg _) hδ) + (mul_le_mul hz centralY_bound.le (norm_nonneg _) hδ) + _ = _ := by ring + +theorem normalizedProfile_last_remainder (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + ‖normalizedProfile b z 1 1-((b : ℂ)*centralX+(z : ℂ)*centralY)‖ < + (1/1000000000000 : ℝ)+50000*(radius : ℝ)^2 := by + have hx : toComplex result.derivB.d/centralM = centralX := (toComplex_quotient _ _).symm + have hy : toComplex result.derivZ.d/centralM = centralY := (toComplex_quotient _ _).symm + have he : normalizedProfile b z 1 1-centralNormalized 1 1- + ((b : ℂ)*centralX+(z : ℂ)*centralY) = + (profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 1 1- + toComplex result.value.d-(b : ℂ)*toComplex result.derivB.d- + (z : ℂ)*toComplex result.derivZ.d)/centralM := by + rw [← hx, ← hy] + change profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 1 1/centralM- + toComplex result.value.d/centralM- + ((b : ℂ)*(toComplex result.derivB.d/centralM)+(z : ℂ)*(toComplex result.derivZ.d/centralM)) = _ + ring + have hr : ‖normalizedProfile b z 1 1-centralNormalized 1 1- + ((b : ℂ)*centralX+(z : ℂ)*centralY)‖ < 50000*(radius : ℝ)^2 := by + rw [he, norm_div] + apply (div_lt_iff₀ (norm_pos_iff.mpr centralM_ne_zero)).mpr + convert! profile_entry_remainder b z hb hz 1 1 using 1 + ring + calc + _ = ‖(normalizedProfile b z 1 1-centralNormalized 1 1- + ((b : ℂ)*centralX+(z : ℂ)*centralY))+centralNormalized 1 1‖ := by congr 1; ring + _ ≤ ‖normalizedProfile b z 1 1-centralNormalized 1 1- + ((b : ℂ)*centralX+(z : ℂ)*centralY)‖+‖centralNormalized 1 1‖ := norm_add_le _ _ + _ < _ := by linarith [central_last_entry_bound] + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileProductMatching.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileProductMatching.lean new file mode 100644 index 0000000000000000000000000000000000000000..e09f089032038907d532cbdda208686f1e74cfe8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileProductMatching.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileExistence +import Mathlib.Topology.UniformSpace.UniformConvergence + +namespace OAI + +/-! The four-real-dimensional degree step for simultaneous value and slope matching. -/ + +open Filter +namespace DefocusingNLS.ProfileCertificate + +abbrev ProfileMatchingBall := Metric.closedBall (0 : ℂ × ℂ) (radius : ℝ) + +noncomputable def profileMatchingParameter (z : ProfileMatchingBall) : + Metric.closedBall (0 : ℂ) (radius : ℝ) := + ⟨z.val.2,by + have hz : ‖z.val‖ ≤ (radius : ℝ) := by + simpa only [Metric.mem_closedBall,dist_zero_right] using z.property + simpa only [Metric.mem_closedBall,dist_zero_right] using (norm_snd_le z.val).trans hz⟩ + +noncomputable def profileProductLinearEquiv : (ℂ × ℂ) ≃L[ℝ] (ℂ × ℂ) := + (ContinuousLinearEquiv.refl ℝ ℂ).prodCongr centralLinearEquiv + +theorem profileProductLinearEquiv_inverse_bound (z : ℂ × ℂ) : + ‖profileProductLinearEquiv.symm z‖ ≤ ‖z‖/(48/1000 : ℝ) := by + change max ‖z.1‖ ‖centralLinearEquiv.symm z.2‖ ≤ _ + apply max_le + · apply (norm_fst_le z).trans + rw [le_div_iff₀ (by norm_num)] + nlinarith [norm_nonneg z] + · exact (centralLinearEquiv_inverse_bound z.2).trans + ((div_le_div_iff_of_pos_right (by norm_num)).mpr (norm_snd_le z)) + +theorem zero_of_profile_product_error (f : ProfileMatchingBall → ℂ × ℂ) + (hf : Continuous f) + (he : ∀ z, ‖f z-profileProductLinearEquiv z.val‖ ≤ (50/1000000000000 : ℝ)) : + ∃ z, f z=0 := by + apply zero_of_near_invertible_linear_map profileProductLinearEquiv (radius : ℝ) + ((50/1000000000000)/(48/1000)) (by norm_num [radius]) (by norm_num [radius]) f hf + intro z + have hid : profileProductLinearEquiv.symm (f z)-z.val= + profileProductLinearEquiv.symm (f z-profileProductLinearEquiv z.val) := by + rw [map_sub,profileProductLinearEquiv.symm_apply_apply] + rw [hid] + exact (profileProductLinearEquiv_inverse_bound _).trans + ((div_le_div_iff_of_pos_right (by norm_num)).mpr (he z)) + +theorem zero_of_profile_product_limit (f : ℕ → ProfileMatchingBall → ℂ × ℂ) + (hf : ∀ᶠ n in atTop, Continuous (f n)) + (hlim : TendstoUniformly f (fun z => (z.val.1,diskProfile (profileMatchingParameter z))) atTop) : + ∀ᶠ n in atTop, ∃ z, f n z=0 := by + have hclose := (Metric.tendstoUniformly_iff.mp hlim) + (25/1000000000000) (by norm_num) + filter_upwards [hf,hclose] with n hn he + apply zero_of_profile_product_error (f n) hn + intro z + have herr : ‖(z.val.1,diskProfile (profileMatchingParameter z))- + profileProductLinearEquiv z.val‖ ≤ (25/1000000000000 : ℝ) := by + change max ‖z.val.1-z.val.1‖ + ‖diskProfile (profileMatchingParameter z)-centralLinearEquiv z.val.2‖ ≤ _ + rw [sub_self,norm_zero,max_eq_right (norm_nonneg _)] + exact (diskProfile_linear_error (profileMatchingParameter z)).le + have hsmall : ‖f n z-(z.val.1,diskProfile (profileMatchingParameter z))‖ < + (25/1000000000000 : ℝ) := by + simpa only [dist_comm,dist_eq_norm] using he z + have htri := norm_add_le + (f n z-(z.val.1,diskProfile (profileMatchingParameter z))) + ((z.val.1,diskProfile (profileMatchingParameter z))-profileProductLinearEquiv z.val) + rw [sub_add_sub_cancel] at htri + linarith + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileQuotientAlgebra.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileQuotientAlgebra.lean new file mode 100644 index 0000000000000000000000000000000000000000..7808d5611780d6c86abf0c113aaaaa94f0474d87 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileQuotientAlgebra.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileMatrixProduct + +namespace OAI + +/-! Denominator and quotient estimates used by the free profile certificate. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +/-- The tail disk turns a finite matrix gap into a lower bound for the +first component of the matched column. -/ +theorem matched_denominator_lower (A : Matrix (Fin 2) (Fin 2) ℂ) + (r s : ℂ) (ρ : ℝ) (hr : ‖r+s‖ ≤ ρ) : + ‖A 0 1-s*A 0 0‖-ρ*‖A 0 0‖ ≤ ‖A 0 0*r+A 0 1‖ := by + have he : A 0 1-s*A 0 0 = + (A 0 0*r+A 0 1)-A 0 0*(r+s) := by ring + have h := norm_sub_le (A 0 0*r+A 0 1) (A 0 0*(r+s)) + rw [← he, norm_mul] at h + have hm := mul_le_mul_of_nonneg_left hr (norm_nonneg (A 0 0)) + nlinarith + +theorem matched_denominator_ne_zero (A : Matrix (Fin 2) (Fin 2) ℂ) + (r s : ℂ) (ρ : ℝ) (hr : ‖r+s‖ ≤ ρ) + (hgap : ρ*‖A 0 0‖ < ‖A 0 1-s*A 0 0‖) : A 0 0*r+A 0 1 ≠ 0 := by + have h := matched_denominator_lower A r s ρ hr + intro hz + rw [hz, norm_zero] at h + linarith + +/-- The only change from the zero-tail quotient is a determinant term. -/ +theorem matched_quotient_identity (A : Matrix (Fin 2) (Fin 2) ℂ) (r : ℂ) + (hb : A 0 1 ≠ 0) (hd : A 0 0*r+A 0 1 ≠ 0) : + (A 1 0*r+A 1 1)/(A 0 0*r+A 0 1)-A 1 1/A 0 1 = + -(r*A.det)/(A 0 1*(A 0 0*r+A 0 1)) := by + rw [div_sub_div _ _ hd hb, mul_comm (A 0 0*r+A 0 1) (A 0 1)] + congr 1 + rw [Matrix.det_fin_two] + ring + +/-- Quantitative version after lower bounds for both denominators are known. -/ +theorem matched_quotient_bound (A : Matrix (Fin 2) (Fin 2) ℂ) (r : ℂ) + (B D : ℝ) (hB : 0 < B) (hD : 0 < D) + (hb : B ≤ ‖A 0 1‖) (hd : D ≤ ‖A 0 0*r+A 0 1‖) : + ‖(A 1 0*r+A 1 1)/(A 0 0*r+A 0 1)-A 1 1/A 0 1‖ ≤ + ‖r‖*‖A.det‖/(B*D) := by + have hb0 : A 0 1 ≠ 0 := norm_pos_iff.mp (hB.trans_le hb) + have hd0 : A 0 0*r+A 0 1 ≠ 0 := norm_pos_iff.mp (hD.trans_le hd) + rw [matched_quotient_identity A r hb0 hd0, norm_div, norm_neg, norm_mul, norm_mul] + exact div_le_div_of_nonneg_left (mul_nonneg (norm_nonneg _) (norm_nonneg _)) + (mul_pos hB hD) (mul_le_mul hb hd (le_of_lt hD) (norm_nonneg _)) + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileQuotientContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileQuotientContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..5097b9599be82ed76d551b1a73b7c41185b51681 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileQuotientContinuity.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileMatchingQuotient +import OAI.MathematicalPhysics.DefocusingNLS.Profile.FreeSlowContinuity + +namespace OAI + +/-! Continuity of the actual free-profile quotient on the certified disk. -/ + +namespace DefocusingNLS.ProfileCertificate + +noncomputable def diskProfile (w : Metric.closedBall (0 : ℂ) (radius : ℝ)) : ℂ := + freeProfileJ ((centerB : ℝ)+w.val.re) ((centerZ : ℝ)+w.val.im) + +theorem disk_coordinates (w : Metric.closedBall (0 : ℂ) (radius : ℝ)) : + |w.val.re| ≤ (radius : ℝ) ∧ |w.val.im| ≤ (radius : ℝ) := by + have h : ‖w.val‖ ≤ (radius : ℝ) := by simpa only [Metric.mem_closedBall, dist_zero_right] using w.property + exact ⟨(Complex.abs_re_le_norm _).trans h, (Complex.abs_im_le_norm _).trans h⟩ + +theorem continuous_diskProfile : Continuous diskProfile := by + let p : Metric.closedBall (0 : ℂ) (radius : ℝ) → ℝ × ℝ := + fun w => ((centerB : ℝ)+w.val.re, (centerZ : ℝ)+w.val.im) + have hp : Continuous p := by unfold p; fun_prop + have hm : ∀ w, p w ∈ freeParameterRectangle := by + intro w + obtain ⟨hb, hz⟩ := disk_coordinates w + dsimp [p, freeParameterRectangle] + have hc : 0 ≤ (centerB : ℝ) := by norm_num [centerB] + have hb' := (abs_add_le (centerB : ℝ) w.val.re).trans + (add_le_add (le_of_eq (abs_of_nonneg hc)) hb) + obtain ⟨hzl, hzu⟩ := abs_le.mp hz + norm_num [centerB, centerZ, radius] at hb hb' hzl hzu ⊢ + exact ⟨by linarith, by linarith, by linarith⟩ + have h0 := (continuousOn_free_regularizedSlowSolution 0 (by norm_num) 6).comp_continuous hp hm + have h1 := (continuousOn_free_regularizedSlowSolution 1 (by norm_num) 7).comp_continuous hp hm + dsimp only [Function.comp_def] at h0 h1 + have hq : Continuous (fun w => freeShiftedQ 0 (p w)) := by + unfold freeShiftedQ p + fun_prop + have he (w) : freeShiftedQ 1 (p w) = freeShiftedQ 0 (p w)+1 := by + unfold freeShiftedQ + push_cast + ring + simp_rw [he] at h1 + have hn (w) : regularizedSlowSolution (freeShiftedQ 0 (p w)) 6 + (freeSpatialArgument (p w)) ≠ 0 := by + obtain ⟨hb, hz⟩ := disk_coordinates w + simpa only [freeShiftedQ, freeSpatialArgument, p, Complex.ofReal_zero, zero_sub, neg_mul] using + free_profile_nonzero w.val.re w.val.im hb hz + convert! (hq.mul h1).div h0 hn using 1 + unfold diskProfile freeProfileJ freeShiftedQ freeSpatialArgument p + funext w + simp only [Pi.mul_apply, Pi.div_apply, Complex.ofReal_zero, zero_sub, neg_mul] + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileStateInterpretation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileStateInterpretation.lean new file mode 100644 index 0000000000000000000000000000000000000000..0480ad06c3d7ee2aabe83fd93a2c84359b0aa595 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileStateInterpretation.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileTaylorStep + +namespace OAI + +/-! Interpretation of every field in the exact profile-certificate recurrence. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +@[simp] theorem complexMatrix_add (A B : QMatrix) : + complexMatrix (Matrix2.add A B) = complexMatrix A+complexMatrix B := by + ext i j + simp only [complexMatrix, Matrix2.toMatrix_add, Matrix.map_apply, Matrix.add_apply, map_add] + +@[simp] theorem rationalMatrix_add (E F : RMatrix) : + rationalMatrix (Matrix2.add E F) = rationalMatrix E+rationalMatrix F := by + ext i j + simp only [rationalMatrix, Matrix2.toMatrix_add, Matrix.map_apply, Matrix.add_apply, map_add] + +@[simp] theorem rationalMatrix_mul (E F : RMatrix) : + rationalMatrix (Matrix2.mul E F) = rationalMatrix E*rationalMatrix F := by + simp only [rationalMatrix, Matrix2.toMatrix_mul, Matrix.map_mul] + +@[simp] theorem rationalMatrix_scale (r : ℚ) (E : RMatrix) : + rationalMatrix (Matrix2.scale r E) = (r : ℝ) • rationalMatrix E := by + simp only [rationalMatrix, Matrix2.toMatrix_scale] + exact Matrix.map_smul' _ _ _ (Rat.castHom ℝ).map_mul + +@[simp] theorem complexMatrix_scale_real (r : ℚ) (A : QMatrix) : + complexMatrix (Matrix2.scale (⟨r,0⟩ : RationalComplex) A) = (r : ℝ) • complexMatrix A := by + rw [complexMatrix_scale] + have he : RationalComplex.toComplex (⟨r,0⟩ : RationalComplex) = ((r : ℝ) : ℂ) := by + apply Complex.ext <;> simp [RationalComplex.toComplex] + rw [he] + ext i j + exact (Complex.real_smul).symm + +theorem state_value_step (n : ℕ) (s : State) : + complexMatrix (step n s).value = ((n : ℝ)+1)⁻¹ • + (complexMatrix (factor n)*complexMatrix s.value) := by + simp only [step, complexMatrix_scale_real, complexMatrix_mul] + simp only [Rat.cast_inv, Rat.cast_add, Rat.cast_natCast, Rat.cast_one] + +theorem state_derivB_step (n : ℕ) (s : State) : + complexMatrix (step n s).derivB = ((n : ℝ)+1)⁻¹ • + (complexMatrix parameterB*complexMatrix s.value+ + complexMatrix (factor n)*complexMatrix s.derivB) := by + simp only [step, complexMatrix_scale_real, complexMatrix_add, complexMatrix_mul] + simp only [Rat.cast_inv, Rat.cast_add, Rat.cast_natCast, Rat.cast_one] + +theorem state_derivZ_step (n : ℕ) (s : State) : + complexMatrix (step n s).derivZ = ((n : ℝ)+1)⁻¹ • + (complexMatrix parameterZ*complexMatrix s.value+ + complexMatrix (factor n)*complexMatrix s.derivZ) := by + simp only [step, complexMatrix_scale_real, complexMatrix_add, complexMatrix_mul] + simp only [Rat.cast_inv, Rat.cast_add, Rat.cast_natCast, Rat.cast_one] + +theorem state_error_step (n : ℕ) (s : State) : + rationalMatrix (step n s).error = ((n : ℝ)+1)⁻¹ • + ((absoluteMatrix (factor n)+(radius : ℝ) • + (absoluteMatrix parameterB+absoluteMatrix parameterZ))*rationalMatrix s.error+ + (absoluteMatrix parameterB+absoluteMatrix parameterZ)* + (absoluteMatrix s.derivB+absoluteMatrix s.derivZ)) := by + simp only [step, rationalMatrix_scale, rationalMatrix_add, rationalMatrix_mul, + majorant, absoluteMatrix] + simp only [Rat.cast_inv, Rat.cast_add, Rat.cast_natCast, Rat.cast_one] + +theorem profileFactor_affine (n : ℕ) (b z : ℝ) : + profileFactor ((centerB : ℝ)+b) ((centerZ : ℝ)+z) n = ((n : ℝ)+1)⁻¹ • + (complexMatrix (factor n)+b • complexMatrix parameterB+z • complexMatrix parameterZ) := by + ext i j + fin_cases i <;> fin_cases j <;> + simp [profileFactor, complexMatrix, factor, parameterB, parameterZ, + Matrix2.toMatrix, backwardMatrix, RationalComplex.toComplex, Complex.real_smul, + Complex.ext_iff] <;> ring + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTailError.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTailError.lean new file mode 100644 index 0000000000000000000000000000000000000000..0580f2f606d7a4f44fcbf80ff9fac66b2aa72ae2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTailError.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileDeterminantBound +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileJetError +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileMatchingQuotient + +namespace OAI + +/-! Propagation of the strict tail disk to the actual free-profile quotient. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +attribute [local irreducible] profileProduct normalizedMatchingB normalizedMatchingC + +theorem normalized_profile_determinant_bound (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) : + ‖Matrix.det (normalizedProfile b z)‖ < (62/10000000000000 : ℝ) := by + have hm : normalizedProfile b z = + centralM⁻¹ • profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34 := by + ext i j + simp only [normalizedProfile, Matrix.smul_apply, smul_eq_mul, div_eq_mul_inv] + ring + rw [hm, Matrix.det_smul, Fintype.card_fin, norm_mul, norm_pow, norm_inv] + have h := actual_profile_determinant_bound b z hb + change ‖(profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34).det‖ < + (62/10000000000000 : ℝ)*‖centralM‖^2 at h + have hn : 0 < ‖centralM‖^2 := pow_pos (norm_pos_iff.mpr centralM_ne_zero) _ + have hd := (div_lt_iff₀ hn).mpr h + convert! hd using 1 + simp only [div_eq_mul_inv, inv_pow] + ring + +theorem actual_tail_error (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + ‖freeProfileJ ((centerB : ℝ)+b) ((centerZ : ℝ)+z)- + normalizedProfile b z 1 1/normalizedProfile b z 0 1‖ < (tailError : ℝ) := by + let q : ℂ := -Complex.I*(((centerB : ℝ)+b : ℝ) : ℂ) + let s : ℂ := Complex.I*(((centerZ : ℝ)+z : ℝ) : ℂ) + let r := normalizedMatchingB q 6 s 34/normalizedMatchingC q 6 s 34 + have hδ : 0 ≤ (radius : ℝ) := by norm_num [radius] + have hZ : 0 < (centerZ : ℝ)+z := by + have hz' := (abs_le.mp hz).1 + norm_num [centerZ, radius] at hz' ⊢ + linarith + have hsn : ‖s/5‖ = ((centerZ : ℝ)+z)/5 := by + simp only [s, norm_div, norm_mul, Complex.norm_I, one_mul, Complex.norm_real, + Real.norm_eq_abs, Complex.norm_ofNat, abs_of_pos hZ] + have hr : ‖r+s/5‖ ≤ ((centerZ : ℝ)+z)/5 := (profile_tail_disk b z hz).2 + have hru : ‖r‖ ≤ 2*((centerZ : ℝ)+(radius : ℝ))/5 := by + have ht : ‖r‖ ≤ ‖r+s/5‖+‖s/5‖ := by + calc + _ = ‖(r+s/5)-s/5‖ := by rw [add_sub_cancel_right] + _ ≤ _ := norm_sub_le _ _ + rw [hsn] at ht + linarith [(abs_le.mp hz).2] + have hgap := normalized_denominator_gap b z hb hz + simp only [← Complex.ofReal_add] at hgap + have hden := matched_denominator_lower (normalizedProfile b z) r (s/5) + (((centerZ : ℝ)+z)/5) hr + have hd : (6/10 : ℝ) ≤ ‖normalizedProfile b z 0 0*r+normalizedProfile b z 0 1‖ := by + dsimp only [s] at hden + linarith + have hχ : 0 < 1-(changeBound : ℝ) := by norm_num [changeBound, radius] + have ht := matched_quotient_bound (normalizedProfile b z) r + (1-(changeBound : ℝ)) (6/10) hχ (by norm_num) + (normalized_first_denominator_lower b z hb hz) hd + rw [freeProfileJ_eq_matched b z hz] + change ‖(normalizedProfile b z 1 0*r+normalizedProfile b z 1 1)/ + (normalizedProfile b z 0 0*r+normalizedProfile b z 0 1)- + normalizedProfile b z 1 1/normalizedProfile b z 0 1‖ < _ + apply ht.trans_lt + have hdet := normalized_profile_determinant_bound b z hb + have hu : 0 < 2*((centerZ : ℝ)+(radius : ℝ))/5 := by norm_num [centerZ, radius] + have hm : ‖r‖*‖Matrix.det (normalizedProfile b z)‖ < + (2*((centerZ : ℝ)+(radius : ℝ))/5)*(62/10000000000000) := + (mul_le_mul_of_nonneg_right hru (norm_nonneg _)).trans_lt + (mul_lt_mul_of_pos_left hdet hu) + have hquot := (div_lt_div_iff_of_pos_right (mul_pos hχ (by norm_num : (0 : ℝ)<6/10))).mpr hm + convert! hquot using 1 + unfold tailError + push_cast + ring + +/-- The certified small error applies to the genuine logarithmic derivative. -/ +theorem free_profile_linear_error (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + ‖freeProfileJ ((centerB : ℝ)+b) ((centerZ : ℝ)+z)- + ((b : ℂ)*centralX+(z : ℂ)*centralY)‖ < (25/1000000000000 : ℝ) := by + have ht := actual_tail_error b z hb hz + have hj := normalized_zero_tail_error b z hb hz + have hsum := (Rat.cast_lt (K := ℝ)).mpr propagation_comparisons.2.2.1 + push_cast at hsum + calc + _ = ‖(freeProfileJ ((centerB : ℝ)+b) ((centerZ : ℝ)+z)- + normalizedProfile b z 1 1/normalizedProfile b z 0 1)+ + (normalizedProfile b z 1 1/normalizedProfile b z 0 1- + ((b : ℂ)*centralX+(z : ℂ)*centralY))‖ := by congr 1; ring + _ ≤ _ := norm_add_le _ _ + _ < (tailError : ℝ)+(jetError : ℝ) := add_lt_add_of_lt_of_le ht hj + _ < _ := by linarith + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTaylorBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTaylorBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..16da8ba5f9a3dce9dff148bfb7b2f3c42cee62bb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTaylorBound.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileStateInterpretation + +namespace OAI + +/-! The computed K=34 majorant bounds the actual parameter-dependent product. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +private theorem prefix_remainder (ns : List ℕ) (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + let s := ns.foldr step initial + Dominates ((radius : ℝ)^2 • rationalMatrix s.error) + ((ns.map (profileFactor ((centerB : ℝ)+b) ((centerZ : ℝ)+z))).prod- + linearModel (complexMatrix s.value) (complexMatrix s.derivB) (complexMatrix s.derivZ) b z) := by + induction ns with + | nil => + dsimp only [List.foldr_nil] + intro i j + fin_cases i <;> fin_cases j <;> + simp [initial, linearModel, complexMatrix, rationalMatrix, Matrix2.zero, + Matrix2.one, Matrix2.toMatrix] + | cons n ns ih => + dsimp only at ih ⊢ + rw [List.foldr_cons, List.map_cons, List.prod_cons, profileFactor_affine, + state_value_step, state_derivB_step, state_derivZ_step, state_error_step, + Matrix.smul_mul] + exact taylor_step_dominates _ _ _ _ _ _ _ _ _ _ _ _ _ b z (radius : ℝ) + (((n : ℝ)+1)⁻¹) (by positivity) hb hz + (absoluteMatrix_dominates (factor n)) (absoluteMatrix_dominates parameterB) + (absoluteMatrix_dominates parameterZ) (absoluteMatrix_dominates _) + (absoluteMatrix_dominates _) ih + +/-- Parameter-uniform Taylor remainder with the precise certificate matrix E. -/ +theorem profileProduct_remainder (b z : ℝ) + (hb : |b| ≤ (radius : ℝ)) (hz : |z| ≤ (radius : ℝ)) : + Dominates ((radius : ℝ)^2 • rationalMatrix result.error) + (profileProduct ((centerB : ℝ)+b) ((centerZ : ℝ)+z) 34- + linearModel (complexMatrix result.value) (complexMatrix result.derivB) + (complexMatrix result.derivZ) b z) := by + simpa only [profileFactor_product, result] using prefix_remainder (List.range 34) b z hb hz + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTaylorStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTaylorStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..41de0a7ed137093ce36ae6b2e3cb5351f3aecf91 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileTaylorStep.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileMatrixMajorant + +namespace OAI + +/-! The entrywise two-parameter Taylor step underlying the K=34 certificate. -/ + +open Matrix +namespace DefocusingNLS.ProfileCertificate + +abbrev CMatrix := Matrix (Fin 2) (Fin 2) ℂ +abbrev RealMatrix := Matrix (Fin 2) (Fin 2) ℝ + +noncomputable def linearModel (U X Y : CMatrix) (b z : ℝ) : CMatrix := U+b • X+z • Y + +theorem linearModel_step_identity (F G H U X Y A : CMatrix) (b z r : ℝ) : + r • ((F+b • G+z • H)*A) - + linearModel (r • (F*U)) (r • (G*U+F*X)) (r • (H*U+F*Y)) b z = + r • ((F+(b • G+z • H))*(A-linearModel U X Y b z) + + (b • G+z • H)*(b • X+z • Y)) := by + simp only [linearModel, Matrix.mul_add, Matrix.add_mul, Matrix.mul_sub, + Matrix.smul_mul, Matrix.mul_smul, smul_add, smul_sub, smul_smul] + module + +/-- The real matrix E is exactly the manuscript's second-order majorant. -/ +theorem taylor_step_dominates (F G H U X Y A : CMatrix) + (Fbound Gbound Hbound Xbound Ybound E : RealMatrix) + (b z δ r : ℝ) (hr : 0 ≤ r) (hb : |b| ≤ δ) (hz : |z| ≤ δ) + (hF : Dominates Fbound F) (hG : Dominates Gbound G) + (hH : Dominates Hbound H) (hX : Dominates Xbound X) (hY : Dominates Ybound Y) + (hE : Dominates (δ^2 • E) (A-linearModel U X Y b z)) : + Dominates + (δ^2 • (r • ((Fbound+δ • (Gbound+Hbound))*E + + (Gbound+Hbound)*(Xbound+Ybound)))) + (r • ((F+b • G+z • H)*A) - + linearModel (r • (F*U)) (r • (G*U+F*X)) (r • (H*U+F*Y)) b z) := by + rw [linearModel_step_identity] + have hP : Dominates (δ • (Gbound+Hbound)) (b • G+z • H) := by + simpa only [smul_add] using (hG.smul_le b δ hb).add (hH.smul_le z δ hz) + have hV : Dominates (δ • (Xbound+Ybound)) (b • X+z • Y) := by + simpa only [smul_add] using (hX.smul_le b δ hb).add (hY.smul_le z δ hz) + have h := ((hF.add hP).mul hE).add (hP.mul hV) + have hs := h.smul r + rw [abs_of_nonneg hr] at hs + convert! hs using 1 + ext i j + simp only [Matrix.add_apply, Matrix.smul_apply, Matrix.mul_apply, + Fin.sum_univ_two, smul_eq_mul] + ring + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileZeroCriterion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileZeroCriterion.lean new file mode 100644 index 0000000000000000000000000000000000000000..5fd80de1c14c8614e0868eed562b38f4fe047ed4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/ProfileZeroCriterion.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileLinearMap + +namespace OAI + +/-! Brouwer's theorem applied to the specific certified central linear map. -/ + +namespace DefocusingNLS.ProfileCertificate + +theorem central_linear_injective : Function.Injective (realLinearMap centralX centralY) := by + intro x y hxy + have hz : realLinearMap centralX centralY (x-y) = 0 := by rw [map_sub, hxy, sub_self] + have hb := central_minimum_stretch (x-y) + rw [hz, norm_zero] at hb + have hn : ‖x-y‖ = 0 := by nlinarith [norm_nonneg (x-y)] + exact sub_eq_zero.mp (norm_eq_zero.mp hn) + +noncomputable def centralLinearEquiv : ℂ ≃L[ℝ] ℂ := + (LinearEquiv.ofBijective (realLinearMap centralX centralY).toLinearMap + ⟨central_linear_injective, LinearMap.injective_iff_surjective.mp central_linear_injective⟩).toContinuousLinearEquiv + +@[simp] theorem centralLinearEquiv_apply (z : ℂ) : + centralLinearEquiv z = realLinearMap centralX centralY z := rfl + +theorem centralLinearEquiv_inverse_bound (z : ℂ) : + ‖centralLinearEquiv.symm z‖ ≤ ‖z‖/(48/1000 : ℝ) := by + have h := central_minimum_stretch (centralLinearEquiv.symm z) + change (48/1000 : ℝ)*‖centralLinearEquiv.symm z‖ ≤ ‖centralLinearEquiv (centralLinearEquiv.symm z)‖ at h + rw [centralLinearEquiv.apply_symm_apply] at h + exact (le_div_iff₀ (by norm_num)).mpr (by nlinarith) + +/-- The precise error margin needed to force a zero on the free-profile disk. +Continuity and the approximation are hypotheses on a finite-dimensional map, +not assumed statements about the NLS or its profiles. -/ +theorem zero_of_free_profile_error + (f : Metric.closedBall (0 : ℂ) (radius : ℝ) → ℂ) (hf : Continuous f) + (herror : ∀ z, ‖f z-realLinearMap centralX centralY z.val‖ ≤ 25/1000000000000) : + ∃ z, f z = 0 := by + apply zero_of_near_invertible_linear_map centralLinearEquiv (radius : ℝ) + ((25/1000000000000)/(48/1000)) (by norm_num [radius]) (by norm_num [radius]) f hf + intro z + have he : centralLinearEquiv.symm (f z)-z.val = + centralLinearEquiv.symm (f z-centralLinearEquiv z.val) := by + rw [map_sub, centralLinearEquiv.symm_apply_apply] + rw [he] + exact (centralLinearEquiv_inverse_bound _).trans + ((div_le_div_iff_of_pos_right (by norm_num)).mpr (herror z)) + +end DefocusingNLS.ProfileCertificate + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAmplitudeEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAmplitudeEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..a889ac75861c27aca652b1ea584c0f8db4957504 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAmplitudeEquation.lean @@ -0,0 +1,125 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedAmplitude + +namespace OAI + +/-! The real amplitude equation of the actual stationary matched profile. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem complexAmplitude_first_derivative (Q : ℝ → ℂ) (r : ℝ) + (hQ : DifferentiableAt ℝ Q r) (hn : Q r ≠ 0) : + ‖Q r‖*deriv (fun t => ‖Q t‖) r=(star (Q r)*deriv Q r).re := by + have hA := hQ.norm ℂ hn + have hh := Complex.reCLM.hasFDerivAt.comp_hasDerivAt r + (hQ.hasDerivAt.star.mul hQ.hasDerivAt) + have hμ : HasDerivAt (fun t => ‖Q t‖^2) + (2*(star (Q r)*deriv Q r).re) r := by + convert hh using 1 + · funext t + simp [Complex.sq_norm,Complex.normSq_apply,Complex.mul_re] + · simp only [Complex.reCLM_apply,Complex.add_re,Complex.mul_re, + Complex.star_def,Complex.conj_re,Complex.conj_im] + ring + have he := (hA.hasDerivAt.pow 2).unique hμ + norm_num only [Nat.cast_ofNat,Nat.reduceSub,pow_one] at he + linarith + +theorem radial_amplitude_balance (A d dd w r b P R J N U : ℝ) (hA : A ≠ 0) + (hfirst : A*d=R) (hsecond : d^2+A*dd=N+U) + (hgeom : R^2+J^2=A^2*N) + (hODE : U+11/r*R-r/2*J+b*A^2=P*A^2) + (hw : w=r/2+2*J/A^2) : + -dd-11/r*d+P*A=(b+r^2/16-w^2/4)*A := by + have hw2 : A^4*w^2=r^2/4*A^4+2*r*J*A^2+4*J^2 := by + rw [hw] + field_simp [hA] + ring + have hD : A^3*(-dd-11/r*d+P*A-(b+r^2/16-w^2/4)*A)=0 := by + linear_combination -A^2*hsecond+hgeom+(R+A*d-11/r*A^2)*hfirst-A^2*hODE+hw2/4 + have he := (mul_eq_zero.mp hD).resolve_left (pow_ne_zero 3 hA) + linarith + +theorem radialMatchedAmplitude_second_identity (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + let Q := radialMatchedProfile n z + let A := fun t => ‖Q t‖ + (deriv A r)^2+A r*deriv (deriv A) r= + Complex.normSq (deriv Q r)+(star (Q r)*deriv (deriv Q) r).re := by + dsimp only + have hQ := ((radialMatchedProfile_contDiffOn n z hX hz) r hr).contDiffAt + (Ioi_mem_nhds hr) + have hA := ((radialMatchedAmplitude_contDiffOn n z hX hz) r hr).contDiffAt + (Ioi_mem_nhds hr) + have hQA := hQ.differentiableAt (by simp) + have hQD := (hQ.derivWithin (m := 1) (by simp)).differentiableAt (by simp) + have hAA := hA.differentiableAt (by simp) + have hAD := (hA.derivWithin (m := 1) (by simp)).differentiableAt (by simp) + have hleft := hAA.hasDerivAt.mul hAD.hasDerivAt + have hright := Complex.reCLM.hasFDerivAt.comp_hasDerivAt r + (hQA.hasDerivAt.star.mul hQD.hasDerivAt) + have he : (fun t => ‖radialMatchedProfile n z t‖* + deriv (fun s => ‖radialMatchedProfile n z s‖) t) =ᶠ[nhds r] + (fun t => (star (radialMatchedProfile n z t)*deriv (radialMatchedProfile n z) t).re) := by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact complexAmplitude_first_derivative _ t + (radialMatchedProfile_differentiable n z hX hz t) + (radialMatchedProfile_ne_zero n z hX t ht.le) + have hh := hleft.unique (hright.congr_of_eventuallyEq he) + simpa only [Complex.reCLM_apply,Complex.add_re,Complex.mul_re,Complex.star_def, + Complex.conj_re,Complex.conj_im,Complex.normSq_apply,pow_two,neg_mul,sub_neg_eq_add] using hh + +theorem radialMatchedAmplitude_stationary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + let A := fun t => ‖radialMatchedProfile n z t‖; + -deriv (deriv A) r-11/r*deriv A r+(A r)^(2*(n+radialInnerShootingThreshold))*A r= + radialAmplitudePotential (6-2*radialShootingA n) + (radialShootingB (profileMatchingParameter z)) A r*A r := by + let Q := radialMatchedProfile n z + let A := fun t => ‖Q t‖ + let R := (star (Q r)*deriv Q r).re + let J := (star (Q r)*deriv Q r).im + have hgeom : R^2+J^2=(A r)^2*Complex.normSq (deriv Q r) := by + calc + _ = Complex.normSq (star (Q r)*deriv Q r) := by + simp only [R,J,Complex.normSq_apply,pow_two] + _ = _ := by + rw [Complex.normSq_eq_norm_sq,norm_mul,norm_star,mul_pow] + change ‖Q r‖^2*‖deriv Q r‖^2=‖Q r‖^2*Complex.normSq (deriv Q r) + rw [Complex.sq_norm (deriv Q r)] + have hODE := congrArg Complex.re + (congrArg (fun v : ℂ => star (Q r)*v) (radialMatchedProfile_stationary n z hX hz r hr)) + rw [oddPowerNonlinearity_eq] at hODE + have hreal : (star (Q r)*deriv (deriv Q) r).re+11/r*R-r/2*J+ + radialShootingB (profileMatchingParameter z)*(A r)^2= + (A r)^(2*(n+radialInnerShootingThreshold))*(A r)^2 := by + dsimp only [R,J,A,Q] + simp only [Complex.mul_re,Complex.mul_im,Complex.add_re,Complex.add_im, + Complex.star_def,Complex.conj_re,Complex.conj_im,Complex.ofReal_re,Complex.ofReal_im, + Complex.I_re,Complex.I_im,zero_mul,one_mul,zero_add,add_zero,sub_zero,zero_sub] at hODE + simp only [Complex.sq_norm,Complex.normSq_apply,Complex.mul_re,Complex.mul_im, + Complex.star_def,Complex.conj_re,Complex.conj_im] + nlinarith [hODE] + have hbalance := radial_amplitude_balance (A r) (deriv A r) (deriv (deriv A) r) + (radialVelocity (6-2*radialShootingA n) A r) r + (radialShootingB (profileMatchingParameter z)) + ((A r)^(2*(n+radialInnerShootingThreshold))) R J + (Complex.normSq (deriv Q r)) (star (Q r)*deriv (deriv Q) r).re + (norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.le)) + (complexAmplitude_first_derivative Q r (radialMatchedProfile_differentiable n z hX hz r) + (radialMatchedProfile_ne_zero n z hX r hr.le)) + (radialMatchedAmplitude_second_identity n z hX hz r hr) hgeom hreal (by + simpa only [J,A,Q,Complex.sq_norm] using (radialMatchedVelocity_formula n z hX hz r hr).symm) + dsimp only [radialAmplitudePotential,radialVelocity] at hbalance ⊢ + convert hbalance using 1 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAmplitudePotentialDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAmplitudePotentialDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..377d45af4cf7918bc0eece5d126e267caa028627 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAmplitudePotentialDerivative.lean @@ -0,0 +1,29 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialVelocityLocal + +namespace OAI + +/-! The exact potential derivative used in the pressure transport estimate. -/ + +namespace DefocusingNLS + +theorem radialAmplitudePotential_hasDerivAt (c b d : ℝ) (A : ℝ → ℝ) + (hA : Continuous A) (r : ℝ) (hr : r ≠ 0) (hAr : A r ≠ 0) + (hd : HasDerivAt A d r) : + HasDerivAt (radialAmplitudePotential c b A) + (r*(1/8-c/2*(radialVelocity c A r/r)+ + 11/2*(radialVelocity c A r/r)^2)+(radialVelocity c A r)^2*d/A r) r := by + have hw := radialVelocity_hasDerivAt_local c d A hA r hr hAr hd + have hv := ((((hasDerivAt_id r).pow 2).div_const 16).const_add b).sub + ((hw.pow 2).div_const 4) + convert hv using 1 + · funext t + dsimp only [radialAmplitudePotential,radialVelocity,Pi.sub_apply,Pi.add_apply, + Pi.div_apply,Pi.pow_apply,id_eq] + ring + · dsimp only [radialVelocity,id_eq] + field_simp [hr,hAr] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularComplexEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularComplexEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..8a19684bbd0bbc1a45a202358236e91bd6426cef --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularComplexEnergy.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularScalar + +namespace OAI + +/-! The exact energy identity in each spherical-harmonic channel. + +Four real functions encode the real and imaginary parts of the two independent +components. The imaginary spectral parameter cancels by Green symmetry. +-/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialAngularComplexSpectral_energy_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η R σ τ : ℝ) (hR : 0 ≤ R) + (q dq p dp : ℝ → ℝ) (hq : ContinuousOn q (Icc 0 R)) + (hdq : ContinuousOn dq (Icc 0 R)) (hp : ContinuousOn p (Icc 0 R)) + (hdp : ContinuousOn dp (Icc 0 R)) + (hq' : ∀ r ∈ Ioo 0 R, HasDerivAt q (dq r) r) + (hp' : ∀ r ∈ Ioo 0 R, HasDerivAt p (dp r) r) + (f : Fin 4 → ℝ → ℝ) (hf : ∀ j, ContDiff ℝ 2 (f j)) + (hsys : ∀ r ∈ Icc 0 R, + radialAngularScalarAction n z η q (f 0) r+radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 2) (f 3) r=0 ∧ + radialAngularScalarAction n z η q (f 1) r+radialMassDensity n z r* + radialSpectralTest n z σ τ (f 3) (f 2) r=0 ∧ + radialAngularScalarAction n z η p (f 2) r-radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 0) (f 1) r=0 ∧ + radialAngularScalarAction n z η p (f 3) r-radialMassDensity n z r* + radialSpectralTest n z σ τ (f 1) (f 0) r=0) : + (σ*radialAngularScalarForm n z η R q (f 0) (f 0)+radialAngularScalarVirial n z η R q dq (f 0)+ + radialAngularScalarBoundary n z η R σ (-τ) q (f 0) (f 1))+ + (σ*radialAngularScalarForm n z η R q (f 1) (f 1)+radialAngularScalarVirial n z η R q dq (f 1)+ + radialAngularScalarBoundary n z η R σ τ q (f 1) (f 0))+ + (σ*radialAngularScalarForm n z η R p (f 2) (f 2)+radialAngularScalarVirial n z η R p dp (f 2)+ + radialAngularScalarBoundary n z η R σ (-τ) p (f 2) (f 3))+ + (σ*radialAngularScalarForm n z η R p (f 3) (f 3)+radialAngularScalarVirial n z η R p dp (f 3)+ + radialAngularScalarBoundary n z η R σ τ p (f 3) (f 2))=0 := by + let T0 := radialSpectralTest n z σ (-τ) (f 0) (f 1) + let T1 := radialSpectralTest n z σ τ (f 1) (f 0) + let T2 := radialSpectralTest n z σ (-τ) (f 2) (f 3) + let T3 := radialSpectralTest n z σ τ (f 3) (f 2) + let A0 := radialAngularScalarAction n z η q (f 0) + let A1 := radialAngularScalarAction n z η q (f 1) + let A2 := radialAngularScalarAction n z η p (f 2) + let A3 := radialAngularScalarAction n z η p (f 3) + have hTi (i j : Fin 4) (s t : ℝ) (u : ℝ → ℝ) (hu : ContinuousOn u (Icc 0 R)) : + IntervalIntegrable (fun r => radialSpectralTest n z s t (f i) (f j) r* + radialAngularScalarAction n z η u (f i) r) MeasureTheory.volume 0 R := + ((radialSpectralTest_continuousOn n z hX hz R s t (f i) (f j) (hf i) + ((hf j).of_le (by norm_num))).mul + (radialAngularScalarAction_continuousOn n z hX hz η R u (f i) hu (hf i))).intervalIntegrable_of_Icc hR + have h0 := hTi 0 1 σ (-τ) q hq + have h1 := hTi 1 0 σ τ q hq + have h2 := hTi 2 3 σ (-τ) p hp + have h3 := hTi 3 2 σ τ p hp + have he : (∫ r in (0 : ℝ)..R, + (T0 r*A0 r+T1 r*A1 r)+(T2 r*A2 r+T3 r*A3 r))=0 := by + calc + _ = ∫ _r in (0 : ℝ)..R, (0 : ℝ) := by + apply intervalIntegral.integral_congr + intro r hr + rw [uIcc_of_le hR] at hr + obtain ⟨hA,hB,hC,hD⟩ := hsys r hr + exact radialSkewPair_cancellation _ _ _ _ _ _ _ _ _ hA hB hC hD + _ = 0 := by simp + rw [intervalIntegral.integral_add (h0.add h1) (h2.add h3), + intervalIntegral.integral_add h0 h1,intervalIntegral.integral_add h2 h3] at he + rw [radialAngularScalarForm_spectralTest_boundary n z hX hz η R σ (-τ) hR q dq (f 0) (f 1) + hq hdq hq' (hf 0) ((hf 1).of_le (by norm_num)), + radialAngularScalarForm_spectralTest_boundary n z hX hz η R σ τ hR q dq (f 1) (f 0) + hq hdq hq' (hf 1) ((hf 0).of_le (by norm_num)), + radialAngularScalarForm_spectralTest_boundary n z hX hz η R σ (-τ) hR p dp (f 2) (f 3) + hp hdp hp' (hf 2) ((hf 3).of_le (by norm_num)), + radialAngularScalarForm_spectralTest_boundary n z hX hz η R σ τ hR p dp (f 3) (f 2) + hp hdp hp' (hf 3) ((hf 2).of_le (by norm_num)), + radialAngularScalarForm_symm n z η R q (f 1) (f 0), + radialAngularScalarForm_symm n z η R p (f 3) (f 2)] at he + linear_combination he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularDensity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularDensity.lean new file mode 100644 index 0000000000000000000000000000000000000000..0b21b52986cc787a76a927d27fcbfd6a2b7ef07c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularDensity.lean @@ -0,0 +1,92 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialVelocityCalculus + +namespace OAI + +/-! Regular weighted angular coefficients at the radial origin. -/ + +open Set +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialAngularDensity (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℝ := + r^9*‖radialMatchedProfile n z r‖^2 + +noncomputable def radialAngularSlope (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℝ := + 9*r^8*‖radialMatchedProfile n z r‖^2+ + 2*r^9*(star (radialMatchedProfile n z r)*deriv (radialMatchedProfile n z) r).re + +noncomputable def radialMatchedVelocityRatio (n : ℕ) (z : ProfileMatchingBall) : ℝ → ℝ := + radialVelocityRatio (6-2*radialShootingA n) (fun r => ‖radialMatchedProfile n z r‖) + +theorem radialAngularDensity_continuous (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : Continuous (radialAngularDensity n z) := by + exact (continuous_id.pow 9).mul + ((radialMatchedProfile_differentiable n z hX hz).continuous.norm.pow 2) + +theorem radialAngularDensity_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) : + HasDerivAt (radialAngularDensity n z) (radialAngularSlope n z r) r := by + have h := ((hasDerivAt_id r).pow 9).mul + (radialComplexNormSq_hasDerivAt (radialMatchedProfile n z) r + (radialMatchedProfile_differentiable n z hX hz r)) + convert h using 1 + · funext t + simp only [radialAngularDensity,Pi.mul_apply,Pi.pow_apply,id_eq,Complex.sq_norm] + · simp only [radialAngularSlope,Pi.pow_apply,id_eq,Nat.cast_ofNat,Nat.reduceSub,mul_one, + Complex.sq_norm] + ring + +theorem radialMatchedVelocityRatio_continuousOn (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) : + ContinuousOn (radialMatchedVelocityRatio n z) (Icc 0 R) := by + have hA := (radialMatchedProfile_differentiable n z hX hz).continuous.norm + exact ((continuous_const.mul (continuous_radialAverage _ (hA.pow 2))).continuousOn.div + (hA.pow 2).continuousOn (by + intro r hr + exact pow_ne_zero 2 (norm_ne_zero_iff.mpr + (radialMatchedProfile_ne_zero n z hX r hr.1)))) + +theorem radialMatchedVelocity_eq_mul_ratio (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : + radialMatchedVelocity n z r=r*radialMatchedVelocityRatio n z r := rfl + +theorem radialAngularFlux_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + HasDerivAt (fun t => radialAngularDensity n z t*radialMatchedVelocity n z t) + ((6-2*radialShootingA n-2*radialMatchedVelocityRatio n z r)*radialAngularDensity n z r) r := by + have h := (radialAngularDensity_hasDerivAt n z hX hz r).mul + (radialMatchedVelocity_differentiableAt n z hX hz r hr).hasDerivAt + apply h.congr_deriv + apply mul_left_cancel₀ (pow_ne_zero 2 hr.ne') + have hM := radialMassSlope_velocity n z hX hz r hr.le + have hK : r^2*radialAngularDensity n z r=radialMassDensity n z r := by + unfold radialAngularDensity radialMassDensity + ring + have hS : r^2*radialAngularSlope n z r= + radialMassSlope n z r-2*r*radialAngularDensity n z r := by + unfold radialAngularSlope radialMassSlope radialAngularDensity + ring + calc + r^2*(radialAngularSlope n z r*radialMatchedVelocity n z r+ + radialAngularDensity n z r*deriv (radialMatchedVelocity n z) r) = + (r^2*radialAngularSlope n z r)*radialMatchedVelocity n z r+ + (r^2*radialAngularDensity n z r)*deriv (radialMatchedVelocity n z) r := by ring + _ = (6-2*radialShootingA n)*radialMassDensity n z r- + 2*r*radialAngularDensity n z r*radialMatchedVelocity n z r := by + rw [hS,hK] + linear_combination hM + _ = r^2*((6-2*radialShootingA n-2*radialMatchedVelocityRatio n z r)* + radialAngularDensity n z r) := by + rw [← hK,radialMatchedVelocity_eq_mul_ratio] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularEstimates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularEstimates.lean new file mode 100644 index 0000000000000000000000000000000000000000..648d131e12500e595a9d828289219ddf7eba2925 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularEstimates.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularForms +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialOutgoingBoundary + +namespace OAI + +/-! Positive angular energy, radial monotonicity, and vanishing outgoing angular trace. -/ + +open Set Filter Asymptotics +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialAngularForm_mono (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (f : ℝ → ℝ) (hf : Continuous f) : + MonotoneOn (fun R => radialAngularForm n z R f f) (Ici 0) := by + have hK := (radialAngularDensity_continuous n z hX hz).mul (hf.pow 2) + intro R hR S _hS hRS + have hpos : 0 ≤ ∫ r in R..S, radialAngularDensity n z r*(f r)^2 := by + apply intervalIntegral.integral_nonneg hRS + intro r hr + have hr0 := hR.trans hr.1 + unfold radialAngularDensity + positivity + have he := intervalIntegral.integral_add_adjacent_intervals + (hK.intervalIntegrable (μ := MeasureTheory.volume) 0 R) + (hK.intervalIntegrable (μ := MeasureTheory.volume) R S) + simp only [Pi.mul_apply,Pi.pow_apply] at he + change radialAngularForm n z R f f ≤ radialAngularForm n z S f f + rw [radialAngularForm_diag,radialAngularForm_diag] + linarith + +theorem radialAngularForm_coercive (n : ℕ) (z : ProfileMatchingBall) + (R σ : ℝ) (hR : 0 ≤ R) (hσ : 4 ≤ σ) (f : ℝ → ℝ) + (hv : ∀ r ∈ Icc 0 R, 0 ≤ radialMatchedVelocityRatio n z r) : + (3/4 : ℝ)*radialAngularForm n z R f f ≤ + σ*radialAngularForm n z R f f+radialAngularVirial n z R f := by + have hA := radialAngularForm_nonneg n z R hR f + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have hV : 0 ≤ ∫ r in (0 : ℝ)..R, + radialMatchedVelocityRatio n z r*radialAngularDensity n z r*(f r)^2 := by + apply intervalIntegral.integral_nonneg hR + intro r hr + have hr0 := hr.1 + have hvr := hv r hr + unfold radialAngularDensity + positivity + have hcoef : 1 ≤ σ-(6-2*radialShootingA n)/2 := by linarith + have hmul := mul_le_mul_of_nonneg_right hcoef hA + unfold radialAngularVirial + nlinarith + +theorem radialMatched_angular_density_bigO : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + radialAngularDensity n z =O[atTop] (fun r : ℝ => r^(9 : ℝ)) := by + obtain ⟨d,_hd,hW⟩ := radialMatched_uniform_weight_comparison + filter_upwards [hW] with n hn z + refine IsBigO.of_bound 144 ?_ + filter_upwards [eventually_gt_atTop (0 : ℝ)] with r hr + have hμ := (hn z r hr.le).2 + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have hρ : radialHardyWeight (radialShootingA n) r ≤ 1 := by + unfold radialHardyWeight + exact Real.rpow_le_one_of_one_le_of_nonpos (by nlinarith [sq_nonneg r]) (by linarith) + have hp : ‖radialMatchedProfile n z r‖^2 ≤ 144 := by + change ‖radialMatchedProfile n z r‖^2 ≤ 144*radialHardyWeight (radialShootingA n) r at hμ + linarith + have hK : 0 ≤ radialAngularDensity n z r := by + unfold radialAngularDensity + positivity + simp only [Real.norm_eq_abs,Real.rpow_ofNat,abs_of_nonneg hK, + abs_of_nonneg (pow_nonneg hr.le 9)] + unfold radialAngularDensity + nlinarith [mul_le_mul_of_nonneg_left hp (pow_nonneg hr.le 9)] + +theorem radialAngularBoundary_tendsto (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (f : ℝ → ℝ) (hf : HasRadialEnergyDecay f) + (hK : radialAngularDensity n z =O[atTop] (fun r : ℝ => r^(9 : ℝ))) : + Tendsto (fun R => radialAngularBoundary n z R f) atTop (nhds 0) := by + have hw : radialMatchedVelocity n z =O[atTop] (fun r : ℝ => r^(1 : ℝ)) := by + refine IsBigO.of_bound 1 ?_ + filter_upwards [radialMatchedVelocity_eventually_bound n z hX hz, + eventually_gt_atTop (0 : ℝ)] with r hwr hr + simpa only [Real.norm_eq_abs,Real.rpow_one,abs_of_pos hr,one_mul] using hwr + have hKw := IsBigO.mul_atTop_rpow_of_isBigO_rpow 9 1 10 hK hw (by norm_num) + have hff := IsBigO.mul_atTop_rpow_of_isBigO_rpow (-8) (-8) (-16) hf.1 hf.1 (by norm_num) + have hT := IsBigO.mul_atTop_rpow_of_isBigO_rpow 10 (-16) (-4) hKw hff (by norm_num) + have ht := (hT.trans_tendsto (tendsto_rpow_neg_atTop (by norm_num : (0 : ℝ)<4))).const_mul + (1/2 : ℝ) + simp only [mul_zero] at ht + apply ht.congr' + filter_upwards [] with R + simp only [Pi.mul_apply,radialAngularBoundary] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularForms.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularForms.lean new file mode 100644 index 0000000000000000000000000000000000000000..5551017414c8d39d13c59f34f16e8dd0bdbae065 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularForms.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularTransport + +namespace OAI + +/-! The angular part of the radial spectral form and its exact testing identity. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialAngularForm (n : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (f g : ℝ → ℝ) : ℝ := + ∫ r in (0 : ℝ)..R, radialAngularDensity n z r*f r*g r + +noncomputable def radialAngularVirial (n : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (f : ℝ → ℝ) : ℝ := + -((6-2*radialShootingA n)/2)*radialAngularForm n z R f f+ + ∫ r in (0 : ℝ)..R, radialMatchedVelocityRatio n z r*radialAngularDensity n z r*(f r)^2 + +noncomputable def radialAngularBoundary (n : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (f : ℝ → ℝ) : ℝ := + (1/2 : ℝ)*radialAngularDensity n z R*radialMatchedVelocity n z R*(f R)^2 + +theorem radialAngularForm_diag (n : ℕ) (z : ProfileMatchingBall) (R : ℝ) (f : ℝ → ℝ) : + radialAngularForm n z R f f=∫ r in (0 : ℝ)..R, radialAngularDensity n z r*(f r)^2 := by + unfold radialAngularForm + apply intervalIntegral.integral_congr + intro r _ + ring + +theorem radialAngularForm_symm (n : ℕ) (z : ProfileMatchingBall) (R : ℝ) (f g : ℝ → ℝ) : + radialAngularForm n z R f g=radialAngularForm n z R g f := by + unfold radialAngularForm + apply intervalIntegral.integral_congr + intro r _ + ring + +theorem radialAngularForm_nonneg (n : ℕ) (z : ProfileMatchingBall) (R : ℝ) (hR : 0 ≤ R) + (f : ℝ → ℝ) : 0 ≤ radialAngularForm n z R f f := by + rw [radialAngularForm_diag] + apply intervalIntegral.integral_nonneg hR + intro r hr + have hr0 := hr.1 + unfold radialAngularDensity + positivity + +theorem radialAngularForm_spectralTest (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R s t : ℝ) (hR : 0 ≤ R) + (f g : ℝ → ℝ) (hf : ContDiff ℝ 1 f) (hg : Continuous g) : + (∫ r in (0 : ℝ)..R, + radialSpectralTest n z s t f g r*radialAngularDensity n z r*f r)= + s*radialAngularForm n z R f f+t*radialAngularForm n z R f g+ + radialAngularVirial n z R f+radialAngularBoundary n z R f := by + have hK := radialAngularDensity_continuous n z hX hz + have hW := radialMatchedVelocity_continuousOn n z hX hz R + have hA : IntervalIntegrable (fun r => radialAngularDensity n z r*f r*f r) + MeasureTheory.volume 0 R := ((hK.mul hf.continuous).mul hf.continuous).intervalIntegrable 0 R + have hB : IntervalIntegrable (fun r => radialAngularDensity n z r*f r*g r) + MeasureTheory.volume 0 R := ((hK.mul hf.continuous).mul hg).intervalIntegrable 0 R + have hC : IntervalIntegrable (fun r => + radialAngularDensity n z r*radialMatchedVelocity n z r*f r*deriv f r) + MeasureTheory.volume 0 R := + (((hK.continuousOn.mul hW).mul hf.continuous.continuousOn).mul + hf.continuous_deriv_one.continuousOn).intervalIntegrable_of_Icc hR + have he : (∫ r in (0 : ℝ)..R, + radialSpectralTest n z s t f g r*radialAngularDensity n z r*f r)= + s*radialAngularForm n z R f f+t*radialAngularForm n z R f g+ + ∫ r in (0 : ℝ)..R, radialAngularDensity n z r*radialMatchedVelocity n z r*f r*deriv f r := by + calc + _ = ∫ r in (0 : ℝ)..R, + (s*(radialAngularDensity n z r*f r*f r)+t*(radialAngularDensity n z r*f r*g r))+ + radialAngularDensity n z r*radialMatchedVelocity n z r*f r*deriv f r := by + apply intervalIntegral.integral_congr + intro r _ + unfold radialSpectralTest + ring + _ = _ := by + rw [intervalIntegral.integral_add ((hA.const_mul s).add (hB.const_mul t)) hC, + intervalIntegral.integral_add (hA.const_mul s) (hB.const_mul t), + intervalIntegral.integral_const_mul,intervalIntegral.integral_const_mul] + rfl + have ht := radialAngular_transport n z hX hz R hR f hf + rw [he] + unfold radialAngularVirial radialAngularBoundary + rw [radialAngularForm_diag] + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularScalar.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularScalar.lean new file mode 100644 index 0000000000000000000000000000000000000000..e5e99d4b42e7ed04632df6a0775c508b39a81791 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularScalar.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularForms + +namespace OAI + +/-! Adding a spherical-harmonic eigenvalue to the regular scalar spectral forms. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialAngularScalarAction (n : ℕ) (z : ProfileMatchingBall) (η : ℝ) + (q f : ℝ → ℝ) (r : ℝ) : ℝ := + radialScalarAction n z q f r+η*radialAngularDensity n z r*f r + +noncomputable def radialAngularScalarForm (n : ℕ) (z : ProfileMatchingBall) (η R : ℝ) + (q f g : ℝ → ℝ) : ℝ := + radialScalarForm n z R q f g+η*radialAngularForm n z R f g + +noncomputable def radialAngularScalarVirial (n : ℕ) (z : ProfileMatchingBall) (η R : ℝ) + (q dq f : ℝ → ℝ) : ℝ := + radialScalarVirial n z R q dq f+η*radialAngularVirial n z R f + +noncomputable def radialAngularScalarBoundary (n : ℕ) (z : ProfileMatchingBall) (η R s t : ℝ) + (q f g : ℝ → ℝ) : ℝ := + radialSpectralBoundary n z R s t q f g+η*radialAngularBoundary n z R f + +theorem radialAngularScalarForm_symm (n : ℕ) (z : ProfileMatchingBall) (η R : ℝ) + (q f g : ℝ → ℝ) : + radialAngularScalarForm n z η R q f g=radialAngularScalarForm n z η R q g f := by + unfold radialAngularScalarForm + rw [radialScalarForm_symm n z R q f g,radialAngularForm_symm n z R f g] + +theorem radialAngularScalarAction_continuousOn (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η R : ℝ) (q f : ℝ → ℝ) + (hq : ContinuousOn q (Icc 0 R)) (hf : ContDiff ℝ 2 f) : + ContinuousOn (radialAngularScalarAction n z η q f) (Icc 0 R) := by + exact (radialScalarAction_continuousOn n z hX hz R q f hq hf).add + (((radialAngularDensity_continuous n z hX hz).const_mul η).mul hf.continuous).continuousOn + +theorem radialAngularScalarForm_spectralTest_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η R s t : ℝ) (hR : 0 ≤ R) + (q dq f g : ℝ → ℝ) (hq : ContinuousOn q (Icc 0 R)) + (hdq : ContinuousOn dq (Icc 0 R)) (hq' : ∀ r ∈ Ioo 0 R, HasDerivAt q (dq r) r) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 1 g) : + (∫ r in (0 : ℝ)..R, + radialSpectralTest n z s t f g r*radialAngularScalarAction n z η q f r)= + s*radialAngularScalarForm n z η R q f f+t*radialAngularScalarForm n z η R q f g+ + radialAngularScalarVirial n z η R q dq f+ + radialAngularScalarBoundary n z η R s t q f g := by + have hT := radialSpectralTest_continuousOn n z hX hz R s t f g hf hg + have hAi : IntervalIntegrable (fun r => + radialSpectralTest n z s t f g r*radialScalarAction n z q f r) + MeasureTheory.volume 0 R := + (hT.mul (radialScalarAction_continuousOn n z hX hz R q f hq hf)).intervalIntegrable_of_Icc hR + have hKi : IntervalIntegrable (fun r => + radialSpectralTest n z s t f g r*radialAngularDensity n z r*f r) + MeasureTheory.volume 0 R := + ((hT.mul (radialAngularDensity_continuous n z hX hz).continuousOn).mul + hf.continuous.continuousOn).intervalIntegrable_of_Icc hR + have he : (∫ r in (0 : ℝ)..R, + radialSpectralTest n z s t f g r*radialAngularScalarAction n z η q f r)= + (∫ r in (0 : ℝ)..R, radialSpectralTest n z s t f g r*radialScalarAction n z q f r)+ + η*(∫ r in (0 : ℝ)..R, radialSpectralTest n z s t f g r*radialAngularDensity n z r*f r) := by + calc + _ = ∫ r in (0 : ℝ)..R, + radialSpectralTest n z s t f g r*radialScalarAction n z q f r+ + η*(radialSpectralTest n z s t f g r*radialAngularDensity n z r*f r) := by + apply intervalIntegral.integral_congr + intro r _ + unfold radialAngularScalarAction + ring + _ = _ := by + rw [intervalIntegral.integral_add hAi (hKi.const_mul η),intervalIntegral.integral_const_mul] + rw [he,radialScalarForm_spectralTest_boundary n z hX hz R s t hR q dq f g hq hdq hq' hf hg, + radialAngularForm_spectralTest n z hX hz R s t hR f g (hf.of_le (by norm_num)) hg.continuous] + unfold radialAngularScalarForm radialAngularScalarVirial radialAngularScalarBoundary + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularScalarEstimates.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularScalarEstimates.lean new file mode 100644 index 0000000000000000000000000000000000000000..065775638870dbc6913ac84c0379ee0f33a2ea0f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularScalarEstimates.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularEstimates +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularScalar +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialZeroEnergyDecay + +namespace OAI + +/-! Coercivity and zero-energy consequences for the full angular scalar form. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialAngularScalarForm_nonneg (n : ℕ) (z : ProfileMatchingBall) (η R : ℝ) + (hη : 0 ≤ η) (hR : 0 ≤ R) (q f : ℝ → ℝ) (hq : ∀ r ∈ Icc 0 R, 0 ≤ q r) : + 0 ≤ radialAngularScalarForm n z η R q f f := + add_nonneg (radialScalarForm_nonneg n z R hR q f hq) + (mul_nonneg hη (radialAngularForm_nonneg n z R hR f)) + +theorem radialAngularScalarForm_mono (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η : ℝ) (hη : 0 ≤ η) + (q f : ℝ → ℝ) (hq : Continuous q) (hqn : ∀ r, 0 ≤ r → 0 ≤ q r) (hf : ContDiff ℝ 1 f) : + MonotoneOn (fun R => radialAngularScalarForm n z η R q f f) (Ici 0) := by + intro R hR S hS hRS + exact add_le_add (radialScalarForm_mono n z hX hz q f hq hqn hf hR hS hRS) + (mul_le_mul_of_nonneg_left + (radialAngularForm_mono n z hX hz f hf.continuous hR hS hRS) hη) + +theorem radialAngularScalarForm_all_zero_of_decay (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η : ℝ) (hη : 0 ≤ η) (q f : ℝ → ℝ) + (hqn : ∀ r, 0 ≤ r → 0 ≤ q r) (hf : ContDiff ℝ 1 f) + (hlim : Tendsto f atTop (nhds 0)) + (hE : ∀ R, 0 ≤ R → radialAngularScalarForm n z η R q f f=0) : + ∀ r, 0 ≤ r → f r=0 := by + apply radialScalarForm_all_zero_of_decay n z hX hz q f hqn hf hlim + intro R hR + have he := hE R hR + have hA := mul_nonneg hη (radialAngularForm_nonneg n z R hR f) + have hB := radialScalarForm_nonneg n z R hR q f (fun r hr => hqn r hr.1) + unfold radialAngularScalarForm at he + linarith + +theorem radialAngularScalarForm_coercive_of_base (n : ℕ) (z : ProfileMatchingBall) + (η R σ C H : ℝ) (hη : 0 ≤ η) (hR : 0 ≤ R) (hσ : 4 ≤ σ) + (q dq f : ℝ → ℝ) (hv : ∀ r ∈ Icc 0 R, 0 ≤ radialMatchedVelocityRatio n z r) + (hbase : (3/4 : ℝ)*radialScalarForm n z R q f f ≤ + σ*radialScalarForm n z R q f f+radialScalarVirial n z R q dq f+C*H) : + (3/4 : ℝ)*radialAngularScalarForm n z η R q f f ≤ + σ*radialAngularScalarForm n z η R q f f+radialAngularScalarVirial n z η R q dq f+C*H := by + have hA := mul_le_mul_of_nonneg_left (radialAngularForm_coercive n z R σ hR hσ f hv) hη + unfold radialAngularScalarForm radialAngularScalarVirial + nlinarith only [hbase,hA] + +theorem radialAngularScalarBoundary_tendsto (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η s t : ℝ) (q f g : ℝ → ℝ) + (hM : radialMassDensity n z =O[atTop] (fun r : ℝ => r^(11 : ℝ))) + (hF : radialMassFlux n z =O[atTop] (fun r : ℝ => r^(12 : ℝ))) + (hq : q =O[atTop] (fun r : ℝ => r^(0 : ℝ))) + (hK : radialAngularDensity n z =O[atTop] (fun r : ℝ => r^(9 : ℝ))) + (hf : HasRadialEnergyDecay f) (hg : HasRadialEnergyDecay g) : + Tendsto (fun R => radialAngularScalarBoundary n z η R s t q f g) atTop (nhds 0) := by + have hB := radialSpectralBoundary_tendsto n z s t q f g hM hF hq hf hg + have hA := radialAngularBoundary_tendsto n z hX hz f hf hK + simpa only [radialAngularScalarBoundary,mul_zero,add_zero] using hB.add (hA.const_mul η) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularTransport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularTransport.lean new file mode 100644 index 0000000000000000000000000000000000000000..3c71b83ffd5b83f5e301206ff3b1822d16c6b526 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularTransport.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularDensity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarBoundary + +namespace OAI + +/-! Angular potential transport, written with the regular density r^9 |Q|². -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialAngular_transport (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) + (f : ℝ → ℝ) (hf : ContDiff ℝ 1 f) : + 2*(∫ r in (0 : ℝ)..R, radialAngularDensity n z r*radialMatchedVelocity n z r*f r*deriv f r)= + radialAngularDensity n z R*radialMatchedVelocity n z R*(f R)^2- + (6-2*radialShootingA n)*(∫ r in (0 : ℝ)..R, radialAngularDensity n z r*(f r)^2)+ + 2*(∫ r in (0 : ℝ)..R, + radialMatchedVelocityRatio n z r*radialAngularDensity n z r*(f r)^2) := by + let A := fun r => radialAngularDensity n z r*(f r)^2 + let B := fun r => radialAngularDensity n z r*radialMatchedVelocity n z r*f r*deriv f r + let C := fun r => radialMatchedVelocityRatio n z r*radialAngularDensity n z r*(f r)^2 + have hK := radialAngularDensity_continuous n z hX hz + have hW := radialMatchedVelocity_continuousOn n z hX hz R + have hv := radialMatchedVelocityRatio_continuousOn n z hX hz R + have hA : Continuous A := hK.mul (hf.continuous.pow 2) + have hB : ContinuousOn B (Icc 0 R) := + ((hK.continuousOn.mul hW).mul hf.continuous.continuousOn).mul hf.continuous_deriv_one.continuousOn + have hC : ContinuousOn C (Icc 0 R) := + (hv.mul hK.continuousOn).mul (hf.continuous.pow 2).continuousOn + have hAi := hA.intervalIntegrable (μ := MeasureTheory.volume) 0 R + have hBi := hB.intervalIntegrable_of_Icc (μ := MeasureTheory.volume) hR + have hCi := hC.intervalIntegrable_of_Icc (μ := MeasureTheory.volume) hR + have hder (r : ℝ) (hr : r ∈ Ioo 0 R) : + HasDerivAt (fun t => radialAngularDensity n z t*radialMatchedVelocity n z t*(f t)^2) + ((6-2*radialShootingA n)*A r-2*C r+2*B r) r := by + have h := (radialAngularFlux_hasDerivAt n z hX hz r hr.1).mul + (((hf.differentiable (by norm_num) r).hasDerivAt).pow 2) + apply h.congr_deriv + dsimp [A,B,C] + norm_num only [Nat.cast_ofNat,Nat.reduceSub,pow_one] + ring + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hR + ((hK.continuousOn.mul hW).mul (hf.continuous.pow 2).continuousOn) hder + (((hAi.const_mul (6-2*radialShootingA n)).sub (hCi.const_mul 2)).add (hBi.const_mul 2)) + simp only [Pi.mul_apply,Pi.pow_apply,radialAngularDensity,zero_pow (by norm_num : (9 : ℕ)≠0),zero_mul,sub_zero] at he + rw [intervalIntegral.integral_add ((hAi.const_mul _).sub (hCi.const_mul 2)) (hBi.const_mul 2), + intervalIntegral.integral_sub (hAi.const_mul _) (hCi.const_mul 2), + intervalIntegral.integral_const_mul,intervalIntegral.integral_const_mul, + intervalIntegral.integral_const_mul] at he + change 2*(∫ r in (0 : ℝ)..R, B r)= + radialAngularDensity n z R*radialMatchedVelocity n z R*(f R)^2- + (6-2*radialShootingA n)*(∫ r in (0 : ℝ)..R, A r)+ + 2*(∫ r in (0 : ℝ)..R, C r) + dsimp only [radialAngularDensity] + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularUpperExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularUpperExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..0d92924d4de3de2332d4bbad3e3b1e7a674edc7e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAngularUpperExclusion.lean @@ -0,0 +1,151 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularScalarEstimates +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularComplexEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialZeroEnergyDecay +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoercivityBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexBoundaryEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralPressureCalculus + +namespace OAI + +/-! Upper real-part exclusion in every spherical-harmonic channel of the actual profile. -/ + +open Set Filter Asymptotics +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +/-- The four real equations with angular eigenvalue η = ℓ(ℓ+10). -/ +def HasAngularSpectralSystem (n : ℕ) (z : ProfileMatchingBall) (η σ τ : ℝ) + (f : Fin 4 → ℝ → ℝ) : Prop := ∀ r, 0 ≤ r → + radialAngularScalarAction n z η (radialSpectralPressure n z) (f 0) r+radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 2) (f 3) r=0 ∧ + radialAngularScalarAction n z η (radialSpectralPressure n z) (f 1) r+radialMassDensity n z r* + radialSpectralTest n z σ τ (f 3) (f 2) r=0 ∧ + radialAngularScalarAction n z η (fun _ => 0) (f 2) r-radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 0) (f 1) r=0 ∧ + radialAngularScalarAction n z η (fun _ => 0) (f 3) r-radialMassDensity n z r* + radialSpectralTest n z σ τ (f 1) (f 0) r=0 + +theorem radialMatched_angular_upper_exclusion : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ η σ τ : ℝ, 0 ≤ η → 4 ≤ σ → + ∀ f : Fin 4 → ℝ → ℝ, (∀ j, ContDiff ℝ 2 (f j)) → + (∀ j, HasRadialEnergyDecay (f j)) → HasAngularSpectralSystem n z η σ τ f → + ∀ j r, 0 ≤ r → f j r=0 := by + obtain ⟨C,_hC,hC⟩ := radialMatched_spectral_coercivity_boundary + obtain ⟨c,hc,hW⟩ := radialMatched_uniform_deformation + filter_upwards [hC,hW,radialMatched_weight_bigO,radialMatched_angular_density_bigO] with n hCn hWn hBn hKn z hX hz η σ τ hη hσ f hf hd hs + let q := radialSpectralPressure n z + let E0 := fun R => radialAngularScalarForm n z η R q (f 0) (f 0) + let E1 := fun R => radialAngularScalarForm n z η R q (f 1) (f 1) + let E2 := fun R => radialAngularScalarForm n z η R (fun _ => 0) (f 2) (f 2) + let E3 := fun R => radialAngularScalarForm n z η R (fun _ => 0) (f 3) (f 3) + let E := fun R => E0 R+E1 R+E2 R+E3 R + let B0 := fun R => radialAngularScalarBoundary n z η R σ (-τ) q (f 0) (f 1) + let B1 := fun R => radialAngularScalarBoundary n z η R σ τ q (f 1) (f 0) + let B2 := fun R => radialAngularScalarBoundary n z η R σ (-τ) (fun _ => 0) (f 2) (f 3) + let B3 := fun R => radialAngularScalarBoundary n z η R σ τ (fun _ => 0) (f 3) (f 2) + let H0 := fun R => radialHardyFlux (radialShootingA n) R*(f 0 R)^2 + let H1 := fun R => radialHardyFlux (radialShootingA n) R*(f 1 R)^2 + let B := fun R => C*H0 R+C*H1 R-(B0 R+B1 R+B2 R+B3 R) + have hq := radialSpectralPressure_continuous n z hX hz + have hqn : ∀ r, 0 ≤ r → 0 ≤ q r := fun r _ => radialSpectralPressure_nonneg n z r + have hf1 (j : Fin 4) : ContDiff ℝ 1 (f j) := (hf j).of_le (by norm_num) + have hE0 : ∀ R, 0 ≤ R → 0 ≤ E0 R := fun R hR => + radialAngularScalarForm_nonneg n z η R hη hR q (f 0) (fun r hr => hqn r hr.1) + have hE1 : ∀ R, 0 ≤ R → 0 ≤ E1 R := fun R hR => + radialAngularScalarForm_nonneg n z η R hη hR q (f 1) (fun r hr => hqn r hr.1) + have hE2 : ∀ R, 0 ≤ R → 0 ≤ E2 R := fun R hR => + radialAngularScalarForm_nonneg n z η R hη hR (fun _ => 0) (f 2) (fun _ _ => le_rfl) + have hE3 : ∀ R, 0 ≤ R → 0 ≤ E3 R := fun R hR => + radialAngularScalarForm_nonneg n z η R hη hR (fun _ => 0) (f 3) (fun _ _ => le_rfl) + have hEn : ∀ R, 0 ≤ R → 0 ≤ E R := fun R hR => + add_nonneg (add_nonneg (add_nonneg (hE0 R hR) (hE1 R hR)) (hE2 R hR)) (hE3 R hR) + have hEm : MonotoneOn E (Ici 0) := + (((radialAngularScalarForm_mono n z hX hz η hη q (f 0) hq hqn (hf1 0)).add + (radialAngularScalarForm_mono n z hX hz η hη q (f 1) hq hqn (hf1 1))).add + (radialAngularScalarForm_mono n z hX hz η hη (fun _ => 0) (f 2) continuous_const + (fun _ _ => le_rfl) (hf1 2))).add + (radialAngularScalarForm_mono n z hX hz η hη (fun _ => 0) (f 3) continuous_const + (fun _ _ => le_rfl) (hf1 3)) + obtain ⟨hM,hF,hP,hH⟩ := hBn z hX hz + have hzero : (fun _ : ℝ => (0 : ℝ)) =O[atTop] (fun r : ℝ => r^(0 : ℝ)) := + isBigO_zero _ _ + have hB0 : Tendsto B0 atTop (nhds 0) := + radialAngularScalarBoundary_tendsto n z hX hz η σ (-τ) q (f 0) (f 1) hM hF hP (hKn z) (hd 0) (hd 1) + have hB1 : Tendsto B1 atTop (nhds 0) := + radialAngularScalarBoundary_tendsto n z hX hz η σ τ q (f 1) (f 0) hM hF hP (hKn z) (hd 1) (hd 0) + have hB2 : Tendsto B2 atTop (nhds 0) := + radialAngularScalarBoundary_tendsto n z hX hz η σ (-τ) (fun _ => 0) (f 2) (f 3) hM hF hzero (hKn z) (hd 2) (hd 3) + have hB3 : Tendsto B3 atTop (nhds 0) := + radialAngularScalarBoundary_tendsto n z hX hz η σ τ (fun _ => 0) (f 3) (f 2) hM hF hzero (hKn z) (hd 3) (hd 2) + have hH0 : Tendsto H0 atTop (nhds 0) := radialHardyBoundary_tendsto _ _ hH (hd 0) + have hH1 : Tendsto H1 atTop (nhds 0) := radialHardyBoundary_tendsto _ _ hH (hd 1) + have hB : Tendsto B atTop (nhds 0) := by + simpa only [mul_zero,add_zero,sub_zero] using + ((hH0.const_mul C).add (hH1.const_mul C)).sub (((hB0.add hB1).add hB2).add hB3) + have hbound : ∀ R, 0 ≤ R → (3/4 : ℝ)*E R ≤ B R := by + intro R hR + have hv : ∀ r ∈ Icc 0 R, 0 ≤ radialMatchedVelocityRatio n z r := + fun r hr => hc.le.trans (hWn z hX hz r hr.1).2 + have hbase0 := hCn z hX hz R σ hR hσ (f 0) (hf1 0) + have hbase1 := hCn z hX hz R σ hR hσ (f 1) (hf1 1) + have h0 := radialAngularScalarForm_coercive_of_base n z η R σ C (H0 R) hη hR hσ + q (deriv q) (f 0) hv (by simpa only [H0,mul_assoc] using hbase0) + have h1 := radialAngularScalarForm_coercive_of_base n z η R σ C (H1 R) hη hR hσ + q (deriv q) (f 1) hv (by simpa only [H1,mul_assoc] using hbase1) + have hnonpress (j : Fin 4) := radialScalarForm_coercive n z hX hz R σ hR hσ + (fun _ => 0) (fun _ => 0) (f j) (hf1 j) (fun _ _ => le_rfl) + (fun r hr => hc.le.trans (hWn z hX hz r hr.1).1) + (by simpa only [mul_zero,zero_mul,intervalIntegral.integral_zero] using + radialScalarForm_nonneg n z R hR (fun _ => 0) (f j) (fun _ _ => le_rfl)) + have h2 := radialAngularScalarForm_coercive_of_base n z η R σ 0 0 hη hR hσ + (fun _ => 0) (fun _ => 0) (f 2) hv (by simpa using hnonpress 2) + have h3 := radialAngularScalarForm_coercive_of_base n z η R σ 0 0 hη hR hσ + (fun _ => 0) (fun _ => 0) (f 3) hv (by simpa using hnonpress 3) + simp only [mul_zero,add_zero] at h2 h3 + have he := radialAngularComplexSpectral_energy_boundary n z hX hz η R σ τ hR + q (deriv q) (fun _ => 0) (fun _ => 0) hq.continuousOn + (radialSpectralPressure_deriv_continuousOn n z hX hz R) continuousOn_const continuousOn_const + (fun r _ => radialSpectralPressure_hasDerivAt n z hX hz r) + (fun r _ => hasDerivAt_const r 0) f hf (fun r hr => hs r hr.1) + dsimp only [E,E0,E1,E2,E3,B,B0,B1,B2,B3,H0,H1,q] + linarith only [h0,h1,h2,h3,he] + have hEZ := nonnegative_monotone_zero_of_vanishing_bound E B (3/4) (by norm_num) + hEn hEm hB (eventually_ge_atTop (0 : ℝ) |>.mono fun R hR => hbound R hR) + have hlim (j : Fin 4) : Tendsto (f j) atTop (nhds 0) := + (hd j).1.trans_tendsto (tendsto_rpow_neg_atTop (by norm_num : (0 : ℝ)<8)) + have hZ0 : ∀ R, 0 ≤ R → E0 R=0 := by + intro R hR + have he := hEZ R hR + dsimp only [E] at he + linarith [hE0 R hR,hE1 R hR,hE2 R hR,hE3 R hR] + have hZ1 : ∀ R, 0 ≤ R → E1 R=0 := by + intro R hR + have he := hEZ R hR + dsimp only [E] at he + linarith [hE0 R hR,hE1 R hR,hE2 R hR,hE3 R hR] + have hZ2 : ∀ R, 0 ≤ R → E2 R=0 := by + intro R hR + have he := hEZ R hR + dsimp only [E] at he + linarith [hE0 R hR,hE1 R hR,hE2 R hR,hE3 R hR] + have hZ3 : ∀ R, 0 ≤ R → E3 R=0 := by + intro R hR + have he := hEZ R hR + dsimp only [E] at he + linarith [hE0 R hR,hE1 R hR,hE2 R hR,hE3 R hR] + intro j + fin_cases j + · exact radialAngularScalarForm_all_zero_of_decay n z hX hz η hη q (f 0) hqn (hf1 0) (hlim 0) hZ0 + · exact radialAngularScalarForm_all_zero_of_decay n z hX hz η hη q (f 1) hqn (hf1 1) (hlim 1) hZ1 + · exact radialAngularScalarForm_all_zero_of_decay n z hX hz η hη (fun _ => 0) (f 2) + (fun _ _ => le_rfl) (hf1 2) (hlim 2) hZ2 + · exact radialAngularScalarForm_all_zero_of_decay n z hX hz η hη (fun _ => 0) (f 3) + (fun _ _ => le_rfl) (hf1 3) (hlim 3) hZ3 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAverageUniform.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAverageUniform.lean new file mode 100644 index 0000000000000000000000000000000000000000..401ecc164902d843914c08d5ed5c7d9c4a8364db --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialAverageUniform.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerDerivative +import Mathlib.Topology.MetricSpace.UniformConvergence + +namespace OAI + +/-! Uniform continuity of the regular radial derivative integral, including the origin. -/ + +open Set Filter MeasureTheory +namespace DefocusingNLS + +theorem radialAverage_sub_on (R r : ℝ) (hr : r ∈ Icc 0 R) (f g : ℝ → ℝ) + (hf : ContinuousOn f (Icc 0 R)) (hg : ContinuousOn g (Icc 0 R)) : + radialAverage (fun t => f t-g t) r=radialAverage f r-radialAverage g r := by + have hm : MapsTo (fun s => r*s) (Icc (0 : ℝ) 1) (Icc 0 R) := by + intro s hs + exact ⟨mul_nonneg hr.1 hs.1,(mul_le_of_le_one_right hr.1 hs.2).trans hr.2⟩ + have hfc : ContinuousOn (fun s => f (r*s)*s^11) (Icc (0 : ℝ) 1) := + (hf.comp (continuous_const.mul continuous_id).continuousOn hm).mul + (continuous_id.pow 11).continuousOn + have hgc : ContinuousOn (fun s => g (r*s)*s^11) (Icc (0 : ℝ) 1) := + (hg.comp (continuous_const.mul continuous_id).continuousOn hm).mul + (continuous_id.pow 11).continuousOn + unfold radialAverage + rw [← intervalIntegral.integral_sub + (ContinuousOn.intervalIntegrable_of_Icc (by norm_num) hfc) + (ContinuousOn.intervalIntegrable_of_Icc (by norm_num) hgc)] + apply intervalIntegral.integral_congr + intro s _ + ring + +theorem radial_derivative_integral_uniform (R : ℝ) (hR : 0 ≤ R) + (f : ℕ → ℝ → ℝ) (g : ℝ → ℝ) + (hf : ∀ i, ContinuousOn (f i) (Icc 0 R)) (hg : ContinuousOn g (Icc 0 R)) + (ht : TendstoUniformlyOn f g atTop (Icc 0 R)) : + TendstoUniformlyOn (fun i r => r*radialAverage (f i) r) + (fun r => r*radialAverage g r) atTop (Icc 0 R) := by + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + let δ := ε/(R+1) + have hδ : 0 < δ := div_pos hε (by linarith) + have hδε : δ*(R+1)=ε := div_mul_cancel₀ _ (by linarith) + filter_upwards [(Metric.tendstoUniformlyOn_iff.mp ht) δ hδ] with i hi r hr + have ha := radialAverage_norm_le (fun t => f i t-g t) R δ r hr.1 hr.2 (by + intro t ht + have hh := (hi t ht).le + simpa only [dist_comm,dist_eq_norm] using hh) + rw [radialAverage_sub_on R r hr (f i) g (hf i) hg] at ha + rw [dist_comm,dist_eq_norm,← mul_sub,norm_mul,Real.norm_eq_abs,abs_of_nonneg hr.1] + have hh := mul_le_mul_of_nonneg_left ha hr.1 + have hrδ := mul_le_mul_of_nonneg_right hr.2 (show 0 ≤ δ/12 by positivity) + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryCoefficientContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryCoefficientContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..c04bd089f0c644120fb1c0a60791967079791415 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryCoefficientContinuity.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePhysicalNormalization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeParameterContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeShootingData + +namespace OAI + +/-! Continuous physical normalization of the outgoing H solution. -/ + +namespace DefocusingNLS + +theorem continuous_radialFreePhysical_unitCoefficient : + Continuous (fun w : RadialShootingDisk => + radialFreePhysicalBoundaryCoefficient (radialShootingB w) 1) := by + have hq : Continuous (fun w : RadialShootingDisk => -Complex.I*(radialShootingB w : ℂ)) := by + unfold radialShootingB + fun_prop + have hH : Continuous (fun w : RadialShootingDisk => + normalizedSlowSolution (-Complex.I*(radialShootingB w : ℂ)) 6 + (radialFreeSlowArgument (Real.log innerBoundaryRadius))) := by + apply continuous_iff_continuousAt.mpr + intro w + exact (continuousAt_normalizedSlowSolution_parameter _ 6 _ (by simp) + (by rw [radialFreeSlowArgument_re]) (radialFreeSlowArgument_ne_zero _)).comp + (f := fun w : RadialShootingDisk => -Complex.I*(radialShootingB w : ℂ)) + (x := w) hq.continuousAt + have hn (w : RadialShootingDisk) : + normalizedSlowSolution (-Complex.I*(radialShootingB w : ℂ)) 6 + (radialFreeSlowArgument (Real.log innerBoundaryRadius)) ≠ 0 := by + intro he + have hh := (radialFreePhysicalBoundaryCoefficient_spec w 1 (by norm_num)).2.1 + change Complex.exp _*radialFreeSlowValue (-Complex.I*(radialShootingB w : ℂ)) + (radialFreePhysicalBoundaryCoefficient (radialShootingB w) 1) _=(1 : ℂ) at hh + simp only [radialFreeSlowValue,he,mul_zero] at hh + exact zero_ne_one hh + unfold radialFreePhysicalBoundaryCoefficient radialFreeBoundaryCoefficient + exact (show Continuous (fun w : RadialShootingDisk => + Complex.exp (-(2*Complex.I*(radialShootingB w : ℂ)*(Real.log innerBoundaryRadius : ℂ)))) by + unfold radialShootingB + fun_prop).mul (continuous_const.div hH hn) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..786147188aad935cf777d6d2c9bdf98fe811e7d5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryContinuity.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeParameterStart + +namespace OAI + +/-! Sequential continuity of the free boundary value and modulus, with varying start radius. -/ + +open Set MeasureTheory Filter Topology +namespace DefocusingNLS + +theorem radial_free_boundary_tendsto (u b l : ℝ) (bn ln : ℕ → ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hbn : ∀ n, bn n ∈ Icc (334/1000 : ℝ) (335/1000)) + (hl : (3 : ℝ) ≤ l) (hln : ∀ n, (3 : ℝ) ≤ ln n) (hu : u ≤ (10/3 : ℝ)) + (hlu : l ≤ u) (hlnu : ∀ n, ln n ≤ u) + (hw : u-l ≤ (1/1000 : ℝ)) (hwn : ∀ n, u-ln n ≤ (1/1000 : ℝ)) + (hbT : Tendsto bn atTop (𝓝 b)) (hlT : Tendsto ln atTop (𝓝 l)) + (F G : ℝ → ℂ) (Fn Gn : ℕ → ℝ → ℂ) + (hF : Continuous F) (hG : Continuous G) (hFn : ∀ n, Continuous (Fn n)) + (hGn : ∀ n, Continuous (Gn n)) + (hFI : ∀ r ∈ Icc l u, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l u, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hFIn : ∀ n r, r ∈ Icc (ln n) u → Fn n r=1+∫ t in (ln n)..r, Gn n t) + (hGIn : ∀ n r, r ∈ Icc (ln n) u → Gn n r=∫ t in (ln n)..r, + -radialFreeCoefficient t*Gn n t-(bn n : ℂ)*Fn n t) + (hB : ∀ r ∈ Icc l u, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (hBn : ∀ n r, r ∈ Icc (ln n) u → ‖Fn n r‖ ≤ 2 ∧ ‖Gn n r‖ ≤ 2) : + Tendsto (fun n => (Fn n u,Gn n u)) atTop (𝓝 (F u,G u)) ∧ + Tendsto (fun n => ‖Fn n u‖) atTop (𝓝 ‖F u‖) := by + have hs : Tendsto (fun n => |ln n-l|+|bn n-b|) atTop (𝓝 0) := by + convert (hlT.sub_const l).abs.add (hbT.sub_const b).abs using 1; simp + have hnorm : Tendsto (fun n => ‖(Fn n u,Gn n u)-(F u,G u)‖) atTop (𝓝 0) := by + apply squeeze_zero (fun n => norm_nonneg _) _ hs + intro n + exact radial_free_endpoint_difference (bn n) b (ln n) l u (hbn n) hb (hln n) hl hu + (hlnu n) hlu (hwn n) hw (Fn n) (Gn n) F G (hFn n) (hGn n) hF hG + (hFIn n) (hGIn n) hFI hGI (hBn n) hB + have hT : Tendsto (fun n => (Fn n u,Gn n u)) atTop (𝓝 (F u,G u)) := + tendsto_iff_norm_sub_tendsto_zero.mpr hnorm + have hTF : Tendsto (fun n => Fn n u) atTop (𝓝 (F u)) := + (continuous_fst.tendsto (F u,G u)).comp hT + exact ⟨hT,hTF.norm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryGap.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryGap.lean new file mode 100644 index 0000000000000000000000000000000000000000..01e5f5db0064befddbd9394eacd3f8fb64041583 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryGap.lean @@ -0,0 +1,40 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeTaylor + +namespace OAI + +/-! The manuscript's boundary modulus gap follows from the quantitative free Taylor estimate. -/ + +open Set +namespace DefocusingNLS + +theorem radial_free_boundary_gap (b h : ℝ) (z : ℂ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hh : h ∈ Icc (1/10000-1/100000000 : ℝ) (1/10000+1/100000000)) + (he : ‖z-1+(b : ℂ)/2*(h : ℂ)^2‖ ≤ (3/2000 : ℝ)*h^2) : + 1-(1/5 : ℝ)*(1/10000)^2 < ‖z‖ ∧ + ‖z‖ < 1-(3/20 : ℝ)*(1/10000)^2 := by + have hh0 : 0 ≤ h := by linarith [hh.1] + have hslo : (1/10000-1/100000000 : ℝ)^2 ≤ h^2 := + pow_le_pow_left₀ (by norm_num) hh.1 2 + have hshi : h^2 ≤ (1/10000+1/100000000 : ℝ)^2 := + pow_le_pow_left₀ hh0 hh.2 2 + have hb0 : 0 ≤ b := by linarith [hb.1] + have hbhi : b/2*h^2 ≤ (335/2000 : ℝ)*h^2 := + mul_le_mul_of_nonneg_right (by linarith [hb.2]) (sq_nonneg h) + have hblo : (334/2000 : ℝ)*h^2 ≤ b/2*h^2 := + mul_le_mul_of_nonneg_right (by linarith [hb.1]) (sq_nonneg h) + have ht : 0 ≤ 1-b/2*h^2 := by nlinarith + have heq : z-((1-b/2*h^2 : ℝ) : ℂ)=z-1+(b : ℂ)/2*(h : ℂ)^2 := by + push_cast + ring + have hnorm : ‖((1-b/2*h^2 : ℝ) : ℂ)‖=1-b/2*h^2 := by + rw [Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg ht] + have hup := norm_sub_norm_le z (((1-b/2*h^2 : ℝ) : ℂ)) + have hlo := norm_sub_norm_le (((1-b/2*h^2 : ℝ) : ℂ)) z + rw [hnorm,heq] at hup + rw [hnorm,norm_sub_rev,heq] at hlo + constructor <;> nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryGeometry.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryGeometry.lean new file mode 100644 index 0000000000000000000000000000000000000000..be4ea2a4791a589e6a7baa500412ca7cf42890cb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryGeometry.lean @@ -0,0 +1,48 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPaperRadius +import Mathlib.Analysis.SpecialFunctions.Sqrt +import Mathlib.Tactic + +namespace OAI + +/-! All certified parameter radii lie in the short shell used by the boundary-modulus estimate. -/ + +open Set +namespace DefocusingNLS + +theorem radial_boundary_shell_geometry (Z : ℝ) + (hZ : |Z-(ProfileCertificate.centerZ : ℝ)| ≤ (1/100000000 : ℝ)) : + (3 : ℝ) ≤ 2*Real.sqrt Z ∧ innerBoundaryRadius ≤ (10/3 : ℝ) ∧ + innerBoundaryRadius-2*Real.sqrt Z ∈ + Icc (1/10000-1/100000000 : ℝ) (1/10000+1/100000000) := by + have hz := abs_le.mp hZ + have hc : (27/10 : ℝ) ≤ (ProfileCertificate.centerZ : ℝ) ∧ + (ProfileCertificate.centerZ : ℝ) ≤ (271/100 : ℝ) := by norm_num [ProfileCertificate.centerZ] + have hZ0 : 0 ≤ Z := by linarith [hz.1,hc.1] + have hC0 : 0 ≤ (ProfileCertificate.centerZ : ℝ) := by linarith [hc.1] + have hsq := Real.sq_sqrt hZ0 + have hcq := Real.sq_sqrt hC0 + have hn := Real.sqrt_nonneg Z + have hcn := Real.sqrt_nonneg (ProfileCertificate.centerZ : ℝ) + have hZl : (3/2 : ℝ) ≤ Real.sqrt Z := by nlinarith [hz.1,hc.1] + have hCl : (3/2 : ℝ) ≤ Real.sqrt (ProfileCertificate.centerZ : ℝ) := by nlinarith [hc.1] + have hCu : Real.sqrt (ProfileCertificate.centerZ : ℝ) ≤ (33/20 : ℝ) := by nlinarith [hc.2] + have hid : (Real.sqrt Z-Real.sqrt (ProfileCertificate.centerZ : ℝ))* + (Real.sqrt Z+Real.sqrt (ProfileCertificate.centerZ : ℝ))=Z-(ProfileCertificate.centerZ : ℝ) := by + nlinarith + have hab : |Real.sqrt Z-Real.sqrt (ProfileCertificate.centerZ : ℝ)| * + (Real.sqrt Z+Real.sqrt (ProfileCertificate.centerZ : ℝ)) ≤ (1/100000000 : ℝ) := by + rw [← abs_of_nonneg (add_nonneg hn hcn),← abs_mul,hid] + exact hZ + have hs : |Real.sqrt Z-Real.sqrt (ProfileCertificate.centerZ : ℝ)| ≤ (1/300000000 : ℝ) := by + nlinarith [abs_nonneg (Real.sqrt Z-Real.sqrt (ProfileCertificate.centerZ : ℝ))] + have hsd := abs_le.mp hs + unfold innerBoundaryRadius + constructor + · linarith + constructor + · linarith + · constructor <;> linarith [hsd.1,hsd.2] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryMonotonicity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryMonotonicity.lean new file mode 100644 index 0000000000000000000000000000000000000000..d7dc0acfb21514b0b9e376cbb62db9626267033a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryMonotonicity.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialModulusComparison + +namespace OAI + +/-! The free endpoint modulus strictly increases with its starting radius. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_free_boundary_strict_mono (b l₁ l₂ u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l₁) + (hu : u ≤ (10/3 : ℝ)) (h₁₂ : l₁ < l₂) (h₂u : l₂ ≤ u) + (hwidth : u-l₁ ≤ (1/1000 : ℝ)) + (F₁ G₁ F₂ G₂ : ℝ → ℂ) + (hF₁ : Continuous F₁) (hG₁ : Continuous G₁) + (hF₂ : Continuous F₂) (hG₂ : Continuous G₂) + (heF₁ : ∀ r ∈ Icc l₁ u, F₁ r=1+∫ t in l₁..r, G₁ t) + (heG₁ : ∀ r ∈ Icc l₁ u, G₁ r=∫ t in l₁..r, + -radialFreeCoefficient t*G₁ t-(b : ℂ)*F₁ t) + (heF₂ : ∀ r ∈ Icc l₂ u, F₂ r=1+∫ t in l₂..r, G₂ t) + (heG₂ : ∀ r ∈ Icc l₂ u, G₂ r=∫ t in l₂..r, + -radialFreeCoefficient t*G₂ t-(b : ℂ)*F₂ t) + (hB₁ : ∀ r ∈ Icc l₁ u, ‖F₁ r‖ ≤ 2 ∧ ‖G₁ r‖ ≤ 2) + (hB₂ : ∀ r ∈ Icc l₂ u, ‖F₂ r‖ ≤ 2 ∧ ‖G₂ r‖ ≤ 2) : + ‖F₁ u‖ < ‖F₂ u‖ := by + have hδ : 0 < l₂-l₁ := sub_pos.mpr h₁₂ + have hv : 0 ≤ u-l₂ := sub_nonneg.mpr h₂u + have hs : 0 < u-l₁ := by linarith + have hδsmall : l₂-l₁ ≤ (1/1000 : ℝ) := by linarith + have hx : 0 < (l₂-l₁)*(u-l₁) := mul_pos hδ hs + have hxsmall : (l₂-l₁)*(u-l₁) ≤ (1/1000 : ℝ) := by + have hh := mul_le_mul hδsmall hwidth hs.le (by norm_num : (0 : ℝ) ≤ 1/1000) + nlinarith + have he := radial_free_start_difference b l₁ l₂ u hb hl hu h₁₂.le h₂u hwidth + F₁ G₁ F₂ G₂ hF₁ hG₁ hF₂ hG₂ heF₁ heG₁ heF₂ heG₂ hB₁ u ⟨h₂u,le_rfl⟩ + have hd := radial_free_difference_direction b (l₂-l₁) (u-l₂) (F₁ u-F₂ u) hb hδ.le hv + (by convert he using 1; ring) + have hw₂ : u-l₂ ≤ (1/1000 : ℝ) := by linarith + have hf := (radial_free_short_bounds b l₂ u hb (hl.trans h₁₂.le) hu h₂u hw₂ + F₂ G₂ heF₂ heG₂ hB₂ u ⟨h₂u,le_rfl⟩).2 + have hnear : ‖F₂ u-1‖ ≤ (1/1000 : ℝ) := by + have hh := pow_le_pow_left₀ hv hw₂ 2 + nlinarith + have hdec := complex_norm_decrease_of_small_left_direction (F₂ u) (F₁ u-F₂ u) + ((l₂-l₁)*(u-l₁)) hx hxsmall hnear + (by convert hd.1 using 1; ring) (by convert hd.2 using 1; ring) + simpa only [add_sub_cancel] using hdec + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryProfile.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryProfile.lean new file mode 100644 index 0000000000000000000000000000000000000000..77f0aa55931a29f6c480f88b3778a63076d4862e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialBoundaryProfile.lean @@ -0,0 +1,33 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialBoundaryGap +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialBoundaryGeometry + +namespace OAI + +/-! Existence of the actual free boundary data with the manuscript's strict modulus gap. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem exists_radial_boundary_profile (b Z : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hZ : |Z-(ProfileCertificate.centerZ : ℝ)| ≤ (1/100000000 : ℝ)) : + ∃ F G : ℝ → ℂ, Continuous F ∧ Continuous G ∧ + (∀ r ∈ Icc (2*Real.sqrt Z) innerBoundaryRadius, + F r=1+∫ t in (2*Real.sqrt Z)..r, G t) ∧ + (∀ r ∈ Icc (2*Real.sqrt Z) innerBoundaryRadius, + G r=∫ t in (2*Real.sqrt Z)..r, -radialFreeCoefficient t*G t-(b : ℂ)*F t) ∧ + 1-(1/5 : ℝ)*(1/10000)^2 < ‖F innerBoundaryRadius‖ ∧ + ‖F innerBoundaryRadius‖ < 1-(3/20 : ℝ)*(1/10000)^2 := by + obtain ⟨hl,hu,hshell⟩ := radial_boundary_shell_geometry Z hZ + have hlu : 2*Real.sqrt Z ≤ innerBoundaryRadius := by linarith [hshell.1] + have hwidth : innerBoundaryRadius-2*Real.sqrt Z ≤ (1/1000 : ℝ) := by + linarith [hshell.2] + obtain ⟨F,G,hF,hG,heF,heG,hB⟩ := exists_radial_free_components b (2*Real.sqrt Z) + innerBoundaryRadius hb hl hu hlu hwidth + have ht := radial_free_taylor b (2*Real.sqrt Z) innerBoundaryRadius hb hl hu hlu hwidth + F G hF hG heF heG (fun r _ => hB r) innerBoundaryRadius ⟨hlu,le_rfl⟩ + exact ⟨F,G,hF,hG,heF,heG,radial_free_boundary_gap b _ _ hb hshell ht.2⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalExtension.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalExtension.lean new file mode 100644 index 0000000000000000000000000000000000000000..b1c4f971adc3315e612016b4b0bbfa88d704ef69 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalExtension.lean @@ -0,0 +1,37 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSequenceExtension +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingCanonicalSelection + +namespace OAI + +/-! Extend prescribed canonical columns along an increasing power sequence. -/ + +open Filter +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialCanonicalExtension (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) (ell : ℕ) (c : ℂ × ℂ) + (Y : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn (radialShootingNu (s i) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) (s i) + (Real.log innerBoundaryRadius) c (Y i)) : + let ze := radialIndexedExtension s z (fun _ => z₀) + ∃ Ye : ℕ → ℂ → ℝ → E₄, (∀ i, Ye (s i)=Y i) ∧ + ∀ᶠ n in atTop, IsCanonicalHolomorphicColumn (radialShootingNu n (ze n)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (ze n)) n + (Real.log innerBoundaryRadius) c (Ye n) := by + classical + let ze := radialIndexedExtension s z (fun _ => z₀) + obtain ⟨W,hW⟩ := radialShooting_exists_canonical_column ze ell c + let Ye := radialIndexedExtension s Y W + refine ⟨Ye,fun i => radialIndexedExtension_apply s hs Y W i,?_⟩ + filter_upwards [hW] with n hWn + by_cases he : ∃ i, s i=n + · obtain ⟨i,rfl⟩ := he + simpa only [Ye,ze,radialIndexedExtension_apply s hs] using hY i + · simpa only [Ye,ze,radialIndexedExtension,dite_eq_right he] using hWn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalJordanResidual.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalJordanResidual.lean new file mode 100644 index 0000000000000000000000000000000000000000..b030259920419512130cdf17998c39d9ac0bbc95 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalJordanResidual.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalModeTail +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalRemainderEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalRemainderEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralMode + +namespace OAI + +/-! The residual of an actual radial Jordan pair is homogeneous and retains finite tail energy. -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable def canonicalParameterResidualState (ν : ℂ) (Y Z : ℂ → ℝ → E₄) + (lam : ℂ) (c : ℂ × ℂ) (V : ℝ → E₄) (r : ℝ) : E₄ := + V r-canonicalParameterStateCombination ν Y Z lam c r + +theorem radialCanonicalJordan_residual (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta lam : ℂ) (hlam : 0≤lam.re) (N : ℕ) (hN : 7≤N) + (u : RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) N (radialMatchedProfile n z) eta lam) + (v w : ℝ → ℂ) (hv : ContDiff ℝ 2 v) (hw : ContDiff ℝ 2 w) + (he : IsHarmonicRadialSourcePair (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) (radialMatchedProfile n z) eta lam v w u.first u.second) + (hvt : IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi 0)) + (hwt : IntegrableOn (fun r => r^11*‖iteratedDeriv N w r‖^2) (Ioi 0)) + (hb : ∃ M : ℝ, 0≤M ∧ ∀ r, ‖(v r,w r)‖≤M) + (Y Z : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1,0) Y) + (hZ : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0,1) Z) + (R : ℝ) (hR : innerBoundaryRadius spectralPhysicalValueMap (W r)) (Ioi T) ∧ + (∃ M : ℝ, 0≤M ∧ ∀ r, T≤r → ‖spectralPhysicalValueMap (W r)‖≤M) ∧ + IntegrableOn (fun r => r^11*‖(iteratedDeriv N (fun s => spectralPhysicalValueMap (W s)) r).1‖^2) (Ioi T) ∧ + IntegrableOn (fun r => r^11*‖(iteratedDeriv N (fun s => spectralPhysicalValueMap (W s)) r).2‖^2) (Ioi T) := by + intro ν + have hhalf : -(1/32 : ℝ)≤lam.re := by linarith + obtain ⟨c,hc⟩ := homogeneous_matched_pair_canonical_tail_from n z hX hz eta N hN lam hhalf + u.first u.second u.first_c2 u.second_c2 u.equation u.bounded u.first_top u.second_top + Y Z hY hZ R hR + refine ⟨c,hc,?_⟩ + let W := canonicalParameterResidualState ν Y Z lam c (harmonicRadialState v w) + have hν : -2*(radialShootingA n : ℂ)+ + 2*Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ)=ν := + (radialShootingNu_physical n z).symm + have hνm : -2*(radialShootingA n : ℂ)- + 2*Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ)=star ν := by + rw [←hν] + simp only [star_add,star_mul,star_neg,star_ofNat,Complex.star_def,Complex.conj_ofReal,Complex.conj_I] + ring + have hWe (r : ℝ) (hr : R≤r) : HasDerivAt W + (spectralPhysicalCircularField (ν-2*lam) (star ν-2*lam) eta + (n+radialInnerShootingThreshold) (radialMatchedProfile n z r) r (W r)) r := by + have hri : innerBoundaryRadius spectralPhysicalValueMap (W r))= + fun r => (v r,w r)-canonicalParameterValueCombination ν Y Z lam c r := by + funext r + change spectralPhysicalValueMap + (harmonicRadialState v w r-canonicalParameterStateCombination ν Y Z lam c r)=_ + rw [map_sub,canonicalParameterStateCombination_value] + rfl + rw [←hvalue] at hWs hWb hWp hWm + exact ⟨hWe,T,hRT,hiT,hWs,hWb,hWp,hWm⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalModeLine.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalModeLine.lean new file mode 100644 index 0000000000000000000000000000000000000000..df1d29cac6f8d5045804e3deb92661768308a104 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalModeLine.lean @@ -0,0 +1,77 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalMultiplicity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralCanonicalBoundaryData +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhysicalKernelLine + +namespace OAI + +/-! # Eventual proportionality of actual radial modes near a symmetry value -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +attribute [local irreducible] SpectralPenaltyFamily.compactPencil + radialMatchedWeakOperator spectralHarmonicObservation + +theorem radialMatchedCanonical_modes_proportional (hRou : RectangleRouche) + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell N : ℕ) (hN : 7 ≤ N) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀))) + (hmass : F.limitWeight.density=radialMatchedFreeMassFunction z₀) + (hw : ∀ i, (F.weight i).density = radialMatchedMassFunction (s i) (z i)) + (hp : ∀ i, F.pressure i = fun r => + ‖radialMatchedProfile (s i) (z i) r‖ ^ (2 * (s i + radialInnerShootingThreshold))) + (ha : ∀ i, F.scale i = radialShootingA (s i)) + (lam₀ : ℂ) (hsym : (ell=0 ∧ (lam₀=0 ∨ lam₀=1)) ∨ (ell=1 ∧ lam₀=1/2)) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) + (x : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 lam₀)) : + ∀ᶠ i in atTop, ∀ u v : RadialSpectralMode (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) N + (radialMatchedProfile (s i) (z i)) ((ell : ℂ)*(ell+10)) (x i), + ∃ c : ℂ, ∀ r : ℝ, 0 < r → + v.first r = c * u.first r ∧ v.second r = c * u.second r := by + have hsimple := radialMatchedCanonicalPencil_eventually_simple hRou s hs z z₀ hz hz₁ hz₀ + hX hm ell Y Z hY hZ R hR hLR F hmass lam₀ hsym hdet x hx + have hhalf : -(1/32 : ℝ) < lam₀.re := by + rcases hsym with ⟨_, rfl | rfl⟩ | ⟨_, rfl⟩ <;> norm_num + have hval := (radialMatchedCanonicalValueDet_joint_tendsto s hs z z₀ hz ell Y Z hY hZ + R hR lam₀ hhalf.le).comp (tendsto_id.prodMk hx) + have hd := hval.eventually (eventually_ne_nhds hdet) + have hh := (Complex.continuous_re.continuousAt.tendsto.comp hx).eventually + (lt_mem_nhds hhalf) + filter_upwards [hsimple, hd, hh] with i hi hdi hhi + intro u v + have hbu := (radialSpectralMode_canonical_boundary_data (s i) ell N hN (z i) (hX i) (hm i) + R hR (x i) hhi.le u (Y i) (Z i) (hY i) (hZ i) hdi).2 + have hbv := (radialSpectralMode_canonical_boundary_data (s i) ell N hN (z i) (hX i) (hm i) + R hR (x i) hhi.le v (Y i) (Z i) (hY i) (hZ i) hdi).2 + apply radialSpectralMode_eq_of_kernel_line (s i) ell i N (z i) (hX i) (hm i) R _ + ((radialMatchedCore_radius_pos z₀).trans hLR) F (hw i) (hp i) (ha i) (x i) u v + (radialMatchedCanonicalRobin (s i) (z i) R (Y i) (Z i) (x i)) hbu hbv + simpa only [radialMatchedCanonicalFlux, radialMatchedFluxBoundary, + radialMatchedCanonicalRobin] using hi.1 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalModeTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalModeTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..e689c01d26d5ed3f372a2d27118fa3bb6f32aef7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalModeTail.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingTail + +namespace OAI + +/-! A fixed outgoing representation starting at any chosen matching radius. -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "V₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem homogeneous_matched_pair_canonical_tail_from + (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (eta : ℂ) (N : ℕ) (hN : 7 ≤ N) + (lam : ℂ) (hhalf : -(1 / 32 : ℝ) ≤ lam.re) + (f g : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) eta lam f g) + (hbounded : ∃ M : ℝ, 0 ≤ M ∧ ∀ r, ‖(f r, g r)‖ ≤ M) + (hL2f : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N f r‖ ^ 2) (Ioi 0)) + (hL2g : IntegrableOn (fun r => r ^ 11 * ‖iteratedDeriv N g r‖ ^ 2) (Ioi 0)) + (Yp Ym : ℂ → ℝ → V₄) + (hYp : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1, 0) Yp) + (hYm : IsCanonicalHolomorphicColumn (radialShootingNu (n + radialInnerShootingThreshold) z) + eta (radialShootingM z) (n + radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0, 1) Ym) + (R : ℝ) (hR : innerBoundaryRadius hR₀.trans_le ht.1) + · intro t ht + simpa only [hν, hνm] using harmonicRadialState_hasDerivAt (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n + radialInnerShootingThreshold) + (radialMatchedProfile n z) f g eta lam hf hg he t (hR₀.trans_le ht.1) + · exact fun t ht => homogeneous_matched_canonicalColumn_derivative n z eta lam (1, 0) + Yp hYp t (hi.trans_le ht.1) + · exact fun t ht => homogeneous_matched_canonicalColumn_derivative n z eta lam (0, 1) + Ym hYm t (hi.trans_le ht.1) + · exact hc + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalParameterCombination.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalParameterCombination.lean new file mode 100644 index 0000000000000000000000000000000000000000..2eda7dfdbbc70528eb6598193ee2a7dc9242d46d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalParameterCombination.lean @@ -0,0 +1,90 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalParameterL2 +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCanonicalParameterSmooth +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEnergyLinear + +namespace OAI + +/-! A fixed combination of the actual parameter columns is an admissible tail correction. -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable def canonicalParameterValueCombination (ν : ℂ) + (Y Z : ℂ → ℝ → E₄) (lam : ℂ) (c : ℂ × ℂ) (r : ℝ) : ℂ × ℂ := + c.1 • canonicalPhysicalParameterValues ν Y lam r+ + c.2 • canonicalPhysicalParameterValues ν Z lam r + +noncomputable def canonicalParameterStateCombination (ν : ℂ) + (Y Z : ℂ → ℝ → E₄) (lam : ℂ) (c : ℂ × ℂ) (r : ℝ) : E₄ := + c.1 • deriv (fun la => spectralPhysicalPair (ν-2*la) (star ν-2*la) (Y la) r) lam+ + c.2 • deriv (fun la => spectralPhysicalPair (ν-2*la) (star ν-2*la) (Z la) r) lam + +theorem canonicalParameterStateCombination_value (ν : ℂ) + (Y Z : ℂ → ℝ → E₄) (lam : ℂ) (c : ℂ × ℂ) (r : ℝ) : + spectralPhysicalValueMap (canonicalParameterStateCombination ν Y Z lam c r)= + canonicalParameterValueCombination ν Y Z lam c r := by + simp only [canonicalParameterStateCombination,map_add,map_smul] + rfl + +theorem radialCanonicalParameter_combination_tail (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta : ℂ) (Y Z : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1,0) Y) + (hZ : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0,1) Z) + (lam : ℂ) (hlam : 0≤lam.re) (N : ℕ) (hN : 7≤N) (c : ℂ × ℂ) (R : ℝ) : + let W := canonicalParameterValueCombination + (radialShootingNu (n+radialInnerShootingThreshold) z) Y Z lam c + ∃ T : ℝ, R r^11*‖iteratedDeriv N W r‖^2) (Ioi T) := by + intro W + let ν := radialShootingNu (n+radialInnerShootingThreshold) z + have hn : 1≤n+radialInnerShootingThreshold := by + have h := radialShootingInner_power_pos n (profileMatchingParameter z) + omega + have hhalf : -(1/32 : ℝ)≤lam.re := by linarith + obtain ⟨Sy,_,hYs⟩ := canonicalPhysicalParameterValues_smooth_tail ν eta _ _ hn _ hX + (radialShootingM_ne_zero z) (1,0) Y hY lam + obtain ⟨Sz,_,hZs⟩ := canonicalPhysicalParameterValues_smooth_tail ν eta _ _ hn _ hX + (radialShootingM_ne_zero z) (0,1) Z hZ lam + obtain ⟨Ey,_,hYi⟩ := radialCanonicalParameter_top_integrable n z hX eta (1,0) Y hY lam hhalf N hN + obtain ⟨Ez,_,hZi⟩ := radialCanonicalParameter_top_integrable n z hX eta (0,1) Z hZ lam hhalf N hN + obtain ⟨Cy,hCy,hYb⟩ := radialCanonicalParameter_eventually_bounded n z hX eta (1,0) Y hY lam hlam + obtain ⟨Cz,hCz,hZb⟩ := radialCanonicalParameter_eventually_bounded n z hX eta (0,1) Z hZ lam hlam + have hall : ∀ᶠ r in atTop, R (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialCanonicalParameter_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta lam : ℂ) (c : ℂ × ℂ) (Y : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) c Y) + (r : ℝ) (hr : innerBoundaryRadius spectralPhysicalPair (ν-2*la) (star ν-2*la) (Y la) + HasDerivAt (fun s => deriv (fun la => V la s) lam) + (spectralPhysicalCircularField (ν-2*lam) (star ν-2*lam) eta + (n+radialInnerShootingThreshold) (radialMatchedProfile n z r) r + (deriv (fun la => V la r) lam)+spectralPhysicalJordanSource (V lam r)) r := by + intro ν V + have hm := radialShootingInner_power_pos n (profileMatchingParameter z) + have hr₁ : 1 (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialCanonicalParameter_top_integrable (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta : ℂ) (c : ℂ × ℂ) (Y : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) c Y) + (lam : ℂ) (hhalf : -(1/32 : ℝ)≤lam.re) (N : ℕ) (hN : 7≤N) : + ∃ T : ℝ, 1 r^11*‖iteratedDeriv N + (canonicalPhysicalParameterValues (radialShootingNu (n+radialInnerShootingThreshold) z) Y lam) r‖^2) + (Ioi T) := by + have ha := radialShootingA_positive n z + have hν : (radialShootingNu (n+radialInnerShootingThreshold) z).re = + -2*radialShootingA n := by + rw [radialShootingNu_physical] + simp only [Complex.add_re,Complex.mul_re,Complex.neg_re,Complex.ofReal_re, + Complex.ofReal_im,Complex.re_ofNat,Complex.im_ofNat,Complex.I_re,Complex.I_im] + ring + have hNr : (7 : ℝ)≤N := by exact_mod_cast hN + have hexp : 11+2*((radialShootingNu (n+radialInnerShootingThreshold) z).re- + 2*lam.re+1/4-(N : ℝ)) < -1 := by rw [hν]; linarith + exact canonicalPhysicalParameterValues_top_integrable _ eta _ _ + (by have h := radialShootingInner_power_pos n (profileMatchingParameter z); omega) + _ hX (radialShootingM_ne_zero z) c Y hY lam (1/4) (by norm_num) N hexp + +theorem radialCanonicalParameter_eventually_bounded (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta : ℂ) (c : ℂ × ℂ) (Y : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) c Y) + (lam : ℂ) (hlam : 0≤lam.re) : + ∃ C : ℝ, 0≤C ∧ ∀ᶠ r in atTop, + ‖canonicalPhysicalParameterValues (radialShootingNu (n+radialInnerShootingThreshold) z) Y lam r‖≤C := by + have ha := radialShootingA_positive n z + have hν : (radialShootingNu (n+radialInnerShootingThreshold) z).re = + -2*radialShootingA n := by + rw [radialShootingNu_physical] + simp only [Complex.add_re,Complex.mul_re,Complex.neg_re,Complex.ofReal_re, + Complex.ofReal_im,Complex.re_ofNat,Complex.im_ofNat,Complex.I_re,Complex.I_im] + ring + obtain ⟨C,hC,hbound⟩ := canonicalPhysicalParameterValues_derivative_bound _ eta _ _ + (by have h := radialShootingInner_power_pos n (profileMatchingParameter z); omega) + _ hX (radialShootingM_ne_zero z) c Y hY lam (radialShootingA n) ha 0 + refine ⟨C,hC,?_⟩ + filter_upwards [hbound,eventually_ge_atTop (1 : ℝ)] with r hr hr₁ + simp only [iteratedDeriv_zero,Nat.cast_zero,sub_zero,hν] at hr + exact hr.trans (mul_le_of_le_one_right hC + (Real.rpow_le_one_of_one_le_of_nonpos hr₁ (by linarith))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalRemainderEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalRemainderEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..f5d4343355937de39a4eefd5ce6ad503de82eb8c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalRemainderEnergy.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalParameterCombination +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEnergyPair +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingRadialRows + +namespace OAI + +/-! Subtracting the parameter correction preserves the generalized mode's tail energy. -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialCanonicalParameter_remainder_energy (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta : ℂ) (Y Z : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1,0) Y) + (hZ : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0,1) Z) + (lam : ℂ) (hlam : 0≤lam.re) (N : ℕ) (hN : 7≤N) (c : ℂ × ℂ) (R : ℝ) + (v w : ℝ → ℂ) (hv : ContDiffOn ℝ ∞ v (Ioi 0)) (hw : ContDiffOn ℝ ∞ w (Ioi 0)) + (hvt : IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi 0)) + (hwt : IntegrableOn (fun r => r^11*‖iteratedDeriv N w r‖^2) (Ioi 0)) + (hb : ∃ M : ℝ, 0≤M ∧ ∀ r, ‖(v r,w r)‖≤M) : + let H := fun r => (v r,w r)-canonicalParameterValueCombination + (radialShootingNu (n+radialInnerShootingThreshold) z) Y Z lam c r + ∃ T : ℝ, R r^11*‖(iteratedDeriv N H r).1‖^2) (Ioi T) ∧ + IntegrableOn (fun r => r^11*‖(iteratedDeriv N H r).2‖^2) (Ioi T) := by + intro H + let U := fun r => (v r,w r) + have hUs : ContDiffOn ℝ ∞ U (Ioi 0) := hv.prodMk hw + have hUd := (homogeneousPair_iteratedDeriv_smooth_tail U 0 hUs N).continuousOn + have hUp : IntegrableOn (fun r => r^11*‖(iteratedDeriv N U r).1‖^2) (Ioi 0) := by + apply hvt.congr_fun _ measurableSet_Ioi + intro r hr + dsimp only [U] + rw [homogeneousPair_iteratedDeriv v w hv hw N r hr] + have hUm : IntegrableOn (fun r => r^11*‖(iteratedDeriv N U r).2‖^2) (Ioi 0) := by + apply hwt.congr_fun _ measurableSet_Ioi + intro r hr + dsimp only [U] + rw [homogeneousPair_iteratedDeriv v w hv hw N r hr] + have hUi := spectralWeighted_pair_integrable (iteratedDeriv N U) 0 le_rfl hUd hUp hUm + obtain ⟨T,hRT,hiT,hDs,⟨MD,hMD,hDb⟩,hDi⟩ := + radialCanonicalParameter_combination_tail n z hX eta Y Z hY hZ lam hlam N hN c R + have hi₀ : 0 < innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + have hT₀ : 0≤T := hi₀.le.trans hiT.le + have hUsT := hUs.mono (Ioi_subset_Ioi hT₀) + have hHs : ContDiffOn ℝ ∞ H (Ioi T) := hUsT.sub hDs + have hHi := spectralWeighted_top_sub_integrable U _ T hT₀ N hUsT hDs + (hUi.mono_set (Ioi_subset_Ioi hT₀)) hDi + have hHd := (homogeneousPair_iteratedDeriv_smooth_tail H T hHs N).continuousOn + refine ⟨T,hRT,hiT,hHs,?_,?_,?_⟩ + · obtain ⟨M,hM,hUb⟩ := hb + refine ⟨M+MD,add_nonneg hM hMD,?_⟩ + intro r hr + exact (norm_sub_le _ _).trans (add_le_add (hUb r) (hDb r hr)) + · exact spectralWeighted_scalar_of_pair (iteratedDeriv N H) _ T hT₀ hHd.fst + (fun r _ => norm_fst_le _) hHi + · exact spectralWeighted_scalar_of_pair (iteratedDeriv N H) _ T hT₀ hHd.snd + (fun r _ => norm_snd_le _) hHi + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalRemainderEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalRemainderEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..e5be501d45402a7ddb3a72a8a6f92d51036350e0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCanonicalRemainderEquation.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalParameterCombination +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalParameterEquation + +namespace OAI + +/-! Subtracting the canonical parameter correction removes the physical Jordan source. -/ + +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialCanonicalParameter_combination_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (eta lam : ℂ) (Y Z : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1,0) Y) + (hZ : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0,1) Z) + (c : ℂ × ℂ) (r : ℝ) (hr : innerBoundaryRadius V s-canonicalParameterStateCombination ν Y Z lam c s) + (spectralPhysicalCircularField (ν-2*lam) (star ν-2*lam) eta + (n+radialInnerShootingThreshold) (radialMatchedProfile n z r) r + (V r-canonicalParameterStateCombination ν Y Z lam c r)) r := by + intro ν + have hD := radialCanonicalParameter_combination_hasDerivAt n z hX eta lam Y Z hY hZ c r hr + dsimp only at hD + rw [← hU] at hD + exact spectralPhysicalSource_subtraction (ν-2*lam) (star ν-2*lam) eta + (n+radialInnerShootingThreshold) (radialMatchedProfile n z r) V + (canonicalParameterStateCombination ν Y Z lam c) (spectralPhysicalJordanSource U) r hV hD + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianCalculus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianCalculus.lean new file mode 100644 index 0000000000000000000000000000000000000000..360c6a4820fdcc96f144cc377696c57ce3fcf09c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianCalculus.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianSmooth +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffLaplacian +import Mathlib.Analysis.Calculus.ContDiff.Deriv + +namespace OAI + +/-! Cartesian differentiation of a radial function through its squared radius. -/ + +open scoped ContDiff Laplacian +open Set Filter Topology +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radial_second_directional_eq (f : E → ℂ) (x v : E) + (hf : ContDiffAt ℝ 2 f x) : + iteratedFDeriv ℝ 2 f x ![v,v] = + fderiv ℝ (fun y => fderiv ℝ f y v) x v := by + have hd : DifferentiableAt ℝ (fderiv ℝ f) x := + (hf.fderiv_right (m := 1) (by norm_num)).differentiableAt one_ne_zero + rw [iteratedFDeriv_two_apply, fderiv_clm_apply hd (differentiableAt_const v)] + simp + +theorem radialSquareLift_fderiv (q : ℝ → ℂ) (x v : E) + (hq : DifferentiableAt ℝ q (‖x‖^2)) : + fderiv ℝ (fun y : E => q (‖y‖^2)) x v = + ((2 * inner ℝ x v : ℝ) : ℂ) * deriv q (‖x‖^2) := by + have h := hq.hasFDerivAt.comp x (hasStrictFDerivAt_norm_sq x).hasFDerivAt + simp only [Function.comp_def] at h + rw [h.fderiv] + simp [ContinuousLinearMap.comp_apply,fderiv_eq_smul_deriv] + ring + +theorem radialSquareLift_second (q : ℝ → ℂ) (x v : E) + (hq : ContDiffAt ℝ 2 q (‖x‖^2)) : + iteratedFDeriv ℝ 2 (fun y : E => q (‖y‖^2)) x ![v,v] = + ((2 * inner ℝ x v : ℝ) : ℂ)^2 * deriv (deriv q) (‖x‖^2) + + ((2 * ‖v‖^2 : ℝ) : ℂ) * deriv q (‖x‖^2) := by + have hq' : DifferentiableAt ℝ (deriv q) (‖x‖^2) := + (hq.derivWithin (m := 1) (by norm_num)).differentiableAt one_ne_zero + have he : (fun y : E => fderiv ℝ (fun z : E => q (‖z‖^2)) y v) =ᶠ[nhds x] + (fun y => ((2 * inner ℝ y v : ℝ) : ℂ) * deriv q (‖y‖^2)) := by + have hn : ContinuousAt (fun y : E => ‖y‖^2) x := (contDiff_norm_sq ℝ (n := 2)).continuous.continuousAt + filter_upwards [hn (hq.eventually (by norm_num))] with y hy + change ContDiffAt ℝ 2 q (‖y‖^2) at hy + exact radialSquareLift_fderiv q y v (hy.differentiableAt (by norm_num)) + have hi := ((hasFDerivAt_id x).inner ℝ (hasFDerivAt_const v x)).const_mul 2 + have hc := Complex.ofRealCLM.hasFDerivAt.comp x hi + have hd := hq'.hasFDerivAt.comp x (hasStrictFDerivAt_norm_sq x).hasFDerivAt + have hf : ContDiffAt ℝ 2 (fun y : E => q (‖y‖^2)) x := by + simpa only [Function.comp_def] using hq.comp x (contDiff_norm_sq ℝ).contDiffAt + have hm := hc.mul hd + simp only [Function.comp_def,id_eq,Complex.ofRealCLM_apply] at hm + change HasFDerivAt (fun y : E => ((2*inner ℝ y v : ℝ) : ℂ)*deriv q (‖y‖^2)) _ x at hm + rw [radial_second_directional_eq _ x v hf,he.fderiv_eq,hm.fderiv] + simp [fderivInnerCLM_apply, fderiv_eq_smul_deriv, Complex.real_smul, + inner_self_eq_norm_sq_to_K] + ring + +theorem radialSquareLift_laplacian (q : ℝ → ℂ) (x : E) + (hq : ContDiffAt ℝ 2 q (‖x‖^2)) : + Δ (fun y : E => q (‖y‖^2)) x = + ((4 * ‖x‖^2 : ℝ) : ℂ) * deriv (deriv q) (‖x‖^2) + + 24 * deriv q (‖x‖^2) := by + rw [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ)] + simp_rw [radialSquareLift_second q x _ hq] + have hb (j : Fin 12) : ‖EuclideanSpace.basisFun (Fin 12) ℝ j‖ = 1 := + (EuclideanSpace.basisFun (Fin 12) ℝ).orthonormal.norm_eq_one j + simp_rw [hb] + rw [Finset.sum_add_distrib, ← Finset.sum_mul] + have hs : (∑ j : Fin 12, ((2 * inner ℝ x (EuclideanSpace.basisFun (Fin 12) ℝ j) : ℝ) : ℂ)^2) = + ((4 * ‖x‖^2 : ℝ) : ℂ) := by + simp_rw [Complex.ofReal_mul, mul_pow] + rw [← Finset.mul_sum] + simp_rw [← Complex.ofReal_pow] + rw [← Complex.ofReal_sum, + (EuclideanSpace.basisFun (Fin 12) ℝ).sum_sq_inner_left] + norm_num + rw [hs] + simp + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianDeformation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianDeformation.lean new file mode 100644 index 0000000000000000000000000000000000000000..44e5555941ff6be8628270583d21f603e1af36fe --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianDeformation.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformDeformation +import Mathlib.Analysis.InnerProductSpace.Calculus +import Mathlib.Analysis.Asymptotics.Lemmas + +namespace OAI + +/-! Positive deformation of the actual Cartesian radial velocity field. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialScalarField_hasFDerivAt_zero (q : ℝ → ℝ) (hq : ContinuousAt q 0) : + HasFDerivAt (fun x : E => q ‖x‖ • x) (q 0 • ContinuousLinearMap.id ℝ E) 0 := by + apply HasFDerivAt.of_isLittleO + have hc : ContinuousAt (fun x : E => q ‖x‖) 0 := by + have hn : ContinuousAt (fun x : E => ‖x‖) 0 := continuous_norm.continuousAt + simpa only [Function.comp_def] using hq.comp_of_eq hn (by simp) + have hh := (hc.isLittleO (F := ℝ)).smul_isBigO + (Asymptotics.isBigO_refl (fun x : E => x) (nhds 0)) + simpa [Pi.smul_apply,sub_smul] using hh + +theorem radial_norm_fderiv_apply (x v : E) (hx : x ≠ 0) : + fderiv ℝ (fun y : E => ‖y‖) x v=inner ℝ x v/‖x‖ := by + have hn := (contDiffAt_norm ℝ hx (n := 1)).differentiableAt one_ne_zero + have hh := hn.hasFDerivAt.mul hn.hasFDerivAt + have hs : HasFDerivAt (fun y : E => ‖y‖*‖y‖) (2 • innerSL ℝ x) x := by + simpa only [pow_two] using (hasStrictFDerivAt_norm_sq x).hasFDerivAt + have he := congrArg (fun L : E →L[ℝ] ℝ => L v) (hh.unique hs) + simp only [add_apply,smul_apply, + smul_eq_mul,innerSL_apply_apply,two_smul] at he + apply (eq_div_iff (norm_ne_zero_iff.mpr hx)).mpr + nlinarith + +theorem radialScalarField_fderiv (q : ℝ → ℝ) (x v : E) (hx : x ≠ 0) + (hq : DifferentiableAt ℝ q ‖x‖) : + fderiv ℝ (fun y : E => q ‖y‖ • y) x v= + q ‖x‖ • v+(deriv q ‖x‖/‖x‖*inner ℝ x v) • x := by + have hn := (contDiffAt_norm ℝ hx (n := 1)).differentiableAt one_ne_zero + have hd := (hq.hasFDerivAt.comp x hn.hasFDerivAt).smul (hasFDerivAt_id x) + simp only [Function.comp_apply,id_eq] at hd + change HasFDerivAt (fun y : E => q ‖y‖ • y) _ x at hd + rw [hd.fderiv] + simp only [add_apply,smul_apply, + ContinuousLinearMap.id_apply,ContinuousLinearMap.smulRight_apply, + ContinuousLinearMap.comp_apply,fderiv_eq_smul_deriv,smul_eq_mul] + rw [radial_norm_fderiv_apply x v hx] + congr 1 + congr 1 + ring + +theorem radialScalarField_positive (q : ℝ → ℝ) (x v : E) (hx : x ≠ 0) + (hq : DifferentiableAt ℝ q ‖x‖) (c : ℝ) + (ht : c ≤ q ‖x‖) (hr : c ≤ q ‖x‖+‖x‖*deriv q ‖x‖) : + c*‖v‖^2 ≤ inner ℝ (fderiv ℝ (fun y : E => q ‖y‖ • y) x v) v := by + have hxp : 0 < ‖x‖ := norm_pos_iff.mpr hx + have hc := abs_real_inner_le_norm x v + have hsq : (inner ℝ x v)^2 ≤ ‖x‖^2*‖v‖^2 := by + have hh := (sq_le_sq₀ (abs_nonneg (inner ℝ x v)) + (mul_nonneg (norm_nonneg x) (norm_nonneg v))).mpr hc + simpa only [sq_abs,mul_pow] using hh + let t := (inner ℝ x v)^2/‖x‖^2 + have ht0 : 0 ≤ t := div_nonneg (sq_nonneg _) (sq_nonneg _) + have htv : t ≤ ‖v‖^2 := (div_le_iff₀ (sq_pos_of_pos hxp)).mpr (by nlinarith [hsq]) + rw [radialScalarField_fderiv q x v hx hq,inner_add_left,real_inner_smul_left, + real_inner_smul_left,real_inner_self_eq_norm_sq] + have hid : q ‖x‖*‖v‖^2+(deriv q ‖x‖/‖x‖*inner ℝ x v)*inner ℝ x v= + q ‖x‖*(‖v‖^2-t)+(q ‖x‖+‖x‖*deriv q ‖x‖)*t := by + dsimp [t] + field_simp [hxp.ne'] + ring + rw [hid] + have h1 := mul_le_mul_of_nonneg_right ht (sub_nonneg.mpr htv) + have h2 := mul_le_mul_of_nonneg_right hr ht0 + nlinarith + +noncomputable def radialMatchedVectorField (n : ℕ) (z : ProfileMatchingBall) (x : E) : E := + radialVelocityRatio (6-2*radialShootingA n) (fun r => ‖radialMatchedProfile n z r‖) ‖x‖ • x + +theorem radialMatchedVectorField_uniform_positive : + ∃ c : ℝ, 0 < c ∧ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ x v : E, + c*‖v‖^2 ≤ inner ℝ (fderiv ℝ (radialMatchedVectorField n z) x v) v := by + obtain ⟨c,hc,he⟩ := radialMatched_uniform_deformation + refine ⟨c,hc,?_⟩ + filter_upwards [he] with n hn z hX hz x v + let A := fun r => ‖radialMatchedProfile n z r‖ + let q := radialVelocityRatio (6-2*radialShootingA n) A + have hA : Continuous A := (radialMatchedProfile_differentiable n z hX hz).continuous.norm + by_cases hx : x=0 + · subst x + have hAn : A 0 ≠ 0 := norm_ne_zero_iff.mpr + (radialMatchedProfile_ne_zero n z hX 0 le_rfl) + have hq : ContinuousAt q 0 := + (continuous_const.mul (continuous_radialAverage _ (hA.pow 2))).continuousAt.div + (hA.pow 2).continuousAt (pow_ne_zero 2 hAn) + change c*‖v‖^2 ≤ inner ℝ (fderiv ℝ (fun y : E => q ‖y‖ • y) 0 v) v + rw [(radialScalarField_hasFDerivAt_zero q hq).fderiv] + simp only [smul_apply,ContinuousLinearMap.id_apply, + real_inner_smul_left,real_inner_self_eq_norm_sq] + exact mul_le_mul_of_nonneg_right (hn z hX hz 0 le_rfl).2 (sq_nonneg _) + · have hrp : 0 < ‖x‖ := norm_pos_iff.mpr hx + have hAr : A ‖x‖ ≠ 0 := norm_ne_zero_iff.mpr + (radialMatchedProfile_ne_zero n z hX ‖x‖ (norm_nonneg _)) + have hdA := (((radialMatchedAmplitude_contDiffOn n z hX hz) ‖x‖ hrp).contDiffAt + (Ioi_mem_nhds hrp)).differentiableAt (by simp) + have hdq : DifferentiableAt ℝ q ‖x‖ := + ((differentiableAt_const (6-2*radialShootingA n)).mul (hasDerivAt_radialAverage _ (hA.pow 2) ‖x‖ hrp.ne').differentiableAt).div + (hdA.pow 2) (pow_ne_zero 2 hAr) + have hw := (hasDerivAt_id ‖x‖).mul hdq.hasDerivAt + simp only [one_mul,id_eq] at hw + change HasDerivAt (radialMatchedVelocity n z) (q ‖x‖+‖x‖*deriv q ‖x‖) ‖x‖ at hw + apply radialScalarField_positive q x v hx hdq c (hn z hX hz ‖x‖ (norm_nonneg _)).2 + rw [← hw.deriv] + exact (hn z hX hz ‖x‖ (norm_nonneg _)).1 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..f0458df4048a3886959ff3e788b76cfbfc8de9bb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianEquation.lean @@ -0,0 +1,147 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianCalculus +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffTransport +import Mathlib.Analysis.Calculus.IteratedDeriv.FaaDiBruno + +namespace OAI + +/-! The stationary radial equation gives the genuine Cartesian similarity equation. -/ + +open scoped ContDiff Laplacian +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialCartesian_derivatives (f : ℝ → ℂ) (x : E) (hx : x ≠ 0) + (hf : ContDiffAt ℝ 2 f ‖x‖) : + Δ (fun y : E => f ‖y‖) x = deriv (deriv f) ‖x‖ + + ((11 / ‖x‖ : ℝ) : ℂ) * deriv f ‖x‖ ∧ + fderiv ℝ (fun y : E => f ‖y‖) x ((1/2 : ℝ) • x) = + ((‖x‖/2 : ℝ) : ℂ) * deriv f ‖x‖ := by + let r := ‖x‖ + have hr : 0 < r := norm_pos_iff.mpr hx + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr.ne' + let q : ℝ → ℂ := fun s => f (Real.sqrt s) + have hq : ContDiffAt ℝ 2 q (r^2) := by + have hs : ContDiffAt ℝ 2 Real.sqrt (r^2) := + contDiffAt_id.sqrt (ne_of_gt (sq_pos_of_pos hr)) + have hf' : ContDiffAt ℝ 2 f (Real.sqrt (r^2)) := by + simpa only [Real.sqrt_sq hr.le] using hf + exact hf'.comp (r^2) hs + + have hF : (fun y : E => q (‖y‖^2)) = fun y => f ‖y‖ := by + funext y + simp only [q,Real.sqrt_sq (norm_nonneg y)] + have he : (fun s : ℝ => q (s^2)) =ᶠ[nhds r] f := by + filter_upwards [Ioi_mem_nhds hr] with s hs + simp only [q,Real.sqrt_sq hs.le] + have hd : deriv f r = ((2*r : ℝ) : ℂ) * deriv q (r^2) := by + rw [← he.deriv_eq] + have h := hq.differentiableAt (by norm_num) |>.hasDerivAt + simpa [Function.comp_def,Complex.real_smul] using (h.scomp (h := fun s : ℝ => s^2) r ((hasDerivAt_id r).pow 2)).deriv + have hdd : deriv (deriv f) r = + ((4*r^2 : ℝ) : ℂ) * deriv (deriv q) (r^2) + 2 * deriv q (r^2) := by + have h := iteratedDeriv_scomp_two (g := q) (f := fun s : ℝ => s^2) (x := r) hq (contDiffAt_id.pow 2) + have hfirst : deriv (fun s : ℝ => s^2) = fun s => 2*s := by + funext s + simp + have hsecond : deriv (deriv (fun s : ℝ => s^2)) r = 2 := by + rw [hfirst] + simpa only [mul_one,id_eq] using ((hasDerivAt_id r).const_mul 2).deriv + simp only [iteratedDeriv_succ,iteratedDeriv_zero,Function.comp_def] at h + rw [hsecond,hfirst] at h + rw [← he.deriv.deriv_eq] + rw [h] + simp only [Complex.real_smul] + push_cast + ring + have hl := radialSquareLift_laplacian q x hq + have ht := radialSquareLift_fderiv q x ((1/2 : ℝ) • x) + (hq.differentiableAt (by norm_num)) + rw [hF] at hl ht + have hir : inner ℝ x ((1/2 : ℝ) • x) = r^2/2 := by + simp [inner_smul_right,r] + ring + rw [hir] at ht + constructor + · rw [hl,hd,hdd] + change _ = _ + ((11/r : ℝ) : ℂ)*_ + push_cast + field_simp [hrC] + ring + · rw [ht,hd] + push_cast + ring + +theorem stationarySimilarityDefect_continuous (a b : ℝ) (m : ℕ) (Q : E → ℂ) + (hQ : ContDiff ℝ ∞ Q) : Continuous (stationarySimilarityDefect a b m Q) := by + have hd : Continuous (fderiv ℝ Q) := + (hQ.fderiv_right (m := 0) (by simp)).continuous + have hdd : Continuous (iteratedFDeriv ℝ 2 Q) := + (hQ.of_le (by simp : (2 : ℕ∞ω) ≤ ∞)).continuous_iteratedFDeriv' + have hl : Continuous (Δ Q) := by + simp only [InnerProductSpace.laplacian_eq_iteratedFDeriv_orthonormalBasis _ + (EuclideanSpace.basisFun (Fin 12) ℝ)] + apply continuous_finsetSum + intro j _ + exact (ContinuousMultilinearMap.apply ℝ (fun _ : Fin 2 => E) ℂ + ![EuclideanSpace.basisFun (Fin 12) ℝ j, EuclideanSpace.basisFun (Fin 12) ℝ j]).continuous.comp hdd + have ht : Continuous (fun y : E => fderiv ℝ Q y ((1/2 : ℝ) • y)) := + hd.clm_apply (continuous_id.const_smul (1/2 : ℝ)) + have haQ : Continuous (fun y : E => (a : ℂ)*Q y) := continuous_const.mul hQ.continuous + have hbQ : Continuous (fun y : E => (b : ℂ)*Q y) := continuous_const.mul hQ.continuous + have hI : Continuous (fun y : E => Complex.I*(fderiv ℝ Q y ((1/2 : ℝ) • y)+(a : ℂ)*Q y)) := + continuous_const.mul (ht.add haQ) + have hN : Continuous (fun y : E => oddPowerNonlinearity m (Q y)) := + (contDiff_oddPowerNonlinearity m).continuous.comp hQ.continuous + exact ((hl.add hI).add hbQ).sub hN + +theorem radialMatchedCartesian_stationary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : + ∀ y : E, stationarySimilarityDefect (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedCartesian n z) y=0 := by + let D := stationarySimilarityDefect (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedCartesian n z) + have hc : Continuous D := stationarySimilarityDefect_continuous _ _ _ _ + (radialMatchedCartesian_contDiff n z hX hz) + have he : ∀ y : E, y ≠ 0 → D y=0 := by + intro y hy + have hr : 0 < ‖y‖ := norm_pos_iff.mpr hy + have hf : ContDiffAt ℝ 2 (radialMatchedProfile n z) ‖y‖ := + ((radialMatchedProfile_contDiffOn n z hX hz) ‖y‖ hr).contDiffAt + (Ioi_mem_nhds hr) |>.of_le (by simp) + obtain ⟨hl,ht⟩ := radialCartesian_derivatives (radialMatchedProfile n z) y hy hf + change Δ (radialMatchedCartesian n z) y = _ at hl + change fderiv ℝ (radialMatchedCartesian n z) y ((1/2 : ℝ) • y) = _ at ht + have h := radialMatchedProfile_stationary n z hX hz ‖y‖ hr + dsimp only [D,stationarySimilarityDefect,radialMatchedCartesian] + rw [hl,ht] + exact sub_eq_zero.mpr h + have hD : D = fun _ => 0 := Continuous.ext_on (dense_compl_singleton (0 : E)) + hc continuous_const (fun y hy => he y (by simpa using hy)) + intro y + exact congrFun hD y + +theorem exists_smooth_stationary_radialMatchedProfile : + ∀ᶠ n in atTop, ∃ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) ∧ + radialMatchingMap n z=0 ∧ + ContDiff ℝ ∞ (radialMatchedCartesian n z) ∧ + (∀ y, stationarySimilarityDefect (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedCartesian n z) y=0) ∧ + (∀ y : E, radialMatchedCartesian n z y ≠ 0) ∧ + 0 < (radialMatchedCartesian n z 0).re ∧ (radialMatchedCartesian n z 0).im=0 := by + filter_upwards [exists_smooth_radialMatchedProfile] with n hn + obtain ⟨z,hX,hz,hQ,hne,hre,him⟩ := hn + exact ⟨z,hX,hz,hQ,radialMatchedCartesian_stationary n z hX hz,hne,hre,him⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianFirstRegularity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianFirstRegularity.lean new file mode 100644 index 0000000000000000000000000000000000000000..1d025170fef94f748c5e28810c7954824ab5479e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianFirstRegularity.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingSquare +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSmooth +import Mathlib.Analysis.InnerProductSpace.Calculus + +namespace OAI + +/-! First Cartesian regularity of the actual matched profile, including the origin. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def radialMatchedCartesian (n : ℕ) (z : ProfileMatchingBall) (y : E) : ℂ := + radialMatchedProfile n z ‖y‖ + +theorem radialMatchedCartesian_contDiff_one (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : ContDiff ℝ 1 (radialMatchedCartesian n z) := by + rw [contDiff_iff_contDiffAt] + intro y + by_cases hy : y=0 + · subst y + have hR : 0 < innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + have hq := radialShootingSquare_contDiffOn_one n (profileMatchingParameter z) + have h0 : (0 : ℝ) ∈ Icc 0 (innerBoundaryRadius^2) := ⟨le_rfl,sq_nonneg _⟩ + have hn : ContDiffWithinAt ℝ 1 (fun y : E => ‖y‖^2) + (Metric.ball 0 innerBoundaryRadius) 0 := (contDiff_norm_sq ℝ).contDiffWithinAt + have hm : MapsTo (fun y : E => ‖y‖^2) (Metric.ball 0 innerBoundaryRadius) + (Icc 0 (innerBoundaryRadius^2)) := by + intro y hy + have hyl : ‖y‖ < innerBoundaryRadius := by simpa only [Metric.mem_ball,dist_zero_right] using hy + exact ⟨sq_nonneg _,by nlinarith [norm_nonneg y]⟩ + have hqc : ContDiffWithinAt ℝ 1 + (fun y : E => radialSquareProfile (radialShootingInnerComplex n (profileMatchingParameter z)) + (‖y‖^2)) (Metric.ball 0 innerBoundaryRadius) 0 := by + have hq0 : ContDiffWithinAt ℝ 1 + (radialSquareProfile (radialShootingInnerComplex n (profileMatchingParameter z))) + (Icc 0 (innerBoundaryRadius^2)) (‖(0 : E)‖^2) := by simpa using hq 0 h0 + simpa only [Function.comp_def] using hq0.comp 0 hn hm + have he : (fun y : E => radialSquareProfile (radialShootingInnerComplex n (profileMatchingParameter z)) + (‖y‖^2)) =ᶠ[nhds (0 : E)] radialMatchedCartesian n z := by + filter_upwards [Metric.ball_mem_nhds (0 : E) hR] with y hy + have hyl : ‖y‖ ≤ innerBoundaryRadius := + (by simpa only [Metric.mem_ball,dist_zero_right] using hy : ‖y‖ < innerBoundaryRadius).le + simp only [radialSquareProfile,Real.sqrt_sq (norm_nonneg y),radialMatchedCartesian, + radialMatchedProfile,ite_eq_left hyl] + exact (hqc.contDiffAt (Metric.ball_mem_nhds (0 : E) hR)).congr_of_eventuallyEq he.symm + · have hnorm : 0 < ‖y‖ := norm_pos_iff.mpr hy + have hc := ((radialMatchedProfile_contDiffOn n z hX hz) ‖y‖ hnorm).contDiffAt + (Ioi_mem_nhds hnorm) + exact (hc.of_le (by norm_num)).comp y (contDiffAt_norm ℝ hy) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianSmooth.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianSmooth.lean new file mode 100644 index 0000000000000000000000000000000000000000..8843bc745dcf52a50052e70ab69076a4f0fa2502 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianSmooth.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSquareSmooth +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianFirstRegularity + +namespace OAI + +/-! Full smoothness of the actual matched Cartesian profile, including its origin. -/ + +open scoped ContDiff +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialShootingSquare_contDiffOn (n : ℕ) (w : RadialShootingDisk) : + ContDiffOn ℝ ∞ (radialSquareProfile (radialShootingInnerComplex n w)) + (Icc 0 (innerBoundaryRadius^2)) := + radialSquareProfile_contDiffOn _ _ _ innerBoundaryRadius + (by linarith [innerBoundaryRadius_bounds.1]) _ (radialShootingInner_differentiable n w) + (fun r hr => radialShootingInner_derivative_average n w r hr.1 hr.2) + +theorem radialMatchedCartesian_contDiff (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : ContDiff ℝ ∞ (radialMatchedCartesian n z) := by + rw [contDiff_iff_contDiffAt] + intro y + by_cases hy : y=0 + · subst y + have hR : 0 < innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + have hq := radialShootingSquare_contDiffOn n (profileMatchingParameter z) + have h0 : (0 : ℝ) ∈ Icc 0 (innerBoundaryRadius^2) := ⟨le_rfl,sq_nonneg _⟩ + have hn : ContDiffWithinAt ℝ ∞ (fun y : E => ‖y‖^2) + (Metric.ball 0 innerBoundaryRadius) 0 := (contDiff_norm_sq ℝ).contDiffWithinAt + have hm : MapsTo (fun y : E => ‖y‖^2) (Metric.ball 0 innerBoundaryRadius) + (Icc 0 (innerBoundaryRadius^2)) := by + intro y hy + have hyl : ‖y‖ < innerBoundaryRadius := by simpa only [Metric.mem_ball,dist_zero_right] using hy + exact ⟨sq_nonneg _,by nlinarith [norm_nonneg y]⟩ + have hq0 : ContDiffWithinAt ℝ ∞ + (radialSquareProfile (radialShootingInnerComplex n (profileMatchingParameter z))) + (Icc 0 (innerBoundaryRadius^2)) (‖(0 : E)‖^2) := by simpa using hq 0 h0 + have hqc := hq0.comp 0 hn hm + have he : (fun y : E => radialSquareProfile (radialShootingInnerComplex n (profileMatchingParameter z)) + (‖y‖^2)) =ᶠ[nhds (0 : E)] radialMatchedCartesian n z := by + filter_upwards [Metric.ball_mem_nhds (0 : E) hR] with y hy + have hyl : ‖y‖ ≤ innerBoundaryRadius := + (by simpa only [Metric.mem_ball,dist_zero_right] using hy : ‖y‖ < innerBoundaryRadius).le + simp only [radialSquareProfile,Real.sqrt_sq (norm_nonneg y),radialMatchedCartesian, + radialMatchedProfile,ite_eq_left hyl] + exact (hqc.contDiffAt (Metric.ball_mem_nhds (0 : E) hR)).congr_of_eventuallyEq he.symm + · have hnorm : 0 < ‖y‖ := norm_pos_iff.mpr hy + have hc := ((radialMatchedProfile_contDiffOn n z hX hz) ‖y‖ hnorm).contDiffAt + (Ioi_mem_nhds hnorm) + exact hc.comp y (contDiffAt_norm ℝ hy) + +theorem exists_smooth_radialMatchedProfile : + ∀ᶠ n in atTop, ∃ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) ∧ + radialMatchingMap n z=0 ∧ + ContDiff ℝ ∞ (radialMatchedCartesian n z) ∧ + (∀ y : E, radialMatchedCartesian n z y ≠ 0) ∧ + 0 < (radialMatchedCartesian n z 0).re ∧ (radialMatchedCartesian n z 0).im=0 := by + have hs : Tendsto (fun n : ℕ => n+radialInnerShootingThreshold) atTop atTop := + tendsto_atTop_mono (fun n => Nat.le_add_right n _) tendsto_id + filter_upwards [exists_radialMatchingMap_zero,hs.eventually radialShootingExterior_exists] with n hn hX + obtain ⟨z,hz⟩ := hn + refine ⟨z,hX z,hz,radialMatchedCartesian_contDiff n z (hX z) hz,?_,?_⟩ + · intro y + exact radialMatchedProfile_ne_zero n z (hX z) ‖y‖ (norm_nonneg y) + · simpa only [radialMatchedCartesian,norm_zero] using radialMatchedProfile_origin n z + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianSymbol.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianSymbol.lean new file mode 100644 index 0000000000000000000000000000000000000000..c056ce23477ba4119ca0b9b17c6430a06c21c068 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCartesianSymbol.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialLogNormDerivatives +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialLogarithmicSymbol +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianEquation + +namespace OAI + +/-! Cartesian symbol estimates obtained from the actual outgoing expansion. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radial_log_composition_symbol (H : ℝ → ℂ) (L σ : ℝ) + (hH : ContDiffOn ℝ ∞ H (Ioi L)) + (hb : ∀ i : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ t in atTop, + ‖iteratedDeriv i H t‖ ≤ C*Real.exp (σ*t)) (k : ℕ) : + ∃ D R : ℝ, 0 ≤ D ∧ 0 < R ∧ ∀ y : E, R ≤ ‖y‖ → + ‖iteratedFDeriv ℝ k (fun x : E => H (Real.log ‖x‖)) y‖ ≤ + D*‖y‖^(σ-(k : ℝ)) := by + choose C hC hbound using hb + have he : ∀ᶠ t in atTop, ∀ i ∈ Finset.range (k+1), + ‖iteratedDeriv i H t‖ ≤ C i*Real.exp (σ*t) := + (eventually_all_finset _).mpr (fun i _ => hbound i) + obtain ⟨T,hT⟩ := eventually_atTop.mp he + choose B hB hlog using (fun j : ℕ => radialLogNorm_derivative_bound (j+1) (by omega)) + let A := ∑ i ∈ Finset.range (k+1), C i + let D := 1+∑ i ∈ Finset.range k, B i + let U := max T (L+1) + let S : Set E := {y | Real.exp U < ‖y‖} + have hA : 0 ≤ A := Finset.sum_nonneg (fun i _ => hC i) + have hD : 1 ≤ D := by + dsimp [D] + exact le_add_of_nonneg_right (Finset.sum_nonneg (fun i _ => hB i)) + have hS : IsOpen S := isOpen_lt continuous_const continuous_norm + have hSL (y : E) (hy : y ∈ S) : L < Real.log ‖y‖ := by + have hl := Real.log_lt_log (Real.exp_pos U) hy + rw [Real.log_exp] at hl + exact lt_trans (lt_of_lt_of_le (by linarith : L < L+1) (le_max_right _ _)) hl + have hSy (y : E) (hy : y ∈ S) : y ≠ 0 := + norm_pos_iff.mp ((Real.exp_pos U).trans hy) + have hf : ContDiffOn ℝ ∞ (fun y : E => Real.log ‖y‖) S := + fun y hy => (radialLogNorm_contDiffAt y (hSy y hy)).contDiffWithinAt + have hm : MapsTo (fun y : E => Real.log ‖y‖) S (Ioi L) := hSL + refine ⟨(k.factorial : ℝ)*A*D^k,Real.exp (U+1),by positivity,Real.exp_pos _,?_⟩ + intro y hy + have hyS : y ∈ S := + lt_of_lt_of_le (Real.exp_lt_exp.mpr (by linarith : U < U+1)) hy + have hyr : 0 < ‖y‖ := norm_pos_iff.mpr (hSy y hyS) + have hyL : L < Real.log ‖y‖ := hSL y hyS + have hyT : T ≤ Real.log ‖y‖ := by + have hl := Real.log_lt_log (Real.exp_pos U) hyS + rw [Real.log_exp] at hl + exact (le_max_left _ _).trans hl.le + have houter (i : ℕ) (hi : i ≤ k) : + ‖iteratedFDerivWithin ℝ i H (Ioi L) (Real.log ‖y‖)‖ ≤ + A*Real.exp (σ*Real.log ‖y‖) := by + rw [iteratedFDerivWithin_of_isOpen i isOpen_Ioi hyL, + norm_iteratedFDeriv_eq_norm_iteratedDeriv] + have hmem : i ∈ Finset.range (k+1) := Finset.mem_range.mpr (by omega) + exact (hT _ hyT i hmem).trans (mul_le_mul_of_nonneg_right + (Finset.single_le_sum (fun j _ => hC j) hmem) (Real.exp_pos _).le) + have hinner (i : ℕ) (hi : 1 ≤ i) (hik : i ≤ k) : + ‖iteratedFDerivWithin ℝ i (fun x : E => Real.log ‖x‖) S y‖ ≤ (D/‖y‖)^i := by + rw [iteratedFDerivWithin_of_isOpen i hS hyS] + have hmem : i-1 ∈ Finset.range k := Finset.mem_range.mpr (by omega) + have hBi : B (i-1) ≤ D := by + have hh := Finset.single_le_sum (fun j _ => hB j) hmem + dsimp [D] + linarith + have hpow : B (i-1) ≤ D^i := hBi.trans (le_self_pow₀ hD (by omega)) + have hh := hlog (i-1) y (hSy y hyS) + rw [show i-1+1=i by omega] at hh + apply hh.trans + calc + B (i-1)*‖y‖^(-(i : ℝ)) ≤ D^i*‖y‖^(-(i : ℝ)) := + mul_le_mul_of_nonneg_right hpow (Real.rpow_nonneg hyr.le _) + _ = (D/‖y‖)^i := by rw [Real.rpow_neg hyr.le,Real.rpow_natCast,div_pow,div_eq_mul_inv] + have hh := norm_iteratedFDerivWithin_comp_le hH hf (by simp : (k : ℕ∞ω) ≤ ∞) + isOpen_Ioi.uniqueDiffOn hS.uniqueDiffOn hm hyS houter hinner + rw [iteratedFDerivWithin_of_isOpen k hS hyS] at hh + apply hh.trans_eq + have hrpow : Real.exp (σ*Real.log ‖y‖)=‖y‖^σ := by + rw [Real.rpow_def_of_pos hyr] + congr 1 + ring + rw [hrpow,div_pow,Real.rpow_sub hyr,Real.rpow_natCast] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialClampedPhase.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialClampedPhase.lean new file mode 100644 index 0000000000000000000000000000000000000000..3b52dcef38e2bf2c593dfa6ec8f988144b206887 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialClampedPhase.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhase +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialGreenOperator +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPotentialDifference + +namespace OAI + +/-! A continuous positive extension defines the phase without altering the inner velocity. -/ + +open Set Filter Topology +namespace DefocusingNLS + +noncomputable def radialClampedAmplitude (R : ℝ) (A : ℝ → ℝ) (r : ℝ) : ℝ := + A (radialClamp R r) + +theorem radialClampedAmplitude_continuous (R : ℝ) (A : ℝ → ℝ) (hA : Continuous A) : + Continuous (radialClampedAmplitude R A) := hA.comp (continuous_radialClamp R) + +theorem radialClampedAmplitude_eq (R : ℝ) (A : ℝ → ℝ) (r : ℝ) (hr : r ∈ Icc 0 R) : + radialClampedAmplitude R A r=A r := by + unfold radialClampedAmplitude + rw [radialClamp_eq R r hr] + +theorem radialClampedAmplitude_hasDerivAt (R : ℝ) (A : ℝ → ℝ) (hA : Differentiable ℝ A) + (r : ℝ) (hr : r ∈ Ioo 0 R) : HasDerivAt (radialClampedAmplitude R A) (deriv A r) r := by + apply (hA r).hasDerivAt.congr_of_eventuallyEq + filter_upwards [isOpen_Ioo.mem_nhds hr] with t ht + exact radialClampedAmplitude_eq R A t ⟨ht.1.le,ht.2.le⟩ + +theorem radialVelocityRatio_clamped_eq (c R : ℝ) (A : ℝ → ℝ) (r : ℝ) (hr : r ∈ Icc 0 R) : + radialVelocityRatio c (radialClampedAmplitude R A) r=radialVelocityRatio c A r := by + have hav := radialAverage_congr (fun t => (radialClampedAmplitude R A t)^2) + (fun t => (A t)^2) r hr.1 (by + intro t ht + change (radialClampedAmplitude R A t)^2=(A t)^2 + rw [radialClampedAmplitude_eq R A t ⟨ht.1,ht.2.trans hr.2⟩]) + simp only [radialVelocityRatio,hav,radialClampedAmplitude_eq R A r hr] + +theorem radialVelocity_clamped_eq (c R : ℝ) (A : ℝ → ℝ) (r : ℝ) (hr : r ∈ Icc 0 R) : + radialVelocity c (radialClampedAmplitude R A) r=radialVelocity c A r := by + simp only [radialVelocity,radialVelocityRatio_clamped_eq c R A r hr] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoefficientTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoefficientTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..e20c99b240fcdaf819c08fe6ad1212f62da46325 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoefficientTail.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialVelocityTail +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralCoercivity + +namespace OAI + +/-! Polynomial bounds for every actual coefficient in the outgoing energy trace. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_coefficient_tail : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ᶠ r : ℝ in atTop, + 0 ≤ radialMassDensity n z r ∧ radialMassDensity n z r ≤ 144*r^11 ∧ + |radialMassFlux n z r| ≤ 144*r^12 ∧ + 0 ≤ radialSpectralPressure n z r ∧ radialSpectralPressure n z r ≤ 1/radialShootingA n ∧ + 0 ≤ radialHardyFlux (radialShootingA n) r ∧ radialHardyFlux (radialShootingA n) r ≤ r^10 := by + obtain ⟨d,hd,hW⟩ := radialMatched_uniform_weight_comparison + filter_upwards [hW,radialMatched_global_pressure_bound] with n hwn hpn z hX hz + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + filter_upwards [radialMatchedVelocity_eventually_bound n z hX hz, + eventually_gt_atTop (0 : ℝ)] with r hwr hr + have hρ : radialHardyWeight (radialShootingA n) r ≤ 1 := by + unfold radialHardyWeight + exact Real.rpow_le_one_of_one_le_of_nonpos (by nlinarith [sq_nonneg r]) (by linarith) + have hμ : ‖radialMatchedProfile n z r‖^2 ≤ 144 := by + have hh := (hwn z r hr.le).2 + change ‖radialMatchedProfile n z r‖^2 ≤ 144*radialHardyWeight (radialShootingA n) r at hh + linarith + have hM0 : 0 ≤ radialMassDensity n z r := by + unfold radialMassDensity + positivity + have hM : radialMassDensity n z r ≤ 144*r^11 := by + unfold radialMassDensity + nlinarith [mul_le_mul_of_nonneg_left hμ (pow_nonneg hr.le 11)] + have hF : |radialMassFlux n z r| ≤ 144*r^12 := by + change |radialMassDensity n z r*radialMatchedVelocity n z r| ≤ _ + rw [abs_mul,abs_of_nonneg hM0] + calc + _ ≤ radialMassDensity n z r*r := mul_le_mul_of_nonneg_left hwr hM0 + _ ≤ (144*r^11)*r := mul_le_mul_of_nonneg_right hM hr.le + _ = _ := by ring + have hP0 : 0 ≤ radialSpectralPressure n z r := by + unfold radialSpectralPressure + positivity + have hP : radialSpectralPressure n z r ≤ 1/radialShootingA n := by + exact (div_le_div_iff_of_pos_right ha).mpr (hpn z r hr.le) + have hH0 : 0 ≤ radialHardyFlux (radialShootingA n) r := by + unfold radialHardyFlux + exact mul_nonneg (pow_nonneg hr.le 10) (radialHardyWeight_pos _ _).le + have hH : radialHardyFlux (radialShootingA n) r ≤ r^10 := by + simpa only [radialHardyFlux,mul_one] using mul_le_mul_of_nonneg_left hρ (pow_nonneg hr.le 10) + exact ⟨hM0,hM,hF,hP0,hP,hH0,hH⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoerciveProfile.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoerciveProfile.lean new file mode 100644 index 0000000000000000000000000000000000000000..8ef1ae96b2d3c0744f7c38bdb5a6e25fe5c786c3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoerciveProfile.lean @@ -0,0 +1,48 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianDeformation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightComparison +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPressureTransport + +namespace OAI + +/-! Smooth stationary profiles with uniform coercive geometry and pressure transport. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem exists_coercive_stationary_radialMatchedProfile : + ∃ c d : ℝ, 0 < c ∧ 0 < d ∧ ∀ᶠ n in atTop, ∃ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) ∧ + radialMatchingMap n z=0 ∧ + ContDiff ℝ ∞ (radialMatchedCartesian n z) ∧ + (∀ y : E, stationarySimilarityDefect (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedCartesian n z) y=0) ∧ + (∀ y : E, radialMatchedCartesian n z y ≠ 0) ∧ + 0 < (radialMatchedCartesian n z 0).re ∧ (radialMatchedCartesian n z 0).im=0 ∧ + (∀ y v : E, c*‖v‖^2 ≤ inner ℝ (fderiv ℝ (radialMatchedVectorField n z) y v) v) ∧ + (∀ r : ℝ, 0 ≤ r → + d*(1+r^2)^(-2*radialShootingA n) ≤ ‖radialMatchedProfile n z r‖^2 ∧ + ‖radialMatchedProfile n z r‖^2 ≤ 144*(1+r^2)^(-2*radialShootingA n)) ∧ + (∀ r : ℝ, 0 ≤ r → + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold)) ≤ 1) ∧ + (∀ r : ℝ, 0 ≤ r → + radialVelocity (6-2*radialShootingA n) (fun t => ‖radialMatchedProfile n z t‖) r* + deriv (fun t => ‖radialMatchedProfile n z t‖^(2*(n+radialInnerShootingThreshold))/ + radialShootingA n) r ≤ 1600) := by + obtain ⟨c,hc,hdef⟩ := radialMatchedVectorField_uniform_positive + obtain ⟨d,hd,hw⟩ := radialMatched_uniform_weight_comparison + refine ⟨c,d,hc,hd,?_⟩ + filter_upwards [exists_smooth_stationary_radialMatchedProfile,hdef,hw, + radialMatched_global_pressure_bound,radialMatched_global_pressure_transport_bound] + with n hn hdn hwn hpn htn + obtain ⟨z,hX,hz,hQ,hstat,hne,hre,him⟩ := hn + exact ⟨z,hX,hz,hQ,hstat,hne,hre,him,hdn z hX hz,hwn z,hpn z,htn z hX hz⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoercivityBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoercivityBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..23ed834e9367cac359df43a33ae5eaf5d34b8390 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoercivityBoundary.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralCoercivity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureBoundary + +namespace OAI + +/-! The upper-half-plane coercivity estimate with a controlled boundary trace. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialScalarForm_coercive_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R σ K H : ℝ) (hR : 0 ≤ R) (hσ : 4 ≤ σ) + (q dq f : ℝ → ℝ) (hf : ContDiff ℝ 1 f) + (hq : ∀ r ∈ Icc 0 R, 0 ≤ q r) + (hw : ∀ r ∈ Icc 0 R, 0 ≤ deriv (radialMatchedVelocity n z) r) + (hsmall : 2*(∫ r in (0 : ℝ)..R, radialMassFlux n z r*dq r*(f r)^2) ≤ + radialScalarForm n z R q f f+K*H) : + (3/4 : ℝ)*radialScalarForm n z R q f f ≤ + σ*radialScalarForm n z R q f f+radialScalarVirial n z R q dq f+(K/4)*H := by + have hD := radialDrift_integral_lower n z hX hz R hR f hf hw + have hE := radialScalarForm_nonneg n z R hR q f hq + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have hcoef : 1 ≤ σ-(6-2*radialShootingA n)/2 := by linarith + have hbound := mul_le_mul_of_nonneg_right hcoef hE + rw [radialScalarForm_diag] at hbound hsmall hE ⊢ + unfold radialScalarVirial + nlinarith + +theorem radialMatched_spectral_coercivity_boundary : + ∃ C : ℝ, 0 < C ∧ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ R σ : ℝ, 0 ≤ R → 4 ≤ σ → + ∀ f : ℝ → ℝ, ContDiff ℝ 1 f → + (3/4 : ℝ)*radialScalarForm n z R (radialSpectralPressure n z) f f ≤ + σ*radialScalarForm n z R (radialSpectralPressure n z) f f+ + radialScalarVirial n z R (radialSpectralPressure n z) + (deriv (radialSpectralPressure n z)) f+ + C*radialHardyFlux (radialShootingA n) R*(f R)^2 := by + obtain ⟨c,hc,hW⟩ := radialMatched_uniform_deformation + obtain ⟨K,hK,hP⟩ := radialMatched_pressure_energy_absorption_boundary + refine ⟨K/4,by positivity,?_⟩ + filter_upwards [hW,hP] with n hwn hpn z hX hz R σ hR hσ f hf + have hh := radialScalarForm_coercive_boundary n z hX hz R σ K + (radialHardyFlux (radialShootingA n) R*(f R)^2) hR hσ + (radialSpectralPressure n z) (deriv (radialSpectralPressure n z)) f hf + apply (show (3/4 : ℝ)*radialScalarForm n z R (radialSpectralPressure n z) f f ≤ + σ*radialScalarForm n z R (radialSpectralPressure n z) f f+ + radialScalarVirial n z R (radialSpectralPressure n z) + (deriv (radialSpectralPressure n z)) f+ + (K/4)*(radialHardyFlux (radialShootingA n) R*(f R)^2) from ?_).trans_eq (by ring) + apply hh + · intro r _ + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + unfold radialSpectralPressure + positivity + · intro r hr + exact hc.le.trans (hwn z hX hz r hr.1).1 + · have h := hpn z hX hz R hR f hf + dsimp only at h + rw [radialScalarForm_diag] + delta radialSpectralPressure + have he := h.trans_eq (show + (∫ r in (0 : ℝ)..R, r^11*‖radialMatchedProfile n z r‖^2* + (‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))/radialShootingA n)*(f r)^2)+ + (∫ r in (0 : ℝ)..R, r^11*‖radialMatchedProfile n z r‖^2*(deriv f r)^2)+ + K*radialHardyFlux (radialShootingA n) R*(f R)^2= + (∫ r in (0 : ℝ)..R, r^11*‖radialMatchedProfile n z r‖^2*(deriv f r)^2)+ + (∫ r in (0 : ℝ)..R, r^11*‖radialMatchedProfile n z r‖^2* + (‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))/radialShootingA n)*(f r)^2)+ + K*(radialHardyFlux (radialShootingA n) R*(f R)^2) by ring) + simpa only [radialMassDensity,radialMassFlux,mul_assoc] using he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactDeformation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactDeformation.lean new file mode 100644 index 0000000000000000000000000000000000000000..5eef794200d7abccd79c5381e2e80ea10a03cca4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactDeformation.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactEvaluation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorVelocity + +namespace OAI + +/-! The actual deformation eigenvalues converge on every fixed exterior annulus. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_converging_exterior_deformation + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (nhds z₀)) (r : ℕ → ℝ) (r₀ : ℝ) + (hr : Tendsto r atTop (nhds r₀)) (hr₀ : innerBoundaryRadius ≤ r₀) + (hrmem : ∀ i, innerBoundaryRadius < r i) + (hX : ∀ i, HasRadialExterior + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) + (Real.log innerBoundaryRadius)) + (hmatch : ∀ i, radialMatchingMap (s i) (z i)=0) : + let ν₀ := -2*radialShootingQ z₀ + let J₀ := radialFreeSlowJet (radialShootingQ z₀) (radialShootingM z₀) (Real.log r₀) + let ξ₀ := J₀.2/J₀.1 + let w := fun i => radialVelocity (6-2*radialShootingA (s i)) + (fun t => ‖radialMatchedProfile (s i) (z i) t‖) + Tendsto (fun i => w i (r i)/r i) atTop + (nhds (1/2+2/r₀^2*(ν₀.im+ξ₀.im))) ∧ + Tendsto (fun i => deriv (w i) (r i)) atTop + (nhds (1/2-ξ₀.re-2/r₀^2*(ν₀.im+ξ₀.im)*(11+2*ν₀.re+2*ξ₀.re))) := by + intro ν₀ J₀ ξ₀ w + let N := fun i => s i+radialInnerShootingThreshold + have hN : StrictMono N := fun i j hij => Nat.add_lt_add_right (hs hij) _ + let ν := fun i => radialShootingNu (N i) (z i) + let Z := fun i => radialExteriorCanonical (ν i) (N i) (radialShootingM (z i)) + (Real.log innerBoundaryRadius) + let ξ := fun i => (Z i (Real.log (r i))).2/(Z i (Real.log (r i))).1 + have hjet := radialShooting_converging_radius N hN z z₀ hz r r₀ hr hr₀ + (Eventually.of_forall (fun i => (hrmem i).le)) + obtain ⟨δ,ρ,hδ,_hδm,_hsmall,_hρ,_hupper,hlower⟩ := radialShooting_free_annulus z₀ + have hn : J₀.1 ≠ 0 := norm_pos_iff.mp (hδ.trans (hlower (Real.log r₀) + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hr₀))) + have hξ : Tendsto ξ atTop (nhds ξ₀) := by + simpa only [Pi.div_apply,ξ,Z,ν,ξ₀,J₀] using! + hjet.snd_nhds.div hjet.fst_nhds hn + have hν := radialShootingNu_subsequence_tendsto N hN z z₀ hz + have hrpos : 0 < r₀ := lt_of_lt_of_le (by linarith [innerBoundaryRadius_bounds.1]) hr₀ + have hscale : Tendsto (fun i => 2/(r i)^2) atTop (nhds (2/r₀^2)) := by + simpa only [Pi.div_apply] using! + (tendsto_const_nhds (x := (2 : ℝ))).div (hr.pow 2) (pow_ne_zero 2 hrpos.ne') + have hνr := (Complex.continuous_re.tendsto ν₀).comp hν + have hνi := (Complex.continuous_im.tendsto ν₀).comp hν + have hξr := (Complex.continuous_re.tendsto ξ₀).comp hξ + have hξi := (Complex.continuous_im.tendsto ξ₀).comp hξ + have htan : Tendsto (fun i => 1/2+2/(r i)^2*((ν i).im+(ξ i).im)) + atTop (nhds (1/2+2/r₀^2*(ν₀.im+ξ₀.im))) := by + simpa only [Function.comp_def,ν] using! + (tendsto_const_nhds (x := (1/2 : ℝ))).add (hscale.mul (hνi.add hξi)) + have hrad : Tendsto (fun i => 1/2-(ξ i).re- + 2/(r i)^2*((ν i).im+(ξ i).im)*(11+2*(ν i).re+2*(ξ i).re)) atTop + (nhds (1/2-ξ₀.re-2/r₀^2*(ν₀.im+ξ₀.im)*(11+2*ν₀.re+2*ξ₀.re))) := by + simpa only [Function.comp_def,ν] using! + ((tendsto_const_nhds (x := (1/2 : ℝ))).sub hξr).sub + ((hscale.mul (hνi.add hξi)).mul + (((tendsto_const_nhds (x := (11 : ℝ))).add (hνr.const_mul 2)).add + (hξr.const_mul 2))) + constructor + · apply htan.congr' + exact Eventually.of_forall (fun i => + (radialMatchedVelocity_logarithmic (s i) (z i) (hX i) (hmatch i) (r i) (hrmem i)).symm) + · apply hrad.congr' + exact Eventually.of_forall (fun i => + (radialMatchedDeformation_logarithmic (s i) (z i) (hX i) (hmatch i) (r i) (hrmem i)).symm) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactEvaluation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactEvaluation.lean new file mode 100644 index 0000000000000000000000000000000000000000..e4c1c494f4bce24d8d33862e6c466da637c6ab32 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactEvaluation.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMovingDeformation + +namespace OAI + +/-! Evaluation of the true canonical family at a converging exterior radius. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radial_uniform_local_evaluation {E : Type*} [MetricSpace E] + (F : ℕ → ℝ → E) (f : ℝ → E) (L t₀ : ℝ) + (hF : TendstoUniformlyOn F f atTop (Ici L)) (hf : ContinuousAt f t₀) + (t : ℕ → ℝ) (ht : Tendsto t atTop (nhds t₀)) + (hmem : ∀ᶠ n in atTop, L ≤ t n) : + Tendsto (fun n => F n (t n)) atTop (nhds (f t₀)) := by + apply Metric.tendsto_atTop.mpr + intro ε hε + have hu := (Metric.tendstoUniformlyOn_iff.mp hF) (ε/2) (by positivity) + have hv := (Metric.tendsto_nhds.mp (hf.tendsto.comp ht)) (ε/2) (by positivity) + obtain ⟨N,hN⟩ := eventually_atTop.mp (hu.and (hv.and hmem)) + refine ⟨N,fun n hn => ?_⟩ + obtain ⟨h1,h2,h3⟩ := hN n hn + have h4 := h1 (t n) h3 + calc + dist (F n (t n)) (f t₀) ≤ dist (F n (t n)) (f (t n))+dist (f (t n)) (f t₀) := + dist_triangle _ _ _ + _ < ε/2+ε/2 := add_lt_add (by simpa only [dist_comm] using h4) h2 + _ = ε := by ring + +theorem radialShooting_converging_radius (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (nhds z₀)) (r : ℕ → ℝ) (r₀ : ℝ) + (hr : Tendsto r atTop (nhds r₀)) (hr₀ : innerBoundaryRadius ≤ r₀) + (hrmem : ∀ᶠ i in atTop, innerBoundaryRadius ≤ r i) : + Tendsto (fun i => radialExteriorCanonical (radialShootingNu (s i) (z i)) + (s i) (radialShootingM (z i)) (Real.log innerBoundaryRadius) (Real.log (r i))) + atTop (nhds (radialFreeSlowJet (radialShootingQ z₀) (radialShootingM z₀) + (Real.log r₀))) := by + have hν := radialShootingNu_subsequence_tendsto s hs z z₀ hz + have hm := continuous_radialShootingM.continuousAt.tendsto.comp hz + obtain ⟨δ,ρ,hδ,hδm,hsmall,hρ,hupper,hlower⟩ := radialShooting_free_annulus z₀ + have hq : -1 < (radialShootingQ z₀).re := by simp [radialShootingQ] + have hconv := (radialExteriorCanonical_H_limit_subsequence s hs + (fun i => radialShootingNu (s i) (z i)) (fun i => radialShootingM (z i)) + (radialShootingQ z₀) (radialShootingM z₀) hq hν hm δ ρ + (Real.log innerBoundaryRadius) hδ hδm hsmall hρ hupper hlower).2 + have hrpos : 0 < r₀ := lt_of_lt_of_le (by linarith [innerBoundaryRadius_bounds.1]) hr₀ + have hlog : Tendsto (fun i => Real.log (r i)) atTop (nhds (Real.log r₀)) := + (Real.continuousAt_log hrpos.ne').tendsto.comp hr + apply radial_uniform_local_evaluation _ _ _ _ hconv + (radialFreeSlowJet_hasDerivAt _ _ hq _).continuousAt _ hlog + filter_upwards [hrmem] with i hi + exact Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hi + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactFreeDeformation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactFreeDeformation.lean new file mode 100644 index 0000000000000000000000000000000000000000..715310e66cd4914222c975ac221fafc6380cb140 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactFreeDeformation.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactDeformation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeDeformationJet + +namespace OAI + +/-! Compact exterior limits are the genuine free deformation field. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_converging_free_deformation + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (nhds z₀)) (r : ℕ → ℝ) (r₀ : ℝ) + (hr : Tendsto r atTop (nhds r₀)) (hr₀ : innerBoundaryRadius ≤ r₀) + (hrmem : ∀ i, innerBoundaryRadius < r i) + (hX : ∀ i, HasRadialExterior + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) + (Real.log innerBoundaryRadius)) + (hmatch : ∀ i, radialMatchingMap (s i) (z i)=0) : + let b := radialShootingB (profileMatchingParameter z₀) + let w := fun i => radialVelocity (6-2*radialShootingA (s i)) + (fun t => ‖radialMatchedProfile (s i) (z i) t‖) + Tendsto (fun i => w i (r i)/r i) atTop (nhds (radialFreeVelocity b r₀/r₀)) ∧ + Tendsto (fun i => deriv (w i) (r i)) atTop + (nhds (deriv (radialFreeVelocity b) r₀)) := by + intro b w + have hd := radialMatched_converging_exterior_deformation s hs z z₀ hz r r₀ hr hr₀ + hrmem hX hmatch + obtain ⟨δ,ρ,hδ,_hδm,_hsmall,_hρ,_hupper,hlower⟩ := radialShooting_free_annulus z₀ + have hn : (radialFreeSlowJet (-Complex.I*(b : ℂ)) (radialShootingM z₀) + (Real.log r₀)).1 ≠ 0 := norm_pos_iff.mp (hδ.trans (hlower (Real.log r₀) + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hr₀))) + have he := radialFree_deformation_jet b r₀ + (lt_of_lt_of_le (by linarith [innerBoundaryRadius_bounds.1]) hr₀) (radialShootingM z₀) hn + have hν : -2*radialShootingQ z₀=2*Complex.I*(b : ℂ) := by + dsimp [radialShootingQ,b] + ring + dsimp only at hd he + rw [hν] at hd + constructor + · convert hd.1 using 1 + exact congrArg nhds he.1 + · convert hd.2 using 1 + exact congrArg nhds he.2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactJordanExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactJordanExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..cdece4503c11b92723edd6abe6e48feca6736596 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactJordanExclusion.lean @@ -0,0 +1,29 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactJordanPositive +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactSpectralClassification + +namespace OAI + +/-! No radial Jordan pair survives on a fixed compact set in the counting half-plane. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_no_jordan_compact (hRou : RectangleRouche) + (ell N : ℕ) (hN : 7≤N) (K : Set ℂ) (hK : IsCompact K) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ lam ∈ K, -(1/32 : ℝ)≤lam.re → + ¬ HasRadialJordanMode n z ell N lam := by + filter_upwards [radialMatched_no_jordan_compact_nonnegative hRou ell N hN K hK, + radialMatchedSpectralMode_compact_classification hRou ell N hN K hK] with n hn hc + intro z hX hm lam hl hh hj + have hsym := hc z hX hm lam hl hh hj.radialMode + have hnonneg : 0≤lam.re := by + rcases hsym with ⟨_,rfl | rfl⟩ | ⟨_,rfl⟩ <;> norm_num + exact hn z hX hm lam hl hnonneg hj + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactJordanPositive.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactJordanPositive.lean new file mode 100644 index 0000000000000000000000000000000000000000..27d3a3716894e3108456a11d7e2d9082e2961979 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactJordanPositive.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialModeNoGeneralizedLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanMode +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialModeNoExtraLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCompactExclusion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSpectralClassification + +namespace OAI + +/-! Actual radial Jordan pairs are absent on fixed compact sets in the nonnegative half-plane. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_no_jordan_compact_nonnegative (hRou : RectangleRouche) + (ell N : ℕ) (hN : 7≤N) (K : Set ℂ) (hK : IsCompact K) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ lam ∈ K, 0≤lam.re → ¬ HasRadialJordanMode n z ell N lam := by + classical + by_contra h + have hbad : ∃ᶠ n in atTop, ∃ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) ∧ + radialMatchingMap n z=0 ∧ ∃ lam ∈ K, 0≤lam.re ∧ HasRadialJordanMode n z ell N lam := by + apply (not_eventually.mp h).mono + intro n hn + simpa only [not_forall,not_imp,not_not,exists_prop] using hn + obtain ⟨φ,hφ,hbadφ⟩ := exists_seq_forall_of_frequently hbad + choose z hX hm lam hmem hnonneg hj using hbadφ + simp only [HasRadialJordanMode] at hj + choose mode v w hv hw he hvt hwt hb using hj + obtain ⟨σ,_hσ,hs⟩ := strictMono_subseq_of_tendsto_atTop hφ + let : CompactSpace K := isCompact_iff_compactSpace.mp hK + let x : ℕ → ProfileMatchingBall × K := fun i => (z (σ i),⟨lam (σ i),hmem (σ i)⟩) + obtain ⟨x₀,τ,hτ,hx⟩ := CompactSpace.tendsto_subseq x + have hz : Tendsto (fun i => z (σ (τ i))) atTop (𝓝 x₀.1) := hx.fst_nhds + have hlam : Tendsto (fun i => lam (σ (τ i))) atTop (𝓝 (x₀.2 : ℂ)) := + continuous_subtype_val.continuousAt.tendsto.comp hx.snd_nhds + have hp := radialMatchingMap_zero_limit (φ ∘ σ ∘ τ) (hs.comp hτ).tendsto_atTop + (fun i => z (σ (τ i))) x₀.1 hz (fun i => hm (σ (τ i))) + have hzero := radialMatchedSpectralMode_limit_zero_of_matching ell N hN + (φ ∘ σ ∘ τ) (hs.comp hτ) (fun i => z (σ (τ i))) x₀.1 hz + (fun i => hX (σ (τ i))) (fun i => hm (σ (τ i))) + (fun i => lam (σ (τ i))) x₀.2 hlam + (fun i => show -(1/32 : ℝ)≤(lam (σ (τ i))).re by linarith [hnonneg (σ (τ i))]) + (fun i => mode (σ (τ i))) + have hhalf₀ : -(1/32 : ℝ)≤(x₀.2 : ℂ).re := by + have hn : 0 ≤ (x₀.2 : ℂ).re := isClosed_Ici.mem_of_tendsto (Complex.continuous_re.continuousAt.tendsto.comp hlam) + (Eventually.of_forall fun i => hnonneg (σ (τ i))) + linarith + have hsym := (radialFree_spectral_zero_iff hRou (profileMatchingParameter x₀.1) + hp.2 ell x₀.2 hhalf₀).mp hzero + exact radialMatchedMode_no_generalized_limit hRou ell N hN (φ ∘ σ ∘ τ) (hs.comp hτ) + (fun i => z (σ (τ i))) x₀.1 hz (fun i => hX (σ (τ i))) (fun i => hm (σ (τ i))) + (fun i => lam (σ (τ i))) x₀.2 hlam hsym (fun i => hnonneg (σ (τ i))) + (fun i => mode (σ (τ i))) (fun i => v (σ (τ i))) (fun i => w (σ (τ i))) + (fun i => hv (σ (τ i))) (fun i => hw (σ (τ i))) (fun i => he (σ (τ i))) + (fun i => hvt (σ (τ i))) (fun i => hwt (σ (τ i))) (fun i => hb (σ (τ i))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactSpectralClassification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactSpectralClassification.lean new file mode 100644 index 0000000000000000000000000000000000000000..08ac8b9332ef5facc5c8ee9c51a51dda329d705c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactSpectralClassification.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialModeNoExtraLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCompactExclusion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSpectralClassification + +namespace OAI + +/-! Exact classification on each fixed compact spectral set for all large matched powers. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedSpectralMode_compact_classification (hRou : RectangleRouche) + (ell N : ℕ) (hN : 7 ≤ N) (K : Set ℂ) (hK : IsCompact K) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ lam ∈ K, -(1/32 : ℝ) ≤ lam.re → + Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) N + (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam) → + (ell=0 ∧ (lam=0 ∨ lam=1)) ∨ (ell=1 ∧ lam=1/2) := by + classical + by_contra h + have hbad : ∃ᶠ n in atTop, ∃ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) ∧ + radialMatchingMap n z=0 ∧ ∃ lam ∈ K, -(1/32 : ℝ) ≤ lam.re ∧ + Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) N + (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam) ∧ + ¬ ((ell=0 ∧ (lam=0 ∨ lam=1)) ∨ (ell=1 ∧ lam=1/2)) := by + apply (not_eventually.mp h).mono + intro n hn + simpa only [not_forall,not_imp,not_not,exists_prop] using hn + obtain ⟨φ,hφ,hbadφ⟩ := exists_seq_forall_of_frequently hbad + choose z hX hm lam hmem hhalf hu hnot using hbadφ + obtain ⟨σ,_hσ,hs⟩ := strictMono_subseq_of_tendsto_atTop hφ + let : CompactSpace K := isCompact_iff_compactSpace.mp hK + let x : ℕ → ProfileMatchingBall × K := fun i => (z (σ i),⟨lam (σ i),hmem (σ i)⟩) + obtain ⟨x₀,τ,hτ,hx⟩ := CompactSpace.tendsto_subseq x + have hz : Tendsto (fun i => z (σ (τ i))) atTop (𝓝 x₀.1) := hx.fst_nhds + have hlam : Tendsto (fun i => lam (σ (τ i))) atTop (𝓝 (x₀.2 : ℂ)) := + continuous_subtype_val.continuousAt.tendsto.comp hx.snd_nhds + have hp := radialMatchingMap_zero_limit (φ ∘ σ ∘ τ) (hs.comp hτ).tendsto_atTop + (fun i => z (σ (τ i))) x₀.1 hz (fun i => hm (σ (τ i))) + have hzero := radialMatchedSpectralMode_limit_zero_of_matching ell N hN + (φ ∘ σ ∘ τ) (hs.comp hτ) (fun i => z (σ (τ i))) x₀.1 hz + (fun i => hX (σ (τ i))) (fun i => hm (σ (τ i))) + (fun i => lam (σ (τ i))) x₀.2 hlam (fun i => hhalf (σ (τ i))) + (fun i => Classical.choice (hu (σ (τ i)))) + have hhalf₀ : -(1/32 : ℝ) ≤ (x₀.2 : ℂ).re := + isClosed_Ici.mem_of_tendsto (Complex.continuous_re.continuousAt.tendsto.comp hlam) + (Eventually.of_forall fun i => hhalf (σ (τ i))) + have hsym := (radialFree_spectral_zero_iff hRou (profileMatchingParameter x₀.1) + hp.2 ell x₀.2 hhalf₀).mp hzero + apply radialMatchedMode_no_extra_limit hRou ell N hN (φ ∘ σ ∘ τ) (hs.comp hτ) + (fun i => z (σ (τ i))) x₀.1 hz (fun i => hX (σ (τ i))) (fun i => hm (σ (τ i))) + (fun i => lam (σ (τ i))) x₀.2 hlam hsym + · exact Eventually.of_forall (fun i he => hnot (σ (τ i)) (by simpa only [he] using hsym)) + · exact fun i => hhalf (σ (τ i)) + · exact fun i => Classical.choice (hu (σ (τ i))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactSubsequence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactSubsequence.lean new file mode 100644 index 0000000000000000000000000000000000000000..c67310285cc6cca6f38ee802f9fd23950e8204e4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactSubsequence.lean @@ -0,0 +1,38 @@ +import Mathlib.Topology.Sequences +import Mathlib.Topology.MetricSpace.Basic + +namespace OAI + +/-! The compactness extraction used for uniform shooting-parameter estimates. -/ + +open Filter +namespace DefocusingNLS + +theorem radial_compact_bad_subsequence {K : Type*} [MetricSpace K] [CompactSpace K] + (P : ℕ → K → Prop) (h : ¬ ∀ᶠ n in atTop, ∀ x, P n x) : + ∃ s : ℕ → ℕ, StrictMono s ∧ ∃ x : ℕ → K, ∃ x₀ : K, + Tendsto x atTop (nhds x₀) ∧ ∀ i, ¬ P (s i) (x i) := by + classical + have hbad : ∃ᶠ n in atTop, ¬ ∀ x, P n x := by + simpa only [Filter.Frequently,not_not] using h + have hf : ∀ N : ℕ, ∃ n, N ≤ n ∧ ∃ x, ¬ P n x := by + intro N + obtain ⟨n,hn,hbadn⟩ := hbad.forall_exists_of_atTop N + exact ⟨n,hn,not_forall.mp hbadn⟩ + choose f hfle x hfail using hf + let s : ℕ → ℕ := Nat.rec (f 0) (fun _ a => f (a+1)) + have hs : StrictMono s := strictMono_nat_of_lt_succ (fun i => by + change s i < f (s i+1) + exact (Nat.lt_succ_self _).trans_le (hfle _)) + have hbad' : ∀ i, ∃ y, ¬ P (s i) y := by + intro i + cases i with + | zero => exact ⟨x 0,hfail 0⟩ + | succ i => exact ⟨x (s i+1),hfail (s i+1)⟩ + choose y hy using hbad' + obtain ⟨y₀,σ,hσ,hylim⟩ := CompactSpace.tendsto_subseq y + exact ⟨s ∘ σ,hs.comp hσ,y ∘ σ,y₀,hylim,fun i => hy (σ i)⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactTransform.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactTransform.lean new file mode 100644 index 0000000000000000000000000000000000000000..82ad0811caf5235e3f4849088aef7be0cd544ad6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCompactTransform.lean @@ -0,0 +1,37 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactSubsequence +import Mathlib.Topology.MetricSpace.UniformConvergence +import Mathlib.Topology.UniformSpace.UniformApproximation + +namespace OAI + +/-! Compactness preserves uniform limits under maps continuous at the limiting data. -/ + +open Filter +namespace DefocusingNLS + +theorem radial_compact_transform_limit {K E F : Type*} + [MetricSpace K] [CompactSpace K] [MetricSpace E] [MetricSpace F] + (f : ℕ → K → E) (g : K → E) (hg : Continuous g) + (hf : TendstoUniformly f g atTop) (T : K × E → F) + (hT : ∀ x, ContinuousAt T (x,g x)) : + TendstoUniformly (fun n x => T (x,f n x)) (fun x => T (x,g x)) atTop := by + classical + rw [Metric.tendstoUniformly_iff] + intro ε hε + by_contra h + obtain ⟨s,hs,x,x₀,hx,hbad⟩ := radial_compact_bad_subsequence + (fun n x => dist (T (x,g x)) (T (x,f n x)) < ε) h + have hsub : TendstoUniformly (fun i => f (s i)) g atTop := + fun u hu => hs.tendsto_atTop.eventually (hf u hu) + have hdata := hsub.tendsto_comp hg.continuousAt hx + have hactual := (hT x₀).tendsto.comp (hx.prodMk_nhds hdata) + have href := (hT x₀).tendsto.comp (hx.prodMk_nhds (hg.continuousAt.tendsto.comp hx)) + have hd : Tendsto (fun i => dist (T (x i,g (x i))) (T (x i,f (s i) (x i)))) atTop + (nhds 0) := by + simpa only [dist_self] using! href.dist hactual + obtain ⟨i,hi⟩ := (hd.eventually (gt_mem_nhds hε)).exists + exact hbad i hi + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexAverage.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexAverage.lean new file mode 100644 index 0000000000000000000000000000000000000000..858eba1418be7f3cdb25432dc3da43c3dc876d8b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexAverage.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexFlux +import Mathlib.MeasureTheory.Integral.DominatedConvergence +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + +namespace OAI + +/-! A nonsingular average form of the complex radial derivative. -/ + +open Set MeasureTheory intervalIntegral +namespace DefocusingNLS + +noncomputable def radialComplexAverage (k : ℕ) (a b : ℝ) (Q : ℝ → ℂ) (r : ℝ) : ℂ := + ∫ t in (0 : ℝ)..1, (t : ℂ)^11* + Complex.exp (Complex.I*(r^2*(t^2-1)/4 : ℝ))*radialComplexSource k a b (Q (r*t)) + +theorem radialComplexAverage_continuous (k : ℕ) (a b : ℝ) (Q : ℝ → ℂ) + (hQ : Continuous Q) : Continuous (radialComplexAverage k a b Q) := by + have hN := (contDiff_oddPowerNonlinearity k).continuous + apply continuous_parametric_intervalIntegral_of_continuous' _ 0 1 + unfold Function.uncurry radialComplexSource + fun_prop + +theorem radialComplexAverage_zero (k : ℕ) (a b : ℝ) (Q : ℝ → ℂ) : + radialComplexAverage k a b Q 0=radialComplexSource k a b (Q 0)/12 := by + simp only [radialComplexAverage,zero_pow (by norm_num : 2 ≠ 0),zero_mul,zero_div, + Complex.ofReal_zero,mul_zero,Complex.exp_zero,mul_one] + rw [intervalIntegral.integral_mul_const] + have hi : (∫ t in (0 : ℝ)..1, (t : ℂ)^11)=(1/12 : ℂ) := by + simp_rw [← Complex.ofReal_pow] + rw [intervalIntegral.integral_ofReal] + norm_num [integral_pow] + rw [hi] + ring + +theorem radialComplexAverage_scaling (k : ℕ) (a b r : ℝ) (Q : ℝ → ℂ) : + (r : ℂ)^12*Complex.exp (Complex.I*(r^2/4 : ℝ))*radialComplexAverage k a b Q r= + ∫ t in (0 : ℝ)..r, (t : ℂ)^11*Complex.exp (Complex.I*(t^2/4 : ℝ))* + radialComplexSource k a b (Q t) := by + let F : ℝ → ℂ := fun t => (t : ℂ)^11*Complex.exp (Complex.I*(t^2/4 : ℝ))* + radialComplexSource k a b (Q t) + have hs := intervalIntegral.smul_integral_comp_mul_left (a := 0) (b := 1) F r + simp only [mul_zero,mul_one,Complex.real_smul] at hs + have hfun : (fun t => F (r*t))=fun t : ℝ => + ((r : ℂ)^11*Complex.exp (Complex.I*(r^2/4 : ℝ)))* + ((t : ℂ)^11*Complex.exp (Complex.I*(r^2*(t^2-1)/4 : ℝ))* + radialComplexSource k a b (Q (r*t))) := by + funext t + have he : Complex.exp (Complex.I*((r*t)^2/4 : ℝ))= + Complex.exp (Complex.I*(r^2/4 : ℝ))* + Complex.exp (Complex.I*(r^2*(t^2-1)/4 : ℝ)) := by + rw [← Complex.exp_add] + congr 1 + push_cast + ring + dsimp only [F] + rw [he] + push_cast + ring + rw [hfun,intervalIntegral.integral_const_mul] at hs + rw [← hs] + dsimp only [radialComplexAverage] + ring + +theorem radialComplexDerivative_average (k : ℕ) (a b R : ℝ) (hR : 0 < R) + (Q : ℝ → ℂ) (hQ : ContinuousOn Q (Icc 0 R)) + (hD : ContinuousOn (deriv Q) (Icc 0 R)) + (hDD : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv Q) r) + (hEq : ∀ r ∈ Ioo 0 R, + deriv (deriv Q) r+(11/r : ℝ)*deriv Q r+ + Complex.I*((r/2 : ℝ)*deriv Q r+(a : ℂ)*Q r)+(b : ℂ)*Q r= + oddPowerNonlinearity k (Q r)) : + deriv Q R=(R : ℂ)*radialComplexAverage k a b Q R := by + have hh := (radialComplexFlux_integral k a b R hR Q hQ hD hDD hEq).trans + (radialComplexAverage_scaling k a b R Q).symm + have hR0 : (R : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hR.ne' + have hn : (R : ℂ)^11*Complex.exp (Complex.I*(R^2/4 : ℝ)) ≠ 0 := + mul_ne_zero (pow_ne_zero _ hR0) (Complex.exp_ne_zero _) + apply mul_left_cancel₀ hn + change radialComplexFlux Q R=_ + rw [hh] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryConvergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryConvergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..b791168339b9cbd4cfb882477e7bb250af08e045 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryConvergence.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialReconstructionConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCorePolarIdentification +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureStepConvergence + +namespace OAI + +/-! The actual complex boundary jet converges to the prescribed free matching data. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_complex_boundary_convergence (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l < R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) : + Tendsto (fun n => + let Q := radialPolar (H n) (radialPhase (P n).c (radialClampedAmplitude R (H n))) + (Q R,deriv Q R)) atTop (𝓝 (F R,G R)) := by + have hsub := radial_free_modulus_lt_one b l R hb hl hRu hlR.le hlwidth F G hFc hGc hFI hGI hB + obtain ⟨A,D,hA,hD,hTA,hTD,hcore,hDl,htail⟩ := radial_coupled_C1_core_convergence R l b hRlow hRu + hl hlR.le hlwidth hb F G hFc hGc hFI hGI hB (hsub R ⟨hlR,le_rfl⟩) P hR H hH hp hcT hbT hloT + have hAI : ∀ r ∈ Icc 0 R, A r ∈ Icc (999/1000 : ℝ) 1 := by + intro r hr + exact ⟨ge_of_tendsto' (hTA.tendsto_at hr) (fun n => + (P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1), + le_of_tendsto' (hTA.tendsto_at hr) (fun n => ((hH n).2.2.2.2.1 r hr).1.2)⟩ + have hAD : ∀ r ∈ Ioo 0 R, HasDerivAt A (D r) r := by + intro r hr + exact hasDerivAt_of_tendstoUniformlyOn isOpen_Ioo (hTD.mono Ioo_subset_Icc_self) + (Eventually.of_forall (fun n t _ => ((hH n).1 t).hasDerivAt)) + (fun t ht => hTA.tendsto_at ⟨ht.1.le,ht.2.le⟩) hr + have hfree := radial_inner_limit_free_equation R P hR H hH hp 6 b (by norm_num) hcT hbT + A D hA hD hAI hTA hTD + have hDE : ∀ r ∈ Ioo l R, HasDerivAt D (-11/r*D r-radialAmplitudePotential 6 b A r*A r) r := by + intro r hr + apply (hfree r ⟨by linarith [hr.1],hr.2⟩ _).2 + rw [htail ⟨hr.1.le,hr.2.le⟩] + exact hsub r ⟨hr.1,hr.2.le⟩ + have hid := radial_core_polar_identification R l b hl hlR hRu hlwidth hb A D hA hD + (fun r hr => lt_of_lt_of_le (by norm_num) (hAI r hr).1) hcore hDl + (fun r hr => hAD r ⟨by linarith [hr.1],hr.2⟩) hDE F G hFc hGc hFI hGI + have hconv := radial_reconstruction_C1_convergence R (by linarith) + (fun n => (P n).c) 6 (fun n => (P n).hc) hcT H A D (fun n => (hH n).1) hA hD + (fun n r hr => ⟨(P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1, + ((hH n).2.2.2.2.1 r hr).1.2⟩) hTA hTD + have hRmem : R ∈ Icc 0 R := ⟨by linarith,le_rfl⟩ + have hFlim := hconv.1.tendsto_at hRmem + have hGlim := hconv.2.tendsto_at hRmem + rw [hid.1 ⟨hlR.le,le_rfl⟩] at hFlim + rw [hid.2 ⟨hlR.le,le_rfl⟩] at hGlim + exact hFlim.prodMk_nhds hGlim + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..6b2e6754cd176f5d38be856ed04504a0b9c6601a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryEnergy.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarBoundary + +namespace OAI + +/-! The exact energy identity for complex spectral parameters. + +Four real functions encode the real and imaginary parts of the two independent +components. The imaginary spectral parameter cancels by Green symmetry. +-/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplexSpectral_energy_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R σ τ : ℝ) (hR : 0 ≤ R) + (q dq p dp : ℝ → ℝ) (hq : ContinuousOn q (Icc 0 R)) + (hdq : ContinuousOn dq (Icc 0 R)) (hp : ContinuousOn p (Icc 0 R)) + (hdp : ContinuousOn dp (Icc 0 R)) + (hq' : ∀ r ∈ Ioo 0 R, HasDerivAt q (dq r) r) + (hp' : ∀ r ∈ Ioo 0 R, HasDerivAt p (dp r) r) + (f : Fin 4 → ℝ → ℝ) (hf : ∀ j, ContDiff ℝ 2 (f j)) + (hsys : ∀ r ∈ Icc 0 R, + radialScalarAction n z q (f 0) r+radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 2) (f 3) r=0 ∧ + radialScalarAction n z q (f 1) r+radialMassDensity n z r* + radialSpectralTest n z σ τ (f 3) (f 2) r=0 ∧ + radialScalarAction n z p (f 2) r-radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 0) (f 1) r=0 ∧ + radialScalarAction n z p (f 3) r-radialMassDensity n z r* + radialSpectralTest n z σ τ (f 1) (f 0) r=0) : + (σ*radialScalarForm n z R q (f 0) (f 0)+radialScalarVirial n z R q dq (f 0)+ + radialSpectralBoundary n z R σ (-τ) q (f 0) (f 1))+ + (σ*radialScalarForm n z R q (f 1) (f 1)+radialScalarVirial n z R q dq (f 1)+ + radialSpectralBoundary n z R σ τ q (f 1) (f 0))+ + (σ*radialScalarForm n z R p (f 2) (f 2)+radialScalarVirial n z R p dp (f 2)+ + radialSpectralBoundary n z R σ (-τ) p (f 2) (f 3))+ + (σ*radialScalarForm n z R p (f 3) (f 3)+radialScalarVirial n z R p dp (f 3)+ + radialSpectralBoundary n z R σ τ p (f 3) (f 2))=0 := by + let T0 := radialSpectralTest n z σ (-τ) (f 0) (f 1) + let T1 := radialSpectralTest n z σ τ (f 1) (f 0) + let T2 := radialSpectralTest n z σ (-τ) (f 2) (f 3) + let T3 := radialSpectralTest n z σ τ (f 3) (f 2) + let A0 := radialScalarAction n z q (f 0) + let A1 := radialScalarAction n z q (f 1) + let A2 := radialScalarAction n z p (f 2) + let A3 := radialScalarAction n z p (f 3) + have hTi (i j : Fin 4) (s t : ℝ) (u : ℝ → ℝ) (hu : ContinuousOn u (Icc 0 R)) : + IntervalIntegrable (fun r => radialSpectralTest n z s t (f i) (f j) r* + radialScalarAction n z u (f i) r) MeasureTheory.volume 0 R := + ((radialSpectralTest_continuousOn n z hX hz R s t (f i) (f j) (hf i) + ((hf j).of_le (by norm_num))).mul + (radialScalarAction_continuousOn n z hX hz R u (f i) hu (hf i))).intervalIntegrable_of_Icc hR + have h0 := hTi 0 1 σ (-τ) q hq + have h1 := hTi 1 0 σ τ q hq + have h2 := hTi 2 3 σ (-τ) p hp + have h3 := hTi 3 2 σ τ p hp + have he : (∫ r in (0 : ℝ)..R, + (T0 r*A0 r+T1 r*A1 r)+(T2 r*A2 r+T3 r*A3 r))=0 := by + calc + _ = ∫ _r in (0 : ℝ)..R, (0 : ℝ) := by + apply intervalIntegral.integral_congr + intro r hr + rw [uIcc_of_le hR] at hr + obtain ⟨hA,hB,hC,hD⟩ := hsys r hr + exact radialSkewPair_cancellation _ _ _ _ _ _ _ _ _ hA hB hC hD + _ = 0 := by simp + rw [intervalIntegral.integral_add (h0.add h1) (h2.add h3), + intervalIntegral.integral_add h0 h1,intervalIntegral.integral_add h2 h3] at he + rw [radialScalarForm_spectralTest_boundary n z hX hz R σ (-τ) hR q dq (f 0) (f 1) + hq hdq hq' (hf 0) ((hf 1).of_le (by norm_num)), + radialScalarForm_spectralTest_boundary n z hX hz R σ τ hR q dq (f 1) (f 0) + hq hdq hq' (hf 1) ((hf 0).of_le (by norm_num)), + radialScalarForm_spectralTest_boundary n z hX hz R σ (-τ) hR p dp (f 2) (f 3) + hp hdp hp' (hf 2) ((hf 3).of_le (by norm_num)), + radialScalarForm_spectralTest_boundary n z hX hz R σ τ hR p dp (f 3) (f 2) + hp hdp hp' (hf 3) ((hf 2).of_le (by norm_num)), + radialScalarForm_symm n z R q (f 1) (f 0), + radialScalarForm_symm n z R p (f 3) (f 2)] at he + linear_combination he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryFormula.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryFormula.lean new file mode 100644 index 0000000000000000000000000000000000000000..52fce8e5ebf92227e4898a995681ff53ce2701a4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexBoundaryFormula.lean @@ -0,0 +1,24 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexVirial + +namespace OAI + +/-! The summed real boundary forms have the usual complex norm expression. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplexAngularBoundary_eq (n : ℕ) (z : ProfileMatchingBall) + (eta R s : ℝ) (q : ℝ → ℝ) (f : ℝ → ℂ) (hf : Differentiable ℝ f) : + radialComplexAngularBoundary n z eta R s q f = + (radialMassFlux n z R/2)*(q R*‖f R‖^2-‖deriv f R‖^2)- + radialMassDensity n z R*s*(star (f R)*deriv f R).re+ + (eta*radialAngularDensity n z R*radialMatchedVelocity n z R/2)*‖f R‖^2 := by + unfold radialComplexAngularBoundary radialAngularScalarBoundary radialSpectralBoundary radialAngularBoundary + rw [radialComplex_deriv_re f hf,radialComplex_deriv_im f hf] + simp only [Complex.mul_re,Complex.star_def,Complex.conj_re,Complex.conj_im, + Complex.sq_norm,Complex.normSq_apply] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexConvergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexConvergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..abde235946dcb2997eec5a7f8287307a5195a2e3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexConvergence.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhaseConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolarJet +import Mathlib.Topology.UniformSpace.UniformConvergenceTopology + +namespace OAI + +/-! Uniform convergence of the actual complex amplitude-phase jets. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_uniform_complex_product (R : ℝ) (f g : ℕ → ℝ → ℂ) (F G : ℝ → ℂ) + (hf : TendstoUniformlyOn f F atTop (Icc 0 R)) + (hg : TendstoUniformlyOn g G atTop (Icc 0 R)) + (hF : ContinuousOn F (Icc 0 R)) (hG : ContinuousOn G (Icc 0 R)) : + TendstoUniformlyOn (fun n r => f n r*g n r) (fun r => F r*G r) atTop (Icc 0 R) := by + exact (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact isCompact_Icc).mp + (hf.tendstoLocallyUniformlyOn.mul₀ hg.tendstoLocallyUniformlyOn hF hG) + +theorem radial_uniform_ofReal {s : Set ℝ} (f : ℕ → ℝ → ℝ) (F : ℝ → ℝ) + (h : TendstoUniformlyOn f F atTop s) : + TendstoUniformlyOn (fun n r => (f n r : ℂ)) (fun r => (F r : ℂ)) atTop s := by + exact Complex.isometry_ofReal.uniformContinuous.comp_tendstoUniformlyOn h + +theorem radial_uniform_phase_exp {s : Set ℝ} (f : ℕ → ℝ → ℝ) (F : ℝ → ℝ) + (h : TendstoUniformlyOn f F atTop s) : + TendstoUniformlyOn (fun n r => Complex.exp (Complex.I*(f n r : ℂ))) + (fun r => Complex.exp (Complex.I*(F r : ℂ))) atTop s := by + have hi : Isometry (fun t : ℝ => Complex.I*(t : ℂ)) := by + rw [isometry_iff_dist_eq] + intro x y + simp only [dist_eq_norm,← mul_sub,← Complex.ofReal_sub,norm_mul,Complex.norm_I, + one_mul,Complex.norm_real,Real.norm_eq_abs] + exact UniformContinuousOn.comp_tendstoUniformlyOn_eventually + (Eventually.of_forall (fun _ _ _ => by simp)) (fun _ _ => by simp) + (UniformContinuousOn.cexp 0) (hi.uniformContinuous.comp_tendstoUniformlyOn h) + +theorem radial_polar_jet_uniform (R : ℝ) (H J v φ : ℕ → ℝ → ℝ) (A D w ψ : ℝ → ℝ) + (hA : Continuous A) (hD : Continuous D) (hw : ContinuousOn w (Icc 0 R)) (hψ : Continuous ψ) + (hH : TendstoUniformlyOn H A atTop (Icc 0 R)) + (hJ : TendstoUniformlyOn J D atTop (Icc 0 R)) + (hv : TendstoUniformlyOn v w atTop (Icc 0 R)) + (hφ : TendstoUniformlyOn φ ψ atTop (Icc 0 R)) : + TendstoUniformlyOn (fun n => radialPolar (H n) (φ n)) (radialPolar A ψ) atTop (Icc 0 R) ∧ + TendstoUniformlyOn (fun n => radialPolarSlope (H n) (J n) (v n) (φ n)) + (radialPolarSlope A D w ψ) atTop (Icc 0 R) := by + have he := radial_uniform_phase_exp φ ψ hφ + have hEc : Continuous (fun r => Complex.exp (Complex.I*(ψ r : ℂ))) := by fun_prop + have hAc : Continuous (fun r => (A r : ℂ)) := Complex.continuous_ofReal.comp hA + have hDc : Continuous (fun r => (D r : ℂ)) := Complex.continuous_ofReal.comp hD + have hwc : ContinuousOn (fun r => (w r : ℂ)) (Icc 0 R) := Complex.continuous_ofReal.comp_continuousOn hw + have hI : TendstoUniformlyOn (fun _ : ℕ => fun _ : ℝ => Complex.I) (fun _ => Complex.I) + atTop (Icc 0 R) := by + rw [Metric.tendstoUniformlyOn_iff] + exact fun ε hε => Eventually.of_forall (fun _ _ _ => by simpa only [dist_self] using hε) + have hIA := radial_uniform_complex_product R _ _ _ _ hI (radial_uniform_ofReal H A hH) + continuousOn_const hAc.continuousOn + have hIAw := radial_uniform_complex_product R _ _ _ _ hIA (radial_uniform_ofReal v w hv) + (continuous_const.mul hAc).continuousOn hwc + exact ⟨radial_uniform_complex_product R _ _ _ _ (radial_uniform_ofReal H A hH) he + hAc.continuousOn hEc.continuousOn, + radial_uniform_complex_product R _ _ _ _ ((radial_uniform_ofReal J D hJ).add hIAw) he + (hDc.continuousOn.add ((continuous_const.mul hAc).continuousOn.mul hwc)) hEc.continuousOn⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexCoreConvergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexCoreConvergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..73a63ff2a79033d31c97580a7988089247f9f533 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexCoreConvergence.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexBoundaryConvergence + +namespace OAI + +/-! The actual inner profiles converge in C1 to one on the core and the free IVP on the tail. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_complex_C1_convergence (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l < R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) : + TendstoUniformlyOn + (fun n => radialPolar (H n) (radialPhase (P n).c (radialClampedAmplitude R (H n)))) + (fun r => if r ≤ l then 1 else F r) atTop (Icc 0 R) ∧ + TendstoUniformlyOn + (fun n => deriv (radialPolar (H n) (radialPhase (P n).c (radialClampedAmplitude R (H n))))) + (fun r => if r ≤ l then 0 else G r) atTop (Icc 0 R) := by + have hsub := radial_free_modulus_lt_one b l R hb hl hRu hlR.le hlwidth F G hFc hGc hFI hGI hB + obtain ⟨A,D,hA,hD,hTA,hTD,hcore,hDl,htail⟩ := radial_coupled_C1_core_convergence R l b hRlow hRu + hl hlR.le hlwidth hb F G hFc hGc hFI hGI hB (hsub R ⟨hlR,le_rfl⟩) P hR H hH hp hcT hbT hloT + have hAI : ∀ r ∈ Icc 0 R, A r ∈ Icc (999/1000 : ℝ) 1 := by + intro r hr + exact ⟨ge_of_tendsto' (hTA.tendsto_at hr) (fun n => + (P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1), + le_of_tendsto' (hTA.tendsto_at hr) (fun n => ((hH n).2.2.2.2.1 r hr).1.2)⟩ + have hAD : ∀ r ∈ Ioo 0 R, HasDerivAt A (D r) r := by + intro r hr + exact hasDerivAt_of_tendstoUniformlyOn isOpen_Ioo (hTD.mono Ioo_subset_Icc_self) + (Eventually.of_forall (fun n t _ => ((hH n).1 t).hasDerivAt)) + (fun t ht => hTA.tendsto_at ⟨ht.1.le,ht.2.le⟩) hr + have hfree := radial_inner_limit_free_equation R P hR H hH hp 6 b (by norm_num) hcT hbT + A D hA hD hAI hTA hTD + have hDE : ∀ r ∈ Ioo l R, HasDerivAt D (-11/r*D r-radialAmplitudePotential 6 b A r*A r) r := by + intro r hr + apply (hfree r ⟨by linarith [hr.1],hr.2⟩ _).2 + rw [htail ⟨hr.1.le,hr.2.le⟩] + exact hsub r ⟨hr.1,hr.2.le⟩ + have hid := radial_core_polar_identification R l b hl hlR hRu hlwidth hb A D hA hD + (fun r hr => lt_of_lt_of_le (by norm_num) (hAI r hr).1) hcore hDl + (fun r hr => hAD r ⟨by linarith [hr.1],hr.2⟩) hDE F G hFc hGc hFI hGI + have hconv := radial_reconstruction_C1_convergence R (by linarith) + (fun n => (P n).c) 6 (fun n => (P n).hc) hcT H A D (fun n => (hH n).1) hA hD + (fun n r hr => ⟨(P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1, + ((hH n).2.2.2.2.1 r hr).1.2⟩) hTA hTD + have hDzero := radial_plateau_derivative_zero l (by linarith) A D hD hcore + (fun r hr => hAD r ⟨hr.1,hr.2.trans hlR⟩) + constructor + · apply hconv.1.congr_right + intro r hr + dsimp only + by_cases hrl : r ≤ l + · have hr' : r ∈ Icc 0 l := ⟨hr.1,hrl⟩ + simp only [hrl,ite_true] + dsimp [radialPolar] + rw [hcore hr',radial_phase_zero_on_plateau R l (by linarith) hlR.le A hcore r hr'] + simp + · simp only [hrl,ite_false] + exact hid.1 ⟨(not_le.mp hrl).le,hr.2⟩ + · apply hconv.2.congr_right + intro r hr + dsimp only + by_cases hrl : r ≤ l + · have hr' : r ∈ Icc 0 l := ⟨hr.1,hrl⟩ + simp only [hrl,ite_true] + dsimp [radialPolarSlope,radialPhaseSpeed] + rw [hDzero hr',radial_velocity_on_plateau l A hcore r hr'] + simp + · simp only [hrl,ite_false] + exact hid.2 ⟨(not_le.mp hrl).le,hr.2⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexDilationIdentity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexDilationIdentity.lean new file mode 100644 index 0000000000000000000000000000000000000000..eb14f1230fff518aa75fd59399ae98fb150770a4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexDilationIdentity.lean @@ -0,0 +1,114 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexVirial +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexGaugeAction +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralDilationPairing + +namespace OAI + +/-! The actual coupled eigenvalue equation tested against the shifted dilation. +The bulk scalar forms retain their exact outer boundary contribution. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialComplexDilationPairing (n : ℕ) (z : ProfileMatchingBall) + (R s : ℝ) (f g : ℝ → ℂ) : ℂ := + ∫ r in (0 : ℝ)..R, (radialMassDensity n z r : ℂ)* + spectralDilationCross (radialMatchedVelocity n z r) s (f r) (g r) (deriv f r) (deriv g r) + +theorem radialMatched_complex_dilation_identity (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta R s : ℝ) (hR : 0 ≤ R) (lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (eta : ℂ) lam f g) : + (s*radialComplexAngularForm n z eta R (radialSpectralPressure n z) f+ + radialComplexAngularVirial n z eta R (radialSpectralPressure n z) (deriv (radialSpectralPressure n z)) f+ + radialComplexAngularBoundary n z eta R s (radialSpectralPressure n z) f)+ + (s*radialComplexAngularForm n z eta R (fun _ => 0) g+ + radialComplexAngularVirial n z eta R (fun _ => 0) (fun _ => 0) g+ + radialComplexAngularBoundary n z eta R s (fun _ => 0) g) = + ((lam-(s : ℂ))*radialComplexDilationPairing n z R s f g).re := by + have hq := (radialSpectralPressure_continuous n z hX hz).continuousOn (s := Icc 0 R) + have hdq := radialSpectralPressure_deriv_continuousOn n z hX hz R + have hF := radialComplexAngular_virial_identity n z hX hz eta R s hR _ _ hq hdq + (fun r _ => radialSpectralPressure_hasDerivAt n z hX hz r) f hf + have hG := radialComplexAngular_virial_identity n z hX hz eta R s hR + (fun _ => 0) (fun _ => 0) continuousOn_const continuousOn_const + (fun r _ => hasDerivAt_const r 0) g hg + let I := fun r : ℝ => (radialMassDensity n z r : ℂ)* + spectralDilationCross (radialMatchedVelocity n z r) s (f r) (g r) (deriv f r) (deriv g r) + have hfc := hf.continuous + have hgc := hg.continuous + have hdf := hf.continuous_deriv (by norm_num) + have hdg := hg.continuous_deriv (by norm_num) + have hddf := (hf.deriv' (n := 1)).continuous_deriv (by norm_num) + have hddg := (hg.deriv' (n := 1)).continuous_deriv (by norm_num) + have hm := (radialMassDensity_continuous n z hX hz).continuousOn (s := Icc 0 R) + have hms := radialMassSlope_continuousOn n z hX hz R + have hw := radialMatchedVelocity_continuousOn n z hX hz R + have ha := (radialAngularDensity_continuous n z hX hz).continuousOn (s := Icc 0 R) + have hIc : ContinuousOn I (Icc 0 R) := by dsimp only [I,spectralDilationCross]; fun_prop + have hAF : ContinuousOn (radialComplexAngularAction n z eta (radialSpectralPressure n z) f) (Icc 0 R) := by + change ContinuousOn (fun r => -(radialMassDensity n z r : ℂ)*deriv (deriv f) r- + (radialMassSlope n z r : ℂ)*deriv f r+ + (radialMassDensity n z r*radialSpectralPressure n z r+eta*radialAngularDensity n z r : ℝ)*f r) (Icc 0 R) + fun_prop + have hAG : ContinuousOn (radialComplexAngularAction n z eta (fun _ => 0) g) (Icc 0 R) := by + change ContinuousOn (fun r => -(radialMassDensity n z r : ℂ)*deriv (deriv g) r- + (radialMassSlope n z r : ℂ)*deriv g r+ + (radialMassDensity n z r*0+eta*radialAngularDensity n z r : ℝ)*g r) (Icc 0 R) + fun_prop + have hTF : ContinuousOn (radialComplexTest n z s f) (Icc 0 R) := by + change ContinuousOn (fun r => (s : ℂ)*f r+(radialMatchedVelocity n z r : ℂ)*deriv f r) (Icc 0 R) + fun_prop + have hTG : ContinuousOn (radialComplexTest n z s g) (Icc 0 R) := by + change ContinuousOn (fun r => (s : ℂ)*g r+(radialMatchedVelocity n z r : ℂ)*deriv g r) (Icc 0 R) + fun_prop + have hFI : IntervalIntegrable (fun r => (star (radialComplexTest n z s f r)* + radialComplexAngularAction n z eta (radialSpectralPressure n z) f r).re) volume 0 R := + (Complex.continuous_re.comp_continuousOn (hTF.star.mul hAF)).intervalIntegrable_of_Icc hR + have hGI : IntervalIntegrable (fun r => (star (radialComplexTest n z s g r)* + radialComplexAngularAction n z eta (fun _ => 0) g r).re) volume 0 R := + (Complex.continuous_re.comp_continuousOn (hTG.star.mul hAG)).intervalIntegrable_of_Icc hR + rw [← hF,← hG,← intervalIntegral.integral_add hFI hGI] + have hpoint r (hr : r ∈ Icc 0 R) : + (star (radialComplexTest n z s f r)*radialComplexAngularAction n z eta (radialSpectralPressure n z) f r).re+ + (star (radialComplexTest n z s g r)*radialComplexAngularAction n z eta (fun _ => 0) g r).re = + ((lam-(s : ℂ))*I r).re := by + by_cases hr0 : r=0 + · simp [hr0,I,radialComplexAngularAction,radialMassDensity,radialMassSlope,radialAngularDensity] + · obtain ⟨hAf,hAg⟩ := radialMatched_complex_action n z hX hz eta lam f g hf hg he r + (lt_of_le_of_ne hr.1 (Ne.symm hr0)) + rw [hAf,hAg,← Complex.add_re] + dsimp only [radialComplexTest,I] + rw [show star ((s : ℂ)*f r+(radialMatchedVelocity n z r : ℂ)*deriv f r)* + (-(radialMassDensity n z r : ℂ)*(lam*g r+(radialMatchedVelocity n z r : ℂ)*deriv g r))+ + star ((s : ℂ)*g r+(radialMatchedVelocity n z r : ℂ)*deriv g r)* + ((radialMassDensity n z r : ℂ)*(lam*f r+(radialMatchedVelocity n z r : ℂ)*deriv f r)) = + (radialMassDensity n z r : ℂ)*(star ((s : ℂ)*f r+(radialMatchedVelocity n z r : ℂ)*deriv f r)* + (-lam*g r-(radialMatchedVelocity n z r : ℂ)*deriv g r)+ + star ((s : ℂ)*g r+(radialMatchedVelocity n z r : ℂ)*deriv g r)* + (lam*f r+(radialMatchedVelocity n z r : ℂ)*deriv f r)) by ring] + rw [Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero, + spectralDilationCross_skew] + rw [show (lam-(s : ℂ))*((radialMassDensity n z r : ℂ)* + spectralDilationCross (radialMatchedVelocity n z r) s (f r) (g r) (deriv f r) (deriv g r)) = + (radialMassDensity n z r : ℂ)*((lam-(s : ℂ))* + spectralDilationCross (radialMatchedVelocity n z r) s (f r) (g r) (deriv f r) (deriv g r)) by ring] + simp only [Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero] + have hIint := hIc.intervalIntegrable_of_Icc (μ := volume) hR + have hRe : (∫ r in (0 : ℝ)..R, ((lam-(s : ℂ))*I r).re) = + ((∫ r in (0 : ℝ)..R, (lam-(s : ℂ))*I r)).re := + Complex.reCLM.intervalIntegral_comp_comm (hIint.const_mul _) + calc + _ = ∫ r in (0 : ℝ)..R, ((lam-(s : ℂ))*I r).re := by + apply intervalIntegral.integral_congr + intro r hr + exact hpoint r (by simpa only [uIcc_of_le hR] using hr) + _ = _ := by rw [hRe,intervalIntegral.integral_const_mul]; rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..9937f2508a8cf63b8ced3ad1ec3d0bd689ced794 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexEnergy.lean @@ -0,0 +1,40 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexVirial +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularScalarEstimates +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralComplexWeightedSquare + +namespace OAI + +/-! The zero-pressure complex form is the nonnegative radial-plus-angular +energy appearing in the normalized spectral contradiction. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplexAngularForm_zero_nonneg (n : ℕ) (z : ProfileMatchingBall) + (eta R : ℝ) (he : 0 ≤ eta) (hR : 0 ≤ R) (f : ℝ → ℂ) : + 0 ≤ radialComplexAngularForm n z eta R (fun _ => 0) f := by + exact add_nonneg (radialAngularScalarForm_nonneg n z eta R he hR _ _ (by simp)) + (radialAngularScalarForm_nonneg n z eta R he hR _ _ (by simp)) + +theorem radialComplexAngularForm_zero_eq (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta R : ℝ) (f : ℝ → ℂ) (hf : ContDiff ℝ 1 f) : + radialComplexAngularForm n z eta R (fun _ => 0) f = + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖deriv f r‖^2)+ + eta*(∫ r in (0 : ℝ)..R, radialAngularDensity n z r*‖f r‖^2) := by + have hd := spectralComplex_integral_sq R (radialMassDensity n z) (deriv f) + (radialMassDensity_continuous n z hX hz) hf.continuous_deriv_one + have hv := spectralComplex_integral_sq R (radialAngularDensity n z) f + (radialAngularDensity_continuous n z hX hz) hf.continuous + unfold radialComplexAngularForm radialAngularScalarForm + rw [radialScalarForm_diag,radialScalarForm_diag,radialAngularForm_diag,radialAngularForm_diag, + radialComplex_deriv_re f (hf.differentiable (by norm_num)), + radialComplex_deriv_im f (hf.differentiable (by norm_num))] + simp only [mul_zero,zero_mul,intervalIntegral.integral_zero,add_zero] + linear_combination hd+eta*hv + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexEnergySplit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexEnergySplit.lean new file mode 100644 index 0000000000000000000000000000000000000000..e80e7403639bd0c64cd60491da133ee208cfea0e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexEnergySplit.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexEnergy +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialGaugeEnergy + +namespace OAI + +/-! The full weighted H1/angular normalization splits exactly into its +zero-pressure gradient form and the two weighted value masses. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplexEnergy_one_split (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta R : ℝ) (f : ℝ → ℂ) (hf : ContDiff ℝ 1 f) : + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*(‖f r‖^2+‖deriv f r‖^2)+ + eta*radialAngularDensity n z r*‖f r‖^2) = + radialComplexAngularForm n z eta R (fun _ => 0) f+ + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖f r‖^2) := by + have hM := radialMassDensity_continuous n z hX hz + have hK := radialAngularDensity_continuous n z hX hz + have hv : IntervalIntegrable (fun r => radialMassDensity n z r*‖f r‖^2) volume 0 R := + (hM.mul (hf.continuous.norm.pow 2)).intervalIntegrable 0 R + have hd : IntervalIntegrable (fun r => radialMassDensity n z r*‖deriv f r‖^2) volume 0 R := + (hM.mul (hf.continuous_deriv_one.norm.pow 2)).intervalIntegrable 0 R + have ha : IntervalIntegrable (fun r => radialAngularDensity n z r*‖f r‖^2) volume 0 R := + (hK.mul (hf.continuous.norm.pow 2)).intervalIntegrable 0 R + rw [radialComplexAngularForm_zero_eq n z hX hz eta R f hf] + calc + _ = ∫ r in (0 : ℝ)..R, (radialMassDensity n z r*‖f r‖^2+ + radialMassDensity n z r*‖deriv f r‖^2)+eta*(radialAngularDensity n z r*‖f r‖^2) := by + apply intervalIntegral.integral_congr + intro r _ + ring + _ = _ := by + rw [intervalIntegral.integral_add (hv.add hd) (ha.const_mul eta), + intervalIntegral.integral_add hv hd,intervalIntegral.integral_const_mul] + ring + +theorem radialComplexEnergy_split (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta R : ℝ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 1 f) (hg : ContDiff ℝ 1 g) : + (∫ r in (0 : ℝ)..R, radialMatchedMassFunction n z r*spectralRadialEnergyDensity eta f g r) = + (radialComplexAngularForm n z eta R (fun _ => 0) f+ + radialComplexAngularForm n z eta R (fun _ => 0) g)+ + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖f r‖^2)+ + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖g r‖^2) := by + have hM := radialMassDensity_continuous n z hX hz + have hK := radialAngularDensity_continuous n z hX hz + have hi (u : ℝ → ℂ) (hu : ContDiff ℝ 1 u) : IntervalIntegrable (fun r => + radialMassDensity n z r*(‖u r‖^2+‖deriv u r‖^2)+eta*radialAngularDensity n z r*‖u r‖^2) volume 0 R := by + have hd := hu.continuous_deriv_one + have hc := hu.continuous + apply Continuous.intervalIntegrable + fun_prop + calc + _ = ∫ r in (0 : ℝ)..R, + (radialMassDensity n z r*(‖f r‖^2+‖deriv f r‖^2)+eta*radialAngularDensity n z r*‖f r‖^2)+ + (radialMassDensity n z r*(‖g r‖^2+‖deriv g r‖^2)+eta*radialAngularDensity n z r*‖g r‖^2) := by + apply intervalIntegral.integral_congr + intro r _ + dsimp only [radialMassDensity,radialAngularDensity,radialMatchedMassFunction, + spectralRadialEnergyDensity,spectralCoordinateEnergy] + ring + _ = _ := by + rw [intervalIntegral.integral_add (hi f hf) (hi g hg), + radialComplexEnergy_one_split n z hX hz eta R f hf, + radialComplexEnergy_one_split n z hX hz eta R g hg] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexFlux.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexFlux.lean new file mode 100644 index 0000000000000000000000000000000000000000..95971ba0e9599be199d75a6d3c75dcde6b2fff1b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexFlux.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialStationaryField +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus +import Mathlib.Analysis.Complex.RealDeriv + +namespace OAI + +/-! The regular complex radial flux identity, including its vanishing endpoint at zero. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +noncomputable def radialComplexSource (k : ℕ) (a b : ℝ) (z : ℂ) : ℂ := + oddPowerNonlinearity k z-((b : ℂ)+Complex.I*(a : ℂ))*z + +noncomputable def radialComplexFlux (Q : ℝ → ℂ) (r : ℝ) : ℂ := + (r : ℂ)^11*Complex.exp (Complex.I*(r^2/4 : ℝ))*deriv Q r + +theorem radialComplexFlux_hasDerivAt (k : ℕ) (a b r : ℝ) (hr : 0 < r) + (Q : ℝ → ℂ) (hD : DifferentiableAt ℝ (deriv Q) r) + (hEq : deriv (deriv Q) r+(11/r : ℝ)*deriv Q r+ + Complex.I*((r/2 : ℝ)*deriv Q r+(a : ℂ)*Q r)+(b : ℂ)*Q r= + oddPowerNonlinearity k (Q r)) : + HasDerivAt (radialComplexFlux Q) + ((r : ℂ)^11*Complex.exp (Complex.I*(r^2/4 : ℝ))*radialComplexSource k a b (Q r)) r := by + have hs : HasDerivAt (fun t : ℝ => t^2/4) (r/2) r := by + convert ((hasDerivAt_id r).pow 2).div_const 4 using 1 + · rfl + · dsimp only [id_eq] + ring + have he := (hs.ofReal_comp.const_mul Complex.I).cexp + have hh := (((hasDerivAt_id r).ofReal_comp.pow 11).mul he).mul hD.hasDerivAt + change HasDerivAt (radialComplexFlux Q) _ r at hh + apply hh.congr_deriv + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr.ne' + have hEq' : deriv (deriv Q) r=radialComplexSource k a b (Q r)- + (11/r : ℝ)*deriv Q r-Complex.I*(r/2 : ℝ)*deriv Q r := by + unfold radialComplexSource + linear_combination hEq + rw [hEq'] + dsimp only [Pi.pow_apply,Pi.mul_apply,id_eq] + push_cast + field_simp + ring + +theorem radialComplexFlux_integral (k : ℕ) (a b R : ℝ) (hR : 0 < R) + (Q : ℝ → ℂ) (hQ : ContinuousOn Q (Icc 0 R)) + (hD : ContinuousOn (deriv Q) (Icc 0 R)) + (hDD : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv Q) r) + (hEq : ∀ r ∈ Ioo 0 R, + deriv (deriv Q) r+(11/r : ℝ)*deriv Q r+ + Complex.I*((r/2 : ℝ)*deriv Q r+(a : ℂ)*Q r)+(b : ℂ)*Q r= + oddPowerNonlinearity k (Q r)) : + radialComplexFlux Q R= + ∫ r in 0..R, (r : ℂ)^11*Complex.exp (Complex.I*(r^2/4 : ℝ))* + radialComplexSource k a b (Q r) := by + have hF : ContinuousOn (radialComplexFlux Q) (Icc 0 R) := by + unfold radialComplexFlux + fun_prop + have hS : ContinuousOn (fun r : ℝ => (r : ℂ)^11*Complex.exp (Complex.I*(r^2/4 : ℝ))* + radialComplexSource k a b (Q r)) (Icc 0 R) := by + have hN := (contDiff_oddPowerNonlinearity k).continuous.comp_continuousOn hQ + unfold radialComplexSource + fun_prop + have hh := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hR.le hF + (fun r hr => radialComplexFlux_hasDerivAt k a b r hr.1 Q (hDD r hr) (hEq r hr)) + (ContinuousOn.intervalIntegrable_of_Icc hR.le hS) + simpa only [radialComplexFlux,Complex.ofReal_zero,zero_pow (by norm_num : 11 ≠ 0),zero_mul,sub_zero] using hh.symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexGaugeAction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexGaugeAction.lean new file mode 100644 index 0000000000000000000000000000000000000000..124936dd22f282c50458e2ac3ec36b243ff20c5b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexGaugeAction.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexScalarAction +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeFlux +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralPressureCalculus + +namespace OAI + +/-! Actual gauge eigenmodes satisfy the regular complex scalar equations, +with the exact mass density and transport field used by the virial form. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_complex_flux_eq (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (f g : ℝ → ℂ) (r : ℝ) (hr : 0 ≤ r) : + spectralGaugeFirstFlux (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g r = + (radialMassDensity n z r : ℂ)*deriv f r-(radialMassFlux n z r : ℂ)*g r ∧ + spectralGaugeSecondFlux (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g r = + (radialMassDensity n z r : ℂ)*deriv g r+(radialMassFlux n z r : ℂ)*f r := by + have hm : r^11*radialMatchedTransportFunction n z r=radialMassFlux n z r := by + rw [radialMassFlux_eq n z hX hz r hr] + congr 1 + exact (radialMatchedWeightedFlux_average_nonneg n z hX hz r hr).symm + have hmc := congrArg (fun x : ℝ => (x : ℂ)) hm + push_cast at hmc + constructor + · dsimp only [spectralGaugeFirstFlux,radialMassDensity,radialMatchedMassFunction] + push_cast + rw [← hmc] + ring + · dsimp only [spectralGaugeSecondFlux,radialMassDensity,radialMatchedMassFunction] + push_cast + rw [← hmc] + ring + +theorem radialMatched_complex_action (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta : ℝ) (lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (eta : ℂ) lam f g) (r : ℝ) (hr : 0 < r) : + radialComplexAngularAction n z eta (radialSpectralPressure n z) f r = + -(radialMassDensity n z r : ℂ)*(lam*g r+(radialMatchedVelocity n z r : ℂ)*deriv g r) ∧ + radialComplexAngularAction n z eta (fun _ => 0) g r = + (radialMassDensity n z r : ℂ)*(lam*f r+(radialMatchedVelocity n z r : ℂ)*deriv f r) := by + have hm := (radialMassDensity_hasDerivAt n z hX hz r).ofReal_comp + have hw := (radialMassFlux_hasDerivAt n z hX hz r hr).ofReal_comp + have hdf : DifferentiableAt ℝ (deriv f) r := (hf.deriv' (n := 1)).differentiable (by norm_num) r + have hdg : DifferentiableAt ℝ (deriv g) r := (hg.deriv' (n := 1)).differentiable (by norm_num) r + have hF := (hm.mul hdf.hasDerivAt).sub (hw.mul (hg.differentiable (by norm_num) r).hasDerivAt) + have hG := (hm.mul hdg.hasDerivAt).add (hw.mul (hf.differentiable (by norm_num) r).hasDerivAt) + have heqF : spectralGaugeFirstFlux (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g + =ᶠ[𝓝 r] (fun t => (radialMassDensity n z t : ℂ)*deriv f t-(radialMassFlux n z t : ℂ)*g t) := by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact (radialMatched_complex_flux_eq n z hX hz f g t ht.le).1 + have heqG : spectralGaugeSecondFlux (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g + =ᶠ[𝓝 r] (fun t => (radialMassDensity n z t : ℂ)*deriv g t+(radialMassFlux n z t : ℂ)*f t) := by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact (radialMatched_complex_flux_eq n z hX hz f g t ht.le).2 + obtain ⟨hFs,hGs⟩ := radialMatchedGauge_flux n z hX hz (eta : ℂ) lam f g hf hg he r hr + have hfirst := (hF.congr_of_eventuallyEq heqF).unique hFs + have hsecond := (hG.congr_of_eventuallyEq heqG).unique hGs + have hp : radialSpectralPressure n z r= + 2*((n+radialInnerShootingThreshold : ℕ) : ℝ)*‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold)) := by + dsimp only [radialSpectralPressure,radialShootingA] + simp only [div_eq_mul_inv,mul_inv_rev,inv_inv] + ring + constructor + · dsimp only [radialComplexAngularAction] + rw [hp] + dsimp only [radialMatchedGaugeFirstSource,radialMassDensity,radialMassFlux, + radialMatchedMassFunction,radialAngularDensity] at hfirst ⊢ + dsimp only [radialMatchedVelocity] at * + push_cast at hfirst ⊢ + linear_combination -hfirst + · dsimp only [radialComplexAngularAction] + dsimp only [radialMatchedGaugeSecondSource,radialMassDensity,radialMassFlux, + radialMatchedMassFunction,radialAngularDensity] at hsecond ⊢ + dsimp only [radialMatchedVelocity] at * + push_cast at hsecond ⊢ + linear_combination -hsecond + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexScalarAction.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexScalarAction.lean new file mode 100644 index 0000000000000000000000000000000000000000..fc019c0e06fb74d7451f9d8361abdf0ca352fd70 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexScalarAction.lean @@ -0,0 +1,70 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAngularScalar + +namespace OAI + +/-! Complexification of the existing radial scalar action and test. +The real and imaginary components retain the checked integration identities. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplex_deriv_re (f : ℝ → ℂ) (hf : Differentiable ℝ f) : + deriv (fun r => (f r).re) = fun r => (deriv f r).re := by + funext r + exact (Complex.reCLM.hasFDerivAt.comp_hasDerivAt r (hf r).hasDerivAt).deriv + +theorem radialComplex_deriv_im (f : ℝ → ℂ) (hf : Differentiable ℝ f) : + deriv (fun r => (f r).im) = fun r => (deriv f r).im := by + funext r + exact (Complex.imCLM.hasFDerivAt.comp_hasDerivAt r (hf r).hasDerivAt).deriv + +noncomputable def radialComplexAngularAction (n : ℕ) (z : ProfileMatchingBall) (eta : ℝ) + (q : ℝ → ℝ) (f : ℝ → ℂ) (r : ℝ) : ℂ := + -(radialMassDensity n z r : ℂ)*deriv (deriv f) r- + (radialMassSlope n z r : ℂ)*deriv f r+ + (radialMassDensity n z r*q r+eta*radialAngularDensity n z r : ℝ)*f r + +noncomputable def radialComplexTest (n : ℕ) (z : ProfileMatchingBall) (s : ℝ) + (f : ℝ → ℂ) (r : ℝ) : ℂ := (s : ℂ)*f r+(radialMatchedVelocity n z r : ℂ)*deriv f r + +theorem radialComplexAngularAction_re (n : ℕ) (z : ProfileMatchingBall) (eta : ℝ) + (q : ℝ → ℝ) (f : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (r : ℝ) : + (radialComplexAngularAction n z eta q f r).re = + radialAngularScalarAction n z eta q (fun t => (f t).re) r := by + have hd := radialComplex_deriv_re f (hf.differentiable (by norm_num)) + have hfd : ContDiff ℝ 1 (deriv f) := hf.deriv' + have hdd := radialComplex_deriv_re (deriv f) (hfd.differentiable (by norm_num)) + simp only [radialComplexAngularAction,radialAngularScalarAction,radialScalarAction, + radialMassLaplacian,hd,hdd,Complex.add_re,Complex.sub_re,Complex.mul_re, + Complex.neg_re,Complex.neg_im,Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero] + ring + +theorem radialComplexAngularAction_im (n : ℕ) (z : ProfileMatchingBall) (eta : ℝ) + (q : ℝ → ℝ) (f : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (r : ℝ) : + (radialComplexAngularAction n z eta q f r).im = + radialAngularScalarAction n z eta q (fun t => (f t).im) r := by + have hd := radialComplex_deriv_im f (hf.differentiable (by norm_num)) + have hfd : ContDiff ℝ 1 (deriv f) := hf.deriv' + have hdd := radialComplex_deriv_im (deriv f) (hfd.differentiable (by norm_num)) + simp only [radialComplexAngularAction,radialAngularScalarAction,radialScalarAction, + radialMassLaplacian,hd,hdd,Complex.add_im,Complex.sub_im,Complex.mul_im, + Complex.neg_re,Complex.neg_im,Complex.ofReal_re,Complex.ofReal_im,zero_mul,add_zero] + ring + +theorem radialComplexTest_re (n : ℕ) (z : ProfileMatchingBall) (s : ℝ) + (f : ℝ → ℂ) (hf : Differentiable ℝ f) (r : ℝ) : + (radialComplexTest n z s f r).re = radialSpectralTest n z s 0 + (fun t => (f t).re) (fun t => (f t).re) r := by + simp only [radialComplexTest,radialSpectralTest,radialComplex_deriv_re f hf, + Complex.add_re,Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero,add_zero] + +theorem radialComplexTest_im (n : ℕ) (z : ProfileMatchingBall) (s : ℝ) + (f : ℝ → ℂ) (hf : Differentiable ℝ f) (r : ℝ) : + (radialComplexTest n z s f r).im = radialSpectralTest n z s 0 + (fun t => (f t).im) (fun t => (f t).im) r := by + simp only [radialComplexTest,radialSpectralTest,radialComplex_deriv_im f hf, + Complex.add_im,Complex.mul_im,Complex.ofReal_re,Complex.ofReal_im,zero_mul,add_zero] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexSpectralEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexSpectralEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..6eb788d6e289d10d4c19f74c24ee857c884c6771 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexSpectralEnergy.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralTesting + +namespace OAI + +/-! The exact energy identity for complex spectral parameters. + +Four real functions encode the real and imaginary parts of the two independent +components. The imaginary spectral parameter cancels by Green symmetry. +-/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplexSpectral_energy (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R σ τ : ℝ) (hR : 0 ≤ R) + (q dq p dp : ℝ → ℝ) (hq : ContinuousOn q (Icc 0 R)) + (hdq : ContinuousOn dq (Icc 0 R)) (hp : ContinuousOn p (Icc 0 R)) + (hdp : ContinuousOn dp (Icc 0 R)) + (hq' : ∀ r ∈ Ioo 0 R, HasDerivAt q (dq r) r) + (hp' : ∀ r ∈ Ioo 0 R, HasDerivAt p (dp r) r) + (f : Fin 4 → ℝ → ℝ) (hf : ∀ j, ContDiff ℝ 2 (f j)) + (hfR : ∀ j, f j R=0) (hdfR : ∀ j, deriv (f j) R=0) + (hsys : ∀ r ∈ Icc 0 R, + radialScalarAction n z q (f 0) r+radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 2) (f 3) r=0 ∧ + radialScalarAction n z q (f 1) r+radialMassDensity n z r* + radialSpectralTest n z σ τ (f 3) (f 2) r=0 ∧ + radialScalarAction n z p (f 2) r-radialMassDensity n z r* + radialSpectralTest n z σ (-τ) (f 0) (f 1) r=0 ∧ + radialScalarAction n z p (f 3) r-radialMassDensity n z r* + radialSpectralTest n z σ τ (f 1) (f 0) r=0) : + (σ*radialScalarForm n z R q (f 0) (f 0)+radialScalarVirial n z R q dq (f 0))+ + (σ*radialScalarForm n z R q (f 1) (f 1)+radialScalarVirial n z R q dq (f 1))+ + (σ*radialScalarForm n z R p (f 2) (f 2)+radialScalarVirial n z R p dp (f 2))+ + (σ*radialScalarForm n z R p (f 3) (f 3)+radialScalarVirial n z R p dp (f 3))=0 := by + let T0 := radialSpectralTest n z σ (-τ) (f 0) (f 1) + let T1 := radialSpectralTest n z σ τ (f 1) (f 0) + let T2 := radialSpectralTest n z σ (-τ) (f 2) (f 3) + let T3 := radialSpectralTest n z σ τ (f 3) (f 2) + let A0 := radialScalarAction n z q (f 0) + let A1 := radialScalarAction n z q (f 1) + let A2 := radialScalarAction n z p (f 2) + let A3 := radialScalarAction n z p (f 3) + have hTi (i j : Fin 4) (s t : ℝ) (u : ℝ → ℝ) (hu : ContinuousOn u (Icc 0 R)) : + IntervalIntegrable (fun r => radialSpectralTest n z s t (f i) (f j) r* + radialScalarAction n z u (f i) r) MeasureTheory.volume 0 R := + ((radialSpectralTest_continuousOn n z hX hz R s t (f i) (f j) (hf i) + ((hf j).of_le (by norm_num))).mul + (radialScalarAction_continuousOn n z hX hz R u (f i) hu (hf i))).intervalIntegrable_of_Icc hR + have h0 := hTi 0 1 σ (-τ) q hq + have h1 := hTi 1 0 σ τ q hq + have h2 := hTi 2 3 σ (-τ) p hp + have h3 := hTi 3 2 σ τ p hp + have he : (∫ r in (0 : ℝ)..R, + (T0 r*A0 r+T1 r*A1 r)+(T2 r*A2 r+T3 r*A3 r))=0 := by + calc + _ = ∫ _r in (0 : ℝ)..R, (0 : ℝ) := by + apply intervalIntegral.integral_congr + intro r hr + rw [uIcc_of_le hR] at hr + obtain ⟨hA,hB,hC,hD⟩ := hsys r hr + exact radialSkewPair_cancellation _ _ _ _ _ _ _ _ _ hA hB hC hD + _ = 0 := by simp + rw [intervalIntegral.integral_add (h0.add h1) (h2.add h3), + intervalIntegral.integral_add h0 h1,intervalIntegral.integral_add h2 h3] at he + rw [radialScalarForm_spectralTest n z hX hz R σ (-τ) hR q dq (f 0) (f 1) + hq hdq hq' (hf 0) ((hf 1).of_le (by norm_num)) (hfR 0) (hdfR 0) (hfR 1), + radialScalarForm_spectralTest n z hX hz R σ τ hR q dq (f 1) (f 0) + hq hdq hq' (hf 1) ((hf 0).of_le (by norm_num)) (hfR 1) (hdfR 1) (hfR 0), + radialScalarForm_spectralTest n z hX hz R σ (-τ) hR p dp (f 2) (f 3) + hp hdp hp' (hf 2) ((hf 3).of_le (by norm_num)) (hfR 2) (hdfR 2) (hfR 3), + radialScalarForm_spectralTest n z hX hz R σ τ hR p dp (f 3) (f 2) + hp hdp hp' (hf 3) ((hf 2).of_le (by norm_num)) (hfR 3) (hdfR 3) (hfR 2), + radialScalarForm_symm n z R q (f 1) (f 0), + radialScalarForm_symm n z R p (f 3) (f 2)] at he + linear_combination he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexVirial.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexVirial.lean new file mode 100644 index 0000000000000000000000000000000000000000..3968cb945b9955bc9e96991e6e1d6ad60277ca64 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexVirial.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexScalarAction + +namespace OAI + +/-! The exact complex scalar virial formula is the sum of the two checked +real formulas, with the physical outer boundary retained. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialComplexAngularForm (n : ℕ) (z : ProfileMatchingBall) + (eta R : ℝ) (q : ℝ → ℝ) (f : ℝ → ℂ) : ℝ := + radialAngularScalarForm n z eta R q (fun r => (f r).re) (fun r => (f r).re)+ + radialAngularScalarForm n z eta R q (fun r => (f r).im) (fun r => (f r).im) + +noncomputable def radialComplexAngularVirial (n : ℕ) (z : ProfileMatchingBall) + (eta R : ℝ) (q dq : ℝ → ℝ) (f : ℝ → ℂ) : ℝ := + radialAngularScalarVirial n z eta R q dq (fun r => (f r).re)+ + radialAngularScalarVirial n z eta R q dq (fun r => (f r).im) + +noncomputable def radialComplexAngularBoundary (n : ℕ) (z : ProfileMatchingBall) + (eta R s : ℝ) (q : ℝ → ℝ) (f : ℝ → ℂ) : ℝ := + radialAngularScalarBoundary n z eta R s 0 q (fun r => (f r).re) (fun r => (f r).re)+ + radialAngularScalarBoundary n z eta R s 0 q (fun r => (f r).im) (fun r => (f r).im) + +theorem radialComplexAngular_virial_identity (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta R s : ℝ) (hR : 0 ≤ R) + (q dq : ℝ → ℝ) (hq : ContinuousOn q (Icc 0 R)) (hdq : ContinuousOn dq (Icc 0 R)) + (hqd : ∀ r ∈ Ioo 0 R, HasDerivAt q (dq r) r) (f : ℝ → ℂ) (hf : ContDiff ℝ 2 f) : + (∫ r in (0 : ℝ)..R, (star (radialComplexTest n z s f r)* + radialComplexAngularAction n z eta q f r).re) = + s*radialComplexAngularForm n z eta R q f+ + radialComplexAngularVirial n z eta R q dq f+ + radialComplexAngularBoundary n z eta R s q f := by + have hfre : ContDiff ℝ 2 (fun r => (f r).re) := Complex.reCLM.contDiff.comp hf + have hfim : ContDiff ℝ 2 (fun r => (f r).im) := Complex.imCLM.contDiff.comp hf + have hr := radialAngularScalarForm_spectralTest_boundary n z hX hz eta R s 0 hR q dq + (fun r => (f r).re) (fun r => (f r).re) hq hdq hqd hfre (hfre.of_le (by norm_num)) + have hi := radialAngularScalarForm_spectralTest_boundary n z hX hz eta R s 0 hR q dq + (fun r => (f r).im) (fun r => (f r).im) hq hdq hqd hfim (hfim.of_le (by norm_num)) + have he r : (star (radialComplexTest n z s f r)*radialComplexAngularAction n z eta q f r).re = + radialSpectralTest n z s 0 (fun t => (f t).re) (fun t => (f t).re) r* + radialAngularScalarAction n z eta q (fun t => (f t).re) r+ + radialSpectralTest n z s 0 (fun t => (f t).im) (fun t => (f t).im) r* + radialAngularScalarAction n z eta q (fun t => (f t).im) r := by + simp only [Complex.mul_re,Complex.star_def,Complex.conj_re,Complex.conj_im, + radialComplexTest_re n z s f (hf.differentiable (by norm_num)) r, + radialComplexTest_im n z s f (hf.differentiable (by norm_num)) r, + radialComplexAngularAction_re n z eta q f hf r,radialComplexAngularAction_im n z eta q f hf r] + ring + simp_rw [he] + rw [intervalIntegral.integral_add] + · rw [hr,hi] + dsimp only [radialComplexAngularForm,radialComplexAngularVirial,radialComplexAngularBoundary] + ring + · exact ((radialSpectralTest_continuousOn n z hX hz R s 0 _ _ hfre (hfre.of_le (by norm_num))).mul + (radialAngularScalarAction_continuousOn n z hX hz eta R q _ hq hfre)).intervalIntegrable_of_Icc hR + · exact ((radialSpectralTest_continuousOn n z hX hz R s 0 _ _ hfim (hfim.of_le (by norm_num))).mul + (radialAngularScalarAction_continuousOn n z hX hz eta R q _ hq hfim)).intervalIntegrable_of_Icc hR + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexVirialCoercivity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexVirialCoercivity.lean new file mode 100644 index 0000000000000000000000000000000000000000..fd7de702473c0bbdc53b9df895cae532259bc1b3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialComplexVirialCoercivity.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexVirial +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShiftedVirialCoercivity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPressureTransport +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralPressureCalculus + +namespace OAI + +/-! The actual pressure and deformation estimates give uniform complex +virial coercivity, with only the first-component L2 mass as an error. -/ + +open Set Filter MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplexShiftedVirial_coercive (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta R k C : ℝ) (heta : 0 ≤ eta) (hR : 0 ≤ R) + (q dq : ℝ → ℝ) (f : ℝ → ℂ) (hf : ContDiff ℝ 1 f) (hdq : ContinuousOn dq (Icc 0 R)) + (hvel : ∀ r ∈ Icc 0 R, k ≤ deriv (radialMatchedVelocity n z) r ∧ + k ≤ radialMatchedVelocityRatio n z r) + (hp : ∀ r ∈ Icc 0 R, radialMatchedVelocity n z r*dq r ≤ C) : + k*radialComplexAngularForm n z eta R (fun _ => 0) f ≤ + ((6-2*radialShootingA n)/2)*radialComplexAngularForm n z eta R q f+ + radialComplexAngularVirial n z eta R q dq f+ + (C/2)*(∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖f r‖^2) := by + have hfr : ContDiff ℝ 1 (fun r => (f r).re) := Complex.reCLM.contDiff.comp hf + have hfi : ContDiff ℝ 1 (fun r => (f r).im) := Complex.imCLM.contDiff.comp hf + have hr := radialShiftedVirial_coercive n z hX hz eta R k C heta hR q dq + (fun r => (f r).re) hfr hdq hvel hp + have hi := radialShiftedVirial_coercive n z hX hz eta R k C heta hR q dq + (fun r => (f r).im) hfi hdq hvel hp + have hM := radialMassDensity_continuous n z hX hz + have hsum : (∫ r in (0 : ℝ)..R, radialMassDensity n z r*(f r).re^2)+ + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*(f r).im^2) = + ∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖f r‖^2 := by + have hri : IntervalIntegrable (fun r => radialMassDensity n z r*(f r).re^2) volume 0 R := + (hM.mul (hfr.continuous.pow 2)).intervalIntegrable 0 R + have hii : IntervalIntegrable (fun r => radialMassDensity n z r*(f r).im^2) volume 0 R := + (hM.mul (hfi.continuous.pow 2)).intervalIntegrable 0 R + rw [← intervalIntegral.integral_add hri hii] + apply intervalIntegral.integral_congr + intro r _ + simp only [Complex.sq_norm,Complex.normSq_apply] + ring + have heq := congrArg (fun x : ℝ => (C/2)*x) hsum + dsimp only [radialComplexAngularForm,radialComplexAngularVirial] + nlinarith only [hr,hi,heq] + +theorem radialMatched_complex_virial_coercive : + ∃ k : ℝ, 0 < k ∧ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ eta R : ℝ, 0 ≤ eta → 0 ≤ R → + ∀ f : ℝ → ℂ, ContDiff ℝ 1 f → + k*radialComplexAngularForm n z eta R (fun _ => 0) f ≤ + ((6-2*radialShootingA n)/2)*radialComplexAngularForm n z eta R (radialSpectralPressure n z) f+ + radialComplexAngularVirial n z eta R (radialSpectralPressure n z) (deriv (radialSpectralPressure n z)) f+ + 800*(∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖f r‖^2) := by + obtain ⟨k,hk,hdef⟩ := radialMatched_uniform_deformation + refine ⟨k,hk,?_⟩ + filter_upwards [hdef,radialMatched_global_pressure_transport_bound] with n hn hp + intro z hX hz eta R heta hR f hf + have hdq := radialSpectralPressure_deriv_continuousOn n z hX hz R + have hvel r (hr : r ∈ Icc 0 R) : k ≤ deriv (radialMatchedVelocity n z) r ∧ + k ≤ radialMatchedVelocityRatio n z r := hn z hX hz r hr.1 + have hpress r (hr : r ∈ Icc 0 R) : + radialMatchedVelocity n z r*deriv (radialSpectralPressure n z) r ≤ 1600 := hp z hX hz r hr.1 + have hfr : ContDiff ℝ 1 (fun r => (f r).re) := Complex.reCLM.contDiff.comp hf + have hfi : ContDiff ℝ 1 (fun r => (f r).im) := Complex.imCLM.contDiff.comp hf + have hr := radialShiftedVirial_coercive n z hX hz eta R k 1600 heta hR + (radialSpectralPressure n z) (deriv (radialSpectralPressure n z)) (fun r => (f r).re) hfr hdq hvel hpress + have hi := radialShiftedVirial_coercive n z hX hz eta R k 1600 heta hR + (radialSpectralPressure n z) (deriv (radialSpectralPressure n z)) (fun r => (f r).im) hfi hdq hvel hpress + have hM := radialMassDensity_continuous n z hX hz + have hsum : (∫ r in (0 : ℝ)..R, radialMassDensity n z r*(f r).re^2)+ + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*(f r).im^2) = + ∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖f r‖^2 := by + have hri : IntervalIntegrable (fun r => radialMassDensity n z r*(f r).re^2) volume 0 R := + (hM.mul (hfr.continuous.pow 2)).intervalIntegrable 0 R + have hii : IntervalIntegrable (fun r => radialMassDensity n z r*(f r).im^2) volume 0 R := + (hM.mul (hfi.continuous.pow 2)).intervalIntegrable 0 R + rw [← intervalIntegral.integral_add hri hii] + apply intervalIntegral.integral_congr + intro r _ + simp only [Complex.sq_norm,Complex.normSq_apply] + ring + dsimp only [radialComplexAngularForm,radialComplexAngularVirial] + norm_num only [show (1600 : ℝ)/2=800 by norm_num] at hr hi + nlinarith only [hr,hi,hsum] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreBarrier.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreBarrier.lean new file mode 100644 index 0000000000000000000000000000000000000000..5370f92b474f5c822d8778a0c515d9ee3a431169 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreBarrier.lean @@ -0,0 +1,89 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSmoothBarrierRegular +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarComparison + +namespace OAI + +/-! The source-width lower barrier forces a uniformly positive core pressure. -/ + +open Set +namespace DefocusingNLS + +noncomputable def radialCoreBarrier (R m : ℝ) : ℝ → ℝ := + radialLowerBarrier (1/10000) (R-7/10000) m + +theorem radialCoreBarrier_flat (R m r : ℝ) (hr : r ≤ R-7/10000) : + radialCoreBarrier R m r=m := by + have h := (radialSmoothRamp_flat (1/10000) (r-(R-7/10000)) (by linarith)).1 + simp only [radialCoreBarrier,radialLowerBarrier,h,zero_div,sub_zero] + +theorem radialCoreBarrier_bounds (R m r : ℝ) (hm : (999/1000 : ℝ) ≤ m) + (hr : r ∈ Icc 0 R) : + (1/2 : ℝ) ≤ radialCoreBarrier R m r ∧ radialCoreBarrier R m r ≤ m := by + have hf := radialSmoothRamp_bounds (1/10000) (by norm_num) (r-(R-7/10000)) + have hx : max (r-(R-7/10000)) 0 ≤ (7/10000 : ℝ) := + max_le (by linarith [hr.2]) (by norm_num) + have hsq := pow_le_pow_left₀ (le_max_right (r-(R-7/10000)) 0) hx 2 + dsimp only [radialCoreBarrier,radialLowerBarrier] + constructor <;> nlinarith [hf.1,hf.2.1] + +theorem radialCoreBarrier_boundary (R m lo : ℝ) (hm : m ≤ 1) + (hlo : 1-(1/10000 : ℝ)^2/5 ≤ lo) : radialCoreBarrier R m R ≤ lo := by + have hf := (radialSmoothRamp_quadratic (1/10000) (R-(R-7/10000)) + (by norm_num) (by linarith)).1 + dsimp only [radialCoreBarrier,radialLowerBarrier] + rw [hf] + nlinarith + +theorem radialCoreBarrier_origin (R m : ℝ) (hR : 1 ≤ R) : + deriv (radialCoreBarrier R m) 0=0 := by + rw [show radialCoreBarrier R m=radialLowerBarrier (1/10000) (R-7/10000) m from rfl, + (hasDerivAt_radialLowerBarrier _ _ _ _ (by norm_num)).deriv] + have hf := (radialSmoothRamp_flat (1/10000) (0-(R-7/10000)) (by linarith)).2.1 + rw [hf] + norm_num + +theorem radialCoreBarrier_laplacian_bound (R m r : ℝ) (hR : 1 ≤ R) + (hr : r ∈ Ioo 0 R) : + -deriv (deriv (radialCoreBarrier R m)) r-11/r*deriv (radialCoreBarrier R m) r ≤ (1/20 : ℝ) := by + change -deriv (deriv (radialLowerBarrier (1/10000) (R-7/10000) m)) r- + 11/r*deriv (radialLowerBarrier (1/10000) (R-7/10000) m) r ≤ _ + rw [radialLowerBarrier_laplacian _ _ _ _ (by norm_num)] + by_cases hc : r ≤ R-7/10000 + · have hf := radialSmoothRamp_flat (1/10000) (r-(R-7/10000)) (by linarith) + rw [hf.2.1,hf.2.2] + norm_num + · have hx : 0 < r-(R-7/10000) := by linarith + have hf := radialSmoothRamp_bounds (1/10000) (by norm_num) (r-(R-7/10000)) + have hD : radialSmoothRampD (1/10000) (r-(R-7/10000)) ≤ (14/10000 : ℝ) := by + have hb := hf.2.2.2.1 + rw [max_eq_left hx.le] at hb + linarith [hr.2] + have hdiv : 11/r ≤ (12 : ℝ) := (div_le_iff₀ hr.1).2 (by linarith) + have hprod := mul_le_mul hdiv hD hf.2.2.1 (by norm_num : (0 : ℝ) ≤ 12) + nlinarith [hf.2.2.2.2.2] + +theorem radialCoreBarrier_subsolution (p : ℕ) (hp : 2 ≤ p) (R m : ℝ) + (hR : 1 ≤ R) (hm : (999/1000 : ℝ) ≤ m) (hmp : m^(p-1)=(1/5 : ℝ)) + (V : ℝ → ℝ) (hV : ∀ r ∈ Ioo 0 R, (3/10 : ℝ) ≤ V r) : + ∀ r ∈ Ioo 0 R, + -deriv (deriv (radialCoreBarrier R m)) r-11/r*deriv (radialCoreBarrier R m) r+ + (radialCoreBarrier R m r)^p ≤ V r*radialCoreBarrier R m r := by + intro r hr + have hB := radialCoreBarrier_bounds R m r hm ⟨hr.1.le,hr.2.le⟩ + have hnonneg : 0 ≤ radialCoreBarrier R m r := le_trans (by norm_num) hB.1 + have hpow := pow_le_pow_left₀ hnonneg hB.2 (p-1) + rw [hmp] at hpow + have he : (radialCoreBarrier R m r)^p= + (radialCoreBarrier R m r)^(p-1)*radialCoreBarrier R m r := by + rw [← pow_succ] + congr 1 + omega + have hpowp : (radialCoreBarrier R m r)^p ≤ radialCoreBarrier R m r/5 := by + rw [he] + nlinarith [mul_le_mul_of_nonneg_right hpow hnonneg] + have hVmul := mul_le_mul_of_nonneg_right (hV r hr) hnonneg + linarith [radialCoreBarrier_laplacian_bound R m r hR hr] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreCompactness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreCompactness.lean new file mode 100644 index 0000000000000000000000000000000000000000..ef552e4519914ec2652d0e72585618c3afe6eabc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreCompactness.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerCoreLimit + +namespace OAI + +/-! C¹ compactness and a nonempty flat core for the actual coupled inner profiles. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_coupled_core_subsequence (R : ℝ) (P : ℕ → RadialInnerData) + (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) : + ∃ A D : ℝ → ℝ, Continuous A ∧ Continuous D ∧ ∃ φ : ℕ → ℕ, + StrictMono φ ∧ TendstoUniformlyOn (fun n => H (φ n)) A atTop (Icc 0 R) ∧ + TendstoUniformlyOn (fun n => deriv (H (φ n))) D atTop (Icc 0 R) ∧ + (∀ r ∈ Ioo 0 R, HasDerivAt A (D r) r) ∧ D 0=0 ∧ + EqOn A (fun _ => 1) (Icc 0 (R-7/10000)) ∧ + (∀ r ∈ Icc 0 R, A r ∈ Icc (999/1000 : ℝ) 1 ∧ ‖D r‖ ≤ r/24) := by + obtain ⟨A,D,hA,hD,φ,hφ,hTA,hTD,hDeriv,hD0⟩ := radial_coupled_C1_subsequence R P hR H hH + refine ⟨A,D,hA,hD,φ,hφ,hTA,hTD,hDeriv,hD0,?_,?_⟩ + · exact radial_inner_limit_plateau R (fun n => P (φ n)) (fun n => hR (φ n)) + (fun n => H (φ n)) (fun n => hH (φ n)) (hp.comp hφ.tendsto_atTop) + A (fun r hr => hTA.tendsto_at hr) + · intro r hr + have hlow : ∀ n, (999/1000 : ℝ) ≤ H (φ n) r := fun n => + (P (φ n)).lo_lower.trans ((hH (φ n)).2.2.2.2.1 r hr).1.1 + have hupp : ∀ n, H (φ n) r ≤ 1 := fun n => ((hH (φ n)).2.2.2.2.1 r hr).1.2 + refine ⟨⟨ge_of_tendsto' (hTA.tendsto_at hr) hlow, + le_of_tendsto' (hTA.tendsto_at hr) hupp⟩,?_⟩ + apply le_of_tendsto' (hTD.tendsto_at hr).norm + intro n + have hs : RadialInnerOutputSpec (P (φ n)).p (P (φ n)).R (P (φ n)).lo + (P (φ n)).c (P (φ n)).b (H (φ n)) (H (φ n)) := by + simpa only [hR (φ n)] using hH (φ n) + apply (radial_inner_derivative_bounds (P (φ n)) (H (φ n)) hs).1 + simpa only [hR (φ n)] using hr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreComplex.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreComplex.lean new file mode 100644 index 0000000000000000000000000000000000000000..9e1cbdb81774455acce069038e1ab4997da1b2cf --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreComplex.lean @@ -0,0 +1,99 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolarJet +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialClampedPhase +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolarBalance + +namespace OAI + +/-! The real limiting core equations reconstruct the actual complex free equation. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_core_free_complex (R ρ b : ℝ) (hρ0 : 0 < ρ) (hρR : ρ < R) + (A D : ℝ → ℝ) (hA : Continuous A) (hD : Continuous D) + (hAP : ∀ r ∈ Icc 0 R, 0 < A r) + (hcore : EqOn A (fun _ => 1) (Icc 0 ρ)) (hDρ : D ρ=0) + (hAD : ∀ r ∈ Ioo ρ R, HasDerivAt A (D r) r) + (hDE : ∀ r ∈ Ioo ρ R, HasDerivAt D + (-11/r*D r-radialAmplitudePotential 6 b A r*A r) r) : + ∃ F G : ℝ → ℂ, Continuous F ∧ Continuous G ∧ F ρ=1 ∧ G ρ=0 ∧ + (∀ r ∈ Ioo ρ R, HasDerivAt F (G r) r ∧ HasDerivAt G + (-radialFreeCoefficient r*G r-(b : ℂ)*F r) r) ∧ + (∀ r ∈ Icc ρ R, ‖F r‖=A r) := by + let B := radialClampedAmplitude R A + have hR : 0 ≤ R := by linarith + have hB : Continuous B := radialClampedAmplitude_continuous R A hA + have hBP : ∀ r, B r ≠ 0 := fun r => (hAP _ (radialClamp_mem R r hR)).ne' + let v := fun r => (radialVelocity 6 B r-r/2)/2 + let φ := fun r => radialPhase 6 B r-radialPhase 6 B ρ + have hv : Continuous v := ((continuous_radialVelocity 6 B hB hBP).sub + (continuous_id.div_const 2)).div_const 2 + have hφ : Continuous φ := (radialPhase_differentiable 6 B hB hBP).continuous.sub continuous_const + have hec : Continuous (fun r => Complex.exp (Complex.I*(φ r : ℂ))) := + Complex.continuous_exp.comp (continuous_const.mul (Complex.continuous_ofReal.comp hφ)) + have hF : Continuous (radialPolar B φ) := (Complex.continuous_ofReal.comp hB).mul hec + have hG : Continuous (radialPolarSlope B D v φ) := + ((Complex.continuous_ofReal.comp hD).add + ((continuous_const.mul (Complex.continuous_ofReal.comp hB)).mul + (Complex.continuous_ofReal.comp hv))).mul hec + have hρI : ρ ∈ Icc 0 R := ⟨hρ0.le,hρR.le⟩ + have hBρ : B ρ=1 := (radialClampedAmplitude_eq R A ρ hρI).trans + (hcore ⟨hρ0.le,le_rfl⟩) + have hAv : radialAverage (fun t => (B t)^2) ρ=1/12 := by + rw [radialAverage_congr _ (fun _ => (1 : ℝ)) ρ hρ0.le (by + intro t ht + have hBt : B t=1 := (radialClampedAmplitude_eq R A t ⟨ht.1,ht.2.trans hρR.le⟩).trans + (hcore ht) + simp only [hBt,one_pow]),radialAverage_const] + have hvρ : v ρ=0 := by + dsimp [v,radialVelocity,radialVelocityRatio] + rw [hBρ,hAv] + ring + refine ⟨radialPolar B φ,radialPolarSlope B D v φ,hF,hG,?_,?_,?_,?_⟩ + · simp [radialPolar,φ,hBρ] + · simp [radialPolarSlope,hDρ,hvρ] + · intro r hr + have hrI : r ∈ Ioo 0 R := ⟨hρ0.trans hr.1,hr.2⟩ + have hrC : r ∈ Icc 0 R := ⟨hrI.1.le,hrI.2.le⟩ + have hrne : r ≠ 0 := hrI.1.ne' + have hBr : B r=A r := radialClampedAmplitude_eq R A r hrC + have hAB : HasDerivAt B (D r) r := by + apply (hAD r hr).congr_of_eventuallyEq + filter_upwards [isOpen_Ioo.mem_nhds hrI] with t ht + exact radialClampedAmplitude_eq R A t ⟨ht.1.le,ht.2.le⟩ + have hφr : HasDerivAt φ (v r) r := (radialPhase_hasDerivAt 6 B hB hBP r).sub_const _ + let w := radialVelocity 6 B r + let w₁ := 6-11*radialVelocityRatio 6 B r-2*w*D r/B r + let d₁ := -11/r*D r-radialAmplitudePotential 6 b A r*A r + have hvr : HasDerivAt v ((w₁-1/2)/2) r := + ((radialVelocity_hasDerivAt_local 6 (D r) B hB r hrne (hBP r) hAB).sub + ((hasDerivAt_id r).div_const 2)).div_const 2 + have hw : w₁=6-2*0-11/r*w-2*w*D r/A r := by + dsimp [w₁,w] + rw [hBr] + dsimp [radialVelocity] + field_simp [hrne] + ring + have hV : radialAmplitudePotential 6 b A r=b+r^2/16-w^2/4 := by + dsimp [w] + rw [radialVelocity_clamped_eq 6 R A r hrC] + dsimp [radialAmplitudePotential,radialVelocity] + ring + have hRe := radialPolar_real_balance (A r) (D r) d₁ w r b 0 (by + dsimp [d₁] + rw [hV] + ring) + have hIm := radialPolar_imag_balance (A r) (D r) w w₁ r 0 (hAP r hrC).ne' hrne hw + refine ⟨radialPolarJet_hasDerivAt B D v φ r hAB hφr,?_⟩ + apply radialPolarJet_free B D v φ r b d₁ ((w₁-1/2)/2) hAB (hDE r hr) hφr hvr + · simpa only [hBr,v,w,zero_mul] using hRe + · simpa only [hBr,v,w,zero_mul,add_zero] using hIm + · intro r hr + rw [radialPolar_norm] + change |radialClampedAmplitude R A r|=A r + rw [radialClampedAmplitude_eq R A r ⟨hρ0.le.trans hr.1,hr.2⟩, + abs_of_pos (hAP r ⟨hρ0.le.trans hr.1,hr.2⟩)] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreConvergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreConvergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..b36095af2d209c985353225f1993763df5c1b3ff --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreConvergence.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialLimitUniqueness + +namespace OAI + +/-! Full C1 convergence of the actual inner amplitudes from uniqueness of all subsequential limits. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_C1_core_convergence (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l ≤ R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) (hmod1 : ‖F R‖ < 1) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) : + ∃ A D : ℝ → ℝ, Continuous A ∧ Continuous D ∧ + TendstoUniformlyOn H A atTop (Icc 0 R) ∧ + TendstoUniformlyOn (fun n => deriv (H n)) D atTop (Icc 0 R) ∧ + EqOn A (fun _ => 1) (Icc 0 l) ∧ D l=0 ∧ + EqOn A (fun r => ‖F r‖) (Icc l R) := by + obtain ⟨A,D,hA,hD,φ,hφ,hTA,hTD,hcore,hDl,htail⟩ := + radial_coupled_identified_subsequence R l b hRlow hRu hl hlR hlwidth hb F G hFc hGc hFI hGI hB hmod1 + P hR H hH hp hcT hbT hloT + have hAD : ∀ r ∈ Ioo 0 R, HasDerivAt A (D r) r := by + intro r hr + exact hasDerivAt_of_tendstoUniformlyOn isOpen_Ioo (hTD.mono Ioo_subset_Icc_self) + (Eventually.of_forall (fun n t _ => ((hH (φ n)).1 t).hasDerivAt)) + (fun t ht => hTA.tendsto_at ⟨ht.1.le,ht.2.le⟩) hr + have hsub : ∀ ns : ℕ → ℕ, Tendsto ns atTop atTop → ∃ ms : ℕ → ℕ, + TendstoUniformlyOn (fun n => H (ns (ms n))) A atTop (Icc 0 R) ∧ + TendstoUniformlyOn (fun n => deriv (H (ns (ms n)))) D atTop (Icc 0 R) := by + intro ns hns + obtain ⟨A',D',hA',hD',ψ,hψ,hTA',hTD',hcore',_,htail'⟩ := + radial_coupled_identified_subsequence R l b hRlow hRu hl hlR hlwidth hb F G hFc hGc hFI hGI hB hmod1 + (fun n => P (ns n)) (fun n => hR (ns n)) (fun n => H (ns n)) (fun n => hH (ns n)) + (hp.comp hns) (hcT.comp hns) (hbT.comp hns) (hloT.comp hns) + have hAA : EqOn A' A (Icc 0 R) := by + intro r hr + by_cases hrl : r ≤ l + · exact (hcore' ⟨hr.1,hrl⟩).trans (hcore ⟨hr.1,hrl⟩).symm + · exact (htail' ⟨(not_le.mp hrl).le,hr.2⟩).trans (htail ⟨(not_le.mp hrl).le,hr.2⟩).symm + have hA'D' : ∀ r ∈ Ioo 0 R, HasDerivAt A' (D' r) r := by + intro r hr + exact hasDerivAt_of_tendstoUniformlyOn isOpen_Ioo (hTD'.mono Ioo_subset_Icc_self) + (Eventually.of_forall (fun n t _ => ((hH (ns (ψ n))).1 t).hasDerivAt)) + (fun t ht => hTA'.tendsto_at ⟨ht.1.le,ht.2.le⟩) hr + have hDD := radial_derivative_limit_unique R (by linarith) A' A D' D hD' hD hAA hA'D' hAD + exact ⟨ψ,hTA'.congr_right hAA,hTD'.congr_right hDD⟩ + refine ⟨A,D,hA,hD,?_,?_,hcore,hDl,htail⟩ + · exact radial_uniform_limit_of_subsequences H A (fun ns hns => by + obtain ⟨ms,hms,_⟩ := hsub ns hns + exact ⟨ms,hms⟩) + · exact radial_uniform_limit_of_subsequences (fun n => deriv (H n)) D (fun ns hns => by + obtain ⟨ms,_,hms⟩ := hsub ns hns + exact ⟨ms,hms⟩) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreFreeIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreFreeIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..74d6c2dcbfc6d99468d652012c1787d9e445ade7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreFreeIntegral.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoreComplex +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePropagation + +namespace OAI + +/-! The limiting real core yields the free integral initial-value problem with its actual data. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_free_integral_of_derivatives (b l u : ℝ) (hl : 0 < l) + (F G : ℝ → ℂ) (hF : Continuous F) (hG : Continuous G) + (hF₀ : F l=1) (hG₀ : G l=0) + (hDE : ∀ r ∈ Ioo l u, HasDerivAt F (G r) r ∧ HasDerivAt G + (-radialFreeCoefficient r*G r-(b : ℂ)*F r) r) : + (∀ r ∈ Icc l u, F r=1+∫ t in l..r, G t) ∧ + (∀ r ∈ Icc l u, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) := by + have hforcing := (radialFreeField_continuousOn_curve b l u hl + (fun t => (F t,G t)) (hF.prodMk hG)).snd + constructor + · intro r hr + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hr.1 hF.continuousOn + (fun t ht => (hDE t ⟨ht.1,ht.2.trans_le hr.2⟩).1) (hG.intervalIntegrable l r) + rw [hF₀] at he + linear_combination -he + · intro r hr + have hi : IntervalIntegrable (fun t => -radialFreeCoefficient t*G t-(b : ℂ)*F t) volume l r := + ContinuousOn.intervalIntegrable_of_Icc hr.1 + (hforcing.mono (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hr.1 hG.continuousOn + (fun t ht => (hDE t ⟨ht.1,ht.2.trans_le hr.2⟩).2) hi + simpa only [hG₀,sub_zero] using he.symm + +theorem radial_core_free_integral (R ρ b : ℝ) (hρ0 : (3 : ℝ) ≤ ρ) (hρR : ρ < R) + (hRu : R ≤ (10/3 : ℝ)) (hwidth : R-ρ ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (A D : ℝ → ℝ) (hA : Continuous A) (hD : Continuous D) + (hAP : ∀ r ∈ Icc 0 R, 0 < A r) + (hcore : EqOn A (fun _ => 1) (Icc 0 ρ)) (hDρ : D ρ=0) + (hAD : ∀ r ∈ Ioo ρ R, HasDerivAt A (D r) r) + (hDE : ∀ r ∈ Ioo ρ R, HasDerivAt D + (-11/r*D r-radialAmplitudePotential 6 b A r*A r) r) : + ∃ F G : ℝ → ℂ, Continuous F ∧ Continuous G ∧ + (∀ r ∈ Icc ρ R, F r=1+∫ t in ρ..r, G t) ∧ + (∀ r ∈ Icc ρ R, G r=∫ t in ρ..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) ∧ + (∀ r ∈ Icc ρ R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) ∧ + (∀ r ∈ Icc ρ R, ‖F r‖=A r) := by + obtain ⟨F,G,hFc,hGc,hF₀,hG₀,hder,hmod⟩ := radial_core_free_complex R ρ b (by linarith) hρR + A D hA hD hAP hcore hDρ hAD hDE + obtain ⟨hFI,hGI⟩ := radial_free_integral_of_derivatives b ρ R (by linarith) F G hFc hGc hF₀ hG₀ hder + have hstate := radial_free_components_state b ρ R (by linarith) F G hFc hGc 1 0 + hFI (by simpa only [zero_add] using hGI) + have hbound := radial_free_state_bound b ρ R hb hρ0 hRu hρR.le hwidth + (fun t => (F t,G t)) (hFc.prodMk hGc) (1,0) hstate + refine ⟨F,G,hFc,hGc,hFI,hGI,?_,hmod⟩ + intro r hr + have hh : ‖(F r,G r)‖ ≤ 2 := by simpa using hbound r hr + exact ⟨(norm_fst_le _).trans hh,(norm_snd_le _).trans hh⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreIdentification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreIdentification.lean new file mode 100644 index 0000000000000000000000000000000000000000..47ab2465a828aa689fdde3e9f6b80e34e3c00c8a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreIdentification.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoreShape +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoreRadius +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeUniqueness + +namespace OAI + +/-! The actual large-power inner profiles converge along subsequences to the prescribed free tail. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_identified_subsequence (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l ≤ R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) (hmod1 : ‖F R‖ < 1) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) : + ∃ A D : ℝ → ℝ, Continuous A ∧ Continuous D ∧ ∃ φ : ℕ → ℕ, + StrictMono φ ∧ TendstoUniformlyOn (fun n => H (φ n)) A atTop (Icc 0 R) ∧ + TendstoUniformlyOn (fun n => deriv (H (φ n))) D atTop (Icc 0 R) ∧ + EqOn A (fun _ => 1) (Icc 0 l) ∧ D l=0 ∧ + EqOn A (fun r => ‖F r‖) (Icc l R) := by + obtain ⟨A,D,hA,hD,φ,hφ,hTA,hTD,hAR,ρ,hρ,hcore,hDρ,hsub,hanti,hfree⟩ := + radial_coupled_core_shape R P hR H hH hp 6 b ‖F R‖ (by norm_num) hb hcT hbT hloT hmod1 + have hρ0 : (3 : ℝ) ≤ ρ := by linarith [hρ.1] + have hρwidth : R-ρ ≤ (1/1000 : ℝ) := by linarith [hρ.1] + have hAP : ∀ r ∈ Icc 0 R, 0 < A r := by + intro r hr + have hlow : (999/1000 : ℝ) ≤ A r := ge_of_tendsto' (hTA.tendsto_at hr) (fun n => + (P (φ n)).lo_lower.trans ((hH (φ n)).2.2.2.2.1 r hr).1.1) + linarith + have heq : ρ=l := radial_core_radius_identification R ρ l b hρ0 hl hρ.2 hlR hRu hρwidth + hlwidth hb A D hA hD hAP hcore hDρ (fun r hr => (hfree r hr).1) + (fun r hr => (hfree r hr).2) F G hFc hGc hFI hGI hB hAR + subst ρ + obtain ⟨F₀,G₀,hF₀c,hG₀c,hF₀I,hG₀I,_,hF₀norm⟩ := radial_core_free_integral R l b hρ0 hρ.2 + hRu hρwidth hb A D hA hD hAP hcore hDρ + (fun r hr => (hfree r hr).1) (fun r hr => (hfree r hr).2) + have hX₀ := radial_free_components_state b l R (by linarith) F₀ G₀ hF₀c hG₀c 1 0 + hF₀I (by simpa only [zero_add] using hG₀I) + have hX := radial_free_components_state b l R (by linarith) F G hFc hGc 1 0 + hFI (by simpa only [zero_add] using hGI) + have huniq := radial_free_integral_unique b l R hb hl hRu hlR hlwidth + (fun r => (F₀ r,G₀ r)) (fun r => (F r,G r)) (hF₀c.prodMk hG₀c) (hFc.prodMk hGc) hX₀ hX + refine ⟨A,D,hA,hD,φ,hφ,hTA,hTD,hcore,hDρ,?_⟩ + intro r hr + have hpoint : F₀ r=F r := congrArg Prod.fst (huniq hr) + exact (hF₀norm r hr).symm.trans (congrArg norm hpoint) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCorePolarEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCorePolarEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..ecf5a8a76ab6f5d9a9653e4f4b61ea0e8b9592fc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCorePolarEquation.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolarJet +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPlateauPhase +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolarBalance + +namespace OAI + +/-! The real limiting core equations reconstruct the actual complex free equation. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_core_polar_free (R ρ b : ℝ) (hρ0 : 0 < ρ) (hρR : ρ < R) + (A D : ℝ → ℝ) (hA : Continuous A) (hD : Continuous D) + (hAP : ∀ r ∈ Icc 0 R, 0 < A r) + (hcore : EqOn A (fun _ => 1) (Icc 0 ρ)) (hDρ : D ρ=0) + (hAD : ∀ r ∈ Ioo ρ R, HasDerivAt A (D r) r) + (hDE : ∀ r ∈ Ioo ρ R, HasDerivAt D + (-11/r*D r-radialAmplitudePotential 6 b A r*A r) r) : + let F := radialPolar (radialClampedAmplitude R A) (radialPhase 6 (radialClampedAmplitude R A)) + let G := radialPolarSlope (radialClampedAmplitude R A) D + (fun r => (radialVelocity 6 (radialClampedAmplitude R A) r-r/2)/2) + (radialPhase 6 (radialClampedAmplitude R A)) + Continuous F ∧ Continuous G ∧ F ρ=1 ∧ G ρ=0 ∧ + (∀ r ∈ Ioo ρ R, HasDerivAt F (G r) r ∧ HasDerivAt G + (-radialFreeCoefficient r*G r-(b : ℂ)*F r) r) ∧ + (∀ r ∈ Icc ρ R, ‖F r‖=A r) := by + let B := radialClampedAmplitude R A + have hR : 0 ≤ R := by linarith + have hB : Continuous B := radialClampedAmplitude_continuous R A hA + have hBP : ∀ r, B r ≠ 0 := fun r => (hAP _ (radialClamp_mem R r hR)).ne' + let v := fun r => (radialVelocity 6 B r-r/2)/2 + let φ := radialPhase 6 B + have hv : Continuous v := ((continuous_radialVelocity 6 B hB hBP).sub + (continuous_id.div_const 2)).div_const 2 + have hφ : Continuous φ := (radialPhase_differentiable 6 B hB hBP).continuous + have hec : Continuous (fun r => Complex.exp (Complex.I*(φ r : ℂ))) := + Complex.continuous_exp.comp (continuous_const.mul (Complex.continuous_ofReal.comp hφ)) + have hF : Continuous (radialPolar B φ) := (Complex.continuous_ofReal.comp hB).mul hec + have hG : Continuous (radialPolarSlope B D v φ) := + ((Complex.continuous_ofReal.comp hD).add + ((continuous_const.mul (Complex.continuous_ofReal.comp hB)).mul + (Complex.continuous_ofReal.comp hv))).mul hec + have hρI : ρ ∈ Icc 0 R := ⟨hρ0.le,hρR.le⟩ + have hBρ : B ρ=1 := (radialClampedAmplitude_eq R A ρ hρI).trans + (hcore ⟨hρ0.le,le_rfl⟩) + have hAv : radialAverage (fun t => (B t)^2) ρ=1/12 := by + rw [radialAverage_congr _ (fun _ => (1 : ℝ)) ρ hρ0.le (by + intro t ht + have hBt : B t=1 := (radialClampedAmplitude_eq R A t ⟨ht.1,ht.2.trans hρR.le⟩).trans + (hcore ht) + simp only [hBt,one_pow]),radialAverage_const] + have hvρ : v ρ=0 := by + dsimp [v,radialVelocity,radialVelocityRatio] + rw [hBρ,hAv] + ring + refine ⟨hF,hG,?_,?_,?_,?_⟩ + · change radialPolar B φ ρ=1 + have hφρ : φ ρ=0 := radial_phase_zero_on_plateau R ρ hρ0.le hρR.le A hcore ρ ⟨hρ0.le,le_rfl⟩ + simp [radialPolar,hφρ,hBρ] + · change radialPolarSlope B D v φ ρ=0 + simp [radialPolarSlope,hDρ,hvρ] + · intro r hr + have hrI : r ∈ Ioo 0 R := ⟨hρ0.trans hr.1,hr.2⟩ + have hrC : r ∈ Icc 0 R := ⟨hrI.1.le,hrI.2.le⟩ + have hrne : r ≠ 0 := hrI.1.ne' + have hBr : B r=A r := radialClampedAmplitude_eq R A r hrC + have hAB : HasDerivAt B (D r) r := by + apply (hAD r hr).congr_of_eventuallyEq + filter_upwards [isOpen_Ioo.mem_nhds hrI] with t ht + exact radialClampedAmplitude_eq R A t ⟨ht.1.le,ht.2.le⟩ + have hφr : HasDerivAt φ (v r) r := radialPhase_hasDerivAt 6 B hB hBP r + let w := radialVelocity 6 B r + let w₁ := 6-11*radialVelocityRatio 6 B r-2*w*D r/B r + let d₁ := -11/r*D r-radialAmplitudePotential 6 b A r*A r + have hvr : HasDerivAt v ((w₁-1/2)/2) r := + ((radialVelocity_hasDerivAt_local 6 (D r) B hB r hrne (hBP r) hAB).sub + ((hasDerivAt_id r).div_const 2)).div_const 2 + have hw : w₁=6-2*0-11/r*w-2*w*D r/A r := by + dsimp [w₁,w] + rw [hBr] + dsimp [radialVelocity] + field_simp [hrne] + ring + have hV : radialAmplitudePotential 6 b A r=b+r^2/16-w^2/4 := by + dsimp [w] + rw [radialVelocity_clamped_eq 6 R A r hrC] + dsimp [radialAmplitudePotential,radialVelocity] + ring + have hRe := radialPolar_real_balance (A r) (D r) d₁ w r b 0 (by + dsimp [d₁] + rw [hV] + ring) + have hIm := radialPolar_imag_balance (A r) (D r) w w₁ r 0 (hAP r hrC).ne' hrne hw + refine ⟨radialPolarJet_hasDerivAt B D v φ r hAB hφr,?_⟩ + apply radialPolarJet_free B D v φ r b d₁ ((w₁-1/2)/2) hAB (hDE r hr) hφr hvr + · simpa only [hBr,v,w,zero_mul] using hRe + · simpa only [hBr,v,w,zero_mul,add_zero] using hIm + · intro r hr + rw [radialPolar_norm] + rw [radialClampedAmplitude_eq R A r ⟨hρ0.le.trans hr.1,hr.2⟩, + abs_of_pos (hAP r ⟨hρ0.le.trans hr.1,hr.2⟩)] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCorePolarIdentification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCorePolarIdentification.lean new file mode 100644 index 0000000000000000000000000000000000000000..7de086351a7b6120cd80bd3c03d17ef79240ab71 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCorePolarIdentification.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCorePolarEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoreFreeIntegral +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeUniqueness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhaseConvergence + +namespace OAI + +/-! The origin-normalized polar limit is the prescribed complex free IVP, with its phase. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_core_polar_identification (R l b : ℝ) (hl : (3 : ℝ) ≤ l) (hlR : l < R) + (hRu : R ≤ (10/3 : ℝ)) (hwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (A D : ℝ → ℝ) (hA : Continuous A) (hD : Continuous D) + (hAP : ∀ r ∈ Icc 0 R, 0 < A r) + (hcore : EqOn A (fun _ => 1) (Icc 0 l)) (hDl : D l=0) + (hAD : ∀ r ∈ Ioo l R, HasDerivAt A (D r) r) + (hDE : ∀ r ∈ Ioo l R, HasDerivAt D + (-11/r*D r-radialAmplitudePotential 6 b A r*A r) r) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) : + EqOn (radialPolar A (radialPhase 6 (radialClampedAmplitude R A))) F (Icc l R) ∧ + EqOn (radialPolarSlope A D (radialPhaseSpeed 6 A) + (radialPhase 6 (radialClampedAmplitude R A))) G (Icc l R) := by + let B := radialClampedAmplitude R A + let φ := radialPhase 6 B + let v := fun r => (radialVelocity 6 B r-r/2)/2 + let F₀ := radialPolar B φ + let G₀ := radialPolarSlope B D v φ + obtain ⟨hF₀,hG₀,hF₀l,hG₀l,hder,_⟩ := radial_core_polar_free R l b (by linarith) hlR + A D hA hD hAP hcore hDl hAD hDE + obtain ⟨hF₀I,hG₀I⟩ := radial_free_integral_of_derivatives b l R (by linarith) + F₀ G₀ hF₀ hG₀ hF₀l hG₀l hder + have hx₀ := radial_free_components_state b l R (by linarith) F₀ G₀ hF₀ hG₀ 1 0 + hF₀I (by simpa only [zero_add] using hG₀I) + have hx := radial_free_components_state b l R (by linarith) F G hFc hGc 1 0 + hFI (by simpa only [zero_add] using hGI) + have he := radial_free_integral_unique b l R hb hl hRu hlR.le hwidth + (fun r => (F₀ r,G₀ r)) (fun r => (F r,G r)) (hF₀.prodMk hG₀) (hFc.prodMk hGc) hx₀ hx + constructor + · intro r hr + have hh := congrArg Prod.fst (he hr) + change radialPolar B φ r=F r at hh + simpa only [radialPolar,B,radialClampedAmplitude_eq R A r ⟨by linarith [hr.1],hr.2⟩] using hh + · intro r hr + have hh := congrArg Prod.snd (he hr) + change radialPolarSlope B D v φ r=G r at hh + have hrI : r ∈ Icc 0 R := ⟨by linarith [hr.1],hr.2⟩ + simpa only [radialPolarSlope,B,v,radialClampedAmplitude_eq R A r hrI, + radialVelocity_clamped_eq 6 R A r hrI,radialPhaseSpeed] using hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreRadius.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreRadius.lean new file mode 100644 index 0000000000000000000000000000000000000000..bfd7117fedafa738d4dba2830978f9db93c8405b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreRadius.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoreFreeIntegral +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialBoundaryMonotonicity + +namespace OAI + +/-! The boundary modulus determines the plateau endpoint of the limiting core. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_core_radius_identification (R ρ l b : ℝ) + (hρ0 : (3 : ℝ) ≤ ρ) (hl0 : (3 : ℝ) ≤ l) (hρR : ρ < R) (hlR : l ≤ R) + (hRu : R ≤ (10/3 : ℝ)) (hρwidth : R-ρ ≤ (1/1000 : ℝ)) + (hlwidth : R-l ≤ (1/1000 : ℝ)) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (A D : ℝ → ℝ) (hA : Continuous A) (hD : Continuous D) + (hAP : ∀ r ∈ Icc 0 R, 0 < A r) + (hcore : EqOn A (fun _ => 1) (Icc 0 ρ)) (hDρ : D ρ=0) + (hAD : ∀ r ∈ Ioo ρ R, HasDerivAt A (D r) r) + (hDE : ∀ r ∈ Ioo ρ R, HasDerivAt D + (-11/r*D r-radialAmplitudePotential 6 b A r*A r) r) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (hboundary : A R=‖F R‖) : ρ=l := by + obtain ⟨F₀,G₀,hF₀c,hG₀c,hF₀I,hG₀I,hB₀,hmod⟩ := radial_core_free_integral R ρ b hρ0 hρR + hRu hρwidth hb A D hA hD hAP hcore hDρ hAD hDE + have heq : ‖F₀ R‖=‖F R‖ := (hmod R ⟨hρR.le,le_rfl⟩).trans hboundary + rcases lt_trichotomy ρ l with hlt | he | hgt + · have hn := radial_free_boundary_strict_mono b ρ l R hb hρ0 hRu hlt hlR hρwidth + F₀ G₀ F G hF₀c hG₀c hFc hGc hF₀I hG₀I hFI hGI hB₀ hB + exact False.elim ((ne_of_lt hn) heq) + · exact he + · have hn := radial_free_boundary_strict_mono b l ρ R hb hl0 hRu hgt hρR.le hlwidth + F G F₀ G₀ hFc hGc hF₀c hG₀c hFI hGI hF₀I hG₀I hB hB₀ + exact False.elim ((ne_of_lt hn) heq.symm) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreShape.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreShape.lean new file mode 100644 index 0000000000000000000000000000000000000000..b121a3776c775346e88198fc5ca9c961f8d89435 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoreShape.lean @@ -0,0 +1,70 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoreCompactness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialLimitFreeEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTransition +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTailDecrease + +namespace OAI + +/-! The actual large-power inner profiles limit to one plateau and one decreasing free tail. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_coupled_core_shape (R : ℝ) (P : ℕ → RadialInnerData) + (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (c b h₀ : ℝ) (hc : c ∈ Icc (599/100 : ℝ) 6) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 c)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 h₀)) (hlo1 : h₀ < 1) : + ∃ A D : ℝ → ℝ, Continuous A ∧ Continuous D ∧ ∃ φ : ℕ → ℕ, + StrictMono φ ∧ TendstoUniformlyOn (fun n => H (φ n)) A atTop (Icc 0 R) ∧ + TendstoUniformlyOn (fun n => deriv (H (φ n))) D atTop (Icc 0 R) ∧ + A R=h₀ ∧ ∃ ρ ∈ Ico (R-7/10000) R, + EqOn A (fun _ => 1) (Icc 0 ρ) ∧ D ρ=0 ∧ + (∀ r ∈ Ioc ρ R, A r < 1) ∧ StrictAntiOn A (Icc ρ R) ∧ + (∀ r ∈ Ioo ρ R, HasDerivAt A (D r) r ∧ HasDerivAt D + (-11/r*D r-radialAmplitudePotential c b A r*A r) r) := by + obtain ⟨A,D,hA,hD,φ,hφ,hTA,hTD,hAD,hD0,hcore,hBounds⟩ := + radial_coupled_core_subsequence R P hR H hH hp + have hR1 : 1 ≤ R := by simpa only [hR 0] using (P 0).hR + have hR2 : R^2 ≤ 11 := by simpa only [hR 0] using (P 0).hR2 + have hAR : A R=h₀ := by + have hleft := hTA.tendsto_at (show R ∈ Icc 0 R from ⟨by linarith,le_rfl⟩) + have hright := hloT.comp hφ.tendsto_atTop + have heq : (fun n => H (φ n) R)=(fun n => (P (φ n)).lo) := + funext (fun n => (hH (φ n)).2.2.1) + change Tendsto (fun n => (P (φ n)).lo) atTop (𝓝 h₀) at hright + rw [← heq] at hright + exact tendsto_nhds_unique hleft hright + let V := radialAmplitudePotential c b A + have hAI : ∀ r ∈ Icc 0 R, A r ∈ Ioc 0 1 := by + intro r hr + have h := (hBounds r hr).1 + exact ⟨lt_of_lt_of_le (by norm_num) h.1,h.2⟩ + have hV : ∀ r ∈ Ioo 0 R, 0 < V r := by + intro r hr + have h := radialAmplitudePotential_bounds c b R hc hb hR2 A hA + (fun t ht => (hBounds t ht).1) r ⟨hr.1.le,hr.2.le⟩ + exact lt_of_lt_of_le (by norm_num) h.1 + have hFree := radial_inner_limit_free_equation R (fun n => P (φ n)) (fun n => hR (φ n)) + (fun n => H (φ n)) (fun n => hH (φ n)) (hp.comp hφ.tendsto_atTop) + c b hc (hcT.comp hφ.tendsto_atTop) (hbT.comp hφ.tendsto_atTop) + A D hA hD (fun r hr => (hBounds r hr).1) hTA hTD + obtain ⟨ρ,hρ,hplat,hsub,hDρ⟩ := radial_limit_single_transition R (R-7/10000) + (by linarith) (by linarith) A D V hA hAI hAD + (fun r hr hlt => (hFree r hr hlt).2) hV hcore (by rw [hAR]; exact hlo1) + have hρ0 : 0 < ρ := by linarith [hρ.1] + have htail := radial_free_tail_decreasing ρ R hρ0 hρ.2 A D V hA hD + (fun r hr => (hAI r ⟨by linarith [hr.1],hr.2.le⟩).1) + (fun r hr => hV r ⟨by linarith [hr.1],hr.2⟩) + (fun r hr => hAD r ⟨by linarith [hr.1],hr.2⟩) + (fun r hr => (hFree r ⟨by linarith [hr.1],hr.2⟩ (hsub r ⟨hr.1,hr.2.le⟩)).2) hDρ + refine ⟨A,D,hA,hD,φ,hφ,hTA,hTD,hAR,ρ,hρ,hplat,hDρ,hsub,htail.2,?_⟩ + intro r hr + exact hFree r ⟨by linarith [hr.1],hr.2⟩ (hsub r ⟨hr.1,hr.2.le⟩) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledComplexParameter.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledComplexParameter.lean new file mode 100644 index 0000000000000000000000000000000000000000..cd2b602567457b36d2280143beab0afc73481a5b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledComplexParameter.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledDerivativeParameter +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPhaseConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolarJet + +namespace OAI + +/-! Continuity of the actual complex inner boundary jet at a fixed power. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radial_coupled_polar_deriv (P : RadialInnerData) (H : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) (r : ℝ) (hr : r ∈ Icc 0 P.R) : + deriv (radialPolar H (radialPhase P.c (radialClampedAmplitude P.R H))) r= + radialPolarSlope H (deriv H) (radialPhaseSpeed P.c H) + (radialPhase P.c (radialClampedAmplitude P.R H)) r := by + have hC := radialClampedAmplitude_continuous P.R H hH.1.continuous + have hn : ∀ t, radialClampedAmplitude P.R H t ≠ 0 := by + intro t + have hi := (hH.2.2.2.2.1 (radialClamp P.R t) + (radialClamp_mem P.R t (by linarith [P.hR]))).1.1 + change H (radialClamp P.R t) ≠ 0 + linarith [P.lo_lower] + have hph := radialPhase_differentiable P.c _ hC hn + have hdph := (radialPhase_hasDerivAt P.c _ hC hn r).deriv + rw [radialVelocity_clamped_eq P.c P.R H r hr] at hdph + rw [(radialPolar_hasDerivAt H _ hH.1 hph r).deriv,hdph] + rfl + +theorem radial_coupled_complex_parameter_limit (P : RadialInnerData) (Pn : ℕ → RadialInnerData) + (hp : ∀ i, (Pn i).p=P.p) (hR : ∀ i, (Pn i).R=P.R) + (hlo : Tendsto (fun i => (Pn i).lo) atTop (nhds P.lo)) + (hc : Tendsto (fun i => (Pn i).c) atTop (nhds P.c)) + (hb : Tendsto (fun i => (Pn i).b) atTop (nhds P.b)) + (H : ℝ → ℝ) (Hn : ℕ → ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) + (hHn : ∀ i, RadialInnerOutputSpec (Pn i).p (Pn i).R (Pn i).lo (Pn i).c (Pn i).b (Hn i) (Hn i)) : + Tendsto (fun i => + let Q := radialPolar (Hn i) (radialPhase (Pn i).c (radialClampedAmplitude P.R (Hn i))) + (Q P.R,deriv Q P.R)) atTop + (nhds (radialPolar H (radialPhase P.c (radialClampedAmplitude P.R H)) P.R, + deriv (radialPolar H (radialPhase P.c (radialClampedAmplitude P.R H))) P.R)) := by + have hA := radial_coupled_parameter_limit P Pn hp hR hlo hc hb H Hn hH hHn + have hD := radial_coupled_derivative_parameter_limit P Pn hp hR hlo hc hb H Hn hH hHn + have hHI : ∀ r ∈ Icc 0 P.R, H r ∈ Icc (999/1000 : ℝ) 1 := + fun r hr => ⟨P.lo_lower.trans (hH.2.2.2.2.1 r hr).1.1,(hH.2.2.2.2.1 r hr).1.2⟩ + have hHnI : ∀ i r, r ∈ Icc 0 P.R → Hn i r ∈ Icc (999/1000 : ℝ) 1 := by + intro i r hr + have hr' : r ∈ Icc 0 (Pn i).R := by simpa only [hR i] using hr + exact ⟨(Pn i).lo_lower.trans ((hHn i).2.2.2.2.1 r hr').1.1, + ((hHn i).2.2.2.2.1 r hr').1.2⟩ + have hv := radial_phase_speed_uniform P.R (fun i => (Pn i).c) P.c + (fun i => (Pn i).hc) hc Hn H (fun i => (hHn i).1.continuous) hH.1.continuous hHnI hHI hA + have hφ := radial_phase_clamped_uniform P.R (by linarith [P.hR]) (fun i => (Pn i).c) P.c + (fun i => (Pn i).hc) hc Hn H (fun i => (hHn i).1.continuous) hH.1.continuous hHnI hHI hA + have hr : P.R ∈ Icc 0 P.R := ⟨by linarith [P.hR],le_rfl⟩ + let J : ℝ × ℝ × ℝ × ℝ → ℂ × ℂ := fun z => + ((z.1 : ℂ)*Complex.exp (Complex.I*(z.2.2.2 : ℂ)), + ((z.2.1 : ℂ)+Complex.I*(z.1 : ℂ)*(z.2.2.1 : ℂ))*Complex.exp (Complex.I*(z.2.2.2 : ℂ))) + have hJ : Continuous J := by dsimp [J]; fun_prop + have hh := hJ.continuousAt.tendsto.comp + ((hA.tendsto_at hr).prodMk_nhds ((hD.tendsto_at hr).prodMk_nhds + ((hv.tendsto_at hr).prodMk_nhds (hφ.tendsto_at hr)))) + have hdn (i : ℕ) : deriv (radialPolar (Hn i) + (radialPhase (Pn i).c (radialClampedAmplitude P.R (Hn i)))) P.R= + radialPolarSlope (Hn i) (deriv (Hn i)) (radialPhaseSpeed (Pn i).c (Hn i)) + (radialPhase (Pn i).c (radialClampedAmplitude P.R (Hn i))) P.R := by + simpa only [hR i] using radial_coupled_polar_deriv (Pn i) (Hn i) (hHn i) P.R + (by simpa only [hR i] using hr) + dsimp only + simp only [hdn,radial_coupled_polar_deriv P H hH P.R hr] + simpa only [J,radialPolar,radialPolarSlope] using! hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledDerivativeParameter.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledDerivativeParameter.lean new file mode 100644 index 0000000000000000000000000000000000000000..28330ddb636b6d0715b806651292142e85a05995 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledDerivativeParameter.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledParameterLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAverageUniform +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressurePrimitive + +namespace OAI + +/-! Fixed-power parameter continuity of the actual inner radial derivative. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radial_uniform_fixed_power (R : ℝ) (Hn : ℕ → ℝ → ℝ) (H : ℝ → ℝ) + (hH : ContinuousOn H (Icc 0 R)) (ht : TendstoUniformlyOn Hn H atTop (Icc 0 R)) + (p : ℕ) : TendstoUniformlyOn (fun i r => (Hn i r)^p) (fun r => (H r)^p) atTop (Icc 0 R) := by + induction p with + | zero => + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + exact Eventually.of_forall (fun _ _ _ => by simpa only [pow_zero,dist_self] using hε) + | succ p ih => + simpa only [pow_succ] using radial_uniform_product R _ _ _ _ ih ht (hH.pow p) hH + +theorem radial_coupled_derivative_parameter_limit (P : RadialInnerData) (Pn : ℕ → RadialInnerData) + (hp : ∀ i, (Pn i).p=P.p) (hR : ∀ i, (Pn i).R=P.R) + (hlo : Tendsto (fun i => (Pn i).lo) atTop (nhds P.lo)) + (hc : Tendsto (fun i => (Pn i).c) atTop (nhds P.c)) + (hb : Tendsto (fun i => (Pn i).b) atTop (nhds P.b)) + (H : ℝ → ℝ) (Hn : ℕ → ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) + (hHn : ∀ i, RadialInnerOutputSpec (Pn i).p (Pn i).R (Pn i).lo (Pn i).c (Pn i).b (Hn i) (Hn i)) : + TendstoUniformlyOn (fun i => deriv (Hn i)) (deriv H) atTop (Icc 0 P.R) := by + have hA := radial_coupled_parameter_limit P Pn hp hR hlo hc hb H Hn hH hHn + have hHI : ∀ r ∈ Icc 0 P.R, H r ∈ Icc (999/1000 : ℝ) 1 := + fun r hr => ⟨P.lo_lower.trans (hH.2.2.2.2.1 r hr).1.1,(hH.2.2.2.2.1 r hr).1.2⟩ + have hHnI : ∀ i r, r ∈ Icc 0 P.R → Hn i r ∈ Icc (999/1000 : ℝ) 1 := by + intro i r hr + have hr' : r ∈ Icc 0 (Pn i).R := by simpa only [hR i] using hr + exact ⟨(Pn i).lo_lower.trans ((hHn i).2.2.2.2.1 r hr').1.1, + ((hHn i).2.2.2.2.1 r hr').1.2⟩ + have hV := radialAmplitudePotential_uniform_convergence P.R P.hR2 + (fun i => (Pn i).c) (fun i => (Pn i).b) P.c P.b (fun i => (Pn i).hc) P.hc hc hb + Hn H (fun i => (hHn i).1.continuous) hH.1.continuous hHnI hHI hA + have hVC := continuousOn_radialAmplitudePotential P.c P.b P.R H hH.1.continuous + (fun r hr => ne_of_gt (lt_of_lt_of_le (by norm_num) (hHI r hr).1)) + have hVnC (i : ℕ) := continuousOn_radialAmplitudePotential (Pn i).c (Pn i).b P.R + (Hn i) (hHn i).1.continuous + (fun r hr => ne_of_gt (lt_of_lt_of_le (by norm_num) (hHnI i r hr).1)) + have hF := (radial_uniform_fixed_power P.R Hn H hH.1.continuous.continuousOn hA P.p).sub + (radial_uniform_product P.R _ Hn _ H hV hA hVC hH.1.continuous.continuousOn) + have hAvg := radial_derivative_integral_uniform P.R (by linarith [P.hR]) + (fun i r => (Hn i r)^P.p-radialAmplitudePotential (Pn i).c (Pn i).b (Hn i) r*Hn i r) + (fun r => (H r)^P.p-radialAmplitudePotential P.c P.b H r*H r) + (fun i => ((hHn i).1.continuous.pow P.p).continuousOn.sub + ((hVnC i).mul (hHn i).1.continuous.continuousOn)) + ((hH.1.continuous.pow P.p).continuousOn.sub (hVC.mul hH.1.continuous.continuousOn)) hF + apply (hAvg.congr ?_).congr_right + · intro r hr + exact (radial_inner_integral_formula P H hH r hr).symm + · exact Eventually.of_forall (fun i r hr => by + have hr' : r ∈ Icc 0 (Pn i).R := by simpa only [hR i] using hr + simpa only [hp i] using (radial_inner_integral_formula (Pn i) (Hn i) (hHn i) r hr').symm) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledLargePower.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledLargePower.lean new file mode 100644 index 0000000000000000000000000000000000000000..e3f8f5243d3250d8be12c53538c58c824e314d90 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledLargePower.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerFixedPoint +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarLargePower + +namespace OAI + +/-! Coupled inner profiles, uniformly for the manuscript's boundary interval and large powers. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem exists_radial_coupled_large_power_uniform (R : ℝ) (hR : 1 ≤ R) (hR2 : R^2 ≤ 11) : + ∃ P : ℕ, 400 ≤ P ∧ ∀ p : ℕ, P ≤ p → ∀ c b : ℝ, + c ∈ Icc (599/100 : ℝ) 6 → b ∈ Icc (334/1000 : ℝ) (335/1000) → ∀ lo : ℝ, + lo ∈ Icc (1-(1/10000 : ℝ)^2/5) (1-3*(1/10000 : ℝ)^2/20) → + ∃ H : ℝ → ℝ, Differentiable ℝ H ∧ + (∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv H) r) ∧ + H R=lo ∧ HasDerivAt H 0 0 ∧ + (∀ r ∈ Icc 0 R, H r ∈ Icc lo 1 ∧ (H r)^(p-1) ≤ (1/2 : ℝ)) ∧ + (∀ r ∈ Ioo 0 R, -deriv (deriv H) r-11/r*deriv H r+(H r)^p= + radialAmplitudePotential c b H r*H r) := by + obtain ⟨P₁,_,hP₁⟩ := scalar_boundary_power_small (1-3*(1/10000 : ℝ)^2/20) + (by norm_num) (by norm_num) + have ht := tendsto_pow_atTop_nhds_zero_of_lt_one + (by norm_num : (0 : ℝ) ≤ 999/1000) (by norm_num : (999/1000 : ℝ) < 1) + have he : ∀ᶠ n : ℕ in atTop, (999/1000 : ℝ)^n < (1/5 : ℝ) := + ht.eventually (Iio_mem_nhds (by norm_num : (0 : ℝ) < 1/5)) + obtain ⟨N,hN⟩ := eventually_atTop.1 he + refine ⟨max 400 (max P₁ (N+2)),le_max_left _ _,?_⟩ + intro p hp c b hc hb lo hlo + have hp400 : 400 ≤ p := (le_max_left _ _).trans hp + have hpP₁ : P₁ ≤ p := (le_trans (le_max_left _ _) (le_max_right _ _)).trans hp + have hpN : N+2 ≤ p := (le_trans (le_max_right _ _) (le_max_right _ _)).trans hp + have hsmall : lo^(p-1) ≤ (3/10 : ℝ) := hP₁ p hpP₁ lo (by linarith [hlo.1]) hlo.2 + have hleft : (999/1000 : ℝ)^(p-1) ≤ (1/5 : ℝ) := (hN (p-1) (by omega)).le + have htarg : (1/5 : ℝ) ∈ Icc ((999/1000 : ℝ)^(p-1)) ((1 : ℝ)^(p-1)) := + ⟨hleft,by norm_num⟩ + obtain ⟨m,hm,hmp⟩ := intermediate_value_Icc (by norm_num : (999/1000 : ℝ) ≤ 1) + (continuous_id.pow (p-1)).continuousOn htarg + exact exists_radial_coupled_profile + { p := p, R := R, lo := lo, c := c, b := b, m := m, + hp := hp400, hR := hR, hR2 := hR2, hlo := hlo.1, + hlo1 := by linarith [hlo.2], hSmall := hsmall, + hm := hm.1, hm1 := hm.2, hmp := hmp, hc := hc, hb := hb } + +theorem exists_radial_coupled_large_power (R c b : ℝ) (hR : 1 ≤ R) (hR2 : R^2 ≤ 11) + (hc : c ∈ Icc (599/100 : ℝ) 6) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) : + ∃ P : ℕ, 400 ≤ P ∧ ∀ p : ℕ, P ≤ p → ∀ lo : ℝ, + lo ∈ Icc (1-(1/10000 : ℝ)^2/5) (1-3*(1/10000 : ℝ)^2/20) → + ∃ H : ℝ → ℝ, Differentiable ℝ H ∧ + (∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv H) r) ∧ + H R=lo ∧ HasDerivAt H 0 0 ∧ + (∀ r ∈ Icc 0 R, H r ∈ Icc lo 1 ∧ (H r)^(p-1) ≤ (1/2 : ℝ)) ∧ + (∀ r ∈ Ioo 0 R, -deriv (deriv H) r-11/r*deriv H r+(H r)^p= + radialAmplitudePotential c b H r*H r) := by + obtain ⟨P,hP,h⟩ := exists_radial_coupled_large_power_uniform R hR hR2 + exact ⟨P,hP,fun p hp lo hlo => h p hp c b hc hb lo hlo⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledParameterBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledParameterBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..802093cea72dcd5e7cf0eb5efd6a3f390bcb8a8e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledParameterBound.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSmallInverseBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledUniqueness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPotentialParameter + +namespace OAI + +/-! Quantitative parameter continuity of the actual nonlinear inner amplitude. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radial_coupled_parameter_bound (P Q : RadialInnerData) + (hp : Q.p=P.p) (hR : Q.R=P.R) (H K : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) + (hK : RadialInnerOutputSpec Q.p Q.R Q.lo Q.c Q.b K K) : + ∀ r ∈ Icc 0 P.R, |H r-K r| ≤ 3*|P.lo-Q.lo|+|P.c-Q.c|+|P.b-Q.b| := by + have hK' : RadialInnerOutputSpec P.p P.R Q.lo Q.c Q.b K K := by + simpa only [hp,hR] using hK + have hHI : ∀ r ∈ Icc 0 P.R, H r ∈ Icc (999/1000 : ℝ) 1 := + fun r hr => ⟨P.lo_lower.trans (hH.2.2.2.2.1 r hr).1.1,(hH.2.2.2.2.1 r hr).1.2⟩ + have hKI : ∀ r ∈ Icc 0 P.R, K r ∈ Icc (999/1000 : ℝ) 1 := + fun r hr => ⟨Q.lo_lower.trans (hK'.2.2.2.2.1 r hr).1.1,(hK'.2.2.2.2.1 r hr).1.2⟩ + let d : ℝ →ᵇ ℝ := BoundedContinuousFunction.ofNormedAddCommGroup + (fun r => H (radialClamp P.R r)-K (radialClamp P.R r)) + ((hH.1.continuous.comp (continuous_radialClamp P.R)).sub + (hK'.1.continuous.comp (continuous_radialClamp P.R))) 2 (by + intro r + have hr := radialClamp_mem P.R r (by linarith [P.hR]) + rw [Real.norm_eq_abs] + exact abs_le.mpr ⟨by linarith [(hHI _ hr).1,(hKI _ hr).2], + by linarith [(hHI _ hr).2,(hKI _ hr).1]⟩) + have hD : ∀ r ∈ Icc 0 P.R, |H r-K r| ≤ ‖d‖ := by + intro r hr + have hh := d.norm_coe_le_norm r + change ‖H (radialClamp P.R r)-K (radialClamp P.R r)‖ ≤ ‖d‖ at hh + simpa only [radialClamp_eq P.R r hr,Real.norm_eq_abs] using hh + let V := radialAmplitudePotential P.c P.b H + let W := radialAmplitudePotential Q.c Q.b K + let M := 10*‖d‖+|P.c-Q.c|+|P.b-Q.b| + let E := |P.lo-Q.lo| + have hM : 0 ≤ M := by dsimp [M]; positivity + have hE : 0 ≤ E := abs_nonneg _ + have hV : ∀ r ∈ Ioo 0 P.R, V r ≤ (1/2 : ℝ) := by + intro r hr + exact (radialAmplitudePotential_bounds P.c P.b P.R P.hc P.hb P.hR2 H hH.1.continuous + hHI r ⟨hr.1.le,hr.2.le⟩).2 + have hW : ∀ r ∈ Ioo 0 P.R, W r ∈ Icc (3/10 : ℝ) (1/2) := by + intro r hr + exact radialAmplitudePotential_bounds Q.c Q.b P.R Q.hc Q.hb P.hR2 K hK'.1.continuous + hKI r ⟨hr.1.le,hr.2.le⟩ + have hVW : ∀ r ∈ Ioo 0 P.R, |V r-W r| ≤ M := by + intro r hr + have hi : r ∈ Icc 0 P.R := ⟨hr.1.le,hr.2.le⟩ + have ha := radialAmplitudePotential_difference P.c P.b P.R ‖d‖ P.hc P.hR2 + (norm_nonneg _) H K hH.1.continuous hK'.1.continuous hHI hKI hD r hi + have hb := radialAmplitudePotential_parameter_difference P.c Q.c P.b Q.b P.R + P.hc Q.hc P.hR2 K hK'.1.continuous hKI r hi + exact (abs_sub_le (V r) (radialAmplitudePotential P.c P.b K r) (W r)).trans (by + dsimp [V,W,M] at * + linarith) + have hcoreH := radial_scalar_core_lower P.p (by have := P.hp; omega) P.R P.m P.lo + P.hR P.hR2 P.hm P.hm1 P.hmp P.hlo H V hH.1 hH.2.1 hH.2.2.2.1.deriv hH.2.2.1 + (fun r hr => by linarith [(hHI r hr).1]) + (fun r hr => ⟨(radialAmplitudePotential_bounds P.c P.b P.R P.hc P.hb P.hR2 H + hH.1.continuous hHI r ⟨hr.1.le,hr.2.le⟩).1,hV r hr⟩) hH.2.2.2.2.2 + have hcoreK := radial_scalar_core_lower P.p (by have := P.hp; omega) P.R P.m Q.lo + P.hR P.hR2 P.hm P.hm1 P.hmp Q.hlo K W hK'.1 hK'.2.1 hK'.2.2.2.1.deriv hK'.2.2.1 + (fun r hr => by linarith [(hKI r hr).1]) hW hK'.2.2.2.2.2 + have hd : deriv (H-K)=fun r => deriv H r-deriv K r := by + funext r + exact ((hH.1 r).hasDerivAt.sub (hK'.1 r).hasDerivAt).deriv + have hbound := radial_small_inverse_boundary_bound P.p (by have := P.hp; omega) P.R M E + P.hR P.hR2 hM hE V (fun r => radialPowerSlope P.p (H r) (K r)) (H-K) + (hH.1.sub hK'.1) (fun r hr => by rw [hd]; exact (hH.2.1 r hr).sub (hK'.2.1 r hr)) + (by rw [hd]; simp only [hH.2.2.2.1.deriv,hK'.2.2.2.1.deriv,sub_self]) + (by change |H P.R-K P.R| ≤ E; rw [hH.2.2.1,hK'.2.2.1]) hV + (fun r hr => radialPowerSlope_nonneg P.p _ _ + (by linarith [(hHI r ⟨hr.1.le,hr.2.le⟩).1]) + (by linarith [(hKI r ⟨hr.1.le,hr.2.le⟩).1])) + (fun r hr hc => by + have hh := radialPowerSlope_lower P.p P.m (H r) (K r) (by linarith [P.hm]) + (hcoreH r ⟨hr.1.le,hr.2.le⟩ hc) (hcoreK r ⟨hr.1.le,hr.2.le⟩ hc) + simpa only [P.hmp,mul_one_div] using hh) + (by + intro r hr + rw [radial_scalar_difference_equation P.p V W H K hH.1 hK'.1 r (hH.2.1 r hr) + (hK'.2.1 r hr) (hH.2.2.2.2.2 r hr) (hK'.2.2.2.2.2 r hr),abs_mul, + abs_of_nonneg (by linarith [(hKI r ⟨hr.1.le,hr.2.le⟩).1] : 0 ≤ K r)] + exact (mul_le_mul (hVW r hr) (hKI r ⟨hr.1.le,hr.2.le⟩).2 + (by linarith [(hKI r ⟨hr.1.le,hr.2.le⟩).1]) hM).trans_eq (mul_one M)) + have hsup : ‖d‖ ≤ E+(M+E/2)*(10/(P.p : ℝ)+(8/10000 : ℝ)^2) := by + apply (BoundedContinuousFunction.norm_le (by positivity)).mpr + intro r + change ‖H (radialClamp P.R r)-K (radialClamp P.R r)‖ ≤ _ + rw [Real.norm_eq_abs] + exact hbound _ (radialClamp_mem P.R r (by linarith [P.hR])) + have hp400 : (400 : ℝ) ≤ P.p := by exact_mod_cast P.hp + have hθ : 10/(P.p : ℝ)+(8/10000 : ℝ)^2 ≤ (1/20 : ℝ) := by + have hh : 10/(P.p : ℝ) ≤ (1/40 : ℝ) := (div_le_iff₀ (by linarith)).mpr (by linarith) + linarith + have hsup' : ‖d‖ ≤ E+(M+E/2)/20 := hsup.trans + (add_le_add le_rfl (by + simpa only [div_eq_mul_inv,one_mul] using mul_le_mul_of_nonneg_left hθ (by positivity : 0 ≤ M+E/2))) + intro r hr + apply (hD r hr).trans + dsimp [M,E] at hsup' ⊢ + nlinarith [abs_nonneg (P.lo-Q.lo),abs_nonneg (P.c-Q.c),abs_nonneg (P.b-Q.b)] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledParameterLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledParameterLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..a96e1b0c672fddefefe7d663648efe531a645eb6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledParameterLimit.lean @@ -0,0 +1,33 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledParameterBound +import Mathlib.Topology.MetricSpace.UniformConvergence + +namespace OAI + +/-! Uniform fixed-power continuity of the nonlinear inner amplitudes. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radial_coupled_parameter_limit (P : RadialInnerData) (Pn : ℕ → RadialInnerData) + (hp : ∀ i, (Pn i).p=P.p) (hR : ∀ i, (Pn i).R=P.R) + (hlo : Tendsto (fun i => (Pn i).lo) atTop (nhds P.lo)) + (hc : Tendsto (fun i => (Pn i).c) atTop (nhds P.c)) + (hb : Tendsto (fun i => (Pn i).b) atTop (nhds P.b)) + (H : ℝ → ℝ) (Hn : ℕ → ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) + (hHn : ∀ i, RadialInnerOutputSpec (Pn i).p (Pn i).R (Pn i).lo (Pn i).c (Pn i).b (Hn i) (Hn i)) : + TendstoUniformlyOn Hn H atTop (Icc 0 P.R) := by + have hlim : Tendsto (fun i => 3*|P.lo-(Pn i).lo|+|P.c-(Pn i).c|+|P.b-(Pn i).b|) + atTop (nhds 0) := by + have hh := (((hlo.const_sub P.lo).abs.const_mul 3).add + (hc.const_sub P.c).abs).add (hb.const_sub P.b).abs + simpa only [sub_self,abs_zero,mul_zero,add_zero] using hh + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + filter_upwards [hlim.eventually (gt_mem_nhds hε)] with i hi r hr + have he := radial_coupled_parameter_bound P (Pn i) (hp i) (hR i) H (Hn i) hH (hHn i) r hr + simpa only [Real.dist_eq] using he.trans_lt hi + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureTesting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureTesting.lean new file mode 100644 index 0000000000000000000000000000000000000000..499502fb080b09382a631b0839778e340c07492f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureTesting.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureLocalTesting +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureStepConvergence + +namespace OAI + +/-! C1 test convergence of the actual nonlinear inner pressure. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_pressure_test_convergence (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l < R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) + (φ φ₁ : ℝ → ℝ) (hφ : Continuous φ) (hφ₁ : Continuous φ₁) + (hφD : ∀ r ∈ Ioo 0 R, HasDerivAt φ (φ₁ r) r) : + Tendsto (fun n => ∫ t in (0 : ℝ)..R, (H n t)^((P n).p-1)*φ t*t^11) atTop + (𝓝 (b*∫ t in (0 : ℝ)..l, φ t*t^11)) := by + have hsub := radial_free_modulus_lt_one b l R hb hl hRu hlR.le hlwidth F G hFc hGc hFI hGI hB + obtain ⟨A,D,hA,hD,hTA,hTD,hcore,hDl,htail⟩ := radial_coupled_C1_core_convergence R l b hRlow hRu + hl hlR.le hlwidth hb F G hFc hGc hFI hGI hB (hsub R ⟨hlR,le_rfl⟩) P hR H hH hp hcT hbT hloT + have hAI : ∀ r ∈ Icc 0 R, A r ∈ Icc (999/1000 : ℝ) 1 := by + intro r hr + exact ⟨ge_of_tendsto' (hTA.tendsto_at hr) (fun n => + (P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1), + le_of_tendsto' (hTA.tendsto_at hr) (fun n => ((hH n).2.2.2.2.1 r hr).1.2)⟩ + have hAD : ∀ r ∈ Ioo 0 R, HasDerivAt A (D r) r := by + intro r hr + exact hasDerivAt_of_tendstoUniformlyOn isOpen_Ioo (hTD.mono Ioo_subset_Icc_self) + (Eventually.of_forall (fun n t _ => ((hH n).1 t).hasDerivAt)) + (fun t ht => hTA.tendsto_at ⟨ht.1.le,ht.2.le⟩) hr + have hT := radial_coupled_pressure_step_primitive R l b hRlow hRu hl hlR hlwidth hb + F G hFc hGc hFI hGI hB P hR H hH hp hcT hbT hloT + apply radial_pressure_local_test_convergence R l b (by linarith) hlR.le + (fun n => (P n).p) (fun n => by have hn := (P n).hp; omega) H + (fun n => (hH n).1.continuous) _ _ A D hA hD _ hAD hcore hTA hT φ φ₁ hφ hφ₁ hφD + · intro n r hr + exact (le_of_lt (show (0 : ℝ) < (999/1000 : ℝ) by norm_num)).trans + ((P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1) + · intro n r hr + exact ((hH n).2.2.2.2.1 r hr).2.trans (by norm_num) + · intro r hr + exact ne_of_gt (lt_of_lt_of_le (by norm_num) (hAI r hr).1) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureUnweighted.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureUnweighted.lean new file mode 100644 index 0000000000000000000000000000000000000000..3feab63e799bbf6c937cd33a1dc940099d0d1716 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureUnweighted.lean @@ -0,0 +1,35 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledPressureWeakStar +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureUnweighted + +namespace OAI + +/-! Full unweighted weak-star convergence of the actual inner pressure. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_pressure_weakstar_unweighted (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l < R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) + (φ : ℝ → ℝ) (hφ : Integrable φ (volume.restrict (Icc 0 R))) : + Tendsto (fun n => ∫ r in (0 : ℝ)..R, (H n r)^((P n).p-1)*φ r) atTop + (𝓝 (∫ r in (0 : ℝ)..R, (Iic l).indicator (fun _ : ℝ => b) r*φ r)) := by + exact radial_weighted_weakstar_unweighted R (by linarith) _ _ + (fun g hg => radial_coupled_pressure_weakstar R l b hRlow hRu hl hlR hlwidth hb + F G hFc hGc hFI hGI hB P hR H hH hp hcT hbT hloT g hg) φ hφ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureWeakStar.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureWeakStar.lean new file mode 100644 index 0000000000000000000000000000000000000000..b521a487698b9d54293e01b44e67f12e4844930f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledPressureWeakStar.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureWeakStar +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledPressureTesting + +namespace OAI + +/-! Weak-star pressure convergence for the actual coupled inner profiles. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_pressure_weakstar (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l < R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) + (φ : ℝ → ℝ) (hφ : Integrable φ (radialPressureMeasure R)) : + Tendsto (fun n => ∫ r, (H n r)^((P n).p-1)*φ r ∂radialPressureMeasure R) atTop + (𝓝 (∫ r, (Iic l).indicator (fun _ : ℝ => b) r*φ r ∂radialPressureMeasure R)) := by + apply radial_pressure_weakstar_of_C1_testing R l b (by linarith) hlR.le + (abs_le.mpr ⟨by linarith [hb.1],by linarith [hb.2]⟩) + (fun n r => (H n r)^((P n).p-1)) (fun n => (hH n).1.continuous.pow _) _ _ φ hφ + · intro n r hr + have hpos : 0 ≤ H n r := le_trans (by norm_num : (0 : ℝ) ≤ 999/1000) + ((P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1) + rw [Real.norm_eq_abs,abs_of_nonneg (pow_nonneg hpos _)] + exact ((hH n).2.2.2.2.1 r hr).2.trans (by norm_num) + · intro g g₁ hg hg₁ hgD + exact radial_coupled_pressure_test_convergence R l b hRlow hRu hl hlR hlwidth hb + F G hFc hGc hFI hGI hB P hR H hH hp hcT hbT hloT g g₁ hg hg₁ hgD + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..53b83b1330b65633b34d04dab6c2fdf6ed1066e9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialCoupledUniqueness.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerFixedPoint + +namespace OAI + +/-! Uniqueness in the proved positive-amplitude class for the coupled inner problem. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radial_coupled_profile_unique (P : RadialInnerData) (H K : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) + (hK : RadialInnerOutputSpec P.p P.R P.lo P.c P.b K K) : EqOn H K (Icc 0 P.R) := by + let d : ℝ →ᵇ ℝ := BoundedContinuousFunction.ofNormedAddCommGroup + (fun r => H (radialClamp P.R r)-K (radialClamp P.R r)) + ((hH.1.continuous.comp (continuous_radialClamp P.R)).sub + (hK.1.continuous.comp (continuous_radialClamp P.R))) 2 (by + intro r + have hr := radialClamp_mem P.R r (by linarith [P.hR]) + have hHI := (hH.2.2.2.2.1 _ hr).1 + have hKI := (hK.2.2.2.2.1 _ hr).1 + rw [Real.norm_eq_abs] + exact abs_le.2 ⟨by linarith [P.lo_lower,hHI.1,hHI.2,hKI.1,hKI.2],by linarith [P.lo_lower,hHI.1,hHI.2,hKI.1,hKI.2]⟩) + have hHK : ∀ r ∈ Icc 0 P.R, |H r-K r| ≤ ‖d‖ := by + intro r hr + have h := d.norm_coe_le_norm r + change ‖H (radialClamp P.R r)-K (radialClamp P.R r)‖ ≤ ‖d‖ at h + simpa only [radialClamp_eq P.R r hr,Real.norm_eq_abs] using h + have hC := radial_inner_output_contraction P.p (by have := P.hp; omega) + P.R P.lo P.c P.b P.m ‖d‖ P.hR P.hR2 P.hlo P.hm P.hm1 P.hmp P.hc P.hb + (norm_nonneg _) H K H K hH.1.continuous hK.1.continuous + (fun r hr => ⟨P.lo_lower.trans (hH.2.2.2.2.1 r hr).1.1,(hH.2.2.2.2.1 r hr).1.2⟩) + (fun r hr => ⟨P.lo_lower.trans (hK.2.2.2.2.1 r hr).1.1,(hK.2.2.2.2.1 r hr).1.2⟩) hHK hH hK + have hn : ‖d‖ ≤ (1/2 : ℝ)*‖d‖ := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro r + change ‖H (radialClamp P.R r)-K (radialClamp P.R r)‖ ≤ _ + rw [Real.norm_eq_abs] + exact (hC _ (radialClamp_mem P.R r (by linarith [P.hR]))).trans + (mul_le_mul_of_nonneg_right (radial_inner_contraction_constant P.p P.hp) (norm_nonneg _)) + have hz : ‖d‖=0 := by linarith [norm_nonneg d] + intro r hr + have h := hHK r hr + rw [hz] at h + exact sub_eq_zero.1 (abs_nonpos_iff.1 h) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDerivativeBounded.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDerivativeBounded.lean new file mode 100644 index 0000000000000000000000000000000000000000..c0ad56ab8c0744da6a554292ef348d4b39651669 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDerivativeBounded.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialProfileDerivativeBounds + +namespace OAI + +/-! Every radial derivative of the matched profile is globally bounded. +The Cartesian symbol bound applies on both halves of the chosen unit ray. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatchedEvenProfile_iteratedDeriv_bounded (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (j : ℕ) : + ∃ B : ℝ, 0≤B ∧ ∀ r, ‖iteratedDeriv j (radialMatchedEvenProfile n z) r‖≤B := by + let e : E := (EuclideanSpace.basisFun (Fin 12) ℝ) 0 + let L : ℝ →L[ℝ] E := (ContinuousLinearMap.id ℝ ℝ).smulRight e + have he : ‖e‖=1 := (EuclideanSpace.basisFun (Fin 12) ℝ).norm_eq_one 0 + have hL (r : ℝ) : L r=r • e := rfl + have hQ := radialMatchedCartesian_contDiff n z hX hz + have hQr := radialMatchedEvenProfile_contDiff n z hX hz + have hj (r : ℝ) : iteratedDeriv j (radialMatchedEvenProfile n z) r = + iteratedFDeriv ℝ j (radialMatchedCartesian n z) (L r) (fun _ => e) := by + change iteratedDeriv j (radialMatchedCartesian n z ∘ L) r = _ + rw [iteratedDeriv,L.iteratedFDeriv_comp_right hQ r (by simp)] + simp only [ContinuousMultilinearMap.compContinuousLinearMap_apply,hL,one_smul] + obtain ⟨C,hC⟩ := isCompact_Icc.exists_bound_of_continuousOn + (s := Icc (-1 : ℝ) 1) (hQr.continuous_iteratedDeriv j (by simp)).continuousOn + obtain ⟨D,hD,hb⟩ := radialMatchedCartesian_symbol n z hX hz j + have ha : 0 e) + _ ≤ D*|r|^(-2*radialShootingA n-(j : ℝ)) := by + simpa only [hn] using hb (L r) (by rwa [hn]) + _ ≤ D := by simpa only [mul_one] using mul_le_mul_of_nonneg_left hp hD + _ ≤ _ := le_max_right _ _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDerivativeInterpolation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDerivativeInterpolation.lean new file mode 100644 index 0000000000000000000000000000000000000000..fe72292abc39164e80ab9ef33824718c7ea90515 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDerivativeInterpolation.lean @@ -0,0 +1,57 @@ +import Mathlib.Analysis.Calculus.MeanValue +import Mathlib.Analysis.Complex.RealDeriv + +namespace OAI + +/-! A short-interval derivative estimate used to differentiate outgoing remainders. -/ + +open Set +namespace DefocusingNLS + +theorem radial_derivative_interpolation (f : ℝ → ℂ) (t h A B : ℝ) + (hh : 0 < h) (hB : 0 ≤ B) + (hf : ∀ s ∈ Icc t (t+h), DifferentiableAt ℝ f s) + (hdf : ∀ s ∈ Icc t (t+h), DifferentiableAt ℝ (deriv f) s) + (hA : ∀ s ∈ Icc t (t+h), ‖f s‖ ≤ A) + (hdd : ∀ s ∈ Icc t (t+h), ‖deriv (deriv f) s‖ ≤ B) : + ‖deriv f t‖ ≤ 2*A/h+B*h := by + have ht : t ∈ Icc t (t+h) := ⟨le_rfl,by linarith⟩ + have hth : t+h ∈ Icc t (t+h) := ⟨by linarith,le_rfl⟩ + have hLip (s : ℝ) (hs : s ∈ Icc t (t+h)) : + ‖deriv f s-deriv f t‖ ≤ B*h := by + have hb := Convex.norm_image_sub_le_of_norm_deriv_le hdf hdd + (convex_Icc t (t+h)) ht hs + have hn : ‖s-t‖ ≤ h := by + rw [Real.norm_eq_abs,abs_of_nonneg (sub_nonneg.mpr hs.1)] + linarith [hs.2] + exact hb.trans (mul_le_mul_of_nonneg_left hn hB) + let g : ℝ → ℂ := fun s => f s-f t-((s-t : ℝ) : ℂ)*deriv f t + have hg (s : ℝ) (hs : s ∈ Icc t (t+h)) : + HasDerivAt g (deriv f s-deriv f t) s := by + have hh := ((hf s hs).hasDerivAt.sub_const (f t)).sub + (((hasDerivAt_id s).sub_const t).ofReal_comp.mul_const (deriv f t)) + convert hh using 1 <;> simp [g,funext_iff] + have hrem := (convex_Icc t (t+h)).norm_image_sub_le_of_norm_hasDerivWithin_le + (fun s hs => (hg s hs).hasDerivWithinAt) hLip ht hth + have hgnorm : ‖g (t+h)‖ ≤ B*h^2 := by + simpa only [g,sub_self,Complex.ofReal_zero,zero_mul,sub_zero,add_sub_cancel_left, + Real.norm_eq_abs,abs_of_pos hh,mul_assoc,pow_two] using hrem + have hidentity : (h : ℂ)*deriv f t=f (t+h)-f t-g (t+h) := by + dsimp [g] + push_cast + ring + have hbound : h*‖deriv f t‖ ≤ 2*A+B*h^2 := by + calc + h*‖deriv f t‖ = ‖(h : ℂ)*deriv f t‖ := by + rw [norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos hh] + _ = ‖f (t+h)-f t-g (t+h)‖ := congrArg norm hidentity + _ ≤ ‖f (t+h)‖+‖f t‖+‖g (t+h)‖ := + (norm_sub_le _ _).trans (add_le_add (norm_sub_le _ _) (le_refl _)) + _ ≤ A+A+B*h^2 := add_le_add (add_le_add (hA _ hth) (hA _ ht)) hgnorm + _ = _ := by ring + have hcancel : (2*A/h)*h=2*A := div_mul_cancel₀ _ hh.ne' + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDifferentiateIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDifferentiateIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..61b92399c2ec825908869ff1fe84e9aa81a33ed4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDifferentiateIntegral.lean @@ -0,0 +1,44 @@ +import Mathlib.Analysis.Calculus.Deriv.Slope +import Mathlib.MeasureTheory.Integral.DominatedConvergence +import Mathlib.MeasureTheory.Integral.Bochner.Set + +namespace OAI + +/-! Differentiating the regular radial integral along a one-sided interval. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_hasDerivWithinAt_integral (F : ℝ → ℝ → ℂ) (D : ℝ → ℂ) + (s : Set ℝ) (x₀ C : ℝ) + (hF : ∀ x ∈ s, IntegrableOn (F x) (Icc (0 : ℝ) 1)) + (hF₀ : IntegrableOn (F x₀) (Icc (0 : ℝ) 1)) + (hD : ∀ t ∈ Icc (0 : ℝ) 1, HasDerivWithinAt (fun x => F x t) (D t) s x₀) + (hB : ∀ᶠ x in nhdsWithin x₀ (s \ {x₀}), + ∀ t ∈ Icc (0 : ℝ) 1, ‖slope (fun y => F y t) x₀ x‖ ≤ C) : + HasDerivWithinAt (fun x => ∫ t in Icc (0 : ℝ) 1, F x t) + (∫ t in Icc (0 : ℝ) 1, D t) s x₀ := by + let μ := volume.restrict (Icc (0 : ℝ) 1) + have hm : ∀ᶠ x in nhdsWithin x₀ (s \ {x₀}), + AEStronglyMeasurable (fun t => slope (fun y => F y t) x₀ x) μ := by + filter_upwards [self_mem_nhdsWithin] with x hx + exact ((hF x hx.1).aestronglyMeasurable.sub hF₀.aestronglyMeasurable).const_smul _ + have hb : ∀ᶠ x in nhdsWithin x₀ (s \ {x₀}), + ∀ᵐ t ∂μ, ‖slope (fun y => F y t) x₀ x‖ ≤ C := by + filter_upwards [hB] with x hx + exact (ae_restrict_iff' measurableSet_Icc).2 (Eventually.of_forall hx) + have hd : ∀ᵐ t ∂μ, Tendsto (fun x => slope (fun y => F y t) x₀ x) + (nhdsWithin x₀ (s \ {x₀})) (nhds (D t)) := by + apply (ae_restrict_iff' measurableSet_Icc).2 + exact Eventually.of_forall (fun t ht => hasDerivWithinAt_iff_tendsto_slope.mp (hD t ht)) + have ht := tendsto_integral_filter_of_dominated_convergence (μ := μ) + (fun _ => C) hm hb (integrableOn_const (by simp)) hd + rw [hasDerivWithinAt_iff_tendsto_slope] + apply ht.congr' + filter_upwards [self_mem_nhdsWithin] with x hx + simp only [slope_def_module] + rw [integral_smul,integral_sub (hF x hx.1) hF₀] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBoundaryBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBoundaryBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..0e9d865481050890a59dee837c7cc436b0641b5a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBoundaryBound.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexBoundaryFormula +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralDilationBoundaryEstimate + +namespace OAI + +/-! The exact angular boundary term is controlled by the frequency-weighted +Cauchy energy, including angular degrees of order square root frequency. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialComplexAngularBoundary_bound (n : ℕ) (z : ProfileMatchingBall) + (R omega eta W Q S A s : ℝ) (q : ℝ → ℝ) (f : ℝ → ℂ) + (hR : 0 < R) (ho : 1 ≤ omega) (heta : 0 ≤ eta) (hW : 0 ≤ W) + (hQ : 0 ≤ Q) (hS : 0 ≤ S) (hA : 0 ≤ A) + (hang : eta ≤ A*omega) (hw : |radialMatchedVelocity n z R| ≤ W) + (hs : |s| ≤ S) (hq : |q R| ≤ Q) (hf : Differentiable ℝ f) : + |radialComplexAngularBoundary n z eta R s q f| ≤ + (W*(Q+1)+S+W*(A/R^2))*radialMassDensity n z R* + (omega*‖f R‖^2+‖deriv f R‖^2) := by + have hM : 0 ≤ radialMassDensity n z R := by dsimp only [radialMassDensity]; positivity + have hV : |radialMassFlux n z R| ≤ W*radialMassDensity n z R := by + change |radialMassDensity n z R*radialMatchedVelocity n z R| ≤ _ + rw [abs_mul,abs_of_nonneg hM] + simpa only [mul_comm] using mul_le_mul_of_nonneg_left hw hM + have hK : radialAngularDensity n z R=radialMassDensity n z R/R^2 := by + dsimp only [radialAngularDensity,radialMassDensity] + field_simp + have hJ : |eta*radialAngularDensity n z R*radialMatchedVelocity n z R| ≤ + W*(A/R^2)*omega*radialMassDensity n z R := by + rw [hK,abs_mul,abs_mul,abs_of_nonneg heta,abs_of_nonneg (by positivity : 0 ≤ radialMassDensity n z R/R^2)] + calc + _ ≤ (A*omega)*(radialMassDensity n z R/R^2)*W := + mul_le_mul (mul_le_mul_of_nonneg_right hang (by positivity)) hw (abs_nonneg _) (by positivity) + _ = _ := by ring + rw [radialComplexAngularBoundary_eq n z eta R s q f hf] + exact spectralDilationBoundary_estimate _ _ _ omega W Q S (A/R^2) s (q R) + (f R) (deriv f R) hM ho hW hQ hS (by positivity) hV hJ hs hq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBoundaryLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBoundaryLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..a27dbd5a018d5a48ed1ca733dad909c662113194 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBoundaryLimit.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDilationBoundaryBound +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformVelocityBound +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformExteriorPressure + +namespace OAI + +/-! The actual exterior pressure and velocity bounds make the two dilation +boundary forms vanish with the weighted gauge Cauchy energy. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_dilation_boundary_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R A : ℝ) (hR : innerBoundaryRadius < R) (hA : 0 ≤ A) + (omega eta : ℕ → ℝ) (hw : Tendsto omega atTop atTop) (he : ∀ i, 0 ≤ eta i) + (hang : ∀ᶠ i in atTop, eta i ≤ A*omega i) + (f g : ℕ → ℝ → ℂ) (hf : ∀ i, ContDiff ℝ 1 (f i)) (hg : ∀ i, ContDiff ℝ 1 (g i)) + (henergy : Tendsto (fun i => radialMassDensity (s i) (z i) R* + spectralWeightedCauchyEnergy (omega i) (f i) (g i) R) atTop (𝓝 0)) : + Tendsto (fun i => radialComplexAngularBoundary (s i) (z i) (eta i) R + ((6-2*radialShootingA (s i))/2) (radialSpectralPressure (s i) (z i)) (f i)) atTop (𝓝 0) ∧ + Tendsto (fun i => radialComplexAngularBoundary (s i) (z i) (eta i) R + ((6-2*radialShootingA (s i))/2) (fun _ => 0) (g i)) atTop (𝓝 0) := by + have hR0 : 0 < R := by linarith [innerBoundaryRadius_bounds.1] + obtain ⟨W,hW,hvel⟩ := radialMatched_uniform_velocity_bound s hs z z₀ hz hX hm R hR0.le + let K := W*(1/R^2+1)+3+W*(A/R^2) + have hK : 0 ≤ K := by dsimp only [K]; positivity + have ht := henergy.const_mul K + simp only [mul_zero] at ht + have hb : ∀ᶠ i in atTop, + |radialComplexAngularBoundary (s i) (z i) (eta i) R + ((6-2*radialShootingA (s i))/2) (radialSpectralPressure (s i) (z i)) (f i)| ≤ + K*(radialMassDensity (s i) (z i) R*spectralWeightedCauchyEnergy (omega i) (f i) (g i) R) ∧ + |radialComplexAngularBoundary (s i) (z i) (eta i) R + ((6-2*radialShootingA (s i))/2) (fun _ => 0) (g i)| ≤ + K*(radialMassDensity (s i) (z i) R*spectralWeightedCauchyEnergy (omega i) (f i) (g i) R) := by + filter_upwards [hvel,hang,hw.eventually (eventually_ge_atTop 1), + hs.tendsto_atTop.eventually (radialMatched_exterior_pressure_small 1 (by norm_num))] with i hvi hai hoi hqi + have has := radialShootingA_bounds (s i) (profileMatchingParameter (z i)) + have hshift : |(6-2*radialShootingA (s i))/2| ≤ 3 := by + apply abs_le.mpr + constructor <;> linarith + have hq : |radialSpectralPressure (s i) (z i) R| ≤ 1/R^2 := by + have hq0 : 0 ≤ radialSpectralPressure (s i) (z i) R := by + dsimp only [radialSpectralPressure] + exact div_nonneg (by positivity) has.1.le + rw [abs_of_nonneg hq0] + apply (le_div_iff₀ (sq_pos_of_pos hR0)).mpr + have hh := hqi (z i) R hR + change R^2*radialSpectralPressure (s i) (z i) R < 1 at hh + linarith only [hh] + have hM : 0 ≤ radialMassDensity (s i) (z i) R := by dsimp only [radialMassDensity]; positivity + have hEf : omega i*‖f i R‖^2+‖deriv (f i) R‖^2 ≤ spectralWeightedCauchyEnergy (omega i) (f i) (g i) R := by + dsimp only [spectralWeightedCauchyEnergy] + nlinarith [mul_nonneg (show 0 ≤ omega i by linarith) (sq_nonneg ‖g i R‖),sq_nonneg ‖deriv (g i) R‖] + have hEg : omega i*‖g i R‖^2+‖deriv (g i) R‖^2 ≤ spectralWeightedCauchyEnergy (omega i) (f i) (g i) R := by + dsimp only [spectralWeightedCauchyEnergy] + nlinarith [mul_nonneg (show 0 ≤ omega i by linarith) (sq_nonneg ‖f i R‖),sq_nonneg ‖deriv (f i) R‖] + have hcoeff := mul_nonneg hK hM + have hfB := radialComplexAngularBoundary_bound (s i) (z i) R (omega i) (eta i) W (1/R^2) 3 A + ((6-2*radialShootingA (s i))/2) (radialSpectralPressure (s i) (z i)) (f i) + hR0 hoi (he i) hW (by positivity) (by norm_num) hA hai (hvi R ⟨hR0.le,le_rfl⟩).1 hshift hq + ((hf i).differentiable (by norm_num)) + have hgB := radialComplexAngularBoundary_bound (s i) (z i) R (omega i) (eta i) W (1/R^2) 3 A + ((6-2*radialShootingA (s i))/2) (fun _ => 0) (g i) + hR0 hoi (he i) hW (by positivity) (by norm_num) hA hai (hvi R ⟨hR0.le,le_rfl⟩).1 hshift (by simp; positivity) + ((hg i).differentiable (by norm_num)) + constructor + · exact hfB.trans (by simpa only [K,mul_assoc] using mul_le_mul_of_nonneg_left hEf hcoeff) + · exact hgB.trans (by simpa only [K,mul_assoc] using mul_le_mul_of_nonneg_left hEg hcoeff) + constructor + · exact squeeze_zero_norm' (hb.mono (fun i hi => by simpa only [Real.norm_eq_abs] using hi.1)) ht + · exact squeeze_zero_norm' (hb.mono (fun i hi => by simpa only [Real.norm_eq_abs] using hi.2)) ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBulkBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBulkBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..2310d2898fee2b1b8326e19b6a76b2d9fc524011 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationBulkBound.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexDilationIdentity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexVirialCoercivity + +namespace OAI + +/-! The actual complex virial identity controls both gradient energies by +its cross pairing, explicit boundary terms and the first-component mass. -/ + +open Set Filter MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_dilation_bulk_bound : + ∃ k : ℝ, 0 < k ∧ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ eta R : ℝ, 0 ≤ eta → 0 ≤ R → + ∀ (lam : ℂ) (f g : ℝ → ℂ), ContDiff ℝ 2 f → ContDiff ℝ 2 g → + IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (eta : ℂ) lam f g → + k*(radialComplexAngularForm n z eta R (fun _ => 0) f+ + radialComplexAngularForm n z eta R (fun _ => 0) g) ≤ + ((lam-(((6-2*radialShootingA n)/2 : ℝ) : ℂ))* + radialComplexDilationPairing n z R ((6-2*radialShootingA n)/2) f g).re- + radialComplexAngularBoundary n z eta R ((6-2*radialShootingA n)/2) (radialSpectralPressure n z) f- + radialComplexAngularBoundary n z eta R ((6-2*radialShootingA n)/2) (fun _ => 0) g+ + 800*(∫ r in (0 : ℝ)..R, radialMassDensity n z r*‖f r‖^2) := by + obtain ⟨k,hk,hdef⟩ := radialMatched_uniform_deformation + refine ⟨k,hk,?_⟩ + filter_upwards [hdef,radialMatched_global_pressure_transport_bound] with n hn hp + intro z hX hz eta R heta hR lam f g hf hg he + have hdq := radialSpectralPressure_deriv_continuousOn n z hX hz R + have hvel r (hr : r ∈ Icc 0 R) : k ≤ deriv (radialMatchedVelocity n z) r ∧ + k ≤ radialMatchedVelocityRatio n z r := hn z hX hz r hr.1 + have hpress r (hr : r ∈ Icc 0 R) : + radialMatchedVelocity n z r*deriv (radialSpectralPressure n z) r ≤ 1600 := hp z hX hz r hr.1 + have hfp := radialComplexShiftedVirial_coercive n z hX hz eta R k 1600 heta hR + (radialSpectralPressure n z) (deriv (radialSpectralPressure n z)) f + (hf.of_le (by norm_num)) hdq hvel hpress + have hgp := radialComplexShiftedVirial_coercive n z hX hz eta R k 0 heta hR + (fun _ => 0) (fun _ => 0) g (hg.of_le (by norm_num)) continuousOn_const hvel (by simp) + norm_num only [show (1600 : ℝ)/2=800 by norm_num,zero_div,zero_mul,add_zero] at hfp hgp + have hid := radialMatched_complex_dilation_identity n z hX hz eta R + ((6-2*radialShootingA n)/2) hR lam f g hf hg he + linarith only [hfp,hgp,hid] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationCrossBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationCrossBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..04feebe28af485697f5e254004fcc017382adb13 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationCrossBoundary.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformVelocityBound +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLiouvilleWeightedEnergy + +namespace OAI + +/-! Vanishing weighted boundary energy controls both the ordinary cross +boundary term and the cross term multiplied by the spectral frequency. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem spectralCrossBoundary_bound (M V W omega : ℝ) (hM : 0 ≤ M) (hW : 0 ≤ W) + (ho : 1 ≤ omega) (hV : |V| ≤ W*M) (f g df dg : ℂ) : + ‖(V : ℂ)*star f*g‖ ≤ W*M*(omega*(‖f‖^2+‖g‖^2)+‖df‖^2+‖dg‖^2) ∧ + ‖(omega : ℂ)*((V : ℂ)*star f*g)‖ ≤ + W*M*(omega*(‖f‖^2+‖g‖^2)+‖df‖^2+‖dg‖^2) := by + have ho0 : 0 ≤ omega := by linarith + have hp : ‖f‖*‖g‖ ≤ ‖f‖^2+‖g‖^2 := by nlinarith [sq_nonneg (‖f‖-‖g‖)] + have ht := mul_le_mul_of_nonneg_left hp ho0 + have he := mul_le_mul_of_nonneg_right ho (add_nonneg (sq_nonneg ‖f‖) (sq_nonneg ‖g‖)) + have hd : 0 ≤ ‖df‖^2+‖dg‖^2 := by positivity + have hb : ‖(V : ℂ)*star f*g‖ ≤ W*M*(‖f‖*‖g‖) := by + simp only [norm_mul,norm_star,Complex.norm_real,Real.norm_eq_abs] + simpa only [mul_assoc] using mul_le_mul_of_nonneg_right hV (mul_nonneg (norm_nonneg f) (norm_nonneg g)) + constructor + · exact hb.trans (mul_le_mul_of_nonneg_left (by linarith) (mul_nonneg hW hM)) + · rw [norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg ho0] + calc + _ ≤ omega*(W*M*(‖f‖*‖g‖)) := mul_le_mul_of_nonneg_left hb ho0 + _ = W*M*(omega*(‖f‖*‖g‖)) := by ring + _ ≤ _ := mul_le_mul_of_nonneg_left (by linarith) (mul_nonneg hW hM) + +theorem radialMatched_dilation_cross_boundary_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R : ℝ) (hR : 0 ≤ R) (omega : ℕ → ℝ) (hw : Tendsto omega atTop atTop) + (f g : ℕ → ℝ → ℂ) + (henergy : Tendsto (fun i => radialMassDensity (s i) (z i) R* + spectralWeightedCauchyEnergy (omega i) (f i) (g i) R) atTop (𝓝 0)) : + Tendsto (fun i => (radialMassFlux (s i) (z i) R : ℂ)*star (f i R)*g i R) atTop (𝓝 0) ∧ + Tendsto (fun i => (omega i : ℂ)*((radialMassFlux (s i) (z i) R : ℂ)*star (f i R)*g i R)) atTop (𝓝 0) := by + obtain ⟨W,hW,hvel⟩ := radialMatched_uniform_velocity_bound s hs z z₀ hz hX hm R hR + have ht := henergy.const_mul W + simp only [mul_zero] at ht + have hb : ∀ᶠ i in atTop, + ‖(radialMassFlux (s i) (z i) R : ℂ)*star (f i R)*g i R‖ ≤ W*(radialMassDensity (s i) (z i) R* + spectralWeightedCauchyEnergy (omega i) (f i) (g i) R) ∧ + ‖(omega i : ℂ)*((radialMassFlux (s i) (z i) R : ℂ)*star (f i R)*g i R)‖ ≤ + W*(radialMassDensity (s i) (z i) R*spectralWeightedCauchyEnergy (omega i) (f i) (g i) R) := by + filter_upwards [hvel,hw.eventually (eventually_ge_atTop 1)] with i hi hoi + have hh := spectralCrossBoundary_bound (radialMassDensity (s i) (z i) R) + (radialMassFlux (s i) (z i) R) W (omega i) (by dsimp only [radialMassDensity]; positivity) + hW hoi (hi R ⟨hR,le_rfl⟩).2 (f i R) (g i R) (deriv (f i) R) (deriv (g i) R) + simpa only [spectralWeightedCauchyEnergy,mul_assoc] using hh + exact ⟨squeeze_zero_norm' (hb.mono (fun _ h => h.1)) ht, + squeeze_zero_norm' (hb.mono (fun _ h => h.2)) ht⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationEnergyLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationEnergyLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..2ebc2e5cee2d2040abb82cc179f4151ab63170cc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationEnergyLimit.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDilationPairingLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDilationBoundaryLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDilationBulkBound +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexEnergy + +namespace OAI + +/-! Along the actual escaping-frequency family, the shifted dilation identity +forces the complete radial-plus-angular gradient energy to vanish. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_dilation_energy_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R M A : ℝ) (hR : innerBoundaryRadius < R) (hM : 0 ≤ M) (hA : 0 ≤ A) + (lam : ℕ → ℂ) (eta : ℕ → ℝ) (he : ∀ i, 0 ≤ eta i) + (hl : ∀ i, -(1/32 : ℝ) ≤ (lam i).re) (hu : ∀ i, (lam i).re ≤ 4) + (hw : Tendsto (fun i => (lam i).im) atTop atTop) + (hang : ∀ᶠ i in atTop, eta i ≤ A*(lam i).im) + (f g : ℕ → ℝ → ℂ) (hf : ∀ i, ContDiff ℝ 2 (f i)) (hg : ∀ i, ContDiff ℝ 2 (g i)) + (hEq : ∀ i, IsRadialLogGaugeEigenpair (s i+radialInnerShootingThreshold) + (radialMatchedEvenProfile (s i) (z i)) (eta i : ℂ) (lam i) (f i) (g i)) + (hfull : ∀ᶠ i in atTop, (∫ r in (0 : ℝ)..R, radialMatchedMassFunction (s i) (z i) r* + spectralRadialEnergyDensity (eta i) (f i) (g i) r) ≤ M) + (hfirst : Tendsto (fun i => ∫ r in (0 : ℝ)..R, + r^11*radialMatchedMassFunction (s i) (z i) r*‖f i r‖^2) atTop (𝓝 0)) + (hboundary : Tendsto (fun i => radialMassDensity (s i) (z i) R* + spectralWeightedCauchyEnergy (lam i).im (f i) (g i) R) atTop (𝓝 0)) : + Tendsto (fun i => radialComplexAngularForm (s i) (z i) (eta i) R (fun _ => 0) (f i)+ + radialComplexAngularForm (s i) (z i) (eta i) R (fun _ => 0) (g i)) atTop (𝓝 0) := by + have hR0 : 0 < R := by linarith [innerBoundaryRadius_bounds.1] + let I := fun i => radialComplexDilationPairing (s i) (z i) R + ((6-2*radialShootingA (s i))/2) (f i) (g i) + obtain ⟨hIr,hIi⟩ := radialMatched_dilation_pairing_limit s hs z z₀ hz hX hm R M hR0.le hM + (fun i => (lam i).im) eta hw he f g hf hg hfull hfirst hboundary + obtain ⟨hBf,hBg⟩ := radialMatched_dilation_boundary_limit s hs z z₀ hz hX hm R A hR hA + (fun i => (lam i).im) eta hw he hang f g + (fun i => (hf i).of_le (by norm_num)) (fun i => (hg i).of_le (by norm_num)) hboundary + have hcoef : ∀ i, |(lam i).re-(6-2*radialShootingA (s i))/2| ≤ 8 := by + intro i + have ha := radialShootingA_bounds (s i) (profileMatchingParameter (z i)) + apply abs_le.mpr + constructor <;> linarith [hl i,hu i] + have hreal : Tendsto (fun i => ((lam i).re-(6-2*radialShootingA (s i))/2)*(I i).re) atTop (𝓝 0) := by + apply squeeze_zero_norm' _ (by simpa only [Real.norm_eq_abs,norm_zero,mul_zero] using hIr.norm.const_mul 8) + exact Eventually.of_forall (fun i => by + simp only [Real.norm_eq_abs,abs_mul] + exact mul_le_mul_of_nonneg_right (hcoef i) (abs_nonneg _)) + have hcross : Tendsto (fun i => ((lam i-(((6-2*radialShootingA (s i))/2 : ℝ) : ℂ))*I i).re) + atTop (𝓝 0) := by + have ht := hreal.sub hIi + simpa only [Complex.mul_re,Complex.sub_re,Complex.ofReal_re,Complex.sub_im,Complex.ofReal_im, + sub_zero] using ht + let H := fun i => ((lam i-(((6-2*radialShootingA (s i))/2 : ℝ) : ℂ))*I i).re- + radialComplexAngularBoundary (s i) (z i) (eta i) R ((6-2*radialShootingA (s i))/2) + (radialSpectralPressure (s i) (z i)) (f i)- + radialComplexAngularBoundary (s i) (z i) (eta i) R ((6-2*radialShootingA (s i))/2) + (fun _ => 0) (g i)+800*(∫ r in (0 : ℝ)..R, + r^11*radialMatchedMassFunction (s i) (z i) r*‖f i r‖^2) + have hH : Tendsto H atTop (𝓝 0) := by + simpa only [sub_zero,add_zero,mul_zero] using ((hcross.sub hBf).sub hBg).add (hfirst.const_mul 800) + obtain ⟨k,hk,hbulk⟩ := radialMatched_dilation_bulk_bound + apply squeeze_zero' (Eventually.of_forall (fun i => add_nonneg + (radialComplexAngularForm_zero_nonneg (s i) (z i) (eta i) R (he i) hR0.le (f i)) + (radialComplexAngularForm_zero_nonneg (s i) (z i) (eta i) R (he i) hR0.le (g i)))) _ + (by simpa only [zero_div] using hH.div_const k) + filter_upwards [hs.tendsto_atTop.eventually hbulk] with i hi + apply (le_div_iff₀ hk).mpr + have hb := hi (z i) (hX i) (hm i) (eta i) R (he i) hR0.le (lam i) (f i) (g i) (hf i) (hg i) (hEq i) + simpa only [H,I,radialMassDensity,radialMatchedMassFunction,mul_comm] using hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..763b60f2789dfb1a921e42e968b7fee996a8c22d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingBoundary.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexDilationIdentity +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralDilationDecomposition +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalContinuousTest + +namespace OAI + +/-! The dilation cross pairing is a real volume term plus its exact complex +boundary correction. Its imaginary part is entirely a boundary flux. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_dilation_pairing_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 1 f) (hg : ContDiff ℝ 1 g) : + radialComplexDilationPairing n z R ((6-2*radialShootingA n)/2) f g = + ((2*(∫ r in (0 : ℝ)..R, radialMassFlux n z r*(star (deriv g r)*f r).re+ + ((6-2*radialShootingA n)/2)*radialMassDensity n z r*(star (g r)*f r).re) : ℝ) : ℂ)- + (radialMassFlux n z R : ℂ)*star (f R)*g R := by + let c := 6-2*radialShootingA n + let s := c/2 + let F := fun r : ℝ => (radialMassFlux n z r : ℂ)*star (f r)*g r + let H := fun r : ℝ => (c*radialMassDensity n z r : ℝ)*star (f r)*g r+ + (radialMassFlux n z r : ℂ)*(star (deriv f r)*g r+star (f r)*deriv g r) + let V := fun r : ℝ => radialMassFlux n z r*(star (deriv g r)*f r).re+ + s*radialMassDensity n z r*(star (g r)*f r).re + let I := fun r : ℝ => (radialMassDensity n z r : ℂ)* + spectralDilationCross (radialMatchedVelocity n z r) s (f r) (g r) (deriv f r) (deriv g r) + have hmc := (radialMassDensity_continuous n z hX hz).continuousOn (s := Icc 0 R) + have hwc := radialMatchedVelocity_continuousOn n z hX hz R + have hvc := radialMassFlux_continuousOn n z hX hz R + have hfc := hf.continuous + have hgc := hg.continuous + have hdf := hf.continuous_deriv_one + have hdg := hg.continuous_deriv_one + have hFc : ContinuousOn F (Icc 0 R) := by dsimp only [F]; fun_prop + have hHc : ContinuousOn H (Icc 0 R) := by dsimp only [H]; fun_prop + have hVc : ContinuousOn V (Icc 0 R) := by dsimp only [V]; fun_prop + have hIc : ContinuousOn I (Icc 0 R) := by dsimp only [I,spectralDilationCross]; fun_prop + have hd r (hr : r ∈ Ioo 0 R) : HasDerivAt F (H r) r := by + have hh := (((radialMassFlux_hasDerivAt n z hX hz r hr.1).ofReal_comp.mul + (hf.differentiable (by norm_num) r).hasDerivAt.star).mul + (hg.differentiable (by norm_num) r).hasDerivAt) + apply hh.congr_deriv + dsimp only [H,c,Pi.mul_apply] + push_cast + ring + have ht := spectralClassicalFlux_continuous_test R hR F H (fun _ => 1) hFc hHc hd + (by simp [F,radialMassFlux,radialMassDensity]) contDiff_const + simp only [deriv_const,star_one,star_zero,zero_mul,one_mul,intervalIntegral.integral_zero,zero_add] at ht + have hpoint r : I r = ((2*V r : ℝ) : ℂ)-H r := by + have hh := congrArg (fun x : ℂ => (radialMassDensity n z r : ℂ)*x) + (spectralDilationCross_decomposition (radialMatchedVelocity n z r) s + (f r) (g r) (deriv f r) (deriv g r)) + dsimp only [I,V,H,radialMassFlux,radialMatchedVelocity] at hh ⊢ + dsimp only [s,c] at hh ⊢ + push_cast at hh ⊢ + linear_combination hh + change (∫ r in (0 : ℝ)..R, I r) = _ + simp_rw [hpoint] + rw [intervalIntegral.integral_sub] + · rw [ht,intervalIntegral.integral_ofReal,intervalIntegral.integral_const_mul] + · exact (Complex.continuous_ofReal.comp_continuousOn (hVc.const_mul 2)).intervalIntegrable_of_Icc hR + · exact hHc.intervalIntegrable_of_Icc hR + +theorem radialMatched_dilation_pairing_im (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 1 f) (hg : ContDiff ℝ 1 g) : + (radialComplexDilationPairing n z R ((6-2*radialShootingA n)/2) f g).im = + radialMassFlux n z R*(star (g R)*f R).im := by + rw [radialMatched_dilation_pairing_boundary n z hX hz R hR f g hf hg] + simp only [Complex.sub_im,Complex.ofReal_im,Complex.mul_im,Complex.mul_re, + Complex.ofReal_re,Complex.star_def,Complex.conj_re,Complex.conj_im] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..b2e1a5d866b8b089252ca05785a34d250b4dbbb5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingLimit.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDilationPairingVolume +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDilationCrossBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedProductLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeComponentEnergy + +namespace OAI + +/-! First-component L2 vanishing controls the real volume pairing; the +frequency-weighted imaginary part is entirely a vanishing boundary term. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_dilation_pairing_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) (omega eta : ℕ → ℝ) + (hw : Tendsto omega atTop atTop) (he : ∀ i, 0 ≤ eta i) + (f g : ℕ → ℝ → ℂ) (hf : ∀ i, ContDiff ℝ 2 (f i)) (hg : ∀ i, ContDiff ℝ 2 (g i)) + (hfull : ∀ᶠ i in atTop, (∫ r in (0 : ℝ)..R, radialMatchedMassFunction (s i) (z i) r* + spectralRadialEnergyDensity (eta i) (f i) (g i) r) ≤ M) + (hfirst : Tendsto (fun i => ∫ r in (0 : ℝ)..R, + r^11*radialMatchedMassFunction (s i) (z i) r*‖f i r‖^2) atTop (𝓝 0)) + (hboundary : Tendsto (fun i => radialMassDensity (s i) (z i) R* + spectralWeightedCauchyEnergy (omega i) (f i) (g i) R) atTop (𝓝 0)) : + Tendsto (fun i => (radialComplexDilationPairing (s i) (z i) R + ((6-2*radialShootingA (s i))/2) (f i) (g i)).re) atTop (𝓝 0) ∧ + Tendsto (fun i => omega i*(radialComplexDilationPairing (s i) (z i) R + ((6-2*radialShootingA (s i))/2) (f i) (g i)).im) atTop (𝓝 0) := by + let mu := fun i => radialMatchedMassFunction (s i) (z i) + let A := fun i => radialMatchedTransportFunction (s i) (z i) + have hmuc i : Continuous (mu i) := radialMatchedMassFunction_continuous (s i) (z i) (hX i) (hm i) + have hAc i : Continuous (A i) := radialMatchedTransportFunction_continuous (s i) (z i) (hX i) (hm i) + have hmu0 i r (_hr : r ∈ Icc 0 R) : 0 ≤ mu i r := sq_nonneg _ + have hcomponents : ∀ᶠ i in atTop, + (∫ r in (0 : ℝ)..R, r^11*mu i r*‖g i r‖^2) ≤ M ∧ + (∫ r in (0 : ℝ)..R, r^11*mu i r*‖deriv (g i) r‖^2) ≤ M := by + filter_upwards [hfull] with i hi + have h := spectralGauge_second_component_energy_le (eta i) R (he i) hR (mu i) + (hmuc i) (hmu0 i) (f i) (g i) (hf i) (hg i) + exact ⟨h.1.trans hi,h.2.trans hi⟩ + obtain ⟨C,hC,hA⟩ := radialMatched_uniform_transport_bound s hs z z₀ hz hX hm R hR + have hprodA := spectralWeightedProduct_tendsto_zero R C M hR hC hM mu A + (fun i => deriv (g i)) f (fun i => (hmuc i).continuousOn) (fun i => (hAc i).continuousOn) + (fun i => ((hg i).continuous_deriv (by norm_num)).continuousOn) + (fun i => (hf i).continuous.continuousOn) hmu0 + (hA.mono (fun i hi r hr => (hi r hr).2)) (hcomponents.mono (fun _ h => h.2)) hfirst + have hprodM := spectralWeightedProduct_tendsto_zero R 1 M hR (by norm_num) hM mu mu g f + (fun i => (hmuc i).continuousOn) (fun i => (hmuc i).continuousOn) + (fun i => (hg i).continuous.continuousOn) (fun i => (hf i).continuous.continuousOn) hmu0 + (Eventually.of_forall (fun i r hr => by rw [abs_of_nonneg (hmu0 i r hr),one_mul])) + (hcomponents.mono (fun _ h => h.1)) hfirst + have hP : Tendsto (fun i => ∫ r in (0 : ℝ)..R, + (radialMassFlux (s i) (z i) r : ℂ)*star (deriv (g i) r)*f i r) atTop (𝓝 0) := by + apply hprodA.congr + intro i + apply intervalIntegral.integral_congr + intro r hr + rw [uIcc_of_le hR] at hr + dsimp only [A] + rw [radialMatched_mass_transport_eq (s i) (z i) (hX i) (hm i) r hr.1] + push_cast + ring + have hQ : Tendsto (fun i => ∫ r in (0 : ℝ)..R, + (radialMassDensity (s i) (z i) r : ℂ)*star (g i r)*f i r) atTop (𝓝 0) := by + apply hprodM.congr + intro i + apply intervalIntegral.integral_congr + intro r _ + dsimp only [mu,radialMassDensity,radialMatchedMassFunction] + push_cast + ring + have hshift : Tendsto (fun i => (6-2*radialShootingA (s i))/2) atTop (𝓝 (3 : ℝ)) := by + have hc : Tendsto (fun i => (6 : ℝ)-2*radialShootingA (s i)) atTop (𝓝 (6 : ℝ)) := by + simpa only [Function.comp_def,mul_zero,sub_zero] using + (tendsto_const_nhds (x := (6 : ℝ))).sub ((radialShootingA_tendsto_zero.comp hs.tendsto_atTop).const_mul 2) + convert hc.div_const 2 using 1 + norm_num + obtain ⟨hB,hBw⟩ := radialMatched_dilation_cross_boundary_limit s hs z z₀ hz hX hm R hR omega hw f g hboundary + have hPr := (Complex.continuous_re.tendsto 0).comp hP + have hQr := (Complex.continuous_re.tendsto 0).comp hQ + have hBr := (Complex.continuous_re.tendsto 0).comp hB + have hBwi := (Complex.continuous_im.tendsto 0).comp hBw + constructor + · have ht := ((hPr.add (hshift.mul hQr)).const_mul 2).sub hBr + simp only [Complex.zero_re,mul_zero,add_zero,sub_zero] at ht + apply ht.congr + intro i + exact (radialMatched_dilation_pairing_re (s i) (z i) (hX i) (hm i) R hR (f i) (g i) + ((hf i).of_le (by norm_num)) ((hg i).of_le (by norm_num))).symm + · have ht := hBwi.neg + simp only [Complex.zero_im,neg_zero] at ht + apply ht.congr + intro i + rw [radialMatched_dilation_pairing_boundary (s i) (z i) (hX i) (hm i) R hR (f i) (g i) + ((hf i).of_le (by norm_num)) ((hg i).of_le (by norm_num))] + simp only [Function.comp_def,Complex.mul_re,Complex.mul_im,Complex.ofReal_re,Complex.ofReal_im,Complex.sub_im,zero_mul,zero_sub,add_zero] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingVolume.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingVolume.lean new file mode 100644 index 0000000000000000000000000000000000000000..79f7177e03ed8922d66d75e54d45c5abedd44e0c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDilationPairingVolume.lean @@ -0,0 +1,73 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDilationPairingBoundary + +namespace OAI + +/-! An explicit real-part formula separates the dilation pairing into two +ordinary weighted products and the already-controlled boundary term. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_dilation_pairing_re (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 1 f) (hg : ContDiff ℝ 1 g) : + (radialComplexDilationPairing n z R ((6-2*radialShootingA n)/2) f g).re = + 2*((∫ r in (0 : ℝ)..R, (radialMassFlux n z r : ℂ)*star (deriv g r)*f r).re+ + ((6-2*radialShootingA n)/2)* + (∫ r in (0 : ℝ)..R, (radialMassDensity n z r : ℂ)*star (g r)*f r).re)- + ((radialMassFlux n z R : ℂ)*star (f R)*g R).re := by + have hM := (radialMassDensity_continuous n z hX hz).continuousOn (s := Icc 0 R) + have hV := radialMassFlux_continuousOn n z hX hz R + have hdf := hf.continuous_deriv_one + have hdg := hg.continuous_deriv_one + have hP : IntervalIntegrable (fun r => (radialMassFlux n z r : ℂ)*star (deriv g r)*f r) volume 0 R := by + apply ContinuousOn.intervalIntegrable_of_Icc hR + exact ((Complex.continuous_ofReal.comp_continuousOn hV).mul hdg.star.continuousOn).mul hf.continuous.continuousOn + have hQ : IntervalIntegrable (fun r => (radialMassDensity n z r : ℂ)*star (g r)*f r) volume 0 R := by + apply ContinuousOn.intervalIntegrable_of_Icc hR + exact ((Complex.continuous_ofReal.comp_continuousOn hM).mul hg.continuous.star.continuousOn).mul hf.continuous.continuousOn + have hPr : IntervalIntegrable (fun r => radialMassFlux n z r*(star (deriv g r)*f r).re) volume 0 R := by + apply ContinuousOn.intervalIntegrable_of_Icc hR + exact hV.mul (Complex.continuous_re.comp (hdg.star.mul hf.continuous)).continuousOn + have hQr : IntervalIntegrable (fun r => radialMassDensity n z r*(star (g r)*f r).re) volume 0 R := by + apply ContinuousOn.intervalIntegrable_of_Icc hR + exact hM.mul (Complex.continuous_re.comp (hg.continuous.star.mul hf.continuous)).continuousOn + have hp : (∫ r in (0 : ℝ)..R, radialMassFlux n z r*(star (deriv g r)*f r).re) = + (∫ r in (0 : ℝ)..R, (radialMassFlux n z r : ℂ)*star (deriv g r)*f r).re := by + calc + _ = ∫ r in (0 : ℝ)..R, Complex.reCLM ((radialMassFlux n z r : ℂ)*star (deriv g r)*f r) := by + apply intervalIntegral.integral_congr + intro r _ + simp only [Complex.reCLM_apply,Complex.mul_re,Complex.mul_im,Complex.ofReal_re,Complex.ofReal_im] + ring + _ = _ := Complex.reCLM.intervalIntegral_comp_comm hP + have hq : (∫ r in (0 : ℝ)..R, radialMassDensity n z r*(star (g r)*f r).re) = + (∫ r in (0 : ℝ)..R, (radialMassDensity n z r : ℂ)*star (g r)*f r).re := by + calc + _ = ∫ r in (0 : ℝ)..R, Complex.reCLM ((radialMassDensity n z r : ℂ)*star (g r)*f r) := by + apply intervalIntegral.integral_congr + intro r _ + simp only [Complex.reCLM_apply,Complex.mul_re,Complex.mul_im,Complex.ofReal_re,Complex.ofReal_im] + ring + _ = _ := Complex.reCLM.intervalIntegral_comp_comm hQ + rw [radialMatched_dilation_pairing_boundary n z hX hz R hR f g hf hg] + simp only [Complex.sub_re,Complex.ofReal_re] + have hv : (∫ r in (0 : ℝ)..R, radialMassFlux n z r*(star (deriv g r)*f r).re+ + ((6-2*radialShootingA n)/2)*radialMassDensity n z r*(star (g r)*f r).re) = + (∫ r in (0 : ℝ)..R, radialMassFlux n z r*(star (deriv g r)*f r).re)+ + ((6-2*radialShootingA n)/2)*(∫ r in (0 : ℝ)..R, radialMassDensity n z r*(star (g r)*f r).re) := by + calc + _ = ∫ r in (0 : ℝ)..R, radialMassFlux n z r*(star (deriv g r)*f r).re+ + ((6-2*radialShootingA n)/2)*(radialMassDensity n z r*(star (g r)*f r).re) := by + apply intervalIntegral.integral_congr + intro r _ + ring + _ = _ := by rw [intervalIntegral.integral_add hPr (hQr.const_mul _),intervalIntegral.integral_const_mul] + rw [hv,hp,hq] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..5e590eb095eda7e0f6131e17910c0097018d3e92 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletEquation.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDirichletKernel +import Mathlib.MeasureTheory.Integral.DominatedConvergence +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus + +namespace OAI + +/-! The radial Green kernel solves the twelve-dimensional Poisson equation. -/ + +open MeasureTheory Set Filter Topology intervalIntegral +namespace DefocusingNLS + +theorem continuous_radialAverage (f : ℝ → ℝ) (hf : Continuous f) : + Continuous (radialAverage f) := by + have hc : Continuous (fun p : ℝ × ℝ => f (p.1*p.2)*p.2^11) := + (hf.comp (continuous_fst.mul continuous_snd)).mul (continuous_snd.pow 11) + exact continuous_parametric_intervalIntegral_of_continuous' hc 0 1 + +theorem radialAverage_zero (f : ℝ → ℝ) : radialAverage f 0=f 0/12 := by + simp only [radialAverage,zero_mul,intervalIntegral.integral_const_mul,integral_pow] + norm_num + ring + +theorem hasDerivAt_radialDirichletKernel (R : ℝ) (f : ℝ → ℝ) (hf : Continuous f) (r : ℝ) : + HasDerivAt (radialDirichletKernel R f) (-r*radialAverage f r) r := by + have hc : Continuous (fun t : ℝ => t*radialAverage f t) := + continuous_id.mul (continuous_radialAverage f hf) + convert! integral_hasDerivAt_left (hc.intervalIntegrable r R) + (hc.stronglyMeasurableAtFilter _ _) hc.continuousAt using 1 + simp only [neg_mul] + +theorem radialAverage_scaling (f : ℝ → ℝ) (r : ℝ) : + r^12*radialAverage f r = ∫ t in (0 : ℝ)..r, f t*t^11 := by + have h := mul_integral_comp_mul_right (a := (0 : ℝ)) (b := 1) + (f := fun t => f t*t^11) r + simp only [zero_mul,one_mul] at h + rw [← h] + unfold radialAverage + have he : (fun t : ℝ => f (t*r)*(t*r)^11) = + fun t => r^11*(f (r*t)*t^11) := by + funext t + rw [mul_comm t r] + ring + rw [he,intervalIntegral.integral_const_mul] + ring + +theorem hasDerivAt_radialAverage (f : ℝ → ℝ) (hf : Continuous f) (r : ℝ) (hr : r ≠ 0) : + HasDerivAt (radialAverage f) (f r/r-12*radialAverage f r/r) r := by + have hc : Continuous (fun t : ℝ => f t*t^11) := hf.mul (continuous_id.pow 11) + have hi := (hc.integral_hasStrictDerivAt 0 r).hasDerivAt + have hp := (hasDerivAt_id r).pow 12 + have he : radialAverage f =ᶠ[𝓝 r] + (fun t => (∫ s in (0 : ℝ)..t, f s*s^11)/t^12) := by + filter_upwards [eventually_ne_nhds hr] with t ht + exact (eq_div_iff (pow_ne_zero 12 ht)).2 (by + simpa only [mul_comm] using radialAverage_scaling f t) + convert! (hi.div hp (pow_ne_zero 12 hr)).congr_of_eventuallyEq he using 1 + rw [← radialAverage_scaling f r] + simp only [Pi.pow_apply,id_eq] + field_simp [hr] + ring + +theorem radialDirichletKernel_poisson (R : ℝ) (f : ℝ → ℝ) (hf : Continuous f) + (r : ℝ) (hr : r ≠ 0) : + -deriv (deriv (radialDirichletKernel R f)) r- + 11/r*deriv (radialDirichletKernel R f) r=f r := by + have he : deriv (radialDirichletKernel R f) = fun t => -t*radialAverage f t := by + funext t + exact (hasDerivAt_radialDirichletKernel R f hf t).deriv + have hd := ((hasDerivAt_id r).neg.mul (hasDerivAt_radialAverage f hf r hr)).deriv + change deriv (fun t : ℝ => -t*radialAverage f t) r = _ at hd + simp only [Pi.neg_apply,id_eq] at hd + rw [he,hd] + dsimp only + field_simp [hr] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletKernel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletKernel.lean new file mode 100644 index 0000000000000000000000000000000000000000..262cab17b6360bcb6fecc683d8a827a5c203e133 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletKernel.lean @@ -0,0 +1,69 @@ +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic +import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic + +namespace OAI + +/-! The nonsingular radial Green kernel in dimension twelve. -/ + +open MeasureTheory Set intervalIntegral +namespace DefocusingNLS + +noncomputable def radialAverage (f : ℝ → ℝ) (t : ℝ) : ℝ := + ∫ s in (0 : ℝ)..1, f (t*s)*s^11 + +/-- This is the regular form of +`∫ t in r..R, t⁻¹¹ * ∫ s in 0..t, s¹¹*f s`. -/ +noncomputable def radialDirichletKernel (R : ℝ) (f : ℝ → ℝ) (r : ℝ) : ℝ := + ∫ t in r..R, t*radialAverage f t + +theorem radialAverage_nonneg (f : ℝ → ℝ) (t : ℝ) + (hf : ∀ s ∈ Icc (0 : ℝ) 1, 0 ≤ f (t*s)) : 0 ≤ radialAverage f t := by + apply intervalIntegral.integral_nonneg (by norm_num) + intro s hs + exact mul_nonneg (hf s hs) (pow_nonneg hs.1 _) + +theorem radialAverage_norm_le (f : ℝ → ℝ) (R C t : ℝ) + (ht : 0 ≤ t) (htR : t ≤ R) (hf : ∀ u ∈ Icc 0 R, ‖f u‖ ≤ C) : + ‖radialAverage f t‖ ≤ C/12 := by + have h := intervalIntegral.norm_integral_le_of_norm_le (μ := volume) + (f := fun s : ℝ => f (t*s)*s^11) (g := fun s : ℝ => C*s^11) + (by norm_num : (0 : ℝ) ≤ 1) (Filter.Eventually.of_forall fun s hs => ?_) + ((continuous_const.mul (continuous_id.pow 11)).intervalIntegrable 0 1) + · have hv : (∫ s in (0 : ℝ)..1, C*s^11)=C/12 := by + rw [intervalIntegral.integral_const_mul,integral_pow] + norm_num + ring + rw [hv] at h + exact h + · have hs0 : 0 ≤ s := hs.1.le + have hts : t*s ∈ Icc 0 R := + ⟨mul_nonneg ht hs0,(mul_le_of_le_one_right ht hs.2).trans htR⟩ + simp only [norm_mul,Real.norm_eq_abs,abs_of_nonneg (pow_nonneg hs0 _)] + exact mul_le_mul_of_nonneg_right (hf _ hts) (pow_nonneg hs0 _) + +theorem radialDirichletKernel_norm_le (f : ℝ → ℝ) (R C r : ℝ) + (hr : 0 ≤ r) (hrR : r ≤ R) (hf : ∀ u ∈ Icc 0 R, ‖f u‖ ≤ C) : + ‖radialDirichletKernel R f r‖ ≤ C*(R^2-r^2)/24 := by + have hbound : IntervalIntegrable (fun t : ℝ => (C/12)*t) volume r R := + (continuous_const.mul continuous_id).intervalIntegrable r R + have h := intervalIntegral.norm_integral_le_of_norm_le (μ := volume) + (f := fun t : ℝ => t*radialAverage f t) (g := fun t : ℝ => (C/12)*t) + hrR (Filter.Eventually.of_forall fun t ht => ?_) hbound + · calc + ‖radialDirichletKernel R f r‖ ≤ ∫ t in r..R, (C/12)*t := h + _ = C*(R^2-r^2)/24 := by + rw [intervalIntegral.integral_const_mul,integral_id] + ring + · have ht0 : 0 ≤ t := hr.trans ht.1.le + rw [norm_mul,Real.norm_eq_abs,abs_of_nonneg ht0] + calc + t*‖radialAverage f t‖ ≤ t*(C/12) := + mul_le_mul_of_nonneg_left (radialAverage_norm_le f R C t ht0 ht.2 hf) ht0 + _ = (C/12)*t := mul_comm _ _ + +theorem radialDirichletKernel_boundary (R : ℝ) (f : ℝ → ℝ) : + radialDirichletKernel R f R=0 := by simp [radialDirichletKernel] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletLinearity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletLinearity.lean new file mode 100644 index 0000000000000000000000000000000000000000..5d7d998a53404c0f989051358badf68a4b7eb071 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialDirichletLinearity.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDirichletEquation + +namespace OAI + +/-! Positivity and linearity of the radial Dirichlet inverse. -/ + +open MeasureTheory Set +namespace DefocusingNLS + +theorem radialDirichletKernel_nonneg (R r : ℝ) (f : ℝ → ℝ) + (hr : 0 ≤ r) (hrR : r ≤ R) (hf : ∀ t ∈ Icc 0 R, 0 ≤ f t) : + 0 ≤ radialDirichletKernel R f r := by + apply intervalIntegral.integral_nonneg hrR + intro t ht + have ht0 : 0 ≤ t := hr.trans ht.1 + apply mul_nonneg ht0 (radialAverage_nonneg f t ?_) + intro s hs + exact hf _ ⟨mul_nonneg ht0 hs.1,(mul_le_of_le_one_right ht0 hs.2).trans ht.2⟩ + +theorem radialAverage_add (f g : ℝ → ℝ) (hf : Continuous f) (hg : Continuous g) (r : ℝ) : + radialAverage (f+g) r=radialAverage f r+radialAverage g r := by + unfold radialAverage + simp only [Pi.add_apply,add_mul] + apply intervalIntegral.integral_add + · exact ((hf.comp (continuous_const.mul continuous_id)).mul + (continuous_id.pow 11)).intervalIntegrable 0 1 + · exact ((hg.comp (continuous_const.mul continuous_id)).mul + (continuous_id.pow 11)).intervalIntegrable 0 1 + +theorem radialAverage_smul (c : ℝ) (f : ℝ → ℝ) (r : ℝ) : + radialAverage (c • f) r=c*radialAverage f r := by + unfold radialAverage + simp only [Pi.smul_apply,smul_eq_mul,mul_assoc,intervalIntegral.integral_const_mul] + +theorem radialDirichletKernel_add (R r : ℝ) (f g : ℝ → ℝ) + (hf : Continuous f) (hg : Continuous g) : + radialDirichletKernel R (f+g) r= + radialDirichletKernel R f r+radialDirichletKernel R g r := by + unfold radialDirichletKernel + simp_rw [radialAverage_add f g hf hg,mul_add] + apply intervalIntegral.integral_add + · exact (continuous_id.mul (continuous_radialAverage f hf)).intervalIntegrable r R + · exact (continuous_id.mul (continuous_radialAverage g hg)).intervalIntegrable r R + +theorem radialDirichletKernel_smul (R r c : ℝ) (f : ℝ → ℝ) : + radialDirichletKernel R (c • f) r=c*radialDirichletKernel R f r := by + unfold radialDirichletKernel + simp_rw [radialAverage_smul] + have he : (fun t => t*(c*radialAverage f t)) = fun t => c*(t*radialAverage f t) := by + funext t + ring + rw [he,intervalIntegral.integral_const_mul] + +theorem continuous_radialDirichletKernel (R : ℝ) (f : ℝ → ℝ) (hf : Continuous f) : + Continuous (radialDirichletKernel R f) := + (show Differentiable ℝ (radialDirichletKernel R f) from + fun r => (hasDerivAt_radialDirichletKernel R f hf r).differentiableAt).continuous + +theorem radialDirichletKernel_one (R r : ℝ) : + radialDirichletKernel R (fun _ => 1) r=(R^2-r^2)/24 := by + unfold radialDirichletKernel radialAverage + simp only [one_mul,integral_pow] + norm_num + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEnergyMonotone.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEnergyMonotone.lean new file mode 100644 index 0000000000000000000000000000000000000000..be35f310ecb1fed0256a418340a74337772f382e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEnergyMonotone.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialEnergyZero +import Mathlib.Topology.Order.OrderClosed + +namespace OAI + +/-! Positivity and monotonicity turn vanishing outer traces into zero energy. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialScalarForm_mono (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (q f : ℝ → ℝ) (hq : Continuous q) + (hqn : ∀ r, 0 ≤ r → 0 ≤ q r) (hf : ContDiff ℝ 1 f) : + MonotoneOn (fun R => radialScalarForm n z R q f f) (Ici 0) := by + have hG := (radialMassDensity_continuous n z hX hz).mul + (hf.continuous_deriv_one.pow 2) + have hP := ((radialMassDensity_continuous n z hX hz).mul hq).mul (hf.continuous.pow 2) + intro R hR S _hS hRS + have hGn : 0 ≤ ∫ r in R..S, radialMassDensity n z r*(deriv f r)^2 := by + apply intervalIntegral.integral_nonneg hRS + intro r hr + have hr0 := hR.trans hr.1 + unfold radialMassDensity + positivity + have hPn : 0 ≤ ∫ r in R..S, radialMassDensity n z r*q r*(f r)^2 := by + apply intervalIntegral.integral_nonneg hRS + intro r hr + have hr0 := hR.trans hr.1 + have hqr := hqn r hr0 + unfold radialMassDensity + positivity + have hGa := intervalIntegral.integral_add_adjacent_intervals + (hG.intervalIntegrable (μ := MeasureTheory.volume) 0 R) + (hG.intervalIntegrable (μ := MeasureTheory.volume) R S) + have hPa := intervalIntegral.integral_add_adjacent_intervals + (hP.intervalIntegrable (μ := MeasureTheory.volume) 0 R) + (hP.intervalIntegrable (μ := MeasureTheory.volume) R S) + simp only [Pi.mul_apply,Pi.pow_apply] at hGa hPa + change radialScalarForm n z R q f f ≤ radialScalarForm n z S q f f + rw [radialScalarForm_diag,radialScalarForm_diag] + linarith + +theorem nonnegative_monotone_zero_of_vanishing_bound (E B : ℝ → ℝ) (c : ℝ) + (hc : 0 < c) (hEn : ∀ R, 0 ≤ R → 0 ≤ E R) + (hEm : MonotoneOn E (Ici 0)) (hB : Tendsto B atTop (nhds 0)) + (hbound : ∀ᶠ R in atTop, c*E R ≤ B R) : + ∀ R, 0 ≤ R → E R=0 := by + intro R hR + have hle : c*E R ≤ 0 := by + apply ge_of_tendsto hB + filter_upwards [hbound,eventually_ge_atTop R] with S hS hRS + exact (mul_le_mul_of_nonneg_left (hEm hR (hR.trans hRS) hRS) hc.le).trans hS + exact le_antisymm (by nlinarith) (hEn R hR) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEnergyZero.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEnergyZero.lean new file mode 100644 index 0000000000000000000000000000000000000000..5f1c469f7da0bc17563c168c4e9fcc81a4c1cc43 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEnergyZero.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralCoercivity +import Mathlib.Analysis.Calculus.Deriv.MeanValue + +namespace OAI + +/-! Vanishing weighted energy forces a radial function with zero boundary trace to vanish. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialGradientEnergy_zero (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (_hR : 0 ≤ R) + (f : ℝ → ℝ) (hf : ContDiff ℝ 1 f) (hfR : f R=0) + (hE : (∫ r in (0 : ℝ)..R, radialMassDensity n z r*(deriv f r)^2)=0) : + ∀ r ∈ Icc 0 R, f r=0 := by + let G := fun r => radialMassDensity n z r*(deriv f r)^2 + have hGc : Continuous G := (radialMassDensity_continuous n z hX hz).mul + (hf.continuous_deriv_one.pow 2) + have hGn : ∀ r ∈ Icc 0 R, 0 ≤ G r := by + intro r hr + have hr0 := hr.1 + dsimp [G,radialMassDensity] + positivity + have hdf : ∀ r ∈ Ioo 0 R, deriv f r=0 := by + intro r hr + by_contra hn + have hGp : 0 < G r := by + have hq : 0 < ‖radialMatchedProfile n z r‖ := + norm_pos_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.1.le) + dsimp [G,radialMassDensity] + exact mul_pos (mul_pos (pow_pos hr.1 11) (sq_pos_of_pos hq)) (sq_pos_of_ne_zero hn) + have hi := intervalIntegral.integral_lt_integral_of_continuousOn_of_le_of_exists_lt + (lt_trans hr.1 hr.2) (show ContinuousOn (fun _ : ℝ => (0 : ℝ)) (Icc 0 R) from continuousOn_const) + hGc.continuousOn (fun x hx => hGn x ⟨hx.1.le,hx.2⟩) ⟨r,⟨hr.1.le,hr.2.le⟩,hGp⟩ + simp only [intervalIntegral.integral_zero] at hi + change 0 < ∫ r in (0 : ℝ)..R, G r at hi + exact (ne_of_gt hi) hE + intro r hr + rcases hr.2.eq_or_lt with he | hlt + · simpa only [he] using hfR + · obtain ⟨c,hc,he⟩ := exists_deriv_eq_slope f hlt hf.continuous.continuousOn + (hf.differentiable (by norm_num)).differentiableOn + have hc0 : 0 < c := lt_of_le_of_lt hr.1 hc.1 + rw [hdf c ⟨hc0,hc.2⟩,hfR] at he + have hn : R-r≠0 := (sub_pos.mpr hlt).ne' + have hz' := (div_eq_zero_iff).mp he.symm + rcases hz' with hz' | hz' + · linarith + · exact (hn hz').elim + +theorem radialScalarForm_zero (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) + (q f : ℝ → ℝ) (hq : ∀ r ∈ Icc 0 R, 0 ≤ q r) + (hf : ContDiff ℝ 1 f) (hfR : f R=0) + (hE : radialScalarForm n z R q f f=0) : + ∀ r ∈ Icc 0 R, f r=0 := by + have hG : 0 ≤ ∫ r in (0 : ℝ)..R, radialMassDensity n z r*(deriv f r)^2 := by + apply intervalIntegral.integral_nonneg hR + intro r hr + have hr0 := hr.1 + unfold radialMassDensity + positivity + have hP : 0 ≤ ∫ r in (0 : ℝ)..R, radialMassDensity n z r*q r*(f r)^2 := by + apply intervalIntegral.integral_nonneg hR + intro r hr + have hr0 := hr.1 + have hqr := hq r hr + unfold radialMassDensity + positivity + rw [radialScalarForm_diag] at hE + apply radialGradientEnergy_zero n z hX hz R hR f hf hfR + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEulerBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEulerBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..0ccf707808a6720ffa52cd7a8103ad25894a2eb2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEulerBounds.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialEulerJet +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSignedSymbol + +namespace OAI + +/-! The time generator preserves every radial symbol order. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedEuler_signed_symbol (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (c : ℂ) (j : ℕ) : + ∃ D : ℝ, 0≤D ∧ ∀ r : ℝ, 1≤(abs r) → + ‖iteratedDeriv j (radialAffineEuler c (radialMatchedEvenProfile n z)) r‖ ≤ + D*(abs r)^(-2*radialShootingA n-(j : ℝ)) := by + let Q := radialMatchedEvenProfile n z + obtain ⟨D0,hD0,hb0⟩ := radialMatchedEvenProfile_signed_symbol n z hX hz j + obtain ⟨D1,hD1,hb1⟩ := radialMatchedEvenProfile_signed_symbol n z hX hz (j+1) + refine ⟨‖c+(j : ℂ)/2‖*D0+D1/2,by positivity,?_⟩ + intro r hr + have hr0 : 0 < (abs r) := by linarith + have hp : (abs r)*(abs r)^(-2*radialShootingA n-((j+1 : ℕ) : ℝ))= + (abs r)^(-2*radialShootingA n-(j : ℝ)) := by + calc + _ = (abs r)^(1 : ℝ)*(abs r)^(-2*radialShootingA n-((j+1 : ℕ) : ℝ)) := by + rw [Real.rpow_one] + _ = (abs r)^(1+(-2*radialShootingA n-((j+1 : ℕ) : ℝ))) := + (Real.rpow_add hr0 _ _).symm + _ = _ := by congr 1; push_cast; ring + rw [radialAffineEuler_iteratedDeriv c Q (radialMatchedEvenProfile_contDiff n z hX hz), + radialAffineEuler,← iteratedDeriv_succ] + calc + _ ≤ ‖(c+(j : ℂ)/2)*iteratedDeriv j Q r‖+ + ‖(r : ℂ)/2*iteratedDeriv (j+1) Q r‖ := norm_add_le _ _ + _ = ‖c+(j : ℂ)/2‖*‖iteratedDeriv j Q r‖+ + ((abs r)/2)*‖iteratedDeriv (j+1) Q r‖ := by + rw [norm_mul,norm_mul,norm_div,Complex.norm_real,Real.norm_eq_abs] + norm_num + _ ≤ ‖c+(j : ℂ)/2‖*(D0*(abs r)^(-2*radialShootingA n-(j : ℝ)))+ + ((abs r)/2)*(D1*(abs r)^(-2*radialShootingA n-((j+1 : ℕ) : ℝ))) := + add_le_add (mul_le_mul_of_nonneg_left (hb0 r hr) (norm_nonneg _)) + (mul_le_mul_of_nonneg_left (hb1 r hr) (by positivity)) + _ = ‖c+(j : ℂ)/2‖*D0*(abs r)^(-2*radialShootingA n-(j : ℝ))+ + (D1/2)*((abs r)*(abs r)^(-2*radialShootingA n-((j+1 : ℕ) : ℝ))) := by ring + _ = _ := by rw [hp]; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEulerJet.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEulerJet.lean new file mode 100644 index 0000000000000000000000000000000000000000..fca50666f256230f6462d184616fb84c7d7c23c9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialEulerJet.lean @@ -0,0 +1,40 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTimeCalculus +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDerivativeBounded + +namespace OAI + +/-! Exact iterated radial derivatives of the time-symmetry generator. -/ + +open scoped ContDiff +namespace DefocusingNLS + +theorem contDiff_iteratedDeriv_infty {Q : ℝ → ℂ} (hQ : ContDiff ℝ ∞ Q) (N : ℕ) : + ContDiff ℝ ∞ (iteratedDeriv N Q) := by + induction N with + | zero => exact hQ + | succ N ih => rw [iteratedDeriv_succ]; exact ih.deriv' + +theorem radialAffineEuler_contDiff (c : ℂ) (Q : ℝ → ℂ) (hQ : ContDiff ℝ ∞ Q) : + ContDiff ℝ ∞ (radialAffineEuler c Q) := by + unfold radialAffineEuler + have hd : ContDiff ℝ ∞ (deriv Q) := hQ.deriv' + have hr : ContDiff ℝ ∞ (fun r : ℝ => (r : ℂ)/2) := + Complex.ofRealCLM.contDiff.div_const (2 : ℂ) + exact (contDiff_const.mul hQ).add (hr.mul hd) + +theorem radialAffineEuler_iteratedDeriv (c : ℂ) (Q : ℝ → ℂ) + (hQ : ContDiff ℝ ∞ Q) (N : ℕ) : + iteratedDeriv N (radialAffineEuler c Q)= + radialAffineEuler (c+(N : ℂ)/2) (iteratedDeriv N Q) := by + induction N with + | zero => simp only [iteratedDeriv_zero,Nat.cast_zero,zero_div,add_zero] + | succ N ih => + rw [iteratedDeriv_succ,ih,radialAffineEuler_deriv _ _ (contDiff_iteratedDeriv_infty hQ N), + ← iteratedDeriv_succ] + congr 1 + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExpansionDifferentiation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExpansionDifferentiation.lean new file mode 100644 index 0000000000000000000000000000000000000000..0d01d51a0abbb6761c9f97897af87ade11df81f0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExpansionDifferentiation.lean @@ -0,0 +1,118 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExponentialInterpolation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolynomialDerivatives +import Mathlib.Analysis.Calculus.ContDiff.Deriv +import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas + +namespace OAI + +/-! Coarse ODE derivative growth upgrades arbitrary-order outgoing expansions. -/ + +open Set Polynomial +open scoped ContDiff +namespace DefocusingNLS + +theorem radial_contDiffOn_iteratedDeriv (F : ℝ → ℂ) (L : ℝ) + (hF : ContDiffOn ℝ ∞ F (Ioi L)) (k : ℕ) : + ContDiffOn ℝ ∞ (iteratedDeriv k F) (Ioi L) := by + induction k with + | zero => simpa using hF + | succ k ih => + rw [iteratedDeriv_succ] + exact ih.deriv_of_isOpen isOpen_Ioi (by simp) + +theorem radialPolynomialFunction_contDiff (P : ℂ[X]) : + ContDiff ℝ ∞ (radialExteriorPolynomialFunction P) := by + have heR : ContDiff ℝ ∞ (fun t : ℝ => Real.exp (-2*t)) := by fun_prop + have he : ContDiff ℝ ∞ (fun t : ℝ => (Real.exp (-2*t) : ℂ)) := + Complex.ofRealCLM.contDiff.comp heR + change ContDiff ℝ ∞ (fun t : ℝ => P.eval (Real.exp (-2*t) : ℂ)) + induction P using Polynomial.induction_on' with + | add P Q hP hQ => + simpa only [radialExteriorPolynomialFunction, eval_add] using hP.add hQ + | monomial n a => + simpa only [radialExteriorPolynomialFunction, eval_monomial] using + (contDiff_const (c := a)).mul (he.pow n) + +theorem radial_expansion_derivative_selection (F : ℝ → ℂ) (P : ℕ → ℂ[X]) (L : ℝ) + (hF : ContDiffOn ℝ ∞ F (Ioi L)) + (hgrowth : ∀ k : ℕ, ∃ C B T : ℝ, 0 ≤ C ∧ 0 ≤ B ∧ + ∀ t, T ≤ t → ‖iteratedDeriv k F t‖ ≤ B*Real.exp (C*t)) + (happrox : ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ A T : ℝ, 0 ≤ A ∧ + ∀ t, T ≤ t → ‖F t-radialExteriorPolynomialFunction (P j) t‖ ≤ + A*Real.exp (-(2*(j : ℝ))*t)) : + ∀ k : ℕ, ∀ R : ℝ, 0 ≤ R → ∀ J : ℕ, ∃ j : ℕ, J ≤ j ∧ ∃ A T : ℝ, 0 ≤ A ∧ + ∀ t, T ≤ t → ‖iteratedDeriv k (F-radialExteriorPolynomialFunction (P j)) t‖ ≤ + A*Real.exp (-R*t) := by + intro k + induction k with + | zero => + intro R hR J + obtain ⟨K,hK⟩ := exists_nat_gt R + obtain ⟨j,hj,A,T,hA,hB⟩ := happrox (max J K) + refine ⟨j,(le_max_left J K).trans hj,A,max T 0,hA,?_⟩ + intro t ht + have ht0 : 0 ≤ t := (le_max_right T 0).trans ht + have hjR : R ≤ 2*(j : ℝ) := by + have hKj : (K : ℝ) ≤ j := by exact_mod_cast (le_max_right J K).trans hj + nlinarith [(Nat.cast_nonneg j : (0 : ℝ) ≤ (j : ℝ))] + apply (hB t ((le_max_left T 0).trans ht)).trans + apply mul_le_mul_of_nonneg_left _ hA + apply Real.exp_le_exp.mpr + nlinarith + | succ k ih => + intro R hR J + obtain ⟨C,B,Tg,hC,hB,hgrow⟩ := hgrowth (k+2) + obtain ⟨j,hj,A,Ta,hA,hap⟩ := ih (2*R+C) (by positivity) J + obtain ⟨D,hD,hpoly⟩ := radialExteriorPolynomial_deriv_bounded (P j) (k+2) + let H := F-radialExteriorPolynomialFunction (P j) + have hH : ContDiffOn ℝ ∞ H (Ioi L) := + hF.sub (radialPolynomialFunction_contDiff (P j)).contDiffOn + have hkH := radial_contDiffOn_iteratedDeriv H L hH k + let T := max (L+1) (max Ta (max Tg 0)) + have hTL : L < T := lt_of_lt_of_le (by linarith : L < L+1) (le_max_left _ _) + have hTa : Ta ≤ T := (le_max_left Ta _).trans (le_max_right _ _) + have hTg : Tg ≤ T := (le_max_left Tg 0).trans + ((le_max_right Ta _).trans (le_max_right _ _)) + have hT0 : 0 ≤ T := (le_max_right Tg 0).trans + ((le_max_right Ta _).trans (le_max_right _ _)) + have hsmall : ∀ t, T ≤ t → ‖iteratedDeriv k H t‖ ≤ A*Real.exp (-(2*R+C)*t) := + fun t ht => hap t (hTa.trans ht) + have hsecond : ∀ t, T ≤ t → + ‖deriv (deriv (iteratedDeriv k H)) t‖ ≤ (B+D)*Real.exp (C*t) := by + intro t ht + have hLt : L < t := hTL.trans_le ht + have ht0 : 0 ≤ t := hT0.trans ht + have hf : ContDiffAt ℝ (k+2) F t := + (hF t hLt).contDiffAt (Ioi_mem_nhds hLt) |>.of_le (by simp) + have hp : ContDiffAt ℝ (k+2) (radialExteriorPolynomialFunction (P j)) t := + (radialPolynomialFunction_contDiff (P j)).contDiffAt.of_le (by simp) + have hd : deriv (deriv (iteratedDeriv k H))=iteratedDeriv (k+2) H := by + rw [show k+2=(k+1)+1 by omega,iteratedDeriv_succ,iteratedDeriv_succ] + rw [hd,show H=F-radialExteriorPolynomialFunction (P j) from rfl, + iteratedDeriv_sub hf hp] + calc + _ ≤ ‖iteratedDeriv (k+2) F t‖+ + ‖iteratedDeriv (k+2) (radialExteriorPolynomialFunction (P j)) t‖ := norm_sub_le _ _ + _ ≤ B*Real.exp (C*t)+D := add_le_add (hgrow t (hTg.trans ht)) (hpoly t ht0) + _ ≤ B*Real.exp (C*t)+D*Real.exp (C*t) := by + exact add_le_add le_rfl (le_mul_of_one_le_right hD + (Real.one_le_exp_iff.mpr (mul_nonneg hC ht0))) + _ = _ := by ring + refine ⟨j,hj,2*A+(B+D)*Real.exp C,T,by positivity,?_⟩ + intro t ht + have hdf : ∀ s, T ≤ s → DifferentiableAt ℝ (iteratedDeriv k H) s := by + intro s hs + have hLs : L < s := hTL.trans_le hs + exact ((hkH s hLs).contDiffAt (Ioi_mem_nhds hLs)).differentiableAt (by simp) + have hddf : ∀ s, T ≤ s → DifferentiableAt ℝ (deriv (iteratedDeriv k H)) s := by + intro s hs + have hLs : L < s := hTL.trans_le hs + exact (((hkH.deriv_of_isOpen (m := ∞) isOpen_Ioi (by simp)) s hLs).contDiffAt + (Ioi_mem_nhds hLs)).differentiableAt (by simp) + simpa only [iteratedDeriv_succ] using radial_derivative_exp_interpolation + (iteratedDeriv k H) T A (B+D) C R t hA (add_nonneg hB hD) hC hR ht + (hT0.trans ht) hdf hddf hsmall hsecond + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExponentialInterpolation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExponentialInterpolation.lean new file mode 100644 index 0000000000000000000000000000000000000000..2b06084650a6c0b06f2411eba1c269c8bf62d0dc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExponentialInterpolation.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDerivativeInterpolation +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! Differentiating a rapidly decaying remainder using only a coarse second derivative. -/ + +open Set +namespace DefocusingNLS + +theorem radial_derivative_exp_interpolation (f : ℝ → ℂ) (T A B C N t : ℝ) + (hA : 0 ≤ A) (hB : 0 ≤ B) (hC : 0 ≤ C) (hN : 0 ≤ N) + (ht : T ≤ t) (ht0 : 0 ≤ t) + (hf : ∀ s, T ≤ s → DifferentiableAt ℝ f s) + (hdf : ∀ s, T ≤ s → DifferentiableAt ℝ (deriv f) s) + (hb0 : ∀ s, T ≤ s → ‖f s‖ ≤ A*Real.exp (-(2*N+C)*s)) + (hb2 : ∀ s, T ≤ s → ‖deriv (deriv f) s‖ ≤ B*Real.exp (C*s)) : + ‖deriv f t‖ ≤ (2*A+B*Real.exp C)*Real.exp (-N*t) := by + let h := Real.exp (-(N+C)*t) + have hh : 0 < h := Real.exp_pos _ + have hh1 : h ≤ 1 := Real.exp_le_one_iff.mpr (by nlinarith) + have hb0' : ∀ s ∈ Icc t (t+h), ‖f s‖ ≤ A*Real.exp (-(2*N+C)*t) := by + intro s hs + apply (hb0 s (ht.trans hs.1)).trans + apply mul_le_mul_of_nonneg_left _ hA + apply Real.exp_le_exp.mpr + nlinarith [hs.1] + have hb2' : ∀ s ∈ Icc t (t+h), ‖deriv (deriv f) s‖ ≤ B*Real.exp (C*(t+1)) := by + intro s hs + apply (hb2 s (ht.trans hs.1)).trans + apply mul_le_mul_of_nonneg_left _ hB + apply Real.exp_le_exp.mpr + nlinarith [hs.2] + have hd := radial_derivative_interpolation f t h + (A*Real.exp (-(2*N+C)*t)) (B*Real.exp (C*(t+1))) hh (by positivity) + (fun s hs => hf s (ht.trans hs.1)) (fun s hs => hdf s (ht.trans hs.1)) hb0' hb2' + have he1 : Real.exp (-(2*N+C)*t)/h=Real.exp (-N*t) := by + dsimp only [h] + rw [← Real.exp_sub] + congr 1 + ring + have he2 : Real.exp (C*(t+1))*h=Real.exp C*Real.exp (-N*t) := by + dsimp only [h] + rw [← Real.exp_add,← Real.exp_add] + congr 1 + ring + apply hd.trans_eq + calc + 2*(A*Real.exp (-(2*N+C)*t))/h+B*Real.exp (C*(t+1))*h = + 2*A*(Real.exp (-(2*N+C)*t)/h)+B*(Real.exp (C*(t+1))*h) := by ring + _ = _ := by rw [he1,he2]; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorActualTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorActualTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..cf689e9900b27974969e390f96268a44ef3605fa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorActualTail.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCorrection +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailData + +namespace OAI + +/-! An actual nonlinear slow solution on a sufficiently long exterior tail. -/ + +open Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_radialExterior_actual_tail (ν : ℂ) (n : ℕ) (m : ℂ) + (δ : ℝ) (hδ : 0 < δ) (hδm : δ < ‖m‖) : + ∃ T : ℝ, ∃ F G : ℝ → ℂ, + Tendsto F atTop (nhds m) ∧ Tendsto G atTop (nhds 0) ∧ + ∀ t, T ≤ t → F t ≠ 0 ∧ + HasDerivAt F (G t) t ∧ + HasDerivAt G (-(2*ν+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*G t- + ν*(ν+10)*F t+oddPowerNonlinearity n (F t)) t := by + let L := radialExteriorMatrixBound ν+radialExteriorCutoffRate n m δ + have hL : 0 < L := add_pos_of_pos_of_nonneg (radialExteriorMatrixBound_pos ν) + (radialExteriorCutoffRate_nonneg n m δ) + obtain ⟨j,hj⟩ := exists_nat_gt (L/2) + have hκ : L < 2*(j : ℝ) := by linarith + have hκ0 : 0 < 2*(j : ℝ) := hL.trans hκ + let P := radialExteriorExpansion ν n m j + obtain ⟨R,hR⟩ := radialExterior_normalized_residual ν n m j + let r := boundedRadialResidual R + obtain ⟨v,hv,hd⟩ := exists_radialExterior_nonlinear_tail (2*(j : ℝ)) ν n m δ hδ.le hκ + (boundedRadialPolynomial P) (boundedRadialPolynomial P).continuous r + let Y := radialExteriorUnweight (2*(j : ℝ)) v + let F : ℝ → ℂ := fun t => radialExteriorPolynomialFunction P t+(Y t).1 + let G : ℝ → ℂ := fun t => radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2 + have hYlim : Tendsto Y atTop (nhds 0) := radialExteriorUnweight_tendsto _ hκ0 v + have hY1 : Tendsto (fun t => (Y t).1) atTop (nhds 0) := by + simpa using! (continuous_fst.tendsto (0 : ℂ × ℂ)).comp hYlim + have hY2 : Tendsto (fun t => (Y t).2) atTop (nhds 0) := by + simpa using! (continuous_snd.tendsto (0 : ℂ × ℂ)).comp hYlim + have hP : Tendsto (radialExteriorPolynomialFunction P) atTop (nhds m) := by + simpa only [P,radialExteriorExpansion_constant] using radialExteriorPolynomialFunction_tendsto P + have hF : Tendsto F atTop (nhds m) := by simpa only [add_zero] using hP.add hY1 + have hG : Tendsto G atTop (nhds 0) := by + simpa only [radialPolynomialEuler_coeff,Nat.cast_zero,mul_zero,zero_mul,add_zero] using + (radialExteriorPolynomialFunction_tendsto (radialPolynomialEuler P)).add hY2 + have ep : ∀ᶠ t : ℝ in atTop, ‖radialExteriorPolynomialFunction P t-m‖ < δ := + (tendsto_iff_norm_sub_tendsto_zero.mp hP).eventually (gt_mem_nhds hδ) + have ef : ∀ᶠ t : ℝ in atTop, ‖F t-m‖ < δ := + (tendsto_iff_norm_sub_tendsto_zero.mp hF).eventually (gt_mem_nhds hδ) + obtain ⟨T,hT⟩ := eventually_atTop.mp ((ep.and ef).and (eventually_ge_atTop (0 : ℝ))) + refine ⟨T,F,G,hF,hG,?_⟩ + intro t ht + obtain ⟨⟨hpt,hft⟩,ht0⟩ := hT t ht + have hFne : F t ≠ 0 := by + intro hz + rw [hz,zero_sub,norm_neg] at hft + exact (hδm.trans hft).false + refine ⟨hFne,?_⟩ + have hvt : HasDerivAt (fun s => v s) + ((2*(j : ℝ)) • v t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2)+ + radialExteriorErrorMatrix ν (v t)+ + (0,radialExteriorWeightedIncrement (2*(j : ℝ)) + (radialExteriorCutoffPower n m δ) (boundedRadialPolynomial P) t (v t).1)+r t) t := by + simpa only [radialExteriorErrorField,add_assoc] using hd t + have hyt := radialExteriorUnweight_hasDerivAt (2*(j : ℝ)) t ν + (radialExteriorCutoffPower n m δ) (boundedRadialPolynomial P) r v hvt + change HasDerivAt Y _ t at hyt + rw [boundedRadialPolynomial_nonneg P t ht0] at hyt + rw [radialExteriorCutoffPower_eq n m δ _ hpt.le, + radialExteriorCutoffPower_eq n m δ _ hft.le] at hyt + have hr := hR t ht0 + change Real.exp (-(2*(j : ℝ))*t) • r t = _ at hr + rw [hr] at hyt + have hy : HasDerivAt Y + ((Y t).2,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Y t).2- + (2*ν+10)*(Y t).2-ν*(ν+10)*(Y t).1+ + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t+(Y t).1)- + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t)- + radialExteriorPolynomialFunction (radialExteriorPolynomialResidual ν n P) t) t := by + apply hyt.congr_deriv + apply Prod.ext <;> simp [radialExteriorErrorMatrix] <;> ring + exact radialExterior_corrected_jet ν n P Y t hy + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorAllOrders.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorAllOrders.lean new file mode 100644 index 0000000000000000000000000000000000000000..92542abd05d0db7f534a04ccceaa29ab8f1e062c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorAllOrders.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCanonical + +namespace OAI + +/-! Every truncation order represents the same canonical nonlinear outgoing solution. -/ + +open Set Filter Polynomial +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExteriorCanonical_allOrders (ν m : ℂ) (n : ℕ) (L : ℝ) + (hX : HasRadialExterior ν n m L) (hm : m ≠ 0) (J : ℕ) : + ∃ j : ℕ, J ≤ j ∧ ∃ v : ℝ →ᵇ ℂ × ℂ, ∃ T : ℝ, ∀ t, T ≤ t → + radialExteriorCanonical ν n m L t = + radialPolynomialJet (radialExteriorExpansion ν n m j) t + + radialExteriorUnweight (2*(j : ℝ)) v t := by + let δ := ‖m‖/2 + have hm0 : 0 < ‖m‖ := norm_pos_iff.mpr hm + have hδ : 0 < δ := by dsimp [δ]; positivity + obtain ⟨S,_hS,hs,T,_hT,j,hJ,v,_hv,hmargin,_hnear,_hc,_hl,hODE⟩ := + exists_radialExterior_local_family_order ν m n δ J hδ (by dsimp [δ]; linarith) + let z : S := ⟨(ν,m),hs⟩ + let W : ℝ → ℂ × ℂ := fun t => + radialPolynomialJet (radialExteriorExpansion ν n m j) t + + radialExteriorUnweight (2*(j : ℝ)) (v z) t + have hκ : radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*‖m‖^(2*n) < 2*(j : ℝ) := by + calc + _ ≤ radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n) := by + gcongr + linarith + _ ≤ radialExteriorMatrixBound ν+radialExteriorCutoffRate n m δ := by + unfold radialExteriorCutoffRate + have hpos : 0 ≤ (2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n) := by positivity + nlinarith + _ < _ := hmargin z + have heW : HasRadialOutgoingExpansion ν n m W := ⟨j,v z,T,hκ,fun _ _ => rfl⟩ + have hdW : ∀ t, max L T ≤ t → HasDerivAt W (radialExteriorODEField ν n t (W t)) t := by + intro t ht + exact (hODE z t ((le_max_right L T).trans ht)).2.1.prodMk + (hODE z t ((le_max_right L T).trans ht)).2.2 + obtain ⟨hcont,heZ,hdZ⟩ := radialExteriorCanonical_spec hX + have he := radialExterior_outgoing_eventually_eq ν n m + (radialExteriorCanonical ν n m L) W (max L T) + (fun t ht => (hdZ t ((le_max_left L T).trans ht)).2) hdW heZ heW + obtain ⟨U,hU⟩ := eventually_atTop.mp he + exact ⟨j,hJ,v z,U,hU⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedExpansion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedExpansion.lean new file mode 100644 index 0000000000000000000000000000000000000000..47dc7e1b7a70be8ec384ee8f152e823d64673ca2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedExpansion.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExpansionEquation + +namespace OAI + +/-! Bounded extensions of the finite exterior expansion and its normalized residual. -/ + +open Set Filter Polynomial +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialExteriorClampedVariable (t : ℝ) : ℝ := + Real.exp (-2*max t 0) + +theorem radialExteriorClampedVariable_mem (t : ℝ) : + radialExteriorClampedVariable t ∈ Icc (0 : ℝ) 1 := by + refine ⟨(Real.exp_pos _).le,?_⟩ + apply Real.exp_le_one_iff.mpr + nlinarith [le_max_right t 0] + +noncomputable def boundedRadialPolynomial (P : ℂ[X]) : ℝ →ᵇ ℂ := by + classical + have hc : Continuous (fun x : ℝ => P.eval (x : ℂ)) := by fun_prop + have hb := (isCompact_Icc : IsCompact (Icc (0 : ℝ) 1)).exists_bound_of_continuousOn hc.continuousOn + exact BoundedContinuousFunction.ofNormedAddCommGroup + (fun t => P.eval (radialExteriorClampedVariable t : ℂ)) + (by unfold radialExteriorClampedVariable; fun_prop) (Classical.choose hb) + (fun t => Classical.choose_spec hb _ (radialExteriorClampedVariable_mem t)) + +theorem boundedRadialPolynomial_apply (P : ℂ[X]) (t : ℝ) : + boundedRadialPolynomial P t=P.eval (radialExteriorClampedVariable t : ℂ) := rfl + +theorem boundedRadialPolynomial_nonneg (P : ℂ[X]) (t : ℝ) (ht : 0 ≤ t) : + boundedRadialPolynomial P t=radialExteriorPolynomialFunction P t := by + simp only [boundedRadialPolynomial_apply,radialExteriorClampedVariable,max_eq_left ht, + radialExteriorPolynomialFunction] + +theorem radialExteriorPolynomialFunction_tendsto (P : ℂ[X]) : + Tendsto (radialExteriorPolynomialFunction P) atTop (nhds (P.coeff 0)) := by + have hx : Tendsto (fun t : ℝ => Real.exp (-2*t)) atTop (nhds 0) := by + convert Real.tendsto_exp_neg_atTop_nhds_zero.comp + (tendsto_id.const_mul_atTop (by norm_num : (0 : ℝ) < 2)) using 1 + funext t + simp [neg_mul] + have hc : Continuous (fun x : ℝ => P.eval (x : ℂ)) := by fun_prop + simpa only [radialExteriorPolynomialFunction,Function.comp_def,Complex.ofReal_zero, + Polynomial.coeff_zero_eq_eval_zero] using! hc.continuousAt.tendsto.comp hx + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedFamily.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedFamily.lean new file mode 100644 index 0000000000000000000000000000000000000000..8f6b970c0d667983c29be7cff333a491f6116a68 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedFamily.lean @@ -0,0 +1,129 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorResidualLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorBoundedExpansion + +namespace OAI + +/-! Common real-tail extensions of the uniformly convergent polynomial families. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialExteriorTailVariable (T t : ℝ) : ℝ := Real.exp (-2*max t T) + +theorem radialExteriorTailVariable_mem (T t : ℝ) : + radialExteriorTailVariable T t ∈ Icc (0 : ℝ) (Real.exp (-2*T)) := by + refine ⟨(Real.exp_pos _).le,Real.exp_le_exp.mpr ?_⟩ + nlinarith [le_max_right t T] + +noncomputable def boundedRadialPolynomialAfter (T : ℝ) (P : ℂ[X]) : ℝ →ᵇ ℂ := by + classical + have hc : Continuous (fun x : ℝ => P.eval (x : ℂ)) := by fun_prop + have hb := (isCompact_Icc : IsCompact (Icc (0 : ℝ) (Real.exp (-2*T)))).exists_bound_of_continuousOn + hc.continuousOn + exact BoundedContinuousFunction.ofNormedAddCommGroup + (fun t => P.eval (radialExteriorTailVariable T t : ℂ)) + (by unfold radialExteriorTailVariable; fun_prop) (Classical.choose hb) + (fun t => Classical.choose_spec hb _ (radialExteriorTailVariable_mem T t)) + +theorem boundedRadialPolynomialAfter_apply (T : ℝ) (P : ℂ[X]) (t : ℝ) : + boundedRadialPolynomialAfter T P t=P.eval (radialExteriorTailVariable T t : ℂ) := rfl + +theorem boundedRadialPolynomialAfter_eq (T : ℝ) (P : ℂ[X]) (t : ℝ) (ht : T ≤ t) : + boundedRadialPolynomialAfter T P t=radialExteriorPolynomialFunction P t := by + simp only [boundedRadialPolynomialAfter_apply,radialExteriorTailVariable,max_eq_left ht, + radialExteriorPolynomialFunction] + +theorem boundedRadialPolynomialAfter_limit (T ε : ℝ) (hT : Real.exp (-2*T) ≤ ε) + (P : ℕ → ℂ[X]) (Q : ℂ[X]) + (hP : TendstoUniformlyOn (fun n z => (P n).eval z) (fun z => Q.eval z) + atTop (Metric.closedBall (0 : ℂ) ε)) : + Tendsto (fun n => boundedRadialPolynomialAfter T (P n)) atTop + (nhds (boundedRadialPolynomialAfter T Q)) := by + apply Metric.tendsto_nhds.mpr + intro η hη + filter_upwards [(Metric.tendstoUniformlyOn_iff.mp hP) (η/2) (by positivity)] with n hn + rw [dist_eq_norm] + have hb : ‖boundedRadialPolynomialAfter T (P n)-boundedRadialPolynomialAfter T Q‖ ≤ η/2 := by + apply (BoundedContinuousFunction.norm_le (by positivity)).mpr + intro t + have hx := radialExteriorTailVariable_mem T t + have hmem : (radialExteriorTailVariable T t : ℂ) ∈ Metric.closedBall (0 : ℂ) ε := by + simp only [Metric.mem_closedBall,dist_zero_right,Complex.norm_real,Real.norm_eq_abs, + abs_of_nonneg hx.1] + exact hx.2.trans hT + have he := (hn _ hmem).le + rw [dist_comm,dist_eq_norm] at he + exact he + exact hb.trans_lt (by linarith) + +noncomputable def boundedRadialResidualAfter (T : ℝ) (P : ℂ[X]) : ℝ →ᵇ ℂ × ℂ := + BoundedContinuousFunction.ofNormedAddCommGroup + (fun t => (0,-boundedRadialPolynomialAfter T P t)) + (continuous_const.prodMk (boundedRadialPolynomialAfter T P).continuous.neg) + ‖boundedRadialPolynomialAfter T P‖ (fun t => by + simp only [Prod.norm_def,norm_zero,norm_neg,max_eq_right (norm_nonneg _)] + exact (boundedRadialPolynomialAfter T P).norm_coe_le_norm t) + +theorem boundedRadialResidualAfter_apply (T : ℝ) (P : ℂ[X]) (t : ℝ) : + boundedRadialResidualAfter T P t=(0,-boundedRadialPolynomialAfter T P t) := rfl + +theorem boundedRadialResidualAfter_difference (T : ℝ) (P Q : ℂ[X]) : + ‖boundedRadialResidualAfter T P-boundedRadialResidualAfter T Q‖ ≤ + ‖boundedRadialPolynomialAfter T P-boundedRadialPolynomialAfter T Q‖ := by + apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).mpr + intro t + change ‖((0 : ℂ),-boundedRadialPolynomialAfter T P t)- + ((0 : ℂ),-boundedRadialPolynomialAfter T Q t)‖ ≤ _ + simp only [Prod.norm_def,Prod.fst_sub,Prod.snd_sub,sub_self,norm_zero, + neg_sub_neg,norm_sub_rev,max_eq_right (norm_nonneg _)] + exact (boundedRadialPolynomialAfter T P-boundedRadialPolynomialAfter T Q).norm_coe_le_norm t + +theorem boundedRadialResidualAfter_limit (T ε : ℝ) (hT : Real.exp (-2*T) ≤ ε) + (P : ℕ → ℂ[X]) (Q : ℂ[X]) + (hP : TendstoUniformlyOn (fun n z => (P n).eval z) (fun z => Q.eval z) + atTop (Metric.closedBall (0 : ℂ) ε)) : + Tendsto (fun n => boundedRadialResidualAfter T (P n)) atTop + (nhds (boundedRadialResidualAfter T Q)) := by + apply tendsto_iff_norm_sub_tendsto_zero.mpr + apply squeeze_zero' (Eventually.of_forall (fun _ => norm_nonneg _)) + (Eventually.of_forall (fun n => boundedRadialResidualAfter_difference T (P n) Q)) + exact tendsto_iff_norm_sub_tendsto_zero.mp (boundedRadialPolynomialAfter_limit T ε hT P Q hP) + +theorem boundedRadialResidualAfter_factor (T : ℝ) (P R : ℂ[X]) (j : ℕ) + (hPR : P=X^j*R) (t : ℝ) (ht : T ≤ t) : + Real.exp (-(2*(j : ℝ))*t) • boundedRadialResidualAfter T R t = + (0,-radialExteriorPolynomialFunction P t) := by + have he : radialExteriorPolynomialFunction P t= + (Real.exp (-(2*(j : ℝ))*t) : ℂ)*radialExteriorPolynomialFunction R t := by + simp only [radialExteriorPolynomialFunction,hPR,eval_mul,eval_pow,eval_X] + congr 1 + rw [← Complex.ofReal_pow,← Real.exp_nat_mul] + congr 2 + ring + rw [he,boundedRadialResidualAfter_apply,boundedRadialPolynomialAfter_eq T R t ht] + apply Prod.ext + · simp + · simp [Complex.real_smul] + +theorem exists_radialExterior_bounded_residual_family (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) + (hm₀ : ‖m₀‖ < 1) (j : ℕ) : + ∃ T : ℝ, 0 ≤ T ∧ ∃ R : ℕ → ℂ[X], ∃ R₀ : ℂ[X], + (∀ n, radialExteriorPolynomialResidual (ν n) n (radialExteriorExpansion (ν n) n (m n) j)=X^j*R n) ∧ + radialExteriorLinearResidual ν₀ (radialFreeExpansion ν₀ m₀ j)=X^j*R₀ ∧ + Tendsto (fun n => boundedRadialResidualAfter T (R n)) atTop + (nhds (boundedRadialResidualAfter T R₀)) := by + obtain ⟨ε,hε,_,R,R₀,hR,hR₀,hlim⟩ := radialExterior_normalized_residual_limit ν m ν₀ m₀ hν hm hm₀ j + have hx : Tendsto (fun t : ℝ => Real.exp (-2*t)) atTop (nhds 0) := by + convert Real.tendsto_exp_neg_atTop_nhds_zero.comp + (tendsto_id.const_mul_atTop (by norm_num : (0 : ℝ) < 2)) using 1 + funext t + simp [neg_mul] + obtain ⟨T,hT,hTe⟩ := ((eventually_ge_atTop (0 : ℝ)).and + (hx.eventually (gt_mem_nhds hε))).exists + exact ⟨T,hT,R,R₀,hR,hR₀,boundedRadialResidualAfter_limit T ε hTe.le R R₀ hlim⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedRemainder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedRemainder.lean new file mode 100644 index 0000000000000000000000000000000000000000..7699da8e2631e656dd621e85f38bfd9208fe793e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorBoundedRemainder.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUniformRemainder + +namespace OAI + +/-! Bounded coefficient functions and weighted remainders for the actual +canonical profile, with one common subunit bound. -/ + +open Filter Topology Set Polynomial +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExteriorCanonical_bounded_remainder + (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (𝓝 ν₀)) (hm : Tendsto m atTop (𝓝 m₀)) + (δ L : ℝ) (hδ : 0 < δ) (hsmall : ‖m₀‖+2*δ < 1) + (hX : ∀ᶠ n in atTop, HasRadialExterior (ν n) n (m n) L) + (j : ℕ) (hj : radialExteriorMatrixBound ν₀ < 2*(j : ℝ)) : + ∃ T ρ C : ℝ, 0 ≤ T ∧ L ≤ T ∧ 0 < ρ ∧ ρ < 1 ∧ 0 ≤ C ∧ + ∃ q e : ℕ → ℝ →ᵇ ℂ, + (∀ n, ‖e n‖ ≤ C) ∧ (∀ n t, ‖q n t‖ ≤ ρ) ∧ + ∀ᶠ n in atTop, ∀ t, T ≤ t → + q n t=(radialExteriorCanonical (ν n) n (m n) L t).1 ∧ + ‖radialExteriorPolynomialFunction (radialExteriorExpansion (ν n) n (m n) j) t‖ ≤ ρ ∧ + q n t-radialExteriorPolynomialFunction (radialExteriorExpansion (ν n) n (m n) j) t= + (Real.exp (-(2*(j : ℝ))*t) : ℂ)*e n t := by + classical + obtain ⟨T,C,hT,hLT,hC,v,w,_hvw,hv,hdata⟩ := + radialExteriorCanonical_uniform_remainder ν m ν₀ m₀ hν hm δ L hδ hsmall hX j hj + let ρ := ‖m₀‖+δ + have hρ : 0 < ρ := by dsimp [ρ]; positivity + have hρ1 : ρ < 1 := by dsimp [ρ]; linarith + obtain ⟨N,hN⟩ := eventually_atTop.mp (hX.and hdata) + let e : ℕ → ℝ →ᵇ ℂ := fun n => BoundedContinuousFunction.ofNormedAddCommGroup + (fun t => (v n t).1) (v n).continuous.fst C + (fun t => (norm_fst_le _).trans (((v n).norm_coe_le_norm t).trans (hv n))) + let q : ℕ → ℝ →ᵇ ℂ := fun n => if hn : N ≤ n then + BoundedContinuousFunction.ofNormedAddCommGroup + (fun t => (radialExteriorCanonical (ν n) n (m n) L (max T t)).1) + (((radialExteriorCanonical_spec (hN n hn).1).1.fst).comp (continuous_const.max continuous_id)) + ρ (fun t => ((hN n hn).2 (max T t) (le_max_left _ _)).1) + else 0 + have he (n : ℕ) : ‖e n‖ ≤ C := by + apply (BoundedContinuousFunction.norm_le hC).mpr + intro t + exact (norm_fst_le _).trans (((v n).norm_coe_le_norm t).trans (hv n)) + have hq (n : ℕ) (t : ℝ) : ‖q n t‖ ≤ ρ := by + by_cases hn : N ≤ n + · change ‖(if hn : N ≤ n then _ else (0 : ℝ →ᵇ ℂ)) t‖ ≤ _ + rw [dite_eq_left hn] + exact ((hN n hn).2 (max T t) (le_max_left _ _)).1 + · simp only [q,dite_eq_right hn] + change ‖(0 : ℂ)‖ ≤ ρ + simpa only [norm_zero] using hρ.le + refine ⟨T,ρ,C,hT,hLT,hρ,hρ1,hC,q,e,he,hq,?_⟩ + filter_upwards [eventually_ge_atTop N] with n hn t ht + have hqt : q n t=(radialExteriorCanonical (ν n) n (m n) L t).1 := by + dsimp only [q] + rw [dite_eq_left hn] + change (radialExteriorCanonical (ν n) n (m n) L (max T t)).1=_ + rw [max_eq_right ht] + refine ⟨hqt,((hN n hn).2 t ht).2.1,?_⟩ + rw [hqt] + have hh := congrArg Prod.fst (((hN n hn).2 t ht).2.2) + rw [hh] + simp only [radialPolynomialJet,Prod.fst_add,radialExteriorUnweight, + Prod.smul_fst,Complex.real_smul,add_sub_cancel_left] + rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonical.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonical.lean new file mode 100644 index 0000000000000000000000000000000000000000..5575ccf2c53280b1e806aa25f44cfc3240a61ed6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonical.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTerminal + +namespace OAI + +/-! Canonical choice of the genuine outgoing solution on a prescribed exterior ray. -/ + +open Set Filter +namespace DefocusingNLS + +def HasRadialExterior (ν : ℂ) (n : ℕ) (m : ℂ) (L : ℝ) : Prop := + ∃ Z : ℝ → ℂ × ℂ, Continuous Z ∧ HasRadialOutgoingExpansion ν n m Z ∧ + ∀ t, L ≤ t → (Z t).1 ≠ 0 ∧ HasDerivAt Z (radialExteriorODEField ν n t (Z t)) t + +noncomputable def radialExteriorCanonical (ν : ℂ) (n : ℕ) (m : ℂ) (L : ℝ) : ℝ → ℂ × ℂ := by + classical + exact if h : HasRadialExterior ν n m L then Classical.choose h else fun _ => 0 + +theorem radialExteriorCanonical_spec {ν : ℂ} {n : ℕ} {m : ℂ} {L : ℝ} + (h : HasRadialExterior ν n m L) : + Continuous (radialExteriorCanonical ν n m L) ∧ + HasRadialOutgoingExpansion ν n m (radialExteriorCanonical ν n m L) ∧ + ∀ t, L ≤ t → (radialExteriorCanonical ν n m L t).1 ≠ 0 ∧ + HasDerivAt (radialExteriorCanonical ν n m L) + (radialExteriorODEField ν n t (radialExteriorCanonical ν n m L t)) t := by + classical + unfold radialExteriorCanonical + rw [dite_eq_left h] + exact Classical.choose_spec h + +theorem radialExteriorCanonical_eq {ν : ℂ} {n : ℕ} {m : ℂ} {L : ℝ} + (Z : ℝ → ℂ × ℂ) (hc : Continuous Z) (he : HasRadialOutgoingExpansion ν n m Z) + (hd : ∀ t, L ≤ t → (Z t).1 ≠ 0 ∧ HasDerivAt Z (radialExteriorODEField ν n t (Z t)) t) + (t : ℝ) (ht : L ≤ t) : radialExteriorCanonical ν n m L t=Z t := by + have hh : HasRadialExterior ν n m L := ⟨Z,hc,he,hd⟩ + obtain ⟨hc',he',hd'⟩ := radialExteriorCanonical_spec hh + exact radialExterior_outgoing_unique ν n m L _ Z hc' hc + (fun s hs => (hd' s hs).2) (fun s hs => (hd s hs).2) he' he t ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonicalContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonicalContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..dfa10fa9022fc358c37f775d814ba39b7625cbd9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonicalContinuity.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorLocalOutgoing +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFixedContinuation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorSplice + +namespace OAI + +/-! Parameter continuity of the unique outgoing solution at the matching radius. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialExteriorCanonical_parameter_limit (n : ℕ) (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) + (hm₀ : m₀ ≠ 0) (l : ℝ) (hex : HasRadialExterior ν₀ n m₀ l) : + (∀ᶠ i in atTop, HasRadialExterior (ν i) n (m i) l) ∧ + Tendsto (fun i => radialExteriorCanonical (ν i) n (m i) l l) atTop + (nhds (radialExteriorCanonical ν₀ n m₀ l l)) := by + classical + let g := radialExteriorCanonical ν₀ n m₀ l + obtain ⟨hgc,hgout,hgd⟩ := radialExteriorCanonical_spec hex + obtain ⟨S,hS,hp,T,Y,hY,hYcont,hYd⟩ := exists_radialExterior_local_outgoing ν₀ m₀ n hm₀ + let y₀ : S := ⟨(ν₀,m₀),hp⟩ + let y : ℕ → S := fun i => if h : (ν i,m i) ∈ S then ⟨(ν i,m i),h⟩ else y₀ + have hmem : ∀ᶠ i in atTop, (ν i,m i) ∈ S := + (hν.prodMk_nhds hm).eventually (hS.mem_nhds hp) + have hyval : ∀ᶠ i in atTop, (y i).val=(ν i,m i) := by + filter_upwards [hmem] with i hi + simp only [y,dite_eq_left hi] + have hy : Tendsto y atTop (nhds y₀) := by + apply tendsto_subtype_rng.mpr + exact (hν.prodMk_nhds hm).congr' (hyval.mono (fun _ h => h.symm)) + let u := max l T + have hlu : l ≤ u := le_max_left _ _ + have hTu : T ≤ u := le_max_right _ _ + have hcenter : Y y₀ u=g u := by + apply radialExterior_outgoing_unique ν₀ n m₀ u (Y y₀) g (hY y₀).1 hgc + · intro t ht + exact (hYd y₀ t (hTu.trans ht)).2 + · intro t ht + exact (hgd t (hlu.trans ht)).2 + · exact (hY y₀).2 + · exact hgout + · exact le_rfl + have hinit : Tendsto (fun i => Y (y i) u) atTop (nhds (g u)) := by + rw [← hcenter] + exact (hYcont u hTu).continuousAt.tendsto.comp hy + obtain ⟨X,hX,hXconv,hXactual⟩ := exists_radialExterior_fixed_continuation n ν ν₀ hν + g hgc l u hlu (fun t ht => (hgd t ht.1).1) (fun t ht => (hgd t ht.1).2) + (fun i => Y (y i) u) hinit + let Z := fun i => radialExteriorSplice u (X i) (Y (y i)) + have hZc (i : ℕ) : Continuous (Z i) := + radialExteriorSplice_continuous u (X i) (Y (y i)) (hX i).1 (hY (y i)).1 (hX i).2 + have hZout : ∀ᶠ i in atTop, HasRadialOutgoingExpansion (ν i) n (m i) (Z i) := by + filter_upwards [hyval] with i hi + have hout : HasRadialOutgoingExpansion (ν i) n (m i) (Y (y i)) := by + simpa only [hi] using (hY (y i)).2 + apply hout.congr + filter_upwards [eventually_gt_atTop u] with t ht + simp only [Z,radialExteriorSplice,not_le.mpr ht,ite_false] + have hZactual : ∀ᶠ i in atTop, ∀ t, l ≤ t → (Z i t).1 ≠ 0 ∧ + HasDerivAt (Z i) (radialExteriorODEField (ν i) n t (Z i t)) t := by + filter_upwards [hyval,hXactual] with i hi hXi t ht + have hYi : ∀ s, T ≤ s → (Y (y i) s).1 ≠ 0 ∧ + HasDerivAt (Y (y i)) (radialExteriorODEField (ν i) n s (Y (y i) s)) s := by + intro s hs + simpa only [hi] using hYd (y i) s hs + refine ⟨?_,?_⟩ + · by_cases htu : t ≤ u + · simpa only [Z,radialExteriorSplice,ite_eq_left htu] using (hXi t ⟨ht,htu⟩).1 + · simpa only [Z,radialExteriorSplice,ite_eq_right htu] using + (hYi t (hTu.trans (not_le.mp htu).le)).1 + · exact radialExteriorSplice_hasDerivAt u t (X i) (Y (y i)) + (radialExteriorODEField (ν i) n) + (fun htu => (hXi t ⟨ht,htu⟩).2) + (fun hut => (hYi t (hTu.trans hut)).2) (hX i).2 + have hcan : ∀ᶠ i in atTop, HasRadialExterior (ν i) n (m i) l ∧ + radialExteriorCanonical (ν i) n (m i) l l=X i l := by + filter_upwards [hZout,hZactual] with i hi hd + refine ⟨⟨Z i,hZc i,hi,hd⟩,?_⟩ + rw [radialExteriorCanonical_eq (Z i) (hZc i) hi hd l le_rfl] + simp only [Z,radialExteriorSplice,ite_eq_left hlu] + refine ⟨hcan.mono (fun _ h => h.1),?_⟩ + exact (hXconv.tendsto_at (show l ∈ Icc l u from ⟨le_rfl,hlu⟩)).congr' + (hcan.mono (fun _ h => h.2.symm)) + +theorem continuous_radialExteriorCanonical_boundary {K : Type*} [MetricSpace K] + (n : ℕ) (ν m : K → ℂ) (hν : Continuous ν) (hm : Continuous m) + (hm0 : ∀ x, m x ≠ 0) (l : ℝ) (hex : ∀ x, HasRadialExterior (ν x) n (m x) l) : + Continuous (fun x => radialExteriorCanonical (ν x) n (m x) l l) := by + apply SeqContinuous.continuous + intro x x₀ hx + exact (radialExteriorCanonical_parameter_limit n (fun i => ν (x i)) (fun i => m (x i)) + (ν x₀) (m x₀) (hν.continuousAt.tendsto.comp hx) (hm.continuousAt.tendsto.comp hx) + (hm0 x₀) l (hex x₀)).2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonicalLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonicalLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..2ca2fc9134053d5d0c11c837c04952c6db8d644a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCanonicalLimit.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCanonical +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorOutgoingContinuation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialParameterSubsequence + +namespace OAI + +/-! Actual H convergence for the uniquely selected outgoing exterior solution. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialExteriorCanonical_H_limit (ν m : ℕ → ℂ) (q m₀ : ℂ) + (hq : -1 < q.re) (hν : Tendsto ν atTop (nhds (-2*q))) + (hm : Tendsto m atTop (nhds m₀)) (δ ρ l : ℝ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) (hρ : ρ < 1) + (hupper : ∀ t, l ≤ t → ‖(radialFreeSlowJet q m₀ t).1‖+2*δ ≤ ρ) + (hlower : ∀ t, l ≤ t → δ < ‖(radialFreeSlowJet q m₀ t).1‖) : + (∀ᶠ n in atTop, HasRadialExterior (ν n) n (m n) l) ∧ + TendstoUniformlyOn (fun n => radialExteriorCanonical (ν n) n (m n) l) + (radialFreeSlowJet q m₀) atTop (Ici l) := by + obtain ⟨Z,hconv,hc,he,hd⟩ := exists_radialExterior_outgoing_extended ν m q m₀ + hq hν hm δ ρ l hδ hδm hsmall hρ hupper hlower + have hcanon : ∀ᶠ n in atTop, ∀ t, l ≤ t → + radialExteriorCanonical (ν n) n (m n) l t=Z n t := by + filter_upwards [he,hd] with n hen hdn t ht + exact radialExteriorCanonical_eq (Z n) (hc n) hen hdn t ht + refine ⟨?_,?_⟩ + · filter_upwards [he,hd] with n hen hdn + exact ⟨Z n,hc n,hen,hdn⟩ + · rw [Metric.tendstoUniformlyOn_iff] at hconv ⊢ + intro ε hε + filter_upwards [hconv ε hε,hcanon] with n hn hcn t ht + rw [hcn t ht] + exact hn t ht + +theorem radialExteriorCanonical_H_limit_subsequence + (s : ℕ → ℕ) (hs : StrictMono s) (ν m : ℕ → ℂ) (q m₀ : ℂ) + (hq : -1 < q.re) (hν : Tendsto ν atTop (nhds (-2*q))) + (hm : Tendsto m atTop (nhds m₀)) (δ ρ l : ℝ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) (hρ : ρ < 1) + (hupper : ∀ t, l ≤ t → ‖(radialFreeSlowJet q m₀ t).1‖+2*δ ≤ ρ) + (hlower : ∀ t, l ≤ t → δ < ‖(radialFreeSlowJet q m₀ t).1‖) : + (∀ᶠ i in atTop, HasRadialExterior (ν i) (s i) (m i) l) ∧ + TendstoUniformlyOn (fun i => radialExteriorCanonical (ν i) (s i) (m i) l) + (radialFreeSlowJet q m₀) atTop (Ici l) := by + obtain ⟨he,hconv⟩ := radialExteriorCanonical_H_limit + (radialParameterExtension s ν (-2*q)) (radialParameterExtension s m m₀) q m₀ hq + (radialParameterExtension_tendsto s hs ν (-2*q) hν) + (radialParameterExtension_tendsto s hs m m₀ hm) δ ρ l hδ hδm hsmall hρ hupper hlower + refine ⟨?_,?_⟩ + · simpa only [radialParameterExtension_apply s hs] using hs.tendsto_atTop.eventually he + · rw [Metric.tendstoUniformlyOn_iff] at hconv ⊢ + intro ε hε + simpa only [radialParameterExtension_apply s hs] using + hs.tendsto_atTop.eventually (hconv ε hε) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCoefficient.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCoefficient.lean new file mode 100644 index 0000000000000000000000000000000000000000..dba005ce7feca961e4623a356c17a0cf5d7514d5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCoefficient.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExpansion + +namespace OAI + +/-! The explicit triangular recurrence for the exterior coefficients. -/ + +open Polynomial +namespace DefocusingNLS + +theorem radialExteriorPolynomialResidual_top (ν : ℂ) (n j : ℕ) (P : ℂ[X]) + (hP : P.natDegree ≤ j) : + (radialExteriorPolynomialResidual ν n P).coeff j = + (ν-2*(j : ℂ))*(ν+10-2*(j : ℂ))*P.coeff j- + (radialPolynomialPower n P).coeff j := by + have hz : P.coeff (j+1)=0 := coeff_eq_zero_of_natDegree_lt (by omega) + simp only [radialExteriorPolynomialResidual,coeff_sub,coeff_add,coeff_C_mul, + radialPolynomialEuler_coeff,coeff_derivative,hz,zero_mul,mul_zero,sub_zero] + ring + +theorem radialExteriorExpansion_step (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : + radialExteriorExpansion ν n m (j+1) = + radialExteriorExpansion ν n m j+monomial (j+1) + (((ν-2*(j : ℂ))*(ν+10-2*(j : ℂ))*(radialExteriorExpansion ν n m j).coeff j- + (radialPolynomialPower n (radialExteriorExpansion ν n m j)).coeff j) / + (Complex.I*(j+1 : ℕ))) := by + rw [radialExteriorExpansion,radialExteriorPolynomialResidual_top ν n j _ + (radialExteriorExpansion_degree ν n m j)] + +noncomputable def radialFreeExpansion (ν m : ℂ) : ℕ → ℂ[X] + | 0 => C m + | j+1 => let P := radialFreeExpansion ν m j + P+monomial (j+1) ((ν-2*(j : ℂ))*(ν+10-2*(j : ℂ))*P.coeff j / + (Complex.I*(j+1 : ℕ))) + +theorem radialFreeExpansion_constant (ν m : ℂ) (j : ℕ) : + (radialFreeExpansion ν m j).coeff 0=m := by + induction j with + | zero => simp [radialFreeExpansion] + | succ j ih => simp [radialFreeExpansion,ih] + +theorem radialFreeExpansion_degree (ν m : ℂ) (j : ℕ) : + (radialFreeExpansion ν m j).natDegree ≤ j := by + induction j with + | zero => simp [radialFreeExpansion] + | succ j ih => + exact (natDegree_add_le _ _).trans (max_le (ih.trans (Nat.le_succ j)) + (natDegree_monomial_le _)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCommonTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCommonTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..a4a2982fd6dc8ce4c2f06ffc049785795720cce8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCommonTail.lean @@ -0,0 +1,151 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailFamily +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUniformTail +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailRemoval +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFreeCorrection + +namespace OAI + +/-! Nonvanishing nonlinear exterior solutions on a common tail for convergent parameters. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_radialExterior_common_tail_data (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) + (δ : ℝ) (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) : + ∃ S : ℝ, 0 ≤ S ∧ ∃ Z : ℕ → ℝ → ℂ × ℂ, ∃ Z₀ : ℝ → ℂ × ℂ, + TendstoUniformlyOn Z Z₀ atTop (Ici (0 : ℝ)) ∧ + (∀ n, Tendsto (Z n) atTop (nhds (m n,0))) ∧ + Tendsto Z₀ atTop (nhds (m₀,0)) ∧ + (∃ j : ℕ, ∃ w : ℝ →ᵇ ℂ × ℂ, radialExteriorMatrixBound ν₀ < 2*(j : ℝ) ∧ + Z₀ = fun t => radialPolynomialJet (radialFreeExpansion ν₀ m₀ j) t+ + radialExteriorUnweight (2*(j : ℝ)) w t) ∧ + (∃ j : ℕ, ∃ v : ℕ → ℝ →ᵇ ℂ × ℂ, + (∀ n, Z n=fun t => radialPolynomialJet (radialExteriorExpansion (ν n) n (m n) j) t+ + radialExteriorUnweight (2*(j : ℝ)) (v n) t) ∧ + ∀ᶠ n in atTop, radialExteriorMatrixBound (ν n)+ + radialExteriorCutoffRate n m₀ δ < 2*(j : ℝ)) ∧ + (∀ t, S ≤ t → HasDerivAt (fun s => (Z₀ s).1) (Z₀ t).2 t ∧ + HasDerivAt (fun s => (Z₀ s).2) + (-(2*ν₀+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z₀ t).2- + ν₀*(ν₀+10)*(Z₀ t).1) t) ∧ + ∀ᶠ n in atTop, ∀ t, S ≤ t → + (Z n t).1 ≠ 0 ∧ HasDerivAt (fun s => (Z n s).1) (Z n t).2 t ∧ + HasDerivAt (fun s => (Z n s).2) + (-(2*ν n+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z n t).2- + ν n*(ν n+10)*(Z n t).1+oddPowerNonlinearity n (Z n t).1) t := by + have hm01 : ‖m₀‖ < 1 := by linarith + obtain ⟨j,hj⟩ := exists_nat_gt (radialExteriorMatrixBound ν₀/2) + let κ : ℝ := 2*(j : ℝ) + have hκ : radialExteriorMatrixBound ν₀ < κ := by dsimp [κ]; linarith + have hκ0 : 0 < κ := (radialExteriorMatrixBound_pos ν₀).trans hκ + have hB : Tendsto (fun n => radialExteriorMatrixBound (ν n)) atTop + (nhds (radialExteriorMatrixBound ν₀)) := by + have hc : Continuous radialExteriorMatrixBound := by unfold radialExteriorMatrixBound; fun_prop + exact hc.continuousAt.tendsto.comp hν + have hmargin : ∀ᶠ n in atTop, radialExteriorMatrixBound (ν n)+ + radialExteriorCutoffRate n m₀ δ < κ := by + have hh := hB.add (radialExteriorCutoffRate_tendsto m₀ δ hδ.le hsmall) + rw [add_zero] at hh + exact hh.eventually (gt_mem_nhds hκ) + let P : ℕ → ℂ[X] := fun n => radialExteriorExpansion (ν n) n (m n) j + let Q := radialFreeExpansion ν₀ m₀ j + obtain ⟨T,hT,R,R₀,hR,hR₀,hr⟩ := + exists_radialExterior_bounded_residual_family ν m ν₀ m₀ hν hm hm01 j + let f : ℕ → ℝ → ℂ := fun n => boundedRadialPolynomialAfter T (P n) + let r : ℕ → ℝ →ᵇ ℂ × ℂ := fun n => boundedRadialResidualAfter T (R n) + obtain ⟨v,w,hvw,_,hwd,hv⟩ := exists_radialExterior_convergent_corrections κ ν ν₀ m₀ δ hν hδ.le + hsmall hκ f (fun n => (boundedRadialPolynomialAfter T (P n)).continuous) + r (boundedRadialResidualAfter T R₀) hr + let Z : ℕ → ℝ → ℂ × ℂ := fun n t => radialPolynomialJet (P n) t+radialExteriorUnweight κ (v n) t + let Z₀ : ℝ → ℂ × ℂ := fun t => radialPolynomialJet Q t+radialExteriorUnweight κ w t + have hZ : TendstoUniformlyOn Z Z₀ atTop (Ici (0 : ℝ)) := + radialExterior_corrected_jet_uniform_limit κ hκ0.le ν m ν₀ m₀ hν hm hm01 j v w hvw + have hZlim : ∀ n, Tendsto (Z n) atTop (nhds (m n,0)) := by + intro n + simpa only [P,radialExteriorExpansion_constant] using + radialExterior_corrected_jet_tendsto κ hκ0 (P n) (v n) + have hZ₀lim : Tendsto Z₀ atTop (nhds (m₀,0)) := by + simpa only [Q,radialFreeExpansion_constant] using + radialExterior_corrected_jet_tendsto κ hκ0 Q w + have hP : TendstoUniformlyOn (fun n => radialPolynomialJet (P n)) (radialPolynomialJet Q) + atTop (Ici (0 : ℝ)) := + radialPolynomialJet_uniform_limit P Q j + (Eventually.of_forall (fun n => radialExteriorExpansion_degree _ _ _ _)) + (radialFreeExpansion_degree _ _ _) + (fun k _ => radialExteriorExpansion_coefficient_limit ν m ν₀ m₀ hν hm hm01 j k) + have hQlim : Tendsto (radialPolynomialJet Q) atTop (nhds (m₀,0)) := by + simpa only [Q,radialFreeExpansion_constant] using radialPolynomialJet_tendsto Q + obtain ⟨SP,_,hSP⟩ := radial_uniform_tail_near_limit (fun n => radialPolynomialJet (P n)) + (radialPolynomialJet Q) (m₀,0) δ hδ hP hQlim + obtain ⟨SF,_,hSF⟩ := radial_uniform_tail_near_limit Z Z₀ (m₀,0) δ hδ hZ hZ₀lim + let S := max T (max SP SF) + refine ⟨S,hT.trans (le_max_left _ _),Z,Z₀,hZ,hZlim,hZ₀lim, + ⟨j,w,hκ,rfl⟩,⟨j,v,(fun _ => rfl),hmargin⟩,?_,?_⟩ + · intro t ht + exact radialExterior_free_tail_from_correction ν₀ T j Q R₀ hR₀ w t + ((le_max_left T _).trans ht) (hwd t) + filter_upwards [hv,hSP,hSF] with n hvn hpn hfn t ht + have htT : T ≤ t := (le_max_left T _).trans ht + have htSP : SP ≤ t := ((le_max_left SP SF).trans (le_max_right T _)).trans ht + have htSF : SF ≤ t := ((le_max_right SP SF).trans (le_max_right T _)).trans ht + have hpn' : ‖radialExteriorPolynomialFunction (P n) t-m₀‖ < δ := by + exact (norm_fst_le (radialPolynomialJet (P n) t-(m₀,0))).trans_lt (hpn t htSP) + have hfn' : ‖(Z n t).1-m₀‖ < δ := + (norm_fst_le (Z n t-(m₀,0))).trans_lt (hfn t htSF) + have hne : (Z n t).1 ≠ 0 := by + intro hz + rw [hz,zero_sub,norm_neg] at hfn' + exact (hδm.trans hfn').false + refine ⟨hne,?_⟩ + have hd := radialExterior_tail_cutoff_removal (ν n) m₀ n j δ T (P n) (R n) + (hR n) (v n) t htT hpn'.le hfn'.le (hvn.2.2 t) + exact hd + +theorem exists_radialExterior_common_tail_with_expansion (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) + (δ : ℝ) (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) : + ∃ S : ℝ, 0 ≤ S ∧ ∃ Z : ℕ → ℝ → ℂ × ℂ, ∃ Z₀ : ℝ → ℂ × ℂ, + TendstoUniformlyOn Z Z₀ atTop (Ici (0 : ℝ)) ∧ + (∀ n, Tendsto (Z n) atTop (nhds (m n,0))) ∧ + Tendsto Z₀ atTop (nhds (m₀,0)) ∧ + (∃ j : ℕ, ∃ w : ℝ →ᵇ ℂ × ℂ, radialExteriorMatrixBound ν₀ < 2*(j : ℝ) ∧ + Z₀ = fun t => radialPolynomialJet (radialFreeExpansion ν₀ m₀ j) t+ + radialExteriorUnweight (2*(j : ℝ)) w t) ∧ + (∀ t, S ≤ t → HasDerivAt (fun s => (Z₀ s).1) (Z₀ t).2 t ∧ + HasDerivAt (fun s => (Z₀ s).2) + (-(2*ν₀+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z₀ t).2- + ν₀*(ν₀+10)*(Z₀ t).1) t) ∧ + ∀ᶠ n in atTop, ∀ t, S ≤ t → + (Z n t).1 ≠ 0 ∧ HasDerivAt (fun s => (Z n s).1) (Z n t).2 t ∧ + HasDerivAt (fun s => (Z n s).2) + (-(2*ν n+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z n t).2- + ν n*(ν n+10)*(Z n t).1+oddPowerNonlinearity n (Z n t).1) t := by + obtain ⟨S,hS,Z,Z₀,hconv,hlim,hlim₀,hfreeExp,_,hfree,hactual⟩ := + exists_radialExterior_common_tail_data ν m ν₀ m₀ hν hm δ hδ hδm hsmall + exact ⟨S,hS,Z,Z₀,hconv,hlim,hlim₀,hfreeExp,hfree,hactual⟩ + +theorem exists_radialExterior_common_tail (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) + (δ : ℝ) (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) : + ∃ S : ℝ, 0 ≤ S ∧ ∃ Z : ℕ → ℝ → ℂ × ℂ, ∃ Z₀ : ℝ → ℂ × ℂ, + TendstoUniformlyOn Z Z₀ atTop (Ici (0 : ℝ)) ∧ + (∀ n, Tendsto (Z n) atTop (nhds (m n,0))) ∧ + Tendsto Z₀ atTop (nhds (m₀,0)) ∧ + (∀ t, S ≤ t → HasDerivAt (fun s => (Z₀ s).1) (Z₀ t).2 t ∧ + HasDerivAt (fun s => (Z₀ s).2) + (-(2*ν₀+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z₀ t).2- + ν₀*(ν₀+10)*(Z₀ t).1) t) ∧ + ∀ᶠ n in atTop, ∀ t, S ≤ t → + (Z n t).1 ≠ 0 ∧ HasDerivAt (fun s => (Z n s).1) (Z n t).2 t ∧ + HasDerivAt (fun s => (Z n s).2) + (-(2*ν n+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z n t).2- + ν n*(ν n+10)*(Z n t).1+oddPowerNonlinearity n (Z n t).1) t := by + obtain ⟨S,hS,Z,Z₀,hconv,hlim,hlim₀,_,hfree,hactual⟩ := + exists_radialExterior_common_tail_with_expansion ν m ν₀ m₀ hν hm δ hδ hδm hsmall + exact ⟨S,hS,Z,Z₀,hconv,hlim,hlim₀,hfree,hactual⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCompactExistence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCompactExistence.lean new file mode 100644 index 0000000000000000000000000000000000000000..68f40801859790d219cd1b08e399647422835714 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCompactExistence.lean @@ -0,0 +1,39 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCanonicalLimit +import Mathlib.Analysis.SpecificLimits.Basic +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactSubsequence + +namespace OAI + +/-! Existence of the outgoing exterior is uniform on compact sets of shooting parameters. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialExterior_compact_exists {K : Type*} [MetricSpace K] [CompactSpace K] + (q m : K → ℂ) (hqcont : Continuous q) (hmcont : Continuous m) (l : ℝ) + (hq : ∀ x, -1 < (q x).re) + (hannulus : ∀ x, ∃ δ ρ : ℝ, 0 < δ ∧ δ < ‖m x‖ ∧ ‖m x‖+2*δ < 1 ∧ ρ < 1 ∧ + (∀ t, l ≤ t → ‖(radialFreeSlowJet (q x) (m x) t).1‖+2*δ ≤ ρ) ∧ + ∀ t, l ≤ t → δ < ‖(radialFreeSlowJet (q x) (m x) t).1‖) : + ∀ᶠ (n : ℕ) in atTop, ∀ x, HasRadialExterior (-2*q x-1/(n : ℂ)) n (m x) l := by + classical + by_contra h + obtain ⟨r,hr,y,y₀,hylim,hy⟩ := radial_compact_bad_subsequence + (fun n x => HasRadialExterior (-2*q x-1/(n : ℂ)) n (m x) l) h + have hqlim := hqcont.continuousAt.tendsto.comp hylim + have hmlim := hmcont.continuousAt.tendsto.comp hylim + have hν : Tendsto (fun i => -2*q (y i)-1/(r i : ℂ)) atTop (nhds (-2*q y₀)) := by + simpa only [Function.comp_def,sub_zero] using! + (hqlim.const_mul (-2)).sub + ((tendsto_one_div_atTop_nhds_zero_nat : + Tendsto (fun n : ℕ => 1/(n : ℂ)) atTop (nhds 0)).comp hr.tendsto_atTop) + obtain ⟨δ,ρ,hδ,hδm,hsmall,hρ,hupper,hlower⟩ := hannulus y₀ + have hex := (radialExteriorCanonical_H_limit_subsequence r hr + (fun i => -2*q (y i)-1/(r i : ℂ)) (fun i => m (y i)) + (q y₀) (m y₀) (hq y₀) hν hmlim δ ρ l hδ hδm hsmall hρ hupper hlower).1 + obtain ⟨i,hi⟩ := hex.exists + exact hy i hi + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCompactLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCompactLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..4b683daa9777b62b50c0085b9f610d60d2c92cfa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCompactLimit.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCompactExistence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeParameterContinuity + +namespace OAI + +/-! The canonical exterior boundary jet converges uniformly on compact shooting sets. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialExterior_compact_boundary_limit {K : Type*} [MetricSpace K] [CompactSpace K] + (q m : K → ℂ) (hqcont : Continuous q) (hmcont : Continuous m) (l : ℝ) + (hq : ∀ x, -1 < (q x).re) + (hannulus : ∀ x, ∃ δ ρ : ℝ, 0 < δ ∧ δ < ‖m x‖ ∧ ‖m x‖+2*δ < 1 ∧ ρ < 1 ∧ + (∀ t, l ≤ t → ‖(radialFreeSlowJet (q x) (m x) t).1‖+2*δ ≤ ρ) ∧ + ∀ t, l ≤ t → δ < ‖(radialFreeSlowJet (q x) (m x) t).1‖) : + TendstoUniformly + (fun (n : ℕ) x => radialExteriorCanonical (-2*q x-1/(n : ℂ)) n (m x) l l) + (fun x => radialFreeSlowJet (q x) (m x) l) atTop := by + classical + rw [Metric.tendstoUniformly_iff] + intro ε hε + by_contra h + obtain ⟨s,hs,x,x₀,hx,hbad⟩ := radial_compact_bad_subsequence + (fun n x => dist (radialFreeSlowJet (q x) (m x) l) + (radialExteriorCanonical (-2*q x-1/(n : ℂ)) n (m x) l l) < ε) h + have hqlim := hqcont.continuousAt.tendsto.comp hx + have hmlim := hmcont.continuousAt.tendsto.comp hx + have hν : Tendsto (fun i => -2*q (x i)-1/(s i : ℂ)) atTop (nhds (-2*q x₀)) := by + simpa only [Function.comp_def,sub_zero] using! + (hqlim.const_mul (-2)).sub + ((tendsto_one_div_atTop_nhds_zero_nat : + Tendsto (fun n : ℕ => 1/(n : ℂ)) atTop (nhds 0)).comp hs.tendsto_atTop) + obtain ⟨δ,ρ,hδ,hδm,hsmall,hρ,hupper,hlower⟩ := hannulus x₀ + have hconv := (radialExteriorCanonical_H_limit_subsequence s hs + (fun i => -2*q (x i)-1/(s i : ℂ)) (fun i => m (x i)) + (q x₀) (m x₀) (hq x₀) hν hmlim δ ρ l hδ hδm hsmall hρ hupper hlower).2 + have hc := hconv.tendsto_at (Set.mem_Ici.mpr le_rfl) + have hf := (continuousAt_radialFreeSlowJet_parameter (q x₀) (m x₀) (hq x₀) l).tendsto.comp + (hqlim.prodMk_nhds hmlim) + have hdist : Tendsto (fun i => dist + (radialExteriorCanonical (-2*q (x i)-1/(s i : ℂ)) (s i) (m (x i)) l l) + (radialFreeSlowJet (q (x i)) (m (x i)) l)) atTop (nhds 0) := by + simpa only [dist_self] using! hc.dist hf + obtain ⟨i,hi⟩ := (hdist.eventually (gt_mem_nhds hε)).exists + exact hbad i (by simpa only [dist_comm] using hi) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousData.lean new file mode 100644 index 0000000000000000000000000000000000000000..8cd8bbf5c9c1a8a7a0e04461543fc97538956192 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousData.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorParameter +import Mathlib.Topology.Sequences + +namespace OAI + +/-! Continuous bounded data for the fixed-power exterior contraction. -/ + +open Polynomial Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialExteriorResidualQuotient (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : ℂ[X] := + Classical.choose (radialExteriorExpansion_residual ν n m j) + +theorem radialExteriorResidualQuotient_spec (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : + radialExteriorPolynomialResidual ν n (radialExteriorExpansion ν n m j)= + X^j*radialExteriorResidualQuotient ν n m j := + Classical.choose_spec (radialExteriorExpansion_residual ν n m j) + +theorem continuous_radialExteriorBase (n j : ℕ) (T : ℝ) (hT : 0 ≤ T) : + Continuous (fun z : ℂ × ℂ => + boundedRadialPolynomialAfter T (radialExteriorExpansion z.1 n z.2 j)) := by + apply SeqContinuous.continuous + intro z z₀ hz + exact radialExteriorBase_fixed_power_limit n j T hT z z₀ hz + +theorem continuous_radialExteriorSource (n j : ℕ) (T : ℝ) (hT : 0 ≤ T) : + Continuous (fun z : ℂ × ℂ => + boundedRadialResidualAfter T (radialExteriorResidualQuotient z.1 n z.2 j)) := by + apply SeqContinuous.continuous + intro z z₀ hz + exact radialExteriorSource_fixed_power_limit n j T hT z z₀ hz _ _ + (fun i => radialExteriorResidualQuotient_spec _ _ _ _) + (radialExteriorResidualQuotient_spec _ _ _ _) + +theorem continuous_radialExteriorPolynomialJet (n j : ℕ) (t : ℝ) (ht : 0 ≤ t) : + Continuous (fun z : ℂ × ℂ => radialPolynomialJet (radialExteriorExpansion z.1 n z.2 j) t) := by + apply SeqContinuous.continuous + intro z z₀ hz + apply (radialPolynomialJet_uniform_limit + (fun i => radialExteriorExpansion (z i).1 n (z i).2 j) + (radialExteriorExpansion z₀.1 n z₀.2 j) j + (Eventually.of_forall (fun _ => radialExteriorExpansion_degree _ _ _ _)) + (radialExteriorExpansion_degree _ _ _ _) ?_).tendsto_at ht + intro k _ + exact (continuous_radialExteriorExpansion_coeff n j k).continuousAt.tendsto.comp hz + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousFinite.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousFinite.lean new file mode 100644 index 0000000000000000000000000000000000000000..8bf01a7b63f8866ff5f8a91657ae5bcabadc5728 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousFinite.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteContinuity +import Mathlib.Topology.Sequences + +namespace OAI + +/-! Continuous dependence of the actual backwards finite-interval construction. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_continuous_radialExterior_finite_solutions (S : Set (ℂ × ℂ)) + (n : ℕ) (m : ℝ → ℂ) (hm : Continuous m) (δ ρ u T : ℝ) + (hδ : 0 ≤ δ) (hT : 0 ≤ T) + (hb : ∀ t ∈ Icc (u-T) u, ‖m t‖+2*δ ≤ ρ) + (x : S → ℂ × ℂ) (hx : Continuous x) : + ∃ Z : S → ℝ → ℂ × ℂ, + (∀ z, Continuous (Z z) ∧ Z z u=x z) ∧ + (∀ z t, t ∈ Icc (u-T) u → + HasDerivAt (Z z) (radialExteriorFiniteField z.val.1 n m δ t (Z z t)) t) ∧ + ∀ t ∈ Icc (u-T) u, Continuous (fun z => Z z t) := by + classical + have hex (z : S) := exists_radialExterior_clipped_finite z.val.1 n m hm δ ρ u T + hδ hT hb (x z) + choose Z hc he hd using hex + refine ⟨Z,(fun z => ⟨hc z,he z⟩),hd,?_⟩ + intro t ht + apply SeqContinuous.continuous + intro z z₀ hz + have hν : Tendsto (fun i => (z i).val.1) atTop (nhds z₀.val.1) := + (continuous_subtype_val.fst.continuousAt.tendsto).comp hz + exact (radialExterior_finite_parameter_limit n (fun i => (z i).val.1) z₀.val.1 + hν m hm δ ρ u T hδ hT hb (fun i => Z (z i)) (Z z₀) + (fun i => hc (z i)) (hc z₀) (fun i => hd (z i)) (hd z₀) + (by simpa only [he] using! hx.continuousAt.tendsto.comp hz)).tendsto_at ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..cd30b2cac904f5b9130577c332ec77390fa69996 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorContinuousTail.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorContinuousData +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorParameterContinuity + +namespace OAI + +/-! A continuous family of actual fixed-power tail solutions, with canonical polynomial data. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_continuous_radialExterior_corrections (S : Set (ℂ × ℂ)) + (n j : ℕ) (m : ℂ) (δ T : ℝ) (hδ : 0 < δ) (hT : 0 ≤ T) + (hκ : ∀ z : S, radialExteriorMatrixBound z.val.1+ + radialExteriorCutoffRate n m δ < 2*(j : ℝ)) + (hbase : ∀ (z : S) t, + ‖boundedRadialPolynomialAfter T (radialExteriorExpansion z.val.1 n z.val.2 j) t-m‖ ≤ δ/4) : + ∃ v : S → ℝ →ᵇ ℂ × ℂ, Continuous v ∧ ∀ z, + let f := boundedRadialPolynomialAfter T (radialExteriorExpansion z.val.1 n z.val.2 j) + let r := boundedRadialResidualAfter T (radialExteriorResidualQuotient z.val.1 n z.val.2 j) + ‖v z‖ ≤ ‖r‖/(2*(j : ℝ)- + (radialExteriorMatrixBound z.val.1+radialExteriorCutoffRate n m δ)) ∧ + (∀ t, v z t=radialExteriorTailIntegral (2*(j : ℝ)) + (fun s => radialExteriorErrorField (2*(j : ℝ)) z.val.1 + (radialExteriorCutoffPower n m δ) f r s (v z s)) t) ∧ + ∀ t, HasDerivAt (fun s => v z s) + ((2*(j : ℝ)) • v z t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v z t).2)+ + radialExteriorErrorField (2*(j : ℝ)) z.val.1 + (radialExteriorCutoffPower n m δ) f r t (v z t)) t := by + classical + let f : S → ℝ →ᵇ ℂ := fun z => + boundedRadialPolynomialAfter T (radialExteriorExpansion z.val.1 n z.val.2 j) + let r : S → ℝ →ᵇ ℂ × ℂ := fun z => + boundedRadialResidualAfter T (radialExteriorResidualQuotient z.val.1 n z.val.2 j) + have hex (z : S) := exists_radialExterior_weighted_ODE (2*(j : ℝ)) + (radialExteriorMatrixBound z.val.1+radialExteriorCutoffRate n m δ) ‖r z‖ + (lt_of_le_of_lt (add_nonneg (radialExteriorMatrixBound_pos _).le + (radialExteriorCutoffRate_nonneg _ _ _)) (hκ z)) + (add_nonneg (radialExteriorMatrixBound_pos _).le (radialExteriorCutoffRate_nonneg _ _ _)) + (hκ z) (norm_nonneg _) + (radialExteriorErrorField (2*(j : ℝ)) z.val.1 (radialExteriorCutoffPower n m δ) (f z) (r z)) + (radialExteriorErrorField_continuous _ _ _ (radialExteriorCutoffPower_continuous _ _ _) + _ (f z).continuous (r z)) + (fun t => by rw [radialExteriorErrorField_zero]; exact (r z).norm_coe_le_norm t) + (radialExteriorErrorField_difference _ _ (radialExteriorCutoffRate_nonneg _ _ _) _ _ + (radialExteriorCutoffPower_difference n m δ hδ.le) _ _) + choose v hv using hex + refine ⟨v,?_,hv⟩ + exact continuous_radialExterior_corrections S n m δ (2*(j : ℝ)) hδ + (fun z => z.val.1) continuous_subtype_val.fst + f ((continuous_radialExteriorBase n j T hT).comp continuous_subtype_val) + r ((continuous_radialExteriorSource n j T hT).comp continuous_subtype_val) + hκ hbase v (fun z => (hv z).2.1) + +theorem continuous_radialExterior_corrected_boundary (S : Set (ℂ × ℂ)) + (n j : ℕ) (t : ℝ) (ht : 0 ≤ t) + (v : S → ℝ →ᵇ ℂ × ℂ) (hv : Continuous v) : + Continuous (fun z : S => radialPolynomialJet (radialExteriorExpansion z.val.1 n z.val.2 j) t+ + radialExteriorUnweight (2*(j : ℝ)) (v z) t) := by + apply ((continuous_radialExteriorPolynomialJet n j t ht).comp continuous_subtype_val).add + have he : Continuous (fun z => v z t) := by + convert! (BoundedContinuousFunction.lipschitz_eval_const t).continuous.comp hv using 1 + change Continuous (fun z : S => Real.exp (-(2*(j : ℝ))*t) • v z t) + exact (continuous_const : Continuous (fun _ : S => Real.exp (-(2*(j : ℝ))*t))).smul he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCorrection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCorrection.lean new file mode 100644 index 0000000000000000000000000000000000000000..728e17d520006a6a7d1603e9bdbdb4905d057181 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCorrection.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorBoundedExpansion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUnweight + +namespace OAI + +/-! Correcting the finite expansion gives the original nonlinear slow-profile equation. -/ + +namespace DefocusingNLS + +open Polynomial + +theorem radialExterior_corrected_jet (ν : ℂ) (n : ℕ) (P : ℂ[X]) + (Y : ℝ → ℂ × ℂ) (t : ℝ) + (hY : HasDerivAt Y + ((Y t).2, + -Complex.I*(Real.exp (2*t)/2 : ℝ)*(Y t).2-(2*ν+10)*(Y t).2- + ν*(ν+10)*(Y t).1+ + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t+(Y t).1)- + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t)- + radialExteriorPolynomialFunction (radialExteriorPolynomialResidual ν n P) t) t) : + HasDerivAt (fun s => radialExteriorPolynomialFunction P s+(Y s).1) + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2) t ∧ + HasDerivAt (fun s => radialExteriorPolynomialFunction (radialPolynomialEuler P) s+(Y s).2) + (-(2*ν+10+Complex.I*(Real.exp (2*t)/2 : ℝ))* + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2)- + ν*(ν+10)*(radialExteriorPolynomialFunction P t+(Y t).1)+ + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t+(Y t).1)) t := by + have hY1 : HasDerivAt (fun s => (Y s).1) (Y t).2 t := + (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hY + have hY2 := (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hY + refine ⟨(radialExteriorPolynomialFunction_hasDerivAt P t).add hY1,?_⟩ + apply ((radialExteriorPolynomialFunction_hasDerivAt (radialPolynomialEuler P) t).add hY2).congr_deriv + change radialExteriorPolynomialFunction (radialPolynomialEuler (radialPolynomialEuler P)) t+ + (-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Y t).2-(2*ν+10)*(Y t).2- + ν*(ν+10)*(Y t).1+ + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t+(Y t).1)- + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t)- + radialExteriorPolynomialFunction (radialExteriorPolynomialResidual ν n P) t) = _ + linear_combination radialExteriorPolynomialResidual_equation ν n P t + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCutoff.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCutoff.lean new file mode 100644 index 0000000000000000000000000000000000000000..8c34a5a9aaffa9320a466a59ec0b4685946dc41c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorCutoff.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialOddPowerBound +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTruncatedNonlinearity + +namespace OAI + +/-! A global Lipschitz extension which agrees with the exterior polynomial near its limiting value. -/ + +open Set +namespace DefocusingNLS + +noncomputable def radialComplexClamp (m : ℂ) (δ : ℝ) (z : ℂ) : ℂ := + m + (radialAmplitudeClamp (-δ) δ (z-m).re : ℂ) + + Complex.I*(radialAmplitudeClamp (-δ) δ (z-m).im : ℂ) + +theorem radialComplexClamp_continuous (m : ℂ) (δ : ℝ) : + Continuous (radialComplexClamp m δ) := by + unfold radialComplexClamp radialAmplitudeClamp + fun_prop + +theorem radialComplexClamp_eq (m : ℂ) (δ : ℝ) (z : ℂ) (hz : ‖z-m‖ ≤ δ) : + radialComplexClamp m δ z=z := by + have hr := (abs_le.mp ((Complex.abs_re_le_norm (z-m)).trans hz)) + have hi := (abs_le.mp ((Complex.abs_im_le_norm (z-m)).trans hz)) + rw [radialComplexClamp,radialAmplitudeClamp_eq _ _ _ hr, + radialAmplitudeClamp_eq _ _ _ hi] + have hparts := Complex.re_add_im (z-m) + linear_combination hparts + +theorem radialComplexClamp_bound (m : ℂ) (δ : ℝ) (hδ : 0 ≤ δ) (z : ℂ) : + ‖radialComplexClamp m δ z‖ ≤ ‖m‖+2*δ := by + have hcl (x : ℝ) : ‖radialAmplitudeClamp (-δ) δ x‖ ≤ δ := by + rw [Real.norm_eq_abs,abs_le] + exact radialAmplitudeClamp_mem _ _ _ (by linarith) + unfold radialComplexClamp + calc + _ ≤ ‖m+(radialAmplitudeClamp (-δ) δ (z-m).re : ℂ)‖+ + ‖Complex.I*(radialAmplitudeClamp (-δ) δ (z-m).im : ℂ)‖ := norm_add_le _ _ + _ ≤ (‖m‖+‖(radialAmplitudeClamp (-δ) δ (z-m).re : ℂ)‖)+ + ‖Complex.I*(radialAmplitudeClamp (-δ) δ (z-m).im : ℂ)‖ := + add_le_add (norm_add_le _ _) le_rfl + _ ≤ ‖m‖+2*δ := by + rw [norm_mul,Complex.norm_I,one_mul,Complex.norm_real,Complex.norm_real] + linarith [hcl (z-m).re,hcl (z-m).im] + +theorem radialComplexClamp_difference (m : ℂ) (δ : ℝ) (z w : ℂ) : + ‖radialComplexClamp m δ z-radialComplexClamp m δ w‖ ≤ 2*‖z-w‖ := by + have hcl (x y : ℝ) : + ‖radialAmplitudeClamp (-δ) δ x-radialAmplitudeClamp (-δ) δ y‖ ≤ ‖x-y‖ := by + simpa only [dist_eq_norm,NNReal.coe_one,one_mul] using + (radialAmplitudeClamp_lipschitz (-δ) δ).dist_le_mul x y + have he : radialComplexClamp m δ z-radialComplexClamp m δ w = + ((radialAmplitudeClamp (-δ) δ (z-m).re- + radialAmplitudeClamp (-δ) δ (w-m).re : ℝ) : ℂ)+ + Complex.I*((radialAmplitudeClamp (-δ) δ (z-m).im- + radialAmplitudeClamp (-δ) δ (w-m).im : ℝ) : ℂ) := by + unfold radialComplexClamp + push_cast + ring + rw [he] + calc + _ ≤ ‖((radialAmplitudeClamp (-δ) δ (z-m).re- + radialAmplitudeClamp (-δ) δ (w-m).re : ℝ) : ℂ)‖+ + ‖Complex.I*((radialAmplitudeClamp (-δ) δ (z-m).im- + radialAmplitudeClamp (-δ) δ (w-m).im : ℝ) : ℂ)‖ := norm_add_le _ _ + _ ≤ ‖(z-m).re-(w-m).re‖+‖(z-m).im-(w-m).im‖ := by + rw [norm_mul,Complex.norm_I,one_mul,Complex.norm_real,Complex.norm_real] + exact add_le_add (hcl _ _) (hcl _ _) + _ ≤ 2*‖z-w‖ := by + have hr := Complex.abs_re_le_norm (z-w) + have hi := Complex.abs_im_le_norm (z-w) + simp only [Complex.sub_re,Complex.sub_im,sub_sub_sub_cancel_right,Real.norm_eq_abs] + simpa only [two_mul,Complex.sub_re,Complex.sub_im] using! add_le_add hr hi + +noncomputable def radialExteriorCutoffPower (n : ℕ) (m : ℂ) (δ : ℝ) (z : ℂ) : ℂ := + oddPowerNonlinearity n (radialComplexClamp m δ z) + +theorem radialExteriorCutoffPower_continuous (n : ℕ) (m : ℂ) (δ : ℝ) : + Continuous (radialExteriorCutoffPower n m δ) := + (contDiff_oddPowerNonlinearity n).continuous.comp (radialComplexClamp_continuous m δ) + +theorem radialExteriorCutoffPower_eq (n : ℕ) (m : ℂ) (δ : ℝ) (z : ℂ) + (hz : ‖z-m‖ ≤ δ) : + radialExteriorCutoffPower n m δ z=oddPowerNonlinearity n z := by + rw [radialExteriorCutoffPower,radialComplexClamp_eq m δ z hz] + +theorem radialExteriorCutoffPower_difference (n : ℕ) (m : ℂ) (δ : ℝ) (hδ : 0 ≤ δ) + (z w : ℂ) : + ‖radialExteriorCutoffPower n m δ z-radialExteriorCutoffPower n m δ w‖ ≤ + (2*(2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n))*‖z-w‖ := by + have hp := radial_oddPower_difference n (‖m‖+2*δ) (by positivity) + (radialComplexClamp m δ z) (radialComplexClamp m δ w) + (radialComplexClamp_bound m δ hδ z) (radialComplexClamp_bound m δ hδ w) + calc + _ ≤ (2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n)* + ‖radialComplexClamp m δ z-radialComplexClamp m δ w‖ := hp + _ ≤ (2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n)*(2*‖z-w‖) := by + gcongr + exact radialComplexClamp_difference m δ z w + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorErrorField.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorErrorField.lean new file mode 100644 index 0000000000000000000000000000000000000000..a17b2576647630189e1dd6769a8b5491eb16f118 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorErrorField.lean @@ -0,0 +1,113 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailEquation + +namespace OAI + +/-! The precise constant matrix and normalized nonlinear increment in the exterior error equation. -/ + +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialExteriorErrorMatrix (ν : ℂ) : (ℂ × ℂ) →L[ℝ] (ℂ × ℂ) := + (ContinuousLinearMap.snd ℝ ℂ ℂ).prod + (-((2*ν+10) • ContinuousLinearMap.snd ℝ ℂ ℂ + + (ν*(ν+10)) • ContinuousLinearMap.fst ℝ ℂ ℂ)) + +noncomputable def radialExteriorMatrixBound (ν : ℂ) : ℝ := + 1+‖2*ν+10‖+‖ν*(ν+10)‖ + +theorem radialExteriorMatrixBound_pos (ν : ℂ) : 0 < radialExteriorMatrixBound ν := by + unfold radialExteriorMatrixBound + positivity + +theorem radialExteriorErrorMatrix_norm (ν : ℂ) (v : ℂ × ℂ) : + ‖radialExteriorErrorMatrix ν v‖ ≤ radialExteriorMatrixBound ν*‖v‖ := by + change max ‖v.2‖ ‖-((2*ν+10)*v.2+(ν*(ν+10))*v.1)‖ ≤ _ + apply max_le + · calc + _ ≤ ‖v‖ := norm_snd_le v + _ ≤ radialExteriorMatrixBound ν*‖v‖ := by + unfold radialExteriorMatrixBound + nlinarith [norm_nonneg (2*ν+10),norm_nonneg (ν*(ν+10)),norm_nonneg v] + · rw [norm_neg] + calc + _ ≤ ‖(2*ν+10)*v.2‖+‖(ν*(ν+10))*v.1‖ := norm_add_le _ _ + _ = ‖2*ν+10‖*‖v.2‖+‖ν*(ν+10)‖*‖v.1‖ := by rw [norm_mul,norm_mul] + _ ≤ ‖2*ν+10‖*‖v‖+‖ν*(ν+10)‖*‖v‖ := by + gcongr + · exact norm_snd_le v + · exact norm_fst_le v + _ ≤ radialExteriorMatrixBound ν*‖v‖ := by + unfold radialExteriorMatrixBound + nlinarith [norm_nonneg v] + +noncomputable def radialExteriorWeightedIncrement (κ : ℝ) (N : ℂ → ℂ) + (f : ℝ → ℂ) (t : ℝ) (z : ℂ) : ℂ := + (Real.exp (κ*t) : ℂ)*(N (f t+(Real.exp (-κ*t) : ℂ)*z)-N (f t)) + +theorem radialExteriorWeightedIncrement_difference (κ L : ℝ) + (N : ℂ → ℂ) (hLip : ∀ z w, ‖N z-N w‖ ≤ L*‖z-w‖) + (f : ℝ → ℂ) (t : ℝ) (z w : ℂ) : + ‖radialExteriorWeightedIncrement κ N f t z- + radialExteriorWeightedIncrement κ N f t w‖ ≤ L*‖z-w‖ := by + have he : Real.exp (κ*t)*Real.exp (-κ*t)=1 := by + rw [← Real.exp_add] + simp + unfold radialExteriorWeightedIncrement + rw [← mul_sub,sub_sub_sub_cancel_right,norm_mul,Complex.norm_real, + Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + calc + _ ≤ Real.exp (κ*t)*(L*‖f t+(Real.exp (-κ*t) : ℂ)*z- + (f t+(Real.exp (-κ*t) : ℂ)*w)‖) := + mul_le_mul_of_nonneg_left (hLip _ _) (Real.exp_nonneg _) + _ = L*‖z-w‖ := by + rw [add_sub_add_left_eq_sub,← mul_sub,norm_mul,Complex.norm_real, + Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + calc + _ = (Real.exp (κ*t)*Real.exp (-κ*t))*(L*‖z-w‖) := by ring + _ = _ := by rw [he,one_mul] + +noncomputable def radialExteriorErrorField (κ : ℝ) (ν : ℂ) (N : ℂ → ℂ) + (f : ℝ → ℂ) (r : ℝ →ᵇ ℂ × ℂ) (t : ℝ) (z : ℂ × ℂ) : ℂ × ℂ := + radialExteriorErrorMatrix ν z + (0,radialExteriorWeightedIncrement κ N f t z.1) + r t + +theorem radialExteriorErrorField_continuous (κ : ℝ) (ν : ℂ) (N : ℂ → ℂ) + (hN : Continuous N) (f : ℝ → ℂ) (hf : Continuous f) (r : ℝ →ᵇ ℂ × ℂ) : + Continuous (Function.uncurry (radialExteriorErrorField κ ν N f r)) := by + unfold radialExteriorErrorField radialExteriorWeightedIncrement Function.uncurry + fun_prop + +theorem radialExteriorErrorField_zero (κ : ℝ) (ν : ℂ) (N : ℂ → ℂ) + (f : ℝ → ℂ) (r : ℝ →ᵇ ℂ × ℂ) (t : ℝ) : + radialExteriorErrorField κ ν N f r t 0=r t := by + simp [radialExteriorErrorField,radialExteriorWeightedIncrement] + +theorem radialExteriorErrorField_difference (κ L : ℝ) (hL : 0 ≤ L) (ν : ℂ) + (N : ℂ → ℂ) (hLip : ∀ z w, ‖N z-N w‖ ≤ L*‖z-w‖) + (f : ℝ → ℂ) (r : ℝ →ᵇ ℂ × ℂ) (t : ℝ) (z w : ℂ × ℂ) : + ‖radialExteriorErrorField κ ν N f r t z-radialExteriorErrorField κ ν N f r t w‖ ≤ + (radialExteriorMatrixBound ν+L)*‖z-w‖ := by + have he : radialExteriorErrorField κ ν N f r t z-radialExteriorErrorField κ ν N f r t w = + radialExteriorErrorMatrix ν (z-w) + + (0,radialExteriorWeightedIncrement κ N f t z.1- + radialExteriorWeightedIncrement κ N f t w.1) := by + simp only [radialExteriorErrorField,map_sub] + rw [show ((0 : ℂ),radialExteriorWeightedIncrement κ N f t z.1- + radialExteriorWeightedIncrement κ N f t w.1) = + (0,radialExteriorWeightedIncrement κ N f t z.1)- + (0,radialExteriorWeightedIncrement κ N f t w.1) by simp] + abel + rw [he] + calc + _ ≤ ‖radialExteriorErrorMatrix ν (z-w)‖+ + ‖(0,radialExteriorWeightedIncrement κ N f t z.1- + radialExteriorWeightedIncrement κ N f t w.1)‖ := norm_add_le _ _ + _ ≤ radialExteriorMatrixBound ν*‖z-w‖+L*‖z-w‖ := by + apply add_le_add (radialExteriorErrorMatrix_norm ν (z-w)) + rw [Prod.norm_def,norm_zero,max_eq_right (norm_nonneg _)] + exact (radialExteriorWeightedIncrement_difference κ L N hLip f t z.1 w.1).trans + (mul_le_mul_of_nonneg_left (norm_fst_le (z-w)) hL) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansion.lean new file mode 100644 index 0000000000000000000000000000000000000000..8394d60ca2d604d93463caf94bce80fd7c509997 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansion.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPolynomial + +namespace OAI + +/-! The triangular exterior coefficient construction and its exact residual order. -/ + +open Polynomial +namespace DefocusingNLS + +noncomputable def radialExteriorExpansion (ν : ℂ) (n : ℕ) (m : ℂ) : ℕ → ℂ[X] + | 0 => C m + | j+1 => let P := radialExteriorExpansion ν n m j + P+monomial (j+1) ((radialExteriorPolynomialResidual ν n P).coeff j / + (Complex.I*(j+1 : ℕ))) + +theorem radialExteriorExpansion_constant (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : + (radialExteriorExpansion ν n m j).coeff 0=m := by + induction j with + | zero => simp [radialExteriorExpansion] + | succ j ih => simp [radialExteriorExpansion,ih] + +theorem radialExteriorExpansion_degree (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : + (radialExteriorExpansion ν n m j).natDegree ≤ j := by + induction j with + | zero => simp [radialExteriorExpansion] + | succ j ih => + exact (natDegree_add_le _ _).trans (max_le (ih.trans (Nat.le_succ j)) + (natDegree_monomial_le _)) + +theorem radialExteriorExpansion_residual (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : + X^j ∣ radialExteriorPolynomialResidual ν n (radialExteriorExpansion ν n m j) := by + induction j with + | zero => simp + | succ j ih => + apply X_pow_dvd_iff.mpr + intro k hk + have hkj : k ≤ j := by omega + rw [radialExteriorExpansion,radialExteriorPolynomialResidual_update ν n j k _ _ hkj] + by_cases he : k=j + · subst k + simp only [ite_true] + have hj : (j+1 : ℂ) ≠ 0 := by exact_mod_cast Nat.succ_ne_zero j + have hi : Complex.I ≠ 0 := Complex.I_ne_zero + field_simp + ring + · simp only [he,ite_false,sub_zero] + exact X_pow_dvd_iff.mp ih k (by omega) + +theorem radialExteriorExpansion_coeff_stable (ν : ℂ) (n : ℕ) (m : ℂ) (j k : ℕ) + (hk : k ≤ j) : + (radialExteriorExpansion ν n m (j+1)).coeff k=(radialExteriorExpansion ν n m j).coeff k := by + have hne : j+1 ≠ k := by omega + simp [radialExteriorExpansion,coeff_add,coeff_monomial,hne] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionCompatibility.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionCompatibility.lean new file mode 100644 index 0000000000000000000000000000000000000000..2a9df0c89d012f0f66108230ad5fcb21c42d2df4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionCompatibility.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorNonlinearUniqueness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorJetLimit + +namespace OAI + +/-! Different truncation orders represent the same outgoing asymptotic data. -/ + +open Polynomial Set +namespace DefocusingNLS + +theorem radialExteriorExpansion_coeff_initial (ν : ℂ) (n : ℕ) (m : ℂ) + (j k i : ℕ) (hjk : j ≤ k) (hi : i ≤ j) : + (radialExteriorExpansion ν n m k).coeff i=(radialExteriorExpansion ν n m j).coeff i := by + induction k with + | zero => + have hj : j=0 := by omega + subst j + rfl + | succ k ih => + by_cases hj : j=k+1 + · subst j; rfl + · have hjk' : j ≤ k := by omega + exact (radialExteriorExpansion_coeff_stable ν n m k i (hi.trans hjk')).trans (ih hjk') + +theorem radialExteriorExpansion_difference_dvd (ν : ℂ) (n : ℕ) (m : ℂ) + (j k : ℕ) (hjk : j ≤ k) : + X^j ∣ radialExteriorExpansion ν n m k-radialExteriorExpansion ν n m j := by + apply X_pow_dvd_iff.mpr + intro i hi + rw [coeff_sub,radialExteriorExpansion_coeff_initial ν n m j k i hjk (by omega),sub_self] + +theorem radialPolynomialEuler_preserves_divisibility (P : ℂ[X]) (j : ℕ) (hP : X^j ∣ P) : + X^j ∣ radialPolynomialEuler P := by + apply X_pow_dvd_iff.mpr + intro i hi + rw [radialPolynomialEuler_coeff,X_pow_dvd_iff.mp hP i hi,mul_zero] + +theorem radialPolynomial_factor_decay (P R : ℂ[X]) (j : ℕ) (hP : P=X^j*R) + (t : ℝ) (ht : 0 ≤ t) : + ‖radialExteriorPolynomialFunction P t‖ ≤ + ‖boundedRadialPolynomial R‖*Real.exp (-(2*(j : ℝ))*t) := by + have he : Real.exp (-2*t)^j=Real.exp (-(2*(j : ℝ))*t) := by + rw [← Real.exp_nat_mul] + congr 1 + ring + have hb : ‖radialExteriorPolynomialFunction R t‖ ≤ ‖boundedRadialPolynomial R‖ := by + rw [← boundedRadialPolynomial_nonneg R t ht] + exact (boundedRadialPolynomial R).norm_coe_le_norm t + simp only [radialExteriorPolynomialFunction,hP,eval_mul,eval_pow,eval_X,norm_mul, + norm_pow,Complex.norm_real,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + rw [he] + exact (mul_le_mul_of_nonneg_left hb (Real.exp_pos _).le).trans_eq (mul_comm _ _) + +theorem radialPolynomialJet_factor_decay (P : ℂ[X]) (j : ℕ) (hP : X^j ∣ P) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ t, 0 ≤ t → + ‖radialPolynomialJet P t‖ ≤ C*Real.exp (-(2*(j : ℝ))*t) := by + obtain ⟨R,hR⟩ := hP + obtain ⟨Q,hQ⟩ := radialPolynomialEuler_preserves_divisibility P j ⟨R,hR⟩ + refine ⟨‖boundedRadialPolynomial R‖+‖boundedRadialPolynomial Q‖,by positivity,?_⟩ + intro t ht + apply max_le + · exact (radialPolynomial_factor_decay P R j hR t ht).trans + (mul_le_mul_of_nonneg_right (le_add_of_nonneg_right (norm_nonneg _)) (Real.exp_pos _).le) + · exact (radialPolynomial_factor_decay (radialPolynomialEuler P) Q j hQ t ht).trans + (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left (norm_nonneg _)) (Real.exp_pos _).le) + +theorem radialExteriorExpansion_jet_difference_decay (ν : ℂ) (n : ℕ) (m : ℂ) + (j k : ℕ) (hjk : j ≤ k) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ t, 0 ≤ t → + ‖radialPolynomialJet (radialExteriorExpansion ν n m k) t- + radialPolynomialJet (radialExteriorExpansion ν n m j) t‖ ≤ + C*Real.exp (-(2*(j : ℝ))*t) := by + obtain ⟨C,hC,hbound⟩ := radialPolynomialJet_factor_decay + (radialExteriorExpansion ν n m k-radialExteriorExpansion ν n m j) j + (radialExteriorExpansion_difference_dvd ν n m j k hjk) + refine ⟨C,hC,?_⟩ + intro t ht + convert hbound t ht using 1 + congr 1 + apply Prod.ext <;> simp [radialPolynomialJet,radialExteriorPolynomialFunction, + radialPolynomialEuler,derivative_sub,mul_sub] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..5118f7f6ff582ba1adbe02995c0e5d15a2b7f425 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionEquation.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExpansion +import Mathlib.Analysis.Calculus.Deriv.Polynomial + +namespace OAI + +/-! The finite exterior expansion has the precise differential residual required by the tail equation. -/ + +open Polynomial +namespace DefocusingNLS + +noncomputable def radialExteriorPolynomialFunction (P : ℂ[X]) (t : ℝ) : ℂ := + P.eval (Real.exp (-2*t) : ℂ) + +theorem radialExteriorPolynomialFunction_hasDerivAt (P : ℂ[X]) (t : ℝ) : + HasDerivAt (radialExteriorPolynomialFunction P) + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t) t := by + have hx : HasDerivAt (fun s : ℝ => Real.exp (-2*s)) (-2*Real.exp (-2*t)) t := by + convert ((hasDerivAt_id t).const_mul (-2)).exp using 1 <;> simp [mul_comm] + have hp : HasDerivAt (fun x : ℝ => P.eval (x : ℂ)) + (P.derivative.eval (Real.exp (-2*t) : ℂ)) (Real.exp (-2*t)) := by + simpa only using! (P.hasDerivAt (Real.exp (-2*t) : ℂ)).comp_ofReal + have h := hp.scomp t hx + convert! h using 1 + simp only [radialExteriorPolynomialFunction,radialPolynomialEuler,eval_mul,eval_C,eval_X, + Complex.real_smul,Complex.ofReal_mul,Complex.ofReal_neg,Complex.ofReal_ofNat] + ring + +theorem radialPolynomialPower_eval (n : ℕ) (P : ℂ[X]) (x : ℝ) : + (radialPolynomialPower n P).eval (x : ℂ)=oddPowerNonlinearity n (P.eval (x : ℂ)) := by + have hc : (Polynomial.mapRingHom (starRingEnd ℂ) P).eval (x : ℂ) = + star (P.eval (x : ℂ)) := by + simpa only [Polynomial.coe_mapRingHom,Complex.star_def,Complex.conj_ofReal] using + (Polynomial.eval_map_apply (p := P) (starRingEnd ℂ) (x : ℂ)) + simp only [radialPolynomialPower,eval_mul,eval_pow,hc,oddPowerNonlinearity] + +theorem radialExteriorPolynomialResidual_equation (ν : ℂ) (n : ℕ) (P : ℂ[X]) (t : ℝ) : + radialExteriorPolynomialFunction (radialPolynomialEuler (radialPolynomialEuler P)) t+ + (2*ν+10)*radialExteriorPolynomialFunction (radialPolynomialEuler P) t+ + ν*(ν+10)*radialExteriorPolynomialFunction P t+ + Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPolynomialFunction (radialPolynomialEuler P) t- + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t) = + radialExteriorPolynomialFunction (radialExteriorPolynomialResidual ν n P) t := by + have he : Real.exp (2*t)*Real.exp (-2*t)=1 := by + rw [← Real.exp_add] + simp + have hei : (Real.exp (2*t) : ℂ)*(Real.exp (-2*t) : ℂ)=1 := by exact_mod_cast he + simp only [radialExteriorPolynomialFunction,radialExteriorPolynomialResidual,eval_add,eval_sub, + eval_mul,eval_C,radialPolynomialPower_eval] + simp only [radialPolynomialEuler,eval_mul,eval_C,eval_X] + simp only [Complex.ofReal_div,Complex.ofReal_ofNat] + linear_combination -Complex.I*P.derivative.eval (Real.exp (-2*t) : ℂ)*hei + +theorem radialExteriorPolynomialResidual_factor (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : + ∃ R : ℂ[X], ∀ t : ℝ, + radialExteriorPolynomialFunction + (radialExteriorPolynomialResidual ν n (radialExteriorExpansion ν n m j)) t = + (Real.exp (-(2*(j : ℝ))*t) : ℂ)*radialExteriorPolynomialFunction R t := by + obtain ⟨R,hR⟩ := radialExteriorExpansion_residual ν n m j + refine ⟨R,?_⟩ + intro t + simp only [radialExteriorPolynomialFunction,hR,eval_mul,eval_pow,eval_X] + congr 1 + rw [← Complex.ofReal_pow,← Real.exp_nat_mul] + congr 2 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..2463d0ee43ff6e434fdf1ffc0987a8f0b5301986 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExpansionLimit.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCoefficient +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolynomialPowerLimit + +namespace OAI + +/-! Large-power convergence of every fixed exterior expansion coefficient. -/ + +open Polynomial Filter +namespace DefocusingNLS + +theorem radialExteriorExpansion_coefficient_limit (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) (hm₀ : ‖m₀‖ < 1) + (j k : ℕ) : + Tendsto (fun n => (radialExteriorExpansion (ν n) n (m n) j).coeff k) atTop + (nhds ((radialFreeExpansion ν₀ m₀ j).coeff k)) := by + induction j generalizing k with + | zero => + simpa only [radialExteriorExpansion,radialFreeExpansion,coeff_C] using + (show Tendsto (fun n => if k=0 then m n else 0) atTop + (nhds (if k=0 then m₀ else 0)) from by split_ifs; exact hm; exact tendsto_const_nhds) + | succ j ih => + have hp : Tendsto (fun n => + (radialPolynomialPower n (radialExteriorExpansion (ν n) n (m n) j)).coeff j) + atTop (nhds 0) := by + apply radialPolynomialPower_coefficient_limit _ (radialFreeExpansion ν₀ m₀ j) j j + · exact Eventually.of_forall (fun n => radialExteriorExpansion_degree _ _ _ _) + · exact fun k _ => ih k + · simpa only [radialFreeExpansion_constant] using hm₀ + have hc := (((hν.sub_const (2*(j : ℂ))).mul + ((hν.add_const 10).sub_const (2*(j : ℂ)))).mul (ih j)).sub hp + have hdiv := hc.div_const (Complex.I*(j+1 : ℕ)) + simp only [sub_zero] at hdiv + simp only [radialExteriorExpansion_step,radialFreeExpansion,coeff_add,coeff_monomial] + by_cases hk : j+1=k + · simp only [hk,ite_true] + simpa only [hk] using (ih k).add hdiv + · simp only [hk,ite_false,add_zero] + exact ih k + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExtendedTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExtendedTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..7a3750f04a08e83c7651a039d66d1753b6a2cf43 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorExtendedTail.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteRemoval +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorHLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorSplice + +namespace OAI + +/-! The nonlinear outgoing family continued to a prescribed finite matching point. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_radialExterior_extended_tail (ν m : ℕ → ℂ) (q m₀ : ℂ) + (hq : -1 < q.re) (hν : Tendsto ν atTop (nhds (-2*q))) + (hm : Tendsto m atTop (nhds m₀)) (δ ρ l : ℝ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) (hρ : ρ < 1) + (hupper : ∀ t, l ≤ t → ‖(radialFreeSlowJet q m₀ t).1‖+2*δ ≤ ρ) + (hlower : ∀ t, l ≤ t → δ < ‖(radialFreeSlowJet q m₀ t).1‖) : + ∃ Z : ℕ → ℝ → ℂ × ℂ, + TendstoUniformlyOn Z (radialFreeSlowJet q m₀) atTop (Ici l) ∧ + (∀ n, Tendsto (Z n) atTop (nhds (m n,0))) ∧ + ∀ᶠ n in atTop, ∀ t, l ≤ t → (Z n t).1 ≠ 0 ∧ + HasDerivAt (Z n) + ((Z n t).2,-(2*ν n+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z n t).2- + ν n*(ν n+10)*(Z n t).1+oddPowerNonlinearity n (Z n t).1) t := by + obtain ⟨S,_,Y,hYconv,hYlim,_,hY⟩ := + exists_radialExterior_H_limit ν m q m₀ hq hν hm δ hδ hδm hsmall + let U := max S l + have hSU : S ≤ U := le_max_left _ _ + have hlU : l ≤ U := le_max_right _ _ + have hgc : Continuous (radialFreeSlowJet q m₀) := + (show Differentiable ℝ (radialFreeSlowJet q m₀) from + fun t => (radialFreeSlowJet_hasDerivAt q m₀ hq t).differentiableAt).continuous + obtain ⟨X,hX,hXconv,hXactual⟩ := exists_radialExterior_finite_limit ν (-2*q) hν + (radialFreeSlowJet q m₀) hgc δ ρ U (U-l) hδ (sub_nonneg.mpr hlU) hρ + (fun t ht => hupper t (by linarith [ht.1])) + (fun t ht => hlower t (by linarith [ht.1])) + (fun t _ => radialFreeSlowJet_hasDerivAt q m₀ hq t) + (fun n => Y n U) (hYconv.tendsto_at hSU) + let Z : ℕ → ℝ → ℂ × ℂ := fun n => radialExteriorSplice U (X n) (Y n) + have hXconv' : TendstoUniformlyOn X (radialFreeSlowJet q m₀) atTop (Icc l U) := by + simpa only [sub_sub_cancel] using hXconv + refine ⟨Z,radialExteriorSplice_uniform_limit l U X Y _ hXconv' + (hYconv.mono (fun t ht => hSU.trans ht)),?_,?_⟩ + · intro n + apply (hYlim n).congr' + filter_upwards [eventually_gt_atTop U] with t ht + simp only [Z,radialExteriorSplice,not_le.mpr ht,ite_false] + · filter_upwards [hY,hXactual] with n hnY hnX t ht + have hnn : (Z n t).1 ≠ 0 := by + by_cases h : t ≤ U + · simpa only [Z,radialExteriorSplice,ite_eq_left h] using + (hnX t ⟨by linarith,h⟩).1 + · simpa only [Z,radialExteriorSplice,ite_eq_right h] using + (hnY t (hSU.trans (not_le.mp h).le)).1 + refine ⟨hnn,?_⟩ + apply radialExteriorSplice_hasDerivAt U t (X n) (Y n) + (fun r z => (z.2,-(2*ν n+10+Complex.I*(Real.exp (2*r)/2 : ℝ))*z.2- + ν n*(ν n+10)*z.1+oddPowerNonlinearity n z.1)) + · intro h + exact (hnX t ⟨by linarith,h⟩).2 + · intro h + exact (hnY t (hSU.trans h)).2.1.prodMk (hnY t (hSU.trans h)).2.2 + · exact (hX n).2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFieldDifference.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFieldDifference.lean new file mode 100644 index 0000000000000000000000000000000000000000..9ffd9526b48e653a8928d5ed39c458b7855c0347 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFieldDifference.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorErrorField + +namespace OAI + +/-! Quantitative comparison with the linear exterior error field. -/ + +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialExteriorMatrixDifference (ν μ : ℂ) : ℝ := + ‖(2*ν+10)-(2*μ+10)‖+‖ν*(ν+10)-μ*(μ+10)‖ + +theorem radialExteriorErrorMatrix_difference (ν μ : ℂ) (z : ℂ × ℂ) : + ‖radialExteriorErrorMatrix ν z-radialExteriorErrorMatrix μ z‖ ≤ + radialExteriorMatrixDifference ν μ*‖z‖ := by + have he : radialExteriorErrorMatrix ν z-radialExteriorErrorMatrix μ z = + (0,-(((2*ν+10)-(2*μ+10))*z.2+(ν*(ν+10)-μ*(μ+10))*z.1)) := by + apply Prod.ext + · simp [radialExteriorErrorMatrix] + · change -((2*ν+10)*z.2+(ν*(ν+10))*z.1)- + (-((2*μ+10)*z.2+(μ*(μ+10))*z.1))=_ + ring + rw [he,Prod.norm_def,norm_zero,norm_neg,max_eq_right (norm_nonneg _)] + calc + _ ≤ ‖((2*ν+10)-(2*μ+10))*z.2‖+‖(ν*(ν+10)-μ*(μ+10))*z.1‖ := norm_add_le _ _ + _ = ‖(2*ν+10)-(2*μ+10)‖*‖z.2‖+‖ν*(ν+10)-μ*(μ+10)‖*‖z.1‖ := by rw [norm_mul,norm_mul] + _ ≤ ‖(2*ν+10)-(2*μ+10)‖*‖z‖+‖ν*(ν+10)-μ*(μ+10)‖*‖z‖ := by + gcongr + · exact norm_snd_le z + · exact norm_fst_le z + _ = _ := by unfold radialExteriorMatrixDifference; ring + +theorem radialExteriorErrorField_linear_difference (κ L : ℝ) (ν μ : ℂ) + (N : ℂ → ℂ) (hLip : ∀ z w, ‖N z-N w‖ ≤ L*‖z-w‖) (f : ℝ → ℂ) + (r s : ℝ →ᵇ ℂ × ℂ) (t : ℝ) (z : ℂ × ℂ) : + ‖radialExteriorErrorField κ ν N f r t z-(radialExteriorErrorMatrix μ z+s t)‖ ≤ + (radialExteriorMatrixDifference ν μ+L)*‖z‖+‖r-s‖ := by + have hL : 0 ≤ L := by + have h := hLip 1 0 + simp only [sub_zero,norm_one,mul_one] at h + exact (norm_nonneg _).trans h + have hinc : ‖radialExteriorWeightedIncrement κ N f t z.1‖ ≤ L*‖z‖ := by + have hb := radialExteriorWeightedIncrement_difference κ L N hLip f t z.1 0 + simp only [radialExteriorWeightedIncrement,mul_zero,add_zero,sub_self,mul_zero,sub_zero] at hb + exact hb.trans (mul_le_mul_of_nonneg_left (norm_fst_le z) hL) + have he : radialExteriorErrorField κ ν N f r t z-(radialExteriorErrorMatrix μ z+s t) = + (radialExteriorErrorMatrix ν z-radialExteriorErrorMatrix μ z)+ + (0,radialExteriorWeightedIncrement κ N f t z.1)+(r t-s t) := by + unfold radialExteriorErrorField + abel + rw [he] + calc + _ ≤ ‖radialExteriorErrorMatrix ν z-radialExteriorErrorMatrix μ z‖+ + ‖(0,radialExteriorWeightedIncrement κ N f t z.1)‖+‖r t-s t‖ := @norm_add₃_le _ _ _ _ _ + _ ≤ radialExteriorMatrixDifference ν μ*‖z‖+L*‖z‖+‖r-s‖ := by + apply add_le_add + · apply add_le_add (radialExteriorErrorMatrix_difference ν μ z) + simpa only [Prod.norm_def,norm_zero,max_eq_right (norm_nonneg _)] using hinc + · exact (r-s).norm_coe_le_norm t + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteContinuation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteContinuation.lean new file mode 100644 index 0000000000000000000000000000000000000000..109109f78aa5da96309003603e302eb4cdf98932 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteContinuation.lean @@ -0,0 +1,68 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFiniteExistence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteField + +namespace OAI + +/-! Backward finite-interval continuation of the actual clipped exterior equation. -/ + +open Set +namespace DefocusingNLS + +noncomputable def radialExteriorReverseField (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) + (hm : Continuous m) (δ u T : ℝ) : C((Icc (0 : ℝ) T) × (ℂ × ℂ),ℂ × ℂ) where + toFun x := -radialExteriorFiniteField ν n m δ (u-(x.1 : ℝ)) x.2 + continuous_toFun := ((radialExteriorFiniteField_continuous ν n m hm δ).comp + ((continuous_const.sub (continuous_subtype_val.comp continuous_fst)).prodMk continuous_snd)).neg + +@[simp] theorem radialExteriorReverseField_apply (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) + (hm : Continuous m) (δ u T : ℝ) (s : Icc (0 : ℝ) T) (z : ℂ × ℂ) : + radialExteriorReverseField ν n m hm δ u T (s,z)= + -radialExteriorFiniteField ν n m δ (u-(s : ℝ)) z := rfl + +theorem radialExteriorReverseField_lipschitz (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) + (hm : Continuous m) (δ ρ u T : ℝ) (hδ : 0 ≤ δ) + (hb : ∀ t ∈ Icc (u-T) u, ‖m t‖+2*δ ≤ ρ) + (s : Icc (0 : ℝ) T) (z w : ℂ × ℂ) : + ‖radialExteriorReverseField ν n m hm δ u T (s,z)- + radialExteriorReverseField ν n m hm δ u T (s,w)‖ ≤ + (radialExteriorMatrixBound ν+Real.exp (2*u)/2+2*(2*(n : ℝ)+1)*ρ^(2*n))*‖z-w‖ := by + have hs : u-(s : ℝ) ∈ Icc (u-T) u := by constructor <;> linarith [s.2.1,s.2.2] + have h := radialExteriorFiniteField_difference ν n m δ ρ (u-s) hδ (hb _ hs) z w + change ‖-radialExteriorFiniteField ν n m δ (u-s) z- + -radialExteriorFiniteField ν n m δ (u-s) w‖ ≤ _ + rw [neg_sub_neg,norm_sub_rev] + apply h.trans + apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) + have he : Real.exp (2*(u-(s : ℝ))) ≤ Real.exp (2*u) := Real.exp_le_exp.mpr (by linarith [s.2.1]) + linarith + +theorem exists_radialExterior_clipped_finite (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) + (hm : Continuous m) (δ ρ u T : ℝ) (hδ : 0 ≤ δ) (hT : 0 ≤ T) + (hb : ∀ t ∈ Icc (u-T) u, ‖m t‖+2*δ ≤ ρ) (x : ℂ × ℂ) : + ∃ Z : ℝ → ℂ × ℂ, Continuous Z ∧ Z u=x ∧ + ∀ t ∈ Icc (u-T) u, HasDerivAt Z (radialExteriorFiniteField ν n m δ t (Z t)) t := by + have hρ : 0 ≤ ρ := by + have h := hb u ⟨by linarith,le_rfl⟩ + exact (add_nonneg (norm_nonneg _) (mul_nonneg (by norm_num) hδ)).trans h + let K := radialExteriorMatrixBound ν+Real.exp (2*u)/2+2*(2*(n : ℝ)+1)*ρ^(2*n) + have hK : 0 ≤ K := by + dsimp [K] + have hB := (radialExteriorMatrixBound_pos ν).le + positivity + obtain ⟨α,hα,hinit,hd⟩ := exists_radial_finite_solution T hT + (radialExteriorReverseField ν n m hm δ u T) K hK + (radialExteriorReverseField_lipschitz ν n m hm δ ρ u T hδ hb) x + let Z : ℝ → ℂ × ℂ := fun t => α (u-t) + refine ⟨Z,hα.comp (continuous_const.sub continuous_id),?_,?_⟩ + · simpa only [Z,sub_self] using hinit + · intro t ht + have hr : u-t ∈ Icc (0 : ℝ) T := by constructor <;> linarith [ht.1,ht.2] + have h := (hd (u-t) hr).scomp t ((hasDerivAt_id t).const_sub u) + convert h using 1 + · rfl + · rw [neg_one_smul,radialExteriorReverseField_apply,neg_neg] + simp only [sub_sub_cancel,Z] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..71e49398cbd5b6df6a6b10bb721f758519e5abf8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteContinuity.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteParameter + +namespace OAI + +/-! Fixed-power continuity persists when the outgoing solution is continued backwards. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialExterior_finite_parameter_limit (n : ℕ) (ν : ℕ → ℂ) (μ : ℂ) + (hν : Tendsto ν atTop (nhds μ)) (m : ℝ → ℂ) (hm : Continuous m) + (δ ρ u T : ℝ) (hδ : 0 ≤ δ) (hT : 0 ≤ T) + (hb : ∀ t ∈ Icc (u-T) u, ‖m t‖+2*δ ≤ ρ) + (Z : ℕ → ℝ → ℂ × ℂ) (g : ℝ → ℂ × ℂ) + (hZc : ∀ i, Continuous (Z i)) (hgc : Continuous g) + (hZd : ∀ i t, t ∈ Icc (u-T) u → + HasDerivAt (Z i) (radialExteriorFiniteField (ν i) n m δ t (Z i t)) t) + (hgd : ∀ t ∈ Icc (u-T) u, + HasDerivAt g (radialExteriorFiniteField μ n m δ t (g t)) t) + (hx : Tendsto (fun i => Z i u) atTop (nhds (g u))) : + TendstoUniformlyOn Z g atTop (Icc (u-T) u) := by + obtain ⟨C,hC⟩ := (isCompact_Icc : IsCompact (Icc (u-T) u)).exists_bound_of_continuousOn + hgc.continuousOn + have hC0 : 0 ≤ C := (norm_nonneg (g u)).trans (hC u ⟨by linarith,le_rfl⟩) + have hρ0 : 0 ≤ ρ := (by positivity : 0 ≤ ‖m u‖+2*δ).trans (hb u ⟨by linarith,le_rfl⟩) + let L : ℕ → ℝ := fun i => radialExteriorMatrixBound (ν i)+Real.exp (2*u)/2+ + 2*(2*(n : ℝ)+1)*ρ^(2*n) + let K := radialExteriorMatrixBound μ+Real.exp (2*u)/2+2*(2*(n : ℝ)+1)*ρ^(2*n)+1 + have hK : 0 < K := by dsimp [K]; have := radialExteriorMatrixBound_pos μ; positivity + have hB : Tendsto (fun i => radialExteriorMatrixBound (ν i)) atTop + (nhds (radialExteriorMatrixBound μ)) := + (show Continuous radialExteriorMatrixBound by unfold radialExteriorMatrixBound; fun_prop).continuousAt.tendsto.comp hν + have hLK : ∀ᶠ i in atTop, L i ≤ K := by + have he := ((hB.add_const (Real.exp (2*u)/2)).add_const + (2*(2*(n : ℝ)+1)*ρ^(2*n))).eventually (gt_mem_nhds (show + radialExteriorMatrixBound μ+Real.exp (2*u)/2+2*(2*(n : ℝ)+1)*ρ^(2*n) < K by + dsimp [K]; linarith)) + exact he.mono (fun i hi => hi.le) + let ε := fun i => radialExteriorMatrixDifference (ν i) μ*C + have hε : Tendsto ε atTop (nhds 0) := by + have hc : Continuous (fun v => radialExteriorMatrixDifference v μ) := by + unfold radialExteriorMatrixDifference + fun_prop + have hh := (hc.continuousAt.tendsto.comp hν).mul_const C + simpa only [ε,radialExteriorMatrixDifference,sub_self,norm_zero,zero_add,zero_mul] using! hh + let F := fun i s => Z i (u-s) + let F' := fun i s => -radialExteriorFiniteField (ν i) n m δ (u-s) (Z i (u-s)) + let G := fun s => g (u-s) + let G' := fun s => -radialExteriorFiniteField μ n m δ (u-s) (g (u-s)) + have htime (s : ℝ) (hs : s ∈ Icc 0 T) : u-s ∈ Icc (u-T) u := by + constructor <;> linarith [hs.1,hs.2] + have hFd : ∀ i s, s ∈ Icc 0 T → HasDerivAt (F i) (F' i s) s := by + intro i s hs + simpa only [F,F',neg_one_smul] using! + (hZd i (u-s) (htime s hs)).scomp s ((hasDerivAt_id s).const_sub u) + have hGd : ∀ s, s ∈ Icc 0 T → HasDerivAt G (G' s) s := by + intro s hs + simpa only [G,G',neg_one_smul] using! + (hgd (u-s) (htime s hs)).scomp s ((hasDerivAt_id s).const_sub u) + have hbound : ∀ᶠ i in atTop, 0 ≤ ε i ∧ + ∀ s ∈ Icc 0 T, ‖F' i s-G' s‖ ≤ K*‖F i s-G s‖+ε i := by + filter_upwards [hLK] with i hi + refine ⟨by dsimp [ε,radialExteriorMatrixDifference]; positivity,?_⟩ + intro s hs + have hr := htime s hs + have hpar := radialExteriorFiniteField_parameter_difference (ν i) μ n m δ (u-s) (g (u-s)) + have hlip := radialExteriorReverseField_lipschitz (ν i) n m hm δ ρ u T hδ hb + ⟨s,hs⟩ (Z i (u-s)) (g (u-s)) + have hlip' : ‖radialExteriorFiniteField (ν i) n m δ (u-s) (Z i (u-s))- + radialExteriorFiniteField (ν i) n m δ (u-s) (g (u-s))‖ ≤ + L i*‖Z i (u-s)-g (u-s)‖ := by + simpa only [radialExteriorReverseField_apply,neg_sub_neg,norm_sub_rev,L] using hlip + change ‖-radialExteriorFiniteField (ν i) n m δ (u-s) (Z i (u-s))- + -radialExteriorFiniteField μ n m δ (u-s) (g (u-s))‖ ≤ _ + rw [neg_sub_neg,norm_sub_rev] + calc + _ ≤ ‖radialExteriorFiniteField (ν i) n m δ (u-s) (Z i (u-s))- + radialExteriorFiniteField (ν i) n m δ (u-s) (g (u-s))‖+ + ‖radialExteriorFiniteField (ν i) n m δ (u-s) (g (u-s))- + radialExteriorFiniteField μ n m δ (u-s) (g (u-s))‖ := by + simpa only [dist_eq_norm] using dist_triangle + (radialExteriorFiniteField (ν i) n m δ (u-s) (Z i (u-s))) + (radialExteriorFiniteField (ν i) n m δ (u-s) (g (u-s))) + (radialExteriorFiniteField μ n m δ (u-s) (g (u-s))) + _ ≤ L i*‖Z i (u-s)-g (u-s)‖+radialExteriorMatrixDifference (ν i) μ*‖g (u-s)‖ := + add_le_add hlip' hpar + _ ≤ _ := add_le_add (mul_le_mul_of_nonneg_right hi (norm_nonneg _)) + (mul_le_mul_of_nonneg_left (hC _ hr) (by unfold radialExteriorMatrixDifference; positivity)) + have hu := radial_finite_uniform_limit T K hK F F' G G' ε hε + (by simpa only [F,G,sub_zero] using hx) + (fun i => ((hZc i).comp (continuous_const.sub continuous_id)).continuousOn) + (hgc.comp (continuous_const.sub continuous_id)).continuousOn hFd hGd hbound + rw [Metric.tendstoUniformlyOn_iff] at hu ⊢ + intro η hη + filter_upwards [hu η hη] with i hi t ht + have hs : u-t ∈ Icc (0 : ℝ) T := by constructor <;> linarith [ht.1,ht.2] + simpa only [F,G,sub_sub_cancel] using hi (u-t) hs + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteField.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteField.lean new file mode 100644 index 0000000000000000000000000000000000000000..5aa83f8b3c109eb279949427acbf99083795249a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteField.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCutoff +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFieldDifference + +namespace OAI + +/-! A global clipped vector field around the free exterior path on a finite interval. -/ + +namespace DefocusingNLS + +noncomputable def radialExteriorFiniteField (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) (δ : ℝ) + (t : ℝ) (z : ℂ × ℂ) : ℂ × ℂ := + (0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*z.2)+radialExteriorErrorMatrix ν z+ + (0,radialExteriorCutoffPower n (m t) δ z.1) + +theorem radialExteriorFiniteField_continuous (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) + (hm : Continuous m) (δ : ℝ) : + Continuous (Function.uncurry (radialExteriorFiniteField ν n m δ)) := by + unfold radialExteriorFiniteField radialExteriorCutoffPower oddPowerNonlinearity + radialComplexClamp radialAmplitudeClamp Function.uncurry + fun_prop + +theorem radialExteriorFiniteField_eq (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) (δ t : ℝ) + (z : ℂ × ℂ) (hz : ‖z.1-m t‖ ≤ δ) : + radialExteriorFiniteField ν n m δ t z= + (z.2,-(2*ν+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*z.2- + ν*(ν+10)*z.1+oddPowerNonlinearity n z.1) := by + rw [radialExteriorFiniteField,radialExteriorCutoffPower_eq n (m t) δ z.1 hz] + apply Prod.ext + all_goals simp [radialExteriorErrorMatrix] + ring + +theorem radialExteriorFiniteField_difference (ν : ℂ) (n : ℕ) (m : ℝ → ℂ) + (δ ρ t : ℝ) (hδ : 0 ≤ δ) (hρ : ‖m t‖+2*δ ≤ ρ) (z w : ℂ × ℂ) : + ‖radialExteriorFiniteField ν n m δ t z-radialExteriorFiniteField ν n m δ t w‖ ≤ + (radialExteriorMatrixBound ν+Real.exp (2*t)/2+ + 2*(2*(n : ℝ)+1)*ρ^(2*n))*‖z-w‖ := by + have hρ0 : 0 ≤ ρ := (by positivity : 0 ≤ ‖m t‖+2*δ).trans hρ + have hsplit : radialExteriorFiniteField ν n m δ t z-radialExteriorFiniteField ν n m δ t w= + radialExteriorErrorMatrix ν (z-w)+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(z-w).2)+ + (0,radialExteriorCutoffPower n (m t) δ z.1-radialExteriorCutoffPower n (m t) δ w.1) := by + rw [map_sub] + apply Prod.ext + all_goals simp [radialExteriorFiniteField] + ring + have hd : ‖((0 : ℂ),-Complex.I*(Real.exp (2*t)/2 : ℝ)*(z-w).2)‖ ≤ + Real.exp (2*t)/2*‖z-w‖ := by + rw [Prod.norm_def,norm_zero,max_eq_right (norm_nonneg _)] + simp only [norm_mul,norm_neg,Complex.norm_I,one_mul, + Complex.norm_real,Real.norm_eq_abs] + rw [abs_of_pos (by positivity)] + exact mul_le_mul_of_nonneg_left (norm_snd_le (z-w)) (by positivity) + have hn : ‖((0 : ℂ),radialExteriorCutoffPower n (m t) δ z.1- + radialExteriorCutoffPower n (m t) δ w.1)‖ ≤ 2*(2*(n : ℝ)+1)*ρ^(2*n)*‖z-w‖ := by + simp only [Prod.norm_def,norm_zero,max_eq_right (norm_nonneg _)] + apply (radialExteriorCutoffPower_difference n (m t) δ hδ z.1 w.1).trans + apply mul_le_mul + · exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (by positivity) hρ _) (by positivity) + · exact norm_fst_le (z-w) + · positivity + · positivity + rw [hsplit] + calc + _ ≤ ‖radialExteriorErrorMatrix ν (z-w)‖+ + ‖((0 : ℂ),-Complex.I*(Real.exp (2*t)/2 : ℝ)*(z-w).2)‖+ + ‖((0 : ℂ),radialExteriorCutoffPower n (m t) δ z.1-radialExteriorCutoffPower n (m t) δ w.1)‖ := + @norm_add₃_le (ℂ × ℂ) _ _ _ _ + _ ≤ radialExteriorMatrixBound ν*‖z-w‖+Real.exp (2*t)/2*‖z-w‖+ + 2*(2*(n : ℝ)+1)*ρ^(2*n)*‖z-w‖ := add_le_add (add_le_add (radialExteriorErrorMatrix_norm ν (z-w)) hd) hn + _ = _ := by ring + + +theorem radialExteriorFiniteField_linear_difference (ν μ : ℂ) (n : ℕ) (m : ℝ → ℂ) + (δ ρ t : ℝ) (hδ : 0 ≤ δ) (hρ : ‖m t‖+2*δ ≤ ρ) (z : ℂ × ℂ) : + ‖radialExteriorFiniteField ν n m δ t z- + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*z.2)+radialExteriorErrorMatrix μ z)‖ ≤ + radialExteriorMatrixDifference ν μ*‖z‖+ρ^(2*n+1) := by + have he : radialExteriorFiniteField ν n m δ t z- + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*z.2)+radialExteriorErrorMatrix μ z)= + (radialExteriorErrorMatrix ν z-radialExteriorErrorMatrix μ z)+ + (0,radialExteriorCutoffPower n (m t) δ z.1) := by + unfold radialExteriorFiniteField + abel + rw [he] + apply (norm_add_le _ _).trans + apply add_le_add (radialExteriorErrorMatrix_difference ν μ z) + rw [Prod.norm_def,norm_zero,max_eq_right (norm_nonneg _)] + simp only [radialExteriorCutoffPower,radial_oddPower_norm] + exact pow_le_pow_left₀ (norm_nonneg _) + ((radialComplexClamp_bound (m t) δ hδ z.1).trans hρ) _ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..22554993fbbfa5cea530e13443651b749798b217 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteLimit.lean @@ -0,0 +1,123 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteContinuation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFiniteStability + +namespace OAI + +/-! Uniform convergence of the finite-interval continuation to its free reference. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_radialExterior_clipped_limit (ν : ℕ → ℂ) (μ : ℂ) + (hν : Tendsto ν atTop (nhds μ)) (g : ℝ → ℂ × ℂ) (hg : Continuous g) + (δ ρ u T : ℝ) (hδ : 0 ≤ δ) (hT : 0 ≤ T) (hρ1 : ρ < 1) + (hb : ∀ t ∈ Icc (u-T) u, ‖(g t).1‖+2*δ ≤ ρ) + (hgd : ∀ t ∈ Icc (u-T) u, HasDerivAt g + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(g t).2)+radialExteriorErrorMatrix μ (g t)) t) + (x : ℕ → ℂ × ℂ) (hx : Tendsto x atTop (nhds (g u))) : + ∃ Z : ℕ → ℝ → ℂ × ℂ, + (∀ n, Continuous (Z n) ∧ Z n u=x n ∧ ∀ t ∈ Icc (u-T) u, + HasDerivAt (Z n) (radialExteriorFiniteField (ν n) n (fun r => (g r).1) δ t (Z n t)) t) ∧ + TendstoUniformlyOn Z g atTop (Icc (u-T) u) := by + have hgc : Continuous (fun t => (g t).1) := continuous_fst.comp hg + have hρ : 0 ≤ ρ := (by positivity : 0 ≤ ‖(g u).1‖+2*δ).trans (hb u ⟨by linarith,le_rfl⟩) + choose Z hZ using (fun n => exists_radialExterior_clipped_finite (ν n) n + (fun t => (g t).1) hgc δ ρ u T hδ hT hb (x n)) + refine ⟨Z,hZ,?_⟩ + obtain ⟨C,hC⟩ := (isCompact_Icc : IsCompact (Icc (u-T) u)).exists_bound_of_continuousOn hg.continuousOn + have hC0 : 0 ≤ C := (norm_nonneg (g u)).trans (hC u ⟨by linarith,le_rfl⟩) + let L : ℕ → ℝ := fun n => radialExteriorMatrixBound (ν n)+Real.exp (2*u)/2+ + 2*(2*(n : ℝ)+1)*ρ^(2*n) + let K := radialExteriorMatrixBound μ+Real.exp (2*u)/2+1 + have hK : 0 < K := by dsimp [K]; have := radialExteriorMatrixBound_pos μ; positivity + have hB : Tendsto (fun n => radialExteriorMatrixBound (ν n)) atTop (nhds (radialExteriorMatrixBound μ)) := + (show Continuous radialExteriorMatrixBound by unfold radialExteriorMatrixBound; fun_prop).continuousAt.tendsto.comp hν + have hL : Tendsto L atTop (nhds (radialExteriorMatrixBound μ+Real.exp (2*u)/2)) := by + convert (hB.add_const (Real.exp (2*u)/2)).add + ((radial_oddPower_lipschitz_tendsto ρ hρ hρ1).const_mul 2) using 1 + · funext n; dsimp [L]; ring + · ring_nf + have hLK : ∀ᶠ n in atTop, L n ≤ K := + (hL.eventually (gt_mem_nhds (by dsimp [K]; linarith))).mono (fun _ h => h.le) + let ε : ℕ → ℝ := fun n => radialExteriorMatrixDifference (ν n) μ*C+ρ^(2*n+1) + have hM : Tendsto (fun n => radialExteriorMatrixDifference (ν n) μ) atTop (nhds 0) := by + have hc : Continuous (fun v => radialExteriorMatrixDifference v μ) := by + unfold radialExteriorMatrixDifference + fun_prop + have ht : Tendsto (fun n => radialExteriorMatrixDifference (ν n) μ) atTop + (nhds (radialExteriorMatrixDifference μ μ)) := hc.continuousAt.tendsto.comp hν + simpa only [radialExteriorMatrixDifference,sub_self,norm_zero,zero_add] using ht + + have hpow : Tendsto (fun n : ℕ => ρ^(2*n+1)) atTop (nhds 0) := by + have h := (tendsto_pow_atTop_nhds_zero_of_lt_one (sq_nonneg ρ) + (pow_lt_one₀ hρ hρ1 (by decide : 2 ≠ 0))).mul_const ρ + convert h using 1 + · funext n; rw [pow_succ,← pow_mul] + · simp + have hε : Tendsto ε atTop (nhds 0) := by + simpa only [ε,zero_mul,zero_add] using (hM.mul_const C).add hpow + let f : ℕ → ℝ → ℂ × ℂ := fun n s => Z n (u-s) + let f' : ℕ → ℝ → ℂ × ℂ := fun n s => + -radialExteriorFiniteField (ν n) n (fun r => (g r).1) δ (u-s) (Z n (u-s)) + let G : ℝ → ℂ × ℂ := fun s => g (u-s) + let G' : ℝ → ℂ × ℂ := fun s => + -((0,-Complex.I*(Real.exp (2*(u-s))/2 : ℝ)*(g (u-s)).2)+radialExteriorErrorMatrix μ (g (u-s))) + have htime (s : ℝ) (hs : s ∈ Icc 0 T) : u-s ∈ Icc (u-T) u := by + constructor <;> linarith [hs.1,hs.2] + have hfd : ∀ n s, s ∈ Icc 0 T → HasDerivAt (f n) (f' n s) s := by + intro n s hs + simpa only [f,f',neg_one_smul] using! + ((hZ n).2.2 (u-s) (htime s hs)).scomp s ((hasDerivAt_id s).const_sub u) + have hGd : ∀ s, s ∈ Icc 0 T → HasDerivAt G (G' s) s := by + intro s hs + simpa only [G,G',neg_one_smul] using! + (hgd (u-s) (htime s hs)).scomp s ((hasDerivAt_id s).const_sub u) + have hinit : Tendsto (fun n => f n 0) atTop (nhds (G 0)) := by + simpa only [f,G,sub_zero,(hZ _).2.1] using hx + have hbound : ∀ᶠ n in atTop, 0 ≤ ε n ∧ + ∀ s ∈ Icc 0 T, ‖f' n s-G' s‖ ≤ K*‖f n s-G s‖+ε n := by + filter_upwards [hLK] with n hn + refine ⟨by dsimp [ε,radialExteriorMatrixDifference]; positivity,?_⟩ + intro s hs + have hr := htime s hs + have hlin := radialExteriorFiniteField_linear_difference (ν n) μ n (fun r => (g r).1) + δ ρ (u-s) hδ (hb _ hr) (g (u-s)) + have hlip := radialExteriorReverseField_lipschitz (ν n) n (fun r => (g r).1) hgc + δ ρ u T hδ hb ⟨s,hs⟩ (Z n (u-s)) (g (u-s)) + change ‖-radialExteriorFiniteField (ν n) n (fun r => (g r).1) δ (u-s) (Z n (u-s))- + -((0,-Complex.I*(Real.exp (2*(u-s))/2 : ℝ)*(g (u-s)).2)+radialExteriorErrorMatrix μ (g (u-s)))‖ ≤ _ + rw [neg_sub_neg,norm_sub_rev] + have hlip' : ‖radialExteriorFiniteField (ν n) n (fun r => (g r).1) δ (u-s) (Z n (u-s))- + radialExteriorFiniteField (ν n) n (fun r => (g r).1) δ (u-s) (g (u-s))‖ ≤ + L n*‖Z n (u-s)-g (u-s)‖ := by + simpa only [radialExteriorReverseField_apply,neg_sub_neg,norm_sub_rev,L] using hlip + let A : (ℂ × ℂ) → ℂ × ℂ := radialExteriorFiniteField (ν n) n (fun r => (g r).1) δ (u-s) + let v : ℂ × ℂ := (0,-Complex.I*(Real.exp (2*(u-s))/2 : ℝ)*(g (u-s)).2)+ + radialExteriorErrorMatrix μ (g (u-s)) + calc + _ ≤ ‖A (Z n (u-s))-A (g (u-s))‖+‖A (g (u-s))-v‖ := by + simpa only [dist_eq_norm] using dist_triangle (A (Z n (u-s))) (A (g (u-s))) v + _ ≤ L n*‖Z n (u-s)-g (u-s)‖+ + (radialExteriorMatrixDifference (ν n) μ*‖g (u-s)‖+ρ^(2*n+1)) := + add_le_add hlip' hlin + _ ≤ _ := by + apply add_le_add + · exact mul_le_mul_of_nonneg_right hn (norm_nonneg _) + · dsimp [ε] + have hM0 : 0 ≤ radialExteriorMatrixDifference (ν n) μ := by + unfold radialExteriorMatrixDifference + positivity + exact add_le_add (mul_le_mul_of_nonneg_left (hC _ hr) hM0) le_rfl + + have hu := radial_finite_uniform_limit T K hK f f' G G' ε hε hinit + (fun n => ((hZ n).1.comp (continuous_const.sub continuous_id)).continuousOn) + (hg.comp (continuous_const.sub continuous_id)).continuousOn hfd hGd hbound + rw [Metric.tendstoUniformlyOn_iff] at hu ⊢ + intro r hr + filter_upwards [hu r hr] with n hn t ht + have hs : u-t ∈ Icc (0 : ℝ) T := by constructor <;> linarith [ht.1,ht.2] + simpa only [f,G,sub_sub_cancel] using hn (u-t) hs + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteParameter.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteParameter.lean new file mode 100644 index 0000000000000000000000000000000000000000..a33a0fd9253c01381d6b57c917686532bbbb5efe --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteParameter.lean @@ -0,0 +1,22 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteLimit + +namespace OAI + +/-! Parameter perturbations of the actual fixed-power finite exterior equation. -/ + +namespace DefocusingNLS + +theorem radialExteriorFiniteField_parameter_difference (ν μ : ℂ) (n : ℕ) + (m : ℝ → ℂ) (δ t : ℝ) (z : ℂ × ℂ) : + ‖radialExteriorFiniteField ν n m δ t z-radialExteriorFiniteField μ n m δ t z‖ ≤ + radialExteriorMatrixDifference ν μ*‖z‖ := by + have he : radialExteriorFiniteField ν n m δ t z-radialExteriorFiniteField μ n m δ t z = + radialExteriorErrorMatrix ν z-radialExteriorErrorMatrix μ z := by + unfold radialExteriorFiniteField + abel + rw [he] + exact radialExteriorErrorMatrix_difference ν μ z + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteRemoval.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteRemoval.lean new file mode 100644 index 0000000000000000000000000000000000000000..b30c8f1a40eb42b3c03a5fee3ff1f5351cb52d2e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFiniteRemoval.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteLimit + +namespace OAI + +/-! Removal of the finite-interval cutoff around the actual nonzero free profile. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_radialExterior_finite_limit (ν : ℕ → ℂ) (μ : ℂ) + (hν : Tendsto ν atTop (nhds μ)) (g : ℝ → ℂ × ℂ) (hg : Continuous g) + (δ ρ u T : ℝ) (hδ : 0 < δ) (hT : 0 ≤ T) (hρ1 : ρ < 1) + (hb : ∀ t ∈ Icc (u-T) u, ‖(g t).1‖+2*δ ≤ ρ) + (hlow : ∀ t ∈ Icc (u-T) u, δ < ‖(g t).1‖) + (hgd : ∀ t ∈ Icc (u-T) u, HasDerivAt g + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(g t).2)+radialExteriorErrorMatrix μ (g t)) t) + (x : ℕ → ℂ × ℂ) (hx : Tendsto x atTop (nhds (g u))) : + ∃ Z : ℕ → ℝ → ℂ × ℂ, + (∀ n, Continuous (Z n) ∧ Z n u=x n) ∧ + TendstoUniformlyOn Z g atTop (Icc (u-T) u) ∧ + ∀ᶠ n in atTop, ∀ t ∈ Icc (u-T) u, (Z n t).1 ≠ 0 ∧ + HasDerivAt (Z n) + ((Z n t).2,-(2*ν n+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z n t).2- + ν n*(ν n+10)*(Z n t).1+oddPowerNonlinearity n (Z n t).1) t := by + obtain ⟨Z,hZ,hconv⟩ := exists_radialExterior_clipped_limit ν μ hν g hg + δ ρ u T hδ.le hT hρ1 hb hgd x hx + refine ⟨Z,fun n => ⟨(hZ n).1,(hZ n).2.1⟩,hconv,?_⟩ + filter_upwards [(Metric.tendstoUniformlyOn_iff.mp hconv) δ hδ] with n hn t ht + have hdist := hn t ht + rw [dist_comm,dist_eq_norm] at hdist + have hc : ‖(Z n t).1-(g t).1‖ < δ := + (norm_fst_le (Z n t-g t)).trans_lt hdist + have hne : (Z n t).1 ≠ 0 := by + intro he + rw [he,zero_sub,norm_neg] at hc + exact ((hlow t ht).trans hc).false + refine ⟨hne,?_⟩ + have hd := (hZ n).2.2 t ht + rwa [radialExteriorFiniteField_eq (ν n) n (fun r => (g r).1) δ t (Z n t) hc.le] at hd + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFixedContinuation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFixedContinuation.lean new file mode 100644 index 0000000000000000000000000000000000000000..52e2045022aa47427ec04b4abf00afc93a45b387 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFixedContinuation.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCanonical + +namespace OAI + +/-! Fixed-power finite continuation near a nonvanishing reference solution. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_radialExterior_fixed_continuation (n : ℕ) (ν : ℕ → ℂ) (μ : ℂ) + (hν : Tendsto ν atTop (nhds μ)) (g : ℝ → ℂ × ℂ) (hg : Continuous g) + (l u : ℝ) (hlu : l ≤ u) + (hgn : ∀ t ∈ Icc l u, (g t).1 ≠ 0) + (hgd : ∀ t ∈ Icc l u, HasDerivAt g (radialExteriorODEField μ n t (g t)) t) + (x : ℕ → ℂ × ℂ) (hx : Tendsto x atTop (nhds (g u))) : + ∃ X : ℕ → ℝ → ℂ × ℂ, + (∀ i, Continuous (X i) ∧ X i u=x i) ∧ + TendstoUniformlyOn X g atTop (Icc l u) ∧ + ∀ᶠ i in atTop, ∀ t ∈ Icc l u, (X i t).1 ≠ 0 ∧ + HasDerivAt (X i) (radialExteriorODEField (ν i) n t (X i t)) t := by + have hgc : Continuous (fun t => ‖(g t).1‖) := hg.fst.norm + obtain ⟨t₀,ht₀,hmin⟩ := (isCompact_Icc : IsCompact (Icc l u)).exists_isMinOn + (nonempty_Icc.mpr hlu) hgc.continuousOn + let δ := ‖(g t₀).1‖/2 + have hδ : 0 < δ := half_pos (norm_pos_iff.mpr (hgn t₀ ht₀)) + have hlow : ∀ t ∈ Icc l u, δ < ‖(g t).1‖ := by + intro t ht + have hh : ‖(g t₀).1‖ ≤ ‖(g t).1‖ := hmin ht + dsimp [δ] + linarith [norm_pos_iff.mpr (hgn t₀ ht₀)] + obtain ⟨C,hC⟩ := (isCompact_Icc : IsCompact (Icc l u)).exists_bound_of_continuousOn + hg.fst.continuousOn + let ρ := C+2*δ + have hb : ∀ t ∈ Icc (u-(u-l)) u, ‖(g t).1‖+2*δ ≤ ρ := by + intro t ht + have ht' : t ∈ Icc l u := by simpa only [sub_sub_cancel] using ht + exact add_le_add (hC t ht') le_rfl + have hex (i : ℕ) := exists_radialExterior_clipped_finite (ν i) n (fun t => (g t).1) + hg.fst δ ρ u (u-l) hδ.le (sub_nonneg.mpr hlu) hb (x i) + choose X hXc hXu hXd using hex + have hgd' : ∀ t ∈ Icc (u-(u-l)) u, HasDerivAt g + (radialExteriorFiniteField μ n (fun r => (g r).1) δ t (g t)) t := by + intro t ht + rw [radialExteriorFiniteField_eq μ n (fun r => (g r).1) δ t (g t) + (by simpa only [sub_self,norm_zero] using hδ.le)] + exact hgd t (by simpa only [sub_sub_cancel] using ht) + have hc := radialExterior_finite_parameter_limit n ν μ hν (fun t => (g t).1) hg.fst + δ ρ u (u-l) hδ.le (sub_nonneg.mpr hlu) hb X g hXc hg hXd hgd' + (by simpa only [hXu] using hx) + have hc' : TendstoUniformlyOn X g atTop (Icc l u) := by + simpa only [sub_sub_cancel] using hc + refine ⟨X,fun i => ⟨hXc i,hXu i⟩,hc',?_⟩ + filter_upwards [(Metric.tendstoUniformlyOn_iff.mp hc') δ hδ] with i hi t ht + have hd := hi t ht + rw [dist_comm,dist_eq_norm] at hd + have hfirst : ‖(X i t).1-(g t).1‖ < δ := (norm_fst_le (X i t-g t)).trans_lt hd + refine ⟨?_,?_⟩ + · intro he + rw [he,zero_sub,norm_neg] at hfirst + exact ((hlow t ht).trans hfirst).false + · have hh := hXd i t (by simpa only [sub_sub_cancel] using ht) + rwa [radialExteriorFiniteField_eq (ν i) n (fun r => (g r).1) δ t (X i t) hfirst.le] at hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFreeCorrection.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFreeCorrection.lean new file mode 100644 index 0000000000000000000000000000000000000000..9e27b0c343af408bf2abc9a9a3a98ef203cc8bff --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFreeCorrection.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorBoundedFamily +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCorrection + +namespace OAI + +/-! The free limiting correction satisfies the actual linear slow equation. -/ + +open Polynomial +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExteriorLinearResidual_equation (ν : ℂ) (P : ℂ[X]) (t : ℝ) : + radialExteriorPolynomialFunction (radialPolynomialEuler (radialPolynomialEuler P)) t+ + (2*ν+10)*radialExteriorPolynomialFunction (radialPolynomialEuler P) t+ + ν*(ν+10)*radialExteriorPolynomialFunction P t+ + Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPolynomialFunction (radialPolynomialEuler P) t = + radialExteriorPolynomialFunction (radialExteriorLinearResidual ν P) t := by + have h := radialExteriorPolynomialResidual_equation ν 0 P t + have hp : radialExteriorPolynomialResidual ν 0 P=radialExteriorLinearResidual ν P-P := by + simp only [radialExteriorPolynomialResidual_eq,radialPolynomialPower,Nat.reduceAdd,pow_zero,pow_one,mul_one] + rw [hp] at h + have he : radialExteriorPolynomialFunction (radialExteriorLinearResidual ν P-P) t = + radialExteriorPolynomialFunction (radialExteriorLinearResidual ν P) t- + radialExteriorPolynomialFunction P t := by + simp only [radialExteriorPolynomialFunction,eval_sub] + rw [he] at h + simp only [oddPowerNonlinearity,pow_zero,mul_one] at h + linear_combination h + +theorem radialExterior_linear_corrected_jet (ν : ℂ) (P : ℂ[X]) + (Y : ℝ → ℂ × ℂ) (t : ℝ) + (hY : HasDerivAt Y + ((Y t).2,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Y t).2-(2*ν+10)*(Y t).2- + ν*(ν+10)*(Y t).1-radialExteriorPolynomialFunction (radialExteriorLinearResidual ν P) t) t) : + HasDerivAt (fun s => radialExteriorPolynomialFunction P s+(Y s).1) + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2) t ∧ + HasDerivAt (fun s => radialExteriorPolynomialFunction (radialPolynomialEuler P) s+(Y s).2) + (-(2*ν+10+Complex.I*(Real.exp (2*t)/2 : ℝ))* + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2)- + ν*(ν+10)*(radialExteriorPolynomialFunction P t+(Y t).1)) t := by + have hY1 : HasDerivAt (fun s => (Y s).1) (Y t).2 t := + (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hY + have hY2 := (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hY + refine ⟨(radialExteriorPolynomialFunction_hasDerivAt P t).add hY1,?_⟩ + apply ((radialExteriorPolynomialFunction_hasDerivAt (radialPolynomialEuler P) t).add hY2).congr_deriv + change radialExteriorPolynomialFunction (radialPolynomialEuler (radialPolynomialEuler P)) t+ + (-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Y t).2-(2*ν+10)*(Y t).2- + ν*(ν+10)*(Y t).1-radialExteriorPolynomialFunction (radialExteriorLinearResidual ν P) t) = _ + linear_combination radialExteriorLinearResidual_equation ν P t + +theorem radialExterior_free_tail_from_correction (ν : ℂ) (T : ℝ) (j : ℕ) + (P R : ℂ[X]) (hR : radialExteriorLinearResidual ν P=X^j*R) + (v : ℝ →ᵇ ℂ × ℂ) (t : ℝ) (ht : T ≤ t) + (hv : HasDerivAt (fun s => v s) + ((2*(j : ℝ)) • v t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2)+ + radialExteriorErrorMatrix ν (v t)+boundedRadialResidualAfter T R t) t) : + let Y := radialExteriorUnweight (2*(j : ℝ)) v + HasDerivAt (fun s => radialExteriorPolynomialFunction P s+(Y s).1) + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2) t ∧ + HasDerivAt (fun s => radialExteriorPolynomialFunction (radialPolynomialEuler P) s+(Y s).2) + (-(2*ν+10+Complex.I*(Real.exp (2*t)/2 : ℝ))* + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2)- + ν*(ν+10)*(radialExteriorPolynomialFunction P t+(Y t).1)) t := by + intro Y + have hv' : HasDerivAt (fun s => v s) + ((2*(j : ℝ)) • v t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2)+ + radialExteriorErrorMatrix ν (v t)+ + (0,radialExteriorWeightedIncrement (2*(j : ℝ)) (fun _ => 0) (fun _ => 0) t (v t).1)+ + boundedRadialResidualAfter T R t) t := by + simpa only [radialExteriorWeightedIncrement,sub_self,mul_zero,Prod.mk_zero_zero,add_zero] using hv + have hyt := radialExteriorUnweight_hasDerivAt (2*(j : ℝ)) t ν + (fun _ => 0) (fun _ => 0) (boundedRadialResidualAfter T R) v hv' + change HasDerivAt Y _ t at hyt + simp only [sub_self,Prod.mk_zero_zero,add_zero] at hyt + rw [boundedRadialResidualAfter_factor T _ R j hR t ht] at hyt + apply radialExterior_linear_corrected_jet ν P Y t + apply hyt.congr_deriv + apply Prod.ext <;> simp [radialExteriorErrorMatrix] <;> ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFreeUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFreeUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..bbad4e25262adb45ba8e324c110c063c740aa734 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorFreeUniqueness.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTerminalUniqueness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorErrorField + +namespace OAI + +/-! The outgoing asymptotic expansion uniquely selects the free exterior solution. -/ + +open Set +namespace DefocusingNLS + +theorem radialExteriorPhase_second_hasDerivAt (s t : ℝ) : + HasDerivAt (radialExteriorPhase s) + (Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPhase s t) t := by + have he := ((((hasDerivAt_id t).const_mul 2).exp).sub_const + (Real.exp (2*s))).div_const 4 + have hp := (he.ofReal_comp.const_mul Complex.I).cexp + convert hp using 1 + · rfl + · simp only [radialExteriorPhase,id_eq,mul_one] + push_cast + ring + +theorem radialExterior_free_gauge_derivative (ν : ℂ) (Z : ℝ → ℂ × ℂ) (t : ℝ) + (hZ : HasDerivAt Z ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+ + radialExteriorErrorMatrix ν (Z t)) t) : + HasDerivAt (fun s => radialExteriorPropagator 0 s (Z s)) + (radialExteriorPropagator 0 t (radialExteriorErrorMatrix ν (Z t))) t := by + have h0 := (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hZ + have h1 := (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hZ + have h := h0.prodMk ((radialExteriorPhase_second_hasDerivAt 0 t).mul h1) + convert h using 1 + · rfl + · apply Prod.ext + · simp [radialExteriorErrorMatrix,radialExteriorPropagator] + · change radialExteriorPhase 0 t*(radialExteriorErrorMatrix ν (Z t)).2 = + Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPhase 0 t*(Z t).2+ + radialExteriorPhase 0 t*(-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2+ + (radialExteriorErrorMatrix ν (Z t)).2) + ring + +theorem radialExterior_free_fast_decay_zero (ν : ℂ) (Z : ℝ → ℂ × ℂ) + (κ C T : ℝ) + (hZ : ∀ t, T ≤ t → HasDerivAt Z + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+radialExteriorErrorMatrix ν (Z t)) t) + (hdec : ∀ t, T ≤ t → ‖Z t‖ ≤ C*Real.exp (-κ*t)) + (hκ : radialExteriorMatrixBound ν < κ) (t : ℝ) (ht : T ≤ t) : Z t=0 := by + let Y : ℝ → ℂ × ℂ := fun s => radialExteriorPropagator 0 s (Z s) + let Y' : ℝ → ℂ × ℂ := fun s => radialExteriorPropagator 0 s (radialExteriorErrorMatrix ν (Z s)) + have hd : ∀ s, T ≤ s → HasDerivAt Y (Y' s) s := by + intro s hs + exact radialExterior_free_gauge_derivative ν Z s (hZ s hs) + have hc : ContinuousOn Y (Ici T) := fun s hs => (hd s hs).continuousAt.continuousWithinAt + have hb : ∀ s, T ≤ s → ‖Y' s‖ ≤ radialExteriorMatrixBound ν*‖Y s‖ := by + intro s _ + simpa only [Y',Y,radialExteriorPropagator_norm] using radialExteriorErrorMatrix_norm ν (Z s) + have he := eq_zero_of_fast_exponential_decay Y Y' (radialExteriorMatrixBound ν) κ C T hc hd hb + (fun s hs => by simpa only [Y,radialExteriorPropagator_norm] using hdec s hs) hκ t ht + apply norm_eq_zero.mp + rw [← radialExteriorPropagator_norm 0 t (Z t)] + exact norm_eq_zero.mpr he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorHIdentification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorHIdentification.lean new file mode 100644 index 0000000000000000000000000000000000000000..34d4a7b7df10e555d2183ccd8043cd82ef2ff302 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorHIdentification.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFreeUniqueness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowJet + +namespace OAI + +/-! Identify the constructed free correction with the actual outgoing H solution. -/ + +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_free_difference_hasDerivAt (ν : ℂ) + (Z W : ℝ → ℂ × ℂ) (t : ℝ) + (hZ : HasDerivAt Z ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+ + radialExteriorErrorMatrix ν (Z t)) t) + (hW : HasDerivAt W ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(W t).2)+ + radialExteriorErrorMatrix ν (W t)) t) : + HasDerivAt (fun s => Z s-W s) + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t-W t).2)+ + radialExteriorErrorMatrix ν (Z t-W t)) t := by + apply (hZ.sub hW).congr_deriv + rw [map_sub] + apply Prod.ext + all_goals simp + ring + +theorem radialExterior_free_correction_eq_H (q m : ℂ) (hq : -1 < q.re) + (j : ℕ) (T : ℝ) (w : ℝ →ᵇ ℂ × ℂ) + (hκ : radialExteriorMatrixBound (-2*q) < 2*((j+1 : ℕ) : ℝ)) + (hODE : ∀ t, T ≤ t → HasDerivAt + (fun s => radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) s+ + radialExteriorUnweight (2*((j+1 : ℕ) : ℝ)) w s) + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)* + (radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) t+ + radialExteriorUnweight (2*((j+1 : ℕ) : ℝ)) w t).2)+ + radialExteriorErrorMatrix (-2*q) + (radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) t+ + radialExteriorUnweight (2*((j+1 : ℕ) : ℝ)) w t)) t) : + ∀ t, max T (max 0 (Real.log 4/2)) ≤ t → + radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) t+ + radialExteriorUnweight (2*((j+1 : ℕ) : ℝ)) w t=radialFreeSlowJet q m t := by + obtain ⟨C,hC,hrem⟩ := radialFreeSlowJet_remainder q m hq j + let κ : ℝ := 2*((j+1 : ℕ) : ℝ) + let Z : ℝ → ℂ × ℂ := fun s => + radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) s+radialExteriorUnweight κ w s + let D : ℝ → ℂ × ℂ := fun s => Z s-radialFreeSlowJet q m s + let S := max T (max 0 (Real.log 4/2)) + have hDS : ∀ s, S ≤ s → HasDerivAt D + ((0,-Complex.I*(Real.exp (2*s)/2 : ℝ)*(D s).2)+radialExteriorErrorMatrix (-2*q) (D s)) s := by + intro s hs + exact radialExterior_free_difference_hasDerivAt (-2*q) Z (radialFreeSlowJet q m) s + (hODE s ((le_max_left T _).trans hs)) (radialFreeSlowJet_hasDerivAt q m hq s) + have hdec : ∀ s, S ≤ s → ‖D s‖ ≤ (‖w‖+C)*Real.exp (-κ*s) := by + intro s hs + have hs0 : 0 ≤ s := ((le_max_left 0 _).trans (le_max_right T _)).trans hs + have hslog : Real.log 4/2 ≤ s := ((le_max_right 0 _).trans (le_max_right T _)).trans hs + have he : Real.exp (-(2*((j+2 : ℕ) : ℝ))*s) ≤ Real.exp (-κ*s) := by + apply Real.exp_le_exp.mpr + dsimp [κ] + push_cast + nlinarith + calc + ‖D s‖ ≤ ‖radialExteriorUnweight κ w s‖+ + ‖radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) s-radialFreeSlowJet q m s‖ := by + dsimp [D,Z] + convert norm_add_le (radialExteriorUnweight κ w s) + (radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) s-radialFreeSlowJet q m s) using 1 + abel_nf + _ ≤ Real.exp (-κ*s)*‖w‖+C*Real.exp (-(2*((j+2 : ℕ) : ℝ))*s) := by + apply add_le_add (radialExteriorUnweight_norm κ s w ‖w‖ (w.norm_coe_le_norm s)) + rw [norm_sub_rev] + exact hrem s hslog + _ ≤ Real.exp (-κ*s)*‖w‖+C*Real.exp (-κ*s) := + add_le_add le_rfl (mul_le_mul_of_nonneg_left he hC) + _ = _ := by ring + intro t ht + exact sub_eq_zero.mp (radialExterior_free_fast_decay_zero (-2*q) D κ (‖w‖+C) S hDS hdec hκ t ht) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorHLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorHLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..6b5b0219fe4f8d2cb851db1cb6d845bfffaa5bb0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorHLimit.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCommonTail +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorHIdentification + +namespace OAI + +/-! The nonlinear exterior family converges to the actual outgoing H profile. -/ + +open Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_radialExterior_H_limit (ν m : ℕ → ℂ) (q m₀ : ℂ) + (hq : -1 < q.re) (hν : Tendsto ν atTop (nhds (-2*q))) + (hm : Tendsto m atTop (nhds m₀)) (δ : ℝ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) : + ∃ S : ℝ, 0 ≤ S ∧ ∃ Z : ℕ → ℝ → ℂ × ℂ, + TendstoUniformlyOn Z (radialFreeSlowJet q m₀) atTop (Ici S) ∧ + (∀ n, Tendsto (Z n) atTop (nhds (m n,0))) ∧ + Tendsto (radialFreeSlowJet q m₀) atTop (nhds (m₀,0)) ∧ + ∀ᶠ n in atTop, ∀ t, S ≤ t → + (Z n t).1 ≠ 0 ∧ HasDerivAt (fun s => (Z n s).1) (Z n t).2 t ∧ + HasDerivAt (fun s => (Z n s).2) + (-(2*ν n+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z n t).2- + ν n*(ν n+10)*(Z n t).1+oddPowerNonlinearity n (Z n t).1) t := by + obtain ⟨T,hT,Z,Z₀,hconv,hlim,hlim₀,⟨j,w,hκ,heq⟩,hfree,hactual⟩ := + exists_radialExterior_common_tail_with_expansion ν m (-2*q) m₀ hν hm δ hδ hδm hsmall + have hj : j ≠ 0 := by + intro hj + rw [hj,Nat.cast_zero,mul_zero] at hκ + exact (not_lt_of_ge (radialExteriorMatrixBound_pos (-2*q)).le) hκ + obtain ⟨k,rfl⟩ := Nat.exists_eq_succ_of_ne_zero hj + let S := max T (max 0 (Real.log 4/2)) + have hident : ∀ t, S ≤ t → Z₀ t=radialFreeSlowJet q m₀ t := by + intro t ht + rw [heq] + apply radialExterior_free_correction_eq_H q m₀ hq k T w hκ ?_ t ht + intro r hr + have hh := (hfree r hr).1.prodMk (hfree r hr).2 + rw [heq] at hh + apply hh.congr_deriv + apply Prod.ext + · simp [radialExteriorErrorMatrix] + · simp only [radialExteriorErrorMatrix,ContinuousLinearMap.prod_apply, + neg_apply,add_apply, + smul_apply,ContinuousLinearMap.coe_fst', + ContinuousLinearMap.coe_snd',smul_eq_mul,Prod.snd_add] + ring + have hS : 0 ≤ S := hT.trans (le_max_left _ _) + refine ⟨S,hS,Z,?_,hlim,?_,?_⟩ + · exact (hconv.mono (fun t ht => hS.trans ht)).congr_right (fun t ht => hident t ht) + · apply hlim₀.congr' + filter_upwards [eventually_ge_atTop S] with t ht + exact hident t ht + · filter_upwards [hactual] with n hn t ht + exact hn t ((le_max_left T _).trans ht) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorJetLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorJetLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..931cba6b7836226e439ec2ed40398c8445210dd3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorJetLimit.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExpansionLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolynomialUniform +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUnweight +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorBoundedExpansion + +namespace OAI + +/-! Uniform convergence of the actual exterior value/derivative jets on a fixed tail. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialPolynomialFunction_uniform_limit (P : ℕ → ℂ[X]) (Q : ℂ[X]) (d : ℕ) + (hdeg : ∀ᶠ n in atTop, (P n).natDegree ≤ d) (hQ : Q.natDegree ≤ d) + (hP : ∀ k, k ≤ d → Tendsto (fun n => (P n).coeff k) atTop (nhds (Q.coeff k))) : + TendstoUniformlyOn (fun n t => radialExteriorPolynomialFunction (P n) t) + (radialExteriorPolynomialFunction Q) atTop (Ici (0 : ℝ)) := by + have hu := radialPolynomial_eval_tendstoUniformly P Q d hdeg hQ hP + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + filter_upwards [(Metric.tendstoUniformlyOn_iff.mp hu) ε hε] with n hn t ht + apply hn + simp only [Metric.mem_closedBall,dist_zero_right,Complex.norm_real,Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _)] + apply Real.exp_le_one_iff.mpr + have ht0 : 0 ≤ t := ht + nlinarith + +theorem radialPolynomialEuler_degree (P : ℂ[X]) (d : ℕ) (hd : P.natDegree ≤ d) : + (radialPolynomialEuler P).natDegree ≤ d := by + apply natDegree_le_iff_coeff_eq_zero.mpr + intro k hk + rw [radialPolynomialEuler_coeff,coeff_eq_zero_of_natDegree_lt (hd.trans_lt hk),mul_zero] + +theorem radialExteriorUnweight_uniform_limit (κ : ℝ) (hκ : 0 ≤ κ) + (v : ℕ → ℝ →ᵇ ℂ × ℂ) (w : ℝ →ᵇ ℂ × ℂ) (hv : Tendsto v atTop (nhds w)) : + TendstoUniformlyOn (fun n => radialExteriorUnweight κ (v n)) + (radialExteriorUnweight κ w) atTop (Ici (0 : ℝ)) := by + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + filter_upwards [(tendsto_iff_norm_sub_tendsto_zero.mp hv).eventually (gt_mem_nhds hε)] with n hn t ht + rw [dist_comm,dist_eq_norm] + change ‖Real.exp (-κ*t) • v n t-Real.exp (-κ*t) • w t‖ < ε + rw [← smul_sub,norm_smul,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + have he : Real.exp (-κ*t) ≤ 1 := Real.exp_le_one_iff.mpr (by + have ht0 : 0 ≤ t := ht + nlinarith) + have hb := (v n-w).norm_coe_le_norm t + change ‖v n t-w t‖ ≤ ‖v n-w‖ at hb + calc + _ ≤ 1*‖v n t-w t‖ := mul_le_mul_of_nonneg_right he (norm_nonneg _) + _ ≤ ‖v n-w‖ := by simpa only [one_mul] using hb + _ < ε := hn + +noncomputable def radialPolynomialJet (P : ℂ[X]) (t : ℝ) : ℂ × ℂ := + (radialExteriorPolynomialFunction P t,radialExteriorPolynomialFunction (radialPolynomialEuler P) t) + +theorem radialPolynomialJet_uniform_limit (P : ℕ → ℂ[X]) (Q : ℂ[X]) (d : ℕ) + (hdeg : ∀ᶠ n in atTop, (P n).natDegree ≤ d) (hQ : Q.natDegree ≤ d) + (hP : ∀ k, k ≤ d → Tendsto (fun n => (P n).coeff k) atTop (nhds (Q.coeff k))) : + TendstoUniformlyOn (fun n => radialPolynomialJet (P n)) (radialPolynomialJet Q) + atTop (Ici (0 : ℝ)) := by + have h0 := radialPolynomialFunction_uniform_limit P Q d hdeg hQ hP + have h1 := radialPolynomialFunction_uniform_limit + (fun n => radialPolynomialEuler (P n)) (radialPolynomialEuler Q) d + (hdeg.mono (fun n hn => radialPolynomialEuler_degree (P n) d hn)) + (radialPolynomialEuler_degree Q d hQ) + (fun k hk => by simpa only [radialPolynomialEuler_coeff] using (hP k hk).const_mul (-2*(k : ℂ))) + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + filter_upwards [(Metric.tendstoUniformlyOn_iff.mp h0) ε hε, + (Metric.tendstoUniformlyOn_iff.mp h1) ε hε] with n hn0 hn1 t ht + exact max_lt (hn0 t ht) (hn1 t ht) + +theorem radialExterior_corrected_jet_uniform_limit (κ : ℝ) (hκ : 0 ≤ κ) + (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) (hm₀ : ‖m₀‖ < 1) + (j : ℕ) (v : ℕ → ℝ →ᵇ ℂ × ℂ) (w : ℝ →ᵇ ℂ × ℂ) (hv : Tendsto v atTop (nhds w)) : + TendstoUniformlyOn + (fun n t => radialPolynomialJet (radialExteriorExpansion (ν n) n (m n) j) t+ + radialExteriorUnweight κ (v n) t) + (fun t => radialPolynomialJet (radialFreeExpansion ν₀ m₀ j) t+ + radialExteriorUnweight κ w t) atTop (Ici (0 : ℝ)) := by + have hP := radialPolynomialJet_uniform_limit + (fun n => radialExteriorExpansion (ν n) n (m n) j) (radialFreeExpansion ν₀ m₀ j) j + (Eventually.of_forall (fun n => radialExteriorExpansion_degree _ _ _ _)) + (radialFreeExpansion_degree _ _ _) + (fun k _ => radialExteriorExpansion_coefficient_limit ν m ν₀ m₀ hν hm hm₀ j k) + exact hP.add (radialExteriorUnweight_uniform_limit κ hκ v w hv) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLinearResidual.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLinearResidual.lean new file mode 100644 index 0000000000000000000000000000000000000000..a310ba120ac34ff771c44357fd0a00d3847e00e2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLinearResidual.lean @@ -0,0 +1,81 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExpansionLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolynomialUniform + +namespace OAI + +/-! The linear part of the formal residual and its large-power limit. -/ + +open Polynomial Filter +namespace DefocusingNLS + +noncomputable def radialExteriorLinearResidual (ν : ℂ) (P : ℂ[X]) : ℂ[X] := + radialPolynomialEuler (radialPolynomialEuler P)+C (2*ν+10)*radialPolynomialEuler P+ + C (ν*(ν+10))*P-C Complex.I*P.derivative + +theorem radialExteriorLinearResidual_coeff (ν : ℂ) (P : ℂ[X]) (k : ℕ) : + (radialExteriorLinearResidual ν P).coeff k = + (ν-2*(k : ℂ))*(ν+10-2*(k : ℂ))*P.coeff k- + Complex.I*(P.coeff (k+1)*(k+1 : ℕ)) := by + simp only [radialExteriorLinearResidual,coeff_sub,coeff_add,coeff_C_mul, + radialPolynomialEuler_coeff,coeff_derivative] + push_cast + ring + +theorem radialExteriorLinearResidual_degree (ν : ℂ) (P : ℂ[X]) (d : ℕ) + (hd : P.natDegree ≤ d) : (radialExteriorLinearResidual ν P).natDegree ≤ d := by + apply natDegree_le_iff_coeff_eq_zero.mpr + intro k hk + have h0 : P.coeff k=0 := coeff_eq_zero_of_natDegree_lt (hd.trans_lt hk) + have h1 : P.coeff (k+1)=0 := coeff_eq_zero_of_natDegree_lt (by omega) + simp only [radialExteriorLinearResidual_coeff,h0,h1,mul_zero,zero_mul,sub_zero] + +theorem radialExteriorLinearResidual_coefficient_limit + (ν : ℕ → ℂ) (ν₀ : ℂ) (hν : Tendsto ν atTop (nhds ν₀)) + (P : ℕ → ℂ[X]) (Q : ℂ[X]) + (hP : ∀ k, Tendsto (fun n => (P n).coeff k) atTop (nhds (Q.coeff k))) (k : ℕ) : + Tendsto (fun n => (radialExteriorLinearResidual (ν n) (P n)).coeff k) atTop + (nhds ((radialExteriorLinearResidual ν₀ Q).coeff k)) := by + simp only [radialExteriorLinearResidual_coeff] + exact (((hν.sub_const (2*(k : ℂ))).mul ((hν.add_const 10).sub_const (2*(k : ℂ)))).mul + (hP k)).sub (((hP (k+1)).mul_const ((k+1 : ℕ) : ℂ)).const_mul Complex.I) + +theorem radialExteriorLinearResidual_uniform_limit (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) + (hm₀ : ‖m₀‖ < 1) (j : ℕ) : + TendstoUniformlyOn (fun n z => + (radialExteriorLinearResidual (ν n) (radialExteriorExpansion (ν n) n (m n) j)).eval z) + (fun z => (radialExteriorLinearResidual ν₀ (radialFreeExpansion ν₀ m₀ j)).eval z) + atTop (Metric.closedBall (0 : ℂ) 1) := by + apply radialPolynomial_eval_tendstoUniformly _ _ j + · exact Eventually.of_forall (fun n => radialExteriorLinearResidual_degree _ _ _ + (radialExteriorExpansion_degree _ _ _ _)) + · exact radialExteriorLinearResidual_degree _ _ _ (radialFreeExpansion_degree _ _ _) + · intro k _ + exact radialExteriorLinearResidual_coefficient_limit ν ν₀ hν _ _ + (radialExteriorExpansion_coefficient_limit ν m ν₀ m₀ hν hm hm₀ j) k + +theorem radialExteriorLinearResidual_free_divisible (ν m : ℂ) (hm : ‖m‖ < 1) (j : ℕ) : + X^j ∣ radialExteriorLinearResidual ν (radialFreeExpansion ν m j) := by + apply X_pow_dvd_iff.mpr + intro k hk + let P : ℕ → ℂ[X] := fun n => radialExteriorExpansion ν n m j + have hc : ∀ k, Tendsto (fun n => (P n).coeff k) atTop + (nhds ((radialFreeExpansion ν m j).coeff k)) := + radialExteriorExpansion_coefficient_limit _ _ ν m tendsto_const_nhds tendsto_const_nhds hm j + have hL := radialExteriorLinearResidual_coefficient_limit (fun _ : ℕ => ν) ν + tendsto_const_nhds P _ hc k + have hN := radialPolynomialPower_coefficient_limit P (radialFreeExpansion ν m j) j k + (Eventually.of_forall (fun n => radialExteriorExpansion_degree ν n m j)) + (fun k _ => hc k) (by simpa only [radialFreeExpansion_constant] using hm) + have hlim := hL.sub hN + simp only [sub_zero] at hlim + have he : (fun n => (radialExteriorLinearResidual ν (P n)).coeff k- + (radialPolynomialPower n (P n)).coeff k)=fun _ => (0 : ℂ) := by + funext n + exact X_pow_dvd_iff.mp (radialExteriorExpansion_residual ν n m j) k hk + rw [he] at hlim + exact tendsto_nhds_unique hlim tendsto_const_nhds + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLocalFamily.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLocalFamily.lean new file mode 100644 index 0000000000000000000000000000000000000000..d657a33ffb376a6b1275d8e526d4152fdcdd3b75 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLocalFamily.lean @@ -0,0 +1,192 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorContinuousTail +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailRemoval +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUniformTail + +namespace OAI + +/-! A nonvanishing outgoing family on an open parameter neighborhood, at fixed power. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem boundedRadialPolynomialAfter_shift (T t : ℝ) (hT : 0 ≤ T) (P : ℂ[X]) : + boundedRadialPolynomialAfter T P t=boundedRadialPolynomialAfter 0 P (max t T) := by + simp only [boundedRadialPolynomialAfter_apply,radialExteriorTailVariable, + max_eq_left (hT.trans (le_max_right t T))] + +theorem boundedRadialResidualAfter_norm_le (T : ℝ) (hT : 0 ≤ T) (P : ℂ[X]) : + ‖boundedRadialResidualAfter T P‖ ≤ ‖boundedRadialResidualAfter 0 P‖ := by + apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).mpr + intro t + have he : boundedRadialResidualAfter T P t=boundedRadialResidualAfter 0 P (max t T) := by + simp only [boundedRadialResidualAfter_apply,boundedRadialPolynomialAfter_shift T t hT P] + rw [he] + exact (boundedRadialResidualAfter 0 P).norm_coe_le_norm _ + +theorem exists_radialExterior_local_family_order (ν₀ m₀ : ℂ) (n : ℕ) (δ : ℝ) (J : ℕ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) : + ∃ S : Set (ℂ × ℂ), IsOpen S ∧ (ν₀,m₀) ∈ S ∧ + ∃ T : ℝ, 0 ≤ T ∧ ∃ j : ℕ, J ≤ j ∧ ∃ v : S → ℝ →ᵇ ℂ × ℂ, + Continuous v ∧ + (∀ z : S, radialExteriorMatrixBound z.val.1+ + radialExteriorCutoffRate n m₀ δ < 2*(j : ℝ)) ∧ + (∀ z : S, ‖z.val.2-m₀‖ ≤ δ/4) ∧ + let Z := fun (z : S) t => radialPolynomialJet + (radialExteriorExpansion z.val.1 n z.val.2 j) t+ + radialExteriorUnweight (2*(j : ℝ)) (v z) t + (∀ t, T ≤ t → Continuous (fun z => Z z t)) ∧ + (∀ z, Tendsto (Z z) atTop (nhds (z.val.2,0))) ∧ + ∀ z t, T ≤ t → (Z z t).1 ≠ 0 ∧ + HasDerivAt (fun s => (Z z s).1) (Z z t).2 t ∧ + HasDerivAt (fun s => (Z z s).2) + (-(2*z.val.1+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z z t).2- + z.val.1*(z.val.1+10)*(Z z t).1+oddPowerNonlinearity n (Z z t).1) t := by + let L := radialExteriorCutoffRate n m₀ δ + obtain ⟨j,hj⟩ := exists_nat_gt (max ((radialExteriorMatrixBound ν₀+L+2)/2) (J : ℝ)) + have hjbound := lt_of_le_of_lt (le_max_left ((radialExteriorMatrixBound ν₀+L+2)/2) (J : ℝ)) hj + have hJ : J ≤ j := by exact_mod_cast (le_max_right ((radialExteriorMatrixBound ν₀+L+2)/2) (J : ℝ)).trans hj.le + let κ : ℝ := 2*(j : ℝ) + have hκ : radialExteriorMatrixBound ν₀+L+2 < κ := by dsimp [κ]; linarith + have hκ0 : 0 < κ := by + have := radialExteriorMatrixBound_pos ν₀ + have := radialExteriorCutoffRate_nonneg n m₀ δ + dsimp [L] at hκ + linarith + let P := fun z : ℂ × ℂ => radialExteriorExpansion z.1 n z.2 j + let f := fun z : ℂ × ℂ => boundedRadialPolynomialAfter 0 (P z) + let r := fun z : ℂ × ℂ => boundedRadialResidualAfter 0 + (radialExteriorResidualQuotient z.1 n z.2 j) + let M : ℝ := ‖r (ν₀,m₀)‖+1 + have hM : 0 < M := by dsimp [M]; positivity + have hf : Continuous f := continuous_radialExteriorBase n j 0 le_rfl + have hr : Continuous r := continuous_radialExteriorSource n j 0 le_rfl + have hB : Continuous (fun z : ℂ × ℂ => radialExteriorMatrixBound z.1+L) := by + unfold radialExteriorMatrixBound + fun_prop + let S : Set (ℂ × ℂ) := {z | radialExteriorMatrixBound z.1+L < κ-1 ∧ + ‖f z-f (ν₀,m₀)‖ < δ/8 ∧ ‖r z‖ < M} + have hS : IsOpen S := (isOpen_lt hB continuous_const).inter + ((isOpen_lt (hf.sub continuous_const).norm continuous_const).inter + (isOpen_lt hr.norm continuous_const)) + have hp : (ν₀,m₀) ∈ S := by + change radialExteriorMatrixBound ν₀+L < κ-1 ∧ + ‖f (ν₀,m₀)-f (ν₀,m₀)‖ < δ/8 ∧ ‖r (ν₀,m₀)‖ < M + refine ⟨by linarith,?_,by dsimp [M]; linarith⟩ + simpa using (show 0 < δ/8 by positivity) + have hPlim : Tendsto (radialExteriorPolynomialFunction (P (ν₀,m₀))) atTop (nhds m₀) := by + simpa only [P,radialExteriorExpansion_constant] using + radialExteriorPolynomialFunction_tendsto (P (ν₀,m₀)) + have hdec : Tendsto (fun t : ℝ => Real.exp (-κ*t)*M) atTop (nhds 0) := by + have hh := (Real.tendsto_exp_neg_atTop_nhds_zero.comp + (tendsto_id.const_mul_atTop hκ0)).mul_const M + simpa only [Function.comp_def,id_eq,neg_mul,zero_mul] using! hh + obtain ⟨T,hT⟩ := eventually_atTop.mp ((eventually_ge_atTop (0 : ℝ)).and + (((tendsto_iff_norm_sub_tendsto_zero.mp hPlim).eventually + (gt_mem_nhds (show 0 < δ/8 by positivity))).and + (hdec.eventually (gt_mem_nhds (show 0 < δ/4 by positivity))))) + have hT0 : 0 ≤ T := (hT T le_rfl).1 + have hbase : ∀ (z : S) t, ‖boundedRadialPolynomialAfter T (P z.val) t-m₀‖ ≤ δ/4 := by + intro z t + let s := max t T + have hs : T ≤ s := le_max_right _ _ + have hs0 : 0 ≤ s := hT0.trans hs + have hpnear := (hT s hs).2.1 + have hz := ((z.property).2.1) + have hdiff := (f z.val-f (ν₀,m₀)).norm_coe_le_norm s + change ‖f z.val s-f (ν₀,m₀) s‖ ≤ ‖f z.val-f (ν₀,m₀)‖ at hdiff + rw [boundedRadialPolynomialAfter_shift T t hT0] + change ‖f z.val s-m₀‖ ≤ δ/4 + have he : f (ν₀,m₀) s=radialExteriorPolynomialFunction (P (ν₀,m₀)) s := + boundedRadialPolynomialAfter_eq 0 _ s hs0 + have htri := dist_triangle (f z.val s) (f (ν₀,m₀) s) m₀ + rw [dist_eq_norm,dist_eq_norm,dist_eq_norm,he] at htri + rw [he] at hdiff + linarith + have hparam : ∀ z : S, ‖z.val.2-m₀‖ ≤ δ/4 := by + intro z + have hh : Tendsto (fun t => ‖radialExteriorPolynomialFunction (P z.val) t-m₀‖) + atTop (nhds ‖z.val.2-m₀‖) := by + simpa only [P,radialExteriorExpansion_constant] using + ((radialExteriorPolynomialFunction_tendsto (P z.val)).sub_const m₀).norm + apply le_of_tendsto hh + filter_upwards [eventually_ge_atTop T] with t ht + have hb := hbase z t + rw [boundedRadialPolynomialAfter_eq T _ t ht] at hb + exact hb + obtain ⟨v,hvc,hv⟩ := exists_continuous_radialExterior_corrections S n j m₀ δ T hδ hT0 + (fun z => by have := z.property.1; dsimp [κ,L] at *; linarith) hbase + let Z := fun (z : S) t => radialPolynomialJet (P z.val) t+radialExteriorUnweight κ (v z) t + have hvM (z : S) : ‖v z‖ ≤ M := by + have hden : 1 < κ-(radialExteriorMatrixBound z.val.1+L) := by + have := z.property.1 + linarith + have hrM : ‖boundedRadialResidualAfter T + (radialExteriorResidualQuotient z.val.1 n z.val.2 j)‖ ≤ M := + (boundedRadialResidualAfter_norm_le T hT0 _).trans z.property.2.2.le + apply (hv z).1.trans + change ‖_‖/(κ-(radialExteriorMatrixBound z.val.1+L)) ≤ M + apply (div_le_iff₀ (by linarith : 0 < κ-(radialExteriorMatrixBound z.val.1+L))).mpr + nlinarith + refine ⟨S,hS,hp,T,hT0,j,hJ,v,hvc,?_,hparam,?_,?_,?_⟩ + · intro z + have := z.property.1 + change radialExteriorMatrixBound z.val.1+L < κ + linarith + · intro t ht + exact continuous_radialExterior_corrected_boundary S n j t (hT0.trans ht) v hvc + · intro z + simpa only [P,κ,radialExteriorExpansion_constant] using + radialExterior_corrected_jet_tendsto κ hκ0 (P z.val) (v z) + · intro z t ht + have hpnear : ‖radialExteriorPolynomialFunction (P z.val) t-m₀‖ ≤ δ/4 := by + rw [← boundedRadialPolynomialAfter_eq T _ t ht] + exact hbase z t + have hynear : ‖radialExteriorUnweight κ (v z) t‖ ≤ δ/4 := + (radialExteriorUnweight_norm κ t (v z) M + ((v z).norm_coe_le_norm t |>.trans (hvM z))).trans ((hT t ht).2.2.le) + have hznear : ‖(Z z t).1-m₀‖ ≤ δ/2 := by + have htri : ‖(Z z t).1-m₀‖ ≤ + ‖radialExteriorPolynomialFunction (P z.val) t-m₀‖+ + ‖(radialExteriorUnweight κ (v z) t).1‖ := by + change ‖(radialExteriorPolynomialFunction (P z.val) t+ + (radialExteriorUnweight κ (v z) t).1)-m₀‖ ≤ _ + rw [add_sub_right_comm] + exact norm_add_le _ _ + have hh := (norm_fst_le (radialExteriorUnweight κ (v z) t)).trans hynear + linarith + have hne : (Z z t).1 ≠ 0 := by + intro he + rw [he,zero_sub,norm_neg] at hznear + linarith + refine ⟨hne,?_⟩ + exact radialExterior_tail_cutoff_removal z.val.1 m₀ n j δ T (P z.val) + (radialExteriorResidualQuotient z.val.1 n z.val.2 j) + (radialExteriorResidualQuotient_spec _ _ _ _) (v z) t ht + (hpnear.trans (by linarith)) (hznear.trans (by linarith)) ((hv z).2.2 t) + +theorem exists_radialExterior_local_family (ν₀ m₀ : ℂ) (n : ℕ) (δ : ℝ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) : + ∃ S : Set (ℂ × ℂ), IsOpen S ∧ (ν₀,m₀) ∈ S ∧ + ∃ T : ℝ, 0 ≤ T ∧ ∃ j : ℕ, ∃ v : S → ℝ →ᵇ ℂ × ℂ, + Continuous v ∧ + (∀ z : S, radialExteriorMatrixBound z.val.1+ + radialExteriorCutoffRate n m₀ δ < 2*(j : ℝ)) ∧ + (∀ z : S, ‖z.val.2-m₀‖ ≤ δ/4) ∧ + let Z := fun (z : S) t => radialPolynomialJet + (radialExteriorExpansion z.val.1 n z.val.2 j) t+ + radialExteriorUnweight (2*(j : ℝ)) (v z) t + (∀ t, T ≤ t → Continuous (fun z => Z z t)) ∧ + (∀ z, Tendsto (Z z) atTop (nhds (z.val.2,0))) ∧ + ∀ z t, T ≤ t → (Z z t).1 ≠ 0 ∧ + HasDerivAt (fun s => (Z z s).1) (Z z t).2 t ∧ + HasDerivAt (fun s => (Z z s).2) + (-(2*z.val.1+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z z t).2- + z.val.1*(z.val.1+10)*(Z z t).1+oddPowerNonlinearity n (Z z t).1) t := by + obtain ⟨S,hS,hm,T,hT,j,_hJ,v,hv,hbound,hparam,hrest⟩ := + exists_radialExterior_local_family_order ν₀ m₀ n δ 0 hδ hδm + exact ⟨S,hS,hm,T,hT,j,v,hv,hbound,hparam,hrest⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLocalOutgoing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLocalOutgoing.lean new file mode 100644 index 0000000000000000000000000000000000000000..cd7473d9d2699afebb9e521064323297e54d8cfc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorLocalOutgoing.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorOutgoing + +namespace OAI + +/-! The local fixed-power construction takes values in the unique outgoing class. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_radialExterior_local_outgoing (ν m : ℂ) (n : ℕ) (hm : m ≠ 0) : + ∃ S : Set (ℂ × ℂ), IsOpen S ∧ (ν,m) ∈ S ∧ + ∃ T : ℝ, ∃ Y : S → ℝ → ℂ × ℂ, + (∀ z, Continuous (Y z) ∧ HasRadialOutgoingExpansion z.val.1 n z.val.2 (Y z)) ∧ + (∀ t, T ≤ t → Continuous (fun z => Y z t)) ∧ + ∀ z t, T ≤ t → (Y z t).1 ≠ 0 ∧ + HasDerivAt (Y z) (radialExteriorODEField z.val.1 n t (Y z t)) t := by + let δ := ‖m‖/2 + have hm0 : 0 < ‖m‖ := norm_pos_iff.mpr hm + have hδ : 0 < δ := by dsimp [δ]; positivity + obtain ⟨S,hS,hp,T,_,j,v,_,hmargin,hnear,hcont,_,hODE⟩ := + exists_radialExterior_local_family ν m n δ hδ (by dsimp [δ]; linarith) + let Y := fun (z : S) t => radialPolynomialJet + (radialExteriorExpansion z.val.1 n z.val.2 j) t+ + radialExteriorUnweight (2*(j : ℝ)) (v z) t + refine ⟨S,hS,hp,T,Y,?_,hcont,?_⟩ + · intro z + refine ⟨continuous_radialExterior_polynomialCorrection _ _ _,j,v z,T,?_,fun _ _ => rfl⟩ + have hz : ‖z.val.2‖ ≤ ‖m‖+2*δ := by + have hh := norm_add_le (z.val.2-m) m + rw [sub_add_cancel] at hh + linarith [hnear z] + calc + _ ≤ radialExteriorMatrixBound z.val.1+(2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n) := by + gcongr + _ ≤ radialExteriorMatrixBound z.val.1+radialExteriorCutoffRate n m δ := by + unfold radialExteriorCutoffRate + have hp : 0 ≤ (2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n) := by positivity + nlinarith + _ < _ := hmargin z + · intro z t ht + exact ⟨(hODE z t ht).1,(hODE z t ht).2.1.prodMk (hODE z t ht).2.2⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorNonlinearTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorNonlinearTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..d06358ef7064cea23f2ffc6c243b0c65069ff74f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorNonlinearTail.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorErrorField +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCutoff + +namespace OAI + +/-! The exterior error equation with the actual odd-power polynomial on its unclipped region. -/ + +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialExteriorCutoffRate (n : ℕ) (m : ℂ) (δ : ℝ) : ℝ := + 2*(2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n) + +theorem radialExteriorCutoffRate_nonneg (n : ℕ) (m : ℂ) (δ : ℝ) : + 0 ≤ radialExteriorCutoffRate n m δ := by + unfold radialExteriorCutoffRate + rw [pow_mul] + positivity + +theorem radialExteriorCutoffRate_tendsto (m : ℂ) (δ : ℝ) (hδ : 0 ≤ δ) + (hsmall : ‖m‖+2*δ < 1) : + Filter.Tendsto (fun n => radialExteriorCutoffRate n m δ) Filter.atTop (nhds 0) := by + convert (radial_oddPower_lipschitz_tendsto (‖m‖+2*δ) (by positivity) hsmall).const_mul 2 using 1 + · funext n + unfold radialExteriorCutoffRate + ring + · ring_nf + +theorem exists_radialExterior_nonlinear_tail (κ : ℝ) (ν : ℂ) (n : ℕ) + (m : ℂ) (δ : ℝ) (hδ : 0 ≤ δ) + (hκ : radialExteriorMatrixBound ν+radialExteriorCutoffRate n m δ < κ) + (f : ℝ → ℂ) (hf : Continuous f) (r : ℝ →ᵇ ℂ × ℂ) : + ∃ v : ℝ →ᵇ ℂ × ℂ, + ‖v‖ ≤ ‖r‖/(κ-(radialExteriorMatrixBound ν+radialExteriorCutoffRate n m δ)) ∧ + ∀ t, HasDerivAt (fun s => v s) + (κ • v t + (0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2) + + radialExteriorErrorField κ ν (radialExteriorCutoffPower n m δ) f r t (v t)) t := by + have hL := radialExteriorCutoffRate_nonneg n m δ + have htotal : 0 ≤ radialExteriorMatrixBound ν+radialExteriorCutoffRate n m δ := + add_nonneg (radialExteriorMatrixBound_pos ν).le hL + obtain ⟨v,hv,_,hd⟩ := exists_radialExterior_weighted_ODE κ + (radialExteriorMatrixBound ν+radialExteriorCutoffRate n m δ) ‖r‖ + (lt_of_le_of_lt htotal hκ) htotal hκ (norm_nonneg _) + (radialExteriorErrorField κ ν (radialExteriorCutoffPower n m δ) f r) + (radialExteriorErrorField_continuous κ ν _ (radialExteriorCutoffPower_continuous n m δ) f hf r) + (fun t => by rw [radialExteriorErrorField_zero]; exact r.norm_coe_le_norm t) + (radialExteriorErrorField_difference κ _ hL ν _ + (radialExteriorCutoffPower_difference n m δ hδ) f r) + exact ⟨v,hv,hd⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorNonlinearUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorNonlinearUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..1916ea36be7ff4bf902912e49c2bcffff970515f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorNonlinearUniqueness.lean @@ -0,0 +1,114 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFreeUniqueness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUnweight +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialOddPowerBound + +namespace OAI + +/-! The full outgoing expansion uniquely selects a nonlinear exterior solution. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_forced_gauge_derivative (ν : ℂ) (Z : ℝ → ℂ × ℂ) + (t : ℝ) (R : ℂ × ℂ) + (hZ : HasDerivAt Z ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+ + radialExteriorErrorMatrix ν (Z t)+R) t) : + HasDerivAt (fun s => radialExteriorPropagator 0 s (Z s)) + (radialExteriorPropagator 0 t (radialExteriorErrorMatrix ν (Z t)+R)) t := by + have h0 := (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hZ + have h1 := (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hZ + have h := h0.prodMk ((radialExteriorPhase_second_hasDerivAt 0 t).mul h1) + apply h.congr_deriv + apply Prod.ext + · simp [radialExteriorPropagator] + · change Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPhase 0 t*(Z t).2+ + radialExteriorPhase 0 t*((-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2+ + (radialExteriorErrorMatrix ν (Z t)).2)+R.2) = + radialExteriorPhase 0 t*((radialExteriorErrorMatrix ν (Z t)).2+R.2) + ring + +theorem radialExterior_nonlinear_fast_decay_unique (ν : ℂ) (n : ℕ) + (Z W : ℝ → ℂ × ℂ) (ρ κ C T : ℝ) (hρ : 0 ≤ ρ) + (hZ : ∀ t, T ≤ t → HasDerivAt Z + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+ + radialExteriorErrorMatrix ν (Z t)+(0,oddPowerNonlinearity n (Z t).1)) t) + (hW : ∀ t, T ≤ t → HasDerivAt W + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(W t).2)+ + radialExteriorErrorMatrix ν (W t)+(0,oddPowerNonlinearity n (W t).1)) t) + (hbZ : ∀ t, T ≤ t → ‖(Z t).1‖ ≤ ρ) + (hbW : ∀ t, T ≤ t → ‖(W t).1‖ ≤ ρ) + (hdec : ∀ t, T ≤ t → ‖Z t-W t‖ ≤ C*Real.exp (-κ*t)) + (hκ : radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*ρ^(2*n) < κ) + (t : ℝ) (ht : T ≤ t) : Z t=W t := by + let U : ℝ → ℂ × ℂ := fun s => Z s-W s + let R : ℝ → ℂ × ℂ := fun s => (0,oddPowerNonlinearity n (Z s).1- + oddPowerNonlinearity n (W s).1) + let L : ℝ := (2*(n : ℝ)+1)*ρ^(2*n) + have hL : 0 ≤ L := by dsimp [L]; positivity + have hd : ∀ s, T ≤ s → HasDerivAt U + ((0,-Complex.I*(Real.exp (2*s)/2 : ℝ)*(U s).2)+ + radialExteriorErrorMatrix ν (U s)+R s) s := by + intro s hs + apply ((hZ s hs).sub (hW s hs)).congr_deriv + apply Prod.ext + · simp [U,R,radialExteriorErrorMatrix] + · simp [U,R,radialExteriorErrorMatrix] + ring + let Y : ℝ → ℂ × ℂ := fun s => radialExteriorPropagator 0 s (U s) + let Y' : ℝ → ℂ × ℂ := fun s => + radialExteriorPropagator 0 s (radialExteriorErrorMatrix ν (U s)+R s) + have hdy : ∀ s, T ≤ s → HasDerivAt Y (Y' s) s := by + intro s hs + exact radialExterior_forced_gauge_derivative ν U s (R s) (hd s hs) + have hR : ∀ s, T ≤ s → ‖R s‖ ≤ L*‖U s‖ := by + intro s hs + change max ‖(0 : ℂ)‖ ‖oddPowerNonlinearity n (Z s).1- + oddPowerNonlinearity n (W s).1‖ ≤ _ + rw [norm_zero,max_eq_right (norm_nonneg _)] + exact (radial_oddPower_difference n ρ hρ _ _ (hbZ s hs) (hbW s hs)).trans + (mul_le_mul_of_nonneg_left (norm_fst_le (U s)) hL) + have hb : ∀ s, T ≤ s → ‖Y' s‖ ≤ (radialExteriorMatrixBound ν+L)*‖Y s‖ := by + intro s hs + dsimp [Y',Y] + rw [radialExteriorPropagator_norm,radialExteriorPropagator_norm] + exact (norm_add_le _ _).trans ((add_le_add + (radialExteriorErrorMatrix_norm ν (U s)) (hR s hs)).trans_eq (by ring)) + have he := eq_zero_of_fast_exponential_decay Y Y' + (radialExteriorMatrixBound ν+L) κ C T + (fun s hs => (hdy s hs).continuousAt.continuousWithinAt) hdy hb + (fun s hs => by simpa only [Y,U,radialExteriorPropagator_norm] using hdec s hs) + hκ t ht + apply sub_eq_zero.mp + apply norm_eq_zero.mp + rw [← radialExteriorPropagator_norm 0 t (Z t-W t)] + exact norm_eq_zero.mpr he + +theorem radialExterior_same_expansion_unique (ν : ℂ) (n : ℕ) + (Z W P : ℝ → ℂ × ℂ) (v w : ℝ →ᵇ ℂ × ℂ) (ρ κ T : ℝ) (hρ : 0 ≤ ρ) + (hZ : ∀ t, T ≤ t → HasDerivAt Z + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+ + radialExteriorErrorMatrix ν (Z t)+(0,oddPowerNonlinearity n (Z t).1)) t) + (hW : ∀ t, T ≤ t → HasDerivAt W + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(W t).2)+ + radialExteriorErrorMatrix ν (W t)+(0,oddPowerNonlinearity n (W t).1)) t) + (hbZ : ∀ t, T ≤ t → ‖(Z t).1‖ ≤ ρ) + (hbW : ∀ t, T ≤ t → ‖(W t).1‖ ≤ ρ) + (heZ : ∀ t, T ≤ t → Z t=P t+radialExteriorUnweight κ v t) + (heW : ∀ t, T ≤ t → W t=P t+radialExteriorUnweight κ w t) + (hκ : radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*ρ^(2*n) < κ) + (t : ℝ) (ht : T ≤ t) : Z t=W t := by + apply radialExterior_nonlinear_fast_decay_unique ν n Z W ρ κ (‖v‖+‖w‖) T + hρ hZ hW hbZ hbW ?_ hκ t ht + intro s hs + rw [heZ s hs,heW s hs,add_sub_add_left_eq_sub] + calc + _ ≤ ‖radialExteriorUnweight κ v s‖+‖radialExteriorUnweight κ w s‖ := norm_sub_le _ _ + _ ≤ Real.exp (-κ*s)*‖v‖+Real.exp (-κ*s)*‖w‖ := + add_le_add (radialExteriorUnweight_norm κ s v ‖v‖ (v.norm_coe_le_norm s)) + (radialExteriorUnweight_norm κ s w ‖w‖ (w.norm_coe_le_norm s)) + _ = _ := by ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoing.lean new file mode 100644 index 0000000000000000000000000000000000000000..0b8b1f83dce574e44c4323c2b0d868a3b0ceb79e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoing.lean @@ -0,0 +1,124 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorLocalFamily +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorOutgoingUniqueness + +namespace OAI + +/-! A precise outgoing class selected by the nonlinear asymptotic expansion. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem continuous_radialExterior_polynomialCorrection (P : ℂ[X]) (κ : ℝ) + (v : ℝ →ᵇ ℂ × ℂ) : + Continuous (fun t => radialPolynomialJet P t+radialExteriorUnweight κ v t) := by + have hv : Continuous (fun t => v t) := v.continuous + unfold radialPolynomialJet radialExteriorPolynomialFunction radialExteriorUnweight + fun_prop + +noncomputable def radialExteriorODEField (ν : ℂ) (n : ℕ) (t : ℝ) (z : ℂ × ℂ) : ℂ × ℂ := + (z.2,-(2*ν+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*z.2- + ν*(ν+10)*z.1+oddPowerNonlinearity n z.1) + +theorem radialExteriorODEField_split (ν : ℂ) (n : ℕ) (t : ℝ) (z : ℂ × ℂ) : + radialExteriorODEField ν n t z= + (0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*z.2)+radialExteriorErrorMatrix ν z+ + (0,oddPowerNonlinearity n z.1) := by + apply Prod.ext + · simp [radialExteriorODEField,radialExteriorErrorMatrix] + · simp [radialExteriorODEField,radialExteriorErrorMatrix] + ring + +/-- A finite but sufficiently accurate outgoing expansion, including the velocity. -/ +def HasRadialOutgoingExpansion (ν : ℂ) (n : ℕ) (m : ℂ) (Z : ℝ → ℂ × ℂ) : Prop := + ∃ j : ℕ, ∃ v : ℝ →ᵇ ℂ × ℂ, ∃ T : ℝ, + radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*‖m‖^(2*n) < 2*(j : ℝ) ∧ + ∀ t, T ≤ t → Z t=radialPolynomialJet (radialExteriorExpansion ν n m j) t+ + radialExteriorUnweight (2*(j : ℝ)) v t + +theorem HasRadialOutgoingExpansion.tendsto {ν : ℂ} {n : ℕ} {m : ℂ} {Z : ℝ → ℂ × ℂ} + (h : HasRadialOutgoingExpansion ν n m Z) : Tendsto Z atTop (nhds (m,0)) := by + obtain ⟨j,v,T,hκ,heq⟩ := h + have hκ0 : 0 < 2*(j : ℝ) := by + have hL : 0 ≤ (2*(n : ℝ)+1)*‖m‖^(2*n) := by positivity + linarith [radialExteriorMatrixBound_pos ν] + have hl : Tendsto (fun t => radialPolynomialJet (radialExteriorExpansion ν n m j) t+ + radialExteriorUnweight (2*(j : ℝ)) v t) atTop (nhds (m,0)) := by + simpa only [radialExteriorExpansion_constant] using + radialExterior_corrected_jet_tendsto _ hκ0 (radialExteriorExpansion ν n m j) v + apply hl.congr' + filter_upwards [eventually_ge_atTop T] with t ht + exact (heq t ht).symm + +theorem HasRadialOutgoingExpansion.congr {ν : ℂ} {n : ℕ} {m : ℂ} {Z W : ℝ → ℂ × ℂ} + (h : HasRadialOutgoingExpansion ν n m Z) (he : ∀ᶠ t in atTop, Z t=W t) : + HasRadialOutgoingExpansion ν n m W := by + obtain ⟨j,v,T,hκ,hZ⟩ := h + obtain ⟨U,hU⟩ := eventually_atTop.mp he + refine ⟨j,v,max T U,hκ,?_⟩ + intro t ht + rw [← hU t ((le_max_right _ _).trans ht)] + exact hZ t ((le_max_left _ _).trans ht) + +theorem radialExterior_outgoing_eventually_eq (ν : ℂ) (n : ℕ) (m : ℂ) + (Z W : ℝ → ℂ × ℂ) (L : ℝ) + (hZ : ∀ t, L ≤ t → HasDerivAt Z (radialExteriorODEField ν n t (Z t)) t) + (hW : ∀ t, L ≤ t → HasDerivAt W (radialExteriorODEField ν n t (W t)) t) + (heZ : HasRadialOutgoingExpansion ν n m Z) + (heW : HasRadialOutgoingExpansion ν n m W) : + ∀ᶠ t in atTop, Z t=W t := by + obtain ⟨j,v,T,hj,hv⟩ := heZ + obtain ⟨k,w,U,hk,hw⟩ := heW + let V := max L (max T U) + have hVL : L ≤ V := le_max_left _ _ + have hVT : T ≤ V := (le_max_left T U).trans (le_max_right L _) + have hVU : U ≤ V := (le_max_right T U).trans (le_max_right L _) + have hz : ∀ t, V ≤ t → HasDerivAt Z + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+ + radialExteriorErrorMatrix ν (Z t)+(0,oddPowerNonlinearity n (Z t).1)) t := by + intro t ht + simpa only [radialExteriorODEField_split] using hZ t (hVL.trans ht) + have hw' : ∀ t, V ≤ t → HasDerivAt W + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(W t).2)+ + radialExteriorErrorMatrix ν (W t)+(0,oddPowerNonlinearity n (W t).1)) t := by + intro t ht + simpa only [radialExteriorODEField_split] using hW t (hVL.trans ht) + rcases le_total j k with hjk | hkj + · exact radialExterior_ordered_outgoing_unique ν n m j k hjk v w Z W V hz hw' + (fun t ht => hv t (hVT.trans ht)) (fun t ht => hw t (hVU.trans ht)) hj + · exact (radialExterior_ordered_outgoing_unique ν n m k j hkj w v W Z V hw' hz + (fun t ht => hw t (hVU.trans ht)) (fun t ht => hv t (hVT.trans ht)) hk).mono + (fun _ h => h.symm) + +theorem exists_radialExterior_outgoing (ν m : ℂ) (n : ℕ) (hm : m ≠ 0) : + ∃ T : ℝ, ∃ Z : ℝ → ℂ × ℂ, Continuous Z ∧ HasRadialOutgoingExpansion ν n m Z ∧ + (∀ t, T ≤ t → (Z t).1 ≠ 0) ∧ + ∀ t, T ≤ t → HasDerivAt Z (radialExteriorODEField ν n t (Z t)) t := by + let δ := ‖m‖/2 + have hm0 : 0 < ‖m‖ := norm_pos_iff.mpr hm + have hd : 0 < δ := by dsimp [δ]; positivity + obtain ⟨S,_,hmem,T,_,j,v,_,hmargin,_,_,_,hODE⟩ := + exists_radialExterior_local_family ν m n δ hd (by dsimp [δ]; linarith) + let z : S := ⟨(ν,m),hmem⟩ + let Z := fun t => radialPolynomialJet (radialExteriorExpansion ν n m j) t+ + radialExteriorUnweight (2*(j : ℝ)) (v z) t + have hκ : radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*‖m‖^(2*n) < 2*(j : ℝ) := by + calc + _ ≤ radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n) := by + gcongr + linarith + _ ≤ radialExteriorMatrixBound ν+radialExteriorCutoffRate n m δ := by + unfold radialExteriorCutoffRate + have hpos : 0 ≤ (2*(n : ℝ)+1)*(‖m‖+2*δ)^(2*n) := by positivity + nlinarith + _ < _ := hmargin z + refine ⟨T,Z,continuous_radialExterior_polynomialCorrection _ _ _, + ⟨j,v z,T,hκ,fun _ _ => rfl⟩,?_,?_⟩ + · intro t ht + exact (hODE z t ht).1 + · intro t ht + exact (hODE z t ht).2.1.prodMk (hODE z t ht).2.2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingContinuation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingContinuation.lean new file mode 100644 index 0000000000000000000000000000000000000000..ddae4d13766f938186af58b5801ab4065e111939 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingContinuation.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorOutgoingLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExtendedTail + +namespace OAI + +/-! Continue the H-convergent nonlinear family without losing its outgoing class. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_radialExterior_outgoing_extended (ν m : ℕ → ℂ) (q m₀ : ℂ) + (hq : -1 < q.re) (hν : Tendsto ν atTop (nhds (-2*q))) + (hm : Tendsto m atTop (nhds m₀)) (δ ρ l : ℝ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) (hρ : ρ < 1) + (hupper : ∀ t, l ≤ t → ‖(radialFreeSlowJet q m₀ t).1‖+2*δ ≤ ρ) + (hlower : ∀ t, l ≤ t → δ < ‖(radialFreeSlowJet q m₀ t).1‖) : + ∃ Z : ℕ → ℝ → ℂ × ℂ, + TendstoUniformlyOn Z (radialFreeSlowJet q m₀) atTop (Ici l) ∧ + (∀ n, Continuous (Z n)) ∧ + (∀ᶠ n in atTop, HasRadialOutgoingExpansion (ν n) n (m n) (Z n)) ∧ + ∀ᶠ n in atTop, ∀ t, l ≤ t → (Z n t).1 ≠ 0 ∧ + HasDerivAt (Z n) (radialExteriorODEField (ν n) n t (Z n t)) t := by + obtain ⟨S,_,Y,hYconv,hYc,hYout,hY⟩ := + exists_radialExterior_outgoing_H_limit ν m q m₀ hq hν hm δ hδ hδm hsmall + let U := max S l + have hSU : S ≤ U := le_max_left _ _ + have hlU : l ≤ U := le_max_right _ _ + have hgc : Continuous (radialFreeSlowJet q m₀) := + (show Differentiable ℝ (radialFreeSlowJet q m₀) from + fun t => (radialFreeSlowJet_hasDerivAt q m₀ hq t).differentiableAt).continuous + obtain ⟨X,hX,hXconv,hXactual⟩ := exists_radialExterior_finite_limit ν (-2*q) hν + (radialFreeSlowJet q m₀) hgc δ ρ U (U-l) hδ (sub_nonneg.mpr hlU) hρ + (fun t ht => hupper t (by linarith [ht.1])) + (fun t ht => hlower t (by linarith [ht.1])) + (fun t _ => radialFreeSlowJet_hasDerivAt q m₀ hq t) + (fun n => Y n U) (hYconv.tendsto_at hSU) + let Z : ℕ → ℝ → ℂ × ℂ := fun n => radialExteriorSplice U (X n) (Y n) + have hXconv' : TendstoUniformlyOn X (radialFreeSlowJet q m₀) atTop (Icc l U) := by + simpa only [sub_sub_cancel] using hXconv + refine ⟨Z,radialExteriorSplice_uniform_limit l U X Y _ hXconv' + (hYconv.mono (fun t ht => hSU.trans ht)),?_,?_,?_⟩ + · intro n + exact radialExteriorSplice_continuous U (X n) (Y n) (hX n).1 (hYc n) (hX n).2 + · filter_upwards [hYout] with n hn + apply hn.congr + filter_upwards [eventually_gt_atTop U] with t ht + simp only [Z,radialExteriorSplice,not_le.mpr ht,ite_false] + · filter_upwards [hY,hXactual] with n hnY hnX t ht + have hnn : (Z n t).1 ≠ 0 := by + by_cases h : t ≤ U + · simpa only [Z,radialExteriorSplice,ite_eq_left h] using + (hnX t ⟨by linarith,h⟩).1 + · simpa only [Z,radialExteriorSplice,ite_eq_right h] using + (hnY t (hSU.trans (not_le.mp h).le)).1 + refine ⟨hnn,?_⟩ + apply radialExteriorSplice_hasDerivAt U t (X n) (Y n) (radialExteriorODEField (ν n) n) + · intro h + exact (hnX t ⟨by linarith,h⟩).2 + · intro h + exact (hnY t (hSU.trans h)).2 + · exact (hX n).2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..1254194c77360879beb1490488da5585ed10ec82 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingLimit.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorHLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorOutgoing + +namespace OAI + +/-! The H limit retains the nonlinear outgoing expansion and continuity data. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_radialExterior_outgoing_H_limit (ν m : ℕ → ℂ) (q m₀ : ℂ) + (hq : -1 < q.re) (hν : Tendsto ν atTop (nhds (-2*q))) + (hm : Tendsto m atTop (nhds m₀)) (δ : ℝ) + (hδ : 0 < δ) (hδm : δ < ‖m₀‖) (hsmall : ‖m₀‖+2*δ < 1) : + ∃ S : ℝ, 0 ≤ S ∧ ∃ Z : ℕ → ℝ → ℂ × ℂ, + TendstoUniformlyOn Z (radialFreeSlowJet q m₀) atTop (Ici S) ∧ + (∀ n, Continuous (Z n)) ∧ + (∀ᶠ n in atTop, HasRadialOutgoingExpansion (ν n) n (m n) (Z n)) ∧ + ∀ᶠ n in atTop, ∀ t, S ≤ t → (Z n t).1 ≠ 0 ∧ + HasDerivAt (Z n) (radialExteriorODEField (ν n) n t (Z n t)) t := by + obtain ⟨T,hT,Z,Z₀,hconv,_,_,⟨j,w,hκ,heq⟩,⟨k,v,hrep,hmargin⟩,hfree,hactual⟩ := + exists_radialExterior_common_tail_data ν m (-2*q) m₀ hν hm δ hδ hδm hsmall + have hj : j ≠ 0 := by + intro hj + rw [hj,Nat.cast_zero,mul_zero] at hκ + exact (not_lt_of_ge (radialExteriorMatrixBound_pos (-2*q)).le) hκ + obtain ⟨j,rfl⟩ := Nat.exists_eq_succ_of_ne_zero hj + let S := max T (max 0 (Real.log 4/2)) + have hident : ∀ t, S ≤ t → Z₀ t=radialFreeSlowJet q m₀ t := by + intro t ht + rw [heq] + apply radialExterior_free_correction_eq_H q m₀ hq j T w hκ ?_ t ht + intro r hr + have hh := (hfree r hr).1.prodMk (hfree r hr).2 + rw [heq] at hh + apply hh.congr_deriv + apply Prod.ext + · simp [radialExteriorErrorMatrix] + · simp only [radialExteriorErrorMatrix,ContinuousLinearMap.prod_apply, + neg_apply,add_apply,smul_apply,ContinuousLinearMap.coe_fst', + ContinuousLinearMap.coe_snd',smul_eq_mul,Prod.snd_add] + ring + have hS : 0 ≤ S := hT.trans (le_max_left _ _) + refine ⟨S,hS,Z,?_,?_,?_,?_⟩ + · exact (hconv.mono (fun t ht => hS.trans ht)).congr_right (fun t ht => hident t ht) + · intro n + rw [hrep n] + exact continuous_radialExterior_polynomialCorrection _ _ _ + · filter_upwards [hmargin,(tendsto_iff_norm_sub_tendsto_zero.mp hm).eventually + (gt_mem_nhds hδ)] with n hn hmn + refine ⟨k,v n,0,?_,fun t _ => congrFun (hrep n) t⟩ + have hmnorm : ‖m n‖ ≤ ‖m₀‖+2*δ := by + have ht := norm_le_norm_sub_add (m n) m₀ + linarith + apply lt_of_le_of_lt _ hn + apply add_le_add le_rfl + calc + _ ≤ (2*(n : ℝ)+1)*(‖m₀‖+2*δ)^(2*n) := by + gcongr + _ ≤ radialExteriorCutoffRate n m₀ δ := by + unfold radialExteriorCutoffRate + have hpos : 0 ≤ (2*(n : ℝ)+1)*(‖m₀‖+2*δ)^(2*n) := by positivity + nlinarith + · filter_upwards [hactual] with n hn t ht + exact ⟨(hn t ((le_max_left T _).trans ht)).1, + (hn t ((le_max_left T _).trans ht)).2.1.prodMk + (hn t ((le_max_left T _).trans ht)).2.2⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..5f6fc3c788b2a5966be92c5853c4304f3c9d0155 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorOutgoingUniqueness.lean @@ -0,0 +1,124 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExpansionCompatibility +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUniformTail + +namespace OAI + +/-! The nonlinear outgoing solution is independent of its asymptotic truncation order. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_corrected_orders_difference (ν : ℂ) (n : ℕ) (m : ℂ) + (j k : ℕ) (hjk : j ≤ k) (v w : ℝ →ᵇ ℂ × ℂ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ t, 0 ≤ t → + ‖(radialPolynomialJet (radialExteriorExpansion ν n m j) t+ + radialExteriorUnweight (2*(j : ℝ)) v t)- + (radialPolynomialJet (radialExteriorExpansion ν n m k) t+ + radialExteriorUnweight (2*(k : ℝ)) w t)‖ ≤ + C*Real.exp (-(2*(j : ℝ))*t) := by + obtain ⟨C,hC,hP⟩ := radialExteriorExpansion_jet_difference_decay ν n m j k hjk + refine ⟨C+‖v‖+‖w‖,by positivity,?_⟩ + intro t ht + have hE : Real.exp (-(2*(k : ℝ))*t) ≤ Real.exp (-(2*(j : ℝ))*t) := by + apply Real.exp_le_exp.mpr + have hjk' : (j : ℝ) ≤ k := by exact_mod_cast hjk + nlinarith + have he : (radialPolynomialJet (radialExteriorExpansion ν n m j) t+ + radialExteriorUnweight (2*(j : ℝ)) v t)- + (radialPolynomialJet (radialExteriorExpansion ν n m k) t+ + radialExteriorUnweight (2*(k : ℝ)) w t) = + (radialPolynomialJet (radialExteriorExpansion ν n m j) t- + radialPolynomialJet (radialExteriorExpansion ν n m k) t)+ + radialExteriorUnweight (2*(j : ℝ)) v t- + radialExteriorUnweight (2*(k : ℝ)) w t := by abel + rw [he] + calc + _ ≤ ‖radialPolynomialJet (radialExteriorExpansion ν n m j) t- + radialPolynomialJet (radialExteriorExpansion ν n m k) t‖+ + ‖radialExteriorUnweight (2*(j : ℝ)) v t‖+ + ‖radialExteriorUnweight (2*(k : ℝ)) w t‖ := + (norm_sub_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) + _ ≤ C*Real.exp (-(2*(j : ℝ))*t)+ + Real.exp (-(2*(j : ℝ))*t)*‖v‖+ + Real.exp (-(2*(k : ℝ))*t)*‖w‖ := by + apply add_le_add + · apply add_le_add + · simpa only [norm_sub_rev] using hP t ht + · exact radialExteriorUnweight_norm _ _ v ‖v‖ (v.norm_coe_le_norm t) + · exact radialExteriorUnweight_norm _ _ w ‖w‖ (w.norm_coe_le_norm t) + _ ≤ C*Real.exp (-(2*(j : ℝ))*t)+ + Real.exp (-(2*(j : ℝ))*t)*‖v‖+ + Real.exp (-(2*(j : ℝ))*t)*‖w‖ := + add_le_add le_rfl (mul_le_mul_of_nonneg_right hE (norm_nonneg _)) + _ = _ := by ring + +theorem radialExterior_ordered_outgoing_unique (ν : ℂ) (n : ℕ) (m : ℂ) + (j k : ℕ) (hjk : j ≤ k) (v w : ℝ →ᵇ ℂ × ℂ) + (Z W : ℝ → ℂ × ℂ) (T : ℝ) + (hZ : ∀ t, T ≤ t → HasDerivAt Z + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Z t).2)+ + radialExteriorErrorMatrix ν (Z t)+(0,oddPowerNonlinearity n (Z t).1)) t) + (hW : ∀ t, T ≤ t → HasDerivAt W + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(W t).2)+ + radialExteriorErrorMatrix ν (W t)+(0,oddPowerNonlinearity n (W t).1)) t) + (heZ : ∀ t, T ≤ t → Z t=radialPolynomialJet (radialExteriorExpansion ν n m j) t+ + radialExteriorUnweight (2*(j : ℝ)) v t) + (heW : ∀ t, T ≤ t → W t=radialPolynomialJet (radialExteriorExpansion ν n m k) t+ + radialExteriorUnweight (2*(k : ℝ)) w t) + (hκ : radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*‖m‖^(2*n) < 2*(j : ℝ)) : + ∀ᶠ t in atTop, Z t=W t := by + have hκ0 : 0 < 2*(j : ℝ) := lt_of_lt_of_le (radialExteriorMatrixBound_pos ν) + (by have h := pow_nonneg (norm_nonneg m) (2*n); nlinarith) + have hκk : 0 < 2*(k : ℝ) := by + have hjk' : (j : ℝ) ≤ k := by exact_mod_cast hjk + linarith + have hZlim : Tendsto Z atTop (nhds (m,0)) := by + have hh : Tendsto (fun t => radialPolynomialJet (radialExteriorExpansion ν n m j) t+ + radialExteriorUnweight (2*(j : ℝ)) v t) atTop (nhds (m,0)) := by + simpa only [radialExteriorExpansion_constant] using + radialExterior_corrected_jet_tendsto _ hκ0 (radialExteriorExpansion ν n m j) v + apply hh.congr' + filter_upwards [eventually_ge_atTop T] with t ht + exact (heZ t ht).symm + have hWlim : Tendsto W atTop (nhds (m,0)) := by + have hh : Tendsto (fun t => radialPolynomialJet (radialExteriorExpansion ν n m k) t+ + radialExteriorUnweight (2*(k : ℝ)) w t) atTop (nhds (m,0)) := by + simpa only [radialExteriorExpansion_constant] using + radialExterior_corrected_jet_tendsto _ hκk (radialExteriorExpansion ν n m k) w + apply hh.congr' + filter_upwards [eventually_ge_atTop T] with t ht + exact (heW t ht).symm + have hcont : Continuous (fun ρ : ℝ => radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*ρ^(2*n)) := by + fun_prop + obtain ⟨ε,hε,hεbound⟩ := Metric.eventually_nhds_iff.mp + (hcont.continuousAt.eventually (gt_mem_nhds hκ)) + let ρ := ‖m‖+ε/2 + have hρm : ‖m‖ < ρ := by dsimp [ρ]; linarith + have hρ : 0 ≤ ρ := (norm_nonneg m).trans hρm.le + have hρbound : radialExteriorMatrixBound ν+(2*(n : ℝ)+1)*ρ^(2*n) < 2*(j : ℝ) := by + apply hεbound + rw [Real.dist_eq] + dsimp [ρ] + rw [add_sub_cancel_left,abs_of_pos (by positivity : 0 < ε/2)] + linarith + have hZnorm : ∀ᶠ t in atTop, ‖(Z t).1‖ < ρ := by + have hh := ((continuous_fst.tendsto (m,0)).comp hZlim).norm + exact hh.eventually (gt_mem_nhds hρm) + have hWnorm : ∀ᶠ t in atTop, ‖(W t).1‖ < ρ := by + have hh := ((continuous_fst.tendsto (m,0)).comp hWlim).norm + exact hh.eventually (gt_mem_nhds hρm) + obtain ⟨S,hS⟩ := eventually_atTop.mp + (((eventually_ge_atTop T).and (eventually_ge_atTop (0 : ℝ))).and (hZnorm.and hWnorm)) + obtain ⟨C,_,hdec⟩ := radialExterior_corrected_orders_difference ν n m j k hjk v w + filter_upwards [eventually_ge_atTop S] with t ht + apply radialExterior_nonlinear_fast_decay_unique ν n Z W ρ (2*(j : ℝ)) C S hρ + (fun s hs => hZ s (hS s hs).1.1) (fun s hs => hW s (hS s hs).1.1) + (fun s hs => (hS s hs).2.1.le) (fun s hs => (hS s hs).2.2.le) ?_ hρbound t ht + intro s hs + rw [heZ s (hS s hs).1.1,heW s (hS s hs).1.1] + exact hdec s (hS s hs).1.2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameter.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameter.lean new file mode 100644 index 0000000000000000000000000000000000000000..50b206cd063bf223deb34ee9b8f65a14eedde0cc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameter.lean @@ -0,0 +1,147 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorBoundedFamily +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorJetLimit + +namespace OAI + +/-! Fixed-power continuity of the actual exterior expansion and residual coefficients. -/ + +open Polynomial Set Filter +namespace DefocusingNLS + +theorem continuous_radialPolynomial_mul_coeff + (P Q : ℂ × ℂ → ℂ[X]) + (hP : ∀ k, Continuous (fun z => (P z).coeff k)) + (hQ : ∀ k, Continuous (fun z => (Q z).coeff k)) (k : ℕ) : + Continuous (fun z => (P z*Q z).coeff k) := by + simp_rw [coeff_mul] + exact continuous_finsetSum _ (fun i _ => (hP i.1).mul (hQ i.2)) + +theorem continuous_radialPolynomial_pow_coeff (P : ℂ × ℂ → ℂ[X]) + (hP : ∀ k, Continuous (fun z => (P z).coeff k)) (n k : ℕ) : + Continuous (fun z => ((P z)^n).coeff k) := by + induction n generalizing k with + | zero => simp only [pow_zero]; exact continuous_const + | succ n ih => + simp only [pow_succ] + exact continuous_radialPolynomial_mul_coeff _ P ih hP k + +theorem continuous_radialPolynomialPower_coeff (P : ℂ × ℂ → ℂ[X]) + (hP : ∀ k, Continuous (fun z => (P z).coeff k)) (n k : ℕ) : + Continuous (fun z => (radialPolynomialPower n (P z)).coeff k) := by + apply continuous_radialPolynomial_mul_coeff + (fun z => (P z)^(n+1)) + (fun z => (Polynomial.mapRingHom (starRingEnd ℂ) (P z))^n) + (fun j => continuous_radialPolynomial_pow_coeff P hP (n+1) j) + (fun j => continuous_radialPolynomial_pow_coeff _ ?_ n j) k + intro j + simpa only [Polynomial.coe_mapRingHom,coeff_map] using! (hP j).star + +theorem continuous_radialExteriorExpansion_coeff (n j k : ℕ) : + Continuous (fun z : ℂ × ℂ => (radialExteriorExpansion z.1 n z.2 j).coeff k) := by + induction j generalizing k with + | zero => + simp only [radialExteriorExpansion,coeff_C] + split_ifs <;> fun_prop + | succ j ih => + simp only [radialExteriorExpansion_step,coeff_add,coeff_monomial] + apply Continuous.add (ih k) + split_ifs + · exact (((continuous_fst.sub continuous_const).mul + (continuous_fst.add continuous_const |>.sub continuous_const)).mul (ih j) |>.sub + (continuous_radialPolynomialPower_coeff _ ih n j)).div_const _ + · exact continuous_const + +theorem continuous_radialExteriorResidual_coeff (n j k : ℕ) : + Continuous (fun z : ℂ × ℂ => + (radialExteriorPolynomialResidual z.1 n (radialExteriorExpansion z.1 n z.2 j)).coeff k) := by + simp only [radialExteriorPolynomialResidual,coeff_sub,coeff_add,coeff_C_mul, + radialPolynomialEuler_coeff,coeff_derivative] + apply Continuous.sub + · have h₀ := continuous_radialExteriorExpansion_coeff n j k + have h₁ := continuous_radialExteriorExpansion_coeff n j (k+1) + fun_prop + · exact continuous_radialPolynomialPower_coeff _ (continuous_radialExteriorExpansion_coeff n j) n k + +theorem radialExteriorExpansion_fixed_power_limit (n j : ℕ) + (z : ℕ → ℂ × ℂ) (z₀ : ℂ × ℂ) (hz : Tendsto z atTop (nhds z₀)) : + TendstoUniformlyOn + (fun i x => (radialExteriorExpansion (z i).1 n (z i).2 j).eval x) + (fun x => (radialExteriorExpansion z₀.1 n z₀.2 j).eval x) + atTop (Metric.closedBall (0 : ℂ) 1) := by + apply radialPolynomial_eval_tendstoUniformly _ _ j + (Eventually.of_forall (fun i => radialExteriorExpansion_degree _ _ _ _)) + (radialExteriorExpansion_degree _ _ _ _) + intro k _ + exact (continuous_radialExteriorExpansion_coeff n j k).continuousAt.tendsto.comp hz + +theorem radialExteriorBase_fixed_power_limit (n j : ℕ) (T : ℝ) (hT : 0 ≤ T) + (z : ℕ → ℂ × ℂ) (z₀ : ℂ × ℂ) (hz : Tendsto z atTop (nhds z₀)) : + Tendsto (fun i => boundedRadialPolynomialAfter T + (radialExteriorExpansion (z i).1 n (z i).2 j)) atTop + (nhds (boundedRadialPolynomialAfter T (radialExteriorExpansion z₀.1 n z₀.2 j))) := by + exact boundedRadialPolynomialAfter_limit T 1 + (Real.exp_le_one_iff.mpr (by nlinarith)) _ _ + (radialExteriorExpansion_fixed_power_limit n j z z₀ hz) + +theorem radialExteriorResidual_degree (ν m : ℂ) (n j : ℕ) : + (radialExteriorPolynomialResidual ν n (radialExteriorExpansion ν n m j)).natDegree ≤ + (2*n+1)*j := by + let P := radialExteriorExpansion ν n m j + have hP : P.natDegree ≤ j := radialExteriorExpansion_degree _ _ _ _ + have hE := radialPolynomialEuler_degree P j hP + have hEE := radialPolynomialEuler_degree (radialPolynomialEuler P) j hE + have hN : (radialPolynomialPower n P).natDegree ≤ (2*n+1)*j := by + unfold radialPolynomialPower + apply natDegree_mul_le.trans + have hmap : (Polynomial.mapRingHom (starRingEnd ℂ) P).natDegree ≤ j := + natDegree_map_le.trans hP + calc + _ ≤ (n+1)*j+n*j := add_le_add (natDegree_pow_le_of_le _ hP) + (natDegree_pow_le_of_le _ hmap) + _ = _ := by ring + have hlin : (radialPolynomialEuler (radialPolynomialEuler P)+ + C (2*ν+10)*radialPolynomialEuler P+C (ν*(ν+10))*P- + C Complex.I*P.derivative).natDegree ≤ j := by + apply (natDegree_sub_le _ _).trans + apply max_le + · apply (natDegree_add_le _ _).trans + apply max_le + · exact (natDegree_add_le _ _).trans + (max_le hEE ((natDegree_C_mul_le _ _).trans hE)) + · exact (natDegree_C_mul_le _ _).trans hP + · exact (natDegree_C_mul_le _ _).trans + ((natDegree_derivative_le _).trans ((Nat.sub_le _ _).trans hP)) + exact (natDegree_sub_le _ _).trans + (max_le (hlin.trans (by nlinarith [Nat.zero_le (n*j)])) hN) + +theorem radialExteriorResidual_fixed_power_limit (n j : ℕ) + (z : ℕ → ℂ × ℂ) (z₀ : ℂ × ℂ) (hz : Tendsto z atTop (nhds z₀)) : + TendstoUniformlyOn + (fun i x => (radialExteriorPolynomialResidual (z i).1 n + (radialExteriorExpansion (z i).1 n (z i).2 j)).eval x) + (fun x => (radialExteriorPolynomialResidual z₀.1 n + (radialExteriorExpansion z₀.1 n z₀.2 j)).eval x) + atTop (Metric.closedBall (0 : ℂ) 1) := by + apply radialPolynomial_eval_tendstoUniformly _ _ ((2*n+1)*j) + (Eventually.of_forall (fun i => radialExteriorResidual_degree _ _ _ _)) + (radialExteriorResidual_degree _ _ _ _) + intro k _ + exact (continuous_radialExteriorResidual_coeff n j k).continuousAt.tendsto.comp hz + +theorem radialExteriorSource_fixed_power_limit (n j : ℕ) (T : ℝ) (hT : 0 ≤ T) + (z : ℕ → ℂ × ℂ) (z₀ : ℂ × ℂ) (hz : Tendsto z atTop (nhds z₀)) + (R : ℕ → ℂ[X]) (R₀ : ℂ[X]) + (hR : ∀ i, radialExteriorPolynomialResidual (z i).1 n + (radialExteriorExpansion (z i).1 n (z i).2 j)=X^j*R i) + (hR₀ : radialExteriorPolynomialResidual z₀.1 n + (radialExteriorExpansion z₀.1 n z₀.2 j)=X^j*R₀) : + Tendsto (fun i => boundedRadialResidualAfter T (R i)) atTop + (nhds (boundedRadialResidualAfter T R₀)) := by + apply boundedRadialResidualAfter_limit T 1 + (Real.exp_le_one_iff.mpr (by nlinarith)) _ _ + exact radialPolynomial_quotient_uniform_limit _ _ _ _ j 1 (by norm_num) hR hR₀ + (radialExteriorResidual_fixed_power_limit n j z z₀ hz) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameterContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameterContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..27379bd927d73e9fe10941e12bb79da18485d39e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameterContinuity.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorParameterLimit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.OddPowerMixedIncrement +import Mathlib.Topology.Sequences + +namespace OAI + +/-! The actual fixed-power outgoing correction varies continuously with its parameters. -/ + +open Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem continuous_radialExterior_corrections (S : Set (ℂ × ℂ)) + (n : ℕ) (m : ℂ) (δ κ : ℝ) (hδ : 0 < δ) + (ν : S → ℂ) (hν : Continuous ν) + (f : S → ℝ →ᵇ ℂ) (hf : Continuous f) + (r : S → ℝ →ᵇ ℂ × ℂ) (hr : Continuous r) + (hκ : ∀ z, radialExteriorMatrixBound (ν z)+radialExteriorCutoffRate n m δ < κ) + (hbase : ∀ z t, ‖f z t-m‖ ≤ δ/4) + (v : S → ℝ →ᵇ ℂ × ℂ) + (hv : ∀ z t, v z t=radialExteriorTailIntegral κ + (fun s => radialExteriorErrorField κ (ν z) (radialExteriorCutoffPower n m δ) + (f z) (r z) s (v z s)) t) : + Continuous v := by + obtain ⟨C,hC,hbound⟩ := exists_oddPower_mixed_increment_bound n (‖m‖+δ) + (by positivity) + apply SeqContinuous.continuous + intro z z₀ hz + exact radialExterior_tail_parameter_limit n m δ κ C hδ hC hbound + (fun i => ν (z i)) (ν z₀) (hν.continuousAt.tendsto.comp hz) (hκ z₀) + (fun i => f (z i)) (f z₀) (hf.continuousAt.tendsto.comp hz) (hbase z₀) + (fun i => r (z i)) (r z₀) (hr.continuousAt.tendsto.comp hz) + (fun i => v (z i)) (v z₀) + (Eventually.of_forall (fun i => hv (z i))) (hv z₀) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameterLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameterLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..58c21038c31af0fa9a557afb1a2d2aeb741b0eba --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorParameterLimit.lean @@ -0,0 +1,117 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightedParameter +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailLimit + +namespace OAI + +/-! Continuity of the actual weighted tail fixed points at a fixed nonlinearity power. -/ + +open Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_tail_parameter_limit + (n : ℕ) (m : ℂ) (δ κ C : ℝ) (hδ : 0 < δ) (hC : 0 ≤ C) + (hmixed : ∀ a b h : ℂ, ‖a‖ ≤ ‖m‖+δ → ‖b‖ ≤ ‖m‖+δ → ‖h‖ ≤ ‖m‖+δ → + ‖(oddPowerNonlinearity n (a+h)-oddPowerNonlinearity n a)- + (oddPowerNonlinearity n (b+h)-oddPowerNonlinearity n b)‖ ≤ C*‖a-b‖*‖h‖) + (ν : ℕ → ℂ) (ν₀ : ℂ) (hν : Tendsto ν atTop (nhds ν₀)) + (hκ : radialExteriorMatrixBound ν₀+radialExteriorCutoffRate n m δ < κ) + (f : ℕ → ℝ →ᵇ ℂ) (f₀ : ℝ →ᵇ ℂ) (hf : Tendsto f atTop (nhds f₀)) + (hbase : ∀ t, ‖f₀ t-m‖ ≤ δ/4) + (r : ℕ → ℝ →ᵇ ℂ × ℂ) (r₀ : ℝ →ᵇ ℂ × ℂ) (hr : Tendsto r atTop (nhds r₀)) + (v : ℕ → ℝ →ᵇ ℂ × ℂ) (w : ℝ →ᵇ ℂ × ℂ) + (hv : ∀ᶠ i in atTop, ∀ t, v i t=radialExteriorTailIntegral κ + (fun s => radialExteriorErrorField κ (ν i) (radialExteriorCutoffPower n m δ) + (f i) (r i) s (v i s)) t) + (hw : ∀ t, w t=radialExteriorTailIntegral κ + (fun s => radialExteriorErrorField κ ν₀ (radialExteriorCutoffPower n m δ) + f₀ r₀ s (w s)) t) : + Tendsto v atTop (nhds w) := by + let L := radialExteriorCutoffRate n m δ + have hL : 0 ≤ L := radialExteriorCutoffRate_nonneg n m δ + have hκ0 : 0 < κ := lt_of_lt_of_le (radialExteriorMatrixBound_pos ν₀) + (by linarith) + have hdec : Tendsto (fun t : ℝ => Real.exp (-κ*t)*‖w‖) atTop (nhds 0) := by + have hh := (Real.tendsto_exp_neg_atTop_nhds_zero.comp + (tendsto_id.const_mul_atTop hκ0)).mul_const ‖w‖ + simpa only [Function.comp_def,id_eq,neg_mul,zero_mul] using hh + obtain ⟨T,hT⟩ := (hdec.eventually (gt_mem_nhds (show 0 < δ/2 by positivity))).exists + let K := 2*L*Real.exp (κ*T)+C*‖w‖ + have hK : 0 ≤ K := by dsimp [K]; positivity + let B := fun i => radialExteriorMatrixBound (ν i)+L + let E := fun i => radialExteriorMatrixDifference (ν i) ν₀*‖w‖+ + K*‖f i-f₀‖+‖r i-r₀‖ + have hB : Tendsto B atTop (nhds (radialExteriorMatrixBound ν₀+L)) := by + have hc : Continuous radialExteriorMatrixBound := by unfold radialExteriorMatrixBound; fun_prop + exact (hc.continuousAt.tendsto.comp hν).add_const L + have hD : Tendsto (fun i => radialExteriorMatrixDifference (ν i) ν₀) atTop (nhds 0) := by + have hc : Continuous (fun z => radialExteriorMatrixDifference z ν₀) := by + unfold radialExteriorMatrixDifference + fun_prop + simpa only [Function.comp_def,radialExteriorMatrixDifference,sub_self,norm_zero,add_zero] + using hc.continuousAt.tendsto.comp hν + have hE : Tendsto E atTop (nhds 0) := by + simpa only [E,zero_mul,mul_zero,add_zero] using + ((hD.mul_const ‖w‖).add ((tendsto_iff_norm_sub_tendsto_zero.mp hf).const_mul K)).add + (tendsto_iff_norm_sub_tendsto_zero.mp hr) + have he : ∀ᶠ i in atTop, B i < κ := hB.eventually (gt_mem_nhds hκ) + have hfnear : ∀ᶠ i in atTop, ∀ t, ‖f i t-m‖ ≤ δ/2 := by + filter_upwards [(tendsto_iff_norm_sub_tendsto_zero.mp hf).eventually + (gt_mem_nhds (show 0 < δ/4 by positivity))] with i hi t + have hn := (f i-f₀).norm_coe_le_norm t + have ht := hbase t + have hb : ‖f i t-m‖ ≤ ‖f i t-f₀ t‖+‖f₀ t-m‖ := by + simpa only [dist_eq_norm] using dist_triangle (f i t) (f₀ t) m + change ‖f i t-f₀ t‖ ≤ ‖f i-f₀‖ at hn + linarith + have hquot : Tendsto (fun i => E i/(κ-B i)) atTop (nhds 0) := by + have hh := hE.div (tendsto_const_nhds.sub hB) (sub_pos.mpr hκ).ne' + simpa only [Pi.div_apply,zero_div] using! hh + apply tendsto_iff_norm_sub_tendsto_zero.mpr + apply squeeze_zero' (Eventually.of_forall (fun _ => norm_nonneg _)) _ hquot + filter_upwards [he,hfnear,hv] with i hi hfi hvi + let N := radialExteriorErrorField κ (ν i) (radialExteriorCutoffPower n m δ) (f i) (r i) + let M := radialExteriorErrorField κ ν₀ (radialExteriorCutoffPower n m δ) f₀ r₀ + have hLip := radialExteriorCutoffPower_difference n m δ hδ.le + apply radialExterior_fixedPoint_difference κ (B i) + (radialExteriorMatrixBound ν₀+L) ‖r i‖ ‖r₀‖ (E i) hκ0 + (add_nonneg (radialExteriorMatrixBound_pos _).le hL) + (add_nonneg (radialExteriorMatrixBound_pos _).le hL) hi (by + dsimp [E,radialExteriorMatrixDifference]; positivity) N M + (radialExteriorErrorField_continuous κ (ν i) _ + (radialExteriorCutoffPower_continuous n m δ) _ (f i).continuous (r i)) + (radialExteriorErrorField_continuous κ ν₀ _ + (radialExteriorCutoffPower_continuous n m δ) _ f₀.continuous r₀) + (fun t => by simpa only [N,radialExteriorErrorField_zero] using (r i).norm_coe_le_norm t) + (fun t => by simpa only [M,radialExteriorErrorField_zero] using r₀.norm_coe_le_norm t) + (radialExteriorErrorField_difference κ L hL (ν i) _ hLip _ _) + (radialExteriorErrorField_difference κ L hL ν₀ _ hLip _ _) + (v i) w hvi hw + intro t + have hinc := radialWeightedIncrement_base_lipschitz n m δ κ T ‖w‖ C (‖m‖+δ) + hδ.le hκ0.le (norm_nonneg _) hC le_rfl hT.le hmixed (f i) f₀ t (w t).1 + (hfi t) ((hbase t).trans (by linarith)) + ((norm_fst_le (w t)).trans (w.norm_coe_le_norm t)) + have hinc' : ‖radialExteriorWeightedIncrement κ (radialExteriorCutoffPower n m δ) + (f i) t (w t).1-radialExteriorWeightedIncrement κ (radialExteriorCutoffPower n m δ) + f₀ t (w t).1‖ ≤ K*‖f i-f₀‖ := + hinc.trans (mul_le_mul_of_nonneg_left ((f i-f₀).norm_coe_le_norm t) hK) + have heq : N t (w t)-M t (w t) = + (radialExteriorErrorMatrix (ν i) (w t)-radialExteriorErrorMatrix ν₀ (w t))+ + (0,radialExteriorWeightedIncrement κ (radialExteriorCutoffPower n m δ) (f i) t (w t).1- + radialExteriorWeightedIncrement κ (radialExteriorCutoffPower n m δ) f₀ t (w t).1)+ + (r i t-r₀ t) := by + apply Prod.ext <;> dsimp [N,M,radialExteriorErrorField] <;> abel + rw [heq] + apply (@norm_add₃_le _ _ _ _ _).trans + apply add_le_add + · apply add_le_add + · exact (radialExteriorErrorMatrix_difference (ν i) ν₀ (w t)).trans + (mul_le_mul_of_nonneg_left (w.norm_coe_le_norm t) (by + unfold radialExteriorMatrixDifference; positivity)) + · simpa only [Prod.norm_def,norm_zero,max_eq_right (norm_nonneg _)] using hinc' + · exact (r i-r₀).norm_coe_le_norm t + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPicard.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPicard.lean new file mode 100644 index 0000000000000000000000000000000000000000..f5afa0749d626fae275517073d29685e5407add1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPicard.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorSource +import Mathlib.Topology.MetricSpace.Contracting + +namespace OAI + +/-! The nonlinear backward tail equation is a contraction when the weight exceeds the Lipschitz rate. -/ + +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialExteriorPicard (κ L C : ℝ) (hκ : 0 < κ) (hL : 0 ≤ L) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (v : ℝ →ᵇ ℂ × ℂ) : ℝ →ᵇ ℂ × ℂ := + boundedRadialExteriorTail κ hκ (boundedRadialExteriorSource L C hL N hN hN0 hLip v) + +theorem radialExteriorPicard_difference (κ L C : ℝ) (hκ : 0 < κ) (hL : 0 ≤ L) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (u v : ℝ →ᵇ ℂ × ℂ) : + ‖radialExteriorPicard κ L C hκ hL N hN hN0 hLip u- + radialExteriorPicard κ L C hκ hL N hN hN0 hLip v‖ ≤ (L/κ)*‖u-v‖ := by + calc + _ ≤ ‖boundedRadialExteriorSource L C hL N hN hN0 hLip u- + boundedRadialExteriorSource L C hL N hN hN0 hLip v‖/κ := + boundedRadialExteriorTail_difference κ hκ _ _ + _ ≤ (L*‖u-v‖)/κ := div_le_div_of_nonneg_right + (boundedRadialExteriorSource_difference L C hL N hN hN0 hLip u v) hκ.le + _ = _ := by ring + +theorem radialExteriorPicard_contracting (κ L C : ℝ) (hκ : 0 < κ) (hL : 0 ≤ L) (hLκ : L < κ) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) : + ContractingWith ⟨L/κ,div_nonneg hL hκ.le⟩ (radialExteriorPicard κ L C hκ hL N hN hN0 hLip) := by + refine ⟨?_,LipschitzWith.of_dist_le_mul ?_⟩ + · change L/κ < 1 + exact (div_lt_one hκ).mpr hLκ + · intro u v + rw [dist_eq_norm,dist_eq_norm] + exact radialExteriorPicard_difference κ L C hκ hL N hN hN0 hLip u v + +theorem existsUnique_radialExteriorTail (κ L C : ℝ) (hκ : 0 < κ) (hL : 0 ≤ L) (hLκ : L < κ) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) : + ∃! v : ℝ →ᵇ ℂ × ℂ, ∀ t, + v t=radialExteriorTailIntegral κ (fun s => N s (v s)) t := by + let P := radialExteriorPicard κ L C hκ hL N hN hN0 hLip + have hP := radialExteriorPicard_contracting κ L C hκ hL hLκ N hN hN0 hLip + refine ⟨hP.fixedPoint P,?_,?_⟩ + · intro t + exact congrArg (fun w : ℝ →ᵇ ℂ × ℂ => w t) hP.fixedPoint_isFixedPt.symm + · intro v hv + apply hP.fixedPoint_unique + apply BoundedContinuousFunction.ext + intro t + exact (hv t).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPolynomial.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPolynomial.lean new file mode 100644 index 0000000000000000000000000000000000000000..0a4d546401db60ec72482e7a4dcc3e790095295a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPolynomial.lean @@ -0,0 +1,91 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorNonlinearTail +import Mathlib.Algebra.Polynomial.Derivative +import Mathlib.Algebra.Polynomial.Div +import Mathlib.Algebra.Ring.GeomSum + +namespace OAI + +/-! Polynomial residuals for the exterior expansion in x = r⁻². -/ + +open Polynomial +namespace DefocusingNLS + +noncomputable def radialPolynomialEuler (P : ℂ[X]) : ℂ[X] := + C (-2)* (X*P.derivative) + +theorem radialPolynomialEuler_coeff (P : ℂ[X]) (k : ℕ) : + (radialPolynomialEuler P).coeff k=(-2*(k : ℂ))*P.coeff k := by + cases k with + | zero => simp [radialPolynomialEuler] + | succ k => + simp only [radialPolynomialEuler,coeff_C_mul,coeff_X_mul,coeff_derivative] + push_cast + ring + +noncomputable def radialPolynomialPower (n : ℕ) (P : ℂ[X]) : ℂ[X] := + P^(n+1)*(Polynomial.mapRingHom (starRingEnd ℂ) P)^n + +theorem radialPolynomialPower_difference_dvd (n k : ℕ) (P Q : ℂ[X]) + (h : X^k ∣ Q-P) : X^k ∣ radialPolynomialPower n Q-radialPolynomialPower n P := by + have hs : X^k ∣ Polynomial.mapRingHom (starRingEnd ℂ) Q- + Polynomial.mapRingHom (starRingEnd ℂ) P := by + have hs := map_dvd (Polynomial.mapRingHom (starRingEnd ℂ)) h + simpa only [map_sub,map_pow,Polynomial.coe_mapRingHom,Polynomial.map_X] using hs + have hp := h.trans (sub_dvd_pow_sub_pow Q P (n+1)) + have hsp := hs.trans (sub_dvd_pow_sub_pow + (Polynomial.mapRingHom (starRingEnd ℂ) Q) (Polynomial.mapRingHom (starRingEnd ℂ) P) n) + unfold radialPolynomialPower + rw [show Q^(n+1)*(Polynomial.mapRingHom (starRingEnd ℂ) Q)^n- + P^(n+1)*(Polynomial.mapRingHom (starRingEnd ℂ) P)^n = + (Q^(n+1)-P^(n+1))*(Polynomial.mapRingHom (starRingEnd ℂ) Q)^n+ + P^(n+1)*((Polynomial.mapRingHom (starRingEnd ℂ) Q)^n- + (Polynomial.mapRingHom (starRingEnd ℂ) P)^n) by ring] + exact dvd_add (dvd_mul_of_dvd_left hp _) (dvd_mul_of_dvd_right hsp _) + +noncomputable def radialExteriorPolynomialResidual (ν : ℂ) (n : ℕ) (P : ℂ[X]) : ℂ[X] := + radialPolynomialEuler (radialPolynomialEuler P)+C (2*ν+10)*radialPolynomialEuler P+ + C (ν*(ν+10))*P-C Complex.I*P.derivative-radialPolynomialPower n P + +theorem radialExteriorPolynomialResidual_low_difference (ν : ℂ) (n k : ℕ) (P Q : ℂ[X]) + (h : X^(k+1) ∣ Q-P) : + (radialExteriorPolynomialResidual ν n Q).coeff k- + (radialExteriorPolynomialResidual ν n P).coeff k = + -Complex.I*((Q-P).coeff (k+1)*(k+1 : ℕ)) := by + have he : Q.coeff k=P.coeff k := by + have he := (X_pow_dvd_iff.mp h) k (Nat.lt_succ_self k) + rw [coeff_sub] at he + exact sub_eq_zero.mp he + have hn : (radialPolynomialPower n Q).coeff k=(radialPolynomialPower n P).coeff k := by + have hn := X_pow_dvd_iff.mp (radialPolynomialPower_difference_dvd n (k+1) P Q h) + k (Nat.lt_succ_self k) + rw [coeff_sub] at hn + exact sub_eq_zero.mp hn + simp only [radialExteriorPolynomialResidual,coeff_sub,coeff_add,coeff_C_mul, + radialPolynomialEuler_coeff,coeff_derivative,he,hn] + push_cast + ring + +theorem radialExteriorPolynomialResidual_update (ν : ℂ) (n j k : ℕ) (P : ℂ[X]) (c : ℂ) + (hk : k ≤ j) : + (radialExteriorPolynomialResidual ν n (P+monomial (j+1) c)).coeff k = + (radialExteriorPolynomialResidual ν n P).coeff k- + if k=j then Complex.I*((j+1 : ℕ)*c) else 0 := by + have hd : X^(k+1) ∣ P+monomial (j+1) c-P := by + apply X_pow_dvd_iff.mpr + intro d hdk + have hne : j+1 ≠ d := by omega + simp [coeff_monomial,hne] + have he := radialExteriorPolynomialResidual_low_difference ν n k P + (P+monomial (j+1) c) hd + by_cases hkj : k=j + · subst k + simp only [coeff_monomial,ite_true,add_sub_cancel_left] at he ⊢ + linear_combination he + · have hne : j+1 ≠ k+1 := by omega + simp only [coeff_monomial,hne,ite_false,add_sub_cancel_left,zero_mul,mul_zero] at he + simp only [hkj,ite_false,sub_zero] + exact sub_eq_zero.mp he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..d46a3ce5c585ed5d55aa765ce012918da8351138 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureDerivative.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPressureIdentity + +namespace OAI + +/-! The exact Euler derivative of the exterior pressure. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_exterior_pressure_derivative (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : innerBoundaryRadius < r) : + let m := n+radialInnerShootingThreshold + let Z := radialExteriorCanonical (radialShootingNu m z) m (radialShootingM z) + (Real.log innerBoundaryRadius) + let ξ := (Z (Real.log r)).2/(Z (Real.log r)).1 + let P := fun t => ‖radialMatchedProfile n z t‖^(2*m)/radialShootingA n + r*deriv P r=P r*(-2+2*(m : ℝ)*ξ.re) := by + intro m Z ξ P + let A := fun t => ‖radialMatchedProfile n z t‖ + let ν := radialShootingNu m z + have hrp : 0 < r := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hr + have hmp : 0 < m := radialShootingInner_power_pos n (profileMatchingParameter z) + have hm0 : (m : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr hmp.ne' + have hAr : A r ≠ 0 := norm_ne_zero_iff.mpr + (radialMatchedProfile_ne_zero n z hX r hrp.le) + have hAs := ((radialMatchedAmplitude_contDiffOn n z hX hz) r hrp).contDiffAt + (Ioi_mem_nhds hrp) + have hdA : HasDerivAt A (deriv A r) r := (hAs.differentiableAt (by simp)).hasDerivAt + have hlog := radialMatchedAmplitude_logDerivative n z hX hz r hrp + rw [radialMatchedProfile_logDerivative n z hX hz r hr] at hlog + simp only [Complex.div_ofReal_re] at hlog + change deriv A r/A r=(ν+ξ).re/r at hlog + have hpower : (A r)^(2*m-1)=(A r)^(2*m)/A r := by + apply (eq_div_iff hAr).2 + rw [← pow_succ] + congr 1 + omega + have hdP := (hdA.pow (2*m)).div_const (radialShootingA n) + change HasDerivAt P _ r at hdP + have he : deriv P r=P r*(2*(m : ℝ))*(deriv A r/A r) := by + rw [hdP.deriv,hpower] + simp only [Nat.cast_mul,Nat.cast_ofNat] + dsimp only [P,A] + ring + have hν : ν.re= -1/(m : ℝ) := by + dsimp [ν,radialShootingNu,radialShootingQ] + simp [Complex.mul_re,Complex.mul_im] + ring + rw [he,hlog,Complex.add_re,hν] + field_simp [hrp.ne',hm0] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureIdentity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureIdentity.lean new file mode 100644 index 0000000000000000000000000000000000000000..c9781c688842f529b61c1cea657f3b10c0325313 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureIdentity.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorVelocity + +namespace OAI + +/-! Exact weighted pressure in terms of the outgoing canonical amplitude. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_exterior_pressure (n : ℕ) (z : ProfileMatchingBall) + (r : ℝ) (hr : innerBoundaryRadius < r) : + let m := n+radialInnerShootingThreshold + let Z := radialExteriorCanonical (radialShootingNu m z) m (radialShootingM z) + (Real.log innerBoundaryRadius) + r^2*(‖radialMatchedProfile n z r‖^(2*m)/radialShootingA n)= + 2*(m : ℝ)*‖(Z (Real.log r)).1‖^(2*m) := by + intro m Z + have hrp : 0 < r := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hr + have hmp : 0 < m := radialShootingInner_power_pos n (profileMatchingParameter z) + have hν : radialShootingNu m z= + -1/(m : ℂ)+2*Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ) := by + unfold radialShootingNu radialShootingQ + ring + have he : ‖radialMatchedProfile n z r‖^(2*m)= + (1/r^2)*‖(Z (Real.log r)).1‖^(2*m) := by + simp only [radialMatchedProfile,ite_eq_right hr.not_ge,radialShootingExteriorProfile, + radialPhysicalExterior,norm_mul,mul_pow] + rw [hν,radialPhysicalFactor_norm_power m hmp _ r hrp] + simp only [Z,hν,m] + rw [he] + unfold radialShootingA + have hm0 : (m : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr hmp.ne' + change r^2*((1/r^2)*‖(Z (Real.log r)).1‖^(2*m)/(1/(2*(m : ℝ))))=_ + field_simp [hrp.ne',hm0] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureTransport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureTransport.lean new file mode 100644 index 0000000000000000000000000000000000000000..7c7a3ee73d2eac3d529e0e61960af8b9eaf89217 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPressureTransport.lean @@ -0,0 +1,140 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformJet +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformExteriorPressure +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPressureDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPressureTransport + +namespace OAI + +/-! Uniform smallness of the exterior pressure transported by the actual velocity. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_exterior_pressure_transport_small (ε : ℝ) (hε : 0 < ε) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ r : ℝ, innerBoundaryRadius < r → + r^2*|radialVelocity (6-2*radialShootingA n) (fun t => ‖radialMatchedProfile n z t‖) r* + deriv (fun t => ‖radialMatchedProfile n z t‖^(2*(n+radialInnerShootingThreshold))/ + radialShootingA n) r| < ε := by + obtain ⟨κ,ρ,hκ,hρ,hann⟩ := radialShooting_uniform_annulus + obtain ⟨B,hB,hjet⟩ := radialShooting_uniform_jet_bound + let C := B/κ + let K := 3+2*C + let q := max ρ 0 + have hC : 0 ≤ C := div_nonneg hB.le hκ.le + have hK : 0 < K := by dsimp [K]; linarith + have hC1 : 0 ≤ 1+C := add_nonneg zero_le_one hC + have hq : 0 ≤ q := le_max_right _ _ + have hq1 : q < 1 := max_lt hρ (by norm_num) + have hq2 : q^2 < 1 := by nlinarith + let N := fun n : ℕ => n+radialInnerShootingThreshold + have hN : StrictMono N := fun _ _ hij => Nat.add_lt_add_right hij _ + have hdecay : Tendsto (fun n => 4*K*(1+C)*((N n : ℝ)^2*(q^2)^(N n))) + atTop (nhds 0) := by + simpa only [mul_zero,Function.comp_def] using + ((tendsto_pow_const_mul_const_pow_of_lt_one 2 (sq_nonneg q) hq2).comp + hN.tendsto_atTop).const_mul (4*K*(1+C)) + filter_upwards [hN.tendsto_atTop.eventually hann,hN.tendsto_atTop.eventually hjet, + hdecay.eventually (gt_mem_nhds hε)] with n hn hj he z hX hz r hr + let m := N n + let ν := radialShootingNu m z + let Z := radialExteriorCanonical ν m (radialShootingM z) (Real.log innerBoundaryRadius) + let ξ := (Z (Real.log r)).2/(Z (Real.log r)).1 + let P := fun t => ‖radialMatchedProfile n z t‖^(2*m)/radialShootingA n + let w := radialVelocity (6-2*radialShootingA n) (fun t => ‖radialMatchedProfile n z t‖) + have hrp : 0 < r := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hr + have hr2 : 1 ≤ r^2 := by nlinarith [innerBoundaryRadius_bounds.1] + have hm : (1 : ℝ) ≤ m := by + exact_mod_cast (le_trans (by norm_num) (radialShootingIndex_large n z)) + have hlog : Real.log innerBoundaryRadius ≤ Real.log r := + Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hr.le + have hf := hn z (Real.log r) hlog + have hZ : ‖Z (Real.log r)‖ ≤ B := hj z (Real.log r) hlog + have hξ : ‖ξ‖ ≤ C := by + rw [show ξ=(Z (Real.log r)).2/(Z (Real.log r)).1 from rfl,norm_div] + exact div_le_div₀ hB.le ((norm_snd_le _).trans hZ) hκ hf.1 + have hξre : |ξ.re| ≤ C := (Complex.abs_re_le_norm ξ).trans hξ + have hξim : |ξ.im| ≤ C := (Complex.abs_im_le_norm ξ).trans hξ + have hνim : |ν.im| ≤ 1 := by + have hg := (radialShooting_geometry (profileMatchingParameter z)).1 + have hν : ν.im=2*radialShootingB (profileMatchingParameter z) := by + simp [ν,radialShootingNu,radialShootingQ,Complex.mul_im,Complex.mul_re] + rw [hν,abs_of_nonneg (by linarith [hg.1])] + linarith [hg.2] + have hsum : |ν.im+ξ.im| ≤ 1+C := + (abs_add_le _ _).trans (add_le_add hνim hξim) + have hquot0 : 0 ≤ 2/r^2 := div_nonneg (by norm_num) (sq_nonneg r) + have hquot : 2/r^2 ≤ (2 : ℝ) := (div_le_iff₀ (sq_pos_of_pos hrp)).mpr (by nlinarith) + have hm0 : 0 ≤ 2*(m : ℝ) := mul_nonneg (by norm_num) (Nat.cast_nonneg _) + have hvel : |w r/r| ≤ K := by + rw [radialMatchedVelocity_logarithmic n z hX hz r hr] + calc + |1/2+2/r^2*(ν.im+ξ.im)| ≤ |(1/2 : ℝ)|+|2/r^2*(ν.im+ξ.im)| := abs_add_le _ _ + _ = 1/2+(2/r^2)*|ν.im+ξ.im| := by + rw [abs_mul,abs_of_nonneg (show 0 ≤ (1/2 : ℝ) by norm_num),abs_of_nonneg hquot0] + _ ≤ 1/2+(2/r^2)*(1+C) := add_le_add le_rfl + (mul_le_mul_of_nonneg_left hsum hquot0) + _ ≤ 1/2+2*(1+C) := add_le_add le_rfl + (mul_le_mul_of_nonneg_right hquot hC1) + _ ≤ K := by dsimp [K]; linarith + have hfac : |-2+2*(m : ℝ)*ξ.re| ≤ 2*(m : ℝ)*(1+C) := by + calc + |-2+2*(m : ℝ)*ξ.re| ≤ |(-2 : ℝ)|+|2*(m : ℝ)*ξ.re| := abs_add_le _ _ + _ = 2+2*(m : ℝ)*|ξ.re| := by rw [abs_mul,abs_of_nonneg hm0]; norm_num + _ ≤ 2+2*(m : ℝ)*C := add_le_add le_rfl + (mul_le_mul_of_nonneg_left hξre hm0) + _ ≤ 2*(m : ℝ)*(1+C) := by nlinarith + have hP : 0 ≤ P r := div_nonneg (by positivity) + (radialShootingA_bounds n (profileMatchingParameter z)).1.le + have hPb : r^2*P r ≤ 2*(m : ℝ)*q^(2*m) := by + rw [radialMatched_exterior_pressure n z r hr] + exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) + (hf.2.trans (le_max_left _ _)) _) (by positivity) + have hd : r*deriv P r=P r*(-2+2*(m : ℝ)*ξ.re) := + radialMatched_exterior_pressure_derivative n z hX hz r hr + have hdw : w r*deriv P r=(w r/r)*P r*(-2+2*(m : ℝ)*ξ.re) := by + calc + w r*deriv P r=(w r/r)*(r*deriv P r) := by field_simp [hrp.ne'] + _ = (w r/r)*P r*(-2+2*(m : ℝ)*ξ.re) := by rw [hd]; ring + change r^2*|w r*deriv P r| < ε + rw [hdw,abs_mul,abs_mul,abs_of_nonneg hP] + calc + r^2*(|w r/r| * P r*|-2+2*(m : ℝ)*ξ.re|) ≤ + r^2*(K*P r*(2*(m : ℝ)*(1+C))) := by gcongr + _ = (r^2*P r)*K*(2*(m : ℝ)*(1+C)) := by ring + _ ≤ (2*(m : ℝ)*q^(2*m))*K*(2*(m : ℝ)*(1+C)) := by gcongr + _ = 4*K*(1+C)*((m : ℝ)^2*(q^2)^m) := by rw [pow_mul]; ring + _ < ε := he + +theorem radialMatched_global_pressure_transport_bound : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ r : ℝ, 0 ≤ r → + radialVelocity (6-2*radialShootingA n) (fun t => ‖radialMatchedProfile n z t‖) r* + deriv (fun t => ‖radialMatchedProfile n z t‖^(2*(n+radialInnerShootingThreshold))/ + radialShootingA n) r ≤ 1600 := by + filter_upwards [radialMatched_exterior_pressure_transport_small 1 (by norm_num)] + with n hn z hX hz r hr + by_cases hi : r ≤ innerBoundaryRadius + · have hd := radialMatchedInnerPressure_transport n z hX hz r ⟨hr,hi⟩ + have hp := (radialMatchedAmplitude_inner_bounds n z r ⟨hr,hi⟩).2 + exact hd.trans (by nlinarith) + · have hlarge := hn z hX hz r (lt_of_not_ge hi) + have hr2 : 1 ≤ r^2 := by nlinarith [innerBoundaryRadius_bounds.1] + have ha := abs_nonneg (radialVelocity (6-2*radialShootingA n) + (fun t => ‖radialMatchedProfile n z t‖) r* + deriv (fun t => ‖radialMatchedProfile n z t‖^(2*(n+radialInnerShootingThreshold))/ + radialShootingA n) r) + have hh := le_abs_self (radialVelocity (6-2*radialShootingA n) + (fun t => ‖radialMatchedProfile n z t‖) r* + deriv (fun t => ‖radialMatchedProfile n z t‖^(2*(n+radialInnerShootingThreshold))/ + radialShootingA n) r) + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorProfileLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorProfileLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..fc7ef2b9d352a52a54d62a1bcc69bfba28af1944 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorProfileLimit.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactEvaluation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedBoundary +import Mathlib.Topology.UniformSpace.HeineCantor +import Mathlib.Topology.UniformSpace.UniformConvergenceTopology + +namespace OAI + +/-! Uniform convergence of the actual exterior profile on each fixed annulus. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialShootingFreeExterior (z : ProfileMatchingBall) (r : ℝ) : ℂ := + Complex.exp ((-2*radialShootingQ z)*(Real.log r : ℂ))* + (radialFreeSlowJet (radialShootingQ z) (radialShootingM z) (Real.log r)).1 + +theorem radialShootingExterior_uniform_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (R : ℝ) : + TendstoUniformlyOn (fun i => radialShootingExteriorProfile (s i) (z i)) + (radialShootingFreeExterior z₀) atTop (Icc innerBoundaryRadius R) := by + let N := fun i => s i+radialInnerShootingThreshold + have hN : StrictMono N := fun i j hij => Nat.add_lt_add_right (hs hij) _ + let ν := fun i => radialShootingNu (N i) (z i) + let ν₀ := -2*radialShootingQ z₀ + have hν : Tendsto ν atTop (𝓝 ν₀) := + radialShootingNu_subsequence_tendsto N hN z z₀ hz + obtain ⟨δ,ρ,hδ,hδm,hsmall,hρ,hupper,hlower⟩ := radialShooting_free_annulus z₀ + have hq : -1 < (radialShootingQ z₀).re := by simp [radialShootingQ] + have hH := (radialExteriorCanonical_H_limit_subsequence N hN ν + (fun i => radialShootingM (z i)) (radialShootingQ z₀) (radialShootingM z₀) + hq hν (continuous_radialShootingM.continuousAt.tendsto.comp hz) δ ρ + (Real.log innerBoundaryRadius) hδ hδm hsmall hρ hupper hlower).2 + have hlog : ContinuousOn Real.log (Icc innerBoundaryRadius R) := by + apply Real.continuousOn_log.mono + intro r hr + exact ne_of_gt (lt_of_lt_of_le (by linarith [innerBoundaryRadius_bounds.1]) hr.1) + have hH' := (uniformContinuous_fst.comp_tendstoUniformlyOn hH).comp Real.log + have hHann : TendstoUniformlyOn + (fun i r => (radialExteriorCanonical (ν i) (N i) (radialShootingM (z i)) + (Real.log innerBoundaryRadius) (Real.log r)).1) + (fun r => (radialFreeSlowJet (radialShootingQ z₀) (radialShootingM z₀) + (Real.log r)).1) atTop (Icc innerBoundaryRadius R) := by + apply hH'.mono + intro r hr + exact Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hr.1 + let : CompactSpace (Icc innerBoundaryRadius R) := isCompact_iff_compactSpace.mp isCompact_Icc + let E : ℂ → Icc innerBoundaryRadius R → ℂ := + fun v r => Complex.exp (v*(Real.log r.val : ℂ)) + have hE : Continuous ↿E := by + apply Complex.continuous_exp.comp + exact continuous_fst.mul (Complex.continuous_ofReal.comp + (hlog.domRestrict.comp continuous_snd)) + have hEu : TendstoUniformly (fun i => E (ν i)) (E ν₀) atTop := + fun u hu => hν.eventually ((Continuous.tendstoUniformly E hE ν₀) u hu) + have hEann : TendstoUniformlyOn (fun i r => Complex.exp (ν i*(Real.log r : ℂ))) + (fun r => Complex.exp (ν₀*(Real.log r : ℂ))) atTop (Icc innerBoundaryRadius R) := by + rw [tendstoUniformlyOn_iff_tendstoUniformly_comp_coe] + exact hEu + have hcJ : Continuous (radialFreeSlowJet (radialShootingQ z₀) (radialShootingM z₀)) := + continuous_iff_continuousAt.mpr (fun t => (radialFreeSlowJet_hasDerivAt _ _ hq t).continuousAt) + have hcH : ContinuousOn (fun r => (radialFreeSlowJet (radialShootingQ z₀) + (radialShootingM z₀) (Real.log r)).1) (Icc innerBoundaryRadius R) := + hcJ.fst.comp_continuousOn hlog + have hcE : ContinuousOn (fun r => Complex.exp (ν₀*(Real.log r : ℂ))) + (Icc innerBoundaryRadius R) := + Complex.continuous_exp.comp_continuousOn + (continuousOn_const.mul (Complex.continuous_ofReal.comp_continuousOn hlog)) + have hp := (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact isCompact_Icc).mp + (hEann.tendstoLocallyUniformlyOn.mul₀ hHann.tendstoLocallyUniformlyOn hcE hcH) + convert hp using 1 <;> ext <;> rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPropagator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPropagator.lean new file mode 100644 index 0000000000000000000000000000000000000000..676cac33c1ae0c8559b981bade5780763b8d907a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorPropagator.lean @@ -0,0 +1,72 @@ +import Mathlib.Analysis.SpecialFunctions.ExpDeriv +import Mathlib.Analysis.Complex.RealDeriv + +namespace OAI + +/-! The exact unitary diagonal propagator in the slow exterior tail system. -/ + +namespace DefocusingNLS + +noncomputable def radialExteriorPhase (t s : ℝ) : ℂ := + Complex.exp (Complex.I*((Real.exp (2*s)-Real.exp (2*t))/4 : ℝ)) + +noncomputable def radialExteriorPropagator (t s : ℝ) (v : ℂ × ℂ) : ℂ × ℂ := + (v.1,radialExteriorPhase t s*v.2) + +theorem radialExteriorPhase_norm (t s : ℝ) : ‖radialExteriorPhase t s‖=1 := by + change ‖Complex.exp (Complex.I*((Real.exp (2*s)-Real.exp (2*t))/4 : ℝ))‖=1 + rw [Complex.norm_exp] + simp only [Complex.mul_re,Complex.I_re,Complex.I_im,Complex.ofReal_re, + Complex.ofReal_im,zero_mul,mul_zero,sub_zero,Real.exp_zero] + +theorem radialExteriorPropagator_norm (t s : ℝ) (v : ℂ × ℂ) : + ‖radialExteriorPropagator t s v‖=‖v‖ := by + simp only [radialExteriorPropagator,Prod.norm_def,norm_mul,radialExteriorPhase_norm,one_mul] + +theorem radialExteriorPropagator_self (t : ℝ) (v : ℂ × ℂ) : + radialExteriorPropagator t t v=v := by + simp [radialExteriorPropagator,radialExteriorPhase] + +theorem radialExteriorPropagator_comp (t s u : ℝ) (v : ℂ × ℂ) : + radialExteriorPropagator t s (radialExteriorPropagator s u v)=radialExteriorPropagator t u v := by + apply Prod.ext + · rfl + · change radialExteriorPhase t s*(radialExteriorPhase s u*v.2)=radialExteriorPhase t u*v.2 + rw [← mul_assoc] + congr 1 + unfold radialExteriorPhase + rw [← Complex.exp_add] + congr 1 + push_cast + ring + +theorem radialExteriorPropagator_sub (t s : ℝ) (v w : ℂ × ℂ) : + radialExteriorPropagator t s (v-w)=radialExteriorPropagator t s v-radialExteriorPropagator t s w := by + apply Prod.ext + · rfl + · exact mul_sub _ _ _ + +theorem radialExteriorPropagator_hasDerivAt (t s : ℝ) (v : ℂ × ℂ) : + HasDerivAt (fun r => radialExteriorPropagator r s v) + ((0 : ℂ),-Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPhase t s*v.2) t := by + have he : HasDerivAt (fun r : ℝ => Real.exp (2*r)) (2*Real.exp (2*t)) t := by + convert ((hasDerivAt_id t).const_mul 2).exp using 1 <;> simp [mul_comm] + have hθ := ((he.const_sub (Real.exp (2*s))).div_const 4).ofReal_comp + have hp := ((hθ.const_mul Complex.I).cexp).mul_const v.2 + have hv : HasDerivAt (fun r => radialExteriorPhase r s*v.2) + (-Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPhase t s*v.2) t := by + apply hp.congr_deriv + change Complex.exp (Complex.I*((Real.exp (2*s)-Real.exp (2*t))/4 : ℝ))* + (Complex.I*((-(2*Real.exp (2*t))/4 : ℝ) : ℂ))*v.2= + -Complex.I*(Real.exp (2*t)/2 : ℝ)* + Complex.exp (Complex.I*((Real.exp (2*s)-Real.exp (2*t))/4 : ℝ))*v.2 + have heq : ((-(2*Real.exp (2*t))/4 : ℝ) : ℂ) = -((Real.exp (2*t)/2 : ℝ) : ℂ) := by + push_cast + ring + rw [heq] + ring + exact (hasDerivAt_const t v.1).prodMk hv + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorResidualLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorResidualLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..b2a8bfdead6a4fa4fae9bba9f732db12e26e42c6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorResidualLimit.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorLinearResidual +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolynomialSubunitLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPolynomialQuotientLimit + +namespace OAI + +/-! Uniform normalized residuals for the actual exterior expansions as the power grows. -/ + +open Polynomial Set Filter +namespace DefocusingNLS + +theorem radialExteriorPolynomialResidual_eq (ν : ℂ) (n : ℕ) (P : ℂ[X]) : + radialExteriorPolynomialResidual ν n P= + radialExteriorLinearResidual ν P-radialPolynomialPower n P := rfl + +theorem radialExterior_normalized_residual_limit (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (nhds ν₀)) (hm : Tendsto m atTop (nhds m₀)) + (hm₀ : ‖m₀‖ < 1) (j : ℕ) : + ∃ ε : ℝ, 0 < ε ∧ ε ≤ 1 ∧ ∃ R : ℕ → ℂ[X], ∃ R₀ : ℂ[X], + (∀ n, radialExteriorPolynomialResidual (ν n) n (radialExteriorExpansion (ν n) n (m n) j)=X^j*R n) ∧ + radialExteriorLinearResidual ν₀ (radialFreeExpansion ν₀ m₀ j)=X^j*R₀ ∧ + TendstoUniformlyOn (fun n z => (R n).eval z) (fun z => R₀.eval z) + atTop (Metric.closedBall (0 : ℂ) ε) := by + classical + let P : ℕ → ℂ[X] := fun n => radialExteriorExpansion (ν n) n (m n) j + let Q : ℂ[X] := radialFreeExpansion ν₀ m₀ j + have hP : ∀ k, Tendsto (fun n => (P n).coeff k) atTop (nhds (Q.coeff k)) := + radialExteriorExpansion_coefficient_limit ν m ν₀ m₀ hν hm hm₀ j + obtain ⟨ε,ρ,hε,hε1,hρ,hρ1,hcircle⟩ := radialPolynomial_eventually_subunit_circle P Q j + (Eventually.of_forall (fun n => radialExteriorExpansion_degree _ _ _ _)) + (fun k _ => hP k) (by simpa only [Q,radialFreeExpansion_constant] using hm₀) + have hL := (radialExteriorLinearResidual_uniform_limit ν m ν₀ m₀ hν hm hm₀ j).mono + (show Metric.closedBall (0 : ℂ) ε ⊆ Metric.closedBall 0 1 from + fun z hz => Metric.mem_closedBall.mpr ((Metric.mem_closedBall.mp hz).trans hε1)) + have hN := radialPolynomialPower_uniform_limit P ε ρ hε hρ hρ1 hcircle + have hres : TendstoUniformlyOn + (fun n z => (radialExteriorPolynomialResidual (ν n) n (P n)).eval z) + (fun z => (radialExteriorLinearResidual ν₀ Q).eval z) + atTop (Metric.closedBall (0 : ℂ) ε) := by + have hs := hL.sub hN + change TendstoUniformlyOn + (fun n z => (radialExteriorLinearResidual (ν n) (P n)).eval z- + (radialPolynomialPower n (P n)).eval z) + (fun z => (radialExteriorLinearResidual ν₀ Q).eval z-0) + atTop (Metric.closedBall (0 : ℂ) ε) at hs + simpa only [radialExteriorPolynomialResidual_eq,eval_sub,sub_zero] using hs + have hd : ∀ n, ∃ R : ℂ[X], + radialExteriorPolynomialResidual (ν n) n (P n)=X^j*R := + fun n => radialExteriorExpansion_residual (ν n) n (m n) j + choose R hR using hd + obtain ⟨R₀,hR₀⟩ := radialExteriorLinearResidual_free_divisible ν₀ m₀ hm₀ j + refine ⟨ε,hε,hε1,R,R₀,hR,hR₀,?_⟩ + exact radialPolynomial_quotient_uniform_limit _ R _ R₀ j ε hε hR hR₀ hres + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorShootingData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorShootingData.lean new file mode 100644 index 0000000000000000000000000000000000000000..ade2edc9f9484f4a66d17d75b3c7f9198c5593f8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorShootingData.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialBoundaryCoefficientContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileProductMatching + +namespace OAI + +/-! Compact shooting data for simultaneous complex value and slope matching. -/ + +open Set +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialShootingValue (z : ProfileMatchingBall) : ℂ := + (radialFreeInnerJet (profileMatchingParameter z) innerBoundaryRadius).1+z.val.1/100 + +noncomputable def radialShootingQ (z : ProfileMatchingBall) : ℂ := + -Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ) + +noncomputable def radialShootingM (z : ProfileMatchingBall) : ℂ := + radialShootingValue z*radialFreePhysicalBoundaryCoefficient + (radialShootingB (profileMatchingParameter z)) 1 + +theorem continuous_profileMatchingParameter : Continuous profileMatchingParameter := + (continuous_subtype_val.snd).subtype_mk _ + +theorem continuous_radialShootingValue : Continuous radialShootingValue := by + exact (continuous_radialFreeInner_boundary.fst.comp continuous_profileMatchingParameter).add + (continuous_subtype_val.fst.div_const _) + +theorem continuous_radialShootingQ : Continuous radialShootingQ := by + unfold radialShootingQ radialShootingB + fun_prop + +theorem continuous_radialShootingM : Continuous radialShootingM := + continuous_radialShootingValue.mul + (continuous_radialFreePhysical_unitCoefficient.comp continuous_profileMatchingParameter) + +theorem radialShootingValue_norm (z : ProfileMatchingBall) : + 0 < ‖radialShootingValue z‖ ∧ ‖radialShootingValue z‖ < 1 := by + have hz : ‖z.val‖ ≤ (radius : ℝ) := by + simpa only [Metric.mem_closedBall,dist_zero_right] using z.property + have hζ : ‖z.val.1/100‖ ≤ (1/10000000000 : ℝ) := by + rw [norm_div] + norm_num + have hh := (norm_fst_le z.val).trans hz + norm_num [radius] at hh + linarith + have hF := (radialFreeInnerJet_spec (profileMatchingParameter z)).2.2.2.2 + have hu := norm_add_le + (radialFreeInnerJet (profileMatchingParameter z) innerBoundaryRadius).1 (z.val.1/100) + have hl := norm_sub_norm_le + (radialFreeInnerJet (profileMatchingParameter z) innerBoundaryRadius).1 + (radialShootingValue z) + have he : (radialFreeInnerJet (profileMatchingParameter z) innerBoundaryRadius).1- + radialShootingValue z= -(z.val.1/100) := by unfold radialShootingValue; abel + rw [he,norm_neg] at hl + have hu' : ‖radialShootingValue z‖ ≤ + ‖(radialFreeInnerJet (profileMatchingParameter z) innerBoundaryRadius).1‖+‖z.val.1/100‖ := hu + constructor <;> linarith [hF.1,hF.2] + +theorem radialShootingM_ne_zero (z : ProfileMatchingBall) : radialShootingM z ≠ 0 := + mul_ne_zero (norm_pos_iff.mp (radialShootingValue_norm z).1) + (radialFreePhysicalBoundaryCoefficient_spec (profileMatchingParameter z) 1 (by norm_num)).1 + +theorem radialShooting_free_value (z : ProfileMatchingBall) : + Complex.exp (2*Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ)* + (Real.log innerBoundaryRadius : ℂ))* + radialFreeSlowValue (radialShootingQ z) (radialShootingM z) + (Real.log innerBoundaryRadius)=radialShootingValue z := by + have hh := (radialFreePhysicalBoundaryCoefficient_spec (profileMatchingParameter z) 1 + (by norm_num)).2.1 + change Complex.exp (2*Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ)* + (Real.log innerBoundaryRadius : ℂ))*radialFreeSlowValue (radialShootingQ z) + (radialFreePhysicalBoundaryCoefficient (radialShootingB (profileMatchingParameter z)) 1) _= + (1 : ℂ) at hh + unfold radialShootingM + rw [radialFreeSlowValue_mul] + calc + _ = radialShootingValue z*(Complex.exp _*radialFreeSlowValue (radialShootingQ z) + (radialFreePhysicalBoundaryCoefficient (radialShootingB (profileMatchingParameter z)) 1) + (Real.log innerBoundaryRadius)) := by ring + _ = _ := by rw [hh,mul_one] + +theorem radialShooting_free_annulus (z : ProfileMatchingBall) : + ∃ δ ρ : ℝ, 0 < δ ∧ δ < ‖radialShootingM z‖ ∧ ‖radialShootingM z‖+2*δ < 1 ∧ ρ < 1 ∧ + (∀ t, Real.log innerBoundaryRadius ≤ t → + ‖(radialFreeSlowJet (radialShootingQ z) (radialShootingM z) t).1‖+2*δ ≤ ρ) ∧ + ∀ t, Real.log innerBoundaryRadius ≤ t → + δ < ‖(radialFreeSlowJet (radialShootingQ z) (radialShootingM z) t).1‖ := by + apply radialFreeSlow_annulus (profileMatchingParameter z) (radialShootingM z) + (radialShootingM_ne_zero z) + have he := congrArg norm (radialShooting_free_value z) + have hn : ‖Complex.exp (2*Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ)* + (Real.log innerBoundaryRadius : ℂ))‖=1 := by + simp [Complex.norm_exp,Complex.mul_re,Complex.mul_im] + rw [norm_mul,hn,one_mul] at he + change ‖radialFreeSlowValue (radialShootingQ z) (radialShootingM z) + (Real.log innerBoundaryRadius)‖ < 1 + rw [he] + exact (radialShootingValue_norm z).2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorShootingFamily.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorShootingFamily.lean new file mode 100644 index 0000000000000000000000000000000000000000..c2b7a43b0128dafd215c25092b14360b910c92eb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorShootingFamily.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorShootingData +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCompactLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCanonicalContinuity + +namespace OAI + +/-! The actual outgoing boundary family on the full compact matching ball. -/ + +open Filter +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialShootingNu (n : ℕ) (z : ProfileMatchingBall) : ℂ := + -2*radialShootingQ z-1/(n : ℂ) + +noncomputable def radialShootingExteriorJet (n : ℕ) (z : ProfileMatchingBall) : ℂ × ℂ := + radialExteriorCanonical (radialShootingNu n z) n (radialShootingM z) + (Real.log innerBoundaryRadius) (Real.log innerBoundaryRadius) + +theorem radialShootingExterior_exists : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu n z) n (radialShootingM z) + (Real.log innerBoundaryRadius) := by + exact radialExterior_compact_exists radialShootingQ radialShootingM + continuous_radialShootingQ continuous_radialShootingM (Real.log innerBoundaryRadius) + (fun z => by simp [radialShootingQ]) radialShooting_free_annulus + +theorem radialShootingExterior_continuous : + ∀ᶠ n in atTop, Continuous (radialShootingExteriorJet n) := by + filter_upwards [radialShootingExterior_exists] with n hn + exact continuous_radialExteriorCanonical_boundary n (radialShootingNu n) radialShootingM + ((continuous_const.mul continuous_radialShootingQ).sub continuous_const) + continuous_radialShootingM radialShootingM_ne_zero (Real.log innerBoundaryRadius) hn + +theorem radialShootingExterior_limit : + TendstoUniformly radialShootingExteriorJet + (fun z => radialFreeSlowJet (radialShootingQ z) (radialShootingM z) + (Real.log innerBoundaryRadius)) atTop := by + exact radialExterior_compact_boundary_limit radialShootingQ radialShootingM + continuous_radialShootingQ continuous_radialShootingM (Real.log innerBoundaryRadius) + (fun z => by simp [radialShootingQ]) radialShooting_free_annulus + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorSource.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorSource.lean new file mode 100644 index 0000000000000000000000000000000000000000..98aac85e476bc7d319866dc6cc4231b6ad4c046f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorSource.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailOperator + +namespace OAI + +/-! Bounded source fields and their pointwise action in the weighted tail space. -/ + +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExteriorSource_bound (L C : ℝ) (hL : 0 ≤ L) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) + (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (v : ℝ →ᵇ ℂ × ℂ) (t : ℝ) : ‖N t (v t)‖ ≤ L*‖v‖+C := by + calc + _ ≤ ‖N t (v t)-N t 0‖+‖N t 0‖ := norm_le_norm_sub_add _ _ + _ ≤ L*‖v t-0‖+C := add_le_add (hLip t _ _) (hN0 t) + _ ≤ L*‖v‖+C := by + rw [sub_zero] + exact (add_le_add_iff_right C).mpr + (mul_le_mul_of_nonneg_left (v.norm_coe_le_norm t) hL) + +noncomputable def boundedRadialExteriorSource (L C : ℝ) (hL : 0 ≤ L) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) + (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (v : ℝ →ᵇ ℂ × ℂ) : ℝ →ᵇ ℂ × ℂ := + BoundedContinuousFunction.ofNormedAddCommGroup (fun t => N t (v t)) + (hN.comp (continuous_id.prodMk v.continuous)) (L*‖v‖+C) + (radialExteriorSource_bound L C hL N hN0 hLip v) + +theorem boundedRadialExteriorSource_norm (L C : ℝ) (hL : 0 ≤ L) (hC : 0 ≤ C) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) + (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (v : ℝ →ᵇ ℂ × ℂ) : + ‖boundedRadialExteriorSource L C hL N hN hN0 hLip v‖ ≤ L*‖v‖+C := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + exact radialExteriorSource_bound L C hL N hN0 hLip v + +theorem boundedRadialExteriorSource_difference (L C : ℝ) (hL : 0 ≤ L) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) + (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (u v : ℝ →ᵇ ℂ × ℂ) : + ‖boundedRadialExteriorSource L C hL N hN hN0 hLip u- + boundedRadialExteriorSource L C hL N hN hN0 hLip v‖ ≤ L*‖u-v‖ := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro t + change ‖N t (u t)-N t (v t)‖ ≤ L*‖u-v‖ + exact (hLip t _ _).trans (mul_le_mul_of_nonneg_left ((u-v).norm_coe_le_norm t) hL) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorSplice.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorSplice.lean new file mode 100644 index 0000000000000000000000000000000000000000..f862b7cd21d6727e067c9dc6fea38ae8474434bf --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorSplice.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpliceDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPropagator +import Mathlib.Topology.UniformSpace.UniformConvergence + +namespace OAI + +/-! Joining the finite continuation to the original nonlinear exterior tail. -/ + +open Set Filter Topology +namespace DefocusingNLS + +noncomputable def radialExteriorSplice (S : ℝ) (X Y : ℝ → ℂ × ℂ) (t : ℝ) : ℂ × ℂ := + if t ≤ S then X t else Y t + +theorem radialExteriorSplice_continuous (S : ℝ) (X Y : ℝ → ℂ × ℂ) + (hX : Continuous X) (hY : Continuous Y) (he : X S=Y S) : + Continuous (radialExteriorSplice S X Y) := by + apply hX.if_le hY continuous_id continuous_const + intro t ht + change t=S at ht + subst t + exact he + +theorem radialExteriorSplice_hasDerivAt (S t : ℝ) (X Y : ℝ → ℂ × ℂ) + (V : ℝ → (ℂ × ℂ) → ℂ × ℂ) + (hX : t ≤ S → HasDerivAt X (V t (X t)) t) + (hY : S ≤ t → HasDerivAt Y (V t (Y t)) t) + (hmatch : X S=Y S) : + HasDerivAt (radialExteriorSplice S X Y) (V t (radialExteriorSplice S X Y t)) t := by + rcases lt_trichotomy t S with h | h | h + · simp only [radialExteriorSplice,ite_eq_left h.le] + apply (hX h.le).congr_of_eventuallyEq + filter_upwards [Iio_mem_nhds h] with r hr + exact ite_eq_left hr.le + · subst t + have hl : HasDerivWithinAt (radialExteriorSplice S X Y) (V S (X S)) (Iic S) S := by + apply (hX le_rfl).hasDerivWithinAt.congr + · intro r hr + exact ite_eq_left hr + · exact ite_eq_left le_rfl + have hr : HasDerivWithinAt (radialExteriorSplice S X Y) (V S (X S)) (Ici S) S := by + rw [hmatch] + apply (hY le_rfl).hasDerivWithinAt.congr + · intro r hr + change S ≤ r at hr + rcases hr.eq_or_lt with rfl | h + · simpa only [radialExteriorSplice,ite_eq_left le_rfl] using hmatch + · exact ite_eq_right h.not_ge + · simpa only [radialExteriorSplice,ite_eq_left le_rfl] using hmatch + have hd := hl.union hr + rw [Iic_union_Ici] at hd + simpa only [radialExteriorSplice,ite_eq_left le_rfl] using hd.hasDerivAt (by simp) + · simp only [radialExteriorSplice,ite_eq_right h.not_ge] + apply (hY h.le).congr_of_eventuallyEq + filter_upwards [Ioi_mem_nhds h] with r hr + exact ite_eq_right hr.not_ge + +theorem radialExteriorSplice_uniform_limit (L S : ℝ) + (X Y : ℕ → ℝ → ℂ × ℂ) (g : ℝ → ℂ × ℂ) + (hX : TendstoUniformlyOn X g atTop (Icc L S)) + (hY : TendstoUniformlyOn Y g atTop (Ici S)) : + TendstoUniformlyOn (fun n => radialExteriorSplice S (X n) (Y n)) g atTop (Ici L) := by + rw [Metric.tendstoUniformlyOn_iff] at hX hY ⊢ + intro ε hε + filter_upwards [hX ε hε,hY ε hε] with n hnX hnY t ht + by_cases h : t ≤ S + · simpa only [radialExteriorSplice,ite_eq_left h] using hnX t ⟨ht,h⟩ + · simpa only [radialExteriorSplice,ite_eq_right h] using hnY t (not_le.mp h).le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailComparison.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailComparison.lean new file mode 100644 index 0000000000000000000000000000000000000000..b79d08298d3fbc5c35e1876a8fe5530c1678463d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailComparison.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailEquation + +namespace OAI + +/-! Stability of the actual backward integral equation under changes of its field. -/ + +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_fixedPoint_difference + (κ L K C D E : ℝ) (hκ : 0 < κ) (hL : 0 ≤ L) (hK : 0 ≤ K) + (hLκ : L < κ) (hE : 0 ≤ E) + (N M : ℝ → (ℂ × ℂ) → ℂ × ℂ) + (hN : Continuous (Function.uncurry N)) (hM : Continuous (Function.uncurry M)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) (hM0 : ∀ t, ‖M t 0‖ ≤ D) + (hNL : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (hML : ∀ t z w, ‖M t z-M t w‖ ≤ K*‖z-w‖) + (v w : ℝ →ᵇ ℂ × ℂ) + (hv : ∀ t, v t=radialExteriorTailIntegral κ (fun s => N s (v s)) t) + (hw : ∀ t, w t=radialExteriorTailIntegral κ (fun s => M s (w s)) t) + (hNM : ∀ t, ‖N t (w t)-M t (w t)‖ ≤ E) : + ‖v-w‖ ≤ E/(κ-L) := by + let U := boundedRadialExteriorSource L C hL N hN hN0 hNL v + let W := boundedRadialExteriorSource K D hK M hM hM0 hML w + have hev : v=boundedRadialExteriorTail κ hκ U := by + apply BoundedContinuousFunction.ext + intro t + exact hv t + have hew : w=boundedRadialExteriorTail κ hκ W := by + apply BoundedContinuousFunction.ext + intro t + exact hw t + have hs : ‖U-W‖ ≤ L*‖v-w‖+E := by + apply (BoundedContinuousFunction.norm_le (by positivity)).mpr + intro t + change ‖N t (v t)-M t (w t)‖ ≤ _ + calc + _ ≤ ‖N t (v t)-N t (w t)‖+‖N t (w t)-M t (w t)‖ := by + simpa only [dist_eq_norm] using dist_triangle (N t (v t)) (N t (w t)) (M t (w t)) + _ ≤ L*‖v t-w t‖+E := add_le_add (hNL t _ _) (hNM t) + _ ≤ L*‖v-w‖+E := by + gcongr + exact (v-w).norm_coe_le_norm t + have hb : ‖v-w‖ ≤ (L*‖v-w‖+E)/κ := by + calc + _ = ‖boundedRadialExteriorTail κ hκ U-boundedRadialExteriorTail κ hκ W‖ := by rw [← hev,← hew] + _ ≤ ‖U-W‖/κ := boundedRadialExteriorTail_difference κ hκ U W + _ ≤ _ := div_le_div_of_nonneg_right hs hκ.le + have hb' := (le_div_iff₀ hκ).mp hb + apply (le_div_iff₀ (sub_pos.mpr hLκ)).mpr + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailData.lean new file mode 100644 index 0000000000000000000000000000000000000000..e5322f9496bebfa5502766d0eee7d18b2e446c6e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailData.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorBoundedExpansion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorUnweight + +namespace OAI + +/-! Bounded polynomial residual data and decay after removing the exterior weight. -/ + +open Set Filter Polynomial +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def boundedRadialResidual (P : ℂ[X]) : ℝ →ᵇ ℂ × ℂ := + BoundedContinuousFunction.ofNormedAddCommGroup + (fun t => (0,-boundedRadialPolynomial P t)) + (continuous_const.prodMk (boundedRadialPolynomial P).continuous.neg) + ‖boundedRadialPolynomial P‖ (fun t => by + simp only [Prod.norm_def,norm_zero,norm_neg,max_eq_right (norm_nonneg _)] + exact (boundedRadialPolynomial P).norm_coe_le_norm t) + +theorem boundedRadialResidual_apply (P : ℂ[X]) (t : ℝ) : + boundedRadialResidual P t=(0,-boundedRadialPolynomial P t) := rfl + +theorem radialExteriorUnweight_tendsto (κ : ℝ) (hκ : 0 < κ) (v : ℝ →ᵇ ℂ × ℂ) : + Tendsto (radialExteriorUnweight κ v) atTop (nhds 0) := by + have he : Tendsto (fun t : ℝ => Real.exp (-κ*t)) atTop (nhds 0) := by + convert Real.tendsto_exp_neg_atTop_nhds_zero.comp + (tendsto_id.const_mul_atTop hκ) using 1 + funext t + simp [neg_mul] + have hb := he.mul_const ‖v‖ + simp only [zero_mul] at hb + apply squeeze_zero_norm' _ hb + exact Eventually.of_forall (fun t => radialExteriorUnweight_norm κ t v ‖v‖ (v.norm_coe_le_norm t)) + +theorem radialExterior_normalized_residual (ν : ℂ) (n : ℕ) (m : ℂ) (j : ℕ) : + ∃ R : ℂ[X], ∀ t : ℝ, 0 ≤ t → + Real.exp (-(2*(j : ℝ))*t) • boundedRadialResidual R t = + (0,-radialExteriorPolynomialFunction + (radialExteriorPolynomialResidual ν n (radialExteriorExpansion ν n m j)) t) := by + obtain ⟨R,hR⟩ := radialExteriorPolynomialResidual_factor ν n m j + refine ⟨R,?_⟩ + intro t ht + rw [hR t,boundedRadialResidual_apply,boundedRadialPolynomial_nonneg R t ht] + apply Prod.ext + · simp + · simp [Complex.real_smul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..f9f3a5f21dedcdbaf662498c23426eac437aa3cc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailDerivative.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailRepresentation + +namespace OAI + +/-! The backward integral solves the weighted exterior differential equation. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radialExteriorPhase_hasDerivAt (t s : ℝ) : + HasDerivAt (fun r => radialExteriorPhase r s) + (-Complex.I*(Real.exp (2*t)/2 : ℝ)*radialExteriorPhase t s) t := by + simpa only [radialExteriorPropagator, Function.comp_apply, ContinuousLinearMap.prod_apply, + ContinuousLinearMap.coe_snd', mul_one] using! (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t + (radialExteriorPropagator_hasDerivAt t s (0,1)) + +theorem radialExteriorPropagator_curve_hasDerivAt (t s : ℝ) + (v : ℝ → ℂ × ℂ) (v' : ℂ × ℂ) (hv : HasDerivAt v v' t) : + HasDerivAt (fun r => radialExteriorPropagator r s (v r)) + (v'.1, -Complex.I*(Real.exp (2*t)/2 : ℝ)* + (radialExteriorPropagator t s (v t)).2 + radialExteriorPhase t s*v'.2) t := by + have hfst : HasDerivAt (fun r => (v r).1) v'.1 t := + (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hv + have hsnd : HasDerivAt (fun r => (v r).2) v'.2 t := + (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt t hv + have h := hfst.prodMk ((radialExteriorPhase_hasDerivAt t s).mul hsnd) + convert h using 1 + · rfl + · apply Prod.ext + · rfl + · dsimp only [radialExteriorPropagator] + ring + +theorem radialExteriorTailIntegral_hasDerivAt (κ C t : ℝ) (hκ : 0 < κ) + (g : ℝ → ℂ × ℂ) (hg : Continuous g) (hbound : ∀ s, ‖g s‖ ≤ C) : + HasDerivAt (radialExteriorTailIntegral κ g) + (κ • radialExteriorTailIntegral κ g t + + (0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(radialExteriorTailIntegral κ g t).2) + g t) t := by + let H : ℝ → ℂ × ℂ := fun r => ∫ s in Ioi r, radialExteriorGauge κ g s + have hH : HasDerivAt H (-radialExteriorGauge κ g t) t := + radial_tail_hasDerivAt (radialExteriorGauge κ g) + (radialExteriorGauge_continuous κ g hg) (t-1) t (by linarith) + (radialExteriorGauge_integrable κ C (t-1) hκ g hg hbound) + have hP := radialExteriorPropagator_curve_hasDerivAt t 0 H _ hH + have he : HasDerivAt (fun r : ℝ => -Real.exp (κ*r)) (-Real.exp (κ*t)*κ) t := by + simpa [mul_comm] using! (((hasDerivAt_id t).const_mul κ).exp).neg + have h := he.smul hP + have heq : radialExteriorTailIntegral κ g = + fun r => -Real.exp (κ*r) • radialExteriorPropagator r 0 (H r) := by + funext r + exact radialExteriorTailIntegral_representation κ C r hκ g hg hbound + rw [heq] + apply h.congr_deriv + have hc : Real.exp (κ*t)*Real.exp (-(κ*t))=1 := by + rw [← Real.exp_add] + simp + have hcancel : -Real.exp (κ*t) • + radialExteriorPropagator t 0 (-radialExteriorGauge κ g t) = g t := by + change -Real.exp (κ*t) • + radialExteriorPropagatorMap t 0 (-radialExteriorGauge κ g t) = g t + simp only [radialExteriorGauge,map_neg,map_smul,radialExteriorPropagatorMap_apply, + radialExteriorPropagator_comp,radialExteriorPropagator_self,smul_neg, + smul_smul,neg_mul,hc,neg_smul,one_smul,neg_neg] + have hc1 := congrArg Prod.fst hcancel + have hc2 := congrArg Prod.snd hcancel + apply Prod.ext + · simp only [Prod.fst_add,radialExteriorPropagator,Prod.smul_mk] at hc1 ⊢ + simp only [Complex.real_smul,Complex.ofReal_mul,Complex.ofReal_neg] at hc1 ⊢ + linear_combination hc1 + · simp only [Prod.snd_add,radialExteriorPropagator,Prod.smul_mk] at hc2 ⊢ + simp only [Complex.real_smul,Complex.ofReal_mul,Complex.ofReal_neg] at hc2 ⊢ + linear_combination hc2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..8c0969296c597f5da1ca6134aa0e35f314caa136 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailEquation.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPicard +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailDerivative + +namespace OAI + +/-! Quantitative existence for the actual backward weighted differential equation. -/ + +open Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_fixedPoint_bound (κ L C : ℝ) (hκ : 0 < κ) (hL : 0 ≤ L) + (hLκ : L < κ) (hC : 0 ≤ C) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) + (v : ℝ →ᵇ ℂ × ℂ) + (hv : ∀ t, v t=radialExteriorTailIntegral κ (fun s => N s (v s)) t) : + ‖v‖ ≤ C/(κ-L) := by + have heq : v=radialExteriorPicard κ L C hκ hL N hN hN0 hLip v := by + apply BoundedContinuousFunction.ext + intro t + exact hv t + have hb := boundedRadialExteriorTail_norm κ hκ + (boundedRadialExteriorSource L C hL N hN hN0 hLip v) + change ‖radialExteriorPicard κ L C hκ hL N hN hN0 hLip v‖ ≤ _ at hb + rw [← heq] at hb + have hsource := boundedRadialExteriorSource_norm L C hL hC N hN hN0 hLip v + have hh : κ*‖v‖ ≤ L*‖v‖+C := by + have hh := (le_div_iff₀ hκ).mp (hb.trans + (div_le_div_of_nonneg_right hsource hκ.le)) + nlinarith + apply (le_div_iff₀ (sub_pos.mpr hLκ)).mpr + nlinarith + +theorem exists_radialExterior_weighted_ODE (κ L C : ℝ) (hκ : 0 < κ) + (hL : 0 ≤ L) (hLκ : L < κ) (hC : 0 ≤ C) + (N : ℝ → (ℂ × ℂ) → ℂ × ℂ) (hN : Continuous (Function.uncurry N)) + (hN0 : ∀ t, ‖N t 0‖ ≤ C) (hLip : ∀ t z w, ‖N t z-N t w‖ ≤ L*‖z-w‖) : + ∃ v : ℝ →ᵇ ℂ × ℂ, ‖v‖ ≤ C/(κ-L) ∧ + (∀ t, v t=radialExteriorTailIntegral κ (fun s => N s (v s)) t) ∧ + ∀ t, HasDerivAt (fun r => v r) + (κ • v t + (0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2) + N t (v t)) t := by + obtain ⟨v,hv,_⟩ := existsUnique_radialExteriorTail κ L C hκ hL hLκ N hN hN0 hLip + refine ⟨v,radialExterior_fixedPoint_bound κ L C hκ hL hLκ hC N hN hN0 hLip v hv,hv,?_⟩ + intro t + let w := boundedRadialExteriorSource L C hL N hN hN0 hLip v + have hd := radialExteriorTailIntegral_hasDerivAt κ ‖w‖ t hκ w w.continuous w.norm_coe_le_norm + have heq : (fun r => v r)=radialExteriorTailIntegral κ w := funext hv + rw [← heq] at hd + exact hd + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailFamily.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailFamily.lean new file mode 100644 index 0000000000000000000000000000000000000000..640d738d95860fd35c4b8a74f468fbc6a4f0c60e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailFamily.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailLimit + +namespace OAI + +/-! A convergent family of the actual weighted exterior correction equations. -/ + +open Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_radialExterior_convergent_corrections + (κ : ℝ) (ν : ℕ → ℂ) (ν₀ m : ℂ) (δ : ℝ) + (hν : Tendsto ν atTop (nhds ν₀)) (hδ : 0 ≤ δ) (hsmall : ‖m‖+2*δ < 1) + (hκ : radialExteriorMatrixBound ν₀ < κ) + (f : ℕ → ℝ → ℂ) (hf : ∀ n, Continuous (f n)) + (r : ℕ → ℝ →ᵇ ℂ × ℂ) (r₀ : ℝ →ᵇ ℂ × ℂ) (hr : Tendsto r atTop (nhds r₀)) : + ∃ v : ℕ → ℝ →ᵇ ℂ × ℂ, ∃ w : ℝ →ᵇ ℂ × ℂ, + Tendsto v atTop (nhds w) ∧ + (∀ t, w t=radialExteriorTailIntegral κ (fun s => radialExteriorErrorMatrix ν₀ (w s)+r₀ s) t) ∧ + (∀ t, HasDerivAt (fun s => w s) + (κ • w t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(w t).2)+ + radialExteriorErrorMatrix ν₀ (w t)+r₀ t) t) ∧ + ∀ᶠ n in atTop, + ‖v n‖ ≤ ‖r n‖/(κ-(radialExteriorMatrixBound (ν n)+radialExteriorCutoffRate n m δ)) ∧ + (∀ t, v n t=radialExteriorTailIntegral κ + (fun s => radialExteriorErrorField κ (ν n) (radialExteriorCutoffPower n m δ) + (f n) (r n) s (v n s)) t) ∧ + ∀ t, HasDerivAt (fun s => v n s) + (κ • v n t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v n t).2)+ + radialExteriorErrorField κ (ν n) (radialExteriorCutoffPower n m δ) + (f n) (r n) t (v n t)) t := by + classical + have hκpos := (radialExteriorMatrixBound_pos ν₀).trans hκ + let M := radialExteriorErrorField κ ν₀ (fun _ => 0) (fun _ => 0) r₀ + have hzeroLip : ∀ z u : ℂ, ‖(0 : ℂ)-0‖ ≤ (0 : ℝ)*‖z-u‖ := by simp + obtain ⟨w,_,hw,hwd⟩ := exists_radialExterior_weighted_ODE κ + (radialExteriorMatrixBound ν₀) ‖r₀‖ hκpos (radialExteriorMatrixBound_pos ν₀).le hκ + (norm_nonneg _) M + (radialExteriorErrorField_continuous κ ν₀ _ continuous_const _ continuous_const r₀) + (fun t => by simpa only [M,radialExteriorErrorField_zero] using r₀.norm_coe_le_norm t) + (by simpa only [add_zero] using + radialExteriorErrorField_difference κ 0 (by norm_num) ν₀ _ hzeroLip (fun _ => 0) r₀) + have hM : ∀ t z, M t z=radialExteriorErrorMatrix ν₀ z+r₀ t := by + intro t z + simp [M,radialExteriorErrorField,radialExteriorWeightedIncrement] + simp only [hM] at hw hwd + let L : ℕ → ℝ := fun n => radialExteriorMatrixBound (ν n)+radialExteriorCutoffRate n m δ + have hvex : ∀ n, ∃ v : ℝ →ᵇ ℂ × ℂ, L n < κ → + ‖v‖ ≤ ‖r n‖/(κ-L n) ∧ + (∀ t, v t=radialExteriorTailIntegral κ + (fun s => radialExteriorErrorField κ (ν n) (radialExteriorCutoffPower n m δ) + (f n) (r n) s (v s)) t) ∧ + ∀ t, HasDerivAt (fun s => v s) + (κ • v t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2)+ + radialExteriorErrorField κ (ν n) (radialExteriorCutoffPower n m δ) + (f n) (r n) t (v t)) t := by + intro n + by_cases hn : L n < κ + · have hL0 : 0 ≤ L n := add_nonneg (radialExteriorMatrixBound_pos (ν n)).le + (radialExteriorCutoffRate_nonneg n m δ) + obtain ⟨v,hv,hi,hd⟩ := exists_radialExterior_weighted_ODE κ (L n) ‖r n‖ hκpos hL0 hn + (norm_nonneg _) (radialExteriorErrorField κ (ν n) (radialExteriorCutoffPower n m δ) (f n) (r n)) + (radialExteriorErrorField_continuous κ (ν n) _ (radialExteriorCutoffPower_continuous n m δ) + (f n) (hf n) (r n)) + (fun t => by rw [radialExteriorErrorField_zero]; exact (r n).norm_coe_le_norm t) + (radialExteriorErrorField_difference κ _ (radialExteriorCutoffRate_nonneg n m δ) + (ν n) _ (radialExteriorCutoffPower_difference n m δ hδ) (f n) (r n)) + exact ⟨v,fun _ => ⟨hv,hi,hd⟩⟩ + · exact ⟨0,fun h => (hn h).elim⟩ + choose v hv using hvex + have hB : Tendsto (fun n => radialExteriorMatrixBound (ν n)) atTop + (nhds (radialExteriorMatrixBound ν₀)) := by + have hc : Continuous radialExteriorMatrixBound := by unfold radialExteriorMatrixBound; fun_prop + exact hc.continuousAt.tendsto.comp hν + have hL : Tendsto L atTop (nhds (radialExteriorMatrixBound ν₀)) := by + simpa only [L,add_zero] using hB.add (radialExteriorCutoffRate_tendsto m δ hδ hsmall) + have he : ∀ᶠ n in atTop, L n < κ := hL.eventually (gt_mem_nhds hκ) + have hspec := he.mono (fun n hn => hv n hn) + refine ⟨v,w,?_,hw,?_,hspec⟩ + · exact radialExterior_tail_fixedPoint_limit κ ν ν₀ m δ hν hδ hsmall hκ f hf r r₀ hr v w + (hspec.mono (fun _ h => h.2.1)) hw + · intro t + simpa only [add_assoc] using hwd t + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..142a760e765a8cea2254413b316418f776c44d16 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailIntegral.lean @@ -0,0 +1,50 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorPropagator +import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals +import Mathlib.MeasureTheory.Integral.ExpDecay +import Mathlib.Topology.ContinuousMap.Bounded.Normed + +namespace OAI + +/-! Absolute convergence and the exact weighted bound for the backward tail integral. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +noncomputable def radialExteriorTailIntegral (κ : ℝ) (g : ℝ → ℂ × ℂ) (t : ℝ) : ℂ × ℂ := + -∫ u in Ioi (0 : ℝ), Real.exp (-κ*u) • radialExteriorPropagator t (t+u) (g (t+u)) + +theorem radialExteriorTailIntegral_integrable (κ C t : ℝ) (hκ : 0 < κ) + (g : ℝ → ℂ × ℂ) (hg : Continuous g) (hbound : ∀ s, ‖g s‖ ≤ C) : + IntegrableOn (fun u => Real.exp (-κ*u) • radialExteriorPropagator t (t+u) (g (t+u))) + (Ioi (0 : ℝ)) := by + have hc : Continuous (fun u => Real.exp (-κ*u) • radialExteriorPropagator t (t+u) (g (t+u))) := by + unfold radialExteriorPropagator radialExteriorPhase + fun_prop + apply ((exp_neg_integrableOn_Ioi 0 hκ).mul_const C).mono' hc.aestronglyMeasurable + exact Filter.Eventually.of_forall (fun u => by + rw [norm_smul,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _),radialExteriorPropagator_norm] + exact mul_le_mul_of_nonneg_left (hbound _) (Real.exp_nonneg _)) + +theorem radialExteriorTailIntegral_norm (κ C t : ℝ) (hκ : 0 < κ) + (g : ℝ → ℂ × ℂ) (hg : Continuous g) (hbound : ∀ s, ‖g s‖ ≤ C) : + ‖radialExteriorTailIntegral κ g t‖ ≤ C/κ := by + have hi := radialExteriorTailIntegral_integrable κ C t hκ g hg hbound + unfold radialExteriorTailIntegral + rw [norm_neg] + calc + _ ≤ ∫ u in Ioi (0 : ℝ), ‖Real.exp (-κ*u) • radialExteriorPropagator t (t+u) (g (t+u))‖ := + norm_integral_le_integral_norm _ + _ ≤ ∫ u in Ioi (0 : ℝ), Real.exp (-κ*u)*C := by + apply integral_mono_ae hi.norm ((exp_neg_integrableOn_Ioi 0 hκ).mul_const C) + exact Filter.Eventually.of_forall (fun u => by + change ‖Real.exp (-κ*u) • radialExteriorPropagator t (t+u) (g (t+u))‖ ≤ Real.exp (-κ*u)*C + rw [norm_smul,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _),radialExteriorPropagator_norm] + exact mul_le_mul_of_nonneg_left (hbound _) (Real.exp_nonneg _)) + _ = C/κ := by + rw [integral_mul_const,integral_exp_mul_Ioi (neg_lt_zero.mpr hκ)] + simp + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..8b1d9b88fbd6b927f5109caffe01891ea64003f1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailLimit.lean @@ -0,0 +1,92 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailComparison +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFieldDifference +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorNonlinearTail + +namespace OAI + +/-! Sup-norm convergence of the actual nonlinear tail fixed points to the free one. -/ + +open Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_tail_fixedPoint_limit + (κ : ℝ) (ν : ℕ → ℂ) (ν₀ m : ℂ) (δ : ℝ) + (hν : Tendsto ν atTop (nhds ν₀)) (hδ : 0 ≤ δ) (hsmall : ‖m‖+2*δ < 1) + (hκ : radialExteriorMatrixBound ν₀ < κ) + (f : ℕ → ℝ → ℂ) (hf : ∀ n, Continuous (f n)) + (r : ℕ → ℝ →ᵇ ℂ × ℂ) (r₀ : ℝ →ᵇ ℂ × ℂ) (hr : Tendsto r atTop (nhds r₀)) + (v : ℕ → ℝ →ᵇ ℂ × ℂ) (w : ℝ →ᵇ ℂ × ℂ) + (hv : ∀ᶠ n in atTop, ∀ t, v n t=radialExteriorTailIntegral κ + (fun s => radialExteriorErrorField κ (ν n) (radialExteriorCutoffPower n m δ) (f n) (r n) s (v n s)) t) + (hw : ∀ t, w t=radialExteriorTailIntegral κ + (fun s => radialExteriorErrorMatrix ν₀ (w s)+r₀ s) t) : + Tendsto v atTop (nhds w) := by + have hκpos : 0 < κ := (radialExteriorMatrixBound_pos ν₀).trans hκ + let L : ℕ → ℝ := fun n => radialExteriorMatrixBound (ν n)+radialExteriorCutoffRate n m δ + let E : ℕ → ℝ := fun n => + (radialExteriorMatrixDifference (ν n) ν₀+radialExteriorCutoffRate n m δ)*‖w‖+‖r n-r₀‖ + have hB : Tendsto (fun n => radialExteriorMatrixBound (ν n)) atTop + (nhds (radialExteriorMatrixBound ν₀)) := by + have hc : Continuous radialExteriorMatrixBound := by unfold radialExteriorMatrixBound; fun_prop + exact hc.continuousAt.tendsto.comp hν + have hD : Tendsto (fun n => radialExteriorMatrixDifference (ν n) ν₀) atTop (nhds 0) := by + have hc : Continuous (fun z => radialExteriorMatrixDifference z ν₀) := by + unfold radialExteriorMatrixDifference + fun_prop + simpa only [Function.comp_def,radialExteriorMatrixDifference,sub_self,norm_zero,add_zero] using + hc.continuousAt.tendsto.comp hν + have hRate := radialExteriorCutoffRate_tendsto m δ hδ hsmall + have hL : Tendsto L atTop (nhds (radialExteriorMatrixBound ν₀)) := by + simpa only [L,add_zero] using hB.add hRate + have hE : Tendsto E atTop (nhds 0) := by + simpa only [E,add_zero,zero_mul] using + ((hD.add hRate).mul_const ‖w‖).add (tendsto_iff_norm_sub_tendsto_zero.mp hr) + have hbound : Tendsto (fun n => E n/(κ-L n)) atTop (nhds 0) := by + have hb := hE.div (tendsto_const_nhds.sub hL) (sub_pos.mpr hκ).ne' + change Tendsto (fun n => E n/(κ-L n)) atTop + (nhds (0/(κ-radialExteriorMatrixBound ν₀))) at hb + simpa only [zero_div] using hb + have hLevent : ∀ᶠ n in atTop, L n < κ := hL.eventually (gt_mem_nhds hκ) + apply tendsto_iff_norm_sub_tendsto_zero.mpr + apply squeeze_zero' (Eventually.of_forall (fun _ => norm_nonneg _)) _ hbound + filter_upwards [hLevent,hv] with n hn hvn + have hRate0 := radialExteriorCutoffRate_nonneg n m δ + have hLn : 0 ≤ L n := add_nonneg (radialExteriorMatrixBound_pos (ν n)).le hRate0 + have hEn : 0 ≤ E n := by + dsimp [E,radialExteriorMatrixDifference] + positivity + let N := radialExteriorErrorField κ (ν n) (radialExteriorCutoffPower n m δ) (f n) (r n) + let M := radialExteriorErrorField κ ν₀ (fun _ => 0) (fun _ => 0) r₀ + have hM : ∀ t z, M t z=radialExteriorErrorMatrix ν₀ z+r₀ t := by + intro t z + simp [M,radialExteriorErrorField,radialExteriorWeightedIncrement] + have hzeroLip : ∀ z u : ℂ, ‖(0 : ℂ)-0‖ ≤ (0 : ℝ)*‖z-u‖ := by simp + have hcutLip := radialExteriorCutoffPower_difference n m δ hδ + have hw' : ∀ t, w t=radialExteriorTailIntegral κ (fun s => M s (w s)) t := by + simpa only [M,radialExteriorErrorField,radialExteriorWeightedIncrement,sub_self,mul_zero, + Prod.mk_zero_zero,add_zero] using hw + apply radialExterior_fixedPoint_difference κ (L n) (radialExteriorMatrixBound ν₀) + ‖r n‖ ‖r₀‖ (E n) hκpos hLn (radialExteriorMatrixBound_pos ν₀).le hn hEn N M + (radialExteriorErrorField_continuous κ (ν n) _ (radialExteriorCutoffPower_continuous n m δ) + (f n) (hf n) (r n)) + (radialExteriorErrorField_continuous κ ν₀ _ continuous_const _ continuous_const r₀) + (fun t => by simpa only [N,radialExteriorErrorField_zero] using (r n).norm_coe_le_norm t) + (fun t => by simpa only [M,radialExteriorErrorField_zero] using r₀.norm_coe_le_norm t) + (radialExteriorErrorField_difference κ _ hRate0 (ν n) _ hcutLip (f n) (r n)) + (by simpa only [add_zero] using + radialExteriorErrorField_difference κ 0 (by norm_num) ν₀ _ hzeroLip (fun _ => 0) r₀) + (v n) w hvn hw' + intro t + rw [hM] + calc + _ ≤ (radialExteriorMatrixDifference (ν n) ν₀+radialExteriorCutoffRate n m δ)*‖w t‖+ + ‖r n-r₀‖ := radialExteriorErrorField_linear_difference κ _ (ν n) ν₀ _ hcutLip (f n) (r n) r₀ t (w t) + _ ≤ E n := by + apply (add_le_add_iff_right ‖r n-r₀‖).mpr + exact mul_le_mul_of_nonneg_left (w.norm_coe_le_norm t) + (add_nonneg (by unfold radialExteriorMatrixDifference; positivity) hRate0) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailOperator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailOperator.lean new file mode 100644 index 0000000000000000000000000000000000000000..20ece1fffc182674e1bca9483b744db01b12efdd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailOperator.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailIntegral + +namespace OAI + +/-! The absolutely convergent backward tail integral acts on bounded continuous sources. -/ + +open Set Filter MeasureTheory +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExteriorTailIntegral_continuous (κ C : ℝ) (hκ : 0 < κ) + (g : ℝ → ℂ × ℂ) (hg : Continuous g) (hbound : ∀ s, ‖g s‖ ≤ C) : + Continuous (radialExteriorTailIntegral κ g) := by + unfold radialExteriorTailIntegral + apply Continuous.neg + apply continuous_of_dominated + (bound := fun u : ℝ => Real.exp (-κ*u)*C) + · intro t + apply Continuous.aestronglyMeasurable + unfold radialExteriorPropagator radialExteriorPhase + fun_prop + · intro t + exact Eventually.of_forall (fun u => by + change ‖Real.exp (-κ*u) • radialExteriorPropagator t (t+u) (g (t+u))‖ ≤ Real.exp (-κ*u)*C + rw [norm_smul,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _),radialExteriorPropagator_norm] + exact mul_le_mul_of_nonneg_left (hbound _) (Real.exp_nonneg _)) + · exact (exp_neg_integrableOn_Ioi 0 hκ).mul_const C + · apply Eventually.of_forall + intro u + unfold radialExteriorPropagator radialExteriorPhase + fun_prop + +noncomputable def boundedRadialExteriorTail (κ : ℝ) (hκ : 0 < κ) + (g : ℝ →ᵇ ℂ × ℂ) : ℝ →ᵇ ℂ × ℂ := + BoundedContinuousFunction.ofNormedAddCommGroup (radialExteriorTailIntegral κ g) + (radialExteriorTailIntegral_continuous κ ‖g‖ hκ g g.continuous g.norm_coe_le_norm) + (‖g‖/κ) (radialExteriorTailIntegral_norm κ ‖g‖ · hκ g g.continuous g.norm_coe_le_norm) + +theorem boundedRadialExteriorTail_norm (κ : ℝ) (hκ : 0 < κ) (g : ℝ →ᵇ ℂ × ℂ) : + ‖boundedRadialExteriorTail κ hκ g‖ ≤ ‖g‖/κ := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro t + exact radialExteriorTailIntegral_norm κ ‖g‖ t hκ g g.continuous g.norm_coe_le_norm + +theorem radialExteriorTailIntegral_sub (κ : ℝ) (hκ : 0 < κ) + (g h : ℝ →ᵇ ℂ × ℂ) (t : ℝ) : + radialExteriorTailIntegral κ (g-h) t= + radialExteriorTailIntegral κ g t-radialExteriorTailIntegral κ h t := by + unfold radialExteriorTailIntegral + have hiG := radialExteriorTailIntegral_integrable κ ‖g‖ t hκ g g.continuous g.norm_coe_le_norm + have hiH := radialExteriorTailIntegral_integrable κ ‖h‖ t hκ h h.continuous h.norm_coe_le_norm + change -(∫ u in Ioi (0 : ℝ), Real.exp (-κ*u) • + radialExteriorPropagator t (t+u) (g (t+u)-h (t+u))) = _ + simp only [radialExteriorPropagator_sub,smul_sub] + rw [integral_sub hiG hiH] + abel + +theorem boundedRadialExteriorTail_difference (κ : ℝ) (hκ : 0 < κ) + (g h : ℝ →ᵇ ℂ × ℂ) : + ‖boundedRadialExteriorTail κ hκ g-boundedRadialExteriorTail κ hκ h‖ ≤ ‖g-h‖/κ := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro t + change ‖radialExteriorTailIntegral κ g t-radialExteriorTailIntegral κ h t‖ ≤ _ + rw [← radialExteriorTailIntegral_sub κ hκ g h t] + exact radialExteriorTailIntegral_norm κ ‖g-h‖ t hκ (g-h) (g-h).continuous (g-h).norm_coe_le_norm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailRemoval.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailRemoval.lean new file mode 100644 index 0000000000000000000000000000000000000000..3fd6d9fb667b4ec78afe0eab9df0021399adfbfd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailRemoval.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorBoundedFamily +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCorrection + +namespace OAI + +/-! Remove the exterior cutoff using a common tail neighborhood. -/ + +open Polynomial +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExterior_tail_cutoff_removal (ν m : ℂ) (n j : ℕ) (δ T : ℝ) + (P R : ℂ[X]) (hR : radialExteriorPolynomialResidual ν n P=X^j*R) + (v : ℝ →ᵇ ℂ × ℂ) (t : ℝ) (ht : T ≤ t) + (hP : ‖radialExteriorPolynomialFunction P t-m‖ ≤ δ) + (hF : ‖radialExteriorPolynomialFunction P t+ + (radialExteriorUnweight (2*(j : ℝ)) v t).1-m‖ ≤ δ) + (hv : HasDerivAt (fun s => v s) + ((2*(j : ℝ)) • v t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2)+ + radialExteriorErrorField (2*(j : ℝ)) ν (radialExteriorCutoffPower n m δ) + (boundedRadialPolynomialAfter T P) (boundedRadialResidualAfter T R) t (v t)) t) : + let Y := radialExteriorUnweight (2*(j : ℝ)) v + HasDerivAt (fun s => radialExteriorPolynomialFunction P s+(Y s).1) + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2) t ∧ + HasDerivAt (fun s => radialExteriorPolynomialFunction (radialPolynomialEuler P) s+(Y s).2) + (-(2*ν+10+Complex.I*(Real.exp (2*t)/2 : ℝ))* + (radialExteriorPolynomialFunction (radialPolynomialEuler P) t+(Y t).2)- + ν*(ν+10)*(radialExteriorPolynomialFunction P t+(Y t).1)+ + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t+(Y t).1)) t := by + intro Y + have hvt : HasDerivAt (fun s => v s) + ((2*(j : ℝ)) • v t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2)+ + radialExteriorErrorMatrix ν (v t)+ + (0,radialExteriorWeightedIncrement (2*(j : ℝ)) (radialExteriorCutoffPower n m δ) + (boundedRadialPolynomialAfter T P) t (v t).1)+boundedRadialResidualAfter T R t) t := by + simpa only [radialExteriorErrorField,add_assoc] using hv + have hyt := radialExteriorUnweight_hasDerivAt (2*(j : ℝ)) t ν + (radialExteriorCutoffPower n m δ) (boundedRadialPolynomialAfter T P) + (boundedRadialResidualAfter T R) v hvt + change HasDerivAt Y _ t at hyt + rw [boundedRadialPolynomialAfter_eq T P t ht] at hyt + rw [radialExteriorCutoffPower_eq n m δ _ hP, + radialExteriorCutoffPower_eq n m δ _ hF] at hyt + rw [boundedRadialResidualAfter_factor T _ R j hR t ht] at hyt + have hy : HasDerivAt Y + ((Y t).2,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(Y t).2- + (2*ν+10)*(Y t).2-ν*(ν+10)*(Y t).1+ + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t+(Y t).1)- + oddPowerNonlinearity n (radialExteriorPolynomialFunction P t)- + radialExteriorPolynomialFunction (radialExteriorPolynomialResidual ν n P) t) t := by + apply hyt.congr_deriv + apply Prod.ext <;> simp [radialExteriorErrorMatrix] <;> ring + exact radialExterior_corrected_jet ν n P Y t hy + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailRepresentation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailRepresentation.lean new file mode 100644 index 0000000000000000000000000000000000000000..e6446d70e8382bf9f254ff649171754782f7ebb1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTailRepresentation.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailOperator +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTailCalculus +import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap + +namespace OAI + +/-! Factoring the diagonal propagator out of the convergent backward integral. -/ + +open Set Filter MeasureTheory +namespace DefocusingNLS + +noncomputable def radialExteriorPropagatorMap (t s : ℝ) : (ℂ × ℂ) →L[ℝ] (ℂ × ℂ) := + (ContinuousLinearMap.fst ℝ ℂ ℂ).prod + (radialExteriorPhase t s • ContinuousLinearMap.snd ℝ ℂ ℂ) + +@[simp] theorem radialExteriorPropagatorMap_apply (t s : ℝ) (v : ℂ × ℂ) : + radialExteriorPropagatorMap t s v=radialExteriorPropagator t s v := rfl + +noncomputable def radialExteriorGauge (κ : ℝ) (g : ℝ → ℂ × ℂ) (s : ℝ) : ℂ × ℂ := + Real.exp (-κ*s) • radialExteriorPropagator 0 s (g s) + +theorem radialExteriorGauge_continuous (κ : ℝ) (g : ℝ → ℂ × ℂ) (hg : Continuous g) : + Continuous (radialExteriorGauge κ g) := by + unfold radialExteriorGauge radialExteriorPropagator radialExteriorPhase + fun_prop + +theorem radialExteriorGauge_integrable (κ C a : ℝ) (hκ : 0 < κ) + (g : ℝ → ℂ × ℂ) (hg : Continuous g) (hbound : ∀ s, ‖g s‖ ≤ C) : + IntegrableOn (radialExteriorGauge κ g) (Ioi a) := by + apply ((exp_neg_integrableOn_Ioi a hκ).mul_const C).mono' + (radialExteriorGauge_continuous κ g hg).aestronglyMeasurable + exact Eventually.of_forall (fun s => by + simp only [radialExteriorGauge,norm_smul,Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _),radialExteriorPropagator_norm] + exact mul_le_mul_of_nonneg_left (hbound s) (Real.exp_nonneg _)) + +theorem radialExteriorTailIntegral_representation (κ C t : ℝ) (hκ : 0 < κ) + (g : ℝ → ℂ × ℂ) (hg : Continuous g) (hbound : ∀ s, ‖g s‖ ≤ C) : + radialExteriorTailIntegral κ g t = -Real.exp (κ*t) • + radialExteriorPropagator t 0 (∫ s in Ioi t, radialExteriorGauge κ g s) := by + have hi := radialExteriorGauge_integrable κ C t hκ g hg hbound + have he (u : ℝ) : + Real.exp (-κ*u) • radialExteriorPropagator t (t+u) (g (t+u)) = + Real.exp (κ*t) • radialExteriorPropagatorMap t 0 (radialExteriorGauge κ g (t+u)) := by + simp only [radialExteriorGauge,ContinuousLinearMap.map_smul, + radialExteriorPropagatorMap_apply,radialExteriorPropagator_comp,smul_smul] + rw [← Real.exp_add] + congr 2 + ring + unfold radialExteriorTailIntegral + simp_rw [he] + rw [integral_smul,radial_tail_translate (fun s => + radialExteriorPropagatorMap t 0 (radialExteriorGauge κ g s)) t, + (radialExteriorPropagatorMap t 0).integral_comp_comm hi] + simp only [radialExteriorPropagatorMap_apply,neg_smul] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTerminal.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTerminal.lean new file mode 100644 index 0000000000000000000000000000000000000000..3a1a2b63c409d535d10c947b5d057f400d7f35e2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorTerminal.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorOutgoing +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorFiniteContinuity + +namespace OAI + +/-! Equality on an outgoing tail propagates back to the matching radius. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialExterior_terminal_unique (ν : ℂ) (n : ℕ) (L U : ℝ) + (Z W : ℝ → ℂ × ℂ) (hcZ : Continuous Z) (hcW : Continuous W) + (hZ : ∀ t ∈ Icc L U, HasDerivAt Z (radialExteriorODEField ν n t (Z t)) t) + (hW : ∀ t ∈ Icc L U, HasDerivAt W (radialExteriorODEField ν n t (W t)) t) + (he : Z U=W U) (t : ℝ) (ht : t ∈ Icc L U) : Z t=W t := by + obtain ⟨C,hC⟩ := (isCompact_Icc : IsCompact (Icc L U)).exists_bound_of_continuousOn hcZ.continuousOn + obtain ⟨D,hD⟩ := (isCompact_Icc : IsCompact (Icc L U)).exists_bound_of_continuousOn hcW.continuousOn + let ρ := max C D + have hρ : 0 ≤ ρ := (norm_nonneg (Z t)).trans ((hC t ht).trans (le_max_left _ _)) + have hT : 0 ≤ U-L := sub_nonneg.mpr (ht.1.trans ht.2) + have hdZ : ∀ (_i : ℕ) (s : ℝ), s ∈ Icc (U-(U-L)) U → HasDerivAt (fun r => Z r) + (radialExteriorFiniteField ν n (fun _ => 0) ρ s (Z s)) s := by + intro _ s hs + have hs' : s ∈ Icc L U := by simpa only [sub_sub_cancel] using hs + rw [radialExteriorFiniteField_eq ν n (fun _ => 0) ρ s (Z s) (by + simpa only [sub_zero] using (norm_fst_le (Z s)).trans ((hC s hs').trans (le_max_left _ _)))] + exact hZ s hs' + have hdW : ∀ s ∈ Icc (U-(U-L)) U, HasDerivAt W + (radialExteriorFiniteField ν n (fun _ => 0) ρ s (W s)) s := by + intro s hs + have hs' : s ∈ Icc L U := by simpa only [sub_sub_cancel] using hs + rw [radialExteriorFiniteField_eq ν n (fun _ => 0) ρ s (W s) (by + simpa only [sub_zero] using (norm_fst_le (W s)).trans ((hD s hs').trans (le_max_right _ _)))] + exact hW s hs' + have hx : Tendsto (fun _ : ℕ => Z U) atTop (nhds (W U)) := by + rw [he] + exact tendsto_const_nhds + have hconv := radialExterior_finite_parameter_limit n (fun _ : ℕ => ν) ν tendsto_const_nhds + (fun _ => 0) continuous_const ρ (2*ρ) U (U-L) hρ hT + (fun _ _ => by simp) (fun _ : ℕ => Z) W (fun _ => hcZ) hcW hdZ hdW hx + have hlim : Tendsto (fun _ : ℕ => Z t) atTop (nhds (W t)) := + hconv.tendsto_at (by simpa only [sub_sub_cancel] using ht) + exact tendsto_nhds_unique tendsto_const_nhds hlim + +theorem radialExterior_outgoing_unique (ν : ℂ) (n : ℕ) (m : ℂ) (L : ℝ) + (Z W : ℝ → ℂ × ℂ) (hcZ : Continuous Z) (hcW : Continuous W) + (hZ : ∀ t, L ≤ t → HasDerivAt Z (radialExteriorODEField ν n t (Z t)) t) + (hW : ∀ t, L ≤ t → HasDerivAt W (radialExteriorODEField ν n t (W t)) t) + (heZ : HasRadialOutgoingExpansion ν n m Z) + (heW : HasRadialOutgoingExpansion ν n m W) + (t : ℝ) (ht : L ≤ t) : Z t=W t := by + have he := radialExterior_outgoing_eventually_eq ν n m Z W L hZ hW heZ heW + obtain ⟨U,hU⟩ := ((eventually_ge_atTop t).and he).exists + exact radialExterior_terminal_unique ν n L U Z W hcZ hcW + (fun s hs => hZ s hs.1) (fun s hs => hW s hs.1) hU.2 t ⟨ht,hU.1⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUniformRemainder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUniformRemainder.lean new file mode 100644 index 0000000000000000000000000000000000000000..cf901a0728b1465c0a6809e9f83ef557171b2c2e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUniformRemainder.lean @@ -0,0 +1,123 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCommonTail +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCanonical +import Mathlib.Analysis.Normed.Group.Bounded + +namespace OAI + +/-! A fixed sufficiently high expansion order gives a uniformly bounded +weighted remainder for the canonical profiles along the singular limit. -/ + +open Polynomial Set Filter Topology +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radialExteriorCanonical_uniform_remainder + (ν m : ℕ → ℂ) (ν₀ m₀ : ℂ) + (hν : Tendsto ν atTop (𝓝 ν₀)) (hm : Tendsto m atTop (𝓝 m₀)) + (δ L : ℝ) (hδ : 0 < δ) (hsmall : ‖m₀‖+2*δ < 1) + (hX : ∀ᶠ n in atTop, HasRadialExterior (ν n) n (m n) L) + (j : ℕ) (hj : radialExteriorMatrixBound ν₀ < 2*(j : ℝ)) : + ∃ T C : ℝ, 0 ≤ T ∧ L ≤ T ∧ 0 ≤ C ∧ + ∃ v : ℕ → ℝ →ᵇ ℂ × ℂ, ∃ w : ℝ →ᵇ ℂ × ℂ, + Tendsto v atTop (𝓝 w) ∧ (∀ n, ‖v n‖ ≤ C) ∧ + ∀ᶠ n in atTop, ∀ t, T ≤ t → + ‖(radialExteriorCanonical (ν n) n (m n) L t).1‖ ≤ ‖m₀‖+δ ∧ + ‖radialExteriorPolynomialFunction (radialExteriorExpansion (ν n) n (m n) j) t‖ ≤ ‖m₀‖+δ ∧ + radialExteriorCanonical (ν n) n (m n) L t= + radialPolynomialJet (radialExteriorExpansion (ν n) n (m n) j) t+ + radialExteriorUnweight (2*(j : ℝ)) (v n) t := by + let κ : ℝ := 2*(j : ℝ) + have hκ0 : 0 < κ := (radialExteriorMatrixBound_pos ν₀).trans hj + have hm01 : ‖m₀‖ < 1 := by linarith + have hB : Tendsto (fun n => radialExteriorMatrixBound (ν n)) atTop + (𝓝 (radialExteriorMatrixBound ν₀)) := by + have hc : Continuous radialExteriorMatrixBound := by unfold radialExteriorMatrixBound; fun_prop + exact hc.continuousAt.tendsto.comp hν + have hmargin : ∀ᶠ n in atTop, radialExteriorMatrixBound (ν n)+ + radialExteriorCutoffRate n m₀ δ < κ := by + have hh := hB.add (radialExteriorCutoffRate_tendsto m₀ δ hδ.le hsmall) + rw [add_zero] at hh + exact hh.eventually (gt_mem_nhds hj) + let P := fun n => radialExteriorExpansion (ν n) n (m n) j + let Q := radialFreeExpansion ν₀ m₀ j + obtain ⟨T,hT,R,R₀,hR,_hR₀,hr⟩ := + exists_radialExterior_bounded_residual_family ν m ν₀ m₀ hν hm hm01 j + let f : ℕ → ℝ → ℂ := fun n => boundedRadialPolynomialAfter T (P n) + let r := fun n => boundedRadialResidualAfter T (R n) + obtain ⟨v,w,hvw,_,_,hv⟩ := exists_radialExterior_convergent_corrections κ ν ν₀ m₀ δ hν + hδ.le hsmall hj f (fun n => (boundedRadialPolynomialAfter T (P n)).continuous) r (boundedRadialResidualAfter T R₀) hr + let Z := fun n t => radialPolynomialJet (P n) t+radialExteriorUnweight κ (v n) t + let Z₀ := fun t => radialPolynomialJet Q t+radialExteriorUnweight κ w t + have hZ : TendstoUniformlyOn Z Z₀ atTop (Ici (0 : ℝ)) := + radialExterior_corrected_jet_uniform_limit κ hκ0.le ν m ν₀ m₀ hν hm hm01 j v w hvw + have hZ₀lim : Tendsto Z₀ atTop (𝓝 (m₀,0)) := by + simpa only [Q,radialFreeExpansion_constant] using + radialExterior_corrected_jet_tendsto κ hκ0 Q w + have hP : TendstoUniformlyOn (fun n => radialPolynomialJet (P n)) (radialPolynomialJet Q) + atTop (Ici (0 : ℝ)) := radialPolynomialJet_uniform_limit P Q j + (Eventually.of_forall (fun _ => radialExteriorExpansion_degree _ _ _ _)) + (radialFreeExpansion_degree _ _ _) (fun k _ => + radialExteriorExpansion_coefficient_limit ν m ν₀ m₀ hν hm hm01 j k) + have hQlim : Tendsto (radialPolynomialJet Q) atTop (𝓝 (m₀,0)) := by + simpa only [Q,radialFreeExpansion_constant] using radialPolynomialJet_tendsto Q + obtain ⟨SP,_,hSP⟩ := radial_uniform_tail_near_limit (fun n => radialPolynomialJet (P n)) + (radialPolynomialJet Q) (m₀,0) δ hδ hP hQlim + obtain ⟨SF,_,hSF⟩ := radial_uniform_tail_near_limit Z Z₀ (m₀,0) δ hδ hZ hZ₀lim + obtain ⟨C,hC⟩ := (Metric.isBounded_range_of_tendsto v hvw).exists_norm_le + have hC0 : 0 ≤ C := (norm_nonneg (v 0)).trans (hC _ (mem_range_self 0)) + let S := max L (max T (max SP SF)) + have hSL : L ≤ S := le_max_left _ _ + have hST : T ≤ S := (le_max_left T _).trans (le_max_right L _) + have hSSP : SP ≤ S := (le_max_left SP SF).trans + ((le_max_right T _).trans (le_max_right L _)) + have hSSF : SF ≤ S := (le_max_right SP SF).trans + ((le_max_right T _).trans (le_max_right L _)) + refine ⟨S,C,hT.trans hST,hSL,hC0,v,w,hvw,(fun n => hC _ (mem_range_self n)),?_⟩ + have hmB : ∀ᶠ n in atTop, ‖m n‖ ≤ ‖m₀‖+2*δ := + (hm.norm.eventually (gt_mem_nhds (by linarith : ‖m₀‖ < ‖m₀‖+2*δ))).mono + (fun _ h => h.le) + filter_upwards [hX,hv,hSP,hSF,hmargin,hmB] with n hXn hvn hpn hfn hmn hmb t ht + have hcZ : Continuous (Z n) := continuous_radialExterior_polynomialCorrection _ _ _ + have hdZ : ∀ t, S ≤ t → HasDerivAt (Z n) (radialExteriorODEField (ν n) n t (Z n t)) t := by + intro t ht + have hpn' : ‖radialExteriorPolynomialFunction (P n) t-m₀‖ ≤ δ := + ((norm_fst_le (radialPolynomialJet (P n) t-(m₀,0))).trans_lt + (hpn t (hSSP.trans ht))).le + have hfn' : ‖(Z n t).1-m₀‖ ≤ δ := + ((norm_fst_le (Z n t-(m₀,0))).trans_lt (hfn t (hSSF.trans ht))).le + have hd := radialExterior_tail_cutoff_removal (ν n) m₀ n j δ T (P n) (R n) + (hR n) (v n) t (hST.trans ht) hpn' hfn' (hvn.2.2 t) + exact hd.1.prodMk hd.2 + have hexp : HasRadialOutgoingExpansion (ν n) n (m n) (Z n) := by + refine ⟨j,v n,S,?_,fun _ _ => rfl⟩ + have hrate : (2*(n : ℝ)+1)*‖m n‖^(2*n) ≤ radialExteriorCutoffRate n m₀ δ := by + unfold radialExteriorCutoffRate + have hb : 0 ≤ (2*(n : ℝ)+1)*(‖m₀‖+2*δ)^(2*n) := by positivity + calc + (2*(n : ℝ)+1)*‖m n‖^(2*n) ≤ (2*(n : ℝ)+1)*(‖m₀‖+2*δ)^(2*n) := by gcongr + _ ≤ _ := by nlinarith + exact (add_le_add le_rfl hrate).trans_lt hmn + obtain ⟨hc,he,hd⟩ := radialExteriorCanonical_spec hXn + have heq := radialExterior_outgoing_unique (ν n) n (m n) S _ (Z n) hc hcZ + (fun t ht => (hd t (hSL.trans ht)).2) hdZ he hexp t ht + refine ⟨?_,?_,heq⟩ + · rw [heq] + have hb := (norm_fst_le (Z n t-(m₀,0))).trans_lt (hfn t (hSSF.trans ht)) + change ‖(Z n t).1-m₀‖ < δ at hb + calc + ‖(Z n t).1‖ ≤ ‖(Z n t).1-m₀‖+‖m₀‖ := by + simpa only [sub_add_cancel] using norm_add_le ((Z n t).1-m₀) m₀ + _ ≤ ‖m₀‖+δ := by linarith + · have hb := (norm_fst_le (radialPolynomialJet (P n) t-(m₀,0))).trans_lt + (hpn t (hSSP.trans ht)) + change ‖radialExteriorPolynomialFunction (P n) t-m₀‖ < δ at hb + calc + ‖radialExteriorPolynomialFunction (P n) t‖ ≤ + ‖radialExteriorPolynomialFunction (P n) t-m₀‖+‖m₀‖ := by + simpa only [sub_add_cancel] using + norm_add_le (radialExteriorPolynomialFunction (P n) t-m₀) m₀ + _ ≤ ‖m₀‖+δ := by linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUniformTail.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUniformTail.lean new file mode 100644 index 0000000000000000000000000000000000000000..84359c4549b8f21627bf27e5094467b678c5ec33 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUniformTail.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorJetLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorTailData + +namespace OAI + +/-! Uniform convergence provides a single tail on which cutoff removal is valid. -/ + +open Polynomial Set Filter +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem radial_uniform_tail_near_limit {E : Type*} [NormedAddCommGroup E] + (F : ℕ → ℝ → E) (F₀ : ℝ → E) (m : E) (δ : ℝ) (hδ : 0 < δ) + (hF : TendstoUniformlyOn F F₀ atTop (Ici (0 : ℝ))) + (hF₀ : Tendsto F₀ atTop (nhds m)) : + ∃ S : ℝ, 0 ≤ S ∧ ∀ᶠ n in atTop, ∀ t, S ≤ t → ‖F n t-m‖ < δ := by + have he : ∀ᶠ t in atTop, ‖F₀ t-m‖ < δ/2 := + (tendsto_iff_norm_sub_tendsto_zero.mp hF₀).eventually (gt_mem_nhds (by positivity)) + obtain ⟨S,hS⟩ := eventually_atTop.mp he + refine ⟨max S 0,le_max_right _ _,?_⟩ + filter_upwards [(Metric.tendstoUniformlyOn_iff.mp hF) (δ/2) (by positivity)] with n hn t ht + have ht0 : 0 ≤ t := (le_max_right S 0).trans ht + have h1 := hn t ht0 + rw [dist_comm,dist_eq_norm] at h1 + have h2 := hS t ((le_max_left S 0).trans ht) + have hb : ‖F n t-m‖ ≤ ‖F n t-F₀ t‖+‖F₀ t-m‖ := by + simpa only [dist_eq_norm] using dist_triangle (F n t) (F₀ t) m + linarith + +theorem radialPolynomialJet_tendsto (P : ℂ[X]) : + Tendsto (radialPolynomialJet P) atTop (nhds (P.coeff 0,0)) := by + have h0 := radialExteriorPolynomialFunction_tendsto P + have h1 : Tendsto (radialExteriorPolynomialFunction (radialPolynomialEuler P)) atTop (nhds 0) := by + simpa only [radialPolynomialEuler_coeff,Nat.cast_zero,mul_zero,zero_mul] using + radialExteriorPolynomialFunction_tendsto (radialPolynomialEuler P) + exact h0.prodMk_nhds h1 + +theorem radialExterior_corrected_jet_tendsto (κ : ℝ) (hκ : 0 < κ) (P : ℂ[X]) + (v : ℝ →ᵇ ℂ × ℂ) : + Tendsto (fun t => radialPolynomialJet P t+radialExteriorUnweight κ v t) atTop + (nhds (P.coeff 0,0)) := by + simpa only [add_zero] using (radialPolynomialJet_tendsto P).add + (radialExteriorUnweight_tendsto κ hκ v) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUnweight.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUnweight.lean new file mode 100644 index 0000000000000000000000000000000000000000..05ae83af721d37da8c9066ed125d3c110831435c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorUnweight.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorNonlinearTail + +namespace OAI + +/-! Removing the exponential weight from the nonlinear exterior error equation. -/ + +namespace DefocusingNLS + +noncomputable def radialExteriorUnweight (κ : ℝ) (v : ℝ → ℂ × ℂ) (t : ℝ) : ℂ × ℂ := + Real.exp (-κ*t) • v t + +theorem radialExteriorUnweight_hasDerivAt (κ t : ℝ) (ν : ℂ) (N : ℂ → ℂ) + (f : ℝ → ℂ) (r : ℝ → ℂ × ℂ) (v : ℝ → ℂ × ℂ) + (hv : HasDerivAt v + (κ • v t+(0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(v t).2)+ + radialExteriorErrorMatrix ν (v t)+ + (0,radialExteriorWeightedIncrement κ N f t (v t).1)+r t) t) : + HasDerivAt (radialExteriorUnweight κ v) + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(radialExteriorUnweight κ v t).2)+ + radialExteriorErrorMatrix ν (radialExteriorUnweight κ v t)+ + (0,N (f t+(radialExteriorUnweight κ v t).1)-N (f t))+ + Real.exp (-κ*t) • r t) t := by + have he : HasDerivAt (fun s : ℝ => Real.exp (-κ*s)) (-κ*Real.exp (-κ*t)) t := by + convert ((hasDerivAt_id t).const_mul (-κ)).exp using 1 <;> simp [mul_comm] + have h := he.smul hv + apply h.congr_deriv + have hc : Complex.exp (-((κ : ℂ)*(t : ℂ)))*Complex.exp ((κ : ℂ)*(t : ℂ))=1 := by + rw [← Complex.exp_add] + simp + apply Prod.ext + · simp [radialExteriorUnweight,radialExteriorErrorMatrix,Complex.real_smul] + ring + · simp [radialExteriorUnweight,radialExteriorErrorMatrix,radialExteriorWeightedIncrement, + Complex.real_smul] + linear_combination (N (f t+Complex.exp (-((κ : ℂ)*(t : ℂ)))*(v t).1)-N (f t))*hc + +theorem radialExteriorUnweight_norm (κ t : ℝ) (v : ℝ → ℂ × ℂ) (C : ℝ) + (hv : ‖v t‖ ≤ C) : + ‖radialExteriorUnweight κ v t‖ ≤ Real.exp (-κ*t)*C := by + simp only [radialExteriorUnweight,norm_smul,Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _)] + exact mul_le_mul_of_nonneg_left hv (Real.exp_nonneg _) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorVelocity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorVelocity.lean new file mode 100644 index 0000000000000000000000000000000000000000..732bc78da709fc72b90f8a72c4348c5ea93767ae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialExteriorVelocity.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAmplitudeEquation + +namespace OAI + +/-! Exterior velocity and deformation depend only on the canonical logarithmic jet. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem complex_logDerivative_re (q d : ℂ) : + (d/q).re=(star q*d).re/Complex.normSq q := by + simp only [Complex.div_re,Complex.mul_re,Complex.star_def,Complex.conj_re,Complex.conj_im] + ring + +theorem complex_logDerivative_im (q d : ℂ) : + (d/q).im=(star q*d).im/Complex.normSq q := by + simp only [Complex.div_im,Complex.mul_im,Complex.star_def,Complex.conj_re,Complex.conj_im] + ring + +theorem radialPhysicalExterior_logDerivative (ν : ℂ) (Z : ℝ → ℂ × ℂ) + (r : ℝ) (hr : r ≠ 0) (hZ : (Z (Real.log r)).1 ≠ 0) : + radialPhysicalExteriorSlope ν Z r/radialPhysicalExterior ν Z r= + (ν+(Z (Real.log r)).2/(Z (Real.log r)).1)/(r : ℂ) := by + unfold radialPhysicalExteriorSlope radialPhysicalExterior + have hrC := Complex.ofReal_ne_zero.mpr hr + field_simp [Complex.exp_ne_zero,hZ,hrC] + +theorem radialMatchedProfile_logDerivative (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : innerBoundaryRadius < r) : + let ν := radialShootingNu (n+radialInnerShootingThreshold) z + let Z := radialExteriorCanonical ν (n+radialInnerShootingThreshold) + (radialShootingM z) (Real.log innerBoundaryRadius) + deriv (radialMatchedProfile n z) r/radialMatchedProfile n z r= + (ν+(Z (Real.log r)).2/(Z (Real.log r)).1)/(r : ℂ) := by + dsimp only + have hrp : 0 < r := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hr + rw [(radialMatchedProfile_hasDerivAt n z hX hz r hrp).deriv] + simp only [radialMatchedJet,radialMatchedProfile,ite_eq_right hr.not_ge, + radialShootingPhysicalJet,radialPhysicalJet,radialShootingExteriorProfile] + exact radialPhysicalExterior_logDerivative _ _ r hrp.ne' + (((radialExteriorCanonical_spec hX).2.2 (Real.log r) + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hr.le)).1) + +theorem radialMatchedAmplitude_logDerivative (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + deriv (fun t => ‖radialMatchedProfile n z t‖) r/‖radialMatchedProfile n z r‖= + (deriv (radialMatchedProfile n z) r/radialMatchedProfile n z r).re := by + have hn := norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.le) + rw [complex_logDerivative_re,← Complex.sq_norm] + have hh := complexAmplitude_first_derivative _ r + (radialMatchedProfile_differentiable n z hX hz r) + (radialMatchedProfile_ne_zero n z hX r hr.le) + rw [← hh] + field_simp [hn] + +theorem radialMatchedVelocity_logarithmic (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : innerBoundaryRadius < r) : + let ν := radialShootingNu (n+radialInnerShootingThreshold) z + let Z := radialExteriorCanonical ν (n+radialInnerShootingThreshold) + (radialShootingM z) (Real.log innerBoundaryRadius) + let ξ := (Z (Real.log r)).2/(Z (Real.log r)).1 + let w := radialVelocity (6-2*radialShootingA n) (fun t => ‖radialMatchedProfile n z t‖) + w r/r=1/2+2/r^2*(ν.im+ξ.im) := by + dsimp only + have hrp : 0 < r := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hr + have hw := radialMatchedVelocity_formula n z hX hz r hrp + rw [mul_div_assoc] at hw + rw [← complex_logDerivative_im,radialMatchedProfile_logDerivative n z hX hz r hr] at hw + simp only [Complex.div_ofReal_im,Complex.add_im] at hw + rw [← hw] + field_simp [hrp.ne'] + +theorem radialMatchedDeformation_logarithmic (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : innerBoundaryRadius < r) : + let ν := radialShootingNu (n+radialInnerShootingThreshold) z + let Z := radialExteriorCanonical ν (n+radialInnerShootingThreshold) + (radialShootingM z) (Real.log innerBoundaryRadius) + let ξ := (Z (Real.log r)).2/(Z (Real.log r)).1 + let w := radialVelocity (6-2*radialShootingA n) (fun t => ‖radialMatchedProfile n z t‖) + deriv w r=1/2-ξ.re-2/r^2*(ν.im+ξ.im)*(11+2*ν.re+2*ξ.re) := by + let ν := radialShootingNu (n+radialInnerShootingThreshold) z + let Z := radialExteriorCanonical ν (n+radialInnerShootingThreshold) + (radialShootingM z) (Real.log innerBoundaryRadius) + let ξ := (Z (Real.log r)).2/(Z (Real.log r)).1 + let A := fun t => ‖radialMatchedProfile n z t‖ + let c := 6-2*radialShootingA n + let w := radialVelocity c A + have hrp : 0 < r := lt_trans (by linarith [innerBoundaryRadius_bounds.1]) hr + have hwr : w r/r=1/2+2/r^2*(ν.im+ξ.im) := + radialMatchedVelocity_logarithmic n z hX hz r hr + have hAr := radialMatchedAmplitude_logDerivative n z hX hz r hrp + rw [radialMatchedProfile_logDerivative n z hX hz r hr] at hAr + simp only [Complex.div_ofReal_re,Complex.add_re] at hAr + have hwval : w r=(1/2+2/r^2*(ν.im+ξ.im))*r := (div_eq_iff hrp.ne').1 hwr + have hc : c=6+ν.re := by + have hν := congrArg Complex.re (radialShootingNu_physical n z) + norm_num [Complex.add_re,Complex.mul_re,Complex.neg_re,Complex.ofReal_re, + Complex.ofReal_im,Complex.I_re,Complex.I_im] at hν + dsimp only [c,ν] + linarith + have hd := radialMatchedVelocity_hasDerivAt n z hX hz r hrp + change deriv w r=_ + calc + deriv w r=c-11*(w r/r)-2*w r*(deriv A r/A r) := by rw [hd.deriv]; ring + _ = _ := by + rw [hwr,hAr,hwval,hc] + change 6+ν.re-11*(1/2+2/r^2*(ν.im+ξ.im))- + 2*((1/2+2/r^2*(ν.im+ξ.im))*r)*((ν.re+ξ.re)/r)=_ + field_simp [hrp.ne'] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteExistence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteExistence.lean new file mode 100644 index 0000000000000000000000000000000000000000..100ad61e94cfb70b0f4fca84e22192219013b125 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteExistence.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFinitePicard + +namespace OAI + +/-! Existence on every finite interval for the globally clipped exterior ODE. -/ + +open Set +namespace DefocusingNLS + +theorem exists_radial_finite_solution (T : ℝ) (hT : 0 ≤ T) + (F : C((Icc (0 : ℝ) T) × (ℂ × ℂ), ℂ × ℂ)) + (K : ℝ) (hK : 0 ≤ K) + (hF : ∀ t x y, ‖F (t,x)-F (t,y)‖ ≤ K*‖x-y‖) (x₀ : ℂ × ℂ) : + ∃ α : ℝ → ℂ × ℂ, Continuous α ∧ α 0=x₀ ∧ + ∀ t (ht : t ∈ Icc 0 T), HasDerivAt α (F (⟨t,ht⟩,α t)) t := by + let η := K+1 + have hη : 0 < η := by dsimp [η]; linarith + have hratio : 0 ≤ K/η := div_nonneg hK hη.le + have hlt : K/η < 1 := (div_lt_one hη).mpr (by dsimp [η]; linarith) + let P := radialFinitePicard T η hT F x₀ + have hP : ContractingWith ⟨K/η,hratio⟩ P := + ⟨hlt,LipschitzWith.of_dist_le_mul (radialFinitePicard_dist T η K hT hη hK F x₀ hF)⟩ + let v := hP.fixedPoint P + have hv : P v=v := hP.fixedPoint_isFixedPt + let α : ℝ → ℂ × ℂ := fun t => x₀+∫ s in 0..t, radialFiniteHistory T η hT F v s + have hαd (t : ℝ) : HasDerivAt α (radialFiniteHistory T η hT F v t) t := + (radial_finite_integral_hasDerivAt _ (radialFiniteHistory_continuous T η hT F v) t).const_add x₀ + have hα (t : Icc (0 : ℝ) T) : α t=radialFiniteTimeWeight T η v t := by + have h := congrArg (fun f : C(Icc (0 : ℝ) T, ℂ × ℂ) => Real.exp (η*(t : ℝ)) • f t) hv + change Real.exp (η*(t : ℝ)) • (Real.exp (-η*(t : ℝ)) • α t)=radialFiniteTimeWeight T η v t at h + rw [smul_smul,← Real.exp_add,show η*(t : ℝ)+ -η*(t : ℝ)=0 by ring,Real.exp_zero,one_smul] at h + exact h + refine ⟨α,(show Differentiable ℝ α from fun t => (hαd t).differentiableAt).continuous,?_,?_⟩ + · simp [α] + · intro t ht + apply (hαd t).congr_deriv + simp only [radialFiniteHistory,projIcc_of_mem hT ht] + rw [← hα ⟨t,ht⟩] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteIntegral.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteIntegral.lean new file mode 100644 index 0000000000000000000000000000000000000000..25bb70b2dc24704220b250fdb5141b34323ec112 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteIntegral.lean @@ -0,0 +1,39 @@ +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus +import Mathlib.Topology.ContinuousMap.Compact +import Mathlib.Topology.ContinuousMap.Bounded.Normed + +namespace OAI + +/-! Finite-time integral estimates for the exterior ODE continuation. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_finite_integral_hasDerivAt (g : ℝ → ℂ × ℂ) (hg : Continuous g) (t : ℝ) : + HasDerivAt (fun r => ∫ s in 0..r, g s) (g t) t := + intervalIntegral.integral_hasDerivAt_right (hg.intervalIntegrable 0 t) + hg.stronglyMeasurable.stronglyMeasurableAtFilter hg.continuousAt + +theorem radial_finite_integral_weighted (η t C : ℝ) (hη : 0 < η) (ht : 0 ≤ t) (hC : 0 ≤ C) + (g : ℝ → ℂ × ℂ) (hg : ∀ s ∈ Icc 0 t, ‖g s‖ ≤ C*Real.exp (η*s)) : + Real.exp (-η*t)*‖∫ s in 0..t, g s‖ ≤ C/η := by + have hi : ‖∫ s in 0..t, g s‖ ≤ ∫ s in 0..t, C*Real.exp (η*s) := by + apply intervalIntegral.norm_integral_le_of_norm_le ht + (Filter.Eventually.of_forall (fun s hs => hg s ⟨hs.1.le,hs.2⟩)) + exact (continuous_const.mul (Real.continuous_exp.comp (continuous_const.mul continuous_id))).intervalIntegrable 0 t + rw [intervalIntegral.integral_const_mul, + intervalIntegral.integral_comp_mul_left Real.exp hη.ne',integral_exp] at hi + simp only [mul_zero,Real.exp_zero,smul_eq_mul] at hi + have he : Real.exp (-η*t)*Real.exp (η*t)=1 := by + rw [← Real.exp_add] + simp + calc + _ ≤ Real.exp (-η*t)*(C*(η⁻¹*(Real.exp (η*t)-1))) := + mul_le_mul_of_nonneg_left hi (Real.exp_nonneg _) + _ = (C/η)*(1-Real.exp (-η*t)) := by linear_combination C/η*he + _ ≤ C/η := mul_le_of_le_one_right (div_nonneg hC hη.le) (by linarith [Real.exp_pos (-η*t)]) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFinitePicard.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFinitePicard.lean new file mode 100644 index 0000000000000000000000000000000000000000..9c43840891e77ce5944102983f7f8d9bbb5048a7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFinitePicard.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFiniteIntegral +import Mathlib.Topology.Order.ProjIcc +import Mathlib.Topology.MetricSpace.Contracting + +namespace OAI + +/-! An exponentially weighted Picard map for the finite exterior continuation interval. -/ + +open Set +namespace DefocusingNLS + +noncomputable def radialFiniteTimeWeight (T η : ℝ) + (u : C(Icc (0 : ℝ) T, ℂ × ℂ)) : C(Icc (0 : ℝ) T, ℂ × ℂ) where + toFun t := Real.exp (η*t) • u t + continuous_toFun := + (Real.continuous_exp.comp (continuous_const.mul continuous_subtype_val)).smul u.continuous + +theorem radialFiniteTimeWeight_cancel (T η : ℝ) + (u : C(Icc (0 : ℝ) T, ℂ × ℂ)) : + radialFiniteTimeWeight T η (radialFiniteTimeWeight T (-η) u)=u := by + apply ContinuousMap.ext + intro t + change Real.exp (η*(t : ℝ)) • (Real.exp (-η*(t : ℝ)) • u t)=u t + rw [smul_smul,← Real.exp_add,show η*(t : ℝ)+ -η*(t : ℝ)=0 by ring,Real.exp_zero,one_smul] + +noncomputable def radialFiniteHistory (T η : ℝ) (hT : 0 ≤ T) + (F : C((Icc (0 : ℝ) T) × (ℂ × ℂ), ℂ × ℂ)) + (u : C(Icc (0 : ℝ) T, ℂ × ℂ)) (s : ℝ) : ℂ × ℂ := + F (projIcc 0 T hT s,radialFiniteTimeWeight T η u (projIcc 0 T hT s)) + +theorem radialFiniteHistory_continuous (T η : ℝ) (hT : 0 ≤ T) + (F : C((Icc (0 : ℝ) T) × (ℂ × ℂ), ℂ × ℂ)) + (u : C(Icc (0 : ℝ) T, ℂ × ℂ)) : Continuous (radialFiniteHistory T η hT F u) := by + exact F.continuous.comp (continuous_projIcc.prodMk + ((radialFiniteTimeWeight T η u).continuous.comp continuous_projIcc)) + +noncomputable def radialFinitePicard (T η : ℝ) (hT : 0 ≤ T) + (F : C((Icc (0 : ℝ) T) × (ℂ × ℂ), ℂ × ℂ)) (x₀ : ℂ × ℂ) + (u : C(Icc (0 : ℝ) T, ℂ × ℂ)) : C(Icc (0 : ℝ) T, ℂ × ℂ) where + toFun t := Real.exp (-η*t) • (x₀+∫ s in 0..(t : ℝ), radialFiniteHistory T η hT F u s) + continuous_toFun := by + have hi : Continuous (fun r : ℝ => ∫ s in 0..r, radialFiniteHistory T η hT F u s) := + (show Differentiable ℝ (fun r : ℝ => ∫ s in 0..r, radialFiniteHistory T η hT F u s) from + fun r => (radial_finite_integral_hasDerivAt _ (radialFiniteHistory_continuous T η hT F u) r).differentiableAt).continuous + exact (Real.continuous_exp.comp (continuous_const.mul continuous_subtype_val)).smul + (continuous_const.add (hi.comp continuous_subtype_val)) + +theorem radialFinitePicard_dist (T η K : ℝ) (hT : 0 ≤ T) (hη : 0 < η) (hK : 0 ≤ K) + (F : C((Icc (0 : ℝ) T) × (ℂ × ℂ), ℂ × ℂ)) (x₀ : ℂ × ℂ) + (hF : ∀ t x y, ‖F (t,x)-F (t,y)‖ ≤ K*‖x-y‖) + (u v : C(Icc (0 : ℝ) T, ℂ × ℂ)) : + dist (radialFinitePicard T η hT F x₀ u) (radialFinitePicard T η hT F x₀ v) ≤ + K/η*dist u v := by + apply (ContinuousMap.dist_le (mul_nonneg (div_nonneg hK hη.le) dist_nonneg)).mpr + intro t + have hb : ∀ s ∈ Icc 0 (t : ℝ), + ‖radialFiniteHistory T η hT F u s-radialFiniteHistory T η hT F v s‖ ≤ + (K*dist u v)*Real.exp (η*s) := by + intro s hs + have hsT : s ∈ Icc 0 T := ⟨hs.1,hs.2.trans t.2.2⟩ + simp only [radialFiniteHistory,projIcc_of_mem hT hsT] + apply (hF _ _ _).trans + change K*‖Real.exp (η*s) • u ⟨s,hsT⟩-Real.exp (η*s) • v ⟨s,hsT⟩‖ ≤ _ + rw [← smul_sub,norm_smul,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + have hu := ContinuousMap.dist_apply_le_dist (f := u) (g := v) ⟨s,hsT⟩ + rw [dist_eq_norm] at hu + calc + _ ≤ K*(Real.exp (η*s)*dist u v) := mul_le_mul_of_nonneg_left + (mul_le_mul_of_nonneg_left hu (Real.exp_nonneg _)) hK + _ = _ := by ring + have hi := radial_finite_integral_weighted η t (K*dist u v) hη t.2.1 + (mul_nonneg hK dist_nonneg) + (fun s => radialFiniteHistory T η hT F u s-radialFiniteHistory T η hT F v s) hb + change dist (Real.exp (-η*(t : ℝ)) • + (x₀+∫ s in 0..(t : ℝ), radialFiniteHistory T η hT F u s)) + (Real.exp (-η*(t : ℝ)) • + (x₀+∫ s in 0..(t : ℝ), radialFiniteHistory T η hT F v s)) ≤ _ + rw [dist_eq_norm,← smul_sub,add_sub_add_left_eq_sub,norm_smul,Real.norm_eq_abs, + abs_of_pos (Real.exp_pos _),← intervalIntegral.integral_sub + ((radialFiniteHistory_continuous T η hT F u).intervalIntegrable 0 t) + ((radialFiniteHistory_continuous T η hT F v).intervalIntegrable 0 t)] + exact hi.trans_eq (by ring) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteStability.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteStability.lean new file mode 100644 index 0000000000000000000000000000000000000000..cc8893df34ba357132aa2181f6fb713abb607e45 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFiniteStability.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTerminalUniqueness +import Mathlib.Topology.UniformSpace.UniformConvergence + +namespace OAI + +/-! Finite-interval stability for the exterior ODE continuation. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radial_finite_difference_bound (T K ε : ℝ) (hK : 0 < K) (hε : 0 ≤ ε) + (f g f' g' : ℝ → ℂ × ℂ) (hf : ContinuousOn f (Icc 0 T)) (hg : ContinuousOn g (Icc 0 T)) + (hfd : ∀ t ∈ Icc 0 T, HasDerivAt f (f' t) t) + (hgd : ∀ t ∈ Icc 0 T, HasDerivAt g (g' t) t) + (hbound : ∀ t ∈ Icc 0 T, ‖f' t-g' t‖ ≤ K*‖f t-g t‖+ε) + (t : ℝ) (ht : t ∈ Icc 0 T) : + ‖f t-g t‖ ≤ (‖f 0-g 0‖+ε/K)*Real.exp (K*T) := by + have h := norm_le_gronwallBound_of_norm_deriv_right_le (hf.sub hg) + (fun s hs => ((hfd s ⟨hs.1,hs.2.le⟩).sub (hgd s ⟨hs.1,hs.2.le⟩)).hasDerivWithinAt) + (le_refl ‖f 0-g 0‖) (fun s hs => hbound s ⟨hs.1,hs.2.le⟩) t ht + simp only [sub_zero,gronwallBound_of_K_ne_0 hK.ne'] at h + calc + _ ≤ ‖f 0-g 0‖*Real.exp (K*t)+ε/K*(Real.exp (K*t)-1) := h + _ ≤ (‖f 0-g 0‖+ε/K)*Real.exp (K*t) := by + have := div_nonneg hε hK.le + nlinarith + _ ≤ _ := mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_left ht.2 hK.le)) + (add_nonneg (norm_nonneg _) (div_nonneg hε hK.le)) + +theorem radial_finite_uniform_limit (T K : ℝ) (hK : 0 < K) + (f f' : ℕ → ℝ → ℂ × ℂ) (g g' : ℝ → ℂ × ℂ) (ε : ℕ → ℝ) + (hε : Tendsto ε atTop (nhds 0)) + (hinit : Tendsto (fun n => f n 0) atTop (nhds (g 0))) + (hc : ∀ n, ContinuousOn (f n) (Icc 0 T)) (hgc : ContinuousOn g (Icc 0 T)) + (hfd : ∀ n t, t ∈ Icc 0 T → HasDerivAt (f n) (f' n t) t) + (hgd : ∀ t, t ∈ Icc 0 T → HasDerivAt g (g' t) t) + (hb : ∀ᶠ n in atTop, 0 ≤ ε n ∧ + ∀ t ∈ Icc 0 T, ‖f' n t-g' t‖ ≤ K*‖f n t-g t‖+ε n) : + TendstoUniformlyOn f g atTop (Icc 0 T) := by + have hi : Tendsto (fun n => ‖f n 0-g 0‖) atTop (nhds 0) := + tendsto_iff_norm_sub_tendsto_zero.mp hinit + have hrate : Tendsto (fun n => (‖f n 0-g 0‖+ε n/K)*Real.exp (K*T)) atTop (nhds 0) := by + convert (hi.add (hε.div_const K)).mul_const (Real.exp (K*T)) using 1 + simp + rw [Metric.tendstoUniformlyOn_iff] + intro δ hδ + filter_upwards [hb,hrate.eventually (gt_mem_nhds hδ)] with n hn hr t ht + rw [dist_comm,dist_eq_norm] + exact (radial_finite_difference_bound T K (ε n) hK hn.1 (f n) g (f' n) g' + (hc n) hgc (hfd n) hgd hn.2 t ht).trans_lt hr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFirstMassLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFirstMassLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..a787ab8531adf4a07df01eec89e475be6a28c470 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFirstMassLimit.lean @@ -0,0 +1,70 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeFirstMass +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformTransportBound + +namespace OAI + +/-! The first gauge component has vanishing weighted L2 mass along every +escaping frequency sequence with bounded energy and boundary pairing. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem spectralFrequency_mass_limit (omega mass : ℕ → ℝ) (K : ℝ) + (hw : Tendsto omega atTop atTop) (hm : ∀ n, 0 ≤ mass n) + (hb : ∀ᶠ n in atTop, omega n*mass n ≤ K) : + Tendsto mass atTop (𝓝 0) := by + have hzero : Tendsto (fun n => K/omega n) atTop (𝓝 0) := by + simpa only [div_eq_mul_inv,mul_zero,Function.comp_def] using + (tendsto_inv_atTop_zero.comp hw).const_mul K + apply squeeze_zero' (Eventually.of_forall hm) _ hzero + filter_upwards [hb,hw.eventually (eventually_gt_atTop 0)] with n hn hwn + exact (le_div_iff₀ hwn).mpr (by simpa only [mul_comm] using hn) + +variable (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hmatch : ∀ i, radialMatchingMap (s i) (z i)=0) + +include s hs z hz hX hmatch + +theorem radialMatched_first_mass_limit (R M L : ℝ) (hR : 0 < R) + (lam : ℕ → ℂ) (ell : ℕ → ℕ) (hw : Tendsto (fun i => (lam i).im) atTop atTop) + (f g : ℕ → ℝ → ℂ) (hf : ∀ i, ContDiff ℝ 2 (f i)) (hg : ∀ i, ContDiff ℝ 2 (g i)) + (he : ∀ i, IsRadialLogGaugeEigenpair (s i+radialInnerShootingThreshold) + (radialMatchedEvenProfile (s i) (z i)) + (((ell i : ℝ)*(ell i+10) : ℝ) : ℂ) (lam i) (f i) (g i)) + (henergy : ∀ᶠ i in atTop, (∫ r in (0 : ℝ)..R, + radialMatchedMassFunction (s i) (z i) r* + spectralRadialEnergyDensity ((ell i : ℝ)*(ell i+10)) (f i) (g i) r) ≤ M) + (hboundary : ∀ᶠ i in atTop, ‖star (f i R)*spectralGaugeSecondFlux + (radialMatchedMassFunction (s i) (z i)) (radialMatchedTransportFunction (s i) (z i)) + (f i) (g i) R‖ ≤ L) : + Tendsto (fun i => ∫ r in (0 : ℝ)..R, + r^11*radialMatchedMassFunction (s i) (z i) r*‖f i r‖^2) atTop (𝓝 0) := by + obtain ⟨C,hC,hA⟩ := radialMatched_uniform_transport_bound s hs z z₀ hz hX hmatch R hR.le + have hnonneg i : 0 ≤ ∫ r in (0 : ℝ)..R, + r^11*radialMatchedMassFunction (s i) (z i) r*‖f i r‖^2 := by + apply intervalIntegral.integral_nonneg hR.le + intro r hr + have hr0 := hr.1 + change 0 ≤ r^11*‖radialMatchedProfile (s i) (z i) r‖^2*‖f i r‖^2 + positivity + apply spectralFrequency_mass_limit (fun i => (lam i).im) _ ((1+C)*M+L) hw hnonneg + filter_upwards [hA,henergy,hboundary] with i hi hei hbi + have hbound := spectralGaugeFirst_mass_bound R C M L hR.le hC _ _ + (radialMatchedMassFunction_continuous (s i) (z i) (hX i) (hmatch i)) + (radialMatchedTransportFunction_continuous (s i) (z i) (hX i) (hmatch i)) + ((ell i : ℝ)*(ell i+10)) (6-2*radialShootingA (s i)) (by positivity) + (lam i) (f i) (g i) (hf i) (hg i) + (fun r hr => (hi r hr).1.le) (fun r hr => (hi r hr).2) ?_ hei hbi + · exact (mul_le_mul_of_nonneg_right (le_abs_self _) (hnonneg i)).trans hbound + · intro r hr + exact (radialMatchedGauge_flux (s i) (z i) (hX i) (hmatch i) _ (lam i) + (f i) (g i) (hf i) (hg i) (he i) r hr.1).2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeAnnulus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeAnnulus.lean new file mode 100644 index 0000000000000000000000000000000000000000..15ea756e3b4cb2af5c411f0c19c5fe360962ed90 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeAnnulus.lean @@ -0,0 +1,141 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeModulus +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExtendedTail + +namespace OAI + +/-! A genuine subunit annulus for the boundary-normalized free exterior. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialFreeSlowValue_tendsto (q m : ℂ) (hq : -1 < q.re) : + Tendsto (radialFreeSlowValue q m) atTop (nhds m) := by + obtain ⟨C,_hC,hbound⟩ := radialFreeSlowValue_remainder q m hq 0 + have he : Tendsto (fun t : ℝ => C*Real.exp (-2*t)) atTop (nhds 0) := by + have hh := (Real.tendsto_exp_neg_atTop_nhds_zero.comp + (tendsto_id.const_mul_atTop (show (0 : ℝ)<2 by norm_num))).const_mul C + simpa only [mul_zero,neg_mul,Function.comp_def,id_eq] using hh + apply tendsto_iff_norm_sub_tendsto_zero.mpr + apply squeeze_zero' (Eventually.of_forall (fun _ => norm_nonneg _)) _ he + filter_upwards [eventually_ge_atTop (Real.log 4/2)] with t ht + simpa only [radialFreeExpansion,radialExteriorPolynomialFunction,Polynomial.eval_C, + Nat.reduceAdd,Nat.cast_one,mul_one] using hbound t ht + +theorem radialFreeSlow_annulus + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) (m : ℂ) + (hm : m ≠ 0) + (hsmall : ‖radialFreeSlowValue + (-Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ)) m + (Real.log innerBoundaryRadius)‖ < 1) : + let q := -Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ) + ∃ δ ρ : ℝ, 0 < δ ∧ δ < ‖m‖ ∧ ‖m‖+2*δ < 1 ∧ ρ < 1 ∧ + (∀ t, Real.log innerBoundaryRadius ≤ t → + ‖(radialFreeSlowJet q m t).1‖+2*δ ≤ ρ) ∧ + ∀ t, Real.log innerBoundaryRadius ≤ t → δ < ‖(radialFreeSlowJet q m t).1‖ := by + intro q + let h := ‖radialFreeSlowValue q m (Real.log innerBoundaryRadius)‖ + have h0 : 0 ≤ h := norm_nonneg _ + have h1 : h < 1 := hsmall + have hmono := radialFreeSlowValue_norm_antitone w m + have hlim := (radialFreeSlowValue_tendsto q m (by simp [q])).norm + have hupper (t : ℝ) (ht : Real.log innerBoundaryRadius ≤ t) : + ‖radialFreeSlowValue q m t‖ ≤ h := hmono (Set.mem_Ici.mpr le_rfl) (Set.mem_Ici.mpr ht) ht + have hlower (t : ℝ) (ht : Real.log innerBoundaryRadius ≤ t) : + ‖m‖ ≤ ‖radialFreeSlowValue q m t‖ := by + apply le_of_tendsto hlim + filter_upwards [eventually_ge_atTop t] with s hs + exact hmono ht (ht.trans hs) hs + have hmh : ‖m‖ ≤ h := hlower _ le_rfl + let δ := min (‖m‖/4) ((1-h)/8) + let ρ := (1+h)/2 + have hm0 : 0 < ‖m‖ := norm_pos_iff.mpr hm + have hd0 : 0 < δ := lt_min (by positivity) (by positivity) + have hdm : δ ≤ ‖m‖/4 := min_le_left _ _ + have hdh : δ ≤ (1-h)/8 := min_le_right _ _ + refine ⟨δ,ρ,hd0,by linarith,by linarith,by dsimp [ρ]; linarith,?_,?_⟩ + · intro t ht + change ‖radialFreeSlowValue q m t‖+2*δ ≤ ρ + have hh := hupper t ht + dsimp [ρ] + linarith + · intro t ht + change δ < ‖radialFreeSlowValue q m t‖ + have hh := hlower t ht + linarith + +noncomputable def radialFreeBoundaryCoefficient (b h : ℝ) : ℂ := + (h : ℂ)/normalizedSlowSolution (-Complex.I*(b : ℂ)) 6 + (radialFreeSlowArgument (Real.log innerBoundaryRadius)) + +theorem radialFreeBoundaryCoefficient_spec + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) + (h : ℝ) (hh : 0 < h) : + let b := (ProfileCertificate.centerB : ℝ)+w.val.re + radialFreeBoundaryCoefficient b h ≠ 0 ∧ + radialFreeSlowValue (-Complex.I*(b : ℂ)) (radialFreeBoundaryCoefficient b h) + (Real.log innerBoundaryRadius)=(h : ℂ) := by + intro b + let Z := (ProfileCertificate.centerZ : ℝ)+w.val.im + have hz := (ProfileCertificate.disk_coordinates w).2 + have hZ : |Z-(ProfileCertificate.centerZ : ℝ)| ≤ (1/100000000 : ℝ) := by + simpa [Z,ProfileCertificate.radius] using hz + obtain ⟨hR,_,hshell⟩ := radial_boundary_shell_geometry Z hZ + have hZ0 : 0 < Z := by + have hb := (abs_le.mp hz).1 + dsimp [Z] + norm_num [ProfileCertificate.centerZ,ProfileCertificate.radius] at hb ⊢ + linarith + have hR2 : Z ≤ innerBoundaryRadius^2/4 := by + have he := freeProfileRadius_sq hZ0.le + dsimp [freeProfileRadius] at he + nlinarith [hshell.1] + have he : radialFreeSlowArgument (Real.log innerBoundaryRadius)= + -Complex.I*((innerBoundaryRadius^2/4 : ℝ) : ℂ) := by + dsimp [radialFreeSlowArgument] + rw [show (2 : ℝ)*Real.log innerBoundaryRadius= + Real.log innerBoundaryRadius+Real.log innerBoundaryRadius by ring, + Real.exp_add,Real.exp_log (by linarith [innerBoundaryRadius_bounds.1])] + congr 2 + ring + have hN : normalizedSlowSolution (-Complex.I*(b : ℂ)) 6 + (radialFreeSlowArgument (Real.log innerBoundaryRadius)) ≠ 0 := by + apply mul_ne_zero + · exact Complex.cpow_ne_zero_iff.mpr (Or.inl (radialFreeSlowArgument_ne_zero _)) + · rw [he] + exact (ProfileCertificate.disk_free_exterior w _ hR2).1 + refine ⟨div_ne_zero (Complex.ofReal_ne_zero.mpr hh.ne') hN,?_⟩ + exact div_mul_cancel₀ (h : ℂ) hN + +theorem exists_radialExterior_boundary_free_limit + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) + (h : ℝ) (hh : 0 < h) (hh1 : h < 1) (ν m : ℕ → ℂ) + (hν : Tendsto ν atTop + (nhds (2*Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ)))) + (hm : Tendsto m atTop + (nhds (radialFreeBoundaryCoefficient ((ProfileCertificate.centerB : ℝ)+w.val.re) h))) : + let q := -Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ) + let m₀ := radialFreeBoundaryCoefficient ((ProfileCertificate.centerB : ℝ)+w.val.re) h + ∃ Z : ℕ → ℝ → ℂ × ℂ, + TendstoUniformlyOn Z (radialFreeSlowJet q m₀) atTop + (Ici (Real.log innerBoundaryRadius)) ∧ + (∀ n, Tendsto (Z n) atTop (nhds (m n,0))) ∧ + ∀ᶠ n in atTop, ∀ t, Real.log innerBoundaryRadius ≤ t → + (Z n t).1 ≠ 0 ∧ HasDerivAt (Z n) + ((Z n t).2,-(2*ν n+10+Complex.I*(Real.exp (2*t)/2 : ℝ))*(Z n t).2- + ν n*(ν n+10)*(Z n t).1+oddPowerNonlinearity n (Z n t).1) t := by + intro q m₀ + obtain ⟨hn,hvalue⟩ := radialFreeBoundaryCoefficient_spec w h hh + have hsmall : ‖radialFreeSlowValue q m₀ (Real.log innerBoundaryRadius)‖ < 1 := by + rw [hvalue,Complex.norm_real,Real.norm_eq_abs,abs_of_pos hh] + exact hh1 + obtain ⟨δ,ρ,hd,hdm,hm1,hρ,hupper,hlower⟩ := radialFreeSlow_annulus w m₀ hn hsmall + apply exists_radialExterior_extended_tail ν m q m₀ (by simp [q]) _ hm δ ρ + (Real.log innerBoundaryRadius) hd hdm hm1 hρ hupper hlower + convert hν using 1 + dsimp [q] + congr 1 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeChainGauge.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeChainGauge.lean new file mode 100644 index 0000000000000000000000000000000000000000..64722e4d82b81f14de1e42f53067d703db61901a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeChainGauge.lean @@ -0,0 +1,129 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxChainGauge +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxLocalSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeConjugate + +namespace OAI + +/-! The actual limiting flux system gives the two decoupled free physical equations. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedFreeFluxChain_contDiffOn (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) (ζ : ℂ) (U₀ U : ℝ → E₄) + (hU₀ : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U₀ (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U₀ r)) r) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r) + + spectralFluxFieldSlope (radialMatchedFreeMassFunction z r) r (U₀ r)) r) : + ContDiffOn ℝ ∞ U (Ioo (radialShootingR (profileMatchingParameter z)) R) := by + apply spectralFluxChain_contDiffOn ell _ _ 6 ζ _ R + (lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1) U₀ U + _ _ _ (radialMatchedFreeFlux_contDiffOn ell z hz₁ hz hc R ζ U₀ hU₀) hU + · intro α β hα _ + exact (radialMatchedFreeMass_contDiffOn_matched z hz₁ hz).mono + (fun _ hr => hα.trans_le hr.1) + · intro α β hα _ + exact radialMatchedFreeTransport_contDiffOn_matched z hz₁ hz hc α β hα + · intro r hr + exact (radialMatchedFreeMass_pos z r + (le_trans (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr.1.le)).ne' + +private theorem fluxChainGauge_at (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) (ζ σ : ℂ) (hσ : σ^2=1) + (U₀ U : ℝ → E₄) + (hU₀ : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U₀ (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U₀ r)) r) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r) + + spectralFluxFieldSlope (radialMatchedFreeMassFunction z r) r (U₀ r)) r) + (Q : ℝ → ℂ) (r : ℝ) (hr : r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) + (hQ : DifferentiableAt ℝ Q r) (hDQ : DifferentiableAt ℝ (deriv Q) r) + (hQE : deriv (deriv Q) r+(11/(r : ℂ)+σ*Complex.I*(r : ℂ)/2)*deriv Q r+ + (radialShootingB (profileMatchingParameter z) : ℂ)*Q r=0) + (hC : (((2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re : ℝ) : ℂ)+ + σ*Complex.I*(radialMatchedFreeTransportFunction z r : ℂ))*Q r= + (radialMatchedFreeMassFunction z r : ℂ)*(2*deriv Q r+σ*Complex.I*(r : ℂ)/2*Q r)) : + HasDerivAt (spectralFluxGaugeJet Q σ U) + (spectralFreePhysicalField σ (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r (spectralFluxGaugeJet Q σ U r) + (0,-σ*Complex.I*(spectralFluxGaugeJet Q σ U₀ r).1)) r := by + have hL : 0 < radialShootingR (profileMatchingParameter z) := + lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1 + have hr0 := hL.trans hr.1 + have hpos (t : ℝ) (ht : t ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) : + radialMatchedFreeMassFunction z t ≠ 0 := + (radialMatchedFreeMass_pos z t (hL.trans ht.1).le).ne' + exact spectralFluxChainGauge_hasDerivAt ell σ (radialShootingB (profileMatchingParameter z)) ζ hσ + (radialMatchedFreeMassFunction z) (radialMatchedFreeTransportFunction z) Q U₀ U _ R hL r + (2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re) + hr hpos hU + (((radialMatchedFreeFluxChain_contDiffOn ell z hz₁ hz hc R ζ U₀ U hU₀ hU) r hr).contDiffAt + (isOpen_Ioo.mem_nhds hr)) + (radialMatchedFreeMass_hasDerivAt z hz₁ hz r hr.1) + (radialMatchedFreeTransport_hasDerivAt z hc r hr0.ne') hQ hDQ hQE hC + +theorem radialMatchedFreeFluxChain_gauge_positive (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) (ζ : ℂ) (U₀ U : ℝ → E₄) + (hU₀ : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U₀ (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U₀ r)) r) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r) + + spectralFluxFieldSlope (radialMatchedFreeMassFunction z r) r (U₀ r)) r) + (r : ℝ) (hr : r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) : + HasDerivAt (spectralFluxGaugeJet (radialShootingFreeExterior z) 1 U) + (spectralFreePhysicalField 1 (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r + (spectralFluxGaugeJet (radialShootingFreeExterior z) 1 U r) + + (0,-(1 : ℂ)*Complex.I*(spectralFluxGaugeJet (radialShootingFreeExterior z) 1 U₀ r).1)) r := by + have hr0 : 0 < r := lt_trans + (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr.1 + apply fluxChainGauge_at ell z hz₁ hz hc R ζ 1 (by simp) U₀ U hU₀ hU _ r hr + (radialShootingFreeExterior_hasDerivAt z r hr0).differentiableAt + (radialShootingFreeExterior_hasDerivAt_deriv z r hr0).differentiableAt + · simpa only [one_mul] using radialShootingFreeExterior_equation z r hr0 + · simpa only [one_mul,Complex.ofReal_div,Complex.ofReal_ofNat,mul_div_assoc] using + radialMatchedFreeGaugeCoefficient z hz₁ hz hc r hr.1.le + +theorem radialMatchedFreeFluxChain_gauge_negative (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) (ζ : ℂ) (U₀ U : ℝ → E₄) + (hU₀ : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U₀ (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U₀ r)) r) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r) + + spectralFluxFieldSlope (radialMatchedFreeMassFunction z r) r (U₀ r)) r) + (r : ℝ) (hr : r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) : + HasDerivAt (spectralFluxGaugeJet (fun t => star (radialShootingFreeExterior z t)) (-1) U) + (spectralFreePhysicalField (-1) (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r + (spectralFluxGaugeJet (fun t => star (radialShootingFreeExterior z t)) (-1) U r) + + (0,-(-1 : ℂ)*Complex.I*(spectralFluxGaugeJet (fun t => star (radialShootingFreeExterior z t)) (-1) U₀ r).1)) r := by + have hr0 : 0 < r := lt_trans + (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr.1 + apply fluxChainGauge_at ell z hz₁ hz hc R ζ (-1) (by norm_num) U₀ U hU₀ hU _ r hr + (radialShootingFreeExterior_hasDerivAt z r hr0).star.differentiableAt + · rw [deriv.star'] + exact (radialShootingFreeExterior_hasDerivAt_deriv z r hr0).star.differentiableAt + · simpa only [neg_mul,one_mul,sub_eq_add_neg,neg_div] using + radialShootingFreeConjugate_equation z r hr0 + · simpa only [deriv.star',neg_mul,one_mul,sub_eq_add_neg,neg_div,Complex.ofReal_div, + Complex.ofReal_ofNat,mul_div_assoc] using + radialMatchedFreeConjugateGaugeCoefficient z hz₁ hz hc r hr.1.le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeChainGaugeExtension.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeChainGaugeExtension.lean new file mode 100644 index 0000000000000000000000000000000000000000..2bf2b832929a893a06fb7c16e83daa14b466ad0b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeChainGaugeExtension.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeGaugeExtension +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeChainGauge +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeChainDifference + +namespace OAI + +/-! The forced flux equation transfers to the physical C1 extension. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedFreeGaugeExtension_chain_hasDerivAt (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R δ : ℝ) + (hδ : radialShootingR (profileMatchingParameter z) ≤ δ) (ζ : ℂ) (U₀ U : ℝ → E₄) + (hU₀ : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U₀ (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U₀ r)) r) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r)+spectralFluxFieldSlope (radialMatchedFreeMassFunction z r) r (U₀ r)) r) + (f g : ℝ → ℂ) (hf : EqOn f (fun t => (U t).1.1) (Ioo δ R)) + (hg : EqOn g (fun t => (U t).1.2) (Ioo δ R)) (r : ℝ) (hr : r ∈ Ioo δ R) : + HasDerivAt (spectralPhysicalGaugePair (radialShootingFreeExterior z) f g) + (spectralFreePhysicalPairField (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r + (spectralPhysicalGaugePair (radialShootingFreeExterior z) f g r) + + spectralFreeChainSource (spectralPhysicalGaugePair (radialShootingFreeExterior z) + (fun t => (U₀ t).1.1) (fun t => (U₀ t).1.2) r)) r := by + have hmem (t : ℝ) (ht : t ∈ Ioo δ R) : t ∈ Ioo (radialShootingR (profileMatchingParameter z)) R := + ⟨hδ.trans_lt ht.1,ht.2⟩ + have he : spectralPhysicalGaugePair (radialShootingFreeExterior z) f g =ᶠ[nhds r] + fun t => (spectralFluxGaugeJet (radialShootingFreeExterior z) 1 U t, + spectralFluxGaugeJet (fun x => star (radialShootingFreeExterior z x)) (-1) U t) := by + filter_upwards [isOpen_Ioo.mem_nhds hr] with t ht + have hft : f =ᶠ[nhds t] fun x => (U x).1.1 := by + filter_upwards [isOpen_Ioo.mem_nhds ht] with x hx + exact hf hx + have hgt : g =ᶠ[nhds t] fun x => (U x).1.2 := by + filter_upwards [isOpen_Ioo.mem_nhds ht] with x hx + exact hg hx + rw [spectralPhysicalGaugePair_congr _ _ _ _ _ t hft hgt] + exact spectralPhysicalGaugePair_eq_flux _ U t (hU t (hmem t ht)).differentiableAt + have hd := (radialMatchedFreeFluxChain_gauge_positive ell z hz₁ hz hc R ζ U₀ U hU₀ hU r (hmem r hr)).prodMk + (radialMatchedFreeFluxChain_gauge_negative ell z hz₁ hz hc R ζ U₀ U hU₀ hU r (hmem r hr)) + have hzero := spectralPhysicalGaugePair_eq_flux (radialShootingFreeExterior z) U₀ r + (hU₀ r (hmem r hr)).differentiableAt + have heq := he.eq_of_nhds + apply (hd.congr_of_eventuallyEq he).congr_deriv + rw [heq,hzero] + apply Prod.ext <;> apply Prod.ext <;> + simp only [spectralFreePhysicalPairField,spectralFreeChainSource, + Prod.fst_add,Prod.snd_add,one_mul,neg_mul,neg_neg] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeCoefficientSmoothness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeCoefficientSmoothness.lean new file mode 100644 index 0000000000000000000000000000000000000000..8c5003cdd01ac7ebdc33292902a59fb25e4899af --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeCoefficientSmoothness.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeGaugeCoefficient +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedTransportSmoothness + +namespace OAI + +/-! Smoothness of the matched limiting coefficients on the whole open exterior. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedFreeMass_contDiffOn_matched (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) : + ContDiffOn ℝ ∞ (radialMatchedFreeMassFunction z) + (Ioi (radialShootingR (profileMatchingParameter z))) := by + have hL : 0 < radialShootingR (profileMatchingParameter z) := + lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1 + have hQ := (radialShootingFreeExterior_contDiffOn z).mono + (fun _ hx => hL.trans hx) + apply (hQ.norm_sq ℂ).congr + intro r hr + exact congrArg (fun q : ℂ => ‖q‖^2) (radialMatchedFreeProfile_eq_physical z hz₁ hz r (le_of_lt hr)) + +theorem radialMatchedFreeTransport_contDiffOn_matched (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (α β : ℝ) + (hα : radialShootingR (profileMatchingParameter z) < α) : + ContDiffOn ℝ ∞ (radialMatchedFreeTransportFunction z) (Icc α β) := by + let μ := radialMatchedFreeMassFunction z + have hα0 : 0 < α := lt_trans + (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hα + have hμ : ContDiffOn ℝ ∞ μ (Icc α β) := + (radialMatchedFreeMass_contDiffOn_matched z hz₁ hz).mono + (fun _ hr => hα.trans_le hr.1) + have hμt : ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => μ p.1) ((Icc α β) ×ˢ univ) := + hμ.comp contDiff_fst.contDiffOn (fun _ hp => hp.1) + have ht : ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => p.1) ((Icc α β) ×ˢ univ) := by fun_prop + have hy : ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => p.2) ((Icc α β) ×ˢ univ) := by fun_prop + have hn (p : ℝ × ℝ) (hp : p ∈ (Icc α β) ×ˢ univ) : p.1 ≠ 0 := + (hα0.trans_le hp.1.1).ne' + have hF : ContDiffOn ℝ ∞ + (fun p : ℝ × ℝ => μ p.1/p.1-12*p.2/p.1) ((Icc α β) ×ˢ univ) := + (hμt.div ht hn).sub ((contDiffOn_const.mul hy).div ht hn) + have hS : ContDiffOn ℝ ∞ (radialAverage μ) (Icc α β) := by + apply ODE.contDiffOn_enat_Icc_of_hasDerivWithinAt + (f := fun t y => μ t/t-12*y/t) (u := (univ : Set ℝ)) hF + · intro x hx + exact (hasDerivAt_radialAverage μ hc x (hα0.trans_le hx.1).ne').hasDerivWithinAt + · exact fun _ _ => mem_univ _ + exact contDiffOn_const.mul (contDiffOn_id.mul hS) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeComponents.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeComponents.lean new file mode 100644 index 0000000000000000000000000000000000000000..5a633860b5189f4378c29012747594f0b6715a77 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeComponents.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeInitialExistence + +namespace OAI + +/-! Scalar integral equations for the actual complex free profile. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radialFreeField_continuousOn_curve (b l u : ℝ) (hl : 0 < l) + (X : ℝ → ℂ × ℂ) (hX : Continuous X) : + ContinuousOn (fun t => radialFreeField b t (X t)) (Icc l u) := by + have hdiv : ContinuousOn (fun t : ℝ => 11/t) (Icc l u) := + continuousOn_const.div continuousOn_id (fun t ht => ne_of_gt (hl.trans_le ht.1)) + have hc : ContinuousOn radialFreeCoefficient (Icc l u) := + (Complex.continuous_ofReal.comp_continuousOn hdiv).add + (continuousOn_const.mul ((Complex.continuous_ofReal.comp (continuous_id.div_const 2)).continuousOn)) + exact hX.snd.continuousOn.prodMk + ((hc.neg.mul hX.snd.continuousOn).sub (continuousOn_const.mul hX.fst.continuousOn)) + +theorem exists_radial_free_components (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) : + ∃ F G : ℝ → ℂ, Continuous F ∧ Continuous G ∧ + (∀ r ∈ Icc l u, F r=1+∫ t in l..r, G t) ∧ + (∀ r ∈ Icc l u, G r=∫ t in l..r, -radialFreeCoefficient t*G t-(b : ℂ)*F t) ∧ + (∀ r, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) := by + obtain ⟨X,hX,_,he,hB⟩ := exists_radial_free_initial b l u hb hl hu hlu hwidth + have hfi (r : ℝ) (hr : r ∈ Icc l u) : + IntervalIntegrable (fun t => radialFreeField b t (X t)) volume l r := + ContinuousOn.intervalIntegrable_of_Icc hr.1 + ((radialFreeField_continuousOn_curve b l u (by linarith) X hX).mono + (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + refine ⟨fun r => (X r).1,fun r => (X r).2,hX.fst,hX.snd,?_,?_,?_⟩ + · intro r hr + have hf := congrArg Prod.fst (he r hr) + have hi := (ContinuousLinearMap.fst ℂ ℂ ℂ).intervalIntegral_comp_comm (hfi r hr) + change (∫ t in l..r, (X t).2)=(∫ t in l..r, radialFreeField b t (X t)).1 at hi + change (X r).1=1+(∫ t in l..r, radialFreeField b t (X t)).1 at hf + rwa [← hi] at hf + · intro r hr + have hg := congrArg Prod.snd (he r hr) + have hi := (ContinuousLinearMap.snd ℂ ℂ ℂ).intervalIntegral_comp_comm (hfi r hr) + change (∫ t in l..r, -radialFreeCoefficient t*(X t).2-(b : ℂ)*(X t).1)= + (∫ t in l..r, radialFreeField b t (X t)).2 at hi + change (X r).2=0+(∫ t in l..r, radialFreeField b t (X t)).2 at hg + simpa only [← hi,zero_add] using hg + · intro r + exact ⟨(norm_fst_le (X r)).trans (hB r),(norm_snd_le (X r)).trans (hB r)⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeConjugate.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeConjugate.lean new file mode 100644 index 0000000000000000000000000000000000000000..3c16d375536cbf81fa3a822b65f512b774997e2c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeConjugate.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeGaugeCoefficient + +namespace OAI + +/-! The two physical free gauge profiles and their conjugate equations. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialShootingFreeExterior_equation (z : ProfileMatchingBall) (r : ℝ) (hr : 0 < r) : + deriv (deriv (radialShootingFreeExterior z)) r+ + (11/(r : ℂ)+Complex.I*(r : ℂ)/2)*deriv (radialShootingFreeExterior z) r+ + (radialShootingB (profileMatchingParameter z) : ℂ)*radialShootingFreeExterior z r=0 := by + rw [(radialShootingFreeExterior_hasDerivAt_deriv z r hr).deriv] + dsimp only [radialFreeCoefficient] + push_cast + ring + +theorem radialShootingFreeConjugate_equation (z : ProfileMatchingBall) (r : ℝ) (hr : 0 < r) : + deriv (deriv (fun t => star (radialShootingFreeExterior z t))) r+ + (11/(r : ℂ)-Complex.I*(r : ℂ)/2)* + deriv (fun t => star (radialShootingFreeExterior z t)) r+ + (radialShootingB (profileMatchingParameter z) : ℂ)*star (radialShootingFreeExterior z r)=0 := by + have he := congrArg star (radialShootingFreeExterior_equation z r hr) + rw [deriv.star',deriv.star'] + simpa [sub_eq_add_neg,neg_div] using he + +theorem radialMatchedFreeConjugateGaugeCoefficient (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (r : ℝ) + (hr : radialShootingR (profileMatchingParameter z) ≤ r) : + (((2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re : ℝ) : ℂ)- + Complex.I*(radialMatchedFreeTransportFunction z r : ℂ))*star (radialShootingFreeExterior z r)= + (radialMatchedFreeMassFunction z r : ℂ)* + (2*star (deriv (radialShootingFreeExterior z) r)- + Complex.I*(r/2 : ℝ)*star (radialShootingFreeExterior z r)) := by + have he := congrArg star (radialMatchedFreeGaugeCoefficient z hz₁ hz hc r hr) + simpa [sub_eq_add_neg] using he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeCurrent.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeCurrent.lean new file mode 100644 index 0000000000000000000000000000000000000000..0b538351e9bcefa4223316aed745c9da2c11c255 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeCurrent.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeMatchedIdentification +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightedFlux +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCoreBoundary + +namespace OAI + +/-! The limiting mass average is the physical current of the matched free profile. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialShootingFreeCurrent_hasDerivAt (z : ProfileMatchingBall) + (r : ℝ) (hr : 0 < r) : + HasDerivAt (radialWeightedFlux (radialShootingFreeExterior z)) + (6*Complex.normSq (radialShootingFreeExterior z r)- + 11/r*radialWeightedFlux (radialShootingFreeExterior z) r) r := by + have hQ := radialShootingFreeExterior_hasDerivAt z r hr + have hD := radialShootingFreeExterior_hasDerivAt_deriv z r hr + have he : deriv (deriv (radialShootingFreeExterior z)) r+ + (11/r : ℝ)*deriv (radialShootingFreeExterior z) r+ + Complex.I*((r/2 : ℝ)*deriv (radialShootingFreeExterior z) r+ + (0 : ℂ)*radialShootingFreeExterior z r)+ + ((radialShootingB (profileMatchingParameter z)+1 : ℝ) : ℂ)* + radialShootingFreeExterior z r= + oddPowerNonlinearity 0 (radialShootingFreeExterior z r) := by + rw [hD.deriv] + simp only [oddPowerNonlinearity,pow_zero,mul_one,zero_mul,add_zero, + Complex.ofReal_add,Complex.ofReal_one,radialFreeCoefficient] + push_cast + ring + simpa only [mul_zero,sub_zero] using radialWeightedFlux_hasDerivAt 0 0 + (radialShootingB (profileMatchingParameter z)+1) r hr.ne' + (radialShootingFreeExterior z) hQ.differentiableAt hD.differentiableAt he + +theorem radialMatchedFreeTransport_hasDerivAt (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (r : ℝ) (hr : r ≠ 0) : + HasDerivAt (radialMatchedFreeTransportFunction z) + (6*radialMatchedFreeMassFunction z r-11/r*radialMatchedFreeTransportFunction z r) r := by + have hd := ((hasDerivAt_id r).mul + (hasDerivAt_radialAverage (radialMatchedFreeMassFunction z) hc r hr)).const_mul 6 + apply hd.congr_deriv + dsimp only [radialMatchedFreeTransportFunction,id_eq] + field_simp [hr] + ring + +theorem radialMatchedFreeTransport_core (z : ProfileMatchingBall) : + radialMatchedFreeTransportFunction z (radialShootingR (profileMatchingParameter z))= + radialShootingR (profileMatchingParameter z)/2 := by + have hL : 0 ≤ radialShootingR (profileMatchingParameter z) := + le_trans (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1 + unfold radialMatchedFreeTransportFunction + rw [radialAverage_congr _ (fun _ => (1 : ℝ)) _ hL + (fun r hr => radialMatchedFreeMass_core z r hr.2),radialAverage_const] + ring + +theorem radialMatchedFreeTransport_eq_current (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hR : radialShootingR (profileMatchingParameter z) ≤ R) : + radialMatchedFreeTransportFunction z R= + radialWeightedFlux (radialShootingFreeExterior z) R := by + let L := radialShootingR (profileMatchingParameter z) + let Q := radialShootingFreeExterior z + let A := radialMatchedFreeTransportFunction z + let F := fun r : ℝ => r^11*(A r-radialWeightedFlux Q r) + have hL : 0 < L := by dsimp only [L]; linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1] + have hQc : ContinuousOn Q (Icc L R) := + (radialShootingFreeExterior_contDiffOn z).continuousOn.mono + (fun r hr => hL.trans_le hr.1) + have hDc : ContinuousOn (deriv Q) (Icc L R) := fun r hr => + (radialShootingFreeExterior_hasDerivAt_deriv z r (hL.trans_le hr.1)).continuousAt.continuousWithinAt + have hAc : Continuous A := continuous_const.mul + (continuous_id.mul (continuous_radialAverage _ hc)) + have hFc : ContinuousOn F (Icc L R) := by + dsimp only [F,radialWeightedFlux] + fun_prop + have hFd (r : ℝ) (hr : r ∈ Ioo L R) : HasDerivAt F 0 r := by + have hr0 := hL.trans hr.1 + have hμ : radialMatchedFreeMassFunction z r=Complex.normSq (Q r) := by + rw [radialMatchedFreeMassFunction,radialMatchedFreeProfile_eq_physical z hz₁ hz r hr.1.le] + exact Complex.sq_norm _ + have hd := ((hasDerivAt_id r).pow 11).mul + ((radialMatchedFreeTransport_hasDerivAt z hc r hr0.ne').sub + (radialShootingFreeCurrent_hasDerivAt z r hr0)) + apply hd.congr_deriv + dsimp only [id_eq,Pi.pow_apply] + rw [hμ] + change _*(A r-radialWeightedFlux Q r)+r^11* + ((6*Complex.normSq (Q r)-11/r*A r)- + (6*Complex.normSq (Q r)-11/r*radialWeightedFlux Q r))=0 + field_simp [hr0.ne'] + ring + have hInt : IntervalIntegrable (fun _ : ℝ => (0 : ℝ)) volume L R := + intervalIntegrable_const + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hR hFc hFd hInt + have hFL : F L=0 := by + dsimp only [F,A,Q,radialWeightedFlux,L] + rw [radialMatchedFreeTransport_core,radialShootingFreeExterior_core_value z hz₁ hz, + radialShootingFreeExterior_neumann z hz] + simp + have he' : (0 : ℝ)=F R-F L := by + simpa only [intervalIntegral.integral_zero] using he + have hFR : F R=0 := by linarith + have hRp : 0 < R := hL.trans_le hR + have hd : A R-radialWeightedFlux Q R=0 := + (mul_eq_zero.mp hFR).resolve_left (pow_ne_zero 11 hRp.ne') + exact sub_eq_zero.mp hd + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDecay.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDecay.lean new file mode 100644 index 0000000000000000000000000000000000000000..403c7c80b3c8a3827a6d90fe59c80e6fdf2b8f04 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDecay.lean @@ -0,0 +1,116 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeRiccati +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialRiccatiSign +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialBoundaryGeometry + +namespace OAI + +/-! The certified slow free solution has nonincreasing modulus beyond the matching radius. -/ + +open Set +namespace DefocusingNLS + +theorem radialFreeLog_components_j (b r : ℝ) (hr : 0 < r) : + (radialFreeLog b r).re = -(r/2)*(ProfileCertificate.freeProfileJ b (r^2/4)).im ∧ + (radialFreeLog b r).im+r/4 = + r*((1/4 : ℝ)+(ProfileCertificate.freeProfileJ b (r^2/4)).re/2) := by + rw [radialFreeLog_eq_j b r hr] + simp only [Complex.mul_re,Complex.mul_im,Complex.I_re,Complex.I_im, + Complex.ofReal_re,Complex.ofReal_im,zero_mul,mul_zero,one_mul,zero_add] + constructor <;> ring + +theorem radialFreeLog_nonpos_on_disk + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) : + let b := (ProfileCertificate.centerB : ℝ)+w.val.re + ∀ r, innerBoundaryRadius ≤ r → (radialFreeLog b r).re ≤ 0 := by + intro b + let Z := (ProfileCertificate.centerZ : ℝ)+w.val.im + let R := freeProfileRadius Z + let u := fun r => (radialFreeLog b r).re + let v := fun r => (radialFreeLog b r).im+r/4 + obtain ⟨hb,hZ⟩ := ProfileCertificate.disk_coordinates w + have hZ' : |Z-(ProfileCertificate.centerZ : ℝ)| ≤ (1/100000000 : ℝ) := by + simpa only [Z,add_sub_cancel_left,ProfileCertificate.radius,Rat.cast_div, + Rat.cast_one,Rat.cast_ofNat] using hZ + obtain ⟨hR,hS,hshell⟩ := radial_boundary_shell_geometry Z hZ' + change (3 : ℝ) ≤ R at hR + change innerBoundaryRadius-R ∈ _ at hshell + have hRS : R ≤ innerBoundaryRadius := by linarith [hshell.1] + have hRU : R ≤ (7/2 : ℝ) := by linarith + have hZ0 : 0 < Z := by + have hz := (abs_le.mp hZ).1 + dsimp [Z] + norm_num [ProfileCertificate.centerZ,ProfileCertificate.radius] at hz ⊢ + linarith + have hb0 : (334/1000 : ℝ) ≤ b := by + have hb' := (abs_le.mp hb).1 + dsimp [b] + norm_num [ProfileCertificate.centerB,ProfileCertificate.radius] at hb' ⊢ + linarith + have hz (r : ℝ) (hr : R ≤ r) : Z ≤ r^2/4 := by + have hsq := freeProfileRadius_sq hZ0.le + change R^2/4=Z at hsq + nlinarith + have hraw (r : ℝ) (hr : R ≤ r) : radialFreeRaw b r ≠ 0 := + (ProfileCertificate.disk_free_exterior w (r^2/4) (hz r hr)).1 + have hd (r : ℝ) (hr : R ≤ r) := + radial_riccati_components (radialFreeLog b) b r (by linarith) + (radial_free_log_riccati b r (by linarith) (hraw r hr)) + have huc : ContinuousOn u (Ici R) := by + intro r hr + exact (hd r hr).1.continuousAt.continuousWithinAt + have hvc : ContinuousOn v (Ici R) := by + intro r hr + exact (hd r hr).2.continuousAt.continuousWithinAt + have hjR : ‖ProfileCertificate.freeProfileJ b Z‖ < (3/1000000000 : ℝ) := + ProfileCertificate.diskProfile_bound w + have hjre := (abs_le.mp (Complex.abs_re_le_norm (ProfileCertificate.freeProfileJ b Z))).1 + have hjim := (abs_le.mp (Complex.abs_im_le_norm (ProfileCertificate.freeProfileJ b Z))).1 + have hjRcomp := radialFreeLog_components_j b R (by linarith) + rw [show R^2/4=Z from freeProfileRadius_sq hZ0.le] at hjRcomp + have hvR : 0 ≤ v R := by + dsimp [v] + rw [hjRcomp.2] + have : 0 ≤ (1/4 : ℝ)+(ProfileCertificate.freeProfileJ b Z).re/2 := by linarith + exact mul_nonneg (by linarith) this + have huR : u R ≤ (1/100000000 : ℝ) := by + dsimp [u] + rw [hjRcomp.1] + have hRR : R ≤ (10/3 : ℝ) := hRS.trans hS + nlinarith + have hvnon : ∀ r ∈ Icc R (7/2 : ℝ), 0 ≤ v r := + radial_phase_nonneg u v R (7/2) + (hvc.mono (fun _ hr => hr.1)) hvR (fun r hr => (hd r hr.1).2) + have hpot : ∀ r ∈ Icc R (7/2 : ℝ), + (18/100 : ℝ) < b+r^2/16-(v r)^2 := by + intro r hr + have hc := (radialFreeLog_components_j b r (by linarith [hr.1])).2 + have hj := (ProfileCertificate.disk_free_exterior w (r^2/4) (hz r hr.1)).2.1 + have hupper : v r ≤ (543/2000 : ℝ)*r := by + dsimp [v] + rw [hc] + have hh := mul_nonneg (by linarith [hr.1] : 0 ≤ r) (sub_nonneg.mpr hj.le) + nlinarith + apply radial_free_potential_lower b r (v r) hb0 (by linarith [hr.1]) + (by nlinarith [hr.1,hr.2]) (hvnon r hr) hupper + have huS : u innerBoundaryRadius < 0 := + radial_riccati_shell u v b R innerBoundaryRadius hR hRS + (by linarith [hshell.2]) (by linarith [hshell.1]) + (huc.mono (fun _ hr => hr.1)) huR (fun r hr => (hd r hr.1).1) + (fun r hr => hpot r ⟨hr.1,hr.2.trans (by linarith)⟩) + have hunon : ∀ r ∈ Icc innerBoundaryRadius (7/2 : ℝ), u r ≤ 0 := + radial_riccati_nonpos u v b innerBoundaryRadius (7/2) + (huc.mono (fun _ hr => hRS.trans hr.1)) huS.le + (fun r hr => (hd r (hRS.trans hr.1)).1) + (fun r hr => lt_trans (by norm_num) (hpot r ⟨hRS.trans hr.1,hr.2⟩)) + intro r hr + by_cases hru : r ≤ (7/2 : ℝ) + · exact hunon r ⟨hr,hru⟩ + · have hrr : 0 < r := by linarith + have hj := (ProfileCertificate.disk_free_exterior w (r^2/4) + (hz r (hRS.trans hr))).2.2 (by nlinarith) + rw [(radialFreeLog_components_j b r hrr).1] + exact mul_nonpos_of_nonpos_of_nonneg (by linarith) hj.le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDeformation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDeformation.lean new file mode 100644 index 0000000000000000000000000000000000000000..4e6c1c3bbfd3fff7f0ec257910639cc2b016bd3b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDeformation.lean @@ -0,0 +1,118 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeShootingData +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeModulus +import Mathlib.Analysis.Calculus.LocalExtr.Basic + +namespace OAI + +/-! Positive deformation of the actual free exterior on the certified parameter disk. -/ + +open Set Filter +namespace DefocusingNLS + +noncomputable def radialFreeVelocity (b r : ℝ) : ℝ := + r/2+2*(radialFreeLog b r).im + +theorem radialFreeVelocity_hasDerivAt (b r : ℝ) (hr : 0 < r) + (hn : radialFreeRaw b r ≠ 0) : + HasDerivAt (radialFreeVelocity b) + (6-11/r*radialFreeVelocity b r- + 2*radialFreeVelocity b r*(radialFreeLog b r).re) r := by + have hd := ((radial_riccati_components (radialFreeLog b) b r hr.ne' + (radial_free_log_riccati b r hr hn)).2).const_mul 2 + have he : (fun t => 2*((radialFreeLog b t).im+t/4))=radialFreeVelocity b := by + funext t + dsimp [radialFreeVelocity] + ring + rw [he] at hd + apply hd.congr_deriv + dsimp [radialFreeVelocity] + field_simp [hr.ne'] + ring + +theorem radialFreeVelocity_deformation (w : RadialShootingDisk) : + let b := radialShootingB w + ∀ r, innerBoundaryRadius ≤ r → + 0 < radialFreeVelocity b r ∧ radialFreeVelocity b r/r < (543/1000 : ℝ) ∧ + (27/1000 : ℝ) ≤ deriv (radialFreeVelocity b) r := by + intro b + let R := radialShootingR w + let Z := radialShootingZ w + let u := fun r => (radialFreeLog b r).re + let v := fun r => (radialFreeLog b r).im+r/4 + have hg := radialShooting_geometry w + have hR : (3 : ℝ) ≤ R := hg.2.1 + have hRb : R < innerBoundaryRadius := by + have hh := hg.2.2.2.2.2.1 + change (1/10000-1/100000000 : ℝ) ≤ innerBoundaryRadius-R at hh + linarith + have hZpos : 0 < Z := by + have hh := (abs_le.mp (ProfileCertificate.disk_coordinates w).2).1 + dsimp [Z,radialShootingZ] + norm_num [ProfileCertificate.centerZ,ProfileCertificate.radius] at hh ⊢ + linarith + have hRZ : R^2/4=Z := freeProfileRadius_sq hZpos.le + have hraw (r : ℝ) (hr : R ≤ r) : radialFreeRaw b r ≠ 0 := by + apply (ProfileCertificate.disk_free_exterior w (r^2/4) ?_).1 + change Z ≤ r^2/4 + nlinarith + have hd (r : ℝ) (hr : R ≤ r) := + (radial_riccati_components (radialFreeLog b) b r (by linarith) + (radial_free_log_riccati b r (by linarith) (hraw r hr))).2 + have hvR : 0 ≤ v R := by + have hj := ProfileCertificate.diskProfile_bound w + have him := (abs_le.mp (Complex.abs_re_le_norm (ProfileCertificate.freeProfileJ b Z))).1 + have he := (radialFreeLog_components_j b R (by linarith)).2 + rw [hRZ] at he + change v R=R*((1/4 : ℝ)+(ProfileCertificate.freeProfileJ b Z).re/2) at he + rw [he] + have hh : 0 ≤ (1/4 : ℝ)+(ProfileCertificate.freeProfileJ b Z).re/2 := by + change ‖ProfileCertificate.freeProfileJ b Z‖ < _ at hj + linarith + exact mul_nonneg (by linarith) hh + have hv (r : ℝ) (hr : R ≤ r) : 0 ≤ v r := by + apply radial_phase_nonneg u v R r + (fun t ht => (hd t ht.1).continuousAt.continuousWithinAt) hvR + (fun t ht => hd t ht.1) r ⟨hr,le_rfl⟩ + have hw : radialFreeVelocity b=fun r => 2*v r := by + funext r + dsimp [radialFreeVelocity,v] + ring + intro r hr + have hRr : R < r := hRb.trans_le hr + have hrp : 0 < r := by linarith + have hvp : 0 < v r := by + have hn := hv r hRr.le + by_contra hh + have hz : v r=0 := le_antisymm (le_of_not_gt hh) hn + have hmin : IsLocalMin v r := by + filter_upwards [Ioi_mem_nhds hRr] with t ht + rw [hz] + exact hv t ht.le + have he := hmin.hasDerivAt_eq_zero (hd r hRr.le) + change -(2*u r+11/r)*v r+3=0 at he + rw [hz] at he + norm_num at he + have hj := (ProfileCertificate.disk_free_exterior w (r^2/4) (by + change Z ≤ r^2/4 + nlinarith)).2.1 + change (ProfileCertificate.freeProfileJ b (r^2/4)).re < (43/1000 : ℝ) at hj + have he := (radialFreeLog_components_j b r hrp).2 + change v r=r*((1/4 : ℝ)+(ProfileCertificate.freeProfileJ b (r^2/4)).re/2) at he + have hvr : v r/r < (543/2000 : ℝ) := by + rw [he,mul_div_cancel_left₀ _ hrp.ne'] + linarith + have hu : u r ≤ 0 := radialFreeLog_nonpos_on_disk w r hr + have huv : u r*v r ≤ 0 := mul_nonpos_of_nonpos_of_nonneg hu hvp.le + refine ⟨?_,?_,?_⟩ + · rw [hw] + positivity + · rw [hw,mul_div_assoc] + linarith + · rw [hw,((hd r hRr.le).const_mul 2).deriv] + have halg : 2*(-(2*u r+11/r)*v r+3)=6-4*(u r*v r)-22*(v r/r) := by ring + rw [halg] + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDeformationJet.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDeformationJet.lean new file mode 100644 index 0000000000000000000000000000000000000000..80eaf628b3093f254de2e7dfb5cebfae2e72fa78 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDeformationJet.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeDeformation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowLogarithm + +namespace OAI + +/-! Identify the limiting canonical-jet deformation with the actual free velocity. -/ + +namespace DefocusingNLS + +theorem radialFree_deformation_jet (b r : ℝ) (hr : 0 < r) (m : ℂ) + (hn : (radialFreeSlowJet (-Complex.I*(b : ℂ)) m (Real.log r)).1 ≠ 0) : + let ν := 2*Complex.I*(b : ℂ) + let J := radialFreeSlowJet (-Complex.I*(b : ℂ)) m (Real.log r) + let ξ := J.2/J.1 + radialFreeVelocity b r/r=1/2+2/r^2*(ν.im+ξ.im) ∧ + deriv (radialFreeVelocity b) r= + 1/2-ξ.re-2/r^2*(ν.im+ξ.im)*(11+2*ν.re+2*ξ.re) := by + intro ν J ξ + have hrC : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hr.ne' + have hJ : J.1 ≠ 0 := hn + have he : (ν+ξ)/(r : ℂ)=radialFreeLog b r := by + rw [← radialFreeSlow_physical_log b r hr m hn] + change (ν+J.2/J.1)/(r : ℂ)=(ν*J.1+J.2)/((r : ℂ)*J.1) + field_simp [hJ,hrC] + have htan : radialFreeVelocity b r/r=1/2+2/r^2*(ν.im+ξ.im) := by + unfold radialFreeVelocity + rw [← he] + simp only [Complex.div_ofReal_im,Complex.add_im] + field_simp [hr.ne'] + have hν : ν.re=0 := by + simp [ν,Complex.mul_re,Complex.mul_im] + have hlog : (radialFreeLog b r).re=ξ.re/r := by + rw [← he,Complex.div_ofReal_re,Complex.add_re,hν,zero_add] + have harg : radialFreeSlowArgument (Real.log r)=freeRadialArgument r := by + have he : Real.exp (2*Real.log r)=r^2 := by + rw [two_mul,Real.exp_add,Real.exp_log hr] + ring + simp only [radialFreeSlowArgument,freeRadialArgument,he] + have hraw : radialFreeRaw b r ≠ 0 := by + intro hz + apply hn + change m*((radialFreeSlowArgument (Real.log r))^(-Complex.I*(b : ℂ))* + regularizedSlowSolution (-Complex.I*(b : ℂ)) 6 (radialFreeSlowArgument (Real.log r)))=0 + rw [harg] + change regularizedSlowSolution (-Complex.I*(b : ℂ)) 6 (freeRadialArgument r)=0 at hz + rw [hz,mul_zero,mul_zero] + refine ⟨htan,?_⟩ + rw [(radialFreeVelocity_hasDerivAt b r hr hraw).deriv,hlog,hν] + have hw : radialFreeVelocity b r=(1/2+2/r^2*(ν.im+ξ.im))*r := + (div_eq_iff hr.ne').1 htan + rw [hw] + field_simp [hr.ne'] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDifference.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDifference.lean new file mode 100644 index 0000000000000000000000000000000000000000..2d0a46034fbef43d8c5e202db0938df4070dd997 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeDifference.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeLinearTaylor + +namespace OAI + +/-! Dependence on the starting radius, proved by comparing actual integral solutions. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_free_start_difference (b l₁ l₂ u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l₁) + (hu : u ≤ (10/3 : ℝ)) (h₁₂ : l₁ ≤ l₂) (h₂u : l₂ ≤ u) + (hwidth : u-l₁ ≤ (1/1000 : ℝ)) + (F₁ G₁ F₂ G₂ : ℝ → ℂ) + (hF₁ : Continuous F₁) (hG₁ : Continuous G₁) + (hF₂ : Continuous F₂) (hG₂ : Continuous G₂) + (heF₁ : ∀ r ∈ Icc l₁ u, F₁ r=1+∫ t in l₁..r, G₁ t) + (heG₁ : ∀ r ∈ Icc l₁ u, G₁ r=∫ t in l₁..r, + -radialFreeCoefficient t*G₁ t-(b : ℂ)*F₁ t) + (heF₂ : ∀ r ∈ Icc l₂ u, F₂ r=1+∫ t in l₂..r, G₂ t) + (heG₂ : ∀ r ∈ Icc l₂ u, G₂ r=∫ t in l₂..r, + -radialFreeCoefficient t*G₂ t-(b : ℂ)*F₂ t) + (hB₁ : ∀ r ∈ Icc l₁ u, ‖F₁ r‖ ≤ 2 ∧ ‖G₁ r‖ ≤ 2) : + ∀ r ∈ Icc l₂ u, + ‖F₁ r-F₂ r+(b : ℂ)/2*((l₂-l₁ : ℝ) : ℂ)^2+ + (b : ℂ)*((l₂-l₁ : ℝ) : ℂ)*((r-l₂ : ℝ) : ℂ)‖ ≤ + (6/1000 : ℝ)*(l₂-l₁)*(r-l₁) := by + have h₁u : l₁ ≤ u := h₁₂.trans h₂u + have hl₂ : (3 : ℝ) ≤ l₂ := hl.trans h₁₂ + have hw₂ : u-l₂ ≤ (1/1000 : ℝ) := by linarith + have hstate₁ := radial_free_components_state b l₁ u (by linarith) F₁ G₁ hF₁ hG₁ 1 0 + heF₁ (by simpa only [zero_add] using heG₁) + have hstate₂ := radial_free_components_state b l₂ u (by linarith) F₂ G₂ hF₂ hG₂ 1 0 + heF₂ (by simpa only [zero_add] using heG₂) + have hre := radial_free_state_restart b l₁ u l₂ (by linarith) ⟨h₁₂,h₂u⟩ + (fun t => (F₁ t,G₁ t)) (hF₁.prodMk hG₁) (1,0) hstate₁ + have hsub := radial_free_state_sub b l₂ u (by linarith) + (fun t => (F₁ t,G₁ t)) (fun t => (F₂ t,G₂ t)) + (hF₁.prodMk hG₁) (hF₂.prodMk hG₂) (F₁ l₂,G₁ l₂) (1,0) hre hstate₂ + have hcomp := radial_free_state_components b l₂ u (by linarith) + (fun t => (F₁ t,G₁ t)-(F₂ t,G₂ t)) ((hF₁.prodMk hG₁).sub (hF₂.prodMk hG₂)) + ((F₁ l₂,G₁ l₂)-(1,0)) hsub + have hlin := radial_free_linear_taylor b l₂ u hb hl₂ hu h₂u hw₂ + (fun t => F₁ t-F₂ t) (fun t => G₁ t-G₂ t) (hF₁.sub hF₂) (hG₁.sub hG₂) + (F₁ l₂-1) (G₁ l₂) hcomp.1 (by simpa only [Prod.fst_sub,Prod.snd_sub,sub_zero] using hcomp.2) + have hT := radial_free_taylor b l₁ u hb hl hu h₁u hwidth F₁ G₁ hF₁ hG₁ heF₁ heG₁ hB₁ l₂ ⟨h₁₂,h₂u⟩ + have hs := radial_free_short_bounds b l₁ u hb hl hu h₁u hwidth F₁ G₁ heF₁ heG₁ hB₁ l₂ ⟨h₁₂,h₂u⟩ + have hδ : 0 ≤ l₂-l₁ := sub_nonneg.mpr h₁₂ + have hδu : l₂-l₁ ≤ (1/1000 : ℝ) := by linarith + have hN : ‖(F₁ l₂-1,G₁ l₂)‖ ≤ (35/100 : ℝ)*(l₂-l₁) := by + rw [Prod.norm_mk] + apply max_le _ hs.1 + have hsq := mul_le_mul_of_nonneg_left hδu hδ + nlinarith [hs.2] + intro r hr + have hv : 0 ≤ r-l₂ := sub_nonneg.mpr hr.1 + have hvu : r-l₂ ≤ (1/1000 : ℝ) := by linarith [hr.2] + have he : F₁ r-F₂ r+(b : ℂ)/2*((l₂-l₁ : ℝ) : ℂ)^2+ + (b : ℂ)*((l₂-l₁ : ℝ) : ℂ)*((r-l₂ : ℝ) : ℂ)= + (F₁ r-F₂ r-(F₁ l₂-1)-G₁ l₂*((r-l₂ : ℝ) : ℂ))+ + (F₁ l₂-1+(b : ℂ)/2*((l₂-l₁ : ℝ) : ℂ)^2)+ + (G₁ l₂+(b : ℂ)*((l₂-l₁ : ℝ) : ℂ))*((r-l₂ : ℝ) : ℂ) := by ring + rw [he] + have hgn : ‖(G₁ l₂+(b : ℂ)*((l₂-l₁ : ℝ) : ℂ))*((r-l₂ : ℝ) : ℂ)‖ ≤ + (3/1000 : ℝ)*(l₂-l₁)*(r-l₂) := by + rw [norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg hv] + exact mul_le_mul_of_nonneg_right hT.1 hv + have hh : ‖(F₁ r-F₂ r-(F₁ l₂-1)-G₁ l₂*((r-l₂ : ℝ) : ℂ))+ + (F₁ l₂-1+(b : ℂ)/2*((l₂-l₁ : ℝ) : ℂ)^2)+ + (G₁ l₂+(b : ℂ)*((l₂-l₁ : ℝ) : ℂ))*((r-l₂ : ℝ) : ℂ)‖ ≤ + 7*‖(F₁ l₂-1,G₁ l₂)‖*(r-l₂)^2+(3/2000 : ℝ)*(l₂-l₁)^2+ + (3/1000 : ℝ)*(l₂-l₁)*(r-l₂) := + (norm_add_le _ _).trans (add_le_add + ((norm_add_le _ _).trans (add_le_add (hlin r hr).2 hT.2)) hgn) + have hn := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hN (by norm_num : (0 : ℝ) ≤ 7)) (sq_nonneg (r-l₂)) + have hvv : (r-l₂)^2 ≤ (r-l₂)/1000 := by nlinarith [mul_le_mul_of_nonneg_left hvu hv] + have hprod := mul_le_mul_of_nonneg_left hvv hδ + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeEulerExpansion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeEulerExpansion.lean new file mode 100644 index 0000000000000000000000000000000000000000..11f73726b452f9ae5b3458ea600f94438bfbbb0c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeEulerExpansion.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePochhammer + +namespace OAI + +/-! The velocity expansion agrees with the differentiated outgoing H expansion. -/ + +open Polynomial +namespace DefocusingNLS + +theorem radialFreeExpansion_euler_shift (q m : ℂ) (j : ℕ) : + radialPolynomialEuler (radialFreeExpansion (-2*q) m (j+1))= + C (-8*Complex.I*m*q*(5-q))*(X*radialFreeExpansion (-2*(q+1)) 1 j) := by + ext k + rw [radialPolynomialEuler_coeff,coeff_C_mul] + cases k with + | zero => simp + | succ k => + rw [coeff_X_mul] + by_cases hk : k ≤ j + · rw [radialFreeExpansion_coefficient _ _ _ _ (Nat.succ_le_succ hk), + radialFreeExpansion_coefficient _ _ _ _ hk] + have hq : -(-2*q)/2=q := by ring + have hq' : -(-2*(q+1))/2=q+1 := by ring + simp only [radialFreePochhammerCoefficient,hq,hq',slowAsymptoticJet, + Nat.factorial_succ,Nat.cast_mul,Nat.cast_add,Nat.cast_one,Nat.cast_ofNat,pow_succ] + field_simp + ring + · have hk' : j < k := Nat.lt_of_not_ge hk + rw [coeff_eq_zero_of_natDegree_lt ((radialFreeExpansion_degree _ _ _).trans_lt + (Nat.succ_lt_succ hk')), + coeff_eq_zero_of_natDegree_lt ((radialFreeExpansion_degree _ _ _).trans_lt hk'), + mul_zero,mul_zero] + +theorem radialFreeExpansion_euler_eval_slowAsymptotic (q m x z : ℂ) (j : ℕ) + (hxz : (4*Complex.I*z)*x=1) : + (radialPolynomialEuler (radialFreeExpansion (-2*q) m (j+1))).eval z= + -8*Complex.I*m*q*(5-q)*z*slowAsymptoticPolynomial (q+1) 6 j x := by + rw [radialFreeExpansion_euler_shift,eval_mul,eval_C,eval_mul,eval_X, + radialFreeExpansion_eval_slowAsymptotic _ _ _ _ _ hxz] + have hq' : -(-2*(q+1))/2=q+1 := by ring + rw [hq'] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeExteriorSmoothness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeExteriorSmoothness.lean new file mode 100644 index 0000000000000000000000000000000000000000..d820240f1a6a384c050c0fb79a87610dbb28da75 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeExteriorSmoothness.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralODESmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedMultiplierLimit +import Mathlib.Analysis.InnerProductSpace.Calculus + +namespace OAI + +/-! The explicit free exterior and its mass are smooth away from zero. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialFreeSlowJet_contDiff (q m : ℂ) (hq : -1 < q.re) : + ContDiff ℝ ∞ (radialFreeSlowJet q m) := by + apply spectralODE_contDiff + (fun t V => (0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*V.2)+radialExteriorErrorMatrix (-2*q) V) + (radialFreeSlowJet q m) _ (radialFreeSlowJet_hasDerivAt q m hq) + have hM : ContDiff ℝ ∞ (fun p : ℝ × (ℂ × ℂ) => radialExteriorErrorMatrix (-2*q) p.2) := + (radialExteriorErrorMatrix (-2*q)).contDiff.comp contDiff_snd + have hE : ContDiff ℝ ∞ (fun p : ℝ × (ℂ × ℂ) => + ((0 : ℂ),-Complex.I*(Real.exp (2*p.1)/2 : ℝ)*p.2.2)) := by + have hr : ContDiff ℝ ∞ (fun p : ℝ × (ℂ × ℂ) => Real.exp (2*p.1)/2) := by fun_prop + have hc := Complex.ofRealCLM.contDiff.comp hr + exact contDiff_const.prodMk ((contDiff_const.mul hc).mul contDiff_snd.snd) + exact hE.add hM + +theorem radialShootingFreeExterior_contDiffOn (z : ProfileMatchingBall) : + ContDiffOn ℝ ∞ (radialShootingFreeExterior z) (Ioi 0) := by + have hq : -1 < (radialShootingQ z).re := by simp [radialShootingQ] + have hlog : ContDiffOn ℝ ∞ Real.log (Ioi (0 : ℝ)) := + Real.contDiffOn_log.mono (fun x hx => hx.ne') + have hExp : ContDiffOn ℝ ∞ + (fun r : ℝ => Complex.exp ((-2*radialShootingQ z)*(Real.log r : ℂ))) (Ioi 0) := + Complex.contDiff_exp.comp_contDiffOn + (contDiffOn_const.mul (Complex.ofRealCLM.contDiff.comp_contDiffOn hlog)) + exact hExp.mul ((radialFreeSlowJet_contDiff _ _ hq).fst.comp_contDiffOn hlog) + +theorem radialMatchedFreeMass_contDiffOn_exterior (z : ProfileMatchingBall) : + ContDiffOn ℝ ∞ (radialMatchedFreeMassFunction z) (Ioi innerBoundaryRadius) := by + have hR : 0 < innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + have hf := (radialShootingFreeExterior_contDiffOn z).mono + (fun _ hx => hR.trans hx) + apply (hf.norm_sq ℂ).congr + intro x hx + change innerBoundaryRadius < x at hx + simp only [radialMatchedFreeMassFunction,radialMatchedFreeProfile,ite_eq_right (not_le.mpr hx)] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeFluxGauge.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeFluxGauge.lean new file mode 100644 index 0000000000000000000000000000000000000000..840d5d75e849755dc98a5ab66a70b891a484aa8d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeFluxGauge.lean @@ -0,0 +1,107 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxCircular +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxLocalSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeConjugate + +namespace OAI + +/-! The actual limiting flux system gives the two decoupled free physical equations. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable def spectralFluxGaugeJet (Q : ℝ → ℂ) (σ : ℂ) (U : ℝ → E₄) (r : ℝ) : ℂ × ℂ := + (Q r*spectralFluxCircularValue σ U r, + deriv Q r*spectralFluxCircularValue σ U r+Q r*deriv (spectralFluxCircularValue σ U) r) + +noncomputable def spectralFreePhysicalField (σ b ζ η : ℂ) (r : ℝ) (V : ℂ × ℂ) : ℂ × ℂ := + (V.2,-(11/(r : ℂ)+σ*Complex.I*(r : ℂ)/2)*V.2- + (b+σ*Complex.I*ζ-η/(r : ℂ)^2)*V.1) + +private theorem fluxGauge_at (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) (ζ σ : ℂ) (hσ : σ^2=1) + (U : ℝ → E₄) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r)) r) + (Q : ℝ → ℂ) (r : ℝ) (hr : r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) + (hQ : DifferentiableAt ℝ Q r) (hDQ : DifferentiableAt ℝ (deriv Q) r) + (hQE : deriv (deriv Q) r+(11/(r : ℂ)+σ*Complex.I*(r : ℂ)/2)*deriv Q r+ + (radialShootingB (profileMatchingParameter z) : ℂ)*Q r=0) + (hC : (((2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re : ℝ) : ℂ)+ + σ*Complex.I*(radialMatchedFreeTransportFunction z r : ℂ))*Q r= + (radialMatchedFreeMassFunction z r : ℂ)*(2*deriv Q r+σ*Complex.I*(r : ℂ)/2*Q r)) : + HasDerivAt (spectralFluxGaugeJet Q σ U) + (spectralFreePhysicalField σ (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r (spectralFluxGaugeJet Q σ U r)) r := by + let V := spectralFluxCircularValue σ U + have hL : 0 < radialShootingR (profileMatchingParameter z) := + lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1 + have hr0 := hL.trans hr.1 + have hpos (t : ℝ) (ht : t ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) : + radialMatchedFreeMassFunction z t ≠ 0 := + (radialMatchedFreeMass_pos z t (hL.trans ht.1).le).ne' + have hs := ((radialMatchedFreeFlux_contDiffOn ell z hz₁ hz hc R ζ U hU) r hr).contDiffAt + (isOpen_Ioo.mem_nhds hr) + have hf : ContDiffAt ℝ ∞ (fun t => (U t).1.1) r := hs.fst.fst + have hg : ContDiffAt ℝ ∞ (fun t => (U t).1.2) r := hs.fst.snd + have hV : ContDiffAt ℝ ∞ V r := hf.add (contDiffAt_const.mul hg) + have hVd := hV.differentiableAt (by simp) + have hDV := (hV.derivWithin (m := 1) (by simp)).differentiableAt (by simp) + exact spectralFreeGaugeJet_hasDerivAt σ (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) (radialMatchedFreeMassFunction z) + (radialMatchedFreeTransportFunction z) Q V r + (2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re) + hr0.ne' (hpos r hr) (radialMatchedFreeMass_hasDerivAt z hz₁ hz r hr.1) + (radialMatchedFreeTransport_hasDerivAt z hc r hr0.ne') hQ hDQ hVd hDV hQE hC + (spectralFluxCircular_hasDerivAt ell σ ζ hσ _ _ U _ R hL hpos hU r hr) + +theorem radialMatchedFreeFlux_gauge_positive (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) (ζ : ℂ) (U : ℝ → E₄) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r)) r) + (r : ℝ) (hr : r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) : + HasDerivAt (spectralFluxGaugeJet (radialShootingFreeExterior z) 1 U) + (spectralFreePhysicalField 1 (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r + (spectralFluxGaugeJet (radialShootingFreeExterior z) 1 U r)) r := by + have hr0 : 0 < r := lt_trans + (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr.1 + apply fluxGauge_at ell z hz₁ hz hc R ζ 1 (by simp) U hU _ r hr + (radialShootingFreeExterior_hasDerivAt z r hr0).differentiableAt + (radialShootingFreeExterior_hasDerivAt_deriv z r hr0).differentiableAt + · simpa only [one_mul] using radialShootingFreeExterior_equation z r hr0 + · simpa only [one_mul,Complex.ofReal_div,Complex.ofReal_ofNat,mul_div_assoc] using + radialMatchedFreeGaugeCoefficient z hz₁ hz hc r hr.1.le + +theorem radialMatchedFreeFlux_gauge_negative (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) (ζ : ℂ) (U : ℝ → E₄) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r)) r) + (r : ℝ) (hr : r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R) : + HasDerivAt (spectralFluxGaugeJet (fun t => star (radialShootingFreeExterior z t)) (-1) U) + (spectralFreePhysicalField (-1) (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r + (spectralFluxGaugeJet (fun t => star (radialShootingFreeExterior z t)) (-1) U r)) r := by + have hr0 : 0 < r := lt_trans + (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr.1 + apply fluxGauge_at ell z hz₁ hz hc R ζ (-1) (by norm_num) U hU _ r hr + (radialShootingFreeExterior_hasDerivAt z r hr0).star.differentiableAt + · rw [deriv.star'] + exact (radialShootingFreeExterior_hasDerivAt_deriv z r hr0).star.differentiableAt + · simpa only [neg_mul,one_mul,sub_eq_add_neg,neg_div] using + radialShootingFreeConjugate_equation z r hr0 + · simpa only [deriv.star',neg_mul,one_mul,sub_eq_add_neg,neg_div,Complex.ofReal_div, + Complex.ofReal_ofNat,mul_div_assoc] using + radialMatchedFreeConjugateGaugeCoefficient z hz₁ hz hc r hr.1.le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeGaugeCoefficient.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeGaugeCoefficient.lean new file mode 100644 index 0000000000000000000000000000000000000000..ff54e19a6584554695f90c0f679602682134f65f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeGaugeCoefficient.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeCurrent + +namespace OAI + +/-! The exact first-order coefficient cancelled by the free profile gauge. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedFreeMass_eq_normSq (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (r : ℝ) (hr : radialShootingR (profileMatchingParameter z) ≤ r) : + radialMatchedFreeMassFunction z r=Complex.normSq (radialShootingFreeExterior z r) := by + rw [radialMatchedFreeMassFunction,radialMatchedFreeProfile_eq_physical z hz₁ hz r hr] + exact Complex.sq_norm _ + +theorem radialMatchedFreeMass_hasDerivAt (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (r : ℝ) (hr : radialShootingR (profileMatchingParameter z) < r) : + HasDerivAt (radialMatchedFreeMassFunction z) + (2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re) r := by + have hr0 : 0 < r := lt_trans + (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr + have hQ := (radialShootingFreeExterior_hasDerivAt z r hr0).differentiableAt.hasDerivAt + have he : radialMatchedFreeMassFunction z =ᶠ[nhds r] + fun t => Complex.normSq (radialShootingFreeExterior z t) := by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact radialMatchedFreeMass_eq_normSq z hz₁ hz t (le_of_lt ht) + have hμ : HasDerivAt (fun t => Complex.normSq (radialShootingFreeExterior z t)) + (2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re) r := by + have hh := Complex.reCLM.hasFDerivAt.comp_hasDerivAt r (hQ.star.mul hQ) + convert hh using 1 + · funext t + simp [Complex.normSq_apply,Complex.mul_re] + · simp [Complex.mul_re] + ring + exact hμ.congr_of_eventuallyEq he + +theorem radialFreeGaugeCoefficient_algebra (q dq : ℂ) (r : ℝ) : + (((2*(star q*dq).re : ℝ) : ℂ)+ + Complex.I*((r/2*Complex.normSq q+2*(star q*dq).im : ℝ) : ℂ))*q= + (Complex.normSq q : ℂ)*(2*dq+Complex.I*(r/2 : ℝ)*q) := by + apply Complex.ext <;> + simp [Complex.normSq_apply,Complex.mul_re,Complex.mul_im] <;> ring + +theorem radialMatchedFreeGaugeCoefficient (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (r : ℝ) + (hr : radialShootingR (profileMatchingParameter z) ≤ r) : + (((2*(star (radialShootingFreeExterior z r)*deriv (radialShootingFreeExterior z) r).re : ℝ) : ℂ)+ + Complex.I*(radialMatchedFreeTransportFunction z r : ℂ))*radialShootingFreeExterior z r= + (radialMatchedFreeMassFunction z r : ℂ)* + (2*deriv (radialShootingFreeExterior z) r+ + Complex.I*(r/2 : ℝ)*radialShootingFreeExterior z r) := by + rw [radialMatchedFreeTransport_eq_current z hz₁ hz hc r hr, + radialMatchedFreeMass_eq_normSq z hz₁ hz r hr] + exact radialFreeGaugeCoefficient_algebra _ _ r + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeGaugeExtension.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeGaugeExtension.lean new file mode 100644 index 0000000000000000000000000000000000000000..edc8253665fdeb78072551eb2b6a1bcf7e268150 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeGaugeExtension.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalGaugePair +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeODEUniqueness + +namespace OAI + +/-! Classical endpoint extensions agree with the interior physical gauge equation. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem spectralPhysicalGaugePair_eq_flux (Q : ℝ → ℂ) (U : ℝ → E₄) (r : ℝ) + (hU : DifferentiableAt ℝ U r) : + spectralPhysicalGaugePair Q (fun t => (U t).1.1) (fun t => (U t).1.2) r= + (spectralFluxGaugeJet Q 1 U r,spectralFluxGaugeJet (fun t => star (Q t)) (-1) U r) := by + have hf : DifferentiableAt ℝ (fun t => (U t).1.1) r := hU.fst.fst + have hg : DifferentiableAt ℝ (fun t => (U t).1.2) r := hU.fst.snd + have hpfun : spectralFluxCircularValue 1 U= + (fun t => (U t).1.1)+(fun t => Complex.I*(U t).1.2) := by + funext t + simp [spectralFluxCircularValue] + have hmfun : spectralFluxCircularValue (-1) U= + (fun t => (U t).1.1)+(fun t => -Complex.I*(U t).1.2) := by + funext t + simp [spectralFluxCircularValue] + have hp : deriv (spectralFluxCircularValue 1 U) r= + deriv (fun t => (U t).1.1) r+Complex.I*deriv (fun t => (U t).1.2) r := by + rw [hpfun] + exact (hf.hasDerivAt.add (hg.hasDerivAt.const_mul Complex.I)).deriv + have hm : deriv (spectralFluxCircularValue (-1) U) r= + deriv (fun t => (U t).1.1) r-Complex.I*deriv (fun t => (U t).1.2) r := by + rw [hmfun] + simpa only [neg_mul,sub_eq_add_neg] using + (hf.hasDerivAt.add (hg.hasDerivAt.const_mul (-Complex.I))).deriv + simp only [spectralPhysicalGaugePair,spectralFluxGaugeJet,hp,hm,deriv.star, + spectralFluxCircularValue,one_mul,neg_mul,sub_eq_add_neg] + +theorem spectralPhysicalGaugePair_congr (Q f g F G : ℝ → ℂ) (r : ℝ) + (hf : f =ᶠ[nhds r] F) (hg : g =ᶠ[nhds r] G) : + spectralPhysicalGaugePair Q f g r=spectralPhysicalGaugePair Q F G r := by + simp only [spectralPhysicalGaugePair,hf.eq_of_nhds,hg.eq_of_nhds,hf.deriv_eq,hg.deriv_eq] + +theorem radialMatchedFreeGaugeExtension_hasDerivAt (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R δ : ℝ) + (hδ : radialShootingR (profileMatchingParameter z) ≤ δ) (ζ : ℂ) (U : ℝ → E₄) + (hU : ∀ r ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt U (spectralFluxField ell (radialMatchedFreeMassFunction z r) + (radialMatchedFreeTransportFunction z r) 6 ζ r (U r)) r) + (f g : ℝ → ℂ) (hf : EqOn f (fun t => (U t).1.1) (Ioo δ R)) + (hg : EqOn g (fun t => (U t).1.2) (Ioo δ R)) (r : ℝ) (hr : r ∈ Ioo δ R) : + HasDerivAt (spectralPhysicalGaugePair (radialShootingFreeExterior z) f g) + (spectralFreePhysicalPairField (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r + (spectralPhysicalGaugePair (radialShootingFreeExterior z) f g r)) r := by + have hmem (t : ℝ) (ht : t ∈ Ioo δ R) : t ∈ Ioo (radialShootingR (profileMatchingParameter z)) R := + ⟨hδ.trans_lt ht.1,ht.2⟩ + have he : spectralPhysicalGaugePair (radialShootingFreeExterior z) f g =ᶠ[nhds r] + fun t => (spectralFluxGaugeJet (radialShootingFreeExterior z) 1 U t, + spectralFluxGaugeJet (fun x => star (radialShootingFreeExterior z x)) (-1) U t) := by + filter_upwards [isOpen_Ioo.mem_nhds hr] with t ht + have hft : f =ᶠ[nhds t] fun x => (U x).1.1 := by + filter_upwards [isOpen_Ioo.mem_nhds ht] with x hx + exact hf hx + have hgt : g =ᶠ[nhds t] fun x => (U x).1.2 := by + filter_upwards [isOpen_Ioo.mem_nhds ht] with x hx + exact hg hx + rw [spectralPhysicalGaugePair_congr _ _ _ _ _ t hft hgt] + exact spectralPhysicalGaugePair_eq_flux _ U t (hU t (hmem t ht)).differentiableAt + have hd := ((radialMatchedFreeFlux_gauge_positive ell z hz₁ hz hc R ζ U hU r (hmem r hr)).prodMk + (radialMatchedFreeFlux_gauge_negative ell z hz₁ hz hc R ζ U hU r (hmem r hr))).congr_of_eventuallyEq he + exact hd.congr_deriv (congrArg + (spectralFreePhysicalPairField (radialShootingB (profileMatchingParameter z)) ζ + ((ell : ℂ)*((ell : ℂ)+10)) r) he.eq_of_nhds).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeInitialExistence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeInitialExistence.lean new file mode 100644 index 0000000000000000000000000000000000000000..3e6b57ce6b730a4e518d4624300210f7b1c8394b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeInitialExistence.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeInitialField + +namespace OAI + +/-! A bounded integral solution of the free initial-value problem on the manuscript's short shell. -/ + +open Set Metric MeasureTheory ODE +namespace DefocusingNLS + +theorem exists_radial_free_initial (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) : + ∃ X : ℝ → ℂ × ℂ, Continuous X ∧ X l=(1,0) ∧ + (∀ r ∈ Icc l u, X r=(1,0)+∫ t in l..r, radialFreeField b t (X t)) ∧ + (∀ r, ‖X r‖ ≤ 2) := by + let t₀ : Icc l u := ⟨l,le_rfl,hlu⟩ + let x₀ : ℂ × ℂ := (1,0) + have hX : ∀ x ∈ closedBall x₀ 1, ‖x‖ ≤ (2 : ℝ) := by + intro x hx + have hd : ‖x-x₀‖ ≤ 1 := mem_closedBall_iff_norm.mp hx + calc + ‖x‖ = ‖(x-x₀)+x₀‖ := by rw [sub_add_cancel] + _ ≤ ‖x-x₀‖+‖x₀‖ := norm_add_le _ _ + _ ≤ 2 := by norm_num [x₀] at hd ⊢; linarith + have hPL : IsPicardLindelof (radialFreeField b) t₀ x₀ 1 0 14 7 := by + constructor + · intro t ht + exact (radialFreeField_lipschitz b t hb ⟨hl.trans ht.1,ht.2.trans hu⟩).lipschitzOnWith + · intro x _ + exact radialFreeField_continuousOn b l u (by linarith) x + · intro t ht x hx + exact (radialFreeField_norm b t hb ⟨hl.trans ht.1,ht.2.trans hu⟩ x).trans (by + have hh := hX x hx + change 7*‖x‖ ≤ (14 : ℝ) + linarith) + · change (14 : ℝ)*max (u-l) (l-l) ≤ 1-0 + rw [sub_self,max_eq_left (sub_nonneg.mpr hlu)] + linarith + have hx : x₀ ∈ closedBall x₀ (0 : NNReal) := mem_closedBall_self le_rfl + obtain ⟨α,hα⟩ := ODE.FunSpace.exists_isFixedPt_next hPL hx + have he : ∀ r ∈ Icc l u, α.compProj r=ODE.picard (radialFreeField b) l x₀ α.compProj r := by + intro r hr + rw [ODE.FunSpace.compProj_of_mem hr] + exact (ODE.FunSpace.isFixedPt_next_iff hPL hx).mp hα ⟨r,hr⟩ + refine ⟨α.compProj,α.continuous_compProj,?_,?_,?_⟩ + · simpa only [ODE.picard_apply,intervalIntegral.integral_same,add_zero] using he l ⟨le_rfl,hlu⟩ + · intro r hr + exact he r hr + · intro r + exact hX (α.compProj r) (α.compProj_mem_closedBall hPL.mul_max_le) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeInitialField.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeInitialField.lean new file mode 100644 index 0000000000000000000000000000000000000000..12326d34450e238ab3be91341011222e687c5757 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeInitialField.lean @@ -0,0 +1,72 @@ +import Mathlib.Analysis.ODE.ExistUnique +import Mathlib.Analysis.Complex.Basic +import Mathlib.Tactic + +namespace OAI + +/-! The exact first-order system for the short free radial initial-value problem. -/ + +open Set +namespace DefocusingNLS + +noncomputable def radialFreeCoefficient (r : ℝ) : ℂ := + ((11/r : ℝ) : ℂ)+Complex.I*((r/2 : ℝ) : ℂ) + +noncomputable def radialFreeField (b r : ℝ) (x : ℂ × ℂ) : ℂ × ℂ := + (x.2,-radialFreeCoefficient r*x.2-(b : ℂ)*x.1) + +theorem radialFreeCoefficient_norm (r : ℝ) (hr : r ∈ Icc (3 : ℝ) (10/3)) : + ‖radialFreeCoefficient r‖ ≤ 6 := by + have hr0 : 0 < r := by linarith [hr.1] + have hdiv : 11/r ≤ (11/3 : ℝ) := (div_le_iff₀ hr0).mpr (by linarith [hr.1]) + have hn := norm_add_le (((11/r : ℝ) : ℂ)) (Complex.I*((r/2 : ℝ) : ℂ)) + rw [norm_mul,Complex.norm_I,one_mul,Complex.norm_real,Complex.norm_real, + Real.norm_eq_abs,Real.norm_eq_abs,abs_of_pos (div_pos (by norm_num) hr0), + abs_of_pos (div_pos hr0 (by norm_num))] at hn + exact hn.trans (by linarith [hr.2]) + +theorem radialFreeField_norm (b r : ℝ) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hr : r ∈ Icc (3 : ℝ) (10/3)) (x : ℂ × ℂ) : + ‖radialFreeField b r x‖ ≤ 7*‖x‖ := by + have hb0 : 0 ≤ b := by linarith [hb.1] + have hbn : ‖(b : ℂ)‖ ≤ 1 := by + rw [Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg hb0] + linarith [hb.2] + have hs : ‖-radialFreeCoefficient r*x.2-(b : ℂ)*x.1‖ ≤ 7*‖x‖ := by + calc + _ ≤ ‖-radialFreeCoefficient r*x.2‖+‖(b : ℂ)*x.1‖ := norm_sub_le _ _ + _ = ‖radialFreeCoefficient r‖*‖x.2‖+‖(b : ℂ)‖*‖x.1‖ := by rw [norm_mul,norm_neg,norm_mul] + _ ≤ 6*‖x.2‖+1*‖x.1‖ := by gcongr; exact radialFreeCoefficient_norm r hr + _ ≤ 6*‖x‖+1*‖x‖ := by gcongr; exacts [norm_snd_le x,norm_fst_le x] + _ = 7*‖x‖ := by ring + change max ‖x.2‖ ‖-radialFreeCoefficient r*x.2-(b : ℂ)*x.1‖ ≤ _ + exact max_le ((norm_snd_le x).trans (by nlinarith [norm_nonneg x])) hs + +theorem radialFreeField_sub (b r : ℝ) (x y : ℂ × ℂ) : + radialFreeField b r (x-y)=radialFreeField b r x-radialFreeField b r y := by + apply Prod.ext + · rfl + · change -radialFreeCoefficient r*(x.2-y.2)-(b : ℂ)*(x.1-y.1)= + (-radialFreeCoefficient r*x.2-(b : ℂ)*x.1)-(-radialFreeCoefficient r*y.2-(b : ℂ)*y.1) + ring + +theorem radialFreeField_lipschitz (b r : ℝ) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hr : r ∈ Icc (3 : ℝ) (10/3)) : LipschitzWith 7 (radialFreeField b r) := by + apply LipschitzWith.of_dist_le_mul + intro x y + simp only [dist_eq_norm] + rw [← radialFreeField_sub] + exact radialFreeField_norm b r hb hr (x-y) + +theorem radialFreeField_continuousOn (b l u : ℝ) (hl : 0 < l) (x : ℂ × ℂ) : + ContinuousOn (fun r => radialFreeField b r x) (Icc l u) := by + have hdiv : ContinuousOn (fun r : ℝ => 11/r) (Icc l u) := + continuousOn_const.div continuousOn_id (fun r hr => ne_of_gt (hl.trans_le hr.1)) + have hc : ContinuousOn radialFreeCoefficient (Icc l u) := + (Complex.continuous_ofReal.comp_continuousOn hdiv).add + (continuousOn_const.mul ((Complex.continuous_ofReal.comp (continuous_id.div_const 2)).continuousOn)) + exact continuousOn_const.prodMk ((hc.neg.mul continuousOn_const).sub continuousOn_const) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeLinearTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeLinearTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..bc451c5cf8599f09f17af6ae6f3db27f54685050 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeLinearTaylor.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePropagation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeTaylor + +namespace OAI + +/-! Quantitative Taylor propagation for arbitrary complex initial data. -/ + +open Set MeasureTheory Filter +namespace DefocusingNLS + +theorem radial_free_linear_taylor (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) + (F G : ℝ → ℂ) (hF : Continuous F) (hG : Continuous G) (f₀ g₀ : ℂ) + (heF : ∀ r ∈ Icc l u, F r=f₀+∫ t in l..r, G t) + (heG : ∀ r ∈ Icc l u, G r=g₀+∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) : + ∀ r ∈ Icc l u, + ‖G r-g₀‖ ≤ 14*‖(f₀,g₀)‖*(r-l) ∧ + ‖F r-f₀-g₀*((r-l : ℝ) : ℂ)‖ ≤ 7*‖(f₀,g₀)‖*(r-l)^2 := by + have hX := radial_free_components_state b l u (by linarith) F G hF hG f₀ g₀ heF heG + have hbound := radial_free_state_bound b l u hb hl hu hlu hwidth + (fun t => (F t,G t)) (hF.prodMk hG) (f₀,g₀) hX + have hGb : ∀ r ∈ Icc l u, ‖G r-g₀‖ ≤ 14*‖(f₀,g₀)‖*(r-l) := by + intro r hr + have he : G r-g₀=∫ t in l..r, -radialFreeCoefficient t*G t-(b : ℂ)*F t := by + rw [heG r hr]; ring + rw [he] + apply radial_complex_integral_bound l r _ hr.1 + intro t ht + exact (norm_snd_le (radialFreeField b t (F t,G t))).trans + ((radialFreeField_norm b t hb ⟨hl.trans ht.1,ht.2.trans (hr.2.trans hu)⟩ (F t,G t)).trans + (by nlinarith [hbound t ⟨ht.1,ht.2.trans hr.2⟩])) + intro r hr + refine ⟨hGb r hr,?_⟩ + have he : F r-f₀-g₀*((r-l : ℝ) : ℂ)=∫ t in l..r, G t-g₀ := by + rw [intervalIntegral.integral_sub (f := G) (g := fun _ : ℝ => g₀) + (hG.intervalIntegrable l r) (continuous_const.intervalIntegrable l r), + intervalIntegral.integral_const,Complex.real_smul,heF r hr] + ring + rw [he] + have hi : (∫ t in l..r, 14*‖(f₀,g₀)‖*(t-l))=7*‖(f₀,g₀)‖*(r-l)^2 := by + rw [intervalIntegral.integral_const_mul,intervalIntegral.integral_sub + (f := fun t : ℝ => t) (g := fun _ : ℝ => l) + (continuous_id.intervalIntegrable l r) (continuous_const.intervalIntegrable l r), + integral_id,intervalIntegral.integral_const] + simp only [smul_eq_mul] + ring + rw [← hi] + exact intervalIntegral.norm_integral_le_of_norm_le hr.1 + (Eventually.of_forall (fun t ht => hGb t ⟨ht.1.le,ht.2.trans hr.2⟩)) + ((continuous_const.mul (continuous_id.sub continuous_const)).intervalIntegrable l r) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeMatchedIdentification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeMatchedIdentification.lean new file mode 100644 index 0000000000000000000000000000000000000000..0260b88d13ebaec9202276c6bb6279260038c161 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeMatchedIdentification.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePhysicalLog +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeUniqueness + +namespace OAI + +/-! At a limiting matching zero, the inner IVP and the outgoing H profile coincide. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialFreeInner_physical (z : ProfileMatchingBall) + (hz : diskProfile (profileMatchingParameter z)=0) : + let L := radialShootingR (profileMatchingParameter z) + EqOn (fun r => (radialFreeInnerJet (profileMatchingParameter z) r).1) + (fun r => radialShootingFreeExterior z r/radialShootingFreeExterior z L) + (Icc L innerBoundaryRadius) := by + intro L + let Q := radialShootingFreeExterior z + let F := fun r => Q (max L r)/Q L + let G := fun r => deriv Q (max L r)/Q L + have hL : 0 < L := by dsimp only [L]; linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1] + have hQ (r : ℝ) (hr : 0 < r) := radialShootingFreeExterior_hasDerivAt z r hr + have hD (r : ℝ) (hr : 0 < r) := radialShootingFreeExterior_hasDerivAt_deriv z r hr + have hQc : ContinuousOn Q (Ioi 0) := fun r hr => (hQ r hr).continuousAt.continuousWithinAt + have hDc : ContinuousOn (deriv Q) (Ioi 0) := fun r hr => (hD r hr).continuousAt.continuousWithinAt + have hF : Continuous F := + (hQc.comp_continuous (continuous_const.max continuous_id) + (fun r => hL.trans_le (le_max_left L r))).div_const _ + have hG : Continuous G := + (hDc.comp_continuous (continuous_const.max continuous_id) + (fun r => hL.trans_le (le_max_left L r))).div_const _ + have hne : Q L ≠ 0 := radialShootingFreeExterior_ne_zero z L le_rfl + have hF₀ : F L=1 := by simp only [F,max_self,div_self hne] + have hG₀ : G L=0 := by + dsimp only [G] + rw [max_self] + change deriv (radialShootingFreeExterior z) L/radialShootingFreeExterior z L=0 + rw [radialShootingFreeExterior_neumann z hz,zero_div] + have hDE (r : ℝ) (hr : r ∈ Ioo L innerBoundaryRadius) : + HasDerivAt F (G r) r ∧ HasDerivAt G + (-radialFreeCoefficient r*G r-(radialShootingB (profileMatchingParameter z) : ℂ)*F r) r := by + have heF : F =ᶠ[nhds r] fun t => Q t/Q L := by + filter_upwards [Ioi_mem_nhds hr.1] with t ht + change L < t at ht + simp only [F,max_eq_right ht.le] + have heG : G =ᶠ[nhds r] fun t => deriv Q t/Q L := by + filter_upwards [Ioi_mem_nhds hr.1] with t ht + change L < t at ht + simp only [G,max_eq_right ht.le] + have hQd : deriv Q r=(radialShootingFreeJet z r).2 := (hQ r (hL.trans hr.1)).deriv + constructor + · simpa only [G,max_eq_right hr.1.le,hQd] using + ((hQ r (hL.trans hr.1)).div_const (Q L)).congr_of_eventuallyEq heF + · apply (((hD r (hL.trans hr.1)).div_const (Q L)).congr_of_eventuallyEq heG).congr_deriv + dsimp only [F,G] + rw [max_eq_right hr.1.le] + ring + obtain ⟨hFI,hGI⟩ := radial_free_integral_of_derivatives + (radialShootingB (profileMatchingParameter z)) L innerBoundaryRadius hL F G hF hG hF₀ hG₀ hDE + have hS := radial_free_components_state (radialShootingB (profileMatchingParameter z)) + L innerBoundaryRadius hL F G hF hG 1 0 hFI (by simpa only [zero_add] using hGI) + obtain ⟨hJ,hJI,hJD,_⟩ := radialFreeInnerJet_spec (profileMatchingParameter z) + have hT := radial_free_components_state (radialShootingB (profileMatchingParameter z)) + L innerBoundaryRadius hL _ _ hJ.fst hJ.snd 1 0 hJI (by simpa only [zero_add] using hJD) + have hp := radialShooting_geometry (profileMatchingParameter z) + have he := radial_free_integral_unique (radialShootingB (profileMatchingParameter z)) + L innerBoundaryRadius hp.1 hp.2.1 hp.2.2.1 hp.2.2.2.1 hp.2.2.2.2.1 + (radialFreeInnerJet (profileMatchingParameter z)) (fun r => (F r,G r)) hJ (hF.prodMk hG) hT hS + intro r hr + have hv := congrArg Prod.fst (he hr) + simpa only [F,max_eq_right hr.1] using hv + +theorem radialShootingFreeExterior_core_value (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) : + radialShootingFreeExterior z (radialShootingR (profileMatchingParameter z))=1 := by + have hp := radialShooting_geometry (profileMatchingParameter z) + have he := radialFreeInner_physical z hz ⟨hp.2.2.2.1,le_rfl⟩ + dsimp only at he + rw [radialShootingFreeExterior_boundary z hz₁] at he + have hne := radialFreeInner_boundary_ne_zero (profileMatchingParameter z) + have hq := radialShootingFreeExterior_ne_zero z (radialShootingR (profileMatchingParameter z)) le_rfl + have hmul := (eq_div_iff hq).mp he + apply mul_left_cancel₀ hne + simpa only [mul_one] using hmul + +theorem radialMatchedFreeProfile_eq_physical (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (r : ℝ) (hr : radialShootingR (profileMatchingParameter z) ≤ r) : + radialMatchedFreeProfile z r=radialShootingFreeExterior z r := by + by_cases hb : r ≤ innerBoundaryRadius + · rcases hr.eq_or_lt with hr | hr + · rw [← hr,radialShootingFreeExterior_core_value z hz₁ hz] + simp only [radialMatchedFreeProfile,ite_eq_left (radialShooting_geometry (profileMatchingParameter z)).2.2.2.1, + ite_eq_left le_rfl] + · rw [radialMatchedFreeProfile,ite_eq_left hb,ite_eq_right (not_le.mpr hr)] + have he := radialFreeInner_physical z hz ⟨hr.le,hb⟩ + simpa only [radialShootingFreeExterior_core_value z hz₁ hz,div_one] using he + · simp only [radialMatchedFreeProfile,ite_eq_right hb] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeMatchingWronskian.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeMatchingWronskian.lean new file mode 100644 index 0000000000000000000000000000000000000000..d1a1365b0fe2031065f57effb519c695669d2ad0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeMatchingWronskian.lean @@ -0,0 +1,137 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWronskian +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeShootingData +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeRiccati + +namespace OAI + +/-! The exact free logarithmic mismatch at the fixed matching radius. -/ + +open Set MeasureTheory Filter +namespace DefocusingNLS + +theorem radialFreeInnerJet_hasDerivAt (w : RadialShootingDisk) (r : ℝ) + (hr : r ∈ Ioo (radialShootingR w) innerBoundaryRadius) : + HasDerivAt (fun t => (radialFreeInnerJet w t).1) (radialFreeInnerJet w r).2 r ∧ + HasDerivAt (fun t => (radialFreeInnerJet w t).2) + (-radialFreeCoefficient r*(radialFreeInnerJet w r).2- + (radialShootingB w : ℂ)*(radialFreeInnerJet w r).1) r := by + obtain ⟨hJ,hFI,hGI,_⟩ := radialFreeInnerJet_spec w + have he : ∀ᶠ t in nhds r, t ∈ Icc (radialShootingR w) innerBoundaryRadius := + mem_of_superset (isOpen_Ioo.mem_nhds hr) Ioo_subset_Icc_self + have hi := (hJ.snd.integral_hasStrictDerivAt (radialShootingR w) r).hasDerivAt + have hc := (radialFreeField_continuousOn_curve (radialShootingB w) + (radialShootingR w) innerBoundaryRadius + (by linarith [(radialShooting_geometry w).2.1]) (radialFreeInnerJet w) hJ).snd + have hc' := hc.continuousAt (Icc_mem_nhds hr.1 hr.2) + have hint : IntervalIntegrable (fun t => -radialFreeCoefficient t*(radialFreeInnerJet w t).2- + (radialShootingB w : ℂ)*(radialFreeInnerJet w t).1) volume (radialShootingR w) r := + ContinuousOn.intervalIntegrable_of_Icc hr.1.le + (hc.mono (fun t ht => ⟨ht.1,ht.2.trans hr.2.le⟩)) + refine ⟨?_,?_⟩ + · exact (hi.const_add 1).congr_of_eventuallyEq (he.mono (fun t ht => hFI t ht)) + · exact (intervalIntegral.integral_hasDerivAt_right hint + ⟨Icc (radialShootingR w) innerBoundaryRadius,Icc_mem_nhds hr.1 hr.2, + hc.aestronglyMeasurable measurableSet_Icc⟩ hc').congr_of_eventuallyEq + (he.mono (fun t ht => hGI t ht)) + +theorem radialShootingRaw_ne_zero (w : RadialShootingDisk) (r : ℝ) + (hr : radialShootingR w ≤ r) : radialFreeRaw (radialShootingB w) r ≠ 0 := by + have hR := (radialShooting_geometry w).2.1 + have hz : 0 ≤ radialShootingZ w := by + have hh := (ProfileCertificate.disk_coordinates w).2 + dsimp [radialShootingZ] + norm_num [ProfileCertificate.centerZ,ProfileCertificate.radius] at hh ⊢ + linarith [(abs_le.mp hh).1] + have he : (radialShootingR w)^2/4=radialShootingZ w := freeProfileRadius_sq hz + exact (ProfileCertificate.disk_free_exterior w (r^2/4) (by + change radialShootingZ w ≤ r^2/4 + nlinarith)).1 + +noncomputable def radialFreeMatchingFactor (w : RadialShootingDisk) : ℂ := + -((radialShootingR w)^11 : ℝ)*Complex.exp (Complex.I*((radialShootingR w)^2/4 : ℝ))* + (Complex.I*(radialShootingR w/2 : ℝ))*radialFreeRaw (radialShootingB w) (radialShootingR w)/ + (((innerBoundaryRadius^11 : ℝ) : ℂ)*Complex.exp (Complex.I*(innerBoundaryRadius^2/4 : ℝ))* + (radialFreeInnerJet w innerBoundaryRadius).1*radialFreeRaw (radialShootingB w) innerBoundaryRadius) + +theorem radialFreeInner_boundary_ne_zero (w : RadialShootingDisk) : + (radialFreeInnerJet w innerBoundaryRadius).1 ≠ 0 := by + apply norm_pos_iff.mp + have h := (radialFreeInnerJet_spec w).2.2.2.2.1 + linarith + +theorem radialFreeMatchingFactor_ne_zero (w : RadialShootingDisk) : + radialFreeMatchingFactor w ≠ 0 := by + have hR : (radialShootingR w : ℂ) ≠ 0 := + Complex.ofReal_ne_zero.mpr (by linarith [(radialShooting_geometry w).2.1]) + have hB : (innerBoundaryRadius : ℂ) ≠ 0 := + Complex.ofReal_ne_zero.mpr (by linarith [innerBoundaryRadius_bounds.1]) + have hRawR := radialShootingRaw_ne_zero w (radialShootingR w) le_rfl + have hRawB := radialShootingRaw_ne_zero w innerBoundaryRadius (radialShooting_geometry w).2.2.2.1 + unfold radialFreeMatchingFactor + push_cast + exact div_ne_zero + (mul_ne_zero (mul_ne_zero (mul_ne_zero (neg_ne_zero.mpr (pow_ne_zero _ hR)) + (Complex.exp_ne_zero _)) (mul_ne_zero Complex.I_ne_zero (div_ne_zero hR (by norm_num)))) hRawR) + (mul_ne_zero (mul_ne_zero (mul_ne_zero (pow_ne_zero _ hB) (Complex.exp_ne_zero _)) + (radialFreeInner_boundary_ne_zero w)) hRawB) + +theorem radialFreeInner_logarithmic_mismatch (w : RadialShootingDisk) : + (radialFreeInnerJet w innerBoundaryRadius).2/(radialFreeInnerJet w innerBoundaryRadius).1- + radialFreeLog (radialShootingB w) innerBoundaryRadius= + radialFreeMatchingFactor w*ProfileCertificate.diskProfile w := by + let R := radialShootingR w + let B := innerBoundaryRadius + let F := fun r => (radialFreeInnerJet w r).1 + let D := fun r => (radialFreeInnerJet w r).2 + let G := radialFreeRaw (radialShootingB w) + have hR : 0 < R := by dsimp [R]; linarith [(radialShooting_geometry w).2.1] + have hRB : R ≤ B := (radialShooting_geometry w).2.2.2.1 + have hFc : Continuous F := (radialFreeInnerJet_spec w).1.fst + have hDc : Continuous D := (radialFreeInnerJet_spec w).1.snd + have hG (r : ℝ) (hr : r ∈ Icc R B) : HasDerivAt G (deriv G r) r := + (radialFreeRaw_hasDerivAt (radialShootingB w) r (hR.trans_le hr.1)).differentiableAt.hasDerivAt + have hD (r : ℝ) (hr : r ∈ Icc R B) := + radialFreeRaw_hasDerivAt_deriv (radialShootingB w) r (hR.trans_le hr.1) + have hc : ContinuousOn (fun t => (t^11 : ℝ)*Complex.exp (Complex.I*(t^2/4 : ℝ))* + (F t*deriv G t-D t*G t)) (Icc R B) := by + have hGc : ContinuousOn G (Icc R B) := fun r hr => (hG r hr).continuousAt.continuousWithinAt + have hDGc : ContinuousOn (deriv G) (Icc R B) := fun r hr => (hD r hr).continuousAt.continuousWithinAt + exact ((Complex.continuous_ofReal.comp (continuous_id.pow 11)).continuousOn.mul + (by fun_prop)).mul ((hFc.continuousOn.mul hDGc).sub (hDc.continuousOn.mul hGc)) + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hRB hc + (fun t ht => radial_free_weighted_wronskian_derivative (radialShootingB w) t + (ne_of_gt (hR.trans ht.1)) F D G (deriv G) + (radialFreeInnerJet_hasDerivAt w t ht).1 (hG t ⟨ht.1.le,ht.2.le⟩) + (radialFreeInnerJet_hasDerivAt w t ht).2 (hD t ⟨ht.1.le,ht.2.le⟩)) + (continuous_const.intervalIntegrable R B) + rw [intervalIntegral.integral_zero] at he + have hF0 : F R=1 := by simpa [F,R] using (radialFreeInnerJet_spec w).2.1 R ⟨le_rfl,hRB⟩ + have hD0 : D R=0 := by simpa [D,R] using (radialFreeInnerJet_spec w).2.2.1 R ⟨le_rfl,hRB⟩ + have hGR : G R ≠ 0 := radialShootingRaw_ne_zero w R le_rfl + have hGB : G B ≠ 0 := radialShootingRaw_ne_zero w B hRB + have hFB : F B ≠ 0 := radialFreeInner_boundary_ne_zero w + have hZ : 0 ≤ radialShootingZ w := by + have hh := (ProfileCertificate.disk_coordinates w).2 + dsimp [radialShootingZ] + norm_num [ProfileCertificate.centerZ,ProfileCertificate.radius] at hh ⊢ + linarith [(abs_le.mp hh).1] + have hsq : R^2/4=radialShootingZ w := freeProfileRadius_sq hZ + have hlog := radialFreeLog_eq_j (radialShootingB w) R hR + rw [hsq] at hlog + change deriv G R/G R=Complex.I*(R/2 : ℝ)*ProfileCertificate.diskProfile w at hlog + have hdR := (div_eq_iff hGR).mp hlog + simp only [hF0,hD0,one_mul,zero_mul,sub_zero] at he + rw [hdR] at he + change D B/F B-deriv G B/G B=_ + unfold radialFreeMatchingFactor + change D B/F B-deriv G B/G B= + (-((R^11 : ℝ) : ℂ)*Complex.exp (Complex.I*(R^2/4 : ℝ))*(Complex.I*(R/2 : ℝ))*G R/ + (((B^11 : ℝ) : ℂ)*Complex.exp (Complex.I*(B^2/4 : ℝ))*F B*G B))*_ + have hB : ((B^11 : ℝ) : ℂ) ≠ 0 := by + exact Complex.ofReal_ne_zero.mpr (pow_ne_zero _ (by dsimp [B]; linarith [innerBoundaryRadius_bounds.1])) + field_simp [hFB,hGB,hB,Complex.exp_ne_zero] + linear_combination he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeModulus.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeModulus.lean new file mode 100644 index 0000000000000000000000000000000000000000..25b44b238e5dab6dd9033629fd71b4e602954a56 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeModulus.lean @@ -0,0 +1,128 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeDecay +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowJet + +namespace OAI + +/-! Modulus monotonicity and the exact normalization factor for the outgoing free H solution. -/ + +open Set +namespace DefocusingNLS + +theorem complex_normSq_log_derivative (F : ℝ → ℂ) (r : ℝ) (f' : ℂ) + (hd : HasDerivAt F f' r) (hn : F r ≠ 0) : + HasDerivAt (fun t => Complex.normSq (F t)) + (2*Complex.normSq (F r)*(f'/F r).re) r := by + apply (hasDerivAt_complex_normSq hd).congr_deriv + have he : star (F r)*f' = ((‖F r‖^2 : ℝ) : ℂ)*(f'/F r) := by + calc + _ = (star (F r)*F r)*(f'/F r) := by field_simp [hn] + _ = _ := by rw [Complex.star_def,Complex.conj_mul']; push_cast; rfl + rw [he] + simp only [Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero, + Complex.normSq_eq_norm_sq] + ring + +theorem radialFreeRaw_norm_antitone + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) : + AntitoneOn (fun r => ‖radialFreeRaw ((ProfileCertificate.centerB : ℝ)+w.val.re) r‖) + (Ici innerBoundaryRadius) := by + let b := (ProfileCertificate.centerB : ℝ)+w.val.re + let Z := (ProfileCertificate.centerZ : ℝ)+w.val.im + have hz := (ProfileCertificate.disk_coordinates w).2 + have hZ : |Z-(ProfileCertificate.centerZ : ℝ)| ≤ (1/100000000 : ℝ) := by + simpa [Z,ProfileCertificate.radius] using hz + obtain ⟨hR,_,hshell⟩ := radial_boundary_shell_geometry Z hZ + have hZ0 : 0 < Z := by + have hh := (abs_le.mp hz).1 + dsimp [Z] + norm_num [ProfileCertificate.centerZ,ProfileCertificate.radius] at hh ⊢ + linarith + have hsq := freeProfileRadius_sq hZ0.le + have hRS : freeProfileRadius Z ≤ innerBoundaryRadius := by + dsimp [freeProfileRadius] + linarith [hshell.1] + have hraw (r : ℝ) (hr : innerBoundaryRadius ≤ r) : radialFreeRaw b r ≠ 0 := by + apply (ProfileCertificate.disk_free_exterior w (r^2/4) ?_).1 + have := hRS.trans hr + dsimp [freeProfileRadius] at hsq this + nlinarith + have hd (r : ℝ) (hr : innerBoundaryRadius ≤ r) : + HasDerivAt (fun t => Complex.normSq (radialFreeRaw b t)) + (2*Complex.normSq (radialFreeRaw b r)*(radialFreeLog b r).re) r := by + have hh := radialFreeRaw_hasDerivAt b r (by linarith [innerBoundaryRadius_bounds.1]) + have hh' : HasDerivAt (radialFreeRaw b) (deriv (radialFreeRaw b) r) r := + hh.deriv ▸ hh + exact complex_normSq_log_derivative _ r _ hh' (hraw r hr) + have hc : ContinuousOn (fun t => Complex.normSq (radialFreeRaw b t)) + (Ici innerBoundaryRadius) := fun r hr => (hd r hr).continuousAt.continuousWithinAt + have hanti := antitoneOn_of_hasDerivWithinAt_nonpos (convex_Ici innerBoundaryRadius) hc + (fun r hr => (hd r (interior_subset hr)).hasDerivWithinAt) + (fun r hr => mul_nonpos_of_nonneg_of_nonpos + (mul_nonneg (by norm_num) (Complex.normSq_nonneg _)) + (radialFreeLog_nonpos_on_disk w r (interior_subset hr))) + intro r hr s hs hrs + have h := hanti hr hs hrs + change Complex.normSq (radialFreeRaw b s) ≤ Complex.normSq (radialFreeRaw b r) at h + rw [Complex.normSq_eq_norm_sq,Complex.normSq_eq_norm_sq] at h + change ‖radialFreeRaw b s‖ ≤ ‖radialFreeRaw b r‖ + nlinarith [norm_nonneg (radialFreeRaw b r),norm_nonneg (radialFreeRaw b s)] + +theorem radialFreeSlow_cpow_norm (b t : ℝ) : + ‖(radialFreeSlowArgument t)^(-Complex.I*(b : ℂ))‖ = + 1/Real.exp (b*Real.pi/2) := by + rw [Complex.norm_cpow_of_ne_zero (radialFreeSlowArgument_ne_zero t)] + have ha : (radialFreeSlowArgument t).arg = -(Real.pi/2) := by + exact (Complex.arg_mul_real (div_pos (Real.exp_pos _) (by norm_num)) + (-Complex.I)).trans Complex.arg_neg_I + rw [ha] + simp only [neg_mul,Complex.neg_re,Complex.neg_im,Complex.mul_re,Complex.mul_im, + Complex.I_re,Complex.I_im,Complex.ofReal_re,Complex.ofReal_im,zero_mul, + mul_zero,one_mul,zero_add,sub_zero,neg_zero,Real.rpow_zero] + congr 2 + ring + +theorem radialFreeSlowValue_norm (b t : ℝ) (m : ℂ) : + ‖radialFreeSlowValue (-Complex.I*(b : ℂ)) m t‖ = + (‖m‖/Real.exp (b*Real.pi/2))*‖radialFreeRaw b (Real.exp t)‖ := by + have he : (Real.exp t)^2=Real.exp (2*t) := by + rw [pow_two,← Real.exp_add] + congr 1 + ring + change ‖m*((radialFreeSlowArgument t)^(-Complex.I*(b : ℂ))* + regularizedSlowSolution (-Complex.I*(b : ℂ)) 6 (radialFreeSlowArgument t))‖ = _ + rw [norm_mul,norm_mul,radialFreeSlow_cpow_norm] + have hh : radialFreeRaw b (Real.exp t)= + regularizedSlowSolution (-Complex.I*(b : ℂ)) 6 (radialFreeSlowArgument t) := by + dsimp [radialFreeRaw,freeRadialArgument,radialFreeSlowArgument] + rw [he] + rw [hh] + ring + +theorem radialFreeSlowValue_norm_antitone + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) (m : ℂ) : + AntitoneOn + (fun t => ‖radialFreeSlowValue + (-Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ)) m t‖) + (Ici (Real.log innerBoundaryRadius)) := by + intro s hs t ht hst + change ‖radialFreeSlowValue (-Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ)) m t‖ ≤ + ‖radialFreeSlowValue (-Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ)) m s‖ + rw [radialFreeSlowValue_norm,radialFreeSlowValue_norm] + apply mul_le_mul_of_nonneg_left + · apply radialFreeRaw_norm_antitone w + · change innerBoundaryRadius ≤ Real.exp s + calc + innerBoundaryRadius = Real.exp (Real.log innerBoundaryRadius) := + (Real.exp_log (by linarith [innerBoundaryRadius_bounds.1])).symm + _ ≤ Real.exp s := Real.exp_le_exp.mpr hs + · change innerBoundaryRadius ≤ Real.exp t + calc + innerBoundaryRadius = Real.exp (Real.log innerBoundaryRadius) := + (Real.exp_log (by linarith [innerBoundaryRadius_bounds.1])).symm + _ ≤ Real.exp t := Real.exp_le_exp.mpr ht + · exact Real.exp_le_exp.mpr hst + · exact div_nonneg (norm_nonneg _) (Real.exp_pos _).le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterBound.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterBound.lean new file mode 100644 index 0000000000000000000000000000000000000000..67ed94cf1fed47e366fc1ea4bb1e682d65551869 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterBound.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePropagation + +namespace OAI + +/-! Uniform dependence of the short free system on its coefficient and initial data. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radialFreeField_parameter_norm (b c r : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hr : r ∈ Icc (3 : ℝ) (10/3)) (x y : ℂ × ℂ) : + ‖radialFreeField b r x-radialFreeField c r y‖ ≤ 7*‖x-y‖+|b-c| *‖y‖ := by + have he : radialFreeField b r x-radialFreeField c r y= + radialFreeField b r (x-y)+(0,-((b-c : ℝ) : ℂ)*y.1) := by + apply Prod.ext + · dsimp [radialFreeField]; ring + · dsimp [radialFreeField]; push_cast; ring + have hn : ‖((0 : ℂ),-((b-c : ℝ) : ℂ)*y.1)‖ ≤ |b-c| *‖y‖ := by + rw [Prod.norm_mk,norm_zero,norm_mul,norm_neg,Complex.norm_real,Real.norm_eq_abs, + max_eq_right (mul_nonneg (abs_nonneg _) (norm_nonneg _))] + exact mul_le_mul_of_nonneg_left (norm_fst_le y) (abs_nonneg _) + rw [he] + exact (norm_add_le _ _).trans (add_le_add (radialFreeField_norm b r hb hr (x-y)) hn) + +theorem radial_free_state_parameter_bound (b c l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) + (X Y : ℝ → ℂ × ℂ) (hX : Continuous X) (hY : Continuous Y) (x₀ y₀ : ℂ × ℂ) + (heX : ∀ r ∈ Icc l u, X r=x₀+∫ t in l..r, radialFreeField b t (X t)) + (heY : ∀ r ∈ Icc l u, Y r=y₀+∫ t in l..r, radialFreeField c t (Y t)) + (hYB : ∀ r ∈ Icc l u, ‖Y r‖ ≤ 2) : + ∀ r ∈ Icc l u, ‖X r-Y r‖ ≤ 2*‖x₀-y₀‖+|b-c| := by + obtain ⟨m,hm,hmax⟩ := isCompact_Icc.exists_isMaxOn (nonempty_Icc.mpr hlu) + (hX.sub hY).norm.continuousOn + let M := ‖X m-Y m‖ + have hM : 0 ≤ M := norm_nonneg _ + have hi (d : ℝ) (Z : ℝ → ℂ × ℂ) (hZ : Continuous Z) : + IntervalIntegrable (fun t => radialFreeField d t (Z t)) volume l m := + ContinuousOn.intervalIntegrable_of_Icc hm.1 + ((radialFreeField_continuousOn_curve d l u (by linarith) Z hZ).mono + (fun t ht => ⟨ht.1,ht.2.trans hm.2⟩)) + have he : X m-Y m=(x₀-y₀)+∫ t in l..m, + radialFreeField b t (X t)-radialFreeField c t (Y t) := by + rw [intervalIntegral.integral_sub (hi b X hX) (hi c Y hY),heX m hm,heY m hm] + abel + have hint : ‖∫ t in l..m, radialFreeField b t (X t)-radialFreeField c t (Y t)‖ ≤ + (7*M+2*|b-c|)*(m-l) := by + have hh := intervalIntegral.norm_integral_le_of_norm_le_const (a := l) (b := m) + (C := 7*M+2*|b-c|) + (f := fun t => radialFreeField b t (X t)-radialFreeField c t (Y t)) (fun t ht => by + have htI : t ∈ Icc l m := ⟨(uIoc_of_le hm.1 ▸ ht).1.le,(uIoc_of_le hm.1 ▸ ht).2⟩ + have htU : t ∈ Icc l u := ⟨htI.1,htI.2.trans hm.2⟩ + have hn := radialFreeField_parameter_norm b c t hb ⟨hl.trans htU.1,htU.2.trans hu⟩ (X t) (Y t) + have hD : ‖X t-Y t‖ ≤ M := hmax htU + have hYt := hYB t htU + nlinarith [mul_le_mul_of_nonneg_left hYt (abs_nonneg (b-c))]) + simpa only [abs_of_nonneg (sub_nonneg.mpr hm.1)] using hh + have hineq : M ≤ ‖x₀-y₀‖+(7*M+2*|b-c|)*(m-l) := calc + M = ‖(x₀-y₀)+∫ t in l..m, radialFreeField b t (X t)-radialFreeField c t (Y t)‖ := congrArg norm he + _ ≤ ‖x₀-y₀‖+‖∫ t in l..m, radialFreeField b t (X t)-radialFreeField c t (Y t)‖ := norm_add_le _ _ + _ ≤ _ := add_le_add le_rfl hint + have hlen : m-l ≤ (1/1000 : ℝ) := by linarith [hm.2] + have hp := mul_le_mul_of_nonneg_left hlen (show 0 ≤ 7*M+2*|b-c| by positivity) + have hbound : M ≤ 2*‖x₀-y₀‖+|b-c| := by nlinarith [norm_nonneg (x₀-y₀),abs_nonneg (b-c)] + intro r hr + exact (hmax hr).trans hbound + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..b1de5946a9674afc5f749322d626b07313591eeb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterContinuity.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowJet +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowParameterHolomorphy + +namespace OAI + +/-! Parameter continuity of the actual free outgoing jet at a fixed matching point. -/ + +open Filter +namespace DefocusingNLS + +theorem continuousAt_normalizedSlowSolution_parameter (q : ℂ) (n : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + ContinuousAt (fun z => normalizedSlowSolution z n x) q := by + exact ((hasDerivAt_id q).const_cpow (c := x) (Or.inl hx0)).continuousAt.mul + (differentiableAt_regularizedSlowSolution_parameter_closed q n x hq hx hx0).continuousAt + +theorem continuousAt_normalizedSlowFirst_parameter (q : ℂ) (n : ℕ) (x : ℂ) + (hq : -1 < q.re) (hx : 0 ≤ x.re) (hx0 : x ≠ 0) : + ContinuousAt (fun z => normalizedSlowFirst z n x) q := by + have hshift : -1 < (q+1).re := by simp only [Complex.add_re,Complex.one_re]; linarith + have hc : ContinuousAt (fun z : ℂ => normalizedSlowSolution (z+1) n x) q := + (continuousAt_normalizedSlowSolution_parameter (q+1) n x hshift hx hx0).comp + (f := fun z : ℂ => z+1) (x := q) + (continuousAt_id.add_const (1 : ℂ)) + have hf : ContinuousAt (fun z : ℂ => -z*((n : ℂ)-1-z)/x^2* + normalizedSlowSolution (z+1) n x) q := + (((continuousAt_id.neg.mul (continuousAt_const.sub continuousAt_id)).div_const _).mul hc) + apply hf.congr_of_eventuallyEq + have hopen : ∀ᶠ z in nhds q, -1 < z.re := + Complex.continuous_re.continuousAt.eventually (lt_mem_nhds hq) + filter_upwards [hopen] with z hz + exact normalizedSlowFirst_eq_shift z n x hz hx hx0 + +theorem continuousAt_radialFreeSlowJet_parameter (q m : ℂ) (hq : -1 < q.re) (t : ℝ) : + ContinuousAt (fun z : ℂ × ℂ => radialFreeSlowJet z.1 z.2 t) (q,m) := by + have hx : 0 ≤ (radialFreeSlowArgument t).re := by rw [radialFreeSlowArgument_re] + have hn := radialFreeSlowArgument_ne_zero t + have hv : ContinuousAt (fun z : ℂ × ℂ => + normalizedSlowSolution z.1 6 (radialFreeSlowArgument t)) (q,m) := + (continuousAt_normalizedSlowSolution_parameter q 6 _ hq hx hn).comp + (f := fun z : ℂ × ℂ => z.1) (x := (q,m)) continuousAt_fst + have hd : ContinuousAt (fun z : ℂ × ℂ => + normalizedSlowFirst z.1 6 (radialFreeSlowArgument t)) (q,m) := + (continuousAt_normalizedSlowFirst_parameter q 6 _ hq hx hn).comp + (f := fun z : ℂ × ℂ => z.1) (x := (q,m)) continuousAt_fst + exact (continuousAt_snd.mul hv).prodMk + (continuousAt_snd.mul (continuousAt_const.mul hd)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterStart.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterStart.lean new file mode 100644 index 0000000000000000000000000000000000000000..40fe19d4ab9b94719c2f9063bacf67f8935e206a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeParameterStart.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeParameterBound + +namespace OAI + +/-! Lipschitz dependence of the actual endpoint jet on the starting radius and coefficient. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_free_endpoint_difference_of_le (b c l₁ l₂ u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l₁) + (hu : u ≤ (10/3 : ℝ)) (h₁₂ : l₁ ≤ l₂) (h₂u : l₂ ≤ u) + (hwidth : u-l₁ ≤ (1/1000 : ℝ)) + (F₁ G₁ F₂ G₂ : ℝ → ℂ) + (hF₁ : Continuous F₁) (hG₁ : Continuous G₁) + (hF₂ : Continuous F₂) (hG₂ : Continuous G₂) + (heF₁ : ∀ r ∈ Icc l₁ u, F₁ r=1+∫ t in l₁..r, G₁ t) + (heG₁ : ∀ r ∈ Icc l₁ u, G₁ r=∫ t in l₁..r, + -radialFreeCoefficient t*G₁ t-(b : ℂ)*F₁ t) + (heF₂ : ∀ r ∈ Icc l₂ u, F₂ r=1+∫ t in l₂..r, G₂ t) + (heG₂ : ∀ r ∈ Icc l₂ u, G₂ r=∫ t in l₂..r, + -radialFreeCoefficient t*G₂ t-(c : ℂ)*F₂ t) + (hB₁ : ∀ r ∈ Icc l₁ u, ‖F₁ r‖ ≤ 2 ∧ ‖G₁ r‖ ≤ 2) + (hB₂ : ∀ r ∈ Icc l₂ u, ‖F₂ r‖ ≤ 2 ∧ ‖G₂ r‖ ≤ 2) : + ‖(F₁ u,G₁ u)-(F₂ u,G₂ u)‖ ≤ (l₂-l₁)+|b-c| := by + have h₁u := h₁₂.trans h₂u + have hl₂ := hl.trans h₁₂ + have hw₂ : u-l₂ ≤ (1/1000 : ℝ) := by linarith + have hstate₁ := radial_free_components_state b l₁ u (by linarith) F₁ G₁ hF₁ hG₁ 1 0 + heF₁ (by simpa only [zero_add] using heG₁) + have hstate₂ := radial_free_components_state c l₂ u (by linarith) F₂ G₂ hF₂ hG₂ 1 0 + heF₂ (by simpa only [zero_add] using heG₂) + have hre := radial_free_state_restart b l₁ u l₂ (by linarith) ⟨h₁₂,h₂u⟩ + (fun t => (F₁ t,G₁ t)) (hF₁.prodMk hG₁) (1,0) hstate₁ + have hd := radial_free_state_parameter_bound b c l₂ u hb hl₂ hu h₂u hw₂ + (fun t => (F₁ t,G₁ t)) (fun t => (F₂ t,G₂ t)) + (hF₁.prodMk hG₁) (hF₂.prodMk hG₂) (F₁ l₂,G₁ l₂) (1,0) hre hstate₂ + (fun r hr => by rw [Prod.norm_mk]; exact max_le (hB₂ r hr).1 (hB₂ r hr).2) + u ⟨h₂u,le_rfl⟩ + have hs := radial_free_short_bounds b l₁ u hb hl hu h₁u hwidth F₁ G₁ heF₁ heG₁ hB₁ l₂ ⟨h₁₂,h₂u⟩ + have hδ : 0 ≤ l₂-l₁ := sub_nonneg.mpr h₁₂ + have hδu : l₂-l₁ ≤ (1/1000 : ℝ) := by linarith + have hN : ‖(F₁ l₂,G₁ l₂)-(1,0)‖ ≤ (35/100 : ℝ)*(l₂-l₁) := by + change max ‖F₁ l₂-1‖ ‖G₁ l₂-0‖ ≤ _ + rw [sub_zero] + apply max_le _ hs.1 + have hsq := mul_le_mul_of_nonneg_left hδu hδ + nlinarith [hs.2] + linarith + +theorem radial_free_endpoint_difference (b c l₁ l₂ u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hc : c ∈ Icc (334/1000 : ℝ) (335/1000)) + (hl₁ : (3 : ℝ) ≤ l₁) (hl₂ : (3 : ℝ) ≤ l₂) (hu : u ≤ (10/3 : ℝ)) + (h₁u : l₁ ≤ u) (h₂u : l₂ ≤ u) + (hw₁ : u-l₁ ≤ (1/1000 : ℝ)) (hw₂ : u-l₂ ≤ (1/1000 : ℝ)) + (F₁ G₁ F₂ G₂ : ℝ → ℂ) + (hF₁ : Continuous F₁) (hG₁ : Continuous G₁) + (hF₂ : Continuous F₂) (hG₂ : Continuous G₂) + (heF₁ : ∀ r ∈ Icc l₁ u, F₁ r=1+∫ t in l₁..r, G₁ t) + (heG₁ : ∀ r ∈ Icc l₁ u, G₁ r=∫ t in l₁..r, + -radialFreeCoefficient t*G₁ t-(b : ℂ)*F₁ t) + (heF₂ : ∀ r ∈ Icc l₂ u, F₂ r=1+∫ t in l₂..r, G₂ t) + (heG₂ : ∀ r ∈ Icc l₂ u, G₂ r=∫ t in l₂..r, + -radialFreeCoefficient t*G₂ t-(c : ℂ)*F₂ t) + (hB₁ : ∀ r ∈ Icc l₁ u, ‖F₁ r‖ ≤ 2 ∧ ‖G₁ r‖ ≤ 2) + (hB₂ : ∀ r ∈ Icc l₂ u, ‖F₂ r‖ ≤ 2 ∧ ‖G₂ r‖ ≤ 2) : + ‖(F₁ u,G₁ u)-(F₂ u,G₂ u)‖ ≤ |l₁-l₂|+|b-c| := by + rcases le_total l₁ l₂ with hle | hle + · have hh := radial_free_endpoint_difference_of_le b c l₁ l₂ u hb hl₁ hu hle h₂u hw₁ + F₁ G₁ F₂ G₂ hF₁ hG₁ hF₂ hG₂ heF₁ heG₁ heF₂ heG₂ hB₁ hB₂ + simpa only [abs_sub_comm l₁ l₂,abs_of_nonneg (sub_nonneg.mpr hle)] using hh + · have hh := radial_free_endpoint_difference_of_le c b l₂ l₁ u hc hl₂ hu hle h₁u hw₂ + F₂ G₂ F₁ G₁ hF₂ hG₂ hF₁ hG₁ heF₂ heG₂ heF₁ heG₁ hB₂ hB₁ + simpa only [norm_sub_rev (F₂ u,G₂ u),abs_sub_comm c b, + abs_of_nonneg (sub_nonneg.mpr hle)] using hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..66622e4edce53d5bd1223db62168b068df630371 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalEquation.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeExteriorSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalJet + +namespace OAI + +/-! The actual free H profile solves the stationary radial equation in physical radius. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialShootingFreeJet (z : ProfileMatchingBall) : ℝ → ℂ × ℂ := + spectralPhysicalJet (-2*radialShootingQ z) (radialFreeSlowJet (radialShootingQ z) (radialShootingM z)) + +theorem radialShootingFreeJet_fst (z : ProfileMatchingBall) (r : ℝ) : + (radialShootingFreeJet z r).1=radialShootingFreeExterior z r := rfl + +theorem radialShootingFreeJet_hasDerivAt (z : ProfileMatchingBall) (r : ℝ) (hr : 0 < r) : + HasDerivAt (radialShootingFreeJet z) + ((radialShootingFreeJet z r).2, + -radialFreeCoefficient r*(radialShootingFreeJet z r).2- + (radialShootingB (profileMatchingParameter z) : ℂ)*(radialShootingFreeJet z r).1) r := by + let q := radialShootingQ z + let J := radialFreeSlowJet q (radialShootingM z) + have hq : -1 < q.re := by simp [q,radialShootingQ] + have hJ : HasDerivAt J ((J (Real.log r)).2, + -(2*(-2*q)+10)*(J (Real.log r)).2- + ((-2*q)*((-2*q)+10)-0)*(J (Real.log r)).1- + 1*Complex.I*(Real.exp (2*Real.log r)/2 : ℝ)*(J (Real.log r)).2+0) (Real.log r) := by + apply (radialFreeSlowJet_hasDerivAt q (radialShootingM z) hq (Real.log r)).congr_deriv + apply Prod.ext + · simp [J,radialExteriorErrorMatrix] + · simp only [Prod.snd_add,radialExteriorErrorMatrix,ContinuousLinearMap.prod_apply, + neg_apply,add_apply,smul_apply,ContinuousLinearMap.coe_fst', + ContinuousLinearMap.coe_snd',smul_eq_mul] + dsimp only [J] + ring + apply (spectralPhysicalJet_hasDerivAt 1 (-2*q) 0 J r hr 0 hJ).congr_deriv + apply Prod.ext + · rfl + · dsimp only [radialFreeCoefficient,radialShootingFreeJet,J,q,radialShootingQ] + push_cast + ring_nf + simp only [Complex.I_sq] + ring + +theorem radialShootingFreeExterior_hasDerivAt (z : ProfileMatchingBall) (r : ℝ) (hr : 0 < r) : + HasDerivAt (radialShootingFreeExterior z) (radialShootingFreeJet z r).2 r := + (radialShootingFreeJet_hasDerivAt z r hr).fst + +theorem radialShootingFreeExterior_hasDerivAt_deriv (z : ProfileMatchingBall) (r : ℝ) (hr : 0 < r) : + HasDerivAt (deriv (radialShootingFreeExterior z)) + (-radialFreeCoefficient r*deriv (radialShootingFreeExterior z) r- + (radialShootingB (profileMatchingParameter z) : ℂ)*radialShootingFreeExterior z r) r := by + have he : deriv (radialShootingFreeExterior z) =ᶠ[nhds r] fun x => (radialShootingFreeJet z x).2 := by + filter_upwards [Ioi_mem_nhds hr] with x hx + exact (radialShootingFreeExterior_hasDerivAt z x hx).deriv + have hd₀ : HasDerivAt (fun x => (radialShootingFreeJet z x).2) + (-radialFreeCoefficient r*(radialShootingFreeJet z r).2- + (radialShootingB (profileMatchingParameter z) : ℂ)*(radialShootingFreeJet z r).1) r := + (radialShootingFreeJet_hasDerivAt z r hr).snd + have hd := hd₀.congr_of_eventuallyEq he + simpa only [(radialShootingFreeExterior_hasDerivAt z r hr).deriv,radialShootingFreeJet_fst] using hd + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalLog.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalLog.lean new file mode 100644 index 0000000000000000000000000000000000000000..fa611622440212c558213465034e1c6e356b2d40 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalLog.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePhysicalEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowLogarithm +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeMatchingWronskian + +namespace OAI + +/-! Nonvanishing and the exact logarithmic derivative of the physical free profile. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialShootingFreeSlowValue_ne_zero (z : ProfileMatchingBall) (r : ℝ) + (hr : radialShootingR (profileMatchingParameter z) ≤ r) : + (radialFreeSlowJet (radialShootingQ z) (radialShootingM z) (Real.log r)).1 ≠ 0 := by + have hr0 : 0 < r := lt_of_lt_of_le (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr + have he : Real.exp (2*Real.log r)=r^2 := by rw [two_mul,Real.exp_add,Real.exp_log hr0]; ring + have harg : radialFreeSlowArgument (Real.log r)=freeRadialArgument r := by + simp only [radialFreeSlowArgument,freeRadialArgument,he] + have hx : freeRadialArgument r ≠ 0 := Complex.slitPlane_ne_zero (freeRadialArgument_mem_slit hr0) + change radialShootingM z*(radialFreeSlowArgument (Real.log r)^radialShootingQ z* + regularizedSlowSolution (radialShootingQ z) 6 (radialFreeSlowArgument (Real.log r))) ≠ 0 + rw [harg] + exact mul_ne_zero (radialShootingM_ne_zero z) + (mul_ne_zero (Complex.cpow_ne_zero_iff.mpr (Or.inl hx)) + (radialShootingRaw_ne_zero (profileMatchingParameter z) r hr)) + +theorem radialShootingFreeExterior_ne_zero (z : ProfileMatchingBall) (r : ℝ) + (hr : radialShootingR (profileMatchingParameter z) ≤ r) : + radialShootingFreeExterior z r ≠ 0 := + mul_ne_zero (Complex.exp_ne_zero _) (radialShootingFreeSlowValue_ne_zero z r hr) + +theorem radialShootingFreeExterior_log (z : ProfileMatchingBall) (r : ℝ) + (hr : radialShootingR (profileMatchingParameter z) ≤ r) : + deriv (radialShootingFreeExterior z) r/radialShootingFreeExterior z r= + radialFreeLog (radialShootingB (profileMatchingParameter z)) r := by + have hr0 : 0 < r := lt_of_lt_of_le (by linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1]) hr + have hj := radialFreeSlow_physical_log (radialShootingB (profileMatchingParameter z)) r hr0 + (radialShootingM z) (radialShootingFreeSlowValue_ne_zero z r hr) + rw [(radialShootingFreeExterior_hasDerivAt z r hr0).deriv] + unfold radialShootingFreeJet spectralPhysicalJet radialShootingFreeExterior + have hn := radialShootingFreeSlowValue_ne_zero z r hr + have hexp := Complex.exp_ne_zero ((-2*radialShootingQ z)*(Real.log r : ℂ)) + have hrC : (r : ℂ) ≠ 0 := by exact_mod_cast hr0.ne' + rw [← hj] + change (Complex.exp _/(r : ℂ)*((-2*radialShootingQ z)*_+_))/(Complex.exp _*_)=_ + unfold radialShootingQ + field_simp + +theorem radialShooting_radius_square (w : RadialShootingDisk) : + (radialShootingR w)^2/4=radialShootingZ w := by + have hZ : 0 ≤ radialShootingZ w := by + have hh := (ProfileCertificate.disk_coordinates w).2 + dsimp [radialShootingZ] + norm_num [ProfileCertificate.centerZ,ProfileCertificate.radius] at hh ⊢ + linarith [(abs_le.mp hh).1] + exact freeProfileRadius_sq hZ + +theorem radialShootingFreeExterior_neumann (z : ProfileMatchingBall) + (hz : diskProfile (profileMatchingParameter z)=0) : + deriv (radialShootingFreeExterior z) (radialShootingR (profileMatchingParameter z))=0 := by + let L := radialShootingR (profileMatchingParameter z) + have hL : 0 < L := by dsimp only [L]; linarith [(radialShooting_geometry (profileMatchingParameter z)).2.1] + have h := radialShootingFreeExterior_log z L le_rfl + rw [radialFreeLog_eq_j _ _ hL,radialShooting_radius_square] at h + change freeProfileJ (radialShootingB (profileMatchingParameter z)) + (radialShootingZ (profileMatchingParameter z))=0 at hz + rw [hz,mul_zero] at h + exact (div_eq_iff (radialShootingFreeExterior_ne_zero z L le_rfl)).mp h |>.trans (zero_mul _) + +theorem radialShootingFreeExterior_boundary (z : ProfileMatchingBall) (hz : z.val.1=0) : + radialShootingFreeExterior z innerBoundaryRadius= + (radialFreeInnerJet (profileMatchingParameter z) innerBoundaryRadius).1 := by + have he : -2*radialShootingQ z=2*Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ) := by + unfold radialShootingQ + ring + unfold radialShootingFreeExterior + rw [he] + change Complex.exp _*radialFreeSlowValue _ _ _=_ + rw [radialShooting_free_value] + simp only [radialShootingValue,hz,zero_div,add_zero] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalNormalization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalNormalization.lean new file mode 100644 index 0000000000000000000000000000000000000000..be946430df7e7e26a073595d1eb921af43d7844c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePhysicalNormalization.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeAnnulus +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorOutgoingContinuation + +namespace OAI + +/-! Boundary normalization for the physical profile, including its radial phase. -/ + +open Set Filter +namespace DefocusingNLS + +noncomputable def radialFreePhysicalBoundaryCoefficient (b h : ℝ) : ℂ := + Complex.exp (-(2*Complex.I*(b : ℂ)*(Real.log innerBoundaryRadius : ℂ)))* + radialFreeBoundaryCoefficient b h + +theorem radialFreeSlowValue_mul (q c m : ℂ) (t : ℝ) : + radialFreeSlowValue q (c*m) t=c*radialFreeSlowValue q m t := by + unfold radialFreeSlowValue + ring + +theorem radialFreePhysicalBoundaryCoefficient_spec + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) + (h : ℝ) (hh : 0 < h) : + let b := (ProfileCertificate.centerB : ℝ)+w.val.re + let m := radialFreePhysicalBoundaryCoefficient b h + m ≠ 0 ∧ + Complex.exp (2*Complex.I*(b : ℂ)*(Real.log innerBoundaryRadius : ℂ))* + radialFreeSlowValue (-Complex.I*(b : ℂ)) m (Real.log innerBoundaryRadius)=(h : ℂ) ∧ + ‖radialFreeSlowValue (-Complex.I*(b : ℂ)) m (Real.log innerBoundaryRadius)‖=h := by + intro b m + obtain ⟨hne,hvalue⟩ := radialFreeBoundaryCoefficient_spec w h hh + have hexp : Complex.exp (2*Complex.I*(b : ℂ)*(Real.log innerBoundaryRadius : ℂ))* + Complex.exp (-(2*Complex.I*(b : ℂ)*(Real.log innerBoundaryRadius : ℂ)))=1 := by + rw [← Complex.exp_add,add_neg_cancel,Complex.exp_zero] + have hnorm : ‖Complex.exp (-(2*Complex.I*(b : ℂ)*(Real.log innerBoundaryRadius : ℂ)))‖=1 := by + simp [Complex.norm_exp,Complex.mul_re,Complex.mul_im] + refine ⟨mul_ne_zero (Complex.exp_ne_zero _) hne,?_,?_⟩ + · change Complex.exp _*radialFreeSlowValue _ (Complex.exp _*radialFreeBoundaryCoefficient b h) _=_ + rw [radialFreeSlowValue_mul,← mul_assoc,hexp,one_mul] + exact hvalue + · change ‖radialFreeSlowValue _ (Complex.exp _*radialFreeBoundaryCoefficient b h) _‖=h + rw [radialFreeSlowValue_mul,norm_mul,hnorm,hvalue,one_mul,Complex.norm_real, + Real.norm_eq_abs,abs_of_pos hh] + +theorem exists_radialExterior_physical_boundary_limit + (w : Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ)) + (h : ℝ) (hh : 0 < h) (hh1 : h < 1) (ν m : ℕ → ℂ) + (hν : Tendsto ν atTop + (nhds (2*Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ)))) + (hm : Tendsto m atTop + (nhds (radialFreePhysicalBoundaryCoefficient ((ProfileCertificate.centerB : ℝ)+w.val.re) h))) : + let q := -Complex.I*(((ProfileCertificate.centerB : ℝ)+w.val.re : ℝ) : ℂ) + let m₀ := radialFreePhysicalBoundaryCoefficient ((ProfileCertificate.centerB : ℝ)+w.val.re) h + ∃ Z : ℕ → ℝ → ℂ × ℂ, + TendstoUniformlyOn Z (radialFreeSlowJet q m₀) atTop + (Ici (Real.log innerBoundaryRadius)) ∧ + (∀ n, Continuous (Z n)) ∧ + (∀ᶠ n in atTop, HasRadialOutgoingExpansion (ν n) n (m n) (Z n)) ∧ + ∀ᶠ n in atTop, ∀ t, Real.log innerBoundaryRadius ≤ t → (Z n t).1 ≠ 0 ∧ + HasDerivAt (Z n) (radialExteriorODEField (ν n) n t (Z n t)) t := by + intro q m₀ + obtain ⟨hne,_,hvalue⟩ := radialFreePhysicalBoundaryCoefficient_spec w h hh + obtain ⟨δ,ρ,hd,hdm,hm1,hρ,hupper,hlower⟩ := radialFreeSlow_annulus w m₀ hne (by + rw [hvalue] + exact hh1) + apply exists_radialExterior_outgoing_extended ν m q m₀ (by simp [q]) _ hm δ ρ + (Real.log innerBoundaryRadius) hd hdm hm1 hρ hupper hlower + convert hν using 1 + dsimp [q] + congr 1 + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePochhammer.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePochhammer.lean new file mode 100644 index 0000000000000000000000000000000000000000..523255f4cb65d753a47bff9c71ac7e5c0b1e3ffe --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePochhammer.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorCoefficient +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowAsymptoticCoefficients +import OAI.MathematicalPhysics.DefocusingNLS.Profile.SlowAllOrdersAsymptotic + +namespace OAI + +/-! Identify the free exterior coefficients with the actual outgoing H expansion. -/ + +open Polynomial +namespace DefocusingNLS + +theorem slowAsymptoticJet_succ_right (q : ℂ) (M k : ℕ) : + slowAsymptoticJet q M (k+1)= + (q+k)*((M : ℂ)-1-q-k)*slowAsymptoticJet q M k := by + rw [slowAsymptoticJet_eq_pochhammer,ascPochhammer_succ_right,descPochhammer_succ_right, + slowAsymptoticJet_eq_pochhammer] + simp only [eval_mul,eval_add,eval_sub,eval_X,eval_natCast] + ring + +noncomputable def radialFreePochhammerCoefficient (ν m : ℂ) (k : ℕ) : ℂ := + m*(4*Complex.I)^k*slowAsymptoticJet (-ν/2) 6 k/(k.factorial : ℂ) + +theorem radialFreePochhammerCoefficient_zero (ν m : ℂ) : + radialFreePochhammerCoefficient ν m 0=m := by + simp [radialFreePochhammerCoefficient,slowAsymptoticJet] + +theorem radialFreePochhammerCoefficient_succ (ν m : ℂ) (k : ℕ) : + radialFreePochhammerCoefficient ν m (k+1)= + (ν-2*(k : ℂ))*(ν+10-2*(k : ℂ))*radialFreePochhammerCoefficient ν m k/ + (Complex.I*(k+1 : ℕ)) := by + have hk : (k+1 : ℂ) ≠ 0 := by exact_mod_cast Nat.succ_ne_zero k + have hf : (k.factorial : ℂ) ≠ 0 := by exact_mod_cast Nat.factorial_ne_zero k + simp only [radialFreePochhammerCoefficient,slowAsymptoticJet_succ_right,pow_succ,Nat.factorial_succ, + Nat.cast_mul,Nat.cast_add,Nat.cast_one,Nat.cast_ofNat] + field_simp + ring_nf + simp only [Complex.I_sq] + ring + +theorem radialFreeExpansion_topCoefficient (ν m : ℂ) (j : ℕ) : + (radialFreeExpansion ν m j).coeff j=radialFreePochhammerCoefficient ν m j := by + induction j with + | zero => simp [radialFreeExpansion,radialFreePochhammerCoefficient_zero] + | succ j ih => + have hz : (radialFreeExpansion ν m j).coeff (j+1)=0 := + coeff_eq_zero_of_natDegree_lt ((radialFreeExpansion_degree ν m j).trans_lt (Nat.lt_succ_self _)) + simp only [radialFreeExpansion,coeff_add,coeff_monomial,ite_true,hz,zero_add,ih] + exact (radialFreePochhammerCoefficient_succ ν m j).symm + +theorem radialFreeExpansion_coefficient (ν m : ℂ) (j k : ℕ) (hk : k ≤ j) : + (radialFreeExpansion ν m j).coeff k=radialFreePochhammerCoefficient ν m k := by + induction j with + | zero => + have h := Nat.eq_zero_of_le_zero hk + subst k + exact radialFreeExpansion_topCoefficient ν m 0 + | succ j ih => + by_cases he : k=j+1 + · subst k + exact radialFreeExpansion_topCoefficient ν m (j+1) + · have hkj : k ≤ j := by omega + have hne : j+1 ≠ k := Ne.symm he + simp only [radialFreeExpansion,coeff_add,coeff_monomial,hne,ite_false,add_zero] + exact ih hkj + +theorem radialFreeExpansion_eval_slowAsymptotic (ν m x z : ℂ) (j : ℕ) + (hxz : (4*Complex.I*z)*x=1) : + (radialFreeExpansion ν m j).eval z=m*slowAsymptoticPolynomial (-ν/2) 6 j x := by + have hx : x ≠ 0 := by intro h; simp [h] at hxz + have hi : x⁻¹=4*Complex.I*z := by + have h := (div_eq_iff hx).mpr hxz.symm + simpa only [one_div] using h + rw [eval_eq_sum_range' (Nat.lt_succ_of_le (radialFreeExpansion_degree ν m j)) z, + slowAsymptoticPolynomial,Finset.mul_sum] + apply Finset.sum_congr rfl + intro k hk + rw [radialFreeExpansion_coefficient ν m j k (by have := Finset.mem_range.mp hk; omega)] + simp only [radialFreePochhammerCoefficient,Complex.real_smul,Complex.ofReal_inv, + Complex.ofReal_natCast,div_eq_mul_inv,← inv_pow,hi,mul_pow] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePropagation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePropagation.lean new file mode 100644 index 0000000000000000000000000000000000000000..b6314959629a80700e617e17ca5a285e03065c98 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreePropagation.lean @@ -0,0 +1,119 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeShortBounds + +namespace OAI + +/-! Short-interval propagation and restart for arbitrary data in the free radial system. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_free_state_bound (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) + (X : ℝ → ℂ × ℂ) (hX : Continuous X) (x₀ : ℂ × ℂ) + (he : ∀ r ∈ Icc l u, X r=x₀+∫ t in l..r, radialFreeField b t (X t)) : + ∀ r ∈ Icc l u, ‖X r‖ ≤ 2*‖x₀‖ := by + obtain ⟨m,hm,hmax⟩ := isCompact_Icc.exists_isMaxOn (nonempty_Icc.mpr hlu) hX.norm.continuousOn + let M := ‖X m‖ + have hM : 0 ≤ M := norm_nonneg _ + have hi : ‖∫ t in l..m, radialFreeField b t (X t)‖ ≤ 7*M*(m-l) := by + have hh := intervalIntegral.norm_integral_le_of_norm_le_const (fun t ht => by + have htI : t ∈ Icc l m := ⟨(uIoc_of_le hm.1 ▸ ht).1.le,(uIoc_of_le hm.1 ▸ ht).2⟩ + have htU : t ∈ Icc l u := ⟨htI.1,htI.2.trans hm.2⟩ + exact (radialFreeField_norm b t hb ⟨hl.trans htU.1,htU.2.trans hu⟩ (X t)).trans + (mul_le_mul_of_nonneg_left (hmax htU) (by norm_num))) + simpa only [abs_of_nonneg (sub_nonneg.mpr hm.1),M] using hh + have hineq : M ≤ ‖x₀‖+7*M*(m-l) := calc + M = ‖x₀+∫ t in l..m, radialFreeField b t (X t)‖ := congrArg norm (he m hm) + _ ≤ ‖x₀‖+‖∫ t in l..m, radialFreeField b t (X t)‖ := norm_add_le _ _ + _ ≤ _ := add_le_add le_rfl hi + have hlen : m-l ≤ (1/1000 : ℝ) := by linarith [hm.2] + have hprod := mul_le_mul_of_nonneg_left hlen (show 0 ≤ 7*M by positivity) + have hbound : M ≤ 2*‖x₀‖ := by nlinarith [norm_nonneg x₀] + intro r hr + exact (hmax hr).trans hbound + +theorem radial_free_state_restart (b l u m : ℝ) (hl : 0 < l) (hm : m ∈ Icc l u) + (X : ℝ → ℂ × ℂ) (hX : Continuous X) (x₀ : ℂ × ℂ) + (he : ∀ r ∈ Icc l u, X r=x₀+∫ t in l..r, radialFreeField b t (X t)) : + ∀ r ∈ Icc m u, X r=X m+∫ t in m..r, radialFreeField b t (X t) := by + have hi (a c : ℝ) (ha : a ∈ Icc l u) (hc : c ∈ Icc l u) (hac : a ≤ c) : + IntervalIntegrable (fun t => radialFreeField b t (X t)) volume a c := + ContinuousOn.intervalIntegrable_of_Icc hac + ((radialFreeField_continuousOn_curve b l u hl X hX).mono + (fun t ht => ⟨ha.1.trans ht.1,ht.2.trans hc.2⟩)) + intro r hr + have hrl : r ∈ Icc l u := ⟨hm.1.trans hr.1,hr.2⟩ + rw [he r hrl,he m hm,add_assoc, + intervalIntegral.integral_add_adjacent_intervals (hi l m ⟨le_rfl,hm.1.trans hm.2⟩ hm hm.1) + (hi m r hm hrl hr.1)] + +theorem radial_free_components_state (b l u : ℝ) (hl : 0 < l) + (F G : ℝ → ℂ) (hF : Continuous F) (hG : Continuous G) (f₀ g₀ : ℂ) + (heF : ∀ r ∈ Icc l u, F r=f₀+∫ t in l..r, G t) + (heG : ∀ r ∈ Icc l u, G r=g₀+∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) : + ∀ r ∈ Icc l u, (F r,G r)=(f₀,g₀)+∫ t in l..r, + radialFreeField b t (F t,G t) := by + intro r hr + have hi : IntervalIntegrable (fun t => radialFreeField b t (F t,G t)) volume l r := + ContinuousOn.intervalIntegrable_of_Icc hr.1 + ((radialFreeField_continuousOn_curve b l u hl (fun t => (F t,G t)) + (hF.prodMk hG)).mono (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + apply Prod.ext + · have hp := (ContinuousLinearMap.fst ℂ ℂ ℂ).intervalIntegral_comp_comm hi + change (∫ t in l..r, G t)=(∫ t in l..r, radialFreeField b t (F t,G t)).1 at hp + change F r=f₀+(∫ t in l..r, radialFreeField b t (F t,G t)).1 + rw [← hp] + exact heF r hr + · have hp := (ContinuousLinearMap.snd ℂ ℂ ℂ).intervalIntegral_comp_comm hi + change (∫ t in l..r, -radialFreeCoefficient t*G t-(b : ℂ)*F t)= + (∫ t in l..r, radialFreeField b t (F t,G t)).2 at hp + change G r=g₀+(∫ t in l..r, radialFreeField b t (F t,G t)).2 + rw [← hp] + exact heG r hr + +theorem radial_free_state_components (b l u : ℝ) (hl : 0 < l) + (X : ℝ → ℂ × ℂ) (hX : Continuous X) (x₀ : ℂ × ℂ) + (he : ∀ r ∈ Icc l u, X r=x₀+∫ t in l..r, radialFreeField b t (X t)) : + (∀ r ∈ Icc l u, (X r).1=x₀.1+∫ t in l..r, (X t).2) ∧ + (∀ r ∈ Icc l u, (X r).2=x₀.2+∫ t in l..r, + -radialFreeCoefficient t*(X t).2-(b : ℂ)*(X t).1) := by + have hi (r : ℝ) (hr : r ∈ Icc l u) : + IntervalIntegrable (fun t => radialFreeField b t (X t)) volume l r := + ContinuousOn.intervalIntegrable_of_Icc hr.1 + ((radialFreeField_continuousOn_curve b l u hl X hX).mono + (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + constructor + · intro r hr + have hp := (ContinuousLinearMap.fst ℂ ℂ ℂ).intervalIntegral_comp_comm (hi r hr) + have hx := congrArg Prod.fst (he r hr) + change (∫ t in l..r, (X t).2)=(∫ t in l..r, radialFreeField b t (X t)).1 at hp + change (X r).1=x₀.1+(∫ t in l..r, radialFreeField b t (X t)).1 at hx + rwa [← hp] at hx + · intro r hr + have hp := (ContinuousLinearMap.snd ℂ ℂ ℂ).intervalIntegral_comp_comm (hi r hr) + have hx := congrArg Prod.snd (he r hr) + change (∫ t in l..r, -radialFreeCoefficient t*(X t).2-(b : ℂ)*(X t).1)= + (∫ t in l..r, radialFreeField b t (X t)).2 at hp + change (X r).2=x₀.2+(∫ t in l..r, radialFreeField b t (X t)).2 at hx + rwa [← hp] at hx + +theorem radial_free_state_sub (b l u : ℝ) (hl : 0 < l) + (X Y : ℝ → ℂ × ℂ) (hX : Continuous X) (hY : Continuous Y) (x₀ y₀ : ℂ × ℂ) + (heX : ∀ r ∈ Icc l u, X r=x₀+∫ t in l..r, radialFreeField b t (X t)) + (heY : ∀ r ∈ Icc l u, Y r=y₀+∫ t in l..r, radialFreeField b t (Y t)) : + ∀ r ∈ Icc l u, X r-Y r=(x₀-y₀)+∫ t in l..r, radialFreeField b t (X t-Y t) := by + have hi (Z : ℝ → ℂ × ℂ) (hZ : Continuous Z) (r : ℝ) (hr : r ∈ Icc l u) : + IntervalIntegrable (fun t => radialFreeField b t (Z t)) volume l r := + ContinuousOn.intervalIntegrable_of_Icc hr.1 + ((radialFreeField_continuousOn_curve b l u hl Z hZ).mono + (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + intro r hr + simp_rw [radialFreeField_sub] + rw [intervalIntegral.integral_sub (hi X hX r hr) (hi Y hY r hr),heX r hr,heY r hr] + abel + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeRiccati.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeRiccati.lean new file mode 100644 index 0000000000000000000000000000000000000000..b7a23654e2afd67bd38ec3d2aa45576f7c4e5f5b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeRiccati.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.FreeRadialEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeInitialField +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.HighAngularFluxDerivative + +namespace OAI + +/-! The logarithmic derivative of the actual free exterior and its real Riccati system. -/ + +namespace DefocusingNLS + +noncomputable def radialFreeRaw (b r : ℝ) : ℂ := + regularizedSlowSolution (-Complex.I*(b : ℂ)) 6 (freeRadialArgument r) + +noncomputable def radialFreeLog (b r : ℝ) : ℂ := + deriv (radialFreeRaw b) r / radialFreeRaw b r + +theorem radialFreeRaw_hasDerivAt (b r : ℝ) (hr : 0 < r) : + HasDerivAt (radialFreeRaw b) + (freeRadialTangent r * deriv (regularizedSlowSolution (-Complex.I*(b : ℂ)) 6) + (freeRadialArgument r)) r := by + exact (analyticOnNhd_regularizedSlowSolution_slit (-Complex.I*(b : ℂ)) 6 + (by simp) _ (freeRadialArgument_mem_slit hr)).differentiableAt.hasDerivAt.scomp r + (hasDerivAt_freeRadialArgument r) + +theorem radialFreeRaw_hasDerivAt_deriv (b r : ℝ) (hr : 0 < r) : + HasDerivAt (deriv (radialFreeRaw b)) + (-radialFreeCoefficient r*deriv (radialFreeRaw b) r-(b : ℂ)*radialFreeRaw b r) r := by + have h := analytic_path_hasDerivAt_deriv + (regularizedSlowSolution (-Complex.I*(b : ℂ)) 6) + freeRadialArgument freeRadialTangent r + (analyticOnNhd_regularizedSlowSolution_slit (-Complex.I*(b : ℂ)) 6 + (by simp) _ (freeRadialArgument_mem_slit hr)) + hasDerivAt_freeRadialArgument (-Complex.I/2) (hasDerivAt_freeRadialTangent r) + have he := freeRadial_raw_equation b r hr + change deriv (deriv (radialFreeRaw b)) r + + ((11 : ℂ)/(r : ℂ)+Complex.I*(r : ℂ)/2)*deriv (radialFreeRaw b) r+ + (b : ℂ)*radialFreeRaw b r=0 at he + have hc : (11 : ℂ)/(r : ℂ)+Complex.I*(r : ℂ)/2=radialFreeCoefficient r := by + simp only [radialFreeCoefficient] + push_cast + ring + rw [hc] at he + have hd := h.deriv + change HasDerivAt (deriv (radialFreeRaw b)) _ r at h + change deriv (deriv (radialFreeRaw b)) r = _ at hd + rw [← hd] at h + convert h using 1 + linear_combination -he + +theorem radial_free_log_riccati (b r : ℝ) (hr : 0 < r) + (hF : radialFreeRaw b r ≠ 0) : + HasDerivAt (radialFreeLog b) + (-(radialFreeLog b r)^2-radialFreeCoefficient r*radialFreeLog b r-(b : ℂ)) r := by + have h := (radialFreeRaw_hasDerivAt_deriv b r hr).div + (radialFreeRaw_hasDerivAt b r hr) hF + rw [← (radialFreeRaw_hasDerivAt b r hr).deriv] at h + apply h.congr_deriv + dsimp [radialFreeLog] + field_simp [hF] + ring + +theorem radialFreeLog_eq_j (b r : ℝ) (hr : 0 < r) : + radialFreeLog b r = Complex.I*((r/2 : ℝ) : ℂ)* + ProfileCertificate.freeProfileJ b (r^2/4) := by + rw [ProfileCertificate.freeProfileJ_eq_log_derivative b (r^2/4) + (div_pos (sq_pos_of_pos hr) (by norm_num))] + dsimp [radialFreeLog] + rw [(radialFreeRaw_hasDerivAt b r hr).deriv] + dsimp [radialFreeRaw,freeRadialTangent,freeRadialArgument] + ring + +theorem radial_riccati_components (P : ℝ → ℂ) (b r : ℝ) (hr : r ≠ 0) + (hP : HasDerivAt P (-(P r)^2-radialFreeCoefficient r*P r-(b : ℂ)) r) : + HasDerivAt (fun t => (P t).re) + (-(P r).re^2-11/r*(P r).re+((P r).im+r/4)^2-r^2/16-b) r ∧ + HasDerivAt (fun t => (P t).im+t/4) + (-(2*(P r).re+11/r)*((P r).im+r/4)+3) r := by + constructor + · apply (Complex.reCLM.hasFDerivAt.comp_hasDerivAt r hP).congr_deriv + dsimp only [Complex.reCLM_apply,radialFreeCoefficient] + simp only [Complex.sub_re,Complex.neg_re,pow_two,Complex.mul_re, + Complex.add_re,Complex.add_im,Complex.mul_im,Complex.I_re,Complex.I_im, + Complex.ofReal_re,Complex.ofReal_im,zero_mul,mul_zero,one_mul,zero_add, + add_zero,sub_zero] + ring + · apply ((Complex.imCLM.hasFDerivAt.comp_hasDerivAt r hP).add + ((hasDerivAt_id r).div_const 4)).congr_deriv + dsimp only [Complex.imCLM_apply,radialFreeCoefficient] + simp only [Complex.sub_im,Complex.neg_im,pow_two,Complex.mul_re, + Complex.add_re,Complex.add_im,Complex.mul_im,Complex.I_re,Complex.I_im, + Complex.ofReal_re,Complex.ofReal_im,zero_mul,mul_zero,one_mul,zero_add, + add_zero,sub_zero] + field_simp [hr] + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeShootingData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeShootingData.lean new file mode 100644 index 0000000000000000000000000000000000000000..8a82c4cebe5e408bb10db1f3c241f4c058afa4b0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeShootingData.lean @@ -0,0 +1,103 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialBoundaryProfile +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialBoundaryContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileQuotientContinuity + +namespace OAI + +/-! A continuous boundary jet of the actual free inner IVP on the certified disk. -/ + +open Set Filter +namespace DefocusingNLS + +abbrev RadialShootingDisk := Metric.closedBall (0 : ℂ) (ProfileCertificate.radius : ℝ) + +noncomputable def radialShootingB (w : RadialShootingDisk) : ℝ := + (ProfileCertificate.centerB : ℝ)+w.val.re + +noncomputable def radialShootingZ (w : RadialShootingDisk) : ℝ := + (ProfileCertificate.centerZ : ℝ)+w.val.im + +noncomputable def radialShootingR (w : RadialShootingDisk) : ℝ := + 2*Real.sqrt (radialShootingZ w) + +theorem radialShooting_geometry (w : RadialShootingDisk) : + radialShootingB w ∈ Icc (334/1000 : ℝ) (335/1000) ∧ + (3 : ℝ) ≤ radialShootingR w ∧ innerBoundaryRadius ≤ (10/3 : ℝ) ∧ + radialShootingR w ≤ innerBoundaryRadius ∧ + innerBoundaryRadius-radialShootingR w ≤ (1/1000 : ℝ) ∧ + innerBoundaryRadius-radialShootingR w ∈ + Icc (1/10000-1/100000000 : ℝ) (1/10000+1/100000000) := by + have hb := (ProfileCertificate.disk_coordinates w).1 + have hz := (ProfileCertificate.disk_coordinates w).2 + have hZ : |radialShootingZ w-(ProfileCertificate.centerZ : ℝ)| ≤ (1/100000000 : ℝ) := by + simpa [radialShootingZ,ProfileCertificate.radius] using hz + obtain ⟨hR,hu,hwidth⟩ := radial_boundary_shell_geometry (radialShootingZ w) hZ + have hb' := abs_le.mp hb + refine ⟨?_,hR,hu,?_,?_,hwidth⟩ + · dsimp [radialShootingB] + norm_num [ProfileCertificate.centerB,ProfileCertificate.radius] at hb' ⊢ + constructor <;> linarith [hb'.1,hb'.2] + · change 2*Real.sqrt (radialShootingZ w) ≤ innerBoundaryRadius + linarith [hwidth.1] + · change innerBoundaryRadius-2*Real.sqrt (radialShootingZ w) ≤ _ + linarith [hwidth.2] + +theorem exists_radialFreeInnerJet (w : RadialShootingDisk) : + ∃ J : ℝ → ℂ × ℂ, Continuous J ∧ + (∀ r ∈ Icc (radialShootingR w) innerBoundaryRadius, + (J r).1=1+∫ t in (radialShootingR w)..r, (J t).2) ∧ + (∀ r ∈ Icc (radialShootingR w) innerBoundaryRadius, + (J r).2=∫ t in (radialShootingR w)..r, + -radialFreeCoefficient t*(J t).2-(radialShootingB w : ℂ)*(J t).1) ∧ + (∀ r, ‖(J r).1‖ ≤ 2 ∧ ‖(J r).2‖ ≤ 2) ∧ + 1-(1/5 : ℝ)*(1/10000)^2 < ‖(J innerBoundaryRadius).1‖ ∧ + ‖(J innerBoundaryRadius).1‖ < 1-(3/20 : ℝ)*(1/10000)^2 := by + obtain ⟨hb,hl,hu,hlu,hw,hshell⟩ := radialShooting_geometry w + obtain ⟨F,G,hF,hG,hFI,hGI,hB⟩ := exists_radial_free_components + (radialShootingB w) (radialShootingR w) innerBoundaryRadius hb hl hu hlu hw + have he := (radial_free_taylor (radialShootingB w) (radialShootingR w) innerBoundaryRadius + hb hl hu hlu hw F G hF hG hFI hGI (fun r _ => hB r) + innerBoundaryRadius ⟨hlu,le_rfl⟩).2 + exact ⟨fun r => (F r,G r),hF.prodMk hG,hFI,hGI,hB, + radial_free_boundary_gap _ _ _ hb hshell he⟩ + +noncomputable def radialFreeInnerJet (w : RadialShootingDisk) : ℝ → ℂ × ℂ := + Classical.choose (exists_radialFreeInnerJet w) + +theorem radialFreeInnerJet_spec (w : RadialShootingDisk) : + Continuous (radialFreeInnerJet w) ∧ + (∀ r ∈ Icc (radialShootingR w) innerBoundaryRadius, + (radialFreeInnerJet w r).1=1+∫ t in (radialShootingR w)..r, (radialFreeInnerJet w t).2) ∧ + (∀ r ∈ Icc (radialShootingR w) innerBoundaryRadius, + (radialFreeInnerJet w r).2=∫ t in (radialShootingR w)..r, + -radialFreeCoefficient t*(radialFreeInnerJet w t).2- + (radialShootingB w : ℂ)*(radialFreeInnerJet w t).1) ∧ + (∀ r, ‖(radialFreeInnerJet w r).1‖ ≤ 2 ∧ ‖(radialFreeInnerJet w r).2‖ ≤ 2) ∧ + 1-(1/5 : ℝ)*(1/10000)^2 < ‖(radialFreeInnerJet w innerBoundaryRadius).1‖ ∧ + ‖(radialFreeInnerJet w innerBoundaryRadius).1‖ < 1-(3/20 : ℝ)*(1/10000)^2 := + Classical.choose_spec (exists_radialFreeInnerJet w) + +theorem continuous_radialFreeInner_boundary : + Continuous (fun w => radialFreeInnerJet w innerBoundaryRadius) := by + apply SeqContinuous.continuous + intro w w₀ hw + have hb : Continuous radialShootingB := by unfold radialShootingB; fun_prop + have hR : Continuous radialShootingR := by unfold radialShootingR radialShootingZ; fun_prop + have hg := radialShooting_geometry w₀ + have hgn := fun i => radialShooting_geometry (w i) + have hs := radialFreeInnerJet_spec w₀ + have hsn := fun i => radialFreeInnerJet_spec (w i) + exact (radial_free_boundary_tendsto innerBoundaryRadius (radialShootingB w₀) (radialShootingR w₀) + (fun i => radialShootingB (w i)) (fun i => radialShootingR (w i)) + hg.1 (fun i => (hgn i).1) hg.2.1 (fun i => (hgn i).2.1) hg.2.2.1 + hg.2.2.2.1 (fun i => (hgn i).2.2.2.1) hg.2.2.2.2.1 (fun i => (hgn i).2.2.2.2.1) + (hb.continuousAt.tendsto.comp hw) (hR.continuousAt.tendsto.comp hw) + (fun r => (radialFreeInnerJet w₀ r).1) (fun r => (radialFreeInnerJet w₀ r).2) + (fun i r => (radialFreeInnerJet (w i) r).1) (fun i r => (radialFreeInnerJet (w i) r).2) + hs.1.fst hs.1.snd (fun i => (hsn i).1.fst) (fun i => (hsn i).1.snd) + hs.2.1 hs.2.2.1 (fun i => (hsn i).2.1) (fun i => (hsn i).2.2.1) + (fun r _ => hs.2.2.2.1 r) (fun i r _ => (hsn i).2.2.2.1 r)).1 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeShortBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeShortBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..d0372a9048568cf4cb442f405160aa3b737f5662 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeShortBounds.lean @@ -0,0 +1,106 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeComponents +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + +namespace OAI + +/-! Quantitative bootstrap on the short free shell: |F′|≤.35(r-l), |F-1|≤.175(r-l)². -/ + +open Set MeasureTheory Filter +namespace DefocusingNLS + +theorem radialFreeForcing_norm (b r : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hr : r ∈ Icc (3 : ℝ) (10/3)) + (z w : ℂ) : ‖-radialFreeCoefficient r*w-(b : ℂ)*z‖ ≤ 6*‖w‖+(335/1000 : ℝ)*‖z‖ := by + have hbn : ‖(b : ℂ)‖ ≤ (335/1000 : ℝ) := by + rw [Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg (by linarith [hb.1])] + exact hb.2 + calc + _ ≤ ‖-radialFreeCoefficient r*w‖+‖(b : ℂ)*z‖ := norm_sub_le _ _ + _ = ‖radialFreeCoefficient r‖*‖w‖+‖(b : ℂ)‖*‖z‖ := by rw [norm_mul,norm_neg,norm_mul] + _ ≤ _ := add_le_add (mul_le_mul_of_nonneg_right (radialFreeCoefficient_norm r hr) (norm_nonneg w)) + (mul_le_mul_of_nonneg_right hbn (norm_nonneg z)) + +theorem radial_complex_integral_bound (l r C : ℝ) (hlr : l ≤ r) (f : ℝ → ℂ) + (hf : ∀ t ∈ Icc l r, ‖f t‖ ≤ C) : ‖∫ t in l..r, f t‖ ≤ C*(r-l) := by + have h := intervalIntegral.norm_integral_le_of_norm_le_const (fun t ht => + hf t ⟨(uIoc_of_le hlr ▸ ht).1.le,(uIoc_of_le hlr ▸ ht).2⟩) + simpa only [abs_of_nonneg (sub_nonneg.mpr hlr)] using h + +theorem radial_free_short_bounds (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (_hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) + (F G : ℝ → ℂ) + (hF : ∀ r ∈ Icc l u, F r=1+∫ t in l..r, G t) + (hG : ∀ r ∈ Icc l u, G r=∫ t in l..r, -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l u, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) : + ∀ r ∈ Icc l u, ‖G r‖ ≤ (35/100 : ℝ)*(r-l) ∧ + ‖F r-1‖ ≤ (175/1000 : ℝ)*(r-l)^2 := by + have hs (r : ℝ) (hr : r ∈ Icc l u) : r ∈ Icc (3 : ℝ) (10/3) := + ⟨hl.trans hr.1,hr.2.trans hu⟩ + have hg₁ : ∀ r ∈ Icc l u, ‖G r‖ ≤ 14*(r-l) := by + intro r hr + rw [hG r hr] + apply radial_complex_integral_bound l r 14 hr.1 + intro t ht + have htU : t ∈ Icc l u := ⟨ht.1,ht.2.trans hr.2⟩ + have h := radialFreeForcing_norm b t hb (hs t htU) (F t) (G t) + have hf := (hB t htU).1 + have hg := (hB t htU).2 + linarith + have hf₁ : ∀ r ∈ Icc l u, ‖F r-1‖ ≤ (14/1000 : ℝ)*(r-l) := by + intro r hr + have he : F r-1=∫ t in l..r, G t := by rw [hF r hr]; ring + rw [he] + apply radial_complex_integral_bound l r (14/1000) hr.1 + intro t ht + have hg := hg₁ t ⟨ht.1,ht.2.trans hr.2⟩ + have hw : t-l ≤ (1/1000 : ℝ) := by linarith [ht.2,hr.2] + linarith + have hf₂ : ∀ r ∈ Icc l u, ‖F r‖ ≤ 1+(14/1000000 : ℝ) := by + intro r hr + have hn : ‖F r‖ ≤ ‖F r-1‖+1 := by + have h := norm_add_le (F r-1) (1 : ℂ) + simpa only [sub_add_cancel,norm_one] using h + have hf := hf₁ r hr + have hw : r-l ≤ (1/1000 : ℝ) := by linarith [hr.2] + linarith + have hg₂ : ∀ r ∈ Icc l u, ‖G r‖ ≤ (42/100 : ℝ)*(r-l) := by + intro r hr + rw [hG r hr] + apply radial_complex_integral_bound l r (42/100) hr.1 + intro t ht + have htU : t ∈ Icc l u := ⟨ht.1,ht.2.trans hr.2⟩ + have hg := hg₁ t htU + have hw : t-l ≤ (1/1000 : ℝ) := by linarith [ht.2,hr.2] + have hf := hf₂ t htU + have hn := radialFreeForcing_norm b t hb (hs t htU) (F t) (G t) + linarith + have hg₃ : ∀ r ∈ Icc l u, ‖G r‖ ≤ (35/100 : ℝ)*(r-l) := by + intro r hr + rw [hG r hr] + apply radial_complex_integral_bound l r (35/100) hr.1 + intro t ht + have htU : t ∈ Icc l u := ⟨ht.1,ht.2.trans hr.2⟩ + have hg := hg₂ t htU + have hw : t-l ≤ (1/1000 : ℝ) := by linarith [ht.2,hr.2] + have hf := hf₂ t htU + have hn := radialFreeForcing_norm b t hb (hs t htU) (F t) (G t) + linarith + intro r hr + refine ⟨hg₃ r hr,?_⟩ + have he : F r-1=∫ t in l..r, G t := by rw [hF r hr]; ring + rw [he] + have hi : (∫ t in l..r, (35/100 : ℝ)*(t-l))=(175/1000 : ℝ)*(r-l)^2 := by + rw [intervalIntegral.integral_const_mul,intervalIntegral.integral_sub (f := fun t : ℝ => t) (g := fun _ : ℝ => l) + (continuous_id.intervalIntegrable l r) (continuous_const.intervalIntegrable l r), + integral_id,intervalIntegral.integral_const] + simp only [smul_eq_mul] + ring + rw [← hi] + apply intervalIntegral.norm_integral_le_of_norm_le hr.1 + (Eventually.of_forall (fun t ht => hg₃ t ⟨ht.1.le,ht.2.trans hr.2⟩)) + ((continuous_const.mul (continuous_id.sub continuous_const)).intervalIntegrable l r) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowAsymptotic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowAsymptotic.lean new file mode 100644 index 0000000000000000000000000000000000000000..7d4a0a7f1e380f1b6d47aa8e56425f7ca4f05522 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowAsymptotic.lean @@ -0,0 +1,105 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeEulerExpansion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorExpansionEquation + +namespace OAI + +/-! Quantitative value and velocity expansions of the actual outgoing H profile. -/ + +namespace DefocusingNLS + +theorem radialFreeSlowArgument_norm (t : ℝ) : + ‖radialFreeSlowArgument t‖=Real.exp (2*t)/4 := by + simp only [radialFreeSlowArgument,norm_neg,norm_mul,Complex.norm_I,one_mul, + Complex.norm_real,Real.norm_eq_abs] + exact abs_of_pos (by positivity) + +theorem radialFreeSlowArgument_reciprocal (t : ℝ) : + (4*Complex.I*(Real.exp (-2*t) : ℂ))*radialFreeSlowArgument t=1 := by + have he : Real.exp (-2*t)*Real.exp (2*t)=1 := by + rw [← Real.exp_add] + simp + have hec : (Real.exp (-2*t) : ℂ)*(Real.exp (2*t) : ℂ)=1 := by exact_mod_cast he + simp only [radialFreeSlowArgument,Complex.ofReal_div,Complex.ofReal_ofNat] + linear_combination -Complex.I^2*hec - Complex.I_sq + +theorem radialFreeSlowArgument_large (t : ℝ) (ht : Real.log 4/2 ≤ t) : + 1 ≤ ‖radialFreeSlowArgument t‖ := by + rw [radialFreeSlowArgument_norm] + apply (le_div_iff₀ (by norm_num : (0 : ℝ) < 4)).mpr + have h := Real.exp_le_exp.mpr (show Real.log 4 ≤ 2*t by linarith) + simpa only [Real.exp_log (by norm_num : (0 : ℝ) < 4),one_mul] using h + +theorem radialFreeSlowArgument_inverse_power (t : ℝ) (k : ℕ) : + 1/‖radialFreeSlowArgument t‖^k=4^k*Real.exp (-(2*(k : ℝ))*t) := by + rw [radialFreeSlowArgument_norm,div_pow,one_div_div,← Real.exp_nat_mul] + rw [div_eq_mul_inv,← Real.exp_neg] + congr 2 + ring + +theorem radialFreeSlowValue_remainder (q m : ℂ) (hq : -1 < q.re) (j : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ t : ℝ, Real.log 4/2 ≤ t → + ‖radialFreeSlowValue q m t- + radialExteriorPolynomialFunction (radialFreeExpansion (-2*q) m j) t‖ ≤ + C*Real.exp (-(2*((j+1 : ℕ) : ℝ))*t) := by + obtain ⟨A,hA,hb⟩ := regularizedSlowSolution_allOrders_remainder j q 6 hq + refine ⟨‖m‖*A*4^(j+1),by positivity,?_⟩ + intro t ht + have hq' : -(-2*q)/2=q := by ring + have he := radialFreeExpansion_eval_slowAsymptotic (-2*q) m + (radialFreeSlowArgument t) (Real.exp (-2*t) : ℂ) j (radialFreeSlowArgument_reciprocal t) + rw [hq'] at he + change ‖m*normalizedSlowSolution q 6 (radialFreeSlowArgument t)- + (radialFreeExpansion (-2*q) m j).eval (Real.exp (-2*t) : ℂ)‖ ≤ _ + rw [he,← mul_sub,norm_mul] + calc + _ ≤ ‖m‖*(A/‖radialFreeSlowArgument t‖^(j+1)) := + mul_le_mul_of_nonneg_left (hb _ (by rw [radialFreeSlowArgument_re]) + (radialFreeSlowArgument_large t ht)) (norm_nonneg _) + _ = _ := by rw [div_eq_mul_one_div,radialFreeSlowArgument_inverse_power]; ring + +theorem radialFreeSlowVelocity_remainder (q m : ℂ) (hq : -1 < q.re) (j : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ t : ℝ, Real.log 4/2 ≤ t → + ‖radialFreeSlowVelocity q m t- + radialExteriorPolynomialFunction (radialPolynomialEuler + (radialFreeExpansion (-2*q) m (j+1))) t‖ ≤ + C*Real.exp (-(2*((j+2 : ℕ) : ℝ))*t) := by + have hq1 : -1 < (q+1).re := by change -1 < q.re+1; linarith + obtain ⟨A,hA,hb⟩ := regularizedSlowSolution_allOrders_remainder j (q+1) 6 hq1 + let c : ℂ := -2*m*q*(5-q) + refine ⟨‖c‖*A*4^(j+2),by positivity,?_⟩ + intro t ht + let x := radialFreeSlowArgument t + have hx : x ≠ 0 := radialFreeSlowArgument_ne_zero t + have hxn : ‖x‖ ≠ 0 := norm_ne_zero_iff.mpr hx + have hv : radialFreeSlowVelocity q m t=c/x*normalizedSlowSolution (q+1) 6 x := by + rw [radialFreeSlowVelocity,normalizedSlowFirst_eq_shift q 6 _ hq + (by rw [radialFreeSlowArgument_re]) hx] + dsimp only [c,x] + norm_num only [Nat.cast_ofNat] + field_simp + have hrec : 4*Complex.I*(Real.exp (-2*t) : ℂ)=1/x := + (eq_div_iff hx).mpr (radialFreeSlowArgument_reciprocal t) + have hp : radialExteriorPolynomialFunction (radialPolynomialEuler + (radialFreeExpansion (-2*q) m (j+1))) t = + c/x*slowAsymptoticPolynomial (q+1) 6 j x := by + rw [radialExteriorPolynomialFunction,radialFreeExpansion_euler_eval_slowAsymptotic + q m x _ j (radialFreeSlowArgument_reciprocal t)] + calc + _ = c*(4*Complex.I*(Real.exp (-2*t) : ℂ))*slowAsymptoticPolynomial (q+1) 6 j x := by + dsimp [c]; ring + _ = _ := by rw [hrec]; ring + rw [hv,hp,← mul_sub,norm_mul,norm_div] + calc + _ ≤ (‖c‖/‖x‖)*(A/‖x‖^(j+1)) := + mul_le_mul_of_nonneg_left (hb x (by rw [radialFreeSlowArgument_re]) + (radialFreeSlowArgument_large t ht)) (by positivity) + _ = (‖c‖*A)*(1/‖x‖^(j+2)) := by + rw [show j+2=(j+1)+1 by omega,pow_succ] + field_simp + ring + _ = _ := by rw [radialFreeSlowArgument_inverse_power]; ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..9184d03e2cbd74db96bb69deb0e43cd989f8cfb7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowEquation.lean @@ -0,0 +1,81 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.NormalizedSlowEquation + +namespace OAI + +/-! The actual H solution in the logarithmic slow exterior coordinates. -/ + +namespace DefocusingNLS + +noncomputable def radialFreeSlowArgument (t : ℝ) : ℂ := + -Complex.I*(Real.exp (2*t)/4 : ℝ) + +noncomputable def radialFreeSlowValue (q m : ℂ) (t : ℝ) : ℂ := + m*normalizedSlowSolution q 6 (radialFreeSlowArgument t) + +noncomputable def radialFreeSlowVelocity (q m : ℂ) (t : ℝ) : ℂ := + m*(2*radialFreeSlowArgument t*normalizedSlowFirst q 6 (radialFreeSlowArgument t)) + +theorem radialFreeSlowArgument_mem_slit (t : ℝ) : + radialFreeSlowArgument t ∈ Complex.slitPlane := by + apply Complex.mem_slitPlane_iff.mpr + right + simp only [radialFreeSlowArgument,neg_mul,Complex.neg_im,Complex.mul_im, + Complex.I_re,Complex.I_im,Complex.ofReal_re,Complex.ofReal_im,zero_mul,one_mul,zero_add] + exact neg_ne_zero.mpr (ne_of_gt (div_pos (Real.exp_pos _) (by norm_num))) + +theorem radialFreeSlowArgument_re (t : ℝ) : (radialFreeSlowArgument t).re=0 := by + simp only [radialFreeSlowArgument,neg_mul,Complex.neg_re,Complex.mul_re, + Complex.I_re,Complex.I_im,Complex.ofReal_re,Complex.ofReal_im, + zero_mul,mul_zero,sub_self,neg_zero] + +theorem radialFreeSlowArgument_ne_zero (t : ℝ) : radialFreeSlowArgument t ≠ 0 := + Complex.slitPlane_ne_zero (radialFreeSlowArgument_mem_slit t) + +theorem hasDerivAt_radialFreeSlowArgument (t : ℝ) : + HasDerivAt radialFreeSlowArgument (2*radialFreeSlowArgument t) t := by + have he := ((((hasDerivAt_id t).const_mul 2).exp).div_const 4).ofReal_comp.const_mul (-Complex.I) + convert he using 1 + · rfl + · simp only [radialFreeSlowArgument,id_eq,mul_one] + push_cast + ring + +theorem hasDerivAt_radialFreeSlowValue (q m : ℂ) (hq : -1 < q.re) (t : ℝ) : + HasDerivAt (radialFreeSlowValue q m) (radialFreeSlowVelocity q m t) t := by + have h := (hasDerivAt_normalizedSlowFirst_value q 6 (radialFreeSlowArgument t) hq + (radialFreeSlowArgument_mem_slit t)).scomp t (hasDerivAt_radialFreeSlowArgument t) + convert h.const_mul m using 1 + · rfl + · dsimp only [radialFreeSlowVelocity] + ring + +theorem hasDerivAt_radialFreeSlowVelocity (q m : ℂ) (hq : -1 < q.re) (t : ℝ) : + HasDerivAt (radialFreeSlowVelocity q m) + (-(10-4*q+Complex.I*(Real.exp (2*t)/2 : ℝ))*radialFreeSlowVelocity q m t- + 4*q*(q-5)*radialFreeSlowValue q m t) t := by + have hx := hasDerivAt_radialFreeSlowArgument t + have hF := (hasDerivAt_normalizedSlowFirst q 6 (radialFreeSlowArgument t) hq + (radialFreeSlowArgument_mem_slit t)).scomp t hx + have hFd : HasDerivAt (fun s => normalizedSlowFirst q 6 (radialFreeSlowArgument s)) + (deriv (normalizedSlowFirst q 6) (radialFreeSlowArgument t)*(2*radialFreeSlowArgument t)) t := by + convert hF using 1 + · rfl + · rw [(hasDerivAt_normalizedSlowFirst q 6 (radialFreeSlowArgument t) hq + (radialFreeSlowArgument_mem_slit t)).deriv] + simp only [smul_eq_mul] + ring + have h := ((hx.const_mul 2).mul hFd).const_mul m + apply h.congr_deriv + have hK := normalizedSlowSolution_equation q 6 (radialFreeSlowArgument t) hq + (by rw [radialFreeSlowArgument_re]) (radialFreeSlowArgument_ne_zero t) + have hX : Complex.I*(Real.exp (2*t)/2 : ℝ) = -2*radialFreeSlowArgument t := by + simp only [radialFreeSlowArgument] + push_cast + ring + rw [hX] + dsimp only [radialFreeSlowVelocity,radialFreeSlowValue] + linear_combination 4*m*hK + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowJet.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowJet.lean new file mode 100644 index 0000000000000000000000000000000000000000..a0ce1d07565d353f728c50b25f237e725e681955 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowJet.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowAsymptotic +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorJetLimit + +namespace OAI + +/-! The actual H value/velocity jet and its complete finite-order outgoing expansion. -/ + +namespace DefocusingNLS + +noncomputable def radialFreeSlowJet (q m : ℂ) (t : ℝ) : ℂ × ℂ := + (radialFreeSlowValue q m t,radialFreeSlowVelocity q m t) + +theorem radialFreeSlowJet_hasDerivAt (q m : ℂ) (hq : -1 < q.re) (t : ℝ) : + HasDerivAt (radialFreeSlowJet q m) + ((0,-Complex.I*(Real.exp (2*t)/2 : ℝ)*(radialFreeSlowJet q m t).2)+ + radialExteriorErrorMatrix (-2*q) (radialFreeSlowJet q m t)) t := by + have h := (hasDerivAt_radialFreeSlowValue q m hq t).prodMk + (hasDerivAt_radialFreeSlowVelocity q m hq t) + apply h.congr_deriv + apply Prod.ext + · simp [radialFreeSlowJet,radialExteriorErrorMatrix] + · simp only [radialFreeSlowJet,Prod.snd_add,radialExteriorErrorMatrix, + ContinuousLinearMap.prod_apply,neg_apply, + add_apply,smul_apply, + ContinuousLinearMap.coe_fst',ContinuousLinearMap.coe_snd',smul_eq_mul] + ring + +theorem radialFreeSlowJet_remainder (q m : ℂ) (hq : -1 < q.re) (j : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ t : ℝ, Real.log 4/2 ≤ t → + ‖radialFreeSlowJet q m t-radialPolynomialJet (radialFreeExpansion (-2*q) m (j+1)) t‖ ≤ + C*Real.exp (-(2*((j+2 : ℕ) : ℝ))*t) := by + obtain ⟨A,hA,hv⟩ := radialFreeSlowValue_remainder q m hq (j+1) + obtain ⟨B,hB,hw⟩ := radialFreeSlowVelocity_remainder q m hq j + refine ⟨max A B,le_max_of_le_left hA,?_⟩ + intro t ht + change max ‖radialFreeSlowValue q m t-radialExteriorPolynomialFunction _ t‖ + ‖radialFreeSlowVelocity q m t-radialExteriorPolynomialFunction _ t‖ ≤ _ + apply max_le + · exact (hv t ht).trans (mul_le_mul_of_nonneg_right (le_max_left A B) (Real.exp_nonneg _)) + · exact (hw t ht).trans (mul_le_mul_of_nonneg_right (le_max_right A B) (Real.exp_nonneg _)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowLogarithm.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowLogarithm.lean new file mode 100644 index 0000000000000000000000000000000000000000..94fbb7cd4e920d6b2087605726ac5878cca8d636 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSlowLogarithm.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeRiccati +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSlowJet + +namespace OAI + +/-! The slow outgoing jet gives the actual physical logarithmic derivative. -/ + +namespace DefocusingNLS + +theorem normalizedSlowFirst_cancel (q : ℂ) (x : ℂ) (hx : x ≠ 0) : + -2*q*normalizedSlowSolution q 6 x+2*x*normalizedSlowFirst q 6 x= + 2*x*x^q*deriv (regularizedSlowSolution q 6) x := by + have he : x^(q-1)*x=x^q := by + calc + _ = x^(q-1)*x^(1 : ℂ) := by rw [Complex.cpow_one] + _ = x^((q-1)+1) := (Complex.cpow_add _ _ hx).symm + _ = _ := by congr 1; ring + unfold normalizedSlowSolution normalizedSlowFirst + calc + _ = 2*q*regularizedSlowSolution q 6 x*(x^(q-1)*x-x^q)+ + 2*x*x^q*deriv (regularizedSlowSolution q 6) x := by ring + _ = _ := by rw [he,sub_self,mul_zero,zero_add] + +theorem radialFreeSlow_physical_log (b r : ℝ) (hr : 0 < r) (m : ℂ) + (hv : (radialFreeSlowJet (-Complex.I*(b : ℂ)) m (Real.log r)).1 ≠ 0) : + ((2*Complex.I*(b : ℂ))*(radialFreeSlowJet (-Complex.I*(b : ℂ)) m (Real.log r)).1+ + (radialFreeSlowJet (-Complex.I*(b : ℂ)) m (Real.log r)).2)/ + ((r : ℂ)*(radialFreeSlowJet (-Complex.I*(b : ℂ)) m (Real.log r)).1)= + radialFreeLog b r := by + let q := -Complex.I*(b : ℂ) + let x := freeRadialArgument r + have hx : x ≠ 0 := Complex.slitPlane_ne_zero (freeRadialArgument_mem_slit hr) + have he : Real.exp (2*Real.log r)=r^2 := by + rw [two_mul,Real.exp_add,Real.exp_log hr] + ring + have harg : radialFreeSlowArgument (Real.log r)=x := by + simp only [radialFreeSlowArgument,x,freeRadialArgument,he] + change m*normalizedSlowSolution q 6 (radialFreeSlowArgument (Real.log r)) ≠ 0 at hv + rw [harg] at hv + have hm : m ≠ 0 := (mul_ne_zero_iff.mp hv).1 + have hH : regularizedSlowSolution q 6 x ≠ 0 := + (mul_ne_zero_iff.mp (show x^q*regularizedSlowSolution q 6 x ≠ 0 from + (mul_ne_zero_iff.mp hv).2)).2 + have hp : x^q ≠ 0 := (mul_ne_zero_iff.mp (mul_ne_zero_iff.mp hv).2).1 + have hnum : (2*Complex.I*(b : ℂ))*(m*normalizedSlowSolution q 6 x)+ + m*(2*x*normalizedSlowFirst q 6 x)= + m*(2*x*x^q*deriv (regularizedSlowSolution q 6) x) := by + calc + _ = m*(-2*q*normalizedSlowSolution q 6 x+2*x*normalizedSlowFirst q 6 x) := by + dsimp [q]; ring + _ = _ := by rw [normalizedSlowFirst_cancel q x hx] + have htan : 2*x=(r : ℂ)*freeRadialTangent r := by + dsimp [x,freeRadialArgument,freeRadialTangent] + push_cast + ring + change ((2*Complex.I*(b : ℂ))*radialFreeSlowValue q m (Real.log r)+ + radialFreeSlowVelocity q m (Real.log r))/((r : ℂ)*radialFreeSlowValue q m (Real.log r))=_ + unfold radialFreeSlowValue radialFreeSlowVelocity + rw [harg,hnum] + rw [radialFreeLog,(radialFreeRaw_hasDerivAt b r hr).deriv] + change (m*(2*x*x^q*deriv (regularizedSlowSolution q 6) x))/ + ((r : ℂ)*(m*(x^q*regularizedSlowSolution q 6 x)))= + freeRadialTangent r*deriv (regularizedSlowSolution q 6) x/regularizedSlowSolution q 6 x + rw [htan] + field_simp [hm,hp,hH,Complex.ofReal_ne_zero.mpr hr.ne'] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSpectralClassification.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSpectralClassification.lean new file mode 100644 index 0000000000000000000000000000000000000000..7f504df9508f1355c0dae065780336a70a76651a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSpectralClassification.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.FreeSimpleZeros + +namespace OAI + +/-! Exact free spectral classification at every matched limiting profile. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialFree_spectral_zero_iff (hR : RectangleRouche) (w : RadialShootingDisk) + (hw : diskProfile w=0) (ell : ℕ) (lam : ℂ) (hhalf : -(1/32 : ℝ)≤lam.re) : + spectralSlowDeterminant ell (radialShootingB w) ((radialShootingR w)^2/4) lam=0 ↔ + (ell=0 ∧ (lam=0 ∨ lam=1)) ∨ (ell=1 ∧ lam=1/2) := by + by_cases h0 : ell=0 + · subst ell + simpa only [true_and,zero_ne_one,false_and,or_false] using + radialFree_phase_scaling_zeros hR w hw lam hhalf + by_cases h1 : ell=1 + · subst ell + simpa only [one_ne_zero,false_and,true_and,false_or] using + radialFree_translation_zero hR w hw lam hhalf + have hn := free_outgoing_nonzero hR ell (by omega) _ _ + (radialShooting_freeMatchingDisk w) lam hhalf + simp only [h0,h1,false_and,false_or,hn,iff_self] + +theorem radialFree_spectral_order (hR : RectangleRouche) (w : RadialShootingDisk) + (hw : diskProfile w=0) (ell : ℕ) (lam : ℂ) (hhalf : -(1/32 : ℝ)≤lam.re) : + analyticOrderAt (spectralSlowDeterminant ell (radialShootingB w) + ((radialShootingR w)^2/4)) lam = + if (ell=0 ∧ (lam=0 ∨ lam=1)) ∨ (ell=1 ∧ lam=1/2) then 1 else 0 := by + classical + by_cases h : (ell=0 ∧ (lam=0 ∨ lam=1)) ∨ (ell=1 ∧ lam=1/2) + · rw [ite_eq_left h] + obtain ⟨hp,ht,hs⟩ := radialFree_symmetry_zeros_simple hR w hw + rcases h with ⟨rfl,rfl | rfl⟩ | ⟨rfl,rfl⟩ + · exact hp + · exact hs + · exact ht + · rw [ite_eq_right h] + exact analyticOrderAt_eq_zero.mpr (Or.inr + (fun hz => h ((radialFree_spectral_zero_iff hR w hw ell lam hhalf).mp hz))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSpectralDisk.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSpectralDisk.lean new file mode 100644 index 0000000000000000000000000000000000000000..f4adfc335c70903f4a82cf61575ba9e504434d72 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSpectralDisk.lean @@ -0,0 +1,36 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeShootingData +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.FreeLowAngularSpectrum + +namespace OAI + +/-! The actual limiting shooting parameters lie in the same exact disk used +by the free spectral certificates. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialShootingR_sq (w : RadialShootingDisk) : + (radialShootingR w)^2/4=radialShootingZ w := by + have hz := (disk_coordinates w).2 + have hzpos : 0≤radialShootingZ w := by + have hh := (abs_le.mp hz).1 + norm_num [radius,centerZ] at hh + dsimp only [radialShootingZ] + norm_num [centerZ] + linarith + dsimp only [radialShootingR] + rw [mul_pow,Real.sq_sqrt hzpos] + ring + +theorem radialShooting_freeMatchingDisk (w : RadialShootingDisk) : + (radialShootingB w,(radialShootingR w)^2/4)∈freeMatchingDisk := by + rw [radialShootingR_sq] + have hw : ‖w.val‖≤(radius : ℝ) := by + simpa only [Metric.mem_closedBall,dist_zero_right] using w.property + have hs := (sq_le_sq₀ (norm_nonneg w.val) (by norm_num [radius] : (0 : ℝ)≤radius)).mpr hw + rw [← Complex.normSq_eq_norm_sq,Complex.normSq_apply] at hs + simpa [freeMatchingDisk,radialShootingB,radialShootingZ,centerB,centerZ,radius,pow_two] using hs + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSubunit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSubunit.lean new file mode 100644 index 0000000000000000000000000000000000000000..08607aa4467d5fb7f4ad37f52e41e7c343d40dbb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeSubunit.lean @@ -0,0 +1,34 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeTaylor + +namespace OAI + +/-! The actual free tail is strictly subunit immediately after its initial radius. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_free_modulus_lt_one (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hF : ∀ r ∈ Icc l u, F r=1+∫ t in l..r, G t) + (hG : ∀ r ∈ Icc l u, G r=∫ t in l..r, -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l u, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) : + ∀ r ∈ Ioc l u, ‖F r‖ < 1 := by + intro r hr + have ht := (radial_free_taylor b l u hb hl hu hlu hwidth F G hFc hGc hF hG hB r ⟨hr.1.le,hr.2⟩).2 + have hδ : 0 < r-l := sub_pos.mpr hr.1 + have hδu : r-l ≤ (1/1000 : ℝ) := by linarith [hr.2] + have hδsq : (r-l)^2 ≤ (1/1000 : ℝ)^2 := pow_le_pow_left₀ hδ.le hδu 2 + have hprod := mul_le_mul_of_nonneg_right hb.2 (sq_nonneg (r-l)) + have hbase : 0 ≤ 1-b/2*(r-l)^2 := by nlinarith + have heq : F r-((1-b/2*(r-l)^2 : ℝ) : ℂ)= + F r-1+(b : ℂ)/2*((r-l : ℝ) : ℂ)^2 := by push_cast; ring + have hn := norm_sub_norm_le (F r) (((1-b/2*(r-l)^2 : ℝ) : ℂ)) + rw [Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg hbase,heq] at hn + have hbδ := mul_le_mul_of_nonneg_right hb.1 (sq_nonneg (r-l)) + nlinarith [sq_pos_of_pos hδ] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeTaylor.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeTaylor.lean new file mode 100644 index 0000000000000000000000000000000000000000..e1fdc9cb69447093d8aa1a1c3a94a23f160d85fc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeTaylor.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeShortBounds + +namespace OAI + +/-! Uniform second-order Taylor remainder for the short free initial-value solution. -/ + +open Set MeasureTheory Filter +namespace DefocusingNLS + +theorem radialFreeForcing_remainder (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hwidth : u-l ≤ (1/1000 : ℝ)) + (F G : ℝ → ℂ) + (hB : ∀ r ∈ Icc l u, ‖G r‖ ≤ (35/100 : ℝ)*(r-l) ∧ + ‖F r-1‖ ≤ (175/1000 : ℝ)*(r-l)^2) : + ∀ r ∈ Icc l u, ‖-radialFreeCoefficient r*G r-(b : ℂ)*F r+(b : ℂ)‖ ≤ (3/1000 : ℝ) := by + intro r hr + have he : -radialFreeCoefficient r*G r-(b : ℂ)*F r+(b : ℂ)= + -radialFreeCoefficient r*G r-(b : ℂ)*(F r-1) := by ring + rw [he] + have hn := radialFreeForcing_norm b r hb ⟨hl.trans hr.1,hr.2.trans hu⟩ (F r-1) (G r) + have hb' := hB r hr + have hw : r-l ≤ (1/1000 : ℝ) := by linarith [hr.2] + have hw0 : 0 ≤ r-l := sub_nonneg.mpr hr.1 + have hs : (r-l)^2 ≤ (1/1000 : ℝ)^2 := pow_le_pow_left₀ hw0 hw 2 + nlinarith [hb'.1,hb'.2] + +theorem radial_integral_affine (b : ℂ) (l r : ℝ) : + (∫ t in l..r, b*((t-l : ℝ) : ℂ))=b/2*((r-l : ℝ) : ℂ)^2 := by + rw [intervalIntegral.integral_const_mul,intervalIntegral.integral_ofReal, + intervalIntegral.integral_sub (f := fun t : ℝ => t) (g := fun _ : ℝ => l) (continuous_id.intervalIntegrable l r) + (continuous_const.intervalIntegrable l r),integral_id, + intervalIntegral.integral_const] + simp only [smul_eq_mul] + push_cast + ring + +theorem radial_free_taylor (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hF : ∀ r ∈ Icc l u, F r=1+∫ t in l..r, G t) + (hG : ∀ r ∈ Icc l u, G r=∫ t in l..r, -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l u, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) : + ∀ r ∈ Icc l u, + ‖G r+(b : ℂ)*((r-l : ℝ) : ℂ)‖ ≤ (3/1000 : ℝ)*(r-l) ∧ + ‖F r-1+(b : ℂ)/2*((r-l : ℝ) : ℂ)^2‖ ≤ (3/2000 : ℝ)*(r-l)^2 := by + have hs := radial_free_short_bounds b l u hb hl hu hlu hwidth F G hF hG hB + have hRem := radialFreeForcing_remainder b l u hb hl hu hwidth F G hs + have hfInt (r : ℝ) (hr : r ∈ Icc l u) : + IntervalIntegrable (fun t => -radialFreeCoefficient t*G t-(b : ℂ)*F t) volume l r := + ContinuousOn.intervalIntegrable_of_Icc hr.1 + ((radialFreeField_continuousOn_curve b l u (by linarith) (fun t => (F t,G t)) + (hFc.prodMk hGc)).snd.mono (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + have hGe : ∀ r ∈ Icc l u, ‖G r+(b : ℂ)*((r-l : ℝ) : ℂ)‖ ≤ (3/1000 : ℝ)*(r-l) := by + intro r hr + have he : G r+(b : ℂ)*((r-l : ℝ) : ℂ)= + ∫ t in l..r, (-radialFreeCoefficient t*G t-(b : ℂ)*F t)+(b : ℂ) := by + rw [intervalIntegral.integral_add (hfInt r hr) (continuous_const.intervalIntegrable l r), + intervalIntegral.integral_const,← hG r hr,Complex.real_smul] + ring + rw [he] + exact radial_complex_integral_bound l r (3/1000) hr.1 _ + (fun t ht => hRem t ⟨ht.1,ht.2.trans hr.2⟩) + intro r hr + refine ⟨hGe r hr,?_⟩ + have he : F r-1+(b : ℂ)/2*((r-l : ℝ) : ℂ)^2= + ∫ t in l..r, G t+(b : ℂ)*((t-l : ℝ) : ℂ) := by + rw [intervalIntegral.integral_add (f := G) (g := fun t : ℝ => (b : ℂ)*((t-l : ℝ) : ℂ)) (hGc.intervalIntegrable l r) + ((continuous_const.mul (Complex.continuous_ofReal.comp (continuous_id.sub continuous_const))).intervalIntegrable l r), + radial_integral_affine] + linear_combination hF r hr + rw [he] + have hi : (∫ t in l..r, (3/1000 : ℝ)*(t-l))=(3/2000 : ℝ)*(r-l)^2 := by + rw [intervalIntegral.integral_const_mul,intervalIntegral.integral_sub (f := fun t : ℝ => t) (g := fun _ : ℝ => l) + (continuous_id.intervalIntegrable l r) (continuous_const.intervalIntegrable l r), + integral_id,intervalIntegral.integral_const] + simp only [smul_eq_mul] + ring + rw [← hi] + exact intervalIntegral.norm_integral_le_of_norm_le hr.1 + (Eventually.of_forall (fun t ht => hGe t ⟨ht.1.le,ht.2.trans hr.2⟩)) + ((continuous_const.mul (continuous_id.sub continuous_const)).intervalIntegrable l r) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..7a56474c2a97f759a54e39d849978fc0c448d91c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeUniqueness.lean @@ -0,0 +1,53 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeComponents + +namespace OAI + +/-! Uniqueness of the actual short-shell complex integral solution. -/ + +open Set MeasureTheory +namespace DefocusingNLS + +theorem radial_free_integral_unique (b l u : ℝ) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) (hl : (3 : ℝ) ≤ l) + (hu : u ≤ (10/3 : ℝ)) (hlu : l ≤ u) (hwidth : u-l ≤ (1/1000 : ℝ)) + (X Y : ℝ → ℂ × ℂ) (hX : Continuous X) (hY : Continuous Y) + (hXE : ∀ r ∈ Icc l u, X r=(1,0)+∫ t in l..r, radialFreeField b t (X t)) + (hYE : ∀ r ∈ Icc l u, Y r=(1,0)+∫ t in l..r, radialFreeField b t (Y t)) : + EqOn X Y (Icc l u) := by + obtain ⟨m,hm,hmax⟩ := isCompact_Icc.exists_isMaxOn (nonempty_Icc.mpr hlu) + (hX.sub hY).norm.continuousOn + let M := ‖X m-Y m‖ + have hM : 0 ≤ M := norm_nonneg _ + have hInt (Z : ℝ → ℂ × ℂ) (hZ : Continuous Z) : + IntervalIntegrable (fun t => radialFreeField b t (Z t)) volume l m := + ContinuousOn.intervalIntegrable_of_Icc hm.1 + ((radialFreeField_continuousOn_curve b l u (by linarith) Z hZ).mono + (fun t ht => ⟨ht.1,ht.2.trans hm.2⟩)) + have hEq : X m-Y m=∫ t in l..m, radialFreeField b t (X t-Y t) := by + rw [hXE m hm,hYE m hm,add_sub_add_left_eq_sub, + ← intervalIntegral.integral_sub (hInt X hX) (hInt Y hY)] + apply intervalIntegral.integral_congr + intro t _ + exact (radialFreeField_sub b t (X t) (Y t)).symm + have hBound : M ≤ 7*M*(m-l) := by + have hh := intervalIntegral.norm_integral_le_of_norm_le_const (fun t ht => by + have htI : t ∈ Icc l m := ⟨(uIoc_of_le hm.1 ▸ ht).1.le,(uIoc_of_le hm.1 ▸ ht).2⟩ + have htU : t ∈ Icc l u := ⟨htI.1,htI.2.trans hm.2⟩ + exact (radialFreeField_norm b t hb ⟨hl.trans htU.1,htU.2.trans hu⟩ (X t-Y t)).trans + (mul_le_mul_of_nonneg_left (hmax htU) (by norm_num))) + calc + M = ‖∫ t in l..m, radialFreeField b t (X t-Y t)‖ := congrArg norm hEq + _ ≤ 7*M*(m-l) := by + simpa only [abs_of_nonneg (sub_nonneg.mpr hm.1),M,Pi.sub_apply] using hh + have hM0 : M=0 := by + have hlen : m-l ≤ (1/1000 : ℝ) := by linarith [hm.2] + have hprod := mul_le_mul_of_nonneg_left hlen (show 0 ≤ 7*M by positivity) + nlinarith + intro r hr + apply sub_eq_zero.mp + apply norm_eq_zero.mp + exact le_antisymm ((hmax hr).trans_eq hM0) (norm_nonneg _) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeValueContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeValueContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..432b04aa6ee4500931afaf8db010950db2e4fc4e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeValueContinuity.lean @@ -0,0 +1,32 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreeBoundaryAnalytic + +namespace OAI + +/-! Continuity of the free value determinant on the physical half-plane. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialFreeValueDet_continuousAt (ell : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (hLR : radialShootingR (profileMatchingParameter z) < R) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) : + ContinuousAt (fun w => spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z)) w R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z)) w R))) lam := by + let β := radialShootingB (profileMatchingParameter z) + have hq (h : ℝ) : -1 < (spectralQ ell h β lam).re := by + rw [spectralQ_re] + linarith [Nat.cast_nonneg (α := ℝ) ell] + have hlog : max 0 (Real.log 4/2) < Real.log R := + spectralFreeRadius_log R ((radialShooting_geometry (profileMatchingParameter z)).2.1.trans hLR.le) + have hp := spectralPhysicalValueMap.continuous.continuousAt.comp + (spectralFreePositivePhysical_analyticAt ell β lam (hq 1) R hlog.le).differentiableAt.continuousAt + have hn := spectralPhysicalValueMap.continuous.continuousAt.comp + (spectralFreeNegativePhysical_analyticAt ell β lam (hq (-1)) R hlog.le).differentiableAt.continuousAt + exact (hp.fst.mul hn.snd).sub (hp.snd.mul hn.fst) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeValueRadius.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeValueRadius.lean new file mode 100644 index 0000000000000000000000000000000000000000..46158a64a80760b552a50afd7254a9dcf5aa7baf --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialFreeValueRadius.lean @@ -0,0 +1,37 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreePhysicalIdentification +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeColumnNormalization + +namespace OAI + +/-! Choose a matching radius where the actual free H value matrix is invertible. -/ + +open Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialFreeValueDet_large_radius (ell : ℕ) (z : ProfileMatchingBall) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) : + ∃ R : ℝ, innerBoundaryRadius < R ∧ radialShootingR (profileMatchingParameter z) < R ∧ + spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0 := by + let β := radialShootingB (profileMatchingParameter z) + have hq (h : ℝ) : -1 < (spectralQ ell h β lam).re := by + rw [spectralQ_re] + linarith [Nat.cast_nonneg (α := ℝ) ell] + have hd := spectralPhysicalValueDet_eventually_ne_zero + (2*Complex.I*(β : ℂ)-2*lam) (star (2*Complex.I*(β : ℂ))-2*lam) + (spectralFreeFirstColumn ell (spectralQ ell 1 β lam)) + (spectralFreeSecondColumn ell (spectralQ ell (-1) β lam)) + (spectralFreeFirstColumn_tendsto ell _ (hq 1)) + (spectralFreeSecondColumn_tendsto ell _ (hq (-1))) + obtain ⟨R,hR,hdR⟩ := ((eventually_gt_atTop + (max innerBoundaryRadius (radialShootingR (profileMatchingParameter z)))).and hd).exists + exact ⟨R,(le_max_left _ _).trans_lt hR,(le_max_right _ _).trans_lt hR, + by simpa only [spectralFreePhysicalPair_first,spectralFreePhysicalPair_second] using hdR⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeCrossPairing.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeCrossPairing.lean new file mode 100644 index 0000000000000000000000000000000000000000..3bac971f3f189b1d76c40b64647ca49c7fb42011 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeCrossPairing.lean @@ -0,0 +1,90 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeFlux +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalContinuousTest + +namespace OAI + +/-! Testing the pressure-free gauge equation against its second component +gives the exact cross-pairing identity used in Case II. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem spectralGaugeSecond_self_pairing (R : ℝ) (hR : 0 ≤ R) + (mu A : ℝ → ℝ) (hmu : Continuous mu) (hA : Continuous A) + (eta c lam : ℂ) (f g : ℝ → ℂ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (hflux : ∀ r ∈ Ioo 0 R, HasDerivAt (spectralGaugeSecondFlux mu A f g) + (eta*(r : ℂ)^9*(mu r : ℂ)*g r+(r : ℂ)^11*(mu r : ℂ)*(c-lam)*f r) r) : + (lam-c)*(∫ r in (0 : ℝ)..R, (r : ℂ)^11*(mu r : ℂ)*star (g r)*f r) = + ((∫ r in (0 : ℝ)..R, r^11*mu r*‖deriv g r‖^2 : ℝ) : ℂ)+ + eta*((∫ r in (0 : ℝ)..R, r^9*mu r*‖g r‖^2 : ℝ) : ℂ)+ + (∫ r in (0 : ℝ)..R, (r : ℂ)^11*(A r : ℂ)*star (deriv g r)*f r)- + star (g R)*spectralGaugeSecondFlux mu A f g R := by + have hfc := hf.continuous + have hgc := hg.continuous + have hdg := hg.continuous_deriv (by norm_num) + let F := spectralGaugeSecondFlux mu A f g + let H := fun r : ℝ => eta*(r : ℂ)^9*(mu r : ℂ)*g r+(r : ℂ)^11*(mu r : ℂ)*(c-lam)*f r + have hFc : Continuous F := by + change Continuous (fun r : ℝ => (r : ℂ)^11*((mu r : ℂ)*deriv g r+(A r : ℂ)*f r)) + fun_prop + have hHc : Continuous H := by dsimp only [H]; fun_prop + have ht := spectralClassicalFlux_continuous_test R hR F H g hFc.continuousOn hHc.continuousOn + hflux (by simp [F,spectralGaugeSecondFlux]) (hg.of_le (by norm_num)) + let D := fun r : ℝ => ((r^11*mu r*‖deriv g r‖^2 : ℝ) : ℂ) + let G := fun r : ℝ => ((r^9*mu r*‖g r‖^2 : ℝ) : ℂ) + let T := fun r : ℝ => (r : ℂ)^11*(A r : ℂ)*star (deriv g r)*f r + let C := fun r : ℝ => (r : ℂ)^11*(mu r : ℂ)*star (g r)*f r + have hDc : Continuous D := by dsimp only [D]; fun_prop + have hGc : Continuous G := by dsimp only [G]; fun_prop + have hTc : Continuous T := by dsimp only [T]; fun_prop + have hCc : Continuous C := by dsimp only [C]; fun_prop + have hn (z : ℂ) : star z*z = ((‖z‖^2 : ℝ) : ℂ) := by + simp only [Complex.star_def,Complex.conj_mul',Complex.ofReal_pow] + have hp (r : ℝ) : star (deriv g r)*F r+star (g r)*H r = + D r+eta*G r+T r-(lam-c)*C r := by + dsimp only [D,G,T,C,F,H,spectralGaugeSecondFlux] + push_cast + calc + _ = (r : ℂ)^11*(mu r : ℂ)*(star (deriv g r)*deriv g r)+ + eta*((r : ℂ)^9*(mu r : ℂ)*(star (g r)*g r))+ + (r : ℂ)^11*(A r : ℂ)*star (deriv g r)*f r- + (lam-c)*((r : ℂ)^11*(mu r : ℂ)*star (g r)*f r) := by ring + _ = _ := by rw [hn,hn]; simp only [Complex.ofReal_pow] + have ht' : (∫ r in (0 : ℝ)..R, D r+eta*G r+T r-(lam-c)*C r) = star (g R)*F R := by + rw [← intervalIntegral.integral_add] at ht + · simpa only [hp] using ht + · exact (hdg.star.mul hFc).intervalIntegrable 0 R + · exact (hgc.star.mul hHc).intervalIntegrable 0 R + rw [intervalIntegral.integral_sub,intervalIntegral.integral_add, + intervalIntegral.integral_add,intervalIntegral.integral_const_mul, + intervalIntegral.integral_const_mul] at ht' + · dsimp only [D,G,T,C] at ht' + rw [intervalIntegral.integral_ofReal,intervalIntegral.integral_ofReal] at ht' + linear_combination -ht' + all_goals exact Continuous.intervalIntegrable (by fun_prop) _ _ + +theorem radialMatchedGauge_cross_pairing (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) (eta lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) eta lam f g) : + let mu := radialMatchedMassFunction n z + let A := radialMatchedTransportFunction n z + (lam-((6-2*radialShootingA n : ℝ) : ℂ))* + (∫ r in (0 : ℝ)..R, (r : ℂ)^11*(mu r : ℂ)*star (g r)*f r) = + ((∫ r in (0 : ℝ)..R, r^11*mu r*‖deriv g r‖^2 : ℝ) : ℂ)+ + eta*((∫ r in (0 : ℝ)..R, r^9*mu r*‖g r‖^2 : ℝ) : ℂ)+ + (∫ r in (0 : ℝ)..R, (r : ℂ)^11*(A r : ℂ)*star (deriv g r)*f r)- + star (g R)*spectralGaugeSecondFlux mu A f g R := by + apply spectralGaugeSecond_self_pairing R hR.le _ _ + (radialMatchedMassFunction_continuous n z hX hz) + (radialMatchedTransportFunction_continuous n z hX hz) _ _ _ f g hf hg + intro r hr + exact (radialMatchedGauge_flux n z hX hz eta lam f g hf hg he r hr.1).2 + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeLinearization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeLinearization.lean new file mode 100644 index 0000000000000000000000000000000000000000..0afa987788dd26ae2e40b41327dfc1f7f6fc5d42 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeLinearization.lean @@ -0,0 +1,163 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialGaugeNonlinearity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianEquation + +namespace OAI + +/-! Exact conjugation of the similarity linearization by its stationary profile. + +These are pointwise identities for the actual differential expression. They +supply the cancellation used in `spectrum.tex`, equation (spec:real-system). +-/ + +open scoped ContDiff Laplacian +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def similarityLinearization (a b : ℝ) (m : ℕ) + (Q v : E → ℂ) (x : E) : ℂ := + Complex.I * Δ v x - fderiv ℝ v x ((1/2 : ℝ) • x) - + ((a : ℂ)-Complex.I*(b : ℂ))*v x - Complex.I*oddPowerDerivative m (Q x) (v x) + +theorem similarityLinearization_gauge (a b : ℝ) (m : ℕ) (Q u : E → ℂ) + (hQ : ContDiff ℝ ∞ Q) (hu : ContDiff ℝ ∞ u) (x : E) + (hs : stationarySimilarityDefect a b m Q x=0) : + similarityLinearization a b m Q (fun y => Q y*u y) x = + Q x*(Complex.I*Δ u x-fderiv ℝ u x ((1/2 : ℝ) • x))+ + 2*Complex.I*∑ j : Fin 12, + fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j)- + Complex.I*(oddPowerDerivative m (Q x) (Q x*u x)- + oddPowerNonlinearity m (Q x)*u x) := by + have hd : fderiv ℝ (fun y => Q y*u y) x ((1/2 : ℝ) • x)= + Q x*fderiv ℝ u x ((1/2 : ℝ) • x)+ + u x*fderiv ℝ Q x ((1/2 : ℝ) • x) := by + rw [fderiv_fun_mul (hQ.differentiable (by simp) x) (hu.differentiable (by simp) x)] + simp only [add_apply,smul_apply,smul_eq_mul] + have hc := congrArg (fun z : ℂ => Complex.I*z) hs + dsimp only [stationarySimilarityDefect] at hc + simp only [mul_add,mul_sub,← mul_assoc,Complex.I_mul_I,neg_one_mul,mul_zero] at hc + unfold similarityLinearization + rw [laplacian_complex_mul Q u hQ hu,hd] + linear_combination u x*hc + +/-- Division of the gradient by the nonvanishing profile is the only +coefficient introduced by the gauge. -/ +theorem similarityLinearization_logGauge (a b : ℝ) (m : ℕ) (Q u : E → ℂ) + (hQ : ContDiff ℝ ∞ Q) (hu : ContDiff ℝ ∞ u) (x : E) + (hs : stationarySimilarityDefect a b m Q x=0) (hne : Q x≠0) : + similarityLinearization a b m Q (fun y => Q y*u y) x = + Q x*(Complex.I*Δ u x-fderiv ℝ u x ((1/2 : ℝ) • x)+ + 2*Complex.I*∑ j : Fin 12, + (fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j))- + Complex.I*(oddPowerDerivative m (Q x) (Q x*u x)- + oddPowerNonlinearity m (Q x)*u x) := by + rw [similarityLinearization_gauge a b m Q u hQ hu x hs] + have he : Q x*(∑ j : Fin 12, + (fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j))= + ∑ j : Fin 12, fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j) := by + rw [Finset.mul_sum] + apply Finset.sum_congr rfl + intro j _ + field_simp + linear_combination -2*Complex.I*he + +theorem radialMatched_similarityLinearization (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (u : E → ℂ) (hu : ContDiff ℝ ∞ u) (x : E) : + let Q := radialMatchedCartesian n z + similarityLinearization (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) Q (fun y => Q y*u y) x = + Q x*(Complex.I*Δ u x-fderiv ℝ u x ((1/2 : ℝ) • x)+ + 2*Complex.I*∑ j : Fin 12, + (fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j))- + Complex.I*(oddPowerDerivative (n+radialInnerShootingThreshold) (Q x) (Q x*u x)- + oddPowerNonlinearity (n+radialInnerShootingThreshold) (Q x)*u x) := by + intro Q + exact similarityLinearization_logGauge _ _ _ Q u + (radialMatchedCartesian_contDiff n z hX hz) hu x + (radialMatchedCartesian_stationary n z hX hz x) + (radialMatchedProfile_ne_zero n z hX ‖x‖ (norm_nonneg x)) + +/-- The complexification of the weighted scalar Laplace expression. -/ +noncomputable def gaugeWeightedLaplacian (Q u : E → ℂ) (x : E) : ℂ := + Δ u x+2*∑ j : Fin 12, + (((fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x).re : ℝ) : ℂ)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j) + +/-- The complexification of the real transport expression in the profile gauge. -/ +noncomputable def gaugeTransport (Q u : E → ℂ) (x : E) : ℂ := + fderiv ℝ u x ((1/2 : ℝ) • x)+2*∑ j : Fin 12, + (((fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x).im : ℝ) : ℂ)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j) + +theorem similarityLinearization_splitGauge (a b : ℝ) (m : ℕ) (Q u : E → ℂ) + (hQ : ContDiff ℝ ∞ Q) (hu : ContDiff ℝ ∞ u) (x : E) + (hs : stationarySimilarityDefect a b m Q x=0) (hne : Q x≠0) : + similarityLinearization a b m Q (fun y => Q y*u y) x = + Q x*(Complex.I*gaugeWeightedLaplacian Q u x-gaugeTransport Q u x- + Complex.I*((2*(m : ℝ)*‖Q x‖^(2*m)*(u x).re : ℝ) : ℂ)) := by + rw [similarityLinearization_logGauge a b m Q u hQ hu x hs hne] + have hrep : ((u x).re : ℂ)+Complex.I*((u x).im : ℂ)=u x := by + apply Complex.ext <;> simp + have hp := oddPowerDerivative_gauge_real m (Q x) (u x).re (u x).im + rw [hrep] at hp + rw [hp] + have he : (∑ j : Fin 12, + (fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j))= + (∑ j : Fin 12, + (((fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x).re : ℝ) : ℂ)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j))+ + Complex.I*∑ j : Fin 12, + (((fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x).im : ℝ) : ℂ)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j) := by + rw [Finset.mul_sum,← Finset.sum_add_distrib] + apply Finset.sum_congr rfl + intro j _ + have hz : (((fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x).re : ℝ) : ℂ)+ + Complex.I*(((fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x).im : ℝ) : ℂ)= + fderiv ℝ Q x (EuclideanSpace.basisFun (Fin 12) ℝ j)/Q x := by + apply Complex.ext <;> simp + calc + _ = _ := congrArg (fun z : ℂ => z * fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j)) hz.symm + _ = _ := by ring + have halg (q d t r j v : ℂ) : + q*(Complex.I*d-t+2*Complex.I*(r+Complex.I*j))-Complex.I*(v*q)= + q*(Complex.I*(d+2*r)-(t+2*j)-Complex.I*v) := by + ring_nf + simp only [Complex.I_sq] + ring + rw [he] + exact halg _ _ _ _ _ _ + +theorem radialMatched_splitGauge (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (u : E → ℂ) (hu : ContDiff ℝ ∞ u) (x : E) : + let Q := radialMatchedCartesian n z + similarityLinearization (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) Q (fun y => Q y*u y) x = + Q x*(Complex.I*gaugeWeightedLaplacian Q u x-gaugeTransport Q u x- + Complex.I*((‖Q x‖^(2*(n+radialInnerShootingThreshold))/radialShootingA n* + (u x).re : ℝ) : ℂ)) := by + intro Q + rw [similarityLinearization_splitGauge _ _ _ Q u + (radialMatchedCartesian_contDiff n z hX hz) hu x + (radialMatchedCartesian_stationary n z hX hz x) + (radialMatchedProfile_ne_zero n z hX ‖x‖ (norm_nonneg x))] + have he : 2*((n+radialInnerShootingThreshold : ℕ) : ℝ)* + ‖Q x‖^(2*(n+radialInnerShootingThreshold))*(u x).re= + ‖Q x‖^(2*(n+radialInnerShootingThreshold))/radialShootingA n*(u x).re := by + unfold radialShootingA + field_simp + rw [he] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeNonlinearity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeNonlinearity.lean new file mode 100644 index 0000000000000000000000000000000000000000..cfa9059c58fdf1aa05fd0730c09c7bb9ee626340 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeNonlinearity.lean @@ -0,0 +1,47 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedAmplitude + +namespace OAI + +/-! The exact nonlinear term in the amplitude/phase gauge of the spectral equation. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem oddPowerDerivative_gauge (m : ℕ) (Q u : ℂ) : + oddPowerDerivative m Q (Q*u)= + oddPowerNonlinearity m Q*(((m+1 : ℕ) : ℂ)*u+(m : ℂ)*star u) := by + cases m with + | zero => simp [oddPowerDerivative,oddPowerNonlinearity] + | succ m => + simp only [oddPowerDerivative,add_apply,smul_apply,ContinuousLinearMap.id_apply, + ContinuousLinearEquiv.coe_coe,starL'_apply,smul_eq_mul,star_mul,oddPowerNonlinearity, + Nat.succ_sub_one] + simp only [pow_succ,Nat.cast_add,Nat.cast_one] + ring + +theorem oddPowerDerivative_gauge_real (m : ℕ) (Q : ℂ) (f g : ℝ) : + oddPowerDerivative m Q (Q*((f : ℂ)+Complex.I*(g : ℂ)))- + oddPowerNonlinearity m Q*((f : ℂ)+Complex.I*(g : ℂ))= + ((2*(m : ℝ)*‖Q‖^(2*m)*f : ℝ) : ℂ)*Q := by + rw [oddPowerDerivative_gauge,oddPowerNonlinearity_eq] + simp only [map_add,map_mul,Complex.star_def,Complex.conj_ofReal,Complex.conj_I, + Nat.cast_add,Nat.cast_one] + push_cast + ring + +theorem radialMatched_gauge_pressure (n : ℕ) (z : ProfileMatchingBall) (r f g : ℝ) : + let m := n+radialInnerShootingThreshold + let Q := radialMatchedProfile n z r + oddPowerDerivative m Q (Q*((f : ℂ)+Complex.I*(g : ℂ)))- + oddPowerNonlinearity m Q*((f : ℂ)+Complex.I*(g : ℂ))= + ((‖Q‖^(2*m)/radialShootingA n*f : ℝ) : ℂ)*Q := by + intro m Q + rw [oddPowerDerivative_gauge_real] + congr 2 + unfold radialShootingA + change 2*(m : ℝ)*‖Q‖^(2*m)*f=‖Q‖^(2*m)/(1/(2*(m : ℝ)))*f + field_simp + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeTransport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeTransport.lean new file mode 100644 index 0000000000000000000000000000000000000000..9aef1c947fe11746a20a190179ff2ebcced41322 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGaugeTransport.lean @@ -0,0 +1,104 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialGaugeLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianDeformation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorVelocity + +namespace OAI + +/-! Identification of the gauged transport with the actual positive radial field. -/ + +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialComplex_fderiv (q : ℝ → ℂ) (x v : E) (hx : x≠0) + (hq : DifferentiableAt ℝ q ‖x‖) : + fderiv ℝ (fun y : E => q ‖y‖) x v= + ((inner ℝ x v/‖x‖ : ℝ) : ℂ)*deriv q ‖x‖ := by + have hn := (contDiffAt_norm ℝ hx (n := 1)).differentiableAt one_ne_zero + have hd := hq.hasFDerivAt.comp x hn.hasFDerivAt + change HasFDerivAt (fun y : E => q ‖y‖) _ x at hd + rw [hd.fderiv] + simp only [ContinuousLinearMap.comp_apply,fderiv_eq_smul_deriv, + Complex.real_smul] + rw [radial_norm_fderiv_apply x v hx] + +theorem radialComplex_fderiv_zero (q : ℝ → ℂ) + (hq : DifferentiableAt ℝ (fun y : E => q ‖y‖) 0) : + fderiv ℝ (fun y : E => q ‖y‖) 0=0 := by + let f : E → ℂ := fun y => q ‖y‖ + have hq' : HasFDerivAt f (fderiv ℝ f 0) ((-id) (0 : E)) := by + simpa only [Pi.neg_apply,id_eq,neg_zero] using hq.hasFDerivAt + have hn := hq'.comp (0 : E) ((hasFDerivAt_id (0 : E)).neg) + have he : (fun y : E => f (-y))=f := by + funext y + simp [f] + change HasFDerivAt (fun y => f (-y)) _ 0 at hn + rw [he] at hn + have hd := congrArg (fun L : E →L[ℝ] ℂ => L) hn.fderiv + ext v + have hv := congrArg (fun L : E →L[ℝ] ℂ => L v) hd + simp only [ContinuousLinearMap.comp_apply,neg_apply,ContinuousLinearMap.id_apply, + map_neg] at hv + change fderiv ℝ f 0 v=0 + linear_combination hv/2 + +theorem basis_inner_derivative_sum (u : E → ℂ) (x : E) : + (∑ j : Fin 12, ((inner ℝ x (EuclideanSpace.basisFun (Fin 12) ℝ j) : ℝ) : ℂ)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j))=fderiv ℝ u x x := by + have he := congrArg (fderiv ℝ u x) ((EuclideanSpace.basisFun (Fin 12) ℝ).sum_repr' x) + simpa only [map_sum,map_smul,Complex.real_smul,real_inner_comm] using he + +theorem radialMatched_gaugeTransport (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (u : E → ℂ) (x : E) : + gaugeTransport (radialMatchedCartesian n z) u x= + fderiv ℝ u x (radialMatchedVectorField n z x) := by + let Q := radialMatchedProfile n z + by_cases hx : x=0 + · subst x + have hd := radialComplex_fderiv_zero Q + ((radialMatchedCartesian_contDiff n z hX hz).differentiable (by simp) 0) + change fderiv ℝ (radialMatchedCartesian n z) 0=0 at hd + simp [gaugeTransport,hd,radialMatchedVectorField] + · have hr : 0 < ‖x‖ := norm_pos_iff.mpr hx + have hd (v : E) : fderiv ℝ (radialMatchedCartesian n z) x v= + ((inner ℝ x v/‖x‖ : ℝ) : ℂ)*deriv Q ‖x‖ := + radialComplex_fderiv Q x v hx (radialMatchedProfile_differentiable n z hX hz ‖x‖) + have hcoef (j : Fin 12) : + ((fderiv ℝ (radialMatchedCartesian n z) x + (EuclideanSpace.basisFun (Fin 12) ℝ j)/radialMatchedCartesian n z x).im : ℝ)= + (deriv Q ‖x‖/Q ‖x‖).im/‖x‖* + inner ℝ x (EuclideanSpace.basisFun (Fin 12) ℝ j) := by + rw [hd] + change ((((inner ℝ x _/‖x‖ : ℝ) : ℂ)*deriv Q ‖x‖)/Q ‖x‖).im=_ + rw [mul_div_assoc] + simp only [Complex.mul_im,Complex.ofReal_re,Complex.ofReal_im,zero_mul,add_zero] + ring + have hs : (∑ j : Fin 12, + (((fderiv ℝ (radialMatchedCartesian n z) x + (EuclideanSpace.basisFun (Fin 12) ℝ j)/radialMatchedCartesian n z x).im : ℝ) : ℂ)* + fderiv ℝ u x (EuclideanSpace.basisFun (Fin 12) ℝ j))= + (((deriv Q ‖x‖/Q ‖x‖).im/‖x‖ : ℝ) : ℂ)*fderiv ℝ u x x := by + simp_rw [hcoef,Complex.ofReal_mul,mul_assoc] + rw [← Finset.mul_sum,basis_inner_derivative_sum] + have hw := radialMatchedVelocity_formula n z hX hz ‖x‖ hr + rw [mul_div_assoc,← complex_logDerivative_im] at hw + change ‖x‖/2+2*(deriv Q ‖x‖/Q ‖x‖).im= + ‖x‖*radialVelocityRatio (6-2*radialShootingA n) (fun r => ‖Q r‖) ‖x‖ at hw + have hratio : (1/2 : ℝ)+2*((deriv Q ‖x‖/Q ‖x‖).im/‖x‖)= + radialVelocityRatio (6-2*radialShootingA n) (fun r => ‖Q r‖) ‖x‖ := by + apply (mul_left_cancel₀ hr.ne') + convert hw using 1 + field_simp + unfold gaugeTransport + rw [hs] + simp only [radialMatchedVectorField,map_smul,Complex.real_smul] + rw [← hratio] + push_cast + ring + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..bd39bfaf68adb9395226547f00b4a1bf925e4ac6 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenBoundary.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialVelocityCalculus + +namespace OAI + +/-! Weighted Green integration retaining the outer boundary term. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_Green_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) + (f g : ℝ → ℝ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 1 g) : + (∫ r in (0 : ℝ)..R, g r*radialMassLaplacian n z f r)= + (∫ r in (0 : ℝ)..R, radialMassDensity n z r*deriv g r*deriv f r)- + radialMassDensity n z R*g R*deriv f R := by + have hM := radialMassDensity_continuous n z hX hz + have hS := radialMassSlope_continuousOn n z hX hz R + have hfd : ContDiff ℝ 1 (deriv f) := hf.deriv' + have h1 := hf.continuous_deriv (by norm_num) + have h2 := hfd.continuous_deriv_one + have hL : ContinuousOn (radialMassLaplacian n z f) (Icc 0 R) := + ((hM.continuousOn.mul h2.continuousOn).add (hS.mul h1.continuousOn)).neg + have hAi : IntervalIntegrable (fun r => radialMassDensity n z r*deriv g r*deriv f r) + MeasureTheory.volume 0 R := ((hM.mul hg.continuous_deriv_one).mul h1).intervalIntegrable + (μ := MeasureTheory.volume) 0 R + have hBi : IntervalIntegrable (fun r => g r*radialMassLaplacian n z f r) + MeasureTheory.volume 0 R := (hg.continuous.continuousOn.mul hL).intervalIntegrable_of_Icc + (μ := MeasureTheory.volume) hR + have hder (r : ℝ) : HasDerivAt + (fun t => radialMassDensity n z t*g t*deriv f t) + (radialMassDensity n z r*deriv g r*deriv f r-g r*radialMassLaplacian n z f r) r := by + have h := ((radialMassDensity_hasDerivAt n z hX hz r).mul + (hg.differentiable (by norm_num) r).hasDerivAt).mul + (hfd.differentiable (by norm_num) r).hasDerivAt + apply h.congr_deriv + unfold radialMassLaplacian + simp only [Pi.mul_apply] + ring + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun r _ => hder r) (hAi.sub hBi) + have hzero : radialMassDensity n z 0=0 := by simp [radialMassDensity] + simp only [hzero,zero_mul,sub_zero] at he + rw [intervalIntegral.integral_sub hAi hBi] at he + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenEnergy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenEnergy.lean new file mode 100644 index 0000000000000000000000000000000000000000..580b08285cbb589b7a91b848a81dab827f5e8050 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenEnergy.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMassDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialTransportIntegration + +namespace OAI + +/-! The exact radial weighted Green identity for the matched profile. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +/-- The mass density times the scalar weighted Laplace operator, in its +nonsingular divergence form. -/ +noncomputable def radialMassLaplacian (n : ℕ) (z : ProfileMatchingBall) + (f : ℝ → ℝ) (r : ℝ) : ℝ := + -(radialMassDensity n z r*deriv (deriv f) r+radialMassSlope n z r*deriv f r) + +theorem radialMassLaplacian_logarithmic (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (f : ℝ → ℝ) (r : ℝ) (hr : 0 < r) : + radialMassLaplacian n z f r=radialMassDensity n z r* + (-deriv (deriv f) r-(11/r+2*(deriv (radialMatchedProfile n z) r/ + radialMatchedProfile n z r).re)*deriv f r) := by + unfold radialMassLaplacian + rw [radialMassSlope_logarithmic n z hX r hr] + ring + +theorem radialMatched_Green_bilinear (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) + (f g : ℝ → ℝ) (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 1 g) (hgR : g R=0) : + (∫ r in (0 : ℝ)..R, g r*radialMassLaplacian n z f r)= + ∫ r in (0 : ℝ)..R, radialMassDensity n z r*deriv g r*deriv f r := by + have hM := radialMassDensity_continuous n z hX hz + have hS := radialMassSlope_continuousOn n z hX hz R + have hfd : ContDiff ℝ 1 (deriv f) := hf.deriv' + have h1 := hf.continuous_deriv (by norm_num) + have h2 := hfd.continuous_deriv_one + have hL : ContinuousOn (radialMassLaplacian n z f) (Icc 0 R) := + ((hM.continuousOn.mul h2.continuousOn).add (hS.mul h1.continuousOn)).neg + have hAi := ((hM.mul hg.continuous_deriv_one).mul h1).intervalIntegrable + (μ := MeasureTheory.volume) 0 R + have hBi := (hg.continuous.continuousOn.mul hL).intervalIntegrable_of_Icc + (μ := MeasureTheory.volume) hR + have hder (r : ℝ) : HasDerivAt + (fun t => radialMassDensity n z t*g t*deriv f t) + (radialMassDensity n z r*deriv g r*deriv f r-g r*radialMassLaplacian n z f r) r := by + have h := ((radialMassDensity_hasDerivAt n z hX hz r).mul + (hg.differentiable (by norm_num) r).hasDerivAt).mul + (hfd.differentiable (by norm_num) r).hasDerivAt + apply h.congr_deriv + unfold radialMassLaplacian + simp only [Pi.mul_apply] + ring + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun r _ => hder r) (hAi.sub hBi) + simp only [hgR,mul_zero,zero_mul,radialMassDensity, + zero_pow (by norm_num : (11 : ℕ)≠0),sub_zero] at he + change (∫ r in (0 : ℝ)..R, + (radialMassDensity n z * deriv g * deriv f) r-(g * radialMassLaplacian n z f) r)=0 at he + rw [intervalIntegral.integral_sub hAi hBi] at he + exact (sub_eq_zero.mp he).symm + +theorem radialMatched_Green_energy (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 ≤ R) + (f : ℝ → ℝ) (hf : ContDiff ℝ 2 f) (hfR : f R=0) : + (∫ r in (0 : ℝ)..R, f r*radialMassLaplacian n z f r)= + ∫ r in (0 : ℝ)..R, radialMassDensity n z r*(deriv f r)^2 := by + simpa only [pow_two,mul_assoc] using radialMatched_Green_bilinear n z hX hz R hR f f hf + (hf.of_le (by norm_num)) hfR + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenOperator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenOperator.lean new file mode 100644 index 0000000000000000000000000000000000000000..5f4b39bfae9e8f4cabd14735f762c2d782eca96d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenOperator.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialDirichletLinearity +import Mathlib.Topology.ContinuousMap.Bounded.Normed + +namespace OAI + +/-! The radial Dirichlet inverse as a bounded positive operator. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +def radialClamp (R r : ℝ) : ℝ := max 0 (min R r) + +theorem continuous_radialClamp (R : ℝ) : Continuous (radialClamp R) := by + unfold radialClamp + fun_prop + +theorem radialClamp_mem (R r : ℝ) (hR : 0 ≤ R) : radialClamp R r ∈ Icc 0 R := by + exact ⟨le_max_left _ _,max_le hR (min_le_left _ _)⟩ + +theorem radialClamp_eq (R r : ℝ) (hr : r ∈ Icc 0 R) : radialClamp R r=r := by + simp only [radialClamp,min_eq_right hr.2,max_eq_right hr.1] + +theorem bounded_radialDirichletKernel (R : ℝ) (hR : 0 ≤ R) (f : ℝ →ᵇ ℝ) (r : ℝ) : + ‖radialDirichletKernel R f (radialClamp R r)‖ ≤ (R^2/24)*‖f‖ := by + obtain ⟨hr,hrR⟩ := radialClamp_mem R r hR + calc + _ ≤ ‖f‖*(R^2-(radialClamp R r)^2)/24 := + radialDirichletKernel_norm_le f R ‖f‖ _ hr hrR (fun t _ => f.norm_coe_le_norm t) + _ ≤ ‖f‖*R^2/24 := by + gcongr + exact sub_le_self _ (sq_nonneg _) + _ = _ := by ring + +noncomputable def boundedRadialGreen (R : ℝ) (hR : 0 ≤ R) (f : ℝ →ᵇ ℝ) : ℝ →ᵇ ℝ := + BoundedContinuousFunction.ofNormedAddCommGroup + (fun r => radialDirichletKernel R f (radialClamp R r)) + ((continuous_radialDirichletKernel R f f.continuous).comp (continuous_radialClamp R)) + ((R^2/24)*‖f‖) (bounded_radialDirichletKernel R hR f) + +theorem boundedRadialGreen_norm (R : ℝ) (hR : 0 ≤ R) (f : ℝ →ᵇ ℝ) : + ‖boundedRadialGreen R hR f‖ ≤ (R^2/24)*‖f‖ := by + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + exact bounded_radialDirichletKernel R hR f + +noncomputable def radialGreenOperator (R : ℝ) (hR : 0 ≤ R) : (ℝ →ᵇ ℝ) →L[ℝ] (ℝ →ᵇ ℝ) := + LinearMap.mkContinuous + { toFun := boundedRadialGreen R hR + map_add' := by + intro f g + apply BoundedContinuousFunction.ext + intro r + exact radialDirichletKernel_add R _ f g f.continuous g.continuous + map_smul' := by + intro c f + apply BoundedContinuousFunction.ext + intro r + exact radialDirichletKernel_smul R _ c f } + (R^2/24) (boundedRadialGreen_norm R hR) + +theorem radialGreenOperator_apply (R r : ℝ) (hR : 0 ≤ R) (f : ℝ →ᵇ ℝ) : + radialGreenOperator R hR f r=radialDirichletKernel R f (radialClamp R r) := rfl + +theorem radialGreenOperator_nonneg (R : ℝ) (hR : 0 ≤ R) (f : ℝ →ᵇ ℝ) + (hf : ∀ r ∈ Icc 0 R, 0 ≤ f r) (r : ℝ) : + 0 ≤ radialGreenOperator R hR f r := by + obtain ⟨hr,hrR⟩ := radialClamp_mem R r hR + exact radialDirichletKernel_nonneg R _ f hr hrR hf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenResolvent.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenResolvent.lean new file mode 100644 index 0000000000000000000000000000000000000000..7ab0de96dbdb39d3817aeac51c3cad6692537826 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialGreenResolvent.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialGreenOperator +import Mathlib.Topology.MetricSpace.Contracting + +namespace OAI + +/-! The positive inverse of `-Δ-1/2` on the small radial ball. -/ + +open Set Filter Topology +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_radialGreenResolvent (R : ℝ) (hR : 0 ≤ R) (hR2 : R^2 ≤ 11) + (f : ℝ →ᵇ ℝ) : + ∃ u : ℝ →ᵇ ℝ, + u = radialGreenOperator R hR f+(1/2 : ℝ) • radialGreenOperator R hR u ∧ + ‖u‖ ≤ (22/37 : ℝ)*‖f‖ ∧ + ((∀ r ∈ Icc 0 R, 0 ≤ f r) → ∀ r, 0 ≤ u r) := by + let K := radialGreenOperator R hR + have hK (g : ℝ →ᵇ ℝ) : ‖K g‖ ≤ (11/24 : ℝ)*‖g‖ := by + exact (boundedRadialGreen_norm R hR g).trans + (mul_le_mul_of_nonneg_right (div_le_div_of_nonneg_right hR2 (by norm_num)) (norm_nonneg g)) + let P : (ℝ →ᵇ ℝ) → (ℝ →ᵇ ℝ) := fun u => K f+(1/2 : ℝ) • K u + let c : NNReal := ⟨11/48, by norm_num⟩ + have hP : ContractingWith c P := by + refine ⟨by change (11/48 : ℝ)<1; norm_num,LipschitzWith.of_dist_le_mul ?_⟩ + intro u v + change dist (K f+(1/2 : ℝ) • K u) (K f+(1/2 : ℝ) • K v) ≤ _ + rw [dist_eq_norm,add_sub_add_left_eq_sub] + rw [← smul_sub (1/2 : ℝ) (K u) (K v),← map_sub,norm_smul] + norm_num only [Real.norm_eq_abs,abs_of_pos (by norm_num : (0 : ℝ)<1/2),NNReal.coe_div, + NNReal.coe_ofNat,c] + calc + (1/2 : ℝ)*‖K (u-v)‖ ≤ (1/2)*((11/24)*‖u-v‖) := + mul_le_mul_of_nonneg_left (hK _) (by norm_num) + _ = (11/48)*dist u v := by rw [dist_eq_norm]; ring + let u := hP.fixedPoint P + have hu : P u=u := hP.fixedPoint_isFixedPt + refine ⟨u,hu.symm,?_,?_⟩ + · have hn : ‖u‖ ≤ (11/24 : ℝ)*‖f‖+(11/48 : ℝ)*‖u‖ := by + calc + ‖u‖ = ‖K f+(1/2 : ℝ) • K u‖ := congrArg norm hu.symm + _ ≤ ‖K f‖+‖(1/2 : ℝ) • K u‖ := norm_add_le _ _ + _ = ‖K f‖+(1/2)*‖K u‖ := by rw [norm_smul]; norm_num + _ ≤ (11/24)*‖f‖+(1/2)*((11/24)*‖u‖) := by gcongr <;> apply hK + _ = _ := by ring + linarith + · intro hf r + have hi : ∀ n : ℕ, ∀ x : ℝ, 0 ≤ (P^[n] 0) x := by + intro n + induction n with + | zero => intro x; simp + | succ n hn => + intro x + rw [Function.iterate_succ_apply'] + change 0 ≤ K f x+(1/2 : ℝ)*K (P^[n] 0) x + exact add_nonneg (radialGreenOperator_nonneg R hR f hf x) + (mul_nonneg (by norm_num) + (radialGreenOperator_nonneg R hR (P^[n] 0) (fun y _ => hn y) x)) + have ht : Tendsto (fun n => (P^[n] 0) r) atTop (𝓝 (u r)) := + ((BoundedContinuousFunction.lipschitz_eval_const r).continuous.continuousAt.tendsto).comp (hP.tendsto_iterate_fixedPoint 0) + exact ge_of_tendsto ht (Eventually.of_forall (fun n => hi n r)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..65fd4440b0e998f05ed1b3bdf4bd0070797dd9a8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyBoundary.lean @@ -0,0 +1,78 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialHardyInequality + +namespace OAI + +/-! The uniform Hardy inequality with its outgoing boundary trace retained. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS + +theorem radialHardyInequality_boundary (a R : ℝ) (ha : 0 ≤ a) (ha1 : a ≤ 1/2) + (hR : 0 ≤ R) (f : ℝ → ℝ) (hf : ContDiff ℝ 1 f) : + 16*(∫ r in (0 : ℝ)..R, r^9*radialHardyWeight a r*(f r)^2) ≤ + (∫ r in (0 : ℝ)..R, r^11*radialHardyWeight a r*(deriv f r)^2)+ + 4*radialHardyFlux a R*(f R)^2 := by + let A : ℝ → ℝ := fun r => r^9*radialHardyWeight a r*(f r)^2 + let B : ℝ → ℝ := fun r => r^11*radialHardyWeight a r*(deriv f r)^2 + let C : ℝ → ℝ := fun r => radialHardyFlux a r*f r*deriv f r + let D : ℝ → ℝ := fun r => deriv (radialHardyFlux a) r*(f r)^2 + have hρ := radialHardyWeight_continuous a + have hfd := hf.continuous_deriv_one + have hwd := radialHardyFlux_deriv_continuous a + have hw : Continuous (radialHardyFlux a) := by + unfold radialHardyFlux + fun_prop + have hA : Continuous A := by dsimp [A]; fun_prop + have hB : Continuous B := by dsimp [B]; fun_prop + have hC : Continuous C := by dsimp [C]; fun_prop + have hD : Continuous D := by dsimp [D]; fun_prop + have hAi := hA.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hBi := hB.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hCi := hC.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hDi := hD.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hboundary : (∫ r in (0 : ℝ)..R, D r+2*C r)=radialHardyFlux a R*(f R)^2 := by + have hder (r : ℝ) : HasDerivAt (fun t => radialHardyFlux a t*(f t)^2) + (D r+2*C r) r := by + have hh := (radialHardyFlux_hasDerivAt a r).mul + (((hf.differentiable (by norm_num) r).hasDerivAt).pow 2) + apply hh.congr_deriv + dsimp [D,C] + rw [(radialHardyFlux_hasDerivAt a r).deriv] + norm_num only [Nat.cast_ofNat,Nat.reduceSub,pow_one] + ring + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun r _ => hder r) (hDi.add (hCi.const_mul 2)) + simpa only [radialHardyFlux_zero,zero_mul,sub_zero] using he + have hboundary' : (∫ r in (0 : ℝ)..R, D r)+2*(∫ r in (0 : ℝ)..R, C r)=radialHardyFlux a R*(f R)^2 := by + rw [intervalIntegral.integral_add hDi (hCi.const_mul 2), + intervalIntegral.integral_const_mul] at hboundary + exact hboundary + have hmono : 8*(∫ r in (0 : ℝ)..R, A r) ≤ ∫ r in (0 : ℝ)..R, D r := by + have hm := intervalIntegral.integral_mono_on hR (hAi.const_mul 8) hDi + (fun r hr => show 8*A r ≤ D r from by + dsimp [A,D] + have hh := mul_le_mul_of_nonneg_right (radialHardyFlux_deriv_lower a r ha ha1 hr.1) + (sq_nonneg (f r)) + nlinarith [hh]) + simpa only [intervalIntegral.integral_const_mul] using hm + have hnonneg : 0 ≤ ∫ r in (0 : ℝ)..R, (B r+8*C r)+16*A r := by + apply intervalIntegral.integral_nonneg hR + intro r hr + have hh := mul_nonneg + (mul_nonneg (pow_nonneg hr.1 9) (radialHardyWeight_pos a r).le) + (sq_nonneg (r*deriv f r+4*f r)) + dsimp [A,B,C,radialHardyFlux] + convert hh using 1 + ring + rw [intervalIntegral.integral_add (hBi.add (hCi.const_mul 8)) (hAi.const_mul 16), + intervalIntegral.integral_add hBi (hCi.const_mul 8), + intervalIntegral.integral_const_mul,intervalIntegral.integral_const_mul] at hnonneg + change 16*(∫ r in (0 : ℝ)..R, A r) ≤ + (∫ r in (0 : ℝ)..R, B r)+4*radialHardyFlux a R*(f R)^2 + linarith + + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyInequality.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyInequality.lean new file mode 100644 index 0000000000000000000000000000000000000000..9267687c2930d0b2ef4f59a8e9c736a27bab8cd9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyInequality.lean @@ -0,0 +1,93 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialHardyWeight +import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus +import Mathlib.Analysis.Calculus.ContDiff.Deriv + +namespace OAI + +/-! A Hardy inequality with the exact radial weight, uniform for small powers. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS + +theorem radialHardyFlux_deriv_continuous (a : ℝ) : + Continuous (deriv (radialHardyFlux a)) := by + have he : deriv (radialHardyFlux a)=fun r => + r^9*radialHardyWeight a r*(10-4*a*r^2/(1+r^2)) := by + funext r + exact (radialHardyFlux_hasDerivAt a r).deriv + rw [he] + have hρ := radialHardyWeight_continuous a + have hc : Continuous (fun r : ℝ => 4*a*r^2/(1+r^2)) := + ((continuous_const.mul continuous_const).mul (continuous_id.pow 2)).div + (continuous_const.add (continuous_id.pow 2)) (fun r => by positivity) + exact ((continuous_id.pow 9).mul hρ).mul (continuous_const.sub hc) + +/-- The twelve-dimensional radial Hardy estimate, with an explicit uniform +constant. The boundary condition is exactly the one used for cutoff tests. -/ +theorem radialHardyInequality (a R : ℝ) (ha : 0 ≤ a) (ha1 : a ≤ 1/2) + (hR : 0 ≤ R) (f : ℝ → ℝ) (hf : ContDiff ℝ 1 f) (hfR : f R=0) : + 16*(∫ r in (0 : ℝ)..R, r^9*radialHardyWeight a r*(f r)^2) ≤ + ∫ r in (0 : ℝ)..R, r^11*radialHardyWeight a r*(deriv f r)^2 := by + let A : ℝ → ℝ := fun r => r^9*radialHardyWeight a r*(f r)^2 + let B : ℝ → ℝ := fun r => r^11*radialHardyWeight a r*(deriv f r)^2 + let C : ℝ → ℝ := fun r => radialHardyFlux a r*f r*deriv f r + let D : ℝ → ℝ := fun r => deriv (radialHardyFlux a) r*(f r)^2 + have hρ := radialHardyWeight_continuous a + have hfd := hf.continuous_deriv_one + have hwd := radialHardyFlux_deriv_continuous a + have hw : Continuous (radialHardyFlux a) := by + unfold radialHardyFlux + fun_prop + have hA : Continuous A := by dsimp [A]; fun_prop + have hB : Continuous B := by dsimp [B]; fun_prop + have hC : Continuous C := by dsimp [C]; fun_prop + have hD : Continuous D := by dsimp [D]; fun_prop + have hAi := hA.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hBi := hB.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hCi := hC.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hDi := hD.intervalIntegrable (μ := MeasureTheory.volume) (a := (0 : ℝ)) (b := R) + have hboundary : (∫ r in (0 : ℝ)..R, D r+2*C r)=0 := by + have hder (r : ℝ) : HasDerivAt (fun t => radialHardyFlux a t*(f t)^2) + (D r+2*C r) r := by + have hh := (radialHardyFlux_hasDerivAt a r).mul + (((hf.differentiable (by norm_num) r).hasDerivAt).pow 2) + apply hh.congr_deriv + dsimp [D,C] + rw [(radialHardyFlux_hasDerivAt a r).deriv] + norm_num only [Nat.cast_ofNat,Nat.reduceSub,pow_one] + ring + have he := intervalIntegral.integral_eq_sub_of_hasDerivAt + (fun r _ => hder r) (hDi.add (hCi.const_mul 2)) + simpa only [hfR,zero_pow (by norm_num : (2 : ℕ)≠0),mul_zero, + radialHardyFlux_zero,zero_mul,sub_zero] using he + have hboundary' : (∫ r in (0 : ℝ)..R, D r)+2*(∫ r in (0 : ℝ)..R, C r)=0 := by + rw [intervalIntegral.integral_add hDi (hCi.const_mul 2), + intervalIntegral.integral_const_mul] at hboundary + exact hboundary + have hmono : 8*(∫ r in (0 : ℝ)..R, A r) ≤ ∫ r in (0 : ℝ)..R, D r := by + have hm := intervalIntegral.integral_mono_on hR (hAi.const_mul 8) hDi + (fun r hr => show 8*A r ≤ D r from by + dsimp [A,D] + have hh := mul_le_mul_of_nonneg_right (radialHardyFlux_deriv_lower a r ha ha1 hr.1) + (sq_nonneg (f r)) + nlinarith [hh]) + simpa only [intervalIntegral.integral_const_mul] using hm + have hnonneg : 0 ≤ ∫ r in (0 : ℝ)..R, (B r+8*C r)+16*A r := by + apply intervalIntegral.integral_nonneg hR + intro r hr + have hh := mul_nonneg + (mul_nonneg (pow_nonneg hr.1 9) (radialHardyWeight_pos a r).le) + (sq_nonneg (r*deriv f r+4*f r)) + dsimp [A,B,C,radialHardyFlux] + convert hh using 1 + ring + rw [intervalIntegral.integral_add (hBi.add (hCi.const_mul 8)) (hAi.const_mul 16), + intervalIntegral.integral_add hBi (hCi.const_mul 8), + intervalIntegral.integral_const_mul,intervalIntegral.integral_const_mul] at hnonneg + change 16*(∫ r in (0 : ℝ)..R, A r) ≤ ∫ r in (0 : ℝ)..R, B r + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyWeight.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyWeight.lean new file mode 100644 index 0000000000000000000000000000000000000000..7ee18ce6e920a870fbffd276bdaaa07fb41e12a1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialHardyWeight.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightComparison +import Mathlib.Analysis.SpecialFunctions.Pow.Deriv + +namespace OAI + +/-! The radial Hardy weight in dimension twelve, with its exact flux derivative. -/ + +open scoped ContDiff +namespace DefocusingNLS + +noncomputable def radialHardyWeight (a r : ℝ) : ℝ := (1+r^2)^(-2*a) + +noncomputable def radialHardyFlux (a r : ℝ) : ℝ := r^10*radialHardyWeight a r + +theorem radialHardyWeight_pos (a r : ℝ) : 0 < radialHardyWeight a r := + Real.rpow_pos_of_pos (by positivity) _ + +theorem radialHardyWeight_hasDerivAt (a r : ℝ) : + HasDerivAt (radialHardyWeight a) + (-4*a*r/(1+r^2)*radialHardyWeight a r) r := by + have hb : 0 < 1+r^2 := by positivity + have h := (((hasDerivAt_id r).pow 2).const_add 1).rpow_const + (p := -2*a) (Or.inl hb.ne') + apply h.congr_deriv + simp only [Pi.pow_apply,id_eq,Nat.cast_ofNat,Nat.reduceSub,pow_one,mul_one, + Real.rpow_sub_one hb.ne'] + unfold radialHardyWeight + ring + +theorem radialHardyWeight_continuous (a : ℝ) : Continuous (radialHardyWeight a) := + continuous_iff_continuousAt.mpr (fun r => (radialHardyWeight_hasDerivAt a r).continuousAt) + +theorem radialHardyFlux_hasDerivAt (a r : ℝ) : + HasDerivAt (radialHardyFlux a) + (r^9*radialHardyWeight a r*(10-4*a*r^2/(1+r^2))) r := by + have h := ((hasDerivAt_id r).pow 10).mul (radialHardyWeight_hasDerivAt a r) + apply h.congr_deriv + norm_num only [Pi.pow_apply,id_eq,Nat.cast_ofNat,Nat.reduceSub,one_mul,mul_one] + ring + +theorem radialHardyFlux_deriv_lower (a r : ℝ) (_ha : 0 ≤ a) (ha1 : a ≤ 1/2) + (hr : 0 ≤ r) : + 8*r^9*radialHardyWeight a r ≤ deriv (radialHardyFlux a) r := by + rw [(radialHardyFlux_hasDerivAt a r).deriv] + have hb : 0 < 1+r^2 := by positivity + have hq : 4*a*r^2/(1+r^2) ≤ 2 := by + apply (div_le_iff₀ hb).mpr + nlinarith [sq_nonneg r,mul_nonneg (show 0 ≤ 2-4*a by linarith) (sq_nonneg r)] + have hm := mul_le_mul_of_nonneg_left (show 8 ≤ 10-4*a*r^2/(1+r^2) by linarith) + (mul_nonneg (pow_nonneg hr 9) (radialHardyWeight_pos a r).le) + nlinarith + +theorem radialHardyFlux_zero (a : ℝ) : radialHardyFlux a 0=0 := by + simp [radialHardyFlux] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..197b4ea8f0622e7a7e2e89e36db12e98ef4a1a9f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialEquation.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInitialValueExistence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialVolterraCalculus + +namespace OAI + +/-! The constructed fixed point solves the radial amplitude equation with its initial data. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +theorem exists_radialInitialEquation (R a₀ L M : ℝ) (hR : 0 ≤ R) + (hL : 0 ≤ L) (hM : 0 ≤ M) (N : ℝ → ℝ → ℝ) + (hN : Continuous (Function.uncurry N)) + (hBound : ∀ t ∈ Icc 0 R, ∀ x : ℝ, ‖N t x‖ ≤ M) + (hLip : ∀ t ∈ Icc 0 R, ∀ x y : ℝ, ‖N t x-N t y‖ ≤ L*‖x-y‖) : + ∃ A : ℝ → ℝ, Continuous A ∧ A 0=a₀ ∧ HasDerivAt A 0 0 ∧ + (∀ r ∈ Icc 0 R, A r=a₀+radialVolterra (fun t => N t (A t)) r) ∧ + (∀ r ∈ Ioo 0 R, deriv (deriv A) r+11/r*deriv A r=N r (A r)) := by + obtain ⟨v,hv,-⟩ := existsUnique_radialInitialPicard R a₀ L M hR hL hM N hN hBound hLip + let η := 1+L*R + let f := radialInitialForcing R η N v + have hf : Continuous f := continuous_radialInitialForcing R η N hN v + let A : ℝ → ℝ := fun r => a₀+radialVolterra f r + have hd (r : ℝ) : HasDerivAt A (r*radialAverage f r) r := by + convert! (hasDerivAt_radialVolterra f hf r).const_add a₀ using 1 + have he (r : ℝ) (hr : r ∈ Icc 0 R) : + A r=Real.exp (η*r)*v r := by + rw [hv r] + simp only [radialInitialPicard,radialClamp_eq R r hr] + change a₀+radialVolterra f r=Real.exp (η*r)* + (Real.exp (-η*r)*(a₀+radialVolterra f r)) + rw [← mul_assoc,← Real.exp_add] + ring_nf + simp only [Real.exp_zero,mul_one] + have heq : EqOn f (fun t => N t (A t)) (Icc 0 R) := by + intro r hr + dsimp only [f,radialInitialForcing] + rw [radialClamp_eq R r hr,he r hr] + refine ⟨A,?_,?_,?_,?_,?_⟩ + · exact (show Differentiable ℝ A from fun r => (hd r).differentiableAt).continuous + · simp only [A,radialVolterra_zero,add_zero] + · simpa only [zero_mul] using hd 0 + · intro r hr + change a₀+radialVolterra f r=a₀+radialVolterra (fun t => N t (A t)) r + rw [radialVolterra_congr f _ r hr.1 (fun t ht => heq ⟨ht.1,ht.2.trans hr.2⟩)] + · intro r hr + have hderiv : deriv A=deriv (radialVolterra f) := by + funext t + exact (hd t).deriv.trans (hasDerivAt_radialVolterra f hf t).deriv.symm + rw [hderiv,radialVolterra_radial_equation f hf r hr.1.ne'] + exact heq ⟨hr.1.le,hr.2.le⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialValueExistence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialValueExistence.lean new file mode 100644 index 0000000000000000000000000000000000000000..bb179f11601755e0add073eb5f93d2caa7ed438e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialValueExistence.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInitialValueMap +import Mathlib.Topology.MetricSpace.Contracting + +namespace OAI + +/-! Existence and uniqueness for the truncated radial amplitude shooting equation. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def boundedRadialInitialPicard (R η a₀ M : ℝ) + (hR : 0 ≤ R) (hη : 0 ≤ η) (hM : 0 ≤ M) (N : ℝ → ℝ → ℝ) + (hN : Continuous (Function.uncurry N)) + (hBound : ∀ t ∈ Icc 0 R, ∀ x : ℝ, ‖N t x‖ ≤ M) + (v : ℝ →ᵇ ℝ) : ℝ →ᵇ ℝ := + BoundedContinuousFunction.ofNormedAddCommGroup (radialInitialPicard R η a₀ N v) + (continuous_radialInitialPicard R η a₀ N hN v) (‖a₀‖+M*R^2/24) + (radialInitialPicard_bound R η a₀ M hR hη hM N hBound v) + +theorem radialInitialPicard_contracting (R a₀ L M : ℝ) (hR : 0 ≤ R) + (hL : 0 ≤ L) (hM : 0 ≤ M) (N : ℝ → ℝ → ℝ) + (hN : Continuous (Function.uncurry N)) + (hBound : ∀ t ∈ Icc 0 R, ∀ x : ℝ, ‖N t x‖ ≤ M) + (hLip : ∀ t ∈ Icc 0 R, ∀ x y : ℝ, ‖N t x-N t y‖ ≤ L*‖x-y‖) : + ContractingWith ⟨1/12, by norm_num⟩ + (boundedRadialInitialPicard R (1+L*R) a₀ M hR + (by positivity) hM N hN hBound) := by + have hη : 0 < 1+L*R := by positivity + have hc : L*R/(12*(1+L*R)) ≤ (1/12 : ℝ) := by + apply (div_le_iff₀ (by positivity : 0 < 12*(1+L*R))).2 + linarith + refine ⟨by change (1/12 : ℝ) < 1; norm_num,LipschitzWith.of_dist_le_mul ?_⟩ + intro u v + rw [dist_eq_norm,dist_eq_norm] + change ‖_‖ ≤ (1/12 : ℝ)*‖u-v‖ + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro r + exact (radialInitialPicard_lipschitz R (1+L*R) a₀ L hR hη hL N hN hLip u v r).trans + (mul_le_mul_of_nonneg_right hc (norm_nonneg _)) + +theorem existsUnique_radialInitialPicard (R a₀ L M : ℝ) (hR : 0 ≤ R) + (hL : 0 ≤ L) (hM : 0 ≤ M) (N : ℝ → ℝ → ℝ) + (hN : Continuous (Function.uncurry N)) + (hBound : ∀ t ∈ Icc 0 R, ∀ x : ℝ, ‖N t x‖ ≤ M) + (hLip : ∀ t ∈ Icc 0 R, ∀ x y : ℝ, ‖N t x-N t y‖ ≤ L*‖x-y‖) : + ∃! v : ℝ →ᵇ ℝ, ∀ r, v r=radialInitialPicard R (1+L*R) a₀ N v r := by + let P := boundedRadialInitialPicard R (1+L*R) a₀ M hR + (by positivity) hM N hN hBound + have hP : ContractingWith ⟨1/12, by norm_num⟩ P := + radialInitialPicard_contracting R a₀ L M hR hL hM N hN hBound hLip + refine ⟨hP.fixedPoint P,?_,?_⟩ + · intro r + exact congrArg (fun w : ℝ →ᵇ ℝ => w r) hP.fixedPoint_isFixedPt.symm + · intro v hv + apply hP.fixedPoint_unique + apply BoundedContinuousFunction.ext + intro r + exact (hv r).symm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialValueMap.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialValueMap.lean new file mode 100644 index 0000000000000000000000000000000000000000..3bc8c4cd10b07632f11b8479c984c6fd28e8a65c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInitialValueMap.lean @@ -0,0 +1,107 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialVolterraWeight +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialGreenOperator + +namespace OAI + +/-! The weighted Picard map for the radial amplitude initial-value problem. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +noncomputable def radialInitialForcing (R η : ℝ) (N : ℝ → ℝ → ℝ) + (v : ℝ →ᵇ ℝ) (r : ℝ) : ℝ := + N (radialClamp R r) (Real.exp (η*radialClamp R r)*v (radialClamp R r)) + +noncomputable def radialInitialPicard (R η a₀ : ℝ) (N : ℝ → ℝ → ℝ) + (v : ℝ →ᵇ ℝ) (r : ℝ) : ℝ := + Real.exp (-η*radialClamp R r)*(a₀+radialVolterra (radialInitialForcing R η N v) (radialClamp R r)) + +theorem continuous_radialInitialForcing (R η : ℝ) (N : ℝ → ℝ → ℝ) + (hN : Continuous (Function.uncurry N)) (v : ℝ →ᵇ ℝ) : + Continuous (radialInitialForcing R η N v) := by + unfold radialInitialForcing + exact hN.comp ((continuous_radialClamp R).prodMk + ((Real.continuous_exp.comp (continuous_const.mul (continuous_radialClamp R))).mul + (v.continuous.comp (continuous_radialClamp R)))) + +theorem radialInitialForcing_difference (R η L : ℝ) (hL : 0 ≤ L) + (N : ℝ → ℝ → ℝ) + (hN : ∀ t ∈ Icc 0 R, ∀ x y : ℝ, ‖N t x-N t y‖ ≤ L*‖x-y‖) + (u v : ℝ →ᵇ ℝ) (t : ℝ) (ht : t ∈ Icc 0 R) : + ‖radialInitialForcing R η N u t-radialInitialForcing R η N v t‖ ≤ + (L*‖u-v‖)*Real.exp (η*t) := by + simp only [radialInitialForcing,radialClamp_eq R t ht] + calc + _ ≤ L*‖Real.exp (η*t)*u t-Real.exp (η*t)*v t‖ := hN t ht _ _ + _ = (L*Real.exp (η*t))*‖u t-v t‖ := by + rw [← mul_sub,norm_mul,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + ring + _ ≤ (L*Real.exp (η*t))*‖u-v‖ := + mul_le_mul_of_nonneg_left ((u-v).norm_coe_le_norm t) + (mul_nonneg hL (Real.exp_pos _).le) + _ = _ := by ring + +theorem continuous_radialInitialPicard (R η a₀ : ℝ) (N : ℝ → ℝ → ℝ) + (hN : Continuous (Function.uncurry N)) (v : ℝ →ᵇ ℝ) : + Continuous (radialInitialPicard R η a₀ N v) := by + have hf := continuous_radialInitialForcing R η N hN v + have hV : Continuous (radialVolterra (radialInitialForcing R η N v)) := + (show Differentiable ℝ (radialVolterra (radialInitialForcing R η N v)) from + fun r => (hasDerivAt_radialVolterra _ hf r).differentiableAt).continuous + exact (Real.continuous_exp.comp (continuous_const.mul (continuous_radialClamp R))).mul + (continuous_const.add (hV.comp (continuous_radialClamp R))) + +theorem radialInitialPicard_bound (R η a₀ M : ℝ) (hR : 0 ≤ R) (hη : 0 ≤ η) + (hM : 0 ≤ M) (N : ℝ → ℝ → ℝ) + (hN : ∀ t ∈ Icc 0 R, ∀ x : ℝ, ‖N t x‖ ≤ M) (v : ℝ →ᵇ ℝ) (r : ℝ) : + ‖radialInitialPicard R η a₀ N v r‖ ≤ ‖a₀‖+M*R^2/24 := by + let t := radialClamp R r + obtain ⟨ht,htR⟩ := radialClamp_mem R r hR + have hf : ∀ s ∈ Icc 0 t, ‖radialInitialForcing R η N v s‖ ≤ M := by + intro s hs + simp only [radialInitialForcing,radialClamp_eq R s ⟨hs.1,hs.2.trans htR⟩] + exact hN s ⟨hs.1,hs.2.trans htR⟩ _ + have hV := radialVolterra_norm_le (radialInitialForcing R η N v) M t ht hf + have he : Real.exp (-η*t) ≤ 1 := by + rw [← Real.exp_zero] + apply Real.exp_le_exp.mpr + nlinarith + change ‖Real.exp (-η*t)*(a₀+radialVolterra _ t)‖ ≤ _ + rw [norm_mul,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + calc + _ ≤ 1*‖a₀+radialVolterra _ t‖ := mul_le_mul_of_nonneg_right he (norm_nonneg _) + _ ≤ ‖a₀‖+‖radialVolterra _ t‖ := by simpa only [one_mul] using norm_add_le a₀ _ + _ ≤ ‖a₀‖+M*t^2/24 := add_le_add_right hV _ + _ ≤ ‖a₀‖+M*R^2/24 := by gcongr + +theorem radialInitialPicard_lipschitz (R η a₀ L : ℝ) (hR : 0 ≤ R) + (hη : 0 < η) (hL : 0 ≤ L) (N : ℝ → ℝ → ℝ) + (hN : Continuous (Function.uncurry N)) + (hLip : ∀ t ∈ Icc 0 R, ∀ x y : ℝ, ‖N t x-N t y‖ ≤ L*‖x-y‖) + (u v : ℝ →ᵇ ℝ) (r : ℝ) : + ‖radialInitialPicard R η a₀ N u r-radialInitialPicard R η a₀ N v r‖ ≤ + (L*R/(12*η))*‖u-v‖ := by + let t := radialClamp R r + obtain ⟨ht,htR⟩ := radialClamp_mem R r hR + have hu := continuous_radialInitialForcing R η N hN u + have hv := continuous_radialInitialForcing R η N hN v + have hd := radialVolterra_exponential_bound + (radialInitialForcing R η N u-radialInitialForcing R η N v) + (L*‖u-v‖) η t (mul_nonneg hL (norm_nonneg _)) hη ht + (fun s hs => radialInitialForcing_difference R η L hL N hLip u v s ⟨hs.1,hs.2.trans htR⟩) + change ‖Real.exp (-η*t)*(a₀+radialVolterra _ t)- + Real.exp (-η*t)*(a₀+radialVolterra _ t)‖ ≤ _ + rw [← mul_sub,add_sub_add_left_eq_sub,← radialVolterra_sub _ _ hu hv,norm_mul, + Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] + calc + _ ≤ Real.exp (-η*t)*((L*‖u-v‖)*t/(12*η)*Real.exp (η*t)) := + mul_le_mul_of_nonneg_left hd (Real.exp_pos _).le + _ = (L*t/(12*η))*‖u-v‖ := by + rw [show -η*t= -(η*t) by ring,Real.exp_neg] + field_simp [hη.ne',ne_of_gt (Real.exp_pos (η*t))] + _ ≤ (L*R/(12*η))*‖u-v‖ := by gcongr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerC1Limit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerC1Limit.lean new file mode 100644 index 0000000000000000000000000000000000000000..216864f5318b75e9493a5f06f81137b94e0aae74 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerC1Limit.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerShootingLimit + +namespace OAI + +/-! Full inner C¹ convergence for the actual shooting family, including its flat core. -/ + +open Set Filter +namespace DefocusingNLS + +theorem radialShootingInner_C1_limit (s : ℕ → ℕ) (hs : StrictMono s) + (w : ℕ → RadialShootingDisk) (w₀ : RadialShootingDisk) + (hw : Tendsto w atTop (nhds w₀)) : + ∃ A D : ℝ → ℝ, Continuous A ∧ Continuous D ∧ + TendstoUniformlyOn (fun i => radialShootingInnerAmplitude (s i) (w i)) A + atTop (Icc 0 innerBoundaryRadius) ∧ + TendstoUniformlyOn (fun i => deriv (radialShootingInnerAmplitude (s i) (w i))) D + atTop (Icc 0 innerBoundaryRadius) ∧ + EqOn A (fun _ => 1) (Icc 0 (radialShootingR w₀)) ∧ D (radialShootingR w₀)=0 ∧ + EqOn A (fun r => ‖(radialFreeInnerJet w₀ r).1‖) + (Icc (radialShootingR w₀) innerBoundaryRadius) := by + have hsn : Tendsto (fun i => s i+radialInnerShootingThreshold) atTop atTop := + tendsto_atTop_mono (fun _ => Nat.le_add_right _ _) hs.tendsto_atTop + have hp : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).p) atTop atTop := by + simp only [radialShootingInnerData_p] + exact tendsto_atTop_mono (fun i => by omega) hs.tendsto_atTop + have hc : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).c) atTop (nhds 6) := by + simp only [radialShootingInnerData_c] + have ht := ((tendsto_one_div_atTop_nhds_zero_nat : + Tendsto (fun n : ℕ => 1/(n : ℝ)) atTop (nhds 0)).comp hsn).const_sub 6 + simpa only [Function.comp_def,sub_zero] using ht + have hbc : Continuous radialShootingB := by unfold radialShootingB; fun_prop + have hb : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).b) atTop + (nhds (radialShootingB w₀)) := by + simpa only [radialShootingInnerData_b] using! hbc.continuousAt.tendsto.comp hw + have hlo : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).lo) atTop + (nhds ‖(radialFreeInnerJet w₀ innerBoundaryRadius).1‖) := by + simpa only [radialShootingInnerData_lo] using! + continuous_radialFreeInner_boundary.fst.norm.continuousAt.tendsto.comp hw + obtain ⟨hb₀,hR₀,hu,hlu,hwidth,_hshell⟩ := radialShooting_geometry w₀ + obtain ⟨hJ,hFI,hGI,hbound,hlo₀,hhi₀⟩ := radialFreeInnerJet_spec w₀ + apply radial_coupled_C1_core_convergence innerBoundaryRadius (radialShootingR w₀) + (radialShootingB w₀) innerBoundaryRadius_lower hu hR₀ hlu hwidth hb₀ + (fun r => (radialFreeInnerJet w₀ r).1) (fun r => (radialFreeInnerJet w₀ r).2) + hJ.fst hJ.snd hFI hGI (fun r _ => hbound r) (by linarith) + (fun i => radialShootingInnerData (s i) (w i)) (fun i => radialShootingInnerData_R (s i) (w i)) + (fun i => radialShootingInnerAmplitude (s i) (w i)) + (fun i => by simpa only [radialShootingInnerData_R] using + radialShootingInnerAmplitude_spec (s i) (w i)) hp hc hb hlo + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerCompactness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerCompactness.lean new file mode 100644 index 0000000000000000000000000000000000000000..c13ee01eb29f52b3bc929e206977e177c3ab7efc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerCompactness.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerDerivative +import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli +import Mathlib.Topology.MetricSpace.UniformConvergence +import Mathlib.Topology.Sequences + +namespace OAI + +/-! Uniform C¹ subsequence extraction for the inner amplitudes. -/ + +open Set Filter Topology +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +/-- The exact bounds proved for inner profiles give compactness of their amplitude/derivative +pairs in the uniform topology. -/ +theorem radial_inner_jet_subsequence (R : ℝ) (_hR : 1 ≤ R) (hR2 : R^2 ≤ 11) + (H : ℕ → ℝ → ℝ) (hH : ∀ n, Differentiable ℝ (H n)) + (hDC : ∀ n, ContinuousOn (deriv (H n)) (Icc 0 R)) + (hB : ∀ n r, r ∈ Icc 0 R → ‖H n r‖ ≤ 1 ∧ ‖deriv (H n) r‖ ≤ r/24) + (hL : ∀ n, LipschitzOnWith 1 (deriv (H n)) (Icc 0 R)) : + ∃ J : (Icc (0 : ℝ) R) →ᵇ ℝ × ℝ, ∃ φ : ℕ → ℕ, StrictMono φ ∧ + TendstoUniformly (fun n (r : Icc (0 : ℝ) R) => + (H (φ n) r, deriv (H (φ n)) r)) J atTop := by + have hR24 : R/24 ≤ 1 := by nlinarith [_hR,sq_nonneg (R-12)] + have hA : ∀ n, LipschitzOnWith 1 (H n) (Icc 0 R) := by + intro n + apply (convex_Icc (0 : ℝ) R).lipschitzOnWith_of_nnnorm_deriv_le + (fun r _ => hH n r) + intro r hr + change ‖deriv (H n) r‖₊ ≤ (1 : NNReal) + have hb := (hB n r hr).2 + have hr24 : r/24 ≤ 1 := (div_le_div_of_nonneg_right hr.2 (by norm_num)).trans hR24 + exact_mod_cast hb.trans hr24 + let F : ℕ → (Icc (0 : ℝ) R) →ᵇ ℝ × ℝ := fun n => + BoundedContinuousFunction.mkOfCompact + ⟨fun (r : Icc (0 : ℝ) R) => (H n r, deriv (H n) r), + ((hH n).continuous.comp continuous_subtype_val).prodMk + (continuousOn_iff_continuous_domRestrict.mp (hDC n))⟩ + have hFL : ∀ n, LipschitzWith 1 (F n) := by + intro n + change LipschitzWith 1 (fun (r : Icc (0 : ℝ) R) => (H n r, deriv (H n) r)) + simpa only [max_self,Set.domRestrict_apply] using (hA n).to_restrict.prodMk (hL n).to_restrict + have hFB : ∀ n (r : Icc (0 : ℝ) R), ‖F n r‖ ≤ 1 := by + intro n r + change max ‖H n r‖ ‖deriv (H n) r‖ ≤ 1 + exact max_le (hB n r r.2).1 + ((hB n r r.2).2.trans ((div_le_div_of_nonneg_right r.2.2 (by norm_num)).trans hR24)) + have hEq : Equicontinuous ((↑) : range F → (Icc (0 : ℝ) R) → ℝ × ℝ) := by + apply UniformEquicontinuous.equicontinuous + apply LipschitzWith.uniformEquicontinuous _ 1 + rintro ⟨f,n,rfl⟩ + exact hFL n + have hC : IsCompact (closure (range F)) := + BoundedContinuousFunction.arzela_ascoli (Metric.closedBall (0 : ℝ × ℝ) 1) + (isCompact_closedBall _ _) (range F) + (by + rintro f r ⟨n,rfl⟩ + simpa only [Metric.mem_closedBall,dist_zero_right] using hFB n r) hEq + obtain ⟨J,_,φ,hφ,hT⟩ := hC.tendsto_subseq (fun n => subset_closure (mem_range_self n)) + refine ⟨J,φ,hφ,?_⟩ + exact BoundedContinuousFunction.tendsto_iff_tendstoUniformly.mp hT + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerCoreLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerCoreLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..eba71f1b280190e6b774683485c5c78b587d2458 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerCoreLimit.lean @@ -0,0 +1,64 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerDerivative +import Mathlib.Analysis.SpecialFunctions.Pow.Continuity + +namespace OAI + +/-! The exact core level tends to one; every limit of the actual inner profiles is flat there. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_inner_core_lower (P : RadialInnerData) (H : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) : + ∀ r ∈ Icc 0 P.R, r ≤ P.R-7/10000 → P.m ≤ H r := by + have hV : ∀ r ∈ Ioo 0 P.R, radialAmplitudePotential P.c P.b H r ∈ Icc (3/10 : ℝ) (1/2) := by + intro r hr + exact radialAmplitudePotential_bounds P.c P.b P.R P.hc P.hb P.hR2 H hH.1.continuous + (fun t ht => ⟨P.lo_lower.trans (hH.2.2.2.2.1 t ht).1.1,(hH.2.2.2.2.1 t ht).1.2⟩) + r ⟨hr.1.le,hr.2.le⟩ + exact radial_scalar_core_lower P.p (by have := P.hp; omega) P.R P.m P.lo + P.hR P.hR2 P.hm P.hm1 P.hmp P.hlo H (radialAmplitudePotential P.c P.b H) + hH.1 hH.2.1 hH.2.2.2.1.deriv hH.2.2.1 + (fun r hr => by have h := (hH.2.2.2.2.1 r hr).1.1; linarith [P.lo_lower]) hV hH.2.2.2.2.2 + +theorem RadialInnerData.coreLevel_eq (P : RadialInnerData) : + P.m=(1/5 : ℝ)^((P.p-1 : ℕ) : ℝ)⁻¹ := by + rw [← P.hmp] + exact (Real.pow_rpow_inv_natCast (by linarith [P.hm]) (by have := P.hp; omega)).symm + +theorem radial_core_level_tendsto (P : ℕ → RadialInnerData) + (hp : Tendsto (fun n => (P n).p) atTop atTop) : + Tendsto (fun n => (P n).m) atTop (𝓝 1) := by + have hN : Tendsto (fun n => (P n).p-1) atTop atTop := (tendsto_sub_atTop_nat 1).comp hp + have hR : Tendsto (fun n => (((P n).p-1 : ℕ) : ℝ)) atTop atTop := + tendsto_natCast_atTop_atTop.comp hN + have h := (Real.continuous_const_rpow (by norm_num : (1/5 : ℝ) ≠ 0)).tendsto 0 |>.comp + (tendsto_inv_atTop_zero.comp hR) + change Tendsto (fun n => (1/5 : ℝ)^(((P n).p-1 : ℕ) : ℝ)⁻¹) atTop + (𝓝 ((1/5 : ℝ)^(0 : ℝ))) at h + simpa only [← RadialInnerData.coreLevel_eq,Real.rpow_zero] using h + +theorem radial_inner_limit_plateau (R : ℝ) (P : ℕ → RadialInnerData) + (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) (A : ℝ → ℝ) + (hT : ∀ r ∈ Icc 0 R, Tendsto (fun n => H n r) atTop (𝓝 (A r))) : + EqOn A (fun _ => 1) (Icc 0 (R-7/10000)) := by + intro r hr + have hrR : r ∈ Icc 0 R := ⟨hr.1,by linarith [hr.2]⟩ + have hlo : ∀ n, (P n).m ≤ H n r := by + intro n + have hs : RadialInnerOutputSpec (P n).p (P n).R (P n).lo (P n).c (P n).b (H n) (H n) := by + simpa only [hR n] using hH n + apply radial_inner_core_lower (P n) (H n) hs + · simpa only [hR n] using hrR + · simpa only [hR n] using hr.2 + have hhi : ∀ n, H n r ≤ 1 := fun n => ((hH n).2.2.2.2.1 r hrR).1.2 + have ht : Tendsto (fun n => H n r) atTop (𝓝 1) := + tendsto_of_tendsto_of_tendsto_of_le_of_le (radial_core_level_tendsto P hp) + tendsto_const_nhds hlo hhi + exact tendsto_nhds_unique (hT r hrR) ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerDeformation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerDeformation.lean new file mode 100644 index 0000000000000000000000000000000000000000..3228cdad2d8d634b0953486fa58a4c25a3f3e61e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerDeformation.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPressureSlope +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformTailDeformation +import Mathlib.Analysis.Calculus.Deriv.Slope + +namespace OAI + +/-! Direct positive deformation in the inner ball from the proved slope estimate. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialVelocity_hasDerivAt_zero (c : ℝ) (A : ℝ → ℝ) + (hA : Continuous A) (hn : A 0 ≠ 0) : + HasDerivAt (radialVelocity c A) (c/12) 0 := by + have hq : ContinuousAt (radialVelocityRatio c A) 0 := + (continuous_const.mul (continuous_radialAverage (fun r => (A r)^2) (hA.pow 2))).continuousAt.div + (hA.pow 2).continuousAt (pow_ne_zero 2 hn) + have hq0 : radialVelocityRatio c A 0=c/12 := by + unfold radialVelocityRatio + rw [radialAverage_zero] + field_simp [hn] + apply hasDerivAt_iff_tendsto_slope.mpr + rw [← hq0] + apply (hq.tendsto.mono_left nhdsWithin_le_nhds).congr' + filter_upwards [self_mem_nhdsWithin] with r hr + have hr0 : r ≠ 0 := hr + simp only [slope,radialVelocity,smul_eq_mul,vsub_eq_sub,zero_mul,sub_zero] + field_simp [hr0] + +theorem radialMatched_inner_deformation (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) : + (3/10 : ℝ) ≤ deriv (radialMatchedVelocity n z) r ∧ + (3/10 : ℝ) ≤ radialVelocityRatio (6-2*radialShootingA n) + (fun t => ‖radialMatchedProfile n z t‖) r := by + let A := fun t => ‖radialMatchedProfile n z t‖ + let c := 6-2*radialShootingA n + let w := radialVelocity c A + have hc : c ∈ Icc (599/100 : ℝ) 6 := by + rw [show c=(radialShootingInnerData n (profileMatchingParameter z)).c from + (radialShootingInner_c_eq n (profileMatchingParameter z)).symm] + exact (radialShootingInnerData n (profileMatchingParameter z)).hc + have hA : Continuous A := (radialMatchedProfile_differentiable n z hX hz).continuous.norm + have hAI (t : ℝ) (ht : t ∈ Icc 0 innerBoundaryRadius) : + A t ∈ Icc (999/1000 : ℝ) 1 := (radialMatchedAmplitude_inner_bounds n z t ht).1 + have hq := radialVelocityRatio_bounds c innerBoundaryRadius hc A hA hAI r hr + refine ⟨?_,by linarith [hq.1]⟩ + change (3/10 : ℝ) ≤ deriv w r + by_cases hr0 : r=0 + · subst r + have hn : A 0 ≠ 0 := ne_of_gt (lt_of_lt_of_le (by norm_num) (hAI 0 hr).1) + rw [(radialVelocity_hasDerivAt_zero c A hA hn).deriv] + linarith [hc.1] + · have hrp : 0 < r := lt_of_le_of_ne hr.1 (Ne.symm hr0) + have hw0 : 0 ≤ w r := mul_nonneg hr.1 (le_trans (by norm_num) hq.1) + have hw2 := (radialMatchedInnerPotential_bounds n z hX hz r hr).2 + have hwle : w r ≤ 2 := by change (w r)^2 ≤ 3 at hw2; nlinarith + have hAr := hAI r hr + have hAp : 0 < A r := lt_of_lt_of_le (by norm_num) hAr.1 + have hd := radialMatchedInnerSlope_bound n z hX hz r hr + have hm : (100 : ℝ) ≤ ((n+radialInnerShootingThreshold : ℕ) : ℝ) := by + exact_mod_cast radialShootingIndex_large n z + have hdsmall : deriv A r ≤ (1/100 : ℝ) := by + have hm2 : (10000 : ℝ) ≤ ((n+radialInnerShootingThreshold : ℕ) : ℝ)^2 := by nlinarith + have hh : 100/((n+radialInnerShootingThreshold : ℕ) : ℝ)^2 ≤ (1/100 : ℝ) := + (div_le_iff₀ (by positivity)).mpr (by nlinarith) + exact hd.trans hh + have hterm : 2*w r*deriv A r/A r ≤ (1/20 : ℝ) := by + apply (div_le_iff₀ hAp).mpr + have hh := mul_le_mul_of_nonneg_left hdsmall + (show 0 ≤ (2 : ℝ)*w r from mul_nonneg (by norm_num) hw0) + nlinarith [hAr.1] + have hdw := radialMatchedVelocity_hasDerivAt n z hX hz r hrp + rw [hdw.deriv] + have he : 11/r*w r=11*radialVelocityRatio c A r := by + dsimp only [w,radialVelocity] + field_simp [hr0] + rw [he] + linarith [hc.1,hq.2] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..9df00eaf81fff594bd1b1be91855699e4b3d35e4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerDerivative.lean @@ -0,0 +1,92 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPoissonRepresentation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarDerivativeBounds +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPotentialContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialClampedPhase +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerFixedPoint +import Mathlib.Analysis.Calculus.MeanValue +import Mathlib.Topology.Instances.ENNReal.Lemmas + +namespace OAI + +/-! Exact integral equation and uniform derivative bounds for the genuine coupled inner profiles. -/ + +open Set +namespace DefocusingNLS + +theorem radial_inner_integral_and_continuity (P : RadialInnerData) (H : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) : + (∀ r ∈ Icc 0 P.R, deriv H r=r*radialAverage + (fun t => (H t)^P.p-radialAmplitudePotential P.c P.b H t*H t) r) ∧ + ContinuousOn (deriv H) (Icc 0 P.R) := by + let B := radialClampedAmplitude P.R H + let f := fun r => (B r)^P.p-radialAmplitudePotential P.c P.b B r*B r + have hB : Continuous B := radialClampedAmplitude_continuous P.R H hH.1.continuous + have hBz : ∀ r, B r ≠ 0 := by + intro r + have h := (hH.2.2.2.2.1 _ (radialClamp_mem P.R r (by linarith [P.hR]))).1.1 + change H (radialClamp P.R r) ≠ 0 + linarith [P.lo_lower] + have hf : Continuous f := (hB.pow P.p).sub + ((continuous_radialAmplitudePotential P.c P.b B hB hBz).mul hB) + have he : EqOn B H (Icc 0 P.R) := fun _ hr => radialClampedAmplitude_eq P.R H _ hr + have hfe : EqOn f (fun r => (H r)^P.p-radialAmplitudePotential P.c P.b H r*H r) (Icc 0 P.R) := by + intro r hr + change (B r)^P.p-radialAmplitudePotential P.c P.b B r*B r= _ + rw [show B r=H r from he hr,radialAmplitudePotential_congr P.c P.b P.R B H he r hr] + have hODE : ∀ r ∈ Ioo 0 P.R, deriv (deriv H) r+11/r*deriv H r=f r := by + intro r hr + rw [hfe ⟨hr.1.le,hr.2.le⟩] + linarith [hH.2.2.2.2.2 r hr] + have hD := radial_poisson_derivative P.R (by linarith [P.hR]) P.hR2 H f hH.1 hf hH.2.1 + hH.2.2.2.1.deriv hODE + constructor + · intro r hr + rw [hD r hr] + congr 1 + exact radialAverage_congr f _ r hr.1 (fun t ht => hfe ⟨ht.1,ht.2.trans hr.2⟩) + · exact (continuous_id.mul (continuous_radialAverage f hf)).continuousOn.congr + (fun r hr => hD r hr) + + +theorem radial_inner_integral_formula (P : RadialInnerData) (H : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) : + ∀ r ∈ Icc 0 P.R, deriv H r=r*radialAverage + (fun t => (H t)^P.p-radialAmplitudePotential P.c P.b H t*H t) r := + (radial_inner_integral_and_continuity P H hH).1 + +theorem radial_inner_derivative_bounds (P : RadialInnerData) (H : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) : + (∀ r ∈ Icc 0 P.R, ‖deriv H r‖ ≤ r/24) ∧ + (∀ r ∈ Ioo 0 P.R, ‖deriv (deriv H) r‖ ≤ (23/24 : ℝ)) := by + have hHI : ∀ r ∈ Icc 0 P.R, H r ∈ Icc 0 1 := by + intro r hr + have h := (hH.2.2.2.2.1 r hr).1 + exact ⟨by linarith [h.1,P.lo_lower],h.2⟩ + have hV : ∀ r ∈ Icc 0 P.R, radialAmplitudePotential P.c P.b H r ∈ Icc (3/10 : ℝ) (1/2) := by + intro r hr + exact radialAmplitudePotential_bounds P.c P.b P.R P.hc P.hb P.hR2 H hH.1.continuous + (fun t ht => ⟨P.lo_lower.trans (hH.2.2.2.2.1 t ht).1.1,(hH.2.2.2.2.1 t ht).1.2⟩) r hr + have hp : 1 ≤ P.p := by have := P.hp; omega + have hInt := radial_inner_integral_formula P H hH + exact ⟨radial_scalar_first_derivative_bound P.p hp P.R H (radialAmplitudePotential P.c P.b H) + hHI (fun r hr => (hH.2.2.2.2.1 r hr).2) hV hInt, + radial_scalar_second_derivative_bound P.p hp P.R H (radialAmplitudePotential P.c P.b H) + hHI (fun r hr => (hH.2.2.2.2.1 r hr).2) hV hInt hH.2.2.2.2.2⟩ + +theorem radial_inner_derivative_lipschitz (P : RadialInnerData) (H : ℝ → ℝ) + (hH : RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H) : + LipschitzOnWith 1 (deriv H) (Icc 0 P.R) := by + have hL : LipschitzOnWith 1 (deriv H) (Ioo 0 P.R) := + (convex_Ioo (0 : ℝ) P.R).lipschitzOnWith_of_nnnorm_deriv_le hH.2.1 (by + intro r hr + change ‖deriv (deriv H) r‖₊ ≤ (1 : NNReal) + exact_mod_cast ((radial_inner_derivative_bounds P H hH).2 r hr).trans (by norm_num)) + have hc : ContinuousOn (deriv H) (closure (Ioo 0 P.R)) := by + rw [closure_Ioo (by linarith [P.hR] : (0 : ℝ) ≠ P.R)] + exact (radial_inner_integral_and_continuity P H hH).2 + have h := LipschitzOnWith.closure hc hL + rwa [closure_Ioo (by linarith [P.hR] : (0 : ℝ) ≠ P.R)] at h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerFixedPoint.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerFixedPoint.lean new file mode 100644 index 0000000000000000000000000000000000000000..2d6792063b167f65cd8d794a5c1deacbf2ebd252 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerFixedPoint.lean @@ -0,0 +1,129 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerOutput +import Mathlib.Topology.MetricSpace.Contracting + +namespace OAI + +/-! A genuine fixed point of the coupled inner amplitude equation. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +/-- Only numerical parameter conditions; no analytic conclusion is part of the data. -/ +structure RadialInnerData where + p : ℕ + R : ℝ + lo : ℝ + c : ℝ + b : ℝ + m : ℝ + hp : 400 ≤ p + hR : 1 ≤ R + hR2 : R^2 ≤ 11 + hlo : 1-(1/10000 : ℝ)^2/5 ≤ lo + hlo1 : lo ≤ 1 + hSmall : lo^(p-1) ≤ (3/10 : ℝ) + hm : (999/1000 : ℝ) ≤ m + hm1 : m ≤ 1 + hmp : m^(p-1)=(1/5 : ℝ) + hc : c ∈ Icc (599/100 : ℝ) 6 + hb : b ∈ Icc (334/1000 : ℝ) (335/1000) + +theorem RadialInnerData.lo_lower (P : RadialInnerData) : (999/1000 : ℝ) ≤ P.lo := by + linarith [P.hlo] + +noncomputable def radialInnerClampedInput (P : RadialInnerData) (A : ℝ →ᵇ ℝ) : ℝ → ℝ := + fun r => radialAmplitudeClamp P.lo 1 (A r) + +theorem radialInnerClampedInput_continuous (P : RadialInnerData) (A : ℝ →ᵇ ℝ) : + Continuous (radialInnerClampedInput P A) := + (radialAmplitudeClamp_lipschitz P.lo 1).continuous.comp A.continuous + +theorem radialInnerClampedInput_mem (P : RadialInnerData) (A : ℝ →ᵇ ℝ) (r : ℝ) : + radialInnerClampedInput P A r ∈ Icc P.lo 1 := + radialAmplitudeClamp_mem P.lo 1 (A r) P.hlo1 + +noncomputable def radialInnerRaw (P : RadialInnerData) (A : ℝ →ᵇ ℝ) : ℝ → ℝ := + Classical.choose (exists_radial_inner_output_spec P.p (by have := P.hp; omega) + P.R P.lo P.c P.b (by linarith [P.hR]) P.hR2 P.lo_lower P.hSmall P.hc P.hb + (radialInnerClampedInput P A) (radialInnerClampedInput_continuous P A) + (radialInnerClampedInput_mem P A)) + +theorem radialInnerRaw_spec (P : RadialInnerData) (A : ℝ →ᵇ ℝ) : + RadialInnerOutputSpec P.p P.R P.lo P.c P.b (radialInnerClampedInput P A) (radialInnerRaw P A) := + Classical.choose_spec (exists_radial_inner_output_spec P.p (by have := P.hp; omega) + P.R P.lo P.c P.b (by linarith [P.hR]) P.hR2 P.lo_lower P.hSmall P.hc P.hb + (radialInnerClampedInput P A) (radialInnerClampedInput_continuous P A) + (radialInnerClampedInput_mem P A)) + +noncomputable def radialInnerOperator (P : RadialInnerData) (A : ℝ →ᵇ ℝ) : ℝ →ᵇ ℝ := + BoundedContinuousFunction.ofNormedAddCommGroup + (fun r => radialInnerRaw P A (radialClamp P.R r)) + ((radialInnerRaw_spec P A).1.continuous.comp (continuous_radialClamp P.R)) 1 (by + intro r + have hr := radialClamp_mem P.R r (by linarith [P.hR]) + have h := ((radialInnerRaw_spec P A).2.2.2.2.1 _ hr).1 + rw [Real.norm_eq_abs,abs_of_nonneg (by linarith [P.lo_lower,h.1])] + exact h.2) + +theorem radialInnerOperator_contracting (P : RadialInnerData) : + ContractingWith ⟨1/2,by norm_num⟩ (radialInnerOperator P) := by + refine ⟨by change (1/2 : ℝ) < 1; norm_num,LipschitzWith.of_dist_le_mul ?_⟩ + intro A B + rw [dist_eq_norm,dist_eq_norm] + change ‖radialInnerOperator P A-radialInnerOperator P B‖ ≤ (1/2 : ℝ)*‖A-B‖ + have hAB : ∀ r ∈ Icc 0 P.R, + |radialInnerClampedInput P A r-radialInnerClampedInput P B r| ≤ ‖A-B‖ := by + intro r _ + have h := (radialAmplitudeClamp_lipschitz P.lo 1).dist_le_mul (A r) (B r) + rw [dist_eq_norm,dist_eq_norm,NNReal.coe_one,one_mul] at h + exact (Real.norm_eq_abs _ ▸ h).trans ((A-B).norm_coe_le_norm r) + have h := radial_inner_output_contraction P.p (by have := P.hp; omega) + P.R P.lo P.c P.b P.m ‖A-B‖ P.hR P.hR2 P.hlo P.hm P.hm1 P.hmp P.hc P.hb + (norm_nonneg _) _ _ _ _ (radialInnerClampedInput_continuous P A) + (radialInnerClampedInput_continuous P B) + (fun r _ => ⟨P.lo_lower.trans (radialInnerClampedInput_mem P A r).1, + (radialInnerClampedInput_mem P A r).2⟩) + (fun r _ => ⟨P.lo_lower.trans (radialInnerClampedInput_mem P B r).1, + (radialInnerClampedInput_mem P B r).2⟩) hAB (radialInnerRaw_spec P A) (radialInnerRaw_spec P B) + apply (BoundedContinuousFunction.norm_le (by positivity)).2 + intro r + change ‖radialInnerRaw P A (radialClamp P.R r)-radialInnerRaw P B (radialClamp P.R r)‖ ≤ _ + rw [Real.norm_eq_abs] + exact (h _ (radialClamp_mem P.R r (by linarith [P.hR]))).trans + (mul_le_mul_of_nonneg_right (radial_inner_contraction_constant P.p P.hp) (norm_nonneg _)) + +theorem exists_radial_coupled_profile (P : RadialInnerData) : + ∃ H : ℝ → ℝ, Differentiable ℝ H ∧ + (∀ r ∈ Ioo 0 P.R, DifferentiableAt ℝ (deriv H) r) ∧ + H P.R=P.lo ∧ HasDerivAt H 0 0 ∧ + (∀ r ∈ Icc 0 P.R, H r ∈ Icc P.lo 1 ∧ (H r)^(P.p-1) ≤ (1/2 : ℝ)) ∧ + (∀ r ∈ Ioo 0 P.R, + -deriv (deriv H) r-11/r*deriv H r+(H r)^P.p= + radialAmplitudePotential P.c P.b H r*H r) := by + let A := (radialInnerOperator_contracting P).fixedPoint (radialInnerOperator P) + let H := radialInnerRaw P A + have hH := radialInnerRaw_spec P A + have hFix : radialInnerOperator P A=A := (radialInnerOperator_contracting P).fixedPoint_isFixedPt + have hAH : EqOn (fun r => A r) H (Icc 0 P.R) := by + intro r hr + have h := congrArg (fun f : ℝ →ᵇ ℝ => f r) hFix + change radialInnerRaw P A (radialClamp P.R r)=A r at h + rw [radialClamp_eq P.R r hr] at h + exact h.symm + have hCH : EqOn (radialInnerClampedInput P A) H (Icc 0 P.R) := by + intro r hr + change radialAmplitudeClamp P.lo 1 (A r)=H r + have hrEq : A r=H r := hAH hr + rw [hrEq] + exact radialAmplitudeClamp_eq P.lo 1 (H r) (hH.2.2.2.2.1 r hr).1 + refine ⟨H,hH.1,hH.2.1,hH.2.2.1,hH.2.2.2.1,hH.2.2.2.2.1,?_⟩ + intro r hr + have he := hH.2.2.2.2.2 r hr + rw [radialAmplitudePotential_congr P.c P.b P.R (radialInnerClampedInput P A) H hCH r + ⟨hr.1.le,hr.2.le⟩] at he + exact he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..151dba109a73fd07c735753d9fd51b2d3d2ff445 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerLimit.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerCompactness +import Mathlib.Analysis.Calculus.UniformLimitsDeriv + +namespace OAI + +/-! Genuine coupled inner profiles have C¹ convergent subsequences on the fixed inner ball. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_coupled_C1_subsequence (R : ℝ) (P : ℕ → RadialInnerData) + (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) : + ∃ A D : ℝ → ℝ, Continuous A ∧ Continuous D ∧ ∃ φ : ℕ → ℕ, + StrictMono φ ∧ TendstoUniformlyOn (fun n => H (φ n)) A atTop (Icc 0 R) ∧ + TendstoUniformlyOn (fun n => deriv (H (φ n))) D atTop (Icc 0 R) ∧ + (∀ r ∈ Ioo 0 R, HasDerivAt A (D r) r) ∧ D 0=0 := by + have hSpec : ∀ n, RadialInnerOutputSpec (P n).p (P n).R (P n).lo (P n).c (P n).b (H n) (H n) := by + intro n + simpa only [hR n] using hH n + have hR1 : 1 ≤ R := by simpa only [hR 0] using (P 0).hR + have hR2 : R^2 ≤ 11 := by simpa only [hR 0] using (P 0).hR2 + have hDC : ∀ n, ContinuousOn (deriv (H n)) (Icc 0 R) := by + intro n + simpa only [hR n] using (radial_inner_integral_and_continuity (P n) (H n) (hSpec n)).2 + have hB : ∀ n r, r ∈ Icc 0 R → ‖H n r‖ ≤ 1 ∧ ‖deriv (H n) r‖ ≤ r/24 := by + intro n r hr + have hrP : r ∈ Icc 0 (P n).R := by simpa only [hR n] using hr + have hb := ((hH n).2.2.2.2.1 r hr).1 + have hn : 0 ≤ H n r := by linarith [hb.1,(P n).lo_lower] + exact ⟨by simpa only [Real.norm_eq_abs,abs_of_nonneg hn] using hb.2, + (radial_inner_derivative_bounds (P n) (H n) (hSpec n)).1 r hrP⟩ + have hL : ∀ n, LipschitzOnWith 1 (deriv (H n)) (Icc 0 R) := by + intro n + simpa only [hR n] using radial_inner_derivative_lipschitz (P n) (H n) (hSpec n) + obtain ⟨J,φ,hφ,hT⟩ := radial_inner_jet_subsequence R hR1 hR2 H (fun n => (hH n).1) hDC hB hL + let cR : ℝ → Icc (0 : ℝ) R := fun r => ⟨radialClamp R r,radialClamp_mem R r (by linarith)⟩ + have hcR : Continuous cR := (continuous_radialClamp R).subtype_mk _ + let A : ℝ → ℝ := fun r => (J (cR r)).1 + let D : ℝ → ℝ := fun r => (J (cR r)).2 + have hTA : TendstoUniformlyOn (fun n => H (φ n)) A atTop (Icc 0 R) := by + have h := (uniformContinuous_fst.comp_tendstoUniformly (hT.comp cR)).tendstoUniformlyOn (s := Icc 0 R) + apply h.congr + filter_upwards [] with n r hr + change H (φ n) (radialClamp R r)=H (φ n) r + rw [radialClamp_eq R r hr] + have hTD : TendstoUniformlyOn (fun n => deriv (H (φ n))) D atTop (Icc 0 R) := by + have h := (uniformContinuous_snd.comp_tendstoUniformly (hT.comp cR)).tendstoUniformlyOn (s := Icc 0 R) + apply h.congr + filter_upwards [] with n r hr + change deriv (H (φ n)) (radialClamp R r)=deriv (H (φ n)) r + rw [radialClamp_eq R r hr] + refine ⟨A,D,(J.continuous.comp hcR).fst,(J.continuous.comp hcR).snd,φ,hφ,hTA,hTD,?_,?_⟩ + · intro r hr + exact hasDerivAt_of_tendstoUniformlyOn isOpen_Ioo (hTD.mono Ioo_subset_Icc_self) + (Eventually.of_forall (fun n r _ => ((hH (φ n)).1 r).hasDerivAt)) + (fun r hr => hTA.tendsto_at ⟨hr.1.le,hr.2.le⟩) hr + · have h := hTD.tendsto_at (show (0 : ℝ) ∈ Icc 0 R from ⟨le_rfl,by linarith⟩) + have hz : (fun n => deriv (H (φ n)) 0)=(fun _ : ℕ => (0 : ℝ)) := by + funext n + exact (hH (φ n)).2.2.2.1.deriv + rw [hz] at h + exact (tendsto_nhds_unique h tendsto_const_nhds) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerMap.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerMap.lean new file mode 100644 index 0000000000000000000000000000000000000000..35843e1d343225cd948db1418e5192b6038073b7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerMap.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarProfile +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarComparison +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialVelocityBounds + +namespace OAI + +/-! The scalar output exists for the actual amplitude-dependent inner potential. -/ + +open Set +namespace DefocusingNLS + +theorem exists_radial_inner_output (p : ℕ) (hp : 2 ≤ p) (R lo c b : ℝ) + (hR : 0 < R) (hR2 : R^2 ≤ 11) (hlo : (999/1000 : ℝ) ≤ lo) + (hSmall : lo^(p-1) ≤ (3/10 : ℝ)) + (hc : c ∈ Icc (599/100 : ℝ) 6) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (A : ℝ → ℝ) (hA : Continuous A) (hAI : ∀ r, A r ∈ Icc lo 1) : + ∃ H : ℝ → ℝ, Differentiable ℝ H ∧ + (∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv H) r) ∧ + H R=lo ∧ HasDerivAt H 0 0 ∧ + (∀ r ∈ Icc 0 R, lo ≤ H r ∧ (H r)^(p-1) ≤ (1/2 : ℝ)) ∧ + (∀ r ∈ Ioo 0 R, + -deriv (deriv H) r-11/r*deriv H r+(H r)^p= + radialAmplitudePotential c b A r*H r) := by + have hAP (r : ℝ) : 0 < A r := lt_of_lt_of_le + (by norm_num : (0 : ℝ) < 999/1000) (hlo.trans (hAI r).1) + have hρ : Continuous (radialVelocityRatio c A) := by + exact (continuous_const.mul (continuous_radialAverage (fun t => (A t)^2) (hA.pow 2))).div + (hA.pow 2) (fun r => pow_ne_zero 2 (hAP r).ne') + have hPot : Continuous (radialAmplitudePotential c b A) := by + unfold radialAmplitudePotential + exact continuous_const.add ((continuous_id.pow 2).div_const 16) |>.sub + (((continuous_id.pow 2).mul (hρ.pow 2)).div_const 4) + let V := fun r => radialAmplitudePotential c b A (radialClamp R r) + have hV : Continuous V := hPot.comp (continuous_radialClamp R) + have hVB : ∀ r ∈ Icc 0 R, V r ∈ Icc (3/10 : ℝ) (1/2) := by + intro r hr + change radialAmplitudePotential c b A (radialClamp R r) ∈ _ + rw [radialClamp_eq R r hr] + exact radialAmplitudePotential_bounds c b R hc hb hR2 A hA + (fun s _ => ⟨hlo.trans (hAI s).1,(hAI s).2⟩) r hr + obtain ⟨H,hH,hD,hHR,hH0,hHI,hEq⟩ := exists_radial_scalar_profile_regular p hp R lo hR + (lt_of_lt_of_le (by norm_num : (0 : ℝ) < 999/1000) hlo) hSmall V hV hVB + refine ⟨H,hH,hD,hHR,hH0,hHI,?_⟩ + intro r hr + have h := hEq r hr + change -deriv (deriv H) r-11/r*deriv H r+(H r)^p= + radialAmplitudePotential c b A (radialClamp R r)*H r at h + rwa [radialClamp_eq R r ⟨hr.1.le,hr.2.le⟩] at h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerOutput.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerOutput.lean new file mode 100644 index 0000000000000000000000000000000000000000..67d9c2634f21b04a9bf7b9d2da83955319d77306 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerOutput.lean @@ -0,0 +1,81 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerMap +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarCore +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialScalarDifference +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPotentialDifference + +namespace OAI + +/-! Canonical scalar outputs and their contraction estimate for the actual inner potential. -/ + +open Set +open scoped BoundedContinuousFunction +namespace DefocusingNLS + +def RadialInnerOutputSpec (p : ℕ) (R lo c b : ℝ) (A H : ℝ → ℝ) : Prop := + Differentiable ℝ H ∧ + (∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv H) r) ∧ + H R=lo ∧ HasDerivAt H 0 0 ∧ + (∀ r ∈ Icc 0 R, H r ∈ Icc lo 1 ∧ (H r)^(p-1) ≤ (1/2 : ℝ)) ∧ + (∀ r ∈ Ioo 0 R, -deriv (deriv H) r-11/r*deriv H r+(H r)^p= + radialAmplitudePotential c b A r*H r) + +theorem exists_radial_inner_output_spec (p : ℕ) (hp : 2 ≤ p) (R lo c b : ℝ) + (hR : 0 < R) (hR2 : R^2 ≤ 11) (hlo : (999/1000 : ℝ) ≤ lo) + (hSmall : lo^(p-1) ≤ (3/10 : ℝ)) + (hc : c ∈ Icc (599/100 : ℝ) 6) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (A : ℝ → ℝ) (hA : Continuous A) (hAI : ∀ r, A r ∈ Icc lo 1) : + ∃ H : ℝ → ℝ, RadialInnerOutputSpec p R lo c b A H := by + obtain ⟨H,hH,hDH,hHR,hH0,hHI,hHE⟩ := exists_radial_inner_output p hp R lo c b + hR hR2 hlo hSmall hc hb A hA hAI + refine ⟨H,hH,hDH,hHR,hH0,?_,hHE⟩ + intro r hr + have h := hHI r hr + have h1 : H r ≤ 1 := by + by_contra! hgt + have hpow : 1 ≤ (H r)^(p-1) := one_le_pow₀ hgt.le + linarith + exact ⟨⟨h.1,h1⟩,h.2⟩ + +theorem radial_inner_output_contraction (p : ℕ) (hp : 10 ≤ p) (R lo c b m D : ℝ) + (hR : 1 ≤ R) (hR2 : R^2 ≤ 11) (hlo : 1-(1/10000 : ℝ)^2/5 ≤ lo) + (hm : (999/1000 : ℝ) ≤ m) (hm1 : m ≤ 1) (hmp : m^(p-1)=(1/5 : ℝ)) + (hc : c ∈ Icc (599/100 : ℝ) 6) (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (hD : 0 ≤ D) (A B H K : ℝ → ℝ) (hA : Continuous A) (hB : Continuous B) + (hAI : ∀ r ∈ Icc 0 R, A r ∈ Icc (999/1000 : ℝ) 1) + (hBI : ∀ r ∈ Icc 0 R, B r ∈ Icc (999/1000 : ℝ) 1) + (hAB : ∀ r ∈ Icc 0 R, |A r-B r| ≤ D) + (hH : RadialInnerOutputSpec p R lo c b A H) + (hK : RadialInnerOutputSpec p R lo c b B K) : + ∀ r ∈ Icc 0 R, |H r-K r| ≤ (10*(10/(p : ℝ)+(8/10000 : ℝ)^2))*D := by + have hlo0 : 0 ≤ lo := by linarith + have hHV : ∀ r ∈ Ioo 0 R, radialAmplitudePotential c b A r ∈ Icc (3/10 : ℝ) (1/2) := + fun r hr => radialAmplitudePotential_bounds c b R hc hb hR2 A hA hAI r ⟨hr.1.le,hr.2.le⟩ + have hKV : ∀ r ∈ Ioo 0 R, radialAmplitudePotential c b B r ∈ Icc (3/10 : ℝ) (1/2) := + fun r hr => radialAmplitudePotential_bounds c b R hc hb hR2 B hB hBI r ⟨hr.1.le,hr.2.le⟩ + have hHN : ∀ r ∈ Icc 0 R, 0 ≤ H r := fun r hr => hlo0.trans (hH.2.2.2.2.1 r hr).1.1 + have hKN : ∀ r ∈ Icc 0 R, 0 ≤ K r := fun r hr => hlo0.trans (hK.2.2.2.2.1 r hr).1.1 + have hHC := radial_scalar_core_lower p (by omega) R m lo hR hR2 hm hm1 hmp hlo + H (radialAmplitudePotential c b A) hH.1 hH.2.1 hH.2.2.2.1.deriv hH.2.2.1 hHN hHV hH.2.2.2.2.2 + have hKC := radial_scalar_core_lower p (by omega) R m lo hR hR2 hm hm1 hmp hlo + K (radialAmplitudePotential c b B) hK.1 hK.2.1 hK.2.2.2.1.deriv hK.2.2.1 hKN hKV hK.2.2.2.2.2 + have h := radial_scalar_difference_bound p hp R m (10*D) hR hR2 (by positivity) + (by linarith) hmp (radialAmplitudePotential c b A) (radialAmplitudePotential c b B) + H K hH.1 hK.1 hH.2.1 hK.2.1 hH.2.2.2.1.deriv hK.2.2.2.1.deriv + (hH.2.2.1.trans hK.2.2.1.symm) hHN + (fun r hr => ⟨hKN r hr,(hK.2.2.2.2.1 r hr).1.2⟩) hHC hKC + (fun r hr => (hHV r hr).2) + (fun r hr => radialAmplitudePotential_difference c b R D hc hR2 hD A B hA hB hAI hBI hAB r ⟨hr.1.le,hr.2.le⟩) + hH.2.2.2.2.2 hK.2.2.2.2.2 + intro r hr + exact (h r hr).trans_eq (by ring) + +theorem radial_inner_contraction_constant (p : ℕ) (hp : 400 ≤ p) : + 10*(10/(p : ℝ)+(8/10000 : ℝ)^2) ≤ (1/2 : ℝ) := by + have hpR : (400 : ℝ) ≤ p := by exact_mod_cast hp + have hp0 : (0 : ℝ) < p := by linarith + have h : 10/(p : ℝ) ≤ (1/40 : ℝ) := (div_le_iff₀ hp0).2 (by linarith) + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingData.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingData.lean new file mode 100644 index 0000000000000000000000000000000000000000..9b9a7cbde356ca600cbc8004120e1ad6623e5036 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingData.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeShootingData +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledLargePower + +namespace OAI + +/-! Numerical data for the actual inner profiles at every sufficiently large odd power. -/ + +open Set Filter +namespace DefocusingNLS + +theorem exists_radialInnerShootingData : + ∃ N : ℕ, ∀ n : ℕ, N ≤ n → ∀ w : RadialShootingDisk, + ∃ P : RadialInnerData, P.p=2*n+1 ∧ P.R=innerBoundaryRadius ∧ + P.lo=‖(radialFreeInnerJet w innerBoundaryRadius).1‖ ∧ + P.c=6-1/(n : ℝ) ∧ P.b=radialShootingB w := by + obtain ⟨P₁,_,hP₁⟩ := scalar_boundary_power_small (1-3*(1/10000 : ℝ)^2/20) + (by norm_num) (by norm_num) + have ht := tendsto_pow_atTop_nhds_zero_of_lt_one + (by norm_num : (0 : ℝ) ≤ 999/1000) (by norm_num : (999/1000 : ℝ) < 1) + obtain ⟨P₂,hP₂⟩ := eventually_atTop.mp + (ht.eventually (gt_mem_nhds (by norm_num : (0 : ℝ) < 1/5))) + refine ⟨max 200 (max P₁ P₂),?_⟩ + intro n hn w + have hn200 : 200 ≤ n := (le_max_left _ _).trans hn + have hnP₁ : P₁ ≤ n := (le_max_left _ _).trans ((le_max_right _ _).trans hn) + have hnP₂ : P₂ ≤ n := (le_max_right _ _).trans ((le_max_right _ _).trans hn) + let lo := ‖(radialFreeInnerJet w innerBoundaryRadius).1‖ + have hlo := (radialFreeInnerJet_spec w).2.2.2.2 + have hlo0 : 0 ≤ lo := norm_nonneg _ + have hsmall : lo^((2*n+1)-1) ≤ (3/10 : ℝ) := + hP₁ (2*n+1) (by omega) lo hlo0 (by dsimp [lo]; linarith [hlo.2]) + have hleft : (999/1000 : ℝ)^(2*n) ≤ (1/5 : ℝ) := (hP₂ (2*n) (by omega)).le + have htarg : (1/5 : ℝ) ∈ Icc ((999/1000 : ℝ)^(2*n)) ((1 : ℝ)^(2*n)) := + ⟨hleft,by norm_num⟩ + obtain ⟨m,hm,hmp⟩ := intermediate_value_Icc (by norm_num : (999/1000 : ℝ) ≤ 1) + (continuous_id.pow (2*n)).continuousOn htarg + have hnpos : (0 : ℝ) < n := by exact_mod_cast (show 0 < n by omega) + have hinv : 1/(n : ℝ) ≤ (1/100 : ℝ) := (div_le_iff₀ hnpos).mpr (by + have hh : (200 : ℝ) ≤ n := by exact_mod_cast hn200 + linarith) + let c : ℝ := 6-1/(n : ℝ) + refine ⟨({ p := 2*n+1 + R := innerBoundaryRadius + lo := lo + c := c + b := radialShootingB w + m := m + hp := by omega + hR := innerBoundaryRadius_bounds.1 + hR2 := innerBoundaryRadius_bounds.2 + hlo := by dsimp [lo]; linarith [hlo.1] + hlo1 := by dsimp [lo]; linarith [hlo.2] + hSmall := hsmall + hm := hm.1 + hm1 := hm.2 + hmp := by simpa using hmp + hc := ⟨by dsimp [c]; linarith,by + dsimp [c] + have := one_div_nonneg.mpr hnpos.le + linarith⟩ + hb := (radialShooting_geometry w).1 } : RadialInnerData),rfl,rfl,rfl,rfl,rfl⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingFamily.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingFamily.lean new file mode 100644 index 0000000000000000000000000000000000000000..a8d7bbcacf9b07adc120a9e35517179dd4aa027b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingFamily.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerShootingData +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledComplexParameter + +namespace OAI + +/-! The canonical nonlinear inner family and its continuous complex boundary map. -/ + +open Set Filter +namespace DefocusingNLS + +noncomputable def radialInnerShootingThreshold : ℕ := Classical.choose exists_radialInnerShootingData + +theorem radialInnerShootingData_exists (n : ℕ) (w : RadialShootingDisk) : + ∃ P : RadialInnerData, P.p=2*(n+radialInnerShootingThreshold)+1 ∧ P.R=innerBoundaryRadius ∧ + P.lo=‖(radialFreeInnerJet w innerBoundaryRadius).1‖ ∧ + P.c=6-1/((n+radialInnerShootingThreshold : ℕ) : ℝ) ∧ P.b=radialShootingB w := + Classical.choose_spec exists_radialInnerShootingData (n+radialInnerShootingThreshold) + (by unfold radialInnerShootingThreshold; omega) w + +noncomputable def radialShootingInnerData (n : ℕ) (w : RadialShootingDisk) : RadialInnerData := + Classical.choose (radialInnerShootingData_exists n w) + +theorem radialShootingInnerData_p (n : ℕ) (w : RadialShootingDisk) : + (radialShootingInnerData n w).p=2*(n+radialInnerShootingThreshold)+1 := + (Classical.choose_spec (radialInnerShootingData_exists n w)).1 + +theorem radialShootingInnerData_R (n : ℕ) (w : RadialShootingDisk) : + (radialShootingInnerData n w).R=innerBoundaryRadius := + (Classical.choose_spec (radialInnerShootingData_exists n w)).2.1 + +theorem radialShootingInnerData_lo (n : ℕ) (w : RadialShootingDisk) : + (radialShootingInnerData n w).lo=‖(radialFreeInnerJet w innerBoundaryRadius).1‖ := + (Classical.choose_spec (radialInnerShootingData_exists n w)).2.2.1 + +theorem radialShootingInnerData_c (n : ℕ) (w : RadialShootingDisk) : + (radialShootingInnerData n w).c=6-1/((n+radialInnerShootingThreshold : ℕ) : ℝ) := + (Classical.choose_spec (radialInnerShootingData_exists n w)).2.2.2.1 + +theorem radialShootingInnerData_b (n : ℕ) (w : RadialShootingDisk) : + (radialShootingInnerData n w).b=radialShootingB w := + (Classical.choose_spec (radialInnerShootingData_exists n w)).2.2.2.2 + +noncomputable def radialShootingInnerAmplitude (n : ℕ) (w : RadialShootingDisk) : ℝ → ℝ := + Classical.choose (exists_radial_coupled_profile (radialShootingInnerData n w)) + +theorem radialShootingInnerAmplitude_spec (n : ℕ) (w : RadialShootingDisk) : + let P := radialShootingInnerData n w + let H := radialShootingInnerAmplitude n w + RadialInnerOutputSpec P.p P.R P.lo P.c P.b H H := + Classical.choose_spec (exists_radial_coupled_profile (radialShootingInnerData n w)) + +noncomputable def radialShootingInnerComplex (n : ℕ) (w : RadialShootingDisk) : ℝ → ℂ := + radialPolar (radialShootingInnerAmplitude n w) + (radialPhase (radialShootingInnerData n w).c + (radialClampedAmplitude innerBoundaryRadius (radialShootingInnerAmplitude n w))) + +noncomputable def radialShootingInnerBoundary (n : ℕ) (w : RadialShootingDisk) : ℂ × ℂ := + (radialShootingInnerComplex n w innerBoundaryRadius, + deriv (radialShootingInnerComplex n w) innerBoundaryRadius) + +theorem continuous_radialShootingInnerBoundary (n : ℕ) : + Continuous (radialShootingInnerBoundary n) := by + apply SeqContinuous.continuous + intro w w₀ hw + have hlo : Tendsto (fun i => (radialShootingInnerData n (w i)).lo) atTop + (nhds (radialShootingInnerData n w₀).lo) := by + simpa only [radialShootingInnerData_lo] using! + continuous_radialFreeInner_boundary.fst.norm.continuousAt.tendsto.comp hw + have hc : Tendsto (fun i => (radialShootingInnerData n (w i)).c) atTop + (nhds (radialShootingInnerData n w₀).c) := by + simp only [radialShootingInnerData_c] + exact tendsto_const_nhds + have hbc : Continuous radialShootingB := by unfold radialShootingB; fun_prop + have hb : Tendsto (fun i => (radialShootingInnerData n (w i)).b) atTop + (nhds (radialShootingInnerData n w₀).b) := by + simpa only [radialShootingInnerData_b] using! hbc.continuousAt.tendsto.comp hw + have hh := radial_coupled_complex_parameter_limit (radialShootingInnerData n w₀) + (fun i => radialShootingInnerData n (w i)) + (fun i => by rw [radialShootingInnerData_p,radialShootingInnerData_p]) + (fun i => by rw [radialShootingInnerData_R,radialShootingInnerData_R]) hlo hc hb + (radialShootingInnerAmplitude n w₀) (fun i => radialShootingInnerAmplitude n (w i)) + (radialShootingInnerAmplitude_spec n w₀) (fun i => radialShootingInnerAmplitude_spec n (w i)) + simpa only [radialShootingInnerData_R,radialShootingInnerBoundary,radialShootingInnerComplex] using! hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..b7adaf4cd17084c6d473a640fad8cd48dd5e1502 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerShootingLimit.lean @@ -0,0 +1,77 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerShootingFamily +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexBoundaryConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactSubsequence +import Mathlib.Analysis.SpecificLimits.Basic + +namespace OAI + +/-! Uniform convergence of the actual nonlinear inner boundary jet on the shooting disk. -/ + +open Set Filter +namespace DefocusingNLS + +theorem innerBoundaryRadius_lower : (3+7/10000 : ℝ) ≤ innerBoundaryRadius := by + have hz : (27/10 : ℝ) ≤ (ProfileCertificate.centerZ : ℝ) := by + norm_num [ProfileCertificate.centerZ] + have hsq := Real.sq_sqrt (show (0 : ℝ) ≤ (ProfileCertificate.centerZ : ℝ) by linarith) + have hs := Real.sqrt_nonneg (ProfileCertificate.centerZ : ℝ) + have hl : (8/5 : ℝ) ≤ Real.sqrt (ProfileCertificate.centerZ : ℝ) := by nlinarith + unfold innerBoundaryRadius + linarith + +theorem radialShootingInner_subsequence_limit (s : ℕ → ℕ) (hs : StrictMono s) + (w : ℕ → RadialShootingDisk) (w₀ : RadialShootingDisk) + (hw : Tendsto w atTop (nhds w₀)) : + Tendsto (fun i => radialShootingInnerBoundary (s i) (w i)) atTop + (nhds (radialFreeInnerJet w₀ innerBoundaryRadius)) := by + have hsn : Tendsto (fun i => s i+radialInnerShootingThreshold) atTop atTop := + tendsto_atTop_mono (fun _ => Nat.le_add_right _ _) hs.tendsto_atTop + have hp : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).p) atTop atTop := by + simp only [radialShootingInnerData_p] + exact tendsto_atTop_mono (fun i => by omega) hs.tendsto_atTop + have hc : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).c) atTop (nhds 6) := by + simp only [radialShootingInnerData_c] + have ht := ((tendsto_one_div_atTop_nhds_zero_nat : + Tendsto (fun n : ℕ => 1/(n : ℝ)) atTop (nhds 0)).comp hsn).const_sub 6 + simpa only [Function.comp_def,sub_zero] using ht + have hbc : Continuous radialShootingB := by unfold radialShootingB; fun_prop + have hb : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).b) atTop + (nhds (radialShootingB w₀)) := by + simpa only [radialShootingInnerData_b] using! hbc.continuousAt.tendsto.comp hw + have hlo : Tendsto (fun i => (radialShootingInnerData (s i) (w i)).lo) atTop + (nhds ‖(radialFreeInnerJet w₀ innerBoundaryRadius).1‖) := by + simpa only [radialShootingInnerData_lo] using! + continuous_radialFreeInner_boundary.fst.norm.continuousAt.tendsto.comp hw + obtain ⟨hb₀,hR₀,hu,hlu,hwidth,hshell⟩ := radialShooting_geometry w₀ + have hslt : radialShootingR w₀ < innerBoundaryRadius := by linarith [hshell.1] + obtain ⟨hJ,hFI,hGI,hbound,_⟩ := radialFreeInnerJet_spec w₀ + have hconv := radial_coupled_complex_boundary_convergence innerBoundaryRadius (radialShootingR w₀) + (radialShootingB w₀) innerBoundaryRadius_lower hu hR₀ hslt hwidth hb₀ + (fun r => (radialFreeInnerJet w₀ r).1) (fun r => (radialFreeInnerJet w₀ r).2) + hJ.fst hJ.snd hFI hGI (fun r _ => hbound r) + (fun i => radialShootingInnerData (s i) (w i)) (fun i => radialShootingInnerData_R (s i) (w i)) + (fun i => radialShootingInnerAmplitude (s i) (w i)) + (fun i => by simpa only [radialShootingInnerData_R] using + radialShootingInnerAmplitude_spec (s i) (w i)) hp hc hb hlo + simpa only [radialShootingInnerBoundary,radialShootingInnerComplex] using! hconv + +theorem radialShootingInner_uniform_limit : + TendstoUniformly radialShootingInnerBoundary + (fun w => radialFreeInnerJet w innerBoundaryRadius) atTop := by + classical + rw [Metric.tendstoUniformly_iff] + intro ε hε + by_contra h + obtain ⟨s,hs,w,w₀,hw,hbad⟩ := radial_compact_bad_subsequence + (fun n w => dist (radialFreeInnerJet w innerBoundaryRadius) (radialShootingInnerBoundary n w) < ε) h + have hI := radialShootingInner_subsequence_limit s hs w w₀ hw + have hF := continuous_radialFreeInner_boundary.continuousAt.tendsto.comp hw + have hd : Tendsto (fun i => dist (radialShootingInnerBoundary (s i) (w i)) + (radialFreeInnerJet (w i) innerBoundaryRadius)) atTop (nhds 0) := by + simpa only [dist_self] using! hI.dist hF + obtain ⟨i,hi⟩ := (hd.eventually (gt_mem_nhds hε)).exists + exact hbad i (by simpa only [dist_comm] using hi) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerSlopeContinuity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerSlopeContinuity.lean new file mode 100644 index 0000000000000000000000000000000000000000..d7dfabcdbbf75a93477cc4f180ef28283c43dedc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerSlopeContinuity.lean @@ -0,0 +1,39 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingInnerEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledComplexParameter + +namespace OAI + +/-! Continuity of the actual inner radial derivative up to the matching boundary. -/ + +open Set +namespace DefocusingNLS + +theorem radialShootingInner_derivative_continuousOn (n : ℕ) (w : RadialShootingDisk) : + ContinuousOn (deriv (radialShootingInnerComplex n w)) (Icc 0 innerBoundaryRadius) := by + let P := radialShootingInnerData n w + let H := radialShootingInnerAmplitude n w + have hH := radialShootingInnerAmplitude_spec n w + have hD := (radial_inner_integral_and_continuity P H hH).2 + rw [radialShootingInnerData_R] at hD + have hR : 0 ≤ innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + have hn (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) : H r ≠ 0 := + (radialShootingInner_positive n w r hr).ne' + have hHC : Continuous H := hH.1.continuous + have hB := radialClampedAmplitude_continuous innerBoundaryRadius H hHC + have hBn (r : ℝ) : radialClampedAmplitude innerBoundaryRadius H r ≠ 0 := + hn _ (radialClamp_mem innerBoundaryRadius r hR) + have hφ := (radialPhase_differentiable P.c _ hB hBn).continuous + have hv := radial_phase_speed_continuousOn P.c innerBoundaryRadius H hR hHC hn + have hc : ContinuousOn (radialPolarSlope H (deriv H) (radialPhaseSpeed P.c H) + (radialPhase P.c (radialClampedAmplitude innerBoundaryRadius H))) (Icc 0 innerBoundaryRadius) := by + unfold radialPolarSlope + fun_prop + apply hc.congr + intro r hr + have hh := radial_coupled_polar_deriv P H hH r (by + simpa only [P,radialShootingInnerData_R] using hr) + simpa only [P,H,radialShootingInnerData_R,radialShootingInnerComplex] using hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerStationary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerStationary.lean new file mode 100644 index 0000000000000000000000000000000000000000..e14b3b5f32eb918034a8f590b31204b0a679b4d5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialInnerStationary.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialStationaryReconstruction +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoupledLargePower + +namespace OAI + +/-! Genuine complex stationary solutions on the full inner ball for all sufficiently large powers. -/ + +open Set +namespace DefocusingNLS + +theorem exists_radial_inner_stationary (R : ℝ) (hR : 1 ≤ R) (hR2 : R^2 ≤ 11) : + ∃ P : ℕ, 400 ≤ P ∧ ∀ p : ℕ, P ≤ p → ∀ b : ℝ, + b ∈ Icc (334/1000 : ℝ) (335/1000) → ∀ lo : ℝ, + lo ∈ Icc (1-(1/10000 : ℝ)^2/5) (1-3*(1/10000 : ℝ)^2/20) → + ∃ Q : ℝ → ℂ, Differentiable ℝ Q ∧ 0 < (Q 0).re ∧ (Q 0).im=0 ∧ + (∀ r ∈ Icc 0 R, ‖Q r‖ ∈ Icc lo 1 ∧ ‖Q r‖^(p-1) ≤ (1/2 : ℝ)) ∧ + (∀ r ∈ Ioo 0 R, + deriv (deriv Q) r+(11/r : ℝ)*deriv Q r+ + Complex.I*((r/2 : ℝ)*deriv Q r+((1/((p-1 : ℕ) : ℝ) : ℝ) : ℂ)*Q r)+ + (b : ℂ)*Q r=(‖Q r‖^(p-1) : ℝ)*Q r) := by + obtain ⟨P,hP,hProfile⟩ := exists_radial_coupled_large_power_uniform R hR hR2 + refine ⟨P,hP,?_⟩ + intro p hp b hb lo hlo + have hp400 : 400 ≤ p := hP.trans hp + let a : ℝ := 1/((p-1 : ℕ) : ℝ) + have hn : (399 : ℝ) ≤ ((p-1 : ℕ) : ℝ) := by exact_mod_cast (show 399 ≤ p-1 by omega) + have hn0 : (0 : ℝ) < ((p-1 : ℕ) : ℝ) := by linarith + have ha0 : 0 ≤ a := by dsimp only [a]; positivity + have ha : a ≤ (1/200 : ℝ) := (div_le_iff₀ hn0).2 (by linarith) + have hc : 6-2*a ∈ Icc (599/100 : ℝ) 6 := ⟨by linarith,by linarith⟩ + obtain ⟨A,hA,hDA,hAR,hA0,hAI,hEq⟩ := hProfile p hp (6-2*a) b hc hb lo hlo + have hlo0 : 0 < lo := by linarith [hlo.1] + have hAP : ∀ r ∈ Icc 0 R, 0 < A r := fun r hr => hlo0.trans_le (hAI r hr).1.1 + let Q := radialInnerComplex R a A + have hPhi : Differentiable ℝ (radialInnerPhase R a A) := + radialPhase_differentiable (6-2*a) (radialClampedAmplitude R A) + (radialClampedAmplitude_continuous R A hA.continuous) + (fun r => (hAP _ (radialClamp_mem R r (by linarith))).ne') + have hNorm : ∀ r ∈ Icc 0 R, ‖Q r‖=A r := + fun r hr => radialInnerComplex_norm R a A r (hAP r hr).le + refine ⟨Q,(fun r => (radialPolar_hasDerivAt A _ hA hPhi r).differentiableAt),?_,?_,?_,?_⟩ + · change 0 < (radialInnerComplex R a A 0).re + rw [radialInnerComplex_origin,Complex.ofReal_re] + exact hAP 0 ⟨le_rfl,by linarith⟩ + · change (radialInnerComplex R a A 0).im=0 + rw [radialInnerComplex_origin,Complex.ofReal_im] + · intro r hr + rw [hNorm r hr] + exact hAI r hr + · intro r hr + rw [hNorm r ⟨hr.1.le,hr.2.le⟩] + exact radialInnerComplex_stationary p (by omega) R a b (by linarith) A hA hAP hDA hEq r hr + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralConvergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralConvergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..bed9c999171ae4fb8bd4d5cb18b27568a28f16b3 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralConvergence.lean @@ -0,0 +1,35 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightedIntegral + +namespace OAI + +/-! The fixed radial integral is continuous for uniform convergence on its interval. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_integral_tendsto (R : ℝ) (hR : 0 ≤ R) (f : ℕ → ℝ → ℝ) (g : ℝ → ℝ) + (hf : ∀ n, ContinuousOn (f n) (Icc 0 R)) (hg : ContinuousOn g (Icc 0 R)) + (hT : TendstoUniformlyOn f g atTop (Icc 0 R)) : + Tendsto (fun n => ∫ t in (0 : ℝ)..R, f n t) atTop (𝓝 (∫ t in (0 : ℝ)..R, g t)) := by + rw [Metric.tendsto_nhds] + intro ε hε + let δ := ε/(R+1) + have hδ : 0 < δ := div_pos hε (by linarith) + have hδC : δ*(R+1)=ε := div_mul_cancel₀ _ (by linarith) + have hevent := (Metric.tendstoUniformlyOn_iff.mp hT) δ hδ + filter_upwards [hevent] with n hn + have hfn := ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hR (hf n) + have hgn := ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hR hg + have hi : ‖∫ t in (0 : ℝ)..R, f n t-g t‖ ≤ δ*R := by + have hh := intervalIntegral.norm_integral_le_of_norm_le_const + (a := 0) (b := R) (C := δ) (f := fun t => f n t-g t) (fun t ht => by + have htI : t ∈ Icc 0 R := ⟨(uIoc_of_le hR ▸ ht).1.le,(uIoc_of_le hR ▸ ht).2⟩ + have he := (hn t htI).le + rwa [dist_comm,dist_eq_norm] at he) + simpa only [sub_zero,abs_of_nonneg hR] using hh + rw [dist_eq_norm,← intervalIntegral.integral_sub hfn hgn] + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralRegularity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralRegularity.lean new file mode 100644 index 0000000000000000000000000000000000000000..a49df3ab754cd78288ac8b885ccf548cea3efcba --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralRegularity.lean @@ -0,0 +1,46 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialRectangleIntegral +import Mathlib.Analysis.Calculus.ContDiff.Deriv +import Mathlib.Analysis.Calculus.TangentCone.Prod + +namespace OAI + +/-! Finite-order smoothness of the regular origin integral, including its one-sided boundary. -/ + +open Set +namespace DefocusingNLS + +theorem radial_rectangle_integral_contDiffOn (R : ℝ) (hR : 0 < R) (n : ℕ) + (F : ℝ × ℝ → ℂ) (hF : ContDiffOn ℝ n F (Icc 0 R ×ˢ Icc 0 1)) : + ContDiffOn ℝ n (fun x => ∫ t in Icc (0 : ℝ) 1, F (x,t)) (Icc 0 R) := by + induction n generalizing F with + | zero => + rw [Nat.cast_zero,contDiffOn_zero] + exact radial_rectangle_integral_continuousOn R hR.le F hF.continuousOn + | succ n ih => + rw [Nat.cast_succ] at hF ⊢ + let S : Set (ℝ × ℝ) := Icc 0 R ×ˢ Icc 0 1 + have hU : UniqueDiffOn ℝ (Icc 0 R) := uniqueDiffOn_Icc hR + have hS : UniqueDiffOn ℝ S := hU.prod (uniqueDiffOn_Icc (by norm_num)) + let D : ℝ × ℝ → ℂ := fun p => fderivWithin ℝ F S p (1,0) + have hDC : ContDiffOn ℝ n D S := + (hF.fderivWithin hS (by simp)).clm_apply contDiffOn_const + have hDF : DifferentiableOn ℝ F S := hF.differentiableOn (by simp) + have hd (x : ℝ) (hx : x ∈ Icc 0 R) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) 1) : + HasDerivWithinAt (fun y => F (y,t)) (D (x,t)) (Icc 0 R) x := by + have hp : HasDerivWithinAt (fun y : ℝ => (y,t)) (1,0) (Icc 0 R) x := + (hasDerivWithinAt_id x _).prodMk (hasDerivWithinAt_const x _ t) + have hpt : (x,t) ∈ S := ⟨hx,ht⟩ + have hm : MapsTo (fun y : ℝ => (y,t)) (Icc 0 R) S := fun _ hy => ⟨hy,ht⟩ + exact (hDF (x,t) hpt).hasFDerivWithinAt.comp_hasDerivWithinAt x hp hm + have hI := ih D hDC + have hId (x : ℝ) (hx : x ∈ Icc 0 R) := + radial_rectangle_integral_hasDerivWithinAt R hR.le F D hF.continuousOn hDC.continuousOn hd x hx + apply (contDiffOn_succ_iff_derivWithin hU).2 + refine ⟨fun x hx => (hId x hx).differentiableWithinAt,by simp,?_⟩ + apply hI.congr + intro x hx + exact (hId x hx).derivWithin (hU x hx) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralUniform.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralUniform.lean new file mode 100644 index 0000000000000000000000000000000000000000..f03482122ac2ce7730a13df77e54b5ecce8544d7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialIntegralUniform.lean @@ -0,0 +1,39 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightedIntegral + +namespace OAI + +/-! The fixed radial integral is continuous for uniform convergence on its interval. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_integral_uniform (R : ℝ) (hR : 0 ≤ R) (f : ℕ → ℝ → ℝ) (g : ℝ → ℝ) + (hf : ∀ n, ContinuousOn (f n) (Icc 0 R)) (hg : ContinuousOn g (Icc 0 R)) + (hT : TendstoUniformlyOn f g atTop (Icc 0 R)) : + TendstoUniformlyOn (fun n r => ∫ t in (0 : ℝ)..r, f n t) + (fun r => ∫ t in (0 : ℝ)..r, g t) atTop (Icc 0 R) := by + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + let δ := ε/(R+1) + have hδ : 0 < δ := div_pos hε (by linarith) + have hδC : δ*(R+1)=ε := div_mul_cancel₀ _ (by linarith) + have hevent := (Metric.tendstoUniformlyOn_iff.mp hT) δ hδ + filter_upwards [hevent] with n hn r hr + have hfn := ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hr.1 + ((hf n).mono (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + have hgn := ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hr.1 + (hg.mono (fun t ht => ⟨ht.1,ht.2.trans hr.2⟩)) + have hi : ‖∫ t in (0 : ℝ)..r, f n t-g t‖ ≤ δ*r := by + have hh := intervalIntegral.norm_integral_le_of_norm_le_const + (a := 0) (b := r) (C := δ) (f := fun t => f n t-g t) (fun t ht => by + have htI : t ∈ Icc 0 R := ⟨(uIoc_of_le hr.1 ▸ ht).1.le, (uIoc_of_le hr.1 ▸ ht).2.trans hr.2⟩ + have he := (hn t htI).le + rwa [dist_comm,dist_eq_norm] at he) + simpa only [sub_zero,abs_of_nonneg hr.1] using hh + rw [dist_comm,dist_eq_norm,← intervalIntegral.integral_sub hfn hgn] + have hprod := mul_le_mul_of_nonneg_left hr.2 hδ.le + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanChannels.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanChannels.lean new file mode 100644 index 0000000000000000000000000000000000000000..6c67956926fda7b7f1ca1e34a0b52f0e90b614c7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanChannels.lean @@ -0,0 +1,88 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousJordanChannels +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicEigenmode + +namespace OAI + +/-! The radial source equation of an actual finite Jordan chain. -/ + +open Set +open scoped ContDiff Laplacian +namespace DefocusingNLS +local notation "E" => EuclideanSpace ℝ (Fin 12) + +def IsHarmonicRadialSourcePair (a b : ℝ) (m : ℕ) (Q : ℝ → ℂ) (eta lam : ℂ) + (f g F G : ℝ → ℂ) : Prop := + ∀ r : ℝ, 0 Y z.1)) (c : ℂ) (r : ℝ) : + harmonicAngularCoefficient Y + (fun x => homogeneousPhysicalCLM a k ha ha1 hk (c • u+v) x) r= + c*harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk u x) r+ + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk v x) r := by + let P := fun w : HomogeneousY a k => fun x : E => homogeneousPhysicalCLM a k ha ha1 hk w x + have hf : (fun x => homogeneousPhysicalCLM a k ha ha1 hk (c • u+v) x)= + (fun x => c*P u x+1*P v x+0*P 0 x+0*P 0 x) := by + funext x + simp only [map_add,map_smul,ZeroAtInftyContinuousMap.add_apply, + ZeroAtInftyContinuousMap.smul_apply,smul_eq_mul,zero_mul,one_mul,add_zero,P] + rw [hf] + simpa only [one_mul,zero_mul,add_zero] using harmonicAngularCoefficient_four + Y (P u) (P v) (P 0) (P 0) hY + (homogeneousPhysicalCLM a k ha ha1 hk u).continuous + (homogeneousPhysicalCLM a k ha ha1 hk v).continuous + (homogeneousPhysicalCLM a k ha ha1 hk 0).continuous + (homogeneousPhysicalCLM a k ha ha1 hk 0).continuous c 1 0 0 r + +theorem homogeneous_contour_jordan_radial (a b k : ℝ) + (ha : 0 + harmonicAngularCoefficient Y (fun x => homogeneousPhysicalCLM a k ha ha1 hk f x) + ContDiff ℝ 2 (A (w : HomogeneousY a k × HomogeneousY a k).1) ∧ + ContDiff ℝ 2 (A (w : HomogeneousY a k × HomogeneousY a k).2) ∧ + IsHarmonicRadialSourcePair a b m Q eta lam + (A (w : HomogeneousY a k × HomogeneousY a k).1) + (A (w : HomogeneousY a k × HomogeneousY a k).2) + (A (v : HomogeneousY a k × HomogeneousY a k).1) + (A (v : HomogeneousY a k × HomogeneousY a k).2) := by + dsimp only + have hd := projectionSemigroup_generator_domain + (homogeneousComplexLinearizedStep a b k ha ha1 hk m q) P hcomm hfin G hG w + obtain ⟨hf,hg,hEq⟩ := homogeneous_generator_harmonic_channels a b k ha ha1 hk m q Q hq + (w : HomogeneousY a k × HomogeneousY a k) + (G w : HomogeneousY a k × HomogeneousY a k) hd Y eta hY hRay hEigen + have hval : (G w : HomogeneousY a k × HomogeneousY a k)= + lam • (w : HomogeneousY a k × HomogeneousY a k)+ + (v : HomogeneousY a k × HomogeneousY a k) := congrArg Subtype.val he + refine ⟨hf,hg,?_⟩ + intro r hr + have hh := hEq r hr + rw [hval] at hh + simpa only [Prod.fst_add,Prod.snd_add,Prod.smul_fst,Prod.smul_snd, + homogeneous_harmonic_smul_add a k ha ha1 hk _ _ Y (continuous_harmonicSphere Y hY)] using hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanMode.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanMode.lean new file mode 100644 index 0000000000000000000000000000000000000000..266b72f8a344b6f77fcb25fa0b8593ade9255f48 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanMode.lean @@ -0,0 +1,32 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralMode +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanChannels + +namespace OAI + +/-! A nontrivial classical radial Jordan pair with the actual finite-energy conditions. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +def HasRadialJordanMode (n : ℕ) (z : ProfileMatchingBall) (ell N : ℕ) (lam : ℂ) : Prop := + ∃ u : RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) N (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam, + ∃ v w : ℝ → ℂ, ContDiff ℝ 2 v ∧ ContDiff ℝ 2 w ∧ + IsHarmonicRadialSourcePair (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam + v w u.first u.second ∧ + IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi 0) ∧ + IntegrableOn (fun r => r^11*‖iteratedDeriv N w r‖^2) (Ioi 0) ∧ + ∃ M : ℝ, 0≤M ∧ ∀ r, ‖(v r,w r)‖≤M + +theorem HasRadialJordanMode.radialMode {n ell N : ℕ} {z : ProfileMatchingBall} {lam : ℂ} + (h : HasRadialJordanMode n z ell N lam) : + Nonempty (RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) N (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam) := by + obtain ⟨u,_⟩ := h + exact ⟨u⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanSmoothness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanSmoothness.lean new file mode 100644 index 0000000000000000000000000000000000000000..84c5b9f841bc29d143f651052734cfb544723776 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanSmoothness.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanState + +namespace OAI + +/-! Smooth radial sources give smooth generalized modes away from the origin. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem harmonicRadialSourcePair_contDiffOn (a b : ℝ) (m : ℕ) + (Q f g F G : ℝ → ℂ) (eta lam : ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (heq : IsHarmonicRadialSourcePair a b m Q eta lam f g F G) + (R : ℝ) (hR : 0≤R) (hQ : ContDiffOn ℝ ∞ Q (Ioi R)) + (hF : ContDiffOn ℝ ∞ F (Ioi R)) (hG : ContDiffOn ℝ ∞ G (Ioi R)) : + ContDiffOn ℝ ∞ f (Ioi R) ∧ ContDiffOn ℝ ∞ g (Ioi R) := by + have hstate : ContDiffOn ℝ ∞ (harmonicRadialState f g) (Ioi R) := by + intro r hr + change R hα.trans_le ht.1 + have hbase := spectralPhysicalCircularField_contDiffOn + (-2*(a : ℂ)+2*Complex.I*(b : ℂ)-2*lam) + (-2*(a : ℂ)-2*Complex.I*(b : ℂ)-2*lam) eta m Q (Icc α β) + (hQ.mono hsub) (fun t ht => (hR.trans_lt (hsub ht)).ne') + have hFc : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => F p.1) (Icc α β ×ˢ univ) := + (hF.mono hsub).comp contDiff_fst.contDiffOn (fun _ hp => hp.1) + have hGc : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => G p.1) (Icc α β ×ˢ univ) := + (hG.mono hsub).comp contDiff_fst.contDiffOn (fun _ hp => hp.1) + have hsource : ContDiffOn ℝ ∞ (fun p : ℝ × E₄ => + (((0 : ℂ),-Complex.I*F p.1),((0 : ℂ),Complex.I*G p.1))) (Icc α β ×ˢ univ) := + (contDiffOn_const.prodMk (contDiffOn_const.mul hFc)).prodMk + (contDiffOn_const.prodMk (contDiffOn_const.mul hGc)) + have hv : ContDiffOn ℝ ∞ (harmonicRadialState f g) (Icc α β) := by + apply ODE.contDiffOn_enat_Icc_of_hasDerivWithinAt + (f := fun t U => spectralPhysicalCircularField + (-2*(a : ℂ)+2*Complex.I*(b : ℂ)-2*lam) + (-2*(a : ℂ)-2*Complex.I*(b : ℂ)-2*lam) eta m (Q t) t U+ + ((0,-Complex.I*F t),(0,Complex.I*G t))) + (u := (univ : Set E₄)) (hbase.add hsource) + · exact fun t ht => (harmonicRadialSourcePair_hasDerivAt a b m Q f g F G eta lam + hf hg heq t (hR.trans_lt (hsub ht))).hasDerivWithinAt + · exact fun _ _ => mem_univ _ + exact (hv.contDiffAt (Icc_mem_nhds hαr hrβ)).contDiffWithinAt + exact ⟨hstate.fst.fst,hstate.snd.fst⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanState.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanState.lean new file mode 100644 index 0000000000000000000000000000000000000000..e8844a4e949ae215beb360dca6f05239d68e6406 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialJordanState.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialJordanChannels +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousHarmonicSmoothness + +namespace OAI + +/-! The physical first-order equation of a radial Jordan chain. -/ + +open scoped ContDiff +namespace DefocusingNLS + +theorem harmonicRadialSourcePair_hasDerivAt (a b : ℝ) (m : ℕ) + (Q f g F G : ℝ → ℂ) (eta lam : ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (heq : IsHarmonicRadialSourcePair a b m Q eta lam f g F G) + (r : ℝ) (hr : 0 < r) : + HasDerivAt (harmonicRadialState f g) + (spectralPhysicalCircularField (-2 * (a : ℂ) + 2 * Complex.I * (b : ℂ) - 2 * lam) + (-2 * (a : ℂ) - 2 * Complex.I * (b : ℂ) - 2 * lam) eta m (Q r) r + (harmonicRadialState f g r) + + ((0, -Complex.I * F r), (0, Complex.I * G r))) r := by + have hfd := ((hf.deriv' : ContDiff ℝ 1 (deriv f)).differentiable one_ne_zero r).hasDerivAt + have hgd := ((hg.deriv' : ContDiff ℝ 1 (deriv g)).differentiable one_ne_zero r).hasDerivAt + have hd := (((hf.differentiable (by norm_num) r).hasDerivAt.prodMk hfd).prodMk + ((hg.differentiable (by norm_num) r).hasDerivAt.prodMk hgd)) + apply hd.congr_deriv + obtain ⟨hp, hm⟩ := heq r hr + apply Prod.ext <;> apply Prod.ext + · simp only [Prod.fst_add, add_zero, harmonicRadialState, spectralPhysicalCircularField] + · dsimp only [harmonicRadialState, spectralPhysicalCircularField, + spectralDiagonalCoefficient, spectralCrossCoefficient, Prod.fst_add, Prod.snd_add] + push_cast at hp ⊢ + linear_combination (norm := (ring_nf; simp only [Complex.I_sq]; ring)) Complex.I * hp + · simp only [Prod.snd_add, Prod.fst_add, add_zero, harmonicRadialState, + spectralPhysicalCircularField] + · dsimp only [harmonicRadialState, spectralPhysicalCircularField, + spectralDiagonalCoefficient, spectralCrossCoefficient, Prod.fst_add, Prod.snd_add] + push_cast at hm ⊢ + linear_combination (norm := (ring_nf; simp only [Complex.I_sq]; ring)) -Complex.I * hm + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLimitFreeEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLimitFreeEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..f9441c25bc65188192d6e11c38983ad90713f89f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLimitFreeEquation.lean @@ -0,0 +1,116 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialInnerLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureDecay +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPotentialConvergence +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPotentialLocalContinuity +import Mathlib.Topology.MetricSpace.Algebra + +namespace OAI + +/-! The C¹ limit solves the free amplitude equation wherever it stays strictly below one. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_inner_limit_free_equation_on (R : ℝ) (P : ℕ → RadialInnerData) + (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (c b : ℝ) (hc : c ∈ Icc (599/100 : ℝ) 6) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 c)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (A D : ℝ → ℝ) (hA : Continuous A) (hD : Continuous D) + (hAI : ∀ r ∈ Icc 0 R, A r ∈ Icc (999/1000 : ℝ) 1) + (hTA : TendstoUniformlyOn H A atTop (Icc 0 R)) + (hTD : TendstoUniformlyOn (fun n => deriv (H n)) D atTop (Icc 0 R)) + (U : Set ℝ) (hU : IsOpen U) (hUR : U ⊆ Ioo 0 R) + (q : ℝ) (hq0 : 0 ≤ q) (hq1 : q < 1) (hqA : ∀ r ∈ U, A r ≤ q) : + ∀ r ∈ U, HasDerivAt A (D r) r ∧ HasDerivAt D + (-11/r*D r-radialAmplitudePotential c b A r*A r) r := by + have hUC : U ⊆ Icc 0 R := hUR.trans Ioo_subset_Icc_self + have hHI : ∀ n r, r ∈ Icc 0 R → H n r ∈ Icc (999/1000 : ℝ) 1 := by + intro n r hr + exact ⟨(P n).lo_lower.trans ((hH n).2.2.2.2.1 r hr).1.1, + ((hH n).2.2.2.2.1 r hr).1.2⟩ + have hP : TendstoUniformlyOn (fun n r => (H n r)^((P n).p-1)) (fun _ => 0) atTop U := + radial_pressure_uniform_decay (fun n => (P n).p) hp H A + (fun n r hr => le_trans (by norm_num) (hHI n r (hUC hr)).1) + (hTA.mono hUC) q hq0 hq1 hqA + let V := radialAmplitudePotential c b A + let Vn := fun n => radialAmplitudePotential (P n).c (P n).b (H n) + have hV : TendstoUniformlyOn Vn V atTop (Icc 0 R) := + radialAmplitudePotential_uniform_convergence R (by simpa only [hR 0] using (P 0).hR2) + (fun n => (P n).c) (fun n => (P n).b) c b (fun n => (P n).hc) hc hcT hbT + H A (fun n => (hH n).1.continuous) hA hHI hAI hTA + have hVc : ContinuousOn V U := + (continuousOn_radialAmplitudePotential c b R A hA + (fun r hr => ne_of_gt (lt_of_lt_of_le (by norm_num) (hAI r hr).1))).mono hUC + have hC : ContinuousOn (fun r : ℝ => 11/r) U := + continuousOn_const.div continuousOn_id (fun r hr => (hUR hr).1.ne') + let Fn := fun n r => ((H n r)^((P n).p-1)-Vn n r)*H n r-(11/r)*deriv (H n) r + have hFT : TendstoLocallyUniformlyOn Fn (fun r => -V r*A r-(11/r)*D r) atTop U := by + have hPV := hP.tendstoLocallyUniformlyOn.sub (hV.mono hUC).tendstoLocallyUniformlyOn + have hPA := hPV.mul₀ (hTA.mono hUC).tendstoLocallyUniformlyOn + (continuousOn_const.sub hVc) hA.continuousOn + have hCt : TendstoUniformlyOn (fun _ : ℕ => fun r : ℝ => 11/r) + (fun r : ℝ => 11/r) atTop U := by + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + exact Eventually.of_forall (fun _ _ _ => by simpa only [dist_self] using hε) + have hCD := hCt.tendstoLocallyUniformlyOn.mul₀ + (hTD.mono hUC).tendstoLocallyUniformlyOn hC hD.continuousOn + have ht := hPA.sub hCD + change TendstoLocallyUniformlyOn Fn (fun r => (0-V r)*A r-(11/r)*D r) atTop U at ht + simpa only [zero_sub] using ht + have hFn : ∀ n r, r ∈ U → HasDerivAt (deriv (H n)) (Fn n r) r := by + intro n r hr + have hd := ((hH n).2.1 r (hUR hr)).hasDerivAt + have he := (hH n).2.2.2.2.2 r (hUR hr) + have hp1 : 1 ≤ (P n).p := by have := (P n).hp; omega + have hpw : (H n r)^((P n).p)=(H n r)^((P n).p-1)*H n r := by + rw [← pow_succ] + congr 1 + omega + apply hd.congr_deriv + dsimp [Fn,Vn] + rw [hpw] at he + linarith + intro r hr + constructor + · exact hasDerivAt_of_tendstoUniformlyOn hU (hTD.mono hUC) + (Eventually.of_forall (fun n r _ => ((hH n).1 r).hasDerivAt)) + (fun r hr => hTA.tendsto_at (hUC hr)) hr + · have hd := hasDerivAt_of_tendstoLocallyUniformlyOn hU hFT + (Eventually.of_forall hFn) (fun r hr => hTD.tendsto_at (hUC hr)) hr + convert! hd using 1 + ring + +/-- No pressure remains at any interior point of the limiting nonunit region. -/ +theorem radial_inner_limit_free_equation (R : ℝ) (P : ℕ → RadialInnerData) + (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (c b : ℝ) (hc : c ∈ Icc (599/100 : ℝ) 6) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 c)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (A D : ℝ → ℝ) (hA : Continuous A) (hD : Continuous D) + (hAI : ∀ r ∈ Icc 0 R, A r ∈ Icc (999/1000 : ℝ) 1) + (hTA : TendstoUniformlyOn H A atTop (Icc 0 R)) + (hTD : TendstoUniformlyOn (fun n => deriv (H n)) D atTop (Icc 0 R)) : + ∀ r ∈ Ioo 0 R, A r < 1 → HasDerivAt A (D r) r ∧ HasDerivAt D + (-11/r*D r-radialAmplitudePotential c b A r*A r) r := by + intro r hr hAr + let q := (A r+1)/2 + let U := Ioo 0 R ∩ {t | A t < q} + have hq0 : 0 ≤ q := by + have h := (hAI r ⟨hr.1.le,hr.2.le⟩).1 + dsimp [q] + linarith + have hq1 : q < 1 := by dsimp [q]; linarith + have hU : IsOpen U := isOpen_Ioo.inter (hA.isOpen_preimage _ isOpen_Iio) + have hru : r ∈ U := ⟨hr,by dsimp [q]; linarith⟩ + exact radial_inner_limit_free_equation_on R P hR H hH hp c b hc hcT hbT A D hA hD hAI hTA hTD + U hU (fun _ ht => ht.1) q hq0 hq1 (fun _ ht => ht.2.le) r hru + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLimitUniqueness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLimitUniqueness.lean new file mode 100644 index 0000000000000000000000000000000000000000..2b047c21082f7dcec8de932c10b8a6daed2584c1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLimitUniqueness.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCoreIdentification +import Mathlib.Order.Filter.AtTopBot.CountablyGenerated + +namespace OAI + +/-! Uniqueness and subsequence criteria for the C1 core limit. -/ + +open Set Filter Topology +namespace DefocusingNLS + +theorem radial_derivative_limit_unique (R : ℝ) (hR : 0 < R) + (A B D E : ℝ → ℝ) (hD : Continuous D) (hE : Continuous E) + (hAB : EqOn A B (Icc 0 R)) + (hAD : ∀ r ∈ Ioo 0 R, HasDerivAt A (D r) r) + (hBE : ∀ r ∈ Ioo 0 R, HasDerivAt B (E r) r) : EqOn D E (Icc 0 R) := by + have hi : Ioo 0 R ⊆ {r | D r=E r} := by + intro r hr + have hd : HasDerivAt B (D r) r := (hAD r hr).congr_of_eventuallyEq (by + filter_upwards [isOpen_Ioo.mem_nhds hr] with t ht + exact (hAB ⟨ht.1.le,ht.2.le⟩).symm) + exact hd.unique (hBE r hr) + have hc := closure_minimal hi (isClosed_eq hD hE) + rw [closure_Ioo hR.ne] at hc + exact hc + +theorem radial_uniform_limit_of_subsequences {ι : Type*} {s : Set ι} + (H : ℕ → ι → ℝ) (A : ι → ℝ) + (hs : ∀ ns : ℕ → ℕ, Tendsto ns atTop atTop → + ∃ ms : ℕ → ℕ, TendstoUniformlyOn (fun n => H (ns (ms n))) A atTop s) : + TendstoUniformlyOn H A atTop s := by + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + by_contra hn + have hf : ∃ᶠ n in atTop, ¬∀ r ∈ s, dist (A r) (H n r) < ε := by + simpa only [Filter.Frequently,not_not] using hn + obtain ⟨ns,hns,hbad⟩ := exists_seq_forall_of_frequently hf + obtain ⟨ms,hms⟩ := hs ns hns + have hgood := (Metric.tendstoUniformlyOn_iff.mp hms) ε hε + obtain ⟨n,hn⟩ := hgood.exists + exact hbad (ms n) hn + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLinearComparison.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLinearComparison.lean new file mode 100644 index 0000000000000000000000000000000000000000..8f157998e4f38a66ca43ad2525aa99f09bd9290f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLinearComparison.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMinimumPrinciple +import Mathlib.Analysis.SpecialFunctions.ExpDeriv +import Mathlib.Analysis.Calculus.Deriv.Pow + +namespace OAI + +/-! Comparison for the small-ball operator `-Δ-V+q`, using a positive Gaussian. -/ + +open Set +namespace DefocusingNLS + +theorem radialGaussian_hasDerivAt (r : ℝ) : + HasDerivAt (fun t : ℝ => Real.exp (t^2/24)) + ((r/12)*Real.exp (r^2/24)) r := by + convert! (((hasDerivAt_id r).pow 2).div_const 24).exp using 1 + simp only [Pi.pow_apply,id_eq] + ring + +theorem radialGaussian_product_deriv (u : ℝ → ℝ) (hu : Differentiable ℝ u) (r : ℝ) : + HasDerivAt (fun t : ℝ => Real.exp (t^2/24)*u t) + (Real.exp (r^2/24)*(deriv u r+r/12*u r)) r := by + convert! (radialGaussian_hasDerivAt r).mul (hu r).hasDerivAt using 1 + ring + +theorem radialGaussian_operator_identity (u : ℝ → ℝ) (hu : Differentiable ℝ u) + (r : ℝ) (hr : r ≠ 0) (hdu : DifferentiableAt ℝ (deriv u) r) : + let w := fun t : ℝ => Real.exp (t^2/24)*u t + deriv (deriv w) r+(11/r-r/6)*deriv w r= + Real.exp (r^2/24)*(deriv (deriv u) r+11/r*deriv u r+(1-r^2/144)*u r) := by + let w := fun t : ℝ => Real.exp (t^2/24)*u t + have hw : deriv w=fun t => Real.exp (t^2/24)*(deriv u t+t/12*u t) := + funext (fun t => (radialGaussian_product_deriv u hu t).deriv) + have hD := hdu.hasDerivAt.add (((hasDerivAt_id r).div_const 12).mul (hu r).hasDerivAt) + have hDD := ((radialGaussian_hasDerivAt r).mul hD).deriv + change deriv (fun t => Real.exp (t^2/24)*(deriv u t+t/12*u t)) r= + (r/12*Real.exp (r^2/24))*(deriv u r+r/12*u r)+ + Real.exp (r^2/24)*(deriv (deriv u) r+(1/12*u r+r/12*deriv u r)) at hDD + change deriv (deriv w) r+(11/r-r/6)*deriv w r=_ + rw [hw,hDD] + dsimp only + field_simp [hr] + ring + +theorem radial_linear_comparison (R : ℝ) (hR : 0 < R) (hR2 : R^2 ≤ 11) + (u V q : ℝ → ℝ) (hu : Differentiable ℝ u) + (hdu : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv u) r) + (hu0 : deriv u 0=0) (huR : 0 ≤ u R) + (hV : ∀ r ∈ Ioo 0 R, V r ≤ (1/2 : ℝ)) + (hq : ∀ r ∈ Ioo 0 R, 0 ≤ q r) + (hOp : ∀ r ∈ Ioo 0 R, + 0 ≤ -deriv (deriv u) r-11/r*deriv u r+(q r-V r)*u r) : + ∀ r ∈ Icc 0 R, 0 ≤ u r := by + let w := fun t : ℝ => Real.exp (t^2/24)*u t + have hw : Differentiable ℝ w := fun r => (radialGaussian_product_deriv u hu r).differentiableAt + have hw0 : deriv w 0=0 := by + rw [(radialGaussian_product_deriv u hu 0).deriv,hu0] + norm_num + have hwR : 0 ≤ w R := mul_nonneg (Real.exp_pos _).le huR + have hB : ∀ r ∈ Ioo 0 R, 0 < 11/r-r/6 := by + intro r hr + have hrsq : r^2 ≤ 11 := ((sq_le_sq₀ hr.1.le hR.le).2 hr.2.le).trans hR2 + apply sub_pos.mpr + apply (lt_div_iff₀ hr.1).2 + nlinarith + have hLap : ∀ r ∈ Ioo 0 R, w r < 0 → + deriv (deriv w) r+(11/r-r/6)*deriv w r ≤ 0 := by + intro r hr hwr + rw [radialGaussian_operator_identity u hu r hr.1.ne' (hdu r hr)] + have hur : u r < 0 := by + by_contra! hu0 + exact (not_lt_of_ge (mul_nonneg (Real.exp_pos _).le hu0)) hwr + have hrsq : r^2 ≤ 11 := ((sq_le_sq₀ hr.1.le hR.le).2 hr.2.le).trans hR2 + have hc : 0 < q r-V r+1-r^2/144 := by linarith [hq r hr,hV r hr] + have hn := mul_neg_of_pos_of_neg hc hur + apply mul_nonpos_of_nonneg_of_nonpos (Real.exp_pos _).le + linarith [hOp r hr] + have hpos := radial_minimum_principle_drift R 0 hR (fun r => 11/r-r/6) + hB w hw hw0 hwR hLap + intro r hr + exact nonneg_of_mul_nonneg_right (hpos r hr) (Real.exp_pos (r^2/24)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLinearOperator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLinearOperator.lean new file mode 100644 index 0000000000000000000000000000000000000000..2923eb4c133c1e419affbd88115442991a88f124 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLinearOperator.lean @@ -0,0 +1,116 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialLinearComparison + +namespace OAI + +/-! Linearity and order comparison for the scalar radial operator. -/ + +open Set +namespace DefocusingNLS + +noncomputable def radialLinearOperator (V q u : ℝ → ℝ) (r : ℝ) : ℝ := + -deriv (deriv u) r-11/r*deriv u r+(q r-V r)*u r + +theorem radialLinearOperator_sub (V q u v : ℝ → ℝ) + (hu : Differentiable ℝ u) (hv : Differentiable ℝ v) (r : ℝ) + (hdu : DifferentiableAt ℝ (deriv u) r) (hdv : DifferentiableAt ℝ (deriv v) r) : + radialLinearOperator V q (u-v) r= + radialLinearOperator V q u r-radialLinearOperator V q v r := by + have hd : deriv (u-v)=fun t => deriv u t-deriv v t := by + funext t + exact ((hu t).hasDerivAt.sub (hv t).hasDerivAt).deriv + have hdd : deriv (deriv (u-v)) r=deriv (deriv u) r-deriv (deriv v) r := by + rw [hd] + exact (hdu.hasDerivAt.sub hdv.hasDerivAt).deriv + unfold radialLinearOperator + rw [hdd,hd] + dsimp only [Pi.sub_apply] + ring + +theorem radialLinearOperator_const_mul (V q u : ℝ → ℝ) (c r : ℝ) : + radialLinearOperator V q (fun t => c*u t) r=c*radialLinearOperator V q u r := by + have hd : deriv (fun t => c*u t)=fun t => c*deriv u t := by + funext t + exact deriv_const_mul_field c + unfold radialLinearOperator + rw [hd,deriv_const_mul_field] + dsimp only + ring + +theorem radialLinearOperator_compare (R : ℝ) (hR : 0 < R) (hR2 : R^2 ≤ 11) + (V q u v : ℝ → ℝ) (hu : Differentiable ℝ u) (hv : Differentiable ℝ v) + (hdu : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv u) r) + (hdv : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv v) r) + (hu0 : deriv u 0=0) (hv0 : deriv v 0=0) (hb : u R ≤ v R) + (hV : ∀ r ∈ Ioo 0 R, V r ≤ (1/2 : ℝ)) + (hq : ∀ r ∈ Ioo 0 R, 0 ≤ q r) + (hL : ∀ r ∈ Ioo 0 R, radialLinearOperator V q u r ≤ radialLinearOperator V q v r) : + ∀ r ∈ Icc 0 R, u r ≤ v r := by + have hd : deriv (v-u)=fun t => deriv v t-deriv u t := by + funext t + exact ((hv t).hasDerivAt.sub (hu t).hasDerivAt).deriv + have hd2 : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv (v-u)) r := by + intro r hr + rw [hd] + exact (hdv r hr).sub (hdu r hr) + have hd0 : deriv (v-u) 0=0 := by + rw [hd] + change deriv v 0-deriv u 0=0 + rw [hu0,hv0,sub_self] + have hOp : ∀ r ∈ Ioo 0 R, 0 ≤ radialLinearOperator V q (v-u) r := by + intro r hr + rw [radialLinearOperator_sub V q v u hv hu r (hdv r hr) (hdu r hr)] + exact sub_nonneg.2 (hL r hr) + have h := radial_linear_comparison R hR hR2 (v-u) V q (hv.sub hu) hd2 hd0 + (sub_nonneg.2 hb) hV hq hOp + intro r hr + exact sub_nonneg.1 (h r hr) + +theorem radialLinearOperator_abs_bound (R M : ℝ) (hR : 0 < R) (hR2 : R^2 ≤ 11) + (hM : 0 ≤ M) (V q u S : ℝ → ℝ) (hu : Differentiable ℝ u) (hS : Differentiable ℝ S) + (hdu : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv u) r) + (hdS : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv S) r) + (hu0 : deriv u 0=0) (hS0 : deriv S 0=0) (huR : u R=0) (hSR : 0 ≤ S R) + (hV : ∀ r ∈ Ioo 0 R, V r ≤ (1/2 : ℝ)) + (hq : ∀ r ∈ Ioo 0 R, 0 ≤ q r) + (hLu : ∀ r ∈ Ioo 0 R, |radialLinearOperator V q u r| ≤ M) + (hLS : ∀ r ∈ Ioo 0 R, 1 ≤ radialLinearOperator V q S r) : + ∀ r ∈ Icc 0 R, |u r| ≤ M*S r := by + have hMS : Differentiable ℝ (fun t => M*S t) := hS.const_mul M + have hdMS : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv (fun t => M*S t)) r := by + intro r hr + have hd : deriv (fun t => M*S t)=fun t => M*deriv S t := by + funext t + exact deriv_const_mul_field M + rw [hd] + exact (hdS r hr).const_mul M + have hMS0 : deriv (fun t => M*S t) 0=0 := by rw [deriv_const_mul_field,hS0,mul_zero] + have hMSR : 0 ≤ M*S R := mul_nonneg hM hSR + have hUp : ∀ r ∈ Icc 0 R, u r ≤ M*S r := + radialLinearOperator_compare R hR hR2 V q u (fun t => M*S t) hu hMS hdu hdMS hu0 hMS0 + (by rw [huR]; exact hMSR) hV hq (by + intro r hr + rw [radialLinearOperator_const_mul] + exact (le_abs_self _).trans ((hLu r hr).trans (by nlinarith [hLS r hr]))) + have hNeg0 : deriv (fun t => -u t) 0=0 := by + have h := deriv.neg (f := u) (x := (0 : ℝ)) + change deriv (fun t => -u t) 0= -deriv u 0 at h + simpa only [hu0,neg_zero] using h + have hdNeg : ∀ r ∈ Ioo 0 R, DifferentiableAt ℝ (deriv (fun t => -u t)) r := by + intro r hr + have hd : deriv (fun t => -u t)=fun t => -deriv u t := by ext t; exact deriv.neg + rw [hd] + exact (hdu r hr).neg + have hDown : ∀ r ∈ Icc 0 R, -u r ≤ M*S r := + radialLinearOperator_compare R hR hR2 V q (fun t => -u t) (fun t => M*S t) hu.neg hMS + hdNeg hdMS hNeg0 hMS0 (by rw [huR,neg_zero]; exact hMSR) hV hq (by + intro r hr + have he : radialLinearOperator V q (fun t => -u t) r= -radialLinearOperator V q u r := by + simpa only [neg_one_mul] using radialLinearOperator_const_mul V q u (-1) r + rw [he,radialLinearOperator_const_mul] + exact (neg_le_abs _).trans ((hLu r hr).trans (by nlinarith [hLS r hr]))) + intro r hr + exact abs_le.2 ⟨by linarith [hDown r hr],hUp r hr⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogNormDerivatives.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogNormDerivatives.lean new file mode 100644 index 0000000000000000000000000000000000000000..91b8fe005c0462d2bdd77a729f01bd9450e2eb2e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogNormDerivatives.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianCalculus +import Mathlib.Analysis.Calculus.ContDiff.Bounds +import Mathlib.Analysis.SpecialFunctions.Log.Deriv + +namespace OAI + +/-! Homogeneous derivative estimates for the logarithmic radial coordinate. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radial_iteratedFDeriv_comp_pos_smul (f : E → ℝ) (r : ℝ) (hr : 0 < r) + (k : ℕ) (x : E) : + iteratedFDeriv ℝ k (fun z => f (r • z)) x = + r^k • iteratedFDeriv ℝ k f (r • x) := by + let e : E ≃L[ℝ] E := (Units.mk0 r hr.ne') • ContinuousLinearEquiv.refl ℝ E + have he := e.iteratedFDerivWithin_comp_right f uniqueDiffOn_univ + (x := x) (mem_univ (e x)) k + simp only [preimage_univ,iteratedFDerivWithin_univ] at he + change iteratedFDeriv ℝ k (fun z => f (r • z)) x = _ at he + rw [he] + ext v + change (iteratedFDeriv ℝ k f (r • x)) (fun i => r • v i) = + r^k • (iteratedFDeriv ℝ k f (r • x)) v + rw [ContinuousMultilinearMap.map_smul_univ] + simp + +theorem radialLogNorm_contDiffAt (x : E) (hx : x ≠ 0) : + ContDiffAt ℝ ∞ (fun y : E => Real.log ‖y‖) x := + (contDiffAt_norm ℝ hx).log (norm_ne_zero_iff.mpr hx) + +theorem radialLogNorm_derivative_scaling (r : ℝ) (hr : 0 < r) (x : E) (hx : x ≠ 0) + (k : ℕ) (hk : 0 < k) : + r^k • iteratedFDeriv ℝ k (fun y : E => Real.log ‖y‖) (r • x) = + iteratedFDeriv ℝ k (fun y : E => Real.log ‖y‖) x := by + have he : (fun y : E => Real.log ‖r • y‖) =ᶠ[nhds x] + (fun y : E => Real.log r + Real.log ‖y‖) := by + filter_upwards [eventually_ne_nhds hx] with y hy + rw [norm_smul,Real.norm_eq_abs,abs_of_pos hr,Real.log_mul hr.ne' + (norm_ne_zero_iff.mpr hy)] + rw [← radial_iteratedFDeriv_comp_pos_smul _ r hr k x, + (he.iteratedFDeriv ℝ k).eq_of_nhds] + rw [fun_iteratedFDeriv_add_apply contDiffAt_const + ((radialLogNorm_contDiffAt x hx).of_le (by simp)), + iteratedFDeriv_const_of_ne (Nat.ne_of_gt hk)] + simp only [Pi.zero_apply,zero_add] + +theorem radialLogNorm_derivative_bound (k : ℕ) (hk : 0 < k) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ x : E, x ≠ 0 → + ‖iteratedFDeriv ℝ k (fun y : E => Real.log ‖y‖) x‖ ≤ + C*‖x‖^(-(k : ℝ)) := by + have hc : ContinuousOn (iteratedFDeriv ℝ k (fun y : E => Real.log ‖y‖)) + (Metric.sphere (0 : E) 1) := by + intro x hx + have hn : ‖x‖=1 := by simpa only [Metric.mem_sphere,dist_zero_right] using hx + exact ((radialLogNorm_contDiffAt x (by intro hz; simp [hz] at hn)).continuousAt_iteratedFDeriv + (by simp)).continuousWithinAt + obtain ⟨C,hC⟩ := (isCompact_sphere (0 : E) 1).exists_bound_of_continuousOn hc + refine ⟨max C 0,le_max_right _ _,?_⟩ + intro x hx + have hr : 0 < ‖x‖ := norm_pos_iff.mpr hx + let u := ‖x‖⁻¹ • x + have hu : ‖u‖=1 := by + simp only [u,norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hr), + inv_mul_cancel₀ hr.ne'] + have hu0 : u ≠ 0 := by intro hz; simp [hz] at hu + have hxu : ‖x‖ • u=x := by + simp only [u,smul_smul,mul_inv_cancel₀ hr.ne',one_smul] + have hs := congrArg norm (radialLogNorm_derivative_scaling ‖x‖ hr u hu0 k hk) + rw [hxu,norm_smul,Real.norm_eq_abs,abs_of_pos (pow_pos hr k)] at hs + have hb := (hC u (by simpa only [Metric.mem_sphere,dist_zero_right] using hu)).trans + (le_max_left C 0) + rw [← hs] at hb + rw [Real.rpow_neg hr.le,Real.rpow_natCast] + simpa only [div_eq_mul_inv] using + (le_div_iff₀ (pow_pos hr k)).mpr (by simpa only [mul_comm] using hb) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogarithmicConvergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogarithmicConvergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..d543cfb8c5308672e4b46f8e9b6da4e0191fefa8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogarithmicConvergence.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialComplexBoundaryConvergence + +namespace OAI + +/-! Actual inner logarithmic derivatives converge to the free matching map. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS + +theorem radial_coupled_logarithmic_boundary_convergence (R l b : ℝ) + (hRlow : (3+7/10000 : ℝ) ≤ R) (hRu : R ≤ (10/3 : ℝ)) + (hl : (3 : ℝ) ≤ l) (hlR : l < R) (hlwidth : R-l ≤ (1/1000 : ℝ)) + (hb : b ∈ Icc (334/1000 : ℝ) (335/1000)) + (F G : ℝ → ℂ) (hFc : Continuous F) (hGc : Continuous G) + (hFI : ∀ r ∈ Icc l R, F r=1+∫ t in l..r, G t) + (hGI : ∀ r ∈ Icc l R, G r=∫ t in l..r, + -radialFreeCoefficient t*G t-(b : ℂ)*F t) + (hB : ∀ r ∈ Icc l R, ‖F r‖ ≤ 2 ∧ ‖G r‖ ≤ 2) + (P : ℕ → RadialInnerData) (hR : ∀ n, (P n).R=R) (H : ℕ → ℝ → ℝ) + (hH : ∀ n, RadialInnerOutputSpec (P n).p R (P n).lo (P n).c (P n).b (H n) (H n)) + (hp : Tendsto (fun n => (P n).p) atTop atTop) + (hcT : Tendsto (fun n => (P n).c) atTop (𝓝 6)) + (hbT : Tendsto (fun n => (P n).b) atTop (𝓝 b)) + (hloT : Tendsto (fun n => (P n).lo) atTop (𝓝 ‖F R‖)) : + Tendsto (fun n => + let Q := radialPolar (H n) (radialPhase (P n).c (radialClampedAmplitude R (H n))) + deriv Q R/Q R) atTop (𝓝 (G R/F R)) := by + have ht := radial_coupled_complex_boundary_convergence R l b hRlow hRu hl hlR hlwidth hb + F G hFc hGc hFI hGI hB P hR H hH hp hcT hbT hloT + have hF := (continuous_fst.tendsto (F R,G R)).comp ht + have hG := (continuous_snd.tendsto (F R,G R)).comp ht + have hFnz : F R ≠ 0 := by + have hlo : (999/1000 : ℝ) ≤ ‖F R‖ := ge_of_tendsto' hloT (fun n => (P n).lo_lower) + intro hzero + rw [hzero,norm_zero] at hlo + norm_num at hlo + exact hG.div hF hFnz + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogarithmicSymbol.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogarithmicSymbol.lean new file mode 100644 index 0000000000000000000000000000000000000000..db7cd03b110584ce65d045a1f304743225741abe --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialLogarithmicSymbol.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialOutgoingDerivativeBounds +import Mathlib.Analysis.SpecialFunctions.ExpDeriv + +namespace OAI + +/-! Symbol estimates in logarithmic radius before composition with the radial coordinate. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS + +theorem radial_complexExp_contDiff (ν : ℂ) : + ContDiff ℝ ∞ (fun t : ℝ => Complex.exp (ν*(t : ℂ))) := + (contDiff_const.mul Complex.ofRealCLM.contDiff).cexp + +theorem radial_complexExp_iteratedDeriv (ν : ℂ) (k : ℕ) : + iteratedDeriv k (fun t : ℝ => Complex.exp (ν*(t : ℂ))) = + fun t : ℝ => ν^k*Complex.exp (ν*(t : ℂ)) := by + induction k with + | zero => simp + | succ k ih => + rw [iteratedDeriv_succ,ih] + funext t + have hd := (((hasDerivAt_id t).ofReal_comp.const_mul ν).cexp).const_mul (ν^k) + simp only [id_eq,Complex.ofReal_one,mul_one] at hd + rw [hd.deriv] + simp only [pow_succ] + ring + +theorem radial_logarithmic_product_bound (ν : ℂ) (F : ℝ → ℂ) (L : ℝ) + (hF : ContDiffOn ℝ ∞ F (Ioi L)) + (hb : ∀ k : ℕ, ∃ B : ℝ, 0 ≤ B ∧ ∀ᶠ t : ℝ in atTop, ‖iteratedDeriv k F t‖ ≤ B) + (k : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ t : ℝ in atTop, + ‖iteratedDeriv k (fun s : ℝ => Complex.exp (ν*(s : ℂ))*F s) t‖ ≤ + C*Real.exp (ν.re*t) := by + choose B hB hbound using hb + let C := ∑ i ∈ Finset.range (k+1), (k.choose i : ℝ)*‖ν‖^i*B (k-i) + have hC : 0 ≤ C := Finset.sum_nonneg (fun i _ => + mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg (norm_nonneg _) _)) (hB _)) + have he : ∀ᶠ t : ℝ in atTop, ∀ i ∈ Finset.range (k+1), ‖iteratedDeriv (k-i) F t‖ ≤ B (k-i) := + (eventually_all_finset _).mpr (fun i _ => hbound (k-i)) + refine ⟨C,hC,?_⟩ + filter_upwards [he,eventually_gt_atTop L] with t ht hLt + have hf : ContDiffAt ℝ k F t := + ((hF t hLt).contDiffAt (Ioi_mem_nhds hLt)).of_le (by simp) + rw [iteratedDeriv_fun_mul ((radial_complexExp_contDiff ν).contDiffAt.of_le (by simp)) hf] + apply (norm_sum_le _ _).trans + calc + _ ≤ ∑ i ∈ Finset.range (k+1), + ((k.choose i : ℝ)*‖ν‖^i*B (k-i))*Real.exp (ν.re*t) := by + apply Finset.sum_le_sum + intro i hi + rw [radial_complexExp_iteratedDeriv] + simp only [norm_mul,norm_pow,Complex.norm_natCast,Complex.norm_exp] + have hre : (ν*(t : ℂ)).re=ν.re*t := by simp + rw [hre] + have hh := mul_le_mul_of_nonneg_left (ht i hi) + (show 0 ≤ (k.choose i : ℝ)*(‖ν‖^i*Real.exp (ν.re*t)) by positivity) + convert hh using 1 + ring + _ = _ := by rw [← Finset.sum_mul] + +theorem radialExteriorCanonical_logarithmic_symbol (ν m : ℂ) (n : ℕ) (L : ℝ) + (hX : HasRadialExterior ν n m L) (hm : m ≠ 0) (k : ℕ) : + ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ t : ℝ in atTop, + ‖iteratedDeriv k (fun s : ℝ => Complex.exp (ν*(s : ℂ))* + (radialExteriorCanonical ν n m L s).1) t‖ ≤ C*Real.exp (ν.re*t) := by + apply radial_logarithmic_product_bound ν _ L _ + (radialExteriorCanonical_derivatives_bounded ν m n L hX hm) k + exact radialExteriorODE_position_contDiffOn ν n _ L + (fun s hs => ((radialExteriorCanonical_spec hX).2.2 s hs.le).2) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMassDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMassDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..a2b0b5e8ab6c1a27368be102976341ac9b0626b8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMassDerivative.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMassDivergence + +namespace OAI + +/-! Nonsingular derivative of the radial mass density and its logarithmic form. -/ + +open Set +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMassSlope (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℝ := + 11*r^10*‖radialMatchedProfile n z r‖^2+ + 2*r^11*(star (radialMatchedProfile n z r)*deriv (radialMatchedProfile n z) r).re + +theorem radialMassDensity_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) : + HasDerivAt (radialMassDensity n z) (radialMassSlope n z r) r := by + have h := ((hasDerivAt_id r).pow 11).mul + (radialComplexNormSq_hasDerivAt (radialMatchedProfile n z) r + (radialMatchedProfile_differentiable n z hX hz r)) + convert h using 1 + · funext t + simp only [radialMassDensity,Pi.mul_apply,Pi.pow_apply,id_eq,Complex.sq_norm] + · simp only [radialMassSlope,Pi.pow_apply,id_eq,Nat.cast_ofNat,Nat.reduceSub,mul_one, + Complex.sq_norm] + ring + +theorem radialMassSlope_continuousOn (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) : + ContinuousOn (radialMassSlope n z) (Icc 0 R) := by + have hQ := (radialMatchedProfile_differentiable n z hX hz).continuous + have hD := radialMatchedProfile_derivative_continuousOn n z hX hz R + have hJ := Complex.continuous_re.comp_continuousOn (hQ.continuousOn.star.mul hD) + exact (((continuous_const.mul (continuous_id.pow 10)).mul (hQ.norm.pow 2)).continuousOn).add + ((continuous_const.mul (continuous_id.pow 11)).continuousOn.mul hJ) + +theorem radialMassSlope_logarithmic (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (r : ℝ) (hr : 0 < r) : + radialMassSlope n z r= + (11/r+2*(deriv (radialMatchedProfile n z) r/radialMatchedProfile n z r).re)* + radialMassDensity n z r := by + have hN := (Complex.normSq_pos.mpr (radialMatchedProfile_ne_zero n z hX r hr.le)).ne' + rw [complex_logDerivative_re] + unfold radialMassSlope radialMassDensity + simp only [Complex.sq_norm] + field_simp [hr.ne',hN] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMassDivergence.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMassDivergence.lean new file mode 100644 index 0000000000000000000000000000000000000000..8a92dfa83c3b4d6c89eec172eb5bd53b7ebe38c4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMassDivergence.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureContinuity + +namespace OAI + +/-! The exact radial divergence identity for the true mass density and velocity. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMassDensity (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℝ := + r^11*‖radialMatchedProfile n z r‖^2 + +noncomputable def radialMassFlux (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℝ := + radialMassDensity n z r*radialVelocity (6-2*radialShootingA n) + (fun t => ‖radialMatchedProfile n z t‖) r + +theorem radialMassFlux_eq (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 ≤ r) : + radialMassFlux n z r=r^11*radialWeightedFlux (radialMatchedProfile n z) r := by + rcases hr.eq_or_lt with he | hp + · subst r + simp [radialMassFlux,radialMassDensity] + · have hN := (Complex.normSq_pos.mpr (radialMatchedProfile_ne_zero n z hX r hp.le)).ne' + unfold radialMassFlux radialMassDensity + rw [← radialMatchedVelocity_formula n z hX hz r hp,Complex.sq_norm] + unfold radialWeightedFlux + field_simp + +theorem radialMassFlux_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + HasDerivAt (radialMassFlux n z) + ((6-2*radialShootingA n)*radialMassDensity n z r) r := by + have hf := radialMatchedWeightedFlux_hasDerivAt n z hX hz r hr + have h := ((hasDerivAt_id r).pow 11).mul hf + have hh : HasDerivAt (fun t => t^11*radialWeightedFlux (radialMatchedProfile n z) t) + ((6-2*radialShootingA n)*radialMassDensity n z r) r := by + apply h.congr_deriv + simp only [Pi.pow_apply,id_eq,Nat.cast_ofNat,Nat.reduceSub,mul_one] + unfold radialMassDensity + rw [Complex.sq_norm] + field_simp [hr.ne'] + ring + apply hh.congr_of_eventuallyEq + filter_upwards [Ioi_mem_nhds hr] with t ht + exact radialMassFlux_eq n z hX hz t ht.le + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedAmplitude.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedAmplitude.lean new file mode 100644 index 0000000000000000000000000000000000000000..8c84f3d648c8f792b6f4f89681ac0e24218fb8d5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedAmplitude.lean @@ -0,0 +1,57 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedVelocity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAmplitudePotentialDerivative + +namespace OAI + +/-! The actual amplitude and flow satisfy the real transport and potential identities. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedAmplitude_contDiffOn (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : + ContDiffOn ℝ ∞ (fun r => ‖radialMatchedProfile n z r‖) (Ioi 0) := + (radialMatchedProfile_contDiffOn n z hX hz).norm ℝ + (fun r hr => radialMatchedProfile_ne_zero n z hX r hr.le) + +theorem radialMatchedVelocity_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + let A := fun r => ‖radialMatchedProfile n z r‖ + let w := radialVelocity (6-2*radialShootingA n) A + HasDerivAt w (6-2*radialShootingA n-11/r*w r-2*w r*deriv A r/A r) r := by + dsimp only + have hA := ((radialMatchedAmplitude_contDiffOn n z hX hz) r hr).contDiffAt + (Ioi_mem_nhds hr) + have hd := (hA.differentiableAt (by simp)).hasDerivAt + have hc := (radialMatchedProfile_differentiable n z hX hz).continuous.norm + have hn := norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.le) + apply (radialVelocity_hasDerivAt_local _ _ _ hc r hr.ne' hn hd).congr_deriv + dsimp only [radialVelocity] + field_simp [hr.ne'] + +theorem radialMatchedPotential_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + let A := fun r => ‖radialMatchedProfile n z r‖ + let c := 6-2*radialShootingA n + let w := radialVelocity c A + HasDerivAt (radialAmplitudePotential c (radialShootingB (profileMatchingParameter z)) A) + (r*(1/8-c/2*(w r/r)+11/2*(w r/r)^2)+(w r)^2*deriv A r/A r) r := by + dsimp only + have hA := ((radialMatchedAmplitude_contDiffOn n z hX hz) r hr).contDiffAt + (Ioi_mem_nhds hr) + exact radialAmplitudePotential_hasDerivAt _ _ _ _ + (radialMatchedProfile_differentiable n z hX hz).continuous.norm r hr.ne' + (norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.le)) + (hA.differentiableAt (by simp)).hasDerivAt + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedAnnulusCoefficient.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedAnnulusCoefficient.lean new file mode 100644 index 0000000000000000000000000000000000000000..a6ce61deb9e69bd3501ff0e1489c58405727d202 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedAnnulusCoefficient.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreeSubunit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFluxSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSubunitCoefficients + +namespace OAI + +/-! On any fixed annulus outside the limiting core, the actual nonlinear +spectral coefficients vanish uniformly as the power tends to infinity. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_annulus_coefficient_small + (s : ℕ → ℕ) (hs : StrictMono s) (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (L R : ℝ) (hL : radialShootingR (profileMatchingParameter z₀) s i+radialInnerShootingThreshold + have hmTop : Tendsto m atTop atTop := + tendsto_atTop_mono (fun i => Nat.le_add_right (s i) _) hs.tendsto_atTop + let ε := fun i => (2*(m i : ℝ)+1)*τ^(2*m i) + refine ⟨ε,fun i => mul_nonneg (by positivity) (pow_nonneg hτpos.le _), + (spectralSubunitCoefficient_decay τ hτpos.le hτ).comp hmTop,?_⟩ + have hclose := (Metric.tendstoUniformlyOn_iff.mp + (radialMatchedProfile_uniform_limit s hs z z₀ hz R)) (τ-σ) (sub_pos.mpr hστ) + filter_upwards [hclose,hmTop.eventually (eventually_ge_atTop 1)] with i hi hmi r hr + have hr0 : r ∈ Icc 0 R := + ⟨(radialMatchedCore_radius_pos z₀).le.trans (hL.le.trans hr.1),hr.2⟩ + have hfree : ‖radialMatchedFreeProfile z₀ r‖ ≤ σ := by + apply (hbound r ?_).trans (le_max_left _ _) + simpa only [add_sub_cancel] using hr + have hnear := hi r hr0 + have hq : ‖radialMatchedProfile (s i) (z i) r‖ ≤ τ := by + have hn := norm_add_le (radialMatchedProfile (s i) (z i) r-radialMatchedFreeProfile z₀ r) + (radialMatchedFreeProfile z₀ r) + rw [sub_add_cancel] at hn + rw [dist_comm,dist_eq_norm] at hnear + linarith + exact spectralCoefficient_subunit_bound (m i) hmi _ τ hq + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBlowup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBlowup.lean new file mode 100644 index 0000000000000000000000000000000000000000..0a9fee9935b1be2259841c853e467116c0b3d73b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBlowup.lean @@ -0,0 +1,91 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalCutoffBlowup +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchingLimit + +namespace OAI + +/-! # Actual finite-time blowup data at every sufficiently large odd power + +The constructed stable orbits give finite-time blowup with the profile's +self-similar growth rate. +-/ + +open Filter Topology Set +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def homogeneousRealCoreCutoff : 𝓢(E, ℝ) := + homogeneousCoreBump.hasCompactSupport.toSchwartzMap homogeneousCoreBump.contDiff + +theorem homogeneousRealCoreCutoff_support : HasCompactSupport (homogeneousRealCoreCutoff : E → ℝ) := + homogeneousCoreBump.hasCompactSupport + +theorem homogeneousRealCoreCutoff_one (y : E) (hy : ‖y‖ ≤ 1 / 2) : + homogeneousRealCoreCutoff y = 1 := by + apply homogeneousCoreBump.one_of_mem_closedBall + simpa only [homogeneousCoreBump, Metric.mem_closedBall, dist_zero_right] using hy + +theorem homogeneousRealCoreCutoff_zero (y : E) (hy : 1 ≤ ‖y‖) : + homogeneousRealCoreCutoff y = 0 := by + apply homogeneousCoreBump.zero_of_le_dist + simpa only [homogeneousCoreBump, dist_zero_right] using hy + +theorem radialShootingA_scaling (n : ℕ) (z : ProfileMatchingBall) : + 2 * radialShootingA n * ((n + radialInnerShootingThreshold : ℕ) : ℝ) = 1 := by + have hm : ((n + radialInnerShootingThreshold : ℕ) : ℝ) ≠ 0 := by + exact_mod_cast (radialShootingInner_power_pos n (profileMatchingParameter z)).ne' + unfold radialShootingA + push_cast at hm + push_cast + field_simp [hm] + +attribute [local irreducible] homogeneousStableCoordinates diagonalRealCoordinates + HasFiniteDiagonalCutoffStableOrbits + +theorem radialMatched_exists_finite_blowup (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∃ (N : ℕ) (hk : 8 < ((N + 1 : ℕ) : ℝ)) + (f : FourierL2) (T c : ℝ), + 0 < T ∧ 0 < c ∧ + BddAbove (maximalSobolevInteractionDomain (N + 1 : ℕ) (by linarith) (n + radialInnerShootingThreshold) f) ∧ + sSup (maximalSobolevInteractionDomain (N + 1 : ℕ) (by linarith) (n + radialInnerShootingThreshold) f) = T ∧ + Tendsto (fun t => (T - t) ^ (radialShootingA n) * + ‖sobolevTorusFunction (N + 1 : ℕ) + (maximalSobolevSchrodingerFlow (N + 1 : ℕ) (by linarith) + (n + radialInnerShootingThreshold) f t) 0‖) (𝓝[<] T) (𝓝 c) := by + have hs : Tendsto (fun n : ℕ => n + radialInnerShootingThreshold) atTop atTop := + tendsto_atTop_mono (fun n => Nat.le_add_right n _) tendsto_id + filter_upwards [radialMatched_exists_stable_orbits hRou, + exists_radialMatchingMap_zero, hs.eventually radialShootingExterior_exists] with n hn hz hX + obtain ⟨z, hz⟩ := hz + obtain ⟨N, hk10, q, _, P, _, hfin, hstable⟩ := hn z (hX z) hz + homogeneousRealCoreCutoff homogeneousRealCoreCutoff_support + homogeneousRealCoreCutoff_zero homogeneousRealCoreCutoff_one + let : FiniteDimensional ℂ P.range := hfin + have hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + have hQzero : radialMatchedCartesian n z 0 ≠ 0 := by + simpa only [radialMatchedCartesian, norm_zero] using radialMatchedProfile_ne_zero n z (hX z) 0 le_rfl + obtain ⟨L₀, hL₀⟩ := exists_diagonalCutoff_blowup + (radialShootingA n) (radialShootingB (profileMatchingParameter z)) (N + 1 : ℕ) + (radialShootingA_bounds n (profileMatchingParameter z)).1 + (radialShootingA_bounds n (profileMatchingParameter z)).2 hk + (n + radialInnerShootingThreshold) (radialShootingA_scaling n z) + homogeneousRealCoreCutoff homogeneousRealCoreCutoff_support + (fun y hy => homogeneousRealCoreCutoff_one y hy.le) + (fun y hy => homogeneousRealCoreCutoff_zero y (by linarith)) + (radialMatchedCartesian n z) (radialMatchedCartesian_contDiff n z (hX z) hz) hQzero + (homogeneousStableCoordinates (radialShootingA n) (N + 1 : ℕ) + (radialShootingA_bounds n (profileMatchingParameter z)).1 + (radialShootingA_bounds n (profileMatchingParameter z)).2 hk P) hstable + let L : {L : ℝ // 1 ≤ L} := ⟨max 1 L₀, le_max_left _ _⟩ + obtain ⟨f, hbound, htime, hlimit⟩ := hL₀ L (le_max_right _ _) + exact ⟨N, hk, f, L.1 ^ (-2 : ℝ), ‖radialMatchedCartesian n z 0‖, + Real.rpow_pos_of_pos (lt_of_lt_of_le zero_lt_one L.2) _, norm_pos_iff.mpr hQzero, + hbound, htime, hlimit⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..bb7136a62b213c7e8a2203b3416d527b4479f472 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundary.lean @@ -0,0 +1,112 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchingLimit + +namespace OAI + +/-! Actual physical inner and outer boundary values and derivatives agree. -/ + +open Filter +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialPhysicalExterior (ν : ℂ) (Z : ℝ → ℂ × ℂ) (r : ℝ) : ℂ := + Complex.exp (ν*(Real.log r : ℂ))*(Z (Real.log r)).1 + +noncomputable def radialPhysicalExteriorSlope (ν : ℂ) (Z : ℝ → ℂ × ℂ) (r : ℝ) : ℂ := + Complex.exp (ν*(Real.log r : ℂ))/(r : ℂ)*(ν*(Z (Real.log r)).1+(Z (Real.log r)).2) + +theorem radialPhysicalExterior_hasDerivAt (ν : ℂ) (n : ℕ) (Z : ℝ → ℂ × ℂ) + (r : ℝ) (hr : 0 < r) + (hZ : HasDerivAt Z (radialExteriorODEField ν n (Real.log r) (Z (Real.log r))) (Real.log r)) : + HasDerivAt (radialPhysicalExterior ν Z) (radialPhysicalExteriorSlope ν Z r) r := by + have hlog := Real.hasDerivAt_log hr.ne' + have he := (hlog.ofReal_comp.const_mul ν).cexp + have hz₀ := (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt (Real.log r) hZ + change HasDerivAt (fun t => (Z t).1) (Z (Real.log r)).2 (Real.log r) at hz₀ + have hz : HasDerivAt (fun t => (Z (Real.log t)).1) + ((Z (Real.log r)).2*r⁻¹) r := by + simpa only [Function.comp_def,Complex.real_smul,mul_comm] using! hz₀.scomp r hlog + convert he.mul hz using 1 + · rfl + · simp only [radialPhysicalExteriorSlope] + push_cast + ring + +noncomputable def radialShootingExteriorProfile (n : ℕ) (z : ProfileMatchingBall) : ℝ → ℂ := + radialPhysicalExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (radialExteriorCanonical (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + +theorem radialShootingExteriorProfile_ne_zero (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (r : ℝ) (hr : innerBoundaryRadius ≤ r) : radialShootingExteriorProfile n z r ≠ 0 := by + apply mul_ne_zero (Complex.exp_ne_zero _) + exact ((radialExteriorCanonical_spec hX).2.2 (Real.log r) + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hr)).1 + +theorem radialShootingExteriorProfile_differentiableAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (r : ℝ) (hr : innerBoundaryRadius ≤ r) : + DifferentiableAt ℝ (radialShootingExteriorProfile n z) r := by + exact (radialPhysicalExterior_hasDerivAt _ _ _ r (by linarith [innerBoundaryRadius_bounds.1]) + ((radialExteriorCanonical_spec hX).2.2 (Real.log r) + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hr)).2).differentiableAt + +theorem radialMatchingMap_zero_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : + radialShootingExteriorProfile n z innerBoundaryRadius= + radialShootingInnerComplex n (profileMatchingParameter z) innerBoundaryRadius ∧ + deriv (radialShootingExteriorProfile n z) innerBoundaryRadius= + deriv (radialShootingInnerComplex n (profileMatchingParameter z)) innerBoundaryRadius := by + let I := radialShootingInnerBoundary n (profileMatchingParameter z) + let E := radialShootingExteriorJet (n+radialInnerShootingThreshold) z + let ν := radialShootingNu (n+radialInnerShootingThreshold) z + let A := Complex.exp (ν*(Real.log innerBoundaryRadius : ℂ)) + have hI : I.1 ≠ 0 := radialShootingInnerBoundary_ne_zero n (profileMatchingParameter z) + have hE : E.1 ≠ 0 := + ((radialExteriorCanonical_spec hX).2.2 (Real.log innerBoundaryRadius) le_rfl).1 + have hB : (innerBoundaryRadius : ℂ) ≠ 0 := + Complex.ofReal_ne_zero.mpr (by linarith [innerBoundaryRadius_bounds.1]) + have hA : A ≠ 0 := Complex.exp_ne_zero _ + have hv := congrArg Prod.fst hz + have hd := congrArg Prod.snd hz + change 100*(Complex.exp (radialMatchingNu z _*(Real.log innerBoundaryRadius : ℂ))*E.1-I.1)=0 at hv + rw [radialMatchingNu_eq] at hv + change 100*(A*E.1-I.1)=0 at hv + have hv' : A*E.1=I.1 := sub_eq_zero.mp ((mul_eq_zero.mp hv).resolve_left (by norm_num)) + change (I.2/I.1-(radialMatchingNu z _*E.1+E.2)/((innerBoundaryRadius : ℂ)*E.1))/ + radialFreeMatchingFactor (profileMatchingParameter z)=0 at hd + rw [radialMatchingNu_eq] at hd + have hd' : I.2/I.1=(ν*E.1+E.2)/((innerBoundaryRadius : ℂ)*E.1) := + sub_eq_zero.mp ((div_eq_zero_iff.mp hd).resolve_right (radialFreeMatchingFactor_ne_zero _)) + have hratio : (A/(innerBoundaryRadius : ℂ)*(ν*E.1+E.2))/(A*E.1)= + (ν*E.1+E.2)/((innerBoundaryRadius : ℂ)*E.1) := by + field_simp [hA,hB,hE] + rw [← hratio,hv'] at hd' + have hd'' : A/(innerBoundaryRadius : ℂ)*(ν*E.1+E.2)=I.2 := + (mul_right_cancel₀ (inv_ne_zero hI) hd').symm + have hder := (radialPhysicalExterior_hasDerivAt ν (n+radialInnerShootingThreshold) _ + innerBoundaryRadius (by linarith [innerBoundaryRadius_bounds.1]) + ((radialExteriorCanonical_spec hX).2.2 (Real.log innerBoundaryRadius) le_rfl).2).deriv + exact ⟨hv',hder.trans hd''⟩ + +theorem exists_radial_inner_outer_boundary_match : + ∀ᶠ n in atTop, ∃ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) ∧ + radialShootingExteriorProfile n z innerBoundaryRadius= + radialShootingInnerComplex n (profileMatchingParameter z) innerBoundaryRadius ∧ + deriv (radialShootingExteriorProfile n z) innerBoundaryRadius= + deriv (radialShootingInnerComplex n (profileMatchingParameter z)) innerBoundaryRadius := by + have hs : Tendsto (fun n : ℕ => n+radialInnerShootingThreshold) atTop atTop := + tendsto_atTop_mono (fun n => Nat.le_add_right n _) tendsto_id + filter_upwards [exists_radialMatchingMap_zero,hs.eventually radialShootingExterior_exists] with n hn hX + obtain ⟨z,hz⟩ := hn + exact ⟨z,hX z,radialMatchingMap_zero_boundary n z (hX z) hz⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryJetLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryJetLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..d1145fe652ec32952905bdde0dc1fe30af31d013 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryJetLimit.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreePhysicalEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSmooth +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalRobinLimit + +namespace OAI + +/-! Pointwise convergence of both physical profile coordinates on the exterior. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialShootingPhysicalJet_tendsto (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (R : ℝ) (hR : innerBoundaryRadius ≤ R) : + Tendsto (fun i => radialShootingPhysicalJet (s i) (z i) R) atTop + (𝓝 (radialShootingFreeJet z₀ R)) := by + let N := fun i => s i+radialInnerShootingThreshold + have hN : StrictMono N := fun i j hij => Nat.add_lt_add_right (hs hij) _ + let ν := fun i => radialShootingNu (N i) (z i) + have hν : Tendsto ν atTop (𝓝 (-2*radialShootingQ z₀)) := + radialShootingNu_subsequence_tendsto N hN z z₀ hz + obtain ⟨δ,ρ,hδ,hδm,hsmall,hρ,hupper,hlower⟩ := radialShooting_free_annulus z₀ + have hq : -1 < (radialShootingQ z₀).re := by simp [radialShootingQ] + have hH := (radialExteriorCanonical_H_limit_subsequence N hN ν + (fun i => radialShootingM (z i)) (radialShootingQ z₀) (radialShootingM z₀) + hq hν (continuous_radialShootingM.continuousAt.tendsto.comp hz) δ ρ + (Real.log innerBoundaryRadius) hδ hδm hsmall hρ hupper hlower).2 + have hpoint := hH.tendsto_at + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hR) + exact spectralPhysicalJet_tendsto ν (-2*radialShootingQ z₀) _ _ R hν hpoint + +theorem radialMatchedProfile_deriv_tendsto (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R : ℝ) (hR : innerBoundaryRadius < R) : + Tendsto (fun i => deriv (radialMatchedProfile (s i) (z i)) R) atTop + (𝓝 (deriv (radialShootingFreeExterior z₀) R)) := by + have hR₀ : 0 < R := (by linarith [innerBoundaryRadius_bounds.1] : 0 < innerBoundaryRadius).trans hR + have he (i : ℕ) : (radialShootingPhysicalJet (s i) (z i) R).2= + deriv (radialMatchedProfile (s i) (z i)) R := by + rw [(radialMatchedProfile_hasDerivAt (s i) (z i) (hX i) (hm i) R hR₀).deriv] + simp only [radialMatchedJet,ite_eq_right (not_le.mpr hR)] + simpa only [he,← (radialShootingFreeExterior_hasDerivAt z₀ R hR₀).deriv] using + (radialShootingPhysicalJet_tendsto s hs z z₀ hz R hR.le).snd_nhds + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryJoint.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryJoint.lean new file mode 100644 index 0000000000000000000000000000000000000000..2d41a5e59b535de5382a4624ace64e653bb796db --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryJoint.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedBoundaryOperatorLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMovingParameterLimit + +namespace OAI + +/-! Joint convergence through the actual matched gauge and flux coefficients. -/ + +open Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMatchedFluxBoundary (n : ℕ) (z : ProfileMatchingBall) (R : ℝ) + (M : ℂ × ℂ →L[ℂ] ℂ × ℂ) : ℂ × ℂ →L[ℂ] ℂ × ℂ := + spectralFluxBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) + (spectralGaugeRobin (radialMatchedProfile n z R) (deriv (radialMatchedProfile n z) R) M) + +theorem radialMatchedBoundaryOperator_joint_tendsto + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R : ℝ) (hR : innerBoundaryRadius < R) (lam₀ : ℂ) + (M : ℕ → ℂ → ℂ × ℂ →L[ℂ] ℂ × ℂ) (M₀ : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hM : Tendsto (fun p : ℕ × ℂ => M p.1 p.2) (atTop ×ˢ 𝓝 lam₀) (𝓝 M₀)) : + Tendsto (fun p : ℕ × ℂ => radialMatchedFluxBoundary (s p.1) (z p.1) R (M p.1 p.2)) + (atTop ×ˢ 𝓝 lam₀) + (𝓝 (spectralFluxBoundary R (radialMatchedFreeMassFunction z₀ R) + (radialMatchedFreeTransportFunction z₀ R) + (spectralGaugeRobin (radialShootingFreeExterior z₀ R) + (deriv (radialShootingFreeExterior z₀) R) M₀))) := by + refine spectral_joint_of_moving_parameters + (fun i lam => radialMatchedFluxBoundary (s i) (z i) R (M i lam)) lam₀ _ ?_ + intro lam hlam + exact radialMatchedBoundaryOperator_tendsto s hs z z₀ hz hX hm R hR + (fun i => M i (lam i)) M₀ (hM.comp (tendsto_id.prodMk hlam)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryOperatorLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryOperatorLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..95e2223c15bed4ed433823b1c501f8ccfa1bf66f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedBoundaryOperatorLimit.lean @@ -0,0 +1,55 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedBoundaryJetLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedMultiplierLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxRobinLimit + +namespace OAI + +/-! Actual matched mass, transport and gauge factors preserve Robin convergence. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedBoundaryOperator_tendsto + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R : ℝ) (hR : innerBoundaryRadius < R) + (M : ℕ → ℂ × ℂ →L[ℂ] ℂ × ℂ) (M₀ : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hM : Tendsto M atTop (𝓝 M₀)) : + Tendsto (fun i => spectralFluxBoundary R + (radialMatchedMassFunction (s i) (z i) R) + (radialMatchedTransportFunction (s i) (z i) R) + (spectralGaugeRobin (radialMatchedProfile (s i) (z i) R) + (deriv (radialMatchedProfile (s i) (z i)) R) (M i))) atTop + (𝓝 (spectralFluxBoundary R (radialMatchedFreeMassFunction z₀ R) + (radialMatchedFreeTransportFunction z₀ R) + (spectralGaugeRobin (radialShootingFreeExterior z₀ R) + (deriv (radialShootingFreeExterior z₀) R) M₀))) := by + have hR₀ : 0 < R := (by linarith [innerBoundaryRadius_bounds.1] : 0 < innerBoundaryRadius).trans hR + have hμ : Tendsto (fun i => radialMatchedMassFunction (s i) (z i) R) atTop + (𝓝 (radialMatchedFreeMassFunction z₀ R)) := + (radialMatched_mass_uniform_limit s hs z z₀ hz hX hm R).tendsto_at ⟨hR₀.le,le_rfl⟩ + have hA : Tendsto (fun i => radialMatchedTransportFunction (s i) (z i) R) atTop + (𝓝 (radialMatchedFreeTransportFunction z₀ R)) := by + have ht := (radialMatchedWeightedFlux_uniform_limit s hs z z₀ hz hX hm R hR₀.le).tendsto_at + (show R ∈ Icc 0 R from ⟨hR₀.le,le_rfl⟩) + exact ht.congr' (Eventually.of_forall (fun i => + radialMatchedWeightedFlux_average_nonneg (s i) (z i) (hX i) (hm i) R hR₀.le)) + have hq : Tendsto (fun i => radialMatchedProfile (s i) (z i) R) atTop + (𝓝 (radialShootingFreeExterior z₀ R)) := by + simpa only [radialMatchedFreeProfile,ite_eq_right (not_le.mpr hR)] using + (radialMatchedProfile_uniform_limit s hs z z₀ hz R).tendsto_at + (show R ∈ Icc 0 R from ⟨hR₀.le,le_rfl⟩) + have hne : radialShootingFreeExterior z₀ R ≠ 0 := by + simpa only [radialMatchedFreeProfile,ite_eq_right (not_le.mpr hR)] using + radialMatchedFreeProfile_ne_zero s hs z z₀ hz R hR₀.le + exact spectralGaugeFluxBoundary_tendsto R _ _ _ _ _ _ _ _ M M₀ hμ hA hq + (radialMatchedProfile_deriv_tendsto s hs z z₀ hz hX hm R hR) hM hne + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalAnalytic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalAnalytic.lean new file mode 100644 index 0000000000000000000000000000000000000000..28400b09d707ddc9fa79ee4260a8e116d5609756 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalAnalytic.lean @@ -0,0 +1,45 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalFluxLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFixedGaugeAnalytic + +namespace OAI + +/-! Holomorphy of the actual canonical boundary operator where its value matrix is invertible. -/ + +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonicalFlux_analyticAt (n ell : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (hR : 1 ≤ R) (Y Z : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1,0) Y) + (hZ : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0,1) Z) + (lam : ℂ) + (hd : spectralValueDet + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Y lam) R)) + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Z lam) R)) ≠ 0) : + AnalyticAt ℂ (radialMatchedCanonicalFlux n z R Y Z) lam := by + have ha (W : ℂ → ℝ → E₄) + (hW : ∀ v t, 0 ≤ t → AnalyticAt ℂ (fun w => W w t) v) : + AnalyticAt ℂ (fun w => spectralPhysicalPair + (radialShootingNu (n+radialInnerShootingThreshold) z-2*w) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*w) (W w) R) lam := by + apply spectralPhysicalPair_analyticAt + · fun_prop + · fun_prop + · exact hW lam (Real.log R) (Real.log_nonneg hR) + have hM := spectralJetRobin_analyticAt _ _ lam + (ha Y hY.2.2.1) (ha Z hZ.2.2.1) hd + exact spectralFluxBoundary_analyticAt R _ _ _ lam + (spectralGaugeRobin_analyticAt _ _ _ lam hM) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..a165ea9e00bb37bb7a4af50ec312a5ee4cac14df --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalBoundary.lean @@ -0,0 +1,138 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedBoundaryOperatorLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreePhysicalIdentification + +namespace OAI + +/-! Canonical outgoing columns supply the actual convergent boundary operator +along an arbitrary increasing sequence of matched powers. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonicalBoundary_with_det + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (ell : ℕ) (lam : ℕ → ℂ) (lam₀ : ℂ) (hlam : Tendsto lam atTop (𝓝 lam₀)) + (hlam₀ : -(1/32 : ℝ) ≤ lam₀.re) (R₀ : ℝ) : + ∃ R : ℝ, R₀ ≤ R ∧ innerBoundaryRadius < R ∧ ∃ Y Z : ℕ → ℂ → ℝ → E₄, + (∀ᶠ i in atTop, + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i) ∧ + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) ∧ + let ν := fun i => radialShootingNu (s i+radialInnerShootingThreshold) (z i) + let M := fun i => spectralJetRobin + (spectralPhysicalPair (ν i-2*lam i) (star (ν i)-2*lam i) (Y i (lam i)) R) + (spectralPhysicalPair (ν i-2*lam i) (star (ν i)-2*lam i) (Z i (lam i)) R) + let P := spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R + let N := spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R + spectralValueDet (spectralPhysicalValueMap P) (spectralPhysicalValueMap N) ≠ 0 ∧ + Tendsto (fun i => spectralFluxBoundary R (radialMatchedMassFunction (s i) (z i) R) + (radialMatchedTransportFunction (s i) (z i) R) + (spectralGaugeRobin (radialMatchedProfile (s i) (z i) R) + (deriv (radialMatchedProfile (s i) (z i)) R) (M i))) atTop + (𝓝 (spectralFluxBoundary R (radialMatchedFreeMassFunction z₀ R) + (radialMatchedFreeTransportFunction z₀ R) + (spectralGaugeRobin (radialShootingFreeExterior z₀ R) + (deriv (radialShootingFreeExterior z₀) R) (spectralJetRobin P N)))) ∧ + ∀ᶠ i in atTop, spectralValueDet + (spectralPhysicalValueMap (spectralPhysicalPair (ν i-2*lam i) (star (ν i)-2*lam i) (Y i (lam i)) R)) + (spectralPhysicalValueMap (spectralPhysicalPair (ν i-2*lam i) (star (ν i)-2*lam i) (Z i (lam i)) R)) ≠ 0 := by + classical + let N := fun i => s i+radialInnerShootingThreshold + have hN : StrictMono N := fun i j hij => Nat.add_lt_add_right (hs hij) _ + let ze : ℕ → ProfileMatchingBall := fun n => if h : ∃ i, N i=n then z (Classical.choose h) else z₀ + have hze (i : ℕ) : ze (N i)=z i := by + dsimp only [ze] + rw [dite_eq_left (show ∃ j, N j=N i from ⟨i,rfl⟩)] + congr 1 + exact hN.injective (Classical.choose_spec (show ∃ j, N j=N i from ⟨i,rfl⟩)) + have hzelim : Tendsto ze atTop (𝓝 z₀) := by + apply Metric.tendsto_atTop.mpr + intro ε hε + obtain ⟨K,hK⟩ := Metric.tendsto_atTop.mp hz ε hε + refine ⟨N K,fun n hn => ?_⟩ + by_cases h : ∃ i, N i=n + · have hi : K ≤ Classical.choose h := hN.le_iff_le.mp (by + rw [Classical.choose_spec h] + exact hn) + simpa only [ze,dite_eq_left h] using hK _ hi + · simpa only [ze,dite_eq_right h,dist_self] using hε + let νe := fun n => radialShootingNu n (ze n) + let me := fun n => radialShootingM (ze n) + let le := radialParameterExtension N lam lam₀ + have hνe : Tendsto νe atTop (𝓝 (2*Complex.I*(radialShootingB (profileMatchingParameter z₀) : ℂ))) := by + have ht := radialShootingNu_subsequence_tendsto id strictMono_id ze z₀ hzelim + have he : -2*radialShootingQ z₀=2*Complex.I*(radialShootingB (profileMatchingParameter z₀) : ℂ) := by + unfold radialShootingQ + ring + simpa only [νe,Function.id_def,he] using ht + have hme : Tendsto me atTop (𝓝 (radialShootingM z₀)) := + continuous_radialShootingM.continuousAt.tendsto.comp hzelim + have hle : Tendsto le atTop (𝓝 lam₀) := radialParameterExtension_tendsto N hN lam lam₀ hlam + have hXe : ∀ᶠ n in atTop, HasRadialExterior (νe n) n (me n) (Real.log innerBoundaryRadius) := by + filter_upwards [radialShootingExterior_exists] with n hn + exact hn (ze n) + obtain ⟨δ,ρ,hδ,_hδm,hsmall,_hρ,_hupper,_hlower⟩ := radialShooting_free_annulus z₀ + obtain ⟨R,hRR,_hR1,Y,Z,hYZ,hM,hdet,hactual⟩ := exists_canonical_freePhysical_robin_limit_with_det + νe me le (radialShootingB (profileMatchingParameter z₀)) (radialShootingM z₀) lam₀ ell + hνe hme hle (radialShootingM_ne_zero z₀) hlam₀ δ (Real.log innerBoundaryRadius) + (max R₀ (innerBoundaryRadius+1)) hδ hsmall hXe + have hR₀ : R₀ ≤ R := (le_max_left _ _).trans hRR + have hR : innerBoundaryRadius < R := by have h := (le_max_right _ _).trans hRR; linarith + refine ⟨R,hR₀,hR,(fun i => Y (N i)),(fun i => Z (N i)),?_,?_⟩ + · simpa only [νe,me,hze,N] using hN.tendsto_atTop.eventually hYZ + · dsimp only + refine ⟨hdet,?_,?_⟩ + · apply radialMatchedBoundaryOperator_tendsto s hs z z₀ hz hX hm R hR + simpa only [Function.comp_def,νe,me,le,radialParameterExtension_apply N hN,hze,N] using hM.comp hN.tendsto_atTop + · simpa only [νe,le,radialParameterExtension_apply N hN,hze,N] using + hN.tendsto_atTop.eventually hactual + +theorem radialMatchedCanonicalBoundary + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (ell : ℕ) (lam : ℕ → ℂ) (lam₀ : ℂ) (hlam : Tendsto lam atTop (𝓝 lam₀)) + (hlam₀ : -(1/32 : ℝ) ≤ lam₀.re) (R₀ : ℝ) : + ∃ R : ℝ, R₀ ≤ R ∧ innerBoundaryRadius < R ∧ ∃ Y Z : ℕ → ℂ → ℝ → E₄, + (∀ᶠ i in atTop, + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i) ∧ + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) ∧ + let ν := fun i => radialShootingNu (s i+radialInnerShootingThreshold) (z i) + let M := fun i => spectralJetRobin + (spectralPhysicalPair (ν i-2*lam i) (star (ν i)-2*lam i) (Y i (lam i)) R) + (spectralPhysicalPair (ν i-2*lam i) (star (ν i)-2*lam i) (Z i (lam i)) R) + let P := spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R + let N := spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R + spectralValueDet (spectralPhysicalValueMap P) (spectralPhysicalValueMap N) ≠ 0 ∧ + Tendsto (fun i => spectralFluxBoundary R (radialMatchedMassFunction (s i) (z i) R) + (radialMatchedTransportFunction (s i) (z i) R) + (spectralGaugeRobin (radialMatchedProfile (s i) (z i) R) + (deriv (radialMatchedProfile (s i) (z i)) R) (M i))) atTop + (𝓝 (spectralFluxBoundary R (radialMatchedFreeMassFunction z₀ R) + (radialMatchedFreeTransportFunction z₀ R) + (spectralGaugeRobin (radialShootingFreeExterior z₀ R) + (deriv (radialShootingFreeExterior z₀) R) (spectralJetRobin P N)))) := by + obtain ⟨R,hR₀,hR,Y,Z,hYZ,hdet,hlim,_⟩ := radialMatchedCanonicalBoundary_with_det + s hs z z₀ hz hX hm ell lam lam₀ hlam hlam₀ R₀ + exact ⟨R,hR₀,hR,Y,Z,hYZ,hdet,hlim⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..a1bf622335ae9afadafd08e09c8064b904fbe939 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalExclusion.lean @@ -0,0 +1,196 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPhysicalExclusion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPenaltyFamily +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HarmonicRadialNonvanishing + +namespace OAI + +/-! Canonical columns and the actual penalty family instantiate every +coefficient and boundary limit in physical eigenmode exclusion. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonical_exclusion + (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (ζ : ℕ → ℂ) (ζ₀ : ℂ) (hζ : Tendsto ζ atTop (𝓝 ζ₀)) + (hζ₀ : -(1/32 : ℝ)≤ζ₀.re) + (hD : spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z₀)) + ((radialShootingR (profileMatchingParameter z₀))^2/4) ζ₀ ≠ 0) (R₀ : ℝ) : + ∃ R : ℝ, R₀ ≤ R ∧ innerBoundaryRadius < R ∧ ∃ Y Z : ℕ → ℂ → ℝ → E₄, + (∀ᶠ i in atTop, + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i) ∧ + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) ∧ + let ν := fun i => radialShootingNu (s i+radialInnerShootingThreshold) (z i) + let M := fun i => spectralJetRobin + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Y i (ζ i)) R) + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Z i (ζ i)) R) + ∀ᶠ i in atTop, ∀ f g : ℝ → ℂ, ContDiff ℝ 2 f → ContDiff ℝ 2 g → + IsHarmonicRadialEigenpair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) (ζ i) f g → + (deriv f R,deriv g R)=M i (f R,g R) → + ∀ r ∈ Ioc 0 R, f r=0 ∧ g r=0 := by + obtain ⟨R,hRR,hR,Y,Z,hYZ,hdet,hB⟩ := radialMatchedCanonicalBoundary s hs z z₀ hz hX hm + ell ζ ζ₀ hζ hζ₀ (max R₀ (radialShootingR (profileMatchingParameter z₀)+1)) + have hLR : radialShootingR (profileMatchingParameter z₀) radialShootingNu (s i+radialInnerShootingThreshold) (z i) + let M := fun i => spectralJetRobin + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Y i (ζ i)) R) + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Z i (ζ i)) R) + let B₀ := spectralFluxBoundary R (radialMatchedFreeMassFunction z₀ R) + (radialMatchedFreeTransportFunction z₀ R) + (spectralGaugeRobin (radialShootingFreeExterior z₀ R) (deriv (radialShootingFreeExterior z₀) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R))) + change Tendsto (fun i => spectralFluxBoundary R (radialMatchedMassFunction (s i) (z i) R) + (radialMatchedTransportFunction (s i) (z i) R) + (spectralGaugeRobin (radialMatchedProfile (s i) (z i) R) + (deriv (radialMatchedProfile (s i) (z i)) R) (M i))) atTop (𝓝 B₀) at hB + obtain ⟨N,F,hw,hmass,hp,ha,_⟩ := radialMatched_penaltyFamily s hs z z₀ hz hX hm R hR.le + let t := fun i => s (i+N) + let y := fun i => z (i+N) + have ht : StrictMono t := fun i j hij => hs (Nat.add_lt_add_right hij N) + have hshift : Tendsto (fun i : ℕ => i+N) atTop atTop := + tendsto_atTop_mono (fun i => Nat.le_add_right i N) tendsto_id + have hy : Tendsto y atTop (𝓝 z₀) := hz.comp hshift + have hXt (i : ℕ) : HasRadialExterior (radialShootingNu (t i+radialInnerShootingThreshold) (y i)) + (t i+radialInnerShootingThreshold) (radialShootingM (y i)) (Real.log innerBoundaryRadius) := hX (i+N) + have hmt (i : ℕ) : radialMatchingMap (t i) (y i)=0 := hm (i+N) + have he := radialMatchedPhysical_eventually_zero ell t ht y z₀ hy hXt hmt hz₁ hz₀ + R hLR F hmass hw hp ha (fun i => ζ (i+N)) ζ₀ (hζ.comp hshift) hζ₀ + (fun i => M (i+N)) B₀ (hB.comp hshift) rfl hdet hD + refine ⟨R,(le_max_left _ _).trans hRR,hR,Y,Z,hYZ,?_⟩ + dsimp only + rw [← map_add_atTop_eq_nat N] + exact he + +theorem radialMatchedCanonical_global_exclusion + (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (ζ : ℕ → ℂ) (ζ₀ : ℂ) (hζ : Tendsto ζ atTop (𝓝 ζ₀)) + (hζ₀ : -(1/32 : ℝ)≤ζ₀.re) + (hD : spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z₀)) + ((radialShootingR (profileMatchingParameter z₀))^2/4) ζ₀ ≠ 0) (R₀ : ℝ) : + ∃ R : ℝ, R₀ ≤ R ∧ innerBoundaryRadius < R ∧ ∃ Y Z : ℕ → ℂ → ℝ → E₄, + (∀ᶠ i in atTop, + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i) ∧ + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) ∧ + let ν := fun i => radialShootingNu (s i+radialInnerShootingThreshold) (z i) + let M := fun i => spectralJetRobin + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Y i (ζ i)) R) + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Z i (ζ i)) R) + ∀ᶠ i in atTop, ∀ f g : ℝ → ℂ, ContDiff ℝ 2 f → ContDiff ℝ 2 g → + IsHarmonicRadialEigenpair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) (ζ i) f g → + (deriv f R,deriv g R)=M i (f R,g R) → + ∀ r : ℝ, 0 < r → f r=0 ∧ g r=0 := by + obtain ⟨R,hRR,hR,Y,Z,hYZ,hno⟩ := radialMatchedCanonical_exclusion ell s hs z z₀ hz hX hm + hz₁ hz₀ ζ ζ₀ hζ hζ₀ hD R₀ + refine ⟨R,hRR,hR,Y,Z,hYZ,?_⟩ + dsimp only at hno ⊢ + filter_upwards [hno] with i hi + intro f g hf hg he hb + exact harmonicRadialEigenpair_zero_of_ball _ _ _ _ f g _ _ + (radialMatchedProfile_differentiable (s i) (z i) (hX i) (hm i)).continuous.continuousOn + hf hg he R (((by norm_num : (0 : ℝ)<1).trans_le innerBoundaryRadius_bounds.1).trans hR) + (hi f g hf hg he hb) + +theorem radialMatchedCanonical_exclusion_with_det + (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (ζ : ℕ → ℂ) (ζ₀ : ℂ) (hζ : Tendsto ζ atTop (𝓝 ζ₀)) + (hζ₀ : -(1/32 : ℝ)≤ζ₀.re) + (hD : spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z₀)) + ((radialShootingR (profileMatchingParameter z₀))^2/4) ζ₀ ≠ 0) (R₀ : ℝ) : + ∃ R : ℝ, R₀ ≤ R ∧ innerBoundaryRadius < R ∧ ∃ Y Z : ℕ → ℂ → ℝ → E₄, + (∀ᶠ i in atTop, + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i) ∧ + IsCanonicalHolomorphicColumn (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) ∧ + let ν := fun i => radialShootingNu (s i+radialInnerShootingThreshold) (z i) + let M := fun i => spectralJetRobin + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Y i (ζ i)) R) + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Z i (ζ i)) R) + ∀ᶠ i in atTop, spectralValueDet + (spectralPhysicalValueMap (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Y i (ζ i)) R)) + (spectralPhysicalValueMap (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Z i (ζ i)) R)) ≠ 0 ∧ + ∀ f g : ℝ → ℂ, ContDiff ℝ 2 f → ContDiff ℝ 2 g → + IsHarmonicRadialEigenpair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) (ζ i) f g → + (deriv f R,deriv g R)=M i (f R,g R) → + ∀ r ∈ Ioc 0 R, f r=0 ∧ g r=0 := by + obtain ⟨R,hRR,hR,Y,Z,hYZ,hdet,hB,hactual⟩ := radialMatchedCanonicalBoundary_with_det s hs z z₀ hz hX hm + ell ζ ζ₀ hζ hζ₀ (max R₀ (radialShootingR (profileMatchingParameter z₀)+1)) + have hLR : radialShootingR (profileMatchingParameter z₀) radialShootingNu (s i+radialInnerShootingThreshold) (z i) + let M := fun i => spectralJetRobin + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Y i (ζ i)) R) + (spectralPhysicalPair (ν i-2*ζ i) (star (ν i)-2*ζ i) (Z i (ζ i)) R) + let B₀ := spectralFluxBoundary R (radialMatchedFreeMassFunction z₀ R) + (radialMatchedFreeTransportFunction z₀ R) + (spectralGaugeRobin (radialShootingFreeExterior z₀ R) (deriv (radialShootingFreeExterior z₀) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R))) + change Tendsto (fun i => spectralFluxBoundary R (radialMatchedMassFunction (s i) (z i) R) + (radialMatchedTransportFunction (s i) (z i) R) + (spectralGaugeRobin (radialMatchedProfile (s i) (z i) R) + (deriv (radialMatchedProfile (s i) (z i)) R) (M i))) atTop (𝓝 B₀) at hB + obtain ⟨N,F,hw,hmass,hp,ha,_⟩ := radialMatched_penaltyFamily s hs z z₀ hz hX hm R hR.le + let t := fun i => s (i+N) + let y := fun i => z (i+N) + have ht : StrictMono t := fun i j hij => hs (Nat.add_lt_add_right hij N) + have hshift : Tendsto (fun i : ℕ => i+N) atTop atTop := + tendsto_atTop_mono (fun i => Nat.le_add_right i N) tendsto_id + have hy : Tendsto y atTop (𝓝 z₀) := hz.comp hshift + have hXt (i : ℕ) : HasRadialExterior (radialShootingNu (t i+radialInnerShootingThreshold) (y i)) + (t i+radialInnerShootingThreshold) (radialShootingM (y i)) (Real.log innerBoundaryRadius) := hX (i+N) + have hmt (i : ℕ) : radialMatchingMap (t i) (y i)=0 := hm (i+N) + have he := radialMatchedPhysical_eventually_zero ell t ht y z₀ hy hXt hmt hz₁ hz₀ + R hLR F hmass hw hp ha (fun i => ζ (i+N)) ζ₀ (hζ.comp hshift) hζ₀ + (fun i => M (i+N)) B₀ (hB.comp hshift) rfl hdet hD + refine ⟨R,(le_max_left _ _).trans hRR,hR,Y,Z,hYZ,?_⟩ + dsimp only + rw [← map_add_atTop_eq_nat N] + exact (hshift.eventually hactual).and he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalFluxIdentity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalFluxIdentity.lean new file mode 100644 index 0000000000000000000000000000000000000000..85508ccf258e1e67c9b473c8bb2fc61232f113f4 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalFluxIdentity.lean @@ -0,0 +1,29 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalRobinAnalytic + +namespace OAI + +/-! The canonical boundary operator in physical gauge. -/ + +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonicalFlux_eq_physical (n : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (Y Z : ℂ → ℝ → E₄) : + radialMatchedCanonicalFlux n z R Y Z = + fun t => spectralFluxBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) + (spectralGaugeRobin (radialMatchedProfile n z R) (deriv (radialMatchedProfile n z) R) + (radialMatchedCanonicalRobin n z R Y Z t)) := rfl + +theorem radialMatchedCanonicalFlux_apply_eq_physical (n : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (Y Z : ℂ → ℝ → E₄) (t : ℂ) : + radialMatchedCanonicalFlux n z R Y Z t = + spectralFluxBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) + (spectralGaugeRobin (radialMatchedProfile n z R) (deriv (radialMatchedProfile n z) R) + (radialMatchedCanonicalRobin n z R Y Z t)) := rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalFluxLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalFluxLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..e53148af0f71b7dd5fa3b8af73481604f53a981e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalFluxLimit.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalRobinJoint +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedBoundaryJoint +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSimpleKernel +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMovingParameterLimit + +namespace OAI + +/-! Actual gauge and flux factors preserve joint canonical Robin convergence. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable def radialMatchedCanonicalFlux (n : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (Y Z : ℂ → ℝ → E₄) (lam : ℂ) : ℂ × ℂ →L[ℂ] ℂ × ℂ := + radialMatchedFluxBoundary n z R + (spectralJetRobin + (spectralPhysicalPair (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Y lam) R) + (spectralPhysicalPair (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Z lam) R)) + +theorem radialMatchedCanonicalFlux_joint_tendsto + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (lam₀ : ℂ) (hlam₀ : -(1/32 : ℝ) ≤ lam₀.re) + (hd : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) : + Tendsto (fun p : ℕ × ℂ => radialMatchedCanonicalFlux (s p.1) (z p.1) R (Y p.1) (Z p.1) p.2) + (atTop ×ˢ 𝓝 lam₀) (𝓝 (radialMatchedFreeBoundary ell z₀ R lam₀)) := by + have hj := radialMatchedCanonicalRobin_joint_tendsto s hs z z₀ hz ell Y Z hY hZ R hR lam₀ hlam₀ hd + let M := fun i lam => spectralJetRobin + (spectralPhysicalPair (radialShootingNu (s i+radialInnerShootingThreshold) (z i)-2*lam) + (star (radialShootingNu (s i+radialInnerShootingThreshold) (z i))-2*lam) (Y i lam) R) + (spectralPhysicalPair (radialShootingNu (s i+radialInnerShootingThreshold) (z i)-2*lam) + (star (radialShootingNu (s i+radialInnerShootingThreshold) (z i))-2*lam) (Z i lam) R) + let M₀ := spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R) + have hh := radialMatchedBoundaryOperator_joint_tendsto s hs z z₀ hz hX hm R hR lam₀ M M₀ hj + simpa only [radialMatchedCanonicalFlux,radialMatchedFreeBoundary,M,M₀] using hh + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalMultiplicity.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalMultiplicity.lean new file mode 100644 index 0000000000000000000000000000000000000000..8e5819950c3c01c2d7963805ceafc57cc9b97144 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalMultiplicity.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalPencilLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalNeighborhood +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPencilAnalytic +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreePencilNoChain +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralEventualSimple + +namespace OAI + +/-! Eventual one-dimensional kernels and first-chain exclusion for the actual canonical pencil. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable local instance canonicalMultiplicityNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedCanonicalPencil_eventually_simple (hRou : RectangleRouche) + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀))) + (hmass : F.limitWeight.density=radialMatchedFreeMassFunction z₀) + (lam₀ : ℂ) (hsym : (ell=0 ∧ (lam₀=0 ∨ lam₀=1)) ∨ (ell=1 ∧ lam₀=1/2)) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) + (x : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 lam₀)) : + let hR₀ := (radialMatchedCore_radius_pos z₀).trans hLR + let P := fun i lam => F.compactPencil ell hR₀ i + (radialMatchedWeakOperator (s i) ell (z i) (hX i) (hm i) R hR₀ lam + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i) lam)) + ∀ᶠ i in atTop, + (∀ u v : SpectralRadialObservationSpace R, P i (x i) u=u → u ≠ 0 → + P i (x i) v=v → ∃ a : ℂ, v=a • u) ∧ + (∀ u v : SpectralRadialObservationSpace R, P i (x i) u=u → u ≠ 0 → + v-P i (x i) v ≠ deriv (P i) (x i) u) := by + intro hR₀ P + let hc := radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm + let f := radialMatchedFreePencil ell z₀ hc R hLR F + have hhalf : -(1/32 : ℝ) < lam₀.re := by + rcases hsym with ⟨_,rfl | rfl⟩ | ⟨_,rfl⟩ <;> norm_num + obtain ⟨U,hU,hlam,hfree,hBA⟩ := radialMatchedCanonical_analytic_neighborhood + s hs z z₀ hz ell Y Z hY hZ R hR hLR lam₀ hhalf hdet + have hP : TendstoLocallyUniformlyOn P f atTop U := + radialMatchedCanonicalPencil_locallyUniform s hs z z₀ hz hX hm ell Y Z hY hZ + R hR hLR F U hU (fun w hw => (hfree w hw).1) (fun w hw => (hfree w hw).2) + have hPd : ∀ᶠ i in atTop, DifferentiableOn ℂ (P i) U := by + filter_upwards [hBA] with i hi w hw + exact (radialMatchedPencil_analyticAt (s i) ell i (z i) (hX i) (hm i) R + (radialShootingR (profileMatchingParameter z₀)) hR₀ F + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i)) w (hi w hw)).differentiableAt.differentiableWithinAt + have hcomp : IsCompactOperator (f lam₀) := + F.limitPencil_compact ell (radialMatchedCore_radius_pos z₀) hLR _ + apply spectral_eventually_simple P f U hU hP hPd lam₀ hlam hcomp x hx + · intro u₀ hne₀ hfix w hw + exact radialMatchedFreePencil_kernel_line ell z₀ hz₁ hz₀ hc R hLR F hmass + lam₀ hhalf.le hdet u₀ w hne₀ hfix hw + · intro u₀ hne₀ hfix w + exact radialMatchedFreePencil_no_chain hRou ell z₀ hz₁ hz₀ hc R hLR F hmass + lam₀ hsym hdet u₀ w hne₀ hfix + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNeighborhood.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNeighborhood.lean new file mode 100644 index 0000000000000000000000000000000000000000..6ab14fc0e93feca4ecac54696fd05e213803a0cc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNeighborhood.lean @@ -0,0 +1,72 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalValueDet +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalAnalytic +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeValueContinuity +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralJointNonzero + +namespace OAI + +/-! A fixed neighborhood with nonvanishing value matrices and holomorphic actual boundaries. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonical_analytic_neighborhood + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (lam₀ : ℂ) (hlam₀ : -(1/32 : ℝ) < lam₀.re) + (hd : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) : + ∃ U : Set ℂ, IsOpen U ∧ lam₀ ∈ U ∧ + (∀ w ∈ U, -(1/32 : ℝ) ≤ w.re ∧ spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) w R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) w R)) ≠ 0) ∧ + ∀ᶠ i in atTop, AnalyticOnNhd ℂ (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i)) U := by + have hj := radialMatchedCanonicalValueDet_joint_tendsto s hs z z₀ hz ell Y Z hY hZ + R hR lam₀ hlam₀.le + let Dn := fun i lam => spectralValueDet + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)-2*lam) + (star (radialShootingNu (s i+radialInnerShootingThreshold) (z i))-2*lam) (Y i lam) R)) + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)-2*lam) + (star (radialShootingNu (s i+radialInnerShootingThreshold) (z i))-2*lam) (Z i lam) R)) + obtain ⟨A,hA,ha,hactual⟩ := spectral_joint_nonzero_neighborhood Dn lam₀ _ hd hj + let D := fun w : ℂ => spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) w R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) w R)) + have hDc : ContinuousAt D lam₀ := radialFreeValueDet_continuousAt ell z₀ R hLR lam₀ hlam₀.le + have he : {w : ℂ | D w ≠ 0} ∈ 𝓝 lam₀ := hDc.tendsto.eventually (eventually_ne_nhds hd) + have hh : {w : ℂ | -(1/32 : ℝ) < w.re} ∈ 𝓝 lam₀ := + Complex.continuous_re.continuousAt.tendsto.eventually (lt_mem_nhds hlam₀) + obtain ⟨B,hB,hBo,hb⟩ := mem_nhds_iff.mp (inter_mem he hh) + refine ⟨A ∩ B,hA.inter hBo,⟨ha,hb⟩,?_,?_⟩ + · intro w hw + exact ⟨(hB hw.2).2.le,(hB hw.2).1⟩ + · filter_upwards [hactual] with i hi w hw + exact radialMatchedCanonicalFlux_analyticAt (s i) ell (z i) R + (innerBoundaryRadius_bounds.1.trans hR.le) (Y i) (Z i) (hY i) (hZ i) w (hi w hw.1) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNoJordan.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNoJordan.lean new file mode 100644 index 0000000000000000000000000000000000000000..e5a142464a0a0750152bb920c5311f3f0b7a7eea --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNoJordan.lean @@ -0,0 +1,85 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalPencilLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalNeighborhood +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPencilAnalytic +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreePencilNoChain +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSimpleLimitNoJordan + +namespace OAI + +/-! The actual finite-power canonical pencils have no persisting first chain near a symmetry root. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable local instance canonicalNoJordanNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedCanonicalPencil_no_jordan (hRou : RectangleRouche) + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀))) + (hmass : F.limitWeight.density=radialMatchedFreeMassFunction z₀) + (lam₀ : ℂ) (hsym : (ell=0 ∧ (lam₀=0 ∨ lam₀=1)) ∨ (ell=1 ∧ lam₀=1/2)) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) + (x : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 lam₀)) : + let hR₀ := (radialMatchedCore_radius_pos z₀).trans hLR + let P := fun i lam => F.compactPencil ell hR₀ i + (radialMatchedWeakOperator (s i) ell (z i) (hX i) (hm i) R hR₀ lam + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i) lam)) + ∀ u v : ℕ → SpectralRadialObservationSpace R, + (∀ᶠ i in atTop, P i (x i) (u i)=u i ∧ u i ≠ 0) → + (∀ᶠ i in atTop, v i-P i (x i) (v i)=deriv (P i) (x i) (u i)) → False := by + intro hR₀ P u v hu hv + let hc := radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm + let f := radialMatchedFreePencil ell z₀ hc R hLR F + have hhalf : -(1/32 : ℝ) < lam₀.re := by + rcases hsym with ⟨_,rfl | rfl⟩ | ⟨_,rfl⟩ <;> norm_num + obtain ⟨U,hU,hlam,hfree,hBA⟩ := radialMatchedCanonical_analytic_neighborhood + s hs z z₀ hz ell Y Z hY hZ R hR hLR lam₀ hhalf hdet + have hP : TendstoLocallyUniformlyOn P f atTop U := + radialMatchedCanonicalPencil_locallyUniform s hs z z₀ hz hX hm ell Y Z hY hZ + R hR hLR F U hU (fun w hw => (hfree w hw).1) (fun w hw => (hfree w hw).2) + have hPd : ∀ᶠ i in atTop, DifferentiableOn ℂ (P i) U := by + filter_upwards [hBA] with i hi w hw + exact (radialMatchedPencil_analyticAt (s i) ell i (z i) (hX i) (hm i) R + (radialShootingR (profileMatchingParameter z₀)) hR₀ F + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i)) w (hi w hw)).differentiableAt.differentiableWithinAt + have hcomp : IsCompactOperator (f lam₀) := + F.limitPencil_compact ell (radialMatchedCore_radius_pos z₀) hLR _ + apply spectral_simple_limit_no_jordan P f U hU hP hPd lam₀ hlam hcomp + x hx u v hu hv + · intro u₀ hne₀ hfix w hw + exact radialMatchedFreePencil_kernel_line ell z₀ hz₁ hz₀ hc R hLR F hmass + lam₀ hhalf.le hdet u₀ w hne₀ hfix hw + · intro u₀ hne₀ hfix w + exact radialMatchedFreePencil_no_chain hRou ell z₀ hz₁ hz₀ hc R hLR F hmass + lam₀ hsym hdet u₀ w hne₀ hfix + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNoSplitting.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNoSplitting.lean new file mode 100644 index 0000000000000000000000000000000000000000..f2b0f1c8a0a4649bd665f1cc5af7cfa5dea04ee1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalNoSplitting.lean @@ -0,0 +1,91 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalPencilLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalNeighborhood +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPencilAnalytic +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreePencilNoChain +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSimpleLimitNoSplitting + +namespace OAI + +/-! The actual finite-power canonical pencils cannot split a free symmetry root. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable local instance canonicalNoSplitNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedCanonicalPencil_no_splitting (hRou : RectangleRouche) + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀))) + (hmass : F.limitWeight.density=radialMatchedFreeMassFunction z₀) + (lam₀ : ℂ) (hsym : (ell=0 ∧ (lam₀=0 ∨ lam₀=1)) ∨ (ell=1 ∧ lam₀=1/2)) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) + (x y : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 lam₀)) (hy : Tendsto y atTop (𝓝 lam₀)) + (hne : ∀ᶠ i in atTop, x i ≠ y i) : + let hR₀ := (radialMatchedCore_radius_pos z₀).trans hLR + let P := fun i lam => F.compactPencil ell hR₀ i + (radialMatchedWeakOperator (s i) ell (z i) (hX i) (hm i) R hR₀ lam + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i) lam)) + ∀ u v : ℕ → SpectralRadialObservationSpace R, + (∀ᶠ i in atTop, P i (x i) (u i)=u i ∧ u i ≠ 0) → + (∀ᶠ i in atTop, P i (y i) (v i)=v i ∧ v i ≠ 0) → False := by + dsimp only + let hR₀ := (radialMatchedCore_radius_pos z₀).trans hLR + let P := fun i lam => F.compactPencil ell hR₀ i + (radialMatchedWeakOperator (s i) ell (z i) (hX i) (hm i) R hR₀ lam + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i) lam)) + let hc := radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm + let f := radialMatchedFreePencil ell z₀ hc R hLR F + intro u v hu hv + have hhalf : -(1/32 : ℝ) < lam₀.re := by + rcases hsym with ⟨_,rfl | rfl⟩ | ⟨_,rfl⟩ <;> norm_num + obtain ⟨U,hU,hlam,hfree,hBA⟩ := radialMatchedCanonical_analytic_neighborhood + s hs z z₀ hz ell Y Z hY hZ R hR hLR lam₀ hhalf hdet + have hP : TendstoLocallyUniformlyOn P f atTop U := + radialMatchedCanonicalPencil_locallyUniform s hs z z₀ hz hX hm ell Y Z hY hZ + R hR hLR F U hU (fun w hw => (hfree w hw).1) (fun w hw => (hfree w hw).2) + have hPd : ∀ᶠ i in atTop, DifferentiableOn ℂ (P i) U := by + filter_upwards [hBA] with i hi w hw + exact (radialMatchedPencil_analyticAt (s i) ell i (z i) (hX i) (hm i) R + (radialShootingR (profileMatchingParameter z₀)) hR₀ F + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i)) w (hi w hw)).differentiableAt.differentiableWithinAt + have hcomp : IsCompactOperator (f lam₀) := + F.limitPencil_compact ell (radialMatchedCore_radius_pos z₀) hLR _ + apply spectral_simple_limit_no_splitting P f U hU hP hPd lam₀ hlam hcomp + x y hx hy hne u v hu hv + · intro u₀ hne₀ hfix w hw + exact radialMatchedFreePencil_kernel_line ell z₀ hz₁ hz₀ hc R hLR F hmass + lam₀ hhalf.le hdet u₀ w hne₀ hfix hw + · intro u₀ hne₀ hfix w + exact radialMatchedFreePencil_no_chain hRou ell z₀ hz₁ hz₀ hc R hLR F hmass + lam₀ hsym hdet u₀ w hne₀ hfix + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalPencilLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalPencilLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..30e6a5cfe2e4f2c5c5a3461454e103a428f314aa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalPencilLimit.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalUniform +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPencilUniformLimit + +namespace OAI + +/-! Local uniform convergence of the actual canonical compact spectral pencil. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable local instance compactCanonicalNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedCanonicalPencil_locallyUniform + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀))) + (U : Set ℂ) (hU : IsOpen U) + (hhalf : ∀ lam ∈ U, -(1/32 : ℝ) ≤ lam.re) + (hd : ∀ lam ∈ U, spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam R)) ≠ 0) : + let hL := radialMatchedCore_radius_pos z₀ + let hR₀ := hL.trans hLR + TendstoLocallyUniformlyOn (fun i lam => F.compactPencil ell hR₀ i + (radialMatchedWeakOperator (s i) ell (z i) (hX i) (hm i) R hR₀ lam + (radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i) lam))) + (radialMatchedFreePencil ell z₀ + (radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm) R hLR F) atTop U := by + have hB := radialMatchedCanonicalFlux_locallyUniform s hs z z₀ hz hX hm ell + Y Z hY hZ R hR hLR U hU hhalf hd + exact radialMatchedPencil_tendstoLocallyUniformlyOn ell s hs z z₀ hz hX hm R hLR F U hU + (fun i => radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i)) + (radialMatchedFreeBoundary ell z₀ R) hB + (fun lam hlam => radialMatchedFreeBoundary_analyticAt ell z₀ R hLR lam + (hhalf lam hlam) (hd lam hlam)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalRobinAnalytic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalRobinAnalytic.lean new file mode 100644 index 0000000000000000000000000000000000000000..5cc342d92eb4cab1f13f852e6e586e8c62af4c2e --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalRobinAnalytic.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalAnalytic + +namespace OAI + +/-! Holomorphy of the physical outgoing Robin matrix used for first chains. -/ + +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable def radialMatchedCanonicalRobin (n : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (Y Z : ℂ → ℝ → E₄) (lam : ℂ) : ℂ × ℂ →L[ℂ] ℂ × ℂ := + spectralJetRobin + (spectralPhysicalPair (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Y lam) R) + (spectralPhysicalPair (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Z lam) R) + +theorem radialMatchedCanonicalRobin_analyticAt (n ell : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (hR : 1 ≤ R) (Y Z : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1,0) Y) + (hZ : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0,1) Z) + (lam : ℂ) + (hd : spectralValueDet + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Y lam) R)) + (spectralPhysicalValueMap (spectralPhysicalPair + (radialShootingNu (n+radialInnerShootingThreshold) z-2*lam) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*lam) (Z lam) R)) ≠ 0) : + AnalyticAt ℂ (radialMatchedCanonicalRobin n z R Y Z) lam := by + have ha (W : ℂ → ℝ → E₄) + (hW : ∀ v t, 0 ≤ t → AnalyticAt ℂ (fun w => W w t) v) : + AnalyticAt ℂ (fun w => spectralPhysicalPair + (radialShootingNu (n+radialInnerShootingThreshold) z-2*w) + (star (radialShootingNu (n+radialInnerShootingThreshold) z)-2*w) (W w) R) lam := by + apply spectralPhysicalPair_analyticAt + · fun_prop + · fun_prop + · exact hW lam (Real.log R) (Real.log_nonneg hR) + have hM := spectralJetRobin_analyticAt _ _ lam + (ha Y hY.2.2.1) (ha Z hZ.2.2.1) hd + exact hM + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalRobinJoint.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalRobinJoint.lean new file mode 100644 index 0000000000000000000000000000000000000000..39fba6c14daf9e36244307777fb69db2dbe18766 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalRobinJoint.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalExtension +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingCanonicalRobin + +namespace OAI + +/-! Joint Robin convergence along the actual matched powers. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonicalRobin_joint_tendsto + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (lam₀ : ℂ) (hlam₀ : -(1/32 : ℝ) ≤ lam₀.re) + (hd : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) : + Tendsto (fun p : ℕ × ℂ => spectralJetRobin + (spectralPhysicalPair (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1)-2*p.2) + (star (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1))-2*p.2) (Y p.1 p.2) R) + (spectralPhysicalPair (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1)-2*p.2) + (star (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1))-2*p.2) (Z p.1 p.2) R)) + (atTop ×ˢ 𝓝 lam₀) + (𝓝 (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R))) := by + let N := fun i => s i+radialInnerShootingThreshold + have hN : StrictMono N := fun i j hij => Nat.add_lt_add_right (hs hij) _ + let ze := radialIndexedExtension N z (fun _ => z₀) + have hze : Tendsto ze atTop (𝓝 z₀) := radialIndexedExtension_constant_tendsto N hN z z₀ hz + obtain ⟨Ye,hYe,hYc⟩ := radialCanonicalExtension N hN z z₀ ell (1,0) Y hY + obtain ⟨Ze,hZe,hZc⟩ := radialCanonicalExtension N hN z z₀ ell (0,1) Z hZ + have hR1 : 1 ≤ R := innerBoundaryRadius_bounds.1.trans hR.le + have hlog : Real.log innerBoundaryRadius ≤ Real.log R := + Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hR.le + have hh := radialShooting_canonical_robin_joint_limit ze z₀ hze ell Ye Ze hYc hZc + R hR1 hlog lam₀ hlam₀ hd + have hmap : Tendsto (fun p : ℕ × ℂ => (N p.1,p.2)) + (atTop ×ˢ 𝓝 lam₀) (atTop ×ˢ 𝓝 lam₀) := + hN.tendsto_atTop.prodMap tendsto_id + have hh' := hh.comp hmap + simpa only [Function.comp_def,ze,radialIndexedExtension_apply N hN,hYe,hZe,N] using hh' + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalSourceExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalSourceExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..4d2b201d205b09031e82c00ed760ba89d01b5de8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalSourceExclusion.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalMultiplicity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralCanonicalSourceChain + +namespace OAI + +/-! Actual generalized radial modes satisfying the outgoing derivative condition are eventually excluded. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable local instance canonicalSourceExclusionNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedCanonical_no_source (hRou : RectangleRouche) + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell N : ℕ) (hN : 7 ≤ N) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀))) + (hmass : F.limitWeight.density=radialMatchedFreeMassFunction z₀) + (hw : ∀ i, (F.weight i).density=radialMatchedMassFunction (s i) (z i)) + (hp : ∀ i, F.pressure i=fun r => ‖radialMatchedProfile (s i) (z i) r‖^(2*(s i+radialInnerShootingThreshold))) + (ha : ∀ i, F.scale i=radialShootingA (s i)) + (lam₀ : ℂ) (hsym : (ell=0 ∧ (lam₀=0 ∨ lam₀=1)) ∨ (ell=1 ∧ lam₀=1/2)) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) + (x : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 lam₀)) : + ∀ᶠ i in atTop, + ∀ u : RadialSpectralMode (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) N + (radialMatchedProfile (s i) (z i)) ((ell : ℂ)*(ell+10)) (x i), + ∀ v w : ℝ → ℂ, ContDiff ℝ 2 v → ContDiff ℝ 2 w → + IsHarmonicRadialSourcePair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) ((ell : ℂ)*(ell+10)) (x i) v w u.first u.second → + (deriv v R,deriv w R)=radialMatchedCanonicalRobin (s i) (z i) R (Y i) (Z i) (x i) (v R,w R)+ + deriv (radialMatchedCanonicalRobin (s i) (z i) R (Y i) (Z i)) (x i) (u.first R,u.second R) → + False := by + have hhalf₀ : -(1/32 : ℝ) < lam₀.re := by + rcases hsym with ⟨_,rfl | rfl⟩ | ⟨_,rfl⟩ <;> norm_num + have hsimple := radialMatchedCanonicalPencil_eventually_simple hRou s hs z z₀ hz hz₁ hz₀ + hX hm ell Y Z hY hZ R hR hLR F hmass lam₀ hsym hdet x hx + have hval := (radialMatchedCanonicalValueDet_joint_tendsto s hs z z₀ hz ell Y Z hY hZ + R hR lam₀ hhalf₀.le).comp (tendsto_id.prodMk hx) + have hd := hval.eventually (eventually_ne_nhds hdet) + have hh := (Complex.continuous_re.continuousAt.tendsto.comp hx).eventually + (lt_mem_nhds hhalf₀) + filter_upwards [hsimple,hd,hh] with i hi hdi hhi + intro u v w hv hw₂ he hb + obtain ⟨v₀,v₁,hne,hker,hchain⟩ := radialSpectralMode_canonical_source_chain + (s i) ell i N hN (z i) (hX i) (hm i) R _ hR F (hw i) (hp i) (ha i) + (x i) hhi.le u (Y i) (Z i) (hY i) (hZ i) hdi v w hv hw₂ he hb + exact hi.2 v₀ v₁ hker hne hchain + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalUniform.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalUniform.lean new file mode 100644 index 0000000000000000000000000000000000000000..faf4acf16e6c24af8c383c6034ca8c055c87c5b5 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalUniform.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalFluxLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreeBoundaryAnalytic +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralJointUniformLimit + +namespace OAI + +/-! Local uniform convergence of the actual outgoing boundary operators. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonicalFlux_locallyUniform + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (U : Set ℂ) (hU : IsOpen U) + (hhalf : ∀ lam ∈ U, -(1/32 : ℝ) ≤ lam.re) + (hd : ∀ lam ∈ U, spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam R)) ≠ 0) : + TendstoLocallyUniformlyOn + (fun i lam => radialMatchedCanonicalFlux (s i) (z i) R (Y i) (Z i) lam) + (radialMatchedFreeBoundary ell z₀ R) atTop U := by + apply spectral_locallyUniform_of_joint _ _ U hU + · intro lam hlam + exact (radialMatchedFreeBoundary_analyticAt ell z₀ R hLR lam + (hhalf lam hlam) (hd lam hlam)).differentiableAt.continuousAt.continuousWithinAt + · intro lam hlam + exact radialMatchedCanonicalFlux_joint_tendsto s hs z z₀ hz hX hm ell Y Z hY hZ + R hR lam (hhalf lam hlam) (hd lam hlam) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalValueDet.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalValueDet.lean new file mode 100644 index 0000000000000000000000000000000000000000..e6a514fc42c650e72c8ca2addc4a5d1c15ad67b1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCanonicalValueDet.lean @@ -0,0 +1,51 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalRobinJoint +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingCanonicalValueDet + +namespace OAI + +/-! Joint convergence of the canonical outgoing value determinant. -/ + +open Filter Topology Set +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedCanonicalValueDet_joint_tendsto + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (ell : ℕ) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (lam₀ : ℂ) (hlam₀ : -(1/32 : ℝ) ≤ lam₀.re) + : Tendsto (fun p : ℕ × ℂ => spectralValueDet (spectralPhysicalValueMap (spectralPhysicalPair (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1)-2*p.2) (star (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1))-2*p.2) (Y p.1 p.2) R)) (spectralPhysicalValueMap (spectralPhysicalPair (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1)-2*p.2) (star (radialShootingNu (s p.1+radialInnerShootingThreshold) (z p.1))-2*p.2) (Z p.1 p.2) R))) + (atTop ×ˢ 𝓝 lam₀) (𝓝 (spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) lam₀ R)))) := by + let N := fun i => s i+radialInnerShootingThreshold + have hN : StrictMono N := fun i j hij => Nat.add_lt_add_right (hs hij) _ + let ze := radialIndexedExtension N z (fun _ => z₀) + have hze : Tendsto ze atTop (𝓝 z₀) := radialIndexedExtension_constant_tendsto N hN z z₀ hz + obtain ⟨Ye,hYe,hYc⟩ := radialCanonicalExtension N hN z z₀ ell (1,0) Y hY + obtain ⟨Ze,hZe,hZc⟩ := radialCanonicalExtension N hN z z₀ ell (0,1) Z hZ + have hR1 : 1 ≤ R := innerBoundaryRadius_bounds.1.trans hR.le + have hlog : Real.log innerBoundaryRadius ≤ Real.log R := + Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) hR.le + have hh := radialShooting_canonical_valueDet_joint_limit ze z₀ hze ell Ye Ze hYc hZc + R hR1 hlog lam₀ hlam₀ + have hmap : Tendsto (fun p : ℕ × ℂ => (N p.1,p.2)) + (atTop ×ˢ 𝓝 lam₀) (atTop ×ˢ 𝓝 lam₀) := + hN.tendsto_atTop.prodMap tendsto_id + have hh' := hh.comp hmap + simpa only [Function.comp_def,ze,radialIndexedExtension_apply N hN,hYe,hZe,N] using hh' + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalPencil.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalPencil.lean new file mode 100644 index 0000000000000000000000000000000000000000..2cf370e7198d52f249f03dff44588e8685531330 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalPencil.lean @@ -0,0 +1,140 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeBalance +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakOperator + +namespace OAI + +/-! An actual classical gauge eigenmode satisfying the outer flux condition is +an eigenvector of the completed compact pencil. -/ + +open Set MeasureTheory +open scoped SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +private theorem radialMatchedClassical_first_test (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (ha : s.scale i=radialShootingA n) (lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g) + (u : SpectralHarmonicPair ell R) + (huf : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) + (hug : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) + (hudf : spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) + (_hudg : spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) + (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hb : (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)=B (f R,g R)) (φ : 𝓢(ℝ,ℂ)) : + star (s.penaltyComplexForm ell i u (spectralFirstTest ell R φ))= + inner ℂ (spectralFirstTest ell R φ) + (radialMatchedWeakOperator n ell z hX hz R hR lam B + (spectralHarmonicObservation ell R hR u)) := by + let w := spectralContinuousCoefficient R (radialMatchedMassFunction n z) + (radialMatchedMassFunction_continuous n z hX hz) + let a := spectralContinuousCoefficient R (radialMatchedTransportFunction n z) + (radialMatchedTransportFunction_continuous n z hX hz) + have hb₁ := congrArg Prod.fst hb + change spectralGaugeFirstFlux _ _ _ _ _=(B (f R,g R)).1 at hb₁ + rw [s.penaltyComplexForm_first_classical ell i hR u f huf hudf φ] + change _ = inner ℂ (spectralFirstTest ell R φ) + (spectralLowerOrderOperator ell R hR (spectralRadialWeightMultiplier R w) + (spectralRadialWeightMultiplier R a) ((6-2*radialShootingA n : ℝ) : ℂ) lam B + (spectralHarmonicObservation ell R hR u)) + rw [spectralLowerOrder_first_classical ell R hR w a _ lam B u f g huf hug φ, + hw,hp,ha] + have ht := (radialMatchedGauge_balance n z hX hz R hR + (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g hf hg he φ).1 + rw [hb₁] at ht + change _ = spectralClassicalRadialPairing R (radialMatchedMassFunction n z) f φ+ + (((6-2*radialShootingA n : ℝ) : ℂ)-lam)* + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) g φ+ + spectralClassicalRadialPairing R (radialMatchedTransportFunction n z) g (deriv φ)+ + star (φ R)*(B (f R,g R)).1 + linear_combination ht + +private theorem radialMatchedClassical_second_test (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (_hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (_ha : s.scale i=radialShootingA n) (lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g) + (u : SpectralHarmonicPair ell R) + (huf : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) + (hug : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) + (_hudf : spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) + (hudg : spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) + (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hb : (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)=B (f R,g R)) (φ : 𝓢(ℝ,ℂ)) : + star (s.penaltyComplexForm ell i u (spectralSecondTest ell R φ))= + inner ℂ (spectralSecondTest ell R φ) + (radialMatchedWeakOperator n ell z hX hz R hR lam B + (spectralHarmonicObservation ell R hR u)) := by + let w := spectralContinuousCoefficient R (radialMatchedMassFunction n z) + (radialMatchedMassFunction_continuous n z hX hz) + let a := spectralContinuousCoefficient R (radialMatchedTransportFunction n z) + (radialMatchedTransportFunction_continuous n z hX hz) + have hb₂ := congrArg Prod.snd hb + change spectralGaugeSecondFlux _ _ _ _ _=(B (f R,g R)).2 at hb₂ + rw [s.penaltyComplexForm_second_classical ell i hR u g hug hudg φ] + change _ = inner ℂ (spectralSecondTest ell R φ) + (spectralLowerOrderOperator ell R hR (spectralRadialWeightMultiplier R w) + (spectralRadialWeightMultiplier R a) ((6-2*radialShootingA n : ℝ) : ℂ) lam B + (spectralHarmonicObservation ell R hR u)) + rw [spectralLowerOrder_second_classical ell R hR w a _ lam B u f g huf hug φ,hw] + have ht := (radialMatchedGauge_balance n z hX hz R hR + (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g hf hg he φ).2 + rw [hb₂] at ht + change _ = spectralClassicalRadialPairing R (radialMatchedMassFunction n z) g φ- + (((6-2*radialShootingA n : ℝ) : ℂ)-lam)* + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) f φ- + spectralClassicalRadialPairing R (radialMatchedTransportFunction n z) f (deriv φ)+ + star (φ R)*(B (f R,g R)).2 + linear_combination ht + +theorem radialMatchedClassical_pencil (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (ha : s.scale i=radialShootingA n) (lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g) + (u : SpectralHarmonicPair ell R) + (huf : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) + (hug : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) + (hudf : spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) + (hudg : spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) + (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hb : (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)=B (f R,g R)) : + s.compactPencil ell hR i (radialMatchedWeakOperator n ell z hX hz R hR lam B) + (spectralHarmonicObservation ell R hR u)=spectralHarmonicObservation ell R hR u := by + apply s.compactPencil_of_complex_tests ell i hR _ u + · exact radialMatchedClassical_first_test n ell i z hX hz R l hR s hw hp ha lam + f g hf hg he u huf hug hudf hudg B hb + · exact radialMatchedClassical_second_test n ell i z hX hz R l hR s hw hp ha lam + f g hf hg he u huf hug hudf hudg B hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalSourcePencil.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalSourcePencil.lean new file mode 100644 index 0000000000000000000000000000000000000000..3bf811e8deecd12a80ed1e6d86b617596d5f96fa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalSourcePencil.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedClassicalSourceTests +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralObservedSourceEquation + +namespace OAI + +/-! Actual classical source pairs satisfy the differentiated finite-power compact pencil. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance classicalSourcePencilNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedClassical_source_pencil (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (ha : s.scale i=radialShootingA n) (lam : ℂ) (f g f₀ g₀ : ℝ → ℂ) + (hf₀ : Continuous f₀) (hg₀ : Continuous g₀) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeSourcePair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g f₀ g₀) + (u : SpectralHarmonicPair ell R) + (huf : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) + (hug : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) + (hudf : spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) + (hudg : spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) + (u₀ : SpectralHarmonicPair ell R) + (huf₀ : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u₀.fst r=f₀ r) + (hug₀ : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u₀.snd r=g₀ r) + (B : ℂ → ℂ × ℂ →L[ℂ] ℂ × ℂ) (B' : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hB : HasDerivAt B B' lam) + (hb : (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)=B lam (f R,g R)+B' (f₀ R,g₀ R)) : + spectralHarmonicObservation ell R hR u- + s.compactPencil ell hR i (radialMatchedWeakOperator n ell z hX hz R hR lam (B lam)) + (spectralHarmonicObservation ell R hR u)= + deriv (fun t => s.compactPencil ell hR i + (radialMatchedWeakOperator n ell z hX hz R hR t (B t))) lam + (spectralHarmonicObservation ell R hR u₀) := by + let K := fun t => radialMatchedWeakOperator n ell z hX hz R hR t (B t) + let D := spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R (s.weight i)) B' + have hK : HasDerivAt K D lam := + radialMatchedWeakOperator_hasDerivAt n ell z hX hz R hR (s.weight i) hw B B' lam hB + have hP := s.compactPencil_hasDerivAt ell i hR K D lam hK + change spectralHarmonicObservation ell R hR u- + s.compactPencil ell hR i (K lam) (spectralHarmonicObservation ell R hR u)= + deriv (fun t => s.compactPencil ell hR i (K t)) lam + (spectralHarmonicObservation ell R hR u₀) + rw [hP.deriv] + apply s.compactPencil_source_of_complex_tests ell i hR (K lam) D u u₀ + · exact radialMatchedSource_first_test n ell i z hX hz R l hR s hw hp ha lam + f g f₀ g₀ hf₀ hg₀ hf hg he u huf hug hudf hudg u₀ huf₀ hug₀ (B lam) B' hb + · exact radialMatchedSource_second_test n ell i z hX hz R l hR s hw hp ha lam + f g f₀ g₀ hf₀ hg₀ hf hg he u huf hug hudf hudg u₀ huf₀ hug₀ (B lam) B' hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalSourceTests.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalSourceTests.lean new file mode 100644 index 0000000000000000000000000000000000000000..dcc019fd5fe089ac982e0e78284c695e42dd0c4d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedClassicalSourceTests.lean @@ -0,0 +1,125 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSourceBalance +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakOperator +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalSlopePairing + +namespace OAI + +/-! Classical Jordan sources give the exact two differentiated pencil test equations. -/ + +open Set MeasureTheory +open scoped SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedSource_first_test (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (ha : s.scale i=radialShootingA n) (lam : ℂ) (f g f₀ g₀ : ℝ → ℂ) + (hf₀ : Continuous f₀) (hg₀ : Continuous g₀) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeSourcePair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g f₀ g₀) + (u : SpectralHarmonicPair ell R) + (huf : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) + (hug : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) + (hudf : spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) + (_hudg : spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) + (u₀ : SpectralHarmonicPair ell R) + (huf₀ : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u₀.fst r=f₀ r) + (hug₀ : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u₀.snd r=g₀ r) + (B B' : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hb : (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)=B (f R,g R)+B' (f₀ R,g₀ R)) (φ : 𝓢(ℝ,ℂ)) : + star (s.penaltyComplexForm ell i u (spectralFirstTest ell R φ))= + inner ℂ (spectralFirstTest ell R φ) + (radialMatchedWeakOperator n ell z hX hz R hR lam B + (spectralHarmonicObservation ell R hR u)+ + spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R (s.weight i)) B' + (spectralHarmonicObservation ell R hR u₀)) := by + let w := spectralContinuousCoefficient R (radialMatchedMassFunction n z) + (radialMatchedMassFunction_continuous n z hX hz) + let a := spectralContinuousCoefficient R (radialMatchedTransportFunction n z) + (radialMatchedTransportFunction_continuous n z hX hz) + have hb₁ := congrArg Prod.fst hb + change spectralGaugeFirstFlux _ _ _ _ _=(B (f R,g R)).1+(B' (f₀ R,g₀ R)).1 at hb₁ + rw [s.penaltyComplexForm_first_classical ell i hR u f huf hudf φ] + change _ = inner ℂ (spectralFirstTest ell R φ) + (spectralLowerOrderOperator ell R hR (spectralRadialWeightMultiplier R w) + (spectralRadialWeightMultiplier R a) ((6-2*radialShootingA n : ℝ) : ℂ) lam B + (spectralHarmonicObservation ell R hR u)+ + spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R (s.weight i)) B' + (spectralHarmonicObservation ell R hR u₀)) + rw [inner_add_right (𝕜 := ℂ) (E := SpectralHarmonicPair ell R),spectralLowerOrder_first_classical ell R hR w a _ lam B u f g huf hug φ, + spectralLowerOrderSlope_first_classical ell R hR (s.weight i) B' u₀ f₀ g₀ huf₀ hug₀ φ, + hw,hp,ha] + have ht := (radialMatchedSource_balance n z hX hz R hR + (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g f₀ g₀ hf₀ hg₀ hf hg he φ).1 + rw [hb₁] at ht + have hw' : w.density=radialMatchedMassFunction n z := rfl + have ha' : a.density=radialMatchedTransportFunction n z := rfl + rw [hw',ha'] + linear_combination ht + +theorem radialMatchedSource_second_test (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (_hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (_ha : s.scale i=radialShootingA n) (lam : ℂ) (f g f₀ g₀ : ℝ → ℂ) + (hf₀ : Continuous f₀) (hg₀ : Continuous g₀) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeSourcePair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g f₀ g₀) + (u : SpectralHarmonicPair ell R) + (huf : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) + (hug : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) + (_hudf : spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) + (hudg : spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) + (u₀ : SpectralHarmonicPair ell R) + (huf₀ : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u₀.fst r=f₀ r) + (hug₀ : ∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u₀.snd r=g₀ r) + (B B' : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hb : (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)=B (f R,g R)+B' (f₀ R,g₀ R)) (φ : 𝓢(ℝ,ℂ)) : + star (s.penaltyComplexForm ell i u (spectralSecondTest ell R φ))= + inner ℂ (spectralSecondTest ell R φ) + (radialMatchedWeakOperator n ell z hX hz R hR lam B + (spectralHarmonicObservation ell R hR u)+ + spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R (s.weight i)) B' + (spectralHarmonicObservation ell R hR u₀)) := by + let w := spectralContinuousCoefficient R (radialMatchedMassFunction n z) + (radialMatchedMassFunction_continuous n z hX hz) + let a := spectralContinuousCoefficient R (radialMatchedTransportFunction n z) + (radialMatchedTransportFunction_continuous n z hX hz) + have hb₂ := congrArg Prod.snd hb + change spectralGaugeSecondFlux _ _ _ _ _=(B (f R,g R)).2+(B' (f₀ R,g₀ R)).2 at hb₂ + rw [s.penaltyComplexForm_second_classical ell i hR u g hug hudg φ] + change _ = inner ℂ (spectralSecondTest ell R φ) + (spectralLowerOrderOperator ell R hR (spectralRadialWeightMultiplier R w) + (spectralRadialWeightMultiplier R a) ((6-2*radialShootingA n : ℝ) : ℂ) lam B + (spectralHarmonicObservation ell R hR u)+ + spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R (s.weight i)) B' + (spectralHarmonicObservation ell R hR u₀)) + rw [inner_add_right (𝕜 := ℂ) (E := SpectralHarmonicPair ell R),spectralLowerOrder_second_classical ell R hR w a _ lam B u f g huf hug φ, + spectralLowerOrderSlope_second_classical ell R hR (s.weight i) B' u₀ f₀ g₀ huf₀ hug₀ φ,hw] + have ht := (radialMatchedSource_balance n z hX hz R hR + (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam f g f₀ g₀ hf₀ hg₀ hf hg he φ).2 + rw [hb₂] at ht + have hw' : w.density=radialMatchedMassFunction n z := rfl + have ha' : a.density=radialMatchedTransportFunction n z := rfl + rw [hw',ha'] + linear_combination ht + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCommonOrder.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCommonOrder.lean new file mode 100644 index 0000000000000000000000000000000000000000..a75d07e7dabd5ec41f9c0235636be439eef8aca7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCommonOrder.lean @@ -0,0 +1,87 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPrescribedGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedEnergyObservation + +namespace OAI + +/-! # One Sobolev order for the spectral and expanding-torus energy estimates -/ + +open Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem radialMatched_exists_common_order (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let qt : Radius → FourierL2 := fun L => schwartzTorusSample a (N + 1 : ℕ) L.1 + ha1 hk L.2 (radianFourierKernel (cutoffProfileSchwartz L.1 (by linarith [L.2]) + χ hχ (radialMatchedCartesian n z) (radialMatchedCartesian_contDiff n z hX hz))) + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = + radialMatchedCartesian n z x) ∧ + HasSymmetryContourGenerator + (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) ∧ + (∃ Q : ℝ, 0 ≤ Q ∧ ∀ L, ‖qt L‖ ≤ Q) ∧ + ∃ c : ℝ, 0 < c ∧ ∃ R : ℕ, ∃ C : ℝ, 0 ≤ C ∧ + ∀ (L : Radius), (R : ℝ) ≤ L.1 → ∀ f : FourierL2, + -a * ‖expandingLowEnergy a (N + 1 : ℕ) L.1 L.2 f‖ ^ 2 + + (6 - 2 * a - (N + 1 : ℕ)) * ‖expandingHighEnergy a (N + 1 : ℕ) L.1 L.2 f‖ ^ 2 + + 2 * inner ℝ f (expandingLinearizedPotential a (N + 1 : ℕ) L.1 ha ha1 hk L.2 m (qt L) f) ≤ + -c * ‖f‖ ^ 2 + C * ‖expandingPhysicalBall a (N + 1 : ℕ) L.1 R ha ha1 hk L.2 f‖ ^ 2 := by + filter_upwards [radialMatched_symmetry_generator_of_gap hRou] with n hgen + intro z hX hz χ hχ hχzero hχone + let a := radialShootingA n + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let m := n + radialInnerShootingThreshold + have hm : 0 < m := radialShootingInner_power_pos n (profileMatchingParameter z) + obtain ⟨P, hP, hPb⟩ := radialMatchedCutoff_pointwise_bound n z hX hz χ hχ hχzero m + let D := 2 * (m : ℝ) + 1 + have hD : 0 ≤ D := by dsimp [D]; positivity + obtain ⟨N, hN⟩ := exists_nat_gt (max 10 (6 - 2 * a + 2 * (D * max P 1))) + have hk10 : 10 < ((N + 1 : ℕ) : ℝ) := by + have h := (le_max_left (10 : ℝ) _).trans_lt hN + exact h.trans (by exact_mod_cast Nat.lt_succ_self N) + have hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + have hlarge : 6 - 2 * a + 2 * (D * max P 1) < ((N + 1 : ℕ) : ℝ) := + ((le_max_right (10 : ℝ) _).trans_lt hN).trans (by exact_mod_cast Nat.lt_succ_self N) + have hgap : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - 2 * (D * P) := by + have h := mul_le_mul_of_nonneg_left (le_max_left P 1) hD + linarith + have hgap1 : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - 2 * D := by + have h := mul_le_mul_of_nonneg_left (le_max_right P 1) hD + linarith + let qt : Radius → FourierL2 := fun L => schwartzTorusSample a (N + 1 : ℕ) L.1 + ha1 hk L.2 (radianFourierKernel (cutoffProfileSchwartz L.1 (by linarith [L.2]) + χ hχ (radialMatchedCartesian n z) (radialMatchedCartesian_contDiff n z hX hz))) + obtain ⟨q, hq⟩ := radialMatchedCartesian_homogeneous n z hX hz + ((N + 1 : ℕ) : ℝ) ha ha1 hk + have hg := hgen z hX hz N hk q hq hgap1 + obtain ⟨Q, hQ, hQb⟩ := radialMatchedCutoff_sampling_bound n z hX hz (N + 1 : ℕ) hk χ hχ hχzero + have hcompact (L : ℕ → Radius) (hL : Tendsto (fun j => (L j).1) atTop atTop) : + ExpandingCompactApproximation a (N + 1 : ℕ) ha1 hk + (fun j => (L j).1) (fun j => (L j).2) (fun j => qt (L j)) := + radialMatchedCutoff_compactApproximation n z hX hz (N + 1 : ℕ) hk χ hχ hχzero hχone + (fun j => (L j).1) (fun j => (L j).2) hL + obtain ⟨c, hc, R, C, hC, hb⟩ := exists_expandingEnergy_observation a Q N ha ha1 hk hQ qt + (fun L => hQb L.1 L.2) hcompact m hm P hP (fun L x => hPb _ hk L.1 L.2 x) hgap + exact ⟨N, hk10, q, hq, hg, ⟨Q, hQ, fun L => hQb L.1 L.2⟩, c, hc, R, C, hC, hb⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCompactExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCompactExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..75349c8f8c526654952c65b431931001538b972a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCompactExclusion.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSpectralLocalization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchingParameterLimit +import Mathlib.Order.Filter.AtTopBot.CountablyGenerated + +namespace OAI + +/-! Compact subsets disjoint from the free outgoing zeros eventually contain +no actual radial eigenvalues. The matching equations determine the limiting +profile internally. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedSpectralMode_limit_zero_of_matching + (ell N : ℕ) (hN : 7 ≤ N) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (lam : ℕ → ℂ) (lam₀ : ℂ) (hlam : Tendsto lam atTop (𝓝 lam₀)) + (hhalf : ∀ i, -(1/32 : ℝ)≤(lam i).re) + (mode : ∀ i, RadialSpectralMode (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) N + (radialMatchedProfile (s i) (z i)) ((ell : ℂ)*(ell+10)) (lam i)) : + spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z₀)) + ((radialShootingR (profileMatchingParameter z₀))^2/4) lam₀=0 := by + obtain ⟨hz₁,hz₀⟩ := radialMatchingMap_zero_limit s hs.tendsto_atTop z z₀ hz hm + have hhalf₀ : -(1/32 : ℝ)≤lam₀.re := + isClosed_Ici.mem_of_tendsto (Complex.continuous_re.continuousAt.tendsto.comp hlam) + (Eventually.of_forall hhalf) + exact radialMatchedSpectralMode_limit_zero ell N hN s hs z z₀ hz hX hm hz₁ hz₀ + lam lam₀ hlam hhalf₀ hhalf mode + +theorem radialMatchedSpectralMode_compact_exclusion + (ell N : ℕ) (hN : 7 ≤ N) (K : Set ℂ) (hK : IsCompact K) + (hfree : ∀ z₀ : ProfileMatchingBall, z₀.val.1=0 → + diskProfile (profileMatchingParameter z₀)=0 → ∀ lam ∈ K, + -(1/32 : ℝ)≤lam.re → + spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z₀)) + ((radialShootingR (profileMatchingParameter z₀))^2/4) lam≠0) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ lam ∈ K, -(1/32 : ℝ)≤lam.re → + ¬ Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) N + (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam) := by + classical + by_contra h + have hbad : ∃ᶠ n in atTop, ∃ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) ∧ + radialMatchingMap n z=0 ∧ ∃ lam ∈ K, -(1/32 : ℝ)≤lam.re ∧ + Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) N + (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam) := by + apply (not_eventually.mp h).mono + intro n hn + simpa only [not_forall,not_imp,not_not,exists_prop] using hn + obtain ⟨φ,hφ,hbadφ⟩ := exists_seq_forall_of_frequently hbad + choose z hX hm lam hmem hhalf hu using hbadφ + obtain ⟨σ,_hσ,hs⟩ := strictMono_subseq_of_tendsto_atTop hφ + let : CompactSpace K := isCompact_iff_compactSpace.mp hK + let x : ℕ → ProfileMatchingBall × K := fun i => (z (σ i),⟨lam (σ i),hmem (σ i)⟩) + obtain ⟨x₀,τ,hτ,hx⟩ := CompactSpace.tendsto_subseq x + have hz : Tendsto (fun i => z (σ (τ i))) atTop (𝓝 x₀.1) := hx.fst_nhds + have hlam : Tendsto (fun i => lam (σ (τ i))) atTop (𝓝 (x₀.2 : ℂ)) := + continuous_subtype_val.continuousAt.tendsto.comp hx.snd_nhds + have hp := radialMatchingMap_zero_limit (φ ∘ σ ∘ τ) (hs.comp hτ).tendsto_atTop + (fun i => z (σ (τ i))) x₀.1 hz (fun i => hm (σ (τ i))) + have hzero := radialMatchedSpectralMode_limit_zero_of_matching ell N hN + (φ ∘ σ ∘ τ) (hs.comp hτ) (fun i => z (σ (τ i))) x₀.1 hz + (fun i => hX (σ (τ i))) (fun i => hm (σ (τ i))) + (fun i => lam (σ (τ i))) x₀.2 hlam (fun i => hhalf (σ (τ i))) + (fun i => Classical.choice (hu (σ (τ i)))) + exact hfree x₀.1 hp.1 hp.2 x₀.2 x₀.2.property + (isClosed_Ici.mem_of_tendsto (Complex.continuous_re.continuousAt.tendsto.comp hlam) + (Eventually.of_forall fun i => hhalf (σ (τ i)))) hzero + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCompactJointLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCompactJointLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..307a3d8bcdf2d9fa2e688815de162e02187465b1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCompactJointLimit.lean @@ -0,0 +1,43 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPencilJointLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilJointLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFluxSmoothness + +namespace OAI + +/-! Joint norm convergence for the actual observed compact pencil. -/ + +open Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance compactJointNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedPencil_joint_tendsto (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (R : ℝ) (hLR : radialShootingR (profileMatchingParameter z₀) B p.1 p.2) (atTop ×ˢ 𝓝 ζ₀) (𝓝 B₀)) : + let hL := radialMatchedCore_radius_pos z₀ + let hR := hL.trans hLR + Tendsto (fun p : ℕ × ℂ => F.compactPencil ell hR p.1 + (radialMatchedWeakOperator (s p.1) ell (z p.1) (hX p.1) (hm p.1) + R hR p.2 (B p.1 p.2))) (atTop ×ˢ 𝓝 ζ₀) + (𝓝 (F.limitPencil ell hL hLR (radialMatchedLimitWeakOperator ell z₀ + (radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm) R hR ζ₀ B₀))) := by + let hL := radialMatchedCore_radius_pos z₀ + let hR := hL.trans hLR + have hK := radialMatchedWeakOperator_joint_tendsto ell s hs z z₀ hz hX hm R hR ζ₀ B B₀ hB + exact F.compactPencil_joint_tendsto ell hL hLR ζ₀ _ _ hK + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousLinearStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousLinearStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..45d4a12ae4df2710950889c5115aa9fb64feb461 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousLinearStep.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedStableTransfer +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffContinuousDiagonalStep + +namespace OAI + +/-! # Continuous linear stable-graph data for the constructed matched profile -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousComplexLinearizedStep homogeneousStableCoordinates + diagonalRealCoordinates cutoffProfileEndpoint HasContinuousFiniteDiagonalTorusLinearSteps + +theorem radialMatched_exists_continuous_linear_step (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = Qp x) ∧ + ∃ P : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem P ∧ ∃ hfin : FiniteDimensional ℂ P.range, + letI := hfin + ∃ Q : ℝ, ∃ hQ : 0 ≤ Q, + ∃ hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a (N + 1 : ℕ) ha1 hk χ hχ Qp hQp L‖ ≤ Q, + HasContinuousFiniteDiagonalTorusLinearSteps + (homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P) + (cutoffProfileEndpoint a b (N + 1 : ℕ) ha ha1 hk m χ hχ Qp hQp Q hQ hqb) := by + filter_upwards [radialMatched_exists_stable_transfer hRou] with n hn + intro z hX hz χ hχ hχzero hχone + obtain ⟨N, hk10, q, hq, P, hP, hfin, hcomm, hgen, Q, hQ, hqb, hstable⟩ := + hn z hX hz χ hχ hχzero hχone + obtain ⟨G, hG, hspec, hspan⟩ := hgen + let : FiniteDimensional ℂ P.range := hfin + refine ⟨N, hk10, q, hq, P, hP, hfin, Q, hQ, hqb, ?_⟩ + apply cutoffProfile_continuous_diagonal_steps _ _ _ _ _ hk10 _ χ hχ hχzero hχone + _ _ q hq Q hQ hqb P hcomm G hG hspan hspec + intro β hβ + obtain ⟨T₀, hT₀, hT⟩ := hstable β hβ + refine ⟨T₀, hT₀, fun T hTT => ?_⟩ + obtain ⟨L₀, hL₀⟩ := hT T T.2 hTT + refine ⟨L₀, fun L hL f hf hz => ?_⟩ + simpa only [cutoffProfileEndpoint_apply] using hL₀ L hL f hf hz + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousNonlinearStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousNonlinearStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..4f4bfe36ffe09c275e876e86c200499e62ecb00a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousNonlinearStep.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffContinuousLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedProfileBounds +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianEquation + +namespace OAI + +/-! # Continuous nonlinear cutoff steps for the actual matched stationary profile -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem radialMatched_continuous_nonlinear_steps (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) (T : ℝ≥0) : + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∀ (Q : ℝ) (hQ : 0 ≤ Q), + ∀ hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp L‖ ≤ Q, + HasContinuousCutoffNonlinearSteps a b k ha ha1 hk (n + radialInnerShootingThreshold) + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp Q hQ hqb T := by + intro a ha ha1 b Qp hQp Q hQ hqb + have hm : (n + radialInnerShootingThreshold : ℝ) ≠ 0 := by + exact_mod_cast (radialShootingInner_power_pos n (profileMatchingParameter z)).ne' + have ham : 2 * a * ((n + radialInnerShootingThreshold : ℕ) : ℝ) = 1 := by + dsimp [a, radialShootingA] + push_cast + field_simp + obtain ⟨N, hN⟩ := exists_cutoffContinuousNonlinear_steps_order a b k ha ha1 hk + (n + radialInnerShootingThreshold) ham χ hχ hχone hχzero T + obtain ⟨B, hB, hb⟩ := radialMatchedCartesian_finite_symbol n z hX hz N + exact hN Qp hQp B hB hb (radialMatchedCartesian_stationary n z hX hz) Q hQ hqb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..8256e2f9c646cc20706d9cf953c2aa6e232018dd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedContinuousStableOrbit.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedContinuousLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedContinuousNonlinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.ContinuousDiagonalStableOrbit + +namespace OAI + +/-! # The constructed matched profile has a continuous global stable graph -/ + +open Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] homogeneousStableCoordinates + HasContinuousFiniteDiagonalCutoffStableOrbits + +theorem radialMatched_exists_continuous_stable_orbits (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = Qp x) ∧ + ∃ P : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem P ∧ ∃ hfin : FiniteDimensional ℂ P.range, + letI := hfin + HasContinuousFiniteDiagonalCutoffStableOrbits a b (N + 1 : ℕ) ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp + (homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P) := by + filter_upwards [radialMatched_exists_continuous_linear_step hRou] with n hn + intro z hX hz χ hχ hχzero hχone + have hc0 : ∀ y : E, 1 ≤ ‖y‖ → (χ.postcompCLM Complex.ofRealCLM) y = 0 := by + intro y hy + simp only [SchwartzMap.postcompCLM_apply, hχzero y hy, map_zero] + have hc1 : ∀ y : E, ‖y‖ ≤ 1 / 2 → (χ.postcompCLM Complex.ofRealCLM) y = 1 := by + intro y hy + simp only [SchwartzMap.postcompCLM_apply, hχone y hy, Complex.ofRealCLM_apply, Complex.ofReal_one] + obtain ⟨N, hk10, q, hq, P, hP, hfin, Q, hQ, hqb, hlinear⟩ := hn z hX hz + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) hc0 hc1 + let : FiniteDimensional ℂ P.range := hfin + refine ⟨N, hk10, q, hq, P, hP, hfin, ?_⟩ + apply continuousCutoffStableOrbits_of_linear_steps _ _ _ _ _ _ _ _ _ _ _ Q hQ hqb _ hlinear + exact fun T => radialMatched_continuous_nonlinear_steps n z hX hz _ _ χ hχ + (fun y hy => hχone y hy.le) hχzero T Q hQ hqb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCoordinateStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCoordinateStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..f14fabe61204875e160c203a6dd76188970308ca --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCoordinateStableOrbit.lean @@ -0,0 +1,107 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCoordinateStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedStableTransferContour +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPhysicalContour +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalDiagonalCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffCoordinateLinearData +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalCoordinateStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedContinuousNonlinearStep + +namespace OAI + +/-! # The actual global stable graph and the fourteen physical coordinates -/ + +open Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] homogeneousStableCoordinates + HasContinuousCoordinateStableOrbits HasContinuousDiagonalCoordinateOrbits + HasPhysicalDiagonalFrame HasPhysicalCoordinateFrame HasContinuousDiagonalCoordinateData + homogeneousPhysicalCLM homogeneousComplexLinearizedStep cutoffProfileEndpoint + HasPhysicalCoordinateStableOrbits + +theorem radialMatched_exists_coordinate_stable_orbits (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = Qp x) ∧ + ∃ P : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem P ∧ ∃ hfin : FiniteDimensional ℂ P.range, + letI := hfin + HasPhysicalCoordinateStableOrbits a b (N + 1 : ℕ) ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp + (homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P) := by + filter_upwards [radialMatched_exists_stable_transfer_with_contour hRou, + radialMatched_contour_physical_frame hRou] with n hn hphysical + intro z hX hz χ hχ hχzero hχone + let χc := χ.postcompCLM Complex.ofRealCLM + have hχc := hasCompactSupport_complexCutoff χ hχ + have hc0 : ∀ y : E, 1 ≤ ‖y‖ → χc y = 0 := by + intro y hy + simp only [χc, SchwartzMap.postcompCLM_apply, hχzero y hy, map_zero] + have hc1 : ∀ y : E, ‖y‖ ≤ 1 / 2 → χc y = 1 := by + intro y hy + simp only [χc, SchwartzMap.postcompCLM_apply, hχone y hy, + Complex.ofRealCLM_apply, Complex.ofReal_one] + obtain ⟨N, hk10, q, hq, P, hP, hfin, hcomm, hgen, D, δ, hδ, hdecay, + Q, hQ, hqb, hkernel⟩ := hn z hX hz χc hχc hc0 hc1 + let : FiniteDimensional ℂ P.range := hfin + let k : ℝ := (N + 1 : ℕ) + have hk : 8 < k := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let Qp := radialMatchedCartesian n z + have hQp := radialMatchedCartesian_contDiff n z hX hz + obtain ⟨G, hG, hspec, hspan⟩ := hgen + have hlinear := cutoffProfile_continuous_coordinate_steps a b k ha ha1 hk10 m + χc hχc hc0 hc1 Qp hQp q hq Q hQ hqb P hcomm G hG hspan hspec + have hlin : HasContinuousDiagonalCoordinateData a k ha ha1 hk + (homogeneousStableCoordinates a k ha ha1 hk P) G hspan hspec χc + (cutoffProfileEndpoint a b k ha ha1 hk m χc hχc Qp hQp Q hQ hqb) := by + apply hlinear + intro β hβ + obtain ⟨T₀, hT₀, hT⟩ := hkernel β hβ + refine ⟨T₀, hT₀, fun T hTT => ?_⟩ + obtain ⟨L₀, hL₀⟩ := hT T T.2 hTT + refine ⟨L₀, fun L hL f hf hzero => ?_⟩ + simpa only [cutoffProfileEndpoint_apply] using hL₀ L hL f hf hzero + have horbit := continuousDiagonalCoordinateOrbits_of_linear a b k ha ha1 hk m + χc hχc Qp hQp Q hQ hqb (homogeneousStableCoordinates a k ha ha1 hk P) G hspan hspec hlin + (fun T => radialMatched_continuous_nonlinear_steps n z hX hz k hk χ hχ + (fun y hy => hχone y hy.le) hχzero T Q hQ hqb) + obtain ⟨F, hF, hphys, hFspan⟩ := hphysical z hX hz (N + 1) ha ha1 hk q hq + P hP hcomm hfin ⟨G, hG, hspec, hspan⟩ D δ hδ hdecay + have hfix := radialMatched_projection_fixes_physical_frame n z hX hz ((N + 1 : ℕ) : ℝ) + ha ha1 hk q hq P hP hcomm D δ hδ hdecay F hphys + have hrange := homogeneous_projection_real_frame_range a b k ha ha1 hk m q P hP hcomm + ⟨G, hG, hspec, hspan⟩ D δ hδ hdecay F hFspan + have hB := physicalDiagonal_coordinate_equiv a k ha ha1 hk P G hspan hspec + F hF hfix hrange + refine ⟨N, hk10, q, hq, P, hP, hfin, ?_⟩ + unfold HasPhysicalCoordinateStableOrbits + exact ⟨G, hspan, hspec, F, hF, hphys, hB, horbit⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCoreBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCoreBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..3ce2677bb53f946015ce95afd7c3f0377b387667 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCoreBoundary.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSecondCorePower +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightExt +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakOperator + +namespace OAI + +/-! The actual matched-profile limiting pencil satisfies the regular core interface conditions. -/ + +open Set Filter Topology +open scoped SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedFreeMass_core (z : ProfileMatchingBall) (r : ℝ) + (hr : r ≤ radialShootingR (profileMatchingParameter z)) : + radialMatchedFreeMassFunction z r=1 := by + have hb := (radialShooting_geometry (profileMatchingParameter z)).2.2.2.1 + simp only [radialMatchedFreeMassFunction,radialMatchedFreeProfile, + ite_eq_left (hr.trans hb),ite_eq_left hr,norm_one,one_pow] + +theorem radialMatchedFreeMass_pos (z : ProfileMatchingBall) (r : ℝ) (hr : 0 ≤ r) : + 0 < radialMatchedFreeMassFunction z r := + sq_pos_of_pos (norm_pos_iff.mpr + (radialMatchedFreeProfile_ne_zero (fun n => n) strictMono_id (fun _ => z) z + tendsto_const_nhds r hr)) + +theorem radialMatchedLimit_kernel_core (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) (v : SpectralRadialObservationSpace R) + (hv : s.limitPencil ell + (lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1) + hLR (radialMatchedLimitWeakOperator ell z hc R + ((lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1).trans hLR) + ζ B) v=v) : + let hR : 0 < R := + (lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1).trans hLR + ∃ u : SpectralHarmonicPair ell R, + spectralHarmonicObservation ell R hR u=v ∧ + spectralHarmonicRepresentative ell R hR u.fst (radialShootingR (profileMatchingParameter z))=0 ∧ + ContinuousOn (deriv (spectralHarmonicRepresentative ell R hR u.snd)) (Ioo 0 R) ∧ + ∃ C : ℂ, + (∀ x ∈ Ioc 0 (radialShootingR (profileMatchingParameter z)), + spectralHarmonicRepresentative ell R hR u.snd x=C*(x : ℂ)^ell) ∧ + deriv (spectralHarmonicRepresentative ell R hR u.snd) + (radialShootingR (profileMatchingParameter z))= + (ell : ℂ)*spectralHarmonicRepresentative ell R hR u.snd + (radialShootingR (profileMatchingParameter z))/ + (radialShootingR (profileMatchingParameter z) : ℂ) := by + dsimp only + let L := radialShootingR (profileMatchingParameter z) + have hL : 0 < L := lt_of_lt_of_le (by norm_num) + (radialShooting_geometry (profileMatchingParameter z)).2.1 + let hR := hL.trans hLR + let a := spectralContinuousCoefficient R (radialMatchedFreeTransportFunction z) + (continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc))) + have hQ := spectralRadialWeightMultiplier_eq_of_density R s.limitWeight + (spectralContinuousCoefficient R (radialMatchedFreeMassFunction z) hc) hmass + obtain ⟨u,hu,hobs,hweak⟩ := (s.limitPencil_complex_variational ell hL hLR _ v).mp hv + have he : ∀ f : 𝓢(ℝ,ℂ), + spectralHarmonicPairComplexForm ell R s.limitWeight u (spectralSecondTest ell R f)= + inner ℂ (spectralLowerOrderOperator ell R hR (spectralRadialWeightMultiplier R s.limitWeight) + (spectralRadialWeightMultiplier R a) 6 ζ B (spectralHarmonicObservation ell R hR u)) + (spectralSecondTest ell R f) := by + intro f + have ht := hweak ⟨spectralSecondTest ell R f,spectralSecondTest_core ell R L f⟩ + simpa only [hobs,hQ,radialMatchedLimitWeakOperator,a] using ht + have hw : ContinuousOn s.limitWeight.density (Ioo 0 R) := by rw [hmass]; exact hc.continuousOn + have ha : ContinuousOn a.density (Ioo 0 R) := + (continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc))).continuousOn + have hp (x : ℝ) (hx : x ∈ Ioo 0 R) : 0 < s.limitWeight.density x := by + rw [hmass] + exact radialMatchedFreeMass_pos z x hx.1.le + obtain ⟨C,hC,hderiv⟩ := spectralSecond_core_power ell R L hR hL hLR s.limitWeight a u + 6 ζ B hu hw ha hp (fun x hx => by rw [hmass]; exact radialMatchedFreeMass_core z x hx.2) he + exact ⟨u,hobs,spectralHarmonicCore_representative_zero ell R L hR hLR.le u hu L ⟨hL,le_rfl⟩, + (spectralSecond_classical ell R hR s.limitWeight a u 6 ζ B hw ha hp he).2.1,C,hC,hderiv⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCrossFluxLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCrossFluxLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..f38d296bf074bfea338b89963799f8364d244fcf --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCrossFluxLimit.lean @@ -0,0 +1,83 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformCrossBound +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCrossFluxLimit + +namespace OAI + +/-! The actual physical total flux vanishes on the square-root frequency +scale once the normalized gauge energy and boundary pairing are bounded. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +variable (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + +include s hs z hz hX hm + + + +theorem radialMatched_sqrt_flux_limit (R M L : ℝ) (hR : 0 < R) + (lam : ℕ → ℂ) (ell : ℕ → ℕ) + (hhalf : ∀ i, -(1/32 : ℝ) ≤ (lam i).re) (hupper : ∀ i, (lam i).re ≤ 4) + (hw : Tendsto (fun i => (lam i).im) atTop atTop) + (F G f g : ℕ → ℝ → ℂ) + (hF : ∀ i, ContDiff ℝ 2 (F i)) (hG : ∀ i, ContDiff ℝ 2 (G i)) + (hf : ∀ i, ContDiff ℝ 2 (f i)) (hg : ∀ i, ContDiff ℝ 2 (g i)) + (he : ∀ i, IsHarmonicRadialEigenpair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) (((ell i : ℝ)*(ell i+10) : ℝ) : ℂ) (lam i) (F i) (G i)) + (hpair : ∀ i r, (radialMatchedEvenProfile (s i) (z i) r*(f i r+Complex.I*g i r), + star (radialMatchedEvenProfile (s i) (z i) r)*(f i r-Complex.I*g i r)) = (F i r,G i r)) + (henergy : ∀ᶠ i in atTop, (∫ r in (0 : ℝ)..R, + r^11*radialMatchedMassFunction (s i) (z i) r*(‖f i r‖^2+‖deriv (g i) r‖^2)+ + ((ell i : ℝ)*(ell i+10))*r^9*radialMatchedMassFunction (s i) (z i) r*‖g i r‖^2) ≤ M) + (hboundary : ∀ᶠ i in atTop, ‖star (g i R)*spectralGaugeSecondFlux + (radialMatchedMassFunction (s i) (z i)) (radialMatchedTransportFunction (s i) (z i)) (f i) (g i) R‖ ≤ L) : + Tendsto (fun i => Real.sqrt (lam i).im* + (spectralScalarFlux (spectralPhysicalLiouvillePair (F i) (G i) R).1+ + spectralScalarFlux (spectralPhysicalLiouvillePair (F i) (G i) R).2)) atTop (𝓝 0) := by + have heg i := radialMatchedGauge_equation (s i) (z i) (hX i) (hm i) _ (lam i) + (F i) (G i) (f i) (g i) (hf i) (hg i) (hpair i) (he i) + obtain ⟨K,hK,hcross⟩ := radialMatchedGauge_uniform_cross_bound s hs z z₀ hz hX hm + R M L hR lam ell f g hf hg heg henergy hboundary + let cross := fun i => ∫ r in (0 : ℝ)..R, (r : ℂ)^11* + (radialMatchedMassFunction (s i) (z i) r : ℂ)*star (g i r)*f i r + apply spectralCross_total_flux_limit (fun i => (lam i).im) + (fun i => radialShootingA (s i)+(lam i).re-3) _ cross K 8 (by norm_num) hw + · filter_upwards [hcross] with i hi + exact (mul_le_mul_of_nonneg_right (le_abs_self _) (norm_nonneg _)).trans hi + · apply Eventually.of_forall + intro i + have ha := radialShootingA_bounds (s i) (profileMatchingParameter (z i)) + exact abs_le.mpr ⟨by linarith [hhalf i],by linarith [hupper i]⟩ + · intro i + have he' : IsHarmonicRadialEigenpair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedEvenProfile (s i) (z i)) (((ell i : ℝ)*(ell i+10) : ℝ) : ℂ) + (lam i) (F i) (G i) := by + intro r hr + simpa only [radialMatchedEvenProfile_nonneg (s i) (z i) r hr.le] using he i r hr + have hi := spectralPhysicalLiouvillePair_gauge_flux_integral _ _ _ _ _ (lam i) + (F i) (G i) (f i) (g i) (hF i) (hG i) he' + (radialMatchedEvenProfile_contDiff (s i) (z i) (hX i) (hm i)).continuous + (hf i).continuous (hg i).continuous + (fun r => ⟨(congrArg Prod.fst (hpair i r)).symm,(congrArg Prod.snd (hpair i r)).symm⟩) R hR + have hcrossEq : (∫ r in (0 : ℝ)..R, (r : ℂ)^11* + ((‖radialMatchedEvenProfile (s i) (z i) r‖^2 : ℝ) : ℂ)*star (g i r)*f i r) = cross i := by + apply intervalIntegral.integral_congr + intro r hr + rw [uIcc_of_le hR.le] at hr + dsimp only + rw [radialMatchedEvenProfile_nonneg (s i) (z i) r hr.1] + rfl + rw [hcrossEq] at hi + exact hi + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCutoffCompact.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCutoffCompact.lean new file mode 100644 index 0000000000000000000000000000000000000000..d69b98358717fb8b726acc962f3f6f4f5e46c432 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCutoffCompact.lean @@ -0,0 +1,36 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileCompactApproximation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedProfileBounds + +namespace OAI + +/-! # Compact coefficient approximation for the constructed matched profile -/ + +open Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatchedCutoff_compactApproximation (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) + (L : ℕ → ℝ) (hL : ∀ j, 1 ≤ L j) (hLinf : Tendsto L atTop atTop) : + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let hQ := radialMatchedCartesian_contDiff n z hX hz + ExpandingCompactApproximation (radialShootingA n) k ha1 hk L hL (fun j => + schwartzTorusSample (radialShootingA n) k (L j) ha1 hk (hL j) (radianFourierKernel + (cutoffProfileSchwartz (L j) (by linarith [hL j]) χ hχ (radialMatchedCartesian n z) hQ))) := by + intro ha1 hQ + exact cutoffProfile_compactApproximation (radialShootingA n) k + (radialShootingA_bounds n (profileMatchingParameter z)).1 ha1 hk χ hχ hχzero hχone + (radialMatchedCartesian n z) hQ (radialMatchedCartesian_finite_symbol n z hX hz) L hL hLinf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCutoffPointwise.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCutoffPointwise.lean new file mode 100644 index 0000000000000000000000000000000000000000..d37283a24251037cf815651ee7af2899bce86126 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedCutoffPointwise.lean @@ -0,0 +1,52 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffPointwiseBound +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialProfileDerivativeBounds +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedProfileBounds + +namespace OAI + +/-! # The matched profile has one cutoff amplitude bound for every Sobolev order -/ + +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "T" => UnitAddTorus (Fin 12) + +theorem radialMatchedCartesian_bounded (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) : + ∃ M : ℝ, 0 ≤ M ∧ ∀ y : E, ‖radialMatchedCartesian n z y‖ ≤ M := by + obtain ⟨M, hM, hb⟩ := radialMatchedEvenProfile_bounded n z hX hz + refine ⟨M, hM, fun y => ?_⟩ + have he : radialMatchedEvenProfile n z ‖y‖ = radialMatchedCartesian n z y := by + rw [radialMatchedEvenProfile_nonneg n z _ (norm_nonneg y)] + rfl + simpa only [he] using hb ‖y‖ + +theorem radialMatchedCutoff_pointwise_bound (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) (m : ℕ) : + ∃ P : ℝ, 0 ≤ P ∧ ∀ (k : ℝ) (hk : 8 < k) (L : ℝ) (hL : 1 ≤ L) (x : T), + ‖expandingUnitTorusFunction (radialShootingA n) k L + (schwartzTorusSample (radialShootingA n) k L + (radialShootingA_bounds n (profileMatchingParameter z)).2 hk hL + (radianFourierKernel (cutoffProfileSchwartz L (by linarith) χ hχ + (radialMatchedCartesian n z) (radialMatchedCartesian_contDiff n z hX hz)))) x‖ ^ (2 * m) ≤ P := by + obtain ⟨M, hM, hMb⟩ := radialMatchedCartesian_bounded n z hX hz + refine ⟨(SchwartzMap.seminorm ℝ 0 0 χ * M) ^ (2 * m), by positivity, ?_⟩ + intro k hk L hL x + apply pow_le_pow_left₀ (norm_nonneg _) _ (2 * m) + exact sampledCutoff_pointwise_bound (radialShootingA n) k L + (radialShootingA_bounds n (profileMatchingParameter z)).1 + (radialShootingA_bounds n (profileMatchingParameter z)).2 hk hL χ hχ hχzero + (radialMatchedCartesian n z) (radialMatchedCartesian_contDiff n z hX hz) M hM hMb x + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedEnergyObservation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedEnergyObservation.lean new file mode 100644 index 0000000000000000000000000000000000000000..2b0667b36e908ef2a91bb72bf87be2397f145304 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedEnergyObservation.lean @@ -0,0 +1,67 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCutoffPointwise +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCutoffCompact +import OAI.MathematicalPhysics.DefocusingNLS.Linear.ExpandingEnergyObservation + +namespace OAI + +/-! # Actual matched profiles satisfy a coercive energy estimate on large tori -/ + +open Filter Topology +open scoped SchwartzMap ContDiff + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem radialMatchedCutoff_energy_observation (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0) + (hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) (m : ℕ) (hm : 0 < m) : + ∃ N : ℕ, ∃ hN : 8 < ((N + 1 : ℕ) : ℝ), + ∃ c : ℝ, 0 < c ∧ ∃ R : ℕ, ∃ C : ℝ, 0 ≤ C ∧ + ∀ (L : Radius), (R : ℝ) ≤ L.1 → ∀ f : FourierL2, + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let q := schwartzTorusSample a (N + 1 : ℕ) L.1 ha1 hN L.2 (radianFourierKernel + (cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ + (radialMatchedCartesian n z) (radialMatchedCartesian_contDiff n z hX hz))); + -a * ‖expandingLowEnergy a (N + 1 : ℕ) L.1 L.2 f‖ ^ 2 + + (6 - 2 * a - (N + 1 : ℕ)) * ‖expandingHighEnergy a (N + 1 : ℕ) L.1 L.2 f‖ ^ 2 + + 2 * inner ℝ f (expandingLinearizedPotential a (N + 1 : ℕ) L.1 ha ha1 hN L.2 m q f) ≤ + -c * ‖f‖ ^ 2 + C * ‖expandingPhysicalBall a (N + 1 : ℕ) L.1 R ha ha1 hN L.2 f‖ ^ 2 := by + let a := radialShootingA n + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + obtain ⟨P, hP, hPb⟩ := radialMatchedCutoff_pointwise_bound n z hX hz χ hχ hχzero m + obtain ⟨N, hlarge⟩ := exists_nat_gt (max 8 (6 - 2 * a + 2 * ((2 * (m : ℝ) + 1) * P))) + have hN : 8 < ((N + 1 : ℕ) : ℝ) := by + have he := (le_max_left (8 : ℝ) _).trans_lt hlarge + push_cast + linarith + have hgap : 0 < (N + 1 : ℕ) + 2 * a - 6 - 2 * ((2 * (m : ℝ) + 1) * P) := by + have he := (le_max_right (8 : ℝ) _).trans_lt hlarge + push_cast + linarith + let q : Radius → FourierL2 := fun L => + schwartzTorusSample a (N + 1 : ℕ) L.1 ha1 hN L.2 (radianFourierKernel + (cutoffProfileSchwartz L.1 (by linarith [L.2]) χ hχ + (radialMatchedCartesian n z) (radialMatchedCartesian_contDiff n z hX hz))) + obtain ⟨Q, hQ, hQb⟩ := radialMatchedCutoff_sampling_bound n z hX hz (N + 1 : ℕ) hN χ hχ hχzero + have hcompact (L : ℕ → Radius) (hL : Tendsto (fun j => (L j).1) atTop atTop) : + ExpandingCompactApproximation a (N + 1 : ℕ) ha1 hN + (fun j => (L j).1) (fun j => (L j).2) (fun j => q (L j)) := + radialMatchedCutoff_compactApproximation n z hX hz (N + 1 : ℕ) hN χ hχ hχzero hχone + (fun j => (L j).1) (fun j => (L j).2) hL + obtain ⟨c, hc, R, C, hC, hb⟩ := exists_expandingEnergy_observation a Q N ha ha1 hN hQ q + (fun L => hQb L.1 L.2) hcompact m hm P hP (fun L x => hPb _ hN L.1 L.2 x) hgap + exact ⟨N, hN, c, hc, R, C, hC, hb⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedEvenProfile.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedEvenProfile.lean new file mode 100644 index 0000000000000000000000000000000000000000..647d0526771e1906c57be8a05e7cc8587059b2fd --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedEvenProfile.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianSmooth + +namespace OAI + +/-! A smooth nonvanishing extension of the actual profile to signed radii. -/ + +open Set Filter Topology +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +noncomputable def radialMatchedEvenProfile (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℂ := + radialMatchedCartesian n z (r • (EuclideanSpace.basisFun (Fin 12) ℝ) 0) + +theorem radialMatchedEvenProfile_eq (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : + radialMatchedEvenProfile n z r=radialMatchedProfile n z |r| := by + simp only [radialMatchedEvenProfile,radialMatchedCartesian,norm_smul,Real.norm_eq_abs, + (EuclideanSpace.basisFun (Fin 12) ℝ).norm_eq_one,mul_one] + +theorem radialMatchedEvenProfile_nonneg (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) (hr : 0 ≤ r) : + radialMatchedEvenProfile n z r=radialMatchedProfile n z r := by + rw [radialMatchedEvenProfile_eq,abs_of_nonneg hr] + +theorem radialMatchedEvenProfile_contDiff (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : ContDiff ℝ ∞ (radialMatchedEvenProfile n z) := + (radialMatchedCartesian_contDiff n z hX hz).comp (contDiff_id.smul contDiff_const) + +theorem radialMatchedEvenProfile_ne_zero (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (r : ℝ) : radialMatchedEvenProfile n z r ≠ 0 := by + rw [radialMatchedEvenProfile_eq] + exact radialMatchedProfile_ne_zero n z hX |r| (abs_nonneg r) + +theorem radialMatchedEvenProfile_eventuallyEq (n : ℕ) (z : ProfileMatchingBall) + (r : ℝ) (hr : 0 < r) : + radialMatchedEvenProfile n z =ᶠ[𝓝 r] radialMatchedProfile n z := by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact radialMatchedEvenProfile_nonneg n z t ht.le + +theorem radialMatchedEvenProfile_stationary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + let Q := radialMatchedEvenProfile n z + Complex.I*(deriv (deriv Q) r+11/(r : ℂ)*deriv Q r)- + (r : ℂ)/2*deriv Q r+ + (-(radialShootingA n : ℂ)+Complex.I*(radialShootingB (profileMatchingParameter z) : ℂ))*Q r- + Complex.I*((‖Q r‖^(2*(n+radialInnerShootingThreshold)) : ℝ) : ℂ)*Q r=0 := by + dsimp only + have he := radialMatchedEvenProfile_eventuallyEq n z r hr + have h := radialMatchedProfile_stationary n z hX hz r hr + rw [← he.eq_of_nhds,← he.deriv_eq,← he.deriv.deriv_eq,oddPowerNonlinearity_eq] at h + push_cast at h ⊢ + linear_combination (norm := (ring_nf; simp only [Complex.I_sq]; ring)) Complex.I*h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFluxLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFluxLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..b7835aebd5071d08a698d43271e6bc5a131a6df8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFluxLimit.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeightLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedVelocity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureSmallness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAverageUniform +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCompactTransform + +namespace OAI + +/-! The transport coefficient converges by its mass-average identity, including +the origin; no derivative convergence across the pressure layer is used. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedWeightedFlux_average_nonneg (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hm : radialMatchingMap n z=0) (r : ℝ) (hr : 0 ≤ r) : + radialWeightedFlux (radialMatchedProfile n z) r= + (6-2*radialShootingA n)*(r* + radialAverage (fun t => ‖radialMatchedProfile n z t‖^2) r) := by + rcases hr.eq_or_lt with he | hp + · subst r + have hd := radialMatchedProfile_deriv_eq_inner n z 0 + (show 0 < innerBoundaryRadius by linarith [innerBoundaryRadius_bounds.1]) + rw [radialShootingInner_derivative_zero] at hd + simp [radialWeightedFlux,hd] + · simpa only [Complex.sq_norm,mul_assoc] using + radialMatchedWeightedFlux_average n z hX hm r hp + +theorem radialUniform_const_mul (R : ℝ) (c : ℕ → ℝ) (c₀ : ℝ) + (hc : Tendsto c atTop (𝓝 c₀)) (f : ℕ → ℝ → ℝ) (g : ℝ → ℝ) + (hg : Continuous g) (hf : TendstoUniformlyOn f g atTop (Icc 0 R)) : + TendstoUniformlyOn (fun n r => c n*f n r) (fun r => c₀*g r) atTop (Icc 0 R) := by + let : CompactSpace (Icc (0 : ℝ) R) := isCompact_iff_compactSpace.mp isCompact_Icc + have hd : Tendsto (fun n : ℕ => (n,n)) atTop (atTop ×ˢ atTop) := + tendsto_id.prodMk tendsto_id + have hp : TendstoUniformly (fun n (r : Icc (0 : ℝ) R) => (c n,f n r)) + (fun r : Icc (0 : ℝ) R => (c₀,g r)) atTop := by + intro u hu + exact hd.eventually ((hc.tendstoUniformly_const.prodMk + (tendstoUniformlyOn_iff_restrict.mp hf)) u hu) + have ht := radial_compact_transform_limit + (fun n (r : Icc (0 : ℝ) R) => (c n,f n r)) + (fun r : Icc (0 : ℝ) R => (c₀,g r)) + (continuous_const.prodMk (hg.comp continuous_subtype_val)) hp + (fun p : Icc (0 : ℝ) R × (ℝ × ℝ) => p.2.1*p.2.2) + (fun _ => by fun_prop) + exact tendstoUniformlyOn_iff_restrict.mpr ht + +theorem radialMatchedWeightedFlux_uniform_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (R : ℝ) (hR : 0 ≤ R) : + TendstoUniformlyOn (fun i r => radialWeightedFlux (radialMatchedProfile (s i) (z i)) r) + (fun r => 6*(r*radialAverage (fun t => ‖radialMatchedFreeProfile z₀ t‖^2) r)) + atTop (Icc 0 R) := by + let f := fun i r => ‖radialMatchedProfile (s i) (z i) r‖^2 + let g := fun r => ‖radialMatchedFreeProfile z₀ r‖^2 + have hg : Continuous g := (radialMatchedFreeProfile_continuous s hs z z₀ hz hX hm).norm.pow 2 + have hf : ∀ i, ContinuousOn (f i) (Icc 0 R) := fun i => + ((radialMatchedProfile_differentiable (s i) (z i) (hX i) (hm i)).continuous.norm.pow 2).continuousOn + have havg := radial_derivative_integral_uniform R hR f g hf hg.continuousOn + (radialMatched_mass_uniform_limit s hs z z₀ hz hX hm R) + have hc : Tendsto (fun i => 6-2*radialShootingA (s i)) atTop (𝓝 6) := by + simpa only [Function.comp_def,mul_zero,sub_zero] using + tendsto_const_nhds.sub ((radialShootingA_tendsto_zero.comp hs.tendsto_atTop).const_mul 2) + have ht := radialUniform_const_mul R _ 6 hc _ _ + (continuous_id.mul (continuous_radialAverage g hg)) havg + apply ht.congr + exact Eventually.of_forall (fun i r hr => + (radialMatchedWeightedFlux_average_nonneg (s i) (z i) (hX i) (hm i) r hr.1).symm) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFluxSmoothness.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFluxSmoothness.lean new file mode 100644 index 0000000000000000000000000000000000000000..5a059e01266f21de9d35ccf1a4ce650efb4d422d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFluxSmoothness.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilFluxSystem +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedTransportSmoothness +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCoreBoundary + +namespace OAI + +/-! Actual limiting kernel vectors have smooth flux states on the free far field. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedCore_radius_pos (z : ProfileMatchingBall) : + 0 < radialShootingR (profileMatchingParameter z) := + lt_of_lt_of_le (by norm_num) (radialShooting_geometry (profileMatchingParameter z)).2.1 + +theorem radialMatchedLimit_kernel_smooth (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) (v : SpectralRadialObservationSpace R) + (hv : s.limitPencil ell (radialMatchedCore_radius_pos z) hLR + (radialMatchedLimitWeakOperator ell z hc R ((radialMatchedCore_radius_pos z).trans hLR) ζ B) v=v) : + let hR := (radialMatchedCore_radius_pos z).trans hLR + let a := spectralContinuousCoefficient R (radialMatchedFreeTransportFunction z) + (continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc))) + ∃ u : SpectralHarmonicPair ell R, + u ∈ spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z)) ∧ + spectralHarmonicObservation ell R hR u=v ∧ + (∀ x ∈ Ioo (radialShootingR (profileMatchingParameter z)) R, + HasDerivAt (spectralFluxState ell R hR s.limitWeight a u) + (spectralFluxField ell (s.limitWeight.density x) (a.density x) 6 ζ x + (spectralFluxState ell R hR s.limitWeight a u x)) x) ∧ + ∀ α β : ℝ, innerBoundaryRadius < α → β < R → + ContDiffOn ℝ ∞ (spectralFluxState ell R hR s.limitWeight a u) (Icc α β) := by + dsimp only + let a := spectralContinuousCoefficient R (radialMatchedFreeTransportFunction z) + (continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc))) + have hQ := spectralRadialWeightMultiplier_eq_of_density R s.limitWeight + (spectralContinuousCoefficient R (radialMatchedFreeMassFunction z) hc) hmass + have hw : ContinuousOn s.limitWeight.density (Ioo 0 R) := by rw [hmass]; exact hc.continuousOn + have ha : ContinuousOn a.density (Ioo 0 R) := + (continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc))).continuousOn + have hp (x : ℝ) (hx : x ∈ Ioo 0 R) : 0 < s.limitWeight.density x := by + rw [hmass] + exact radialMatchedFreeMass_pos z x hx.1.le + obtain ⟨u,hu,hobs,hode,hsmooth⟩ := s.limitPencil_flux_system ell + (radialMatchedCore_radius_pos z) hLR a 6 ζ B hw ha hp v (by + simpa only [hQ,radialMatchedLimitWeakOperator,a] using hv) + refine ⟨u,hu,hobs,hode,fun α β hα hβ => ?_⟩ + apply hsmooth α β + ((radialShooting_geometry (profileMatchingParameter z)).2.2.2.1.trans_lt hα) hβ + · rw [hmass] + exact (radialMatchedFreeMass_contDiffOn_exterior z).mono (fun _ hx => hα.trans_le hx.1) + · exact radialMatchedFreeTransport_contDiffOn_annulus z hc α β hα + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeBoundaryAnalytic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeBoundaryAnalytic.lean new file mode 100644 index 0000000000000000000000000000000000000000..11e7c6aad99482feb620c220035a9782daba3dfe --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeBoundaryAnalytic.lean @@ -0,0 +1,38 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSimpleKernel +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeBasisParameter +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeRadiusLog +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeRobinDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFixedGaugeAnalytic + +namespace OAI + +/-! The exact free weak boundary matrix has the expected parameter derivative. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedFreeBoundary_analyticAt (ell : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (hLR : radialShootingR (profileMatchingParameter z) < R) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0) : + AnalyticAt ℂ (radialMatchedFreeBoundary ell z R) lam := by + let β := radialShootingB (profileMatchingParameter z) + have hq (h : ℝ) : -1 < (spectralQ ell h β lam).re := by + rw [spectralQ_re] + linarith [Nat.cast_nonneg (α := ℝ) ell] + have hlog : max 0 (Real.log 4/2) < Real.log R := + spectralFreeRadius_log R ((radialShooting_geometry (profileMatchingParameter z)).2.1.trans hLR.le) + have hM := spectralJetRobin_analyticAt + (fun t => spectralFreePositivePhysical ell β t R) + (fun t => spectralFreeNegativePhysical ell β t R) lam + (spectralFreePositivePhysical_analyticAt ell β lam (hq 1) R hlog.le) + (spectralFreeNegativePhysical_analyticAt ell β lam (hq (-1)) R hlog.le) hdet + exact spectralFluxBoundary_analyticAt R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) _ lam + (spectralGaugeRobin_analyticAt _ _ _ lam hM) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeBoundaryDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeBoundaryDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..625060ed71b95276eb6c75300348805e5e28cda2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeBoundaryDerivative.lean @@ -0,0 +1,44 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSimpleKernel +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeBasisParameter +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeRadiusLog +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeRobinDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxBoundaryDerivative + +namespace OAI + +/-! The exact free weak boundary matrix has the expected parameter derivative. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedFreeBoundary_hasDerivAt (ell : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (hLR : radialShootingR (profileMatchingParameter z) < R) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0) : + let Q := radialShootingFreeExterior z + let M := fun t => spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) t R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) t R) + HasDerivAt (radialMatchedFreeBoundary ell z R) + (spectralFluxBoundarySlope R (radialMatchedFreeMassFunction z R) + (spectralGaugeRobinSlope (Q R) (deriv M lam))) lam := by + let β := radialShootingB (profileMatchingParameter z) + have hq (h : ℝ) : -1 < (spectralQ ell h β lam).re := by + rw [spectralQ_re] + linarith [Nat.cast_nonneg (α := ℝ) ell] + have hlog : max 0 (Real.log 4/2) < Real.log R := + spectralFreeRadius_log R ((radialShooting_geometry (profileMatchingParameter z)).2.1.trans hLR.le) + have hM := spectralJetRobin_analyticAt + (fun t => spectralFreePositivePhysical ell β t R) + (fun t => spectralFreeNegativePhysical ell β t R) lam + (spectralFreePositivePhysical_analyticAt ell β lam (hq 1) R hlog.le) + (spectralFreeNegativePhysical_analyticAt ell β lam (hq (-1)) R hlog.le) hdet + exact spectralFluxBoundary_hasDerivAt R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) _ _ lam + (spectralGaugeRobin_hasDerivAt _ _ _ _ lam hM.differentiableAt.hasDerivAt) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilChainEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilChainEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..d9bbbf906ff41bdbac86b140f7d3386430092458 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilChainEquation.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreePencilDerivative + +namespace OAI + +/-! The actual constrained free compact pencil has no first analytic chain, +as used in the paper's spectral simplicity argument. -/ + +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance freePencilChainEquationNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedFreePencil_chain_equation (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0) + (v₀ v₁ : SpectralRadialObservationSpace R) + (h₁ : v₁-radialMatchedFreePencil ell z hc R hLR s lam v₁ = + deriv (radialMatchedFreePencil ell z hc R hLR s) lam v₀) : + let hL := radialMatchedCore_radius_pos z + v₁-radialMatchedFreePencil ell z hc R hLR s lam v₁ = + s.limitPencil ell hL hLR + (spectralLowerOrderSlope ell R (hL.trans hLR) + (spectralRadialWeightMultiplier R s.limitWeight) + (deriv (radialMatchedFreeBoundary ell z R) lam)) v₀ := by + have hP := radialMatchedFreePencil_hasDerivAt ell z hc R hLR s hmass lam hhalf hdet + exact h₁.trans (congrArg (fun T : SpectralRadialObservationSpace R →L[ℂ] + SpectralRadialObservationSpace R => T v₀) hP.deriv) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilChainLift.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilChainLift.lean new file mode 100644 index 0000000000000000000000000000000000000000..9e9b9239c2b6e4528e280832f690c0bdecd6e4f2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilChainLift.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreePencilDerivative + +namespace OAI + +/-! The actual constrained free compact pencil has no first analytic chain, +as used in the paper's spectral simplicity argument. -/ + +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance freePencilChainLiftNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedFreePencil_chain_lift (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0) + (v₀ v₁ : SpectralRadialObservationSpace R) + (h₀ : radialMatchedFreePencil ell z hc R hLR s lam v₀ = v₀) + (h₁ : v₁-radialMatchedFreePencil ell z hc R hLR s lam v₁ = + deriv (radialMatchedFreePencil ell z hc R hLR s) lam v₀) : + + let L := radialShootingR (profileMatchingParameter z) + let hR := (radialMatchedCore_radius_pos z).trans hLR + let B := radialMatchedFreeBoundary ell z R + let K := radialMatchedLimitWeakOperator ell z hc R hR lam (B lam) + let D := spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R s.limitWeight) (deriv B lam) + ∃ u₀ u₁ : SpectralHarmonicPair ell R, + u₀ ∈ spectralHarmonicCoreSubspace ell R L ∧ + u₁ ∈ spectralHarmonicCoreSubspace ell R L ∧ + spectralHarmonicObservation ell R hR u₀=v₀ ∧ + spectralHarmonicObservation ell R hR u₁=v₁ ∧ + (∀ v : spectralHarmonicCoreSubspace ell R L, + spectralHarmonicPairComplexForm ell R s.limitWeight u₀ v=inner ℂ (K v₀) v) ∧ + ∀ v : spectralHarmonicCoreSubspace ell R L, + spectralHarmonicPairComplexForm ell R s.limitWeight u₁ v=inner ℂ (K v₁+D v₀) v := by + let L := radialShootingR (profileMatchingParameter z) + have hL : 0 < L := radialMatchedCore_radius_pos z + let hR := hL.trans hLR + let B := radialMatchedFreeBoundary ell z R + let K := fun t => radialMatchedLimitWeakOperator ell z hc R hR t (B t) + let D := spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R s.limitWeight) (deriv B lam) + have hP := radialMatchedFreePencil_hasDerivAt ell z hc R hLR s hmass lam hhalf hdet + have h₀' : s.limitPencil ell hL hLR (K lam) v₀=v₀ := by + simpa only [radialMatchedFreePencil,K,B,hR] using h₀ + have h₁' : v₁-s.limitPencil ell hL hLR (K lam) v₁ = s.limitPencil ell hL hLR D v₀ := by + have hd := congrArg (fun T : SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R => T v₀) hP.deriv + simpa only [radialMatchedFreePencil,K,D,B,hR] using h₁.trans hd + simpa only [K,D,B,hR,L] using + s.limitPencil_chain_lift ell hL hLR (K lam) D v₀ v₁ h₀' h₁' + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..25e9264d0b71f177d2bf73eec3baa1eb8e139d79 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilDerivative.lean @@ -0,0 +1,35 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreeWeakDerivative + +namespace OAI + +/-! Differentiation of the observed free compact pencil. -/ + +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance freePencilDerivativeNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedFreePencil_hasDerivAt (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0) : + let hL := radialMatchedCore_radius_pos z + HasDerivAt (radialMatchedFreePencil ell z hc R hLR s) + (s.limitPencil ell hL hLR (spectralLowerOrderSlope ell R (hL.trans hLR) + (spectralRadialWeightMultiplier R s.limitWeight) + (deriv (radialMatchedFreeBoundary ell z R) lam))) lam := by + have hK := radialMatchedFreeWeak_hasDerivAt ell z hc R hLR s.limitWeight hmass lam hhalf hdet + exact s.limitPencil_hasDerivAt ell (radialMatchedCore_radius_pos z) hLR _ _ lam hK + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilNoChain.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilNoChain.lean new file mode 100644 index 0000000000000000000000000000000000000000..02ec6c406c7e6750e2aa13222db8a5e896569090 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreePencilNoChain.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreePencilChainLift +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakChainExclusion + +namespace OAI + +/-! The actual constrained free compact pencil has no first analytic chain, +as used in the paper's spectral simplicity argument. -/ + +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance freePencilNoChainNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedFreePencil_no_chain (hRou : RectangleRouche) (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (lam : ℂ) (hs : (ell=0 ∧ (lam=0 ∨ lam=1)) ∨ (ell=1 ∧ lam=1/2)) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0) + (v₀ v₁ : SpectralRadialObservationSpace R) (hv₀ : v₀ ≠ 0) + (h₀ : radialMatchedFreePencil ell z hc R hLR s lam v₀ = v₀) : + v₁-radialMatchedFreePencil ell z hc R hLR s lam v₁ ≠ + deriv (radialMatchedFreePencil ell z hc R hLR s) lam v₀ := by + intro h₁ + have hhalf : -(1/32 : ℝ) ≤ lam.re := by + rcases hs with ⟨_,rfl | rfl⟩ | ⟨_,rfl⟩ <;> norm_num + obtain ⟨u₀,u₁,hu₀,hu₁,ho₀,ho₁,he₀,he₁⟩ := + radialMatchedFreePencil_chain_lift ell z hc R hLR s hmass lam hhalf hdet v₀ v₁ h₀ h₁ + clear h₀ h₁ + subst v₀ + subst v₁ + refine radialMatchedWeak_chain_exclusion hRou ell z hz₁ hz hc R hLR s.limitWeight hmass + lam (radialMatchedFreeBoundary ell z R lam) (deriv (radialMatchedFreeBoundary ell z R) lam) + u₀ u₁ hu₀ hu₁ hs hv₀ hdet rfl ?_ ?_ ?_ + · exact (radialMatchedFreeBoundary_hasDerivAt ell z R hLR lam hhalf hdet).deriv + · exact he₀ + · exact he₁ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeRepresentation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeRepresentation.lean new file mode 100644 index 0000000000000000000000000000000000000000..ffd4c00ac14361a0614926441a1205d56ebe4393 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeRepresentation.lean @@ -0,0 +1,122 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakPhysical +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakExterior + +namespace OAI + +/-! A limiting weak kernel belongs to the exact outgoing H-column span. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedWeak_free_representation_of_boundary (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (w : SpectralHarmonicWeight R) (hw : w.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) (u : SpectralHarmonicPair ell R) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hBoundary : B=spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) + (spectralGaugeRobin (radialShootingFreeExterior z R) (deriv (radialShootingFreeExterior z) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)))) + (he : let hR := (radialMatchedCore_radius_pos z).trans hLR + ∀ v : spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z)), + spectralHarmonicPairComplexForm ell R w u v= + inner ℂ (radialMatchedLimitWeakOperator ell z hc R hR ζ B + (spectralHarmonicObservation ell R hR u)) v) : + let hR := (radialMatchedCore_radius_pos z).trans hLR + ∃ c : ℂ × ℂ, EqOn + (spectralPhysicalGaugePair (radialShootingFreeExterior z) + (spectralHarmonicRepresentative ell R hR u.fst) + (spectralHarmonicRepresentative ell R hR u.snd)) + (fun r => c.1 • spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ r+ + c.2 • spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ r) + (Ioo (radialShootingR (profileMatchingParameter z)) R) := by + dsimp only at he ⊢ + let L := radialShootingR (profileMatchingParameter z) + have hL : 0 < L := radialMatchedCore_radius_pos z + let hR := hL.trans hLR + let δ := (L+R)/2 + have hlδ : L < δ := by dsimp [δ]; linarith + have hδR : δ < R := by dsimp [δ]; linarith + let b := radialShootingB (profileMatchingParameter z) + let Q := radialShootingFreeExterior z + let M := spectralJetRobin (spectralFreePositivePhysical ell b ζ R) + (spectralFreeNegativePhysical ell b ζ R) + let F := spectralHarmonicRepresentative ell R hR u.fst + let G := spectralHarmonicRepresentative ell R hR u.snd + let X := spectralPhysicalGaugePair Q F G + obtain ⟨f,g,_,_,_,_,hef,heg,hX,hD,hB⟩ := + radialMatchedWeak_physical_extension_of_boundary ell z hz₁ hz hc R hLR δ hlδ hδR w hw ζ M B hBoundary u he + obtain ⟨c,hcoeff⟩ := spectralFreeRobin_propagation ell b ζ hζ + (spectralPhysicalGaugePair Q f g) δ R (hL.trans hlδ) hδR hX hD hdet hB + have hec : EqOn X (fun r => c.1 • spectralFreePositivePhysical ell b ζ r+ + c.2 • spectralFreeNegativePhysical ell b ζ r) (Ioo δ R) := by + intro r hr + have hf : f =ᶠ[nhds r] F := by + filter_upwards [isOpen_Ioo.mem_nhds hr] with t ht + exact hef ⟨ht.1.le,ht.2.le⟩ + have hg : g =ᶠ[nhds r] G := by + filter_upwards [isOpen_Ioo.mem_nhds hr] with t ht + exact heg ⟨ht.1.le,ht.2.le⟩ + exact (spectralPhysicalGaugePair_congr Q f g F G r hf hg).symm.trans + (hcoeff ⟨hr.1.le,hr.2.le⟩) + have hDX := radialMatchedWeak_physical_hasDerivAt ell z hz₁ hz hc R hLR w hw ζ B u he + have hDY : ∀ r ∈ Ioo L R, HasDerivAt + (fun r => c.1 • spectralFreePositivePhysical ell b ζ r+ + c.2 • spectralFreeNegativePhysical ell b ζ r) + (spectralFreePhysicalPairField b ζ ((ell : ℂ)*((ell : ℂ)+10)) r + (c.1 • spectralFreePositivePhysical ell b ζ r+ + c.2 • spectralFreeNegativePhysical ell b ζ r)) r := by + intro r hr + exact spectralFreeCombination_hasDerivAt b ζ ((ell : ℂ)*((ell : ℂ)+10)) _ _ c.1 c.2 r + (spectralFreePositivePhysical_hasDerivAt ell b ζ hζ r (hL.trans hr.1)) + (spectralFreeNegativePhysical_hasDerivAt ell b ζ hζ r (hL.trans hr.1)) + exact ⟨c,spectralFree_eq_on_open_of_collar b ζ ((ell : ℂ)*((ell : ℂ)+10)) X _ + L δ R hL hlδ hδR hDX hDY hec⟩ + +theorem radialMatchedWeak_free_representation (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (w : SpectralHarmonicWeight R) (hw : w.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) (u : SpectralHarmonicPair ell R) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (he : let hR := (radialMatchedCore_radius_pos z).trans hLR + let Q := radialShootingFreeExterior z + let M := spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + let B := spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) (spectralGaugeRobin (Q R) (deriv Q R) M) + ∀ v : spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z)), + spectralHarmonicPairComplexForm ell R w u v= + inner ℂ (radialMatchedLimitWeakOperator ell z hc R hR ζ B + (spectralHarmonicObservation ell R hR u)) v) : + let hR := (radialMatchedCore_radius_pos z).trans hLR + ∃ c : ℂ × ℂ, EqOn + (spectralPhysicalGaugePair (radialShootingFreeExterior z) + (spectralHarmonicRepresentative ell R hR u.fst) + (spectralHarmonicRepresentative ell R hR u.snd)) + (fun r => c.1 • spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ r+ + c.2 • spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ r) + (Ioo (radialShootingR (profileMatchingParameter z)) R) := by + apply radialMatchedWeak_free_representation_of_boundary ell z hz₁ hz hc R hLR w hw ζ hζ u hdet + (spectralFluxBoundary R (radialMatchedFreeMassFunction z R) (radialMatchedFreeTransportFunction z R) + (spectralGaugeRobin (radialShootingFreeExterior z R) (deriv (radialShootingFreeExterior z) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)))) rfl he + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeSubunit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeSubunit.lean new file mode 100644 index 0000000000000000000000000000000000000000..9ee4e34d82e25928d69227aba91bfd8ec94628fc --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeSubunit.lean @@ -0,0 +1,62 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedProfileLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSubunit + +namespace OAI + +/-! The limiting profile is uniformly subunit away from its flat core. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialShootingFreeExterior_norm (z : ProfileMatchingBall) (r : ℝ) : + ‖radialShootingFreeExterior z r‖= + ‖(radialFreeSlowJet (radialShootingQ z) (radialShootingM z) (Real.log r)).1‖ := by + rw [radialShootingFreeExterior,norm_mul] + have he : ‖Complex.exp ((-2*radialShootingQ z)*(Real.log r : ℂ))‖=1 := by + simp [Complex.norm_exp,radialShootingQ,Complex.mul_re,Complex.mul_im] + rw [he,one_mul] + +theorem radialMatchedFreeProfile_subunit (z : ProfileMatchingBall) (r : ℝ) + (hr : radialShootingR (profileMatchingParameter z) < r) : + ‖radialMatchedFreeProfile z r‖ < 1 := by + by_cases hi : r ≤ innerBoundaryRadius + · rw [radialMatchedFreeProfile,ite_eq_left hi,ite_eq_right (not_le.mpr hr)] + obtain ⟨hb,hl,hu,hlu,hwidth,_⟩ := radialShooting_geometry (profileMatchingParameter z) + obtain ⟨hJ,hFI,hGI,hbound,_⟩ := radialFreeInnerJet_spec (profileMatchingParameter z) + exact radial_free_modulus_lt_one _ _ _ hb hl hu hlu hwidth _ _ hJ.fst hJ.snd + hFI hGI (fun t _ => hbound t) r ⟨hr,hi⟩ + · rw [radialMatchedFreeProfile,ite_eq_right hi,radialShootingFreeExterior_norm] + obtain ⟨δ,ρ,hδ,_,_,hρ,hupper,_⟩ := radialShooting_free_annulus z + have hb := hupper (Real.log r) + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) (lt_of_not_ge hi).le) + linarith + +theorem radialMatchedFreeProfile_uniform_subunit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (R d : ℝ) (hd : 0 < d) : + ∃ ρ : ℝ, ρ < 1 ∧ ∀ r ∈ Icc (radialShootingR (profileMatchingParameter z₀)+d) R, + ‖radialMatchedFreeProfile z₀ r‖ ≤ ρ := by + let l := radialShootingR (profileMatchingParameter z₀) + have hl : 0 ≤ l+d := by + have h := (radialShooting_geometry (profileMatchingParameter z₀)).2.1 + dsimp [l] + linarith + have hc := (radialMatchedFreeProfile_continuousOn s hs z z₀ hz hX hm R).mono + (show Icc (l+d) R ⊆ Icc 0 R from fun r hr => ⟨hl.trans hr.1,hr.2⟩) + obtain ⟨δ,hδ,hbound⟩ := isCompact_Icc.exists_forall_le' + (continuousOn_const.sub hc.norm) + (fun r hr => sub_pos.mpr (radialMatchedFreeProfile_subunit z₀ r (by + change l < r + linarith [hr.1]))) + refine ⟨1-δ,by linarith,fun r hr => ?_⟩ + have hb := hbound r hr + change δ ≤ 1-‖radialMatchedFreeProfile z₀ r‖ at hb + linarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeWeakDerivative.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeWeakDerivative.lean new file mode 100644 index 0000000000000000000000000000000000000000..f31c9a348d6fcd8dd0e1b1f6bdb8fe09566e67fb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedFreeWeakDerivative.lean @@ -0,0 +1,54 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreeBoundaryDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLowerOrderDerivative +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilDerivative + +namespace OAI + +/-! The derivative load for the actual free compact pencil. -/ + +open Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance freeWeakDerivativeNormed (ell : ℕ) (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralHarmonicPair ell R) := by + let : NormedAddCommGroup (SpectralHarmonicPair ell R) := inferInstance + let : NormedSpace ℂ (SpectralHarmonicPair ell R) := inferInstance + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedFreeWeak_hasDerivAt (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (w : SpectralHarmonicWeight R) (hw : w.density=radialMatchedFreeMassFunction z) + (lam : ℂ) (hhalf : -(1/32 : ℝ) ≤ lam.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) lam R)) ≠ 0) : + let hR := (radialMatchedCore_radius_pos z).trans hLR + HasDerivAt (fun t => radialMatchedLimitWeakOperator ell z hc R hR t + (radialMatchedFreeBoundary ell z R t)) + (spectralLowerOrderSlope ell R hR (spectralRadialWeightMultiplier R w) + (deriv (radialMatchedFreeBoundary ell z R) lam)) lam := by + let hR := (radialMatchedCore_radius_pos z).trans hLR + let a := spectralContinuousCoefficient R (radialMatchedFreeTransportFunction z) + (continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc))) + have hB : HasDerivAt (radialMatchedFreeBoundary ell z R) + (deriv (radialMatchedFreeBoundary ell z R) lam) lam := (radialMatchedFreeBoundary_hasDerivAt ell z R hLR lam hhalf hdet).differentiableAt.hasDerivAt + have h := spectralLowerOrderOperator_hasDerivAt ell R hR + (spectralRadialWeightMultiplier R w) (spectralRadialWeightMultiplier R a) 6 + (radialMatchedFreeBoundary ell z R) _ lam hB + have heq : (fun t => radialMatchedLimitWeakOperator ell z hc R hR t + (radialMatchedFreeBoundary ell z R t)) = + (fun t => spectralLowerOrderOperator ell R hR (spectralRadialWeightMultiplier R w) + (spectralRadialWeightMultiplier R a) 6 t (radialMatchedFreeBoundary ell z R t)) := by + funext t + exact radialMatchedLimitWeakOperator_eq ell z hc R hR w a hw rfl t (radialMatchedFreeBoundary ell z R t) + dsimp only + rw [heq] + exact h + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeBalance.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeBalance.lean new file mode 100644 index 0000000000000000000000000000000000000000..9cf0784e07c6dcc2f169086765b75947ef750209 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeBalance.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeFlux +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedFluxBalance + +namespace OAI + +/-! The actual matched-profile eigenmode satisfies both weighted weak balances. -/ + +open Set MeasureTheory +open scoped SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +theorem spectralClassicalRadialPairing_const_weight (R k : ℝ) (q : ℝ → ℝ) + (f φ : ℝ → ℂ) : + spectralClassicalRadialPairing R (fun r => k*q r) f φ= + (k : ℂ)*spectralClassicalRadialPairing R q f φ := by + unfold spectralClassicalRadialPairing + rw [← integral_const_mul] + apply integral_congr_ae + exact Filter.Eventually.of_forall (fun r => by + simp only [Complex.real_smul,Complex.ofReal_mul] + ring) + +theorem radialMatchedGauge_balance (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) (η lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g) (φ : 𝓢(ℝ,ℂ)) : + (spectralClassicalRadialPairing R (radialMatchedMassFunction n z) (deriv f) (deriv φ)+ + η*spectralClassicalAngularPairing R (radialMatchedMassFunction n z) f φ+ + ((radialShootingA n)⁻¹ : ℝ)*spectralClassicalRadialPairing R + (fun r => radialMatchedMassFunction n z r* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) f φ= + (((6-2*radialShootingA n : ℝ) : ℂ)-lam)* + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) g φ+ + spectralClassicalRadialPairing R (radialMatchedTransportFunction n z) g (deriv φ)+ + star (φ R)*spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R) ∧ + (spectralClassicalRadialPairing R (radialMatchedMassFunction n z) (deriv g) (deriv φ)+ + η*spectralClassicalAngularPairing R (radialMatchedMassFunction n z) g φ+ + (((6-2*radialShootingA n : ℝ) : ℂ)-lam)* + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) f φ+ + spectralClassicalRadialPairing R (radialMatchedTransportFunction n z) f (deriv φ)= + star (φ R)*spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R) := by + have hμ := radialMatchedMassFunction_continuous n z hX hz + have hA := radialMatchedTransportFunction_continuous n z hX hz + have hQ := (radialMatchedProfile_differentiable n z hX hz).continuous + obtain ⟨hfirst,hsecond⟩ := radialMatchedGauge_test n z hX hz R hR η lam f g hf hg he φ + constructor + · have hp : Continuous (fun r => 2*((n+radialInnerShootingThreshold : ℕ) : ℝ)* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) := by fun_prop + have ht := spectralWeightedFlux_first_balance R hR.le + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) + (fun r => 2*((n+radialInnerShootingThreshold : ℕ) : ℝ)* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + hμ hA hp f g hf hg η ((6-2*radialShootingA n : ℝ) : ℂ) lam φ (by + simpa only [radialMatchedGaugeFirstSource,Complex.ofReal_mul,Complex.ofReal_ofNat, + Complex.ofReal_natCast] + using hfirst) + have hfactor : (radialShootingA n)⁻¹=2*((n+radialInnerShootingThreshold : ℕ) : ℝ) := by + simp [radialShootingA,one_div] + have hpEq : (fun r => radialMatchedMassFunction n z r* + (2*((n+radialInnerShootingThreshold : ℕ) : ℝ)* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))))= + (fun r => (radialShootingA n)⁻¹*(radialMatchedMassFunction n z r* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold)))) := by + funext r + rw [hfactor] + ring + rw [hpEq,spectralClassicalRadialPairing_const_weight] at ht + exact ht + · exact spectralWeightedFlux_second_balance R hR.le + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) hμ hA + f g hf hg η ((6-2*radialShootingA n : ℝ) : ℂ) lam φ (by + simpa only [radialMatchedGaugeSecondSource] using hsecond) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeCoefficients.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeCoefficients.lean new file mode 100644 index 0000000000000000000000000000000000000000..4329932e1e8c41791af7dcca9ec6a2f692344d4a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeCoefficients.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeEquation +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLogGaugeCoefficients +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedMultiplierLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMassDivergence + +namespace OAI + +/-! The coefficients of the actual gauge equation are precisely those of the weak pencil. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedGauge_coefficients (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + let Q := radialMatchedEvenProfile n z + let μ := radialMatchedMassFunction n z + let A := radialMatchedTransportFunction n z + HasDerivAt μ (2*(star (Q r)*deriv Q r).re) r ∧ + HasDerivAt A ((6-2*radialShootingA n)*μ r-11/r*A r) r ∧ + (deriv Q r/Q r+star (deriv Q r)/star (Q r)= + ((2*(star (Q r)*deriv Q r).re : ℝ) : ℂ)/(μ r : ℂ)) ∧ + ((r : ℂ)/2-Complex.I*(deriv Q r/Q r-star (deriv Q r)/star (Q r))= + (A r : ℂ)/(μ r : ℂ)) := by + dsimp only + have he := radialMatchedEvenProfile_eventuallyEq n z r hr + have hμ : HasDerivAt (radialMatchedMassFunction n z) + (2*(star (radialMatchedProfile n z r)*deriv (radialMatchedProfile n z) r).re) r := by + have h := radialComplexNormSq_hasDerivAt (radialMatchedProfile n z) r + (radialMatchedProfile_differentiable n z hX hz r) + apply h.congr_of_eventuallyEq + exact Eventually.of_forall (fun t => Complex.sq_norm (radialMatchedProfile n z t)) + have hAeq (t : ℝ) (ht : 0 < t) : radialMatchedTransportFunction n z t= + radialWeightedFlux (radialMatchedProfile n z) t := + (radialMatchedWeightedFlux_average_nonneg n z hX hz t ht.le).symm + have hA := (radialMatchedWeightedFlux_hasDerivAt n z hX hz r hr).congr_of_eventuallyEq + (show radialMatchedTransportFunction n z =ᶠ[𝓝 r] radialWeightedFlux (radialMatchedProfile n z) from by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact hAeq t ht) + have hm : radialMatchedMassFunction n z r=Complex.normSq (radialMatchedEvenProfile n z r) := by + rw [he.eq_of_nhds] + exact Complex.sq_norm _ + have hmn : radialMatchedMassFunction n z r ≠ 0 := by + rw [hm] + exact (Complex.normSq_pos.mpr (radialMatchedEvenProfile_ne_zero n z hX r)).ne' + have hAvalue : radialMatchedTransportFunction n z r= + r/2*Complex.normSq (radialMatchedEvenProfile n z r)+ + 2*(star (radialMatchedEvenProfile n z r)*deriv (radialMatchedEvenProfile n z) r).im := by + rw [hAeq r hr] + simp only [radialWeightedFlux,he.eq_of_nhds,he.deriv_eq] + refine ⟨?_,?_,?_,?_⟩ + · simpa only [he.eq_of_nhds,he.deriv_eq] using hμ + · simpa only [← hAeq r hr,radialMatchedMassFunction,Complex.sq_norm] using hA + · rw [spectralLogGauge_mass,← hm] + push_cast + rfl + · rw [spectralLogGauge_transport,hAvalue,← hm] + push_cast + field_simp [Complex.ofReal_ne_zero.mpr hmn] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeEquation.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeEquation.lean new file mode 100644 index 0000000000000000000000000000000000000000..878beb9222f3117f993acbd178c395ff98d374fb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeEquation.lean @@ -0,0 +1,79 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeMembership +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialRealGauge + +namespace OAI + +/-! Actual physical radial eigenmodes yield classical gauge eigenmodes in the energy space. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +def IsRadialLogGaugeEigenpair (m : ℕ) (Q : ℝ → ℂ) (η lam : ℂ) (f g : ℝ → ℂ) : Prop := + ∀ r : ℝ, 0 < r → + (lam*f r=-(deriv (deriv g) r+ + (11/(r : ℂ)+deriv Q r/Q r+star (deriv Q r)/star (Q r))*deriv g r- + η/(r : ℂ)^2*g r)- + ((r : ℂ)/2-Complex.I*(deriv Q r/Q r-star (deriv Q r)/star (Q r)))*deriv f r) ∧ + (lam*g r=deriv (deriv f) r+ + (11/(r : ℂ)+deriv Q r/Q r+star (deriv Q r)/star (Q r))*deriv f r- + η/(r : ℂ)^2*f r- + ((r : ℂ)/2-Complex.I*(deriv Q r/Q r-star (deriv Q r)/star (Q r)))*deriv g r- + 2*(m : ℂ)*((‖Q r‖^(2*m) : ℝ) : ℂ)*f r) + +theorem radialMatchedGauge_equation (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η lam : ℂ) (F G f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (hpair : ∀ r, (radialMatchedEvenProfile n z r*(f r+Complex.I*g r), + star (radialMatchedEvenProfile n z r)*(f r-Complex.I*g r))=(F r,G r)) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) η lam F G) : + IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g := by + let Q := radialMatchedEvenProfile n z + have hF : (fun r => Q r*(f r+Complex.I*g r))=F := funext (fun r => congrArg Prod.fst (hpair r)) + have hG : (fun r => star (Q r)*(f r-Complex.I*g r))=G := funext (fun r => congrArg Prod.snd (hpair r)) + have hE : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + Q η lam (fun r => Q r*(f r+Complex.I*g r)) + (fun r => star (Q r)*(f r-Complex.I*g r)) := by + rw [hF,hG] + intro r hr + simpa only [Q,radialMatchedEvenProfile_nonneg n z r hr.le] using he r hr + intro r hr + exact spectralRadialRealGauge _ _ _ η lam Q f g + ((radialMatchedEvenProfile_contDiff n z hX hz).of_le (by simp)) hf hg hE r hr + (radialMatchedEvenProfile_ne_zero n z hX r) + (radialMatchedEvenProfile_stationary n z hX hz r hr) + +theorem radialMatchedGauge_classical_energy (n ell : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) + (η lam : ℂ) (F G : ℝ → ℂ) (hF : ContDiff ℝ 2 F) (hG : ContDiff ℝ 2 G) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) η lam F G) : + ∃ f g : ℝ → ℂ, ContDiff ℝ 2 f ∧ ContDiff ℝ 2 g ∧ + IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g ∧ + ∃ u : SpectralHarmonicPair ell R, + (∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) ∧ + (∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) ∧ + (spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) ∧ + (spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) ∧ + ∀ r ∈ Ioc 0 R, + spectralPhysicalValueMap (spectralPhysicalGaugePair (radialMatchedProfile n z) + (spectralHarmonicRepresentative ell R hR u.fst) + (spectralHarmonicRepresentative ell R hR u.snd) r)=(F r,G r) := by + obtain ⟨f,g,hf,hg,u,hu,hv,hdu,hdv,hpair,hphys⟩ := + radialMatchedGaugeJet 2 (by norm_num) n ell z hX hz R hR F G hF hG + exact ⟨f,g,hf,hg,radialMatchedGauge_equation n z hX hz η lam F G f g hf hg hpair he, + u,hu,hv,hdu,hdv,hphys⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeFlux.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeFlux.lean new file mode 100644 index 0000000000000000000000000000000000000000..f082e36e7436bd1388e950daf8d97520ed1ff2ba --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeFlux.lean @@ -0,0 +1,106 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeCoefficients +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalFluxTesting + +namespace OAI + +/-! Exact weighted flux equations for a matched-profile gauge eigenmode. -/ + +open Set +open scoped SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMatchedGaugeFirstSource (n : ℕ) (z : ProfileMatchingBall) + (η lam : ℂ) (f g : ℝ → ℂ) (r : ℝ) : ℂ := + η*(r : ℂ)^9*(radialMatchedMassFunction n z r : ℂ)*f r+ + (r : ℂ)^11*(radialMatchedMassFunction n z r : ℂ)* + (2*((n+radialInnerShootingThreshold : ℕ) : ℂ)* + ((‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold)) : ℝ) : ℂ)*f r+ + (lam-((6-2*radialShootingA n : ℝ) : ℂ))*g r) + +noncomputable def radialMatchedGaugeSecondSource (n : ℕ) (z : ProfileMatchingBall) + (η lam : ℂ) (f g : ℝ → ℂ) (r : ℝ) : ℂ := + η*(r : ℂ)^9*(radialMatchedMassFunction n z r : ℂ)*g r+ + (r : ℂ)^11*(radialMatchedMassFunction n z r : ℂ)* + (((6-2*radialShootingA n : ℝ) : ℂ)-lam)*f r + +theorem radialMatchedGauge_flux (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g) (r : ℝ) (hr : 0 < r) : + HasDerivAt (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g) + (radialMatchedGaugeFirstSource n z η lam f g r) r ∧ + HasDerivAt (spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g) + (radialMatchedGaugeSecondSource n z η lam f g r) r := by + obtain ⟨hμ,hA,hlog,hvel⟩ := radialMatchedGauge_coefficients n z hX hz r hr + obtain ⟨hF,hG⟩ := he r hr + simp only [add_assoc,hlog,hvel] at hF hG + have hμn : radialMatchedMassFunction n z r ≠ 0 := + pow_ne_zero 2 (norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.le)) + have h := spectralGaugeClassicalFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g r + (2*(star (radialMatchedEvenProfile n z r)*deriv (radialMatchedEvenProfile n z) r).re) + (6-2*radialShootingA n) η lam + (2*((n+radialInnerShootingThreshold : ℕ) : ℂ)* + ((‖radialMatchedEvenProfile n z r‖^(2*(n+radialInnerShootingThreshold)) : ℝ) : ℂ)) + hr.ne' hμn hμ hA + (hf.differentiable (by norm_num) r) (hg.differentiable (by norm_num) r) + ((hf.deriv' (n := 1)).differentiable (by norm_num) r) + ((hg.deriv' (n := 1)).differentiable (by norm_num) r) hF hG + simpa only [radialMatchedGaugeFirstSource,radialMatchedGaugeSecondSource, + radialMatchedEvenProfile_nonneg n z r hr.le] using h + +theorem radialMatchedGauge_test (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) (η lam : ℂ) (f g : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeEigenpair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g) (φ : 𝓢(ℝ,ℂ)) : + (∫ r in (0 : ℝ)..R, star (deriv φ r)*spectralGaugeFirstFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g r)+ + (∫ r in (0 : ℝ)..R, star (φ r)*radialMatchedGaugeFirstSource n z η lam f g r)= + star (φ R)*spectralGaugeFirstFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g R ∧ + (∫ r in (0 : ℝ)..R, star (deriv φ r)*spectralGaugeSecondFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g r)+ + (∫ r in (0 : ℝ)..R, star (φ r)*radialMatchedGaugeSecondSource n z η lam f g r)= + star (φ R)*spectralGaugeSecondFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g R := by + have hμ := radialMatchedMassFunction_continuous n z hX hz + have hA := radialMatchedTransportFunction_continuous n z hX hz + have hQ := (radialMatchedProfile_differentiable n z hX hz).continuous + have hfc := hf.continuous + have hgc := hg.continuous + have hDf := hf.continuous_deriv (by norm_num) + have hDg := hg.continuous_deriv (by norm_num) + constructor + · apply spectralClassicalFlux_test R hR.le _ _ _ _ _ _ φ + · apply Continuous.continuousOn + unfold spectralGaugeFirstFlux + fun_prop + · apply Continuous.continuousOn + unfold radialMatchedGaugeFirstSource + fun_prop + · intro r hr + exact (radialMatchedGauge_flux n z hX hz η lam f g hf hg he r hr.1).1 + · simp [spectralGaugeFirstFlux] + · apply spectralClassicalFlux_test R hR.le _ _ _ _ _ _ φ + · apply Continuous.continuousOn + unfold spectralGaugeSecondFlux + fun_prop + · apply Continuous.continuousOn + unfold radialMatchedGaugeSecondSource + fun_prop + · intro r hr + exact (radialMatchedGauge_flux n z hX hz η lam f g hf hg he r hr.1).2 + · simp [spectralGaugeSecondFlux] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeMembership.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeMembership.lean new file mode 100644 index 0000000000000000000000000000000000000000..df901485faf7fe67ba8768163c7ac3c90a3572ad --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGaugeMembership.lean @@ -0,0 +1,86 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedEvenProfile +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralC1HarmonicMembership +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalGaugePair + +namespace OAI + +/-! Actual C1 physical channels give vectors in the weighted gauge energy space. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedGaugeJet (k : ℕ) (hk : 1 ≤ k) (n ell : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) + (F G : ℝ → ℂ) (hF : ContDiff ℝ k F) (hG : ContDiff ℝ k G) : + ∃ f g : ℝ → ℂ, ContDiff ℝ k f ∧ ContDiff ℝ k g ∧ + ∃ u : SpectralHarmonicPair ell R, + (∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.fst r=f r) ∧ + (∀ r ∈ Ioc 0 R, spectralHarmonicRepresentative ell R hR u.snd r=g r) ∧ + (spectralHarmonicDerivative ell R u.fst =ᵐ[radialPressureMeasure R] deriv f) ∧ + (spectralHarmonicDerivative ell R u.snd =ᵐ[radialPressureMeasure R] deriv g) ∧ + (∀ r, (radialMatchedEvenProfile n z r*(f r+Complex.I*g r), + star (radialMatchedEvenProfile n z r)*(f r-Complex.I*g r))=(F r,G r)) ∧ + ∀ r ∈ Ioc 0 R, + spectralPhysicalValueMap (spectralPhysicalGaugePair (radialMatchedProfile n z) + (spectralHarmonicRepresentative ell R hR u.fst) + (spectralHarmonicRepresentative ell R hR u.snd) r)=(F r,G r) := by + let Q := radialMatchedEvenProfile n z + have hQ : ContDiff ℝ k Q := (radialMatchedEvenProfile_contDiff n z hX hz).of_le (by simp) + have hQn (r : ℝ) : Q r ≠ 0 := radialMatchedEvenProfile_ne_zero n z hX r + have hQs : ContDiff ℝ k (fun r => star (Q r)) := + (starL' ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp hQ + have hQsn (r : ℝ) : star (Q r) ≠ 0 := star_ne_zero.mpr (hQn r) + let f := fun r => (1/2 : ℂ)*(F r/Q r+G r/star (Q r)) + let g := fun r => (1/(2*Complex.I) : ℂ)*(F r/Q r-G r/star (Q r)) + have hf : ContDiff ℝ k f := by + dsimp only [f] + simp only [div_eq_mul_inv] + exact contDiff_const.mul + ((hF.mul (hQ.inv hQn)).add (hG.mul (hQs.inv hQsn))) + have hg : ContDiff ℝ k g := by + dsimp only [g] + simp only [div_eq_mul_inv] + exact contDiff_const.mul + ((hF.mul (hQ.inv hQn)).sub (hG.mul (hQs.inv hQsn))) + have hinverse (r : ℝ) : (Q r*(f r+Complex.I*g r), + star (Q r)*(f r-Complex.I*g r))=(F r,G r) := by + dsimp only [f,g] + apply Prod.ext <;> dsimp only <;> field_simp [hQn r,hQsn r,Complex.I_ne_zero] <;> ring + obtain ⟨u,hu,hdu⟩ := spectralC1HarmonicJet ell R hR f (hf.of_le (by exact_mod_cast hk)) + obtain ⟨v,hv,hdv⟩ := spectralC1HarmonicJet ell R hR g (hg.of_le (by exact_mod_cast hk)) + let w : SpectralHarmonicPair ell R := WithLp.toLp 2 (u,v) + refine ⟨f,g,hf,hg,w,hu,hv,hdu,hdv,hinverse,fun r hr => ?_⟩ + change spectralPhysicalValueMap (spectralPhysicalGaugePair (radialMatchedProfile n z) + (spectralHarmonicRepresentative ell R hR u) + (spectralHarmonicRepresentative ell R hR v) r)=(F r,G r) + have he : Q r=radialMatchedProfile n z r := radialMatchedEvenProfile_nonneg n z r hr.1.le + have hn : radialMatchedProfile n z r ≠ 0 := radialMatchedProfile_ne_zero n z hX r hr.1.le + have hns : star (radialMatchedProfile n z r) ≠ 0 := star_ne_zero.mpr hn + change (radialMatchedProfile n z r*(spectralHarmonicRepresentative ell R hR u r+ + Complex.I*spectralHarmonicRepresentative ell R hR v r), + star (radialMatchedProfile n z r)*(spectralHarmonicRepresentative ell R hR u r- + Complex.I*spectralHarmonicRepresentative ell R hR v r))=(F r,G r) + rw [hu r hr,hv r hr] + dsimp only [f,g] + rw [he] + apply Prod.ext <;> dsimp only <;> field_simp [hn,hns,Complex.I_ne_zero] <;> ring + +theorem radialMatchedGaugeMembership (n ell : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) + (F G : ℝ → ℂ) (hF : ContDiff ℝ 1 F) (hG : ContDiff ℝ 1 G) : + ∃ u : SpectralHarmonicPair ell R, ∀ r ∈ Ioc 0 R, + spectralPhysicalValueMap (spectralPhysicalGaugePair (radialMatchedProfile n z) + (spectralHarmonicRepresentative ell R hR u.fst) + (spectralHarmonicRepresentative ell R hR u.snd) r)=(F r,G r) := by + obtain ⟨f,g,hf,hg,u,hu,hv,hdu,hdv,hpair,he⟩ := + radialMatchedGaugeJet 1 le_rfl n ell z hX hz R hR F G hF hG + exact ⟨u,he⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGeneralizedExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGeneralizedExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..8084d2c9669b46816fec98634ee342ea59ae4f47 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedGeneralizedExclusion.lean @@ -0,0 +1,81 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalMultiplicity +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalSourceExclusion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSourceRobin + +namespace OAI + +/-! Actual finite-energy generalized radial modes are excluded without an outgoing-boundary hypothesis. -/ + +open Filter Topology Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +noncomputable local instance canonicalJordanExclusionNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedCanonical_no_generalized_mode (hRou : RectangleRouche) + (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (ell N : ℕ) (hN : 7 ≤ N) + (Y Z : ℕ → ℂ → ℝ → E₄) + (hY : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (1,0) (Y i)) + (hZ : ∀ i, IsCanonicalHolomorphicColumn + (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + ((ell*(ell+10) : ℕ) : ℂ) (radialShootingM (z i)) + (s i+radialInnerShootingThreshold) (Real.log innerBoundaryRadius) (0,1) (Z i)) + (R : ℝ) (hR : innerBoundaryRadius < R) + (hLR : radialShootingR (profileMatchingParameter z₀) < R) + (F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀))) + (hmass : F.limitWeight.density=radialMatchedFreeMassFunction z₀) + (hw : ∀ i, (F.weight i).density=radialMatchedMassFunction (s i) (z i)) + (hp : ∀ i, F.pressure i=fun r => ‖radialMatchedProfile (s i) (z i) r‖^(2*(s i+radialInnerShootingThreshold))) + (ha : ∀ i, F.scale i=radialShootingA (s i)) + (lam₀ : ℂ) (hsym : (ell=0 ∧ (lam₀=0 ∨ lam₀=1)) ∨ (ell=1 ∧ lam₀=1/2)) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell + (radialShootingB (profileMatchingParameter z₀)) lam₀ R)) ≠ 0) + (x : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 lam₀)) (hxnonneg : ∀ i, 0≤(x i).re) : + ∀ᶠ i in atTop, + ∀ u : RadialSpectralMode (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) N + (radialMatchedProfile (s i) (z i)) ((ell : ℂ)*(ell+10)) (x i), + ∀ v w : ℝ → ℂ, ContDiff ℝ 2 v → ContDiff ℝ 2 w → + IsHarmonicRadialSourcePair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) ((ell : ℂ)*(ell+10)) (x i) v w u.first u.second → + IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi 0) → + IntegrableOn (fun r => r^11*‖iteratedDeriv N w r‖^2) (Ioi 0) → + (∃ M : ℝ, 0≤M ∧ ∀ r, ‖(v r,w r)‖≤M) → + False := by + have hhalf₀ : -(1/32 : ℝ) < lam₀.re := by + rcases hsym with ⟨_,rfl | rfl⟩ | ⟨_,rfl⟩ <;> norm_num + have hns := radialMatchedCanonical_no_source hRou s hs z z₀ hz hz₁ hz₀ hX hm ell N hN + Y Z hY hZ R hR hLR F hmass hw hp ha lam₀ hsym hdet x hx + have hval := (radialMatchedCanonicalValueDet_joint_tendsto s hs z z₀ hz ell Y Z hY hZ + R hR lam₀ hhalf₀.le).comp (tendsto_id.prodMk hx) + have hd := hval.eventually (eventually_ne_nhds hdet) + filter_upwards [hns,hd] with i hi hdi + intro u v w hv hw₂ he hvt hwt hb + have hboundary := radialMatched_source_canonical_robin (s i) (z i) (hX i) (hm i) + ((ell : ℂ)*(ell+10)) (x i) (hxnonneg i) N hN u v w hv hw₂ he hvt hwt hb + (Y i) (Z i) + (by simpa only [Nat.cast_mul,Nat.cast_add,Nat.cast_ofNat] using hY i) + (by simpa only [Nat.cast_mul,Nat.cast_add,Nat.cast_ofNat] using hZ i) R hR hdi + exact hi u v w hv hw₂ he hboundary + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedHardy.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedHardy.lean new file mode 100644 index 0000000000000000000000000000000000000000..6c4abebfd5ac9476fc493e569a9ecd63811213c7 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedHardy.lean @@ -0,0 +1,74 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialHardyInequality +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightComparison + +namespace OAI + +/-! The uniform Hardy estimate with the actual mass density of matched profiles. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialHardy_comparable_weight (a R d : ℝ) (ha : 0 ≤ a) (ha1 : a ≤ 1/2) + (hR : 0 ≤ R) (hd : 0 < d) (μ : ℝ → ℝ) (hμ : Continuous μ) + (hb : ∀ r ∈ Icc 0 R, + d*radialHardyWeight a r ≤ μ r ∧ μ r ≤ 144*radialHardyWeight a r) + (f : ℝ → ℝ) (hf : ContDiff ℝ 1 f) (hfR : f R=0) : + d*(∫ r in (0 : ℝ)..R, r^9*μ r*(f r)^2) ≤ + 9*(∫ r in (0 : ℝ)..R, r^11*μ r*(deriv f r)^2) := by + have hρ := radialHardyWeight_continuous a + have hfd := hf.continuous_deriv_one + have hA : Continuous (fun r => r^9*μ r*(f r)^2) := by fun_prop + have hB : Continuous (fun r => r^11*μ r*(deriv f r)^2) := by fun_prop + have hAρ : Continuous (fun r => r^9*radialHardyWeight a r*(f r)^2) := by fun_prop + have hBρ : Continuous (fun r => r^11*radialHardyWeight a r*(deriv f r)^2) := by fun_prop + have hupper : (∫ r in (0 : ℝ)..R, r^9*μ r*(f r)^2) ≤ + 144*(∫ r in (0 : ℝ)..R, r^9*radialHardyWeight a r*(f r)^2) := by + rw [← intervalIntegral.integral_const_mul] + apply intervalIntegral.integral_mono_on hR (hA.intervalIntegrable 0 R) + ((hAρ.const_mul 144).intervalIntegrable 0 R) + intro r hr + have hh := mul_le_mul_of_nonneg_left (hb r hr).2 + (mul_nonneg (pow_nonneg hr.1 9) (sq_nonneg (f r))) + nlinarith [hh] + have hlower : d*(∫ r in (0 : ℝ)..R, r^11*radialHardyWeight a r*(deriv f r)^2) ≤ + ∫ r in (0 : ℝ)..R, r^11*μ r*(deriv f r)^2 := by + rw [← intervalIntegral.integral_const_mul] + apply intervalIntegral.integral_mono_on hR ((hBρ.const_mul d).intervalIntegrable 0 R) + (hB.intervalIntegrable 0 R) + intro r hr + have hh := mul_le_mul_of_nonneg_left (hb r hr).1 + (mul_nonneg (pow_nonneg hr.1 11) (sq_nonneg (deriv f r))) + nlinarith [hh] + have hhardy := radialHardyInequality a R ha ha1 hR f hf hfR + have hu := mul_le_mul_of_nonneg_left hupper hd.le + have hh := mul_le_mul_of_nonneg_left hhardy (by positivity : 0 ≤ 9*d) + nlinarith + +theorem radialMatched_uniform_Hardy : + ∃ d : ℝ, 0 < d ∧ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ R : ℝ, 0 ≤ R → ∀ f : ℝ → ℝ, + ContDiff ℝ 1 f → f R=0 → + d*(∫ r in (0 : ℝ)..R, r^9*‖radialMatchedProfile n z r‖^2*(f r)^2) ≤ + 9*(∫ r in (0 : ℝ)..R, r^11*‖radialMatchedProfile n z r‖^2*(deriv f r)^2) := by + obtain ⟨d,hd,he⟩ := radialMatched_uniform_weight_comparison + refine ⟨d,hd,?_⟩ + filter_upwards [he] with n hn z hX hz R hR f hf hfR + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have hm : (1 : ℝ) ≤ ((n+radialInnerShootingThreshold : ℕ) : ℝ) := by + exact_mod_cast radialShootingInner_power_pos n (profileMatchingParameter z) + have ha1 : radialShootingA n ≤ 1/2 := by + unfold radialShootingA + apply (div_le_iff₀ (by linarith : (0 : ℝ)<2*((n+radialInnerShootingThreshold : ℕ) : ℝ))).mpr + nlinarith + apply radialHardy_comparable_weight (radialShootingA n) R d ha.le ha1 hR hd + (fun r => ‖radialMatchedProfile n z r‖^2) + ((radialMatchedProfile_differentiable n z hX hz).continuous.norm.pow 2) + (fun r hr => hn z r hr.1) f hf hfR + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedHardyBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedHardyBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..61d0a205024035d245713e9416c9b62bf3c12475 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedHardyBoundary.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialHardyBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialWeightComparison + +namespace OAI + +/-! The uniform Hardy estimate with the actual mass density of matched profiles. -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialHardy_comparable_weight_boundary (a R d : ℝ) (ha : 0 ≤ a) (ha1 : a ≤ 1/2) + (hR : 0 ≤ R) (hd : 0 < d) (μ : ℝ → ℝ) (hμ : Continuous μ) + (hb : ∀ r ∈ Icc 0 R, + d*radialHardyWeight a r ≤ μ r ∧ μ r ≤ 144*radialHardyWeight a r) + (f : ℝ → ℝ) (hf : ContDiff ℝ 1 f) : + d*(∫ r in (0 : ℝ)..R, r^9*μ r*(f r)^2) ≤ + 9*(∫ r in (0 : ℝ)..R, r^11*μ r*(deriv f r)^2)+ + 36*d*radialHardyFlux a R*(f R)^2 := by + have hρ := radialHardyWeight_continuous a + have hfd := hf.continuous_deriv_one + have hA : Continuous (fun r => r^9*μ r*(f r)^2) := by fun_prop + have hB : Continuous (fun r => r^11*μ r*(deriv f r)^2) := by fun_prop + have hAρ : Continuous (fun r => r^9*radialHardyWeight a r*(f r)^2) := by fun_prop + have hBρ : Continuous (fun r => r^11*radialHardyWeight a r*(deriv f r)^2) := by fun_prop + have hupper : (∫ r in (0 : ℝ)..R, r^9*μ r*(f r)^2) ≤ + 144*(∫ r in (0 : ℝ)..R, r^9*radialHardyWeight a r*(f r)^2) := by + rw [← intervalIntegral.integral_const_mul] + apply intervalIntegral.integral_mono_on hR (hA.intervalIntegrable 0 R) + ((hAρ.const_mul 144).intervalIntegrable 0 R) + intro r hr + have hh := mul_le_mul_of_nonneg_left (hb r hr).2 + (mul_nonneg (pow_nonneg hr.1 9) (sq_nonneg (f r))) + nlinarith [hh] + have hlower : d*(∫ r in (0 : ℝ)..R, r^11*radialHardyWeight a r*(deriv f r)^2) ≤ + ∫ r in (0 : ℝ)..R, r^11*μ r*(deriv f r)^2 := by + rw [← intervalIntegral.integral_const_mul] + apply intervalIntegral.integral_mono_on hR ((hBρ.const_mul d).intervalIntegrable 0 R) + (hB.intervalIntegrable 0 R) + intro r hr + have hh := mul_le_mul_of_nonneg_left (hb r hr).1 + (mul_nonneg (pow_nonneg hr.1 11) (sq_nonneg (deriv f r))) + nlinarith [hh] + have hhardy := radialHardyInequality_boundary a R ha ha1 hR f hf + have hu := mul_le_mul_of_nonneg_left hupper hd.le + have hh := mul_le_mul_of_nonneg_left hhardy (by positivity : 0 ≤ 9*d) + nlinarith + +theorem radialMatched_uniform_Hardy_boundary : + ∃ d : ℝ, 0 < d ∧ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ R : ℝ, 0 ≤ R → ∀ f : ℝ → ℝ, + ContDiff ℝ 1 f → + d*(∫ r in (0 : ℝ)..R, r^9*‖radialMatchedProfile n z r‖^2*(f r)^2) ≤ + 9*(∫ r in (0 : ℝ)..R, r^11*‖radialMatchedProfile n z r‖^2*(deriv f r)^2)+ + 36*d*radialHardyFlux (radialShootingA n) R*(f R)^2 := by + obtain ⟨d,hd,he⟩ := radialMatched_uniform_weight_comparison + refine ⟨d,hd,?_⟩ + filter_upwards [he] with n hn z hX hz R hR f hf + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have hm : (1 : ℝ) ≤ ((n+radialInnerShootingThreshold : ℕ) : ℝ) := by + exact_mod_cast radialShootingInner_power_pos n (profileMatchingParameter z) + have ha1 : radialShootingA n ≤ 1/2 := by + unfold radialShootingA + apply (div_le_iff₀ (by linarith : (0 : ℝ)<2*((n+radialInnerShootingThreshold : ℕ) : ℝ))).mpr + nlinarith + apply radialHardy_comparable_weight_boundary (radialShootingA n) R d ha.le ha1 hR hd + (fun r => ‖radialMatchedProfile n z r‖^2) + ((radialMatchedProfile_differentiable n z hX hz).continuous.norm.pow 2) + (fun r hr => hn z r hr.1) f hf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedInnerAmplitude.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedInnerAmplitude.lean new file mode 100644 index 0000000000000000000000000000000000000000..cf5c300623a8fdd6d8fc373801e1534f39d6530d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedInnerAmplitude.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialAmplitudeEquation +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingInnerAverage + +namespace OAI + +/-! Inner pressure bounds and endpoint data for the actual matched amplitude. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedAmplitude_eq_inner (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) + (hr : r ∈ Icc 0 innerBoundaryRadius) : + ‖radialMatchedProfile n z r‖=radialShootingInnerAmplitude n (profileMatchingParameter z) r := by + rw [radialMatchedProfile,ite_eq_left hr.2] + exact radialShootingInner_norm n (profileMatchingParameter z) r hr + +theorem radialMatchedAmplitude_inner_bounds (n : ℕ) (z : ProfileMatchingBall) + (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) : + ‖radialMatchedProfile n z r‖ ∈ Icc (999/1000 : ℝ) 1 ∧ + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold)) ≤ (1/2 : ℝ) := by + rw [radialMatchedAmplitude_eq_inner n z r hr] + have hi := (radialShootingInnerAmplitude_spec n (profileMatchingParameter z)).2.2.2.2.1 r + (by simpa only [radialShootingInnerData_R] using hr) + rw [radialShootingInnerData_p] at hi + simp only [Nat.add_sub_cancel] at hi + refine ⟨⟨?_,hi.1.2⟩,hi.2⟩ + have hl := (radialShootingInnerData n (profileMatchingParameter z)).lo_lower + linarith [hi.1.1] + +theorem radialMatchedAmplitude_derivative_continuousOn (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) : + ContinuousOn (deriv (fun r => ‖radialMatchedProfile n z r‖)) (Icc 0 R) := by + have hQ : ContinuousOn (radialMatchedProfile n z) (Icc 0 R) := + (radialMatchedProfile_differentiable n z hX hz).continuous.continuousOn + have hD := radialMatchedProfile_derivative_continuousOn n z hX hz R + have hn := Complex.continuous_re.comp_continuousOn (hQ.star.mul hD) + have hd := hn.div hQ.norm (fun r hr => norm_ne_zero_iff.mpr + (radialMatchedProfile_ne_zero n z hX r hr.1)) + apply hd.congr + intro r hr + apply (eq_div_iff (norm_ne_zero_iff.mpr + (radialMatchedProfile_ne_zero n z hX r hr.1))).2 + change deriv (fun t => ‖radialMatchedProfile n z t‖) r*‖radialMatchedProfile n z r‖= + (star (radialMatchedProfile n z r)*deriv (radialMatchedProfile n z) r).re + simpa only [mul_comm] using complexAmplitude_first_derivative _ r + (radialMatchedProfile_differentiable n z hX hz r) + (radialMatchedProfile_ne_zero n z hX r hr.1) + +theorem radialMatchedAmplitude_derivative_zero (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : + deriv (fun r => ‖radialMatchedProfile n z r‖) 0=0 := by + have hQ0 : deriv (radialMatchedProfile n z) 0=0 := by + rw [radialMatchedProfile_deriv_eq_inner n z 0 + (by linarith [innerBoundaryRadius_bounds.1])] + exact radialShootingInner_derivative_zero n (profileMatchingParameter z) + have hh := complexAmplitude_first_derivative _ 0 + (radialMatchedProfile_differentiable n z hX hz 0) + (radialMatchedProfile_ne_zero n z hX 0 le_rfl) + rw [hQ0,mul_zero,Complex.zero_re] at hh + exact (mul_eq_zero.mp hh).resolve_left (norm_ne_zero_iff.mpr + (radialMatchedProfile_ne_zero n z hX 0 le_rfl)) + +theorem radialMatchedAmplitude_endpoint_derivative_nonpos (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : + deriv (fun r => ‖radialMatchedProfile n z r‖) innerBoundaryRadius ≤ 0 := by + let A := fun r => ‖radialMatchedProfile n z r‖ + have hR : 0 < innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + have hmin : IsMinOn A (Icc 0 innerBoundaryRadius) innerBoundaryRadius := by + intro r hr + change ‖radialMatchedProfile n z innerBoundaryRadius‖ ≤ ‖radialMatchedProfile n z r‖ + rw [radialMatchedAmplitude_eq_inner n z r hr, + radialMatchedAmplitude_eq_inner n z innerBoundaryRadius ⟨hR.le,le_rfl⟩] + have hH := radialShootingInnerAmplitude_spec n (profileMatchingParameter z) + have hv := hH.2.2.1 + rw [radialShootingInnerData_R] at hv + rw [hv] + exact (hH.2.2.2.2.1 r (by simpa only [radialShootingInnerData_R] using hr)).1.1 + have hdir : 0-innerBoundaryRadius ∈ posTangentConeAt (Icc 0 innerBoundaryRadius) innerBoundaryRadius := + sub_mem_posTangentConeAt_of_segment_subset + ((convex_Icc (0 : ℝ) innerBoundaryRadius).segment_subset ⟨hR.le,le_rfl⟩ ⟨le_rfl,hR.le⟩) + have hA := (radialMatchedProfile_differentiable n z hX hz innerBoundaryRadius).norm ℂ + (radialMatchedProfile_ne_zero n z hX innerBoundaryRadius hR.le) + have hn : 0 ≤ deriv A innerBoundaryRadius*(0-innerBoundaryRadius) := by + simpa only [ContinuousLinearMap.smulRight_apply,one_apply_eq_self,mul_comm] using! + hmin.isLocalMinOn.hasFDerivWithinAt_nonneg hA.hasDerivAt.hasFDerivAt.hasFDerivWithinAt hdir + change deriv A innerBoundaryRadius ≤ 0 + nlinarith + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedKernelDeterminant.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedKernelDeterminant.lean new file mode 100644 index 0000000000000000000000000000000000000000..0977acc2e827867f7e49f4d460752ea98eab6108 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedKernelDeterminant.lean @@ -0,0 +1,101 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakDeterminant + +namespace OAI + +/-! The actual compact limiting pencil kernel is detected by the free determinant. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedLimit_kernel_slowDeterminant_of_boundary (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) + (v : SpectralRadialObservationSpace R) (hne : v ≠ 0) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hBoundary : B=spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) + (spectralGaugeRobin (radialShootingFreeExterior z R) (deriv (radialShootingFreeExterior z) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)))) + (hv : let hR := (radialMatchedCore_radius_pos z).trans hLR + s.limitPencil ell (radialMatchedCore_radius_pos z) hLR + (radialMatchedLimitWeakOperator ell z hc R hR ζ B) v=v) : + spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z)) + ((radialShootingR (profileMatchingParameter z))^2/4) ζ=0 := by + let hR := (radialMatchedCore_radius_pos z).trans hLR + obtain ⟨u,hu,hobs,hweak⟩ := (s.limitPencil_complex_variational ell + (radialMatchedCore_radius_pos z) hLR + (radialMatchedLimitWeakOperator ell z hc R hR ζ B) v).mp hv + apply radialMatchedWeak_nonzero_slowDeterminant_of_boundary ell z hz₁ hz hc R hLR s.limitWeight hmass + ζ hζ u hu (by simpa only [hobs] using hne) hdet B hBoundary + dsimp only + intro w + simpa only [hobs] using hweak w + +theorem radialMatchedLimit_kernel_slowDeterminant (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) + (v : SpectralRadialObservationSpace R) (hne : v ≠ 0) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (hv : let hR := (radialMatchedCore_radius_pos z).trans hLR + let Q := radialShootingFreeExterior z + let M := spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + let B := spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) (spectralGaugeRobin (Q R) (deriv Q R) M) + s.limitPencil ell (radialMatchedCore_radius_pos z) hLR + (radialMatchedLimitWeakOperator ell z hc R hR ζ B) v=v) : + spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z)) + ((radialShootingR (profileMatchingParameter z))^2/4) ζ=0 := by + exact radialMatchedLimit_kernel_slowDeterminant_of_boundary ell z hz₁ hz hc R hLR s hmass ζ hζ + v hne hdet (spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) + (spectralGaugeRobin (radialShootingFreeExterior z R) (deriv (radialShootingFreeExterior z) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)))) rfl hv + +theorem radialMatchedLimitPencil_kernel_zero (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) + (v : SpectralRadialObservationSpace R) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (hD : spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z)) + ((radialShootingR (profileMatchingParameter z))^2/4) ζ ≠ 0) + (hv : let hR := (radialMatchedCore_radius_pos z).trans hLR + let Q := radialShootingFreeExterior z + let M := spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + let B := spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) (spectralGaugeRobin (Q R) (deriv Q R) M) + s.limitPencil ell (radialMatchedCore_radius_pos z) hLR + (radialMatchedLimitWeakOperator ell z hc R hR ζ B) v=v) : v=0 := by + by_contra hne + exact hD (radialMatchedLimit_kernel_slowDeterminant ell z hz₁ hz hc R hLR s hmass + ζ hζ v hne hdet hv) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedKernelLine.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedKernelLine.lean new file mode 100644 index 0000000000000000000000000000000000000000..670446bf53d6622e1929b2961f7b051dc4d6d5f2 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedKernelLine.lean @@ -0,0 +1,139 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakDeterminant +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralKernelCoefficientLine +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeObservationLine + +namespace OAI + +/-! The actual constrained limiting pencil has a one-dimensional kernel +whenever its kernel is nonzero. The proof uses its physical H coefficients +and unique harmonic continuation into the core. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatchedWeak_free_coefficients (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1 = 0) (hz : diskProfile (profileMatchingParameter z) = 0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (w : SpectralHarmonicWeight R) (hw : w.density = radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) (u : SpectralHarmonicPair ell R) + (hu : u ∈ spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z))) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hBoundary : B = spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) + (spectralGaugeRobin (radialShootingFreeExterior z R) (deriv (radialShootingFreeExterior z) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)))) + (he : let hR := (radialMatchedCore_radius_pos z).trans hLR + ∀ v : spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z)), + spectralHarmonicPairComplexForm ell R w u v = + inner ℂ (radialMatchedLimitWeakOperator ell z hc R hR ζ B + (spectralHarmonicObservation ell R hR u)) v) : + let L := radialShootingR (profileMatchingParameter z) + let hR := (radialMatchedCore_radius_pos z).trans hLR + let P := spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ + let N := spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ + ∃ c : ℂ × ℂ, + c.1 • spectralFreeCoreBoundary ell L (P L) + + c.2 • spectralFreeCoreBoundary ell L (N L) = 0 ∧ + EqOn (spectralPhysicalGaugePair (radialShootingFreeExterior z) + (spectralHarmonicRepresentative ell R hR u.fst) + (spectralHarmonicRepresentative ell R hR u.snd)) + (fun r => c.1 • P r + c.2 • N r) (Ioo L R) := by + let L := radialShootingR (profileMatchingParameter z) + have hL : 0 < L := radialMatchedCore_radius_pos z + obtain ⟨c, hrep⟩ := radialMatchedWeak_free_representation_of_boundary ell z hz₁ hz hc R hLR + w hw ζ hζ u hdet B hBoundary he + refine ⟨c, ?_, hrep⟩ + have hY : ContinuousOn (fun r => + c.1 • spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ r + + c.2 • spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ r) + (Ico L R) := by + intro r hr + exact (spectralFreeCombination_hasDerivAt _ ζ _ _ _ c.1 c.2 r + (spectralFreePositivePhysical_hasDerivAt ell _ ζ hζ r (hL.trans_le hr.1)) + (spectralFreeNegativePhysical_hasDerivAt ell _ ζ hζ r (hL.trans_le hr.1))).continuousAt.continuousWithinAt + have hb := radialMatchedWeak_physical_core ell z hz₁ hz hc R hLR w hw ζ B u hu he _ hY hrep.symm + simpa only [spectralFreeCoreBoundary_linear] using hb + +theorem radialMatchedWeak_observation_line (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1 = 0) (hz : diskProfile (profileMatchingParameter z) = 0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (w : SpectralHarmonicWeight R) (hw : w.density = radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) (u v : SpectralHarmonicPair ell R) + (hu : u ∈ spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z))) + (hv : v ∈ spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z))) + (hne : spectralHarmonicObservation ell R ((radialMatchedCore_radius_pos z).trans hLR) u ≠ 0) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hBoundary : B = spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) + (spectralGaugeRobin (radialShootingFreeExterior z R) (deriv (radialShootingFreeExterior z) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)))) + (heu : let hR := (radialMatchedCore_radius_pos z).trans hLR + ∀ t : spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z)), + spectralHarmonicPairComplexForm ell R w u t = + inner ℂ (radialMatchedLimitWeakOperator ell z hc R hR ζ B + (spectralHarmonicObservation ell R hR u)) t) + (hev : let hR := (radialMatchedCore_radius_pos z).trans hLR + ∀ t : spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z)), + spectralHarmonicPairComplexForm ell R w v t = + inner ℂ (radialMatchedLimitWeakOperator ell z hc R hR ζ B + (spectralHarmonicObservation ell R hR v)) t) : + ∃ a : ℂ, spectralHarmonicObservation ell R ((radialMatchedCore_radius_pos z).trans hLR) v = + a • spectralHarmonicObservation ell R ((radialMatchedCore_radius_pos z).trans hLR) u := by + let L := radialShootingR (profileMatchingParameter z) + have hL : 0 < L := radialMatchedCore_radius_pos z + let P := spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ + let N := spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ + obtain ⟨cu, hcu, hru⟩ := radialMatchedWeak_free_coefficients ell z hz₁ hz hc R hLR + w hw ζ hζ u hu hdet B hBoundary heu + obtain ⟨cv, hcv, hrv⟩ := radialMatchedWeak_free_coefficients ell z hz₁ hz hc R hLR + w hw ζ hζ v hv hdet B hBoundary hev + obtain ⟨hfu, _, Cu, hgu, _⟩ := radialMatchedWeak_core ell z hc R hLR w hw ζ B u hu heu + obtain ⟨hfv, _, Cv, hgv, _⟩ := radialMatchedWeak_core ell z hc R hLR w hw ζ B v hv hev + have hcune : cu ≠ 0 := by + intro hzcu + apply hne + apply spectralHarmonicObservation_zero_of_exterior_gauge ell L R hL hLR u + (radialShootingFreeExterior z) (fun r hr => radialShootingFreeExterior_ne_zero z r hr.1.le) + hfu Cu hgu + intro r hr + rw [hru hr, hzcu] + simp only [Prod.fst_zero, Prod.snd_zero, zero_smul, add_zero] + have hD : matchingColumnDeterminant (spectralFreeCoreBoundary ell L (P L)) + (spectralFreeCoreBoundary ell L (N L)) = 0 := by + by_contra hD + obtain ⟨h1,h2⟩ := matchingColumn_coefficients_zero _ _ cu.1 cu.2 hD hcu + exact hcune (Prod.ext h1 h2) + obtain ⟨a, ha⟩ := matchingColumn_kernel_line _ _ + (spectralFreePositivePhysical_core_ne_zero ell _ L ζ hL hζ) hD cu cv hcune hcu hcv + refine ⟨a, ?_⟩ + apply spectralHarmonicObservation_eq_of_gauge_values ell L R hL hLR v u + (radialShootingFreeExterior z) (fun r hr => radialShootingFreeExterior_ne_zero z r hr.1.le) + a Cv Cu hfv hfu hgv hgu + intro r hr + have heq : spectralPhysicalGaugePair (radialShootingFreeExterior z) + (spectralHarmonicRepresentative ell R (hL.trans hLR) v.fst) + (spectralHarmonicRepresentative ell R (hL.trans hLR) v.snd) r = + a • spectralPhysicalGaugePair (radialShootingFreeExterior z) + (spectralHarmonicRepresentative ell R (hL.trans hLR) u.fst) + (spectralHarmonicRepresentative ell R (hL.trans hLR) u.snd) r := by + rw [hrv hr, hru hr, ha] + simp only [Prod.smul_fst, Prod.smul_snd, smul_eq_mul, mul_smul, smul_add] + exact ⟨congrArg (fun X : E₄ => X.1.1) heq, congrArg (fun X : E₄ => X.2.1) heq⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedLimitSpectrum.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedLimitSpectrum.lean new file mode 100644 index 0000000000000000000000000000000000000000..f65e29c74e9b9cf81fa1f95436954e7c8c81ebeb --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedLimitSpectrum.lean @@ -0,0 +1,42 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedKernelDeterminant +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSpectralClassification + +namespace OAI + +/-! The actual constrained limiting pencil has only the symmetry spectral +values in the closed counting half-plane. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedLimit_kernel_symmetry (hRouche : RectangleRouche) + (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1=0) (hz : diskProfile (profileMatchingParameter z)=0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousComplexLinearizedStep homogeneousStableCoordinates + diagonalRealCoordinates cutoffProfileEndpoint HasFiniteDiagonalTorusLinearSteps + +theorem radialMatched_exists_linear_step (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = Qp x) ∧ + ∃ P : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem P ∧ ∃ hfin : FiniteDimensional ℂ P.range, + letI := hfin + ∃ Q : ℝ, ∃ hQ : 0 ≤ Q, + ∃ hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a (N + 1 : ℕ) ha1 hk χ hχ Qp hQp L‖ ≤ Q, + HasFiniteDiagonalTorusLinearSteps + (homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P) + (cutoffProfileEndpoint a b (N + 1 : ℕ) ha ha1 hk m χ hχ Qp hQp Q hQ hqb) := by + filter_upwards [radialMatched_exists_stable_transfer hRou] with n hn + intro z hX hz χ hχ hχzero hχone + obtain ⟨N, hk10, q, hq, P, hP, hfin, hcomm, hgen, Q, hQ, hqb, hstable⟩ := + hn z hX hz χ hχ hχzero hχone + obtain ⟨G, hG, hspec, hspan⟩ := hgen + let : FiniteDimensional ℂ P.range := hfin + refine ⟨N, hk10, q, hq, P, hP, hfin, Q, hQ, hqb, ?_⟩ + apply cutoffProfile_diagonal_linear_steps _ _ _ _ _ hk10 _ χ hχ hχzero hχone + _ _ q hq Q hQ hqb P hcomm G hG hspan hspec + intro β hβ + obtain ⟨T₀, hT₀, hT⟩ := hstable β hβ + refine ⟨T₀, hT₀, fun T hTT => ?_⟩ + obtain ⟨L₀, hL₀⟩ := hT T T.2 hTT + refine ⟨L₀, fun L hL f hf hz => ?_⟩ + simpa only [cutoffProfileEndpoint_apply] using hL₀ L hL f hf hz + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedMultiplierLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedMultiplierLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..cb87aebcae2816738064e9543b3c604ca9dbc75c --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedMultiplierLimit.lean @@ -0,0 +1,77 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFluxLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralContinuousMultiplier + +namespace OAI + +/-! The mass and transport multipliers of the actual matched family. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMatchedMassFunction (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℝ := + ‖radialMatchedProfile n z r‖^2 + +noncomputable def radialMatchedTransportFunction (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℝ := + (6-2*radialShootingA n)*(r*radialAverage (radialMatchedMassFunction n z) r) + +noncomputable def radialMatchedFreeMassFunction (z : ProfileMatchingBall) (r : ℝ) : ℝ := + ‖radialMatchedFreeProfile z r‖^2 + +noncomputable def radialMatchedFreeTransportFunction (z : ProfileMatchingBall) (r : ℝ) : ℝ := + 6*(r*radialAverage (radialMatchedFreeMassFunction z) r) + +theorem radialMatchedMassFunction_continuous (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hm : radialMatchingMap n z=0) : Continuous (radialMatchedMassFunction n z) := + (radialMatchedProfile_differentiable n z hX hm).continuous.norm.pow 2 + +theorem radialMatchedTransportFunction_continuous (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hm : radialMatchingMap n z=0) : Continuous (radialMatchedTransportFunction n z) := + continuous_const.mul (continuous_id.mul + (continuous_radialAverage _ (radialMatchedMassFunction_continuous n z hX hm))) + +variable (s : ℕ → ℕ) (hs : StrictMono s) (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + +include s hs z hz hX hm + +theorem radialMatchedFreeMassFunction_continuous : Continuous (radialMatchedFreeMassFunction z₀) := + (radialMatchedFreeProfile_continuous s hs z z₀ hz hX hm).norm.pow 2 + +theorem radialMatchedFreeTransportFunction_continuous : + Continuous (radialMatchedFreeTransportFunction z₀) := + continuous_const.mul (continuous_id.mul + (continuous_radialAverage _ (radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm))) + +theorem radialMatched_massMultiplier_tendsto (R : ℝ) : + Tendsto (fun i => spectralRadialWeightMultiplier R + (spectralContinuousCoefficient R (radialMatchedMassFunction (s i) (z i)) + (radialMatchedMassFunction_continuous (s i) (z i) (hX i) (hm i)))) atTop + (𝓝 (spectralRadialWeightMultiplier R + (spectralContinuousCoefficient R (radialMatchedFreeMassFunction z₀) + (radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm)))) := by + apply spectralContinuousMultiplier_tendsto + exact radialMatched_mass_uniform_limit s hs z z₀ hz hX hm R + +theorem radialMatched_transportMultiplier_tendsto (R : ℝ) (hR : 0 ≤ R) : + Tendsto (fun i => spectralRadialWeightMultiplier R + (spectralContinuousCoefficient R (radialMatchedTransportFunction (s i) (z i)) + (radialMatchedTransportFunction_continuous (s i) (z i) (hX i) (hm i)))) atTop + (𝓝 (spectralRadialWeightMultiplier R + (spectralContinuousCoefficient R (radialMatchedFreeTransportFunction z₀) + (radialMatchedFreeTransportFunction_continuous s hs z z₀ hz hX hm)))) := by + apply spectralContinuousMultiplier_tendsto + have ht := radialMatchedWeightedFlux_uniform_limit s hs z z₀ hz hX hm R hR + exact ht.congr (Eventually.of_forall (fun i r hr => + radialMatchedWeightedFlux_average_nonneg (s i) (z i) (hX i) (hm i) r hr.1)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedNonlinearStep.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedNonlinearStep.lean new file mode 100644 index 0000000000000000000000000000000000000000..d1db65b649bed863f4806e1495e8ca2f3c0d90c0 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedNonlinearStep.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStepLinearization +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedProfileBounds +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCartesianEquation + +namespace OAI + +/-! # Nonlinear cutoff steps for the actual matched stationary profile -/ + +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +theorem radialMatched_nonlinear_steps (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z = 0) (k : ℝ) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ x : E, ‖x‖ < 1 / 2 → χ x = 1) + (hχzero : ∀ x : E, 1 ≤ ‖x‖ → χ x = 0) (T : ℝ≥0) : + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∀ (Q : ℝ) (hQ : 0 ≤ Q), + ∀ hqb : ∀ L : Radius, ‖cutoffProfileCoefficient a k ha1 hk + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp L‖ ≤ Q, + HasCutoffNonlinearSteps a b k ha ha1 hk (n + radialInnerShootingThreshold) + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp Q hQ hqb T := by + intro a ha ha1 b Qp hQp Q hQ hqb + have hm : (n + radialInnerShootingThreshold : ℝ) ≠ 0 := by + exact_mod_cast (radialShootingInner_power_pos n (profileMatchingParameter z)).ne' + have ham : 2 * a * ((n + radialInnerShootingThreshold : ℕ) : ℝ) = 1 := by + dsimp [a, radialShootingA] + push_cast + field_simp + obtain ⟨N, hN⟩ := exists_cutoffNonlinear_steps_order a b k ha ha1 hk + (n + radialInnerShootingThreshold) ham χ hχ hχone hχzero T + obtain ⟨B, hB, hb⟩ := radialMatchedCartesian_finite_symbol n z hX hz N + exact hN Qp hQp B hB hb (radialMatchedCartesian_stationary n z hX hz) Q hQ hqb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedNonradialExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedNonradialExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..fe2f1fd88e951c7f2c4c3d21a2da0cfdbefaf337 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedNonradialExclusion.lean @@ -0,0 +1,31 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCompactExclusion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialFreeSpectralDisk +import OAI.MathematicalPhysics.DefocusingNLS.Certificates.FreeOutgoingNonvanishing + +namespace OAI + +/-! In each fixed angular degree at least two, actual matched eigenvalues +eventually leave every compact subset of the counting half-plane. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedSpectralMode_nonradial_compact_exclusion + (hR : RectangleRouche) (ell N : ℕ) (hell : 2≤ell) (hN : 7≤N) + (K : Set ℂ) (hK : IsCompact K) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius) → + radialMatchingMap n z=0 → ∀ lam ∈ K, -(1/32 : ℝ)≤lam.re → + ¬ Nonempty (RadialSpectralMode (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) N + (radialMatchedProfile n z) ((ell : ℂ)*(ell+10)) lam) := by + apply radialMatchedSpectralMode_compact_exclusion ell N hN K hK + intro z _ _ lam _ hhalf + exact free_outgoing_nonzero hR ell hell _ _ + (radialShooting_freeMatchingDisk (profileMatchingParameter z)) lam hhalf + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedOpenBlowup.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedOpenBlowup.lean new file mode 100644 index 0000000000000000000000000000000000000000..2068db452a86ba37d6ebcd5a4c5c8763442270af --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedOpenBlowup.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCoordinateOpen +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.PhysicalCutoffBlowup +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCoordinateStableOrbit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedBlowup + +namespace OAI + +/-! # The matched profiles give open sets of physical finite-time blowup data -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] HasFiniteTimeSelfSimilarBlowup HasPhysicalCutoffOrbit + HasPhysicalCoordinateStableOrbits homogeneousStableCoordinates + +theorem radialMatched_exists_open_blowup (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∃ (N : ℕ) (hk : 8 < ((N + 1 : ℕ) : ℝ)), + ∃ U : Set FourierL2, U.Nonempty ∧ IsOpen U ∧ ∀ f ∈ U, + HasFiniteTimeSelfSimilarBlowup (N + 1 : ℕ) (by linarith) + (n + radialInnerShootingThreshold) (radialShootingA n) f := by + have hs : Tendsto (fun n : ℕ => n + radialInnerShootingThreshold) atTop atTop := + tendsto_atTop_mono (fun n => Nat.le_add_right n _) tendsto_id + filter_upwards [radialMatched_exists_coordinate_stable_orbits hRou, + exists_radialMatchingMap_zero, hs.eventually radialShootingExterior_exists] with n hn hz hX + obtain ⟨z, hz⟩ := hz + obtain ⟨N, hk10, q, _, P, _, hfin, hstable⟩ := hn z (hX z) hz + homogeneousRealCoreCutoff homogeneousRealCoreCutoff_support + homogeneousRealCoreCutoff_zero homogeneousRealCoreCutoff_one + let : FiniteDimensional ℂ P.range := hfin + have hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let b := radialShootingB (profileMatchingParameter z) + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let Q := radialMatchedCartesian n z + have hQ := radialMatchedCartesian_contDiff n z (hX z) hz + have hS : HasCartesianSymbol (-2 * a) Q := + ⟨hQ, fun j => radialMatchedCartesian_symbol n z (hX z) hz j⟩ + let χ := homogeneousRealCoreCutoff.postcompCLM Complex.ofRealCLM + have hχ := hasCompactSupport_complexCutoff homogeneousRealCoreCutoff homogeneousRealCoreCutoff_support + have hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y = 0 := by + intro y hy + simp only [χ, SchwartzMap.postcompCLM_apply, + homogeneousRealCoreCutoff_zero y hy, map_zero] + have hχone : ∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1 := by + intro y hy + simp only [χ, SchwartzMap.postcompCLM_apply, + homogeneousRealCoreCutoff_one y hy, Complex.ofRealCLM_apply, Complex.ofReal_one] + obtain ⟨U, hUn, hUo, hU⟩ := physicalCoordinateStableOrbits_open a b (N + 1 : ℕ) ha ha1 hk + (n + radialInnerShootingThreshold) χ hχ hχzero hχone Q hQ hS + (homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P) hstable + refine ⟨N, hk, U, hUn, hUo, fun f hf => ?_⟩ + have hQzero : Q 0 ≠ 0 := by + simpa only [Q, radialMatchedCartesian, norm_zero] using + radialMatchedProfile_ne_zero n z (hX z) 0 le_rfl + exact (hU f hf).blowup a b (N + 1 : ℕ) ha ha1 hk (n + radialInnerShootingThreshold) + (radialShootingA_scaling n z) homogeneousRealCoreCutoff homogeneousRealCoreCutoff_support + (fun y hy => homogeneousRealCoreCutoff_one y hy.le) + (fun y hy => homogeneousRealCoreCutoff_zero y (by linarith)) Q hQ hQzero f + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPenaltyFamily.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPenaltyFamily.lean new file mode 100644 index 0000000000000000000000000000000000000000..2b3405de8bef623fb362ef923707083a0ca298aa --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPenaltyFamily.lean @@ -0,0 +1,134 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeightLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFreeSubunit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPressureLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPowerPressureAway +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPenaltyFamily + +namespace OAI + +/-! The actual matched profiles instantiate every coefficient hypothesis of the +singular pressure-inverse limit; no operator convergence is assumed here. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_penaltyFamily (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R : ℝ) (hR : innerBoundaryRadius ≤ R) : + ∃ N : ℕ, ∃ F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀)), + (∀ i, (F.weight i).density=fun r => ‖radialMatchedProfile (s (i+N)) (z (i+N)) r‖^2) ∧ + F.limitWeight.density=(fun r => ‖radialMatchedFreeProfile z₀ r‖^2) ∧ + (∀ i, F.pressure i=fun r => ‖radialMatchedProfile (s (i+N)) (z (i+N)) r‖^ + (2*(s (i+N)+radialInnerShootingThreshold))) ∧ + (∀ i, F.scale i=radialShootingA (s (i+N))) ∧ + F.corePressure=radialShootingB (profileMatchingParameter z₀) := by + obtain ⟨c,M,hc,hM,hlim,hbounds⟩ := radialMatched_uniform_weight_bounds s hs z z₀ hz hX hm R + obtain ⟨N,hN⟩ := eventually_atTop.mp + (hbounds.and (hs.tendsto_atTop.eventually radialMatched_global_pressure_bound)) + let t := fun i => s (i+N) + let y := fun i => z (i+N) + have ht : StrictMono t := fun i j hij => hs (Nat.add_lt_add_right hij N) + have hshift : Tendsto (fun i : ℕ => i+N) atTop atTop := + tendsto_atTop_mono (fun i => Nat.le_add_right i N) tendsto_id + have hy : Tendsto y atTop (𝓝 z₀) := hz.comp hshift + have hXt (i : ℕ) : HasRadialExterior (radialShootingNu (t i+radialInnerShootingThreshold) (y i)) + (t i+radialInnerShootingThreshold) (radialShootingM (y i)) (Real.log innerBoundaryRadius) := hX (i+N) + have hmt (i : ℕ) : radialMatchingMap (t i) (y i)=0 := hm (i+N) + let q := fun i r => ‖radialMatchedProfile (t i) (y i) r‖^2 + let q₀ := fun r => ‖radialMatchedFreeProfile z₀ r‖^2 + let p := fun i => 2*(t i+radialInnerShootingThreshold) + let P := fun i r => ‖radialMatchedProfile (t i) (y i) r‖^(p i) + have hq (i : ℕ) : Continuous (q i) := + (radialMatchedProfile_differentiable (t i) (y i) (hXt i) (hmt i)).continuous.norm.pow 2 + have hq₀ : Continuous q₀ := (radialMatchedFreeProfile_continuous s hs z z₀ hz hX hm).norm.pow 2 + have hqb (i : ℕ) : ∀ r ∈ Icc 0 R, ‖q i r‖ ≤ M := + fun r hr => ((hN (i+N) (by omega)).1 r hr).2 + have hql (i : ℕ) : ∀ r ∈ Icc 0 R, c ≤ q i r := + fun r hr => ((hN (i+N) (by omega)).1 r hr).1 + let w := fun i => spectralContinuousWeight R (q i) (hq i) M (hqb i) + let w₀ := spectralContinuousWeight R q₀ hq₀ M (fun r hr => (hlim r hr).2) + have hwl (i : ℕ) := spectralContinuousWeight_lower R (q i) (hq i) M (hqb i) c (hql i) + have hw₀l := spectralContinuousWeight_lower R q₀ hq₀ M (fun r hr => (hlim r hr).2) + c (fun r hr => (hlim r hr).1) + have hqu := radialMatched_mass_uniform_limit t ht y z₀ hy hXt hmt R + obtain ⟨δ,hδ,hδ0,hδb⟩ := spectralUniform_error_bound q q₀ hqu (fun i => + ⟨2*M,fun r hr => (norm_sub_le (q i r) (q₀ r)).trans (by + have h1 := hqb i r hr + have h2 := (hlim r hr).2 + linarith)⟩) + have hp : Tendsto p atTop atTop := + tendsto_atTop_mono (fun i => by dsimp [p]; omega) ht.tendsto_atTop + have hp0 (i : ℕ) : 0 < p i := by + have h := radialShootingInner_power_pos (t i) (profileMatchingParameter (y i)) + dsimp [p] + omega + have hPb (i : ℕ) : ∀ r ∈ Icc 0 R, ‖P i r‖ ≤ 1 := by + intro r hr + rw [Real.norm_eq_abs,abs_of_nonneg (show 0 ≤ P i r by positivity)] + exact (hN (i+N) (by omega)).2 (y i) r hr.1 + have hPmeas (i : ℕ) : AEStronglyMeasurable (P i) (radialPressureMeasure R) := + ((radialMatchedProfile_differentiable (t i) (y i) (hXt i) (hmt i)).continuous.norm.pow _).aestronglyMeasurable + have haw : ∀ d : ℝ, 0 < d → ∃ η : ℕ → ℝ, (∀ i, 0 ≤ η i) ∧ + Tendsto η atTop (𝓝 0) ∧ ∀ i, ∀ᵐ r ∂radialPressureMeasure R, + radialShootingR (profileMatchingParameter z₀)+d < r → + ‖(1/(p i : ℝ))⁻¹*((w i).density r*P i r)‖ ≤ η i := by + intro d hd + obtain ⟨ρ,hρ,hρb⟩ := radialMatchedFreeProfile_uniform_subunit t ht y z₀ hy hXt hmt R d hd + apply spectralPower_pressure_away R (radialShootingR (profileMatchingParameter z₀)+d) + M hM w (fun i => (w i).radial_bound) + (fun i r => ‖radialMatchedProfile (t i) (y i) r‖) + (fun r => ‖radialMatchedFreeProfile z₀ r‖) + ((uniformContinuous_norm.comp_tendstoUniformlyOn + (radialMatchedProfile_uniform_limit t ht y z₀ hy R)).mono inter_subset_left) + ?_ (max ρ 0) (le_max_right _ _) (max_lt hρ (by norm_num)) ?_ p hp + · intro i r hr + rw [norm_norm] + apply (pow_le_one_iff_of_nonneg (norm_nonneg _) (hp0 i).ne').mp + simpa only [P,norm_pow,norm_norm] using hPb i r hr.1 + · intro r hr + rw [norm_norm] + exact (hρb r ⟨hr.2.le,hr.1.2⟩).trans (le_max_left _ _) + let F : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z₀)) := { + weight := w + limitWeight := w₀ + lower := c + lower_pos := hc + radial_lower := fun i => (hwl i).1 + angular_lower := fun i => (hwl i).2 + limit_radial_lower := hw₀l.1 + limit_angular_lower := hw₀l.2 + error := δ + error_nonneg := hδ + error_zero := hδ0 + radial_error := fun i => radialPressureMeasure_bound R (δ i) _ (hδb i) + angular_error := fun i => by + unfold spectralAngularMeasure + apply (ae_withDensity_iff (by fun_prop)).2 + filter_upwards [ae_restrict_mem measurableSet_Icc] with r hr _ + exact hδb i r hr + pressure := P + pressure_measurable := hPmeas + pressure_bound := fun i => radialPressureMeasure_bound R 1 _ (hPb i) + pressure_nonneg := fun i => Eventually.of_forall (fun r => by positivity) + scale := fun i => 1/(p i : ℝ) + scale_pos := fun i => one_div_pos.mpr (Nat.cast_pos.mpr (hp0 i)) + scale_zero := (tendsto_one_div_atTop_nhds_zero_nat : + Tendsto (fun n : ℕ => 1/(n : ℝ)) atTop (𝓝 0)).comp hp + corePressure := radialShootingB (profileMatchingParameter z₀) + corePressure_pos := by have hb := (radialShooting_geometry (profileMatchingParameter z₀)).1; linarith [hb.1] + pressure_weak := fun φ hφ => radialMatched_pressure_weakstar t ht y z₀ hy hXt hmt R hR φ hφ + pressure_away := haw } + refine ⟨N,F,fun _ => rfl,rfl,fun _ => rfl,?_,rfl⟩ + intro i + dsimp [F,p,radialShootingA,t] + push_cast + rfl + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilAnalytic.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilAnalytic.lean new file mode 100644 index 0000000000000000000000000000000000000000..db4717dd2ef4b3240ad5d5262c5f376bb271fa94 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilAnalytic.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakOperator +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLowerOrderAnalytic +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactPencil + +namespace OAI + +/-! Holomorphy of the finite-power matched pencil follows from its actual +mass and transport coefficients and the outgoing Robin family. -/ + +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance matchedWeakAnalyticNormed (ell : ℕ) (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralHarmonicPair ell R) := by + let : NormedAddCommGroup (SpectralHarmonicPair ell R) := inferInstance + let : NormedSpace ℂ (SpectralHarmonicPair ell R) := inferInstance + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +noncomputable local instance matchedPencilAnalyticNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedWeakOperator_analyticAt (n ell : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hm : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) + (B : ℂ → ℂ × ℂ →L[ℂ] ℂ × ℂ) (lam : ℂ) (hB : AnalyticAt ℂ B lam) : + AnalyticAt ℂ (fun t => radialMatchedWeakOperator n ell z hX hm R hR t (B t)) lam := by + unfold radialMatchedWeakOperator + exact spectralLowerOrderOperator_analyticAt ell R hR _ _ _ B lam hB + +theorem radialMatchedPencil_analyticAt (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hm : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (B : ℂ → ℂ × ℂ →L[ℂ] ℂ × ℂ) (lam : ℂ) (hB : AnalyticAt ℂ B lam) : + AnalyticAt ℂ (fun t => s.compactPencil ell hR i + (radialMatchedWeakOperator n ell z hX hm R hR t (B t))) lam := by + exact s.compactPencil_analyticAt ell hR i _ lam + (radialMatchedWeakOperator_analyticAt n ell z hX hm R hR B lam hB) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..6c4734e115158443f7ca7cd0a7702c96c7a0690b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilExclusion.lean @@ -0,0 +1,56 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedKernelDeterminant +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakParameterLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilExclusion + +namespace OAI + +/-! A nonzero free matching determinant excludes nearby matched weak kernels. +The weights and pressure may be supplied by `radialMatched_penaltyFamily`. -/ + +open Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedPencil_eventually_kernel_zero + (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (R : ℝ) (hLR : radialShootingR (profileMatchingParameter z₀) radialMatchedWeakOperator (s i) ell (z i) (hX i) (hm i) R hR (ζ i) (B i)) + (radialMatchedLimitWeakOperator ell z₀ hc R hR ζ₀ B₀) + (radialMatchedWeakOperator_parameter_tendsto ell s hs z z₀ hz hX hm R hR ζ ζ₀ hζ B B₀ hB) + intro v hv + by_contra hne + exact hD (radialMatchedLimit_kernel_slowDeterminant_of_boundary ell z₀ hz₁ hz₀ hc R hLR + F hmass ζ₀ hζ₀ v hne hdet B₀ hBoundary hv) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilJointLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilJointLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..2f39a9379e851896c86eb548e8c454aac124a954 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilJointLimit.lean @@ -0,0 +1,41 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedWeakParameterLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeakJointLimit + +namespace OAI + +/-! The actual finite-power weak operator converges jointly with its spectral +parameter, once the outgoing Robin family has the corresponding joint limit. -/ + +open Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedWeakOperator_joint_tendsto (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (R : ℝ) (hR : 0 < R) + (ζ₀ : ℂ) (B : ℕ → ℂ → ℂ × ℂ →L[ℂ] ℂ × ℂ) + (B₀ : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hB : Tendsto (fun p : ℕ × ℂ => B p.1 p.2) (atTop ×ˢ 𝓝 ζ₀) (𝓝 B₀)) : + Tendsto (fun p : ℕ × ℂ => radialMatchedWeakOperator (s p.1) ell (z p.1) + (hX p.1) (hm p.1) R hR p.2 (B p.1 p.2)) (atTop ×ˢ 𝓝 ζ₀) + (𝓝 (radialMatchedLimitWeakOperator ell z₀ + (radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm) R hR ζ₀ B₀)) := by + have hr : Tendsto (fun i => 6-2*radialShootingA (s i)) atTop (𝓝 (6 : ℝ)) := by + simpa only [Function.comp_def,mul_zero,sub_zero] using + tendsto_const_nhds.sub ((radialShootingA_tendsto_zero.comp hs.tendsto_atTop).const_mul 2) + have hc : Tendsto (fun i => ((6-2*radialShootingA (s i) : ℝ) : ℂ)) atTop (𝓝 (6 : ℂ)) := + Complex.continuous_ofReal.continuousAt.tendsto.comp hr + unfold radialMatchedWeakOperator radialMatchedLimitWeakOperator + apply spectralLowerOrderOperator_tendsto_filter + · exact (radialMatched_massMultiplier_tendsto s hs z z₀ hz hX hm R).comp tendsto_fst + · exact (radialMatched_transportMultiplier_tendsto s hs z z₀ hz hX hm R hR.le).comp tendsto_fst + · exact hc.comp tendsto_fst + · exact tendsto_snd + · exact hB + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilRobin.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilRobin.lean new file mode 100644 index 0000000000000000000000000000000000000000..98b5b4ec2839fae37134429ed47b7d6209704c52 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilRobin.lean @@ -0,0 +1,65 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilRobin +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedFluxSmoothness + +namespace OAI + +/-! The matched limiting pencil has the physical outgoing Robin boundary condition. -/ + +open Set +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedLimit_kernel_robin (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (δ : ℝ) (hlδ : radialShootingR (profileMatchingParameter z) < δ) (hδR : δ < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density=radialMatchedFreeMassFunction z) + (ζ : ℂ) (M : ℂ × ℂ →L[ℂ] ℂ × ℂ) (v : SpectralRadialObservationSpace R) + (hv : let hR := (radialMatchedCore_radius_pos z).trans hLR + let Q := radialMatchedFreeProfile z + s.limitPencil ell (radialMatchedCore_radius_pos z) hLR + (radialMatchedLimitWeakOperator ell z hc R hR ζ + (spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) (spectralGaugeRobin (Q R) (deriv Q R) M))) v=v) : + let hR := (radialMatchedCore_radius_pos z).trans hLR + let Q := radialMatchedFreeProfile z + ∃ u : SpectralHarmonicPair ell R, + u ∈ spectralHarmonicCoreSubspace ell R (radialShootingR (profileMatchingParameter z)) ∧ + spectralHarmonicObservation ell R hR u=v ∧ + ∃ f g : ℝ → ℂ, Continuous f ∧ Continuous g ∧ + EqOn f (spectralHarmonicRepresentative ell R hR u.fst) (Icc δ R) ∧ + EqOn g (spectralHarmonicRepresentative ell R hR u.snd) (Icc δ R) ∧ + spectralGaugeColumns (Q R) (deriv f R,deriv g R)+ + spectralGaugeColumns (deriv Q R) (f R,g R)=M (spectralGaugeColumns (Q R) (f R,g R)) := by + dsimp only at hv ⊢ + let a := spectralContinuousCoefficient R (radialMatchedFreeTransportFunction z) + (continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc))) + have hR := (radialMatchedCore_radius_pos z).trans hLR + have hQ := spectralRadialWeightMultiplier_eq_of_density R s.limitWeight + (spectralContinuousCoefficient R (radialMatchedFreeMassFunction z) hc) hmass + have hw : ContinuousOn s.limitWeight.density (Ioo 0 R) := by rw [hmass]; exact hc.continuousOn + have hwc : ContinuousOn s.limitWeight.density (Icc δ R) := by rw [hmass]; exact hc.continuousOn + have ha : Continuous a.density := + continuous_const.mul (continuous_id.mul (continuous_radialAverage _ hc)) + have haD : a.density=radialMatchedFreeTransportFunction z := rfl + have hp (x : ℝ) (hx : 0 ≤ x) : 0 < s.limitWeight.density x := by + rw [hmass] + exact radialMatchedFreeMass_pos z x hx + have hq : radialMatchedFreeProfile z R ≠ 0 := by + intro hz + have h := radialMatchedFreeMass_pos z R hR.le + simp only [radialMatchedFreeMassFunction,hz,norm_zero,zero_pow (by norm_num : (2 : ℕ) ≠ 0),lt_self_iff_false] at h + obtain ⟨u,hu,hobs,f,g,hf,hg,hef,heg,hboundary⟩ := s.limitPencil_robin ell + (radialMatchedCore_radius_pos z) hLR δ hlδ hδR a 6 ζ + (spectralGaugeRobin (radialMatchedFreeProfile z R) (deriv (radialMatchedFreeProfile z) R) M) + hw ha.continuousOn hwc ha.continuousOn (fun x hx => hp x hx.1.le) + (fun x hx => hp x (((radialMatchedCore_radius_pos z).trans hlδ).le.trans hx.1)) v (by + rw [hQ,hmass,haD] + exact hv) + refine ⟨u,hu,hobs,f,g,hf,hg,hef,heg,?_⟩ + exact (spectralGaugeRobin_condition _ _ hq M (f R,g R) (deriv f R,deriv g R)).mpr hboundary + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilUniformLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilUniformLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..b3677fa2a2e4a5c61a3dfe5b622a9506cfa089ae --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPencilUniformLimit.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCompactJointLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralJointUniformLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLowerOrderAnalytic + +namespace OAI + +/-! Locally uniform convergence of the actual finite-power compact pencil +from locally uniform convergence of its outgoing boundary matrices. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance compactUniformNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedPencil_tendstoLocallyUniformlyOn (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (R : ℝ) (hLR : radialShootingR (profileMatchingParameter z₀) F.compactPencil ell hR i + (radialMatchedWeakOperator (s i) ell (z i) (hX i) (hm i) R hR lam (B i lam))) + (fun lam => F.limitPencil ell hL hLR (radialMatchedLimitWeakOperator ell z₀ + (radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm) R hR lam (B₀ lam))) + atTop U := by + let hL := radialMatchedCore_radius_pos z₀ + let hR := hL.trans hLR + let hc := radialMatchedFreeMassFunction_continuous s hs z z₀ hz hX hm + let P₀ := fun lam => F.limitPencil ell hL hLR + (radialMatchedLimitWeakOperator ell z₀ hc R hR lam (B₀ lam)) + have hP₀ (lam : ℂ) (hlam : lam ∈ U) : AnalyticAt ℂ P₀ lam := by + apply F.limitPencil_analyticAt ell hL hLR + unfold radialMatchedLimitWeakOperator + exact spectralLowerOrderOperator_analyticAt ell R hR _ _ 6 B₀ lam (hB₀ lam hlam) + apply spectral_locallyUniform_of_joint _ P₀ U hU + · intro lam hlam + exact (hP₀ lam hlam).differentiableAt.continuousAt.continuousWithinAt + · intro lam hlam + have hBj := spectral_locallyUniform_joint_tendsto B B₀ U hU hB lam hlam + (hB₀ lam hlam).differentiableAt.continuousAt + exact radialMatchedPencil_joint_tendsto ell s hs z z₀ hz hX hm R hLR F lam B (B₀ lam) hBj + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalContour.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalContour.lean new file mode 100644 index 0000000000000000000000000000000000000000..663db893ac63db1bea7d2e2a0c9b020b1454a77f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalContour.lean @@ -0,0 +1,66 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalSpan +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryProjection +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryDimension +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.FiniteSymmetryDimension +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SymmetryRangeGenerator + +namespace OAI + +/-! # The actual matched contour consists exactly of the physical fourteen directions -/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS +open ProfileCertificate +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_contour_physical_frame (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + ∀ (_hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (_hz : radialMatchingMap n z = 0) (N : ℕ) + (ha : 0 < radialShootingA n) (ha1 : radialShootingA n < 1) (hk : 8 < (N : ℝ)) + (q : HomogeneousY (radialShootingA n) N) + (_hq : ∀ y : E, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk q y = + radialMatchedCartesian n z y) + (P : (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N) →L[ℂ] + (HomogeneousY (radialShootingA n) N × HomogeneousY (radialShootingA n) N)), + IsIdempotentElem P → ∀ hcomm : ∀ s, Commute + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q s) P, + FiniteDimensional ℂ P.range → + HasSymmetryRangeGenerator + (homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q) P hcomm → + ∀ D δ : ℝ, 0 < δ → + (∀ s : ℝ≥0, ∀ w, P w = 0 → + ‖homogeneousComplexLinearizedStep (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) N ha ha1 hk + (n + radialInnerShootingThreshold) q s w‖ ≤ D * Real.exp (-δ * (s : ℝ)) * ‖w‖) → + ∃ F : ProfileSymmetryParameters →L[ℝ] HomogeneousY (radialShootingA n) N, + Function.Injective F ∧ + (∀ p y, homogeneousPhysicalCLM (radialShootingA n) N ha ha1 hk (F p) y = + (p.1 : ℂ) * (Complex.I * radialMatchedCartesian n z y) + + (p.2.2 : ℂ) * (((radialShootingA n : ℂ) - + Complex.I * (radialShootingB (profileMatchingParameter z) : ℂ)) * radialMatchedCartesian n z y + + cartesianTransport (radialMatchedCartesian n z) y) + + cartesianDerivative p.2.1 (radialMatchedCartesian n z) y) ∧ + Submodule.span ℂ (Set.range (fun p => + homogeneousComplexEmbed (radialShootingA n) N ha ha1 hk (F p))) = P.range := by + filter_upwards [radialMatched_contour_symmetry_dimensions hRou] with n hn + intro z hX hz N ha ha1 hk q hq P hP hcomm hfin hgen D δ hδ hdecay + let : FiniteDimensional ℂ P.range := hfin + obtain ⟨G, hG, hspec, hspan⟩ := hgen + obtain ⟨h0, h1, hh⟩ := hn z hX hz N ha ha1 hk q hq P hcomm hfin G hG + have hdim := finite_symmetry_dimension_le G hspec hspan h0 h1 hh + obtain ⟨F, hF, hphys⟩ := radialMatched_physical_symmetry_frame n z hX hz N ha ha1 hk q hq + refine ⟨F, hF, hphys, homogeneous_physical_frame_spans _ N ha ha1 hk F hF P ?_ hdim⟩ + exact radialMatched_projection_fixes_physical_frame n z hX hz N ha ha1 hk q hq + P hP hcomm D δ hδ hdecay F hphys + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalExclusion.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalExclusion.lean new file mode 100644 index 0000000000000000000000000000000000000000..e537d09454f0610b7bd4afb75e0aa800059f6487 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalExclusion.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPhysicalPencil +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPencilExclusion + +namespace OAI + +/-! The checked singular pencil limit excludes actual classical eigenmodes, +with the physical outgoing Robin condition and actual profile coefficients. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedPhysical_eventually_zero + (ell : ℕ) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (R : ℝ) (hLR : radialShootingR (profileMatchingParameter z₀) + ‖radialMatchedProfile (s i) (z i) r‖^(2*(s i+radialInnerShootingThreshold))) + (ha : ∀ i, F.scale i=radialShootingA (s i)) + (ζ : ℕ → ℂ) (ζ₀ : ℂ) (hζ : Tendsto ζ atTop (𝓝 ζ₀)) + (hζ₀ : -(1/32 : ℝ)≤ζ₀.re) + (M : ℕ → ℂ × ℂ →L[ℂ] ℂ × ℂ) (B₀ : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hB : Tendsto (fun i => spectralFluxBoundary R (radialMatchedMassFunction (s i) (z i) R) + (radialMatchedTransportFunction (s i) (z i) R) + (spectralGaugeRobin (radialMatchedProfile (s i) (z i) R) + (deriv (radialMatchedProfile (s i) (z i)) R) (M i))) atTop (𝓝 B₀)) + (hBoundary : B₀=spectralFluxBoundary R (radialMatchedFreeMassFunction z₀ R) + (radialMatchedFreeTransportFunction z₀ R) + (spectralGaugeRobin (radialShootingFreeExterior z₀ R) (deriv (radialShootingFreeExterior z₀) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R)))) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z₀)) ζ₀ R)) ≠ 0) + (hD : spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z₀)) + ((radialShootingR (profileMatchingParameter z₀))^2/4) ζ₀ ≠ 0) : + ∀ᶠ i in atTop, ∀ f g : ℝ → ℂ, ContDiff ℝ 2 f → ContDiff ℝ 2 g → + IsHarmonicRadialEigenpair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) (ζ i) f g → + (deriv f R,deriv g R)=M i (f R,g R) → + ∀ r ∈ Ioc 0 R, f r=0 ∧ g r=0 := by + let hR := (radialMatchedCore_radius_pos z₀).trans hLR + have hk := radialMatchedPencil_eventually_kernel_zero ell s hs z z₀ hz hX hm + hz₁ hz₀ R hLR F hmass ζ ζ₀ hζ hζ₀ _ B₀ hB hBoundary hdet hD + filter_upwards [hk] with i hi + intro f g hf hg he hM + have hn : ¬ ∃ r ∈ Ioc 0 R, f r ≠ 0 ∨ g r ≠ 0 := by + intro hne + obtain ⟨v,hv,hfix⟩ := radialMatchedPhysical_pencil (s i) ell i (z i) (hX i) (hm i) + R _ hR F (hw i) (hp i) (ha i) (ζ i) f g hf hg he hne (M i) hM + exact hv (hi v hfix) + intro r hr + constructor + · by_contra h + exact hn ⟨r,hr,Or.inl h⟩ + · by_contra h + exact hn ⟨r,hr,Or.inr h⟩ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalPencil.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalPencil.lean new file mode 100644 index 0000000000000000000000000000000000000000..159fadc053d0e2b30198825782f4ad48441f3316 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalPencil.lean @@ -0,0 +1,69 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedClassicalPencil +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalGaugeBoundary + +namespace OAI + +/-! Nonzero physical eigenmodes yield nonzero actual compact-pencil kernels; +energy membership and the boundary gauge are constructed here. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedPhysical_pencil (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (ha : s.scale i=radialShootingA n) (lam : ℂ) (F G : ℝ → ℂ) + (hF : ContDiff ℝ 2 F) (hG : ContDiff ℝ 2 G) + (he : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam F G) + (hne : ∃ r ∈ Ioc 0 R, F r ≠ 0 ∨ G r ≠ 0) + (M : ℂ × ℂ →L[ℂ] ℂ × ℂ) (hM : (deriv F R,deriv G R)=M (F R,G R)) : + ∃ v : SpectralRadialObservationSpace R, v ≠ 0 ∧ + s.compactPencil ell hR i + (radialMatchedWeakOperator n ell z hX hz R hR lam + (spectralFluxBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) + (spectralGaugeRobin (radialMatchedProfile n z R) + (deriv (radialMatchedProfile n z) R) M))) v=v := by + obtain ⟨f,g,hf,hg,u,huf,hug,hudf,hudg,hpair,_⟩ := + radialMatchedGaugeJet 2 (by norm_num) n ell z hX hz R hR F G hF hG + have hEq := radialMatchedGauge_equation n z hX hz _ lam F G f g hf hg hpair he + have hQ := (radialMatchedEvenProfile_contDiff n z hX hz).differentiable (by simp) R + have hμn : radialMatchedMassFunction n z R ≠ 0 := + pow_ne_zero 2 (norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX R hR.le)) + have hb := spectralPhysicalGaugeBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) hR.ne' hμn + (radialMatchedEvenProfile n z) f g F G hQ + (hf.differentiable (by norm_num) R) (hg.differentiable (by norm_num) R) + (radialMatchedEvenProfile_ne_zero n z hX R) hpair M hM + rw [radialMatchedEvenProfile_nonneg n z R hR.le, + (radialMatchedEvenProfile_eventuallyEq n z R hR).deriv_eq] at hb + change (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)=_ at hb + refine ⟨spectralHarmonicObservation ell R hR u,?_,?_⟩ + · apply spectralObservation_ne_zero_of_classical ell R hR u f g + hf.continuous.continuousOn hg.continuous.continuousOn huf hug + obtain ⟨r,hr,hne⟩ := hne + refine ⟨r,⟨hr.1.le,hr.2⟩,?_⟩ + by_contra hzero + push Not at hzero + have hzfg : (F r,G r)=(0,0) := by + rw [← hpair r,hzero.1,hzero.2] + simp + rcases hne with hne | hne + · exact hne (congrArg Prod.fst hzfg) + · exact hne (congrArg Prod.snd hzfg) + · exact radialMatchedClassical_pencil n ell i z hX hz R l hR s hw hp ha lam + f g hf hg hEq u huf hug hudf hudg _ hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalSourceBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalSourceBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..8f1a8aa55101692e5dbb5615718421d8587eae67 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalSourceBoundary.lean @@ -0,0 +1,49 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalSourceBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeCoefficients + +namespace OAI + +/-! The differentiated physical Robin condition gives the actual matched flux condition. -/ + +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedPhysical_source_boundary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) + (F G f g F₀ G₀ f₀ g₀ : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (hpair : ∀ r, (radialMatchedEvenProfile n z r*(f r+Complex.I*g r), + star (radialMatchedEvenProfile n z r)*(f r-Complex.I*g r))=(F r,G r)) + (hpair₀ : ∀ r, (radialMatchedEvenProfile n z r*(f₀ r+Complex.I*g₀ r), + star (radialMatchedEvenProfile n z r)*(f₀ r-Complex.I*g₀ r))=(F₀ r,G₀ r)) + (M M' : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hM : (deriv F R,deriv G R)=M (F R,G R)+M' (F₀ R,G₀ R)) : + (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R, + spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R)= + spectralFluxBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) + (spectralGaugeRobin (radialMatchedProfile n z R) (deriv (radialMatchedProfile n z) R) M) + (f R,g R)+ + spectralFluxBoundarySlope R (radialMatchedMassFunction n z R) + (spectralGaugeRobinSlope (radialMatchedProfile n z R) M') (f₀ R,g₀ R) := by + have hQ := (radialMatchedEvenProfile_contDiff n z hX hz).differentiable (by simp) R + have hμn : radialMatchedMassFunction n z R ≠ 0 := + pow_ne_zero 2 (norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX R hR.le)) + have hb := spectralPhysicalGaugeSourceBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) hR.ne' hμn + (radialMatchedEvenProfile n z) f g F G f₀ g₀ hQ + (hf.differentiable (by norm_num) R) (hg.differentiable (by norm_num) R) + (radialMatchedEvenProfile_ne_zero n z hX R) hpair M M' (by + rw [hpair₀ R] + exact hM) + rw [radialMatchedEvenProfile_nonneg n z R hR.le, + (radialMatchedEvenProfile_eventuallyEq n z R hR).deriv_eq] at hb + exact hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalSourcePencil.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalSourcePencil.lean new file mode 100644 index 0000000000000000000000000000000000000000..7d66b08460b75c7afbd083978a3060cf42407b94 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPhysicalSourcePencil.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedClassicalSourcePencil +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPhysicalSourceBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPhysicalPencil + +namespace OAI + +/-! An actual physical Jordan pair with the differentiated outgoing condition +produces a nonzero first analytic chain of the finite-power compact pencil. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +noncomputable local instance physicalSourcePencilNormed (R : ℝ) : + NormedAddCommGroup (SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R) := by + let : NormedAddCommGroup (SpectralRadialObservationSpace R) := inferInstance + let : NormedSpace ℂ (SpectralRadialObservationSpace R) := inferInstance + exact ContinuousLinearMap.toNormedAddCommGroup + +theorem radialMatchedPhysical_source_pencil (n ell i : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R l : ℝ) (hR : 0 < R) + (s : SpectralPenaltyFamily R l) + (hw : (s.weight i).density=radialMatchedMassFunction n z) + (hp : s.pressure i=fun r => ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + (ha : s.scale i=radialShootingA n) (lam : ℂ) (F G F₀ G₀ : ℝ → ℂ) + (hF : ContDiff ℝ 2 F) (hG : ContDiff ℝ 2 G) + (hF₀ : ContDiff ℝ 2 F₀) (hG₀ : ContDiff ℝ 2 G₀) + (he₀ : IsHarmonicRadialEigenpair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam F₀ G₀) + (he : IsHarmonicRadialSourcePair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) lam F G F₀ G₀) + (hne : ∃ r ∈ Ioc 0 R, F₀ r ≠ 0 ∨ G₀ r ≠ 0) + (M : ℂ → ℂ × ℂ →L[ℂ] ℂ × ℂ) (M' : ℂ × ℂ →L[ℂ] ℂ × ℂ) + (hM : HasDerivAt M M' lam) + (hb₀ : (deriv F₀ R,deriv G₀ R)=M lam (F₀ R,G₀ R)) + (hb : (deriv F R,deriv G R)=M lam (F R,G R)+M' (F₀ R,G₀ R)) : + let B := fun t => spectralFluxBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) + (spectralGaugeRobin (radialMatchedProfile n z R) (deriv (radialMatchedProfile n z) R) (M t)) + let P := fun t => s.compactPencil ell hR i (radialMatchedWeakOperator n ell z hX hz R hR t (B t)) + ∃ v₀ v₁ : SpectralRadialObservationSpace R, v₀ ≠ 0 ∧ P lam v₀=v₀ ∧ + v₁-P lam v₁=deriv P lam v₀ := by + intro B P + obtain ⟨f,g,hf,hg,u,huf,hug,hudf,hudg,hpair,_⟩ := + radialMatchedGaugeJet 2 (by norm_num) n ell z hX hz R hR F G hF hG + obtain ⟨f₀,g₀,hf₀,hg₀,u₀,huf₀,hug₀,hudf₀,hudg₀,hpair₀,_⟩ := + radialMatchedGaugeJet 2 (by norm_num) n ell z hX hz R hR F₀ G₀ hF₀ hG₀ + let B' := spectralFluxBoundarySlope R (radialMatchedMassFunction n z R) + (spectralGaugeRobinSlope (radialMatchedProfile n z R) M') + have hB : HasDerivAt B B' lam := + spectralFluxBoundary_hasDerivAt R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) _ _ lam + (spectralGaugeRobin_hasDerivAt _ _ M M' lam hM) + have heq := radialMatchedGauge_source_equation n z hX hz _ lam F G f g F₀ G₀ f₀ g₀ + hf hg hpair hpair₀ he + have hboundary := radialMatchedPhysical_source_boundary n z hX hz R hR + F G f g F₀ G₀ f₀ g₀ hf hg hpair hpair₀ (M lam) M' hb + have hchain := radialMatchedClassical_source_pencil n ell i z hX hz R l hR s hw hp ha lam + f g f₀ g₀ hf₀.continuous hg₀.continuous hf hg heq u huf hug hudf hudg + u₀ huf₀ hug₀ B B' hB hboundary + have heq₀ := radialMatchedGauge_equation n z hX hz _ lam F₀ G₀ f₀ g₀ hf₀ hg₀ hpair₀ he₀ + have hQ := (radialMatchedEvenProfile_contDiff n z hX hz).differentiable (by simp) R + have hμn : radialMatchedMassFunction n z R ≠ 0 := + pow_ne_zero 2 (norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX R hR.le)) + have hboundary₀ := spectralPhysicalGaugeBoundary R (radialMatchedMassFunction n z R) + (radialMatchedTransportFunction n z R) hR.ne' hμn + (radialMatchedEvenProfile n z) f₀ g₀ F₀ G₀ hQ + (hf₀.differentiable (by norm_num) R) (hg₀.differentiable (by norm_num) R) + (radialMatchedEvenProfile_ne_zero n z hX R) hpair₀ (M lam) hb₀ + rw [radialMatchedEvenProfile_nonneg n z R hR.le, + (radialMatchedEvenProfile_eventuallyEq n z R hR).deriv_eq] at hboundary₀ + have hkernel := radialMatchedClassical_pencil n ell i z hX hz R l hR s hw hp ha lam + f₀ g₀ hf₀ hg₀ heq₀ u₀ huf₀ hug₀ hudf₀ hudg₀ (B lam) hboundary₀ + refine ⟨spectralHarmonicObservation ell R hR u₀,spectralHarmonicObservation ell R hR u,?_,hkernel,hchain⟩ + apply spectralObservation_ne_zero_of_classical ell R hR u₀ f₀ g₀ + hf₀.continuous.continuousOn hg₀.continuous.continuousOn huf₀ hug₀ + obtain ⟨r,hr,hne⟩ := hne + refine ⟨r,⟨hr.1.le,hr.2⟩,?_⟩ + by_contra hzero + push Not at hzero + have hzfg : (F₀ r,G₀ r)=(0,0) := by + rw [← hpair₀ r,hzero.1,hzero.2] + simp + rcases hne with hne | hne + · exact hne (congrArg Prod.fst hzfg) + · exact hne (congrArg Prod.snd hzfg) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPrescribedGenerator.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPrescribedGenerator.lean new file mode 100644 index 0000000000000000000000000000000000000000..ec742cf47f06e81a79f8c10e629d94fb4a144730 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPrescribedGenerator.lean @@ -0,0 +1,61 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEnergyGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSymmetryGenerator + +namespace OAI + +/-! # The matched symmetry generator at every sufficiently coercive order -/ + +open Filter Topology +open scoped NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialMatched_symmetry_generator_of_gap (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → ∀ (N : ℕ) + (hk : 8 < ((N + 1 : ℕ) : ℝ)), + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + ∀ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = + radialMatchedCartesian n z x) → + 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - 2 * (2 * (m : ℝ) + 1) → + HasSymmetryContourGenerator + (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) := by + filter_upwards [radialMatched_global_pressure_bound, + radialMatched_contour_spectral_stability hRou] with n hpressure hs + intro z hX hz N hk a ha ha1 b m q hq hgap + have hm : 1 ≤ m := radialShootingInner_power_pos n (profileMatchingParameter z) + have hsucc : m - 1 + 1 = m := Nat.sub_add_cancel hm + have hQB (x : E) : ‖homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x‖ ^ + (2 * (m - 1 + 1)) ≤ 1 := by + rw [hsucc, hq] + exact hpressure z ‖x‖ (norm_nonneg x) + have hg : 0 < ((N + 1 : ℕ) : ℝ) + 2 * a - 6 - + 2 * ((2 * ((m - 1 + 1 : ℕ) : ℝ) + 1) * 1) := by + simpa only [hsucc, mul_one] using hgap + have hgen := homogeneousLinearized_finite_generator_of_gap a b N ha ha1 hk + (m - 1) q 1 zero_le_one hQB hg + rw [hsucc] at hgen + obtain ⟨P, hP, hfin, hcomm, hdecay, G, hG, hgapG⟩ := hgen + obtain ⟨hspec, hJordan⟩ := hs z hX hz (N + 1) ha ha1 hk q hq P hcomm hfin G hG + have hJ : ∀ (lam : ℂ) (v w : P.range), w ≠ 0 → G w = lam • w → G v ≠ lam • v + w := by + intro lam v w hw he + exact hJordan lam v w hw he (hgapG lam w hw he).le + let : FiniteDimensional ℂ P.range := hfin + refine ⟨P, hP, hfin, hcomm, hdecay, G, hG, ?_, ?_⟩ + · intro lam w hw he + exact hspec lam w hw he (hgapG lam w hw he).le + · exact generator_eigenspaces_span G.toLinearMap hJ + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..de03b0b09ee0680b080e5cf2c321c9efd2b08f45 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureBounds.lean @@ -0,0 +1,134 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedInnerAmplitude +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialPressureMaximum + +namespace OAI + +/-! Quantitative inner potential estimates for the actual matched profiles. -/ + +open Set +namespace DefocusingNLS +open ProfileCertificate + +theorem radialShootingIndex_large (n : ℕ) (z : ProfileMatchingBall) : + 100 ≤ n+radialInnerShootingThreshold := by + have hh := (radialShootingInnerData n (profileMatchingParameter z)).hp + rw [radialShootingInnerData_p] at hh + omega + +theorem radialShootingC_eq (n : ℕ) (z : ProfileMatchingBall) : + 6-2*radialShootingA n=6-1/((n+radialInnerShootingThreshold : ℕ) : ℝ) := + (radialShootingInner_c_eq n (profileMatchingParameter z)).symm.trans + (radialShootingInnerData_c n (profileMatchingParameter z)) + +theorem radialMatchedInnerPotential_bounds (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) : + let A := fun t => ‖radialMatchedProfile n z t‖ + let c := 6-2*radialShootingA n + radialAmplitudePotential c (radialShootingB (profileMatchingParameter z)) A r ∈ + Icc (3/10 : ℝ) (1/2) ∧ (radialVelocity c A r)^2 ≤ 3 := by + let A := fun t => ‖radialMatchedProfile n z t‖ + let c := 6-2*radialShootingA n + have hc : c ∈ Icc (599/100 : ℝ) 6 := by + rw [show c=(radialShootingInnerData n (profileMatchingParameter z)).c from + (radialShootingInner_c_eq n (profileMatchingParameter z)).symm] + exact (radialShootingInnerData n (profileMatchingParameter z)).hc + have hb := (radialShooting_geometry (profileMatchingParameter z)).1 + have hA : Continuous A := (radialMatchedProfile_differentiable n z hX hz).continuous.norm + have hAI (t : ℝ) (ht : t ∈ Icc 0 innerBoundaryRadius) : + A t ∈ Icc (999/1000 : ℝ) 1 := (radialMatchedAmplitude_inner_bounds n z t ht).1 + have hV := radialAmplitudePotential_bounds c _ innerBoundaryRadius hc hb + innerBoundaryRadius_bounds.2 A hA hAI r hr + have hq := radialVelocityRatio_bounds c innerBoundaryRadius hc A hA hAI r hr + have hr2 : r^2 ≤ 11 := ((sq_le_sq₀ hr.1 (hr.1.trans hr.2)).2 hr.2).trans + innerBoundaryRadius_bounds.2 + have hq2 : (radialVelocityRatio c A r)^2 ≤ (51/100 : ℝ)^2 := by nlinarith [hq.1,hq.2] + have hw := mul_le_mul hr2 hq2 (sq_nonneg _) (by norm_num : (0 : ℝ) ≤ 11) + refine ⟨hV,?_⟩ + change (radialVelocity c A r)^2 ≤ 3 + rw [radialVelocity,mul_pow] + exact hw.trans (by norm_num) + +theorem radialMatchedPressureRatio_bound (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) + (hP : (1/5 : ℝ) ≤ ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) : + radialVelocityRatio (6-2*radialShootingA n) (fun t => ‖radialMatchedProfile n z t‖) r ≤ + 1/2+3/(4*((n+radialInnerShootingThreshold : ℕ) : ℝ)) := by + let m := n+radialInnerShootingThreshold + have hm : 0 < m := lt_of_lt_of_le (by norm_num) (radialShootingIndex_large n z) + have hmR : (0 : ℝ) < m := Nat.cast_pos.mpr hm + have hc := (radialShootingInnerData n (profileMatchingParameter z)).hc + rw [radialShootingInner_c_eq] at hc + have hh := radialVelocityRatio_pressure_bound m hm (6-2*radialShootingA n) r + (by linarith [hc.1]) hr.1 (fun t => ‖radialMatchedProfile n z t‖) + (radialMatchedProfile_differentiable n z hX hz).continuous.norm + (norm_pos_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.1)) + (fun t ht => (radialMatchedAmplitude_inner_bounds n z t ⟨ht.1,ht.2.trans hr.2⟩).2) hP + calc + _ ≤ (6-2*radialShootingA n)/12*(1+3/(2*(m : ℝ))) := hh + _ ≤ 6/12*(1+3/(2*(m : ℝ))) := mul_le_mul_of_nonneg_right + (div_le_div_of_nonneg_right hc.2 (by norm_num)) (by positivity) + _ = 1/2+3/(4*((n+radialInnerShootingThreshold : ℕ) : ℝ)) := by + change 6/12*(1+3/(2*(m : ℝ)))=1/2+3/(4*(m : ℝ)) + field_simp [hmR.ne'] + ring + +theorem radialMatchedPressure_potential_derivative_bound (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : r ∈ Ioc 0 innerBoundaryRadius) + (hP : (1/5 : ℝ) ≤ ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) : + let m := n+radialInnerShootingThreshold + let A := fun t => ‖radialMatchedProfile n z t‖ + let c := 6-2*radialShootingA n + let w := radialVelocity c A + let V := radialAmplitudePotential c (radialShootingB (profileMatchingParameter z)) A + deriv V r ≤ 20/(m : ℝ)+(w r)^2*deriv A r/A r := by + let m := n+radialInnerShootingThreshold + let A := fun t => ‖radialMatchedProfile n z t‖ + let c := 6-2*radialShootingA n + let w := radialVelocity c A + let q := radialVelocityRatio c A r + let V := radialAmplitudePotential c (radialShootingB (profileMatchingParameter z)) A + change deriv V r ≤ 20/(m : ℝ)+(w r)^2*deriv A r/A r + have hm : (1 : ℝ) ≤ m := by exact_mod_cast (le_trans (by norm_num) (radialShootingIndex_large n z)) + have hm0 : (0 : ℝ) < m := by linarith + have hc := (radialShootingInnerData n (profileMatchingParameter z)).hc + rw [radialShootingInner_c_eq] at hc + have hqlo := (radialVelocityRatio_bounds c innerBoundaryRadius hc A + (radialMatchedProfile_differentiable n z hX hz).continuous.norm + (fun t ht => (radialMatchedAmplitude_inner_bounds n z t ht).1) r ⟨hr.1.le,hr.2⟩).1 + have hqhi := radialMatchedPressureRatio_bound n z hX hz r ⟨hr.1.le,hr.2⟩ hP + have hqhi' : q ≤ 1/2+3*(1/(m : ℝ))/4 := by + calc + q ≤ 1/2+3/(4*(m : ℝ)) := hqhi + _ = _ := by field_simp [hm0.ne'] + have ha1 : 1/(m : ℝ) ≤ 1 := (div_le_iff₀ hm0).2 (by linarith) + have hpoly : 1/8-c/2*q+11/2*q^2 ≤ 6/(m : ℝ) := by + rw [show c=6-1/(m : ℝ) from radialShootingC_eq n z] + convert radial_pressure_potential_polynomial (1/(m : ℝ)) q (by positivity) ha1 hqlo hqhi' using 1 + ring + have hwr : w r/r=q := by + dsimp only [w,radialVelocity,q] + field_simp [hr.1.ne'] + have hd := radialMatchedPotential_hasDerivAt n z hX hz r hr.1 + change HasDerivAt V + (r*(1/8-c/2*(w r/r)+11/2*(w r/r)^2)+(w r)^2*deriv A r/A r) r at hd + rw [hwr] at hd + rw [hd.deriv] + refine add_le_add ?_ le_rfl + calc + r*(1/8-c/2*q+11/2*q^2) ≤ r*(6/(m : ℝ)) := mul_le_mul_of_nonneg_left hpoly hr.1.le + _ ≤ 20/(m : ℝ) := by + have hR : innerBoundaryRadius ≤ (10/3 : ℝ) := by + nlinarith [innerBoundaryRadius_bounds.1,innerBoundaryRadius_bounds.2] + rw [← mul_div_assoc] + apply (div_le_div_iff_of_pos_right hm0).2 + nlinarith [hr.2] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..cb4da6202e8f88e5a52746f695321104f37648de --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureLimit.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingPressureLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformExteriorPressure +import Mathlib.MeasureTheory.Integral.DominatedConvergence + +namespace OAI + +/-! Weak-star pressure convergence on the full fixed matching ball. -/ + +open Set Filter Topology MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_exterior_pressure_uniform_zero (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) : + TendstoUniformlyOn (fun i r => ‖radialMatchedProfile (s i) (z i) r‖^ + (2*(s i+radialInnerShootingThreshold))) (fun _ => (0 : ℝ)) atTop + (Ioi innerBoundaryRadius) := by + rw [Metric.tendstoUniformlyOn_iff] + intro ε hε + filter_upwards [hs.tendsto_atTop.eventually (radialMatched_exterior_pressure_small ε hε)] + with i hi r hr + have ha := radialShootingA_bounds (s i) (profileMatchingParameter (z i)) + let P := ‖radialMatchedProfile (s i) (z i) r‖^(2*(s i+radialInnerShootingThreshold)) + have hP : 0 ≤ P := by positivity + have hq : 0 ≤ P/radialShootingA (s i) := div_nonneg hP ha.1.le + have h1 : P ≤ P/radialShootingA (s i) := by + apply (le_div_iff₀ ha.1).2 + exact mul_le_of_le_one_right hP ha.2.le + have hr' : innerBoundaryRadius < r := hr + have hr2 : 1 ≤ r^2 := by nlinarith [innerBoundaryRadius_bounds.1] + have h2 := mul_le_mul_of_nonneg_right hr2 hq + have h2' : P/radialShootingA (s i) ≤ r^2*(P/radialShootingA (s i)) := by + simpa only [one_mul] using h2 + have h3 := hi (z i) r hr + rw [Real.dist_eq,zero_sub,abs_neg,abs_of_nonneg hP] + exact h1.trans_lt (h2'.trans_lt h3) + +theorem radialMatched_pressure_weakstar (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (R : ℝ) (hR : innerBoundaryRadius ≤ R) (φ : ℝ → ℝ) + (hφ : Integrable φ (radialPressureMeasure R)) : + Tendsto (fun i => ∫ r, ‖radialMatchedProfile (s i) (z i) r‖^ + (2*(s i+radialInnerShootingThreshold))*φ r ∂radialPressureMeasure R) atTop + (𝓝 (∫ r, (Iic (radialShootingR (profileMatchingParameter z₀))).indicator + (fun _ : ℝ => radialShootingB (profileMatchingParameter z₀)) r*φ r + ∂radialPressureMeasure R)) := by + let P := fun i r => ‖radialMatchedProfile (s i) (z i) r‖^ + (2*(s i+radialInnerShootingThreshold)) + let μ := radialPressureMeasure R + have hμ : μ.restrict (Iic innerBoundaryRadius)=radialPressureMeasure innerBoundaryRadius := + radialPressureMeasure_restrict R innerBoundaryRadius hR + have hPmeas (i : ℕ) : AEStronglyMeasurable (P i) μ := + ((radialMatchedProfile_differentiable (s i) (z i) (hX i) (hm i)).continuous.norm.pow _).aestronglyMeasurable + have hb : ∀ᶠ i in atTop, ∀ᵐ r ∂μ, ‖P i r‖ ≤ 1 := by + filter_upwards [hs.tendsto_atTop.eventually radialMatched_global_pressure_bound] with i hi + apply radialPressureMeasure_bound + intro r hr + rw [Real.norm_eq_abs,abs_of_nonneg (show 0 ≤ P i r by positivity)] + exact hi (z i) r hr.1 + have hI := radialShootingInner_pressure_weakstar s hs + (fun i => profileMatchingParameter (z i)) (profileMatchingParameter z₀) + (continuous_profileMatchingParameter.continuousAt.tendsto.comp hz) φ + (by simpa only [← hμ] using hφ.restrict (s := Iic innerBoundaryRadius)) + have heI (i : ℕ) : + (∫ r, P i r*φ r ∂μ.restrict (Iic innerBoundaryRadius))= + ∫ r, (radialShootingInnerAmplitude (s i) (profileMatchingParameter (z i)) r)^ + (2*(s i+radialInnerShootingThreshold))*φ r + ∂radialPressureMeasure innerBoundaryRadius := by + rw [hμ] + apply integral_congr_ae + apply (ae_withDensity_iff (by fun_prop)).2 + filter_upwards [ae_restrict_mem measurableSet_Icc] with r hr _ + rw [show P i r = _ from congrArg (fun a : ℝ => a^(2*(s i+radialInnerShootingThreshold))) + (radialMatchedAmplitude_eq_inner (s i) (z i) r hr)] + have hO : Tendsto (fun i => ∫ r in Ioi innerBoundaryRadius, P i r*φ r ∂μ) atTop (𝓝 0) := by + have ht := tendsto_integral_filter_of_dominated_convergence (μ := μ.restrict (Ioi innerBoundaryRadius)) + (F := fun i r => P i r*φ r) (f := fun _ => (0 : ℝ)) (fun r => ‖φ r‖) + (Eventually.of_forall (fun i => (hPmeas i).restrict.mul hφ.aestronglyMeasurable.restrict)) + (by + filter_upwards [hb] with i hi + filter_upwards [ae_restrict_of_ae hi] with r hr + rw [norm_mul] + exact mul_le_of_le_one_left (norm_nonneg _) hr) + hφ.norm.restrict + (by + filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr + simpa only [zero_mul] using + ((radialMatched_exterior_pressure_uniform_zero s hs z).tendsto_at hr).mul_const (φ r)) + simpa only [integral_zero] using ht + have hgeo := radialShooting_geometry (profileMatchingParameter z₀) + rw [radialPressureMeasure_step_integral _ _ _ (by linarith [hgeo.2.1]) hgeo.2.2.2.1] at hI + rw [radialPressureMeasure_step_integral _ _ _ (by linarith [hgeo.2.1]) + (hgeo.2.2.2.1.trans hR)] + have hsum := hI.add hO + simp only [add_zero] at hsum + apply hsum.congr' + filter_upwards [hb] with i hi + have hint : Integrable (fun r => P i r*φ r) μ := hφ.bdd_mul (hPmeas i) hi + rw [← heI] + simpa only [compl_Iic] using integral_add_compl measurableSet_Iic hint + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureSlope.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureSlope.lean new file mode 100644 index 0000000000000000000000000000000000000000..e937da54167b69a1c916888e376870638dea6462 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureSlope.lean @@ -0,0 +1,76 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPressureBounds + +namespace OAI + +/-! The positive part of the actual inner amplitude slope is O(m⁻²). -/ + +open Set Filter +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedInnerSlope_bound (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) : + deriv (fun t => ‖radialMatchedProfile n z t‖) r ≤ + 100/(((n+radialInnerShootingThreshold : ℕ) : ℝ)^2) := by + let m := n+radialInnerShootingThreshold + let A := fun t => ‖radialMatchedProfile n z t‖ + let c := 6-2*radialShootingA n + let w := radialVelocity c A + let V := radialAmplitudePotential c (radialShootingB (profileMatchingParameter z)) A + have hm : (40 : ℝ) ≤ m := by + exact_mod_cast (le_trans (by norm_num) (radialShootingIndex_large n z)) + by_cases hdr : deriv A r ≤ 0 + · exact hdr.trans (div_nonneg (by norm_num) (sq_nonneg _)) + have hR : 0 < innerBoundaryRadius := by linarith [innerBoundaryRadius_bounds.1] + obtain ⟨x,hx,hdx,hmax,hzero,hthird⟩ := radial_positive_slope_maximum A innerBoundaryRadius hR + (radialMatchedAmplitude_derivative_continuousOn n z hX hz innerBoundaryRadius) + (le_of_eq (radialMatchedAmplitude_derivative_zero n z hX hz)) + (radialMatchedAmplitude_endpoint_derivative_nonpos n z hX hz) r hr (lt_of_not_ge hdr) + have hxI : x ∈ Icc 0 innerBoundaryRadius := ⟨hx.1.le,hx.2.le⟩ + have hAx : 0 < A x := norm_pos_iff.mpr (radialMatchedProfile_ne_zero n z hX x hx.1.le) + have hAx1 : A x ≤ 1 := (radialMatchedAmplitude_inner_bounds n z x hxI).1.2 + have hVbounds := radialMatchedInnerPotential_bounds n z hX hz x hxI + have hstat := radialMatchedAmplitude_stationary n z hX hz x hx.1 + change -deriv (deriv A) x-11/x*deriv A x+(A x)^(2*m)*A x=V x*A x at hstat + rw [hzero] at hstat + have hdrift : 0 ≤ 11/x*deriv A x := mul_nonneg (div_nonneg (by norm_num) hx.1.le) hdx.le + have hP : (1/5 : ℝ) ≤ (A x)^(2*m) := by + have hvlow := mul_le_mul_of_nonneg_right hVbounds.1.1 hAx.le + apply le_of_not_gt + intro hp + have hpA := mul_lt_mul_of_pos_right hp hAx + linarith + have hs := ((radialMatchedAmplitude_contDiffOn n z hX hz) x hx.1).contDiffAt + (Ioi_mem_nhds hx.1) + have hs1 := hs.derivWithin (m := ∞) (by simp) + have hs2 := hs1.derivWithin (m := 1) (by simp) + have hA : HasDerivAt A (deriv A x) x := (hs.differentiableAt (by simp)).hasDerivAt + have hD : HasDerivAt (deriv A) 0 x := by + have hh : HasDerivAt (deriv A) (deriv (deriv A) x) x := + (hs1.differentiableAt (by simp)).hasDerivAt + rwa [hzero] at hh + have hDD : HasDerivAt (deriv (deriv A)) (deriv (deriv (deriv A)) x) x := + (hs2.differentiableAt (by simp)).hasDerivAt + have hV : HasDerivAt V (deriv V x) x := + (radialMatchedPotential_hasDerivAt n z hX hz x hx.1).differentiableAt.hasDerivAt + have hEq : (fun t => -deriv (deriv A) t-11/t*deriv A t+(A t)^(2*m+1)) + =ᶠ[nhds x] (fun t => V t*A t) := by + filter_upwards [Ioo_mem_nhds hx.1 hx.2] with t ht + have he := radialMatchedAmplitude_stationary n z hX hz t ht.1 + change -deriv (deriv A) t-11/t*deriv A t+(A t)^(2*m)*A t=V t*A t at he + simpa only [pow_add,pow_one] using he + have hmrel := radial_amplitude_slope_max_relation m A V x (deriv A x) + (deriv (deriv (deriv A)) x) (deriv V x) hx.1.ne' hAx.le hdx.le hthird hA hD hDD hV hEq + have hvder := radialMatchedPressure_potential_derivative_bound n z hX hz x + ⟨hx.1,hx.2.le⟩ hP + have hVsum : V x+(w x)^2 ≤ 4 := by linarith [hVbounds.1.2,hVbounds.2] + have hbound := radial_pressure_slope_bound (m : ℝ) hm (A x) (deriv A x) + ((A x)^(2*m)) (V x) (w x) (deriv V x) hAx hAx1 hdx.le hP hVsum hmrel hvder + exact (hmax r hr).trans hbound + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureTransport.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureTransport.lean new file mode 100644 index 0000000000000000000000000000000000000000..191c16554bf74aa4a8ab5103b609be6db7393454 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedPressureTransport.lean @@ -0,0 +1,80 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedPressureSlope + +namespace OAI + +/-! The actual inner pressure transport has the required small relative upper bound. -/ + +open Set +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedInnerPressure_transport (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) : + let m := n+radialInnerShootingThreshold + let A := fun t => ‖radialMatchedProfile n z t‖ + let P := fun t => (A t)^(2*m) + let w := radialVelocity (6-2*radialShootingA n) A + w r*deriv (fun t => P t/radialShootingA n) r ≤ 1600*P r := by + let m := n+radialInnerShootingThreshold + let A := fun t => ‖radialMatchedProfile n z t‖ + let P := fun t => (A t)^(2*m) + let w := radialVelocity (6-2*radialShootingA n) A + change w r*deriv (fun t => P t/radialShootingA n) r ≤ 1600*P r + by_cases hr0 : r=0 + · subst r + rw [show w 0=0 from radialVelocity_origin _ _,zero_mul] + exact mul_nonneg (by norm_num) (pow_nonneg (norm_nonneg _) _) + have hrp : 0 < r := lt_of_le_of_ne hr.1 (Ne.symm hr0) + have hmN : 0 < m := lt_of_lt_of_le (by norm_num) (radialShootingIndex_large n z) + have hm : (0 : ℝ) < m := Nat.cast_pos.mpr hmN + have hA := ((radialMatchedAmplitude_contDiffOn n z hX hz) r hrp).contDiffAt + (Ioi_mem_nhds hrp) + have hdA : HasDerivAt A (deriv A r) r := (hA.differentiableAt (by simp)).hasDerivAt + have hAr : 0 < A r := norm_pos_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.1) + have hArlo := (radialMatchedAmplitude_inner_bounds n z r hr).1.1 + have hc := (radialShootingInnerData n (profileMatchingParameter z)).hc + rw [radialShootingInner_c_eq] at hc + have hq := radialVelocityRatio_bounds (6-2*radialShootingA n) innerBoundaryRadius hc A + (radialMatchedProfile_differentiable n z hX hz).continuous.norm + (fun t ht => (radialMatchedAmplitude_inner_bounds n z t ht).1) r hr + have hw0 : 0 ≤ w r := mul_nonneg hr.1 (by linarith [hq.1]) + have hw2 := (radialMatchedInnerPotential_bounds n z hX hz r hr).2 + have hwA : w r/A r ≤ 4 := by + apply (div_le_iff₀ hAr).2 + change (w r)^2 ≤ 3 at hw2 + change (999/1000 : ℝ) ≤ A r at hArlo + have hwu : w r ≤ 2 := by nlinarith + linarith + have hP0 : 0 ≤ P r := pow_nonneg hAr.le _ + have hpower : (A r)^(2*m-1)=P r/A r := by + apply (eq_div_iff hAr.ne').2 + change (A r)^(2*m-1)*A r=(A r)^(2*m) + rw [← pow_succ] + congr 1 + omega + have hdP := (hdA.pow (2*m)).div_const (radialShootingA n) + change HasDerivAt (fun t => P t/radialShootingA n) _ r at hdP + have hdPeq : deriv (fun t => P t/radialShootingA n) r= + 4*(m : ℝ)^2*(P r/A r)*deriv A r := by + rw [hdP.deriv,hpower] + simp only [radialShootingA,Nat.cast_mul,Nat.cast_ofNat] + change ((2*(m : ℝ))*(P r/A r)*deriv A r)/(1/(2*(m : ℝ)))=_ + field_simp + ring + rw [hdPeq] + have hs := radialMatchedInnerSlope_bound n z hX hz r hr + have hcoef : 0 ≤ 4*(m : ℝ)^2*(w r/A r)*P r := by positivity + calc + w r*(4*(m : ℝ)^2*(P r/A r)*deriv A r)= + (4*(m : ℝ)^2*(w r/A r)*P r)*deriv A r := by ring + _ ≤ (4*(m : ℝ)^2*(w r/A r)*P r)*(100/(m : ℝ)^2) := + mul_le_mul_of_nonneg_left hs hcoef + _ = 400*(w r/A r)*P r := by field_simp [hm.ne']; ring + _ ≤ 1600*P r := by nlinarith [mul_le_mul_of_nonneg_right hwA hP0] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedProfileBounds.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedProfileBounds.lean new file mode 100644 index 0000000000000000000000000000000000000000..9f581dc1f23abc4ff046df592811a26833c19040 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedProfileBounds.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSymbol +import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzProfileSampling +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffResidualSampling + +namespace OAI + +/-! The constructed profile supplies the concrete uniform cutoff and residual bounds. -/ + +open Set +open scoped ContDiff SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +theorem radialShootingA_bounds (n : ℕ) (w : RadialShootingDisk) : + 0 < radialShootingA n ∧ radialShootingA n < 1 := by + have hp := radialShootingInner_power_pos n w + have hn : (1 : ℝ) ≤ ((n+radialInnerShootingThreshold : ℕ) : ℝ) := by exact_mod_cast hp + unfold radialShootingA + constructor + · exact one_div_pos.mpr (by linarith) + · exact (div_lt_one (by linarith)).mpr (by linarith) + +theorem radialMatchedCartesian_global_symbol (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (j : ℕ) : + ∃ D : ℝ, 0 ≤ D ∧ ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ j (radialMatchedCartesian n z) y‖ ≤ + D*‖y‖^(-2*radialShootingA n-(j : ℝ)) := by + obtain ⟨D,hD,hb⟩ := radialMatchedCartesian_symbol n z hX hz j + have hQ := radialMatchedCartesian_contDiff n z hX hz + obtain ⟨C,hC⟩ := (isCompact_closedBall (0 : E) 1).exists_bound_of_continuousOn + ((hQ.of_le (by simp : (j : ℕ∞ω) ≤ ∞)).continuous_iteratedFDeriv'.continuousOn) + refine ⟨max C D,hD.trans (le_max_right _ _),?_⟩ + intro y hy + by_cases hlarge : 1 ≤ ‖y‖ + · exact (hb y hlarge).trans (mul_le_mul_of_nonneg_right (le_max_right _ _) + (Real.rpow_nonneg (norm_nonneg _) _)) + · have hsmall : ‖y‖ ≤ 1 := (lt_of_not_ge hlarge).le + have hcore : ‖iteratedFDeriv ℝ j (radialMatchedCartesian n z) y‖ ≤ max C D := + (hC y (by simpa only [Metric.mem_closedBall,dist_zero_right] using hsmall)).trans + (le_max_left _ _) + have hneg : -2*radialShootingA n-(j : ℝ) ≤ 0 := by + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have hj : (0 : ℝ) ≤ j := Nat.cast_nonneg _ + linarith + have hp : 1 ≤ ‖y‖^(-2*radialShootingA n-(j : ℝ)) := by + simpa only [Real.one_rpow] using + Real.rpow_le_rpow_of_nonpos (norm_pos_iff.mpr hy) hsmall hneg + exact hcore.trans (le_mul_of_one_le_right (hD.trans (le_max_right _ _)) hp) + +theorem radialMatchedCartesian_finite_symbol (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (N : ℕ) : + ∃ D : ℝ, 0 ≤ D ∧ ∀ j ≤ N, ∀ y : E, y ≠ 0 → + ‖iteratedFDeriv ℝ j (radialMatchedCartesian n z) y‖ ≤ + D*‖y‖^(-2*radialShootingA n-(j : ℝ)) := by + choose D hD hb using radialMatchedCartesian_global_symbol n z hX hz + refine ⟨∑ j ∈ Finset.range (N+1), D j,Finset.sum_nonneg (fun j _ => hD j),?_⟩ + intro j hj y hy + exact (hb j y hy).trans (mul_le_mul_of_nonneg_right + (Finset.single_le_sum (fun i _ => hD i) (Finset.mem_range.mpr (by omega))) + (Real.rpow_nonneg (norm_nonneg _) _)) + +theorem radialMatchedCutoff_sampling_bound (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (k : ℝ) (hk : 8 < k) + (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)) + (hχzero : ∀ y : E, 1 ≤ ‖y‖ → χ y=0) : + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let hQ := radialMatchedCartesian_contDiff n z hX hz + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), + ‖schwartzTorusSample (radialShootingA n) k L ha1 hk hL (radianFourierKernel + (cutoffProfileSchwartz L (by linarith) χ hχ (radialMatchedCartesian n z) hQ))‖ ≤ C := by + intro ha1 hQ + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + obtain ⟨N,hN⟩ := exists_cutoffProfile_sampling_bound (radialShootingA n) k ha ha1 hk χ hχ hχzero + obtain ⟨D,hD,hb⟩ := radialMatchedCartesian_finite_symbol n z hX hz N + exact hN _ hQ D hD hb + +theorem radialMatchedResidual_sampling_bound (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (k : ℝ) (hk : 8 < k) + (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)) + (hχone : ∀ y : E, ‖y‖ < 1/2 → χ y=1) + (hχzero : ∀ y : E, 2 < ‖y‖ → χ y=0) : + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let hQ := radialMatchedCartesian_contDiff n z hX hz + ∃ C : ℝ, 0 ≤ C ∧ ∀ (L : ℝ) (hL : 1 ≤ L), + ‖schwartzTorusSample (radialShootingA n) k L ha1 hk hL (radianFourierKernel + (cutoffResidualSchwartz χ hχ hχone hχzero (radialShootingA n) L + (lt_of_lt_of_le zero_lt_one hL) (n+radialInnerShootingThreshold) + (radialMatchedCartesian n z) hQ))‖ ≤ C*L^(-2-radialShootingA n) := by + intro ha1 hQ + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + obtain ⟨N,hN⟩ := exists_cutoffResidual_sampling_bound (radialShootingA n) k ha ha1 hk + (n+radialInnerShootingThreshold) χ hχ hχone hχzero + obtain ⟨D,hD,hb⟩ := radialMatchedCartesian_finite_symbol n z hX hz N + exact hN _ hQ D hD hb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedProfileLimit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedProfileLimit.lean new file mode 100644 index 0000000000000000000000000000000000000000..7e38a1d2961f5706acf5c74de6200714dfc46c6d --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedProfileLimit.lean @@ -0,0 +1,82 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialExteriorProfileLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingComplexLimit +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedInnerAmplitude +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMassConvergence + +namespace OAI + +/-! The actual matched profiles converge on each fixed ball, including their mass weights. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMatchedFreeProfile (z : ProfileMatchingBall) (r : ℝ) : ℂ := + if r ≤ innerBoundaryRadius then + if r ≤ radialShootingR (profileMatchingParameter z) then 1 + else (radialFreeInnerJet (profileMatchingParameter z) r).1 + else radialShootingFreeExterior z r + +theorem radialMatchedProfile_uniform_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (R : ℝ) : + TendstoUniformlyOn (fun i => radialMatchedProfile (s i) (z i)) + (radialMatchedFreeProfile z₀) atTop (Icc 0 R) := by + have hI := (radialShootingInner_complex_C1_limit s hs + (fun i => profileMatchingParameter (z i)) (profileMatchingParameter z₀) + (continuous_profileMatchingParameter.continuousAt.tendsto.comp hz)).1 + have hO := radialShootingExterior_uniform_limit s hs z z₀ hz R + rw [Metric.tendstoUniformlyOn_iff] at hI hO ⊢ + intro ε hε + filter_upwards [hI ε hε,hO ε hε] with i hi ho r hr + by_cases h : r ≤ innerBoundaryRadius + · simpa only [radialMatchedFreeProfile,radialMatchedProfile,ite_eq_left h] using hi r ⟨hr.1,h⟩ + · simpa only [radialMatchedFreeProfile,radialMatchedProfile,ite_eq_right h] using + ho r ⟨(lt_of_not_ge h).le,hr.2⟩ + +theorem radialMatchedFreeProfile_continuousOn (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (R : ℝ) : + ContinuousOn (radialMatchedFreeProfile z₀) (Icc 0 R) := by + apply (radialMatchedProfile_uniform_limit s hs z z₀ hz R).continuousOn + exact (Eventually.of_forall (fun i => + (radialMatchedProfile_differentiable (s i) (z i) (hX i) (hm i)).continuous.continuousOn)).frequently + +theorem radialMatched_mass_uniform_limit (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) (R : ℝ) : + TendstoUniformlyOn (fun i r => ‖radialMatchedProfile (s i) (z i) r‖^2) + (fun r => ‖radialMatchedFreeProfile z₀ r‖^2) atTop (Icc 0 R) := + spectralMass_uniform R _ _ (radialMatchedFreeProfile_continuousOn s hs z z₀ hz hX hm R) + (radialMatchedProfile_uniform_limit s hs z z₀ hz R) + +theorem radialMatchedFreeProfile_inner_lower (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (r : ℝ) (hr : r ∈ Icc 0 innerBoundaryRadius) : + (999/1000 : ℝ) ≤ ‖radialMatchedFreeProfile z₀ r‖ := by + have h := (radialMatchedProfile_uniform_limit s hs z z₀ hz innerBoundaryRadius).tendsto_at hr + exact ge_of_tendsto (continuous_norm.continuousAt.tendsto.comp h) + (Eventually.of_forall (fun i => (radialMatchedAmplitude_inner_bounds (s i) (z i) r hr).1.1)) + +theorem radialMatchedFreeProfile_ne_zero (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) (r : ℝ) (hr : 0 ≤ r) : + radialMatchedFreeProfile z₀ r ≠ 0 := by + by_cases hi : r ≤ innerBoundaryRadius + · exact norm_pos_iff.mp (lt_of_lt_of_le (by norm_num) + (radialMatchedFreeProfile_inner_lower s hs z z₀ hz r ⟨hr,hi⟩)) + · obtain ⟨δ,ρ,hδ,_,_,_,_,hlower⟩ := radialShooting_free_annulus z₀ + rw [radialMatchedFreeProfile,ite_eq_right hi,radialShootingFreeExterior] + apply mul_ne_zero (Complex.exp_ne_zero _) + exact norm_pos_iff.mp (hδ.trans (hlower (Real.log r) + (Real.log_le_log (by linarith [innerBoundaryRadius_bounds.1]) (lt_of_not_ge hi).le))) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedShellBoundary.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedShellBoundary.lean new file mode 100644 index 0000000000000000000000000000000000000000..fffda7ab7641f0d3dc4adb9f3c0bd2958f2cac07 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedShellBoundary.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCoupledBoundarySystem +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralShellForcingContinuity + +namespace OAI + +/-! The actual odd-power profile supplies all forcing estimates in the +coupled shell absorption argument. Only the scalar comparison data and the +remote outgoing condition remain at this interface. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_shell_boundary_absorb (C : ℝ) (hC : 0 < C) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ R E A kap B L : ℝ, innerBoundaryRadius < R → R ≤ E → 0 < kap → + 0 ≤ A → 0 ≤ B → (A+1)*(B/E+C/R)/kap^2 ≤ 1/2 → + ∀ Sp Sm : SpectralScalarBoundarySystem R E A, + (∀ t ∈ Icc R E, kap ≤ Sp.k t) → (∀ t ∈ Icc R E, kap ≤ Sm.k t) → + ∀ q : ℝ → (ℂ × ℂ) × (ℂ × ℂ), ContinuousOn q (Icc R E) → + (∀ t ∈ Icc R E, HasDerivAt (fun s => (q s).1) + (spectralScalarField (Sp.V t) (q t).1+ + (0,spectralShellPlusForcing (n+radialInnerShootingThreshold) + (radialMatchedProfile n z t) t (q t))) t) → + (∀ t ∈ Icc R E, HasDerivAt (fun s => (q s).2) + (spectralScalarField (Sm.V t) (q t).2+ + (0,spectralShellMinusForcing (n+radialInnerShootingThreshold) + (radialMatchedProfile n z t) t (q t))) t) → + max ‖(q E).1.2-Sp.beta*(q E).1.1‖ ‖(q E).2.2-Sm.beta*(q E).2.1‖ ≤ + B/E*max ‖(q E).1.1‖ ‖(q E).2.1‖ → + (∀ r ∈ Icc R E, spectralShellPairNorm (Sp.k r) (Sm.k r) + (Sp.extension (q R).1.1 r,Sm.extension (q R).2.1 r) ≤ L) → + ∀ r ∈ Icc R E, + spectralShellPairNorm (Sp.k r) (Sm.k r) (q r) ≤ 2*L ∧ + spectralShellPairNorm (Sp.k r) (Sm.k r) + (q r-(Sp.extension (q R).1.1 r,Sm.extension (q R).2.1 r)) ≤ + 2*((A+1)*(B/E+C/R)/kap^2)*L := by + filter_upwards [radialMatched_shell_forcing_bound C hC] with n hn + intro z hX hz R E A kap B L hRb hRE hkap hA hB hsmall Sp Sm hkp hkm q hq hqp hqm hremote hext + have hR : 0 < R := by linarith [innerBoundaryRadius_bounds.1] + have hQ : ContinuousOn (radialMatchedProfile n z) (Icc R E) := + (radialMatchedProfile_contDiffOn n z hX hz).continuousOn.mono + (fun t ht => hR.trans_le ht.1) + have hfc := spectralShellForcing_continuousOn (n+radialInnerShootingThreshold) R E hR + (radialMatchedProfile n z) q hQ hq + exact spectralCoupled_boundary_absorb Sp Sm kap C B L hR hRE hkap hA hC.le hB hsmall + hkp hkm q _ _ hq hfc.1 hfc.2 hqp hqm + (fun t ht => (hn z t (Sp.k t) (Sm.k t) kap (hRb.trans_le ht.1) + hkap (hkp t ht) (hkm t ht) (q t)).1) + (fun t ht => (hn z t (Sp.k t) (Sm.k t) kap (hRb.trans_le ht.1) + hkap (hkp t ht) (hkm t ht) (q t)).2) hremote hext + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedShellGreen.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedShellGreen.lean new file mode 100644 index 0000000000000000000000000000000000000000..deac09a81c573037f05e8a0f1c127dae01ade2d8 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedShellGreen.lean @@ -0,0 +1,59 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCoupledGreen +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralShellForcingContinuity + +namespace OAI + +/-! The actual matched profile supplies the small coupled Green correction. +Only the scalar transfer bounds remain as inputs to the fixed-shell estimate. -/ + +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatched_shell_green_small (C : ℝ) (hC : 0 spectralShellPlusForcing (n+radialInnerShootingThreshold) + (radialMatchedProfile n z t) t (u t)) r, + spectralScalarGreenIntegral R E Dm Um Wm + (fun t => spectralShellMinusForcing (n+radialInnerShootingThreshold) + (radialMatchedProfile n z t) t (u t)) r)≤ A*C*M/(kap^2*R) := by + filter_upwards [radialMatched_shell_forcing_bound C hC] with n hn + intro z hX hz R E r kap A M hRb hr hkap hA hM kp km hkp hkm u hu huM + Dp Up Dm Um Wp Wm hDp hUp hDm hUm hpL hpR hmL hmR + have hR : 0 hR.trans_le ht.1) + have hc := spectralShellForcing_continuousOn (n+radialInnerShootingThreshold) R E hR + (radialMatchedProfile n z) u hQ hu + apply spectralCoupledGreen_small R E r kap A C M hR hr hkap hA hC.le hM + kp km (hkp r hr) (hkm r hr) Dp Up Dm Um Wp Wm _ _ + hDp hUp hDm hUm hc.1 hc.2 hpL hpR hmL hmR + · intro t ht + exact (hn z t (kp t) (km t) kap (hRb.trans_le ht.1) hkap (hkp t ht) (hkm t ht) (u t)).1.trans + (mul_le_mul_of_nonneg_left (huM t ht) (by positivity)) + · intro t ht + exact (hn z t (kp t) (km t) kap (hRb.trans_le ht.1) hkap (hkp t ht) (hkm t ht) (u t)).2.trans + (mul_le_mul_of_nonneg_left (huM t ht) (by positivity)) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSimpleKernel.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSimpleKernel.lean new file mode 100644 index 0000000000000000000000000000000000000000..2466cb660b455651d12d19a552206bb25d0b286b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSimpleKernel.lean @@ -0,0 +1,84 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedKernelLine +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSimpleKernelEstimate +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilLimit +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactKernelLift + +namespace OAI + +/-! The concrete free compact pencil has a quantitative lower bound on every +fixed complement of a nonzero kernel vector. -/ + +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMatchedFreeBoundary (ell : ℕ) (z : ProfileMatchingBall) + (R : ℝ) (ζ : ℂ) : ℂ × ℂ →L[ℂ] ℂ × ℂ := + spectralFluxBoundary R (radialMatchedFreeMassFunction z R) + (radialMatchedFreeTransportFunction z R) + (spectralGaugeRobin (radialShootingFreeExterior z R) (deriv (radialShootingFreeExterior z) R) + (spectralJetRobin + (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R) + (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R))) + +noncomputable def radialMatchedFreePencil (ell : ℕ) (z : ProfileMatchingBall) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (ζ : ℂ) : SpectralRadialObservationSpace R →L[ℂ] SpectralRadialObservationSpace R := + s.limitPencil ell (radialMatchedCore_radius_pos z) hLR + (radialMatchedLimitWeakOperator ell z hc R ((radialMatchedCore_radius_pos z).trans hLR) + ζ (radialMatchedFreeBoundary ell z R ζ)) + +theorem radialMatchedFreePencil_kernel_line (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1 = 0) (hz : diskProfile (profileMatchingParameter z) = 0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density = radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (v₀ v : SpectralRadialObservationSpace R) (hv₀ : v₀ ≠ 0) + (hfix₀ : radialMatchedFreePencil ell z hc R hLR s ζ v₀ = v₀) + (hfix : radialMatchedFreePencil ell z hc R hLR s ζ v = v) : + ∃ a : ℂ, v = a • v₀ := by + let hR := (radialMatchedCore_radius_pos z).trans hLR + let B : ℂ × ℂ →L[ℂ] ℂ × ℂ := radialMatchedFreeBoundary ell z R ζ + let K : SpectralRadialObservationSpace R →L[ℂ] SpectralHarmonicPair ell R := + radialMatchedLimitWeakOperator ell z hc R hR ζ B + change s.limitPencil ell (radialMatchedCore_radius_pos z) hLR K v₀ = v₀ at hfix₀ + change s.limitPencil ell (radialMatchedCore_radius_pos z) hLR K v = v at hfix + obtain ⟨u₀, hu₀, ho₀, he₀⟩ := + s.limitPencil_kernel_lift ell (radialMatchedCore_radius_pos z) hLR K v₀ hfix₀ + obtain ⟨u, hu, ho, he⟩ := + s.limitPencil_kernel_lift ell (radialMatchedCore_radius_pos z) hLR K v hfix + obtain ⟨a, ha⟩ := radialMatchedWeak_observation_line ell z hz₁ hz hc R hLR + s.limitWeight hmass ζ hζ u₀ u hu₀ hu (by simpa only [ho₀] using hv₀) + hdet B rfl he₀ he + exact ⟨a, by simpa only [ho, ho₀] using ha⟩ + +theorem radialMatchedFreePencil_complement_estimate (ell : ℕ) (z : ProfileMatchingBall) + (hz₁ : z.val.1 = 0) (hz : diskProfile (profileMatchingParameter z) = 0) + (hc : Continuous (radialMatchedFreeMassFunction z)) (R : ℝ) + (hLR : radialShootingR (profileMatchingParameter z) < R) + (s : SpectralPenaltyFamily R (radialShootingR (profileMatchingParameter z))) + (hmass : s.limitWeight.density = radialMatchedFreeMassFunction z) + (ζ : ℂ) (hζ : -(1/32 : ℝ) ≤ ζ.re) + (hdet : spectralValueDet + (spectralPhysicalValueMap (spectralFreePositivePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) + (spectralPhysicalValueMap (spectralFreeNegativePhysical ell (radialShootingB (profileMatchingParameter z)) ζ R)) ≠ 0) + (v₀ : SpectralRadialObservationSpace R) + (hfix : radialMatchedFreePencil ell z hc R hLR s ζ v₀ = v₀) + (L : SpectralRadialObservationSpace R →L[ℂ] ℂ) (hL : L v₀ ≠ 0) : + ∃ c : ℝ, 0 < c ∧ ∀ v : SpectralRadialObservationSpace R, L v = 0 → + c * ‖v‖ ≤ ‖v - radialMatchedFreePencil ell z hc R hLR s ζ v‖ := by + have hv₀ : v₀ ≠ 0 := by intro h; exact hL (by rw [h, map_zero]) + apply compact_simple_kernel_estimate _ + (s.limitPencil_compact ell (radialMatchedCore_radius_pos z) hLR _) v₀ L hL + exact fun v hv => radialMatchedFreePencil_kernel_line ell z hz₁ hz hc R hLR s hmass + ζ hζ hdet v₀ v hv₀ hfix hv + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSmooth.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSmooth.lean new file mode 100644 index 0000000000000000000000000000000000000000..e12d5a8fc8133da5ac2659a24d9843e8048c5c63 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSmooth.lean @@ -0,0 +1,97 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialODEJoin +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialShootingPhysicalJet +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialProfileSplice + +namespace OAI + +/-! The matched radial profile is smooth and stationary at every positive radius. -/ + +open scoped ContDiff +open Set Filter +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMatchedJet (n : ℕ) (z : ProfileMatchingBall) (r : ℝ) : ℂ × ℂ := + if r ≤ innerBoundaryRadius then radialShootingInnerJet n (profileMatchingParameter z) r + else radialShootingPhysicalJet n z r + +theorem radialMatchedJet_fst (n : ℕ) (z : ProfileMatchingBall) : + (fun r => (radialMatchedJet n z r).1)=radialMatchedProfile n z := by + funext r + dsimp only [radialMatchedJet,radialMatchedProfile] + split_ifs <;> rfl + +theorem radialMatchedJet_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + HasDerivAt (radialMatchedJet n z) + (radialStationaryField (n+radialInnerShootingThreshold) (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) r (radialMatchedJet n z r)) r := by + apply radial_ode_join _ _ _ innerBoundaryRadius + (by linarith [innerBoundaryRadius_bounds.1]) + (radialShootingInnerJet_continuousOn n (profileMatchingParameter z)) + (radialShootingInnerJet_hasDerivAt n (profileMatchingParameter z)) + (radialShootingPhysicalJet_hasDerivAt n z hX) + (radialShootingJet_match n z hX hz) _ r hr + exact (radialStationaryField_contDiffAt _ _ _ _ + (by linarith [innerBoundaryRadius_bounds.1])).continuousAt + +theorem radialMatchedJet_contDiffOn (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : + ContDiffOn ℝ ∞ (radialMatchedJet n z) (Ioi 0) := + radialStationarySolution_contDiffOn _ _ _ _ (radialMatchedJet_hasDerivAt n z hX hz) + +theorem radialMatchedProfile_contDiffOn (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) : + ContDiffOn ℝ ∞ (radialMatchedProfile n z) (Ioi 0) := by + have hh := (radialMatchedJet_contDiffOn n z hX hz).fst + rwa [radialMatchedJet_fst] at hh + +theorem radialMatchedProfile_hasDerivAt (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + HasDerivAt (radialMatchedProfile n z) (radialMatchedJet n z r).2 r := by + have hh := (ContinuousLinearMap.fst ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r + (radialMatchedJet_hasDerivAt n z hX hz r hr) + change HasDerivAt (fun t => (radialMatchedJet n z t).1) (radialMatchedJet n z r).2 r at hh + rwa [radialMatchedJet_fst] at hh + +theorem radialMatchedProfile_stationary (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (r : ℝ) (hr : 0 < r) : + deriv (deriv (radialMatchedProfile n z)) r+ + (11/r : ℝ)*deriv (radialMatchedProfile n z) r+ + Complex.I*((r/2 : ℝ)*deriv (radialMatchedProfile n z) r+ + (radialShootingA n : ℂ)*radialMatchedProfile n z r)+ + (radialShootingB (profileMatchingParameter z) : ℂ)*radialMatchedProfile n z r= + oddPowerNonlinearity (n+radialInnerShootingThreshold) (radialMatchedProfile n z r) := by + have hh := (ContinuousLinearMap.snd ℝ ℂ ℂ).hasFDerivAt.comp_hasDerivAt r + (radialMatchedJet_hasDerivAt n z hX hz r hr) + change HasDerivAt (fun t => (radialMatchedJet n z t).2) _ r at hh + have he : deriv (radialMatchedProfile n z) =ᶠ[nhds r] + (fun t => (radialMatchedJet n z t).2) := by + filter_upwards [Ioi_mem_nhds hr] with t ht + exact (radialMatchedProfile_hasDerivAt n z hX hz t ht).deriv + have hD := (hh.congr_of_eventuallyEq he).deriv + have hQ := congrFun (radialMatchedJet_fst n z) r + have hQ' := (radialMatchedProfile_hasDerivAt n z hX hz r hr).deriv + dsimp only [radialStationaryField] at hD + rw [hQ,← hQ'] at hD + change deriv (deriv (radialMatchedProfile n z)) r= + -(11/r : ℝ)*deriv (radialMatchedProfile n z) r- + Complex.I*((r/2 : ℝ)*deriv (radialMatchedProfile n z) r+ + (radialShootingA n : ℂ)*radialMatchedProfile n z r)- + (radialShootingB (profileMatchingParameter z) : ℂ)*radialMatchedProfile n z r+ + oddPowerNonlinearity (n+radialInnerShootingThreshold) (radialMatchedProfile n z r) at hD + linear_combination hD + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceBalance.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceBalance.lean new file mode 100644 index 0000000000000000000000000000000000000000..5d1d0772a6a5957ac9af9c680b130ace4f19155f --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceBalance.lean @@ -0,0 +1,75 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSourceFlux +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedSourceBalance +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeBalance + +namespace OAI + +/-! The actual generalized radial mode satisfies the completed weak source balance. -/ + +open Set MeasureTheory +open scoped SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedSource_balance (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) (η lam : ℂ) (f g F G : ℝ → ℂ) + (hF : Continuous F) (hG : Continuous G) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeSourcePair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g F G) (φ : 𝓢(ℝ,ℂ)) : + (spectralClassicalRadialPairing R (radialMatchedMassFunction n z) (deriv f) (deriv φ)+ + η*spectralClassicalAngularPairing R (radialMatchedMassFunction n z) f φ+ + ((radialShootingA n)⁻¹ : ℝ)*spectralClassicalRadialPairing R + (fun r => radialMatchedMassFunction n z r* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) f φ+ + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) G φ= + (((6-2*radialShootingA n : ℝ) : ℂ)-lam)* + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) g φ+ + spectralClassicalRadialPairing R (radialMatchedTransportFunction n z) g (deriv φ)+ + star (φ R)*spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R) ∧ + (spectralClassicalRadialPairing R (radialMatchedMassFunction n z) (deriv g) (deriv φ)+ + η*spectralClassicalAngularPairing R (radialMatchedMassFunction n z) g φ+ + (((6-2*radialShootingA n : ℝ) : ℂ)-lam)* + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) f φ+ + spectralClassicalRadialPairing R (radialMatchedTransportFunction n z) f (deriv φ)- + spectralClassicalRadialPairing R (radialMatchedMassFunction n z) F φ= + star (φ R)*spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g R) := by + have hμ := radialMatchedMassFunction_continuous n z hX hz + have hA := radialMatchedTransportFunction_continuous n z hX hz + have hQ := (radialMatchedProfile_differentiable n z hX hz).continuous + obtain ⟨hfirst,hsecond⟩ := radialMatchedSource_test n z hX hz R hR η lam f g F G hF hG hf hg he φ + constructor + · have hp : Continuous (fun r => 2*((n+radialInnerShootingThreshold : ℕ) : ℝ)* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) := by fun_prop + have ht := spectralWeightedFlux_first_source_balance R hR.le + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) + (fun r => 2*((n+radialInnerShootingThreshold : ℕ) : ℝ)* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))) + hμ hA hp f g G hG hf hg η ((6-2*radialShootingA n : ℝ) : ℂ) lam φ (by + simpa only [radialMatchedForcedFirstSource,Complex.ofReal_mul,Complex.ofReal_ofNat, + Complex.ofReal_natCast] + using hfirst) + have hfactor : (radialShootingA n)⁻¹=2*((n+radialInnerShootingThreshold : ℕ) : ℝ) := by + simp [radialShootingA,one_div] + have hpEq : (fun r => radialMatchedMassFunction n z r* + (2*((n+radialInnerShootingThreshold : ℕ) : ℝ)* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold))))= + (fun r => (radialShootingA n)⁻¹*(radialMatchedMassFunction n z r* + ‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold)))) := by + funext r + rw [hfactor] + ring + rw [hpEq,spectralClassicalRadialPairing_const_weight] at ht + exact ht + · exact spectralWeightedFlux_second_source_balance R hR.le + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) hμ hA + f g F hF hf hg η ((6-2*radialShootingA n : ℝ) : ℂ) lam φ (by + simpa only [radialMatchedForcedSecondSource] using hsecond) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceFlux.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceFlux.lean new file mode 100644 index 0000000000000000000000000000000000000000..de2a80bd6e981b7fb6af3e6065aa5d79e4e4a86a --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceFlux.lean @@ -0,0 +1,108 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedSourceGauge +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeClassicalSourceFlux +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeFlux + +namespace OAI + +/-! Weighted flux equations and integration by parts for the actual Jordan source. -/ + +open Set +open scoped SchwartzMap +namespace DefocusingNLS +open ProfileCertificate + +noncomputable def radialMatchedForcedFirstSource (n : ℕ) (z : ProfileMatchingBall) + (η lam : ℂ) (f g _F G : ℝ → ℂ) (r : ℝ) : ℂ := + η*(r : ℂ)^9*(radialMatchedMassFunction n z r : ℂ)*f r+ + (r : ℂ)^11*(radialMatchedMassFunction n z r : ℂ)* + (2*((n+radialInnerShootingThreshold : ℕ) : ℂ)* + ((‖radialMatchedProfile n z r‖^(2*(n+radialInnerShootingThreshold)) : ℝ) : ℂ)*f r+ + (lam-((6-2*radialShootingA n : ℝ) : ℂ))*g r+G r) + +noncomputable def radialMatchedForcedSecondSource (n : ℕ) (z : ProfileMatchingBall) + (η lam : ℂ) (f g F _G : ℝ → ℂ) (r : ℝ) : ℂ := + η*(r : ℂ)^9*(radialMatchedMassFunction n z r : ℂ)*g r+ + (r : ℂ)^11*(radialMatchedMassFunction n z r : ℂ)* + ((((6-2*radialShootingA n : ℝ) : ℂ)-lam)*f r-F r) + +theorem radialMatchedSource_flux (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η lam : ℂ) (f g F G : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeSourcePair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g F G) (r : ℝ) (hr : 0 < r) : + HasDerivAt (spectralGaugeFirstFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g) + (radialMatchedForcedFirstSource n z η lam f g F G r) r ∧ + HasDerivAt (spectralGaugeSecondFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g) + (radialMatchedForcedSecondSource n z η lam f g F G r) r := by + obtain ⟨hμ,hA,hlog,hvel⟩ := radialMatchedGauge_coefficients n z hX hz r hr + obtain ⟨hF,hG⟩ := he r hr + simp only [add_assoc,hlog,hvel] at hF hG + have hμn : radialMatchedMassFunction n z r ≠ 0 := + pow_ne_zero 2 (norm_ne_zero_iff.mpr (radialMatchedProfile_ne_zero n z hX r hr.le)) + have h := spectralGaugeClassicalSourceFlux (radialMatchedMassFunction n z) + (radialMatchedTransportFunction n z) f g F G r + (2*(star (radialMatchedEvenProfile n z r)*deriv (radialMatchedEvenProfile n z) r).re) + (6-2*radialShootingA n) η lam + (2*((n+radialInnerShootingThreshold : ℕ) : ℂ)* + ((‖radialMatchedEvenProfile n z r‖^(2*(n+radialInnerShootingThreshold)) : ℝ) : ℂ)) + hr.ne' hμn hμ hA + (hf.differentiable (by norm_num) r) (hg.differentiable (by norm_num) r) + ((hf.deriv' (n := 1)).differentiable (by norm_num) r) + ((hg.deriv' (n := 1)).differentiable (by norm_num) r) hF hG + simpa only [radialMatchedForcedFirstSource,radialMatchedForcedSecondSource, + radialMatchedEvenProfile_nonneg n z r hr.le] using h + +theorem radialMatchedSource_test (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (R : ℝ) (hR : 0 < R) (η lam : ℂ) (f g F G : ℝ → ℂ) + (hF : Continuous F) (hG : Continuous G) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (he : IsRadialLogGaugeSourcePair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g F G) (φ : 𝓢(ℝ,ℂ)) : + (∫ r in (0 : ℝ)..R, star (deriv φ r)*spectralGaugeFirstFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g r)+ + (∫ r in (0 : ℝ)..R, star (φ r)*radialMatchedForcedFirstSource n z η lam f g F G r)= + star (φ R)*spectralGaugeFirstFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g R ∧ + (∫ r in (0 : ℝ)..R, star (deriv φ r)*spectralGaugeSecondFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g r)+ + (∫ r in (0 : ℝ)..R, star (φ r)*radialMatchedForcedSecondSource n z η lam f g F G r)= + star (φ R)*spectralGaugeSecondFlux + (radialMatchedMassFunction n z) (radialMatchedTransportFunction n z) f g R := by + have hμ := radialMatchedMassFunction_continuous n z hX hz + have hA := radialMatchedTransportFunction_continuous n z hX hz + have hQ := (radialMatchedProfile_differentiable n z hX hz).continuous + have hfc := hf.continuous + have hgc := hg.continuous + have hDf := hf.continuous_deriv (by norm_num) + have hDg := hg.continuous_deriv (by norm_num) + constructor + · apply spectralClassicalFlux_test R hR.le _ _ _ _ _ _ φ + · apply Continuous.continuousOn + unfold spectralGaugeFirstFlux + fun_prop + · apply Continuous.continuousOn + unfold radialMatchedForcedFirstSource + fun_prop + · intro r hr + exact (radialMatchedSource_flux n z hX hz η lam f g F G hf hg he r hr.1).1 + · simp [spectralGaugeFirstFlux] + · apply spectralClassicalFlux_test R hR.le _ _ _ _ _ _ φ + · apply Continuous.continuousOn + unfold spectralGaugeSecondFlux + fun_prop + · apply Continuous.continuousOn + unfold radialMatchedForcedSecondSource + fun_prop + · intro r hr + exact (radialMatchedSource_flux n z hX hz η lam f g F G hf hg he r hr.1).2 + · simp [spectralGaugeSecondFlux] + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceGauge.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceGauge.lean new file mode 100644 index 0000000000000000000000000000000000000000..69bd4a3fa3a78f80d059bf85cc60e7360152eb1b --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceGauge.lean @@ -0,0 +1,60 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedGaugeEquation +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialRealSourceGauge + +namespace OAI + +/-! An actual radial Jordan source pair passes to the matched-profile gauge. -/ + +open Set MeasureTheory +namespace DefocusingNLS +open ProfileCertificate + +def IsRadialLogGaugeSourcePair (m : ℕ) (Q : ℝ → ℂ) (η lam : ℂ) (f g F G : ℝ → ℂ) : Prop := + ∀ r : ℝ, 0 < r → + (lam*f r+F r=-(deriv (deriv g) r+ + (11/(r : ℂ)+deriv Q r/Q r+star (deriv Q r)/star (Q r))*deriv g r- + η/(r : ℂ)^2*g r)- + ((r : ℂ)/2-Complex.I*(deriv Q r/Q r-star (deriv Q r)/star (Q r)))*deriv f r) ∧ + (lam*g r+G r=deriv (deriv f) r+ + (11/(r : ℂ)+deriv Q r/Q r+star (deriv Q r)/star (Q r))*deriv f r- + η/(r : ℂ)^2*f r- + ((r : ℂ)/2-Complex.I*(deriv Q r/Q r-star (deriv Q r)/star (Q r)))*deriv g r- + 2*(m : ℂ)*((‖Q r‖^(2*m) : ℝ) : ℂ)*f r) + +theorem radialMatchedGauge_source_equation (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (η lam : ℂ) (F G f g F₀ G₀ f₀ g₀ : ℝ → ℂ) + (hf : ContDiff ℝ 2 f) (hg : ContDiff ℝ 2 g) + (hpair : ∀ r, (radialMatchedEvenProfile n z r*(f r+Complex.I*g r), + star (radialMatchedEvenProfile n z r)*(f r-Complex.I*g r))=(F r,G r)) + (hpair₀ : ∀ r, (radialMatchedEvenProfile n z r*(f₀ r+Complex.I*g₀ r), + star (radialMatchedEvenProfile n z r)*(f₀ r-Complex.I*g₀ r))=(F₀ r,G₀ r)) + (he : IsHarmonicRadialSourcePair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + (radialMatchedProfile n z) η lam F G F₀ G₀) : + IsRadialLogGaugeSourcePair (n+radialInnerShootingThreshold) + (radialMatchedEvenProfile n z) η lam f g f₀ g₀ := by + let Q := radialMatchedEvenProfile n z + have hF : (fun r => Q r*(f r+Complex.I*g r))=F := funext (fun r => congrArg Prod.fst (hpair r)) + have hG : (fun r => star (Q r)*(f r-Complex.I*g r))=G := funext (fun r => congrArg Prod.snd (hpair r)) + have hF₀ : (fun r => Q r*(f₀ r+Complex.I*g₀ r))=F₀ := funext (fun r => congrArg Prod.fst (hpair₀ r)) + have hG₀ : (fun r => star (Q r)*(f₀ r-Complex.I*g₀ r))=G₀ := funext (fun r => congrArg Prod.snd (hpair₀ r)) + have hE : IsHarmonicRadialSourcePair (radialShootingA n) + (radialShootingB (profileMatchingParameter z)) (n+radialInnerShootingThreshold) + Q η lam (fun r => Q r*(f r+Complex.I*g r)) + (fun r => star (Q r)*(f r-Complex.I*g r)) + (fun r => Q r*(f₀ r+Complex.I*g₀ r)) + (fun r => star (Q r)*(f₀ r-Complex.I*g₀ r)) := by + rw [hF,hG,hF₀,hG₀] + intro r hr + simpa only [Q,radialMatchedEvenProfile_nonneg n z r hr.le] using he r hr + intro r hr + exact spectralRadialRealSourceGauge _ _ _ η lam Q f g f₀ g₀ + ((radialMatchedEvenProfile_contDiff n z hX hz).of_le (by simp)) hf hg hE r hr + (radialMatchedEvenProfile_ne_zero n z hX r) + (radialMatchedEvenProfile_stationary n z hX hz r hr) + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceRobin.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceRobin.lean new file mode 100644 index 0000000000000000000000000000000000000000..55ccb0175c0edd99addb50a6bc1c482ab1e3f496 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSourceRobin.lean @@ -0,0 +1,71 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialCanonicalJordanResidual +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedTailBoundary +import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRobinSourcePlane +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalRobinAnalytic + +namespace OAI + +/-! The actual generalized mode's tail energy forces the differentiated outgoing boundary condition. -/ + +open Set Filter Topology MeasureTheory +open scoped ContDiff +namespace DefocusingNLS +open ProfileCertificate +local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ) + +theorem radialMatched_source_canonical_robin (n : ℕ) (z : ProfileMatchingBall) + (hX : HasRadialExterior (radialShootingNu (n+radialInnerShootingThreshold) z) + (n+radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) + (hz : radialMatchingMap n z=0) (eta lam : ℂ) (hlam : 0≤lam.re) (N : ℕ) (hN : 7≤N) + (u : RadialSpectralMode (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) N (radialMatchedProfile n z) eta lam) + (v w : ℝ → ℂ) (hv : ContDiff ℝ 2 v) (hw : ContDiff ℝ 2 w) + (he : IsHarmonicRadialSourcePair (radialShootingA n) (radialShootingB (profileMatchingParameter z)) + (n+radialInnerShootingThreshold) (radialMatchedProfile n z) eta lam v w u.first u.second) + (hvt : IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi 0)) + (hwt : IntegrableOn (fun r => r^11*‖iteratedDeriv N w r‖^2) (Ioi 0)) + (hb : ∃ M : ℝ, 0≤M ∧ ∀ r, ‖(v r,w r)‖≤M) + (Y Z : ℂ → ℝ → E₄) + (hY : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (1,0) Y) + (hZ : IsCanonicalHolomorphicColumn (radialShootingNu (n+radialInnerShootingThreshold) z) + eta (radialShootingM z) (n+radialInnerShootingThreshold) + (Real.log innerBoundaryRadius) (0,1) Z) + (R : ℝ) (hR : innerBoundaryRadius spectralPhysicalPair (ν-2*la) (star ν-2*la) (Y la) R + let Q := fun la => spectralPhysicalPair (ν-2*la) (star ν-2*la) (Z la) R + have hr₁ : 1≤R := le_trans innerBoundaryRadius_bounds.1 hR.le + have hP : AnalyticAt ℂ P lam := by + apply spectralPhysicalPair_analyticAt + · fun_prop + · fun_prop + · exact hY.2.2.1 lam (Real.log R) (Real.log_nonneg hr₁) + have hQ : AnalyticAt ℂ Q lam := by + apply spectralPhysicalPair_analyticAt + · fun_prop + · fun_prop + · exact hZ.2.2.1 lam (Real.log R) (Real.log_nonneg hr₁) + have hresult := spectralJetRobin_parameter_chain_of_residual P Q lam hP hQ hd c.1 c.2 + (harmonicRadialState u.first u.second R) (harmonicRadialState v w R) (hc R le_rfl) hres + exact hresult + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSpectralLocalization.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSpectralLocalization.lean new file mode 100644 index 0000000000000000000000000000000000000000..50add2f614dc7c4f34e4edcfd0350ad0eaddd5f9 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedSpectralLocalization.lean @@ -0,0 +1,58 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCanonicalExclusion +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialSpectralMode +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousMatchedOutgoing + +namespace OAI + +/-! Every finite limit of actual fixed-harmonic eigenvalues is a zero of the +certified free outgoing determinant. No outgoing premise is assumed. -/ + +open Set Filter Topology +namespace DefocusingNLS +open ProfileCertificate + +theorem radialMatchedSpectralMode_limit_zero + (ell N : ℕ) (hN : 7 ≤ N) (s : ℕ → ℕ) (hs : StrictMono s) + (z : ℕ → ProfileMatchingBall) (z₀ : ProfileMatchingBall) + (hz : Tendsto z atTop (𝓝 z₀)) + (hX : ∀ i, HasRadialExterior (radialShootingNu (s i+radialInnerShootingThreshold) (z i)) + (s i+radialInnerShootingThreshold) (radialShootingM (z i)) (Real.log innerBoundaryRadius)) + (hm : ∀ i, radialMatchingMap (s i) (z i)=0) + (hz₁ : z₀.val.1=0) (hz₀ : diskProfile (profileMatchingParameter z₀)=0) + (lam : ℕ → ℂ) (lam₀ : ℂ) (hlam : Tendsto lam atTop (𝓝 lam₀)) + (hlam₀ : -(1/32 : ℝ)≤lam₀.re) (hhalf : ∀ i, -(1/32 : ℝ)≤(lam i).re) + (mode : ∀ i, RadialSpectralMode (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) N + (radialMatchedProfile (s i) (z i)) ((ell : ℂ)*(ell+10)) (lam i)) : + spectralSlowDeterminant ell (radialShootingB (profileMatchingParameter z₀)) + ((radialShootingR (profileMatchingParameter z₀))^2/4) lam₀=0 := by + by_contra hD + obtain ⟨R,_hR0,hR,Y,Z,hYZ,hno⟩ := radialMatchedCanonical_exclusion_with_det + ell s hs z z₀ hz hX hm hz₁ hz₀ lam lam₀ hlam hlam₀ hD 0 + obtain ⟨i,hi,hYi⟩ := (hno.and hYZ).exists + simp only [Nat.cast_mul,Nat.cast_add,Nat.cast_ofNat] at hYi + let u := mode i + have hη : (((ell : ℝ)*(ell+10) : ℝ) : ℂ)=(ell : ℂ)*(ell+10) := by push_cast; rfl + have he : IsHarmonicRadialEigenpair (radialShootingA (s i)) + (radialShootingB (profileMatchingParameter (z i))) (s i+radialInnerShootingThreshold) + (radialMatchedProfile (s i) (z i)) (((ell : ℝ)*(ell+10) : ℝ) : ℂ) + (lam i) u.first u.second := by + rw [hη] + exact u.equation + have hb := homogeneous_matched_pair_canonical_robin + (s i) (z i) (hX i) (hm i) ((ell : ℂ)*(ell+10)) N hN (lam i) (hhalf i) + u.first u.second u.first_c2 u.second_c2 u.equation u.bounded u.first_top u.second_top + (Y i) (Z i) hYi.1 hYi.2 R hR hi.1 + have hzpair := hi.2 u.first u.second u.first_c2 u.second_c2 he hb + obtain ⟨r,hr,hrn⟩ := harmonicRadialEigenpair_nonzero_on_ball _ _ _ _ u.first u.second _ _ + (radialMatchedProfile_differentiable (s i) (z i) (hX i) (hm i)).continuous.continuousOn + u.first_c2 u.second_c2 u.equation u.nonzero R + (((by norm_num : (0 : ℝ)<1).trans_le innerBoundaryRadius_bounds.1).trans hR) + obtain ⟨hf,hg⟩ := hzpair r hr + rcases hrn with hrn | hrn + · exact hrn hf + · exact hrn hg + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableOrbit.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableOrbit.lean new file mode 100644 index 0000000000000000000000000000000000000000..cadc3a355e60a2c1326075e3c85798eda1807d05 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableOrbit.lean @@ -0,0 +1,63 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedLinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedNonlinearStep +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.DiagonalCutoffStableOrbit + +namespace OAI + +/-! # The constructed matched profile has actual global stable orbits -/ + +open Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) + +attribute [local irreducible] homogeneousStableCoordinates + HasFiniteDiagonalCutoffStableOrbits + +theorem radialMatched_exists_stable_orbits (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℝ)) (hχ : HasCompactSupport (χ : E → ℝ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = Qp x) ∧ + ∃ P : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem P ∧ ∃ hfin : FiniteDimensional ℂ P.range, + letI := hfin + HasFiniteDiagonalCutoffStableOrbits a b (N + 1 : ℕ) ha ha1 hk m + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) Qp hQp + (homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P) := by + filter_upwards [radialMatched_exists_linear_step hRou] with n hn + intro z hX hz χ hχ hχzero hχone + have hc0 : ∀ y : E, 1 ≤ ‖y‖ → (χ.postcompCLM Complex.ofRealCLM) y = 0 := by + intro y hy + simp only [SchwartzMap.postcompCLM_apply, hχzero y hy, map_zero] + have hc1 : ∀ y : E, ‖y‖ ≤ 1 / 2 → (χ.postcompCLM Complex.ofRealCLM) y = 1 := by + intro y hy + simp only [SchwartzMap.postcompCLM_apply, hχone y hy, Complex.ofRealCLM_apply, Complex.ofReal_one] + obtain ⟨N, hk10, q, hq, P, hP, hfin, Q, hQ, hqb, hlinear⟩ := hn z hX hz + (χ.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff χ hχ) hc0 hc1 + let : FiniteDimensional ℂ P.range := hfin + refine ⟨N, hk10, q, hq, P, hP, hfin, ?_⟩ + apply cutoffStableOrbits_of_linear_steps _ _ _ _ _ _ _ _ _ _ _ Q hQ hqb _ hlinear + exact fun T => radialMatched_nonlinear_steps n z hX hz _ _ χ hχ + (fun y hy => hχone y hy.le) hχzero T Q hQ hqb + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableTransfer.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableTransfer.lean new file mode 100644 index 0000000000000000000000000000000000000000..e1748119f089b50dc463dad372a74545e06aeb04 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableTransfer.lean @@ -0,0 +1,94 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SymmetryRangeGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCommonOrder +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRealStableCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableTransfer + +namespace OAI + +/-! # Stable contraction for the constructed matched profile on expanding tori -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousComplexLinearizedStep homogeneousStableCoordinates + expandingProfileTrajectory + +theorem radialMatched_exists_stable_transfer (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = Qp x) ∧ + ∃ P : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem P ∧ FiniteDimensional ℂ P.range ∧ + ∃ hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) + ha ha1 hk m q t) P, + HasSymmetryRangeGenerator + (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) P hcomm ∧ + ∃ Q : ℝ, ∃ hQ : 0 ≤ Q, + ∃ hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a (N + 1 : ℕ) ha1 hk χ hχ Qp hQp L‖ ≤ Q, + ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ (T : ℝ) (hT : 0 ≤ T), T₀ ≤ T → ∃ L₀ : ℝ, + ∀ L : Radius, L₀ ≤ L.1 → ∀ f : FourierL2, ‖f‖ ≤ 1 → + homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P + (homogeneousLocalizationCLM a (N + 1 : ℕ) L.1 ha ha1 hk L.2 χ f) = 0 → + ‖expandingProfileTrajectory a b (N + 1 : ℕ) L.1 T ha ha1 hk L.2 hT m Q hQ + (sampledCutoffProfilePath a (N + 1 : ℕ) L.1 T ha ha1 hk L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) f + ⟨T, hT, le_rfl⟩‖ < β := by + filter_upwards [radialMatched_exists_common_order hRou] with n hn + intro z hX hz χ hχ hχzero hχone + obtain ⟨N, hk10, q, hq, hg, hbound, c, hc, R, C, hC, he⟩ := + hn z hX hz χ hχ hχzero hχone + let k : ℝ := (N + 1 : ℕ) + have hk : 8 < k := lt_trans (by norm_num) hk10 + let a := radialShootingA n + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + have hQp := radialMatchedCartesian_contDiff n z hX hz + obtain ⟨P, hP, hfin, hcomm, ⟨D, δ, hD, hδ, hdecay⟩, G, hG, hspec, hspan⟩ := hg + obtain ⟨Q, hQ, hqb⟩ := hbound + obtain ⟨C₀, hC₀, hCb⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let π := homogeneousStableCoordinates a k ha ha1 hk P + let C₁ := C * (‖homogeneousPhysicalCLM a k ha ha1 hk‖ * (D * C₀)) ^ 2 + have hlim := tendsto_escapedEnergyBound c (2 * δ) 1 C₁ hc (by linarith) + refine ⟨N, hk10, q, hq, P, hP, hfin, hcomm, ⟨G, hG, hspec, hspan⟩, Q, hQ, hqb, ?_⟩ + intro β hβ + obtain ⟨T₀, hT₀⟩ := eventually_atTop.mp + (hlim.eventually (gt_mem_nhds (pow_pos hβ 2))) + refine ⟨max 0 T₀, le_max_left _ _, ?_⟩ + intro T hT hTT + have hsmall : escapedEnergyBound c (2 * δ) 1 C₁ T < β ^ 2 := + hT₀ T ((le_max_right 0 T₀).trans hTT) + apply sampledCutoffProfile_uniform_stable_contraction a b k T Q C₀ c C R D δ β + ha ha1 hk10 hT hQ hC₀ hc.le hC hD hβ m χ hχ hχzero hχone Qp hQp q hq hqb hCb π R he + · intro u hu t + exact homogeneousStableCoordinates_decay a k ha ha1 hk b m q P D δ hdecay T hT u hu t + · exact hsmall + +end DefocusingNLS + +end OAI diff --git a/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableTransferContour.lean b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableTransferContour.lean new file mode 100644 index 0000000000000000000000000000000000000000..3df40c887464a6826b6ce169800669ca7e98d7c1 --- /dev/null +++ b/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/RadialMatchedStableTransferContour.lean @@ -0,0 +1,98 @@ +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.SymmetryRangeGenerator +import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialMatchedCommonOrder +import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRealStableCoordinates +import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffStableTransfer + +namespace OAI + +/-! # Stable contraction retaining its contour generator and decay -/ + +open Set Filter Topology +open scoped SchwartzMap ContDiff NNReal + +namespace DefocusingNLS +open ProfileCertificate + +local notation "E" => EuclideanSpace ℝ (Fin 12) +local notation "Radius" => {L : ℝ // 1 ≤ L} + +attribute [local irreducible] homogeneousComplexLinearizedStep homogeneousStableCoordinates + expandingProfileTrajectory + +theorem radialMatched_exists_stable_transfer_with_contour (hRou : RectangleRouche) : + ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, + (hX : HasRadialExterior (radialShootingNu (n + radialInnerShootingThreshold) z) + (n + radialInnerShootingThreshold) (radialShootingM z) (Real.log innerBoundaryRadius)) → + (hz : radialMatchingMap n z = 0) → + ∀ (χ : 𝓢(E, ℂ)) (hχ : HasCompactSupport (χ : E → ℂ)), + (∀ y : E, 1 ≤ ‖y‖ → χ y = 0) → (∀ y : E, ‖y‖ ≤ 1 / 2 → χ y = 1) → + ∃ N : ℕ, ∃ hk10 : 10 < ((N + 1 : ℕ) : ℝ), + let hk : 8 < ((N + 1 : ℕ) : ℝ) := lt_trans (by norm_num) hk10 + let a := radialShootingA n + let ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + let ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + let hQp := radialMatchedCartesian_contDiff n z hX hz + ∃ q : HomogeneousY a ((N + 1 : ℕ) : ℝ), + (∀ x : E, homogeneousPhysicalCLM a ((N + 1 : ℕ) : ℝ) ha ha1 hk q x = Qp x) ∧ + ∃ P : (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)) →L[ℂ] + (HomogeneousY a ((N + 1 : ℕ) : ℝ) × HomogeneousY a ((N + 1 : ℕ) : ℝ)), + IsIdempotentElem P ∧ FiniteDimensional ℂ P.range ∧ + ∃ hcomm : ∀ t, Commute (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) + ha ha1 hk m q t) P, + HasSymmetryRangeGenerator + (homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) ha ha1 hk m q) P hcomm ∧ + ∃ D δ : ℝ, 0 < δ ∧ + (∀ t : ℝ≥0, ∀ v, P v = 0 → + ‖homogeneousComplexLinearizedStep a b ((N + 1 : ℕ) : ℝ) + ha ha1 hk m q t v‖ ≤ D * Real.exp (-δ * (t : ℝ)) * ‖v‖) ∧ + ∃ Q : ℝ, ∃ hQ : 0 ≤ Q, + ∃ hqb : ∀ L : Radius, + ‖cutoffProfileCoefficient a (N + 1 : ℕ) ha1 hk χ hχ Qp hQp L‖ ≤ Q, + ∀ β : ℝ, 0 < β → ∃ T₀ : ℝ, 0 ≤ T₀ ∧ + ∀ (T : ℝ) (hT : 0 ≤ T), T₀ ≤ T → ∃ L₀ : ℝ, + ∀ L : Radius, L₀ ≤ L.1 → ∀ f : FourierL2, ‖f‖ ≤ 1 → + homogeneousStableCoordinates a (N + 1 : ℕ) ha ha1 hk P + (homogeneousLocalizationCLM a (N + 1 : ℕ) L.1 ha ha1 hk L.2 χ f) = 0 → + ‖expandingProfileTrajectory a b (N + 1 : ℕ) L.1 T ha ha1 hk L.2 hT m Q hQ + (sampledCutoffProfilePath a (N + 1 : ℕ) L.1 T ha ha1 hk L.2 χ hχ Qp hQp) + (fun t => hqb (expandingRadiusCurve L.1 T L.2 t)) f + ⟨T, hT, le_rfl⟩‖ < β := by + filter_upwards [radialMatched_exists_common_order hRou] with n hn + intro z hX hz χ hχ hχzero hχone + obtain ⟨N, hk10, q, hq, hg, hbound, c, hc, R, C, hC, he⟩ := + hn z hX hz χ hχ hχzero hχone + let k : ℝ := (N + 1 : ℕ) + have hk : 8 < k := lt_trans (by norm_num) hk10 + let a := radialShootingA n + have ha := (radialShootingA_bounds n (profileMatchingParameter z)).1 + have ha1 := (radialShootingA_bounds n (profileMatchingParameter z)).2 + let b := radialShootingB (profileMatchingParameter z) + let m := n + radialInnerShootingThreshold + let Qp := radialMatchedCartesian n z + have hQp := radialMatchedCartesian_contDiff n z hX hz + obtain ⟨P, hP, hfin, hcomm, ⟨D, δ, hD, hδ, hdecay⟩, G, hG, hspec, hspan⟩ := hg + obtain ⟨Q, hQ, hqb⟩ := hbound + obtain ⟨C₀, hC₀, hCb⟩ := exists_homogeneousLocalization_bound a k ha ha1 hk χ + let π := homogeneousStableCoordinates a k ha ha1 hk P + let C₁ := C * (‖homogeneousPhysicalCLM a k ha ha1 hk‖ * (D * C₀)) ^ 2 + have hlim := tendsto_escapedEnergyBound c (2 * δ) 1 C₁ hc (by linarith) + refine ⟨N, hk10, q, hq, P, hP, hfin, hcomm, ⟨G, hG, hspec, hspan⟩, D, δ, hδ, hdecay, Q, hQ, hqb, ?_⟩ + intro β hβ + obtain ⟨T₀, hT₀⟩ := eventually_atTop.mp + (hlim.eventually (gt_mem_nhds (pow_pos hβ 2))) + refine ⟨max 0 T₀, le_max_left _ _, ?_⟩ + intro T hT hTT + have hsmall : escapedEnergyBound c (2 * δ) 1 C₁ T < β ^ 2 := + hT₀ T ((le_max_right 0 T₀).trans hTT) + apply sampledCutoffProfile_uniform_stable_contraction a b k T Q C₀ c C R D δ β + ha ha1 hk10 hT hQ hC₀ hc.le hC hD hβ m χ hχ hχzero hχone Qp hQp q hq hqb hCb π R he + · intro u hu t + exact homogeneousStableCoordinates_decay a k ha ha1 hk b m q P D δ hdecay T hT u hu t + · exact hsmall + +end DefocusingNLS + +end OAI