mathlib documentation

core.​init.​data.​string.​basic

core.​init.​data.​string.​basic

structure string_imp  :
Type

def string  :
Type

Equations

Equations
@[instance]

Equations
@[instance]
def string.​has_decidable_lt (s₁ s₂ : string) :
decidable (s₁ < s₂)

Equations
@[instance]

Equations

Equations

Equations
def string.​push  :

Equations

Equations

Equations
def string.​fold {α : Type u_1} :
α → (α → char → α)string → α

Equations
structure string.​iterator_imp  :
Type

Equations

Equations
@[instance]

Equations

Equations

Equations

Equations

Equations

Equations
theorem string.​empty_ne_str (c : char) (s : string) :
"" s.str c

theorem string.​str_ne_empty (c : char) (s : string) :
s.str c ""

theorem string.​str_ne_str_left {c₁ c₂ : char} (s₁ s₂ : string) :
c₁ c₂s₁.str c₁ s₂.str c₂

theorem string.​str_ne_str_right (c₁ c₂ : char) {s₁ s₂ : string} :
s₁ s₂s₁.str c₁ s₂.str c₂