Filtering...

char

books/kestrel/strings-light/char

Included Books

nth
other
(in-package "ACL2")
local
(local (include-book "kestrel/lists-light/nth" :dir :system))
characterp-of-chartheorem
(defthm characterp-of-char
  (equal (characterp (char s n))
    (and (stringp s) (< (nfix n) (length s))))
  :hints (("Goal" :cases ((characterp (nth n (coerce s 'list)))))))