Predicate Logic (PL) 1.Syntax: The language of PL Formula VS. Sentence Symbolize A-, E, I-, and O-sentences 2.Semantic: a sentence compare two sentences.

Slides:



Advertisements
Similar presentations
First-Order Logic.
Advertisements

The Logic of Quantified Statements
First-Order Logic (and beyond)
First-Order Logic (FOL) aka. predicate calculus. First-Order Logic (FOL) Syntax User defines these primitives: –Constant symbols (i.e., the "individuals"
Knowledge Representation Methods
Test 4 Review For test 4, you need to know: Definitions the recursive definition of ‘formula of PL’ atomic formula of PL sentence of PL bound variable.
2009/91 Predicates and Quantifiers (§1.3) In the sentence “x is greater than 3”: The phrase “x” denotes the subject - the object or entity that the sentence.
The Language P 8 9 ( 8 x) ( 9 y) ( 8 z) 9 8. Quantificational Logic Quantificational Logic: Quantificational Logic is the logic of sentences involving.
Computability and Complexity 8-1 Computability and Complexity Andrei Bulatov Logic Reminder.
First-Order Logic. Limitations of propositional logic Suppose you want to say “All humans are mortal” –In propositional logic, you would need ~6.7 billion.
1. 2 Exam 1Sentential LogicTranslations (+) Exam 2Sentential LogicDerivations Exam 3Predicate LogicTranslations Exam 4Predicate LogicDerivations 6
Exam #3 is Friday. It will consist of proofs, plus symbolizations in predicate logic.
Discrete Mathematics Lecture 2 Alexander Bukharovich New York University.
All rights reservedL. Manevitz Lecture 41 Artificial Intelligence Logic L. Manevitz.
For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the.
Today’s Topics Relational predicates Multiple quantification Expansions of relational predicates.
March 10: Quantificational Notions Interpretations: Every interpretation interprets every individual constant, predicate, and sentence letter of PL. Our.
Review Test 5 You need to know: How to symbolize sentences that include quantifiers of overlapping scope Definitions: Quantificational truth, falsity and.
Sentential Logic(SL) 1.Syntax: The language of SL / Symbolize 2.Semantic: a sentence / compare two sentences / compare a set of sentences 3.DDerivation.
March 5: more on quantifiers We have encountered formulas and sentences that include multiple quantifiers: Take, for example: UD: People in Michael’s office.
Ch 1.3: Quantifiers Open sentences, or predicates, are sentences that contain one or more variables. They do not have a truth value until variables are.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 6 Limitations of propositional logic Introduction to predicate logic Symbols, terms and formulae, Parse.
PL continued: Quantifiers and the syntax of PL 1. Quantifiers of PL 1. Quantifier symbols 2. Variables used with quantifiers 2. Truth functional compounds.
Predicate-Argument Structure Monadic predicates: Properties Dyadic predicate: Binary relations Polyadic Predicates: Relations with more then two arguments.
The Language of Propositional Logic The Syntax and Semantics of PL.
1 Propositional calculus versions. 2 3-value (Lukasziewicz) logic Truth values T,F,N(unknown)
Predicates and Quantifiers
1 CS 1502 Formal Methods in Computer Science Lecture Notes 12 Variables and Quantifiers.
Logical Equivalence & Predicate Logic
MATH 213 A – Discrete Mathematics for Computer Science Dr. (Mr.) Bancroft.
Proofs in Predicate Logic A rule of inference applies only if the main operator of the line is the right main operator. So if the line is a simple statement,
1st-order Predicate Logic (FOL)
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
PART TWO PREDICATE LOGIC. Chapter Seven Predicate Logic Symbolization.
Introduction to Quantification Chapter 9 Language, Proof and Logic.
The Logic of Quantifiers Chapter 10 Language, Proof and Logic.
CSE S. Tanimoto Horn Clauses and Unification 1 Horn Clauses and Unification Propositional Logic Clauses Resolution Predicate Logic Horn Clauses.
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
1 Sections 1.3 and 1.4 Predicates & Quantifiers. 2 Propositional Functions In a mathematical assertion, such as x < 3, there are two parts: –the subject,
Artificial Intelligence First-Order Logic (FOL). Outline of this Chapter The need for FOL? What is a FOL? Syntax and semantics of FOL Using FOL.
No new reading for Wednesday. Keep working on chapter 5, section 3. Exam #3 is next Monday.
Discrete Mathematics CS 2610 August 22, Agenda Last class Propositional logic Logical equivalences This week Predicate logic & rules of inference.
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
80-210: Logic & Proofs July 30, 2009 Karin Howe
Chapter 9: Syntax and Semantics II : Logic & Proofs July 23, 2009 Karin Howe.
Albert Gatt LIN3021 Formal Semantics Lecture 3. Aims This lecture is divided into two parts: 1. We make our first attempts at formalising the notion of.
1 Outline Quantifiers and predicates Translation of English sentences Predicate formulas with single variable Predicate formulas involving multiple variables.
SL: Basic syntax - formulae Atomic formulae – have no connectives If P is a formula, so is ~P If P and Q are formulae, so are (P&Q), (P  Q), (P  Q),
Section 1.5 and 1.6 Predicates and Quantifiers. Vocabulary Predicate Domain Universal Quantifier Existential Quantifier Counterexample Free variable Bound.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
1 CS 2710, ISSP 2610 Chapter 8, Part 1 First Order Predicate Calculus FOPC.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
EXAMPLE FORMULA DEFINITION 1.
3. The Logic of Quantified Statements Summary
Karen M. Wickett School of Information University of Texas at Austin
Horn Clauses and Unification
CS 1502 Formal Methods in Computer Science
Chapter 1 Logic and Proof.
1st-order Predicate Logic (FOL)
Horn Clauses and Unification
Chapter 8, Part 1 First Order Predicate Calculus FOPC
Proofs in Predicate Logic
Formal Methods in software development
Predicate Logic: Syntax.
Predicate Logic.
Chapter 8, Part 1 First Order Predicate Calculus FOPC
1st-order Predicate Logic (FOL)
Presentation transcript:

Predicate Logic (PL) 1.Syntax: The language of PL Formula VS. Sentence Symbolize A-, E, I-, and O-sentences 2.Semantic: a sentence compare two sentences compare a set of sentences 3.Derivation

Syntax: The language of PL SSingular term: a, b, c, …v PPredicate term: A’, B’, B’’, C’’,D…X, Y, Z,.. VVariables: w, x, y, z QQuantifier:  (universal quantifier)  (existential quantifier)  Main logical operator: &, ~, , ,  FFormula: A, B, C, Ax, Ba, Cxy, Cb, (  x)Gx

Formula VS. Sentence Formula atomicRabz, Hxy, Hat, Gxy… truth-functional ~(Rabz & Hxy), Rabz & Hxy… quantificational (  x) (Hay  (  x) Gxy), (  x) Gxy… Sentence atomicRabz, Ga, Az, Le… truth-functional Rz & Ga, ~Ba, (Le  Ca)  Ba… quantificational (  x) (Gx & Sax), (  x) Gxy, … 一個句子不能含有自由變元 (free variable)

A recursive definition of formula of PL 1.Every atomic formula of PL is a formula of PL 2.If P is a formula of PL, so is ~ P 3.If P and Q are formula of PL. so are ( P & Q ), ( P  Q ), ( P  Q ), and ( P  Q ) 4.If P is a formula of PL that contains at least one occurrence of x and no x-quantifier, then (  x) P and (  x) P are both formula of PL. 5.Nothing is a formula of PL unless it can be formed by repeated applications of clauses 1-4.

Symbolize (1) UD: all people Lxy: x likes y (1) Every likes someone. (  x) (  y) Lxy (2) Someone likes everyone. (  x) (  y)Lxy (3) Everyone is liked by someone. (  x) (  y) Lyx

Symbolize (2) UD: everything Lxy: x likes y Px: x is a person (1) Everyone likes someone. (  x) (Px  (  y) (Py & Lxy) (2) Someone likes everyone. (  x) (Px & (  y) (Px  Lxy) (3) Everyone is liked by someone. (  x) (Px  (  y) (Px & Lyx)

A-, E, I-, and O-sentences A: All S are PE: No S are P I: Some S are P I: Some S are not P (  x) (Sx  Px) =~(  x) (Sx & ~Px) (  x) (Sx  ~Px) =~(  x) (Sx & Px) (  x) (Sx & Px) =~(  x) (Sx  ~Px) (  x) (Sx & ~Px) =~(  x) (Sx  Px) contradictory