(nat-to-dec-chars-aux n acc) → *
Function:
(defun nat-to-dec-chars-aux (n acc) (declare (xargs :guard (natp n))) (let ((acl2::__function__ 'nat-to-dec-chars-aux)) (declare (ignorable acl2::__function__)) (mbe :logic (revappend (basic-nat-to-dec-chars n) acc) :exec (if (zp n) acc (nat-to-dec-chars-aux (the unsigned-byte (truncate (the unsigned-byte n) 10)) (cons (the character (code-char (the (unsigned-byte 8) (+ (the (unsigned-byte 8) 48) (the (unsigned-byte 8) (rem (the unsigned-byte n) 10)))))) acc))))))