Get the kind (tag) of a timer structure.
(timer-kind x) → kind
Function:
(defun timer-kind$inline (x) (declare (xargs :guard (timerp x))) (let ((__function__ 'timer-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :running)) :running) (t :expired)) :exec (car x))))
Theorem:
(defthm timer-kind-possibilities (or (equal (timer-kind x) :running) (equal (timer-kind x) :expired)) :rule-classes ((:forward-chaining :trigger-terms ((timer-kind x)))))