8000 GitHub - iman2693/SAT-Solver: This project is a way to find satisfiability of logical propositions .
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iman2693/SAT-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boolean Satisfiability (SAT) Solver

This Python program serves as a basic implementation of a Boolean Satisfiability (SAT) solver. The solver determines whether a given propositional logic expression can be satisfied by assigning truth values to its variables.

Features

  • Solves SAT problems using a brute-force approach.
  • Handles basic logical symbols: AND (^, ∧), OR (v, ∨), NOT (~, ¬), THEN (>), IFF (<>).
  • Supports single-character variable names.
  • Generates all possible interpretations to check satisfiability.

Files

  • satsolver.py: The main Python script that implements the SAT solver.
  • formuls.txt: Some samples for the input of this script.
  • README.md: This file, provides an overview of the SAT solver and instructions.

Getting Started

  1. Clone this repository to your local machine:
git clone https://github.com/iman2693/SAT-Solver.git
cd SAT-Solver 

Notes

This solver uses a basic brute-force approach and is suitable for small expressions. For larger or more complex expressions, consider using more advanced SAT-solving algorithms.

License

This project is licensed under the MIT License.

About

This project is a way to find satisfiability of logical propositions .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0