Similar Items: A Rewriting View of Simple Typing