(vl-paramdecl-remove-default x) → new-x
Function:
(defun vl-paramdecl-remove-default (x) (declare (xargs :guard (vl-paramdecl-p x))) (let ((__function__ 'vl-paramdecl-remove-default)) (declare (ignorable __function__)) (b* (((mv ?ok ans) (vl-paramdecl-set-default x nil))) ans)))
Theorem:
(defthm vl-paramdecl-p-of-vl-paramdecl-remove-default (b* ((new-x (vl-paramdecl-remove-default x))) (vl-paramdecl-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-paramdecl-remove-default-of-vl-paramdecl-fix-x (equal (vl-paramdecl-remove-default (vl-paramdecl-fix x)) (vl-paramdecl-remove-default x)))
Theorem:
(defthm vl-paramdecl-remove-default-vl-paramdecl-equiv-congruence-on-x (implies (vl-paramdecl-equiv x x-equiv) (equal (vl-paramdecl-remove-default x) (vl-paramdecl-remove-default x-equiv))) :rule-classes :congruence)