This is an ordinary defenum.
Function:
(defun debugdata-status-p (x) (declare (xargs :guard t)) (or (eq x ':empty) (eq x ':initialized) (eq x ':composed)))
Theorem: type-when-debugdata-status-p
(defthm type-when-debugdata-status-p (implies (debugdata-status-p x) (if (symbolp x) (if (not (equal x 't)) (not (equal x 'nil)) 'nil) 'nil)) :rule-classes :compound-recognizer)