3

Logical Complexity of Proofs

 4 months ago
source link: https://rjlipton.com/2020/08/19/logical-complexity-of-proofs/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Logical Complexity of Proofs

August 19, 2020

If you cannot find proofs, talk about them.

rr.png?resize=300%2C119&ssl=1

Robert Reckhow with his advsior Stephen Cook famously started the formal study of the complexity of proofs with their 1979 paper. They were interested in the length of the shortest proofs of propositional statements. Georg Kreisel and others may have looked at proof length earlier, but one of the key insights of Reckhow and Cook is that low level propositional logic is important.

Today I thought we might look at the complexity of proofs.

Cook and Reckhow were motivated by issues like: How hard is it to prove that a graph has no clique of a certain size? Or how hard to prove that some program halts on all inputs of length {n}? All of these questions ask about the length of proofs in a precise sense. Proofs have been around forever, back to Euclid at least, but Cook and Reckhow were the first to formally study the lengths of proofs.

They were not directly interested in actual proofs. The kind you can find in the arXiv or in a math journal, or at a conference—online or not. The kind that are in their paper.

We are talking today about these types of proofs. Not proofs that graphs have cliques. But proofs that a no planar graph can have a {5} clique.

unknown.png?resize=227%2C222&ssl=1

Proofs

Proofs are what we strive to find ever day. They the coin that measures progress in a mathematical field like complexity theory. We do sometimes work out examples, sometimes do computations to confirm conjectures on small examples, sometimes consider analogies to other proofs. But mostly we want to understand proofs. We want to create new ones and understand others proofs.

Years ago when studying the graph isomorphism problem, I did some extensive computations for the random case. That is for the case of isomorphism for a random dense graphs against a worst case other graph. The computations helped me improve my result. It did not yield a proof, of course, but helped me realize that a certain lemma could be improved from a bound {\log n} to {O(1)}. My results were dominated by paper of Laszlo Babai, Paul Erdös, and Stanley Selkow. Oh well.

Proofs Complexity

There are several measures of complexity for proofs. One is the length. Long proofs are difficult to find, difficult to write up, difficult to read, and difficult to check. Another less obvious measure is the logical structure of a proof. What does this mean?

Our idea is that a proof can be modeled by a formula from propositional logic. The {P} is what we are trying to prove and the letters {A} and so on are for statements we already know.

{(A \rightarrow P)} This is a direct proof. {(\neg P \rightarrow \neg A)} This is a proof by contradiction. {( A \vee \neg A \rightarrow P)} This is proof that uses a statement {A} that may be true or false.

The last is a slight cheat, we use {A \vee \neg A} to stand for a kind of axiom. A perfect example is from number theory. Let {\pi(X)} be the number of primes less than {x} and the function {li(x)} the logarithmic function.

\displaystyle  li(x) = \int_0^x \frac{dt}{\ln t}.

The prime number theorem says that

\displaystyle  \pi(x) = li(x) + E(x),

an error term.

graph.png?resize=300%2C171&ssl=1

It was noted that {li(x)} is larger than {\pi(x)} for known values. The obvious question was that could

\displaystyle  li(x) \ge \pi(x),

be always true? If so this would be an interesting inequality. In 1914 John Littlewood famously proved that this was not true:

Theorem 1 If the Riemann Hypothesis is true:

\displaystyle  \pi(x) - li(x)

is infinitely often positive and negative. If the Riemann Hypothesis is false:

\displaystyle  \pi(x) - li(x)

is infinitely often positive and negative.

Thus he proved that

\displaystyle  \pi(x) - li(x)

is infinitely often positive and negative whether the the Riemann is true or not.

Proofs in Trouble

A sign of a proof in danger is, in my opinion, is not just the length. A better measure I think is the logical flow of proof. I know of no actual proof that uses this structure:

\displaystyle  (A \rightarrow B) \rightarrow ((A \vee C) \rightarrow (B \vee C))

Do you? Even if your proof is only a few lines or even pages, if the high level flow was the above tautology I would be worried.

Another example is {P \rightarrow P}. This of course is a circular proof. It seems hard to believe we would actually do this, but it has happen. The key is that no one says: I will assume the theorem to prove it. The flaw is disguised better than that.

I cannot formally define this measure. Perhaps it is known, but I do think that it would be an additional measure. For actual proofs, ones we use every day, perhaps it would be valuable. I know I have looked at an attempted proof of X and noticed the logical flow in this sense was too complex. So complex that it was wrong. The author of the potential proof was me.

Open Problems

Is this measure, the logical flow of a proof, of any interest?

Like this:

Loading...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK