@[implicit_reducible]
Equations
- String.Slice.Pattern.Model.Char.instPatternModelChar = { Matches := fun (s : String) => s = String.singleton c, not_matches_empty := ⋯ }
theorem
String.Slice.Pattern.Model.Char.isRevMatch_iff_isRevMatch_beq
{c : Char}
{s : Slice}
{pos : s.Pos}
:
theorem
String.Slice.Pattern.Model.Char.isLongestMatch_iff_isLongestMatch_beq
{c : Char}
{s : Slice}
{pos : s.Pos}
:
theorem
String.Slice.Pattern.Model.Char.isLongestRevMatch_iff_isLongestRevMatch_beq
{c : Char}
{s : Slice}
{pos : s.Pos}
:
theorem
String.Slice.Pattern.Model.Char.isLongestMatchAt_iff_isLongestMatchAt_beq
{c : Char}
{s : Slice}
{pos pos' : s.Pos}
:
theorem
String.Slice.Pattern.Model.Char.isLongestRevMatchAt_iff_isLongestRevMatchAt_beq
{c : Char}
{s : Slice}
{pos pos' : s.Pos}
:
theorem
String.Slice.Pattern.Model.Char.revMatchesAt_iff_revMatchesAt_beq
{c : Char}
{s : Slice}
{pos : s.Pos}
:
theorem
String.Slice.Pattern.Model.Char.revMatchAt?_eq_revMatchAt?_beq
{c : Char}
{s : Slice}
{pos : s.Pos}
:
theorem
String.Slice.Pattern.Model.Char.isValidSearchFrom_iff_isValidSearchFrom_beq
{c : Char}
{s : Slice}
{p : s.Pos}
{l : List (SearchStep s)}
:
theorem
String.Slice.Pattern.Model.Char.isValidRevSearchFrom_iff_isValidRevSearchFrom_beq
{c : Char}
{s : Slice}
{p : s.Pos}
{l : List (SearchStep s)}
:
theorem
String.Slice.Pattern.ForwardPattern.skipPrefix?_char_eq_skipPrefix?_beq
{c : Char}
{s : Slice}
:
theorem
String.Slice.Pattern.BackwardPattern.skipSuffix?_char_eq_skipSuffix?_beq
{c : Char}
{s : Slice}
:
theorem
String.Slice.Pos.revSkipWhile_char_eq_revSkipWhile_beq
{c : Char}
{s : Slice}
(curr : s.Pos)
: