Construct a reduced BED for
(mk-op-false-x op right) → bed
Function:
(defun mk-op-false-x (op right) (declare (xargs :guard (bed-op-p op))) (let ((__function__ 'mk-op-false-x)) (declare (ignorable __function__)) (b* ((op (bed-op-fix$ op)) ((when (eql op (bed-op-true))) t) ((when (eql op (bed-op-ior))) right) ((when (eql op (bed-op-orc2))) (mk-not right)) ((when (eql op (bed-op-arg1))) nil) ((when (eql op (bed-op-orc1))) t) ((when (eql op (bed-op-arg2))) right) ((when (eql op (bed-op-eqv))) (mk-not right)) ((when (eql op (bed-op-and))) nil) ((when (eql op (bed-op-nand))) t) ((when (eql op (bed-op-xor))) right) ((when (eql op (bed-op-not2))) (mk-not right)) ((when (eql op (bed-op-andc2))) nil) ((when (eql op (bed-op-not1))) t) ((when (eql op (bed-op-andc1))) right) ((when (eql op (bed-op-nor))) (mk-not right)) ((when (eql op (bed-op-false))) nil)) (mk-op-raw op nil right))))
Theorem:
(defthm bed-eval-of-mk-op-false-x (equal (bed-eval (mk-op-false-x op right) env) (bed-eval (mk-op-raw op nil right) env)))