CS344: Introduction to Artificial Intelligence (associated lab: CS386)

Size: px
Start display at page:

Download "CS344: Introduction to Artificial Intelligence (associated lab: CS386)"

Transcription

1 CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 1 to 6: Introduction; Fuzzy sets and logic; inverted pendulum 7 th, 8 th, 9 th 14 th, 15 th, 21 st Jan, 2013

2 Basic Facts Faculty instructor: Dr. Pushpak Bhattacharyya ( TAship: Kashyap, Bibek, Samiulla, Lahari, Jayaprakash, Nikhil, Kritika and Shuvam Course home page (will be up soon) Venue: LCC 02, opp KR bldg 1 hour lectures 3 times a week: Mon-10.30, Tue-11.30, Thu (slot 2)

3 Perspective

4 AI Perspective (post-web) Robotics NLP Expert Systems Search, Reasoning, Learning IR Planning Computer Vision

5 From Wikipedia Artificial intelligence (AI) is the intelligence of machines and the branch of computer science that aims to create it. Textbooks define the field as "the study and design of intelligent agents" [1] where an intelligent agent is a system that perceives its environment and takes actions that maximize its chances of success. [2] John McCarthy, who coined the term in 1956, [3] defines it as "the science and engineering of making intelligent machines." [4] The field was founded on the claim that a central property of humans, intelligence the sapience of Homo sapiens can be so precisely described that it can be simulated by a machine. [5] This raises philosophical issues about the nature of the mind and limits of scientific hubris, issues which have been addressed by myth, fiction and philosophy since antiquity. [6] Artificial intelligence has been the subject of optimism, [7] but has also suffered setbacks [8] and, today, has become an essential part of the technology industry, providing the heavy lifting for many of the most difficult problems in computer science. [9] AI research is highly technical and specialized, deeply divided into subfields that often fail to communicate with each other. [10] Subfields have grown up around particular institutions, the work of individual researchers, the solution of specific problems, longstanding differences of opinion about how AI should be done and the application of widely differing tools. The central problems of AI include such traits as reasoning, knowledge, planning, learning, communication, perception and the ability to move and manipulate objects. [11] General intelligence (or "strong AI") is still a long-term goal of (some) research. [12]

6 Topics to be covered (1/2) Search Logic General Graph Search, A*, Admissibility, Monotonicity Iterative Deepening, α-β pruning, Application in game playing Formal System, axioms, inference rules, completeness, soundness and consistency Propositional Calculus, Predicate Calculus, Fuzzy Logic, Description Logic, Web Ontology Language Knowledge Representation Semantic Net, Frame, Script, Conceptual Dependency Machine Learning Decision Trees, Neural Networks, Support Vector Machines, Self Organization or Unsupervised Learning

7 Topics to be covered (2/2) Evolutionary Computation Genetic Algorithm, Swarm Intelligence Probabilistic Methods Hidden Markov Model, Maximum Entropy Markov Model, Conditional Random Field IR and AI Modeling User Intention, Ranking of Documents, Query Expansion, Personalization, User Click Study Planning Deterministic Planning, Stochastic Methods Man and Machine Natural Language Processing, Computer Vision, Expert Systems Philosophical Issues Is AI possible, Cognition, AI and Rationality, Computability and AI, Creativity

8 Foundational Points Church Turing Hypothesis Anything that is computable is computable by a Turing Machine Conversely, the set of functions computed by a Turing Machine is the set of ALL and ONLY computable functions

9 Turing Machine Finite State Head (CPU) Infinite Tape (Memory)

10 Foundational Points (contd) Physical Symbol System Hypothesis (Newel and Simon) For Intelligence to emerge it is enough to manipulate symbols

11 Foundational Points (contd) Society of Mind (Marvin Minsky) Intelligence emerges from the interaction of very simple information processing units Whole is larger than the sum of parts!

12 Foundational Points (contd) Limits to computability Halting problem: It is impossible to construct a Universal Turing Machine that given any given pair <M, I> of Turing Machine M and input I, will decide if M halts on I What this has to do with intelligent computation? Think!

13 Foundational Points (contd) Limits to Automation Godel Theorem: A sufficiently powerful formal system cannot be BOTH complete and consistent Sufficiently powerful : at least as powerful as to be able to capture Peano s Arithmetic Sets limits to automation of reasoning

14 Foundational Points (contd) Limits in terms of time and Space NP-complete and NP-hard problems: Time for computation becomes extremely large as the length of input increases PSPACE complete: Space requirement becomes extremely large Sets limits in terms of resources

15 Two broad divisions of Theoretical CS Theory A Algorithms and Complexity Theory B Formal Systems and Logic

16 AI as the forcing function Time sharing system in OS Machine giving the illusion of attending simultaneously with several people Compilers Raising the level of the machine for better man machine interface Arose from Natural Language Processing (NLP) NLP in turn called the forcing function for AI

17 Allied Disciplines Philosophy Maths Economics Psychology Brain Science Knowledge Rep., Logic, Foundation of AI (is AI possible?) Search, Analysis of search algos, logic Expert Systems, Decision Theory, Principles of Rational Behavior Behavioristic insights into AI programs Learning, Neural Nets Physics Computer Sc. & Engg. Systems for AI Learning, Information Theory & AI, Entropy, Robotics

18 Goal of Teaching the course Concept building: firm grip on foundations, clear ideas Coverage: grasp of good amount of material, advances Inspiration: get the spirit of AI, motivation to take up further work

19 Resources Main Text: Artificial Intelligence: A Modern Approach by Russell & Norvik, Pearson, Other Main References: Principles of AI - Nilsson AI - Rich & Knight Knowledge Based Systems Mark Stefik Journals AI, AI Magazine, IEEE Expert, Area Specific Journals e.g, Computational Linguistics Conferences IJCAI, AAAI Positively attend lectures!

20 Grading Midsem Endsem Paper reading (possibly seminar) Quizzes

21 Modeling Human Reasoning Fuzzy Logic

22 Fuzzy Logic tries to capture the human ability of reasoning with imprecise information Works with imprecise statements such as: In a process control situation, If the temperature is moderate and the pressure is high, then turn the knob slightly right The rules have Linguistic Variables, typically adjectives qualified by adverbs (adverbs are hedges).

23 Alternatives to fuzzy logic model human reasoning (1/2) Non-numerical Non monotonic Logic Negation by failure ( innocent unless proven guilty ) Abduction (P Q AND Q gives P) Modal Logic New operators beyond AND, OR, IMPLIES, Quantification etc. Naïve Physics

24 Abduction Example If there is rain (P) Then there will be no picnic (Q) Abductive reasoning: Observation: There was no picnic(q) Conclude : There was rain(p); in absence of any other evidence

25 Alternatives to fuzzy logic model human reasoning (2/2) Numerical Fuzzy Logic Probability Theory Bayesian Decision Theory Possibility Theory Uncertainty Factor based on Dempster Shafer Evidence Theory (e.g. yellow_eyes jaundice; 0.3)

26 Linguistic Variables Fuzzy sets are named by Linguistic Variables (typically adjectives). Underlying the LV is a numerical quantity E.g. For tall (LV), height is numerical quantity. Profile of a LV is the plot shown in the figure shown alongside. µ tall (h) height h

27 Example Profiles µ rich (w) µ poor (w) wealth w wealth w

28 Example Profiles µ A (x) µ A (x) x Profile representing moderate (e.g. moderately rich) x Profile representing extreme

29 Concept of Hedge Hedge is an intensifier Example: LV = tall, LV 1 = very tall, LV 2 = somewhat tall 1 somewhat tall tall very operation: µ very tall (x) = µ 2 tall(x) µ tall (h) very tall somewhat operation: µ somewhat tall (x) = (µ tall (x)) 0 h

30 An Example Controlling an inverted pendulum: θ. d / dt = angular velocity Motor i=current

31 The goal: To keep the pendulum in vertical position (θ=0) in dynamic equilibrium. Whenever the pendulum departs from vertical, a torque is produced by sending a current i Controlling factors for appropriate current Angle θ, Angular velocity θ. Some intuitive rules If θ is +ve small and θ. is ve small then current is zero If θ is +ve small and θ. is +ve small then current is ve medium

32 Control Matrix θ. θ -ve med -ve small Zero +ve small +ve med -ve med -ve small +ve med +ve small Zero Region of interest Zero +ve small Zero -ve small +ve small Zero -ve small -ve med +ve med

33 Each cell is a rule of the form If θ is <> and θ. is <> then i is <> 4 Centre rules 1. if θ = = Zero and θ. = = Zero then i = Zero 2. if θ is +ve small and θ. = = Zero then i is ve small 3. if θ is ve small and θ. = = Zero then i is +ve small 4. if θ = = Zero and θ. is +ve small then i is ve small 5. if θ = = Zero and θ. is ve small then i is +ve small

34 Linguistic variables 1. Zero 2. +ve small 3. -ve small Profiles -ve small zero 1 +ve small -ε -ε ε ε ε +ε Quantity (θ, θ., i)

35 Inference procedure 1. Read actual numerical values of θ and θ. 2. Get the corresponding µ values µ Zero, µ (+ve small), µ (-ve small). This is called FUZZIFICATION 3. For different rules, get the fuzzy I-values from the R.H.S of the rules. 4. Collate by some method and get ONE current value. This is called DEFUZZIFICATION 5. Result is one numerical value of i.

36 Rules Involved if θ is Zero and dθ/dt is Zero then i is Zero if θ is Zero and dθ/dt is +ve small then i is ve small if θ is +ve small and dθ/dt is Zero then i is ve small if θ +ve small and dθ/dt is +ve small then i is -ve medium -ve small zero 1 +ve small -ε -ε ε ε ε +ε Quantity (θ, θ., i)

37 Fuzzification Suppose θ is 1 radian and dθ/dt is 1 rad/sec µ zero (θ =1)=0.8 (say) Μ +ve-small (θ =1)=0.4 (say) µ zero (dθ/dt =1)=0.3 (say) µ +ve-small (dθ/dt =1)=0.7 (say) -ve small zero 1 +ve small -ε -ε ε ε ε +ε 1rad 1 rad/sec Quantity (θ, θ., i)

38 Fuzzification Suppose θ is 1 radian and dθ/dt is 1 rad/sec µ zero (θ =1)=0.8 (say) µ +ve-small (θ =1)=0.4 (say) µ zero (dθ/dt =1)=0.3 (say) µ +ve-small (dθ/dt =1)=0.7 (say) if θ is Zero and dθ/dt is Zero then i is Zero min(0.8, 0.3)=0.3 hence µ zero (i)=0.3 if θ is Zero and dθ/dt is +ve small then i is ve small min(0.8, 0.7)=0.7 hence µ -ve-small (i)=0.7 if θ is +ve small and dθ/dt is Zero then i is ve small min(0.4, 0.3)=0.3 hence µ-ve-small(i)=0.3 if θ +ve small and dθ/dt is +ve small then i is -ve medium min(0.4, 0.7)=0.4 hence µ -ve-medium (i)=0.4

39 Finding i -ve medium -ve small zero 1 -ve small ε ε +ε 0.3 Possible candidates: i=0.5 and -0.5 from the zero profile and µ=0.3 i=-0.1 and -2.5 from the -ve-small profile and µ=0.3 i=-1.7 and -4.1 from the -ve-small profile and µ=0.3 -ε 2

40 Defuzzification: Finding i by the centroid method -ve medium ve small -2.5 Required i value Centroid of three trapezoids -ε +ε zero Possible candidates: i is the x-coord of the centroid of the areas given by the blue trapezium, the green trapeziums and the black trapezium

41 Fuzzy Sets

42 Theory of Fuzzy Sets Intimate connection between logic and set theory. Given any set S and an element e, there is a very natural predicate, µ s (e) called as the belongingness predicate. The predicate is such that, µ s (e) = 1, iff e S = 0, otherwise For example, S = {1, 2, 3, 4}, µ s (1) = 1 and µ s (5) = 0 A predicate P(x) also defines a set naturally. S = {x P(x) is true} For example, even(x) defines S = {x x is even}

43 Fuzzy Set Theory (contd.) Fuzzy set theory starts by questioning the fundamental assumptions of set theory viz., the belongingness predicate, µ, value is 0 or 1. Instead in Fuzzy theory it is assumed that, µ s (e) = [0, 1] Fuzzy set theory is a generalization of classical set theory aka called Crisp Set Theory. In real life, belongingness is a fuzzy concept. Example: Let, T = tallness µ T (height=6.0ft ) = 1.0 µ T (height=3.5ft) = 0.2 An individual with height 3.5ft is tall with a degree 0.2

44 Representation of Fuzzy sets Let U = {x 1,x 2,..,x n } U = n The various sets composed of elements from U are presented as points on and inside the n-dimensional hypercube. The crisp sets are the corners of the hypercube. µ A (x 1 )=0.3 (0,1) (1,1) µ A (x 2 )=0.4 U={x 1,x 2 } x 2 (x 1,x 2 ) x 2 A(0.3,0.4) (0,0) (1,0) Φ x 1 x 1 A fuzzy set A is represented by a point in the n-dimensional space as the point {µ A (x 1 ), µ A (x 2 ), µ A (x n )}

45 Degree of fuzziness The centre of the hypercube is the most fuzzy set. Fuzziness decreases as one nears the corners Measure of fuzziness Called the entropy of a fuzzy set Fuzzy set Farthest corner E( S) d( S, nearest) / d( S, farthest) Entropy Nearest corner

46 (0,1) (1,1) x 2 A (0.5,0.5) d(a, nearest) (0,0) x 1 (1,0) d(a, farthest)

47 Definition Distance between two fuzzy sets d( S, S ) n s ( x ) ( x i s2 i i 1 ) L 1 - norm Let C = fuzzy set represented by the centre point d(c,nearest) = = 1 = d(c,farthest) => E(C) = 1

48 Definition Cardinality of a fuzzy set n m( s) s ( x i ) (generalization of cardinality of i 1 classical sets) Union, Intersection, complementation, subset hood s s ( x) max( s ( x), s ( x)), x U s s ( x) min( s ( x), s ( x)), x U s c ( x) 1 ( x) s

49 Example of Operations on Fuzzy Set Let us define the following: Universe U={X 1,X 2,X 3 } Fuzzy sets A={0.2/X 1, 0.7/X 2, 0.6/X 3 } and B={0.7/X 1,0.3/X 2,0.5/X 3 } Then Cardinality of A and B are computed as follows: Cardinality of A= A = =1.5 Cardinality of B= B = =1.5 While distance between A and B d(a,b)= ) =1.0 What does the cardinality of a fuzzy set mean? In crisp sets it means the number of elements in the set.

50 Example of Operations on Fuzzy Set (cntd.) Universe U={X 1,X 2,X 3 } Fuzzy sets A={0.2/X 1,0.7/X 2,0.6/X 3 } and B={0.7/X 1,0.3/X 2,0.5/X 3 } A U B= {0.7/X 1, 0.7/X 2, 0.6/X 3 } A B= {0.2/X1, 0.3/X2, 0.5/X3} A c = {0.8/X 1, 0.3/X 2, 0.4/X 3 }

51 Laws of Set Theory The laws of Crisp set theory also holds for fuzzy set theory (verify them) These laws are listed below: Commutativity: A U B = B U A Associativity: A U ( B U C )=( A U B ) U C Distributivity: A U ( B C )=( A C ) U ( B C) De Morgan s Law: (A U B) C = A C B C A ( B U C)=( A U C) ( B U C) (A B) C = A C U B C

52 Distributivity Property Proof Let Universe U={x 1,x 2, x n } p i =µ AU(B C) (x i ) =max[µ A (x i ), µ (B C) (x i )] = max[µ A (x i ), min(µ B (x i ),µ C (x i ))] q i =µ (AUB) (AUC) (x i ) =min[max(µ A (x i ), µ B (x i )), max(µ A (x i ), µ C (x i ))]

53 Distributivity Property Proof Case I: 0<µ C <µ B <µ A <1 p i = max[µ A (x i ), min(µ B (x i ),µ C (x i ))] = max[µ A (x i ), µ C (x i )]=µ A (x i ) q i =min[max(µ A (x i ), µ B (x i )), max(µ A (x i ), µ C (x i ))] = min[µ A (x i ), µ A (x i )]=µ A (x i ) Case II: 0<µ C <µ A <µ B <1 p i = max[µ A (x i ), min(µ B (x i ),µ C (x i ))] = max[µ A (x i ), µ C (x i )]=µ A (x i ) q i =min[max(µ A (x i ), µ B (x i )), max(µ A (x i ), µ C (x i ))] = min[µ B (x i ), µ A (x i )]=µ A (x i ) Prove it for rest of the 4 cases.

54 Note on definition by extension and intension S 1 = {x i x i mod 2 = 0 } Intension S 2 = {0,2,4,6,8,10,..} extension

55 How to define subset hood?

56 Meaning of fuzzy subset Suppose, following classical set theory we say B A if ( x) ( x) x B A Consider the n-hyperspace representation of A and B (0,1) (1,1) x 2. B 1 A Region where ( x) ( x) B A.B 2.B 3 (0,0) x 1 (1,0)

57 This effectively means B P(A) CRISPLY P(A) = Power set of A Eg: Suppose A = {0,1,0,1,0,1,.,0,1} 10 4 elements B = {0,0,0,1,0,1,.,0,1} 10 4 elements Isn t B A with a degree? (only differs in the 2 nd element)

58 Subset operator is the odd man out AUB, A B, A c are all Set Constructors while A B is a Boolean Expression or predicate. According to classical logic In Crisp Set theory A B is defined as x x A x B So, in fuzzy set theory A B can be defined as x µ A (x) µ B (x)

59 Zadeh s definition of subsethood goes against the grain of fuzziness theory Another way of defining A B is as follows: x µ A (x) µ B (x) But, these two definitions imply that µ P(B) (A)=1 where P(B) is the power set of B Thus, these two definitions violate the fuzzy principle that every belongingness except Universe is fuzzy

60 Fuzzy definition of subset Measured in terms of fit violation, i.e. violating the condition B ( x) A( x) Degree of subset hood S(A,B)= 1- degree of superset = 1 x max(0, B ( x) m( B) A ( x)) m(b) = cardinality of B = x ( x) B

61 We can show that E( A) S( A A Exercise 1: c, A Show the relationship between entropy and subset hood Exercise 2: Prove that S( B, A) m( A B) / m( B) A c ) Subset hood of B in A

62 Fuzzy sets to fuzzy logic Forms the foundation of fuzzy rule based system or fuzzy expert system Expert System Rules are of the form If C C then C n A i Where C i s are conditions Eg: C 1 =Colour of the eye yellow C 2 = has fever C 3 =high bilurubin A = hepatitis

63 In fuzzy logic we have fuzzy predicates Classical logic P(x 1,x 2,x 3..x n ) = 0/1 Fuzzy Logic P(x 1,x 2,x 3..x n ) = [0,1] Fuzzy OR P( x) Q( y) max( P( x), Q( y)) Fuzzy AND P( x) Q( y) min( P( x), Q( y)) Fuzzy NOT ~ P( x) 1 P( x)

64 Fuzzy Implication Many theories have been advanced and many expressions exist The most used is Lukasiewitz formula t(p) = truth value of a proposition/predicate. In fuzzy logic t(p) = [0,1] t( P Q ) = min[1,1 -t(p)+t(q)] Lukasiewitz definition of implication

65 Fuzzy Inferencing Two methods of inferencing in classical logic Modus Ponens Given p and p q, infer q Modus Tolens Given ~q and p q, infer ~p How is fuzzy inferencing done?

66 A look at reasoning Deduction: p, p q - q Induction: p 1, p 2, p 3, - for_all p Abduction: q, p q - p Default reasoning: Non-monotonic reasoning: Negation by failure If something cannot be proven, its negation is asserted to be true E.g., in Prolog

67 Fuzzy Modus Ponens in terms of truth values Given t(p)=1 and t(p q)=1, infer t(q)=1 In fuzzy logic, given t(p)>=a, 0<=a<=1 and t(p >q)=c, 0<=c<=1 What is t(q) How much of truth is transferred over the channel p q

68 Lukasiewitz formula for Fuzzy Implication t(p) = truth value of a proposition/predicate. In fuzzy logic t(p) = [0,1] t( P Q ) = min[1,1 -t(p)+t(q)] Lukasiewitz definition of implication

69 Use Lukasiewitz definition t(p q) = min[1,1 -t(p)+t(q)] We have t(p->q)=c, i.e., min[1,1 -t(p)+t(q)]=c Case 1: c=1 gives 1 -t(p)+t(q)>=1, i.e., t(q)>=a Otherwise, 1 -t(p)+t(q)=c, i.e., t(q)>=c+a-1 Combining, t(q)=max(0,a+c-1) This is the amount of truth transferred over the channel p q

70 Two equations consistent Sub( B, A) 1 Sup( B, A) x U max(0, ( x ) ( x )) i 1 where U { x1, x2,..., xn} ( x ) x U i B i A i B i t( ( x ) ( x )) min(1,1 t( ( x )) t( ( x ))) B i A i B i A i These two equations are consistent with each other

71 Proof Let us consider two crisp sets A and B 1 U 2 U B A A B 3 U A B 4 U A B

72 Proof (contd ) Case I: ( x) 1 only when ( x) 1 So, ( x ) ( x ) 0 So, A i B i B i A i Sub( B, A) ( x ) x U i B i x U i max(0, ( x ) ( x )) x U i B i A i ( x ) B i

73 Proof (contd ) Since ( x ) ( x ) 0 B i A i L t( ( x ) ( x )) min(1,1 ( t( ( x )) t( ( x )))) B i A i B i A i min(1,1 ( ve)) 1 Thus, in case I these two equations are consistent with each other (prove for other cases)

74 Proof of the fact that S(B,A) is consistent with crisp set theory Case II (of the figure): ( x) 1 if, ( x) 1 So, ( x) ( x) 0 So, B i A i B i A i Sub( B, A) 1 x U i max(0, ( x ) ( x )) x U i B i A i ( x ) B i

75 Proof (contd ) ( x ) ( x ) 0 B i A i A( xi ) Sub( B, A) 1 1, ( x ) 0 Sub( B, A) 1 Thus, in case II also, these two equations are consistent with each other. B i

76 Proof of case III Case III: In This case, ( x) ( x) 0 for x ( B A) B i A i i and ( x ) ( x ) 0 otherwise B i A i So, Sub( B, A) 1 x U i max(0, ( x ) ( x )) x U i B i A i ( x ) B i

77 Proof (contd ) ( x ) ( x ) 0 only for x ( B A) B i A i i S( B, A) 1 B A A B B B Hence case III is also consistent across classical set theory and fuzzy set theory

78 Proof of case IV Case IV: In This case, ( x ) ( x) 1 for x A B i A i i, ( x) ( x) 1 for x B B i A i i and ( x) ( x) 0 otherwise B i A i So, Sub( B, A) 1 x U i max(0, ( x ) ( x )) x U i B i A i ( x ) B i

79 Proof (contd ) and ( x ) ( x ) 1 only for x B B i A i i <=0 otherwise, B S( B, A) 1 0 B Thus, in case IV also, these two equations are consistent with each other. Hence we can say that these two equations are consistent with each other in general.

CS344: Introduction to Artificial Intelligence (associated lab: CS386)

CS344: Introduction to Artificial Intelligence (associated lab: CS386) CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 2: Fuzzy Logic and Inferencing Disciplines which form the core of AI- inner circle

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

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

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

COMP3702/7702 Artificial Intelligence Week1: Introduction Russell & Norvig ch.1-2.3, Hanna Kurniawati

COMP3702/7702 Artificial Intelligence Week1: Introduction Russell & Norvig ch.1-2.3, Hanna Kurniawati COMP3702/7702 Artificial Intelligence Week1: Introduction Russell & Norvig ch.1-2.3, 3.1-3.3 Hanna Kurniawati Today } What is Artificial Intelligence? } Better know what it is first before committing the

More information

Discrete Mathematics and Probability Theory Fall 2012 Vazirani Note 1

Discrete Mathematics and Probability Theory Fall 2012 Vazirani Note 1 CS 70 Discrete Mathematics and Probability Theory Fall 2012 Vazirani Note 1 Course Outline CS70 is a course on "Discrete Mathematics and Probability for Computer Scientists." The purpose of the course

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

Chapter 13 Uncertainty

Chapter 13 Uncertainty Chapter 13 Uncertainty CS4811 Artificial Intelligence Nilufer Onder Department of Computer Science Michigan Technological University 1 Outline Types of uncertainty Sources of uncertainty Nonmonotonic logics

More information

CS70 is a course about on Discrete Mathematics for Computer Scientists. The purpose of the course is to teach you about:

CS70 is a course about on Discrete Mathematics for Computer Scientists. The purpose of the course is to teach you about: CS 70 Discrete Mathematics for CS Fall 2006 Papadimitriou & Vazirani Lecture 1 Course Outline CS70 is a course about on Discrete Mathematics for Computer Scientists. The purpose of the course is to teach

More information

Lecture 1: Introduction & Fuzzy Control I

Lecture 1: Introduction & Fuzzy Control I Lecture 1: Introduction & Fuzzy Control I Jens Kober Robert Babuška Knowledge-Based Control Systems (SC42050) Cognitive Robotics 3mE, Delft University of Technology, The Netherlands 12-02-2018 Lecture

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

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

Contents Propositional Logic: Proofs from Axioms and Inference Rules

Contents Propositional Logic: Proofs from Axioms and Inference Rules Contents 1 Propositional Logic: Proofs from Axioms and Inference Rules... 1 1.1 Introduction... 1 1.1.1 An Example Demonstrating the Use of Logic in Real Life... 2 1.2 The Pure Propositional Calculus...

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Originals slides by Dr. Baek and Dr. Still, adapted by J. Stelovsky Based on slides Dr. M. P. Frank and Dr. J.L. Gross

More information

cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference

cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference quantifiers x P(x) P(x) is true for every x in the domain read as for all x, P of x x P x There is an x in the

More information

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

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

More information

This time: Fuzzy Logic and Fuzzy Inference

This time: Fuzzy Logic and Fuzzy Inference This time: Fuzzy Logic and Fuzzy Inference Why use fuzzy logic? Tipping example Fuzzy set theory Fuzzy inference CS 460, Sessions 22-23 1 What is fuzzy logic? A super set of Boolean logic Builds upon fuzzy

More information

Guest Speaker. CS 416 Artificial Intelligence. First-order logic. Diagnostic Rules. Causal Rules. Causal Rules. Page 1

Guest Speaker. CS 416 Artificial Intelligence. First-order logic. Diagnostic Rules. Causal Rules. Causal Rules. Page 1 Page 1 Guest Speaker CS 416 Artificial Intelligence Lecture 13 First-Order Logic Chapter 8 Topics in Optimal Control, Minimax Control, and Game Theory March 28 th, 2 p.m. OLS 005 Onesimo Hernandez-Lerma

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

Reasoning in Uncertain Situations

Reasoning in Uncertain Situations 9 Reasoning in Uncertain Situations 9.0 Introduction 9.1 Logic-Based Abductive Inference 9.2 Abduction: Alternatives to Logic 9.3 The Stochastic Approach to Uncertainty 9.4 Epilogue and References 9.5

More information

Adam Blank Spring 2017 CSE 311. Foundations of Computing I

Adam Blank Spring 2017 CSE 311. Foundations of Computing I Adam Blank Spring 2017 CSE 311 Foundations of Computing I Pre-Lecture Problem Suppose that p, and p (q r) are true. Is q true? Can you prove it with equivalences? CSE 311: Foundations of Computing Lecture

More information

Where are we? Operations on fuzzy sets (cont.) Fuzzy Logic. Motivation. Crisp and fuzzy sets. Examples

Where are we? Operations on fuzzy sets (cont.) Fuzzy Logic. Motivation. Crisp and fuzzy sets. Examples Operations on fuzzy sets (cont.) G. J. Klir, B. Yuan, Fuzzy Sets and Fuzzy Logic: Theory and Applications, Prentice-Hall, chapters -5 Where are we? Motivation Crisp and fuzzy sets alpha-cuts, support,

More information

Pei Wang( 王培 ) Temple University, Philadelphia, USA

Pei Wang( 王培 ) Temple University, Philadelphia, USA Pei Wang( 王培 ) Temple University, Philadelphia, USA Artificial General Intelligence (AGI): a small research community in AI that believes Intelligence is a general-purpose capability Intelligence should

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

Motivation. From Propositions To Fuzzy Logic and Rules. Propositional Logic What is a proposition anyway? Outline

Motivation. From Propositions To Fuzzy Logic and Rules. Propositional Logic What is a proposition anyway? Outline Harvard-MIT Division of Health Sciences and Technology HST.951J: Medical Decision Support, Fall 2005 Instructors: Professor Lucila Ohno-Machado and Professor Staal Vinterbo Motivation From Propositions

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

Fuzzy Systems. Introduction

Fuzzy Systems. Introduction Fuzzy Systems Introduction Prof. Dr. Rudolf Kruse Christian Moewes {kruse,cmoewes}@iws.cs.uni-magdeburg.de Otto-von-Guericke University of Magdeburg Faculty of Computer Science Department of Knowledge

More information

Fuzzy Logic. By Clifton F. Cobb

Fuzzy Logic. By Clifton F. Cobb Fuzzy Logic By Clifton F. Cobb Abstract. Theroleoflogicinmathematicalactivitiesis indisputable. Indeed, it has become a cornerstone for many of the important achievements in the field of mathematics. This

More information

Today s s lecture. Lecture 16: Uncertainty - 6. Dempster-Shafer Theory. Alternative Models of Dealing with Uncertainty Information/Evidence

Today s s lecture. Lecture 16: Uncertainty - 6. Dempster-Shafer Theory. Alternative Models of Dealing with Uncertainty Information/Evidence Today s s lecture Lecture 6: Uncertainty - 6 Alternative Models of Dealing with Uncertainty Information/Evidence Dempster-Shaffer Theory of Evidence Victor Lesser CMPSCI 683 Fall 24 Fuzzy logic Logical

More information

School of EECS Washington State University. Artificial Intelligence

School of EECS Washington State University. Artificial Intelligence School of EECS Washington State University 1 } Webpage: www.eecs.wsu.edu/~holder/courses/ai } Email (holder@wsu.edu) } Blackboard Learn (learn.wsu.edu) } mywsu (my.wsu.edu) 2 Readings: Chapter 1 3 } John

More information

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001 Logic Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001 Last Lecture Games Cont. α-β pruning Outline Games with chance, e.g. Backgammon Logical Agents and thewumpus World

More information

Fuzzy Systems. Introduction

Fuzzy Systems. Introduction Fuzzy Systems Introduction Prof. Dr. Rudolf Kruse Christoph Doell {kruse,doell}@iws.cs.uni-magdeburg.de Otto-von-Guericke University of Magdeburg Faculty of Computer Science Department of Knowledge Processing

More information

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference Outline Logical Agents ECE57 Applied Artificial Intelligence Spring 007 Lecture #6 Logical reasoning Propositional Logic Wumpus World Inference Russell & Norvig, chapter 7 ECE57 Applied Artificial Intelligence

More information

Strong AI vs. Weak AI Automated Reasoning

Strong AI vs. Weak AI Automated Reasoning Strong AI vs. Weak AI Automated Reasoning George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving Artificial intelligence can be classified into two categories:

More information

Seminar Introduction to Fuzzy Logic I

Seminar Introduction to Fuzzy Logic I Seminar Introduction to Fuzzy Logic I Itziar García-Honrado European Centre for Soft-Computing Mieres (Asturias) Spain 05/04/2011 Itziar García-Honrado (ECSC) Fuzzy Logic 05/04/2011 1 / 50 Figure: Crisp

More information

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati"

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning  Hanna Kurniawati COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati" Last week" Main components of PRM" Collision check for a configuration"

More information

Course Introduction. Probabilistic Modelling and Reasoning. Relationships between courses. Dealing with Uncertainty. Chris Williams.

Course Introduction. Probabilistic Modelling and Reasoning. Relationships between courses. Dealing with Uncertainty. Chris Williams. Course Introduction Probabilistic Modelling and Reasoning Chris Williams School of Informatics, University of Edinburgh September 2008 Welcome Administration Handout Books Assignments Tutorials Course

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

Introduction. Foundations of Computing Science. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Introduction. Foundations of Computing Science. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR 1 Introduction Foundations of Computing Science Pallab Dasgupta Professor, Dept. of Computer Sc & Engg 2 Comments on Alan Turing s Paper "On Computable Numbers, with an Application to the Entscheidungs

More information

CITS2211 Discrete Structures Proofs

CITS2211 Discrete Structures Proofs CITS2211 Discrete Structures Proofs Unit coordinator: Rachel Cardell-Oliver August 13, 2017 Highlights 1 Arguments vs Proofs. 2 Proof strategies 3 Famous proofs Reading Chapter 1: What is a proof? Mathematics

More information

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference Outline Logical Agents ECE57 Applied Artificial Intelligence Spring 008 Lecture #6 Logical reasoning Propositional Logic Wumpus World Inference Russell & Norvig, chapter 7 ECE57 Applied Artificial Intelligence

More information

Reasoning. Inference. Knowledge Representation 4/6/2018. User

Reasoning. Inference. Knowledge Representation 4/6/2018. User Reasoning Robotics First-order logic Chapter 8-Russel Representation and Reasoning In order to determine appropriate actions to take, an intelligent system needs to represent information about the world

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

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

More information

Knowledge based Agents

Knowledge based Agents Knowledge based Agents Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University Slides prepared from Artificial Intelligence A Modern approach by Russell & Norvig Knowledge Based Agents

More information

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

BOOLEAN ALGEBRA INTRODUCTION SUBSETS BOOLEAN ALGEBRA M. Ragheb 1/294/2018 INTRODUCTION Modern algebra is centered around the concept of an algebraic system: A, consisting of a set of elements: ai, i=1, 2,, which are combined by a set of operations

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

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.7, 5.5) TOPICS Sets and Functions Propositional and Predicate Logic Logical Operators and Truth Tables Logical Equivalences and Inference

More information

Uncertainty and Rules

Uncertainty and Rules Uncertainty and Rules We have already seen that expert systems can operate within the realm of uncertainty. There are several sources of uncertainty in rules: Uncertainty related to individual rules Uncertainty

More information

Logic and Proofs. (A brief summary)

Logic and Proofs. (A brief summary) Logic and Proofs (A brief summary) Why Study Logic: To learn to prove claims/statements rigorously To be able to judge better the soundness and consistency of (others ) arguments To gain the foundations

More information

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University Formal Epistemology: Lecture Notes Horacio Arló-Costa Carnegie Mellon University hcosta@andrew.cmu.edu Bayesian Epistemology Radical probabilism doesn t insists that probabilities be based on certainties;

More information

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

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

More information

Propositional Logic: Logical Agents (Part I)

Propositional Logic: Logical Agents (Part I) Propositional Logic: Logical Agents (Part I) First Lecture Today (Tue 21 Jun) Read Chapters 1 and 2 Second Lecture Today (Tue 21 Jun) Read Chapter 7.1-7.4 Next Lecture (Thu 23 Jun) Read Chapters 7.5 (optional:

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

Deliberative Agents Knowledge Representation I. Deliberative Agents

Deliberative Agents Knowledge Representation I. Deliberative Agents Deliberative Agents Knowledge Representation I Vasant Honavar Bioinformatics and Computational Biology Program Center for Computational Intelligence, Learning, & Discovery honavar@cs.iastate.edu www.cs.iastate.edu/~honavar/

More information

AE4M33RZN, Fuzzy logic: Introduction, Fuzzy operators

AE4M33RZN, Fuzzy logic: Introduction, Fuzzy operators AE4M33RZN, Fuzzy logic: Introduction, Fuzzy operators Radomír Černoch Faculty of Electrical Engineering, CTU in Prague 2/11/2015 Description logics A description logic is a decideable fragment of first

More information

This time: Fuzzy Logic and Fuzzy Inference

This time: Fuzzy Logic and Fuzzy Inference This time: Fuzzy Logic and Fuzzy Inference Why use fuzzy logic? Tipping example Fuzzy set theory Fuzzy inference CS 460, Sessions 22-23 1 What is fuzzy logic? A super set of Boolean logic Builds upon fuzzy

More information

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1 Propositional Logic: Syntax and Natural Deduction 1 The Plot That Will Unfold I want to provide some key historical and intellectual context to the model theoretic approach to natural language semantics,

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

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

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

Financial Informatics IX: Fuzzy Sets

Financial Informatics IX: Fuzzy Sets Financial Informatics IX: Fuzzy Sets Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College, Dublin-2, IRELAND November 19th, 2008 https://www.cs.tcd.ie/khurshid.ahmad/teaching.html

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 Simple Model for Sequences of Relational State Descriptions

A Simple Model for Sequences of Relational State Descriptions A Simple Model for Sequences of Relational State Descriptions Ingo Thon, Niels Landwehr, and Luc De Raedt Department of Computer Science, Katholieke Universiteit Leuven, Celestijnenlaan 200A, 3001 Heverlee,

More information

Computer Science and Logic A Match Made in Heaven

Computer Science and Logic A Match Made in Heaven A Match Made in Heaven Luca Aceto Reykjavik University Reykjavik, 3 April 2009 Thanks to Moshe Vardi from whom I have drawn inspiration (read stolen ideas ) for this presentation. Why This Talk Today?

More information

Basic Probabilistic Reasoning SEG

Basic Probabilistic Reasoning SEG Basic Probabilistic Reasoning SEG 7450 1 Introduction Reasoning under uncertainty using probability theory Dealing with uncertainty is one of the main advantages of an expert system over a simple decision

More information

SOFT COMPUTING (PECS 3401)-FUZZY LOGIC

SOFT COMPUTING (PECS 3401)-FUZZY LOGIC AS PER THE SYLLABUS OF BPUT FOR SEVENTH SEMESTER OF AE&IE BRANCH. RIT, BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGIC Lecture Notes KISHORE KUMAR SAHU CHAPTER 01 INTRODUCTION TO SOFT COMPUTING ORIGIN

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

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2. CHAPTER 2 Review 2.1 Definitions in Chapter 2 2.1 Set; Element; Member; Universal Set 2.2 Subset 2.3 Proper Subset 2.4 The Empty Set, 2.5 Set Equality 2.6 Cardinality; Infinite Set 2.7 Complement 2.8 Intersection

More information

Lecture 24: Randomized Complexity, Course Summary

Lecture 24: Randomized Complexity, Course Summary 6.045 Lecture 24: Randomized Complexity, Course Summary 1 1/4 1/16 1/4 1/4 1/32 1/16 1/32 Probabilistic TMs 1/16 A probabilistic TM M is a nondeterministic TM where: Each nondeterministic step is called

More information

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics CSC 224/226 Notes Packet #2: Set Theory & Predicate Calculus Barnes Packet #2: Set Theory & Predicate Calculus Applied Discrete Mathematics Table of Contents Full Adder Information Page 1 Predicate Calculus

More information

EEE 8005 Student Directed Learning (SDL) Industrial Automation Fuzzy Logic

EEE 8005 Student Directed Learning (SDL) Industrial Automation Fuzzy Logic EEE 8005 Student Directed Learning (SDL) Industrial utomation Fuzzy Logic Desire location z 0 Rot ( y, φ ) Nail cos( φ) 0 = sin( φ) 0 0 0 0 sin( φ) 0 cos( φ) 0 0 0 0 z 0 y n (0,a,0) y 0 y 0 z n End effector

More information

Knowledge Representation and Reasoning

Knowledge Representation and Reasoning Knowledge Representation and Reasoning Geraint A. Wiggins Professor of Computational Creativity Department of Computer Science Vrije Universiteit Brussel Objectives Knowledge Representation in Logic The

More information

Opleiding Informatica

Opleiding Informatica Opleiding Informatica Tape-quantifying Turing machines in the arithmetical hierarchy Simon Heijungs Supervisors: H.J. Hoogeboom & R. van Vliet BACHELOR THESIS Leiden Institute of Advanced Computer Science

More information

Hybrid Logic and Uncertain Logic

Hybrid Logic and Uncertain Logic Journal of Uncertain Systems Vol.3, No.2, pp.83-94, 2009 Online at: www.jus.org.uk Hybrid Logic and Uncertain Logic Xiang Li, Baoding Liu Department of Mathematical Sciences, Tsinghua University, Beijing,

More information

OPPA European Social Fund Prague & EU: We invest in your future.

OPPA European Social Fund Prague & EU: We invest in your future. OPPA European Social Fund Prague & EU: We invest in your future. AE4M33RZN, Fuzzy logic: Introduction, Fuzzy operators Radomír Černoch 19/11/2012 Faculty of Electrical Engineering, CTU in Prague 1 / 44

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

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Review Goal of logic To check whether given a formula

More information

6. Logical Inference

6. Logical Inference Artificial Intelligence 6. Logical Inference Prof. Bojana Dalbelo Bašić Assoc. Prof. Jan Šnajder University of Zagreb Faculty of Electrical Engineering and Computing Academic Year 2016/2017 Creative Commons

More information

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta CSE 2001: Introduction to Theory of Computation Fall 2012 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cs.yorku.ca/course/2001 9/6/2012 CSE

More information

CHAPTER 11. Introduction to Intuitionistic Logic

CHAPTER 11. Introduction to Intuitionistic Logic CHAPTER 11 Introduction to Intuitionistic Logic Intuitionistic logic has developed as a result of certain philosophical views on the foundation of mathematics, known as intuitionism. Intuitionism was originated

More information

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta CSE 2001: Introduction to Theory of Computation Fall 2013 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.eecs.yorku.ca/course/2001 9/10/2013

More information

Models. Models of Computation, Turing Machines, and the Limits of Turing Computation. Effective Calculability. Motivation for Models of Computation

Models. Models of Computation, Turing Machines, and the Limits of Turing Computation. Effective Calculability. Motivation for Models of Computation Turing Computation /0/ Models of Computation, Turing Machines, and the Limits of Turing Computation Bruce MacLennan Models A model is a tool intended to address a class of questions about some domain of

More information

Logic: Propositional Logic (Part I)

Logic: Propositional Logic (Part I) Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.

More information

Automata Theory. Definition. Computational Complexity Theory. Computability Theory

Automata Theory. Definition. Computational Complexity Theory. Computability Theory Outline THEORY OF COMPUTATION CS363, SJTU What is Theory of Computation? History of Computation Branches and Development Xiaofeng Gao Dept. of Computer Science Shanghai Jiao Tong University 2 The Essential

More information

INTRODUCTION TO NONMONOTONIC REASONING

INTRODUCTION TO NONMONOTONIC REASONING Faculty of Computer Science Chair of Automata Theory INTRODUCTION TO NONMONOTONIC REASONING Anni-Yasmin Turhan Dresden, WS 2017/18 About the Course Course Material Book "Nonmonotonic Reasoning" by Grigoris

More information

Fuzzy Logic and Computing with Words. Ning Xiong. School of Innovation, Design, and Engineering Mälardalen University. Motivations

Fuzzy Logic and Computing with Words. Ning Xiong. School of Innovation, Design, and Engineering Mälardalen University. Motivations /3/22 Fuzzy Logic and Computing with Words Ning Xiong School of Innovation, Design, and Engineering Mälardalen University Motivations Human centric intelligent systems is a hot trend in current research,

More information

CS 4649/7649 Robot Intelligence: Planning

CS 4649/7649 Robot Intelligence: Planning CS 4649/7649 Robot Intelligence: Planning Probability Primer Sungmoon Joo School of Interactive Computing College of Computing Georgia Institute of Technology S. Joo (sungmoon.joo@cc.gatech.edu) 1 *Slides

More information

Philosophy 244: #8 Counterfactuals, Neighborhood Semantics, Probability, Predicative Necessity, etc.

Philosophy 244: #8 Counterfactuals, Neighborhood Semantics, Probability, Predicative Necessity, etc. Philosophy 244: #8 Counterfactuals, Neighborhood Semantics, Probability, Predicative Necessity, etc. Modal operators are non-truth-functional; the truth-value of α at a world is not determined by α s s

More information

1. Courses are either tough or boring. 2. Not all courses are boring. 3. Therefore there are tough courses. (Cx, Tx, Bx, )

1. Courses are either tough or boring. 2. Not all courses are boring. 3. Therefore there are tough courses. (Cx, Tx, Bx, ) Logic FOL Syntax FOL Rules (Copi) 1. Courses are either tough or boring. 2. Not all courses are boring. 3. Therefore there are tough courses. (Cx, Tx, Bx, ) Dealing with Time Translate into first-order

More information

23.1 Gödel Numberings and Diagonalization

23.1 Gödel Numberings and Diagonalization Applied Logic Lecture 23: Unsolvable Problems in Logic CS 4860 Spring 2009 Tuesday, April 14, 2009 The fact that Peano Arithmetic is expressive enough to represent all computable functions means that some

More information

Complexity Theory Part I

Complexity Theory Part I Complexity Theory Part I Outline for Today Recap from Last Time Reviewing Verifiers Nondeterministic Turing Machines What does nondeterminism mean in the context of TMs? And just how powerful are NTMs?

More information

Applied Logics - A Review and Some New Results

Applied Logics - A Review and Some New Results Applied Logics - A Review and Some New Results ICLA 2009 Esko Turunen Tampere University of Technology Finland January 10, 2009 Google Maps Introduction http://maps.google.fi/maps?f=d&utm_campaign=fi&utm_source=fi-ha-...

More information

1 Computational problems

1 Computational problems 80240233: Computational Complexity Lecture 1 ITCS, Tsinghua Univesity, Fall 2007 9 October 2007 Instructor: Andrej Bogdanov Notes by: Andrej Bogdanov The aim of computational complexity theory is to study

More information

KB Agents and Propositional Logic

KB Agents and Propositional Logic Plan Knowledge-Based Agents Logics Propositional Logic KB Agents and Propositional Logic Announcements Assignment2 mailed out last week. Questions? Knowledge-Based Agents So far, what we ve done is look

More information

Structured Descriptions & Tradeoff Between Expressiveness and Tractability

Structured Descriptions & Tradeoff Between Expressiveness and Tractability 5. Structured Descriptions & Tradeoff Between Expressiveness and Tractability Outline Review Expressiveness & Tractability Tradeoff Modern Description Logics Object Oriented Representations Key Representation

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

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

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