(aabf-logior-ss a b man) → (mv a&b new-man)
Function:
(defun aabf-logior-ss (a b man) (declare (xargs :guard (and (true-listp a) (true-listp b)))) (declare (xargs :guard (and (aabflist-p a man) (aabflist-p b man)))) (let ((__function__ 'aabf-logior-ss)) (declare (ignorable __function__)) (b* (((mv af ar aend) (aabf-first/rest/end a)) ((mv bf br bend) (aabf-first/rest/end b)) ((when (and aend bend)) (aabf-nest (list (aabf-or af bf)) man))) (aabf-nest (aabf-scons (aabf-or af bf) (aabf-logior-ss ar br)) man))))
Theorem:
(defthm trivial-theorem-about-aabf-logior-ss (b* nil (b* ((?ignore (aabf-logior-ss a b man))) t)) :rule-classes nil)
Theorem:
(defthm true-listp-of-aabf-logior-ss.a&b (b* (((mv ?a&b ?new-man) (aabf-logior-ss a b man))) (true-listp a&b)) :rule-classes :type-prescription)
Theorem:
(defthm aabf-extension-p-of-aabf-logior-ss (b* (((mv ?a&b ?new-man) (aabf-logior-ss a b man))) (aabf-extension-p new-man man)))
Theorem:
(defthm aabf-p-of-aabf-logior-ss (b* (((mv a&b new-man) (aabf-logior-ss a b man))) (implies (and (aabflist-p a man) (aabflist-p b man)) (and (aabflist-p a&b new-man)))))
Theorem:
(defthm aabf-eval-of-aabf-logior-ss (b* (((mv a&b new-man) (aabf-logior-ss a b man))) (implies (and (aabflist-p a man) (aabflist-p b man)) (and (equal (bools->int (aabflist-eval a&b env new-man)) (logior (bools->int (aabflist-eval a env man)) (bools->int (aabflist-eval b env man))))))))
Theorem:
(defthm aabf-pred-of-aabf-logior-ss (b* (((mv a&b new-man) (aabf-logior-ss a b man))) (implies (and (aabflist-p a man) (aabflist-p b man) (aabflist-pred a man) (aabflist-pred b man)) (and (aabflist-pred a&b new-man)))))