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