I wonder how to create a function based on the characteristics. suppose I have function $f$ and $g$ like this:
$f(x,g(x,y,z)) = y$ $\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,,$ $g(x,f(x,z),a) = z$
With $x,y,z,a$ are the parameters. Are there "algorithm" to "generate" arbitrary function which appropriate to that functions (f and g)?$\,\,\,$ or I should use brute forces / try and error to do that? what mathematics branch to study that?