-1

[1] All math axioms can be expressed as grammar rules like the following:

A -> B (directed) A <-> BC (undirected)

See [6].

[2] Given axiom length of n (total symbols in your axioms) this has polynomial worst-case lengthening your axioms. See [13].

[3] We can introduce two non-terminals, ( and ), and rewrite the rules in [1] as follows:

( A ) -> ( B ) (directed) ( A ) <-> ( ( B ) ( C ) ) (undirected)

[4] Given a target string, S = A1 A2 ... Am for rules in [1] (S is something we'd like to prove), the problem becomes, "find a permutation of parenthesis for S such that rules in [2] generates S."

[5] The parenthesis will put A1 A2 ... Am into a binary tree.

[6] There are exponential worst-case combinations of parenthesis to consider: If A1 A2 ... Am are vertices in a graph, there are m^2 possible edges to consider. If it's a tree, there are m-1 vertices. There are (at most) (m^2 choose m-1) ways to put that into a tree. That is exponential worst-case.

[7] Each non-terminal may, via directed rules, be substituted for another non-terminal. Checking directed reachability is polynomial. This is in proportion to the number of non-terminals you have (which is worst-case total axiom length polynomial(n)). This adds a polynomial overhead to each non-terminal you check.

[8] There are m non-terminals to check in S. As you replace ((B)(C)) with (A), you have a new non-terminal to check.

[9] This feels like an exhaustive search for each combination of parenthesis: You start with m symbols. You have polynomial(n) choices (by [7]). Each choice replaces 2 symbols with a new symbol (by [8]) that has polynomial(n) choices (by [7]).

Does this come out to 2^(polynomial(n+m)) worst-case time complexity?

2 Answers2

3

I can't really follow your argument, but it's not hard to show that its conclusion is wrong:

There is no computable function $f$ such that every first-order tautology in the language of arithmetic of length $n$ has a proof of length $<f(n)$.

This is a direct consequence of Godel's first incompleteness theorem:

  • If there were such an $f$, we could computably decide whether a given sentence $\sigma$ is consistent.

  • We can use this to build a computable completion of Robinson arithmetic $Q$:

    • Let $(\varphi_i)_{i\in\mathbb{N}}$ be the usual enumeration of the sentences of arithmetic.

    • Let $\sigma_0$ be the usual conjunction of the finitely many axioms of $Q$.

    • Having defined $\sigma_i$, let $\sigma_{i+1}=\sigma_i\wedge\varphi_i$ if that's consistent and $\sigma_{i+1}=\sigma_i\wedge\neg\varphi_i$ otherwise.

    • The set $\{\sigma_i: i\in\mathbb{N}\}$ is then computable, complete, consistent, and extends $Q$; contradicting Godel.


Perhaps you're implicitly thinking of (or in your argument you have implicit assumptions which are only valid for) propositional logic, where things are better behaved (in particular, propositional logic is decidable). There we do indeed only need to "look exponentially far," and the general topic of lengths of propositional proofs is an important aspect of modern complexity theory.

But then, propositional logic is not sufficient for mathematics (precisely since it's too simple).

Ethan Bolker
  • 95,224
  • 7
  • 108
  • 199
Noah Schweber
  • 245,398
  • "I can't really follow your argument" Which step are you unable to follow beyond? – Jesus is Lord Apr 21 '20 at 15:19
  • @WordsLikeJared "the problem becomes, "find a permutation of parenthesis for S such that rules in [2] generates S."" just seems wrong: a deduction of S might involve bringing in symbols not originally in S, and could have length much longer than S (or anything "reasonable relative to" the length of S). But again, it's easy to prove that the conclusion at least is wrong. – Noah Schweber Apr 21 '20 at 15:26
  • "a deduction of S might involve bringing in symbols not originally in S" That's covered by [7]. – Jesus is Lord Apr 21 '20 at 15:29
  • "a deduction of S...could have length much longer than S" I agree with that intuition. I'm not sure how to resolve that. – Jesus is Lord Apr 21 '20 at 15:30
  • @WordsLikeJared It's not an intuition, it's a provable result (again, see my answer). The statement you're trying to prove is simply false; I suspect that at some point you've made a benign-seeming assumption which actually winds up restricting attention to propositional logic, but I'm not sure. – Noah Schweber Apr 21 '20 at 15:31
  • "It's not an intuition, it's a provable result" I don't understand the proof that proofs have a minimum length of X>2^m. So it's intuition to me. "again, see my answer" I'm still digesting your answer. – Jesus is Lord Apr 21 '20 at 15:33
  • ""the problem becomes, "find a permutation of parenthesis for S such that rules in [2] generates S."" That's step [4]. Does that mean you agree with steps [1] - [3]? – Jesus is Lord Apr 21 '20 at 15:35
  • @WordsLikeJared At a glance, [4] is the first nontrivial step; everything else up to that point is just rephrasing. Meanwhile a quick read of [4] seems to indicate that it's implicitly assuming that deductions of S "stay within S," which is not true (although something like that is true for propositional logic). In fact, it's pretty clear that's where the error has to be: granting [4], we would have a reduction of the provability problem to a bounded search problem which would contradict the "noncomputable blowup" which we know happens. – Noah Schweber Apr 21 '20 at 15:38
  • [4] follows (I think) from the rules in [1] and [3] being equivalent. Is [3] is equivalent to [1]? – Jesus is Lord Apr 21 '20 at 15:40
  • @WordsLikeJared "[4] follows (I think) from the rules in [1] and [3] being equivalent" I don't see how - it implicitly assumes that all deductions have to "come from within" the target formula itself, which just isn't true. (In fact, I know it doesn't follow from [1]-[3], since it would lead to a false conclusion.) – Noah Schweber Apr 21 '20 at 15:47
  • "...all deductions have to "come from within" the target formula itself" And that would imply a bounded search problem? – Jesus is Lord Apr 21 '20 at 16:13
  • @WordsLikeJared Well, "comes from within" is a vague property (hence my quotaton marks), but yes: too tight a connection between possible proofs and the syntactic structure of the target sentence would yield a computable bound on proof lengths, which we know can't happen (in FOL, anyways - for propositional logic, things are simpler). – Noah Schweber Apr 21 '20 at 16:21
  • I realized the error in my proof; You were correct about S bringing in additional symbols. See answer: https://math.stackexchange.com/a/3636975/187128 – Jesus is Lord Apr 21 '20 at 19:20
0

The proof is true if rules are of the form:

A -> B A <- BC

Rather than:

A -> B A <-> BC

In short, A -> BC implies you may need to "move around" parenthesis:

Specifically, it allows for S to grow, before you end up with an S' statement that corresponds to a tree/exponential choices.

Regarding "growing", this is as Noah Schweber said:

...a deduction of S might involve bringing in symbols not originally in S, and could have length much longer than S...

Therefore, maybe we're looking for an R, such that the axioms expands to R, and R collapses to S.

Such an expansion may be large and may contain duplicate sub-trees.

I imagine "interesting" statements in math correspond to maximizing |R|/|S|. In other words, S is very succinctly stated, but R is lengthy aka hard-to-prove.

I imagine "useful" statements show up as sub-trees.