Professional Documents
Culture Documents
CNF and Sat
CNF and Sat
CNF and Sat
SOLVING
Shaheer Muzammil
Shahbaz Hussain
Ahmed Javed
Faran Ahmed
Aakash Parkash
Introduction
Problem Statement:
Develop a tool that checks for validity of arbitrary propositional logic
formulae using CNF and SAT Solving based validity checking methods.
Project Solution:
Developed a solution for checking validity and satisfiability of the
propositional logic formulae by using DPLL algorithm.
SATisfiability Solver
This is the second part of our project is used to check the validity.
Program that automatically decides whether a propositional logic
formula is satisfiable
It takes CNFs .
If formula is satisfiable:
SAT solver produces true assignment that satisfies the formula
We had developed SATisfiability solver using DPLL Algorithm (next slide).
DPLL
Truth table = check all possibilities = exponential increase
DPLL takes the CNF and tells its satisfiability.
Three main steps of DPLL are :
Backtracking
Unit propagation
If a clause is aunit clause, i.e. it contains only a single unassigned literal, this clause
can only be satisfied by assigning the necessary value to make this literal true.
Pure literal
If apropositional variableoccurs with only one polarity in the formula, it is calledpure.
Pure literals can always be assigned in a way that makes all clauses containing them
true. Thus, these clauses do not constrain the search anymore and can be deleted .
THANK YOU