math / data /lean /OAI /Geometry /NodalSets /Spectral /MetricProjectionStability.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.03 kB
import OAI.Geometry.NodalSets.Spectral.MetricProjectionBounds
namespace OAI
namespace Yau.Geometry
open Yau.Jets
noncomputable section
theorem metric_projection_uniform_stability {M K : ℝ} (hM : 0 ≀ M) (hK : 0 ≀ K) :
βˆƒ Ξ΅β‚€ C : ℝ, 0 < Ξ΅β‚€ ∧ 0 < C ∧
βˆ€ (g h : Coord β†’L[ℝ] Coord β†’L[ℝ] ℝ) (e eβ‚€ t : Coord) (Ξ΅ : ℝ),
β€–gβ€– ≀ M β†’ β€–eβ€– ≀ K β†’ β€–eβ‚€β€– ≀ K β†’ β€–tβ€– ≀ K β†’
g e e = 1 β†’ h t t = 1 β†’ h eβ‚€ t = 0 β†’
β€–e-eβ‚€β€– ≀ Ξ΅ β†’ β€–g-hβ€– ≀ Ξ΅ β†’ Ξ΅ ≀ Ξ΅β‚€ β†’
let q := metricPerpProjection g e t
q β‰  0 ∧ g (metricNormalize g q) (metricNormalize g q) = 1 ∧
g e (metricNormalize g q) = 0 ∧ β€–metricNormalize g q-tβ€– ≀ C*Ξ΅ := by
let P : ℝ := (M*K+K^2)*K
let H : ℝ := 2*M*(K+1)*P+(K+1)^2
have hP : 0 ≀ P := by dsimp [P]; positivity
have hH : 0 ≀ H := by dsimp [H]; positivity
let Ξ΅β‚€ : ℝ := min (1/(P+1)) (1/(2*(H+1)))
let C : ℝ := 2*P+8*(K+1)*H+1
have hΞ΅β‚€ : 0 < Ξ΅β‚€ := lt_min (by positivity) (by positivity)
have hC : 0 < C := by dsimp [C]; positivity
refine βŸ¨Ξ΅β‚€,C,hΞ΅β‚€,hC,?_⟩
intro g h e eβ‚€ t Ξ΅ hg he heβ‚€ ht heunit htunit horth hd hm hΞ΅
have hΞ΅0 : 0 ≀ Ξ΅ := (norm_nonneg _).trans hd
have hΞ΅1 := hΞ΅.trans (min_le_left _ _)
have hΞ΅2 := hΞ΅.trans (min_le_right _ _)
have hsmall1 : P*Ξ΅ ≀ 1 := by
have hh := (le_div_iffβ‚€ (by positivity : 0 < P+1)).mp hΞ΅1
nlinarith
have hsmall2 : H*Ξ΅ ≀ 1/2 := by
have hh := (le_div_iffβ‚€ (by positivity : 0 < 2*(H+1))).mp hΞ΅2
nlinarith
have h1 : (M*Ξ΅*K+Ξ΅*K^2)*K ≀ 1 := by convert hsmall1 using 1; dsimp [P]; ring
have h2 : 2*M*(K+1)*((M*Ξ΅*K+Ξ΅*K^2)*K)+Ξ΅*(K+1)^2 ≀ 1/2 := by
convert hsmall2 using 1
dsimp [H,P]
ring
obtain ⟨hn,hu,ho,hb⟩ := normalized_projection_stability g h e eβ‚€ t hM hK hg he heβ‚€ ht
heunit htunit horth hd hm h1 h2
refine ⟨hn,hu,ho,hb.trans ?_⟩
dsimp [C,H,P]
nlinarith only [hΞ΅0]
end
end Yau.Geometry
end OAI