module documentation
Module for a resolution-based First Order theorem prover.
| Class | |
No class docstring; 0/1 instance variable, 4/8 methods documented |
| Class | |
No class docstring; 0/2 instance variable, 6/13 methods documented |
| Class | |
Undocumented |
| Class | |
No class docstring; 0/1 class variable, 0/1 constant, 1/2 method documented |
| Class | |
No class docstring; 0/3 instance variable, 2/3 methods, 1/1 static method documented |
| Exception | |
Undocumented |
| Exception | |
Undocumented |
| Exception | |
Undocumented |
| Function | clausify |
Skolemize, clausify, and standardize the variables apart. |
| Function | demo |
Undocumented |
| Function | most |
Find the most general unification of the two given expressions |
| Function | resolution |
Undocumented |
| Function | test |
Undocumented |
| Function | test |
Undocumented |
| Function | _clausify |
No summary |
| Function | _complete |
Undocumented |
| Function | _iterate |
This method facilitates movement through the terms of 'self' |
| Function | _iterate |
This method facilitates movement through the terms of 'other' |
| Function | _mgu |
Undocumented |
| Function | _subsumes |
Undocumented |
| Function | _unify |
This method attempts to unify two terms. Two expressions are unifiable if there exists a substitution function S such that S(a) == S(-b). |
Find the most general unification of the two given expressions
| Parameters | |
| a | Expression |
| b | Expression |
| bindings | BindingDict a starting set of bindings with which the unification must be consistent |
| Returns | |
| a list of bindings | |
| Raises | |
BindingException | if the Expressions cannot be unified |
This method attempts to unify two terms. Two expressions are unifiable if there exists a substitution function S such that S(a) == S(-b).
the unification must be consistent :return: BindingDict A dictionary of the bindings required to unify :raise BindingException: If the terms cannot be unified
| Parameters | |
| a | Expression |
| b | Expression |
| bindings | BindingDict a starting set of bindings with which |
| used | Undocumented |