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