(svar-map-vars x) → vars
Function:
(defun svar-map-vars (x) (declare (xargs :guard (svar-map-p x))) (let ((__function__ 'svar-map-vars)) (declare (ignorable __function__)) (b* ((x (svar-map-fix x))) (if (atom x) nil (append (list (caar x)) (list (cdar x)) (svar-map-vars (cdr x)))))))
Theorem:
(defthm svarlist-p-of-svar-map-vars (b* ((vars (svar-map-vars x))) (svarlist-p vars)) :rule-classes :rewrite)
Theorem:
(defthm svar-map-vars-of-svar-map-fix-x (equal (svar-map-vars (svar-map-fix x)) (svar-map-vars x)))
Theorem:
(defthm svar-map-vars-svar-map-equiv-congruence-on-x (implies (svar-map-equiv x x-equiv) (equal (svar-map-vars x) (svar-map-vars x-equiv))) :rule-classes :congruence)