Skip to content
Philosophy for Kids

The Fill-in-the-Blank Trick That Changed Logic Forever

The Day You Discovered the Magic of Fill-in-the-Blanks

Even a simple fill-in-the-blank game is a schema—a pattern that can hold many different sentences.

Picture this: you’re twelve years old, and a friend hands you a fill-in-the-blank story. The page says, “One day, a ____ (adjective) dragon flew over the ____ (noun) and everyone screamed ____ (exclamation).” You write “sparkly” and “pizza” and “Yikes!” The result is ridiculous. But that silly game hides a secret that powers the deep parts of logic and mathematics. Logicians call it a schema.

A schema is a pattern for building sentences. It has two simple parts. First, a template-text — a string of words with empty holes, shown by underlines or capital letters like A and B. Second, a side condition — a rule that tells you exactly what can fill each hole and how to understand the fixed words. When you follow the side condition and fill the holes, you get an instance, a real sentence that belongs to the schema.

One of the most famous schemas was invented by the logician Alfred Tarski (1901–1983). He wanted to capture what it means for a sentence to be true. His template-text was:

… is a true sentence if and only if …

The side condition: the second blank must be filled with a declarative sentence of English, and the first blank with a name of that sentence. So if you take the sentence “zero is one” and put its name in the first blank and the sentence itself in the second, you get:

“zero is one” is a true sentence if and only if zero is one.

That instance is perfectly correct — even though zero isn’t one, so the whole statement is false. Tarski’s schema doesn’t force truth; it connects the truth of a sentence to the way the world is. Try a statement you’re unsure about: “every perfect number is even” is a true sentence if and only if every perfect number is even. The schema guarantees that if we ever figure out the math, the truth will match the world.

Another classic is the excluded-middle schema. Its template: Either A or it is not the case that A. The side condition: replace both A’s with the same well-formed declarative sentence. So you get instances like “Either zero is even or it is not the case that zero is even.” No matter what sentence you plug in, the result is always true. The schema is valid — it never leads to a false instance. But the template itself is not a sentence; you can’t call it true or false. It’s just a recipe.

Recipes for Sentences, Not Secret Codes

Placeholders (left) wait for words; variables (right) talk about all numbers at once.

It’s easy to mix up a schema with something that already talks about objects: an open sentence. In algebra, you see formulas like (x + y) = (y + x). The letters x and y are variables; they range over numbers. The formula says: for any numbers you put in, the sum is the same. So 2+3 = 3+2, -5+1 = 1+(-5), and so on. The open sentence already makes a claim about all numbers — it’s a genuine statement, even if it waits for you to pick specific numbers. A schema’s letters are not variables; they are placeholders, dummy marks that stand for the actual words or numerals you’ll later substitute.

Think of a recipe card: “Add X cups of flour.” The X is just a blank; it doesn’t range over cups that exist in the cupboard. It’s a slot for you to write a numeral. In the same way, the schema for commutativity of addition has the template (X + Y) = (Y + X), with a side condition that the two X’s must be replaced by the same numeral, and the same for the Y’s. The result is sentences like “(9 + 2) = (2 + 9).” The schema itself doesn’t mention numbers; it’s a rule in the metalanguage — the language we use to talk about the language of arithmetic. The placeholders X and Y live in the metalanguage, while the numerals 2 and 9 belong to the object language.

This distinction matters because schemas let us create infinite sets of sentences without writing them all down. If you tried to list every instance of (X + Y) = (Y + X) by hand, you’d never finish. But the schema captures them all in one short recipe.

Logic’s Favourite Move: Modus Ponens

In modus ponens, if the premises topple, the conclusion must fall.

Schemas aren’t just for single sentences — they can cook up whole arguments. An argument-text is two parts: a set of sentences called premises and a sentence called the conclusion. A famous argument schema is modus ponens, Latin for “method of affirming.” Its template:

A
If A then B
——————
B

The side condition: replace A and B with declarative sentences of English, and be consistent (each A must be the same, each B the same). Every instance of this schema is a logically valid argument: if the premises are true, the conclusion must be true. For example:

It is raining.
If it is raining then the picnic is cancelled.
——————
The picnic is cancelled.

This simple schema shows up everywhere, from daily decisions to computer programs.

In mathematics, schemas take on even more power. Consider the induction principle that helps prove things about all natural numbers (0, 1, 2, 3, …). In first-order number theory, the induction principle is not a single axiom but a schema. Using F as a placeholder for a property, the template says:

[F(0) and, for every number x, if F(x) then F(the successor of x)] implies, for every number x, F(x).

The side condition tells us to fill F with a formula having a free variable, and adjust the blanks accordingly. For instance, let F mean “x is not equal to its successor.” We get a specific instance that proves no number equals its own successor. But notice: there is a separate instance for every arithmetic property you can describe. Because there are infinitely many such properties, the induction schema gives infinitely many axioms — one for each formula you plug in. You never run out.

Some logicians prefer a second-order logic that treats the F as a real variable ranging over all properties. That lets you write a single induction axiom: “For every property F, [F(0) and (for any number x, if F(x) then F(sx))] implies for every number x, F(x).” The second-order version is stronger; it can prove things the first-order schema cannot. But it also assumes that properties exist as objects you can quantify over. Using a schema instead avoids that assumption — you only commit to the language you write down, not to a whole realm of properties. This is one reason schemas have fascinated philosophers of mathematics: they offer a kind of ontological economy.

Aristotle’s Ancient Fill-in-the-Blank Game

Aristotle’s syllogisms used placeholder letters long before the word “schema” was born.

Long before Tarski, the idea of a schema was already at work. The ancient Greek philosopher Aristotle (384–322 BCE) studied the forms of correct reasoning he called syllogisms. His moods were schemas. Take the famous mood called BARBARA. Its template-text:

P belongs-to-every M.
M belongs-to-every S.
——————
P belongs-to-every S.

The side condition: replace P, M, and S with common nouns, keeping each letter consistent, and read “belongs-to-every” as universal affirmation. For example: “Animal belongs-to-every human. Human belongs-to-every Athenian. Therefore, animal belongs-to-every Athenian.” Every instance is a valid argument. The placeholder letters are not variables but slots for nouns. By using them, Aristotle captured a whole family of correct argument patterns in one swoop.

The self-conscious use of the word “schema” in the modern sense came later. Bertrand Russell (1872–1970) once casually called a propositional function “a mere schema, a mere shell,” but his schemas were not exactly the syntactic templates we use today. It was Tarski’s 1933 paper on truth that made the notion explicit, with side conditions and all. For Tarski, a definition of “true sentence” for a language was adequate only if it implied every instance of his T-schema. In other words, the schema provided a test: if your definition didn’t generate all those instances, it wasn’t a real definition of truth.

Earlier, in the early 1900s, logicians had tried to use substitution rules with a finite set of axioms instead of schemas. The rules were meant to let you replace one formula with another, but stating them precisely was, in the words of one later logician, “intolerably complex.” The logician John von Neumann (1903–1957) introduced the device of axiom schemas — templates that generate axioms — which sidestepped the mess and made formal systems much cleaner.

Why Schemas Still Matter

One schema can unleash a flood of truths — in logic and in everyday technology.

Today, schemas are everywhere in logic, mathematics, and computer science. When you write a program, a loop that works for any input uses a kind of schematic thinking: the same pattern operates on infinitely many possible data points. In daily life, you use schemas without noticing. Have you ever said, “If it’s a Tuesday, then I have soccer practice”? That’s a modus ponens waiting to happen. Even the fill-in-the-blank joke is a schema — the pattern waits for words, and the fun comes from filling it unexpectedly.

Philosophers still debate what schemas really are. Are they just collections of their instances? Or are they rules in our heads? The template-text is a string of characters, a physical or ideal pattern. But the side condition is a rule — an intensional thing, something like a meaning. So a schema has a mixed ontological status: part string, part idea. This matters when we ask: does using a schema commit us to believing in properties, sets, or other abstract objects? Some argue that by switching from a second-order axiom to a first-order schema, you dodge having to assume that properties exist. Others point out that schemas themselves depend on a vast system of notation — a whole language — so you might be trading ontological economy in the object language for commitments in the metalanguage.

Whatever the answer, the schema trick remains one of philosophy’s most elegant inventions. It shows how a few simple words, with the right rules, can open a door to infinite possibilities. Next time you fill in a blank, remember you’re keeping company with Aristotle, Tarski, and all the logicians who used patterns to think about truth, numbers, and the shape of reason itself.

Think about it

  1. Think of a sentence pattern that always comes out true, like “Either ___ or not ___.” Can you invent a pattern that is always false? What does that tell you about how language and truth work together?
  2. If a machine could print every instance of the T-schema for every sentence in English, would that machine understand truth? Or is understanding something more than generating instances?
  3. Aristotle used schemas to capture valid arguments. Can you find a real-life argument (maybe from a movie or a conversation) and try to fit it into a fill-in-the-blank pattern? Does the pattern help you see why the argument works or fails?