Documentation
Init
.
Data
.
String
.
Lemmas
.
StringOrder
Search
return to top
source
Imports
Init.Data.String.Basic
Init.Data.String.Compare
Init.Data.String.Lemmas.Decode
Imported by
String
.
not_le
String
.
not_lt
String
.
le_refl
String
.
lt_irrefl
String
.
le_trans
String
.
lt_trans
String
.
le_total
String
.
le_antisymm
String
.
lt_asymm
String
.
ne_of_lt
String
.
toList_lt_toList_iff
String
.
lt_iff
String
.
toList_le_toList_iff
String
.
compare_toList_toList
source
@[deprecated Std.not_le (since := "2026-10-09")]
theorem
String
.
not_le
{
a
b
:
String
}
:
¬
a
≤
b
↔
b
<
a
source
@[deprecated Std.not_lt (since := "2026-10-09")]
theorem
String
.
not_lt
{
a
b
:
String
}
:
¬
a
<
b
↔
b
≤
a
source
@[deprecated Std.le_refl (since := "2026-10-09")]
theorem
String
.
le_refl
(
a
:
String
)
:
a
≤
a
source
@[deprecated Std.lt_irrefl (since := "2026-10-09")]
theorem
String
.
lt_irrefl
(
a
:
String
)
:
¬
a
<
a
source
@[deprecated Std.lt_irrefl (since := "2026-10-09")]
theorem
String
.
le_trans
{
a
b
c
:
String
}
:
a
≤
b
→
b
≤
c
→
a
≤
c
source
@[deprecated Std.lt_irrefl (since := "2026-10-09")]
theorem
String
.
lt_trans
{
a
b
c
:
String
}
:
a
<
b
→
b
<
c
→
a
<
c
source
@[deprecated Std.lt_irrefl (since := "2026-10-09")]
theorem
String
.
le_total
(
a
b
:
String
)
:
a
≤
b
∨
b
≤
a
source
@[deprecated Std.lt_irrefl (since := "2026-10-09")]
theorem
String
.
le_antisymm
{
a
b
:
String
}
:
a
≤
b
→
b
≤
a
→
a
=
b
source
@[deprecated Std.lt_irrefl (since := "2026-10-09")]
theorem
String
.
lt_asymm
{
a
b
:
String
}
(
h
:
a
<
b
)
:
¬
b
<
a
source
@[deprecated Std.lt_irrefl (since := "2026-10-09")]
theorem
String
.
ne_of_lt
{
a
b
:
String
}
(
h
:
a
<
b
)
:
a
≠
b
source
@[simp]
theorem
String
.
toList_lt_toList_iff
{
s
t
:
String
}
:
s
.
toList
<
t
.
toList
↔
s
<
t
source
@[deprecated String.toList_lt_toList_iff (since := "2026-10-09")]
theorem
String
.
lt_iff
{
s
t
:
String
}
:
s
<
t
↔
s
.
toList
<
t
.
toList
source
@[simp]
theorem
String
.
toList_le_toList_iff
{
s
t
:
String
}
:
s
.
toList
≤
t
.
toList
↔
s
≤
t
source
@[simp]
theorem
String
.
compare_toList_toList
{
s
t
:
String
}
:
compare
s
.
toList
t
.
toList
=
compare
s
t