Some Writing Examples

Similar documents
Introduction to Logic and Axiomatic Set Theory

Introducing Proof 1. hsn.uk.net. Contents

8. Reductio ad absurdum

Direct Proof and Counterexample I:Introduction

An analogy from Calculus: limits

Direct Proof and Counterexample I:Introduction. Copyright Cengage Learning. All rights reserved.

Proof Techniques (Review of Math 271)

Math 10850, fall 2017, University of Notre Dame

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte

Manual of Logical Style

Math 300: Foundations of Higher Mathematics Northwestern University, Lecture Notes

Study skills for mathematicians

Notes on induction proofs and recursive definitions

Chapter 1 Review of Equations and Inequalities

35 Chapter CHAPTER 4: Mathematical Proof

Connectedness. Proposition 2.2. The following are equivalent for a topological space (X, T ).

3 The language of proof

3 Finite continued fractions

THE LOGIC OF COMPOUND STATEMENTS

Appendix A. Jargon. A.1 Strange technical terms

One-to-one functions and onto functions

CHAPTER 0: BACKGROUND (SPRING 2009 DRAFT)

THE SIMPLE PROOF OF GOLDBACH'S CONJECTURE. by Miles Mathis

FACTORIZATION AND THE PRIMES

8. Reductio ad absurdum

Section 1.1: Logical Form and Logical Equivalence

Lecture 13: Soundness, Completeness and Compactness

Mathematical Foundations of Programming. Nicolai Kraus. Draft of February 15, 2018

CS 173: Induction. Madhusudan Parthasarathy University of Illinois at Urbana-Champaign. February 7, 2016

Algebra Exam. Solutions and Grading Guide

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques

Mathematical induction

Section 3.1: Direct Proof and Counterexample 1

Math 414, Fall 2016, Test I

Cambridge University Press How to Prove it: A Structured Approach: Second edition Daniel J. Velleman Excerpt More information

Mathematical Writing and Methods of Proof

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

1 More finite deterministic automata

HOW TO CREATE A PROOF. Writing proofs is typically not a straightforward, algorithmic process such as calculating

Writing proofs. Tim Hsu, San José State University. May 31, Definitions and theorems 3. 2 What is a proof? 3. 3 A word about definitions 4

What is proof? Lesson 1

Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Russell s logicism. Jeff Speaks. September 26, 2007

In this initial chapter, you will be introduced to, or more than likely be reminded of, a

A Brief Introduction to Proofs

CS280, Spring 2004: Final

DR.RUPNATHJI( DR.RUPAK NATH )

TURING MAHINES

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

Chapter One. The Real Number System

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

4 Derivations in the Propositional Calculus

Math 144 Summer 2012 (UCR) Pro-Notes June 24, / 15

Turing Machines, diagonalization, the halting problem, reducibility

CSE 331 Winter 2018 Reasoning About Code I

Intermediate Logic. Natural Deduction for TFL

CSE 20 DISCRETE MATH. Winter

MA103 STATEMENTS, PROOF, LOGIC

At the start of the term, we saw the following formula for computing the sum of the first n integers:

LIMITS AND DERIVATIVES

FOUNDATIONS & PROOF LECTURE NOTES by Dr Lynne Walling

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Introduction to Basic Proof Techniques Mathew A. Johnson

The paradox of knowability, the knower, and the believer

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction to Linear Algebra the EECS Way

Mathematical notation and writing

Solutions to Problem Set 1

And, even if it is square, we may not be able to use EROs to get to the identity matrix. Consider

Limits and Continuity

PHIL12A Section answers, 28 Feb 2011

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations

CS 124 Math Review Section January 29, 2018

Isomorphisms and Well-definedness

Introduction to Algebra: The First Week

Cartesian Products and Relations

3 The Semantics of the Propositional Calculus

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Introduction to Logic

Manual of Logical Style (fresh version 2018)

Truth-Functional Logic

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16

Boolean circuits. Lecture Definitions

Knots, Coloring and Applications

Writing Mathematics. 1 LaTeX. 2 The Problem

0. Introduction 1 0. INTRODUCTION

Logic. Quantifiers. (real numbers understood). x [x is rotten in Denmark]. x<x+x 2 +1

Reading and Writing. Mathematical Proofs. Slides by Arthur van Goetham

Euclidean Geometry. The Elements of Mathematics

5. And. 5.1 The conjunction

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

Lecture 27: Theory of Computation. Marvin Zhang 08/08/2016

LECTURE 1. Logic and Proofs

Discrete Mathematics for CS Fall 2003 Wagner Lecture 3. Strong induction

Section 1.3: Valid and Invalid Arguments

One sided tests. An example of a two sided alternative is what we ve been using for our two sample tests:

Superposition - World of Color and Hardness

Workshop 1- Building on the Axioms. The First Proofs

Some Basic Logic. Henry Liu, 25 October 2010

Transcription:

Some Writing Examples Assume that A : ( A = n = x, y A : f(x) = f(y)). Let B = n + 1, x, y B, x y, C := B \ {y}, D := B \ {x}. C = n, D = n, x C, y D. Let u B, u x, u y. u C, f(x) = f(u), u D, f(y) = f(u), f(x) = f(y). x, y B : f(x) = f(y). B : ( B = n + 1 = x, y B : f(x) = f(y)). B : ( B = 1 = x, y B : f(x) = f(y)). f B x, y B : f(x) = f(y). Do you see what the author is trying to say here? After some backand-forth reading one may recognize that this is supposed to be an inductive proof of sone set-theoretic assertion. Translated into more natural languange, this assertion says that for every function and in every finite set, all values of this function are equal. Of course, this assertion is absurd. Hence there must be a mistake in the alleged proof. But do you see where the mistake is hidden? Had the author connected these formulas by explaining text, and described the intentions in every step, then the author would have (probably) recognized the gap in this reasoning already in the process of writing. Actually this example is based on a classical fallacy showing a wrong use of induction. On top of being wrong it is also poorly written, which makes it harder to spot the error. The following is a short write-up of Euclid s famous proof of the infinitude of prime numbers (a fact that is also relevant in Computer Science, e.g., for some cryptographic protocols and hashing schemes): The proof builds the product of all primes and argues that p + 1 contains a disjoint prime. Already this very short piece of text comprises a whole number of cardinal sins in mathematical writing: Inserting an unnecessary meta-level: Instead of simply being the proof, the sentence is talking about the proof, which does not add information. Strange or inappropriate expressions: Can one say that a proof builds anything? A single number cannot be disjoint (from what?), but two sets can be disjoint. 1

Undefined notation: This p that suddenly pops up seems to be the mentioned product, but this is not said. Unspecific description of relationships: In which sense is a prime contained in p + 1? There are many possible ways of containment of objects. Apparently a prime factor is meant here. (Another candidate for unspecific wording in mathematical texts is combined - combined by which operation?) Unclear structure: It is not announceed that this is a proof by contradiction, and what the contradiction is. The word does not even appear. As a result of all this, a reader is forced to infer things that could have easily been said explicitly. Here is another write-up of Euclid s proof, which is still short (remarkably it uses less than 140 characters) but does not suffer from these problems: Let L be the finite set of all primes. Let p be their product. The prime factors of p + 1 are not in L, a contradiction. One can argue that this minimalistic version may still assume too much from the reader, in particular, abilities to follow steps with multiple thoughts and to fill in the details. We present some versions with increasing length and level of detail. There is a trade-off between length and expectations from the readers. It will depend on the audience which version is preferable. One cannot claim that one size fits all. of all primes in L. The prime factors of p + 1 are not in L, a contradiction. of all primes in L. Integers p and p + 1 do not share any prime factors. Hence the prime factors of p + 1 are not in L, a contradiction. of all primes in L. Integers p and p+1 do not share any prime factors. Hence the prime factors of p + 1 are not in L. This contradicts the assumption that L is the set of all primes. 2

Let L be the set of all primes. Assume for contradiction that L is finite. Then we can form the product p of all primes in L. Any two integers q and q + 1 do not share any prime factors. Hence, in particular, the prime factors of p + 1 are not in L. This contradicts the assumption that L is the set of all primes.... and so on. The following text describes Erathostenes sieve method to find all primes. Starting with n = 1, repeat the following steps forever: Set n := n + 1. If there is no pebble on n, then create a pebble with label n. Take each pebble P found on n and move it to n + l(p ), where l(p ) denotes the label of P. Of coruse, this passage needs some context explaining that we work with labeled pebbles that are moved on an infinite tape with fields for all positive integers n, and that the generated labels are exactly all primes (a claim that should also be proved). Apart from that: As opposed to usual pseudocode descriptions of algorithms, this text uses a metaphor that one hopefully keeps in mind. Moreover, this may be more fun to read than a dry description using variables, functions, and their values. Nevertheless it does not lack clarity. Now look at a proof that the sum of even numbers is always even: Let x and y be even. We have x = 2z for some integer z. Similarly we have y = 2z for some integer z. Thus x + y = 2z + 2z = 2(2z) showing that x + y is even. Here the mistake is rather obvious: variable mismatch! The second sentence is true in isolation, and so is the third one. But the same symbol z is used for different objects. The conjunction is built in the wrong way. The example may appear stupid, but variable mismatch does happen very often. In the best case it only causes moments of confusion, in the worst case it leads to real mistakes, such as invalid calculations and logical mistakes as above, especially when the false re-uses of a symbol are far away from each other in the text. Similarly, two contradictory statements may be hard to notice if there is a lot of other text in between. This is also an example of a howler proof that uses invalid arguments but incidentally (or innocently ) yields a correct conclusion. Another case: 3

All gemstones are minerals. Some minerals are opaque. Hence some gemstones are opaque. This is eesy to believe if one hears this reasoning in passing, or if one reads it superficially. The conclusion is also true. But a moment of thinking reveals that it does NOT follow from the first two statements. One can easily accept a reasoning uncritically if the conclusion is expected, plausible, not surprising. This also holds for own solutions or research results: A plausible result does not automatically mean that the method was valid. Easy to forget! Further typical cases of mismatch and ambiguities: One can often read statements like n i=1 k = O(k 2 ) rather than the correct O(n 2 ). Here the summation index is confused with the upper limit, which is a real mistake, not only a formality. If ALG denotes a recursive algorithm with one input parameter, what does run ALG(i) for any i mean? Run it for all i, or run it for some (arbitrarily chosen) i? The use of any is delicate. Some authors even recommend to avoid any in mathematical texts altogether. Perhaps one does not have to be that strict. But check in every case whether any gives rise to misunderstandings. The following phrase, dealing with graphs, contains yet another ambiguity: any two nodes are connected - connected by a path or by an edge? In the latter case one should prefer the established term adjacent. The combinations allow three different interpretations of the graph class described here: non-empty graphs (having at least one edge), connected graphs, complete graphs (cliques). Our Euclidean example also has an ambiguity: The prime factors of p + 1 are not in L. What is the? Neither of them is in L, or only some of them are not in L? But in this case it doesn t matter: Both interpretations work as correct arguments. Depending on the context, in the phrase a simple graph it may be unclear whether simple is meant in the usual sense of not complicated, or the technical term is used: A simple graph is a graph without loops or multiple edges. This usage of simple graph is very common. Talking about definitions: A simple graph is when it has no loops or multiple edges is bad style. 4

A more subtle issue is shown here: Every multiple of 4 is also an even number. If x = 4z then x = 2(2z).... Is the second sentence meant to be the explanation of the first one? Or should one understand the first statement immediately (easy enough in this case), and the next sentence is the beginning of a new thought (introducing notations that may be used afterwards for something else)? One stumbles upon such questions. Ideally, always tell the reader what you will do next, and how things are connected. Instead of specific recommendations for further reading: A web search with keywords mathematical and writing (or similar) returns several useful writing guides with similar examples. 5