(vl-fundecl-deltemps x) → new-x
Function:
(defun vl-fundecl-deltemps (x) (declare (xargs :guard (vl-fundecl-p x))) (let ((__function__ 'vl-fundecl-deltemps)) (declare (ignorable __function__)) (b* (((vl-fundecl x) (vl-fundecl-fix x))) (b* ((body (vl-stmt-deltemps x.body)) (function-map (vl-function-specialization-map-deltemps x.function-map)) (loaditems ((lambda (x) (declare (ignore x)) nil) x.loaditems))) (change-vl-fundecl x :body body :function-map function-map :loaditems loaditems)))))
Theorem:
(defthm vl-fundecl-p-of-vl-fundecl-deltemps (b* ((new-x (vl-fundecl-deltemps x))) (vl-fundecl-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-fundecl-deltemps-of-vl-fundecl-fix-x (equal (vl-fundecl-deltemps (vl-fundecl-fix x)) (vl-fundecl-deltemps x)))
Theorem:
(defthm vl-fundecl-deltemps-vl-fundecl-equiv-congruence-on-x (implies (vl-fundecl-equiv x x-equiv) (equal (vl-fundecl-deltemps x) (vl-fundecl-deltemps x-equiv))) :rule-classes :congruence)