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