Sitemap
Quantum Psychology, Biology and Engineering

UFOs, Aliens, Psychics, Culture & the Quantum Domain: a Blog of Speculative Nonfiction

AI art

From Laws to Algorithms: Reimagining the Mathematics of Reality

The Computational Revolution in our Understanding of Universal Patterns

9 min readApr 23, 2025

--

Few linguistic constructs have shaped our intellectual landscape as profoundly as the phrase “the laws of physics.” This terminology has become so embedded in our scientific discourse that we rarely pause to consider its jurisdictional implications — the curious notion that nature somehow “legislates” reality. Yet as we stand at the frontier of computational thinking, an intriguing conceptual shift beckons: what if we reframed these mathematical regularities not as laws to be obeyed, but as algorithms to be executed, with spacetime and matter-energy serving as the fundamental data upon which these cosmic computations unfold?

The juridical metaphor in physics has ancient roots. Anaximander, in the 6th century BCE, was perhaps the first to invoke the concept of cosmic justice, speaking of natural entities paying “penalty and retribution to each other for their injustice according to the assessment of Time” (Kirk et al., 2010, p. 118). This anthropomorphizing tendency persisted through history, finding its formal expression in Newton’s Principia Mathematica, where he articulated his famous “laws” of motion. Newton, deeply influenced by his theological views, conceived of these laws as divine edicts — mathematical expressions of God’s will imposed upon a compliant universe (Cohen & Smith, 2002, p. 47).

This legal metaphor has served science admirably for centuries, providing a framework for conceptualizing the universe’s apparent obedience to mathematical principles. Yet it carries implicit assumptions worth examining. Laws suggest a lawgiver, hinting at external agency. They imply prescription rather than description — a subtle distinction with profound philosophical implications. As physicist Paul Davies (2010) observes, “The very notion of physical law is a theological one in the first place, a fact that makes many scientists squirm” (p. 74).

Enter the computational metaphor — a framework more resonant with our digital age. The universe, in this conceptualization, executes algorithms rather than obeying laws. Space, time, energy, and matter constitute the data structure upon which these algorithms operate. This shift is more than semantic; it reflects a fundamental reconceptualization of physical reality that aligns remarkably well with emerging theories in theoretical physics and information science.

John Archibald Wheeler captured this perspective with his famous phrase “it from bit,” suggesting that physical reality (“it”) ultimately derives from information (“bit”). Wheeler (1990) proposed that “every physical quantity, every it, derives its ultimate significance from bits, binary yes-or-no indications” (p. 5). Wheeler’s insight presaged a fundamental reconceptualization of physical reality, one that places information processing — computation — at the heart of cosmic operations.

This algorithmic perspective offers several advantages over the juridical framework. First, it elegantly accommodates the observer-dependent nature of quantum mechanics. In quantum theory, reality remains indeterminate until measured — a feature that fits naturally with the concept of computation, where algorithms process inputs to generate outputs. As physicist David Deutsch (2011) argues, “In the multiverse, according to quantum theory, physical reality consists of many histories happening at once… precisely parallel to what happens in quantum computation” (p. 310).

Second, the computational framework provides intuitive explanations for cosmic mysteries like quantum entanglement. When we view entangled particles as executing shared algorithmic processes on distributed data, their “spooky action at a distance” becomes conceptually more accessible. The particles aren’t violating laws; they’re participating in a unified computation.

Third, this perspective aligns with the principle of computational equivalence proposed by Stephen Wolfram (2002), which suggests that “almost all processes that are not obviously simple can be viewed as computations of equivalent sophistication” (p. 716). Under this principle, the universe itself can be understood as a vast computational system of extraordinary complexity, yet operating according to relatively simple algorithmic rules.

The case for this conceptual shift strengthens when we consider the discreteness at the heart of physical reality. Planck length, Planck time, and quantum energy levels all suggest a universe built on discrete units rather than continuous variables — precisely the domain in which digital computation operates. As physicist Seth Lloyd (2006) notes, “The universe is indistinguishable from a quantum computer” (p. 54).

This computational perspective also provides a natural framework for understanding the apparent mathematical comprehensibility of the cosmos. Eugene Wigner’s (1960) famous essay on “The Unreasonable Effectiveness of Mathematics in the Natural Sciences” highlighted the mysterious alignment between mathematical structures and physical reality. The algorithmic view offers a resolution: if the universe performs computations, it operates according to mathematical principles as a matter of definition, not coincidence.

Consider quantum field theory, our most successful physical framework to date. At its core, it describes fields as distributed data structures whose evolution follows precise mathematical algorithms. The Schrödinger equation, in this light, isn’t a law dictating what particles must do; it’s an algorithm describing how quantum wavefunctions evolve. As physicist Max Tegmark (2014) argues in his Mathematical Universe Hypothesis, “Our external physical reality is a mathematical structure” (p. 254) — or in this reframing, a computational structure.

Simulation theory — the hypothesis that our universe might be a computer simulation created by an advanced civilization — represents perhaps the most literal interpretation of this algorithmic framework. While speculative, this perspective has garnered serious consideration from philosophers and physicists alike. Nick Bostrom’s (2003) influential paper calculated that “at least one of the following propositions is true: (1) the human species is very likely to go extinct before reaching a ‘posthuman’ stage; (2) any posthuman civilization is extremely unlikely to run a significant number of simulations of their evolutionary history (or variations thereof); (3) we are almost certainly living in a computer simulation” (p. 243).

Whether or not we inhabit a literal simulation, quantum information theory provides compelling evidence for the computational nature of reality. Quantum bits (qubits) can exist in superpositions of states, enabling quantum systems to process information in ways that classical systems cannot. Quantum physicist Anton Zeilinger (2005) argues that “information is the irreducible kernel from which everything else flows… In this sense, according to quantum physics, the information is the reality” (p. 743).

This information-theoretic perspective extends to black holes, where the holographic principle suggests that all the information contained within a volume of space can be represented by information on its boundary surface. Leonard Susskind (1995), one of the principle’s originators, describes it as “a radical reimagining of how information is stored in nature” (p. 6377). The AdS/CFT correspondence, a cornerstone of modern theoretical physics, further solidifies the connection between geometry and information, suggesting that spacetime itself emerges from more fundamental informational structures.

Even conservation laws, those bedrock principles of physics, take on new meaning in the computational framework. Conservation of energy becomes conservation of information — a fundamental constraint on cosmic algorithms analogous to the principle in computer science that information cannot be created or destroyed, only transformed. This parallel was not lost on Claude Shannon, whose information theory established entropy as a measure of information, directly paralleling its role in thermodynamics.

Critics might argue that this computational metaphor merely replaces one anthropocentric framework with another — substituting the human construct of legislation with the equally human construct of computation. Yet there’s a crucial distinction: computation is mathematics in action, and mathematics appears to be intrinsic to reality rather than imposed upon it. As mathematician Roger Penrose (2004) observes, “Mathematical truth is not something that we ascertain merely by use of some algorithm… it has a robustness that transcends the robustness of what we normally refer to as ‘common sense’” (p. 22).

The algorithmic perspective also offers fresh insights into the nature of time. If spacetime constitutes data rather than an independent substrate, then temporal evolution becomes computation in progress — the iterative execution of cosmic algorithms. This view resonates with Julian Barbour’s (2001) timeless conception of physics, wherein “what we perceive as the flow of time is nothing more than a succession of static configurations of the universe” (p. 326) — configurations that could be interpreted as computational states.

Perhaps most significantly, the computational framework provides a natural context for understanding emergence — the appearance of complex phenomena from simpler rules. Just as Conway’s Game of Life generates remarkable complexity from minimal rules, the fundamental algorithms of physics may generate the rich tapestry of observable reality. As complexity theorist Stuart Kauffman (2010) notes, “The evolution of the universe is a story of ever-increasing complexity emerging from simpler beginnings” (p. 89) — a process perfectly aligned with algorithmic generation.

The reframing of physical laws as the universe’s algorithms illuminates new avenues for theoretical exploration. It suggests that reality might be understood as a vast optimization process — algorithms seeking stationary points in incomprehensibly complex fitness landscapes. This perspective aligns with variational principles like the principle of least action, which describes physical trajectories as those minimizing certain mathematical quantities.

Consider quantum mechanics’ path integral formulation, where particles take all possible paths simultaneously, with the observed trajectory emerging from their interference. In computational terms, this suggests a massive parallel computation evaluating multiple trajectories simultaneously — a quantum algorithm rather than a classical one. As Richard Feynman (1982), who pioneered both path integrals and the concept of quantum computation, observed, “Nature isn’t classical, dammit, and if you want to make a simulation of nature, you’d better make it quantum mechanical” (p. 486).

The algorithmic perspective also offers a fresh approach to cosmology. The anthropic principle — the observation that physical parameters seem finely tuned for life — finds a natural explanation in the computational framework. If reality comprises algorithms operating on data, then certain algorithmic configurations might naturally give rise to self-organizing complexity capable of observing itself. This self-referential aspect of cosmic computation echoes Douglas Hofstadter’s (1979) concept of “strange loops,” wherein “despite one’s sense of departing ever further from one’s origin, one winds up, to one’s shock, exactly where one had started out” (p. 10).

Our journey from laws to algorithms represents more than a metaphorical shift; it reflects a deeper understanding of the mathematical poetry underlying physical reality. The universe doesn’t obey laws — it executes algorithms. Space, time, energy, and matter aren’t passive entities governed by external principles; they’re data structures participating in a grand computation.

This perspective doesn’t diminish the wonder of physical reality; it enhances it. Just as understanding the algorithms behind digital art doesn’t reduce its beauty, recognizing the computational nature of physical reality only deepens our appreciation for its elegance. The patterns we observe in the universe aren’t choreographed by legislative decree but emerge from mathematical principles executing with precision across the canvas of existence.

As we stand at this intellectual frontier, we find ourselves echoing the sentiment expressed by astronomer Carl Sagan (1980): “The cosmos is within us. We are made of star-stuff. We are a way for the universe to know itself” (p. 286). In the computational framework, this takes on new meaning: we are expressions of cosmic algorithms, information structures capable of comprehending the very computations that gave rise to our existence.

The universe computes, therefore we are. And in that realization lies a profound connection between mind and cosmos — a glimpse into the mathematical heart of reality that transcends metaphor and touches the essence of existence itself.

References

Barbour, J. (2001). The end of time: The next revolution in physics. Oxford University Press.

Bostrom, N. (2003). Are you living in a computer simulation? Philosophical Quarterly, 53(211), 243–255.

Cohen, I. B., & Smith, G. E. (2002). The Cambridge companion to Newton. Cambridge University Press.

Davies, P. (2010). The eerie silence: Renewing our search for alien intelligence. Houghton Mifflin Harcourt.

Deutsch, D. (2011). The beginning of infinity: Explanations that transform the world. Viking.

Feynman, R. P. (1982). Simulating physics with computers. International Journal of Theoretical Physics, 21(6/7), 467–488.

Hofstadter, D. R. (1979). Gödel, Escher, Bach: An eternal golden braid. Basic Books.

Kauffman, S. (2010). Reinventing the sacred: A new view of science, reason, and religion. Basic Books.

Kirk, G. S., Raven, J. E., & Schofield, M. (2010). The presocratic philosophers: A critical history with a selection of texts (2nd ed.). Cambridge University Press.

Lloyd, S. (2006). Programming the universe: A quantum computer scientist takes on the cosmos. Alfred A. Knopf.

Penrose, R. (2004). The road to reality: A complete guide to the laws of the universe. Jonathan Cape.

Sagan, C. (1980). Cosmos. Random House.

Susskind, L. (1995). The world as a hologram. Journal of Mathematical Physics, 36(11), 6377–6396.

Tegmark, M. (2014). Our mathematical universe: My quest for the ultimate nature of reality. Alfred A. Knopf.

Wheeler, J. A. (1990). Information, physics, quantum: The search for links. In W. H. Zurek (Ed.), Complexity, entropy, and the physics of information (pp. 3–28). Addison-Wesley.

Wigner, E. (1960). The unreasonable effectiveness of mathematics in the natural sciences. Communications in Pure and Applied Mathematics, 13(1), 1–14.

Wolfram, S. (2002). A new kind of science. Wolfram Media.

Zeilinger, A. (2005). The message of the quantum. Nature, 438(7069), 743.

--

--

Quantum Psychology, Biology and Engineering
Quantum Psychology, Biology and Engineering

Published in Quantum Psychology, Biology and Engineering

UFOs, Aliens, Psychics, Culture & the Quantum Domain: a Blog of Speculative Nonfiction

Michael Filimowicz, PhD
Michael Filimowicz, PhD

Written by Michael Filimowicz, PhD

School of Interactive Arts & Technology (SIAT) Simon Fraser University youtube.com/@MykEff