Recognizer for vl-lexscope structures.
(vl-lexscope-p x) → *
Function:
(defun vl-lexscope-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-lexscope-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 2) (b* ((decls (std::da-nth 0 x)) (wildpkgs (std::da-nth 1 x))) (and (vl-lexscope-decls-p decls) (vl-packagemap-p wildpkgs))))))
Theorem:
(defthm consp-when-vl-lexscope-p (implies (vl-lexscope-p x) (consp x)) :rule-classes :compound-recognizer)