Chapter 3: The Mind as a Computer - The Mathematics Map
- Jan 8
- 8 min read
Updated: Jan 20
The below are excerpts from Chapter 3…
We mistake our reflexes for our identity.
You are not your thoughts or feelings. Those are rapid automatic reactions arising from small regions of the brain, but you are far more than these quick immediate impulses. You are the entity that actually manages them.
To manage them well, you need friction, to buy time so that the rest of your brain can also have input. The following five exercises will help you harness other parts of your brain to make smarter more strategic decisions:
1. Wait 90 Seconds:
When triggered, freeze. Let the chemical surge pass. Don't let your nervous system make decisions for you.
2. Name It: "I am angry." "I am anxious."
Labeling the feeling breaks its spell.
3. Check the Body:
Unclench fists. Relax the jaw. Fix your posture.
You cannot have a calm mind in a tense body.
4. Set Guardrails: Rules save you from yourself.
"No decisions when hungry." "No texting when angry." Good infrastructure beats good intentions.
5. Train Focus: Attention is a muscle. If you don't train it, it will get weak. Hear some exercises to strengthen the real you…
a) journaling,
b) practicing identifying, labeling emotions and noticing and stating them anytime you encounter them,
c) identifying automatic thoughts, challenging their validity
d) regularly practicing taking long slow deep breaths and other mindfulness exercises to bring you back to the present when you find yourself feeling anxious, overwhelmed often by ruminating on past events or future worries
These exercises will strengthen your mind. And a strong mind will shift your focus from automatic reactions to the things in your life that actually matter to you long term, and prioritize those with strategic actions while helping ignore the rest as meaningless noise.
Think of it this way:
Your mind is a horse.
You are the rider.
Stop letting the horse decide where you're going.
The Brain: A System Architecture Review
Calling the brain a computer isn’t a teaching trick for tech people. It’s a statement of ancestry. Long before we learned to carve logic gates into silicon wafers, evolution had already built a wet machine that could forecast outcomes, compress lived experience into memory, and replicate itself with brutal efficiency.
Computation wasn’t invented. It was discovered. We stumbled onto it the same way we stumbled onto flight (by trying to reverse-engineer something nature had already made work under unforgiving conditions for a billion years).
Our machines are impressive, sure, but they’re brittle knockoffs. They overheat, freeze, crash, and need clean rooms to be born. The biological original runs on water and sandwiches, repairs itself mid-operation, and survives toddlers, alcohol, and decades of bad sleep.
So walk through the brain the way you’d tour a high-frequency trading floor or a city power grid. Not to kill the mystery, but to see the constraints, the hacks, and the ruthless optimizations that keep the whole thing upright.
The Cerebral Cortex: The Simulation Engine
Yes, it’s the processor. No, it’s not a calculator. Calculators are deterministic; 2 plus 2 always equals 4. The cortex lives in probability.
This thing is a prediction engine built from folded gray matter, running something very close to a continuous Monte Carlo simulation. In finance and physics, Monte Carlo methods brute-force uncertainty by running thousands of possible futures and betting on the most likely one. Your cortex does that every second. Before your hand touches a coffee cup, it has already guessed the weight, temperature, and grip force needed. Sensation actually comes second. Prediction comes first.
The operating loop is simple and relentless: Perceive. Predict. Update.
The brain generates a best guess of reality, a hallucination effectively, compares it to incoming data, and only revises the model when it’s embarrassed by error. That jolt you feel when the “empty” milk carton is suddenly heavy? That’s a prediction failure.
This is where abstractions live. Money, deadlines, morality, identity. The cortex is a sandbox where ideas get prototyped, broken, rewritten, and quietly shipped into production as beliefs about the world.
The Limbic System: Legacy Code and Technical Debt
Underneath the shiny new cortex sits older software. You can’t delete it. Everything depends on it.
In software engineering, technical debt is the ancient, messy code nobody understands but everyone is afraid to touch because the whole system collapses if it breaks. The limbic system is that code. It predates language, culture, and logic. It runs the survival loops, and it’s basically spaghetti code, functional, but chaotic.
Amygdala
The Amygdala isn't just a fear center. It’s a threat classifier with a manufacturing defect. It’s tuned to overreact because the cost function is asymmetric. In the wild, a false alarm costs you a few calories; a missed threat costs you your life. It would rather panic at shadows than ever ignore a predator. An intelligent wager in the premodern era, but a poor one in a world designed by our collective prefrontal cortices to punish impulsive decisions and reward long term planning.
That’s why your imagination runs wild with terrifying possibilities when it's dark outside. And an amygdala that's experienced trauma will trigger the flight or fight response in response to any stimuli that it associates with the traumatic event, taking the wheel away from your cortex in order to make rapid life and death decision, even when the situation doesnt warrant such a response.
Hippocampus: Lossy Compression
People treat memory like a video recording. It’s not. It’s lossy compression, like a JPEG that’s been saved too many times.
The hippocampus is a biased archivist. It strips away the boring details (the commute) and amplifies the emotional metadata (the near-accident). It prioritizes data based on "emotional arousal." But here’s the kicker, every time you recall a memory, you’re re-rendering it. And then you save the new render, not the original. That’s why our oldest, most cherished memories are often the least accurate; they’ve been re-saved with artifacts so many times they’re barely recognizable compared to the source material.
Hypothalamus
The background process manager. Temperature, thirst, hunger, hormones. It balances the internal budget without asking you for input. You don’t negotiate with it. You comply. If you ignore the basic needs it asking for, to satisfy your hunger or thirst for example, you will become easily angered and much worse at making decisions.
Therapy isn’t deletion. You’re not ignoring the limbic system. You’re building better API drivers so that you can address its needs, manage its triggers, and learn when to let it drive and when to give the wheel back to the cortex rather than allowing legacy hardware to trigger a system crash.
The Brainstem: The Kernel
At the base is the part that never goes offline. This is the kernel, the BIOS. Breathing. Heart rate. Blood pressure. Arousal. It boots on before the rest of the brain even finishes forming and keeps running if the “you” part disappears. Damage upstairs changes personality. Damage here ends the process entirely. There is no reboot from a kernel panic in the brainstem.
The Cerebellum: The PID Controller and Edge Computing
Behind everything sits the movement optimizer. The Purkinje cells (the workhorse neurons of the cerebellum) each have over one hundred thousand dendritic inputs each making subtle adjustments to your motions based on real time feedback.
Engineers use PID controllers in cruise control systems, robotics, and drone stabilization. They constantly calculate the difference between where you are and where you want to be, then apply smooth corrections to close the gap. That’s the cerebellum.
But think of it also as Edge Computing. In a massive network, you don't want to send every tiny data packet back to the main server (the cortex) for processing, that’s too slow. You process it at the "edge," near the action. The cerebellum handles the micro-adjustments locally so you don’t shatter the glass or trip over your feet. It converts sloppy intent into fluid motion. It’s an autopilot trained on years of experience navigating the world around you.
Neurons: Trillions of Decision Trees - Voting Machines
Neurons aren’t clean little 1s and 0s. That’s a comforting lie we tell ourselves to make the math easier. They are probalistic, akin to quantum systems. Each neuron recieves on average 10,000 dendritic inputs and if the average of these inputs bring the neuron above its threshold, its axon(s) output a signal which in turn influences thousands of other neurons as to whether they should fire or not.
This is why neurons are not switches. They’re town halls. Every dendritic tree is a giant antenna forest, soaking up chemical votes from thousands of neighbors. Excitatory inputs whisper “go,” inhibitory ones say “hold,” and the cell body sits there adding it all up like a betting exchange. When the weighted sum crosses threshold, boom, a spike.
These are probabilistic algorithms that regulate analog, threshold-based voting machines. Imagine a tired bureaucrat at a desk. Thousands of messages arrive. Some shout “Go” (excitatory). Others shout “Stop” (inhibitory). The neuron sums the chaos, and only if the “Go” votes outweigh the “Stop” votes by a specific margin does it act.
Multiply that by 86 billion. No central clock. No master controller. No overseer. Just distributed computation at a scale that makes the internet look quaint.
Myelin: Latency Arbitrage
Speed is everything. Myelin is the insulation around the cables.
In high-frequency trading, firms spend obscene amounts of money shaving milliseconds off transmission times to beat the market. That’s latency arbitrage. Myelin does the same thing for thoughts. Healthy myelin means fast, clean signaling. When it degrades, the same circuits exist, but the lag destroys performance. Same hardware, worse bandwidth.
Glial Cells: Garbage Collection
Neurons get the glory. Glia keep the lights on.
In military terms, this is logistics, the tooth-to-tail ratio. For every unit doing the fighting, many more keep it fed, fueled, and repaired. But let’s use a coding analogy: Garbage Collection.
In programming, if you don't clear out memory you're no longer using, the system clogs up and crashes (memory leak). The brain’s computations produces lots of metabolic waste ie. toxic proteins and carbon dioxide (which wouldnt be a waste product if our cells had chlorophyll to use the co2 for photosynthesis the way plants do).
The Glymphatic System (managed by glia) is the nightly garbage collection script. It floods the brain with fluid while you sleep to wash out the trash. Your neurons physically contract while you sleep to help it remove waste products. But if you don't sleep, the garbage collector doesn't run very well. Waste piles up, the system lags, then glitches, and eventually suffers permanent hardware damage.
The Corpus Callosum: The Bus
The cortex actually consists of two fully functional independant cpu cores. They analyze the same inputs and compare notes. The corpus callosum is the high-capacity data line connecting these hemispheres. In computer architecture, it’s bus width.
Cut it and you don’t get silence. You get two semi-independent consciousnesses sharing one body, unable to pass notes. Raw processing power isnt useful without the tight integration that the Callosum provides.
Neurotransmitters: The Weights
Electrical spikes carry data. Chemistry sets the vibe. Dopamine controls the reward pathway and boosts the signal of “this matters” (Signal gain). Serotonin in most locations decreases anxiety by smoothing volatility (Compression, but certain Seratonin receptors can also exacerbate psychosis in people with Schizophrenia). Norepinephrine sharpens attention toward threats and is associated with the fight and flight response (High-pass filter).
Same circuitry, different chemical mix, completely different subjective reality. That’s mood. It's the same song played with different EQ settings.
Final Thought: The Self-Rewiring FPGA
Calling the brain a machine doesn’t reduce it. It reveals how far ahead of us the design already is.
Our chips are frozen at manufacture. Logic etched, fixed forever. The brain behaves more like a self-reprogramming FPGA (Field-Programmable Gate Array), except it rewires itself while running, without shutting down, and uses lived experience as the configuration file.
It patches bugs through failure. It studies its own errors. It physically reshapes itself in response. That’s why learning works. Why recovery happens. Why fear can dissolve instead of fossilizing.
In short, if this is what real Artificial General Intelligence (AGI) requires, we are still decades away from true AGI. In our brain, unlike on our analog computers, software doesn’t just run on hardware. Given enough repetition, the software reconfigures the hardware. This is why people can learn from, adapt to, and adjust for just about anything.
More importantly, when working properly (ie. when attention is not hijacked by emotions or automatic thoughts), our brains makes Bayesian inferences. Our software makes multiple simultaneous predictions, hypothesizes how different scenarios may play out, assigns probabilities and then pursues the most promising ones. This is something that analog computers are quite poor at. And its where quantum computing holds the greatest promise.



Comments