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