Recognizer for pipeline-setup structures.
(pipeline-setup-p x) → *
Function:
(defun pipeline-setup-p (x) (declare (xargs :guard t)) (let ((__function__ 'pipeline-setup-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(probes inputs override-vals override-tests initst))) :exec (fty::alist-with-carsp x '(probes inputs override-vals override-tests initst))) (b* ((probes (cdr (std::da-nth 0 x))) (inputs (cdr (std::da-nth 1 x))) (override-vals (cdr (std::da-nth 2 x))) (override-tests (cdr (std::da-nth 3 x))) (initst (cdr (std::da-nth 4 x)))) (and (svtv-probealist-p probes) (svex-alistlist-p inputs) (svex-alistlist-p override-vals) (svex-alistlist-p override-tests) (svex-alist-p initst))))))
Theorem:
(defthm consp-when-pipeline-setup-p (implies (pipeline-setup-p x) (consp x)) :rule-classes :compound-recognizer)