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