Satisfaction and Truth

Tarski's definition — how formulas come alive in structures

Satisfaction and Truth

When is a formula true in a structure? Tarski's answer is a recipe you can run by hand, and these demos run it in front of you, then turn it into a game.

Step-by-Step Formula Evaluation

Pick a structure and a formula, then step through the evaluation tree. Watch the green and red truth values climb from the atomic formulas at the leaves up to the root.

Formula Evaluator

Choose a structure and formula, then step through Tarski's recursive evaluation. Truth values propagate from atomic formulas up through quantifiers.

Small Graph: Domain = {a, b, c}, R = {(a,b), (b,c), (c,a)}
∀x∃y R(x,y)
∃y R(a,y)
R(a,a)R(a,b)R(a,c)
∃y R(b,y)
R(b,a)R(b,b)R(b,c)
∃y R(c,y)
R(c,a)R(c,b)R(c,c)
Go deeper:Satisfaction and Truth

Alfred Tarski's definition of truth is one of the great achievements of 20th-century logic. It answers a deceptively simple question: what does it mean for a formula to be true in a structure? The notation M ⊧ φ[a] says that structure M satisfies formula φ under assignment a, and this relation is defined by recursion on the complexity of φ.

Atomic formulas are checked directly against the interpretation of relation and function symbols. Negation ¬ flips the truth value, conjunction ∧ and disjunction ∨ combine truth values in the expected way. The universal quantifier ∀x requires truth for every element of the domain, while the existential quantifier ∃x requires at least one witness. A structure that makes a sentence true is called a model of that sentence.

Key insight: Truth in a structure is not a matter of opinion or interpretation -- it is determined mechanically by Tarski's recursion. Each quantifier ∀x or ∃x checks every element or finds one witness, and the truth of the whole formula is built up from these atomic checks.

Which Structures Are Models?

Pick a sentence and see which of the five structures satisfy it. A green checkmark marks a model; a red X marks a structure where the sentence fails.

Model Checker

Select a sentence and see which structures are its models (green) and which are not (red).

Checking: ∀x∃y R(x,y)

Cycle

✓
Domain: {a, b, c}
a→b→c→a
abc
Every element has at least one R-successor

Complete

✓
Domain: {1, 2, 3}
All pairs (no self-loops)
123
Every element has at least one R-successor

Linear Order

✗
Domain: {1, 2, 3}
1<2<3
123
Element 3 has no R-successor

Self-loops

✓
Domain: {x, y, z}
Only R(x,x) for all x
xyz
Every element has at least one R-successor

Empty

✗
Domain: {p, q, r}
No edges at all
pqr
Element p has no R-successor
Result: 3 of 5 structures are models of ∀x∃y R(x,y).
Go deeper:Which Structures Are Models?

Key insight: A single sentence can carve the universe of structures into two classes: its models (where it is true) and its non-models (where it is false). Model theory studies these classes and the structures that inhabit them.

The Ehrenfeucht-Fraïssé Game

Press Start Game. Spoiler picks an element in one chain, and you, as Duplicator, answer with an element of the other. Keep the order between your picks matching in every round to win.

Quantifier Game (EF Game)

Play as Duplicator in a 2-round EF game. Spoiler picks an element in one structure; you pick a matching element in the other. Win by preserving all atomic relations.

3-chain

abc

4-chain

1234
How it works: In the Ehrenfeucht-Fraïssé game, Spoiler tries to expose a difference between two structures by picking elements. Duplicator tries to show they are alike by finding matching elements. After k rounds, if the chosen elements form a partial isomorphism (preserving all atomic relations), Duplicator wins. The structures are k-equivalent if Duplicator can always win the k-round game, regardless of Spoiler's strategy.
Go deeper:The Ehrenfeucht-Fraïssé Game

The Ehrenfeucht-Fraïssé game gives us a remarkable tool for understanding when two structures are indistinguishable by first-order sentences up to a given quantifier depth. Two structures satisfy the same sentences of quantifier rank k if and only if Duplicator can win the k-round EF game between them.

Key insight: The EF game captures elementary equivalenceat bounded quantifier depth. Two structures satisfy the same sentences of quantifier rank k if and only if Duplicator has a winning strategy in the k-round game. This game-theoretic characterization makes it possible to prove that certain properties cannot be expressed in first-order logic.

Key Takeaways

  • Truth in a structure is computed by recursion on the formula.
  • A model of a sentence is a structure that makes it true.
  • One sentence splits all structures into models and non-models.
  • Duplicator wins the k-round EF game exactly when no rank-k sentence tells the structures apart.

Spot a mistake or have an idea?

Search