Setoid

Setoid

In mathematics, a setoid is a set (or type) equipped with an equivalence relation.

Setoids are studied especially in proof theory and in type-theoretic foundations of mathematics. Often in mathematics, when one defines an equivalence relation on a set, one immediately forms the quotient set (turning equivalence into equality). In contrast, setoids may be used when a difference between identity and equivalence must be maintained, often with an interpretation of intensional equality (the equality on the original set) and extensional equality (the equivalence relation, or the equality on the quotient set).

In proof theory, particularly the proof theory of constructive mathematics based on the Curry–Howard correspondence, one often identifies a mathematical proposition with its set of proofs (if any). A given proposition may have many proofs, of course; according to the principle of proof irrelevance, normally only the truth of the proposition matters, not which proof was used. However, the Curry–Howard correspondence can turn proofs into algorithms, and differences between algorithms are often important. So proof theorists may prefer to identify a proposition with a "setoid" of proofs, considering proofs equivalent if they can be converted into one another through beta conversion or the like.

In type-theoretic foundations of mathematics, setoids may be used in a type theory that lacks quotient types to model general mathematical sets. For example, in Per Martin-Löf's Intuitionistic Type Theory, there is no type of real numbers, only a type of regular Cauchy sequences of rational numbers. To do real analysis in Martin-Löf's framework, therefore, one must work with a "setoid" of real numbers, the type of regular Cauchy sequences equipped with the usual notion of equivalence. Typically (although it depends on the type theory used), the axiom of choice will hold for functions between types (intensional functions), but not for functions between setoids (extensional functions). The term "set" is variously used either as a synonym of "type" or as a synonym of "setoid"; see [http://www.cs.chalmers.se/Cs/Research/Logic/TypesSS05/Extra/palmgren.pdf#search=setoid] (page 9).

References

* Martin Hofmann, [http://www.tcs.informatik.uni-muenchen.de/~mhofmann/tlca95.ps A Simple Model for Quotient Types] , in "Typed lambda calculi and applications (Edinburgh, 1995)", 216-234, Lecture Notes in Computer Science 902, Springer.

External links

* Implementation of setoids in Coq: [http://coq.inria.fr/library/Coq.Setoids.Setoid.html]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • setoid — noun A set together with an equivalence relation …   Wiktionary

  • Equivalence relation — In mathematics, an equivalence relation is a binary relation between two elements of a set which groups them together as being equivalent in some way. Let a , b , and c be arbitrary elements of some set X . Then a b or a ≡ b denotes that a is… …   Wikipedia

  • Groupoid — dablink|This article is about groupoids in category theory. For the algebraic structure with a single binary operation see magma (algebra). In mathematics, especially in category theory and homotopy theory, a groupoid is a simultaneous… …   Wikipedia

  • List of mathematics articles (S) — NOTOC S S duality S matrix S plane S transform S unit S.O.S. Mathematics SA subgroup Saccheri quadrilateral Sacks spiral Sacred geometry Saddle node bifurcation Saddle point Saddle surface Sadleirian Professor of Pure Mathematics Safe prime Safe… …   Wikipedia

  • Partial equivalence relation — In mathematics, a partial equivalence relation (often abbreviated as PER) R on a set X is a relation which is symmetric and transitive . In other words, it holds for all a, b and c in X that:# (Symmetry) if a R b then b R a # (Transitivity) if a… …   Wikipedia

  • Coq — (фр. coq  петух)  интерактивное программное средство доказательства теорем, использующее собственный язык функционального программирования (Gallina) с зависимыми типами. Позволяет записывать математические теоремы и их… …   Википедия

  • equivalence relation — noun A binary relation that is reflexive, symmetric and transitive. See Also: equivalence class, setoid, ≡, equivalence relation …   Wiktionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”