Proof of the equivalence of two Prolog rules with the same left side to one rule with a disjunction
Given Prolog rules:
n(D) :- w(D). |
n(D) :- h(D). |
Try to guess the next step in creating a single Prolog rule with the equivalent meaning, then click here.