Recognizer for aignet-output-range-map.
(aignet-output-range-map-p x) → *
Function:
(defun aignet-output-range-map-p (x) (declare (xargs :guard t)) (let ((__function__ 'aignet-output-range-map-p)) (declare (ignorable __function__)) (if (atom x) (eq x nil) (and (consp (car x)) (symbolp (caar x)) (natp (cdar x)) (aignet-output-range-map-p (cdr x))))))
Theorem:
(defthm aignet-output-range-map-p-of-butlast (implies (aignet-output-range-map-p (double-rewrite x)) (aignet-output-range-map-p (butlast x acl2::n))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-rev (equal (aignet-output-range-map-p (acl2::rev x)) (aignet-output-range-map-p (acl2::list-fix x))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-append (equal (aignet-output-range-map-p (append acl2::a acl2::b)) (and (aignet-output-range-map-p (acl2::list-fix acl2::a)) (aignet-output-range-map-p acl2::b))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-list-fix (implies (aignet-output-range-map-p x) (aignet-output-range-map-p (acl2::list-fix x))) :rule-classes ((:rewrite)))
Theorem:
(defthm true-listp-when-aignet-output-range-map-p-compound-recognizer (implies (aignet-output-range-map-p x) (true-listp x)) :rule-classes :compound-recognizer)
Theorem:
(defthm aignet-output-range-map-p-when-not-consp (implies (not (consp x)) (equal (aignet-output-range-map-p x) (not x))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-cdr-when-aignet-output-range-map-p (implies (aignet-output-range-map-p (double-rewrite x)) (aignet-output-range-map-p (cdr x))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-cons (equal (aignet-output-range-map-p (cons acl2::a x)) (and (and (consp acl2::a) (symbolp (car acl2::a)) (natp (cdr acl2::a))) (aignet-output-range-map-p x))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-remove-assoc (implies (aignet-output-range-map-p x) (aignet-output-range-map-p (remove-assoc-equal acl2::name x))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-put-assoc (implies (and (aignet-output-range-map-p x)) (iff (aignet-output-range-map-p (put-assoc-equal acl2::name acl2::val x)) (and (symbolp acl2::name) (natp acl2::val)))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-fast-alist-clean (implies (aignet-output-range-map-p x) (aignet-output-range-map-p (fast-alist-clean x))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-hons-shrink-alist (implies (and (aignet-output-range-map-p x) (aignet-output-range-map-p acl2::y)) (aignet-output-range-map-p (hons-shrink-alist x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm aignet-output-range-map-p-of-hons-acons (equal (aignet-output-range-map-p (hons-acons acl2::a acl2::n x)) (and (symbolp acl2::a) (natp acl2::n) (aignet-output-range-map-p x))) :rule-classes ((:rewrite)))
Theorem:
(defthm natp-of-cdr-of-hons-assoc-equal-when-aignet-output-range-map-p (implies (aignet-output-range-map-p x) (iff (natp (cdr (hons-assoc-equal acl2::k x))) (or (hons-assoc-equal acl2::k x) (natp nil)))) :rule-classes ((:rewrite)))
Theorem:
(defthm alistp-when-aignet-output-range-map-p-rewrite (implies (aignet-output-range-map-p x) (alistp x)) :rule-classes ((:rewrite)))
Theorem:
(defthm alistp-when-aignet-output-range-map-p (implies (aignet-output-range-map-p x) (alistp x)) :rule-classes :tau-system)
Theorem:
(defthm natp-of-cdar-when-aignet-output-range-map-p (implies (aignet-output-range-map-p x) (iff (natp (cdar x)) (or (consp x) (natp nil)))) :rule-classes ((:rewrite)))
Theorem:
(defthm symbolp-of-caar-when-aignet-output-range-map-p (implies (aignet-output-range-map-p x) (iff (symbolp (caar x)) (or (consp x) (symbolp nil)))) :rule-classes ((:rewrite)))