(vl-vardecllist-strip x) → new-x
Function:
(defun vl-vardecllist-strip (x) (declare (xargs :guard (vl-vardecllist-p x))) (let ((__function__ 'vl-vardecllist-strip)) (declare (ignorable __function__)) (b* (((when (atom x)) (b* nil x)) (car (vl-vardecl-strip (car x))) (cdr (vl-vardecllist-strip (cdr x)))) (cons-with-hint car cdr x))))
Theorem:
(defthm vl-vardecllist-p-of-vl-vardecllist-strip (b* ((new-x (vl-vardecllist-strip x))) (vl-vardecllist-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-vardecllist-strip-of-vl-vardecllist-fix-x (equal (vl-vardecllist-strip (vl-vardecllist-fix x)) (vl-vardecllist-strip x)))
Theorem:
(defthm vl-vardecllist-strip-vl-vardecllist-equiv-congruence-on-x (implies (vl-vardecllist-equiv x x-equiv) (equal (vl-vardecllist-strip x) (vl-vardecllist-strip x-equiv))) :rule-classes :congruence)