Filtering...

symbol-string-alistp

books/std/typed-alists/symbol-string-alistp

Included Books

other
(in-package "ACL2")
include-book
(include-book "std/util/defalist" :dir :system)
other
(defalist symbol-string-alistp
  (x)
  :parents (std/typed-alists)
  :short "Recognize alists from symbols to strings."
  :key (symbolp x)
  :val (stringp x)
  :true-listp t
  :keyp-of-nil t
  :valp-of-nil nil
  ///
  (defthm stringp-of-cdr-of-assoc-equal-when-symbol-string-alistp
    (implies (symbol-string-alistp alist)
      (iff (stringp (cdr (assoc-equal key alist)))
        (assoc-equal key alist)))))