finding MGU for symmetrical expression
-
21-12-2019 - |
Question
given this pair of expressions, is it possible to find a MGU for it?
- f(x,y)
- f(y,x)
I wanted to say that it is possible, when x/y, but I wasn't sure if that's legal. what do you guys say?
thanks!
Solution
Yes, these terms can be easily unified, producing the assertion x=y as a side effect.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow