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