Guide to Negating Formulas

Total Page:16

File Type:pdf, Size:1020Kb

Guide to Negating Formulas Guide to Negating Formulas Hi everybody! We spent a little bit of time in class talking about how to negate formulas in propositional or frst-order logic. This is a really valuable skill! If you ever need to write a proof by contradiction or a proof by contrapositive, you'll need to know how to negate formulas. While this might seem a bit tricky at frst, the good news is that there's a nice, mechanical way that you can negate formulas! There's still a bit of art to it, but by learning a few simple rules and how to apply them, you can negate just about anything! For example. ¬p ∧ (q ∨ r) Let's imagine that you want to negate this formula to the left. (¬p ∧ (q ∨ r)) To do so, we're going to begin by surrounding the formula in parentheses. ¬(¬p ∧ (q ∨ r)) And putting a negation symbol in front. ¬(¬p ∧ (q ∨ r)) Technically speaking, this formula is the negation of the original formula, though it's hard to see exactly what this formula says. ¬(¬p ∧ (q ∨ r)) Most of the time, when you need to fnd the negation of a formula, you're going to want to simplify it by pushing the negations inward. ¬(¬p ∧ (q ∨ r)) The good news is that there are a number of rules we can use to do this. ¬(¬p ∧ (q ∨ r)) If you remember from our lecture on propositional logic, we saw a series of rules for simplifying negations. ¬(¬p ∧ (q ∨ r)) For example, we saw de Morgan's laws, which say that ¬(A ∧ B) ≡ ¬A ∨ ¬B ¬(A ∨ B) ≡ ¬A ∧ ¬B ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬(¬p ∧ (q ∨ r)) I'm going to write this rules up at the top of the screen. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬(¬p ∧ (q ∨ r)) We haven't talked about this notation before, but the good news is that it's not too bad. Let's take a look at this. ¬(A ∨ B) ¬(A ∧ B) Generally speaking, these rules ¬A ∧ ¬B ¬A ∨ ¬B look like this: Before After ¬(¬p ∧ (q ∨ r)) ¬(A ∨ B) ¬(A ∧ B) A rule like this means “if you see ¬A ∧ ¬B ¬A ∨ ¬B Before, replace it with After.” Before After ¬(¬p ∧ (q ∨ r)) ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B So let's look at this rule on the right. ¬(¬p ∧ (q ∨ r)) ¬(A ∨ B) ¬(A ∧ B) This rule says ¬A ∧ ¬B ¬A ∨ ¬B “if you see something of the form ¬(A ∧ B) replace it with ¬A ∨ ¬B.” ¬(¬p ∧ (q ∨ r)) ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬(¬p ∧ (q ∨ r)) Take a look at our original formula. If you look at it closely, you'll see that it matches this particular pattern. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬(¬p ∧ (q ∨ r)) That means that we can apply this rule and rewrite it. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ ¬(q ∨ r) .so that it looks like this. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ ¬(q ∨ r) Notice that we've “pushed” the negation deeper into the formula. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ ¬(q ∨ r) Basically, we just need to keep applying these rule templates over and over until the formula is as simple as it can get. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ ¬(q ∨ r) So let's focus on this part of the formula for now. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ ¬(q ∨ r) Notice that it matches this particular template. ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ ¬(q ∨ r) So let's apply this rule to simplify the formula! ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ (¬q ∧ ¬r) Now we've got this, which has the negation pushed deeper into the formula! We're making progress! ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ (¬q ∧ ¬r) So what about the other part of this formula? ¬(A ∨ B) ¬(A ∧ B) ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ (¬q ∧ ¬r) Well, this is a double-negation. Intuitively, we'd expect these two negations to cancel out. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ (¬q ∧ ¬r) Indeed, that's what happens. We can write this down as the rule ¬¬A A ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B ¬¬p ∨ (¬q ∧ ¬r) So let's go and apply this rule! ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Tada! ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) At this point we can't push the negations any deeper into the formula. They're directly applied to propositions, which can't be simplifed. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) So we're done! ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Of course, before moving on, we should be sure to check our work! ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Here's the original formula. (Think of this as the “before” in ¬p ∧ (q ∨ r) the “before and after” shots.) ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Is there some way we can check whether we negated this formula ¬p ∧ (q ∨ r) properly? ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Yes, actually! There are several. ¬p ∧ (q ∨ r) ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Let's begin with an intuitive check. What do each of these formulas ¬p ∧ (q ∨ r) actually mean? ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) This formula means “p is true, ¬p ∧ (q ∨ r) or both q and r are false.” ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) This formula means “p is false and at least one of q and r ¬p ∧ (q ∨ r) is true.” ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Intuitively, these statements seem ¬p ∧ (q ∨ r) to check out as opposites. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) If the frst one is true, then either p is true (so ¬p is false), ¬p ∧ (q ∨ r) or q and r are false (so q ∨ r is false.) ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Similarly, if the second one is true, then ¬p is true (so p is ¬p ∧ (q ∨ r) false), and at least one of q and r are true (so ¬q ∧ ¬r is false). ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) So in that sense, intuitively, ¬p ∧ (q ∨ r) everything checks out. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Of course, a lot of things that make intuitive sense aren't right, ¬p ∧ (q ∨ r) so perhaps we should check this in a diferent way. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) When we're dealing with propositional logic, we can always check the truth ¬p ∧ (q ∨ r) tables for these formulas and see how they compare! ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) If you punch in these two formulas, here's the truth tables ¬p ∧ (q ∨ r) that you'll get back. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Notice that, going row by row, the truth values are opposites ¬p ∧ (q ∨ r) of one another. That means that they're negations of one another! ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) There's actually a diferent way to use the truth table tool to ¬p ∧ (q ∨ r) check if two formulas are negations of one another. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Imagine that you have two formulas A and B. If A is a ¬p ∧ (q ∨ r) negation of B, then any time A is true, B is false and vice-versa. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) That means that the formula A ↔ B ¬p ∧ (q ∨ r) should always evaluate to false. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) So in our case, we can try punching in this formula into ¬p ∧ (q ∨ r) the truth table tool. ((pp ∨ ∨ (¬ (¬qq ∧ ∧ ¬ ¬rr)))) ↔ ↔ (¬ (¬pp ∧ ∧ ( (qq ∨ ∨ r r)))) ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) If we do, here's what we ¬p ∧ (q ∨ r) get back. ((pp ∨ ∨ (¬ (¬qq ∧ ∧ ¬ ¬rr)))) ↔ ↔ (¬ (¬pp ∧ ∧ ( (qq ∨ ∨ r r)))) ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B p ∨ (¬q ∧ ¬r) Since the formula is always false, we know that the two ¬p ∧ (q ∨ r) formulas must be negations of one another. Nifty! ((pp ∨ ∨ (¬ (¬qq ∧ ∧ ¬ ¬rr)))) ↔ ↔ (¬ (¬pp ∧ ∧ ( (qq ∨ ∨ r r)))) ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B That wasn't so bad! Let's do another one. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B (p ∨ q) ∧ (¬p ∧ ¬q) Let's try taking the negation of this formula. ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B (p ∨ q) ∧ (¬p ∧ ¬q) Actually, before we do this together, why don't you try doing it yourself frst! ¬¬A ¬(A ∨ B) ¬(A ∧ B) A ¬A ∧ ¬B ¬A ∨ ¬B (p ∨ q) ∧ (¬p ∧ ¬q) Take a minute or two to walk through this one on your own.
Recommended publications
  • 1 Elementary Set Theory
    1 Elementary Set Theory Notation: fg enclose a set. f1; 2; 3g = f3; 2; 2; 1; 3g because a set is not defined by order or multiplicity. f0; 2; 4;:::g = fxjx is an even natural numberg because two ways of writing a set are equivalent. ; is the empty set. x 2 A denotes x is an element of A. N = f0; 1; 2;:::g are the natural numbers. Z = f:::; −2; −1; 0; 1; 2;:::g are the integers. m Q = f n jm; n 2 Z and n 6= 0g are the rational numbers. R are the real numbers. Axiom 1.1. Axiom of Extensionality Let A; B be sets. If (8x)x 2 A iff x 2 B then A = B. Definition 1.1 (Subset). Let A; B be sets. Then A is a subset of B, written A ⊆ B iff (8x) if x 2 A then x 2 B. Theorem 1.1. If A ⊆ B and B ⊆ A then A = B. Proof. Let x be arbitrary. Because A ⊆ B if x 2 A then x 2 B Because B ⊆ A if x 2 B then x 2 A Hence, x 2 A iff x 2 B, thus A = B. Definition 1.2 (Union). Let A; B be sets. The Union A [ B of A and B is defined by x 2 A [ B if x 2 A or x 2 B. Theorem 1.2. A [ (B [ C) = (A [ B) [ C Proof. Let x be arbitrary. x 2 A [ (B [ C) iff x 2 A or x 2 B [ C iff x 2 A or (x 2 B or x 2 C) iff x 2 A or x 2 B or x 2 C iff (x 2 A or x 2 B) or x 2 C iff x 2 A [ B or x 2 C iff x 2 (A [ B) [ C Definition 1.3 (Intersection).
    [Show full text]
  • Chapter 18 Negation
    Chapter 18 Negation Jong-Bok Kim Kyung Hee University, Seoul Each language has a way to express (sentential) negation that reverses the truth value of a certain sentence, but employs language-particular expressions and gram- matical strategies. There are four main types of negatives in expressing sentential negation: the adverbial negative, the morphological negative, the negative auxil- iary verb, and the preverbal negative. This chapter discusses HPSG analyses for these four strategies in marking sentential negation. 1 Modes of expressing negation There are four main types of negative markers in expressing negation in lan- guages: the morphological negative, the negative auxiliary verb, the adverbial negative, and the clitic-like preverbal negative (see Dahl 1979; Payne 1985; Zanut- tini 2001; Dryer 2005).1 Each of these types is illustrated in the following: (1) a. Ali elmalar-i ser-me-di-;. (Turkish) Ali apples-ACC like-NEG-PST-3SG ‘Ali didn’t like apples.’ b. sensayng-nim-i o-ci anh-usi-ess-ta. (Korean) teacher-HON-NOM come-CONN NEG-HON-PST-DECL ‘The teacher didn’t come.’ c. Dominique (n’) écrivait pas de lettre. (French) Dominique NEG wrote NEG of letter ‘Dominique did not write a letter.’ 1The term negator or negative marker is a cover term for any linguistic expression functioning as sentential negation. Jong-Bok Kim. 2021. Negation. In Stefan Müller, Anne Abeillé, Robert D. Borsley & Jean- Pierre Koenig (eds.), Head-Driven Phrase Structure Grammar: The handbook. Prepublished version. Berlin: Language Science Press. [Pre- liminary page numbering] Jong-Bok Kim d. Gianni non legge articoli di sintassi. (Italian) Gianni NEG reads articles of syntax ‘Gianni doesn’t read syntax articles.’ As shown in (1a), languages like Turkish have typical examples of morphological negatives where negation is expressed by an inflectional category realized on the verb by affixation.
    [Show full text]
  • A Symmetric Lambda-Calculus Corresponding to the Negation
    A Symmetric Lambda-Calculus Corresponding to the Negation-Free Bilateral Natural Deduction Tatsuya Abe Software Technology and Artificial Intelligence Research Laboratory, Chiba Institute of Technology, 2-17-1 Tsudanuma, Narashino, Chiba, 275-0016, Japan [email protected] Daisuke Kimura Department of Information Science, Toho University, 2-2-1 Miyama, Funabashi, Chiba, 274-8510, Japan [email protected] Abstract Filinski constructed a symmetric lambda-calculus consisting of expressions and continuations which are symmetric, and functions which have duality. In his calculus, functions can be encoded to expressions and continuations using primitive operators. That is, the duality of functions is not derived in the calculus but adopted as a principle of the calculus. In this paper, we propose a simple symmetric lambda-calculus corresponding to the negation-free natural deduction based bilateralism in proof-theoretic semantics. In our calculus, continuation types are represented as not negations of formulae but formulae with negative polarity. Function types are represented as the implication and but-not connectives in intuitionistic and paraconsistent logics, respectively. Our calculus is not only simple but also powerful as it includes a call-value calculus corresponding to the call-by-value dual calculus invented by Wadler. We show that mutual transformations between expressions and continuations are definable in our calculus to justify the duality of functions. We also show that every typable function has dual types. Thus, the duality of function is derived from bilateralism. 2012 ACM Subject Classification Theory of computation → Logic; Theory of computation → Type theory Keywords and phrases symmetric lambda-calculus, formulae-as-types, duality, bilateralism, natural deduction, proof-theoretic semantics, but-not connective, continuation, call-by-value Acknowledgements The author thanks Yosuke Fukuda, Tasuku Hiraishi, Kentaro Kikuchi, and Takeshi Tsukada for the fruitful discussions, which clarified contributions of the present paper.
    [Show full text]
  • Journal of Linguistics Negation, 'Presupposition'
    Journal of Linguistics http://journals.cambridge.org/LIN Additional services for Journal of Linguistics: Email alerts: Click here Subscriptions: Click here Commercial reprints: Click here Terms of use : Click here Negation, ‘presupposition’ and the semantics/pragmatics distinction ROBYN CARSTON Journal of Linguistics / Volume 34 / Issue 02 / September 1998, pp 309 ­ 350 DOI: null, Published online: 08 September 2000 Link to this article: http://journals.cambridge.org/abstract_S0022226798007063 How to cite this article: ROBYN CARSTON (1998). Negation, ‘presupposition’ and the semantics/pragmatics distinction. Journal of Linguistics, 34, pp 309­350 Request Permissions : Click here Downloaded from http://journals.cambridge.org/LIN, IP address: 144.82.107.34 on 12 Oct 2012 J. Linguistics (), –. Printed in the United Kingdom # Cambridge University Press Negation, ‘presupposition’ and the semantics/pragmatics distinction1 ROBYN CARSTON Department of Phonetics and Linguistics, University College London (Received February ; revised April ) A cognitive pragmatic approach is taken to some long-standing problem cases of negation, the so-called presupposition denial cases. It is argued that a full account of the processes and levels of representation involved in their interpretation typically requires the sequential pragmatic derivation of two different propositions expressed. The first is one in which the presupposition is preserved and, following the rejection of this, the second involves the echoic (metalinguistic) use of material falling in the scope of the negation. The semantic base for these processes is the standard anti- presuppositionalist wide-scope negation. A different view, developed by Burton- Roberts (a, b), takes presupposition to be a semantic relation encoded in natural language and so argues for a negation operator that does not cancel presuppositions.
    [Show full text]
  • Expressing Negation
    Expressing Negation William A. Ladusaw University of California, Santa Cruz Introduction* My focus in this paper is the syntax-semantics interface for the interpretation of negation in languages which show negative concord, as illustrated in the sentences in (1)-(4). (1) Nobody said nothing to nobody. [NS English] ‘Nobody said anything to anyone.’ (2) Maria didn’t say nothing to nobody. [NS English] ‘Maria didn’t say anything to anyone.’ (3) Mario non ha parlato di niente con nessuno. [Italian] ‘Mario hasn’t spoken with anyone about anything.’ (4) No m’ha telefonat ningú. [Catalan] ‘Nobody has telephoned me.’ Negative concord (NC) is the indication at multiple points in a clause of the fact that the clause is to be interpreted as semantically negated. In a widely spoken and even more widely understood nonstandard dialect of English, sentences (1) and (2) are interpreted as synonymous with those given as glosses, which are also well-formed in the dialect. The examples in (3) from Italian and (4) from Catalan illustrate the same phenomenon. The occurrence in these sentences of two or three different words, any one of which when correctly positioned would be sufficient to negate a clause, does not guarantee that their interpretation involves two or three independent expressions of negation. These clauses express only one negation, which is, on one view, simply redundantly indicated in two or three different places; each of the italicized terms in these sentences might be seen as having an equal claim to the function of expressing negation. However closer inspection indicates that this is not the correct view.
    [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]
  • RELATIONAL PARAMETRICITY and CONTROL 1. Introduction the Λ
    Logical Methods in Computer Science Vol. 2 (3:3) 2006, pp. 1–22 Submitted Dec. 16, 2005 www.lmcs-online.org Published Jul. 27, 2006 RELATIONAL PARAMETRICITY AND CONTROL MASAHITO HASEGAWA Research Institute for Mathematical Sciences, Kyoto University, Kyoto 606-8502 Japan, and PRESTO, Japan Science and Technology Agency e-mail address: [email protected] Abstract. We study the equational theory of Parigot’s second-order λµ-calculus in con- nection with a call-by-name continuation-passing style (CPS) translation into a fragment of the second-order λ-calculus. It is observed that the relational parametricity on the tar- get calculus induces a natural notion of equivalence on the λµ-terms. On the other hand, the unconstrained relational parametricity on the λµ-calculus turns out to be inconsis- tent. Following these facts, we propose to formulate the relational parametricity on the λµ-calculus in a constrained way, which might be called “focal parametricity”. Dedicated to Prof. Gordon Plotkin on the occasion of his sixtieth birthday 1. Introduction The λµ-calculus, introduced by Parigot [26], has been one of the representative term calculi for classical natural deduction, and widely studied from various aspects. Although it still is an active research subject, it can be said that we have some reasonable un- derstanding of the first-order propositional λµ-calculus: we have good reduction theories, well-established CPS semantics and the corresponding operational semantics, and also some canonical equational theories enjoying semantic completeness [16, 24, 25, 36, 39]. The last point cannot be overlooked, as such complete axiomatizations provide deep understand- ing of equivalences between proofs and also of the semantic structure behind the syntactic presentation.
    [Show full text]
  • Frege and the Logic of Sense and Reference
    FREGE AND THE LOGIC OF SENSE AND REFERENCE Kevin C. Klement Routledge New York & London Published in 2002 by Routledge 29 West 35th Street New York, NY 10001 Published in Great Britain by Routledge 11 New Fetter Lane London EC4P 4EE Routledge is an imprint of the Taylor & Francis Group Printed in the United States of America on acid-free paper. Copyright © 2002 by Kevin C. Klement All rights reserved. No part of this book may be reprinted or reproduced or utilized in any form or by any electronic, mechanical or other means, now known or hereafter invented, including photocopying and recording, or in any infomration storage or retrieval system, without permission in writing from the publisher. 10 9 8 7 6 5 4 3 2 1 Library of Congress Cataloging-in-Publication Data Klement, Kevin C., 1974– Frege and the logic of sense and reference / by Kevin Klement. p. cm — (Studies in philosophy) Includes bibliographical references and index ISBN 0-415-93790-6 1. Frege, Gottlob, 1848–1925. 2. Sense (Philosophy) 3. Reference (Philosophy) I. Title II. Studies in philosophy (New York, N. Y.) B3245.F24 K54 2001 12'.68'092—dc21 2001048169 Contents Page Preface ix Abbreviations xiii 1. The Need for a Logical Calculus for the Theory of Sinn and Bedeutung 3 Introduction 3 Frege’s Project: Logicism and the Notion of Begriffsschrift 4 The Theory of Sinn and Bedeutung 8 The Limitations of the Begriffsschrift 14 Filling the Gap 21 2. The Logic of the Grundgesetze 25 Logical Language and the Content of Logic 25 Functionality and Predication 28 Quantifiers and Gothic Letters 32 Roman Letters: An Alternative Notation for Generality 38 Value-Ranges and Extensions of Concepts 42 The Syntactic Rules of the Begriffsschrift 44 The Axiomatization of Frege’s System 49 Responses to the Paradox 56 v vi Contents 3.
    [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]
  • Truth and the Ambiguity of Negation
    10 Teresa Marques Truth and the Ambiguity of Negation 1 Introduction The concept of negation is intertwined with the most fundamental principles that appear to govern the notions of truth and falsehood. We need negation to express conditions for falsehood, or at least of untruth; moreover! whether the principle of bivalence holds or has genuine counterexamples depends on what truth and falsity require, and thus also on what negation is. Semantic paradoxes like the liar! but also other cases, from pre- supposition failure to borderline cases of vagueness, seem to offer putative counterexamples to bivalence. &ut how is a putative coun- terexample to be described? Prima facie, a counterexample to biva- lence is an item (of the relevant sort) that is neither true nor false. We need negation to express that something is a counterexample to the principle as much as we need negation to explain when some- thing is not true, or when something is false. +owever! as a simple argument purports to show , we will refer to it as ‘the Incompatibility Argument’ ,! the assumption that the very same principles for truth and falsehood are correct taken together with the assumption that there are counterexamples to bivalence leads to a contradiction. /// Teresa Marques Many believe that the principles for truth and falsehood are essen% tial for what truth is. The idea that the schemas are essentially correct can be understood in different ways. Each of these ways requires different commitments to the role the schemas are to play. One may just hold (i) that the truth-schemas are extensionally correct, and that all their instances must be true,1 or (ii) one can add that the schemas are not only extensionally correct, but also that they display something essential about truth, for instance that the meaning of ‘true’ is conveyed in instances of the schemas, or that grasping the concept of truth requires assenting to all their instances.
    [Show full text]
  • Proofs and Mathematical Reasoning
    Proofs and Mathematical Reasoning University of Birmingham Author: Supervisors: Agata Stefanowicz Joe Kyle Michael Grove September 2014 c University of Birmingham 2014 Contents 1 Introduction 6 2 Mathematical language and symbols 6 2.1 Mathematics is a language . .6 2.2 Greek alphabet . .6 2.3 Symbols . .6 2.4 Words in mathematics . .7 3 What is a proof? 9 3.1 Writer versus reader . .9 3.2 Methods of proofs . .9 3.3 Implications and if and only if statements . 10 4 Direct proof 11 4.1 Description of method . 11 4.2 Hard parts? . 11 4.3 Examples . 11 4.4 Fallacious \proofs" . 15 4.5 Counterexamples . 16 5 Proof by cases 17 5.1 Method . 17 5.2 Hard parts? . 17 5.3 Examples of proof by cases . 17 6 Mathematical Induction 19 6.1 Method . 19 6.2 Versions of induction. 19 6.3 Hard parts? . 20 6.4 Examples of mathematical induction . 20 7 Contradiction 26 7.1 Method . 26 7.2 Hard parts? . 26 7.3 Examples of proof by contradiction . 26 8 Contrapositive 29 8.1 Method . 29 8.2 Hard parts? . 29 8.3 Examples . 29 9 Tips 31 9.1 What common mistakes do students make when trying to present the proofs? . 31 9.2 What are the reasons for mistakes? . 32 9.3 Advice to students for writing good proofs . 32 9.4 Friendly reminder . 32 c University of Birmingham 2014 10 Sets 34 10.1 Basics . 34 10.2 Subsets and power sets . 34 10.3 Cardinality and equality .
    [Show full text]