Logic) 1 1.1 Formal Notation

Total Page:16

File Type:pdf, Size:1020Kb

Logic) 1 1.1 Formal Notation Universal generalization From Wikipedia, the free encyclopedia Contents 1 Absorption (logic) 1 1.1 Formal notation ............................................ 1 1.2 Examples ............................................... 1 1.3 Proof by truth table .......................................... 2 1.4 Formal proof ............................................. 2 1.5 References ............................................... 2 2 Associative property 3 2.1 Definition ............................................... 3 2.2 Generalized associative law ...................................... 4 2.3 Examples ............................................... 4 2.4 Propositional logic .......................................... 7 2.4.1 Rule of replacement ..................................... 7 2.4.2 Truth functional connectives ................................. 7 2.5 Non-associativity ........................................... 7 2.5.1 Nonassociativity of floating point calculation ......................... 8 2.5.2 Notation for non-associative operations ........................... 8 2.6 See also ................................................ 10 2.7 References ............................................... 10 3 Axiom 11 3.1 Etymology ............................................... 11 3.2 Historical development ........................................ 12 3.2.1 Early Greeks ......................................... 12 3.2.2 Modern development ..................................... 12 3.2.3 Other sciences ......................................... 13 3.3 Mathematical logic .......................................... 14 3.3.1 Logical axioms ........................................ 14 3.3.2 Non-logical axioms ...................................... 15 3.3.3 Role in mathematical logic .................................. 16 3.3.4 Further discussion ....................................... 17 3.4 See also ................................................ 17 3.5 References ............................................... 17 i ii CONTENTS 3.6 Further reading ............................................ 17 3.7 External links ............................................. 18 4 Axiom schema 19 4.1 Formal definition ........................................... 19 4.2 Finite axiomatization ......................................... 19 4.3 Examples ............................................... 19 4.4 Finitely axiomatized theoreies ..................................... 19 4.5 In higher-order logic .......................................... 20 4.6 See also ................................................ 20 4.7 References .............................................. 20 5 Axiomatic system 21 5.1 Properties ............................................... 21 5.2 Relative consistency .......................................... 21 5.3 Models ................................................. 21 5.4 Axiomatic method ........................................... 22 5.4.1 History ............................................ 22 5.4.2 Issues ............................................. 22 5.4.3 Example: The Peano axiomatization of natural numbers ................... 23 5.4.4 Axiomatization ........................................ 23 5.5 See also ................................................ 23 5.6 References .............................................. 23 6 Biconditional elimination 24 6.1 Formal notation ............................................ 24 6.2 See also ................................................ 25 6.3 References ............................................... 25 7 Biconditional introduction 26 7.1 Formal notation ............................................ 26 7.2 References ............................................... 26 8 Commutative property 27 8.1 Common uses ............................................. 27 8.2 Mathematical definitions ........................................ 28 8.3 Examples ............................................... 28 8.3.1 Commutative operations in everyday life ........................... 28 8.3.2 Commutative operations in mathematics ........................... 28 8.3.3 Noncommutative operations in everyday life ......................... 29 8.3.4 Noncommutative operations in mathematics ......................... 30 8.4 History and etymology ......................................... 30 8.5 Propositional logic .......................................... 31 CONTENTS iii 8.5.1 Rule of replacement ..................................... 31 8.5.2 Truth functional connectives ................................. 31 8.6 Set theory ............................................... 31 8.7 Mathematical structures and commutativity .............................. 32 8.8 Related properties ........................................... 32 8.8.1 Associativity ......................................... 32 8.8.2 Symmetry ........................................... 32 8.9 Non-commuting operators in quantum mechanics ........................... 32 8.10 See also ................................................ 33 8.11 Notes ................................................. 34 8.12 References ............................................... 34 8.12.1 Books ............................................. 34 8.12.2 Articles ............................................ 35 8.12.3 Online resources ....................................... 35 9 Conjunction elimination 36 9.1 Formal notation ............................................ 36 9.2 References .............................................. 37 10 Conjunction introduction 38 10.1 Formal notation ............................................ 38 10.2 References ............................................... 38 11 Constructive dilemma 39 11.1 Formal notation ............................................ 39 11.2 Variable English ........................................... 39 11.3 Natural language example ...................................... 39 11.4 References ............................................... 40 12 De Morgan’s laws 41 12.1 Formal notation ............................................ 41 12.1.1 Substitution form ....................................... 43 12.1.2 Set theory and Boolean algebra ................................ 43 12.1.3 Engineering .......................................... 44 12.1.4 Text searching ......................................... 44 12.2 History ................................................. 44 12.3 Informal proof ............................................. 45 12.3.1 Negation of a disjunction ................................... 45 12.3.2 Negation of a conjunction ................................... 45 12.4 Formal proof ............................................. 46 12.5 Extensions ............................................... 46 12.6 See also ................................................ 47 12.7 References ............................................... 48 iv CONTENTS 12.8 External links ............................................. 48 13 Deduction theorem 49 13.1 Examples of deduction ........................................ 49 13.2 Virtual rules of inference ....................................... 50 13.3 Conversion from proof using the deduction meta-theorem to axiomatic proof ............ 50 13.4 The deduction theorem in predicate logic ............................... 51 13.5 Example of conversion ........................................ 52 13.6 Paraconsistent deduction theorem ................................... 53 13.7 The resolution theorem ........................................ 53 13.8 See also ................................................ 53 13.9 Notes ................................................. 53 13.10References ............................................... 53 13.11External links ............................................. 54 14 Destructive dilemma 55 14.1 Formal notation ............................................ 55 14.2 Natural language example ....................................... 55 14.3 Proof ................................................. 56 14.4 Example proof ............................................. 56 14.5 References ............................................... 56 14.6 Bibliography ............................................. 56 14.7 External links ............................................. 56 15 Disjunction elimination 57 15.1 Formal notation ............................................ 57 15.2 See also ................................................ 58 15.3 References ............................................... 58 16 Disjunction introduction 59 16.1 Formal notation ............................................ 59 16.2 References .............................................. 59 17 Disjunctive syllogism 60 17.1 Formal notation ............................................ 60 17.2 Natural language examples ...................................... 61 17.3 Inclusive and exclusive disjunction .................................. 61 17.4 Related argument forms ........................................ 61 17.5 References ............................................... 62 18 Distributive property 63 18.1 Definition ............................................... 63 18.2 Meaning ................................................ 63 18.3 Examples ............................................... 64 CONTENTS v 18.3.1 Real numbers ......................................... 64 18.3.2 Matrices ............................................ 65 18.3.3 Other examples ........................................ 65 18.4 Propositional logic
Recommended publications
  • Ling 130 Notes: a Guide to Natural Deduction Proofs
    Ling 130 Notes: A guide to Natural Deduction proofs Sophia A. Malamud February 7, 2018 1 Strategy summary Given a set of premises, ∆, and the goal you are trying to prove, Γ, there are some simple rules of thumb that will be helpful in finding ND proofs for problems. These are not complete, but will get you through our problem sets. Here goes: Given Delta, prove Γ: 1. Apply the premises, pi in ∆, to prove Γ. Do any other obvious steps. 2. If you need to use a premise (or an assumption, or another resource formula) which is a disjunction (_-premise), then apply Proof By Cases (Disjunction Elimination, _E) rule and prove Γ for each disjunct. 3. Otherwise, work backwards from the type of goal you are proving: (a) If the goal Γ is a conditional (A ! B), then assume A and prove B; use arrow-introduction (Conditional Introduction, ! I) rule. (b) If the goal Γ is a a negative (:A), then assume ::A (or just assume A) and prove con- tradiction; use Reductio Ad Absurdum (RAA, proof by contradiction, Negation Intro- duction, :I) rule. (c) If the goal Γ is a conjunction (A ^ B), then prove A and prove B; use Conjunction Introduction (^I) rule. (d) If the goal Γ is a disjunction (A _ B), then prove one of A or B; use Disjunction Intro- duction (_I) rule. 4. If all else fails, use RAA (proof by contradiction). 2 Using rules for conditionals • Conditional Elimination (modus ponens) (! E) φ ! , φ ` This rule requires a conditional and its antecedent.
    [Show full text]
  • The Parallelogram Law Objective: to Take Students Through the Process
    The Parallelogram Law Objective: To take students through the process of discovery, making a conjecture, further exploration, and finally proof. I. Introduction: Use one of the following… • Geometer’s Sketchpad demonstration • Geogebra demonstration • The introductory handout from this lesson Using one of the introductory activities, allow students to explore and make a conjecture about the relationship between the sum of the squares of the sides of a parallelogram and the sum of the squares of the diagonals. Conjecture: The sum of the squares of the sides of a parallelogram equals the sum of the squares of the diagonals. Ask the question: Can we prove this is always true? II. Activity: Have students look at one more example. Follow the instructions on the exploration handouts, “Demonstrating the Parallelogram Law.” • Give each student a copy of the student handouts, scissors, a glue stick, and two different colored highlighters. Have students follow the instructions. When they get toward the end, they will need to cut very small pieces to fit in the uncovered space. Most likely there will be a very small amount of space left uncovered, or a small amount will extend outside the figure. • After the activity, discuss the results. Did the squares along the two diagonals fit into the squares along all four sides? Since it is unlikely that it will fit exactly, students might question if the relationship is always true. At this point, talk about how we will need to find a convincing proof. III. Go through one or more of the proofs below: Page 1 of 10 MCC@WCCUSD 02/26/13 A.
    [Show full text]
  • Lecture 1: Informal Logic
    Lecture 1: Informal Logic 1 Sentential/Propositional Logic Definition 1.1 (Statement). A statement is anything we can say, write, or otherwise express that can be either true or false. Remark 1. Veracity of a statement doesn't depend on one's ability to verify it's truth or falsity. Example 1.2. The expression \Venkatesh is twenty years old" is a statement, because it is either true or false. We will be making following two assumptions when dealing with statements. Assumptions 1.3 (Bivalence). Every statement is either true or false. Assumptions 1.4. No statement is both true and false. One of the consequences of the bivalence assumption is that if a statement is not true, then it must be false. Hence, to prove that something is true, it would suffice to prove that it is not false. 1.1 Combination of Statements In this subsection, we would look at five basic ways of combining two statements P and Q to form new statements. We can form more complicated compound statements by using combinations of these basic operations. Definition 1.5 (Conjunction). We define conjunction of statements P and Q to be the statement that is true if both P and Q are true, and is false otherwise. Conjunction of of P and Q is denoted P ^ Q, and read \P and Q." Remark 2. Logical and is different from it's colloquial usages for therefore or for relations. 1 Definition 1.6 (Disjunction). We define disjunction of statements P and Q to be the statement that is true if either P is true or Q is true or both are true, and is false otherwise.
    [Show full text]
  • Chapter 5: Methods of Proof for Boolean Logic
    Chapter 5: Methods of Proof for Boolean Logic § 5.1 Valid inference steps Conjunction elimination Sometimes called simplification. From a conjunction, infer any of the conjuncts. • From P ∧ Q, infer P (or infer Q). Conjunction introduction Sometimes called conjunction. From a pair of sentences, infer their conjunction. • From P and Q, infer P ∧ Q. § 5.2 Proof by cases This is another valid inference step (it will form the rule of disjunction elimination in our formal deductive system and in Fitch), but it is also a powerful proof strategy. In a proof by cases, one begins with a disjunction (as a premise, or as an intermediate conclusion already proved). One then shows that a certain consequence may be deduced from each of the disjuncts taken separately. One concludes that that same sentence is a consequence of the entire disjunction. • From P ∨ Q, and from the fact that S follows from P and S also follows from Q, infer S. The general proof strategy looks like this: if you have a disjunction, then you know that at least one of the disjuncts is true—you just don’t know which one. So you consider the individual “cases” (i.e., disjuncts), one at a time. You assume the first disjunct, and then derive your conclusion from it. You repeat this process for each disjunct. So it doesn’t matter which disjunct is true—you get the same conclusion in any case. Hence you may infer that it follows from the entire disjunction. In practice, this method of proof requires the use of “subproofs”—we will take these up in the next chapter when we look at formal proofs.
    [Show full text]
  • CHAPTER 3. VECTOR ALGEBRA Part 1: Addition and Scalar
    CHAPTER 3. VECTOR ALGEBRA Part 1: Addition and Scalar Multiplication for Vectors. §1. Basics. Geometric or physical quantities such as length, area, volume, tempera- ture, pressure, speed, energy, capacity etc. are given by specifying a single numbers. Such quantities are called scalars, because many of them can be measured by tools with scales. Simply put, a scalar is just a number. Quantities such as force, velocity, acceleration, momentum, angular velocity, electric or magnetic field at a point etc are vector quantities, which are represented by an arrow. If the ‘base’ and the ‘head’ of this arrow are B and H repectively, then we denote this vector by −−→BH: Figure 1. Often we use a single block letter in lower case, such as u, v, w, p, q, r etc. to denote a vector. Thus, if we also use v to denote the above vector −−→BH, then v = −−→BH.A vector v has two ingradients: magnitude and direction. The magnitude is the length of the arrow representing v, and is denoted by v . In case v = −−→BH, certainly we | | have v = −−→BH for the magnitude of v. The meaning of the direction of a vector is | | | | self–evident. Two vectors are considered to be equal if they have the same magnitude and direction. You recognize two equal vectors in drawing, if their representing arrows are parallel to each other, pointing in the same way, and have the same length 1 Figure 2. For example, if A, B, C, D are vertices of a parallelogram, followed in that order, then −→AB = −−→DC and −−→AD = −−→BC: Figure 3.
    [Show full text]
  • Principles of Logic Roehampton : Printed by John Griffin ^Principles of Logic
    PRINCIPLES OF LOGIC ROEHAMPTON : PRINTED BY JOHN GRIFFIN ^PRINCIPLES OF LOGIC By GEORGE HAYWARD JOYCE, S.J. M.A., ORIEL COLLEGE, OXFORD PROFESSOR OF LOGIC, ST. MARY S HALL, STONYHURST *.r LONGMANS, GREEN & CO 39, PATERNOSTER ROW, LONDON NEW YORK. BOMBAY, AND CALCUTTA 1908 INTRODUCTION THIS work is an attempt at a presentment of what is fre quently termed the Traditional Logic, and is intended for those who are making acquaintance with philosophical questions for the first time. Yet it is impossible, even in a text-book such as this, to deal with logical questions save in connexion with definite metaphysical and epistemolo- gical principles. Logic, as the theory of the mind s rational processes in regard of their validity, must neces sarily be part of a larger philosophical system. Indeed when this is not the case, it becomes a mere collection of technical rules, possessed of little importance and of less interest. The point of view adopted in this book is that of the Scholastic as far as is philosophy ; and compatible with the size and purpose of the work, some attempt has been made to vindicate the fundamental principles on which that philosophy is based. From one point of view, this position should prove a source of strength. The thinkers who elaborated our sys tem of Logic, were Scholastics. With the principles of that philosophy, its doctrines and its rules are in full accord. In the light of Scholasticism, the system is a connected whole ; and the subjects, traditionally treated in it, have each of them its legitimate place.
    [Show full text]
  • Section 1.4: Predicate Logic
    Section 1.4: Predicate Logic January 22, 2021 Abstract We now consider the logic associated with predicate wffs, including a new set of derivation rules for demonstrating validity (the analogue of tautology in the propositional calculus) – that is, for proving theorems! 1 Derivation rules • First of all, all the rules of propositional logic still hold. Whew! Propositional wffs are simply boring, variable-less predicate wffs. • Our author suggests the following “general plan of attack”: – strip off the quantifiers – work with the separate wffs – insert quantifiers as necessary Now, how may we legitimately do so? Consider the classic syllo- gism: a. (All) Humans are mortal. b. Socrates is human. Therefore Socrates is mortal. The way we reason is that the rule “Humans are mortal” applies to the specific example “Socrates”; hence this Socrates is mortal. We might write this as a. (∀x)(H(x) → M(x)) b. H(s) Therefore M(s). It seems so obvious! But how do we justify that in a proof se- quence? • New rules for predicate logic: in the following, you should un- derstand by the symbol x in P (x) an expression with free variable x, possibly containing other (quantified) variables: e.g. P (x) ≡ (∀y)(∃z)Q(x,y,z) (1) – Universal Instantiation: from (∀x)P (x) deduce P (t). Caveat: t must not already appear as a variable in the ex- pression for P (x): in the equation above, (1), it would not do to deduce P (y) or P (z), as those variables appear in the expression (in a quantified fashion) already.
    [Show full text]
  • Chapter 1 Logic and Set Theory
    Chapter 1 Logic and Set Theory To criticize mathematics for its abstraction is to miss the point entirely. Abstraction is what makes mathematics work. If you concentrate too closely on too limited an application of a mathematical idea, you rob the mathematician of his most important tools: analogy, generality, and simplicity. – Ian Stewart Does God play dice? The mathematics of chaos In mathematics, a proof is a demonstration that, assuming certain axioms, some statement is necessarily true. That is, a proof is a logical argument, not an empir- ical one. One must demonstrate that a proposition is true in all cases before it is considered a theorem of mathematics. An unproven proposition for which there is some sort of empirical evidence is known as a conjecture. Mathematical logic is the framework upon which rigorous proofs are built. It is the study of the principles and criteria of valid inference and demonstrations. Logicians have analyzed set theory in great details, formulating a collection of axioms that affords a broad enough and strong enough foundation to mathematical reasoning. The standard form of axiomatic set theory is denoted ZFC and it consists of the Zermelo-Fraenkel (ZF) axioms combined with the axiom of choice (C). Each of the axioms included in this theory expresses a property of sets that is widely accepted by mathematicians. It is unfortunately true that careless use of set theory can lead to contradictions. Avoiding such contradictions was one of the original motivations for the axiomatization of set theory. 1 2 CHAPTER 1. LOGIC AND SET THEORY A rigorous analysis of set theory belongs to the foundations of mathematics and mathematical logic.
    [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]
  • Starting the Dismantling of Classical Mathematics
    Australasian Journal of Logic Starting the Dismantling of Classical Mathematics Ross T. Brady La Trobe University Melbourne, Australia [email protected] Dedicated to Richard Routley/Sylvan, on the occasion of the 20th anniversary of his untimely death. 1 Introduction Richard Sylvan (n´eRoutley) has been the greatest influence on my career in logic. We met at the University of New England in 1966, when I was a Master's student and he was one of my lecturers in the M.A. course in Formal Logic. He was an inspirational leader, who thought his own thoughts and was not afraid to speak his mind. I hold him in the highest regard. He was very critical of the standard Anglo-American way of doing logic, the so-called classical logic, which can be seen in everything he wrote. One of his many critical comments was: “G¨odel's(First) Theorem would not be provable using a decent logic". This contribution, written to honour him and his works, will examine this point among some others. Hilbert referred to non-constructive set theory based on classical logic as \Cantor's paradise". In this historical setting, the constructive logic and mathematics concerned was that of intuitionism. (The Preface of Mendelson [2010] refers to this.) We wish to start the process of dismantling this classi- cal paradise, and more generally classical mathematics. Our starting point will be the various diagonal-style arguments, where we examine whether the Law of Excluded Middle (LEM) is implicitly used in carrying them out. This will include the proof of G¨odel'sFirst Theorem, and also the proof of the undecidability of Turing's Halting Problem.
    [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]
  • 46. on the Completeness O F the Leibnizian Modal System with a Restriction by Setsuo SAITO Shibaura Institute of Technology,Tokyo (Comm
    198 [Vol. 42, 46. On the Completeness o f the Leibnizian Modal System with a Restriction By Setsuo SAITO Shibaura Institute of Technology,Tokyo (Comm. by Zyoiti SUETUNA,M.J.A., March 12, 1966) § 1. Introduction. The purpose of this paper is to show the completeness of a modal system which will be called Lo in the following. In my previous paper [1], in order to show an example of defence of _.circular definition, the following definition was given: A statement is analytic if and only if it is consistent with every statement that expresses what is possible. This definition, roughly speaking, is materially equivalent to Carnap's definition of L-truth which is suggested by Leibniz' conception that a necessary truth must hold in all possible worlds (cf. Carnap [2], p.10). If "analytic" is replaced by "necessary" in the above definition, this definition becomes as follows: A statement is necessary if and only if it is consistent with every statement that expresses what is possible. This reformed definition is symbolized by modal signs as follows: Opm(q)[Qq~O(p•q)1, where p and q are propositional variables. Let us replace it by the following axiom-schema and rule: Axiom-schema. D a [Q,9 Q(a •,S)], where a, ,9 are arbitrary formulas. Rule of inference. If H Q p Q(a •p), then i- a, where a is an arbitrary formula and p is a propositional variable not contained in a. We call L (the Leibnizian modal system) the system obtained from the usual propositional calculus by adding the above axiom schema and rule and the rule of replacement of material equivalents.
    [Show full text]