What is a good formal definition of purity?

I do agree, but even better would be if Discourse could be persuaded to support a “normal” version of threading, like, for example, Reddit.