Bound variable¶
A variable occurrence governed by a quantifier, function parameter, summation, integral, or other binder within its specified scope.
Core Idea¶
A bound variable is an occurrence controlled by a binder in a formal expression. A quantifier, summation, integral, limit, or function definition introduces a variable and a syntactic scope; matching occurrences within that scope get their local role from the binder rather than from an external assignment. The first classification is occurrence-level because the same printed symbol may be free elsewhere.
The familiar summation ∑_{k=1}^{10} f(k,n) illustrates the distinction: k is locally bound while n remains an external parameter. Binding does not make the surrounding domain irrelevant: the truth of a quantified statement can depend on which values a bound symbol ranges over. Nested binders can shadow earlier names, and a substitution that unintentionally brings a free symbol under a binder can change meaning through variable capture.
How would you explain it like I'm…
Inside-Only Names
Letters That Stay Inside
Variables Governed by Binders
Scope of Application¶
Literal uses require an expression with a specified binder, variable occurrence, and syntactic scope.
- Logic. Classifies variable occurrences within quantified formulas.
- Mathematical operators. Distinguishes summation, integration, and limit indices from external parameters.
- Function and lambda notation. Tracks parameter scope, renaming, and nested shadowing.
- Formal substitution. Avoids variable capture when rewriting expressions.
Clarity¶
For one variable occurrence, find the binder and trace its scope. In ∑_k f(k,n), k is bound but n is free. The same printed letter can have different status elsewhere. Binding is not merely receiving a runtime value; quantifier domains and nested shadowing still matter, and careless substitution can capture a formerly free occurrence.
Manages Complexity¶
The concept compresses many notations into one relation among binder, scope, and occurrence. This makes variable renaming and dependence transparent, while revealing why nested scopes and careless substitution can change a formula without changing its visible variable names much.
Abstract Reasoning¶
- Choose an exact variable occurrence rather than only its symbol name.
- Identify every binder that could govern that occurrence.
- Trace the syntactic scope and choose the effective nearest binder.
- Mark remaining ungoverned occurrences as free parameters.
- Check domain assumptions, shadowing, and possible capture before renaming or substitution.
Knowledge Transfer¶
The binder–scope–occurrence test transfers literally among logic, sums, integrals, functions, and lambda expressions once each syntax supplies a binding convention. It does not mean every variable that receives a computational value is formally bound, and a statistical dummy variable is a separate term despite the lexical overlap.
Neighborhood in Abstraction Space¶
Bound variable sits in a moderately populated region (45th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.
Family — Language Structure & Grammar Formalisms (23 abstractions)
Nearest neighbors
- Literal movement grammar — 0.88
- Logical Operation — 0.87
- Substring — 0.87
- Let-Polymorphism — 0.86
- Molecular Motif — 0.86
Computed from structural-signature embeddings · 2026-10-08