In modal logic, describes a theory of identity in which sentences of the form , where and are names, can be assigned different truth values at different possible worlds. This is to say that a semantics with possible worlds has a contingent theory of identity when it has models in which there exist worlds and and an identity sentence such that is true at and not true at . Contingent identity is opposed to necessary identity, according to which the truth of a statement entails the truth of .