PHIL 240, Introduction to Logic, Sections Fall 2011 FINAL EXAM 14 December Name (5 points): Section (5 points):

Similar documents
Quantification. Using the suggested notation, symbolize the statements expressed by the following sentences.

Today s Lecture 4/13/ WFFs/ Free and Bound Variables 9.3 Proofs for Pred. Logic (4 new implicational rules)!

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

CS112 Friday, September 12, 2008

Intermediate Logic. Natural Deduction for FOL

Axiom 3 Z(pos(Z) X(X intersection of Z P(X)))

CITS2211 Discrete Structures Logic

CSI30. Chapter 1. The Foundations: Logic and Proofs Rules of inference with quantifiers Logic and bit operations Specification consistency

Automatic Reasoning (Section 8.3)

Chapter 1.3 Quantifiers, Predicates, and Validity. Reading: 1.3 Next Class: 1.4. Motivation

Higher-Order Logic. Specification and Verification with Higher-Order Logic

, ->, and <-> just as atomic sentence letter (which we can still

Multi-Place Predicates and Multiple Quantifiers

CSE Discrete Structures

INTRODUCTION TO PROLOG

Truth Trees. Truth Tree Fundamentals

CS Bootcamp Boolean Logic Autumn 2015 A B A B T T T T F F F T F F F F T T T T F T F T T F F F

Truth Functional Properties on Truth Trees

Intermediate Logic. Interpretations

Propositional Calculus: Boolean Functions and Expressions. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Resolution (14A) Young W. Lim 6/14/14

6. Inference and resolution

Chapter 3: Propositional Languages

Automated Reasoning. Natural Deduction in First-Order Logic

Practice Problems: All Computer Science majors are people. Some computer science majors are logical thinkers. Some people are logical thinkers.

SECTION 1.5: LOGIC PROGRAMMING

The set consisting of all natural numbers that are in A and are in B is the set f1; 3; 5g;

First Order Logic Part 1

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur

Chapter 16. Logic Programming. Topics. Unification. Resolution. Prolog s Search Strategy. Prolog s Search Strategy

Computational Logic. SLD resolution. Damiano Zanardini

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Diagonalization. The cardinality of a finite set is easy to grasp: {1,3,4} = 3. But what about infinite sets?

logic with quantifiers (informally)

Proofs are Programs. Prof. Clarkson Fall Today s music: Proof by Paul Simon

Let A(x) be x is an element of A, and B(x) be x is an element of B.

Range Restriction for General Formulas

The Specification Phase

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/27

Computation Club: Gödel s theorem

CMPSCI 250: Introduction to Computation. Lecture #7: Quantifiers and Languages 6 February 2012

Constraint Propagation for Efficient Inference in Markov Logic

Automated Reasoning PROLOG and Automated Reasoning 13.4 Further Issues in Automated Reasoning 13.5 Epilogue and References 13.

First Order Predicate Logic CIS 32

First-Order Logic PREDICATE LOGIC. Syntax. Terms

Section 2.2: Introduction to the Logic of Quantified Statements

A review of First-Order Logic

Lecture 4: January 12, 2015

Lecture Notes 15 Number systems and logic CSS Data Structures and Object-Oriented Programming Professor Clark F. Olson

2.4 Multiplication and Division of Integers

Propositional Calculus. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

6.034 Notes: Section 10.1

Goals: Define the syntax of a simple imperative language Define a semantics using natural deduction 1

Lecture 17 of 41. Clausal (Conjunctive Normal) Form and Resolution Techniques

CSC 501 Semantics of Programming Languages

Propositional Logic. Part I

Complete Instantiation of Quantified Formulas in Satisfiability Modulo Theories. ACSys Seminar

Identity, Functions, and Definite Descriptions

Recursive Functions. Recursive functions are built up from basic functions by some operations.

What is the study of logic?

Lecture 9: Predicate Logic. First: Finish Propositional Logic in Haskell. Semantics in Haskell. Syntax In Haskell. CS 181O Spring 2016 Kim Bruce

CSE 20 DISCRETE MATH. Winter

Standard Boolean Forms

Logic and its Applications

CSC Discrete Math I, Spring Sets

Knowledge Representation

RECITATION 5: INDUCTION, PRIMITIVE RECURSION, & MIDTERM REVIEW

Full Clausal Logic - Syntax: clauses

Software Paradigms (Lesson 6) Logic Programming

CSE20: Discrete Mathematics

Geometry Note-Sheet Overview

Back to the knights and knaves island

Chapter 2 & 3: Representations & Reasoning Systems (2.2)

CSE 20 DISCRETE MATH. Fall

Foundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution

Constraint Solving. Systems and Internet Infrastructure Security

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages

LOGIC AND DISCRETE MATHEMATICS

L05 - Negating Statements

Solutions to Selected Exercises

HOL DEFINING HIGHER ORDER LOGIC LAST TIME ON HOL CONTENT. Slide 3. Slide 1. Slide 4. Slide 2 WHAT IS HIGHER ORDER LOGIC? 2 LAST TIME ON HOL 1

Notes. Notes. Introduction. Notes. Propositional Functions. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry.

Lecture 6,

CS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010

Class 8 - September 13 Indirect Truth Tables for Invalidity and Inconsistency ( 6.5)

Martin-Löf s Type Theory

A Brief Guide to MacLogic

Chapter 9 Deductive Arguments II Truth-Functional Logic. Tutorial: Truth Tables

Boolean Algebra & Digital Logic

Software Engineering Lecture Notes

Bertrand. A Symbolic Logic Problem Solver For The Macintosh Version 1.8

Logic as a framework for NL semantics. Outline. Syntax of FOL [1] Semantic Theory Type Theory

Logic Programming Paradigm

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur

Name: CSCI E-220: Artificial Intelligence Midterm Exam, Fall Term 2001

1. Define admissibility and suggest an admissible heuristic functions for the Rubik s cube. (half-twist is counted as a single move).

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

Towards a Logical Reconstruction of Relational Database Theory

Introduction to Computer Architecture

Inference rule for Induction

Transcription:

Section I True / False questions (2 points each) 1. TRUE Any argument that is sound is also valid. 2. FALSE_ If the premises of an argument are all true, then that argument is sound. 3. TRUE Every universal wff contains at least one variable. 4. TRUE Every negation is a denial. 5. FALSE_ If the conclusion of a valid argument is false, then its premises must all be false. 6. FALSE_ Every WFF contains at least one connective.. 7. FALSE_ Every WFF of predicate logic contains at least one quantifier. 8. FALSE_ Some conditionals are negations. 9. FALSE_ Every argument has at least two premises. 10. FALSE_ Every WFF that starts with the symbol x is an existential. Section II Mark the correct completion (5 points each) 1. The conclusion of a valid argument... (a) must be false if the premises are all false. (b) X_ must be true if the premises are all true. (c) must be false if all the premises are true. (d) must be true if all the premises are false. (e) must be true if it is also false. 2. The following is NOT a condition on the application of E (a) X_ the instantial name must occur in the line which is repeated. (b) the instantial name cannot occur in the line containing the sentence which is repeated. (c) the instantial name cannot occur in the line that motivates the assumption to be discharged. (d) the instantial name cannot occur in the assumption set of the line containing the sentence which is repeated save for the assumption itself.

3. A finite interpretation may contain all but (a) a universe (b) predicate extensions (c) truth value specifications (d) X_ a galaxy 4. The condition on I requires that (a) the instantial name must occur in at least one of the sentences in the assumption of the line to which one applies the rule. (b) there is no condition on the application of I. (c) _ X the instantial name cannot occur in any sentence in the assumption set of the line to which one applies the rule. (d) a free variable must be used in place of an instantial name. (e) the instantial name be used in the sentence which results from the application of the rule. 5. (A (B & ~C)) is a (a) X_ conditional (b) conjunction (c) negation (d) disjunction (e) not a WFF

Section III Translations (5 points each) Using the following translation scheme, construct a strictly correct translations that includes all parentheses. Bx = x is a book Hx = x is a hardback Px = x is a paperback P = Peter Dances Q = Jane Dances 1) Peter dances if and only if Jane Dances. (P Q) 2) All books are paperbacks. x(bx Px) 3) All books are either paperback or hardback. x(bx (Px v Hx))

Section IV Proofs (5 points each) Give a proof for each of the following sequents. You may use both primitive and derived rules. 1. x(fx Gx), x(gx Hx), xfx xhx 1 (1) x(fx Gx) A 2 (2) x(gx Hx) A 3 (3) xfx A 1 (4) Fa Ga 1 E 3 (5) Fa 3 E 1,3 (6) Ga 4,5 E 2 (7) Ga Ha 2 E 1,2,3 (8) Ha 6,7 E 1,2,3 (9) xhx 8 I 2. (P R), (~R v Q), (Q S) (P S) 1 (1) (P R) A 2 (2) (~R v Q) A 3 (3) (Q S) A 4 (4) P A (for I) 1,4 (5) R 1,4 E 1,2,4 (6) Q 2,5 ve 1,2,3,4 (7) S 3,6 E 1,2,3 (8) (P S) 7 I (4)

3. x(dx Ax), x(ax Cx), xdx xcx 1 (1) x(dx Ax) A 2 (2) x(ax Cx) A 3 (3) xdx A 4 (4) Da A (for Ε on 3) 1 (5) Da Aa 1 E 1,4 (6) Aa 4,5 E 2 (7) Aa Ca 2 E 1,2,4 (8) Ca 6,7 E 1,2,4 (9) xcx 8 I 1,2,3 (10) xcx 3,9 E (4)

Section V Truth Tables (5 points each) Answer each question using truth tables. You may use either direct or indirect truth tables, but if you choose to use an indirect truth table, sufficient work must be shown to indicate how you reached your answer. ~(~P v Q) (P ~Q) Section IV Finite Interpretations (2 points each) For each of the sentences below, indicate whether it is true or false in this finite interpretation: U: {a, b, c} F: {a} G: {a,b, c} L: {<a,a>, <a,b>, <b,c>, <c,a>} 1. FALSE x ylxy 2. TRUE_ x(fx & Gx) 3. TRUE_ ( xgx xfx) 4. TRUE_ xlxx 5. TRUE_ xgx