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