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

Similar documents
INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims

INTRODUCTION TO LOGIC 3 Formalisation in Propositional Logic

INTRODUCTION TO LOGIC 4 The Syntax of Predicate Logic

Syllogistic Logic and its Extensions

(c) Establish the following claims by means of counterexamples.

INTRODUCTION TO LOGIC 8 Identity and Definite Descriptions

EXERCISES BOOKLET. for the Logic Manual. Volker Halbach. Oxford. There are no changes to the exercises from last year s edition

Propositional Logic Not Enough

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

A Little Deductive Logic

INTRODUCTION TO LOGIC

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

A Little Deductive Logic

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1

Logik für Informatiker Logic for computer scientists

INTENSIONS MARCUS KRACHT

2. Introduction to commutative rings (continued)

1. Introduction to commutative rings and fields

Introduction to Metalogic

INTRODUCTION TO LOGIC 8 Identity and Definite Descriptions

CS560 Knowledge Discovery and Management. CS560 - Lecture 3 1

INTRODUCTION TO LOGIC

Logic and Proofs. (A brief summary)

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38

Introduction to Logic and Axiomatic Set Theory

Formal Logic Lecture 11

1 Propositional Logic

Announcements CompSci 102 Discrete Math for Computer Science

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

Discrete Mathematics and Its Applications

Relations. Carl Pollard. October 11, Department of Linguistics Ohio State University

LECTURE 1. Logic and Proofs

CM10196 Topic 2: Sets, Predicates, Boolean algebras

Overview. 1. Introduction to Propositional Logic. 2. Operations on Propositions. 3. Truth Tables. 4. Translating Sentences into Logical Expressions

Proof strategies, or, a manual of logical style

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

A statement is a sentence that is definitely either true or false but not both.

Logic for Computer Science - Week 4 Natural Deduction

Logic. Propositional Logic: Syntax. Wffs

PHIL12A Section answers, 14 February 2011

a. ~p : if p is T, then ~p is F, and vice versa

Introduction to Sets and Logic (MATH 1190)

Lecture 7. Logic. Section1: Statement Logic.

Chapter 9. Modal Language, Syntax, and Semantics

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

The semantics of propositional logic

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

a. Introduction to metatheory

ICS141: Discrete Mathematics for Computer Science I

Draft of February 2019 please do not cite without permission. A new modal liar 1 T. Parent

A Little History Incompleteness The First Theorem The Second Theorem Implications. Gödel s Theorem. Anders O.F. Hendrickson

1. Introduction to commutative rings and fields

Williamson s Modal Logic as Metaphysics

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Propositions. Frequently, we will use the word statement instead of proposition.

Lecture 13: Soundness, Completeness and Compactness

Stanford University CS103: Math for Computer Science Handout LN9 Luca Trevisan April 25, 2014

Logic and Proofs. (A brief summary)

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

A New Semantic Characterization of. Second-Order Logical Validity

MA103 STATEMENTS, PROOF, LOGIC

Logic. Quantifiers. (real numbers understood). x [x is rotten in Denmark]. x<x+x 2 +1

Gödel s Completeness Theorem

UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane Philosophy 142

127: Lecture notes HT17. Week 8. (1) If Oswald didn t shoot Kennedy, someone else did. (2) If Oswald hadn t shot Kennedy, someone else would have.

Logic: Propositional Logic (Part I)

Natural Logic Welcome to the Course!

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates

Reasoning. Inference. Knowledge Representation 4/6/2018. User

TRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere

Section 1.1: Logical Form and Logical Equivalence

3 The Semantics of the Propositional Calculus

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

Chapter 1: Formal Logic

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 1

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

Mathematical Preliminaries. Sipser pages 1-28

Mathematical Logic. Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. Chiara Ghidini. FBK-IRST, Trento, Italy

Philosophy 5340 Epistemology. Topic 3: Analysis, Analytically Basic Concepts, Direct Acquaintance, and Theoretical Terms. Part 2: Theoretical Terms

First Order Logic: Syntax and Semantics

Colette Sciberras, PhD (Dunelm) 2016 Please do not distribute without acknowledging the author!

Logic and Propositional Calculus

LIN1032 Formal Foundations for Linguistics

First Order Logic (1A) Young W. Lim 11/5/13

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

CHAPTER THREE: RELATIONS AND FUNCTIONS

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Section 3.1: Direct Proof and Counterexample 1

Russell s logicism. Jeff Speaks. September 26, 2007

Topic 1: Propositional logic

Phil Introductory Formal Logic

cse541 LOGIC FOR COMPUTER SCIENCE

Manual of Logical Style (fresh version 2018)

LIN1032 Formal Foundations for Linguistics

Lecture 4. Algebra, continued Section 2: Lattices and Boolean algebras

Lecture 9. Model theory. Consistency, independence, completeness, categoricity of axiom systems. Expanded with algebraic view.

1 Propositional Logic

Transcription:

The Logic Manual INTRODUCTION TO LOGIC 1 Sets, Relations, and Arguments Volker Halbach Pure logic is the ruin of the spirit. Antoine de Saint-Exupéry The Logic Manual web page for the book: http://logicmanual.philosophy.ox.ac.uk/ Exercises Booklet More Exercises by Peter Fritz slides of the lectures worked examples past examination papers with solutions Mark Sainsbury: Logical Forms: An Introduction to Philosophical Logic, Blackwell, second edition, 2001 Why logic? Arguments Logic is the scientific study of valid argument. Philosophy is all about arguments and reasoning. Logic allows us to test validity rigorously. Modern philosophy assumes familiarity with logic. Used in linguistics, mathematics, computer science,... Helps us make fine-grained conceptual distinctions. Logic is compulsory. Sentences that are true or false are called declarative sentences. In what follows I will focus exclusively on declarative sentences. An argument consists of a set of declarative sentences (the premisses) and a declarative sentence (the conclusion) somehow marked as the concluded sentence.

I m not dreaming if I can see the computer in front of me. I can see the computer in front of me. Therefore I m not dreaming. I m not dreaming if I can see the computer in front of me is a premiss. I can see the computer in front of me is a premiss. I m not dreaming is the conclusion, which is marked by therefore. 40 Occasionally the conclusion precedes the premisses or is found between premisses. The conclusion needn t be marked as such by therefore or a similar phrase. Alternative ways to express the argument: I m not dreaming. For if I can see the computer in front of me I m not dreaming, and I can see the computer in front of me. I m not dreaming, if I can see the computer in front of me. Thus, I m not dreaming. This is because I can see the computer in front of me. The point of good arguments is that the truth of the premisses guarantees the truth of the conclusion. Many arguments with this property exhibit certain patterns. I m not dreaming if I can see the computer in front of me. I can see the computer in front of me. Therefore I m not dreaming. Fiona can open the dvi-file if yap is installed. yap is installed. Therefore Fiona can open the dvi-file. general form of both arguments A if B. B. Therefore A. Logicians are interested in the patterns of good arguments that cannot take one from true premisses to a false conclusion. Characterisation An argument is logically (or formally) valid if and only if there is no interpretation under which the premisses are all true and the conclusion is false. Zeno is a tortoise. All tortoises are toothless. Therefore Zeno is toothless. Socrates is a man. All men are mortal. Therefore Socrates is mortal.

Features of logically valid arguments: The truth of the conclusion follows from the truth of the premisses independently what the subject-specific expressions mean. Whatever tortoises are, whoever Zeno is, whatever exists: if the premisses of the argument are true the conclusion will be true. The truth of the conclusion follows from the truth of the premisses purely in virtue of the form of the argument and independently of any subject-specific assumptions. It s not possible that the premisses of a logically valid argument are true and its conclusion is false. In a logically valid argument the conclusion can be false (in that case at least one of its premisses is false). Validity does not depend on the meanings of subject-specific expressions. The following argument isn t logically valid: Every eu citizen can enter the us without a visa. Max is a citizen of Sweden. Therefore Max can enter the us without a visa. However, one can transform it into a logically valid argument by adding a premiss: 30 Every eu citizen can enter the us without a visa. Max is a citizen of Sweden. Every citizen of Sweden is a eu citizen. Therefore Max can enter the us without a visa. Characterisation (consistency) A set of sentences is consistent if and only if there is a least one interpretation under which all sentences of the set are true. Characterisation (logical truth) A sentence is logically true if and only if it is true under any interpretation. All metaphysicians are metaphysicians. Characterisation (contradiction) A sentence is a contradiction if and only if it is false under any interpretation. Some metaphysicians who are also ethicists aren t metaphysicians. I ll make these notions precise for the formal languages or propositional and predicate logic.

1.1 Sets 1.1 Sets Sets The following is not really logic in the strict sense but we ll need it later and it is useful in other areas as well. Characterisation A set is a collection of objects. The objects in the set are the elements of the set. There is a set that has exactly all books as elements. There is a set that has Volker Halbach as its only element. Sets are identical if and only if they have the same elements. The set of all animals with kidneys and the set of all animals with a heart are identical, because exactly those animals that have kidneys also have a heart and vice versa. 25 1.1 Sets 1.1 Sets The claim a is an element of S can be written as a S. One also says S contains a or a is in S. There is exactly one set with no elements. The symbol for this set is. The set {Oxford,, Volker Halbach} has as its elements exactly three things: Oxford, the empty set, and me. Here is another way to denote sets: { d d is an animal with a heart } is the set of all animals with a heart. It has as its elements exactly all animals with a heart. {Oxford,, Volker Halbach} = {Volker Halbach, Oxford, } {the capital of England, Munich} = {London, Munich, the capital of England} Mars {d d is a planet } { } 15

Relations The set {London, Munich} is the same set as {Munich, London}. The ordered pair London, Munich is different from the ordered pair Munich, London. Ordered pairs are identical if and only if the agree in their first and second components, or more formally: d, e = f, g iff (d = f and e = g) The abbreviation iff stands for if and only if. There are also triples (3-tuples) like London, Munich, Rome, quadruples, 5-tuples, 6-tuples etc. A set is a binary relation if and only if it contains only ordered pairs. The empty set doesn t contain anything that s not an ordered pair; therefore it s a relation. The relation of being a bigger city than is the set { London, Munich, London, Birmingham, Paris, Milan...}. The following set is a binary relation: {, Italy, Italy,,,, Italy, Italy,, } I ll mention only some properties of relations. A binary relation R is symmetric iff for all d, e: if d, e R then e, d R. Some relations can be visualised by diagrams. Every pair corresponds to an arrow: Italy The relation with the following diagram isn t symmetric: Italy The pair, Italy is in the relation, but the pair Italy, isn t.

The relation with the following diagram is symmetric. A binary relation is transitive iff for all d, e, f : if d, e R and e, f R, then also d, f R Italy In the diagram of a transitive relation there is for any two-arrow way from an point to a point a direct arrow. This is the diagram of a relation that s not transitive: Italy This is the diagram of a relation that is transitive: Italy A binary relation R is reflexive on a set S iff for all d in S the pair d, d is an element of R. The relation with the following diagram is not reflexive on {,, Italy}, but reflexive on {, }: The relation with the following diagram is reflexive on the set {,, Italy}. Italy Italy 5

1.3 Functions 1.3 Functions Functions A binary relation R is a function iff for all d, e, f : if d, e R and d, f R then e = f. The relation with the following diagram is a function: Italy There is at most one arrow leaving from every point in the diagram of a function. The set of all ordered pairs d, e such that e is mother of d is a function. This justifies talking about the mother of so-and-so. You might know examples of the following kind from school: The set of all pairs d, d 2 where d is some real number is a function. One can t write down all the pairs, but the function would look like this: { 2, 4, 1, 1, 5, 25, 1 2, 1 4...} One also think of a function as something that yields an output, e.g. 25 when given an input, e.g. 5, or that assigns the value 25 to the argument 5.