(bfr-ite-bvv-fn-aux c v1 v0) → vv
Function:
(defun bfr-ite-bvv-fn-aux (c v1 v0) (declare (xargs :guard (and (true-listp v1) (true-listp v0)))) (let ((__function__ 'bfr-ite-bvv-fn-aux)) (declare (ignorable __function__)) (b* (((when (and (atom v1) (atom v0))) nil) ((mv v11 v1r) (car/cdr v1)) ((mv v01 v0r) (car/cdr v0)) (tail (bfr-ite-bvv-fn-aux c v1r v0r)) (head (bfr-ite c v11 v01))) (bfr-ucons head tail))))
Theorem:
(defthm true-listp-of-bfr-ite-bvv-fn-aux (b* ((vv (bfr-ite-bvv-fn-aux c v1 v0))) (true-listp vv)) :rule-classes :type-prescription)
Theorem:
(defthm bfr-ite-bvv-fn-aux-correct (b* ((vv (bfr-ite-bvv-fn-aux c v1 v0))) (and (equal (bfr-list->u vv env) (if (bfr-eval c env) (bfr-list->u v1 env) (bfr-list->u v0 env))))))
Theorem:
(defthm bfr-ite-bvv-fn-aux-deps (b* ((vv (bfr-ite-bvv-fn-aux c v1 v0))) (implies (and (not (pbfr-depends-on varname param c)) (not (pbfr-list-depends-on varname param v1)) (not (pbfr-list-depends-on varname param v0))) (and (not (pbfr-list-depends-on varname param vv))))))