Extension of 4v-sexpr-vars-alists to a list of sexpr alists.
Function:
(defun 4v-sexpr-vars-alists (x) (declare (xargs :guard t)) (if (atom x) nil (mbe :logic (set::union (4v-sexpr-vars-alist (car x)) (4v-sexpr-vars-alists (cdr x))) :exec (hons-alphorder-merge (4v-sexpr-vars-alist (car x)) (4v-sexpr-vars-alists (cdr x))))))
Theorem:
(defthm atom-listp-of-4v-sexpr-vars-alists (atom-listp (4v-sexpr-vars-alists x)))
Theorem:
(defthm setp-of-4v-sexpr-vars-alists (set::setp (4v-sexpr-vars-alists x)))