(sv::aig-logior-ss a b) → avb
Function:
(defun sv::aig-logior-ss (a b) (declare (xargs :guard (and (true-listp a) (true-listp b)))) (let ((__function__ 'sv::aig-logior-ss)) (declare (ignorable __function__)) (b* (((mv af ar aend) (first/rest/end a)) ((when aend) (sv::aig-ite-bss af '(t) b)) ((mv bf br bend) (first/rest/end b)) ((when bend) (sv::aig-ite-bss bf '(t) a)) (c (acl2::aig-or af bf)) (r (sv::aig-logior-ss ar br))) (sv::aig-scons c r))))
Theorem:
(defthm sv::true-listp-of-aig-logior-ss (b* ((avb (sv::aig-logior-ss a b))) (true-listp avb)) :rule-classes :type-prescription)
Theorem:
(defthm sv::aig-logior-ss-correct (b* ((avb (sv::aig-logior-ss a b))) (and (equal (sv::aig-list->s avb env) (logior (sv::aig-list->s a env) (sv::aig-list->s b env))))))