Recognizer for valid-table structures.
(valid-tablep x) → *
Function:
(defun valid-tablep (x) (declare (xargs :guard t)) (let ((__function__ 'valid-tablep)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(scopes))) :exec (fty::alist-with-carsp x '(scopes))) (b* ((scopes (cdr (std::da-nth 0 x)))) (valid-scope-listp scopes)))))
Theorem:
(defthm consp-when-valid-tablep (implies (valid-tablep x) (consp x)) :rule-classes :compound-recognizer)