Frege, Quantifiers, and Logical Form

Why variables, scope, and explicit inference changed the representation of mathematical proof, and how Frege's project differed from modern first-order logic.

An argument may be convincing while leaving its logical structure partly unstated. Ordinary mathematical writing relies on the reader to track the range of variables, the dependence of one choice on another, and the rules that justify moving between assertions. That flexibility makes exposition readable, but it complicates the investigation of proof itself.

Gottlob Frege's Begriffsschrift, published in 1879, proposed a formal language in which these dependencies could be made explicit. His purpose was not simply to abbreviate mathematical prose. He wanted to expose the inferential structure needed for a rigorous foundation of arithmetic.

Portrait of Gottlob Frege around 1879
Gottlob Frege (1848–1925) Quantification, function–argument analysis, and formal derivations.
Sources and credit for Gottlob Frege

Unknown photographer, circa 1879, public domain, via Wikimedia Commons Image source · Public domain · Biographical dates

The algebraic tradition had approached logic through operations on classes and relations. Frege's approach centered on the analysis of judgments and complete derivations. The traditions eventually contributed to a shared field, but their original questions and representations differed.

From grammatical form to function and argument

The grammatical subject of a sentence is not always a reliable guide to its logical structure. “Ada admires Beatrice” and “Beatrice is admired by Ada” express the same relation despite organizing the sentence differently.

Frege analyzed an expression by separating a function from its arguments. In modern notation,

A(a,b)A(a,b)

can represent the assertion that Ada admires Beatrice. Replacing aa while holding bb fixed varies the admirer; replacing bb varies the admired person. Both positions are visible in the formula.

A one-place predicate such as M(x)M(x), meaning that xx is a mathematician, is one instance of this broader pattern. The analysis is no longer restricted to a subject followed by a single class predicate.

This explanation uses present-day notation. Frege's account of functions, concepts, objects, and judgments has its own development, and the terminology of his later works should not automatically be read into every detail of the 1879 book. What persists is the importance of analyzing expressions through the positions that can be varied.

Quantifiers bind occurrences, not merely letters

Consider

x(M(x)yT(y,x)).\forall x\bigl(M(x)\to\exists y\,T(y,x)\bigr).

This says that every mathematician has someone who teaches them. The first quantifier binds occurrences of xx within its scope; the second binds yy. The relation T(y,x)T(y,x) displays who teaches whom.

Binding is more than a typographical convention. It determines which substitutions are legitimate. The letter used for a bound variable is arbitrary, provided it is renamed consistently and without interfering with other bindings:

xM(x)andzM(z)\forall x\,M(x) \qquad\text{and}\qquad \forall z\,M(z)

express the same generality.

By contrast, a free variable is a position whose value has not been supplied by a quantifier. In T(y,x)T(y,x), considered by itself, both variables are free. Its truth depends on an assignment of objects to those variables.

This distinction becomes essential when formulas are manipulated by rules. Suppose

φ(x)=yR(x,y).\varphi(x)=\exists y\,R(x,y).

If we want to replace the free occurrence of xx by the free variable yy, we must first rename the bound variable:

zR(x,z).\exists z\,R(x,z).

The intended substitution then gives zR(y,z)\exists z\,R(y,z). Directly writing yR(y,y)\exists y\,R(y,y) would capture the substituted variable and change the assertion. An exact logical language must make such operations precise.

Why the order of quantifiers matters

Two formulas can contain the same predicate and the same quantifiers while making different claims:

xyR(x,y),yxR(x,y).\forall x\,\exists y\,R(x,y), \qquad \exists y\,\forall x\,R(x,y).

In the first, the choice of yy may depend on xx. In the second, one yy must work for every xx.

Take the natural numbers and interpret R(x,y)R(x,y) as x<yx<y. The first formula is true because x+1x+1 supplies a suitable witness for every xx. The second is false because no natural number exceeds every natural number.

The example also clarifies the direction of implication. A single witness that works universally supplies a witness for each individual case. Therefore the second formula implies the first in this setting of a nonempty domain. The reverse implication fails.

Mathematical analysis made this distinction especially important. Continuity of a real-valued function ff at a real point aa can be written as

ε>0  δ>0  x(xa<δf(x)f(a)<ε).\forall\varepsilon>0\;\exists\delta>0\;\forall x\, \bigl(|x-a|<\delta\to|f(x)-f(a)|<\varepsilon\bigr).

The choice of δ\delta comes after ε\varepsilon and may depend on it. The value xx, however, is considered after δ\delta has been fixed. One neighborhood must control all the relevant xx's for that tolerance.

Requiring a single δ\delta to work for every positive ε\varepsilon would usually assert much more. For f(x)=xf(x)=x at a=0a=0, ordinary continuity holds, with δ=ε\delta=\varepsilon. A fixed positive δ\delta cannot work for every tolerance: choose x=δ/2x=\delta/2 and ε=δ/4\varepsilon=\delta/4.

The formal language does not create the mathematician's understanding of continuity. It exposes dependencies already doing essential work in the argument.

A finite relation makes these dependencies visible. The following lab also returns to substitution: changing a bound variable carelessly can change the truth of a formula in the very same structure.

Interactive lab · Quantifiers and variable binding

Does one witness have to work for everyone?

Edit the relation R(x, y). Compare separate witnesses with one common witness.

Before you evaluate: Does each row contain a witness? Does one column work for every row?

R(x, y): the person in row x admires the person in column y.
x ↓ / y →AdaBeatriceClara
Ada
Beatrice
Clara
Ready to compare witnesses

The two formulas are ∀x ∃y R(x, y) and ∃y ∀x R(x, y). Predict each value.

Hint and challenge

A row with no checked entry defeats ∀x ∃y R(x, y). A column with no unchecked entry supplies a witness for ∃y ∀x R(x, y).

Start with the cycle and make both formulas true by changing two entries. For example, keep Clara's admiration for Ada and make Ada and Beatrice admire Ada too. Then remove every entry from one row and explain why both formulas become false.

Second experiment: substitution without capture

Start with ∃y R(x, y). Replace its free x with the selected variable. If that variable is already bound, the existing binder must be renamed first.

Ready to inspect binding

Both expressions will be evaluated in the current relation table.

In the starting cycle, replacing x with free y gives ∃z R(y, z), which is true for Ada. The captured expression ∃y R(y, y) is false: no one admires herself. In other structures their truth values may happen to agree; that does not justify capture.

Scope and notation

Scope: evaluation of the displayed formulas in a fixed, nonempty three-person structure. The table supplies actual witnesses and counterexamples for this structure. It is not a search over every first-order model.

Frege's two-dimensional notation

Frege's notation does not look like a modern line of predicate logic. He used a horizontal content stroke, a vertical judgment stroke for an assertion, and branching arrangements for conditional structure. Generality was represented using a concavity in the content stroke associated with a variable.

One simple surviving feature can be schematically displayed as

A.\vdash A.

In Frege's setting, the judgment stroke marks the assertion of the content that follows. In modern logic, a superficially similar turnstile is usually used in a different way: ΓA\Gamma\vdash A expresses derivability from assumptions in a specified calculus. Historical notation must therefore be interpreted in its own context.

Frege's full conditional notation is best examined in the digitized original. A modern translation makes it easier to read the logical content, but removes a feature of his design: the layout itself displays how conditions are nested.

The notation's unfamiliar appearance affected its reception. A logical language must balance precision with the practical difficulty of reading, printing, and extending it. Frege made a powerful technical advance without establishing the notation that most later logicians would use.

From assertions to derivations

A formal language alone does not specify which conclusions may be drawn. It needs rules of inference.

For a simple modern example, take

x(M(x)P(x))andM(a).\forall x(M(x)\to P(x)) \qquad\text{and}\qquad M(a).

Universal instantiation gives M(a)P(a)M(a)\to P(a). Modus ponens then gives P(a)P(a). The derivation distinguishes three ingredients:

  1. a general assumption;
  2. a rule allowing an instance of that assumption;
  3. a rule applying a conditional to its antecedent.

An informal argument may compress all three into one sentence. A formal calculus records which operation is being used.

The conditions on a rule matter as much as its name. From an assumption P(a)P(a) about one particular object, we cannot simply infer xP(x)\forall x\,P(x). A generalization rule must ensure that the object or variable being generalized was not subject to a special undischarged assumption. Otherwise, the formal system would authorize invalid arguments.

Frege's contribution included an explicit deductive apparatus of this kind. Its broader significance is that an argument can be represented as a finite object governed by stated rules. Later metamathematics could investigate those objects, and later software could manipulate their representations.

Arithmetic and higher-order resources

Frege's foundational aim explains why it is misleading to identify his work without qualification with modern first-order logic.

First-order quantifiers range over objects in a domain. Higher-order quantifiers can range over predicates or functions as well. For example, induction can be expressed schematically through the idea that every property possessed by zero and preserved by successor is possessed by every natural number.

In a second-order presentation, this takes the form

P(P(0)n(P(n)P(Sn))nP(n)).\forall P\Bigl( P(0)\land\forall n(P(n)\to P(Sn)) \to\forall n\,P(n) \Bigr).

Here PP occupies a predicate position. What the quantifier over PP ranges over is a substantive semantic question.

Frege's investigations of arithmetic used higher-order resources. Modern first-order logic emerged through subsequent distinctions among kinds of quantification, systems of proof, and interpretations. Its later central position should not be projected backward as a settled objective shared by everyone in 1879.

Frege's later logicist construction also introduced principles governing value-ranges. One of those principles, Basic Law V, would become central to the contradiction Russell communicated to him. That episode concerns the choice of foundational principles, not a failure of quantifier notation itself, and is developed in the note on paradoxes.

Peano, Russell, and the adoption of notation

Giuseppe Peano's work supplied a different route toward a widely usable symbolic language. His publications and the Formulario project organized mathematical statements through economical notation and explicit formulations. Bertrand Russell's encounter with Peano's work in 1900 was important to his subsequent logical development.

Portrait of Giuseppe Peano
Giuseppe Peano (1858–1932)
Sources and credit for Giuseppe Peano

Unknown photographer or artist. Via Wikimedia Commons. Image source · Public domain · Biographical dates

The notation used by Whitehead and Russell in Principia Mathematica drew on that tradition while pursuing its own foundational system. The resulting history distinguishes invention from adoption. An expressive device may be technically important long before its original notation becomes familiar, and later authors may combine devices developed for different projects.

Frege's achievement was therefore both specific and far-reaching: he supplied an unusually exact way to display relational and quantified inference, together with a calculus suited to complete derivations. He did not settle which axioms mathematics should use or how those axioms should be justified.

Those questions require returning to the mathematics that made foundational investigation urgent. The next note follows the reconstruction of analysis, the mathematics of infinity, and the changing role of axioms.

Sources and further reading

  • Gottlob Frege, Begriffsschrift (1879), especially the preface and the presentation of the notation and inference rules.
  • Frege, Die Grundlagen der Arithmetik (1884), and Grundgesetze der Arithmetik, volumes I and II (1893, 1903). These belong to different stages of his project.
  • Giuseppe Peano, Arithmetices principia, nova methodo exposita (1889), and the Formulario publications.
  • Alfred North Whitehead and Bertrand Russell, Principia Mathematica (1910–1913), for the later combination of notation and foundational principles.
  • The Emergence of First-Order Logic, for the distinction between Frege's system and the later isolation of first-order logic.