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