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