In the interpretation of quantum mechanics, a local hidden-variable theory is a hidden-variable theory that satisfies the condition of being consistent with local realism. This includes all types of the theory that attempt to account for the probabilistic features of quantum mechanics by the mechanism of underlying inaccessible variables, with the additional requirement from local realism that distant events be independent, ruling out instantaneous (that is, faster-than-light) interactions between separate events.

1. A variable referred to in a function, which is not an
argument of the function. In lambda-calculus, x is a {bound
variable} in the term M = x . T, and a free variable of T.
We say x is bound in M and free in T. If T contains a subterm
x . U then x is rebound in this term. This nested, inner
binding of x is said to "shadow" the outer binding.
Occurrences of x in U are free occurrences of the new x.
Variables bound at the top level of a program are technically
free variables within the terms to which they are bound but
are often treated specially because they can be compiled as
fixed addresses. Similarly, an identifier bound to a
recursive function is also technically a free variable within
its own body but is treated specially.
A closed term is one containing no free variables.
See also closure, lambda lifting, scope.
2. In logic, a variable which is not quantified (see
quantifier).

1. A bound variable or formal argument in a function
definition is replaced by the actual argument when the
function is applied. In the lambda abstraction
x . M
x is the bound variable. However, x is a free variable of
the term M when M is considered on its own. M is the scope
of the binding of x.
2. In logic a bound variable is a quantified variable. See
quantifier.

Local hidden-variable theory

In the interpretation of quantum mechanics, a **local hidden-variable theory** is a hidden-variable theory that satisfies the condition of being consistent with local realism. This definition restricts all types of those theories that attempt to account for the probabilistic features of quantum mechanics via the mechanism of underlying inaccessible variables with the additional requirement that distant events be independent, ruling out *instantaneous* (that is, faster-than-light) interactions between separate events.

The mathematical implications of a local hidden-variable theory in regard to the phenomenon of quantum entanglement were explored by physicist John Stewart Bell, who in 1964 proved that broad classes of local hidden-variable theories cannot reproduce the correlations between measurement outcomes that quantum mechanics predicts. The most notable exception is superdeterminism. Superdeterministic hidden-variable theories can be local and yet be compatible with observations.

Pronunciation examples for local variables

1. when you should use local variables--

2. that temporary array you needed was a local variable.