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