Recognizer for svtv-override-triple structures.
(svtv-override-triple-p x) → *
Function:
(defun svtv-override-triple-p (x) (declare (xargs :guard t)) (let ((__function__ 'svtv-override-triple-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 3) (b* ((test (std::da-nth 0 x)) (val (std::da-nth 1 x)) (refvar (std::da-nth 2 x))) (and (svex-p test) (svex-p val) (maybe-svar-p-p refvar))))))
Theorem:
(defthm consp-when-svtv-override-triple-p (implies (svtv-override-triple-p x) (consp x)) :rule-classes :compound-recognizer)