Documentation

Extra.Topology.IMetricSpace.Constructions.Bool

def Bool.idist (x y : Bool) :
Equations
Instances For
    theorem Bool.idist_self (x : Bool) :
    x.idist x = 0
    theorem Bool.idist_comm (x y : Bool) :
    x.idist y = y.idist x
    theorem Bool.idist_triangle (x y z : Bool) :
    ↑(x.idist z) ≤ ↑(x.idist y) + ↑(y.idist z)
    theorem Bool.isOpen_iff (s : Set Bool) :
    IsOpen s ↔ ∀ x ∈ s, ∃ ε > 0, ∀ (y : Bool), ↑(x.idist y) < ε → y ∈ s
    theorem Bool.eq_of_idist_eq_zero (x y : Bool) (h : x.idist y = 0) :
    x = y