The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.MetricSpace.Ultra.Basic

20 declarations. Mathlib docs · Source

class IsUltrametricDist E1 #

(X : Type u_2) → [Dist X] → Prop

The dist : X → X → ℝ respects the ultrametric inequality of dist(x, z) ≤ max (dist(x,y)) (dist(y,z)).

ctor IsUltrametricDist.mk E0 #

∀ {X : Type u_2} [inst : Dist X], (∀ (x y z : X), dist x z ≤ max (dist x y) (dist y z)) → IsUltrametricDist X

theorem IsUltrametricDist.dist_triangle_max E1 #

∀ {X : Type u_2} {inst : Dist X} [self : IsUltrametricDist X] (x y z : X), dist x z ≤ max (dist x y) (dist y z)

theorem dist_triangle_max E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x y z : X), dist x z ≤ max (dist x y) (dist y z)

theorem IsUltrametricDist.dist_eq_max_of_dist_ne_dist E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x y z : X),
  dist x y ≠ dist y z → dist x z = max (dist x y) (dist y z)

All triangles are isosceles in an ultrametric space.

instance IsUltrametricDist.subtype E0 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (p : X → Prop), IsUltrametricDist (Subtype p)

theorem IsUltrametricDist.ball_eq_of_mem E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] {x y : X} {r : ℝ},
  y ∈ Metric.ball x r → Metric.ball x r = Metric.ball y r

theorem IsUltrametricDist.ball_subset_trichotomy E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x y : X) (r s : ℝ),
  Metric.ball x r ⊆ Metric.ball y s ∨ Metric.ball y s ⊆ Metric.ball x r ∨ Disjoint (Metric.ball x r) (Metric.ball y s)

theorem IsUltrametricDist.ball_eq_or_disjoint E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x y : X) (r : ℝ),
  Metric.ball x r = Metric.ball y r ∨ Disjoint (Metric.ball x r) (Metric.ball y r)

theorem IsUltrametricDist.closedBall_eq_of_mem E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] {x y : X} {r : ℝ},
  y ∈ Metric.closedBall x r → Metric.closedBall x r = Metric.closedBall y r

theorem IsUltrametricDist.closedBall_subset_trichotomy E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x y : X) (r s : ℝ),
  Metric.closedBall x r ⊆ Metric.closedBall y s ∨
    Metric.closedBall y s ⊆ Metric.closedBall x r ∨ Disjoint (Metric.closedBall x r) (Metric.closedBall y s)

theorem IsUltrametricDist.isClosed_ball E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) (r : ℝ), IsClosed (Metric.ball x r)

theorem IsUltrametricDist.isClopen_ball E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) (r : ℝ), IsClopen (Metric.ball x r)

theorem IsUltrametricDist.frontier_ball_eq_empty E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) (r : ℝ), frontier (Metric.ball x r) = ∅

theorem IsUltrametricDist.closedBall_eq_or_disjoint E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x y : X) (r : ℝ),
  Metric.closedBall x r = Metric.closedBall y r ∨ Disjoint (Metric.closedBall x r) (Metric.closedBall y r)

theorem IsUltrametricDist.isOpen_closedBall E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) {r : ℝ},
  r ≠ 0 → IsOpen (Metric.closedBall x r)

theorem IsUltrametricDist.isClopen_closedBall E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) {r : ℝ},
  r ≠ 0 → IsClopen (Metric.closedBall x r)

theorem IsUltrametricDist.frontier_closedBall_eq_empty E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) {r : ℝ},
  r ≠ 0 → frontier (Metric.closedBall x r) = ∅

theorem IsUltrametricDist.isOpen_sphere E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) {r : ℝ}, r ≠ 0 → IsOpen (Metric.sphere x r)

theorem IsUltrametricDist.isClopen_sphere E1 #

∀ {X : Type u_1} [inst : PseudoMetricSpace X] [IsUltrametricDist X] (x : X) {r : ℝ},
  r ≠ 0 → IsClopen (Metric.sphere x r)