math / data /lean /OAI /MathematicalPhysics /DefocusingNLS /Spectrum /SpectralBranchCone.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.77 kB
import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralShellNorm
namespace OAI
/-! A small weighted error around a graph branch controls both the value
and its Robin residual. -/
namespace DefocusingNLS
theorem spectralBranch_value_residual (k C A delta : ℝ) (hk : 0 < k) (hC : 0 ≀ C)
(z L : β„‚) (D q : β„‚ Γ— β„‚) (hD : D.2 = L*D.1)
(hA : k*β€–D.1β€– = A) (hL : β€–Lβ€– ≀ C*k^2)
(hclose : spectralShellNorm k (q-z β€’ D) ≀ delta) :
β€–zβ€–*A-delta ≀ k*β€–q.1β€– ∧
β€–q.2-L*q.1β€– ≀ (1+C)*k*delta := by
let e := q-z β€’ D
have hd : 0 ≀ delta := (spectralShellNorm_nonneg k hk.le _).trans hclose
have hval : β€–e.1β€– ≀ delta/k :=
(spectralShellNorm_value k hk e).trans (div_le_div_of_nonneg_right hclose hk.le)
have hder : β€–e.2β€– ≀ k*delta :=
(spectralShellNorm_slope k hk e).trans (mul_le_mul_of_nonneg_left hclose hk.le)
have hfirst : β€–z*D.1β€– ≀ β€–q.1β€–+β€–e.1β€– := by
have he : z*D.1 = q.1-e.1 := by
dsimp only [e,Prod.fst_sub,Prod.smul_fst,smul_eq_mul]
ring
rw [he]
exact norm_sub_le _ _
have hmult := mul_le_mul_of_nonneg_left hfirst hk.le
have hscaled : k*β€–z*D.1β€– = β€–zβ€–*A := by rw [norm_mul,← hA]; ring
have hvalscaled : k*β€–e.1β€– ≀ delta := by
simpa only [mul_comm] using (le_div_iffβ‚€ hk).mp hval
refine ⟨by rw [hscaled] at hmult; nlinarith,?_⟩
have he : q.2-L*q.1 = e.2-L*e.1 := by
dsimp only [e,Prod.fst_sub,Prod.snd_sub,Prod.smul_fst,Prod.smul_snd,smul_eq_mul]
rw [hD]
ring
rw [he]
calc
_ ≀ β€–e.2β€–+β€–Lβ€–*β€–e.1β€– := by simpa only [norm_mul] using norm_sub_le e.2 (L*e.1)
_ ≀ k*delta+(C*k^2)*(delta/k) := by gcongr
_ = (1+C)*k*delta := by field_simp
end DefocusingNLS
end OAI