Recognizer for vl-context1 structures.
(vl-context1-p x) → *
Function:
(defun vl-context1-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-context1-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-context) (std::prod-consp (cdr x)) (b* ((mod (std::prod-car (cdr x))) (elem (std::prod-cdr (cdr x)))) (and (stringp mod) (vl-ctxelement-p elem))))))
Theorem:
(defthm consp-when-vl-context1-p (implies (vl-context1-p x) (consp x)) :rule-classes :compound-recognizer)