Given that $x = a^2 + b^2$ and $y = a^2 - b^2$, how can I compute $x + y$ in Mathematica such that the result is $a^2 + b^2 + a^2 - b^2$ without simplifying? Essentially, I want to calculate $x + y$ while keeping $x$ and $y$ in their original forms without performing any further calculations.
x = a^2 + b^2;y=a^2 - b^2
Hold[Evaluate[x + y]]
The above code has no effect. How can this be achieved in Mathematica?
step[]
function in their answer to the linked Q&A onx = a^2 + b^2; y = a^2 - b^2; step[x + y]
. $\endgroup$HoldForm[Evaluate[x]] + HoldForm[Evaluate[y]]
$\endgroup$