Get the kind (tag) of a constraint-result structure.
(constraint-result-kind acl2::x) → kind
Function:
(defun constraint-result-kind$inline (acl2::x) (declare (xargs :guard (constraint-resultp acl2::x))) (let ((__function__ 'constraint-result-kind)) (declare (ignorable __function__)) (cond ((constraintp acl2::x) :ok) (t :err))))
Theorem:
(defthm constraint-result-kind-possibilities (or (equal (constraint-result-kind acl2::x) :ok) (equal (constraint-result-kind acl2::x) :err)) :rule-classes ((:forward-chaining :trigger-terms ((constraint-result-kind acl2::x)))))