Add
(vl-paramvalue-origexprs x) → new-x
Function:
(defun vl-paramvalue-origexprs (x) (declare (xargs :guard (vl-paramvalue-p x))) (let ((__function__ 'vl-paramvalue-origexprs)) (declare (ignorable __function__)) (let ((x (vl-paramvalue-fix x))) (vl-paramvalue-case x :expr (vl-expr-origexprs x) :datatype x))))
Theorem:
(defthm vl-paramvalue-p-of-vl-paramvalue-origexprs (b* ((new-x (vl-paramvalue-origexprs x))) (vl-paramvalue-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-paramvalue-origexprs-of-vl-paramvalue-fix-x (equal (vl-paramvalue-origexprs (vl-paramvalue-fix x)) (vl-paramvalue-origexprs x)))
Theorem:
(defthm vl-paramvalue-origexprs-vl-paramvalue-equiv-congruence-on-x (implies (vl-paramvalue-equiv x x-equiv) (equal (vl-paramvalue-origexprs x) (vl-paramvalue-origexprs x-equiv))) :rule-classes :congruence)