File size: 788 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
import Mathlib

namespace OAI

namespace DoublingHilbert

abbrev RealL2 := lp (fun _ : β„• => ℝ) 2

/-- Intrinsic open-ball doubling with a specified integer bound and centers in the subset. -/
def DoublingAtMost (S : Set RealL2) (bound : β„•) : Prop :=
  βˆ€ x : S, βˆ€ r : ℝ, 0 < r β†’
    βˆƒ centers : Finset S, centers.card ≀ bound ∧
      βˆ€ y : S, dist y x < r β†’ βˆƒ c ∈ centers, dist y c < r / 2

/-- Finite distortion includes an arbitrary positive change of scale. -/
def AdmitsBiLipschitzEmbedding (S : Set RealL2) (k : β„•) : Prop :=
  βˆƒ f : S β†’ EuclideanSpace ℝ (Fin k),
    βˆƒ a : ℝ, 0 < a ∧ βˆƒ D : ℝ, 1 ≀ D ∧
      βˆ€ x y : S, a * dist x y ≀ dist (f x) (f y) ∧
        dist (f x) (f y) ≀ D * a * dist x y

end DoublingHilbert

end OAI