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