Knowledge Representation with Granular Attributive Logic for XTT-based Expert Systems

Size: px
Start display at page:

Download "Knowledge Representation with Granular Attributive Logic for XTT-based Expert Systems"

Transcription

1 Knowledge Representation with Granular Attributive Logic for XTT-based Expert Systems Antoni Ligęza and Grzegorz J. Nalepa Institute of Automatics, AGH University of Science and Technology, Al. Mickiewicza 30, Kraków, Poland Abstract This paper presents an extension of classical attributive logic using atomic values of attributes. In the proposed logic set values are allowed and various relational symbols are used to form atomic formulae. The proposed language provides a concise and elegant tool for design, implementation and verification of rule-based systems. Introduction Attributive Logic (AL, for short) is one based on the use of attributes for denoting some properties of objects and values of system variables in a system under consideration. In order to define current characteristics of the system, one selects some specific set of attributes and assigns them current values. A typical atomic formula (fact) takes the form A(o) =d, where A is an attribute, o is an object and d is the current value of A for o. For example, temperature(room_7 )=17 means that the current temperature in room_7 is 17 degrees Centigrade. More complex descriptions take usually the form of conjunctions of such atoms and are omnipresent in the AI literature. It is close to the use of state variables in control engineering practice and follows the pattern of relational and object-oriented databases. It is, however, symptomatic, that although Propositional Logic and Predicate Logic (in the form of First-Order Predicate Calculus) have well-elaborated syntax and semantics, presented in details in numerous books covering logic for knowledge engineering (Genesereth & Nilsson 1987; Jackson 1999; Torsun 1995), logic for computer science or artificial intelligence (Ben-Ari 2001; Liebowitz 1998), the discussion of syntax and semantics of attribute-based logic is omitted in such positions. It is often assumed, that attributive logic is some technical language equivalent with respect to expressive power to propositional calculus, and as such it is not worth any more detailed discussion. However, it seems that the real reason for the omission of the presentation is that, in fact a more detailed discussion might be not so straightforward, concise and elegant as in the case of classical logics. Copyright c 2007, American Association for Artificial Intelligence ( All rights reserved. Furthermore, for efficient knowledge specification and management it is certainly not enough to employ atomic values only. More complex values of variables and attributes are necessary. In (Ligęza 2002) a granular approach to algebraic knowledge representation and manipulation was put forward. The ideas of granular sets and granular relations were defined and proposed to put in use in tabular rule-based systems and databases. In this paper the ideas are followed with main focus on the attributive logic approach to represent such granules and granularly specified knowledge. In fact, granular relations of (Ligęza 2002) can be represented with minterms (Granular Conjunctive Formulae) incorporating attributes taking set values. This paper follows the presentation of attributive logic (with set values) given in (Ligęza 2006). Two attributebased logical languages, namely Atomic Attributive Logic (AAL) and Set Attributive Logic (SAL) are presented in some details. In AAL the attributes can take atomic (unique) values only; in SAL the attributes can take set values, i.e. several different values at a time. Both syntax and semantics of AAL and SAL are presented. The paper follows the line of extensions recently proposed in (Ligęza & Parra 2006). Some patterns of inference rules specific for these granular languages are given. Finally, application of attributive logic for knowledge representation with PROLOG is presented. An Example A very short example introducing the ideas of granular attributive logic is presented in brief. Consider on of the rules specifying the Thermostat System (Negnevitsky 2002), (Ligęza 2006). The rule is as follows: Rule 11 if the day is Monday or the day is Tuesday or the day is Wednesday or the day is Thursday or the day is Friday then today is a workday Using granular set values for attributes the rule can be represented in a concise and elegant way as: Rule1: add sw D at D = wd, where add is an attribute denoting the day, sw D is a set denoting the five working days listed in the rule, at D is the 530

2 attribute denoting today, and wd is a value denoting workday. 1 This simple example is aimed at providing intuitions concerning the idea and advantages of using granular rather then singular values of attributes for knowledge specification. In the further part a syntax, semantic, inference and PROLOG representation of granular logic is outlined. Syntax of Attributive Logic Let there be given the following, pairwise disjoint sets of symbols: O a set of object symbols, A a set of attribute names, D a set of attribute values (the domains). It is further frequently assumed that the overall domain D is divided into several sets (disjoint or not), such that any of these sets defines the domain of some attribute. More precisely, a finite set of attributes is considered to be specified as A = {A 1,A 2,...,A n }. Then also D = D 1 D 2... D n, where D i is the domain for attribute A i, i =1, 2,...,n. After (Ligęza 2006) it is assumed that an attribute A i is a function (or partial function) of the form A i : O D i.a generalized attribute A i is a function (or partial function) of the form A i : O 2 Di, where 2 Di is the family of all the subsets of D i. The generalized attributes are of limited use in some modern relational databases and object-oriented databases. A language incorporating such values of attributes will be referred to as SAL (Set Attributive Language). If it does not introduce ambiguity, the qualifier generalized may be omitted. Attribute symbols are used to denote properties of certain objects. To denote the fact that a certain attribute takes a certain value, atomic formulae are used. In case of AAL atomic formulae are defined in the following way (Ligęza 2006). Definition 1 (AAL) Let o O be a certain object, A i A be an attribute and let d D i be a certain atomic value of the domain of A i. Any expression of the form A i (o) =d is an atomic formula of AAL. In case of SAL an extended definition is put forward; a modified version of the initial proposal of is given below (Ligęza & Parra 2006). Definition 2 (SAL) Let o O be some object, A i A be a generalized attribute and let t D i be a certain subset of the domain of A i. Any expression of the form: A i (o) =t, A i (o) t, A i (o) t, A i (o) t, A i (o) t and A i (o) t are legal atomic formulae of SAL. For intuition, the meaning of the atomic formulae is: equal to (covers all the elements of t), is a single element of, is a set and covers some single element, is a subset of, and is a superset of and have non-empty intersection, respectively. Note that the definition of atomic formulae in SAL (2) covers the one in AAL (1); in fact, any atomic value can be considered as a single-element set. The vice versa is obviously not true. The presented definition is extended w.r.t. the 1 We keep the notation used in (Ligęza 2006). one of (Ligęza 2006) by introducing the forms: A i (o) t, A i (o) t, A i (o) t and A i (o) t. Note also, that the proposed set of relations is not independent. For example, A i (o) =t can perhaps be defined as A i (o) t A i (o) t; but it is much more convenient to use = directly. For simplicity, if the object is known, the formulae are simplified to A i = d, A i = t, A i t, A i t, A i t, or A i t respectively. Without object specification, such simplified formulae are called selectors since they can be used for selecting a set of objects satisfying the specific condition. They may be denoted as [A i = d] and [A i = t], [A i t], [A i t], [A i t],or[a i t]. Semantics of Attributive Logic Below, semantics of atomic formulae of AAL and SAL will be presented. Instead of a formal, theoretical presentation (Ligęza 2006) we rather follow an intuitive discussion based on examples and relativization to simpler formulae. Consider an atomic formula of AAL of the form A i (o) = d, where d is an atomic value of attribute A i. The meaning of such a formula is that some real-world property (denoted with A i ) of some real-world object (denoted with o) takes the unique value (specified by d). We usually think about some intended meaning which is defined by a mapping of attribute, object and value denoting symbols into real-world object characteristics, objects and values. Consider a formula A i (o) =t of SAL. The interpretation of such a formula can be specified through relativization to the case of AAL. First, consider the case of discrete, finite domains. Using the language of AAL attributes can take only atomic values. After moving to a more expressive language of SAL, attributes can take set values. This means that such an attribute can take more than one value at a time for a given object. Such attributes are specific 2 but useful in numerous practical applications. Especially when the set of values assigned to an object contains numerous values the notation A i (o) =t can be considered as a useful shorthand. Consider example of specifying foreign languages known by people. This problem encountered in classical RDBS with atomic values leads to the so-called fourth normal form, where values of a set are to be listed in subsequent records. In case of finite sets, an atom of SAL specifying that an attribute takes a set value can be represented in a (logically equivalent) form incorporating atomic values only. Such a representation of several atomic values is also referred to as internal conjunction. Thus instead of writing Knows(Smith) = English Knows(Smith) = French Knows(Smith) = Spanish one can simply write Knows(Smith)={English, F rench, Spanish}. In AAL, where attributes can take atomic values, a conjunctive formula can be transformed into a single atom of SAL according to the following scheme [(A i (o) =d 1 )... (A i (o) =d j )] [A i (o) =t], (1) where t = {d 1,d 2,...,d j } is a subset of D. 2 Sometimes such attributes are called multiple-valued attributes. 531

3 An analogous extension applies to finite, discrete interval representation (sequences). For example, A i =[a, b] means that all the values belonging to the interval [a, b] are covered. Note, however, that in case of infinite domains (even discrete ones) transformation of the form (1) is no longer possible. In case of infinite set t, the atom A i (o) =t does not have finite internal conjunction form replacing it; hence, the expressive power of SAL is intrinsically higher than the one of AAL and so the propositional logic. A similar problem to the above occurs when one has to specify a long disjunctive formula specifying possible atomic values for the same object and attribute. Consider an atomic formula of the form A i (o) t. In fact, in the atomic representation in AAL, where attributes can take atomic values, a disjunctive formula as below can be transformed into a single atom of SAL according to the following principle: [(A i (o) =d 1 )... (A i (o) =d j )] [A i (o) t], (2) where t = {d 1,d 2,...,d j } is a subset of D. An analogous extension applies to finite, discrete interval representation. For example, A i [a, b] means that all the values belonging to the interval [a, b] are possible values for A i (both in case of discrete and continuous domain of the attribute). Note, however, that the above transformation (2) can be applied only in case of finite domains. In case of infinite domains, both countable and continuous, the set notation of SAL has no equivalent in the language of AAL. Hence, the expressive power of SAL is higher than the one of AAL and obviously of propositional logic. Now, consider a formula of the form A i (o) t. This time, it is assumed that attribute A take a unique value belonging to t. Let denote the Exclusive Or logical connective. In case of finite sets the following transformation is possible: [(A i (o) =d 1 )... (A i (o) =d j )] [A i (o) t], (3) where t = {d 1,d 2,...,d j } is a subset of D. As before, the above transformation (3) can be applied only in case of finite domains. In case of infinite domains, both countable and continuous, the set notation of SAL has no equivalent in the language of AAL. Hence, also in this case, the expressive power of SAL is higher than the one of AAL and obviously of propositional logic. Consider a formula of the form A i (o) t. The intuitive meaning is that the set of values of attribute A for object o covers the set t, i.e. constitutes a superset of t. In case of finite domains the interpretation can be presented with use of external conjunction. Let A i (o) ={d 1,d 2,...,d j }; this can be interpreted as: (A i (o) =d 1 ) (A i (o) =d 2 )... (A i (o) =d j ). (4) Then, A i (o) t simply means that t {d 1,d 2,...,d j }. Next, consider a formula of the form A i (o) t. This time, it is assumed that attribute A take a unique or set value to which t (a single element) belongs. In case of finite sets the following transformation is possible: [(A i (o) =d 1 )... (A i (o) =d j )] [A i (o) t], (5) where t {d 1,d 2,...,d j } is a single-element of D. As before, the above transformation (5) can be applied only in case of finite domains. In case of infinite domains, both countable and continuous, the set notation of SAL has no equivalent in the language of AAL. Hence, also in this case, the expressive power of SAL is higher than the one of AAL and obviously of propositional logic. Finally, consider an atomic formula of the form A i (o) t. The meaning is that the intersection of A i (o) and t is a non-empty set, i.e. A i (o) t. Granular Formulae in Attributive Logic More complex formulae in attributive logic can be generated from the atomic ones with the use of logical connectives (Ligęza 2006). For the purposes of this paper we are interested only in simple conjunctive formulae (the so called minterms) and in Disjunctive Normal Form (DNF) formulae. For specification of rules it is important to have the possibility to precisely define a set of constraints which have to be satisfied at the same time instant. For the purpose of that one normally uses a conjunction of atomic formulae (with or without negation). Such a conjunction is normally called a simple conjunctive formula or a minterm (Ligęza 2006). For the sake of specifying rules in this paper we shall define a special form of conjunctions of positive atomic formulae (a subset of minterms). Since such a conjunction can be interpreted as a granule in the conceptual space defined by the attributes, we shall call it a Granular Conjunctive Formula (GCF) or a box. Definition 3 (Granular Conjunctive Formula) Let A 1,A 2,...,A n be some attributes, o 1,o 2,...,o n denote certain objects, and let t 1,t 2,...,t n be some subsets of the domains of given attributes, where t i D i, for i =1, 2,...,n. A formula ψ, ψ = A 1 (o 1 )=t 1 A 2 (o 2 )=t 2... A n (o n )=t n (6) will be called a (strong) Granular Conjunctive Formula or a (strong) box. The Cartesian Product t 1 t 2... t n will be called a granule. Often o 1 = o 2 =... = o n, i.e. the attributes describe the same object. In terms of relational databases such a formula can be interpreted as a table of the scheme defined by the sequence of attributes A 1,A 2,...,A n and covering all the Cartesian Product t 1 t 2... t n, but in case of infinite t i (e.g. t i R), there is no finite relational model. Definition 4 (Weak Granular Formula) Let A 1,A 2,...,A n be some attributes, o 1,o 2,...,o n denote certain objects, and let t 1,t 2,...,t n be some subsets of the domains of given attributes, where t i D i, for i =1, 2,...,n. A formula φ, ψ = A 1 (o 1 ) t 1 A 2 (o 2 ) t 2... A n (o n ) t n (7) will be called a Weak Granular Conjunctive Formula or a weak box; here denotes either or. The Cartesian Product t 1 t 2... t n will be called a boundary granule. In order to cover some arbitrary area (especially a nonconvex one) located in the Cartesian Product of the attribute 532

4 domains D 1 D 2... D n one may need a disjunctive composition of Granular Conjunctive Formulae. Such a formula is a specific case of the Disjunctive Normal Formula (DNF) and it is defined as follows. Definition 5 Let ψ 1,ψ 2,...,ψ k be some strong GCF. A formula Ψ of the form Ψ=ψ 1 ψ 2... ψ k (8) will be called a (strong) Granular DNF. In case of weak GCF components we have the following definition. Definition 6 Let φ 1,φ 2,...,φ k be some weak GCF. A formula Φ of the form Φ=φ 1 φ 2... φ k (9) will be called a Weak Granular DNF. Inference in Attributive Logic Firstly, consider two subset symbols s, t D. Obviously, for any object symbol o O and any attribute A i A, ift is a subset of s the following rule holds: A i (o) =s (10) A i (o) =t Rule (10) will be referred to downward consistency rule or subset consistency rule. The meaning of the downward consistency rule is obvious if an attribute takes values from a certain set, then certainly its values stay within any subset of that set. By analogy, consider two subset symbols s, t D. Obviously, for any object symbol o O and any attribute A i A, ifs is a subset of t the following rule holds: A i (o) s (11) A i (o) t Rule (11) will be referred to upward consistency rule or superset consistency rule. The meaning of the upward consistency rule is obvious if an attribute takes values from a certain set, then certainly its values stay within any superset of that set. Note that, the rule holds also for the relational symbol, i.e.: A i (o) s (12) A i (o) t as a specific case. Further, the following rule holds as well: if t is a subset of s the following rule holds: A i (o) s (13) A i (o) t In fact, this is and inverse (or dual) rule to (11). As an example consider two atomic formulae as follows: A i (o) =tand A i (o) s. Taking into account the interpretation, if t s, then [A i (o) =t] = [A i (o) s]. In the table in Fig. 1 we examine when the atoms located in the left-hand column imply atoms in the header (for simplicity, A is used instead of A i ). The table specifies inference possibilities among atomic formulae for checking satisfaction of rule preconditions. In fact, if the fact base contains facts of the form specified in the left-hand column, the preconditions contains facts of the header line, and the appropriate relation holds, the satisfaction of atomic part of the precondition can be claimed. Application of Inference Rules for Verification The inference rules specified for Attributive logic can be applied for checking if preconditions of a rule are satisfied and in verification of theoretical properties of rule-based systems (Ligęza 2006). Note that for checking satisfaction of rule preconditions (rule firing), checking logical relationship among preconditions of rules (e.g. rule subsumption), checking covering of a set of states by a set of rules (completeness check), detection of overlapping rule preconditions (indeterministic and inconsistent rules) the basic operation consists in checking for logical consequence. More details on that are given in (Ligęza 2006). Rule-Based Systems in Attributive Logic Numerous rule-based systems use simple knowledge representation logic based on attributes. Unfortunately, most of the systems allow for use of very simple atomic formulae only. Two most typical examples are of the form A = d and A(o) =d, where A is an attribute, o is an object, and d is an atomic value of the attribute. In this way the specification of attribute values is restricted to atomic values only. In the proposed XTT approach (Nalepa 2004) an extended attributive language is used. In fact we use SAL, the Set Attributive Language. XTT uses extended attributive decision rules for the construction of rule-based systems. A rule is based on the basic rule format but includes both the control statement and dynamic operation definitions. Hence, it can operate on the system memory and show where to pass control in an explicit way. The full rule format incorporates the following components: a unique identifier of the rule (it can be the name or the number of the rule, or both), a context formula defining the context situation in which the rule is aimed to operate, preconditions of the rule (specifying the logical formula that has to be satisfied in order that the rule can be executed), a dynamic operation specification with the use of retract and assert parts, a conclusion/decision part being the output of the rule, and a control specification with the use of the next part. The above components can be presented as follows: rule(i): context = ψ and [A 1 t 1 ] [A 2 t 2 ]... [A n t n ] retract(b 1 = b 1,B 2 = b 2,...,B b = b b ), assert(c 1 = c 1,C 2 = c 2...,C c = c c ), do(h 1 = h 1,H 2 = h 2,...,H h = h h ), next(j), else(k). where ψ defines the specific environmental and internal conditions under which the rule is valid, [A 1 t 1 ]... [A n t n ] is the regular precondition formula, B 1 = b 1,B 2 = b 2,...,B b = b b is the specification of the facts to be retracted from the knowledge base, C 1 = c 1,C 2 = c 2,...,C c = c c is the specification of the facts to be asserted to the knowledge base, H 1 = h 1,...,H h = h h is the 533

5 = A = t A t A t A t A t A t A = s t s s t t s s t t s s t A s t = {s} s t t = s s t t = {s} s t A s s = t _ s = t t = {s} s t A s s = {t} s t t s s t _ s t A s t s t s t s _ t s s t A s s = {t} s t Figure 1: Inference in SAL. specification of conclusions forming a direct output of the rule, next(j) is the control specification, possibly including the PROLOG cut marker. Rules of a similar attribute structure can be easily combined into a special form of decision table, the Extended Attributive Table (Ligęza 2006; Nalepa 2004) (XAT, or extended Table (XT), for short). An important feature of XTT is the fact that, besides visual representation important for the design (Ligęza, Wojnicki, & Nalepa 2001; Nalepa 2004; Nalepa & Ligęza 2005), it offers a well-defined, logical representation (Nalepa 2004; Ligęza 2006). The XTT hierarchy can be mapped to the corresponding PROLOG code. Transformation from XTT tables to a PROLOG-based representation allows for obtaining a logically equivalent code that can be executed, analyzed, verified, optimized, translated to another language, transferred to another system, etc. In order to fully represent the XTT model using SAL the fact (Object-Attribute-Value triple) representation has to specified, the attribute domains with all the constraints have to be represented, a rule syntax has to be defined. Every XTT cell corresponds to a certain fact in the rule base. An XTT fact is represented by the following term: f(< attribute_name >, < value_type >, < value >) where attribute_name is an XTT attribute name prefixed by a lower-case a in order to prohibit upper-case names (they would be interpreted as variables in PROLOG); value_type is one of {atomic, set, interval, natomic, nset, ninterval}, and value is the attribute value held in cell, possibly a non-atomic one. In order to represent different attribute types and value domains the following rules are established: Atomic values, e.g A(O) = V, are represented by f(aa,atomic,v) term. Negated atomic values, e.g A(O) V, are represented by f(aa,natomic,v) term. Non-atomic numerical values, such as A(O) < x,y>, are represented by f(aa,interval,i(x,y)) term. Negated non-atomic numerical values, such as A(O) / (x, y), or A(O) / < x,y >) are represented by f(aa,ninterval,i(x,y)) term. Non-atomic symbolic values, such as A(O) {monday, tuesday} are represented by f(aa,set,seti) term, where Seti is a predefined set Set i = {monday, tuesday}. Negated non atomic symbolic values, such as: A(O) / {monday, tuesday} are represented by f(aa,nset,seti) term, where Seti is a predefined set Set i = {monday, tuesday}. Considering that every attribute domain has lower and upper constraints, and there is a predefined real numbers precision, every relational expression with numerical value can be mapped to an interval of the form: <v1,v2 >. Rules are represented as PROLOG facts. This allows for encoding virtually any structured information. Note that in such a case the built-in PROLOG inference facilities cannot be used directly there is a need for a meta-interpreter (however, this gives more flexibility in terms of rule processing). Using PROLOG for meta-programming (writing an interpreter) is a standard approach used in the implementation of advanced PROLOG applications. The extended rule syntax is: rule(table-num, rule-num, precondition-list, retract-list, assert-list, decision-list, next-table, next-rule in next-table). In this application the else part is implicitly considered to be the next rule in the current table. The whole table-tree structure of XTT is represented by one flat rule-base. The rule-base is separated from the inference engine code. All tables have unique identifiers (numbers), and rules are assigned unique numbers too. This allows for a precise inference control. For example, an excerpt of rule-base for the Thermostat example (Ligęza 2006) is represented by the following PROLOG code: rule(2,3, [f(atd,atomic,wd), f(atm,interval,i(9,17))], [f(aop,atomic,_)], [f(aop,atomic,true)], [], 3,7). rule(2,4, [f(atd,atomic,wd), f(atm,interval,i(0,8))], [f(aop,atomic,_)], [f(aop,atomic,false)], [], 3,7). rule(2,5, [f(atd,atomic,wd), f(atm,interval,i(18,24))], [f(aop,atomic,_)], [f(aop,atomic,false)], [], 3,7). rule(2,6, [f(atd,atomic,wk)], [f(aop,atomic,_)], [f(aop,atomic,false)], [], 3,7). where: atd, atm, aop, are abbreviated attribute names: today, time, operation respectively. In order to interpret XTT rules there is a need for a meta-interpreter. As a proofof-concept an XTT meta-interpreter engine has been developed and described in detail in (Nalepa 2004; Nalepa & Ligęza 2006). A code-excerpt from the PROLOG inference engine for proving logical satisfaction in a limited version of the granular attributive logic is presented below. satisfied([]) :-!. satisfied([fact Facts]) :- 534

6 valid(fact), satisfied(facts). fails([fact _]) :- \+ valid(fact),!. fails([_ Facts]) :- fails(facts). valid(f(a,atomic,v)) :- f(a,atomic,v),!. valid(f(a,natomic,v)) :- f(a,atomic,w), V \== W,!. valid(f(a,set,set)) :- f(a,atomic,v), set(set,setvalue), member(v,setvalue),!. valid(f(a,nset,set)) :- f(a,atomic,v), set(set,setvalue), \+ member(v,setvalue),!. valid(f(a,interval,i(b,e))) :- f(a,atomic,v), V >= B, V =< E. valid(f(a,ninterval,i(b,_))) :- f(a,atomic,v), V < B. valid(f(a,ninterval,i(_,e))) :- f(a,atomic,v), V > E. Conclusions This paper presents a development of logical and algebraic approach of (Ligęza & Parra 1996), (Ligęza 2006). In particular, it presents attributive logic for knowledge representation and knowledge management in knowledge engineering applications. A particular interest was devoted to Set Attributive Logics (SAL) where attributes can take set values. Five basic forms of atomic formulae of SAL were introduced. The relations symbols used were = (equality), (element of), (subset), (superset) and (non-empty intersection). In this kind of logic, when attributes can take set values, conjunctive formulae can be interpreted as granules in the conceptual space of attributes (Ligęza 2002). Such a granular formula can be used for efficient specification of preconditions of inference rules. Moreover, thanks to the phenomenon of internal conjunction, it can specify facts and relations in the knowledge base in an efficient way. This is so because a granular formula covers a number of formulae incorporating atomic values only (of AAL). Specific rules of inference for the introduce logic were also presented. Such rules are necessary when checking preconditions of rules expressed with SAL. The introduced logic is applied in the extended Tabular Trees (XTT) formalism for knowledge representation (Ligęza 2006; Nalepa 2004). The benefits of using granular attributive logic include much more concise specification of knowledge than in the case of logic using atomic values only followed by possibilities of more efficient knowledge verification and easier design. The price of higher expressive power is that verification procedures require more complex checks based on logical inference and not just simple comparison (as in the case of atomic values of attributes). An idea of a tool for supporting the design, implementation and verification of rulebased systems with granular logic is presented in (Nalepa 2004), (Ligęza 2006). References Ben-Ari, M Mathematical Logic for Computer Science. London: Springer-Verlag. Genesereth, M. R., and Nilsson, N. J Logical Foundations for Artificial Intelligence. Los Altos, California: Morgan Kaufmann Publishers, Inc. Jackson, P Introduction to Expert Systems. Addison Wesley, 3rd edition. ISBN Liebowitz, J., ed The Handbook of Applied Expert Systems. Boca Raton: CRC Press. ISBN Ligęza, A., and Parra, P. F Towards logical analysis of tabular rule-based systems. In Trappl, R., ed., Proc. of the 13th European Meeting on Cybernetics and Systems Research (EMCSR 96), volume 2, Ligęza, A., and Parra, P. F A granular attribute logic for rule-based systems management within extended tabular trees. In Trappl, R., ed., Cybernetic and Systems, volume 2, Austrian Society for Cybernetic Studies. Ligęza, A.; Wojnicki, I.; and Nalepa, G Tab-trees: a case tool for design of extended tabular systems. In et al., H. M., ed., Database and Expert Systems Applications, volume 2113 of Lecture Notes in Computer Sciences. Berlin: Springer-Verlag Ligęza, A Granular algebra: Towards a calculus of semipartitions for analysis, manipulation and verification of tabular systems. In Trappl, R., ed., Proc. of the 16th European Meeting on Cybernetics and Systems Research (EMCSR 02), Ligęza, A Logical Foundations for Rule-Based Systems. Berlin, Heidelberg: Springer-Verlag. Nalepa, G. J., and Ligęza, A Conceptual modelling and automated implementation of rule-based systems. In Krzysztof Zieliński, T. S., ed., Software engineering : evolution and emerging technologies, volume 130 of Frontiers in Artificial Intelligence and Applications, IOS Press. Nalepa, G. J., and Ligęza, A Prolog-based analysis of tabular rule-based systems with the xtt approach. In Sutcliffe, G. C. J., and Goebel, R. G., eds., FLAIRS 2006 : proceedings of the nineteenth international Florida Artificial Intelligence Research Society conference : [Melbourne Beach, Florida, May 11 13, 2006], FLAIRS. - Menlo Park: Florida Artificial Intelligence Research Society. Nalepa, G. J Meta-Level Approach to Integrated Process of Design and Implementation of Rule-Based Systems. Ph.D. Dissertation, AGH University of Science and Technology, Institute of Automatics, Cracow, Poland. Negnevitsky, M Artificial Intelligence. A Guide to Intelligent Systems. Harlow, England; London; New York: Addison-Wesley. ISBN Torsun, I. S Foundations of Intelligent Knowledge- Based Systems. London, San Diego, New York, Boston, Sydney, Tokyo, Toronto: Academic Press. 535

Granular Logic with Variables for Implementation of Extended Tabular Trees

Granular Logic with Variables for Implementation of Extended Tabular Trees Proceedings of the Twenty-First International FLAIRS Conference (2008) Granular Logic with Variables for Implementation of Extended Tabular Trees Antoni Ligęza and Grzegorz J. Nalepa Institute of Automatics,

More information

A Note on Backward Dual Resolution and Its Application to Proving Completeness of Rule-Based Systems*

A Note on Backward Dual Resolution and Its Application to Proving Completeness of Rule-Based Systems* A Note on Backward Dual Resolution and Its Application to Proving Completeness of Rule-Based Systems* Antoni Ligeza Institute of Automatics AGH al. Mickiewicza 30, 30-059 Krakow, Poland tel. &; fax: (48

More information

BPMN A Logical Model and Property Analysis. Antoni Ligęza

BPMN A Logical Model and Property Analysis. Antoni Ligęza Decision Making in Manufacturing and Services Vol. 5 2011 No. 1 2 pp. 57 67 BPMN A Logical Model and Property Analysis Antoni Ligęza Abstract. Business Process Modeling Notation has become a powerful and

More information

Knowledge Representation and Inference for Analysis and Design of Databases and Tabular Rule-Based Systems Λ

Knowledge Representation and Inference for Analysis and Design of Databases and Tabular Rule-Based Systems Λ Knowledge Representation and Inference for Analysis and Design of Databases and Tabular Rule-Based Systems Λ Antoni Ligęza Institute of Automatics AGH al. Mickiewicza 30, 30-059 Kraków, Poland ali@ia.agh.edu.pl

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

R u t c o r Research R e p o r t. Relations of Threshold and k-interval Boolean Functions. David Kronus a. RRR , April 2008

R u t c o r Research R e p o r t. Relations of Threshold and k-interval Boolean Functions. David Kronus a. RRR , April 2008 R u t c o r Research R e p o r t Relations of Threshold and k-interval Boolean Functions David Kronus a RRR 04-2008, April 2008 RUTCOR Rutgers Center for Operations Research Rutgers University 640 Bartholomew

More information

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning. 3: Logic Why logic? Logic about inference or argument Start from assumptions or axioms Make deductions according to rules of reasoning Logic 3-1 Why logic? (continued) If I don t buy a lottery ticket on

More information

Topics in Logic and Proofs

Topics in Logic and Proofs Chapter 2 Topics in Logic and Proofs Some mathematical statements carry a logical value of being true or false, while some do not. For example, the statement 4 + 5 = 9 is true, whereas the statement 2

More information

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning COMP9414, Monday 26 March, 2012 Propositional Logic 2 COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning Overview Proof systems (including soundness and completeness) Normal Forms

More information

cis32-ai lecture # 18 mon-3-apr-2006

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

Proving Completeness for Nested Sequent Calculi 1

Proving Completeness for Nested Sequent Calculi 1 Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there

More information

Adding Modal Operators to the Action Language A

Adding Modal Operators to the Action Language A Adding Modal Operators to the Action Language A Aaron Hunter Simon Fraser University Burnaby, B.C. Canada V5A 1S6 amhunter@cs.sfu.ca Abstract The action language A is a simple high-level language for describing

More information

Tecniche di Verifica. Introduction to Propositional Logic

Tecniche di Verifica. Introduction to Propositional Logic Tecniche di Verifica Introduction to Propositional Logic 1 Logic A formal logic is defined by its syntax and semantics. Syntax An alphabet is a set of symbols. A finite sequence of these symbols is called

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

CA320 - Computability & Complexity

CA320 - Computability & Complexity CA320 - Computability & Complexity David Sinclair Overview In this module we are going to answer 2 important questions: Can all problems be solved by a computer? What problems be efficiently solved by

More information

Lecture 4: Proposition, Connectives and Truth Tables

Lecture 4: Proposition, Connectives and Truth Tables Discrete Mathematics (II) Spring 2017 Lecture 4: Proposition, Connectives and Truth Tables Lecturer: Yi Li 1 Overview In last lecture, we give a brief introduction to mathematical logic and then redefine

More information

Interpreting Low and High Order Rules: A Granular Computing Approach

Interpreting Low and High Order Rules: A Granular Computing Approach Interpreting Low and High Order Rules: A Granular Computing Approach Yiyu Yao, Bing Zhou and Yaohua Chen Department of Computer Science, University of Regina Regina, Saskatchewan, Canada S4S 0A2 E-mail:

More information

Axiomatic set theory. Chapter Why axiomatic set theory?

Axiomatic set theory. Chapter Why axiomatic set theory? Chapter 1 Axiomatic set theory 1.1 Why axiomatic set theory? Essentially all mathematical theories deal with sets in one way or another. In most cases, however, the use of set theory is limited to its

More information

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Berardi Stefano Valentini Silvio Dip. Informatica Dip. Mat. Pura ed Applicata Univ. Torino Univ. Padova c.so Svizzera

More information

A generalization of modal definability

A generalization of modal definability A generalization of modal definability Tin Perkov Polytechnic of Zagreb Abstract. Known results on global definability in basic modal logic are generalized in the following sense. A class of Kripke models

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

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom. Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes

More information

A Fixed Point Representation of References

A Fixed Point Representation of References A Fixed Point Representation of References Susumu Yamasaki Department of Computer Science, Okayama University, Okayama, Japan yamasaki@momo.cs.okayama-u.ac.jp Abstract. This position paper is concerned

More information

A Logic Primer. Stavros Tripakis University of California, Berkeley

A Logic Primer. Stavros Tripakis University of California, Berkeley EE 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2015 A Logic Primer Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 144/244,

More information

cse541 LOGIC FOR COMPUTER SCIENCE

cse541 LOGIC FOR COMPUTER SCIENCE cse541 LOGIC FOR COMPUTER SCIENCE Professor Anita Wasilewska Spring 2015 LECTURE 2 Chapter 2 Introduction to Classical Propositional Logic PART 1: Classical Propositional Model Assumptions PART 2: Syntax

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

Efficiently merging symbolic rules into integrated rules

Efficiently merging symbolic rules into integrated rules Efficiently merging symbolic rules into integrated rules Jim Prentzas a, Ioannis Hatzilygeroudis b a Democritus University of Thrace, School of Education Sciences Department of Education Sciences in Pre-School

More information

What You Must Remember When Processing Data Words

What You Must Remember When Processing Data Words What You Must Remember When Processing Data Words Michael Benedikt, Clemens Ley, and Gabriele Puppis Oxford University Computing Laboratory, Park Rd, Oxford OX13QD UK Abstract. We provide a Myhill-Nerode-like

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

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

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Belief revision: A vade-mecum

Belief revision: A vade-mecum Belief revision: A vade-mecum Peter Gärdenfors Lund University Cognitive Science, Kungshuset, Lundagård, S 223 50 LUND, Sweden Abstract. This paper contains a brief survey of the area of belief revision

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

Fuzzy Propositional Logic for the Knowledge Representation

Fuzzy Propositional Logic for the Knowledge Representation Fuzzy Propositional Logic for the Knowledge Representation Alexander Savinov Institute of Mathematics Academy of Sciences Academiei 5 277028 Kishinev Moldova (CIS) Phone: (373+2) 73-81-30 EMAIL: 23LSII@MATH.MOLDOVA.SU

More information

A brief introduction to Logic. (slides from

A brief introduction to Logic. (slides from A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity

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

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION KRIPKE S THEORY OF TRUTH RICHARD G HECK, JR 1. INTRODUCTION The purpose of this note is to give a simple, easily accessible proof of the existence of the minimal fixed point, and of various maximal fixed

More information

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC 1 Motivation and History The origins of the classical propositional logic, classical propositional calculus, as it was, and still often is called,

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

ECE473 Lecture 15: Propositional Logic

ECE473 Lecture 15: Propositional Logic ECE473 Lecture 15: Propositional Logic Jeffrey Mark Siskind School of Electrical and Computer Engineering Spring 2018 Siskind (Purdue ECE) ECE473 Lecture 15: Propositional Logic Spring 2018 1 / 23 What

More information

Modal Dependence Logic

Modal Dependence Logic Modal Dependence Logic Jouko Väänänen Institute for Logic, Language and Computation Universiteit van Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam, The Netherlands J.A.Vaananen@uva.nl Abstract We

More information

Ontologies and Domain Theories

Ontologies and Domain Theories Ontologies and Domain Theories Michael Grüninger Department of Mechanical and Industrial Engineering University of Toronto gruninger@mie.utoronto.ca Abstract Although there is consensus that a formal ontology

More information

It rains now. (true) The followings are not propositions.

It rains now. (true) The followings are not propositions. Chapter 8 Fuzzy Logic Formal language is a language in which the syntax is precisely given and thus is different from informal language like English and French. The study of the formal languages is the

More information

Numbers that are divisible by 2 are even. The above statement could also be written in other logically equivalent ways, such as:

Numbers that are divisible by 2 are even. The above statement could also be written in other logically equivalent ways, such as: 3.4 THE CONDITIONAL & BICONDITIONAL Definition. Any statement that can be put in the form If p, then q, where p and q are basic statements, is called a conditional statement and is written symbolically

More information

What is logic, the topic of this course? There are at least two answers to that question.

What is logic, the topic of this course? There are at least two answers to that question. Applied Logic Lecture 1 CS 486 Spring 2005 Tuesday, January 25, 2005 What is Logic? What is logic, the topic of this course? There are at least two answers to that question. General logic: critical examination

More information

Characterization of Semantics for Argument Systems

Characterization of Semantics for Argument Systems Characterization of Semantics for Argument Systems Philippe Besnard and Sylvie Doutre IRIT Université Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex 4 France besnard, doutre}@irit.fr Abstract

More information

A new Approach to Drawing Conclusions from Data A Rough Set Perspective

A new Approach to Drawing Conclusions from Data A Rough Set Perspective Motto: Let the data speak for themselves R.A. Fisher A new Approach to Drawing Conclusions from Data A Rough et Perspective Zdzisław Pawlak Institute for Theoretical and Applied Informatics Polish Academy

More information

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

Propositional Logic: Logical Agents (Part I)

Propositional Logic: Logical Agents (Part I) Propositional Logic: Logical Agents (Part I) This lecture topic: Propositional Logic (two lectures) Chapter 7.1-7.4 (this lecture, Part I) Chapter 7.5 (next lecture, Part II) Next lecture topic: First-order

More information

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural

More information

A Logic Primer. Stavros Tripakis University of California, Berkeley. Stavros Tripakis (UC Berkeley) EE 144/244, Fall 2014 A Logic Primer 1 / 35

A Logic Primer. Stavros Tripakis University of California, Berkeley. Stavros Tripakis (UC Berkeley) EE 144/244, Fall 2014 A Logic Primer 1 / 35 EE 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2014 A Logic Primer Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 144/244,

More information

An Introduction to Description Logics

An Introduction to Description Logics An Introduction to Description Logics Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, 21.11.2013 Marco Cerami (UPOL) Description Logics 21.11.2013

More information

An Algorithm for Automatic Demonstration of Logical Theorems

An Algorithm for Automatic Demonstration of Logical Theorems An Algorithm for Automatic Demonstration of Logical Theorems Orlando Zaldivar-Zamorategui Jorge Carrera-Bolaños Abstract. The automatic demonstration of theorems (ADT) is and has been an area of intensive

More information

Computing Least Common Subsumers in Description Logics with Existential Restrictions*

Computing Least Common Subsumers in Description Logics with Existential Restrictions* Computing Least Common Subsumers in Description Logics with Existential Restrictions* Franz Baader, Ralf Kiisters, Ralf Molitor LuFg Theoretische Informatik, RWTH Aachen email: {baader,kuesters,molitor}@infonnatik.rwth-aachcn.dc

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

Partial model checking via abstract interpretation

Partial model checking via abstract interpretation Partial model checking via abstract interpretation N. De Francesco, G. Lettieri, L. Martini, G. Vaglini Università di Pisa, Dipartimento di Ingegneria dell Informazione, sez. Informatica, Via Diotisalvi

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität Freiburg Contents 1 Agents

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Bernhard Nebel Albert-Ludwigs-Universität Freiburg May 17, 2016

More information

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct.

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct. EE 244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Temporal logic Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 244, Fall 2016

More information

Sets with Partial Memberships A Rough Set View of Fuzzy Sets

Sets with Partial Memberships A Rough Set View of Fuzzy Sets Sets with Partial Memberships A Rough Set View of Fuzzy Sets T. Y. Lin Department of Mathematics and Computer Science San Jose State University San Jose, California 95192-0103 E-mail: tylin@cs.sjsu.edu

More information

Logical Agent & Propositional Logic

Logical Agent & Propositional Logic Logical Agent & Propositional Logic Berlin Chen 2005 References: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Chapter 7 2. S. Russell s teaching materials Introduction The representation

More information

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer Artificial Intelligence Propositional Logic Copyright 2011 Dieter Fensel and Florian Fischer 1 Where are we? # Title 1 Introduction 2 Propositional Logic 3 Predicate Logic 4 Reasoning 5 Search Methods

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

22c:145 Artificial Intelligence

22c:145 Artificial Intelligence 22c:145 Artificial Intelligence Fall 2005 Propositional Logic Cesare Tinelli The University of Iowa Copyright 2001-05 Cesare Tinelli and Hantao Zhang. a a These notes are copyrighted material and may not

More information

On the Progression of Situation Calculus Basic Action Theories: Resolving a 10-year-old Conjecture

On the Progression of Situation Calculus Basic Action Theories: Resolving a 10-year-old Conjecture On the Progression of Situation Calculus Basic Action Theories: Resolving a 10-year-old Conjecture Stavros Vassos and Hector J Levesque Department of Computer Science University of Toronto Toronto, ON,

More information

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic Dieter Fensel and Dumitru Roman www.sti-innsbruck.at Copyright 2008 STI INNSBRUCK www.sti-innsbruck.at Where are we? # Title 1 Introduction 2 Propositional Logic

More information

Splitting a Default Theory. Hudson Turner. University of Texas at Austin.

Splitting a Default Theory. Hudson Turner. University of Texas at Austin. Splitting a Default Theory Hudson Turner Department of Computer Sciences University of Texas at Austin Austin, TX 7872-88, USA hudson@cs.utexas.edu Abstract This paper presents mathematical results that

More information

LOGIC PROPOSITIONAL REASONING

LOGIC PROPOSITIONAL REASONING LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1

More information

Logic and Propositional Calculus

Logic and Propositional Calculus CHAPTER 4 Logic and Propositional Calculus 4.1 INTRODUCTION Many algorithms and proofs use logical expressions such as: IF p THEN q or If p 1 AND p 2, THEN q 1 OR q 2 Therefore it is necessary to know

More information

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

Preliminaries to the Theory of Computation

Preliminaries to the Theory of Computation Preliminaries to the Theory of Computation 2 In this chapter, we explain mathematical notions, terminologies, and certain methods used in convincing logical arguments that we shall have need of throughout

More information

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Mirosław Truszczyński Department of Computer Science, University of Kentucky, Lexington, KY 40506, USA Abstract. We present

More information

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

More information

Classification Based on Logical Concept Analysis

Classification Based on Logical Concept Analysis Classification Based on Logical Concept Analysis Yan Zhao and Yiyu Yao Department of Computer Science, University of Regina, Regina, Saskatchewan, Canada S4S 0A2 E-mail: {yanzhao, yyao}@cs.uregina.ca Abstract.

More information

Towards a Structured Analysis of Approximate Problem Solving: ACaseStudy in Classification

Towards a Structured Analysis of Approximate Problem Solving: ACaseStudy in Classification Towards a Structured Analysis of Approximate Problem Solving: ACaseStudy in Classification Perry Groot and Annette ten Teije and Frank van Harmelen Division of Mathematics and Computer Science, Faculty

More information

MAT2345 Discrete Math

MAT2345 Discrete Math Fall 2013 General Syllabus Schedule (note exam dates) Homework, Worksheets, Quizzes, and possibly Programs & Reports Academic Integrity Do Your Own Work Course Web Site: www.eiu.edu/~mathcs Course Overview

More information

A set theoretic view of the ISA hierarchy

A set theoretic view of the ISA hierarchy Loughborough University Institutional Repository A set theoretic view of the ISA hierarchy This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: CHEUNG,

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

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

More information

CSE507. Course Introduction. Computer-Aided Reasoning for Software. Emina Torlak

CSE507. Course Introduction. Computer-Aided Reasoning for Software. Emina Torlak Computer-Aided Reasoning for Software CSE507 courses.cs.washington.edu/courses/cse507/14au/ Course Introduction Emina Torlak emina@cs.washington.edu Today What is this course about? Course logistics Review

More information

Foundations of Mathematics

Foundations of Mathematics Foundations of Mathematics Andrew Monnot 1 Construction of the Language Loop We must yield to a cyclic approach in the foundations of mathematics. In this respect we begin with some assumptions of language

More information

Theorem Proving in the Propositional Algebra. Geoff Phillips **************

Theorem Proving in the Propositional Algebra. Geoff Phillips ************** 4/12/2006 Theorem Proving in the Propositional Algebra Geoff Phillips ************** Introduction This paper deals with Propositional Logic as described in (Fitting (1990)). The objects of Propositional

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Frank Hutter and Bernhard Nebel Albert-Ludwigs-Universität Freiburg

More information

Corresponding Regions in Euler Diagrams

Corresponding Regions in Euler Diagrams orresponding Regions in Euler Diagrams John Howse, Gemma Stapleton, Jean Flower, and John Taylor School of omputing & Mathematical Sciences niversity of righton, righton, K {John.Howse,G.E.Stapleton,J..Flower,John.Taylor}@bton.ac.uk

More information

Logical Agent & Propositional Logic

Logical Agent & Propositional Logic Logical Agent & Propositional Logic Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. S. Russell and P. Norvig. Artificial Intelligence:

More information

On minimal models of the Region Connection Calculus

On minimal models of the Region Connection Calculus Fundamenta Informaticae 69 (2006) 1 20 1 IOS Press On minimal models of the Region Connection Calculus Lirong Xia State Key Laboratory of Intelligent Technology and Systems Department of Computer Science

More information

Review of Predicate Logic

Review of Predicate Logic Review of Predicate Logic Martin Held FB Computerwissenschaften Universität Salzburg A-5020 Salzburg, Austria held@cosy.sbg.ac.at 19. Jänner 2016 COMPUTERWISSENSCHAFTEN Legal Fine Print and Disclaimer

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

With Question/Answer Animations. Chapter 2

With Question/Answer Animations. Chapter 2 With Question/Answer Animations Chapter 2 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Sequences and Summations Types of

More information

Integrating State Constraints and Obligations in Situation Calculus

Integrating State Constraints and Obligations in Situation Calculus Integrating State Constraints and Obligations in Situation Calculus Robert Demolombe ONERA-Toulouse 2, Avenue Edouard Belin BP 4025, 31055 Toulouse Cedex 4, France. Robert.Demolombe@cert.fr Pilar Pozos

More information

CS:4420 Artificial Intelligence

CS:4420 Artificial Intelligence CS:4420 Artificial Intelligence Spring 2018 Propositional Logic Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

Chapter 2: Introduction to Propositional Logic

Chapter 2: Introduction to Propositional Logic Chapter 2: Introduction to Propositional Logic PART ONE: History and Motivation Origins: Stoic school of philosophy (3rd century B.C.), with the most eminent representative was Chryssipus. Modern Origins:

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Journal of Artificial Intelligence Research 1 (1993) 1-15 Submitted 6/91; published 9/91 Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Enrico Giunchiglia Massimo

More information

Advanced Topics in LP and FP

Advanced Topics in LP and FP Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection

More information

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World Agenda Artificial Intelligence 10. Propositional Reasoning, Part I: Principles How to Think About What is True or False 1 Introduction Álvaro Torralba Wolfgang Wahlster 2 Propositional Logic 3 Resolution

More information

Rule-Based Classifiers

Rule-Based Classifiers Rule-Based Classifiers For completeness, the table includes all 16 possible logic functions of two variables. However, we continue to focus on,,, and. 1 Propositional Logic Meta-theory. Inspection of a

More information

Boolean Algebra, Gates and Circuits

Boolean Algebra, Gates and Circuits Boolean Algebra, Gates and Circuits Kasper Brink November 21, 2017 (Images taken from Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc.) Outline Last week: Von

More information

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT 1 Algebraic Methods In an algebraic system Boolean constraints are expressed as a system of algebraic equations or inequalities which has a solution if and only if the constraints are satisfiable. Equations

More information