(sv::aig-ite-bvv-fn c v1 v0) → vv
Function:
(defun sv::aig-ite-bvv-fn (c v1 v0) (declare (xargs :guard (and (true-listp v1) (true-listp v0)))) (let ((__function__ 'sv::aig-ite-bvv-fn)) (declare (ignorable __function__)) (if c (if (eq c t) (llist-fix v1) (sv::aig-ite-bvv-fn-aux c v1 v0)) (llist-fix v0))))
Theorem:
(defthm sv::true-listp-of-aig-ite-bvv-fn (b* ((vv (sv::aig-ite-bvv-fn c v1 v0))) (true-listp vv)) :rule-classes :type-prescription)
Theorem:
(defthm sv::aig-ite-bvv-fn-correct (b* ((vv (sv::aig-ite-bvv-fn c v1 v0))) (and (equal (sv::aig-list->u vv env) (if (acl2::aig-eval c env) (sv::aig-list->u v1 env) (sv::aig-list->u v0 env))))))