(up-one vlift bed order) → (mv bed order)
Function:
(defun up-one (vlift bed order) (declare (xargs :guard (atom vlift))) (let ((__function__ 'up-one)) (declare (ignorable __function__)) (b* ((memo (* 2 (fast-alist-len order))) ((mv ans order memo) (up-one-aux vlift bed order memo)) (- (fast-alist-free memo))) (mv ans order))))
Theorem:
(defthm up-one-correct (b* (((mv ans ?order) (up-one vlift bed order))) (implies (force (atom vlift)) (equal (bed-eval ans env) (bed-eval bed env)))))