Post · 7 min read· pp. 38–40

When are two proofs essentially the same?

A couple of years ago I spoke at a conference about mathematics that brought together philosophers, psychologists and mathematicians. The proceedings of the conference will appear fairly soon—I will give details when they do. My own article ended up rather too long, because I found myself considering the question of “essential equality” of proofs. Eventually, I cut that section, which was part of a more general discussion of what we mean when we attribute properties to proofs, using informal (but somehow quite precise) words and phrases like “neat”, “genuinely explanatory”, “the correct” (as opposed to merely “a correct”), and so on. It is an interesting challenge to try to be as precise as possible about these words, but I found that even the seemingly more basic question, “When are two proofs the same?” was pretty hard to answer satisfactorily. Since it is also a question on which we all have views (since we all have experience of the phenomenon), it seems ideal for a post. You may have general comments to make, but I’d also be very interested to hear of your favourite examples of different-seeming proofs that turn out, on closer examination, to be based on the same underlying idea (whatever that means).

A general remark that becomes clear quickly when one thinks about this is that there are fairly standard methods for converting one proof into another, and when we apply such a method then we tend to regard the two proofs as not interestingly different. For example, it is often possible to convert a standard inductive proof into a proof by contradiction that starts with the assumption that XX is a minimal counterexample. In fact, to set the ball rolling, let me give an example of this kind: the proof that every number can be factorized into primes.

The usual approach is the minimal-counterexample one: if there is a positive integer that cannot be factorized, let nn be a minimal one; nn is not prime, so it can be written as abab with both aa and bb greater than 1; by minimality aa and bb can be factorized; easy contradiction.

Now let’s give the inductive version. We need the “strong” principle of induction. Suppose, then, that we have proved that every integer up to n−1n-1 can be factorized and are trying to factorize nn. If nn is already prime, then we are done. Otherwise, we can write n=abn=ab with both aa and bb greater than 1. But then aa and bb are less than nn, so by induction they can be factorized. Putting together those factorizations gives a factorization for nn and the inductive step is complete.

(I missed out the proof that the induction starts, just as I did not check in the first proof that there exists a number that can be factorized.)

That’s a rather boring example of sameness of proofs—boring because they are so obviously the same, and one can even point to a mechanical procedure that converted one into the other (which can be applied to many other proofs). More interesting are examples where the sameness becomes apparent only after a more complicated process of transformation. At this point, I’d like to mention the theorem that I discussed in great detail in the bit that I removed from my article: the irrationality of 2\sqrt{2}.

Very briefly, here’s the standard proof. If 2\sqrt{2} is rational, then we can write it as p/qp/q. Let us do so in such a way that pp and qq are not both even. We know that p2=2q2p^2=2q^2, so p2p^2 is even, so pp is even, so p=2rp=2r for some integer rr. This gives us 4r2=2q24r^2=2q^2, so q2=2r2q^2=2r^2, so q2q^2 is even, so qq is even, which is a contradiction.

Now, equally briefly, here is another proof. Suppose again that 2=p/q\sqrt{2}=p/q and let p/qp/q be written in its lowest terms. Now 2=12−1−1=2−22−1\sqrt{2}=\frac{1}{\sqrt{2}-1}-1=\frac{2-\sqrt{2}}{\sqrt{2}-1}. Substituting p/qp/q for 2\sqrt{2} and tidying up, this gives us that pq=2q−pp−q\frac{p}{q}=\frac{2q-p}{p-q}. But p<2qp<2q, so the denominator of the right-hand side is less than qq, which contradicts the minimality of qq (and hence pp too, since their ratio is determined).

Now there are some similarities between those two arguments: both assume that 2=p/q\sqrt{2}=p/q and aim for a contradiction, assuming that p/qp/q is in its lowest terms. But there are also definite differences. For example, the first proof doesn’t actually care whether pp and qq are minimized: it just wants them not both to be even. The second proof doesn’t care at all about the factorizations of pp and qq but does care about their sizes. So I’d maintain that they are different proofs. Having said that, I once put that to Terence Tao in a conversation and he immediately adopted a more general perspective from which one could regard the two arguments as different ways of carrying out the same essential programme. It had something to do with SL2(Z)SL_2(\mathbb{Z}) if I remember correctly. Terry, if you felt like reminding me of exactly what you said, that would be a perfect illustration of “non-obvious equivalence” between proofs.

Here, though, is a third argument for the irrationality of 2\sqrt{2}. You just work out the continued-fraction expansion. It comes out to be 1+12+12+12+…1+{\frac{1}{2+\frac{1}{2+\frac{1}{2+\dots}}}}. Since the continued-fraction expansion of any rational number terminates, 2\sqrt{2} is irrational.

Here’s a fourth. Let pp and qq be coprime and suppose that p2p^2 does not equal 2q22q^2. Then p+2qp+2q and p+qp+q are also coprime. We also find that (p+2q)2−2(p+q)2=−(p2−2q2)(p+2q)^2-2(p+q)^2=-(p^2-2q^2). From this observation we can build a succession of fractions pn/qnp_n/q_n, each in their lowest terms, with qnq_n tending to infinity and with ∣pn2−2qn2∣|p_n^2-2q_n^2| all equal. From that we find that ∣2−pn2/qn2∣|2-p_n^2/q_n^2| has order of magnitude 1/qn21/q_n^2, and from that it is easy to verify that ∣2−pn/qn∣|\sqrt{2}-p_n/q_n| has order of magnitude 1/qn21/q_n^2 as well. But it is impossible to find a sequence of rationals with denominators tending to infinity that approach a rational this quickly. Indeed, pq−rs=ps+qrqs\frac{p}{q}-\frac{r}{s}=\frac{ps+qr}{qs}, which for fixed ss has order of magnitude 1/q1/q. (For large and coprime pp and qq, the difference cannot be zero.)

I won’t demonstrate it here, but it’s not too hard an exercise to see that the second, third and fourth proofs are all essentially the same. (At some point, perhaps I’ll put a link to a more detailed account of exactly why, at least for the second and third. The fourth has only just occurred to me.) For instance, the construction of the sequence (pn,qn)(p_n,q_n) in the fourth proof is the same as the construction of the continued-fraction expansion of 2\sqrt{2} (as lovers of Pell’s equation will know). Also, the way that we produced (pn,qn)(p_n,q_n) from (pn−1,qn−1)(p_{n-1},q_{n-1}) is just the reverse of the way that we produced a smaller fraction from p/qp/q in the second proof. The fourth proof is perhaps very slightly different, in that it involved inequalities, but that was not a fundamental difference. (It would be interesting to be precise about why not—this is what I haven’t got round to thinking about yet.)

To repeat: for the time being I am interested in responses of two kinds. First, I’d like to see lots of examples of proofs that turn out to be essentially the same when they might not initially seem that way. Secondly, I’m keen to see examples of “conversion techniques”—that is, methods for transforming a proof into another that is not interestingly different. See this comment for some interesting links, though here I am not so much looking for a formal theory right down at the level of logical formulae. Rather, I would like as good a picture as possible of high-level equivalence of proofs.

Some general questions are quite interesting. For instance, if two proofs are essentially the same, must there always be some more general perspective from which one can see that the only differences between them consist in arbitrary choices that do not affect the argument in an important way? (A simple example of what I mean is something like replacing “Let ϵ=δ/5\epsilon=\delta/5” by “Let ϵ=δ/3\epsilon=\delta/3” in an argument in real analysis. But there are much more interesting examples of this.) Also, is “essential equivalence” really an equivalence relation, or could one morph in several stages from one proof to another that was “genuinely different”? (My own feeling, by the way, is that the morph would itself be a demonstration of essential equivalence, but perhaps a really good example might change my mind on that.) Is it ever possible to give a completely compelling argument that two proofs are genuinely different? How would one go about such a task? Could one attach an invariant to a proof, perhaps?