Get the lsb field from a range.
This is an ordinary field accessor created by defprod.
Function:
(defun range->lsb$inline (x) (declare (xargs :guard (range-p x))) (declare (xargs :guard t)) (let ((__function__ 'range->lsb)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (nfix (std::prod-car x))) :exec (std::prod-car x))))
Theorem:
(defthm natp-of-range->lsb (b* ((lsb (range->lsb$inline x))) (natp lsb)) :rule-classes :type-prescription)
Theorem:
(defthm range->lsb$inline-of-range-fix-x (equal (range->lsb$inline (range-fix x)) (range->lsb$inline x)))
Theorem:
(defthm range->lsb$inline-range-equiv-congruence-on-x (implies (range-equiv x x-equiv) (equal (range->lsb$inline x) (range->lsb$inline x-equiv))) :rule-classes :congruence)