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