For use with sfaiglist, translates faig environments back into equivalent sexpr environments.
(sfaiglist-recover-4venv sexprs faig-env) → sexpr-env
Function:
(defun sfaiglist-recover-4venv (sexprs faig-env) (declare (xargs :guard t)) (let ((__function__ 'sfaiglist-recover-4venv)) (declare (ignorable __function__)) (b* ((vars (4v-sexpr-vars-1pass-list sexprs)) (onoff (num-varmap vars 0))) (faig-const-alist->4v-alist (faig-eval-alist onoff faig-env)))))
Theorem:
(defthm 4v-sexpr-eval-list-of-sfaiglist-recover-4venv (b* ((faigs (sfaiglist sexprs)) (sexpr-env (sfaiglist-recover-4venv sexprs faig-env))) (equal (4v-sexpr-eval-list sexprs sexpr-env) (faig-const-list->4v-list (faig-eval-list faigs faig-env)))))