Recognizer for simple delays by some natural-number amount.
(vl-simpledelaycontrol-p x) → bool
Function:
(defun vl-simpledelaycontrol-p$inline (x) (declare (xargs :guard (vl-delaycontrol-p x))) (let ((__function__ 'vl-simpledelaycontrol-p)) (declare (ignorable __function__)) (b* ((val (vl-delaycontrol->value x))) (and (vl-expr-resolved-p val) (<= 0 (vl-resolved->val val))))))
Theorem:
(defthm vl-simpledelaycontrol-p$inline-of-vl-delaycontrol-fix-x (equal (vl-simpledelaycontrol-p$inline (vl-delaycontrol-fix x)) (vl-simpledelaycontrol-p$inline x)))
Theorem:
(defthm vl-simpledelaycontrol-p$inline-vl-delaycontrol-equiv-congruence-on-x (implies (vl-delaycontrol-equiv x x-equiv) (equal (vl-simpledelaycontrol-p$inline x) (vl-simpledelaycontrol-p$inline x-equiv))) :rule-classes :congruence)