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