Form that can bind a free variable to the result of an arbitrary computation.
(bind-var ans form) → *
Logically,
Function:
(defun bind-var (ans form) (declare (xargs :guard t)) (let ((__function__ 'bind-var)) (declare (ignorable __function__)) ans))
Theorem:
(defthm unequiv-implies-equal-bind-var-2 (implies (unequiv form form-equiv) (equal (bind-var ans form) (bind-var ans form-equiv))) :rule-classes (:congruence))
Theorem:
(defthm bind-var-binder-rule (implies (equal ans form) (equal (bind-var ans form) ans)))