Equivalence alg uses rewrites on recursing
Also more debugging print output
Also a #verbose directive