Symbolic Logic Foundations: An Overview 1/22/01

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Completeness and Expressiveness
Computer Science CPSC 322 Lecture 25 Top Down Proof Procedure (Ch 5.2.2)
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
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.
Remarks on Mathematical Logic: Paradoxes and Puzzles AAG Selmer Bringsjord The Minds & Machines Laboratory Department of Philosophy, Psychology.
Logic Use mathematical deduction to derive new knowledge.
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
History of IT and AI 1/8/01 Logic (Programming) & AI Selmer Bringsjord
How Do You Stack Up Against Spock, Holmes, Wolf, Moriarity…? Selmer Bringsjord Professor of Logic, Philosophy, Cognitive Science, Computer Science Department.
Knowledge Representation Methods
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
Symbolic Logic Foundations: An Overview F03 CSD ProSem Selmer Bringsjord
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.
Review: forward E { P } { P && E } TF { P && ! E } { P 1 } { P 2 } { P 1 || P 2 } x = E { P } { \exists … }
How Do You Stack Up Against Spock, Holmes, Wolf, Moriarity…? Selmer Bringsjord Professor of Logic, Philosophy, Cognitive Science, Computer Science Chair,
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
Discrete Mathematics and its Applications
Intro to Discrete Structures
Knowledge Interchange Format Michael Gruninger National Institute of Standards and Technology
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
MATH 224 – Discrete Mathematics
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.
LDK R Logics for Data and Knowledge Representation Modeling First version by Alessandro Agostini and Fausto Giunchiglia Second version by Fausto Giunchiglia.
Is it Possible to Build Dramatically Compelling Interactive Digital Entertainment? v2 Selmer Bringsjord Director, Minds & Machines Laboratory Prof of Logic.
Pattern-directed inference systems
1 CMSC 471 Fall 2002 Class #10/12–Wednesday, October 2 / Wednesday, October 9.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
CS6133 Software Specification and Verification
OTTER; Suppositional Theorem-Proving and OSCAR; Automated Test Creation and Production 2/12/01 Logic (Programming) & AI Selmer Bringsjord
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
Logic and Mathematics The Art and Science of Mathematics.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View Basic Concepts and Background.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
Metalogic Soundness and Completeness. Two Notions of Logical Consequence Validity: If the premises are true, then the conclusion must be true. Provability:
Knowledge Representation Lecture 2 out of 5. Last Week Intelligence needs knowledge We need to represent this knowledge in a way a computer can process.
Propositional Logic: Logical Agents (Part I)
Chapter 7. Propositional and Predicate Logic
Computer Science cpsc322, Lecture 20
Knowledge Representation and Reasoning
Logics for Data and Knowledge Representation
Lecture 2 Propositional Logic
The Foundations: Logic and Proofs
Logics for Data and Knowledge Representation
CSE 311 Foundations of Computing I
Logical Agents Chapter 7.
Logic Use mathematical deduction to derive new knowledge.
Artificial Intelligence
Assignment-2 due now Enterprise Architecture Conference Sat. Oct 27
First Order Logic Rosen Lecture 3: Sept 11, 12.
Back to “Serious” Topics…
Computer Security: Art and Science, 2nd Edition
Chapter 7. Propositional and Predicate Logic
Search techniques.
Knowledge Representation I (Propositional Logic)
Computer Science cpsc322, Lecture 20
Formal Methods in software development
Predicates and Quantifiers
Bottom Up: Soundness and Completeness
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
How Do You Stack Up Against Spock, Holmes, Wolf, Moriarity…?
Presentation transcript:

Symbolic Logic Foundations: An Overview 1/22/01 Logic (Programming) & AI Selmer Bringsjord selmer@rpi.edu www.rpi.edu/~brings

Logic Programming: Two Perspectives Logic Programming as arising from Herbrand’s Theorem, etc. Logic Programming as using a logical system (in mathematical sense of this phrase) I will take second perspective, which subsumes first E.g., completeness theorem for first-order logic (LI) allows one to affirm Herbrand’s Theorem This theorem fully done in LCU What you need to know to understand second perspective is precisely what you need to know to understand first

Logical Systems (Are Programming Langs in here?) Name Alphabet Grammar Proof Theory Semantics Metatheory LPC Propositional Calculus p, q, r, … and truth-functional connectives Easy Fitch-style and natural deduction Truth tables! Sound, complete, compact, decidable LI First-Order Logic Add variables x, y, … and   Structures and interpretations Sound, complete, compact, undecidable LPML Add “box” and “diamond” for necessity and possibility Wffs created by prefixing new operators to wffs Add necessitation, etc. Possible worlds Same as PC LII New variables for predicates Pretty obvious New adapt quantifier rules Quantification over subsets in domain allowed Sound but not complete

Readings AIMA “Natural Deduction” on Pollock’s web site OTTER manual “Logic and AI: Divorced, Still Married…” http://kryten.mm.rpi.edu/COURSES/ILOGPROG/lai.ed2.pdf LCU http://www.rpi.edu/~faheyj2/SB/LCU/lcu.driver.pdf

LPC (Propositional Calculus) Where we left off: Logic Theorist problems in OTTER… Ad lib in HYPERPROOF… Some problems NYS 1, NYS 2, NYS 3, J-L 1 Semantics of Propositional Calculus: Truth Tables Boole Via HYPERPROOF Full formal view: LCU

“NYS 1” Given the statements a  b b c  a which one of the following statements must also be true? c b c h a none of the above

“NYS 2” Which one of the following statements is logically equivalent to the following statement: “If you are not part of the solution, then you are part of the problem.” If you are part of the solution, then you are not part of the problem. If you are not part of the problem, then you are part of the solution. If you are part of the problem, then you are not part of the solution. If you are not part of the problem, then you are not part of the solution.

“NYS 3” Given the statements c c  a a  b b  d (d  e) which one of the following statements must also be true?  e c e h a all of the above

J-L 1 Suppose that the following premise is true: If there is a king in the hand, then there is an ace in the hand, or else if there isn’t a king in the hand, then there is an ace. What can you infer from this premise? There is an ace in the hand. NO! NO! In fact, what you can infer is that there isn’t an ace in the hand!

Proof Theory of LI (First-order logic) Ad lib in HYPERPROOF Syllogisms in OTTER Dreadsbury Mansion Mystery The Bird Problem

The Dreadsbury Mansion Mystery Someone who lives in Dreadsbury Mansion killed Aunt Agatha. Agatha, the butler, and Charles live in Dreadsbury Mansion, and are the only people who live therein. A killer always hates his victim, and is never richer than his victim. Charles hates no one that Aunt Agatha hates. Agatha hates everyone except the butler. The butler hates everyone not richer than Aunt Agatha. The butler hates everyone Agatha hates. No one hates everyone. Agatha is not the butler. Now, given the above clues, there is a bit of disagreement between three (competent?) Norwegian detectives. Inspector Bjorn is sure that Charles didn’t do it. Is he right? Inspector Reidar is sure that it was a suicide. Is he right? Inspector Olaf is sure that the butler, despite conventional wisdom, is innocent. Is he right? Can you get it, prove it?

Good litmus test for mastery of proof theory in FOL The Bird Problem Is the following assertion true or false? Prove that you are correct. There exists something which is such that if it’s a bird, then everything is a bird. x(B(x) yB(y)) Good litmus test for mastery of proof theory in FOL

Metatheory for PC and FOL Soundness If you start with true propositions in an agent’s knowledge base, deduction from that kb will always yield a true conclusion. Completeness If something intuitively “follows from” a given kb, then the agent can prove it from the kb. Decidability & undecidability If Dec: There is a decision algorithm which can tell you whether a given formula is a theorem. Compactness Not today Herbrand’s Theorem etc. Godel’s Theorem LII not complete Lindstrom’s Theorems Already characterized intuitively at start of lecture