Recognizer for vl-hidstep structures.
(vl-hidstep-p x) → *
Function:
(defun vl-hidstep-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-hidstep-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-hidstep) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-car (cdr x))) (std::prod-consp (std::prod-cdr (cdr x))) (std::prod-consp (std::prod-cdr (std::prod-cdr (cdr x)))) (b* ((name (std::prod-car (std::prod-car (cdr x)))) (index (std::prod-cdr (std::prod-car (cdr x)))) (item (std::prod-car (std::prod-cdr (cdr x)))) (ss (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (elabpath (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (and (stringp name) (vl-maybe-expr-p index) (vl-scopeitem-p item) (vl-scopestack-p ss) (vl-elabtraversal-p elabpath))))))
Theorem:
(defthm consp-when-vl-hidstep-p (implies (vl-hidstep-p x) (consp x)) :rule-classes :compound-recognizer)