Look up a BFR variable in an appropriate BDD/AIG environment.
(bfr-lookup n env) → *
Function:
(defun bfr-lookup (n env) (declare (xargs :guard (bfr-varname-p n))) (let ((__function__ 'bfr-lookup)) (declare (ignorable __function__)) (let ((n (bfr-varname-fix n))) (bfr-case :bdd (and (with-guard-checking nil (ec-call (nth n env))) t) :aig (acl2::aig-env-lookup n env)))))
Theorem:
(defthm bfr-varname-equiv-implies-equal-bfr-lookup-1 (implies (bfr-varname-equiv n n-equiv) (equal (bfr-lookup n env) (bfr-lookup n-equiv env))) :rule-classes (:congruence))