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 source be a formula of the form source” or “Suppose source” 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 source be a formula of the form source,” you're proving something about all formulas of a certain sort only (namely, conditionals), and it's understood that source 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 source, write “assume that source,” or “suppose that source”). 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
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 source and source are identical, source, iff every element of source is an element of source, and vice versa.
This definition uses source and source as placeholders for arbitrary sets. What it defines---the definiendum---is the expression “source” by giving the condition under which source is true. This condition---“every element of source is an element of source, and vice versa”---is the definiens.Footnote: In this particular case---and very confusingly!---when source, the sets source and source 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 source is true if, and only if (we abbreviate this to “iff”) the condition holds.
When you apply the definition, you have to match the source and source in the definition to the case you're dealing with. In our case, it means that in order for source to be true, each source must also be in source, and vice versa. The expression source in the proposition plays the role of source in the definition, and source that of source. Since source and source 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 source is an element of source, and vice versa---that would show that source, not that source. (Also, since source and source may be any two sets, you won't get very far, because if nothing is assumed about source and source 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 source in order to understand how the proof should proceed. And sometimes, unpacking the definition gives rise to further definitions to unpack. For instance, source is defined as source. So if you want to prove that source, unpacking the definition of source tells you that you have to prove source. Now you also have to remember that source iff source. So, further unpacking the definition of the source notation, what you have to show is: source or source. So, “every element of source is also an element of source” really means: “for every source, if source or source, then source or source.” 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 source and source: (a) for every source, if source or source, then source or source, and (b) for every source, if source or source, then source or source.
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 source. Unpack all the definitions occurring here, i.e., restate this in a way that does not mention “source”, “source”, or “source”.
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 source (a). Then we may apply the definition of source for sets and infer: “Thus, by definition from (a), every element of source is an element of source 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 source, but we want to. If source is the conclusion we aim for, then we can restate this aim also by applying the definition: to prove source we have to prove that every element of source is an element of source and vice versa. So our proof will have the form: (a) prove that every element of source is an element of source; (b) every element of source is an element of source; (c) therefore, from (a) and (b) by definition of source, source. But we would usually not write it this way. Instead we might write something like,
We want to show source. By definition of source, this amounts to showing that every element of source is an element of source and vice versa.
(a) dots (a proof that every element of source is an element of source) dots
(b) dots (a proof that every element of source is an element of source) 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 source and source, then we're entitled to infer that source (and also that source). This is such a basic inference that it is often not mentioned. For instance, once we've unpacked the definition of source we've established that every element of source is an element of source and vice versa. From this we can conclude that every element of source is an element of source (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 source and source.” In this case, you simply have to do two things: prove source, and then prove source. 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 source” at the top of the page, and “(2) Prove source” 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 source you will find that, after unpacking the definition of source, you have to prove: every element of source is an element of source and every element of source is an element of source).
subsectionProving a Disjunction
When what you are proving takes the form of a disjunction (i.e., it is an statement of the form “source or source”), 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 source holds, then source is also true). These cases are nice and easy to set up---simply assume the antecedent of the conditional (in this case, source) and prove the conclusion source from it. So if your theorem reads, “If source then source,” you start your proof with “assume source” and at the end you should have proved source.
Conditionals may be stated in different ways. So instead of “If source then source,” a theorem may state that “source only if source,” “source if source,” or “source, provided source.” These all mean the same and require assuming source and proving source from that assumption. Recall that a biconditional (“source if and only if (iff) source”) is really two conditionals put together: if source then source, and if source then source. 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 “source” an end with “source”---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 source, that means (unpacking the definition of source), that, for every source, source. Thus, if you already know that source, you can conclude source.
Proving a universal claim may seem a little bit tricky. Usually these statements take the following form: “If source has source, then it has source” or “All sources are sources.” 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 sources you have to prove it for an arbitrary source. And the name introduced is a name for an arbitrary source. We typically use single letters as these names for arbitrary things, and the letters usually follow conventions: e.g., we use source for natural numbers, source for formulas, source for sets, source for functions, etc.
The trick is to maintain generality throughout the proof. You start by assuming that an arbitrary object (“source”) has the property source, and show (based only on definitions or what you are allowed to assume) that source has the property source. Because you have not stipulated what source is specifically, other that it has the property source, then you can assert that everything with source has the property source. In short, source is a stand-in for all things with property source.
Every set is contained in its union with another set
Proof
Let source and source be arbitrary sets. We want to show that source. By definition of source, this amounts to: for every source, if source then source. So let source be an arbitrary element of source. We have to show that source. Since source, source or source. Thus, source. But that, by definition of source, means source.
subsectionProof by Cases
Suppose you have a disjunction as an assumption or as an already established conclusion---you have assumed or proved that source or source is true. You want to prove source. You do this in two steps: first you assume that source is true, and prove source, then you assume that source is true and prove source 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 source. (If both are true, we have not one but two reasons for why source is true. It is not necessary to separately prove that source is true assuming both source and source.) To indicate what we're doing, we announce that we “distinguish cases.” For instance, suppose we know that source. source is defined as source. In other words, by definition, source or source. We would prove that source from this by first assuming that source, and proving source from this assumption, and then assume source, and again prove source from this. You would write “We distinguish cases” under the assumption, then “Case (1): source” underneath, and “Case (2): source 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
Proof
Assume (a) that source and (b) source. By definition, any source is also source (c) and any source is also source (d). To show that source, we have to show that if source then source (by definition of source). source iff source or source (by definition of source). Similarly, source iff source or source. So, we have to show: for any source, if source or source, then source or source.
So far we've only unpacked definitions! We've reformulated our proposition without source and source and are left with trying to prove a universal conditional claim. By what we've discussed above, this is done by assuming that source 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 source or source and show that source or source.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 source or source. We have to show that source or source. We distinguish cases.
Case 1: source. By (c), source. Thus, source or source. (Here we've made the inference discussed in the preceding subsection!)
subsectionProving an Existence Claim
When asked to prove an existence claim, the question will usually be of the form “prove that there is an source such that source”, i.e., that some object that has the property described by “source”. 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 source be dots” (where dots specifies which object you have in mind), possibly proving that source in fact describes an object that exists, and then go on to show that source has the property source. Here's a simple example.
A nonempty subset containing a given element
Suppose that source. Then there is an source such that source and source.
Proof
Here we've defined the set source by enumerating its elements. Since we assume that source 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 source here. However, we still have to show that source has the properties required by the proposition. The proof isn't complete without that!
Since source is the only element of source, and source, every element of source is also an element of source. By definition of source, source.
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 source, source” or “there is an source.” 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 source 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 source). 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 source, source” to “Let source.” Now you can reason about source, use some other hypotheses, etc., until you come to a conclusion, source. If source no longer mentions source, source is independent of the asusmption that source, and you've shown that it follows just from the assumption “for some source, source.”
A union with a nonempty set is nonempty
Proof
Suppose source. So for some source, source.
Here we first just restated the hypothesis of the proposition. This hypothesis, i.e., source, hides an existential claim, which you get to only by unpacking a few definitions. The definition of source tells us that source iff every source is also source and every source is also source. Negating both sides, we get: source iff either some source is source or some source is source. Since nothing is source, the second disjunct can never be true, and “source and source” reduces to just source. So source iff for some source, source. That's an existence claim. Now we use that existence claim by introducing a name for one of the elements of source:
Let source.
Now we've introduced a name for one of the things source. We'll continue to argue about source, but we'll be careful to only assume that source and nothing else:
Since source, source, by definition of source. So for some source, source, i.e., source.
It's maybe good practice to keep bound variables like “source” separate from hypothetical names like source, like we did. In practice, however, we often don't and just use source, like so:
However, when you do this, you have to be extra careful that you use different source's and source's for different existential claims. For instance, the following is not a correct proof of “If source and source then source” (which is not true).
Suppose source and source. So for some source, source and also for some source, source. Since source and source, source, by definition of source. So source.
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
Let's prove it!
Proof
We want to show that for any sets source, source, and source, 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 source are also elements of source, and vice versa. The “vice versa” means that also every element of source must be an element of source. So in unpacking the definition, we see that we have to prove a conjunction. Let's record this:
By definition, source iff every element of source is also an element of source, and every element of source is an element of source.
Since this is a conjunction, we must prove each conjunct separately. Lets start with the first: let's prove that every element of source is also an element of source.
This is a universal claim, and so we consider an arbitrary element of source and show that it must also be an element of source. We'll pick a variable to call this arbitrary element by, say, source. Our proof continues:
First, we prove that every element of source is also an element of source. Let source. We have to show that source.
Now it is time to unpack the definition of source and source. For instance, the definition of source is: source. When we apply the definition to “source,” the role of the “source” in the definition is now played by “source,” so source. So our assumption that source amounts to: source. And source iff dots source dots, i.e., in this case, source or source.
By the definition of source, either source or source.
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, “source”) obtains.
Case 1: Suppose that source.
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 source. Based on the definition of source, if we want to show that source, we have to show that it's in both source and source. But source iff source or source, and we already have (as the assumption of case 1) that source. By the same reasoning---switching source for source---source. This argument went in the reverse direction, so let's record our reasoning in the direction needed in our proof.
Since source, source or source, and hence, by definition of source, source. Similarly, source. But this means that source, by definition of source.
This completes the first case of the proof by cases. Now we want to derive the conclusion in the second case, where source.
Case 2: Suppose that source.
Again, we are working with the intersection of two sets. Let's apply the definition of source:
Since source, source must be an element of both source and source, by definition of source.
It's time to look at our conclusion again. We have to show that source is in both source and source. And again, the solution is immediate.
Since source, source. Since source, also source. So, source.
Here we applied the definitions of source and source again, but since we've already recalled those definitions, and already showed that if source 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.
Now we just want to show the other direction, that every element of source is an element of 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 source. We want to show that source.
We are now working from the hypothesis that source. It hopefully isn't too confusing that we're using the same source 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 source is. If that is confusing to you, just replace source with a different variable in what follows.
We know that source is in both source and source, by definition of source. And by the definition of source, we can further unpack this to: either source or source, and also either source or source. 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: source is either in source, source or source. But that would be a mistake. We have to be careful, so let's consider each disjunction in turn.
By definition of source, source and source. By definition of source, source or source. We distinguish cases.
Since we're focusing on the first disjunction, we haven't gotten our second disjunction (from unpacking source) yet. In fact, we don't need it yet. The first case is source, 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 source. It follows that source.
Case 2: Suppose that source. Since source, either source or source. We distinguish cases further:
Case 2a: source. Then, again, source.
Ok, this was a bit weird. We didn't actually need the assumption that source for this case, but that's ok.
Case 2b: source. Then source and source, so source, and consequently, source.
This concludes both proofs-by-cases and so we're done with the second half.
Source file content/methods/proofs/example-2.tex
Another Example
A set split into a subset and its relative difference
Proof
Suppose that source. We want to show that source.
We begin by observing that this is a conditional statement. It is tacitly universally quantified: the proposition holds for all sets source and source. So source and source 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 source. Let's unpack the definition of source: the assumption means that all elements of source are also elements of source. Let's write this down---it's an important fact that we'll use throughout the proof.
By the definition of source, since source, for all source, if source, then source.
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 source, and so we set up a proof similarly to the last example: we show that every element of source is also an element of source and, conversely, every element of source is an element of source. We can shorten this to: source and 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 source is also an element of source, we assume that source for an arbitrary source and show that source. By the definition of source, we can conclude that source or source from source. You should now be getting the hang of this.
source iff source and source. First we prove that source. Let source. So, either source or source.
We've arrived at a disjunction, and from it we want to prove that source. We do this using proof by cases.
Case 1: source. Since for all source, if source, source, we have that source.
Here we've used the fact recorded earlier which followed from the hypothesis of the proposition that source. The first case is complete, and we turn to the second case, source. Recall that source denotes the difference of the two sets, i.e., the set of all elements of source which are not elements of source. But any element of source not in source is in particular an element of source.
Case 2: source. This means that source and source. So, in particular, source.
Great, we've proved the first direction. Now for the second direction. Here we prove that source. So we assume that source and prove that source.
Now let source. We want to show that source or source.
Since all elements of source are also elements of source, and source is the set of all things that are elements of source but not source, it follows that source is either in source or in source. 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: source or source. This is called the “principle of excluded middle:” for any statement source, either source is true or its negation is true. (Here, source is the statement that source.) Since this is a disjunction, we can again use proof-by-cases.
Either source or source. In the former case, source. In the latter case, source and source, so source. But then source.
Our proof is complete: we have shown that source.
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 source is false, i.e., you want to show source. The most promising strategy is to (a) suppose that source 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---source itself, or some other hypothesis of the overall claim you are considering. For instance, a proof of “if source then source” involves assuming that source is true and proving source from it. If you prove source by contradiction, that means assuming source in addition to source. If you can prove source from source, you have shown that the assumption source leads to something that contradicts your other assumption source, since source and source 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
Proof
Suppose source and source. We want to show that source has no elements.
Since this is a conditional claim, we assume the antecedent and want to prove the consequent. The consequent is: source has no elements. We can make that a bit more explicit: it's not the case that there is an source.
source has no elements iff it's not the case that there is an source such that source.
So we've determined that what we want to prove is really a negative claim source, namely: it's not the case that there is an source. To use proof by contradiction, we have to assume the corresponding positive claim source, i.e., there is an source, 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 source.
Suppose not: there is an source.
This is now the new assumption we'll use to obtain a contradiction. We have two more assumptions: that source and that source. The first gives us that source:
Since source, source. This is a contradiction, since by definition source 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 (source and source) are not contested, it must be the last assumption introduced (there is an source) that must be false. But if we want to be thorough, we can spell this out.
Thus, our assumption that there is an source must be false, hence, source has no elements by proof by contradiction.
Every positive claim is trivially equivalent to a negative claim: source iff source. So proofs by contradiction can also be used to establish positive claims “indirectly,” as follows: To prove source, read it as the negative claim source. If we can prove a contradiction from source, we've established source by proof by contradiction, and hence source.
In the last example, we aimed to prove a negative claim, namely that source has no elements, and so the assumption we made for the purpose of proof by contradiction (i.e., that there is an source) was a positive claim. It gave us something to work with, namely the hypothetical source about which we continued to reason until we got to source.
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 “source” instead of the negative consequent “source has no elements.” (By definition of source, “source” is a general claim, since it unpacks to “every element of source is an element of source and vice versa”.) But it is easily seen to be equivalent to the negative claim “not: there is an source.”
So it is sometimes easier to work with source as an assumption than it is to prove source 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 source is a proof of a contradiction from the assumption source; and proof by contradiction of source is a proof of a contradiction from source.
Indirect proof of inclusion in a union
Proof
We want to show that source.
On the face of it, this is a positive claim: every source is also in source. The negation of that is: some source is source. So we can prove the claim indirectly by assuming this negated claim, and showing that it leads to a contradiction.
Suppose not, i.e., source.
We have a definition of source: every source is also source. To understand what source means, we have to use some elementary logical manipulation on the unpacked definition: it's false that every source is also source iff there is some source that is source. (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 sources are sources” incorrectly.) In other words, source iff there is an source such that source and source. From then on, it's easy.
So, there is an source such that source. By definition of source, source iff source or source. Since source, we have source. This contradicts the assumption that source.
Exercise on an indirect intersection proof
Prove indirectly that source.
Transitivity of the subset relation
Proof
Suppose source and source. We want to show source.
Let's proceed indirectly: we assume the negation of what we want to etablish.
Suppose not, i.e., source.
As before, we reason that source iff not every source is also source, i.e., some source is source. Don't worry, with practice you won't have to think hard anymore to unpack negations like this.
In other words, there is an source such that source and source.
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 source, source. Since source, source. But this contradicts source.
Equal union and intersection force equal sets
Proof
Suppose source. We want to show that source.
The beginning is now routine:
Assume, by way of contradiction, that source.
Our assumption for the proof by contradiction is that source. Since source iff source an source, we get that source iff source or source. (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.
source iff source or source. We distinguish cases.
In the first case, we assume source, i.e., for some source, source but source. source is defined as those elements that source and source have in common, so if something isn't in one of them, it's not in the intersection. source is source together with source, so anything in either is also in the union. This tells us that source but source, and hence that source.
Case 1: source. Then for some source, source but source. Since source, then source. Since source, source. So, source, contradicting the assumption that source.
Case 2: source. Then for some source, source but source. As before, we have source but source, and so source, again contradicting source.
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
Proof
If source, then source, so source. Now suppose source. Then also source, and therefore also 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 source and source, and when the proof mentions source or source, 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.
This is the first half of the proof of the identity: it establishes that if an arbitrary source is an element of the left side, it is also an element of the right, i.e., source. Assume that source. Since source is an element of the intersection of two sets iff it is an element of both sets, we can conclude that source and also source. In particular, source, 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 source.
We start by assuming that source, since we are showing that, for any source, if source then source. To show that source, we have to show (by definition of “source”) that (i) source and also (ii) source. 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 source is an element of a union of sets iff it is an element of at least one of those sets. Since source, and source is the union of source and source, this is the case here. So source. We've shown both (i) source and (ii) source, hence, by definition of “source,” 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 source that source, and from source and source that source.
Here's another version of the proof above, with everything made explicit:
Proof
[By definition of source for sets, source we have to show (a) source and (b) source. (a): By definition of source, we have to show that if source, then source.] If source, then source [since by definition of source, source iff source and source], so source. [(b): By definition of source, we have to show that if source, then source.] Now suppose [(1)] source. Then also [(2)] source [since by (1) source or source, which by definition of source means source], and therefore also source [since the definition of source requires that source, i.e., (1), and source, i.e., (2)].
Exercise expanding a condensed absorption proof
Expand the following proof of source, 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 source then source or source. If source, source. Any source is also 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:
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).
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.
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.
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!
https://www.youtube.com/watch?v=ZXsQAXx_ao0 (external resource; internet required)
https://www.youtube.com/watch?v=BQ4yd2W50No (external resource; internet required)
https://www.youtube.com/watch?v=StTqXEQ2l-Y (external resource; internet required)
Source disclosures
- TR074-SAR-001: Source variable caveat. In the existence discussion, the printed conclusion says that x is not equal to the empty set, although the surrounding derivation and the next sentence concern set A being nonempty. The formula and prose are preserved rather than silently changing x to A. source
- TR074-SAR-002: Reader delimiter correction. A closing parenthesis has been supplied after the union of A with the difference of C and A, so the second subset claim has balanced grouping in MathML. No set, relation, or direction has changed, and the exact unbalanced source remains in Source view. source
- TR074-SAR-003: Source set-letter caveat. While unpacking the claim that A is not a subset of the union of A and B, the explanatory paragraph says the witness is not in C. The next sentence correctly uses the union of A and B. The printed C is preserved and is not silently replaced. source
- TR074-SAR-004: Source direction caveat. The fully explicit absorption proof lists the same left-to-right subset claim for both parts a and b. The surrounding explanation and the proof beginning with an element of A establish the reverse inclusion for part b. The repeated printed direction is preserved and not silently changed. source
- TR074-SAR-005: Reader delimiter correction. The unmatched closing parenthesis after the union of A and B has been removed for parseable MathML. The element, union, and set names are unchanged, and the exact source remains in Source view. source