The rule of inference for a deductive system according to which for any two formulae and that are logically equivalent in , one can replace any instance of appearing in a formula with an instance of without loss of generality. Let represent the sentence
and let represent any formula in which one or more instances of is replaced by an instance of . Then intersubstitutivity can be expressed as
when
While intersubstitutivity is a very natural inference, intersubstitutivity fails in many non-classical logics. In the three-valued logic of Stephen Cole Kleene (1909–1994), for example, the following holds:
i.e., and are provably equivalent, and
holds as well. However, cannot be substituted for within the scope of the negation, i.e.,
Semantically, this is explained because may be true in a model while is a truth value gap, in which case will be true and will be a gap. In such a model, will be true although will not.