The disproof of the Exponential Time Hypothesis

In my last post, I talked about the Exponential Time Hypothesis (ETH), and how it applies to puzzles. Here I’m going to roughly outline the disproof of the hypothesis.

I’m following a graduate level lecture by Ryan O’Donnel, with additional background reading. More specifically, I’m following the first half of the lecture, because I gave up on understanding or explaining the rest.  My goal is to convey a broad conceptual understanding, and flavor.

Puzzles inside other puzzles

Have you ever heard of people creating working computers inside Minecraft? Have you heard that Magic: The Gathering is Turing complete? Some game systems are complex enough that in principle, you can program anything inside of them, including another game. And so, you can program Minecraft inside Minecraft (link to video).

Puzzles are like this as well. You can program puzzles inside of other puzzles. You can make a sokoban puzzle whose solution is equivalent to solving a sudoku. And then you can make an origami crease pattern, where figuring out how to fold it is equivalent to solving a sokoban. I mean, you could do it in principle, although it would be horribly inefficient in practice.

[Read more…]

The Exponential Time Hypothesis in puzzles

The Exponential Time Hypothesis (ETH) is a conjecture in computational complexity theory. One inexact way of stating the ETH is, “Some puzzles require brute force to solve.” I think the ETH is intuitively true, to the extent that I have asserted it on this blog without naming it.

So I was shocked to learn that ETH is false. It was recently disproven by LLMs from OpenAI and Anthropic. I’m very interested to understand why.

ETH is relevant in many areas, but in this post I will describe its relation to recreational puzzle solving. In another post, I’ll very roughly outline the proof. I’m not going to talk about the LLM aspect at all.

[Read more…]

The modal ontological argument

The king of all useless arguments

Arguments for the existence of God are, generally agreed, not very compelling, and irrelevant to any real political arguments associated religion. And the ontological argument is king of the junk heap, as it is especially unconvincing and irrelevant. The ontological argument attempts to prove God’s existence a priori, with all the certainty of a mathematical theorem. Most people would say this is overly ambitious, and doomed from the start.

The ontological argument presents a deep and enduring mystery: who actually says this stuff? Does anyone say this stuff? What’s their deal?

The number of people who advocate the ontological argument is nonzero, but it’s quite rare in practice.  Let’s round down to zero and say nobody actually says this stuff. Theistic readers may proceed unthreatened, knowing that I’m talking about an argument that none of them actually advocate.

[Read more…]

Does everything have an explanation?

My husband described to me a version of the cosmological argument based on explanations. Everything in the world requires an explanation. Since the chain of explanations can’t go on forever, there must be an ultimate Explanation for it all. And that Explanation wants us to stop being gay. At least, that’s how I assume the rest of the argument goes. I don’t actually care.

We were joking about this, because the argument imagines that there is a cosmic pointer from each object to its explanation. But the very idea of an explanation is really quite squishy. What even is an explanation? It depends on social context.

So I dug up an old abandoned blog draft on the subject of explanations.

[Read more…]

The efficient fencing problem

Back in the day, I used to post math puzzles, similar to how I post origami today. Today I’m revisiting a problem that I never fully solved.

Problem statement: There is a square patch of grass, with sides of unit length. Using the shortest length of fence, block all straight paths that cut across the grass.

I did not create this puzzle, but I am not sure of its original source. The riddle once appeared on the (now defunct) wu : riddles website, under the title “Samwise and Gandalf”. In this version of the puzzle, Lord Sauron has an underground telephone line that cuts a straight line somewhere through a square plot of land. Samwise doesn’t know where it is, so he intends to uncover it by digging up the perimeter. But Gandalf tells him that there is a more efficient solution. What’s the best Sam can do?

The impressive thing about this puzzle is that you can go through many iterations of finding better and better solutions. Afterwards, we’ll consider a hexagonal patch of grass, and other shapes.

[Read more…]

Rock Paper Scissors and variants

Rock Paper Scissors is a game where two players simultaneously pick one of the three things in the title. Rock beats Scissors, Scissors beats Paper, Paper beats Rock, and if both players pick the same thing they tie.  Rock Paper Scissors is important in game theory, because it is a toy model that helps understand a much broader class of games.

To understand the correct strategy in Rock Paper Scissors, we must understand the difference between pure strategies and mixed strategies. A pure strategy is deterministic, where a mixed strategy is random. There are only three possible pure strategies: pick Rock, pick Paper, and pick Scissors. There are infinitely many mixed strategies available, for example assigning 50% probability to Rock, 25% to Paper, and 25% to Scissors.

[Read more…]