Get the range field from a repetition.
(repetition->range x) → range
This is an ordinary field accessor created by fty::defprod.
Function:
(defun repetition->range$inline (x) (declare (xargs :guard (repetitionp x))) (declare (xargs :guard t)) (let ((__function__ 'repetition->range)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (repeat-range-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm repeat-rangep-of-repetition->range (b* ((range (repetition->range$inline x))) (repeat-rangep range)) :rule-classes :rewrite)
Theorem:
(defthm repetition->range$inline-of-repetition-fix-x (equal (repetition->range$inline (repetition-fix x)) (repetition->range$inline x)))
Theorem:
(defthm repetition->range$inline-repetition-equiv-congruence-on-x (implies (repetition-equiv x x-equiv) (equal (repetition->range$inline x) (repetition->range$inline x-equiv))) :rule-classes :congruence)