Computed answer based on fuzzy knowledgebase a model for handling uncertain information

Size: px
Start display at page:

Download "Computed answer based on fuzzy knowledgebase a model for handling uncertain information"

Transcription

1 Computed answer based on fuzzy knowledgebase a model for handling uncertain information Ágnes Achs Departement of Computer Science University of Pécs, Faculty of Engineering Pécs, Boszorkány u. 2, Hungary achs@witch.pmmf.hu Abstract The basic question of our study is how we can give a possible model for handling uncertain information. This model is worked out in the framework of DATALOG. The concept of fuzzy knowledge-base will be defined as a quadruple of any background knowledge; a deduction mechanism; a connecting algorithm, and a decoding set of the program, which help us to determine the uncertainty level of the results. A possible evaluation strategy is given also. Keywords: fuzzy knowledgebase, fuzzy DATALOG. 1. Introduction The large part of human knowledge can t be modelled by pure inference systems, because this knowledge is often ambiguous, incomplete and vague. When knowledge is represented as a set of facts and rules, this uncertainty can be handled by means of fuzzy logic. A few years ago in [1] and [3] there was given a possible combination of Datalog-like languages and fuzzy logic. In these works there was introduced the concept of fuzzy Datalog by completed the Datalogrules and facts with an uncertainty level and an implication operator. In [2] there was given an extension of fuzzy Datalog to fuzzy relational databases. Parallel with these works, there were researches on possible combination of Prolog language and fuzzy logic also. Several solutions were arisen for this problem. These solutions propose different methods for handling uncertainty. Most of them use the concept of similarity, but in various ways. More essays deal with fuzzy unification and fuzzy resolution, for example [5], [9], [10], [12]. In this paper, continuing our former concept, we give other possible model for handling uncertain information, based on the extension of fuzzy Datalog. According to our former papers, in the next chapter we describe the concept of fuzzy Datalog, in the further chapters we discuss our actually new idea about fuzzy knowledgebase. We build the model of fuzzy knowledge-base as a quadruple of any kind of background knowledge; a deduction mechanism; a connecting algorithm and a decoding set. 2. The fuzzy Datalog A Datalog program consists of facts and rules. In fuzzy Datalog, we can complete the facts by an uncertainty level, and the rules by an uncertainty level and an implication operator. Applying this operator, the uncertainty level of rule s head can be determined from the uncertainties of rule s body and the rule. For example if in the program beautiful( Mary ); 0.7 likes( John,x) beautiful(x);0.8;i. the implication operator is the Gödel-operator (I(x,y) = 1 if x y; otherwise I(x,y) = y), then the level of the rule-head can be calculate as the minimum of the level of the rule-body and the level of the rule. For John and Mary it does: likes( John, Mary ), 0.7, that is John likes Mary at least 0.7 level. 94

2 In [1], [2] there is given an extension of Datalog-like languages to fuzzy relational databases. In these papers lower bounds of degrees of uncertainty in facts and rules are used. This language is called fuzzy Datalog (fdatalog). In this language the rules are completed by an implication operator and a level. We can deduce the level of a rule-head from the level of the body and the level of the rule by the implication operator of the rule. Now we are going to summarise the concept of fdatalog based on [1], [2]. Similarly to DATALOG programs, a fdatalog program consists of rules and facts. The notion of fuzzy rule is given in definition below: Definition 1. A fdatalog rule is a triplet r;β;i, where r is a formula of the form Q Q 1,...,Q n (n 0). Q is an atom (the head of the rule), Q Q 1,...,Q n are literals (the body of the rule); I is an implication operator and β (0,1] (the level of the rule). For getting finite result, all the rules in the program must be safe, that is all variables occurring in the head also occur in the body, and all variables occurring in a negative literal also occur in a positive literal. A fdatalog program is a finite set of safe fdatalog rules. There is a special type of rule, called fact. A fact has the form A ;β;i. Further on we refer to facts as (A,β). The semantics of fdatalog is defined as the fixpoints of consequence transformations. Depending on these transformations we can define two semantics for fdatalog based on a deterministic and a nondeterministic transformation. According to the deterministic transformation, the rules of a program are evaluated parallel, while in nondeterministic case the rules are considered independently one after another. In [2] it is proved, that starting from the set of facts, both deterministic and nondeterministic transformation have fixpoint, which are the least fixpoints (lfp) in the case of positive program P. It was also proved, that this fixpoints are models of P, so we could define this fixpoints as the deterministic and the nondeterministic semantics of fdatalog programs. For function- and negation-free fdatalog, the two semantics are the same, but they are different if the program has any negation. In this case the least fixpoint of deterministic transformation is not always a minimal model, but the nondeterministic semantics is minimal under certain conditions. This condition is the stratification. Stratification gives an evaluating sequence in which the negative literals are evaluated first. (Detailed in [2].) Further on we deal only with the nondeterministic semantics. This transformation is the following: Definition 2. Let B P the Herbrand base of the program P, and let F(B P ) denote the set of all fuzzy sets over B P. The nondeterministic consequence transformation NT P : F(B P ) F(B P ) is defined as NT P (X)={(A, α A )} U X, where (A A 1,,A n ; β; I) ground(p), ( A i,α Ai ) X, 1 i n, α A =max(0,min{γ I(α body,γ) β}) A denotes p(c) if either A=p(c) or A= p(c) where p is a predicate symbol with arity k and c is a list of k ground terms. Example 1. Given the next fdatalog program: 1. (r(a), 0.8). 2. p(x) r(x), q(x); 0.6; I. 3. q(x) r(x); 0.5; I. 4. p(x) q(x); 0.8; I. The stratification is: P 1 = {r,q}, P 2 = {p}, so the evaluation order is: 1., 3., 2., 4. Then in the case of Gödelian implication operator, the nondeterministic semantics of the program is lfp(nt P ) = {(r(a),0.8); (p(a),0.5); (q(a),0.5)}. 3. Background knowledge The facts and rules of a fdatalog program can be regarded as any kind of knowledge, but sometime as in the case of our model we need other information in order to get answer for a query. In this paragraph we give a model of background knowledge. We define similarity between predicates and between constants, and these structures of similarity will serve for the background knowledge. 95

3 Definition 3. A similarity on a domain D is a fuzzy subset S D : D D [0,1] such that the following properties hold: S D (x,x) = 1 for any x D (reflexivity) S D (x,y) = S D (y,x) for any x,y D (symmetry). In our model the background knowledge is a set of similarity sets: Definition 4. Let d D any element of domain D. The similarity set of d is a fuzzy subset over D: S d = {(d 1, λ 1), (d 2, λ 2),, (d n, λ n)}, where d i D and S D (d, d i ) = λ i for i = 1, n. Based on similarities we can construct the background knowledge, which is information about the similarity of terms and predicate symbols. Definition 5. Let T be any set of ground terms and P any set of predicate symbols. Let ST and SP any similarity over T and P respectively. The background knowledge is: Bk = {ST t t T} U {SP p p P} 4. Fuzzy knowledge-base We made two steps on the way leading to the concept of fuzzy knowledgebase: we defined the concept of fuzzy Datalog program and the concept of background knowledge. Now the question is: how we can connect this program with the background knowledge? In [4] the author gave a possible connecting algorithm, replacing all predicates and all ground terms of the program by theirs similarity sets. Now we show a new and other possibility: instead of modifying the program, we ll modify the evaluation transformation of the program. To solve this problem, we ll define the concept of modified fdatalog program, which is the extension of the original one according to similarity; and the concept of decoding functions, which compute the final value of the uncertainty. Evaluating an extended fdatalog program, the facts and the result atoms are completed by an uncertainty level. The final uncertainty level can be computed from this level and from the similarity values of actual predicate and its arguments. It is expectable, that in the case of identity the level must be unchanged, but in other cases it is to be less or equal then the original level or then the similarity values. Furthermore we require the decoding function to be monotone increasing. Definition 6. A decoding function is an (n+2)-ary fuzzy function : ϕ(α,λ,λ 1,,λ n ) : (0,1] (0,1] (0,1] [0,1], so that ϕ(α, λ, λ 1,, λ n ) min (α, λ, λ 1,, λ n ), ϕ (α, 1, 1,, 1) = α and ϕ(α, λ, λ 1,, λ n ) is monotone increasing in all arguments. Example 2. ϕ 1 (α, λ, λ 1,, λ n ) = min (α, λ, λ 1,, λ n ); ϕ 2 (α, λ, λ 1,, λ n ) = min (α, λ, (λ 1 λ n )); ϕ 3 (α, λ, λ 1,, λ n ) = α λ λ 1 λ n are decoding functions. We have to order decoding functions to all predicates of the program. The set of decoding functions will be the decoding set of the program: Definition 7. Let P be a fuzzy DATALOG program. The decoding set of P is: Φ P = {ϕ q (α q, λ q, λ t1,, λ tn ) q(t 1, t 2,, t n ) B P } Let P be a fuzzy Datalog program, Bk be any background knowledge and Φ P be the decoding set of P. Now we want to connect the program with background knowledge. For this purpose we decide the modified fdatalog program, mp. This is the original program with modified consecution transformation. The original consequence transformation is defined over the set of all fuzzy sets of P s Herbrand base, that is over F(B P ). To define the modified transformation s domain, let us extend P s Herbrand universe with all possible ground terms occurring in background knowledge so we get the modified Herbrand universe, mh P. Let the modified Herbrand base, mb P be the set of all possible ground atoms whose predicate symbols occur in P U Bk and whose arguments are elements of mh P. So: Definition 8. The modified consequence transformation mnt P : F(mB P ) F(mB P ) is defined as mnt P (X)= {(q(s 1,...,s n ), φ p (α, λ q, λ s1,, λ sn ) (q, λ q ) SP p ; (s i, λ si ) ST ti, 1 i n} U X, 96

4 where (p(t 1,...,t n ) A 1,...,A k ; I ; β) ground(p), ( A i, α Ai ) X, 1 i k, α = max(0,min{γ I(α body, γ) β}). ( A denotes r(c) if either A=r(c) or A= r(c) where r is a predicate symbol with arity k and c is a list of k ground terms.) Then starting from the facts of the program and creating the powers of the transformation mnt P, finally we reach the fixpoint. The next proposition can be easily prove: Proposition 1. In the case of positive or stratified program P, mnt P has least fixpoint. It can be shown, that this fixpoint is a model of P, but lfp(nt P ) lfp(mnt P ), so it is not a minimal model. Now there are all together to define the concept of a fuzzy knowledge-base: Definition 9. A fuzzy knowledge-base (fkb) is a quadruple {Bk, P, Φ P, ma}, where Bk is a background knowledge, P is a fuzzy DATALOG program, Φ P is a decoding set of P and ma is any modifying (or connecting) algorithm. Definition 10. Let {Bk, P, Φ P, ma} be a fuzzy knowledge-base. Then lfp(mnt P ) is the consequence of the knowledge-base, denoted by C(Bk, P, Φ P, ma). Example 3. Let us consider the next dialogue: - Do you know: whether Mary likes Bach? - I think, because her favourite composer is Vivaldi. Now we try to give a computed answer for this question. Let us suppose that the musicians generally love the good composers, Mary fairly is a music founder, and Vivaldi is nearly the favourite composer. Let us denote love by lo, good composer by gc, musician by mu, favourite by fv, music founder by mf. Then let the fdatalog program, the background knowledge and the decoding set be as follows (according to the modifying algorithm, it is enough to consider only the decoding functions of headpredicates). The implication operator of the program be the Gödelian. (I(x,y) = 1 if x y; otherwise I(x,y) = y) lo(x,y) gc(y), mu(x); 0.7; I. (fv(v), 0.9). (mf(m),0.8). B V M B V M 1 lo li gc fv mu mf lo li gc fv mu mf φ lo := φ = φ(α,x,y,z) := min(α,x,y,z) φ fv := θ = θ(α,x,y) := α x y φ mf := ω = ω(α,x,y) := min(α, x y) Let us apply the modification algorithm, and start from the facts, {(fv(v),0.9), (mf(m),0.8)}, we get: according to similarity: {(fv(v),0.9), (gc(v), θ(0.9,0.75,1) = = 0.675), (fv(b), θ(0.9,1,0.9) = 0.81), (gc(b), θ(0.9,0.75,0.9) = ), (mf(m),0.8), (mu(m), ω(0.8,0.6,1) = min(0.8, 0.6 1) = 0.6)} applying the rules on the above set of facts : lo(m,v) :- gc(v), mu(m); 0.7; I. lo(m,b) :- gc(b), mu(m); 0.7; I. we get: (lo(m,v), min(0.675, 0.6, 0.7) = 0.6) (lo(m,b), min(0.6075, 0.6, 0.7) = 0.6) and according to similarity: (li(m,v), φ(0.6,0.8,1,1) = min(0.6,0.8,1,1) = 0.6), (li(m,b), φ(0.6,0.8,0.9,1) = min(0.6,1,0.9,1) = 0.6) So the consequence of knowledge-base is: C(Bk, P, Φ P, ma) = {(fv(v),0.9); (gc(v),0.675); (fv(b),0.81); (gc(b),0.6075); (mf(m),0.8); (mu(m),0.6); (lo(m,v),0.6); (lo(m,b),0.6); (li(m,v),0.6); li(m,b),0.6)}. That is Mary likes Bach at least 0.6 levels. 97

5 5. Evaluation strategies According to the previous example (especially in the case of enlarging the program with other facts and rules), it can be seen, that the fixpoint-query that is the bottom-up evaluation maybe involves many superfluous calculations, because sometimes we want to give an answer for a concrete question, and we are not interested in the whole consequence. If a goal (query) is specified together with the fuzzy knowledgebase, it is enough to consider only the rules and facts being necessary to reach the goal. In this chapter we deal with the top-down evaluation of knowledgebase, which starts from the goal, and applies the suitable rules and similarities to find the required starting facts and rules to get answer for this query. A goal is a pair (q(t 1, t 2, t n ), α), where q(t 1, t 2, t n ) is an atom, α is the level of the atom. It is possible, that among the arguments of q there are variables or constants, and α can be either a constant or a variable. In some cases by the top down evaluation the goal is evaluated through sub-queries. This means, that there are selected all possible rules, whose head can be unify with the given goal, and the atoms of the body are considered as new sub-goals. This procedure continues until obtaining the facts. [3] deals with the evaluation strategies of fuzzy Datalog. The top down evaluation of fuzzy Datalog doesn t terminate obtaining the facts, because we need to determine the uncertainty level of the goal. The algorithm, given in [3], calculates this level in a bottom up manner: starting from the leaves of evaluating graph, going backward to the root, and calculating the actual uncertainty-level along the suitable path of this graph, finally we get the uncertainty level of the root. In recent model, we rather rely on the bottom up evaluation, but the selection of required starting facts takes place in a top-down way. As only the required starting facts are searched, therefore in the top-down part of the evaluation there are no need for the uncertainty levels, so we search only among the ordinary facts and rules. To do this, we need the concept of substitution and unification which are detailed for example in [3], [6], [11], etc. But now sometime we need also other kind of substitutions: to substitute some predicate p or term t for their similarity sets S p and S t, and to substitute some similarity sets for their members. In the next, for the sake of simpler terminology, we mean by goal, rules and facts these concepts without uncertainty levels. An AND/OR tree arise during the evaluation, this is the searching tree. Its root is the goal; its leaves are one of YES or NO. The parentnodes of YES are the required starting facts. This tree is build up by alternation of similarity-based and rule-based unification. The rule-based unification unifies the sub-goals with the head of suitable rules, and continues the evaluating by the bodies of these rules. This unification is special, because during this unification the similarity sets of terms are considered as ordinary constants, and a constant can be unify with its similarity set. The similarity-based unification unifies the predicates of sub-goals by the members of its similarity set, excepting the first and last unification. The first similarity-based unification unifies the ground terms of the goal with their similarity sets, and the last one unifies the similarity sets among the parameters of resulting facts with theirs members. The searching graph according to its depth is build up in the following way: If the goal is on depth 0, then every successor of any node on depth 3k+2 (k=0,1, ) are in AND connection, the others are in OR connection. Detailing: The successors of goal g(t 1,t 2, t n ) be all possible g (t 1,t 2, t n ), where g S g ; t i = t i if t i is some variable and t i = S t i if t i is a ground term. If the atom p(t 1,t 2, t n ) is in depth 3k (k=1,2, ), then the successor nodes be all possible p (t 1,t 2, t n ), where p S p. If the atom L is in depth 3k+1 (k=1,2, ), then the successor nodes be the bodies of suitable unified rules, or the unified facts, if L is unifiable with any fact of the program, or NO, if there is not any unifiable rule or fact. That is, if the head of rule M M 1,...,M n (n>0) is unifiable with L, then the successor of L be M 1 θ,...,m n θ, where θ is the most general unification of L and M. If n=0, that is in the program, there is any fact with the predicate of L, then the successors be the unified facts. If L = p(t 1,t 2, t n ) and in the program there is any fact with predicate p, then the successor nodes be all possible p(t 1,t 2, t n ), where t i S ti if t i = S ti or t i = t i θ, if t i is a variable, and θ is a suitable unification. 98

6 According to the previous paragraph, there are three kind of nodes in depth 3k+2 (k=1,2, ): an unified body of a rule; an unified fact with ordinary ground term arguments; or the symbol NO. In the first case the successors are the members of the body. They are in AND connection, which is not important in our context, but maybe important for a possible future development. If the body has only one literal, then the length of evaluating path would be reduce one, but it would be damage for the view of homogeneous treatment. In the second case the successors are the symbol YES or NO, depending on whether the unified fact is among the ground atoms of the program. These nodes have not successors. From the construction of searching graph, it is obvious: Proposition 2. Let X 0 be the set of ground facts being in parentnodes of symbols YES. Starting from X 0, the fixpoint of mnt P contains the answer for the query. From the viewpoint of the query, this fixpoint may contains more superfluous ground atom, but generally it is smaller then the consequence of knowledge-base. More reduction of the number of superfluous resulting facts is the work of a possible further development. Example 4. Let us consider the knowledge-base of example 3! (Now it is enough to consider only the program and the background knowledge.) Let the goal be li(m,x), where x is a variable. Then the searching graph is: The algorithm of searching the starting facts based on the above construction is being in press. Summary In this paper there is given a possible model of handling uncertain information by defining fuzzy knowledge-base as a quadruple of a background knowledge, a deduction mechanism, a decoding set and some modifying algorithm, which connects the background knowledge to the deduction mechanism. There was also given a possible evaluation strategy. Possibly this evaluation strategy can be improved, or maybe there is a better modifying algorithm. To find these better solutions will be the work of a possible further development. References [1] Á. Achs, A. Kiss: Fixpoint query in fuzzy Datalog Annales Univ. Sci. Budapest, Sect. Comp. 15 (1995) pp [2] Á. Achs, A. Kiss: Fuzzy extension of Datalog Acta Cybernetica,Szeged 12 (1995), pp [3] Á Achs: Evaluation Strategies of Fuzzy Datalog Acta Cybernetica, Szeged 13 (1997), pp [4] Á. Achs: Fuzzy knowledge-base with fuzzy Datalog ISDA 2004 IEEE 4th International Conference on Intelligent System Design and Application, August 26-28, 2004, Budapest pp [5] F.Arcelli, F.Formato, G.Gerla, Fuzzy Unification as Foundations of Fuzzy Logic programming in Logic Programming and Soft Computing, Ed. RSP-Wiley, England, [6] S.Ceri, G.Gottlob, L.Tanca: Logic Programming and Databases Springer-Verlag Berlin, 1990 [7] D. Dubois, H. Prade: Fuzzy sets in approximate reasoning, Part 1 Fuzzy Sets and Systems 40 (1991) pp [8] J.W.Lloyd: Foundations of Logic Programming Springer-Verlag, Berlin, [9] M. Schroeder, R. Schweimeier: Arguments and Misunderstandings: Fuzzy Unification for Negotiating Agents Proceedings of the ICLP workshop CLIMA02, Copenhagen, Aug [10] M. I. Sessa: Approximate reasoning by similaritybased SLD resolution Theoretical Computer Science 275(2002) pp [11] J.D.Ullman: Principles of database and knowledgebase systems Computer Science Press, Rockville [12] H. E. Virtanen: Fuzzy unification 5th International Conference on Information Processing and Management of Uncertainty in Knowledge-Based Systems, July 4-8, Paris 99

From Fuzzy- to Bipolar- Datalog

From Fuzzy- to Bipolar- Datalog From Fuzzy- to Bipolar- Datalog Ágnes Achs Department of Computer Science, Faculty of Engineering, University of Pécs, Pécs, Boszorkány u. 2, Hungary achs@witch.pmmf.hu Abstract Abstract. In this work

More information

Fuzzy Datalog with background knowledge

Fuzzy Datalog with background knowledge 3/2 (2005), 257 281 Fuzzy Datalog with background knowledge Ágnes Achs Abstract. In this paper we give a possible model for handling uncertain information. The concept of fuzzy knowledge-base will be defined

More information

Computational Logic Fundamentals (of Definite Programs): Syntax and Semantics

Computational Logic Fundamentals (of Definite Programs): Syntax and Semantics Computational Logic Fundamentals (of Definite Programs): Syntax and Semantics 1 Towards Logic Programming Conclusion: resolution is a complete and effective deduction mechanism using: Horn clauses (related

More information

Chapter 7. Negation: Declarative Interpretation

Chapter 7. Negation: Declarative Interpretation Chapter 7 1 Outline First-Order Formulas and Logical Truth The Completion semantics Soundness and restricted completeness of SLDNF-Resolution Extended consequence operator An alternative semantics: Standard

More information

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω 1 Preliminaries In this chapter we first give a summary of the basic notations, terminology and results which will be used in this thesis. The treatment here is reduced to a list of definitions. For the

More information

From Constructibility and Absoluteness to Computability and Domain Independence

From Constructibility and Absoluteness to Computability and Domain Independence From Constructibility and Absoluteness to Computability and Domain Independence Arnon Avron School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel aa@math.tau.ac.il Abstract. Gödel s main

More information

Some Rewriting Systems as a Background of Proving Methods

Some Rewriting Systems as a Background of Proving Methods Some Rewriting Systems as a Background of Proving Methods Katalin Pásztor Varga Department of General Computer Science Eötvös Loránd University e-mail: pkata@ludens.elte.hu Magda Várterész Institute of

More information

Definite Logic Programs

Definite Logic Programs Chapter 2 Definite Logic Programs 2.1 Definite Clauses The idea of logic programming is to use a computer for drawing conclusions from declarative descriptions. Such descriptions called logic programs

More information

Answer Set Programming: an Introduction

Answer Set Programming: an Introduction Answer Set Programming: an Introduction Stefania Costantini Dipartimento di Informatica Universita degli Studi di L Aquila via Vetoio Loc. Coppito, I-67100 L Aquila (Italy) stefcost@di.univaq.it Example:

More information

Artificial Intelligence Chapter 7: Logical Agents

Artificial Intelligence Chapter 7: Logical Agents Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent State University February 20, 2006 AI: Chapter 7: Logical Agents 1 Contents Knowledge Based Agents

More information

Level mapping characterizations for quantitative and disjunctive logic programs

Level mapping characterizations for quantitative and disjunctive logic programs Level mapping characterizations for quantitative and disjunctive logic programs Matthias Knorr Bachelor Thesis supervised by Prof. Dr. Steffen Hölldobler under guidance of Dr. Pascal Hitzler Knowledge

More information

Top-Down Execution CS240B Notes

Top-Down Execution CS240B Notes Top-Down Execution CS240B Notes Notes based on Section 9.4 of Advanced Database Systems Morgan Kaufmann, 1997 C. Zaniolo, March 2002 p.1/22 Top-Down Execution of Datalog A strict bottom-up execution strategy

More information

Logic: The Big Picture

Logic: The Big Picture Logic: The Big Picture A typical logic is described in terms of syntax: what are the legitimate formulas semantics: under what circumstances is a formula true proof theory/ axiomatization: rules for proving

More information

Notes. Corneliu Popeea. May 3, 2013

Notes. Corneliu Popeea. May 3, 2013 Notes Corneliu Popeea May 3, 2013 1 Propositional logic Syntax We rely on a set of atomic propositions, AP, containing atoms like p, q. A propositional logic formula φ Formula is then defined by the following

More information

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Description Logics. Deduction in Propositional Logic.   franconi. Enrico Franconi (1/20) Description Logics Deduction in Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/20) Decision

More information

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation Outline Formale Methoden der Informatik First-Order Logic for Forgetters Uwe Egly Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Motivation Syntax of PL1

More information

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas. 1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is

More information

Computational Logic. Recall of First-Order Logic. Damiano Zanardini

Computational Logic. Recall of First-Order Logic. Damiano Zanardini Computational Logic Recall of First-Order Logic Damiano Zanardini UPM European Master in Computational Logic (EMCL) School of Computer Science Technical University of Madrid damiano@fi.upm.es Academic

More information

Convert to clause form:

Convert to clause form: Convert to clause form: Convert the following statement to clause form: x[b(x) ( y [ Q(x,y) P(y) ] y [ Q(x,y) Q(y,x) ] y [ B(y) E(x,y)] ) ] 1- Eliminate the implication ( ) E1 E2 = E1 E2 x[ B(x) ( y [

More information

SOCLP: A Set Oriented Calculus for Logic Programming

SOCLP: A Set Oriented Calculus for Logic Programming SOCLP: A Set Oriented Calculus for Logic Programming Rafael Caballero Y. García-Ruiz F. Sáenz-Pérez TECHNICAL REPORT SIP - 02/2006 Dep. Lenguajes, Sistemas Informáticos y Programación Univ. Complutense

More information

Lifted Inference: Exact Search Based Algorithms

Lifted Inference: Exact Search Based Algorithms Lifted Inference: Exact Search Based Algorithms Vibhav Gogate The University of Texas at Dallas Overview Background and Notation Probabilistic Knowledge Bases Exact Inference in Propositional Models First-order

More information

Duality in Logic Programming

Duality in Logic Programming Syracuse University SURFACE Electrical Engineering and Computer Science Technical Reports College of Engineering and Computer Science 3-1991 Duality in Logic Programming Feng Yang Follow this and additional

More information

Polynomial-time Computation via Local Inference Relations

Polynomial-time Computation via Local Inference Relations Polynomial-time Computation via Local Inference Relations ROBERT GIVAN Purdue University and DAVID MCALLESTER AT&T Labs Research We consider the concept of a local set of inference rules. A local rule

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

More information

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Reasoning Modal Logics Bernhard Nebel, Malte Helmert and Stefan Wölfl Albert-Ludwigs-Universität Freiburg May 2 & 6, 2008 Nebel, Helmert, Wölfl (Uni Freiburg)

More information

Logic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning

Logic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning Logic Knowledge Representation & Reasoning Mechanisms Logic Logic as KR Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning Logical inferences Resolution and Theorem-proving Logic

More information

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No

More information

Logic: Top-down proof procedure and Datalog

Logic: Top-down proof procedure and Datalog Logic: Top-down proof procedure and Datalog CPSC 322 Logic 4 Textbook 5.2 March 11, 2011 Lecture Overview Recap: Bottom-up proof procedure is sound and complete Top-down Proof Procedure Datalog 2 Logical

More information

ILP = Logic, CS, ML Stop counting, start reasoning

ILP = Logic, CS, ML Stop counting, start reasoning ILP = Logic, CS, ML Stop counting, start reasoning Gilles Richard AOC team The story so far Several actors K. Brouwer K. Godel J. Herbrand A. Colmerauer R. Kowalski S. Muggleton L. Brouwer (1881-1966)

More information

Mathematical Preliminaries. Sipser pages 1-28

Mathematical Preliminaries. Sipser pages 1-28 Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation

More information

AI Programming CS S-09 Knowledge Representation

AI Programming CS S-09 Knowledge Representation AI Programming CS662-2013S-09 Knowledge Representation David Galles Department of Computer Science University of San Francisco 09-0: Overview So far, we ve talked about search, which is a means of considering

More information

Outline. Logic. Definition. Theorem (Gödel s Completeness Theorem) Summary of Previous Week. Undecidability. Unification

Outline. Logic. Definition. Theorem (Gödel s Completeness Theorem) Summary of Previous Week. Undecidability. Unification Logic Aart Middeldorp Vincent van Oostrom Franziska Rapp Christian Sternagel Department of Computer Science University of Innsbruck WS 2017/2018 AM (DCS @ UIBK) week 11 2/38 Definitions elimination x φ

More information

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

First-Order Predicate Logic. Basics

First-Order Predicate Logic. Basics First-Order Predicate Logic Basics 1 Syntax of predicate logic: terms A variable is a symbol of the form x i where i = 1, 2, 3.... A function symbol is of the form fi k where i = 1, 2, 3... und k = 0,

More information

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016 Rules and derivations in an elementary logic course arxiv:160101483v1 [cslo] 7 Jan 2016 Gilles Dowek Inria, 23 avenue d Italie, CS 81321, 75214 Paris Cedex 13, France gillesdowek@inriafr When teaching

More information

Clausal Presentation of Theories in Deduction Modulo

Clausal Presentation of Theories in Deduction Modulo Gao JH. Clausal presentation of theories in deduction modulo. JOURNAL OF COMPUTER SCIENCE AND TECHNOL- OGY 28(6): 1085 1096 Nov. 2013. DOI 10.1007/s11390-013-1399-0 Clausal Presentation of Theories in

More information

7.5.2 Proof by Resolution

7.5.2 Proof by Resolution 137 7.5.2 Proof by Resolution The inference rules covered so far are sound Combined with any complete search algorithm they also constitute a complete inference algorithm However, removing any one inference

More information

Chapter 4. Declarative Interpretation

Chapter 4. Declarative Interpretation Chapter 4 1 Outline Algebras (which provide a semantics of terms) Interpretations (which provide a semantics of programs) Soundness of SLD-resolution Completeness of SLD-resolution Least Herbrand models

More information

First Order Logic (FOL)

First Order Logic (FOL) First Order Logic (FOL) Testing, Quality Assurance, and Maintenance Winter 2018 Prof. Arie Gurfinkel based on slides by Prof. Ruzica Piskac, Nikolaj Bjorner, and others References Chpater 2 of Logic for

More information

Probabilistic and Truth-Functional Many-Valued Logic Programming

Probabilistic and Truth-Functional Many-Valued Logic Programming Probabilistic and Truth-Functional Many-Valued Logic Programming Thomas Lukasiewicz Institut für Informatik, Universität Gießen Arndtstraße 2, D-35392 Gießen, Germany Abstract We introduce probabilistic

More information

Design of Distributed Systems Melinda Tóth, Zoltán Horváth

Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Publication date 2014 Copyright 2014 Melinda Tóth, Zoltán Horváth Supported by TÁMOP-412A/1-11/1-2011-0052

More information

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017 3. The Logic of Quantified Statements Summary Aaron Tan 28 31 August 2017 1 3. The Logic of Quantified Statements 3.1 Predicates and Quantified Statements I Predicate; domain; truth set Universal quantifier,

More information

First&Order&Logics& Logics&and&Databases&

First&Order&Logics& Logics&and&Databases& First&Order&Logics& Logics&and&Databases& G. Falquet Technologies du Web Sémantique UNIG&6&G.&Falquet& First&Order&Logic&and&Databases& 1& First&order&logic& Language vocabulary constant symbols variable

More information

CHAPTER 2. FIRST ORDER LOGIC

CHAPTER 2. FIRST ORDER LOGIC CHAPTER 2. FIRST ORDER LOGIC 1. Introduction First order logic is a much richer system than sentential logic. Its interpretations include the usual structures of mathematics, and its sentences enable us

More information

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) B.Y. Choueiry 1 Instructor s notes #12 Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) Introduction to Artificial Intelligence CSCE 476-876, Fall 2018 URL: www.cse.unl.edu/ choueiry/f18-476-876

More information

A Novel Stable Model Computation Approach for General Dedcutive Databases

A Novel Stable Model Computation Approach for General Dedcutive Databases Georgia State University ScholarWorks @ Georgia State University Computer Science Theses Department of Computer Science 7-15-2010 A Novel Stable Model Computation Approach for General Dedcutive Databases

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P. First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable

More information

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler

More information

Compactness properties for stable semantics of logic programs

Compactness properties for stable semantics of logic programs Compactness properties for stable semantics of logic programs V.W. Marek J.B. Remmel December 3, 2006 Abstract Logic programming with stable logic semantics (SLP) is a logical formalism that assigns to

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Logical reasoning - Can we formalise our thought processes?

Logical reasoning - Can we formalise our thought processes? Logical reasoning - Can we formalise our thought processes? Why study (mathematical) logic? Logic: the science or method of reasoning Logical: able to reason correctly Human reasoning poorly understood,

More information

COMP4418: Knowledge Representation and Reasoning First-Order Logic

COMP4418: Knowledge Representation and Reasoning First-Order Logic COMP4418: Knowledge Representation and Reasoning First-Order Logic Maurice Pagnucco School of Computer Science and Engineering University of New South Wales NSW 2052, AUSTRALIA morri@cse.unsw.edu.au COMP4418

More information

Probabilistic Reasoning. (Mostly using Bayesian Networks)

Probabilistic Reasoning. (Mostly using Bayesian Networks) Probabilistic Reasoning (Mostly using Bayesian Networks) Introduction: Why probabilistic reasoning? The world is not deterministic. (Usually because information is limited.) Ways of coping with uncertainty

More information

A Generalized Decision Logic in Interval-set-valued Information Tables

A Generalized Decision Logic in Interval-set-valued Information Tables A Generalized Decision Logic in Interval-set-valued Information Tables Y.Y. Yao 1 and Qing Liu 2 1 Department of Computer Science, University of Regina Regina, Saskatchewan, Canada S4S 0A2 E-mail: yyao@cs.uregina.ca

More information

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit: Three days of interesting talks & workshops from industry experts across Australia Explore new computing topics Network with students & employers in Brisbane Price: $25 (incl. T-Shirt, morning tea and

More information

Nested Epistemic Logic Programs

Nested Epistemic Logic Programs Nested Epistemic Logic Programs Kewen Wang 1 and Yan Zhang 2 1 Griffith University, Australia k.wang@griffith.edu.au 2 University of Western Sydney yan@cit.uws.edu.au Abstract. Nested logic programs and

More information

Encoding formulas with partially constrained weights in a possibilistic-like many-sorted propositional logic

Encoding formulas with partially constrained weights in a possibilistic-like many-sorted propositional logic Encoding formulas with partially constrained weights in a possibilistic-like many-sorted propositional logic Salem Benferhat CRIL-CNRS, Université d Artois rue Jean Souvraz 62307 Lens Cedex France benferhat@criluniv-artoisfr

More information

Pushing Extrema Aggregates to Optimize Logic Queries. Sergio Greco

Pushing Extrema Aggregates to Optimize Logic Queries. Sergio Greco Pushing Extrema Aggregates to Optimize Logic Queries Sergio Greco DEIS - Università della Calabria ISI-CNR 87030 Rende, Italy greco@deis.unical.it Abstract In this paper, we explore the possibility of

More information

Chapter 2 Background. 2.1 A Basic Description Logic

Chapter 2 Background. 2.1 A Basic Description Logic Chapter 2 Background Abstract Description Logics is a family of knowledge representation formalisms used to represent knowledge of a domain, usually called world. For that, it first defines the relevant

More information

Herbrand Theorem, Equality, and Compactness

Herbrand Theorem, Equality, and Compactness CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order

More information

Introduction to Intelligent Systems

Introduction to Intelligent Systems Logical Agents Objectives Inference and entailment Sound and complete inference algorithms Inference by model checking Inference by proof Resolution Forward and backward chaining Reference Russel/Norvig:

More information

Possibilistic Logic. Damien Peelman, Antoine Coulon, Amadou Sylla, Antoine Dessaigne, Loïc Cerf, Narges Hadji-Hosseini.

Possibilistic Logic. Damien Peelman, Antoine Coulon, Amadou Sylla, Antoine Dessaigne, Loïc Cerf, Narges Hadji-Hosseini. Possibilistic Logic Damien Peelman, Antoine Coulon, Amadou Sylla, Antoine Dessaigne, Loïc Cerf, Narges Hadji-Hosseini November 21, 2005 1 Introduction In real life there are some situations where only

More information

Polynomial-time Computation via Local Inference Relations

Polynomial-time Computation via Local Inference Relations Polynomial-time Computation via Local Inference Relations Robert Givan and David McAllester Robert Givan David McAllester Electrical & Computer Engineering P. O. Box 971 Purdue University AT&T Labs Research

More information

A note on fuzzy predicate logic. Petr H jek 1. Academy of Sciences of the Czech Republic

A note on fuzzy predicate logic. Petr H jek 1. Academy of Sciences of the Czech Republic A note on fuzzy predicate logic Petr H jek 1 Institute of Computer Science, Academy of Sciences of the Czech Republic Pod vod renskou v 2, 182 07 Prague. Abstract. Recent development of mathematical fuzzy

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

SLD-Resolution And Logic Programming (PROLOG)

SLD-Resolution And Logic Programming (PROLOG) Chapter 9 SLD-Resolution And Logic Programming (PROLOG) 9.1 Introduction We have seen in Chapter 8 that the resolution method is a complete procedure for showing unsatisfiability. However, finding refutations

More information

CS 520: Introduction to Artificial Intelligence. Review

CS 520: Introduction to Artificial Intelligence. Review CS 520: Introduction to Artificial Intelligence Prof. Louis Steinberg : First-order Logic Proof Algorithms 1 Review Representing a Domain in FOL A domain is a portion of the world about which we wish to

More information

The Branching-Time Transformation Technique for Chain Datalog Programs

The Branching-Time Transformation Technique for Chain Datalog Programs Journal of Intelligent Information Systems, 17, 71 94, 2001 c 2001 Kluwer Academic Publishers. Manufactured in The Netherlands. The Branching-Time Transformation Technique for Chain atalog Programs PANOS

More information

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory Motivation CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories Işıl Dillig Last few lectures: Full first-order logic In FOL, functions/predicates are uninterpreted (i.e., structure

More information

arxiv:cs/ v1 [cs.lo] 15 Dec 2003

arxiv:cs/ v1 [cs.lo] 15 Dec 2003 Under consideration for publication in Theory and Practice of Logic Programming 1 arxiv:cs/0312028v1 [cs.lo] 15 Dec 2003 Minimal Founded Semantics for Disjunctive Logic Programs and Deductive Databases

More information

Uncertain Logic with Multiple Predicates

Uncertain Logic with Multiple Predicates Uncertain Logic with Multiple Predicates Kai Yao, Zixiong Peng Uncertainty Theory Laboratory, Department of Mathematical Sciences Tsinghua University, Beijing 100084, China yaok09@mails.tsinghua.edu.cn,

More information

Logic + control: An example of program construction and verification

Logic + control: An example of program construction and verification 1 Logic + control: An example of program construction and verification The purpose of this paper is to show that 1. the correctness related issues of Prolog programs can, in practice, be dealt with mathematical

More information

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Set 6: Knowledge Representation: The Propositional Calculus Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Outline Representing knowledge using logic Agent that reason logically A knowledge based agent Representing

More information

Methods of Partial Logic for Knowledge Representation and Deductive Reasoning in Incompletely Specified Domains

Methods of Partial Logic for Knowledge Representation and Deductive Reasoning in Incompletely Specified Domains Methods of Partial Logic for Knowledge Representation and Deductive Reasoning in Incompletely Specified Domains Anatoly Prihozhy and Liudmila Prihozhaya Information Technologies and Robotics Department,

More information

Advanced DB CHAPTER 5 DATALOG

Advanced DB CHAPTER 5 DATALOG Advanced DB CHAPTER 5 DATALOG Datalog Basic Structure Syntax of Datalog Rules Semantics of Nonrecursive Datalog Safety Relational Operations in Datalog Recursion in Datalog The Power of Recursion A More

More information

COMP9414: Artificial Intelligence First-Order Logic

COMP9414: Artificial Intelligence First-Order Logic COMP9414, Wednesday 13 April, 2005 First-Order Logic 2 COMP9414: Artificial Intelligence First-Order Logic Overview Syntax of First-Order Logic Semantics of First-Order Logic Conjunctive Normal Form Wayne

More information

Normal Description Logic Programs as Default Theories

Normal Description Logic Programs as Default Theories Normal Description Logic Programs as Default Theories Yisong Wang Jia-Huai You Liyan Yuan Yi-Dong Shen Nonmon@30 Lexington, Kentucky 1 / 23 Applications of ASP/SAT fall into... 1 Stand alone applications

More information

ISTITUTO DI ANALISI DEI SISTEMI ED INFORMATICA

ISTITUTO DI ANALISI DEI SISTEMI ED INFORMATICA ISTITUTO DI ANALISI DEI SISTEMI ED INFORMATICA CONSIGLIO NAZIONALE DELLE RICERCHE A. Pettorossi, M. Proietti TOTALLY CORRECT LOGIC PROGRAM TRANSFORMATIONS VIA WELL-FOUNDED ANNOTATIONS R. 639 Febbraio 2006

More information

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19. Intelligent Agents First Order Logic Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 19. Mai 2015 U. Schmid (CogSys) Intelligent Agents last change: 19. Mai 2015

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

More information

Fuzzy Answer Set semantics for Residuated Logic programs

Fuzzy Answer Set semantics for Residuated Logic programs semantics for Logic Nicolás Madrid & Universidad de Málaga September 23, 2009 Aims of this paper We are studying the introduction of two kinds of negations into residuated : Default negation: This negation

More information

On flexible database querying via extensions to fuzzy sets

On flexible database querying via extensions to fuzzy sets On flexible database querying via extensions to fuzzy sets Guy de Tré, Rita de Caluwe Computer Science Laboratory Ghent University Sint-Pietersnieuwstraat 41, B-9000 Ghent, Belgium {guy.detre,rita.decaluwe}@ugent.be

More information

Topic #3 Predicate Logic. Predicate Logic

Topic #3 Predicate Logic. Predicate Logic Predicate Logic Predicate Logic Predicate logic is an extension of propositional logic that permits concisely reasoning about whole classes of entities. Propositional logic treats simple propositions (sentences)

More information

Logic (3A) Young W. Lim 12/5/13

Logic (3A) Young W. Lim 12/5/13 Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software

More information

Reasoning Under Uncertainty: Introduction to Probability

Reasoning Under Uncertainty: Introduction to Probability Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Uncertainty 1 Textbook 6.1 Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Uncertainty 1, Slide 1 Lecture Overview 1

More information

First-Order Logic. Chapter Overview Syntax

First-Order Logic. Chapter Overview Syntax Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts

More information

Integrating ASP and CLP solvers: Computing Answer Sets from Partially Ground Programs

Integrating ASP and CLP solvers: Computing Answer Sets from Partially Ground Programs 1 Integrating ASP and CLP solvers: Computing Answer Sets from Partially Ground Programs Proposal Defense Veena S. Mellarkod 2 Planning Example Ram is at his office and has a dentist appointment in one

More information

Announcements. Project 1 underway... Second midterm Friday. discuss ideas with TAs check out wiki

Announcements. Project 1 underway... Second midterm Friday. discuss ideas with TAs check out wiki Announcements Project 1 underway... discuss ideas with TAs check out wiki Second midterm Friday You may bring on one letter-sized sheet of paper with anything written or drawn or... anywhere on it. It

More information

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey. Major results: (wrt propositional logic) How to reason correctly. How to reason efficiently. How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague,

More information

Logical Agents (I) Instructor: Tsung-Che Chiang

Logical Agents (I) Instructor: Tsung-Che Chiang Logical Agents (I) Instructor: Tsung-Che Chiang tcchiang@ieee.org Department of Computer Science and Information Engineering National Taiwan Normal University Artificial Intelligence, Spring, 2010 編譯有誤

More information

model semantics of [5] can be faithfully embedded in fuzzy logic programs under our stable semantics. 2 Preliminaries A predicate logic signature = hr

model semantics of [5] can be faithfully embedded in fuzzy logic programs under our stable semantics. 2 Preliminaries A predicate logic signature = hr A Logical Reconstruction of Fuzzy Inference in Databases and Logic Programs Gerd Wagner * gw@inf.fu-berlin.de http://www.informatik.uni-leipzig.de/gwagner Abstract We propose to replace Zadeh's DeMorgan-type

More information

From Logic Programming Semantics to the Consistency of Syntactical Treatments of Knowledge and Belief

From Logic Programming Semantics to the Consistency of Syntactical Treatments of Knowledge and Belief From Logic Programming Semantics to the Consistency of Syntactical Treatments of Knowledge and Belief Thomas Bolander Informatics and Mathematical Modelling Technical University of Denmark tb@imm.dtu.dk

More information

Propositional and Predicate Logic - XIII

Propositional and Predicate Logic - XIII Propositional and Predicate Logic - XIII Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - XIII WS 2016/2017 1 / 22 Undecidability Introduction Recursive

More information

Contents Chapters 2 & 3

Contents Chapters 2 & 3 Contents Chapters 2 & 3 Chapters 2 & 3: A Representation and Reasoning System Lecture 1 Representation and Reasoning Systems. Datalog. Lecture 2 Semantics. Lecture 3 Variables, queries and answers, limitations.

More information

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14 0/0/4 Knowledge based agents Logical Agents Agents need to be able to: Store information about their environment Update and reason about that information Russell and Norvig, chapter 7 Knowledge based agents

More information

Introduction to Intelligent Systems

Introduction to Intelligent Systems Logical Agents Objectives Inference and entailment Sound and complete inference algorithms Inference by model checking Inference by proof Resolution Forward and backward chaining Reference Russel/Norvig:

More information

Modeling Defeasible Argumentation within a Possibilistic Logic Framework with Fuzzy Unification

Modeling Defeasible Argumentation within a Possibilistic Logic Framework with Fuzzy Unification Modeling Defeasible Argumentation within a Possibilistic Logic Framework with Fuzzy Unification Teresa Alsinet Carlos I. Chesñevar Dept. of Computer Science University of Lleida, Spain {tracy,cic}@eps.udl.es

More information

CS589 Principles of DB Systems Fall 2008 Lecture 4e: Logic (Model-theoretic view of a DB) Lois Delcambre

CS589 Principles of DB Systems Fall 2008 Lecture 4e: Logic (Model-theoretic view of a DB) Lois Delcambre CS589 Principles of DB Systems Fall 2008 Lecture 4e: Logic (Model-theoretic view of a DB) Lois Delcambre lmd@cs.pdx.edu 503 725-2405 Goals for today Review propositional logic (including truth assignment)

More information

Abductive Disjunctive Logic Programming. Ullrich Hustadt

Abductive Disjunctive Logic Programming. Ullrich Hustadt Abductive Disjunctive Logic Programming Ullrich Hustadt Max-Planck-Institut fur Informatik, Im Stadtwald, W-6600 Saarbrucken, Germany Phone: (+9 681) 302-531, Fax: (+9 681) 302-530, E-mail: Ullrich.Hustadt@mpi-sb.mpg.de

More information