introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
5.26 kB
import OAI.Analysis.DiamondDistortion.Transfers
namespace OAI
universe u v
noncomputable section
open scoped BigOperators Classical Topology
open Set
namespace DiamondDistortion
namespace Diamond
variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X]
lemma old_upper {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] {k : β„•} (f : Vertex (k+1) β†’ X) {L : ℝ}
(hu : βˆ€ u v,β€–f u-f vβ€– ≀ L*distance (k+1) u v) :
βˆ€ u v,β€–f (Sum.inl u)-f (Sum.inl v)β€– ≀ L*distance k u v := by
intro u v
simpa only [distance_old] using hu (Sum.inl u) (Sum.inl v)
def FixedBoundGain (X : Type*) [NormedAddCommGroup X] (D c : ℝ) : Prop :=
βˆ€ (x : X) (z : β„• β†’ X),1 ≀ β€–xβ€– β†’ β€–xβ€– ≀ D β†’
(βˆ€ i,β€–z iβ€– ≀ 2*D) β†’ (βˆ€ i j,i β‰  j β†’ 1 ≀ β€–z i-z jβ€–) β†’
βˆƒ i,β€–xβ€–+c < max β€–x+z iβ€– β€–x-z iβ€–
lemma actual_additive_growth {D c : ℝ} (hD : 1 ≀ D) (hX : FixedBoundGain X D c)
(k : β„•) (f : Vertex k β†’ X)
(hl : βˆ€ u v,1*distance k u v ≀ β€–f u-f vβ€–)
(hu : βˆ€ u v,β€–f u-f vβ€– ≀ D*distance k u v) :
βˆƒ e : Edge k,1+(k:ℝ)*c ≀ β€–slope f eβ€– ∧
(k β‰  0 β†’ 1+(k:ℝ)*c < β€–slope f eβ€–) := by
induction k with
| zero => exact ⟨(),by simpa using slope_lower f hl (),by simp⟩
| succ n ih =>
obtain ⟨e,he,_⟩ := ih (fun v => f (Sum.inl v)) (old_lower f hl) (old_upper f hu)
have hx := slope_lower (fun v => f (Sum.inl v)) (old_lower f hl) e
have hxD := slope_upper (fun v => f (Sum.inl v)) (old_upper f hu) e
have hp : βˆ€ i,β€–slope (fun v => f (Sum.inl v)) e+deviation f e iβ€– ≀ D := by
intro i
rw [slope_plus_deviation]
exact slope_upper f hu _
have hm : βˆ€ i,β€–slope (fun v => f (Sum.inl v)) e-deviation f e iβ€– ≀ D := by
intro i
rw [slope_minus_deviation]
exact slope_upper f hu _
have hd : βˆ€ i,β€–deviation f e iβ€– ≀ 2*D := by
intro i
have h := norm_deviation_le (hp i) (hm i)
linarith
have hs : βˆ€ i j,i β‰  j β†’ 1 ≀ β€–deviation f e i-deviation f e jβ€– := by
intro i j hij
have h := deviation_separated f hl e hij
linarith
obtain ⟨i,hi⟩ := hX _ (deviation f e) hx hxD hd hs
rcases lt_max_iff.mp hi with hi | hi
Β· rw [slope_plus_deviation] at hi
have hh : 1+((n+1:β„•):ℝ)*c < β€–slope f (e,i,false)β€– := by push_cast; linarith
exact ⟨(e,i,false),hh.le,fun _ => hh⟩
Β· rw [slope_minus_deviation] at hi
have hh : 1+((n+1:β„•):ℝ)*c < β€–slope f (e,i,true)β€– := by push_cast; linarith
exact ⟨(e,i,true),hh.le,fun _ => hh⟩
theorem fixed_bound {D c s : ℝ} (_hc : 0 < c) (hX : FixedBoundGain X D c)
(k : β„•) (f : Vertex k β†’ X) (hf : HasDistortion k f D s) :
1+(k:ℝ)*c ≀ D ∧ (k β‰  0 β†’ 1+(k:ℝ)*c < D) := by
obtain ⟨hD,_,h⟩ := normalized_distortion f hf
have hu : βˆ€ u v,β€–s⁻¹ β€’ f u-s⁻¹ β€’ f vβ€– ≀ D*distance k u v := by
intro u v
simpa only [mul_one] using (h u v).2
obtain ⟨e,he,he'⟩ := actual_additive_growth hD hX k (fun v => s⁻¹ β€’ f v)
(fun u v => (h u v).1) hu
have hb := slope_upper (fun v => s⁻¹ β€’ f v) hu e
exact ⟨he.trans hb,fun hk => (he' hk).trans_le hb⟩
/-- The unconditional segment lens supplies the fixed-distortion bounded-family
input as well, with a concrete positive choice of c_D. -/
lemma fixed_bound_of_quadratic {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] (hX : QuadraticLens X) {D : ℝ} (hD : 1 ≀ D) :
FixedBoundGain X D (1/(64*D)) := by
have hD0 : 0 < D := by linarith
let c : ℝ := 1/(64*D)
have hc : 0 < c := by dsimp [c]; positivity
have hcD : D*c=1/64 := by dsimp [c]; field_simp
have hcsmall : c ≀ 1/64 := by
have h := mul_le_mul_of_nonneg_right hD hc.le
nlinarith
intro x z hx hxD hz hs
by_contra! hn
have hp : βˆ€ i,β€–x+z iβ€– ≀ β€–xβ€–+c := fun i => (le_max_left _ _).trans (hn i)
have hm : βˆ€ i,β€–x-z iβ€– ≀ β€–xβ€–+c := fun i => (le_max_right _ _).trans (hn i)
have h := hX x z (β€–xβ€–+c) 1 (by positivity) (by norm_num) hp hm hs
have hmul := mul_le_mul_of_nonneg_right hxD hc.le
have hsq := (sq_le_sqβ‚€ hc.le (by norm_num : (0:ℝ) ≀ 1/64)).mpr hcsmall
nlinarith
/-- Uniform distortion means one finite constant, with a separate map and a
separate positive scale for each depth. -/
def UniformEmbeddings (X : Type*) [NormedAddCommGroup X] : Prop :=
βˆƒ D : ℝ,βˆ€ k : β„•,βˆƒ (f : Vertex k β†’ X) (s : ℝ),HasDistortion k f D s
end Diamond
theorem atomic_distortion (k : β„•) (f : Diamond.Vertex k β†’ ForestDual) (D s : ℝ)
(hf : Diamond.HasDistortion k f D s) : 1+(k:ℝ)/16 ≀ D^2 := by
have h := headline.1 k f D s hf
have hk : (0:ℝ) ≀ k := by positivity
linarith
theorem direct_atomic_obstruction : Β¬ Diamond.UniformEmbeddings ForestDual := by
rintro ⟨D,h⟩
obtain ⟨k,hk⟩ := exists_nat_gt (4*D^2)
obtain ⟨f,s,hf⟩ := h k
have hb := headline.1 k f D s hf
linarith
theorem infinite_obstruction : Β¬ Diamond.UniformEmbeddings InfinitePredual := by
rintro ⟨D,h⟩
obtain ⟨k,hk⟩ := exists_nat_gt (4*D^2)
obtain ⟨f,s,hf⟩ := h k
have hb := headline.2 k f D s hf
linarith
end DiamondDistortion
end
end OAI