The Beauty of Theoretical Computer Science/Pure Math
I just....Iām constantly awed. You donāt have to be necessarily the best in a field to appreciate its beauty. To be constantly humbled by its consequences and magnitude.
Iām happy I donāt know as much as I should because every discovery or new knowledge is like uncovering a whole new treasure.
If youāll give me a moment of your time Iāll demonstrate my favourite bit in Theoretical Computer Science/ Pure Mathematics.
Right, so.Ā
Have you ever thought of infinity? One man in particular did. His name was Cantor. And man did he get right into it.
So, apparently there are two kinds of infinities (More on that later)....and one is bigger than the other.
But how can one infinity be bigger than another? forever means forever, right?Ā
Does it? Does it really?
Imagine this, I give you a number (Say 0), and tell you to add 1 to it, write it down, and then add one to that number, and so on.....could you say, with confidence that given enough time and boredom, you would eventually reach a certain number?-----(1)
Say, 1234567890456456575676767? Could you guarantee that you will eventually reach this number if you went on with the aboveĀ āalgorithmā (which basically means list of steps)?
Yes.
This is called being countably infinite. Like those of natural or whole numbers.
(Question: are the number of numbers from 0 toĀ infinity, more than the number of numbers from 1 to infinity? Is the first a smaller infinity than the second?)
But suppose I tell you starting from 1, give me all the numbers till 2. With a precision of 2. You would tell me, 1.00, 1.01,1.02,.......,1.99, 2.00.
Okay, still countable. Right?
(Is it a bigger infinity tho than the infinity we got in (1)?)
But what if I give you no precision?
If I told you, give me all numbers between 1 and 2.....what would you say? First number is easy, 1.0000.....0000000......, then what? Whatās the next number?
There lieĀ infinities between infinity.
This is called an uncountable infinity. like those of real numbers (the proof for this is cool).
Now we can all agree that uncountable infinity > countable infinity, right?
But do there exist more than these two infinities????? This is what is commonly called as the Continuum Hypothesis: there does not exist any infinity that is more than that of a countable set and less than that of uncountable
And you know what the best thing is about this??????
It has been proved that this hypothesis can neither be proved nor disproved!!!!!
This means that a mathematician can just say YOLO and chose either as a base rule (or axiom) and run with it.
And you thought comics were bad with official canon.
Lol.
But this is all the basis for my favourite thing in the world.
So, in Computer Science, everything can be written (encoded) in terms of 1s and 0s. Even letters.
For example:
01100101011101100110010101110010011110010111010001101000011010010110111001100111 0110100101110011 011000110110111101101111011011000110010101110010 0110100101101110 011000100110100101101110011000010111001001111001
is a complete sentence!
(try to convert it to ASCII)
Anyway, we can then take it a step further and see than any, and I do mean any, work of text - code, songs, poems, fanfiction, etc - can be encoded in binary.
Similarly, binary can be decoded into ASCII (the symbols we read).Ā
Now if I take all the possible permutations and combinations of all terminating binary strings.......like, 0, 1, 01, 10, 11,..........
and I go through them.....will it be countable or uncountable?
(Spoiler: itās countable!!!!!)
WHAT DOES THIS MEAN?????????
This means that if have an infinite list of all terminating binary strings, and go through it one by one.......we will be able to eventually reach all the text that is either 1) ever been written, 2) is currently being written, 3) or will ever be written.
We have found a way to capture human creativity!!!!
So, suppose we had never heard of Shakespeare, we will eventually reach Romeo and Juliet in the list of finite binary strings!!!!
I just.....thatās beautiful to me.
Thank you for reading!












