This seems very useful for procedural world generation, assuming that it isnt already utilized. A p value of >0.5 guarantees a continuous infinite mass of water, with lots of speckled land masses dotted in between. Or you could invert it for a very large land mass with pockets of water.
@crix_h3eadshotgg99222 күн бұрын
I FOUND IT FINALLY IT’S BEEN 2 YEARS
@NoLongerBreathedIn28 күн бұрын
Proof that the critical point is ½: Take the function f(p, n) = P_p[an n×n+1 rectangle has a cluster crossing it the long way]. I claim that f(p, n) = 1-f(1-p, n); this is because either there is a cluster crossing it the long way or there is a cocluster (of faces connected by missing edges) crossing it the other way, and not both. I further claim that if there is an infinite cluster then lim n→∞ f(p, n) = 1, and also vice versa. (This is the slightly more difficult bit to prove, and it's the only hole left). Therefore the critical point can't be different from ½.
@abdefsdf2 ай бұрын
This was AMAZING. Thank you for all the hard work. What a beautiful problem. If you have time it would be amazing to learn about the ising model as well. Thank you again.
@SpectralCollective2 ай бұрын
I do plan to cover the ising model in the (possibly distant) future…
@Gekko-t4i3 ай бұрын
where code
@ismbks3 ай бұрын
he dropped a masterpiece and left, honestly i can't imagine the amount of work behind this video but i am grateful to be able to watch it for free so thank you
@SpectralCollective3 ай бұрын
Thanks for watching! These videos do take a lot of work, but I plan to continue participating in the summer of math exposition so probably will keep making about one video per year
@codescent95693 ай бұрын
Speaking non-exaggeratedly, this is my favourite maths channel on youtube. You're really good at this and should keep going.
@SpectralCollective3 ай бұрын
Thank you!
@oldcowbb3 ай бұрын
a probabilistic micro structure create a deterministic macro effect, i smell renormalization
@diabl2master3 ай бұрын
That table at the starts should have been caveated with "under some reasonable assumptions about shuffling"
@librarianmage3 ай бұрын
16:22 the decks also certainly align once n-1 cards are chosen at least once, right? the last unpicked card in both decks are at the bottom of each deck. (I imagine this was not mentioned because it does not shift the upper bound too far)
@SpectralCollective3 ай бұрын
Yes, good point! Actually, for a 52 card deck it actually does shift the amount of shuffles by about 52. But that’s a little trickier to prove
@librarianmage3 ай бұрын
@@SpectralCollective Going from 242 shuffles to ~190 is perhaps not that much of an improvement, subjectively speaking ;)
@Sugar3Glider3 ай бұрын
8 - 52 perfect shuffles and I'll be back to square one.
@MozzarellaWizard3 ай бұрын
I'm gonna shuffle 6 more times
@ArgumentumAdHominem3 ай бұрын
You mentioned that in real life, the number of shuffles only really matters if players know the initial state. This, actually, more often than not, is the case. And this is a completely normal scenario, not targeted cheating or card counting. In many games, after the game, the cards follow some kind of order. In solitaire, the order is perfect or close to perfect. In trick-based games like bridge or whist, the cards of the same suit cluster together, because of how people order their hands, and because you typically answer suit with the same suit. In resource-based games like magic the gathering, at the end the resources (e.g. lands) are fully separate from non-resources (e.g. spells). While shuffling as means of preventing exploitation by opponent is a valid reason, I would argue that the more common reason to shuffle is to avoid pathological games. For example, in magic the gathering, it is pathological to have no resource cards in your starting hand, and in a perfectly random game should not occur more than in a few percent of games, which is considered tolerable. Instead, if a deck is poorly shuffled inbetween the games, the number of such pathological hands dramatically increases, which completely invalidates the game design.
@SpectralCollective3 ай бұрын
Yes, great point! I wasn’t able to go into detail on that, but I believe that in most situations, the “pathological game” event is *not* the event which causes the distance after 3 or 4 shuffles to be high. What I mean is that the event which gives a witness to the distance being high is one which is much more complicated than anything which is relevant to these games. I don’t have a good source for this, plus I didn’t know exactly how to say it without getting too long-winded, which is why it isn’t in the video, but I think I will add a clarification in the description now. Thanks!
@ArgumentumAdHominem3 ай бұрын
@@SpectralCollective Thank you for your reply. I am sorry, I read it 3 times, but was not able to fully follow the argument. In my understanding, shuffling is the cause, and pathological game is the outcome, so I am not sure what you mean by pathological game causing distance after shuffles to be high. In the second part you argue that the structure that is preserved in the deck after 3-4 shuffles is too complicated and thus effectively imerceptible by an average player (if I understand the argument correctly). I would claim that to be the case only in case a single game is played, in which case any structure can attributed to variance with varying degrees of plausibility. However, in many competitive scenarios a sequence of multiple games is played, and there, minor changes in structure can become apparent. I am more familiar with card clustering, that's why I use it as an example. When magic the gathering decided to host some of their tournaments online a few years back, they noticed a sharp decrease in winrates of their top-rated professional players. While cheating is known to be a factor, it is quite rare it is too easy to detect nowadays. This effect was instead was systematic. What they eventually concluded is that the natural way of shuffling breaks down clusters more than random, resulting in generally higher power of starting hands. While professionals clearly took advantage of this as much as they could within legal bounds, the problem is even simpler than that. They have a natural advantage in playing skill against weaker opponents. However, increase in variance of starting hand power level would dilute that advantage, bringing the game closer to dice rolling than a game of skill. In the end, the game creators decided on a modified random shuffling algorithm to be used online, which (under the hood) randomly generated 2 different hands, and picked the one that is closer to the expected ratio of resources and non-resources.
@SpectralCollective3 ай бұрын
Oh I see, that is very interesting! This is an indication that the way these players shuffle is somewhat different than the model I presented in the video. In fact, it sounds like what they are doing doesn’t actually count as “shuffling” according to the definition I was working with, since under that definition the distribution of the arrangements needs to approach the uniform distribution, whereas if the players were avoiding clusters then they would be approaching some other distribution. And that distribution should have a high distance from the uniform distribution, since the clusters occur in the uniform distribution. Maybe this also helps address your first concern: the event that clusters occur is one that happens often under the uniform distribution, but rarely under this other distribution, and this gives a witness to the fact that the distance between these distributions is high. It would be very interesting to see exactly what the mechanics of a typical MTG player’s shuffling look like, maybe with some high speed cameras, and to make a more accurate mathematical model for how they shuffle in real life. I would also be curious about a description of the distribution of the arrangements of the deck after they shuffle a few times; for instance, does it converge to some distribution in a reasonable time frame? Or does it sort of bounce around between multiple quasi-stationary distributions? There are lots of questions here, thanks for bringing this to my attention!
@vaclavrozhon77763 ай бұрын
Great video!
@Krunschy3 ай бұрын
Boy, do you know how to pick thrilling subjects. I was always curious about this, so much so that I tried understanding a paper on this subject years back, but eventually gave up after an hour. Didn't even finish the video yet, but I've already gotten so much closer to getting it than I ever have. Edit: Turned out it was the exact paper you sourced.
@SpectralCollective3 ай бұрын
Glad you liked it!
@jakethewolfie1193 ай бұрын
During the Coin Flip Example, why was it okay to couple the coins in this way, especially as this method of coupling eliminated the possibility that coin p is tails while coin q is heads?
@SpectralCollective3 ай бұрын
In that coupling, each coin individually has the right distribution (ie if you only look at the first coin, you’ll see a p-biased coin, and if you only look at the second coin, you’ll see a q-biased coin). This is the only thing that’s required of a coupling! The point is that the joint behavior of the two random variables can be chosen arbitrarily, as long as each one individually behaves correctly.
@cavum_concha3 ай бұрын
This video was a fantastic find, seriously great job on everything. subscribed
@SpectralCollective3 ай бұрын
Thanks for watching!
@rosefeather_3 ай бұрын
Great nail polish!
@SpectralCollective3 ай бұрын
Thank you!
@lexinwonderland57413 ай бұрын
This is an amazing video, obviously, but I wanted to mention that I love both of y'all's nail paint! It's actually quite helpful for keeping track watching your hands while you shuffle, and the second hands' paint colors are my faaaaave <3 i'm so excited to see you post again, keep up the great work!!
@SpectralCollective3 ай бұрын
Thank you for watching! I’m glad you enjoyed the video and the nails!
@IzanBF3 ай бұрын
Amazing video!
@objectobject91103 ай бұрын
I remember when Persi Diaconis mentioned the 7 shuffles of the Riffle Shuffle in Numberphile. In one of the videos he says that someone asked him how many shuffles were needed for a 250 card deck, which is the usual size of a Battle of Wits Magic the Gathering deck.
@SpectralCollective3 ай бұрын
Well, according to his paper that I mentioned, it should be about 9
@enriquecasielles40853 ай бұрын
Never thought I'd ever get that answer! Thanks!
@cartatowegs50803 ай бұрын
I appreciate you going in depth on the probability distance section. Had to watch ot a couple times but it was very helpful.
@SpectralCollective3 ай бұрын
I’m glad you found it helpful! In my experience, understanding that distance is one of the more difficult parts about this subject
@roberthuff31223 ай бұрын
Markov Chain.
@SpectralCollective3 ай бұрын
Yes, it is a Markov chain!
@drdca82633 ай бұрын
Very nice! I had not expected a proof of such a thing to be as understandable as this!
@lonestarr14903 ай бұрын
Me, about 25 minutes ago: "Curious. How did this video end up in my feed? I don't remember this channel... Oh, it's the one with the awesome percolation video from a year ago that made me subscribe instantly! So I guess I'm learning something about shuffling cards now." And learn something I did. That were 25 minutes well spend.
@SpectralCollective3 ай бұрын
Glad you enjoyed the video!
@aze43083 ай бұрын
nice
@8pointstudio7093 ай бұрын
Great job! Also nice nails...
@SpectralCollective3 ай бұрын
Thanks! You too...
@daan99733 ай бұрын
Great video! How do you decide which topics to cover? I think they are all super interesting.
@SpectralCollective3 ай бұрын
I’m glad you enjoy them! I am a PhD student studying probability, so I typically make a video about something interesting I’ve learned about within the past year!
@fibbooo11233 ай бұрын
Awesome video! I learned a lot, thank you!
@SpectralCollective3 ай бұрын
Glad to hear it!
@TymexComputing3 ай бұрын
OMG - there is a whole book about it ???
@SpectralCollective3 ай бұрын
Yes there is! And it is very detailed and well-written…
@SantosAdducci3 ай бұрын
When you brought up a second grid that enclosed the first I immediately thought about Greens Theorem or how two dimensional random walks will always intersect the origin at some point, can those ideas be applied here at all to describe a phase transition?
@139-b7j4 ай бұрын
10:23 *Almost never **Almost surely.
@hisheighnessthesupremebeing4 ай бұрын
In the first part where you show the super cluster being formed when p goes towards 1. Shouldn't the color of the cluster be random and not always green?
@SpectralCollective3 ай бұрын
It’s always green because I’m only showing one sample from the uniform coupling
@sirknightartorias684 ай бұрын
Wow!! A whole semester worth of class in a beautiful way put together.
@SpectralCollective3 ай бұрын
Glad you enjoyed it!
@alejrandom65924 ай бұрын
13:08 it's obviously just 1/(2^(n-1)) for n dimensions
@alejrandom65924 ай бұрын
I'm just kidding
@pablodelafuente48104 ай бұрын
Beautiful work
@carpty62524 ай бұрын
I love me some Perkeo-Cola runs in Balatro PERCOLATING
@cheeseburgermonkey71044 ай бұрын
I feel like someone could make an exploration game/MMORPG where the map is the Bernoulli percolation of the square grid with p=1/2 or 1/2+ε with ε being a super small number. You spawn somewhere random on the map, with some restriction on traveling between clusters like they're countries of sorts, and you can find out if you're in a finite cluster, looking out into the dominating infinite cluster, or the other way around, and if you're in a finite cluster, finding the extent of said cluster... while also having the exploration game/MMORPG aspects of course
@РайанКупер-э4о5 ай бұрын
You know you could've color the first graf only with 4 colors? It's like the map coloring problem, I mean it's exactly what you'd want it to apply for.
@nadyanabahi82592 ай бұрын
4 color theorem applies to connected graphs, while these graphs are never fully connected (except at p=1)
@РайанКупер-э4о2 ай бұрын
@@nadyanabahi8259, think again, what I want him to color with 4 colors. He colors each connected part in some color. Take each part like that as a «node», and each part it neighbors as an «edge». There you have it, fully connected graph.
@En1Gm4A5 ай бұрын
Can you provide the code on the 2d percolation? Really curious about it
@En1Gm4A5 ай бұрын
In this video I am always like dam that's interesting what about ... answered 3 sec later 🤯
@redpepper746 ай бұрын
This was really neat and also very soothing? Love the oboe in the background :)
@arankahruskova44336 ай бұрын
It's a clarinet 😉
@redpepper746 ай бұрын
@@arankahruskova4433 dang and I was so sure lol
@akashmalhotra47876 ай бұрын
Great work! Can this theory be applied to Neural Networks to understand why/how they work, since so little is understood from a theoretical POV?
@brendawilliams80627 ай бұрын
This is a nice video. Thankyou
@lionelinx77 ай бұрын
Love tjis
@atakansaracyakupoglu99307 ай бұрын
Brilliant video. I love the background music.
@elgajd7 ай бұрын
thank you vilas for bringing your video to my attention. i enjoyed it very much. and it brought to mind a question i had, even from back in my days of physics and math - although it has become more sharp or clear in my mind in recent years: the assumption of independence. within mathematical modelling that is used to simplify the math. and yet, with the physical reality of what guatama called 'dependence co-arising' or what heisenberg called 'the uncertainty principle', that is an assumption that will forever keep the model outside the bounds of the experience of the real material world. have mathematical modelling been done to assume that the 'decison-action' of gate affects that of neighbouring gates? guy from oaxaca.
@HUGODUMINIL8 ай бұрын
Great video! Congratulations on your outstanding work. If I weren't already in love with percolation, your presentation would surely win me over 😉. Hugo Duminil-Copin
@jonathan33726 ай бұрын
Is this the real Hugo Duminil-Copin?! This is amazing.
@KiyakChannel8 ай бұрын
Beautiful subject! I admire the way you presented it.