Recognizer for svtv*-input structures.
(svtv*-input-p x) → *
Function:
(defun svtv*-input-p (x) (declare (xargs :guard t)) (let ((__function__ 'svtv*-input-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 3) (b* ((setting (std::da-nth 0 x)) (toggle (std::da-nth 1 x)) (hold (std::da-nth 2 x))) (and (svtv-entry-p setting) (maybe-posp toggle) (natp hold))))))
Theorem:
(defthm consp-when-svtv*-input-p (implies (svtv*-input-p x) (consp x)) :rule-classes :compound-recognizer)