law take_append_drop

bend-mathlib@0.8.1.0 · string.bend:430

import bend-mathlib@0.8.1.0/string.bend as String
import Base

430# Taking n characters and appending the rest after dropping n gives the string back.
431law take_append_drop:
432  for s: String
433  for n: Nat
434  {String.append(String.take(s, n), String.drop(s, n)) == s : String}

Uses (5)

Used by (1)