(nat-to-oct-chars-aux n acc) → *
Function:
(defun nat-to-oct-chars-aux (n acc) (declare (xargs :guard (natp n))) (let ((acl2::__function__ 'nat-to-oct-chars-aux)) (declare (ignorable acl2::__function__)) (mbe :logic (revappend (basic-nat-to-oct-chars n) acc) :exec (if (zp n) acc (nat-to-oct-chars-aux (the unsigned-byte (ash (the unsigned-byte n) -3)) (cons (octal-digit-to-char (the (unsigned-byte 3) (logand (the unsigned-byte n) 7))) acc))))))