This paper focuses on multi-ary α-semantic resolution automated reasoning method based on multi-ary α-resolution principle for a lattice-valued logic with truth-value in a lattice implication algebra. Firstly, the definitions of the multi-ary α-semantic resolution and multi-ary α-semantic resolution deduction in LF (X) are given, respectively, the soundness and completeness of this ground case are gotten. Secondly, the validity of multi-ary α-semantic resolution method is analyzed. Thirdly, the algorithm for multi-ary α-semantic resolution methods based on lattice-valued first-order logic LF (X) is constructed. This work will provide a theoretical foundation for the more efficient resolution based automated reasoning in lattice-valued logic.
Resolution was introduced by Robinson in his landmark paper [9] in 1965 as a merchanizable method for detecting the unsatisfiability of a given set of formulae in classical first-order logic, it revolutionized the field of automated reasoning, and since then, many refinements of resolution have been proposed by researchers to cut down the search space and increase efficiency. One of the most important refinements of resolution is semantic resolution [11] which was introduced by Slagle in 1967. In semantic resolution method, it utilize the technology that restraining the type of clauses and the order of literals participated in resolution procedure to reduce the redundant clauses, and can increase the efficiency of reasoning, the order of predicate symbol in semantic resolution is a coarse order, because there can exist more than one predicate symbols in one clause in first-order logic, among these identical predicate symbols, there are no order, so the resolution literals can not be selected solely. In order to select the resolution literals solely in resolution procedure and reduce the new clause, in 1971, Reiter.R presented the ordered clause semantic resolution–OI-resolution [10], the efficiency of OI-resolution is very high in many cases. Unfortunately, it is incomplete. In 1979, Liu applies the idea of indexing the literals in lock resolution method presented by Boyer, and introduced a new semantic resolution method–IDI-resolution [2], IDI-resolution possess the advantages of PI-resolution and OI-resolution, and it is complete for clause set in first-order logic. Subsequently, Liu, Lu etc. investigated various kinds of resolution methods [1–5], Liu [5] studied the relation among the linear resolution, semantic resolution and lock resolution.
As the use of non-classical logics becomes increasingly important in computer science, AI and logic programming, the developing efficient automated theorem proving based on non-classical logic is also an active area of research (e.g., for fuzzy logic and many-valued logic, among others. The essential idea in many of those methods is to transform the resolution algorithm in fuzzy logic and many-valued logic to that of classical logic. As far as we know, proof theory for lattice-valued logic has so far not been extensively developed. There have also been investigations of resolution-based automated reasoning in lattice-valued logic based on LIAs (e.g., among others,
[16–26]. The aim of dealing with incomparability leads to the complexity of logical formula in LIAs based lattice-valued logic. With the development of research, it shows that 2-ary α-resolution automated reasoning based on lattice-valued logic aiming at processing uncertain information with incomparability is scientific and effective. But there are two aspects limitations in 2-ary α-resolution automated reasoning: (1) 2-ary α-resolution can only process the resolution of 2-ary generalized literals; (2) the number of resolution generalized literals is fixed at 2 in each resolution in 2-ary α-resolution deduction. The limitations of these two aspects makes the 2-ary α-resolution automated reasoning theory and applications are limited, and also directly affect the efficiency of 2-ary α-resolution automated reasoning. The complexity of lattice-valued logic systems based on LIAs and the logical formulae, will limit the efficiency of 2-ary α-resolution automated reasoning. Therefore, it is necessary to study resolution automated reasoning theory, methods, algorithms and procedures which improving the resolution automated reasoning efficiency under the premise of keeping the depict ability in complexity problems. To resolve these limitations, Xu [21] extend the 2-ary α-resolution in this lattice-valued logic into a more general form, i.e., from 2-ary α-resolution to multi-ary α-resolution, the multi-ary α-resolution principle in lattice-valued propositional logic LP (X) and lattice-valued first-order logic LF (X), respectively. And its theorems of both soundness and completeness are proved in LP (X). In the corresponding lattice-valued first-order logic LF (X), the soundness theorem, lifting lemma and completeness theorem of multi-ary α-resolution principle are also established. These works will place a theoretical support for establishing automated reasoning algorithm and its implementation with further applications into automated deduction and decision making problem under uncertainty.
The current work is organized as follows: In Section 2, we mainly list some basic concepts and some properties of lattice implication algebras, lattice-valued propositional logic and lattice valued first-order logic, they will be used in other sections; In Section 3, we mainly investigate the descent lemma and equivalent transform theorem of multi-ary α-resolution methods in LF (X); In section 4, we mainly investigate the multi-ary α-semantic resolution automated reasoning method based on LF (X) with truth-value in a lattice implication algebra, gives the soundness and completeness theorems on this resolution method; In Section 5, we analysis the validity of multi-ary α-semantic resolution method in lattice-valued first-order logic LF (X) from four aspects; In Section 6, we construct the algorithm for multi-ary α-semantic resolution methods based on lattice-valued first-order logic LF (X), the completeness and soundness of this algorithm will be studied. This work will provide a theoretical foundation for the more efficient resolution based automated reasoning in lattice-valued logic.
Preliminaries
In the following, we will introduce some elementary concepts and conclusions of lattice-valued logic with truth-value in a lattice implication algebra. We refer the readers to
[18] for more details.
Lattice implication algebras
Definition 2.1.
[13] Let (L, ∨ , ∧ , O, I) be a bounded lattice with an order-reversing involution ′, the greatest element I and the smallest element O, and
be a mapping. is called a lattice implication algebra if the following conditions hold for any x, y, z ∈ L:
(I1) x → (y → z) = y → (x → z);
(I2)
x → x = I;
(I3)x → y = y′ → x′;
(I4) x → y = y → x = I implies x = y;
(I5) (x → y) → y = (y → x) → x;
(l1) (x ∨ y) → z = (x → z) ∧ (y → z);
(l2) (x ∧ y) → z = (x → z) ∨ (y → z).
In this paper, we denote as a lattice implication algebra (L, ∨ , ∧ , ′, → , O, I).
Example 2.1. Let L = {O, a, b, c, d, I}, the Hasse diagram of L be defined as Fig. 1 and its implication operator → be defined as Table 1 and operator ′ be defined as Table 2. Then L = (L, ∨ , ∧ , ′, → , O, I) is a lattice implication algebra.
Example 2.2. (Lukasiewicz implication algebra on a finite chain) Let Ln = {ai|i = 1, 2, ⋯ , n} , a1 ≤ a2 ≤ ⋯
an. For any 1 ≤ j, k ≤ n, define
Then (Ln, ∨ , ∧ , ′, → , a1, an) is a lattice implication algebra.
Multi-ary α-resolution principle based on lattice-valued propositional logic LP (X)
Definition 2.2. [6] Let X be a set of propositional variables, T = L ∪ {′, →} be a type with ar(′)=1, ar(→)=2 and ar(α)=0 for any α ∈ L. The propositional algebra of the lattice-valued propositional calculus on the set X of propositional variables is the free T-algebra on X is denoted by LP (X).
Theorem 2.2. [8]
LP (X) is the minimal set Y which satisfies:
X ∪ L ⊆ Y .
if p, q ∈ Y, then p′, p → q ∈ Y .
Definition 2.3. [6, 14] A valuation of LP (X) is a propositional algebra homomorphism v : LP (X) → L.
Definition 2.4. [13] Let p ∈ LP (X) , α ∈ L, If there exists a valuation v of LP (X) such that v (p) ≰ α, p is satisfiable by a truth-value level α, in short,α-satisfiable; If v (p) ≰ α for every valuation v, p is valid at the truth-value level α, in short, α-valid. If α = I, then p is valid simply.
Definition 2.5. [18] Let p ∈ LP (X). If v (p) ≤ α for any valuation v of LP (X), p is always false at the truth-valued level α, in short, α-false. If α = O, then p is false.
Definition 2.6. [18] A lattice-valued propositional logical formula f is called an extremely simple form (in short, ESF), if a lattice-valued propositional logical formula f* obtained by deleting any constant or literal or implication item appearing in f is not equivalent to f.
Definition 2.7. [18] A lattice-valued propositional logical formula f is called an indecomposable extremely simple form (in short, IESF), if:
(1) f is an ESF containing connective → and ′.
(2) for any g ∈ LP (X), if in , then g is an ESF containing connective → and ′ at most, where
is a lattice implication algebra.
= p} .
Definition 2.8. [18] All the constants, literals and IESFs are generalized literals.
Definition 2.9. [21] (Multi-ary α-Resolution Principle) Let Ci = pi1 ∨ ⋯ ∨ pimi be generalized clauses of LP (X), Hi = {pi1, ⋯ , pimi} the set of all disjuncts occurring in Ci, i = 1, 2, ⋯ , m, α ∈ L. For any i ∈ {1, 2, ⋯ , m}, if there exist generalized literals xi ∈ Hi such that x1 ∧ x2 ∧ ⋯ ∧ xm ≤ α, then C1 (x1 = α) ∨ C2 (x2 = α) ∨ ⋯ ∨ Cm (xm = α) is called an m-ary α-resolvent of C1, C2, ⋯ , Cm, denoted by Rp(m-α) (C1 (x1) , C2 (x2) , ⋯ , Cm (xm)) , x1, x2, ⋯ , xm are called an m-ary α-resolution group. The m-ary α-resolution group x1, x2, ⋯ , xm, denoted by (x1, x2, ⋯ , xm) - α.
Theorem 2.3. [21] (Soundness)
SupposeS = C1 ∧ C2 ∧ ⋯ Cm,
where C1, C2, ⋯ , Cm
are generalized clauses in LP (X). {Φ1, Φ2, ⋯ , Φt}
is a multi-ary α-resolution deduction from S to Φt. If Φt ≤ α, then S ≤ α.
Theorem 2.4. [21] (completeness) Suppose S = C1 ∧ C2 ∧ ⋯ Cm, where C1, C2, ⋯ , Cm are generalized clauses in LP (X). If S ≤ α, then there exists a multi-ary α-resolution deduction from S to α-empty clause.
Multi-ary α-resolution principle based on lattice-valued first-order logic LF (X)
Definition 2.10. [7, 15] Suppose V and F are the set of variable symbols and that of functional symbols in LF (X), respectively, the set of terms of LF (X) is defined as the smallest set J satisfying the following conditions:
V ⊆ J;
For any n ∈ N, if f(n) ∈ F, then for any t1, ⋯ , tn ∈ J, f(n) (t1, ⋯ , tn) ∈ J.
Remark 2.1.f(0) is specified as a constant symbol.
Definition 2.11. [18] Suppose P is a predicate symbol set in LF (X). The set of atoms of LF (X) is defined as the smallest set At satisfying the following condition: For any n ∈ N, if P(n) ∈ P, then P(n) (t0, t1, ⋯ , tn) ∈ At for any t0, t1, ⋯ , tn ∈ J.
Definition 2.12. [14] The set of formulas of LF (X) is defined as the smallest set F satisfying the following conditions:
At ⊂ F;
If p, q ∈ F, then p → q ∈ F;
If p ∈ F and x is a free variable in p, then (∀ x) p, (∃ x) p ∈ F.
Definition 2.13. [18] Suppose G ∈ F, FG is the set of all functional symbols occurring in G, PG is the set of all predicate symbols occurring in G, and D(& ∅) is the domain of interpretations. An interpretation of G over D is a triple ID = 〈D, μD, vD〉, where,
Definition 2.14. [18] A formula G in lattice-valued first-order logic LF (X) is a generalized-literal, if it satisfies the following conditions:
G is a literal; or
G is constructed only by some literals and some implication connectives with the condition that G cannot be represented by connectives ∨ or ∧ and G cannot be decomposed into a simpler form (G is called an indecomposable implication form).
Definition 2.15. [18] Let G ∈ F,α ∈ L. G is said to be α-false, if vD (G) ≤ α for any interpretation ID = 〈D, μD, vD〉 of G.
Definition 2.16. [18] Suppose G is a formula of the form Q1x1 ⋯ QnxnG*, where Q1, ⋯ , Qn are the quantifiers, i.e.,∀ or ∃, and G* is a formula without any quantifier. Then G is said to be a generalized-prenex conjunctive normal form, if G* is a generalized-conjunctive normal form.
is a generalized-prenex conjunctive normal form. The formula G* obtained by the following steps is called a generalized-Sklem standard form of G:
If Qr is an existential quantifier and without any universal quantifier occurring ahead it in the prefix Q1, ⋯ , Qn (from left to right), we choose a new constant c different from other constants occurring in M, replace all xr occurring in M by c, and then delete Qr from the prefix Q1, ⋯ , Qn.
If Qr is an existential quantifier and Qk1, ⋯ , Qkm are all the universal quantifiers occurring ahead Qr (m ≥ 1, 1 ≤ k1 < ⋯ < km < r), we choose a new m-ary function symbol f(m) different from all other function symbols occurring in M, replace all xr in M by f(m) (xk1, ⋯ , xkm) and then delete Qr from the prefix Q1, ⋯ , Qn.
Repeating (1) and (2) until there is no existential quantifier occurring in the prefix.
Definition 2.18. [21] (Multi-ary α-Resolution Principle) Let Ci = pi1 ∨ ⋯ ∨ pimi be generalized clauses of LF (X), Hi = {pi1, ⋯ , pimi} the set of all disjuncts occurring in Ci, i = 1, 2, ⋯ , m, α ∈ L. For any i ∈ {1, 2, ⋯ , m}, if there exist generalized literals xi ∈ Hi and a substitution σ such that , then
is called an m-ary α-resolvent of C1, C2, ⋯ , Cm, denoted by
x1, x2, ⋯ , xm are called an m-ary α-resolution group.
Theorem 2.5. [21] (Soundness) Suppose S = C1 ∧ C2 ∧ ⋯ Cm, where C1, C2, ⋯ , Cm are generalized clauses in LF (X). {Φ1, Φ2, ⋯ , Φt} is a multi-ary α-resolution deduction from S to Φt. If Φt ≤ α, then S ≤ α.
Theorem 2.6. [21] (completeness) Suppose S = C1 ∧ C2 ∧ ⋯ Cm, where C1, C2, ⋯ , Cm are generalized clauses in LF (X). If S ≤ α, then there exists a multi-ary α-resolution deduction from S to α-empty clause.
In this paper, the definitions of substitution, the most general unifier, ground substitution, instance, ground instance used below are all defined in the same way as those in classical logic. In addition, α is assumed to be always less than I.
Descent lemma and equivalent transform theorem of multi-ary α-resolution in LF (X)
Definition 3.1 [21] (H-interpretation) Suppose G* is a generalized sklem standard form of a formula G, H is the H-field of G*, is an interpretation of G* over H. is said to be an H-interpretation of G*, if
Theorem 3.1. [21] Let G*is a generalized-Skölem standard form of a formulaG, and |L| < ℵ 0. G*is α-false if and only if there exists a finite ground instance setG*0ofG*such thatis α-false, whereis the conjunction of all ground instances ofG*0.
Theorem 3.2.Let α ∈ L, G1, G2, ⋯ , Gm are generalized literals in lattice-valued first-order logicLF (X), g1, g2, ⋯ , gm are generalized literals inlattice-valued propositional logic LP (X) such thatg1, g2, ⋯ , gm are ground instances of G1, G2, ⋯ , Gm, respectively. Then g1, g2, ⋯ , gm is an m-ary resolution group in LP (X) if and only if G1, G2, ⋯ , Gm is also an m-ary resolution group in LF (X).
Proof. Necessity is directly from the lifting lemma of multi-ary α-resolution principle. Now, we need to prove its sufficiency.
Assume that G1, G2, ⋯ , Gm is m-ary resolution group in LF (X), then we have vD (G1 ∧ G2 ∧ ⋯ ∧ Gm) ≤ α for any interpretation ID = 〈D, uD, vD〉. If there is some common variables in G1, G2, ⋯ , Gm, then we can make a rename subsititute for G1, G2, ⋯ , Gm such that there is no common variables in Gi (i = 1, 2, ⋯ , m). Therefore, loss generality, we can assume that there is no common variables in Gi (i = 1, 2, ⋯ , m). Let gi be ground instance of Gi (i = 1, 2, ⋯ , m), respectively. For any valuation function vH of g1, g2, ⋯ , gm in LP (X), there exist H-interpretation on vH such that vH (g1 ∧ g2 ∧ ⋯ ∧ gm) = vD (G1 ∧ G2 ∧ ⋯ ∧ Gm) ≤ α . Therefore g1, g2, ⋯ , gm is an m-ary resolution group in LP (X).
Remark 3.1. Theorem 3.2 is called Descent Lemma of multi-ary α-resolution in lattice-valued first-order logic LF (X).
Theorem 3.3. Let S be a generalized clause set in lattice-valued first-order logic LF (X) and α ∈ L. There exist a multi-ary α-resolution deduction w = {Φ1, Φ2, ⋯ , Φt} from S to Φt in LF (X) if and only if there exist a multi-ary α-resolution deduction from S0 to in LP (X), where the generalized clause of S0 and are the ground instances of generalized clause of S and Φi, respectively (i = 1, 2, ⋯ , t).
Proof. Sufficiency is directly from the lifting lemma of multi-ary α-resolution principle. Now, we need to prove its necessity. By the generalized literals in S0 are all ground instance of corresponding generalized literals in S, for each α-resolvent , there exist generalized clauses such that
where are generalized literals in respectively, and there exists a substitution σ such that
Therefore, for any interpretation ,we have
As are ground instance of , respectively, for any valuation function in LP(X), there exits an H-interpretation IH over vH such that
Therefore,
is the multi-ary α-resolvent of and is the ground instance of .
Remark 3.2 Theorem 3.3 is called Equivalent Transform
Theorem between multi-ary α-resolution in
lattice-valued first-order logic LF(X) and multi-ary α-
resolution in lattice-valued propositional logic LF(X).
Multi-ary α-semantic resolution methods based on LF (X)
In this section, we suppose that generalized-clauses and generalized-literals always belong to a generalized-Sklem standard form, i.e., for any generalized-clause C and generalized-literal g, all variables of C and g are bound variables with the quantifier ∀. For any generalized-clauses G1, G2, ⋯ , Gm (m ≥ 3), there always exists a renamed substitution such that G1, G2, ⋯ , Gm have no common variables. Therefore, we suppose that generalized-clauses Gi (i = 1, 2, ⋯ , m) discussed below have no common variables.
Definition 4.1. Let ID = 〈D, μD, vD〉 be an interpretation in lattice-valued first-order logic LF (X), α ∈ L. N, E1, ⋯ , Eq are generalized clauses sets in LF (X), is an order of generalized literals occurring in these clauses. The finite sequence (N, E1, E2, ⋯ , Eq) (*) where is called a multi-ary α-semantic clash w. r. t. ID and , if (*) satisfy the following conditions:
For any generalized clause C ∈ Ei, vD (C) ≤ α, i = 1, 2, ⋯ q;
Let R0 = ∨ Nj∈N (Nj), for any i = 1, 2, ⋯ , q, there exists a multi-ary α-resolution formula Ri of Ni and Ei, where N1 = N, , . For any i = 3, 4, ⋯ , q, , .
For any generalized clause C ∈ Ei, theα-resolution generalized literals in C is the leftmost generalized literals in C.
vD (Rq) ≤ α.
Rq is called multi-ary α-sematic resolvent of this clash w. r. c. ID and , N is called the core and E1, E2, ⋯ , Eq are called α-electrons group.
Remark 4.1. (1) In this Definition, for any generalized clause C, if the same disjunctive terms of C occurring in different places in C, then reserving the leftmost disjunction and deleting others.
(2) In this Definition, there exist C ∈ N such that C must be α-true, that is,
v (C) ≰ α. In fact, if v (C) ≤ α for any C ∈ N, then v (R0) ≤ α, i.e., there is not a multi-ary α-semantic clash. If the R0 is regard as the multi-aryα-resolvent w. r. t. ID and , then the multi-ary α-semantic resolvent w. r. t. ID and will be redundancy.
(3) For any disjunctive term g in Ei(i = 1, 2, ⋯ , q), v (g) ≤ α.
Example 4.1. Let , C2 = (M (b) → N (y1)) ∨ P (y2), C3 = (Q (z1)→ be three generalized clauses in lattice-valued first logic L9F (X), wherex1, x2, x3, y1, y2, z1, z2, z3 are variables and b, c are constants. Let α = a5, ID = 〈D, μD, vD〉 be aninterpretation in L9F (x) and be an order of generalized literals in these clauses, where D = {b, c},
Under the interpretation ID, vD (C1) < α, vD (C2) > α, vD (C3) < α. There is a multi-ary α-semantic clash. In fact, the multi-ary α-semantic clash is (N, E1, E2), where N = {C2}, E1 = {C3}, E2 = {C1}. The multi-ary α-semantic resolvent is , where R0 = {C2} , R1 = (M (b) → N (y1)).
Theorem 4.1.Let N, E1, E2, ⋯ , Eq be generalized clause sets and ID = 〈D, μD, vD〉 be an interpretation in lattice-valued first-order logic LF (X), is an order of generalized literals occurring in these clauses. If the sequence (N, E1, E2, ⋯ , Eq) is a multi-aryα-semantic clash w. r. t. ID and , Rq is a multi-ary α-semantic resolvent of this clash, then
Definition 4.2. Let S = C1 ∧ C2 ∧ ⋯ ∧ Cm, where C1, C2, ⋯ , Cm are generalized clauses in lattice-valued first-order logic LF (X), ID be an interpretation in LF (X) and α ∈ L, is an order of generalized literals occurring in these clauses. A sequence: Φ1, Φ2, ⋯ , Φt is called a multi-ary α-semantic resolution deduction from S to Φt, if it satisfies the following conditions:
Φi ∈ {C1, C2, ⋯ , Cm} (i = 1, 2, ⋯ , t) or
Φi is a multi-ary α-semantic resolvent w. r. t. ID and , where the core and electrons of Φi are composed of Φj (j < i) or generalized clauses occurring in S.
Theorem 4.2.Let S = C1 ∧ C2 ∧ ⋯ ∧ Cm, where C1, C2, ⋯ , Cm are generalized clauses in lattice-valued first-order logic LF (X), ID be a valuation in LF (X) and α ∈ L, is an order of generalized literals occurring in these clauses. There exists a multi-ary α-semantic resolution deduction from S to Φt:Φ1, Φ2, ⋯ , Φt, and Φt is α-empty clause, then S ≤ α.
Proof. According to the soundness of the general form of α-resolution principle in lattice-valued first-order logic LF (X), we can obtain the result easily.
Theorem 4.3. (Lifting Lemma) Let N, E1, E2, ⋯ , Eq be generalized clause sets in lattice valued first-order logic LF (X) and ID0 = 〈D0, μD0, vD0〉 be an interpretation in LF (X), α ∈ L. are the sets of instance of generalized clause in N, Ei, respectively, where i = 1, 2, ⋯ , q. If is a multi-ary α-semantic clash w. r. t. ID0 and , is the multi-ary α-semantic resolvent of this clash, then there exit an interpretation in LF (X) such that is a multi-ary α-semantic clash and is an instance of Rq, where Rq is the multi-ary α-semantic resolvent of the clash (N, E1, E2, ⋯ , Eq), i. e., Fig. 2 holds.
Proof. For any generalized clauses Ci, Cj ∈ N ∪ E1 ∪ E2 ∪ ⋯ ∪ Eq, if Ci, Cj have common variables, then there exist rename transforms such that Ci, Cj have no common variables. Therefore, we can discussed only the situation that there have no common variables in any generalized clauses in N ∪ E1 ∪ E2 ∪ ⋯ ∪ Eq.
Let be any generalized clause in N and be any generalized clause in Ej, then there exist substitution ɛi, ɛjh such that , where Ni ∈ N and Ejh ∈ Ej, j = 1, 2, ⋯ , q. Let , where Γ, Σi are index sets, then . Since is a multi-ary α-semantic clash w. r. t. ID0 and , then . For any j = 1, 2, ⋯ , q, let N = {N1, N2, ⋯ , Nk}, Ej = {Ej1, Ej2, ⋯ , Ejp}, then
where , , i = 1, 2, ⋯ , k, h = 1, 2, ⋯ , p. Let be the set of all disjunctive terms occurring in and be the set of all disjunctive terms occurring in , where i = 1, 2, ⋯ , k, h = 1, 2, ⋯ , p, j = 1, 2, ⋯ , q. Since is a multi-ary α-semantic clash w. r. t. ID0 and , then there exist a substitution σ and such that , where and is the leftmost disjunctive term in , . Then the multi-ary α-semantic resolvent of N and is equal to By the choice of ɛ, we have
According to the proof of Lifting Lemma of multi-ary α-resolution principle in LF(X), there exists a most general unifier λ such that ɛσ = λδ, where δ is a substitution. Since , i.e. , so . If the disjunctive terms gi1, gi2, ⋯ , giki are equal to xi (or yh) under the substitution ɛσ in Ni, then gi1, gi2, ⋯ , giki are also equal to xi (or yh) under the substitution λ, so all the disjunctive terms that are equal to xi (or yh) are gi1, gi2, ⋯ , giki. Therefore, the multi-ary α-semantic resolvent Ri of N and Ej is equal to
As , we have vD0 (gɛσ) ≤ α for any disjunctive term g in , and so vD (gλ) ≤ α. Therefore, we have
Hence (N, E1, ⋯ , Eq) is a multi-ary α-semantic clash w. r. t. ID and and is an instance of Rq, where Rq is a multi-ary α-semantic resolvent of the clash (N, E1, ⋯ , Eq).
Theorem 4.4. (Condition Completeness) LetS = C1 ∧ C2 ∧ ⋯ ∧ Cm, whereC1, C2, ⋯ , Cmare generalized clauses in lattice-valued first-order logicLF (X), ID = 〈D, μD, vD〉 be an interpretation inLF (X) and α ∈ L, is an order of generalized literals occurring in these clauses. If the following conditions hold:
Ifgis the leftmost generalized literal of , thenv (g) = α;
Then there exists a multi-ary α-semantic resolution deduction fromSto α-empty clause.
Proof. Since S ≤ α, then there exist a ground instance Sσ of S such that Sσ ≤ α. As S2& # x2260 ; ∅, then there exist i ∈ {1, 2, ⋯ , m} such that vD (g) & # x2270 ; α for any disjunctive term g in Ci. Therefore, vD0 (gσ) & # x2270 ; α for any disjunctive term gσ of which is a ground instance of Ci and . From S1& # x2260 ; ∅, so there exists Ck ∈ S1 such that and . It follows from Theorem 3.3 that there exist a multi-ary α-semantic resolution deduction D0 from Sσ to α-empty clause. From Theorem 4.3, we can lift the D0 to deduction D from S to α-empty clause.
Theorem 4.5.LetS = C1 ∧ C2 ∧ ⋯ ∧ Cm, whereC1, C2, ⋯ , Cmare generalized clauses in lattice-valued first-order logicLnF (X), ID = 〈D, μD, vD〉 be an interpretation inLF (X) and α ∈ L, is an order of generalized literals occurring in these clauses. If the following conditions hold:
S ≤ α;
There exists an generalized clauseCjsuch that for any disjunctive termginCj, v (g) > α, wherej ∈ {1, 2, ⋯ , m};
Ifgis the leftmost generalized literal of , thenv (g) = α.
Then there exists a multi-ary α-semantic resolution deduction fromSto α-empty clause.
Proof. Similar to Theorem 3.4.
Theorem 4.6.LetSbe a generalized clause set in lattice-valued first-order logic systemLF (X) and α ∈ L. There exist a multi-ary α-semantic resolution deductionw = {Φ1, Φ2, ⋯ , Φt} fromStoΦtwith respect to the interpretationID = 〈D, μD, νD〉 and the orderof generalized literals inLF (X) if and only if there exist a multi-ary α-semantic resolution deductionfromS0 to with respect to the interpretationand the orderof generalized literals inLP (X), where the generalized literals inS0andare the ground instances of the generalized literals inSandΦi, respectively.
Proof. The proof of Theorem 4.6 is similar with the The proof of Theorem 3.3, so it is omitted.
Remark 4.1. Theorem 4.6 is called Equivalent Transform Theorem of multi-ary α-semantic resolution in LF (X) and multi-ary α-semantic resolution in LP (X).
Example 4.2. Let C1 = P (f (x)) → Q (x) , C2 = (P (y1) be five generalized clauses in lattice-valued first-order logic L6F (X), where x, y1, y2, z, μ, v, w1, w2 are variables and a, b, c are constants. is an order of generalized literals in these generalized clauses. Let S = C1 ∧ C2 ∧ ⋯ ∧ C5 and α = d.
There exist an ground instance substitution
such that
i.e. .
Let ID0 = 〈D0, μD0, vD0〉 be an interpretation of lattice valued first-order logic L6F (X), where D0 = {a, b, c}:
Under the interpretation ID0, the , vD0
, , , .
Then there exists the following multi-ary α-semantic resolution deduction ω0 from Sσ to α-empty clause:
Let ID = 〈D, μD, vD〉 be an interpretation in lattice value first-order logic L6F (X), where D = {a, b, c}. From the lifting lemma, we have
According to Theorem 4.3, after replacing occurring in ω0 with Ci, we have a multi-ary α-semantic resolution deduction ω from S to α-empty clause:
In fact, there are three multi-ary α-semantic clashes in ω:
, the resolvent of clash is (S (u) → T (g (w))) ∨ α, where , ;
the resolvent of clash is α-empty clause.
Remark 4.2. (1) According to the binary α-resolution principle, the generalized clause (1) occurring in deduction ω does not have a binary α-resolution pair. So there does not exist a binary α-semantic resolution deduction from S to α-empty clause.
(2) From the Example 4.2, the number of generalized literals taking part in multi-ary α-semantic resolution in very multi-ary α-semantic clash is not fixed, this reflects the multi-ary α-semantic resolution deduction is dynamic.
Validity analysis of multi-ary α-semantic resolution based on LF (X)
J. F. Zhang introduced the concept of α-semantic clash in LF(X), and the α-semantic resolution deduction and its soundness, the completeness under some conditons are also built. The Definition of α-semantic clash in LF(X) as follows:
Definition 5.1. Let be an order of generalized literals in generalized clause set S in lattice-valued first-order logic LF (X) and ID = 〈D, μD, νD〉 be an interpretation in LF (X). The finite sequence
is called a α-semantic clash w. r. t. ID and , if (*) satisfy the following conditions:
vD (Ei) ≤ α (i = 1, 2, ⋯ q);
Let R1 = N, for any i = 1, 2, ⋯ , q, there exists an α-resolution formula R
α
(Ri, Ei);
The α-resolution generalized literals in Ei is the leftmost generalized literals in Ei.
vD (Rq+1) ≤ α.
Rq+1 is called α-sematic resolvent of this clash w. r. c. ID and .
In this section, we will analysis the multi-ary α-semantic resolution method in lattice-value first-order logic LF (X) from the following four aspects:
(1) More effective in expressing complex problem ability. In classical logic, first-order logic has a stronger ability in expressing the problem than propositional logic. Therefore, the lattice-valued first-order with truth in lattice implication algebras have a stronger ability to describe the problem than lattice-valued propositional logic.
(2) More effective in the basis of resolution principle. Many practical problems are often very complex in real world, but there exists certain limitations in processing problem by propositional logic, it is often more natural that using a set of first-order logic formula to describe many practical problems. In order to tackling more complicated problems in real world, Xu. Y etc [21] extend the multi-ary α-resolution principle in lattice-valued propositional logic LP (X) to lattice-valued first-order logic LF (X) with truth in a lattice implication algebra. The multi-ary α-resolution principle based on LF (X) is not only effective promotion of α-resolution principle in lattice-valued logic but also effective extension of multi-ary α-resolution principle in lattice-valued propositional logic LP (X). The multi-ary α-semantic resolution method based on LF (X) is established on basis of multi-ary α-resolution principle based on LF (X). In fact, we have analysis the validity of multi-ary α-resolution principle based on lattice-valued first-order logic LF (X). Therefore, the multi-ary α-semantic resolution method based on LF (X) is more effective than muti-ary α-semantic resolution method based on LP (X).
(3) More effective in reasoning ability. The resolution process and main idea are consistent both α-semantic resolution method and multi α-semantic resolution method based on lattice-valued first-order logic system LF(X) with truth in lattice implication algebra, they are all through control of resolution process to improve the efficiency of reasoning. From Definition 4.1 and Definition 4.3, we can just choose two the generalized literals from α-core andα-electronic, respectively, to take part in the α-resolution in each α-clash of α-semantic resolution in LF(X). But, as far as the multi-ary α-semantic resolution method based on lattice-valued first-order logic LF (X) concerned, some generalized literals (not less than 2) are chosen to take part in multi-ary α-resolution, these generalized literals can divided into two parts, A part of generalized literals from the generalized clause sets which are not less than or not equal to the resolution level α under the interpretation ID = 〈D,μD, νD〉, another part of generalized literals from the generalized clause sets which are less than or equal to the resolution level α under the interpretation ID = 〈D, μD, νD〉. Therefore, the multi-ary α-semantic resolution method based on LF (X) is more effective in reasoning ability than α-semantic resolution (i.e. 2-ary α-semantic resolution) method based on LF (X), in fact, Example 4.2 also illustrates this point. On the other hand, multi-ary α-semantic resolution method based on lattice valued first-order logic system LF (X) is effectively extension of multi-ary α-semantic resolution method based on the lattice valued propositional logic system LP (X), so multi-ary α-semantic resolution method based on lattice valued first-order logic system LF (X) is more efficient in reasoning ability than multi-ary α-semantic resolution method based on the lattice valued propositional logic system LP (X).
(4) More effective in practicability. In lattice-valued first-order logic LF (X), whether α-semantic resolution deduction or multi-ary α-semantic resolution deduction, they are all complete under some conditions. When J. F. Zhang study the completeness of α-semantic resolution deduction in LF (X), he points out that the completeness of α-semantic resolution deduction need some conditions: (1) Each generalized clause in S should contain propositional variables or negation of propositional variables; (2) If generalized literal g is the most right generalized literal in the generalized literals order , the v (g) ≤ α, where . These two conditions show that completeness ofα-semantic resolution deduction based on the LF (X) is very limited. But completeness of multi-ary α-semantic resolution deduction based on the LF (X) only need one condition that S can be divided into two non-empty sets under the appropriate interpretation, that is, S is divided into two non-empty sets S1 and S2 under an interpretation ID = 〈D, μD, vD〉, where S1 is set of generalized clauses which truth are less than or equal to α under an interpretation ID = 〈D, μD, vD〉, S2 is set of generalized clauses which truth are not less than or not equal to α under an interpretation ID = 〈D, μD, vD〉. It suggests that the completeness of α-semantic resolution deduction in LF (X) need more additional assumptions than the completeness of multi-ary α-semantic resolution deduction. That is to say, in order to achieve the completeness of α-semantic resolution deduction in LF (X) need more other conditions. It also means that the multi-ary α-resolution method is more effective and more flexible thanα-semantic resolution method, completeness of multi-ary α-semantic resolution deductive is more easily obtained than the completeness of α-semantic resolution deduction. Therefore, multi-ary α-resolution method with a wider practicability, stronger reasoning ability and higher reasoning efficiency.
Realization for multi-ary α-semantic resolution based on LF (X)
In this section, we will construct the algorithm for multi-ary α-semantic resolution methods based on lattice-valued first-order logic LF (X). Without loss of generality, we assume that S = C1 ∧ C2 ∧ ⋯ ∧ Cm is a generalized clause set in lattice-valued first-order logical LF (X), where C1, C2, ⋯ , Cm are generalized clauses of LF (X). In this section, let α ∈ L and α be dual molecules. Now we give an algorithm for multi-ary α-semantic resolution methods based on LF (X). The resolvable generalized literals satisfy the condition (3) in Definition 4.1.
Step 0: Determine an interpretation ID = 〈D, μD, νD〉 of generalized clause, an order of generalized literals in lattice-valued lattice-valued first-order logic LF (X) and set M = {C ∈ S|νD (C) ≤ α} , N = {C ∈ S|νD (C) & # x2270 ; α}. If M, N& # x2260 ; ∅, turn to Step 1; Otherwise algorithm stops and S cannot be resolved by multi-ary α-semantic resolution methods.
Step 1: Set j = 1;
Step 2: Put A0 = ∅ , B0 = N;
Step 3: Set i = 0;
Step 4: If Ai contains an α-empty clause, then algorithm stops and S ≤ α; Otherwise, turn to the next step;
Step 5: If Bi =∅, then turn to Step 9; Otherwise, turn to the next step;
Step 6: Put Bi = B0 ∪ B1 ∪ ⋯ ∪ Bi-1, turn to the next step;
Step 7: Computing the multi-ary α-resolvent of S1, S2 satisfies the condition (3) in Definition 3.1, where S1 ⊆ M, S2 ⊆ B0 ∪ B1 ∪ ⋯ ∪ Bi-1; Denote the set of all multi-ary α-resolvent as Wi+1. If Wi+1 contains an α-empty clause, then algorithm stops; Otherwise, turn to the next step;
Step 8: Let Ai+1 = {Φ ∈ Wi+1|νD (Φ) ≤ α}, Bi+1 = {Φ ∈ Wi+1|νD (Φ) & # x2270 ; α}; If Ai+1 =∅, then turn to the next step; Otherwise, turn to Step 9;
Step 9: Set i = i + 1, turn to Step 4;
Step 10: Put T = A0 ∪ A1 ∪ ⋯ ∪ Ai, M = M ∪ T;
Step 11: Set j = j + 1;
Step 12: Computing the multi-ary α-resolvent of S1, S2 satisfies the condition (3) in Definition 4.1, where S1 ⊆ T, S2 ⊆ N; Denote the set of all multi-aryα-resolvent as . If contains an α-empty clause, then algorithm stops; Otherwise, turn to the nextstep;
Step 13: Let ; Turn to Step 3.
Theorem 6.1. (Soundness) LetS = C1 ∧ C2 ∧ ⋯ ∧ Cmbe a generalized clause set in lattice-valued first-order logicLF (X) and α ∈ L, applying above algorithm onS. If the algorithm terminates in Step 4, thenS ≤ α.
Proof. If the algorithm terminates in Step 4, then there exists a multi-ary α-semantic resolution deduction from S to α-empty clause. It follows from Theorem 4.2 that S ≤ α.
Theorem 6.2. (Completeness) LetS = C1 ∧ C2 ∧ ⋯∧Cmbe a generalized clause set in lattice-valued first-order logicLF (X) and α ∈ L, applying above algorithm onS. IfS ≤ α, then the algorithm terminates Step 4.
Proof. If S contains α-empty clause, then the α-empty clause must be in M. When i = 0, we can choose some generalized clauses in M and B0(i.e. N), respectively, to take part in the multi-ary α-resolution. The multi-ary α-resolvents and α-empty clauses will be in W1. It follows from Step 7 that α-empty clauses will be in A1, therefore, the algorithm will terminates Step 4.
If S does not contain α-empty clause, the algorithm cannot cycle infinitely. If the algorithm loops infinitely to loop variable i, that is, Bi& # x2260 ; ∅, there is always multi-ary α-resolvent which is not less than or not equal to α under the valuation v in the multi-aryα-resolution deduction. As N is finite, so this case is impossible. If the algorithm loops infinitely to loop variable j, then there is no α-empty clause in the multi-ary α-resolution deduction, which contradicts with S ≤ α. Therefore the algorithm cannot loop infinitely, it must be terminated in Step 4.
Now, we can show the validity of the algorithm by an example:
Example 6.1. Let be five generalized clauses in lattice-valuedfirst-order logic L6F (X), where x, y1, y2, z, μ, v, w1, w2 are variables and a, b, c are constants. →R (z)) is an order of generalized literals in these generalized clauses. Let S = C1 ∧ C2 ∧ ⋯ ∧ C5 and α = d.
Let ID = 〈D, μD, vD〉 be an interpretation in lattice value first-order logic L6F (X), where D = {a, b, c}. From the lifting lemma, we have
then M = {(P(y1)→R(y2))′∨(S(μ)→T(g(μ)))∨(P(f(x))→R(c))′,(M(c)→N(v))′} ; N = {P (f (x))
From above Example 6.1, we can obtain two multi-ary α-semantic resolvents α, (S (μ) → T (g (μ))) ∨ α by applying multi-ary α-semantic resolution algorithm in LF (X). The result is consistent with Example 4.2 by using multi-ary α-semantic resolution method directly in LF (X).
Conclusions
In current paper, we mainly investigated multi-ary α-semantic resolution automated reasoning method based on the multi-ary α-resolution principle for lattice-valued logic with truth-value in a lattice implication algebras. The definitions of the multi-ary α-semantic resolution and multi-ary α-semantic resolution deduction are given, the soundness and completeness are gotten. Meanwhile, the validity of multi-ary α-semantic resolution method is analyzed, the algorithm for multi-ary α-semantic resolution methods based on lattice-valued first-order logic LF (X) is also constructed. In our following work, we will study how to solve some practical problems in real world by α-multi ary semantic resolution automated reasoning. This will become the theoretical foundation for establishing the resolution method and technique with the goal of applying to some practical fields such as expert system design, intelligent robot design, machine learning system design.
Acknowledgments
We would like to thank the anonymous reviewers’ comments and suggestions improved both content and the presentation of this paper. One of reviewer point out many typing mistakes and grammar mistakes in the manuscripts, we gave him (her) heartfelt thanks.