This requires the distinction of several possible cases, resulting in four different realizations of the application rule (Vijay-Shanker and Weir, 1993, p. 616).
the V&W algorithm uses nine (forward) inference rules, against our algorithm in Figure 5 which uses only three.