roseking commited on
Commit
37bcf52
·
verified ·
1 Parent(s): ef96466

Add lean source and binary files (part 90)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum.lean +93 -0
  2. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondClassicalFlux.lean +92 -0
  3. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondClosedBoundary.lean +55 -0
  4. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondCorePower.lean +87 -0
  5. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxDerivative.lean +52 -0
  6. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxPrimitive.lean +56 -0
  7. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxRegularity.lean +49 -0
  8. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxTesting.lean +100 -0
  9. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondTest.lean +71 -0
  10. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellAbsorption.lean +74 -0
  11. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellForcingContinuity.lean +34 -0
  12. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellGoodPoint.lean +43 -0
  13. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellGreenBounds.lean +77 -0
  14. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellInnerRobin.lean +60 -0
  15. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellIntegral.lean +41 -0
  16. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellInwardLimit.lean +109 -0
  17. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellMatchedCoupling.lean +64 -0
  18. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellNorm.lean +63 -0
  19. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellPositiveForm.lean +68 -0
  20. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSimpleKernelEstimate.lean +114 -0
  21. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSimpleLimitNoJordan.lean +70 -0
  22. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSimpleLimitNoSplitting.lean +46 -0
  23. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSmoothCutoff.lean +51 -0
  24. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSmoothHarmonicBound.lean +67 -0
  25. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSmoothPairTesting.lean +60 -0
  26. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitCoefficients.lean +75 -0
  27. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitDifference.lean +138 -0
  28. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitFieldLimit.lean +27 -0
  29. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitPressure.lean +35 -0
  30. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEnergyLinear.lean +40 -0
  31. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEnergyOperations.lean +60 -0
  32. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEnergyPair.lean +39 -0
  33. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEulerPhysical.lean +60 -0
  34. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailLinear.lean +97 -0
  35. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailOutgoingSelection.lean +143 -0
  36. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailPowerBounds.lean +98 -0
  37. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailRows.lean +52 -0
  38. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailWeightedL2.lean +61 -0
  39. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTerminalResidualBound.lean +77 -0
  40. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTestPrimitive.lean +53 -0
  41. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralThreeRegionBounds.lean +54 -0
  42. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralThreeRegionGreen.lean +109 -0
  43. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralThreeRegionTransfer.lean +47 -0
  44. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningActionGrowth.lean +77 -0
  45. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningActionLimit.lean +49 -0
  46. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryCoefficient.lean +34 -0
  47. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryHalfLineLimit.lean +45 -0
  48. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryLimit.lean +80 -0
  49. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryNonzero.lean +65 -0
  50. lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryProjection.lean +46 -0
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum.lean ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralAngularParameter
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralBoundaryNeighborhood
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralC1HarmonicMembership
4
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCanonicalParameterL2
5
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCanonicalParameterSmooth
6
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralChainCoreC1
7
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralChainCorePower
8
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralChainRobinC1
9
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalContinuousTest
10
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalObservationLine
11
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalSlopePairing
12
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClosedDerivative
13
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactKernelLift
14
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactObservedChain
15
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactPencilDerivative
16
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCoreBoundaryLinear
17
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCoupledGreenFull
18
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCrossFluxLimit
19
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralDilationBoundaryEstimate
20
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralDilationDecomposition
21
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralDirichletGreenData
22
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralEventualSimple
23
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFixedGaugeAnalytic
24
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxChainGauge
25
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFluxRobinLimit
26
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeBasisParameter
27
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeBoundaryMultiplicity
28
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeChainCore
29
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeCollarUniqueness
30
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeInterfaceRoot
31
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreePhysicalIdentification
32
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFreeRadiusLog
33
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeClassicalSourceFlux
34
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeComponentEnergy
35
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeCoreLimit
36
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeCrossBound
37
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeFirstBoundary
38
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralGaugeFirstMass
39
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralHolomorphicFixedLimit
40
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralHolomorphicRobinLimit
41
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralInwardDecay
42
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralJointNonzero
43
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralJointUniformLimit
44
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralKernelCoefficientLine
45
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLogGaugeCoefficients
46
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLowerOrderConvergence
47
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMassConvergence
48
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMatchedBases
49
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMatchedCaseIIShell
50
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMatchedEscapeExclusion
51
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMatchedWeight
52
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMatchingAnalytic
53
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMatchingGluing
54
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralODESmoothness
55
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralObservedSourceEquation
56
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilExclusion
57
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilFlux
58
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilFluxSystem
59
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilJointLimit
60
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilRobin
61
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalGaugeTransfer
62
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalParameterBounds
63
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPhysicalSourceBoundary
64
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPowerPressureAway
65
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralQuotientDecay
66
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialCoreWeak
67
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialGaugeEnergyUpper
68
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialPenalty
69
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialPoincare
70
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialRealGauge
71
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialRealSourceGauge
72
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRemoteScaleSymbols
73
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRobinSourcePlane
74
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralScalarBoundaryNorm
75
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralScalarOutgoingBound
76
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEnergyLinear
77
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEnergyPair
78
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailOutgoingSelection
79
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningCentralTransfer
80
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningForbiddenGreenUniform
81
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningGreenSmallness
82
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningLogarithmicLimit
83
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningNegativeTransfer
84
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningOutgoingRobin
85
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningShellDecay
86
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralUniformWeightBounds
87
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeakRobinC1
88
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightExt
89
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedGaugeBoundary
90
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedProductLimit
91
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedSourceBalance
92
+
93
+ /-! Outgoing spectral estimates and symmetry-mode classification. -/
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondClassicalFlux.lean ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSecondFluxDerivative
2
+
3
+ namespace OAI
4
+
5
+ /-! The weak flux equals the flux of the classical radial representative. -/
6
+
7
+ open Set MeasureTheory
8
+ open scoped SchwartzMap
9
+ namespace DefocusingNLS
10
+
11
+ noncomputable def spectralSecondClassicalFlux (ell : ℕ) (R : ℝ) (hR : 0 < R)
12
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (x : ℝ) : ℂ :=
13
+ (x : ℂ)^11*((w.density x : ℂ)*deriv (spectralHarmonicRepresentative ell R hR u.snd) x+
14
+ (a.density x : ℂ)*spectralHarmonicRepresentative ell R hR u.fst x)
15
+
16
+ theorem spectralSecondDerivativeValue_continuousOn (ell : ℕ) (R l r : ℝ) (hR : 0 < R)
17
+ (hl : 0 < l) (hr : r ≤ R) (w a : SpectralHarmonicWeight R)
18
+ (u : SpectralHarmonicPair ell R) (P : ℝ → ℂ)
19
+ (hw : ContinuousOn w.density (Ioo l r)) (ha : ContinuousOn a.density (Ioo l r))
20
+ (hpos : ∀ x ∈ Ioo l r, 0 < w.density x) (hP : ContinuousOn P (Ioo l r)) :
21
+ ContinuousOn (spectralSecondDerivativeValue ell R hR w a u P) (Ioo l r) := by
22
+ have hs : Ioo l r ⊆ Ioo 0 R := fun t ht => ⟨hl.trans ht.1,ht.2.trans_le hr⟩
23
+ exact ((hP.div (Complex.continuous_ofReal.continuousOn.pow 11)
24
+ (fun t ht => pow_ne_zero _ (by exact_mod_cast (hl.trans ht.1).ne'))).sub
25
+ ((Complex.continuous_ofReal.comp_continuousOn ha).mul
26
+ ((spectralHarmonicRepresentative_continuousOn ell R hR u.fst).mono hs))).div
27
+ (Complex.continuous_ofReal.comp_continuousOn hw)
28
+ (fun t ht => by exact_mod_cast (hpos t ht).ne')
29
+
30
+ theorem spectralSecondClassicalFlux_eq (ell : ℕ) (R : ℝ) (hR : 0 < R)
31
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (P : ℝ → ℂ)
32
+ (x : ℝ) (hx : x ≠ 0) (hw : w.density x ≠ 0)
33
+ (hd : HasDerivAt (spectralHarmonicRepresentative ell R hR u.snd)
34
+ (spectralSecondDerivativeValue ell R hR w a u P x) x) :
35
+ spectralSecondClassicalFlux ell R hR w a u x=P x := by
36
+ unfold spectralSecondClassicalFlux
37
+ rw [hd.deriv]
38
+ dsimp only [spectralSecondDerivativeValue]
39
+ have hx' : (x : ℂ) ≠ 0 := by exact_mod_cast hx
40
+ have hw' : (w.density x : ℂ) ≠ 0 := by exact_mod_cast hw
41
+ field_simp
42
+ ring
43
+
44
+ theorem spectralSecond_classical (ell : ℕ) (R : ℝ) (hR : 0 < R)
45
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ)
46
+ (B : ℂ × ℂ →L[ℂ] ℂ × ℂ)
47
+ (hw : ContinuousOn w.density (Ioo 0 R)) (ha : ContinuousOn a.density (Ioo 0 R))
48
+ (hpos : ∀ x ∈ Ioo 0 R, 0 < w.density x)
49
+ (he : ∀ f : 𝓢(ℝ,ℂ),
50
+ spectralHarmonicPairComplexForm ell R w u (spectralSecondTest ell R f)=
51
+ inner ℂ (spectralLowerOrderOperator ell R hR
52
+ (spectralRadialWeightMultiplier R w) (spectralRadialWeightMultiplier R a) c ζ B
53
+ (spectralHarmonicObservation ell R hR u)) (spectralSecondTest ell R f)) :
54
+ DifferentiableOn ℝ (spectralHarmonicRepresentative ell R hR u.snd) (Ioo 0 R) ∧
55
+ ContinuousOn (deriv (spectralHarmonicRepresentative ell R hR u.snd)) (Ioo 0 R) ∧
56
+ ∀ x ∈ Ioo 0 R, HasDerivAt (spectralSecondClassicalFlux ell R hR w a u)
57
+ (spectralSecondContinuousSource ell R hR w u c ζ x) x := by
58
+ have hlocal (x : ℝ) (hx : x ∈ Ioo 0 R) :
59
+ DifferentiableAt ℝ (spectralHarmonicRepresentative ell R hR u.snd) x ∧
60
+ ContinuousAt (deriv (spectralHarmonicRepresentative ell R hR u.snd)) x ∧
61
+ HasDerivAt (spectralSecondClassicalFlux ell R hR w a u)
62
+ (spectralSecondContinuousSource ell R hR w u c ζ x) x := by
63
+ let l := x/2
64
+ let r := (x+R)/2
65
+ have hl : 0 < l := by dsimp only [l]; linarith [hx.1]
66
+ have hxl : l < x := by dsimp only [l]; linarith [hx.1]
67
+ have hxr : x < r := by dsimp only [r]; linarith [hx.2]
68
+ have hr : r < R := by dsimp only [r]; linarith [hx.2]
69
+ have hs : Ioo l r ⊆ Ioo 0 R := fun t ht => ⟨hl.trans ht.1,ht.2.trans hr⟩
70
+ obtain ⟨P,hP,hflux⟩ := spectralSecondFlux_primitive ell R l r hR hl (hxl.trans hxr) hr
71
+ w a u c ζ B hw ha he
72
+ have hPc : ContinuousOn P (Ioo l r) := fun t ht => (hP t ht).continuousAt.continuousWithinAt
73
+ have hd (t : ℝ) (ht : t ∈ Ioo l r) := spectralSecondFlux_hasDerivAt ell R l r hR
74
+ hl hr.le w a u P (hw.mono hs) (ha.mono hs) (fun s hs' => hpos s (hs hs')) hPc hflux t ht
75
+ have heq (t : ℝ) (ht : t ∈ Ioo l r) :
76
+ spectralSecondClassicalFlux ell R hR w a u t=P t :=
77
+ spectralSecondClassicalFlux_eq ell R hR w a u P t (hl.trans ht.1).ne'
78
+ (hpos t (hs ht)).ne' (hd t ht)
79
+ refine ⟨(hd x ⟨hxl,hxr⟩).differentiableAt,?_,?_⟩
80
+ · have hDc := spectralSecondDerivativeValue_continuousOn ell R l r hR hl hr.le
81
+ w a u P (hw.mono hs) (ha.mono hs) (fun s hs' => hpos s (hs hs')) hPc
82
+ exact (hDc.congr (fun t ht => (hd t ht).deriv)).continuousAt
83
+ (Ioo_mem_nhds hxl hxr)
84
+ · apply (hP x ⟨hxl,hxr⟩).congr_of_eventuallyEq
85
+ filter_upwards [Ioo_mem_nhds hxl hxr] with t ht
86
+ exact heq t ht
87
+ exact ⟨fun x hx => (hlocal x hx).1.differentiableWithinAt,
88
+ fun x hx => (hlocal x hx).2.1.continuousWithinAt,fun x hx => (hlocal x hx).2.2⟩
89
+
90
+ end DefocusingNLS
91
+
92
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondClosedBoundary.lean ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClassicalFluxAE
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralClosedSource
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCutoffFluxTrace
4
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralEndpointTest
5
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralBoundaryFlux
6
+
7
+ namespace OAI
8
+
9
+ /-! The second scalar weak equation gives its exact classical outer flux trace. -/
10
+
11
+ open Set MeasureTheory
12
+ open scoped SchwartzMap
13
+ namespace DefocusingNLS
14
+
15
+ theorem spectralSecond_closedBoundary (ell : ℕ) (R δ : ℝ) (hR : 0 < R)
16
+ (hδ : 0 < δ) (hδR : δ < R)
17
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ)
18
+ (B : ℂ × ℂ →L[ℂ] ℂ × ℂ)
19
+ (hw : ContinuousOn w.density (Ioo 0 R)) (ha : ContinuousOn a.density (Ioo 0 R))
20
+ (hwc : ContinuousOn w.density (Icc δ R))
21
+ (hpos : ∀ x ∈ Ioo 0 R, 0 < w.density x)
22
+ (he : ∀ f : 𝓢(ℝ,ℂ),
23
+ spectralHarmonicPairComplexForm ell R w u (spectralSecondTest ell R f)=
24
+ inner ℂ (spectralLowerOrderOperator ell R hR
25
+ (spectralRadialWeightMultiplier R w) (spectralRadialWeightMultiplier R a) c ζ B
26
+ (spectralHarmonicObservation ell R hR u)) (spectralSecondTest ell R f)) :
27
+ ∃ P : ℝ → ℂ, Continuous P ∧
28
+ (∀ x ∈ Icc δ R, HasDerivAt P (spectralSecondContinuousSource ell R hR w u c ζ x) x) ∧
29
+ EqOn (spectralSecondClassicalFlux ell R hR w a u) P (Ioo δ R) ∧
30
+ (∀ᵐ x, x ∈ Icc δ R → spectralSecondFlux ell R w a u x=P x) ∧
31
+ P R=(B (spectralHarmonicPairTraces ell R hR u)).2 := by
32
+ have hs : Ioo δ R ⊆ Ioo 0 R := fun x hx => ⟨hδ.trans hx.1,hx.2⟩
33
+ have hG := spectralSecondContinuousSource_closed ell R δ hR hδ w u c ζ hwc
34
+ have hclass := (spectralSecond_classical ell R hR w a u c ζ B hw ha hpos he).2.2
35
+ have hae := spectralSecondClassicalFlux_ae ell R hR w a u c ζ B hw ha hpos he
36
+ obtain ⟨P,hP,hd,hEq,hFP⟩ := spectralClosedFlux_ae_primitive δ R hδR
37
+ (spectralSecondFlux ell R w a u) (spectralSecondClassicalFlux ell R hR w a u)
38
+ (spectralSecondContinuousSource ell R hR w u c ζ) hG
39
+ (fun x hx => hclass x (hs hx)) (by
40
+ filter_upwards [hae] with x hx hxr
41
+ exact hx (hs hxr))
42
+ refine ⟨P,hP,hd,hEq,hFP,?_⟩
43
+ obtain ⟨f,hfR,hf,hdf⟩ := spectralEndpointTest δ R hδR
44
+ apply spectralCutoffFlux_trace δ R hδ.le hδR
45
+ (spectralSecondFlux ell R w a u) (spectralSecondSource ell R w u c ζ) P
46
+ (spectralSecondContinuousSource ell R hR w u c ζ) hP hG hd hFP _ f hfR hf hdf
47
+ (B (spectralHarmonicPairTraces ell R hR u)).2
48
+ · simpa only [hfR,star_one,one_mul] using spectralSecond_boundaryFlux ell R hR w a u c ζ B f (he f)
49
+ · have hsource := (ae_restrict_iff' measurableSet_Icc).mp (spectralSecondSource_ae ell R hR w u c ζ)
50
+ filter_upwards [hsource] with x hx hxr
51
+ exact hx ⟨hδ.le.trans hxr.1,hxr.2⟩
52
+
53
+ end DefocusingNLS
54
+
55
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondCorePower.lean ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSecondClassicalFlux
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralEulerRegularBranch
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialCoreLocality
4
+
5
+ namespace OAI
6
+
7
+ /-! A limiting weak kernel is a regular harmonic power inside the constrained core. -/
8
+
9
+ open Set MeasureTheory Filter Topology
10
+ open scoped SchwartzMap
11
+ namespace DefocusingNLS
12
+
13
+ theorem spectralHarmonicCore_representative_zero (ell : ℕ) (R l : ℝ) (hR : 0 < R)
14
+ (hlR : l ≤ R) (u : SpectralHarmonicPair ell R)
15
+ (hu : u ∈ spectralHarmonicCoreSubspace ell R l) (x : ℝ) (hx : x ∈ Ioc 0 l) :
16
+ spectralHarmonicRepresentative ell R hR u.fst x=0 := by
17
+ rw [spectralHarmonicCore_mem] at hu
18
+ change spectralRadialRepresentative R hR (spectralHarmonicRadialForget ell R u.fst) x=0
19
+ rw [spectralRadialRepresentative,dite_eq_left hx.1]
20
+ exact spectralRadialCore_point_zero_of_le R l x hR hx.1 hx.2 hlR _ hu
21
+
22
+ theorem spectralSecond_core_power (ell : ℕ) (R l : ℝ) (hR : 0 < R)
23
+ (hl : 0 < l) (hlR : l < R)
24
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ)
25
+ (B : ℂ × ℂ →L[ℂ] ℂ × ℂ)
26
+ (hu : u ∈ spectralHarmonicCoreSubspace ell R l)
27
+ (hw : ContinuousOn w.density (Ioo 0 R)) (ha : ContinuousOn a.density (Ioo 0 R))
28
+ (hpos : ∀ x ∈ Ioo 0 R, 0 < w.density x)
29
+ (hcore : ∀ x ∈ Ioc 0 l, w.density x=1)
30
+ (he : ∀ f : 𝓢(ℝ,ℂ),
31
+ spectralHarmonicPairComplexForm ell R w u (spectralSecondTest ell R f)=
32
+ inner ℂ (spectralLowerOrderOperator ell R hR
33
+ (spectralRadialWeightMultiplier R w) (spectralRadialWeightMultiplier R a) c ζ B
34
+ (spectralHarmonicObservation ell R hR u)) (spectralSecondTest ell R f)) :
35
+ ∃ C : ℂ, (∀ x ∈ Ioc 0 l, spectralHarmonicRepresentative ell R hR u.snd x=C*(x : ℂ)^ell) ∧
36
+ deriv (spectralHarmonicRepresentative ell R hR u.snd) l=
37
+ (ell : ℂ)*spectralHarmonicRepresentative ell R hR u.snd l/(l : ℂ) := by
38
+ let g := spectralHarmonicRepresentative ell R hR u.snd
39
+ let P := spectralSecondClassicalFlux ell R hR w a u
40
+ obtain ⟨hg,hgc,hP⟩ := spectralSecond_classical ell R hR w a u c ζ B hw ha hpos he
41
+ have hsub : Ioc 0 l ⊆ Ioo 0 R := fun x hx => ⟨hx.1,hx.2.trans_lt hlR⟩
42
+ have hz (x : ℝ) (hx : x ∈ Ioc 0 l) :=
43
+ spectralHarmonicCore_representative_zero ell R l hR hlR.le u hu x hx
44
+ have hflux (x : ℝ) (hx : x ∈ Ioc 0 l) : P x=(x : ℂ)^11*deriv g x := by
45
+ dsimp only [P,spectralSecondClassicalFlux,g]
46
+ rw [hcore x hx,hz x hx]
47
+ simp
48
+ have hdg (x : ℝ) (hx : x ∈ Ioo 0 l) : HasDerivAt g (P x/(x : ℂ)^11) x := by
49
+ have hd := (hg x (hsub (Ioo_subset_Ioc_self hx))).differentiableAt
50
+ (Ioo_mem_nhds hx.1 (hx.2.trans hlR))
51
+ have hxn : (x : ℂ)^11 ≠ 0 := pow_ne_zero _ (by exact_mod_cast hx.1.ne')
52
+ rw [hflux x (Ioo_subset_Ioc_self hx),mul_div_cancel_left₀ _ hxn]
53
+ exact hd.hasDerivAt
54
+ have hdP (x : ℝ) (hx : x ∈ Ioo 0 l) :
55
+ HasDerivAt P ((ell : ℂ)*((ell : ℂ)+10)*(x : ℂ)^9*g x) x := by
56
+ have hp := hP x (hsub (Ioo_subset_Ioc_self hx))
57
+ simpa only [spectralSecondContinuousSource,hcore x (Ioo_subset_Ioc_self hx),
58
+ hz x (Ioo_subset_Ioc_self hx),one_smul,smul_zero,mul_zero,add_zero,
59
+ Complex.ofReal_mul,Complex.ofReal_add,Complex.ofReal_natCast,Complex.ofReal_ofNat] using hp
60
+ obtain ⟨C,hC⟩ := spectralEuler_regular_branch ell l hl g P hdg hdP
61
+ (spectralRadialRepresentative_origin_decay R hR (spectralHarmonicRadialForget ell R u.snd) ell)
62
+ have hclosed : Ioc (0 : ℝ) l ⊆ closure (Ioo 0 l) := by
63
+ rw [closure_Ioo hl.ne]
64
+ exact Ioc_subset_Icc_self
65
+ have hCE : EqOn g (fun x : ℝ => C*(x : ℂ)^ell) (Ioo 0 l) := hC
66
+ have hCfull : EqOn g (fun x : ℝ => C*(x : ℂ)^ell) (Ioc 0 l) :=
67
+ hCE.of_subset_closure ((spectralHarmonicRepresentative_continuousOn ell R hR u.snd).mono hsub)
68
+ (by fun_prop) Ioo_subset_Ioc_self hclosed
69
+ refine ⟨C,hCfull,?_⟩
70
+ have hderiv : EqOn (deriv g) (fun x : ℝ => (ell : ℂ)*g x/(x : ℂ)) (Ioo 0 l) := by
71
+ intro x hx
72
+ have heq : g =ᶠ[𝓝 x] fun y : ℝ => C*(y : ℂ)^ell := by
73
+ filter_upwards [Ioo_mem_nhds hx.1 hx.2] with y hy
74
+ exact hC y hy
75
+ have hd := ((spectralRadialPower_hasDerivAt ell x hx.1.ne').const_mul C).congr_of_eventuallyEq heq
76
+ rw [hd.deriv]
77
+ change C*((ell : ℂ)*(x : ℂ)^ell/(x : ℂ))=(ell : ℂ)*g x/(x : ℂ)
78
+ rw [hC x hx]
79
+ ring
80
+ have hfcont : ContinuousOn (fun x : ℝ => (ell : ℂ)*g x/(x : ℂ)) (Ioc 0 l) :=
81
+ (continuousOn_const.mul ((spectralHarmonicRepresentative_continuousOn ell R hR u.snd).mono hsub)).div
82
+ Complex.continuous_ofReal.continuousOn (fun x hx => by exact_mod_cast hx.1.ne')
83
+ exact (hderiv.of_subset_closure (hgc.mono hsub) hfcont Ioo_subset_Ioc_self hclosed) ⟨hl,le_rfl⟩
84
+
85
+ end DefocusingNLS
86
+
87
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxDerivative.lean ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSecondFluxPrimitive
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialLocalDerivative
3
+
4
+ namespace OAI
5
+
6
+ /-! Recover the classical second derivative coordinate from its continuous weighted flux. -/
7
+
8
+ open Set MeasureTheory
9
+ namespace DefocusingNLS
10
+
11
+ noncomputable def spectralSecondDerivativeValue (ell : ℕ) (R : ℝ) (hR : 0 < R)
12
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R)
13
+ (P : ℝ → ℂ) (x : ℝ) : ℂ :=
14
+ (P x/(x : ℂ)^11 - (a.density x : ℂ)*spectralHarmonicRepresentative ell R hR u.fst x)/
15
+ (w.density x : ℂ)
16
+
17
+ theorem spectralSecondFlux_hasDerivAt (ell : ℕ) (R l r : ℝ) (hR : 0 < R)
18
+ (hl : 0 < l) (hr : r ≤ R) (w a : SpectralHarmonicWeight R)
19
+ (u : SpectralHarmonicPair ell R) (P : ℝ → ℂ)
20
+ (hw : ContinuousOn w.density (Ioo l r)) (ha : ContinuousOn a.density (Ioo l r))
21
+ (hpos : ∀ x ∈ Ioo l r, 0 < w.density x) (hP : ContinuousOn P (Ioo l r))
22
+ (hflux : ∀ᵐ x, x ∈ Ioo l r → spectralSecondFlux ell R w a u x=P x)
23
+ (x : ℝ) (hx : x ∈ Ioo l r) :
24
+ HasDerivAt (spectralHarmonicRepresentative ell R hR u.snd)
25
+ (spectralSecondDerivativeValue ell R hR w a u P x) x := by
26
+ have hs : Ioo l r ⊆ Ioo 0 R := fun t ht => ⟨hl.trans ht.1,ht.2.trans_le hr⟩
27
+ have hn (t : ℝ) (ht : t ∈ Ioo l r) : (t : ℂ)^11 ≠ 0 :=
28
+ pow_ne_zero _ (by exact_mod_cast (hl.trans ht.1).ne')
29
+ have hm (t : ℝ) (ht : t ∈ Ioo l r) : (w.density t : ℂ) ≠ 0 :=
30
+ by exact_mod_cast (hpos t ht).ne'
31
+ have hF : ContinuousOn (spectralSecondDerivativeValue ell R hR w a u P) (Ioo l r) :=
32
+ ((hP.div (Complex.continuous_ofReal.continuousOn.pow 11) hn).sub
33
+ ((Complex.continuous_ofReal.comp_continuousOn ha).mul
34
+ ((spectralHarmonicRepresentative_continuousOn ell R hR u.fst).mono hs))).div
35
+ (Complex.continuous_ofReal.comp_continuousOn hw) hm
36
+ have hf := (ae_restrict_iff' measurableSet_Icc).mp
37
+ (spectralHarmonicRepresentative_ae ell R hR u.fst)
38
+ apply spectralRadialRepresentative_hasDerivAt_local R l r hR hl hr
39
+ (spectralHarmonicRadialForget ell R u.snd) _ hF _ x hx
40
+ filter_upwards [hflux,hf] with t ht hf htmem
41
+ have hft := hf (Ioo_subset_Icc_self (hs htmem))
42
+ change spectralHarmonicDerivative ell R u.snd t = _
43
+ apply (eq_div_iff (hm t htmem)).mpr
44
+ have he : (w.density t : ℂ)*spectralHarmonicDerivative ell R u.snd t +
45
+ (a.density t : ℂ)*spectralHarmonicRepresentative ell R hR u.fst t = P t/(t : ℂ)^11 := by
46
+ apply (eq_div_iff (hn t htmem)).mpr
47
+ simpa only [spectralSecondFlux,Complex.real_smul,← hft,mul_comm] using ht htmem
48
+ linear_combination he
49
+
50
+ end DefocusingNLS
51
+
52
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxPrimitive.lean ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSecondFluxRegularity
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactRadialTest
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLocalFluxPrimitive
4
+
5
+ namespace OAI
6
+
7
+ /-! The actual second weak equation gives a continuous flux across every interior radius. -/
8
+
9
+ open Set MeasureTheory
10
+ open scoped SchwartzMap ContDiff
11
+ namespace DefocusingNLS
12
+
13
+ theorem spectralSecondFlux_primitive (ell : ℕ) (R l r : ℝ) (hR : 0 < R)
14
+ (hl : 0 < l) (hlr : l < r) (hr : r < R)
15
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ)
16
+ (B : ℂ × ℂ →L[ℂ] ℂ × ℂ)
17
+ (hw : ContinuousOn w.density (Ioo 0 R)) (ha : ContinuousOn a.density (Ioo 0 R))
18
+ (he : ∀ f : 𝓢(ℝ,ℂ),
19
+ spectralHarmonicPairComplexForm ell R w u (spectralSecondTest ell R f)=
20
+ inner ℂ (spectralLowerOrderOperator ell R hR
21
+ (spectralRadialWeightMultiplier R w) (spectralRadialWeightMultiplier R a) c ζ B
22
+ (spectralHarmonicObservation ell R hR u)) (spectralSecondTest ell R f)) :
23
+ ∃ P : ℝ → ℂ,
24
+ (∀ x ∈ Ioo l r, HasDerivAt P (spectralSecondContinuousSource ell R hR w u c ζ x) x) ∧
25
+ ∀ᵐ x, x ∈ Ioo l r → spectralSecondFlux ell R w a u x=P x := by
26
+ apply spectralLocalFlux_primitive R l r hl hlr hr
27
+ (spectralSecondFlux ell R w a u) (spectralSecondContinuousSource ell R hR w u c ζ)
28
+ (spectralSecondFlux_locallyIntegrableOn ell R w a u hw ha)
29
+ (spectralSecondContinuousSource_continuousOn ell R hR w u c ζ hw)
30
+ intro φ hφ hφc hφs
31
+ let f := spectralRealSchwartzTest φ hφ hφc
32
+ have hφR : φ R=0 := image_eq_zero_of_notMem_tsupport
33
+ (fun h => (lt_irrefl R) (hφs h).2)
34
+ have hfR : f R=0 := by simp only [f,spectralRealSchwartzTest_apply,hφR,Complex.ofReal_zero]
35
+ have hbal := spectralSecondTest_balance ell R hR w a u c ζ B f hfR (he f)
36
+ have ht := spectralSecondBalance_to_flux ell R hR w a u c ζ f hbal
37
+ simp only [f,spectralRealSchwartzTest_deriv,spectralRealSchwartzTest_apply,
38
+ Complex.star_def,Complex.conj_ofReal,← Complex.real_smul] at ht
39
+ rw [spectralCompactTest_integral R (deriv φ) _ (tsupport_deriv_subset.trans hφs),
40
+ spectralCompactTest_integral R φ _ hφs] at ht
41
+ have hs : (∫ x, φ x • spectralSecondSource ell R w u c ζ x)=
42
+ ∫ x, φ x • spectralSecondContinuousSource ell R hR w u c ζ x := by
43
+ apply integral_congr_ae
44
+ have hae := (ae_restrict_iff' measurableSet_Icc).mp
45
+ (spectralSecondSource_ae ell R hR w u c ζ)
46
+ filter_upwards [hae] with x hx
47
+ by_cases hmem : x ∈ Icc (0 : ℝ) R
48
+ · rw [hx hmem]
49
+ · have hz : φ x=0 := image_eq_zero_of_notMem_tsupport
50
+ (fun h => hmem (Ioo_subset_Icc_self (hφs h)))
51
+ simp only [hz,zero_smul]
52
+ rwa [hs] at ht
53
+
54
+ end DefocusingNLS
55
+
56
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxRegularity.lean ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSecondFluxTesting
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralHarmonicRepresentative
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRadialLocalIntegrable
4
+
5
+ namespace OAI
6
+
7
+ /-! The weak flux is locally integrable and its source has a continuous representative. -/
8
+
9
+ open Set MeasureTheory
10
+ namespace DefocusingNLS
11
+
12
+ noncomputable def spectralSecondContinuousSource (ell : ℕ) (R : ℝ) (hR : 0 < R)
13
+ (w : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ) (r : ℝ) : ℂ :=
14
+ (((ell : ℝ)*(ell+10) : ℝ) : ℂ)*(r : ℂ)^9*
15
+ (w.density r • spectralHarmonicRepresentative ell R hR u.snd r) +
16
+ (c-ζ)*(r : ℂ)^11*(w.density r • spectralHarmonicRepresentative ell R hR u.fst r)
17
+
18
+ theorem spectralSecondContinuousSource_continuousOn (ell : ℕ) (R : ℝ) (hR : 0 < R)
19
+ (w : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ)
20
+ (hw : ContinuousOn w.density (Ioo 0 R)) :
21
+ ContinuousOn (spectralSecondContinuousSource ell R hR w u c ζ) (Ioo 0 R) := by
22
+ have hf := spectralHarmonicRepresentative_continuousOn ell R hR u.fst
23
+ have hg := spectralHarmonicRepresentative_continuousOn ell R hR u.snd
24
+ exact ((continuousOn_const.mul (Complex.continuous_ofReal.continuousOn.pow 9)).mul
25
+ (hw.smul hg)).add
26
+ ((continuousOn_const.mul (Complex.continuous_ofReal.continuousOn.pow 11)).mul (hw.smul hf))
27
+
28
+ theorem spectralSecondSource_ae (ell : ℕ) (R : ℝ) (hR : 0 < R)
29
+ (w : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ) :
30
+ spectralSecondSource ell R w u c ζ =ᵐ[volume.restrict (Icc 0 R)]
31
+ spectralSecondContinuousSource ell R hR w u c ζ := by
32
+ filter_upwards [spectralHarmonicRepresentative_ae ell R hR u.fst,
33
+ spectralHarmonicRepresentative_ae ell R hR u.snd] with r hf hg
34
+ simp only [spectralSecondSource,spectralSecondContinuousSource,hf,hg]
35
+
36
+ theorem spectralSecondFlux_locallyIntegrableOn (ell : ℕ) (R : ℝ)
37
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R)
38
+ (hw : ContinuousOn w.density (Ioo 0 R)) (ha : ContinuousOn a.density (Ioo 0 R)) :
39
+ LocallyIntegrableOn (spectralSecondFlux ell R w a u) (Ioo 0 R) := by
40
+ have hd := spectralRadialL2_locallyIntegrableOn R (spectralHarmonicDerivative ell R u.snd)
41
+ have hv := spectralRadialL2_locallyIntegrableOn R (spectralHarmonicValue ell R u.fst)
42
+ have h1 := hd.continuousOn_smul isOpen_Ioo.isLocallyClosed hw
43
+ have h2 := hv.continuousOn_smul isOpen_Ioo.isLocallyClosed ha
44
+ exact (h1.add h2).continuousOn_smul isOpen_Ioo.isLocallyClosed
45
+ (Complex.continuous_ofReal.continuousOn.pow 11)
46
+
47
+ end DefocusingNLS
48
+
49
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondFluxTesting.lean ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSecondBalance
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedTestIntegrable
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralMeasureIntegrability
4
+
5
+ namespace OAI
6
+
7
+ /-! The scalar balance is the ordinary weak derivative equation for the weighted flux. -/
8
+
9
+ open MeasureTheory
10
+ open scoped SchwartzMap
11
+ namespace DefocusingNLS
12
+
13
+ noncomputable def spectralSecondFlux (ell : ℕ) (R : ℝ) (w a : SpectralHarmonicWeight R)
14
+ (u : SpectralHarmonicPair ell R) (r : ℝ) : ℂ :=
15
+ (r : ℂ)^11*(w.density r • spectralHarmonicDerivative ell R u.snd r +
16
+ a.density r • spectralHarmonicValue ell R u.fst r)
17
+
18
+ noncomputable def spectralSecondSource (ell : ℕ) (R : ℝ) (w : SpectralHarmonicWeight R)
19
+ (u : SpectralHarmonicPair ell R) (c ζ : ℂ) (r : ℝ) : ℂ :=
20
+ (((ell : ℝ)*(ell+10) : ℝ) : ℂ)*(r : ℂ)^9*
21
+ (w.density r • spectralHarmonicValue ell R u.snd r) +
22
+ (c-ζ)*(r : ℂ)^11*(w.density r • spectralHarmonicValue ell R u.fst r)
23
+
24
+ theorem spectralSecondBalance_to_flux (ell : ℕ) (R : ℝ) (hR : 0 < R)
25
+ (w a : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R) (c ζ : ℂ)
26
+ (f : 𝓢(ℝ,ℂ))
27
+ (hbal :
28
+ (∫ r, star (deriv f r)*(w.density r • spectralHarmonicDerivative ell R u.snd r)
29
+ ∂radialPressureMeasure R) +
30
+ (((ell : ℝ)*(ell+10) : ℝ) : ℂ)*
31
+ (∫ r, star (f r)*(w.density r • spectralHarmonicValue ell R u.snd r)
32
+ ∂spectralAngularMeasure R) +
33
+ (c-ζ)*(∫ r, star (f r)*(w.density r • spectralHarmonicValue ell R u.fst r)
34
+ ∂radialPressureMeasure R) +
35
+ (∫ r, star (deriv f r)*(a.density r • spectralHarmonicValue ell R u.fst r)
36
+ ∂radialPressureMeasure R)=0) :
37
+ (∫ r in (0 : ℝ)..R, star (deriv f r)*spectralSecondFlux ell R w a u r)=
38
+ -(∫ r in (0 : ℝ)..R, star (f r)*spectralSecondSource ell R w u c ζ r) := by
39
+ let J₁ := fun r => star (deriv f r)*(w.density r • spectralHarmonicDerivative ell R u.snd r)
40
+ let J₂ := fun r => star (deriv f r)*(a.density r • spectralHarmonicValue ell R u.fst r)
41
+ let J₃ := fun r => star (f r)*(w.density r • spectralHarmonicValue ell R u.snd r)
42
+ let J₄ := fun r => star (f r)*(w.density r • spectralHarmonicValue ell R u.fst r)
43
+ let η : ℂ := (((ell : ℝ)*(ell+10) : ℝ) : ℂ)
44
+ have hd (v : SpectralRadialL2 R) (b : SpectralHarmonicWeight R) :
45
+ Integrable (fun r => star (deriv f r)*(b.density r • v r)) (radialPressureMeasure R) :=
46
+ spectralWeightedTest_integrable _ _ b.radial_measurable b.bound b.radial_bound v
47
+ (spectralHarmonicDerivative ell R (spectralHarmonicSmoothEmbedding ell R f))
48
+ (deriv f) (spectralHarmonicDerivative_smooth_ae ell R f)
49
+ have hv (v : SpectralRadialL2 R) :
50
+ Integrable (fun r => star (f r)*(w.density r • v r)) (radialPressureMeasure R) :=
51
+ spectralWeightedTest_integrable _ _ w.radial_measurable w.bound w.radial_bound v
52
+ (spectralHarmonicValue ell R (spectralHarmonicSmoothEmbedding ell R f))
53
+ f (spectralHarmonicValue_smooth_ae ell R f)
54
+ have hi₁ : IntervalIntegrable (fun r => (r : ℂ)^11*J₁ r) volume 0 R :=
55
+ (intervalIntegrable_iff_integrableOn_Icc_of_le hR.le).mpr
56
+ (spectralRadial_integrableOn R J₁ (hd _ w))
57
+ have hi₂ : IntervalIntegrable (fun r => (r : ℂ)^11*J₂ r) volume 0 R :=
58
+ (intervalIntegrable_iff_integrableOn_Icc_of_le hR.le).mpr
59
+ (spectralRadial_integrableOn R J₂ (hd _ a))
60
+ have hi₄ : IntervalIntegrable (fun r => (r : ℂ)^11*J₄ r) volume 0 R :=
61
+ (intervalIntegrable_iff_integrableOn_Icc_of_le hR.le).mpr
62
+ (spectralRadial_integrableOn R J₄ (hv _))
63
+ have hi₃ : IntervalIntegrable (fun r => η*((r : ℂ)^9*J₃ r)) volume 0 R := by
64
+ have hi := (intervalIntegrable_iff_integrableOn_Icc_of_le hR.le).mpr
65
+ (spectralAngular_integrableOn R _ (spectralAngularTest_integrable ell R w u.snd f))
66
+ convert hi using 1
67
+ funext r
68
+ dsimp only [η,J₃]
69
+ ring
70
+ have hflux : (∫ r in (0 : ℝ)..R, star (deriv f r)*spectralSecondFlux ell R w a u r)=
71
+ (∫ r in (0 : ℝ)..R, (r : ℂ)^11*J₁ r)+
72
+ ∫ r in (0 : ℝ)..R, (r : ℂ)^11*J₂ r := by
73
+ rw [← intervalIntegral.integral_add hi₁ hi₂]
74
+ apply intervalIntegral.integral_congr
75
+ intro r _
76
+ dsimp only [spectralSecondFlux,J₁,J₂]
77
+ ring
78
+ have hsource : (∫ r in (0 : ℝ)..R, star (f r)*spectralSecondSource ell R w u c ζ r)=
79
+ η*(∫ r in (0 : ℝ)..R, (r : ℂ)^9*J₃ r)+
80
+ (c-ζ)*(∫ r in (0 : ℝ)..R, (r : ℂ)^11*J₄ r) := by
81
+ rw [← intervalIntegral.integral_const_mul,← intervalIntegral.integral_const_mul,
82
+ ← intervalIntegral.integral_add hi₃ (hi₄.const_mul (c-ζ))]
83
+ apply intervalIntegral.integral_congr
84
+ intro r _
85
+ dsimp only [spectralSecondSource,J₃,J₄,η]
86
+ ring
87
+ rw [hflux,hsource]
88
+ change (∫ r, J₁ r ∂radialPressureMeasure R)+
89
+ η*(∫ r, J₃ r ∂spectralAngularMeasure R)+
90
+ (c-ζ)*(∫ r, J₄ r ∂radialPressureMeasure R)+
91
+ (∫ r, J₂ r ∂radialPressureMeasure R)=0 at hbal
92
+ rw [spectral_radial_complex_integral R hR.le,
93
+ spectral_angular_complex_integral R hR.le,
94
+ spectral_radial_complex_integral R hR.le,
95
+ spectral_radial_complex_integral R hR.le] at hbal
96
+ linear_combination hbal
97
+
98
+ end DefocusingNLS
99
+
100
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSecondTest.lean ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilComplexEquation
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralHarmonicScalarPairing
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralLowerOrderOperator
4
+
5
+ namespace OAI
6
+
7
+ /-! The second scalar equation may be tested across the constrained core boundary. -/
8
+
9
+ open MeasureTheory
10
+ open scoped SchwartzMap
11
+ namespace DefocusingNLS
12
+
13
+ noncomputable def spectralSecondTest (ell : ℕ) (R : ℝ) (f : 𝓢(ℝ,ℂ)) :
14
+ SpectralHarmonicPair ell R :=
15
+ (WithLp.prodContinuousLinearEquiv 2 ℂ (SpectralHarmonicEnergy ell R)
16
+ (SpectralHarmonicEnergy ell R)).symm (0,spectralHarmonicSmoothEmbedding ell R f)
17
+
18
+ theorem spectralSecondTest_core (ell : ℕ) (R l : ℝ) (f : 𝓢(ℝ,ℂ)) :
19
+ spectralSecondTest ell R f ∈ spectralHarmonicCoreSubspace ell R l := by
20
+ rw [spectralHarmonicCore_mem]
21
+ change (fun r => spectralHarmonicValue ell R 0 r)=ᵐ[_] 0
22
+ simp only [map_zero]
23
+ exact ae_restrict_of_ae (Lp.coeFn_zero ℂ 2 (radialPressureMeasure R))
24
+
25
+ theorem spectralSecondTest_values (ell : ℕ) (R : ℝ) (f : 𝓢(ℝ,ℂ)) :
26
+ spectralHarmonicPairValues ell R (spectralSecondTest ell R f)=
27
+ (0,spectralHarmonicValue ell R (spectralHarmonicSmoothEmbedding ell R f)) := by
28
+ change (spectralHarmonicValue ell R 0,_)=_
29
+ rw [map_zero]
30
+ rfl
31
+
32
+ theorem spectralSecondTest_derivatives (ell : ℕ) (R : ℝ) (f : 𝓢(ℝ,ℂ)) :
33
+ spectralHarmonicPairDerivatives ell R (spectralSecondTest ell R f)=
34
+ (0,spectralHarmonicDerivative ell R (spectralHarmonicSmoothEmbedding ell R f)) := by
35
+ change (spectralHarmonicDerivative ell R 0,_)=_
36
+ rw [map_zero]
37
+ rfl
38
+
39
+ theorem spectralSecondTest_traces (ell : ℕ) (R : ℝ) (hR : 0 < R) (f : 𝓢(ℝ,ℂ)) :
40
+ spectralHarmonicPairTraces ell R hR (spectralSecondTest ell R f)=(0,f R) := by
41
+ change (spectralRadialTrace R hR 0,
42
+ spectralRadialTrace R hR (spectralRadialSmoothEmbedding R f))=_
43
+ rw [map_zero,spectralRadialTrace_smooth]
44
+
45
+ theorem spectralSecondTest_equation (ell : ℕ) (R : ℝ) (hR : 0 < R)
46
+ (w : SpectralHarmonicWeight R) (u : SpectralHarmonicPair ell R)
47
+ (Q A : SpectralRadialL2 R →L[ℂ] SpectralRadialL2 R) (c ζ : ℂ)
48
+ (B : ℂ × ℂ →L[ℂ] ℂ × ℂ) (z : SpectralRadialObservationSpace R)
49
+ (f : 𝓢(ℝ,ℂ))
50
+ (he : spectralHarmonicPairComplexForm ell R w u (spectralSecondTest ell R f)=
51
+ inner ℂ (spectralLowerOrderOperator ell R hR Q A c ζ B z) (spectralSecondTest ell R f)) :
52
+ star (spectralHarmonicComplexForm ell R w u.snd (spectralHarmonicSmoothEmbedding ell R f))=
53
+ inner ℂ (spectralHarmonicValue ell R (spectralHarmonicSmoothEmbedding ell R f)) (Q z.1.2)-
54
+ (c-ζ)*inner ℂ (spectralHarmonicValue ell R (spectralHarmonicSmoothEmbedding ell R f)) (Q z.1.1)-
55
+ inner ℂ (spectralHarmonicDerivative ell R (spectralHarmonicSmoothEmbedding ell R f)) (A z.1.1)+
56
+ star (f R)*(B z.2).2 := by
57
+ have hs := congrArg star he
58
+ rw [spectral_star_inner,spectralLowerOrderOperator_inner] at hs
59
+ change star (spectralHarmonicComplexForm ell R w u.fst 0+
60
+ spectralHarmonicComplexForm ell R w u.snd (spectralHarmonicSmoothEmbedding ell R f))=_ at hs
61
+ have hz : spectralHarmonicComplexForm ell R w u.fst 0=0 := by
62
+ simp only [spectralHarmonicComplexForm,map_zero,inner_zero_right,add_zero]
63
+ rw [hz,zero_add] at hs
64
+ unfold spectralWeakPairing at hs
65
+ rw [spectralSecondTest_values,spectralSecondTest_derivatives,spectralSecondTest_traces] at hs
66
+ simpa only [inner_zero_left,zero_add,zero_sub,add_zero,RCLike.inner_apply',
67
+ sub_eq_add_neg,mul_neg,neg_mul,zero_mul,star_zero,starRingEnd_apply] using hs
68
+
69
+ end DefocusingNLS
70
+
71
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellAbsorption.lean ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCouplingEstimate
2
+ import Mathlib.Topology.Order.Compact
3
+ import Mathlib.Topology.Order.Lattice
4
+
5
+ namespace OAI
6
+
7
+ /-! A compact-shell maximum makes the small Green and Robin corrections absorbable.
8
+ No a priori bound on the size of a particular solution is required. -/
9
+
10
+ open Set
11
+ namespace DefocusingNLS
12
+
13
+ theorem spectralShellPairNorm_add_le (kp km : ℝ) (hp : 0≤ kp) (hm : 0≤ km)
14
+ (u v : (ℂ × ℂ) × (ℂ × ℂ)) :
15
+ spectralShellPairNorm kp km (u+v)≤ spectralShellPairNorm kp km u+spectralShellPairNorm kp km v := by
16
+ apply max_le
17
+ · exact (spectralShellNorm_add_le kp hp u.1 v.1).trans
18
+ (add_le_add (le_max_left _ _) (le_max_left _ _))
19
+ · exact (spectralShellNorm_add_le km hm u.2 v.2).trans
20
+ (add_le_add (le_max_right _ _) (le_max_right _ _))
21
+
22
+ theorem spectralShellPairNorm_continuousOn (R E : ℝ) (kp km : ℝ → ℝ)
23
+ (u : ℝ → (ℂ × ℂ) × (ℂ × ℂ))
24
+ (hkp : ContinuousOn kp (Icc R E)) (hkm : ContinuousOn km (Icc R E))
25
+ (hp : ∀ r ∈ Icc R E, kp r≠0) (hm : ∀ r ∈ Icc R E, km r≠0)
26
+ (hu : ContinuousOn u (Icc R E)) :
27
+ ContinuousOn (fun r => spectralShellPairNorm (kp r) (km r) (u r)) (Icc R E) := by
28
+ exact ((hkp.mul hu.fst.fst.norm).add ((hkp.inv₀ hp).mul hu.fst.snd.norm)).sup
29
+ ((hkm.mul hu.snd.fst.norm).add ((hkm.inv₀ hm).mul hu.snd.snd.norm))
30
+
31
+ theorem spectralShellPairNorm_exists_max (R E : ℝ) (hRE : R≤ E)
32
+ (kp km : ℝ → ℝ) (u : ℝ → (ℂ × ℂ) × (ℂ × ℂ))
33
+ (hkp : ContinuousOn kp (Icc R E)) (hkm : ContinuousOn km (Icc R E))
34
+ (hp : ∀ r ∈ Icc R E, 0<kp r) (hm : ∀ r ∈ Icc R E, 0<km r)
35
+ (hu : ContinuousOn u (Icc R E)) :
36
+ ∃ M : ℝ, 0≤ M ∧ (∀ r ∈ Icc R E, spectralShellPairNorm (kp r) (km r) (u r)≤ M) ∧
37
+ ∃ r ∈ Icc R E, spectralShellPairNorm (kp r) (km r) (u r)=M := by
38
+ obtain ⟨r,hr,hmax⟩ := isCompact_Icc.exists_isMaxOn (nonempty_Icc.mpr hRE)
39
+ (spectralShellPairNorm_continuousOn R E kp km u hkp hkm
40
+ (fun r hr => (hp r hr).ne') (fun r hr => (hm r hr).ne') hu)
41
+ exact ⟨_,spectralShellPairNorm_nonneg _ _ (hp r hr).le _,hmax,r,hr,rfl⟩
42
+
43
+ theorem spectralShellPairNorm_absorb (R E B theta : ℝ) (hRE : R≤ E)
44
+ (htheta : 0≤ theta) (htheta1 : theta≤ 1/2)
45
+ (kp km : ℝ → ℝ) (u v : ℝ → (ℂ × ℂ) × (ℂ × ℂ))
46
+ (hkp : ContinuousOn kp (Icc R E)) (hkm : ContinuousOn km (Icc R E))
47
+ (hp : ∀ r ∈ Icc R E, 0<kp r) (hm : ∀ r ∈ Icc R E, 0<km r)
48
+ (hu : ContinuousOn u (Icc R E))
49
+ (hv : ∀ r ∈ Icc R E, spectralShellPairNorm (kp r) (km r) (v r)≤ B)
50
+ (herror : ∀ M : ℝ, 0≤ M → (∀ r ∈ Icc R E, spectralShellPairNorm (kp r) (km r) (u r)≤ M) →
51
+ ∀ r ∈ Icc R E, spectralShellPairNorm (kp r) (km r) (u r-v r)≤ theta*M) :
52
+ ∀ r ∈ Icc R E, spectralShellPairNorm (kp r) (km r) (u r)≤ 2*B ∧
53
+ spectralShellPairNorm (kp r) (km r) (u r-v r)≤ 2*theta*B := by
54
+ obtain ⟨M,hM,hbound,s,hs,heq⟩ := spectralShellPairNorm_exists_max R E hRE kp km u
55
+ hkp hkm hp hm hu
56
+ have herr := herror M hM hbound
57
+ have hmax : M≤ theta*M+B := by
58
+ calc
59
+ M = spectralShellPairNorm (kp s) (km s) (u s) := heq.symm
60
+ _ = spectralShellPairNorm (kp s) (km s) ((u s-v s)+v s) := by rw [sub_add_cancel]
61
+ _ ≤ spectralShellPairNorm (kp s) (km s) (u s-v s)+
62
+ spectralShellPairNorm (kp s) (km s) (v s) :=
63
+ spectralShellPairNorm_add_le _ _ (hp s hs).le (hm s hs).le _ _
64
+ _ ≤ theta*M+B := add_le_add (herr s hs) (hv s hs)
65
+ have hMB : M≤ 2*B := by nlinarith
66
+ intro r hr
67
+ refine ⟨(hbound r hr).trans hMB, (herr r hr).trans ?_⟩
68
+ calc
69
+ theta*M≤ theta*(2*B) := mul_le_mul_of_nonneg_left hMB htheta
70
+ _ = _ := by ring
71
+
72
+ end DefocusingNLS
73
+
74
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellForcingContinuity.lean ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralShellMatchedCoupling
2
+
3
+ namespace OAI
4
+
5
+ /-! Continuity of the actual two channel forcings on a positive shell. -/
6
+
7
+ open Set
8
+ namespace DefocusingNLS
9
+
10
+ theorem spectralShellForcing_continuousOn (m : ℕ) (R E : ℝ) (hR : 0<R)
11
+ (Q : ℝ → ℂ) (u : ℝ → (ℂ × ℂ) × (ℂ × ℂ))
12
+ (hQ : ContinuousOn Q (Icc R E)) (hu : ContinuousOn u (Icc R E)) :
13
+ ContinuousOn (fun r => spectralShellPlusForcing m (Q r) r (u r)) (Icc R E) ∧
14
+ ContinuousOn (fun r => spectralShellMinusForcing m (Q r) r (u r)) (Icc R E) := by
15
+ have hfac (h : ℝ) : ContinuousOn (homogeneousSpectralLocalizationFactor h) (Icc R E) := by
16
+ intro r hr
17
+ exact (homogeneousSpectralLocalizationFactor_hasDerivAt h r
18
+ (hR.trans_le hr.1)).continuousAt.continuousWithinAt
19
+ have hne (h r : ℝ) : homogeneousSpectralLocalizationFactor h r≠0 := Complex.exp_ne_zero _
20
+ have hp := (hfac 1).div (hfac (-1)) (fun r _ => hne (-1) r)
21
+ have hm := (hfac (-1)).div (hfac 1) (fun r _ => hne 1 r)
22
+ have hD : ContinuousOn (fun r => spectralDiagonalCoefficient m (Q r)) (Icc R E) := by
23
+ dsimp only [spectralDiagonalCoefficient]
24
+ fun_prop
25
+ have hC : ContinuousOn (fun r => spectralCrossCoefficient m (Q r)) (Icc R E) := by
26
+ dsimp only [spectralCrossCoefficient]
27
+ fun_prop
28
+ constructor
29
+ · exact (hD.mul hu.fst.fst).add ((hC.mul hp).mul hu.snd.fst)
30
+ · exact (hD.star.mul hu.snd.fst).add ((hC.star.mul hm).mul hu.fst.fst)
31
+
32
+ end DefocusingNLS
33
+
34
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellGoodPoint.lean ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRobinNormBounds
2
+ import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic
3
+ import Mathlib.Topology.Order.Compact
4
+
5
+ namespace OAI
6
+
7
+ /-! Select bounded Cauchy data in the first half of the shell from its
8
+ integrated energy and the coercive local Robin relation. -/
9
+
10
+ open Set MeasureTheory
11
+ namespace DefocusingNLS
12
+
13
+ theorem spectral_interval_energy_point (a b K : ℝ) (hab : a < b)
14
+ (e : ℝ → ℝ) (he : ContinuousOn e (Icc a b)) (hbound : (∫ r in a..b, e r) ≤ K) :
15
+ ∃ r ∈ Icc a b, e r ≤ K/(b-a) := by
16
+ obtain ⟨r,hr,hmin⟩ := isCompact_Icc.exists_isMinOn (nonempty_Icc.mpr hab.le) he
17
+ refine ⟨r,hr,?_⟩
18
+ have hi := intervalIntegral.integral_mono_on (μ := volume) hab.le
19
+ (intervalIntegrable_const (c := e r)) (he.intervalIntegrable_of_Icc hab.le) (fun x hx => hmin hx)
20
+ rw [intervalIntegral.integral_const] at hi
21
+ simp only [smul_eq_mul] at hi
22
+ exact (le_div_iff₀ (sub_pos.mpr hab)).mpr (by nlinarith)
23
+
24
+ theorem spectral_shell_good_point (a b K mu : ℝ) (hab : a < b) (hmu : 0 ≤ mu)
25
+ (q : ℝ → (ℂ × ℂ) × (ℂ × ℂ)) (hq : ContinuousOn q (Icc a b))
26
+ (hrobin : ∀ r ∈ Icc a b,
27
+ mu*(‖(q r).1.1‖+‖(q r).2.1‖) ≤ 2*(‖(q r).1.2‖+‖(q r).2.2‖))
28
+ (hbound : (∫ r in a..b, ‖(q r).1.2‖^2+‖(q r).2.2‖^2) ≤ K) :
29
+ ∃ r ∈ Icc a b, ‖(q r).1.2‖^2+‖(q r).2.2‖^2 ≤ K/(b-a) ∧
30
+ mu^2*(‖(q r).1.1‖^2+‖(q r).2.1‖^2) ≤ 8*(K/(b-a)) := by
31
+ obtain ⟨r,hr,hb⟩ := spectral_interval_energy_point a b K hab
32
+ (fun r => ‖(q r).1.2‖^2+‖(q r).2.2‖^2)
33
+ ((hq.fst.snd.norm.pow 2).add (hq.snd.snd.norm.pow 2)) hbound
34
+ refine ⟨r,hr,hb,?_⟩
35
+ have hc := hrobin r hr
36
+ have hs := pow_le_pow_left₀ (mul_nonneg hmu (by positivity)) hc 2
37
+ have hcross := sq_nonneg (‖(q r).1.2‖-‖(q r).2.2‖)
38
+ have hp : 0 ≤ mu^2*‖(q r).1.1‖*‖(q r).2.1‖ := by positivity
39
+ nlinarith only [hs,hcross,hp,hb]
40
+
41
+ end DefocusingNLS
42
+
43
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellGreenBounds.lean ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralShellNorm
2
+ import Mathlib.Analysis.SpecialFunctions.ExpDeriv
3
+
4
+ namespace OAI
5
+
6
+ /-! The two action factors in the scalar Green kernel stay in their own channel.
7
+ No comparison between the actions of distinct channels is needed. -/
8
+
9
+ namespace DefocusingNLS
10
+
11
+ private theorem action_ratio (C c k H A B : ℝ)
12
+ (hc : c≠0) (hk : k≠0) :
13
+ (C*Real.exp A/k)/(c*Real.exp H)*(C*Real.exp (H-B))=
14
+ C^2/(c*k)*Real.exp (A-B) := by
15
+ have he : Real.exp A*Real.exp (H-B)=Real.exp H*Real.exp (A-B) := by
16
+ rw [← Real.exp_add,← Real.exp_add]
17
+ congr 1
18
+ ring
19
+ field_simp
20
+ linear_combination C^2*he
21
+
22
+ theorem spectralShellNorm_green_factor (kr kt C c HR Hr Ht : ℝ)
23
+ (hkr : 0≤ kr) (hkt : 0<kt) (hC : 0≤ C) (hc : 0<c)
24
+ (D U : ℂ × ℂ) (W : ℂ)
25
+ (hD : spectralShellNorm kr D≤ C*Real.exp (HR-Hr))
26
+ (hU : spectralShellNorm kt U≤ C*Real.exp Ht)
27
+ (hW : c*Real.exp HR≤‖W‖) :
28
+ spectralShellNorm kr ((U.1/W) • D)≤ C^2/(c*kt)*Real.exp (Ht-Hr) := by
29
+ have hw : 0<‖W‖ := lt_of_lt_of_le (mul_pos hc (Real.exp_pos _)) hW
30
+ have hD0 := spectralShellNorm_nonneg kr hkr D
31
+ have hU0 := spectralShellNorm_nonneg kt hkt.le U
32
+ have hv := spectralShellNorm_value kt hkt U
33
+ rw [spectralShellNorm_smul,norm_div]
34
+ calc
35
+ _ ≤ (spectralShellNorm kt U/kt)/‖W‖*spectralShellNorm kr D := by
36
+ gcongr
37
+ _ ≤ (C*Real.exp Ht/kt)/(c*Real.exp HR)*(C*Real.exp (HR-Hr)) := by
38
+ gcongr
39
+ _ = _ := action_ratio C c kt HR Ht Hr hc.ne' hkt.ne'
40
+
41
+ theorem spectralScalarGreenState_shell_bound
42
+ (D U : ℝ → ℂ × ℂ) (W : ℂ) (k H : ℝ → ℝ)
43
+ (C c HR r t : ℝ) (hC : 0≤ C) (hc : 0<c)
44
+ (hkr : 0<k r) (hkt : 0<k t)
45
+ (hD : ∀ s ∈ ({r,t} : Set ℝ), spectralShellNorm (k s) (D s)≤ C*Real.exp (HR-H s))
46
+ (hU : ∀ s ∈ ({r,t} : Set ℝ), spectralShellNorm (k s) (U s)≤ C*Real.exp (H s))
47
+ (hW : c*Real.exp HR≤‖W‖)
48
+ (hH : AntitoneOn H (Set.Icc (min r t) (max r t))) :
49
+ spectralShellNorm (k r) (spectralScalarGreenState D U W r t)≤ C^2/(c*k t) := by
50
+ have hrmem : r ∈ Set.Icc (min r t) (max r t) := ⟨min_le_left _ _,le_max_left _ _⟩
51
+ have htmem : t ∈ Set.Icc (min r t) (max r t) := ⟨min_le_right _ _,le_max_right _ _⟩
52
+ have hrr : r ∈ ({r,t} : Set ℝ) := by simp only [Set.mem_insert_iff,true_or]
53
+ have htt : t ∈ ({r,t} : Set ℝ) := by simp only [Set.mem_insert_iff,Set.mem_singleton_iff,or_true]
54
+ have hconst : 0≤ C^2/(c*k t) := by positivity
55
+ by_cases hrt : r≤ t
56
+ · rw [spectralScalarGreenState,ite_eq_left hrt]
57
+ apply (spectralShellNorm_green_factor (k r) (k t) C c HR (H r) (H t)
58
+ hkr.le hkt hC hc (D r) (U t) W (hD r hrr) (hU t htt) hW).trans
59
+ calc
60
+ _ ≤ C^2/(c*k t)*1 := mul_le_mul_of_nonneg_left
61
+ (Real.exp_le_one_iff.mpr (sub_nonpos.mpr (hH hrmem htmem hrt))) hconst
62
+ _ = _ := mul_one _
63
+ · rw [spectralScalarGreenState,ite_eq_right hrt]
64
+ have hb := spectralShellNorm_green_factor (k r) (k t) C c HR
65
+ (HR-H r) (HR-H t) hkr.le hkt hC hc (U r) (D t) W
66
+ (by simpa only [sub_sub_cancel] using hU r hrr) (hD t htt) hW
67
+ have he : (HR-H t)-(HR-H r)=H r-H t := by ring
68
+ rw [he] at hb
69
+ apply hb.trans
70
+ calc
71
+ _ ≤ C^2/(c*k t)*1 := mul_le_mul_of_nonneg_left
72
+ (Real.exp_le_one_iff.mpr (sub_nonpos.mpr (hH htmem hrmem (le_of_not_ge hrt)))) hconst
73
+ _ = _ := mul_one _
74
+
75
+ end DefocusingNLS
76
+
77
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellInnerRobin.lean ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCoupledBoundarySystem
2
+
3
+ namespace OAI
4
+
5
+ /-! The coupled Green error gives both local Robin errors, including when
6
+ one of the channel values is zero. -/
7
+
8
+ open Set
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralCoupled_inner_robin_bound {R E A : ℝ}
12
+ (Sp Sm : SpectralScalarBoundarySystem R E A) (hRE : R ≤ E)
13
+ (q : (ℂ × ℂ) × (ℂ × ℂ)) (eps : ℝ)
14
+ (herr : spectralShellPairNorm (Sp.k R) (Sm.k R)
15
+ (q-(Sp.extension q.1.1 R,Sm.extension q.2.1 R)) ≤
16
+ eps*max (Sp.k R*‖q.1.1‖) (Sm.k R*‖q.2.1‖)) :
17
+ ‖q.1.2-((Sp.U R).2/(Sp.U R).1)*q.1.1‖ ≤
18
+ Sp.k R*(eps*max (Sp.k R*‖q.1.1‖) (Sm.k R*‖q.2.1‖)) ∧
19
+ ‖q.2.2-((Sm.U R).2/(Sm.U R).1)*q.2.1‖ ≤
20
+ Sm.k R*(eps*max (Sp.k R*‖q.1.1‖) (Sm.k R*‖q.2.1‖)) := by
21
+ constructor
22
+ · apply Sp.inner_slope_bound hRE q.1
23
+ exact (le_max_left _ _).trans herr
24
+ · apply Sm.inner_slope_bound hRE q.2
25
+ exact (le_max_right _ _).trans herr
26
+
27
+ theorem spectralCoupled_inner_robin_scaled {R E A : ℝ}
28
+ (Sp Sm : SpectralScalarBoundarySystem R E A) (hRE : R ≤ E)
29
+ (q : (ℂ × ℂ) × (ℂ × ℂ)) (eps C : ℝ) (heps : 0 ≤ eps)
30
+ (hp : (Sp.k R)^2 ≤ C) (hm : (Sm.k R)^2 ≤ C)
31
+ (herr : spectralShellPairNorm (Sp.k R) (Sm.k R)
32
+ (q-(Sp.extension q.1.1 R,Sm.extension q.2.1 R)) ≤
33
+ eps*max (Sp.k R*‖q.1.1‖) (Sm.k R*‖q.2.1‖)) :
34
+ ‖q.1.2-((Sp.U R).2/(Sp.U R).1)*q.1.1‖ ≤ eps*C*(‖q.1.1‖+‖q.2.1‖) ∧
35
+ ‖q.2.2-((Sm.U R).2/(Sm.U R).1)*q.2.1‖ ≤ eps*C*(‖q.1.1‖+‖q.2.1‖) := by
36
+ have hkp := (Sp.positive_k R ⟨le_rfl,hRE⟩).le
37
+ have hkm := (Sm.positive_k R ⟨le_rfl,hRE⟩).le
38
+ have hc : Sp.k R*Sm.k R ≤ C := by nlinarith [sq_nonneg (Sp.k R-Sm.k R)]
39
+ have hmax : max (Sp.k R*‖q.1.1‖) (Sm.k R*‖q.2.1‖) ≤
40
+ Sp.k R*‖q.1.1‖+Sm.k R*‖q.2.1‖ :=
41
+ max_le (le_add_of_nonneg_right (mul_nonneg hkm (norm_nonneg _)))
42
+ (le_add_of_nonneg_left (mul_nonneg hkp (norm_nonneg _)))
43
+ have hb := spectralCoupled_inner_robin_bound Sp Sm hRE q eps herr
44
+ constructor
45
+ · apply hb.1.trans
46
+ calc
47
+ _ ≤ Sp.k R*(eps*(Sp.k R*‖q.1.1‖+Sm.k R*‖q.2.1‖)) := by gcongr
48
+ _ = eps*((Sp.k R)^2*‖q.1.1‖+(Sp.k R*Sm.k R)*‖q.2.1‖) := by ring
49
+ _ ≤ eps*(C*‖q.1.1‖+C*‖q.2.1‖) := by gcongr
50
+ _ = _ := by ring
51
+ · apply hb.2.trans
52
+ calc
53
+ _ ≤ Sm.k R*(eps*(Sp.k R*‖q.1.1‖+Sm.k R*‖q.2.1‖)) := by gcongr
54
+ _ = eps*((Sp.k R*Sm.k R)*‖q.1.1‖+(Sm.k R)^2*‖q.2.1‖) := by ring
55
+ _ ≤ eps*(C*‖q.1.1‖+C*‖q.2.1‖) := by gcongr
56
+ _ = _ := by ring
57
+
58
+ end DefocusingNLS
59
+
60
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellIntegral.lean ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralShellNorm
2
+
3
+ namespace OAI
4
+
5
+ /-! Integration in the scaled value/derivative norm on a finite interval. -/
6
+
7
+ open Set MeasureTheory
8
+ namespace DefocusingNLS
9
+
10
+ theorem spectralShellNorm_integral_le (a b k : ℝ) (hab : a≤ b) (hk : 0≤ k)
11
+ (F : ℝ → ℂ × ℂ) (hF : ContinuousOn F (Icc a b)) :
12
+ spectralShellNorm k (∫ t in a..b, F t)≤∫ t in a..b, spectralShellNorm k (F t) := by
13
+ have hi := ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hab hF
14
+ have hif := ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hab hF.fst.norm
15
+ have hig := ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hab hF.snd.norm
16
+ have hf := (ContinuousLinearMap.fst ℝ ℂ ℂ).intervalIntegral_comp_comm hi
17
+ have hg := (ContinuousLinearMap.snd ℝ ℂ ℂ).intervalIntegral_comp_comm hi
18
+ change (∫ t in a..b, (F t).1)=(∫ t in a..b, F t).1 at hf
19
+ change (∫ t in a..b, (F t).2)=(∫ t in a..b, F t).2 at hg
20
+ dsimp only [spectralShellNorm]
21
+ rw [← hf,← hg,intervalIntegral.integral_add (hif.const_mul k) (hig.const_mul k⁻¹),
22
+ intervalIntegral.integral_const_mul,intervalIntegral.integral_const_mul]
23
+ exact add_le_add
24
+ (mul_le_mul_of_nonneg_left (intervalIntegral.norm_integral_le_integral_norm hab) hk)
25
+ (mul_le_mul_of_nonneg_left (intervalIntegral.norm_integral_le_integral_norm hab) (inv_nonneg.mpr hk))
26
+
27
+ theorem spectralShellNorm_integral_bound (a b k : ℝ) (hab : a≤ b) (hk : 0≤ k)
28
+ (F : ℝ → ℂ × ℂ) (B : ℝ → ℝ)
29
+ (hF : ContinuousOn F (Icc a b)) (hB : ContinuousOn B (Icc a b))
30
+ (hbound : ∀ t ∈ Icc a b, spectralShellNorm k (F t)≤ B t) :
31
+ spectralShellNorm k (∫ t in a..b, F t)≤∫ t in a..b, B t := by
32
+ apply (spectralShellNorm_integral_le a b k hab hk F hF).trans
33
+ have hN : ContinuousOn (fun t => spectralShellNorm k (F t)) (Icc a b) :=
34
+ (continuousOn_const.mul hF.fst.norm).add (continuousOn_const.mul hF.snd.norm)
35
+ exact intervalIntegral.integral_mono_on hab
36
+ (ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hab hN)
37
+ (ContinuousOn.intervalIntegrable_of_Icc (μ := volume) hab hB) hbound
38
+
39
+ end DefocusingNLS
40
+
41
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellInwardLimit.lean ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCoupledInwardLimit
2
+
3
+ namespace OAI
4
+
5
+ /-! A uniformly small local Robin error and bounded oscillatory channel
6
+ force the rescaled inward channel to vanish at the far end of a shell. -/
7
+
8
+ open Set Filter Topology
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralShell_inward_limit
12
+ (omega : ℕ → ℝ) (R B D A M : ℝ) (hRB : R < B)
13
+ (hD : 0 ≤ D) (_hA : 0 ≤ A) (hM : 0 ≤ M)
14
+ (hw : Tendsto omega atTop atTop)
15
+ (q dq w : ℕ → ℝ → ℂ)
16
+ (hc : ∀ n, ContinuousOn (q n) (Icc R B))
17
+ (hd : ∀ n r, r ∈ Ioo R B → HasDerivAt (q n) (dq n r) r)
18
+ (hg : ∀ᶠ n in atTop, ∃ a ∈ Icc R ((R+B)/2),
19
+ omega n*‖q n a‖^2 ≤ M ∧ ∀ r ∈ Icc a B, omega n*‖w n r‖^2 ≤ M)
20
+ (hs : ∀ delta : ℝ, 0 < delta → ∀ᶠ n in atTop, ∀ r ∈ Icc R B,
21
+ ∃ alpha : ℂ, alpha.re ≤ -Real.sqrt (omega n)/48 ∧
22
+ ‖alpha‖ ≤ A*Real.sqrt (omega n) ∧
23
+ ‖dq n r-alpha*q n r‖ ≤ delta*D*Real.sqrt (omega n)*(‖q n r‖+‖w n r‖)) :
24
+ ∃ φ : ℕ → ℕ, StrictMono φ ∧
25
+ Tendsto (fun n => (Real.sqrt (omega (φ n)) : ℂ)*q (φ n) B) atTop (𝓝 0) ∧
26
+ Tendsto (fun n => dq (φ n) B) atTop (𝓝 0) := by
27
+ classical
28
+ let delta := fun n : ℕ => 1/((n : ℝ)+1)
29
+ have hdelta : ∀ n, 0 < delta n := by intro n; dsimp only [delta]; positivity
30
+ have hdelta0 : Tendsto delta atTop (𝓝 0) := by
31
+ simpa only [delta] using tendsto_one_div_add_atTop_nhds_zero_nat
32
+ obtain ⟨φ,hφ,hall⟩ := extraction_forall_of_eventually (fun n =>
33
+ (hw.eventually (eventually_gt_atTop 0)).and (hg.and (hs (delta n) (hdelta n))))
34
+ choose a ha hqa hwa using fun n => (hall n).2.1
35
+ let nu := fun n => Real.sqrt (omega (φ n))
36
+ have hnu : ∀ n, 0 < nu n := fun n => Real.sqrt_pos.mpr (hall n).1
37
+ have hnu2 : ∀ n, (nu n)^2 = omega (φ n) := fun n => Real.sq_sqrt (hall n).1.le
38
+ have hnulim : Tendsto nu atTop atTop := Real.tendsto_sqrt_atTop.comp (hw.comp hφ.tendsto_atTop)
39
+ have hals : ∀ n r, r ∈ Icc R B → ∃ alpha : ℂ,
40
+ alpha.re ≤ -nu n/48 ∧ ‖alpha‖ ≤ A*nu n ∧
41
+ ‖dq (φ n) r-alpha*q (φ n) r‖ ≤ delta n*D*nu n*(‖q (φ n) r‖+‖w (φ n) r‖) :=
42
+ fun n => (hall n).2.2
43
+ let alpha := fun n r => if hr : r ∈ Icc R B then (hals n r hr).choose else 0
44
+ have halpha n r (hr : r ∈ Icc R B) :
45
+ (alpha n r).re ≤ -nu n/48 ∧ ‖alpha n r‖ ≤ A*nu n ∧
46
+ ‖dq (φ n) r-alpha n r*q (φ n) r‖ ≤ delta n*D*nu n*(‖q (φ n) r‖+‖w (φ n) r‖) := by
47
+ simpa only [alpha,dite_eq_left hr] using (hals n r hr).choose_spec
48
+ let Q := fun n r => (nu n : ℂ)*q (φ n) r
49
+ let dQ := fun n r => (nu n : ℂ)*dq (φ n) r
50
+ let W := fun n r => (nu n : ℂ)*w (φ n) r
51
+ have hQnorm n r : ‖Q n r‖ = nu n*‖q (φ n) r‖ := by
52
+ simp only [Q,norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos (hnu n)]
53
+ have hWnorm n r : ‖W n r‖ = nu n*‖w (φ n) r‖ := by
54
+ simp only [W,norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos (hnu n)]
55
+ have hinit n : ‖Q n (a n)‖ ≤ Real.sqrt M := by
56
+ apply (Real.le_sqrt (norm_nonneg _) hM).mpr
57
+ rw [hQnorm,mul_pow,hnu2]
58
+ exact hqa n
59
+ have hbound n r (hr : r ∈ Icc (a n) B) : ‖W n r‖ ≤ Real.sqrt M := by
60
+ apply (Real.le_sqrt (norm_nonneg _) hM).mpr
61
+ rw [hWnorm,mul_pow,hnu2]
62
+ exact hwa n r hr
63
+ have hscaled n r (hr : r ∈ Icc R B) :
64
+ ‖dQ n r-alpha n r*Q n r‖ ≤ (48*D*delta n)*(nu n/48)*(‖Q n r‖+‖W n r‖) := by
65
+ have heq : dQ n r-alpha n r*Q n r =
66
+ (nu n : ℂ)*(dq (φ n) r-alpha n r*q (φ n) r) := by dsimp only [dQ,Q]; ring
67
+ rw [heq,norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos (hnu n)]
68
+ calc
69
+ _ ≤ nu n*(delta n*D*nu n*(‖q (φ n) r‖+‖w (φ n) r‖)) :=
70
+ mul_le_mul_of_nonneg_left (halpha n r hr).2.2 (hnu n).le
71
+ _ = _ := by rw [hQnorm,hWnorm]; ring
72
+ have hlimit : Tendsto (fun n => Q n B) atTop (𝓝 0) := by
73
+ apply spectralComplex_coupled_inward_limit a (fun n => nu n/48) (fun n => 48*D*delta n)
74
+ B ((B-R)/2) (Real.sqrt M) (by linarith) (Real.sqrt_nonneg _)
75
+ (hnulim.atTop_div_const (by norm_num)) (by simpa using hdelta0.const_mul (48*D)) Q dQ W alpha
76
+ apply Eventually.of_forall
77
+ intro n
78
+ refine ⟨by linarith [(ha n).2],by positivity,?_,hinit n,?_,?_,?_,?_⟩
79
+ · exact continuousOn_const.mul ((hc (φ n)).mono (by intro r hr; exact ⟨(ha n).1.trans hr.1,hr.2⟩))
80
+ · intro r hr
81
+ exact (hd (φ n) r ⟨lt_of_le_of_lt (ha n).1 hr.1,hr.2⟩).const_mul _
82
+ · intro r hr
83
+ simpa only [neg_div] using (halpha n r ⟨(ha n).1.trans hr.1.le,hr.2.le⟩).1
84
+ · intro r hr
85
+ exact hscaled n r ⟨(ha n).1.trans hr.1.le,hr.2.le⟩
86
+ · intro r hr
87
+ exact hbound n r ⟨hr.1.le,hr.2.le⟩
88
+ refine ⟨φ,hφ,hlimit,?_⟩
89
+ have hBn : B ∈ Icc R B := ⟨hRB.le,le_rfl⟩
90
+ have hBbound n : ‖W n B‖ ≤ Real.sqrt M := hbound n B ⟨by linarith [(ha n).2],le_rfl⟩
91
+ have hnormlim := tendsto_zero_iff_norm_tendsto_zero.mp hlimit
92
+ have hrhs : Tendsto (fun n => A*‖Q n B‖+delta n*D*(‖Q n B‖+Real.sqrt M)) atTop (𝓝 0) := by
93
+ convert (hnormlim.const_mul A).add ((hdelta0.mul_const D).mul (hnormlim.add_const (Real.sqrt M))) using 1
94
+ simp
95
+ apply tendsto_zero_iff_norm_tendsto_zero.mpr
96
+ apply squeeze_zero' (Eventually.of_forall (fun n => norm_nonneg _)) _ hrhs
97
+ apply Eventually.of_forall
98
+ intro n
99
+ calc
100
+ ‖dq (φ n) B‖ ≤ ‖alpha n B*q (φ n) B‖+‖dq (φ n) B-alpha n B*q (φ n) B‖ := norm_le_insert' _ _
101
+ _ ≤ (A*nu n)*‖q (φ n) B‖+delta n*D*nu n*(‖q (φ n) B‖+‖w (φ n) B‖) :=
102
+ add_le_add (by rw [norm_mul]; exact mul_le_mul_of_nonneg_right (halpha n B hBn).2.1 (norm_nonneg _))
103
+ (halpha n B hBn).2.2
104
+ _ = A*‖Q n B‖+delta n*D*(‖Q n B‖+‖W n B‖) := by rw [hQnorm,hWnorm]; ring
105
+ _ ≤ _ := by gcongr; exact hBbound n
106
+
107
+ end DefocusingNLS
108
+
109
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellMatchedCoupling.lean ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCouplingEstimate
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousSpectralLocalizationPotential
3
+
4
+ namespace OAI
5
+
6
+ /-! The small coefficient in the shell Green argument is supplied by the
7
+ actual matched profile, uniformly in both spectral and angular parameters. -/
8
+
9
+ open Set Filter
10
+ namespace DefocusingNLS
11
+ open ProfileCertificate
12
+
13
+ noncomputable def spectralShellPlusForcing (m : ℕ) (Q : ℂ) (r : ℝ)
14
+ (u : (ℂ × ℂ) × (ℂ × ℂ)) : ℂ :=
15
+ spectralDiagonalCoefficient m Q*u.1.1+
16
+ spectralCrossCoefficient m Q*(homogeneousSpectralLocalizationFactor 1 r/
17
+ homogeneousSpectralLocalizationFactor (-1) r)*u.2.1
18
+
19
+ noncomputable def spectralShellMinusForcing (m : ℕ) (Q : ℂ) (r : ℝ)
20
+ (u : (ℂ × ℂ) × (ℂ × ℂ)) : ℂ :=
21
+ star (spectralDiagonalCoefficient m Q)*u.2.1+
22
+ star (spectralCrossCoefficient m Q)*(homogeneousSpectralLocalizationFactor (-1) r/
23
+ homogeneousSpectralLocalizationFactor 1 r)*u.1.1
24
+
25
+ theorem spectralShellForcing_bound (m : ℕ) (Q : ℂ) (r kp km k C : ℝ)
26
+ (hr : 0<r) (hk : 0<k) (hkp : k≤ kp) (hkm : k≤ km)
27
+ (u : (ℂ × ℂ) × (ℂ × ℂ))
28
+ (hcoef : ‖spectralDiagonalCoefficient m Q‖+‖spectralCrossCoefficient m Q‖≤ C/r^2) :
29
+ ‖spectralShellPlusForcing m Q r u‖≤ C/(k*r^2)*spectralShellPairNorm kp km u ∧
30
+ ‖spectralShellMinusForcing m Q r u‖≤ C/(k*r^2)*spectralShellPairNorm kp km u := by
31
+ obtain ⟨hp,hm⟩ := spectralShellPairNorm_values kp km k hk hkp hkm u
32
+ have hN := spectralShellPairNorm_nonneg kp km (hk.trans_le hkp).le u
33
+ have hcoef0 : 0 ≤ C/r^2 := (add_nonneg (norm_nonneg _) (norm_nonneg _)).trans hcoef
34
+ have hmax : max ‖u.1.1‖ ‖u.2.1‖≤ spectralShellPairNorm kp km u/k := max_le hp hm
35
+ have hbound : (‖spectralDiagonalCoefficient m Q‖+‖spectralCrossCoefficient m Q‖)*
36
+ max ‖u.1.1‖ ‖u.2.1‖≤ C/(k*r^2)*spectralShellPairNorm kp km u := by
37
+ calc
38
+ _ ≤ (C/r^2)*(spectralShellPairNorm kp km u/k) := by gcongr
39
+ _ = _ := by ring
40
+ constructor
41
+ · exact (homogeneousSpectralLocalization_coupling_bound 1 r hr
42
+ (spectralDiagonalCoefficient m Q) (spectralCrossCoefficient m Q) u.1.1 u.2.1).trans hbound
43
+ · have hh := homogeneousSpectralLocalization_coupling_bound (-1) r hr
44
+ (star (spectralDiagonalCoefficient m Q)) (star (spectralCrossCoefficient m Q)) u.2.1 u.1.1
45
+ simpa only [spectralShellMinusForcing,norm_star,neg_neg,max_comm] using hh.trans (by simpa only [norm_star,max_comm] using hbound)
46
+
47
+ theorem radialMatched_shell_forcing_bound (C : ℝ) (hC : 0<C) :
48
+ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, ∀ r kp km k : ℝ,
49
+ innerBoundaryRadius<r → 0<k → k≤ kp → k≤ km →
50
+ ∀ u : (ℂ × ℂ) × (ℂ × ℂ),
51
+ ‖spectralShellPlusForcing (n+radialInnerShootingThreshold)
52
+ (radialMatchedProfile n z r) r u‖≤ C/(k*r^2)*spectralShellPairNorm kp km u ∧
53
+ ‖spectralShellMinusForcing (n+radialInnerShootingThreshold)
54
+ (radialMatchedProfile n z r) r u‖≤ C/(k*r^2)*spectralShellPairNorm kp km u := by
55
+ filter_upwards [homogeneousSpectralLocalization_uniform_potential C hC] with n hn
56
+ intro z r kp km k hr hk hp hm u
57
+ have hr0 : 0<r := by linarith [innerBoundaryRadius_bounds.1]
58
+ apply spectralShellForcing_bound (n+radialInnerShootingThreshold)
59
+ (radialMatchedProfile n z r) r kp km k C hr0 hk hp hm u
60
+ exact (le_div_iff₀ (sq_pos_of_pos hr0)).mpr (by simpa only [mul_comm] using (hn z r hr).le)
61
+
62
+ end DefocusingNLS
63
+
64
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellNorm.lean ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralScalarGreen
2
+
3
+ namespace OAI
4
+
5
+ /-! The scaled value/derivative norm in the fixed-shell transfer estimate.
6
+ Here `k` is the square root of the regularized frequency magnitude. -/
7
+
8
+ namespace DefocusingNLS
9
+
10
+ noncomputable def spectralShellNorm (k : ℝ) (u : ℂ × ℂ) : ℝ :=
11
+ k * ‖u.1‖ + k⁻¹ * ‖u.2‖
12
+
13
+ theorem spectralShellNorm_nonneg (k : ℝ) (hk : 0≤ k) (u : ℂ × ℂ) :
14
+ 0≤ spectralShellNorm k u := by
15
+ exact add_nonneg (mul_nonneg hk (norm_nonneg _))
16
+ (mul_nonneg (inv_nonneg.mpr hk) (norm_nonneg _))
17
+
18
+ theorem spectralShellNorm_smul (k : ℝ) (c : ℂ) (u : ℂ × ℂ) :
19
+ spectralShellNorm k (c • u)=‖c‖*spectralShellNorm k u := by
20
+ simp only [spectralShellNorm,Prod.smul_fst,Prod.smul_snd,norm_smul]
21
+ ring
22
+
23
+ theorem spectralShellNorm_add_le (k : ℝ) (hk : 0≤ k) (u v : ℂ × ℂ) :
24
+ spectralShellNorm k (u+v)≤ spectralShellNorm k u+spectralShellNorm k v := by
25
+ dsimp only [spectralShellNorm,Prod.fst_add,Prod.snd_add]
26
+ calc
27
+ _ ≤ k*(‖u.1‖+‖v.1‖)+k⁻¹*(‖u.2‖+‖v.2‖) :=
28
+ add_le_add (mul_le_mul_of_nonneg_left (norm_add_le _ _) hk)
29
+ (mul_le_mul_of_nonneg_left (norm_add_le _ _) (inv_nonneg.mpr hk))
30
+ _ = _ := by ring
31
+
32
+ theorem spectralShellNorm_value (k : ℝ) (hk : 0<k) (u : ℂ × ℂ) :
33
+ ‖u.1‖ ≤ spectralShellNorm k u/k := by
34
+ apply (le_div_iff₀ hk).mpr
35
+ dsimp only [spectralShellNorm]
36
+ nlinarith [mul_nonneg (inv_nonneg.mpr hk.le) (norm_nonneg u.2)]
37
+
38
+ theorem spectralShellNorm_slope (k : ℝ) (hk : 0<k) (u : ℂ × ℂ) :
39
+ ‖u.2‖ ≤ k*spectralShellNorm k u := by
40
+ dsimp only [spectralShellNorm]
41
+ have he : k*k⁻¹=1 := mul_inv_cancel₀ hk.ne'
42
+ rw [mul_add,← mul_assoc k k⁻¹,he,one_mul]
43
+ exact le_add_of_nonneg_left (by positivity)
44
+
45
+ theorem spectralShellNorm_zero (k : ℝ) : spectralShellNorm k 0=0 := by
46
+ simp only [spectralShellNorm,Prod.fst_zero,Prod.snd_zero,norm_zero,mul_zero,add_zero]
47
+
48
+ theorem spectralShellNorm_eq_zero (k : ℝ) (hk : 0<k) (u : ℂ × ℂ) :
49
+ spectralShellNorm k u=0 ↔ u=0 := by
50
+ constructor
51
+ · intro h
52
+ have hf := spectralShellNorm_value k hk u
53
+ have hg := spectralShellNorm_slope k hk u
54
+ rw [h,zero_div] at hf
55
+ rw [h,mul_zero] at hg
56
+ exact Prod.ext (norm_eq_zero.mp (le_antisymm hf (norm_nonneg _)))
57
+ (norm_eq_zero.mp (le_antisymm hg (norm_nonneg _)))
58
+ · rintro rfl
59
+ exact spectralShellNorm_zero k
60
+
61
+ end DefocusingNLS
62
+
63
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralShellPositiveForm.lean ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralShellMatchedCoupling
2
+
3
+ namespace OAI
4
+
5
+ /-! The defocusing coefficient matrix remains nonnegative after the two
6
+ Liouville phase changes. This is the interior sign used for high angular modes. -/
7
+
8
+ namespace DefocusingNLS
9
+
10
+ theorem spectralDiagonalCoefficient_real (m : ℕ) (q : ℂ) :
11
+ spectralDiagonalCoefficient m q = (((m : ℝ)+1)*‖q‖^(2*m) : ℝ) := by
12
+ calc
13
+ _ = ((m+1 : ℕ) : ℂ)*(q*star q)^m := by
14
+ rw [spectralDiagonalCoefficient,mul_pow]
15
+ ring
16
+ _ = ((m+1 : ℕ) : ℂ)*((‖q‖ : ℂ)^2)^m := by
17
+ rw [Complex.star_def,Complex.mul_conj']
18
+ _ = _ := by push_cast; rw [← pow_mul]
19
+
20
+ private theorem real_diagonal_form (d : ℝ) (u : ℂ) :
21
+ (star u*((d : ℂ)*u)).re = d*‖u‖^2 := by
22
+ rw [Complex.sq_norm]
23
+ simp only [Complex.star_def,Complex.mul_re,Complex.mul_im,Complex.ofReal_re,
24
+ Complex.ofReal_im,Complex.conj_re,Complex.conj_im,Complex.normSq_apply]
25
+ ring
26
+
27
+ private theorem positive_pair (d : ℝ) (cp cm u v : ℂ)
28
+ (hd : 0 ≤ d) (hp : ‖cp‖ ≤ d) (hm : ‖cm‖ ≤ d) :
29
+ 0 ≤ (star u*((d : ℂ)*u+cp*v)).re+(star v*((d : ℂ)*v+cm*u)).re := by
30
+ have hpn : ‖star u*(cp*v)‖ ≤ d*‖u‖*‖v‖ := by
31
+ rw [norm_mul,norm_star,norm_mul]
32
+ nlinarith [mul_le_mul_of_nonneg_right hp (mul_nonneg (norm_nonneg u) (norm_nonneg v))]
33
+ have hmn : ‖star v*(cm*u)‖ ≤ d*‖u‖*‖v‖ := by
34
+ rw [norm_mul,norm_star,norm_mul]
35
+ nlinarith [mul_le_mul_of_nonneg_right hm (mul_nonneg (norm_nonneg u) (norm_nonneg v))]
36
+ have hpr := (abs_le.mp (Complex.abs_re_le_norm (star u*(cp*v)))).1
37
+ have hmr := (abs_le.mp (Complex.abs_re_le_norm (star v*(cm*u)))).1
38
+ rw [mul_add,mul_add,Complex.add_re,Complex.add_re,real_diagonal_form,real_diagonal_form]
39
+ nlinarith [mul_nonneg hd (sq_nonneg (‖u‖-‖v‖))]
40
+
41
+ theorem spectralShellForcing_nonnegative (m : ℕ) (hm : 1 ≤ m) (Q : ℂ)
42
+ (r : ℝ) (hr : 0 < r) (u : (ℂ × ℂ) × (ℂ × ℂ)) :
43
+ 0 ≤ (star u.1.1*spectralShellPlusForcing m Q r u).re+
44
+ (star u.2.1*spectralShellMinusForcing m Q r u).re := by
45
+ let d := ((m : ℝ)+1)*‖Q‖^(2*m)
46
+ have hd : 0 ≤ d := by dsimp only [d]; positivity
47
+ have hD : spectralDiagonalCoefficient m Q = (d : ℂ) := spectralDiagonalCoefficient_real m Q
48
+ have hC : ‖spectralCrossCoefficient m Q‖ ≤ d := by
49
+ rw [spectralCrossCoefficient_norm m hm]
50
+ dsimp only [d]
51
+ nlinarith [pow_nonneg (norm_nonneg Q) (2*m)]
52
+ have hp : ‖spectralCrossCoefficient m Q*(homogeneousSpectralLocalizationFactor 1 r/
53
+ homogeneousSpectralLocalizationFactor (-1) r)‖ ≤ d := by
54
+ rw [norm_mul,homogeneousSpectralLocalization_phase_norm 1 r hr,mul_one]
55
+ exact hC
56
+ have hn : ‖star (spectralCrossCoefficient m Q)*(homogeneousSpectralLocalizationFactor (-1) r/
57
+ homogeneousSpectralLocalizationFactor 1 r)‖ ≤ d := by
58
+ have hphase := homogeneousSpectralLocalization_phase_norm (-1) r hr
59
+ norm_num only [neg_neg] at hphase
60
+ rw [norm_mul,hphase,norm_star,mul_one]
61
+ exact hC
62
+ have h := positive_pair d _ _ u.1.1 u.2.1 hd hp hn
63
+ simpa only [spectralShellPlusForcing,spectralShellMinusForcing,hD,
64
+ Complex.star_def,Complex.conj_ofReal] using h
65
+
66
+ end DefocusingNLS
67
+
68
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSimpleKernelEstimate.lean ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactKernelLimit
2
+
3
+ namespace OAI
4
+
5
+ /-! The estimate on a fixed complement of a simple compact-pencil kernel.
6
+ This is the quantitative input for excluding nearby additional roots. -/
7
+
8
+ open Set Filter Topology
9
+ namespace DefocusingNLS
10
+
11
+ theorem compact_approximate_kernel_limit {E : Type*}
12
+ [NormedAddCommGroup E] [NormedSpace ℂ E]
13
+ (K : E →L[ℂ] E) (hK : IsCompactOperator K) (v : ℕ → E)
14
+ (hv : ∀ n, ‖v n‖ = 1) (he : Tendsto (fun n => v n - K (v n)) atTop (𝓝 0)) :
15
+ ∃ v₀ : E, ‖v₀‖ = 1 ∧ K v₀ = v₀ ∧
16
+ ∃ φ : ℕ → ℕ, StrictMono φ ∧ Tendsto (fun n => v (φ n)) atTop (𝓝 v₀) := by
17
+ have hb (n : ℕ) : v n ∈ Metric.closedBall (0 : E) 1 := by
18
+ simpa only [Metric.mem_closedBall, dist_zero_right, hv n] using (le_refl (1 : ℝ))
19
+ have hcomp := hK.isCompact_closure_image_closedBall 1
20
+ obtain ⟨v₀, _, φ, hφ, ht⟩ := hcomp.tendsto_subseq
21
+ (fun n => subset_closure (mem_image_of_mem K (hb n)))
22
+ have ht' : Tendsto (fun n => v (φ n)) atTop (𝓝 v₀) := by
23
+ have hs := (he.comp hφ.tendsto_atTop).add ht
24
+ simpa only [Function.comp_def, sub_add_cancel, zero_add] using hs
25
+ have hn : ‖v₀‖ = 1 := by
26
+ apply tendsto_nhds_unique ht'.norm
27
+ simpa only [hv] using (tendsto_const_nhds : Tendsto (fun _ : ℕ => (1 : ℝ)) atTop (𝓝 1))
28
+ have hfix : K v₀ = v₀ :=
29
+ tendsto_nhds_unique (K.continuous.continuousAt.tendsto.comp ht') ht
30
+ exact ⟨v₀, hn, hfix, φ, hφ, ht'⟩
31
+
32
+ theorem compact_simple_kernel_estimate {E : Type*}
33
+ [NormedAddCommGroup E] [NormedSpace ℂ E]
34
+ (K : E →L[ℂ] E) (hK : IsCompactOperator K) (v : E)
35
+ (L : E →L[ℂ] ℂ) (hLv : L v ≠ 0)
36
+ (hker : ∀ u : E, K u = u → ∃ a : ℂ, u = a • v) :
37
+ ∃ c : ℝ, 0 < c ∧ ∀ u : E, L u = 0 → c * ‖u‖ ≤ ‖u - K u‖ := by
38
+ by_contra hfail
39
+ push Not at hfail
40
+ let ε : ℕ → ℝ := fun n => 1 / ((n : ℝ) + 1)
41
+ have hε (n : ℕ) : 0 < ε n := by dsimp [ε]; positivity
42
+ choose u hu using fun n => hfail (ε n) (hε n)
43
+ have hu0 (n : ℕ) : u n ≠ 0 := by
44
+ intro h
45
+ have hh := (hu n).2
46
+ simp [h] at hh
47
+ have hun (n : ℕ) : ‖u n‖ ≠ 0 := norm_ne_zero_iff.mpr (hu0 n)
48
+ let w := fun n => ((‖u n‖ : ℂ)⁻¹) • u n
49
+ have hw (n : ℕ) : ‖w n‖ = 1 := by
50
+ dsimp [w]
51
+ rw [norm_smul, norm_inv, Complex.norm_real, Real.norm_eq_abs,
52
+ abs_of_nonneg (norm_nonneg _), inv_mul_cancel₀ (hun n)]
53
+ have hLw (n : ℕ) : L (w n) = 0 := by
54
+ dsimp only [w]
55
+ rw [map_smul, (hu n).1, smul_zero]
56
+ have hres (n : ℕ) : ‖w n - K (w n)‖ ≤ ε n := by
57
+ have hn : 0 < ‖u n‖ := norm_pos_iff.mpr (hu0 n)
58
+ have hid : w n - K (w n) = ((‖u n‖ : ℂ)⁻¹) • (u n - K (u n)) := by
59
+ simp only [w, map_smul, smul_sub]
60
+ rw [hid, norm_smul, norm_inv, Complex.norm_real, Real.norm_eq_abs,
61
+ abs_of_nonneg hn.le]
62
+ calc
63
+ ‖u n‖⁻¹ * ‖u n - K (u n)‖ ≤ ‖u n‖⁻¹ * (ε n * ‖u n‖) :=
64
+ mul_le_mul_of_nonneg_left (hu n).2.le (inv_nonneg.mpr hn.le)
65
+ _ = ε n := by field_simp
66
+ have hεlim : Tendsto ε atTop (𝓝 0) := by
67
+ have ht : Tendsto (fun n : ℕ => (n : ℝ) + 1) atTop atTop :=
68
+ tendsto_atTop_mono (fun n : ℕ => by simp only [le_add_iff_nonneg_right]; norm_num)
69
+ tendsto_natCast_atTop_atTop
70
+ simpa only [ε, one_div, Function.comp_def] using tendsto_inv_atTop_zero.comp ht
71
+ obtain ⟨v₀, hv₀, hfix, φ, _hφ, ht⟩ := compact_approximate_kernel_limit K hK w hw
72
+ (squeeze_zero_norm hres hεlim)
73
+ have hL₀ : L v₀ = 0 := by
74
+ apply tendsto_nhds_unique (L.continuous.continuousAt.tendsto.comp ht)
75
+ change Tendsto (fun n => L (w (φ n))) atTop (𝓝 (0 : ℂ))
76
+ simpa only [hLw] using
77
+ (tendsto_const_nhds : Tendsto (fun _ : ℕ => (0 : ℂ)) atTop (𝓝 0))
78
+ obtain ⟨a, ha⟩ := hker v₀ hfix
79
+ have ha0 : a = 0 := by
80
+ rw [ha, map_smul, smul_eq_mul] at hL₀
81
+ exact (mul_eq_zero.mp hL₀).resolve_right hLv
82
+ rw [ha, ha0, zero_smul, norm_zero] at hv₀
83
+ norm_num at hv₀
84
+
85
+ theorem kernel_complement_perturbation_estimate {E : Type*}
86
+ [NormedAddCommGroup E] [NormedSpace ℂ E]
87
+ (K₀ K : E →L[ℂ] E) (L : E →L[ℂ] ℂ) (c : ℝ)
88
+ (hbase : ∀ u : E, L u = 0 → c * ‖u‖ ≤ ‖u - K₀ u‖)
89
+ (hK : ‖K - K₀‖ ≤ c / 2) (u : E) (hu : L u = 0) :
90
+ c / 2 * ‖u‖ ≤ ‖u - K u‖ := by
91
+ have hb := hbase u hu
92
+ have hop := (K - K₀).le_opNorm u
93
+ have he : u - K₀ u = (u - K u) + (K - K₀) u := by
94
+ simp only [sub_apply]
95
+ abel
96
+ have ht := norm_add_le (u - K u) ((K - K₀) u)
97
+ rw [← he] at ht
98
+ have hm := mul_le_mul_of_nonneg_right hK (norm_nonneg u)
99
+ linarith
100
+
101
+ theorem kernel_unique_with_normalization {E : Type*}
102
+ [NormedAddCommGroup E] [NormedSpace ℂ E]
103
+ (K : E →L[ℂ] E) (L : E →L[ℂ] ℂ) (c : ℝ) (hc : 0 < c)
104
+ (hbound : ∀ u : E, L u = 0 → c * ‖u‖ ≤ ‖u - K u‖)
105
+ (u v : E) (hu : K u = u) (hv : K v = v) (hL : L u = L v) : u = v := by
106
+ have hzero : L (u - v) = 0 := by rw [map_sub, hL, sub_self]
107
+ have hh := hbound (u - v) hzero
108
+ rw [map_sub, hu, hv, sub_self, norm_zero] at hh
109
+ have hn : ‖u - v‖ = 0 := le_antisymm (by nlinarith) (norm_nonneg _)
110
+ exact sub_eq_zero.mp (norm_eq_zero.mp hn)
111
+
112
+ end DefocusingNLS
113
+
114
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSimpleLimitNoJordan.lean ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSimpleLimitNoSplitting
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCompactJordanLimit
3
+
4
+ namespace OAI
5
+
6
+ /-! First analytic chains cannot persist near a simple limiting root. -/
7
+
8
+ open Set Filter Topology
9
+ namespace DefocusingNLS
10
+ variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E]
11
+
12
+ theorem spectral_simple_limit_no_jordan
13
+ (F : ℕ → ℂ → E →L[ℂ] E) (f : ℂ → E →L[ℂ] E)
14
+ (U : Set ℂ) (hU : IsOpen U)
15
+ (hF : TendstoLocallyUniformlyOn F f atTop U)
16
+ (hd : ∀ᶠ n in atTop, DifferentiableOn ℂ (F n) U)
17
+ (z : ℂ) (hz : z ∈ U) (hcompact : IsCompactOperator (f z))
18
+ (x : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 z)) (u v : ℕ → E)
19
+ (hu : ∀ᶠ n in atTop, F n (x n) (u n)=u n ∧ u n ≠ 0)
20
+ (hv : ∀ᶠ n in atTop, v n-F n (x n) (v n)=deriv (F n) (x n) (u n))
21
+ (hker : ∀ u₀ : E, u₀ ≠ 0 → f z u₀=u₀ →
22
+ ∀ w : E, f z w=w → ∃ a : ℂ, w=a • u₀)
23
+ (hno : ∀ u₀ : E, u₀ ≠ 0 → f z u₀=u₀ →
24
+ ∀ w : E, w-f z w ≠ deriv f z u₀) : False := by
25
+ have hdf := hF.differentiableOn hd hU
26
+ have hj := spectral_locallyUniform_joint_tendsto F f U hU hF z hz
27
+ (hdf.differentiableAt (hU.mem_nhds hz)).continuousAt
28
+ have hK := hj.comp (tendsto_id.prodMk hx)
29
+ have hdj := spectral_locallyUniform_joint_tendsto (fun n => deriv (F n)) (deriv f)
30
+ U hU (hF.deriv hd hU) z hz ((hdf.deriv hU).continuousOn.continuousAt (hU.mem_nhds hz))
31
+ have hD := hdj.comp (tendsto_id.prodMk hx)
32
+ obtain ⟨u₀,hnorm,hfix⟩ := compact_kernel_limit_of_eventually_nonzero
33
+ (fun n => F n (x n)) (f z) hK hcompact u hu
34
+ have hu₀ : u₀ ≠ 0 := by
35
+ intro he
36
+ rw [he,norm_zero] at hnorm
37
+ norm_num at hnorm
38
+ obtain ⟨L,_hLnorm,hLu⟩ := exists_dual_vector ℂ u₀ (by rw [hnorm]; norm_num)
39
+ have hL₀ : L u₀=1 := by simpa [hnorm] using hLu
40
+ obtain ⟨c,hc,hbase⟩ := compact_simple_kernel_estimate (f z) hcompact u₀ L
41
+ (by rw [hL₀]; norm_num) (hker u₀ hu₀ hfix)
42
+ have heK : ∀ᶠ n in atTop, ‖F n (x n)-f z‖ ≤ c/2 :=
43
+ ((tendsto_iff_norm_sub_tendsto_zero.mp hK).eventually
44
+ (gt_mem_nhds (half_pos hc))).mono (fun _ h => h.le)
45
+ obtain ⟨N,hN⟩ := eventually_atTop.mp (heK.and (hu.and hv))
46
+ let k := fun n => n+N
47
+ have hk : Tendsto k atTop atTop := tendsto_add_atTop_nat N
48
+ have hg (n : ℕ) := hN (n+N) (Nat.le_add_left N n)
49
+ have hLn (n : ℕ) : L (u (k n)) ≠ 0 :=
50
+ spectral_kernel_functional_ne_zero (f z) _ L c hc hbase (hg n).1 _
51
+ (hg n).2.1.1 (hg n).2.1.2
52
+ let a := fun n => (L (u (k n)))⁻¹ • u (k n)
53
+ let b := fun n => (L (u (k n)))⁻¹ • v (k n)
54
+ have ha (n : ℕ) : F (k n) (x (k n)) (a n)=a n ∧ L (a n)=1 :=
55
+ spectral_normalize_kernel _ L _ (hg n).2.1.1 (hLn n)
56
+ have halim : Tendsto a atTop (𝓝 u₀) :=
57
+ spectral_normalized_kernel_tendsto (fun n => F (k n) (x (k n))) (f z)
58
+ (hK.comp hk) L c hc hbase (fun n => (hg n).1) u₀ a hfix
59
+ (fun n => (ha n).1) (fun n => (ha n).2.trans hL₀.symm)
60
+ have hb (n : ℕ) : b n-F (k n) (x (k n)) (b n)=deriv (F (k n)) (x (k n)) (a n) := by
61
+ dsimp only [a,b]
62
+ rw [map_smul,map_smul,← smul_sub,(hg n).2.2]
63
+ exact compact_pencil_no_jordan_sequence (fun n => F (k n) (x (k n)))
64
+ (fun n => deriv (F (k n)) (x (k n))) (f z) (deriv f z)
65
+ (hK.comp hk) hcompact (hD.comp hk) L c hc hbase (fun n => (hg n).1)
66
+ a b u₀ halim (fun n => (ha n).1) (fun n => (ha n).2) hb (hno u₀ hu₀ hfix)
67
+
68
+ end DefocusingNLS
69
+
70
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSimpleLimitNoSplitting.lean ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralEventualNoSplitting
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralNonzeroKernelLimit
3
+ import Mathlib.Analysis.Normed.Module.HahnBanach
4
+
5
+ namespace OAI
6
+
7
+ /-! A one-dimensional limiting kernel with no first chain prevents distinct nearby roots. -/
8
+
9
+ open Set Filter Topology
10
+ namespace DefocusingNLS
11
+ variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E]
12
+
13
+ theorem spectral_simple_limit_no_splitting
14
+ (F : ℕ → ℂ → E →L[ℂ] E) (f : ℂ → E →L[ℂ] E)
15
+ (U : Set ℂ) (hU : IsOpen U)
16
+ (hF : TendstoLocallyUniformlyOn F f atTop U)
17
+ (hd : ∀ᶠ n in atTop, DifferentiableOn ℂ (F n) U)
18
+ (z : ℂ) (hz : z ∈ U) (hcompact : IsCompactOperator (f z))
19
+ (x y : ℕ → ℂ) (hx : Tendsto x atTop (𝓝 z)) (hy : Tendsto y atTop (𝓝 z))
20
+ (hne : ∀ᶠ n in atTop, x n ≠ y n)
21
+ (u v : ℕ → E)
22
+ (hu : ∀ᶠ n in atTop, F n (x n) (u n)=u n ∧ u n ≠ 0)
23
+ (hv : ∀ᶠ n in atTop, F n (y n) (v n)=v n ∧ v n ≠ 0)
24
+ (hker : ∀ u₀ : E, u₀ ≠ 0 → f z u₀=u₀ →
25
+ ∀ w : E, f z w=w → ∃ a : ℂ, w=a • u₀)
26
+ (hno : ∀ u₀ : E, u₀ ≠ 0 → f z u₀=u₀ →
27
+ ∀ w : E, w-f z w ≠ deriv f z u₀) : False := by
28
+ have hdf := hF.differentiableOn hd hU
29
+ have hj := spectral_locallyUniform_joint_tendsto F f U hU hF z hz
30
+ (hdf.differentiableAt (hU.mem_nhds hz)).continuousAt
31
+ obtain ⟨u₀,hnorm,hfix⟩ := compact_kernel_limit_of_eventually_nonzero
32
+ (fun n => F n (x n)) (f z) (hj.comp (tendsto_id.prodMk hx)) hcompact u hu
33
+ have hu₀ : u₀ ≠ 0 := by
34
+ intro he
35
+ rw [he,norm_zero] at hnorm
36
+ norm_num at hnorm
37
+ obtain ⟨L,_hLnorm,hLu⟩ := exists_dual_vector ℂ u₀ (by rw [hnorm]; norm_num)
38
+ have hL₀ : L u₀=1 := by simpa [hnorm] using hLu
39
+ obtain ⟨c,hc,hbase⟩ := compact_simple_kernel_estimate (f z) hcompact u₀ L
40
+ (by rw [hL₀]; norm_num) (hker u₀ hu₀ hfix)
41
+ exact spectral_eventual_no_splitting F f U hU hF hd z hz hcompact x y hx hy hne
42
+ L c hc hbase u₀ hfix hL₀ u v hu hv (hno u₀ hu₀ hfix)
43
+
44
+ end DefocusingNLS
45
+
46
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSmoothCutoff.lean ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralHarmonicJetMultiplier
2
+ import Mathlib.Analysis.Complex.RealDeriv
3
+
4
+ namespace OAI
5
+
6
+ /-! Smooth cutoffs on Schwartz functions and their exact L² product identities. -/
7
+
8
+ open MeasureTheory
9
+ open scoped SchwartzMap
10
+ namespace DefocusingNLS
11
+
12
+ noncomputable def spectralSmoothCutoff (q : ℝ → ℝ) : 𝓢(ℝ,ℂ) →L[ℂ] 𝓢(ℝ,ℂ) :=
13
+ SchwartzMap.smulLeftCLM ℂ (fun r => (q r : ℂ))
14
+
15
+ theorem spectralSmoothCutoff_apply (q : ℝ → ℝ) (hq : q.HasTemperateGrowth)
16
+ (f : 𝓢(ℝ,ℂ)) (r : ℝ) : spectralSmoothCutoff q f r=(q r : ℂ)*f r := by
17
+ have hqc : (fun r => (q r : ℂ)).HasTemperateGrowth := Complex.hasTemperateGrowth_ofReal.comp hq
18
+ rw [spectralSmoothCutoff,SchwartzMap.smulLeftCLM_apply_apply hqc]
19
+ rfl
20
+
21
+ theorem spectralSmoothCutoff_derivative (q dq : ℝ → ℝ) (hq : q.HasTemperateGrowth)
22
+ (hd : ∀ r, HasDerivAt q (dq r) r) (f : 𝓢(ℝ,ℂ)) (r : ℝ) :
23
+ SchwartzMap.derivCLM ℂ ℂ (spectralSmoothCutoff q f) r=
24
+ (dq r : ℂ)*f r+(q r : ℂ)*SchwartzMap.derivCLM ℂ ℂ f r := by
25
+ have he : (spectralSmoothCutoff q f : ℝ → ℂ)=(fun s => (q s : ℂ)*f s) :=
26
+ funext (spectralSmoothCutoff_apply q hq f)
27
+ rw [SchwartzMap.derivCLM_apply,he,SchwartzMap.derivCLM_apply]
28
+ exact ((hd r).ofReal_comp.mul (f.hasDerivAt r)).deriv
29
+
30
+ theorem spectralSmoothCutoff_L2 (μ : Measure ℝ) [IsFiniteMeasure μ]
31
+ (q : ℝ → ℝ) (hq : q.HasTemperateGrowth) (hqm : AEStronglyMeasurable q μ)
32
+ (M : ℝ) (hqb : ∀ᵐ r ∂μ, ‖q r‖ ≤ M) (f : 𝓢(ℝ,ℂ)) :
33
+ spectralL2ComplexMultiplier μ q hqm M hqb
34
+ (BoundedContinuousFunction.toLp 2 μ ℂ (SchwartzMap.toBoundedContinuousFunctionCLM ℂ ℝ ℂ f))=
35
+ BoundedContinuousFunction.toLp 2 μ ℂ
36
+ (SchwartzMap.toBoundedContinuousFunctionCLM ℂ ℝ ℂ (spectralSmoothCutoff q f)) := by
37
+ apply Lp.ext
38
+ filter_upwards [spectralL2ComplexMultiplier_ae μ q hqm M hqb
39
+ (BoundedContinuousFunction.toLp 2 μ ℂ (SchwartzMap.toBoundedContinuousFunctionCLM ℂ ℝ ℂ f)),
40
+ BoundedContinuousFunction.coeFn_toLp 2 μ ℂ
41
+ (SchwartzMap.toBoundedContinuousFunctionCLM ℂ ℝ ℂ f),
42
+ BoundedContinuousFunction.coeFn_toLp 2 μ ℂ
43
+ (SchwartzMap.toBoundedContinuousFunctionCLM ℂ ℝ ℂ (spectralSmoothCutoff q f))]
44
+ with r hm hf hg
45
+ rw [hm,hf,hg]
46
+ change q r • f r = spectralSmoothCutoff q f r
47
+ simpa only [Complex.real_smul] using (spectralSmoothCutoff_apply q hq f r).symm
48
+
49
+ end DefocusingNLS
50
+
51
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSmoothHarmonicBound.lean ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWeightedPairing
2
+
3
+ namespace OAI
4
+
5
+ /-! Uniform C1 control on the ball bounds the completed harmonic energy. -/
6
+
7
+ open Set MeasureTheory
8
+ open scoped SchwartzMap ENNReal
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralHarmonicNorm_le_sum (ell : ℕ) (R : ℝ)
12
+ (u : SpectralHarmonicEnergy ell R) :
13
+ ‖u‖ ≤ ‖spectralHarmonicValue ell R u‖+‖spectralHarmonicDerivative ell R u‖+
14
+ ‖spectralHarmonicAngularValue ell R u‖ := by
15
+ have he := spectralHarmonicEnergy_norm_sq ell R u
16
+ rw [spectralRadialEnergy_norm_sq] at he
17
+ change ‖u‖^2=‖spectralHarmonicValue ell R u‖^2+
18
+ ‖spectralHarmonicDerivative ell R u‖^2+‖spectralHarmonicAngularValue ell R u‖^2 at he
19
+ have hv := norm_nonneg (spectralHarmonicValue ell R u)
20
+ have hd := norm_nonneg (spectralHarmonicDerivative ell R u)
21
+ have ha := norm_nonneg (spectralHarmonicAngularValue ell R u)
22
+ nlinarith [norm_nonneg u,mul_nonneg hv hd,mul_nonneg hv ha,mul_nonneg hd ha]
23
+
24
+ theorem spectralSmoothHarmonic_uniform_bound (ell : ℕ) (R : ℝ) :
25
+ ∃ C : ℝ, 0 < C ∧ ∀ (f : 𝓢(ℝ,ℂ)) (d : ℝ), 0 ≤ d →
26
+ (∀ r ∈ Icc 0 R, ‖f r‖ ≤ d) → (∀ r ∈ Icc 0 R, ‖deriv f r‖ ≤ d) →
27
+ ‖spectralHarmonicSmoothEmbedding ell R f‖ ≤ C*d := by
28
+ let c : ℝ := (measureUnivNNReal (radialPressureMeasure R) : ℝ)^((2 : ℝ≥0∞).toReal)⁻¹
29
+ let a : ℝ := (measureUnivNNReal (spectralAngularMeasure R) : ℝ)^((2 : ℝ≥0∞).toReal)⁻¹
30
+ let k : ℝ := ‖(Real.sqrt ((ell : ℝ)*(ell+10)) : ℂ)‖
31
+ have hc : 0 ≤ c := Real.rpow_nonneg (by positivity) _
32
+ have ha : 0 ≤ a := Real.rpow_nonneg (by positivity) _
33
+ have hk : 0 ≤ k := norm_nonneg _
34
+ refine ⟨2*c+k*a+1,by positivity,fun f d hd hf hdf => ?_⟩
35
+ let u := spectralHarmonicSmoothEmbedding ell R f
36
+ have hV : ‖spectralHarmonicValue ell R u‖ ≤ c*d := by
37
+ apply Lp.norm_le_of_ae_bound hd
38
+ filter_upwards [spectralHarmonicValue_smooth_ae ell R f,
39
+ radialPressureMeasure_ae_positive R] with r hr hp
40
+ rw [hr]
41
+ exact hf r ⟨hp.1.le,hp.2⟩
42
+ have hD : ‖spectralHarmonicDerivative ell R u‖ ≤ c*d := by
43
+ apply Lp.norm_le_of_ae_bound hd
44
+ filter_upwards [spectralHarmonicDerivative_smooth_ae ell R f,
45
+ radialPressureMeasure_ae_positive R] with r hr hp
46
+ rw [hr]
47
+ exact hdf r ⟨hp.1.le,hp.2⟩
48
+ have hA : ‖spectralSmoothAngularValue R f‖ ≤ a*d := by
49
+ apply Lp.norm_le_of_ae_bound hd
50
+ filter_upwards [BoundedContinuousFunction.coeFn_toLp 2 (spectralAngularMeasure R) ℂ
51
+ (SchwartzMap.toBoundedContinuousFunctionCLM ℂ ℝ ℂ f),
52
+ (spectralAngularMeasure_absolutelyContinuous R).ae_le (radialPressureMeasure_ae_positive R)]
53
+ with r hr hp
54
+ change spectralSmoothAngularValue R f r=f r at hr
55
+ rw [hr]
56
+ exact hf r ⟨hp.1.le,hp.2⟩
57
+ have hG : ‖spectralHarmonicAngularValue ell R u‖ ≤ k*(a*d) := by
58
+ rw [spectralHarmonicAngularValue_smooth,norm_smul]
59
+ exact mul_le_mul_of_nonneg_left hA hk
60
+ apply (spectralHarmonicNorm_le_sum ell R u).trans
61
+ calc
62
+ _ ≤ c*d+c*d+k*(a*d) := add_le_add (add_le_add hV hD) hG
63
+ _ ≤ (2*c+k*a+1)*d := by nlinarith
64
+
65
+ end DefocusingNLS
66
+
67
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSmoothPairTesting.lean ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFirstTest
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralPencilVariational
3
+
4
+ namespace OAI
5
+
6
+ /-! Schwartz tests in both coordinates determine the complete weak equation. -/
7
+
8
+ open scoped SchwartzMap
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralPairFunctional_ext (ell : ℕ) (R : ℝ)
12
+ (L M : SpectralHarmonicPair ell R →L[ℝ] ℝ)
13
+ (hf : ∀ f : 𝓢(ℝ,ℂ), L (spectralFirstTest ell R f)=M (spectralFirstTest ell R f))
14
+ (hg : ∀ f : 𝓢(ℝ,ℂ), L (spectralSecondTest ell R f)=M (spectralSecondTest ell R f)) :
15
+ L=M := by
16
+ let J := (WithLp.prodContinuousLinearEquiv 2 ℂ
17
+ (SpectralHarmonicEnergy ell R) (SpectralHarmonicEnergy ell R)).symm
18
+ have hfirst : (fun v : SpectralHarmonicEnergy ell R => L (J (v,0)))=
19
+ (fun v : SpectralHarmonicEnergy ell R => M (J (v,0))) :=
20
+ (spectralHarmonicSmooth_dense ell R).equalizer
21
+ (L.continuous.comp (J.continuous.comp (continuous_id.prodMk continuous_const)))
22
+ (M.continuous.comp (J.continuous.comp (continuous_id.prodMk continuous_const))) (funext hf)
23
+ have hsecond : (fun v : SpectralHarmonicEnergy ell R => L (J (0,v)))=
24
+ (fun v : SpectralHarmonicEnergy ell R => M (J (0,v))) :=
25
+ (spectralHarmonicSmooth_dense ell R).equalizer
26
+ (L.continuous.comp (J.continuous.comp (continuous_const.prodMk continuous_id)))
27
+ (M.continuous.comp (J.continuous.comp (continuous_const.prodMk continuous_id))) (funext hg)
28
+ apply DFunLike.ext
29
+ intro v
30
+ have hv : v=J (v.fst,0)+J (0,v.snd) := by
31
+ change v=WithLp.toLp 2 (v.fst,0)+WithLp.toLp 2 (0,v.snd)
32
+ apply (WithLp.prodContinuousLinearEquiv 2 ℂ
33
+ (SpectralHarmonicEnergy ell R) (SpectralHarmonicEnergy ell R)).injective
34
+ change (v.fst,v.snd)=(v.fst+0,0+v.snd)
35
+ simp
36
+ rw [hv,map_add,map_add,congrFun hfirst,congrFun hsecond]
37
+
38
+ namespace SpectralPenaltyFamily
39
+ variable {R l : ℝ}
40
+
41
+ theorem compactPencil_of_smooth_tests (s : SpectralPenaltyFamily R l) (ell n : ℕ)
42
+ (hR : 0 < R) (K : SpectralRadialObservationSpace R →L[ℂ] SpectralHarmonicPair ell R)
43
+ (u : SpectralHarmonicPair ell R)
44
+ (hf : ∀ f : 𝓢(ℝ,ℂ), s.penaltyForm ell n u (spectralFirstTest ell R f)=
45
+ inner ℝ (K (spectralHarmonicObservation ell R hR u)) (spectralFirstTest ell R f))
46
+ (hg : ∀ f : 𝓢(ℝ,ℂ), s.penaltyForm ell n u (spectralSecondTest ell R f)=
47
+ inner ℝ (K (spectralHarmonicObservation ell R hR u)) (spectralSecondTest ell R f)) :
48
+ s.compactPencil ell hR n K (spectralHarmonicObservation ell R hR u)=
49
+ spectralHarmonicObservation ell R hR u := by
50
+ apply (s.compactPencil_variational ell n hR K _).mpr
51
+ refine ⟨u,rfl,?_⟩
52
+ have he := spectralPairFunctional_ext ell R (s.penaltyForm ell n u)
53
+ (InnerProductSpace.toDual ℝ (SpectralHarmonicPair ell R)
54
+ (K (spectralHarmonicObservation ell R hR u))) hf hg
55
+ exact fun v => DFunLike.congr_fun he v
56
+
57
+ end SpectralPenaltyFamily
58
+ end DefocusingNLS
59
+
60
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitCoefficients.lean ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCoefficientContinuity
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadialUniformAnnulus
3
+ import Mathlib.Analysis.SpecificLimits.Normed
4
+
5
+ namespace OAI
6
+
7
+ /-! Uniform decay of the actual two spectral potential coefficients on the
8
+ exterior subunit annulus. The polynomial factor in the power is retained. -/
9
+
10
+ open Filter Topology Set
11
+ namespace DefocusingNLS
12
+ open ProfileCertificate
13
+ local notation "E₄" => (ℂ × ℂ) × (ℂ × ℂ)
14
+
15
+ theorem spectralSubunitCoefficient_decay (ρ : ℝ) (hρ : 0 ≤ ρ) (hρ1 : ρ < 1) :
16
+ Tendsto (fun n : ℕ => (2*(n : ℝ)+1)*ρ^(2*n)) atTop (𝓝 0) := by
17
+ have hq : ρ^2 < 1 := pow_lt_one₀ hρ hρ1 (by decide : 2 ≠ 0)
18
+ have hp := tendsto_pow_atTop_nhds_zero_of_lt_one (sq_nonneg ρ) hq
19
+ have hn := tendsto_self_mul_const_pow_of_lt_one (sq_nonneg ρ) hq
20
+ convert (hn.const_mul 2).add hp using 1
21
+ · funext n
22
+ rw [pow_mul]
23
+ ring
24
+ · norm_num
25
+
26
+ theorem spectralCoefficient_norm_sum (m : ℕ) (hm : 1 ≤ m) (q : ℂ) :
27
+ ‖spectralDiagonalCoefficient m q‖+‖spectralCrossCoefficient m q‖=
28
+ (2*(m : ℝ)+1)*‖q‖^(2*m) := by
29
+ rw [spectralDiagonalCoefficient_norm,spectralCrossCoefficient_norm m hm]
30
+ ring
31
+
32
+ theorem spectralCoefficient_subunit_bound (m : ℕ) (hm : 1 ≤ m) (q : ℂ)
33
+ (ρ : ℝ) (hq : ‖q‖ ≤ ρ) :
34
+ ‖spectralDiagonalCoefficient m q‖+‖spectralCrossCoefficient m q‖ ≤
35
+ (2*(m : ℝ)+1)*ρ^(2*m) := by
36
+ rw [spectralCoefficient_norm_sum m hm]
37
+ exact mul_le_mul_of_nonneg_left
38
+ (pow_le_pow_left₀ (norm_nonneg _) hq _) (by positivity)
39
+
40
+ theorem spectralCoefficient_zero (m : ℕ) (hm : 1 ≤ m) :
41
+ spectralDiagonalCoefficient m 0=0 ∧ spectralCrossCoefficient m 0=0 := by
42
+ have hmn : m ≠ 0 := by omega
43
+ simp [spectralDiagonalCoefficient,spectralCrossCoefficient,hmn]
44
+
45
+ theorem circularBoundedField_subunit_bound (νp νm η : ℂ) (m : ℕ) (hm : 1 ≤ m)
46
+ (q : ℂ) (ρ : ℝ) (hq : ‖q‖ ≤ ρ) (z : E₄) :
47
+ ‖circularBoundedField νp νm η m q z-circularBoundedField νp νm η m 0 z‖ ≤
48
+ ((2*(m : ℝ)+1)*ρ^(2*m))*‖z‖ := by
49
+ rw [circularBoundedField_coefficient_difference,
50
+ (spectralCoefficient_zero m hm).1,(spectralCoefficient_zero m hm).2,sub_zero,sub_zero]
51
+ exact (circularCoefficientAction_norm _ _ z).trans
52
+ (mul_le_mul_of_nonneg_right (spectralCoefficient_subunit_bound m hm q ρ hq) (norm_nonneg z))
53
+
54
+ theorem radialShooting_spectralCoefficients_uniform_small :
55
+ ∃ δ : ℕ → ℝ, (∀ n, 0 ≤ δ n) ∧ Tendsto δ atTop (𝓝 0) ∧
56
+ ∀ᶠ n in atTop, ∀ z : ProfileMatchingBall, ∀ t : ℝ,
57
+ Real.log innerBoundaryRadius ≤ t →
58
+ ‖spectralDiagonalCoefficient n
59
+ (radialExteriorCanonical (radialShootingNu n z) n (radialShootingM z)
60
+ (Real.log innerBoundaryRadius) t).1‖+
61
+ ‖spectralCrossCoefficient n
62
+ (radialExteriorCanonical (radialShootingNu n z) n (radialShootingM z)
63
+ (Real.log innerBoundaryRadius) t).1‖ ≤ δ n := by
64
+ obtain ⟨κ,ρ,hκ,hρ,he⟩ := radialShooting_uniform_annulus
65
+ let σ := max ρ 0
66
+ have hσ : 0 ≤ σ := le_max_right _ _
67
+ have hσ1 : σ < 1 := max_lt hρ (by norm_num)
68
+ refine ⟨fun n => (2*(n : ℝ)+1)*σ^(2*n),fun n => by positivity,
69
+ spectralSubunitCoefficient_decay σ hσ hσ1,?_⟩
70
+ filter_upwards [he,eventually_ge_atTop 1] with n hn hm z t ht
71
+ exact spectralCoefficient_subunit_bound n hm _ σ ((hn z t ht).2.trans (le_max_left _ _))
72
+
73
+ end DefocusingNLS
74
+
75
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitDifference.lean ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralSubunitCoefficients
2
+
3
+ namespace OAI
4
+
5
+ /-! A quantitative Lipschitz constant for the spectral coefficient pair.
6
+ It tends to zero on a fixed subunit disk, even after division by the
7
+ exponential order of the profile remainder. -/
8
+
9
+ open Filter Topology
10
+ namespace DefocusingNLS
11
+
12
+ theorem spectral_power_difference_bound (n : ℕ) (ρ : ℝ) (hρ : 0 < ρ)
13
+ (z w : ℂ) (hz : ‖z‖ ≤ ρ) (hw : ‖w‖ ≤ ρ) :
14
+ ‖z^n-w^n‖ ≤ ((n : ℝ)*ρ^n/ρ)*‖z-w‖ := by
15
+ induction n with
16
+ | zero => simp
17
+ | succ n ih =>
18
+ have he : z^(n+1)-w^(n+1)=z^n*(z-w)+(z^n-w^n)*w := by ring
19
+ rw [he]
20
+ calc
21
+ _ ≤ ‖z^n*(z-w)‖+‖(z^n-w^n)*w‖ := norm_add_le _ _
22
+ _ = ‖z‖^n*‖z-w‖+‖z^n-w^n‖*‖w‖ := by simp only [norm_mul,norm_pow]
23
+ _ ≤ ρ^n*‖z-w‖+(((n : ℝ)*ρ^n/ρ)*‖z-w‖)*ρ := by
24
+ gcongr
25
+ _ = (((n+1 : ℕ) : ℝ)*ρ^(n+1)/ρ)*‖z-w‖ := by
26
+ rw [pow_succ,Nat.cast_add,Nat.cast_one]
27
+ field_simp
28
+ ring
29
+
30
+ theorem spectral_mixed_power_difference_bound (a b : ℕ) (ρ : ℝ) (hρ : 0 < ρ)
31
+ (z w : ℂ) (hz : ‖z‖ ≤ ρ) (hw : ‖w‖ ≤ ρ) :
32
+ ‖z^a*(star z)^b-w^a*(star w)^b‖ ≤ (((a+b : ℕ) : ℝ)*ρ^(a+b)/ρ)*‖z-w‖ := by
33
+ have hp := spectral_power_difference_bound a ρ hρ z w hz hw
34
+ have hs := spectral_power_difference_bound b ρ hρ (star z) (star w)
35
+ (by simpa only [norm_star] using hz) (by simpa only [norm_star] using hw)
36
+ simp only [← star_sub,norm_star] at hs
37
+ have he : z^a*(star z)^b-w^a*(star w)^b=
38
+ (z^a-w^a)*(star z)^b+w^a*((star z)^b-(star w)^b) := by ring
39
+ rw [he]
40
+ calc
41
+ _ ≤ ‖(z^a-w^a)*(star z)^b‖+‖w^a*((star z)^b-(star w)^b)‖ := norm_add_le _ _
42
+ _ = ‖z^a-w^a‖*‖z‖^b+‖w‖^a*‖(star z)^b-(star w)^b‖ := by
43
+ simp only [norm_mul,norm_pow,norm_star]
44
+ _ ≤ (((a : ℝ)*ρ^a/ρ)*‖z-w‖)*ρ^b+ρ^a*(((b : ℝ)*ρ^b/ρ)*‖z-w‖) := by
45
+ gcongr
46
+ _ = _ := by rw [pow_add,Nat.cast_add]; ring
47
+
48
+ theorem spectralCoefficient_subunit_difference (m : ℕ) (hm : 1 ≤ m)
49
+ (ρ : ℝ) (hρ : 0 < ρ) (z w : ℂ) (hz : ‖z‖ ≤ ρ) (hw : ‖w‖ ≤ ρ) :
50
+ ‖spectralDiagonalCoefficient m z-spectralDiagonalCoefficient m w‖+
51
+ ‖spectralCrossCoefficient m z-spectralCrossCoefficient m w‖ ≤
52
+ (2*(m : ℝ)*(2*(m : ℝ)+1)*ρ^(2*m)/ρ)*‖z-w‖ := by
53
+ have hp := spectral_mixed_power_difference_bound m m ρ hρ z w hz hw
54
+ have hmixed := spectral_mixed_power_difference_bound (m+1) (m-1) ρ hρ z w hz hw
55
+ have he : m+1+(m-1)=2*m := by omega
56
+ have he' : m+m=2*m := by omega
57
+ rw [he'] at hp
58
+ rw [he] at hmixed
59
+ have hdiag : ‖spectralDiagonalCoefficient m z-spectralDiagonalCoefficient m w‖ ≤
60
+ ((m : ℝ)+1)*(((2*m : ℕ) : ℝ)*ρ^(2*m)/ρ)*‖z-w‖ := by
61
+ have heq : spectralDiagonalCoefficient m z-spectralDiagonalCoefficient m w=
62
+ ((m+1 : ℕ) : ℂ)*(z^m*(star z)^m-w^m*(star w)^m) := by
63
+ simp only [spectralDiagonalCoefficient]
64
+ ring
65
+ rw [heq,norm_mul,Complex.norm_natCast,Nat.cast_add,Nat.cast_one]
66
+ calc
67
+ _ ≤ ((m : ℝ)+1)*((((2*m : ℕ) : ℝ)*ρ^(2*m)/ρ)*‖z-w‖) := by gcongr
68
+ _ = _ := by ring
69
+ have hcross : ‖spectralCrossCoefficient m z-spectralCrossCoefficient m w‖ ≤
70
+ (m : ℝ)*(((2*m : ℕ) : ℝ)*ρ^(2*m)/ρ)*‖z-w‖ := by
71
+ have heq : spectralCrossCoefficient m z-spectralCrossCoefficient m w=
72
+ (m : ℂ)*(z^(m+1)*(star z)^(m-1)-w^(m+1)*(star w)^(m-1)) := by
73
+ simp only [spectralCrossCoefficient]
74
+ ring
75
+ rw [heq,norm_mul,Complex.norm_natCast]
76
+ calc
77
+ _ ≤ (m : ℝ)*((((2*m : ℕ) : ℝ)*ρ^(2*m)/ρ)*‖z-w‖) := by gcongr
78
+ _ = _ := by ring
79
+ calc
80
+ _ ≤ ((m : ℝ)+1)*(((2*m : ℕ) : ℝ)*ρ^(2*m)/ρ)*‖z-w‖+
81
+ (m : ℝ)*(((2*m : ℕ) : ℝ)*ρ^(2*m)/ρ)*‖z-w‖ := add_le_add hdiag hcross
82
+ _ = _ := by push_cast; ring
83
+
84
+ theorem spectralCoefficient_difference_rate_tendsto (ρ : ℝ) (hρ : 0 < ρ) (hρ1 : ρ < 1) :
85
+ Tendsto (fun n : ℕ => 2*(n : ℝ)*(2*(n : ℝ)+1)*ρ^(2*n)/ρ) atTop (𝓝 0) := by
86
+ have hq : ρ^2 < 1 := pow_lt_one₀ hρ.le hρ1 (by decide : 2 ≠ 0)
87
+ have h₂ := tendsto_pow_const_mul_const_pow_of_lt_one 2 (sq_nonneg ρ) hq
88
+ have h₁ := tendsto_self_mul_const_pow_of_lt_one (sq_nonneg ρ) hq
89
+ convert ((h₂.const_mul 4).add (h₁.const_mul 2)).div_const ρ using 1
90
+ · funext n
91
+ rw [pow_mul]
92
+ ring
93
+ · norm_num
94
+
95
+ theorem spectralCoefficient_weighted_difference (m : ℕ) (hm : 1 ≤ m)
96
+ (ρ : ℝ) (hρ : 0 < ρ) (q p e : ℂ) (κ t : ℝ)
97
+ (hq : ‖q‖ ≤ ρ) (hp : ‖p‖ ≤ ρ)
98
+ (he : q-p=(Real.exp (-κ*t) : ℂ)*e) :
99
+ ‖(Real.exp (κ*t) : ℂ)*(spectralDiagonalCoefficient m q-spectralDiagonalCoefficient m p)‖+
100
+ ‖(Real.exp (κ*t) : ℂ)*(spectralCrossCoefficient m q-spectralCrossCoefficient m p)‖ ≤
101
+ (2*(m : ℝ)*(2*(m : ℝ)+1)*ρ^(2*m)/ρ)*‖e‖ := by
102
+ have hb := spectralCoefficient_subunit_difference m hm ρ hρ q p hq hp
103
+ have hn : ‖q-p‖=Real.exp (-κ*t)*‖e‖ := by
104
+ rw [he,norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)]
105
+ have hh := mul_le_mul_of_nonneg_left hb (Real.exp_nonneg (κ*t))
106
+ have hexp : Real.exp (κ*t)*Real.exp (-κ*t)=1 := by rw [← Real.exp_add]; simp
107
+ rw [hn] at hh
108
+ simp only [norm_mul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)]
109
+ calc
110
+ _ = Real.exp (κ*t)*(‖spectralDiagonalCoefficient m q-spectralDiagonalCoefficient m p‖+
111
+ ‖spectralCrossCoefficient m q-spectralCrossCoefficient m p‖) := by ring
112
+ _ ≤ Real.exp (κ*t)*((2*(m : ℝ)*(2*(m : ℝ)+1)*ρ^(2*m)/ρ)*(Real.exp (-κ*t)*‖e‖)) := hh
113
+ _ = (Real.exp (κ*t)*Real.exp (-κ*t))*
114
+ (2*(m : ℝ)*(2*(m : ℝ)+1)*ρ^(2*m)/ρ)*‖e‖ := by ring
115
+ _ = _ := by rw [hexp,one_mul]
116
+
117
+ theorem radialShooting_spectralDifference_uniform_small :
118
+ ∃ ρ : ℝ, 0 < ρ ∧ ρ < 1 ∧ ∃ δ : ℕ → ℝ,
119
+ (∀ n, 0 ≤ δ n) ∧ Tendsto δ atTop (𝓝 0) ∧
120
+ ∀ᶠ n in atTop, ∀ z : ProfileCertificate.ProfileMatchingBall, ∀ t : ℝ,
121
+ Real.log innerBoundaryRadius ≤ t → ∀ p : ℂ, ‖p‖ ≤ ρ →
122
+ let q := (radialExteriorCanonical (radialShootingNu n z) n (radialShootingM z)
123
+ (Real.log innerBoundaryRadius) t).1
124
+ ‖spectralDiagonalCoefficient n q-spectralDiagonalCoefficient n p‖+
125
+ ‖spectralCrossCoefficient n q-spectralCrossCoefficient n p‖ ≤ δ n*‖q-p‖ := by
126
+ obtain ⟨κ,σ,hκ,hσ,he⟩ := radialShooting_uniform_annulus
127
+ let ρ := max σ (1/2)
128
+ have hρ : 0 < ρ := lt_of_lt_of_le (by norm_num) (le_max_right _ _)
129
+ have hρ1 : ρ < 1 := max_lt hσ (by norm_num)
130
+ refine ⟨ρ,hρ,hρ1,fun n => 2*(n : ℝ)*(2*(n : ℝ)+1)*ρ^(2*n)/ρ,
131
+ fun n => by positivity,spectralCoefficient_difference_rate_tendsto ρ hρ hρ1,?_⟩
132
+ filter_upwards [he,eventually_ge_atTop 1] with n hn hmn z t ht p hp
133
+ exact spectralCoefficient_subunit_difference n hmn ρ hρ _ p
134
+ ((hn z t ht).2.trans (le_max_left _ _)) hp
135
+
136
+ end DefocusingNLS
137
+
138
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitFieldLimit.lean ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralFieldParameterLimit
2
+
3
+ namespace OAI
4
+
5
+ /-! The elementary contraction bound also converges on a fixed subunit
6
+ profile ball, so the limiting gap holds for every sufficiently large power. -/
7
+
8
+ open Filter Topology
9
+ namespace DefocusingNLS
10
+
11
+ theorem circularFieldBound_subunit_tendsto (νp νm : ℕ → ℂ) (μp μm η : ℂ)
12
+ (hp : Tendsto νp atTop (𝓝 μp)) (hm : Tendsto νm atTop (𝓝 μm))
13
+ (m : ℕ → ℕ) (hmTop : Tendsto m atTop atTop)
14
+ (ρ : ℝ) (hρ : 0 ≤ ρ) (hρ1 : ρ < 1) :
15
+ Tendsto (fun n => circularFieldBound (νp n) (νm n) η (m n) ρ) atTop
16
+ (𝓝 (circularFieldBound μp μm η 1 0)) := by
17
+ have h1 := ((hp.const_mul 2).add_const 10).norm
18
+ have h2 := ((hm.const_mul 2).add_const 10).norm
19
+ have h3 := ((hp.mul (hp.add_const 10)).sub_const η).norm
20
+ have h4 := ((hm.mul (hm.add_const 10)).sub_const η).norm
21
+ have h5 := (spectralSubunitCoefficient_decay ρ hρ hρ1).comp hmTop
22
+ simpa only [Function.comp_def,circularFieldBound,pow_succ,pow_zero,zero_mul,mul_zero,add_zero]
23
+ using ((((h1.const_add 1).add h2).add h3).add h4).add h5
24
+
25
+ end DefocusingNLS
26
+
27
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralSubunitPressure.lean ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib.Analysis.SpecificLimits.Normed
2
+ import Mathlib.Topology.UniformSpace.UniformConvergence
3
+
4
+ namespace OAI
5
+
6
+ /-! The pressure divided by its small scale vanishes uniformly where the limiting amplitude is subunit. -/
7
+
8
+ open Set Filter Topology
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralSubunit_scaled_power_uniform {s : Set ℝ} (H : ℕ → ℝ → ℝ) (H₀ : ℝ → ℝ)
12
+ (hH : TendstoUniformlyOn H H₀ atTop s) (ρ : ℝ) (hρ : 0 ≤ ρ) (hρ1 : ρ < 1)
13
+ (hbound : ∀ r ∈ s, ‖H₀ r‖ ≤ ρ) (p : ℕ → ℕ) (hp : Tendsto p atTop atTop) :
14
+ TendstoUniformlyOn (fun n r => (p n : ℝ)*(H n r)^(p n)) (fun _ => 0) atTop s := by
15
+ let q := (ρ+1)/2
16
+ have hq0 : 0 ≤ q := by dsimp [q]; positivity
17
+ have hq1 : q < 1 := by dsimp [q]; linarith
18
+ have hgap : 0 < q-ρ := by dsimp [q]; linarith
19
+ have hclose : ∀ᶠ n in atTop, ∀ r ∈ s, ‖H n r‖ ≤ q := by
20
+ filter_upwards [(Metric.tendstoUniformlyOn_iff.mp hH) (q-ρ) hgap] with n hn r hr
21
+ have hd : ‖H n r-H₀ r‖ < q-ρ := by
22
+ simpa only [dist_eq_norm,norm_sub_rev] using hn r hr
23
+ exact (norm_le_norm_sub_add (H n r) (H₀ r)).trans (by linarith [hbound r hr])
24
+ have hdecay : Tendsto (fun n => (p n : ℝ)*q^(p n)) atTop (𝓝 0) :=
25
+ (tendsto_self_mul_const_pow_of_lt_one hq0 hq1).comp hp
26
+ rw [Metric.tendstoUniformlyOn_iff]
27
+ intro ε hε
28
+ filter_upwards [hclose,hdecay.eventually (Iio_mem_nhds hε)] with n hn hb r hr
29
+ rw [dist_zero_left,norm_mul,norm_pow,Real.norm_natCast]
30
+ exact (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) (hn r hr) (p n))
31
+ (Nat.cast_nonneg (p n))).trans_lt hb
32
+
33
+ end DefocusingNLS
34
+
35
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEnergyLinear.lean ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEnergyOperations
2
+
3
+ namespace OAI
4
+
5
+ /-! Finite linear combinations preserve the weighted top energy on a tail. -/
6
+
7
+ open Set Filter Topology MeasureTheory
8
+ open scoped ContDiff
9
+ namespace DefocusingNLS
10
+ local notation "V" => ℂ × ℂ
11
+
12
+ theorem spectralWeighted_top_smul_integrable (u : ℝ → V) (R : ℝ) (N : ℕ) (c : ℂ)
13
+ (hu : IntegrableOn (fun r => r^11*‖iteratedDeriv N u r‖^2) (Ioi R)) :
14
+ IntegrableOn (fun r => r^11*‖iteratedDeriv N (fun s => c • u s) r‖^2) (Ioi R) := by
15
+ simpa only [iteratedDeriv_fun_const_smul_field] using
16
+ spectralWeighted_square_smul_integrable (iteratedDeriv N u) R c hu
17
+
18
+ theorem spectralWeighted_top_add_integrable (u v : ℝ → V) (R : ℝ) (hR : 0≤R) (N : ℕ)
19
+ (hcU : ContDiffOn ℝ ∞ u (Ioi R)) (hcV : ContDiffOn ℝ ∞ v (Ioi R))
20
+ (hu : IntegrableOn (fun r => r^11*‖iteratedDeriv N u r‖^2) (Ioi R))
21
+ (hv : IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi R)) :
22
+ IntegrableOn (fun r => r^11*‖iteratedDeriv N (fun s => u s+v s) r‖^2) (Ioi R) := by
23
+ have hn := spectralWeighted_top_smul_integrable v R N (-1) hv
24
+ have hh := spectralWeighted_top_sub_integrable u (fun s => (-1 : ℂ) • v s) R hR N
25
+ hcU (hcV.const_smul (-1 : ℂ)) hu hn
26
+ simpa only [neg_one_smul,sub_neg_eq_add] using hh
27
+
28
+ theorem spectralWeighted_top_combination_integrable (u v : ℝ → V)
29
+ (R : ℝ) (hR : 0≤R) (N : ℕ) (a b : ℂ)
30
+ (hcU : ContDiffOn ℝ ∞ u (Ioi R)) (hcV : ContDiffOn ℝ ∞ v (Ioi R))
31
+ (hu : IntegrableOn (fun r => r^11*‖iteratedDeriv N u r‖^2) (Ioi R))
32
+ (hv : IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi R)) :
33
+ IntegrableOn (fun r => r^11*‖iteratedDeriv N (fun s => a • u s+b • v s) r‖^2) (Ioi R) :=
34
+ spectralWeighted_top_add_integrable _ _ R hR N (hcU.const_smul a) (hcV.const_smul b)
35
+ (spectralWeighted_top_smul_integrable u R N a hu)
36
+ (spectralWeighted_top_smul_integrable v R N b hv)
37
+
38
+ end DefocusingNLS
39
+
40
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEnergyOperations.lean ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailWeightedL2
2
+
3
+ namespace OAI
4
+
5
+ /-! Weighted top energy is preserved by subtracting an outgoing parameter correction. -/
6
+
7
+ open Set Filter Topology MeasureTheory
8
+ open scoped ContDiff
9
+ namespace DefocusingNLS
10
+ local notation "V" => ℂ × ℂ
11
+
12
+ theorem spectralWeighted_square_sub_integrable (u v : ℝ → V) (R : ℝ) (hR : 0≤R)
13
+ (hcU : ContinuousOn u (Ioi R)) (hcV : ContinuousOn v (Ioi R))
14
+ (hu : IntegrableOn (fun r => r^11*‖u r‖^2) (Ioi R))
15
+ (hv : IntegrableOn (fun r => r^11*‖v r‖^2) (Ioi R)) :
16
+ IntegrableOn (fun r => r^11*‖u r-v r‖^2) (Ioi R) := by
17
+ have hmajor := (hu.add hv).const_mul (2 : ℝ)
18
+ apply hmajor.mono'
19
+ (((continuousOn_id.pow 11).mul ((hcU.sub hcV).norm.pow 2)).aestronglyMeasurable measurableSet_Ioi)
20
+ filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr
21
+ have hr₀ : 0≤r := hR.trans hr.le
22
+ have hsq : ‖u r-v r‖^2 ≤ 2*(‖u r‖^2+‖v r‖^2) := by
23
+ have h := norm_sub_le (u r) (v r)
24
+ have hnorm := norm_nonneg (u r-v r)
25
+ nlinarith [sq_nonneg (‖u r‖-‖v r‖)]
26
+ change ‖(r^11*‖u r-v r‖^2 : ℝ)‖ ≤ 2*(r^11*‖u r‖^2+r^11*‖v r‖^2)
27
+ rw [Real.norm_eq_abs,abs_of_nonneg (mul_nonneg (pow_nonneg hr₀ 11) (sq_nonneg ‖u r-v r‖))]
28
+ calc
29
+ _ ≤ r^11*(2*(‖u r‖^2+‖v r‖^2)) :=
30
+ mul_le_mul_of_nonneg_left hsq (pow_nonneg hr₀ _)
31
+ _ = _ := by ring
32
+
33
+ theorem spectralWeighted_square_smul_integrable (u : ℝ → V) (R : ℝ) (c : ℂ)
34
+ (hu : IntegrableOn (fun r => r^11*‖u r‖^2) (Ioi R)) :
35
+ IntegrableOn (fun r => r^11*‖c • u r‖^2) (Ioi R) := by
36
+ have hi : IntegrableOn (fun r => ‖c‖^2*(r^11*‖u r‖^2)) (Ioi R) := hu.const_mul _
37
+ apply hi.congr_fun _ measurableSet_Ioi
38
+ intro r _
39
+ dsimp only
40
+ rw [norm_smul,mul_pow]
41
+ ring
42
+
43
+ theorem spectralWeighted_top_sub_integrable (u v : ℝ → V) (R : ℝ) (hR : 0≤R) (N : ℕ)
44
+ (hcU : ContDiffOn ℝ ∞ u (Ioi R)) (hcV : ContDiffOn ℝ ∞ v (Ioi R))
45
+ (hu : IntegrableOn (fun r => r^11*‖iteratedDeriv N u r‖^2) (Ioi R))
46
+ (hv : IntegrableOn (fun r => r^11*‖iteratedDeriv N v r‖^2) (Ioi R)) :
47
+ IntegrableOn (fun r => r^11*‖iteratedDeriv N (fun s => u s-v s) r‖^2) (Ioi R) := by
48
+ have hi := spectralWeighted_square_sub_integrable (iteratedDeriv N u) (iteratedDeriv N v) R hR
49
+ (homogeneousPair_iteratedDeriv_smooth_tail u R hcU N).continuousOn
50
+ (homogeneousPair_iteratedDeriv_smooth_tail v R hcV N).continuousOn hu hv
51
+ apply hi.congr_fun _ measurableSet_Ioi
52
+ intro r hr
53
+ dsimp only
54
+ rw [iteratedDeriv_fun_sub
55
+ (((hcU r hr).contDiffAt (Ioi_mem_nhds hr)).of_le (by simp))
56
+ (((hcV r hr).contDiffAt (Ioi_mem_nhds hr)).of_le (by simp))]
57
+
58
+ end DefocusingNLS
59
+
60
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEnergyPair.lean ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEnergyOperations
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialPairL2
3
+
4
+ namespace OAI
5
+
6
+ /-! Conversion between the two radial channel energies and the pair norm. -/
7
+
8
+ open Set Filter Topology MeasureTheory
9
+ namespace DefocusingNLS
10
+ local notation "V" => ℂ × ℂ
11
+
12
+ theorem spectralWeighted_pair_integrable (U : ℝ → V) (R : ℝ) (hR : 0≤R)
13
+ (hU : ContinuousOn U (Ioi R))
14
+ (hp : IntegrableOn (fun r => r^11*‖(U r).1‖^2) (Ioi R))
15
+ (hm : IntegrableOn (fun r => r^11*‖(U r).2‖^2) (Ioi R)) :
16
+ IntegrableOn (fun r => r^11*‖U r‖^2) (Ioi R) := by
17
+ have hi := radial_pair_energy_integrable (fun r => (U r).1) (fun r => (U r).2) R hp hm
18
+ apply hi.mono' (((continuousOn_id.pow 11).mul (hU.norm.pow 2)).aestronglyMeasurable measurableSet_Ioi)
19
+ filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr
20
+ have hr₀ : 0≤r := hR.trans hr.le
21
+ change ‖(r^11*‖U r‖^2 : ℝ)‖ ≤ r^11*homogeneousPairEnergy ((U r).1,(U r).2)
22
+ rw [Real.norm_eq_abs,abs_of_nonneg (mul_nonneg (pow_nonneg hr₀ 11) (sq_nonneg ‖U r‖))]
23
+ exact mul_le_mul_of_nonneg_left (homogeneousPairEnergy_lower (U r)) (pow_nonneg hr₀ 11)
24
+
25
+ theorem spectralWeighted_scalar_of_pair (U : ℝ → V) (f : ℝ → ℂ) (R : ℝ) (hR : 0≤R)
26
+ (hf : ContinuousOn f (Ioi R)) (hb : ∀ r, R<r → ‖f r‖≤‖U r‖)
27
+ (hU : IntegrableOn (fun r => r^11*‖U r‖^2) (Ioi R)) :
28
+ IntegrableOn (fun r => r^11*‖f r‖^2) (Ioi R) := by
29
+ apply hU.mono' (((continuousOn_id.pow 11).mul (hf.norm.pow 2)).aestronglyMeasurable measurableSet_Ioi)
30
+ filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr
31
+ have hr₀ : 0≤r := hR.trans hr.le
32
+ change ‖(r^11*‖f r‖^2 : ℝ)‖ ≤ r^11*‖U r‖^2
33
+ rw [Real.norm_eq_abs,abs_of_nonneg (mul_nonneg (pow_nonneg hr₀ 11) (sq_nonneg ‖f r‖))]
34
+ exact mul_le_mul_of_nonneg_left
35
+ (pow_le_pow_left₀ (norm_nonneg _) (hb r hr) 2) (pow_nonneg hr₀ 11)
36
+
37
+ end DefocusingNLS
38
+
39
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailEulerPhysical.lean ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousEulerPhysical
2
+
3
+ namespace OAI
4
+
5
+ /-! Falling Euler derivatives on a tail only require smoothness on that tail. -/
6
+
7
+ open Set Filter Topology
8
+ open scoped ContDiff
9
+ namespace DefocusingNLS
10
+ local notation "V" => ℂ × ℂ
11
+
12
+ theorem homogeneousPair_iteratedDeriv_smooth_tail (U : ℝ → V) (R : ℝ)
13
+ (hU : ContDiffOn ℝ ∞ U (Ioi R)) (n : ℕ) :
14
+ ContDiffOn ℝ ∞ (iteratedDeriv n U) (Ioi R) := by
15
+ induction n with
16
+ | zero => simpa using hU
17
+ | succ n ih =>
18
+ rw [iteratedDeriv_succ]
19
+ exact ih.deriv_of_isOpen isOpen_Ioi (by simp)
20
+
21
+ theorem homogeneousEulerDeriv_physical_tail (U : ℝ → V) (L : ℝ)
22
+ (hU : ContDiffOn ℝ ∞ U (Ioi (Real.exp L))) (n : ℕ) (t : ℝ) (ht : L<t) :
23
+ homogeneousEulerDeriv (fun s => U (Real.exp s)) n t =
24
+ Real.exp ((n : ℝ)*t) • iteratedDeriv n U (Real.exp t) := by
25
+ induction n generalizing t with
26
+ | zero => simp [homogeneousEulerDeriv]
27
+ | succ n ih =>
28
+ have heq : homogeneousEulerDeriv (fun s => U (Real.exp s)) n =ᶠ[𝓝 t]
29
+ (fun s => Real.exp ((n : ℝ)*s) • iteratedDeriv n U (Real.exp s)) := by
30
+ filter_upwards [Ioi_mem_nhds ht] with s hs
31
+ exact ih s hs
32
+ have het : Real.exp L < Real.exp t := Real.exp_lt_exp.mpr ht
33
+ have hUn : HasDerivAt (iteratedDeriv n U) (iteratedDeriv (n+1) U (Real.exp t))
34
+ (Real.exp t) := by
35
+ rw [iteratedDeriv_succ]
36
+ exact (((homogeneousPair_iteratedDeriv_smooth_tail U (Real.exp L) hU n) _ het).contDiffAt
37
+ (Ioi_mem_nhds het)).differentiableAt (by simp) |>.hasDerivAt
38
+ have hUt : HasDerivAt (fun s => iteratedDeriv n U (Real.exp s))
39
+ (Real.exp t • iteratedDeriv (n+1) U (Real.exp t)) t :=
40
+ hUn.scomp t (Real.hasDerivAt_exp t)
41
+ have hweight : HasDerivAt (fun s : ℝ => Real.exp ((n : ℝ)*s))
42
+ ((n : ℝ)*Real.exp ((n : ℝ)*t)) t := by
43
+ convert ((hasDerivAt_id t).const_mul (n : ℝ)).exp using 1 <;> simp [mul_comm]
44
+ have hh := hweight.smul hUt
45
+ have hd := hh.congr_of_eventuallyEq heq
46
+ change deriv (homogeneousEulerDeriv (fun s => U (Real.exp s)) n) t -
47
+ (n : ℝ) • homogeneousEulerDeriv (fun s => U (Real.exp s)) n t = _
48
+ rw [hd.deriv,ih t ht]
49
+ simp only [smul_smul]
50
+ have hexp : Real.exp ((n : ℝ)*t)*Real.exp t=Real.exp (((n+1 : ℕ) : ℝ)*t) := by
51
+ rw [← Real.exp_add]
52
+ congr 1
53
+ push_cast
54
+ ring
55
+ rw [hexp]
56
+ abel
57
+
58
+ end DefocusingNLS
59
+
60
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailLinear.lean ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralCircularTail
2
+
3
+ namespace OAI
4
+
5
+ /-! The backward circular integral is a bounded complex-linear operator. -/
6
+
7
+ open Set MeasureTheory
8
+ open scoped BoundedContinuousFunction
9
+ namespace DefocusingNLS
10
+
11
+ theorem boundedRadialExteriorTail_zero (κ : ℝ) (hκ : 0 < κ) :
12
+ boundedRadialExteriorTail κ hκ 0=0 := by
13
+ apply BoundedContinuousFunction.ext
14
+ intro t
15
+ change radialExteriorTailIntegral κ (0 : ℝ →ᵇ ℂ × ℂ) t=0
16
+ simp [radialExteriorTailIntegral,radialExteriorPropagator]
17
+
18
+ theorem boundedRadialExteriorTail_smul (κ : ℝ) (hκ : 0 < κ)
19
+ (a : ℂ) (g : ℝ →ᵇ ℂ × ℂ) :
20
+ boundedRadialExteriorTail κ hκ (a • g)=a • boundedRadialExteriorTail κ hκ g := by
21
+ apply BoundedContinuousFunction.ext
22
+ intro t
23
+ change radialExteriorTailIntegral κ (a • g) t=a • radialExteriorTailIntegral κ g t
24
+ have hp (u : ℝ) : radialExteriorPropagator t (t+u) ((a • g) (t+u))=
25
+ a • radialExteriorPropagator t (t+u) (g (t+u)) := by
26
+ apply Prod.ext <;> simp [radialExteriorPropagator,smul_eq_mul,mul_left_comm]
27
+ unfold radialExteriorTailIntegral
28
+ change -(∫ u in Ioi (0 : ℝ), Real.exp (-κ*u) •
29
+ radialExteriorPropagator t (t+u) ((a • g) (t+u))) =
30
+ a • -(∫ u in Ioi (0 : ℝ), Real.exp (-κ*u) •
31
+ radialExteriorPropagator t (t+u) (g (t+u)))
32
+ simp_rw [hp,smul_comm (Real.exp (-κ * _)) a]
33
+ rw [integral_smul,smul_neg]
34
+
35
+ theorem boundedRadialExteriorTail_add (κ : ℝ) (hκ : 0 < κ)
36
+ (g h : ℝ →ᵇ ℂ × ℂ) :
37
+ boundedRadialExteriorTail κ hκ (g+h)=
38
+ boundedRadialExteriorTail κ hκ g+boundedRadialExteriorTail κ hκ h := by
39
+ have hs : boundedRadialExteriorTail κ hκ (-h)= -boundedRadialExteriorTail κ hκ h := by
40
+ have he : boundedRadialExteriorTail κ hκ (0-h)=
41
+ boundedRadialExteriorTail κ hκ 0-boundedRadialExteriorTail κ hκ h := by
42
+ apply BoundedContinuousFunction.ext
43
+ intro t
44
+ exact radialExteriorTailIntegral_sub κ hκ 0 h t
45
+ simpa only [zero_sub,boundedRadialExteriorTail_zero] using he
46
+ have he : boundedRadialExteriorTail κ hκ (g-(-h))=
47
+ boundedRadialExteriorTail κ hκ g-boundedRadialExteriorTail κ hκ (-h) := by
48
+ apply BoundedContinuousFunction.ext
49
+ intro t
50
+ exact radialExteriorTailIntegral_sub κ hκ g (-h) t
51
+ simpa only [sub_neg_eq_add,hs] using he
52
+
53
+ noncomputable def boundedRadialExteriorTailCLM (κ : ℝ) (hκ : 0 < κ) :
54
+ (ℝ →ᵇ ℂ × ℂ) →L[ℂ] (ℝ →ᵇ ℂ × ℂ) :=
55
+ LinearMap.mkContinuous
56
+ { toFun := boundedRadialExteriorTail κ hκ
57
+ map_add' := boundedRadialExteriorTail_add κ hκ
58
+ map_smul' := fun a g => boundedRadialExteriorTail_smul κ hκ a g }
59
+ (1/κ) (fun g => by
60
+ change ‖boundedRadialExteriorTail κ hκ g‖ ≤ (1/κ)*‖g‖
61
+ rw [one_div_mul_eq_div]
62
+ exact boundedRadialExteriorTail_norm κ hκ g)
63
+
64
+ theorem circularTail_add (κ : ℝ) (hκ : 0 < κ) (g h : CircularTailSpace) :
65
+ circularTail κ hκ (g+h)=circularTail κ hκ g+circularTail κ hκ h := by
66
+ apply Prod.ext
67
+ · exact boundedRadialExteriorTail_add κ hκ g.1 h.1
68
+ · change star (boundedRadialExteriorTail κ hκ (star (g.2+h.2)))=_
69
+ rw [star_add,boundedRadialExteriorTail_add,star_add]
70
+ rfl
71
+
72
+ theorem circularTail_smul (κ : ℝ) (hκ : 0 < κ) (a : ℂ) (g : CircularTailSpace) :
73
+ circularTail κ hκ (a • g)=a • circularTail κ hκ g := by
74
+ apply Prod.ext
75
+ · exact boundedRadialExteriorTail_smul κ hκ a g.1
76
+ · change star (boundedRadialExteriorTail κ hκ (star (a • g.2)))=_
77
+ rw [star_smul,boundedRadialExteriorTail_smul,star_smul,star_star]
78
+ rfl
79
+
80
+ noncomputable def circularTailCLM (κ : ℝ) (hκ : 0 < κ) :
81
+ CircularTailSpace →L[ℂ] CircularTailSpace :=
82
+ LinearMap.mkContinuous
83
+ { toFun := circularTail κ hκ
84
+ map_add' := circularTail_add κ hκ
85
+ map_smul' := fun a g => circularTail_smul κ hκ a g }
86
+ (1/κ) (fun g => by
87
+ change ‖circularTail κ hκ g‖ ≤ (1/κ)*‖g‖
88
+ rw [one_div_mul_eq_div]
89
+ exact circularTail_norm κ hκ g)
90
+
91
+ theorem circularTailCLM_norm (κ : ℝ) (hκ : 0 < κ) :
92
+ ‖circularTailCLM κ hκ‖ ≤ 1/κ := by
93
+ exact LinearMap.mkContinuous_norm_le _ (by positivity) _
94
+
95
+ end DefocusingNLS
96
+
97
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailOutgoingSelection.lean ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailRows
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingDefectEquation
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousPhysicalColumnJets
4
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingPropagation
5
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousRadialRiccati
6
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousLogEquation
7
+
8
+ namespace OAI
9
+
10
+ /-! Selection of the outgoing plane from regularity and finite energy on a tail. -/
11
+
12
+ open Set Filter Topology MeasureTheory
13
+ open scoped ContDiff
14
+
15
+ namespace DefocusingNLS
16
+
17
+ local notation "V" => ℂ × ℂ
18
+ local notation "V₄" => V × V
19
+ local notation "End" => V →L[ℂ] V
20
+
21
+ theorem homogeneousPhysicalOutgoing_tail_selection
22
+ (νp νm eta : ℂ) (m n : ℕ) (Q : ℝ → ℂ) (Z Zp Zm : ℝ → V₄)
23
+ (R₀ L c : ℝ) (hR₀ : 0 < R₀) (hL : Real.log R₀ ≤ L) (hc : 0 < c)
24
+ (hν : νp.re = νm.re)
25
+ (hbeta : -6 ≤ (n : ℝ) - (11 + νp.re))
26
+ (hgap : 0 < ((n + 1 : ℕ) : ℝ) + n - (11 + νp.re))
27
+ (hQ : ContinuousOn Q (Ici R₀))
28
+ (hZ : ∀ r, R₀ ≤ r → HasDerivAt Z
29
+ (spectralPhysicalCircularField νp νm eta m (Q r) r (Z r)) r)
30
+ (hZp : ∀ r, R₀ ≤ r → HasDerivAt Zp
31
+ (spectralPhysicalCircularField νp νm eta m (Q r) r (Zp r)) r)
32
+ (hZm : ∀ r, R₀ ≤ r → HasDerivAt Zm
33
+ (spectralPhysicalCircularField νp νm eta m (Q r) r (Zm r)) r)
34
+ (hU : ContDiffOn ℝ ∞ (fun r => spectralPhysicalValueMap (Z r)) (Ioi R₀))
35
+ (hbounded : ∃ M : ℝ, 0 ≤ M ∧ ∀ r, R₀≤r → ‖spectralPhysicalValueMap (Z r)‖ ≤ M)
36
+ (hL2p : IntegrableOn (fun r => r ^ 11 *
37
+ ‖(iteratedDeriv (n + 1) (fun s => spectralPhysicalValueMap (Z s)) r).1‖ ^ 2) (Ioi R₀))
38
+ (hL2m : IntegrableOn (fun r => r ^ 11 *
39
+ ‖(iteratedDeriv (n + 1) (fun s => spectralPhysicalValueMap (Z s)) r).2‖ ^ 2) (Ioi R₀))
40
+ (hB : ContDiffOn ℝ ∞ homogeneousLogRadialDamping (Ioi L))
41
+ (hC : ContDiffOn ℝ ∞
42
+ (homogeneousLogRadialStiffness νp νm eta m (fun t => Q (Real.exp t))) (Ioi L))
43
+ (hrow : ∀ᶠ t in atTop, ∀ w : V,
44
+ c * Real.exp (2 * (n : ℝ) * t) * ‖w‖ ≤
45
+ ‖(homogeneousEulerRows homogeneousLogRadialDamping
46
+ (homogeneousLogRadialStiffness νp νm eta m (fun s => Q (Real.exp s)))
47
+ (n + 1)).2 t w‖)
48
+ (hrem : ∃ K : ℝ, 0 ≤ K ∧ ∀ᶠ t in atTop,
49
+ spectralValueDet (spectralPhysicalValueMap (Zp (Real.exp t)))
50
+ (spectralPhysicalValueMap (Zm (Real.exp t))) ≠ 0 ∧
51
+ ‖spectralTwoColumns
52
+ (homogeneousEulerDeriv (fun s => spectralPhysicalValueMap (Zp (Real.exp s))) (n + 1) t)
53
+ (homogeneousEulerDeriv (fun s => spectralPhysicalValueMap (Zm (Real.exp s))) (n + 1) t) *
54
+ spectralValueInverse (spectralPhysicalValueMap (Zp (Real.exp t)))
55
+ (spectralPhysicalValueMap (Zm (Real.exp t)))‖ ≤ K)
56
+ (herr : ∃ M : ℝ, 0 ≤ M ∧ ∀ᶠ r in atTop,
57
+ ‖spectralJetRobin (Zp r) (Zm r) - r⁻¹ • homogeneousDiagonal νp νm‖ ≤ M / r ^ 3)
58
+ (R : ℝ) (hR : R₀ ≤ R) :
59
+ ∃ a : V, Z R = a.1 • Zp R + a.2 • Zm R := by
60
+ let U := fun r => spectralPhysicalValueMap (Z r)
61
+ let Vd := fun r => spectralPhysicalDerivativeMap (Z r)
62
+ let A := fun r => spectralJetRobin (Zp r) (Zm r)
63
+ let W := homogeneousRadialDefect A U Vd
64
+ let logU := fun t => U (Real.exp t)
65
+ let logV := fun t => Real.exp t • Vd (Real.exp t)
66
+ let up := fun t => spectralPhysicalValueMap (Zp (Real.exp t))
67
+ let um := fun t => spectralPhysicalValueMap (Zm (Real.exp t))
68
+ let dp := fun t => Real.exp t • spectralPhysicalDerivativeMap (Zp (Real.exp t))
69
+ let dm := fun t => Real.exp t • spectralPhysicalDerivativeMap (Zm (Real.exp t))
70
+ let C := homogeneousLogRadialStiffness νp νm eta m (fun t => Q (Real.exp t))
71
+ have hrad (t : ℝ) (ht : L < t) : R₀ ≤ Real.exp t := by
72
+ rw [← Real.exp_log hR₀]
73
+ exact Real.exp_le_exp.mpr (hL.trans ht.le)
74
+ have hlogs (S : ℝ → V₄)
75
+ (hS : ∀ r, R₀ ≤ r → HasDerivAt S
76
+ (spectralPhysicalCircularField νp νm eta m (Q r) r (S r)) r)
77
+ (t : ℝ) (ht : L < t) :=
78
+ homogeneousPhysicalRadial_logEquation νp νm eta m Q
79
+ (fun r => spectralPhysicalValueMap (S r))
80
+ (fun r => spectralPhysicalDerivativeMap (S r)) t
81
+ (homogeneousPhysicalState_pair_derivatives νp νm eta m _ S _ (hS _ (hrad t ht))).1
82
+ (homogeneousPhysicalState_pair_derivatives νp νm eta m _ S _ (hS _ (hrad t ht))).2
83
+ have hAscale (t : ℝ) : spectralRobinOperator (up t) (um t) (dp t) (dm t) =
84
+ Real.exp t • A (Real.exp t) :=
85
+ homogeneousRobin_smul_derivatives _ _ _ _ _
86
+ obtain ⟨K, hK, hremK⟩ := hrem
87
+ obtain ⟨M, hM, hMbound⟩ := hbounded
88
+ let T := (homogeneousEulerRows homogeneousLogRadialDamping C (n + 1)).2
89
+ let Rem := fun t => spectralTwoColumns (homogeneousEulerDeriv up (n + 1) t)
90
+ (homogeneousEulerDeriv um (n + 1) t) * spectralValueInverse (up t) (um t)
91
+ have hid : ∀ᶠ t in atTop, homogeneousEulerDeriv logU (n + 1) t =
92
+ T t (Real.exp t • W (Real.exp t)) + Rem t (U (Real.exp t)) := by
93
+ filter_upwards [hremK, eventually_gt_atTop L] with t ht hLt
94
+ have hh := homogeneousEulerRows_defect_identity homogeneousLogRadialDamping C
95
+ up um dp dm logU logV L hB hC
96
+ (fun t ht => (hlogs Zp hZp t ht).1) (fun t ht => (hlogs Zm hZm t ht).1)
97
+ (fun t ht => (hlogs Zp hZp t ht).2) (fun t ht => (hlogs Zm hZm t ht).2)
98
+ (fun t ht => (hlogs Z hZ t ht).1) (fun t ht => (hlogs Z hZ t ht).2)
99
+ (n + 1) t hLt ht.1
100
+ have hw : logV t - spectralRobinOperator (up t) (um t) (dp t) (dm t) (logU t) =
101
+ Real.exp t • W (Real.exp t) := by
102
+ rw [hAscale]
103
+ simp only [logV, logU, W, homogeneousRadialDefect, smul_apply, smul_sub]
104
+ simpa only [hw] using hh
105
+ have hcomp := homogeneousOutgoingRows_tail_comparison U W T Rem n c K M R₀ hR₀
106
+ hU hc hK hM hMbound hrow (hremK.mono fun _ h => h.2) hid
107
+ have hd : ∀ᶠ r in atTop, spectralValueDet (spectralPhysicalValueMap (Zp r))
108
+ (spectralPhysicalValueMap (Zm r)) ≠ 0 := by
109
+ filter_upwards [Real.tendsto_log_atTop.eventually hremK,
110
+ eventually_gt_atTop (0 : ℝ)] with r hr hr0
111
+ simpa only [Real.exp_log hr0] using hr.1
112
+ obtain ⟨R₁, hR₁⟩ := eventually_atTop.mp hd
113
+ let R₂ := max R₀ R₁
114
+ have hW (r : ℝ) (hr : R₂ ≤ r) : HasDerivAt W
115
+ (-(homogeneousRadialDamping r + A r) (W r)) r := by
116
+ have hr₀ := (le_max_left R₀ R₁).trans hr
117
+ have hp := homogeneousPhysicalState_pair_derivatives νp νm eta m _ Zp r (hZp r hr₀)
118
+ have hm := homogeneousPhysicalState_pair_derivatives νp νm eta m _ Zm r (hZm r hr₀)
119
+ have hu := homogeneousPhysicalState_pair_derivatives νp νm eta m _ Z r (hZ r hr₀)
120
+ exact homogeneousRadialDefect_from_columns _ _ _ _ _ _ U Vd r hp.1 hm.1 hp.2 hm.2
121
+ (hR₁ r ((le_max_right R₀ R₁).trans hr)) hu.1 hu.2
122
+ have hwzero := homogeneousOutgoingDefect_eventually_zero νp νm hν A W
123
+ (fun r => (iteratedDeriv (n + 1) U r).1)
124
+ (fun r => (iteratedDeriv (n + 1) U r).2) R₂ n (4 / c ^ 2)
125
+ ((4 / c ^ 2) * (K * M) ^ 2) (n + 1)
126
+ (hR₀.trans_le (le_max_left _ _)) (by positivity) hbeta hgap hW herr hcomp
127
+ (hL2p.mono_set (Ioi_subset_Ioi (le_max_left R₀ R₁)))
128
+ (hL2m.mono_set (Ioi_subset_Ioi (le_max_left R₀ R₁)))
129
+ have hout : ∀ᶠ r in atTop, ∃ a : V, Z r = a.1 • Zp r + a.2 • Zm r := by
130
+ filter_upwards [hwzero, hd] with r hw hd'
131
+ apply (spectralJetRobin_plane _ _ _ hd').1
132
+ exact sub_eq_zero.mp hw
133
+ obtain ⟨T', ⟨a, ha⟩, hT'⟩ := (hout.and (eventually_ge_atTop R)).exists
134
+ refine ⟨a, homogeneousPhysicalOutgoingPlane_backward νp νm eta m Q Z Zp Zm R T'
135
+ (hR₀.trans_le hR) hT' ?_ ?_ ?_ ?_ a ha⟩
136
+ · exact hQ.mono (fun _ hr => hR.trans hr.1)
137
+ · exact fun _ hr => hZ _ (hR.trans hr.1)
138
+ · exact fun _ hr => hZp _ (hR.trans hr.1)
139
+ · exact fun _ hr => hZm _ (hR.trans hr.1)
140
+
141
+ end DefocusingNLS
142
+
143
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailPowerBounds.lean ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralParameterShearLogJets
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEulerPhysical
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingEstimates
4
+
5
+ namespace OAI
6
+
7
+ /-! Bounds for every physical radial derivative from the normalized logarithmic jets. -/
8
+
9
+ open Set Filter Topology
10
+ open scoped ContDiff
11
+ namespace DefocusingNLS
12
+ local notation "V" => ℂ × ℂ
13
+
14
+ noncomputable def spectralPowerValues (νp νm : ℂ) (f g : ℝ → ℂ) (r : ℝ) : V :=
15
+ homogeneousPhysicalLogColumn νp νm f g (Real.log r)
16
+
17
+ theorem spectralPowerValues_smooth (νp νm : ℂ) (f g : ℝ → ℂ) (L : ℝ)
18
+ (hf : ContDiffOn ℝ ∞ f (Ioi L)) (hg : ContDiffOn ℝ ∞ g (Ioi L)) :
19
+ ContDiffOn ℝ ∞ (spectralPowerValues νp νm f g) (Ioi (Real.exp L)) := by
20
+ have hlog : ContDiffOn ℝ ∞ Real.log (Ioi (Real.exp L)) :=
21
+ Real.contDiffOn_log.mono (fun r hr => (lt_trans (Real.exp_pos L) hr).ne')
22
+ have hmap : MapsTo Real.log (Ioi (Real.exp L)) (Ioi L) := by
23
+ intro r hr
24
+ simpa only [mem_Ioi,Real.log_exp] using
25
+ Real.log_lt_log (Real.exp_pos L) hr
26
+ have hfp := hf.comp hlog hmap
27
+ have hgp := hg.comp hlog hmap
28
+ have hEp : ContDiffOn ℝ ∞ (fun r : ℝ => Complex.exp (νp*(Real.log r : ℂ)))
29
+ (Ioi (Real.exp L)) :=
30
+ Complex.contDiff_exp.comp_contDiffOn
31
+ (contDiffOn_const.mul (Complex.ofRealCLM.contDiff.comp_contDiffOn hlog))
32
+ have hEm : ContDiffOn ℝ ∞ (fun r : ℝ => Complex.exp (νm*(Real.log r : ℂ)))
33
+ (Ioi (Real.exp L)) :=
34
+ Complex.contDiff_exp.comp_contDiffOn
35
+ (contDiffOn_const.mul (Complex.ofRealCLM.contDiff.comp_contDiffOn hlog))
36
+ exact (hEp.mul hfp).prodMk (hEm.mul hgp)
37
+
38
+ theorem spectralPowerValues_derivative_bound (νp νm : ℂ) (hsame : νp.re=νm.re)
39
+ (f g : ℝ → ℂ) (σ : ℝ) (hf : HasLogJetBound σ f) (hg : HasLogJetBound σ g)
40
+ (n : ℕ) :
41
+ ∃ C : ℝ, 0≤C ∧ ∀ᶠ r in atTop,
42
+ ‖iteratedDeriv n (spectralPowerValues νp νm f g) r‖ ≤
43
+ C*r^(νp.re+σ-(n : ℝ)) := by
44
+ obtain ⟨Lf,hfs⟩ := hf.smooth
45
+ obtain ⟨Lg,hgs⟩ := hg.smooth
46
+ let L := max Lf Lg
47
+ have hfl := hfs.mono (Ioi_subset_Ioi (le_max_left Lf Lg))
48
+ have hgl := hgs.mono (Ioi_subset_Ioi (le_max_right Lf Lg))
49
+ have hU := spectralPowerValues_smooth νp νm f g L hfl hgl
50
+ have hE := (homogeneousNormalizedEuler_bound_order νp f σ hf n).pair
51
+ (homogeneousNormalizedEuler_bound_order νm g σ hg n)
52
+ obtain ⟨C,hC,hbound⟩ := hE.bound 0
53
+ refine ⟨C,hC,?_⟩
54
+ have hlogbound := Real.tendsto_log_atTop.eventually hbound
55
+ filter_upwards [hlogbound,eventually_gt_atTop (Real.exp L)] with r hr hrL
56
+ have hr₀ : 0<r := (Real.exp_pos L).trans hrL
57
+ have ht : L<Real.log r := by
58
+ simpa only [Real.log_exp] using Real.log_lt_log (Real.exp_pos L) hrL
59
+ let t := Real.log r
60
+ have hphys := homogeneousEulerDeriv_physical_tail (spectralPowerValues νp νm f g) L hU n t ht
61
+ have heq : (fun s => spectralPowerValues νp νm f g (Real.exp s))=
62
+ homogeneousPhysicalLogColumn νp νm f g := by
63
+ funext s
64
+ simp only [spectralPowerValues,Real.log_exp]
65
+ rw [heq,homogeneousPhysicalLogColumn_euler νp νm f g L hfl hgl n t ht] at hphys
66
+ have hnp : ‖Complex.exp (νp*(t : ℂ))‖=Real.exp (νp.re*t) := by
67
+ simp only [Complex.norm_exp,Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,mul_zero,sub_zero]
68
+ have hnm : ‖Complex.exp (νm*(t : ℂ))‖=Real.exp (νp.re*t) := by
69
+ simpa only [hsame] using (show ‖Complex.exp (νm*(t : ℂ))‖=Real.exp (νm.re*t) by
70
+ simp only [Complex.norm_exp,Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,mul_zero,sub_zero])
71
+ have hn := congrArg norm hphys
72
+ rw [homogeneousDiagonal_norm _ _ _ (Real.exp_pos _).le hnp hnm,norm_smul,
73
+ Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] at hn
74
+ simp only [iteratedDeriv_zero] at hr
75
+ have hr' : ‖homogeneousNormalizedEulerColumn νp νm f g n t‖≤C*Real.exp (σ*t) := hr
76
+ have hprod : Real.exp ((n : ℝ)*t)*
77
+ ‖iteratedDeriv n (spectralPowerValues νp νm f g) (Real.exp t)‖ ≤
78
+ C*Real.exp ((νp.re+σ)*t) := by
79
+ rw [← hn]
80
+ calc
81
+ _ ≤ Real.exp (νp.re*t)*(C*Real.exp (σ*t)) :=
82
+ mul_le_mul_of_nonneg_left hr' (Real.exp_pos _).le
83
+ _ = _ := by rw [add_mul,Real.exp_add]; ring
84
+ have hout : ‖iteratedDeriv n (spectralPowerValues νp νm f g) (Real.exp t)‖ ≤
85
+ C*Real.exp ((νp.re+σ-(n : ℝ))*t) := by
86
+ apply (mul_le_mul_iff_right₀ (Real.exp_pos ((n : ℝ)*t))).mp
87
+ calc
88
+ _ ≤ C*Real.exp ((νp.re+σ)*t) := by simpa only [mul_comm] using hprod
89
+ _ = _ := by
90
+ calc
91
+ C*Real.exp ((νp.re+σ)*t) =
92
+ C*Real.exp ((n : ℝ)*t+(νp.re+σ-(n : ℝ))*t) := by congr 2; ring
93
+ _ = _ := by rw [Real.exp_add]; ring
94
+ simpa only [t,Real.exp_log hr₀,Real.rpow_def_of_pos hr₀,mul_comm] using hout
95
+
96
+ end DefocusingNLS
97
+
98
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailRows.lean ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Linear.HomogeneousOutgoingRadialRows
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailEulerPhysical
3
+
4
+ namespace OAI
5
+
6
+ /-! The physical row comparison only needs smoothness and boundedness on a tail. -/
7
+
8
+ open Set Filter Topology
9
+ open scoped ContDiff
10
+ namespace DefocusingNLS
11
+ local notation "V" => ℂ × ℂ
12
+ local notation "End" => V →L[ℂ] V
13
+
14
+ theorem homogeneousOutgoingRows_tail_comparison
15
+ (U W : ℝ → V) (T R : ℝ → End) (n : ℕ) (c K M : ℝ)
16
+ (R₀ : ℝ) (hR₀ : 0<R₀) (hU : ContDiffOn ℝ ∞ U (Ioi R₀)) (hc : 0 < c) (hK : 0 ≤ K) (hM : 0 ≤ M)
17
+ (hbound : ∀ r, R₀≤r → ‖U r‖ ≤ M)
18
+ (hrow : ∀ᶠ t in atTop, ∀ w : V,
19
+ c * Real.exp (2 * (n : ℝ) * t) * ‖w‖ ≤ ‖T t w‖)
20
+ (hR : ∀ᶠ t in atTop, ‖R t‖ ≤ K)
21
+ (hid : ∀ᶠ t in atTop,
22
+ homogeneousEulerDeriv (fun s => U (Real.exp s)) (n + 1) t =
23
+ T t (Real.exp t • W (Real.exp t)) + R t (U (Real.exp t))) :
24
+ ∀ᶠ r in atTop, r ^ (2 * (n : ℝ)) * homogeneousPairEnergy (W r) ≤
25
+ (4 / c ^ 2) * homogeneousPairEnergy (iteratedDeriv (n + 1) U r) +
26
+ (4 / c ^ 2) * (K * M) ^ 2 * r ^ (-2 * ((n + 1 : ℕ) : ℝ)) := by
27
+ have hall := hrow.and (hR.and hid)
28
+ have hlog := Real.tendsto_log_atTop.eventually hall
29
+ filter_upwards [hlog, eventually_gt_atTop R₀] with r h hr₁
30
+ have hr : 0<r := hR₀.trans hr₁
31
+ have hlogr : Real.log R₀<Real.log r := Real.log_lt_log hR₀ hr₁
32
+ have hUt : ContDiffOn ℝ ∞ U (Ioi (Real.exp (Real.log R₀))) := by
33
+ simpa only [Real.exp_log hR₀] using hU
34
+ have he2 : Real.exp (2 * (n : ℝ) * Real.log r) = r ^ (2 * n) := by
35
+ rw [show 2 * (n : ℝ) = ((2 * n : ℕ) : ℝ) by push_cast; ring,
36
+ Real.exp_nat_mul, Real.exp_log hr]
37
+ have heN : Real.exp (((n + 1 : ℕ) : ℝ) * Real.log r) = r ^ (n + 1) := by
38
+ rw [Real.exp_nat_mul, Real.exp_log hr]
39
+ have hident := h.2.2
40
+ rw [homogeneousEulerDeriv_physical_tail U (Real.log R₀) hUt (n+1) (Real.log r) hlogr,
41
+ heN,Real.exp_log hr] at hident
42
+ apply homogeneousLogRow_energy_comparison (U r) (W r)
43
+ (iteratedDeriv (n + 1) U r) (T (Real.log r)) (R (Real.log r))
44
+ r c K M n hr hc hK hM
45
+ · simpa only [he2, Real.exp_log hr] using h.1 (r • W r)
46
+ · exact hident
47
+ · exact h.2.1
48
+ · exact hbound r hr₁.le
49
+
50
+ end DefocusingNLS
51
+
52
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTailWeightedL2.lean ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTailPowerBounds
2
+ import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
3
+
4
+ namespace OAI
5
+
6
+ /-! A strict physical power bound gives finite weighted top energy on a tail. -/
7
+
8
+ open Set Filter Topology MeasureTheory
9
+ open scoped ContDiff
10
+ namespace DefocusingNLS
11
+ local notation "V" => ℂ × ℂ
12
+
13
+ theorem spectral_tail_top_integrable (U : ℝ → V) (N : ℕ) (R s : ℝ)
14
+ (hU : ContDiffOn ℝ ∞ U (Ioi R)) (hs : 11+2*s < -1)
15
+ (hb : ∃ C : ℝ, 0≤C ∧ ∀ᶠ r in atTop, ‖iteratedDeriv N U r‖≤C*r^s) :
16
+ ∃ T : ℝ, R<T ∧ 1<T ∧
17
+ IntegrableOn (fun r => r^11*‖iteratedDeriv N U r‖^2) (Ioi T) := by
18
+ obtain ⟨C,hC,hb⟩ := hb
19
+ obtain ⟨B,hB⟩ := eventually_atTop.mp hb
20
+ let T := max R (max B 1)+1
21
+ have hRT : R<T := by dsimp only [T]; linarith [le_max_left R (max B 1)]
22
+ have hBT : B<T := by dsimp only [T]; linarith [(le_max_left B 1).trans (le_max_right R (max B 1))]
23
+ have hT : 1<T := by dsimp only [T]; linarith [(le_max_right B 1).trans (le_max_right R (max B 1))]
24
+ have hT₀ : 0<T := lt_trans zero_lt_one hT
25
+ have hc := (homogeneousPair_iteratedDeriv_smooth_tail U R hU N).continuousOn
26
+ have hcT : ContinuousOn (fun r : ℝ => r^11*‖iteratedDeriv N U r‖^2) (Ioi T) :=
27
+ (continuousOn_id.pow 11).mul
28
+ (((hc.mono (Ioi_subset_Ioi hRT.le)).norm).pow 2)
29
+ refine ⟨T,hRT,hT,?_⟩
30
+ have hi := (integrableOn_Ioi_rpow_of_lt hs hT₀).const_mul (C^2)
31
+ apply hi.mono' (hcT.aestronglyMeasurable measurableSet_Ioi)
32
+ filter_upwards [ae_restrict_mem measurableSet_Ioi] with r hr
33
+ have hr₀ : 0<r := hT₀.trans hr
34
+ have hp : r^(11+2*s)=r^11*(r^s)^2 := by
35
+ rw [Real.rpow_add hr₀,show (2 : ℝ)*s=s*2 by ring,Real.rpow_mul hr₀.le]
36
+ norm_num
37
+ have hsq := pow_le_pow_left₀ (norm_nonneg (iteratedDeriv N U r))
38
+ (hB r (hBT.le.trans hr.le)) 2
39
+ rw [Real.norm_eq_abs,abs_of_nonneg (by positivity),hp]
40
+ calc
41
+ _ ≤ r^11*(C*r^s)^2 := mul_le_mul_of_nonneg_left hsq (by positivity)
42
+ _ = _ := by ring
43
+
44
+ theorem spectralPowerValues_top_integrable (νp νm : ℂ) (hsame : νp.re=νm.re)
45
+ (f g : ℝ → ℂ) (σ : ℝ) (hf : HasLogJetBound σ f) (hg : HasLogJetBound σ g)
46
+ (N : ℕ) (hs : 11+2*(νp.re+σ-(N : ℝ)) < -1) :
47
+ ∃ T : ℝ, 1<T ∧
48
+ IntegrableOn (fun r => r^11*‖iteratedDeriv N (spectralPowerValues νp νm f g) r‖^2)
49
+ (Ioi T) := by
50
+ obtain ⟨Lf,hfs⟩ := hf.smooth
51
+ obtain ⟨Lg,hgs⟩ := hg.smooth
52
+ have hU := spectralPowerValues_smooth νp νm f g (max Lf Lg)
53
+ (hfs.mono (Ioi_subset_Ioi (le_max_left _ _)))
54
+ (hgs.mono (Ioi_subset_Ioi (le_max_right _ _)))
55
+ obtain ⟨T,_,hT,hi⟩ := spectral_tail_top_integrable _ N _ _ hU hs
56
+ (spectralPowerValues_derivative_bound νp νm hsame f g σ hf hg N)
57
+ exact ⟨T,hT,hi⟩
58
+
59
+ end DefocusingNLS
60
+
61
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTerminalResidualBound.lean ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralScalarTerminalDuhamel
2
+
3
+ namespace OAI
4
+
5
+ /-! A terminal comparison error is controlled by the integral of the scaled
6
+ residual and a bound for the true Cauchy data. -/
7
+
8
+ open Set MeasureTheory
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralScalar_terminal_residual_bound
12
+ (R E kr A B : ℝ) (hRE : R ≤ E) (hkr : 0 ≤ kr) (_hA : 0 ≤ A) (hB : 0 ≤ B)
13
+ (D U q : ℝ → ℂ × ℂ) (W : ℂ) (e : ℝ → ℂ) (k : ℝ → ℝ)
14
+ (hD : ContinuousOn D (Icc R E)) (hU : ContinuousOn U (Icc R E))
15
+ (hq : ContinuousOn q (Icc R E)) (he : ContinuousOn e (Icc R E))
16
+ (hk : ContinuousOn k (Icc R E)) (hk0 : ∀ t ∈ Icc R E, 0 < k t)
17
+ (hkernel : ∀ t ∈ Icc R E,
18
+ spectralShellNorm kr (spectralScalarTransferKernel D U W R t) ≤ A/k t)
19
+ (hqbound : ∀ t ∈ Icc R E, spectralShellNorm (k t) (q t) ≤ B) :
20
+ spectralShellNorm kr
21
+ (∫ t in R..E, (e t*(q t).1) • spectralScalarTransferKernel D U W R t) ≤
22
+ A*B*(∫ t in R..E, ‖e t‖/(k t)^2) := by
23
+ have hK : ContinuousOn (fun t => spectralScalarTransferKernel D U W R t) (Icc R E) :=
24
+ ((hD.fst.div_const W).smul continuousOn_const).sub
25
+ ((hU.fst.div_const W).smul continuousOn_const)
26
+ have hg : ContinuousOn (fun t => A*B*(‖e t‖/(k t)^2)) (Icc R E) :=
27
+ continuousOn_const.mul (he.norm.div (hk.pow 2) (fun t ht => pow_ne_zero _ (hk0 t ht).ne'))
28
+ have hval (t : ℝ) (ht : t ∈ Icc R E) : ‖(q t).1‖ ≤ B/k t :=
29
+ (spectralShellNorm_value (k t) (hk0 t ht) (q t)).trans
30
+ (div_le_div_of_nonneg_right (hqbound t ht) (hk0 t ht).le)
31
+ have hb := spectralShellNorm_integral_bound R E kr hRE hkr
32
+ (fun t => (e t*(q t).1) • spectralScalarTransferKernel D U W R t)
33
+ (fun t => A*B*(‖e t‖/(k t)^2)) ((he.mul hq.fst).smul hK) hg (by
34
+ intro t ht
35
+ have hkt := hk0 t ht
36
+ rw [spectralShellNorm_smul,norm_mul]
37
+ calc
38
+ _ = ‖e t‖*(‖(q t).1‖*spectralShellNorm kr (spectralScalarTransferKernel D U W R t)) := by ring
39
+ _ ≤ ‖e t‖*((B/k t)*(A/k t)) := mul_le_mul_of_nonneg_left
40
+ (mul_le_mul (hval t ht) (hkernel t ht)
41
+ (spectralShellNorm_nonneg kr hkr _) (by positivity)) (norm_nonneg _)
42
+ _ = A*B*(‖e t‖/(k t)^2) := by ring)
43
+ rw [intervalIntegral.integral_const_mul] at hb
44
+ exact hb
45
+
46
+ theorem spectralScalar_terminal_comparison_error
47
+ (R E A B : ℝ) (hRE : R ≤ E) (hA : 0 ≤ A) (hB : 0 ≤ B)
48
+ (D U q : ℝ → ℂ × ℂ) (V e : ℝ → ℂ) (W : ℂ) (k : ℝ → ℝ)
49
+ (hDc : ContinuousOn D (Icc R E)) (hUc : ContinuousOn U (Icc R E))
50
+ (hqc : ContinuousOn q (Icc R E)) (hec : ContinuousOn e (Icc R E))
51
+ (hkc : ContinuousOn k (Icc R E)) (hk : ∀ t ∈ Icc R E, 0 < k t)
52
+ (hW : W ≠ 0) (hdet : ∀ t ∈ Icc R E, spectralScalarWronskian (D t) (U t) = W)
53
+ (hD : ∀ t ∈ Ioo R E, HasDerivAt D (spectralScalarField (V t) (D t)) t)
54
+ (hU : ∀ t ∈ Ioo R E, HasDerivAt U (spectralScalarField (V t) (U t)) t)
55
+ (hq : ∀ t ∈ Ioo R E, HasDerivAt q
56
+ (spectralScalarField (V t) (q t)+(0,e t*(q t).1)) t)
57
+ (hkernel : ∀ t ∈ Icc R E,
58
+ spectralShellNorm (k R) (spectralScalarTransferKernel D U W R t) ≤ A/k t)
59
+ (hqbound : ∀ t ∈ Icc R E, spectralShellNorm (k t) (q t) ≤ B) :
60
+ spectralShellNorm (k R)
61
+ (q R - ((spectralScalarWronskian (q E) (U E)/W) • D R +
62
+ (spectralScalarWronskian (D E) (q E)/W) • U R)) ≤
63
+ A*B*(∫ t in R..E, ‖e t‖/(k t)^2) := by
64
+ have hrep := spectralScalar_terminal_representation R E D U q V
65
+ (fun t => e t*(q t).1) W hDc hUc hqc (hec.mul hqc.fst) hW hdet hD hU hq R ⟨le_rfl,hRE⟩
66
+ have herr : q R - ((spectralScalarWronskian (q E) (U E)/W) • D R +
67
+ (spectralScalarWronskian (D E) (q E)/W) • U R) =
68
+ -(∫ t in R..E, (e t*(q t).1) • spectralScalarTransferKernel D U W R t) := by
69
+ rw [hrep]
70
+ abel
71
+ rw [herr,spectralShellNorm_neg]
72
+ exact spectralScalar_terminal_residual_bound R E (k R) A B hRE
73
+ (hk R ⟨le_rfl,hRE⟩).le hA hB D U q W e k hDc hUc hqc hec hkc hk hkernel hqbound
74
+
75
+ end DefocusingNLS
76
+
77
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTestPrimitive.lean ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff
2
+ import Mathlib.Analysis.Calculus.ContDiff.Deriv
3
+ import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus
4
+
5
+ namespace OAI
6
+
7
+ /-! Compactly supported primitives for the radial weak-flux equation. -/
8
+
9
+ open Set MeasureTheory
10
+ open scoped ContDiff
11
+ namespace DefocusingNLS
12
+
13
+ theorem spectralTestPrimitive (a b : ℝ) (ψ : ℝ → ℝ)
14
+ (hψ : ContDiff ℝ ∞ ψ) (hs : Function.support ψ ⊆ Ioo a b)
15
+ (hz : ∫ x, ψ x = 0) :
16
+ ∃ Φ : ℝ → ℝ, ContDiff ℝ ∞ Φ ∧ HasCompactSupport Φ ∧
17
+ tsupport Φ ⊆ Icc a b ∧ ∀ x, deriv Φ x = ψ x := by
18
+ let Φ := fun t => ∫ x in a..t, ψ x
19
+ have hd (t : ℝ) : HasDerivAt Φ (ψ t) t :=
20
+ intervalIntegral.integral_hasDerivAt_right (hψ.continuous.intervalIntegrable a t)
21
+ hψ.continuous.aestronglyMeasurable.stronglyMeasurableAtFilter hψ.continuous.continuousAt
22
+ have he : deriv Φ=ψ := funext (fun t => (hd t).deriv)
23
+ have hc : ContDiff ℝ ∞ Φ := contDiff_infty_iff_deriv.mpr
24
+ ⟨fun t => (hd t).differentiableAt,by simpa only [he] using hψ⟩
25
+ have hzero (t : ℝ) (ht : t ∉ Icc a b) : Φ t=0 := by
26
+ rcases not_and_or.mp ht with ht | ht
27
+ · have hta : t < a := lt_of_not_ge ht
28
+ change (∫ x in a..t, ψ x)=0
29
+ rw [intervalIntegral.integral_symm]
30
+ have hi : (∫ x in t..a, ψ x)=0 := by
31
+ calc
32
+ (∫ x in t..a, ψ x) = ∫ _ in t..a, (0 : ℝ) := by
33
+ apply intervalIntegral.integral_congr_Ioo_of_le hta.le
34
+ intro x hx
35
+ apply Function.notMem_support.mp
36
+ intro hxs
37
+ exact (not_lt_of_ge (hs hxs).1.le) hx.2
38
+ _ = 0 := intervalIntegral.integral_zero
39
+ rw [hi,neg_zero]
40
+ · have hbt : b < t := lt_of_not_ge ht
41
+ change (∫ x in a..t, ψ x)=0
42
+ rw [intervalIntegral.integral_eq_integral_of_support_subset
43
+ (fun x hx => ⟨(hs hx).1,(hs hx).2.le.trans hbt.le⟩),hz]
44
+ have hsup : Function.support Φ ⊆ Icc a b := by
45
+ intro t ht
46
+ by_contra h
47
+ exact ht (hzero t h)
48
+ exact ⟨Φ,hc,HasCompactSupport.of_support_subset_isCompact isCompact_Icc hsup,
49
+ closure_minimal hsup isClosed_Icc,fun t => (hd t).deriv⟩
50
+
51
+ end DefocusingNLS
52
+
53
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralThreeRegionBounds.lean ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib.Analysis.SpecialFunctions.ExpDeriv
2
+ import Mathlib.Topology.Order.Basic
3
+
4
+ namespace OAI
5
+
6
+ /-! Join estimates from the forbidden, central, and oscillatory regions
7
+ without comparing the actions of distinct scalar channels. -/
8
+
9
+ open Set
10
+ namespace DefocusingNLS
11
+
12
+ noncomputable def spectralTruncatedAction (a : ℝ) (H : ℝ → ℝ) (r : ℝ) : ℝ :=
13
+ if r ≤ a then H r else 0
14
+
15
+ theorem spectralTruncatedAction_antitone (R a E : ℝ) (hRa : R ≤ a) (_haE : a ≤ E)
16
+ (H : ℝ → ℝ) (hH : AntitoneOn H (Icc R a)) (ha : H a = 0) :
17
+ AntitoneOn (spectralTruncatedAction a H) (Icc R E) := by
18
+ intro r hr s hs hrs
19
+ by_cases hsa : s ≤ a
20
+ · have hra := hrs.trans hsa
21
+ simp only [spectralTruncatedAction,ite_eq_left hsa,ite_eq_left hra]
22
+ exact hH ⟨hr.1,hra⟩ ⟨hs.1,hsa⟩ hrs
23
+ · by_cases hra : r ≤ a
24
+ · simp only [spectralTruncatedAction,ite_eq_right hsa,ite_eq_left hra]
25
+ exact ha ▸ hH ⟨hr.1,hra⟩ ⟨hRa,le_rfl⟩ hra
26
+ · simp only [spectralTruncatedAction,ite_eq_right hsa,ite_eq_right hra,le_refl]
27
+
28
+ theorem spectralThreeRegion_bound (R a b E A C D B : ℝ)
29
+ (_hRa : R ≤ a) (hab : a ≤ b) (_hbE : b ≤ E)
30
+ (_hA : 0 ≤ A) (hC : 0 ≤ C) (hD : 1 ≤ D) (hB : 0 ≤ B)
31
+ (N H : ℝ → ℝ) (_ha : H a = 0)
32
+ (hleft : ∀ r ∈ Icc R a, N r ≤ A*Real.exp (H r)*B)
33
+ (hcentral : ∀ r ∈ Icc a b, N r ≤ C*B)
34
+ (hright : ∀ r ∈ Icc b E, N r ≤ D*N b) :
35
+ ∀ r ∈ Icc R E,
36
+ N r ≤ max A (C*D)*Real.exp (spectralTruncatedAction a H r)*B := by
37
+ intro r hr
38
+ by_cases hra : r ≤ a
39
+ · simp only [spectralTruncatedAction,ite_eq_left hra]
40
+ exact (hleft r ⟨hr.1,hra⟩).trans (by gcongr; exact le_max_left _ _)
41
+ · simp only [spectralTruncatedAction,ite_eq_right hra,Real.exp_zero,mul_one]
42
+ by_cases hrb : r ≤ b
43
+ · have hCD : C ≤ C*D := by nlinarith
44
+ exact (hcentral r ⟨le_of_not_ge hra,hrb⟩).trans
45
+ (mul_le_mul_of_nonneg_right (hCD.trans (le_max_right _ _)) hB)
46
+ · calc
47
+ N r ≤ D*N b := hright r ⟨le_of_not_ge hrb,hr.2⟩
48
+ _ ≤ D*(C*B) := mul_le_mul_of_nonneg_left (hcentral b ⟨hab,le_rfl⟩) (by linarith)
49
+ _ = (C*D)*B := by ring
50
+ _ ≤ max A (C*D)*B := mul_le_mul_of_nonneg_right (le_max_right _ _) hB
51
+
52
+ end DefocusingNLS
53
+
54
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralThreeRegionGreen.lean ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralThreeRegionTransfer
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralDirichletGreenScaled
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralOutgoingExtensionBound
4
+
5
+ namespace OAI
6
+
7
+ /-! Extend the Dirichlet/outgoing construction across a turning interval and
8
+ the oscillatory region. No exponential comparison between channels is needed. -/
9
+
10
+ open Set
11
+ namespace DefocusingNLS
12
+
13
+ theorem spectralScalar_three_region_green_and_extension (R a b E A C D c : ℝ)
14
+ (hRa : R ≤ a) (hab : a ≤ b) (hbE : b ≤ E)
15
+ (hA : 0 ≤ A) (hC : 0 ≤ C) (hD : 1 ≤ D) (hc : 0 < c)
16
+ (V : ℝ → ℂ) (k H : ℝ → ℝ)
17
+ (hV : ContinuousOn V (Icc R E)) (hk : ∀ r ∈ Icc R E, 0 < k r)
18
+ (hH : AntitoneOn H (Icc R a)) (ha : H a = 0)
19
+ (U : ℝ → ℂ × ℂ) (hUc : ContinuousOn U (Icc R E))
20
+ (hUD : ∀ r ∈ Ioo R E, HasDerivAt U (spectralScalarField (V r) (U r)) r)
21
+ (hN : 0 < spectralShellNorm (k a) (U a))
22
+ (hvalue : c*Real.exp (H R)*spectralShellNorm (k a) (U a) ≤ k R*‖(U R).1‖)
23
+ (hleft : ∀ q : ℝ → ℂ × ℂ, ContinuousOn q (Icc R E) →
24
+ (∀ r ∈ Ioo R E, HasDerivAt q (spectralScalarField (V r) (q r)) r) →
25
+ ∀ r ∈ Icc R a,
26
+ spectralShellNorm (k r) (q r) ≤ A*Real.exp (H R-H r)*spectralShellNorm (k R) (q R) ∧
27
+ spectralShellNorm (k r) (q r) ≤ A*Real.exp (H r)*spectralShellNorm (k a) (q a))
28
+ (hcentral : ∀ q : ℝ → ℂ × ℂ, ContinuousOn q (Icc R E) →
29
+ (∀ r ∈ Ioo R E, HasDerivAt q (spectralScalarField (V r) (q r)) r) →
30
+ ∀ r ∈ Icc a b, spectralShellNorm (k r) (q r) ≤ C*spectralShellNorm (k a) (q a))
31
+ (hright : ∀ q : ℝ → ℂ × ℂ, ContinuousOn q (Icc R E) →
32
+ (∀ r ∈ Ioo R E, HasDerivAt q (spectralScalarField (V r) (q r)) r) →
33
+ ∀ r ∈ Icc b E, spectralShellNorm (k r) (q r) ≤ D*spectralShellNorm (k b) (q b)) :
34
+ ∃ (Y : ℝ → ℂ × ℂ) (W : ℂ), Continuous Y ∧ Y R = (0,(k R : ℂ)) ∧
35
+ (∀ r ∈ Icc R E, HasDerivAt Y (spectralScalarField (V r) (Y r)) r) ∧
36
+ W ≠ 0 ∧ (∀ r ∈ Icc R E, spectralScalarWronskian (Y r) (U r) = W) ∧
37
+ (∀ r ∈ Icc R E, ∀ t ∈ Icc R E,
38
+ spectralShellNorm (k r) (spectralScalarGreenState Y U W r t) ≤
39
+ max A (C*A*D)*max A (C*D)/(c*k t)) ∧
40
+ ∀ z : ℂ, ∀ r ∈ Icc R E,
41
+ spectralShellNorm (k r) ((z/(U R).1) • U r) ≤ (max A (C*D)/c)*k R*‖z‖ := by
42
+ let N := spectralShellNorm (k a) (U a)
43
+ let G := spectralTruncatedAction a H
44
+ have hRE : R ≤ E := hRa.trans (hab.trans hbE)
45
+ have hGR : G R = H R := by simp only [G,spectralTruncatedAction,ite_eq_left hRa]
46
+ have hUb : ∀ r ∈ Icc R E, spectralShellNorm (k r) (U r) ≤ max A (C*D)*N*Real.exp (G r) := by
47
+ intro r hr
48
+ have hh := spectralThreeRegion_bound R a b E A C D N hRa hab hbE hA hC hD hN.le
49
+ (fun t => spectralShellNorm (k t) (U t)) H ha
50
+ (fun t ht => (hleft U hUc hUD t ht).2) (hcentral U hUc hUD) (hright U hUc hUD) r hr
51
+ convert hh using 1
52
+ ring
53
+ obtain ⟨Y,W,hYc,hYR,hYD,hW,hdet,hYb,hWb,hgreen⟩ :=
54
+ spectralScalar_dirichlet_green_scaled_data R E (max A (C*A*D)) (max A (C*D)) c N
55
+ hRE (hA.trans (le_max_left _ _)) (hA.trans (le_max_left _ _)) hc hN V k G hV hk
56
+ (spectralTruncatedAction_antitone R a E hRa (hab.trans hbE) H hH ha) U hUc hUD hUb
57
+ (by rw [hGR]; simpa only [N,mul_assoc,mul_left_comm,mul_comm] using hvalue)
58
+ (by
59
+ intro q hq hqD r hr
60
+ rw [hGR]
61
+ exact spectralThreeRegion_forward R a b E A C D hRa hab hbE hA hC hD
62
+ (fun t => spectralShellNorm (k t) (q t)) H
63
+ (spectralShellNorm_nonneg _ (hk R ⟨le_rfl,hRE⟩).le _) ha
64
+ (fun t ht => (hleft q hq hqD t ht).1) (hcentral q hq hqD) (hright q hq hqD) r hr)
65
+ refine ⟨Y,W,hYc,hYR,hYD,hW,hdet,hgreen,?_⟩
66
+ intro z r hr
67
+ apply spectralOutgoing_extension_bound (k r) (k R) (max A (C*D)) c N (G r) (G R)
68
+ (U r) (U R) z (hA.trans (le_max_left _ _)) hc hN
69
+ · exact spectralTruncatedAction_antitone R a E hRa (hab.trans hbE) H hH ha
70
+ ⟨le_rfl,hRE⟩ hr hr.1
71
+ · exact hUb r hr
72
+ · rw [hGR]
73
+ simpa only [N,mul_assoc,mul_left_comm,mul_comm] using hvalue
74
+
75
+ theorem spectralScalar_three_region_green (R a b E A C D c : ℝ)
76
+ (hRa : R ≤ a) (hab : a ≤ b) (hbE : b ≤ E)
77
+ (hA : 0 ≤ A) (hC : 0 ≤ C) (hD : 1 ≤ D) (hc : 0 < c)
78
+ (V : ℝ → ℂ) (k H : ℝ → ℝ)
79
+ (hV : ContinuousOn V (Icc R E)) (hk : ∀ r ∈ Icc R E, 0 < k r)
80
+ (hH : AntitoneOn H (Icc R a)) (ha : H a = 0)
81
+ (U : ℝ → ℂ × ℂ) (hUc : ContinuousOn U (Icc R E))
82
+ (hUD : ∀ r ∈ Ioo R E, HasDerivAt U (spectralScalarField (V r) (U r)) r)
83
+ (hN : 0 < spectralShellNorm (k a) (U a))
84
+ (hvalue : c*Real.exp (H R)*spectralShellNorm (k a) (U a) ≤ k R*‖(U R).1‖)
85
+ (hleft : ∀ q : ℝ → ℂ × ℂ, ContinuousOn q (Icc R E) →
86
+ (∀ r ∈ Ioo R E, HasDerivAt q (spectralScalarField (V r) (q r)) r) →
87
+ ∀ r ∈ Icc R a,
88
+ spectralShellNorm (k r) (q r) ≤ A*Real.exp (H R-H r)*spectralShellNorm (k R) (q R) ∧
89
+ spectralShellNorm (k r) (q r) ≤ A*Real.exp (H r)*spectralShellNorm (k a) (q a))
90
+ (hcentral : ∀ q : ℝ → ℂ × ℂ, ContinuousOn q (Icc R E) →
91
+ (∀ r ∈ Ioo R E, HasDerivAt q (spectralScalarField (V r) (q r)) r) →
92
+ ∀ r ∈ Icc a b, spectralShellNorm (k r) (q r) ≤ C*spectralShellNorm (k a) (q a))
93
+ (hright : ∀ q : ℝ → ℂ × ℂ, ContinuousOn q (Icc R E) →
94
+ (∀ r ∈ Ioo R E, HasDerivAt q (spectralScalarField (V r) (q r)) r) →
95
+ ∀ r ∈ Icc b E, spectralShellNorm (k r) (q r) ≤ D*spectralShellNorm (k b) (q b)) :
96
+ ∃ (Y : ℝ → ℂ × ℂ) (W : ℂ), Continuous Y ∧ Y R = (0,(k R : ℂ)) ∧
97
+ (∀ r ∈ Icc R E, HasDerivAt Y (spectralScalarField (V r) (Y r)) r) ∧
98
+ W ≠ 0 ∧ (∀ r ∈ Icc R E, spectralScalarWronskian (Y r) (U r) = W) ∧
99
+ ∀ r ∈ Icc R E, ∀ t ∈ Icc R E,
100
+ spectralShellNorm (k r) (spectralScalarGreenState Y U W r t) ≤
101
+ max A (C*A*D)*max A (C*D)/(c*k t) := by
102
+ obtain ⟨Y,W,hYc,hYR,hYD,hW,hdet,hgreen,_⟩ :=
103
+ spectralScalar_three_region_green_and_extension R a b E A C D c hRa hab hbE
104
+ hA hC hD hc V k H hV hk hH ha U hUc hUD hN hvalue hleft hcentral hright
105
+ exact ⟨Y,W,hYc,hYR,hYD,hW,hdet,hgreen⟩
106
+
107
+ end DefocusingNLS
108
+
109
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralThreeRegionTransfer.lean ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralThreeRegionBounds
2
+
3
+ namespace OAI
4
+
5
+ /-! Propagate an endpoint state and an outgoing state with separate constants,
6
+ retaining the action only on the forbidden part of the interval. -/
7
+
8
+ open Set
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralThreeRegion_forward (R a b E A C D : ℝ)
12
+ (hRa : R ≤ a) (hab : a ≤ b) (hbE : b ≤ E)
13
+ (hA : 0 ≤ A) (hC : 0 ≤ C) (hD : 1 ≤ D)
14
+ (N H : ℝ → ℝ) (hNR : 0 ≤ N R) (ha : H a = 0)
15
+ (hleft : ∀ r ∈ Icc R a, N r ≤ A*Real.exp (H R-H r)*N R)
16
+ (hcentral : ∀ r ∈ Icc a b, N r ≤ C*N a)
17
+ (hright : ∀ r ∈ Icc b E, N r ≤ D*N b) :
18
+ ∀ r ∈ Icc R E, N r ≤ max A (C*A*D)*
19
+ Real.exp (H R-spectralTruncatedAction a H r)*N R := by
20
+ have haN : N a ≤ A*(Real.exp (H R)*N R) := by
21
+ simpa only [ha,sub_zero,mul_assoc] using hleft a ⟨hRa,le_rfl⟩
22
+ have hcN (r : ℝ) (hr : r ∈ Icc a b) : N r ≤ (C*A)*(Real.exp (H R)*N R) := by
23
+ calc
24
+ N r ≤ C*N a := hcentral r hr
25
+ _ ≤ C*(A*(Real.exp (H R)*N R)) := mul_le_mul_of_nonneg_left haN hC
26
+ _ = _ := by ring
27
+ have hh := spectralThreeRegion_bound R a b E A (C*A) D (Real.exp (H R)*N R)
28
+ hRa hab hbE hA (mul_nonneg hC hA) hD (mul_nonneg (Real.exp_pos _).le hNR)
29
+ N (fun r => -H r) (by simp only [ha,neg_zero])
30
+ (fun r hr => by
31
+ convert hleft r hr using 1
32
+ rw [Real.exp_sub,Real.exp_neg]
33
+ field_simp
34
+ ) hcN hright
35
+ intro r hr
36
+ have he : spectralTruncatedAction a (fun s => -H s) r = -spectralTruncatedAction a H r := by
37
+ unfold spectralTruncatedAction
38
+ split_ifs <;> simp only [neg_zero]
39
+ have hb := hh r hr
40
+ rw [he] at hb
41
+ convert hb using 1
42
+ rw [Real.exp_sub,Real.exp_neg]
43
+ field_simp
44
+
45
+ end DefocusingNLS
46
+
47
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningActionGrowth.lean ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningForbiddenGeometry
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralWKBFluxMargin
3
+
4
+ namespace OAI
5
+
6
+ /-! The forbidden action tends to infinity with the turning radius, already
7
+ on the segment between the fixed shell and half the turning radius. -/
8
+
9
+ open Set MeasureTheory
10
+ namespace DefocusingNLS
11
+
12
+ theorem spectralTurning_far_momentum_re_lower (h b eta omega gamma r₀ r : ℝ)
13
+ (heta : 0 ≤ eta) (hr₀ : 0 < r₀) (hr : 0 < r) (hrr : r ≤ r₀/2)
14
+ (hz : homogeneousSpectralLocalizationFrequency h b eta omega r₀ = 0) :
15
+ r₀/16 ≤ (spectralLiouvilleMomentum (-1) h b eta omega gamma r).re := by
16
+ let F := homogeneousSpectralLocalizationFrequency h b eta omega r
17
+ let p := spectralLiouvilleMomentum (-1) h b eta omega gamma r
18
+ have hfar := (spectralTurning_forbidden_far h b eta omega r₀ r heta hr₀ hr hrr hz).1
19
+ have hFp : 0 < -F := by dsimp only [F]; nlinarith [sq_pos_of_pos hr₀]
20
+ have he : spectralWKBSquaredMomentum (-1) F gamma = ((-F : ℝ) : ℂ)+Complex.I*((-gamma : ℝ) : ℂ) := by
21
+ dsimp only [spectralWKBSquaredMomentum]
22
+ push_cast
23
+ ring
24
+ have hre : (2/3 : ℝ)*‖p‖ ≤ p.re := by
25
+ dsimp only [p,spectralLiouvilleMomentum]
26
+ rw [he]
27
+ exact spectralComplexSqrt_re_two_thirds (-F) (-gamma) hFp
28
+ have hsq : ‖p‖^2 = ‖spectralWKBSquaredMomentum (-1) F gamma‖ := spectralComplexSqrt_norm_sq _
29
+ have hnorm : -F ≤ ‖p‖^2 := (neg_le_abs F).trans (by
30
+ rw [hsq]
31
+ exact spectralWKBSquaredMomentum_norm_lower (-1) F gamma (by norm_num))
32
+ have hplower : r₀/8 ≤ ‖p‖ := by nlinarith [norm_nonneg p]
33
+ change r₀/16 ≤ p.re
34
+ linarith
35
+
36
+ theorem spectralTurning_forbidden_action_lower (h b eta omega gamma r₀ R E : ℝ)
37
+ (heta : 0 ≤ eta) (hr₀ : 0 < r₀) (hR : 0 < R)
38
+ (hRfour : R ≤ r₀/4) (hEhalf : r₀/2 ≤ E) (hEturn : E < r₀)
39
+ (hz : homogeneousSpectralLocalizationFrequency h b eta omega r₀ = 0) :
40
+ r₀^2/64 ≤ (∫ t in R..E, spectralLiouvilleMomentum (-1) h b eta omega gamma t).re := by
41
+ let p := spectralLiouvilleMomentum (-1) h b eta omega gamma
42
+ have hRE : R ≤ E := by linarith
43
+ have hRh : R ≤ r₀/2 := by linarith
44
+ have hF (t : ℝ) (ht : t ∈ Icc R E) :
45
+ 0 < (-1)*homogeneousSpectralLocalizationFrequency h b eta omega t := by
46
+ have hh := homogeneousSpectralLocalizationFrequency_strictMono h b eta omega heta
47
+ (hR.trans_le ht.1) hr₀ (ht.2.trans_lt hEturn)
48
+ rw [hz] at hh
49
+ linarith
50
+ have hpc : ContinuousOn p (Icc R E) := fun t ht =>
51
+ (spectralLiouvilleMomentum_hasDerivAt (-1) h b eta omega gamma t
52
+ (hR.trans_le ht.1) (hF t ht)).continuousAt.continuousWithinAt
53
+ have hrc : ContinuousOn (fun t => (p t).re) (Icc R E) :=
54
+ Complex.continuous_re.comp_continuousOn hpc
55
+ have hi₁ : IntervalIntegrable (fun t => (p t).re) volume R (r₀/2) :=
56
+ (hrc.mono (Icc_subset_Icc le_rfl hEhalf)).intervalIntegrable_of_Icc hRh
57
+ have hi₂ : IntervalIntegrable (fun t => (p t).re) volume (r₀/2) E :=
58
+ (hrc.mono (Icc_subset_Icc hRh le_rfl)).intervalIntegrable_of_Icc hEhalf
59
+ have hlow : (r₀/2-R)*(r₀/16) ≤ ∫ t in R..r₀/2, (p t).re := by
60
+ calc
61
+ _ = ∫ _t in R..r₀/2, r₀/16 := by
62
+ simp only [intervalIntegral.integral_const,smul_eq_mul]
63
+ _ ≤ _ := intervalIntegral.integral_mono_on hRh intervalIntegrable_const hi₁
64
+ (fun t ht => spectralTurning_far_momentum_re_lower h b eta omega gamma r₀ t
65
+ heta hr₀ (hR.trans_le ht.1) ht.2 hz)
66
+ have hpos : 0 ≤ ∫ t in r₀/2..E, (p t).re := intervalIntegral.integral_nonneg hEhalf
67
+ (fun t _ => spectralComplexSqrt_re_nonneg _)
68
+ have hadd := intervalIntegral.integral_add_adjacent_intervals hi₁ hi₂
69
+ have hreal : (∫ t in R..E, p t).re = ∫ t in R..E, (p t).re := by
70
+ exact (intervalIntegral.intervalIntegral_re (hpc.intervalIntegrable_of_Icc hRE)).symm
71
+ change r₀^2/64 ≤ (∫ t in R..E, p t).re
72
+ rw [hreal]
73
+ nlinarith
74
+
75
+ end DefocusingNLS
76
+
77
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningActionLimit.lean ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningActionGrowth
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningScaleLimit
3
+
4
+ namespace OAI
5
+
6
+ /-! The forbidden action diverges along every escaping turning radius,
7
+ for any fixed inner radius and fixed Airy observation point. -/
8
+
9
+ open Set Filter Topology MeasureTheory
10
+ namespace DefocusingNLS
11
+
12
+ theorem spectralTurning_forbidden_action_tendsto
13
+ (h : ℝ) (b eta omega gamma r₀ d : ℕ → ℝ) (R M : ℝ) (hR : 0 < R) (hM : 0 < M)
14
+ (hr₀ : Tendsto r₀ atTop atTop)
15
+ (hdata : ∀ᶠ n in atTop, 0 < r₀ n ∧ 0 ≤ d n ∧ 0 ≤ eta n ∧
16
+ homogeneousSpectralLocalizationFrequency h (b n) (eta n) (omega n) (r₀ n) = 0 ∧
17
+ spectralLiouvilleSlope (eta n) (r₀ n)*(d n)^3 = 1) :
18
+ Tendsto (fun n => (∫ t in R..(r₀ n-M*d n),
19
+ spectralLiouvilleMomentum (-1) h (b n) (eta n) (omega n) (gamma n) t).re)
20
+ atTop atTop := by
21
+ have hd := spectralTurningScale_tendsto eta r₀ d hr₀
22
+ (hdata.mono (fun n hn => ⟨hn.1,hn.2.1,hn.2.2.1,hn.2.2.2.2⟩))
23
+ have hlarge : ∀ᶠ n in atTop, (r₀ n)^2/64 ≤
24
+ (∫ t in R..(r₀ n-M*d n),
25
+ spectralLiouvilleMomentum (-1) h (b n) (eta n) (omega n) (gamma n) t).re := by
26
+ filter_upwards [hdata,hd.eventually (gt_mem_nhds (by norm_num : (0 : ℝ) < 1)),
27
+ hr₀.eventually (eventually_ge_atTop (max (4*R) (2*M)))] with n hn hdn hrn
28
+ have hdp : 0 < d n := by
29
+ apply lt_of_le_of_ne hn.2.1
30
+ intro he
31
+ have hsc := hn.2.2.2.2
32
+ rw [← he] at hsc
33
+ norm_num at hsc
34
+ exact spectralTurning_forbidden_action_lower h (b n) (eta n) (omega n) (gamma n)
35
+ (r₀ n) R (r₀ n-M*d n) hn.2.2.1 hn.1 hR
36
+ (by linarith [le_trans (le_max_left (4*R) (2*M)) hrn])
37
+ (by nlinarith [le_trans (le_max_right (4*R) (2*M)) hrn])
38
+ (by nlinarith) hn.2.2.2.1
39
+ have hsq := (tendsto_pow_atTop (by decide : (2 : ℕ) ≠ 0)).comp hr₀
40
+ have hbound : Tendsto (fun n => (r₀ n)^2/64) atTop atTop :=
41
+ Filter.Tendsto.atTop_div_const (by norm_num) hsq
42
+ rw [tendsto_atTop]
43
+ intro A
44
+ filter_upwards [hlarge,hbound.eventually (eventually_ge_atTop A)] with n hn hAn
45
+ exact hAn.trans hn
46
+
47
+ end DefocusingNLS
48
+
49
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryCoefficient.lean ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningUniformLimit
2
+
3
+ namespace OAI
4
+
5
+ /-! The reflected coefficient converges to the Airy coefficient on every
6
+ fixed compact interval, with no symmetry restriction on its endpoints. -/
7
+
8
+ open Set Filter Topology
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralTurningAiryCoefficient_uniform_limit
12
+ (h : ℝ) (b eta omega gamma r₀ d : ℕ → ℝ) (a c G : ℝ)
13
+ (hr₀ : Tendsto r₀ atTop atTop)
14
+ (hdata : ∀ᶠ n in atTop, 0 < r₀ n ∧ 0 ≤ d n ∧ 0 ≤ eta n ∧ |gamma n| ≤ G ∧
15
+ homogeneousSpectralLocalizationFrequency h (b n) (eta n) (omega n) (r₀ n) = 0 ∧
16
+ (r₀ n/8 + 2*(eta n+99/4)/(r₀ n)^3)*(d n)^3 = 1) :
17
+ TendstoUniformlyOn
18
+ (fun n t => spectralTurningCoefficient h (b n) (eta n) (omega n)
19
+ (gamma n) (r₀ n) (d n) (-t))
20
+ (fun t => -(t : ℂ)) atTop (Icc a c) := by
21
+ let M := max |a| |c|
22
+ have hM : 0 ≤ M := (abs_nonneg a).trans (le_max_left _ _)
23
+ have ha : -M ≤ a := (neg_le_neg (le_max_left |a| |c|)).trans (neg_abs_le a)
24
+ have hc : c ≤ M := (le_abs_self c).trans (le_max_right _ _)
25
+ have hu := spectralTurningCoefficient_uniform_limit h b eta omega gamma r₀ d M G hM hr₀ hdata
26
+ rw [Metric.tendstoUniformlyOn_iff]
27
+ intro eps heps
28
+ filter_upwards [(Metric.tendstoUniformlyOn_iff.mp hu) eps heps] with n hn t ht
29
+ have hm : -t ∈ Icc (-M) M := by constructor <;> linarith [ht.1,ht.2]
30
+ simpa only [Complex.ofReal_neg] using hn (-t) hm
31
+
32
+ end DefocusingNLS
33
+
34
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryHalfLineLimit.lean ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningAiryLimit
2
+
3
+ namespace OAI
4
+
5
+ /-! One limiting Airy solution works on every fixed compact interval. Local
6
+ uniqueness makes the independently obtained interval limits agree. -/
7
+
8
+ open Set Filter Topology
9
+ namespace DefocusingNLS
10
+
11
+ theorem spectralTurningAiry_halfLine_limit
12
+ (h : ℝ) (b eta omega gamma r₀ d : ℕ → ℝ) (a R G : ℝ)
13
+ (q : ℕ → ℝ → ℂ × ℂ) (x : ℂ × ℂ)
14
+ (hr₀ : Tendsto r₀ atTop atTop)
15
+ (hdata : ∀ᶠ n in atTop, 0 < r₀ n ∧ 0 ≤ d n ∧ 0 ≤ eta n ∧ |gamma n| ≤ G ∧
16
+ homogeneousSpectralLocalizationFrequency h (b n) (eta n) (omega n) (r₀ n) = 0 ∧
17
+ (r₀ n/8 + 2*(eta n+99/4)/(r₀ n)^3)*(d n)^3 = 1)
18
+ (hq : ∀ᶠ n in atTop, Continuous (q n) ∧ ∀ r ∈ Icc R (2*r₀ n),
19
+ HasDerivAt (q n) (spectralScalarField
20
+ ((homogeneousSpectralLocalizationFrequency h (b n) (eta n) (omega n) r : ℂ) +
21
+ Complex.I*(gamma n : ℂ)) (q n r)) r)
22
+ (hinit : Tendsto (fun n =>
23
+ spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n) a) atTop (𝓝 x)) :
24
+ ∃ p : ℝ → ℂ × ℂ, Continuous p ∧ p a = x ∧
25
+ (∀ t, a ≤ t → HasDerivAt p (spectralScalarField (-(t : ℂ)) (p t)) t) ∧
26
+ ∀ c : ℝ, TendstoUniformlyOn
27
+ (fun n => spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n))
28
+ p atTop (Icc a c) := by
29
+ obtain ⟨p,hp,hpa,hpD,_⟩ := spectralTurningAiry_cauchy_limit h b eta omega gamma r₀ d
30
+ a a R G q x hr₀ hdata hq hinit
31
+ refine ⟨p,hp,hpa,hpD,?_⟩
32
+ intro c
33
+ obtain ⟨u,hu,hua,huD,hlim⟩ := spectralTurningAiry_cauchy_limit h b eta omega gamma r₀ d
34
+ a c R G q x hr₀ hdata hq hinit
35
+ apply hlim.congr_right
36
+ intro t ht
37
+ apply spectralScalar_unique_right a t ht.1 (fun s => -(s : ℂ)) (by fun_prop)
38
+ u p hu.continuousOn hp.continuousOn
39
+ · exact fun s hs => huD s hs.1.le
40
+ · exact fun s hs => hpD s hs.1.le
41
+ · exact hua.trans hpa.symm
42
+
43
+ end DefocusingNLS
44
+
45
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryLimit.lean ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningAiryCoefficient
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningAiryState
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralScalarHalfLineExistence
4
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralScalarUniformDependence
5
+
6
+ namespace OAI
7
+
8
+ /-! Actual rescaled scalar solutions converge to one Airy solution whenever
9
+ their Cauchy data at the left endpoint converge. The equation is inherited
10
+ from the original radial equation, rather than assumed for the limit. -/
11
+
12
+ open Set Filter Topology
13
+ namespace DefocusingNLS
14
+
15
+ theorem spectralTurningAiry_cauchy_limit
16
+ (h : ℝ) (b eta omega gamma r₀ d : ℕ → ℝ) (a c R G : ℝ)
17
+ (q : ℕ → ℝ → ℂ × ℂ) (x : ℂ × ℂ)
18
+ (hr₀ : Tendsto r₀ atTop atTop)
19
+ (hdata : ∀ᶠ n in atTop, 0 < r₀ n ∧ 0 ≤ d n ∧ 0 ≤ eta n ∧ |gamma n| ≤ G ∧
20
+ homogeneousSpectralLocalizationFrequency h (b n) (eta n) (omega n) (r₀ n) = 0 ∧
21
+ (r₀ n/8 + 2*(eta n+99/4)/(r₀ n)^3)*(d n)^3 = 1)
22
+ (hq : ∀ᶠ n in atTop, Continuous (q n) ∧ ∀ r ∈ Icc R (2*r₀ n),
23
+ HasDerivAt (q n) (spectralScalarField
24
+ ((homogeneousSpectralLocalizationFrequency h (b n) (eta n) (omega n) r : ℂ) +
25
+ Complex.I*(gamma n : ℂ)) (q n r)) r)
26
+ (hinit : Tendsto (fun n =>
27
+ spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n) a) atTop (𝓝 x)) :
28
+ ∃ p : ℝ → ℂ × ℂ, Continuous p ∧ p a = x ∧
29
+ (∀ t, a ≤ t → HasDerivAt p (spectralScalarField (-(t : ℂ)) (p t)) t) ∧
30
+ TendstoUniformlyOn
31
+ (fun n => spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n))
32
+ p atTop (Icc a c) := by
33
+ obtain ⟨p,hp,hpa,hpD⟩ := spectralScalar_halfLine_exists a (fun t => -(t : ℂ))
34
+ (by fun_prop) x
35
+ refine ⟨p,hp,hpa,hpD,?_⟩
36
+ have hd := spectralTurningScale_tendsto eta r₀ d hr₀
37
+ (hdata.mono (fun n hn => ⟨hn.1,hn.2.1,hn.2.2.1,hn.2.2.2.2.2⟩))
38
+ let M := max |a| |c|
39
+ have hM : 0 ≤ M := (abs_nonneg a).trans (le_max_left _ _)
40
+ have ha : -M ≤ a := (neg_le_neg (le_max_left |a| |c|)).trans (neg_abs_le a)
41
+ have hc : c ≤ M := (le_abs_self c).trans (le_max_right _ _)
42
+ have hstate : ∀ᶠ n in atTop,
43
+ ContinuousOn (spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n)) (Icc a c) ∧
44
+ ∀ t ∈ Icc a c, HasDerivAt
45
+ (spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n))
46
+ (spectralScalarField
47
+ (spectralTurningCoefficient h (b n) (eta n) (omega n) (gamma n) (r₀ n) (d n) (-t))
48
+ (spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n) t)) t := by
49
+ filter_upwards [hdata,hq,hd.eventually (gt_mem_nhds (by norm_num : (0 : ℝ) < 1)),
50
+ hr₀.eventually (eventually_ge_atTop (max (R + M) M))] with n hn hqn hd1 hrn
51
+ have hdn : 0 < d n := by
52
+ apply lt_of_le_of_ne hn.2.1
53
+ intro he
54
+ have heq := hn.2.2.2.2.2
55
+ rw [← he] at heq
56
+ norm_num at heq
57
+ refine ⟨(spectralTurningAiryState_continuous _ _ _ _ hqn.1).continuousOn,?_⟩
58
+ intro t ht
59
+ have htM : |t| ≤ M := abs_le.mpr ⟨ha.trans ht.1,ht.2.trans hc⟩
60
+ have hprod : |d n*t| ≤ M := by
61
+ rw [abs_mul,abs_of_nonneg hn.2.1]
62
+ exact (mul_le_mul_of_nonneg_left htM hn.2.1).trans (by nlinarith)
63
+ have hpoint : r₀ n - d n*t ∈ Icc R (2*r₀ n) := by
64
+ have hleft := (le_max_left (R+M) M).trans hrn
65
+ have hright := (le_max_right (R+M) M).trans hrn
66
+ constructor <;> linarith [(abs_le.mp hprod).1,(abs_le.mp hprod).2]
67
+ exact spectralTurningAiryState_hasDerivAt h (b n) (eta n) (omega n) (gamma n)
68
+ (r₀ n) (d n) (Real.sqrt (d n)) t (Real.sqrt_pos.mpr hdn).ne'
69
+ (Real.sq_sqrt hn.2.1) (q n) (hqn.2 _ hpoint)
70
+ apply spectralScalar_uniform_dependence a c
71
+ (fun n t => spectralTurningCoefficient h (b n) (eta n) (omega n)
72
+ (gamma n) (r₀ n) (d n) (-t)) (fun t => -(t : ℂ))
73
+ (fun n => spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n)) p
74
+ (by fun_prop) hp.continuousOn (fun t ht => hpD t ht.1) hstate
75
+ (spectralTurningAiryCoefficient_uniform_limit h b eta omega gamma r₀ d a c G hr₀ hdata)
76
+ simpa only [hpa] using hinit
77
+
78
+ end DefocusingNLS
79
+
80
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryNonzero.lean ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningOutgoingFlux
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningOutgoingAiry
3
+
4
+ namespace OAI
5
+
6
+ /-! The actual outgoing comparison has a nonzero Airy limit. The cutoff is
7
+ chosen from the explicit WKB error before extracting a subsequence. -/
8
+
9
+ open Set Filter Topology
10
+ namespace DefocusingNLS
11
+
12
+ theorem spectralTurning_outgoing_airy_nonzero
13
+ (ell : ℕ → ℕ) (h : ℝ) (b omega gamma r₀ d E : ℕ → ℝ) (R : ℝ)
14
+ (hh : h^2 = 1) (hR : 0 < R) (hr₀ : Tendsto r₀ atTop atTop)
15
+ (hdata : ∀ᶠ n in atTop, 0 < r₀ n ∧ 0 ≤ d n ∧ 0 ≤ b n ∧ b n ≤ 1 ∧
16
+ |gamma n| ≤ 8 ∧ 2*r₀ n ≤ E n ∧
17
+ (E n)^2 = 256*max ((ell n : ℝ)+1) (omega n) ∧
18
+ homogeneousSpectralLocalizationFrequency h (b n)
19
+ ((ell n : ℝ)*(ell n+10)) (omega n) (r₀ n) = 0 ∧
20
+ spectralLiouvilleSlope ((ell n : ℝ)*(ell n+10)) (r₀ n)*(d n)^3 = 1) :
21
+ ∃ (M : ℝ) (q : ℕ → ℝ → ℂ × ℂ) (φ : ℕ → ℕ) (p : ℝ → ℂ × ℂ),
22
+ 32 ≤ M ∧ StrictMono φ ∧ Continuous p ∧
23
+ (∀ᶠ n in atTop, Continuous (q n) ∧
24
+ q n (E n) = spectralOscillatoryData h (Real.sqrt (Real.sqrt
25
+ (homogeneousSpectralLocalizationFrequency h (b n)
26
+ ((ell n : ℝ)*(ell n+10)) (omega n) (E n)))) ∧
27
+ spectralScalarFlux (q n (E n)) = h ∧
28
+ ∀ t ∈ Icc R (E n), HasDerivAt (q n) (spectralScalarField
29
+ ((homogeneousSpectralLocalizationFrequency h (b n)
30
+ ((ell n : ℝ)*(ell n+10)) (omega n) t : ℂ)+Complex.I*(gamma n : ℂ))
31
+ (q n t)) t) ∧
32
+ (∀ t, -M ≤ t → HasDerivAt p (spectralScalarField (-(t : ℂ)) (p t)) t) ∧
33
+ spectralTurningFluxBase/2 ≤ -h*spectralScalarFlux (p 1) ∧
34
+ ∀ c : ℝ, TendstoUniformlyOn
35
+ (fun n => spectralTurningAiryState (r₀ (φ n)) (d (φ n))
36
+ (Real.sqrt (d (φ n))) (q (φ n))) p atTop (Icc (-M) c) := by
37
+ obtain ⟨M,hM,hflux⟩ := spectralTurning_eventual_outgoing_flux ell h b omega gamma r₀ d E R
38
+ hh hr₀ hdata
39
+ obtain ⟨q,φ,p,hφ,hp,hq,hpD,hlim⟩ := spectralTurning_outgoing_airy_limit ell h b omega gamma r₀ d E M R
40
+ hh hM hR hr₀ hdata
41
+ have hqflux := hflux q (hq.mono (fun n hn => ⟨hn.1,hn.2.1,hn.2.2.2⟩))
42
+ have hpflux : spectralTurningFluxBase/2 ≤ -h*spectralScalarFlux (p (-M)) := by
43
+ apply ge_of_tendsto ((spectralScalarFlux_continuous.continuousAt.tendsto.comp
44
+ ((hlim (-M)).tendsto_at ⟨le_rfl,le_rfl⟩)).const_mul (-h))
45
+ filter_upwards [hφ.tendsto_atTop.eventually hqflux,hφ.tendsto_atTop.eventually hdata] with n hn hdn
46
+ have hdp : 0 < d (φ n) := by
47
+ apply lt_of_le_of_ne hdn.2.1
48
+ intro he
49
+ have hs := hdn.2.2.2.2.2.2.2.2
50
+ rw [← he] at hs
51
+ norm_num at hs
52
+ dsimp only [Function.comp_def]
53
+ rw [spectralTurningAiryState_flux _ _ _ _ (Real.sqrt_pos.mpr hdp).ne']
54
+ have he : r₀ (φ n)-d (φ n)*(-M) = r₀ (φ n)+M*d (φ n) := by ring
55
+ rw [he]
56
+ nlinarith
57
+ have heq := spectralScalarFlux_const (-M) 1 p (fun t => -t) hp.continuousOn
58
+ (fun t ht => by simpa only [Complex.ofReal_neg] using hpD t ht.1.le)
59
+ 1 ⟨by linarith,le_rfl⟩
60
+ refine ⟨M,q,φ,p,hM,hφ,hp,hq,hpD,?_,hlim⟩
61
+ simpa only [heq] using hpflux
62
+
63
+ end DefocusingNLS
64
+
65
+ end OAI
lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralTurningAiryProjection.lean ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningProjectionLimit
2
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralTurningAiryState
3
+ import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralAiryGrowingMargin
4
+
5
+ namespace OAI
6
+
7
+ /-! Nonzero limiting flux supplies a fixed growing-mode margin for the
8
+ actual rescaled WKB projection at every sufficiently late fixed Airy point. -/
9
+
10
+ open Set Filter Topology
11
+ namespace DefocusingNLS
12
+
13
+ theorem spectralTurning_eventual_growing_projection
14
+ (h : ℝ) (b eta omega gamma r₀ d : ℕ → ℝ) (a G : ℝ) (ha : a ≤ 1)
15
+ (hr₀ : Tendsto r₀ atTop atTop)
16
+ (hdata : ∀ᶠ n in atTop, 0 < r₀ n ∧ 0 ≤ d n ∧ 0 ≤ eta n ∧ |gamma n| ≤ G ∧
17
+ homogeneousSpectralLocalizationFrequency h (b n) (eta n) (omega n) (r₀ n) = 0 ∧
18
+ (r₀ n/8+2*(eta n+99/4)/(r₀ n)^3)*(d n)^3 = 1)
19
+ (q : ℕ → ℝ → ℂ × ℂ) (p : ℝ → ℂ × ℂ) (hp : Continuous p)
20
+ (hpD : ∀ t, a ≤ t → HasDerivAt p (spectralScalarField (-(t : ℂ)) (p t)) t)
21
+ (hpJ : spectralScalarFlux (p 1) ≠ 0)
22
+ (hlim : ∀ c : ℝ, TendstoUniformlyOn
23
+ (fun n => spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n)) p atTop (Icc a c)) :
24
+ ∀ᶠ T : ℝ in atTop, ∀ᶠ n in atTop,
25
+ let u := spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n) T
26
+ let P := (d n : ℂ)*spectralLiouvilleMomentum (-1) h (b n) (eta n)
27
+ (omega n) (gamma n) (r₀ n-d n*T)
28
+ let A := ((d n)^3*spectralLiouvilleSlope (eta n) (r₀ n-d n*T) : ℝ)
29
+ (1/8 : ℝ)*spectralShellNorm (Real.sqrt ‖P‖) u ≤
30
+ ‖(u.2+(P+(A : ℂ)/(4*P^2))*u.1)/(2*Complex.sqrt P)‖ := by
31
+ have hmargin := spectralAiry_eventual_growing_margin p 1 le_rfl hp.continuousOn
32
+ (fun t ht => hpD t (ha.trans ht)) hpJ
33
+ filter_upwards [hmargin,eventually_ge_atTop (1 : ℝ)] with T hTmargin hT
34
+ have hTp : 0 < T := by linarith
35
+ have hJT : spectralScalarFlux (p T) ≠ 0 := by
36
+ rw [spectralScalarFlux_const 1 T p (fun t => -t) hp.continuousOn
37
+ (fun t ht => by simpa only [Complex.ofReal_neg] using hpD t (ha.trans ht.1.le))
38
+ T ⟨hT,le_rfl⟩]
39
+ exact hpJ
40
+ exact spectralTurning_growing_projection_margin h b eta omega gamma r₀ d T G hTp hr₀ hdata
41
+ (p T) (fun n => spectralTurningAiryState (r₀ n) (d n) (Real.sqrt (d n)) (q n) T)
42
+ hJT ((hlim T).tendsto_at ⟨ha.trans hT,le_rfl⟩) hTmargin
43
+
44
+ end DefocusingNLS
45
+
46
+ end OAI