(bfr-ite-bvv-fn c v1 v0) → vv
Function:
(defun bfr-ite-bvv-fn (c v1 v0) (declare (xargs :guard (and (true-listp v1) (true-listp v0)))) (let ((__function__ 'bfr-ite-bvv-fn)) (declare (ignorable __function__)) (if c (if (eq c t) (llist-fix v1) (bfr-ite-bvv-fn-aux c v1 v0)) (llist-fix v0))))
Theorem:
(defthm true-listp-of-bfr-ite-bvv-fn (b* ((vv (bfr-ite-bvv-fn c v1 v0))) (true-listp vv)) :rule-classes :type-prescription)
Theorem:
(defthm bfr-ite-bvv-fn-correct (b* ((vv (bfr-ite-bvv-fn 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-deps (b* ((vv (bfr-ite-bvv-fn 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))))))