Basic theorems about vl-locationlist-p, generated by deflist.
Theorem:
(defthm vl-locationlist-p-of-cons (equal (vl-locationlist-p (cons acl2::a acl2::x)) (and (vl-location-p acl2::a) (vl-locationlist-p acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-locationlist-p-of-cdr-when-vl-locationlist-p (implies (vl-locationlist-p (double-rewrite acl2::x)) (vl-locationlist-p (cdr acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-locationlist-p-when-not-consp (implies (not (consp acl2::x)) (vl-locationlist-p acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-location-p-of-car-when-vl-locationlist-p (implies (vl-locationlist-p acl2::x) (iff (vl-location-p (car acl2::x)) (or (consp acl2::x) (vl-location-p nil)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-locationlist-p-of-append (equal (vl-locationlist-p (append acl2::a acl2::b)) (and (vl-locationlist-p acl2::a) (vl-locationlist-p acl2::b))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-locationlist-p-of-list-fix (equal (vl-locationlist-p (list-fix acl2::x)) (vl-locationlist-p acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-locationlist-p-of-rev (equal (vl-locationlist-p (rev acl2::x)) (vl-locationlist-p (list-fix acl2::x))) :rule-classes ((:rewrite)))