Representation of the lifetime of a variable, function, task, etc.
This is an ordinary defenum.
Function:
(defun vl-lifetime-p (x) (declare (xargs :guard t)) (or (eq x 'nil) (eq x ':vl-static) (eq x ':vl-automatic)))
Theorem: type-when-vl-lifetime-p
(defthm type-when-vl-lifetime-p (implies (vl-lifetime-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)