Documentation

Batteries.Data.Char.Basic

theorem List.mem_finRange {n : Nat} (x : Fin n) :
theorem Char.le_antisymm_iff {x y : Char} :
x = y x y y x
@[simp]
theorem Char.toNat_val (c : Char) :
@[simp]
theorem Char.toNat_ofNatAux {n : Nat} (h : n.isValidChar) :
(ofNatAux n h).toNat = n
def Char.all (p : CharBool) :

Returns true if p returns true for every Char.

Equations
Instances For
    theorem Char.eq_true_of_all_eq_true {p : CharBool} (h : Char.all p = true) (c : Char) :
    p c = true
    def Char.any (p : CharBool) :

    Returns true if p returns true for some Char.

    Equations
    Instances For
      theorem Char.eq_false_of_any_eq_false {p : CharBool} (h : Char.any p = false) (c : Char) :
      p c = false