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