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