Recognizer for vl-function-specialization structures.
(vl-function-specialization-p x) → *
Function:
(defun vl-function-specialization-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-function-specialization-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 4) (b* ((function (std::da-nth 0 x)) (body (std::da-nth 1 x)) (constraints (std::da-nth 2 x)) (?successp (std::da-nth 3 x))) (and (sv::svex-p function) (vl-stmt-p body) (sv::constraintlist-p constraints))))))
Theorem:
(defthm consp-when-vl-function-specialization-p (implies (vl-function-specialization-p x) (consp x)) :rule-classes :compound-recognizer)