Get the kind (tag) of a integral-value structure.
(integral-value-kind acl2::x) → kind
Function:
(defun integral-value-kind$inline (acl2::x) (declare (xargs :guard (integral-valuep acl2::x))) (let ((__function__ 'integral-value-kind)) (declare (ignorable __function__)) (cond ((char-valuep acl2::x) :char) ((byte-valuep acl2::x) :byte) ((short-valuep acl2::x) :short) ((int-valuep acl2::x) :int) (t :long))))
Theorem:
(defthm integral-value-kind-possibilities (or (equal (integral-value-kind acl2::x) :char) (equal (integral-value-kind acl2::x) :byte) (equal (integral-value-kind acl2::x) :short) (equal (integral-value-kind acl2::x) :int) (equal (integral-value-kind acl2::x) :long)) :rule-classes ((:forward-chaining :trigger-terms ((integral-value-kind acl2::x)))))