Zero Labs
Industry News / AI

First Principles Thinking and a Skill to Use It

Source · Towards AI By Carmine De Stefano

From the publisher’s feed, collected in the ZeroLabs newsroom.

A practical way to strip a problem down to what you can verify, with Claude as your sparring partnerTetrahedron, cube and octahedron, three of the five solids of Plato’s Timaeus. Anonymous watercolors, 16th century, Herzog August Bibliothek, Wolfenbüttel (Cod. Guelf. 74.1 Aug. 2°). Source: The Public Domain ReviewIn the winter of 1619, a young soldier named René Descartes was stuck in Germany. The army had stopped for the cold, and he had a room heated by a stove and a whole day with nobody to talk to. Years later he described it in the Discourse on the Method. Alone with the stove, he looked over everything he had been taught and saw that most of it stood on other people’s authority.He compared his mind to a town. A city that grew from a village, house by house, ends up with crooked streets. A town drawn by one engineer on an empty plain comes out orderly. His beliefs were the first kind of town, and he wanted the second.More than four hundred years later we still run the same exercise, usually under a shorter name, first principles thinking.The oldest idea in the roomPlato tried the idea on matter itself. In the Timaeus he builds the world from five regular solids. Fire is the tetrahedron, earth the cube, air the octahedron and water the icosahedron, and the dodecahedron stands for the heavens. He builds the first four from just two kinds of triangle.As physics it failed. As a way of working, explaining many things with a few simple pieces, it still holds, and three of his solids are on the cover. In his primer on the subject at Farnam Street, Shane Parrish traces the whole tradition back to Plato, with Aristotle and Descartes adding to it.Aristotle called a first principle the starting point from which a thing is known, and the Greek word he used was archē. Euclid gave the idea its most famous shape. The Elements opens with a handful of definitions and postulates, and from them follow 465 propositions, each one reached by logic and nothing else.The method has two halves. You take a thing apart until the pieces cannot be reduced any further, and then you build it back using only those pieces. In my experience people do the first half with enthusiasm and forget the second, which is the half that produces something new.Why we copy by defaultMost of the time we reason by analogy. We look at what the best examples do and add a small tweak. This is efficient, and nobody should derive a bridge from the physics of steel every morning.It goes wrong when the example carries a hidden assumption, because the copy inherits it without anyone noticing. Elon Musk has told two stories about this, and I like them because they show the shape of the move.Diagram by the authorThe first is about batteries. As Shane Parrish retells it in his Farnam Street primer, battery packs cost about 600 dollars per kilowatt hour, and the accepted view was that they always would. Musk asked what a battery is made of, priced the cobalt, nickel, aluminum, carbon, polymers and steel can on the London Metal Exchange, and got about 80 dollars. I have not audited these numbers, but the logic holds. The gap between the two prices was a fact about manufacturing and habit, and had nothing to do with nature.The second is about rockets. He has said the raw materials in a rocket cost about 2 percent of its price, a figure Parrish repeats, so the question became where the other 98 percent goes. Part of the answer was that the vehicle is thrown away after every flight, as if airlines buried a jet in a field after each landing. The physics did not forbid cheaper launches. The habit of disposable rockets did.The method did not do the hard part, though. It told SpaceX what to question, and it did not make the answer easy. The company was founded in 2002 and landed a booster for the first time in December 2015. First principles gives you a floor and a gap, and the gap still has to be closed with years of engineering.The table that was wrongIn 1901 Wilbur and Orville Wright had a problem. Their gliders lifted less than the published tables said they should. The tables rested on work by Otto Lilienthal, who in turn used a coefficient from the engineer John Smeaton, published in the eighteenth century. The accepted value was 0.005. The brothers’ kite and glider flights pointed to something closer to 0.0033, and the modern value is about 0.00326.They could have kept adjusting the glider. They decided instead that the numbers were suspect, and built a wind tunnel in their bicycle shop in Dayton: a wooden box with a fan turned, through belts and shafts, by the shop’s gas engine. They ran first tests on more than two hundred wing shapes and then studied a few dozen in detail, producing lift data of their own.A number in a respected book looks like bedrock and is usually an assumption with a good reputation. The Wrights checked it against their own measurements.When bedrock movesEuclid’s fifth postulate, the one about parallel lines, bothered mathematicians for two thousand years. It looked less obvious than the others, so they kept trying to prove it from the rest and kept failing. In the nineteenth century Bolyai and Lobachevsky each built a consistent geometry in which it does not hold, and Riemann generalized the idea in 1854. Einstein later used that mathematics to describe gravity in general relativity.A principle that held for two thousand years turned out to be a choice. That changed how I use the word. A first principle is a status you grant a claim after testing it, and the status can be taken back. Parrish makes the same point with a refrigerator: the laws of thermodynamics are first principles for an engineer improving its efficiency, while a physicist can still break them into something deeper.I apply three tests before granting it. The claim must be verifiable, meaning you can point at a measurement or a proof. It must be irreducible, meaning another “why” does not reveal something deeper you could still use. And it must hold independently of convention, meaning it survives if every habit around it is thrown out.Facts you can settle and values you can’tHere the method meets its limit. It works well on questions like how much something costs or what is physically possible. It has little to say about what we ought to do, and David Hume noticed in the Treatise of Human Nature that writers slide from “is” to “ought” without announcing it.Take the debate on legal euthanasia. Some questions in it have answers in data: what happened in places that legalized it, how often the safeguards failed. Others do not: how to weigh a person’s autonomy against the risk of an irreversible mistake. The job of the method is to pull these apart, so that people stop arguing about facts when they disagree about values, and the other way around.Diagram by the authorItaly offers a smaller example. The minimum wage debate is usually framed as yes or no. But a floor already exists in practice: Article 36 of the Constitution promises a wage sufficient for a dignified life, and courts use collective agreements as the reference. The live question becomes the tail of contracts that pay below that floor and which tool should reach them, which is a better argument to have than the one on the poster.Four ways to get it wrongThe first is to take everything apart for sport. Most problems do not deserve it. Someone choosing between Postgres and MySQL for a personal blog needs one sentence about what their host supports, and no seminar. Parrish’s own advice is to go a level or two deeper than most people do, and to stop well short of atoms.The second is to knock down fences. G. K. Chesterton described, in The Thing, a reformer who finds a fence across a road and says he cannot see the use of it. The wiser answer, Chesterton says, is that if you cannot see the use, you may not clear it away: go and find out why it was built, and only then can you be trusted to remove it. Before dropping a convention, ask why it might exist, because the reason is sometimes still there.The third is to promote an opinion to a principle. “Customers want feature X” sounds like a fact and is usually an inference from three support tickets. It fails the first of the three tests above.The fourth is to stop at the first satisfying answer. A ladder of whys ends at a law, a measurement, a requirement with an owner, a value, or an honest “I don’t know”. Anything else is a rung in the middle, however good it feels to stand on.Diagram by the authorFour small casesI ran the skill described below on twenty problems, some borrowed from real life and some invented, covering software, business, health, public policy and ethics. Four of them stayed with me.A team doubled its checkout latency at the 99th percentile, which is the time taken by the slowest 1 percent of requests, after splitting a monolith into microservices. Their plan was to add a Redis cache. The analysis pointed out that when one request fans out across many services, the slowest of them sets the pace, an effect Jeffrey Dean and Luiz André Barroso described in “The Tail at Scale” (2013). A cache speeds up the common case and can leave the tail alone. The team had a solution that arrived before a diagnosis.A hospital hired six doctors to cut a five hour wait in its emergency room. Six doctors work out to roughly one and a half people on shift at any hour, before holidays and sick leave. The better question was where the five hours pile up, and a likely answer is boarding, which is when admitted patients wait in emergency beds because the wards are full. The Institute of Medicine named boarding as a major driver of crowding in its 2006 report, Hospital-Based Emergency Care: At the Breaking Point. The analysis marked this as a hypothesis to measure and left it there.A city was asked for a technical opinion on adding a third lane to its ring road, at a cost of 80 million euros. The economists Gilles Duranton and Matthew Turner found in 2011 that in American cities the distance driven grows roughly in proportion to the lanes added. New lanes fill up. The question changes from yes or no to where, and why, the queue forms.The fourth was a simulated conversation. A user who joins a gym every January and quits by March asked whether they were simply lazy. Over a few turns the dialogue moved the question from “I stopped” to “I did not come back”. One missed week had become proof that the plan was over, and every plan the user had tried was built for starting and never for missing. That points to a cheap experiment: decide in advance what happens after the first missed week.Each of the four had a proposed answer standing in front of the question.Why another skillBefore building anything I read what exists. A code review skill in the Aegis project checks the goal, then the architecture, then the implementation, and keeps its first pass to five lines. The thinking-partner skill by mattnowdev carries more than 150 mental models and tries to notice when a user wants validation and not an answer. A Socratic coach published by aAAaqwq walks through five steps: state the problem, list assumptions, challenge each one, find fundamentals and rebuild.Each is good at its own job. In the ones I read, I did not find a rule for when to stop, a way to handle a question that is really about values, a plan for the common case where you have no data at all, or a way to end a conversation without dumping a report on someone who is hurting.How the skill thinksThe skill is a folder: a main file of about 150 lines and five reference files that load only when needed. Its first rule is about purpose. Success is a reframe the user did not have before, and a filled template does not count. Every report opens with a section called “What this changes”, before any table.Diagram by the authorIt begins with triage, which has four rungs. If one cheap fact decides the matter, it gives a one line answer. If the goal is clear and one assumption looks shaky, it writes five lines, borrowed and adapted from the Aegis skill. A real uncertainty gets a standard pass of about a page, and an irreversible, high stakes decision gets a deep one. Legal or ethical exposure moves anything up to at least standard.Diagram by the authorThe five lines look like this:First principle: what irreducible outcome must this satisfy?Non-negotiables: which constraints cannot be broken?Assumptions to drop: what is habit, inherited shape or unproven preference?Smallest sufficient path: the least complex route that satisfies the first principleEscalation signal: what finding would call for a deeper pass?There are two modes. As an analyst it does the work and returns a report. As a coach it talks with you, asks one question per message, hunts for the single assumption holding up the roof, and offers its own reading as a hypothesis if you stall. A coach never ends with a table. The closing is a few sentences of prose: the reframe, what is still unknown, and one cheap experiment.Inside either mode there are seven moves. Name the frame the question arrives in, such as “this feature or that one”, and ask what both sides assume. Break the headline number into the parts it is made of. Find the few assumptions that would dissolve the problem if they were false. Climb the ladder of whys. Separate facts from values. Rebuild options from what survived. Then attack the result with a falsifier, which is a specific piece of evidence that would prove it wrong.Diagram by the authorNone of these moves is new. The ladder of whys is the Five Whys, which Parrish illustrates with a child who keeps asking a parent why, and the questions behind it follow the six steps of Socratic questioning he lists: clarify the thinking, challenge assumptions, look for evidence, consider other perspectives, follow the consequences, and question the question itself.For the hospital, the top of the report reads like this:What this changes: “Hire six doctors?” may be the wrong question. The five hour wait may come from beds upstairs, so the question becomes where in the patient’s path the time piles up.Two special cases get their own rules. When evidence is missing, the skill says so in one line and swaps principles for a diagnostic tree: each competing hypothesis, the cheapest observation that tells them apart, and what each outcome means for the decision. When a question is contested, moral, political or cultural, it follows a short protocol. It grades each side’s factual claims as supported, mixed or unsupported, states the strongest honest version of each side, finds the crux, and checks its own neutrality by swapping the sides to see whether the framing would stay the same.“Who is right?” gets special handling. The skill says what the evidence settles and says that the weighing of values belongs to the user. For a choice in the user’s own life, it will offer a conditional leaning if asked again, labelled as a value judgment the user can discard. On hot button public issues it states openly that it does not pick a side.What the tests showedI tested it in two rounds of ten problems. The first round covered software, business, health, public policy and operations. The second covered social, political, moral and cultural questions. For each problem a separate agent applied the skill and then graded it as a catalyst for thinking. The first version scored around 3 out of 5, and three problems kept coming back: tables full of “unknown” when there was no data, coaching dialogues that ended in a template dump, and no good answer for a user who asks “who is right?”.The rewrite fixed those. In a second pass over four cases the scores rose to between 4.2 and 4.5. I would not treat those numbers as an audit. The judges are language models too, and in the dialogues the same agent played the user, who was a little too cooperative. The scores work like a smoke detector: they tell you when something burns and say little about the fire safety of the whole house.The harder test is yours. The skill is on GitHub at cadeos/first-principles-skill. Clone it into ~/.claude/skills/first-principles, start a new session and ask Claude to analyze something from first principles. A problem where everyone already agrees on the answer makes a good first try.The stove stays litDescartes did not tear down his house and sleep in the street. In the third part of the Discourse he writes that before pulling down the house you live in, you must make sure you have somewhere to live while you rebuild. He adopted a provisional set of rules, obeying the laws and customs of his country, and kept to them while he doubted everything else.That is Chesterton’s fence seen from the other side, and it is the part of the method I find hardest. You can question every wall, one at a time, while still living in the house. Pick the wall that bothers you most this week. Ask what is holding it up, check whether it is a law, a measurement or a habit, and keep the stove lit while you find out.SourcesShane Parrish, What Is First Principles Thinking?, Farnam Street, 2018 (the Musk examples, the refrigerator, the Five Whys and the Socratic questions)Chesterton’s Fence: A Lesson in Thinking, Farnam StreetPlato, Timaeus, translated by Benjamin Jowett, Project GutenbergRené Descartes, Discourse on the Method, 1637, translated by John Veitch, Project GutenbergDavid Hume, A Treatise of Human Nature, 1739, book 3, part 1, section 1, Project GutenbergEuclid, Elements, edited by David E. Joyce, Clark UniversityMacTutor History of Mathematics, Non-Euclidean geometry, University of St AndrewsNASA Glenn Research Center, Wright 1901 glider tests and Wright Brothers Aeroplane Company, The 1901 wind tunnelJeffrey Dean and Luiz André Barroso, The Tail at Scale, Communications of the ACM, 2013Institute of Medicine, Hospital-Based Emergency Care: At the Breaking Point, National Academies Press, 2006Gilles Duranton and Matthew A. Turner, The Fundamental Law of Road Congestion: Evidence from US Cities, American Economic Review, 2011Constitution of the Italian Republic, Article 36, Senato della RepubblicaCover: Solid Objects: 16th Century Geometric and Perspective Drawings, The Public Domain Review, from a manuscript at the Herzog August Bibliothek, WolfenbüttelFirst Principles Thinking and a Skill to Use It was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.