Recognizer for valid operators.
(vl-op-p x) → *
(vl-op-p x) checks that
Function:
(defun vl-op-p$inline (x) (declare (xargs :guard t)) (let ((__function__ 'vl-op-p)) (declare (ignorable __function__)) (if (assoc x (vl-ops-table)) t nil)))
Theorem:
(defthm type-when-vl-op-p (implies (vl-op-p x) (and (symbolp x) (not (equal x t)) (not (equal x nil)))) :rule-classes :compound-recognizer)
Theorem:
(defthm vl-opinfo-p-of-lookup-when-vl-op-p (implies (vl-op-p x) (and (vl-opinfo-p (cdr (assoc x (vl-ops-table)))) (vl-opinfo-p (cdr (hons-assoc-equal x (vl-ops-table)))))))