(bfr-floor-ss a b) → f
Function:
(defun bfr-floor-ss (a b) (declare (xargs :guard (and (true-listp a) (true-listp b)))) (let ((__function__ 'bfr-floor-ss)) (declare (ignorable __function__)) (bfr-ite-bss (bfr-=-ss b nil) nil (b* (((mv bsign babs bneg) (bfr-sign-abs-not-s b)) (anorm (bfr-ite-bss bsign (bfr-unary-minus-s a) a)) ((mv f &) (bfr-floor-ss-aux anorm babs bneg))) f))))
Theorem:
(defthm true-listp-of-bfr-floor-ss (b* ((f (bfr-floor-ss a b))) (true-listp f)) :rule-classes :type-prescription)
Theorem:
(defthm bfr-floor-ss-correct (b* ((f (bfr-floor-ss a b))) (and (equal (bfr-list->s f env) (floor (bfr-list->s a env) (bfr-list->s b env))))))
Theorem:
(defthm bfr-floor-ss-deps (b* ((f (bfr-floor-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 f))))))