Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 884 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 884 Bytes

Resolution-refutation-prolog

resolution refutation is method of finding whether the given antecedent implies the consequent or not, it could also be used to check validity of the expressions.
Resolution refutation method is just refutation complete.

Pre-Requirement

You need a prolog interpreter to be installed on your system.
preferably, swipl as the given files are tested against swipl-prolog-interpreter only.

Execution

If you are using swipl interpreter, execute swipl
and then write
? [resolution]. <press Enter>
? start. <press Enter>
to get the instructions.

Better understanding of process

For the better understanding of the process going on durng execution and to understand how the antecedents and consequents are getting processed, uncomment all the comments in the program, you can easily do this by using find and replace, and then re-execute.