Recognize a valid
See event-macro-screen-printing.
This is an ordinary std::defenum.
Function:
(defun evmac-input-print-p (x) (declare (xargs :guard t)) (or (eq x 'nil) (eq x ':error) (eq x ':result) (eq x ':info) (eq x ':all)))
Theorem: type-when-evmac-input-print-p
(defthm type-when-evmac-input-print-p (implies (evmac-input-print-p x) (if (if (symbolp x) (if (not (equal x 't)) (not (equal x 'nil)) 'nil) 'nil) 't (equal x 'nil))) :rule-classes :compound-recognizer)