(lhs-override-vars x) → vars
Function:
(defun lhs-override-vars (x) (declare (xargs :guard (lhs-override-p x))) (let ((__function__ 'lhs-override-vars)) (declare (ignorable __function__)) (b* (((lhs-override x))) (append (svex-vars x.test) (svex-vars x.val)))))
Theorem:
(defthm svarlist-p-of-lhs-override-vars (b* ((vars (lhs-override-vars x))) (svarlist-p vars)) :rule-classes :rewrite)
Theorem:
(defthm vars-of-lhs-override->test (implies (not (member v (lhs-override-vars x))) (not (member v (svex-vars (lhs-override->test x))))))
Theorem:
(defthm vars-of-lhs-override->val (implies (not (member v (lhs-override-vars x))) (not (member v (svex-vars (lhs-override->val x))))))
Theorem:
(defthm vars-of-lhs-override (implies (and (not (member v (svex-vars test))) (not (member v (svex-vars val)))) (not (member v (lhs-override-vars (lhs-override lhs test val))))))
Theorem:
(defthm lhs-override-vars-of-lhs-override-fix-x (equal (lhs-override-vars (lhs-override-fix x)) (lhs-override-vars x)))
Theorem:
(defthm lhs-override-vars-lhs-override-equiv-congruence-on-x (implies (lhs-override-equiv x x-equiv) (equal (lhs-override-vars x) (lhs-override-vars x-equiv))) :rule-classes :congruence)