Boolean Logic

Total Page:16

File Type:pdf, Size:1020Kb

Boolean Logic Math 1090 Part one: Boolean Logic Saeed Ghasemi York University 18th June 2018 Saeed Ghasemi (York University) Math 1090 18th June 2018 1 / 97 Alphabets of Boolean Logic 0 00 1 Symbols for variables. We denote them by p; q; r;::: or p ; q ; p0; r12 and so on. 2 Symbols for constants. There are two of them, \>" (read \top" or \true") and ? (read \bottom" or \false"). 3 Brackets: \(" and \)". 4 Boolean connectives: :, ^, _, ! and ≡ We will denote the alphabet of propositional (Boolean) logic by V. Some textbooks use less connectives e.g., only : and ^, the other three connectives can be defined using these two. However out alphabet V would contain all five connectives. Saeed Ghasemi (York University) Math 1090 18th June 2018 2 / 97 Definition Given an alphabet A (i.e. a set of symbols) a string (or expression or word) over A is a finite ordered sequence of symbols in A. 0 We use letters A; B; C; A ; B0 ::: to denote strings. Examples If A = fa; b; c; 0; 1g then aaab01, ba1, 01b11 are strings. Note that ab 6= ba since the order matters. These are strings over V pq !:p0? ((p()_ ≡ r ^ rq)(p> The concatenation of two strings A and B is the new string AB. The empty string which we will denote by λ is the unique string such that λA = Aλ = A for any string A. Note that the notion of equality \=" is not part of our alphabet V. It comes from \metatheory" or \metamathematics". Saeed Ghasemi (York University) Math 1090 18th June 2018 3 / 97 Well-formed formulas Definition A string over A is a well-formed formula (wff in short) if it is obtained by applying the following three steps finitely many times 1 Every variable and constant symbol is a wff (these are called \atomic formulas"). 2 If A is a wff then (:A) is also a wff. 3 If A and B are wff, then so are (A ^ B), (A _ B), (A ! B) and A ≡ B. Examples of wff : •? • (p ≡ q) • (((:p) _ q) !?) Note. In this chapter when we say \formula" we mean well-formed formula over the Boolean alphabet. Saeed Ghasemi (York University) Math 1090 18th June 2018 4 / 97 Let WFF denote the set of all well-formed formulas. Equivalently we can define WFF as follows Definition WFF is the smallest subset of the set of all strings over V such that 1 WFF contains all the variables and > and ? (the constant symbols), 2 if A 2 WFF then (:A) 2 WFF , 3 if A; B 2 WFF then (A ^ B), (A _ B), (A ! B) and (A ≡ B) also belong to WFF . • From now on when we say formula we mean a well-formed formula. • In order to verify whether a string is a formula (a wff), we can either \parse the string top-down" or \parse the string bottom-up". Saeed Ghasemi (York University) Math 1090 18th June 2018 5 / 97 Example Suppose we want to show that A = ((p _ (:q)) !?) is a wff. Method 1 (parsing top-down). Suppose B = (p _ (:q)) is a wff (for a moment), then A = (B !?) is a formula, since ? is also formula. So it is enough to show that B is a formula. p is a formula, so if (:q) is a formula then so is B = (p _ (:q)). But (:q) is also a formula since q is a formula. Method 2 (parsing bottom-up). q is a formula and hence (:q) is a formula. Now both p and (:q) are formulas, therefore (p _ (:q)) is a formula. Since (p _ (:q)) and ? are formulas, so is A. Saeed Ghasemi (York University) Math 1090 18th June 2018 6 / 97 Priorities: dropping the redundant brackets We make the following conventions to be able to avoid writing so many brackets. Outermost brackets are redundant. The priorities of connectives, decreasing from left to right, are: :, ^, _, ! and ≡. If a formula looks like · · · ^ A ^ ::: for a subformula A, the right ^ has the priority over the left ^, meaning the formula is · · · ^ (A ^ ::: . The same is true for _, ! and ≡. Examples: •:p stands for (:p) • p _ q _ r stands for (p] _ (q _ r)) • p ! q !? stands for (p ! (q !?)) • p ^ :q _ r stands for ((p ^ (:q)) _ r) Saeed Ghasemi (York University) Math 1090 18th June 2018 7 / 97 Induction on the complexity of the formulas Definition The complexity of each formula is the number of its connectives. For example the complexities of :p ≡ q ! > and (p _ (:q)) ! (p ! (:q)) are 3 and 5, respectively. Fact A formula has complexity zero if and only if it is an atomic formula. Suppose P(A) is an statement about the formula A and suppose we want to prove by induction on the formula complexity that P(A) holds for every formula A. Then Saeed Ghasemi (York University) Math 1090 18th June 2018 8 / 97 Induction on the complexity of the formulas (Basis): Show that P(A) holds for every atomic formula A (variables and constants). (Induction Hypothesis): For a given n, assume P(A) holds for every formula A of complexity less that n. Show that P(A) holds for every formula A with complexity n. If you can follow these steps then the Induction Principle implies that P(A) holds for every formula (compare this with the usual induction on natural numbers). Saeed Ghasemi (York University) Math 1090 18th June 2018 9 / 97 Induction on the complexity of the formulas In practice, in order to use induction on the formulas complexity show that P(A) is true for every A, essentially you need to show that P(A) is true for constants and variables (basis). Assume P(A) and P(B) hold for formulas A and B (I. H.) and prove that P(:A), P(A ^ B), P(A _ B), P(A ! B) and P(A ≡ B) also hold, by using I.H. Theorem Every formula has the same number of right and left brackets. Proof. Prove by induction on the formula complexity. See your notes from the class or the textbook, Theorem 1.2.3. Saeed Ghasemi (York University) Math 1090 18th June 2018 10 / 97 Definition (Immediate Predecessor) Constants and Variables do not have any immediate predecessors. For a formula A the immediate predecessor of :A is just A. For formulas A and B the immediate predecessors of A ^ B, A _ B, A ! B and A ≡ B are A and B. Example: The immediate predecessors of (p _ q) ≡ (:p _ r) are p _ q and :p _ r. Theorem (Unique Readability) For any formula the set of its immediate predecessors is uniquely defined. Proof. See Theorem 1.2.5 of the textbook. The unique readability implies that there is a unique way of constructing each formula from its variables, constants and connectives (and brackets, if you wish). Saeed Ghasemi (York University) Math 1090 18th June 2018 11 / 97 Inductive definition on formulas We can define a concept or a function on the set of all formulas (WFF) inductively (recursively) following these steps: First define the concept for atomic formulas (variables and constants). Define the concept for :A assuming that it is defined for A (by recalling the definition of the concept for A). Define the concept for A ^ B, A _ B, A ! B and A ≡ B assuming that it is defined for formulas A and B. Saeed Ghasemi (York University) Math 1090 18th June 2018 12 / 97 Semantics of Boolean formulas The set of all possible truth values for propositional (Boolean) logic is \true", denoted by t and \false", denoted by f. The semantics of this logic means assigning a\truth values" to formulas so that The truth value of > is always t and the truth value of ? is always f . The truth value each variable is either t or f. The truth value of formulas is decided (calculated) by its truth table. Before dealing with truth table we would like to formalize the above conditions and the definition of truth table. Definition A state is a function that takes atomic formulas (variables and constants) as inputs and assigns either t or f (outputs) to each of them with the condition that it always assigns t to > and f to ?. Saeed Ghasemi (York University) Math 1090 18th June 2018 13 / 97 0 We usually denotes states with v; v ; v0; v1;::: (v for \value"!). States are defined only on atomic formulas. We want to extend the definition of states to the set of all formulas (to WFF). We do this recursively (meaning, using inductive definition on formulas). Assume v is a state and A is formula such that v(A) is defined. Define v(:A) as follows v(:A) = t iff v(A) = f v(:A) = f iff v(A) = t The truth table of \negation" (:) A :A t f f t Saeed Ghasemi (York University) Math 1090 18th June 2018 14 / 97 Now assume v(A) and v(B) are defined for formulas A and B. Lets define the value of v(A ^ B). Since each v(A) v(B) both can be either true or false, there are four possibilities. Possibility (1): v(A) = t and v(B) = t. In this case define v(A ^ B) = t. Possibility (2): v(A) = t and v(B) = f. In this case define v(A ^ B) = f. Possibility (3): v(A) = f and v(B) = t. In this case define v(A ^ B) = f. Possibility (4): v(A) = f and v(B) = f.
Recommended publications
  • The Deduction Rule and Linear and Near-Linear Proof Simulations
    The Deduction Rule and Linear and Near-linear Proof Simulations Maria Luisa Bonet¤ Department of Mathematics University of California, San Diego Samuel R. Buss¤ Department of Mathematics University of California, San Diego Abstract We introduce new proof systems for propositional logic, simple deduction Frege systems, general deduction Frege systems and nested deduction Frege systems, which augment Frege systems with variants of the deduction rule. We give upper bounds on the lengths of proofs in Frege proof systems compared to lengths in these new systems. As applications we give near-linear simulations of the propositional Gentzen sequent calculus and the natural deduction calculus by Frege proofs. The length of a proof is the number of lines (or formulas) in the proof. A general deduction Frege proof system provides at most quadratic speedup over Frege proof systems. A nested deduction Frege proof system provides at most a nearly linear speedup over Frege system where by \nearly linear" is meant the ratio of proof lengths is O(®(n)) where ® is the inverse Ackermann function. A nested deduction Frege system can linearly simulate the propositional sequent calculus, the tree-like general deduction Frege calculus, and the natural deduction calculus. Hence a Frege proof system can simulate all those proof systems with proof lengths bounded by O(n ¢ ®(n)). Also we show ¤Supported in part by NSF Grant DMS-8902480. 1 that a Frege proof of n lines can be transformed into a tree-like Frege proof of O(n log n) lines and of height O(log n). As a corollary of this fact we can prove that natural deduction and sequent calculus tree-like systems simulate Frege systems with proof lengths bounded by O(n log n).
    [Show full text]
  • Chapter 9: Initial Theorems About Axiom System
    Initial Theorems about Axiom 9 System AS1 1. Theorems in Axiom Systems versus Theorems about Axiom Systems ..................................2 2. Proofs about Axiom Systems ................................................................................................3 3. Initial Examples of Proofs in the Metalanguage about AS1 ..................................................4 4. The Deduction Theorem.......................................................................................................7 5. Using Mathematical Induction to do Proofs about Derivations .............................................8 6. Setting up the Proof of the Deduction Theorem.....................................................................9 7. Informal Proof of the Deduction Theorem..........................................................................10 8. The Lemmas Supporting the Deduction Theorem................................................................11 9. Rules R1 and R2 are Required for any DT-MP-Logic........................................................12 10. The Converse of the Deduction Theorem and Modus Ponens .............................................14 11. Some General Theorems About ......................................................................................15 12. Further Theorems About AS1.............................................................................................16 13. Appendix: Summary of Theorems about AS1.....................................................................18 2 Hardegree,
    [Show full text]
  • Propositional Logic (PDF)
    Mathematics for Computer Science Proving Validity 6.042J/18.062J Instead of truth tables, The Logic of can try to prove valid formulas symbolically using Propositions axioms and deduction rules Albert R Meyer February 14, 2014 propositional logic.1 Albert R Meyer February 14, 2014 propositional logic.2 Proving Validity Algebra for Equivalence The text describes a for example, bunch of algebraic rules to the distributive law prove that propositional P AND (Q OR R) ≡ formulas are equivalent (P AND Q) OR (P AND R) Albert R Meyer February 14, 2014 propositional logic.3 Albert R Meyer February 14, 2014 propositional logic.4 1 Algebra for Equivalence Algebra for Equivalence for example, The set of rules for ≡ in DeMorgan’s law the text are complete: ≡ NOT(P AND Q) ≡ if two formulas are , these rules can prove it. NOT(P) OR NOT(Q) Albert R Meyer February 14, 2014 propositional logic.5 Albert R Meyer February 14, 2014 propositional logic.6 A Proof System A Proof System Another approach is to Lukasiewicz’ proof system is a start with some valid particularly elegant example of this idea. formulas (axioms) and deduce more valid formulas using proof rules Albert R Meyer February 14, 2014 propositional logic.7 Albert R Meyer February 14, 2014 propositional logic.8 2 A Proof System Lukasiewicz’ Proof System Lukasiewicz’ proof system is a Axioms: particularly elegant example of 1) (¬P → P) → P this idea. It covers formulas 2) P → (¬P → Q) whose only logical operators are 3) (P → Q) → ((Q → R) → (P → R)) IMPLIES (→) and NOT. The only rule: modus ponens Albert R Meyer February 14, 2014 propositional logic.9 Albert R Meyer February 14, 2014 propositional logic.10 Lukasiewicz’ Proof System Lukasiewicz’ Proof System Prove formulas by starting with Prove formulas by starting with axioms and repeatedly applying axioms and repeatedly applying the inference rule.
    [Show full text]
  • Sets, Propositional Logic, Predicates, and Quantifiers
    COMP 182 Algorithmic Thinking Sets, Propositional Logic, Luay Nakhleh Computer Science Predicates, and Quantifiers Rice University !1 Reading Material ❖ Chapter 1, Sections 1, 4, 5 ❖ Chapter 2, Sections 1, 2 !2 ❖ Mathematics is about statements that are either true or false. ❖ Such statements are called propositions. ❖ We use logic to describe them, and proof techniques to prove whether they are true or false. !3 Propositions ❖ 5>7 ❖ The square root of 2 is irrational. ❖ A graph is bipartite if and only if it doesn’t have a cycle of odd length. ❖ For n>1, the sum of the numbers 1,2,3,…,n is n2. !4 Propositions? ❖ E=mc2 ❖ The sun rises from the East every day. ❖ All species on Earth evolved from a common ancestor. ❖ God does not exist. ❖ Everyone eventually dies. !5 ❖ And some of you might already be wondering: “If I wanted to study mathematics, I would have majored in Math. I came here to study computer science.” !6 ❖ Computer Science is mathematics, but we almost exclusively focus on aspects of mathematics that relate to computation (that can be implemented in software and/or hardware). !7 ❖Logic is the language of computer science and, mathematics is the computer scientist’s most essential toolbox. !8 Examples of “CS-relevant” Math ❖ Algorithm A correctly solves problem P. ❖ Algorithm A has a worst-case running time of O(n3). ❖ Problem P has no solution. ❖ Using comparison between two elements as the basic operation, we cannot sort a list of n elements in less than O(n log n) time. ❖ Problem A is NP-Complete.
    [Show full text]
  • 5 Deduction in First-Order Logic
    5 Deduction in First-Order Logic The system FOLC. Let C be a set of constant symbols. FOLC is a system of deduction for # the language LC . Axioms: The following are axioms of FOLC. (1) All tautologies. (2) Identity Axioms: (a) t = t for all terms t; (b) t1 = t2 ! (A(x; t1) ! A(x; t2)) for all terms t1 and t2, all variables x, and all formulas A such that there is no variable y occurring in t1 or t2 such that there is free occurrence of x in A in a subformula of A of the form 8yB. (3) Quantifier Axioms: 8xA ! A(x; t) for all formulas A, variables x, and terms t such that there is no variable y occurring in t such that there is a free occurrence of x in A in a subformula of A of the form 8yB. Rules of Inference: A; (A ! B) Modus Ponens (MP) B (A ! B) Quantifier Rule (QR) (A ! 8xB) provided the variable x does not occur free in A. Discussion of the axioms and rules. (1) We would have gotten an equivalent system of deduction if instead of taking all tautologies as axioms we had taken as axioms all instances (in # LC ) of the three schemas on page 16. All instances of these schemas are tautologies, so the change would have not have increased what we could 52 deduce. In the other direction, we can apply the proof of the Completeness Theorem for SL by thinking of all sententially atomic formulas as sentence # letters. The proof so construed shows that every tautology in LC is deducible using MP and schemas (1){(3).
    [Show full text]
  • From Fuzzy Sets to Crisp Truth Tables1 Charles C. Ragin
    From Fuzzy Sets to Crisp Truth Tables1 Charles C. Ragin Department of Sociology University of Arizona Tucson, AZ 85721 USA [email protected] Version: April 2005 1. Overview One limitation of the truth table approach is that it is designed for causal conditions are simple presence/absence dichotomies (i.e., Boolean or "crisp" sets). Many of the causal conditions that interest social scientists, however, vary by level or degree. For example, while it is clear that some countries are democracies and some are not, there are many in-between cases. These countries are not fully in the set of democracies, nor are they fully excluded from this set. Fortunately, there is a well-developed mathematical system for addressing partial membership in sets, fuzzy-set theory. Section 2 of this paper provides a brief introduction to the fuzzy-set approach, building on Ragin (2000). Fuzzy sets are especially powerful because they allow researchers to calibrate partial membership in sets using values in the interval between 0 (nonmembership) and 1 (full membership) without abandoning core set theoretic principles, for example, the subset relation. Ragin (2000) demonstrates that the subset relation is central to the analysis of multiple conjunctural causation, where several different combinations of conditions are sufficient for the same outcome. While fuzzy sets solve the problem of trying to force-fit cases into one of two categories (membership versus nonmembership in a set), they are not well suited for conventional truth table analysis. With fuzzy sets, there is no simple way to sort cases according to the combinations of causal conditions they display because each case's array of membership scores may be unique.
    [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]
  • Knowing-How and the Deduction Theorem
    Knowing-How and the Deduction Theorem Vladimir Krupski ∗1 and Andrei Rodin y2 1Department of Mechanics and Mathematics, Moscow State University 2Institute of Philosophy, Russian Academy of Sciences and Department of Liberal Arts and Sciences, Saint-Petersburg State University July 25, 2017 Abstract: In his seminal address delivered in 1945 to the Royal Society Gilbert Ryle considers a special case of knowing-how, viz., knowing how to reason according to logical rules. He argues that knowing how to use logical rules cannot be reduced to a propositional knowledge. We evaluate this argument in the context of two different types of formal systems capable to represent knowledge and support logical reasoning: Hilbert-style systems, which mainly rely on axioms, and Gentzen-style systems, which mainly rely on rules. We build a canonical syntactic translation between appropriate classes of such systems and demonstrate the crucial role of Deduction Theorem in this construction. This analysis suggests that one’s knowledge of axioms and one’s knowledge of rules ∗[email protected] [email protected] ; the author thanks Jean Paul Van Bendegem, Bart Van Kerkhove, Brendan Larvor, Juha Raikka and Colin Rittberg for their valuable comments and discussions and the Russian Foundation for Basic Research for a financial support (research grant 16-03-00364). 1 under appropriate conditions are also mutually translatable. However our further analysis shows that the epistemic status of logical knowing- how ultimately depends on one’s conception of logical consequence: if one construes the logical consequence after Tarski in model-theoretic terms then the reduction of knowing-how to knowing-that is in a certain sense possible but if one thinks about the logical consequence after Prawitz in proof-theoretic terms then the logical knowledge- how gets an independent status.
    [Show full text]
  • An Integration of Resolution and Natural Deduction Theorem Proving
    From: AAAI-86 Proceedings. Copyright ©1986, AAAI (www.aaai.org). All rights reserved. An Integration of Resolution and Natural Deduction Theorem Proving Dale Miller and Amy Felty Computer and Information Science University of Pennsylvania Philadelphia, PA 19104 Abstract: We present a high-level approach to the integra- ble of translating between them. In order to achieve this goal, tion of such different theorem proving technologies as resolution we have designed a programming language which permits proof and natural deduction. This system represents natural deduc- structures as values and types. This approach builds on and ex- tion proofs as X-terms and resolution refutations as the types of tends the LCF approach to natural deduction theorem provers such X-terms. These type structures, called ezpansion trees, are by replacing the LCF notion of a uakfation with explicit term essentially formulas in which substitution terms are attached to representation of proofs. The terms which represent proofs are quantifiers. As such, this approach to proofs and their types ex- given types which generalize the formulas-as-type notion found tends the formulas-as-type notion found in proof theory. The in proof theory [Howard, 19691. Resolution refutations are seen LCF notion of tactics and tacticals can also be extended to in- aa specifying the type of a natural deduction proofs. This high corporate proofs as typed X-terms. Such extended tacticals can level view of proofs as typed terms can be easily combined with be used to program different interactive and automatic natural more standard aspects of LCF to yield the integration for which Explicit representation of proofs deduction theorem provers.
    [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]
  • Propositional Logic, Truth Tables, and Predicate Logic (Rosen, Sections 1.1, 1.2, 1.3) TOPICS
    Propositional Logic, Truth Tables, and Predicate Logic (Rosen, Sections 1.1, 1.2, 1.3) TOPICS • Propositional Logic • Logical Operations • Equivalences • Predicate Logic Logic? What is logic? Logic is a truth-preserving system of inference Truth-preserving: System: a set of If the initial mechanistic statements are transformations, based true, the inferred on syntax alone statements will be true Inference: the process of deriving (inferring) new statements from old statements Proposi0onal Logic n A proposion is a statement that is either true or false n Examples: n This class is CS122 (true) n Today is Sunday (false) n It is currently raining in Singapore (???) n Every proposi0on is true or false, but its truth value (true or false) may be unknown Proposi0onal Logic (II) n A proposi0onal statement is one of: n A simple proposi0on n denoted by a capital leJer, e.g. ‘A’. n A negaon of a proposi0onal statement n e.g. ¬A : “not A” n Two proposi0onal statements joined by a connecve n e.g. A ∧ B : “A and B” n e.g. A ∨ B : “A or B” n If a connec0ve joins complex statements, parenthesis are added n e.g. A ∧ (B∨C) Truth Tables n The truth value of a compound proposi0onal statement is determined by its truth table n Truth tables define the truth value of a connec0ve for every possible truth value of its terms Logical negaon n Negaon of proposi0on A is ¬A n A: It is snowing. n ¬A: It is not snowing n A: Newton knew Einstein. n ¬A: Newton did not know Einstein.
    [Show full text]
  • Valid Arguments
    CHAPTER 3 Logic Copyright © 2015, 2011, 2007 Pearson Education, Inc. Section 3.7, Slide 1 3.7 Arguments and Truth Tables Copyright © 2015, 2011, 2007 Pearson Education, Inc. Section 3.7, Slide 2 Objectives 1. Use truth tables to determine validity. 2. Recognize and use forms of valid and invalid arguments. Copyright © 2015, 2011, 2007 Pearson Education, Inc. Section 3.7, Slide 3 Arguments An Argument consists of two parts: Premises: the given statements. Conclusion: the result determined by the truth of the premises. Valid Argument: The conclusion is true whenever the premises are assumed to be true. Invalid Argument: Also called a fallacy Truth tables can be used to test validity. Copyright © 2015, 2011, 2007 Pearson Education, Inc. Section 3.7, Slide 4 Testing the Validity of an Argument with a Truth Table Copyright © 2015, 2011, 2007 Pearson Education, Inc. Section 3.7, Slide 5 Example: Did the Pickiest Logician in the Galaxy Foul Up? In Star Trek, the spaceship Enterprise is hit by an ion storm, causing the power to go out. Captain Cook wonders if Mr. Scott is aware of the problem. Mr. Spock replies, “If Mr. Scott is still with us, the power should be on momentarily.” Moments later the ship’s power comes back on. Argument: If Mr. Scott is still with us, then the power will come on. The power comes on. Therefore, Mr. Scott is still with us. Determine whether the argument is valid or invalid. Copyright © 2015, 2011, 2007 Pearson Education, Inc. Section 3.7, Slide 6 Example continued Solution Step 1: p: Mr.
    [Show full text]