Get the scopes field from a valid-table.
(valid-table->scopes x) → scopes
This is an ordinary field accessor created by fty::defprod.
Function:
(defun valid-table->scopes$inline (x) (declare (xargs :guard (valid-tablep x))) (declare (xargs :guard t)) (let ((__function__ 'valid-table->scopes)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (valid-scope-list-fix (cdr (std::da-nth 0 x)))) :exec (cdr (std::da-nth 0 x)))))
Theorem:
(defthm valid-scope-listp-of-valid-table->scopes (b* ((scopes (valid-table->scopes$inline x))) (valid-scope-listp scopes)) :rule-classes :rewrite)
Theorem:
(defthm valid-table->scopes$inline-of-valid-table-fix-x (equal (valid-table->scopes$inline (valid-table-fix x)) (valid-table->scopes$inline x)))
Theorem:
(defthm valid-table->scopes$inline-valid-table-equiv-congruence-on-x (implies (valid-table-equiv x x-equiv) (equal (valid-table->scopes$inline x) (valid-table->scopes$inline x-equiv))) :rule-classes :congruence)