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