Basic lemmas about strings #
This file contains lemmas that could be in Init.Data.String.Basic but are not because they are
not needed to define basic string operations.
theorem
String.getUTF8Byte_eq_getUTF8Byte_toSlice
{s : String}
{p : Pos.Raw}
{h : p < s.rawEndPos}
:
@[simp]
@[simp]
theorem
String.Slice.cast_pos
{s t : Slice}
{p : Pos.Raw}
{h : Pos.Raw.IsValidForSlice s p}
{h' : s = t}
:
@[simp]