Function:
(defun ifloor$inline (i j) (declare (xargs :guard (and (integerp i) (and (integerp j) (not (= 0 j)))))) (let ((__function__ 'ifloor)) (declare (ignorable __function__)) (mbe :logic (floor (ifix i) (ifix j)) :exec (floor i j))))
Theorem:
(defthm ifloor-type (b* ((int (ifloor$inline i j))) (integerp int)) :rule-classes :type-prescription)