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