Filtering...

symbol-symbol-alistp

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

Included Books

other
(in-package "ACL2")
include-book
(include-book "std/util/defalist" :dir :system)
other
(defalist symbol-symbol-alistp
  (x)
  :parents (std/typed-alists)
  :short "Recognize alists from symbols to symbols."
  :key (symbolp x)
  :val (symbolp x)
  :true-listp t
  :keyp-of-nil t
  :valp-of-nil t
  ///
  (defthmd symbol-listp-of-strip-cdrs-when-symbol-symbol-alistp
    (implies (symbol-symbol-alistp x)
      (symbol-listp (strip-cdrs x))))
  (defthmd symbol-alistp-when-symbol-symbol-alistp
    (implies (symbol-symbol-alistp x) (symbol-alistp x))))