Checkout
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial
Question

Prolog - What is \+ in Prolog?

Answer

In Prolog, negation is symbolized by \+, a result of the issues with negation-as-failure. The symbol is a mnemonic representation of 'not provable', with \ signifying 'not' and + representing 'provable'.