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