introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
788 Bytes
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