Get the kind (tag) of a amb?-declon/stmt structure.
(amb?-declon/stmt-kind x) → kind
Function:
(defun amb?-declon/stmt-kind$inline (x) (declare (xargs :guard (amb?-declon/stmt-p x))) (mbe :logic (cond ((or (atom x) (eq (car x) :declon)) :declon) ((eq (car x) :stmt) :stmt) (t :ambig)) :exec (car x)))
Theorem:
(defthm amb?-declon/stmt-kind-possibilities (or (equal (amb?-declon/stmt-kind x) :declon) (equal (amb?-declon/stmt-kind x) :stmt) (equal (amb?-declon/stmt-kind x) :ambig)) :rule-classes ((:forward-chaining :trigger-terms ((amb?-declon/stmt-kind x)))))