Resolution-proof-solver is a Python-based tool designed to solve resolution proofs in logic.
View on GitHubDate: 2024-06-04
Resolution-proof-solver Web App
Resolution-proof-solver is a Python-based tool designed to solve resolution proofs in logic.
git clone https://github.com/mayzelf/Resolution-proof-solver.git
To use the solver in interactive mode, simply run the main script without any arguments:
python solver.py
You'll be prompted to enter a logical expression. The solver will then display the resolution process and the final conclusion.
The solver uses the following format for logical expressions:
!
or
and
()
Example:
(!a or b or !c or !d) and (!a or b or !c or d) and (!a or !b or !c) and (a or !b or !c or !d) and (a or b or !c or !d) and (!a or !b) and (a) and (!a or b or c or !d) and (b)
Given the following expressions:
(!a or b or !c or !d) and (!a or b or !c or d) and (!a or !b or !c) and (a or !b or !c or !d) and (a or b or !c or !d) and (!a or !b) and (a) and (!a or b or c or !d) and (b)
The solver will output the resolution steps and the final conclusion.
Contributions are welcome! Please feel free to submit a Pull Request or open an issue.
For any questions or suggestions, please contact me via Discord: mayzelf or via the Github issues.