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