Get the kind (tag) of a iconst-base structure.
(iconst-base-kind x) → kind
Function:
(defun iconst-base-kind$inline (x) (declare (xargs :guard (iconst-basep x))) (let ((__function__ 'iconst-base-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :dec)) :dec) ((eq (car x) :oct) :oct) (t :hex)) :exec (car x))))
Theorem:
(defthm iconst-base-kind-possibilities (or (equal (iconst-base-kind x) :dec) (equal (iconst-base-kind x) :oct) (equal (iconst-base-kind x) :hex)) :rule-classes ((:forward-chaining :trigger-terms ((iconst-base-kind x)))))