(4vs-buf a) constructs a 4v-sexpr equivalent to
Function:
(defun 4vs-buf (a) (declare (xargs :guard t)) (b* (((when (atom a)) (if a (hons-list 'buf a) nil)) (fn (car a))) (case fn ((f t x buf not and or xor iff ite ite* pullup) a) (t (hons-list 'buf a)))))
Theorem:
(defthm 4v-sexpr-eval-of-4vs-buf (equal (4v-sexpr-eval (4vs-buf a) env) (4v-unfloat (4v-sexpr-eval a env))))
Theorem:
(defthm 4v-sexpr-vars-of-4vs-buf (equal (4v-sexpr-vars (4vs-buf a)) (4v-sexpr-vars a)))