Infinity, Algorithms, and Weird Truths

Math and computer science aren’t just about numbers and code — they’re about truth, limits, and even a bit of weirdness. From infinite infinities to the question of whether the universe itself is a computer, the philosophy of CS and math shows us that logic is only half the story.

By Tamara Adokeme
5 min read
Infinity, Algorithms, and Weird Truths

The Philosophy of Computer Science and Math: Why Logic is Only Half the Story

Most people think of computer science and math as cold, logical disciplines — all proofs, zeros and ones, algorithms and equations. But behind the formulas is something stranger and more human: a philosophy. The deeper you go into CS and math, the more you realize they’re less about machines and numbers, and more about how we think, what we can know, and where the limits of reason itself lie.


1. What is Computer Science Really About?

Ask someone what computer science is, and they’ll probably say: “programming.” But coding is just the surface. At its core, CS is about the limits of computation: what can we solve, what can we predict, and what is forever beyond machines?

Alan Turing, the father of modern CS, wasn’t just an engineer — he was a philosopher. His famous “Turing machine” wasn’t a prototype for your laptop. It was a thought experiment to answer a deep question: what is computation itself?

The philosophy of CS asks things like:

  • Can every problem be solved with enough time and memory?

  • Is intelligence just computation, or does it require something non-algorithmic?

  • If algorithms can “decide” things, what does that mean for human free will?

These aren’t just technical questions. They’re questions about the nature of thought itself.

💡 Weird Thought Experiment:
What if the universe itself is a computer?
Some philosophers and physicists argue that reality might literally be a kind of computation — every particle a “bit,” every law of physics an “algorithm.”

If that’s true, then studying computer science isn’t just about apps — it’s about hacking reality’s source code.


2. Math: More Than Numbers

Math is often sold as a toolbox for science — useful, yes, but dull. In truth, math has always been a branch of philosophy. Ancient Greeks saw numbers as the secret architecture of reality. Modern philosophers still ask: is math discovered (a hidden truth of the universe) or invented (a clever human game)?

The strangest part is: both views make sense. When a mathematician stumbles on a new proof, it feels like uncovering something that was always there. But when someone invents a whole new system (like non-Euclidean geometry, where parallel lines bend like they’re drunk), it feels like pure creation.

This tension — discovered vs. invented — is what makes math so eccentric and alive.

🔮 Math Oddity:
There are infinitely many infinities.
Georg Cantor proved that some infinities are “bigger” than others — the infinity of real numbers is larger than the infinity of whole numbers.

Wrap your head around that: even infinity has levels.


3. The Overlap: Proof, Truth, and Limits

Computer science and math meet in one key place: proof.

  • In math, proof is about showing truth with logic.

  • In CS, proof can mean showing whether a program must always work — or if a problem is even solvable.

And then you meet Gödel’s Incompleteness Theorem (math) and the Halting Problem (CS). Both whisper the same unsettling truth: there are limits to what logic and machines can do. There will always be mathematical statements that are true but unprovable, and programs whose behavior we cannot predict.

Far from being depressing, these results are wonderfully weird. They remind us that even in the most rigid systems, mystery lurks.

🤖 Computer Science Quirk:
The “Halting Problem” says it’s impossible to build one program that can always predict whether any other program will run forever or stop.

In short: computers can’t fully understand other computers — a paradox baked into the system.


4. Why This Matters to You (Yes, You)

Okay, but why should a beginner — or someone who “hates math” — care about this philosophy? Because it changes how you think:

  • You stop seeing math as lifeless homework and start seeing it as a way to ask deep questions about reality.

  • You stop seeing CS as just coding apps, and start seeing it as a way to explore intelligence, creativity, and problem-solving itself.

  • You learn to respect limits — knowing when a problem is solvable, when it’s not, and when you need a new approach.

It’s like realizing Sudoku isn’t just a puzzle — it’s a miniature lesson in logic, constraint, and sometimes, delightful frustration.


5. Final Thought

At its heart, the philosophy of computer science and math is about humility and wonder. Humility, because we realize there are boundaries to logic and machines. Wonder, because even with those boundaries, we keep pushing, discovering, and inventing new ways to explore truth.

So the next time you write a line of code or solve an equation, remember: you’re not just doing “technical work.” You’re joining a centuries-old conversation about the nature of knowledge, reason, and what it means to be human — with a little bit of weirdness along the way.


Tamara Adokeme

About the Author

Tamara Adokeme

Continue Learning

Explore our hands-on courses and start learning today.