Recognizer for vl-gatedelay structures.
(vl-gatedelay-p x) → *
Function:
(defun vl-gatedelay-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-gatedelay-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-gatedelay) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-cdr (cdr x))) (b* ((rise (std::prod-car (cdr x))) (fall (std::prod-car (std::prod-cdr (cdr x)))) (high (std::prod-cdr (std::prod-cdr (cdr x))))) (and (vl-expr-p rise) (vl-expr-p fall) (vl-maybe-expr-p high))))))
Theorem:
(defthm consp-when-vl-gatedelay-p (implies (vl-gatedelay-p x) (consp x)) :rule-classes :compound-recognizer)