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