Methods

Proofs

Reading preferences

Optional display controls need JavaScript. All reading content and navigation work without it.

Source file content/methods/proofs/proofs.tex

Source file content/methods/proofs/introduction.tex

Introduction

Based on your experiences in introductory logic, you might be comfortable with a derivation system---probably a natural deduction or Fitch style derivation system, or perhaps a proof-tree system. You probably remember doing proofs in these systems, either proving a formula or show that a given argument is valid. In order to do this, you applied the rules of the system until you got the desired end result. In reasoning about logic, we also prove things, but in most cases we are not using a derivation system. In fact, most of the proofs we consider are done in English (perhaps, with some symbolic language thrown in) rather than entirely in the language of first-order logic. When constructing such proofs, you might at first be at a loss---how do I prove something without a derivation system? How do I start? How do I know if my proof is correct?

Before attempting a proof, it's important to know what a proof is and how to construct one. As implied by the name, a proof is meant to show that something is true. You might think of this in terms of a dialogue---someone asks you if something is true, say, if every prime other than two is an odd number. To answer “yes” is not enough; they might want to know why. In this case, you'd give them a proof.

In everyday discourse, it might be enough to gesture at an answer, or give an incomplete answer. In logic and mathematics, however, we want rigorous proof---we want to show that something is true beyond any doubt. This means that every step in our proof must be justified, and the justification must be cogent (i.e., the assumption you're using is actually assumed in the statement of the theorem you're proving, the definitions you apply must be correctly applied, the justifications appealed to must be correct inferences, etc.).

Usually, we're proving some statement. We call the statements we're proving by various names: propositions, theorems, lemmas, or corollaries. A proposition is a basic proof-worthy statement: important enough to record, but perhaps not particularly deep nor applied often. A theorem is a significant, important proposition. Its proof often is broken into several steps, and sometimes it is named after the person who first proved it (e.g., Cantor's Theorem, the Löwenheim--Skolem theorem) or after the fact it concerns (e.g., the completeness theorem). A lemma is a proposition or theorem that is used in the proof of a more important result. Confusingly, sometimes lemmas are important results in themselves, and also named after the person who introduced them (e.g., Zorn's Lemma). A corollary is a result that easily follows from another one.

A statement to be proved often contains assumptions that clarify which kinds of things we're proving something about. It might begin with “Let A!Asource be a formula of the form BC!B \lif !Csource” or “Suppose ΓA\Gamma \Proves !Asource” or something of the sort. These are hypotheses of the proposition, theorem, or lemma, and you may assume these to be true in your proof. They restrict what we're proving, and also introduce some names for the objects we're talking about. For instance, if your proposition begins with “Let A!Asource be a formula of the form BC!B \lif !Csource,” you're proving something about all formulas of a certain sort only (namely, conditionals), and it's understood that BC!B \lif !Csource is an arbitrary conditional that your proof will talk about.

Source file content/methods/proofs/starting-proofs.tex

Starting a Proof

But where do you even start?

You've been given something to prove, so this should be the last thing that is mentioned in the proof (you can, obviously, announce that you're going to prove it at the beginning, but you don't want to use it as an assumption). Write what you are trying to prove at the bottom of a fresh sheet of paper---this way you don't lose sight of your goal.

Next, you may have some assumptions that you are able to use (this will be made clearer when we talk about the type of proof you are doing in the next section). Write these at the top of the page and make sure to flag that they are assumptions (i.e., if you are assuming ppsource, write “assume that ppsource,” or “suppose that ppsource”). Finally, there might be some definitions in the question that you need to know. You might be told to use a specific definition, or there might be various definitions in the assumptions or conclusion that you are working towards. Write these down and ensure that you understand what they mean.

How you set up your proof will also be dependent upon the form of the question. The next section provides details on how to set up your proof based on the type of sentence.

Source file content/methods/proofs/using-definitions.tex

Using Definitions

We mentioned that you must be familiar with all definitions that may be used in the proof, and that you can properly apply them. This is a really important point, and it is worth looking at in a bit more detail. Definitions are used to abbreviate properties and relations so we can talk about them more succinctly. The introduced abbreviation is called the definiendum, and what it abbreviates is the definiens. In proofs, we often have to go back to how the definiendum was introduced, because we have to exploit the logical structure of the definiens (the long version of which the defined term is the abbreviation) to get through our proof. By unpacking definitions, you're ensuring that you're getting to the heart of where the logical action is.

We'll start with an example. Suppose you want to prove the following:

Commutativity of set union

For any sets AAsource and BBsource, AB=BAA \cup B = B \cup Asource.

In order to even start the proof, we need to know what it means for two sets to be identical; i.e., we need to know what the “==source” in that equation means for sets. Sets are defined to be identical whenever they have the same elements. So the definition we have to unpack is:

Definition of identical sets

Sets AAsource and BBsource are identical, A=BA = Bsource, iff every element of AAsource is an element of BBsource, and vice versa.

This definition uses AAsource and BBsource as placeholders for arbitrary sets. What it defines---the definiendum---is the expression “A=BA = Bsource” by giving the condition under which A=BA = Bsource is true. This condition---“every element of AAsource is an element of BBsource, and vice versa”---is the definiens.Footnote: In this particular case---and very confusingly!---when A=BA = Bsource, the sets AAsource and BBsource are just one and the same set, even though we use different letters for it on the left and the right side. But the ways in which that set is picked out may be different, and that makes the definition non-trivial. The definition specifies that A=BA = Bsource is true if, and only if (we abbreviate this to “iff”) the condition holds.

When you apply the definition, you have to match the AAsource and BBsource in the definition to the case you're dealing with. In our case, it means that in order for AB=BAA \cup B = B \cup Asource to be true, each zABz \in A \cup Bsource must also be in BAB \cup Asource, and vice versa. The expression ABA \cup Bsource in the proposition plays the role of AAsource in the definition, and BAB \cup Asource that of BBsource. Since AAsource and BBsource are used both in the definition and in the statement of the proposition we're proving, but in different uses, you have to be careful to make sure you don't mix up the two. For instance, it would be a mistake to think that you could prove the proposition by showing that every element of AAsource is an element of BBsource, and vice versa---that would show that A=BA = Bsource, not that AB=BAA \cup B = B \cup Asource. (Also, since AAsource and BBsource may be any two sets, you won't get very far, because if nothing is assumed about AAsource and BBsource they may well be different sets.)

Within the proof we are dealing with set-theoretic notions such as union, and so we must also know the meanings of the symbol \cupsource in order to understand how the proof should proceed. And sometimes, unpacking the definition gives rise to further definitions to unpack. For instance, ABA \cup Bsource is defined as {z:zA or zB}\Setabs{z}{z \in A \text{ or } z \in B}source. So if you want to prove that xABx \in A \cup Bsource, unpacking the definition of \cupsource tells you that you have to prove x{z:zA or zB}x \in \Setabs{z}{z \in A \text{ or } z \in B}source. Now you also have to remember that x{z:z}x \in \Setabs{z}{\dots z\dots}source iff x\dots x\dotssource. So, further unpacking the definition of the {z:z}\Setabs{z}{\dots z \dots}source notation, what you have to show is: xAx \in Asource or xBx \in Bsource. So, “every element of ABA \cup Bsource is also an element of BAB \cup Asource” really means: “for every xxsource, if xAx \in Asource or xBx \in Bsource, then xBx \in Bsource or xAx \in Asource.” If we fully unpack the definitions in the proposition, we see that what we have to show is this:

Set-union commutativity with equality unpacked

For any sets AAsource and BBsource: (a) for every xxsource, if xAx \in Asource or xBx \in Bsource, then xBx \in Bsource or xAx \in Asource, and (b) for every xxsource, if xBx \in Bsource or xAx \in Asource, then xAx \in Asource or xBx \in Bsource.

What's important is that unpacking definitions is a necessary part of constructing a proof. Properly doing it is sometimes difficult: you must be careful to distinguish and match the variables in the definition and the terms in the claim you're proving. In order to be successful, you must know what the question is asking and what all the terms used in the question mean---you will often need to unpack more than one definition. In simple proofs such as the ones below, the solution follows almost immediately from the definitions themselves. Of course, it won't always be this simple.

Exercise unpacking a nonempty intersection

Suppose you are asked to prove that ABA \cap B \neq \emptysetsource. Unpack all the definitions occurring here, i.e., restate this in a way that does not mention “\capsource”, “==source”, or “\emptysetsource”.

Source file content/methods/proofs/inference-patterns.tex

Inference Patterns

Proofs are composed of individual inferences. When we make an inference, we typically indicate that by using a word like “so,” “thus,” or “therefore.” The inference often relies on one or two facts we already have available in our proof---it may be something we have assumed, or something that we've concluded by an inference already. To be clear, we may label these things, and in the inference we indicate what other statements we're using in the inference. An inference will often also contain an explanation of why our new conclusion follows from the things that come before it. There are some common patterns of inference that are used very often in proofs; we'll go through some below. Some patterns of inference, like proofs by induction, are more involved (and will be discussed later).

We've already discussed one pattern of inference: unpacking, or applying, a definition. When we unpack a definition, we just restate something that involves the definiendum by using the definiens. For instance, suppose that we have already established in the course of a proof that D=ED = Esource (a). Then we may apply the definition of ==source for sets and infer: “Thus, by definition from (a), every element of DDsource is an element of EEsource and vice versa.”

Somewhat confusingly, we often do not write the justification of an inference when we actually make it, but before. Suppose we haven't already proved that D=ED = Esource, but we want to. If D=ED = Esource is the conclusion we aim for, then we can restate this aim also by applying the definition: to prove D=ED = Esource we have to prove that every element of DDsource is an element of EEsource and vice versa. So our proof will have the form: (a) prove that every element of DDsource is an element of EEsource; (b) every element of EEsource is an element of DDsource; (c) therefore, from (a) and (b) by definition of ==source, D=ED = Esource. But we would usually not write it this way. Instead we might write something like,

We want to show D=ED = Esource. By definition of ==source, this amounts to showing that every element of DDsource is an element of EEsource and vice versa.

(a) dots (a proof that every element of DDsource is an element of EEsource) dots

(b) dots (a proof that every element of EEsource is an element of DDsource) dots

subsectionUsing a Conjunction

Perhaps the simplest inference pattern is that of drawing as conclusion one of the conjuncts of a conjunction. In other words: if we have assumed or already proved that ppsource and qqsource, then we're entitled to infer that ppsource (and also that qqsource). This is such a basic inference that it is often not mentioned. For instance, once we've unpacked the definition of D=ED = Esource we've established that every element of DDsource is an element of EEsource and vice versa. From this we can conclude that every element of EEsource is an element of DDsource (that's the “vice versa” part).

subsectionProving a Conjunction

Sometimes what you'll be asked to prove will have the form of a conjunction; you will be asked to “prove ppsource and qqsource.” In this case, you simply have to do two things: prove ppsource, and then prove qqsource. You could divide your proof into two sections, and for clarity, label them. When you're making your first notes, you might write “(1) Prove ppsource” at the top of the page, and “(2) Prove qqsource” in the middle of the page. (Of course, you might not be explicitly asked to prove a conjunction but find that your proof requires that you prove a conjunction. For instance, if you're asked to prove that D=ED = Esource you will find that, after unpacking the definition of ==source, you have to prove: every element of DDsource is an element of EEsource and every element of EEsource is an element of DDsource).

subsectionProving a Disjunction

When what you are proving takes the form of a disjunction (i.e., it is an statement of the form “ppsource or qqsource”), it is enough to show that one of the disjuncts is true. However, it basically never happens that either disjunct just follows from the assumptions of your theorem. More often, the assumptions of your theorem are themselves disjunctive, or you're showing that all things of a certain kind have one of two properties, but some of the things have the one and others have the other property. This is where proof by cases is useful (see below).

subsectionConditional Proof

Many theorems you will encounter are in conditional form (i.e., show that if ppsource holds, then qqsource is also true). These cases are nice and easy to set up---simply assume the antecedent of the conditional (in this case, ppsource) and prove the conclusion qqsource from it. So if your theorem reads, “If ppsource then qqsource,” you start your proof with “assume ppsource” and at the end you should have proved qqsource.

Conditionals may be stated in different ways. So instead of “If ppsource then qqsource,” a theorem may state that “ppsource only if qqsource,” “qqsource if ppsource,” or “qqsource, provided ppsource.” These all mean the same and require assuming ppsource and proving qqsource from that assumption. Recall that a biconditional (“ppsource if and only if (iff) qqsource”) is really two conditionals put together: if ppsource then qqsource, and if qqsource then ppsource. All you have to do, then, is two instances of conditional proof: one for the first conditional and another one for the second. Sometimes, however, it is possible to prove an “iff” statement by chaining together a bunch of other “iff” statements so that you start with “ppsource” an end with “qqsource”---but in that case you have to make sure that each step really is an “iff.”

subsectionUniversal Claims

Using a universal claim is simple: if something is true for anything, it's true for each particular thing. So if, say, the hypothesis of your proof is ABA \subseteq Bsource, that means (unpacking the definition of \subseteqsource), that, for every xAx \in Asource, xBx \in Bsource. Thus, if you already know that zAz \in Asource, you can conclude zBz \in Bsource.

Proving a universal claim may seem a little bit tricky. Usually these statements take the following form: “If xxsource has PPsource, then it has QQsource” or “All PPsources are QQsources.” Of course, it might not fit this form perfectly, and it takes a bit of practice to figure out what you're asked to prove exactly. But: we often have to prove that all objects with some property have a certain other property.

The way to prove a universal claim is to introduce names or variables, for the things that have the one property and then show that they also have the other property. We might put this by saying that to prove something for all PPsources you have to prove it for an arbitrary PPsource. And the name introduced is a name for an arbitrary PPsource. We typically use single letters as these names for arbitrary things, and the letters usually follow conventions: e.g., we use nnsource for natural numbers, A!Asource for formulas, AAsource for sets, ffsource for functions, etc.

The trick is to maintain generality throughout the proof. You start by assuming that an arbitrary object (“xxsource”) has the property PPsource, and show (based only on definitions or what you are allowed to assume) that xxsource has the property QQsource. Because you have not stipulated what xxsource is specifically, other that it has the property PPsource, then you can assert that everything with PPsource has the property QQsource. In short, xxsource is a stand-in for all things with property PPsource.

Every set is contained in its union with another set

For all sets AAsource and BBsource, AABA \subseteq A \cup Bsource.

Proof

Let AAsource and BBsource be arbitrary sets. We want to show that AABA \subseteq A \cup Bsource. By definition of \subseteqsource, this amounts to: for every xxsource, if xAx \in Asource then xABx \in A \cup Bsource. So let xAx \in Asource be an arbitrary element of AAsource. We have to show that xABx \in A \cup Bsource. Since xAx \in Asource, xAx \in Asource or xBx \in Bsource. Thus, x{x:xAxB}x \in \Setabs{x}{x \in A \lor x \in B}source. But that, by definition of \cupsource, means xABx \in A \cup Bsource.

subsectionProof by Cases

Suppose you have a disjunction as an assumption or as an already established conclusion---you have assumed or proved that ppsource or qqsource is true. You want to prove rrsource. You do this in two steps: first you assume that ppsource is true, and prove rrsource, then you assume that qqsource is true and prove rrsource again. This works because we assume or know that one of the two alternatives holds. The two steps establish that either one is sufficient for the truth of rrsource. (If both are true, we have not one but two reasons for why rrsource is true. It is not necessary to separately prove that rrsource is true assuming both ppsource and qqsource.) To indicate what we're doing, we announce that we “distinguish cases.” For instance, suppose we know that xBCx \in B \cup Csource. BCB \cup Csource is defined as {x:xB or xC}\Setabs{x}{x \in B \text{ or } x \in C}source. In other words, by definition, xBx \in Bsource or xCx \in Csource. We would prove that xAx \in Asource from this by first assuming that xBx \in Bsource, and proving xAx \in Asource from this assumption, and then assume xCx \in Csource, and again prove xAx \in Asource from this. You would write “We distinguish cases” under the assumption, then “Case (1): xBx \in Bsource” underneath, and “Case (2): xCx \in Csource halfway down the page. Then you'd proceed to fill in the top half and the bottom half of the page.

Proof by cases is especially useful if what you're proving is itself disjunctive. Here's a simple example:

Union preserves two subset assumptions

Suppose BDB \subseteq Dsource and CEC \subseteq Esource. Then BCDEB \cup C \subseteq D \cup Esource.

Proof

Assume (a) that BDB \subseteq Dsource and (b) CEC \subseteq Esource. By definition, any xBx \in Bsource is also D\in Dsource (c) and any xCx \in Csource is also E\in Esource (d). To show that BCDEB \cup C \subseteq D \cup Esource, we have to show that if xBCx \in B \cup Csource then xDEx \in D \cup Esource (by definition of \subseteqsource). xBCx \in B \cup Csource iff xBx \in Bsource or xCx \in Csource (by definition of \cupsource). Similarly, xDEx \in D \cup Esource iff xDx \in Dsource or xEx \in Esource. So, we have to show: for any xxsource, if xBx \in Bsource or xCx \in Csource, then xDx \in Dsource or xEx \in Esource.

So far we've only unpacked definitions! We've reformulated our proposition without \subseteqsource and \cupsource and are left with trying to prove a universal conditional claim. By what we've discussed above, this is done by assuming that xxsource is something about which we assume the “if” part is true, and we'll go on to show that the “then” part is true as well. In other words, we'll assume that xBx \in Bsource or xCx \in Csource and show that xDx \in Dsource or xEx \in Esource.Footnote: This paragraph just explains what we're doing---it's not part of the proof, and you don't have to go into all this detail when you write down your own proofs.

Suppose that xBx \in Bsource or xCx \in Csource. We have to show that xDx \in Dsource or xEx \in Esource. We distinguish cases.

Case 1: xBx \in Bsource. By (c), xDx \in Dsource. Thus, xDx \in Dsource or xEx \in Esource. (Here we've made the inference discussed in the preceding subsection!)

Case 2: xCx \in Csource. By (d), xEx \in Esource. Thus, xDx \in Dsource or xEx \in Esource.

subsectionProving an Existence Claim

When asked to prove an existence claim, the question will usually be of the form “prove that there is an xxsource such that x\dots x \dotssource”, i.e., that some object that has the property described by “x\dots x \dotssource”. In this case you'll have to identify a suitable object and show that it has the required property. This sounds straightforward, but a proof of this kind can be tricky. Typically it involves constructing or defining an object and proving that the object so defined has the required property. Finding the right object may be hard, proving that it has the required property may be hard, and sometimes it's even tricky to show that you've succeeded in defining an object at all!

Generally, you'd write this out by specifying the object, e.g., “let xxsource be dots” (where dots specifies which object you have in mind), possibly proving that \dotssource in fact describes an object that exists, and then go on to show that xxsource has the property QQsource. Here's a simple example.

A nonempty subset containing a given element

Suppose that xBx \in Bsource. Then there is an AAsource such that ABA \subseteq Bsource and AA \neq \emptysetsource.

Proof

Assume xBx \in Bsource. Let A={x}A = \{x\}source.

Here we've defined the set AAsource by enumerating its elements. Since we assume that xxsource is an object, and we can always form a set by enumerating its elements, we don't have to show that we've succeeded in defining a set AAsource here. However, we still have to show that AAsource has the properties required by the proposition. The proof isn't complete without that!

Since xAx \in Asource, AA \neq \emptysetsource.

This relies on the definition of AAsource as {x}\{x\}source and the obvious facts that x{x}x \in \{x\}source and xx \notin \emptysetsource.

Since xxsource is the only element of {x}\{x\}source, and xBx \in Bsource, every element of AAsource is also an element of BBsource. By definition of \subseteqsource, ABA \subseteq Bsource.

subsectionUsing Existence Claims

Suppose you know that some existence claim is true (you've proved it, or it's a hypothesis you can use), say, “for some xxsource, xAx \in Asource” or “there is an xAx \in Asource.” If you want to use it in your proof, you can just pretend that you have a name for one of the things which your hypothesis says exist. Since AAsource contains at least one thing, there are things to which that name might refer. You might of course not be able to pick one out or describe it further (other than that it is A\in Asource). But for the purpose of the proof, you can pretend that you have picked it out and give a name to it. It's important to pick a name that you haven't already used (or that appears in your hypotheses), otherwise things can go wrong. In your proof, you indicate this by going from “for some xxsource, xAx \in Asource” to “Let aAa \in Asource.” Now you can reason about aasource, use some other hypotheses, etc., until you come to a conclusion, ppsource. If ppsource no longer mentions aasource, ppsource is independent of the asusmption that aAa \in Asource, and you've shown that it follows just from the assumption “for some xxsource, xAx \in Asource.”

A union with a nonempty set is nonempty

If AA \neq \emptysetsource, then ABA \cup B \neq \emptysetsource.

Proof

Suppose AA \neq \emptysetsource. So for some xxsource, xAx \in Asource.

Here we first just restated the hypothesis of the proposition. This hypothesis, i.e., AA \neq \emptysetsource, hides an existential claim, which you get to only by unpacking a few definitions. The definition of ==source tells us that A=A = \emptysetsource iff every xAx \in Asource is also \in \emptysetsource and every xx \in \emptysetsource is also A\in Asource. Negating both sides, we get: AA \neq \emptysetsource iff either some xAx \in Asource is \notin \emptysetsource or some xx \in \emptysetsource is A\notin Asource. Since nothing is \in \emptysetsource, the second disjunct can never be true, and “xAx \in Asource and xx \notin \emptysetsource” reduces to just xAx \in Asource. So xx \neq \emptysetsource iff for some xxsource, xAx \in Asource. That's an existence claim. Now we use that existence claim by introducing a name for one of the elements of AAsource:

Let aAa \in Asource.

Now we've introduced a name for one of the things A\in Asource. We'll continue to argue about aasource, but we'll be careful to only assume that aAa \in Asource and nothing else:

Since aAa \in Asource, aABa \in A \cup Bsource, by definition of \cupsource. So for some xxsource, xABx \in A \cup Bsource, i.e., ABA \cup B \neq \emptysetsource.

In that last step, we went from “aABa \in A \cup Bsource” to “for some xxsource, xABx \in A \cup Bsource.” That doesn't mention aasource anymore, so we know that “for some xxsource, xABx \in A \cup Bsource” follows from “for some xxsource, xAx \in Asource alone.” But that means that ABA \cup B \neq \emptysetsource.

It's maybe good practice to keep bound variables like “xxsource” separate from hypothetical names like aasource, like we did. In practice, however, we often don't and just use xxsource, like so:

Suppose AA \neq \emptysetsource, i.e., there is an xAx \in Asource. By definition of \cupsource, xABx \in A \cup Bsource. So ABA \cup B \neq \emptysetsource.

However, when you do this, you have to be extra careful that you use different xxsource's and yysource's for different existential claims. For instance, the following is not a correct proof of “If AA \neq \emptysetsource and BB \neq \emptysetsource then ABA \cap B \neq \emptysetsource” (which is not true).

Suppose AA \neq \emptysetsource and BB \neq \emptysetsource. So for some xxsource, xAx \in Asource and also for some xxsource, xBx \in Bsource. Since xAx \in Asource and xBx \in Bsource, xABx \in A \cap Bsource, by definition of \capsource. So ABA \cap B \neq \emptysetsource.

Can you spot where the incorrect step occurs and explain why the result does not hold?

Source file content/methods/proofs/example-1.tex

An Example

Our first example is the following simple fact about unions and intersections of sets. It will illustrate unpacking definitions, proofs of conjunctions, of universal claims, and proof by cases.

Distributivity of union over intersection

For any sets AAsource, BBsource, and CCsource, A(BC)=(AB)(AC)A \cup (B \cap C) = (A \cup B) \cap (A \cup C)source

Let's prove it!

Proof

We want to show that for any sets AAsource, BBsource, and CCsource, A(BC)=(AB)(AC)A \cup (B \cap C) = (A \cup B) \cap (A \cup C)source

First we unpack the definition of “==source” in the statement of the proposition. Recall that proving sets identical means showing that the sets have the same elements. That is, all elements of A(BC)A \cup (B \cap C)source are also elements of (AB)(AC)(A \cup B) \cap (A \cup C)source, and vice versa. The “vice versa” means that also every element of (AB)(AC)(A \cup B) \cap (A \cup C)source must be an element of A(BC)A \cup (B \cap C)source. So in unpacking the definition, we see that we have to prove a conjunction. Let's record this:

By definition, A(BC)=(AB)(AC)A \cup (B \cap C) = (A \cup B) \cap (A \cup C)source iff every element of A(BC)A \cup (B \cap C)source is also an element of (AB)(AC)(A \cup B) \cap (A \cup C)source, and every element of (AB)(AC)(A \cup B) \cap (A \cup C)source is an element of A(BC)A \cup (B \cap C)source.

Since this is a conjunction, we must prove each conjunct separately. Lets start with the first: let's prove that every element of A(BC)A \cup (B \cap C)source is also an element of (AB)(AC)(A \cup B) \cap (A \cup C)source.

This is a universal claim, and so we consider an arbitrary element of A(BC)A \cup (B \cap C)source and show that it must also be an element of (AB)(AC)(A \cup B) \cap (A \cup C)source. We'll pick a variable to call this arbitrary element by, say, zzsource. Our proof continues:

First, we prove that every element of A(BC)A \cup (B \cap C)source is also an element of (AB)(AC)(A \cup B) \cap (A \cup C)source. Let zA(BC)z \in A \cup (B \cap C)source. We have to show that z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source.

Now it is time to unpack the definition of \cupsource and \capsource. For instance, the definition of \cupsource is: AB={z:zA or zB}A \cup B = \Setabs{z}{z \in A \text{ or } z \in B}source. When we apply the definition to “A(BC)A \cup (B \cap C)source,” the role of the “BBsource” in the definition is now played by “BCB \cap Csource,” so A(BC)={z:zA or zBC}A \cup (B \cap C) = \Setabs{z}{z \in A \text{ or } z \in B \cap C}source. So our assumption that zA(BC)z \in A \cup (B \cap C)source amounts to: z{z:zA or zBC}z \in \Setabs{z}{z \in A \text{ or } z \in B \cap C}source. And z{z:z}z \in \Setabs{z}{\dots z\dots}source iff dots zzsource dots, i.e., in this case, zAz \in Asource or zBCz \in B \cap Csource.

By the definition of \cupsource, either zAz \in Asource or zBCz \in B \cap Csource.

Since this is a disjunction, it will be useful to apply proof by cases. We take the two cases, and show that in each one, the conclusion we're aiming for (namely, “z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source”) obtains.

Case 1: Suppose that zAz \in Asource.

There's not much more to work from based on our assumptions. So let's look at what we have to work with in the conclusion. We want to show that z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source. Based on the definition of \capsource, if we want to show that z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source, we have to show that it's in both (AB)(A \cup B)source and (AC)(A \cup C)source. But zABz \in A \cup Bsource iff zAz \in Asource or zBz \in Bsource, and we already have (as the assumption of case 1) that zAz \in Asource. By the same reasoning---switching CCsource for BBsource---zACz \in A \cup Csource. This argument went in the reverse direction, so let's record our reasoning in the direction needed in our proof.

Since zAz \in Asource, zAz \in Asource or zBz \in Bsource, and hence, by definition of \cupsource, zABz \in A \cup Bsource. Similarly, zACz \in A \cup Csource. But this means that z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source, by definition of \capsource.

This completes the first case of the proof by cases. Now we want to derive the conclusion in the second case, where zBCz \in B \cap Csource.

Case 2: Suppose that zBCz \in B \cap Csource.

Again, we are working with the intersection of two sets. Let's apply the definition of \capsource:

Since zBCz \in B \cap Csource, zzsource must be an element of both BBsource and CCsource, by definition of \capsource.

It's time to look at our conclusion again. We have to show that zzsource is in both (AB)(A \cup B)source and (AC)(A \cup C)source. And again, the solution is immediate.

Since zBz \in Bsource, z(AB)z \in (A \cup B)source. Since zCz \in Csource, also z(AC)z \in (A \cup C)source. So, z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source.

Here we applied the definitions of \cupsource and \capsource again, but since we've already recalled those definitions, and already showed that if zzsource is in one of two sets it is in their union, we don't have to be as explicit in what we've done.

We've completed the second case of the proof by cases, so now we can assert our first conclusion.

So, if zA(BC)z \in A \cup (B \cap C)source then z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source.

Now we just want to show the other direction, that every element of (AB)(AC)(A \cup B) \cap (A \cup C)source is an element of A(BC)A \cup (B \cap C)source. As before, we prove this universal claim by assuming we have an arbitrary element of the first set and show it must be in the second set. Let's state what we're about to do.

Now, assume that z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source. We want to show that zA(BC)z \in A \cup (B \cap C)source.

We are now working from the hypothesis that z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source. It hopefully isn't too confusing that we're using the same zzsource here as in the first part of the proof. When we finished that part, all the assumptions we've made there are no longer in effect, so now we can make new assumptions about what zzsource is. If that is confusing to you, just replace zzsource with a different variable in what follows.

We know that zzsource is in both ABA \cup Bsource and ACA \cup Csource, by definition of \capsource. And by the definition of \cupsource, we can further unpack this to: either zAz \in Asource or zBz \in Bsource, and also either zAz \in Asource or zCz \in Csource. This looks like a proof by cases again---except the “and” makes it confusing. You might think that this amounts to there being three possibilities: zzsource is either in AAsource, BBsource or CCsource. But that would be a mistake. We have to be careful, so let's consider each disjunction in turn.

By definition of \capsource, zABz \in A \cup Bsource and zACz \in A \cup Csource. By definition of \cupsource, zAz \in Asource or zBz \in Bsource. We distinguish cases.

Since we're focusing on the first disjunction, we haven't gotten our second disjunction (from unpacking ACA \cup Csource) yet. In fact, we don't need it yet. The first case is zAz \in Asource, and an element of a set is also an element of the union of that set with any other. So case 1 is easy:

Case 1: Suppose that zAz \in Asource. It follows that zA(BC)z \in A \cup (B \cap C)source.

Now for the second case, zBz \in Bsource. Here we'll unpack the second \cupsource and do another proof-by-cases:

Case 2: Suppose that zBz \in Bsource. Since zACz \in A \cup Csource, either zAz \in Asource or zCz \in Csource. We distinguish cases further:

Case 2a: zAz \in Asource. Then, again, zA(BC)z \in A \cup (B \cap C)source.

Ok, this was a bit weird. We didn't actually need the assumption that zBz \in Bsource for this case, but that's ok.

Case 2b: zCz \in Csource. Then zBz \in Bsource and zCz \in Csource, so zBCz \in B \cap Csource, and consequently, zA(BC)z \in A \cup (B \cap C)source.

This concludes both proofs-by-cases and so we're done with the second half.

So, if z(AB)(AC)z \in (A \cup B) \cap (A \cup C)source then zA(BC)z \in A \cup (B \cap C)source.

Source file content/methods/proofs/example-2.tex

Another Example

A set split into a subset and its relative difference

If ACA \subseteq Csource, then A(CA)=CA \cup (C \setminus A) = Csource.

Proof

Suppose that ACA \subseteq Csource. We want to show that A(CA)=CA \cup (C \setminus A) = Csource.

We begin by observing that this is a conditional statement. It is tacitly universally quantified: the proposition holds for all sets AAsource and CCsource. So AAsource and CCsource are variables for arbitrary sets. To prove such a statement, we assume the antecedent and prove the consequent.

We continue by using the assumption that ACA \subseteq Csource. Let's unpack the definition of \subseteqsource: the assumption means that all elements of AAsource are also elements of CCsource. Let's write this down---it's an important fact that we'll use throughout the proof.

By the definition of \subseteqsource, since ACA \subseteq Csource, for all zzsource, if zAz \in Asource, then zCz \in Csource.

We've unpacked all the definitions that are given to us in the assumption. Now we can move onto the conclusion. We want to show that A(CA)=CA \cup (C \setminus A) = Csource, and so we set up a proof similarly to the last example: we show that every element of A(CA)A \cup (C \setminus A)source is also an element of CCsource and, conversely, every element of CCsource is an element of A(CA)A \cup (C \setminus A)source. We can shorten this to: A(CA)CA \cup (C \setminus A) \subseteq Csource and CA(CA)C \subseteq A \cup (C \setminus A)source. (Here we're doing the opposite of unpacking a definition, but it makes the proof a bit easier to read.) Since this is a conjunction, we have to prove both parts. To show the first part, i.e., that every element of A(CA)A \cup (C \setminus A)source is also an element of CCsource, we assume that zA(CA)z \in A \cup (C \setminus A)source for an arbitrary zzsource and show that zCz \in Csource. By the definition of \cupsource, we can conclude that zAz \in Asource or zCAz \in C \setminus Asource from zA(CA)z \in A \cup (C \setminus A)source. You should now be getting the hang of this.

A(CA)=CA \cup (C \setminus A) = Csource iff A(CA)CA \cup (C \setminus A) \subseteq Csource and C(A(CA))C \subseteq (A \cup (C \setminus A))source. First we prove that A(CA)CA \cup (C \setminus A) \subseteq Csource. Let zA(CA)z \in A \cup (C \setminus A)source. So, either zAz \in Asource or z(CA)z \in (C \setminus A)source.

We've arrived at a disjunction, and from it we want to prove that zCz \in Csource. We do this using proof by cases.

Case 1: zAz \in Asource. Since for all zzsource, if zAz \in Asource, zCz \in Csource, we have that zCz \in Csource.

Here we've used the fact recorded earlier which followed from the hypothesis of the proposition that ACA \subseteq Csource. The first case is complete, and we turn to the second case, z(CA)z \in (C \setminus A)source. Recall that CAC \setminus Asource denotes the difference of the two sets, i.e., the set of all elements of CCsource which are not elements of AAsource. But any element of CCsource not in AAsource is in particular an element of CCsource.

Case 2: z(CA)z \in (C \setminus A)source. This means that zCz \in Csource and zAz \notin Asource. So, in particular, zCz \in Csource.

Great, we've proved the first direction. Now for the second direction. Here we prove that CA(CA)C \subseteq A \cup (C \setminus A)source. So we assume that zCz \in Csource and prove that zA(CA)z \in A \cup (C \setminus A)source.

Now let zCz \in Csource. We want to show that zAz \in Asource or zCAz \in C \setminus Asource.

Since all elements of AAsource are also elements of CCsource, and CAC \setminus Asource is the set of all things that are elements of CCsource but not AAsource, it follows that zzsource is either in AAsource or in CAC \setminus Asource. This may be a bit unclear if you don't already know why the result is true. It would be better to prove it step-by-step. It will help to use a simple fact which we can state without proof: zAz \in Asource or zAz \notin Asource. This is called the “principle of excluded middle:” for any statement ppsource, either ppsource is true or its negation is true. (Here, ppsource is the statement that zAz \in Asource.) Since this is a disjunction, we can again use proof-by-cases.

Either zAz \in Asource or zAz \notin Asource. In the former case, zA(CA)z \in A \cup (C \setminus A)source. In the latter case, zCz \in Csource and zAz \notin Asource, so zCAz \in C \setminus Asource. But then zA(CA)z \in A \cup (C \setminus A)source.

Our proof is complete: we have shown that A(CA)=CA \cup (C \setminus A) = Csource.

Source file content/methods/proofs/proof-by-contradiction.tex

Proof by Contradiction

In the first instance, proof by contradiction is an inference pattern that is used to prove negative claims. Suppose you want to show that some claim ppsource is false, i.e., you want to show ¬p\lnot psource. The most promising strategy is to (a) suppose that ppsource is true, and (b) show that this assumption leads to something you know to be false. “Something known to be false” may be a result that conflicts with---contradicts---ppsource itself, or some other hypothesis of the overall claim you are considering. For instance, a proof of “if qqsource then ¬p\lnot psource” involves assuming that qqsource is true and proving ¬p\lnot psource from it. If you prove ¬p\lnot psource by contradiction, that means assuming ppsource in addition to qqsource. If you can prove ¬q\lnot qsource from ppsource, you have shown that the assumption ppsource leads to something that contradicts your other assumption qqsource, since qqsource and ¬q\lnot qsource cannot both be true. Of course, you have to use other inference patterns in your proof of the contradiction, as well as unpacking definitions. Let's consider an example.

A subset of the empty set has no elements

If ABA \subseteq Bsource and B=B = \emptysetsource, then AAsource has no elements.

Proof

Suppose ABA \subseteq Bsource and B=B = \emptysetsource. We want to show that AAsource has no elements.

Since this is a conditional claim, we assume the antecedent and want to prove the consequent. The consequent is: AAsource has no elements. We can make that a bit more explicit: it's not the case that there is an xAx \in Asource.

AAsource has no elements iff it's not the case that there is an xxsource such that xAx \in Asource.

So we've determined that what we want to prove is really a negative claim ¬p\lnot psource, namely: it's not the case that there is an xAx \in Asource. To use proof by contradiction, we have to assume the corresponding positive claim ppsource, i.e., there is an xAx \in Asource, and prove a contradiction from it. We indicate that we're doing a proof by contradiction by writing “by way of contradiction, assume” or even just “suppose not,” and then state the assumption ppsource.

Suppose not: there is an xAx \in Asource.

This is now the new assumption we'll use to obtain a contradiction. We have two more assumptions: that ABA \subseteq Bsource and that B=B = \emptysetsource. The first gives us that xBx \in Bsource:

Since ABA \subseteq Bsource, xBx \in Bsource.

But since B=B = \emptysetsource, every element of BBsource (e.g., xxsource) must also be an element of \emptysetsource.

Since B=B = \emptysetsource, xx \in \emptysetsource. This is a contradiction, since by definition \emptysetsource has no elements.

This already completes the proof: we've arrived at what we need (a contradiction) from the assumptions we've set up, and this means that the assumptions can't all be true. Since the first two assumptions (ABA \subseteq Bsource and B=B = \emptysetsource) are not contested, it must be the last assumption introduced (there is an xAx \in Asource) that must be false. But if we want to be thorough, we can spell this out.

Thus, our assumption that there is an xAx \in Asource must be false, hence, AAsource has no elements by proof by contradiction.

Every positive claim is trivially equivalent to a negative claim: ppsource iff ¬¬p\lnot\lnot psource. So proofs by contradiction can also be used to establish positive claims “indirectly,” as follows: To prove ppsource, read it as the negative claim ¬¬p\lnot\lnot psource. If we can prove a contradiction from ¬p\lnot psource, we've established ¬¬p\lnot\lnot psource by proof by contradiction, and hence ppsource.

In the last example, we aimed to prove a negative claim, namely that AAsource has no elements, and so the assumption we made for the purpose of proof by contradiction (i.e., that there is an xAx \in Asource) was a positive claim. It gave us something to work with, namely the hypothetical xAx \in Asource about which we continued to reason until we got to xx \in \emptysetsource.

When proving a positive claim indirectly, the assumption you'd make for the purpose of proof by contradiction would be negative. But very often you can easily reformulate a positive claim as a negative claim, and a negative claim as a positive claim. Our previous proof would have been essentially the same had we proved “A=A = \emptysetsource” instead of the negative consequent “AAsource has no elements.” (By definition of ==source, “A=A = \emptysetsource” is a general claim, since it unpacks to “every element of AAsource is an element of \emptysetsource and vice versa”.) But it is easily seen to be equivalent to the negative claim “not: there is an xAx \in Asource.”

So it is sometimes easier to work with ¬p\lnot psource as an assumption than it is to prove ppsource directly. Even when a direct proof is just as simple or even simpler (as in the next examples), some people prefer to proceed indirectly. If the double negation confuses you, think of a proof by contradiction of some claim as a proof of a contradiction from the opposite claim. So, a proof by contradiction of ¬p\lnot psource is a proof of a contradiction from the assumption ppsource; and proof by contradiction of ppsource is a proof of a contradiction from ¬p\lnot psource.

Indirect proof of inclusion in a union

AABA \subseteq A \cup Bsource.

Proof

We want to show that AABA \subseteq A \cup Bsource.

On the face of it, this is a positive claim: every xAx \in Asource is also in ABA \cup Bsource. The negation of that is: some xAx \in Asource is AB\notin A \cup Bsource. So we can prove the claim indirectly by assuming this negated claim, and showing that it leads to a contradiction.

Suppose not, i.e., AABA \nsubseteq A \cup Bsource.

We have a definition of AABA \subseteq A \cup Bsource: every xAx \in Asource is also AB\in A \cup Bsource. To understand what AABA \nsubseteq A \cup Bsource means, we have to use some elementary logical manipulation on the unpacked definition: it's false that every xAx \in Asource is also AB\in A \cup Bsource iff there is some xAx \in Asource that is C\notin Csource. (This is a place where you want to be very careful: many students' attempted proofs by contradiction fail because they analyze the negation of a claim like “all AAsources are BBsources” incorrectly.) In other words, AABA \nsubseteq A \cup Bsource iff there is an xxsource such that xAx \in Asource and xABx \notin A \cup Bsource. From then on, it's easy.

So, there is an xAx \in Asource such that xABx \notin A \cup Bsource. By definition of \cupsource, xABx \in A \cup Bsource iff xAx \in Asource or xBx \in Bsource. Since xAx \in Asource, we have xABx \in A \cup Bsource. This contradicts the assumption that xABx \notin A \cup Bsource.

Exercise on an indirect intersection proof

Prove indirectly that ABAA \cap B \subseteq Asource.

Transitivity of the subset relation

If ABA \subseteq Bsource and BCB \subseteq Csource then ACA \subseteq Csource.

Proof

Suppose ABA \subseteq Bsource and BCB \subseteq Csource. We want to show ACA \subseteq Csource.

Let's proceed indirectly: we assume the negation of what we want to etablish.

Suppose not, i.e., ACA \nsubseteq Csource.

As before, we reason that ACA \nsubseteq Csource iff not every xAx \in Asource is also C\in Csource, i.e., some xAx \in Asource is C\notin Csource. Don't worry, with practice you won't have to think hard anymore to unpack negations like this.

In other words, there is an xxsource such that xAx \in Asource and xCx \notin Csource.

Now we can use this to get to our contradiction. Of course, we'll have to use the other two assumptions to do it.

Since ABA \subseteq Bsource, xBx \in Bsource. Since BCB \subseteq Csource, xCx \in Csource. But this contradicts xCx \notin Csource.

Equal union and intersection force equal sets

If AB=ABA \cup B = A \cap Bsource then A=BA = Bsource.

Proof

Suppose AB=ABA \cup B = A \cap Bsource. We want to show that A=BA = Bsource.

The beginning is now routine:

Assume, by way of contradiction, that ABA \neq Bsource.

Our assumption for the proof by contradiction is that ABA \neq Bsource. Since A=BA = Bsource iff ABA \subseteq Bsource an BAB \subseteq Asource, we get that ABA \neq Bsource iff ABA \nsubseteq Bsource or BAB \nsubseteq Asource. (Note how important it is to be careful when manipulating negations!) To prove a contradiction from this disjunction, we use a proof by cases and show that in each case, a contradiction follows.

ABA \neq Bsource iff ABA \nsubseteq Bsource or BAB \nsubseteq Asource. We distinguish cases.

In the first case, we assume ABA \nsubseteq Bsource, i.e., for some xxsource, xAx \in Asource but B\notin Bsource. ABA \cap Bsource is defined as those elements that AAsource and BBsource have in common, so if something isn't in one of them, it's not in the intersection. ABA \cup Bsource is AAsource together with BBsource, so anything in either is also in the union. This tells us that xABx \in A \cup Bsource but xABx \notin A \cap Bsource, and hence that ABABA \cap B \neq A \cup Bsource.

Case 1: ABA \nsubseteq Bsource. Then for some xxsource, xAx \in Asource but xBx \notin Bsource. Since xBx \notin Bsource, then xABx \notin A \cap Bsource. Since xAx \in Asource, xABx \in A \cup Bsource. So, ABABA \cap B \neq A \cup Bsource, contradicting the assumption that AB=ABA \cap B = A \cup Bsource.

Case 2: BAB \nsubseteq Asource. Then for some yysource, yBy \in Bsource but yAy \notin Asource. As before, we have yABy \in A \cup Bsource but yABy \notin A \cap Bsource, and so ABABA \cap B \neq A \cup Bsource, again contradicting AB=ABA \cap B = A \cup Bsource.

Source file content/methods/proofs/reading-proofs.tex

Reading Proofs

Proofs you find in textbooks and articles very seldom give all the details we have so far included in our examples. Authors often do not draw attention to when they distinguish cases, when they give an indirect proof, or don't mention that they use a definition. So when you read a proof in a textbook, you will often have to fill in those details for yourself in order to understand the proof. Doing this is also good practice to get the hang of the various moves you have to make in a proof. Let's look at an example.

Absorption law for intersection and union

[Absorption] For all sets AAsource, BBsource,

A(AB)=AA \cap (A \cup B) = Asource

Proof

If zA(AB)z \in A \cap (A \cup B)source, then zAz \in Asource, so A(AB)AA \cap (A \cup B) \subseteq Asource. Now suppose zAz \in Asource. Then also zABz \in A \cup Bsource, and therefore also zA(AB)z \in A \cap (A \cup B)source.

The preceding proof of the absorption law is very condensed. There is no mention of any definitions used, no “we have to prove that” before we prove it, etc. Let's unpack it. The proposition proved is a general claim about any sets AAsource and BBsource, and when the proof mentions AAsource or BBsource, these are variables for arbitrary sets. The general claims the proof establishes is what's required to prove identity of sets, i.e., that every element of the left side of the identity is an element of the right and vice versa.

“If zA(AB)z \in A \cap (A \cup B)source, then zAz \in Asource, so A(AB)AA \cap (A \cup B) \subseteq Asource.”

This is the first half of the proof of the identity: it establishes that if an arbitrary zzsource is an element of the left side, it is also an element of the right, i.e., A(AB)AA \cap (A \cup B) \subseteq Asource. Assume that zA(AB)z \in A \cap (A \cup B)source. Since zzsource is an element of the intersection of two sets iff it is an element of both sets, we can conclude that zAz \in Asource and also zABz \in A \cup Bsource. In particular, zAz \in Asource, which is what we wanted to show. Since that's all that has to be done for the first half, we know that the rest of the proof must be a proof of the second half, i.e., a proof that AA(AB)A \subseteq A \cap (A \cup B)source.

“Now suppose zAz \in Asource. Then also zABz \in A \cup Bsource, and therefore also zA(AB)z \in A \cap (A \cup B)source.”

We start by assuming that zAz \in Asource, since we are showing that, for any zzsource, if zAz \in Asource then zA(AB)z \in A \cap (A \cup B)source. To show that zA(AB)z \in A \cap (A \cup B)source, we have to show (by definition of “\capsource”) that (i) zAz \in Asource and also (ii) zABz \in A \cup Bsource. Here (i) is just our assumption, so there is nothing further to prove, and that's why the proof does not mention it again. For (ii), recall that zzsource is an element of a union of sets iff it is an element of at least one of those sets. Since zAz \in Asource, and ABA \cup Bsource is the union of AAsource and BBsource, this is the case here. So zABz \in A \cup Bsource. We've shown both (i) zAz \in Asource and (ii) zABz \in A \cup Bsource, hence, by definition of “\capsource,” zA(AB)z \in A \cap (A \cup B)source. The proof doesn't mention those definitions; it's assumed the reader has already internalized them. If you haven't, you'll have to go back and remind yourself what they are. Then you'll also have to recognize why it follows from zAz \in Asource that zABz \in A \cup Bsource, and from zAz \in Asource and zABz \in A \cup Bsource that zA(AB)z \in A \cap (A \cup B)source.

Here's another version of the proof above, with everything made explicit:

Proof

[By definition of ==source for sets, A(AB)=AA \cap (A \cup B) = Asource we have to show (a) A(AB)AA \cap (A \cup B) \subseteq Asource and (b) A(AB)AA \cap (A \cup B) \subseteq Asource. (a): By definition of \subseteqsource, we have to show that if zA(AB)z \in A \cap (A \cup B)source, then zAz \in Asource.] If zA(AB)z \in A \cap (A \cup B)source, then zAz \in Asource [since by definition of \capsource, zA(AB)z \in A \cap (A \cup B)source iff zAz \in Asource and zABz \in A \cup Bsource], so A(AB)AA \cap (A \cup B) \subseteq Asource. [(b): By definition of \subseteqsource, we have to show that if zAz \in Asource, then zA(AB)z \in A \cap (A \cup B)source.] Now suppose [(1)] zAz \in Asource. Then also [(2)] zABz \in A \cup Bsource [since by (1) zAz \in Asource or zBz \in Bsource, which by definition of \cupsource means zABz \in A \cup Bsource], and therefore also zA(AB)z \in A \cap (A \cup B)source [since the definition of \capsource requires that zAz \in Asource, i.e., (1), and zABz \in A \cup Bsource, i.e., (2)].

Exercise expanding a condensed absorption proof

Expand the following proof of A(AB)=AA \cup (A \cap B) = Asource, where you mention all the inference patterns used, why each step follows from assumptions or claims established before it, and where we have to appeal to which definitions.

Proof

If zA(AB)z \in A \cup (A \cap B)source then zAz \in Asource or zABz \in A \cap Bsource. If zABz \in A \cap Bsource, zAz \in Asource. Any zAz \in Asource is also A(AB)\in A \cup (A \cap B)source.

Source file content/methods/proofs/cant-do-it.tex

I Can't Do It!

We all get to a point where we feel like giving up. But you can do it. Your instructor and teaching assistant, as well as your fellow students, can help. Ask them for help! Here are a few tips to help you avoid a crisis, and what to do if you feel like giving up.

To make sure you can solve problems successfully, do the following:

  1. Start as far in advance as possible. We get busy throughout the semester and many of us struggle with procrastination, one of the best things you can do is to start your homework assignments early. That way, if you're stuck, you have time to look for a solution (that isn't crying).

  2. Talk to your classmates. You are not alone. Others in the class may also struggle---but they may struggle with different things. Talking it out with your peers can give you a different perspective on the problem that might lead to a breakthrough. Of course, don't just copy their solution: ask them for a hint, or explain where you get stuck and ask them for the next step. And when you do get it, reciprocate. Helping someone else along, and explaining things will help you understand better, too.

  3. Ask for help. You have many resources available to you---your instructor and teaching assistant are there for you and want you to succeed. They should be able to help you work out a problem and identify where in the process you're struggling.

  4. Take a break. If you're stuck, it might be because you've been staring at the problem for too long. Take a short break, have a cup of tea, or work on a different problem for a while, then return to the problem with a fresh mind. Sleep on it.

Notice how these strategies require that you've started to work on the proof well in advance? If you've started the proof at 2am the day before it's due, these might not be so helpful.

This might sound like doom and gloom, but solving a proof is a challenge that pays off in the end. Some people do this as a career---so there must be something to enjoy about it. Like basically everything, solving problems and doing proofs is something that requires practice. You might see classmates who find this easy: they've probably just had lots of practice already. Try not to give in too easily.

If you do run out of time (or patience) on a particular problem: that's ok. It doesn't mean you're stupid or that you will never get it. Find out (from your instructor or another student) how it is done, and identify where you went wrong or got stuck, so you can avoid doing that the next time you encounter a similar issue. Then try to do it without looking at the solution. And next time, start (and ask for help) earlier.

Source file content/methods/proofs/resources.tex

Other Resources

There are many books on how to do proofs in mathematics which may be useful. Check out How to Read and do Proofs: An Introduction to Mathematical Thought Processes (Daniel Solow, 2013) and How to Prove It: A Structured Approach (Daniel J. Velleman, 2019) in particular. The Book of Proof (external resource; internet required) (Richard Hammack, 2013) and Mathematical Reasoning (external resource; internet required) (Ted Sandstrum, 2019) are books on proof that are freely available online. Philosophers might find More Precisely: The Math you need to do Philosophy (Eric Steinhart, 2018) to be a good primer on mathematical reasoning.

There are also various shorter guides to proofs available on the internet; e.g., “Introduction to Mathematical Arguments” (external resource; internet required) (Michael Hutchings, 2003) and “How to write proofs” (external resource; internet required) (Eugenia Cheng, 2004).

subsectionMotivational Videos

Feel like you have no motivation to do your homework? Feeling down? These videos might help!

Source disclosures