INTRODUCTION TO LOGIC FALL 2009 Quiz Game. ConceptsTrue/FalseTranslations Informal Proofs Formal Proofs 100 200 300 400 500.

Slides:



Advertisements
Similar presentations
Rules of Inference Rosen 1.5.
Advertisements

Predicate Logic Colin Campbell. A Formal Language Predicate Logic provides a way to formalize natural language so that ambiguity is removed. Mathematical.
CS1502 Formal Methods in Computer Science Lecture Notes 3 Consequence Rules Boolean Connectives.
CPSC 121: Models of Computation Unit 6 Rewriting Predicate Logic Statements Based on slides by Patrice Belleville and Steve Wolfman.
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Deduction In addition to being able to represent facts, or real- world statements, as formulas, we want to be able to manipulate facts, e.g., derive new.
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Methods of Proof for Quantifiers Chapter 12 Language, Proof and Logic.
Knowledge Representation Methods
Truth Trees Intermediate Logic.
22C:19 Discrete Structures Logic and Proof Spring 2014 Sukumar Ghosh.
Discrete Mathematics Lecture 2 Alexander Bukharovich New York University.
Predicate Logic.
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
Harper Langston New York University Summer 2015
Predicates and Quantifiers
1 CS 1502 Formal Methods in Computer Science Lecture Notes 12 Variables and Quantifiers.
Debbie Mueller Mathematical Logic Spring English sentences take the form Q A B Q is a determiner expression  the, every, some, more than, at least,
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Methods of Proof involving  Symbolic Logic February 19, 2001.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
 Predicate: A sentence that contains a finite number of variables and becomes a statement when values are substituted for the variables. ◦ Domain: the.
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
Discrete Mathematics CS 2610 August 24, Agenda Last class Introduction to predicates and quantifiers This class Nested quantifiers Proofs.
1 Math/CSE 1019C: Discrete Mathematics for Computer Science Fall 2011 Suprakash Datta Office: CSEB 3043 Phone: ext
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Introduction to Quantification Chapter 9 Language, Proof and Logic.
The Logic of Quantifiers Chapter 10 Language, Proof and Logic.
2.3Logical Implication: Rules of Inference From the notion of a valid argument, we begin a formal study of what we shall mean by an argument and when such.
First Order Logic Lecture 2: Sep 9. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
INTRODUCTION TO LOGIC Jennifer Wang Fall 2009 Midterm Review Quiz Game.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 8.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
22C:19 Discrete Structures Logic and Proof Fall 2014 Sukumar Ghosh.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
1 CS1502 Formal Methods in Computer Science Notes 15 Problem Sessions.
1 Chapter 2.1 Chapter 2.2 Chapter 2.3 Chapter 2.4 All images are copyrighted to their respective copyright holders and reproduced here for academic purposes.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2011 CSE 3111.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
The Logic of Conditionals Chapter 8 Language, Proof and Logic.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Propositional Logic. Assignment Write any five rules each from two games which you like by using propositional logic notations.
Chapter 1, Part III: Proofs With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without.
Foundations of Computing I CSE 311 Fall Announcements Homework #2 due today – Solutions available (paper format) in front – HW #3 will be posted.
Uniqueness Quantifier ROI for Quantified Statement.
Chapter 1 Logic and proofs
Formal Proofs and Quantifiers
3. The Logic of Quantified Statements Summary
Lecture Notes 8 CS1502.
{P} ⊦ Q if and only if {P} ╞ Q
CS201: Data Structures and Discrete Mathematics I
CS 1502 Formal Methods in Computer Science
Artificial Intelligence
CS 270 Math Foundations of CS
Computer Security: Art and Science, 2nd Edition
Predicates and Quantifiers
Discrete Mathematics Lecture 4 Logic of Quantified Statements
CPSC 121: Models of Computation
CS201: Data Structures and Discrete Mathematics I
Introduction to Computational Linguistics
Subderivations.
Presentation transcript:

INTRODUCTION TO LOGIC FALL 2009 Quiz Game

ConceptsTrue/FalseTranslations Informal Proofs Formal Proofs

ConceptsTrue/FalseTranslations Informal Proofs Formal Proofs

Final Question 2000

(100) What is the domain of discourse in Tarski’s World? The blocks that appear on the checkered board.

(200) Is this a sentence of FOL?:  x [  y Smaller(x,y)  (Cube(x)  Cube(y))] No.

(300) When is a variable in a well-formed formula considered free? When it is not bound by (does not fall within the scope of) a quantifier.

(400) What is the semantics for  ?  xS(x) is true iff every object satisfies S(x).

(500) Is  (a = b) an FO consequence of Cube(a) and  Cube(a)? Explain why or why not. Yes, it is. Cube(a) and  Cube(a) is a contradiction, no matter what “Cube” means, so anything follows.

(200) How many quantifiers appear in this sentence?: Jay is faster than any man on his team, but some woman out there is faster. Two.

(400) Is this a well-formed formula of FOL?:  y(Cube(x)  FrontOf(x,b)) Yes.

(600) When is a sentence ambiguous? When it has more than one reading / meaning / translation into FOL.

(800) How does this translate into FOL?: If a cow is chewing her cud, that means she’s happy.  x [(Cow(x)  ChewCud(x))  Happy(x)]

(1000) Give a counterexample to this being an FO validity:  x  y (SameCol(x,y)  SameCol(y,x)) Replace “SameCol” with nonsense predicate “Mimsy.” Let “Mimsy” mean “Loves.” Then consider a possible situation in which John loves Mary but Mary does not love John.

(100) How does this translate into FOL?: It’s not the case that if Mary’s tall, Sally is also tall.  (Tall(mary)  Tall(sally))

(200) What is the Aristotelian form of this sentence?: Anything between two cubes is also between two tetrahedral. All A’s are B’s.

(300) How does this translate into FOL?: There are some people that just can’t be pleased.  x [Person(x)    yPlease(y,x)]  x [Person(x)   CanBePleased(x)]

(400) How does this sentence read in plain English?:  x (Angry(x,2:00)  Student(x)  Fed(x,max,2:00)) No angry student fed Max at 2:00.

(500) How does this translate into FOL? If something is a cube, then it is not in the same column as either a or b.  x [Cube(x)   (SameCol(x,a)  SameCol(x,b))]

(200) What is the Aristotelian form of this sentence?: Nobody who’s anybody is a quitter. No A’s are B’s.

(400) How does this translate into FOL?: Everything smaller than a is a cube.  x (Smaller(x,a)  Cube(x))

(600) How does this sentence read in plain English?:  x (  LeftOf(x,a)   RightOf(x,a)). Anything that’s not left of a is not right of it either.

(800) How does this translate into FOL?: We’re all doomed unless Batman comes through.  ComesThrough(batman)   x Doomed(x)

(1000) How does this translate into FOL? No object in front of a dodecahedron is small, unless there is nothing in front of it.  x [  y  FrontOf(y,x)  (  z (Dodec(z)  FrontOf(x,z))   Small(x))]

(100) A sound argument can have false premises. False.

(200) Some rabbits are black translates as:  x (Rabbit(x)  Black(x)) False.

(300) This equivalence holds: A  (B  C)  (A  B)  C True.

(400) If a sentence is a logical truth, then it’s also an FO validity. False.

(500) Is this sentence true or false in this world?:  x  y [SameCol(x,y)  (Cube(x)  Tet(y))] False.

(200) In a world with only three small cubes, some object satisfies  Large(z)  Cube(z). True.

(400) This equivalence holds:  x (P(x)  Q(x))   x P(x)   x Q(x) False.

(600) This equivalence holds:  x (A  B)   x (A   B) True.

(800) If A is a tautological consequence of B, then A is an FO consequence of B. True.

(1000) Every cat climbs some tree at some time translates as  x  y  z [(Cat(y)  Tree(z))  (Time(x)  Climbs(y,z,x))] False.

(100) What is the name of the inference rule used here? Existential Introduction or Generalization

(200) Is the following world a counterexample to this inference? Something is large, because b is a cube. Yes.

(300) What is the main method of proof used in proving this argument? Existential Elimination

(400) Where does this informal proof go wrong? Let ‘c’ name some object such that Cube(c) and Small(c), from premises 1 and 2. Therefore some object is both a cube and small, by existential introduction. The first sentence: you know that something’s a cube and something’s small, but you can’t assume that the same thing is both.

(500) Give an informal proof of this argument. Let ‘a’ name an arbitrary object in the domain. By universal elimination on premises 1 and 2, we know that Tet(a)  Small(a) and  Small(a). So it follows that  Tet(a). But since the choice of a was arbitrary, we can use universal introduction to conclude  x  Tet(x).

(200) What is the name of the inference rule used here? Anything round is either blue or white. Therefore, if the Geico Gecko is round, then he’s blue or white. Universal Elimination or Instantiation

(400) What is the main method of proof used in proving this argument? Proof by Cases or Disjunction Elimination

(600) What is the main method of proof used in proving this argument? General Conditional Proof

(800) Describe what a counterexample world to this argument would look like. It would be a world in which no cubes exist.

(1000) Give an informal proof of this argument. Suppose for contradiction that  x Large(x). Then let ‘a’ name an arbitrary member of the domain. By universal elimination on the assumption and premise 1, we have Large(a) and Large(a)  Small(a), so by modus ponens, Small(a). But since a was arbitrary, we can conclude  x Small(x). But this contradicts premise 2. So we have a contradiction from the assumption that  x Large(x); therefore,  x Large(x).

(100) Is this a valid proof? Yes, if a exists in the domain of discourse.

(200) What is the main method of proof here?  Intro

(300) What’s the missing line? LeftOf(d,c)

(400) What’s the missing justification?  Elim: 3

(500) Give a formal proof of this argument.

(200) Is this a valid proof? Yes.

(400) What is the main method of proof here?  Elim

(600) What’s the missing line?  Cube(c)

(800) What’s the missing justification?  Intro: 4-7

(1000) Give a formal proof of this argument.

Final question Give a formal proof of this argument.