Helpers for termination arguments about functions operating on strings #
The number of bytes between p and the end position. This number decreases as p advances.
Instances For
@[instance_reducible]
Type alias for String.Slice.Pos representing that the given position is expected to decrease
in recursive calls.
- inner : s.Pos
Instances For
@[instance_reducible]
The number of bytes between p and the end position. This number decreases as p advances.
Instances For
@[simp]
@[instance_reducible]
Type alias for String.Pos representing that the given position is expected to decrease
in recursive calls.
- inner : s.Pos
Instances For
@[instance_reducible]
theorem String.Pos.Splits.remainingBytes_eq {s : String} {p : s.Pos} {t₁ t₂ : String} (h : p.Splits t₁ t₂) :
@[simp]
theorem String.Slice.Pos.Splits.remainingBytes_eq {s : Slice} {p : s.Pos} {t₁ t₂ : String} (h : p.Splits t₁ t₂) :