Hacker News

bluepeter
AI-assisted proof of optimal packing for 11 squares github.com

golden-face2 minutes ago

It took me a hot minute to understand what square packing really means (the Wiki is insightful) but TLDr: it's packing unit squares (1x1) into a larger, arbitrarily sized square. When the larger square has a side length that is not an integer, it becomes non-trivial to determine the most 1x1 squares that can be placed inside/packed.

DevelopingElkan hour ago

I'm working on a reproduction of the proof with some personal changes. The basic approach is the standard computer assisted "unavoidable set" approach. First, choose some regions small enough that two square's centers don't fit in the same region, the article used 16. Each region must contain or not contain a square, which is 16 choose 11 cases, about 2000. For each case you try and rule it out. You do this by identifying areas that must be covered by a square, and propagating this information. You can also use packing LPs like Stromquist did in 1989 to rule out more configurations. You then narrow in on the remaining cases and subdivide them more.

I think the only reason this wasn't done pre-AI was due to it not being a topic of serious focus. 1989's computers were too weak to handle all the cases. But all the basic ingredients were present in the Kepler conjecture proof. What AI did was lower the effort enough that amateurs who just liked square packings could perform and formally verify such a proof. I consider myself among such amateurs. So this isn't a case of AI stealing mathematicians proofs, or doing something superhuman, its a case of democratization. I am concerned about how AI is affecting math and how the AI companies are behaving, but this isn't the case to be worried about. The calculations for proving this arrangement optimal will always be too big to be checked by hand. However, I'm hoping to produce some nice visualizations of the packing LP or core overlap that rejects each configuration

meowkitan hour ago

I really wish there were visualizations for this.

“Choose a region, where two squares don’t fit, -> 16(??)”

I consider myself literate (maybe not adept) with advanced maths, but this confuses me and requires a lot of assumptions on my end.

DevelopingElk44 minutes ago

A simpler way to see this is to first focus on the central region of the big square that's 0.5 units away from the edge. All squares centers must lie in this region. Break this region into a grid of 25 equally sized square tiles. Each tile is now small enough that the center of two squares can't lie within the same tile. This gives 25 choose 11 possibilities. The article instead broke this region into hexagons that were still small enough that the centers of two squares can't lie in the same hexagon. This let them use only 16 tiles, which vastly reduced the space of possibilities.

dkural3 hours ago

It is not as arbitrary or ugly as it may seem at first - see the image here and the explanation: https://x.com/davidmbudden/status/2107646435659481548

mplewis3 hours ago

Is there an explanation for this that isn't on X?

robinhouston3 hours ago

This is the paper that’s being referenced: https://pingyou.com/papers/eleven-squares.pdf

It’s not obvious to me that it has any deep significance.

Varelion3 hours ago

Not clicking an x link, but good to hear

yzydserd5 hours ago

fwiw The prime site for square in square packing is at https://kingbird.myphotos.cc/packing/squares_in_squares.html

The triangular view is most interesting. And a 20 minute video on this view is at https://youtu.be/uL5wuiy34rs

woah4 hours ago

Can someone explain why 83 and 87 can't get any smaller?

entropicdrifter4 hours ago

Because the outer perimeter must be a square. 83 and 87 could shrink the outer perimeter in one dimension, but not in both at the same time.

sheept4 hours ago

It is possible they can; it’s not yet proven that the listed packings for 83 and 87 are optimal.

danbruc4 hours ago

Which of the blocks do you think you could move to shrink the solution? Or are you thinking of a completely different arrangement?

nemomarx4 hours ago

They got updated to be smaller this year, so maybe there's still more gains to be had?

pinkmuffinere3 hours ago

This is cool! Something seems broken in the representation for 1850 and 1765, squares are strangely intersecting.

edit: Or maybe something wrong with the way my browser (brave) is rendering it.

Buttons8405 hours ago

"God is dead and the optimal packing of squares killed him." I will never not think of this meme when looking at these horrors. I see it, but I don't like it. ;)

WithinReason5 hours ago

A list of many square packings, with images:

https://jlevy.github.io/squares/

aunty_helen5 hours ago

I like geometry. These packings show there are ugly numbers, like 51.

s0rce2 hours ago

heh, 105 is a mess

yborisan hour ago

For a joke version of this: https://x.com/bookazoid_/status/2107771851229610331/photo/1

A keypad that uses 11 squares packing

agnishom6 hours ago

The readme has no figures :( describing the packing?

fredsted5 hours ago

wackget5 hours ago

Any mirrors which don't require giving clicks to neo-Twitter, please?

schiffern5 hours ago

fwip4 hours ago

The readme also appears to be entirely LLM-written.

I really don't get it. If you think you've done something cool, why wouldn't you want to talk about it in your own words?

vessenes6 hours ago

I had the same thought! Pics please.

EDIT: I found it a few links down. https://jlevy.github.io/squares/cases/11.html

tantalor5 hours ago

Pics or it didn't happen

mlmonkey5 hours ago

brabel4 hours ago

It’s unintuitive that a messy configuration of squares can be more optimal than neatly arranging them aligned. And by looking at all the current best solutions it does appear that the neat configurations are usually the best , but not always. How does one explain the messy cases?? Is that about how division can result in irrational numbers, and when the number of optimal squares approach one you end up with the messy squares?

dekhn3 hours ago

One of the greatest classes I ever took was "Cybernetics", taught by David Huffman ("the" Huffman). he started out the very first day talking about information theory, into sphere packing, and on to applications of sphere packing to communications.

I distinctly remember him concluded with something like "Sphere packing is hard, except in 11 dimenions" or something like that, but when I look at the history, I can't see how he knew that in 1994?

coppercrisp626 hours ago

Did an interval-arithmetic branch and bound once, getting the rounding modes right took me weeks.

[deleted]5 hours agocollapsed

kevinwang4 hours ago

Wow, I never would have imagined one could prove optimality for that accursed beautiful thing.

ur-whalean hour ago

A short problem description on the github page would have been nice.

derektank3 hours ago

So this is a proof that the Walter Trump packing is the optimal packing?

reader92745 hours ago

Another interesting video related to these types of problems: https://youtu.be/mVH7OPx4QZU

sehw4 hours ago

[dead]

rfgplk5 hours ago

Isn't this obvious? Why do you need a proof for it, just stack the cubes next to each other? If we're talking infinitesimally thin squares, then stack them on top of each other? Am I missing something?

raincole5 hours ago

It takes less time for you to try to read about the question than to type this comment. I know the link doesn't contain visualization, but... come on.

233mhz5 hours ago

The whole point is that you can fit more than by naively stacking them...

DoctorOetker2 hours ago

parent is changing the problem by suggesting to "pack in the 3rd dimension": lay all the squares on the same square footprint, resulting in always needing only a square with side length 1 on which all the needed "packed" unit squares are laid.

AlexandrB5 hours ago

Look at some of the other links people have posted for optimal packings. The optimal 11 square packing looks nothing like what you're describing ("just stack the cubes next to each other").

hn-front (c) 2024 voximity
source