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