File size: 2,695 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | import OAI.MathematicalPhysics.DefocusingNLS.Profile.ProfileNormalizedBounds
namespace OAI
/-! The zero-tail quotient has the certified linear approximation. -/
namespace DefocusingNLS.ProfileCertificate
private theorem ratio_error (d b l : β) (Ξ· Ο S : β)
(hΞ· : 0 β€ Ξ·) (hΟ : 0 β€ Ο) (hΟ1 : Ο < 1) (hS : 0 β€ S)
(hd : βd-lβ β€ Ξ·) (hb : βb-1β β€ Ο) (hl : βlβ β€ S) :
βd/b-lβ β€ (Ξ·+S*Ο)/(1-Ο) := by
have hnorm : 1-Ο β€ βbβ := by
have hn := norm_sub_norm_le (1 : β) b
rw [norm_one, norm_sub_rev] at hn
linarith
have hden : 0 < 1-Ο := sub_pos.mpr hΟ1
have hb0 : b β 0 := norm_pos_iff.mp (hden.trans_le hnorm)
have he : d/b-l = (d-l+l*(1-b))/b := by field_simp [hb0]; ring
rw [he, norm_div]
have hnum : βd-l+l*(1-b)β β€ Ξ·+S*Ο := by
apply (norm_add_le _ _).trans
rw [norm_mul, norm_sub_rev (1 : β) b]
exact add_le_add hd (mul_le_mul hl hb (norm_nonneg _) hS)
exact (div_le_div_of_nonneg_right hnum (norm_nonneg _)).trans
(div_le_div_of_nonneg_left (by positivity) hden hnorm)
theorem normalized_first_denominator_lower (b z : β)
(hb : |b| β€ (radius : β)) (hz : |z| β€ (radius : β)) :
1-(changeBound : β) β€ βnormalizedProfile b z 0 1β := by
have h := normalizedProfile_variation b z hb hz 0 1
rw [centralNormalized_zero_one] at h
have hn := norm_sub_norm_le (1 : β) (normalizedProfile b z 0 1)
rw [norm_one, norm_sub_rev] at hn
linarith
theorem normalized_first_entry_ne_zero (b z : β)
(hb : |b| β€ (radius : β)) (hz : |z| β€ (radius : β)) :
normalizedProfile b z 0 1 β 0 := by
apply norm_pos_iff.mp
have hΟ : (changeBound : β) < 1 := by norm_num [changeBound, radius]
linarith [normalized_first_denominator_lower b z hb hz]
theorem normalized_zero_tail_error (b z : β)
(hb : |b| β€ (radius : β)) (hz : |z| β€ (radius : β)) :
βnormalizedProfile b z 1 1/normalizedProfile b z 0 1-
((b : β)*centralX+(z : β)*centralY)β β€ (jetError : β) := by
have h := ratio_error (normalizedProfile b z 1 1) (normalizedProfile b z 0 1)
((b : β)*centralX+(z : β)*centralY)
((1/1000000000000 : β)+50000*(radius : β)^2) (changeBound : β)
((283/1000 : β)*(radius : β))
(by positivity) (by norm_num [changeBound, radius]) (by norm_num [changeBound, radius])
(by norm_num [radius]) (normalizedProfile_last_remainder b z hb hz).le
(by simpa only [centralNormalized_zero_one] using (normalizedProfile_variation b z hb hz 0 1).le)
(free_linear_size b z hb hz)
convert! h using 1
unfold jetError
push_cast
ring
end DefocusingNLS.ProfileCertificate
end OAI
|