Pi is irrational, therefore we don't live in a simulation, since computers can't store irrational numbers
np.reddit.com/r/dataisbeautiful/comments/72m8...Posted Sep 26, 2017, 11:56 PM UTC
Posted Sep 26, 2017, 11:56 PM UTC
Yes, computers can't store irrational numbers. They can only store algorithms for generating some irrationals to arbitrary precision. Someone really ought to consider studying what numbers can be stored this way. It'd be interesting to know if pi is one of them.
This should really descend into r/badphilosophy territory with "What is a number really?" "Are we actually storing numbers or just their binary representations?" "Can any number truly be stored?"
"Are we actually storing numbers or just their binary representations?"
This cracked me up.
I am sure that someone somewhere has said this in earnest.
Those are the computable numbers. Of course pi is computable, there are lots of well-known algorithms for cranking out its digits.
Computable numbers were identified by Turing in his 1936 paper in which he defined the concept of the Turing machine as a model of computation.
You missed my sarcasm. (And probably my username).
Computable number
In mathematics, computable numbers are the real numbers that can be computed to within any desired precision by a finite, terminating algorithm. They are also known as the recursive numbers or the computable reals or recursive reals.
Equivalent definitions can be given using μ-recursive functions, Turing machines, or λ-calculus as the formal representation of algorithms. The computable numbers form a real closed field and can be used in the place of real numbers for many, but not all, mathematical purposes.
^[ ^PM ^| ^Exclude ^me ^| ^Exclude ^from ^subreddit ^| ^FAQ ^/ ^Information ^| ^Source ^] ^Downvote ^to ^remove ^| ^v0.27
Can't I just take the standard polygon approximation and calculate the area of that? That should give me an algorithm to calculate pi to arbitrary precision. (Or do you have another definition of algorithm in mind?)
[deleted]
I think you missed my sarcasm...
Check out the Bailey–Borwein–Plouffe formula
Bailey–Borwein–Plouffe formula
The Bailey–Borwein–Plouffe formula (BBP formula) is a spigot algorithm for computing the nth binary digit of pi (symbol: π) using base 16 math. The formula can directly calculate the value of any given digit of π without calculating the preceding digits. The BBP is a summation-style formula that was discovered in 1995 by Simon Plouffe and was named after the authors of the paper in which the formula was published, David H. Bailey, Peter Borwein, and Simon Plouffe. Before that paper, it had been published by Plouffe on his own site.
^[ ^PM ^| ^Exclude ^me ^| ^Exclude ^from ^subreddit ^| ^FAQ ^/ ^Information ^| ^Source ^] ^Downvote ^to ^remove ^| ^v0.27
Every statistic is actually 50% because everything either happens or it doesn't.
Here's an archived version of the linked post.
Uhm, Pi is a computable number.
Nothing is computable because computation itself requires 1s and 0s, and a 0 is an oval/infinite-shaped polygon unstorable on a computer.
Jokes on you, I use dots and blanks.
But what is the perimeter of the dot?
savage
Computable number
In mathematics, computable numbers are the real numbers that can be computed to within any desired precision by a finite, terminating algorithm. They are also known as the recursive numbers or the computable reals or recursive reals.
Equivalent definitions can be given using μ-recursive functions, Turing machines, or λ-calculus as the formal representation of algorithms. The computable numbers form a real closed field and can be used in the place of real numbers for many, but not all, mathematical purposes.
^[ ^PM ^| ^Exclude ^me ^| ^Exclude ^from ^subreddit ^| ^FAQ ^/ ^Information ^| ^Source ^] ^Downvote ^to ^remove ^| ^v0.27
Actually, Steve Patterson proved that pi is rational because spacetime is discrete.
I love how this guy seems to think you can prove something in mathematics without actually doing any math.
Problem is, he thinks he is doing math.
Let's solve math and philosophy at the same time using computer science!
Almost every number (and by that I mean literally 100%)
#Almost#
What do you mean by this comment?
The comment is gone, but from the title that actually sounds kinda logical, right?
is Pi not irrational?
Of course it's irrational.
Honorable mention: almost everything else in that thread. You can compress data indefinitely by mapping the data to its location in the decimal expansion of pi (and then iterating). Pi is normal (about 50 times). Pi is profound because it is normal. Etc.
look at this quote i found in that goldmine:
i honestly think it's GodelsVortex worthy, it just blew my mind when i first saw it.
why is it that people who have next to no math experience are so entranced by pi?
Because circles are inherently something people are spiritual about due to simplicity and its general universal applicability ("everything is cycles", "the world turns around and so does nature", reincarnation, life cycles, ect)
and pi is a simple enough concept to understand that circles are directly tied to. Therefore it must have some deep seated connection to the world or spirituality or even all of math itself.
A recurring theme with all this pi-mysticism also seems to be the fact that pi has a nonterminating decimal expansion. The reason this seems to fascinate people to no end, I think, is due to two separate misconceptions.
Firstly, people seem to confuse numbers and decimal expansions. This also leads to badmath like natural numbers with infinite decimal expansions, inequality of 1 and 0.999... etc.
Secondly, people seem to have a lot of misconceptions about infinity, especially the notion that an infinite set must contain everything and the idea that infinity is rare/special/mystical. (Indeed, a set containing everything would be a very strange, even paradoxical, beast as we all know.)
Combining these misconceptions leads people to claim that pi is an infinite number and must therefore contain everything as well as he idea that this is somehow rare, special or mystical.
Of course, the fact that pi is almost certainly normal (like almost every real number) doesn't help much to dispel these misconceptions and the fact that pi is seemingly such an easy number to define makes this whole story all the more attractive to people of little mathematical sophistication.
Or at least, that's my take on it.
I think it's even simpler, it's the first irrational people learn, it has a cool symbol and it doesn't have a very intuitive interpretation despite being used to calculate circumference and area.
Tbf, if pi is normal that is somewhat profound seeing as finding examples of computable normal numbers has been somewhat difficult.
Afaik, the only positive result in this direction is that there exists computable normal numbers but no one knows how to actually compute any of their digits...
Since it's causing confusion, I'd just add that it's hard to find computable absolutely normal numbers, that is, normal in every base. The Chapernowne constant is computable¹ and normal in base 10, but it's not known if it's normal in any other base. This paper gives (non-explicit) examples of computable absolutely normal numbers.
¹I think you might be confusing this number with Chaitin's constant which is absolutely normal, but not computable.
Thanks for this, I'm apparently too used to the ergodic theory terminology where we use "normal" to mean normal in every base (since that's what's interesting).
And yes, I was definitely initially thinking of Chaitin (as I said to several other people).
Also, that was exactly the paper I had in mind when I said "afaik" so I'm glad to know you aren't aware of anything that goes beyond where they got.
Chaitin's constant
In the computer science subfield of algorithmic information theory, a Chaitin constant (Chaitin omega number) or halting probability is a real number that, informally speaking, represents the probability that a randomly constructed program will halt. These numbers are formed from a construction due to Gregory Chaitin.
Although there are infinitely many halting probabilities, it is common to use the letter Ω to refer to them as if there were only one. Because Ω depends on the program encoding used, it is sometimes called Chaitin's construction instead of Chaitin's constant when not referring to any specific encoding.
^[ ^PM ^| ^Exclude ^me ^| ^Exclude ^from ^subreddit ^| ^FAQ ^/ ^Information ^| ^Source ^] ^Downvote ^to ^remove ^| ^v0.27
Briefly looking at the wikipedia article, I don't see why we might expect Chaitin's constant to be normal (or absolutely normal). Is that a difficult problem to solve?
I'm the last person you want to ask about that. All my info came from Wikipedia/MathOverflow/Google. I did find this math.stackexchange question.
It's not incredibly hard. The top answer here spells it out with enough details you can probably piece it together (if you know any computability theory, otherwise even understanding the definition of Chaitin constants is probably hard): https://math.stackexchange.com/questions/1311792/when-is-chaitins-constant-normal
Has anyone written a program to calculate any of these absolutely normal computable numbers? Or is the proof non-constructive.
From my brief reading, it looks like it's non-constructive.
Nonconstructive. That was my point, we don't have a constructive example of a computable (absolutely) normal number so if someone proved pi were normal, it would actually "matter".
Can't you just cycle through the digit combinations?
Yes, clearly we can simply look at the entire infinite string of digits of every computable number (and in every base) to determine this. Based on other posts here, I'm guessing a quantum computer should be able to do that in no time at all.
You said about finding examples, not checking existing one.
So many answers saying things I didn't know. Thanks for bringing that up! I always thought we knew loads of normal numbers (isn't e normal?), they sound so non-special.
No one knows whether e is normal (I'd bet a shit-ton of money that it is; but I'd also bet said shit-ton that it won't be proven for at least 20 years, and likely far longer, so there's that).
It's relatively easy to prove that almost every number is normal (easy in the sense that it's a more or less immediate consequence of the ergodic theorem; see my post a year ago about intro to ergodic theory).
But it's also relatively easy to prove that almost every number is not computable (which seems weird at first but seems intuitive later on).
Which is why it's so interesting to look for (absolutely) normal computable numbers.
Edit: "easy" is "consider every real number, prove that the distribution of the digits is balanced"; "hard" is "give me an actual concrete method to produce a number so that the frequency of the digits in every base are equal"
Edit 2: "easy" to me means "shit I should have known after many knowledgeable people spent years explaining it to me" and "hard" means "shit that said people couldn't figure out, but are sort of thinking that I might be able to"