(driverlist-vars x) → vars
Function:
(defun driverlist-vars (x) (declare (xargs :guard (driverlist-p x))) (let ((__function__ 'driverlist-vars)) (declare (ignorable __function__)) (if (atom x) nil (append (svex-vars (driver->value (car x))) (driverlist-vars (cdr x))))))
Theorem:
(defthm svarlist-p-of-driverlist-vars (b* ((vars (driverlist-vars x))) (svarlist-p vars)) :rule-classes :rewrite)
Theorem:
(defthm driverlist-vars-of-cons (equal (driverlist-vars (cons x y)) (append (svex-vars (driver->value x)) (driverlist-vars y))))
Theorem:
(defthm driverlist-vars-of-driverlist-fix-x (equal (driverlist-vars (driverlist-fix x)) (driverlist-vars x)))
Theorem:
(defthm driverlist-vars-driverlist-equiv-congruence-on-x (implies (driverlist-equiv x x-equiv) (equal (driverlist-vars x) (driverlist-vars x-equiv))) :rule-classes :congruence)