Get the get field from a floating-point-value-float.
(floating-point-value-float->get acl2::x) → get
This is an ordinary field accessor created by fty::defprod.
Function:
(defun floating-point-value-float->get$inline (acl2::x) (declare (xargs :guard (floating-point-valuep acl2::x))) (declare (xargs :guard (equal (floating-point-value-kind acl2::x) :float))) (let ((__function__ 'floating-point-value-float->get)) (declare (ignorable __function__)) (mbe :logic (b* ((acl2::x (and (equal (floating-point-value-kind acl2::x) :float) acl2::x))) (float-value-fix acl2::x)) :exec acl2::x)))
Theorem:
(defthm float-valuep-of-floating-point-value-float->get (b* ((get (floating-point-value-float->get$inline acl2::x))) (float-valuep get)) :rule-classes :rewrite)
Theorem:
(defthm floating-point-value-float->get$inline-of-floating-point-value-fix-x (equal (floating-point-value-float->get$inline (floating-point-value-fix acl2::x)) (floating-point-value-float->get$inline acl2::x)))
Theorem:
(defthm floating-point-value-float->get$inline-floating-point-value-equiv-congruence-on-x (implies (floating-point-value-equiv acl2::x x-equiv) (equal (floating-point-value-float->get$inline acl2::x) (floating-point-value-float->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm floating-point-value-float->get-when-wrong-kind (implies (not (equal (floating-point-value-kind acl2::x) :float)) (equal (floating-point-value-float->get acl2::x) (float-value-fix nil))))