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