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