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