The World Is Mathematics, Mathematics Is the World
A Thought That Showed Up Recently
A while ago I stumbled on something called the mathematical universe: the physical world is itself a mathematical structure; mathematics is not just a tool for describing the world, the world is mathematics. At first I didn’t take it seriously, but it made me pause.
I can’t quite say why. Maybe just that it faintly lined up with a few things I’ve turned over in my head over the years.
One was a feeling I get when I work on AI; one was a feeling I get when I flip through a few pages of Buddhist texts; and one was something small — how often I end up dealing with recursion when I write code.
I had never put them together before. Lately, somehow, they clicked. This piece is me trying to trace that line on my own — as far as it goes, and I’ll leave the parts that don’t go anywhere for now.
Some Things I’ve Done, That Seem to Point at the Same Place
When I was building a Code Agent, I had a very plain feeling: a big part of what we call “intelligence” is imitating how the brain computes — read in a bit of context, think, call a tool, get a result, read it back in. Then I went and looked at quantum computing, and it seemed to imitate, by another route, how nature itself evolves.
I used to think these two had nothing to do with each other. But the longer I look, the more a thought shows up that even I find a bit grand: could they be the same thing underneath? Models are functions written down; the laws of nature are equations written down. It felt less like we “invented” mathematics and more like we “discovered” it, then used what we found to build new things.
Follow that, and it gets hard to stop: if what we build is at bottom just different ways of writing mathematics, then the world they imitate — could that be mathematics too?
Later I learned this thought isn’t only mine. Someone argued it seriously: the Mathematical Universe Hypothesis (MUH) — if we grant an external reality independent of us, then structurally it is identical to some mathematical structure; and a more radical version says only computable, decidable structures truly “exist” arXiv:0704.0646. Earlier still, Zuse, Fredkin, and Wolfram got at similar ideas from other directions Digital Physics Survey.
Knowing that, I felt a bit reassured and a bit wary. Reassured that I wasn’t just making it up; wary because “someone else said it too” doesn’t make it right. Wigner, a physicist, asked long ago: why is mathematics able to predict things before they are observed? That “effectiveness” is itself what needs explaining DOI. Whether mathematics is discovered or invented still hasn’t been settled.
So I won’t treat it as a conclusion. I just want to use it as a starting point, and see how far I can reach.
If the World Is Mathematics, What Am I
From here, the first thing I want to sort out is myself.
The thing I know best is a function, but I have to admit the functions I know are all programmer’s functions: give it input, it gives me output. How mathematics actually defines it, I’ve looked up, can’t remember, and never really understood Pure function.
Still, I can’t help trying it on myself. If the world really is mathematics, then this “person” is probably a small piece of that structure. So could I too be written as a function: my inputs are the conditions I run into — the light today, whatever someone says in passing, where my body aches, the old things in my head that haven’t faded; my outputs are my reactions, judgments, actions.
Thought of this way, a life stops feeling like a result. It’s more like this function being computed, cell by cell. What I become doesn’t seem fixed from the start; it shows up slowly, as the conditions fall into place one by one.
This leaves me a little dazed, because I’ve heard “life is a process” so many times and never taken it seriously. With this angle, it has, for the first time, a bit of weight. But I honestly can’t tell whether this is real insight, or just me finding a nicer way to say it.
That Line “When This Exists, That Exists” — I Think I’m Touching Its Edge
Going further back, I think of a line that keeps showing up in the Buddhist texts: “When this exists, that exists; when this arises, that arises. When this does not exist, that does not exist; when this ceases, that ceases.” This is about dependent origination, from the Saṃyukta Āgama (SN 12.61) SuttaCentral SN 12.61.
I used to find it mystical. As if some invisible thread tied everything together — it sounded reasonable and I couldn’t grasp it.
But put it next to the function, and it clicked a little: in the function f(x₁, x₂, …, xₙ), each parameter is a condition; when a parameter moves, the value moves with it. Isn’t that “when this exists, that exists”?
I even wonder whether dependent origination isn’t a rule added onto me from outside at all — whether it’s simply the act of “computing” itself. Conditions arrive, the result comes out on its own; conditions absent, the result doesn’t come, and no one can push it.
Nāgārjuna’s line I understood even less: “Whatever is dependently arisen, that I declare to be emptiness.” What I take it to mean now is that none of those computed values can stand on its own apart from conditions; they’re all put together provisionally, by causes and conditions GRETIL MMK.
I can’t say whether I’ve got this right. Someone who knows Buddhism would probably shake their head, thinking I’m fitting new words onto old ones. But this way of putting it did make me feel a little more at ease.
But If I’m Just a Function, Where Does the “I” Come From
Here I got stuck for a long time.
If I really am just a function running, why do I so vividly feel there’s an “I” here? It’s I who hurts, I who decides, I who remembers yesterday. This “I” I can’t shake — where does it come from?
I found a bit of a clue in recursion. When I write a recursive function, a function that calls itself needs a slot to refer to “myself.” In the λ‑calculus this is called a fixed-point combinator — Curry’s Y combinator lets a function feed itself to itself, turning around and around until it settles at a stable place SEP: Lambda Calculus. I worked it out on paper twice and never fully got it, but that picture of “itself pointing at itself” stayed with me.
So I let myself wonder: could “I” be a slot like this? A function that has to keep computing must, at every step, glance back and recognize “myself,” so it has to keep a slot inside the process that points at this “I.” That slot reappears at every step, steady as if nailed in place.
It’s not like a person hidden behind it; it’s more like the point the process itself re-recognizes each time it takes a step.
Thinking this, I felt relief. Then I turned around and doubted it: did this really explain anything more, or did I just wrap the word “I” in a fancier package?
Looking Back at the Two Truths, It Seems to Line Up Too
Carrying that doubt, I went back to the Buddhist two truths.
I find that, if I follow the above, the two truths seem to be saying much the same thing. At the conventional level, “I” is a designation, but a working one — remembering, deciding, lifting a hand, all of it needs this “I”; without it the function can’t turn at all. The MMK says “without relying on convention, the ultimate is not attained,” and what I take from it now is: if I don’t even accept this everyday-working “I,” there’s no way to talk about anything higher SEP: Two Truths in India.
At the ultimate level, this “I” won’t stand either. It rests entirely on conditions; when they change, it changes, and if I go looking for that permanent, independent, deciding thing, I won’t find it.
So no-self, as I now feel it, seems to take apart not all that is actually happening, but the assumption that “there’s a permanent ruler behind it.” The Anattalakkhana Sutta (SN 22.59) goes through form, feeling, perception, formations, and consciousness one by one, saying each is not self, not mine SuttaCentral SN 22.59 — it seems to take apart the entity, not the process.
These are correspondences I pieced together myself. Buddhism itself is far more careful than what I’ve said; these few lines are more like me using it to hold a bit of my own confusion, not me defining it for anyone.
I’ll Leave It Here for Now
Stringing the whole line together, in my head it’s roughly this:
flowchart TB
A["A phrase I stumbled on<br/>the world itself is mathematics"] --> B["A few things I've done<br/>AI imitates the brain, quantum computing imitates nature"]
B --> C["I guess a person is a small piece of the structure<br/>so maybe I can be written as a function"]
C --> D["A life feels like this function being evaluated<br/>value appears as conditions fall into place"]
D --> E["That line 'when this exists, that exists'<br/>could it be parameters changing"]
E --> F["I = the slot that points at itself during evaluation<br/>a stable point re-recognized each step"]
F --> G["Conventionally this I works<br/>ultimately it won't stand"]“The world is mathematics, mathematics is the world” — I still won’t say it’s right. But it’s like I’ve pressed a pile of scattered feelings into one lump: structure, and computation.
The Buddhist notions of dependent origination, emptiness, no-self, and the two truths — I won’t say mathematics has “explained” them. It’s more that I walked two completely different roads for a stretch each, and only partway did I find they seem to lead to the same place. That’s probably why everything lately feels “connected” — though “feeling connected” may itself just be an illusion.
So I’ll stop here for now. Which step I truly understood, and which was just me giving myself a way out, I can’t yet tell. Maybe in a while I’ll look back and find this whole set of ideas childish. I’ll deal with that then.
References
Mathematical Universe Hypothesis: Tegmark, “The Mathematical Universe”, Found. Phys. 38, 101–150 (2008) arXiv:0704.0646; Digital physics: Zuse, Rechnender Raum (1969); Wolfram, A New Kind of Science (2002) Survey; Wigner on the effectiveness of mathematics DOI; Pure function Wikipedia; λ‑calculus and the Y combinator SEP; Fixed point Wikipedia; Dependent origination formula SN 12.61 SuttaCentral; MMK 24.18 GRETIL; Two Truths SEP; Yogācāra and mind SEP; Anattalakkhana Sutta SN 22.59 SuttaCentral.