(match-aig-iff x) → (mv okp arg1 arg2)
Function:
(defun match-aig-iff (x) (declare (xargs :guard t)) (let ((__function__ 'match-aig-iff)) (declare (ignorable __function__)) (b* (((mv okp a b) (match-aig-iff-1 x)) ((when okp) (mv okp a b))) (match-aig-iff-2 x))))
Theorem:
(defthm match-aig-iff-correct (b* (((mv okp arg1 arg2) (match-aig-iff x))) (implies okp (equal (aig-eval x env) (iff (aig-eval arg1 env) (aig-eval arg2 env))))))
Theorem:
(defthm acl2-count-of-match-aig-iff-weak-1 (b* (((mv & arg1 &) (match-aig-iff x))) (<= (acl2-count arg1) (acl2-count x))) :rule-classes ((:rewrite) (:linear)))
Theorem:
(defthm acl2-count-of-match-aig-iff-weak-2 (b* (((mv & & arg2) (match-aig-iff x))) (<= (acl2-count arg2) (acl2-count x))) :rule-classes ((:rewrite) (:linear)))
Theorem:
(defthm acl2-count-of-match-aig-iff-strong-1 (b* (((mv okp arg1 &) (match-aig-iff x))) (implies okp (< (acl2-count arg1) (acl2-count x)))) :rule-classes ((:rewrite) (:linear)))
Theorem:
(defthm acl2-count-of-match-aig-iff-strong-2 (b* (((mv okp & arg2) (match-aig-iff x))) (implies okp (< (acl2-count arg2) (acl2-count x)))) :rule-classes ((:rewrite) (:linear)))