Proof Length and Logical Counterfactuals Revisited

Update: This version of the Trolljecture fails too; see the counterexample due to Sam.

In An Informal Conjecture on Proof Length and Logical Counterfactuals, Scott discussed a “trolljecture” from a MIRI workshop, which attempted to justify (some) logical counterfactuals based on the lengths of proofs of various implications. Then Sam produced a counterexample, and Benja pointed to another counterexample.

But at the most recent MIRI workshop, I talked with Jonathan Lee and Holger Dell about a related way of evaluating logical counterfactuals, and we came away with a revived trolljecture!


Let’s say we have a recursively enumerable set of axioms (in the language of PA) and a statement . Then we define the “distance” as the length of the shortest proof of using the axioms . (We set if there is no such proof.)

And now we define a valuation which we will interpret as the “probability” of the logical counterfactual that implies . (This is undefined when is undecidable given ; we could define it as a limit when searching over proofs of bounded length, in which case it would equal 0.5 in such cases. But as we shall see, this is not the case we care about.)

This valuation has the trivial properties that if and , and similarly if and . But what’s more interesting are the properties that this valuation has if is inconsistent.

If there is a short proof of from , and a much longer proof of from , then . Moreover, we have an approximate coherence condition so long as either or has a proof from that is much shorter than the proof of from . (See the notes below.)

And this gets some key examples “correct” if we add the axioms that we actually care about (and which make the problem truly counterfactual). For instance, let’s take Sam’s counterexample to the original Trolljecture:

def U():
  if A() = 1:
    if PA is consistent:
      return 10
    else:
      return 0
  else: return 5

def A():
  if PA ⊢ A() = 1 → U() = 10:
    return 1
  else: return 2

In that case, actually returns 2 and returns 5, but PA proves the “incorrect” counterfactual that and does not prove the “correct” counterfactual that . (Read the linked post if this puzzles you.)

But what if we consider reasoning from the inconsistent premises that PA is consistent and yet ? In that case, I claim that is near 1 while is near 0.

To see this, note that there is a short proof from these axioms that (look at the definition of , apply the axiom that , apply the axiom , and conclude that ), but the shortest proof from those axioms that is longer: we would need to prove Godel’s Second Incompleteness Theorem to show that , thus , and thus .

(Of course, I could be missing a much shorter proof, but I think this particular example goes through. The same reasoning also holds for the example Benja mentioned.)

Therefore, I will go out on a limb and propose the following:

Revived Trolljecture: If we consider a modal agent inside a modal universe , then for sufficiently large , the “correct” logical counterfactuals of the form “if , then ” are the ones such that the valuations are high. In particular, if for sufficiently large, there is a short proof in of and no comparably short proof of , then is unique with this property, and this is the “correct” counterfactual utility for .

I’m not very confident that this is true as stated, but I have some reasonable hope that either a counterexample will be enlightening about logical counterfactuals, or that an improved analogue of the valuation will in fact be quite useful.

Notes on this valuation:

  • This is a claim about “third person” counterfactuals, not those done by an agent itself. Obviously, an agent that makes decisions based on this valuation will not be definable in modal logic, and I don’t yet make any claims about what such an agent might do in the PA versions of such problems.

  • The approximate coherence is of the following form: if the shortest proof of contradiction from has length , and one of the statements , , , has a proof from of length , then I don’t know a cleverer proof than going through the cases, but each case is straightforward. For instance, if , then we must have , and so it follows quickly that ; then, considering the three cases , , and neither, in each case it is clear that .

  • It does not, however, seem to be the case that whenever there is an easily provable relation between and . I am not entirely sure that I’m not missing a necessary logical relation, but it seems like we could consider two sentences and whose proofs are “independent” of the contradiction in and of each other, and then let so that is quickly provable from . Say that , , ; if these are independent in that way, we should be able to get , , , and . Then , , and will be at least 14 since and , so . I don’t know whether this could be used to break the revived trolljecture.

  • If the shortest proof of contradiction from has length , then for any , ; the valuations are bounded away from 0 and 1. This may be a feature and not a bug: a mathematician could reason decently confidently about what math would look like in the counterfactual where Fermat’s Last Theorem were false (presuming that its actual proof is quite long), but it is hard to say very much about what math would look like in the counterfactual where . However, there are some examples, like naive set theory before Russell’s Paradox, where human mathematicians reasoned mostly coherently despite using axioms that (they did not notice) led quickly to contradictions; the valuation does not capture that aspect of mathematical intuition.

  • I restricted the new trolljecture to modal universes because it is well-specified how the stronger axiom schemas eventually decide the agent and the universe in the standard model of the natural numbers. If something like it holds up here, then there may be a more general version.