Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
For Friday No reading Homework: –Chapter 9, exercise 4 (This is VERY short – do it while you’re running your tests) Make sure you keep variables and constants.
Logic Use mathematical deduction to derive new knowledge.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Logic.
Logic Concepts Lecture Module 11.
HISTORY OF LOGIC BY JOHN NAGUIB. What is Logic? The science or study of how to evaluate arguments and reasoning. “Logic is new and necessary reasoning”
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
CS1001 Lecture 22. Overview Mechanizing Reasoning Mechanizing Reasoning G ö del ’ s Incompleteness Theorem G ö del ’ s Incompleteness Theorem.
Logic and Set Theory.
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
Knowledge Representation I (Propositional Logic) CSE 473.
Knoweldge Representation & Reasoning
COMP 3009 Introduction to AI Dr Eleni Mangina
First Order Logic (chapter 2 of the book) Lecture 3: Sep 14.
First Order Logic. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about first order.
I NTRO TO L OGIC Dr Shlomo Hershkop March
Class 36: Proofs about Unprovability David Evans University of Virginia cs1120.
Propositional Resolution Computational LogicLecture 4 Michael Genesereth Spring 2005.
David Evans CS200: Computer Science University of Virginia Computer Science Class 24: Gödel’s Theorem.
Inference in First-Order logic Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
MATH 224 – Discrete Mathematics
Logic in Computer Science - Overview Sep 1, 2011 POSTECH 박성우.
CSE PredLogic 1 Knowledge Representation with Logic: First Order Predicate Calculus Outline –Introduction to First Order Predicate Calculus (FOPC)
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
The Recursion Theorem Pages 217– ADVANCED TOPICS IN C O M P U T A B I L I T Y THEORY.
Pattern-directed inference systems
Logical Agents Logic Propositional Logic Summary
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
Artificial Intelligence: Introduction Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Dr. Muhammed Al-Mulhem ICS An Introduction to Logical Programming.
LECTURE LECTURE Propositional Logic Syntax 1 Source: MIT OpenCourseWare.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
CS6133 Software Specification and Verification
Thinking in Methodologies Class Notes. Gödel’s Theorem.
First Order Logic Lecture 3: Sep 13 (chapter 2 of the book)
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
Knowledge Repn. & Reasoning Lec. #5: First-Order Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
1-1 An Introduction to Logical Programming Sept
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View Basic Concepts and Background.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
Chapter 1 Logic and proofs
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Chapter 7. Propositional and Predicate Logic
CS 4700: Foundations of Artificial Intelligence
Knowledge Representation and Reasoning
Lecture 2 Propositional Logic
CS 416 Artificial Intelligence
Back to “Serious” Topics…
Chapter 7. Propositional and Predicate Logic
CSNB234 ARTIFICIAL INTELLIGENCE
Properties of Relational Logic
Presentation transcript:

Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science

What are the goals in the study of formal logic? To lay out a formal system whereby we reason. To make an abstraction of the reasoning process. But why?

So that we can understand human reasoning processes better. To give reasoning ability to a computer so that it can solve problems for us. But why?

Aristotle ( B.C.) Descartes ( ) Leibnitz ( ) George Boole ( ) Gottlob Frege ( ) Bertrand Russell ( ) and Whitehead Alfred Tarski ( ) Kurt Godel ( ) Alan Turing ( ) Where did it all begin?

Developed an informal system of syllogisms for proper reasoning. With this system, you can mechanically generate conclusions, given initial premises. Aristotle ( B.C.)

Major premise: Every mammal has a spine. Minor premise: A dog is a mammal. Conclusion: A dog has a spine. What is a syllogism?

Emphasized the distinction between mind and matter. Advocated a scientific method where we doubt something until, through reason, we establish it to be indubitable. The first indubitable truth -- Je pense, donc je suis. Descartes ( )

Introduced the first system of formal logic Constructed machines for automating calculation. Built a mechanical device intended to carry out mental operations. Leibnitz ( )

Introduced his formal language for making logical inferences in His work was entitled An Investigation of the Laws of Thought, on which are founded Mathematical Theories of Logic and Probabilities His system was a precursor to the fully developed propositional logic. George Boole ( )

How expressive is propositional logic? How many operators do we need for a complete set? How hard is it to compute satisfiability? How hard is it to determine validity? What assurance do we have that we can be successful in proving validity? What basic inference rules and axiom schemata do we need? Would one inference rule suffice? Basic Questions

All horses are animals. Therefore, the head of a horse is the head of an animal. “Can you deduce this in propositional logic?” asked DeMorgan. No! What CAN’T we do with propositional logic?

Say we have the expression a < b && b < c && a < c Then can we reduce this to a < b && b < c But we can’t deduce this with propositional logic. If we let p represent a < b and q represent b < c and r represent a < c, can we conclude p  q  r  p  q (NO!) What CAN’T we do with propositional logic?

He did a comprehensive exploration of propositional logic. Then he went on to develop predicate logic. The formal system he developed is essentially the same predicate logic we study today. His language was intended to be a language for describing mathematics. His notation was awkward. Frege ( )

Introduced a theory of reference that shows how to relate the objects in a logic to objects in the real world. Worked in the area of semantics. Tarski ( )

Russell ( ) and Whitehead Goals was to derive all of mathematics through formal operations on a collection of axioms. Theorem-proving would be mechanical. No intuition would be involved. Strict syntax and formal rules of inference.

Incompleteness Theorem: In any logical language expressive enough to describe the properties of the natural numbers, there are true statements that are undecidable -- their truth cannot be established by any algorithm. Godel ( )

The validity of first order logic is not decidable. (It is semi-decidable.) If a theorem is logically entailed by an axiom, you can prove that it is. But if it is not, you can’t necessarily prove that it is not. (You may go on infinitely with your proof.) Turing ( )

propositional logic (propositional calculus) atomic symbols connectives propositions conjunction disjunction antecedent consequent well-formed formulas (wffs) Terminology

syntax semantics interpretation inference rules modus ponens satisfiable (consistent) unsatisfiable (inconsistent) valid (a tautology) sound complete Terminology

resolution clause axiom (proper axiom) theory axiom schema (“schemata” in the plural) worst-case complexity NP-complete Terminology

predicate logic (predicate calculus) universal quantifier existential quantifier unification Skolemization most general unifier Horn clause semi-decidable Terminology