Symbol representation of time units.
This is an ordinary defenum.
Function:
(defun vl-timeunit-p (x) (declare (xargs :guard t)) (or (eq x ':vl-s) (eq x ':vl-ms) (eq x ':vl-us) (eq x ':vl-ns) (eq x ':vl-ps) (eq x ':vl-fs)))
Theorem: type-when-vl-timeunit-p
(defthm type-when-vl-timeunit-p (implies (vl-timeunit-p x) (if (symbolp x) (if (not (equal x 't)) (not (equal x 'nil)) 'nil) 'nil)) :rule-classes :compound-recognizer)