Checkpoint
This commit is contained in:
parent
ef8b82457c
commit
d702b9b081
13 changed files with 114 additions and 63 deletions
|
@ -1,5 +1,13 @@
|
|||
package prolog.components
|
||||
|
||||
import prolog.Substitution
|
||||
|
||||
interface Provable {
|
||||
fun prove(): Boolean
|
||||
/**
|
||||
* Proves the current [Provable] instance.
|
||||
*
|
||||
* @return a sequence of [Substitution] instances representing the results of the proof.
|
||||
* If the proof fails, an empty sequence is returned.
|
||||
*/
|
||||
fun prove(): Sequence<Substitution>
|
||||
}
|
||||
|
|
Reference in a new issue