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