Function:
(defun mk-const-prop (op left right) (declare (xargs :guard (and (bed-op-p op) (atom left) (atom right)))) (let ((__function__ 'mk-const-prop)) (declare (ignorable __function__)) (if (mbt (and (atom left) (atom right))) (eql 1 (bed-op-eval op (bool->bit left) (bool->bit right))) (mk-op-raw op left right))))
Theorem:
(defthm bed-eval-of-mk-const-prop (equal (bed-eval (mk-const-prop op left right) env) (bed-eval (mk-op-raw op left right) env)))