(bfr-logtail-ns place x) → xx
Function:
(defun bfr-logtail-ns (place x) (declare (xargs :guard (and (natp place) (true-listp x)))) (let ((__function__ 'bfr-logtail-ns)) (declare (ignorable __function__)) (if (or (zp place) (s-endp x)) (llist-fix x) (bfr-logtail-ns (1- place) (scdr x)))))
Theorem:
(defthm true-listp-of-bfr-logtail-ns (b* ((xx (bfr-logtail-ns place x))) (true-listp xx)) :rule-classes :type-prescription)
Theorem:
(defthm bfr-logtail-ns-correct (b* ((xx (bfr-logtail-ns place x))) (and (equal (bfr-list->s xx env) (logtail (nfix place) (bfr-list->s x env))))))
Theorem:
(defthm bfr-logtail-ns-deps (b* ((xx (bfr-logtail-ns place x))) (implies (and (not (pbfr-list-depends-on varname param x))) (and (not (pbfr-list-depends-on varname param xx))))))