Global Information Lookup Global Information

Free variables and bound variables information


In mathematics, and in other disciplines involving formal languages, including mathematical logic and computer science, a variable may be said to be either free or bound. A free variable is a notation (symbol) that specifies places in an expression where substitution may take place and is not a parameter of this or any container expression. Some older books use the terms real variable and apparent variable for free variable and bound variable, respectively. The idea is related to a placeholder (a symbol that will later be replaced by some value), or a wildcard character that stands for an unspecified symbol.

In computer programming, the term free variable refers to variables used in a function that are neither local variables nor parameters of that function. The term non-local variable is often a synonym in this context.

An instance of a variable symbol is bound, in contrast, if the value of that variable symbol has been bound to a specific value or range of values in the domain of discourse or universe. This may be achieved through the use of logical quantifiers, variable-binding operators, or an explicit statement of allowed values for the variable (such as, "...where is a positive integer".) A variable symbol overall is bound if at least one occurrence of it is bound.[1]pp.142--143 Since the same variable symbol may appear in multiple places in an expression, some occurrences of the variable symbol may be free while others are bound,[1]p.78 hence "free" and "bound" are at first defined for occurrences and then generalized over all occurrences of said variable symbol in the expression. However it is done, the variable ceases to be an independent variable on which the value of the expression depends, whether that value be a truth value or the numerical result of a calculation, or, more generally, an element of an image set of a function.

While the domain of discourse in many contexts is understood, when an explicit range of values for the bound variable has not been given, it may be necessary to specify the domain in order to properly evaluate the expression. For example, consider the following expression in which both variables are bound by logical quantifiers:

This expression evaluates to false if the domain of and is the real numbers, but true if the domain is the complex numbers.

The term "dummy variable" is also sometimes used for a bound variable (more commonly in general mathematics than in computer science), but this should not be confused with the identically named but unrelated concept of dummy variable as used in statistics, most commonly in regression analysis.

  1. ^ a b W. V. O. Quine, Mathematical Logic (1981). Harvard University Press, 0-674-55451-5.

and 18 Related for: Free variables and bound variables information

Request time (Page generated in 0.9211 seconds.)

Free variables and bound variables

Last Update:

term free variable refers to variables used in a function that are neither local variables nor parameters of that function. The term non-local variable is...

Word Count : 2183

Metasyntactic variable

Last Update:

algebra letters are used as variables for numbers. Metasyntactic variables are used to name entities such as variables, functions, and commands whose exact identity...

Word Count : 1310

Predicate variable

Last Update:

formulas of the same logic, and such variables can be quantified by means of (at least) second-order quantifiers. Predicate variables should be distinguished...

Word Count : 563

Propositional variable

Last Update:

variables contains predicate letters such as P and Q, in association with bound individual variables (e.g., x, y), individual constants such as a and...

Word Count : 444

Lambda calculus

Last Update:

free variables of a term are those variables not bound by an abstraction. The set of free variables of an expression is defined inductively: The free...

Word Count : 11500

Exchangeable random variables

Last Update:

use of independent and identically distributed random variables in statistical models. Exchangeable sequences of random variables arise in cases of simple...

Word Count : 2529

Dummy variable

Last Update:

dummy variable or dummy variables in Wiktionary, the free dictionary. The term dummy variable can refer to either of the following: Bound variable, in mathematics...

Word Count : 71

Variational Bayesian methods

Last Update:

probability of the unobserved variables, in order to do statistical inference over these variables. To derive a lower bound for the marginal likelihood...

Word Count : 11212

Parameter

Last Update:

by) an open predicate variables, and when defining substitution have to distinguish between free variables and bound variables. In music theory, a parameter...

Word Count : 2944

Bound variable pronoun

Last Update:

A bound variable pronoun (also called a bound variable anaphor or BVA) is a pronoun that has a quantified determiner phrase (DP) – such as every, some...

Word Count : 8349

Function of several complex variables

Last Update:

holomorphic functions of one-variable complex variables do not hold for holomorphic functions of several complex variables. The nature of these singularities...

Word Count : 17591

Linear regression

Last Update:

dependent variables are predicted, rather than a single scalar variable. If the explanatory variables are measured with error then errors-in-variables models...

Word Count : 9686

Indicator function

Last Update:

a dummy variable. (This must not be confused with "dummy variables" as that term is usually used in mathematics, also called a bound variable.) The term...

Word Count : 2417

Poisson distribution

Last Update:

sum of two independent random variables is Poisson-distributed, then so are each of those two independent random variables. It is a maximum-entropy distribution...

Word Count : 10959

Rademacher distribution

Last Update:

has a 50% chance of being +1 and a 50% chance of being -1. A series (that is, a sum) of Rademacher distributed variables can be regarded as a simple symmetrical...

Word Count : 995

Integer programming

Last Update:

which the variables are restricted to be either 0 or 1. Any bounded integer variable can be expressed as a combination of binary variables. For example...

Word Count : 4054

Lambda calculus definition

Last Update:

other variables are called free. For example, in the following expression y {\displaystyle y} is a bound variable and x {\displaystyle x} is free: λ y...

Word Count : 4211

Linear programming

Last Update:

with bounded variables) NP-hard. 0–1 integer programming or binary integer programming (BIP) is the special case of integer programming where variables are...

Word Count : 6567

PDF Search Engine © AllGlobal.net