If X=Y+Z, Is it ever useful to regress X on Y? If we have X and Y that are mathematically dependent: X = Y + Z, is it 'forbidden' to use Y as a predictor to X in linear regression?  I'm trying to find a concise explanation for why it is, or isn't.
One explanation I've found is that you shouldn't use simple linear regression in this case, but multiple linear regression, with Y and Z as predictors, but this doesn't seem right. The mathematical relationship is exact, and the multiple regression would return coefficients 0, 1, and 1  for X = 0 + 1Y + 1Z. So, there is something more fundamental I'm missing.
The purpose for linear regression is predicting the value of one variable from the other. But we already know that X can be calculated as the sum of Y and Z, so effectively, we are calculating the regression between Y and Y + Z. Is this 'forbidden'?
But, if we can only measure Y, does the regression give us a tool to predict X? Isn't it better to find the regression between Y and Z? I'm confused.

If you know $X = Y + Z$ and you have $Y$ and $Z$ measured, why would you need to run a regression of $X$ on $Y$ and $Z$? It provides no additional information and does not allow you to make "better" predictions about $X$ (since you know $X$ exactly from $Y$ and $Z$). But if you don't have $Z$, don't know the exact relationship between $Y$ and $X$, and want to predict $X$ from $Y$, then you absolutely can (and should!) regress $X$ on $Y$. The true marginal relationship between $X$ and $Y$ depends on the correlation between $Y$ and $Z$, which is not stated in the problem, so you won't automatically know what the marginal relationship between $X$ and $Y$ is  from the formula for $X$ alone. Indeed, this is the usual case that we do regression: we assume a (possibly) deterministic relationship between the outcome and some other variables, but many of those variables are unmeasured, so their influence is captured in the error term. In the absence of measured $Z$, the effect of $Z$ will be captured in the error term, and the marginal effect of $Y$ will be estimated by the model.
