Codes and Computers
The bridge from pure math to algorithms, statistics, and models.

The lesson
Simons’s path into quantitative investing did not come from business training. It came from a deep attachment to mathematical thinking: he describes math as natural to him and emphasizes its beauty and clarity rather than status or immediate use123. That matters because it helps explain why he later looked at markets as something to study structurally, not just something to speculate on.
The Institute for Defense Analyses was the bridge. In the recordings, Simons says that at IDA he was doing codebreaking work and, more importantly for his later career, learning how to work with computers, algorithms, statistics, probability, and models4. He describes enjoying the full cycle of forming an attack, designing an efficient algorithm, testing it on data, and seeing what came out; he explicitly says that later model-building from data was learned there5.
This is the key intellectual shift of the chapter: from proving elegant mathematical results to building procedures that interact with messy evidence. At IDA, Simons learned not just to think abstractly, but to search for signals in data and evaluate them systematically through computation5. That experience made it plausible to him that price patterns might also be studied mathematically or statistically, which is exactly how he later describes the beginning of his market work6.
When Simons moved into investing, he did not treat the market as a place for hunches forever. He says he saw patterns in prices, began studying whether prices might be predicted mathematically or statistically, brought in other people, and gradually built models that replaced the earlier fundamental approach6. His later remark that there should be a way to systematize trading shows the continuity: the habit formed in codebreaking became a habit of turning judgment into repeatable research and rules7.
So why did IDA matter so much? Because it gave Simons a working template for quantitative research: use computation, test ideas against data, build and refine models, and let the model guide action. That same mindset appears later in his description of Renaissance, where model-driven decisions and the discovery of many predictors matter more than a single grand theory89. The chapter’s lesson is that IDA was not a side episode; it was where pure mathematical talent was connected to algorithmic, statistical practice.
3 principles from Jim Simons
Treat data as something to model, not just observe
Simons’s account of IDA shows an active process: propose an attack, design an algorithm, test it, and learn from the result. In your own work, move from noticing patterns informally to building explicit methods that can be checked against evidence.
“And in looking at the patterns of prices, I could see that there was something we could study here, that there were maybe some ways to predict prices mathematically or statistically. And I started working on that and then brought in some other people and gradually we built models, and the models got better and better, and finally the models replaced the fundamental stuff. So it took a while. I would have thought with your background in mathematician this would have almost occurred to you immediately, like you would have straight away seen this. Well, what was the 2-year delay? >> Well, two things. I saw it pretty early but, and I brought in a guy who was a…”
Systematize good judgment
A recurring step in Simons’s transition is the move from intuition and fundamentals toward models and repeatable procedures. If you think something works, ask how to turn it into a rule or research process others could apply consistently.
“There should be a way to systematize it…”
Let computation extend mathematical thinking
IDA mattered because it added computers and algorithms to Simons’s mathematical background. The practical application is to pair theoretical insight with tools that can search, test, and refine ideas at scale.
“What we were supposed to do is, uh, break Russian codes.”
Moments to watch
In his own words
The quotes behind the lesson, word for word from the transcripts. Numbers match the lesson above.
“It was very natural and I I always liked it.”
“It was just a beauty. It was just a beauty of it.”
“And it made me appreciate the beauty of mathematics.”
“What we were supposed to do is, uh, break Russian codes.”
“But I really liked that whole process. I liked everything about it. I like designing an algorithm uh you know coming up with some attack, designing an efficient algorithm to uh to test it out and uh seeing how it came out. I mean you know it was uh like fishing or something. I don't know. I actually I don't like fishing because you never catch anything. But here I felt uh we might catch something every once in a while. And uh it was a lot of fun. I liked I I liked it all. And I'd never seen anything like that. So um yes, you're right. Later on that experience of making models, looking at data, making models to try to interpret the data uh was certainly learned there. Uh and I if I hadn't been there uh I think the the business that we built later would never have occurred.”
“And in looking at the patterns of prices, I could see that there was something we could study here, that there were maybe some ways to predict prices mathematically or statistically. And I started working on that and then brought in some other people and gradually we built models, and the models got better and better, and finally the models replaced the fundamental stuff. So it took a while. I would have thought with your background in mathematician this would have almost occurred to you immediately, like you would have straight away seen this. Well, what was the 2-year delay? >> Well, two things. I saw it pretty early but, and I brought in a guy who was a…”
“There should be a way to systematize it…”
“Whatever the model says, they do.”
“…we found lots of predictors over the years…”
Reflect
- What part of your current work still depends mostly on intuition, and how could you convert it into a testable process or model?
- Where have you learned a method in one field that might transfer to a very different field, the way codebreaking methods later informed investing for Simons?
- If you had to let a model overrule your personal judgment in one recurring decision, what evidence would you need before trusting it?
Check your understanding
Go deeper
Jim Simons on Mathematics to Quant Investing: From Geometry to Markets2007 · 61 min · full transcript
Jim Simons on Math, Codes, and Investing: A Life in Five Parts103 min · full transcript
Jim Simons on My Life in Mathematics: From Geometry to Quant Investing2014 · 52 min · full transcript
Jim Simons on Mathematics And Quant Investing: From Proofs to Markets160 min · full transcript
Jim Simons on Math and Philanthropy: A Short Story of My Life2022 · 16 min · full transcript
Jim Simons on Quantitative Investing: From Math to Medallion2016 · 88 min · full transcript