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