Artificial Intelligence - TU Clausthal June On Consistency Handling Inconsistency Paraconsistent Logic - Many-Valued Logic
|
|
- Dennis Moore
- 5 years ago
- Views:
Transcription
1 1 Artificial Intelligence - TU Clausthal June 2013 On Consistency Handling Inconsistency Paraconsistent Logic - Many-Valued Logic Jørgen Villadsen Associate Professor in Algorithms, Logic and Graphs Section Department of Applied Mathematics and Computer Science Technical University of Denmark algolog.compute.dtu.dk
2 2 Learning Outcomes After the lectures the students can Explain the logical concepts related to consistency and paraconsistency 2. Use a many-valued logic for inconsistency handling in simple situations 3. Provide a brief overview of approaches to inconsistency handling in AI Please feel free to interrupt with questions and/or comments Connections to the course slides will be made Keep an open mind for new ideas The slides will be available
3 3 Table of Contents Introduction - Learning Outcomes / Erasmus Mobility / About Me :-) Part 1 - Classical & Non-Classical Logics - Classical Propositional Logic = Sentential Logic - Explosive Logics - On Consistency & Inconsistency - Gödel s Incompleteness Theorems - Running Example - Paraconsistency - Many-Valued Logics Part 2...
4 4 Jørgen Villadsen A Short Bio Technical University of Denmark (DTU) & Roskilde University (RUC) Born 1965 in Copenhagen MSc & PhD DTU Computer Science DTU s main campus is located about 15 km north of Copenhagen center: World-conquering urban quality of life requires the trickiest of balancing acts between progress and preservation, stimulation and security, global and local. Perfection is unobtainable but Copenhagen is striking one of the best deals right now. monocle.com/film/affairs/most-liveable-city-copenhagen/ Prolog Development Center (1999) Danish Defence Research Establishment ( ) Baltica Insurance Company ( ) Centre for Language Technology ( )
5 5 Jørgen Villadsen Selected Publications Combinators for Paraconsistent Attitudes Springer Lecture Notes in Computer Science 2001 Supra-Logic: Using Transfinite Type Theory with Type Variables for Paraconsistency Journal of Applied Non-Classical Logics 2005 Natural Language Processing Using Lexical and Logical Combinators Springer Lecture Notes in Computer Science 2006 Building Multi-Agent Systems Using Jason Annals of Mathematics and Artificial Intelligence 2010 Reimplementing a Multi-Agent System in Python Springer Lecture Notes in Computer Science 2013 A Comparison of Organization-Centered and Agent-Centered Multi-Agent Systems Artificial Intelligence Research 2013 Research Areas: AI & Multi-Agent Systems / Logic & Type Theory / Natural Language Processing
6 6 Classical & Non-Classical Logics Bivalence means that a declarative sentence is either true or false: Classical logic identifies a class of formal logics that have been most intensively studied and most widely used. The intended semantics of classical logic is bivalent. en.wikipedia.org/wiki/classical logic Intuitionistic logic rejects double negation elimination ( A A) Modal logic considers modalities of truth, like possibility ( A) Temporal logic - reasoning about the past and the future Dynamic logic - reasoning about change - Hoare logic φ{p}ψ as φ [P]ψ Fuzzy logic - reasoning about vagueness
7 7 Classical Propositional Logic Recall course slide 353 (chapter on knowledge engineering): We are using logics to describe the world and how the world behaves. Example: If Joe studies then Joe gets good grades Joe studies So Joe gets good grades Basic propositions: S for Joe studies and G for Joe gets good grades (L) Main operators on propositions: (from low to high priority) Corresponding valid formula: (S G) S G Is ( A A) A a valid formula? A is an arbitrary formula here
8 8 Christopher Clavius ( ) - German Mathematician & Astronomer The valid formula ( A A) A is the so-called admirable consequence (consequentia mirabilis) or Clavius Law: It states that if a proposition is a consequence of its negation, then it is true, for consistency. en.wikipedia.org/wiki/clavius Law But the validity must be established... Clavius was instrumental in the development of the now standard Gregorian calendar and wrote highly-acclaimed and well-received textbooks The former Julian calendar had no leap years
9 9 Truth Values & Validity Recall course slide 358: The process of mapping a set of L-formulas into {true, false} is called semantics. Use for true and for false The formula has the fixed truth value The formula has the fixed truth value The symbol is here omitted from classical propositional logic ( A A) A A formula is valid if it has the truth value for all possible valuations
10 10 Associativity & Equivalence Valid formula expressing transitivity: (A B) (B C) (A C) All operators associative to the right: (A B) (B C) A C Exercise: Show the validity of the equivalence A B C A B C Same formula (not equivalences): (A B) (B C) A C (no extra parentheses) (A B) (B C) (A C) (some extra parentheses) (A B) ((B C) (A C)) (all extra parentheses) Is A A B a valid formula? Of course A and B are arbitrary formulas here too
11 11 Explosive Logics Recall course slide 363 (ex falso quodlibet) or the so-called principle of explosion: From a contradiction, anything follows. en.wikipedia.org/wiki/principle of explosion A A B or equivalently A A B gives an explosive logic A A B Intuitionistic logic - a fragment of classical logic - is explosive too
12 12 More on Explosive Logics Consider again A A B Note that if F then F B And F can be just, a contradiction A A or a very complex formula! Claim: Difficult to avoid inconsistency, in particular in large knowledge bases A preview of the running example (motivation to follow):... S G... S E... G E... G... Just consider the valid equivalence S G G S (contraposition)
13 13 Hilbert-Type Calculus Recall course slides : Calculus - Soundness & Completeness Elegant calculus for classical propositional logic due to Lukasiewicz Axioms: ( A A) A (Clavius Law) A A B (Principle of Explosion) (A B) (B C) A C (Transitivity of Implication) Rule: From A B and A infer B (Modus Ponens) Exercise: Define other operators from and
14 14 Overview Propositional Logic - Syntax - Semantics - Truth Tables A formula is valid if it has the truth value for all possible valuations A formula is unsatisfiable if it has the truth value for all possible valuations Hilbert-Type Calculus (Axiomatics) Gentzen-Type Calculus (Natural Deduction & Sequent Calculus) Resolution (Unsatisfiablity / Clauses) Recall course slides Tableau Methods (Unsatisfiability) Fact: Classical Propositional Logic Is Explosive
15 15 On Consistency Recall course slides : Hoare logic for program verification The theory of Z is undecidable. The theory of Z builds on classical propositional logic It is easy to prove that propositional logic is decidable and consistent: cannot be proved The theory of Z cannot prove that the theory of Z is consistent Unless it is inconsistent in which case it is useless and decidable This follows from Gödel s second incompleteness theorem
16 16 David Hilbert ( ) - German Mathematician In 1921 Hilbert put forward a new proposal for the foundations of mathematics which has come to be known as Hilbert s Program: A consistency proof is a mathematical proof that a particular theory is consistent. The early development of mathematical proof theory was driven by the desire to provide finitary consistency proofs for all of mathematics as part of Hilbert s program. Hilbert s program was strongly impacted by incompleteness theorems, which showed that sufficiently strong proof theories cannot prove their own consistency (provided that they are in fact consistent). en.wikipedia.org/wiki/consistency Such a theory cannot prove the consistency of a stronger theory either
17 17 Gödel s Incompleteness Theorems (1931) Perhaps the most famous result in logic: Gödel s first incompleteness theorem shows that any consistent effective formal system that includes enough of the theory of the natural numbers is incomplete: there are true statements expressible in its language that are unprovable within the system. en.wikipedia.org/wiki/gödel s incompleteness theorems So what? Truth is not absolute Gödel s second incompleteness theorem explained in words of one syllable George Boolos, Mind 103: Warning: Gödel s Completeness Theorem (1930) - Is about a calculus instead
18 18 George Boolos Quote 1/3 First of all, when I say proved, what I will mean is proved with the aid of the whole of math. Now then: two plus two is four, as you well know. And, of course, it can be proved that two plus two is four (proved, that is, with the aid of the whole of math, as I said, though in the case of two plus two, of course we do not need the whole of math to prove that it is four). And, as may not be quite so clear, it can be proved that it can be proved that two plus two is four, as well. And it can be proved that it can be proved that it can be proved that two plus two is four. And so on. In fact, if a claim can be proved, then it can be proved that the claim can be proved. And that too can be proved.
19 19 George Boolos Quote 2/3 Now: two plus two is not five. And it can be proved that two plus two is not five. And it can be proved that it can be proved that two plus two is not five, and so on. Thus: it can be proved that two plus two is not five. Can it be proved as well that two plus two is five? It would be a real blow to math, to say the least, if it could. If it could be proved that two plus two is five, then it could be proved that five is not five, and then there would be no claim that could not be proved, and math would be a lot of bunk. Bunk: Nonsense
20 20 George Boolos Quote 3/3 So, we now want to ask, can it be proved that it can t be proved that two plus two is five? Here s the shock: no, it can t. Or to hedge a bit: if it can be proved that it can t be proved that two plus two is five, then it can be proved as well that two plus two is five, and math is a lot of bunk. Again: The theory of Z cannot prove that the theory of Z is consistent Unless it is inconsistent Follows by taking the theory of Z to be the whole of math (it is too weak in general but sufficiently strong for the incompleteness theorems to hold) And a fragment of the theory of Z or a stronger theory of Z will not do either So the assumption that the theory of Z is consistent cannot be avoided
21 21 On Consistency Continued Hoare logic assumes that the theory of Z is consistent Fact: Foundation of Mathematics Need Consistency Assumption Further consistency assumptions can be avoid in case of program verification in practice one or more so-called mathematical axioms are added to either first-order logic (FOL) or higher-order logic (HOL) to obtain a theory of N, Z or R The real numbers are needed in engineering After the addition of the mathematical axioms one only allows definitions (which cannot lead to inconsistency) But knowledge engineering is different from program verification!
22 22 Summary So Far Inconsistency handling is mandatory when classical propositional logic is used due to the explosion But there is no problem in case of program verification / system development at least not when only definitions and other conservative extensions are allowed and the mathematical axioms are assumed consistent The theorem provers Isabelle and ACL2 adopt this methodology by providing a language for conservative extensions by definition. en.wikipedia.org/wiki/conservative extension This explains why (in-)consistency is not much discussed is computer science except in logic and AI Back to knowledge engineering...
23 23 Running Example Classical Propositional Logic 1/5 Remember the aim of knowledge engineering: We are using logics to describe the world and how the world behaves. #123 Ann believes that if Joe studies then he gets good grades #456 Ann believes that if Joe does not study then he enjoys college #789 Ann believes that if Joe does not get good grades then he does not enjoy college... S G... S E... G E... S for Joe studies, G for Joe gets good grades and E for Joe enjoys college
24 24 Running Example Classical Propositional Logic 2/5 It is a tiny instance of a multi-agent system (MAS) en.wikipedia.org/wiki/multi-agent system Agents Ann, Bob, Joe,... and their knowledge and beliefs The numbers indicate that the beliefs are revealed over time But this is not important here It is also not important here how the observer obtains Ann s beliefs Perhaps Ann utters her beliefs and the observer thinks that Ann is honest Or the observer infers the beliefs from Ann s actions Agents can be (groups of) humans, robots or computer systems / programs
25 25 Running Example Classical Propositional Logic 3/5 Now consider the following additional information: #999 Ann believes that Joe does not get good grades At this point, Ann s beliefs are inconsistent, but maybe Ann is not aware Even if the observer always keeps its knowledge consistent (this is a strong assumption) it is unclear how to revise Ann s beliefs and avoid the explosion Ussually agents have no direct access to other agents mental states and beliefs can also be nested: Ann believes that Bob believes that... Eventually the observer might be able to revise Ann s beliefs, but in the meantime the inconsistency is going to stay en.wikipedia.org/wiki/belief revision
26 26 Running Example Classical Propositional Logic 4/5 ((((S G ) ( S E )) ( G E )) G )...???????? EXPLOSION
27 27 Running Example Classical Propositional Logic 5/5 #1000 Ann believes that Bob gets good grades #1001 Ann believes that Bob does not get good grades #1002 Ann believes that... EXPLOSION
28 28 Paraconsistency A non-explosive logic is called a paraconsistent logic Inconsistency-tolerant logics have been discussed since at least 1910 (and arguably much earlier, for example in the writings of Aristotle); however, the term paraconsistent ( beside the consistent ) was not coined until 1976, by the Peruvian philosopher Francisco Miró Quesada. en.wikipedia.org/wiki/paraconsistency 5th World Congress on Paraconsistency, Kolkata, India, February st-4th WCP: Belgium 1997 / Brazil 2000 / France 2003 / Australia Handbook of Paraconsistency College Publications 2007
29 29 Many-Valued Logics A particular many-valued logic will be presented In a many-valued logic there are more than two truth values Not all paraconsistent logics are many-valued and not all many-valued logics are paraconsistent en.wikipedia.org/wiki/many-valued logic A Treatise on Many-Valued Logics Siegfried Gottwald Research Studies Press logik/gottwald/treatise.pdf Note that a many-valued logic is not a goal in itself (classical logic is simpler)
30 30 Summary So Far Table of Contents Continued Consistency is mandatory in case of classical logic but it is not easy to ensure Paraconsistency is worth exploring and a many-valued logic is to be presented Part 2 - A Paraconsistent Propositional Logic Online References - Running Example Paraconsistency: The Basic Idea - Definitions - Key Valid Formulas - Truth Tables - Running Example - Summary / Discussion
31 31 A Paraconsistent Propositional Logic Online References Paraconsistent Computational Logic Andreas Schmidt Jensen & Jørgen Villadsen Extended Abstract in Proceedings of 8th Scandinavian Logic Symposium August 2012, Roskilde University, Denmark scandinavianlogic.weebly.com A Paraconsistent Higher Order Logic Jørgen Villadsen 2002 arxiv.org/abs/cs.lo/ www2.compute.dtu.dk/ jovi/poster/
32 32 Running Example Paraconsistency: The Basic Idea We use new truth values in order to handle inconsistent basic propositions Then there are many counter-examples showing that G does not follow from the beliefs expressed in #123, #456 and #789 A few counter-examples: (((S G ) ( S E )) ( G E )) G This is fine; after all we are proposing a weaker logic
33 33 Definitions 1/3 = {, }, the determinate truth values for truth and falsity, respectively = {,,,...}, a countably infinite set of indeterminate truth values The only designated truth value yields the valid formulas None of the indeterminate truth values imply the others and there is no specific ordering of the indeterminate truth values = {} would turn the paraconsistent logic into classical logic
34 34 Definitions 2/3 Key valid formulas motivate the semantic clauses (in addition to [[ ]] = ): [[ ϕ]] = [[ϕ ψ]] = if [[ϕ]] = if [[ϕ]] = [[ϕ]] otherwise [[ϕ]] if [[ϕ]] = [[ψ]] ϕ ϕ ϕ [[ψ]] if [[ϕ]] = ψ ψ [[ϕ]] if [[ψ]] = ϕ ϕ otherwise Abbreviations: ϕ ψ ( ϕ ψ)
35 35 Definitions 3/3 [[ϕ ψ]] = { if [[ϕ]] = [[ψ]] otherwise [[ϕ ψ]] = if [[ϕ]] = [[ψ]] ϕ ϕ [[ψ]] if [[ϕ]] = ψ ψ [[ϕ]] if [[ψ]] = ϕ ϕ [[ ψ]] if [[ϕ]] = ψ ψ [[ ϕ]] if [[ψ]] = ϕ ϕ otherwise Abbreviations: ϕ ψ ϕ ϕ ψ ϕ ψ ϕ ϕ ψ ϕ ϕ ϕ ϕ
36 36 Truth Tables 1/2 Although we have a countably infinite set of truth value we can investigate the logic by truth tables since the indeterminate truth values are not ordered with respect to truth content We consider here 4 truth values as this will allow indeterminate truth values to interact
37 37 Truth Tables 2/2
38 38 Running Example Paraconsistent Propositional Logic 1/4 We now take #999 into account in addition to #123, #456 and #789 We find a counter-example in order to show that a formula is not valid Any of first three previous counter-examples shows that G does not follow: ((((S G ) ( S E )) ( G E )) G ) G
39 39 Running Example Paraconsistent Propositional Logic 2/4 But we have that G follows since the following formula is valid: ((((S G ) ( S E )) ( G E )) G ) G We omit the truth table here and the result is not surprising due to the usual reflexivity and monotonicity of implication or entailment in general By the way, any of the three counter-examples just given also shows that neither B nor B follows B means that Bob gets good grades This is indeed what we want
40 40 Running Example Paraconsistent Propositional Logic 3/4 We obtain some further results The very first counter-example also shows that S does not follow: ((((S G ) ( S E )) ( G E )) G ) S Another counter-example shows that S does not follow either: ((((S G ) ( S E )) ( G E )) G ) S
41 41 Running Example Paraconsistent Propositional Logic 4/4 The third counter-example also shows that E does not follow: ((((S G ) ( S E )) ( G E )) G ) E Again another counter-example shows that E does not follow either: ((((S G ) ( S E )) ( G E )) G ) E Actually this counter-example can be used as well to show that E does not follow (instead of the previous one)
42 42 Summary / Discussion An introduction only: Consistency Inconsistency Paraconsistency The discussed proposal may not solve all issues since it is a quite weak logic Further topics - Some alternative formalizations of the running example - A case study in the domain of medicine - Other paraconsistent logics
Propositional logic (revision) & semantic entailment. p. 1/34
Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)
More informationCOMP219: 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 informationDescription 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 informationCOMP219: 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 informationIntroduction to Metalogic
Introduction to Metalogic Hans Halvorson September 21, 2016 Logical grammar Definition. A propositional signature Σ is a collection of items, which we call propositional constants. Sometimes these propositional
More informationLogic: 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 informationOverview. 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 informationcis32-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 informationFirst Order Logic (1A) Young W. Lim 11/18/13
Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software
More information185.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 informationModal logics: an introduction
Modal logics: an introduction Valentin Goranko DTU Informatics October 2010 Outline Non-classical logics in AI. Variety of modal logics. Brief historical remarks. Basic generic modal logic: syntax and
More informationClassical Propositional Logic
The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,
More informationPropositional Logic: Part II - Syntax & Proofs 0-0
Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems
More informationChapter 3: Propositional Calculus: Deductive Systems. September 19, 2008
Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency
More informationCHAPTER 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 informationNonclassical logics (Nichtklassische Logiken)
Nonclassical logics (Nichtklassische Logiken) VU 185.249 (lecture + exercises) http://www.logic.at/lvas/ncl/ Chris Fermüller Technische Universität Wien www.logic.at/people/chrisf/ chrisf@logic.at Winter
More informationMathematics 114L Spring 2018 D.A. Martin. Mathematical Logic
Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)
More informationKnowledge 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 informationLogical Agents (I) Instructor: Tsung-Che Chiang
Logical Agents (I) Instructor: Tsung-Che Chiang tcchiang@ieee.org Department of Computer Science and Information Engineering National Taiwan Normal University Artificial Intelligence, Spring, 2010 編譯有誤
More informationFoundations 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 informationLearning Goals of CS245 Logic and Computation
Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction
More informationDeductive Systems. Lecture - 3
Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth
More informationFoundations 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 informationFoundations 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 informationPropositional Logic: Syntax
Logic Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and programs) epistemic
More information22c: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 informationA 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 informationReasoning. 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 informationAI Programming CS S-09 Knowledge Representation
AI Programming CS662-2013S-09 Knowledge Representation David Galles Department of Computer Science University of San Francisco 09-0: Overview So far, we ve talked about search, which is a means of considering
More informationLecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson
Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem Michael Beeson The hypotheses needed to prove incompleteness The question immediate arises whether the incompleteness
More informationLogic for Computer Science - Week 4 Natural Deduction
Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a
More informationLogic. Propositional Logic: Syntax
Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about
More informationComputer-Checked Meta-Logic
1 PART Seminar 25 February 2015 Computer-Checked Meta-Logic Jørgen Villadsen jovi@dtu.dk Abstract Over the past decades there have been several impressive results in computer-checked meta-logic, including
More informationTableau Systems for Logics of Formal Inconsistency
Tableau Systems for Logics of Formal Inconsistency Walter A. Carnielli Centre for Logic and Epistemology, and Department of Philosophy State University of Campinas CLE/Unicamp, Campinas, Brazil João Marcos
More informationNatural Deduction for Propositional Logic
Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic
More informationTHE LOGIC OF COMPOUND STATEMENTS
THE LOGIC OF COMPOUND STATEMENTS All dogs have four legs. All tables have four legs. Therefore, all dogs are tables LOGIC Logic is a science of the necessary laws of thought, without which no employment
More informationcse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018
cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 Chapter 7 Introduction to Intuitionistic and Modal Logics CHAPTER 7 SLIDES Slides Set 1 Chapter 7 Introduction to Intuitionistic and Modal Logics
More informationCHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS
CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS 1 Language There are several propositional languages that are routinely called classical propositional logic languages. It is due to the functional dependency
More informationIntroduction to Metalogic
Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)
More informationLogic: Propositional Logic Truth Tables
Logic: Propositional Logic Truth Tables Raffaella Bernardi bernardi@inf.unibz.it P.zza Domenicani 3, Room 2.28 Faculty of Computer Science, Free University of Bolzano-Bozen http://www.inf.unibz.it/~bernardi/courses/logic06
More informationLogic. Propositional Logic: Syntax. Wffs
Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about
More informationPropositional Logic: Review
Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or
More informationExamples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:
Logic: The Big Picture Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and
More informationPř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 informationApplied 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 informationMathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 15 Propositional Calculus (PC)
Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras Lecture - 15 Propositional Calculus (PC) So, now if you look back, you can see that there are three
More informationPREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2
PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 14 September, 2005 Some slides today new, some based on logic 2004 (Nils Andersen) OUTLINE,
More informationFirst Order Logic (1A) Young W. Lim 11/5/13
Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software
More informationMAI0203 Lecture 7: Inference and Predicate Calculus
MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture
More informationDeontic Logic and Meta-Ethics
Deontic Logic and Meta-Ethics Deontic Logic as been a field in which quite apart from the questions of antinomies "paradoxes" have played a decisive roles, since the field has been invented. These paradoxes
More informationAdvanced 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 informationIntermediate Logic. Natural Deduction for TFL
Intermediate Logic Lecture Two Natural Deduction for TFL Rob Trueman rob.trueman@york.ac.uk University of York The Trouble with Truth Tables Natural Deduction for TFL The Trouble with Truth Tables The
More informationMarie 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 information7. Propositional Logic. Wolfram Burgard and Bernhard Nebel
Foundations of AI 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard and Bernhard Nebel Contents Agents that think rationally The wumpus world Propositional logic: syntax and semantics
More informationA 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 informationTwo sources of explosion
Two sources of explosion Eric Kao Computer Science Department Stanford University Stanford, CA 94305 United States of America Abstract. In pursuit of enhancing the deductive power of Direct Logic while
More informationFirst-Degree Entailment
March 5, 2013 Relevance Logics Relevance logics are non-classical logics that try to avoid the paradoxes of material and strict implication: p (q p) p (p q) (p q) (q r) (p p) q p (q q) p (q q) Counterintuitive?
More informationLogic in Computer Science. Frank Wolter
Logic in Computer Science Frank Wolter Meta Information Slides, exercises, and other relevant information are available at: http://www.liv.ac.uk/~frank/teaching/comp118/comp118.html The module has 18 lectures.
More informationMCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof
MCS-36: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, 010 Methods of Proof Consider a set of mathematical objects having a certain number of operations and relations
More informationIntelligent Agents. Pınar Yolum Utrecht University
Intelligent Agents Pınar Yolum p.yolum@uu.nl Utrecht University Logical Agents (Based mostly on the course slides from http://aima.cs.berkeley.edu/) Outline Knowledge-based agents Wumpus world Logic in
More informationIntroduction to Logic and Axiomatic Set Theory
Introduction to Logic and Axiomatic Set Theory 1 Introduction In mathematics, we seek absolute rigor in our arguments, and a solid foundation for all of the structures we consider. Here, we will see some
More informationCOMP9414: 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 information5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci
5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci Arnon Avron School of Computer Science, Tel-Aviv University http://www.math.tau.ac.il/ aa/ March 7, 2008 Abstract One of the
More informationEE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 10, 5/9/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Logical Agents Chapter 7
More information02 Propositional Logic
SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or
More informationPropositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs
Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Computer Science cpsc322, Lecture 20 (Textbook Chpt 5.1.2-5.2.2 ) June, 6, 2017 CPSC 322, Lecture 20 Slide 1 Lecture Overview
More informationArtificial 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 informationRelational Reasoning in Natural Language
1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010 Adding transitive verbs the work on R, R, and other systems is joint with
More informationHandout: Proof of the completeness theorem
MATH 457 Introduction to Mathematical Logic Spring 2016 Dr. Jason Rute Handout: Proof of the completeness theorem Gödel s Compactness Theorem 1930. For a set Γ of wffs and a wff ϕ, we have the following.
More information09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor
Martin Henz and Aquinas Hobor October 14, 2010 Generated on Thursday 14 th October, 2010, 11:40 1 Review of Modal Logic 2 3 4 Motivation Syntax and Semantics Valid Formulas wrt Modalities Correspondence
More informationLogical 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 informationLogic (3A) Young W. Lim 11/2/13
Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software
More informationAxiomatic 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 informationLogic. 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 informationArtificial Intelligence. Propositional logic
Artificial Intelligence Propositional logic Propositional Logic: Syntax Syntax of propositional logic defines allowable sentences Atomic sentences consists of a single proposition symbol Each symbol stands
More informationThe Importance of Being Formal. Martin Henz. February 5, Propositional Logic
The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets
More informationPropositional 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 informationLogic (3A) Young W. Lim 10/31/13
Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software
More informationINF5390 Kunstig intelligens. Logical Agents. Roar Fjellheim
INF5390 Kunstig intelligens Logical Agents Roar Fjellheim Outline Knowledge-based agents The Wumpus world Knowledge representation Logical reasoning Propositional logic Wumpus agent Summary AIMA Chapter
More informationMaximal Introspection of Agents
Electronic Notes in Theoretical Computer Science 70 No. 5 (2002) URL: http://www.elsevier.nl/locate/entcs/volume70.html 16 pages Maximal Introspection of Agents Thomas 1 Informatics and Mathematical Modelling
More informationPropositional Logic: Semantics and an Example
Propositional Logic: Semantics and an Example CPSC 322 Logic 2 Textbook 5.2 Propositional Logic: Semantics and an Example CPSC 322 Logic 2, Slide 1 Lecture Overview 1 Recap: Syntax 2 Propositional Definite
More informationChapter 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 informationNatural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson
Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of
More informationDeliberative 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 informationIntelligent 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 informationCSCI 5582 Artificial Intelligence. Today 9/28. Knowledge Representation. Lecture 9
CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin Today 9/28 Review propositional logic Reasoning with Models Break More reasoning Knowledge Representation A knowledge representation is a formal scheme
More informationThe Modal Logic of Pure Provability
The Modal Logic of Pure Provability Samuel R. Buss Department of Mathematics University of California, San Diego July 11, 2002 Abstract We introduce a propositional modal logic PP of pure provability in
More informationArtificial Intelligence
Artificial Intelligence Propositional Logic Marc Toussaint University of Stuttgart Winter 2016/17 (slides based on Stuart Russell s AI course) Motivation: Most students will have learnt about propositional
More informationOn Urquhart s C Logic
On Urquhart s C Logic Agata Ciabattoni Dipartimento di Informatica Via Comelico, 39 20135 Milano, Italy ciabatto@dsiunimiit Abstract In this paper we investigate the basic many-valued logics introduced
More informationPropositional Logic Language
Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite
More informationWarm-Up Problem. Is the following true or false? 1/35
Warm-Up Problem Is the following true or false? 1/35 Propositional Logic: Resolution Carmen Bruni Lecture 6 Based on work by J Buss, A Gao, L Kari, A Lubiw, B Bonakdarpour, D Maftuleac, C Roberts, R Trefler,
More informationPropositional and First-Order Logic
Propositional and First-Order Logic Chapter 7.4 7.8, 8.1 8.3, 8.5 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer Logic roadmap overview Propositional logic (review) Problems with
More informationArtificial Intelligence: Knowledge Representation and Reasoning Week 2 Assessment 1 - Answers
Artificial Intelligence: Knowledge Representation and Reasoning Week 2 Assessment 1 - Answers 1. When is an inference rule {a1, a2,.., an} c sound? (b) a. When ((a1 a2 an) c) is a tautology b. When ((a1
More informationRelevant Logic. Daniel Bonevac. March 20, 2013
March 20, 2013 The earliest attempts to devise a relevance logic that avoided the problem of explosion centered on the conditional. FDE, however, has no conditional operator, or a very weak one. If we
More informationTitle: 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 informationKRIPKE 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 informationHypersequent Calculi for some Intermediate Logics with Bounded Kripke Models
Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Agata Ciabattoni Mauro Ferrari Abstract In this paper we define cut-free hypersequent calculi for some intermediate logics semantically
More informationHow 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 informationLecture 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 informationPropositional 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