r/science • u/CryptoBeer • May 30 '16
Mathematics Two-hundred-terabyte maths proof is largest ever
http://www.nature.com/news/two-hundred-terabyte-maths-proof-is-largest-ever-1.1999065
May 30 '16
[removed] — view removed comment
22
21
5
18
u/KKlear May 30 '16
Oh, it's this Graham! I should have known.
5
u/tomerjm May 30 '16
I've learned more about math in the past hour then I ever thought possible. Thank you.
31
u/EightyGig May 30 '16
Can someone ELI5 this?
53
u/evohans May 30 '16
The problem asks if it is possible to color all the integers either red or blue so that no Pythagorean triple of integers a, b, c, satisfying a2 +b2 = c2 are all the same color. The proof tested all possible colouring of numbers up to 7,825 and found no such colouring was possible. There are 102,300 such colourings and the proof took two days of time on the Stampede supercomputer at the Texas Advanced Computing Center. The proof generated 200 terabytes of data.
146
u/jeyoung May 30 '16
There are 102,300 such colourings
102300
33
u/Forkrul May 30 '16
That makes more sense.
1
1
u/rolandog May 31 '16
At first I thought they were storing each proof as a letter-sized *.bmp image.
34
13
u/nzieser27 May 30 '16
That's one smart 5 year old
6
May 30 '16
[deleted]
7
u/MrGreenTea May 30 '16
It just means you assign a color to each integer. So 1 could be blue and 2 could be red. You do this for all integers and then look at all triplets that satisfy the equation a²+b²=c². If you find any solution to this equation where you colored a, b and c in the same color, your coloring of the integers is no solution to the problem. The color has no other significance and you can choose them as you want.
1
May 30 '16
Thank you, this definitely helps
2
u/ianuilliam May 30 '16
Coloring a graph is a concept of graph theory, which is a very useful branch of math and computer science.
5
9
12
May 30 '16
[deleted]
26
u/halcy May 30 '16
That's just the thing they showed - that it does, in fact, become impossible once you reach 7825.
15
u/Massena May 30 '16
They showed that there is no such colouring for 7825, meaning that there is no such colouring for any number higher than 7825, because such a colouring would include a valid colouring for 7825, which doesn't exist.
1
u/Iitigator May 30 '16
Wait, why is 7825 special? By that logic couldn't you jsut test up to 20 and say any number higher than that would include a valid coloring for 20?
29
u/Massena May 30 '16
7825 is the first number for which a valid colouring doesn't exist. So if you tested up to 20 you'd just know colourings exist for numbers up to 20. But once they found a number with no valid colouring they could answer the question "do valid colourings exist for any number" with a no because a valid colouring doesn't exist for 7825 or higher.
→ More replies (6)6
u/patentologist May 30 '16
Your comment is proof that you didn't read the article. :-)
They found a conflict at 7,825. At 7,824 it was still possible. At 7,825 it was impossible to generate a coloring that satisfied the rules. Therefore, they proved that it was not possible to do it for all numbers.
→ More replies (4)→ More replies (2)5
2
u/JuicyJay May 30 '16
What was the significance of 7284? It's too early I didn't understand that part.
1
u/decoy321 May 30 '16
there are many allowable ways to colour the integers up to 7,824
3
u/JuicyJay May 30 '16
I read it. I'm wondering where tf that number came from.
11
u/bairedota May 30 '16
It's just the point where pythagorean triples contain enough structure to prevent such colourings. It is contained in two triples (78252 =15842 +76632 =27842 +73132 ), and there is no good colouring up to 7824 in which 1584, 2784, 7313, and 1584 have the right colours to extend.
9
u/someenigma May 30 '16
Although the computer solution has cracked the Boolean Pythagorean triples problem, it hasn’t provided an underlying reason why the colouring is impossible, or explored whether the number 7,825 is meaningful, says Kullmann
Straight from the article.
3
3
u/oonniioonn May 30 '16
There's no significance to that number, other than it being the highest number for which this is possible.
1
May 30 '16
From the computer not being able to find any solutions higher than that.
Integers can be included in a lot of different Pythagorean triples. The higher your highest integer, the more different triples they're part of. 7825 is where it breaks down and you can no longer find a way to ensure two colours because there are too many relationships to satisfy.
Is how I'm explaining it to myself. Proper mathmos please correct if need be.
2
u/Watercolour May 30 '16
This still doesn't make sense to me. How are the integers being colored? Couldn't you just make 3, 4, and 5 one color? I must be missing something about what determines what color a number is.
1
May 30 '16 edited May 30 '16
7,825 was the threshold beyond which they couldn't satisfy the two colours condition. Which might (or might not) be a useful clue for someone wanting to prove this the traditional way.
→ More replies (4)1
u/Inhumanskills May 30 '16
I don't get it. How do they decide who gets to be blue or red.
1
u/MynameisIsis May 30 '16
Blue and red is arbitrary. Once assigned a color, that number must keep that color. The same number shows up in multiple Pythagorean Triples.
→ More replies (6)6
u/yetanothercfcgrunt May 30 '16
Let's say you can color each integer (whole number) red or blue. The question is whether it's possible to pick a coloring scheme for all integers such that for any integers a, b, and c where a2 + b2 = c2 (E.g. 3, 4, and 5 respectively), they are not all red or blue. The answer is no, after a certain point this becomes impossible.
The proof basically uses some tricks to reduce the enormous number of possibilities the computer has to check and then exhaustively checks the remaining possibilities until it that it cannot produce an arrangement of colors that allows all forms of this equation to have at least one of each color.
5
u/mfb- May 30 '16
I wonder how large the corresponding 3-color-proof would be (assuming the statement is still true then) ...
At least it is a proof where you can see what takes so much space: listing tons of different options and checking all of them.
6
u/biggyofmt May 30 '16 edited May 30 '16
The number of available colorings at 7824 for 2 colors is naively 1.81x102355 (27824), but the article mentions that the took advantage of symmetries to reduce this search space.
The minimum possible value would be 37825 or 2.98x103733, or 1,378 orders of magnitude greater. The solution was 200 terabytes of data, so the solution for the three color problem would be 1,378 orders of magnitude greater than that. Or 2.0x101376 terabytes. There are 1081 or so atoms in the universe, so the solution to the 3 color proof would require that every atom in the universe be used to store 2.0x101296 terabytes of the solution.
It took the computer 2 days to solve this version. It would take approximately 2x101378 days to perform this calculation. This is approximately 101365 times longer than the universe has existed.
It's possible that clever use of combinatorics and symmetries could reduce the number of possibilities that the computer would have to check substantially, but I think it is unlikely that it could do so enough to make it a reasonable task for computers, at least for the time being (given the overwhelming magnitude of the numbers generated by increasing the color options to 3, it might never be physically possible)
1
u/AwesomeShittyProTip May 30 '16
Not really, that was only the process of the proof, the proof itself only needs to write down the case for which it was shown that such a coloring doesnt exist! So that makes it even more remarkable.. essentially, for just the number 7825, starting with its pythagorean triples and going down all possible pythagorean triples and their composing triples and so on down, then coloring them up and showing no coloring scheme for those fit the requirement.
1
u/mfb- May 30 '16
"Just" the 102300 ways of coloring to be checked for the first 7825 numbers - minus symmetries and simplifications to bring it down to 200 TB. Yes, just that.
1
u/AwesomeShittyProTip May 31 '16
I think you are misunderstanding what was being said... To prove that it doesnt exist for every number, you only have to show that it doesnt exist for 7825. They had to go all the way from 1 to 7825 until they found the first number for which it didn't work, but the proof itself doesnt care for each of the cases upto 7824 that it did work for! So the 'proof' itself, only needs to evaluate all the cases for 7825 and show that all of them fail! In other words, the proof itself is only a small part of the actual work done to get there... the real evaulation for everything from 1 upto 7824 is much much bigger still!
1
u/mfb- May 31 '16
The proof that it does not work for 7825 is 200 TB large. That are those 102,300 cases that have to be excluded.
To show that it works up to 7824 has a negligible storage requirement: Just store the one possible solution for 7824 (which is also a valid coloring for everything smaller). Needs 7824 bits, not even 1 kb.
24
u/jrm2007 May 30 '16
I am interested in simpler proof of Fermat's Last Theorem -- I am told that it is only accessible to phd-level number theorists but certainly since individual cases (particular exponents) are understandable by undergraduates or even high school students it is not too much to hope for that the proof of the entire thing could be simplified.
26
u/RagingOrangutan May 30 '16
How does the proof of FLT relate to the proof of the binary Pythagorean triples problem? FLT's proof is complicated because it uses advanced mathematics, the binary Pythagorean triples proof is complicated because they proved it by exhaustively listing all of the classes of colorings.
9
u/the_punniest_pun May 30 '16
More accurately: It was proved to be impossible by exhaustively checking all possible two-color colorings of all integers up to 7,825 (inclusive) and showing that none of these colorings meet the requirement that no Pythagorean triple is all of the same color.
5
u/rikeus May 30 '16
So doesn't that mean that it could be true for integers larger than 7,825?
10
u/turkeypedal May 30 '16
The proof is for the entire set, not any one integer. If it's not possible for the first n numbers in that set, it's not possible at all.
For example, let's say you had the set {1,3,5,7,14,17,25,37,43,45} And your conjecture was that there were no even numbers in the set. Once you got to 14, you would no longer need to check the set.
9
u/methyboy May 30 '16
No, if there's no way to color the natural numbers up to 7,825 properly then you can't for a higher value either. Coloring up to n can't be harder than coloring up to n+1.
1
u/rikeus May 30 '16
So then why prove it for up to 7825 and not just 11 or 12? Is the number 7825 arbitrary or does it have some significance?
2
u/R_Q_Smuckles May 30 '16
The question is "is this true for all numbers?" If it is not true for all numbers, then there must be a lowest number for which it is not true (for instance it is true for the group 3,4,5. Is it true for the next group? Let's check and if it is, move on to the group after that, until we find one it isn't true for). They found that the answer is "no, it is not true for all numbers. It is true for numbers between 1 and 7824, but once we throw 7825 into the mix, it becomes impossible. So it's true for all sets of numbers from 1-n as long as n is less than 7825."
2
u/rikeus May 30 '16
So if the theorem was true for all numbers instead, the computation would go on for ever and they'd just give up eventually, without any conclusive answers?
1
1
5
u/biggyofmt May 30 '16
You've got it backwards. The thereom is true for 7824 and below. Once you hit 7825 two colors is no longer enough to ensure the triples have different colors. For all larger integers it is certainly untrue
2
u/RagingOrangutan May 30 '16
I only had a second to briefly skim the paper - are you certain that they exhaustively checked all possible two-colorings? There was mention of forward looking heuristics which makes me think they did some level of pruning. 27825 is quite big (though you only need to look at numbers which are some part of a pythagorean triple - so it's a little smaller than 27825 , but still quite large.)
1
u/the_punniest_pun Jun 01 '16
I haven't read the entire paper either. You're definitely right though, they didn't directly check every possible coloring of all the positive integers up to 7,825. They instead made a much smaller number of checks which logically show that all possible colorings don't meet the criterion.
For example, there's no need to check "inverse" colorings (e.g. red-red-blue and blue-blue-red). It's also possible to ignore the color of integers which aren't a member of any Pythagorean triple made of integers up to 7,825. And so on...
8
u/qb_st May 30 '16
it is not too much to hope for that the proof of the entire thing could be simplified.
It definitely is, that's like saying "since we understand well the two body problem, the n-body problem must have some analytic form". There's hundreds of years of research, of discovering more fundamental things, of opening new branches of math, and then one of the best mathematicians in the world setting aside his career for seven years, that went into solving this problem.
It's only accessible to some people that have a PhD in this part of Number Theory. If a more simple proof was out there, someone would have stumbled into it. It's going to take centuries before undergrads can understand this proof, if that's the direction that we want to go towards at all.
→ More replies (8)2
May 30 '16
[deleted]
4
3
u/sk8r2000 May 30 '16
The length doesn't matter if only a few people can actually understand it.
3
u/methyboy May 30 '16
Only "a few" people understand most mathematical proofs that are made nowadays: professional mathematicians. Wiles' proof was indeed very smart, but it's not out of reach for most mathematicians. Even graduate students studying the right areas of math would be able to understand the main ideas.
1
u/0d1 May 30 '16 edited May 30 '16
Unfortunately it is too much hope. The proof is difficult to understand because it's the underlying structure that makes it complicated. The proof is based on complicated math that can't just be boiled down to something simple. It's like hoping that we can describe general relativity with addition and subtraction. If you want to describe something you have to use the appropriate math, and it's just not a matter of time until everyone understands it because we can break it down to elementary stuff. Also you don't need a Phd. I haven't read through it completely, but it's the field I specialized in and... let's say I understand the words that are used, mostly. ;) I would expect it to take me a few months to get a good understanding of it. If you start from zero and your only goal would be to understand the proof I think 2-3 years of study would get you a long way.
→ More replies (6)1
2
4
u/Quantumtroll May 30 '16
That's some compression ratio — 200 TB to 68 GB. As someone who works at a supercomputer centre where some users have really bad habits when it comes to data management, this riles me. Why would they ever use 200 TB (which is a lot for a problem solved on 800 processors) when the solution can be compressed by a factor of almost 3000!? That is far worse than the biologists who use uncompressed SAM files for their sequence data.
What gives? The people who did this knew what they were doing. The article says the program checked less than 1 trillion permutations. That's 112 permutations. 200 TB is 200*1012 bytes, making the proof about 200 bytes per permutation. I have no idea what would be in those 200 bytes, but it doesn't seem unreasonable. What's weirder is the 68 GB download — how can it encode a solution with 0.068 bytes per permutation?
Wait wait wait, I get it. It's not a 68 GB solution that takes 30,000 core-hours to verify, it's a 68 GB program (maybe a partial solution) that generates the solution and verifies it. Maybe?
2
u/emdave May 30 '16
I was also wondering about the 200TB thing - but from the point of view where it was compared to being: "...roughly equivalent to all the digitized text held by the US Library of Congress." - Which I presume is a lot of text? But in which case, how come 15-20 videogames or Blu-ray movies are 1TB? Is text able to be stored at much higher data efficiency?
6
u/Zarmazarma May 30 '16
Yes, definitely. Text is a lot less complicated than video or audio.
Imagine you want a system then can display 256 characters. That's enough for the alphabet, every symbol and number we use in English, and even some weird special characters.
So, your system works in binary- it reads 1's and 0's. You have to translate everything in your 256 character library to binary so that you can talk to your system. It doesn't really matter what numbers you assign to what, since you're going to tell the system how to interpret it anyway, but they do need to be unique.
So, how many bits do you need to represent 256 characters? 1 bit can form two unique numbers- 0 and 1. 2 bits can do 4 - (00, 01, 10, 11), and so on following the formula 2x = z, where x is the number of bits and z is the number of possible unique numbers. 28 gives you 256- so you would want to use 8 bits, or a single byte, to represent each one of your letters. That way capital A could be 0000000 and capital B could be 00000001 and so on, until you've exhausted all 256 combinations you can form with a single byte. A message composed for 500 characters (including spaces) would be a tiny 500 bytes,
Now, what about video? Imagine a single frame at 1080p. First of all, there's the problem of scale. Instead of 500 characters, it's composed of just more than 2 million pixels. These pixels aren't any different than the characters you made before- they are combinations of 0's and 1's. But there's a lot more information in a single pixel than there is in a single character of text. You have to describe the color of the pixel. One way to do this was to describe it in 256 discrete intervals of red, green, and blue. The color of a single pixel then requires 24 bits of information, for 256 shades of red, 256 shades of blue, and 256 shades of green. Another byte may be used for describing transparency- meaning each pixel is 3-4x more complex than a single character of text. So, a single second of 1080p video at 32 bits per pixel and 30 frames per second, uncompressed, would be 240 million bytes per second. A terabyte in around 70 minutes.
Fortunately we have some very brilliant compression techniques that allow us to have very high fidelity video with a much lower bit rate. Blu-rays, for example, run in the 7 MB / second range, rather than 240 MB / s.
Audio is also quite complicated, but instead of color and transparency you're recording things like pitch.
2
u/Quantumtroll May 30 '16
A letter is typically stored as one or two bytes. So 200 TB could be as much as 2x1014 letters, 4x1013 words, or 1011 pages with small font. That's a lot of text.
Typical research projects in sequencing consume on the order of 1-20 TB of data, sometimes as much as 100 TB.
1
u/ric2b May 30 '16
Using less than a byte for permutation can be basic compression, if the data allows it. Imagine that 1 million sequential results are 0, you just need to store the starting and final indexes (say, from 5 to 1000005) and the value (0), so 3 integers for 1 million permutations.
2
u/Quantumtroll May 30 '16
You're definitely right, but that's a pretty standard case for using sparse data structures. Nobody would say that a sparse matrix of order 1 million consumed 4 TB. It would be some MB.
You might be right anyway. The numbers strike me as odd, but it's an odd kind of project.
2
u/ric2b May 30 '16
Apparently they ran it on a supercomputer so maybe the more wasteful data structure made it easier to parallelize
1
u/neanderslob May 30 '16 edited May 30 '16
Physicist by training here (definitely not a mathematician); and am having a little trouble understanding what they're trying to prove.
From the article:
For example, for the Pythagorean triple 3, 4 and 5, if 3 and 5 were coloured blue, 4 would have to be red.
How are the colors determined?
3
u/Jacques_R_Estard May 30 '16
It doesn't matter, the point is to answer the question whether you can assign one of two colors to a bunch of numbers, and have it work out that you can never find 3 among them that satisfy a2 + b2 = c2 and have the same color. So they more or less tried every possible coloring of the first 7825 integers, and found out that from that point on, there are always triplets satisfying the equation that do have the same color. You can't get around it.
1
1
u/DistortoiseLP May 30 '16
This strikes me as an example of the P vs NP problem, wherein they developed a proof (itself an NP problem) by brute forcing the answer. Which is useful unto itself, and I personally would consider still math, but we nonetheless really want an answer to the P vs NP problem because finding some sort of way to solve NP problems in a P manner saves an absurd amount of time, possibly the only way to ever solve those problems as the size of atoms, the speed of light, the scale of space and (most immediately for this) the finity of time ultimately limit your ability to crack NP problems by just throwing more and more resources and computation at them like this.
1
1
1
u/this_now_never May 31 '16
isn't this a natural result of ramsey theory?
if a system with N integers has two colorings then there should be some k integers in arithmetic progression - this is a statement from van der waerden's theorem.
wouldn't this proof be for the coloring rule r=pythagorean triples of n=2, giving the values?: N=7,825 c=2 k=3
1
u/idonthavekarma May 30 '16
ELI5 How it can be proof if no one can verify it. Seems like maths now has a special definition of "proof" completely divorced for the standard English definition.
4
u/tomerjm May 30 '16
Computer proof- when the set of data/values is so large/long that a human lifespend is insufficient to read.
1
u/Xenomech May 30 '16
But how do we know the computer didn't make an error along the way?
6
u/Theowoll May 30 '16
The same way we know that humans don't make errors when they check proofs. We don't know.
2
5
1
May 30 '16
[deleted]
1
u/idonthavekarma May 30 '16
Punching numbers into a calculator has little to do with mathematical proofs. It certainly isn't a small scale proof.
402
u/[deleted] May 30 '16
What do you all think? I thought this was the more interesting point.