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