(vl-always-unelse x) → new-x
Function:
(defun vl-always-unelse (x) (declare (xargs :guard (vl-always-p x))) (let ((__function__ 'vl-always-unelse)) (declare (ignorable __function__)) (b* (((vl-always x) x) (stmt (vl-stmt-unelse x.stmt))) (change-vl-always x :stmt stmt))))
Theorem:
(defthm vl-always-p-of-vl-always-unelse (implies (and (force (vl-always-p x))) (b* ((new-x (vl-always-unelse x))) (vl-always-p new-x))) :rule-classes :rewrite)