r/adventofcode • • Dec 24 '20

Funny [2020 Day 24 (Part 2)] I let it run for 10M iterations and this pattern emerged

Post image
385 Upvotes

23 comments sorted by

55

u/SpookySauces Dec 24 '20

Absolutely got me cackling with this one, looks like we'll never escape the crabs haha!

24

u/andre-js Dec 24 '20

I, for one, welcome our crab overlords

10

u/daggerdragon Dec 24 '20

This is fake news, it's just /r/ItalianCrabPropaganda

20

u/CW_Waster Dec 24 '20

Doubt

17

u/andre-js Dec 24 '20

Crabs don't want to us to discover this

11

u/dan_144 Dec 24 '20

This is being covered up by Big Crab

3

u/joeyGibson Dec 24 '20

I want to believe this is real. 😮

6

u/andre-js Dec 24 '20

Captain of my raft says it is real. He has many legs and two claws so I believe him

5

u/ExuberantLearner Dec 24 '20

What.. Are you kidding?

4

u/fireduck Dec 24 '20

I really doubt it, but maybe. You have to ask, is it possible to run the conway rules here backwards. As in draw an image and then run the rules in reverse to get the input set we would have to be given. If so, that isn't completely insane.

I think it would be computationally insane, you would basically be writting logic like:

ok, we need this hex to be black to we need two neighbors to be black. And that will need to be solved with respect to the needs of all the other tiles around. This doesn't seem impossible but probably very difficult.

This is what would have to be done to make the crab drawing input set.

7

u/ImportantContext Dec 24 '20

I did exactly that a while ago!

I did this with the game of life, choosing the predecessor with the least number of cells. To do this, I used combinatorial optimization software that basically turns a DSL describing this problem into a carefully designed SAT instance that is then solved by some clever SAT solving algorithm. Of course SAT has exponential worst case performance, but modern algorithms are much much smarter than a trivial brute-force approach.

Still, the best I got to was going 5 iterations back from a fairly small goal pattern.

1

u/andre-js Dec 24 '20

That's an amazing problem to solve although very complex. Kudos for taking it on!

Isn't the issue here that there are many ways to arrive at the final image? Many initial arrangements could eventually produce the same image.

→ More replies (1)
→ More replies (1)

3

u/andre-js Dec 24 '20

Sounds like a great idea for AoC 2021 challenge

10

u/UnicycleBloke Dec 24 '20

Brilliant.

8

u/Bear8642 Dec 24 '20

Carcinisation strikes once again!!

4

u/ThaOneDude1 Dec 24 '20

Very roshar-like

0

u/[deleted] Dec 24 '20

[deleted] — view deleted comment

9

u/andre-js Dec 24 '20

The screenshot is right there. What more evidence does one need?

5

u/[deleted] Dec 25 '20

The burning ember that was your cpu once

0

u/[deleted] Dec 24 '20

[deleted] — view deleted comment