The Logic of Quantifiers

Total Page:16

File Type:pdf, Size:1020Kb

The Logic of Quantifiers Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Announcements 03.31 The Logic of Quantifiers Logical Truth & Consequence in Full Fol 1 The Midterm has been returned If you haven't gotten yours back, see me after class William Starr 03.31.09 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 1/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 2/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Outline Overview The Big Picture Now that we've added 8 and 9, we have introduced every connective of fol: 1 Introduction 8 9 $ ! _ ^ : = For six of these symbols we've studied: 2 FO Validity 1 It's semantics: truth-tables, satisfaction, game rules 2 How to translate English sentences using it 3 FO Consequence 3 It's role in logic: which sentences containing it are logical truths and which arguments containing it are valid 4 It's role in proofs: which inference steps and methods of proof it supports and how these can be formalized For 8 and 9, we've only done the first two Today, we'll get started on the third! William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 3/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 5/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Overview The Logical Concepts Today Logical Truth & Logical Consequence Logical Truth A is a logical truth iff it is impossible for A to be false given the meaning of the logical vocabulary it contains So today we'll be interested in two questions: Which sentences containing quantifiers are logical Logical Consequence truths? C is a logical consequence of P1;:::; Pn iff it is impossible Which arguments containing quantifiers are valid? for P1;:::; Pn to be true while C is false We'll start by reviewing our past discussion of logical truths and logical consequence Both of these concepts are at the very heart of logic But, they are annoyingly vague and imprecise What exactly is meant by impossible? In the first half of the class we explored one method for making logical possibility precise: truth tables William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 6/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 8/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Truth Tables Truth Tables Their Spoils Their Drawbacks Truth tables allowed us to define the following These definitions are a step towards better understanding logical truth and consequence: concepts: Every tautology is an (intuitive) logical truth Tautology Every tautological consequence is an (intuitive) A is a tautology iff every row the truth logical consequence table assigns t to A But the step is not complete: Tautological Consequence Some logical truths are not tautologies C is a tautological consequence of Some logical consequences are not tautological P1;:::; Pn iff every row of their joint truth consequences table which assigns t to P1;:::; Pn also The difficulty was that the notion of logical possibility assigns t to C used in truth tables was not discerning enough William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 9/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 10/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Truth Tables Truth Tables Not Discerning Enough Not Discerning Enough Recall the procedure for building a truth-table: 1 Build ref. col's Truth Table 2 Fill ref. col's 1 Build ref. col's Truth Table a = a b = b a = a ^ b = b a = a b = b a = a ^ b = b 3 Fill col's under t t t 2 Fill ref. col's t t t connectives t f f 3 Fill col's under t f f f t f connectives f t f f f f f f f The problem is caused by the fact that in building This table shows that a = a ^ b = b is not a tautology: truth tables, possibilities are included which are not there are some f's in the main column genuine logical possibilities But it is, intuitively, a logical truth It is not logically possible for a = a or b = b to be f! William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 11/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 12/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Discussion Tying In Quantification Truth Tables & Logical Possibility We Need That Better Analysis Even More The same deficiency causes there to be logical consequences which are not tautological consequences Example: a = c is a logical but not a tautological In case you weren't already convinced that truth tables consequence of a = b ^ b = c left something to be desired, think about how few of the quantificational logical truths are tautologies Why not just leave rows out if they aren't genuine logical possibilities? 8x (Cube(x) ! Cube(x)) (Not a Tautology) 8x (Cube(x) _:Cube(x)) (Not a Tautology) This robs truth tables of their purpose: 9x (x = x) (Not a Tautology) They were supposed to be a precise way of analyzing Although some logical truths with quantifiers are logical possibility tautologies: If we can just appeal to our intuitions about logical possibility in building the columns, our analysis gets 8x Cube(x) _ :8x Cube(x) (Tautology) us nowhere :(9x Cube(x) ^ :9x Cube(x)) (Tautology) So, we want to develop a better analysis of logical possibility William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 13/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 14/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence FO Validity FO Validity A Small Step An Idea Logical Truth We need to be more clear about the notion of logical A is a logical truth iff it is impossible for A to be false possibility used to define FO validity given the meaning of the logical vocabulary it contains Here's the insight we'll build on We are only interested in 8; 9; $; !; _; ^; : and =, so The FO validities are sentences which are true purely we are interested in a more limited concept in virtue of the meaning of 8; 9; $; !; _; ^; : and = If their truth derives solely from the logical symbols, First-Order Validity (FO Validity) then you should be able vary the meaning of any of its A sentence A is a first-order validity just in case it is predicates (other than =) and names and still get a impossible for A to be false, given the meanings of true sentence 8; 9; $; !; _; ^; : and = Any variation of the meaning of the non-logical symbols is a logical possibility Better named First-Order Logical Truth William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 16/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 17/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence An Example Another Example Use a Non-Sense Predicate Use a Non-Sense Predicate (1) 8x (Cube(x) ! Cube(x)) It sounds true even with a non-sense predicate: (4) 8x Rich(x) ! Rich(mc:hammer) (2) 8x (Blornk(x) ! Blornk(x)) This sounds true even with non-sense predicates and (3) All blornks are blornks names: There's no interpretation of `Blornk' according to which (5) 8x Rorg(x) ! Rorg(dude) (2) isn't true (6) If everything is a rorg, then dude is a rorg So (1) remains true no matter how we interpret its So (4) must be a FO validity non-logical symbols So (1) must be a FO validity William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 18/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 19/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Yet Another Example Counterexamples Use a Non-Sense Predicate What They Are (7) :9x LeftOf(x; x) (7) :9x LeftOf(x; x) We saw that, intuitively, (7) is not a logical truth Replace meaningful predicate with meaningless one: But we want to have a more precise way of showing this (8) :9x Glirs(x; x) Here's our new method: Is this obviously true? 1 Replace predicates and names with non-sense names No, it would depend on whether or not something can when checking for FO validity glir itself 2 Then consider whether or not there is any This is a not a fact about the meaning of logical reinterpretations of the formula that falsify it 3 If there are, specify such an interpretation symbols, so this is not a FO validity This specification is called a counterexample 4 If there is no such specification, then the formula is a logical truth William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 20/34 William Starr | The Logic of Quantifiers (Phil 201.02) | Rutgers University 21/34 Introduction FO Validity FO Consequence Introduction FO Validity FO Consequence Counterexamples FO Validity How to Formulate Them The Replacement Method for FO Validities (7) :9x LeftOf(x; x) The Replacement Method (FO Validities) The following method can be used to check whether or not Let's provide a counterexample to this S is a FO Validity 1 Systematically replace all of the predicates, other than 1 Replace predicates & names w/non-sense ones: =, and names with new, meaningless predicates and (8) :9x Glirs(x; x) names 2 Try to reinterpret the non-sense and find a 2 Try to describe a circumstance, along with circumstance under which the reinterpreted formula is interpretations for the names and predicates, in which false: S is false.
Recommended publications
  • Boolean Satisfiability Solvers: Techniques and Extensions
    Boolean Satisfiability Solvers: Techniques and Extensions Georg WEISSENBACHER a and Sharad MALIK a a Princeton University Abstract. Contemporary satisfiability solvers are the corner-stone of many suc- cessful applications in domains such as automated verification and artificial intelli- gence. The impressive advances of SAT solvers, achieved by clever engineering and sophisticated algorithms, enable us to tackle Boolean Satisfiability (SAT) problem instances with millions of variables – which was previously conceived as a hope- less problem. We provide an introduction to contemporary SAT-solving algorithms, covering the fundamental techniques that made this revolution possible. Further, we present a number of extensions of the SAT problem, such as the enumeration of all satisfying assignments (ALL-SAT) and determining the maximum number of clauses that can be satisfied by an assignment (MAX-SAT). We demonstrate how SAT solvers can be leveraged to solve these problems. We conclude the chapter with an overview of applications of SAT solvers and their extensions in automated verification. Keywords. Satisfiability solving, Propositional logic, Automated decision procedures 1. Introduction Boolean Satisfibility (SAT) is the problem of checking if a propositional logic formula can ever evaluate to true. This problem has long enjoyed a special status in computer science. On the theoretical side, it was the first problem to be classified as being NP- complete. NP-complete problems are notorious for being hard to solve; in particular, in the worst case, the computation time of any known solution for a problem in this class increases exponentially with the size of the problem instance. On the practical side, SAT manifests itself in several important application domains such as the design and verification of hardware and software systems, as well as applications in artificial intelligence.
    [Show full text]
  • Deduction (I) Tautologies, Contradictions And
    D (I) T, & L L October , Tautologies, contradictions and contingencies Consider the truth table of the following formula: p (p ∨ p) () If you look at the final column, you will notice that the truth value of the whole formula depends on the way a truth value is assigned to p: the whole formula is true if p is true and false if p is false. Contrast the truth table of (p ∨ p) in () with the truth table of (p ∨ ¬p) below: p ¬p (p ∨ ¬p) () If you look at the final column, you will notice that the truth value of the whole formula does not depend on the way a truth value is assigned to p. The formula is always true because of the meaning of the connectives. Finally, consider the truth table table of (p ∧ ¬p): p ¬p (p ∧ ¬p) () This time the formula is always false no matter what truth value p has. Tautology A statement is called a tautology if the final column in its truth table contains only ’s. Contradiction A statement is called a contradiction if the final column in its truth table contains only ’s. Contingency A statement is called a contingency or contingent if the final column in its truth table contains both ’s and ’s. Let’s consider some examples from the book. Can you figure out which of the following sentences are tautologies, which are contradictions and which contingencies? Hint: the answer is the same for all the formulas with a single row. () a. (p ∨ ¬p), (p → p), (p → (q → p)), ¬(p ∧ ¬p) b.
    [Show full text]
  • Solving the Boolean Satisfiability Problem Using the Parallel Paradigm Jury Composition
    Philosophæ doctor thesis Hoessen Benoît Solving the Boolean Satisfiability problem using the parallel paradigm Jury composition: PhD director Audemard Gilles Professor at Universit´ed'Artois PhD co-director Jabbour Sa¨ıd Assistant Professor at Universit´ed'Artois PhD co-director Piette C´edric Assistant Professor at Universit´ed'Artois Examiner Simon Laurent Professor at University of Bordeaux Examiner Dequen Gilles Professor at University of Picardie Jules Vernes Katsirelos George Charg´ede recherche at Institut national de la recherche agronomique, Toulouse Abstract This thesis presents different technique to solve the Boolean satisfiability problem using parallel and distributed architec- tures. In order to provide a complete explanation, a careful presentation of the CDCL algorithm is made, followed by the state of the art in this domain. Once presented, two proposi- tions are made. The first one is an improvement on a portfo- lio algorithm, allowing to exchange more data without loosing efficiency. The second is a complete library with its API al- lowing to easily create distributed SAT solver. Keywords: SAT, parallelism, distributed, solver, logic R´esum´e Cette th`ese pr´esente diff´erentes techniques permettant de r´esoudre le probl`eme de satisfaction de formule bool´eenes utilisant le parall´elismeet du calcul distribu´e. Dans le but de fournir une explication la plus compl`ete possible, une pr´esentation d´etaill´ee de l'algorithme CDCL est effectu´ee, suivi d'un ´etatde l'art. De ce point de d´epart,deux pistes sont explor´ees. La premi`ereest une am´eliorationd'un algorithme de type portfolio, permettant d'´echanger plus d'informations sans perte d’efficacit´e.
    [Show full text]
  • 12 Propositional Logic
    CHAPTER 12 ✦ ✦ ✦ ✦ Propositional Logic In this chapter, we introduce propositional logic, an algebra whose original purpose, dating back to Aristotle, was to model reasoning. In more recent times, this algebra, like many algebras, has proved useful as a design tool. For example, Chapter 13 shows how propositional logic can be used in computer circuit design. A third use of logic is as a data model for programming languages and systems, such as the language Prolog. Many systems for reasoning by computer, including theorem provers, program verifiers, and applications in the field of artificial intelligence, have been implemented in logic-based programming languages. These languages generally use “predicate logic,” a more powerful form of logic that extends the capabilities of propositional logic. We shall meet predicate logic in Chapter 14. ✦ ✦ ✦ ✦ 12.1 What This Chapter Is About Section 12.2 gives an intuitive explanation of what propositional logic is, and why it is useful. The next section, 12,3, introduces an algebra for logical expressions with Boolean-valued operands and with logical operators such as AND, OR, and NOT that Boolean algebra operate on Boolean (true/false) values. This algebra is often called Boolean algebra after George Boole, the logician who first framed logic as an algebra. We then learn the following ideas. ✦ Truth tables are a useful way to represent the meaning of an expression in logic (Section 12.4). ✦ We can convert a truth table to a logical expression for the same logical function (Section 12.5). ✦ The Karnaugh map is a useful tabular technique for simplifying logical expres- sions (Section 12.6).
    [Show full text]
  • Logic, Proofs
    CHAPTER 1 Logic, Proofs 1.1. Propositions A proposition is a declarative sentence that is either true or false (but not both). For instance, the following are propositions: “Paris is in France” (true), “London is in Denmark” (false), “2 < 4” (true), “4 = 7 (false)”. However the following are not propositions: “what is your name?” (this is a question), “do your homework” (this is a command), “this sentence is false” (neither true nor false), “x is an even number” (it depends on what x represents), “Socrates” (it is not even a sentence). The truth or falsehood of a proposition is called its truth value. 1.1.1. Connectives, Truth Tables. Connectives are used for making compound propositions. The main ones are the following (p and q represent given propositions): Name Represented Meaning Negation p “not p” Conjunction p¬ q “p and q” Disjunction p ∧ q “p or q (or both)” Exclusive Or p ∨ q “either p or q, but not both” Implication p ⊕ q “if p then q” Biconditional p → q “p if and only if q” ↔ The truth value of a compound proposition depends only on the value of its components. Writing F for “false” and T for “true”, we can summarize the meaning of the connectives in the following way: 6 1.1. PROPOSITIONS 7 p q p p q p q p q p q p q T T ¬F T∧ T∨ ⊕F →T ↔T T F F F T T F F F T T F T T T F F F T F F F T T Note that represents a non-exclusive or, i.e., p q is true when any of p, q is true∨ and also when both are true.
    [Show full text]
  • Logic, Sets, and Proofs David A
    Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Statements. A logical statement is a mathematical statement that is either true or false. Here we denote logical statements with capital letters A; B. Logical statements be combined to form new logical statements as follows: Name Notation Conjunction A and B Disjunction A or B Negation not A :A Implication A implies B if A, then B A ) B Equivalence A if and only if B A , B Here are some examples of conjunction, disjunction and negation: x > 1 and x < 3: This is true when x is in the open interval (1; 3). x > 1 or x < 3: This is true for all real numbers x. :(x > 1): This is the same as x ≤ 1. Here are two logical statements that are true: x > 4 ) x > 2. x2 = 1 , (x = 1 or x = −1). Note that \x = 1 or x = −1" is usually written x = ±1. Converses, Contrapositives, and Tautologies. We begin with converses and contrapositives: • The converse of \A implies B" is \B implies A". • The contrapositive of \A implies B" is \:B implies :A" Thus the statement \x > 4 ) x > 2" has: • Converse: x > 2 ) x > 4. • Contrapositive: x ≤ 2 ) x ≤ 4. 1 Some logical statements are guaranteed to always be true. These are tautologies. Here are two tautologies that involve converses and contrapositives: • (A if and only if B) , ((A implies B) and (B implies A)). In other words, A and B are equivalent exactly when both A ) B and its converse are true.
    [Show full text]
  • Introduction to the Boolean Satisfiability Problem
    Introduction to the Boolean Satisfiability Problem Spring 2018 CSCE 235H Introduction to Discrete Structures URL: cse.unl.edu/~cse235h All questions: Piazza Satisfiability Study • 7 weeks • 30 min lectures in recitation • ~2 hours of homework per week • Goals: – Exposure to fundamental research in CS – Understand how to model problems – Learn to use SAT solver, MiniSAT CSCE 235 Logic 2 Boolean Satisfiability Problem • Given: – A Boolean formula • Question: – Is there an assignment of truth values to the Boolean variables such that the formula holds true? CSCE 235 Logic 3 Boolean Satisfiability Problem a ( a b) _ ¬ ^ (a a) (b b) _ ¬ ! ^ ¬ CSCE 235 Logic 4 Boolean Satisfiability Problem a ( a b) _ ¬ ^ SATISFIABLE a=true, b=true (a a) (b b) _ ¬ ! ^ ¬ CSCE 235 Logic 5 Boolean Satisfiability Problem a ( a b) _ ¬ ^ SATISFIABLE a=true, b=true (a a) (b b) _ ¬ ! ^ ¬ UNSATISFIABLE Left side of implication is a tautology. Right side of implication is a contradiction. True cannot imply false. CSCE 235 Logic 6 Applications of SAT • Scheduling • Resource allocation • Hardware/software verification • Planning • Cryptography CSCE 235 Logic 7 Conjunctive Normal Form • Variable a, b, p, q, x1,x2 • Literal a, a, q, q, x , x ¬ ¬ 1 ¬ 1 • Clause (a b c) _ ¬ _ • Formula (a b c) _ ¬ _ (b c) ^ _ ( a c) ^ ¬ _ ¬ CSCE 235 Logic 8 Converting to CNF • All Boolean formulas can be converted to CNF • The operators can be rewritten in , , terms of ! $,⊕, ¬ _ ^ • , , can be rearranged using ¬– De Morgan_ ^ ’s Laws – Distributive Laws – Double Negative • May result in exponential
    [Show full text]
  • Lecture 1: Propositional Logic
    Lecture 1: Propositional Logic Syntax Semantics Truth tables Implications and Equivalences Valid and Invalid arguments Normal forms Davis-Putnam Algorithm 1 Atomic propositions and logical connectives An atomic proposition is a statement or assertion that must be true or false. Examples of atomic propositions are: “5 is a prime” and “program terminates”. Propositional formulas are constructed from atomic propositions by using logical connectives. Connectives false true not and or conditional (implies) biconditional (equivalent) A typical propositional formula is The truth value of a propositional formula can be calculated from the truth values of the atomic propositions it contains. 2 Well-formed propositional formulas The well-formed formulas of propositional logic are obtained by using the construction rules below: An atomic proposition is a well-formed formula. If is a well-formed formula, then so is . If and are well-formed formulas, then so are , , , and . If is a well-formed formula, then so is . Alternatively, can use Backus-Naur Form (BNF) : formula ::= Atomic Proposition formula formula formula formula formula formula formula formula formula formula 3 Truth functions The truth of a propositional formula is a function of the truth values of the atomic propositions it contains. A truth assignment is a mapping that associates a truth value with each of the atomic propositions . Let be a truth assignment for . If we identify with false and with true, we can easily determine the truth value of under . The other logical connectives can be handled in a similar manner. Truth functions are sometimes called Boolean functions. 4 Truth tables for basic logical connectives A truth table shows whether a propositional formula is true or false for each possible truth assignment.
    [Show full text]
  • (Slides) Propositional Logic: Semantics
    Propositional Logic: Semantics Alice Gao Lecture 4, September 19, 2017 Semantics 1/56 Announcements Semantics 2/56 The roadmap of propositional logic Semantics 3/56 FCC spectrum auction — an application of propositional logic To repurpose radio spectrums 2 auctions: • one to buy back spectrums from broadcasters • the other to sell spectrums to telecoms A computational problem in the buy back auction: If I pay these broadcasters to go off air, could I repackage the spectrums and sellto telecoms? Could I lower your price and still manage to get useful spectrums to sell to telecoms? The problem comes down to, how many satisfiability problems can I solve in a very short amount of time? (determine that a formula is satisfiable or determine that it is unsatisfiable.) Talk by Kevin Leyton-Brown https://www.youtube.com/watch?v=u1-jJOivP70 Semantics 4/56 Learning goals By the end of this lecture, you should be able to • Evaluate the truth value of a formula • Define a (truth) valuation. • Determine the truth value of a formula by using truth tables. • Determine the truth value of a formula by using valuation trees. • Determine and prove whether a formula has a particular property • Define tautology, contradiction, and satisfiable formula. • Compare and contrast the three properties (tautology, contradiction, and satisfiable formula). • Prove whether a formula is a tautology, a contradiction, or satisfiable, using a truth table and/or a valuation tree. • Describe strategies to prove whether a formula is a tautology, a contradiction or a satisfiable formula. Semantics 5/56 The meaning of well-formed formulas To interpret a formula, we have to give meanings to the propositional variables and the connectives.
    [Show full text]
  • Lecture 2.2: Tautology and Contradiction
    Lecture 2.2: Tautology and contradiction Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4190, Discrete Mathematical Structures M. Macauley (Clemson) Lecture 2.2: Tautology and contradiction Discrete Mathematical Structures 1 / 8 Motivation Digital electronic circuits are made from large collections of logic gates, which are physical devices that implement Boolean functions. Figure: Image by user EICC on Vimeo, under a Creative Commons license. M. Macauley (Clemson) Lecture 2.2: Tautology and contradiction Discrete Mathematical Structures 2 / 8 Motivation Digital electronic circuits are made from large collections of logic gates, which are physical devices that implement Boolean functions. Figure: Image by user EICC on Vimeo, under a Creative Commons license. M. Macauley (Clemson) Lecture 2.2: Tautology and contradiction Discrete Mathematical Structures 3 / 8 Motivation Understanding digital circuits requires an understanding of Boolean logic. Recall that we have seen the following logical operations: p q p ^ q p _ q p ! q q ! p :q !:p p $ q 0 0 0 0 1 1 1 1 0 1 0 1 1 0 1 0 1 0 0 1 0 1 0 0 1 1 1 1 1 1 1 1 Note that: p ! q has the same truth table as (:p ^ :q) _ (:p ^ q) _ (p ^ q), or just :p _ q. q ! p has the same truth table as (:p ^ :q) _ (p ^ :q) _ (p ^ q), or just p _:q. p $ q has the same truth table as (:p ^ :q) _ (p ^ q). Not surprisingly, every Boolean function can be written with ^, _, and :.
    [Show full text]
  • Logic Is Awesome. PROOF THAT LOGIC IS AWESOME
    PROOF THAT LOGIC IS AWESOME Call the following sentence P: “If this conditional is true, then Logic is Awesome”. I will now prove that P is in fact true. P is a conditional. I will assume its antecedent and then show that its consequent would follow. So we assume that “this conditional is true”. “this conditional” refers to sentence P so I now have by assumption that P is true. But since P is true and we also have its antecedent, then its consequent follows by modus ponens so given my assumption of “this conditional is true” then Logic is Awesome so by conditional proof (→Intro), I have now proved P. But then the antecedent “this conditional is true” is in fact true since I have just proved that P is true. Therefore by modus ponens, it follows that: Logic is Awesome. Monday, May 5, 2014 SUMMARY OF THE COURSE Monday, 5 May Monday, May 5, 2014 WHAT IS LOGIC? Monday, May 5, 2014 WHAT IS LOGIC? Reasoning is ubiquitous in every aspect of life. Arguably, the foundation of reasoning is consistency. Consistency is intimately related to the concept of logical consequence. Monday, May 5, 2014 WHAT IS LOGIC? Reasoning is ubiquitous in every aspect of life. Arguably, the foundation of reasoning is consistency. Consistency is intimately related to the concept of logical consequence. We say that some proposition P is a logical consequence of a set of propositions S if it is impossible for every proposition in S to be true and P to be false. Monday, May 5, 2014 WHAT IS LOGIC? Reasoning is ubiquitous in every aspect of life.
    [Show full text]
  • PHIL12A Section Answers, 23 February 2011
    PHIL12A Section answers, 23 February 2011 Julian Jonker 1 How much do you know? 1. The following questions are adapted form exercises 5.1-5.6. Decide whether each pattern of inference is valid. If it is, show that it is using truth tables. If it is not, give example sentences that show how the conclusion can be false though the premises are true. (a) From P and :Q, infer P ^ Q. This is invalid, as the following sentences exemplify: 1 P = Logic is fun. True 2 :Q = Logic is not easy. True 3 P ^ Q = Logic is fun and easy. False (b) From :P _:Q and :P , infer :Q. This is invalid, as the following sentences exemplify: 1 :P _:Q = Either soft drinks are unhealthy or water is unhealthy. True 2 :P = Soft drinks are unhealthy. True 3 :Q = Water is unhealthy. False (c) (Ex 5.6) From P ^ Q and :P , infer R. This is valid, as a truth table will show. You need to show that every row of the truth table which makes both P ^ Q and :P true also makes R true. However, because P ^ Q and :P are contradictory, there is no row of the truth table which makes both of them true (try it!). So the definition for TT validity is (vacuously) fulfilled. 1 2. Write informal proofs for the following arguments, using proof by cases. Be as explicit as possible about each step in your proof. (a) Suppose you know that (Cube(a)^Tet(b))_(Cube(c)^Tet(b)).
    [Show full text]