Cyclic terms unification `X=f(f(X), X), Y=f(Y, f(Y)), X = Y. `

For deutsch/2 see Donald Knuth:

Donald E. Knuth, The Art of Computer Programming
Addison-Wesley, volumes 1 and 2, 2nd edition, 1997.

As it happens he first introduces infinite trees:

image

And then he goes to garbage collection:

image

image