Recognizer for svtv*-phase structures.
(svtv*-phase-p x) → *
Function:
(defun svtv*-phase-p (x) (declare (xargs :guard t)) (let ((__function__ 'svtv*-phase-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 4) (b* ((label (std::da-nth 0 x)) (inputs (std::da-nth 1 x)) (overrides (std::da-nth 2 x)) (outputs (std::da-nth 3 x))) (and (symbolp label) (svtv*-input-alist-p inputs) (svtv*-input-alist-p overrides) (svtv*-output-alist-p outputs))))))
Theorem:
(defthm consp-when-svtv*-phase-p (implies (svtv*-phase-p x) (consp x)) :rule-classes :compound-recognizer)