Logic. Lesson 3: Tables and Models. Flavio Zelazek. October 22, 2014

Similar documents
Propositional Logic Not Enough

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES

Discrete Structures for Computer Science

Predicate Logic Quantifier Rules

! Predicates! Variables! Quantifiers. ! Universal Quantifier! Existential Quantifier. ! Negating Quantifiers. ! De Morgan s Laws for Quantifiers

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

Today s Lecture. ICS 6B Boolean Algebra & Logic. Predicates. Chapter 1: Section 1.3. Propositions. For Example. Socrates is Mortal

Section Summary. Predicates Variables Quantifiers. Negating Quantifiers. Translating English to Logic Logic Programming (optional)

Introduction to first-order logic:

Predicate Logic: Sematics Part 1

Denote John by j and Smith by s, is a bachelor by predicate letter B. The statements (1) and (2) may be written as B(j) and B(s).

Topic #3 Predicate Logic. Predicate Logic

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Ling 130 Notes: Predicate Logic and Natural Deduction

Predicate Calculus. Lila Kari. University of Waterloo. Predicate Calculus CS245, Logic and Computation 1 / 59

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen Anthony Hall

Mat 243 Exam 1 Review

Semantics I, Rutgers University Week 3-1 Yimei Xiang September 17, Predicate logic

Proposi'onal Logic Not Enough

Predicate Calculus lecture 1

Predicate Logic Thursday, January 17, 2013 Chittu Tripathy Lecture 04

Predicates, Quantifiers and Nested Quantifiers

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

Solving Problems by Inductive Reasoning

I thank the author of the examination paper on which sample paper is based. VH

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo

Predicate Logic combines the distinctive features of syllogistic and propositional logic.

Logical Structures in Natural Language: Propositional Logic II (Truth Tables and Reasoning

Introduction. Predicates and Quantifiers. Discrete Mathematics Andrei Bulatov

Introduction to Sets and Logic (MATH 1190)

Formal Logic: Quantifiers, Predicates, and Validity. CS 130 Discrete Structures

A Little Deductive Logic

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

ICS141: Discrete Mathematics for Computer Science I

Reasoning Under Uncertainty: Introduction to Probability

LIN1032 Formal Foundations for Linguistics

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

III. Elementary Logic

A Little Deductive Logic

Predicate Logic. Example. Statements in Predicate Logic. Some statements cannot be expressed in propositional logic, such as: Predicate Logic

Announcements CompSci 102 Discrete Math for Computer Science

INTRODUCTION. Tomoya Sato. Department of Philosophy University of California, San Diego. Phil120: Symbolic Logic Summer 2014

cis32-ai lecture # 18 mon-3-apr-2006

Rules Build Arguments Rules Building Arguments

INTRODUCTION TO PREDICATE LOGIC HUTH AND RYAN 2.1, 2.2, 2.4

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.

Mathematical Logic Part Three

Quantification in the predicate calculus

Lecture 3 : Predicates and Sets DRAFT

MAI0203 Lecture 7: Inference and Predicate Calculus

Final Exam Theory Quiz Answer Page

DISCRETE MATHEMATICS BA202

Mathematical Logic Part Three

CSCE 222 Discrete Structures for Computing. Predicate Logic. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker

Quantifiers. P. Danziger

Chapter 1, Part II: Predicate Logic

Section Summary. Section 1.5 9/9/2014

1 Propositional Logic

Lecture Predicates and Quantifiers 1.5 Nested Quantifiers

First order logic. Example The deduction of statements: This reasoning is intuitively correct. Every man is mortal. Since Ade is a man, he is mortal.

2. Use quantifiers to express the associative law for multiplication of real numbers.

Logic and Proofs. (A brief summary)

MATH 22 INFERENCE & QUANTIFICATION. Lecture F: 9/18/2003

Introduction to Logic: Argumentation and Interpretation. Vysoká škola mezinárodních a veřejných vztahů PhDr. Peter Jan Kosmály, Ph.D

Logik für Informatiker Logic for computer scientists

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

PREDICATE LOGIC. Schaum's outline chapter 4 Rosen chapter 1. September 11, ioc.pdf

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional.

Review: Potential stumbling blocks

Section 2.1: Introduction to the Logic of Quantified Statements


Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

MACM 101 Discrete Mathematics I. Exercises on Predicates and Quantifiers. Due: Tuesday, October 13th (at the beginning of the class)

Logic Overview, I. and T T T T F F F T F F F F

2/18/14. What is logic? Proposi0onal Logic. Logic? Propositional Logic, Truth Tables, and Predicate Logic (Rosen, Sections 1.1, 1.2, 1.

Lecture 10: Predicate Logic and Its Language

You may not start to read the questions printed on the subsequent pages of this question paper until instructed that you may do so by the Invigilator

Discrete Structures for Computer Science

DERIVATIONS IN SYMBOLIC LOGIC I

Chapter 3. The Logic of Quantified Statements

Review. Propositions, propositional operators, truth tables. Logical Equivalences. Tautologies & contradictions

Propositions and Proofs

Logic. Propositional Logic: Syntax

Logic of Sentences (Propositional Logic) is interested only in true or false statements; does not go inside.

INTRODUCTION TO LOGIC 1 Sets, Relations, and Arguments. Why logic? Arguments

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW PREDICATE LOGIC

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

Logics - Introduction

Computational Logic. Recall of First-Order Logic. Damiano Zanardini

Intermediate Logic. First-Order Logic

Logic and Proofs. Jan COT3100: Applications of Discrete Structures Jan 2007

Sec$on Summary. Valid Arguments Inference Rules for Propositional Logic. Inference Rules for Quantified Statements. Building Arguments

For all For every For each For any There exists at least one There exists There is Some

Logic. Propositional Logic: Syntax. Wffs

Logical Structures in Natural Language: First order Logic (FoL)

Reasoning Under Uncertainty: Introduction to Probability

Thinking of Nested Quantification

Transcription:

Logic Lesson 3: Tables and Models Flavio Zelazek flavio.zelazek@gmail.com October 22, 2014 Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 1 / 29

Previous lessons You can download previous lessons slides from: http://tiny.cc/logic2014 Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 2 / 29

Truth tables Lesson 3 1 Truth tables Summary Evaluation of sentences Evaluation of arguments 2 Predicate Logic Introduction Quantifiers The language L 3 Transcription into L 3 3 Models Substitutions Truth Validity Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 3 / 29

Summary Truth tables Summary X Y X X Y X Y X Y X Y T T F T T T T T F F F T F F F T T F T T F F F T F F T T Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 4 / 29

Truth tables Evaluation of complex sentences Evaluation of sentences A B C (A (B C)) ((A B) (A C)) T T T? T T F? T F T? T F F? F T T? F T F? F F T? F F F? Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 5 / 29

Truth tables Evaluation of arguments Evaluation of arguments How would you evaluate, for example, the argument: (1) The killer is Albert or Benjamin. (2) Benjamin is innocent. Therefore, (3) Albert is the killer. by using truth tables? Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 6 / 29

Exercise 1 Truth tables Evaluation of arguments (1) If I am not bored and I am not tired, I ll go to the theme park. (2) I am not either bored or tired. (3) I ll go to the theme park. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 7 / 29

Exercise 2 Truth tables Evaluation of arguments (1) I will lose the contest, unless I do a lot of exercise before it starts. (2) If I don t have enough time before the contest starts, I will not do a lot of exercise. (3) I will lose the contest, unless I have enough time before it starts. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 8 / 29

Exercise 3 Truth tables Evaluation of arguments (1) I ll stay focused on the lesson, unless Alexis distracts me. (2) Alexis distracts me if she wears a cyan shirt. (3) I ll stay focused on the lesson, unless Alexis wears a cyan shirt. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 9 / 29

Predicate Logic Lesson 3 1 Truth tables Summary Evaluation of sentences Evaluation of arguments 2 Predicate Logic Introduction Quantifiers The language L 3 Transcription into L 3 3 Models Substitutions Truth Validity Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 10 / 29

Predicate Logic Introduction Example 3.1: I can get no satisfaction (1) If Adam will sign up for Aerospace Engineering, Beatrix will do it as well. (2) Adam will sign up for Aerospace Engineering. Therefore, (3) Beatrix will sign up for Aerospace Engineering. (4) The firm SmartAssumption will assume Charles or Delilah. (5) The firm SmartAssumption will assume Charles. So, (6) The firm SmartAssumption will not assume Delilah. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 11 / 29

Predicate Logic Introduction Example 3.2: I (still) can get no satisfaction (1) Every man is mortal. (2) Socrates is a man. Therefore, (3) Socrates is mortal. (4) Some cats are black. (5) Fritz is a cat. Therefore, (6) Fritz is black. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 12 / 29

Predicate Logic Introduction Example 3.3: names and predicates Transcription guide: s : Socrates f : Fritz Mx : x is a man Cx : x is a cat Lxy : x loves y Socrates is a man. Fritz loves Socrates. Socrates loves Fritz only if Fritz is a cat. Ms Lfs Lsf Cf Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 13 / 29

Predicate Logic Quantifiers Example 3.4: variables and quantifiers Transcription guide: f : Fritz Cx : x is a cat Bx : x is black Lxy : x loves y Everything is black. Fritz loves something. Every cat is black. Some cats are black. No cats are loved. x Bx x Lfx x (Cx Bx) x (Cx Bx) x (Cx y Lyx) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 14 / 29

Predicate Logic The language L 3 The alphabet of L 3 The Alphabet of language L 3 for Predicate Logic contains: Names: a, b, c,... Variables: x, y, z,... Predicates: A, B, C,... Connectives,,,, Quantifiers:, Parentheses: (, ) (The name L 3 is from [Bencivenga 1984].) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 15 / 29

Predicate Logic The language L 3 The alphabet of L 3 The Alphabet of language L 3 for Predicate Logic contains: Names: a, b, c,... Variables: x, y, z,... Predicates: A, B, C,... Connectives,,,, Quantifiers:, Parentheses: (, ) (The name L 3 is from [Bencivenga 1984].) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 15 / 29

Predicate Logic The language L 3 The alphabet of L 3 The Alphabet of language L 3 for Predicate Logic contains: Names: a, b, c,... Variables: x, y, z,... Predicates: A, B, C,... Connectives,,,, Quantifiers:, Parentheses: (, ) (The name L 3 is from [Bencivenga 1984].) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 15 / 29

Predicate Logic The language L 3 The alphabet of L 3 The Alphabet of language L 3 for Predicate Logic contains: Names: a, b, c,... Variables: x, y, z,... Predicates: A, B, C,... Connectives,,,, Quantifiers:, Parentheses: (, ) (The name L 3 is from [Bencivenga 1984].) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 15 / 29

Predicate Logic The language L 3 The alphabet of L 3 The Alphabet of language L 3 for Predicate Logic contains: Names: a, b, c,... Variables: x, y, z,... Predicates: A, B, C,... Connectives,,,, Quantifiers:, Parentheses: (, ) (The name L 3 is from [Bencivenga 1984].) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 15 / 29

Predicate Logic The language L 3 The alphabet of L 3 The Alphabet of language L 3 for Predicate Logic contains: Names: a, b, c,... Variables: x, y, z,... Predicates: A, B, C,... Connectives,,,, Quantifiers:, Parentheses: (, ) (The name L 3 is from [Bencivenga 1984].) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 15 / 29

Predicate Logic The language L 3 The alphabet of L 3 The Alphabet of language L 3 for Predicate Logic contains: Names: a, b, c,... Variables: x, y, z,... Predicates: A, B, C,... Connectives,,,, Quantifiers:, Parentheses: (, ) (The name L 3 is from [Bencivenga 1984].) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 15 / 29

Predicate Logic The language L 3 Formation rules for L 3 Definition of Sentence of L 3 : i) If X is an n-ary predicate and each one of t 1,..., t n is a name or a variable, then Pt 1... t n is a sentence of L 3. ii) If X is a sentence of L 3, so is X. iii) If X and Y are sentences of L 3, so are (X Y ), (X Y ), (X Y ), and (X Y ). iv) If X is a sentence of L 3 and u is a variable, then u X and u X are sentence of L 3. v) Nothing else is a sentence of L 3. [Teller 2014, Vol. II, p. 9 (PDF p. 65)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 16 / 29

Predicate Logic The language L 3 Formation rules for L 3 Definition of Sentence of L 3 : i) If X is an n-ary predicate and each one of t 1,..., t n is a name or a variable, then Pt 1... t n is a sentence of L 3. ii) If X is a sentence of L 3, so is X. iii) If X and Y are sentences of L 3, so are (X Y ), (X Y ), (X Y ), and (X Y ). iv) If X is a sentence of L 3 and u is a variable, then u X and u X are sentence of L 3. v) Nothing else is a sentence of L 3. [Teller 2014, Vol. II, p. 9 (PDF p. 65)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 16 / 29

Predicate Logic The language L 3 Formation rules for L 3 Definition of Sentence of L 3 : i) If X is an n-ary predicate and each one of t 1,..., t n is a name or a variable, then Pt 1... t n is a sentence of L 3. ii) If X is a sentence of L 3, so is X. iii) If X and Y are sentences of L 3, so are (X Y ), (X Y ), (X Y ), and (X Y ). iv) If X is a sentence of L 3 and u is a variable, then u X and u X are sentence of L 3. v) Nothing else is a sentence of L 3. [Teller 2014, Vol. II, p. 9 (PDF p. 65)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 16 / 29

Predicate Logic The language L 3 Formation rules for L 3 Definition of Sentence of L 3 : i) If X is an n-ary predicate and each one of t 1,..., t n is a name or a variable, then Pt 1... t n is a sentence of L 3. ii) If X is a sentence of L 3, so is X. iii) If X and Y are sentences of L 3, so are (X Y ), (X Y ), (X Y ), and (X Y ). iv) If X is a sentence of L 3 and u is a variable, then u X and u X are sentence of L 3. v) Nothing else is a sentence of L 3. [Teller 2014, Vol. II, p. 9 (PDF p. 65)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 16 / 29

Predicate Logic The language L 3 Formation rules for L 3 Definition of Sentence of L 3 : i) If X is an n-ary predicate and each one of t 1,..., t n is a name or a variable, then Pt 1... t n is a sentence of L 3. ii) If X is a sentence of L 3, so is X. iii) If X and Y are sentences of L 3, so are (X Y ), (X Y ), (X Y ), and (X Y ). iv) If X is a sentence of L 3 and u is a variable, then u X and u X are sentence of L 3. v) Nothing else is a sentence of L 3. [Teller 2014, Vol. II, p. 9 (PDF p. 65)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 16 / 29

Predicate Logic The language L 3 Formation rules for L 3 Definition of Sentence of L 3 : i) If X is an n-ary predicate and each one of t 1,..., t n is a name or a variable, then Pt 1... t n is a sentence of L 3. ii) If X is a sentence of L 3, so is X. iii) If X and Y are sentences of L 3, so are (X Y ), (X Y ), (X Y ), and (X Y ). iv) If X is a sentence of L 3 and u is a variable, then u X and u X are sentence of L 3. v) Nothing else is a sentence of L 3. [Teller 2014, Vol. II, p. 9 (PDF p. 65)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 16 / 29

Bound and free variables Predicate Logic The language L 3 The Scope of a quantifier is the shortest full sentence which follows it. Everything inside this shortest full following sentence is said to be in the scope of the quantifier. A variable u is Bound just in case it occurs in the scope of a quantifier u or u. A variable is Free just in case it is not bound. [Teller 2014, Vol. II, p. 30 (PDF p. 77)] A sentence with one or more free variables is called an Open Sentence. A sentence which is not open is called a Closed Sentence. [Teller 2014, Vol. II, p. 34 (PDF p. 79)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 17 / 29

Predicate Logic Transcription into L 3 Exercise 4 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Cid loves Eve if he is taller than she is. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 18 / 29

Predicate Logic Transcription into L 3 Exercise 4 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Cid loves Eve if he is taller than she is. Tce Lce Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 18 / 29

Predicate Logic Transcription into L 3 Exercise 5 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Either Adam loves Eve or Eve loves Adam, but both love Cid. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 19 / 29

Predicate Logic Transcription into L 3 Exercise 5 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Either Adam loves Eve or Eve loves Adam, but both love Cid. (Lae Lea) (Lac Lec) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 19 / 29

Predicate Logic Transcription into L 3 Exercise 6 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Only if Cid is a cat does Eve love him. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 20 / 29

Predicate Logic Transcription into L 3 Exercise 6 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Only if Cid is a cat does Eve love him. Lec Cc Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 20 / 29

Predicate Logic Transcription into L 3 Exercise 7 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Everyone is loved by either Cid or Adam. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 21 / 29

Predicate Logic Transcription into L 3 Exercise 7 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Everyone is loved by either Cid or Adam. x (Lcx Lax) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 21 / 29

Predicate Logic Transcription into L 3 Exercise 8 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Either everyone is loved by Adam or everyone is loved by Cid. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 22 / 29

Predicate Logic Transcription into L 3 Exercise 8 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y Either everyone is loved by Adam or everyone is loved by Cid. x Lax x Lcx Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 22 / 29

Predicate Logic Transcription into L 3 Exercise 9 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y No one loves both Adam and Cid. Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 23 / 29

Predicate Logic Transcription into L 3 Exercise 9 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y No one loves both Adam and Cid. x (Lxa Lxc) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 23 / 29

Predicate Logic Transcription into L 3 Exercise 9 Transcription guide: a : Adam e : Eve c : Cid Cx : x is a cat Lxy : x loves y Txy : x is taller than y No one loves both Adam and Cid. x (Lxa Lxc) (also: x (Lxa Lxc)) Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 23 / 29

Models Lesson 3 1 Truth tables Summary Evaluation of sentences Evaluation of arguments 2 Predicate Logic Introduction Quantifiers The language L 3 Transcription into L 3 3 Models Substitutions Truth Validity Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 24 / 29

Models Interpretations An Interpretation, or a Model, consists of: a) A collection of objects, called the interpretation s Domain D. The domain always has at least one object. b) A name for each object in D. An object may have just one name or more than one name. c) A list of predicates. d) A specification of the objects of which each predicate is true and the objects of which each predicate is false. In this way every atomic sentence formed from predicates and names gets a truth value. e) Possibly some atomic propositions (or atomic sentence letters), that is zero place predicates. The interpretation specifies a truth value for any included atomic proposition. [Teller 2014, Vol. II, p. 16 (PDF p. 70)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 25 / 29

Substitutions Models Substitutions For any universally quantified sentence u X or existentially quantified sentence u X, the Substitution Instance of the sentence, with the name s substituted for the variable u (written X[s/u]), is the sentence formed by dropping the initial universal or existential quantifier and writing s for all free occurrences of u in X. [Teller 2014, Vol. II, p. 33 (PDF p. 78)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 26 / 29

Models Truth Truth in an interpretation A universally quantified closed sentence is true in an interpretation just in case all of the sentence s substitution instances, formed with names in the interpretation, are true in the interpretation. An existentially quantified closed sentence is true in an interpretation just in case at least one of the sentence s substitution instances, formed with names in the interpretation, is true in the interpretation. [Teller 2014, Vol. II, p. 35 (PDF p. 79)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 27 / 29

Validity Models Validity A Predicate Logic Argument, that is an argument expressed with sentences of L 3, is Valid if and only if the conclusion is true in every interpretation in which all the premises are true. [Teller 2014, Vol. II, p. 25 (PDF p. 74)] A Counterexample to a predicate logic argument is an interpretation in which the premises are all true but the conclusion is false. [Teller 2014, Vol. II, p. 26 (PDF p. 75)] Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 28 / 29

Example 3.5 Models Validity M 1 M 2 M 3 D = everything N N {0, 1} Lxy x loves y x y x < y Cxy x causes y x divides y x divides y s Socrates 6 6 p philosophy 3 3 f Fritz 2 2 g God 1 10 Is x y Cxy true in M 1? Is y x Cxy true in M 1? Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 29 / 29

Example 3.5 Models Validity M 1 M 2 M 3 D = everything N N {0, 1} Lxy x loves y x y x < y Cxy x causes y x divides y x divides y s Socrates 6 6 p philosophy 3 3 f Fritz 2 2 g God 1 10 Is x y Cxy true in M 1? Is y x Cxy true in M 1? Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 29 / 29

Example 3.5 Models Validity M 1 M 2 M 3 D = everything N N {0, 1} Lxy x loves y x y x < y Cxy x causes y x divides y x divides y s Socrates 6 6 p philosophy 3 3 f Fritz 2 2 g God 1 10 Is x y Cxy true in M 1? Is y x Cxy true in M 1? Flavio Zelazek (flavio.zelazek@gmail.com) Logic (Lesson 3: Tables and Models) October 22, 2014 29 / 29