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