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 / V01. The language of Mathlib

Mathlib.Basic.Rel.Separated

12 declarations. Mathlib docs · Source

Uniform separation

This file defines a notion of separation of a set relative to a relation.

For a relation R, an R-separated set s is a set such that every pair of elements of s is R-unrelated.

The concept of uniformly separated sets is used to define two further notions of separation:

  • Metric separation: Metric.IsSeparated, defined using the small distance relation.
  • Dynamical nets: Dynamics.IsDynNetIn, defined using the dynamical relation.

TODO

  • Actually use SetRel.IsSeparated to define the above two notions.
  • Link to the notion of separation given by pairwise disjoint balls.

def SetRel.IsSeparated E1 #

{X : Type u_1} → SetRel X X → Set X → Prop

Given a relation R, a set s is R-separated if its elements are pairwise R-unrelated from each other.

theorem SetRel.IsSeparated.empty E1 #

∀ {X : Type u_1} {R : SetRel X X}, R.IsSeparated ∅

theorem SetRel.IsSeparated.singleton E1 #

∀ {X : Type u_1} {R : SetRel X X} {x : X}, R.IsSeparated {x}

theorem SetRel.IsSeparated.of_subsingleton E0 #

∀ {X : Type u_1} {R : SetRel X X} {s : Set X}, s.Subsingleton → R.IsSeparated s

theorem Set.Subsingleton.relIsSeparated E1 #

∀ {X : Type u_1} {R : SetRel X X} {s : Set X}, s.Subsingleton → R.IsSeparated s

Alias of SetRel.IsSeparated.of_subsingleton.

theorem SetRel.IsSeparated.mono_left E1 #

∀ {X : Type u_1} {R S : SetRel X X} {s : Set X}, R ⊆ S → S.IsSeparated s → R.IsSeparated s

theorem SetRel.IsSeparated.mono_right E1 #

∀ {X : Type u_1} {R : SetRel X X} {s t : Set X}, s ⊆ t → R.IsSeparated t → R.IsSeparated s

theorem SetRel.isSeparated_insert' E1 #

∀ {X : Type u_1} {R : SetRel X X} {s : Set X} {x : X},
  R.IsSeparated (insert x s) ↔ R.IsSeparated s ∧ (∀ y ∈ s, (x, y) ∈ R → x = y) ∧ ∀ y ∈ s, (y, x) ∈ R → x = y

theorem SetRel.isSeparated_insert E1 #

∀ {X : Type u_1} {R : SetRel X X} {s : Set X} {x : X} [R.IsSymm],
  R.IsSeparated (insert x s) ↔ R.IsSeparated s ∧ ∀ y ∈ s, (x, y) ∈ R → x = y

theorem SetRel.isSeparated_insert_of_notMem E1 #

∀ {X : Type u_1} {R : SetRel X X} {s : Set X} {x : X} [R.IsSymm],
  x ∉ s → (R.IsSeparated (insert x s) ↔ R.IsSeparated s ∧ ∀ y ∈ s, (x, y) ∉ R)

theorem SetRel.IsSeparated.insert' E1 #

∀ {X : Type u_1} {R : SetRel X X} {s : Set X} {x : X},
  R.IsSeparated s → (∀ y ∈ s, (x, y) ∈ R → x = y) → (∀ y ∈ s, (y, x) ∈ R → x = y) → R.IsSeparated (insert x s)

theorem SetRel.IsSeparated.insert E1 #

∀ {X : Type u_1} {R : SetRel X X} {s : Set X} {x : X} [R.IsSymm],
  R.IsSeparated s → (∀ y ∈ s, (x, y) ∈ R → x = y) → R.IsSeparated (insert x s)