Equations
- One or more equations did not get rendered due to their size.
@[simp]
@[simp]
theorem
String.pos_add_char
(p : String.Pos)
(c : Char)
:
(p + c).byteIdx = p.byteIdx + String.csize c
theorem
String.eq_empty_of_bsize_eq_zero
{s : String}
(h : String.endPos s = { byteIdx := 0 })
:
s = ""
theorem
String.Iterator.sizeOf_next_lt_of_hasNext
(i : String.Iterator)
(h : String.Iterator.hasNext i = true)
:
sizeOf (String.Iterator.next i) < sizeOf i
theorem
String.Iterator.sizeOf_next_lt_of_atEnd
(i : String.Iterator)
(h : ¬String.Iterator.atEnd i = true)
:
sizeOf (String.Iterator.next i) < sizeOf i