First-order logic: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Arthur Rubin
Reverted good faith edits by Arthur Rubin (talk): Wrong button. (TW)
insert missing "the"
Line 1: Line 1:
{{About|the mathematical concept}}
If you should speed up a PC then we have come to the right area. I will show you, at the moment, five quick ways which you can drastically enhance your computer's performance.<br><br>You should know some simple plus inexpensive techniques that may solve the problem of your computer plus speed it up. The earlier you fix it, the less damage your computer gets. I usually tell about some worthwhile techniques which will aid you to speed up you computer.<br><br>H/w associated error handling - whenever hardware causes BSOD installing latest fixes for the hardware and/ or motherboard could help. You may furthermore add new hardware that is compatible with the program.<br><br>In purchase to remove the programs on the computer, Windows Installer need to be in a healthy state. If its installation is corrupted we might obtain error 1721 inside Windows 7, Vista plus XP during the program removal process. Just re-registering its component files would solve your problem.<br><br>To fix the issue which is caused by registry error, we should employ a [http://bestregistrycleanerfix.com/regzooka zookaware]. That is the safest and simplest method for average PC consumers. However there are thousands of registry cleaners available available. You want to discover a superior 1 that really can resolve the problem. If you use a terrible one, you might anticipate more problems.<br><br>The system is designed plus built for the purpose of helping we accomplish tasks and not be pestered by windows XP error messages. When there are errors, what do you do? Some individuals pull their hair and cry, whilst those sane ones have their PC repaired, while those really wise ones research to have the errors fixed themselves. No, these mistakes were not moreover designed to rob we off the cash plus time. There are elements to do to actually avoid this from happening.<br><br>To speed up the computer, you just have to be capable to get rid of all these junk files, allowing your computer to find exactly what it wants, whenever it wants. Luckily, there's a tool that allows you to do this easily plus rapidly. It's a tool called a 'registry cleaner'.<br><br>A program plus registry cleaner is downloaded from the web. It's simple to use and the procedure refuses to take long. All it does is scan plus then when it finds mistakes, it can fix plus clean those mistakes. An error free registry may protect the computer from mistakes plus provide you a slow PC fix.
 
In [[mathematics]], a '''functor''' is a type of mapping between [[Category (mathematics)|categories]], which is applied in [[category theory]]. Functors can be thought of as [[homomorphism]]s between categories. In the [[category of small categories]], functors can be thought of more generally as [[morphism]]s.  
 
Functors were first considered in [[algebraic topology]], where algebraic objects (like the [[fundamental group]]) are associated to [[topological space]]s, and algebraic homomorphisms are associated to [[continuous function|continuous]] maps. Nowadays, functors are used throughout modern mathematics to relate various categories. Thus, functors are generally applicable in areas within mathematics that [[category theory]] can make an abstraction of.
 
The word ''functor'' was borrowed by mathematicians from the [[philosopher]] [[Rudolf Carnap]],<ref>{{citation|first1=Saunders|last1=Mac Lane|authorlink1=Saunders Mac Lane|title=Categories for the Working Mathematician|publisher=Springer-Verlag: New York|year=1971|isbn=978-3-540-90035-1|page=30}}</ref> who used the term in a [[Linguistics|linguistic]] context:<ref>Carnap, The Logical Syntax of Language, p. 13–14, 1937, Routledge & Kegan Paul</ref>
see [[function word]].
 
==Definition==
Let ''C'' and ''D'' be [[category (mathematics)|categories]]. A '''functor''' ''F'' from ''C'' to ''D'' is a mapping that<ref>Jacobson (2009), p. 19, def. 1.2.</ref>
* associates to each object <math>X \in C</math> an object <math>F(X) \in D</math>,
* associates to each morphism <math>f:X\rightarrow Y \in C</math> a morphism <math>F(f):F(X) \rightarrow F(Y) \in D</math> such that the following two conditions hold:
** <math>F(\mathrm{id}_{X}) = \mathrm{id}_{F(X)}\,\!</math> for every object <math>X \in C</math>
** <math>F(g \circ f) = F(g) \circ F(f)</math> for all morphisms <math>f:X \rightarrow Y\,\!</math> and <math>g:Y\rightarrow Z.\,\!</math>
 
That is, functors must preserve [[Morphism#Definition|identity morphisms]] and [[Function composition|composition]] of morphisms.
 
===Covariance and contravariance===
There are many constructions in mathematics that would be functors but for the fact that they "turn morphisms around" and "reverse composition". We then define a '''contravariant functor''' ''F'' from ''C'' to ''D'' as a mapping that
*associates to each object <math>X \in C</math> an object <math>F(X) \in D,</math>
*associates to each morphism <math>f:X\rightarrow Y \in C</math> a morphism <math>F(f):F(Y) \rightarrow F(X) \in D</math> such that
**<math>F(\mathrm{id}_X) = \mathrm{id}_{F(X)}\,\!</math> for every object <math>X \in C</math>,
**<math>F(g \circ f) = F(f) \circ F(g)</math> for all morphisms <math>f:X\rightarrow Y\,\!</math> and <math>g:Y\rightarrow Z.\,\!</math>
 
Note that contravariant functors reverse the direction of composition.
 
Ordinary functors are also called '''covariant functors''' in order to distinguish them from contravariant ones. Note that one can also define a contravariant functor as a ''covariant'' functor on the [[opposite category]] <math>C^\mathrm{op}</math>.<ref>Jacobson (2009), p. 19–20.</ref> Some authors prefer to write all expressions covariantly. That is, instead of saying <math>F: C\rightarrow D</math> is a contravariant functor, they simply write <math>F: C^{\mathrm{op}} \rightarrow D</math>  (or sometimes <math>F:C \rightarrow D^{\mathrm{op}}</math>) and call it a functor.
 
Contravariant functors are also occasionally called ''cofunctors''.
 
===Opposite functor===
Every functor <math>F: C\rightarrow D</math> induces the '''opposite functor''' <math>F^\mathrm{op}: C^\mathrm{op}\rightarrow D^\mathrm{op}</math>, where <math>C^\mathrm{op}</math> and <math>D^\mathrm{op}</math> are the [[opposite category|opposite categories]] to <math>C</math> and <math>D</math>.<ref>{{citation|first1=Saunders|last1=Mac Lane|authorlink1=Saunders Mac Lane|first2=Ieke|last2=Moerdijk|authorlink2=Ieke Moerdijk|title=Sheaves in geometry and logic: a first introduction to topos theory|publisher=Springer|year=1992|isbn=978-0-387-97710-2}}</ref> By definition, <math>F^\mathrm{op}</math> maps objects and morphisms identically to <math>F</math>. Since <math>C^\mathrm{op}</math> does not coincide with <math>C</math> as a category, and similarly for <math>D</math>, <math>F^\mathrm{op}</math> is distinguished from <math>F</math>. For example, when composing <math>F: C_0\rightarrow C_1</math> with <math>G: C_1^\mathrm{op}\rightarrow C_2</math>, one should use either <math>G\circ F^\mathrm{op}</math> or <math>G^\mathrm{op}\circ F</math>. Note that, following the property of [[opposite category]], <math>(F^\mathrm{op})^\mathrm{op} = F</math>.
 
===Bifunctors and multifunctors===
A '''bifunctor''' (also known as a '''binary functor''') is a functor in ''two'' arguments. The [[Hom functor]] is a natural example; it is contravariant in one argument, covariant in the other.
 
Formally, a bifunctor is a functor whose domain is a [[product category]]. For example, the Hom functor is of the type ''C''<sup>op</sup> &times; ''C'' → '''Set'''.
 
A '''multifunctor''' is a generalization of the functor concept to ''n'' variables. So, for example, a bifunctor is a multifunctor with ''n'' = 2.
 
==Examples==
'''[[Diagram (category theory)|Diagram]]''': For categories ''C'' and ''J'', a diagram of type ''J'' in ''C'' is a covariant functor <math>D:J\rightarrow C</math>.
 
'''[[Presheaf (category theory)|(Category theoretical) presheaf]]''': For categories ''C'' and ''J'', a ''J''-presheaf on ''C'' is a contravariant functor <math>D:C\rightarrow J</math>.
 
'''Presheaves:''' If ''X'' is a [[topological space]], then the [[open set]]s in ''X'' form a [[partially ordered set]] Open(''X'') under inclusion. Like every partially ordered set, Open(''X'') forms a small category by adding a single arrow ''U'' → ''V'' if and only if <math>U \subseteq V</math>. Contravariant functors on Open(''X'') are called ''[[presheaf|presheaves]]'' on ''X''. For instance, by assigning to every open set ''U'' the [[associative algebra]] of real-valued continuous functions on ''U'', one obtains a presheaf of algebras on ''X''.
 
'''Constant functor:''' The functor ''C'' → ''D'' which maps every object of ''C'' to a fixed object ''X'' in ''D'' and every morphism in ''C'' to the identity morphism on ''X''. Such a functor is called a ''constant'' or ''selection'' functor. 
 
'''Endofunctor''': A functor that maps a category to itself.
 
'''Identity functor''' in category ''C'', written 1<sub>''C''</sub> or id<sub>''C''</sub>, maps an object to itself and a morphism to itself. Identity functor is an endofunctor.
 
'''Diagonal functor''': The [[diagonal functor]] is defined as the functor from ''D'' to the functor category ''D''<sup>''C''</sup> which sends each object in ''D'' to the constant functor at that object.
 
'''Limit functor''': For a fixed [[index category]] ''J'', if every functor ''J''→''C'' has a [[limit (category theory)|limit]] (for instance if ''C'' is complete), then the limit functor ''C''<sup>''J''</sup>→''C'' assigns to each functor its limit.  The existence of this functor can be proved by realizing that it is the [[Adjoint functors|right-adjoint]] to the [[diagonal functor]] and invoking the [[Freyd adjoint functor theorem]]. This requires a suitable version of the [[axiom of choice]].  Similar remarks apply to the [[colimit functor]] (which is covariant).
 
'''Power sets:''' The power set functor ''P'' : '''Set''' → '''Set''' maps each set to its [[power set]] and each function <math> f : X \to Y</math> to the map which sends <math>U \subseteq X</math> to its image <math>f(U) \subseteq Y</math>. One can also consider the contravariant power set functor which sends <math> f : X \to Y </math> to the map which
sends <math>V \subseteq Y</math> to its [[inverse image]] <math>f^{-1}(V) \subseteq X.</math>
 
'''{{visible anchor|Dual vector space}}:''' The map which assigns to every [[vector space]] its [[dual space]] and to every [[linear operator|linear map]] its dual or transpose is a contravariant functor from the category of all vector spaces over a fixed [[field (mathematics)|field]] to itself.
 
'''Fundamental group:''' Consider the category of [[pointed topological space]]s, i.e. topological spaces with distinguished points. The objects are pairs (''X'', ''x''<sub>0</sub>), where ''X'' is a topological space and ''x''<sub>0</sub> is a point in ''X''. A morphism from (''X'', ''x''<sub>0</sub>) to (''Y'', ''y''<sub>0</sub>) is given by a [[continuous function (topology)|continuous]] map ''f'' : ''X'' → ''Y'' with ''f''(''x''<sub>0</sub>) = ''y''<sub>0</sub>.
 
To every topological space ''X'' with distinguished point ''x''<sub>0</sub>, one can define the [[fundamental group]] based at ''x''<sub>0</sub>, denoted π<sub>1</sub>(''X'', ''x''<sub>0</sub>). This is the [[group (mathematics)|group]] of [[homotopy]] classes of loops based at ''x''<sub>0</sub>. If ''f'' : ''X'' → ''Y'' morphism of [[pointed space]]s, then every loop in ''X'' with base point ''x''<sub>0</sub> can be composed with ''f'' to yield a loop in ''Y'' with base point ''y''<sub>0</sub>. This operation is compatible with the homotopy [[equivalence relation]] and the composition of loops, and we get a [[group homomorphism]] from π(''X'', ''x''<sub>0</sub>) to π(''Y'', ''y''<sub>0</sub>). We thus obtain a functor from the category of pointed topological spaces to the [[category of groups]].
 
In the category of topological spaces (without distinguished point), one considers homotopy classes of generic curves, but they cannot be composed unless they share an endpoint.  Thus one has the '''fundamental [[groupoid]]''' instead of the fundamental group, and this construction is functorial.
 
'''Algebra of continuous functions:''' a contravariant functor from the category of [[topology|topological spaces]] (with continuous maps as morphisms) to the category of real [[associative algebra]]s is given by assigning to every topological space ''X'' the algebra C(''X'') of all real-valued continuous functions on that space. Every continuous map ''f'' : ''X'' → ''Y'' induces an [[algebra homomorphism]] C(''f'') : C(''Y'') → C(''X'') by the rule C(''f'')(φ) = φ o ''f'' for every φ in C(''Y'').
 
'''Tangent and cotangent bundles:''' The map which sends every [[differentiable manifold]] to its [[tangent bundle]] and every [[smooth map]] to its [[derivative]] is a covariant functor from the category of differentiable manifolds to the category of [[vector bundle]]s.
 
Doing this constructions pointwise gives the [[tangent space]], a covariant functor from the category of pointed differentiable manifolds to the category of real vector spaces. Likewise, [[cotangent space]] is a contravariant functor, essentially the composition of the tangent space with the [[#Dual vector space|dual space]] above.
 
'''Group actions/representations:''' Every [[group (mathematics)|group]] ''G'' can be considered as a category with a single object whose morphisms are the elements of ''G''. A functor from ''G'' to '''Set''' is then nothing but a [[group action]] of ''G'' on a particular set, i.e. a ''G''-set. Likewise, a functor from ''G'' to the [[category of vector spaces]], '''Vect'''<sub>''K''</sub>, is a [[linear representation]] of ''G''. In general, a functor ''G'' → ''C'' can be considered as an "action" of ''G'' on an object in the category ''C''. If ''C'' is a group, then this action is a group homomorphism.
 
'''Lie algebras:''' Assigning to every real (complex) [[Lie group]] its real (complex) [[Lie algebra]] defines a functor.
 
'''Tensor products:''' If ''C'' denotes the category of vector spaces over a fixed field, with [[linear operator|linear maps]] as morphisms, then the [[tensor product]] <math>V \otimes W</math> defines a functor ''C'' &times; ''C'' → ''C'' which is covariant in both arguments.<ref>{{citation|first1=Michiel|last1=Hazewinkel|authorlink1=Michiel Hazewinkel|first2=Nadezhda Mikhaĭlovna|last2=Gubareni|authorlink2=Nadezhda Mikhaĭlovna|first3=Nadiya|last3=Gubareni|authorlink3=Nadiya Gubareni|first4=Vladimir V.|last4=Kirichenko|authorlink4=Vladimir V. Kirichenko|title=Algebras, rings and modules|publisher=Springer|year=2004|isbn=978-1-4020-2690-4}}</ref>
 
'''Forgetful functors:''' The functor ''U'' : '''Grp''' → '''Set''' which maps a [[group (mathematics)|group]] to its underlying set and a [[group homomorphism]] to its underlying function of sets is a functor.<ref>Jacobson (2009), p. 20, ex. 2.</ref> Functors like these, which "forget" some structure, are termed ''[[forgetful functor]]s''. Another example is the functor '''Rng''' → '''Ab''' which maps a [[ring (algebra)|ring]] to its underlying additive [[abelian group]]. Morphisms in '''Rng''' ([[ring homomorphism]]s) become morphisms in '''Ab''' (abelian group homomorphisms).
 
'''Free functors:''' Going in the opposite direction of forgetful functors are free functors. The free functor ''F'' : '''Set''' → '''Grp''' sends every set ''X'' to the [[free group]] generated by ''X''. Functions get mapped to group homomorphisms between free groups. Free constructions exist for many categories based on structured sets. See [[free object]].
 
'''Homomorphism groups:''' To every pair ''A'', ''B'' of [[group (mathematics)|abelian groups]] one can assign the abelian group Hom(''A'',''B'') consisting of all [[group homomorphism]]s from ''A'' to ''B''. This is a functor which is contravariant in the first and covariant in the second argument, i.e. it is a functor '''Ab'''<sup>op</sup> &times; '''Ab''' → '''Ab''' (where '''Ab''' denotes the [[category of abelian groups]] with group homomorphisms). If ''f'' : ''A''<sub>1</sub> → ''A''<sub>2</sub> and ''g'' : ''B''<sub>1</sub> → ''B''<sub>2</sub> are morphisms in '''Ab''', then the group homomorphism Hom(''f'',''g'') : Hom(''A''<sub>2</sub>,''B''<sub>1</sub>) → Hom(''A''<sub>1</sub>,''B''<sub>2</sub>) is given by φ {{mapsto}} ''g'' ∘ φ ∘ ''f''.  See [[Hom functor]].
 
'''Representable functors:''' We can generalize the previous example to any category ''C''. To every pair ''X'', ''Y'' of objects in ''C'' one can assign the set Hom(''X'',''Y'') of morphisms from ''X'' to ''Y''. This defines a functor to '''Set''' which is contravariant in the first argument and covariant in the second, i.e. it is a functor ''C''<sup>op</sup> &times; ''C'' → '''Set'''. If ''f'' : ''X''<sub>1</sub> → ''X''<sub>2</sub> and ''g'' : ''Y''<sub>1</sub> → ''Y''<sub>2</sub> are morphisms in ''C'', then the group homomorphism Hom(''f'',''g'') : Hom(''X''<sub>2</sub>,''Y''<sub>1</sub>) → Hom(''X''<sub>1</sub>,''Y''<sub>2</sub>) is given by φ {{mapsto}} ''g'' ∘ φ ∘ ''f''.
 
Functors like these are called [[representable functor]]s. An important goal in many settings is to determine whether a given functor is representable.
 
==Properties==
Two important consequences of the functor [[axiom]]s are:
* ''F'' transforms each [[commutative diagram]] in ''C'' into a commutative diagram in ''D'';
* if ''f'' is an [[isomorphism]] in ''C'', then ''F''(''f'') is an isomorphism in ''D''.
 
One can compose functors, i.e. if ''F'' is a functor  from ''A'' to ''B'' and ''G'' is a functor from ''B'' to ''C'' then one can form the composite functor ''G∘F'' from ''A'' to ''C''. Composition of functors is associative where defined. Identity of composition of functors is identity functor. This shows that functors can be considered as morphisms in categories of categories, for example in the [[category of small categories]].
 
A small category with a single object is the same thing as a [[monoid]]: the morphisms of a one-object category can be thought of as elements of the monoid, and composition in the category is thought of as the monoid operation. Functors between one-object categories correspond to monoid [[homomorphism]]s. So in a sense, functors between arbitrary categories are a kind of generalization of monoid homomorphisms to categories with more than one object.
 
==Relation to other categorical concepts==
Let ''C'' and ''D'' be categories. The collection of all functors ''C'' → ''D'' form the objects of a category: the [[functor category]]. Morphisms in this category are [[natural transformation]]s between functors.
 
Functors are often defined by [[universal property|universal properties]]; examples are the [[tensor product]], the [[direct sum of modules|direct sum]] and [[direct product]] of groups or vector spaces, construction of free groups and modules, [[direct limit|direct]] and [[inverse limit|inverse]] limits. The concepts of [[limit (category theory)|limit and colimit]] generalize several of the above.
 
Universal constructions often give rise to pairs of [[adjoint functors]].
 
==Computer implementations==
Functors sometimes appear in [[functional programming]]. For instance, [[Haskell (programming language)|Haskell language]] has <code>Functor</code> [[class (computer programming)|class]] where [[Map (higher-order function)#Generalization|<code>fmap</code>]] is a [[polytypic]] function used to map [[function (computer programming)|functions]] (''morphisms'') on an existing class to functions on some new class.
 
==See also==
{{Portal|Category theory}}
* [[Functor category]]
* [[Kan extension]]
 
==Notes==
<references/>
 
==References==
* {{Citation| last=Jacobson| first=Nathan| author-link=Nathan Jacobson| year=2009| title=Basic algebra| edition=2nd| volume = 2 | series= | publisher=Dover| isbn = 978-0-486-47187-7}}.
 
==External links==
{{Wiktionary|functor}}
* {{springer|title=Functor|id=p/f042140}}
* see {{nlab|id=functor}} and the variations discussed and linked to there.
* [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics
* {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.
* J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]
* [[Stanford Encyclopedia of Philosophy]]: "[http://plato.stanford.edu/entries/category-theory/ Category Theory]" &mdash; by Jean-Pierre Marquis. Extensive bibliography.
* [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]
* Baez, John, 1996,"[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]" An informal introduction to higher order categories.
* [http://wildcatsformma.wordpress.com WildCats] is a [[category theory]] package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, functors, [[natural transformation]]s, [[universal properties]].
* [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.
*{{planetmath reference|id=5622|title=Category Theory}}
* [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.
*[http://www.j-paine.org/cgi-bin/webcats/webcats.php Interactive Web page] which generates examples of categorical constructions in the category of finite sets.
 
{{Functors}}
 
[[Category:Functors| ]]
 
[[de:Kategorientheorie#Funktor]]

Revision as of 00:00, 23 February 2014

If you should speed up a PC then we have come to the right area. I will show you, at the moment, five quick ways which you can drastically enhance your computer's performance.

You should know some simple plus inexpensive techniques that may solve the problem of your computer plus speed it up. The earlier you fix it, the less damage your computer gets. I usually tell about some worthwhile techniques which will aid you to speed up you computer.

H/w associated error handling - whenever hardware causes BSOD installing latest fixes for the hardware and/ or motherboard could help. You may furthermore add new hardware that is compatible with the program.

In purchase to remove the programs on the computer, Windows Installer need to be in a healthy state. If its installation is corrupted we might obtain error 1721 inside Windows 7, Vista plus XP during the program removal process. Just re-registering its component files would solve your problem.

To fix the issue which is caused by registry error, we should employ a zookaware. That is the safest and simplest method for average PC consumers. However there are thousands of registry cleaners available available. You want to discover a superior 1 that really can resolve the problem. If you use a terrible one, you might anticipate more problems.

The system is designed plus built for the purpose of helping we accomplish tasks and not be pestered by windows XP error messages. When there are errors, what do you do? Some individuals pull their hair and cry, whilst those sane ones have their PC repaired, while those really wise ones research to have the errors fixed themselves. No, these mistakes were not moreover designed to rob we off the cash plus time. There are elements to do to actually avoid this from happening.

To speed up the computer, you just have to be capable to get rid of all these junk files, allowing your computer to find exactly what it wants, whenever it wants. Luckily, there's a tool that allows you to do this easily plus rapidly. It's a tool called a 'registry cleaner'.

A program plus registry cleaner is downloaded from the web. It's simple to use and the procedure refuses to take long. All it does is scan plus then when it finds mistakes, it can fix plus clean those mistakes. An error free registry may protect the computer from mistakes plus provide you a slow PC fix.