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