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