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