Very basic unary sequence/property operators.
This is an ordinary defenum.
Function:
(defun vl-property-unaryop-p (x) (declare (xargs :guard t)) (or (eq x ':vl-prop-firstmatch) (eq x ':vl-prop-not) (eq x ':vl-prop-strong) (eq x ':vl-prop-weak)))
Theorem: type-when-vl-property-unaryop-p
(defthm type-when-vl-property-unaryop-p (implies (vl-property-unaryop-p x) (if (symbolp x) (if (not (equal x 't)) (not (equal x 'nil)) 'nil) 'nil)) :rule-classes :compound-recognizer)