Hets - the Heterogeneous Tool Set

Copyright(c) Dominik Luecke Uni Bremen 2007
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerluecke@informatik.uni-bremen.de
Stabilityexperimental
Portabilityportable
Safe HaskellNone

Propositional.Conversions

Description

Helper functions for printing of Theories in DIMACS-CNF Format

Synopsis

Documentation

showDIMACSProblem Source #

Arguments

:: String

name of the theory

-> Sign

Signature

-> [Named FORMULA]

Axioms

-> Maybe (Named FORMULA)

Conjectures

-> IO String

Output

Translation of a Propositional Formula to a String in DIMACS Format

goalDIMACSProblem Source #

Arguments

:: String

name of the theory

-> PropProverState

initial Prover state

-> Named FORMULA

goal to prove

-> [String]

Options (ignored)

-> IO String 

make a DIMACS Problem for SAT-Solvers

createSignMap Source #

Arguments

:: Sign 
-> Integer

Starting number of the variables

-> Map Token Integer 
-> Map Token Integer 

Create signature map

mapClause :: FORMULA -> Map Token Integer -> String Source #

Mapping of a single Clause