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