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