(bfr-logxor-ss a b) → xab
Function:
(defun bfr-logxor-ss (a b) (declare (xargs :guard (and (true-listp a) (true-listp b)))) (let ((__function__ 'bfr-logxor-ss)) (declare (ignorable __function__)) (b* (((mv af ar aend) (first/rest/end a)) ((mv bf br bend) (first/rest/end b)) (c (bfr-xor af bf)) ((when (and aend bend)) (bfr-sterm c)) (r (bfr-logxor-ss ar br))) (bfr-scons c r))))
Theorem:
(defthm true-listp-of-bfr-logxor-ss (b* ((xab (bfr-logxor-ss a b))) (true-listp xab)) :rule-classes :type-prescription)
Theorem:
(defthm bfr-logxor-ss-correct (b* ((xab (bfr-logxor-ss a b))) (and (equal (bfr-list->s xab env) (logxor (bfr-list->s a env) (bfr-list->s b env))))))
Theorem:
(defthm bfr-logxor-ss-deps (b* ((xab (bfr-logxor-ss a b))) (implies (and (not (pbfr-list-depends-on varname param a)) (not (pbfr-list-depends-on varname param b))) (and (not (pbfr-list-depends-on varname param xab))))))