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