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