I have a function $f(x,y,z)$ and would like to impose the condition $$f(x,y,z)|_{x^2+y^2<1}=x-y$$ That is, $f$ is set to be equal to $x-y$ within the unit circle in the xy-plane.
How would I write this in Maple? I tried with eval but it won't allow the inequality sign.
An adjustment to mrf's tentative suggestion.