Recognizer for svtv-probe structures.
(svtv-probe-p x) → *
Function:
(defun svtv-probe-p (x) (declare (xargs :guard t)) (let ((__function__ 'svtv-probe-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(signal time))) :exec (fty::alist-with-carsp x '(signal time))) (b* ((signal (cdr (std::da-nth 0 x))) (time (cdr (std::da-nth 1 x)))) (and (svar-p signal) (natp time))))))
Theorem:
(defthm consp-when-svtv-probe-p (implies (svtv-probe-p x) (consp x)) :rule-classes :compound-recognizer)