A DPLL PROCEDURE FOR THE PROPOSITIONAL G
¨
ODEL LOGIC
Duˇsan Guller
Department of Applied Informatics, Comenius University, Mlynsk´a dolina, 842 15 Bratislava, Slovakia
Keywords:
The DPLL procedure, Automated deduction, G¨odel logic, Many-valued logics.
Abstract:
In the paper, we investigate the satisfiability and validity problems of a formula in the propositional G¨odel
logic. Our approach is based on the translation of a formula to an equivalent CNF one which contains literals of
the augmented form: either a or a b or (a b) b, where a, b are propositional atoms or the propositional
constants 0, 1. A CNF formula is further translated to an equisatisfiable finite order clausal theory which
consists of order clauses, finite sets of order literals of the forms a b or a b. and are interpreted by
the equality and strict linear order on [0, 1], respectively. A variant of the DPLL procedure for deciding the
satisfiability of a finite order clausal theory is proposed. The DPLL procedure is proved to be refutation sound
and complete. Finally, we reduce the validity problem of a formula (tautology checking) to the unsatisfiability
of a finite order clausal theory.
1 INTRODUCTION
A noticeable effort has been made in the develop-
ment of SAT solvers (called SAT solvers for the
Boolean satisfiability problem), especially in the last
decade. Roughly speaking, SAT solvers exploit
either complete solution methods, called complete
or systematic SAT solvers, or incomplete or hy-
brid ones. Complete SAT solvers are mostly based
on the Davis-Putnam-Logemann-Loveland procedure
(DPLL) (Davis, 1960; Davis, 1962) improved by var-
ious features. Some of the latest overviews of the de-
velopment of SAT solvers, with the underlying com-
plexity theory, may be found in (Dixon, 2004; Dixon,
2004; Kautz, 2007; Gomes, 2007; Biere, 2009).
The research in many-valued logics mainly concerns
finitely-valued ones. Thank to the finiteness of truth
value sets of these logics, almost straightforward ex-
tensions of results achieved in classical logic are fea-
sible. The DPLL procedure has been firstly gener-
alised for regular clauses over a linearly ordered truth
value set (H¨ahnle, 1996). In ((any`a, 1998), it is de-
scribed an implementation of this regular DPLL pro-
cedure with the extended two-sided Jeroslow-Wang
literal selection rule defined in (H¨ahnle, 1996). A
signed DPLL procedure over a finite truth value set is
introduced in (Beckert, 2000). It is based on a branch-
Partially supported by the grants VEGA 1/0688/10 and
VEGA 1/0726/09.
ing rule forming branches for every truth value. So,
the branching factor equals the cardinality of the truth
value set. The branching factor can be decreased by
a quotient of the truth value set wrt. a suitable equiv-
alence. A slight modification of that equivalence en-
ables a generalisation to an infinite truth value set as
well (Guller, 2009). Another signed variant of the
DPLL procedure for a countable clausal theory over
an arbitrary truth value set is proposed in (Guller,
2009). In some sense, the DPLL procedure may be
viewed like ”anti-resolution”. Thus, its branching
rule, with a finite branching factor, may be consid-
ered as if a signed anti-hyperresolution rule”. The
procedure is refutation complete if the finitary dis-
junction condition for the set of signs occurring in the
input countable clausal theory is satisfied. Infinitely-
valued logics have not yet been explored so widely
as finitely-valued ones. It is not known any general
approach as signed logic one in the finitely-valued
case. The solution of the SAT and VAL problems
strongly varies on a chosen infinitely-valued logic.
The same holds for the translation of a formula to
clause form, the existence of which is not guaranteed
in general. The results in this area have been achieved
in several ways, since infinite truth value sets form
distinct algebraic structures. One approach may be
based on the reduction from the infinitely-valued case
to the finitely-valued one, as it has been done e.g.
for the VAL problem in the propositional infinitely-
valued Łukasiewicz logic in (Mundici, 1987; Aguz-
31
Guller D..
A DPLL PROCEDURE FOR THE PROPOSITIONAL GÖDEL LOGIC.
DOI: 10.5220/0003061700310042
In Proceedings of the International Conference on Fuzzy Computation and 2nd International Conference on Neural Computation (ICFC-2010), pages
31-42
ISBN: 978-989-8425-32-4
Copyright
c
2010 SCITEPRESS (Science and Technology Publications, Lda.)
zoli, 2000). Another approach exploits the reduction
of the SAT problem to mixed integer programming
(MIP) (H¨ahnle, 1994a; H¨ahnle, 1997). (Baaz, 2001)
investigates the VAL problem in the prenex fragment
of the first-order G¨odel logic enriched by the rela-
tivisation operator , denoted as the prenex G
. At
first, a variant of Herbrand’s Theorem for the prenex
G
is proved, which reduces the VAL problem of a
formula in the prenex G
to the VAL problem of an
open formula in G
. Then a chain normal form is
defined using the formulae φ ψ, as an abbreviation
for ¬(ψ φ), and φ
ψ, as an abbreviation for
(φ ψ) (ψ φ). These formulae express the
strict dense linear order with endpoints and equality
on [0, 1], which is not possible without in G
. Fur-
ther, a meta-level logic of order clauses is defined,
which is a fragment of classical one. An order clause
is a finite set of inequalities of the form either A < B
or A B where <, are meta-level predicate sym-
bols and A, B are atoms of G
considered as meta-
level terms. The semantics of the meta-level logic of
order clauses is given by classical interpretations on
[0, 1], varying on assigned (truth) values to atoms of
G
handled as meta-level terms, which are the strict
dense linear order with endpoints on [0, 1]; < is inter-
preted as the strict dense linear order with endpoints
and as its reflexive closure on [0, 1]. A formula in
the prenex G
is valid if and only if a translation of it
to the order clause form is unsatisfiable with respect
to the semantics of the meta-level logic. The chaining
calculi in (Bachmair, 1994; Bachmair, 1998) may be
used for efficient deduction over order clauses.
In the paper, we investigate SAT and VAL prob-
lems of a formula in the propositional G¨odel logic.
Our approach is based on the translation of a formula
to an equivalent CNF one, Lemma 3.1, Section 3,
which contains literals of the augmented form: ei-
ther a or a b or (a b) b, where a, b are
propositional atoms or the propositional constants 0,
1. At this stage, unlike the chain normal form in
(Baaz, 2001), we do not need to express the linear
order of truth values by any formulae. We consider
a ground fragment of the first-order two-valued logic
with equality and strict order. The syntax is given by
a class of order clausal theories. An order clause is a
finite set of order literals of the form either a b or
a b. The semantics is given by a class of order inter-
pretations. An order interpretationis a first-order two-
valued interpretation such that its universum is [0, 1],
is interpreted as =
[0,1]
, and as <
[0,1]
. For the
purpose of solving the SAT problem, a CNF formula
is translated to an equisatisfiable finite order clausal
theory, Lemma 3.3, Section 3. The basis is the trans-
lation of a literal to an order clause: e.g. a b is
translated to a b a b b 1 or (a b) b to
b ab 1. The trichotomy on order literals: either
a b or a b or b a, naturally invokes proposing
a variant of the DPLL procedure with a trichotomy
branching rule as an algorithm for deciding the sat-
isfiability of a finite order clausal theory. The DPLL
procedure is proved to be refutation sound and com-
plete, Theorem 4.1, Section 4. The set of basic Rules
(37), (38), (39) may be augmented by the admissible
ones (50), (51), (52), (53), (54), (55), which are suit-
able for practical computing and considerably shorten
DPLL trees. In case of solving the VAL problem, we
exploit the fact that a formula φ is a tautology (valid)
if and only if the order formula φ 1 is unsatisfiable,
Theorem 5.1, Section 5. At first, φ is translated to an
equivalent CNF formula ψ =
V
in
W
jm
i
l
i
j
, l
i
j
are lit-
erals. Hence, φ is a tautology if and only if the order
formula ψ 1
W
in
V
jm
i
l
i
j
1 is unsatisfiable.
Further, every order formula l
i
j
1 is translated to
an equisatisfiable conjunction of disjunctions of order
literals: e.g. (a b) 1 is translated to b ab 1
or ((a b) b) 1 to (a ba b) b 1. This
yields an equisatisfiable finite order clausal theory T
φ
to ψ 1 and φ 1. So, φ is a tautology if and only if
T
φ
is unsatisfiable.
The paper is organised as follows. Section 2 gives
the basic notions, notation, and useful properties con-
cerning the propositional G¨odel logic. Section 3 deals
with clause form translation. In Section 4, we propose
a variant of the DPLL procedure with a trichotomy
branching rule and prove its refutational soundness,
completeness. Section 5 solves the VAL problem (tau-
tology checking).
2 PROPOSITIONAL G
¨
ODEL
LOGIC
Throughout the paper, we shall use the common no-
tions of propositional many-valued logics. The set of
propositional atoms of G¨odel logic will be denoted
as PropAtom. By PropForm we designate the set
of all propositional formulae of G¨odel logic built up
from PropAtom using the propositional constants 0,
the false, 1, the true, and the connectives ¬, nega-
tion, , conjunction, , disjunction, , implication.
We shall assume that G¨odel logic is interpreted by the
standard G-algebra
G = ([0, 1], , , ,
G
,
G
, 0, 1)
where and denote the respective supremum and
infimum operators on [0, 1],
ICFC 2010 - International Conference on Fuzzy Computation
32
a
G
b =
1if a b,
belse,
a
G
=
1if a = 0,
0else.
We recall that G is a complete linearly ordered lat-
tice algebra; the supremum operator is commuta-
tive, associative, idempotent, monotone, 0 is its neu-
tral element; the infimum operator is commutative,
associative, idempotent, monotone, 1 is its neutral el-
ement;
2
the residuum operator
G
of satisfies the
condition of residuation:
for all a, b, c G, a b c a b
G
c; (1)
the G¨odel negation
G
satisfies the condition:
for all a G, a
G
= a
G
0; (2)
and the following properties, which will be exploited
later, hold:
3
For all a, b, c G,
a b c = (a b) (a c),
(3) (distributivity of over )
a (b c) = a b a c,
(4) (distributivity of over )
a
G
(b c) = a
G
b a
G
b, (5)
a
G
b c = (a
G
b) (a
G
b), (6)
(a b)
G
c = (a
G
c) (b
G
c), (7)
a b
G
c = a
G
c b
G
c, (8)
a
G
(b
G
c) = a b
G
c, (9)
((a
G
b)
G
b)
G
b = a
G
b, (10)
(a
G
b)
G
c = ((a
G
b)
G
b) (b
G
c) c,
(11)
(a
G
b)
G
0 = ((a
G
0)
G
0) b
G
0. (12)
A valuation V of propositional atoms is a map-
ping V : PropAtom [0, 1]. A partial valuation V
of propositional atoms with the domain dom(V )
PropAtom is a mapping V : dom(V ) [0, 1]. Let
atoms(φ), atoms(T) dom(V ) in case of V being a
partial valuation. The truth value φ in V , in symbols
kφk
V
, is defined by the standard way; the proposi-
tional constants 0, 1 are interpreted by 0, 1, respec-
tively, and the connectives by the respective operators
2
Using the commutativity, associativity, idempotence,
monotonicity, neutral elements of and will not be ex-
plicitly referred to.
3
We assume the decreasing operator priority sequence
G
, ,
G
, , which enables writing order clauses without
parentheses.
on G. V is a (partial) propositional model of φ, in
symbols V |= φ, iff k φk
V
= 1. V is a (partial) propo-
sitional model of T, in symbols V |= T, iff for all
φ T, V |= φ. φ is a propositional consequence of T,
in symbols T |=
P
φ, iff for every propositional model
V of T, V |= φ. φ is equivalent to φ
, in symbols
φ φ
, ifffor everyvaluation V , kφk
V
= kφ
k
V
. φ | T
is satisfiable iff there exists a propositional model of
φ | T. φ | T is equisatisfiable to φ
| T
iff φ | T is
satisfiable if and only if φ
| T
is satisfiable.
Let X, Y, Z be sets, Z X, and f : X Y a
mapping. By X
F
Y we denote X is a finite subset
of Y. We designate P (X) = {x|x X}, P (X) is the
power set of X; P
F
(X) = {x| x
F
X}, P
F
(X) is the
set of all finite subsets of X; f[Z] = { f(z)|z Z},
f[Z] is called the image of Z with respect to f; and
f|
Z
= {(z, f(z))|z Z}, f|
Z
is the restriction of f onto
Z. f : ω Y is a sequence of Y iff f is a bijection.
3 TRANSLATION TO CLAUSAL
FORM
We propose translation of a formula to an equivalent
CNF formula, Lemma 3.1. In contrast to two-valued
logic, we have to consider an augmented set of literals
appearing in CNF formulae. Let l, φ PropForm. l is
a literal iff either l = a or l = a b or l = (a b) b
where a PropAtom and b PropAtom {0}. φ
is a conjunctive | disjunctive normal form, in sym-
bols CNF | DNF, iff either φ = 0 or φ = 1 or φ =
V
in
W
jm
i
l
i
j
| φ =
W
in
V
jm
i
l
i
j
where l
i
j
are liter-
als.
4
Lemma 3.1. Let φ PropForm. There exists a CNF
ψ φ.
Proof. It is straightforward to prove that there ex-
ists ϑ φ without any occurrence of ¬. The proof
is by induction on the structure of φ using (2); ev-
ery subformula of the form ¬ϕ of φ is replaced with
ϕ 0 ¬ϕ. We further prove the statement:
There exists a CNF ψ ϑ. (13)
The proof is by induction on the structure of ϑ; all
the occurrences of in ϑ are pushed down and the
resulting CNF ψ is recursively built up. The obvious
cases are ϑ PropAtom {0, 1} and ϑ = ϑ
1
ϑ
2
. In
the case ϑ = ϑ
1
ϑ
2
, the distributivity of over ,
(3), is exploited.
4
Associativity of , will not be explicitly referred to,
and hence,
V
in
φ
i
,
W
in
φ
i
PropForm are written without
parentheses.
A DPLL PROCEDURE FOR THE PROPOSITIONAL GÖDEL LOGIC
33
Let ϑ = ϑ
1
ϑ
2
. Then, by induction hypothesis,
there exist CNFs ψ
1
ϑ
1
, ψ
2
ϑ
2
, and we distin-
guish three cases for ψ
1
, ψ
2
. Case 1: either ψ
1
= 0 or
ψ
2
= 1 is obvious; ψ
1
ψ
2
1. Case 2: ψ
1
= 1 is
also obvious; ψ
1
ψ
2
ψ
2
. Case 3: neither ψ
1
= 0
nor ψ
2
= 1 nor ψ
1
= 1. Then ψ
1
=
V
in
W
jm
i
l
i
j
,
l
i
j
are literals, and we get two cases for ψ
2
: either
ψ
2
=
V
rv
W
su
r
k
r
s
, k
r
s
are literals, or ψ
2
= 0. Using
(6), (5), (8), (7), (3), in both the cases, there exists
^
θΘ
_
ξΞ
θ
λ
θ
ξ
κ
θ
ξ
ψ
1
ψ
2
(IH)
ϑ
1
ϑ
2
= ϑ, (14)
λ
θ
ξ
are literals, either κ
θ
ξ
are literals or κ
θ
ξ
= 0. We
show that
for all θ Θ and ξ Ξ
θ
, (15)
there exists a DNF δ
θ
ξ
λ
θ
ξ
κ
θ
ξ
.
Let θ Θ and ξ Ξ
θ
. We then distinguish nine cases
for λ
θ
ξ
and κ
θ
ξ
. Case 3.1: λ
θ
ξ
= a and κ
θ
ξ
= b, a
PropAtom, b PropAtom{0}. Hence, δ
θ
ξ
= a b =
λ
θ
ξ
κ
θ
ξ
is a DNF. Case 3.2: λ
θ
ξ
= a b and κ
θ
ξ
= c,
a PropAtom, b, c PropAtom {0}. Hence,
δ
θ
ξ
= ((a b) b) (b c) c
(11)
(a b) c
= λ
θ
ξ
κ
θ
ξ
is a DNF. Case 3.3: λ
θ
ξ
= (a b) b and κ
θ
ξ
= c,
a PropAtom, b, c PropAtom {0}. Hence,
δ
θ
ξ
== (a b) (b c) c
(10)
(((a b) b) b) (b c) c
(11)
((a b) b) c = λ
θ
ξ
κ
θ
ξ
is a DNF. Cases 3.4 3.9: either λ
θ
ξ
= a or λ
θ
ξ
=
a b or λ
θ
ξ
= (a b) b, and κ
θ
ξ
= ϕ d where
either ϕ = c or ϕ = c d, a, c PropAtom, b, d
PropAtom {0}. By Cases 3.1 3.3, there exists a
DNF λ
θ
ξ
λ
θ
ξ
d, and
δ
θ
ξ
== λ
θ
ξ
ϕ d λ
θ
ξ
d ϕ d
(8)
λ
θ
ξ
ϕ d
(9)
λ
θ
ξ
(ϕ d) = λ
θ
ξ
κ
θ
ξ
is a DNF. So, the claim (15) holds. We get that there
exists a CNF
ψ
((3))
^
θΘ
_
ξΞ
θ
δ
θ
ξ
(15)
^
θΘ
_
ξΞ
θ
λ
θ
ξ
κ
θ
ξ
(14)
ϑ.
Thus, the claim (13) holds. The induction is com-
pleted. We conclude that there exists a CNF ψ
(13)
ϑ φ.
Using Lemma 3.1, we translate (a b) ((b
c) (a c)) PropForm, a, b, c PropAtom, to an
equivalent CNF:
(a b) ((b c) (a c))
(9)
(a b) (((b c) a) c)
(8)
(5)
(a b) ((b c) c) (a b) (a c)
(9)
((a b) (b c)) c ((a b) a) c
(8)
(a b) c (b c) c
(a b) c a c
(a b) c (b c) c a c
(11)
(((a b) b) (b c))
c (b c) c a c
(3)
((a b) b c (b c) c a c)
(b c c (b c) c a c).
In Lemma 3.1, we have laid no restrictions on the
use of the distributivity law, (3), during translation to
conjunctive normal form. Therefore the size of the
output CNF may be exponential in the size of an in-
put formula. To avoid this disadvantage, we propose
translation to CNF via interpolation using new atoms,
which produces CNF formulae in linear size. A sim-
ilar approach exploiting the renaming subformulae
technique can be found in (Plaisted, 1986; Boy, 1992;
H¨ahnle, 1994b; Nonnengart, 1998; Sheridan, 2004).
By p
i
j
PropAtom we denote atoms not yet occur-
ring in the set of formulae in question. The empty se-
quence of symbols is denoted as ε. Let φ PropForm.
We define the size of φ by recursion on the structure
of φ:
|φ| =
1 if φ PropAtom {0, 1},
|φ
1
| + 1 if φ = ¬φ
1
,
|φ
1
| + |φ
2
| + 1if φ = φ
1
φ
2
where {∧, , →}.
Let φ
j
PropForm and p
i
j
PropAtom. We denote
ϕ
i
j
=
φ
j
if φ
j
PropAtom,
p
i
j
if φ
j
6∈ PropAtom;
+
π
i
j
=
ε if φ
j
PropAtom,
p
i
j
φ
j
if φ
j
6∈ PropAtom;
π
i
j
=
ε if φ
j
PropAtom,
φ
j
p
i
j
if φ
j
6∈ PropAtom.
ICFC 2010 - International Conference on Fuzzy Computation
34
Table 1: Interpolation rules.
Case: Positive interpolation Laws
Size of antecedent
Maximum size of consequent
Negative interpolation
φ
1
φ
2
p
i
0
φ
1
φ
2
(p
i
0
φ
1
) (p
i
0
φ
2
)
(6)
|φ
1
| + |φ
2
| + 3
|φ
1
| + |φ
2
| + 5
(16)
φ
1
φ
2
p
i
0
(ϕ
i
1
p
i
0
ϕ
i
2
p
i
0
)
π
i
1
π
i
2
(8)
|φ
1
| + |φ
2
| + 3
|φ
1
| + |φ
2
| + 13
(17)
φ
1
φ
2
p
i
0
(φ
1
φ
2
)
(p
i
0
ϕ
i
1
p
i
0
ϕ
i
2
)
+
π
i
1
+
π
i
2
(5)
|φ
1
| + |φ
2
| + 3
|φ
1
| + |φ
2
| + 13
(18)
(φ
1
φ
2
) p
i
0
φ
1
p
i
0
φ
2
p
i
0
(7)
|φ
1
| + |φ
2
| + 3
|φ
1
| + |φ
2
| + 5
(19)
φ
1
φ
2
0
p
i
0
(φ
1
φ
2
0)
(p
i
0
0 ϕ
i
1
0 ϕ
i
2
0)
π
i
1
π
i
2
(9), (8)
|φ
1
| + |φ
2
| + 5
|φ
1
| + |φ
2
| + 17
(20)
(φ
1
φ
2
0) p
i
0
((φ
1
0) p
i
0
) ((φ
2
0) p
i
0
)
(8), (7)
|φ
1
| + |φ
2
| + 5
|φ
1
| + |φ
2
| + 9
(21)
(φ
1
φ
2
) 0
p
i
0
((φ
1
φ
2
) 0)
(p
i
0
(φ
1
0)) (p
i
0
(φ
2
0))
(7), (6)
|φ
1
| + |φ
2
| + 5
|φ
1
| + |φ
2
| + 9
(22)
((φ
1
φ
2
) 0) p
i
0
((ϕ
i
1
0) 0 (ϕ
i
2
0) 0 p
i
0
)
+
π
i
1
+
π
i
2
(11), (7), (8)
|φ
1
| + |φ
2
| + 5
|φ
1
| + |φ
2
| + 19
(23)
(φ
1
φ
2
0) 0
p
i
0
((φ
1
φ
2
0) 0)
(p
i
0
((φ
1
0) 0)) (p
i
0
((φ
2
0) 0))
(8), (7), (6)
|φ
1
| + |φ
2
| + 7
|φ
1
| + |φ
2
| + 13
(24)
((φ
1
φ
2
0) 0) p
i
0
(ϕ
i
1
0 ϕ
i
2
0 p
i
0
)
π
i
1
π
i
2
(11), (10), (8)
|φ
1
| + |φ
2
| + 7
|φ
1
| + |φ
2
| + 15
(25)
((φ
1
φ
2
) 0) 0
p
i
0
(((φ
1
φ
2
) 0) 0)
(p
i
0
0 (ϕ
i
1
0) 0 (ϕ
i
2
0) 0)
+
π
i
1
+
π
i
2
(9), (8), (7), (8)
|φ
1
| + |φ
2
| + 7
|φ
1
| + |φ
2
| + 21
(26)
(((φ
1
φ
2
) 0) 0) p
i
0
(((φ
1
0) 0) p
i
0
) (((φ
2
0) 0) p
i
0
)
(7), (8), (7)
|φ
1
| + |φ
2
| + 7
|φ
1
| + |φ
2
| + 13
(27)
((φ
1
0) 0) 0
p
i
0
(((φ
1
0) 0) 0)
p
i
0
(φ
1
0)
(10)
|φ
1
| + 8
|φ
1
| + 4
(28)
(((φ
1
0) 0) 0) p
i
0
(φ
1
0) p
i
0
(10)
|φ
1
| + 8
|φ
1
| + 4
(29)
((φ
1
φ
2
) 0) 0, φ
2
6= 0
p
i
0
(((φ
1
φ
2
) 0) 0)
(p
i
0
0 ϕ
i
1
0 (ϕ
i
2
0) 0)
π
i
1
+
π
i
2
(9), (8), (12), (8), (10)
|φ
1
| + |φ
2
| + 7
|φ
1
| + |φ
2
| + 19
(30)
(((φ
1
φ
2
) 0) 0) p
i
0
((φ
1
0) p
i
0
) (((φ
2
0) 0) p
i
0
)
(12), (8), (10), (7)
|φ
1
| + |φ
2
| + 7
|φ
1
| + |φ
2
| + 11
(31)
(φ
1
φ
2
) 0, φ
2
6= 0
p
i
0
((φ
1
φ
2
) 0)
(p
i
0
((φ
1
0) 0)) (p
i
0
(φ
2
0))
(12), (6)
|φ
1
| + |φ
2
| + 5
|φ
1
| + |φ
2
| + 11
(32)
((φ
1
φ
2
) 0) p
i
0
(ϕ
i
1
0 (ϕ
i
2
0) 0 p
i
0
)
π
i
1
+
π
i
2
(11), (12), (8), (10)
|φ
1
| + |φ
2
| + 5
|φ
1
| + |φ
2
| + 17
(33)
φ
1
φ
2
, φ
2
6= 0
p
i
0
(φ
1
φ
2
)
(p
i
0
ϕ
i
2
ϕ
i
1
ϕ
i
2
)
π
i
1
+
π
i
2
(9), (8)
|φ
1
| + |φ
2
| + 3
|φ
1
| + |φ
2
| + 13
(34)
(φ
1
φ
2
) p
i
0
((ϕ
i
1
ϕ
i
2
) ϕ
i
2
p
i
0
) (ϕ
i
2
p
i
0
)
+
π
i
1
π
i
2
(11), (3)
|φ
1
| + |φ
2
| + 3
|φ
1
| + |φ
2
| + 17
(35)
A DPLL PROCEDURE FOR THE PROPOSITIONAL GÖDEL LOGIC
35
Let φ
1
, φ
2
PropForm and p
i
j
PropAtom. In Ta-
ble 1, we introduce interpolation rules. Let φ
PropForm. ψ is a CNF of φ iff ψ is a CNF ob-
tained from p
i
(p
i
φ) for some i by a finite deriva-
tion using the interpolation rules. We denote the set
of all CNFs of φ as CNF(φ). Let f, g : M N.
f O(g) iff there exists k such that for all m M,
f(m) k.g(m).
Lemma 3.2. Let φ PropForm. CNF(φ) 6=
/
0, and
for all ψ CNF(φ), ψ is equisatisfiable to φ, |ψ|
O(|φ|).
Proof. The proof of CNF(φ) 6=
/
0 is by induction on
the structure of φ. It is straightforward to prove that
p
i
(p
i
φ) is equisatisfiable to φ; for every interpo-
lation rule, its antecedent is equisatisfiable to its con-
sequent; if for every i, ψ
i
is equisatisfiable to φ
i
, then
so is
V
i
ψ
i
to
V
i
φ
i
; there exists k such that for every
interpolation rule, the size of its consequent is less
than or equal to k times the size of its antecedent. Let
ψ CNF(φ). Then there exist i, n, a finite derivation
ζ
0
= p
i
(p
i
φ), . . . , ζ
n
= ψ, and k such that for all
j n, ζ
j
is equisatisfiable to φ and |ζ
j
| k.|φ|. The
proof is by induction on n using the previous state-
ments.
Using Lemma 3.2, we translate (a b) ((b
c) (a c)) PropForm, a, b, c PropAtom, to an
equisatisfiable CNF:
p
0
0
(p
0
0
(a b
|{z }
p
0
1
)
((b c) (a c)
| {z }
p
0
2
)), (34)
p
0
0
(p
0
0
p
0
2
p
0
1
p
0
2
)
((a b) p
0
1
)
(p
0
2
((b c
|{z}
p
1
1
) (a c
|{z}
p
1
2
))), (35), (34)
p
0
0
(p
0
0
p
0
2
p
0
1
p
0
2
)
((a b) b p
0
1
) (b p
0
1
)
(p
0
2
p
1
2
p
1
1
p
1
2
)
((b c) p
1
1
)
(p
1
2
(a c)), (35), (34)
p
0
0
(p
0
0
p
0
2
p
0
1
p
0
2
)
((a b) b p
0
1
) (b p
0
1
)
(p
0
2
p
1
2
p
1
1
p
1
2
)
((b c) c p
1
1
) (c p
1
1
)
(p
1
2
c a c).
We further introduce a ground fragment of the
first-order two-valued logic with equality and strict
order. The syntax is given by a class of order clausal
theories. We form order literals and clauses from
PropAtom {0, 1}, regarded as constants, using bi-
nary predicates , equality, and , strict order. l is an
order literal iff either l = a b = b a; since equal-
ity is commutative by definition, we identify a b
and b a; or l = a b where a, b PropAtom
{0, 1}. An order clause is a finite set of order lit-
erals. An order clause {l
1
, . . . , l
n
} is written in the
form l
1
··· l
n
. The order clause
/
0 is called the
empty clause and denoted as . An order clause {l}
is called a unit order clause and denoted as l if it does
not cause the ambiguitywith the denotationof the sin-
gle literal l in a given context. We designate the set
of order clauses as OrdCl. Let l, l
1
, . . . , l
n
be order lit-
erals and C,C
OrdCl. By l C we denote {l} C
where l 6∈ C. Analogously, by
W
n
i=1
l
i
C we denote
{l
1
} · ··{l
n
} C where for all 1 i 6= i
n, l
i
6∈ C
and l
i
6= l
i
. By C C
we denote C C
. C is a sub-
clause of C
, in symbols C C
, iff C C
. An order
clausal theory is a set of order clauses. A unit or-
der clausal theory is a set of unit order clauses. Let
T, T
OrdCl. By atoms(C)|atoms(T) PropAtom
we denote the set of all the propositional atoms oc-
curring in C | T. The semantics is given by a class of
order interpretations. An order interpretation I with
the domain dom(I ) = PropAtom is a first-order two-
valued interpretation such that U
I
= [0, 1], for all a
PropAtom, a
I
[0, 1], 0
I
= 0, 1
I
= 1, and
I
==
[0,1]
,
I
=<
[0,1]
. A partial order interpretation I with the
domain dom(I ) PropAtom is an order interpreta-
tion such that for all a dom(I ), a
I
[0, 1]. An
(partial) order interpretation I is identified with the
(partial) valuation V
I
: dom(V
I
) [0, 1], V
I
(a) =
a
I
. Let atoms(l), atoms(C), atoms(C
), atoms(T),
atoms(T
) dom(I ). I is a (partial) model of l, in
symbols I |= l, iff either for l = a b, a
I
=
[0,1]
b
I
,
or for l = a b, a
I
<
[0,1]
b
I
. I is a (partial) model of
C, in symbols I |= C, iff there exists l C such that
I |= l. I is a (partial) model of T, in symbols I |= T,
iff for all C T, I |= C. Note that and T such that
T are unsatisfiable by definition. C
is an order
consequence of C, in symbols C |=
O
C
, iff for every
model I of C, I |= C
. C is an order consequence of
T, in symbols T |=
O
C, iff for every model I of T,
I |= C. T
is an order consequence of T, in symbols
T |=
O
T
, iff for every model I of T, I |= T
. C | T
is satisfiable iff there exists a model of C | T. C
| T
is equisatisfiable to C | T iff C
| T
is satisfiable if
ICFC 2010 - International Conference on Fuzzy Computation
36
and only if C | T is satisfiable. By OrdPropForm we
designate the augmented set of all order propositional
formulae built up from PropAtom using 0, 1, ¬, , ,
, and , . Note that OrdPropForm PropForm
by definition, and all the notions and notation con-
cerned with PropForm are straightforwardly extended
to OrdPropForm.
Lemma 3.3. Let φ be a conjunctive normal form.
There exists T
φ
F
OrdCl such that T
φ
is equisatis-
fiable to φ.
Proof. By the definition of CNF, we distinguish three
cases for φ. Case 1: φ = 0. Then φ is unsatisfiable and
T
φ
= {}
F
OrdCl is unsatisfiable as well. So, the
claim holds. Case 2: φ = 1. Then φ is satisfiable and
T
φ
=
/
0
F
OrdCl is satisfiable as well. So, the claim
holds. Case 3: φ =
V
in
W
jm
i
l
i
j
, l
i
j
are literals.
For all i n and j m
i
, there exists (36)
C
i
j
OrdCl such that C
i
j
is equisatisfiable to l
i
j
.
The proof is by definition. We get five cases for
l
i
j
. Case 3.1: l
i
j
= a, a PropAtom. Then C
i
j
=
a 1. Case 3.2: l
i
j
= a 0, a PropAtom. Then
C
i
j
= a 0. Case 3.3: l
i
j
= a b, a PropAtom,
b PropAtom. ThenC
i
j
= a b a bb 1. Case
3.4: l
i
j
= (a 0) 0, a PropAtom. Then C
i
j
=
0 a. Case 3.5: l
i
j
= (a b) b, a PropAtom,
b PropAtom. Then C
i
j
= b a b 1. So, the
claim (36) holds. By (36), there exists T
φ
F
OrdCl
such that T
φ
= {
W
jm
i
C
i
j
|i n} is equisatisfiable to
φ.
Using Lemma 3.3, we translate the CNF ((a b)
bc(b c) ca c) (b cc(b c)
c a c), a, b, c PropAtom, to an equisatisfiable
T
F
OrdCl where
T = {b a b 1 c 1
c b c 1 a c a c c 1,
b c b c c 1 c 1
c b c 1 a c a c c 1}.
4 DPLL PROCEDURE
We devise a variant of the DPLL procedure over finite
order clausal theories. At first, a minimal set of basic
rules is introduced. Let l, l
1
, l
2
, l
3
be order literals. l
is a contradiction iff either l = 0 1 or l = 0 0 or
l = 1 1 or l = a 0 or l = 1 a or l = a a where
a PropAtom. l is a tautology iff either l = 0 0
or l = 1 1 or l = 0 1 or l = a a where a
PropAtom. l
1
l
2
l
3
is a general trichotomy iff l
1
=
a b, l
2
= a b, l
3
= b a where a, b PropAtom
{0, 1}. Let T OrdCl. The basic rules are as follows:
(37) (One literal contradiction simplification rule)
T
T {}
if T is a unit order clausal theory, l T, and
l is a contradiction;
(38) (One literal transitivity rule of and )
T
T {a c}
where =
if
1
=
2
=,
else,
if T is a unit order clausal theory,
a
1
b, b
2
c T, and
1
,
2
{, ≺};
(39) (General trichotomy branching rule)
T
T {l
1
C} {l
1
}
T {l
1
C} {C} {l
2
}
T {l
1
C} {C} {l
3
}
if l
1
C T, C 6= , and
l
1
l
2
l
3
is a general trichotomy.
Rule (39) reflects the linearity of <
[0,1]
in terms of
general trichotomy. Rule (37) formalises its addi-
tional properties: the endpoints 0 <
[0,1]
1 and strict-
ness via contradictions. Rule (38) expresses the mu-
tual transitivity of =
[0,1]
together with <
[0,1]
. Rules
(37), (38), (39) are sound in view of satisfiability:
T and T {} in the consequent of Rule (37) (40)
are both unsatisfiable.
T is equisatisfiable to T {a c} in the (41)
consequent of Rule (38).
Let I be a partial order interpretation, (42)
dom(I ) atoms(T).
I |= T if and only if I |= T {l
1
C} {l
1
} or
I |= T {l
1
C} {C} {l
2
} or
I |= T {l
1
C} {C} {l
3
}
in the consequent of Rule (39).
T is satisfiable if and only if (43)
T {l
1
C} {l
1
} or
T {l
1
C} {C} {l
2
} or
T {l
1
C} {C} {l
3
}
in the consequent of Rule (39) is satisfiable.
A DPLL PROCEDURE FOR THE PROPOSITIONAL GÖDEL LOGIC
37
The proofis byassumption and definition. The refuta-
tional completeness argument of the basic rules, The-
orem 4.1(ii), may be provided using the excess lit-
eral technique (Anderson, 1970). From this point of
view, Rules (37) and (38) handle the base case: T is
a unit order clausal theory, while Rule (39) the induc-
tion one: it subtracts the excess literal measure of T
at least by 1 for every clausal theory in a branch of its
consequent.
T is closed under Rules (37) and (38) iff for every
application of Rules (37) and (38) of the form
T
T
,
T
= T. By trans(T) OrdCl we denote the least set
such that trans(T) T and trans(T) is closed under
Rules (37), (38).
Using the basic rules, one can construct a finitely
generated tree with the input theory as the root in
the usual manner, so as the classical DPLL procedure
does; for every parent vertex, there exists an applica-
tion of Rule (37) or (38) or (39) such that the parent
vertex is the theory in its antecedent and the children
vertices are the theories in its consequent. A branch
of a tree is closed iff it contains a vertex T
such that
T
. A branch of a tree is open iff it is not closed.
A tree is closed iff everyits branchis finite and closed.
Note that a closed tree is finite by K¨onig’s Lemma. A
tree is open iff it is not closed. A tree is linear iff it
consists of only one branch, beginning from its root
and ending in its only leaf.
Lemma 4.1. Let T OrdCl.
(i) If T
F
OrdCl, then trans(T)
F
OrdCl.
(ii) If T is a unit order clausal theory and 6∈
trans(T), then trans(T) is a unit order clausal
theory.
(iii) atoms(trans(T)) = atoms(T).
(iv) T |=
O
trans(T).
(v) If T
F
OrdCl, then there exists a finite linear
tree with the root T and the leaf trans(T) con-
structed using Rules (37) and (38).
Proof. By assumption and definition.
The following lemma shows that Rules (37) and
(38) are refutation complete for a (countable) unit or-
der clausal theory, which will be exploited in the base
case of Theorem 4.1(ii).
Lemma 4.2. Let T = trans(T) OrdCl be a count-
able unit order clausal theory. There exists a partial
model A of T, dom(A) = atoms(T).
Proof. By the theorem assumption that T is a unit or-
der clausal theory, 6∈ T = trans(T). In addition,
by the theorem assumption that T is a countable set,
there exists a sequence δ of atoms(T). At first, we
define partial order interpretations Mod
α
by recursion
on α ω:
Mod
0
=
/
0;
Mod
α
= Mod
α1
{(δ(α 1), v
α1
)} (0 < α < ω),
M
α1
= {kak
Mod
α1
|a δ(α 1) T,
a dom(Mod
α1
) {0, 1}},
S
α1
= {Mod
α1
(a)|a δ(α 1) T,
a dom(Mod
α1
)},
I
α1
= {Mod
α1
(a)|δ(α 1) a T,
a dom(Mod
α1
)},
v
α1
=
W
S
α1
+
V
I
α1
2
, M
α1
=
/
0,
W
M
α1
, M
α1
6=
/
0;
Mod
ω
=
[
α<ω
Mod
α
.
It is straightforward to prove the following state-
ments:
For all α ω, Mod
α
is a partial order (44)
interpretation, dom(Mod
α
) = δ[α], and
for all β α, Mod
β
Mod
α
.
For all α ω and l T such that (45)
atoms(l) dom(Mod
α
), Mod
α
|= l.
For all α ω and a dom(Mod
α
), (46)
if Mod
α
(a) = 0, then a 0 T.
For all α ω and a dom(Mod
α
), (47)
if Mod
α
(a) = 1, then a 1 T.
The proofs are by induction on α ω. We put
A = Mod
ω
. By (44), A = Mod
ω
is a partial or-
der interpretation, dom(A) = dom(Mod
ω
)
(44)
== δ[ω] =
atoms(T). Let l T. Then atoms(l) atoms(T) =
dom(Mod
ω
) = dom(A) and A = Mod
ω
(45)
|==== l. So,
A |= T. We conclude that A is a partial model of T,
dom(A) = atoms(T).
The DPLL procedure is refutation sound and com-
plete.
Theorem 4.1 (Refutational Soundnessand Complete-
ness of the DPLL Procedure). Let T
F
OrdCl.
(i) If there exists a closed tree Tree with the root T
constructed using Rules (37), (38), (39), then T
is unsatisfiable.
ICFC 2010 - International Conference on Fuzzy Computation
38
(ii) There exists a nite tree Tree with the root T
constructed using Rules (37), (38), (39) with
the following properties:
If T is unsatisfiable, then Tree is closed. (48)
If T is satisfiable, then Tree is open and (49)
there exists a partial model A of T,
dom(A) = atoms(T), related to Tree.
Proof. (i) The proof is by induction on the structure
of Tree using (40), (41), (42).
(ii) We exploit the excess literal technique to con-
struct a finite tree Tree with the root T using Rules
(37), (38), (39). Let T
F
F
OrdCl. We define
elmeasure(T
F
) = (
CT
F
|C|) |T
F
|. We proceed by
induction on elmeasure(T).
Let elmeasure(T) = 0. We distinguish two cases:
either T or 6∈ T.
Case 1: T. Then T is unsatisfiable and Tree =
T is a closed tree with the root T. So, (48) holds and
(49) holds trivially.
Case 2: 6∈ T. Then, by the denotation of
elmeasure(T), T is a unit order clausal theory. By
Lemma 4.1(v), there exists a finite linear tree Tree
with the root T and the leaf trans(T) constructed us-
ing Rules (37) and (38). We get two cases:
either trans(T) or 6∈ trans(T).
Case 2.1: trans(T). Then Tree is a closed tree
with the root T; its only branch from T to trans(T) is
closed. Hence, by (i), T is unsatisfiable. So, (48)
holds and (49) holds trivially.
Case 2.2: 6∈ trans(T). Then Tree is an open
tree with the root T; its only branch from T to
trans(T) is open. Since T is a unit order clausal the-
ory, by Lemma 4.1(ii), we get trans(T) is a unit or-
der clausal theory, and by Lemma 4.2 for trans(T),
there exists a partial model A of trans(T), dom(A) =
atoms(trans(T)). Hence, A is a partial model of T
trans(T), dom(A) = atoms(trans(T))
Lemma 4.1(iii)
==========
atoms(T), related to Tree and T is satisfiable. So, (49)
holds and (48) holds trivially.
Let elmeasure(T) = n > 0 and the statement hold
for all T
F
F
OrdCl such that elmeasure(T
F
) <
n. Since elmeasure(T) > 0, by the denotation of
elmeasure(T), there exists l
1
C T such that C 6= .
Let l
2
, l
3
be order literals such that l
1
l
2
l
3
is a
general trichotomy. This yields the application of
Rule (39)
T
(T { l
1
C}) {l
1
}
(T { l
1
C}) {C} {l
2
}
(T { l
1
C}) {C} {l
3
}
.
We denote T
1
= (T {l
1
C}) {l
1
}, T
2
= (T
{l
1
C}) {C} {l
2
}, T
3
= (T {l
1
C})
{C} {l
2
}. Then elmeasure(T
1
) < elmeasure(T),
elmeasure(T
2
) < elmeasure(T), elmeasure(T
3
) <
elmeasure(T), and by induction hypothesis, there ex-
ist finite trees Tree
1
with the root T
1
, Tree
2
with the
root T
2
, Tree
3
with the root T
3
constructed using Rules
(37), (38), (39) such that (48) and (49) hold for
Tree
1
, Tree
2
, Tree
3
. This yields
Tree =
T
Tree
1
Tree
2
Tree
3
is a finite tree with the root T constructed using Rules
(37), (38), (39). We get two cases:
either T is unsatisfiable or T is satisfiable.
Case 4: T is unsatisfiable. Then, by (42), T
1
,
T
2
, T
3
are unsatisfiable, and by (48) for Tree
1
, Tree
2
,
Tree
3
, Tree
1
, Tree
2
, Tree
3
are closed trees. Hence,
Tree is a closed tree. So, (48) holds and (49) holds
trivially for Tree.
Case 5: T is satisfiable. Then, by (42), there ex-
ists 1 i 3 such that T
i
is satisfiable. Hence, by (49)
for Tree
i
, Tree
i
is an open tree and there exists a par-
tial model A
i
of T
i
, dom(A
i
) = atoms(T
i
), related to
Tree
i
. By the definition of T
i
, T
i
|=
O
T. As {l
1
, l
2
, l
3
}
is a trichotomy, atoms(l
1
) = atoms(l
2
) = atoms(l
3
)
and atoms(T
i
) atoms(T). We get Tree is an open
tree and A = A
i
{(p, 0)| p atoms(T)atoms(T
i
)},
dom(A) = atoms(T), is a partial model of T related to
Tree. So, (49) holds and (48) holds trivially for Tree.
The induction is completed.
The set of basic rules has been proposed as a min-
imal one, which is suitable for theoretical purposes;
e.g. not to have a too complicated completeness ar-
gument. For practical computing, it may be aug-
mented by additional rules. Let l, l
1
, l
2
, l
3
be or-
der literals and C OrdCl. l
1
l
2
is a dichotomy
iff either l
1
= 0 a and l
2
= 0 a or l
1
= a 1
and l
2
= a 1 where a PropAtom. l
1
l
2
l
3
is
a trichotomy iff l
1
= a b, l
2
= a b, l
3
= b a
where a, b PropAtom. C is a tautology iff there ex-
ists C
OrdCl such that C
C and either C
= {l}
where l is a tautology or C
is a dichotomy or C
is a
trichotomy.
(50) (Contradiction simplification rule)
T
(T {l C}) {C}
if l C T and l is a contradiction;
(51) (Tautology simplification rule)
A DPLL PROCEDURE FOR THE PROPOSITIONAL GÖDEL LOGIC
39
T
T {C}
(52)
if C T and C is a tautology;
(53) (One literal positive propagation rule)
T
T {C}
if l,C T, l C, and l is a literal;
(54) (One literal negative propagation rule)
T
(T { l
2
C}) {C}
if l
1
, l
2
C T and there exists l
3
such that
l
1
l
2
l
3
is a general trichotomy;
(55) (Dichotomy branching rule)
T
(T { l
1
C}) {l
1
}
(T {l
1
C}) {C} {l
2
}
if l
1
C T, C 6= , and l
1
l
2
is a dichotomy;
(56) (Trichotomy branching rule)
T
(T { l
1
C}) {l
1
}
(T { l
1
C}) {C} {l
2
}
(T { l
1
C}) {C} {l
3
}
if l
1
C T, C 6= , and l
1
l
2
l
3
is a trichotomy.
Rules (50), (51), (53), (54), (55), (56) are obvi-
ously sound and helpful for constructing more com-
pact DPLL trees in many cases, however, superfluous
for the completeness argument. Concerning the SAT
problem of a formula, we conclude.
Corollary 4.1. Let φ PropForm. There exist an eq-
uisatisfiable T
φ
F
OrdCl to φ and a finite tree Tree
φ
with the root T
φ
constructed using Rules (37), (38),
(39) with the following properties:
If φ is unsatisfiable, then Tree
φ
is closed. (57)
If φ is satisfiable, then Tree
φ
is open and (58)
there exists a partial model A
φ
of φ,
dom(A
φ
) = atoms(φ).
Proof. An immediate consequence of Lemma 3.3 and
Theorem 4.1.
Note that the SAT problem of a finite theory can
be reduced to the SAT one of a formula in the usual
manner. Let T = {φ
i
|i n}
F
PropForm. Then
φ =
V
in
φ
i
PropForm is equisatisfiable to T.
5 TAUTOLOGY CHECKING
One application of the DPLL procedure may be to
tautology checking. Let φ PropForm. φ is a tau-
tology (valid) iff for every valuation V , V |= φ. As
explained in Introduction, the VAL problem of a for-
mula φ can be reduced to the unsatisfiability of the
order formula φ 1 consequently translated to an eq-
uisatisfiable finite order clausal theory T
φ
. Then the
unsatisfiability of T
φ
is decided by the DPLL proce-
dure. This section provides technical details of the
reduction, Theorem 5.1. In addition to the properties
stated in Section 2, the following ones hold:
For all φ
1
, φ
2
PropForm and ψ
1
, ψ
2
, ψ
3
OrdPropForm,
(φ
1
φ
2
) 1 φ
1
1 φ
2
1, (59)
(φ
1
φ
2
) 1 φ
1
1 φ
2
1, (60)
ψ
1
ψ
2
ψ
3
= (ψ
1
ψ
2
) (ψ
1
ψ
3
). (61)
Theorem 5.1 (Reduction Theorem). Let φ
PropForm. There exists T
φ
F
OrdCl such that T
φ
is unsatisfiable if and only if φ is a tautology.
Proof. By Lemma 3.1, there exists a conjunctive nor-
mal form ψ such that ψ φ and we distinguish tree
cases:
either ψ = 0 or ψ = 1 or ψ =
^
in
_
jm
i
l
i
j
, l
i
j
are literals.
Case 1: φ ψ = 0. Then φ is not a tautology and
T
φ
=
/
0
F
OrdCl is satisfiable. So, the claim holds.
Case 2: φ ψ = 1. Then φ is a tautology and
T
φ
= { }
F
OrdCl is unsatisfiable. So, the claim
holds.
Case 3: φ ψ =
V
in
W
jm
i
l
i
j
, l
i
j
are literals.
Then
φ is a tautology if and only if (62)
φ 1 OrdPropForm is unsatisfiable;
φ 1 ψ 1 = (
^
in
_
jm
i
l
i
j
) 1
(59)
(60)
_
in
^
jm
i
l
i
j
1.
(63)
For all i n and j m
i
, there exists (64)
a conjunction of disjunctions of order literals
δ
i
j
OrdPropForm such that
δ
i
j
is equisatisfiable to l
i
j
1.
The proof is by definition. We get five cases for l
i
j
:
Case 3.1: l
i
j
= a, a PropAtom. Then δ
i
j
= a 1.
Case 3.2: l
i
j
= a 0, a PropAtom. Then δ
i
j
= 0 a.
ICFC 2010 - International Conference on Fuzzy Computation
40
Case 3.3: l
i
j
= a b, a PropAtom, b PropAtom.
Then δ
i
j
= b a b 1. Case 3.4: l
i
j
= (a 0) 0,
a PropAtom. Then δ
i
j
= a 0. Case 3.5: l
i
j
= (a
b) b, a PropAtom, b PropAtom. Then δ
i
j
=
(a b a b) b 1. So, the claim (64) holds. By
(64) and (63),
_
in
^
jm
i
δ
i
j
is equisatisfiable to (65)
_
in
^
jm
i
l
i
j
1 and φ 1.
Hence, there exists ϕ OrdPropForm such that
ϕ =
^
rv
_
su
r
κ
r
s
((61))
_
in
^
jm
i
δ
i
j
(66)
where κ
i
j
are order literals. By (66) and (65), there
exists T
φ
F
OrdCl such that
T
φ
= {
_
su
r
κ
r
s
|r v} is equisatisfiable to ϕ, (67)
_
in
^
jm
i
δ
i
j
, and φ 1.
We close that T
φ
is unsatisfiable
(67)
φ 1 is unsatis-
fiable
(62)
φ is a tautology.
Let φ = (a b) ((b c) (a c)) PropForm,
a, b, c PropAtom. Using Theorem 5.1, we show that
φ is a tautology. At first, using Lemma 3.1, we trans-
late φ to an equivalent CNF
ψ = ((a b) b c (b c) c a c)
(b c c (b c) c a c),
cf. the example after Lemma 3.1. Then, using (59)
and (60), ψ 1 is equivalent to
ξ = ((a b) b) 1 c 1
((b c) c) 1 (a c) 1
(b c) 1 c 1
((b c) c) 1 (a c) 1.
Hence, using (64) and (67), ξ is equisatisfiable to
T
φ
F
OrdCl where
T
φ
= {a b a b c b, [1]
a b a b c 1, [2]
a b a b b c b c, [3]
a b a b c a, [4]
b 1 c b, [5]
T
φ
T
1
φ
T
2
φ
T
3
φ
T
4.1
φ
T
5.1
φ
T
6.1.1
φ
T
7.1.1
φ
T
6.1.2
φ
T
7.1.2
φ
T
6.1.3
φ
T
7.1.3
φ
T
4.2
φ
T
5.2
φ
T
6.2.1
φ
T
7.2.1
φ
T
6.2.2
φ
T
7.2.2
φ
T
6.2.3
φ
T
7.2.3
φ
T
4.3
φ
T
5.3
φ
Figure 1: Closed tree Tree
φ
.
b 1 c 1, [6]
b 1 b c, [7]
b 1 c a, [8]
c 1 c b, [9]
c 1, [10]
c 1 b c, [11]
c 1 c a, [12]
b c b c c b,[13]
b c b c c 1,[14]
b c b c, [15]
b c b c c a,[16]
c a c b, [17]
c a c 1, [18]
c a b c, [19]
c a}. [20]
Finally, using the DPLL procedure rules, we can con-
struct a closed tree Tree
φ
with the root T
φ
, outlined in
Figure 1.
We close that T
φ
is unsatisfiable, and by Theorem
5.1, φ is a tautology.
6 CONCLUSIONS
We have investigated the satisfiability and validity
problems of a formula in the propositional G¨odel
logic. The satisfiability problem has been solved via
the translation of a formula to an equivalent CNF
one, containing literals of the forms a, a b, or
(a b) b. A CNF formula has further been trans-
lated to an equisatisfiable finite order clausal theory,
which consists of order clauses with order literals of
the forms a b or a b. and are interpreted
by the equality and strict linear order on [0, 1], respec-
tively. The trichotomy on order literals: either a b
A DPLL PROCEDURE FOR THE PROPOSITIONAL GÖDEL LOGIC
41
or a b or b a, has naturally led to a variant of the
DPLL procedure with a trichotomy branching rule,
which is refutation sound and complete. We have re-
duced the validity problem of a formula to the unsat-
isfiability of a finite order clausal theory.
REFERENCES
Aguzzoli, S. and Ciabattoni, A. Finiteness of infinite-valued
Łukasiewicz logic. Journal of Logic, Language and
Information, 9:5-29, 2000.
Anderson, R. and Bledsoe, W. W. A linear format for res-
olution with merging and a new technique for estab-
lishing completeness. Journal of the ACM, 17(3):525-
534, 1970.
Baaz, M., Ferm¨uller, C. G. and Ciabattoni, A. Herbrand’s
theorem for prenex G¨odel logic and its consequences
for theorem proving. Proceedings of the LPAR con-
ference, LNCS vol. 2250, Springer-Verlag, 201-215,
2001.
Bachmair, L. and Ganzinger, H. Rewrite-based equa-
tional theorem proving with selection and simplifica-
tion. Journal of Logic and Computation, 4(3):217-
247, 1994.
Bachmair, L. and Ganzinger, H. Ordered chaining calculi
for first-order theories of transitive relations. Journal
of the ACM, 45(6):1007-1049, 1998.
Beckert, B., H¨ahnle, R. and Many`a, F. The SAT problem of
signed CNF formulas. In Labelled Deduction, Basin,
D., D’Agostino, M., Gabbay, D., Matthews, S. and
Vigan´o, L., eds., Applied Logic Series, vol. 17, Kluwer
Academic Publishers, 61-82, 2000.
Biere, A., Heule, M., van Maaren, H. and Walsh, T., eds.
Handbook of Satisfiability. Frontiers in Artificial
Intelligence and Applications Series, vol. 185, IOS
Press, 2009.
Boy de la Tour, T. An optimality result for clause
form translation. Journal of Symbolic Computation,
14(4):283-301, 1992.
Davis, M. and Putnam, H. A computing procedure for quan-
tification theory. Communications of the ACM, 7:201-
215, 1960.
Davis, M., Logemann, G. and Loveland, D. A machine
program for theorem-proving. Communications of the
ACM, 5:394-397, 1962.
Dixon, H. E., Ginsberg, M. L., Luks, E. M. and Parkes, A. J.
Generalizing Boolean satisfiability II: Theory. Journal
of Artificial Intelligence Research, 22:481-534, 2004.
Dixon, H. E., Ginsberg, M. L. and Parkes, A. J. General-
izing Boolean satisfiability I: Background and survey
of existing work. Journal of Artificial Intelligence Re-
search, 21:193-243, 2004.
Gomes, C. P., Kautz, H., Sabharwal, A. and Selman, B. Sat-
isfiability solvers. In Handbook of Knowledge Rep-
resentation, Harmelen, F. v., Lifschitz, V. and Porter,
B., eds., Elsevier Science Publishers, Part I, Chap. 3,
2007.
Guller, D. On the refutational completeness of signed bi-
nary resolution and hyperresolution. Fuzzy Sets and
Systems, 160(8):1162-1176, 2009.
H¨ahnle, R. Many-valued logic and mixed integer program-
ming. Annals of Mathematics and Artificial Intelli-
gence, 12(3,4):231-264, 1994.
H¨ahnle, R. Short conjunctive normal forms in finitely-
valued logics. Journal of Logic and Computation,
4(6):905-927, 1994.
H¨ahnle, R. Exploiting data dependencies in many-valued
logics. Journal of Applied Non-Classical Logics,
6(1):49-69, 1996.
H¨ahnle, R. Proof theory of many-valued logic - linear opti-
mization - logic design: Connections and interactions.
Soft Computing - A Fusion of Foundations, Method-
ologies and Applications, 1(3):107-119, 1997.
Kautz, H. and Selman, B. The state of SAT. Discrete Ap-
plied Mathematics, 155(12):1514-1524, 2007.
Many`a, F., B´ejar, R. and Escalada-Imaz, G. The satisfiabil-
ity problem in regular CNF-formulas. Soft Computing
- A Fusion of Foundations, Methodologies and Appli-
cations, 2(3):116-123, 1998.
Mundici, D. Satisfiability in many-valued sentential logic is
NP-complete. Theoretical Computer Science, 52:145-
153, 1987.
Nonnengart, A., Rock, G. and Weidenbach, Ch. On gener-
ating small clause normal forms. Proceedings of the
CADE conference, LNAI vol. 1421, Springer-Verlag,
397-411, 1998.
Plaisted, D. A. and Greenbaum, S. A structure-preserving
clause form translation. Journal of Symbolic Compu-
tation, 2(3):293-304, 1986.
Sheridan, D. The optimality of a fast CNF conver-
sion and its use with SAT. Online Proceed-
ings of International Conference on the The-
ory and Applications of Satisfiability Testing,
www.satisfiability.org/SAT04/programme/114.pdf,
2004.
ICFC 2010 - International Conference on Fuzzy Computation
42