The areas / V13. General topology
Mathlib.Topology.UniformSpace.OfFun
3 declarations. Mathlib docs · Source
def UniformSpace.ofFun E1 #
{X : Type u_1} →
{M : Type u_2} →
[inst : AddCommMonoid M] →
[inst_1 : PartialOrder M] →
(d : X → X → M) →
(∀ (x : X), d x x = 0) →
(∀ (x y : X), d x y = d y x) →
(∀ (x y z : X), d x z ≤ d x y + d y z) → (∀ ε > 0, ∃ δ > 0, ∀ x < δ, ∀ y < δ, x + y < ε) → UniformSpace X
Define a UniformSpace using a "distance" function. The function can be, e.g., the
distance in a (usual or extended) metric space or an absolute value on a ring.
theorem UniformSpace.hasBasis_ofFun E1 #
∀ {X : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] [inst_1 : LinearOrder M],
(∃ x, 0 < x) →
∀ (d : X → X → M) (refl : ∀ (x : X), d x x = 0) (symm : ∀ (x y : X), d x y = d y x)
(triangle : ∀ (x y z : X), d x z ≤ d x y + d y z) (half : ∀ ε > 0, ∃ δ > 0, ∀ x < δ, ∀ y < δ, x + y < ε),
(uniformity X).HasBasis (fun x ↦ 0 < x) fun ε ↦ {x | d x.1 x.2 < ε}
def UniformSpace.ofFunOfHasBasis E1 #
{X : Type u_1} →
{M : Type u_2} →
[t : TopologicalSpace X] →
[inst : AddCommMonoid M] →
[inst_1 : LinearOrder M] →
(d : X → X → M) →
(∀ (x : X), d x x = 0) →
(∀ (x y : X), d x y = d y x) →
(∀ (x y z : X), d x z ≤ d x y + d y z) →
(∀ ε > 0, ∃ δ > 0, ∀ x < δ, ∀ y < δ, x + y < ε) →
(∀ (x : X), (nhds x).HasBasis (fun ε ↦ 0 < ε) fun ε ↦ {y | d x y < ε}) → UniformSpace X
Define a UniformSpace using a "distance" function. The function can be, e.g., the
distance in a (usual or extended) metric space or an absolute value on a ring. We assume that
there is a preexisting topology, for which the neighborhoods can be expressed using the "distance",
and we make sure that the uniform space structure we construct has a topology which is defeq
to the original one.