Recognizer for vl-paramdecloverride structures.
(vl-paramdecloverride-p x) → *
Function:
(defun vl-paramdecloverride-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-paramdecloverride-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(decl override))) :exec (fty::alist-with-carsp x '(decl override))) (b* ((decl (cdr (std::da-nth 0 x))) (override (cdr (std::da-nth 1 x)))) (and (vl-paramdecl-p decl) (vl-maybe-paramvalue-p override))))))
Theorem:
(defthm consp-when-vl-paramdecloverride-p (implies (vl-paramdecloverride-p x) (consp x)) :rule-classes :compound-recognizer)