In logic, extensionality, or extensional equality, refers to principles that judge objects to be equal if they have the same external properties. It stands in contrast to the concept of intensionality, which is concerned with whether the internal definitions of objects are the same.

In mathematics

edit

The extensional definition of function equality, discussed above, is commonly used in mathematics. A similar extensional definition is usually employed for relations: two relations are said to be equal if they have the same extensions.

In set theory, the axiom of extensionality states that two sets are equal if and only if they contain the same elements. In mathematics formalized in set theory, it is common to identify relations—and, most importantly, functions—with their extension as stated above, so that it is impossible for two relations or functions with the same extension to be distinguished.

Other mathematical objects are also constructed in such a way that the intuitive notion of "equality" agrees with set-level extensional equality; thus, equal ordered pairs have equal elements, and elements of a set which are related by an equivalence relation belong to the same equivalence class.

Type-theoretical foundations of mathematics are generally not extensional in this sense, and setoids are commonly used to maintain a difference between intensional equality and a more general equivalence relation (which generally has poor constructibility or decidability properties).

Extensionality principles

edit

There are various extensionality principles in mathematics.

  • Propositional extensionality of predicates : if then
  • Functional extensionality of functions : if then
  • Univalence of types , :[1]: 2.10  if then , where denotes homotopy equivalence.

Depending on the chosen foundation, some extensionality principles may imply another. For example it is well known that in univalent foundations, the univalence axiom implies both propositional and functional extensionality. Extensionality principles are usually assumed as axioms, especially in type theories where computational content must be preserved. However, in set theory and other extensional foundations, functional extensionality can be proven to hold by default.

Example

edit

Consider the two functions f and g mapping from and to natural numbers, defined as follows:

  • To find f(n), first add 5 to n, then multiply by 2.
  • To find g(n), first multiply n by 2, then add 10.

These functions are extensionally equal; given the same input, both functions always produce the same value. But the definitions of the functions are not equal, and in that intensional sense the functions are not the same.

Similarly, in natural language there are many predicates (relations) that are intensionally different but are extensionally identical. For example, suppose that a village has just one person named Joe, who is also the oldest person in the village. Then, the two predicates "being called Joe", and "being the oldest person" are intensionally distinct, but extensionally equal for the (current) population of this village.

See also

edit

Notes

edit
  1. ^ The Univalent Foundations Program (2013). Homotopy Type Theory: Univalent Foundations of Mathematics. Princeton, NJ: Institute for Advanced Study. MR 3204653.

References

edit

📚 Artikel Terkait di Wikipedia

Setoid

interpretation of intensional equality (the equality on the original set) and extensional equality (the equivalence relation, or the equality on the quotient set)

First-class function

between several types of function equality: Extensional equality Two functions f and g are considered extensionally equal if they agree on their outputs

Extensional and intensional definitions

of semantics the extension of a concept, idea, or sign Extensional context – Extensions with context Extensionalism Extensionality – Logic principle

Combinatory logic

{\displaystyle I} . We say the terms are extensionally equal. Extensional equality captures the mathematical notion of the equality of functions: that two functions

Equality (mathematics)

object (their extension), they have different meanings (their intension). Thus, the substitution property can only be guaranteed in extensional contexts,

Axiom of extensionality

For example: "An even number is an integer that is divisible by 2." An extensional definition instead lists all objects where the term applies. For example:

Minister for Women and Equalities

Minister for Women and Equalities is a ministerial position in the United Kingdom currently appointed to the Department for Education. The minister leads

Liberté, égalité, fraternité

(French pronunciation: [libɛʁte eɡalite fʁatɛʁnite]; French for 'liberty, equality, fraternity', Latin: Libertas, aequalitas, fraternitas; Haitian Creole: