There are many Prolog tutorials and examples on the web using proof traces to describe how Prolog works. However, you may not be able to "play" with the proofs or get additional information about proof-related information such as resolution by browsing the these proofs. With the help of few Inference Web tools you may be able to change your way of using and publishing proofs on the web. The Prolog code used distributed in this page was tested on SWI-Prolog. If you know that it works on other versions of Prolog or you have an alternative code for other version of Prolog, please let us know.
pl and load pml.pl by
typing [pml]. (including the period at the end).Now you are ready to use the PML's interface to Prolog. pml.pl defines the following three predicates:
In order to test the working of the tool on a simple test case:
pl in you operating system prompt.[pml]. (including the period at the end).[testcase]. (including the period at the end).Note: the pml.pl code above is quite simple and there are many things we can do improve its use of PML such as: