It might not be clean what do I mean by the question, but I'm trying to explain it:
By the pythagorean theorem: $$\mathrm{d}S=\sqrt{(\mathrm{d}x)^2+(\mathrm{d}y)^2}$$ If we factor out d$x$: $$\mathrm{d}S=\sqrt{1+\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2}\mathrm{d}x$$ So the arc length is: $$S=\int\limits_a^b \sqrt{1+\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2}\mathrm{d}x$$
But it does not seem like a real proof.
Let $a=x_0< x_1 < \cdots < x_n =b$ be a partition of $[a,b]$.
Define arc length as;
\begin{equation} S_n = \sum_{i=1}^n \sqrt{(x_i-x_{i-1})^2+(f(x_i)-f(x_{i-1}))^2} \end{equation}
Recall Mean Value Theorem; \begin{equation} \frac{f(x_i)-f(x_{i-1})}{x_i-x_{i-1}} = f'(\tilde{x_i}) \iff f(x_i)-f(x_{i-1}) = f'(\tilde{x_i})(x_i-x_{i-1}) \end{equation} for some $x_{i-1}\leq\tilde{x_i}\leq x_i$. Now, rewrite $S_n$; \begin{equation} S_n = \sum_{i=1}^n \sqrt{ (x_i-x_{i-1})^2+f(\tilde{x_i})^2(x_i-x_{i-1})^2} =\sum_{i=1}^n \sqrt{1+f'(\tilde{x_i})^2}(x_i-x_{i-1}) \end{equation} Which is a Riemann Sum. Now take limit; \begin{equation} \lim_{n\to\infty}S_n = \int_a^b\sqrt{1+f'(x)}dx \end{equation}
Note that I replaced $y$ with $f(x)$. Also, when taking limit, I identify partition with number of elements $n$, but we actually require $(x_i-x_{i-1})\to 0$.