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