Online Computer Dictionary
Browse words
|
Based on
FOLDOC
Queried for: resolution
Definition:
1.
2.
Resolution is applied to two clauses in a sentence. It eliminates, by unification, a literal that occurs "positive" in one and "negative" in the other to produce a new clause, the resolvent.
For example, given the sentence: (man(X) => mortal(X)) AND man(socrates).
The literal "man(X)" is "negative". The literal "man(socrates)" could be considered to be on the right hand side of the degenerate implication True => man(socrates) and is therefore "positive". The two literals can be unified by the binding X = socrates.
The truth table for the implication function is A | B | A => B --+---+------- F | F | T F | T | T T | F | F T | T | T (The implication only fails if its premise is true but its conclusion is false). From this we can see that A => B == (NOT A) OR B Which is why the left hand side of the implication is said to be negative and the right positive. The sentence above could thus be written ((NOT man(socrates)) OR mortal(socrates)) AND man(socrates) Distributing the AND over the OR gives ((NOT man(socrates)) AND man(socrates)) OR mortal(socrates) AND man(socrates) And since (NOT A) AND A == False, and False OR A == A we can simplify to just mortal(socrates) AND man(socrates) So we have proved the new literal, mortal(socrates).
Resolution with backtracking is the basic control mechanism of Prolog.
Browse through top 20 categories or see more ...
- programming (659)
- application (76)
- networking (823)
- language (1034)
- operating_system (420)
- mathematics (228)
- graphics (155)
- compiler (21)
- library (41)
- World-Wide_Web (133)
- cryptography (36)
- database (166)
- algorithm (132)
- logic (61)
- software (72)
- audio (27)
- virtual_reality (10)
- communications (329)
- file system (28)
- filename_extension (25)


