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