Section 1.2 Propositional Logic

Total Page:16

File Type:pdf, Size:1020Kb

Section 1.2 Propositional Logic Section 1.2 Propositional Logic CS 130 – Discrete Structures Where Does the Name Come From? • Statements are sometimes called proposition. • Wffs are also called propositional wffs. • We want to learn: – how to reach logical conclusions based on given statements • The formal system that uses propositional wffs is called propositional logic. • Deriving logical conclusion by combining many propositions and using formal logic: hence, determining the truth of arguments. CS 130 – Discrete Structures 31 Argument • Definition of Argument: – An argument is a sequence of statements in which the conjunction of the initial statements (called the premises/hypotheses) is said to imply the final statement (called the conclusion). An argument can be presented symbolically as: – (P1 Λ P2 Λ ... Λ Pn) Q – Where P1, P2, ..., Pn represent the hypotheses and Q represents the conclusion – The question can be stated as: • when can Q be logically deduced from P1, P2, ..., Pn? • when is Q a logical conclusion from P1, P2, ..., Pn? CS 130 – Discrete Structures 32 Focus on Relationships Between Hypothesis and Conclusion • Note: we need to focus on the relationship of the conclusion to the hypotheses and not just any knowledge we might have about the conclusion Q. • For example: – P1: Neil Armstrong was the first to step on the moon. – P2 : Mars is a red planet. – and the conclusion – No human has ever been to Mars. • A valid argument should be true based entirely on its internal structure. CS 130 – Discrete Structures 33 Valid Arguments • Definition of valid argument: – An argument is valid if whenever the hypotheses are all true, the conclusion must also be true. – That is, when (P1 Λ P2 Λ ... Λ Pn) Q is a tautology. – The previous example had a wff representation of A Λ B C which is not a tautology • Example: – If George Bush is the current president of the US, then Dick Cheney is the current vice president. George Bush is not the current president of the US. Therefore Dick Cheney is not the current vice president. – (A B) Λ A’ B’ CS 130 – Discrete Structures 34 Proof Sequence • To test whether (P1 Λ P2 Λ ... Λ Pn) Q is a tautology: – build a truth table – generate a proof sequence (new way) by applying derivation rules • Definition of Proof Sequence: – A sequence of wffs in which each wff is either a hypothesis or the result of applying one of the formal system’s derivation rules to earlier wffs in the sequence – The above proof sequence results in many numbers of wffs and finally it will result in the conclusion CS 130 – Discrete Structures 35 Derivation Rules • Formal logic system that is: – correct: only valid arguments should be provable – complete: every valid argument should be provable – minimum: to make the formal system manageable • Derivation rules for Propositional Logic – Equivalence rules: allows individual wffs to be replaced – Inference rules: allows new wffs to be derived from previous wffs CS 130 – Discrete Structures 36 Equivalence Rules • These rules state that certain pairs of wffs are equivalent, hence one can be substituted for the other with no change to its truth values. • Allows substitution in either direction Expression Equivalent to Name/Abbreviation R V S S V R communicative / comm R Λ S S Λ R (R V S) V Q R V (S V Q) associative / ass (R Λ S) Λ Q R Λ (S Λ Q) (R V S)’ R’ Λ S’ De Morgan’s laws / (R Λ S)’ R’ V S’ De Morgan R S R’ V S implication / imp R (R’)’ double negation / dn R S (RS) Λ (SR) equivalence / equ CS 130 – Discrete Structures 37 Examples • Assume we have the following hypotheses, we can start a proof sequence as follows: 1. (A’ V B’) V C hyp (hypothesis) 2. (A Λ B)’ V C 1, De Morgan 3. (A Λ B) C 2, imp CS 130 – Discrete Structures 38 Inference Rules • Inference rules allow us to add a wff to match the last part of the proof sequence, if one or more wffs that match the first part already exist in the proof sequence From Can Derive Abbreviation for rule R, R S S Modus Ponens- mp R S, S’ R’ Modus Tollens- mt R, S R Λ S Conjunction-con R Λ S R, S Simplification- sim R R V S Addition- add • Note: Inference rules do NOT work in both directions unlike equivalence rules • Example: – R: It’s bright and sunny today. S: I’ll wear my sunglass. – mp, mt CS 130 – Discrete Structures 39 General Process in Proving a Valid Argument • First, write down all the hypotheses • Then use the inference and equivalence rules to get to the conclusion step by step • The idea is to keep focused on the result and sometimes it is very easy to go down a longer path CS 130 – Discrete Structures 40 Examples • Use propositional logic, prove that the following arguments are valid: – A Λ (B C) Λ [(A Λ B) (D V C’)] Λ B D • Your turn – [(A V B’) C] Λ (C D) Λ A D CS 130 – Discrete Structures 41 Derivation Hints • MP is the most intuitive inference rule. Try to use it more often. • Wffs of the form (P ^ Q)’ or (P v Q)’ are seldom helpful in a proof sequence. Try to use De Morgan’s laws. • Wffs of the form P v Q are also seldom helpful, try using double negation to convert it into implication. CS 130 – Discrete Structures 42 Deduction Method • To prove an argument of the form: – P1 Λ P2 Λ ... Λ Pn (R Q) • Deduction method allows for the use of R as an additional hypothesis and prove: – P1 Λ P2 Λ ... Λ Pn Λ R Q • Example: prove [A (A B)] (A B) • Example, prove (A B) Λ (B C) (A C) • The above is called rule of Hypothetical Syllogism or hs in short • Many such other rules can be derived from existing rules which thus provide an easier and faster proofs CS 130 – Discrete Structures 43 More Inference Rules (See Exercise 1.2) From Can Derive Name / Abbreviation P Q, Q R P R Hypothetical syllogism- hs P V Q, P´ Q Disjunctive syllogism- ds P Q Q´ P´ Contraposition- cont Q´ P´ P Q Contraposition- cont P P Λ P Self-reference - self P V P P Self-reference - self (P Λ Q) R P (Q R) Exportation - exp P, P´ Q Inconsistency - inc P Λ (Q V R) (P Λ Q) V (P Λ R) Distributive - dist P V (Q Λ R) (P V Q) Λ (P V R) Distributive - dist CS 130 – Discrete Structures 44 Proofs of Inference Rules • Prove that (P Q) (Q´ P´) is a valid argument (Contraposition – con) • Hence prove, (P Q) Λ Q´ P´ (using deduction method) • The above is true using the modus tollens inference rule • Prove P Λ P´ Q (Inconsistency -- inc) 1. P hyp 2. P´ hyp 3. P V Q 1, add 4. Q V P 3, comm 5. (Q´)´ V P 4, dn 6. Q´ P 5, imp 7. (Q´)´ 2, 6, mt 8. Q 7, dn CS 130 – Discrete Structures 45 Proofs Using New Rules • (A’ V B) Λ (B C) (A C) • Additional rules can shorten proof sequences but at the expense of having to remember additional rules. • Your turn: – (A B) ^ (C’ v A) ^ C B – (A Λ B)’ Λ (C’ Λ A)’ Λ (C Λ B’)’ A’ – A ^ (B C) (B (A ^ C)) – [A (B v C)] ^ B’ ^ C’ A’ CS 130 – Discrete Structures 46 Proving Verbal Arguments • An argument in English that consists of simple statements can be tested for validity by a two- step process: – Symbolize the argument using propositional wffs – Prove that the argument is valid by constructing a proof sequence for it using the derivation rules for propositional logic CS 130 – Discrete Structures 47 Example In Proving Verbal Arguments • Russia was a superior power, and either France was not strong or Napoleon made an error. Napoleon did not make an error, but if the army did not fail, then France was strong. Hence the army failed and Russia was a superior power. • Converting it to a propostional form using letters A, B, C and D – A : Russia was a superior power – B: France was strong – B’ : France was not strong – C: Napoleon made an error – C’ : Napoleon did not make an error – D: The army failed – D’ : The army did not fail CS 130 – Discrete Structures 48 Continue… • Combining, the statements using logic – A Λ (B´ V C) hypothesis – C´ hypothesis – (D´ B) hypothesis – (D Λ A) conclusion • Combining them, the propositional form is • A Λ (B´ V C) Λ C´ Λ (D´ B) (D Λ A) • Prove it CS 130 – Discrete Structures 49 Class Exercises • Prove the following arguments: – (A’ B’) Λ (A C) (B C) – (Y Z’) Λ (X’ Y) Λ [Y (X W)] Λ (Y Z) (Y W) – [A (B C)] [B (A C)] – P ^ (Q V R) (P ^ Q) V (P ^ R) – If the program is efficient, it executes quickly. Either the program is efficient, or it has a bug. However, the program does not execute quickly. Therefore it has a bug. (Use letters E, Q, B) – The crop is good, but there is not enough water. If there is a lot of rain or not a lot of sun, then there is enough water. Therefore the crop is good and there is a lot of sun. (Use letters C, W, R, S) CS 130 – Discrete Structures 50 Prove the following arguments • If the program is efficient, it executes quickly.
Recommended publications
  • Chrysippus's Dog As a Case Study in Non-Linguistic Cognition
    Chrysippus’s Dog as a Case Study in Non-Linguistic Cognition Michael Rescorla Abstract: I critique an ancient argument for the possibility of non-linguistic deductive inference. The argument, attributed to Chrysippus, describes a dog whose behavior supposedly reflects disjunctive syllogistic reasoning. Drawing on contemporary robotics, I urge that we can equally well explain the dog’s behavior by citing probabilistic reasoning over cognitive maps. I then critique various experimentally-based arguments from scientific psychology that echo Chrysippus’s anecdotal presentation. §1. Language and thought Do non-linguistic creatures think? Debate over this question tends to calcify into two extreme doctrines. The first, espoused by Descartes, regards language as necessary for cognition. Modern proponents include Brandom (1994, pp. 145-157), Davidson (1984, pp. 155-170), McDowell (1996), and Sellars (1963, pp. 177-189). Cartesians may grant that ascribing cognitive activity to non-linguistic creatures is instrumentally useful, but they regard such ascriptions as strictly speaking false. The second extreme doctrine, espoused by Gassendi, Hume, and Locke, maintains that linguistic and non-linguistic cognition are fundamentally the same. Modern proponents include Fodor (2003), Peacocke (1997), Stalnaker (1984), and many others. Proponents may grant that non- linguistic creatures entertain a narrower range of thoughts than us, but they deny any principled difference in kind.1 2 An intermediate position holds that non-linguistic creatures display cognitive activity of a fundamentally different kind than human thought. Hobbes and Leibniz favored this intermediate position. Modern advocates include Bermudez (2003), Carruthers (2002, 2004), Dummett (1993, pp. 147-149), Malcolm (1972), and Putnam (1992, pp. 28-30).
    [Show full text]
  • Section 2.1: Proof Techniques
    Section 2.1: Proof Techniques January 25, 2021 Abstract Sometimes we see patterns in nature and wonder if they hold in general: in such situations we are demonstrating the appli- cation of inductive reasoning to propose a conjecture, which may become a theorem which we attempt to prove via deduc- tive reasoning. From our work in Chapter 1, we conceive of a theorem as an argument of the form P → Q, whose validity we seek to demonstrate. Example: A student was doing a proof and suddenly specu- lated “Couldn’t we just say (A → (B → C)) ∧ B → (A → C)?” Can she? It’s a theorem – either we prove it, or we provide a counterexample. This section outlines a variety of proof techniques, including direct proofs, proofs by contraposition, proofs by contradiction, proofs by exhaustion, and proofs by dumb luck or genius! You have already seen each of these in Chapter 1 (with the exception of “dumb luck or genius”, perhaps). 1 Theorems and Informal Proofs The theorem-forming process is one in which we • make observations about nature, about a system under study, etc.; • discover patterns which appear to hold in general; • state the rule; and then • attempt to prove it (or disprove it). This process is formalized in the following definitions: • inductive reasoning - drawing a conclusion based on experi- ence, which one might state as a conjecture or theorem; but al- mostalwaysas If(hypotheses)then(conclusion). • deductive reasoning - application of a logic system to investi- gate a proposed conclusion based on hypotheses (hence proving, disproving, or, failing either, holding in limbo the conclusion).
    [Show full text]
  • Rules of Replacement II, §7.4
    Philosophy 109, Modern Logic, Queens College Russell Marcus, Instructor email: [email protected] website: http://philosophy.thatmarcusfamily.org Office phone: (718) 997-5287 Rules of Replacement II, §7.4 I. The Last Five Rules of Replacement See the appendix at the end of the lesson for truth tables proving equivalence for each. Transposition (Trans) P e Q :: -Q e -P You may switch the antecedent and consequent of a conditional statement, as long as you negate (or un-negate) both. Often used with (HS). Also, traditionally, called the ‘contrapositive’. Sample Derivation: 1. A e B 2. D e -B / A e -D 3. --B e -D 2, Trans 4. A e -D 1, 3, DN, HS QED Transposition can be tricky when only one term is negated: A e -B becomes, by Trans: --B e -A which becomes, by DN B e -A Equivalently, but doing the double negation first: A e -B becomes, by DN: --A e -B becomes, by Trans: B e -A Either way, you can include the DN on the line with Trans. Material Implication (Impl) P e Q :: -P w Q Implication allows you to change a statement from a disjunction to a conditional, or vice versa. It’s often easier to work with disjunctions. You can use (DM) to get conjunctions. You may be able to use distribution, which doesn’t apply to conditionals. On the other hand, sometimes, you just want to work with conditionals. You can use (HS) and (MP). Proofs are overdetermined by our system - there are many ways to do them.
    [Show full text]
  • On Basic Probability Logic Inequalities †
    mathematics Article On Basic Probability Logic Inequalities † Marija Boriˇci´cJoksimovi´c Faculty of Organizational Sciences, University of Belgrade, Jove Ili´ca154, 11000 Belgrade, Serbia; [email protected] † The conclusions given in this paper were partially presented at the European Summer Meetings of the Association for Symbolic Logic, Logic Colloquium 2012, held in Manchester on 12–18 July 2012. Abstract: We give some simple examples of applying some of the well-known elementary probability theory inequalities and properties in the field of logical argumentation. A probabilistic version of the hypothetical syllogism inference rule is as follows: if propositions A, B, C, A ! B, and B ! C have probabilities a, b, c, r, and s, respectively, then for probability p of A ! C, we have f (a, b, c, r, s) ≤ p ≤ g(a, b, c, r, s), for some functions f and g of given parameters. In this paper, after a short overview of known rules related to conjunction and disjunction, we proposed some probabilized forms of the hypothetical syllogism inference rule, with the best possible bounds for the probability of conclusion, covering simultaneously the probabilistic versions of both modus ponens and modus tollens rules, as already considered by Suppes, Hailperin, and Wagner. Keywords: inequality; probability logic; inference rule MSC: 03B48; 03B05; 60E15; 26D20; 60A05 1. Introduction The main part of probabilization of logical inference rules is defining the correspond- Citation: Boriˇci´cJoksimovi´c,M. On ing best possible bounds for probabilities of propositions. Some of them, connected with Basic Probability Logic Inequalities. conjunction and disjunction, can be obtained immediately from the well-known Boole’s Mathematics 2021, 9, 1409.
    [Show full text]
  • 7.1 Rules of Implication I
    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) to derive either a conclusion or a series of intermediate conclusions that link the premises of an argument with the stated conclusion. The First Four Rules of Inference: ◦ Modus Ponens (MP): p q p q ◦ Modus Tollens (MT): p q ~q ~p ◦ Pure Hypothetical Syllogism (HS): p q q r p r ◦ Disjunctive Syllogism (DS): p v q ~p q Common strategies for constructing a proof involving the first four rules: ◦ Always begin by attempting to find the conclusion in the premises. If the conclusion is not present in its entirely in the premises, look at the main operator of the conclusion. This will provide a clue as to how the conclusion should be derived. ◦ If the conclusion contains a letter that appears in the consequent of a conditional statement in the premises, consider obtaining that letter via modus ponens. ◦ If the conclusion contains a negated letter and that letter appears in the antecedent of a conditional statement in the premises, consider obtaining the negated letter via modus tollens. ◦ If the conclusion is a conditional statement, consider obtaining it via pure hypothetical syllogism. ◦ If the conclusion contains a letter that appears in a disjunctive statement in the premises, consider obtaining that letter via disjunctive syllogism. Four Additional Rules of Inference: ◦ Constructive Dilemma (CD): (p q) • (r s) p v r q v s ◦ Simplification (Simp): p • q p ◦ Conjunction (Conj): p q p • q ◦ Addition (Add): p p v q Common Misapplications Common strategies involving the additional rules of inference: ◦ If the conclusion contains a letter that appears in a conjunctive statement in the premises, consider obtaining that letter via simplification.
    [Show full text]
  • 'The Denial of Bivalence Is Absurd'1
    On ‘The Denial of Bivalence is Absurd’1 Francis Jeffry Pelletier Robert J. Stainton University of Alberta Carleton University Edmonton, Alberta, Canada Ottawa, Ontario, Canada [email protected] [email protected] Abstract: Timothy Williamson, in various places, has put forward an argument that is supposed to show that denying bivalence is absurd. This paper is an examination of the logical force of this argument, which is found wanting. I. Introduction Let us being with a word about what our topic is not. There is a familiar kind of argument for an epistemic view of vagueness in which one claims that denying bivalence introduces logical puzzles and complications that are not easily overcome. One then points out that, by ‘going epistemic’, one can preserve bivalence – and thus evade the complications. James Cargile presented an early version of this kind of argument [Cargile 1969], and Tim Williamson seemingly makes a similar point in his paper ‘Vagueness and Ignorance’ [Williamson 1992] when he says that ‘classical logic and semantics are vastly superior to…alternatives in simplicity, power, past success, and integration with theories in other domains’, and contends that this provides some grounds for not treating vagueness in this way.2 Obviously an argument of this kind invites a rejoinder about the puzzles and complications that the epistemic view introduces. Here are two quick examples. First, postulating, as the epistemicist does, linguistic facts no speaker of the language could possibly know, and which have no causal link to actual or possible speech behavior, is accompanied by a litany of disadvantages – as the reader can imagine.
    [Show full text]
  • Three Ways of Being Non-Material
    Three Ways of Being Non-Material Vincenzo Crupi, Andrea Iacona May 2019 This paper presents a novel unified account of three distinct non-material inter- pretations of `if then': the suppositional interpretation, the evidential interpre- tation, and the strict interpretation. We will spell out and compare these three interpretations within a single formal framework which rests on fairly uncontro- versial assumptions, in that it requires nothing but propositional logic and the probability calculus. As we will show, each of the three intrerpretations exhibits specific logical features that deserve separate consideration. In particular, the evidential interpretation as we understand it | a precise and well defined ver- sion of it which has never been explored before | significantly differs both from the suppositional interpretation and from the strict interpretation. 1 Preliminaries Although it is widely taken for granted that indicative conditionals as they are used in ordinary language do not behave as material conditionals, there is little agreement on the nature and the extent of such deviation. Different theories tend to privilege different intuitions about conditionals, and there is no obvious answer to the question of which of them is the correct theory. In this paper, we will compare three interpretations of `if then': the suppositional interpretation, the evidential interpretation, and the strict interpretation. These interpretations may be regarded either as three distinct meanings that ordinary speakers attach to `if then', or as three ways of explicating a single indeterminate meaning by replacing it with a precise and well defined counterpart. Here is a rough and informal characterization of the three interpretations. According to the suppositional interpretation, a conditional is acceptable when its consequent is credible enough given its antecedent.
    [Show full text]
  • Useful Argumentative Essay Words and Phrases
    Useful Argumentative Essay Words and Phrases Examples of Argumentative Language Below are examples of signposts that are used in argumentative essays. Signposts enable the reader to follow our arguments easily. When pointing out opposing arguments (Cons): Opponents of this idea claim/maintain that… Those who disagree/ are against these ideas may say/ assert that… Some people may disagree with this idea, Some people may say that…however… When stating specifically why they think like that: They claim that…since… Reaching the turning point: However, But On the other hand, When refuting the opposing idea, we may use the following strategies: compromise but prove their argument is not powerful enough: - They have a point in thinking like that. - To a certain extent they are right. completely disagree: - After seeing this evidence, there is no way we can agree with this idea. say that their argument is irrelevant to the topic: - Their argument is irrelevant to the topic. Signposting sentences What are signposting sentences? Signposting sentences explain the logic of your argument. They tell the reader what you are going to do at key points in your assignment. They are most useful when used in the following places: In the introduction At the beginning of a paragraph which develops a new idea At the beginning of a paragraph which expands on a previous idea At the beginning of a paragraph which offers a contrasting viewpoint At the end of a paragraph to sum up an idea In the conclusion A table of signposting stems: These should be used as a guide and as a way to get you thinking about how you present the thread of your argument.
    [Show full text]
  • The “Ambiguity” Fallacy
    \\jciprod01\productn\G\GWN\88-5\GWN502.txt unknown Seq: 1 2-SEP-20 11:10 The “Ambiguity” Fallacy Ryan D. Doerfler* ABSTRACT This Essay considers a popular, deceptively simple argument against the lawfulness of Chevron. As it explains, the argument appears to trade on an ambiguity in the term “ambiguity”—and does so in a way that reveals a mis- match between Chevron criticism and the larger jurisprudence of Chevron critics. TABLE OF CONTENTS INTRODUCTION ................................................. 1110 R I. THE ARGUMENT ........................................ 1111 R II. THE AMBIGUITY OF “AMBIGUITY” ..................... 1112 R III. “AMBIGUITY” IN CHEVRON ............................. 1114 R IV. RESOLVING “AMBIGUITY” .............................. 1114 R V. JUDGES AS UMPIRES .................................... 1117 R CONCLUSION ................................................... 1120 R INTRODUCTION Along with other, more complicated arguments, Chevron1 critics offer a simple inference. It starts with the premise, drawn from Mar- bury,2 that courts must interpret statutes independently. To this, critics add, channeling James Madison, that interpreting statutes inevitably requires courts to resolve statutory ambiguity. And from these two seemingly uncontroversial premises, Chevron critics then infer that deferring to an agency’s resolution of some statutory ambiguity would involve an abdication of the judicial role—after all, resolving statutory ambiguity independently is what judges are supposed to do, and defer- ence (as contrasted with respect3) is the opposite of independence. As this Essay explains, this simple inference appears fallacious upon inspection. The reason is that a key term in the inference, “ambi- guity,” is critically ambiguous, and critics seem to slide between one sense of “ambiguity” in the second premise of the argument and an- * Professor of Law, Herbert and Marjorie Fried Research Scholar, The University of Chi- cago Law School.
    [Show full text]
  • The Incorrect Usage of Propositional Logic in Game Theory
    The Incorrect Usage of Propositional Logic in Game Theory: The Case of Disproving Oneself Holger I. MEINHARDT ∗ August 13, 2018 Recently, we had to realize that more and more game theoretical articles have been pub- lished in peer-reviewed journals with severe logical deficiencies. In particular, we observed that the indirect proof was not applied correctly. These authors confuse between statements of propositional logic. They apply an indirect proof while assuming a prerequisite in order to get a contradiction. For instance, to find out that “if A then B” is valid, they suppose that the assumptions “A and not B” are valid to derive a contradiction in order to deduce “if A then B”. Hence, they want to establish the equivalent proposition “A∧ not B implies A ∧ notA” to conclude that “if A then B”is valid. In fact, they prove that a truth implies a falsehood, which is a wrong statement. As a consequence, “if A then B” is invalid, disproving their own results. We present and discuss some selected cases from the literature with severe logical flaws, invalidating the articles. Keywords: Transferable Utility Game, Solution Concepts, Axiomatization, Propositional Logic, Material Implication, Circular Reasoning (circulus in probando), Indirect Proof, Proof by Contradiction, Proof by Contraposition, Cooperative Oligopoly Games 2010 Mathematics Subject Classifications: 03B05, 91A12, 91B24 JEL Classifications: C71 arXiv:1509.05883v1 [cs.GT] 19 Sep 2015 ∗Holger I. Meinhardt, Institute of Operations Research, Karlsruhe Institute of Technology (KIT), Englerstr. 11, Building: 11.40, D-76128 Karlsruhe. E-mail: [email protected] The Incorrect Usage of Propositional Logic in Game Theory 1 INTRODUCTION During the last decades, game theory has encountered a great success while becoming the major analysis tool for studying conflicts and cooperation among rational decision makers.
    [Show full text]
  • 4 Quantifiers and Quantified Arguments 4.1 Quantifiers
    4 Quantifiers and Quantified Arguments 4.1 Quantifiers Recall from Chapter 3 the definition of a predicate as an assertion con- taining one or more variables such that, if the variables are replaced by objects from a given Universal set U then we obtain a proposition. Let p(x) be a predicate with one variable. Definition If for all x ∈ U, p(x) is true, we write ∀x : p(x). ∀ is called the universal quantifier. Definition If there exists x ∈ U such that p(x) is true, we write ∃x : p(x). ∃ is called the existential quantifier. Note (1) ∀x : p(x) and ∃x : p(x) are propositions and so, in any given example, we will be able to assign truth-values. (2) The definitions can be applied to predicates with two or more vari- ables. So if p(x, y) has two variables we have, for instance, ∀x, ∃y : p(x, y) if “for all x there exists y for which p(x, y) is holds”. (3) Let A and B be two sets in a Universal set U. Recall the definition of A ⊆ B as “every element of A is in B.” This is a “for all” statement so we should be able to symbolize it. We do so by first rewriting the definition as “for all x ∈ U, if x is in A then x is in B, ” which in symbols is ∀x ∈ U : if (x ∈ A) then (x ∈ B) , or ∀x :(x ∈ A) → (x ∈ B) . 1 (4*) Recall that a variable x in a propositional form p(x) is said to be free.
    [Show full text]
  • Tables of Implications and Tautologies from Symbolic Logic
    Tables of Implications and Tautologies from Symbolic Logic Dr. Robert B. Heckendorn Computer Science Department, University of Idaho March 17, 2021 Here are some tables of logical equivalents and implications that I have found useful over the years. Where there are classical names for things I have included them. \Isolation by Parts" is my own invention. By tautology I mean equivalent left and right hand side and by implication I mean the left hand expression implies the right hand. I use the tilde and overbar interchangeably to represent negation e.g. ∼x is the same as x. Enjoy! Table 1: Properties of All Two-bit Operators. The Comm. is short for commutative and Assoc. is short for associative. Iff is short for \if and only if". Truth Name Comm./ Binary And/Or/Not Nands Only Table Assoc. Op 0000 False CA 0 0 (a " (a " a)) " (a " (a " a)) 0001 And CA a ^ b a ^ b (a " b) " (a " b) 0010 Minus b − a a ^ b (b " (a " a)) " (a " (a " a)) 0011 B A b b b 0100 Minus a − b a ^ b (a " (a " a)) " (a " (a " b)) 0101 A A a a a 0110 Xor/NotEqual CA a ⊕ b (a ^ b) _ (a ^ b)(b " (a " a)) " (a " (a " b)) (a _ b) ^ (a _ b) 0111 Or CA a _ b a _ b (a " a) " (b " b) 1000 Nor C a # b a ^ b ((a " a) " (b " b)) " ((a " a) " a) 1001 Iff/Equal CA a $ b (a _ b) ^ (a _ b) ((a " a) " (b " b)) " (a " b) (a ^ b) _ (a ^ b) 1010 Not A a a a " a 1011 Imply a ! b a _ b (a " (a " b)) 1100 Not B b b b " b 1101 Imply b ! a a _ b (b " (a " a)) 1110 Nand C a " b a _ b a " b 1111 True CA 1 1 (a " a) " a 1 Table 2: Tautologies (Logical Identities) Commutative Property: p ^ q $ q
    [Show full text]