This is an ordinary defenum.
Function:
(defun logicman-field-p (x) (declare (xargs :guard t)) (or (eq x ':aignet) (eq x ':strash) (eq x ':ipasir) (eq x ':sat-lits) (eq x ':mode) (eq x ':aignet-refcounts) (eq x ':refcounts-index)))
Theorem: type-when-logicman-field-p
(defthm type-when-logicman-field-p (implies (logicman-field-p x) (if (symbolp x) (if (not (equal x 't)) (not (equal x 'nil)) 'nil) 'nil)) :rule-classes :compound-recognizer)