Skip to content
Philosophy for Kids

Can a Computer Simulate How We Think?

The 17th Century Dream

Leibniz dreamed of a machine that could calculate right and wrong as easily as it added up coins.

In 1685, the philosopher Gottfried Wilhelm Leibniz (1646–1716) had a wild dream. He was tired of arguments that went in circles. He wanted to solve them with the cold, hard certainty of math. He imagined a future where people didn’t yell. Instead, they just said, “Let us calculate,” and a machine would instantly reveal who was right.

Leibniz wasn’t just a big thinker. He was a coder of cogs and gears, building a “stepped reckoner” that could multiply and divide. But his real vision went beyond arithmetic. He thought a perfect language of pure ideas could be fed into a machine, and the machine would churn out all the truths of philosophy. We haven’t built that perfect reasoning engine yet. But we built the next best thing: a virtual test lab for ideas. This new toolbox is called computational philosophy. It’s the art of building digital worlds to understand the real one.

Why We Disagree

If we only listen to the people closest to us, whole groups can drift into separate worlds.

Let’s borrow Leibniz’s toolbox and design a digital game. Imagine 25 students in a cafeteria. Each starts with a random opinion on pizza—rated from zero to one. Every few seconds, a student glances around. They take the average opinion of the people sitting near them. But here’s the trick: they only listen to opinions that are “close enough” to their own. If an opinion is too extreme, they ignore it completely.

This is called agent-based modeling. The students are agents, and they follow a simple rule: “update your belief based only on your neighbors.” Ranier Hegselmann and Ulrich Krause (2002) built this exact game, which they call a “bounded confidence” model. What happens next is fascinating.

If the “trust bubble” is tiny, the cafeteria shatters into tiny groups who never talk to each other. If the bubble is huge, everyone ends up with the exact same opinion. But if the trust bubble is medium-sized, something dramatic occurs: the agents split into two angry tribes. One group loves the pizza. The other hates it. They polarize. The model shows that a whole society can split in two without any single person wanting to start a fight. It is simply what happens when you only listen to people who already agree with you.

The Slow Path to Truth

In science, sometimes being less connected to the crowd helps you find the highest truths.

Let’s build a new team of digital agents. This time, they are scientists searching for a cure on a hidden epistemic landscape. Think of a dark mountain range. The higher the mountain represents a better and better cure. The scientists are blindfolded. They walk uphill by comparing their results with their friends.

Should these scientists share their results instantly—like a group chat on the internet? Or should they work in isolated labs and only mail letters to one friend? The philosopher Kevin Zollman (2010) tested this. He ran a simulation where scientists were connected in a complete network (everyone sees everything) versus a slow ring (each scientist talks to only two others).

You might guess the internet is better. The model shocked everyone. The slow, disconnected ring often outperformed the all-knowing network. Why? In the fast network, as soon as one scientist finds a decent hill, everyone else rushes to join them. They all camp out on a good-enough spot and stop exploring. They miss the giant hidden peak. In the ring, the scientists explore many more valleys and spots. Eventually, a slower one finds the highest peak and pulls the others along. The simulation suggests a weird truth: sometimes you need a weaker connection to find better answers.

The Invisible Fence

Even a tiny preference for neighbors who look like you can build large walls.

Let’s play one more game—a serious one about why cities look the way they do. In the 1970s, the philosopher Thomas C. Schelling (1921–2016) built a model of a city using pennies and nickels on a checkerboard. He programmed the coins with a mild preference: “You don’t have to be hateful. You don’t need to demand all your neighbors be like you. You only want that at least 1 out of 3 of your neighbors matches your own color. If you don’t get that, you move to an empty square.”

What happens? The checkerboard doesn’t stay mixed. Even with this tiny, non-violent bias, the board sorts itself into massive rigid blocks of color. All the pennies cluster together. All the nickels cluster together. This is an emergent social pattern—a big outcome that pops out of tiny individual choices. The model shows that a society can become severely segregated without any single person being a “villain.” The structure alone creates the injustice. Once philosophers and economists saw this simulation, they realized that fixing big unfair systems often requires changing the rules of the game, not just scolding the players.

A Mirror for Our Ideas

We never built Leibniz’s perfect dictionary, but we built a mirror that shows us how our minds connect.

So, did we finally build Leibniz’s perfect reasoning machine? Not quite. We haven’t solved all the arguments. But we evolved his dream into something perhaps more useful. We built a mirror to see our own blind spots. Computational philosophy uses everything from neural networks to theorem provers to show us the invisible dynamics of crowds, science, and language.

Today, philosophers are feeding the classic arguments for the existence of God into automated logic programs to find hidden mistakes. They are building robot colonies to figure out how language first emerged when cavemen had zero words. These models don’t offer final, absolute answers. What they do is dissolve lazy assumptions. They show us that a disconnected internet might protect scientific truth, and that a friendly neighborhood can secretly sort itself into rigid groups.

Philosophy used to just be asking questions. Now, using computer simulations, we can test the answers—and watch where they lead.

Think about it

  1. If a social media app knows that limiting your “trust bubble” causes anger and fights, do its designers have a responsibility to water it down by showing you opposing views?
  2. In the scientist model, being slow and disconnected was better for finding the highest truth. Should schools ever ban sharing notes instantly so that students have to figure things out in smaller pods?
  3. The city model shows that even mild bias sorts everyone into rigid groups. What invisible rules in your school might be sorting people apart, even if no one is acting mean?