Similar Items: Formal Languages, Formally and Coinductively