A hashability problem

Ugh, that's obviously a poor man' solution, for an expression problem.