If a function $G(x)$ is defined by $$G(x)=\int_a^xf(t)dt$$ Then by the Fundamental Theorem I can see that $G(x)$ is an antiderivative of $f(x)$ and thus $$G'(x)=f(x)=\frac{dG(x)}{dx}$$ My confusion starts when I look at the integrand $f(t)$ and its variable $t$. The integrand $f(t)$ must have an antiderivative $F(t)$ as well according to: $$f(t)=\frac{dF(t)}{dt}$$ The $G$ and $F$ are both antiderivatives of $f$ and therefore must differ by a constant $c$ at most, which cancels out if you take $dF$ and $dG$, leading to $dF=dG$. Furthermore, if the variables $t$ and $x$ take on the same value $a$ then this would give $$dG(a)=dF(a)$$ $$f(x=a)=f(t=a)$$ $$\frac{dG(x=a)}{dx}=\frac{dF(t=a)}{dt}$$ The last equation surprises me because I considered the numerators to be equal ($t$ takes on the same value as $x$) but I'm not sure if the intervals $dt$ and $dx$ in the denominators are equal for this equation to be valid. These infinitesimals have different meanings according to the integral so they might not be equal.
If $dt \neq dx$, can someone pinpoint where exactly I went wrong in this reasoning?
The definition of derivative is $$ F'(a):= \lim_{x \to a} \frac{F(x)-F(a)}{x-a}=\frac{dF}{dx} $$ Changing $t$ with $x$ in the limit does not change the value of the limit. In other words $$ \frac{dF}{dt}(t=a):=\lim_{t \to a} \frac{F(t)-F(a)}{t-a}=\lim_{x \to a} \frac{F(x)-F(a)}{x-a}=\frac{dF}{dx}(x=a) $$ You are basically changing the name of the variable, but actually the name that you give to a variable of a function tell you nothing about the function itself