Recognizer for vl-loadstate structures.
(vl-loadstate-p x) → *
Function:
(defun vl-loadstate-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-loadstate-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-loadstate) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-car (cdr x))) (std::prod-consp (std::prod-car (std::prod-car (cdr x)))) (std::prod-consp (std::prod-cdr (std::prod-car (std::prod-car (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-car (cdr x)))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x))))) (std::prod-consp (std::prod-cdr (cdr x))) (std::prod-consp (std::prod-car (std::prod-cdr (cdr x)))) (std::prod-consp (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (cdr x)))) (std::prod-consp (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x))))) (b* ((config (std::prod-car (std::prod-car (std::prod-car (cdr x))))) (descs (std::prod-car (std::prod-cdr (std::prod-car (std::prod-car (cdr x)))))) (?descalist (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-car (cdr x)))))) (defines (std::prod-car (std::prod-cdr (std::prod-car (cdr x)))) ) (iskips (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x)))))) (ifdefmap (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x)))))) (defmap (std::prod-car (std::prod-car (std::prod-cdr (cdr x))))) (idcache (std::prod-car (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x)))))) (spcache (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x)))))) (reportcard (std::prod-car (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x)))))) (pstate (std::prod-cdr (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x)))))) (filemap (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (bytes (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x))))))) (and (vl-loadconfig-p config) (vl-descriptionlist-p descs) (vl-defines-p defines) (vl-includeskips-p iskips) (vl-ifdef-use-map-p ifdefmap) (vl-def-use-map-p defmap) (vl-dirlist-cache-p idcache) (vl-dirxlist-cache-p spcache) (vl-reportcard-p reportcard) (vl-parsestate-p pstate) (vl-filemap-p filemap) (natp bytes) (equal descalist (vl-make-descalist descs)))))))
Theorem:
(defthm consp-when-vl-loadstate-p (implies (vl-loadstate-p x) (consp x)) :rule-classes :compound-recognizer)