{motive : Substring.Raw → Sort u} →
  (t : Substring.Raw) →
    ((str : String) →
        (startPos stopPos : String.Pos.Raw) → motive { str := str, startPos := startPos, stopPos := stopPos }) →
      motive t