Davis-Putnam Procedure and Davis-Putnam-Loveland-Logemann Procedure are implemented herein. Both of them aims to solve the satisfiability of a CNF formula. Further information about them could be found in SAT Basics.
The documentation about the modules it’s hosted here.
This directory stores several examples of sets of formulas in DIMACS format. See DIMACS format for further information about it.
- Corresponds to the formula: (p ^ q)
- It’s True
- Corresponds to the formula: (p ^ q) v (¬p ^ q)
- It’s True
- Corresponds to the formula: (p ^ q) v (¬p ^ q) v (p ^ ¬q)
- It’s True
- Corresponds to the formula: (p ^ q) v (¬p ^ q) v (p ^ ¬q) v (¬p ^ ¬q)
- It’s False
*DPP> dPP "exDIMACS/medium/exampleSat0.txt"
True
(0.03 secs, 3,354,776 bytes)
*DPP> dPP "exDIMACS/medium/exampleSat1.txt"
True
(0.07 secs, 3,905,176 bytes)
*DPP> dPP "exDIMACS/medium/exampleSat2.txt"
True
(0.06 secs, 12,532,944 bytes)
- Has 430 clauses
- Has 100 variables
- It’s True
*DPP> dPP "exDIMACS/hard/sat100.cnf"
*** Exception: stack overflow
- Has 1065 clauses
- Has 250 variables
- It’s True
*DPP> dPP "exDIMACS/hard/sat250.cnf"
*** Exception: stack overflow
- Has 1065 clauses
- Has 250 variables
- It’s False
*DPP> dPP "exDIMACS/hard/unsat250.cnf"
*** Exception: stack overflow
This directory stores several examples of sets of formulas in DIMACS format. See DIMACS format for further information about it.
- Corresponds to the formula: (p ^ q)
- It’s True
- Corresponds to the formula: (p ^ q) v (¬p ^ q)
- It’s True
- Corresponds to the formula: (p ^ q) v (¬p ^ q) v (p ^ ¬q)
- It’s True
- Corresponds to the formula: (p ^ q) v (¬p ^ q) v (p ^ ¬q) v (¬p ^ ¬q)
- It’s False
*DPLL> dPLL "exDIMACS/medium/exampleSat0.txt"
True
(0.03 secs, 3,343,304 bytes)
*DPLL> dPLL "exDIMACS/medium/exampleSat1.txt"
True
(0.03 secs, 3,885,384 bytes)
*DPLL> dPLL "exDIMACS/medium/exampleSat2.txt"
True
(0.03 secs, 8,937,712 bytes)
*DPLL> dPLL "exDIMACS/medium/exampleSat3.txt"
True
(0.10 secs, 12,827,976 bytes)
- Has 430 clauses
- Has 100 variables
- It’s True
*DPLL> dPLL "exDIMACS/hard/sat100.cnf"
True
(49.64 secs, 20,665,524,672 bytes)
- Has 1065 clauses
- Has 250 variables
- It’s True
*DPP> dPP "exDIMACS/hard/sat250.cnf"
*** Exception: stack overflow
- Has 1065 clauses
- Has 250 variables
- It’s False
*DPP> dPP "exDIMACS/hard/unsat250.cnf"
*** Exception: stack overflow