(motive : Substring.Raw → (Char → Bool) → Sort u_1) →
  (x : Substring.Raw) →
    (x_1 : Char → Bool) →
      ((s : String) → (b e : String.Pos.Raw) → (p : Char → Bool) → motive { str := s, startPos := b, stopPos := e } p) →
        motive x x_1