An Order Hyperresolution Calculus for G
¨
odel Logic with Truth
Constants and Equality, Strict Order, Delta
Du
ˇ
san Guller
Department of Applied Informatics, Comenius University, Mlynsk
´
a dolina, 842 48, Bratislava, Slovakia
Keywords:
G
¨
odel Logic, Resolution, Many-valued Logics, Automated Deduction.
Abstract:
In (Guller, 2014), we have generalised the well-known hyperresolution principle to the first-order G
¨
odel logic
with truth constants. This paper is a continuation of our work. We propose a hyperresolution calculus suitable
for automated deduction in a useful expansion of G
¨
odel logic by intermediate truth constants and the equality,
P
P
P, strict order,
, projection,
, operators. We solve the deduction problem of a formula from a countable
theory in this expansion. We expand G
¨
odel logic by a countable set of intermediate truth constants ¯c, c
(0,1). Our approach is based on translation of a formula to an equivalent satisfiable finite order clausal theory,
consisting of order clauses. An order clause is a finite set of order literals of the form ε
1
ε
2
where ε
i
is
an atom or a quantified atom, and is the connective P or . P and are interpreted by the equality
and standard strict linear order on [0,1], respectively. We shall investigate the so-called canonical standard
completeness, where the semantics of G
¨
odel logic is given by the standard G-algebra and truth constants are
interpreted by themselves’. The hyperresolution calculus is refutation sound and complete for a countable
order clausal theory under a certain condition for the set of truth constants occurring in the theory. As an
interesting consequence, we get an affirmative solution to the open problem of recursive enumerability of
unsatisfiable formulae in G
¨
odel logic with truth constants and the equality, P
P
P, strict order,
, projection,
,
operators.
1 INTRODUCTION
Current research in many-valued logics is mainly
concerned with left-continuous t-norm based log-
ics including the fundamental fuzzy logics: G
¨
odel,
Łukasiewicz, and Product ones. Most explorations
of t-norm based logics are focused on tautologies and
deduction calculi with the only distinguished truth de-
gree 1, (H
´
ajek, 2001). However, in many real-world
applications, one may be interested in representation
and inference with explicit partial truth; besides the
truth constants 0, 1, intermediate truth constants are
involved in. In the literature, two main approaches to
expansions with truth constants, are described. His-
torically, the first one has been introduced in (Pavelka,
1979), where the propositional Łukasiewicz logic is
augmented by truth constants ¯r, r [0,1], Pavelka’s
logic (PL). A formula of the form ¯r φ evaluated to
1 expresses that the truth value of φ is greater than
or equal to r. In (Nov
´
ak et al., 1999), further develop-
ment of evaluated formulae, and in (H
´
ajek, 2001), Ra-
tional Pavelka’s logic (RPL) - a simplification of PL,
Partially supported by VEGA Grant 1/0592/14.
are described. Another approach relies on traditional
algebraic semantics. Various completeness results
for expansions of t-norm based logics with countably
many truth constants are investigated, among others,
in (Esteva et al., 2001; Savick
´
y et al., 2006; Esteva
et al., 2007b; Esteva et al., 2007a; Esteva et al., 2009;
Esteva et al., 2010a; Esteva et al., 2010b).
In (Guller, 2012; Guller, 2015), we have gener-
alised the well-known hyperresolution principle to the
first-order G
¨
odel logic for the general case. Our ap-
proach is based on translation of a formula of G
¨
odel
logic to an equivalent satisfiable finite order clausal
theory, consisting of order clauses. We have intro-
duced a notion of quantified atom: a formula a is
a quantified atom if a = Qx p(t
0
,.. .,t
τ
) where Q is
a quantifier (, ); p(t
0
,.. .,t
τ
) is an atom; x is a
variable occurring in p(t
0
,.. .,t
τ
); for all i τ, ei-
ther t
i
= x or x does not occur in t
i
(t
i
is a free term
in the quantified atom). The notion of quantified
atom is all important. It permits us to extend clas-
sical unification to quantified atoms without any ad-
ditional computational cost. Two quantified atoms
Qx p(t
0
,.. .,t
τ
) and Q
0
x
0
p
0
(t
0
0
,.. .,t
0
τ
) are unifiable if
Guller, D..
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta.
In Proceedings of the 7th International Joint Conference on Computational Intelligence (IJCCI 2015) - Volume 2: FCTA, pages 31-46
ISBN: 978-989-758-157-1
Copyright
c
2015 by SCITEPRESS Science and Technology Publications, Lda. All rights reser ved
31
Q = Q
0
, x = x
0
, p = p
0
, and the left-right sequence
of free terms of Qx p(t
0
,.. .,t
τ
) is unifiable with the
left-right sequence of free terms of Q
0
x
0
p
0
(t
0
0
,.. .,t
0
τ
)
in the standard manner. An order clause is a finite set
of order literals of the form ε
1
ε
2
where ε
i
is an atom
or a quantified atom, and is the connective P or .
P and are interpreted by the equality and standard
strict linear order on [0,1], respectively. On the ba-
sis of the hyperresolution principle, a calculus operat-
ing over order clausal theories, has been devised. The
calculus is proved to be refutation sound and com-
plete for the countable case with respect to the stan-
dard G-algebra G = ([0,1], ,
,
,
, ,P
P
P,
,0,1)
augmented by binary operators P
P
P and
for P and
, respectively. As another step, one may incorpo-
rate a countable set of intermediate truth constants ¯c,
c (0,1), to get a modification of the hyperresolution
calculus suitable for automated deduction with ex-
plicit partial truth (Guller, 2014). We shall investigate
the so-called canonical standard completeness, where
the semantics of G
¨
odel logic is given by the stan-
dard G-algebra G and truth constants are interpreted
by ’themselves’. We say that a set {0,1} X of
truth constants is admissible with respect to suprema
and infima if, for all
/
0 6= Y
1
,Y
2
X and
W
W
W
Y
1
=
V
V
V
Y
2
,
W
W
W
Y
1
Y
1
,
V
V
V
Y
2
Y
2
. Then the hyperresolution calcu-
lus is refutation sound and complete for a countable
order clausal theory if the set of all truth constants
occurring in the theory, is admissible with respect to
suprema and infima. This condition obviously covers
the case of finite order clausal theories. As an inter-
esting consequence, we get an affirmative solution to
the open problem of recursive enumerability of unsat-
isfiable formulae in G
¨
odel logic with truth constants
and the operators P
P
P,
,
on [0,1]:
aP
P
Pb =
1 if a = b,
0 else;
a
b =
1 if a < b,
0 else;
a =
1 if a = 1,
0 else;
which strengthens a similar result for prenex formulae
of G
stated in Conclusion of (Baaz et al., 2012).
Some applications of our hyperresolution calculus
may lead to computational linguistics, to design and
analysis of scientific (natural) language processing
systems (Mandel
´
ıkov
´
a, 2012; Mandel
´
ıkov
´
a, 2014).
The paper is organised as follows. Section 2 gives
the basic notions and notation concerning the first-
order G
¨
odel logic. Section 3 deals with clause form
translation. In Section 4, we propose a hyperresolu-
tion calculus with truth constants and prove its refu-
tational soundness, completeness. Section 5 brings
conclusions.
2 FIRST-ORDER G
¨
ODEL LOGIC
Throughout the paper, we shall use the common
notions and notation of first-order logic. N | Z
designates the set of natural | integer numbers and |
< the standard order | strict order on N | Z. By L we
denote a first-order language. Var
L
| Func
L
| Pred
L
|
Term
L
| GTerm
L
| Atom
L
| GAtom
L
denotes the set of
all variables | function symbols | predicate symbols |
terms | ground terms | atoms | ground atoms of L.
ar
L
: Func
L
Pred
L
N denotes the mapping
assigning an arity to every function and predicate
symbol of L. We assume truth constants - nullary
predicate symbols 0,1 Pred
L
, ar
L
(0) = ar
L
(1) = 0;
0 denotes the false and 1 the true in L. Let
C
L
(0,1) be countable. In addition, we as-
sume a countable set of nullary predicate symbols
C
L
= { ¯c| ¯c Pred
L
,ar
L
( ¯c) = 0, c C
L
} Pred
L
;
{0}, {1}, C
L
are pairwise disjoint. 0, 1,
¯c C
L
are called truth constants. We denote
Tcons
L
= {0,1} C
L
Pred
L
. Let X Tcons
L
.
We denote X = {0|0 X } {1 | 1 X} {c | ¯c
X C
L
} [0,1]. We introduce a new unary
connective , Delta, and binary connectives P,
equality, , strict order. By OrdForm
L
we designate
the set of all so-called order formulae of L built
up from Atom
L
and Var
L
using the connectives:
¬, negation, , , conjunction, , disjunction,
, implication, , equivalence, P, , and the
quantifiers: , the universal one, , the existential
one.
1
In the paper, we shall assume that L is a
countable first-order language; hence, all the above
mentioned sets of symbols and expressions are
countable. Let ε | ε
i
, 1 i m | υ
i
, 1 i n,
be either an expression or a set of expressions or
a set of sets of expressions of L, in general. By
vars(ε
1
,.. .,ε
m
) Var
L
| freevars(ε
1
,.. .,ε
m
)
Var
L
| boundvars(ε
1
,.. .,ε
m
) Var
L
|
funcs(ε
1
,.. .,ε
m
) Func
L
| preds(ε
1
,.. .,ε
m
)
Pred
L
| atoms(ε
1
,.. .,ε
m
) Atom
L
we denote
the set of all variables | free variables | bound
variables | function symbols | predicate symbols |
atoms of L occurring in ε
1
,.. .,ε
m
. ε is closed
iff freevars(ε) =
/
0. By ` we denote the empty
sequence. By |ε
1
,.. .,ε
m
| = m we denote the length
of the sequence ε
1
,.. .,ε
m
. We define the concate-
nation of the sequences ε
1
,.. .,ε
m
and υ
1
,.. .,υ
n
as (ε
1
,.. .,ε
m
),(υ
1
,.. .,υ
n
) = ε
1
,.. .,ε
m
,υ
1
,.. .,υ
n
.
Note that concatenation of sequences is associative.
Let X, Y , Z be sets, Z X; f : X Y be a map-
ping. By kX k we denote the set-theoretic cardinal-
ity of X. X being a finite subset of Y is denoted as
1
We assume a decreasing connective and quantifier prece-
dence: , , ¬, , P, , , , , .
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
32
X
F
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 the image of Z under f ; f |
Z
= {(z, f (z))| z
Z}; f |
Z
is the restriction of f onto Z. Let γ ω. A
sequence δ of X is a bijection δ : γ X . Recall that
X is countable if and only if there exists a sequence of
X. Let I be a set and S
i
6=
/
0, i I, be sets. A selector
S over {S
i
|i I} is a mapping S : I
S
{S
i
|i I}
such that for all i I, S (i) S
i
. We denote S el({S
i
|i
I}) = {S |S is a selector over {S
i
|i I}}. R desig-
nates the set of real numbers and | < the standard
order | strict order on R. We denote R
+
0
= {c | 0 c
R}, R
+
= {c |0 < c R}; [0,1] = {c |0 c 1, c
R}; [0,1] is the unit interval. Let c R
+
. log c de-
notes the binary logarithm of c. Let f , g : N R
+
0
.
f is of the order of g, in symbols f O(g), iff there
exist n
0
N and c
R
+
0
such that for all n n
0
,
f (n) c
· g(n).
Let t Term
L
, φ OrdForm
L
, T
F
OrdForm
L
.
The size of t | φ, in symbols |t| | |φ|, is defined as
the number of nodes of its standard tree representa-
tion. We define the size of T as |T | =
φT
|φ|. By
varseq(φ), vars(varseq(φ)) Var
L
, we denote the se-
quence of all variables of L occurring in φ which is
built up via the left-right preorder traversal of φ. For
example, varseq(w(x p(x, x,z) y q(x, y, z))) =
w,x, x,x,z,y,x, y, z and |w, x,x, x,z,y, x,y,z| = 9. A se-
quence of variables will often be denoted as ¯x, ¯y, ¯z,
etc. Let Q {∀, ∃} and ¯x = x
1
,.. .,x
n
be a sequence
of variables of L. By Q ¯x φ we denote Qx
1
... Qx
n
φ.
G
¨
odel logic is interpreted by the standard G-
algebra augmented by the operators P
P
P,
,
for the
connectives P, , , respectively.
G = ([0, 1],,
,
,
, ,P
P
P,
,
,0,1)
where
|
denotes the supremum | infimum operator
on [0,1];
a
b =
1 if a b,
b else;
a =
1 if a = 0,
0 else;
aP
P
Pb =
1 if a = b,
0 else;
a
b =
1 if a < b,
0 else;
a =
1 if a = 1,
0 else.
Recall that G is a complete linearly ordered lattice al-
gebra;
|
is commutative, associative, idempotent,
monotone; 0 | 1 is its neutral element; the residuum
operator
of
satisfies the condition of residuation:
for all a,b,c G, a
b c a b
c; (1)
G
¨
odel negation satisfies the condition:
for all a G, a = a
0; (2)
the following properties, which will be exploited later,
hold:
2
for all a,b,c G,
a
b
c = (a
b)
(a
c),
(distributivity of
over
) (3)
a
(b
c) = a
b
a
c,
(distributivity of
over
) (4)
a
b
c = (a
b)
(a
c), (5)
a
b
c = (a
b)
(a
c), (6)
a
b
c = (a
c)
(b
c), (7)
a
b
c = (a
c)
(b
c), (8)
a
(b
c) = a
b
c, (9)
((a
b)
b)
b = a
b, (10)
(a
b)
c = ((a
b)
b)
(b
c)
c, (11)
(a
b)
0 = ((a
0)
0)
(b
0), (12)
a = aP
P
P1. (13)
An interpretation I for L is a triple
U
I
,{ f
I
| f
Func
L
},{p
I
| p Pred
L
}
defined as follows: U
I
6=
/
0 is the universum of I ; every f Func
L
is in-
terpreted as a function f
I
: U
ar
L
( f )
I
U
I
; ev-
ery p Pred
L
is interpreted as a [0,1]-relation p
I
:
U
ar
L
(p)
I
[0,1]. A variable assignment in I is a
mapping Var
L
U
I
. We denote the set of all vari-
able assignments in I as S
I
. Let e S
I
and u U
I
.
A variant e[x/u] S
I
of e with respect to x and u is
defined as
e[x/u](z) =
u if z = x,
e(z) else.
Let t Term
L
, ¯x be a sequence of variables of L, φ
OrdForm
L
. In I with respect to e, we define the value
ktk
I
e
U
I
of t by recursion on the structure of t, the
value k ¯xk
I
e
U
| ¯x|
I
of ¯x, the truth value kφk
I
e
[0,1] of
φ by recursion on the structure of φ, as usual. Notice
that 0
I
e
= 0, 1
I
e
= 1, for all ¯c
C
L
, ¯c
I
e
= c, kφ
1
φ
2
k
I
e
= (kφ
1
k
I
e
kφ
2
k
I
e
)
(kφ
2
k
I
e
kφ
1
k
I
e
). Let φ be
closed. Then, for all e,e
0
S
I
, kφk
I
e
= kφk
I
e
0
. Let
e S
I
6=
/
0. We denote kφk
I
= kφk
I
e
.
Let L | L
0
be a first-order language and I | I
0
be
an interpretation for L | L
0
. L
0
is an expansion of L
iff Func
L
0
Func
L
and Pred
L
0
Pred
L
; on the other
side, we say L is a reduct of L
0
. I
0
is an expansion
of I to L
0
iff L
0
is an expansion of L, U
I
0
= U
I
, for
all f Func
L
, f
I
0
= f
I
, for all p Pred
L
, p
I
0
= p
I
;
2
We assume a decreasing operator precedence: ,
, P
P
P,
,
,
,
.
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta
33
on the other side, we say I is a reduct of I
0
to L, in
symbols I = I
0
|
L
.
An order theory of L is a set of order formulae of
L. Let φ,φ
0
OrdForm
L
, T OrdForm
L
, e S
I
. φ
is true in I with respect to e, written as I |=
e
φ, iff
kφk
I
e
= 1. I is a model of φ, in symbols I |= φ, iff,
for all e S
I
, I |=
e
φ. I is a model of T , in symbols
I |= T , iff, for all φ T , I |= φ. φ is a logically valid
formula iff, for every interpretation I for L, I |= φ.
φ is equivalent to φ
0
, in symbols φ φ
0
, iff, for every
interpretation I for L and e S
I
, kφk
I
e
= kφ
0
k
I
e
. We
denote tcons(φ) = {0, 1} (preds(φ) C
L
) Tcons
L
and tcons(T ) = {0,1} (preds(T ) C
L
) Tcons
L
.
3 TRANSLATION TO CLAUSAL
FORM
In the propositional case (Guller, 2010), we have pro-
posed some translation of a formula to an equivalent
CNF containing literals of the form either a or a b
or (a b) b where a is a propositional atom and b
is either a propositional atom or the propositional con-
stant 0. An output equivalent CNF may be of expo-
nential size with respect to the input formula; we had
laid no restrictions on use of the distributivity law (3)
during translation to conjunctive normal form. To
avoid this disadvantage, we have devised translation
to CNF via interpolation using new atoms, which pro-
duces an output CNF of linear size at the cost of being
only equisatisfiable to the input formula. A similar
approach exploiting the renaming subformulae tech-
nique can be found in (Plaisted and Greenbaum, 1986;
de la Tour, 1992; H
¨
ahnle, 1994; Nonnengart et al.,
1998; Sheridan, 2004). A CNF is further translated to
a finite set of order clauses. An order clause is a finite
set of order literals of the form ε
1
ε
2
where ε
i
is ei-
ther a propositional atom or a propositional constant,
0, 1, and {P, ≺}.
We now describe some generalisation of the men-
tioned translation to the first-order case. At first, we
introduce a notion of quantified atom. Let a Form
L
.
a is a quantified atom of L iff a = Qx p(t
0
,.. .,t
τ
)
where p(t
0
,.. .,t
τ
) Atom
L
, x vars(p(t
0
,.. .,t
τ
)),
either t
i
= x or x 6∈ vars(t
i
). QAtom
L
Form
L
de-
notes the set of all quantified atoms of L. QAtom
Q
L
QAtom
L
, Q {∀,∃}, denotes the set of all quantified
atoms of L of the form Qx a. Let ε | ε
i
, 1 i m | υ
i
,
1 i n, be either an expression or a set of expres-
sions or a set of sets of expressions of L, in general.
By qatoms(ε
1
,.. .,ε
m
) QAtom
L
we denote the set of
all quantified atoms of L occurring in ε
1
,.. .,ε
m
. We
denote qatoms
Q
(ε
1
,.. .,ε
m
) = qatoms(ε
1
,.. .,ε
m
)
QAtom
Q
L
, Q {∀, ∃}. Let Qx p(t
0
,.. .,t
τ
) QAtom
L
and p(t
0
0
,.. .,t
0
τ
) Atom
L
. We denote
boundindset(Qx p(t
0
,.. .,t
τ
)) = {i |i τ,t
i
= x} 6=
/
0.
Let I = {i|i τ,x 6∈ vars(t
i
)} and r
1
,.. .,r
k
, r
i
τ,
k τ, for all 1 i < i
0
k, r
i
< r
i
0
, be a sequence
such that {r
i
|1 i k} = I. We denote
freetermseq(Qx p(t
0
,.. .,t
τ
)) = t
r
1
,.. .,t
r
k
,
freetermseq(p(t
0
0
,.. .,t
0
τ
)) = t
0
0
,.. .,t
0
τ
.
We further introduce order clauses in G
¨
odel logic.
Let l OrdForm
L
. l is an order literal of L iff
l = ε
1
ε
2
, ε
i
Atom
L
QAtom
L
, {P,≺}. The set
of all order literals of L is designated as OrdLit
L
OrdForm
L
. An order clause of L is a finite set of
order literals of L; since = is commutative, for all
ε
1
P ε
2
OrdLit
L
, we identify ε
1
P ε
2
and ε
2
P
ε
1
OrdLit
L
with respect to order clauses. An order
clause {l
1
,.. .,l
n
} is written in the form l
1
·· · l
n
.
The order clause
/
0 is called the empty order clause
and denoted as . An order clause {l} is called a unit
order clause and denoted as l; if it does not cause the
ambiguity with the denotation of the single order lit-
eral l in given context. We designate the set of all or-
der clauses of L as OrdCl
L
. Let l,l
0
,.. .,l
n
OrdLit
L
and C,C
0
OrdCl
L
. We define the size of C as
|C| =
lC
|l|. By l C we denote {l} C where
l 6∈ C. Analogously, by l
0
··· l
n
C we denote
{l
0
}·· ·{l
n
}C where, for all i, i
0
n, i 6= i
0
, l
i
6∈ C
and l
i
6= l
i
0
. By C C
0
we denote C C
0
. C is a sub-
clause of C
0
, in symbols C v C
0
, iff C C
0
. An order
clausal theory of L is a set of order clauses of L. A
unit order clausal theory is a set of unit order clauses.
Let φ, φ
0
OrdForm
L
, T, T
0
OrdForm
L
, S,S
0
OrdCl
L
, I be an interpretation for L, e S
I
. Note that
I |=
e
l if and only if either l = ε
1
P ε
2
, kε
1
P ε
2
k
I
e
=
1, kε
1
k
I
e
= kε
2
k
I
e
; or l = ε
1
ε
2
, kε
1
ε
2
k
I
e
= 1,
kε
1
k
I
e
< kε
2
k
I
e
. C is true in I with respect to e,
written as I |=
e
C, iff there exists l
C such that
I |=
e
l
. I is a model of C, in symbols I |= C, iff,
for all e S
I
, I |=
e
C. I is a model of S, in sym-
bols I |= S, iff, for all C S, I |= C. φ
0
| T
0
| C
0
| S
0
is a logical consequence of φ | T | C | S, in symbols
φ|T |C |S |= φ
0
|T
0
|C
0
|S
0
, iff, for every model I of φ |
T | C | S for L, I |= φ
0
|T
0
|C
0
|S
0
. φ | T | C | S is
satisfiable iff there exists a model of φ | T | C | S for
L. Note that both and S are unsatisfiable. φ |
T | C | S is equisatisfiable to φ
0
| T
0
| C
0
| S
0
iff φ | T |
C | S is satisfiable if and only if φ
0
| T
0
| C
0
| S
0
is sat-
isfiable. We denote tcons(S) = {0,1} (preds(S)
C
L
) Tcons
L
. Let S
F
OrdCl
L
. We define the
size of S as |S| =
CS
|C|. l is a simplified order lit-
eral of L iff l = ε
1
ε
2
, {ε
1
,ε
2
} 6⊆ Tcons
L
, {ε
1
,ε
2
} 6⊆
QAtom
L
. The set of all simplified order literals of L
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
34
is designated as SimOrdLit
L
OrdLit
L
. We denote
SimOrdCl
L
= {C |C OrdCl
L
,C SimOrdLit
L
}
OrdCl
L
. Let
˜
f
0
6∈ Func
L
;
˜
f
0
is a new function sym-
bol. Let I = N × N; I is an infinite countable set of
indices. Let
˜
P = { ˜p | I} such that
˜
P Pred
L
=
/
0;
˜
P is an infinite countable set of new predicate sym-
bols.
From a computational point of view, the worst
case time and space complexity will be estimated us-
ing the logarithmic cost measurement. Let A be an
algorithm. #O
A
(In) 1 denotes the number of all el-
ementary operations executed by A on an input In.
3.1 Substitutions
We assume the reader to be familiar with the standard
notions and notation of substitutions. We introduce
a few definitions and denotations; some of them are
slightly different from the standard ones, but found to
be more convenient. Let X = {x
i
|1 i n} Var
L
.
A substitution ϑ of L is a mapping ϑ : X Term
L
.
ϑ may be written in the form x
1
/ϑ(x
1
),.. .,x
n
/ϑ(x
n
).
We denote dom(ϑ) = X
F
Var
L
and range(ϑ) =
S
xX
vars(ϑ(x))
F
Var
L
. The set of all substitutions
of L is designated as Subst
L
. Let ϑ,ϑ
0
Subst
L
. ϑ
is a variable renaming of L iff ϑ : dom(ϑ) Var
L
,
for all x,x
0
dom(ϑ), x 6= x
0
, ϑ(x) 6= ϑ(x
0
). We define
id
L
: Var
L
Var
L
, id
L
(x) = x. Let t Term
L
. ϑ is
applicable to t iff dom(ϑ) vars(t) = freevars(t). Let
ϑ be applicable to t. We define the application tϑ
Term
L
of ϑ to t by recursion on the structure of t in the
standard manner. Let range(ϑ) dom(ϑ
0
). We define
the composition of ϑ and ϑ
0
as ϑ ϑ
0
: dom(ϑ)
Term
L
, ϑ ϑ
0
(x) = ϑ(x)ϑ
0
, ϑ ϑ
0
Subst
L
, dom(ϑ
ϑ
0
) = dom(ϑ), range(ϑ ϑ
0
) = range(ϑ
0
|
range(ϑ)
).
Note that composition of substitutions is associative.
ϑ
0
is a regular extension of ϑ iff dom(ϑ
0
) dom(ϑ),
ϑ
0
|
dom(ϑ)
= ϑ, ϑ
0
|
dom(ϑ
0
)dom(ϑ)
is a variable renam-
ing such that range(ϑ
0
|
dom(ϑ
0
)dom(ϑ)
)range(ϑ) =
/
0.
Let a Atom
L
. ϑ is applicable to a iff dom(ϑ)
vars(a) = freevars(a). Let ϑ be applicable to a and
a = p(t
1
,.. .,t
τ
). We define the application of ϑ to a as
aϑ = p(t
1
ϑ,.. .,t
τ
ϑ) Atom
L
. Let Qx a QAtom
L
.
ϑ is applicable to Qx a iff dom(ϑ) freevars(Qx a)
and x 6∈ range(ϑ|
freevars(Qxa)
). Let ϑ be applicable
to Qx a. We define the application of ϑ to Qxa as
(Qx a)ϑ = Qx a(ϑ|
freevars(Qxa)
x/x) QAtom
L
. Let
ε
1
ε
2
OrdLit
L
. ϑ is applicable to ε
1
ε
2
iff, for both
i, ϑ is applicable to ε
i
. Let ϑ be applicable to ε
1
ε
2
.
Then, for both i, ϑ is applicable to ε
i
, dom(ϑ)
freevars(ε
i
), dom(ϑ) freevars(ε
1
) freevars(ε
2
) =
freevars(ε
1
ε
2
). We define the application of ϑ to
ε
1
ε
2
as (ε
1
ε
2
)ϑ = ε
1
ϑ ε
2
ϑ OrdLit
L
. Let
E A, A = Term
L
| A = Atom
L
| A = QAtom
L
|
A = OrdLit
L
. ϑ is applicable to E iff, for all ε E, ϑ
is applicable to ε. Let ϑ be applicable to E. Then, for
all ε E, ϑ is applicable to ε, dom(ϑ) freevars(ε),
dom(ϑ)
S
εE
freevars(ε) = freevars(E). We define
the application of ϑ to E as Eϑ = {εϑ |ε E} A.
Let ε, ε
0
A | ε, ε
0
OrdCl
L
. ε
0
is an instance of
ε of L iff there exists ϑ
Subst
L
such that ε
0
=
εϑ
. ε
0
is a variant of ε of L iff there exists a vari-
able renaming ρ
Subst
L
such that ε
0
= ερ
. Let
C OrdCl
L
and S OrdCl
L
. C is an instance | a
variant of S of L iff there exists C
S such that
C is an instance | a variant of C
of L. We denote
Inst
L
(S) = {C |C is an instance of S of L} OrdCl
L
and Vrnt
L
(S) = {C |C is a variant of S of L}
OrdCl
L
.
ϑ is a unifier of L for E iff Eϑ is a singleton
set. Note that there does not exist a unifier for
/
0.
Let θ Subst
L
. θ is a most general unifier of L for
E iff θ is a unifier of L for E, and for every uni-
fier ϑ of L for E, there exists γ
Subst
L
such that
ϑ|
freevars(E)
= θ|
freevars(E)
γ
. By mgu
L
(E) Subst
L
we denote the set of all most general unifiers of L for
E. Let
E = E
0
,.. .,E
n
, E
i
A
i
, either A
i
= Term
L
or A
i
= Atom
L
or A
i
= QAtom
L
or A
i
= OrdLit
L
.
ϑ is applicable to E iff, for all i n, ϑ is applica-
ble to E
i
. Let ϑ be applicable to E. Then, for all
i n, ϑ is applicable to E
i
, dom(ϑ) freevars(E
i
),
dom(ϑ)
S
in
freevars(E
i
) = freevars(E). We de-
fine the application of ϑ to E as Eϑ = E
0
ϑ,.. .,E
n
ϑ,
E
i
ϑ A
i
. ϑ is a unifier of L for E iff, for all i n, ϑ
is a unifier of L for E
i
. Note that if there exists i
n
and E
i
=
/
0, then there does not exist a unifier for E. θ
is a most general unifier of L for E iff θ is a unifier of
L for E, and for every unifier ϑ of L for E, there exists
γ
Subst
L
such that ϑ|
freevars(E)
= θ|
freevars(E)
γ
.
By mgu
L
(E) Subst
L
we denote the set of all most
general unifiers of L for E.
Theorem 3.1 (Unification Theorem). Let E =
E
0
,.. .,E
n
, either E
i
F
Term
L
or E
i
F
Atom
L
. If
there exists a unifier of L for E, then there exists
θ
mgu
L
(E) such that range(θ
|
vars(E)
) vars(E).
Proof. By induction on kvars(E)k; a modification of
the proof of Theorem 2.3 (Unification Theorem) in
(Apt, 1988), Section 2.4, pp. 5–6.
Theorem 3.2 (Extended Unification Theorem). Let
E = E
0
,.. .,E
n
, either E
i
F
Term
L
or E
i
F
Atom
L
or E
i
F
QAtom
L
or E
i
F
OrdLit
L
, and
boundvars(E) V
F
Var
L
. If there exists a unifier
of L for E, then there exists θ
mgu
L
(E) such that
range(θ
|
freevars(E)
) V =
/
0.
Proof. A straightforward consequence of Theo-
rem 3.1.
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta
35
3.2 A Formal Treatment
Translation of an order formula or a theory to clausal
form, is based on the following lemma:
Lemma 3.3. Let n
φ
,n
0
N, φ OrdForm
L
, T
OrdForm
L
.
(I) There exist either J
φ
=
/
0 or J
φ
= {(n
φ
, j)| j
n
J
φ
}, J
φ
{(n
φ
, j)| j N}, and S
φ
F
SimOrdCl
L∪{ ˜p | J
φ
}
such that
(a) kJ
φ
k 2 · |φ|;
(b) either J
φ
=
/
0, S
φ
= {} or J
φ
= S
φ
=
/
0 or
J
φ
6=
/
0, 6∈ S
φ
6=
/
0;
(c) there exists an interpretation A for L and
A |= φ if and only if there exists an interpre-
tation A
0
for L { ˜p | J
φ
} and A
0
|= S
φ
,
satisfying A = A
0
|
L
;
(d) |S
φ
| O(|φ|
2
); the number of all elemen-
tary operations of the translation of φ to
S
φ
, is in O(|φ|
2
); the time and space com-
plexity of the translation of φ to S
φ
, is in
O(|φ|
2
· (log(1 + n
φ
) + log |φ|));
(e) if S
φ
6=
/
0,{}, then J
φ
6=
/
0, for all C S
φ
,
/
0 6= preds(C)
˜
P { ˜p | J
φ
};
(f) for all a qatoms(S
φ
), there exists
J
φ
and preds(a) = { ˜p
};
(g) for all J
φ
, there exists a sequence ¯x
of variables of L and ˜p ( ¯x) atoms(S
φ
)
satisfying, for all a atoms(S
φ
) and
preds(a) = { ˜p }, a = ˜p ( ¯x); if there ex-
ists a
qatoms(S
φ
) and preds(a
) = { ˜p },
then there exists Qx ˜p ( ¯x) qatoms(S
φ
)
satisfying, for all a qatoms(S
φ
) and
preds(a) = { ˜p }, a = Qx ˜p ( ¯x);
(h) tcons(S
φ
) tcons(φ).
(II) There exist J
T
{(i, j)| i n
0
} and S
T
SimOrdCl
L∪{ ˜p | J
T
}
such that
(a) either J
T
=
/
0, S
T
= {} or J
T
= S
T
=
/
0 or
J
T
6=
/
0, 6∈ S
T
6=
/
0;
(b) there exists an interpretation A for L and
A |= T if and only if there exists an in-
terpretation A
0
for L { ˜p | J
T
} and
A
0
|= S
T
, satisfying A = A
0
|
L
;
(c) if T
F
OrdForm
L
, then J
T
F
{(i, j)|i n
0
}, kJ
T
k 2 · |T |, S
T
F
SimOrdCl
L∪{ ˜p | J
T
}
, |S
T
| O(|T |
2
);
the number of all elementary opera-
tions of the translation of T to S
T
, is in
O(|T |
2
); the time and space complex-
ity of the translation of T to S
T
, is in
O(|T |
2
· log(1 + n
0
+ |T |));
(d) if S
T
6=
/
0,{}, then J
T
6=
/
0, for all C S
T
,
/
0 6= preds(C)
˜
P { ˜p | J
T
};
(e) for all a qatoms(S
T
), there exists
J
T
and preds(a) = { ˜p
};
(f) for all J
T
, there exists a sequence ¯x
of variables of L and ˜p ( ¯x) atoms(S
T
)
satisfying, for all a atoms(S
T
) and
preds(a) = { ˜p }, a = ˜p ( ¯x); if there exists
a
qatoms(S
T
) and preds(a
) = { ˜p },
then there exists Qx ˜p ( ¯x) qatoms(S
T
)
satisfying, for all a qatoms(S
T
) and
preds(a) = { ˜p }, a = Qx ˜p ( ¯x);
(g) tcons(S
T
) tcons(T ).
Proof. Technical, using interpolation. It is straight-
forward to prove the following statements:
Let n
θ
N and θ OrdForm
L
. There exists
θ
0
OrdForm
L
such that
(a) θ
0
θ;
(b) |θ
0
| 2 · |θ|; θ
0
can be built up from θ via
a postorder traversal of θ with #O(θ)
O(|θ|) and the time, space complexity in
O(|θ| · (log(1 + n
θ
) + log |θ|));
(c) θ
0
does not contain ¬ and ;
(d) θ
0
Tcons
L
; or for every subformula of
θ
0
of the form ε
1
ε
2
, {∧,,↔}, ε
i
6=
0,1, {ε
1
,ε
2
} 6⊆ Tcons
L
; for every subfor-
mula of θ
0
of the form ε
1
ε
2
, ε
1
6=
0,1, ε
2
6= 1, {ε
1
,ε
2
} 6⊆ Tcons
L
; for ev-
ery subformula of θ
0
of the form ε
1
P ε
2
,
{ε
1
,ε
2
} 6⊆ Tcons
L
; for every subformula
of θ
0
of the form ε
1
ε
2
, ε
1
6= 1, ε
2
6= 0,
{ε
1
,ε
2
} 6⊆ Tcons
L
; for every subformula
of θ
0
of the form Qx ε
1
, Q {∀,∃}, ε
1
6∈
Tcons
L
;
(e) tcons(θ
0
) tcons(θ).
(14)
The proof is by induction on the structure of θ.
Let n
θ
N, θ OrdForm
L
{0,1}, (14c,d)
hold for θ; ¯x be a sequence of variables,
vars(θ) vars( ¯x) Var
L
; = (n
θ
, j )
{(n
θ
, j)| j N}, ˜p
˜
P, ar( ˜p ) = | ¯x|.
There exist J = {(n
θ
, j)| j + 1 j n
J
}
{(n
θ
, j)| j N}, j n
J
, 6∈ J, and S
F
SimOrdCl
L∪{ ˜p }∪{ ˜p | J}
such that
(a) kJk |θ| 1;
(b) there exists an interpretation A
for L { ˜p } and A |= ˜p ( ¯x)
θ OrdForm
L∪{ ˜p }
if and only if
there exists an interpretation A
0
for
L { ˜p } { ˜p | ∈ J} and A
0
|= S,
satisfying A = A
0
|
L∪{ ˜p }
;
(c) |S| 27 · |θ| · (1 + | ¯x|), S can be built up
from θ and
˜
f
0
( ¯x) via a preorder traversal
of θ with #O(θ,
˜
f
0
( ¯x)) O(|θ| · (1 + | ¯x|));
(15)
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
36
(d) for all C S,
/
0 6= preds(C)
˜
P { ˜p }
{ ˜p | J}, ˜p ( ¯x) P 1, ˜p ( ¯x) 1 6∈ S;
(e) for all a qatoms(S), there exists
J
and preds(a) = { ˜p
};
(f) for all { } J, ˜p ( ¯x) atoms(S) satis-
fying, for all a atoms(S) and preds(a) =
{ ˜p }, a = ˜p ( ¯x); ˜p 6∈ preds(qatoms(S)),
for all J, if there exists a
qatoms(S)
and preds(a
) = { ˜p }, then there exists
Qx ˜p ( ¯x) qatoms(S) satisfying, for all
a qatoms(S) and preds(a) = { ˜p }, a =
Qx ˜p ( ¯x);
(g) tcons(S) = tcons(θ).
The proof is by induction on the structure of θ using
the interpolation rules in Table 1.
(I) By (14) for n
φ
, φ, there exists φ
0
OrdForm
L
such that (14a–e) hold for n
φ
, φ, φ
0
. We distin-
guish three cases for φ
0
. Case 1: φ
0
Tcons
L
{1}. We put J
φ
=
/
0 {(n
φ
, j)| j N} and S
φ
=
{}
F
SimOrdCl
L
. Case 2: φ
0
= 1. We put
J
φ
=
/
0 {(n
φ
, j)| j N} and S
φ
=
/
0
F
SimOrdCl
L
.
Case 3: φ
0
6∈ Tcons
L
. We put ¯x = varseq(φ
0
), j =
0, = (n
φ
, j ), ar( ˜p ) = | ¯x|. We get by (15) for
n
φ
, φ
0
, ¯x, , ˜p that there exist J = {(n
φ
, j)|1
j n
J
} {(n
φ
, j)| j N}, j n
J
, 6∈ J, S
F
SimOrdCl
L∪{ ˜p }∪{ ˜p | J}
, and (15a–g) hold for φ
0
,
¯x, ˜p , J, S. We put n
J
φ
= n
J
, J
φ
= {(n
φ
, j)| j
n
J
φ
} {(n
φ
, j)| j N}, S
φ
= { ˜p ( ¯x) P 1} S
F
SimOrdCl
L∪{ ˜p | J
φ
}
. (II) straightforwardly follows
from (I). The lemma is proved.
The described translation produces order clausal
theories in some restrictive form, which will be
utilised in inference using our order hyperresolution
calculus to get shorter deductions in average case, cf.
Section 4. Let P
˜
P and S OrdCl
LP
. S is admis-
sible iff
(a) for all a qatoms(S), preds(a) P;
(b) for all ˜p P, there exists a sequence ¯x of vari-
ables of L and ˜p( ¯x) atoms(S) satisfying, for all
a atoms(S) and preds(a) = { ˜p}, a is an instance
of ˜p( ¯x) of L P; if there exists a
qatoms(S)
and preds(a
) = { ˜p}, then there exists Qx ˜p( ¯x)
qatoms(S) satisfying, for all a qatoms(S) and
preds(a) = { ˜p}, a is an instance of Qx ˜p( ¯x) of
L P.
(a) and (b) imply that for all Qx a, Q
0
x
0
a
0
qatoms(S),
if preds(a) = preds(a
0
), then Q = Q
0
, x = x
0
,
boundindset(Qx a) = boundindset(Q
0
x
0
a
0
).
Theorem 3.4. Let n
0
N, φ OrdForm
L
, T
OrdForm
L
. There exist J
φ
T
{(i, j)|i n
0
} and S
φ
T
SimOrdCl
L∪{ ˜p | J
φ
T
}
such that
(i) there exists an interpretation A for L and A |=
T , A 6|= φ if and only if there exists an interpre-
tation A
0
for L { ˜p | J
φ
T
} and A
0
|= S
φ
T
, sat-
isfying A = A
0
|
L
;
(ii) if T
F
OrdForm
L
, then J
φ
T
F
{(i, j)|i
n
0
}, kJ
φ
T
k O(|T | + |φ|), S
φ
T
F
SimOrdCl
L∪{ ˜p | J
φ
T
}
, |S
φ
T
| O(|T |
2
+ |φ|
2
);
the number of all elementary operations of the
translation of T and φ to S
φ
T
, is in O(|T |
2
+|φ|
2
);
the time and space complexity of the translation
of T and φ to S
φ
T
, is in O(|T |
2
· log(1 + n
0
+
|T |) + |φ|
2
· (log(1 + n
0
) + log |φ|));
(iii) S
φ
T
is admissible;
(iv) tcons(S
φ
T
) tcons(φ) tcons(T ).
Proof. Similar to that of Lemma 3.3(I). We get by
Lemma 3.3(II) for n
0
+ 1, T that there exist J
T
{(i, j)|i n
0
+ 1}, S
T
SimOrdCl
L∪{ ˜p | J
T
}
, and
Lemma 3.3(II a–g) hold for n
0
+ 1, T , J
T
, S
T
. By
(14) for n
0
, φ, there exists φ
0
OrdForm
L
such that
(14a–e) hold for n
0
, φ, φ
0
. We distinguish three
cases for φ
0
. Case 1: φ
0
Tcons
L
{1}. We put
J
φ
T
= J
T
{(i, j) |i n
0
+ 1} {(i, j) |i n
0
} and
S
φ
T
= S
T
SimOrdCl
L∪{ ˜p | J
φ
T
}
. Case 2: φ
0
= 1.
We put J
φ
T
=
/
0 {(i, j)|i n
0
} and S
φ
T
= {}
SimOrdCl
L
. Case 3: φ
0
6∈ Tcons
L
. We put ¯x =
varseq(φ
0
), j = 0, = (n
0
, j ), ar( ˜p ) = | ¯x|. We
get by (15) for n
0
, ¯x φ
0
, ¯x, , ˜p that there exist
J = {(n
0
, j)|1 j n
J
} {(n
0
, j)| j N}, j n
J
,
6∈ J, S
F
SimOrdCl
L∪{ ˜p }∪{ ˜p | J}
, and (15a–g)
hold for ¯x φ
0
, ¯x, ˜p , J, S. We put J
φ
T
= J
T
{ }
J {(i, j)|i n
0
} and S
φ
T
= S
T
{ ˜p ( ¯x) 1} S
SimOrdCl
L∪{ ˜p | J
φ
T
}
. The theorem is proved.
Corollary 3.5. Let n
0
N, φ OrdForm
L
, T
OrdForm
L
. There exist J
φ
T
{(i, j)|i n
0
} and S
φ
T
SimOrdCl
L∪{ ˜p | J
φ
T
}
such that
(i) T |= φ if and only if S
φ
T
is unsatisfiable;
(ii) if T
F
OrdForm
L
, then J
φ
T
F
{(i, j)|i
n
0
}, kJ
φ
T
k O(|T | + |φ|), S
φ
T
F
SimOrdCl
L∪{ ˜p | J
φ
T
}
, |S
φ
T
| O(|T |
2
+ |φ|
2
);
the number of all elementary operations of the
translation of T and φ to S
φ
T
, is in O(|T |
2
+|φ|
2
);
the time and space complexity of the translation
of T and φ to S
φ
T
, is in O(|T |
2
· log(1 + n
0
+
|T |) + |φ|
2
· (log(1 + n
0
) + log |φ|));
(iii) S
φ
T
is admissible;
(iv) tcons(S
φ
T
) tcons(φ) tcons(T ).
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta
37
Table 1: Interpolation rules.
Case Laws
θ = θ
1
θ
2
˜p ( ¯x) θ
1
θ
2
(
˜p ( ¯x) ˜p
1
( ¯x) ˜p (¯x) P ˜p
1
( ¯x), ˜p ( ¯x) ˜p
2
( ¯x) ˜p (¯x) P ˜p
2
( ¯x),
˜p
1
( ¯x) ˜p ( ¯x) ˜p
1
( ¯x) P ˜p ( ¯x) ˜p
2
( ¯x) ˜p ( ¯x) ˜p
2
( ¯x) P ˜p ( ¯x), ˜p
1
( ¯x) θ
1
, ˜p
2
( ¯x) θ
2
)
(6), (8) (16)
|Consequent| = 24 + 16 · | ¯x| + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
|
θ = θ
1
θ
2
˜p ( ¯x) (θ
1
θ
2
)
(
˜p ( ¯x) ˜p
1
( ¯x) ˜p (¯x) P ˜p
1
( ¯x) ˜p (¯x) ˜p
2
( ¯x) ˜p (¯x) P ˜p
2
( ¯x), ˜p
1
( ¯x) ˜p ( ¯x) ˜p
1
( ¯x) P ˜p ( ¯x),
˜p
2
( ¯x) ˜p ( ¯x) ˜p
2
( ¯x) P ˜p ( ¯x), ˜p
1
( ¯x) θ
1
, ˜p
2
( ¯x) θ
2
)
(5), (7) (17)
|Consequent| = 24 + 16 · | ¯x| + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
|
θ = θ
1
θ
2
,θ
2
6= 0
˜p ( ¯x) (θ
1
θ
2
)
{ ˜p
1
( ¯x) ˜p
2
( ¯x) ˜p
1
( ¯x) P ˜p
2
( ¯x) ˜p (¯x) P ˜p
2
( ¯x), ˜p
2
( ¯x) ˜p
1
( ¯x) ˜p (¯x) P 1, ˜p
1
( ¯x) θ
1
, ˜p
2
( ¯x) θ
2
}
(18)
|Consequent| = 15 + 9 · | ¯x| + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
|
θ = θ
1
0
˜p ( ¯x) (θ
1
0)
{ ˜p
1
( ¯x) P 0 ˜p ( ¯x) P 0, 0 ˜p
1
( ¯x) ˜p (¯x) P 1, ˜p
1
( ¯x) θ
1
}
(19)
|Consequent| = 12 + 4 · | ¯x| + | ˜p
1
( ¯x) θ
1
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
|
θ = θ
1
θ
2
˜p ( ¯x) (θ
1
θ
2
)
(
˜p
1
( ¯x) ˜p
2
( ¯x) ˜p
1
( ¯x) P ˜p
2
( ¯x) ˜p (¯x) P ˜p
2
( ¯x), ˜p
2
( ¯x) ˜p
1
( ¯x) ˜p
2
( ¯x) P ˜p
1
( ¯x) ˜p (¯x) P ˜p
1
( ¯x),
˜p
1
( ¯x) ˜p
2
( ¯x) ˜p
2
( ¯x) ˜p
1
( ¯x) ˜p (¯x) P 1, ˜p
1
( ¯x) θ
1
, ˜p
2
( ¯x) θ
2
)
(20)
|Consequent| = 27 + 17 · | ¯x| + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
|
θ = θ
1
P θ
2
˜p ( ¯x) (θ
1
P θ
2
)
{ ˜p
1
( ¯x) P ˜p
2
( ¯x) ˜p (¯x) P 0, ˜p
1
( ¯x) ˜p
2
( ¯x) ˜p
2
( ¯x) ˜p
1
( ¯x) ˜p (¯x) P 1, ˜p
1
( ¯x) θ
1
, ˜p
2
( ¯x) θ
2
}
(21)
|Consequent| = 15 + 8 · | ¯x| + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
|
θ = θ
1
θ
2
˜p ( ¯x) (θ
1
θ
2
)
{ ˜p
1
( ¯x) ˜p
2
( ¯x) ˜p (¯x) P 0, ˜p
2
( ¯x) ˜p
1
( ¯x) ˜p
2
( ¯x) P ˜p
1
( ¯x) ˜p (¯x) P 1, ˜p
1
( ¯x) θ
1
, ˜p
2
( ¯x) θ
2
}
(22)
|Consequent| = 15 + 8 · | ¯x| + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
| + | ˜p
2
( ¯x) θ
2
|
θ = x θ
1
˜p ( ¯x) x θ
1
{ ˜p ( ¯x) P x ˜p
1
( ¯x), ˜p
1
( ¯x) θ
1
}
(23)
|Consequent| = 5 + 2 · | ¯x| + | ˜p
1
( ¯x) θ
1
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
|
θ = x θ
1
˜p ( ¯x) x θ
1
{ ˜p ( ¯x) P x ˜p
1
( ¯x), ˜p
1
( ¯x) θ
1
}
(24)
|Consequent| = 5 + 2 · | ¯x| + | ˜p
1
( ¯x) θ
1
| 27 · (1 + | ¯x|) + | ˜p
1
( ¯x) θ
1
|
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
38
Proof. Let T |= φ. Then, for every interpretation A
for L, A 6|= T or A |= φ; by Theorem 3.4(i), there does
not exist an interpretation A
0
for L { ˜p | J
φ
T
} and
A
0
|= S
φ
T
; S
φ
T
is unsatisfiable.
Let S
φ
T
is unsatisfiable. Then, for every interpre-
tation A
0
for L { ˜p | J
φ
T
}, A
0
6|= S
φ
T
; by Theo-
rem 3.4(i), there does not exist an interpretation A for
L and A |= T , A 6|= φ; for every interpretation A for
L, A 6|= T or A |= φ; T |= φ; (i) holds.
(ii–iv) are the same as Theorem 3.4(ii–iv); (ii–iv)
hold. The corollary is proved.
4 HYPERRESOLUTION OVER
ORDER CLAUSES
In this section, we propose an order hyperresolu-
tion calculus with truth constants operating over order
clausal theories, and prove its refutational soundness,
completeness.
4.1 Order Hyperresolution Rules
At first, we introduce some basic notions and notation
concerning chains of order literals. A chain Ξ of L is a
sequence Ξ = ε
0
0
υ
0
,.. .,ε
n
n
υ
n
, ε
i
i
υ
i
OrdLit
L
,
such that for all i < n, υ
i
= ε
i+1
. ε
0
is the beginning
element of Ξ and υ
n
the ending element of Ξ. ε
0
Ξυ
n
denotes Ξ together with its respective beginning and
ending element. Let Ξ = ε
0
0
υ
0
,.. .,ε
n
n
υ
n
be a
chain of L. Ξ is an equality chain of L iff, for all
i n,
i
=P. Ξ is an increasing chain of L iff there
exists i
n such that
i
=. Ξ is a contradiction
of L iff Ξ is an increasing chain of L of the form
ε
0
Ξ0 or 1 Ξ υ
n
or ε
0
Ξε
0
. Let S OrdCl
L
be unit
and Ξ = ε
0
0
υ
0
,.. .,ε
n
n
υ
n
be a chain | an equality
chain | an increasing chain | a contradiction of L. Ξ
is a chain | an equality chain | an increasing chain | a
contradiction of S iff, for all i n, ε
i
i
υ
i
S.
Let
˜
W = { ˜w | I} such that
˜
W (Func
L
{
˜
f
0
}) =
/
0;
˜
W is an infinite countable set of
new function symbols. Let L contain a con-
stant (nullary function) symbol. Let P
˜
P and
S OrdCl
LP
. We denote GOrdCl
L
= {C |C
OrdCl
L
is closed} OrdCl
L
, GInst
L
(S) = {C |C
GOrdCl
L
is an instance of S of L} GOrdCl
L
,
ordtcons(S) = {0 1} {0 ¯c | ¯c tcons(S)
C
L
} { ¯c 1 | ¯c tcons(S) C
L
} { ¯c
1
¯c
2
| ¯c
1
, ¯c
2
tcons(S) C
L
,c
1
< c
2
} GOrdCl
L
. A basic order
hyperresolution calculus is defined in Table 2.
The basic order hyperresolution calculus can be
generalised to an order hyperresolution one in Ta-
ble 3. Let L
0
= L P, a reduct of L
˜
W P, and
S
0
=
/
0 GOrdCl
L
0
| OrdCl
L
0
. Let D = C
1
,.. .,C
n
,
C
κ
GOrdCl
L
˜
WP
| OrdCl
L
˜
WP
, n 1. D is a de-
duction of C
n
from S by basic order hyperresolution
iff, for all 1 κ n, C
κ
ordtcons(S)GInst
L
κ1
(S),
or there exist 1 j
k
κ 1, k = 1,. ..,m, such that
C
κ
is a basic order resolvent of C
j
1
,.. .,C
j
m
S
κ1
using Rule (25)–(31) with respect to L
κ1
and S
κ1
;
D is a deduction of C
n
from S by order hyperresolu-
tion iff, for all 1 κ n, C
κ
ordtcons(S) S, or
there exist 1 j
k
κ 1, k = 1,.. .,m, such that C
κ
is an order resolvent of C
0
j
1
,.. .,C
0
j
m
S
Vr
κ1
using Rule
(32)–(38) with respect to L
κ1
and S
κ1
where C
0
j
k
is
a variant of C
j
k
S
κ1
of L
κ1
; L
κ
and S
κ
are defined
by recursion on 1 κ n as follows:
L
κ
=
L
κ1
{ ˜w} in case of Rule (30),(31) |
(37),(38),
L
κ1
else;
S
κ
= S
κ1
{C
κ
} GOrdCl
L
κ
| OrdCl
L
κ
,
S
Vr
κ
= Vrnt
L
κ
(S
κ
) OrdCl
L
κ
.
D is a refutation of S iff C
n
= . We denote
clo
BH
(S) = {C |there exists a deduction of C from S
by basic order hyperresolution}
GOrdCl
L
˜
WP
,
clo
H
(S) = {C |there exists a deduction of C from S
by order hyperresolution}
OrdCl
L
˜
WP
.
4.2 Refutational Soundness and
Completeness
We are in position to prove the refutational soundness
and completeness of the order hyperresolution calcu-
lus. At first, we list some auxiliary lemmata.
Lemma 4.1 (Lifting Lemma). Let L contain a con-
stant symbol. Let P
˜
P and S OrdCl
LP
. Let
C clo
BH
(S). There exists C
clo
H
(S) such that
C is an instance of C
of L
˜
W P.
Proof. Technical, analogous to the standard one.
Lemma 4.2 (Reduction Lemma). Let L contain a
constant symbol. Let P
˜
P and S OrdCl
LP
.
Let {
W
k
i
j=0
ε
i
j
i
j
υ
i
j
C
i
|i n} clo
BH
(S) such that
for all S S el({{ j | j k
i
}
i
|i n}), there ex-
ists a contradiction of {ε
i
S(i)
i
S(i)
υ
i
S(i)
|i n}
GOrdCl
L
˜
WP
. There exists
/
0 6= I
{i | i n} such
that
W
iI
C
i
clo
BH
(S).
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta
39
Table 2: Basic order hyperresolution rules.
(Basic order hyperresolution rule) (25)
l
0
C
0
,. .. ,l
n
C
n
S
κ1
n
_
i=0
C
i
S
κ
;
l
0
,. .. ,l
n
is a contradiction of L
κ1
.
W
n
i=0
C
i
is a basic order hyperresolvent of l
0
C
0
,. .. ,l
n
C
n
.
(Basic order trichotomy rule) (26)
a,b atoms(S
κ1
),a C
L
,b 6∈ Tcons
L
,qatoms(S) =
/
0
a b a P b b a S
κ
.
(Basic order trichotomy rule) (27)
a,b atoms(S
κ1
) {0,1}, {a,b} 6⊆ Tcons
L
,qatoms(S) 6=
/
0
a b a P b b a S
κ
.
a b a P b b a is a basic order trichotomy resolvent of a and b.
(Basic order -quantification rule) (28)
x a qatoms
(S
κ1
)
x a aγ x a P aγ S
κ
;
t GTerm
L
κ1
,γ = x/t Subst
L
κ1
,dom(γ) = {x} = vars(a).
x a aγ x a P aγ is a basic order -quantification resolvent of x a.
(Basic order -quantification rule) (29)
x a qatoms
(S
κ1
)
aγ x a aγ P x a S
κ
;
t GTerm
L
κ1
,γ = x/t Subst
L
κ1
,dom(γ) = {x} = vars(a).
aγ x a aγ P x a is a basic order -quantification resolvent of xa.
(Basic order -witnessing rule) (30)
x a qatoms
(S
κ1
),b atoms(S
κ1
) qatoms(S
κ1
)
aγ b b P x a b x a S
κ
;
˜w
˜
W Func
L
κ1
,ar( ˜w) = |freetermseq(xa),freetermseq(b)|,
γ = x/ ˜w(freetermseq(xa),freetermseq(b)) Subst
L
κ
,dom(γ) = {x} = vars(a).
aγ b b P x a b x a is a basic order -witnessing resolvent of xa and b.
(Basic order -witnessing rule) (31)
x a qatoms
(S
κ1
),b atoms(S
κ1
) qatoms(S
κ1
)
b aγ xa P b x a b S
κ
;
˜w
˜
W Func
L
κ1
,ar( ˜w) = |freetermseq(xa),freetermseq(b)|,
γ = x/ ˜w(freetermseq(xa),freetermseq(b)) Subst
L
κ
,dom(γ) = {x} = vars(a).
b aγ xa P b x a b is a basic order -witnessing resolvent of xa and b.
Proof. Technical, analogous to the one of Proposi-
tion 2, (Guller, 2009).
Lemma 4.3 (Unit Lemma). Let L contain a constant
symbol. Let P
˜
P and S OrdCl
LP
. Let 6∈
clo
BH
(S) = {
W
k
ι
j=0
ε
ι
j
ι
j
υ
ι
j
|ι < γ}, γ ω. There exists
S
S el({{ j | j k
ι
}
ι
|ι < γ}) such that there does
not exist a contradiction of {ε
ι
S
(ι)
ι
S
(ι)
υ
ι
S
(ι)
|ι <
γ} GOrdCl
L
˜
WP
.
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
40
Table 3: Order hyperresolution rules.
(Order hyperresolution rule) (32)
k
0
_
j=0
ε
0
j
0
j
υ
0
j
m
0
_
j=1
l
0
j
,. .. ,
k
n
_
j=0
ε
n
j
n
j
υ
n
j
m
n
_
j=1
l
n
j
S
Vr
κ1
n
_
i=0
m
i
_
j=1
l
i
j
θ S
κ
;
for all i < i
0
n,
freevars(
W
k
i
j=0
ε
i
j
i
j
υ
i
j
W
m
i
j=1
l
i
j
) freevars(
W
k
i
0
j=0
ε
i
0
j
i
0
j
υ
i
0
j
W
m
i
0
j=1
l
i
0
j
) =
/
0,
θ mgu
L
κ1
W
k
0
j=0
ε
0
j
0
j
υ
0
j
,l
0
1
,. .. ,l
0
m
0
,. .. ,
W
k
n
j=0
ε
n
j
n
j
υ
n
j
,l
n
1
,. .. ,l
n
m
n
,{υ
0
0
,ε
1
0
},. .. ,{υ
n1
0
,ε
n
0
},{a, b}
,
dom(θ) = freevars
{ε
i
j
i
j
υ
i
j
| j k
i
,i n}, {l
i
j
|1 j m
i
,i n}
,
a = ε
0
0
,b = 1 or a = υ
n
0
,b = 0 or a = ε
0
0
,b = υ
n
0
, there exists i
n such that
i
0
= .
W
n
i=0
W
m
i
j=1
l
i
j
θ is an order hyperresolvent of
W
k
0
j=0
ε
0
j
0
j
υ
0
j
W
m
0
j=1
l
0
j
,. .. ,
W
k
n
j=0
ε
n
j
n
j
υ
n
j
W
m
n
j=1
l
n
j
.
(Order trichotomy rule) (33)
a,b atoms(S
κ1
),a
C
L
,b 6∈ Tcons
L
,qatoms(S) =
/
0
a b a P b b a S
κ
.
(Order trichotomy rule) (34)
a,b atoms(S
Vr
κ1
) {0,1}, {a,b} 6⊆ Tcons
L
,qatoms(S) 6=
/
0
a b a P b b a S
κ
;
vars(a) vars(b) =
/
0.
a b a P b b a is an order trichotomy resolvent of a and b.
(Order -quantification rule) (35)
x a qatoms
(S
κ1
)
x a a x a P a S
κ
.
x a a x a P a is an order -quantification resolvent of xa.
(Order -quantification rule) (36)
x a qatoms
(S
κ1
)
a x a a P x a S
κ
.
a x a a P x a is an order -quantification resolvent of xa.
(Order -witnessing rule) (37)
x a qatoms
(S
Vr
κ1
),b atoms(S
Vr
κ1
) qatoms(S
Vr
κ1
)
aγ b b P x a b x a S
κ
;
freevars(xa) freevars(b) =
/
0,
˜w
˜
W Func
L
κ1
,ar( ˜w) = |freetermseq(xa),freetermseq(b)|,
γ = x/ ˜w(freetermseq(xa),freetermseq(b)) id|
vars(a)−{x}
Subst
L
κ
,dom(γ) = {x} (vars(a) {x}) = vars(a).
aγ b b P x a b x a is an order -witnessing resolvent of xa and b.
(Order -witnessing rule) (38)
x a qatoms
(S
Vr
κ1
),b atoms(S
Vr
κ1
) qatoms(S
Vr
κ1
)
b aγ xa P b x a b S
κ
;
freevars(xa) freevars(b) =
/
0,
˜w
˜
W Func
L
κ1
,ar( ˜w) = |freetermseq(xa),freetermseq(b)|,
γ = x/ ˜w(freetermseq(xa),freetermseq(b)) id|
vars(a)−{x}
Subst
L
κ
,dom(γ) = {x} (vars(a) {x}) = vars(a).
b aγ xa P b x a b is an order -witnessing resolvent of xa and b.
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta
41
Proof. Technical, a straightforward consequence of
K
¨
onig’s Lemma and Lemma 4.2.
Let {0,1} X [0, 1]. X is admissible with re-
spect to suprema and infima iff, for all
/
0 6= Y
1
,Y
2
X
and
W
W
W
Y
1
=
V
V
V
Y
2
,
W
W
W
Y
1
Y
1
,
V
V
V
Y
2
Y
2
. Let {0,1}
Tc Tcons
L
. Tc is admissible with respect to
suprema and infima iff {0, 1} Tc [0,1] is admis-
sible with respect to suprema and infima.
Theorem 4.4 (Refutational Soundness and Complete-
ness). Let L contain a constant symbol. Let P
˜
P,
S OrdCl
LP
, tcons(S) be admissible with respect to
suprema and infima. clo
H
(S) if and only if S is
unsatisfiable.
Proof. (=) Let A be a model of S for L P and
C clo
H
(S) OrdCl
L
˜
WP
. Then there exists an
expansion A
0
of A to L
˜
W P such that A
0
|= C.
The proof is by complete induction on the length of a
deduction of C from S by order hyperresolution. Let
clo
H
(S) and A be a model of S for L P. Hence,
there exists an expansion A
0
of A to L
˜
W P such
that A
0
|= , which is a contradiction; S is unsatisfi-
able.
(=) Let 6∈ clo
H
(S). Then, by Lemma 4.1 for
S, , 6∈ clo
BH
(S); we have L,
˜
P,
˜
W are countable,
P
˜
P, S OrdCl
LP
, clo
BH
(S) GOrdCl
L
˜
WP
;
P, L P, OrdCl
LP
, S, L
˜
W P, GOrdCl
L
˜
WP
,
clo
BH
(S) are countable; there exists γ
1
ω and 6∈
clo
BH
(S) = {
W
k
ι
j=0
ε
ι
j
ι
j
υ
ι
j
|ι < γ
1
}; by Lemma 4.3 for
S, there exists S
Sel({{ j | j k
ι
}
ι
|ι < γ
1
}) and
there does not exist a contradiction of {ε
ι
S
(ι)
ι
S
(ι)
υ
ι
S
(ι)
|ι < γ
1
} GOrdCl
L
˜
WP
. We put S =
{ε
ι
S
(ι)
ι
S
(ι)
υ
ι
S
(ι)
|ι < γ
1
} GOrdCl
L
˜
WP
. Then
ordtcons(S) clo
BH
(S), S ordtcons(S) is count-
able, unit, (q)atoms(S) (q)atoms(clo
BH
(S)); there
does not exist a contradiction of S. We have L con-
tains a constant symbol. Hence, there exists cn
Func
L
, ar
L
(cn
) = 0. We put
˜
W
= funcs(S)
˜
W
˜
W,
˜
W
(Func
L
{
˜
f
0
})
˜
W (Func
L
{
˜
f
0
}) =
/
0,
U
A
= GTerm
L
˜
W
P
,cn
U
A
6=
/
0,
B = atoms(S) qatoms(S)
GAtom
L
˜
W
P
QAtom
L
˜
W
P
.
We have S is countable. Then tcons(S) =
atoms(ordtcons(S)) atoms(S) B, B = tcons(S)
(B tcons(S)), tcons(S) (B tcons(S)) =
/
0,
atoms(S), qatoms(S), B, tcons(S), B tcons(S) are
countable; there exist γ
2
ω and a sequence δ
2
:
γ
2
B tcons(S) of B tcons(S). Let ε
1
,ε
2
B.
ε
1
,ε
2
iff there exists an equality chain ε
1
Ξε
2
of
S. Note that , is a binary symmetric transitive rela-
tion on B. ε
1
Cε
2
iff there exists an increasing chain
ε
1
Ξε
2
of S. Note that C is a binary transitive relation
on B.
06, 1,1 6, 0,0 C 1,1 6 0, (39)
for all ε B, ε6 0,1 6 ε,ε6 ε.
The proof is straightforward; we have that there does
not exist a contradiction of S. Note that C is also
irreflexive and a partial strict order on B.
Let tcons(S) X B. A partial valuation V
is a mapping V : X [0,1] such that V (0) = 0,
V (1) = 1, for all ¯c tcons(S) C
L
, V ( ¯c) = c. We
denote dom(V ) = X, tcons(S) dom(V ) B. We
define a partial valuation V
α
by recursion on α γ
2
as follows:
V
0
= {(0, 0),(1,1)} {( ¯c, c)| ¯c tcons(S) C
L
};
V
α
= V
α1
{(δ
2
(α 1),λ
α1
)}
(1 α γ
2
is a successor ordinal),
E
α1
= {V
α1
(a)|a ,δ
2
(α 1),a dom(V
α1
)},
D
α1
= {V
α1
(a)|a Cδ
2
(α 1),a dom(V
α1
)},
U
α1
= {V
α1
(a)|δ
2
(α 1)C a,a dom(V
α1
)},
λ
α1
=
(
W
W
W
D
α1
+
V
V
V
U
α1
2
if E
α1
=
/
0,
W
W
W
E
α1
else;
V
γ
2
=
[
α<γ
2
V
α
(γ
2
is a limit ordinal).
For all α α
0
γ
2
, V
α
is a partial valuation,
dom(V
α
) = tcons(S) δ
2
[α], V
α
V
α
0
.
(40)
The proof is by induction on α γ
2
.
We list some auxiliary statements without proofs:
If qatoms(S) =
/
0, then qatoms(clo
BH
(S)) =
/
0. (41)
tcons(S) = tcons(clo
BH
(S)). (42)
For all a,b atoms(clo
BH
(S))
qatoms(clo
BH
(S)), there exist a deduction
C
1
,.. .,C
n
, n 1, from S by basic order hyper-
resolution, associated L
n
, S
n
, S
n
GOrdCl
L
n
,
such that a,b atoms(S
n
) qatoms(S
n
).
(43)
For all
/
0 6= A
F
atoms(clo
BH
(S))
qatoms(clo
BH
(S)), there exist a deduction
C
1
,.. .,C
n
, n 1, from S by basic order hyper-
resolution, associated L
n
, S
n
, S
n
GOrdCl
L
n
,
such that A atoms(S
n
) qatoms(S
n
).
(44)
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
42
For all a tcons(S) C
L
, b B tcons(S),
either aC b or a, b or b Ca.
(45)
Let qatoms(S) 6=
/
0. For all a,b B {0,1},
either aC b or (a = b or a , b) or bC a.
(46)
For all α γ
2
, for all a,b dom(V
α
),
if a, b, then V
α
(a) = V
α
(b);
if aC b, then V
α
(a) < V
α
(b);
if V
α
(a) = 0, then a = 0 or a ,0;
if V
α
(a) = 1, then a = 1 or a ,1;
for all α < γ
2
,
V
α
[dom(V
α
)] is admissible with respect to
suprema and infima.
(47)
The proof is by induction on α γ
2
using the as-
sumption that tcons(S) is admissible with respect to
suprema and infima.
We put V = V
γ
2
, dom(V )
(40)
== tcons(S) δ[γ
2
] =
tcons(S) (B tcons(S)) = B. We further list some
other auxiliary statements without proofs:
For all a,b B,
if a, b, then V (a) = V (b);
if aC b, then V (a) < V (b).
(48)
For all Qxa qatoms(clo
BH
(S)) and u U
A
,
a(x/u) atoms(clo
BH
(S)).
(49)
For all a B,
if a = xb, then V (a) =
V
V
V
uU
A
V (b(x/u));
if a = xb, then V (a) =
W
W
W
uU
A
V (b(x/u)).
(50)
We put
f
A
(u
1
,.. .,u
τ
) =
f (u
1
,.. .,u
τ
)
if f Func
L
˜
W
P
,
cn
else,
f Func
L
˜
WP
,u
i
U
A
;
p
A
(u
1
,.. .,u
τ
) =
V (p(u
1
,.. .,u
τ
))
if p(u
1
,.. .,u
τ
) B,
0 else,
p Pred
L
˜
WP
,u
i
U
A
;
A =
U
A
,{ f
A
| f Func
L
˜
WP
},
{p
A
| p Pred
L
˜
WP
}
,
an interpretation for L
˜
W P.
For all C S and e S
A
, C(e|
freevars(C)
)
clo
BH
(S).
(51)
It is straightforward to prove that for all a B
and e S
A
, kak
A
e
= V (a). Let l = ε
1
P ε
2
S and e S
A
. Then ε
1
,ε
2
B, ε
1
,ε
2
, by (48)
for ε
1
, ε
2
, V (ε
1
) = V (ε
2
), klk
A
e
= kε
1
P ε
2
k
A
e
=
kε
1
k
A
e
P
P
Pkε
2
k
A
e
= V (ε
1
)P
P
PV (ε
2
) = 1. Let l = ε
1
ε
2
S and e S
A
. Then ε
1
,ε
2
B, ε
1
Cε
2
, by (48)
for ε
1
, ε
2
, V (ε
1
) < V (ε
2
), klk
A
e
= kε
1
ε
2
k
A
e
=
kε
1
k
A
e
kε
2
k
A
e
= V (ε
1
)
V (ε
2
) = 1. So, for all
l S and e S
A
, for both the cases l = ε
1
P ε
2
S
and l = ε
1
ε
2
S, klk
A
e
= 1; klk
A
e
= 1. Let C
S OrdCl
LP
and e S
A
. Then e : Var
L
U
A
,
freevars(C)
F
Var
L
, e|
freevars(C)
Subst
L
˜
W
P
,
dom(e|
freevars(C)
) = freevars(C), range(e|
freevars(C)
) =
/
0; e|
freevars(C)
is applicable to C; by (51) for
C, e, C(e|
freevars(C)
) clo
BH
(S), there exists l
C(e|
freevars(C)
) and l
S, kl
k
A
e
= 1; there exists l
∗∗
C OrdCl
LP
and l
∗∗
OrdLit
LP
OrdLit
L
˜
W
P
,
freevars(l
∗∗
) freevars(C); e|
freevars(l
∗∗
)
is appli-
cable to l
∗∗
, l
∗∗
(e|
freevars(l
∗∗
)
) = l
; for all t
Term
L
˜
W
P
, a Atom
L
˜
W
P
QAtom
L
˜
W
P
, l
OrdLit
L
˜
W
P
, ktk
A
e
= t(e|
vars(t)
) = kt(e|
vars(t)
)k
A
e
,
kak
A
e
= ka(e|
freevars(a)
)k
A
e
, klk
A
e
= kl(e|
freevars(l)
)k
A
e
;
the proof is by induction on t and by definition;
kl
∗∗
k
A
e
= kl
∗∗
(e|
freevars(l
∗∗
)
)k
A
e
= kl
k
A
e
= 1; A |=
e
C;
A |= S, A|
LP
|= S; S is satisfiable. The theorem is
proved.
Consider S = {0 a}{a
1
n
|n 2} OrdCl
L
,
a Pred
L
Tcons
L
, ar
L
(a) = 0. tcons(S) is not ad-
missible with respect to suprema and infima; for {0}
and {
1
n
|n 2},
W
W
W
{0} =
V
V
V
{
1
n
|n 2} = 0, 0 6∈ {
1
n
|n
2}. S is unsatisfiable; both the cases kak
A
= 0 and
kak
A
> 0 lead to A 6|= S for every interpretation A
for L. However, 6∈ clo
H
(S) = S {0 1} {0
1
n
|n 2} {
1
n
1 |n 2} {
1
n
1
1
n
2
|n
1
> n
2
2} {
1
n
a
1
n
P a a
1
n
|n 2} {
1
n
P a a
1
n
|n 2} {
1
n
a a
1
n
|n 2}, using Rules (33)
and (32); clo
H
(S) contains the order clauses from S,
from ordtcons(S), and some superclauses of them.
So, the condition on tcons(S) being admissible with
respect to suprema and infima, is necessary.
The deduction problem of a formula from a theory
can be solved as follows:
Corollary 4.5. Let L contain a constant symbol. Let
n
0
N, φ OrdForm
L
, T OrdForm
L
, tcons(T )
be admissible with respect to suprema and in-
fima. There exist J
φ
T
{(i, j) |i n
0
} and S
φ
T
SimOrdCl
L∪{ ˜p | J
φ
T
}
such that tcons(S
φ
T
) is admissi-
ble with respect to suprema and infima; T |= φ if and
only if clo
H
(S
φ
T
).
Proof. By Corollary 3.5 for n
0
, φ, T , there exist
J
φ
T
{(i, j) |i n
0
},S
φ
T
SimOrdCl
L∪{ ˜p | J
φ
T
}
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta
43
Table 4: An example: φ = x (q
1
(x) 0.3) (x q
1
(x) 0.5).
φ = x (q
1
(x) 0.3) (x q
1
(x) 0.5)
n
˜p
0
(x) 1, ˜p
0
(x)
x (q
1
(x) 0.3)
| {z }
˜p
1
(x)
(x q
1
(x) 0.5
| {z }
˜p
2
(x)
)
o
(18)
n
˜p
0
(x) 1, ˜p
1
(x) ˜p
2
(x) ˜p
1
(x) P ˜p
2
(x) ˜p
0
(x) P ˜p
2
(x), ˜p
2
(x) ˜p
1
(x) ˜p
0
(x) P 1, ˜p
1
(x) x (q
1
(x) 0.3
| {z }
˜p
3
(x)
), ˜p
2
(x) (x q
1
(x)
| {z }
˜p
4
(x)
0.5
|{z}
˜p
5
(x)
)
o
(23), (18)
n
˜p
0
(x) 1, ˜p
1
(x) ˜p
2
(x) ˜p
1
(x) P ˜p
2
(x) ˜p
0
(x) P ˜p
2
(x), ˜p
2
(x) ˜p
1
(x) ˜p
0
(x) P 1, ˜p
1
(x) P x ˜p
3
(x), ˜p
3
(x) (q
1
(x)
|{z}
˜p
6
(x)
0.3
|{z}
˜p
7
(x)
),
˜p
4
(x) ˜p
5
(x) ˜p
4
(x) P ˜p
5
(x) ˜p
2
(x) P ˜p
5
(x), ˜p
5
(x) ˜p
4
(x) ˜p
2
(x) P 1, ˜p
4
(x) x q
1
(x)
|{z}
˜p
8
(x)
, ˜p
5
(x) P 0.5
o
(18), (24)
n
˜p
0
(x) 1, ˜p
1
(x) ˜p
2
(x) ˜p
1
(x) P ˜p
2
(x) ˜p
0
(x) P ˜p
2
(x), ˜p
2
(x) ˜p
1
(x) ˜p
0
(x) P 1, ˜p
1
(x) P x ˜p
3
(x),
˜p
6
(x) ˜p
7
(x) ˜p
6
(x) P ˜p
7
(x) ˜p
3
(x) P ˜p
7
(x), ˜p
7
(x) ˜p
6
(x) ˜p
3
(x) P 1, ˜p
6
(x) P q
1
(x), ˜p
7
(x) P
0.3,
˜p
4
(x) ˜p
5
(x) ˜p
4
(x) P ˜p
5
(x) ˜p
2
(x) P ˜p
5
(x), ˜p
5
(x) ˜p
4
(x) ˜p
2
(x) P 1, ˜p
4
(x) P x ˜p
8
(x), ˜p
8
(x) P q
1
(x), ˜p
5
(x) P 0.5
o
S
φ
=
(
˜p
0
(x) 1 [1]
˜p
1
(x) ˜p
2
(x) ˜p
1
(x) P ˜p
2
(x) ˜p
0
(x) P ˜p
2
(x) [2]
˜p
2
(x) ˜p
1
(x) ˜p
0
(x) P 1 [3]
˜p
1
(x) P x ˜p
3
(x) [4]
˜p
6
(x) ˜p
7
(x) ˜p
6
(x) P ˜p
7
(x) ˜p
3
(x) P ˜p
7
(x) [5]
˜p
7
(x) ˜p
6
(x) ˜p
3
(x) P 1 [6]
˜p
6
(x) P q
1
(x) [7]
˜p
7
(x) P 0.3 [8]
˜p
4
(x) ˜p
5
(x) ˜p
4
(x) P ˜p
5
(x) ˜p
2
(x) P ˜p
5
(x) [9]
˜p
5
(x) ˜p
4
(x) ˜p
2
(x) P 1 [10]
˜p
4
(x) P x ˜p
8
(x) [11]
˜p
8
(x) P q
1
(x) [12]
˜p
5
(x) P 0.5
)
[13]
Rule (32) : [1][3] :
˜p
2
(x) ˜p
1
(x) [14]
Rule (32) : [10][14] :
˜p
5
(x) ˜p
4
(x) [15]
repeatedly Rule (32) : [9][15] :
˜p
2
(x) P ˜p
5
(x) [16]
Rule (35) : x ˜p
3
(x) :
x ˜p
3
(x) ˜p
3
(x) x ˜p
3
(x) P ˜p
3
(x) [17]
0.3 0.5 ordtcons(S
φ
)
0.3 0.5 [18]
repeatedly Rule (32) : [4][5][8][13][14][16][17][18] :
˜p
6
(x) ˜p
7
(x) ˜p
6
(x) P ˜p
7
(x) [19]
Rule (38) : x ˜p
8
(x),0.5 :
0.5 ˜p
8
( ˜w
(0,0)
) x ˜p
8
(x) 0.5 x ˜p
8
(x) P 0.5 [20]
repeatedly Rule (32) : [11][13][15][20] :
0.5 ˜p
8
( ˜w
(0,0)
) [21]
repeatedly Rule (32) : [7][8][12][19]; ˜w
(0,0)
: [18][21] :
[22]
and Corollary 3.5(i,iv) hold for φ, T , S
φ
T
; we have
tcons(T ) is admissible with respect to suprema
and infima, tcons(S
φ
T
) tcons(φ) tcons(T );
tcons(φ)
F
Tcons
L
, tcons(S
φ
T
) is admissible with
respect to suprema and infima; we have T |= φ if
and only if S
φ
T
is unsatisfiable; by Theorem 4.4 for
{ ˜p | J
φ
T
}, S
φ
T
, S
φ
T
is unsatisfiable if and only if
clo
H
(S
φ
T
); T |= φ if and only if clo
H
(S
φ
T
).
The corollary is proved.
In Table 4, we show that φ = x(q
1
(x) 0.3)
(x q
1
(x) 0.5) OrdForm
L
is logically valid using
the translation to order clausal form and the order hy-
perresolution calculus.
5 CONCLUSIONS
In the paper, we have proposed a modification of the
hyperresolution calculus from (Guller, 2012; Guller,
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
44
2015) which is suitable for automated deduction in
the first-order G
¨
odel logic with explicit partial truth.
G
¨
odel logic is expanded by a countable set of inter-
mediate truth constants ¯c, c (0,1). We have mod-
ified translation of a formula to an equivalent satis-
fiable finite order clausal theory, consisting of order
clauses. An order clause is a finite set of order literals
of the form ε
1
ε
2
where ε
i
is an atom or a quanti-
fied atom, and is the connective P or . P and
are interpreted by the equality and standard strict
linear order on [0,1], respectively. We have investi-
gated the so-called canonical standard completeness,
where the semantics of G
¨
odel logic is given by the
standard G-algebra and truth constants are interpreted
by ’themselves’. The modified hyperresolution cal-
culus is refutation sound and complete for a count-
able order clausal theory if the set of truth constants
occurring in the theory, is admissible with respect to
suprema and infima. This condition covers the case of
finite order clausal theories. We have solved the de-
duction problem of a formula from a countable theory.
As an interesting consequence, we get an affirmative
solution to the open problem of recursive enumerabil-
ity of unsatisfiable formulae in G
¨
odel logic with truth
constants and the equality, P
P
P, strict order,
, projec-
tion,
, operators.
Corollary 5.1. The set of unsatisfiable formulae of L
is recursively enumerable.
Proof. Let φ OrdForm
L
. Then φ contains a finite
number of truth constants and tcons({φ}) is admissi-
ble with respect to suprema and infima. φ is unsatisfi-
able if and only if {φ} |= 0. Hence, the problem that φ
is unsatisfiable can be reduced to the deduction prob-
lem {φ} |= 0 after a constant number of steps. Let
n
0
N. By Corollary 4.5 for n
0
, 0, {φ}, there exist
J
0
{φ}
{(i, j) |i n
0
}, S
0
{φ}
SimOrdCl
L∪{ ˜p | J
0
{φ}
}
and tcons(S
0
{φ}
) is admissible with respect to suprema
and infima, {φ} |= 0 if and only if clo
H
(S
0
{φ}
); if
{φ} |= 0, then clo
H
(S
0
{φ}
) and we can decide it
after a finite number of steps. This straightforwardly
implies that the set of unsatisfiable formulae of L is
recursively enumerable. The corollary is proved.
REFERENCES
Apt, K. R. (1988). Introduction to logic programming.
Technical Report CS-R8826, Centre for Mathematics
and Computer Science, Amsterdam, The Netherlands.
Baaz, M., Ciabattoni, A., and Ferm
¨
uller, C. G. (2012).
Theorem proving for prenex G
¨
odel logic with Delta:
checking validity and unsatisfiability. Logical Meth-
ods in Computer Science, 8(1).
de la Tour, T. B. (1992). An optimality result for clause
form translation. J. Symb. Comput., 14(4):283–302.
Esteva, F., Gispert, J., Godo, L., and Noguera, C. (2007a).
Adding truth-constants to logics of continuous t-
norms: axiomatization and completeness results.
Fuzzy Sets and Systems, 158(6):597–618.
Esteva, F., Godo, L., and Montagna, F. (2001). The ŁΠ
and ŁΠ
1
2
logics: two complete fuzzy systems joining
Łukasiewicz and Product logics. Arch. Math. Log.,
40(1):39–67.
Esteva, F., Godo, L., and Noguera, C. (2007b). On
completeness results for the expansions with truth-
constants of some predicate fuzzy logics. In Step-
nicka, M., Nov
´
ak, V., and Bodenhofer, U., editors,
New Dimensions in Fuzzy Logic and Related Tech-
nologies. Proceedings of the 5th EUSFLAT Confer-
ence, Ostrava, Czech Republic, September 11-14,
2007, Volume 2: Regular Sessions, pages 21–26. Uni-
versitas Ostraviensis.
Esteva, F., Godo, L., and Noguera, C. (2009). First-order
t-norm based fuzzy logics with truth-constants: distin-
guished semantics and completeness properties. Ann.
Pure Appl. Logic, 161(2):185–202.
Esteva, F., Godo, L., and Noguera, C. (2010a). Expand-
ing the propositional logic of a t-norm with truth-
constants: completeness results for rational semantics.
Soft Comput., 14(3):273–284.
Esteva, F., Godo, L., and Noguera, C. (2010b). On ex-
pansions of WNM t-norm based logics with truth-
constants. Fuzzy Sets and Systems, 161(3):347–368.
Guller, D. (2009). On the refutational completeness of
signed binary resolution and hyperresolution. Fuzzy
Sets and Systems, 160(8):1162 1176. Featured Issue:
Formal Methods for Fuzzy Mathematics, Approxima-
tion and Reasoning, Part II.
Guller, D. (2010). A DPLL procedure for the propositional
G
¨
odel logic. In Filipe, J. and Kacprzyk, J., editors,
ICFC-ICNC 2010 - Proceedings of the International
Conference on Fuzzy Computation and International
Conference on Neural Computation, [parts of the In-
ternational Joint Conference on Computational Intel-
ligence IJCCI 2010], Valencia, Spain, October 24-26,
2010, pages 31–42. SciTePress.
Guller, D. (2012). An order hyperresolution calculus for
G
¨
odel logic - General first-order case. In Rosa, A. C.,
Correia, A. D., Madani, K., Filipe, J., and Kacprzyk,
J., editors, IJCCI 2012 - Proceedings of the 4th In-
ternational Joint Conference on Computational Intel-
ligence, Barcelona, Spain, 5 - 7 October, 2012, pages
329–342. SciTePress.
Guller, D. (2014). An order hyperresolution calculus for
G
¨
odel logic with truth constants. In Rosa, A. C.,
Dourado, A., Correia, K. M., Filipe, J., and Kacprzyk,
J., editors, FCTA 2014 - Proceedings of the 6th In-
ternational Joint Conference on Computational Intel-
ligence, Rome, Italy, 22-24 October, 2014, pages 37–
52. SciTePress.
Guller, D. (2015). A generalisation of the hyperresolution
principle to first order G
¨
odel logic. In Computational
Intelligence - International Joint Conference, IJCCI
An Order Hyperresolution Calculus for Gödel Logic with Truth Constants and Equality, Strict Order, Delta
45
2012 Barcelona, Spain, October 5-7, 2012 Revised
Selected Papers, volume 577 of Studies in Computa-
tional Intelligence, pages 159–182. Springer.
H
¨
ahnle, R. (1994). Short conjunctive normal forms in
finitely valued logics. J. Log. Comput., 4(6):905–927.
H
´
ajek, P. (2001). Metamathematics of Fuzzy Logic. Trends
in Logic. Springer.
Mandel
´
ıkov
´
a, L. (2012). Analysis and interpretation of sci-
entific text. TnUni Press, Trenchin, Slovakia.
Mandel
´
ıkov
´
a, L. (2014). Sociocultural connections of the
language. TnUni Press, Trenchin, Slovakia.
Nonnengart, A., Rock, G., and Weidenbach, C. (1998). On
generating small clause normal forms. In Kirchner,
C. and Kirchner, H., editors, Automated Deduction
- CADE-15, 15th International Conference on Auto-
mated Deduction, Lindau, Germany, July 5-10, 1998,
Proceedings, volume 1421 of Lecture Notes in Com-
puter Science, pages 397–411. Springer.
Nov
´
ak, V., Perfilieva, I., and Mo
ˇ
cko
ˇ
r, J. (1999). Mathemat-
ical Principles of Fuzzy Logic. The Springer Inter-
national Series in Engineering and Computer Science.
Springer US.
Pavelka, J. (1979). On fuzzy logic I, II, III. Semantical
completeness of some many-valued propositional cal-
culi. Mathematical Logic Quarterly, 25(2529):45–52,
119–134, 447–464.
Plaisted, D. A. and Greenbaum, S. (1986). A structure-
preserving clause form translation. J. Symb. Comput.,
2(3):293–304.
Savick
´
y, P., Cignoli, R., Esteva, F., Godo, L., and Noguera,
C. (2006). On Product logic with truth-constants. J.
Log. Comput., 16(2):205–225.
Sheridan, D. (2004). The optimality of a fast CNF conver-
sion and its use with SAT. In SAT.
FCTA 2015 - 7th International Conference on Fuzzy Computation Theory and Applications
46