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

Size: px
Start display at page:

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

Transcription

1 INTRODUCTION Tomoya Sato Department of Philosophy University of California, San Diego Phil120: Symbolic Logic Summer 2014 TOMOYA SATO LECTURE 1: INTRODUCTION 1 / 51

2 WHAT IS LOGIC? LOGIC Logic is the study of formal validity. TOMOYA SATO LECTURE 1: INTRODUCTION 2 / 51

3 WHAT IS LOGIC? LOGIC Logic is the study of formal validity. TOMOYA SATO LECTURE 1: INTRODUCTION 3 / 51

4 WHAT IS VALIDITY? VALIDITY AND ARGUMENT Validity is a property of arguments. An argument is a set of sentences consisting of two parts: (1) the premises; (2) the conclusion. 1. Socrates is a human being. 2. All human beings are mortal. Socrates is mortal. TOMOYA SATO LECTURE 1: INTRODUCTION 4 / 51

5 EXAMPLES OF ARGUMENT 1. Tarski is not a fish. 2. Tarski is either a primate or a fish. Tarski is a primate. 1. x 2 = x < 0. x = 1. TOMOYA SATO LECTURE 1: INTRODUCTION 5 / 51

6 WHAT IS VALIDITY? DEFINITION: VALIDITY def An argument is valid if the premises of the argument are/were true, then the conclusion must be true. def An argument is valid it is impossible that all the premises are true and the conclusion is false. 1. if true 2. if true.. must be true. TOMOYA SATO LECTURE 1: INTRODUCTION 6 / 51

7 EXAMPLES 1. Socrates is a human being. 2. All human beings are mortal. Socrates is mortal. 1. If Tomoya is Japanese, then he can speak Japanese. 2. Tomoya is Japanese. Tomoya can speak Japanese. TOMOYA SATO LECTURE 1: INTRODUCTION 7 / 51

8 EXAMPLES 1. Tomoya is Japanese. Tomoya likes sushi. 1. If Tomoya is French, then he can speak French. 2. Tomoya is French. Tomoya can speak French. TOMOYA SATO LECTURE 1: INTRODUCTION 8 / 51

9 EXAMPLES 1. If Tomoya is Japanese, he can speak Japanese. 2. Tomoya can speak Japanese. Tomoya is Japanese. IMPORTANT POINTS Logic is concerned with validity. Validity is a property of arguments, in particular, a property of the relationship between the premises and conclusion. Actual truth values of the premises and conclusion are irrelevant to whether the argument is valid or invalid. TOMOYA SATO LECTURE 1: INTRODUCTION 9 / 51

10 THE FORMALITY OF LOGIC LOGIC Logic is the study of formal validity. What does "formality" mean? TOMOYA SATO LECTURE 1: INTRODUCTION 10 / 51

11 THE FORMALITY OF LOGIC 1. If Tomoya is Japanese, then Tomoya can speak Japanese. 2. Tomoya is Japanese. Tomoya can speak Japanese. 1. If Tomoya είναι Iαπωνικά, then Tomoya µπoρoύν να µιλoύν ιαπωνικά. 2. Tomoya είναι Iαπωνικά. Tomoya µπoρoύν να µιλoύν ιαπωνικά. TOMOYA SATO LECTURE 1: INTRODUCTION 11 / 51

12 THE FORMALITY OF LOGIC 1. If Tomoya είναι Iαπωνικά, then Tomoya µπoρoύν να µιλoύν ιαπωνικά. 2. Tomoya είναι Iαπωνικά. Tomoya µπoρoύν να µιλoύν ιαπωνικά. WHAT MAKES THE ARGUMENT VALID The function of "If, then." The orange parts are identical. The green parts are identical. The argument is valid due to its logical form. TOMOYA SATO LECTURE 1: INTRODUCTION 12 / 51

13 THE FORMALITY OF LOGIC DEFINITION: FORMAL VALIDITY An argument is formally valid form. An argument is formally valid exactly the same form is valid. def def it is valid due to its logical every argument with THE FORMALITY OF LOGIC Logic is concerned with the logical form of an argument. Logic is not concerned with the content of an argument. TOMOYA SATO LECTURE 1: INTRODUCTION 13 / 51

14 VALIDITY AND FORMAL VALIDITY Arguments Valid Arguments Formally Valid Arguments TOMOYA SATO LECTURE 1: INTRODUCTION 14 / 51

15 COURSE CONTENTS What arguments are formally valid? TWO TASKS Identify the logical form of an argument. Determine whether or not the logical form produces the validity. WHAT WE WILL LEARN 1 How to translate arguments in English into arguments in symbolic language. 2 How to determine whether or not the logical form produces the validity. The semantic method (Truth) The proof-theoretic method (Derivation) TOMOYA SATO LECTURE 1: INTRODUCTION 15 / 51

16 COURSE GOALS GOAL 1 To be able to determine the formal validity or invalidity of a given argument using the semantical method and the proof-theoretic method. 1. Any giraffe that is taller than Harriet is taller than every zebra. 2. Some giraffes aren t taller than some zebras. There is a giraffe that is not taller than Harriet. GOAL 2 To acquire the knowledge and skills that are necessary for further investigations on/with logic. TOMOYA SATO LECTURE 1: INTRODUCTION 16 / 51

17 WHERE ARE WE? Linguistics Advanced Logic Computer Science Philosophy Mathematics First-Order Logic Sentential Logic TOMOYA SATO LECTURE 1: INTRODUCTION 17 / 51

18 ORGANIZATION OF THE COURSE COURSE WEBSITE = "Teaching" Syllabus Lecture Slides Link to the course textbook REQUIRED TEXTBOOK Terence Parsons, An Introduction to Symbolic Logic. Available online TOMOYA SATO LECTURE 1: INTRODUCTION 18 / 51

19 ORGANIZATION OF THE COURSE TOMOYA SATO H&SS 8089 Monday 2:00-4:00. You are responsible for reading s from me. TOMOYA SATO LECTURE 1: INTRODUCTION 19 / 51

20 ORGANIZATION OF THE COURSE COURSE REQUIREMENTS AND EVALUATION 1 Homework (40%, 400 pts): Four homework assignments. Due at the beginning of the Monday lecture of each weak. For each day the assignment is late, 20 points will be deducted from the point total. 2 Midterm Exam (20%, 200 pts): On August 18, 11:00am 11:50pm, in YORK 3050A. 3 Final Exam (40%, 400 pts): On September 5, 11:30am 2:30pm, in (probably) YORK3050A : A, A, or A : B, B, or B : C, C, or C : D 0-599: F. TOMOYA SATO LECTURE 1: INTRODUCTION 20 / 51

21 ADDITIONAL RULES REGARDING MAKE-UP EXAMS MAKE-UP EXAMS Make-up exams will only be given in special circumstances (e.g., serious illness, family emergency, or participation in a university activity). ACADEMIC INTEGRITY You are responsible for knowing and adhering to the policy on academic integrity, which can be found at TOMOYA SATO LECTURE 1: INTRODUCTION 21 / 51

22 CHAPTER 1, SECTION 1 What arguments are formally valid? HOW TO DETERMINE FORMAL VALIDITY 1 Identify the logical form of an argument. 2 Apply the semantic method or the proof-theoretic method. For our purposes, symbolic language is useful. TOMOYA SATO LECTURE 1: INTRODUCTION 22 / 51

23 EXAMPLES 1. If Tomoya is Japanese, then Tomoya can speak Japanese. 2. Tomoya is Japanese. Tomoya can speak Japanese. 1. If the sidewalks are wet, then either it rained recently or the sprinklers are on. 2. The sidewalks are wet. Either it rained recently or the sprinklers are on. TOMOYA SATO LECTURE 1: INTRODUCTION 23 / 51

24 EXAMPLES 1. If Tomoya is Japanese, then Tomoya can speak Japanese. 2. Tomoya is Japanese. Tomoya can speak Japanese. 1. If the sidewalks are wet, then either it rained recently or the sprinklers are on. 2. The sidewalks are wet. Either it rained recently or the sprinklers are on. TOMOYA SATO LECTURE 1: INTRODUCTION 24 / 51

25 EXAMPLES 1. If P, then Q. 2. P. Q. 1. P Q 2. P Q TOMOYA SATO LECTURE 1: INTRODUCTION 25 / 51

26 SYMBOLIC LANGUAGE TWO SYMBOLIC LANGUAGES 1 The symbolic language of sentential logic (Chapters 1 and 2) 2 The symbolic language of first-order logic (Chapters 3 and 4) SYMBOLS OF THE SYMBOLIC LANGUAGE OF SENTENTIAL LOGIC Atomic sentences: P, Q, R,... Z. Logical connectives:,,,, SYMBOLS OF THE SYMBOLIC LANGUAGE OF CHAPTER 1 Atomic sentences: P, Q, R,... Z. Logical connectives:, TOMOYA SATO LECTURE 1: INTRODUCTION 26 / 51

27 SYMBOLIC LANGUAGE SYMBOLIC SENTENCES IN THE SYMBOLIC LANGUAGE Any capital letter between "P" and "Z" is a symbolic sentence (an atomic sentence). If "ϕ" is a symbolic sentence, so is " ϕ" (a molecular sentence). (called a negation of ϕ) If "ϕ" and "ψ" are symbolic sentences, so is "(ϕ ψ)" (a molecular sentence). (called a conditional) Nothing is a symbolic sentence of Chapter 1 unless it can be constructed by means of these provisions. EXAMPLES P, P, (P Q), (P Q), ( (P Q) R). P, P P, PQ, (P Q), P Q. TOMOYA SATO LECTURE 1: INTRODUCTION 27 / 51

28 SYMBOLIC LANGUAGE RULES OF SYMBOLIC SENTENCES You can use ( ), [ ], and { }; You can omit the outermost parentheses ( ) EXAMPLES {P Q}, [(P Q) R]. P Q, P Q. EXERCISES 1 P P 2 (Q R) 3 (P Q) (R Q) 4 (P {Q R} Q) 5 ( S R) [( R S) ( S R)] TOMOYA SATO LECTURE 1: INTRODUCTION 28 / 51

29 CHAPTER 1, SECTION 2 THE MEANINGS OF SYMBOLS P, Q, R,..., Z represent atomic sentences in English. " " corresponds to "It is not the case that", "not", "n t". " " corresponds to "If - then", "only if", "given that", etc. ϕ T F ϕ F T ϕ ψ ϕ ψ T T T T F F F T T F F T TOMOYA SATO LECTURE 1: INTRODUCTION 29 / 51

30 SYMBOLIZATION SYMBOLIZATION This salad is not tasty. S : This salad is tasty. S SYMBOLIZATION It is not the case that this salad is not tasty. S : This salad is tasty. S TOMOYA SATO LECTURE 1: INTRODUCTION 30 / 51

31 SYMBOLIZATION SYMBOLIZATION If it rains, the game will be called off. P : It rains. Q : The game will be called off. P Q SYMBOLIZATION If it doesn t rain, the game will not be called off. P : It rains. Q : The game will be called off. P Q TOMOYA SATO LECTURE 1: INTRODUCTION 31 / 51

32 ONLY IF The game will be called off if it rains. The game will be called off only if it rains. "if it rains" "only if it rains" TOMOYA SATO LECTURE 1: INTRODUCTION 32 / 51

33 "IF" AND "ONLY IF" IF If P, then Q. Q if P. P Q. ONLY IF Only if P, Q. Q only if P. Q P. TOMOYA SATO LECTURE 1: INTRODUCTION 33 / 51

34 EXERCISES SCHEME OF ABBREVIATION R : It rains. S : Susan will be late. SYMBOLIZATION 1 Susan will be late only if it rains. 2 Susan will not be late if it doesn t rain. 3 Only if it rains will Susan be late. 4 It doesn t rain only if Susan will not be late. TOMOYA SATO LECTURE 1: INTRODUCTION 34 / 51

35 CHAPTER 1, SECTION 3 AMBIGUOUS SENTENCE 1 It is not the case that Tomoya will leave if Andrew does. It is not the case that Tomoya will leave if Andrew does. A T It is not the case that Tomoya will leave if Andrew does. (A T) AMBIGUOUS SENTENCE 2 If Adam leaves then Bob stays if Carol sings. If Adam leaves then Bob stays if Carol sings. A (C B) If Adam leaves then Bob stays if Carol sings. C (A B) TOMOYA SATO LECTURE 1: INTRODUCTION 35 / 51

36 COMMAS A comma signals a major break in a sentence. EXAMPLES It is not the case that Tomoya will leave if Andrew does. It is not the case that Tomoya will leave, if Andrew does. A T If Adam leaves then Bob stays if Carol sings. If Adam leaves, then Bob stays if Carol sings. A (C B) TOMOYA SATO LECTURE 1: INTRODUCTION 36 / 51

37 EXERCISES SCHEME OF ABBREVIATION V = Veronica will leave. W = William will leave. Y = Yolanda will leave. EXERCISES If Veronica doesn t leave William won t either. William will leave if Yolanda does, only if Veronica doesn t. If Yolanda doesn t leave, then Veronica will leave only if William doesn t. TOMOYA SATO LECTURE 1: INTRODUCTION 37 / 51

38 WHERE ARE WE? The semantic method The proof-theoretic method Symbolization Formal Validity TOMOYA SATO LECTURE 1: INTRODUCTION 38 / 51

39 CHAPTER 1, SECTION 4 THE PROOF-THEORETIC METHOD A method to confirm the validity of a symbolic argument by means of proofs (derivations). 1. P (W T) 2. P T 3. T W TOMOYA SATO LECTURE 1: INTRODUCTION 39 / 51

40 DERIVATION Show W P (W T) P T T P P W T W pr pr pr 3 4 mt 5 dn 2 6 mp 4 7 mt dd 1. P (W T) 2. P T 3. T W TOMOYA SATO LECTURE 1: INTRODUCTION 40 / 51

41 DERIVATION Show W P (W T) P T T P P W T W pr pr pr 3 4 mt 5 dn 2 6 mp 4 7 mt dd DEFINITION: DERIVATION A derivation of an argument is a finite sequence of sentences such that: 1 The first line is "Show (the conclusion of the argument)"; 2 Each sentence is either a premise of the argument or a sentence that can be derived from earlier sentences by an inference rule; 3 Each sentence is followed by a justification. TOMOYA SATO LECTURE 1: INTRODUCTION 41 / 51

42 DERIVATION 1. P 2. P Q 3. Q R R 1. Show R 2. P pr 3. P Q pr 4. Q R pr 5. Q 2 3 mp 6. R 4 5 mp dd TOMOYA SATO LECTURE 1: INTRODUCTION 42 / 51

43 INFERENCE RULES THE FIRST FOUR INFERENCE RULES mp: Modus Ponens; mt: Modus Tollens; dn: Double Negation; r: Repetition. Modus Ponens ϕ ψ ϕ ψ Modus Tollens ϕ ψ ψ ϕ TOMOYA SATO LECTURE 1: INTRODUCTION 43 / 51

44 INFERENCE RULES Double Negation ϕ ϕ ϕ ϕ Repetition ϕ ϕ TOMOYA SATO LECTURE 1: INTRODUCTION 44 / 51

45 CHAPTER 1, SECTION 5 1. P (W T) 2. P T 3. T W 1. Show W 2. P (W T) pr 3. P T pr 4. T pr 5. P 3 4 mt 6. W T 2 5 mp 7. W 4 6 mt 8. W 7 dn dd TOMOYA SATO LECTURE 1: INTRODUCTION 45 / 51

46 RULES OF DERIVATION A show line consists of the word "Show" followed by a sentence. The first step of producing a derivation must be to introduce a show line. Show lines are not given a justification. At any step, any sentence from the set of premises may be introduced, justified with the notation "pr". At any step a line may be introduced if it follows by an inference rule from previous lines in the derivation; it is justified by citing the numbers of those previous lines and the name of the rule. If a line is introduced whose sentence is the same as the sentence in the show line, one may, as the next step, write "dd" at the end of that line, draw a line through the word "Show", and draw a box around all the lines below the show line, including the current line. TOMOYA SATO LECTURE 1: INTRODUCTION 46 / 51

47 DERIVATION AND FORMAL VALIDITY THEOREM If there is a complete derivation of an argument, then the argument is formally valid. TOMOYA SATO LECTURE 1: INTRODUCTION 47 / 51

48 PHIL120 AND PHIL10 The inference rules in Phil120 are different from those in Phil10. The names of some inference rules are different. Phil120 is more rigorous in the application of inference rules than Phil10. DOUBLE NEGATION P Q P Q This is not legitimate! Double Negation and all other inference rules too can be applied to whole sentences, but not to parts of sentences. TOMOYA SATO LECTURE 1: INTRODUCTION 48 / 51

49 PHIL120 AND PHIL10 MODUS TOLLENS 1 1. P Q 2. Q 3. P 1 2 mt 1. P Q 2. Q 3. Q 2 dn 4. P 1 3 mt This is not legitimate! TOMOYA SATO LECTURE 1: INTRODUCTION 49 / 51

50 PHIL120 AND PHIL10 MODUS TOLLENS 2 1. P Q 2. Q 3. P 1 2 mt 1. P Q 2. Q 3. P 1 2 mt 4. P 3 dn This is not legitimate too! TOMOYA SATO LECTURE 1: INTRODUCTION 50 / 51

51 EXERCISES 1. P 2. Q P 3. R Q R 1. Q S 2. V X 3. V S 4. X Q 1. (W Z) (Z W) 2. (Z W) X 3. P X 4. P (W Z) TOMOYA SATO LECTURE 1: INTRODUCTION 51 / 51

DERIVATIONS AND TRUTH TABLES

DERIVATIONS AND TRUTH TABLES DERIVATIONS AND TRUTH TABLES Tomoya Sato Department of Philosophy University of California, San Diego Phil120: Symbolic Logic Summer 2014 TOMOYA SATO LECTURE 3: DERIVATIONS AND TRUTH TABLES 1 / 65 WHAT

More information

Answers to the Exercises -- Chapter 1

Answers to the Exercises -- Chapter 1 Answers to the Exercises -- Chapter 1 SECTION 1 1. a Sentence, official notation ~~~P ~~P ~P P Sentence, informal notation ~Q ~R /\ ~Q ~R Q R c d e Not a sentence; it is impossile to construct "~ " Not

More information

Today s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference)

Today s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference) Today s Lecture 2/25/10 Truth Tables Continued Introduction to Proofs (the implicational rules of inference) Announcements Homework: -- Ex 7.3 pg. 320 Part B (2-20 Even). --Read chapter 8.1 pgs. 345-361.

More information

DERIVATIONS IN SYMBOLIC LOGIC I

DERIVATIONS IN SYMBOLIC LOGIC I DERIVATIONS IN SYMBOLIC LOGIC I Tomoya Sato Department of Philosophy University of California, San Diego Phil120: Symbolic Logic Summer 2014 TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 1 / 40

More information

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

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38 Propositional Logic Jason Filippou CMSC250 @ UMCP 05-31-2016 ason Filippou (CMSC250 @ UMCP) Propositional Logic 05-31-2016 1 / 38 Outline 1 Syntax 2 Semantics Truth Tables Simplifying expressions 3 Inference

More information

Logical Form 5 Famous Valid Forms. Today s Lecture 1/26/10

Logical Form 5 Famous Valid Forms. Today s Lecture 1/26/10 Logical Form 5 Famous Valid Forms Today s Lecture 1/26/10 Announcements Homework: --Read Chapter 7 pp. 277-298 (doing the problems in parts A, B, and C pp. 298-300 are recommended but not required at this

More information

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

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic Propositional logic Logical connectives Rules for wffs Truth tables for the connectives Using Truth Tables to evaluate

More information

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

a. ~p : if p is T, then ~p is F, and vice versa Lecture 10: Propositional Logic II Philosophy 130 3 & 8 November 2016 O Rourke & Gibson I. Administrative A. Group papers back to you on November 3. B. Questions? II. The Meaning of the Conditional III.

More information

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets

More information

For a horseshoe statement, having the matching p (left side) gives you the q (right side) by itself. It does NOT work with matching q s.

For a horseshoe statement, having the matching p (left side) gives you the q (right side) by itself. It does NOT work with matching q s. 7.1 The start of Proofs From now on the arguments we are working with are all VALID. There are 18 Rules of Inference (see the last 2 pages in Course Packet, or front of txt book). Each of these rules is

More information

Math 3336: Discrete Mathematics Practice Problems for Exam I

Math 3336: Discrete Mathematics Practice Problems for Exam I Math 3336: Discrete Mathematics Practice Problems for Exam I The upcoming exam on Tuesday, February 26, will cover the material in Chapter 1 and Chapter 2*. You will be provided with a sheet containing

More information

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

2. The Logic of Compound Statements Summary. Aaron Tan August 2017 2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional

More information

Course Staff. Textbook

Course Staff. Textbook Course Staff CS311H: Discrete Mathematics Intro and Propositional Logic Instructor: Işıl Dillig Instructor: Prof. Işıl Dillig TAs: Jacob Van Geffen, Varun Adiga, Akshay Gupta Class meets every Monday,

More information

The Logic of Compound Statements cont.

The Logic of Compound Statements cont. The Logic of Compound Statements cont. CSE 215, Computer Science 1, Fall 2011 Stony Brook University http://www.cs.stonybrook.edu/~cse215 Refresh from last time: Logical Equivalences Commutativity of :

More information

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true. Symbolic Logic 3 Testing deductive validity with truth tables For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true. So, given that truth tables

More information

PHIL 50 - Introduction to Logic

PHIL 50 - Introduction to Logic Truth Validity Logical Consequence Equivalence V ψ ψ φ 1, φ 2,, φ k ψ φ ψ PHIL 50 - Introduction to Logic Marcello Di Bello, Stanford University, Spring 2014 Week 2 Friday Class Overview of Key Notions

More information

Chapter 1: The Logic of Compound Statements. January 7, 2008

Chapter 1: The Logic of Compound Statements. January 7, 2008 Chapter 1: The Logic of Compound Statements January 7, 2008 Outline 1 1.1 Logical Form and Logical Equivalence 2 1.2 Conditional Statements 3 1.3 Valid and Invalid Arguments Central notion of deductive

More information

03 Propositional Logic II

03 Propositional Logic II Martin Henz February 12, 2014 Generated on Wednesday 12 th February, 2014, 09:49 1 Review: Syntax and Semantics of Propositional Logic 2 3 Propositional Atoms and Propositions Semantics of Formulas Validity,

More information

Logic. Propositional Logic: Syntax. Wffs

Logic. Propositional Logic: Syntax. Wffs Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

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

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017 3. The Logic of Quantified Statements Summary Aaron Tan 28 31 August 2017 1 3. The Logic of Quantified Statements 3.1 Predicates and Quantified Statements I Predicate; domain; truth set Universal quantifier,

More information

(p == train arrives late) (q == there are taxis) (r == If p and not q, then r. Not r. p. Therefore, q. Propositional Logic

(p == train arrives late) (q == there are taxis) (r == If p and not q, then r. Not r. p. Therefore, q. Propositional Logic Propositional Logic The aim of logic in computer science is to develop languages to model the situations we encounter as computer science professionals Want to do that in such a way that we can reason

More information

Philosophy 240 Symbolic Logic. Russell Marcus Hamilton College Fall 2014

Philosophy 240 Symbolic Logic. Russell Marcus Hamilton College Fall 2014 Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014 Class 2: Translation and Wffs ( 1.3-1.4) Marcus, Symbolic Logic, Fall 2014, Slide 1 Problem Sets #5 and 6 P Printed Syllabus is incomplete.

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

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

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

Propositional Logic Review

Propositional Logic Review Propositional Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane The task of describing a logical system comes in three parts: Grammar Describing what counts as a formula Semantics Defining

More information

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey. Major results: (wrt propositional logic) How to reason correctly. How to reason efficiently. How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague,

More information

Math.3336: Discrete Mathematics. Propositional Equivalences

Math.3336: Discrete Mathematics. Propositional Equivalences Math.3336: Discrete Mathematics Propositional Equivalences Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall

More information

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook) Lecture 2 Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits Reading (Epp s textbook) 2.1-2.4 1 Logic Logic is a system based on statements. A statement (or

More information

Chapter 1 Elementary Logic

Chapter 1 Elementary Logic 2017-2018 Chapter 1 Elementary Logic The study of logic is the study of the principles and methods used in distinguishing valid arguments from those that are not valid. The aim of this chapter is to help

More information

Deductive Systems. Lecture - 3

Deductive Systems. Lecture - 3 Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth

More information

PSU MATH RELAYS LOGIC & SET THEORY 2017

PSU MATH RELAYS LOGIC & SET THEORY 2017 PSU MATH RELAYS LOGIC & SET THEORY 2017 MULTIPLE CHOICE. There are 40 questions. Select the letter of the most appropriate answer and SHADE in the corresponding region of the answer sheet. If the correct

More information

Logic. Propositional Logic: Syntax

Logic. Propositional Logic: Syntax Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

Section 1.3: Valid and Invalid Arguments

Section 1.3: Valid and Invalid Arguments Section 1.3: Valid and Invalid Arguments Now we have developed the basic language of logic, we shall start to consider how logic can be used to determine whether or not a given argument is valid. In order

More information

Logical forms and substitution instances. Philosophy and Logic Unit 2, Section 2.1

Logical forms and substitution instances. Philosophy and Logic Unit 2, Section 2.1 Logical forms and substitution instances Philosophy and Logic Unit 2, Section 2.1 Avoiding impossibility A valid deductive argument is an argument with a valid logical form. An argument has a valid logical

More information

Self-reproducing programs. And Introduction to logic. COS 116, Spring 2012 Adam Finkelstein

Self-reproducing programs. And Introduction to logic. COS 116, Spring 2012 Adam Finkelstein Self-reproducing programs. And Introduction to logic. COS 6, Spring 22 Adam Finkelstein Midterm One week from today in class Mar 5 Covers lectures, labs, homework, readings to date Old midterms will be

More information

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:

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: Logic: The Big Picture Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and

More information

Logic, Human Logic, and Propositional Logic. Human Logic. Fragments of Information. Conclusions. Foundations of Semantics LING 130 James Pustejovsky

Logic, Human Logic, and Propositional Logic. Human Logic. Fragments of Information. Conclusions. Foundations of Semantics LING 130 James Pustejovsky Logic, Human Logic, and Propositional Logic Foundations of Semantics LING 3 James Pustejovsky Human Logic Thanks to Michael Genesereth of Stanford for use of some slides Fragments of Information Conclusions

More information

Propositional Logic: Syntax

Propositional Logic: Syntax Logic Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and programs) epistemic

More information

Discrete Structures for Computer Science

Discrete Structures for Computer Science Discrete Structures for Computer Science William Garrison bill@cs.pitt.edu 6311 Sennott Square Lecture #4: Predicates and Quantifiers Based on materials developed by Dr. Adam Lee Topics n Predicates n

More information

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

Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference Math.3336: Discrete Mathematics Nested Quantifiers/Rules of Inference Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

15414/614 Optional Lecture 1: Propositional Logic

15414/614 Optional Lecture 1: Propositional Logic 15414/614 Optional Lecture 1: Propositional Logic Qinsi Wang Logic is the study of information encoded in the form of logical sentences. We use the language of Logic to state observations, to define concepts,

More information

A Quick Lesson on Negation

A Quick Lesson on Negation A Quick Lesson on Negation Several of the argument forms we have looked at (modus tollens and disjunctive syllogism, for valid forms; denying the antecedent for invalid) involve a type of statement which

More information

Advanced Topics in LP and FP

Advanced Topics in LP and FP Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection

More information

Philosophy 240 Symbolic Logic. Russell Marcus Hamilton College Fall 2015

Philosophy 240 Symbolic Logic. Russell Marcus Hamilton College Fall 2015 Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2015 Class 2: Translation and Wffs ( 1.3-1.4) Marcus, Symbolic Logic, Fall 2015, Slide 1 Today P A little review (what we didn t do on

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics Discrete mathematics is devoted to the study of discrete or distinct unconnected objects. Classical mathematics deals with functions on real numbers. Real numbers form a continuous

More information

DERIVATIONS IN SENTENTIAL LOGIC

DERIVATIONS IN SENTENTIAL LOGIC 5 DERIVATIONS IN SENTENTIAL LOGIC 1. Introduction... 142 2. The Basic Idea... 143 3. Argument Forms and Substitution Instances... 145 4. Simple Inference Rules... 147 5. Simple Derivations... 151 6. The

More information

Warm-Up Problem. Write a Resolution Proof for. Res 1/32

Warm-Up Problem. Write a Resolution Proof for. Res 1/32 Warm-Up Problem Write a Resolution Proof for Res 1/32 A second Rule Sometimes throughout we need to also make simplifications: You can do this in line without explicitly mentioning it (just pretend you

More information

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS 1.1 - Logical Form and Logical Equivalence Definition. A statement or proposition is a sentence that is either true or false, but not both. ex. 1 + 2 = 3 IS a statement

More information

THE LOGIC OF COMPOUND STATEMENTS

THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS All dogs have four legs. All tables have four legs. Therefore, all dogs are tables LOGIC Logic is a science of the necessary laws of thought, without which no employment

More information

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference Logic? Propositional Logic (Rosen, Chapter 1.1 1.3) TOPICS Propositional Logic Truth Tables Implication Logical Proofs 10/1/12 CS160 Fall Semester 2012 2 What is logic? Logic is a truth-preserving system

More information

6. Conditional derivations

6. Conditional derivations 6. Conditional derivations 6.1 An argument from Hobbes In his great work, Leviathan, the philosopher Thomas Hobbes (1588-1679) gives an important argument for government. Hobbes begins by claiming that

More information

Intermediate Logic. Natural Deduction for TFL

Intermediate Logic. Natural Deduction for TFL Intermediate Logic Lecture Two Natural Deduction for TFL Rob Trueman rob.trueman@york.ac.uk University of York The Trouble with Truth Tables Natural Deduction for TFL The Trouble with Truth Tables The

More information

Phil Introductory Formal Logic

Phil Introductory Formal Logic Phil 134 - Introductory Formal Logic Lecture 7: Deduction At last, it is time to learn about proof formal proof as a model of reasoning demonstrating validity metatheory natural deduction systems what

More information

Manual of Logical Style (fresh version 2018)

Manual of Logical Style (fresh version 2018) Manual of Logical Style (fresh version 2018) Randall Holmes 9/5/2018 1 Introduction This is a fresh version of a document I have been working on with my classes at various levels for years. The idea that

More information

02 Propositional Logic

02 Propositional Logic SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or

More information

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class)

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class) MACM 101 Discrete Mathematics I Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class) SOLUTIONS 1. Construct a truth table for the following compound proposition:

More information

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

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations Logic Propositions and logical operations Main concepts: propositions truth values propositional variables logical operations 1 Propositions and logical operations A proposition is the most basic element

More information

Propositional Logic. CS 3234: Logic and Formal Systems. Martin Henz and Aquinas Hobor. August 26, Generated on Tuesday 31 August, 2010, 16:54

Propositional Logic. CS 3234: Logic and Formal Systems. Martin Henz and Aquinas Hobor. August 26, Generated on Tuesday 31 August, 2010, 16:54 Propositional Logic CS 3234: Logic and Formal Systems Martin Henz and Aquinas Hobor August 26, 2010 Generated on Tuesday 31 August, 2010, 16:54 1 Motivation In traditional logic, terms represent sets,

More information

MATH 2001 MIDTERM EXAM 1 SOLUTION

MATH 2001 MIDTERM EXAM 1 SOLUTION MATH 2001 MIDTERM EXAM 1 SOLUTION FALL 2015 - MOON Do not abbreviate your answer. Write everything in full sentences. Except calculators, any electronic devices including laptops and cell phones are not

More information

Notes on Quantum Logic

Notes on Quantum Logic Notes on Quantum Logic Version 1.0 David B. Malament Department of Logic and Philosophy of Science University of California, Irvine dmalamen@uci.edu Contents 1 Formal (sentential) quantum logic 2 2 The

More information

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms)

More information

Natural deduction for truth-functional logic

Natural deduction for truth-functional logic Natural deduction for truth-functional logic Phil 160 - Boston University Why natural deduction? After all, we just found this nice method of truth-tables, which can be used to determine the validity or

More information

Propositional logic (revision) & semantic entailment. p. 1/34

Propositional logic (revision) & semantic entailment. p. 1/34 Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)

More information

Natural Deduction for Propositional Logic

Natural Deduction for Propositional Logic Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic

More information

5. And. 5.1 The conjunction

5. And. 5.1 The conjunction 5. And 5.1 The conjunction To make our logical language more easy and intuitive to use, we can now add to it elements that make it able to express the equivalents of other sentences from a natural language

More information

Section 3.1 Statements, Negations, and Quantified Statements

Section 3.1 Statements, Negations, and Quantified Statements Section 3.1 Statements, Negations, and Quantified Statements Objectives 1. Identify English sentences that are statements. 2. Express statements using symbols. 3. Form the negation of a statement 4. Express

More information

CS 2740 Knowledge Representation. Lecture 4. Propositional logic. CS 2740 Knowledge Representation. Administration

CS 2740 Knowledge Representation. Lecture 4. Propositional logic. CS 2740 Knowledge Representation. Administration Lecture 4 Propositional logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square dministration Homework assignment 1 is out Due next week on Wednesday, September 17 Problems: LISP programming a PL

More information

Introduction to Metalogic

Introduction to Metalogic Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)

More information

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of

More information

Computational Logic Lecture 3. Logical Entailment. Michael Genesereth Autumn Logical Reasoning

Computational Logic Lecture 3. Logical Entailment. Michael Genesereth Autumn Logical Reasoning Computational Logic Lecture 3 Logical Entailment Michael Genesereth Autumn 2010 Logical Reasoning Logical Reasoning relates premises and conclusion does not say whether conclusion is true in general says

More information

Proof strategies, or, a manual of logical style

Proof strategies, or, a manual of logical style Proof strategies, or, a manual of logical style Dr Holmes September 27, 2017 This is yet another version of the manual of logical style I have been working on for many years This semester, instead of posting

More information

Announcements For The Logic of Atomic Sentences Counterexamples & Formal Proofs. Logical Consequence & Validity The Definitions.

Announcements For The Logic of Atomic Sentences Counterexamples & Formal Proofs. Logical Consequence & Validity The Definitions. Announcements For 0906 The Logic of Atomic Sentences & William Starr 1 Complete survey for Logic section times (on Bb) Before Wednesday at midnight!! 2 HW1 & HW2 are due next Tuesday But you can start

More information

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional) Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.6) TOPICS Propositional Logic Logical Operators Truth Tables Implication Logical Equivalence Inference Rules What you should know about propositional

More information

[Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 400 lecture note #2. 1) Basics

[Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 400 lecture note #2. 1) Basics 400 lecture note #2 [Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 1) Basics An argument is a sequence of statements ( s1, s2,, sn). All statements in an argument, excet for

More information

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

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1 Propositional Logic: Syntax and Natural Deduction 1 The Plot That Will Unfold I want to provide some key historical and intellectual context to the model theoretic approach to natural language semantics,

More information

6. Conditional derivations

6. Conditional derivations 6. Conditional derivations 6.1 An argument from Hobbes In his great work, Leviathan, the philosopher Thomas Hobbes gives an important argument for government. Hobbes begins by claiming that without a common

More information

Propositional Logic Translation, 6.1. I. The form of an argument

Propositional Logic Translation, 6.1. I. The form of an argument Philosophy 109, Modern Logic, Queens College Russell Marcus, Instructor email: philosophy@thatmarcusfamily.org website: http://philosophy.thatmarcusfamily.org Office phone: (718) 997-5287 Propositional

More information

Logik für Informatiker Logic for computer scientists

Logik für Informatiker Logic for computer scientists Logik für Informatiker for computer scientists WiSe 2009/10 Rooms Monday 12:00-14:00 MZH 1400 Thursday 14:00-16:00 MZH 5210 Exercises (bring your Laptops with you!) Wednesday 8:00-10:00 Sportturm C 5130

More information

THE LOGIC OF COMPOUND STATEMENTS

THE LOGIC OF COMPOUND STATEMENTS CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 2.1 Logical Form and Logical Equivalence Copyright Cengage Learning. All rights reserved. Logical Form

More information

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer Artificial Intelligence Propositional Logic Copyright 2011 Dieter Fensel and Florian Fischer 1 Where are we? # Title 1 Introduction 2 Propositional Logic 3 Predicate Logic 4 Reasoning 5 Search Methods

More information

Propositional Logic. Fall () Propositional Logic Fall / 30

Propositional Logic. Fall () Propositional Logic Fall / 30 Propositional Logic Fall 2013 () Propositional Logic Fall 2013 1 / 30 1 Introduction Learning Outcomes for this Presentation 2 Definitions Statements Logical connectives Interpretations, contexts,... Logically

More information

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic Dieter Fensel and Dumitru Roman www.sti-innsbruck.at Copyright 2008 STI INNSBRUCK www.sti-innsbruck.at Where are we? # Title 1 Introduction 2 Propositional Logic

More information

1 Propositional logic

1 Propositional logic 1 Propositional logic The aim of logic in computer science is to develop languages to model the situations we encounter as computer science professionals, in such a way that we can reason about them formally.

More information

Logic is the anatomy of thought. John Locke

Logic is the anatomy of thought. John Locke Propositional Logic 1 Logic is the anatomy of thought. John Locke When introduced at the wrong time or place, good logic may be the worst enemy of good teaching. George Polya Propositions A proposition

More information

Ling 130 Notes: Syntax and Semantics of Propositional Logic

Ling 130 Notes: Syntax and Semantics of Propositional Logic Ling 130 Notes: Syntax and Semantics of Propositional Logic Sophia A. Malamud January 21, 2011 1 Preliminaries. Goals: Motivate propositional logic syntax and inferencing. Feel comfortable manipulating

More information

Four Basic Logical Connectives & Symbolization

Four Basic Logical Connectives & Symbolization PHI2LOG Topic 2 LOGIC Norva Y S Lo Produced by Norva Y S Lo Four Basic Logical Connectives & 1 Summary Under Topic 2, we will learn to: 1. Recognize four basic Logical Connectives and their correspinding

More information

MAT2345 Discrete Math

MAT2345 Discrete Math Fall 2013 General Syllabus Schedule (note exam dates) Homework, Worksheets, Quizzes, and possibly Programs & Reports Academic Integrity Do Your Own Work Course Web Site: www.eiu.edu/~mathcs Course Overview

More information

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion)

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion) Arguments and Proofs For the next section of this course, we will study PROOFS. A proof can be thought of as the formal representation of a process of reasoning. Proofs are comparable to arguments, since

More information

Propositional Logic. Argument Forms. Ioan Despi. University of New England. July 19, 2013

Propositional Logic. Argument Forms. Ioan Despi. University of New England. July 19, 2013 Propositional Logic Argument Forms Ioan Despi despi@turing.une.edu.au University of New England July 19, 2013 Outline Ioan Despi Discrete Mathematics 2 of 1 Order of Precedence Ioan Despi Discrete Mathematics

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

8.8 Statement Forms and Material Equivalence

8.8 Statement Forms and Material Equivalence M08_COPI1396_13_SE_C08.QXD 10/16/07 9:19 PM Page 357 8.8 Statement Forms and Material Equivalence 357 murdered. So either lawlessness will be rewarded or innocent hostages will be murdered. 8. If people

More information

It rains now. (true) The followings are not propositions.

It rains now. (true) The followings are not propositions. Chapter 8 Fuzzy Logic Formal language is a language in which the syntax is precisely given and thus is different from informal language like English and French. The study of the formal languages is the

More information

Introduction: What Is Modal Logic?

Introduction: What Is Modal Logic? Introduction: What Is Modal Logic? Strictly speaking, modal logic studies reasoning that involves the use of the expressions necessarily and possibly. The main idea is to introduce the symbols (necessarily)

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

Resolution (14A) Young W. Lim 8/15/14

Resolution (14A) Young W. Lim 8/15/14 Resolution (14A) Young W. Lim Copyright (c) 2013-2014 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version

More information

Section 1.1 Propositions

Section 1.1 Propositions Set Theory & Logic Section 1.1 Propositions Fall, 2009 Section 1.1 Propositions In Chapter 1, our main goals are to prove sentences about numbers, equations or functions and to write the proofs. Definition.

More information

CS100: DISCRETE STRUCTURES. Lecture 5: Logic (Ch1)

CS100: DISCRETE STRUCTURES. Lecture 5: Logic (Ch1) CS100: DISCREE SRUCURES Lecture 5: Logic (Ch1) Lecture Overview 2 Statement Logical Connectives Conjunction Disjunction Propositions Conditional Bio-conditional Converse Inverse Contrapositive Laws of

More information

FORMAL PROOFS DONU ARAPURA

FORMAL PROOFS DONU ARAPURA FORMAL PROOFS DONU ARAPURA This is a supplement for M385 on formal proofs in propositional logic. Rather than following the presentation of Rubin, I want to use a slightly different set of rules which

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014 Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014 1. Translate each of the following English sentences into formal statements using the logical operators (,,,,, and ). You may also use mathematical

More information