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