I came across this phrasing of the theorem justifying u-substitution:
Let $F(x)$ be an antiderivative of $f(x)$ in an interval $I.$ Let $\phi$ from $J$ to $I$, $\phi(t) = x$ be a differentiable function. Then $\int f(x)dx=\int f(\phi(t))\phi^{\prime}(t)dt.$
I am confused about the assumptions part - first of all, why can we assume that there exists a function $\phi$ such that $\phi(t)=x$?
Secondly, we know that the image of $\phi$ over $J$ is a subset of $I$. Why aren't we demanding that the image of $\phi$ will be equal to $I$, and not just a subset? In my mind, we are "losing" some $x$ values that are not given by $\phi(t)$ if it is strictly contained.
Lastly, in the final steps of the proof of this theorem, we said that $F(\phi(t))+c=F(x)+c=\int f(x)dx.$ Why can we treat $x$ just like a "dummy" variable? We assumed it equals a function $\phi(t)$ after all.
The sentences starting with "let" specify the notation for the objects whose relationship is displayed after the word "then". Your question is akin to asking why in the statement of Pythagoras' Theorem, we can assume that a right-angled triangle has a longest side of length $c.$ If your integrand can be expressed in terms of some function $\phi$ in a way that satisfies the theorem's conditions, then the theorem is applicable.
$I$ is in fact meant to be the image, not necessarily the codomain, of $\phi.$
An indefinite integral's variable is not dummy, because its scope extends outside the integral; in this case, variable $x$ is related to variable $t$ via the function $\phi.$
By the way, contrary to Jorge's assertion, your theorem statement is correct: the indefinite-integral version has more relaxed conditions than the standard versions of the change-of-variable theorem. You may be interested to read my stronger (i.e., slightly more general) statement & proof of the theorem and explanation there regarding dummy variables.