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