Filtering...

acl2-number-listp

books/std/typed-lists/acl2-number-listp

Included Books

other
(in-package "ACL2")
include-book
(include-book "std/util/deflist" :dir :system)
in-theory
(in-theory (disable acl2-number-listp))
other
(defsection std/typed-lists/acl2-number-listp
  :parents (acl2-number-listp)
  :short "Lemmas about @(see acl2-number-listp) available in the @(see
std/typed-lists) library."
  :long "<p>Most of these are generated automatically with @(see
std::deflist).</p>"
  (deflist acl2-number-listp
    (x)
    (acl2-numberp x)
    :true-listp t
    :elementp-of-nil nil
    :already-definedp t
    :parents nil)
  (defthm acl2-number-listp-of-remove-equal
    (implies (acl2-number-listp x)
      (acl2-number-listp (remove-equal a x))))
  (defthm acl2-number-listp-of-make-list-ac
    (equal (acl2-number-listp (make-list-ac n x ac))
      (and (acl2-number-listp ac) (or (acl2-numberp x) (zp n)))))
  (defthm eqlable-listp-when-acl2-number-listp
    (implies (acl2-number-listp x) (eqlable-listp x))))