Add
(vl-paramargs-origexprs x) → new-x
Function:
(defun vl-paramargs-origexprs (x) (declare (xargs :guard (vl-paramargs-p x))) (let ((__function__ 'vl-paramargs-origexprs)) (declare (ignorable __function__)) (let ((x (vl-paramargs-fix x))) (vl-paramargs-case x :vl-paramargs-named (change-vl-paramargs-named x :args (vl-namedparamvaluelist-origexprs x.args)) :vl-paramargs-plain (change-vl-paramargs-plain x :args (vl-paramvaluelist-origexprs x.args))))))
Theorem:
(defthm vl-paramargs-p-of-vl-paramargs-origexprs (b* ((new-x (vl-paramargs-origexprs x))) (vl-paramargs-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-paramargs-origexprs-of-vl-paramargs-fix-x (equal (vl-paramargs-origexprs (vl-paramargs-fix x)) (vl-paramargs-origexprs x)))
Theorem:
(defthm vl-paramargs-origexprs-vl-paramargs-equiv-congruence-on-x (implies (vl-paramargs-equiv x x-equiv) (equal (vl-paramargs-origexprs x) (vl-paramargs-origexprs x-equiv))) :rule-classes :congruence)