https://github.com/tani/solv
IPC/CPC theorem prover in Prolog
https://github.com/tani/solv
logic prolog tableau theorem-prover theorem-proving
Last synced: 3 months ago
JSON representation
IPC/CPC theorem prover in Prolog
- Host: GitHub
- URL: https://github.com/tani/solv
- Owner: tani
- License: gpl-3.0
- Created: 2021-02-27T04:21:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T00:06:27.000Z (8 months ago)
- Last Synced: 2025-02-02T00:46:30.720Z (5 months ago)
- Topics: logic, prolog, tableau, theorem-prover, theorem-proving
- Language: Prolog
- Homepage: https://tani.github.io/solv/
- Size: 57.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Sol V
IPC/CPC theorem prover in Prolog. This software is based on tableaux algorithm, which is a naive implementation.
Thus, it might be slow if we input the large proposition.## Example
```
$ solv ipc 'p' 'a, q=>p'
unprovable
$ echo $? # Exit status
1
$ solv cpc 'p' 'a, a=>p'
provable
$ echo $? # Exit status
0
```## Build
### Option 1. Single executable
```
$ git clone git://gtihub.com/tani/solv
$ make -C solv
$ cp solv/solv path/to/bin/solv
```### Option 2. Symbolic link to the script
```
$ git clone git://gtihub.com/tani/solv
$ ln -s solv/src/solv.pl path/to/bin/solv
```## Q&A
- Why is the name "Sol V"?
- Because this software **SOLV**es satisfiability problem in IPC/CPC.
- Do you know alternatives?
- Yes, I do. You can find it like [IPC Solver](https://github.com/qnighy/ipc_solver).## Copyright and license
Copyright 2021 TANIGUCHI Masaya. All rights reserved.This work is licensed under the GPLv3 or later.