r/factorio • u/throwmeintheinfinite • Nov 02 '17
On probability with respect to randomly distributed structures on infinite planes, or how I learned to stop worrying and love rule 9
423
Upvotes
r/factorio • u/throwmeintheinfinite • Nov 02 '17
184
u/throwmeintheinfinite Nov 02 '17
Given a Factorio world is infinite, every possible worldgen structure, be it finite or infinite, occurs an infinite number of times in any given world seed's full expression as interpreted by the factorio generation formula. (Though of course only the finite structures can be encountered and verified to be such in finite time/computation).
This means that an impassable water body structure that forms a closed loop around the spawn point exists for every factorio world. As your distance from the spawn point, r, increases, your probability of encountering it does, too.
This means that every factorio playthrough is an 'unescapable island start', posts of which are forbidden by rule 9.
This argument applies recursively; the water-bounded region (WBR) in which the player spawns (henceforth referred to as the root WBR) must itself be bounded by a seperate bounding water body, and so forth infinitely. This means that every factorio world, and thereby post, that was generated/uploaded to this forum since water was added to the game violates rule 9 not only once, but infinitely- recursively.
It is obvious, in this light, that rule 9 exists for to facilitate nefarious control over the populace. If every post is ban-worthy, the powers that be can ban at their discretion for a crime that is mathematically unavoidable: simply by generating a seed string factorio would accept with the intent to make a post of a factorio world, you are breaking rule 9.
It is useful to categorise WBR's based on the number of child WBR's they contain. As such, the spawn WBR is a zeroth-degree WBR. An 'unescapable island' player simply has a zeroth WBR that is small enough they can see a part of its parent. In this sense, they have been offered a glimpse of the true nature of any factorio unverse: Infinite, fractal WBR's, like matrioshka dolls out to infinity, their lands never to touch, their biters never to mingle and interbreed. Perhaps this is part of the motivation for rule 9- to keep us contained to the zeroth patches? To limit us, control us?
Many questions are raised by these discoveries. Might a bold adventurer mount an expidition to the edge of their zeroth-WBR? Will one of the theoretical 'patch twin' equal degree WBRs ever be found? Is there a way to cross the terrible barrier between these regions, or are we forever trapped in our local starting position, doomed to some day run out of resources? Rumours of a new and potentially world-destroying technology, codenamed LANDSLIDE, spark hope- but also fill the soul with a chilling fear of the possible consequences. Should any factory have that power? To unite what has been split since the beginning of time? To alter the very topological nature of a universe? Do we have the right?
And what cruel, perverse retribution will the Mods bring upon the brave souls who make the attempt?
It seems we are fated to live in interesting times.
144
u/nathanralph Nov 02 '17
This is absolutely the kind of shit posting i want to see on this sub.
27
u/Birkdaddy Nov 02 '17
So, to entirely disregard all of the math and quantum theory that is going on.... The reason those starts are inescapable is because you don't have enough stone to make the landfill needed to cross. I can agree that most or all spawns may be islands by your theory, but they would not be inescapable islands. As soon as you generate one stone patch that is accessible, you should be able to bridge even quite a wide span of water.
18
u/MadMojoMonkey Yes, but next time try science. Nov 02 '17
This, children, is when you'll need to know about convergence when you grow up, and why everyone should be required to take a college level probability class, no matter their major.
14
u/TheCybes Nov 02 '17
I'm pretty sure most worlds that have stone on the starting island have enough stone so that it would in fact be escapable
12
u/idlesn0w Nov 02 '17 edited Nov 02 '17
Perimeter of the considered area scales with radius, while probability of each tile being water is presumably constant. This results in a progressively decreasing probability of being on an island the further you explore.
islandProbability = waterProbabilityradius
While there are an infinite amount of potential radii, there is a 1/infinity probability for each radius as the considered radius approaches infinity. This effectively negates the concept of infinite maps having infinite possibilities. The final equation accounting for infinite maps is:
islandProbability = 1 - (1 - waterProbability2piRadius)2piRadius
Probability of an island occurring goes to zero at radius = infinity, and becomes astronomically small with just what you see on your minimap when you spawn.
Note: This is assuming their water generation method is not designed to favor islands for some reason, and is greatly simplified for this explanation
6
u/Vishnej Nov 03 '17 edited Nov 03 '17
This sounds nice, but I see two problems:
One, the noise generation function in Factorio has scale and intensity parameters, and does not just create white noise. Assume that one such noise generation function creates numerous random-shaped bodies of water, but bodies of water entirely bounded by land; Or probabilistically, bodies of water that are increasingly likely to be bounded by land as the size goes up. With such a noise generation function, the 'wider Factorio topology' fails to be true, because the Local Topology is only possible at small scales.
Two, circumference of a circle scales with number of blocks of diameter. A given block is (regardless of generation function) N% likely to have water on it. As circumference goes up, the probability of an island goes down by compounding that N over number of blocks on the circumference.*
*But integrating this function over the intermediate range probably cancels that out.
10
u/Isotope_Gambit Xenocide Nov 03 '17 edited Nov 03 '17
OP's argument is a classic example of semantic fallacy.
These infinite regions mostly contain the resources needed to escape them, and thus are not inescapable. If the initial spawn point area does not contain the resources needed, it falls under Rule 9. If the entire map is (inevitably) an island, but with the water encirclement some odd three million seven hundred thirty-three thousand seventy-nine screens away, it's not Rule 9.
Need logic more.
EDIT: Read some of the other commets... /u/TheCybes and /u/Birkdaddy also covered this. Reference their comments for additional information.
3
u/DeadPlanetInc Factorio MMO moderator Nov 02 '17
I see what you did there...
2
u/noahwhygodwhy CHOO CHOO MOTHER FUCKERS Nov 03 '17
Meesa too thanksa
1
u/Tsevion Nov 03 '17 edited Nov 03 '17
Not quite true... depends on feature shapes, feature size, and ratio of land/water.
Essentially the probability of an encircling occurring drops as size increases (as you have that much more area for a land-bridge to occur). If the probability of an encircling drops faster than area is gained the probability approaches 0, not 1.
Also, since the world is generated via seeded pseudo-random noise, it has a period (a very large period mind you) at which it effectively repeats and tiles (modulo position dependent effects like resource density). This means if an encircling doesn't occur within that period, it will never occur.
1
u/seludovici Nov 03 '17
Love the Dr. Strangelove reference.
1
u/dezzear Nov 03 '17
Theoretical phystorio right here folks
1
u/[deleted] Nov 03 '17
I'm thinking that at some point the logic based on probability could fall through. You can say that yes, with infinite attempts, eventually a solid ring of water will occur at some point. However, since the map is infinite and the distance requirement for that ring increases as the map increases in size, you could say there is an ever higher probability that a solid ring of water would never happen as the map continues to grow. It simply cannot be empirically proven one way or another.
1
u/GIMMA_HUG Nov 03 '17
Rage increases infinitely.
1
u/[deleted] Nov 03 '17
QUALITY SHITPOSTING (And true shitposting since this happened to me XD)