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