(vl-class-increwrite x) → new-x
Function:
(defun vl-class-increwrite (x) (declare (xargs :guard (vl-class-p x))) (let ((__function__ 'vl-class-increwrite)) (declare (ignorable __function__)) (b* (((vl-class x) (vl-class-fix x))) (b* ((fundecls (vl-fundecllist-increwrite x.fundecls)) (taskdecls (vl-taskdecllist-increwrite x.taskdecls))) (change-vl-class x :fundecls fundecls :taskdecls taskdecls)))))
Theorem:
(defthm vl-class-p-of-vl-class-increwrite (b* ((new-x (vl-class-increwrite x))) (vl-class-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-class-increwrite-of-vl-class-fix-x (equal (vl-class-increwrite (vl-class-fix x)) (vl-class-increwrite x)))
Theorem:
(defthm vl-class-increwrite-vl-class-equiv-congruence-on-x (implies (vl-class-equiv x x-equiv) (equal (vl-class-increwrite x) (vl-class-increwrite x-equiv))) :rule-classes :congruence)