Let $f: I = (c, d) \xrightarrow{} \mathbb{R}$ be an $n-$times differentiable function. Let $a, b$ be distinct points in $I$. Then
$f(b) = f(a) + f'(a)(b-a) + ... + \frac{f^{(n-1)}(a)}{(n-1)!}(b-a)^{n-1} + \int_{a}^{b} \int_{a}^{s_{1}} ... \int_{a}^{s_{n-1}} f^{(n)}(s_{n}) ds_{n}...ds_{1}.$
Proof. By the Fundamental Thm of Calculus, we have $f(b) = f(a) + \int_{a}^{b}f'(s_{1})ds_{1}$. Similarly, $f'(s_{1}) = f'(a) + \int_{a}^{s_{1}}f''(s_{2})ds_{2}$, which gives
$f(b) = f(a) + \int_{a}^{b}f'(s_{1})ds_{1} = f(a) + \int_{a}^{b}(f'(a) + \int_{a}^{s_{1}}f''(s_{2})ds_{2})ds_{1} = f(a) + f'(a)(b-a) + \int_{a}^{b} \int_{a}^{s_{1}} f''(s_{2}) ds_{2} ds_{1}.$
Continuing this fashion, we obtain $f(b) = f(a) + f'(a)(b-a) + f''(a)\int_{a}^{b} \int_{a}^{s_{1}} \int_{a}^{s_{2}} ds_{3}ds_{2}ds_{1} +...+ f^{(n-1)}(a)\int_{a}^{b}\int_{a}^{s_{1}} ... \int_{a}^{s_{n-1}}ds_{n}...ds_{1} + \int_{a}^{b}\int_{a}^{s_{1}}...\int_{a}^{s_{n-1}}f^{(n)}(s_{n})ds_{n}...ds_{1}.$
...
My question is, in the last step the author obviously used $f^{(n-1)}(s_{n-1}) - f^{(n-1)}(a) = \int_{a}^{s_{n-1}}f^{(n)}(s_{n})ds_{n}$, but why is this true? The Fundamental theorem says if $f$ is integrable on the interval $[a, b]$ and $F' = f$ there, then $\int_{a}^{b} f dx = F(b) - F(a)$. But here, $f^{(n)}$ may not be integrable, so how do we get $f^{(n-1)}(s_{n-1}) - f^{(n-1)}(a) = \int_{a}^{s_{n-1}}f^{(n)}(s_{n})ds_{n}$?
Should we assume $f^{(n)}$ is continuous or at least Riemann integrable to apply the Fundamental Thm of Calculus?
The book can be downloaded here https://link.springer.com/book/10.1007/978-0-387-68407-9