#jsDisabledContent { display:none; } My Account |  Register |  Help

# For all

Article Id: WHEBN0000084708
Reproduction Date:

 Title: For all Author: World Heritage Encyclopedia Language: English Subject: Functional predicate Collection: Publisher: World Heritage Encyclopedia Publication Date:

### For all

"Universal quantifier" redirects here. For the symbol conventionally used for this quantifier, see Turned A.

In predicate logic, a universal quantification is a type of quantifier, a logical constant which is interpreted as "given any" or "for all". It expresses that a propositional function can be satisfied by every member of a domain of discourse. In other terms, it is the predication of a property or relation to every member of the domain. It asserts that a predicate within the scope of a universal quantifier is true of every value of a predicate variable.

It is usually denoted by the turned A (∀) logical operator symbol, which, when used together with a predicate variable, is called a universal quantifier ("∀x", "∀(x)", or sometimes by "(x)" alone). Universal quantification is distinct from existential quantification ("there exists"), which asserts that the property or relation holds only for at least one member of the domain.

Quantification in general is covered in the article on quantification. Symbols are encoded U+2200 for all (HTML: ∀ ∀ as a mathematical symbol).

## Basics

Suppose it is given that

2·0 = 0 + 0, and 2·1 = 1 + 1, and 2·2 = 2 + 2, etc.

This would seem to be a logical conjunction because of the repeated use of "and." However, the "etc." cannot be interpreted as a conjunction in formal logic. Instead, the statement must be rephrased:

For all natural numbers n, 2·n = n + n.

This is a single statement using universal quantification.

This statement can be said to be more precise than the original one. While the "etc." informally includes natural numbers, and nothing more, this was not rigorously given. In the universal quantification, on the other hand, the natural numbers are mentioned explicitly.

This particular example is true, because any natural number could be substituted for n and the statement "2·n = n + n" would be true. In contrast,

For all natural numbers n, 2·n > 2 + n

is false, because if n is substituted with, for instance, 1, the statement "2·1 > 2 + 1" is false. It is immaterial that "2·n > 2 + n" is true for most natural numbers n: even the existence of a single counterexample is enough to prove the universal quantification false.

On the other hand, for all composite numbers n, 2·n > 2 + n is true, because none of the counterexamples are composite numbers. This indicates the importance of the domain of discourse, which specifies which values n can take.[note 1] In particular, note that if the domain of discourse is restricted to consist only of those objects that satisfy a certain predicate, then for universal quantification this requires a logical conditional. For example,

For all composite numbers n, 2·n > 2 + n
For all natural numbers n, if n is composite, then 2·n > 2 + n.

Here the "if ... then" construction indicates the logical conditional.

### Notation

In symbolic logic, the universal quantifier symbol $\forall$ (an inverted "A" in a sans-serif font, Unicode 0x2200) is used to indicate universal quantification.[1]

For example, if P(n) is the predicate "2·n > 2 + n" and N is the set of natural numbers, then:

$\forall n\!\in\!\mathbb\left\{N\right\}\; P\left(n\right)$

is the (false) statement:

For all natural numbers n, 2·n > 2 + n.

Similarly, if Q(n) is the predicate "n is composite", then

$\forall n\!\in\!\mathbb\left\{N\right\}\; \bigl\left( Q\left(n\right) \rightarrow P\left(n\right) \bigr\right)$

is the (true) statement:

For all natural numbers n, if n is composite, then 2·n > 2 + n

and since "n is composite" implies that n must already be a natural number, we can shorten this statement to the equivalent:

$\forall n\; \bigl\left( Q\left(n\right) \rightarrow P\left(n\right) \bigr\right)$
For all composite numbers n, 2·n > 2 + n.

Several variations in the notation for quantification (which apply to all forms) can be found in the quantification article. There is a special notation used only for universal quantification, which is given:

$\left(n\left\{\in\right\}\mathbb\left\{N\right\}\right)\, P\left(n\right)$

The parentheses indicate universal quantification by default.

## Properties

### Negation

Note that a quantified propositional function is a statement; thus, like statements, quantified functions can be negated. The notation most mathematicians and logicians utilize to denote negation is: $\lnot\$. However, some (such as Douglas Hofstadter) use the tilde (~).

For example, if P(x) is the propositional function "x is married", then, for a Universe of Discourse X of all living human beings, the universal quantification

Given any living person x, that person is married

is given:

$\forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right)$

It can be seen that this is irrevocably false. Truthfully, it is stated that

It is not the case that, given any living person x, that person is married

or, symbolically:

$\lnot\ \forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right)$.

If the statement is not true for every element of the Universe of Discourse, then, presuming the universe of discourse is non-empty, there must be at least one element for which the statement is false. That is, the negation of $\forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right)$ is logically equivalent to "There exists a living person x such that he is not married", or:

$\exists\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, \lnot P\left(x\right)$

Generally, then, the negation of a propositional function's universal quantification is an existential quantification of that propositional function's negation; symbolically,

$\lnot\ \forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right) \equiv\ \exists\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, \lnot P\left(x\right)$

It is erroneous to state "all persons are not married" (i.e. "there exists no person who is married") when it is meant that "not all persons are married" (i.e. "there exists a person who is not married"):

$\lnot\ \exists\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right) \equiv\ \forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, \lnot P\left(x\right) \not\equiv\ \lnot\ \forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right) \equiv\ \exists\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, \lnot P\left(x\right)$

### Other connectives

The universal (and existential) quantifier moves unchanged across the logical connectives , , , and $\nleftarrow$, as long as the other operand is not affected; that is:

$P\left(x\right) \land \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \land Q\left(y\right)\right)$
$P\left(x\right) \lor \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \lor Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$
$P\left(x\right) \to \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \to Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$
$P\left(x\right) \nleftarrow \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \nleftarrow Q\left(y\right)\right)$
$P\left(x\right) \land \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \land Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$
$P\left(x\right) \lor \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \lor Q\left(y\right)\right)$
$P\left(x\right) \to \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \to Q\left(y\right)\right)$
$P\left(x\right) \nleftarrow \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \nleftarrow Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$

Conversely, for the logical connectives , , $\nrightarrow$, and , the quantifiers flip:

$P\left(x\right) \uparrow \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \uparrow Q\left(y\right)\right)$
$P\left(x\right) \downarrow \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \downarrow Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$
$P\left(x\right) \nrightarrow \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \nrightarrow Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$
$P\left(x\right) \gets \left(\exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \gets Q\left(y\right)\right)$
$P\left(x\right) \uparrow \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \uparrow Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$
$P\left(x\right) \downarrow \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \downarrow Q\left(y\right)\right)$
$P\left(x\right) \nrightarrow \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \nrightarrow Q\left(y\right)\right)$
$P\left(x\right) \gets \left(\forall\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, Q\left(y\right)\right) \equiv\ \exists\left\{y\right\}\left\{\in\right\}\mathbf\left\{Y\right\}\, \left(P\left(x\right) \gets Q\left(y\right)\right),~\mathrm\left\{provided~that\right\}~\mathbf\left\{Y\right\}\neq \emptyset$

### Rules of inference

A rule of inference is a rule justifying a logical step from hypothesis to conclusion. There are several rules of inference which utilize the universal quantifier.

Universal instantiation concludes that, if the propositional function is known to be universally true, then it must be true for any arbitrary element of the Universe of Discourse. Symbolically, this is represented as

$\forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right) \to\ P\left(c\right)$

where c is a completely arbitrary element of the Universe of Discourse.

Universal generalization concludes the propositional function must be universally true if it is true for any arbitrary element of the Universe of Discourse. Symbolically, for an arbitrary c,

$P\left(c\right) \to\ \forall\left\{x\right\}\left\{\in\right\}\mathbf\left\{X\right\}\, P\left(x\right).$

The element c must be completely arbitrary; else, the logic does not follow: if c is not arbitrary, and is instead a specific element of the Universe of Discourse, then P(c) only implies an existential quantification of the propositional function.

### The empty set

By convention, the formula $\forall\left\{x\right\}\left\{\in\right\}\emptyset \, P\left(x\right)$ is always true, regardless of the formula P(x); see vacuous truth.

## Universal closure

The universal closure of a formula φ is the formula with no free variables obtained by adding a universal quantifier for every free variable in φ. For example, the universal closure of

$P\left(y\right) \land \exists x Q\left(x,z\right)$

is

$\forall y \forall z \left( P\left(y\right) \land \exists x Q\left(x,z\right)\right)$.

In category theory and the theory of elementary topoi, the universal quantifier can be understood as the right adjoint of a functor between power sets, the inverse image functor of a function between sets; likewise, the existential quantifier is the left adjoint.[2]

For a set $X$, let $\mathcal\left\{P\right\}X$ denote its powerset. For any function $f:X\to Y$ between sets $X$ and $Y$, there is an inverse image functor $f^*:\mathcal\left\{P\right\}Y\to \mathcal\left\{P\right\}X$ between powersets, that takes subsets of the codomain of f back to subsets of its domain. The left adjoint of this functor is the existential quantifier $\exists_f$ and the right adjoint is the universal quantifier $\forall_f$.

That is, $\exists_f\colon \mathcal\left\{P\right\}X\to \mathcal\left\{P\right\}Y$ is a functor that, for each subset $S \subset X$, gives the subset $\exists_f S \subset Y$ given by

$\exists_f S =\\left\{ y\in Y | \mbox\left\{ there exists \right\} x\in X \mbox\left\{ s.t. \right\} f\left(x\right)=y \\right\}$.

Likewise, the universal quantifier $\forall_f\colon \mathcal\left\{P\right\}X\to \mathcal\left\{P\right\}Y$ is given by

$\forall_f S =\\left\{ y\in Y | f\left(x\right)=y \mbox\left\{ for all \right\} x\in X \\right\}$.

The more familiar form of the quantifiers as used in first-order logic is obtained by taking the function f to be the projection operator $\pi:X \times \\left\{T,F\\right\}\to \\left\{T,F\\right\}$ where $\\left\{T,F\\right\}$ is the two-element set holding the values true, false, and subsets S to be predicates $S\subset X\times \\left\{T,F\\right\}$, so that

$\exists_\pi S = \\left\{y\,|\,\exists x\, S\left(x,y\right)\\right\}$

which is either a one-element set (false) or a two-element set (true).

The universal and existential quantifiers given above generalize to the presheaf category.

## References

• (ch. 2)
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.

Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.