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