https://en.wikipedia.org/w/api.php?action=feedcontributions&feedformat=atom&user=Magmalex Wikipedia - User contributions [en] 2024-11-08T19:52:40Z User contributions MediaWiki 1.44.0-wmf.2 https://en.wikipedia.org/w/index.php?title=Gabriele_Veneziano&diff=1177922024 Gabriele Veneziano 2023-09-30T13:44:26Z <p>Magmalex: /* Life */ added link to Miguel Virasoro</p> <hr /> <div>{{Short description|Italian theoretical physicist}}<br /> {{Use dmy dates|date=February 2020}}<br /> {{Infobox scientist<br /> | name = Gabriele Veneziano<br /> | image = GabrieleVeneziano.jpg<br /> | caption = (2007)<br /> | birth_date = {{birth date and age|1942|9|7|df=y}}<br /> | birth_place = [[Florence]], Italy<br /> | field = [[Theoretical physics]]<br /> | alma_mater = [[University of Florence]]&lt;br/&gt;[[Weizmann Institute of Science]]<br /> | work_institution = [[CERN]]; [[Collège de France]]<br /> | known_for = [[Veneziano amplitude]]&lt;br/&gt;[[Eta_and_eta_prime_mesons#General|Witten–Veneziano mechanism]]&lt;br/&gt;[[String theory]]&lt;br/&gt;[[String cosmology]]<br /> | awards = [[Dirac Medal]] (2014)&lt;br/&gt;[[James_Joyce_Award#Scientists_and_academics|James Joyce Award]] (2009)&lt;br/&gt;[[Tomassoni awards|Tomassoni award]] (2009)&lt;br/&gt;{{no wrap|[[Oskar Klein Memorial Lecture]] (2007)}}&lt;br/&gt;[[Albert Einstein Medal]] (2006)&lt;br/&gt;[[Enrico Fermi Prize]] (2005)&lt;br/&gt;[[Dannie Heineman Prize for Mathematical Physics|Heineman Prize]] (2004)&lt;br/&gt;[[Pomeranchuk Prize]] (1999)&lt;br/&gt;[[Racah Lectures in Physics|Racah Lecture]] (1975)<br /> }}<br /> <br /> '''Gabriele Veneziano''' ({{IPAc-en|ˌ|v|ɛ|n|ə|t|s|i|ˈ|æ|n|oʊ}};{{citation needed|date=August 2018}} {{IPA-it|venetˈtsjaːno|lang}}; born 7 September 1942)&lt;ref&gt;[http://www.college-de-france.fr/site/en-gabriele-veneziano/biography.htm Biography] {{webarchive|url=https://web.archive.org/web/20120531184311/http://www.college-de-france.fr/site/en-gabriele-veneziano/biography.htm |date=31 May 2012 }} on the [[Collège de France]] website&lt;/ref&gt; is an Italian [[theoretical physics|theoretical physicist]] widely considered the father of [[string theory]].&lt;ref name=&quot;bio&quot;&gt;{{Cite web |title=biography and bibliography |url=http://www.college-de-france.fr/default/EN/all/par_ele_en/index.htm |publisher=College de France |access-date=13 September 2010 |url-status=dead |archive-url=https://web.archive.org/web/20100605233717/http://www.college-de-france.fr/default/EN/all/par_ele_en/index.htm |archive-date=5 June 2010}}&lt;/ref&gt;&lt;ref&gt;{{cite book|author=Gasperini, F.|title=String Theory and Fundamental Interactions – Gabriele Veneziano and Theoretical Physics: Historical and Contemporary Perspectives|last2=Maharana, J.|date=2008|publisher=Springer|isbn=978-3-540-74232-6|editor1-last=Gasperini|editor1-first=Maurizio|series=Lecture Notes in Physics|volume=737|pages=3–27|chapter=Gabriele Veneziano: A Concise Scientific Biography and an Interview|doi=10.1007/978-3-540-74233-3_1|editor2-last=Maharana|editor2-first=Jnan|chapter-url=http://www.college-de-france.fr/media/par_ele_en/UPL30277_Veneziano.bio.pdf}}{{dead link|date=January 2018|bot=InternetArchiveBot|fix-attempted=yes}}&lt;/ref&gt; He has conducted most of his scientific activities at [[CERN]] in Geneva, Switzerland, and held the Chair of Elementary Particles, Gravitation and Cosmology at the [[Collège de France]] in Paris from 2004 to 2013, until the age of retirement there.&lt;ref name=bio /&gt;<br /> <br /> ==Life==<br /> Gabriele Veneziano was born in Florence. In 1965, he earned his [[Laurea]] in Theoretical Physics from the [[University of Florence]] under the direction of {{Interlanguage link multi|Raoul Gatto|it}}. He pursued his doctoral studies at the [[Weizmann Institute of Science]] in [[Rehovot, Israel|Rehovot]], Israel and obtained his PhD in 1967 under the supervision of Hector Rubinstein. During his stay in Israel, he collaborated, among others, with Marco Ademollo (a professor in Florence) and [[Miguel Virasoro]] (an Argentinian physicist who later became a professor in Italy). During his years at MIT, he collaborated with many colleagues, primarily with [[Sergio Fubini]] (an MIT professor, later a member of the Theory Division and of the Directorate at [[CERN]] in Geneva, Switzerland).<br /> <br /> Between 1968 and 1972 he worked at [[MIT]] and was a summer visitor of the Theory Division at [[CERN]]. In 1972 he accepted the Amos de Shalit Professor of Physics chair at the Weizmann Institute of Science in Rehovot, Israel. In 1976-1978 he accepted a permanent position in the Theory Division at [[CERN]] in Geneva, Switzerland, a position that he held until the age of retirement in 2007 and where he has been since then Honorary member. Between 1994 and 1997, he was Director of the Theory Division. He also held the chair of Elementary Particles, Gravitation and Cosmology at the [[College of France]] in Paris, France (2004-2013), of which he is currently an Honorary Professor. He visited many Universities all over the world. More recently he was Global Distinguished Professor at [[New York University]] and is Sackler Professor at Tel-Aviv University.<br /> <br /> ==Research==<br /> Gabriele Veneziano first formulated the foundations of string theory in 1968 when he discovered a string picture that could describe the interaction of strongly interacting particles.&lt;ref&gt;{{cite journal |last=Veneziano |first=G. |date=1968 |title=Construction of a crossing-symmetric, Regge-behaved amplitude for linearly rising trajectories |journal=Nuovo Cimento A |volume=57 |issue=1 |pages=190–7|doi=10.1007/BF02824451|bibcode = 1968NCimA..57..190V |s2cid=121211496 |url=https://cds.cern.ch/record/390478 }}&lt;/ref&gt;&lt;ref&gt;{{cite journal |author1=Lovelace, C. |author2=Squires, E. |date=1970 |title=Veneziano Theory |journal=Proc. R. Soc. Lond. A |volume=318 | number=1534 |pages=321–353 | doi=10.1098/rspa.1970.0148 |bibcode = 1970RSPSA.318..321L |s2cid=124404183 |url=https://cds.cern.ch/record/350802 }}&lt;/ref&gt;&lt;ref&gt;{{cite book|last=Di Vecchia|first=P.|title=String Theory and Fundamental Interactions – Gabriele Veneziano and Theoretical Physics: Historical and Contemporary Perspectives|date=2008|publisher=Springer|isbn=978-3-540-74232-6|editor1-last=Gasperini|editor1-first=Maurizio|series=Lecture Notes in Physics|volume=737|pages=59–118|chapter=The Birth of String Theory|lccn=2007934340|ol=OL16156324M|editor2-last=Maharana|editor2-first=Jnan|chapter-url=http://www-hep.physics.uiowa.edu/~vincent/courses/29276/Vecchia.pdf|archive-url=https://web.archive.org/web/20110902183813/http://www-hep.physics.uiowa.edu/~vincent/courses/29276/Vecchia.pdf|archive-date=2 September 2011|url-status=dead}}&lt;/ref&gt; Veneziano discovered that the [[Leonhard Euler|Euler]] [[Beta function]], interpreted as a [[scattering amplitude]], has many of the features needed to explain the physical properties of strongly interacting particles. This amplitude, known as the [[Veneziano amplitude]], is interpreted as the scattering amplitude for four [[String (physics)#Types of strings|open string]] [[tachyon]]s. In retrospect this work is now considered the founding of [[string theory]] although at the time it was not apparent the string picture would lead to a new theory of quantum gravity.<br /> <br /> Veneziano's work led to intense research to try to explain the [[strong force]] by a [[field theory (physics)|field theory]] of strings about one [[fermi (unit)|fermi]] in length. The rise of [[quantum chromodynamics]], a rival explanation of the strong force, led to a temporary loss of interest in string theories until the 1980s when interest was revived.<br /> <br /> In 1991, he published a paper&lt;ref&gt;{{cite journal|last=Veneziano|first=G.|title=Scale factor duality for classical and quantum strings|journal=Physics Letters B|volume=265|issue=3–4|pages=287–294|date=1991|doi=10.1016/0370-2693(91)90055-U|bibcode = 1991PhLB..265..287V |url=https://cds.cern.ch/record/220581}}&lt;/ref&gt; that shows how an inflationary cosmological model can be obtained from string theory, thus opening the door to a description of [[String cosmology|string cosmological]] [[pre-big bang]] scenarios.<br /> <br /> ==Society memberships==<br /> *National Academy of Sciences of Turin (1994)<br /> *Lincei National Academy (1996)<br /> *[[French Academy of Sciences]] (2002)<br /> <br /> ==Awards==<br /> * [[Pomeranchuk Prize]], 1999<br /> * Gold medal della Repubblica Italiana come Benemerito della Cultura, 2000<br /> * [[Dannie Heineman Prize for Mathematical Physics]], from the [[American Physical Society]], 2004<br /> *Enrico Fermi Prize from the Italian Physical Society, 2005<br /> *[[Albert Einstein Medal]], Albert Einstein Institute, Bern, Switzerland, 2006<br /> *[[Oskar Klein Medal]], 2007<br /> *Commendatore al merito della Repubblica Italiana, 2007<br /> *[[James Joyce Award]], University College Dublin, 2009<br /> *Felice Pietro Chisesi and Caterina Tomassoni Prize, 2009<br /> *Dirac Medal by [[ICTP]], 2014<br /> *Honorary doctorate, Swansea University, 2015&lt;ref&gt;{{Cite web|url=https://www.swansea.ac.uk/graduation/honoraryawards/honoraryawardsarchive/honoraryawards2015/professorgabrieleveneziano/|title=Professor Gabriele Veneziano|website=www.swansea.ac.uk|access-date=2020-02-29}}&lt;/ref&gt;<br /> *Friedel-Volterra Prize, by SIF and SFP, 2016–2017<br /> <br /> ==References==<br /> {{Reflist}}<br /> <br /> ==External links==<br /> *[https://inspirehep.net/author/profile/G.Veneziano.1 Scientific publications of Gabriele Veneziano] on [[INSPIRE-HEP]]<br /> <br /> {{Authority control}}<br /> <br /> {{DEFAULTSORT:Veneziano, Gabriele}}<br /> [[Category:1942 births]]<br /> [[Category:Academic staff of the Collège de France]]<br /> [[Category:People associated with CERN]]<br /> [[Category:Living people]]<br /> [[Category:Members of the French Academy of Sciences]]<br /> [[Category:Italian string theorists]]<br /> [[Category:Albert Einstein Medal recipients]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Center_(group_theory)&diff=1159128930 Center (group theory) 2023-06-08T12:41:41Z <p>Magmalex: /* As a subgroup */ added abelian property</p> <hr /> <div>{{Short description|Set of elements that commute with every element of a group}}<br /> {{Use American English|date=March 2021}}<br /> {{Use mdy dates|date=March 2021}}<br /> {{redirect|Group center|the American counter-cultural group|Aldo Tambellini#Lower East Side artists}}<br /> {| class=&quot;wikitable floatright&quot;<br /> <br /> <br /> |+ style=&quot;text-align: left;&quot; | [[Cayley table]] for [[Dihedral group of order 8|D&lt;sub&gt;4&lt;/sub&gt;]] showing elements of the center, {e, a&lt;sup&gt;2&lt;/sup&gt;}, commute with all other elements (this can be seen by noticing that all occurrences of a given center element are arranged symmetrically about the center diagonal or by noticing that the row and column starting with a given center element are [[Transpose|transposes]] of each other).<br /> <br /> <br /> |-<br /> ! ∘ || e|| b|| a|| a&lt;sup&gt;2&lt;/sup&gt;|| a&lt;sup&gt;3&lt;/sup&gt;|| ab|| a&lt;sup&gt;2&lt;/sup&gt;b|| a&lt;sup&gt;3&lt;/sup&gt;b<br /> |- align=&quot;center&quot;<br /> ! e<br /> | style=&quot;background: green; color: white;&quot; | '''e'''|| b|| a|| style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;|| a&lt;sup&gt;3&lt;/sup&gt;|| ab|| a&lt;sup&gt;2&lt;/sup&gt;b|| a&lt;sup&gt;3&lt;/sup&gt;b<br /> |- align=&quot;center&quot;<br /> ! b<br /> | b|| style=&quot;background: green; color: white;&quot; | '''e'''|| a&lt;sup&gt;3&lt;/sup&gt;b|| a&lt;sup&gt;2&lt;/sup&gt;b|| ab|| a&lt;sup&gt;3&lt;/sup&gt;|| style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;|| a<br /> |- align=&quot;center&quot;<br /> ! a<br /> | a|| ab|| style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;|| a&lt;sup&gt;3&lt;/sup&gt;|| style=&quot;background: green; color: white;&quot; | '''e'''|| a&lt;sup&gt;2&lt;/sup&gt;b|| a&lt;sup&gt;3&lt;/sup&gt;b|| b<br /> |- align=&quot;center&quot;<br /> ! a&lt;sup&gt;2&lt;/sup&gt;<br /> | style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;|| a&lt;sup&gt;2&lt;/sup&gt;b|| a&lt;sup&gt;3&lt;/sup&gt;|| style=&quot;background: green; color: white;&quot; | '''e'''|| a|| a&lt;sup&gt;3&lt;/sup&gt;b|| b|| ab<br /> |- align=&quot;center&quot;<br /> ! a&lt;sup&gt;3&lt;/sup&gt;<br /> | a&lt;sup&gt;3&lt;/sup&gt;<br /> || a&lt;sup&gt;3&lt;/sup&gt;b|| style=&quot;background: green; color: white;&quot; | '''e'''|| a|| style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;|| b|| ab|| a&lt;sup&gt;2&lt;/sup&gt;b<br /> |- align=&quot;center&quot;<br /> ! ab<br /> | ab|| a|| b|| a&lt;sup&gt;3&lt;/sup&gt;b|| a&lt;sup&gt;2&lt;/sup&gt;b|| style=&quot;background: green; color: white;&quot; | '''e'''|| a&lt;sup&gt;3&lt;/sup&gt;|| style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;<br /> |- align=&quot;center&quot;<br /> ! a&lt;sup&gt;2&lt;/sup&gt;b<br /> | a&lt;sup&gt;2&lt;/sup&gt;b|| style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;|| ab|| b|| a&lt;sup&gt;3&lt;/sup&gt;b|| a|| style=&quot;background: green; color: white;&quot; | '''e'''|| a&lt;sup&gt;3&lt;/sup&gt;<br /> |- align=&quot;center&quot;<br /> ! a&lt;sup&gt;3&lt;/sup&gt;b<br /> | a&lt;sup&gt;3&lt;/sup&gt;b|| a&lt;sup&gt;3&lt;/sup&gt;|| a&lt;sup&gt;2&lt;/sup&gt;b|| ab|| b|| style=&quot;background: red; color: white;&quot; | a&lt;sup&gt;2&lt;/sup&gt;|| a|| style=&quot;background: green; color: white;&quot; | '''e'''<br /> |}<br /> In [[abstract algebra]], the '''center''' of a [[group (mathematics)|group]], {{math|''G''}}, is the [[set (mathematics)|set]] of elements that [[commutative|commute]] with every element of {{math|''G''}}. It is denoted {{math|Z(''G'')}}, from German ''[[wikt:Zentrum|Zentrum]],'' meaning ''center''. In [[set-builder notation]],<br /> <br /> :{{math|1=Z(''G'') = {{mset|''z'' ∈ ''G'' | ∀''g'' ∈ ''G'', ''zg'' {{=}} ''gz''}}}}.<br /> <br /> The center is a [[normal subgroup]], {{math|Z(''G'') ⊲ ''G''}}. As a subgroup, it is always [[characteristic subgroup|characteristic]], but is not necessarily [[fully characteristic subgroup|fully characteristic]]. The [[quotient group]], {{math|''G'' / Z(''G'')}}, is [[group isomorphism|isomorphic]] to the [[inner automorphism]] group, {{math|Inn(''G'')}}.<br /> <br /> A group {{math|''G''}} is abelian if and only if {{math|1=Z(''G'') = ''G''}}. At the other extreme, a group is said to be '''centerless''' if {{math|Z(''G'')}} is [[trivial group|trivial]]; i.e., consists only of the [[identity element]].<br /> <br /> The elements of the center are sometimes called '''central'''.<br /> <br /> ==As a subgroup==<br /> The center of ''G'' is always a [[subgroup (mathematics)|subgroup]] of {{math|''G''}}. In particular:<br /> # {{math|Z(''G'')}} contains the [[identity element]] of {{math|''G''}}, because it commutes with every element of {{math|''g''}}, by definition: {{math|1=''eg'' = ''g'' = ''ge''}}, where {{math|''e''}} is the identity;<br /> # If {{math|''x''}} and {{math|''y''}} are in {{math|Z(''G'')}}, then so is {{math|''xy''}}, by associativity: {{math|1=(''xy'')''g'' = ''x''(''yg'') = ''x''(''gy'') = (''xg'')''y'' = (''gx'')''y'' = ''g''(''xy'')}} for each {{math|''g'' ∈ ''G''}}; i.e., {{math|Z(''G'')}} is closed;<br /> # If {{math|''x''}} is in {{math|Z(''G'')}}, then so is {{math|''x''{{sup|−1}}}} as, for all {{math|''g''}} in {{math|''G''}}, {{math|''x''{{sup|−1}}}} commutes with {{math|''g''}}: {{math|1=(''gx'' = ''xg'') ⇒ (''x''{{sup|−1}}''gxx''{{sup|−1}} = ''x''{{sup|−1}}''xgx''{{sup|−1}}) ⇒ (''x''{{sup|−1}}''g'' = ''gx''{{sup|−1}})}}.<br /> <br /> Furthermore, the center of {{math|''G''}} is always an [[abelian group|abelian]] and [[normal subgroup]] of {{math|''G''}}. Since all elements of {{math|Z(''G'')}} commute, it is closed under [[conjugate closure|conjugation]].<br /> <br /> Note that a homomorphism {{math|''f'': ''G'' → ''H''}} between groups generally does not restrict to a homomorphism between their centers. Although {{math|''f'' (''Z'' (''G''))}} commutes with {{math|''f'' ( ''G'' )}}, unless {{math|''f''}} is surjective {{math|''f'' (''Z'' (''G''))}} need not commute with all of {{math|''H''}} and therefore need not be a subset of {{math|''Z'' ( ''H'' )}}. Put another way, there is no &quot;center&quot; functor between categories Grp and Ab. Even though we can map objects, we cannot map arrows.<br /> <br /> ==Conjugacy classes and centralizers==<br /> By definition, the center is the set of elements for which the [[conjugacy class]] of each element is the element itself; i.e., {{math|1=Cl(''g'') = {''g''}&lt;nowiki/&gt;}}.<br /> <br /> The center is also the [[intersection (set theory)|intersection]] of all the [[centralizer and normalizer|centralizers]] of each element of {{math|''G''}}. As centralizers are subgroups, this again shows that the center is a subgroup. <br /> <br /> ==Conjugation==<br /> Consider the map, {{math|''f'': ''G'' → Aut(''G'')}}, from {{math|''G''}} to the [[automorphism group]] of {{math|''G''}} defined by {{math|1=''f''(''g'') = ''ϕ''{{sub|''g''}}}}, where {{math|''ϕ''{{sub|''g''}}}} is the automorphism of {{math|''G''}} defined by <br /> :{{math|1=''f''(''g'')(''h'') = ''ϕ''{{sub|''g''}}(''h'') = ''ghg''{{sup|−1}}}}.<br /> <br /> The function, {{math|''f''}} is a [[group homomorphism]], and its [[kernel (algebra)|kernel]] is precisely the center of {{math|''G''}}, and its image is called the [[inner automorphism group]] of {{math|''G''}}, denoted {{math|Inn(''G'')}}. By the [[first isomorphism theorem]] we get,<br /> :{{math|''G''/Z(''G'') ≃ Inn(''G'')}}.<br /> <br /> The [[cokernel]] of this map is the group {{math|Out(''G'')}} of [[outer automorphism]]s, and these form the [[exact sequence]]<br /> :{{math|1 ⟶ Z(''G'') ⟶ ''G'' ⟶ Aut(''G'') ⟶ Out(''G'') ⟶ 1}}.<br /> <br /> ==Examples==<br /> <br /> * The center of an [[abelian group]], {{math|''G''}}, is all of {{math|''G''}}.<br /> * The center of the [[Heisenberg group]], {{math|''H''}}, is the set of matrices of the form: &lt;math display=&quot;block&quot;&gt; \begin{pmatrix}<br /> 1 &amp; 0 &amp; z\\<br /> 0 &amp; 1 &amp; 0\\<br /> 0 &amp; 0 &amp; 1<br /> \end{pmatrix}&lt;/math&gt;<br /> * The center of a [[nonabelian group|nonabelian]] [[simple group]] is trivial.<br /> * The center of the [[dihedral group]], {{math|D{{sub|''n''}}}}, is trivial for odd {{math|''n'' ≥ 3}}. For even {{math|''n'' ≥ 4}}, the center consists of the identity element together with the 180° rotation of the [[polygon]].<br /> * The center of the [[quaternion group]], {{math|1=Q{{sub|8}} = {1, −1, i, −i, j, −j, k, −k} }}, is {{math|{1, −1}&lt;nowiki/&gt;}}.<br /> * The center of the [[symmetric group]], {{math|''S''{{sub|''n''}}}}, is trivial for {{math|''n'' ≥ 3}}.<br /> * The center of the [[alternating group]], {{math|''A''{{sub|''n''}}}}, is trivial for {{math|''n'' ≥ 4}}.<br /> * The center of the [[general linear group]] over a [[Field (mathematics)|field]] {{math|F}}, {{math|GL{{sub|''n''}}(F)}}, is the collection of [[diagonal matrix|scalar matrices]], {{math|{{mset| sI&lt;sub&gt;''n''&lt;/sub&gt; ∣ s ∈ F \ {0} }}}}.<br /> * The center of the [[orthogonal group]], {{math|O&lt;sub&gt;''n''&lt;/sub&gt;(F)}} is {{math|{I&lt;sub&gt;''n''&lt;/sub&gt;, −I&lt;sub&gt;''n''&lt;/sub&gt;}&lt;nowiki/&gt;}}.<br /> * The center of the [[special orthogonal group]], {{math|SO(''n'')}} is the whole group when {{math|1=''n'' = 2}}, and otherwise {{math|{{mset|I&lt;sub&gt;''n''&lt;/sub&gt;, −I&lt;sub&gt;''n''&lt;/sub&gt;}}}} when ''n'' is even, and trivial when ''n'' is odd.<br /> * The center of the [[unitary group]], &lt;math&gt;U(n)&lt;/math&gt; is &lt;math&gt;\left\{ e^{i\theta} \cdot I_n \mid \theta \in [0, 2\pi) \right\}&lt;/math&gt;.<br /> * The center of the [[special unitary group]], &lt;math&gt;\operatorname{SU}(n)&lt;/math&gt; is &lt;math display=&quot;inline&quot;&gt;\left\lbrace e^{i\theta} \cdot I_n \mid \theta = \frac{2k\pi}{n}, k = 0, 1, \dots, n-1 \right\rbrace &lt;/math&gt;.<br /> * The center of the multiplicative group of non-zero [[quaternion]]s is the multiplicative group of non-zero [[real number]]s.<br /> * Using the [[class equation]], one can prove that the center of any non-trivial [[finite group|finite]] [[p-group]] is non-trivial.<br /> * If the [[quotient group]] {{math|''G''/Z(''G'')}} is [[cyclic group|cyclic]], {{math|''G''}} is [[abelian group|abelian]] (and hence {{math|1=''G'' = Z(''G'')}}, so {{math|''G''/Z(''G'')}} is trivial).<br /> * The center of the [[megaminx]] group is a cyclic group of order 2, and the center of the [[kilominx]] group is trivial.<br /> <br /> ==Higher centers==<br /> Quotienting out by the center of a group yields a sequence of groups called the '''[[upper central series]]''':<br /> <br /> :{{math|1=(''G''{{sub|0}} = ''G'') ⟶ (''G''{{sub|1}} = ''G''{{sub|0}}/Z(''G''{{sub|0}})) ⟶ (''G''{{sub|2}} = ''G''{{sub|1}}/Z(''G''{{sub|1}})) ⟶ ⋯}}<br /> <br /> The kernel of the map {{math|''G'' → ''G{{sub|i}}''}} is the '''{{math|''i''}}th center'''&lt;ref&gt;{{Cite journal |last=Ellis |first=Graham |date=1998-02-01 |title=On groups with a finite nilpotent upper central quotient |url=https://doi.org/10.1007/s000130050169 |journal=Archiv der Mathematik |language=en |volume=70 |issue=2 |pages=89–96 |doi=10.1007/s000130050169 |issn=1420-8938}}&lt;/ref&gt; of {{math|''G''}} ('''second center''', '''third center''', etc.) and is denoted {{math|Z{{sup|''i''}}(''G'')}}.&lt;ref&gt;{{Cite journal |last=Ellis |first=Graham |date=1998-02-01 |title=On groups with a finite nilpotent upper central quotient |url=https://doi.org/10.1007/s000130050169 |journal=Archiv der Mathematik |language=en |volume=70 |issue=2 |pages=89–96 |doi=10.1007/s000130050169 |issn=1420-8938}}&lt;/ref&gt; Concretely, the ({{math|''i'' + 1}})-st center are the terms that commute with all elements up to an element of the {{math|''i''}}th center. Following this definition, one can define the 0th center of a group to be the identity subgroup. This can be continued to [[transfinite ordinals]] by [[transfinite induction]]; the union of all the higher centers is called the '''[[hypercenter]]'''.&lt;ref group=&quot;note&quot;&gt;This union will include transfinite terms if the UCS does not stabilize at a finite stage.&lt;/ref&gt;<br /> <br /> The [[total order#Chains|ascending chain]] of subgroups<br /> :{{math|1 ≤ Z(''G'') ≤ Z{{sup|2}}(''G'') ≤ ⋯}}<br /> stabilizes at ''i'' (equivalently, {{math|1=Z{{sup|''i''}}(''G'') = Z{{sup|i+1}}(''G'')}}) [[if and only if]] {{math|''G''{{sub|''i''}}}} is centerless.<br /> <br /> ===Examples===<br /> * For a centerless group, all higher centers are zero, which is the case {{math|1=Z{{sup|0}}(''G'') = Z{{sup|1}}(''G'')}} of stabilization.<br /> * By [[Grün's lemma]], the quotient of a [[perfect group]] by its center is centerless, hence all higher centers equal the center. This is a case of stabilization at {{math|1=Z{{sup|1}}(''G'') = Z{{sup|2}}(''G'')}}.<br /> <br /> ==See also==<br /> *[[Center (algebra)]]<br /> *[[Center (ring theory)]]<br /> *[[Centralizer and normalizer]]<br /> *[[Conjugacy class]]<br /> <br /> ==Notes==<br /> {{reflist|group=note}}<br /> <br /> == References ==<br /> * {{cite book<br /> | last1=Fraleigh | first1=John B. | authorlink1=<br /> | year = 2014<br /> | title = A First Course in Abstract Algebra<br /> | edition = 7<br /> | publisher = Pearson<br /> | isbn = 978-1-292-02496-7<br /> }}<br /> <br /> ==External links==<br /> * {{springer|title=Centre of a group|id=p/c021250}}<br /> <br /> [[Category:Group theory]]<br /> [[Category:Functional subgroups]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Commesse&diff=1153736197 Commesse 2023-05-08T01:22:00Z <p>Magmalex: corrected the English translation of the title</p> <hr /> <div>{{Infobox television<br /> | image = Commesse poster.jpg<br /> | caption = <br /> | camera = <br /> | runtime = <br /> | creator = <br /> | starring =<br /> | country = [[Italy]]<br /> | network = <br /> | first_aired =<br /> | last_aired =<br /> | num_seasons = <br /> | num_episodes = <br /> | list_episodes = <br /> }}<br /> <br /> '''''Commesse (sales associates)''''' is an Italian television comedy drama series directed by [[Giorgio Capitani]] and broadcast by [[Rai 1]] between 1999 and 2002.<br /> <br /> == Cast ==<br /> * [[Sabrina Ferilli]]: Marta De Santis<br /> * [[Nancy Brilli]]: Roberta Ardenzi<br /> * [[Veronica Pivetti]]: Fiorenza<br /> * [[Franco Castellano]]: Romeo<br /> * [[Caterina Vertova]]: Francesca Carraro<br /> * [[Anna Valle]]: Paola<br /> * [[Elodie Treccani]]: Lucia Manca<br /> * [[Lorenzo Ciompi]]: Dottor Livata<br /> * [[Giacomo Piperno]]: Dante, padre di Fiorenza<br /> * [[Giuliana Calandra]]: Anna, madre di Fiorenza<br /> * [[Rodolfo Bigotti]]: Giancarlo De Santis, marito di Marta<br /> * [[Massimo Ciavarro]]: Architetto Riccardo Jesi <br /> * [[Gigliola Cinquetti]]: Clara Massimi<br /> * [[Ray Lovelock (actor)|Ray Lovelock]]: Luca Massimi<br /> * [[Caterina Deregibus]]: Elisa (season 2)<br /> * [[Marco Bonini]]: Tommaso (season 2)<br /> * [[Massimo Ghini]]: Avvocato Giovanni Minardi (season 2)<br /> * [[Cesare Bocci]]: Gianni, fidanzato di Fiorenza (season 2)<br /> <br /> ==See also==<br /> *[[List of Italian television series]]<br /> <br /> ==External links==<br /> * {{IMDb title}}<br /> <br /> {{Rai original series}}<br /> {{Authority Control}}<br /> <br /> [[Category:Italian television series]]<br /> [[Category:RAI original programming]]<br /> &lt;!-- <br /> [[Category:Television series debuts]]<br /> [[Category:Television series endings]]<br /> [[Category:1999 television series debuts]]<br /> [[Category:2002 television series endings]]<br /> <br /> --&gt;<br /> <br /> <br /> {{Italy-tv-prog-stub}}</div> Magmalex https://en.wikipedia.org/w/index.php?title=Real_projective_plane&diff=1081594736 Real projective plane 2022-04-08T12:09:16Z <p>Magmalex: Clarified construction of Moebious strip</p> <hr /> <div>{{short description|Compact non-orientable two-dimensional manifold}}<br /> {| class=wikitable align=right<br /> | valign=top width=120|[[File:ProjectivePlaneAsSquare.svg|120px]]&lt;BR&gt;The [[fundamental polygon]] of the projective plane.<br /> | valign=top width=120 style=&quot;padding-top:8px&quot;|[[File:MöbiusStripAsSquare.svg|102px|center]] &lt;div style=&quot;margin-top:6px;&quot;&gt;The [[Möbius strip]] with a single edge, can be closed into a projective plane by gluing opposite open edges together.&lt;/div&gt;<br /> | valign=top width=120|[[File:KleinBottleAsSquare.svg|120px]]&lt;BR&gt;In comparison, the [[Klein bottle]] is a Möbius strip closed into a cylinder.<br /> |}<br /> In [[mathematics]], the '''real [[projective plane]]''' is an example of a compact non-[[Orientability|orientable]] two-dimensional [[manifold]]; in other words, a one-sided [[Surface (topology)|surface]]. It cannot be [[embedding|embedded]] in standard three-dimensional space without intersecting itself. It has basic applications to [[geometry]], since the common construction of the real projective plane is as the space of lines in '''R'''&lt;sup&gt;3&lt;/sup&gt; passing through the origin.<br /> <br /> The plane is also often described topologically, in terms of a construction based on the [[Möbius strip]]: if one could glue the (single) edge of the Möbius strip to itself in the correct direction, one would obtain the [[projective plane]]. (This cannot be done in three-dimensional space without the surface intersecting itself.) Equivalently, gluing a disk along the boundary of the Möbius strip gives the projective plane. Topologically, it has [[Euler characteristic]] 1, hence a [[Genus (mathematics)|demigenus]] (non-orientable genus, Euler genus) of 1.<br /> <br /> Since the Möbius strip, in turn, can be constructed from a [[Square (geometry)|square]] by gluing two of its sides together with a half-twist, the ''real'' projective plane can thus be represented as a unit square (that is, [0, 1] [[Cartesian product|×]] [0,1] ) with its sides identified by the following [[equivalence relation]]s:<br /> :(0, ''y'') ~ (1, 1 − ''y'') &amp;nbsp; for 0&amp;nbsp;≤&amp;nbsp;''y''&amp;nbsp;≤&amp;nbsp;1<br /> <br /> and<br /> :(''x'', 0) ~ (1 − ''x'', 1) &amp;nbsp; for 0&amp;nbsp;≤&amp;nbsp;''x''&amp;nbsp;≤&amp;nbsp;1,<br /> <br /> as in the leftmost diagram shown here.<br /> <br /> == Examples ==<br /> Projective geometry is not necessarily concerned with curvature and the real projective plane may be twisted up and placed in the Euclidean plane or 3-space in many different ways.&lt;ref name=&quot;apery&quot;&gt;Apéry, F.; ''Models of the real projective plane'', Vieweg (1987)&lt;/ref&gt; Some of the more important examples are described below.<br /> <br /> The projective plane cannot be [[embedding|embedded]] (that is without intersection) in three-dimensional [[Euclidean space]]. The proof that the projective plane does not embed in three-dimensional Euclidean space goes like this: Assuming that it does embed, it would bound a compact region in three-dimensional Euclidean space by the [[Jordan curve theorem|generalized Jordan curve theorem]]. The outward-pointing unit normal vector field would then give an [[Orientation (mathematics)|orientation]] of the boundary manifold, but the boundary manifold would be the [[projective plane]], which is not orientable. This is a contradiction, and so our assumption that it does embed must have been false.<br /> <br /> ===The projective sphere===<br /> Consider a [[sphere]], and let the [[great circle]]s of the sphere be &quot;lines&quot;, and let pairs of [[antipodal point]]s be &quot;points&quot;. It is easy to check that this system obeys the axioms required of a [[projective plane]]:<br /> <br /> *any pair of distinct great circles meet at a pair of antipodal points; and<br /> *any two distinct pairs of antipodal points lie on a single great circle.<br /> <br /> If we identify each point on the sphere with its antipodal point, then we get a representation of the real projective plane in which the &quot;points&quot; of the projective plane really are points. This means that the projective plane is the quotient space of the sphere obtained by partitioning the sphere into equivalence classes under the equivalence relation ~, where x ~ y [[Conditional clause|if]] y = x or y = &amp;minus;x. This quotient space of the sphere is [[homeomorphic]] with the collection of all lines passing through the origin in '''R'''&lt;sup&gt;3&lt;/sup&gt;.<br /> <br /> The quotient map from the sphere onto the real projective plane is in fact a two sheeted (i.e. two-to-one) [[covering map]]. It follows that the [[fundamental group]] of the real projective plane is the cyclic group of order 2; i.e., integers modulo 2. One can take the loop ''AB'' from the figure above to be the generator.<br /> <br /> ===The projective hemisphere===<br /> Because the sphere covers the real projective plane twice, the plane may be represented as a closed hemisphere around whose rim opposite points are similarly identified.&lt;ref&gt;Weeks, J.; ''The shape of space'', CRC (2002), p 59&lt;/ref&gt;<br /> <br /> ===Boy's surface – an immersion===<br /> The projective plane can be [[Immersion (mathematics)|immersed]] (local neighbourhoods of the source space do not have self-intersections) in 3-space. [[Boy's surface]] is an example of an immersion.<br /> <br /> Polyhedral examples must have at least nine faces.&lt;ref&gt;Brehm, U.; &quot;How to build minimal polyhedral models of the Boy surface&quot;, ''The mathematical intelligencer'' '''12''', No. 4 (1990), pp 51-56.&lt;/ref&gt;<br /> <br /> ===Roman surface===<br /> [[Image:Steiner's Roman Surface.gif|thumb|An animation of the Roman Surface]]<br /> Steiner's [[Roman surface]] is a more degenerate map of the projective plane into 3-space, containing a [[cross-cap]].<br /> <br /> [[File:Tetrahemihexahedron.png|thumb|The [[tetrahemihexahedron]] is a polyhedral representation of the real projective plane.]]<br /> A [[Polyhedron|polyhedral]] representation is the [[tetrahemihexahedron]],&lt;ref name=&quot;richter&quot;&gt;{{Harv|Richter}}&lt;/ref&gt; which has the same general form as Steiner's Roman Surface, shown here.<br /> <br /> ===Hemi polyhedra===<br /> Looking in the opposite direction, certain [[abstract regular polytope]]s – [[Hemicube (geometry)|hemi-cube]], [[hemi-dodecahedron]], and [[hemi-icosahedron]] – can be constructed as regular figures in the ''projective plane;'' see also [[projective polyhedra]].<br /> <br /> ===Planar projections===<br /> Various planar (flat) projections or mappings of the projective plane have been described. In 1874 Klein described the mapping:&lt;ref name=&quot;apery&quot; /&gt;<br /> : &lt;math&gt;k (x, y) = \left(1 + x^2 + y^2\right)^\frac{1}{2} \begin{pmatrix}x \\ y\end{pmatrix}&lt;/math&gt;<br /> <br /> Central projection of the projective hemisphere onto a plane yields the usual infinite projective plane, described below.<br /> <br /> ===Cross-capped disk===<br /> A closed surface is obtained by gluing a [[disk (mathematics)|disk]] to a [[cross-cap]]. This surface can be represented parametrically by the following equations:<br /> :&lt;math&gt;\begin{align}<br /> X(u,v) &amp;= r \, (1 + \cos v) \, \cos u, \\<br /> Y(u,v) &amp;= r \, (1 + \cos v) \, \sin u, \\<br /> Z(u,v) &amp;= -\operatorname{tanh}\left(u - \pi \right) \, r \, \sin v,<br /> \end{align}&lt;/math&gt;<br /> <br /> where both ''u'' and ''v'' range from 0 to 2''π''.<br /> <br /> These equations are similar to those of a [[torus]]. Figure&amp;nbsp;1 shows a closed cross-capped disk.<br /> <br /> {|<br /> | [[Image:CrossCapTwoViews.PNG|500px]]<br /> |-<br /> | align=center | Figure 1. Two views of a cross-capped disk.<br /> |}<br /> <br /> A cross-capped disk has a [[plane of symmetry]] which passes through its line segment of double points. In Figure&amp;nbsp;1 the cross-capped disk is seen from above its plane of symmetry ''z'' = 0, but it would look the same if seen from below.<br /> <br /> A cross-capped disk can be sliced open along its plane of symmetry, while making sure not to cut along any of its double points. The result is shown in Figure&amp;nbsp;2.<br /> <br /> {|<br /> | [[Image:CrossCapSlicedOpen.PNG|500px]]<br /> |-<br /> | align=center | Figure 2. Two views of a cross-capped disk which has been sliced open.<br /> |}<br /> <br /> Once this exception is made, it will be seen that the sliced cross-capped disk is [[homeomorphism|homeomorphic]] to a self-intersecting disk, as shown in Figure&amp;nbsp;3.<br /> <br /> {|<br /> | [[Image:SelfIntersectingDisk.PNG|500px]]<br /> |-<br /> | align=center | Figure 3. Two alternative views of a self-intersecting disk.<br /> |}<br /> <br /> The self-intersecting disk is homeomorphic to an ordinary disk. The parametric equations of the self-intersecting disk are:<br /> :&lt;math&gt;\begin{align}<br /> X(u, v) &amp;= r \, v \, \cos 2u, \\<br /> Y(u, v) &amp;= r \, v \, \sin 2u, \\<br /> Z(u, v) &amp;= r \, v \, \cos u,<br /> \end{align}&lt;/math&gt;<br /> <br /> where ''u'' ranges from 0 to 2''π'' and ''v'' ranges from 0 to 1.<br /> <br /> Projecting the self-intersecting disk onto the plane of symmetry (''z'' = 0 in the parametrization given earlier) which passes only through the double points, the result is an ordinary disk which repeats itself (doubles up on itself).<br /> <br /> The plane ''z'' = 0 cuts the self-intersecting disk into a pair of disks which are mirror [[Reflection (mathematics)|reflection]]s of each other. The disks have centers at the [[Origin (mathematics)|origin]].<br /> <br /> Now consider the rims of the disks (with ''v'' = 1). The points on the rim of the self-intersecting disk come in pairs which are reflections of each other with respect to the plane ''z'' = 0.<br /> <br /> A cross-capped disk is formed by identifying these pairs of points, making them equivalent to each other. This means that a point with parameters (''u'', 1) and coordinates &lt;math&gt;(r \, \cos 2u, r \, \sin 2u, r \, \cos u)&lt;/math&gt; is identified with the point (''u'' + π, 1) whose coordinates are &lt;math&gt; (r \, \cos 2 u, r \, \sin 2 u, - r \, \cos u) &lt;/math&gt;. But this means that pairs of opposite points on the rim of the (equivalent) ordinary disk are identified with each other; this is how a real projective plane is formed out of a disk. Therefore, the surface shown in Figure&amp;nbsp;1 (cross-cap with disk) is topologically equivalent to the real projective plane ''RP''&lt;sup&gt;2&lt;/sup&gt;.<br /> <br /> ==Homogeneous coordinates==<br /> {{main|Homogeneous coordinates}}<br /> The points in the plane can be represented by [[homogeneous coordinates]]. A point has homogeneous coordinates [''x''&amp;nbsp;:&amp;nbsp;''y''&amp;nbsp;:&amp;nbsp;''z''], where the coordinates [''x''&amp;nbsp;:&amp;nbsp;''y''&amp;nbsp;:&amp;nbsp;''z''] and [''tx''&amp;nbsp;:&amp;nbsp;''ty''&amp;nbsp;:&amp;nbsp;''tz''] are considered to represent the same point, for all nonzero values of ''t''. The points with coordinates [''x''&amp;nbsp;:&amp;nbsp;''y''&amp;nbsp;:&amp;nbsp;1] are the usual [[real plane]], called the '''finite part''' of the projective plane, and points with coordinates [''x''&amp;nbsp;:&amp;nbsp;''y''&amp;nbsp;:&amp;nbsp;0], called '''points at infinity''' or '''ideal points''', constitute a line called the '''[[line at infinity]]'''. (The homogeneous coordinates [0&amp;nbsp;:&amp;nbsp;0&amp;nbsp;:&amp;nbsp;0] do not represent any point.)<br /> <br /> The lines in the plane can also be represented by homogeneous coordinates. A projective line corresponding to the plane {{nowrap|''ax'' + ''by'' + ''cz'' {{=}} 0}} in '''R'''&lt;sup&gt;3&lt;/sup&gt; has the homogeneous coordinates (''a''&amp;nbsp;:&amp;nbsp;''b''&amp;nbsp;:&amp;nbsp;''c''). Thus, these coordinates have the equivalence relation (''a''&amp;nbsp;:&amp;nbsp;''b''&amp;nbsp;:&amp;nbsp;''c'') = (''da''&amp;nbsp;:&amp;nbsp;''db''&amp;nbsp;:&amp;nbsp;''dc'') for all nonzero values of ''d''. Hence a different equation of the same line ''dax''&amp;nbsp;+&amp;nbsp;''dby''&amp;nbsp;+&amp;nbsp;''dcz''&amp;nbsp;=&amp;nbsp;0 gives the same homogeneous coordinates. <br /> A point [''x''&amp;nbsp;:&amp;nbsp;''y''&amp;nbsp;:&amp;nbsp;''z''] lies on a line (''a''&amp;nbsp;:&amp;nbsp;''b''&amp;nbsp;:&amp;nbsp;''c'') if ''ax''&amp;nbsp;+&amp;nbsp;''by''&amp;nbsp;+&amp;nbsp;''cz''&amp;nbsp;=&amp;nbsp;0. <br /> Therefore, lines with coordinates (''a''&amp;nbsp;:&amp;nbsp;''b''&amp;nbsp;:&amp;nbsp;''c'') where ''a'',&amp;nbsp;''b'' are not both 0 correspond to the lines in the usual [[real plane]], because they contain points that are not at infinity. The line with coordinates (0&amp;nbsp;:&amp;nbsp;0&amp;nbsp;:&amp;nbsp;1) is the line at infinity, since the only points on it are those with&amp;nbsp;''z''&amp;nbsp;=&amp;nbsp;0.<br /> <br /> ===Points, lines, and planes===<br /> [[Image:Proj geom1.PNG|right]]<br /> A line in '''P'''&lt;sup&gt;2&lt;/sup&gt; can be represented by the equation ''ax'' + ''by'' + ''cz'' = 0. If we treat ''a'', ''b'', and ''c'' as the column vector '''ℓ''' and ''x'', ''y'', ''z'' as the column vector '''x''' then the equation above can be written in matrix form as:<br /> <br /> :'''x'''&lt;sup&gt;T&lt;/sup&gt;'''ℓ''' = 0 or '''ℓ'''&lt;sup&gt;T&lt;/sup&gt;'''x''' = 0.<br /> <br /> Using vector notation we may instead write '''x''' &amp;sdot; '''ℓ''' = 0 or '''ℓ''' &amp;sdot; '''x''' = 0.<br /> <br /> The equation ''k''('''x'''&lt;sup&gt;T&lt;/sup&gt;'''ℓ''') = 0 (which k is a non-zero scalar) sweeps out a plane that goes through zero in '''R'''&lt;sup&gt;3&lt;/sup&gt; and ''k''(''x'') sweeps out a line, again going through zero. The plane and line are [[linear subspace]]s in [[real coordinate space|'''R'''&lt;sup&gt;3&lt;/sup&gt;]], which always go through zero.<br /> {{Clear}}<br /> <br /> ===Ideal points===<br /> [[Image:prj geom.svg|right]]<br /> <br /> In '''P'''&lt;sup&gt;2&lt;/sup&gt; the equation of a line is {{nowrap|''ax'' + ''by'' + ''cz'' {{=}} 0}} and this equation can represent a line on any plane parallel to the ''x'', ''y'' plane by multiplying the equation by ''k''.<br /> <br /> If {{nowrap|''z'' {{=}} 1}} we have a normalized homogeneous coordinate. All points that have ''z'' = 1 create a plane. Let's pretend we are looking at that plane (from a position further out along the ''z'' axis and looking back towards the origin) and there are two parallel lines drawn on the plane. From where we are standing (given our visual capabilities) we can see only so much of the plane, which we represent as the area outlined in red in the diagram. If we walk away from the plane along the ''z'' axis, (still looking backwards towards the origin), we can see more of the plane. In our field of view original points have moved. We can reflect this movement by dividing the homogeneous coordinate by a constant. In the adjacent image we have divided by 2 so the ''z'' value now becomes 0.5. If we walk far enough away what we are looking at becomes a point in the distance. As we walk away we see more and more of the parallel lines. The lines will meet at a line at infinity (a line that goes through zero on the plane at {{nowrap|''z'' {{=}} 0}}). Lines on the plane when {{nowrap|''z'' {{=}} 0}} are ideal points. The plane at {{nowrap|''z'' {{=}} 0}} is the line at infinity.<br /> <br /> The homogeneous point {{nowrap|(0, 0, 0)}} is where all the real points go when you're looking at the plane from an infinite distance, a line on the {{nowrap|''z'' {{=}} 0}} plane is where parallel lines intersect.<br /> {{Clear}}<br /> <br /> ===Duality===<br /> [[Image:Projective geometry diagram 2.svg|200px|right]]<br /> In the equation {{nowrap|'''x'''&lt;sup&gt;T&lt;/sup&gt;'''ℓ''' {{=}} 0}} there are two [[column vector]]s. You can keep either constant and vary the other. If we keep the point '''x''' constant and vary the coefficients '''ℓ''' we create new lines that go through the point. If we keep the coefficients constant and vary the points that satisfy the equation we create a line. We look upon '''x''' as a point, because the axes we are using are ''x'', ''y'', and ''z''. If we instead plotted the coefficients using axis marked ''a'', ''b'', ''c'' points would become lines and lines would become points. If you prove something with the [[data plot]]ted on axis marked ''x'', ''y'', and ''z'' the same argument can be used for the data plotted on axis marked ''a'', ''b'', and ''c''. That is duality.<br /> {{Clear}}<br /> <br /> ====Lines joining points and intersection of lines (using duality)====<br /> The equation {{nowrap|'''x'''&lt;sup&gt;T&lt;/sup&gt;'''ℓ''' {{=}} 0}} calculates the [[dot product|inner product]] of two column vectors. The inner product of two vectors is zero if the vectors are [[orthogonal]]. In '''P'''&lt;sup&gt;2&lt;/sup&gt;, the line between the points '''x'''&lt;sub&gt;1&lt;/sub&gt; and '''x'''&lt;sub&gt;2&lt;/sub&gt; may be represented as a column vector '''ℓ''' that satisfies the equations {{nowrap|'''x'''&lt;sub&gt;1&lt;/sub&gt;&lt;sup&gt;T&lt;/sup&gt;'''ℓ''' {{=}} 0}} and {{nowrap|'''x'''&lt;sub&gt;2&lt;/sub&gt;&lt;sup&gt;T&lt;/sup&gt;'''ℓ''' {{=}} 0}}, or in other words a column vector '''ℓ''' that is orthogonal to '''x'''&lt;sub&gt;1&lt;/sub&gt; and '''x'''&lt;sub&gt;2&lt;/sub&gt;. The [[cross product]] will find such a vector: the line joining two points has homogeneous coordinates given by the equation {{nowrap|'''x'''&lt;sub&gt;1&lt;/sub&gt; × '''x'''&lt;sub&gt;2&lt;/sub&gt;}}. The intersection of two lines may be found in the same way, using duality, as the cross product of the vectors representing the lines, {{nowrap|'''ℓ'''&lt;sub&gt;1&lt;/sub&gt; × '''ℓ'''&lt;sub&gt;2&lt;/sub&gt;}}.<br /> <br /> ==Embedding into 4-dimensional space==<br /> The projective plane embeds into 4-dimensional Euclidean space. The real projective plane '''P'''&lt;sup&gt;2&lt;/sup&gt;('''R''') is the [[Quotient space (topology)|quotient]] of the two-sphere<br /> <br /> :'''S'''&lt;sup&gt;2&lt;/sup&gt; = {(''x'', ''y'', ''z'') ∈ '''R'''&lt;sup&gt;3&lt;/sup&gt; : ''x''&lt;sup&gt;2&lt;/sup&gt; + ''y''&lt;sup&gt;2&lt;/sup&gt; + ''z''&lt;sup&gt;2&lt;/sup&gt; = 1}<br /> <br /> by the antipodal relation {{nowrap|(''x'', ''y'', ''z'') ~ (−''x'', −''y'', −''z'')}}. Consider the function {{nowrap|'''R'''&lt;sup&gt;3&lt;/sup&gt; → '''R'''&lt;sup&gt;4&lt;/sup&gt;}} given by {{nowrap|(''x'', ''y'', ''z'') ↦ (''xy'', ''xz'', ''y''&lt;sup&gt;2&lt;/sup&gt; − ''z''&lt;sup&gt;2&lt;/sup&gt;, 2''yz'')}}. This map restricts to a map whose domain is '''S'''&lt;sup&gt;2&lt;/sup&gt; and, since each component is a homogeneous polynomial of even degree, it takes the same values in '''R'''&lt;sup&gt;4&lt;/sup&gt; on each of any two antipodal points on '''S'''&lt;sup&gt;2&lt;/sup&gt;. This yields a map {{nowrap|'''P'''&lt;sup&gt;2&lt;/sup&gt;('''R''') → '''R'''&lt;sup&gt;4&lt;/sup&gt;}}. Moreover, this map is an embedding. Notice that this embedding admits a projection into '''R'''&lt;sup&gt;3&lt;/sup&gt; which is the [[Roman surface]].<br /> <br /> ==Higher non-orientable surfaces==<br /> By gluing together projective planes successively we get non-orientable surfaces of higher [[genus (mathematics)|demigenus]]. The gluing process consists of cutting out a little disk from each surface and identifying (''gluing'') their boundary circles. Gluing two projective planes creates the [[Klein bottle]].<br /> <br /> The article on the [[fundamental polygon]] describes the higher non-orientable surfaces.<br /> <br /> ==See also==<br /> *[[Real projective space]]<br /> *[[Projective space]]<br /> *[[Pu's inequality|Pu's inequality for real projective plane]]<br /> *[[Smooth projective plane]]<br /> <br /> ==References==<br /> {{reflist}}<br /> {{refbegin}}<br /> *Coxeter, H.S.M. (1955), ''The Real Projective Plane'', 2nd ed. Cambridge: At the University Press.<br /> *Reinhold Baer, Linear Algebra and Projective Geometry, Dover, 2005 ({{isbn|0-486-44565-8}} )<br /> * {{citation | first = David A. | last = Richter | url = http://homepages.wmich.edu/~drichter/rptwo.htm | title = Two Models of the Real Projective Plane | access-date = 2010-04-15 }}<br /> {{refend}}<br /> <br /> == External links ==<br /> * {{MathWorld|urlname=RealProjectivePlane|title=Real Projective Plane}}<br /> * [http://vis.cs.brown.edu/docs/pdf/Demiralp-2009-CLF.pdf Line field coloring using Werner Boy's real projective plane immersion]<br /> * [https://www.youtube.com/watch?v=lDqmaPEjJpk The real projective plane on YouTube]<br /> <br /> {{Compact topological surfaces}}<br /> <br /> [[Category:Surfaces]]<br /> [[Category:Geometric topology]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Robert_Fano&diff=954426874 Robert Fano 2020-05-02T10:16:12Z <p>Magmalex: /* Early life and education */ corrected a typo</p> <hr /> <div>{{short description|Italian-American computer scientist}}<br /> {{Infobox scientist<br /> | image = Robert Fano 2012-03-13.jpg<br /> | image_size = <br /> | alt = <br /> | caption = Prof. Fano in his office at MIT in 2012<br /> | birth_name = Roberto Mario Fano<br /> | birth_date = {{Birth date|df=yes|1917|11|11}}<br /> | birth_place = [[Turin]], Italy<br /> | death_date = {{Death date and age|df=yes|2016|07|13|1917|11|11}}<br /> | death_place = [[Naples, Florida]]<br /> | citizenship = United States of America<br /> | fields = [[computer science]], [[information theory]]<br /> | workplaces = [[Massachusetts Institute of Technology]]<br /> | alma_mater = MIT<br /> | thesis_title = Theoretical Limitations on the Broadband Matching of Arbitrary Impedances<br /> | thesis_year = 1947<br /> | doctoral_advisor = [[Ernst Guillemin]]<br /> | known_for = [[Shannon–Fano coding]], founder of [[Project MAC]]<br /> | awards = [[IEEE James H. Mulligan Jr. Education Medal]] &lt;small&gt;(1977)&lt;/small&gt;&lt;br&gt;[[Claude E. Shannon Award|Shannon Award]] &lt;small&gt;(1976)&lt;/small&gt;&lt;br&gt;[[IEEE Fellow]] &lt;small&gt;(1954)&lt;/small&gt;<br /> }}<br /> '''Roberto Mario &quot;Robert&quot; Fano''' (11 November 1917 – 13 July 2016) was an Italian-American computer scientist and professor of [[electrical engineering]] and [[computer science]] at the [[Massachusetts Institute of Technology]].&lt;ref&gt;{{cite news|url=https://www.nytimes.com/2008/03/13/world/europe/13weizenbaum.html|title=Joseph Weizenbaum Dies; Computer Pioneer Was 85|last=Markoff|first=John|date=13 March 2008|work=The New York Times|page=22|accessdate=15 August 2011}}&lt;/ref&gt;<br /> <br /> ==Early life and education==<br /> Fano was born in Turin, Italy in 1917&lt;ref name=&quot;Seising2007&quot;&gt;{{cite book|last=Seising|first=Rudolf|title=Fuzzification of systems: the genesis of fuzzy set theory and its initial applications - developments up to the 1970s|url=https://books.google.com/books?id=rdYRdlM2dAQC&amp;pg=PA33|accessdate=15 August 2011|date=2007-08-08|publisher=Springer|isbn=978-3-540-71794-2|pages=33–}}&lt;/ref&gt;&lt;ref&gt;{{cite web|title=United States Public Records Index|url=https://familysearch.org/pal:/MM9.1.1/KLDP-WJX|publisher=FamilySearch|accessdate=9 August 2013}}&lt;/ref&gt; to a [[History of the Jews in Italy|Jewish]] family and grew up in Turin.&lt;ref&gt;[https://opinionator.blogs.nytimes.com/2011/06/23/did-my-brother-invent-e-mail-with-tom-van-vleck-part-five/ Did My Brother Invent E-Mail With Tom Van Vleck? (Part Five)]<br /> BY ERROL MORRIS JUNE 23, 2011, New York Times&lt;/ref&gt; Fano's father was the mathematician [[Gino Fano]], his older brother was the physicist [[Ugo Fano]], and [[Giulio Racah]] was a cousin.&lt;ref&gt;{{cite book|title=The New York Times biographical service|url=https://books.google.com/books?id=_HkoAQAAIAAJ|year=2001|publisher=New York Times &amp; Arno Press|pages=297}}&lt;/ref&gt; Fano studied engineering as an [[undergraduate]] at the School of Engineering of Torino (Politecnico di Torino) until 1939, when he emigrated to the United States as a result of anti-Jewish legislation passed under [[Benito Mussolini]].&lt;ref&gt;{{cite web | authorlink = Errol Morris | last = Morris | first = Errol | title = Did My Brother Invent E-Mail With Tom Van Vleck? (Part Five) | url = http://opinionator.blogs.nytimes.com/2011/06/23/did-my-brother-invent-e-mail-with-tom-van-vleck-part-five/#more-96615 | accessdate = 2012-03-14 | date = 23 June 2011 | work = Opinionator | publisher = [[The New York Times]]}}&lt;/ref&gt; He received his [[bachelor's degree|S.B.]] in electrical engineering from MIT in 1941, and upon graduation joined the staff of the [[MIT Radiation Laboratory]]. After World War II, Fano continued on to complete his [[Sc.D.]] in electrical engineering from MIT in 1947. His thesis, titled &quot;Theoretical Limitations on the Broadband Matching of Arbitrary Impedances&quot;,&lt;ref&gt;{{cite web | title = Theoretical Limitations on the Broadband Matching of Arbitrary Impedances - MIT Technical Report no. 41| url = http://www.ieeeghn.org/wiki/images/temp/7/7b/20090630194833!HOBIM_Fano_MIT_TR41.pdf | accessdate = 2013-05-18 | date = 2 January 1948| publisher = MIT Research Laboratory of Electronics}}&lt;/ref&gt; was supervised by [[Ernst Guillemin]].<br /> <br /> ==Career==<br /> Fano's career spans three areas, microwave systems, information theory, and computer science.<br /> <br /> Fano joined the MIT faculty in 1947 to what was then called the Department of Electrical Engineering. Between 1950 and 1953, he led the Radar Techniques Group at [[Lincoln Laboratory]].&lt;ref name=&quot;Lee1995&quot;/&gt; In 1954, Fano was made an [[IEEE Fellow]] for &quot;contributions in the field of information theory and microwave filters&quot;.&lt;ref&gt;{{cite web | publisher = [[Institute of Electrical and Electronics Engineers]] | url = http://www.ieee.org/membership_services/membership/fellows/alphabetical/ffellows.html | title = IEEE Fellows - F | accessdate = 2012-03-13 | url-status = dead | archiveurl = https://web.archive.org/web/20131112201704/http://www.ieee.org/membership_services/membership/fellows/alphabetical/ffellows.html | archivedate = 12 November 2013 | df = dmy-all }}&lt;/ref&gt; He was elected to the [[American Academy of Arts and Sciences]] in 1958, to the [[National Academy of Engineering]] in 1973, and to the [[National Academy of Sciences]] in 1978.&lt;ref name=&quot;Lee1995&quot;&gt;{{cite book|last=Lee|first=John A. N.|title=International biographical dictionary of computer pioneers|url=https://books.google.com/books?id=ocx4Jc12mkgC&amp;pg=PA296|accessdate=15 August 2011|year=1995|publisher=Taylor &amp; Francis US|isbn=978-1-884964-47-3|pages=296–}}&lt;/ref&gt;&lt;ref&gt;Dates of election per the [http://www.amacad.org/members.aspx American Academy] and [http://www.nationalacademies.org/memarea/ National Academies] membership lists.&lt;/ref&gt;<br /> <br /> Fano was known principally for his work on [[information theory]]. He developed [[Shannon–Fano coding]]&lt;ref name=&quot;Salomon2007&quot;&gt;{{cite book|last=Salomon|first=David|title=Data compression: the complete reference|url=https://books.google.com/books?id=ujnQogzx_2EC&amp;pg=PA72|accessdate=15 August 2011|year=2007|publisher=Springer|isbn=978-1-84628-602-5|pages=72–}}&lt;/ref&gt; in collaboration with [[Claude Shannon]], and derived the [[Fano inequality]]. He also invented the [[Sequential decoding|Fano algorithm]] and postulated the [[Sequential decoding|Fano metric]].&lt;ref&gt;{{Cite journal<br /> | last = Fano<br /> | first = Robert M.<br /> | date = April 1963<br /> | title = A heuristic discussion of probabilistic decoding<br /> | journal = IEEE Transactions on Information Theory<br /> | volume=9 |issue=2 |pages=64–73<br /> | doi = 10.1109/tit.1963.1057827<br /> }}&lt;/ref&gt; <br /> <br /> In the early 1960s, Fano was involved in the development of [[time-sharing]] computers. From 1963 until 1968 Fano served as the founding director of MIT's [[Project MAC]], which evolved to become what is now known as the [[MIT Computer Science and Artificial Intelligence Laboratory]].&lt;ref name=&quot;WildesLindgren1985&quot;&gt;{{cite book|last1=Wildes|first1=Karl L.|last2=Lindgren|first2=Nilo A.|title=A century of electrical engineering and computer science at MIT, 1882-1982|url=https://archive.org/details/centuryofelectri0000wild|url-access=registration|accessdate=15 August 2011|year=1985|publisher=MIT Press|isbn=978-0-262-23119-0|pages=[https://archive.org/details/centuryofelectri0000wild/page/348 348]–}}&lt;/ref&gt;&lt;ref name=&quot;BelzerHolzman1979&quot;&gt;{{cite book|last1=Belzer|first1=Jack|last2=Holzman|first2=Albert G.|last3=Kent|first3=Allen|title=Encyclopedia of computer science and technology: Pattern recognition to reliability of computer systems|url=https://books.google.com/books?id=IFmaqTI9-KsC&amp;pg=PA339|accessdate=15 August 2011|date=1979-05-01|publisher=CRC Press|isbn=978-0-8247-2262-3|pages=339–}}&lt;/ref&gt; He also helped to create MIT's original computer science curriculum. <br /> <br /> In 1967, Fano received the [[Claude E. Shannon Award]] for his work in information theory.&lt;ref name=Lee1995/&gt; In 1977 he was recognized for his contribution to the teaching of electrical engineering with the IEEE James H. Mulligan Jr. Education Medal.&lt;ref&gt;{{cite web|url=http://www.ieee.org/documents/education_rl.pdf |title=IEEE James H. Mulligan Jr. Education Medal Recipients |publisher=IEEE |accessdate=December 9, 2014}}&lt;/ref&gt;<br /> <br /> Fano retired from active teaching in 1984,&lt;ref name=&quot;mit-obit&quot;/&gt; and died on 13 July 2016 at the age of 98.&lt;ref name=&quot;mit-obit&quot;&gt;{{cite web|title=Robert Fano, computing pioneer and founder of CSAIL, dies at 98|url=https://news.mit.edu/2016/robert-fano-obituary-0715|publisher=MIT News Office|author1=Conner-Simons, Adam|author2=Gordon, Rachel|date=July 15, 2016|accessdate=15 July 2016|url-status=dead|archiveurl=https://web.archive.org/web/20160716123820/http://news.mit.edu/2016/robert-fano-obituary-0715|archivedate=16 July 2016|df=dmy-all}}&lt;/ref&gt;<br /> <br /> ==Bibliography==<br /> In addition to his work in information theory, Fano also published articles and books about microwave systems,&lt;ref name=&quot;Lee2004&quot;&gt;{{cite book|last=Lee|first=Thomas H.|title=Planar microwave engineering: a practical guide to theory, measurement, and circuits|url=https://books.google.com/books?id=uoj3IWFxbVYC&amp;pg=PA93|accessdate=15 August 2011|year=2004|publisher=Cambridge University Press|isbn=978-0-521-83526-8|pages=93–}}&lt;/ref&gt; electromagnetism, network theory, and engineering education. His longer publications include:<br /> <br /> *&quot;The Theory of Microwave Filters&quot; and &quot;The Design of Microwave Filters&quot;, chapters 9 and 10 in George L. Ragan, ed., ''Microwave Transmission Circuits'', vol. 9 in the ''Radiation Laboratory Series'' (with A. W. Lawson, 1948).<br /> *''Electromagnetic Energy Transmission and Radiation'' (with [[Lan Jen Chu]] and Richard B. Adler, 1960).<br /> *''Electromagnetic Fields, Energy, and Forces'' (with Chu and Adler, 1960).<br /> * {{cite book | last=Fano | first=Robert | title=Transmission of information: a statistical theory of communications | publisher=MIT Press | location=Cambridge, Mass | year=1966 | url=https://archive.org/details/TransmissionOfInformationAStatisticalTheoryOfCommunicationRobertFano| isbn=978-0-262-56169-3 | oclc=804123877 | ref=harv}}<br /> <br /> ==References==<br /> {{Reflist|2}}<br /> <br /> ==External links==<br /> {{Commons category}}<br /> * [http://purl.umn.edu/107281 Oral history interview with Robert M. Fano] 20 April 1989. [[Charles Babbage Institute]] University of Minnesota. Fano discusses his move to computer science from information theory and his interaction with the [[Advanced Research Projects Agency]] (ARPA). Topics include: computing research at the Massachusetts Institute of Technology (MIT); the work of J.C.R. Licklider at the [[Information Processing Techniques Office]] of ARPA; time-sharing and computer networking research; Project MAC; computer science education; CTSS development; [[System Development Corporation]] (SDC); the development of ARPANET; and a comparison of ARPA, National Science Foundation, and Office of Naval Research computer science funding.<br /> * {{YouTube|sjnmcKVnLi0|Video of Robert Fano}} from 1964, demonstrating the [[Compatible Time-Sharing System]] (CTSS).<br /> * {{MathGenealogy|id=64848}}<br /> <br /> {{IEEE James H. Mulligan, Jr. Education Medal}}<br /> {{Claude E. Shannon Award recipients}}<br /> {{Authority control}}<br /> <br /> {{Use dmy dates|date=August 2011}}<br /> <br /> {{DEFAULTSORT:Fano, Robert}}<br /> [[Category:1917 births]]<br /> [[Category:2016 deaths]]<br /> [[Category:American computer scientists]]<br /> [[Category:Italian computer scientists]]<br /> [[Category:American information theorists]]<br /> [[Category:Italian information theorists]]<br /> [[Category:Jewish American scientists]]<br /> [[Category:Members of the United States National Academy of Engineering]]<br /> [[Category:Members of the United States National Academy of Sciences]]<br /> [[Category:American people of Italian-Jewish descent]]<br /> [[Category:Italian refugees]]<br /> [[Category:Italian Jews]]<br /> [[Category:People from Turin]]<br /> [[Category:20th-century American engineers]]<br /> [[Category:20th-century American scientists]]<br /> [[Category:Massachusetts Institute of Technology alumni]]<br /> [[Category:Massachusetts Institute of Technology faculty]]<br /> [[Category:Fellow Members of the IEEE]]<br /> [[Category:Fellows of the American Academy of Arts and Sciences]]<br /> [[Category:MIT Lincoln Laboratory people]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Generating_set_of_a_module&diff=953162937 Generating set of a module 2020-04-26T00:46:41Z <p>Magmalex: Just clarified the subject of a sentence</p> <hr /> <div>In [[abstract algebra|algebra]], a '''generating set''' ''G'' of a [[module (mathematics)|module]] ''M'' over a [[ring (mathematics)|ring]] ''R'' is a subset of ''M'' such that the smallest submodule of ''M'' containing ''G'' is ''M'' itself (the smallest submodule containing a subset is the intersection of all submodules containing the set). The set ''G'' is then said to generate ''M''. For example, the ring ''R'' is generated by the identity element 1 as a left ''R''-module over itself. If there is a finite generating set, then a module is said to be [[finitely generated module|finitely generated]].<br /> <br /> Explicitly, if ''G'' is a generating set of a module ''M'', then every element of ''M'' is a (finite) ''R''-linear combination of some elements of ''G''; i.e., for each ''x'' in ''M'', there are ''r''&lt;sub&gt;1&lt;/sub&gt;, ..., ''r''&lt;sub&gt;''m''&lt;/sub&gt; in ''R'' and ''g''&lt;sub&gt;1&lt;/sub&gt;, ..., ''g''&lt;sub&gt;''m''&lt;/sub&gt; in ''G'' such that<br /> <br /> : &lt;math&gt; x = r_1 g_1 + \cdots + r_m g_m. &lt;/math&gt;<br /> <br /> Put in another way, there is a surjection<br /> <br /> : &lt;math&gt; \bigoplus_{g \in G} R \to M, \, r_g \mapsto r_g g,&lt;/math&gt;<br /> <br /> where we wrote ''r''&lt;sub&gt;''g''&lt;/sub&gt; for an element in the ''g''-th component of the direct sum. (Coincidentally, since a generating set always exists; for example, ''M'' itself, this shows that a module is a quotient of a free module, a useful fact.)<br /> <br /> A generating set of a module is said to be '''minimal''' if no proper subset of the set generates the module. If ''R'' is a [[field (mathematics)|field]], then a generating set is the same thing as a [[basis (linear algebra)|basis]]. Unless the module is [[finitely-generated module|finitely-generated]], there may exist no minimal generating set.&lt;ref&gt;{{cite web|url=https://mathoverflow.net/q/33540 |title=ac.commutative algebra – Existence of a minimal generating set of a module – MathOverflow|work=mathoverflow.net}}&lt;/ref&gt;<br /> <br /> The cardinality of a minimal generating set need not be an invariant of the module; '''Z''' is generated as a principal ideal by 1, but it is also generated by, say, a minimal generating set {{nowrap|{ 2, 3 }}}. What is uniquely determined by a module is the [[infimum]] of the numbers of the generators of the module.<br /> <br /> Let ''R'' be a local ring with maximal ideal ''m'' and residue field ''k'' and ''M'' finitely generated module. Then [[Nakayama's lemma]] says that ''M'' has a minimal generating set whose cardinality is &lt;math&gt;\dim_k M / mM = \dim_k M \otimes_R k&lt;/math&gt;. If ''M'' is flat, then this minimal generating set is [[linearly independent]] (so ''M'' is free). See also: [[minimal resolution (algebra)|minimal resolution]].<br /> <br /> A more refined information is obtained if one considers the relations between the generators; cf. [[free presentation of a module]].<br /> <br /> == See also ==<br /> *[[Countably generated module]]<br /> *[[Flat module]]&lt;!-- explain how to use &quot;flat&quot; to show a minimal generating set is linearly indep. --&gt;<br /> *[[Invariant basis number]]<br /> <br /> == References ==<br /> {{reflist}}<br /> *Dummit, David; Foote, Richard. ''Abstract Algebra''.<br /> <br /> [[Category:Abstract algebra]]<br /> <br /> {{algebra-stub}}</div> Magmalex https://en.wikipedia.org/w/index.php?title=Characteristic_subgroup&diff=952805508 Characteristic subgroup 2020-04-24T04:35:38Z <p>Magmalex: /* Definition */ added definition in mathematical notation</p> <hr /> <div>{{Short description|subgroup mapped to itself under every automorphism of the parent group}}<br /> In [[mathematics]], particularly in the area of [[abstract algebra]] known as [[group theory]], a '''characteristic subgroup''' is a [[subgroup]] that is mapped to itself by every [[automorphism]] of the parent [[group (mathematics)|group]].&lt;ref&gt;{{cite book | last1=Dummit | first1=David S. | last2=Foote | first2=Richard M. | title=Abstract Algebra | publisher=[[John Wiley &amp; Sons]] | year=2004 | edition=3rd | isbn=0-471-43334-9}}&lt;/ref&gt;&lt;ref&gt;{{cite book | last=Lang | first=Serge | authorlink=Serge Lang | title=Algebra | publisher=[[Springer Science+Business Media|Springer]] | series=[[Graduate Texts in Mathematics]] | year=2002 | isbn=0-387-95385-X}}&lt;/ref&gt; Because every [[conjugation map]] is an [[inner automorphism]], every characteristic subgroup is [[normal subgroup|normal]]; though the converse is not guaranteed. Examples of characteristic subgroups include the [[commutator subgroup]] and the [[center of a group]].<br /> <br /> == Definition ==<br /> A subgroup {{math|''H''}} of a group {{math|''G''}} is called a '''characteristic subgroup''', {{math|''H'' char ''G''}}, if for every automorphism {{math|''φ''}} of {{math|''G''}}, {{math|φ[''H''] ≤ ''H''}} holds, i.e. if every automorphism of the parent group maps the subgroup to within itself:<br /> :{{math|∀φ ∈ Aut(''G''): φ[''H''] ≤ ''H''}}.<br /> <br /> Given {{math|''H'' char ''G''}}, every automorphism of {{math|''G''}} induces an automorphism of the quotient group, {{math|''G/H''}}, which yields a map {{math|Aut(''G'') → Aut(''G''/''H'')}}.<br /> <br /> If {{math|''G''}} has a unique subgroup {{math|''H''}} of a given (finite) index, then {{math|''H''}} is characteristic in {{math|''G''}}.<br /> <br /> == Related concepts ==<br /> <br /> === Normal subgroup ===<br /> {{main|Normal subgroup}}<br /> A subgroup of {{math|''H''}} that is invariant under all inner automorphisms is called [[normal subgroup|normal]]; also, an invariant subgroup.<br /> :{{math|∀φ ∈ Inn(''G''): φ[''H''] ≤ ''H''}}<br /> <br /> Since {{math|Inn(''G'') ⊆ Aut(''G'')}} and a characteristic subgroup is invariant under all automorphisms, every characteristic subgroup is normal. However, not every normal subgroup is characteristic. Here are several examples:<br /> * Let {{math|''H''}} be a nontrivial group, and let {{math|''G''}} be the [[direct product of groups|direct product]], {{math|''H'' × ''H''}}. Then the subgroups, {{math|{1} × ''H''}} and {{math|''H'' × {1{{)}}}}, are both normal, but neither is characteristic. In particular, neither of these subgroups is invariant under the automorphism, {{math|(''x'', ''y'') → (''y'', ''x'')}}, that switches the two factors.<br /> * For a concrete example of this, let {{math|''V''}} be the [[Klein four-group]] (which is [[group isomorphism|isomorphic]] to the direct product, {{math|[[cyclic group|ℤ{{sub|2}}]] × ℤ{{sub|2}}}}). Since this group is [[abelian group|abelian]], every subgroup is normal; but every permutation of the 3 non-identity elements is an automorphism of {{math|''V''}}, so the 3 subgroups of order 2 are not characteristic. Here {{math|V {{=}} {''e'', ''a'', ''b'', ''ab''} }}. Consider {{math|H {{=}} {''e'', ''a''{{)}}}} and consider the automorphism, {{math|T(''e'') {{=}} ''e'', T(''a'') {{=}} ''b'', T(''b'') {{=}} ''a'', T(''ab'') {{=}} ''ab''}}; then {{math|T(''H'')}} is not contained in {{math|''H''}}.<br /> * In the [[quaternion group]] of order 8, each of the cyclic subgroups of order 4 is normal, but none of these are characteristic. However, the subgroup, {{math|{1, −1{{)}}}}, is characteristic, since it is the only subgroup of order 2.<br /> * If {{math|''n''}} is even, the [[dihedral group]] of order {{math|2''n''}} has 3 subgroups of [[index of a subgroup|index]] 2, all of which are normal. One of these is the cyclic subgroup, which is characteristic. The other two subgroups are dihedral; these are permuted by an [[outer automorphism group|outer automorphism]] of the parent group, and are therefore not characteristic.<br /> <br /> === Strictly characteristic subgroup{{anchor|Strictly invariant subgroup}} ===<br /> A ''{{vanchor|strictly characteristic subgroup}}'', or a ''{{vanchor|distinguished subgroup}}'', which is invariant under [[surjective]] [[endomorphism]]s. For [[finite group]]s, surjectivity of an endomorphism implies injectivity, so a surjective endomorphism is an automorphism; thus being ''strictly characteristic'' is equivalent to ''characteristic''. This is not the case anymore for infinite groups.<br /> <br /> === Fully characteristic subgroup{{anchor|Fully invariant subgroup}} ===<br /> For an even stronger constraint, a ''fully characteristic subgroup'' (also, ''fully invariant subgroup''; cf. invariant subgroup), {{math|''H''}}, of a group, {{math|''G''}} is a group remaining [[invariant (mathematics)|invariant]] under every endomorphism of {{math|''G''}}; that is,<br /> :{{math|∀φ ∈ End(''G''): φ[''H''] ≤ ''H''}}.<br /> <br /> Every group has itself (the improper subgroup) and the trivial subgroup as two of its fully characteristic subgroups. The [[commutator subgroup]] of a group is always a fully characteristic subgroup.&lt;ref&gt;<br /> {{cite book<br /> | title = Group Theory<br /> | first = W.R. | last = Scott<br /> | pages = 45–46<br /> | publisher = Dover<br /> | year = 1987<br /> | isbn = 0-486-65377-3<br /> }}&lt;/ref&gt;&lt;ref&gt;<br /> {{cite book<br /> | title = Combinatorial Group Theory<br /> | first1 = Wilhelm | last1 = Magnus<br /> | first2 = Abraham | last2 = Karrass<br /> | first3 = Donald | last3 = Solitar<br /> | publisher = Dover<br /> | year = 2004<br /> | pages = 74–85<br /> | isbn = 0-486-43830-9<br /> }}&lt;/ref&gt;<br /> <br /> Every endomorphism of {{math|''G''}} induces an endomorphism of {{math|''G/H''}}, which yields a map {{math|End(''G'') → End(''G''/''H'')}}.<br /> <br /> === Verbal subgroup ===<br /> An even stronger constraint is [[verbal subgroup]], which is the image of a fully invariant subgroup of a [[free group]] under a homomorphism. More generally, any [[verbal subgroup]] is always fully characteristic. For any [[reduced free group]], and, in particular, for any [[free group]], the converse also holds: every fully characteristic subgroup is verbal.<br /> <br /> == Transitivity ==<br /> The property of being characteristic or fully characteristic is [[transitive relation|transitive]]; if {{math|''H''}} is a (fully) characteristic subgroup of {{math|''K''}}, and {{math|''K''}} is a (fully) characteristic subgroup of {{math|''G''}}, then {{math|''H''}} is a (fully) characteristic subgroup of {{math|''G''}}.<br /> :{{math|''H'' char ''K'' char ''G'' ⇒ ''H'' char ''G''}}.<br /> <br /> Moreover, while normality is not transitive, it is true that every characteristic subgroup of a normal subgroup is normal.<br /> :{{math|''H'' char ''K'' ⊲ ''G'' ⇒ ''H'' ⊲ ''G''}}<br /> <br /> Similarly, while being strictly characteristic (distinguished) is not transitive, it is true that every fully characteristic subgroup of a strictly characteristic subgroup is strictly characteristic.<br /> <br /> However, unlike normality, if {{math|''H'' char ''G''}} and {{math|''K''}} is a subgroup of {{math|''G''}} containing {{math|''H''}}, then in general {{math|''H''}} is not necessarily characteristic in {{math|''K''}}.<br /> :{{math|''H'' char ''G'', ''H'' &lt; ''K'' &lt; ''G'' ⇏ ''H'' char ''K''}}<br /> <br /> == Containments ==<br /> Every subgroup that is fully characteristic is certainly strictly characteristic and characteristic; but a characteristic or even strictly characteristic subgroup need not be fully characteristic.<br /> <br /> The [[center of a group]] is always a strictly characteristic subgroup, but it is not always fully characteristic. For example, the finite group of order 12, {{math|Sym(3) × ℤ/2ℤ}}, has a homomorphism taking {{math|(''π'', ''y'')}} to {{math|((1, 2){{sup|''y''}}, 0)}}, which takes the center, {{math|1 × ℤ/2ℤ}}, into a subgroup of {{math|Sym(3) × 1}}, which meets the center only in the identity.<br /> <br /> The relationship amongst these subgroup properties can be expressed as:<br /> :[[Subgroup]] ⇐ [[Normal subgroup]] ⇐ '''Characteristic subgroup''' ⇐ Strictly characteristic subgroup ⇐ [[Fully characteristic subgroup]] ⇐ [[Verbal subgroup]]<br /> <br /> ==Examples==<br /> <br /> === Finite example ===<br /> Consider the group {{math|''G'' {{=}} S{{sub|3}} × ℤ{{sub|2}}}} (the group of order 12 that is the direct product of the [[symmetric group]] of order 6 and a [[cyclic group]] of order 2). The center of {{math|''G''}} is its second factor {{math|ℤ{{sub|2}}}}. Note that the first factor, {{math|S{{sub|3}}}}, contains subgroups isomorphic to {{math|ℤ{{sub|2}}}}, for instance {{math|{e, (12)} }}; let {{math|''f'': ℤ{{sub|2}} → S{{sub|3}}}} be the morphism mapping {{math|ℤ{{sub|2}}}} onto the indicated subgroup. Then the composition of the projection of {{math|''G''}} onto its second factor {{math|ℤ{{sub|2}}}}, followed by {{math|''f''}}, followed by the inclusion of {{math|S{{sub|3}}}} into {{math|''G''}} as its first factor, provides an endomorphism of {{math|''G''}} under which the image of the center, {{math|ℤ{{sub|2}}}}, is not contained in the center, so here the center is not a fully characteristic subgroup of {{math|''G''}}.<br /> <br /> === Cyclic groups ===<br /> Every subgroup of a cyclic group is characteristic.<br /> <br /> === Subgroup functors ===<br /> The [[derived subgroup]] (or commutator subgroup) of a group is a verbal subgroup. The [[torsion subgroup]] of an [[abelian group]] is a fully invariant subgroup.<br /> <br /> === Topological groups ===<br /> The [[identity component]] of a [[topological group]] is always a characteristic subgroup.<br /> <br /> ==See also==<br /> * [[Characteristically simple group]]<br /> <br /> ==References==<br /> {{reflist}}<br /> <br /> [[Category:Subgroup properties]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Monoidal_category&diff=952604912 Monoidal category 2020-04-23T03:30:47Z <p>Magmalex: /* Formal definition */ substituted removes with cancels, since this is a sort of cancellation</p> <hr /> <div>{{redirect-distinguish|Internal product|Inner product}}<br /> {{Short description|Category admitting tensor products}}In [[mathematics]], a '''monoidal category''' (or '''tensor category''') is a [[category (mathematics)|category]] &lt;math&gt;\mathbf C&lt;/math&gt; equipped with a [[bifunctor]]<br /> :&lt;math&gt;\otimes : \mathbf{C} \times \mathbf{C} \to \mathbf{C}&lt;/math&gt;<br /> that is [[associative]] [[up to]] a [[natural isomorphism]], and an [[Object (category theory)|object]] ''I'' that is both a [[left identity|left]] and [[right identity]] for ⊗, again up to a natural isomorphism. The associated natural isomorphisms are subject to certain [[coherence condition]]s, which ensure that all the relevant diagrams commute.<br /> <br /> The ordinary [[tensor product]] makes [[vector space]]s, [[abelian group]]s, [[module (mathematics)|''R''-modules]], or [[algebra (ring theory)|''R''-algebras]] into monoidal categories. Monoidal categories can be seen as a generalization of these and other examples. Every (small) monoidal category may also be viewed as a &quot;[[categorification]]&quot; of an underlying [[monoid]], namely the monoid whose elements are the isomorphism classes of the category's objects and whose binary operation is given by the category's tensor product.<br /> <br /> A rather different application, of which monoidal categories can be considered an abstraction, is that of a system of [[data type]]s closed under a [[type constructor]] that takes two types and builds an aggregate type; the types are the objects and &lt;math&gt;\otimes&lt;/math&gt; is the aggregate constructor. The associativity up to isomorphism is then a way of expressing that different ways of aggregating the same data—such as &lt;math&gt;((a,b),c)&lt;/math&gt; and &lt;math&gt;(a,(b,c))&lt;/math&gt;—store the same information even though the aggregate values need not be the same; similarly the identity object is the [[void type]], which stores no information. The concept of monoidal category does not presume that values of such aggregate types can be taken apart; on the contrary, it provides a framework that unifies classical and [[quantum information]] theory.&lt;ref&gt;{{cite book |last1=Baez |first1=John |last2=Stay |first2=Mike |authorlink1=John C. Baez |chapter=Physics, topology, logic and computation: a Rosetta Stone |editor1-last=Coecke |editor1-first=Bob |title=New Structures for Physics |series=Lecture Notes in Physics |volume=813 |date=2011 |publisher=Springer, Berlin |pages=95–172 |isbn=9783642128219 |issn=0075-8450 |arxiv=0903.0340 }}&lt;/ref&gt;<br /> <br /> In [[category theory]], monoidal categories can be used to define the concept of a [[monoid object]] and an associated action on the objects of the category. They are also used in the definition of an [[enriched category]].<br /> <br /> Monoidal categories have numerous applications outside of category theory proper. They are used to define models for the multiplicative fragment of [[intuitionistic logic|intuitionistic]] [[linear logic]]. They also form the mathematical foundation for the [[topological order]] in condensed matter. [[Braided monoidal category|Braided monoidal categories]] have applications in [[quantum information]], [[quantum field theory]], and [[string theory]].<br /> <br /> ==Formal definition==<br /> <br /> A '''monoidal category''' is a category &lt;math&gt;\mathbf C&lt;/math&gt; equipped with a monoidal structure. A monoidal structure consists of the following:<br /> *a [[bifunctor]] &lt;math&gt;\otimes \colon \mathbf C\times\mathbf C\to\mathbf C&lt;/math&gt; called the ''[[tensor product]]'' or ''monoidal product'',<br /> *an object &lt;math&gt;I&lt;/math&gt; called the ''unit object'' or ''identity object'',<br /> *three [[natural isomorphism]]s subject to certain [[coherence condition]]s expressing the fact that the tensor operation<br /> **is associative: there is a natural (in each of three arguments &lt;math&gt;A&lt;/math&gt;, &lt;math&gt;B&lt;/math&gt;, &lt;math&gt;C&lt;/math&gt;) isomorphism &lt;math&gt;\alpha&lt;/math&gt;, called ''associator'', with components &lt;math&gt;\alpha_{A,B,C} \colon A\otimes (B\otimes C) \cong (A\otimes B)\otimes C&lt;/math&gt;,<br /> **has &lt;math&gt;I&lt;/math&gt; as left and right identity: there are two natural isomorphisms &lt;math&gt;\lambda&lt;/math&gt; and &lt;math&gt;\rho&lt;/math&gt;, respectively called ''left'' and ''right unitor'', with components &lt;math&gt;\lambda_A \colon I\otimes A\cong A&lt;/math&gt; and &lt;math&gt;\rho_A \colon A\otimes I\cong A&lt;/math&gt;.<br /> :<br /> Note that a good way to remember how &lt;math&gt; \lambda &lt;/math&gt; and &lt;math&gt;\rho&lt;/math&gt; act is by alliteration; ''Lambda'', &lt;math&gt;\lambda&lt;/math&gt;, cancels the identity on the ''left'', while ''Rho'', &lt;math&gt;\rho&lt;/math&gt;, cancels the identity on the ''right''.<br /> <br /> The coherence conditions for these natural transformations are: <br /> * for all &lt;math&gt;A&lt;/math&gt;, &lt;math&gt;B&lt;/math&gt;, &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; in &lt;math&gt;\mathbf C&lt;/math&gt;, the pentagon [[diagram (category theory)|diagram]]<br /> <br /> ::[[File:Pentagonal diagram for monoidal categories.svg|center|This is one of the main diagrams used to define a monoidal category; it is perhaps the most important one.]]<br /> : [[Commutative diagram|commutes]];<br /> * for all &lt;math&gt;A&lt;/math&gt; and &lt;math&gt;B&lt;/math&gt; in &lt;math&gt;\mathbf C&lt;/math&gt;, the triangle diagram<br /> [[File:Monoidal2.svg|center|This is one of the diagrams used in the definition of a monoidal cateogory. It takes care of the case for when there is an instance of an identity between two objects.]]<br /> : commutes;<br /> <br /> A '''strict monoidal category''' is one for which the natural isomorphisms ''α'', ''λ'' and ''ρ'' are identities. Every monoidal category is monoidally [[equivalence of categories|equivalent]] to a strict monoidal category.<br /> <br /> ==Examples==<br /> <br /> *Any category with finite [[product (category theory)|product]]s can be regarded as monoidal with the product as the monoidal product and the [[terminal object]] as the unit. Such a category is sometimes called a '''[[cartesian monoidal category]]'''. For example:<br /> **'''Set''', the [[category of sets]] with the Cartesian product, any particular one-element set serving as the unit.<br /> **'''Cat''', the category of small categories with the [[product category]], where the category with one object and only its identity map is the unit.<br /> *Dually, any category with finite [[coproduct]]s is monoidal with the coproduct as the monoidal product and the [[initial object]] as the unit. Such a monoidal category is called '''cocartesian monoidal'''<br /> *'''''R''-Mod''', the [[category of modules]] over a [[commutative ring]] ''R'', is a monoidal category with the [[tensor product of modules]] ⊗&lt;sub&gt;''R''&lt;/sub&gt; serving as the monoidal product and the ring ''R'' (thought of as a module over itself) serving as the unit. As special cases one has: <br /> **'''''K''-Vect''', the [[category of vector spaces]] over a [[field (mathematics)|field]] ''K'', with the one-dimensional vector space ''K'' serving as the unit.<br /> **'''Ab''', the [[category of abelian groups]], with the group of [[integer]]s '''Z''' serving as the unit.<br /> *For any commutative ring ''R'', the category of [[R-algebra|''R''-algebras]] is monoidal with the [[tensor product of algebras]] as the product and ''R'' as the unit. <br /> *The [[category of pointed spaces]] (restricted to [[compactly generated space]]s&lt;nowiki/&gt; for example) is monoidal with the [[smash product]] serving as the product and the pointed [[0-sphere]] (a two-point discrete space) serving as the unit.<br /> *The category of all [[endofunctor]]s on a category '''C''' is a ''strict'' monoidal category with the composition of functors as the product and the identity functor as the unit.<br /> *Just like for any category '''E''', the [[Subcategory#Embeddings|full subcategory]] spanned by any given object is a monoid, it is the case that for any [[2-category]] '''E''', and any object '''C''' in Ob('''E'''), the full 2-subcategory of '''E''' spanned by {'''C'''} is a monoidal category. In the case '''E''' = '''Cat''', we get the [[endofunctor]]s example above. <br /> * [[Semilattice|Bounded-above meet semilattices]] are strict [[symmetric monoidal category|symmetric monoidal categories]]: the product is meet and the identity is the top element.<br /> * Any ordinary monoid &lt;math&gt;(M,\cdot,1)&lt;/math&gt; is a small monoidal category with object set &lt;math&gt;M&lt;/math&gt;, only identities for [[morphism]]s, &lt;math&gt;\cdot&lt;/math&gt; as tensorproduct and &lt;math&gt;1&lt;/math&gt; as its identity object. Conversely, the set of isomorphism classes (if such a thing makes sense) of a monoidal category is a monoid w.r.t. the tensor product.<br /> <br /> ===Monoidal preorders===<br /> {{Tone|section|date=March 2017}}<br /> Monoidal preorders, also known as &quot;preordered monoids&quot;, are special cases of monoidal categories. This sort of structure comes up in the theory of [[Semi-Thue system|string rewriting systems]], but it is plentiful in pure mathematics as well. For example, the set &lt;math&gt;\mathbb{N}&lt;/math&gt; of [[natural numbers]] has both a [[Monoid#Examples|monoid structure]] (using + and 0) and a [[Preorder#Examples|preorder structure]] (using ≤), which together form a monoidal preorder, basically because &lt;math&gt;m\leq n&lt;/math&gt; and &lt;math&gt;m'\leq n'&lt;/math&gt; implies &lt;math&gt;m+m'\leq n+n'&lt;/math&gt;. We now present the general case.<br /> <br /> It's well known that a [[preorder]] can be considered as a category '''C''', such that for every two objects &lt;math&gt;c, c'\in\mathrm{Ob}(\mathbf{C})&lt;/math&gt;, there exists ''at most one'' morphism &lt;math&gt;c\to c'&lt;/math&gt; in '''C'''. If there happens to be a morphism from ''c'' to ''c' '', we could write &lt;math&gt;c\leq c'&lt;/math&gt;, but in the current section we find it more convenient to express this fact in arrow form &lt;math&gt;c\to c'&lt;/math&gt;. Because there is at most one such morphism, we never have to give it a name, such as &lt;math&gt;f\colon c\to c'&lt;/math&gt;. The [[Reflexive relation|reflexivity]] and [[transitive relation|transitivity]] properties of an order are respectively accounted for by the identity morphism and the composition formula in '''C'''. We write &lt;math&gt;c\cong c'&lt;/math&gt; iff &lt;math&gt;c\leq c'&lt;/math&gt; and &lt;math&gt;c'\leq c&lt;/math&gt;, i.e. if they are isomorphic in '''C'''. Note that in a [[partial order]], any two isomorphic objects are in fact equal.<br /> <br /> Moving forward, suppose we want to add a monoidal structure to the preorder '''C'''. To do so means we must choose<br /> * an object &lt;math&gt;I\in\mathbf{C}&lt;/math&gt;, called the ''monoidal unit'', and <br /> * a functor &lt;math&gt;\mathbf{C}\times\mathbf{C}\to\mathbf{C}&lt;/math&gt;, which we will denote simply by the dot &quot;&lt;math&gt;\;\cdot\;&lt;/math&gt;&quot;, called the ''monoidal multiplication''.<br /> Thus for any two objects &lt;math&gt;c_1, c_2&lt;/math&gt; we have an object &lt;math&gt;c_1\cdot c_2&lt;/math&gt;. We must choose &lt;math&gt;I&lt;/math&gt; and &lt;math&gt;\cdot&lt;/math&gt; to be associative and unital, up to isomorphism. This means we must have: <br /> : &lt;math&gt;(c_1\cdot c_2)\cdot c_3 \cong c_1\cdot (c_2\cdot c_3)&lt;/math&gt; and &lt;math&gt;I\cdot c \cong c\cong c\cdot I&lt;/math&gt;.<br /> Furthermore, the fact that · is required to be a functor means—in the present case, where '''C''' is a preorder—nothing more than the following: <br /> :if &lt;math&gt;c_1\to c_1'&lt;/math&gt; and &lt;math&gt;c_2\to c_2'&lt;/math&gt; then &lt;math&gt;(c_1\cdot c_2)\to (c_1'\cdot c_2')&lt;/math&gt;.<br /> The additional coherence conditions for monoidal categories are vacuous in this case because every diagram commutes in a preorder.<br /> <br /> Note that if '''C''' is a partial order, the above description is simplified even more, because the associativity and unitality isomorphisms becomes equalities. Another simplification occurs if we assume that the set of objects is the [[free monoid]] on a generating set &lt;math&gt;\Sigma&lt;/math&gt;. In this case we could write &lt;math&gt;\mathrm{Ob}(\mathbf{C})=\Sigma^*&lt;/math&gt;, where * denotes the [[Kleene star]] and the monoidal unit ''I'' stands for the empty string. If we start with a set ''R'' of generating morphisms (facts about ≤), we recover the usual notion of [[semi-Thue system]], where ''R'' is called the &quot;rewriting rule&quot;.<br /> <br /> To return to our example, let '''N''' be the category whose objects are the natural numbers 0, 1, 2, ..., with a single morphism &lt;math&gt;i\to j&lt;/math&gt; if &lt;math&gt;i\leq j&lt;/math&gt; in the usual ordering (and no morphisms from ''i'' to ''j'' otherwise), and a monoidal structure with the monoidal unit given by 0 and the monoidal multiplication given by the usual addition, &lt;math&gt;i\cdot j := i+j&lt;/math&gt;. Then '''N''' is a monoidal preorder; in fact it is the one freely generated by a single object 1, and a single morphism 0 ≤ 1, where again 0 is the monoidal unit.<br /> <br /> == Properties and associated notions ==<br /> It follows from the three defining coherence conditions that ''a large class'' of diagrams (i.e. diagrams whose morphisms are built using &lt;math&gt;\alpha&lt;/math&gt;, &lt;math&gt;\lambda&lt;/math&gt;, &lt;math&gt;\rho&lt;/math&gt;, identities and tensor product) commute: this is [[Saunders Mac Lane|Mac Lane's]] &quot;[[coherence theorem]]&quot;. It is sometimes inaccurately stated that ''all'' such diagrams commute.<br /> <br /> There is a general notion of [[monoid object]] in a monoidal category, which generalizes the ordinary notion of [[monoid]] from [[abstract algebra]]. Ordinary monoids are precisely the monoid objects in the cartesian monoidal category '''Set'''. Further, any strict monoidal category can be seen as a monoid object in the category of categories '''Cat''' (equipped with the monoidal structure induced by the cartesian product).<br /> <br /> [[Monoidal functor]]s are the functors between monoidal categories that preserve the tensor product and [[monoidal natural transformation]]s are the natural transformations, between those functors, which are &quot;compatible&quot; with the tensor product.<br /> <br /> Every monoidal category can be seen as the category '''B'''(∗, ∗) of a [[bicategory]] '''B''' with only one object, denoted ∗.<br /> <br /> A category '''C''' [[Enriched category|enriched]] in a monoidal category '''M''' replaces the notion of a set of morphisms between pairs of objects in '''C''' with the notion of an '''M'''-object of morphisms between every two objects in '''C'''.<br /> <br /> === Free strict monoidal category ===<br /> <br /> For every category '''C''', the [[free category|free]] strict monoidal category Σ('''C''') can be constructed as follows:<br /> * its objects are lists (finite sequences) ''A''&lt;sub&gt;1&lt;/sub&gt;, ..., ''A''&lt;sub&gt;''n''&lt;/sub&gt; of objects of '''C''';<br /> * there are arrows between two objects ''A''&lt;sub&gt;1&lt;/sub&gt;, ..., ''A''&lt;sub&gt;''m''&lt;/sub&gt; and ''B''&lt;sub&gt;1&lt;/sub&gt;, ..., ''B''&lt;sub&gt;''n''&lt;/sub&gt; only if ''m'' = ''n'', and then the arrows are lists (finite sequences) of arrows ''f''&lt;sub&gt;1&lt;/sub&gt;: ''A''&lt;sub&gt;1&lt;/sub&gt; → ''B''&lt;sub&gt;1&lt;/sub&gt;, ..., ''f''&lt;sub&gt;''n''&lt;/sub&gt;: ''A''&lt;sub&gt;''n''&lt;/sub&gt; → ''B''&lt;sub&gt;''n''&lt;/sub&gt; of '''C''';<br /> * the tensor product of two objects ''A''&lt;sub&gt;1&lt;/sub&gt;, ..., ''A''&lt;sub&gt;''n''&lt;/sub&gt; and ''B''&lt;sub&gt;1&lt;/sub&gt;, ..., ''B''&lt;sub&gt;''m''&lt;/sub&gt; is the concatenation ''A''&lt;sub&gt;1&lt;/sub&gt;, ..., ''A''&lt;sub&gt;''n''&lt;/sub&gt;, ''B''&lt;sub&gt;1&lt;/sub&gt;, ..., ''B''&lt;sub&gt;''m''&lt;/sub&gt; of the two lists, and, similarly, the tensor product of two morphisms is given by the concatenation of lists. The identity object is the empty list.<br /> This operation Σ mapping category '''C''' to Σ('''C''') can be extended to a strict 2-[[Monad (category theory)|monad]] on '''Cat'''.<br /> <br /> == Specializations ==<br /> * If, in a monoidal category, &lt;math&gt;A\otimes B&lt;/math&gt; and &lt;math&gt;B\otimes A&lt;/math&gt; are naturally isomorphic in a manner compatible with the coherence conditions, we speak of a [[braided monoidal category]]. If, moreover, this natural isomorphism is its own inverse, we have a [[symmetric monoidal category]].<br /> * A [[closed monoidal category]] is a monoidal category where the functor &lt;math&gt;X \mapsto X \otimes A&lt;/math&gt; has a [[Adjoint functors|right adjoint]], which is called the &quot;internal Hom-functor&quot; &lt;math&gt;X \mapsto \mathrm{Hom}_{\mathbf C}(A , X)&lt;/math&gt;. Examples include [[cartesian closed category|cartesian closed categories]] such as '''Set''', the category of sets, and [[compact closed category|compact closed categories]] such as '''FdVect''', the category of finite-dimensional vector spaces.<br /> * [[Autonomous category|Autonomous categories]] (or [[Compact closed category|compact closed categories]] or [[Rigid category|rigid categories]]) are monoidal categories in which duals with nice properties exist; they abstract the idea of '''FdVect'''.<br /> * [[Dagger symmetric monoidal category|Dagger symmetric monoidal categories]], equipped with an extra dagger functor, abstracting the idea of '''FdHilb''', finite-dimensional Hilbert spaces. These include the [[Dagger compact category|dagger compact categories]].<br /> * [[Tannakian category|Tannakian categories]] are monoidal categories enriched over a field, which are very similar to representation categories of linear algebraic groups.<br /> <br /> == See also ==<br /> {{Portal|Mathematics}}<br /> * [[Skeleton (category theory)]]<br /> * [[Spherical category]]<br /> * [[Monoidal category action]]<br /> <br /> == References ==<br /> {{Reflist}}<br /> <br /> * [[André Joyal|Joyal, André]]; [[Ross Street|Street, Ross]] (1993). &quot;Braided Tensor Categories&quot;. ''Advances in Mathematics'' ''102'', 20&amp;ndash;78.<br /> * [[André Joyal|Joyal, André]]; [[Ross Street|Street, Ross]] (1988). &quot;[http://maths.mq.edu.au/~street/PlanarDiags.pdf Planar diagrams and tensor algebra]&quot;. <br /> * [[Max Kelly|Kelly, G. Max]] (1964). &quot;On MacLane's Conditions for Coherence of Natural Associativities, Commutativities, etc.&quot; ''Journal of Algebra'' ''1'', 397&amp;ndash;402<br /> * {{cite book | last = Kelly | first = G. Max | url = http://www.tac.mta.ca/tac/reprints/articles/10/tr10.pdf | title = Basic Concepts of Enriched Category Theory | series = London Mathematical Society Lecture Note Series No. 64 | publisher = Cambridge University Press | year = 1982}}<br /> * [[Saunders Mac Lane|Mac Lane, Saunders]] (1963). &quot;Natural Associativity and Commutativity&quot;. ''Rice University Studies'' ''49'', 28&amp;ndash;46.<br /> * Mac Lane, Saunders (1998), ''[[Categories for the Working Mathematician]]'' (2nd ed.). New York: Springer-Verlag.<br /> *{{nlab|id=monoidal+category|title=Monoidal category}}<br /> <br /> {{Category theory}}<br /> <br /> [[Category:Monoidal categories| ]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Category_of_topological_spaces&diff=951425666 Category of topological spaces 2020-04-17T02:59:04Z <p>Magmalex: /* Other properties */ Added link to extremal monomorphism</p> <hr /> <div>In [[mathematics]], the '''category of topological spaces''', often denoted '''Top''', is the [[category (category theory)|category]] whose [[object (category theory)|object]]s are [[topological space]]s and whose [[morphism]]s are [[continuous map]]s. This is a category because the [[function composition|composition]] of two continuous maps is again continuous, and the identity function is continuous. The study of '''Top''' and of properties of [[topological space]]s using the techniques of [[category theory]] is known as '''categorical topology'''.<br /> <br /> N.B. Some authors use the name '''Top''' for the categories with [[topological manifold]]s or with [[compactly generated space|compactly generated spaces]].as objects and continuous maps as morphisms.<br /> <br /> ==As a concrete category==<br /> <br /> Like many categories, the category '''Top''' is a [[concrete category]], meaning its objects are [[Set (mathematics)|sets]] with additional structure (i.e. topologies) and its morphisms are [[function (mathematics)|function]]s preserving this structure. There is a natural [[forgetful functor]]<br /> :''U'' : '''Top''' &amp;rarr; '''Set'''<br /> to the [[category of sets]] which assigns to each topological space the underlying set and to each continuous map the underlying [[function (mathematics)|function]].<br /> <br /> The forgetful functor ''U'' has both a [[left adjoint]]<br /> :''D'' : '''Set''' &amp;rarr; '''Top'''<br /> which equips a given set with the [[discrete topology]], and a [[right adjoint]]<br /> :''I'' : '''Set''' &amp;rarr; '''Top'''<br /> which equips a given set with the [[indiscrete topology]]. Both of these functors are, in fact, [[Inverse function#Left and right inverses|right inverses]] to ''U'' (meaning that ''UD'' and ''UI'' are equal to the [[identity functor]] on '''Set'''). Moreover, since any function between discrete or between indiscrete spaces is continuous, both of these functors give [[full embedding]]s of '''Set''' into '''Top'''.<br /> <br /> '''Top''' is also ''fiber-complete'' meaning that the [[lattice of topologies|category of all topologies]] on a given set ''X'' (called the ''[[fiber (mathematics)|fiber]]'' of ''U'' above ''X'') forms a [[complete lattice]] when ordered by [[set inclusion|inclusion]]. The [[greatest element]] in this fiber is the discrete topology on ''X'', while the [[least element]] is the indiscrete topology.<br /> <br /> '''Top''' is the model of what is called a [[topological category]]. These categories are characterized by the fact that every [[structured source]] &lt;math&gt;(X \to UA_i)_I&lt;/math&gt; has a unique [[initial lift]] &lt;math&gt;( A \to A_i)_I&lt;/math&gt;. In '''Top''' the initial lift is obtained by placing the [[initial topology]] on the source. Topological categories have many properties in common with '''Top''' (such as fiber-completeness, discrete and indiscrete functors, and unique lifting of limits).<br /> <br /> ==Limits and colimits==<br /> <br /> The category '''Top''' is both [[complete category|complete and cocomplete]], which means that all small [[limit (category theory)|limits and colimit]]s exist in '''Top'''. In fact, the forgetful functor ''U'' : '''Top''' → '''Set''' uniquely lifts both limits and colimits and preserves them as well. Therefore, (co)limits in '''Top''' are given by placing topologies on the corresponding (co)limits in '''Set'''.<br /> <br /> Specifically, if ''F'' is a [[diagram (category theory)|diagram]] in '''Top''' and (''L'', ''φ'' : ''L'' → ''F'') is a limit of ''UF'' in '''Set''', the corresponding limit of ''F'' in '''Top''' is obtained by placing the [[initial topology]] on (''L'', ''φ'' : ''L'' → ''F''). Dually, colimits in '''Top''' are obtained by placing the [[final topology]] on the corresponding colimits in '''Set'''.<br /> <br /> Unlike many ''algebraic'' categories, the forgetful functor ''U'' : '''Top''' → '''Set''' does not create or reflect limits since there will typically be non-universal [[cone (category theory)|cones]] in '''Top''' covering universal cones in '''Set'''.<br /> <br /> Examples of limits and colimits in '''Top''' include:<br /> <br /> *The [[empty set]] (considered as a topological space) is the [[initial object]] of '''Top'''; any [[singleton (mathematics)|singleton]] topological space is a [[terminal object]]. There are thus no [[zero object]]s in '''Top'''.<br /> *The [[product (category theory)|product]] in '''Top''' is given by the [[product topology]] on the [[Cartesian product]]. The [[coproduct (category theory)|coproduct]] is given by the [[disjoint union (topology)|disjoint union]] of topological spaces.<br /> *The [[equaliser (mathematics)#In category theory|equalizer]] of a pair of morphisms is given by placing the [[subspace topology]] on the set-theoretic equalizer. Dually, the [[coequalizer]] is given by placing the [[quotient topology]] on the set-theoretic coequalizer.<br /> *[[Direct limit]]s and [[inverse limit]]s are the set-theoretic limits with the [[final topology]] and [[initial topology]] respectively.<br /> *[[Adjunction space]]s are an example of [[pushout (category theory)|pushouts]] in '''Top'''.<br /> <br /> ==Other properties==<br /> *The [[monomorphism]]s in '''Top''' are the [[injective]] continuous maps, the [[epimorphism]]s are the [[surjective]] continuous maps, and the [[isomorphism]]s are the [[homeomorphism]]s.<br /> *The [[extremal monomorphism|extremal ]] monomorphisms are (up to isomorphism) the [[subspace topology|subspace]] embeddings. In fact, in '''Top''' all extremal monomorphisms happen to satisfy the stronger property of being [[regular monomorphism|regular]].<br /> *The extremal epimorphisms are (essentially) the [[quotient map]]s. Every extremal epimorphism is regular.<br /> *The split monomorphisms are (essentially) the inclusions of [[retract]]s into their ambient space.<br /> *The split epimorphisms are (up to isomorphism) the continuous surjective maps of a space onto one of its retracts.<br /> *There are no [[zero morphism]]s in '''Top''', and in particular the category is not [[preadditive category|preadditive]].<br /> *'''Top''' is not [[cartesian closed category|cartesian closed]] (and therefore also not a [[topos]]) since it does not have [[exponential object]]s for all spaces. When this feature is desired, one often restricts to the full subcategory of [[compactly generated Hausdorff space]]s '''CGHaus'''.<br /> <br /> ==Relationships to other categories==<br /> <br /> *The category of [[pointed topological space]]s '''Top'''&lt;sub&gt;•&lt;/sub&gt; is a [[coslice category]] over '''Top'''. <br /> * The [[homotopy category of topological spaces|homotopy category]] '''hTop''' has topological spaces for objects and [[homotopy equivalent|homotopy equivalence classes]] of continuous maps for morphisms. This is a [[quotient category]] of '''Top'''. One can likewise form the pointed homotopy category '''hTop'''&lt;sub&gt;•&lt;/sub&gt;.<br /> *'''Top''' contains the important category '''Haus''' of [[Hausdorff space|Hausdorff spaces]] as a [[full subcategory]]. The added structure of this subcategory allows for more epimorphisms: in fact, the epimorphisms in this subcategory are precisely those morphisms with [[dense set|dense]] [[image (mathematics)|images]] in their [[codomain]]s, so that epimorphisms need not be [[surjective]].<br /> *'''Top''' contains the full subcategory '''CGHaus''' of [[compactly generated Hausdorff space]]s, which has the important property of being a [[Cartesian closed category]] while still containing all of the typical spaces of interest. This makes '''CGHaus''' a particularly ''convenient category of topological spaces'' that is often used in place of '''Top'''.<br /> * The forgetful functor to '''Set''' has both a left and a right adjoint, as described above in the concrete category section.<br /> * There is a functor to the category of [[Locale (mathematics)|locales]] '''Loc''' sending a topological space to its locale of open sets. This functor has a right adjoint that sends each locale to its topological space of points. This adjunction restricts to an equivalence between the category of [[sober space]]s and spatial locales.<br /> <br /> == References ==<br /> <br /> * [[Horst Herrlich|Herrlich, Horst]]: ''[https://books.google.com/books?id=Q1J7CwAAQBAJ&amp;printsec=frontcover#v=onepage&amp;q&amp;f=false Topologische Reflexionen und Coreflexionen]''. Springer Lecture Notes in Mathematics 78 (1968).<br /> * Herrlich, Horst: ''Categorical topology 1971–1981''. In: General Topology and its Relations to Modern Analysis and Algebra 5, Heldermann Verlag 1983, pp.&amp;nbsp;279–383.<br /> * Herrlich, Horst &amp; Strecker, George E.: [https://link.springer.com/chapter/10.1007/978-94-017-0468-7_15 Categorical Topology – its origins, as exemplified by the unfolding of the theory of topological reflections and coreflections before 1971]. In: Handbook of the History of General Topology (eds. C.E.Aull &amp; R. Lowen), Kluwer Acad. Publ. vol 1 (1997) pp.&amp;nbsp;255–341.<br /> * Adámek, Jiří, Herrlich, Horst, &amp; Strecker, George E.; (1990). [http://katmat.math.uni-bremen.de/acc/acc.pdf ''Abstract and Concrete Categories''] (4.2MB PDF). Originally publ. John Wiley &amp; Sons. {{ISBN|0-471-60922-6}}. (now free on-line edition).<br /> <br /> [[Category:Categories in category theory|Topological spaces]]<br /> [[Category:General topology]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Category_of_rings&diff=784476027 Category of rings 2017-06-08T14:52:05Z <p>Magmalex: Corrected link to rng of square zero</p> <hr /> <div>{{more footnotes|date=October 2013}}<br /> In [[mathematics]], the '''category of rings''', denoted by '''Ring''', is the [[category (mathematics)|category]] whose objects are [[ring (mathematics)|rings]] (with identity) and whose [[morphism]]s are [[ring homomorphism]]s (preserving the identity). Like many categories in mathematics, the category of rings is large, meaning that the [[class (set theory)|class]] of all rings is [[proper class|proper]].<br /> <br /> ==As a concrete category==<br /> <br /> The category '''Ring''' is a [[concrete category]] meaning that the objects are [[set (mathematics)|set]]s with additional structure (addition and multiplication) and the morphisms are [[function (mathematics)|function]]s preserving this structure. There is a natural [[forgetful functor]]<br /> :''U'' : '''Ring''' → '''Set'''<br /> for the category of rings to the [[category of sets]] which sends each ring to its underlying set (thus &quot;forgetting&quot; the operations of addition and multiplication). This functor has a [[left adjoint]]<br /> :''F'' : '''Set''' → '''Ring'''<br /> which assigns to each set ''X'' the [[free ring]] generated by ''X''.<br /> <br /> One can also view the category of rings as a concrete category over '''Ab''' (the [[category of abelian groups]]) or over '''Mon''' (the [[category of monoids]]). Specifically, there are [[forgetful functor]]s<br /> :''A'' : '''Ring''' → '''Ab'''<br /> :''M'' : '''Ring''' → '''Mon'''<br /> which &quot;forget&quot; multiplication and addition, respectively. Both of these functors have left adjoints. The left adjoint of ''A'' is the functor which assigns to every [[abelian group]] ''X'' (thought of as a '''Z'''-[[module (mathematics)|module]]) the [[tensor ring]] ''T''(''X''). The left adjoint of ''M'' is the functor which assigns to every [[monoid]] ''X'' the integral [[monoid ring]] '''Z'''[''M''].<br /> <br /> ==Properties==<br /> <br /> ===Limits and colimits===<br /> <br /> The category '''Ring''' is both [[complete category|complete and cocomplete]], meaning that all small [[limits and colimits]] exist in '''Ring'''. Like many other algebraic categories, the forgetful functor ''U'' : '''Ring''' → '''Set''' [[creation of limits|creates]] (and preserves) limits and [[filtered colimit]]s, but does not preserve either [[coproduct]]s or [[coequalizer]]s. The forgetful functors to '''Ab''' and '''Mon''' also create and preserve limits.<br /> <br /> Examples of limits and colimits in '''Ring''' include:<br /> <br /> *The ring of [[integer]]s '''Z''' is an [[initial object]] in '''Ring'''.<br /> *The [[zero ring]] is a [[terminal object]] in '''Ring'''.<br /> *The [[product (category theory)|product]] in '''Ring''' is given by the [[direct product of rings]]. This is just the [[cartesian product]] of the underlying sets with addition and multiplication defined component-wise.<br /> *The [[free product of associative algebras|coproduct of a family of rings]] exists and is given by a construction analogous to the [[free product]] of groups. The coproduct of nonzero rings can be the zero ring; in particular, this happens whenever the factors have [[relatively prime]] [[characteristic (algebra)|characteristic]] (since the characteristic of the coproduct of (''R''&lt;sub&gt;''i''&lt;/sub&gt;)&lt;sub&gt;''i''∈''I''&lt;/sub&gt; must divide the characteristics of each of the rings ''R''&lt;sub&gt;''i''&lt;/sub&gt;).<br /> *The [[Equalizer (mathematics)|equalizer]] in '''Ring''' is just the set-theoretic equalizer (the equalizer of two ring homomorphisms is always a [[subring]]).<br /> *The [[coequalizer]] of two ring homomorphisms ''f'' and ''g'' from ''R'' to ''S'' is the [[quotient ring|quotient]] of ''S'' by the [[ideal (ring theory)|ideal]] generated by all elements of the form ''f''(''r'') &amp;minus; ''g''(''r'') for ''r'' ∈ ''R''.<br /> *Given a ring homomorphism ''f'' : ''R'' → ''S'' the [[kernel pair]] of ''f'' (this is just the [[pullback (category theory)|pullback]] of ''f'' with itself) is a [[congruence relation]] on ''R''. The ideal determined by this congruence relation is precisely the (ring-theoretic) [[kernel (ring theory)|kernel]] of ''f''. Note that [[category-theoretic kernel]]s do not make sense in '''Ring''' since there are no [[zero morphism]]s (see below).<br /> *The ring of [[p-adic integer|''p''-adic integers]] is the [[inverse limit]] in '''Ring''' of a sequence of [[modular arithmetic|rings of integers mod ''p''&lt;sup&gt;''n''&lt;/sup&gt;]].<br /> <br /> ===Morphisms===<br /> {{main|ring homomorphism}}<br /> Unlike many categories studied in mathematics, there do not always exist morphisms between pairs of objects in '''Ring'''. This is a consequence of the fact that ring homomorphisms must preserve the identity. For example, there are no morphisms from the [[zero ring]] '''0''' to any nonzero ring. A necessary condition for there to be morphisms from ''R'' to ''S'' is that the [[characteristic (algebra)|characteristic]] of ''S'' divide that of ''R''.<br /> <br /> Note that even though some of the hom-sets are empty, the category '''Ring''' is still [[connected category|connected]] since it has an initial object.<br /> <br /> Some special classes of morphisms in '''Ring''' include:<br /> <br /> *[[Isomorphism]]s in '''Ring''' are the [[bijective]] ring homomorphisms.<br /> *[[Monomorphism]]s in '''Ring''' are the [[injective]] homomorphisms. Not every monomorphism is [[regular monomorphism|regular]] however.<br /> *Every surjective homomorphism is an [[epimorphism]] in '''Ring''', but the converse is not true. The inclusion '''Z''' → '''Q''' is a nonsurjective epimorphism. The natural ring homomorphism from any commutative ring ''R'' to any one of its [[localization of a ring|localizations]] is an epimorphism which is not necessarily surjective.<br /> *The surjective homomorphisms can be characterized as the [[regular epimorphism|regular]] or [[extremal epimorphism]]s in '''Ring''' (these two classes coinciding).<br /> *[[Bimorphism]]s in '''Ring''' are the injective epimorphisms. The inclusion '''Z''' → '''Q''' is an example of a bimorphism which is not an isomorphism.<br /> <br /> ===Other properties===<br /> <br /> *The only [[injective object]] in '''Ring''' up to isomorphism is the [[zero ring]] (i.e. the terminal object).<br /> *Lacking [[zero morphism]]s, the category of rings cannot be a [[preadditive category]]. (However, every ring&amp;mdash;considered as a small category with a single object&amp;mdash; is a preadditive category).<br /> *The category of rings is a [[symmetric monoidal category]] with the [[tensor product of rings]] ⊗&lt;sub&gt;'''Z'''&lt;/sub&gt; as the monoidal product and the ring of integers '''Z''' as the unit object. It follows from the [[Eckmann–Hilton theorem]], that a [[monoid (category theory)|monoid]] in '''Ring''' is just a [[commutative ring]]. The action of a monoid (= commutative ring) ''R'' on an object (= ring) ''A'' of '''Ring''' is just an [[R-algebra|''R''-algebra]].<br /> <br /> ==Subcategories==<br /> <br /> The category of rings has a number of important [[subcategories]]. These include the [[full subcategories]] of [[commutative rings]], [[integral domain]]s, [[principal ideal domain]]s, and [[field (mathematics)|field]]s.<br /> <br /> ===Category of commutative rings===<br /> <br /> The '''category of commutative rings''', denoted '''CRing''', is the full subcategory of '''Ring''' whose objects are all [[commutative rings]]. This category is one of the central objects of study in the subject of [[commutative algebra]].<br /> <br /> Any ring can be made commutative by taking the [[quotient ring|quotient]] by the [[ideal (ring theory)|ideal]] generated by all elements of the form (''xy'' &amp;minus; ''yx''). This defines a functor '''Ring''' → '''CRing''' which is left adjoint to the inclusion functor, so that '''CRing''' is a [[reflective subcategory]] of '''Ring'''. The [[free commutative ring]] on a set of generators ''E'' is the [[polynomial ring]] '''Z'''[''E''] whose variables are taken from ''E''. This gives a left adjoint functor to the forgetful functor from '''CRing''' to '''Set'''.<br /> <br /> '''CRing''' is limit-closed in '''Ring''', which means that limits in '''CRing''' are the same as they are in '''Ring'''. Colimits, however, are generally different. They can be formed by taking the commutative quotient of colimits in '''Ring'''. The coproduct of two commutative rings is given by the [[tensor product of rings]]. Again, the coproduct of two nonzero commutative rings can be zero.<br /> <br /> The [[opposite category]] of '''CRing''' is [[equivalence of categories|equivalent]] to the [[category of affine schemes]]. The equivalence is given by the [[contravariant functor]] Spec which sends a commutative ring to its [[spectrum of a ring|spectrum]], an affine [[scheme (mathematics)|scheme]].<br /> <br /> ===Category of fields===<br /> <br /> The '''category of fields''', denoted '''Field''', is the full subcategory of '''CRing''' whose objects are [[field (mathematics)|field]]s. The category of fields is not nearly as well-behaved as other algebraic categories. In particular, free fields do not exist (i.e. there is no left adjoint to the forgetful functor '''Field''' → '''Set'''). It follows that '''Field''' is ''not'' a reflective subcategory of '''CRing'''.<br /> <br /> The category of fields is neither [[finitely complete category|finitely complete]] nor finitely cocomplete. In particular, '''Field''' has neither products nor coproducts.<br /> <br /> Another curious aspect of the category of fields is that every morphism is a [[monomorphism]]. This follows from the fact that the only ideals in a field ''F'' are the [[zero ideal]] and ''F'' itself. One can then view morphisms in '''Field''' as [[field extension]]s.<br /> <br /> The category of fields is not [[connected category|connected]]. There are no morphisms between fields of different [[characteristic (algebra)|characteristic]]. The connected components of '''Field''' are the full subcategories of characteristic ''p'', where ''p'' = 0 or is a [[prime number]]. Each such subcategory has an [[initial object]]: the [[prime field]] of characteristic ''p'' (which is '''Q''' if ''p'' = 0, otherwise the [[finite field]] '''F'''&lt;sub&gt;''p''&lt;/sub&gt;).<br /> <br /> ==Related categories and functors==<br /> <br /> ===Category of groups===<br /> <br /> There is a natural functor from '''Ring''' to the [[category of groups]], '''Grp''', which sends each ring ''R'' to its [[group of units]] ''U''(''R'') and each ring homomorphism to the restriction to ''U''(''R''). This functor has a [[left adjoint]] which sends each [[group (mathematics)|group]] ''G'' to the [[integral group ring]] '''Z'''[''G''].<br /> <br /> Another functor between these categories sends each ring ''R'' to the group of units of the [[matrix ring]] M&lt;sub&gt;2&lt;/sub&gt;(''R'') which acts on the [[projective line over a ring]] P(''R'').<br /> <br /> ===''R''-algebras===<br /> <br /> Given a commutative ring ''R'' one can define the category '''''R''-Alg''' whose objects are all [[algebra (ring theory)|''R''-algebras]] and whose morphisms are ''R''-algebra homomorphisms.<br /> <br /> The category of rings can be considered a special case. Every ring can be considered a '''Z'''-algebra is a unique way. Ring homomorphisms are precisely the '''Z'''-algebra homomorphisms. The category of rings is, therefore, [[isomorphism of categories|isomorphic]] to the category '''Z-Alg'''.&lt;ref&gt;{{citation|title=Sheaf Theory|volume=Volume 20|series=London Mathematical Society Lecture Note Series|first=B. R.|last=Tennison|publisher=Cambridge University Press|year=1975|isbn=9780521207843|page=74|url=https://books.google.com/books?id=oRs7AAAAIAAJ&amp;pg=PA74}}.&lt;/ref&gt; Many statements about the category of rings can be generalized to statements about the category of ''R''-algebras.<br /> <br /> For each commutative ring ''R'' there is a functor '''''R''-Alg''' → '''Ring''' which forgets the ''R''-module structure. This functor has a left adjoint which sends each ring ''A'' to the [[tensor product of rings|tensor product]] ''R''⊗&lt;sub&gt;'''Z'''&lt;/sub&gt;''A'', thought of as an ''R''-algebra by setting ''r''·(''s''⊗''a'') = ''rs''⊗''a''.<br /> <br /> ===Rings without identity===<br /> <br /> Many authors do not require rings to have a multiplicative identity element and, accordingly, do not require ring homomorphism to preserve the identity (should it exist). This leads to a rather different category. For distinction we call such algebraic structures ''[[rng (algebra)|rngs]]'' and their morphisms ''rng homomorphisms''. The category of all rngs will be denoted by '''Rng'''.<br /> <br /> The category of rings, '''Ring''', is a ''nonfull'' [[subcategory]] of '''Rng'''. Nonfull, because there are rng homomorphisms between rings which do not preserve the identity and are, therefore, not morphisms in '''Ring'''. The inclusion functor '''Ring''' → '''Rng''' has a left adjoint which formally adjoins an identity to any rng. This makes '''Ring''' into a (nonfull) [[reflective subcategory]] of '''Rng'''. The inclusion functor '''Ring''' → '''Rng''' respects limits but not colimits.<br /> <br /> The [[zero ring]] serves as both an initial and terminal object in '''Rng''' (that is, it is a [[zero object]]). It follows that '''Rng''', like '''Grp''' but unlike '''Ring''', has [[zero morphism]]s. These are just the rng homomorphisms that map everything to 0. Despite the existence of zero morphisms, '''Rng''' is still not a [[preadditive category]]. The pointwise sum of two rng homomorphisms is generally not a rng homomorphism. Coproducts in '''Rng''' are not the same as direct sums.<br /> <br /> There is a fully faithful functor from the category of [[abelian group]]s to '''Rng''' sending an abelian group to the associated [[Rng_(algebra)#Rng_of_square_zero|rng of square zero]].<br /> <br /> [[Free object|Free construction]]s are less natural in '''Rng''' then they are in '''Ring'''. For example, the free rng generated by a set {''x''} is the ring of all integral polynomials over ''x'' with no constant term, while the free ring generated by {''x''} is just the [[polynomial ring]] '''Z'''[''x''].<br /> <br /> ==References==<br /> {{Reflist}}<br /> <br /> *{{cite book | last = Adámek | first = Jiří |author2=Horst Herrlich|author3=George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}}<br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane |author2=[[Garrett Birkhoff]] | title = Algebra | edition = (3rd ed.) | publisher = American Mathematical Society | location = Providence, Rhode Island | year = 1999 | isbn = 0-8218-1646-2}}<br /> *{{cite book | first = Saunders | last = Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = (2nd ed.) | publisher = Springer | isbn = 0-387-98403-8}}<br /> <br /> [[Category:Categories in category theory|Rings]]<br /> [[Category:Ring theory]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Tsiolkovsky_rocket_equation&diff=773346421 Tsiolkovsky rocket equation 2017-04-01T21:34:43Z <p>Magmalex: /* External links */ better described an external link</p> <hr /> <div>{{More footnotes|date=February 2009}}<br /> {{Astrodynamics |Equations}}<br /> [[File:Tsiolkovsky rocket equation.svg|thumb|right|Rocket [[mass ratio]]s versus final velocity calculated from the rocket equation.]]<br /> <br /> The '''Tsiolkovsky rocket equation''', or '''ideal rocket equation''', describes the motion of vehicles that follow the basic principle of a [[rocket]]: a device that can apply acceleration to itself (a [[thrust]]) by expelling part of its mass with high velocity and thereby move due to the [[conservation of momentum]]. The equation relates the [[delta-v]] (the maximum change of [[velocity]] of the rocket if no other external forces act) with the [[Specific impulse|effective exhaust velocity]] and the initial and final mass of a [[rocket]] (or other [[reaction engine]]).<br /> <br /> For any such maneuver (or journey involving a sequence of such maneuvers):<br /> <br /> :&lt;math&gt;\Delta v = v_\text{e} \ln \frac {m_0} {m_f}&lt;/math&gt;<br /> <br /> where:<br /> :&lt;math&gt;\Delta v\ &lt;/math&gt; is [[delta-v]] - the maximum change of [[velocity]] of the vehicle (with no external forces acting).<br /> :&lt;math&gt;m_0&lt;/math&gt; is the initial total mass, including [[propellant]].<br /> :&lt;math&gt;m_f&lt;/math&gt; is the final total mass without propellant, also known as dry mass.<br /> :&lt;math&gt;v_\text{e}&lt;/math&gt; is the effective exhaust velocity.<br /> :&lt;math&gt;\ln&lt;/math&gt; refers to the [[natural logarithm]] function.<br /> <br /> (The equation can also be written using the [[specific impulse]] instead of the effective exhaust velocity by applying the formula &lt;math&gt;v_\text{e} = I_\text{sp} \cdot g_0&lt;/math&gt; where &lt;math&gt;I_\text{sp}&lt;/math&gt; is the specific impulse expressed as a time period and &lt;math&gt;g_0&lt;/math&gt; is [[standard gravity]] ≈ 9.8&amp;nbsp;m/s&lt;sup&gt;2&lt;/sup&gt;.)<br /> <br /> ==History==<br /> <br /> The equation is named after [[Russian Empire|Russian]] scientist [[Konstantin Tsiolkovsky]] who independently derived it and published it in his 1903 work.&lt;ref&gt;К. Ціолковскій, Изслѣдованіе мировыхъ пространствъ реактивными приборами, 1903 (available online [http://epizodsspace.airbase.ru/bibl/dorev-knigi/ciolkovskiy/sm.rar here] in a [[RAR (file format)|RARed]] PDF)&lt;/ref&gt; The equation had been derived earlier by the [[United Kingdom|British]] mathematician [[William Moore (British mathematician)|William Moore]] in 1813.&lt;ref name=moore&gt;{{Cite book |authorlink=William Moore (British mathematician) |last=Moore |first=William |author2= of the [[Military Academy at Woolwich]] |title=A Treatise on the Motion of Rockets. To which is added, An Essay on Naval Gunnery |location=London |date=1813 |publisher=G. and S. Robinson }}&lt;!-- in 8 volumes, price 10s --&gt;&lt;/ref&gt; The minister [[William Leitch (scientist)|William Leitch]] who was a capable scientist also independently derived the fundamentals of rocketry in 1861.<br /> <br /> This equation was independently derived by [[Konstantin Tsiolkovsky]] towards the end of the 19th century and is sometimes known under his name, but more often simply referred to as 'the rocket equation' (or sometimes the 'ideal rocket equation').<br /> <br /> While the derivation of the rocket equation is a straightforward calculus exercise, Tsiolkovsky is honored as being the first to apply it to the question of whether rockets could achieve speeds necessary for space travel.<br /> <br /> ==Derivation==<br /> Consider the following system:<br /> [[Image:Var mass system.PNG]]<br /> <br /> In the following derivation, &quot;the rocket&quot; is taken to mean &quot;the rocket and all of its unburned propellant&quot;.<br /> <br /> Newton's second law of motion relates external forces (&lt;math&gt;F_i\,&lt;/math&gt;) to the change in linear momentum of the whole system (including rocket and exhaust) as follows:<br /> <br /> :&lt;math&gt;\sum F_i = \lim_{\Delta t \to 0} \frac{P_2-P_1}{\Delta t}&lt;/math&gt;<br /> <br /> where &lt;math&gt;P_1\,&lt;/math&gt; is the momentum of the rocket at time ''t=0'':<br /> <br /> :&lt;math&gt; P_1 = \left( {m + \Delta m} \right)V&lt;/math&gt;<br /> <br /> and &lt;math&gt;P_2\,&lt;/math&gt; is the momentum of the rocket and exhausted mass at time &lt;math&gt;t=\Delta t\,&lt;/math&gt;:<br /> <br /> :&lt;math&gt;P_2 = m\left(V + \Delta V \right) + \Delta m V_e&lt;/math&gt;<br /> <br /> and where, with respect to the observer:<br /> <br /> :{|<br /> | &lt;math&gt;V\,&lt;/math&gt; is the velocity of the rocket at time ''t=0''<br /> |-<br /> | &lt;math&gt;V+\Delta V\,&lt;/math&gt; is the velocity of the rocket at time &lt;math&gt;t=\Delta t\,&lt;/math&gt;<br /> |-<br /> | &lt;math&gt;V_e\,&lt;/math&gt; is the velocity of the mass added to the exhaust (and lost by the rocket) during time &lt;math&gt;\Delta t\,&lt;/math&gt;<br /> |-<br /> | &lt;math&gt;m+\Delta m\,&lt;/math&gt; is the mass of the rocket at time ''t=0''<br /> |-<br /> | &lt;math&gt;m\,&lt;/math&gt; is the mass of the rocket at time &lt;math&gt;t=\Delta t\,&lt;/math&gt;<br /> |}<br /> <br /> The velocity of the exhaust &lt;math&gt;V_e&lt;/math&gt; in the observer frame is related to the velocity of the exhaust in the rocket frame &lt;math&gt;v_e&lt;/math&gt; by (since exhaust velocity is in the negative direction)<br /> <br /> :&lt;math&gt;V_e=V-v_e&lt;/math&gt;<br /> <br /> Solving yields:<br /> <br /> :&lt;math&gt;P_2-P_1=m\Delta V-v_e\Delta m\,&lt;/math&gt;<br /> <br /> and, using &lt;math&gt;dm=-\Delta m&lt;/math&gt;, since ejecting a positive &lt;math&gt;\Delta m&lt;/math&gt; results in a decrease in mass,<br /> <br /> :&lt;math&gt;\sum F_i=m\frac{dV}{dt}+v_e\frac{dm}{dt}&lt;/math&gt;<br /> <br /> If there are no external forces then &lt;math&gt;\sum F_i=0&lt;/math&gt; ([[Momentum#Conservation|conservation of linear momentum]]) and<br /> <br /> :&lt;math&gt;m\frac{dV}{dt}=-v_e\frac{dm}{dt}&lt;/math&gt;<br /> <br /> Assuming &lt;math&gt;v_e\,&lt;/math&gt; is constant, this may be integrated to yield:<br /> <br /> :&lt;math&gt;\Delta V\ = v_e \ln \frac {m_0} {m_1}&lt;/math&gt;<br /> <br /> or equivalently<br /> <br /> :&lt;math&gt;m_1=m_0 e^{-\Delta V\ / v_e}&lt;/math&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;or&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;math&gt;m_0=m_1 e^{\Delta V\ / v_e}&lt;/math&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;or&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;math&gt;m_0 - m_1=m_1 (e^{\Delta V\ / v_e} - 1)&lt;/math&gt;<br /> <br /> where &lt;math&gt;m_0&lt;/math&gt; is the initial total mass including propellant, &lt;math&gt;m_1&lt;/math&gt; the final total mass, and &lt;math&gt;v_e&lt;/math&gt; the velocity of the rocket exhaust with respect to the rocket (the [[specific impulse]], or, if measured in time, that multiplied by [[gravity]]-on-Earth acceleration).<br /> <br /> The value &lt;math&gt;m_0 - m_1&lt;/math&gt; is the total mass of propellant expended, and hence:<br /> <br /> :&lt;math&gt;M_f = 1-\frac {m_1} {m_0}=1-e^{-\Delta V\ / v_\text{e}}&lt;/math&gt;<br /> <br /> where &lt;math&gt;M_f&lt;/math&gt; is the [[propellant mass fraction]] (the part of the initial total mass that is spent as [[working mass]]).<br /> <br /> &lt;math&gt;\Delta V\ &lt;/math&gt; ([[delta v]]) is the integration over time of the magnitude of the acceleration produced by using the rocket engine (what would be the actual acceleration if external forces were absent). In free space, for the case of acceleration in the direction of the velocity, this is the increase of the speed. In the case of an acceleration in opposite direction (deceleration) it is the decrease of the speed. Of course gravity and drag also accelerate the vehicle, and they can add or subtract to the change in velocity experienced by the vehicle. Hence delta-v is not usually the actual change in speed or velocity of the vehicle.<br /> <br /> If [[special relativity]] is taken into account, the following equation can be derived for a [[relativistic rocket]],&lt;ref&gt;Forward, Robert L. [http://www.relativitycalculator.com/images/rocket_equations/AIAA.pdf &quot;A Transparent Derivation of the Relativistic Rocket Equation&quot;] (see the right side of equation 15 on the last page, with R as the ratio of initial to final mass and w as the exhaust velocity, corresponding to v&lt;sub&gt;e&lt;/sub&gt; in the notation of this article)&lt;/ref&gt; with &lt;math&gt;\Delta v&lt;/math&gt; again standing for the rocket's final velocity (after burning off all its fuel and being reduced to a rest mass of &lt;math&gt;m_1&lt;/math&gt;) in the [[inertial frame of reference]] where the rocket started at rest (with the rest mass including fuel being &lt;math&gt;m_0&lt;/math&gt; initially), and &lt;math&gt;c&lt;/math&gt; standing for the [[speed of light]] in a vacuum:<br /> <br /> :&lt;math&gt;\frac{m_0}{m_1} = \left[\frac{1 + {\frac{\Delta v}{c}}}{1 - {\frac{\Delta v}{c}}}\right]^{\frac{c}{2v_e}}&lt;/math&gt;<br /> <br /> Writing &lt;math&gt;\frac{m_0}{m_1}&lt;/math&gt; as &lt;math&gt;R&lt;/math&gt;, a little algebra allows this equation to be rearranged as<br /> <br /> :&lt;math&gt;\frac{\Delta v}{c} = \frac{R^{\frac{2v_e}{c}} - 1}{R^{\frac{2v_e}{c}} + 1}&lt;/math&gt;<br /> <br /> Then, using the [[Identity (mathematics)|identity]] &lt;math&gt;R^{\frac{2v_e}{c}} = \exp \left[ \frac{2v_e}{c} \ln R \right]&lt;/math&gt; (here &quot;exp&quot; denotes the [[exponential function]]; ''see also'' [[Natural logarithm]] as well as the &quot;power&quot; identity at [[Logarithm#Product, quotient, power and root|Logarithmic identities]]) and the identity &lt;math&gt;\tanh x = \frac{e^{2x} - 1} {e^{2x} + 1}&lt;/math&gt; (''see'' [[Hyperbolic function]]), this is equivalent to<br /> <br /> :&lt;math&gt;\Delta v = c \cdot \tanh \left(\frac {v_e}{c} \ln \frac{m_0}{m_1} \right)&lt;/math&gt;<br /> <br /> ===Other derivations===<br /> <br /> ====Impulse-based====<br /> The equation can also be derived from the basic integral of acceleration in the form of force (thrust) over mass.<br /> By representing the delta-v equation as the following:<br /> :&lt;math&gt;\Delta v = \int^{t1}_{t0} \frac{|T|}{{m_0}-\Delta{m} {t}} ~ dt&lt;/math&gt;<br /> <br /> where T is thrust, &lt;math&gt;m_0&lt;/math&gt; is the initial (wet) mass and &lt;math&gt;\Delta m&lt;/math&gt; is the initial mass minus the final (dry) mass,<br /> <br /> and realising that the integral of a resultant force over time is total impulse, assuming thrust is the only force involved,<br /> :&lt;math&gt;\int^{t1}_{t0} F ~ dt = J&lt;/math&gt;<br /> <br /> The integral is found to be:<br /> :&lt;math&gt;J ~ \frac{\ln({m_0}) - \ln({m_1})}{\Delta m}&lt;/math&gt;<br /> <br /> Realising that impulse over the change in mass is equivalent to force over propellant mass flow rate (p), which is itself equivalent to exhaust velocity,<br /> :&lt;math&gt; \frac{J}{\Delta m} = \frac{F}{p} = V_{exh}&lt;/math&gt;<br /> <br /> the integral can be equated to<br /> :&lt;math&gt;\Delta v = V_{exh} ~ \ln\left({\frac{m_0}{m_1}}\right)&lt;/math&gt;<br /> <br /> ====Acceleration-based====<br /> <br /> Imagine a rocket at rest in space with no forces exerted on it ([[Newton's laws of motion|Newton's First Law of Motion]]). However, as soon as its engine is started (clock set to 0) the rocket is expelling gas mass at a ''constant mass flow rate M'' (kg/s) and at ''exhaust velocity relative to the rocket v&lt;sub&gt;e&lt;/sub&gt;'' (m/s). This creates a constant force propelling the rocket that is equal to ''M × v&lt;sub&gt;e&lt;/sub&gt;''. The mass of fuel the rocket initially has on board is equal to ''m&lt;sub&gt;0&lt;/sub&gt; - m&lt;sub&gt;f&lt;/sub&gt;''. It will therefore take a time that is equal to ''(m&lt;sub&gt;0&lt;/sub&gt; - m&lt;sub&gt;f&lt;/sub&gt;)/M'' to burn all this fuel. Now, the rocket is subject to a constant force (M × v&lt;sub&gt;e&lt;/sub&gt;), but at the same time its total weight is decreasing steadily because it's expelling gas. According to [[Newton's laws of motion|Newton's Second Law of Motion]], this can have only one consequence; its acceleration is increasing steadily. To obtain the acceleration, the propelling force has to be divided by the rocket's total mass. So, the level of acceleration at any moment (''t'') after ignition and until the fuel runs out is given by;<br /> <br /> :&lt;math&gt; ~ \frac{M v_e}{m_0 - (M t)}.&lt;/math&gt;<br /> <br /> Since the time it takes to burn the fuel is ''(m&lt;sub&gt;0&lt;/sub&gt; - m&lt;sub&gt;f&lt;/sub&gt;)/M'' the acceleration reaches its maximum of<br /> :&lt;math&gt; ~ \frac{M v_e}{m_f}&lt;/math&gt;<br /> the moment the last fuel is expelled. Since the exhaust velocity is related to the [[specific impulse]] in unit time as <br /> :&lt;math&gt;I_{\rm sp}=\frac{v_\text{e}}{g_0},&lt;/math&gt;&lt;ref name=&quot;SINasa&quot;&gt;{{cite web|url=http://www.grc.nasa.gov/WWW/K-12/airplane/specimp.html|title=Specific impulse|last=Benson|first=Tom|date= 2008-07-11|publisher=NASA|accessdate= 2009-12-22}}&lt;/ref&gt;<br /> where ''g&lt;sub&gt;0&lt;/sub&gt;'' is the [[standard gravity]], the corresponding maximum [[g-force]] is<br /> :&lt;math&gt; ~ \frac{M I_{\rm sp}}{m_f}.&lt;/math&gt;<br /> Since speed is the definite [[Integral|integration]] of acceleration, and the integration has to start at ignition and end the moment the last propellant leaves the rocket, the following definite integral yields the speed at the moment the fuel runs out;<br /> <br /> :&lt;math&gt; ~ \int^{\frac{m_0-m_f}{M}}_{0} \frac{M v_e}{m_0 - (M t)} ~ dt = ~ - v_e \ln(m_f) + v_e \ln(m_0) = ~ v_e \ln\left(\frac{m_0}{m_f}\right) &lt;/math&gt;<br /> <br /> ==Terms of the equation==<br /> <br /> ===Delta-''v''===<br /> {{main article|Delta-v}}<br /> Delta-''v'' (literally &quot;[[Delta (letter)#Upper case|change]] in [[velocity]]&quot;), symbolised as '''Δ''v''''' and pronounced ''delta-vee'', as used in [[flight dynamics (spacecraft)|spacecraft flight dynamics]], is a measure of the [[impulse (physics)|impulse]] that is needed to perform a maneuver such as launching from, or landing on a planet or moon, or an in-space [[orbital maneuver]]. It is a [[scalar (mathematics)|scalar]] that has the units of [[speed]]. As used in this context, it is ''not'' the same as the [[delta-v (physics)|physical change in velocity]] of the vehicle.<br /> <br /> Delta-''v'' is produced by reaction engines, such as [[rocket engines]] and is proportional to the [[thrust]] per unit mass, and burn time, and is used to determine the mass of [[rocket propellant|propellant]] required for the given manoeuvre through the rocket equation.<br /> <br /> For multiple manoeuvres, delta-''v'' sums linearly.<br /> <br /> For interplanetary missions delta-''v'' is often plotted on a [[porkchop plot]] which displays the required mission delta-''v'' as a function of launch date.<br /> <br /> ===Mass fraction===<br /> {{main article|Propellant mass fraction}}<br /> In [[aerospace engineering]], the propellant mass fraction is the portion of a vehicle's mass which does not reach the destination, usually used as a measure of the vehicle's performance. In other words, the propellant mass fraction is the ratio between the propellant mass and the initial mass of the vehicle. In a spacecraft, the destination is usually an orbit, while for aircraft it is their landing location. A higher mass fraction represents less weight in a design. Another related measure is the [[payload fraction]], which is the fraction of initial weight that is payload.<br /> <br /> ===Effective exhaust velocity===<br /> {{main article|effective exhaust velocity}}<br /> The effective exhaust velocity is often specified as a [[specific impulse]] and they are related to each other by:<br /> <br /> :&lt;math&gt;v_\text{e} = g_0 I_\text{sp},&lt;/math&gt;<br /> <br /> where<br /> <br /> :&lt;math&gt;I_\text{sp}&lt;/math&gt; is the specific impulse in seconds,<br /> <br /> :&lt;math&gt;v_\text{e}&lt;/math&gt; is the specific impulse measured in [[metre per second|m/s]], which is the same as the effective exhaust velocity measured in m/s (or ft/s if g is in ft/s&lt;sup&gt;2&lt;/sup&gt;),<br /> <br /> :&lt;math&gt;g_0&lt;/math&gt; is the acceleration due to gravity at the Earth's surface, 9.81 m/s&lt;sup&gt;2&lt;/sup&gt; (in [[Imperial units]] 32.2 ft/s&lt;sup&gt;2&lt;/sup&gt;).<br /> <br /> ==Applicability==<br /> The rocket equation captures the essentials of rocket flight physics in a single short equation. It also holds true for rocket-like reaction vehicles whenever the effective exhaust velocity is constant, and can be summed or integrated when the effective exhaust velocity varies. The rocket equation only accounts for the reaction force from the rocket engine; it does not include other forces that may act on a rocket, such as [[aerodynamic force|aerodynamic]] or [[gravitation]]al forces. As such, when using it to calculate the propellant requirement for launch from (or powered descent to) a planet with an atmosphere, the effects of these forces must be included in the delta-V requirement (see Examples below). In what has been called &quot;the tyranny of the rocket equation&quot;, there is a limit to the amount of [[Payload fraction|payload]] that the airship can carry, as higher amounts of propellant increment the overall weight, and thus also increase the fuel consumption.&lt;ref&gt;{{Cite web|url=http://www.nasa.gov/mission_pages/station/expeditions/expedition30/tryanny.html|title=NASA - The Tyranny of the Rocket Equation|website=www.nasa.gov|language=en|access-date=2016-04-18}}&lt;/ref&gt; The equation does not apply to [[Non-rocket spacelaunch|non-rocket systems]] such as [[aerobraking]], [[Space gun|gun launch]]es, [[space elevator]]s, [[launch loop]]s, or [[tether propulsion]].<br /> <br /> The rocket equation can be applied to [[orbital maneuver]]s in order to determine how much propellant is needed to change to a particular new orbit, or to find the new orbit as the result of a particular propellant burn. When applying to orbital maneuvers, one assumes an [[Orbital maneuver|impulsive maneuver]], in which the propellant is discharged and delta-v applied instantaneously. This assumption is relatively accurate for short-duration burns such as for mid-course corrections and orbital insertion maneuvers. As the burn duration increases, the result is less accurate due to the effect of gravity on the vehicle over the duration of the maneuver. For low-thrust, long duration propulsion, such as [[Electrically powered spacecraft propulsion|electric propulsion]], more complicated analysis based on the propagation of the spacecraft's state vector and the integration of thrust are used to predict orbital motion.<br /> <br /> ==Examples==<br /> Assume an exhaust velocity of {{convert|4500|m/s|ft/s|sp=us}} and a &lt;math&gt;\Delta v&lt;/math&gt; of {{convert|9700|m/s|ft/s|sp=us}} (Earth to [[low Earth orbit|LEO]], including &lt;math&gt;\Delta v&lt;/math&gt; to overcome gravity and aerodynamic drag).<br /> <br /> *[[Single-stage-to-orbit]] rocket: &lt;math&gt;1-e^{-9.7/4.5}&lt;/math&gt; = 0.884, therefore 88.4% of the initial total mass has to be propellant. The remaining 11.6% is for the engines, the tank, and the payload.<br /> *[[Two-stage-to-orbit]]: suppose that the first stage should provide a &lt;math&gt;\Delta v&lt;/math&gt; of {{convert|5000|m/s|ft/s|sp=us}}; &lt;math&gt;1-e^{-5.0/4.5}&lt;/math&gt; = 0.671, therefore 67.1% of the initial total mass has to be propellant to the first stage. The remaining mass is 32.9%. After disposing of the first stage, a mass remains equal to this 32.9%, minus the mass of the tank and engines of the first stage. Assume that this is 8% of the initial total mass, then 24.9% remains. The second stage should provide a &lt;math&gt;\Delta v&lt;/math&gt; of {{convert|4700|m/s|ft/s|sp=us}}; &lt;math&gt;1-e^{-4.7/4.5}&lt;/math&gt; = 0.648, therefore 64.8% of the remaining mass has to be propellant, which is 16.2% of the original total mass, and 8.7% remains for the tank and engines of the second stage, the payload, and in the case of a space shuttle, also the orbiter. Thus together 16.7% of the original launch mass is available for ''all'' engines, the tanks, and payload.<br /> <br /> ==Stages==<br /> In the case of sequentially thrusting [[Staging (rocketry)|rocket stages]], the equation applies for each stage, where for each stage the initial mass in the equation is the total mass of the rocket after discarding the previous stage, and the final mass in the equation is the total mass of the rocket just before discarding the stage concerned. For each stage the specific impulse may be different.<br /> <br /> For example, if 80% of the mass of a rocket is the fuel of the first stage, and 10% is the dry mass of the first stage, and 10% is the remaining rocket, then<br /> <br /> :&lt;math&gt;<br /> \begin{align}<br /> \Delta v \ &amp; = v_\text{e} \ln { 100 \over 100 - 80 }\\<br /> &amp; = v_\text{e} \ln 5 \\<br /> &amp; = 1.61 v_\text{e}. \\<br /> \end{align}<br /> &lt;/math&gt;<br /> <br /> With three similar, subsequently smaller stages with the same &lt;math&gt;v_e&lt;/math&gt; for each stage, we have<br /> <br /> :&lt;math&gt;\Delta v \ = 3 v_\text{e} \ln 5 \ = 4.83 v_\text{e} &lt;/math&gt;<br /> <br /> and the payload is 10%*10%*10% = 0.1% of the initial mass.<br /> <br /> A comparable [[Single-stage-to-orbit|SSTO]] rocket, also with a 0.1% payload, could have a mass of 11.1% for fuel tanks and engines, and 88.8% for fuel. This would give<br /> <br /> :&lt;math&gt;\Delta v \ = v_\text{e} \ln(100/11.2) \ = 2.19 v_\text{e}. &lt;/math&gt;<br /> <br /> If the motor of a new stage is ignited before the previous stage has been discarded and the simultaneously working motors have a different specific impulse (as is often the case with solid rocket boosters and a liquid-fuel stage), the situation is more complicated.<br /> <br /> ==Common misconceptions==<br /> <br /> When viewed as a [[variable-mass system]], a rocket cannot be directly analyzed with [[Newton's second law of motion]] because the law is valid for constant-mass systems only.&lt;ref name=&quot;plastino&quot;&gt;{{cite journal|last=Plastino|first=Angel R. |author2=Muzzio, Juan C. |date=1992|title=On the use and abuse of Newton's second law for variable mass problems|journal=Celestial Mechanics and Dynamical Astronomy|publisher=Kluwer Academic Publishers|location=Netherlands|volume= 53|issue= 3|pages=227–232|issn=0923-2958|bibcode=1992CeMDA..53..227P|doi=10.1007/BF00052611}} &quot;We may conclude emphasizing that Newton's second law is valid for constant mass only. When the mass varies due to accretion or ablation, [an alternate equation explicitly accounting for the changing mass] should be used.&quot;&lt;/ref&gt;&lt;ref name=Halliday&gt;{{cite book|last1=Halliday|last2=Resnick |title=Physics|volume=1|pages=199|quote=It is important to note that we ''cannot'' derive a general expression for Newton's second law for variable mass systems by treating the mass in '''F''' = ''d'''''P'''/''dt'' = ''d''(''M'''''v''') as a ''variable''. [...] We ''can'' use '''F''' = ''d'''''P'''/''dt'' to analyze variable mass systems ''only'' if we apply it to an ''entire system of constant mass'' having parts among which there is an interchange of mass.|isbn=0-471-03710-9}} [Emphasis as in the original]&lt;/ref&gt;&lt;ref name=Kleppner&gt;<br /> {{cite book|last=Kleppner|first=Daniel|author2=Robert Kolenkow |title=An Introduction to Mechanics|publisher=McGraw-Hill|date=1973|pages=133–134|isbn=0-07-035048-5|quote=Recall that '''F''' = ''d'''''P'''/''dt'' was established for a system composed of a certain set of particles[. ... I]t is essential to deal with the same set of particles throughout the time interval[. ...] Consequently, the mass of the system can not change during the time of interest.}}&lt;/ref&gt; It can cause confusion that the Tsiolkovsky rocket equation looks similar to the relativistic force equation &lt;math&gt;F = dp/dt = m \; dv/dt + v \; dm/dt&lt;/math&gt;. Using this formula with &lt;math&gt;m(t)&lt;/math&gt; as the varying mass of the rocket seems to derive Tsiolkovsky rocket equation, but this derivation is not correct. Notice that the [[effective exhaust velocity]] &lt;math&gt;v_e&lt;/math&gt; doesn't even appear in this formula.<br /> <br /> ==See also==<br /> {{Portal| Spaceflight }}<br /> * [[Delta-v budget]]<br /> * [[Oberth effect]] applying delta-v in a [[gravity well]] increases the final velocity<br /> * [[Spacecraft propulsion]]<br /> * [[Mass ratio]]<br /> * [[Working mass]]<br /> * [[Relativistic rocket]]<br /> * [[Reversibility of orbits]]<br /> * [[Variable-mass system]]s<br /> <br /> {{Orbits}}<br /> <br /> ==References==<br /> <br /> {{Reflist}}<br /> <br /> ==External links==<br /> *[http://ed-thelen.org/rocket-eq.html How to derive the rocket equation]<br /> *[http://www.relativitycalculator.com/rocket_equations.shtml Relativity Calculator - Learn Tsiolkovsky's rocket equations]<br /> *[http://www.wolframalpha.com/input/?i=Tsiolkovsky+rocket+equation Tsiolkovsky's rocket equations plot and calculator in WolframAlpha]<br /> <br /> {{DEFAULTSORT:Tsiolkovsky Rocket Equation}}<br /> [[Category:Astrodynamics]]<br /> [[Category:Equations]]<br /> [[Category:Single-stage-to-orbit]]<br /> [[Category:Rocket propulsion]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Unification_(computer_science)&diff=763670304 Unification (computer science) 2017-02-04T15:30:29Z <p>Magmalex: /* Higher-order unification */ corrected ellipsis formula and converted to html</p> <hr /> <div>In [[logic]] and [[computer science]], '''unification''' is an algorithmic process of [[equation solving|solving]] [[equations]] between symbolic [[expression (mathematics)|expressions]].<br /> <br /> Depending on which expressions (also called ''terms'') are allowed to occur in an equation set (also called ''unification problem''), and which expressions are considered equal, several frameworks of unification are distinguished. If higher-order variables, that is, variables representing [[function (mathematics)|function]]s, are allowed in an expression, the process is called '''higher-order unification''', otherwise '''first-order unification'''. If a solution is required to make both sides of each equation literally equal, the process is called '''syntactic''' or '''free unification''', otherwise '''semantic''' or '''equational unification''', or '''E-unification''', or '''unification modulo theory'''.<br /> <br /> A ''solution'' of a unification problem is denoted as a [[substitution (logic)|substitution]], that is, a mapping assigning a symbolic value to each variable of the problem's expressions. A unification algorithm should compute for a given problem a ''complete'', and ''minimal'' substitution set, that is, a set covering all its solutions, and containing no redundant members. Depending on the framework, a complete and minimal substitution set may have at most one, at most finitely many, or possibly infinitely many members, or may not exist at all.&lt;ref group=note&gt;in this case, still a complete substitution set exists (e.g. the set of all solutions at all); however, each such set contains redundant members.&lt;/ref&gt;&lt;ref&gt;{{cite journal|first1=François|last1=Fages|first2=Gérard|last2=Huet|title=Complete Sets of Unifiers and Matchers in Equational Theories|journal=Theoretical Computer Science|volume=43|pages=189–200|year=1986|doi=10.1016/0304-3975(86)90175-1}}&lt;/ref&gt; In some frameworks it is generally impossible to decide whether any solution exists. For first-order syntactical unification, Martelli and Montanari&lt;ref name=&quot;Martelli.Montanari.1982&quot;&gt;{{cite journal|first1=Alberto|last1=Martelli|first2=Ugo|last2=Montanari|title=An Efficient Unification Algorithm|journal=ACM Trans. Program. Lang. Syst.|volume=4|number=2|pages=258–282|date=Apr 1982|doi=10.1145/357162.357169}}&lt;/ref&gt; gave an algorithm that reports unsolvability or computes a complete and minimal singleton substitution set containing the so-called '''most general unifier'''.<br /> <br /> For example, using ''x'',''y'',''z'' as variables, the singleton equation set { ''[[cons]]''(''x'',''cons''(''x'',''[[Lisp (programming language)#Lists|nil]]'')) = ''cons''(2,''y'') } is a syntactic first-order unification problem that has the substitution { ''x'' ↦ 2, ''y'' ↦ ''cons''(2,''nil'') } as its only solution.<br /> The syntactic first-order unification problem { ''y'' = ''cons''(2,''y'') } has no solution over the set of [[term (logic)|finite terms]]; however, it has the single solution { ''y'' ↦ ''cons''(2,''cons''(2,''cons''(2,...))) } over the set of [[Tree (set theory)|infinite trees]].<br /> The semantic first-order unification problem { ''a''⋅''x'' = ''x''⋅''a'' } has each substitution of the form { ''x'' ↦ ''a''⋅...⋅''a'' } as a solution in a [[semigroup]], i.e. if (⋅) is considered [[associative]]; the same problem, viewed in an [[abelian group]], where (⋅) is considered also [[commutative]], has any substitution at all as a solution.<br /> The singleton set { ''a'' = ''y''(''x'') } is a syntactic second-order unification problem, since ''y'' is a function variable.<br /> One solution is { ''x'' ↦ ''a'', ''y'' ↦ ([[identity function]]) }; another one is { ''y'' ↦ ([[constant function]] mapping each value to ''a''), ''x'' ↦ ''(any value)'' }.<br /> <br /> The first formal investigation of unification can be attributed to [[J. Alan Robinson|John Alan Robinson]],&lt;ref name=&quot;Robinson.1965&quot;&gt;{{cite journal | author=J.A. Robinson | title=A Machine-Oriented Logic Based on the Resolution Principle | journal=Journal of the ACM | volume=12 | number=1 | pages=23–41 |date=Jan 1965 | doi=10.1145/321250.321253}}; Here: sect.5.8, p.32&lt;/ref&gt;&lt;ref&gt;{{cite journal | author=J.A. Robinson | title=Computational logic: The unification computation | journal=Machine Intelligence | volume=6 | pages=63–72 | url=http://aitopics.org/sites/default/files/classic/Machine%20Intelligence%206/MI6-Ch4-Robinson.pdf | year=1971 }}&lt;/ref&gt; who used first-order syntactical unification as a basic building block of his [[Resolution (logic)|resolution]] procedure for first-order logic, a great step forward in [[automated reasoning]] technology, as it eliminated one source of combinatorial explosion: searching for instantiation of terms. Today, automated reasoning is still the main application area of unification.<br /> Syntactical first-order unification is used in [[logic programming]] and programming language [[type system]] implementation, especially in [[Hindley–Milner]] based [[type inference]] algorithms.<br /> Semantic unification is used in [[SMT solver]]s, [[term rewriting]] algorithms and [[cryptographic protocol]] analysis.<br /> Higher-order unification is used in proof assistants, for example [[Isabelle (theorem prover)|Isabelle]] and [[Twelf]], and restricted forms of higher-order unification ('''higher-order pattern unification''') are used in some programming language implementations, such as [[lambdaProlog]], as higher-order patterns are expressive, yet their associated unification procedure retains theoretical properties closer to first-order unification.<br /> <br /> ==Common formal definitions==<br /> <br /> ===Prerequisites===<br /> <br /> Formally, a unification approach presupposes<br /> * An infinite set ''V'' of '''variables'''. For higher-order unification, it is convenient to choose ''V'' disjoint from the set of [[Lambda term#Lambda terms|lambda-term bound variables]].<br /> * A set ''T'' of '''terms''' such that ''V'' ⊆ ''T''. For first-order unification and higher-order unification, ''T'' is usually the set of [[Term (first-order logic)#Terms|first-order terms]] (terms built from variable and function symbols) and [[Lambda term#Lambda terms|lambda terms]] (terms containing some higher-order variables), respectively.<br /> * A mapping ''vars'': ''T'' → [[power set|ℙ]](''V''), assigning to each term ''t'' the set ''vars''(''t'') ⊊ ''V'' of '''free variables''' occurring in ''t''.<br /> * An '''[[equivalence relation]]''' ≡ on ''T'', indicating which terms are considered equal. For higher-order unification, usually ''t'' ≡ ''u'' if ''t'' and ''u'' are [[Lambda term#Alpha equivalence|alpha equivalent]]. For first-order E-unification, ≡ reflects the background knowledge about certain function symbols; for example, if ⊕ is considered commutative, ''t'' ≡ ''u'' if ''u'' results from ''t'' by swapping the arguments of ⊕ at some (possibly all) occurrences. &lt;ref group=note&gt;E.g. ''a'' ⊕ (''b'' ⊕ ''f''(''x'')) ≡ ''a'' ⊕ (''f''(''x'') ⊕ ''b'') ≡ (''b'' ⊕ ''f''(''x'')) ⊕ ''a'' ≡ (''f''(''x'') ⊕ ''b'') ⊕ ''a''&lt;/ref&gt; If there is no background knowledge at all, then only literally, or syntactically, identical terms are considered equal; in this case, ≡ is called the '''[[free theory]]''' (because it is a [[free object]]), the '''[[empty theory]]''' (because the set of equational [[sentence (mathematical logic)|sentences]], or the background knowledge, is empty), the '''theory of [[uninterpreted function]]s''' (because unification is done on uninterpreted [[term (logic)|terms]]), or the '''theory of [[Algebraic specification|constructors]]''' (because all function symbols just build up data terms, rather than operating on them).<br /> <br /> ===First-order term===<br /> {{main|Term (logic)}}<br /> Given a set ''V'' of variable symbols, a set ''C'' of constant symbols and sets ''F''&lt;sub&gt;''n''&lt;/sub&gt; of ''n''-ary function symbols, also called operator symbols, for each natural number ''n'' ≥ 1, the set of (unsorted first-order) terms ''T'' is [[recursive definition|recursively defined]] to be the smallest set with the following properties:&lt;ref&gt;{{cite book| author1=C.C. Chang |author1link= Chen Chung Chang|author2= H. Jerome Keisler| author2link=Howard Jerome Keisler| title=Model Theory| year=1977| volume=73| publisher=North Holland| editor=A. Heyting and H.J. Keisler and A. Mostowski and A. Robinson and P. Suppes| series=Studies in Logic and the Foundation of Mathematics}}; here: Sect.1.3&lt;/ref&gt;<br /> * every variable symbol is a term: ''V'' ⊆ ''T'',<br /> * every constant symbol is a term: ''C'' ⊆ ''T'',<br /> * from every ''n'' terms ''t''&lt;sub&gt;1&lt;/sub&gt;,...,''t''&lt;sub&gt;''n''&lt;/sub&gt;, and every ''n''-ary function symbol ''f'' ∈ ''F''&lt;sub&gt;''n''&lt;/sub&gt;, a larger term ''f''(''t''&lt;sub&gt;1&lt;/sub&gt;,...,''t''&lt;sub&gt;''n''&lt;/sub&gt;) can be built.<br /> For example, if ''x'' ∈ ''V'' is a variable symbol, 1 ∈ ''C'' is a constant symbol, and ''add'' ∈ ''F''&lt;sub&gt;2&lt;/sub&gt; is a binary function symbol, then ''x'' ∈ ''T'', 1 ∈ ''T'', and (hence) ''add''(''x'',1) ∈ ''T'' by the first, second, and third term building rule, respectively. The latter term is usually written as ''x''+1, using [[infix notation]] and the more common operator symbol + for convenience.<br /> &lt;!---move to main article:<br /> Often mathematicians fix the arity (number of arguments) of a function symbol (see [[Signature]]) while typically in syntactic unification problems<br /> a function symbol may have any (finite) number of arguments, and possibly may have different numbers of arguments in different contexts. <br /> e.g. f(f(a),f(x,y,z)) is a well formed term for unification problems.<br /> ---&gt;<br /> <br /> ===Higher-order term===<br /> {{main|Lambda calculus}}<br /> <br /> ===Substitution===<br /> {{main|Substitution (logic)}}<br /> A '''substitution''' is a mapping σ: ''V'' → ''T'' from variables to terms; the notation {{math|{{mset| ''x''&lt;sub&gt;1&lt;/sub&gt; ↦ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''k''&lt;/sub&gt; ↦ ''t''&lt;sub&gt;''k''&lt;/sub&gt; }}}} refers to a substitution mapping each variable ''x''&lt;sub&gt;''i''&lt;/sub&gt; to the term ''t''&lt;sub&gt;''i''&lt;/sub&gt;, for ''i''=1,...,''k'', and every other variable to itself. '''Applying''' that substitution to a term ''t'' is written in [[postfix notation]] as {{math|''t'' {{mset|''x''&lt;sub&gt;1&lt;/sub&gt; ↦ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''k''&lt;/sub&gt; ↦ ''t''&lt;sub&gt;''k''&lt;/sub&gt;}}}}; it means to (simultaneously) replace every occurrence of each variable ''x''&lt;sub&gt;''i''&lt;/sub&gt; in the term ''t'' by ''t''&lt;sub&gt;''i''&lt;/sub&gt;. The result ''t''σ of applying a substitution σ to a term ''t'' is called an '''instance''' of that term ''t''.<br /> As a first-order example, applying the substitution {{math|{{mset| ''x'' ↦ ''h''(''a'',''y''), ''z'' ↦ ''b'' }}}} to the term <br /> {|<br /> |-<br /> |<br /> | ''f''(<br /> | align=&quot;center&quot; | '''''x'''''<br /> |, ''a'', ''g''(<br /> | '''''z'''''<br /> | ), ''y'')<br /> |-<br /> | yields &amp;nbsp;<br /> |-<br /> |<br /> | ''f''(<br /> | '''''h'''''('''''a''''','''''y''''')<br /> |, ''a'', ''g''(<br /> | '''''b'''''<br /> | ), ''y'').<br /> |}<br /> <br /> ===Generalization, specialization===<br /> <br /> If a term ''t'' has an instance equivalent to a term ''u'', that is, if {{math|1=''tσ'' ≡ ''u''}} for some substitution σ, then ''t'' is called '''more general''' than ''u'', and ''u'' is called '''more special''' than, or '''subsumed''' by, ''t''. For example,{{math|1= ''x'' ⊕ ''a''}} is more general than {{math|1=''a'' ⊕ ''b''}} if ⊕ is [[Commutative property|commutative]], since then {{math|1=(''x'' ⊕ ''a'') {{mset|''x''↦''b''}} = ''b'' ⊕ ''a'' ≡ ''a'' ⊕ ''b''}}.<br /> <br /> If ≡ is literal (syntactic) identity of terms, a term may be both more general and more special than another one only if both terms differ just in their variable names, not in their syntactic structure; such terms are called '''variants''', or '''renamings''' of each other.<br /> For example, <br /> {{math|''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)}}<br /> is a variant of <br /> {{math|''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;2&lt;/sub&gt;),''y''&lt;sub&gt;2&lt;/sub&gt;)}},<br /> since <br /> &lt;!---Templates apparently don't accept &quot;}&quot; and &quot;=&quot; in its argument---&gt;<br /> {{math|''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)<br /> {{mset|''x''&lt;sub&gt;1&lt;/sub&gt; ↦ ''x''&lt;sub&gt;2&lt;/sub&gt;, ''y''&lt;sub&gt;1&lt;/sub&gt; ↦ ''y''&lt;sub&gt;2&lt;/sub&gt;, ''z''&lt;sub&gt;1&lt;/sub&gt; ↦ ''z''&lt;sub&gt;2&lt;/sub&gt;}} {{=}} <br /> ''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;2&lt;/sub&gt;),''y''&lt;sub&gt;2&lt;/sub&gt;)}}<br /> and <br /> {{math|''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;2&lt;/sub&gt;),''y''&lt;sub&gt;2&lt;/sub&gt;)<br /> {{mset|''x''&lt;sub&gt;2&lt;/sub&gt; ↦ ''x''&lt;sub&gt;1&lt;/sub&gt;, ''y''&lt;sub&gt;2&lt;/sub&gt; ↦ ''y''&lt;sub&gt;1&lt;/sub&gt;, ''z''&lt;sub&gt;2&lt;/sub&gt; ↦ ''z''&lt;sub&gt;1&lt;/sub&gt;}} {{=}} <br /> ''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)}}.<br /> However, <br /> {{math|''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)}}<br /> is ''not'' a variant of <br /> {{math|''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''x''&lt;sub&gt;2&lt;/sub&gt;),''x''&lt;sub&gt;2&lt;/sub&gt;)}},<br /> since no substitution can transform the latter term into the former one.<br /> The latter term is therefore properly more special than the former one.<br /> <br /> For arbitrary ≡, a term may be both more general and more special than a structurally different term.<br /> For example, if ⊕ is [[idempotent]], that is, if always {{math|1=''x'' ⊕ ''x'' ≡ ''x''}}, then the term {{math|1=''x'' ⊕ ''y''}} is more general than {{math|1=(''x'' ⊕ ''y'') {{mset|''x'' ↦ ''z'', ''y'' ↦ ''z''}} = ''z'' ⊕ ''z'' ≡ ''z''}}, and vice versa ''z'' is more general than {{math|1=''z'' {{mset|''z'' ↦ ''x'' ⊕ ''y''}} = ''x'' ⊕ ''y''}}, although {{math|1=''x''⊕''y''}} and ''z'' are of different structure.<br /> <br /> A substitution {{mvar|σ}} is '''more special''' than, or '''subsumed''' by, a substitution {{mvar|τ}} if {{mvar|tσ}} is more special than {{mvar|tτ}} for each term {{mvar|t}}. We also say that {{mvar|τ}} is more general than {{mvar|σ}}.<br /> For instance {{math|1={{mset| ''x'' ↦ ''a'', ''y'' ↦ ''a'' }}}} is more special than {{math|1=τ = {{mset| ''x'' ↦ ''y'' }}}},<br /> but <br /> {{math|1=''σ'' = {{mset| ''x'' ↦ ''a'' }}}} is not,<br /> as {{math|1=''f''(''x'',''y'')''σ'' = ''f''(''a'',''y'')}} is not more special than<br /> {{math|1=''f''(''x'',''y'')''τ'' = ''f''(''y'',''y'')}}.&lt;ref&gt;K.R. Apt. &quot;From Logic Programming to Prolog&quot;, p. 24. Prentice Hall, 1997.&lt;/ref&gt;<br /> <br /> ===Unification problem, solution set===<br /> <br /> A '''unification problem''' is a finite set {{math|{{mset| ''l''&lt;sub&gt;1&lt;/sub&gt; ≐ ''r''&lt;sub&gt;1&lt;/sub&gt;, ..., ''l''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''r''&lt;sub&gt;''n''&lt;/sub&gt; }}}} of potential equations, where {{math|''l''&lt;sub&gt;''i''&lt;/sub&gt;, ''r''&lt;sub&gt;''i''&lt;/sub&gt; ∈ ''T''}}.<br /> A substitution σ is a '''solution''' of that problem if {{math|''l''&lt;sub&gt;''i''&lt;/sub&gt;σ ≡ ''r''&lt;sub&gt;''i''&lt;/sub&gt;σ}} for {{math|1=''i''=1,...,''n''}}. Such a substitution is also called a '''unifier''' of the unification problem.<br /> For example, if ⊕ is [[Associative property|associative]], the unification problem { ''x'' ⊕ ''a'' ≐ ''a'' ⊕ ''x'' } has the solutions {''x'' ↦ ''a''}, {''x'' ↦ ''a'' ⊕ ''a''}, {''x'' ↦ ''a'' ⊕ ''a'' ⊕ ''a''}, etc., while the problem { ''x'' ⊕ ''a'' ≐ ''a'' } has no solution.<br /> <br /> For a given unification problem, a set ''S'' of unifiers is called '''complete''' if each solution substitution is subsumed by some substitution σ ∈ ''S''; the set ''S'' is called '''minimal''' if none of its members subsumes another one.<br /> <br /> ==Syntactic unification of first-order terms==<br /> <br /> [[File:Triangle diagram of syntactic unification svg.svg|thumb|Schematic triangle diagram of syntactically unifying terms ''t''&lt;sub&gt;1&lt;/sub&gt; and ''t''&lt;sub&gt;2&lt;/sub&gt; by a substitution σ]]<br /> ''Syntactic unification of first-order terms'' is the most widely used unification framework.<br /> It is based on ''T'' being the set of ''first-order terms'' (over some given set ''V'' of variables, ''C'' of constants and ''F''&lt;sub&gt;''n''&lt;/sub&gt; of ''n''-ary function symbols) and on ≡ being ''syntactic equality''.<br /> In this framework, each solvable unification problem {{math|{{mset|''l''&lt;sub&gt;1&lt;/sub&gt; ≐ ''r''&lt;sub&gt;1&lt;/sub&gt;, ..., ''l''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''r''&lt;sub&gt;''n''&lt;/sub&gt;}}}} has a complete, and obviously minimal, [[Singleton (mathematics)|singleton]] solution set {{math|1={{mset|''σ''}}}}.<br /> Its member {{mvar|σ}} is called the '''most general unifier''' ('''mgu''') of the problem.<br /> The terms on the left and the right hand side of each potential equation become syntactically equal when the mgu is applied i.e. {{math|1=''l''&lt;sub&gt;1&lt;/sub&gt;''σ'' = ''r''&lt;sub&gt;1&lt;/sub&gt;''σ'' ∧ ... ∧ ''l''&lt;sub&gt;''n''&lt;/sub&gt;''σ'' = ''r''&lt;sub&gt;''n''&lt;/sub&gt;''σ''}}.<br /> Any unifier of the problem is subsumed&lt;ref group=note&gt;formally: each unifier τ satisfies {{math|1=∀''x'': ''xτ'' = (''xσ'')''ρ''}} for some substitution ρ&lt;/ref&gt; by the mgu {{mvar|σ}}.<br /> The mgu is unique up to variants: if ''S''&lt;sub&gt;1&lt;/sub&gt; and ''S''&lt;sub&gt;2&lt;/sub&gt; are both complete and minimal solution sets of the same syntactical unification problem, then ''S''&lt;sub&gt;1&lt;/sub&gt; = { ''σ''&lt;sub&gt;1&lt;/sub&gt; } and ''S''&lt;sub&gt;2&lt;/sub&gt; = { ''σ''&lt;sub&gt;2&lt;/sub&gt; } for some substitutions {{math|1=''σ''&lt;sub&gt;1&lt;/sub&gt;}} and {{math|1=''σ''&lt;sub&gt;2&lt;/sub&gt;,}} and {{math|1=''xσ''&lt;sub&gt;1&lt;/sub&gt;}} is a variant of {{math|1=''xσ''&lt;sub&gt;2&lt;/sub&gt;}} for each variable ''x'' occurring in the problem.<br /> <br /> For example, the unification problem { ''x'' ≐ ''z'', ''y'' ≐ ''f''(''x'') } has a unifier { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }, because<br /> :{|<br /> |-<br /> | align=&quot;right&quot; | ''x''<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> | =<br /> | align=&quot;center&quot; | ''z''<br /> | =<br /> | align=&quot;right&quot; | ''z''<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> |, and<br /> |-<br /> | align=&quot;right&quot; | ''y''<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> | =<br /> | align=&quot;center&quot; | ''f''(''z'')<br /> | =<br /> | align=&quot;right&quot; | ''f''(''x'')<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> | .<br /> |}<br /> <br /> This is also the most general unifier.<br /> Other unifiers for the same problem are e.g. { ''x'' ↦ ''f''(''x''&lt;sub&gt;1&lt;/sub&gt;), ''y'' ↦ ''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;)), ''z'' ↦ ''f''(''x''&lt;sub&gt;1&lt;/sub&gt;) }, { ''x'' ↦ ''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;)), ''y'' ↦ ''f''(''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;))), ''z'' ↦ ''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;)) }, and so on; there are infinitely many similar unifiers.<br /> <br /> As another example, the problem ''g''(''x'',''x'') ≐ ''f''(''y'') has no solution with respect to ≡ being literal identity, since any substitution applied to the left and right hand side will keep the outermost ''g'' and ''f'', respectively, and terms with different outermost function symbols are syntactically different.<br /> <br /> ===A unification algorithm===<br /> <br /> {{Quote box|title=Robinson's 1965 unification algorithm<br /> |quote={{hidden begin}}<br /> Symbols are ordered such that variables precede function symbols.<br /> Terms are ordered by increasing written length; equally long terms <br /> are ordered [[lexicographic order|lexicographically]].{{refn|Robinson (1965);&lt;ref name=&quot;Robinson.1965&quot;/&gt; nr.2.5, 2.14, p.25}} For a set ''T'' of terms, its disagreement <br /> path ''p'' is the lexicographically least path where two member terms <br /> of ''T'' differ. Its disagreement set is the set of [[term (logic)#Operations with terms|subterms starting at ''p'']], <br /> formally: {{math|{ ''t''[[term (logic)#Operations with terms|{{pipe}}&lt;sub&gt;''p''&lt;/sub&gt;]] : ''t''∈''T'' }}}.{{refn|Robinson (1965);&lt;ref name=&quot;Robinson.1965&quot;/&gt; nr.5.6, p.32}}<br /> <br /> '''Algorithm:'''{{refn|Robinson (1965);&lt;ref name=&quot;Robinson.1965&quot;/&gt; nr.5.8, p.32}}<br /> <br /> Given a set ''T'' of terms to be unified<br /> Let σ initially be the [[substitution (logic)#First-order logic|identity substitution]]<br /> <br /> '''do''' '''forever'''<br /> '''if''' ''T''σ is a [[singleton set]] '''then'''<br /> '''return''' σ<br /> '''fi''' <br /> <br /> let ''D'' be the disagreement set of ''T''σ<br /> let ''s'', ''t'' be the two lexicographically least terms in ''D''<br /> <br /> '''if''' ''s'' is not a variable '''or''' ''s'' occurs in ''t'' '''then'''<br /> '''return''' &quot;NONUNIFIABLE&quot;<br /> '''fi''' <br /> σ := σ { ''s''↦''t'' }<br /> '''done'''<br /> {{hidden end}}<br /> }}<br /> The first algorithm given by Robinson (1965) was rather inefficient; cf. box.<br /> The following faster algorithm originated from Martelli, Montanari (1982).&lt;ref&gt;Alg.1, p.261. Their rule '''(a)''' corresponds to rule '''swap''' here, '''(b)''' to '''delete''', '''(c)''' to both '''decompose''' and '''conflict''', and '''(d)''' to both '''eliminate''' and '''check'''.&lt;/ref&gt;<br /> This paper also lists preceding attempts to find an efficient syntactical unification algorithm,&lt;ref&gt;{{cite report | author=Lewis Denver Baxter | title=A practically linear unification algorithm | publisher=Univ. of Waterloo, Ontario | type=Res. Report | volume=CS-76-13 | url=https://cs.uwaterloo.ca/research/tr/1976/CS-76-13.pdf |date=Feb 1976 }}&lt;/ref&gt;&lt;ref&gt;{{cite thesis | author=[[Gérard Huet]] | title=Resolution d'Equations dans des Langages d'Ordre 1,2,...ω | publisher=Universite de Paris VII | type=These d'etat |date=Sep 1976 }}&lt;/ref&gt;&lt;ref name=&quot;Martelli.Montanari.1976&quot;&gt;{{cite report |author1=Alberto Martelli |author2=Ugo Montanari |lastauthoramp=yes | title=Unification in linear time and space: A structured presentation | publisher=Consiglio Nazionale delle Ricerche, Pisa | type=Internal Note | volume=IEI-B76-16 | url=http://puma.isti.cnr.it/publichtml/section_cnr_iei/cnr_iei_1976-B4-041.html |date=Jul 1976 }}&lt;/ref&gt;&lt;ref name=&quot;Paterson.Wegman.1978&quot;&gt;{{cite journal | author=[[Michael Stewart Paterson]] and M.N. Wegman | title=Linear unification | journal=J. Comput. Syst. Sci. | volume=16 | number=2 | pages=158–167 | url=http://www.sciencedirect.com/science/article/pii/0022000078900430/pdf?md5=404ce04b363525aef2a1277b2ec249d1&amp;pid=1-s2.0-0022000078900430-main.pdf |date=Apr 1978 | doi = 10.1016/0022-0000(78)90043-0 }}&lt;/ref&gt;&lt;ref&gt;{{cite book | author=[[J.A. Robinson]] |chapter= Fast unification | editor= [[Woodrow W. Bledsoe]], Michael M. Richter| title=Proc. Theorem Proving Workshop Oberwolfach | publisher= | series=Oberwolfach Workshop Report | volume=1976/3 | url= http://oda.mfo.de/bsz325106819.html |date=Jan 1976 }}&lt;/ref&gt;&lt;ref&gt;{{cite journal | author=M. Venturini-Zilli | title=Complexity of the unification algorithm for first-order expressions |journal= Calcolo | volume=12 |number=4 |pages= 361–372 |date= Oct 1975 }}&lt;/ref&gt; and states that linear-time algorithms were discovered independently by Martelli, Montanari (1976)&lt;ref name=&quot;Martelli.Montanari.1976&quot;/&gt; and Paterson, Wegman (1978).&lt;ref name=&quot;Paterson.Wegman.1978&quot;/&gt;{{refn|See Martelli, Montanari (1982),&lt;ref name=&quot;Martelli.Montanari.1982&quot;/&gt; sect.1, p.259. Paterson's and Wegman's paper is dated 1978; however, the journal publisher received it in Sep.1976.}}<br /> <br /> Given a finite set ''G'' = { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''t''&lt;sub&gt;''n''&lt;/sub&gt; } of potential equations,<br /> the algorithm applies rules to transform it to an equivalent set of equations of the form<br /> { ''x''&lt;sub&gt;1&lt;/sub&gt; ≐ ''u''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''m''&lt;/sub&gt; ≐ ''u''&lt;sub&gt;''m''&lt;/sub&gt; }<br /> where ''x''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''m''&lt;/sub&gt; are distinct variables and ''u''&lt;sub&gt;1&lt;/sub&gt;, ..., ''u''&lt;sub&gt;''m''&lt;/sub&gt; are terms containing none of the ''x''&lt;sub&gt;''i''&lt;/sub&gt;.<br /> A set of this form can be read as a substitution.<br /> If there is no solution the algorithm terminates with ⊥; other authors use &quot;Ω&quot;, &quot;{}&quot;, or &quot;''fail''&quot; in that case.<br /> The operation of substituting all occurrences of variable ''x'' in problem ''G'' with term ''t'' is denoted ''G'' {''x'' ↦ ''t''}.<br /> For simplicity, constant symbols are regarded as function symbols having zero arguments.<br /> <br /> :{|<br /> | align=&quot;right&quot; | ''G'' ∪ { ''t'' ≐ ''t'' }<br /> | ⇒<br /> | ''G''<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''delete'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) ≐ ''f''(''t''&lt;sub&gt;0&lt;/sub&gt;,...,''t''&lt;sub&gt;''k''&lt;/sub&gt;) }<br /> | ⇒ <br /> | ''G'' ∪ { ''s''&lt;sub&gt;0&lt;/sub&gt; ≐ ''t''&lt;sub&gt;0&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''k''&lt;/sub&gt; ≐ ''t''&lt;sub&gt;''k''&lt;/sub&gt; }<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''decompose'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) ≐ ''g''(''t''&lt;sub&gt;0&lt;/sub&gt;,...,''t''&lt;sub&gt;''m''&lt;/sub&gt;) }<br /> | ⇒<br /> | ⊥<br /> | align=&quot;right&quot; | if ''f'' ≠ ''g'' or ''k'' ≠ ''m''<br /> | &amp;nbsp; &amp;nbsp; '''conflict'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) ≐ x }<br /> | ⇒<br /> | ''G'' ∪ { ''x'' ≐ ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) }<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''swap'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''x'' ≐ ''t'' }<br /> | ⇒<br /> | ''G''{''x''↦''t''} ∪ { ''x'' ≐ ''t'' }<br /> | align=&quot;right&quot; | if ''x'' ∉ ''vars''(''t'') and ''x'' ∈ ''vars''(''G'')<br /> | &amp;nbsp; &amp;nbsp; '''eliminate'''&lt;ref group=&quot;note&quot;&gt;Although the rule keeps ''x''≐''t'' in ''G'', it cannot loop forever since its precondition ''x''∈''vars''(''G'') is invalidated by its first application. More generally, the algorithm is guaranteed to terminate always, see [[#Proof of termination|below]].&lt;/ref&gt;<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''x'' ≐ ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) }<br /> | ⇒<br /> | ⊥<br /> | align=&quot;right&quot; | if ''x'' ∈ ''vars''(''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;))<br /> | &amp;nbsp; &amp;nbsp; '''check'''<br /> |}<br /> <br /> ====Occurs check====<br /> {{main|Occurs check}}<br /> An attempt to unify a variable ''x'' with a term containing ''x'' as a strict subterm ''x''≐''f''(...,''x'',...) would lead to an infinite term as solution for ''x'', since ''x'' would occur as a subterm of itself.<br /> In the set of (finite) first-order terms as defined above, the equation ''x''≐''f''(...,''x'',...) has no solution; hence the ''eliminate'' rule may only be applied if ''x'' ∉ ''vars''(''t'').<br /> Since that additional check, called ''occurs check'', slows down the algorithm, it is omitted e.g. in most Prolog systems.<br /> From a theoretical point of view, omitting the check amounts to solving equations over infinite trees, see [[#Unification of infinite terms|below]].<br /> <br /> ====Proof of termination====<br /> For the proof of termination of the algorithm consider a triple {{math|&lt;''n''&lt;sub&gt;''var''&lt;/sub&gt;,''n''&lt;sub&gt;''lhs''&lt;/sub&gt;,''n''&lt;sub&gt;''eqn''&lt;/sub&gt;&gt;}}<br /> where {{math|''n''&lt;sub&gt;''var''&lt;/sub&gt;}} is the number of variables that occur more than once in the equation set, {{math|''n''&lt;sub&gt;''lhs''&lt;/sub&gt;}} is the number of function symbols and constants<br /> on the left hand sides of potential equations, and {{math|''n''&lt;sub&gt;''eqn''&lt;/sub&gt;}} is the number of equations.<br /> When rule ''eliminate'' is applied, {{math|''n''&lt;sub&gt;''var''&lt;/sub&gt;}} decreases, since ''x'' is eliminated from ''G'' and kept only in { ''x'' ≐ ''t'' }.<br /> Applying any other rule can never increase {{math|''n''&lt;sub&gt;''var''&lt;/sub&gt;}} again.<br /> When rule ''decompose'', ''conflict'', or ''swap'' is applied, {{math|''n''&lt;sub&gt;''lhs''&lt;/sub&gt;}} decreases, since at least the left hand side's outermost ''f'' disappears.<br /> Applying any of the remaining rules ''delete'' or ''check'' can't increase {{math|''n''&lt;sub&gt;''lhs''&lt;/sub&gt;}}, but decreases {{math|''n''&lt;sub&gt;''eqn''&lt;/sub&gt;}}.<br /> Hence, any rule application decreases the triple {{math|&lt;''n''&lt;sub&gt;''var''&lt;/sub&gt;,''n''&lt;sub&gt;''lhs''&lt;/sub&gt;,''n''&lt;sub&gt;''eqn''&lt;/sub&gt;&gt;}} with respect to the [[lexicographical order]], which is possible only a finite number of times.<br /> <br /> [[Conor McBride]] observes&lt;ref&gt;{{cite journal|last=McBride|first=Conor|title=First-Order Unification by Structural Recursion|journal=Journal of Functional Programming|date=October 2003|volume=13|issue=6|pages=1061–1076|doi=10.1017/S0956796803004957|url=http://strictlypositive.org/unify.ps.gz|accessdate=30 March 2012|issn=0956-7968}}&lt;/ref&gt; that “by expressing the structure which unification exploits” in a [[Dependent type|dependently typed]] language such as [[Epigram (programming language)|Epigram]], [[John Alan Robinson|Robinson]]'s algorithm can be made [[Structural induction|recursive on the number of variables]], in which case a separate termination proof becomes unnecessary.<br /> <br /> ===Examples of syntactic unification of first-order terms===<br /> In the Prolog syntactical convention a symbol starting with an upper case letter is a variable name; a symbol that starts with a lowercase letter is a function symbol; the comma is used as the logical ''and'' operator.<br /> For maths notation, ''x,y,z'' are used as variables, ''f,g'' as function symbols, and ''a,b'' as constants.<br /> {| class=&quot;wikitable&quot;<br /> |-<br /> ! Prolog Notation !! Maths Notation !! Unifying Substitution !! Explanation<br /> |-<br /> | &lt;code&gt; a = a &lt;/code&gt; || { ''a'' = ''a'' } || {} || Succeeds. ([[Tautology (logic)|tautology]])<br /> |-<br /> | &lt;code&gt; a = b &lt;/code&gt; || { ''a'' = ''b'' } || ⊥ || ''a'' and ''b'' do not match<br /> |-<br /> | &lt;code&gt; X = X &lt;/code&gt; || { ''x'' = ''x'' } || {} || Succeeds. ([[Tautology (logic)|tautology]])<br /> |-<br /> | &lt;code&gt; a = X &lt;/code&gt; || { ''a'' = ''x'' } || { ''x'' ↦ ''a'' } || ''x'' is unified with the constant ''a''<br /> |-<br /> | &lt;code&gt; X = Y &lt;/code&gt; || { ''x'' = ''y'' } || { ''x'' ↦ ''y'' } || ''x'' and ''y'' are aliased<br /> |-<br /> | &lt;code&gt; f(a,X) = f(a,b) &lt;/code&gt; || { ''f''(''a'',''x'') = ''f''(''a'',''b'') } || { ''x'' ↦ ''b'' } || function and constant symbols match, ''x'' is unified with the constant ''b''<br /> |-<br /> | &lt;code&gt; f(a) = g(a) &lt;/code&gt; || { ''f''(''a'') = ''g''(''a'') } || ⊥ || ''f'' and ''g'' do not match<br /> |-<br /> | &lt;code&gt; f(X) = f(Y) &lt;/code&gt; || { ''f''(''x'') = ''f''(''y'') } || { ''x'' ↦ ''y'' } || ''x'' and ''y'' are aliased<br /> |-<br /> | &lt;code&gt; f(X) = g(Y) &lt;/code&gt; || { ''f''(''x'') = ''g''(''y'') } || ⊥ || ''f'' and ''g'' do not match<br /> |-<br /> | &lt;code&gt; f(X) = f(Y,Z) &lt;/code&gt; || { ''f''(''x'') = ''f''(''y'',''z'') } || ⊥ || Fails. The ''f'' function symbols have different arity<br /> |-<br /> | &lt;code&gt; f(g(X)) = f(Y) &lt;/code&gt; || { ''f''(''g''(''x'')) = ''f''(''y'') } || { ''y'' ↦ ''g''(''x'') } || Unifies ''y'' with the term {{tmath|g(x)}}<br /> |-<br /> | &lt;code&gt; f(g(X),X) = f(Y,a) &lt;/code&gt; || { ''f''(''g''(''x''),''x'') = ''f''(''y'',''a'') } || { ''x'' ↦ ''a'', ''y'' ↦ ''g''(''a'') } || Unifies ''x'' with constant ''a'', and ''y'' with the term {{tmath|g(a)}}<br /> |-<br /> | &lt;code&gt; X = f(X) &lt;/code&gt; || { ''x'' = ''f''(''x'') } || should be ⊥ || Returns ⊥ in first-order logic and many modern Prolog dialects (enforced by the ''[[occurs check]]'').<br /> Succeeds in traditional Prolog and in Prolog II, unifying ''x'' with infinite term &lt;code&gt;x=f(f(f(f(...))))&lt;/code&gt;.<br /> |-<br /> | &lt;code&gt; X = Y, Y = a &lt;/code&gt; || { ''x'' = ''y'', ''y'' = ''a'' } || { ''x'' ↦ ''a'', ''y'' ↦ ''a'' } || Both ''x'' and ''y'' are unified with the constant ''a''<br /> |-<br /> | &lt;code&gt; a = Y, X = Y &lt;/code&gt; || { ''a'' = ''y'', ''x'' = ''y'' } || { ''x'' ↦ ''a'', ''y'' ↦ ''a'' } || As above (order of equations in set doesn't matter)<br /> |-<br /> | &lt;code&gt; X = a, b = X &lt;/code&gt; || { ''x'' = ''a'', ''b'' = ''x'' } || ⊥ || Fails. ''a'' and ''b'' do not match, so ''x'' can't be unified with both<br /> |}<br /> <br /> [[File:Unification exponential blow-up svg.svg|thumb|Two terms with an exponentially larger tree for their least common instance. Its [[directed acyclic graph|dag]] representation (rightmost, orange part) is still of linear size.]]<br /> The most general unifier of a syntactic first-order unification problem of [[Term (logic)#Operations with terms|size]] {{mvar|n}} may have a size of {{math|2&lt;sup&gt;''n''&lt;/sup&gt;}}. For example, the problem {{tmath| (((a*z)*y)*x)*w \doteq w*(x*(y*(z*a))) }} has the most general unifier {{tmath| z \mapsto a, y \mapsto a*a, x \mapsto (a*a)*(a*a), w \mapsto ((a*a)*(a*a))*((a*a)*(a*a)) }}, cf. picture. In order to avoid exponential time complexity caused by such blow-up, advanced unification algorithms work on [[directed acyclic graph]]s (dags) rather than trees.{{refn|e.g. Paterson, Wegman (1978),&lt;ref name=&quot;Paterson.Wegman.1978&quot;/&gt; sect.2, p.159}}<br /> <br /> ===Application: Unification in logic programming===<br /> <br /> The concept of unification is one of the main ideas behind [[logic programming]], best known through the language [[Prolog]]. It represents the mechanism of binding the contents of variables and can be viewed as a kind of one-time assignment. In Prolog, this operation is denoted by the equality symbol &lt;code&gt;=&lt;/code&gt;, but is also done when instantiating variables (see below). It is also used in other languages by the use of the equality symbol &lt;code&gt;=&lt;/code&gt;, but also in conjunction with many operations including &lt;code&gt;+&lt;/code&gt;, &lt;code&gt;-&lt;/code&gt;, &lt;code&gt;*&lt;/code&gt;, &lt;code&gt;/&lt;/code&gt;. [[Type inference]] algorithms are typically based on unification.<br /> <br /> In Prolog:<br /> # A [[variable (programming)|variable]] which is uninstantiated—i.e. no previous unifications were performed on it—can be unified with an atom, a term, or another uninstantiated variable, thus effectively becoming its alias. In many modern Prolog dialects and in [[first-order logic]], a variable cannot be unified with a term that contains it; this is the so-called ''[[occurs check]]''.<br /> # Two atoms can only be unified if they are identical.<br /> # Similarly, a term can be unified with another term if the top function symbols and [[Arity|arities]] of the terms are identical and if the parameters can be unified simultaneously. Note that this is a recursive behavior.<br /> <br /> === Application: Type inference ===<br /> <br /> Unification is used during type inference, for instance in the functional programming language [[Haskell (programming language)|Haskell]]. On one hand, the programmer does not need to provide type information for every function, on the other hand it is used to detect typing errors. The Haskell expression &lt;code&gt;True : ['a', 'b', 'c']&lt;/code&gt; is not correctly typed. The list construction function &lt;code&gt;(:)&lt;/code&gt; is of type &lt;code&gt;a -&gt; [a] -&gt; [a]&lt;/code&gt;, and for the first argument &lt;code&gt;True&lt;/code&gt; the polymorphic type variable &lt;code&gt;a&lt;/code&gt; has to be unified with &lt;code&gt;True&lt;/code&gt;'s type, &lt;code&gt;Bool&lt;/code&gt;. The second argument, &lt;code&gt;['a', 'b', 'c']&lt;/code&gt;, is of type &lt;code&gt;[Char]&lt;/code&gt;, but &lt;code&gt;a&lt;/code&gt; cannot be both &lt;code&gt;Bool&lt;/code&gt; and &lt;code&gt;Char&lt;/code&gt; at the same time.<br /> <br /> Like for Prolog, an algorithm for type inference can be given:<br /> <br /> # Any type variable unifies with any type expression, and is instantiated to that expression. A specific theory might restrict this rule with an occurs check.<br /> # Two type constants unify only if they are the same type.<br /> # Two type constructions unify only if they are applications of the same type constructor and all of their component types recursively unify.<br /> <br /> Due to its declarative nature, the order in a sequence of unifications is (usually) unimportant.<br /> <br /> Note that in the terminology of [[first-order logic]], an atom is a basic proposition and is unified similarly to a Prolog term.<br /> <br /> ==Order-sorted unification==<br /> ''[[Many-sorted logic#Order-sorted logic|Order-sorted logic]]'' allows one to assign a ''sort'', or ''type'', to each term, and to declare a sort ''s''&lt;sub&gt;1&lt;/sub&gt; a ''subsort'' of another sort ''s''&lt;sub&gt;2&lt;/sub&gt;, commonly written as ''s''&lt;sub&gt;1&lt;/sub&gt; ⊆ ''s''&lt;sub&gt;2&lt;/sub&gt;. For example, when reаsoning about biological creatures, it is useful to declare a sort ''dog'' to be a subsort of a sort ''animal''. Wherever a term of some sort ''s'' is required, a term of any subsort of ''s'' may be supplied instead.<br /> For example, assuming a function declaration ''mother'': ''animal'' → ''animal'', and a constant declaration ''lassie'': ''dog'', the term ''mother''(''lassie'') is perfectly valid and has the sort ''animal''. In order to supply the information that the mother of a dog is a dog in turn, another declaration ''mother'': ''dog'' → ''dog'' may be issued; this is called ''function overloading'', similar to [[Overloading (programming)|overloading in programming languages]].<br /> <br /> [[Christoph Walther|Walther]] gave a unification algorithm for terms in order-sorted logic, requiring for any two declared sorts ''s''&lt;sub&gt;1&lt;/sub&gt;, ''s''&lt;sub&gt;2&lt;/sub&gt; their intersection ''s''&lt;sub&gt;1&lt;/sub&gt; ∩ ''s''&lt;sub&gt;2&lt;/sub&gt; to be declared, too: if ''x''&lt;sub&gt;1&lt;/sub&gt; and ''x''&lt;sub&gt;2&lt;/sub&gt; is a variable of sort ''s''&lt;sub&gt;1&lt;/sub&gt; and ''s''&lt;sub&gt;2&lt;/sub&gt;, respectively, the equation ''x''&lt;sub&gt;1&lt;/sub&gt; ≐ ''x''&lt;sub&gt;2&lt;/sub&gt; has the solution { ''x''&lt;sub&gt;1&lt;/sub&gt; = ''x'', ''x''&lt;sub&gt;2&lt;/sub&gt; = ''x'' }, where ''x'': ''s''&lt;sub&gt;1&lt;/sub&gt; ∩ ''s''&lt;sub&gt;2&lt;/sub&gt;.<br /> &lt;ref&gt;{{cite journal|first1=Christoph|last1=Walther|authorlink=Christoph Walther|title=A Mechanical Solution of Schubert's Steamroller by Many-Sorted Resolution|journal=Artif. Intell.|volume=26|number=2|pages=217–224|url=http://www.inferenzsysteme.informatik.tu-darmstadt.de/media/is/publikationen/Schuberts_Steamroller_by_Many-Sorted_Resolution-AIJ-25-2-1985.pdf|year=1985|doi=10.1016/0004-3702(85)90029-3}}&lt;/ref&gt;<br /> After incorporating this algorithm into a clause-based automated theorem prover, he could solve a benchmark problem by translating it into order-sorted logic, thereby boiling it down an order of magnitude, as many unary predicates turned into sorts.<br /> <br /> Smolka generalized order-sorted logic to allow for [[parametric polymorphism]].<br /> &lt;ref&gt;{{cite conference|first1=Gert|last1=Smolka|title=Logic Programming with Polymorphically Order-Sorted Types|conference=Int. Workshop Algebraic and Logic Programming|publisher=Springer|series=LNCS|volume=343|pages=53–70|date=Nov 1988}}&lt;/ref&gt;<br /> In his framework, subsort declarations are propagated to complex type expressions.<br /> As a programming example, a parametric sort ''list''(''X'') may be declared (with ''X'' being a type parameter as in a [[Template (C++)#Function templates|C++ template]]), and from a subsort declaration ''int'' ⊆ ''float'' the relation ''list''(''int'') ⊆ ''list''(''float'') is automatically inferred, meaning that each list of integers is also a list of floats.<br /> <br /> Schmidt-Schauß generalized order-sorted logic to allow for term declarations.<br /> &lt;ref&gt;{{cite book|first1=Manfred|last1=Schmidt-Schauß|title=Computational Aspects of an Order-Sorted Logic with Term Declarations|publisher=Springer|series=LNAI|volume=395|date=Apr 1988}}&lt;/ref&gt;<br /> As an example, assuming subsort declarations ''even'' ⊆ ''int'' and ''odd'' ⊆ ''int'', a term declaration like ∀''i'':''int''. (''i''+''i''):''even'' allows to declare a property of integer addition that could not be expressed by ordinary overloading.<br /> <br /> ==Unification of infinite terms==<br /> <br /> Background on infinite trees:<br /> * {{cite journal| author=B. Courcelle|authorlink=Bruno Courcelle| title=Fundamental Properties of Infinite Trees| journal=Theoret. Comput. Sci.| year=1983| volume=25| number=| pages=95–169| url=http://www.diku.dk/hjemmesider/ansatte/henglein/papers/courcelle1983.pdf| doi=10.1016/0304-3975(83)90059-2}}<br /> * {{cite book| author=Michael J. Maher| chapter=Complete Axiomatizations of the Algebras of Finite, Rational and Infinite Trees| title=Proc. IEEE 3rd Annual Symp. on Logic in Computer Science, Edinburgh|date=Jul 1988| pages=348–357}}<br /> * {{cite journal|author1=Joxan Jaffar |author2=Peter J. Stuckey | title=Semantics of Infinite Tree Logic Programming| journal=Theoretical Computer Science| year=1986| volume=46| pages=141–158| doi=10.1016/0304-3975(86)90027-7}}<br /> <br /> Unification algorithm, Prolog II:<br /> * {{cite book| author=A. Colmerauer| authorlink=Alain Colmerauer|title=Prolog and Infinite Trees| year=1982| pages=| publisher=Academic Press|editor1=K.L. Clark |editor2=S.-A. Tarnlund }}<br /> * {{cite book| author=Alain Colmerauer| chapter=Equations and Inequations on Finite and Infinite Trees| title=Proc. Int. Conf. on Fifth Generation Computer Systems| year=1984| pages=85–99| editor=ICOT}}<br /> <br /> Applications:<br /> * {{cite journal|author1=Francis Giannesini |author2=Jacques Cohen | title=Parser Generation and Grammar Manipulation using Prolog's Infinite Trees| journal=J. Logic Programming| year=1984| volume=3| pages=253–265}}<br /> <br /> ==E-unification==<br /> <br /> '''E-unification''' is the problem of finding solutions to a given set of [[equations]],<br /> taking into account some equational background knowledge ''E''.<br /> The latter is given as a set of universal [[Equality (mathematics)|equalities]].<br /> For some particular sets ''E'', equation solving [[algorithms]] (a.k.a. ''E-unification algorithms'') have been devised;<br /> for others it has been proven that no such algorithms can exist.<br /> <br /> For example, if {{mvar|a}} and {{mvar|b}} are distinct constants,<br /> the [[equation]] {{tmath|x * a \doteq y * b}} has no solution<br /> with respect to purely [[Unification (computer science)#Syntactic unification problem on first-order terms|syntactic unification]],<br /> where nothing is known about the operator {{tmath|*}}.<br /> However, if the {{tmath|*}} is known to be [[Commutativity|commutative]],<br /> then the substitution {{math|{{mset|''x'' ↦ ''b'', ''y'' ↦ ''a''}}}} solves the above equation,<br /> since<br /> :{|<br /> |<br /> | {{tmath|x * a}}<br /> | {{math|{{mset|''x'' ↦ ''b'', ''y'' ↦ ''a''}}}}<br /> |-<br /> | {{=}}<br /> | {{tmath|b * a}}<br /> |<br /> | by [[Unification (computer science)#Substitution|substitution application]]<br /> |-<br /> | {{=}}<br /> | {{tmath|a * b}}<br /> |<br /> | by commutativity of {{tmath|*}}<br /> |-<br /> | {{=}}<br /> | {{tmath|y * b}}<br /> | {{math|{{mset|''x'' ↦ ''b'', ''y'' ↦ ''a''}}}}<br /> | by (converse) substitution application<br /> |}<br /> The background knowledge ''E'' could state the commutativity of {{tmath|*}} by the universal equality<br /> &quot;{{tmath|1=u * v = v * u}} for all {{math|''u'', ''v''}}&quot;.<br /> <br /> ===Particular background knowledge sets E===<br /> <br /> {|<br /> |+ '''Used naming conventions'''<br /> | {{math|∀ ''u'',''v'',''w'':}}<br /> | align=&quot;right&quot; | {{tmath|u*(v*w)}}<br /> | {{=}}<br /> | {{tmath|(u*v)*w}}<br /> | align=&quot;center&quot; | '''{{mvar|A}}'''<br /> | Associativity of {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'',''v'':}}<br /> | align=&quot;right&quot; | {{tmath|u*v}}<br /> | =<br /> | {{tmath|v*u}}<br /> | align=&quot;center&quot; | '''{{mvar|C}}'''<br /> | Commutativity of {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'',''v'',''w'':}}<br /> | align=&quot;right&quot; | {{tmath|u*(v+w)}}<br /> | {{=}}<br /> | {{tmath|u*v+u*w}}<br /> | align=&quot;center&quot; | '''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}'''<br /> | Left distributivity of {{tmath|*}} over {{tmath|+}}<br /> |-<br /> | {{math|∀ ''u'',''v'',''w'':}}<br /> | align=&quot;right&quot; | {{tmath|(v+w)*u}}<br /> | {{=}}<br /> | {{tmath|v*u+w*u}}<br /> | align=&quot;center&quot; | '''{{mvar|D&lt;sub&gt;r&lt;/sub&gt;}}'''<br /> | Right distributivity of {{tmath|*}} over {{tmath|+}}<br /> |-<br /> | {{math|∀ ''u'':}}<br /> | align=&quot;right&quot; | {{tmath|u*u}}<br /> | {{=}}<br /> | {{mvar|u}}<br /> | align=&quot;center&quot; | '''{{mvar|I}}'''<br /> | Idempotence of {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'':}}<br /> | align=&quot;right&quot; | {{tmath|n*u}}<br /> | {{=}}<br /> | {{mvar|u}}<br /> | align=&quot;center&quot; | '''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}'''<br /> | Left neutral element {{mvar|n}} with respect to {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'':}}<br /> | align=&quot;right&quot; | {{tmath|u*n}}<br /> | {{=}}<br /> | {{mvar|u}}<br /> | align=&quot;center&quot; | &amp;nbsp; &amp;nbsp; '''{{mvar|N&lt;sub&gt;r&lt;/sub&gt;}}''' &amp;nbsp; &amp;nbsp;<br /> | Right neutral element {{mvar|n}} with respect to {{tmath|*}}<br /> |}<br /> <br /> It is said that ''unification is decidable'' for a theory, if a unification algorithm has been devised for it that terminates for ''any'' input problem.<br /> It is said that ''unification is [[Decidable problem#Decidability|semi-decidable]]'' for a theory, if a unification algorithm has been devised for it that terminates for any ''solvable'' input problem, but may keep searching forever for solutions of an unsolvable input problem.<br /> <br /> '''Unification is decidable''' for the following theories:<br /> * '''{{mvar|A}}'''&lt;ref&gt;[[Gordon D. Plotkin]], ''Lattice Theoretic Properties of Subsumption'', Memorandum MIP-R-77, Univ. Edinburgh, Jun 1970&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}'''&lt;ref&gt;[[Mark E. Stickel]], ''A Unification Algorithm for Associative-Commutative Functions'', J. Assoc. Comput. Mach., vol.28, no.3, pp. 423–434, 1981&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}''','''{{mvar|I}}'''&lt;ref name=&quot;Fages.1987&quot;&gt;F. Fages, ''Associative-Commutative Unification'', J. Symbolic Comput., vol.3, no.3, pp. 257–275, 1987&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}''','''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}'''&lt;ref group=note name=&quot;LRequivC&quot;&gt;in the presence of equality '''{{mvar|C}}''', equalities '''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}''' and '''{{mvar|N&lt;sub&gt;r&lt;/sub&gt;}}''' are equivalent, similar for '''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}''' and '''{{mvar|D&lt;sub&gt;r&lt;/sub&gt;}}'''&lt;/ref&gt;&lt;ref name=&quot;Fages.1987&quot;/&gt;<br /> * '''{{mvar|A}}''','''{{mvar|I}}'''&lt;ref&gt;Franz Baader, ''Unification in Idempotent Semigroups is of Type Zero'', J. Automat. Reasoning, vol.2, no.3, 1986&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}'''{{mvar|,}}'''{{mvar|N&lt;sub&gt;r&lt;/sub&gt;}}''' (monoid)&lt;ref&gt;J. Makanin, ''The Problem of Solvability of Equations in a Free Semi-Group'', Akad. Nauk SSSR, vol.233, no.2, 1977&lt;/ref&gt;<br /> * '''{{mvar|C}}'''&lt;ref&gt;{{cite journal| author=F. Fages| title=Associative-Commutative Unification| journal=J. Symbolic Comput.| year=1987| volume=3| number=3| pages=257–275| doi=10.1016/s0747-7171(87)80004-4}}&lt;/ref&gt;<br /> * [[Boolean ring]]s&lt;ref&gt;{{cite book| author=Martin, U., Nipkow, T.| chapter=Unification in Boolean Rings| title=Proc. 8th CADE| year=1986| volume=230| pages=506–513| publisher=Springer| editor=Jörg H. Siekmann| series=LNCS}}&lt;/ref&gt;&lt;ref&gt;{{cite journal|author1=A. Boudet |author2=J.P. Jouannaud |author3=M. Schmidt-Schauß | title=Unification of Boolean Rings and Abelian Groups| journal=Journal of Symbolic Computation| year=1989| volume=8| pages=449–477 |url=http://www.sciencedirect.com/science/article/pii/S0747717189800549/pdf?md5=713ed362e4b6f2db53923cc5ed47c818&amp;pid=1-s2.0-S0747717189800549-main.pdf| doi=10.1016/s0747-7171(89)80054-9}}&lt;/ref&gt;<br /> * [[Abelian group]]s, even if the signature is expanded by arbitrary additional symbols (but not axioms)&lt;ref name=&quot;Baader and Snyder 2001, p. 486&quot;&gt;Baader and Snyder (2001), p. 486.&lt;/ref&gt;<br /> * [[Kripke semantics#Correspondence and completeness|K4]] [[modal algebra]]s&lt;ref&gt;F. Baader and S. Ghilardi, ''Unification in modal and description logics'', Logic Journal of the IGPL 19 (2011), no.&amp;nbsp;6, pp.&amp;nbsp;705–730.&lt;/ref&gt;<br /> <br /> '''Unification is semi-decidable''' for the following theories:<br /> * '''{{mvar|A}}''','''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}'''{{mvar|,}}'''{{mvar|D&lt;sub&gt;r&lt;/sub&gt;}}'''&lt;ref&gt;P. Szabo, ''Unifikationstheorie erster Ordnung'' (''First Order Unification Theory''), Thesis, Univ. Karlsruhe, West Germany, 1982&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}''','''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}'''&lt;ref group=note name=&quot;LRequivC&quot;/&gt;&lt;ref&gt;Jörg H. Siekmann, ''Universal Unification'', Proc. 7th Int. Conf. on Automated Deduction, Springer LNCS vol.170, pp. 1–42, 1984&lt;/ref&gt;<br /> * [[Commutative ring]]s&lt;ref name=&quot;Baader and Snyder 2001, p. 486&quot;/&gt;<br /> <br /> ===One-sided paramodulation===<br /> <br /> If there is a [[Term rewriting#Termination and convergence|convergent term rewriting system]] ''R'' available for ''E'',<br /> the '''one-sided paramodulation''' algorithm&lt;ref&gt;N. Dershowitz and G. Sivakumar, ''Solving Goals in Equational Languages'', Proc. 1st Int. Workshop on Conditional Term Rewriting Systems, Springer LNCS vol.308, pp. 45–55, 1988&lt;/ref&gt;<br /> can be used to enumerate all solutions of given equations.<br /> <br /> {| style=&quot;border: 1px solid darkgray;&quot;<br /> |+ One-sided paramodulation rules<br /> |- border=&quot;0&quot;<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;1&lt;/sub&gt;,...,''s''&lt;sub&gt;''n''&lt;/sub&gt;) ≐ ''f''(''t''&lt;sub&gt;1&lt;/sub&gt;,...,''t''&lt;sub&gt;''n''&lt;/sub&gt;) }<br /> | ; ''S''<br /> | ⇒<br /> | align=&quot;right&quot; | ''G'' ∪ { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''t''&lt;sub&gt;''n''&lt;/sub&gt; }<br /> | ''; ''S''<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''decompose'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''x'' ≐ ''t'' }<br /> | ; ''S''<br /> | ⇒<br /> | align=&quot;right&quot; | ''G'' { ''x'' ↦ ''t'' }<br /> |; ''S''{''x''↦''t''} ∪ {''x''↦''t''}<br /> | align=&quot;right&quot; | if the variable ''x'' doesn't occur in ''t''<br /> | &amp;nbsp; &amp;nbsp; '''eliminate'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;1&lt;/sub&gt;,...,''s''&lt;sub&gt;''n''&lt;/sub&gt;) ≐ ''t'' }<br /> | ; ''S''<br /> | ⇒<br /> | align=&quot;right&quot; | ''G'' ∪ { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ u&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ u&lt;sub&gt;''n''&lt;/sub&gt;, ''r'' ≐ ''t'' }<br /> | ; ''S''<br /> | align=&quot;right&quot; | &amp;nbsp; &amp;nbsp; if ''f''(''u''&lt;sub&gt;1&lt;/sub&gt;,...,''u''&lt;sub&gt;''n''&lt;/sub&gt;) → ''r'' is a rule from ''R''<br /> | &amp;nbsp; &amp;nbsp; '''mutate'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;1&lt;/sub&gt;,...,''s''&lt;sub&gt;''n''&lt;/sub&gt;) ≐ ''y'' }<br /> | ; ''S''<br /> |⇒<br /> | align=&quot;right&quot; | ''G'' ∪ { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ ''y''&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''y''&lt;sub&gt;''n''&lt;/sub&gt;, ''y'' ≐ ''f''(''y''&lt;sub&gt;1&lt;/sub&gt;,...,''y''&lt;sub&gt;''n''&lt;/sub&gt;) }<br /> | ; ''S''<br /> | align=&quot;right&quot; | if ''y''&lt;sub&gt;1&lt;/sub&gt;,...,''y''&lt;sub&gt;''n''&lt;/sub&gt; are new variables<br /> | &amp;nbsp; &amp;nbsp; '''imitate'''<br /> |}<br /> <br /> Starting with ''G'' being the unification problem to be solved and ''S'' being the identity substitution, rules are applied nondeterministically until the empty set appears as the actual ''G'', in which case the actual ''S'' is a unifying substitution. Depending on the order the paramodulation rules are applied, on the choice of the actual equation from ''G'', and on the choice of ''R''’s rules in ''mutate'', different computations paths are possible. Only some lead to a solution, while others end at a ''G'' ≠ {} where no further rule is applicable (e.g. ''G'' = { ''f''(...) ≐ ''g''(...) }).<br /> <br /> {| style=&quot;border: 1px solid darkgray;&quot;<br /> |+ Example term rewrite system ''R''<br /> |- border=&quot;0&quot;<br /> | '''1'''<br /> | ''app''(''nil'',''z'')<br /> | → ''z''<br /> |-<br /> |'''2''' &amp;nbsp; &amp;nbsp;<br /> | ''app''(''x''.''y'',''z'')<br /> | → ''x''.''app''(''y'',''z'')<br /> |}<br /> <br /> For an example, a term rewrite system ''R'' is used defining the ''append'' operator of lists built from ''cons'' and ''nil''; where ''cons''(''x'',''y'') is written in infix notation as ''x''.''y'' for brevity; e.g. ''app''(''a''.''b''.''nil'',''c''.''d''.''nil'') → ''a''.''app''(''b''.''nil'',''c''.''d''.''nil'') → ''a''.''b''.''app''(''nil'',''c''.''d''.''nil'') → ''a''.''b''.''c''.''d''.''nil'' demonstrates the concatenation of the lists ''a''.''b''.''nil'' and ''c''.''d''.''nil'', employing the rewrite rule 2,2, and 1. The equational theory ''E'' corresponding to ''R'' is the [[Closure (mathematics)#P closures of binary relations|congruence closure]] of ''R'', both viewed as binary relations on terms.<br /> For example, ''app''(''a''.''b''.''nil'',''c''.''d''.''nil'') ≡ ''a''.''b''.''c''.''d''.''nil'' ≡ ''app''(''a''.''b''.''c''.''d''.''nil'',''nil''). The paramodulation algorithm enumerates solutions to equations with respect to that ''E'' when fed with the example ''R''.<br /> <br /> A successful example computation path for the unification problem { ''app''(''x'',''app''(''y'',''x'')) ≐ ''a''.''a''.''nil'' } is shown below. To avoid variable name clashes, rewrite rules are consistently renamed each time before their use by rule ''mutate''; ''v''&lt;sub&gt;2&lt;/sub&gt;, ''v''&lt;sub&gt;3&lt;/sub&gt;, ... are computer-generated variable names for this purpose. In each line, the chosen equation from ''G'' is highlighted in red. Each time the ''mutate'' rule is applied, the chosen rewrite rule (''1'' or ''2'') is indicated in parentheses. From the last line, the unifying substitution ''S'' = { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' } can be obtained. In fact,<br /> ''app''(''x'',''app''(''y'',''x'')) {''y''↦''nil'', ''x''↦ ''a''.''nil'' } = ''app''(''a''.''nil'',''app''(''nil'',''a''.''nil'')) ≡ ''app''(''a''.''nil'',''a''.''nil'') ≡ ''a''.''app''(''nil'',''a''.''nil'') ≡ ''a''.''a''.''nil'' solves the given problem.<br /> A second successful computation path, obtainable by choosing &quot;mutate(1), mutate(2), mutate(2), mutate(1)&quot; leads to the substitution ''S'' = { ''y'' ↦ ''a''.''a''.''nil'', ''x'' ↦ ''nil'' }; it is not shown here. No other path leads to a success.<br /> <br /> {| class=&quot;wikitable&quot;<br /> |+ Example unifier computation<br /> |-<br /> ! Used rule !! !! ''G'' !! ''S''<br /> |-<br /> | ||<br /> | { {{color|red|''app''(''x'',''app''(''y'',''x'')) ≐ ''a''.''a''.''nil''}} }<br /> | {}<br /> |-<br /> | mutate(2) || ⇒<br /> | { ''x'' ≐ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;, ''app''(''y'',''x'') ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;2&lt;/sub&gt;.''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''a''.''nil''}} }<br /> | {}<br /> |-<br /> | decompose || ⇒<br /> | { {{color|red|''x'' ≐ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;}}, ''app''(''y'',''x'') ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, ''v''&lt;sub&gt;2&lt;/sub&gt; ≐ ''a'', ''app(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''ni''l }<br /> | {}<br /> |-<br /> | eliminate || ⇒<br /> | { ''app''(''y'',''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;) ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;2&lt;/sub&gt; ≐ ''a''}}, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { {{color|red|''app''(''y'',''a''.''v''&lt;sub&gt;3&lt;/sub&gt;) ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;}}, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | mutate(1) || ⇒<br /> | { ''y'' ≐ ''nil'', ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;5&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;5&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;}}, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { {{color|red|''y'' ≐ ''nil''}}, ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | mutate(1) || ⇒<br /> | { ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, ''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''nil'', {{color|red|''v''&lt;sub&gt;4&lt;/sub&gt; ≐ ''v''&lt;sub&gt;6&lt;/sub&gt;}}, ''v''&lt;sub&gt;6&lt;/sub&gt; ≐ ''a''.''nil'' }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''nil''}}, ''v''&lt;sub&gt;4&lt;/sub&gt; ≐ ''a''.''nil'' }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { ''a''.''nil'' ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;4&lt;/sub&gt; ≐ ''a''.''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | eliminate || ⇒<br /> | { {{color|red|''a''.''nil'' ≐ ''a''.''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | decompose || ⇒<br /> | { {{color|red|''a'' ≐ ''a''}}, ''nil'' ≐ ''nil'' }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | decompose || ⇒<br /> | { {{color|red|''nil'' ≐ ''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | decompose &amp;nbsp; &amp;nbsp; || ⇒ &amp;nbsp; &amp;nbsp;<br /> | {}<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |}<br /> <br /> ===Narrowing===<br /> <br /> [[File:Triangle diagram of narrowing step svg.svg|thumb|Triangle diagram of narrowing step ''s'' ~› ''t'' at position ''p'' in term ''s'', with unifying substitution σ (bottom row), using a rewrite rule {{math|1=''l'' → ''r''}} (top row)]]<br /> If ''R'' is a [[Term rewriting#Termination and convergence|convergent term rewriting system]] for ''E'',<br /> an approach alternative to the previous section consists in successive application of &quot;'''narrowing steps'''&quot;;<br /> this will eventually enumerate all solutions of a given equation.<br /> A narrowing step (cf. picture) consists in<br /> * choosing a nonvariable subterm of the current term,<br /> * [[#Syntactic unification of first-order terms|syntactically unifying]] it with the left hand side of a rule from ''R'', and<br /> * replacing the instantiated rule's right hand side into the instantiated term.<br /> Formally, if {{math|''l'' → ''r''}} is a [[Term (logic)#Structural equality|renamed copy]] of a rewrite rule from ''R'', having no variables in common with a term ''s'', and the [[Term (logic)#Operations with terms|subterm]] {{math|''s''{{!}}&lt;sub&gt;''p''&lt;/sub&gt;}} is not a variable and is unifiable with {{mvar|l}} via the [[#Syntactic unification of first-order terms|mgu]] {{mvar|σ}}, then {{mvar|s}} can be '''narrowed''' to the term {{math|1=''t'' = ''sσ''[''rσ'']&lt;sub&gt;''p''&lt;/sub&gt;}}, i.e. to the term {{mvar|sσ}}, with the subterm at ''p'' [[Term (logic)#Operations with terms|replaced]] by {{mvar|rσ}}. The situation that ''s'' can be narrowed to ''t'' is commonly denoted as ''s'' ~› ''t''.<br /> Intuitively, a sequence of narrowing steps ''t''&lt;sub&gt;1&lt;/sub&gt; ~› ''t''&lt;sub&gt;2&lt;/sub&gt; ~› ... ~› ''t''&lt;sub&gt;''n''&lt;/sub&gt; can be thought of as a sequence of rewrite steps ''t''&lt;sub&gt;1&lt;/sub&gt; → ''t''&lt;sub&gt;2&lt;/sub&gt; → ... → ''t''&lt;sub&gt;''n''&lt;/sub&gt;, but with the initial term ''t''&lt;sub&gt;1&lt;/sub&gt; being further and further instantiated, as necessary to make each of the used rules applicable.<br /> <br /> The [[#One-sided paramodulation|above]] example paramodulation computation corresponds to the following narrowing sequence (&quot;↓&quot; indicating instantiation here):<br /> <br /> {|<br /> |-<br /> | ''app''( || ''x'' || ,''app''(''y'', || ''x'' || ))<br /> |-<br /> | || ↓ || || ↓ || || || || || || || || || || || || || || ''x'' ↦ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;<br /> |-<br /> | ''app''( || ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt; || ,''app''(''y'', || ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt; || )) || → || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''app''( || ''y'' || ,''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;))<br /> |-<br /> | || || || || || || || ↓ || || || || || || || || || || ''y'' ↦ ''nil''<br /> |-<br /> | || || || || || || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''app''( || ''nil'' || ,''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;)) || → || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''( || ''v''&lt;sub&gt;3&lt;/sub&gt; || ,''v''&lt;sub&gt;2&lt;/sub&gt;. || ''v''&lt;sub&gt;3&lt;/sub&gt; || )<br /> |-<br /> | || || || || || || || || || || || ↓ || || ↓ || || || || ''v''&lt;sub&gt;3&lt;/sub&gt; ↦ ''nil''<br /> |-<br /> | || || || || || || || || || || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''( || ''nil'' || ,''v''&lt;sub&gt;2&lt;/sub&gt;. || ''nil'' || ) || → || ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;2&lt;/sub&gt;.''nil''<br /> |}<br /> <br /> The last term, ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;2&lt;/sub&gt;.''nil'' can be syntactically unified with the original right hand side term ''a''.''a''.''nil''.<br /> <br /> The ''narrowing lemma''&lt;ref&gt;{{cite book| author=Fay| chapter=First-Order Unification in an Equational Theory| title=Proc. 4th Workshop on Automated Deduction| year=1979| pages=161–167}}&lt;/ref&gt; ensures that whenever an instance of a term ''s'' can be rewritten to a term ''t'' by a convergent term rewriting system, then ''s'' and ''t'' can be narrowed and rewritten to a term {{math|1=''s''’}} and {{math|1=''t''’}}, respectively, such that {{math|1=''t''’}} is an instance of {{math|1=''s''’}}.<br /> <br /> Formally: whenever {{math|1=''sσ'' {{underset|&amp;lowast;|&amp;rarr;}} ''t''}} holds for some substitution σ, then there exist terms {{math|''s''’, ''t''’}} such that {{math|''s'' {{underset|&amp;lowast;|~›}} ''s''’}} and {{math|''t'' {{underset|&amp;lowast;|&amp;rarr;}} ''t''’}} and {{math|1=''s''’''τ'' = ''t''’}} for some substitution τ.<br /> <br /> ==Higher-order unification==<br /> <br /> Many applications require one to consider the unification of typed lambda-terms instead of first-order terms. Such unification is often called ''higher-order unification''. A well studied branch of higher-order unification is the problem of unifying simply typed lambda terms modulo the equality determined by αβη conversions. Such unification problems do not have most general unifiers. While higher-order unification is [[Undecidable problem|undecidable]],&lt;ref&gt;{{cite journal| author=Warren D. Goldfarb| authorlink=Warren D. Goldfarb| title=The Undecidability of the Second-Order Unification Problem| journal=TCS| year=1981| volume=13| pages=225–230| url=http://www.sciencedirect.com/science/article/pii/0304397581900402/pdf?md5=ebe7687d034498bb76c4ea9c5df56f84&amp;pid=1-s2.0-0304397581900402-main.pdf| doi=10.1016/0304-3975(81)90040-2}}&lt;/ref&gt;&lt;ref&gt;{{cite journal| author=Gérard P. Huet| title=The Undecidability of Unification in Third Order Logic| journal=Information and Control| year=1973| volume=22| pages=257–267 |url=http://www.sciencedirect.com/science/article/pii/S001999587390301X/pdf?md5=0833289609c3d777bdec01d5d6ced2aa&amp;pid=1-s2.0-S001999587390301X-main.pdf |doi=10.1016/S0019-9958(73)90301-X}}&lt;/ref&gt;&lt;ref&gt;Claudio Lucchesi: The Undecidability of the Unification Problem for Third Order Languages (Research Report CSRR 2059; Department of Computer Science, University of Waterloo, 1972)&lt;/ref&gt; [[Gérard Huet]] gave a [[semi-decidable]] (pre-)unification algorithm&lt;ref&gt;Gérard Huet: A Unification Algorithm for typed Lambda-Calculus []&lt;/ref&gt; that allows a systematic search of the space of unifiers (generalizing the unification algorithm of Martelli-Montanari&lt;ref name=&quot;Martelli.Montanari.1982&quot;/&gt; with rules for terms containing higher-order variables) that seems to work sufficiently well in practice. Huet&lt;ref&gt;[http://portal.acm.org/citation.cfm?id=695200 Gérard Huet: Higher Order Unification 30 Years Later]&lt;/ref&gt; and Gilles Dowek&lt;ref&gt;Gilles Dowek: Higher-Order Unification and Matching. Handbook of Automated Reasoning 2001: 1009–1062&lt;/ref&gt; have written articles surveying this topic.<br /> <br /> [[Dale Miller (computer scientist)|Dale Miller]] has described what is now called [[higher-order pattern unification]].&lt;ref&gt;{{cite journal|first1=Dale|last1=Miller|title=A Logic Programming Language with Lambda-Abstraction, Function Variables, and Simple Unification|journal=Journal of Logic and Computation|year=1991|pages=497–536|url=http://www.lix.polytechnique.fr/Labo/Dale.Miller/papers/jlc91.pdf}}&lt;/ref&gt; This subset of higher-order unification is decidable and solvable unification problems have most-general unifiers. Many computer systems that contain higher-order unification, such as the higher-order logic programming languages [[λProlog]] and [[Twelf]], often implement only the pattern fragment and not full higher-order unification.<br /> <br /> In computational linguistics, one of the most influential theories of [[Elliptical construction|ellipsis]] is that ellipses are represented by free variables whose values are then determined using Higher-Order Unification (HOU). For instance, the semantic representation of &quot;Jon likes Mary and Peter does too&quot; is {{math| like(''j'', ''m'') &amp;and; R(''p'') }} and the value of R (the semantic representation of the ellipsis) is determined by the equation {{math| like(''j'', ''m'') {{=}} R(''j'') }}. The process of solving such equations is called Higher-Order Unification.&lt;ref&gt;{{cite book| first1 = Claire | last1 = Gardent | first2 = Michael | last2 = Kohlhase | first3 = Karsten | last3 = Konrad | author2link=Michael Kohlhase| chapter=A Multi-Level, Higher-Order Unification Approach to Ellipsis| title=Submitted to European [[Association for Computational Linguistics]] (EACL)&lt;!---according to http://page.mi.fu-berlin.de/cbenzmueller/papers/R8.pdf---&gt;| year=1997| volume=| pages=| publisher=| editor=| series=|citeseerx = 10.1.1.55.9018}}&lt;/ref&gt;<br /> <br /> For example, the unification problem { ''f''(''a'', ''b'', ''a'') ≐ ''d''(''b'', ''a'', ''c'') }, where the only variable is ''f'', has the<br /> solutions {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''y'', ''x'', ''c'') }, {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''y'', ''z'', ''c'') },<br /> {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''y'', ''a'', ''c'') }, {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''b'', ''x'', ''c'') },<br /> {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''b'', ''z'', ''c'') } and {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''b'', ''a'', ''c'') }.<br /> <br /> [[Wayne Snyder]] gave a generalization of both higher-order unification and E-unification, i.e. an algorithm to unify lambda-terms modulo an equational theory.&lt;ref&gt;{{cite book | author=Wayne Snyder | contribution=Higher order E-unification | title=Proc. 10th [[Conference on Automated Deduction]] | publisher=Springer | series=LNAI | volume=449 | pages=573–587 |date=Jul 1990 }}&lt;/ref&gt;<br /> <br /> ==See also==<br /> *[[Rewriting]]<br /> *[[Admissible rule]]<br /> *[[Explicit substitution]] in [[lambda calculus]]<br /> * Mathematical [[Equation solving]]<br /> * [[Dis-unification (computer science)|Dis-unification]]: solving inequations between symbolic expression<br /> * [[Anti-unification (computer science)|Anti-unification]]: computing a least general generalization (lgg) of two terms, dual to computing a most general instance (mgu)<br /> * [[Ontology alignment]] (use ''unification'' with [[semantic equivalence]])<br /> <br /> ==Notes==<br /> {{Reflist|group=note}}<br /> <br /> ==References==<br /> {{reflist}}<br /> <br /> == Further reading ==<br /> * [[Franz Baader]] and [[Wayne Snyder]] (2001). [http://www.cs.bu.edu/~snyder/publications/UnifChapter.pdf &quot;Unification Theory&quot;]. In [[John Alan Robinson]] and [[Andrei Voronkov]], editors, ''[[Handbook of Automated Reasoning]]'', volume I, pages 447–533. Elsevier Science Publishers.<br /> * [[Gilles Dowek]] (2001). [https://who.rocq.inria.fr/Gilles.Dowek/Publi/unification.ps &quot;Higher-order Unification and Matching&quot;]. In ''Handbook of Automated Reasoning''.<br /> * Franz Baader and [[Tobias Nipkow]] (1998). [http://www.in.tum.de/~nipkow/TRaAT/ ''Term Rewriting and All That'']. Cambridge University Press.<br /> * Franz Baader and [[Jörg H. Siekmann]] (1993). &quot;Unification Theory&quot;. In ''Handbook of Logic in Artificial Intelligence and Logic Programming''.<br /> * Jean-Pierre Jouannaud and [[Claude Kirchner]] (1991). &quot;Solving Equations in Abstract Algebras: A Rule-Based Survey of Unification&quot;. In ''Computational Logic: Essays in Honor of Alan Robinson''.<br /> * [[Nachum Dershowitz]] and [[Jean-Pierre Jouannaud]], ''Rewrite Systems'', in: [[Jan van Leeuwen]] (ed.), ''[[Handbook of Theoretical Computer Science]]'', volume B ''Formal Models and Semantics'', Elsevier, 1990, pp.&amp;nbsp;243–320<br /> * Jörg H. Siekmann (1990). &quot;Unification Theory&quot;. In [[Claude Kirchner]] (editor) ''Unification''. Academic Press.<br /> * {{cite journal| author=Kevin Knight| title=Unification: A Multidisciplinary Survey| journal=ACM Computing Surveys|date=Mar 1989| volume=21| number=1| pages=93–124| url=http://www.isi.edu/natural-language/people/unification-knight.pdf| doi=10.1145/62029.62030}}<br /> * [[Gérard Huet]] and [[Derek C. Oppen]] (1980). [http://infolab.stanford.edu/pub/cstr/reports/cs/tr/80/785/CS-TR-80-785.pdf &quot;Equations and Rewrite Rules: A Survey&quot;]. Technical report. Stanford University.<br /> * {{cite journal | last1 = Raulefs | first1 = Peter | last2 = Siekmann | first2 = Jörg | last3 = Szabó | first3 = P. | last4 = Unvericht | first4 = E. | year = 1979 | title = A short survey on the state of the art in matching and unification problems | url = | journal = ACM SIGSAM Bulletin | volume = 13 | issue = 2 }}<br /> * Claude Kirchner and Hélène Kirchner. ''Rewriting, Solving, Proving''. In preparation.<br /> <br /> [[Category:Automated theorem proving]]<br /> [[Category:Logic programming]]<br /> [[Category:Rewriting systems]]<br /> [[Category:Logic in computer science]]<br /> [[Category:Type theory]]<br /> [[Category:Unification (computer science)| ]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Unification_(computer_science)&diff=763667851 Unification (computer science) 2017-02-04T15:09:15Z <p>Magmalex: /* Higher-order unification */ Corrected formula</p> <hr /> <div>In [[logic]] and [[computer science]], '''unification''' is an algorithmic process of [[equation solving|solving]] [[equations]] between symbolic [[expression (mathematics)|expressions]].<br /> <br /> Depending on which expressions (also called ''terms'') are allowed to occur in an equation set (also called ''unification problem''), and which expressions are considered equal, several frameworks of unification are distinguished. If higher-order variables, that is, variables representing [[function (mathematics)|function]]s, are allowed in an expression, the process is called '''higher-order unification''', otherwise '''first-order unification'''. If a solution is required to make both sides of each equation literally equal, the process is called '''syntactic''' or '''free unification''', otherwise '''semantic''' or '''equational unification''', or '''E-unification''', or '''unification modulo theory'''.<br /> <br /> A ''solution'' of a unification problem is denoted as a [[substitution (logic)|substitution]], that is, a mapping assigning a symbolic value to each variable of the problem's expressions. A unification algorithm should compute for a given problem a ''complete'', and ''minimal'' substitution set, that is, a set covering all its solutions, and containing no redundant members. Depending on the framework, a complete and minimal substitution set may have at most one, at most finitely many, or possibly infinitely many members, or may not exist at all.&lt;ref group=note&gt;in this case, still a complete substitution set exists (e.g. the set of all solutions at all); however, each such set contains redundant members.&lt;/ref&gt;&lt;ref&gt;{{cite journal|first1=François|last1=Fages|first2=Gérard|last2=Huet|title=Complete Sets of Unifiers and Matchers in Equational Theories|journal=Theoretical Computer Science|volume=43|pages=189–200|year=1986|doi=10.1016/0304-3975(86)90175-1}}&lt;/ref&gt; In some frameworks it is generally impossible to decide whether any solution exists. For first-order syntactical unification, Martelli and Montanari&lt;ref name=&quot;Martelli.Montanari.1982&quot;&gt;{{cite journal|first1=Alberto|last1=Martelli|first2=Ugo|last2=Montanari|title=An Efficient Unification Algorithm|journal=ACM Trans. Program. Lang. Syst.|volume=4|number=2|pages=258–282|date=Apr 1982|doi=10.1145/357162.357169}}&lt;/ref&gt; gave an algorithm that reports unsolvability or computes a complete and minimal singleton substitution set containing the so-called '''most general unifier'''.<br /> <br /> For example, using ''x'',''y'',''z'' as variables, the singleton equation set { ''[[cons]]''(''x'',''cons''(''x'',''[[Lisp (programming language)#Lists|nil]]'')) = ''cons''(2,''y'') } is a syntactic first-order unification problem that has the substitution { ''x'' ↦ 2, ''y'' ↦ ''cons''(2,''nil'') } as its only solution.<br /> The syntactic first-order unification problem { ''y'' = ''cons''(2,''y'') } has no solution over the set of [[term (logic)|finite terms]]; however, it has the single solution { ''y'' ↦ ''cons''(2,''cons''(2,''cons''(2,...))) } over the set of [[Tree (set theory)|infinite trees]].<br /> The semantic first-order unification problem { ''a''⋅''x'' = ''x''⋅''a'' } has each substitution of the form { ''x'' ↦ ''a''⋅...⋅''a'' } as a solution in a [[semigroup]], i.e. if (⋅) is considered [[associative]]; the same problem, viewed in an [[abelian group]], where (⋅) is considered also [[commutative]], has any substitution at all as a solution.<br /> The singleton set { ''a'' = ''y''(''x'') } is a syntactic second-order unification problem, since ''y'' is a function variable.<br /> One solution is { ''x'' ↦ ''a'', ''y'' ↦ ([[identity function]]) }; another one is { ''y'' ↦ ([[constant function]] mapping each value to ''a''), ''x'' ↦ ''(any value)'' }.<br /> <br /> The first formal investigation of unification can be attributed to [[J. Alan Robinson|John Alan Robinson]],&lt;ref name=&quot;Robinson.1965&quot;&gt;{{cite journal | author=J.A. Robinson | title=A Machine-Oriented Logic Based on the Resolution Principle | journal=Journal of the ACM | volume=12 | number=1 | pages=23–41 |date=Jan 1965 | doi=10.1145/321250.321253}}; Here: sect.5.8, p.32&lt;/ref&gt;&lt;ref&gt;{{cite journal | author=J.A. Robinson | title=Computational logic: The unification computation | journal=Machine Intelligence | volume=6 | pages=63–72 | url=http://aitopics.org/sites/default/files/classic/Machine%20Intelligence%206/MI6-Ch4-Robinson.pdf | year=1971 }}&lt;/ref&gt; who used first-order syntactical unification as a basic building block of his [[Resolution (logic)|resolution]] procedure for first-order logic, a great step forward in [[automated reasoning]] technology, as it eliminated one source of combinatorial explosion: searching for instantiation of terms. Today, automated reasoning is still the main application area of unification.<br /> Syntactical first-order unification is used in [[logic programming]] and programming language [[type system]] implementation, especially in [[Hindley–Milner]] based [[type inference]] algorithms.<br /> Semantic unification is used in [[SMT solver]]s, [[term rewriting]] algorithms and [[cryptographic protocol]] analysis.<br /> Higher-order unification is used in proof assistants, for example [[Isabelle (theorem prover)|Isabelle]] and [[Twelf]], and restricted forms of higher-order unification ('''higher-order pattern unification''') are used in some programming language implementations, such as [[lambdaProlog]], as higher-order patterns are expressive, yet their associated unification procedure retains theoretical properties closer to first-order unification.<br /> <br /> ==Common formal definitions==<br /> <br /> ===Prerequisites===<br /> <br /> Formally, a unification approach presupposes<br /> * An infinite set ''V'' of '''variables'''. For higher-order unification, it is convenient to choose ''V'' disjoint from the set of [[Lambda term#Lambda terms|lambda-term bound variables]].<br /> * A set ''T'' of '''terms''' such that ''V'' ⊆ ''T''. For first-order unification and higher-order unification, ''T'' is usually the set of [[Term (first-order logic)#Terms|first-order terms]] (terms built from variable and function symbols) and [[Lambda term#Lambda terms|lambda terms]] (terms containing some higher-order variables), respectively.<br /> * A mapping ''vars'': ''T'' → [[power set|ℙ]](''V''), assigning to each term ''t'' the set ''vars''(''t'') ⊊ ''V'' of '''free variables''' occurring in ''t''.<br /> * An '''[[equivalence relation]]''' ≡ on ''T'', indicating which terms are considered equal. For higher-order unification, usually ''t'' ≡ ''u'' if ''t'' and ''u'' are [[Lambda term#Alpha equivalence|alpha equivalent]]. For first-order E-unification, ≡ reflects the background knowledge about certain function symbols; for example, if ⊕ is considered commutative, ''t'' ≡ ''u'' if ''u'' results from ''t'' by swapping the arguments of ⊕ at some (possibly all) occurrences. &lt;ref group=note&gt;E.g. ''a'' ⊕ (''b'' ⊕ ''f''(''x'')) ≡ ''a'' ⊕ (''f''(''x'') ⊕ ''b'') ≡ (''b'' ⊕ ''f''(''x'')) ⊕ ''a'' ≡ (''f''(''x'') ⊕ ''b'') ⊕ ''a''&lt;/ref&gt; If there is no background knowledge at all, then only literally, or syntactically, identical terms are considered equal; in this case, ≡ is called the '''[[free theory]]''' (because it is a [[free object]]), the '''[[empty theory]]''' (because the set of equational [[sentence (mathematical logic)|sentences]], or the background knowledge, is empty), the '''theory of [[uninterpreted function]]s''' (because unification is done on uninterpreted [[term (logic)|terms]]), or the '''theory of [[Algebraic specification|constructors]]''' (because all function symbols just build up data terms, rather than operating on them).<br /> <br /> ===First-order term===<br /> {{main|Term (logic)}}<br /> Given a set ''V'' of variable symbols, a set ''C'' of constant symbols and sets ''F''&lt;sub&gt;''n''&lt;/sub&gt; of ''n''-ary function symbols, also called operator symbols, for each natural number ''n'' ≥ 1, the set of (unsorted first-order) terms ''T'' is [[recursive definition|recursively defined]] to be the smallest set with the following properties:&lt;ref&gt;{{cite book| author1=C.C. Chang |author1link= Chen Chung Chang|author2= H. Jerome Keisler| author2link=Howard Jerome Keisler| title=Model Theory| year=1977| volume=73| publisher=North Holland| editor=A. Heyting and H.J. Keisler and A. Mostowski and A. Robinson and P. Suppes| series=Studies in Logic and the Foundation of Mathematics}}; here: Sect.1.3&lt;/ref&gt;<br /> * every variable symbol is a term: ''V'' ⊆ ''T'',<br /> * every constant symbol is a term: ''C'' ⊆ ''T'',<br /> * from every ''n'' terms ''t''&lt;sub&gt;1&lt;/sub&gt;,...,''t''&lt;sub&gt;''n''&lt;/sub&gt;, and every ''n''-ary function symbol ''f'' ∈ ''F''&lt;sub&gt;''n''&lt;/sub&gt;, a larger term ''f''(''t''&lt;sub&gt;1&lt;/sub&gt;,...,''t''&lt;sub&gt;''n''&lt;/sub&gt;) can be built.<br /> For example, if ''x'' ∈ ''V'' is a variable symbol, 1 ∈ ''C'' is a constant symbol, and ''add'' ∈ ''F''&lt;sub&gt;2&lt;/sub&gt; is a binary function symbol, then ''x'' ∈ ''T'', 1 ∈ ''T'', and (hence) ''add''(''x'',1) ∈ ''T'' by the first, second, and third term building rule, respectively. The latter term is usually written as ''x''+1, using [[infix notation]] and the more common operator symbol + for convenience.<br /> &lt;!---move to main article:<br /> Often mathematicians fix the arity (number of arguments) of a function symbol (see [[Signature]]) while typically in syntactic unification problems<br /> a function symbol may have any (finite) number of arguments, and possibly may have different numbers of arguments in different contexts. <br /> e.g. f(f(a),f(x,y,z)) is a well formed term for unification problems.<br /> ---&gt;<br /> <br /> ===Higher-order term===<br /> {{main|Lambda calculus}}<br /> <br /> ===Substitution===<br /> {{main|Substitution (logic)}}<br /> A '''substitution''' is a mapping σ: ''V'' → ''T'' from variables to terms; the notation {{math|{{mset| ''x''&lt;sub&gt;1&lt;/sub&gt; ↦ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''k''&lt;/sub&gt; ↦ ''t''&lt;sub&gt;''k''&lt;/sub&gt; }}}} refers to a substitution mapping each variable ''x''&lt;sub&gt;''i''&lt;/sub&gt; to the term ''t''&lt;sub&gt;''i''&lt;/sub&gt;, for ''i''=1,...,''k'', and every other variable to itself. '''Applying''' that substitution to a term ''t'' is written in [[postfix notation]] as {{math|''t'' {{mset|''x''&lt;sub&gt;1&lt;/sub&gt; ↦ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''k''&lt;/sub&gt; ↦ ''t''&lt;sub&gt;''k''&lt;/sub&gt;}}}}; it means to (simultaneously) replace every occurrence of each variable ''x''&lt;sub&gt;''i''&lt;/sub&gt; in the term ''t'' by ''t''&lt;sub&gt;''i''&lt;/sub&gt;. The result ''t''σ of applying a substitution σ to a term ''t'' is called an '''instance''' of that term ''t''.<br /> As a first-order example, applying the substitution {{math|{{mset| ''x'' ↦ ''h''(''a'',''y''), ''z'' ↦ ''b'' }}}} to the term <br /> {|<br /> |-<br /> |<br /> | ''f''(<br /> | align=&quot;center&quot; | '''''x'''''<br /> |, ''a'', ''g''(<br /> | '''''z'''''<br /> | ), ''y'')<br /> |-<br /> | yields &amp;nbsp;<br /> |-<br /> |<br /> | ''f''(<br /> | '''''h'''''('''''a''''','''''y''''')<br /> |, ''a'', ''g''(<br /> | '''''b'''''<br /> | ), ''y'').<br /> |}<br /> <br /> ===Generalization, specialization===<br /> <br /> If a term ''t'' has an instance equivalent to a term ''u'', that is, if {{math|1=''tσ'' ≡ ''u''}} for some substitution σ, then ''t'' is called '''more general''' than ''u'', and ''u'' is called '''more special''' than, or '''subsumed''' by, ''t''. For example,{{math|1= ''x'' ⊕ ''a''}} is more general than {{math|1=''a'' ⊕ ''b''}} if ⊕ is [[Commutative property|commutative]], since then {{math|1=(''x'' ⊕ ''a'') {{mset|''x''↦''b''}} = ''b'' ⊕ ''a'' ≡ ''a'' ⊕ ''b''}}.<br /> <br /> If ≡ is literal (syntactic) identity of terms, a term may be both more general and more special than another one only if both terms differ just in their variable names, not in their syntactic structure; such terms are called '''variants''', or '''renamings''' of each other.<br /> For example, <br /> {{math|''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)}}<br /> is a variant of <br /> {{math|''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;2&lt;/sub&gt;),''y''&lt;sub&gt;2&lt;/sub&gt;)}},<br /> since <br /> &lt;!---Templates apparently don't accept &quot;}&quot; and &quot;=&quot; in its argument---&gt;<br /> {{math|''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)<br /> {{mset|''x''&lt;sub&gt;1&lt;/sub&gt; ↦ ''x''&lt;sub&gt;2&lt;/sub&gt;, ''y''&lt;sub&gt;1&lt;/sub&gt; ↦ ''y''&lt;sub&gt;2&lt;/sub&gt;, ''z''&lt;sub&gt;1&lt;/sub&gt; ↦ ''z''&lt;sub&gt;2&lt;/sub&gt;}} {{=}} <br /> ''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;2&lt;/sub&gt;),''y''&lt;sub&gt;2&lt;/sub&gt;)}}<br /> and <br /> {{math|''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;2&lt;/sub&gt;),''y''&lt;sub&gt;2&lt;/sub&gt;)<br /> {{mset|''x''&lt;sub&gt;2&lt;/sub&gt; ↦ ''x''&lt;sub&gt;1&lt;/sub&gt;, ''y''&lt;sub&gt;2&lt;/sub&gt; ↦ ''y''&lt;sub&gt;1&lt;/sub&gt;, ''z''&lt;sub&gt;2&lt;/sub&gt; ↦ ''z''&lt;sub&gt;1&lt;/sub&gt;}} {{=}} <br /> ''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)}}.<br /> However, <br /> {{math|''f''(''x''&lt;sub&gt;1&lt;/sub&gt;,''a'',''g''(''z''&lt;sub&gt;1&lt;/sub&gt;),''y''&lt;sub&gt;1&lt;/sub&gt;)}}<br /> is ''not'' a variant of <br /> {{math|''f''(''x''&lt;sub&gt;2&lt;/sub&gt;,''a'',''g''(''x''&lt;sub&gt;2&lt;/sub&gt;),''x''&lt;sub&gt;2&lt;/sub&gt;)}},<br /> since no substitution can transform the latter term into the former one.<br /> The latter term is therefore properly more special than the former one.<br /> <br /> For arbitrary ≡, a term may be both more general and more special than a structurally different term.<br /> For example, if ⊕ is [[idempotent]], that is, if always {{math|1=''x'' ⊕ ''x'' ≡ ''x''}}, then the term {{math|1=''x'' ⊕ ''y''}} is more general than {{math|1=(''x'' ⊕ ''y'') {{mset|''x'' ↦ ''z'', ''y'' ↦ ''z''}} = ''z'' ⊕ ''z'' ≡ ''z''}}, and vice versa ''z'' is more general than {{math|1=''z'' {{mset|''z'' ↦ ''x'' ⊕ ''y''}} = ''x'' ⊕ ''y''}}, although {{math|1=''x''⊕''y''}} and ''z'' are of different structure.<br /> <br /> A substitution {{mvar|σ}} is '''more special''' than, or '''subsumed''' by, a substitution {{mvar|τ}} if {{mvar|tσ}} is more special than {{mvar|tτ}} for each term {{mvar|t}}. We also say that {{mvar|τ}} is more general than {{mvar|σ}}.<br /> For instance {{math|1={{mset| ''x'' ↦ ''a'', ''y'' ↦ ''a'' }}}} is more special than {{math|1=τ = {{mset| ''x'' ↦ ''y'' }}}},<br /> but <br /> {{math|1=''σ'' = {{mset| ''x'' ↦ ''a'' }}}} is not,<br /> as {{math|1=''f''(''x'',''y'')''σ'' = ''f''(''a'',''y'')}} is not more special than<br /> {{math|1=''f''(''x'',''y'')''τ'' = ''f''(''y'',''y'')}}.&lt;ref&gt;K.R. Apt. &quot;From Logic Programming to Prolog&quot;, p. 24. Prentice Hall, 1997.&lt;/ref&gt;<br /> <br /> ===Unification problem, solution set===<br /> <br /> A '''unification problem''' is a finite set {{math|{{mset| ''l''&lt;sub&gt;1&lt;/sub&gt; ≐ ''r''&lt;sub&gt;1&lt;/sub&gt;, ..., ''l''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''r''&lt;sub&gt;''n''&lt;/sub&gt; }}}} of potential equations, where {{math|''l''&lt;sub&gt;''i''&lt;/sub&gt;, ''r''&lt;sub&gt;''i''&lt;/sub&gt; ∈ ''T''}}.<br /> A substitution σ is a '''solution''' of that problem if {{math|''l''&lt;sub&gt;''i''&lt;/sub&gt;σ ≡ ''r''&lt;sub&gt;''i''&lt;/sub&gt;σ}} for {{math|1=''i''=1,...,''n''}}. Such a substitution is also called a '''unifier''' of the unification problem.<br /> For example, if ⊕ is [[Associative property|associative]], the unification problem { ''x'' ⊕ ''a'' ≐ ''a'' ⊕ ''x'' } has the solutions {''x'' ↦ ''a''}, {''x'' ↦ ''a'' ⊕ ''a''}, {''x'' ↦ ''a'' ⊕ ''a'' ⊕ ''a''}, etc., while the problem { ''x'' ⊕ ''a'' ≐ ''a'' } has no solution.<br /> <br /> For a given unification problem, a set ''S'' of unifiers is called '''complete''' if each solution substitution is subsumed by some substitution σ ∈ ''S''; the set ''S'' is called '''minimal''' if none of its members subsumes another one.<br /> <br /> ==Syntactic unification of first-order terms==<br /> <br /> [[File:Triangle diagram of syntactic unification svg.svg|thumb|Schematic triangle diagram of syntactically unifying terms ''t''&lt;sub&gt;1&lt;/sub&gt; and ''t''&lt;sub&gt;2&lt;/sub&gt; by a substitution σ]]<br /> ''Syntactic unification of first-order terms'' is the most widely used unification framework.<br /> It is based on ''T'' being the set of ''first-order terms'' (over some given set ''V'' of variables, ''C'' of constants and ''F''&lt;sub&gt;''n''&lt;/sub&gt; of ''n''-ary function symbols) and on ≡ being ''syntactic equality''.<br /> In this framework, each solvable unification problem {{math|{{mset|''l''&lt;sub&gt;1&lt;/sub&gt; ≐ ''r''&lt;sub&gt;1&lt;/sub&gt;, ..., ''l''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''r''&lt;sub&gt;''n''&lt;/sub&gt;}}}} has a complete, and obviously minimal, [[Singleton (mathematics)|singleton]] solution set {{math|1={{mset|''σ''}}}}.<br /> Its member {{mvar|σ}} is called the '''most general unifier''' ('''mgu''') of the problem.<br /> The terms on the left and the right hand side of each potential equation become syntactically equal when the mgu is applied i.e. {{math|1=''l''&lt;sub&gt;1&lt;/sub&gt;''σ'' = ''r''&lt;sub&gt;1&lt;/sub&gt;''σ'' ∧ ... ∧ ''l''&lt;sub&gt;''n''&lt;/sub&gt;''σ'' = ''r''&lt;sub&gt;''n''&lt;/sub&gt;''σ''}}.<br /> Any unifier of the problem is subsumed&lt;ref group=note&gt;formally: each unifier τ satisfies {{math|1=∀''x'': ''xτ'' = (''xσ'')''ρ''}} for some substitution ρ&lt;/ref&gt; by the mgu {{mvar|σ}}.<br /> The mgu is unique up to variants: if ''S''&lt;sub&gt;1&lt;/sub&gt; and ''S''&lt;sub&gt;2&lt;/sub&gt; are both complete and minimal solution sets of the same syntactical unification problem, then ''S''&lt;sub&gt;1&lt;/sub&gt; = { ''σ''&lt;sub&gt;1&lt;/sub&gt; } and ''S''&lt;sub&gt;2&lt;/sub&gt; = { ''σ''&lt;sub&gt;2&lt;/sub&gt; } for some substitutions {{math|1=''σ''&lt;sub&gt;1&lt;/sub&gt;}} and {{math|1=''σ''&lt;sub&gt;2&lt;/sub&gt;,}} and {{math|1=''xσ''&lt;sub&gt;1&lt;/sub&gt;}} is a variant of {{math|1=''xσ''&lt;sub&gt;2&lt;/sub&gt;}} for each variable ''x'' occurring in the problem.<br /> <br /> For example, the unification problem { ''x'' ≐ ''z'', ''y'' ≐ ''f''(''x'') } has a unifier { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }, because<br /> :{|<br /> |-<br /> | align=&quot;right&quot; | ''x''<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> | =<br /> | align=&quot;center&quot; | ''z''<br /> | =<br /> | align=&quot;right&quot; | ''z''<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> |, and<br /> |-<br /> | align=&quot;right&quot; | ''y''<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> | =<br /> | align=&quot;center&quot; | ''f''(''z'')<br /> | =<br /> | align=&quot;right&quot; | ''f''(''x'')<br /> | { ''x'' ↦ ''z'', ''y'' ↦ ''f''(''z'') }<br /> | .<br /> |}<br /> <br /> This is also the most general unifier.<br /> Other unifiers for the same problem are e.g. { ''x'' ↦ ''f''(''x''&lt;sub&gt;1&lt;/sub&gt;), ''y'' ↦ ''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;)), ''z'' ↦ ''f''(''x''&lt;sub&gt;1&lt;/sub&gt;) }, { ''x'' ↦ ''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;)), ''y'' ↦ ''f''(''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;))), ''z'' ↦ ''f''(''f''(''x''&lt;sub&gt;1&lt;/sub&gt;)) }, and so on; there are infinitely many similar unifiers.<br /> <br /> As another example, the problem ''g''(''x'',''x'') ≐ ''f''(''y'') has no solution with respect to ≡ being literal identity, since any substitution applied to the left and right hand side will keep the outermost ''g'' and ''f'', respectively, and terms with different outermost function symbols are syntactically different.<br /> <br /> ===A unification algorithm===<br /> <br /> {{Quote box|title=Robinson's 1965 unification algorithm<br /> |quote={{hidden begin}}<br /> Symbols are ordered such that variables precede function symbols.<br /> Terms are ordered by increasing written length; equally long terms <br /> are ordered [[lexicographic order|lexicographically]].{{refn|Robinson (1965);&lt;ref name=&quot;Robinson.1965&quot;/&gt; nr.2.5, 2.14, p.25}} For a set ''T'' of terms, its disagreement <br /> path ''p'' is the lexicographically least path where two member terms <br /> of ''T'' differ. Its disagreement set is the set of [[term (logic)#Operations with terms|subterms starting at ''p'']], <br /> formally: {{math|{ ''t''[[term (logic)#Operations with terms|{{pipe}}&lt;sub&gt;''p''&lt;/sub&gt;]] : ''t''∈''T'' }}}.{{refn|Robinson (1965);&lt;ref name=&quot;Robinson.1965&quot;/&gt; nr.5.6, p.32}}<br /> <br /> '''Algorithm:'''{{refn|Robinson (1965);&lt;ref name=&quot;Robinson.1965&quot;/&gt; nr.5.8, p.32}}<br /> <br /> Given a set ''T'' of terms to be unified<br /> Let σ initially be the [[substitution (logic)#First-order logic|identity substitution]]<br /> <br /> '''do''' '''forever'''<br /> '''if''' ''T''σ is a [[singleton set]] '''then'''<br /> '''return''' σ<br /> '''fi''' <br /> <br /> let ''D'' be the disagreement set of ''T''σ<br /> let ''s'', ''t'' be the two lexicographically least terms in ''D''<br /> <br /> '''if''' ''s'' is not a variable '''or''' ''s'' occurs in ''t'' '''then'''<br /> '''return''' &quot;NONUNIFIABLE&quot;<br /> '''fi''' <br /> σ := σ { ''s''↦''t'' }<br /> '''done'''<br /> {{hidden end}}<br /> }}<br /> The first algorithm given by Robinson (1965) was rather inefficient; cf. box.<br /> The following faster algorithm originated from Martelli, Montanari (1982).&lt;ref&gt;Alg.1, p.261. Their rule '''(a)''' corresponds to rule '''swap''' here, '''(b)''' to '''delete''', '''(c)''' to both '''decompose''' and '''conflict''', and '''(d)''' to both '''eliminate''' and '''check'''.&lt;/ref&gt;<br /> This paper also lists preceding attempts to find an efficient syntactical unification algorithm,&lt;ref&gt;{{cite report | author=Lewis Denver Baxter | title=A practically linear unification algorithm | publisher=Univ. of Waterloo, Ontario | type=Res. Report | volume=CS-76-13 | url=https://cs.uwaterloo.ca/research/tr/1976/CS-76-13.pdf |date=Feb 1976 }}&lt;/ref&gt;&lt;ref&gt;{{cite thesis | author=[[Gérard Huet]] | title=Resolution d'Equations dans des Langages d'Ordre 1,2,...ω | publisher=Universite de Paris VII | type=These d'etat |date=Sep 1976 }}&lt;/ref&gt;&lt;ref name=&quot;Martelli.Montanari.1976&quot;&gt;{{cite report |author1=Alberto Martelli |author2=Ugo Montanari |lastauthoramp=yes | title=Unification in linear time and space: A structured presentation | publisher=Consiglio Nazionale delle Ricerche, Pisa | type=Internal Note | volume=IEI-B76-16 | url=http://puma.isti.cnr.it/publichtml/section_cnr_iei/cnr_iei_1976-B4-041.html |date=Jul 1976 }}&lt;/ref&gt;&lt;ref name=&quot;Paterson.Wegman.1978&quot;&gt;{{cite journal | author=[[Michael Stewart Paterson]] and M.N. Wegman | title=Linear unification | journal=J. Comput. Syst. Sci. | volume=16 | number=2 | pages=158–167 | url=http://www.sciencedirect.com/science/article/pii/0022000078900430/pdf?md5=404ce04b363525aef2a1277b2ec249d1&amp;pid=1-s2.0-0022000078900430-main.pdf |date=Apr 1978 | doi = 10.1016/0022-0000(78)90043-0 }}&lt;/ref&gt;&lt;ref&gt;{{cite book | author=[[J.A. Robinson]] |chapter= Fast unification | editor= [[Woodrow W. Bledsoe]], Michael M. Richter| title=Proc. Theorem Proving Workshop Oberwolfach | publisher= | series=Oberwolfach Workshop Report | volume=1976/3 | url= http://oda.mfo.de/bsz325106819.html |date=Jan 1976 }}&lt;/ref&gt;&lt;ref&gt;{{cite journal | author=M. Venturini-Zilli | title=Complexity of the unification algorithm for first-order expressions |journal= Calcolo | volume=12 |number=4 |pages= 361–372 |date= Oct 1975 }}&lt;/ref&gt; and states that linear-time algorithms were discovered independently by Martelli, Montanari (1976)&lt;ref name=&quot;Martelli.Montanari.1976&quot;/&gt; and Paterson, Wegman (1978).&lt;ref name=&quot;Paterson.Wegman.1978&quot;/&gt;{{refn|See Martelli, Montanari (1982),&lt;ref name=&quot;Martelli.Montanari.1982&quot;/&gt; sect.1, p.259. Paterson's and Wegman's paper is dated 1978; however, the journal publisher received it in Sep.1976.}}<br /> <br /> Given a finite set ''G'' = { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''t''&lt;sub&gt;''n''&lt;/sub&gt; } of potential equations,<br /> the algorithm applies rules to transform it to an equivalent set of equations of the form<br /> { ''x''&lt;sub&gt;1&lt;/sub&gt; ≐ ''u''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''m''&lt;/sub&gt; ≐ ''u''&lt;sub&gt;''m''&lt;/sub&gt; }<br /> where ''x''&lt;sub&gt;1&lt;/sub&gt;, ..., ''x''&lt;sub&gt;''m''&lt;/sub&gt; are distinct variables and ''u''&lt;sub&gt;1&lt;/sub&gt;, ..., ''u''&lt;sub&gt;''m''&lt;/sub&gt; are terms containing none of the ''x''&lt;sub&gt;''i''&lt;/sub&gt;.<br /> A set of this form can be read as a substitution.<br /> If there is no solution the algorithm terminates with ⊥; other authors use &quot;Ω&quot;, &quot;{}&quot;, or &quot;''fail''&quot; in that case.<br /> The operation of substituting all occurrences of variable ''x'' in problem ''G'' with term ''t'' is denoted ''G'' {''x'' ↦ ''t''}.<br /> For simplicity, constant symbols are regarded as function symbols having zero arguments.<br /> <br /> :{|<br /> | align=&quot;right&quot; | ''G'' ∪ { ''t'' ≐ ''t'' }<br /> | ⇒<br /> | ''G''<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''delete'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) ≐ ''f''(''t''&lt;sub&gt;0&lt;/sub&gt;,...,''t''&lt;sub&gt;''k''&lt;/sub&gt;) }<br /> | ⇒ <br /> | ''G'' ∪ { ''s''&lt;sub&gt;0&lt;/sub&gt; ≐ ''t''&lt;sub&gt;0&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''k''&lt;/sub&gt; ≐ ''t''&lt;sub&gt;''k''&lt;/sub&gt; }<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''decompose'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) ≐ ''g''(''t''&lt;sub&gt;0&lt;/sub&gt;,...,''t''&lt;sub&gt;''m''&lt;/sub&gt;) }<br /> | ⇒<br /> | ⊥<br /> | align=&quot;right&quot; | if ''f'' ≠ ''g'' or ''k'' ≠ ''m''<br /> | &amp;nbsp; &amp;nbsp; '''conflict'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) ≐ x }<br /> | ⇒<br /> | ''G'' ∪ { ''x'' ≐ ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) }<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''swap'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''x'' ≐ ''t'' }<br /> | ⇒<br /> | ''G''{''x''↦''t''} ∪ { ''x'' ≐ ''t'' }<br /> | align=&quot;right&quot; | if ''x'' ∉ ''vars''(''t'') and ''x'' ∈ ''vars''(''G'')<br /> | &amp;nbsp; &amp;nbsp; '''eliminate'''&lt;ref group=&quot;note&quot;&gt;Although the rule keeps ''x''≐''t'' in ''G'', it cannot loop forever since its precondition ''x''∈''vars''(''G'') is invalidated by its first application. More generally, the algorithm is guaranteed to terminate always, see [[#Proof of termination|below]].&lt;/ref&gt;<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''x'' ≐ ''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;) }<br /> | ⇒<br /> | ⊥<br /> | align=&quot;right&quot; | if ''x'' ∈ ''vars''(''f''(''s''&lt;sub&gt;0&lt;/sub&gt;,...,''s''&lt;sub&gt;''k''&lt;/sub&gt;))<br /> | &amp;nbsp; &amp;nbsp; '''check'''<br /> |}<br /> <br /> ====Occurs check====<br /> {{main|Occurs check}}<br /> An attempt to unify a variable ''x'' with a term containing ''x'' as a strict subterm ''x''≐''f''(...,''x'',...) would lead to an infinite term as solution for ''x'', since ''x'' would occur as a subterm of itself.<br /> In the set of (finite) first-order terms as defined above, the equation ''x''≐''f''(...,''x'',...) has no solution; hence the ''eliminate'' rule may only be applied if ''x'' ∉ ''vars''(''t'').<br /> Since that additional check, called ''occurs check'', slows down the algorithm, it is omitted e.g. in most Prolog systems.<br /> From a theoretical point of view, omitting the check amounts to solving equations over infinite trees, see [[#Unification of infinite terms|below]].<br /> <br /> ====Proof of termination====<br /> For the proof of termination of the algorithm consider a triple {{math|&lt;''n''&lt;sub&gt;''var''&lt;/sub&gt;,''n''&lt;sub&gt;''lhs''&lt;/sub&gt;,''n''&lt;sub&gt;''eqn''&lt;/sub&gt;&gt;}}<br /> where {{math|''n''&lt;sub&gt;''var''&lt;/sub&gt;}} is the number of variables that occur more than once in the equation set, {{math|''n''&lt;sub&gt;''lhs''&lt;/sub&gt;}} is the number of function symbols and constants<br /> on the left hand sides of potential equations, and {{math|''n''&lt;sub&gt;''eqn''&lt;/sub&gt;}} is the number of equations.<br /> When rule ''eliminate'' is applied, {{math|''n''&lt;sub&gt;''var''&lt;/sub&gt;}} decreases, since ''x'' is eliminated from ''G'' and kept only in { ''x'' ≐ ''t'' }.<br /> Applying any other rule can never increase {{math|''n''&lt;sub&gt;''var''&lt;/sub&gt;}} again.<br /> When rule ''decompose'', ''conflict'', or ''swap'' is applied, {{math|''n''&lt;sub&gt;''lhs''&lt;/sub&gt;}} decreases, since at least the left hand side's outermost ''f'' disappears.<br /> Applying any of the remaining rules ''delete'' or ''check'' can't increase {{math|''n''&lt;sub&gt;''lhs''&lt;/sub&gt;}}, but decreases {{math|''n''&lt;sub&gt;''eqn''&lt;/sub&gt;}}.<br /> Hence, any rule application decreases the triple {{math|&lt;''n''&lt;sub&gt;''var''&lt;/sub&gt;,''n''&lt;sub&gt;''lhs''&lt;/sub&gt;,''n''&lt;sub&gt;''eqn''&lt;/sub&gt;&gt;}} with respect to the [[lexicographical order]], which is possible only a finite number of times.<br /> <br /> [[Conor McBride]] observes&lt;ref&gt;{{cite journal|last=McBride|first=Conor|title=First-Order Unification by Structural Recursion|journal=Journal of Functional Programming|date=October 2003|volume=13|issue=6|pages=1061–1076|doi=10.1017/S0956796803004957|url=http://strictlypositive.org/unify.ps.gz|accessdate=30 March 2012|issn=0956-7968}}&lt;/ref&gt; that “by expressing the structure which unification exploits” in a [[Dependent type|dependently typed]] language such as [[Epigram (programming language)|Epigram]], [[John Alan Robinson|Robinson]]'s algorithm can be made [[Structural induction|recursive on the number of variables]], in which case a separate termination proof becomes unnecessary.<br /> <br /> ===Examples of syntactic unification of first-order terms===<br /> In the Prolog syntactical convention a symbol starting with an upper case letter is a variable name; a symbol that starts with a lowercase letter is a function symbol; the comma is used as the logical ''and'' operator.<br /> For maths notation, ''x,y,z'' are used as variables, ''f,g'' as function symbols, and ''a,b'' as constants.<br /> {| class=&quot;wikitable&quot;<br /> |-<br /> ! Prolog Notation !! Maths Notation !! Unifying Substitution !! Explanation<br /> |-<br /> | &lt;code&gt; a = a &lt;/code&gt; || { ''a'' = ''a'' } || {} || Succeeds. ([[Tautology (logic)|tautology]])<br /> |-<br /> | &lt;code&gt; a = b &lt;/code&gt; || { ''a'' = ''b'' } || ⊥ || ''a'' and ''b'' do not match<br /> |-<br /> | &lt;code&gt; X = X &lt;/code&gt; || { ''x'' = ''x'' } || {} || Succeeds. ([[Tautology (logic)|tautology]])<br /> |-<br /> | &lt;code&gt; a = X &lt;/code&gt; || { ''a'' = ''x'' } || { ''x'' ↦ ''a'' } || ''x'' is unified with the constant ''a''<br /> |-<br /> | &lt;code&gt; X = Y &lt;/code&gt; || { ''x'' = ''y'' } || { ''x'' ↦ ''y'' } || ''x'' and ''y'' are aliased<br /> |-<br /> | &lt;code&gt; f(a,X) = f(a,b) &lt;/code&gt; || { ''f''(''a'',''x'') = ''f''(''a'',''b'') } || { ''x'' ↦ ''b'' } || function and constant symbols match, ''x'' is unified with the constant ''b''<br /> |-<br /> | &lt;code&gt; f(a) = g(a) &lt;/code&gt; || { ''f''(''a'') = ''g''(''a'') } || ⊥ || ''f'' and ''g'' do not match<br /> |-<br /> | &lt;code&gt; f(X) = f(Y) &lt;/code&gt; || { ''f''(''x'') = ''f''(''y'') } || { ''x'' ↦ ''y'' } || ''x'' and ''y'' are aliased<br /> |-<br /> | &lt;code&gt; f(X) = g(Y) &lt;/code&gt; || { ''f''(''x'') = ''g''(''y'') } || ⊥ || ''f'' and ''g'' do not match<br /> |-<br /> | &lt;code&gt; f(X) = f(Y,Z) &lt;/code&gt; || { ''f''(''x'') = ''f''(''y'',''z'') } || ⊥ || Fails. The ''f'' function symbols have different arity<br /> |-<br /> | &lt;code&gt; f(g(X)) = f(Y) &lt;/code&gt; || { ''f''(''g''(''x'')) = ''f''(''y'') } || { ''y'' ↦ ''g''(''x'') } || Unifies ''y'' with the term {{tmath|g(x)}}<br /> |-<br /> | &lt;code&gt; f(g(X),X) = f(Y,a) &lt;/code&gt; || { ''f''(''g''(''x''),''x'') = ''f''(''y'',''a'') } || { ''x'' ↦ ''a'', ''y'' ↦ ''g''(''a'') } || Unifies ''x'' with constant ''a'', and ''y'' with the term {{tmath|g(a)}}<br /> |-<br /> | &lt;code&gt; X = f(X) &lt;/code&gt; || { ''x'' = ''f''(''x'') } || should be ⊥ || Returns ⊥ in first-order logic and many modern Prolog dialects (enforced by the ''[[occurs check]]'').<br /> Succeeds in traditional Prolog and in Prolog II, unifying ''x'' with infinite term &lt;code&gt;x=f(f(f(f(...))))&lt;/code&gt;.<br /> |-<br /> | &lt;code&gt; X = Y, Y = a &lt;/code&gt; || { ''x'' = ''y'', ''y'' = ''a'' } || { ''x'' ↦ ''a'', ''y'' ↦ ''a'' } || Both ''x'' and ''y'' are unified with the constant ''a''<br /> |-<br /> | &lt;code&gt; a = Y, X = Y &lt;/code&gt; || { ''a'' = ''y'', ''x'' = ''y'' } || { ''x'' ↦ ''a'', ''y'' ↦ ''a'' } || As above (order of equations in set doesn't matter)<br /> |-<br /> | &lt;code&gt; X = a, b = X &lt;/code&gt; || { ''x'' = ''a'', ''b'' = ''x'' } || ⊥ || Fails. ''a'' and ''b'' do not match, so ''x'' can't be unified with both<br /> |}<br /> <br /> [[File:Unification exponential blow-up svg.svg|thumb|Two terms with an exponentially larger tree for their least common instance. Its [[directed acyclic graph|dag]] representation (rightmost, orange part) is still of linear size.]]<br /> The most general unifier of a syntactic first-order unification problem of [[Term (logic)#Operations with terms|size]] {{mvar|n}} may have a size of {{math|2&lt;sup&gt;''n''&lt;/sup&gt;}}. For example, the problem {{tmath| (((a*z)*y)*x)*w \doteq w*(x*(y*(z*a))) }} has the most general unifier {{tmath| z \mapsto a, y \mapsto a*a, x \mapsto (a*a)*(a*a), w \mapsto ((a*a)*(a*a))*((a*a)*(a*a)) }}, cf. picture. In order to avoid exponential time complexity caused by such blow-up, advanced unification algorithms work on [[directed acyclic graph]]s (dags) rather than trees.{{refn|e.g. Paterson, Wegman (1978),&lt;ref name=&quot;Paterson.Wegman.1978&quot;/&gt; sect.2, p.159}}<br /> <br /> ===Application: Unification in logic programming===<br /> <br /> The concept of unification is one of the main ideas behind [[logic programming]], best known through the language [[Prolog]]. It represents the mechanism of binding the contents of variables and can be viewed as a kind of one-time assignment. In Prolog, this operation is denoted by the equality symbol &lt;code&gt;=&lt;/code&gt;, but is also done when instantiating variables (see below). It is also used in other languages by the use of the equality symbol &lt;code&gt;=&lt;/code&gt;, but also in conjunction with many operations including &lt;code&gt;+&lt;/code&gt;, &lt;code&gt;-&lt;/code&gt;, &lt;code&gt;*&lt;/code&gt;, &lt;code&gt;/&lt;/code&gt;. [[Type inference]] algorithms are typically based on unification.<br /> <br /> In Prolog:<br /> # A [[variable (programming)|variable]] which is uninstantiated—i.e. no previous unifications were performed on it—can be unified with an atom, a term, or another uninstantiated variable, thus effectively becoming its alias. In many modern Prolog dialects and in [[first-order logic]], a variable cannot be unified with a term that contains it; this is the so-called ''[[occurs check]]''.<br /> # Two atoms can only be unified if they are identical.<br /> # Similarly, a term can be unified with another term if the top function symbols and [[Arity|arities]] of the terms are identical and if the parameters can be unified simultaneously. Note that this is a recursive behavior.<br /> <br /> === Application: Type inference ===<br /> <br /> Unification is used during type inference, for instance in the functional programming language [[Haskell (programming language)|Haskell]]. On one hand, the programmer does not need to provide type information for every function, on the other hand it is used to detect typing errors. The Haskell expression &lt;code&gt;True : ['a', 'b', 'c']&lt;/code&gt; is not correctly typed. The list construction function &lt;code&gt;(:)&lt;/code&gt; is of type &lt;code&gt;a -&gt; [a] -&gt; [a]&lt;/code&gt;, and for the first argument &lt;code&gt;True&lt;/code&gt; the polymorphic type variable &lt;code&gt;a&lt;/code&gt; has to be unified with &lt;code&gt;True&lt;/code&gt;'s type, &lt;code&gt;Bool&lt;/code&gt;. The second argument, &lt;code&gt;['a', 'b', 'c']&lt;/code&gt;, is of type &lt;code&gt;[Char]&lt;/code&gt;, but &lt;code&gt;a&lt;/code&gt; cannot be both &lt;code&gt;Bool&lt;/code&gt; and &lt;code&gt;Char&lt;/code&gt; at the same time.<br /> <br /> Like for Prolog, an algorithm for type inference can be given:<br /> <br /> # Any type variable unifies with any type expression, and is instantiated to that expression. A specific theory might restrict this rule with an occurs check.<br /> # Two type constants unify only if they are the same type.<br /> # Two type constructions unify only if they are applications of the same type constructor and all of their component types recursively unify.<br /> <br /> Due to its declarative nature, the order in a sequence of unifications is (usually) unimportant.<br /> <br /> Note that in the terminology of [[first-order logic]], an atom is a basic proposition and is unified similarly to a Prolog term.<br /> <br /> ==Order-sorted unification==<br /> ''[[Many-sorted logic#Order-sorted logic|Order-sorted logic]]'' allows one to assign a ''sort'', or ''type'', to each term, and to declare a sort ''s''&lt;sub&gt;1&lt;/sub&gt; a ''subsort'' of another sort ''s''&lt;sub&gt;2&lt;/sub&gt;, commonly written as ''s''&lt;sub&gt;1&lt;/sub&gt; ⊆ ''s''&lt;sub&gt;2&lt;/sub&gt;. For example, when reаsoning about biological creatures, it is useful to declare a sort ''dog'' to be a subsort of a sort ''animal''. Wherever a term of some sort ''s'' is required, a term of any subsort of ''s'' may be supplied instead.<br /> For example, assuming a function declaration ''mother'': ''animal'' → ''animal'', and a constant declaration ''lassie'': ''dog'', the term ''mother''(''lassie'') is perfectly valid and has the sort ''animal''. In order to supply the information that the mother of a dog is a dog in turn, another declaration ''mother'': ''dog'' → ''dog'' may be issued; this is called ''function overloading'', similar to [[Overloading (programming)|overloading in programming languages]].<br /> <br /> [[Christoph Walther|Walther]] gave a unification algorithm for terms in order-sorted logic, requiring for any two declared sorts ''s''&lt;sub&gt;1&lt;/sub&gt;, ''s''&lt;sub&gt;2&lt;/sub&gt; their intersection ''s''&lt;sub&gt;1&lt;/sub&gt; ∩ ''s''&lt;sub&gt;2&lt;/sub&gt; to be declared, too: if ''x''&lt;sub&gt;1&lt;/sub&gt; and ''x''&lt;sub&gt;2&lt;/sub&gt; is a variable of sort ''s''&lt;sub&gt;1&lt;/sub&gt; and ''s''&lt;sub&gt;2&lt;/sub&gt;, respectively, the equation ''x''&lt;sub&gt;1&lt;/sub&gt; ≐ ''x''&lt;sub&gt;2&lt;/sub&gt; has the solution { ''x''&lt;sub&gt;1&lt;/sub&gt; = ''x'', ''x''&lt;sub&gt;2&lt;/sub&gt; = ''x'' }, where ''x'': ''s''&lt;sub&gt;1&lt;/sub&gt; ∩ ''s''&lt;sub&gt;2&lt;/sub&gt;.<br /> &lt;ref&gt;{{cite journal|first1=Christoph|last1=Walther|authorlink=Christoph Walther|title=A Mechanical Solution of Schubert's Steamroller by Many-Sorted Resolution|journal=Artif. Intell.|volume=26|number=2|pages=217–224|url=http://www.inferenzsysteme.informatik.tu-darmstadt.de/media/is/publikationen/Schuberts_Steamroller_by_Many-Sorted_Resolution-AIJ-25-2-1985.pdf|year=1985|doi=10.1016/0004-3702(85)90029-3}}&lt;/ref&gt;<br /> After incorporating this algorithm into a clause-based automated theorem prover, he could solve a benchmark problem by translating it into order-sorted logic, thereby boiling it down an order of magnitude, as many unary predicates turned into sorts.<br /> <br /> Smolka generalized order-sorted logic to allow for [[parametric polymorphism]].<br /> &lt;ref&gt;{{cite conference|first1=Gert|last1=Smolka|title=Logic Programming with Polymorphically Order-Sorted Types|conference=Int. Workshop Algebraic and Logic Programming|publisher=Springer|series=LNCS|volume=343|pages=53–70|date=Nov 1988}}&lt;/ref&gt;<br /> In his framework, subsort declarations are propagated to complex type expressions.<br /> As a programming example, a parametric sort ''list''(''X'') may be declared (with ''X'' being a type parameter as in a [[Template (C++)#Function templates|C++ template]]), and from a subsort declaration ''int'' ⊆ ''float'' the relation ''list''(''int'') ⊆ ''list''(''float'') is automatically inferred, meaning that each list of integers is also a list of floats.<br /> <br /> Schmidt-Schauß generalized order-sorted logic to allow for term declarations.<br /> &lt;ref&gt;{{cite book|first1=Manfred|last1=Schmidt-Schauß|title=Computational Aspects of an Order-Sorted Logic with Term Declarations|publisher=Springer|series=LNAI|volume=395|date=Apr 1988}}&lt;/ref&gt;<br /> As an example, assuming subsort declarations ''even'' ⊆ ''int'' and ''odd'' ⊆ ''int'', a term declaration like ∀''i'':''int''. (''i''+''i''):''even'' allows to declare a property of integer addition that could not be expressed by ordinary overloading.<br /> <br /> ==Unification of infinite terms==<br /> <br /> Background on infinite trees:<br /> * {{cite journal| author=B. Courcelle|authorlink=Bruno Courcelle| title=Fundamental Properties of Infinite Trees| journal=Theoret. Comput. Sci.| year=1983| volume=25| number=| pages=95–169| url=http://www.diku.dk/hjemmesider/ansatte/henglein/papers/courcelle1983.pdf| doi=10.1016/0304-3975(83)90059-2}}<br /> * {{cite book| author=Michael J. Maher| chapter=Complete Axiomatizations of the Algebras of Finite, Rational and Infinite Trees| title=Proc. IEEE 3rd Annual Symp. on Logic in Computer Science, Edinburgh|date=Jul 1988| pages=348–357}}<br /> * {{cite journal|author1=Joxan Jaffar |author2=Peter J. Stuckey | title=Semantics of Infinite Tree Logic Programming| journal=Theoretical Computer Science| year=1986| volume=46| pages=141–158| doi=10.1016/0304-3975(86)90027-7}}<br /> <br /> Unification algorithm, Prolog II:<br /> * {{cite book| author=A. Colmerauer| authorlink=Alain Colmerauer|title=Prolog and Infinite Trees| year=1982| pages=| publisher=Academic Press|editor1=K.L. Clark |editor2=S.-A. Tarnlund }}<br /> * {{cite book| author=Alain Colmerauer| chapter=Equations and Inequations on Finite and Infinite Trees| title=Proc. Int. Conf. on Fifth Generation Computer Systems| year=1984| pages=85–99| editor=ICOT}}<br /> <br /> Applications:<br /> * {{cite journal|author1=Francis Giannesini |author2=Jacques Cohen | title=Parser Generation and Grammar Manipulation using Prolog's Infinite Trees| journal=J. Logic Programming| year=1984| volume=3| pages=253–265}}<br /> <br /> ==E-unification==<br /> <br /> '''E-unification''' is the problem of finding solutions to a given set of [[equations]],<br /> taking into account some equational background knowledge ''E''.<br /> The latter is given as a set of universal [[Equality (mathematics)|equalities]].<br /> For some particular sets ''E'', equation solving [[algorithms]] (a.k.a. ''E-unification algorithms'') have been devised;<br /> for others it has been proven that no such algorithms can exist.<br /> <br /> For example, if {{mvar|a}} and {{mvar|b}} are distinct constants,<br /> the [[equation]] {{tmath|x * a \doteq y * b}} has no solution<br /> with respect to purely [[Unification (computer science)#Syntactic unification problem on first-order terms|syntactic unification]],<br /> where nothing is known about the operator {{tmath|*}}.<br /> However, if the {{tmath|*}} is known to be [[Commutativity|commutative]],<br /> then the substitution {{math|{{mset|''x'' ↦ ''b'', ''y'' ↦ ''a''}}}} solves the above equation,<br /> since<br /> :{|<br /> |<br /> | {{tmath|x * a}}<br /> | {{math|{{mset|''x'' ↦ ''b'', ''y'' ↦ ''a''}}}}<br /> |-<br /> | {{=}}<br /> | {{tmath|b * a}}<br /> |<br /> | by [[Unification (computer science)#Substitution|substitution application]]<br /> |-<br /> | {{=}}<br /> | {{tmath|a * b}}<br /> |<br /> | by commutativity of {{tmath|*}}<br /> |-<br /> | {{=}}<br /> | {{tmath|y * b}}<br /> | {{math|{{mset|''x'' ↦ ''b'', ''y'' ↦ ''a''}}}}<br /> | by (converse) substitution application<br /> |}<br /> The background knowledge ''E'' could state the commutativity of {{tmath|*}} by the universal equality<br /> &quot;{{tmath|1=u * v = v * u}} for all {{math|''u'', ''v''}}&quot;.<br /> <br /> ===Particular background knowledge sets E===<br /> <br /> {|<br /> |+ '''Used naming conventions'''<br /> | {{math|∀ ''u'',''v'',''w'':}}<br /> | align=&quot;right&quot; | {{tmath|u*(v*w)}}<br /> | {{=}}<br /> | {{tmath|(u*v)*w}}<br /> | align=&quot;center&quot; | '''{{mvar|A}}'''<br /> | Associativity of {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'',''v'':}}<br /> | align=&quot;right&quot; | {{tmath|u*v}}<br /> | =<br /> | {{tmath|v*u}}<br /> | align=&quot;center&quot; | '''{{mvar|C}}'''<br /> | Commutativity of {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'',''v'',''w'':}}<br /> | align=&quot;right&quot; | {{tmath|u*(v+w)}}<br /> | {{=}}<br /> | {{tmath|u*v+u*w}}<br /> | align=&quot;center&quot; | '''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}'''<br /> | Left distributivity of {{tmath|*}} over {{tmath|+}}<br /> |-<br /> | {{math|∀ ''u'',''v'',''w'':}}<br /> | align=&quot;right&quot; | {{tmath|(v+w)*u}}<br /> | {{=}}<br /> | {{tmath|v*u+w*u}}<br /> | align=&quot;center&quot; | '''{{mvar|D&lt;sub&gt;r&lt;/sub&gt;}}'''<br /> | Right distributivity of {{tmath|*}} over {{tmath|+}}<br /> |-<br /> | {{math|∀ ''u'':}}<br /> | align=&quot;right&quot; | {{tmath|u*u}}<br /> | {{=}}<br /> | {{mvar|u}}<br /> | align=&quot;center&quot; | '''{{mvar|I}}'''<br /> | Idempotence of {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'':}}<br /> | align=&quot;right&quot; | {{tmath|n*u}}<br /> | {{=}}<br /> | {{mvar|u}}<br /> | align=&quot;center&quot; | '''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}'''<br /> | Left neutral element {{mvar|n}} with respect to {{tmath|*}}<br /> |-<br /> | {{math|∀ ''u'':}}<br /> | align=&quot;right&quot; | {{tmath|u*n}}<br /> | {{=}}<br /> | {{mvar|u}}<br /> | align=&quot;center&quot; | &amp;nbsp; &amp;nbsp; '''{{mvar|N&lt;sub&gt;r&lt;/sub&gt;}}''' &amp;nbsp; &amp;nbsp;<br /> | Right neutral element {{mvar|n}} with respect to {{tmath|*}}<br /> |}<br /> <br /> It is said that ''unification is decidable'' for a theory, if a unification algorithm has been devised for it that terminates for ''any'' input problem.<br /> It is said that ''unification is [[Decidable problem#Decidability|semi-decidable]]'' for a theory, if a unification algorithm has been devised for it that terminates for any ''solvable'' input problem, but may keep searching forever for solutions of an unsolvable input problem.<br /> <br /> '''Unification is decidable''' for the following theories:<br /> * '''{{mvar|A}}'''&lt;ref&gt;[[Gordon D. Plotkin]], ''Lattice Theoretic Properties of Subsumption'', Memorandum MIP-R-77, Univ. Edinburgh, Jun 1970&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}'''&lt;ref&gt;[[Mark E. Stickel]], ''A Unification Algorithm for Associative-Commutative Functions'', J. Assoc. Comput. Mach., vol.28, no.3, pp. 423–434, 1981&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}''','''{{mvar|I}}'''&lt;ref name=&quot;Fages.1987&quot;&gt;F. Fages, ''Associative-Commutative Unification'', J. Symbolic Comput., vol.3, no.3, pp. 257–275, 1987&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}''','''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}'''&lt;ref group=note name=&quot;LRequivC&quot;&gt;in the presence of equality '''{{mvar|C}}''', equalities '''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}''' and '''{{mvar|N&lt;sub&gt;r&lt;/sub&gt;}}''' are equivalent, similar for '''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}''' and '''{{mvar|D&lt;sub&gt;r&lt;/sub&gt;}}'''&lt;/ref&gt;&lt;ref name=&quot;Fages.1987&quot;/&gt;<br /> * '''{{mvar|A}}''','''{{mvar|I}}'''&lt;ref&gt;Franz Baader, ''Unification in Idempotent Semigroups is of Type Zero'', J. Automat. Reasoning, vol.2, no.3, 1986&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|N&lt;sub&gt;l&lt;/sub&gt;}}'''{{mvar|,}}'''{{mvar|N&lt;sub&gt;r&lt;/sub&gt;}}''' (monoid)&lt;ref&gt;J. Makanin, ''The Problem of Solvability of Equations in a Free Semi-Group'', Akad. Nauk SSSR, vol.233, no.2, 1977&lt;/ref&gt;<br /> * '''{{mvar|C}}'''&lt;ref&gt;{{cite journal| author=F. Fages| title=Associative-Commutative Unification| journal=J. Symbolic Comput.| year=1987| volume=3| number=3| pages=257–275| doi=10.1016/s0747-7171(87)80004-4}}&lt;/ref&gt;<br /> * [[Boolean ring]]s&lt;ref&gt;{{cite book| author=Martin, U., Nipkow, T.| chapter=Unification in Boolean Rings| title=Proc. 8th CADE| year=1986| volume=230| pages=506–513| publisher=Springer| editor=Jörg H. Siekmann| series=LNCS}}&lt;/ref&gt;&lt;ref&gt;{{cite journal|author1=A. Boudet |author2=J.P. Jouannaud |author3=M. Schmidt-Schauß | title=Unification of Boolean Rings and Abelian Groups| journal=Journal of Symbolic Computation| year=1989| volume=8| pages=449–477 |url=http://www.sciencedirect.com/science/article/pii/S0747717189800549/pdf?md5=713ed362e4b6f2db53923cc5ed47c818&amp;pid=1-s2.0-S0747717189800549-main.pdf| doi=10.1016/s0747-7171(89)80054-9}}&lt;/ref&gt;<br /> * [[Abelian group]]s, even if the signature is expanded by arbitrary additional symbols (but not axioms)&lt;ref name=&quot;Baader and Snyder 2001, p. 486&quot;&gt;Baader and Snyder (2001), p. 486.&lt;/ref&gt;<br /> * [[Kripke semantics#Correspondence and completeness|K4]] [[modal algebra]]s&lt;ref&gt;F. Baader and S. Ghilardi, ''Unification in modal and description logics'', Logic Journal of the IGPL 19 (2011), no.&amp;nbsp;6, pp.&amp;nbsp;705–730.&lt;/ref&gt;<br /> <br /> '''Unification is semi-decidable''' for the following theories:<br /> * '''{{mvar|A}}''','''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}'''{{mvar|,}}'''{{mvar|D&lt;sub&gt;r&lt;/sub&gt;}}'''&lt;ref&gt;P. Szabo, ''Unifikationstheorie erster Ordnung'' (''First Order Unification Theory''), Thesis, Univ. Karlsruhe, West Germany, 1982&lt;/ref&gt;<br /> * '''{{mvar|A}}''','''{{mvar|C}}''','''{{mvar|D&lt;sub&gt;l&lt;/sub&gt;}}'''&lt;ref group=note name=&quot;LRequivC&quot;/&gt;&lt;ref&gt;Jörg H. Siekmann, ''Universal Unification'', Proc. 7th Int. Conf. on Automated Deduction, Springer LNCS vol.170, pp. 1–42, 1984&lt;/ref&gt;<br /> * [[Commutative ring]]s&lt;ref name=&quot;Baader and Snyder 2001, p. 486&quot;/&gt;<br /> <br /> ===One-sided paramodulation===<br /> <br /> If there is a [[Term rewriting#Termination and convergence|convergent term rewriting system]] ''R'' available for ''E'',<br /> the '''one-sided paramodulation''' algorithm&lt;ref&gt;N. Dershowitz and G. Sivakumar, ''Solving Goals in Equational Languages'', Proc. 1st Int. Workshop on Conditional Term Rewriting Systems, Springer LNCS vol.308, pp. 45–55, 1988&lt;/ref&gt;<br /> can be used to enumerate all solutions of given equations.<br /> <br /> {| style=&quot;border: 1px solid darkgray;&quot;<br /> |+ One-sided paramodulation rules<br /> |- border=&quot;0&quot;<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;1&lt;/sub&gt;,...,''s''&lt;sub&gt;''n''&lt;/sub&gt;) ≐ ''f''(''t''&lt;sub&gt;1&lt;/sub&gt;,...,''t''&lt;sub&gt;''n''&lt;/sub&gt;) }<br /> | ; ''S''<br /> | ⇒<br /> | align=&quot;right&quot; | ''G'' ∪ { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ ''t''&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''t''&lt;sub&gt;''n''&lt;/sub&gt; }<br /> | ''; ''S''<br /> |<br /> | &amp;nbsp; &amp;nbsp; '''decompose'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''x'' ≐ ''t'' }<br /> | ; ''S''<br /> | ⇒<br /> | align=&quot;right&quot; | ''G'' { ''x'' ↦ ''t'' }<br /> |; ''S''{''x''↦''t''} ∪ {''x''↦''t''}<br /> | align=&quot;right&quot; | if the variable ''x'' doesn't occur in ''t''<br /> | &amp;nbsp; &amp;nbsp; '''eliminate'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;1&lt;/sub&gt;,...,''s''&lt;sub&gt;''n''&lt;/sub&gt;) ≐ ''t'' }<br /> | ; ''S''<br /> | ⇒<br /> | align=&quot;right&quot; | ''G'' ∪ { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ u&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ u&lt;sub&gt;''n''&lt;/sub&gt;, ''r'' ≐ ''t'' }<br /> | ; ''S''<br /> | align=&quot;right&quot; | &amp;nbsp; &amp;nbsp; if ''f''(''u''&lt;sub&gt;1&lt;/sub&gt;,...,''u''&lt;sub&gt;''n''&lt;/sub&gt;) → ''r'' is a rule from ''R''<br /> | &amp;nbsp; &amp;nbsp; '''mutate'''<br /> |-<br /> | align=&quot;right&quot; | ''G'' ∪ { ''f''(''s''&lt;sub&gt;1&lt;/sub&gt;,...,''s''&lt;sub&gt;''n''&lt;/sub&gt;) ≐ ''y'' }<br /> | ; ''S''<br /> |⇒<br /> | align=&quot;right&quot; | ''G'' ∪ { ''s''&lt;sub&gt;1&lt;/sub&gt; ≐ ''y''&lt;sub&gt;1&lt;/sub&gt;, ..., ''s''&lt;sub&gt;''n''&lt;/sub&gt; ≐ ''y''&lt;sub&gt;''n''&lt;/sub&gt;, ''y'' ≐ ''f''(''y''&lt;sub&gt;1&lt;/sub&gt;,...,''y''&lt;sub&gt;''n''&lt;/sub&gt;) }<br /> | ; ''S''<br /> | align=&quot;right&quot; | if ''y''&lt;sub&gt;1&lt;/sub&gt;,...,''y''&lt;sub&gt;''n''&lt;/sub&gt; are new variables<br /> | &amp;nbsp; &amp;nbsp; '''imitate'''<br /> |}<br /> <br /> Starting with ''G'' being the unification problem to be solved and ''S'' being the identity substitution, rules are applied nondeterministically until the empty set appears as the actual ''G'', in which case the actual ''S'' is a unifying substitution. Depending on the order the paramodulation rules are applied, on the choice of the actual equation from ''G'', and on the choice of ''R''’s rules in ''mutate'', different computations paths are possible. Only some lead to a solution, while others end at a ''G'' ≠ {} where no further rule is applicable (e.g. ''G'' = { ''f''(...) ≐ ''g''(...) }).<br /> <br /> {| style=&quot;border: 1px solid darkgray;&quot;<br /> |+ Example term rewrite system ''R''<br /> |- border=&quot;0&quot;<br /> | '''1'''<br /> | ''app''(''nil'',''z'')<br /> | → ''z''<br /> |-<br /> |'''2''' &amp;nbsp; &amp;nbsp;<br /> | ''app''(''x''.''y'',''z'')<br /> | → ''x''.''app''(''y'',''z'')<br /> |}<br /> <br /> For an example, a term rewrite system ''R'' is used defining the ''append'' operator of lists built from ''cons'' and ''nil''; where ''cons''(''x'',''y'') is written in infix notation as ''x''.''y'' for brevity; e.g. ''app''(''a''.''b''.''nil'',''c''.''d''.''nil'') → ''a''.''app''(''b''.''nil'',''c''.''d''.''nil'') → ''a''.''b''.''app''(''nil'',''c''.''d''.''nil'') → ''a''.''b''.''c''.''d''.''nil'' demonstrates the concatenation of the lists ''a''.''b''.''nil'' and ''c''.''d''.''nil'', employing the rewrite rule 2,2, and 1. The equational theory ''E'' corresponding to ''R'' is the [[Closure (mathematics)#P closures of binary relations|congruence closure]] of ''R'', both viewed as binary relations on terms.<br /> For example, ''app''(''a''.''b''.''nil'',''c''.''d''.''nil'') ≡ ''a''.''b''.''c''.''d''.''nil'' ≡ ''app''(''a''.''b''.''c''.''d''.''nil'',''nil''). The paramodulation algorithm enumerates solutions to equations with respect to that ''E'' when fed with the example ''R''.<br /> <br /> A successful example computation path for the unification problem { ''app''(''x'',''app''(''y'',''x'')) ≐ ''a''.''a''.''nil'' } is shown below. To avoid variable name clashes, rewrite rules are consistently renamed each time before their use by rule ''mutate''; ''v''&lt;sub&gt;2&lt;/sub&gt;, ''v''&lt;sub&gt;3&lt;/sub&gt;, ... are computer-generated variable names for this purpose. In each line, the chosen equation from ''G'' is highlighted in red. Each time the ''mutate'' rule is applied, the chosen rewrite rule (''1'' or ''2'') is indicated in parentheses. From the last line, the unifying substitution ''S'' = { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' } can be obtained. In fact,<br /> ''app''(''x'',''app''(''y'',''x'')) {''y''↦''nil'', ''x''↦ ''a''.''nil'' } = ''app''(''a''.''nil'',''app''(''nil'',''a''.''nil'')) ≡ ''app''(''a''.''nil'',''a''.''nil'') ≡ ''a''.''app''(''nil'',''a''.''nil'') ≡ ''a''.''a''.''nil'' solves the given problem.<br /> A second successful computation path, obtainable by choosing &quot;mutate(1), mutate(2), mutate(2), mutate(1)&quot; leads to the substitution ''S'' = { ''y'' ↦ ''a''.''a''.''nil'', ''x'' ↦ ''nil'' }; it is not shown here. No other path leads to a success.<br /> <br /> {| class=&quot;wikitable&quot;<br /> |+ Example unifier computation<br /> |-<br /> ! Used rule !! !! ''G'' !! ''S''<br /> |-<br /> | ||<br /> | { {{color|red|''app''(''x'',''app''(''y'',''x'')) ≐ ''a''.''a''.''nil''}} }<br /> | {}<br /> |-<br /> | mutate(2) || ⇒<br /> | { ''x'' ≐ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;, ''app''(''y'',''x'') ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;2&lt;/sub&gt;.''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''a''.''nil''}} }<br /> | {}<br /> |-<br /> | decompose || ⇒<br /> | { {{color|red|''x'' ≐ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;}}, ''app''(''y'',''x'') ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, ''v''&lt;sub&gt;2&lt;/sub&gt; ≐ ''a'', ''app(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''ni''l }<br /> | {}<br /> |-<br /> | eliminate || ⇒<br /> | { ''app''(''y'',''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;) ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;2&lt;/sub&gt; ≐ ''a''}}, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { {{color|red|''app''(''y'',''a''.''v''&lt;sub&gt;3&lt;/sub&gt;) ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;}}, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | mutate(1) || ⇒<br /> | { ''y'' ≐ ''nil'', ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;5&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;5&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;}}, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { {{color|red|''y'' ≐ ''nil''}}, ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, ''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil'' }<br /> | { ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''v''&lt;sub&gt;4&lt;/sub&gt;) ≐ ''a''.''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | mutate(1) || ⇒<br /> | { ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, ''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''nil'', {{color|red|''v''&lt;sub&gt;4&lt;/sub&gt; ≐ ''v''&lt;sub&gt;6&lt;/sub&gt;}}, ''v''&lt;sub&gt;6&lt;/sub&gt; ≐ ''a''.''nil'' }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;3&lt;/sub&gt; ≐ ''nil''}}, ''v''&lt;sub&gt;4&lt;/sub&gt; ≐ ''a''.''nil'' }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''v''&lt;sub&gt;3&lt;/sub&gt; }<br /> |-<br /> | eliminate || ⇒<br /> | { ''a''.''nil'' ≐ ''v''&lt;sub&gt;4&lt;/sub&gt;, {{color|red|''v''&lt;sub&gt;4&lt;/sub&gt; ≐ ''a''.''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | eliminate || ⇒<br /> | { {{color|red|''a''.''nil'' ≐ ''a''.''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | decompose || ⇒<br /> | { {{color|red|''a'' ≐ ''a''}}, ''nil'' ≐ ''nil'' }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | decompose || ⇒<br /> | { {{color|red|''nil'' ≐ ''nil''}} }<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |-<br /> | decompose &amp;nbsp; &amp;nbsp; || ⇒ &amp;nbsp; &amp;nbsp;<br /> | {}<br /> | { ''y'' ↦ ''nil'', ''x'' ↦ ''a''.''nil'' }<br /> |}<br /> <br /> ===Narrowing===<br /> <br /> [[File:Triangle diagram of narrowing step svg.svg|thumb|Triangle diagram of narrowing step ''s'' ~› ''t'' at position ''p'' in term ''s'', with unifying substitution σ (bottom row), using a rewrite rule {{math|1=''l'' → ''r''}} (top row)]]<br /> If ''R'' is a [[Term rewriting#Termination and convergence|convergent term rewriting system]] for ''E'',<br /> an approach alternative to the previous section consists in successive application of &quot;'''narrowing steps'''&quot;;<br /> this will eventually enumerate all solutions of a given equation.<br /> A narrowing step (cf. picture) consists in<br /> * choosing a nonvariable subterm of the current term,<br /> * [[#Syntactic unification of first-order terms|syntactically unifying]] it with the left hand side of a rule from ''R'', and<br /> * replacing the instantiated rule's right hand side into the instantiated term.<br /> Formally, if {{math|''l'' → ''r''}} is a [[Term (logic)#Structural equality|renamed copy]] of a rewrite rule from ''R'', having no variables in common with a term ''s'', and the [[Term (logic)#Operations with terms|subterm]] {{math|''s''{{!}}&lt;sub&gt;''p''&lt;/sub&gt;}} is not a variable and is unifiable with {{mvar|l}} via the [[#Syntactic unification of first-order terms|mgu]] {{mvar|σ}}, then {{mvar|s}} can be '''narrowed''' to the term {{math|1=''t'' = ''sσ''[''rσ'']&lt;sub&gt;''p''&lt;/sub&gt;}}, i.e. to the term {{mvar|sσ}}, with the subterm at ''p'' [[Term (logic)#Operations with terms|replaced]] by {{mvar|rσ}}. The situation that ''s'' can be narrowed to ''t'' is commonly denoted as ''s'' ~› ''t''.<br /> Intuitively, a sequence of narrowing steps ''t''&lt;sub&gt;1&lt;/sub&gt; ~› ''t''&lt;sub&gt;2&lt;/sub&gt; ~› ... ~› ''t''&lt;sub&gt;''n''&lt;/sub&gt; can be thought of as a sequence of rewrite steps ''t''&lt;sub&gt;1&lt;/sub&gt; → ''t''&lt;sub&gt;2&lt;/sub&gt; → ... → ''t''&lt;sub&gt;''n''&lt;/sub&gt;, but with the initial term ''t''&lt;sub&gt;1&lt;/sub&gt; being further and further instantiated, as necessary to make each of the used rules applicable.<br /> <br /> The [[#One-sided paramodulation|above]] example paramodulation computation corresponds to the following narrowing sequence (&quot;↓&quot; indicating instantiation here):<br /> <br /> {|<br /> |-<br /> | ''app''( || ''x'' || ,''app''(''y'', || ''x'' || ))<br /> |-<br /> | || ↓ || || ↓ || || || || || || || || || || || || || || ''x'' ↦ ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;<br /> |-<br /> | ''app''( || ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt; || ,''app''(''y'', || ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt; || )) || → || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''app''( || ''y'' || ,''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;))<br /> |-<br /> | || || || || || || || ↓ || || || || || || || || || || ''y'' ↦ ''nil''<br /> |-<br /> | || || || || || || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''(''v''&lt;sub&gt;3&lt;/sub&gt;,''app''( || ''nil'' || ,''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;3&lt;/sub&gt;)) || → || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''( || ''v''&lt;sub&gt;3&lt;/sub&gt; || ,''v''&lt;sub&gt;2&lt;/sub&gt;. || ''v''&lt;sub&gt;3&lt;/sub&gt; || )<br /> |-<br /> | || || || || || || || || || || || ↓ || || ↓ || || || || ''v''&lt;sub&gt;3&lt;/sub&gt; ↦ ''nil''<br /> |-<br /> | || || || || || || || || || || ''v''&lt;sub&gt;2&lt;/sub&gt;.''app''( || ''nil'' || ,''v''&lt;sub&gt;2&lt;/sub&gt;. || ''nil'' || ) || → || ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;2&lt;/sub&gt;.''nil''<br /> |}<br /> <br /> The last term, ''v''&lt;sub&gt;2&lt;/sub&gt;.''v''&lt;sub&gt;2&lt;/sub&gt;.''nil'' can be syntactically unified with the original right hand side term ''a''.''a''.''nil''.<br /> <br /> The ''narrowing lemma''&lt;ref&gt;{{cite book| author=Fay| chapter=First-Order Unification in an Equational Theory| title=Proc. 4th Workshop on Automated Deduction| year=1979| pages=161–167}}&lt;/ref&gt; ensures that whenever an instance of a term ''s'' can be rewritten to a term ''t'' by a convergent term rewriting system, then ''s'' and ''t'' can be narrowed and rewritten to a term {{math|1=''s''’}} and {{math|1=''t''’}}, respectively, such that {{math|1=''t''’}} is an instance of {{math|1=''s''’}}.<br /> <br /> Formally: whenever {{math|1=''sσ'' {{underset|&amp;lowast;|&amp;rarr;}} ''t''}} holds for some substitution σ, then there exist terms {{math|''s''’, ''t''’}} such that {{math|''s'' {{underset|&amp;lowast;|~›}} ''s''’}} and {{math|''t'' {{underset|&amp;lowast;|&amp;rarr;}} ''t''’}} and {{math|1=''s''’''τ'' = ''t''’}} for some substitution τ.<br /> <br /> ==Higher-order unification==<br /> <br /> Many applications require one to consider the unification of typed lambda-terms instead of first-order terms. Such unification is often called ''higher-order unification''. A well studied branch of higher-order unification is the problem of unifying simply typed lambda terms modulo the equality determined by αβη conversions. Such unification problems do not have most general unifiers. While higher-order unification is [[Undecidable problem|undecidable]],&lt;ref&gt;{{cite journal| author=Warren D. Goldfarb| authorlink=Warren D. Goldfarb| title=The Undecidability of the Second-Order Unification Problem| journal=TCS| year=1981| volume=13| pages=225–230| url=http://www.sciencedirect.com/science/article/pii/0304397581900402/pdf?md5=ebe7687d034498bb76c4ea9c5df56f84&amp;pid=1-s2.0-0304397581900402-main.pdf| doi=10.1016/0304-3975(81)90040-2}}&lt;/ref&gt;&lt;ref&gt;{{cite journal| author=Gérard P. Huet| title=The Undecidability of Unification in Third Order Logic| journal=Information and Control| year=1973| volume=22| pages=257–267 |url=http://www.sciencedirect.com/science/article/pii/S001999587390301X/pdf?md5=0833289609c3d777bdec01d5d6ced2aa&amp;pid=1-s2.0-S001999587390301X-main.pdf |doi=10.1016/S0019-9958(73)90301-X}}&lt;/ref&gt;&lt;ref&gt;Claudio Lucchesi: The Undecidability of the Unification Problem for Third Order Languages (Research Report CSRR 2059; Department of Computer Science, University of Waterloo, 1972)&lt;/ref&gt; [[Gérard Huet]] gave a [[semi-decidable]] (pre-)unification algorithm&lt;ref&gt;Gérard Huet: A Unification Algorithm for typed Lambda-Calculus []&lt;/ref&gt; that allows a systematic search of the space of unifiers (generalizing the unification algorithm of Martelli-Montanari&lt;ref name=&quot;Martelli.Montanari.1982&quot;/&gt; with rules for terms containing higher-order variables) that seems to work sufficiently well in practice. Huet&lt;ref&gt;[http://portal.acm.org/citation.cfm?id=695200 Gérard Huet: Higher Order Unification 30 Years Later]&lt;/ref&gt; and Gilles Dowek&lt;ref&gt;Gilles Dowek: Higher-Order Unification and Matching. Handbook of Automated Reasoning 2001: 1009–1062&lt;/ref&gt; have written articles surveying this topic.<br /> <br /> [[Dale Miller (computer scientist)|Dale Miller]] has described what is now called [[higher-order pattern unification]].&lt;ref&gt;{{cite journal|first1=Dale|last1=Miller|title=A Logic Programming Language with Lambda-Abstraction, Function Variables, and Simple Unification|journal=Journal of Logic and Computation|year=1991|pages=497–536|url=http://www.lix.polytechnique.fr/Labo/Dale.Miller/papers/jlc91.pdf}}&lt;/ref&gt; This subset of higher-order unification is decidable and solvable unification problems have most-general unifiers. Many computer systems that contain higher-order unification, such as the higher-order logic programming languages [[λProlog]] and [[Twelf]], often implement only the pattern fragment and not full higher-order unification.<br /> <br /> In computational linguistics, one of the most influential theories of [[Elliptical construction|ellipsis]] is that ellipses are represented by free variables whose values are then determined using Higher-Order Unification (HOU). For instance, the semantic representation of &quot;Jon likes Mary and Peter does too&quot; is &lt;math&gt; like(j; m) \land R(p) &lt;/math&gt; and the value of R (the semantic representation of the ellipsis) is determined by the equation &lt;math&gt; like(j; m) = R(j) &lt;/math&gt;. The process of solving such equations is called Higher-Order Unification.&lt;ref&gt;{{cite book| first1 = Claire | last1 = Gardent | first2 = Michael | last2 = Kohlhase | first3 = Karsten | last3 = Konrad | author2link=Michael Kohlhase| chapter=A Multi-Level, Higher-Order Unification Approach to Ellipsis| title=Submitted to European [[Association for Computational Linguistics]] (EACL)&lt;!---according to http://page.mi.fu-berlin.de/cbenzmueller/papers/R8.pdf---&gt;| year=1997| volume=| pages=| publisher=| editor=| series=|citeseerx = 10.1.1.55.9018}}&lt;/ref&gt;<br /> <br /> For example, the unification problem { ''f''(''a'', ''b'', ''a'') ≐ ''d''(''b'', ''a'', ''c'') }, where the only variable is ''f'', has the<br /> solutions {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''y'', ''x'', ''c'') }, {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''y'', ''z'', ''c'') },<br /> {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''y'', ''a'', ''c'') }, {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''b'', ''x'', ''c'') },<br /> {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''b'', ''z'', ''c'') } and {''f'' ↦ λ''x''.λ''y''.λ''z''.''d''(''b'', ''a'', ''c'') }.<br /> <br /> [[Wayne Snyder]] gave a generalization of both higher-order unification and E-unification, i.e. an algorithm to unify lambda-terms modulo an equational theory.&lt;ref&gt;{{cite book | author=Wayne Snyder | contribution=Higher order E-unification | title=Proc. 10th [[Conference on Automated Deduction]] | publisher=Springer | series=LNAI | volume=449 | pages=573–587 |date=Jul 1990 }}&lt;/ref&gt;<br /> <br /> ==See also==<br /> *[[Rewriting]]<br /> *[[Admissible rule]]<br /> *[[Explicit substitution]] in [[lambda calculus]]<br /> * Mathematical [[Equation solving]]<br /> * [[Dis-unification (computer science)|Dis-unification]]: solving inequations between symbolic expression<br /> * [[Anti-unification (computer science)|Anti-unification]]: computing a least general generalization (lgg) of two terms, dual to computing a most general instance (mgu)<br /> * [[Ontology alignment]] (use ''unification'' with [[semantic equivalence]])<br /> <br /> ==Notes==<br /> {{Reflist|group=note}}<br /> <br /> ==References==<br /> {{reflist}}<br /> <br /> == Further reading ==<br /> * [[Franz Baader]] and [[Wayne Snyder]] (2001). [http://www.cs.bu.edu/~snyder/publications/UnifChapter.pdf &quot;Unification Theory&quot;]. In [[John Alan Robinson]] and [[Andrei Voronkov]], editors, ''[[Handbook of Automated Reasoning]]'', volume I, pages 447–533. Elsevier Science Publishers.<br /> * [[Gilles Dowek]] (2001). [https://who.rocq.inria.fr/Gilles.Dowek/Publi/unification.ps &quot;Higher-order Unification and Matching&quot;]. In ''Handbook of Automated Reasoning''.<br /> * Franz Baader and [[Tobias Nipkow]] (1998). [http://www.in.tum.de/~nipkow/TRaAT/ ''Term Rewriting and All That'']. Cambridge University Press.<br /> * Franz Baader and [[Jörg H. Siekmann]] (1993). &quot;Unification Theory&quot;. In ''Handbook of Logic in Artificial Intelligence and Logic Programming''.<br /> * Jean-Pierre Jouannaud and [[Claude Kirchner]] (1991). &quot;Solving Equations in Abstract Algebras: A Rule-Based Survey of Unification&quot;. In ''Computational Logic: Essays in Honor of Alan Robinson''.<br /> * [[Nachum Dershowitz]] and [[Jean-Pierre Jouannaud]], ''Rewrite Systems'', in: [[Jan van Leeuwen]] (ed.), ''[[Handbook of Theoretical Computer Science]]'', volume B ''Formal Models and Semantics'', Elsevier, 1990, pp.&amp;nbsp;243–320<br /> * Jörg H. Siekmann (1990). &quot;Unification Theory&quot;. In [[Claude Kirchner]] (editor) ''Unification''. Academic Press.<br /> * {{cite journal| author=Kevin Knight| title=Unification: A Multidisciplinary Survey| journal=ACM Computing Surveys|date=Mar 1989| volume=21| number=1| pages=93–124| url=http://www.isi.edu/natural-language/people/unification-knight.pdf| doi=10.1145/62029.62030}}<br /> * [[Gérard Huet]] and [[Derek C. Oppen]] (1980). [http://infolab.stanford.edu/pub/cstr/reports/cs/tr/80/785/CS-TR-80-785.pdf &quot;Equations and Rewrite Rules: A Survey&quot;]. Technical report. Stanford University.<br /> * {{cite journal | last1 = Raulefs | first1 = Peter | last2 = Siekmann | first2 = Jörg | last3 = Szabó | first3 = P. | last4 = Unvericht | first4 = E. | year = 1979 | title = A short survey on the state of the art in matching and unification problems | url = | journal = ACM SIGSAM Bulletin | volume = 13 | issue = 2 }}<br /> * Claude Kirchner and Hélène Kirchner. ''Rewriting, Solving, Proving''. In preparation.<br /> <br /> [[Category:Automated theorem proving]]<br /> [[Category:Logic programming]]<br /> [[Category:Rewriting systems]]<br /> [[Category:Logic in computer science]]<br /> [[Category:Type theory]]<br /> [[Category:Unification (computer science)| ]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Prime_ideal&diff=763375157 Prime ideal 2017-02-02T21:49:05Z <p>Magmalex: /* Prime ideals for noncommutative rings */ added inline reference</p> <hr /> <div>{{about|ideals in [[ring theory]]|prime ideals in order theory|ideal (order theory)#Prime ideals}}<br /> [[File:A portion of the lattice of ideals of Z illustrating prime, semiprime and primary ideals SVG.svg|A portion of the lattice of ideals of Z illustrating prime, semiprime and primary ideals|thumb|right|320px|A [[Hasse diagram]] of a portion of the lattice of ideals of the integers {{math|'''Z'''}}. The purple nodes indicate prime ideals. The purple and green nodes are [[semiprime ideal]]s, and the purple and blue nodes are [[primary ideal]]s.]] In [[algebra]], a '''prime ideal''' is a [[subset]] of a [[ring (mathematics)|ring]] that shares many important properties of a [[prime number]] in the [[ring of integers]].&lt;ref&gt;{{cite book | last1=Dummit | first1=David S. | last2=Foote | first2=Richard M. | title=Abstract Algebra | publisher=[[John Wiley &amp; Sons]] | year=2004 | edition=3rd | isbn=0-471-43334-9}}&lt;/ref&gt;&lt;ref&gt;{{cite book | last=Lang | first=Serge | authorlink=Serge Lang | title=Algebra | publisher=[[Springer Science+Business Media|Springer]] | series=[[Graduate Texts in Mathematics]] | year=2002 | isbn=0-387-95385-X}}&lt;/ref&gt; The prime ideals for the integers are the sets that contain all the multiples of a given prime number, together with the [[zero ideal]].<br /> <br /> [[Primitive ideal]]s are prime, and prime ideals are both [[primary ideal|primary]] and [[semiprime ideal|semiprime]].<br /> <br /> ==Prime ideals for commutative rings==<br /> An [[ideal (ring theory)|ideal]] {{mvar|P}} of a [[commutative ring]] {{mvar|R}} is '''prime''' if it has the following two properties:<br /> <br /> * If {{mvar|a}} and {{mvar|b}} are two elements of {{mvar|R}} such that their product {{math|''ab''}} is an element of {{mvar|P}}, then {{math|''a''}} is in {{mvar|P}} or {{math|''b''}} is in {{mvar|P}},<br /> * {{mvar|P}} is not equal to {{mvar|R}} for the whole ring.<br /> <br /> This generalizes the following property of prime numbers: if {{math|''p''}} is a prime number and if {{math|''p''}} divides a product {{math|''ab''}} of two [[integer]]s, then {{math|''p''}} divides {{math|''a''}} or {{math|''p''}} divides {{math|''b''}}. We can therefore say<br /> <br /> :A positive integer {{mvar|n}} is a prime number if and only if {{math|''n'''''Z'''}} is a prime ideal in {{math|'''Z'''}}.<br /> <br /> ===Examples===<br /> * A simple example: For {{mvar|R}}={{math|'''Z'''}}, the set of even numbers is a prime ideal.<br /> * If {{mvar|R}} denotes the ring {{math|'''C'''[''X'', ''Y'']}} of [[polynomial]]s in two variables with [[complex number|complex]] coefficients, then the ideal generated by the polynomial {{math|''Y''&lt;sup&gt;&amp;thinsp;2&lt;/sup&gt; − ''X''&lt;sup&gt;&amp;thinsp;3&lt;/sup&gt; − ''X'' − 1}} is a prime ideal (see [[elliptic curve]]).<br /> * In the ring {{math|'''Z'''[''X'']}} of all polynomials with integer coefficients, the ideal generated by {{math|2}} and {{mvar|X}} is a prime ideal. It consists of all those polynomials whose constant coefficient is even.<br /> * In any ring {{mvar|R}}, a '''[[maximal ideal]]''' is an ideal {{mvar|M}} that is [[maximal element|maximal]] in the set of all proper ideals of {{mvar|R}}, i.e. {{mvar|M}} is [[subset|contained in]] exactly two ideals of {{mvar|R}}, namely {{mvar|M}} itself and the entire ring {{mvar|R}}. Every maximal ideal is in fact prime. In a [[principal ideal domain]] every nonzero prime ideal is maximal, but this is not true in general.<br /> * If {{mvar|M}} is a smooth [[manifold]], {{mvar|R}} is the ring of smooth real functions on {{mvar|M}}, and {{mvar|x}} is a point in {{mvar|M}}, then the set of all smooth functions {{mvar|f}} with {{math|''f''&amp;thinsp;(''x'') {{=}} 0}} forms a prime ideal (even a maximal ideal) in {{mvar|R}}.<br /> <br /> ===Properties===<br /> * An ideal {{math|''I''}} in the ring {{mvar|R}} (with unity) is prime if and only if the factor ring {{math|''R''/''I''}} is an [[integral domain]]. In particular, a commutative ring is an integral domain if and only if {{math|(0) }} is a prime ideal.<br /> * An ideal {{math|''I''}} is prime if and only if its set-theoretic complement is [[multiplicatively closed set|multiplicatively closed]].&lt;ref&gt;{{cite book | last=Reid | first=Miles | authorlink=Miles Reid | title=Undergraduate Commutative Algebra | publisher=[[Cambridge University Press]] | year=1996 | isbn=0-521-45889-7}}&lt;/ref&gt;<br /> * Every nonzero ring contains at least one prime ideal (in fact it contains at least one maximal ideal), which is a direct consequence of [[Krull's theorem]].<br /> * The set of all prime ideals (the spectrum of a ring) contains minimal elements (called [[minimal prime (commutative algebra)|minimal prime]]). Geometrically, these correspond to irreducible components of the spectrum.<br /> * The [[preimage]] of a prime ideal under a ring homomorphism is a prime ideal.<br /> * The sum of two prime ideals is not necessarily prime. For an example, consider the ring {{math|'''C'''[''x'', ''y'']}} with prime ideals {{math|''P'' {{=}} (''x''&lt;sup&gt;2&lt;/sup&gt; + ''y''&lt;sup&gt;2&lt;/sup&gt; − 1)}} and {{math|''Q'' {{=}} (''x'')}} (the ideals generated by {{math|''x''&lt;sup&gt;2&lt;/sup&gt; + ''y''&lt;sup&gt;2&lt;/sup&gt; − 1}} and ''x'' respectively). Their sum {{math|''P'' + ''Q'' {{=}} (''x''&lt;sup&gt;2&lt;/sup&gt; + ''y''&lt;sup&gt;2&lt;/sup&gt; − 1, ''x'') {{=}} (''y''&lt;sup&gt;2&lt;/sup&gt; − 1, ''x'')}} however is not prime: {{math|''y''&lt;sup&gt;2&lt;/sup&gt; − 1 {{=}} (''y'' − 1)(''y'' + 1) ∈ ''P'' + ''Q''}} but its two factors are not. Alternatively, note that the quotient ring has zero divisors so it is not an integral domain and thus {{math|''P'' + ''Q''}} cannot be prime.<br /> * In a commutative ring {{mvar|R}} with at least two elements, if every proper ideal is prime, then the ring is a field. (If the ideal {{math|(0)}} is prime, then the ring {{mvar|R}} is an integral domain. If {{mvar|q}} is any non-zero element of {{mvar|R}} and the ideal {{math|(''q''&lt;sup&gt;2&lt;/sup&gt;)}} is prime, then it contains {{mvar|q}} and then {{mvar|q}} is invertible.)<br /> * A nonzero principal ideal is prime if and only if it is generated by a [[prime element]]. In a UFD, every nonzero prime ideal contains a prime element.<br /> <br /> ===Uses===<br /> One use of prime ideals occurs in [[algebraic geometry]], where varieties are defined as the zero sets of ideals in polynomial rings. It turns out that the irreducible varieties correspond to prime ideals. In the modern abstract approach, one starts with an arbitrary commutative ring and turns the set of its prime ideals, also called its [[spectrum of a ring|spectrum]], into a [[topological space]] and can thus define generalizations of varieties called [[scheme (mathematics)|schemes]], which find applications not only in [[geometry]], but also in [[number theory]].<br /> <br /> The introduction of prime ideals in [[algebraic number theory]] was a major step forward: it was realized that the important property of unique factorisation expressed in the [[fundamental theorem of arithmetic]] does not hold in every ring of [[algebraic integer]]s, but a substitute was found when [[Richard Dedekind]] replaced elements by ideals and prime elements by prime ideals; see [[Dedekind domain]].<br /> <br /> ==Prime ideals for noncommutative rings==<br /> The notion of a prime ideal can be generalized to noncommutative rings by using the commutative definition &quot;ideal-wise&quot;. [[Wolfgang Krull]] advanced this idea in 1928.&lt;ref&gt;Krull, Wolfgang, ''Primidealketten in allgemeinen Ringbereichen'', Sitzungsberichte Heidelberg. Akad. Wissenschaft (1928), 7. Abhandl.,3-14.&lt;/ref&gt; The following content can be found in texts such as Goodearl's &lt;ref&gt;Goodearl, ''An Introduction to Noncommutative Noetherian Rings''&lt;/ref&gt; and Lam's &lt;ref&gt;Lam, ''First Course in Noncommutative Rings''&lt;/ref&gt;. If {{mvar|R}} is a (possibly noncommutative) ring and {{mvar|P}} is an ideal in {{mvar|R}} other than {{mvar|R}} itself, we say that {{mvar|P}} is '''prime''' if for any two ideals {{mvar|A}} and {{mvar|B}} of {{mvar|R}}:<br /> <br /> * If the product of ideals {{math|''AB''}} is contained in {{mvar|P}}, then at least one of {{mvar|A}} and {{mvar|B}} is contained in {{mvar|P}}.<br /> <br /> It can be shown that this definition is equivalent to the commutative one in commutative rings. It is readily verified that if an ideal of a noncommutative ring {{mvar|R}} satisfies the commutative definition of prime, then it also satisfies the noncommutative version. An ideal {{mvar|P}} satisfying the commutative definition of prime is sometimes called a '''completely prime ideal''' to distinguish it from other merely prime ideals in the ring. Completely prime ideals are prime ideals, but the converse is not true. For example, the zero ideal in the ring of {{math|''n'' × ''n''}} matrices over a field is a prime ideal, but it is not completely prime.<br /> <br /> This is close to the historical point of view of ideals as [[ideal number]]s, as for the ring {{math|'''Z'''}} &quot;{{mvar|A}} is contained in {{mvar|P}}&quot; is another way of saying &quot;{{mvar|P}} divides {{mvar|A}}&quot;, and the unit ideal {{mvar|R}} represents unity.<br /> <br /> Equivalent formulations of the ideal {{math|''P'' ≠ ''R''}} being prime include the following properties:<br /> * For all {{mvar|a}} and {{mvar|b}} in {{mvar|R}}, {{math|(''a'')(''b'') ⊆ ''P''}} implies {{math|''a'' ∈ ''P''}} or {{math|''b'' ∈ ''P''}}.<br /> * For any two ''right'' ideals of {{mvar|R}}, {{math|''AB'' ⊆ ''P''}} implies {{math|''A'' ⊆ ''P''}} or {{math|''B'' ⊆ ''P''}}.<br /> * For any two ''left'' ideals of {{mvar|R}}, {{math|''AB'' ⊆ ''P''}} implies {{math|''A'' ⊆ ''P''}} or {{math|''B'' ⊆ ''P''}}.<br /> * For any elements {{mvar|a}} and {{mvar|b}} of {{mvar|R}}, if {{math|''aRb'' ⊆ ''P''}}, then {{math|''a'' ∈ ''P''}} or {{math|''b'' ∈ ''P''}}.<br /> <br /> Prime ideals in commutative rings are characterized by having [[multiplicatively closed subset|multiplicatively closed]] complements in {{mvar|R}}, and with slight modification, a similar characterization can be formulated for prime ideals in noncommutative rings. A nonempty subset {{math|''S'' ⊆ ''R''}} is called an '''m-system''' if for any {{mvar|a}} and {{mvar|b}} in {{mvar|S}}, there exists {{mvar|r}} in {{mvar|R}} such that ''arb'' is in {{mvar|S}}.&lt;ref&gt;Obviously, multiplicatively closed sets are m-systems.&lt;/ref&gt; The following item can then be added to the list of equivalent conditions above:<br /> <br /> * The complement {{math|''R''\''P''}} is an m-system.<br /> <br /> ===Examples===<br /> * Any [[primitive ideal]] is prime.<br /> * As with commutative rings, maximal ideals are prime, and also prime ideals contain minimal prime ideals.<br /> * A ring is a [[prime ring]] if and only if the zero ideal is a prime ideal, and moreover a ring is a [[integral domain|domain]] if and only if the zero ideal is a completely prime ideal.<br /> * Another fact from commutative theory echoed in noncommutative theory is that if {{mvar|A}} is a nonzero {{mvar|R}} module, and {{mvar|P}} is a maximal element in the [[poset]] of [[Annihilator (ring theory)|annihilator]] ideals of submodules of {{mvar|A}}, then {{mvar|P}} is prime.<br /> <br /> ==Important facts==<br /> *'''[[Prime avoidance lemma]].''' If {{mvar|R}} is a commutative ring, and {{mvar|A}} is a subring (possibly without unity), and {{math|''I''&lt;sub&gt;1&lt;/sub&gt;, ..., ''I&lt;sub&gt;n&lt;/sub&gt;''}} is a collection of ideals of {{mvar|R}} with at most two members not prime, then if {{mvar|A}} is not contained in any {{math|''I&lt;sub&gt;j&lt;/sub&gt;''}}, it is also not contained in the [[union (set theory)|union]] of {{math|''I''&lt;sub&gt;1&lt;/sub&gt;, ..., ''I&lt;sub&gt;n&lt;/sub&gt;''}}.&lt;ref&gt;Jacobson ''Basic Algebra II'', p. 390&lt;/ref&gt; In particular, {{mvar|A}} could be an ideal of {{mvar|R}}.<br /> * If {{mvar|S}} is any m-system in {{mvar|R}}, then a lemma essentially due to Krull shows that there exists an ideal of {{mvar|R}} maximal with respect to being disjoint from {{mvar|S}}, and moreover the ideal must be prime.&lt;ref&gt;Lam ''First Course in Noncommutative Rings'', p. 156&lt;/ref&gt; In the case {{math|{''S''} {{=}} {1},}} we have [[Krull's theorem]], and this recovers the maximal ideals of {{mvar|R}}. Another prototypical m-system is the set, {{math|{''x'', ''x''&lt;sup&gt;2&lt;/sup&gt;, ''x''&lt;sup&gt;3&lt;/sup&gt;, ''x''&lt;sup&gt;4&lt;/sup&gt;, ...},}} of all positive powers of a non-[[nilpotent]] element.<br /> * For a prime ideal {{mvar|P}}, the complement {{math|''R''\''P''}} has another property beyond being an m-system. If ''xy'' is in {{math|''R''\''P''}}, then both {{mvar|x}} and {{mvar|y}} must be in {{math|''R''\''P''}}, since {{mvar|P}} is an ideal. A set that contains the divisors of its elements is called '''saturated'''.<br /> * For a commutative ring {{mvar|R}}, there is a kind of converse for the previous statement: If {{mvar|S}} is any nonempty saturated and multiplicatively closed subset of {{mvar|R}}, the complement {{math|''R''\''S''}} is a union of prime ideals of {{mvar|R}}.&lt;ref&gt;Kaplansky ''Commutative rings'', p. 2&lt;/ref&gt;<br /> *The intersection of members of a descending chain of prime ideals is a prime ideal, and in a commutative ring the union of members of an ascending chain of prime ideals is a prime ideal. With [[Zorn's Lemma]], these observations imply that the poset of prime ideals of a commutative ring (partially ordered by inclusion) has maximal and minimal elements.<br /> <br /> ==Connection to maximality==<br /> Prime ideals can frequently be produced as maximal elements of certain collections of ideals. For example:<br /> * An ideal maximal with respect to having empty intersection with a fixed m-system is prime.<br /> * An ideal maximal among [[Annihilator (ring theory)|annihilators]] of submodules of a fixed {{mvar|R}} module {{mvar|M}} is prime.<br /> * In a commutative ring, an ideal maximal with respect to being non-principal is prime.&lt;ref&gt;Kaplansky ''Commutative rings'', p. 10, Ex 10.&lt;/ref&gt;<br /> * In a commutative ring, an ideal maximal with respect to being not countably generated is prime.&lt;ref&gt;Kaplansky ''Commutative rings'', p. 10, Ex 11.&lt;/ref&gt;<br /> <br /> ==References==<br /> {{Reflist}}<br /> <br /> ==Further reading==<br /> <br /> *{{citation|author1=Goodearl, K. R.|author2=Warfield, R. B., Jr.|title=An introduction to noncommutative Noetherian rings| series=London Mathematical Society Student Texts |volume=61 |edition=2 |publisher=Cambridge University Press | place=Cambridge |year=2004 |pages=xxiv+344&lt;!--|isbn=0-521-83687-5--&gt;|isbn=0-521-54537-4 |mr=2080008 }}<br /> *{{citation|author=Jacobson, Nathan|title=Basic algebra. II|edition=2|publisher=W. H. Freeman and Company |place=New York|year=1989 |pages=xviii+686 |isbn=0-7167-1933-9 |mr=1009787}}<br /> *{{citation|author=Kaplansky, Irving |title=Commutative rings |publisher=Allyn and Bacon Inc. |place=Boston, Mass.|year=1970 |pages=x+180 |mr=0254021 }}<br /> *{{citation|author=Lam, T. Y.|authorlink=Tsit Yuen Lam |title=A first course in noncommutative rings |series=Graduate Texts in Mathematics|volume=131 |edition=2nd |publisher=Springer-Verlag |place=New York |year=2001 |pages=xx+385 |isbn=0-387-95183-0 |mr=1838439 | zbl=0980.16001 }}<br /> *{{citation|author1=Lam, T. Y. | author1-link=Tsit Yuen Lam |author2=Reyes, Manuel L. |title=A prime ideal principle in commutative algebra |journal=J. Algebra |volume=319 |year=2008 |number=7 |pages=3006–3027 |issn=0021-8693 |mr=2397420 | zbl=1168.13002 |doi=10.1016/j.jalgebra.2007.07.016}}<br /> * {{springer|title=Prime ideal|id=p/p074510}}<br /> <br /> {{DEFAULTSORT:Prime Ideal}}<br /> [[Category:Prime ideals| ]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Prime_ideal&diff=763351066 Prime ideal 2017-02-02T19:05:36Z <p>Magmalex: /* Prime ideals for noncommutative rings */ added inline reference</p> <hr /> <div>{{about|ideals in [[ring theory]]|prime ideals in order theory|ideal (order theory)#Prime ideals}}<br /> [[File:A portion of the lattice of ideals of Z illustrating prime, semiprime and primary ideals SVG.svg|A portion of the lattice of ideals of Z illustrating prime, semiprime and primary ideals|thumb|right|320px|A [[Hasse diagram]] of a portion of the lattice of ideals of the integers {{math|'''Z'''}}. The purple nodes indicate prime ideals. The purple and green nodes are [[semiprime ideal]]s, and the purple and blue nodes are [[primary ideal]]s.]] In [[algebra]], a '''prime ideal''' is a [[subset]] of a [[ring (mathematics)|ring]] that shares many important properties of a [[prime number]] in the [[ring of integers]].&lt;ref&gt;{{cite book | last1=Dummit | first1=David S. | last2=Foote | first2=Richard M. | title=Abstract Algebra | publisher=[[John Wiley &amp; Sons]] | year=2004 | edition=3rd | isbn=0-471-43334-9}}&lt;/ref&gt;&lt;ref&gt;{{cite book | last=Lang | first=Serge | authorlink=Serge Lang | title=Algebra | publisher=[[Springer Science+Business Media|Springer]] | series=[[Graduate Texts in Mathematics]] | year=2002 | isbn=0-387-95385-X}}&lt;/ref&gt; The prime ideals for the integers are the sets that contain all the multiples of a given prime number, together with the [[zero ideal]].<br /> <br /> [[Primitive ideal]]s are prime, and prime ideals are both [[primary ideal|primary]] and [[semiprime ideal|semiprime]].<br /> <br /> ==Prime ideals for commutative rings==<br /> An [[ideal (ring theory)|ideal]] {{mvar|P}} of a [[commutative ring]] {{mvar|R}} is '''prime''' if it has the following two properties:<br /> <br /> * If {{mvar|a}} and {{mvar|b}} are two elements of {{mvar|R}} such that their product {{math|''ab''}} is an element of {{mvar|P}}, then {{math|''a''}} is in {{mvar|P}} or {{math|''b''}} is in {{mvar|P}},<br /> * {{mvar|P}} is not equal to {{mvar|R}} for the whole ring.<br /> <br /> This generalizes the following property of prime numbers: if {{math|''p''}} is a prime number and if {{math|''p''}} divides a product {{math|''ab''}} of two [[integer]]s, then {{math|''p''}} divides {{math|''a''}} or {{math|''p''}} divides {{math|''b''}}. We can therefore say<br /> <br /> :A positive integer {{mvar|n}} is a prime number if and only if {{math|''n'''''Z'''}} is a prime ideal in {{math|'''Z'''}}.<br /> <br /> ===Examples===<br /> * A simple example: For {{mvar|R}}={{math|'''Z'''}}, the set of even numbers is a prime ideal.<br /> * If {{mvar|R}} denotes the ring {{math|'''C'''[''X'', ''Y'']}} of [[polynomial]]s in two variables with [[complex number|complex]] coefficients, then the ideal generated by the polynomial {{math|''Y''&lt;sup&gt;&amp;thinsp;2&lt;/sup&gt; − ''X''&lt;sup&gt;&amp;thinsp;3&lt;/sup&gt; − ''X'' − 1}} is a prime ideal (see [[elliptic curve]]).<br /> * In the ring {{math|'''Z'''[''X'']}} of all polynomials with integer coefficients, the ideal generated by {{math|2}} and {{mvar|X}} is a prime ideal. It consists of all those polynomials whose constant coefficient is even.<br /> * In any ring {{mvar|R}}, a '''[[maximal ideal]]''' is an ideal {{mvar|M}} that is [[maximal element|maximal]] in the set of all proper ideals of {{mvar|R}}, i.e. {{mvar|M}} is [[subset|contained in]] exactly two ideals of {{mvar|R}}, namely {{mvar|M}} itself and the entire ring {{mvar|R}}. Every maximal ideal is in fact prime. In a [[principal ideal domain]] every nonzero prime ideal is maximal, but this is not true in general.<br /> * If {{mvar|M}} is a smooth [[manifold]], {{mvar|R}} is the ring of smooth real functions on {{mvar|M}}, and {{mvar|x}} is a point in {{mvar|M}}, then the set of all smooth functions {{mvar|f}} with {{math|''f''&amp;thinsp;(''x'') {{=}} 0}} forms a prime ideal (even a maximal ideal) in {{mvar|R}}.<br /> <br /> ===Properties===<br /> * An ideal {{math|''I''}} in the ring {{mvar|R}} (with unity) is prime if and only if the factor ring {{math|''R''/''I''}} is an [[integral domain]]. In particular, a commutative ring is an integral domain if and only if {{math|(0) }} is a prime ideal.<br /> * An ideal {{math|''I''}} is prime if and only if its set-theoretic complement is [[multiplicatively closed set|multiplicatively closed]].&lt;ref&gt;{{cite book | last=Reid | first=Miles | authorlink=Miles Reid | title=Undergraduate Commutative Algebra | publisher=[[Cambridge University Press]] | year=1996 | isbn=0-521-45889-7}}&lt;/ref&gt;<br /> * Every nonzero ring contains at least one prime ideal (in fact it contains at least one maximal ideal), which is a direct consequence of [[Krull's theorem]].<br /> * The set of all prime ideals (the spectrum of a ring) contains minimal elements (called [[minimal prime (commutative algebra)|minimal prime]]). Geometrically, these correspond to irreducible components of the spectrum.<br /> * The [[preimage]] of a prime ideal under a ring homomorphism is a prime ideal.<br /> * The sum of two prime ideals is not necessarily prime. For an example, consider the ring {{math|'''C'''[''x'', ''y'']}} with prime ideals {{math|''P'' {{=}} (''x''&lt;sup&gt;2&lt;/sup&gt; + ''y''&lt;sup&gt;2&lt;/sup&gt; − 1)}} and {{math|''Q'' {{=}} (''x'')}} (the ideals generated by {{math|''x''&lt;sup&gt;2&lt;/sup&gt; + ''y''&lt;sup&gt;2&lt;/sup&gt; − 1}} and ''x'' respectively). Their sum {{math|''P'' + ''Q'' {{=}} (''x''&lt;sup&gt;2&lt;/sup&gt; + ''y''&lt;sup&gt;2&lt;/sup&gt; − 1, ''x'') {{=}} (''y''&lt;sup&gt;2&lt;/sup&gt; − 1, ''x'')}} however is not prime: {{math|''y''&lt;sup&gt;2&lt;/sup&gt; − 1 {{=}} (''y'' − 1)(''y'' + 1) ∈ ''P'' + ''Q''}} but its two factors are not. Alternatively, note that the quotient ring has zero divisors so it is not an integral domain and thus {{math|''P'' + ''Q''}} cannot be prime.<br /> * In a commutative ring {{mvar|R}} with at least two elements, if every proper ideal is prime, then the ring is a field. (If the ideal {{math|(0)}} is prime, then the ring {{mvar|R}} is an integral domain. If {{mvar|q}} is any non-zero element of {{mvar|R}} and the ideal {{math|(''q''&lt;sup&gt;2&lt;/sup&gt;)}} is prime, then it contains {{mvar|q}} and then {{mvar|q}} is invertible.)<br /> * A nonzero principal ideal is prime if and only if it is generated by a [[prime element]]. In a UFD, every nonzero prime ideal contains a prime element.<br /> <br /> ===Uses===<br /> One use of prime ideals occurs in [[algebraic geometry]], where varieties are defined as the zero sets of ideals in polynomial rings. It turns out that the irreducible varieties correspond to prime ideals. In the modern abstract approach, one starts with an arbitrary commutative ring and turns the set of its prime ideals, also called its [[spectrum of a ring|spectrum]], into a [[topological space]] and can thus define generalizations of varieties called [[scheme (mathematics)|schemes]], which find applications not only in [[geometry]], but also in [[number theory]].<br /> <br /> The introduction of prime ideals in [[algebraic number theory]] was a major step forward: it was realized that the important property of unique factorisation expressed in the [[fundamental theorem of arithmetic]] does not hold in every ring of [[algebraic integer]]s, but a substitute was found when [[Richard Dedekind]] replaced elements by ideals and prime elements by prime ideals; see [[Dedekind domain]].<br /> <br /> ==Prime ideals for noncommutative rings==<br /> The notion of a prime ideal can be generalized to noncommutative rings by using the commutative definition &quot;ideal-wise&quot;. [[Wolfgang Krull]] advanced this idea in 1928.&lt;ref&gt;Krull, Wolfgang, ''Primidealketten in allgemeinen Ringbereichen'', Sitzungsberichte Heidelberg. Akad. Wissenschaft (1928), 7. Abhandl.,3-14.&lt;/ref&gt; The following content can be found in texts such as {{harv|Goodearl|2004}} and Lam's &lt;ref&gt;Lam ''First Course in Noncommutative Rings''&lt;/ref&gt;. If {{mvar|R}} is a (possibly noncommutative) ring and {{mvar|P}} is an ideal in {{mvar|R}} other than {{mvar|R}} itself, we say that {{mvar|P}} is '''prime''' if for any two ideals {{mvar|A}} and {{mvar|B}} of {{mvar|R}}:<br /> <br /> * If the product of ideals {{math|''AB''}} is contained in {{mvar|P}}, then at least one of {{mvar|A}} and {{mvar|B}} is contained in {{mvar|P}}.<br /> <br /> It can be shown that this definition is equivalent to the commutative one in commutative rings. It is readily verified that if an ideal of a noncommutative ring {{mvar|R}} satisfies the commutative definition of prime, then it also satisfies the noncommutative version. An ideal {{mvar|P}} satisfying the commutative definition of prime is sometimes called a '''completely prime ideal''' to distinguish it from other merely prime ideals in the ring. Completely prime ideals are prime ideals, but the converse is not true. For example, the zero ideal in the ring of {{math|''n'' × ''n''}} matrices over a field is a prime ideal, but it is not completely prime.<br /> <br /> This is close to the historical point of view of ideals as [[ideal number]]s, as for the ring {{math|'''Z'''}} &quot;{{mvar|A}} is contained in {{mvar|P}}&quot; is another way of saying &quot;{{mvar|P}} divides {{mvar|A}}&quot;, and the unit ideal {{mvar|R}} represents unity.<br /> <br /> Equivalent formulations of the ideal {{math|''P'' ≠ ''R''}} being prime include the following properties:<br /> * For all {{mvar|a}} and {{mvar|b}} in {{mvar|R}}, {{math|(''a'')(''b'') ⊆ ''P''}} implies {{math|''a'' ∈ ''P''}} or {{math|''b'' ∈ ''P''}}.<br /> * For any two ''right'' ideals of {{mvar|R}}, {{math|''AB'' ⊆ ''P''}} implies {{math|''A'' ⊆ ''P''}} or {{math|''B'' ⊆ ''P''}}.<br /> * For any two ''left'' ideals of {{mvar|R}}, {{math|''AB'' ⊆ ''P''}} implies {{math|''A'' ⊆ ''P''}} or {{math|''B'' ⊆ ''P''}}.<br /> * For any elements {{mvar|a}} and {{mvar|b}} of {{mvar|R}}, if {{math|''aRb'' ⊆ ''P''}}, then {{math|''a'' ∈ ''P''}} or {{math|''b'' ∈ ''P''}}.<br /> <br /> Prime ideals in commutative rings are characterized by having [[multiplicatively closed subset|multiplicatively closed]] complements in {{mvar|R}}, and with slight modification, a similar characterization can be formulated for prime ideals in noncommutative rings. A nonempty subset {{math|''S'' ⊆ ''R''}} is called an '''m-system''' if for any {{mvar|a}} and {{mvar|b}} in {{mvar|S}}, there exists {{mvar|r}} in {{mvar|R}} such that ''arb'' is in {{mvar|S}}.&lt;ref&gt;Obviously, multiplicatively closed sets are m-systems.&lt;/ref&gt; The following item can then be added to the list of equivalent conditions above:<br /> <br /> * The complement {{math|''R''\''P''}} is an m-system.<br /> <br /> ===Examples===<br /> * Any [[primitive ideal]] is prime.<br /> * As with commutative rings, maximal ideals are prime, and also prime ideals contain minimal prime ideals.<br /> * A ring is a [[prime ring]] if and only if the zero ideal is a prime ideal, and moreover a ring is a [[integral domain|domain]] if and only if the zero ideal is a completely prime ideal.<br /> * Another fact from commutative theory echoed in noncommutative theory is that if {{mvar|A}} is a nonzero {{mvar|R}} module, and {{mvar|P}} is a maximal element in the [[poset]] of [[Annihilator (ring theory)|annihilator]] ideals of submodules of {{mvar|A}}, then {{mvar|P}} is prime.<br /> <br /> ==Important facts==<br /> *'''[[Prime avoidance lemma]].''' If {{mvar|R}} is a commutative ring, and {{mvar|A}} is a subring (possibly without unity), and {{math|''I''&lt;sub&gt;1&lt;/sub&gt;, ..., ''I&lt;sub&gt;n&lt;/sub&gt;''}} is a collection of ideals of {{mvar|R}} with at most two members not prime, then if {{mvar|A}} is not contained in any {{math|''I&lt;sub&gt;j&lt;/sub&gt;''}}, it is also not contained in the [[union (set theory)|union]] of {{math|''I''&lt;sub&gt;1&lt;/sub&gt;, ..., ''I&lt;sub&gt;n&lt;/sub&gt;''}}.&lt;ref&gt;Jacobson ''Basic Algebra II'', p. 390&lt;/ref&gt; In particular, {{mvar|A}} could be an ideal of {{mvar|R}}.<br /> * If {{mvar|S}} is any m-system in {{mvar|R}}, then a lemma essentially due to Krull shows that there exists an ideal of {{mvar|R}} maximal with respect to being disjoint from {{mvar|S}}, and moreover the ideal must be prime.&lt;ref&gt;Lam ''First Course in Noncommutative Rings'', p. 156&lt;/ref&gt; In the case {{math|{''S''} {{=}} {1},}} we have [[Krull's theorem]], and this recovers the maximal ideals of {{mvar|R}}. Another prototypical m-system is the set, {{math|{''x'', ''x''&lt;sup&gt;2&lt;/sup&gt;, ''x''&lt;sup&gt;3&lt;/sup&gt;, ''x''&lt;sup&gt;4&lt;/sup&gt;, ...},}} of all positive powers of a non-[[nilpotent]] element.<br /> * For a prime ideal {{mvar|P}}, the complement {{math|''R''\''P''}} has another property beyond being an m-system. If ''xy'' is in {{math|''R''\''P''}}, then both {{mvar|x}} and {{mvar|y}} must be in {{math|''R''\''P''}}, since {{mvar|P}} is an ideal. A set that contains the divisors of its elements is called '''saturated'''.<br /> * For a commutative ring {{mvar|R}}, there is a kind of converse for the previous statement: If {{mvar|S}} is any nonempty saturated and multiplicatively closed subset of {{mvar|R}}, the complement {{math|''R''\''S''}} is a union of prime ideals of {{mvar|R}}.&lt;ref&gt;Kaplansky ''Commutative rings'', p. 2&lt;/ref&gt;<br /> *The intersection of members of a descending chain of prime ideals is a prime ideal, and in a commutative ring the union of members of an ascending chain of prime ideals is a prime ideal. With [[Zorn's Lemma]], these observations imply that the poset of prime ideals of a commutative ring (partially ordered by inclusion) has maximal and minimal elements.<br /> <br /> ==Connection to maximality==<br /> Prime ideals can frequently be produced as maximal elements of certain collections of ideals. For example:<br /> * An ideal maximal with respect to having empty intersection with a fixed m-system is prime.<br /> * An ideal maximal among [[Annihilator (ring theory)|annihilators]] of submodules of a fixed {{mvar|R}} module {{mvar|M}} is prime.<br /> * In a commutative ring, an ideal maximal with respect to being non-principal is prime.&lt;ref&gt;Kaplansky ''Commutative rings'', p. 10, Ex 10.&lt;/ref&gt;<br /> * In a commutative ring, an ideal maximal with respect to being not countably generated is prime.&lt;ref&gt;Kaplansky ''Commutative rings'', p. 10, Ex 11.&lt;/ref&gt;<br /> <br /> ==References==<br /> {{Reflist}}<br /> <br /> ==Further reading==<br /> <br /> *{{citation|author1=Goodearl, K. R.|author2=Warfield, R. B., Jr.|title=An introduction to noncommutative Noetherian rings| series=London Mathematical Society Student Texts |volume=61 |edition=2 |publisher=Cambridge University Press | place=Cambridge |year=2004 |pages=xxiv+344&lt;!--|isbn=0-521-83687-5--&gt;|isbn=0-521-54537-4 |mr=2080008 }}<br /> *{{citation|author=Jacobson, Nathan|title=Basic algebra. II|edition=2|publisher=W. H. Freeman and Company |place=New York|year=1989 |pages=xviii+686 |isbn=0-7167-1933-9 |mr=1009787}}<br /> *{{citation|author=Kaplansky, Irving |title=Commutative rings |publisher=Allyn and Bacon Inc. |place=Boston, Mass.|year=1970 |pages=x+180 |mr=0254021 }}<br /> *{{citation|author=Lam, T. Y.|authorlink=Tsit Yuen Lam |title=A first course in noncommutative rings |series=Graduate Texts in Mathematics|volume=131 |edition=2nd |publisher=Springer-Verlag |place=New York |year=2001 |pages=xx+385 |isbn=0-387-95183-0 |mr=1838439 | zbl=0980.16001 }}<br /> *{{citation|author1=Lam, T. Y. | author1-link=Tsit Yuen Lam |author2=Reyes, Manuel L. |title=A prime ideal principle in commutative algebra |journal=J. Algebra |volume=319 |year=2008 |number=7 |pages=3006–3027 |issn=0021-8693 |mr=2397420 | zbl=1168.13002 |doi=10.1016/j.jalgebra.2007.07.016}}<br /> * {{springer|title=Prime ideal|id=p/p074510}}<br /> <br /> {{DEFAULTSORT:Prime Ideal}}<br /> [[Category:Prime ideals| ]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Adjoint_functors&diff=700931547 Adjoint functors 2016-01-21T13:44:16Z <p>Magmalex: Added an external link</p> <hr /> <div>{{About||the construction in field theory|Adjunction (field theory)|the construction in topology|Adjunction space}}<br /> <br /> In [[mathematics]], specifically [[category theory]], '''adjunction''' is a possible relationship between two [[functor]]s.<br /> <br /> Adjunction is ubiquitous in mathematics, as it specifies intuitive notions of optimization and efficiency.<br /> <br /> In the most concise symmetric definition, an adjunction between categories ''C'' and ''D'' is a pair of functors,<br /> :&lt;math&gt;F: \mathcal{D} \rightarrow \mathcal{C}&lt;/math&gt; &amp;nbsp; and &amp;nbsp; &lt;math&gt;G: \mathcal{C} \rightarrow \mathcal{D}&lt;/math&gt;<br /> and a family of [[bijection]]s<br /> :&lt;math&gt;\mathrm{hom}_{\mathcal{C}}(FY,X) \cong \mathrm{hom}_{\mathcal{D}}(Y,GX)&lt;/math&gt;<br /> which is [[natural transformation|natural]] in the variables ''X'' and ''Y''. The functor ''F'' is called a '''left adjoint functor''', while ''G'' is called a '''right adjoint functor'''. The relationship “''F'' is left adjoint to ''G''” (or equivalently, “''G'' is right adjoint to ''F''”) is sometimes written<br /> :&lt;math&gt;F\dashv G.&lt;/math&gt;<br /> <br /> This definition and others are made precise below.<br /> <br /> == Introduction ==<br /> <br /> “The slogan is ‘Adjoint functors arise everywhere’.” (Saunders Mac Lane, ''Categories for the working mathematician'')<br /> <br /> The [[Adjoint functors#Examples|long list of examples]] in this article is only a partial indication of how often an interesting mathematical construction is an adjoint functor. As a result, general theorems about left/right adjoint functors, such as the equivalence of their various definitions or the fact that they respectively preserve [[Limit (category theory)|colimits/limits]] (which are also found in every area of mathematics), can encode the details of many useful and otherwise non-trivial results.<br /> <br /> === Spelling (or [[morphology (linguistics)|morphology]]) ===<br /> <br /> One can observe (e.g. in this article), two different [[root (linguistics)|roots]] are used: &quot;adjunct&quot; and &quot;adjoint&quot;. From Oxford shorter English dictionary, &quot;adjunct&quot; is from Latin, &quot;adjoint&quot; is from French.<br /> <br /> In Mac Lane, ''Categories for the working mathematician,'' chap. 4, &quot;Adjoints&quot;, one can verify the following usage.<br /> <br /> &lt;math&gt;\varphi: \mathrm{hom}_{\mathcal{C}}(FY,X) \cong \mathrm{hom}_{\mathcal{D}}(Y,GX)&lt;/math&gt;<br /> <br /> The hom-set bijection &lt;math&gt;\varphi&lt;/math&gt; is an &quot;adjunction&quot;.<br /> <br /> If &lt;math&gt;f&lt;/math&gt; an arrow in &lt;math&gt; \mathrm{hom}_{\mathcal{C}}(FY,X) &lt;/math&gt;, &lt;math&gt;\varphi f&lt;/math&gt; is the right &quot;adjunct&quot; of &lt;math&gt;f&lt;/math&gt; (p.&amp;nbsp;81).<br /> <br /> The functor &lt;math&gt; F &lt;/math&gt; is left &quot;adjoint&quot; for &lt;math&gt;G&lt;/math&gt;.<br /> <br /> == Motivation ==<br /> <br /> ===Solutions to optimization problems===<br /> It can be said that an adjoint functor is a way of giving the ''most efficient'' solution to some problem via a method which is ''formulaic''. For example, an elementary problem in [[ring theory]] is how to turn a [[Rng (algebra)|rng]] (which is like a ring that might not have a multiplicative identity) into a [[ring (mathematics)|ring]]. The ''most efficient'' way is to adjoin an element '1' to the rng, adjoin all (and only) the elements which are necessary for satisfying the ring axioms (e.g. ''r''+1 for each ''r'' in the ring), and impose no relations in the newly formed ring that are not forced by axioms. Moreover, this construction is ''formulaic'' in the sense that it works in essentially the same way for any rng.<br /> <br /> This is rather vague, though suggestive, and can be made precise in the language of category theory: a construction is ''most efficient'' if it satisfies a [[universal property]], and is ''formulaic'' if it defines a [[functor]]. Universal properties come in two types: initial properties and terminal properties. Since these are [[dual (category theory)|dual]] (opposite) notions, it is only necessary to discuss one of them.<br /> <br /> The idea of using an initial property is to set up the problem in terms of some auxiliary category ''E'', and then identify that what we want is to find an [[initial object]] of ''E''. This has an advantage that the ''optimization'' — the sense that we are finding the ''most efficient'' solution — means something rigorous and is recognisable, rather like the attainment of a [[supremum]]. The category ''E'' is also formulaic in this construction, since it is always the category of elements of the functor to which one is constructing an adjoint. In fact, this latter category is precisely the [[comma category]] over the functor in question.<br /> <br /> As an example, take the given rng ''R'', and make a category ''E'' whose ''objects'' are rng homomorphisms ''R'' → ''S'', with ''S'' a ring having a multiplicative identity. The ''morphisms'' in ''E'' between ''R'' → ''S&lt;sub&gt;1&lt;/sub&gt;'' and ''R'' → ''S&lt;sub&gt;2&lt;/sub&gt;'' are [[commutative diagram|commutative triangles]] of the form (''R'' → ''S&lt;sub&gt;1&lt;/sub&gt;'',''R'' → ''S&lt;sub&gt;2&lt;/sub&gt;'', ''S&lt;sub&gt;1&lt;/sub&gt;'' → ''S&lt;sub&gt;2&lt;/sub&gt;'') where S&lt;sub&gt;1&lt;/sub&gt; → S&lt;sub&gt;2&lt;/sub&gt; is a ring map (which preserves the identity). Note that this is precisely the definition of the comma category of ''R'' over the inclusion of unitary rings into rng. The existence of a morphism between ''R'' → ''S&lt;sub&gt;1&lt;/sub&gt;'' and ''R'' → ''S&lt;sub&gt;2&lt;/sub&gt;'' implies that ''S&lt;sub&gt;1&lt;/sub&gt;'' is at least as efficient a solution as ''S&lt;sub&gt;2&lt;/sub&gt;'' to our problem: ''S&lt;sub&gt;2&lt;/sub&gt;'' can have more adjoined elements and/or more relations not imposed by axioms than ''S&lt;sub&gt;1&lt;/sub&gt;''.<br /> Therefore, the assertion that an object ''R'' → ''R*'' is initial in ''E'', that is, that there is a morphism from it to any other element of ''E'', means that the ring ''R''* is a ''most efficient'' solution to our problem.<br /> <br /> The two facts that this method of turning rngs into rings is ''most efficient'' and ''formulaic'' can be expressed simultaneously by saying that it defines an ''adjoint functor''.<br /> &lt;!--<br /> One way to see what is achieved by using either formulation is to try a direct method. One simply adds to ''R'' a new element 1, and calculates on the basis that any equation resulting is valid ''[[if and only if]] it holds for all rings'' that we can create from ''R'' and 1. This is an [[impredicative]] method: meaning that the ring we are trying to construct is one of the rings quantified over in 'all rings'.<br /> --&gt;<br /> &lt;!--<br /> More explicitly: Let ''F'' denote the above process of adjoining an identity to a rng, so ''F''(''R'')=''R''*. Let ''G'' denote the process of “forgetting″ whether a ring ''S'' has an identity and considering it simply as a rng, so essentially ''G''(''S'')=''S''. If we understand the definition of adjoint functors via universal properties, then saying that ''F'' is the ''left adjoint functor'' of ''G'' will be a precise way of saying that ''F'' is the most efficient solution to our problem (and is formulaic).<br /> --&gt;<br /> <br /> ===Symmetry of optimization problems===<br /> <br /> Continuing this discussion, suppose we ''started'' with the functor ''F'', and posed the following (vague) question: is there a problem to which ''F'' is the most efficient solution?<br /> <br /> The notion that ''F'' is the ''most efficient solution'' to the problem posed by ''G'' is, in a certain rigorous sense, equivalent to the notion that ''G'' poses the ''most difficult problem'' that ''F'' solves. {{Citation needed|date=March 2011}}<br /> <br /> This has the intuitive meaning that adjoint functors should occur in pairs, and in fact they do, but this is not trivial from the universal morphism definitions. The equivalent symmetric definitions involving adjunctions and the symmetric language of adjoint functors (we can say either ''F'' is left adjoint to ''G'' or ''G'' is right adjoint to ''F'') have the advantage of making this fact explicit.<br /> <br /> ==Formal definitions==<br /> <br /> There are various definitions for adjoint functors. Their equivalence is elementary but not at all trivial and in fact highly useful. This article provides several such definitions:<br /> <br /> * The definitions via universal morphisms are easy to state, and require minimal verifications when constructing an adjoint functor or proving two functors are adjoint. They are also the most analogous to our intuition involving optimizations.<br /> * The definition via counit-unit adjunction is convenient for proofs about functors which are known to be adjoint, because they provide formulas that can be directly manipulated.<br /> * The definition via hom-sets makes symmetry the most apparent, and is the reason for using the word ''adjoint''.<br /> <br /> Adjoint functors arise everywhere, in all areas of mathematics. Their full usefulness lies in that the structure in any of these definitions gives rise to the structures in the others via a long but trivial series of deductions. Thus, switching between them makes implicit use of a great deal of tedious details that would otherwise have to be repeated separately in every subject area. For example, naturality and terminality of the counit can be used to prove that any right adjoint functor preserves limits.<br /> <br /> ===Conventions===<br /> <br /> The theory of adjoints has the terms ''left'' and ''right'' at its foundation, and there are many components which live in one of two categories ''C'' and ''D'' which are under consideration. It can therefore be extremely helpful to choose letters in alphabetical order according to whether they live in the &quot;lefthand&quot; category ''C'' or the &quot;righthand&quot; category ''D'', and also to write them down in this order whenever possible.<br /> <br /> In this article for example, the letters ''X'', ''F'', ''f'', ε will consistently denote things which live in the category ''C'', the letters ''Y'', ''G'', ''g'', η will consistently denote things which live in the category ''D'', and whenever possible such things will be referred to in order from left to right (a functor ''F'':''C''←''D'' can be thought of as &quot;living&quot; where its outputs are, in ''C'').<br /> <br /> ===Universal morphisms===<br /> <br /> A functor ''F'' : ''C'' ← ''D'' is a '''left adjoint functor''' if for each object ''X'' in ''C'', there exists a [[terminal morphism]] from ''F'' to ''X''. If, for each object ''X'' in ''C'', we choose an object ''G''&lt;sub&gt;0&lt;/sub&gt;''X'' of ''D'' for which there is a terminal morphism ε&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''G''&lt;sub&gt;0&lt;/sub&gt;''X'') → ''X'' from ''F'' to ''X'', then there is a unique functor ''G'' : ''C'' → ''D'' such that ''GX'' = ''G''&lt;sub&gt;0&lt;/sub&gt;''X'' and ε&lt;sub&gt;''Xʹ''&lt;/sub&gt; ∘ ''FG''(''f'') = ''f'' ∘ ε&lt;sub&gt;''X''&lt;/sub&gt; for ''f'' : ''X'' → ''Xʹ'' a morphism in ''C''; ''F'' is then called a '''left adjoint to ''' ''G''.<br /> <br /> A functor ''G'' : ''C'' → ''D'' is a '''right adjoint functor''' if for each object ''Y'' in ''D'', there exists an [[initial morphism]] from ''Y'' to ''G''. If, for each object ''Y'' in ''D'', we choose an object ''F''&lt;sub&gt;0&lt;/sub&gt;''Y'' of ''C'' and an initial morphism η&lt;sub&gt;''Y''&lt;/sub&gt; : ''Y'' → ''G''(''F''&lt;sub&gt;0&lt;/sub&gt;''Y'') from ''Y'' to ''G'', then there is a unique functor ''F'' : ''C'' ← ''D'' such that ''FY'' = ''F''&lt;sub&gt;0&lt;/sub&gt;''Y'' and ''GF''(''g'') ∘ η&lt;sub&gt;''Y''&lt;/sub&gt; = η&lt;sub&gt;''Yʹ''&lt;/sub&gt; ∘ ''g'' for ''g'' : ''Y'' → ''Yʹ'' a morphism in ''D''; ''G'' is then called a '''right adjoint to ''' ''F''.<br /> <br /> ''' ''Remarks: '' '''<br /> <br /> It is true, as the terminology implies, that ''F'' is ''left adjoint to G'' if and only if ''G'' is ''right adjoint to F''. This is apparent from the symmetric definitions given below. The definitions via universal morphisms are often useful for establishing that a given functor is left or right adjoint, because they are minimalistic in their requirements. They are also intuitively meaningful in that finding a universal morphism is like solving an optimization problem.<br /> <br /> ===Counit-unit adjunction===<br /> <br /> A '''counit-unit adjunction''' between two categories ''C'' and ''D'' consists of two [[functor]]s ''F'' : ''C'' ← ''D'' and ''G'' : ''C'' → ''D'' and two [[natural transformation]]s<br /> :&lt;math&gt;\begin{align}<br /> \varepsilon &amp;: FG \to 1_{\mathcal C} \\<br /> \eta &amp;: 1_{\mathcal D} \to GF\end{align}&lt;/math&gt;<br /> respectively called the '''counit''' and the '''unit''' of the adjunction (terminology from [[universal algebra]]), such that the compositions<br /> :&lt;math&gt;F\xrightarrow{\;F\eta\;}FGF\xrightarrow{\;\varepsilon F\,}F&lt;/math&gt;<br /> :&lt;math&gt;G\xrightarrow{\;\eta G\;}GFG\xrightarrow{\;G \varepsilon\,}G&lt;/math&gt;<br /> are the identity transformations 1&lt;sub&gt;''F''&lt;/sub&gt; and 1&lt;sub&gt;''G''&lt;/sub&gt; on ''F'' and ''G'' respectively.<br /> <br /> In this situation we say that ''' ''F'' is left adjoint to ''G'' ''' and ''' ''G'' is right adjoint to ''F'' ''', and may indicate this relationship by writing &amp;nbsp;&lt;math&gt;(\varepsilon,\eta):F\dashv G&lt;/math&gt;&amp;nbsp;, or simply &amp;nbsp;&lt;math&gt;F\dashv G&lt;/math&gt;&amp;nbsp;.<br /> <br /> In equation form, the above conditions on (ε,η) are the '''counit-unit equations'''<br /> :&lt;math&gt;\begin{align}<br /> 1_F &amp;= \varepsilon F\circ F\eta\\<br /> 1_G &amp;= G\varepsilon \circ \eta G<br /> \end{align}&lt;/math&gt;<br /> which mean that for each ''X'' in ''C'' and each ''Y'' in ''D'',<br /> :&lt;math&gt;\begin{align}<br /> 1_{FY} &amp;= \varepsilon_{FY}\circ F(\eta_Y) \\<br /> 1_{GX} &amp;= G(\varepsilon_X)\circ\eta_{GX}<br /> \end{align}&lt;/math&gt;.<br /> <br /> Note that here &lt;math&gt;1&lt;/math&gt; denotes identity functors, while above the same symbol was used for identity natural transformations.<br /> <br /> These equations are useful in reducing proofs about adjoint functors to algebraic manipulations. They are sometimes called the ''zig-zag equations'' because of the appearance of the corresponding [[string diagram]]s. A way to remember them is to first write down the nonsensical equation &lt;math&gt;1=\varepsilon\circ\eta&lt;/math&gt; and then fill in either ''F'' or ''G'' in one of the two simple ways which make the compositions defined.<br /> <br /> Note: The use of the prefix &quot;co&quot; in counit here is not consistent with the terminology of limits and colimits, because a colimit satisfies an ''initial'' property whereas the counit morphisms will satisfy ''terminal'' properties, and dually. The term ''unit'' here is borrowed from the theory of [[Monad (category theory)|monads]] where it looks like the insertion of the identity 1 into a monoid.<br /> <br /> ===Hom-set adjunction===<br /> <br /> A '''[[hom-set]] adjunction''' between two categories ''C'' and ''D'' consists of two [[functor]]s ''F'' : ''C'' ← ''D'' and ''G'' : ''C'' → ''D'' and a [[natural isomorphism]]<br /> :&lt;math&gt;\Phi:\mathrm{hom}_C(F-,-) \to \mathrm{hom}_D(-,G-)&lt;/math&gt;.<br /> This specifies a family of bijections<br /> :&lt;math&gt;\Phi_{Y,X}:\mathrm{hom}_C(FY,X) \to \mathrm{hom}_D(Y,GX)&lt;/math&gt;.<br /> for all objects ''X'' in ''C'' and ''Y'' in ''D''.<br /> <br /> In this situation we say that ''' ''F'' is left adjoint to ''G'' ''' and ''' ''G'' is right adjoint to ''F'' ''', and may indicate this relationship by writing &amp;nbsp;&lt;math&gt;\Phi:F\dashv G&lt;/math&gt;&amp;nbsp;, or simply &amp;nbsp;&lt;math&gt;F\dashv G&lt;/math&gt;&amp;nbsp;.<br /> <br /> This definition is a logical compromise in that it is somewhat more difficult to satisfy than the universal morphism definitions, and has fewer immediate implications than the counit-unit definition. It is useful because of its obvious symmetry, and as a stepping-stone between the other definitions.<br /> <br /> In order to interpret Φ as a ''natural isomorphism'', one must recognize hom&lt;sub&gt;''C''&lt;/sub&gt;(''F''–, –) and hom&lt;sub&gt;''D''&lt;/sub&gt;(–, ''G''–) as functors. In fact, they are both [[bifunctor]]s from ''D''&lt;sup&gt;op&lt;/sup&gt; × ''C'' to '''Set''' (the [[category of sets]]). For details, see the article on [[hom functor]]s. Explicitly, the naturality of Φ means that for all [[morphism]]s ''f'' : ''X'' → ''X′'' in ''C'' and all morphisms ''g'' : ''Y′ '' → ''Y'' in ''D'' the following diagram [[commutative diagram|commutes]]:<br /> <br /> [[File:Natural phi.svg|center|Naturality of Φ|400px]]<br /> <br /> The vertical arrows in this diagram are those induced by composition with ''f'' and ''g''. Formally, Hom(''Fg'', ''f'') : Hom&lt;sub&gt;C&lt;/sub&gt;(''FY'', ''X'') → Hom&lt;sub&gt;C&lt;/sub&gt;(''FY′'', ''X′'') is given by ''h'' → ''f &lt;small&gt;o&lt;/small&gt; h &lt;small&gt;o&lt;/small&gt; Fg'' for each ''h'' in Hom&lt;sub&gt;C&lt;/sub&gt;(''FY'', ''X''). Hom(''g'', ''Gf'') is similar.<br /> <br /> ==Adjunctions in full==<br /> <br /> There are hence numerous functors and natural transformations associated with every adjunction, and only a small portion is sufficient to determine the rest.<br /> <br /> An ''adjunction'' between categories ''C'' and ''D'' consists of<br /> *A [[functor]] ''F'' : ''C'' ← ''D'' called the '''left adjoint'''<br /> *A functor ''G'' : ''C'' → ''D'' called the '''right adjoint'''<br /> *A [[natural isomorphism]] Φ : hom&lt;sub&gt;''C''&lt;/sub&gt;(''F''–,–) → hom&lt;sub&gt;''D''&lt;/sub&gt;(–,''G''–)<br /> *A [[natural transformation]] ε : ''FG'' → 1&lt;sub&gt;''C''&lt;/sub&gt; called the '''counit'''<br /> *A natural transformation η : 1&lt;sub&gt;''D''&lt;/sub&gt; → ''GF'' called the '''unit'''<br /> <br /> An equivalent formulation, where ''X'' denotes any object of ''C'' and ''Y'' denotes any object of ''D'':<br /> <br /> ''For every ''C''-morphism ''f'' : ''FY'' → ''X'', there is a unique ''D''-morphism Φ&lt;sub&gt;''Y'', ''X''&lt;/sub&gt;(''f'') = ''g'' : ''Y'' → ''GX'' such that the diagrams below commute, and for every ''D''-morphism ''g'' : ''Y'' → ''GX'', there is a unique ''C''-morphism Φ&lt;sup&gt;−1&lt;/sup&gt;&lt;sub&gt;''Y'', ''X''&lt;/sub&gt;(''g'') = ''f'' : ''FY'' → ''X'' in ''C'' such that the diagrams below commute:''<br /> <br /> [[File:Adjoint functors sym.svg|center|350px]]<br /> <br /> From this assertion, one can recover that:<br /> *The transformations ε, η, and Φ are related by the equations<br /> :&lt;math&gt;\begin{align}<br /> f = \Phi_{Y,X}^{-1}(g) &amp;= \varepsilon_X\circ F(g) &amp; \in &amp; \, \, \mathrm{hom}_C(F(Y),X)\\<br /> g = \Phi_{Y,X}(f) &amp;= G(f)\circ \eta_Y &amp; \in &amp; \, \, \mathrm{hom}_D(Y,G(X))\\<br /> \Phi_{GX,X}^{-1}(1_{GX}) &amp;= \varepsilon_X &amp; \in &amp; \, \, \mathrm{hom}_C(FG(X),X)\\<br /> \Phi_{Y,FY}(1_{FY}) &amp;= \eta_Y &amp; \in &amp; \, \, \mathrm{hom}_D(Y,GF(Y))\\<br /> \end{align}<br /> &lt;/math&gt;<br /> *The transformations ε, η satisfy the counit-unit equations<br /> :&lt;math&gt;\begin{align}<br /> 1_{FY} &amp;= \varepsilon_{FY} \circ F(\eta_Y)\\<br /> 1_{GX} &amp;= G(\varepsilon_X) \circ \eta_{GX}<br /> \end{align}&lt;/math&gt;<br /> *Each pair (''GX'', ε&lt;sub&gt;''X''&lt;/sub&gt;) is a [[universal morphism|terminal morphism]] from ''F'' to ''X'' in ''C''<br /> *Each pair (''FY'', η&lt;sub&gt;''Y''&lt;/sub&gt;) is an [[universal morphism|initial morphism]] from ''Y'' to ''G'' in ''D''<br /> <br /> In particular, the equations above allow one to define Φ, ε, and η in terms of any one of the three. However, the adjoint functors ''F'' and ''G'' alone are in general not sufficient to determine the adjunction. We will demonstrate the equivalence of these situations below.<br /> <br /> ===Universal morphisms induce hom-set adjunction===<br /> <br /> Given a right adjoint functor ''G'' : ''C'' → ''D''; in the sense of initial morphisms, one may construct the induced hom-set adjunction by doing the following steps.<br /> <br /> * Construct a functor ''F'' : ''C'' ← ''D'' and a natural transformation η.<br /> ** For each object ''Y'' in ''D'', choose an initial morphism (''F''(''Y''), η&lt;sub&gt;''Y''&lt;/sub&gt;) from ''Y'' to ''G'', so we have η&lt;sub&gt;''Y''&lt;/sub&gt; : ''Y'' → ''G''(''F''(''Y'')). We have the map of ''F'' on objects and the family of morphisms η.<br /> ** For each ''f'' : ''Y''&lt;sub&gt;0&lt;/sub&gt; → ''Y''&lt;sub&gt;1&lt;/sub&gt;, as (''F''(''Y''&lt;sub&gt;0&lt;/sub&gt;), η&lt;sub&gt;''Y''&lt;sub&gt;0&lt;/sub&gt;&lt;/sub&gt;) is an initial morphism, then factorize η&lt;sub&gt;''Y''&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; &lt;small&gt;o&lt;/small&gt; ''f'' with η&lt;sub&gt;''Y''&lt;sub&gt;0&lt;/sub&gt;&lt;/sub&gt; and get ''F''(''f'') : ''F''(''Y''&lt;sub&gt;0&lt;/sub&gt;) → ''F''(''Y''&lt;sub&gt;1&lt;/sub&gt;). This is the map of ''F'' on morphisms.<br /> ** The commuting diagram of that factorization implies the commuting diagram of natural transformations, so η : 1&lt;sub&gt;''D''&lt;/sub&gt; → ''G'' &lt;small&gt;o&lt;/small&gt; ''F'' is a [[natural transformation]].<br /> ** Uniqueness of that factorization and that ''G'' is a functor implies that the map of ''F'' on morphisms preserves compositions and identities.<br /> * Construct a natural isomorphism Φ : hom&lt;sub&gt;''C''&lt;/sub&gt;(''F''-,-) → hom&lt;sub&gt;''D''&lt;/sub&gt;(-,''G''-).<br /> ** For each object ''X'' in ''C'', each object ''Y'' in ''D'', as (''F''(''Y''), η&lt;sub&gt;''Y''&lt;/sub&gt;) is an initial morphism, then Φ&lt;sub&gt;''Y'', ''X''&lt;/sub&gt; is a bijection, where Φ&lt;sub&gt;''Y'', ''X''&lt;/sub&gt;(''f'' : ''F''(''Y'') → ''X'') = ''G''(''f'') &lt;small&gt;o&lt;/small&gt; η&lt;sub&gt;''Y''&lt;/sub&gt;.<br /> ** η is a natural transformation, ''G'' is a functor, then for any objects ''X''&lt;sub&gt;0&lt;/sub&gt;, ''X''&lt;sub&gt;1&lt;/sub&gt; in ''C'', any objects ''Y''&lt;sub&gt;0&lt;/sub&gt;, ''Y''&lt;sub&gt;1&lt;/sub&gt; in ''D'', any ''x'' : ''X''&lt;sub&gt;0&lt;/sub&gt; → ''X''&lt;sub&gt;1&lt;/sub&gt;, any ''y'' : ''Y''&lt;sub&gt;1&lt;/sub&gt; → ''Y''&lt;sub&gt;0&lt;/sub&gt;, we have Φ&lt;sub&gt;''Y''&lt;sub&gt;1&lt;/sub&gt;, ''X''&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;(''x'' &lt;small&gt;o&lt;/small&gt; ''f'' &lt;small&gt;o&lt;/small&gt; ''F''(''y'')) = G(x) &lt;small&gt;o&lt;/small&gt; ''G''(''f'') &lt;small&gt;o&lt;/small&gt; ''G''(''F''(''y'')) &lt;small&gt;o&lt;/small&gt; η&lt;sub&gt;''Y''&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; = ''G''(''x'') &lt;small&gt;o&lt;/small&gt; ''G''(''f'') &lt;small&gt;o&lt;/small&gt; η&lt;sub&gt;''Y''&lt;sub&gt;0&lt;/sub&gt;&lt;/sub&gt; &lt;small&gt;o&lt;/small&gt; ''y'' = ''G''(''x'') &lt;small&gt;o&lt;/small&gt; Φ&lt;sub&gt;''Y''&lt;sub&gt;0&lt;/sub&gt;, ''X''&lt;sub&gt;0&lt;/sub&gt;&lt;/sub&gt;(''f'') &lt;small&gt;o&lt;/small&gt; ''y'', and then Φ is natural in both arguments.<br /> <br /> A similar argument allows one to construct a hom-set adjunction from the terminal morphisms to a left adjoint functor. (The construction that starts with a right adjoint is slightly more common, since the right adjoint in many adjoint pairs is a trivially defined inclusion or forgetful functor.)<br /> <br /> ===Counit-unit adjunction induces hom-set adjunction===<br /> <br /> Given functors ''F'' : ''C'' ← ''D'', ''G'' : ''C'' → ''D'', and a counit-unit adjunction (ε, η) : ''F'' &lt;math&gt;\dashv&lt;/math&gt; ''G'', we can construct a hom-set adjunction by finding the natural transformation Φ : hom&lt;sub&gt;''C''&lt;/sub&gt;(''F''-,-) → hom&lt;sub&gt;''D''&lt;/sub&gt;(-,''G''-) in the following steps:<br /> <br /> *For each ''f'' : ''FY'' → ''X'' and each ''g'' : ''Y'' → ''GX'', define<br /> :&lt;math&gt;\begin{align}\Phi_{Y,X}(f) = G(f)\circ \eta_Y\\<br /> \Psi_{Y,X}(g) = \varepsilon_X\circ F(g)\end{align}&lt;/math&gt;<br /> :The transformations Φ and Ψ are natural because η and ε are natural.<br /> <br /> *Using, in order, that ''F'' is a functor, that ε is natural, and the counit-unit equation 1&lt;sub&gt;''FY''&lt;/sub&gt; = ε&lt;sub&gt;''FY''&lt;/sub&gt; &lt;small&gt;o&lt;/small&gt; ''F''(η&lt;sub&gt;''Y''&lt;/sub&gt;), we obtain<br /> :&lt;math&gt;\begin{align}<br /> \Psi\Phi f &amp;= \varepsilon_X\circ FG(f)\circ F(\eta_Y) \\<br /> &amp;= f\circ \varepsilon_{FY}\circ F(\eta_Y) \\<br /> &amp;= f\circ 1_{FY} = f\end{align}&lt;/math&gt;<br /> :hence ΨΦ is the identity transformation.<br /> <br /> *Dually, using that ''G'' is a functor, that η is natural, and the counit-unit equation 1&lt;sub&gt;''GX''&lt;/sub&gt; = ''G''(ε&lt;sub&gt;''X''&lt;/sub&gt;) &lt;small&gt;o&lt;/small&gt; η&lt;sub&gt;''GX''&lt;/sub&gt;, we obtain<br /> :&lt;math&gt;\begin{align}<br /> \Phi\Psi g &amp;= G(\varepsilon_X)\circ GF(g)\circ\eta_Y \\<br /> &amp;= G(\varepsilon_X)\circ\eta_{GX}\circ g \\<br /> &amp;= 1_{GX}\circ g = g\end{align}&lt;/math&gt;<br /> :hence ΦΨ is the identity transformation. Thus Φ is a natural isomorphism with inverse Φ&lt;sup&gt;−1&lt;/sup&gt; = Ψ.<br /> <br /> ===Hom-set adjunction induces all of the above===<br /> <br /> Given functors ''F'' : ''C'' ← ''D'', ''G'' : ''C'' → ''D'', and a hom-set adjunction Φ : hom&lt;sub&gt;''C''&lt;/sub&gt;(''F''-,-) → hom&lt;sub&gt;''D''&lt;/sub&gt;(-,''G''-), we can construct a counit-unit adjunction<br /> <br /> :&lt;math&gt;(\varepsilon,\eta):F\dashv G&lt;/math&gt;&amp;nbsp;,<br /> <br /> which defines families of initial and terminal morphisms, in the following steps:<br /> <br /> *Let &amp;nbsp;&lt;math&gt;\varepsilon_X=\Phi_{GX,X}^{-1}(1_{GX})\in\mathrm{hom}_C(FGX,X)&lt;/math&gt;&amp;nbsp; for each ''X'' in ''C'', where &amp;nbsp;&lt;math&gt;1_{GX}\in\mathrm{hom}_D(GX,GX)&lt;/math&gt;&amp;nbsp; is the identity morphism.<br /> <br /> *Let &amp;nbsp;&lt;math&gt;\eta_Y=\Phi_{Y,FY}(1_{FY})\in\mathrm{hom}_D(Y,GFY)&lt;/math&gt;&amp;nbsp; for each ''Y'' in ''D'', where &amp;nbsp;&lt;math&gt;1_{FY}\in\mathrm{hom}_C(FY,FY)&lt;/math&gt;&amp;nbsp; is the identity morphism.<br /> <br /> *The bijectivity and naturality of Φ imply that each (''GX'', ε&lt;sub&gt;''X''&lt;/sub&gt;) is a terminal morphism from ''F'' to ''X'' in ''C'', and each (''FY'', η&lt;sub&gt;''Y''&lt;/sub&gt;) is an initial morphism from ''Y'' to ''G'' in ''D''.<br /> <br /> *The naturality of Φ implies the naturality of ε and η, and the two formulas<br /> :&lt;math&gt;\begin{align}\Phi_{Y,X}(f) = G(f)\circ \eta_Y\\<br /> \Phi_{Y,X}^{-1}(g) = \varepsilon_X\circ F(g)\end{align}&lt;/math&gt;<br /> :for each ''f'': ''FY'' → ''X'' and ''g'': ''Y'' → ''GX'' (which completely determine Φ).<br /> <br /> *Substituting ''FY'' for ''X'' and η&lt;sub&gt;''Y''&lt;/sub&gt; = Φ&lt;sub&gt;''Y'', ''FY''&lt;/sub&gt;(1&lt;sub&gt;''FY''&lt;/sub&gt;) for ''g'' in the second formula gives the first counit-unit equation<br /> :&lt;math&gt;1_{FY} = \varepsilon_{FY}\circ F(\eta_Y)&lt;/math&gt;,<br /> :and substituting ''GX'' for ''Y'' and ε&lt;sub&gt;X&lt;/sub&gt; = Φ&lt;sup&gt;−1&lt;/sup&gt;&lt;sub&gt;''GX, X''&lt;/sub&gt;(1&lt;sub&gt;''GX''&lt;/sub&gt;) for ''f'' in the first formula gives the second counit-unit equation<br /> :&lt;math&gt;1_{GX} = G(\varepsilon_X)\circ\eta_{GX}&lt;/math&gt;.<br /> <br /> ==History==<br /> <br /> ===Ubiquity===<br /> <br /> The idea of an adjoint functor was formulated by [[Daniel Kan]] in 1958. Like many of the concepts in category theory, it was suggested by the needs of [[homological algebra]], which was at the time devoted to computations. Those faced with giving tidy, systematic presentations of the subject would have noticed relations such as<br /> <br /> :hom(''F''(''X''), ''Y'') = hom(''X'', ''G''(''Y''))<br /> <br /> in the category of [[abelian group]]s, where ''F'' was the functor &lt;math&gt;- \otimes A&lt;/math&gt; (i.e. take the [[tensor product]] with ''A''), and ''G'' was the functor hom(''A'',–).<br /> &lt;!--Here hom(''X'',''Y'') means 'all [[group homomorphism|homomorphisms]] of [[abelian group]]s'.--&gt;<br /> The use of the ''equals'' sign is an [[abuse of notation]]; those two groups are not really identical but there is a way of identifying them that is ''natural''. It can be seen to be natural on the basis, firstly, that these are two alternative descriptions of the [[bilinear mapping]]s from ''X'' × ''A'' to ''Y''. That is, however, something particular to the case of tensor product. In category theory the 'naturality' of the bijection is subsumed in the concept of a [[natural isomorphism]].<br /> <br /> The terminology comes from the [[Hilbert space]] idea of [[adjoint operator]]s ''T'', ''U'' with &lt;math&gt;\langle Tx,y\rangle = \langle x,Uy\rangle&lt;/math&gt;, which is formally similar to the above relation between hom-sets. We say that ''F'' is ''left adjoint'' to ''G'', and ''G'' is ''right adjoint'' to ''F''. Note that ''G'' may have itself a right adjoint that is quite different from ''F'' (see below for an example). The analogy to adjoint maps of Hilbert spaces can be made precise in certain contexts.&lt;ref&gt;[http://www.arxiv.org/abs/q-alg/9609018 arXiv.org: John C. Baez ''Higher-Dimensional Algebra II: 2-Hilbert Spaces''].&lt;/ref&gt;<br /> <br /> If one starts looking for these adjoint pairs of functors, they turn out to be very common in [[abstract algebra]], and elsewhere as well. The example section below provides evidence of this; furthermore, [[universal construction]]s, which may be more familiar to some, give rise to numerous adjoint pairs of functors.<br /> <br /> In accordance with the thinking of [[Saunders Mac Lane]], any idea, such as adjoint functors, that occurs widely enough in mathematics should be studied for its own sake.{{Citation needed|date=November 2007}}<br /> <br /> ===Problems formulations===<br /> <br /> Mathematicians do not generally need the full adjoint functor concept. Concepts can be judged according to their use in solving problems, as well as for their use in building theories. The tension between these two motivations was especially great during the 1950s when category theory was initially developed. Enter [[Alexander Grothendieck]], who used category theory to take compass bearings in other work — in [[functional analysis]], [[homological algebra]] and finally [[algebraic geometry]].<br /> <br /> It is probably wrong to say that he promoted the adjoint functor concept in isolation: but recognition of the role of adjunction was inherent in Grothendieck's approach. For example, one of his major achievements was the formulation of [[Serre duality]] in relative form — loosely, in a continuous family of algebraic varieties. The entire proof turned on the existence of a right adjoint to a certain functor. This is something undeniably abstract, and non-constructive, but also powerful in its own way.<br /> <br /> ===Posets===<br /> <br /> Every [[partially ordered set]] can be viewed as a category (with a single morphism between ''x'' and ''y'' if and only if ''x'' ≤ ''y''). A pair of adjoint functors between two partially ordered sets is called a [[Galois connection]] (or, if it is contravariant, an ''antitone'' Galois connection). See that article for a number of examples: the case of [[Galois theory]] of course is a leading one. Any Galois connection gives rise to [[closure operator]]s and to inverse order-preserving bijections between the corresponding closed elements.<br /> <br /> As is the case for Galois groups, the real interest lies often in refining a correspondence to a [[Duality (mathematics)|duality]] (i.e. ''antitone'' order isomorphism). A treatment of Galois theory along these lines by [[Irving Kaplansky|Kaplansky]] was influential in the recognition of the general structure here.<br /> <br /> The partial order case collapses the adjunction definitions quite noticeably, but can provide several themes:<br /> * adjunctions may not be dualities or isomorphisms, but are candidates for upgrading to that status<br /> * closure operators may indicate the presence of adjunctions, as corresponding [[monad (category theory)|monads]] (cf. the [[Kuratowski closure axioms]])<br /> * a very general comment of [[William Lawvere]]&lt;ref&gt;[[William Lawvere]], Adjointness in foundations, Dialectica, 1969, [http://www.tac.mta.ca/tac/reprints/articles/16/tr16abs.html available here]. The notation is different nowadays; an easier introduction by Peter Smith [http://www.logicmatters.net/resources/pdfs/Galois.pdf in these lecture notes], which also attribute the concept to the article cited.&lt;/ref&gt; is that ''syntax and semantics'' are adjoint: take ''C'' to be the set of all logical theories (axiomatizations), and ''D'' the power set of the set of all mathematical structures. For a theory ''T'' in ''C'', let ''F''(''T'') be the set of all structures that satisfy the axioms ''T''; for a set of mathematical structures ''S'', let ''G''(''S'') be the minimal axiomatization of ''S''. We can then say that ''F''(''T'') is a subset of ''S'' if and only if ''T'' logically implies ''G''(''S''): the &quot;semantics functor&quot; ''F'' is left adjoint to the &quot;syntax functor&quot; ''G''.<br /> * [[division (mathematics)|division]] is (in general) the attempt to ''invert'' multiplication, but many examples, such as the introduction of [[material conditional|implication]] in [[propositional calculus|propositional logic]], or the [[ideal quotient]] for division by [[ring ideal]]s, can be recognised as the attempt to provide an adjoint.<br /> <br /> Together these observations provide explanatory value all over mathematics.<br /> <br /> ==Examples ==<br /> &lt;!--This section could use more examples, and examples presented in a more consistent format.--&gt;<br /> <br /> ===Free groups===<br /> &lt;!--this section should be expanded--&gt;<br /> The construction of [[free group]]s is a common and illuminating example.<br /> <br /> Suppose that ''F'' : '''[[category of groups|Grp]]''' ← '''[[category of sets|Set]]''' is the functor assigning to each set ''Y'' the [[free group]] generated by the elements of ''Y'', and that ''G'' : '''Grp''' → '''Set''' is the [[forgetful functor]], which assigns to each group ''X'' its underlying set. Then ''F'' is left adjoint to ''G'':<br /> <br /> '''Terminal morphisms.''' For each group ''X'', the group ''FGX'' is the free group generated freely by ''GX'', the elements of ''X''. Let &amp;nbsp;&lt;math&gt;\varepsilon_X:FGX\to X&lt;/math&gt;&amp;nbsp; be the group homomorphism which sends the generators of ''FGX'' to the elements of ''X'' they correspond to, which exists by the universal property of free groups. Then each &amp;nbsp;&lt;math&gt;(GX,\varepsilon_X)&lt;/math&gt;&amp;nbsp; is a terminal morphism from ''F'' to ''X'', because any group homomorphism from a free group ''FZ'' to ''X'' will factor through &amp;nbsp;&lt;math&gt;\varepsilon_X:FGX\to X&lt;/math&gt;&amp;nbsp; via a unique set map from ''Z'' to ''GX''. This means that (''F'',''G'') is an adjoint pair.<br /> <br /> '''Initial morphisms.''' For each set ''Y'', the set ''GFY'' is just the underlying set of the free group ''FY'' generated by ''Y''. Let &amp;nbsp;&lt;math&gt;\eta_Y:Y\to GFY&lt;/math&gt;&amp;nbsp; be the set map given by &quot;inclusion of generators&quot;. Then each &amp;nbsp;&lt;math&gt;(FY,\eta_Y)&lt;/math&gt;&amp;nbsp; is an initial morphism from ''Y'' to ''G'', because any set map from ''Y'' to the underlying set ''GW'' of a group will factor through &amp;nbsp;&lt;math&gt;\eta_Y:Y\to GFY&lt;/math&gt;&amp;nbsp; via a unique group homomorphism from ''FY'' to ''W''. This also means that (''F'',''G'') is an adjoint pair.<br /> <br /> '''Hom-set adjunction.''' Maps from the free group ''FY'' to a group ''X'' correspond precisely to maps from the set ''Y'' to the set ''GX'': each homomorphism from ''FY'' to ''X'' is fully determined by its action on generators. One can verify directly that this correspondence is a natural transformation, which means it is a hom-set adjunction for the pair (''F'',''G'').<br /> <br /> '''Counit-unit adjunction.''' One can also verify directly that ε and η are natural. Then, a direct verification that they form a counit-unit adjunction &amp;nbsp;&lt;math&gt;(\varepsilon,\eta):F\dashv G&lt;/math&gt;&amp;nbsp; is as follows:<br /> <br /> '''The first counit-unit equation''' &amp;nbsp;&lt;math&gt;1_F = \varepsilon F\circ F\eta&lt;/math&gt;&amp;nbsp; says that for each set ''Y'' the composition<br /> :&lt;math&gt;FY\xrightarrow{\;F(\eta_Y)\;}FGFY\xrightarrow{\;\varepsilon_{FY}\,}FY&lt;/math&gt;<br /> should be the identity. The intermediate group ''FGFY'' is the free group generated freely by the words of the free group ''FY''. (Think of these words as placed in parentheses to indicate that they are independent generators.) The arrow &amp;nbsp;&lt;math&gt;F(\eta_Y)&lt;/math&gt;&amp;nbsp; is the group homomorphism from ''FY'' into ''FGFY'' sending each generator ''y'' of ''FY'' to the corresponding word of length one (''y'') as a generator of ''FGFY''. The arrow &amp;nbsp;&lt;math&gt;\varepsilon_{FY}&lt;/math&gt;&amp;nbsp; is the group homomorphism from ''FGFY'' to ''FY'' sending each generator to the word of ''FY'' it corresponds to (so this map is &quot;dropping parentheses&quot;). The composition of these maps is indeed the identity on ''FY''.<br /> <br /> '''The second counit-unit equation''' &amp;nbsp;&lt;math&gt;1_G = G\varepsilon \circ \eta G&lt;/math&gt;&amp;nbsp; says that for each group ''X'' the composition<br /> :&amp;nbsp;&lt;math&gt;GX\xrightarrow{\;\eta_{GX}\;}GFGX\xrightarrow{\;G(\varepsilon_X)\,}GX&lt;/math&gt;&amp;nbsp;<br /> should be the identity. The intermediate set ''GFGX'' is just the underlying set of ''FGX''. The arrow &amp;nbsp;&lt;math&gt;\eta_{GX}&lt;/math&gt;&amp;nbsp; is the &quot;inclusion of generators&quot; set map from the set ''GX'' to the set ''GFGX''. The arrow &amp;nbsp;&lt;math&gt;G(\varepsilon_X)&lt;/math&gt;&amp;nbsp; is the set map from ''GFGX'' to ''GX'' which underlies the group homomorphism sending each generator of ''FGX'' to the element of ''X'' it corresponds to (&quot;dropping parentheses&quot;). The composition of these maps is indeed the identity on ''GX''.<br /> <br /> ===Free constructions and forgetful functors===<br /> [[Free object]]s are all examples of a left adjoint to a [[forgetful functor]] which assigns to an algebraic object its underlying set. These algebraic [[free functor]]s have generally the same description as in the detailed description of the free group situation above.<br /> <br /> ===Diagonal functors and limits===<br /> [[Product (category theory)|Products]], [[Pullback (category theory)|fibred products]], [[Equalizer (mathematics)|equalizers]], and [[Kernel (algebra)|kernels]] are all examples of the categorical notion of a [[limit (category theory)|limit]]. Any limit functor is right adjoint to a corresponding diagonal functor (provided the category has the type of limits in question), and the counit of the adjunction provides the defining maps from the limit object (i.e. from the diagonal functor on the limit, in the functor category). Below are some specific examples.<br /> <br /> * '''Products''' Let Π : '''Grp&lt;sup&gt;2&lt;/sup&gt;''' → '''Grp''' the functor which assigns to each pair (''X''&lt;sub&gt;1&lt;/sub&gt;, ''X&lt;sub&gt;2&lt;/sub&gt;'') the product group ''X''&lt;sub&gt;1&lt;/sub&gt;×''X''&lt;sub&gt;2&lt;/sub&gt;, and let Δ : '''Grp&lt;sup&gt;2&lt;/sup&gt;''' ← '''Grp''' be the [[diagonal functor]] which assigns to every group ''X'' the pair (''X'', ''X'') in the product category '''Grp&lt;sup&gt;2&lt;/sup&gt;'''. The universal property of the product group shows that Π is right-adjoint to Δ. The counit of this adjunction is the defining pair of projection maps from ''X''&lt;sub&gt;1&lt;/sub&gt;×''X''&lt;sub&gt;2&lt;/sub&gt; to ''X''&lt;sub&gt;1&lt;/sub&gt; and ''X''&lt;sub&gt;2&lt;/sub&gt; which define the limit, and the unit is the ''diagonal inclusion'' of a group X into ''X''&lt;sub&gt;1&lt;/sub&gt;×''X''&lt;sub&gt;2&lt;/sub&gt; (mapping x to (x,x)).<br /> <br /> : The [[cartesian product]] of [[Set (mathematics)|sets]], the product of rings, the [[product topology|product of topological spaces]] etc. follow the same pattern; it can also be extended in a straightforward manner to more than just two factors. More generally, any type of limit is right adjoint to a diagonal functor.<br /> <br /> * '''Kernels.''' Consider the category ''D'' of homomorphisms of abelian groups. If ''f''&lt;sub&gt;1&lt;/sub&gt; : ''A''&lt;sub&gt;1&lt;/sub&gt; → ''B''&lt;sub&gt;1&lt;/sub&gt; and ''f''&lt;sub&gt;2&lt;/sub&gt; : ''A''&lt;sub&gt;2&lt;/sub&gt; → ''B''&lt;sub&gt;2&lt;/sub&gt; are two objects of ''D'', then a morphism from ''f''&lt;sub&gt;1&lt;/sub&gt; to ''f''&lt;sub&gt;2&lt;/sub&gt; is a pair (''g''&lt;sub&gt;''A''&lt;/sub&gt;, ''g''&lt;sub&gt;''B''&lt;/sub&gt;) of morphisms such that ''g&lt;sub&gt;B&lt;/sub&gt;f''&lt;sub&gt;1&lt;/sub&gt; = ''f''&lt;sub&gt;2&lt;/sub&gt;''g&lt;sub&gt;A&lt;/sub&gt;''. Let ''G'' : ''D'' → '''Ab''' be the functor which assigns to each homomorphism its [[kernel (algebra)|kernel]] and let ''F'' : '''D''' ← '''Ab''' be the functor which maps the group ''A'' to the homomorphism ''A'' → 0. Then ''G'' is right adjoint to ''F'', which expresses the universal property of kernels. The counit of this adjunction is the defining embedding of a homomorphism's kernel into the homomorphism's domain, and the unit is the morphism identifying a group ''A'' with the kernel of the homomorphism ''A'' → 0.<br /> <br /> : A suitable variation of this example also shows that the kernel functors for vector spaces and for modules are right adjoints. Analogously, one can show that the cokernel functors for abelian groups, vector spaces and modules are left adjoints.<br /> <br /> ===Colimits and diagonal functors===<br /> [[Coproduct]]s, [[Pushout (category theory)|fibred coproducts]], [[coequalizer]]s, and [[cokernel]]s are all examples of the categorical notion of a [[limit (category theory)|colimit]]. Any colimit functor is left adjoint to a corresponding diagonal functor (provided the category has the type of colimits in question), and the unit of the adjunction provides the defining maps into the colimit object. Below are some specific examples.<br /> <br /> * '''Coproducts.''' If ''F'' : '''[[category of abelian groups|Ab]]''' ← '''Ab&lt;sup&gt;2&lt;/sup&gt;''' assigns to every pair (''X''&lt;sub&gt;1&lt;/sub&gt;, ''X''&lt;sub&gt;2&lt;/sub&gt;) of abelian groups their [[Direct sum of groups|direct sum]], and if ''G'' : '''Ab''' → '''Ab&lt;sup&gt;2&lt;/sup&gt;''' is the functor which assigns to every abelian group ''Y'' the pair (''Y'', ''Y''), then ''F'' is left adjoint to ''G'', again a consequence of the universal property of direct sums. The unit of this adjoint pair is the defining pair of inclusion maps from ''X''&lt;sub&gt;1&lt;/sub&gt; and ''X''&lt;sub&gt;2&lt;/sub&gt; into the direct sum, and the counit is the additive map from the direct sum of (''X'',''X'') to back to ''X'' (sending an element (''a'',''b'') of the direct sum to the element ''a''+''b'' of ''X'').<br /> <br /> : Analogous examples are given by the [[Direct sum of modules|direct sum]] of [[vector space]]s and [[module (mathematics)|modules]], by the [[free product]] of groups and by the disjoint union of sets.<br /> <br /> ===Further examples===<br /> <br /> ==== Algebra ====<br /> * '''Adjoining an identity to a [[Rng (algebra)|rng]].''' This example was discussed in the motivation section above. Given a rng ''R'', a multiplicative identity element can be added by taking ''R''x'''Z''' and defining a '''Z'''-bilinear product with (r,0)(0,1) = (0,1)(r,0) = (r,0), (r,0)(s,0) = (rs,0), (0,1)(0,1) = (0,1). This constructs a left adjoint to the functor taking a ring to the underlying rng.<br /> <br /> * '''Ring extensions.''' Suppose ''R'' and ''S'' are rings, and ρ : ''R'' → ''S'' is a [[ring homomorphism]]. Then ''S'' can be seen as a (left) ''R''-module, and the [[tensor product]] with ''S'' yields a functor ''F'' : ''R''-'''Mod''' → ''S''-'''Mod'''. Then ''F'' is left adjoint to the forgetful functor ''G'' : ''S''-'''Mod''' → ''R''-'''Mod'''.<br /> <br /> * '''[[Tensor-hom adjunction|Tensor products]].''' If ''R'' is a ring and ''M'' is a right ''R'' module, then the tensor product with ''M'' yields a functor ''F'' : ''R''-'''Mod''' → '''Ab'''. The functor ''G'' : '''Ab''' → ''R''-'''Mod''', defined by ''G''(''A'') = hom&lt;sub&gt;'''Z'''&lt;/sub&gt;(''M'',''A'') for every abelian group ''A'', is a right adjoint to ''F''.<br /> <br /> * '''From monoids and groups to rings''' The [[integral monoid ring]] construction gives a functor from [[monoid]]s to rings. This functor is left adjoint to the functor that associates to a given ring its underlying multiplicative monoid. Similarly, the [[integral group ring]] construction yields a functor from [[group (mathematics)|groups]] to rings, left adjoint to the functor that assigns to a given ring its [[group of units]]. One can also start with a [[field (mathematics)|field]] ''K'' and consider the category of ''K''-[[associative algebra|algebras]] instead of the category of rings, to get the monoid and group rings over ''K''.<br /> <br /> * '''Field of fractions.''' Consider the category '''Dom'''&lt;sub&gt;m&lt;/sub&gt; of integral domains with injective morphisms. The forgetful functor '''Field''' → '''Dom'''&lt;sub&gt;m&lt;/sub&gt; from fields has a left adjoint - it assigns to every integral domain its [[field of fractions]].<br /> <br /> * '''Polynomial rings'''. Let '''Ring'''&lt;sub&gt;*&lt;/sub&gt; be the category of pointed commutative rings with unity (pairs (A,a) where A is a ring, &lt;math&gt;a \in A&lt;/math&gt; and morphisms preserve the distinguished elements). The forgetful functor G:'''Ring'''&lt;sub&gt;*&lt;/sub&gt; → '''Ring''' has a left adjoint - it assigns to every ring R the pair (R[x],x) where R[x] is the [[polynomial ring]] with coefficients from R.<br /> <br /> * '''Abelianization'''. Consider the inclusion functor ''G'' : '''Ab''' → '''Grp''' from the [[category of abelian groups]] to [[category of groups]]. It has a left adjoint called [[abelianization]] which assigns to every group ''G'' the quotient group ''G''&lt;sup&gt;ab&lt;/sup&gt;=''G''/[''G'',''G''].<br /> <br /> * '''The Grothendieck group'''. In [[K-theory]], the point of departure is to observe that the category of [[vector bundle]]s on a [[topological space]] has a commutative monoid structure under [[Direct sum of modules|direct sum]]. One may make an [[abelian group]] out of this monoid, the [[Grothendieck group]], by formally adding an additive inverse for each bundle (or equivalence class). Alternatively one can observe that the functor that for each group takes the underlying monoid (ignoring inverses) has a left adjoint. This is a once-for-all construction, in line with the third section discussion above. That is, one can imitate the construction of [[negative number]]s; but there is the other option of an [[existence theorem]]. For the case of finitary algebraic structures, the existence by itself can be referred to [[universal algebra]], or [[model theory]]; naturally there is also a proof adapted to category theory, too.<br /> <br /> * '''Frobenius reciprocity''' in the [[group representation|representation theory of groups]]: see [[induced representation]]. This example foreshadowed the general theory by about half a century.<br /> <br /> ====Topology====<br /> * '''A functor with a left and a right adjoint.''' Let ''G'' be the functor from [[topological space]]s to [[Set (mathematics)|sets]] that associates to every topological space its underlying set (forgetting the topology, that is). ''G'' has a left adjoint ''F'', creating the [[discrete space]] on a set ''Y'', and a right adjoint ''H'' creating the [[trivial topology]] on ''Y''.<br /> * '''Suspensions and loop spaces''' Given [[topological spaces]] ''X'' and ''Y'', the space [''SX'', ''Y''] of [[homotopy classes]] of maps from the [[suspension (topology)|suspension]] ''SX'' of ''X'' to ''Y'' is naturally isomorphic to the space [''X'', Ω''Y''] of homotopy classes of maps from ''X'' to the [[loop space]] Ω''Y'' of ''Y''. This is an important fact in [[homotopy theory]].<br /> * '''Stone-Čech compactification.''' Let '''KHaus''' be the category of [[compact space|compact]] [[Hausdorff space]]s and ''G'' : '''KHaus''' → '''Top''' be the inclusion functor to the category of [[topological spaces]]. Then ''G'' has a left adjoint ''F'' : '''Top''' → '''KHaus''', the [[Stone–Čech compactification]]. The unit of this adjoint pair yields a [[continuous function (topology)|continuous]] map from every topological space ''X'' into its Stone-Čech compactification. This map is an [[embedding]] (i.e. [[injective]], continuous and open) if and only if ''X'' is a [[Tychonoff space]].<br /> * '''Direct and inverse images of sheaves''' Every [[continuous map]] ''f'' : ''X'' → ''Y'' between [[topological space]]s induces a functor ''f''&lt;sub&gt; ∗&lt;/sub&gt; from the category of [[sheaf (mathematics)|sheaves]] (of sets, or abelian groups, or rings...) on ''X'' to the corresponding category of sheaves on ''Y'', the ''[[direct image functor]]''. It also induces a functor ''f''&lt;sup&gt; −1&lt;/sup&gt; from the category of sheaves of abelian groups on ''Y'' to the category of sheaves of abelian groups on ''X'', the ''[[inverse image functor]]''. ''f''&lt;sup&gt; −1&lt;/sup&gt; is left adjoint to ''f''&lt;sub&gt; ∗&lt;/sub&gt;. Here a more subtle point is that the left adjoint for [[coherent sheaf|coherent sheaves]] will differ from that for sheaves (of sets).<br /> * '''Soberification.''' The article on [[Stone duality]] describes an adjunction between the category of topological spaces and the category of [[sober space]]s that is known as soberification. Notably, the article also contains a detailed description of another adjunction that prepares the way for the famous [[duality (category theory)|duality]] of sober spaces and spatial locales, exploited in [[pointless topology]].<br /> <br /> ====Category theory====<br /> * '''A series of adjunctions.''' The functor π&lt;sub&gt;0&lt;/sub&gt; which assigns to a category its set of connected components is left-adjoint to the functor ''D'' which assigns to a set the discrete category on that set. Moreover, ''D'' is left-adjoint to the object functor ''U'' which assigns to each category its set of objects, and finally ''U'' is left-adjoint to ''A'' which assigns to each set the [http://ncatlab.org/nlab/show/indiscrete+category indiscrete category] on that set.<br /> * '''Exponential object'''. In a [[cartesian closed category]] the endofunctor ''C'' → ''C'' given by –×''A'' has a right adjoint –&lt;sup&gt;''A''&lt;/sup&gt;.<br /> &lt;!--* '''Limits and Colimits.''' Limits and colimits can actually be viewed using adjoints when looking at functor categories. If C and D are two categories, then the functor '''limit''' from the category of functors from C to D to the category of constant functors from C to D which takes a given functor from C to D to its limit is in fact right-adjoint to the forgetful functor from the category of constant functors from C to D to the category of functors from C to D. Colimit is similarly the left-adjoint of this forgetful functor from the category of constant functors from C to D to the category of functors from C to D. --&gt;<br /> <br /> ====Categorical logic====<br /> * '''Quantification.''' If &lt;math&gt;\phi_Y&lt;/math&gt; is a unary predicate expressing some property, then a sufficiently strong set theory may prove the existence of the set &lt;math&gt;Y=\{y\mid\phi_Y(y)\}&lt;/math&gt; of terms that fulfill the property. A proper subset &lt;math&gt;T\subset Y&lt;/math&gt; and the associated injection of &lt;math&gt;T&lt;/math&gt; into &lt;math&gt;Y&lt;/math&gt; is characterized by a predicate &lt;math&gt;\phi_T(y)=\phi_Y(y)\land\varphi(y)&lt;/math&gt; expressing a strictly more restrictive property. <br /> :The role of [[Quantifier (logic)|quantifiers]] in predicate logics is in forming propositions and also in expressing sophisticated predicates by closing formulas with possibly more variables. For example, consider a predicate &lt;math&gt;\psi_f&lt;/math&gt; with two open variables of sort &lt;math&gt;X&lt;/math&gt; and &lt;math&gt;Y&lt;/math&gt;. Using a quantifier to close &lt;math&gt;X&lt;/math&gt;, we can form the set<br /> ::&lt;math&gt;\{y\in Y\mid \exists x.\,\psi_f(x,y)\land\phi_{S}(x)\}&lt;/math&gt;<br /> :of all elements &lt;math&gt;y&lt;/math&gt; of &lt;math&gt;Y&lt;/math&gt; for which there is an &lt;math&gt;x&lt;/math&gt; to which it is &lt;math&gt;\psi_f&lt;/math&gt;-related, and which itself is characterized by the property &lt;math&gt;\phi_{S}&lt;/math&gt;. Set theoretic operations like the intersection &lt;math&gt;\cap&lt;/math&gt; of two sets directly corresponds to the conjunction &lt;math&gt;\land&lt;/math&gt; of predicates. In [[categorical logic]], a subfield of [[topos theory]], quantifiers are identified with adjoints to the pullback functor. Such a realization can be seen in analogy to the discussion of propositional logic using set theory but, interestingly, the general definition make for a richer range of logics.<br /> <br /> :So consider an object &lt;math&gt;Y&lt;/math&gt; in a category with pullbacks. Any morphism &lt;math&gt;f:X\to Y&lt;/math&gt; induces a functor <br /> ::&lt;math&gt;f^{*} : \text{Sub}(Y) \longrightarrow \text{Sub}(X)&lt;/math&gt; <br /> :on the category that is the preorder of subobjects. It maps subobjects &lt;math&gt;T&lt;/math&gt; of &lt;math&gt;Y&lt;/math&gt; (technically: monomorphism classes of &lt;math&gt;T\to Y&lt;/math&gt;) to the pullback &lt;math&gt;X\times_Y T&lt;/math&gt;. If this functor has a left- or right adjoint, they are called &lt;math&gt;\exists_f&lt;/math&gt; and &lt;math&gt;\forall_f&lt;/math&gt;, respectively.&lt;ref&gt;Saunders Mac Lane, Ieke Moerdijk, (1992) ''Sheaves in Geometry and Logic'' Springer-Verlag. ISBN 0-387-97710-4 ''See page 58''&lt;/ref&gt; They both map from &lt;math&gt;\text{Sub}(X)&lt;/math&gt; back to &lt;math&gt;\text{Sub}(Y)&lt;/math&gt;. Very roughly, given a domain &lt;math&gt;S\subset X&lt;/math&gt; to quantify a relation expressed via &lt;math&gt;f&lt;/math&gt; over, the functor/quantifier closes &lt;math&gt;X&lt;/math&gt; in &lt;math&gt;X\times_Y T&lt;/math&gt; and returns the thereby specified subset of &lt;math&gt;Y&lt;/math&gt;.<br /> <br /> : '''Example''': In &lt;math&gt;\operatorname{Set}&lt;/math&gt;, the category of sets and functions, the canonical subobjects are the subset (or rather their canonical injections). The pullback &lt;math&gt;f^{*}T=X\times_Y T&lt;/math&gt; of an injection of a subset &lt;math&gt;T&lt;/math&gt; into &lt;math&gt;Y&lt;/math&gt; along &lt;math&gt;f&lt;/math&gt; is characterized as the largest set which knows all about &lt;math&gt;f&lt;/math&gt; and the injection of &lt;math&gt;T&lt;/math&gt; into &lt;math&gt;Y&lt;/math&gt;. It therefore turns out to be (in bijection with) the inverse image &lt;math&gt;f^{-1}[T]\subseteq X&lt;/math&gt;.<br /> :For &lt;math&gt;S \subseteq X&lt;/math&gt;, let us figure out the left adjoint, which is defined via<br /> ::&lt;math&gt;{\operatorname{Hom}}(\exists_f S,T) <br /> \cong <br /> {\operatorname{Hom}}(S,f^{*}T),&lt;/math&gt;<br /> :which here just means<br /> ::&lt;math&gt;\exists_f S\subseteq T<br /> \leftrightarrow <br /> S\subseteq f^{-1}[T]&lt;/math&gt;.<br /> <br /> :Consider &lt;math&gt; f[S] \subseteq T &lt;/math&gt;. We see &lt;math&gt;S\subseteq f^{-1}[f[S]]\subseteq f^{-1}[T]&lt;/math&gt;. Conversely, If for an &lt;math&gt;x\in S&lt;/math&gt; we also have &lt;math&gt;x\in f^{-1}[T]&lt;/math&gt;, then clearly &lt;math&gt; f(x)\in T &lt;/math&gt;. So &lt;math&gt; S \subseteq f^{-1}[T] &lt;/math&gt; implies &lt;math&gt; f[S] \subseteq T &lt;/math&gt;. We concude that left adjoint to the inverse image functor &lt;math&gt;f^{*}&lt;/math&gt; is given by the direct image. Here is a characterization of this result, which matches more the logical interpretation: The image of &lt;math&gt;S&lt;/math&gt; under &lt;math&gt;\exists_f &lt;/math&gt; is the full set of &lt;math&gt;y&lt;/math&gt;'s, such that &lt;math&gt; f^{-1} [\{y\}] \cap S&lt;/math&gt; is non-empty. This works because it neglects exactly those &lt;math&gt;y\in Y&lt;/math&gt; which are in the complement of &lt;math&gt;f[S]&lt;/math&gt;. So<br /> ::&lt;math&gt;<br /> \exists_f S <br /> = \{ y \in Y \mid \exists (x \in f^{-1}[\{y\}]).\, x \in S \; \}<br /> = f[S].<br /> &lt;/math&gt;<br /> :Put this in analogy to our motivation &lt;math&gt;\{y\in Y\mid\exists x.\,\psi_f(x,y)\land\phi_{S}(x)\}&lt;/math&gt;.<br /> :The right adjoint to the inverse image functor is given (without doing the computation here) by<br /> ::&lt;math&gt;<br /> \forall_f S <br /> = \{ y \in Y \mid \forall (x \in f^{-1} [\{y\}]).\, x \in S \; \}.<br /> &lt;/math&gt;<br /> : The subset &lt;math&gt;\forall_f S&lt;/math&gt; of &lt;math&gt;Y&lt;/math&gt; is characterized as the full set of &lt;math&gt;y&lt;/math&gt;'s with the property that the inverse image of &lt;math&gt;\{y\}&lt;/math&gt; with respect to &lt;math&gt;f&lt;/math&gt; is fully contained within &lt;math&gt;S&lt;/math&gt;. Note how the predicate determining the set is the same as above, except that &lt;math&gt;\exists&lt;/math&gt; is replaced by &lt;math&gt;\forall&lt;/math&gt;.<br /> <br /> :''See also [[powerset]].''<br /> <br /> == Properties ==<br /> <br /> ===Existence===<br /> <br /> {{anchor|Freyd's adjoint functor theorem}}Not every functor ''G'' : ''C'' → ''D'' admits a left adjoint. If ''C'' is a [[complete category]], then the functors with left adjoints can be characterized by the '''adjoint functor theorem''' of [[Peter J. Freyd]]: ''G'' has a left adjoint if and only if it is [[limit (category theory)#Preservation of limits|continuous]] and a certain smallness condition is satisfied: for every object ''Y'' of ''D'' there exists a family of morphisms<br /> <br /> :''f''&lt;sub&gt;''i''&lt;/sub&gt; : ''Y'' → ''G''(''X&lt;sub&gt;i&lt;/sub&gt;'')<br /> <br /> where the indices ''i'' come from a ''set'' ''I'', not a ''[[class (set theory)|proper class]]'', such that every morphism<br /> <br /> :''h'' : ''Y'' → ''G''(''X'')<br /> <br /> can be written as<br /> <br /> :''h'' = ''G''(''t'') o ''f''&lt;sub&gt;''i''&lt;/sub&gt;<br /> <br /> for some ''i'' in ''I'' and some morphism<br /> <br /> :''t'' : ''X''&lt;sub&gt;''i''&lt;/sub&gt; → ''X'' in ''C''.<br /> <br /> An analogous statement characterizes those functors with a right adjoint.<br /> <br /> ===Uniqueness===<br /> <br /> If the functor ''F'' : ''C'' ← ''D'' has two right adjoints ''G'' and ''G''′, then ''G'' and ''G''′ are [[natural transformation|naturally isomorphic]]. The same is true for left adjoints.<br /> <br /> Conversely, if ''F'' is left adjoint to ''G'', and ''G'' is naturally isomorphic to ''G''′ then ''F'' is also left adjoint to ''G''′. More generally, if 〈''F'', ''G'', ε, η〉 is an adjunction (with counit-unit (ε,η)) and<br /> :σ : ''F'' → ''F''′<br /> :τ : ''G'' → ''G''′<br /> are natural isomorphisms then 〈''F''′, ''G''′, ε′, η′〉 is an adjunction where<br /> :&lt;math&gt;\begin{align}<br /> \eta' &amp;= (\tau\ast\sigma)\circ\eta \\<br /> \varepsilon' &amp;= \varepsilon\circ(\sigma^{-1}\ast\tau^{-1}).<br /> \end{align}&lt;/math&gt;<br /> Here &lt;math&gt;\circ&lt;/math&gt; denotes vertical composition of natural transformations, and &lt;math&gt;\ast&lt;/math&gt; denotes horizontal composition.<br /> <br /> ===Composition===<br /> <br /> Adjunctions can be composed in a natural fashion. Specifically, if 〈''F'', ''G'', ε, η〉 is an adjunction between ''C'' and ''D'' and 〈''F''′, ''G''′, ε′, η′〉 is an adjunction between ''D'' and ''E'' then the functor<br /> :&lt;math&gt;F' \circ F : \mathcal{C} \leftarrow \mathcal{E}&lt;/math&gt;<br /> is left adjoint to<br /> :&lt;math&gt;G \circ G' : \mathcal{C} \to \mathcal{E}.&lt;/math&gt;<br /> More precisely, there is an adjunction between ''F''′ ''F'' and ''G'' ''G''′ with unit and counit given by the compositions:<br /> :&lt;math&gt;\begin{align}<br /> &amp;1_{\mathcal E} \xrightarrow{\eta} G F \xrightarrow{G \eta' F} G G' F' F \\<br /> &amp;F' F G G' \xrightarrow{F' \varepsilon G'} F' G' \xrightarrow{\varepsilon'} 1_{\mathcal C}.<br /> \end{align}&lt;/math&gt;<br /> This new adjunction is called the '''composition''' of the two given adjunctions.<br /> <br /> One can then form a category whose objects are all [[small category|small categories]] and whose morphisms are adjunctions.<br /> <br /> ===Limit preservation===<br /> <br /> The most important property of adjoints is their continuity: every functor that has a left adjoint (and therefore ''is'' a right adjoint) is ''continuous'' (i.e. commutes with [[limit (category theory)|limits]] in the category theoretical sense); every functor that has a right adjoint (and therefore ''is'' a left adjoint) is ''cocontinuous'' (i.e. commutes with [[limit (category theory)|colimits]]).<br /> <br /> Since many common constructions in mathematics are limits or colimits, this provides a wealth of information. For example:<br /> * applying a right adjoint functor to a [[product (category theory)|product]] of objects yields the product of the images;<br /> * applying a left adjoint functor to a [[coproduct]] of objects yields the coproduct of the images;<br /> * every right adjoint functor is [[left exact functor|left exact]];<br /> * every left adjoint functor is [[right exact functor|right exact]].<br /> <br /> ===Additivity===<br /> <br /> If ''C'' and ''D'' are [[preadditive categories]] and ''F'' : ''C'' ← ''D'' is an [[additive functor]] with a right adjoint ''G'' : ''C'' → ''D'', then ''G'' is also an additive functor and the hom-set bijections<br /> :&lt;math&gt;\Phi_{Y,X} : \mathrm{hom}_{\mathcal C}(FY,X) \cong \mathrm{hom}_{\mathcal D}(Y,GX)&lt;/math&gt;<br /> are, in fact, isomorphisms of abelian groups. Dually, if ''G'' is additive with a left adjoint ''F'', then ''F'' is also additive.<br /> <br /> Moreover, if both ''C'' and ''D'' are [[additive categories]] (i.e. preadditive categories with all finite [[biproduct]]s), then any pair of adjoint functors between them are automatically additive.<br /> <br /> ==Relationships==<br /> <br /> ===Universal constructions===<br /> <br /> As stated earlier, an adjunction between categories ''C'' and ''D'' gives rise to a family of [[universal morphism]]s, one for each object in ''C'' and one for each object in ''D''. Conversely, if there exists a universal morphism to a functor ''G'' : ''C'' → ''D'' from every object of ''D'', then ''G'' has a left adjoint.<br /> <br /> However, universal constructions are more general than adjoint functors: a universal construction is like an optimization problem; it gives rise to an adjoint pair if and only if this problem has a solution for every object of ''D'' (equivalently, every object of ''C'').<br /> <br /> ===Equivalences of categories===<br /> <br /> If a functor ''F'': ''C''←''D'' is one half of an [[equivalence of categories]] then it is the left adjoint in an adjoint equivalence of categories, i.e. an adjunction whose unit and counit are isomorphisms.<br /> <br /> Every adjunction 〈''F'', ''G'', ε, η〉 extends an equivalence of certain subcategories. Define ''C''&lt;sub&gt;1&lt;/sub&gt; as the full subcategory of ''C'' consisting of those objects ''X'' of ''C'' for which ε&lt;sub&gt;''X''&lt;/sub&gt; is an isomorphism, and define ''D''&lt;sub&gt;1&lt;/sub&gt; as the [[full subcategory]] of ''D'' consisting of those objects ''Y'' of ''D'' for which η&lt;sub&gt;''Y''&lt;/sub&gt; is an isomorphism. Then ''F'' and ''G'' can be restricted to ''D''&lt;sub&gt;1&lt;/sub&gt; and ''C''&lt;sub&gt;1&lt;/sub&gt; and yield inverse equivalences of these subcategories.<br /> <br /> In a sense, then, adjoints are &quot;generalized&quot; inverses. Note however that a right inverse of ''F'' (i.e. a functor ''G'' such that ''FG'' is naturally isomorphic to 1&lt;sub&gt;''D''&lt;/sub&gt;) need not be a right (or left) adjoint of ''F''. Adjoints generalize ''two-sided'' inverses.<br /> <br /> ===Monads===<br /> <br /> Every adjunction 〈''F'', ''G'', ε, η〉 gives rise to an associated [[monad (category theory)|monad]] 〈''T'', η, μ〉 in the category ''D''. The functor<br /> :&lt;math&gt;T : \mathcal{D} \to \mathcal{D}&lt;/math&gt;<br /> is given by ''T'' = ''GF''. The unit of the monad<br /> :&lt;math&gt;\eta : 1_{\mathcal{D}} \to T&lt;/math&gt;<br /> is just the unit η of the adjunction and the multiplication transformation<br /> :&lt;math&gt;\mu : T^2 \to T\,&lt;/math&gt;<br /> is given by μ = ''G''ε''F''. Dually, the triple 〈''FG'', ε, ''F''η''G''〉 defines a [[comonad]] in ''C''.<br /> <br /> Every monad arises from some adjunction—in fact, typically from many adjunctions—in the above fashion. Two constructions, called the category of [[Eilenberg–Moore algebra]]s and the [[Kleisli category]] are two extremal solutions to the problem of constructing an adjunction that gives rise to a given monad.<br /> <br /> ==References==<br /> &lt;references /&gt;<br /> *{{cite book | last1 = Adámek | first1 = Jiří | first2=Horst | last2=Herrlich | first3=George E. | last3=Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories. The joy of cats | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6 | zbl=0695.18001 }}<br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = [[Graduate Texts in Mathematics]] | volume=5 | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8 | zbl=0906.18001 }}<br /> <br /> ==External links==<br /> *[http://www.youtube.com/view_play_list?p=54B49729E5102248 Adjunctions] Seven short lectures on adjunctions.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> {{Functors}}<br /> <br /> {{DEFAULTSORT:Adjoint Functors}}<br /> [[Category:Adjoint functors| ]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Wolfram_SystemModeler&diff=607467953 Wolfram SystemModeler 2014-05-07T12:12:08Z <p>Magmalex: added link to Modelica page</p> <hr /> <div>{{Infobox Software<br /> | name = Wolfram SystemModeler<br /> | logo = [[Image:WolframSystemModelerLogo.png|64px|Wolfram SystemModeler logo]]<br /> | developer = [[Wolfram Research]] |<br /> | latest_release_version = 3.0 |<br /> | latest_release_date = 23 May 2012|<br /> | operating_system = [[Microsoft Windows|Windows]] and [[Mac OS X|OS X]] |<br /> | genre = [[Object-oriented programming]] |<br /> | license = [[Proprietary software|Proprietary]] |<br /> | website = [http://www.wolfram.com/system-modeler Wolfram SystemModeler] |<br /> }}<br /> '''Wolfram SystemModeler''', developed by Wolfram MathCore, is a platform for engineering as well as life science modeling and simulation based on the [[Modelica]] language. It provides an interactive graphical modeling and simulation environment and a customizable set of component libraries.<br /> <br /> == Features ==<br /> Features of ''Wolfram SystemModeler'' include{{Citation needed|date=May 2012}}:<br /> * Based on the non-proprietary, object-oriented, equation based, [[Modelica|Modelica language]].<br /> * Graphical user interface for drag-and-drop modeling<br /> * Textual user interface for equation-based Modelica modeling, simulation, documentation, and analysis<br /> * A-causal (component based) and causal (block based) modeling<br /> * Multidomain modeling, including:<br /> ** 1D and 3D mechanics<br /> ** Electrics<br /> ** Hydraulics<br /> ** Thermodynamics<br /> ** Controls engineering<br /> ** Systems biology<br /> * Integration with ''Mathematica'' for analysis and documentation of models and simulations<br /> <br /> == Interface ==<br /> ''Wolfram SystemModeler's'' primary interface, Model Center, is an interactive graphical environment including a customizable set of component libraries. Models developed in Model Center can be simulated in Simulation Center. The software also provides a tight integration with the [[Mathematica]] environment. This allows users that have both software to develop, simulate, document, and analyze their ''Wolfram SystemModeler'' models within ''Mathematica'' notebooks. The software is used within the engineering field as well as within life science.<br /> <br /> == Editions ==<br /> Originally developed by MathCore Engineering as ''MathModelica'' it was acquired by [[Wolfram Research]] on March 30, 2011&lt;ref&gt;{{cite web|last=Wolfram|first=Stephen|title=Launching a New Era in Large-Scale Systems Modeling|url=http://blog.wolfram.com/2011/03/30/launching-a-new-era-in-large-scale-systems-modeling/}}&lt;/ref&gt; and re-released as ''Wolfram SystemModeler'' on 23 May 2012 &lt;ref&gt;{{cite web|last=Wolfram|first=Stephen|title=Launching a New Era in Large-Scale Systems Modeling|url=http://blog.wolfram.com/2011/03/30/launching-a-new-era-in-large-scale-systems-modeling/}}&lt;/ref&gt;&lt;ref&gt;{{cite web|title=Model the World with Wolfram’s New Software for Engineers|url=http://venturebeat.com/2012/05/23/model-the-world-with-wolframs-new-software-for-engineers/}}&lt;/ref&gt;&lt;ref&gt;{{cite web|url=http://www.pcworld.com/businesscenter/article/256093/wolfram_expands_into_system_modeling.html|title=Wolfram Expands into System Modeling}}&lt;/ref&gt;&lt;ref&gt;{{cite web|url=http://www.geeky-gadgets.com/wolfram-new-systemmodeler-software-helps-engineers-create-complex-simulations-24-05-2012/|title=Wolfram New SystemModeler Software Helps Engineers Create Complex Simulations}}&lt;/ref&gt;&lt;ref&gt;{{cite web|url=http://www.webpronews.com/wolfram-systemmodeler-takes-on-large-scale-system-modeling-2012-05|title=Wolfram SystemModeler Takes On Large Scale System Modeling}}&lt;/ref&gt; with improved integration with [[Wolfram Research]]'s [[Mathematica]] software.<br /> <br /> == Modeling Language ==<br /> ''Wolfram SystemModeler'' uses the free object-oriented modeling language [[Modelica]]. Modelica is a non-proprietary, object-oriented, equation based language to conveniently model complex physical systems containing, e.g., mechanical, electrical, electronic, hydraulic, thermal, control, electric power or process-oriented subcomponents.<br /> <br /> == Release history ==<br /> <br /> {| class=&quot;wikitable&quot; style=&quot;font-size: 90%; text-align: left; &quot;<br /> |-<br /> ! Name/Version !! Date<br /> |-<br /> | SystemModeler 1.0<br /> | March 2011<br /> |-<br /> | SystemModeler 3.0<br /> | May 2012<br /> |}<br /> <br /> ==See also==<br /> * [[AMESim]]<br /> * [[APMonitor]]<br /> * [[Modelica]]<br /> * [[Mathematica]]<br /> * [[Scientific modelling|Modelling]]<br /> * [[Simulation]]<br /> * [[Computer simulation]]<br /> * [[Dymola]]<br /> * [[SimulationX]]<br /> <br /> == Licensing ==<br /> Wolfram SystemModeler is [[proprietary software]] protected by both [[trade secret]] and [[copyright]] law.<br /> <br /> == References ==<br /> {{reflist|2}}<br /> <br /> ==External links==<br /> *[http://www.mathcore.com Wolfram MathCore, original developer of MathModelica]<br /> *[http://www.wolfram.com Wolfram Research, developer of Mathematica]<br /> <br /> [[Category:Object-oriented programming]]<br /> [[Category:Wolfram Research]]<br /> <br /> <br /> {{software-stub}}</div> Magmalex https://en.wikipedia.org/w/index.php?title=Invariant_(mathematics)&diff=605913484 Invariant (mathematics) 2014-04-26T16:34:03Z <p>Magmalex: /* Invariant set */ Specified mapping T</p> <hr /> <div>In [[mathematics]], an '''invariant''' is a property of a class of mathematical objects that remains unchanged when [[Transformation (function)|transformations]] of a certain type are applied to the objects. The particular class of objects and type of transformations are usually indicated by the context in which the term is used. For example, the area of a triangle is an invariant with respect to [[isometry|isometries]] of the Euclidean plane. The phrases &quot;invariant under&quot; and &quot;invariant to&quot; a transformation are both used. More generally, an invariant with respect to an [[equivalence relation]] is a property that is constant on each equivalence class. <br /> <br /> Invariants are used in diverse areas of mathematics such as [[geometry]], [[topology]] and [[algebra]]. Some important classes of transformations are defined by an invariant they leave unchanged, for example [[conformal map]]s are defined as transformations of the plane that preserve angles. The discovery of invariants is an important step in the process of classifying mathematical objects.<br /> <br /> == Simple examples ==<br /> The most fundamental example of invariance is expressed in our ability to count. For a finite collection of objects of any kind, there appears to be a number to which we invariably arrive, regardless of how we count the objects in the set. The quantity&amp;mdash;a [[cardinal number]]&amp;mdash;is associated with the set, and is invariant under the process of counting.<br /> <br /> An [[List of mathematical identities|identity]] is an equation that remains true for all values of its variables. There are also [[List of inequalities|inequalities]] that remain true when the values of their variables change.<br /> <br /> Another simple example of invariance is that the [[distance]] between two points on a [[number line]] is not changed by [[addition|adding]] the same quantity to both numbers. On the other hand, [[multiplication]] does not have this property, so distance is not invariant under multiplication.<br /> <br /> [[Angle]]s and [[ratio]]s of distances are invariant under [[Scaling (geometry)|scalings]], [[Rotation (mathematics)|rotation]]s, [[Translation (geometry)|translation]]s and [[Reflection (mathematics)|reflection]]s. These transformations produce [[Similarity (geometry)|similar]] shapes, which is the basis of [[trigonometry]]. All circles are similar. Therefore they can be transformed into each other and the ratio of the [[circumference]] to the [[diameter]] is invariant and equal to [[pi]].<br /> <br /> == More advanced examples ==<br /> Some more complicated examples:<br /> * The [[real part]] and the [[absolute value]] of a [[complex number]] are invariant under [[complex conjugation]].<br /> * The degree of a polynomial is invariant under linear change of variables.<br /> * The dimension and homology groups of a topological object are invariant under [[homeomorphism]].&lt;ref&gt;{{harvtxt|Fraleigh|1976|pp=166–167}}&lt;/ref&gt;<br /> * The number of [[fixed point (mathematics)|fixed points]] of a [[dynamical system]] is invariant under many mathematical operations.<br /> * Euclidean distance is invariant under [[orthogonal matrix|orthogonal transformations]].<br /> * Euclidean [[area]] is invariant under a [[linear map]] with [[determinant]] 1 (see [[2 × 2 real matrices#Equi-areal mapping|Equi-areal maps]]).<br /> * Some invariants of [[projective transformation]]s: [[collinearity]] of three or more points, [[concurrent lines|concurrency]] of three or more lines, [[conic section]]s, the [[cross-ratio]].&lt;ref&gt;{{harvtxt|Kay|1969|pp=219}}&lt;/ref&gt;<br /> * The [[determinant]], [[Trace (linear algebra)|trace]], and [[eigenvectors]] and [[eigenvalues]] of a square matrix are invariant under changes of basis. In a word, the [[spectrum of a matrix]] is invariant to the change of basis.<br /> * [[Invariants of tensors]].<br /> * The [[singular-value decomposition|singular values]] of a matrix are invariant under orthogonal transformations.<br /> * [[Lebesgue measure]] is invariant under translations.<br /> * The [[variance]] of a [[probability distribution]] is invariant under translations of the [[real number|real]] line; hence the variance of a [[random variable]] is unchanged by the addition of a constant to it.<br /> * The [[fixed point (mathematics)|fixed points]] of a transformation are the elements in the domain invariant under the transformation. They may, depending on the application, be called [[symmetry|symmetric]] with respect to that transformation. For example, objects with [[translational symmetry]] are invariant under certain translations.<br /> *The integral &lt;math&gt;\textstyle{\int_M K\,d\mu}&lt;/math&gt; of the Gaussian curvature ''K'' of a 2-dimensional Riemannian manifold (''M'',''g'') is invariant under changes of the [[Riemannian metric]] ''g''. This is the [[Gauss-Bonnet Theorem]].<br /> <br /> ==Invariant set==<br /> A subset ''S'' of the domain ''U'' of a mapping ''T'': ''U'' → ''U'' is an '''invariant set''' under the mapping when &lt;math&gt;x \in S \Rightarrow T(x) \in S.&lt;/math&gt; Note that the [[element (mathematics)|elements]] of ''S'' are not [[Fixed point (mathematics)|fixed]], but rather the set ''S'' is fixed in the [[power set]] of ''U''.<br /> For example, a [[circle]] is an invariant subset of the plane under a [[rotation]] about the circle’s center. Further, a [[conical surface]] is invariant as a set under a [[homothety]] of space.<br /> <br /> An invariant set of an operation ''T'' is also said to be '''stable under''' ''T''. For example, the [[normal subgroup]]s that are so important in [[group theory]] are those [[subgroup]]s that are stable under the [[inner automorphism]]s of the ambient group.&lt;ref&gt;{{harvtxt|Fraleigh|1976|p=103}}&lt;/ref&gt;&lt;ref&gt;{{harvtxt|Herstein|1964|p=42}}&lt;/ref&gt;&lt;ref&gt;{{harvtxt|McCoy|1968|p=183}}&lt;/ref&gt;<br /> Other examples occur in [[linear algebra]]. Suppose a [[linear transformation]] ''T'' has an [[eigenvector]] '''v'''. Then the line through 0 and '''v''' is an invariant set under ''T''. The eigenvectors span an [[invariant subspace]] which is stable under ''T''.<br /> <br /> When ''T'' is a [[screw displacement]], the [[screw axis]] is an invariant line, though if the [[pitch (screw)|pitch]] is non-zero, ''T'' has no fixed points.<br /> <br /> == Formal statement ==<br /> {{unreferenced section|date=February 2010}}<br /> The notion of invariance is formalized in three different ways in mathematics: via [[group action]]s, presentations, and deformation.<br /> <br /> === Unchanged under group action ===<br /> Firstly, if one has a group ''G'' acting on a mathematical object (or set of objects) ''X,'' then one may ask which points ''x'' are unchanged, &quot;invariant&quot; under the group action, or under an element ''g'' of the group.<br /> <br /> Very frequently one will have a group acting on a set ''X'' and ask which objects in an ''associated'' set ''F''(''X'') are invariant. For example, rotation in the plane about a point leaves the point about which it rotates invariant, while translation in the plane does not leave any points invariant, but does leave all lines parallel to the direction of translation invariant as lines. Formally, define the set of lines in the plane ''P'' as ''L''(''P''); then a rigid motion of the plane takes lines to lines – the group of rigid motions acts on the set of lines – and one may ask which lines are unchanged by an action.<br /> <br /> More importantly, one may define a ''function'' on a set, such as &quot;radius of a circle in the plane&quot; and then ask if this function is invariant under a group action, such as rigid motions.<br /> <br /> Dual to the notion of invariants are ''[[coinvariant]]s,'' also known as ''orbits,'' which formalizes the notion of [[congruence relation|congruence]]: objects which can be taken to each other by a group action. For example, under the group of rigid motions of the plane, the perimeter of a triangle is an invariant, while the set of triangles congruent to a given triangle is a coinvariant.<br /> <br /> These are connected as follows: invariants are constant on coinvariants (for example, congruent triangles have the same perimeter), while two objects which agree in the value of one invariant may or may not be congruent (two triangles with the same perimeter need not be congruent). In [[classification problem (mathematics)|classification problem]]s, one seeks to find a [[complete set of invariants]], such that if two objects have the same values for this set of invariants, they are congruent. For example, triangles such that all three sides are equal are congruent, via SSS congruence, and thus the length of all three sides forms a complete set of invariants for triangles.<br /> <br /> === Independent of presentation ===<br /> Secondly, a function may be defined in terms of some presentation or decomposition of a mathematical object; for instance, the [[Euler characteristic]] of a [[cell complex]] is defined as the alternating sum of the number of cells in each dimension. One may forget the cell complex structure and look only at the underlying topological space (the manifold) – as different cell complexes give the same underlying manifold, one may ask if the function is ''independent'' of choice of ''presentation,'' in which case it is an ''intrinsically'' defined invariant. This is the case for the Euler characteristic, and a general method for defining and computing invariants is to define them for a given presentation and then show that they are independent of the choice of presentation. Note that there is no notion of a group action in this sense.<br /> <br /> The most common examples are:<br /> * The [[Differentiable manifold#Definition|presentation of a manifold]] in terms of coordinate charts – invariants must be unchanged under [[change of coordinates]].<br /> * Various [[manifold decomposition]]s, as discussed for Euler characteristic.<br /> * Invariants of a [[presentation of a group]].<br /> <br /> === Unchanged under perturbation ===<br /> Thirdly, if one is studying an object which varies in a family, as is common in [[algebraic geometry]] and [[differential geometry]], one may ask if the property is unchanged under perturbation – if an object is constant on families or invariant under change of metric, for instance.<br /> <br /> ==See also==<br /> * [[Erlangen program]]<br /> * [[Invariant (physics)]]<br /> * [[Invariant estimator]] in statistics<br /> * [[Invariant theory]]<br /> * [[Symmetry in mathematics]]<br /> * [[Topological invariant]]<br /> * [[Invariant differential operator]]<br /> * [[Invariant measure]]<br /> * [[Mathematical constant]]<br /> * [[Mathematical constants and functions]]<br /> <br /> ==Notes==<br /> <br /> {{Reflist}}<br /> <br /> ==References==<br /> {{Refbegin}}<br /> * {{ citation | first1 = John B. | last1 = Fraleigh | year = 1976 | isbn = 0-201-01984-1 | title = A First Course In Abstract Algebra | edition = 2nd | publisher = [[Addison-Wesley]] | location = Reading }}<br /> * {{ citation | first1 = I. N. | last1 = Herstein | year = 1964 | isbn = 978-1114541016 | title = Topics In Algebra | publisher = [[Blaisdell Publishing Company]] | location = Waltham }}<br /> * {{ citation | first1 = David C. | last1 = Kay | year = 1969 | lccn = 69-12075 | title = College Geometry | publisher = [[Holt, Rinehart and Winston]] | location = New York }}<br /> * {{ citation | first1 = Neal H. | last1 = McCoy | year = 1968 | title = Introduction To Modern Algebra, Revised Edition | publisher = [[Allyn and Bacon]] | location = Boston | lccn = 68-15225 }}<br /> *{{MathWorld|title=Invariant|urlname=Invariant}}<br /> *{{springer|title=Invariant|id=I/i052200|last=Popov|first=V.L.|authorlink=Vladimir L. Popov}}<br /> {{Refend}}<br /> <br /> ==External links==<br /> * [[Planet Math]] [http://planetmath.org/encyclopedia/Invariant.html Invariant]<br /> <br /> {{DEFAULTSORT:Invariant (Mathematics)}}<br /> [[Category:Mathematical terminology]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Aristotelian_physics&diff=575583014 Aristotelian physics 2013-10-03T14:20:32Z <p>Magmalex: /* Motion */</p> <hr /> <div>{{Use dmy dates|date=June 2013}}<br /> {{lead rewrite|date=February 2012}}<br /> '''Aristotelian Physics''', the [[natural sciences]], are described in the works of the [[Ancient Greek philosophy|Greek philosopher]] [[Aristotle]] (384 BC – 322 BC). In the ''[[Physics (Aristotle)|Physics]]'', Aristotle established general principles of change that govern all natural bodies; both living and inanimate, celestial and terrestrial—including all motion, change in respect to place, change in respect to size or number, qualitative change of any kind, and coming to be and passing away. As Martin Heidegger, one of the foremost philosophers of the twentieth century, once wrote,<br /> <br /> {{quote|Aristotelian &quot;physics&quot; is different from what we mean today by this word, not only to the extent that it belongs to antiquity whereas the modern physical sciences belong to modernity, rather above all it is different by virtue of the fact that Aristotle's &quot;physics&quot; is philosophy, whereas modern physics is a positive science that presupposes a philosophy.... This book determines the warp and woof of the whole of Western thinking, even at that place where it, as modern thinking, appears to think at odds with ancient thinking. But opposition is invariably {{sic|hide=y|comprised |of}} a decisive, and often even perilous, dependence. Without Aristotle's ''Physics'' there would have been no Galileo.&lt;ref&gt;Martin Heidegger, ''The Principle of Reason'', trans. Reginald Lilly, (Indiana University Press, 1991), 62-[http://books.google.com/books?id=rWDUmlA6M98C&amp;lpg=PP1&amp;pg=PA63#v=onepage&amp;q&amp;f=false 63].&lt;/ref&gt;}}<br /> <br /> To Aristotle, physics was a broad term that includes all nature sciences, such as philosophy of mind, body, sensory experience, memory and biology, and constitutes the foundational thinking underlying [[Corpus_Aristotelicum#Physics_.28the_study_of_nature.29|many]] of his works.<br /> <br /> == Ancient concepts ==<br /> Some concepts involved in Aristotle's physics are:<br /> #'''[[Teleology]]''': Aristotle observes that natural things tend toward definite goals or ends insofar as they are natural. For example, a seed, under normal circumstances, has the goal (telos) of becoming an adult plant. &lt;ref&gt;{{cite book|last=Aristotle|title=Parts of Animals I.1}}&lt;/ref&gt; Regularities manifest a rudimentary kind of teleology.<br /> # '''Natural motion''': Terrestrial objects tend toward a different part of the universe according to their composition of the four elements. For example, earth, the heaviest element, tends toward the center of the universe—hence the reason for the Earth being at the center. At the opposite extreme the lightest element, fire, tends upward, away from the center. The relative proportion of the four elements composing an object determines its motion. The elements are not proper ''[[Substance theory|substances]]'' in Aristotelian theory or the modern sense of the word. Refining an arbitrarily pure sample of an element isn't possible; They were [[abstraction]]s; one might consider an arbitrarily pure sample of a terrestrial substance having a large [[ratio]] of one element relative to the others.<br /> # '''Terrestrial motion''': Terrestrial objects move [[gravity|downward]] or [[buoyancy|upward]] toward their natural place. Motion from side to side results from the turbulent collision and sliding of the objects as well as transformations between the elements, (generation and corruption).<br /> # '''Rectilinear motion''': Ideal terrestrial motion would proceed straight up or straight down at [[Newton's laws of motion#Newton's first law|constant speed]]. Celestial motion is always ideal, it is circular and its speed is constant.<br /> # '''Speed, weight and resistance''': The ideal speed of a terrestrial object is [[directly proportional]] to its weight.&lt;!-- gravitational acceleration varies with both masses --&gt; In nature, however, the matter obstructing an object's path is a limiting factor that's [[inversely proportional]] to the [[viscosity]]&lt;!-- a better approximation than &quot;density&quot;? --&gt; of the medium.<br /> # '''Vacuum isn't possible''': [[Vacuum]] doesn't occur, but hypothetically, terrestrial motion in a vacuum would be indefinitely fast.<br /> &lt;!-- sync diff --&gt;<br /> # '''Continuum''': Aristotle argues against the ''indivisibles'' of [[Democritus]] (which differ considerably from the [[Corpuscularianism|historical]] and the [[Atomic theory|modern]] use of the term ''[[atom]]'').<br /> # '''Aether''': The &quot;greater and lesser lights of heaven&quot;, (the sun, moon, planets and stars), are embedded in perfectly concentric [[celestial spheres|''crystal'' spheres]] that rotate eternally at fixed rates. Because the spheres never change and ([[meteorite]]s notwithstanding) don't fall down or rise up from the ground, they cannot be composed of the four terrestrial elements. Much as [[Homer]]'s ''[[aether (mythology)|æthere (αἰθήρ)]]'', the &quot;pure air&quot; of [[Mount Olympus]] was the divine counterpart of the air (άήρ, ''aer'') breathed by [[immortality|mortal]]s, the celestial spheres are composed of a special element, eternal and unchanging, with circular natural motion.<br /> # '''Terrestrial change''': {{anchor|celestial unchanging}}[[File:Four elements representation.svg|thumb|right|The four terrestrial elements]] Unlike the eternal and unchanging celestial ''[[Aether (classical element)|aether]]'', each of the four terrestrial elements are capable of changing into either of the two elements they share a property with: e.g. the cold and wet (''[[Water (classical element)|water]]'') can transform into the hot and wet (''[[Air (classical element)|air]]'') or the cold and dry (''[[Earth (classical element)|earth]]'') and any apparent change into the hot and dry (''[[Fire (classical element)|fire]]'') is actually a [[Gray code|two step]] process. These properties are predicated of an actual substance relative to the work it's able to do; that of heating or chilling and of desiccating or moistening. The four elements exist ''only'' with regard to this capacity and relative to some potential work. The celestial element is eternal and unchanging, so only the four terrestrial elements account for ''coming to be'' and ''passing away''; also called ''&quot;generation and corruption&quot;'' after the Latin title of Aristotle's [[On Generation and Corruption|''De Generatione et Corruptione'' (Περὶ γενέσεως καὶ φθορᾶς)]].<br /> # '''Celestial motion''': The ''crystal spheres'' carrying the sun, moon and stars move eternally with unchanging circular motion. They're composed of solid ''[[Aether (classical element)|aether]]'' and no gaps exist between the spheres. Spheres are embedded within spheres to account for the ''wandering stars'', (i.e. the modern [[planet]]s, which appear to move erratically in comparison to the sun, moon and stars). Later, the belief that all spheres are concentric was forsaken in favor of [[Ptolemy]]'s ''[[deferent and epicycle]]''. Aristotle submits to the calculations of [[astronomer]]s regarding the total number of spheres and various accounts give a number in the neighborhood of 50 spheres. An ''[[unmoved mover]]'' is assumed for each sphere, including a ''[[primum movens|prime mover]]'' for the ''sphere of [[fixed stars]]''.&lt;!-- Zeus had seen far better days... --&gt; The ''unmoved movers'' do not push the spheres (nor could they, they're insubstantial and dimensionless); rather, they're the [[four causes|final cause]] of the motion, meaning they explain it in a way that's similar to the explanation &quot;the soul is moved by beauty&quot;. They simply &quot;think about thinking&quot;, eternally without change, which is the ''[[Hylomorphism|idea]]'' of [[Metaphysics (Aristotle)|&quot;being ''qua'' being&quot;]] in Aristotle reformulation of [[Theory of Forms|Plato's theory]].<br /> <br /> While consistent with common human experience, Aristotle's principles were not based on controlled, quantitative experiments, so, while they account for many broad features of nature, they do not describe our universe in the precise, quantitative way we have more recently come to expect from science. Contemporaries of Aristotle like [[Aristarchus of Samos|Aristarchus]] rejected these principles in favor of [[heliocentrism]], but their ideas were not widely accepted. Aristotle's principles were difficult to disprove merely through casual everyday observation, but later development of the [[scientific method]] challenged his views with [[experiment]]s, careful measurement, and more advanced technology such as the [[telescope]] and [[vacuum pump]].<br /> <br /> === Elements ===<br /> According to Aristotle, the [[classical element|elements]] which compose the terrestrial spheres are different from the one that composes the celestial spheres.&lt;ref name=&quot;utk&quot;&gt;{{Cite web|url=http://csep10.phys.utk.edu/astr161/lect/history/aristotle_dynamics.html|title=Physics of Aristotle vs. The Physics of Galileo|accessdate=6 April 2009| archiveurl= http://web.archive.org/web/20090411072007/http://csep10.phys.utk.edu/astr161/lect/history/aristotle_dynamics.html| archivedate= 11 April 2009 &lt;!--DASHBot--&gt;| deadurl= no}}&lt;/ref&gt; He believed that four elements make up everything under the moon (the terrestrial): [[earth (classical element)|earth]], [[air (classical element)|air]], [[fire (classical element)|fire]] and [[water (classical element)|water]].{{Ref_label|A|a|none}}&lt;ref name=&quot;edu&quot;&gt;{{Cite web|url=http://www.hep.fsu.edu/~wahl/Quarknet/pepperlect/aristogalnewt.pdf|format=PDF|title=www.hep.fsu.edu|accessdate=26 March 2007}}&lt;/ref&gt;<br /> He also held that the heavens are made of a special, fifth element called &quot;[[Aether (classical element)|aether]]&quot;,&lt;ref name=&quot;edu&quot; /&gt; which is weightless and &quot;incorruptible&quot; (which is to say, it doesn't change).&lt;ref name=&quot;edu&quot; /&gt; Aether is also known by the name &quot;quintessence&quot;—literally, &quot;fifth substance&quot;.&lt;ref name=&quot;ari&quot;&gt;{{Cite web|url=http://aether.lbl.gov/www/classes/p10/aristotle-physics.html|title=Aristotle's physics|accessdate=6 April 2009}}&lt;/ref&gt;<br /> [[File:Aristotle Physica page 1.png|thumb|left|200px|Page from an 1837 edition of ''Physica'' by the ancient Greek philosopher [[Aristotle]]—a book about a variety of subjects including the [[philosophy]] of nature and some topics within [[physics]]]]<br /> <br /> He considered heavy substances such as [[iron]] and other metals to consist primarily of the element ''earth'', with a smaller amount of the other three terrestrial elements. Other, lighter objects, he believed, have less earth, relative to the other three elements in their composition.&lt;ref name=&quot;ari&quot; /&gt;<br /> <br /> &lt;!-- In modern Physics, [[chemical element]]s, [[chemical substance]]s, [[chemical compound]]s, and [[mixture]]s are... --&gt;<br /> <br /> === Motion ===<br /> <br /> Aristotle held that each of the four terrestrial (or ''worldly'') elements move toward their ''natural place'', and that this natural motion would proceed unless hindered. For instance, because [[smoke]] is mainly ''air'', it rises toward the sky but not as high as ''fire''. <br /> <br /> Motion and change are closely related in Aristotelian physics. Motion, according to [[Aristotle]] involve change from [[potentiality]] to [[actuality]].&lt;ref&gt;{{Bodnar, Istvan, &quot;Aristotle's Natural Philosophy&quot;, The Stanford Encyclopedia of Philosophy (Spring 2012 Edition), Edward N. Zalta (ed.), URL = &lt;http://plato.stanford.edu/archives/spr2012/entries/aristotle-natphil/&gt;.}}&lt;/ref&gt; He gave example of four types of change.<br /> <br /> Aristotle proposed that velocity is directly proportional to the weight of an object which will make objects of different weight fall to the ground at different time. [[Galileo]] would later contest Aristotle’s point by demonstrating that object of different weights reach the ground in a similar time.&lt;ref&gt;Lindberg, D. (2008) ''The beginnings of western science: The European scientific tradition in philosophical, religious, and institutional context, prehistory to a.d. 1450'' (2nd ed.) [[University of Chicago Press]]&lt;/ref&gt;<br /> <br /> ===Vacuum===<br /> <br /> A vacuum, or void, is a place free of everything, and Aristotle argued against the possibility. Aristotle believed that the speed of an object's motion is proportional to the force being applied (or the object's weight in the case of natural motion) and inversely proportional to the viscosity of the medium; the more tenuous a medium is, the faster the motion. He reasoned that objects moving in a void, could move indefinitely fast and thus, the objects surrounding a void would immediately fill it before it could actually form.&lt;ref&gt;Land, Helen ''The Order of Nature in Aristotle's Physics: Place and the Elements'' (1998)&lt;/ref&gt; In astronomy, [[Void (astronomy)|voids]], such as the [[Local Void]] adjacent to our galaxy, have the opposite effect; off-center bodies are ejected from the void due to the gravity of the material outside, which being the farthest away in a direction towards the center, is also at its weakest.&lt;ref&gt;{{cite journal |author=Tully |author2=Shaya |author3=Karachentsev |author4=Courtois |author5=Kocevski |author6=Rizzi |author7=Peel |year=2008 |title=Our Peculiar Motion Away From the Local Void |journal=The Astrophysical Journal |volume=676 |number=1 |url=http://stacks.iop.org/0004-637X/676/i=1/a=184 |pages=184|bibcode = 2008ApJ...676..184T |doi = 10.1086/527428 |arxiv = 0705.4139 }}&lt;/ref&gt;<br /> <br /> === Natural place ===<br /> <br /> The Aristotelian explanation of gravity is that all bodies move toward their ''natural place''. For the element ''earth'', that place is the center of the ([[geocentric]]) universe, next comes the natural place of ''water'' (in a concentric shell around that of ''earth''). The natural place of ''air'' is likewise a concentric shell surrounding the place of ''water''. [[Sea level]] is between those two. Finally, the natural place of ''fire'' is higher than that of ''air'' but below the innermost celestial sphere, (the one carrying the Moon). Even at locations well above sea level, such as a mountain top, an object made mostly of the former two elements tends to fall and objects made mostly of the latter two tend to rise.<br /> <br /> === Place (topos) ===<br /> <br /> In Book ''Delta'' of his ''Physics'' (IV.5) Aristotle defines topos (place) as the inner two-dimensional surface boundary of the containing body that is in touch with the outer two-dimensional surface of the contained body. This definition was the most dominant until the beginnings of the 17th century, even though it was called into doubt and debated by philosophers since antiquity, as for instance discussed by [[Simplicius]] in his ''Corollaries on place''. The most significant early serious critique to this conception of place was demonstrated geometrically by the 11th century Arab polymath al-Hasan [[Ibn al-Haytham]] ([[Alhazen]]) in his ''Discourse on place''.&lt;ref&gt;{{cite journal|last=El-Bizri|first=Nader|title=In Defence of the Sovereignty of Philosophy: al-Baghdadi's Critique of Ibn al-Haytham's Geometrisation of Place|journal=Arabic Sciences and Philosophy (Cambridge University Press)|year=2007|volume=17|pages=57–80}}&lt;/ref&gt;<br /> <br /> ==Medieval commentary==<br /> {{Cite check|section|date=September 2010}}<br /> {{Main|Theory of impetus}}<br /> <br /> The Aristotelian theory of motion came under criticism and/or modification during the [[Middle Ages]]. The first such modification came from [[John Philoponus]] in the 6th century. He partly accepted Aristotle's theory that &quot;continuation of motion depends on continued action of a force,&quot; but modified it to include his idea that the hurled body acquires a motive power or inclination for forced movement from the agent producing the initial motion and that this power secures the continuation of such motion. However, he argued that this impressed virtue was temporary; that it was a self-expending inclination, and thus the violent motion produced comes to an end, changing back into natural motion. In the 11th century, the Persian polymath [[Avicenna]], in ''[[The Book of Healing]]'' (1027) was influenced by Philoponus' theory in its rough outline, but took it much further to present the first alternative to the Aristotelian theory. In the [[Avicennism|Avicennan]] theory of motion, the violent inclination he conceived was non-self-consuming, a permanent force whose effect was dissipated only as a result of external agents such as air resistance, making him &quot;the first to conceive such a permanent type of impressed virtue for non-natural motion.&quot; Such a self-motion (''mayl'') is &quot;almost the opposite of the Aristotelian conception of violent motion of the projectile type, and it is rather reminiscent of the principle of [[inertia]], i.e., [[Newton's first law of motion]].&quot;&lt;ref&gt;[[Aydin Sayili]] (1987), &quot;Ibn Sīnā and Buridan on the Motion of the Projectile&quot;, ''Annals of the New York Academy of Sciences'' '''500''' (1): 477–482 [477]: {{quote|According to Aristotle, continuation of motion depends on continued action of a force. The motion of a hurled body, therefore, requires elucidation. Aristotle maintained that the air of the atmosphere was responsible for the continuation of such motion. John Philoponos of the 6th century rejected this Aristotelian view. He claimed that the hurled body acquires a motive power or an inclination for forced movement from the agent producing the initial motion and that this power or condition and not the ambient medium secures the continuation of such motion. According to Philoponos this impressed virtue was temporary. It was a self-expending inclination, and thus the violent motion thus produced comes to an end and changes into natural motion. Ibn Sina adopted this idea in its rough outline, but the violent inclination as he conceived it was a non-self-consuming one. It was a permanent force whose effect got dissipated only as a result of external agents such as air resistance. He is apparently the first to conceive such a permanent type of impressed virtue for non-natural motion. [...] Indeed, self-motion of the type conceived by Ibn Sina is almost the opposite of the Aristotelian conception of violent motion of the projectile type, and it is rather reminiscent of the principle of inertia, i.e., Newton's first law of motion.}}&lt;/ref&gt;<br /> <br /> The eldest [[Banū Mūsā]] brother, Ja'far Muhammad ibn Mūsā ibn Shākir (800-873), wrote the ''Astral Motion'' and ''The Force of Attraction''. The Persian physicist, [[Ibn al-Haytham]] (965-1039), discussed the theory of attraction between bodies. It seems that he was aware of the [[Magnitude (mathematics)|magnitude]] of [[acceleration]] due to [[gravity]] and he discovered that the heavenly bodies &quot;were accountable to the [[Physical law|laws of physics]]&quot;.&lt;ref&gt;Duhem, Pierre (1908, 1969). ''To Save the Phenomena: An Essay on the Idea of Physical theory from Plato to Galileo'', p. 28. University of Chicago Press, Chicago.&lt;/ref&gt; The Persian polymath [[Abū Rayhān al-Bīrūnī]] (973-1048) was the first to realize that [[acceleration]] is connected with non-uniform motion, part of [[Newton's second law of motion]].&lt;ref name=Biruni&gt;{{MacTutor|id=Al-Biruni|title=Al-Biruni}}&lt;/ref&gt; During his debate with [[Avicenna]], al-Biruni also criticized the Aristotelian theory of gravity for denying the existence of [[wiktionary:levity|levity]] or gravity in the [[celestial sphere]]s and for its notion of [[circular motion]] being an [[Intrinsic and extrinsic properties|innate property]] of the [[Astronomical object|heavenly bodies]].&lt;ref name=Berjak&gt;Rafik Berjak and Muzaffar Iqbal, &quot;Ibn Sina--Al-Biruni correspondence&quot;, ''Islam &amp; Science'', June 2003.&lt;/ref&gt;<br /> <br /> In 1121, [[al-Khazini]], in ''The Book of the Balance of Wisdom'', proposed that the gravity and [[gravitational potential energy]] of a body varies depending on its distance from the centre of the Earth.&lt;ref&gt;Mariam Rozhanskaya and I. S. Levinova (1996), &quot;Statics&quot;, in Roshdi Rashed, ed., ''[[Encyclopedia of the History of Arabic Science]]'', Vol. 2, p. 614-642 [621-622]. [[Routledge]], London and New York.&lt;/ref&gt;{{Failed verification|date=May 2010}} [[Hibat Allah Abu'l-Barakat al-Baghdaadi]] (1080–1165) wrote a critique of Aristotelian physics entitled ''al-Mu'tabar'', where he negated Aristotle's idea that a constant [[force]] produces uniform motion, as he realized that a force applied continuously produces [[acceleration]], a fundamental law of [[classical mechanics]] and an early foreshadowing of [[Newton's second law of motion]].&lt;ref&gt;{{cite encyclopedia<br /> | last = [[Shlomo Pines]]<br /> | title = Abu'l-Barakāt al-Baghdādī , Hibat Allah<br /> | encyclopedia = [[Dictionary of Scientific Biography]]<br /> | volume = 1<br /> | pages = 26–28<br /> | publisher = Charles Scribner's Sons<br /> | location = New York<br /> | year = 1970<br /> | isbn = 0-684-10114-9<br /> }}<br /> &lt;br&gt;([[cf.]] Abel B. Franco (October 2003). &quot;Avempace, Projectile Motion, and Impetus Theory&quot;, ''Journal of the History of Ideas'' '''64''' (4), p. 521-546 [528].)&lt;/ref&gt; Like Newton, he described acceleration as the rate of change of [[speed]].&lt;ref&gt;A. C. Crombie, ''Augustine to Galileo 2'', p. 67.&lt;/ref&gt;<br /> <br /> In the 14th century, [[Jean Buridan]] developed the [[theory of impetus]] as an alternative to the Aristotelian theory of motion. The theory of impetus was a precursor to the concepts of [[inertia]] and [[momentum]] in classical mechanics.&lt;ref&gt;[[Aydin Sayili]] (1987), &quot;Ibn Sīnā and Buridan on the Motion of the Projectile&quot;, ''Annals of the New York Academy of Sciences'' '''500''' (1): 477–482&lt;/ref&gt; Buridan and [[Albert of Saxony (philosopher)|Albert of Saxony]] also refer to Abu'l-Barakat in explaining that the acceleration of a falling body is a result of its increasing impetus.&lt;ref name=Gutman&gt;{{Cite book|title=Pseudo-Avicenna, Liber Celi Et Mundi: A Critical Edition|first=Oliver|last=Gutman|publisher=[[Brill Publishers]]|year=2003|isbn=90-04-13228-7|page=193|ref=harv|postscript=&lt;!--None--&gt;}}&lt;/ref&gt; In the 16th century, [[Al-Birjandi]] discussed the possibility of the [[Earth's rotation]]. In his analysis of what might occur if the Earth were rotating, he developed a hypothesis similar to [[Galileo Galilei]]'s notion of &quot;circular inertia&quot;,&lt;ref&gt;{{Harv|Ragep|2001b|pp=63–4}}&lt;/ref&gt; which he described in the following [[Experiment|observational test]]:<br /> <br /> {{quote|&quot;The small or large rock will fall to the Earth along the path of a line that is perpendicular to the plane (''sath'') of the horizon; this is witnessed by experience (''tajriba''). And this perpendicular is away from the tangent point of the Earth’s sphere and the plane of the perceived (''hissi'') horizon. This point moves with the motion of the Earth and thus there will be no difference in place of fall of the two rocks.&quot;&lt;ref&gt;{{Harv|Ragep|2001a|pp=152–3}}&lt;/ref&gt;}}<br /> <br /> == Life and death of Aristotelian physics ==<br /> [[File:Rembrandt Harmensz. van Rijn 013.jpg|thumb|right|200px| The famous philosopher Aristotle, depicted in a painting by [[Rembrandt Harmensz. van Rijn]]]]<br /> The reign of Aristotelian physics lasted for almost two millennia, and provides the earliest known speculative theories of physics. After the work of [[Galileo]], [[Descartes]], and many others, it became generally accepted that Aristotelian physics was not correct or viable.&lt;ref name=&quot;ari&quot;/&gt;<br /> Despite this, the scholastic science survived well into the seventeenth century, and perhaps even later, until universities amended their curricula.<br /> <br /> In [[Europe]], [[Aristotle]]'s theory was first convincingly discredited by the work of [[Galileo Galilei]]. Using a [[telescope]], Galileo observed that the moon was not entirely smooth, but had craters and mountains, contradicting the Aristotelian idea of an incorruptible perfectly smooth moon. Galileo also criticized this notion theoretically &amp;ndash; a perfectly smooth moon would reflect light unevenly like a shiny [[billiard ball]], so that the edges of the moon's disk would have a different brightness than the point where a tangent plane reflects sunlight directly to the eye. A rough moon reflects in all directions equally, leading to a disk of approximately equal brightness which is what is observed.&lt;ref name=GalileoTwoSystems&gt;Galileo Galilei, ''[[Dialogue Concerning the Two Chief World Systems]]''.&lt;/ref&gt; Galileo also observed that [[Jupiter]] has [[Galilean moons|moons]], objects which revolve around a body other than the Earth. He noted the [[planetary phase|phases]] of Venus, convincingly demonstrating that Venus, and by implication Mercury, travels around the sun, not the Earth.<br /> <br /> According to legend, Galileo dropped balls of various [[Density|densities]] from the [[Leaning Tower of Pisa|Tower of Pisa]] and found that lighter and heavier ones fell at almost the same speed. In fact, he did quantitative experiments with balls rolling down an inclined plane, a form of falling that is slow enough to be measured without advanced instruments.<br /> <br /> A heavier body falls faster than a lighter one of the same shape in a dense medium like water, and this led Aristotle to speculate that the rate of falling is proportional to the weight and inversely proportional to the density of the medium. From his experience with objects falling in water, he concluded that water is approximately ten times denser than air. By weighing a volume of compressed air, Galileo showed that this overestimates the density of air by a factor of forty.&lt;ref name=GalileoNewSciences&gt;Galileo Galilei, ''[[Two New Sciences]]''.&lt;/ref&gt; From his experiments with inclined planes, he concluded that all bodies fall at the same rate neglecting friction.<br /> <br /> Galileo also advanced a theoretical argument to support his conclusion. He asked if two bodies of different weights and different rates of fall are tied by a string, does the combined system fall faster because it is now more massive, or does the lighter body in its slower fall hold back the heavier body? The only convincing answer is neither: all the systems fall at the same rate.&lt;ref name=GalileoTwoSystems/&gt;<br /> <br /> Followers of Aristotle were aware that the motion of falling bodies was not uniform, but picked up speed with time. Since time is an abstract quantity, the [[Peripatetic school|peripatetic]]s postulated that the speed was proportional to the distance. Galileo established experimentally that the speed is proportional to the time, but he also gave a theoretical argument that the speed could not possibly be proportional to the distance. In modern terms, if the rate of fall is proportional to the distance, the differential equation for the distance y travelled after time t is<br /> :&lt;math&gt;<br /> {dy\over dt} = y<br /> &lt;/math&gt;<br /> with the condition that &lt;math&gt;y(0)=0&lt;/math&gt;. Galileo demonstrated that this system would stay at &lt;math&gt;y=0&lt;/math&gt; for all time. If a perturbation set the system into motion somehow, the object would pick up speed exponentially in time, not quadratically.&lt;ref name=GalileoNewSciences/&gt;<br /> <br /> Standing on the surface of the [[moon]] in 1971, [[David Scott]] famously repeated Galileo's experiment by dropping a feather and a hammer from each hand at the same time. In the absence of a substantial [[atmosphere]], the two objects fell and hit the moon's surface at the same time.<br /> <br /> With his [[Newton's law of universal gravitation|law of universal gravitation]] [[Isaac Newton]] was the first to mathematically codify a correct theory of gravity. In this theory, any mass is attracted to any other mass by a force which decreases as the inverse square of their distance. In 1915, Newton's theory was replaced by [[Albert Einstein]]'s [[General relativity|general theory of relativity]]. See ''[[gravity]]'' for a much more detailed complete discussion.<br /> <br /> == See also ==<br /> Disputed works are marked by *, and ** marks a work generally agreed to be spurious.<br /> * (184a) [[Physics (Aristotle)|Physics]] [http://ebooks.adelaide.edu.au/a/aristotle/physics/ (or ''Physica'')]<br /> * (268a) [[On the Heavens]] [http://ebooks.adelaide.edu.au/a/aristotle/heavens/ (or ''De Caelo'')]<br /> * (314a) [[On Generation and Corruption]] [http://ebooks.adelaide.edu.au/a/aristotle/corruption/ (or ''De Generatione et Corruptione'')]<br /> * (338a) [[Meteorology (Aristotle)|Meteorology]] [http://ebooks.adelaide.edu.au/a/aristotle/meteorology/ (or ''Meteorologica'')]<br /> * (391a) [[On the Universe]]** (or ''De Mundo'')<br /> * (402a) [[On the Soul]] [http://ebooks.adelaide.edu.au/a/aristotle/a8so/ (or ''De Anima'')]<br /> * The [[Parva Naturalia]] (&quot;Little Physical Treatises&quot;):<br /> ** (436a) [[Sense and Sensibilia (Aristotle)|Sense and Sensibilia]] [http://ebooks.adelaide.edu.au/a/aristotle/sense/ (or ''De Sensu et Sensibilibus'')]<br /> ** (449b) [[On Memory]] [http://ebooks.adelaide.edu.au/a/aristotle/memory/ (or ''De Memoria et Reminiscentia'')]<br /> ** (453b) [[On Sleep]] [http://ebooks.adelaide.edu.au/a/aristotle/sleep/ (or ''De Somno et Vigilia'')]<br /> ** (458a) [[On Dreams]] [http://ebooks.adelaide.edu.au/a/aristotle/dreams/ (or ''De Insomniis'')]<br /> ** (462b) [[On Divination in Sleep]] [http://ebooks.adelaide.edu.au/a/aristotle/prophesy/ (or ''De Divinatione per Somnum'')]<br /> ** (464b) [[On Length and Shortness of Life]] [http://ebooks.adelaide.edu.au/a/aristotle/life/ (or ''De Longitudine et Brevitate Vitae'')]<br /> ** (467b) [[On Youth, Old Age, Life and Death, and Respiration]] [http://ebooks.adelaide.edu.au/a/aristotle/youth/ (or ''De Juventute et Senectute'', ''De Vita et Morte'', ''De Respiratione'')]<br /> * (481a) [[On Breath]]** (or ''De Spiritu'')<br /> * (486a) [[History of Animals]] [http://etext.virginia.edu/etcbin/toccer-new2?id=AriHian.xml&amp;images=images/modeng&amp;data=/texts/english/modeng/parsed&amp;tag=public&amp;part=all (or ''Historia Animalium'')]<br /> * (639a) [[Parts of Animals]] [http://etext.virginia.edu/etcbin/toccer-new2?id=AriPaan.xml&amp;images=images/modeng&amp;data=/texts/english/modeng/parsed&amp;tag=public&amp;part=all (or ''De Partibus Animalium'')]<br /> * (698a) [[Movement of Animals]] [http://ebooks.adelaide.edu.au/a/aristotle/motion/ (or ''De Motu Animalium'')]<br /> * (704a) [[Progression of Animals]] [http://historyofideas.org/etcbin/toccer-new2?id=AriGait.xml&amp;images=images/modeng&amp;data=/texts/english/modeng/parsed&amp;tag=public&amp;part=all (or ''De Incessu Animalium'')]<br /> * (715a) [[Generation of Animals]] [http://etext.virginia.edu/etcbin/toccer-new2?id=AriGene.xml&amp;images=images/modeng&amp;data=/texts/english/modeng/parsed&amp;tag=public&amp;part=all (or ''De Generatione Animalium'')]<br /> * (791a) [[On Colors]]** (or ''De Coloribus'')<br /> * (800a) [[On Things Heard]]** (or ''De audibilibus'')<br /> * (805a) [[Physiognomonics]]** (or ''Physiognomonica'')<br /> * (815a) [[On Plants]]** (or ''De Plantis'')<br /> * (830a) [[On Marvellous Things Heard]]** [http://www.archive.org/stream/demirabilibusaus00arisrich/demirabilibusaus00arisrich_djvu.txt (or ''De mirabilibus auscultationibus'')]<br /> * (847a) [[Mechanics (Aristotle)|Mechanics]]** (or ''Mechanica'')<br /> * (859a) [[Problems (Aristotle)|Problems]]* (or ''Problemata'')<br /> * (968a) [[On Indivisible Lines]]** (or ''De Lineis Insecabilibus'')<br /> * (973a) [[The Situations and Names of Winds]]** (or ''Ventorum Situs'')<br /> * (974a) [[On Melissus, Xenophanes, and Gorgias]]**<br /> <br /> == Notes ==<br /> {{Refbegin}}<br /> '''a''' {{Note_label|A|a|none}} The term &quot;Earth&quot; does not refer to planet [[Earth]], which is known by modern science to be composed of a large number of [[chemical element]]s. Modern chemical elements are not conceptually similar to Aristotle's elements. The term &quot;Air&quot; does not refer to the breathable [[air]]. The Earth's atmosphere is also made up of many chemical elements.<br /> {{Refend}}<br /> <br /> == References ==<br /> {{Reflist|2}}<br /> *{{Cite journal<br /> |last=Ragep<br /> |first=F. Jamil<br /> |year=2001a<br /> |title=Tusi and Copernicus: The Earth's Motion in Context<br /> |journal=Science in Context<br /> |volume=14<br /> |issue=1–2<br /> |pages=145–163<br /> |publisher=[[Cambridge University Press]]<br /> |ref=harv<br /> |postscript=&lt;!--None--&gt;<br /> }}<br /> *{{Cite journal<br /> |last=Ragep<br /> |first=F. Jamil<br /> |year=2001b<br /> |title=Freeing Astronomy from Philosophy: An Aspect of Islamic Influence on Science<br /> |journal=Osiris, 2nd Series<br /> |volume=16<br /> |issue=Science in Theistic Contexts: Cognitive Dimensions<br /> |pages=49–64 &amp; 66–71<br /> |ref=harv<br /> |postscript=&lt;!--None--&gt;<br /> |bibcode = 2001Osir...16...49R<br /> |doi=10.1086/649338<br /> |last2=Al-Qushji<br /> |first2=Ali}}<br /> * H. Carteron (1965) &quot;Does Aristotle Have a Mechanics?&quot; in ''Articles on Aristotle 1. Science'' eds. Jonathan Barnes, Malcolm Schofield, Richard Sorabji (London: General Duckworth and Company Limited), 161-174.<br /> <br /> ==Further reading==<br /> * Katalin Martinás, “Aristotelian Thermodynamics,” ''Thermodynamics: history and philosophy: facts, trends, debates'' (Veszprém, Hungary 23–28 July 1990), 285-303.<br /> <br /> {{DEFAULTSORT:Aristotelian Physics (History of Science)}}<br /> [[Category:Aristotle|Physics]]<br /> [[Category:History of physics]]<br /> [[Category:Natural philosophy]]<br /> <br /> [[pt:Teoria aristotélica da gravitação]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Tensor_product&diff=564112247 Tensor product 2013-07-13T15:15:46Z <p>Magmalex: /* Prerequisite: the free vector space */ changed: x in F to x in K</p> <hr /> <div>{{mergefrom|Dyadic product|Outer product|date=August 2012|discuss=Wikipedia talk:WikiProject Mathematics#Suggested merges with dyadic product and outer product, into tensor product...}}<br /> <br /> In [[mathematics]], the '''tensor product''', denoted by ⊗, may be applied in different contexts to [[vector space|vectors]], [[matrix (mathematics)|matrices]], [[tensors]], [[vector spaces]], [[algebra over a field|algebras]], [[topological vector spaces]], and [[module (mathematics)|modules]], among many other structures or objects. In each case the significance of the symbol is the same: the most general [[bilinear operator|bilinear operation]]. In some contexts, this product is also referred to as '''[[outer product]]'''. The term &quot;tensor product&quot; is also used in relation to [[monoidal category|monoidal categories]]. The &lt;math&gt;\boxtimes&lt;/math&gt; variant of ⊗ is used in control theory that expresses that the elements in the tensor product are vectors, matrices or tensors which define the vertexes of a given polytopic model, as in [[TP model transformation]].<br /> <br /> ==Tensor product of vector spaces==<br /> The tensor product of two [[vector space]]s ''V'' and ''W'' over a [[field (mathematics)|field]] ''K'' is another vector space over ''K''. It is denoted ''V''&amp;nbsp;⊗&lt;sub&gt;''K''&lt;/sub&gt;&amp;nbsp;''W'' or ''V''&amp;nbsp;⊗&amp;nbsp;''W'' when the underlying field ''K'' is understood.<br /> <br /> ===Prerequisite: the free vector space===<br /> The construction of ''V''&amp;nbsp;⊗&amp;nbsp;''W'' requires the notion of the [[free vector space]] ''F''(''S'') on some [[set (mathematics)|set]] ''S''. The elements of the vector space ''F''(''S'') are expressions of the form<br /> :&lt;math&gt;a_1 \cdot s_1 + a_2 \cdot s_2 + \dots + a_n \cdot s_n.&lt;/math&gt;<br /> Here the coefficients &lt;math&gt;a_1, \dots, a_n&lt;/math&gt; are elements of the ground field ''K'' and the &lt;math&gt;s_1, \dots, s_n&lt;/math&gt; are arbitrary elements of ''S''. The plus symbol and the dots are purely formal notation. Addition of such formal linear sums does ''not'' mean that elements of ''S'' are added, nor is any element of ''K'' actually multiplied with one of ''S''. Instead, for example<br /> :&lt;math&gt;(a_1 \cdot s_1 + \dots + a_n \cdot s_n) + (a'_1 \cdot s_1 + b' \cdot s') = (a_1 + a'_1) \cdot s_1 + a_2\cdot s_2 + \dots a_n \cdot s_n + b' \cdot s',&lt;/math&gt;<br /> if s' is different from all the elements appearing in the first summand. Moreover, the product ([[scalar multiplication]]) of the above formal linear sum with some element ''x'' in ''K'' is defined as<br /> :&lt;math&gt;(x a_1) \cdot s_1 + (x a_2) \cdot s_2 + \dots + (x a_n) \cdot s_n.&lt;/math&gt;<br /> This concludes the definition of the vector space ''F''(''S''). For example, if ''S'' has just 3 elements, then ''F''(''S'') is a 3-[[dimension (vector space)|dimensional]] vector space.<br /> <br /> ===Definition===<br /> Given two vector spaces ''V'' and ''W'', the [[Cartesian product]] ''V'' &amp;times; ''W'' is the set consisting of pairs (''v'', ''w'') with ''v'' in ''V'' and ''w'' in ''W''. (This Cartesian product is also a vector space in its own right, but is regarded as a set, only, at this point.) The tensor product is defined as a certain [[quotient space (linear algebra)|quotient vector space]] of ''F''(''V'' &amp;times; ''W''), the free ''K''-vector space on the Cartesian product.<br /> <br /> The free vector space is called like this since different elements of the set ''V'' x ''W'' are not at all related in ''F''(''V'' &amp;times; ''W''). For example, given two different elements &lt;math&gt;v_1, v_2 \in V&lt;/math&gt;, in the free vector space ''F''(''V'' x ''W''), the equation<br /> :&lt;math&gt;(v_1, w_1) + (v_2, w_1) = (v_1 + v_2, w_1)&lt;/math&gt;<br /> does ''not'' hold. Likewise, for ''x'' in ''K'', the equation<br /> :&lt;math&gt;x (v_1, w_1) = (x v_1, w_1)&lt;/math&gt;<br /> does ''not'' hold in the free vector space. In this sense, even though ''V'' &amp;times; ''W'' is a vector space itself, that structure is not reflected in ''F''(''V'' &amp;times; ''W''). The idea of the tensor product is to enforce these two relations and similar ones for the second variable. To do so, consider the subspace ''R'' of ''F''(''V'' &amp;times; ''W'') generated by the following elements. To simplify notation, it is customary to drop the coefficient if it is one, i.e., &lt;math&gt;(v, w)&lt;/math&gt; stands for &lt;math&gt;1 \cdot (v, w) \in F(V \times W)&lt;/math&gt;.<br /> <br /> &lt;math&gt;\begin{align}<br /> (v_1, w) + (v_2, w) - (v_1 + v_2, w)\\<br /> (v, w_1) + (v, w_2) - (v, w_1 + w_2)\\<br /> c \cdot (v, w) - (cv, w) \\<br /> c \cdot (v, w) - (v, cw),<br /> \end{align}&lt;/math&gt;<br /> <br /> where ''v'', ''v''&lt;sub&gt;1&lt;/sub&gt; and ''v''&lt;sub&gt;2&lt;/sub&gt; are arbitrary elements of ''V'', while ''w'', ''w''&lt;sub&gt;1&lt;/sub&gt;, and ''w''&lt;sub&gt;2&lt;/sub&gt; are vectors from ''W'', and ''c'' is from the underlying field ''K''.<br /> <br /> The tensor product is defined as the vector space<br /> :&lt;math&gt;V \otimes W := F(V \times W) / R.&lt;/math&gt;<br /> The ''tensor product of two vectors'' ''v'' and ''w'' is the [[equivalence class]] ((''v'',''w'') + ''R'') of (''v'',''w'') in ''V''&amp;nbsp;⊗&amp;nbsp;''W''. It is denoted ''v''&amp;nbsp;⊗&amp;nbsp;''w''. The effect of dividing out ''R'' in the free vector space is the following equations hold in ''V''&amp;nbsp;⊗&amp;nbsp;''W'':<br /> :&lt;math&gt;\begin{align}<br /> (v_1 + v_2) \otimes w &amp;= v_1 \otimes w + v_2 \otimes w;\\<br /> v \otimes (w_1 + w_2) &amp;= v \otimes w_1 + v \otimes w_2;\\<br /> cv \otimes w &amp;= v \otimes cw = c(v \otimes w).<br /> \end{align}&lt;/math&gt;<br /> <br /> ===Notation and examples===<br /> Given bases {''v&lt;sub&gt;i&lt;/sub&gt;''} and {''w&lt;sub&gt;i&lt;/sub&gt;''} for ''V'' and ''W'' respectively, the tensors {''v&lt;sub&gt;i&lt;/sub&gt;''&amp;nbsp;⊗&amp;nbsp;''w&lt;sub&gt;j&lt;/sub&gt;''} form a basis for ''V''&amp;nbsp;⊗&amp;nbsp;''W''. The dimension of the tensor product therefore is the product of dimensions of the original spaces; for instance '''R'''&lt;sup&gt;''m''&lt;/sup&gt;&amp;nbsp;⊗&amp;nbsp;'''R'''&lt;sup&gt;''n''&lt;/sup&gt; will have dimension ''mn''.<br /> <br /> Elements of ''V''&amp;nbsp;⊗&amp;nbsp;''W'' are sometimes referred to as ''tensors'', although this term refers to many other related concepts as well.&lt;ref&gt;See [[Tensor]] or [[Tensor (intrinsic definition)]].&lt;/ref&gt; An element of ''V''&amp;nbsp;⊗&amp;nbsp;''W'' of the form ''v''&amp;nbsp;⊗&amp;nbsp;''w'' is called a ''pure'' or ''[[simple tensor]]''. In general, an element of the tensor product space is not a pure tensor, but rather a finite linear combination of pure tensors. That is to say, if ''v''&lt;sub&gt;1&lt;/sub&gt; and ''v''&lt;sub&gt;2&lt;/sub&gt; are [[linearly independent]], and ''w''&lt;sub&gt;1&lt;/sub&gt; and ''w''&lt;sub&gt;2&lt;/sub&gt; are also linearly independent, then ''v''&lt;sub&gt;1&lt;/sub&gt;&amp;nbsp;⊗&amp;nbsp;''w''&lt;sub&gt;1&lt;/sub&gt; + ''v''&lt;sub&gt;2&lt;/sub&gt;&amp;nbsp;⊗&amp;nbsp;''w''&lt;sub&gt;2&lt;/sub&gt; cannot be written as a pure tensor. The number of simple tensors required to express an element of a tensor product is called the [[tensor rank]] (not to be confused with [[tensor order]], which is the number of spaces one has taken the product of, in this case 2; in notation, the number of indices), and for linear operators or matrices, thought of as (1,1) tensors (elements of the space ''V''&amp;nbsp;⊗&amp;nbsp;''V''*), it agrees with [[matrix rank]].<br /> <br /> ===Tensor product of linear maps===<br /> The tensor product also operates on [[linear map]]s between vector spaces. Specifically, given two linear maps ''S'' : ''V'' → ''X'' and ''T'' : ''W'' → ''Y'' between vector spaces, the ''tensor product of the two linear maps'' ''S'' and ''T'' is a linear map<br /> :&lt;math&gt;S\otimes T:V\otimes W\rightarrow X\otimes Y&lt;/math&gt;<br /> <br /> defined by<br /> :&lt;math&gt;(S\otimes T)(v\otimes w)=S(v)\otimes T(w).&lt;/math&gt;<br /> <br /> In this way, the tensor product becomes a [[bifunctor]] from the category of vector spaces to itself, [[Functor#Covariance and contravariance|covariant]] in both arguments.&lt;ref&gt;<br /> {{cite book|last1=Hazewinkel|first1=Michiel|last2=Gubareni|first2=Nadezhda Mikhaĭlovna|<br /> last3=Gubareni|first3=Nadiya|last4=Kirichenko|first4=Vladimir V.|<br /> title=Algebras, rings and modules|page=100|<br /> publisher=Springer|year=2004|isbn=978-1-4020-2690-4}}&lt;/ref&gt;<br /> <br /> By choosing bases of all vector spaces involved, the linear maps ''S'' and ''T'' can be represented by [[matrix (mathematics)|matrices]]. Then, the matrix describing the tensor product &lt;math&gt;S \otimes T&lt;/math&gt; is the [[Kronecker product]] of the two matrices. For example, if ''V'', ''X'', ''W'', and ''Y'' are all two-dimensional above and bases have been fixed for all of them, and ''S'' and ''T'' are given by the matrices &lt;math&gt;\begin{bmatrix} <br /> a_{1,1} &amp; a_{1,2} \\ <br /> a_{2,1} &amp; a_{2,2} \\ <br /> \end{bmatrix}&lt;/math&gt; and &lt;math&gt;\begin{bmatrix} <br /> b_{1,1} &amp; b_{1,2} \\ <br /> b_{2,1} &amp; b_{2,2} \\ <br /> \end{bmatrix}&lt;/math&gt;, respectively, then the tensor product of these two matrices is<br /> :&lt;math&gt;<br /> \begin{bmatrix} <br /> a_{1,1} &amp; a_{1,2} \\ <br /> a_{2,1} &amp; a_{2,2} \\ <br /> \end{bmatrix}<br /> \otimes<br /> \begin{bmatrix} <br /> b_{1,1} &amp; b_{1,2} \\ <br /> b_{2,1} &amp; b_{2,2} \\ <br /> \end{bmatrix}<br /> =<br /> \begin{bmatrix} <br /> a_{1,1} \begin{bmatrix} <br /> b_{1,1} &amp; b_{1,2} \\ <br /> b_{2,1} &amp; b_{2,2} \\ <br /> \end{bmatrix} &amp; a_{1,2} \begin{bmatrix} <br /> b_{1,1} &amp; b_{1,2} \\ <br /> b_{2,1} &amp; b_{2,2} \\ <br /> \end{bmatrix} \\ <br /> &amp; \\<br /> a_{2,1} \begin{bmatrix} <br /> b_{1,1} &amp; b_{1,2} \\ <br /> b_{2,1} &amp; b_{2,2} \\ <br /> \end{bmatrix} &amp; a_{2,2} \begin{bmatrix} <br /> b_{1,1} &amp; b_{1,2} \\ <br /> b_{2,1} &amp; b_{2,2} \\ <br /> \end{bmatrix} \\ <br /> \end{bmatrix}<br /> =<br /> \begin{bmatrix} <br /> a_{1,1} b_{1,1} &amp; a_{1,1} b_{1,2} &amp; a_{1,2} b_{1,1} &amp; a_{1,2} b_{1,2} \\ <br /> a_{1,1} b_{2,1} &amp; a_{1,1} b_{2,2} &amp; a_{1,2} b_{2,1} &amp; a_{1,2} b_{2,2} \\ <br /> a_{2,1} b_{1,1} &amp; a_{2,1} b_{1,2} &amp; a_{2,2} b_{1,1} &amp; a_{2,2} b_{1,2} \\ <br /> a_{2,1} b_{2,1} &amp; a_{2,1} b_{2,2} &amp; a_{2,2} b_{2,1} &amp; a_{2,2} b_{2,2} \\ <br /> \end{bmatrix}.<br /> &lt;/math&gt;<br /> <br /> The resultant rank is at most 4, and the resultant dimension 16. Here rank denotes the [[tensor rank]] (number of requisite indices), while the [[matrix rank]] counts the number of degrees of freedom in the resulting array.<br /> <br /> A [[dyadic product]] is the special case of the tensor product between two vectors of the same dimension.<br /> <br /> ===Universal property===<br /> The tensor product as defined above has a [[universal property]]. In general, a universal property means that some mathematical object is characterized by the maps with target (or, alternatively, domain) this object. In the context of [[linear algebra]] and vector spaces, the maps in question are required to be [[linear map]]s. The tensor product of vector spaces, as defined above, satisfies the following universal property: there is a [[bilinear]] (i.e., linear in each variable ''v'' and ''w'') map<br /> &lt;math&gt;\varphi : V\times W\to V \otimes W&lt;/math&gt;<br /> such that given ''any'' other vector space ''Z'' together with a bilinear map &lt;math&gt;h:V\times W\to Z&lt;/math&gt;, there is a unique linear map &lt;math&gt;\tilde{h}:V\otimes W\to Z&lt;/math&gt; verifying &lt;math&gt; h=\tilde{h}\circ \varphi&lt;/math&gt;.<br /> In this sense, &lt;math&gt;\varphi&lt;/math&gt; is the most general bilinear map that can be built from &lt;math&gt;V \times W &lt;/math&gt;.<br /> <br /> This characterization can simplify proving statements about the tensor product. For example, the tensor product is symmetric: that is, there is a [[canonical]] isomorphism:<br /> :&lt;math&gt;V \otimes W \cong W \otimes V.&lt;/math&gt;<br /> To construct, say, a map from left to right, it suffices, by the universal property, to give a bilinear map<br /> &lt;math&gt;V \times W \to W \otimes V.&lt;/math&gt;<br /> This is done by mapping (''v'', ''w'') to &lt;math&gt;w \otimes v&lt;/math&gt;. Constructing a map in the opposite direction is done similarly, as is checking that the two linear maps &lt;math&gt;V \otimes W \to W \otimes V&lt;/math&gt; and &lt;math&gt;W \otimes V \to V \otimes W&lt;/math&gt; are inverse to one another.<br /> <br /> A similar reasoning can be used to show that the tensor product is associative, that is, there are natural isomorphisms<br /> :&lt;math&gt;V_1\otimes(V_2\otimes V_3)\cong (V_1\otimes V_2)\otimes V_3.&lt;/math&gt;<br /> Therefore, it is customary to omit the parentheses and write &lt;math&gt;V_1\otimes V_2\otimes V_3&lt;/math&gt;.<br /> <br /> ===Tensor powers and braiding===<br /> Let ''n'' be a non-negative integer. The ''n''th '''tensor power''' of the vector space ''V'' is the ''n''-fold tensor product of ''V'' with itself. That is<br /> :&lt;math&gt;V^{\otimes n} \;\overset{\mathrm{def}}{=}\; \underbrace{V\otimes\cdots\otimes V}_{n}.&lt;/math&gt;<br /> <br /> A [[permutation]] σ of the set {1, 2, ..., ''n''} determines a mapping of the ''n''th Cartesian power of ''V''<br /> :&lt;math&gt;\sigma : V^n\to V^n&lt;/math&gt;<br /> <br /> defined by<br /> :&lt;math&gt;\sigma(v_1,v_2,\dots,v_n) = (v_{\sigma 1}, v_{\sigma 2},\dots,v_{\sigma n}).&lt;/math&gt;<br /> <br /> Let<br /> :&lt;math&gt;\varphi:V^n \to V^{\otimes n}&lt;/math&gt;<br /> <br /> be the natural multilinear embedding of the Cartesian power of ''V'' into the tensor power of ''V''. Then, by the universal property, there is a unique isomorphism<br /> :&lt;math&gt;\tau_\sigma : V^{\otimes n} \to V^{\otimes n}&lt;/math&gt;<br /> <br /> such that<br /> :&lt;math&gt;\varphi\circ\sigma = \tau_\sigma\circ\varphi.&lt;/math&gt;<br /> <br /> The isomorphism τ&lt;sub&gt;σ&lt;/sub&gt; is called the '''braiding map''' associated to the permutation σ.<br /> <br /> ==Product of tensors==<br /> {{See also|Classical treatment of tensors}}<br /> For non-negative integers ''r'' and ''s'' a ''r'',''s''-[[tensor]] on a vector space ''V'' is an element of<br /> :&lt;math&gt; T^r_s(V) = \underbrace{ V\otimes \dots \otimes V}_{r} \otimes \underbrace{ V^*\otimes \dots \otimes V^*}_{s} = V^{\otimes r}\otimes V^{*\otimes s}.&lt;/math&gt;<br /> Here &lt;math&gt;V^*&lt;/math&gt; is the [[dual vector space]] (which consists of all [[linear map]]s ''f'' from ''V'' to the ground field ''K'').<br /> <br /> There is a product map, called the ''(tensor) product of tensors''<br /> :&lt;math&gt;T^r_s (V) \otimes_K T^{r'}_{s'} (V) \to T^{r+r'}_{s+s'}(V).&lt;/math&gt;<br /> It is defined by grouping all occuring &quot;factors&quot; ''V'' together: writing &lt;math&gt;v_i&lt;/math&gt; for an element of ''V'' and &lt;math&gt;f_i&lt;/math&gt; for elements of the dual space,<br /> :&lt;math&gt;(v_1 \otimes f_1) \otimes (v'_1) = v_1 \otimes v'_1 \otimes f_1.&lt;/math&gt;<br /> <br /> Picking a basis of ''V'' and the corresponding [[dual basis]] of &lt;math&gt;V^*&lt;/math&gt;, &lt;math&gt;T^r_s(V)&lt;/math&gt; is endowed with a natural basis (this basis is described in the [[Kronecker_product#Relation_to_the_abstract_tensor_product|article on Kronecker products]]). In terms of these bases, the [[Coordinate vector|components]] of a (tensor) product of two (or more) [[tensor]]s can be computed. For example, if ''F'' and ''G'' are two [[covariance and contravariance of vectors|covariant]] tensors of rank ''m'' and ''n'' (respectively) (i.e. ''F'' ∈ ''T''&lt;sub&gt;m&lt;/sub&gt;&lt;sup&gt;0&lt;/sup&gt;, and ''G'' ∈ ''T''&lt;sub&gt;n&lt;/sub&gt;&lt;sup&gt;0&lt;/sup&gt;), then the components of their tensor product are given by<br /> <br /> :&lt;math&gt;(F\otimes G)_{i_1i_2...i_{m+n}} = F_{i_{1}i_{2}...i_{m}}G_{i_{m+1}i_{m+2}i_{m+3}...i_{m+n}}.&lt;/math&gt;<br /> &lt;ref&gt;Analogous formulas also hold for [[covariance and contravariance of vectors|contravariant]] tensors, as well as tensors of mixed variance. Although in many cases such as when there is an [[inner product]] defined, the distinction is irrelevant.&lt;/ref&gt;<br /> Thus, the components of the tensor product of two tensors are the ordinary product of the components of each tensor. Another example: let '''U''' be a tensor of type (1,1) with components ''U&lt;sup&gt;α&lt;/sup&gt;&lt;sub&gt;β&lt;/sub&gt;'', and let '''V''' be a tensor of type (1,0) with components ''V&lt;sup&gt;γ&lt;/sup&gt;''. Then<br /> :&lt;math&gt; U^\alpha {}_\beta V^\gamma = (U \otimes V)^\alpha {}_\beta {}^\gamma &lt;/math&gt;<br /> <br /> and<br /> :&lt;math&gt; V^\mu U^\nu {}_\sigma = (V \otimes U)^{\mu \nu} {}_\sigma. &lt;/math&gt;<br /> <br /> ==Relation to dual space==<br /> A particular example is the tensor product of some vector space ''V'' with its [[dual vector space]] &lt;math&gt;V^*&lt;/math&gt; (which consists of all [[linear map]]s ''f'' from ''V'' to the ground field ''K''). In this case, there is a natural &quot;evaluation&quot; map<br /> :&lt;math&gt;V \otimes V^* \to K&lt;/math&gt;<br /> which on elementary tensors is defined by<br /> :&lt;math&gt;v \otimes f \mapsto f(v).&lt;/math&gt;<br /> The resulting map<br /> :&lt;math&gt;T^r_s (V) \to T^{r-1}_{s-1}(V)&lt;/math&gt;<br /> is called [[tensor contraction]] (for ''r'', ''s'' &gt; 0).<br /> <br /> On the other hand, if ''V'' is ''finite-dimensional'', there is a map in the other direction (called [[coevaluation]])<br /> :&lt;math&gt;K \to V \otimes V^*, \lambda \mapsto \sum_i \lambda v_i \otimes v^*_i.&lt;/math&gt;<br /> where &lt;math&gt;v_1, \dots, v_n&lt;/math&gt; is a basis of ''V'', and &lt;math&gt;v^*_i&lt;/math&gt; is its dual basis. The interplay of evaluation and coevaluation map can be used to characterize finite-dimensional vector spaces without referring to bases.&lt;ref&gt;See [[Compact closed category]].&lt;/ref&gt;<br /> <br /> ===Tensor product vs. Hom===<br /> Given three vector spaces ''U'', ''V'', ''W'' the tensor product is linked to the vector space of ''all'' linear maps, as follows:<br /> :&lt;math&gt;Hom (U \otimes V, W) \cong Hom (U, Hom(V, W)).&lt;/math&gt;<br /> Here &lt;math&gt;Hom (-,-)&lt;/math&gt; denotes the ''K''-vector space of all linear maps. This is an example of [[adjoint functor]]s: the tensor product is &quot;left adjoint&quot; to Hom.<br /> <br /> ===Adjoint representation===<br /> The tensor &lt;math&gt; \scriptstyle T^r_s(V) &lt;/math&gt; may be naturally viewed as a module for the [[Lie algebra]] End(''V'') by means of the diagonal action: for simplicity let us assume ''r'' = ''s'' = 1, then, for each &lt;math&gt;\scriptstyle u \in\mathrm{End}(V) &lt;/math&gt;,<br /> :&lt;math&gt; u(a \otimes b) = u(a) \otimes b - a \otimes u^*(b),&lt;/math&gt;<br /> <br /> where ''u''* in End(''V''*) is the [[transpose]] of ''u'', that is, in terms of the obvious pairing on ''V'' ⊗ ''V''*,<br /> :&lt;math&gt;\langle u(a), b \rangle = \langle a, u^*(b) \rangle&lt;/math&gt;.<br /> <br /> There is a canonical isomorphism &lt;math&gt;\scriptstyle T^1_1(V) \rightarrow \mathrm{End}(V) &lt;/math&gt; given by<br /> :&lt;math&gt;(a \otimes b)(x) = \langle x, b \rangle a. &lt;/math&gt;<br /> <br /> Under this isomorphism, every ''u'' in End(''V'') may be first viewed as an endomorphism of &lt;math&gt;\scriptstyle T^1_1(V)&lt;/math&gt; and then viewed as an endomorphism of End(''V''). In fact it is the [[Adjoint representation of a Lie algebra|adjoint representation]] ad(''u'') of End(''V'') .<br /> <br /> ==Tensor products of modules over a ring ==<br /> {{main|Tensor product of modules}}<br /> The tensor product of two [[module (mathematics)|modules]] ''A'' and ''B'' over a ''[[commutative ring|commutative]]'' [[ring (mathematics)|ring]] &lt;math&gt; R &lt;/math&gt; is defined in the exact same way as the tensor product of vector spaces over a field:<br /> :&lt;math&gt;M \otimes_R N := F (A \times B) / G&lt;/math&gt;<br /> where now &lt;math&gt;F (A \times B)&lt;/math&gt; is the [[free module|free ''R''-module]] generated by the cartesian product and ''G'' is the ''R''-module generated by the same relations as above.<br /> <br /> More generally, the tensor product can be defined even if the ring is non-commutative (''ab &amp;ne; ba''). In this case ''M'' has to be a ''right''-''R''-module and ''N'' is a left-''R''-module, and instead of the last two relations above, the relation<br /> :&lt;math&gt;(ar,b)-(a,rb)&lt;/math&gt;<br /> is imposed. If ''R'' is non-commutative, this is no longer an ''R''-module, but just an [[abelian group]].<br /> <br /> The universal property also carries over, slightly modified: the map &lt;math&gt; \phi: A \times B \to A \otimes_R B &lt;/math&gt; defined by &lt;math&gt; (a,b) \mapsto a \otimes b &lt;/math&gt; is a [[middle linear map]] (referred to as &quot;canonical Middle Linear Map&quot;.&lt;ref&gt;<br /> {{cite book|last=Hungerford|first=Thomas W.|title=Algebra|<br /> publisher=Springer|year=1974|isbn=0-387-90518-9}}&lt;/ref&gt;); that is,&lt;ref name=chen&gt;<br /> {{citation|last=Chen|first=Jungkai Alfred|title=Advanced Algebra II|chapter=Tensor product|<br /> chapter-url=http://www.math.ntu.edu.tw/~jkchen/S04AA/S04AAL10.pdf|<br /> type=lecture notes|year=2004|month=spring|place=National Taiwan University}}&lt;/ref&gt; it satisfies:<br /> <br /> :&lt;math&gt; \begin{align}<br /> \phi(a+a',b)=\phi(a,b)+\phi(a',b) \\<br /> \phi(a,b+b')=\phi(a,b)+\phi(a,b') \\<br /> \phi(ar,b)=\phi(a,rb)<br /> \end{align} &lt;/math&gt;<br /> <br /> The first two properties make &lt;math&gt; \phi &lt;/math&gt; a homomorphism of the [[abelian group]] &lt;math&gt; A \times B &lt;/math&gt;. For any [[middle linear map]] &lt;math&gt; \psi &lt;/math&gt; of &lt;math&gt; A \times B &lt;/math&gt;, a unique group homomorphism &lt;math&gt; f &lt;/math&gt; of &lt;math&gt; A \otimes_R B &lt;/math&gt; satisfies &lt;math&gt; \psi = f \circ \phi &lt;/math&gt;, and this property determines &lt;math&gt; \phi &lt;/math&gt; within group isomorphism. See the [[tensor product of modules|main article]] for details.<br /> <br /> ===Computing the tensor product===<br /> For vector spaces, the tensor product &lt;math&gt;V \otimes W&lt;/math&gt; is quickly computed since bases of ''V'' of ''W'' immediately determine a basis of &lt;math&gt;V \otimes W&lt;/math&gt;, as was mentioned above. For modules over a general (commutative) ring, not every module is free. For example, '''Z'''/''n'' is not a free abelian group (='''Z'''-module). The tensor product with '''Z'''/''n'' is given by<br /> :&lt;math&gt;M \otimes_\mathbf Z \mathbf Z/n = M/n.&lt;/math&gt;<br /> More generally, given a [[presentation]] of some ''R''-module ''M'', that is, a number of generators &lt;math&gt;m_i \in M, i \in I&lt;/math&gt; together with relations &lt;math&gt;\sum_{j \in J} a_{ji} m_i = 0&lt;/math&gt;, with &lt;math&gt;a_{ji} \in R&lt;/math&gt;, the tensor product can be computed as the following [[cokernel]]:<br /> :&lt;math&gt;M \otimes_R N = \operatorname{coker} (N^J \rightarrow N^I)&lt;/math&gt;<br /> Here &lt;math&gt;N^J := \oplus_{j \in J} N&lt;/math&gt; and the map is determined by sending some &lt;math&gt;n \in N&lt;/math&gt; in the ''j''-th copy of &lt;math&gt;N^J&lt;/math&gt; to &lt;math&gt;a_{ji} n&lt;/math&gt; (in &lt;math&gt;N^I&lt;/math&gt;). Colloquially, this may be rephrased by saying that a presentation of ''M'' gives rise to a presentation of &lt;math&gt;M \otimes_R N&lt;/math&gt;. This is referred to by saying that the tensor product is a [[right exact functor]]. It is not in general left exact, that is, given an injective map of ''R''-modules &lt;math&gt;M_1 \to M_2&lt;/math&gt;, the tensor product<br /> :&lt;math&gt;M_1 \otimes_R N \to M_2 \otimes_R N&lt;/math&gt;<br /> is not usually injective. For example, tensoring the (injective) map given by multiplication with ''n'', &lt;math&gt;n: \mathbf Z \to \mathbf Z&lt;/math&gt; with &lt;math&gt;\mathbf Z/n&lt;/math&gt; yields the 0 map &lt;math&gt;0 : \mathbf Z/n \to \mathbf Z/n&lt;/math&gt; which is not injective. Higher [[Tor functor]]s measure the defect of the tensor product being not left exact.<br /> <br /> ==Tensor product of algebras==<br /> {{main|Tensor product of algebras}}<br /> Let ''R'' be a commutative ring. The tensor product of ''R''-modules applies, in particular, if ''A'' and ''B'' are [[algebra|''R''-algebras]]. In this case, the tensor product &lt;math&gt;A \otimes_R B&lt;/math&gt; is an ''R''-algebra itself by putting<br /> :&lt;math&gt;(a_1 \otimes b_1) \cdot (a_2 \otimes b_2) = (a_1 \cdot a_2) \otimes (b_1 \cdot b_2).&lt;/math&gt;<br /> For example,<br /> :&lt;math&gt;R[x] \otimes_R R[y] = R[x, y].&lt;/math&gt;<br /> <br /> A particular example is when ''A'' and ''B'' are fields containing a common subfield ''R''. The [[tensor product of fields]] is closely related to [[Galois theory]]: if, say, &lt;math&gt;A = R[x] / f(x)&lt;/math&gt;, where ''f'' is some [[irreducible polynomial]] with coefficients in ''R'', the tensor product can be calculated as<br /> :&lt;math&gt;A \otimes_R B = B[x] / f(x)&lt;/math&gt;<br /> where now ''f'' is interpreted as the same polynomial, but with its coefficients regarded as elements of ''B''. In the larger field ''B'', the polynomial may become reducible, which brings in Galois theory. For example, if ''A'' = ''B'' is a [[Galois extension]] of ''R'', then<br /> :&lt;math&gt;A \otimes_R A = A[x] / f(x)&lt;/math&gt;<br /> is isomorphic (as an ''A''-algebra) to the &lt;math&gt;A^{deg(f)}&lt;/math&gt;.<br /> <br /> == Other examples of tensor products ==<br /> ===Tensor product of Hilbert spaces===<br /> {{main|Tensor product of Hilbert spaces}}<br /> <br /> ===Topological tensor product===<br /> {{main|Topological tensor product}}<br /> <br /> ===Tensor product of graded vector spaces===<br /> {{main|Graded vector space#Operations on graded vector spaces}}<br /> <br /> ===Tensor product of quadratic forms===<br /> {{main|Tensor product of quadratic forms}}<br /> <br /> ===Tensor product of multilinear maps===<br /> Given [[multilinear]] maps &lt;math&gt;\scriptstyle f (x_1,\dots,x_k)&lt;/math&gt; and &lt;math&gt;\scriptstyle g (x_1,\dots, x_m)&lt;/math&gt; their tensor product is the multilinear function<br /> :&lt;math&gt; (f \otimes g) (x_1,\dots,x_{k+m}) = f(x_1,\dots,x_k) g(x_{k+1},\dots,x_{k+m}). &lt;/math&gt;<br /> <br /> ===Tensor product of graphs===<br /> {{main|Tensor product of graphs}}<br /> <br /> ==Applications==<br /> ===Exterior and symmetric algebra===<br /> Two notable constructions in linear algebra can be constructed as quotients of the tensor product: the [[exterior algebra]] and the [[symmetric algebra]]. For example, given a vector space ''V'', the exterior product<br /> :&lt;math&gt;V \wedge V&lt;/math&gt;<br /> is defined as<br /> :&lt;math&gt;V \otimes V / (v_1 \otimes v_2 + v_2 \otimes v_1 \text{ for all } v_1, v_2 \in V).&lt;/math&gt;<br /> The image of &lt;math&gt;v_1 \otimes v_2&lt;/math&gt; in the exterior product is usually denoted &lt;math&gt;v_1 \wedge v_2&lt;/math&gt; and satisfies, by construction, &lt;math&gt;v_1 \wedge v_2 = - v_2 \wedge v_1&lt;/math&gt;. Similar constructions are possible for &lt;math&gt;V \otimes \dots \otimes V&lt;/math&gt; (''n'' factors), giving rise to &lt;math&gt;\Lambda^n V&lt;/math&gt;, the ''n''-th [[exterior power]] of ''V''. The latter notion is the basis of [[differential form|differential ''n''-forms]].<br /> <br /> The symmetric algebra is constructed in a similar manner:<br /> :&lt;math&gt;Sym^n V := \underbrace{V \otimes \dots \otimes V}_n / (\dots \otimes v_i \otimes v_{i+1} \otimes \dots - \dots \otimes v_{i+1} \otimes v_{i} \otimes \dots)&lt;/math&gt;<br /> That is, in the symmetric algebra two adjacent vectors (and therefore all of them) can be interchanged. The resulting objects are called symmetric tensors.<br /> <br /> ===Tensor product of line bundles===<br /> {{main|Vector bundle#Operations on vector bundles}}<br /> <br /> ==Tensor product for computer programmers==<br /> <br /> ===Array programming languages===<br /> [[Array programming languages]] may have this pattern built in. For example, in [[APL programming language|APL]] the tensor product is expressed as &lt;math&gt;\scriptstyle\circ . \times&lt;/math&gt; (for example &lt;math&gt;\scriptstyle A \circ . \times B&lt;/math&gt; or &lt;math&gt;\scriptstyle A \circ . \times B \circ . \times C&lt;/math&gt;). In [[J programming language|J]] the tensor product is the dyadic form of '''*/''' (for example '''a */ b''' or ''' a */ b */ c''').<br /> <br /> Note that J's treatment also allows the representation of some tensor fields, as '''a''' and '''b''' may be functions instead of constants. This product of two functions is a derived function, and if '''a''' and '''b''' are [[differentiable]], then '''a*/b''' is differentiable.<br /> <br /> However, these kinds of notation are not universally present in array languages. Other array languages may require explicit treatment of indices (for example, [[MATLAB]]), and/or may not support [[higher-order functions]] such as the [[Jacobian matrix and determinant|Jacobian derivative]] (for example, [[Fortran]]/APL).<br /> <br /> ==See also==<br /> *[[Dyadic product]]<br /> *[[Extension of scalars]]<br /> *[[Multilinear subspace learning]]<br /> *[[Tensor algebra]]<br /> *[[Tensor contraction]]<br /> *[[Topological tensor product]]<br /> <br /> ==Notes==<br /> &lt;references/&gt;<br /> <br /> ==References==<br /> * {{citation|first = Nicolas|last=Bourbaki|authorlink=Nicolas Bourbaki | title = Elements of mathematics, Algebra I| publisher = Springer-Verlag | year = 1989|isbn=3-540-64243-9}}.<br /> * {{citation|authorlink=Paul Halmos|first=Paul|last=Halmos|title=Finite dimensional vector spaces|year=1974|publisher=Springer|isbn=0-387-90093-4}}.<br /> * {{Lang Algebra|edition=3r}}<br /> * {{citation|first1=S.|last1=Mac Lane|authorlink1=Saunders Mac Lane|authorlink2=Garrett Birkhoff|last2=Birkhoff|first2=G.|title=Algebra|publisher=AMS Chelsea|year=1999|isbn=0-8218-1646-2}}.<br /> <br /> {{tensors}}<br /> <br /> {{DEFAULTSORT:Tensor Product}}<br /> [[Category:Binary operations]]<br /> [[Category:Bilinear operators]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Global_element&diff=547960540 Global element 2013-03-31T10:17:32Z <p>Magmalex: edited clique link</p> <hr /> <div>In [[category theory]], a '''global element''' of an object ''A'' from a [[Category (mathematics)|category]] is a morphism<br /> : ''h'' : 1 → ''A'',<br /> where 1 is a [[terminal object]] of the category. Roughly speaking, global elements are a generalization of the notion of &amp;ldquo;elements&amp;rdquo; from the [[category of sets]], and they can be used to import set-theoretic concepts into category theory. However, unlike a set, an object of a general category need not be determined by its global elements (not even [[up to]] [[isomorphism]]). For example the terminal object of the category '''Grph''' of graphs has one vertex and one edge, a self-loop, whence the global elements of a graph are its self-loops, conveying no information either about other kinds of edges, or about vertices having no self-loop, or about whether two self-loops share a vertex.<br /> <br /> In an [[elementary topos]] the global elements of the [[subobject classifier]] Ω form a Heyting algebra when ordered by inclusion of the corresponding subobjects of the terminal object. For example '''Grph''' happens to be a topos, whose subobject classifier Ω is a two-vertex directed [[Clique_(graph_theory)|clique]] with an additional self-loop (so five edges, three of which are self-loops and hence the global elements of Ω). The internal logic of '''Grph''' is therefore based on the three-element Heyting algebra as its [[truth value]]s.<br /> <br /> {{cattheory-stub}}<br /> <br /> [[Category:Objects (category theory)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Global_element&diff=547960332 Global element 2013-03-31T10:15:00Z <p>Magmalex: edited clique link</p> <hr /> <div>In [[category theory]], a '''global element''' of an object ''A'' from a [[Category (mathematics)|category]] is a morphism<br /> : ''h'' : 1 → ''A'',<br /> where 1 is a [[terminal object]] of the category. Roughly speaking, global elements are a generalization of the notion of &amp;ldquo;elements&amp;rdquo; from the [[category of sets]], and they can be used to import set-theoretic concepts into category theory. However, unlike a set, an object of a general category need not be determined by its global elements (not even [[up to]] [[isomorphism]]). For example the terminal object of the category '''Grph''' of graphs has one vertex and one edge, a self-loop, whence the global elements of a graph are its self-loops, conveying no information either about other kinds of edges, or about vertices having no self-loop, or about whether two self-loops share a vertex.<br /> <br /> In an [[elementary topos]] the global elements of the [[subobject classifier]] Ω form a Heyting algebra when ordered by inclusion of the corresponding subobjects of the terminal object. For example '''Grph''' happens to be a topos, whose subobject classifier Ω is a two-vertex directed [[Clique_(graph_theory)]] with an additional self-loop (so five edges, three of which are self-loops and hence the global elements of Ω). The internal logic of '''Grph''' is therefore based on the three-element Heyting algebra as its [[truth value]]s.<br /> <br /> {{cattheory-stub}}<br /> <br /> [[Category:Objects (category theory)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Identity_function&diff=547141760 Identity function 2013-03-26T22:20:56Z <p>Magmalex: added '''identity relation''' as a synonim</p> <hr /> <div>{{distinguish|Null function|Empty function}}<br /> {{Unreferenced|date=December 2009}}<br /> In [[mathematics]], an '''identity function''', also called '''identity relation''' or '''identity map''' or '''identity transformation''', is a [[function (mathematics)|function]] that always returns the same value that was used as its argument. In terms of [[equation]]s, the function is given by ''f''(''x'')&amp;nbsp;=&amp;nbsp;''x''.<br /> <br /> ==Definition==<br /> Formally, if ''M'' is a [[Set (mathematics)|set]], the identity function ''f'' on ''M'' is defined to be that function with [[domain (mathematics)|domain]] and [[codomain]] ''M'' which satisfies<br /> :''f''(''x'') = ''x'' &amp;nbsp;&amp;nbsp;&amp;nbsp;for all elements ''x'' in ''M''. <br /> <br /> In other words, the function assigns to each element ''x'' of ''M'' the element ''x'' of ''M''. <br /> <br /> The identity function ''f'' on ''M'' is often denoted by id&lt;sub&gt;''M''&lt;/sub&gt;.<br /> <br /> In terms of [[set theory]], where a function is defined as a particular kind of [[binary relation]], the identity function is given by the [[identity relation]], or ''diagonal'' of ''M''.<br /> <br /> ==Algebraic property==<br /> If ''f'' : ''M''&amp;nbsp;→&amp;nbsp;''N'' is any function, then we have ''f'' &lt;small&gt;o&lt;/small&gt; id&lt;sub&gt;''M''&lt;/sub&gt; = ''f'' = id&lt;sub&gt;''N''&lt;/sub&gt; &lt;small&gt;o&lt;/small&gt; ''f'' (where &quot;&lt;small&gt;o&lt;/small&gt;&quot; denotes [[function composition]]). In particular, id&lt;sub&gt;''M''&lt;/sub&gt; is the [[identity element]] of the [[monoid]] of all functions from ''M'' to ''M''.<br /> <br /> Since the identity element of a monoid is [[unique]], one can alternately define the identity function on ''M'' to be this identity element. Such a definition generalizes to the concept of an [[identity morphism]] in [[category theory]], where the [[endomorphism]]s of ''M'' need not be functions.<br /> <br /> ==Properties==<br /> *The identity function is a [[linear map|linear operator]], when applied to [[vector space]]s.<br /> *The identity function on the positive [[integer]]s is a [[completely multiplicative function]] (essentially multiplication by 1), considered in [[number theory]]. <br /> *In an ''n''-dimensional [[vector space]] the identity function is represented by the [[identity matrix]] ''I''&lt;sub&gt;''n''&lt;/sub&gt;, regardless of the [[Basis (linear algebra)|basis]].<br /> *In a [[metric space]] the identity is trivially an [[isometry]]. An object without any [[symmetry]] has as [[symmetry group]] the trivial group only containing this isometry (symmetry type ''C&lt;sub&gt;1&lt;/sub&gt;).<br /> <br /> ==See also==<br /> *[[Inclusion map]]<br /> <br /> {{DEFAULTSORT:Identity Function}}<br /> [[Category:Functions and mappings]]<br /> [[Category:Elementary mathematics]]<br /> [[Category:Basic concepts in set theory]]<br /> [[Category:Types of functions]]<br /> [[Category:One]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Diagram_(category_theory)&diff=532094046 Diagram (category theory) 2013-01-09T02:44:36Z <p>Magmalex: /* External links */</p> <hr /> <div>In [[category theory]], a branch of mathematics, a '''diagram''' is the categorical analogue of an [[indexed family]] in [[set theory]]. The primary difference is that in the categorical setting one has [[morphism]]s that also need indexing. An indexed family of sets is a collection of sets, indexed by a fixed set; equivalently, a ''function'' from a fixed index ''set'' to the class of ''sets''. A diagram is a collection of objects and morphisms, indexed by a fixed category; equivalently, a ''functor'' from a fixed index ''category'' to some ''category''.<br /> <br /> Diagrams are central to the definition of [[limit (category theory)|limits and colimits]], and to the related notion of [[cone (category theory)|cone]]s.<br /> <br /> ==Definition==<br /> <br /> Formally, a '''diagram''' of type ''J'' in a [[category (mathematics)|category]] ''C'' is a ([[Covariance and contravariance of functors|covariant]]) [[functor]]<br /> :''D'' : ''J'' &amp;rarr; ''C''<br /> The category ''J'' is called the '''index category''' or the '''scheme''' of the diagram ''D''; the functor is sometimes called a '''''J''-shaped diagram'''.&lt;ref&gt;J.P. May, ''A Concise Course in Algebraic Topology'', (1999) The University of Chicago Press, ISBN 0-226-51183-9&lt;/ref&gt; The actual objects and morphisms in ''J'' are largely irrelevant, only the way in which they are interrelated matters. The diagram ''D'' is thought of as indexing a collection of objects and morphisms in ''C'' patterned on ''J''.<br /> <br /> Although, technically, there is no difference between an individual ''diagram'' and a ''functor'' or between a ''scheme'' and a ''category'', the change in terminology reflects a change in perspective, just as in the set theoretic case: one fixes the index category, and allows the functor (and, secondarily, the target category) to vary.<br /> <br /> One is most often interested in the case where the scheme ''J'' is a [[small category|small]] or even [[Finite set|finite]] category. A diagram is said to be '''small''' or '''finite''' whenever ''J'' is.<br /> <br /> A morphism of diagrams of type ''J'' in a category ''C'' is a [[natural transformation]] between functors. One can then interpret the '''category of diagrams''' of type ''J'' in ''C'' as the [[functor category]] ''C''&lt;sup&gt;''J''&lt;/sup&gt;, and a diagram is then an object in this category.<br /> <br /> ==Examples==<br /> * Given any object ''A'' in ''C'', one has the '''constant diagram''', which is the diagram that maps all objects in ''J'' to ''A'', and all morphisms of ''J'' to the identity morphism on ''A''. Notationally, one often uses an underbar to denote the constant diagram: thus, for any object &lt;math&gt;A&lt;/math&gt; in ''C'', one has the constant diagram &lt;math&gt;\underline A&lt;/math&gt;.<br /> <br /> * If ''J'' is a (small) [[discrete category]], then a diagram of type ''J'' is essentially just an [[indexed family]] of objects in ''C'' (indexed by ''J''). When used in the construction of the [[limit (category theory)|limit]], the result is the [[product (category theory)|product]]; for the colimit, one gets the [[coproduct]]. So, for example, when ''J'' is the discrete category with two objects, the resulting limit is just the binary product.<br /> <br /> * If ''J'' = -1 ← 0 → +1, then a diagram of type ''J'' (''A'' ← ''B'' → ''C'') is a [[span (category theory)|span]], and its colimit is a [[Pushout (category theory)|pushout]]. If one were to &quot;forget&quot; that the diagram had object ''B'' and the two arrows ''B'' → ''A'', ''B'' → ''C'', the resulting diagram would simply be the discrete category with the two objects ''A'' and ''C'', and the colimit would simply be the binary coproduct. Thus, this example shows an important way in which the idea of the diagram generalizes that of the [[index set]] in set theory: by including the morphisms ''B'' → ''A'', ''B'' → ''C'', one discovers additional structure in constructions built from the diagram, structure that would not be evident if one only had an index set with no relations between the objects in the index.<br /> <br /> * If ''J'' = -1 → 0 ← +1, then a diagram of type ''J'' (''A'' → ''B'' ← ''C'') is a [[cospan]], and its limit is a [[Pullback (category theory)|pullback]].<br /> <br /> * The index &lt;math&gt;J = 0 \overrightarrow{\to} 1&lt;/math&gt; is called &quot;two parallel morphisms&quot;, or sometimes the [[free quiver]] or the [[walking quiver]]. A diagram of type ''J'' (&lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) is then a [[quiver (mathematics)|quiver]]; its limit is an [[Equaliser (mathematics)|equalizer]], and its colimit is a [[coequalizer]].<br /> <br /> * If ''J'' is a [[poset category]], then a diagram of type ''J'' is a family of objects ''D''&lt;sub&gt;''i''&lt;/sub&gt; together with a unique morphism ''f''&lt;sub&gt;''ij''&lt;/sub&gt; : ''D''&lt;sub&gt;''i''&lt;/sub&gt; → ''D''&lt;sub&gt;''j''&lt;/sub&gt; whenever ''i'' ≤ ''j''. If ''J'' is [[directed set|directed]] then a diagram of type ''J'' is called a [[direct system (mathematics)|direct system]] of objects and morphisms. If the diagram is [[contravariant functor|contravariant]] then it is called an [[inverse system]].<br /> <br /> ==Cones and limits==<br /> <br /> A [[cone (category theory)|cone]] with vertex ''N'' of a diagram ''D'' : ''J'' → ''C'' is a morphism from the constant diagram Δ(''N'') to ''D''. The constant diagram is the diagram which sends every object of ''J'' to an object ''N'' of ''C'' and every morphism to the identity morphism on ''N''.<br /> <br /> The [[limit (category theory)|limit]] of a diagram ''D'' is a [[universal cone]] to ''D''. That is, a cone through which all other cones uniquely factor. If the limit exists in a category ''C'' for all diagrams of type ''J'' one obtains a functor<br /> :lim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its limit.<br /> <br /> Dually, the [[colimit]] of diagram ''D'' is a universal cone from ''D''. If the colimit exists for all diagrams of type ''J'' one has a functor<br /> :colim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its colimit.<br /> <br /> == Commutative diagrams ==<br /> {{main|Commutative diagram}}<br /> <br /> Diagrams and functor categories are often visualized by [[commutative diagrams]], particularly if the index category is a finite [[poset category]] with few elements: one draws a commutative diagram with a node for every object in the index category, and an arrow for a generating set of morphisms, omitting identity maps and morphisms that can be expressed as compositions. The commutativity corresponds to the uniqueness of a map between two objects in a poset category. Conversely, every commutative diagram represents a diagram (a functor from a poset index category) in this way.<br /> <br /> Not every diagram commutes, as not every index category is a poset category:<br /> most simply, the diagram of a single object with an endomorphism (&lt;math&gt;f\colon X \to X&lt;/math&gt;), or with two parallel arrows (&lt;math&gt;\bullet \overrightarrow{\to} \bullet&lt;/math&gt;; &lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) need not commute. Further, diagrams may be impossible to draw (because infinite) or simply messy (because too many objects or morphisms); however, schematic commutative diagrams (for subcategories of the index category, or with ellipses, such as for a directed system) are used to clarify such complex diagrams.<br /> <br /> == See also ==<br /> * [[Direct system (mathematics)|Direct system]]<br /> * [[Inverse system]]<br /> <br /> ==References==<br /> {{reflist}}<br /> *{{cite book | last = Adámek | first = Jiří | coauthors = Horst Herrlich, and George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}} Now available as free on-line edition (4.2MB PDF).<br /> * {{Cite book| last1=Barr| first1=Michael|authorlink1=Michael Barr (mathematician) | last2=Wells| first2=Charles| authorlink2=Charles Wells (mathematician) |year=2002| title=Toposes, Triples and Theories|url=http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf|isbn=0-387-96115-1}} Revised and corrected free online version of ''Grundlehren der mathematischen Wissenschaften (278)'' Springer-Verlag, 1983).<br /> * {{nlab|id=diagram}}<br /> <br /> == External links ==<br /> * [http://mathworld.wolfram.com/DiagramChasing.html Diagram Chasing] at [[MathWorld]]<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, commutative diagrams, categories, [[functor]]s, [[natural transformation]]s.<br /> [[Category:Functors]]<br /> <br /> [[ko:그림 (범주론)]]<br /> [[nl:Diagram (categorietheorie)]]<br /> [[pl:Diagram (teoria kategorii)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Diagram_(category_theory)&diff=532093534 Diagram (category theory) 2013-01-09T02:42:40Z <p>Magmalex: /* External links */</p> <hr /> <div>In [[category theory]], a branch of mathematics, a '''diagram''' is the categorical analogue of an [[indexed family]] in [[set theory]]. The primary difference is that in the categorical setting one has [[morphism]]s that also need indexing. An indexed family of sets is a collection of sets, indexed by a fixed set; equivalently, a ''function'' from a fixed index ''set'' to the class of ''sets''. A diagram is a collection of objects and morphisms, indexed by a fixed category; equivalently, a ''functor'' from a fixed index ''category'' to some ''category''.<br /> <br /> Diagrams are central to the definition of [[limit (category theory)|limits and colimits]], and to the related notion of [[cone (category theory)|cone]]s.<br /> <br /> ==Definition==<br /> <br /> Formally, a '''diagram''' of type ''J'' in a [[category (mathematics)|category]] ''C'' is a ([[Covariance and contravariance of functors|covariant]]) [[functor]]<br /> :''D'' : ''J'' &amp;rarr; ''C''<br /> The category ''J'' is called the '''index category''' or the '''scheme''' of the diagram ''D''; the functor is sometimes called a '''''J''-shaped diagram'''.&lt;ref&gt;J.P. May, ''A Concise Course in Algebraic Topology'', (1999) The University of Chicago Press, ISBN 0-226-51183-9&lt;/ref&gt; The actual objects and morphisms in ''J'' are largely irrelevant, only the way in which they are interrelated matters. The diagram ''D'' is thought of as indexing a collection of objects and morphisms in ''C'' patterned on ''J''.<br /> <br /> Although, technically, there is no difference between an individual ''diagram'' and a ''functor'' or between a ''scheme'' and a ''category'', the change in terminology reflects a change in perspective, just as in the set theoretic case: one fixes the index category, and allows the functor (and, secondarily, the target category) to vary.<br /> <br /> One is most often interested in the case where the scheme ''J'' is a [[small category|small]] or even [[Finite set|finite]] category. A diagram is said to be '''small''' or '''finite''' whenever ''J'' is.<br /> <br /> A morphism of diagrams of type ''J'' in a category ''C'' is a [[natural transformation]] between functors. One can then interpret the '''category of diagrams''' of type ''J'' in ''C'' as the [[functor category]] ''C''&lt;sup&gt;''J''&lt;/sup&gt;, and a diagram is then an object in this category.<br /> <br /> ==Examples==<br /> * Given any object ''A'' in ''C'', one has the '''constant diagram''', which is the diagram that maps all objects in ''J'' to ''A'', and all morphisms of ''J'' to the identity morphism on ''A''. Notationally, one often uses an underbar to denote the constant diagram: thus, for any object &lt;math&gt;A&lt;/math&gt; in ''C'', one has the constant diagram &lt;math&gt;\underline A&lt;/math&gt;.<br /> <br /> * If ''J'' is a (small) [[discrete category]], then a diagram of type ''J'' is essentially just an [[indexed family]] of objects in ''C'' (indexed by ''J''). When used in the construction of the [[limit (category theory)|limit]], the result is the [[product (category theory)|product]]; for the colimit, one gets the [[coproduct]]. So, for example, when ''J'' is the discrete category with two objects, the resulting limit is just the binary product.<br /> <br /> * If ''J'' = -1 ← 0 → +1, then a diagram of type ''J'' (''A'' ← ''B'' → ''C'') is a [[span (category theory)|span]], and its colimit is a [[Pushout (category theory)|pushout]]. If one were to &quot;forget&quot; that the diagram had object ''B'' and the two arrows ''B'' → ''A'', ''B'' → ''C'', the resulting diagram would simply be the discrete category with the two objects ''A'' and ''C'', and the colimit would simply be the binary coproduct. Thus, this example shows an important way in which the idea of the diagram generalizes that of the [[index set]] in set theory: by including the morphisms ''B'' → ''A'', ''B'' → ''C'', one discovers additional structure in constructions built from the diagram, structure that would not be evident if one only had an index set with no relations between the objects in the index.<br /> <br /> * If ''J'' = -1 → 0 ← +1, then a diagram of type ''J'' (''A'' → ''B'' ← ''C'') is a [[cospan]], and its limit is a [[Pullback (category theory)|pullback]].<br /> <br /> * The index &lt;math&gt;J = 0 \overrightarrow{\to} 1&lt;/math&gt; is called &quot;two parallel morphisms&quot;, or sometimes the [[free quiver]] or the [[walking quiver]]. A diagram of type ''J'' (&lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) is then a [[quiver (mathematics)|quiver]]; its limit is an [[Equaliser (mathematics)|equalizer]], and its colimit is a [[coequalizer]].<br /> <br /> * If ''J'' is a [[poset category]], then a diagram of type ''J'' is a family of objects ''D''&lt;sub&gt;''i''&lt;/sub&gt; together with a unique morphism ''f''&lt;sub&gt;''ij''&lt;/sub&gt; : ''D''&lt;sub&gt;''i''&lt;/sub&gt; → ''D''&lt;sub&gt;''j''&lt;/sub&gt; whenever ''i'' ≤ ''j''. If ''J'' is [[directed set|directed]] then a diagram of type ''J'' is called a [[direct system (mathematics)|direct system]] of objects and morphisms. If the diagram is [[contravariant functor|contravariant]] then it is called an [[inverse system]].<br /> <br /> ==Cones and limits==<br /> <br /> A [[cone (category theory)|cone]] with vertex ''N'' of a diagram ''D'' : ''J'' → ''C'' is a morphism from the constant diagram Δ(''N'') to ''D''. The constant diagram is the diagram which sends every object of ''J'' to an object ''N'' of ''C'' and every morphism to the identity morphism on ''N''.<br /> <br /> The [[limit (category theory)|limit]] of a diagram ''D'' is a [[universal cone]] to ''D''. That is, a cone through which all other cones uniquely factor. If the limit exists in a category ''C'' for all diagrams of type ''J'' one obtains a functor<br /> :lim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its limit.<br /> <br /> Dually, the [[colimit]] of diagram ''D'' is a universal cone from ''D''. If the colimit exists for all diagrams of type ''J'' one has a functor<br /> :colim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its colimit.<br /> <br /> == Commutative diagrams ==<br /> {{main|Commutative diagram}}<br /> <br /> Diagrams and functor categories are often visualized by [[commutative diagrams]], particularly if the index category is a finite [[poset category]] with few elements: one draws a commutative diagram with a node for every object in the index category, and an arrow for a generating set of morphisms, omitting identity maps and morphisms that can be expressed as compositions. The commutativity corresponds to the uniqueness of a map between two objects in a poset category. Conversely, every commutative diagram represents a diagram (a functor from a poset index category) in this way.<br /> <br /> Not every diagram commutes, as not every index category is a poset category:<br /> most simply, the diagram of a single object with an endomorphism (&lt;math&gt;f\colon X \to X&lt;/math&gt;), or with two parallel arrows (&lt;math&gt;\bullet \overrightarrow{\to} \bullet&lt;/math&gt;; &lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) need not commute. Further, diagrams may be impossible to draw (because infinite) or simply messy (because too many objects or morphisms); however, schematic commutative diagrams (for subcategories of the index category, or with ellipses, such as for a directed system) are used to clarify such complex diagrams.<br /> <br /> == See also ==<br /> * [[Direct system (mathematics)|Direct system]]<br /> * [[Inverse system]]<br /> <br /> ==References==<br /> {{reflist}}<br /> *{{cite book | last = Adámek | first = Jiří | coauthors = Horst Herrlich, and George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}} Now available as free on-line edition (4.2MB PDF).<br /> * {{Cite book| last1=Barr| first1=Michael|authorlink1=Michael Barr (mathematician) | last2=Wells| first2=Charles| authorlink2=Charles Wells (mathematician) |year=2002| title=Toposes, Triples and Theories|url=http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf|isbn=0-387-96115-1}} Revised and corrected free online version of ''Grundlehren der mathematischen Wissenschaften (278)'' Springer-Verlag, 1983).<br /> * {{nlab|id=diagram}}<br /> <br /> == External links ==<br /> * [http://mathworld.wolfram.com/DiagramChasing.html Diagram Chasing] at [[MathWorld]]<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, Commutative diagrams, categories, [[functor]]s, [[natural transformation]]s.<br /> [[Category:Functors]]<br /> <br /> [[ko:그림 (범주론)]]<br /> [[nl:Diagram (categorietheorie)]]<br /> [[pl:Diagram (teoria kategorii)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Diagram_(category_theory)&diff=532093056 Diagram (category theory) 2013-01-09T02:40:49Z <p>Magmalex: Added external links</p> <hr /> <div>In [[category theory]], a branch of mathematics, a '''diagram''' is the categorical analogue of an [[indexed family]] in [[set theory]]. The primary difference is that in the categorical setting one has [[morphism]]s that also need indexing. An indexed family of sets is a collection of sets, indexed by a fixed set; equivalently, a ''function'' from a fixed index ''set'' to the class of ''sets''. A diagram is a collection of objects and morphisms, indexed by a fixed category; equivalently, a ''functor'' from a fixed index ''category'' to some ''category''.<br /> <br /> Diagrams are central to the definition of [[limit (category theory)|limits and colimits]], and to the related notion of [[cone (category theory)|cone]]s.<br /> <br /> ==Definition==<br /> <br /> Formally, a '''diagram''' of type ''J'' in a [[category (mathematics)|category]] ''C'' is a ([[Covariance and contravariance of functors|covariant]]) [[functor]]<br /> :''D'' : ''J'' &amp;rarr; ''C''<br /> The category ''J'' is called the '''index category''' or the '''scheme''' of the diagram ''D''; the functor is sometimes called a '''''J''-shaped diagram'''.&lt;ref&gt;J.P. May, ''A Concise Course in Algebraic Topology'', (1999) The University of Chicago Press, ISBN 0-226-51183-9&lt;/ref&gt; The actual objects and morphisms in ''J'' are largely irrelevant, only the way in which they are interrelated matters. The diagram ''D'' is thought of as indexing a collection of objects and morphisms in ''C'' patterned on ''J''.<br /> <br /> Although, technically, there is no difference between an individual ''diagram'' and a ''functor'' or between a ''scheme'' and a ''category'', the change in terminology reflects a change in perspective, just as in the set theoretic case: one fixes the index category, and allows the functor (and, secondarily, the target category) to vary.<br /> <br /> One is most often interested in the case where the scheme ''J'' is a [[small category|small]] or even [[Finite set|finite]] category. A diagram is said to be '''small''' or '''finite''' whenever ''J'' is.<br /> <br /> A morphism of diagrams of type ''J'' in a category ''C'' is a [[natural transformation]] between functors. One can then interpret the '''category of diagrams''' of type ''J'' in ''C'' as the [[functor category]] ''C''&lt;sup&gt;''J''&lt;/sup&gt;, and a diagram is then an object in this category.<br /> <br /> ==Examples==<br /> * Given any object ''A'' in ''C'', one has the '''constant diagram''', which is the diagram that maps all objects in ''J'' to ''A'', and all morphisms of ''J'' to the identity morphism on ''A''. Notationally, one often uses an underbar to denote the constant diagram: thus, for any object &lt;math&gt;A&lt;/math&gt; in ''C'', one has the constant diagram &lt;math&gt;\underline A&lt;/math&gt;.<br /> <br /> * If ''J'' is a (small) [[discrete category]], then a diagram of type ''J'' is essentially just an [[indexed family]] of objects in ''C'' (indexed by ''J''). When used in the construction of the [[limit (category theory)|limit]], the result is the [[product (category theory)|product]]; for the colimit, one gets the [[coproduct]]. So, for example, when ''J'' is the discrete category with two objects, the resulting limit is just the binary product.<br /> <br /> * If ''J'' = -1 ← 0 → +1, then a diagram of type ''J'' (''A'' ← ''B'' → ''C'') is a [[span (category theory)|span]], and its colimit is a [[Pushout (category theory)|pushout]]. If one were to &quot;forget&quot; that the diagram had object ''B'' and the two arrows ''B'' → ''A'', ''B'' → ''C'', the resulting diagram would simply be the discrete category with the two objects ''A'' and ''C'', and the colimit would simply be the binary coproduct. Thus, this example shows an important way in which the idea of the diagram generalizes that of the [[index set]] in set theory: by including the morphisms ''B'' → ''A'', ''B'' → ''C'', one discovers additional structure in constructions built from the diagram, structure that would not be evident if one only had an index set with no relations between the objects in the index.<br /> <br /> * If ''J'' = -1 → 0 ← +1, then a diagram of type ''J'' (''A'' → ''B'' ← ''C'') is a [[cospan]], and its limit is a [[Pullback (category theory)|pullback]].<br /> <br /> * The index &lt;math&gt;J = 0 \overrightarrow{\to} 1&lt;/math&gt; is called &quot;two parallel morphisms&quot;, or sometimes the [[free quiver]] or the [[walking quiver]]. A diagram of type ''J'' (&lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) is then a [[quiver (mathematics)|quiver]]; its limit is an [[Equaliser (mathematics)|equalizer]], and its colimit is a [[coequalizer]].<br /> <br /> * If ''J'' is a [[poset category]], then a diagram of type ''J'' is a family of objects ''D''&lt;sub&gt;''i''&lt;/sub&gt; together with a unique morphism ''f''&lt;sub&gt;''ij''&lt;/sub&gt; : ''D''&lt;sub&gt;''i''&lt;/sub&gt; → ''D''&lt;sub&gt;''j''&lt;/sub&gt; whenever ''i'' ≤ ''j''. If ''J'' is [[directed set|directed]] then a diagram of type ''J'' is called a [[direct system (mathematics)|direct system]] of objects and morphisms. If the diagram is [[contravariant functor|contravariant]] then it is called an [[inverse system]].<br /> <br /> ==Cones and limits==<br /> <br /> A [[cone (category theory)|cone]] with vertex ''N'' of a diagram ''D'' : ''J'' → ''C'' is a morphism from the constant diagram Δ(''N'') to ''D''. The constant diagram is the diagram which sends every object of ''J'' to an object ''N'' of ''C'' and every morphism to the identity morphism on ''N''.<br /> <br /> The [[limit (category theory)|limit]] of a diagram ''D'' is a [[universal cone]] to ''D''. That is, a cone through which all other cones uniquely factor. If the limit exists in a category ''C'' for all diagrams of type ''J'' one obtains a functor<br /> :lim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its limit.<br /> <br /> Dually, the [[colimit]] of diagram ''D'' is a universal cone from ''D''. If the colimit exists for all diagrams of type ''J'' one has a functor<br /> :colim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its colimit.<br /> <br /> == Commutative diagrams ==<br /> {{main|Commutative diagram}}<br /> <br /> Diagrams and functor categories are often visualized by [[commutative diagrams]], particularly if the index category is a finite [[poset category]] with few elements: one draws a commutative diagram with a node for every object in the index category, and an arrow for a generating set of morphisms, omitting identity maps and morphisms that can be expressed as compositions. The commutativity corresponds to the uniqueness of a map between two objects in a poset category. Conversely, every commutative diagram represents a diagram (a functor from a poset index category) in this way.<br /> <br /> Not every diagram commutes, as not every index category is a poset category:<br /> most simply, the diagram of a single object with an endomorphism (&lt;math&gt;f\colon X \to X&lt;/math&gt;), or with two parallel arrows (&lt;math&gt;\bullet \overrightarrow{\to} \bullet&lt;/math&gt;; &lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) need not commute. Further, diagrams may be impossible to draw (because infinite) or simply messy (because too many objects or morphisms); however, schematic commutative diagrams (for subcategories of the index category, or with ellipses, such as for a directed system) are used to clarify such complex diagrams.<br /> <br /> == See also ==<br /> * [[Direct system (mathematics)|Direct system]]<br /> * [[Inverse system]]<br /> <br /> ==References==<br /> {{reflist}}<br /> *{{cite book | last = Adámek | first = Jiří | coauthors = Horst Herrlich, and George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}} Now available as free on-line edition (4.2MB PDF).<br /> * {{Cite book| last1=Barr| first1=Michael|authorlink1=Michael Barr (mathematician) | last2=Wells| first2=Charles| authorlink2=Charles Wells (mathematician) |year=2002| title=Toposes, Triples and Theories|url=http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf|isbn=0-387-96115-1}} Revised and corrected free online version of ''Grundlehren der mathematischen Wissenschaften (278)'' Springer-Verlag, 1983).<br /> * {{nlab|id=diagram}}<br /> <br /> == External links ==<br /> * [http://mathworld.wolfram.com/DiagramChasing.html Diagram Chasing] at [[MathWorld]]<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s.<br /> [[Category:Functors]]<br /> <br /> [[ko:그림 (범주론)]]<br /> [[nl:Diagram (categorietheorie)]]<br /> [[pl:Diagram (teoria kategorii)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Cone_(category_theory)&diff=529981539 Cone (category theory) 2012-12-27T14:07:15Z <p>Magmalex: /* External links */</p> <hr /> <div>In [[category theory]], a branch of [[mathematics]], the '''cone of a functor''' is an abstract notion used to define the [[limit (category theory)|limit]] of that functor. Cones make other appearances in category theory as well.<br /> <br /> ==Definition==<br /> <br /> Let ''F'' : ''J'' &amp;rarr; ''C'' be a [[diagram (category theory)|diagram]] in ''C''. Formally, a diagram is nothing more than a [[functor]] from ''J'' to ''C''. The change in terminology reflects the fact that we think of ''F'' as indexing a family of objects and morphisms in ''C''. The [[category (mathematics)|category]] ''J'' is thought of as an &quot;index category&quot;. One should consider this in analogy with the concept of an [[indexed family]] of objects in set theory. The primary difference is that here we have [[morphism]]s as well.<br /> <br /> Let ''N'' be an object of ''C''. A '''cone''' from ''N'' to ''F'' is a family of morphisms<br /> :&lt;math&gt;\psi_X\colon N \to F(X)\,&lt;/math&gt;<br /> for each object ''X'' of ''J'' such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'' the following diagram [[commutative diagram|commutes]]:<br /> <br /> [[Image:Functor cone.svg|175px|center|Part of a cone from N to F]]<br /> <br /> The (usually infinite) collection of all these triangles can<br /> be (partially) depicted in the shape of a [[cone (geometry)|cone]] with the apex ''N''. The cone ψ is sometimes said to have '''vertex''' ''N'' and '''base''' ''F''.<br /> <br /> One can also define the [[dual (category theory)|dual]] notion of a '''cone''' from ''F'' to ''N'' (also called a '''co-cone''') by reversing all the arrows above. Explicitly, a cone from ''F'' to ''N'' is a family of morphisms<br /> :&lt;math&gt;\psi_X\colon F(X)\to N\,&lt;/math&gt;<br /> for each object ''X'' of ''J'' such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'' the following diagram commutes:<br /> <br /> [[Image:Functor co-cone.svg|175px|center|Part of a cone from F to N]]<br /> <br /> ==Equivalent formulations==<br /> <br /> At first glance cones seem to be slightly abnormal constructions in category theory. They are maps from an ''object'' to a ''functor'' (or vice-versa). In keeping with the spirit of category theory we would like to define them as morphisms or objects in some suitable category. In fact, we can do both.<br /> <br /> Let ''J'' be a small category and let ''C''&lt;sup&gt;''J''&lt;/sup&gt; be the [[category of diagrams]] of type ''J'' in ''C'' (this is nothing more than a [[functor category]]). Define the [[diagonal functor]] Δ : ''C'' &amp;rarr; ''C''&lt;sup&gt;''J''&lt;/sup&gt; as follows: Δ(''N'') : ''J'' &amp;rarr; ''C'' is the [[constant functor]] to ''N'' for all ''N'' in ''C''.<br /> <br /> If ''F'' is a diagram of type ''J'' in ''C'', the following statements are equivalent:<br /> * ψ is a cone from ''N'' to ''F''<br /> * ψ is a [[natural transformation]] from Δ(''N'') to ''F''<br /> * (''N'', ψ) is an object in the [[comma category]] (Δ &amp;darr; ''F'')<br /> <br /> The dual statements are also equivalent:<br /> * ψ is a co-cone from ''F'' to ''N''<br /> * ψ is a [[natural transformation]] from ''F'' to Δ(''N'')<br /> * (''N'', ψ) is an object in the [[comma category]] (''F'' &amp;darr; Δ)<br /> <br /> These statements can all be verified by a straightforward application of the definitions. Thinking of cones as natural transformations we see that they are just morphisms in ''C''&lt;sup&gt;''J''&lt;/sup&gt; with source (or target) a constant functor.<br /> <br /> == Category of cones ==<br /> <br /> By the above, we can define the '''category of cones to ''F''''' as the comma category (Δ &amp;darr; ''F''). Morphisms of cones are then just morphisms in this category. As one might expect a morphism from a cone (''N'', ψ) to a cone (''L'', φ) is just a morphism ''N'' &amp;rarr; ''L'' such that all the &quot;obvious&quot; diagrams commute (see the first diagram in the next section).<br /> <br /> Likewise, the '''category of co-cones from ''F''''' is the comma category (''F'' &amp;darr; Δ).<br /> <br /> == Universal cones ==<br /> <br /> [[Limit (category theory)|Limits and colimits]] are defined as '''universal cones'''. That is, cones through which all other cones factor. A cone φ from ''L'' to ''F'' is a universal cone if for any other cone ψ from ''N'' to ''F'' there is a unique morphism from ψ to φ.<br /> <br /> [[Image:Functor cone (extended).svg|250px|center]]<br /> <br /> Equivalently, a universal cone to ''F'' is a [[universal morphism]] from &amp;Delta; to ''F'' (thought of as an object in ''C''&lt;sup&gt;''J''&lt;/sup&gt;), or a [[terminal object]] in (&amp;Delta;&amp;nbsp;&amp;darr;&amp;nbsp;''F'').<br /> <br /> Dually, a cone φ from ''F'' to ''L'' is a universal cone if for any other cone ψ from ''F'' to ''N'' there is a unique morphism from φ to ψ.<br /> <br /> [[Image:Functor co-cone (extended).svg|250px|center]]<br /> <br /> Equivalently, a universal cone from ''F'' is a universal morphism from ''F'' to &amp;Delta;, or an [[initial object]] in (''F''&amp;nbsp;&amp;darr;&amp;nbsp;&amp;Delta;).<br /> <br /> The limit of ''F'' is a universal cone to ''F'', and the colimit is a universal cone from ''F''. As with all universal constructions, universal cones are not guaranteed to exist for all diagrams ''F'', but if they do exist they are unique up to a unique isomorphism.<br /> <br /> == References ==<br /> <br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | edition = 2nd ed. | publisher = Springer | location = New York | isbn = 0-387-98403-8}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]] and Cones.<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Category theory]]<br /> [[Category:Limits (category theory)]]<br /> <br /> [[nl:Kegel (categorietheorie)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Cone_(category_theory)&diff=529981230 Cone (category theory) 2012-12-27T14:04:12Z <p>Magmalex: /* External links */ Edited</p> <hr /> <div>In [[category theory]], a branch of [[mathematics]], the '''cone of a functor''' is an abstract notion used to define the [[limit (category theory)|limit]] of that functor. Cones make other appearances in category theory as well.<br /> <br /> ==Definition==<br /> <br /> Let ''F'' : ''J'' &amp;rarr; ''C'' be a [[diagram (category theory)|diagram]] in ''C''. Formally, a diagram is nothing more than a [[functor]] from ''J'' to ''C''. The change in terminology reflects the fact that we think of ''F'' as indexing a family of objects and morphisms in ''C''. The [[category (mathematics)|category]] ''J'' is thought of as an &quot;index category&quot;. One should consider this in analogy with the concept of an [[indexed family]] of objects in set theory. The primary difference is that here we have [[morphism]]s as well.<br /> <br /> Let ''N'' be an object of ''C''. A '''cone''' from ''N'' to ''F'' is a family of morphisms<br /> :&lt;math&gt;\psi_X\colon N \to F(X)\,&lt;/math&gt;<br /> for each object ''X'' of ''J'' such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'' the following diagram [[commutative diagram|commutes]]:<br /> <br /> [[Image:Functor cone.svg|175px|center|Part of a cone from N to F]]<br /> <br /> The (usually infinite) collection of all these triangles can<br /> be (partially) depicted in the shape of a [[cone (geometry)|cone]] with the apex ''N''. The cone ψ is sometimes said to have '''vertex''' ''N'' and '''base''' ''F''.<br /> <br /> One can also define the [[dual (category theory)|dual]] notion of a '''cone''' from ''F'' to ''N'' (also called a '''co-cone''') by reversing all the arrows above. Explicitly, a cone from ''F'' to ''N'' is a family of morphisms<br /> :&lt;math&gt;\psi_X\colon F(X)\to N\,&lt;/math&gt;<br /> for each object ''X'' of ''J'' such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'' the following diagram commutes:<br /> <br /> [[Image:Functor co-cone.svg|175px|center|Part of a cone from F to N]]<br /> <br /> ==Equivalent formulations==<br /> <br /> At first glance cones seem to be slightly abnormal constructions in category theory. They are maps from an ''object'' to a ''functor'' (or vice-versa). In keeping with the spirit of category theory we would like to define them as morphisms or objects in some suitable category. In fact, we can do both.<br /> <br /> Let ''J'' be a small category and let ''C''&lt;sup&gt;''J''&lt;/sup&gt; be the [[category of diagrams]] of type ''J'' in ''C'' (this is nothing more than a [[functor category]]). Define the [[diagonal functor]] Δ : ''C'' &amp;rarr; ''C''&lt;sup&gt;''J''&lt;/sup&gt; as follows: Δ(''N'') : ''J'' &amp;rarr; ''C'' is the [[constant functor]] to ''N'' for all ''N'' in ''C''.<br /> <br /> If ''F'' is a diagram of type ''J'' in ''C'', the following statements are equivalent:<br /> * ψ is a cone from ''N'' to ''F''<br /> * ψ is a [[natural transformation]] from Δ(''N'') to ''F''<br /> * (''N'', ψ) is an object in the [[comma category]] (Δ &amp;darr; ''F'')<br /> <br /> The dual statements are also equivalent:<br /> * ψ is a co-cone from ''F'' to ''N''<br /> * ψ is a [[natural transformation]] from ''F'' to Δ(''N'')<br /> * (''N'', ψ) is an object in the [[comma category]] (''F'' &amp;darr; Δ)<br /> <br /> These statements can all be verified by a straightforward application of the definitions. Thinking of cones as natural transformations we see that they are just morphisms in ''C''&lt;sup&gt;''J''&lt;/sup&gt; with source (or target) a constant functor.<br /> <br /> == Category of cones ==<br /> <br /> By the above, we can define the '''category of cones to ''F''''' as the comma category (Δ &amp;darr; ''F''). Morphisms of cones are then just morphisms in this category. As one might expect a morphism from a cone (''N'', ψ) to a cone (''L'', φ) is just a morphism ''N'' &amp;rarr; ''L'' such that all the &quot;obvious&quot; diagrams commute (see the first diagram in the next section).<br /> <br /> Likewise, the '''category of co-cones from ''F''''' is the comma category (''F'' &amp;darr; Δ).<br /> <br /> == Universal cones ==<br /> <br /> [[Limit (category theory)|Limits and colimits]] are defined as '''universal cones'''. That is, cones through which all other cones factor. A cone φ from ''L'' to ''F'' is a universal cone if for any other cone ψ from ''N'' to ''F'' there is a unique morphism from ψ to φ.<br /> <br /> [[Image:Functor cone (extended).svg|250px|center]]<br /> <br /> Equivalently, a universal cone to ''F'' is a [[universal morphism]] from &amp;Delta; to ''F'' (thought of as an object in ''C''&lt;sup&gt;''J''&lt;/sup&gt;), or a [[terminal object]] in (&amp;Delta;&amp;nbsp;&amp;darr;&amp;nbsp;''F'').<br /> <br /> Dually, a cone φ from ''F'' to ''L'' is a universal cone if for any other cone ψ from ''F'' to ''N'' there is a unique morphism from φ to ψ.<br /> <br /> [[Image:Functor co-cone (extended).svg|250px|center]]<br /> <br /> Equivalently, a universal cone from ''F'' is a universal morphism from ''F'' to &amp;Delta;, or an [[initial object]] in (''F''&amp;nbsp;&amp;darr;&amp;nbsp;&amp;Delta;).<br /> <br /> The limit of ''F'' is a universal cone to ''F'', and the colimit is a universal cone from ''F''. As with all universal constructions, universal cones are not guaranteed to exist for all diagrams ''F'', but if they do exist they are unique up to a unique isomorphism.<br /> <br /> == References ==<br /> <br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | edition = 2nd ed. | publisher = Springer | location = New York | isbn = 0-387-98403-8}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Category theory]]<br /> [[Category:Limits (category theory)]]<br /> <br /> [[nl:Kegel (categorietheorie)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Cone_(category_theory)&diff=529981095 Cone (category theory) 2012-12-27T14:02:42Z <p>Magmalex: Added external links</p> <hr /> <div>In [[category theory]], a branch of [[mathematics]], the '''cone of a functor''' is an abstract notion used to define the [[limit (category theory)|limit]] of that functor. Cones make other appearances in category theory as well.<br /> <br /> ==Definition==<br /> <br /> Let ''F'' : ''J'' &amp;rarr; ''C'' be a [[diagram (category theory)|diagram]] in ''C''. Formally, a diagram is nothing more than a [[functor]] from ''J'' to ''C''. The change in terminology reflects the fact that we think of ''F'' as indexing a family of objects and morphisms in ''C''. The [[category (mathematics)|category]] ''J'' is thought of as an &quot;index category&quot;. One should consider this in analogy with the concept of an [[indexed family]] of objects in set theory. The primary difference is that here we have [[morphism]]s as well.<br /> <br /> Let ''N'' be an object of ''C''. A '''cone''' from ''N'' to ''F'' is a family of morphisms<br /> :&lt;math&gt;\psi_X\colon N \to F(X)\,&lt;/math&gt;<br /> for each object ''X'' of ''J'' such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'' the following diagram [[commutative diagram|commutes]]:<br /> <br /> [[Image:Functor cone.svg|175px|center|Part of a cone from N to F]]<br /> <br /> The (usually infinite) collection of all these triangles can<br /> be (partially) depicted in the shape of a [[cone (geometry)|cone]] with the apex ''N''. The cone ψ is sometimes said to have '''vertex''' ''N'' and '''base''' ''F''.<br /> <br /> One can also define the [[dual (category theory)|dual]] notion of a '''cone''' from ''F'' to ''N'' (also called a '''co-cone''') by reversing all the arrows above. Explicitly, a cone from ''F'' to ''N'' is a family of morphisms<br /> :&lt;math&gt;\psi_X\colon F(X)\to N\,&lt;/math&gt;<br /> for each object ''X'' of ''J'' such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'' the following diagram commutes:<br /> <br /> [[Image:Functor co-cone.svg|175px|center|Part of a cone from F to N]]<br /> <br /> ==Equivalent formulations==<br /> <br /> At first glance cones seem to be slightly abnormal constructions in category theory. They are maps from an ''object'' to a ''functor'' (or vice-versa). In keeping with the spirit of category theory we would like to define them as morphisms or objects in some suitable category. In fact, we can do both.<br /> <br /> Let ''J'' be a small category and let ''C''&lt;sup&gt;''J''&lt;/sup&gt; be the [[category of diagrams]] of type ''J'' in ''C'' (this is nothing more than a [[functor category]]). Define the [[diagonal functor]] Δ : ''C'' &amp;rarr; ''C''&lt;sup&gt;''J''&lt;/sup&gt; as follows: Δ(''N'') : ''J'' &amp;rarr; ''C'' is the [[constant functor]] to ''N'' for all ''N'' in ''C''.<br /> <br /> If ''F'' is a diagram of type ''J'' in ''C'', the following statements are equivalent:<br /> * ψ is a cone from ''N'' to ''F''<br /> * ψ is a [[natural transformation]] from Δ(''N'') to ''F''<br /> * (''N'', ψ) is an object in the [[comma category]] (Δ &amp;darr; ''F'')<br /> <br /> The dual statements are also equivalent:<br /> * ψ is a co-cone from ''F'' to ''N''<br /> * ψ is a [[natural transformation]] from ''F'' to Δ(''N'')<br /> * (''N'', ψ) is an object in the [[comma category]] (''F'' &amp;darr; Δ)<br /> <br /> These statements can all be verified by a straightforward application of the definitions. Thinking of cones as natural transformations we see that they are just morphisms in ''C''&lt;sup&gt;''J''&lt;/sup&gt; with source (or target) a constant functor.<br /> <br /> == Category of cones ==<br /> <br /> By the above, we can define the '''category of cones to ''F''''' as the comma category (Δ &amp;darr; ''F''). Morphisms of cones are then just morphisms in this category. As one might expect a morphism from a cone (''N'', ψ) to a cone (''L'', φ) is just a morphism ''N'' &amp;rarr; ''L'' such that all the &quot;obvious&quot; diagrams commute (see the first diagram in the next section).<br /> <br /> Likewise, the '''category of co-cones from ''F''''' is the comma category (''F'' &amp;darr; Δ).<br /> <br /> == Universal cones ==<br /> <br /> [[Limit (category theory)|Limits and colimits]] are defined as '''universal cones'''. That is, cones through which all other cones factor. A cone φ from ''L'' to ''F'' is a universal cone if for any other cone ψ from ''N'' to ''F'' there is a unique morphism from ψ to φ.<br /> <br /> [[Image:Functor cone (extended).svg|250px|center]]<br /> <br /> Equivalently, a universal cone to ''F'' is a [[universal morphism]] from &amp;Delta; to ''F'' (thought of as an object in ''C''&lt;sup&gt;''J''&lt;/sup&gt;), or a [[terminal object]] in (&amp;Delta;&amp;nbsp;&amp;darr;&amp;nbsp;''F'').<br /> <br /> Dually, a cone φ from ''F'' to ''L'' is a universal cone if for any other cone ψ from ''F'' to ''N'' there is a unique morphism from φ to ψ.<br /> <br /> [[Image:Functor co-cone (extended).svg|250px|center]]<br /> <br /> Equivalently, a universal cone from ''F'' is a universal morphism from ''F'' to &amp;Delta;, or an [[initial object]] in (''F''&amp;nbsp;&amp;darr;&amp;nbsp;&amp;Delta;).<br /> <br /> The limit of ''F'' is a universal cone to ''F'', and the colimit is a universal cone from ''F''. As with all universal constructions, universal cones are not guaranteed to exist for all diagrams ''F'', but if they do exist they are unique up to a unique isomorphism.<br /> <br /> == References ==<br /> <br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | edition = 2nd ed. | publisher = Springer | location = New York | isbn = 0-387-98403-8}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> *{{sep entry|category-theory|Category Theory|Jean-Pierre Marquis}} with an extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Category theory]]<br /> [[Category:Limits (category theory)]]<br /> <br /> [[nl:Kegel (categorietheorie)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Law_of_excluded_middle&diff=526425484 Law of excluded middle 2012-12-04T23:29:57Z <p>Magmalex: /* See also */ Consequentia mirabilis</p> <hr /> <div>{{distinguish|fallacy of the excluded middle}}<br /> <br /> :''This article uses forms of [[Mathematical logic|logical]] notation. For a concise description of the symbols used in this notation, see [[List of logic symbols]].''<br /> <br /> In [[logic]], the '''law of excluded middle''' (or the '''principle of excluded middle''') is the third of the [[three classic laws of thought]]. It states that for any [[proposition]], either that proposition is true, or its [[negation]] is.<br /> <br /> The law is also known as the '''law''' (or '''principle''') '''of the excluded third''' (or of '''the excluded middle'''), or, in [[Latin]], '''''principium tertii exclusi'''''. Yet another Latin designation for this law is '''''tertium non datur''''': &quot;no third (possibility) is given&quot;.<br /> <br /> The earliest known formulation is Aristotle's [[principle of non-contradiction]], first proposed in ''[[On Interpretation]],''&lt;ref&gt;Geach p. 74&lt;/ref&gt; where he says that of two [[contradictory]] propositions (i.e. where one proposition is the negation of the other) one must be true, and the other false.&lt;ref&gt;''On Interpretation'', c. 9&lt;/ref&gt; He also states it as a principle in the ''[[Metaphysics (Aristotle)|Metaphysics]]'' book 3, saying that it is necessary in every case to affirm or deny,&lt;ref&gt;''Metaphyics 2, 996b 26–30&lt;/ref&gt; and that it is impossible that there should be anything between the two parts of a contradiction.&lt;ref&gt;''Metaphyics 7, 1011b 26–27&lt;/ref&gt; The principle was stated as a [[theorem]] of [[propositional calculus|propositional logic]] by [[Bertrand Russell|Russell]] and [[Alfred North Whitehead|Whitehead]] in ''[[Principia Mathematica]]'' as:<br /> <br /> :: &lt;math&gt;\mathbf{*2\cdot11}. \ \ \vdash . \ p \ \mathbf{v} \thicksim p&lt;/math&gt;&lt;ref&gt;{{citation|author=[[Alfred North Whitehead]], [[Bertrand Russel]]|title=Principia Mathematica|publisher=[[Cambridge]]|year=1910|pages=105}}[http://name.umdl.umich.edu/aat3201.0001.001]&lt;/ref&gt;<br /> <br /> The principle should not be confused with the [[principle of bivalence]], which states that every proposition is either true or false, and has only a semantical formulation.<br /> <br /> == Classic laws of thought ==<br /> The principle of excluded middle, along with its complement, the [[law of contradiction]] (the second of the [[three classic laws of thought]]), are correlates of the [[law of identity]] (the first of these laws). Because the principle of identity intellectually partitions the Universe into exactly two parts: &quot;self&quot; and &quot;other&quot;, it creates a [[dichotomy]] wherein the two parts are &quot;mutually exclusive&quot; and &quot;jointly exhaustive&quot;. The principle of contradiction is merely an expression of the mutually exclusive aspect of that dichotomy, and the principle of excluded middle is an expression of its jointly exhaustive aspect.<br /> <br /> == Analogous laws ==<br /> Some systems of logic have different but analogous laws. For some finite ''n''-valued logics, there is an analogous law called the '''law of excluded ''n''+1th'''. If negation is [[cyclic negation|cyclic]] and &quot;∨&quot; is a &quot;max operator&quot;, then the law can be expressed in the object language by (P ∨ ~P ∨ ~~P ∨ ... ∨ ~...~P), where &quot;~...~&quot; represents ''n''−1 negation signs and &quot;∨ ... ∨&quot; ''n''−1 disjunction signs. It is easy to check that the sentence must receive at least one of the ''n'' [[truth value]]s (and not a value that is not one of the ''n''). <br /> <br /> Other systems reject the law entirely.<br /> <br /> == Examples ==<br /> <br /> For example, if ''P'' is the proposition:<br /> <br /> :''Socrates is mortal.''<br /> <br /> then the law of excluded middle holds that the [[logical disjunction]]:<br /> <br /> :''Either Socrates is mortal, or it is not the case that Socrates is mortal.''<br /> <br /> is true by virtue of its form alone. That is, the &quot;middle&quot; position, that Socrates is neither mortal nor not-mortal, is excluded by logic, and therefore either the first possibility (''Socrates is mortal'') or its negation (''it is not the case that Socrates is mortal'') must be true.<br /> <br /> An example of an argument that depends on the law of excluded middle follows.&lt;ref&gt;This well-known example of a non-constructive proof depending on the law of excluded middle can be found in many places, for example: Megill, Norm. ''Metamath: A Computer Language for Pure Mathematics'', footnote on p. 17,[http://us.metamath.org/index.html#book] and Davis 2000:220, footnote 2.&lt;/ref&gt; We seek to prove that there exist two [[irrational number]]s &lt;math&gt;a&lt;/math&gt; and &lt;math&gt;b&lt;/math&gt; such that<br /> <br /> :&lt;math&gt;a^b&lt;/math&gt; is rational.<br /> <br /> It is known that &lt;math&gt;\sqrt{2}&lt;/math&gt; is irrational (see [[Square_root_of_2#Proofs_of_irrationality|proof]]). Consider the number<br /> <br /> :&lt;math&gt;\sqrt{2}^{\sqrt{2}}&lt;/math&gt;<br /> <br /> Clearly (excluded middle) this number is either rational or irrational. If it is rational, the proof is complete, and<br /> :&lt;math&gt;a=\sqrt{2}&lt;/math&gt; and &lt;math&gt;b=\sqrt{2}&lt;/math&gt;<br /> <br /> But if &lt;math&gt;\sqrt{2}^{\sqrt{2}}&lt;/math&gt; is irrational, then let<br /> <br /> :&lt;math&gt;a=\sqrt{2}^{\sqrt{2}}&lt;/math&gt; and &lt;math&gt;b=\sqrt{2}&lt;/math&gt;<br /> <br /> Then<br /> <br /> :&lt;math&gt;a^b = \left(\sqrt{2}^{\sqrt{2}}\right)^{\sqrt{2}} = \sqrt{2}^{\left(\sqrt{2}\cdot\sqrt{2}\right)} = \sqrt{2}^2 = 2,&lt;/math&gt;<br /> <br /> and 2 is certainly rational. This concludes the proof.<br /> <br /> In the above argument, the assertion &quot;this number is either rational or irrational&quot; invokes the law of excluded middle. An [[intuitionist]], for example, would not accept this argument without further support for that statement. This might come in the form of a proof that the number in question is in fact irrational (or rational, as the case may be); or a finite algorithm that could determine whether the number is rational or not.<br /> <br /> === The Law in non-constructive proofs over the infinite ===<br /> <br /> The above proof is an example of a ''[[non-constructive]]'' proof disallowed by intuitionists:<br /> {{quote|The proof is nonconstructive because it doesn't give specific numbers a and b that satisfy the theorem but only two separate possibilities, one of which must work. (Actually &lt;math&gt;a=\sqrt{2}^{\sqrt{2}}&lt;/math&gt; is irrational but there is no known easy proof of that fact.) (Davis 2000:220)}}<br /> <br /> By ''non-constructive'' Davis means that &quot;a proof that there actually are mathematic entities satisfying certain conditions would have to provide a method to exhibit explicitly the entities in question.&quot; (p.&amp;nbsp;85). Such proofs presume the existence of a totality that is complete, a notion disallowed by intuitionists when extended to the ''infinite''—for them the infinite can never be completed:<br /> <br /> {{quote|In classical mathematics there occur ''non-constructive'' or ''indirect'' existence proofs, which intuitionists do not accept. For example, to prove ''there exists an n such that P''(''n''), the classical mathematician may deduce a contradiction from the assumption for all ''n'', not ''P''(''n''). Under both the classical and the intuitionistic logic, by reductio ad absurdum this gives ''not for all n, not P''(''n''). The classical logic allows this result to be transformed into ''there exists an n such that P''(''n''), but not in general the intuitionistic... the classical meaning, that somewhere in the completed infinite totality of the natural numbers there occurs an ''n'' such that ''P''(''n''), is not available to him, since he does not conceive the natural numbers as a completed totality.&lt;ref&gt;In a comparative analysis (pp. 43–59) of the three &quot;-isms&quot; (and their foremost spokesmen)—Logicism (Russell and Whitehead), Intuitionism (Brouwer) and Formalism (Hilbert)—Kleene turns his thorough eye toward intuitionism, its &quot;founder&quot; [[Brouwer]], and the intuitionists' complaints with respect to the law of excluded middle as applied to arguments over the &quot;completed infinite&quot;.&lt;/ref&gt; (Kleene 1952:49–50)}}<br /> <br /> Indeed, [[David Hilbert|Hilbert]] and [[Luitzen Egbertus Jan Brouwer|Brouwer]] both give examples of the law of excluded middle extended to the infinite. Hilbert's example: &quot;the assertion that either there are only finitely many prime numbers or there are infinitely many&quot; (quoted in Davis 2000:97); and Brouwer's: &quot;Every mathematical species is either finite or infinite.&quot; (Brouwer 1923 in van Heijenoort 1967:336).<br /> <br /> In general, intuitionists allow the use of the law of excluded middle when it is confined to discourse over finite collections (sets), but not when it is used in discourse over infinite sets (e.g. the natural numbers). Thus intuitionists absolutely disallow the blanket assertion: &quot;For all propositions ''P'' concerning infinite sets ''D'': ''P'' or ~''P''&quot; (Kleene 1952:48).<br /> <br /> :''For more about the conflict between the intuitionists (e.g. Brouwer) and the formalists (Hilbert) see [[Foundations of mathematics]] and [[Intuitionism]].''<br /> <br /> Putative counterexamples to the law of excluded middle include the [[liar paradox]] or [[Quine's Paradox]]. Certain resolutions of these paradoxes, particularly [[Graham Priest]]'s [[dialetheism]] as formalised in LP, have the law of excluded middle as a theorem, but resolve out the Liar as both true and false. In this way, the law of excluded middle is true, but because truth itself, and therefore disjunction, is not exclusive, it says next to nothing if one of the disjuncts is paradoxical, or both true and false.<br /> <br /> == History ==<br /> <br /> === Aristotle ===<br /> <br /> [[Aristotle]] wrote that ambiguity can arise from the use of ambiguous names, but cannot exist in the facts themselves:<br /> <br /> {{quote|It is impossible, then, that &quot;being a man&quot; should mean precisely &quot;not being a man&quot;, if &quot;man&quot; not only signifies something about one subject but also has one significance. ... And it will not be possible to be and not to be the same thing, except in virtue of an ambiguity, just as if one whom we call &quot;man&quot;, and others were to call &quot;not-man&quot;; but the point in question is not this, whether the same thing can at the same time be and not be a man in name, but whether it can be in fact. (''Metaphysics'' 4.4, W.D. Ross (trans.), GBWW 8, 525–526).}}<br /> <br /> Aristotle's assertion that &quot;...it will not be possible to be and not to be the same thing&quot;, which would be written in propositional logic as ¬ (''P'' ∧ ¬''P''), is a statement modern logicians could call the law of excluded middle (''P'' ∨ ¬''P''), as distribution of the negation of Aristotle's assertion makes them equivalent, regardless that the former claims that no statement is ''both'' true and false, while the latter requires that any statement is ''either'' true or false.<br /> <br /> However, Aristotle also writes, &quot;since it is impossible that contradictories should be at the same time true of the same thing, obviously contraries also cannot belong at the same time to the same thing&quot; (Book IV, CH 6, p.&amp;nbsp;531). He then proposes that &quot;there cannot be an intermediate between contradictories, but of one subject we must either affirm or deny any one predicate&quot; (Book IV, CH 7, p.&amp;nbsp;531). In the context of Aristotle's [[traditional logic]], this is a remarkably precise statement of the law of excluded middle, ''P'' ∨ ¬''P''.<br /> <br /> === Leibniz ===<br /> <br /> {{quote|Its usual form, &quot;Every judgment is either true or false&quot; [footnote 9]...&quot;(from Kolmogorov in van Heijenoort, p. 421) footnote 9: &quot;This is [[Gottfried Wilhelm Leibniz|Leibniz]]'s very simple formulation (see ''[[New Essays on Human Understanding|Nouveaux Essais]]'', IV,2)....&quot; (ibid p 421)}}<br /> <br /> === Bertrand Russell and ''Principia Mathematica'' ===<br /> <br /> [[Bertrand Russell]] asserts a distinction between the &quot;law of excluded middle&quot; and the &quot;law of noncontradiction&quot;. In ''[[The Problems of Philosophy]]'', he cites three &quot;Laws of Thought&quot; as more or less &quot;self-evident&quot; or &quot;a priori&quot; in the sense of Aristotle:<br /> <br /> ::1. [[Law of identity]]: &quot;Whatever is, is.&quot;<br /> ::2. [[Law of noncontradiction]]: &quot;Nothing can both be and not be.&quot;<br /> ::3. '''Law of excluded middle''': &quot;Everything must either be or not be.&quot;<br /> <br /> ::These three laws are samples of self-evident logical principles... (p. 72)<br /> <br /> It is correct, at least for bivalent logic—i.e. it can be seen with a [[Karnaugh map]]—that Russell's Law (2) removes &quot;the middle&quot; of the [[Logical disjunction|inclusive-or]] used in his law (3). And this is the point of Reichenbach's demonstration that some believe the [[Exclusive or|''exclusive''-or]] should take the place of the [[Logical disjunction|''inclusive''-or]].<br /> <br /> About this issue (in admittedly very technical terms) Reichenbach observes:<br /> <br /> ::The tertium non datur<br /> ::29. (''x'')[''f''(''x'') ∨ ~''f''(''x'')]<br /> ::is not exhaustive in its major terms and is therefore an inflated formula. This fact may perhaps explain why some people consider it unreasonable to write (29) with the inclusive-'or', and want to have it written with the sign of the ''exclusive''-'or'<br /> <br /> ::30. (''x'')[''f''(''x'') ⊕ ~''f''(''x'')], where the symbol &quot;⊕&quot; signifies [[exclusive-or]]&lt;ref&gt;The original symbol as used by Reichenbach is an upside down V, nowadays used for AND. The AND for Reichenbach is the same as that used in Principia Mathematica -- a &quot;dot&quot; cf p. 27 where he shows a truth table where he defines &quot;a.b&quot;. Reichenbach defines the exclusive-or on p. 35 as &quot;the negation of the equivalence&quot;. One sign used nowadays is a circle with a + in it, i.e. ⊕ (because in binary, a ⊕ b yields modulo-2 addition -- addition without carry). Other signs are ≢ (not identical to), or ≠ (not equal to).&lt;/ref&gt;<br /> ::in which form it would be fully exhaustive and therefore nomological in the narrower sense. (Reichenbach, p. 376)<br /> <br /> In line (30) the &quot;(x)&quot; means &quot;for all&quot; or &quot;for every&quot;, a form used by Russell and Reichenbach; today the symbolism is usually &lt;math&gt;\forall&lt;/math&gt; ''x''. Thus an example of the expression would look like this:<br /> <br /> * (''pig''): (''Flies''(''pig'') ⊕ ~''Flies''(''pig''))<br /> * (For all instances of &quot;pig&quot; seen and unseen): (&quot;Pig does fly&quot; or &quot;Pig does not fly&quot; but not both simultaneously)<br /> <br /> ==== A formal definition from ''Principia Mathematica'' ====<br /> <br /> ''[[Principia Mathematica]]'' (''PM'') defines the law of excluded middle formally:<br /> <br /> {{quote|*2.1 : ~p ∨ p (''PM'' p. 101)<br /> Example: Either it is true that &quot;this is red&quot;, or it is true that &quot;this is not red&quot;. Hence it is true that &quot;this is red or this is not red&quot;. (See below for more about how this is derived from the primitive axioms).}}<br /> <br /> So just what is &quot;truth&quot; and &quot;falsehood&quot;? At the opening ''PM'' quickly announces some definitions:<br /> <br /> {{quote|''Truth-values''. The &quot;truth-values&quot; of a proposition is ''truth'' if it is true and ''falsehood'' if it is false* [*This phrase is due to Frege]...the truth-value of &quot;p ∨ q&quot; is truth if the truth-value of either p or q is truth, and is falsehood otherwise ... that of &quot;~ p&quot; is the opposite of that of p...&quot; (p. 7-8)}}<br /> <br /> This is not much help. But later, in a much deeper discussion, (&quot;Definition and systematic ambiguity of Truth and Falsehood&quot; Chapter II part III, p.&amp;nbsp;41 ff ) ''PM'' defines truth and falsehood in terms of a relationship between the &quot;a&quot; and the &quot;b&quot; and the &quot;percipient&quot;. For example &quot;This 'a' is 'b'&quot; (e.g. &quot;This 'object a' is 'red'&quot;) really means &quot;'object a' is a sense-datum&quot; and &quot;'red' is a sense-datum&quot;, and they &quot;stand in relation&quot; to one another and in relation to &quot;I&quot;. Thus what we really mean is: &quot;I perceive that 'This object a is red'&quot; and this is an undeniable-by-3rd-party &quot;truth&quot;.<br /> <br /> ''PM'' further defines a distinction between a &quot;sense-datum&quot; and a &quot;sensation&quot;:<br /> {{quote|That is, when we judge (say) &quot;this is red&quot;, what occurs is a relation of three terms, the mind, and &quot;this&quot;, and &quot;red&quot;. On the other hand, when we perceive &quot;the redness of this&quot;, there is a relation of two terms, namely the mind and the complex object &quot;the redness of this&quot; (pp. 43–44).}}<br /> <br /> Russell reiterated his distinction between &quot;sense-datum&quot; and &quot;sensation&quot; in his book ''The Problems of Philosophy'' (1912) published at the same time as ''PM'' (1910–1913):<br /> {{quote|Let us give the name of &quot;sense-data&quot; to the things that are immediately known in sensation: such things as colours, sounds, smells, hardnesses, roughnesses, and so on. We shall give the name &quot;sensation&quot; to the experience of being immediately aware of these things... The colour itself is a sense-datum, not a sensation. (p. 12)}}<br /> <br /> Russell further described his reasoning behind his definitions of &quot;truth&quot; and &quot;falsehood&quot; in the same book (Chapter XII ''Truth and Falsehood'').<br /> <br /> ==== Consequences of the law of excluded middle in ''Principia Mathematica'' ====<br /> <br /> From the law of excluded middle, formula ✸2.1 in ''[[Principia Mathematica]],'' Whitehead and Russell derive some of the most powerful tools in the logician's argumentation toolkit. (In ''Principia Mathematica,'' formulas and propositions are identified by a leading asterisk and two numbers, such as &quot;✸2.1&quot;.)<br /> <br /> ✸2.1 ~''p'' ∨ ''p'' &quot;This is the Law of excluded middle&quot; (''PM'', p.&amp;nbsp;101).<br /> <br /> The proof of ✸2.1 is roughly as follows: &quot;primitive idea&quot; 1.08 defines ''p'' → ''q'' = ~''p'' ∨ ''q''. Substituting ''p'' for ''q'' in this rule yields ''p'' → ''p'' = ~''p'' ∨ ''p''. Since ''p'' → ''p'' is true (this is Theorem 2.08, which is proved separately), then ~''p'' ∨ ''p'' must be true.<br /> <br /> ✸2.11 ''p'' ∨ ~''p'' (Permutation of the assertions is allowed by axiom 1.4)&lt;br&gt;<br /> ✸2.12 ''p'' → ~(~''p'') (Principle of double negation, part 1: if &quot;this rose is red&quot; is true then it's not true that &quot;'this rose is not-red' is true&quot;.)&lt;br&gt;<br /> ✸2.13 ''p'' ∨ ~{~(~''p'')} (Lemma together with 2.12 used to derive 2.14)&lt;br&gt;<br /> ✸2.14 ~(~''p'') → ''p'' (Principle of double negation, part 2)&lt;br&gt;<br /> ✸2.15 (~''p'' → ''q'') → (~''q'' → ''p'') (One of the four &quot;Principles of transposition&quot;. Similar to 1.03, 1.16 and 1.17. A very long demonstration was required here.)&lt;br&gt;<br /> ✸2.16 (''p'' → ''q'') → (~''q'' → ~''p'') (If it's true that &quot;If this rose is red then this pig flies&quot; then it's true that &quot;If this pig doesn't fly then this rose isn't red.&quot;)&lt;br&gt;<br /> ✸2.17 ( ~''p'' → ~''q'' ) → (''q'' → ''p'') (Another of the &quot;Principles of transposition&quot;.)&lt;br&gt;<br /> ✸2.18 (~''p'' → ''p'') → ''p'' (Called &quot;The complement of ''reductio ad absurdum''. It states that a proposition which [[Logical consequence|follows from]] the hypothesis of its own falsehood is true&quot; (''PM'', pp.&amp;nbsp;103–104).)<br /> <br /> Most of these theorems&amp;mdash;in particular ✸2.1, ✸2.11, and ✸2.14&amp;mdash;are rejected by intuitionism. These tools are recast into another form that Kolmogorov cites as &quot;Hilbert's four axioms of implication&quot; and &quot;Hilbert's two axioms of negation&quot; (Kolmogorov in van Heijenoort, p.&amp;nbsp;335).<br /> <br /> Propositions ✸2.12 and ✸2.14, &quot;double negation&quot;:<br /> The [[Intuitionism|intuitionist]] writings of [[L. E. J. Brouwer]] refer to what he calls &quot;the ''principle of the reciprocity of the multiple species'', that is, the principle that for every system the correctness of a property follows from the impossibility of the impossibility of this property&quot; (Brouwer, ibid, p.&amp;nbsp;335).<br /> <br /> This principle is commonly called &quot;the principle of double negation&quot; (''PM'', pp.&amp;nbsp;101–102). From the law of excluded middle (✸2.1 and ✸2.11), ''PM'' derives principle ✸2.12 immediately. We substitute ~''p'' for ''p'' in 2.11 to yield ~''p'' ∨ ~(~''p''), and by the definition of implication (i.e. 1.01 p → q = ~p ∨ q) then ~p ∨ ~(~p)= p → ~(~p). QED (The derivation of 2.14 is a bit more involved.)<br /> <br /> &lt;!--<br /> == The Logicists versus the Intuitionists ==<br /> <br /> In late 1800s through the 1930s a bitter, persistent debate raged between Hilbert and his followers versus [[Hermann Weyl]] and [[L. E. J. Brouwer]]. Brouwer's philosophy, called [[Intuitionism]], started in earnest with [[Leopold Kronecker]] in the late 1800s.<br /> <br /> Hilbert intensely disliked Kronecker's ideas:<br /> <br /> {{quote|...Kronecker insisted that there could be no existence without construction. For him, as for [[Paul Gordan]] [another elderly mathematician], Hilbert's proof of the finiteness of the basis of the invariant system was simply not mathematics. Hilbert, on the other hand, throughout his life was to insist that if one can prove that the attributes assigned to a concept will never lead to a contradiction, the mathematical existence of the concept is thereby established (Reid p. 34)}}<br /> <br /> {{quote|It was his [Kronecker's] contention that nothing could be said to have mathematical existence unless it could actually be constructed with a finite number of positive integers (Reid p. 26)}}<br /> <br /> The debate had a profound effect on Hilbert. Reid indicates that [[Hilbert's second problem]] (one of [[Hilbert's problems]] from the Second International Conference in Paris in 1900) evolved from this debate (italics in the original):<br /> <br /> ::In his second problem [Hilbert] had asked for a ''mathematical proof'' of the consistency of the axioms of the arithmetic of real numbers.<br /> ::To show the significance of this problem, he added the following observation:<br /> ::&quot;If contradictory attributes be assigned to a concept, I say that ''mathematically the concept does not exist''&quot;... (Reid p. 71)<br /> <br /> Thus Hilbert was saying: &quot;If ''p'' and ~''p'' are both shown to be true, then ''p'' does not exist&quot; and he was thereby invoking the law of excluded middle cast into the form of the law of contradiction.<br /> <br /> {{quote|And finally constructivists ... restricted mathematics to the study of concrete operations on finite or potentially (but not actually) infinite structures; completed infinite totalities ... were rejected, as were indirect proof based on the Law of Excluded Middle. Most radical among the constructivists were the intuitionists, led by the erstwhile topologist L. E. J. Brouwer ... (Dawson p. 49)}}<br /> <br /> The rancorous debate continued through the early 1900s into the 1920s; in 1927 Brouwer complained about &quot;polemicizing against it [intuitionism] in sneering tones&quot; (Brouwer in van Heijenoort, p. 492). However, the debate had been fertile: it had resulted in ''[[Principia Mathematica]]'' (1910–1913), and that work gave a precise definition to the law of excluded middle, and all this provided an intellectual setting and the tools necessary for the mathematicians of the early twentieth century:<br /> <br /> {{quote|Out of the rancor, and spawned in part by it, there arose several important logical developments...Zermelo's axiomatization of set theory (1908a) ... that was followed two years later by the first volume of ''Principia Mathematica'' ... in which Russell and Whitehead showed how, via the theory of types, much of arithmetic could be developed by logicist means (Dawson p. 49)}}<br /> <br /> Brouwer reduced the debate to the use of proofs designed from &quot;negative&quot; or &quot;non-existence&quot; versus &quot;constructive&quot; proof:<br /> ::According to Brouwer, a statement that an object exists having a given property means that, and is only proved, when a method is known which in principle at least will enable such an object to be found or constructed...<br /> ::Hilbert naturally disagreed.<br /> ::&quot;...pure existence proofs have been the most important landmarks in the historical development of our science,&quot; he maintained. (Reid p. 155)<br /> <br /> ::Brouwer ... refused to accept the Logical Principle of the Excluded Middle... His argument was the following:<br /> <br /> ::&quot;Suppose that A is the statement &quot;There exists a member of the set ''S'' having the property ''P''.&quot; If the set is finite, it is possible&amp;mdash;in principle&amp;mdash;to examine each member of ''S'' and determine whether there is a member of ''S'' with the property ''P'' or that every member of ''S'' lacks the property ''P''. For finite sets, therefore, Brouwer accepted the Principle of the Excluded Middle as valid. He refused to accept it for infinite sets because if the set ''S'' is infinite, we cannot&amp;mdash;even in principle&amp;mdash;examine each member of the set. If, during the course of our examination, we find a member of the set with the property ''P'', the first alternative is substantiated; but if we never find such a member, the second alternative is still not substantiated -- perhaps we have just not persisted long enough!<br /> ::Since mathematical theorems are often proved by establishing that the negation would involve us in a contradiction, this third possibility which Brouwer suggested would throw into question many of the mathematical statements currently accepted.<br /> ::&quot;Taking the Principle of the Excluded Middle from the mathematician,&quot; Hilbert said, &quot;is the same as ... prohibiting the boxer the use of his fists.&quot;<br /> ::&quot;The possible loss did not seem to bother Weyl... Brouwer's program was the coming thing, he insisted to his friends in Zürich.&quot; (Reid, p. 149)}}<br /> <br /> In his lecture in 1941 at Yale and the subsequent paper [[Gödel]] proposed a solution: &quot;...that the negation of a universal proposition was to be understood as asserting the existence ... of a counterexample&quot; (Dawson, p. 157))<br /> <br /> Gödel's approach to the law of excluded middle was to assert that objections against &quot;the use of 'impredicative definitions'&quot; &quot;carried more weight&quot; than &quot;the law of excluded middle and related theorems of the propositional calculus&quot; (Dawson p. 156). He proposed his &quot;system Σ ... and he concluded by mentioning several applications of his interpretation. Among them were a proof of the consistency with [[intuitionistic logic]] of the principle ~ (∀A: (A ∨ ~A)) (despite the inconsistency of the assumption ∃ A: ~ (A ∨ ~A)...&quot; (Dawson, p. 157)<br /> <br /> The debate seemed to weaken: mathematicians, logicians and engineers continue to use the law of excluded middle (and double negation) in their daily work.<br /> <br /> === Intuitionist definitions of the Law (Principle) of Excluded Middle ===<br /> <br /> The following highlights the deep mathematical and philosophic problem behind what it means to &quot;know&quot;, and also helps elucidate what the &quot;law&quot; implies (i.e. what the law really means). Their difficulties with the law emerges: that they do not want to accept as true, implications drawn from that which is unverifiable (untestable, unknowable) or from the impossible or the false. (All quotes are from van Heijenoort, boldface added).<br /> <br /> '''Brouwer''' offers his definition of &quot;principle of excluded middle&quot;; we see here also the issue of &quot;testability&quot;:<br /> <br /> ::On the basis of the testability just mentioned, there hold, for properties conceived within a specific finite main system, the &quot;principle of excluded middle&quot;, that is, '''the principle that for every system every property is either correct [richtig] or impossible''', and in particular the principle of the reciprocity of the complementary species, that is, the principle that for every system the correctness of a property follows from the impossibility of the impossibility of this property. (335)<br /> <br /> '''Kolmogorov''''s definition cites Hilbert's two Axioms of Negation<br /> &lt;ol start=&quot;5&quot;&gt;&lt;li&gt;''A'' → (~''A'' → ''B'')&lt;/li&gt;<br /> &lt;li&gt;(''A'' → ''B'') → { (~''A'' → ''B'') → ''B''}&lt;/li&gt;&lt;/ol&gt;<br /> <br /> ::Hilbert's first axiom of negation, &quot;Anything follows from the false&quot;, made its appearance only with the rise of symbolic logic, as did, incidentally, the first axiom of implication.... while... '''the axiom under consideration [axiom 5] asserts something about the consequences of something impossible: we have to accept ''B'' if the true judgment ''A'' is regarded as false'''...<br /> ::Hilbert's second axiom of negation expresses the principle of excluded middle. The principle is expressed here in the form in which is it used for derivations: if ''B'' follows from ''A'' as well as from ~''A'', then ''B'' is true. Its usual form, &quot;Every judgment is either true or false&quot; [footnote 9] is equivalent to that given above [footnote 10]&quot;<br /> ::Clearly from the first interpretation of negation, that is, the interdiction from regarding the judgment as true, it is impossible to obtain the certitude that the principle of excluded middle is true... Brouwer showed that in the case of such transfinite judgments the principle of excluded middle cannot...be considered obvious<br /> ::footnote 9: &quot;This is Leibniz's very simple formulation (see ''Nouveaux Essais'', IV,2). The formulation &quot;''A'' is either ''B'' or not-''B''&quot; has nothing to do with the logic of judgments.<br /> ::footnote 10: &quot;Symbolically the second form is expessed thus<br /> :''A'' ∨ ~''A''<br /> where ∨ means &quot;or&quot;. The equivalence of the two forms is easily proved... (p. 421)<br /> --&gt;<br /> <br /> == Criticisms ==<br /> Many modern logic systems reject the law of excluded middle, replacing it with the concept of [[negation as failure]]. That is, there is a third possibility: the truth of a proposition is unknown. The principle of negation-as-failure is used as a foundation for [[autoepistemic logic]], and is widely used in [[logic programming]]. In these systems, the programmer is free to assert the law of excluded middle as a true fact; it is not built-in ''a priori'' into these systems.<br /> <br /> Mathematicians such as [[Luitzen Egbertus Jan Brouwer|L.&amp;nbsp;E.&amp;nbsp;J. Brouwer]] and [[Arend Heyting]] contested the usefulness of the law of excluded middle in the context of the modern mathematics &lt;ref&gt;<br /> [http://books.google.co.uk/books?id=uUC30fqhdlAC&amp;pg=PA138&amp;dq=the+principle+of+excluded+middle+criticism+of&amp;hl=en&amp;ei=tzXUTfy-I8rysgaU1vTiAg&amp;sa=X&amp;oi=book_result&amp;ct=result&amp;resnum=3&amp;ved=0CDYQ6AEwAg#v=onepage&amp;q=the%20principle%20of%20excluded%20middle%20criticism%20of&amp;f=false &quot;Proof and Knowledge in Mathematics&quot; by Michael Detlefsen]&lt;/ref&gt;<br /> <br /> [[Stéphane Lupasco]] (1900-1988) has also substantiated the [[Law of included middle|logic of the included middle]], showing that it constitutes &quot;a true logic, mathematically formalized, multivalent (with three values: A, non-A, and T) and non-contradictory&quot;.&lt;ref&gt;<br /> [http://www.theatlas.org/index.php?option=com_phocadownload&amp;view=category&amp;id=21:engineering-science&amp;download=181:methodology-of-transdisciplinarity-levels-of-reality-logic-of-the-included-middle-and-complexity&amp;Itemid=157 Basarab Nicolescu, 2010, &quot;Methodology of Transdisciplinarity - Levels of Reality, Logic of the Included Middle and Complexity&quot; Transdisciplinary Journal of Engineering and Science, vol 2010, p.31]&lt;/ref&gt; Quantum mechanics is said to be an exemplar of this logic, through the [[Quantum superposition|superposition]] of &quot;yes&quot; and &quot;no&quot; quantum states; the included middle is also mentioned as one of the three axioms of [[transdisciplinarity]], without which reality cannot be understood.&lt;ref&gt;[http://www.theatlas.org/index.php?option=com_phocadownload&amp;view=category&amp;id=21:engineering-science&amp;download=181:methodology-of-transdisciplinarity-levels-of-reality-logic-of-the-included-middle-and-complexity&amp;Itemid=157 Basarab Nicolescu, 2010, &quot;Methodology of Transdisciplinarity - Levels of Reality, Logic of the Included Middle and Complexity&quot; Transdisciplinary Journal of Engineering and Science, vol 2010, p.31]&lt;/ref&gt;<br /> <br /> == See also ==<br /> * [[Law of bivalence]]<br /> * [[Law of excluded fourth]]<br /> * [[Laws of thought]]<br /> * [[Liar's paradox]]<br /> * [[Logical graph]]s: a graphical syntax for propositional logic<br /> * [[Peirce's law]]: another way of turning intuition classical<br /> * [[Ternary logic]]<br /> * [[Intuitionistic logic]]<br /> * [[Diaconescu's theorem]]<br /> * [[Consequentia mirabilis]]<br /> <br /> == Footnotes ==<br /> {{reflist}}<br /> <br /> == References ==<br /> * [[Thomas Aquinas|Aquinas, Thomas]], &quot;[[Summa Theologica]]&quot;, [[Fathers of the English Dominican Province]] (trans.), [[Daniel J. Sullivan]] (ed.), vols. 19–20 in [[Robert Maynard Hutchins]] (ed.), ''[[Great Books of the Western World]]'', Encyclopædia Britannica, Inc., Chicago, IL, 1952. Cited as GB 19–20.<br /> * [[Aristotle]], &quot;[[Metaphysics (Aristotle)|Metaphysics]]&quot;, [[W.D. Ross]] (trans.), vol. 8 in [[Robert Maynard Hutchins]] (ed.), ''[[Great Books of the Western World]]'', Encyclopædia Britannica, Inc., Chicago, IL, 1952. Cited as GB 8. 1st published, W.D. Ross (trans.), ''The Works of Aristotle'', Oxford University Press, Oxford, UK.<br /> * [[Martin Davis]] 2000, ''Engines of Logic: Mathematicians and the Origin of the Computer&quot;, W. W. Norton &amp; Company, NY, ISBN 0-393-32229-7 pbk.<br /> * [[John Dawson Jr.|Dawson, J.]], ''Logical Dilemmas, The Life and Work of Kurt Gödel'', A.K. Peters, Wellesley, MA, 1997.<br /> * [[Jean van Heijenoort|van Heijenoort, J.]], ''From Frege to Gödel, A Source Book in Mathematical Logic, 1879–1931'', Harvard University Press, Cambridge, MA, 1967. Reprinted with corrections, 1977.<br /> * Luitzen Egbertus Jan [[Brouwer]], 1923, ''On the significance of the principle of excluded middle in mathematics, especially in function theory'' [reprinted with commentary, p.&amp;nbsp;334, van Heijenoort]<br /> * Andrei Nikolaevich [[Kolmogorov]], 1925, ''On the principle of excluded middle'', [reprinted with commentary, p.&amp;nbsp;414, van Heijenoort]<br /> * Luitzen Egbertus Jan [[Brouwer]], 1927, ''On the domains of definitions of functions'',[reprinted with commentary, p.&amp;nbsp;446, van Heijenoort] Although not directly germane, in his (1923) Brouwer uses certain words defined in this paper.<br /> * Luitzen Egbertus Jan [[Brouwer]], 1927(2), ''Intuitionistic reflections on formalism'',[reprinted with commentary, p.&amp;nbsp;490, van Heijenoort]<br /> * [[Stephen C. Kleene]] 1952 original printing, 1971 6th printing with corrections, 10th printing 1991, ''Introduction to Metamathematics'', North-Holland Publishing Company, Amsterdam NY, ISBN 0-7204-2103-9.<br /> * [[William Kneale|Kneale, W.]] and [[Martha Kneale|Kneale, M.]], ''The Development of Logic'', Oxford University Press, Oxford, UK, 1962. Reprinted with corrections, 1975.<br /> * [[Alfred North Whitehead]] and [[Bertrand Russell]], ''Principia Mathematica to *56'', Cambridge at the University Press 1962 (Second Edition of 1927, reprinted). Extremely difficult because of arcane symbolism, but a must-have for serious logicians.<br /> * [[Bertrand Russell]], ''The Problems of Philosophy, With a New Introduction by John Perry'', Oxford University Press, New York, 1997 edition (first published 1912). Very easy to read: Russell was a wonderful writer.<br /> * [[Bertrand Russell]], ''The Art of Philosophizing and Other Essays'', Littlefield, Adams &amp; Co., Totowa, NJ, 1974 edition (first published 1968). Includes a wonderful essay on &quot;The Art of drawing Inferences&quot;.<br /> * [[Hans Reichenbach]], ''Elements of Symbolic Logic'', Dover, New York, 1947, 1975.<br /> * [[Tom M. Mitchell|Tom Mitchell]], ''Machine Learning'', WCB McGraw-Hill, 1997.<br /> * [[Constance Reid]], ''Hilbert'', Copernicus: Springer-Verlag New York, Inc. 1996, first published 1969. Contains a wealth of biographical information, much derived from interviews.<br /> * [[Bart Kosko]], ''Fuzzy Thinking: The New Science of Fuzzy Logic'', Hyperion, New York, 1993. Fuzzy thinking at its finest. But a good introduction to the concepts.<br /> * [[David Hume]], ''An Inquiry Concerning Human Understanding'', reprinted in Great Books of the Western World Encyclopædia Britannica, Volume 35, 1952, p.&amp;nbsp;449 ff. This work was published by Hume in 1758 as his rewrite of his &quot;juvenile&quot; ''Treatise of Human Nature: Being An attempt to introduce the experimental method of Reasoning into Moral Subjects Vol. I, Of The Understanding'' first published 1739, reprinted as: David Hume, ''A Treatise of Human Nature'', Penguin Classics, 1985. Also see: [[David Applebaum]], ''The Vision of Hume'', Vega, London, 2001: a reprint of a portion of ''An Inquiry'' starts on p.&amp;nbsp;94 ff<br /> <br /> == External links ==<br /> * [http://plato.stanford.edu/entries/contradiction/ &quot;Contradiction&quot; entry] in the [[Stanford Encyclopedia of Philosophy]]<br /> <br /> [[Category:Classical logic]]<br /> [[Category:Articles containing proofs]]<br /> [[Category:Theorems in propositional logic]]<br /> <br /> [[ca:Principi del tercer exclòs]]<br /> [[cs:Zákon o vyloučení třetího]]<br /> [[de:Satz vom ausgeschlossenen Dritten]]<br /> [[et:Välistatud kolmanda reegel]]<br /> [[el:Αρχή αποκλειόμενου μέσου]]<br /> [[es:Principio del tercero excluido]]<br /> [[eo:Leĝo de neekzisto de tria eblo]]<br /> [[fa:اصل طرد ثالث]]<br /> [[fr:Principe du tiers exclu]]<br /> [[ko:배중률]]<br /> [[is:Lögmálið um annað tveggja]]<br /> [[it:Tertium non datur]]<br /> [[he:כלל השלישי מן הנמנע]]<br /> [[ky:Үчүнчүлүктү четке кагуу принциби]]<br /> [[hu:Kizárt harmadik elve]]<br /> [[nl:Wet van de uitgesloten derde]]<br /> [[ja:排中律]]<br /> [[no:Loven om den ekskluderte tredje]]<br /> [[pms:Prinsipi dël ters barà fòra]]<br /> [[pl:Prawo wyłączonego środka]]<br /> [[pt:Lei do terceiro excluído]]<br /> [[ru:Закон исключённого третьего]]<br /> [[fi:Kolmannen poissuljetun laki]]<br /> [[sv:Lagen om det uteslutna tredje]]<br /> [[uk:Закон виключеного третього]]<br /> [[zh:排中律]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Principle_of_explosion&diff=526424079 Principle of explosion 2012-12-04T23:20:23Z <p>Magmalex: /* See also */ Consequentia mirabilis</p> <hr /> <div>{{About|the ex falso quodlibet logical principle|the file tagging software|Ex Falso (software)}}<br /> <br /> {{Confusing|date=December 2007}}<br /> {{One source|date= December 2011}}<br /> <br /> The '''principle of explosion''', ([[Latin]]: ''ex falso quodlibet'' or ''ex contradictione sequitur quodlibet'', &quot;from a contradiction, anything follows&quot;) or the '''principle of Pseudo-Scotus''',{{Citation needed|date=September 2011}} is the law of [[classical logic]], [[intuitionistic logic|intuitionistic logic]] and similar logical systems, according to which any statement can be proven from a contradiction.&lt;ref&gt;Carnielli, W. and Marcos, J. (2001) [http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.107.70 &quot;Ex contradictione non sequitur quodlibet&quot;] ''Proc. 2nd Conf. on Reasoning and Logic'' (Bucharest, July 2000)&lt;/ref&gt; That is, once a contradiction has been asserted, any proposition (or its negation) can be inferred from it. In symbolic terms, the principle of explosion can be expressed in the following way (where &quot;&lt;math&gt;\vdash&lt;/math&gt;&quot; symbolizes the relation of [[logical consequence]]):<br /> <br /> : &lt;math&gt;\{ \phi , \lnot \phi \} \vdash \psi&lt;/math&gt;<br /> : ''or''<br /> : &lt;math&gt;\bot \to P&lt;/math&gt;.<br /> <br /> This can be read as, &quot;If one claims something is both true (&lt;math&gt;\phi\,&lt;/math&gt;) and not true (&lt;math&gt;\lnot \phi&lt;/math&gt;), one can logically derive ''any'' conclusion (&lt;math&gt;\psi&lt;/math&gt;).&quot;<br /> <br /> ==Arguments for explosion==<br /> <br /> ===An informal argument===<br /> <br /> Consider two inconsistent statements, “All lemons are yellow” and &quot;Not all lemons are yellow&quot;, and suppose for the sake of argument that both are simultaneously true. If that is the case, we can then prove anything, for instance that &quot;Santa Claus exists&quot;, by using the following argument: We know &quot;All lemons are yellow&quot;. And from this we can infer that “All lemons are yellow&quot; or &quot;Santa Claus exists” (or both) - we started with the assertion that &quot;all lemons are yellow&quot;, so this expanded statement must be true. Since &quot;all lemons are yellow or Santa Claus exists (or both)&quot;, yet we earlier asserted that &quot;not all lemons are yellow&quot;, the only possibility remaining is that &quot;Santa Claus exists&quot;.<br /> <br /> In more formal terms, there are two basic kinds of argument for the principle of explosion, semantic and proof-theoretic.<br /> <br /> ===The semantic argument===<br /> <br /> The first argument is ''semantic'' or ''[[model theory|model-theoretic]]'' in nature. A sentence &lt;math&gt;\psi&lt;/math&gt; is a ''[[semantic consequence]]'' of a set of sentences &lt;math&gt;\Gamma&lt;/math&gt; only if every model of &lt;math&gt;\Gamma&lt;/math&gt; is a model of &lt;math&gt;\psi&lt;/math&gt;. But there is no model of the contradictory set &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt;. [[A fortiori]], there is no model of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt; that is not a model of &lt;math&gt;\psi&lt;/math&gt;. Thus, vacuously, every model of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt; is a model of &lt;math&gt;\psi&lt;/math&gt;. Thus &lt;math&gt;\psi&lt;/math&gt; is a semantic consequence of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt;.<br /> <br /> === The proof-theoretic argument ===<br /> <br /> The second type of argument is ''[[proof theory|proof-theoretic]]'' in nature. Consider the following derivations:<br /> <br /> #&lt;math&gt;\phi \wedge \neg \phi\,&lt;/math&gt;<br /> #:assumption<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:from (1) by [[conjunction elimination]]<br /> #&lt;math&gt;\neg \phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\phi \vee \psi\,&lt;/math&gt;<br /> #:from (2) by [[disjunction introduction]]<br /> #&lt;math&gt;\psi\,&lt;/math&gt;<br /> #:from (3) and (4) by [[disjunctive syllogism]]<br /> #&lt;math&gt;(\phi \wedge \neg \phi) \to \psi&lt;/math&gt;<br /> #:from (5) by [[conditional proof]] (discharging assumption 1)<br /> <br /> This is just the symbolic version of the informal argument given above, with &lt;math&gt;\phi&lt;/math&gt; standing for &quot;all lemons are yellow&quot; and &lt;math&gt;\psi&lt;/math&gt; standing for &quot;Santa Claus exists&quot;. From &quot;all lemons are yellow and not all lemons are yellow&quot; (1), we infer &quot;all lemons are yellow&quot; (2) and &quot;not all lemons are yellow&quot; (3); from &quot;all lemons are yellow&quot; (2), we infer &quot;all lemons are yellow or Santa Claus exists&quot; (4); and from &quot;not all lemons are yellow&quot; (3) and &quot;all lemons are yellow or Santa Claus exists&quot; (4), we infer &quot;Santa Claus exists&quot; (5). Hence, if all lemons are yellow and not all lemons are yellow, then Santa Claus exists.<br /> <br /> Or:<br /> <br /> #&lt;math&gt;\phi \wedge \neg \phi\,&lt;/math&gt;<br /> #:hypothesis<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \psi\,&lt;/math&gt;<br /> #:hypothesis<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:reiteration of (2)<br /> #&lt;math&gt;\neg \psi \to \phi&lt;/math&gt;<br /> #:from (4) to (5) by [[deduction theorem]]<br /> #&lt;math&gt;( \neg \phi \to \neg \neg \psi)&lt;/math&gt;<br /> #:from (6) by [[contraposition]]<br /> #&lt;math&gt;\neg \neg \psi&lt;/math&gt;<br /> #:from (3) and (7) by [[modus ponens]]<br /> #&lt;math&gt;\psi\,&lt;/math&gt;<br /> #:from (8) by [[double negation elimination]]<br /> #&lt;math&gt;(\phi \wedge \neg \phi) \to \psi&lt;/math&gt;<br /> #:from (1) to (9) by deduction theorem<br /> <br /> Or:<br /> <br /> #&lt;math&gt;\phi \wedge \neg \phi\,&lt;/math&gt;<br /> #:assumption<br /> #&lt;math&gt;\neg \psi\,&lt;/math&gt;<br /> #:assumption<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \neg \psi\,&lt;/math&gt;<br /> #:from (3) and (4) by [[reductio ad absurdum]] (discharging assumption 2)<br /> #&lt;math&gt;\psi\,&lt;/math&gt;<br /> #:from (5) by double negation elimination<br /> #&lt;math&gt;(\phi \wedge \neg \phi) \to \psi&lt;/math&gt;<br /> #:from (6) by conditional proof (discharging assumption 1)<br /> <br /> == Addressing the principle ==<br /> <br /> [[Paraconsistent logic]]s have been developed that allow for sub-contrary forming operators. [[Formal semantics (logic)|Model-theoretic]] paraconsistent logicians often deny the assumption that there can be no model of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt; and devise semantical systems in which there are such models. Alternatively, they reject the idea that propositions can be classified as true or false. [[Proof-theoretic semantics|Proof-theoretic]] paraconsistent logics usually deny the validity of one of the steps necessary for deriving an explosion, typically including disjunctive syllogism, disjunction introduction, and [[reductio ad absurdum]].<br /> <br /> ==See also==<br /> * [[Dialetheism]] – belief in the existence of true contradictions<br /> * [[Law of excluded middle]] – every proposition is either true or not true<br /> * [[Law of noncontradiction]] – no proposition can be both true and not true<br /> * [[Paraconsistent logic]] – a [[modal logic]] used to address contradictions<br /> * [[Paradox of entailment]] – a seeming paradox derived from the principle of explosion<br /> * [[Reductio ad absurdum]] – concluding that a proposition is false because it produces a contradiction<br /> * [[Trivialism]] – the belief that all statements of the form &quot;P and not-P&quot; are true<br /> * [[Consequentia mirabilis]] - Clavius's Law<br /> <br /> ==References==<br /> {{reflist}}<br /> <br /> [[Category:Theorems in propositional logic]]<br /> [[Category:Classical logic]]<br /> [[Category:Principles]]<br /> <br /> [[de:Ex falso quodlibet]]<br /> [[es:Principio de explosión]]<br /> [[it:Ex falso sequitur quodlibet]]<br /> [[hu:Hamisból minden következik]]<br /> [[nl:Ex falso sequitur quod libet]]<br /> [[pt:Princípio de explosão]]<br /> [[uk:Принцип вибуху]]<br /> [[zh:爆炸原理]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Principle_of_explosion&diff=526423653 Principle of explosion 2012-12-04T23:17:16Z <p>Magmalex: /* See also */ added Clavius's Law</p> <hr /> <div>{{About|the ex falso quodlibet logical principle|the file tagging software|Ex Falso (software)}}<br /> <br /> {{Confusing|date=December 2007}}<br /> {{One source|date= December 2011}}<br /> <br /> The '''principle of explosion''', ([[Latin]]: ''ex falso quodlibet'' or ''ex contradictione sequitur quodlibet'', &quot;from a contradiction, anything follows&quot;) or the '''principle of Pseudo-Scotus''',{{Citation needed|date=September 2011}} is the law of [[classical logic]], [[intuitionistic logic|intuitionistic logic]] and similar logical systems, according to which any statement can be proven from a contradiction.&lt;ref&gt;Carnielli, W. and Marcos, J. (2001) [http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.107.70 &quot;Ex contradictione non sequitur quodlibet&quot;] ''Proc. 2nd Conf. on Reasoning and Logic'' (Bucharest, July 2000)&lt;/ref&gt; That is, once a contradiction has been asserted, any proposition (or its negation) can be inferred from it. In symbolic terms, the principle of explosion can be expressed in the following way (where &quot;&lt;math&gt;\vdash&lt;/math&gt;&quot; symbolizes the relation of [[logical consequence]]):<br /> <br /> : &lt;math&gt;\{ \phi , \lnot \phi \} \vdash \psi&lt;/math&gt;<br /> : ''or''<br /> : &lt;math&gt;\bot \to P&lt;/math&gt;.<br /> <br /> This can be read as, &quot;If one claims something is both true (&lt;math&gt;\phi\,&lt;/math&gt;) and not true (&lt;math&gt;\lnot \phi&lt;/math&gt;), one can logically derive ''any'' conclusion (&lt;math&gt;\psi&lt;/math&gt;).&quot;<br /> <br /> ==Arguments for explosion==<br /> <br /> ===An informal argument===<br /> <br /> Consider two inconsistent statements, “All lemons are yellow” and &quot;Not all lemons are yellow&quot;, and suppose for the sake of argument that both are simultaneously true. If that is the case, we can then prove anything, for instance that &quot;Santa Claus exists&quot;, by using the following argument: We know &quot;All lemons are yellow&quot;. And from this we can infer that “All lemons are yellow&quot; or &quot;Santa Claus exists” (or both) - we started with the assertion that &quot;all lemons are yellow&quot;, so this expanded statement must be true. Since &quot;all lemons are yellow or Santa Claus exists (or both)&quot;, yet we earlier asserted that &quot;not all lemons are yellow&quot;, the only possibility remaining is that &quot;Santa Claus exists&quot;.<br /> <br /> In more formal terms, there are two basic kinds of argument for the principle of explosion, semantic and proof-theoretic.<br /> <br /> ===The semantic argument===<br /> <br /> The first argument is ''semantic'' or ''[[model theory|model-theoretic]]'' in nature. A sentence &lt;math&gt;\psi&lt;/math&gt; is a ''[[semantic consequence]]'' of a set of sentences &lt;math&gt;\Gamma&lt;/math&gt; only if every model of &lt;math&gt;\Gamma&lt;/math&gt; is a model of &lt;math&gt;\psi&lt;/math&gt;. But there is no model of the contradictory set &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt;. [[A fortiori]], there is no model of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt; that is not a model of &lt;math&gt;\psi&lt;/math&gt;. Thus, vacuously, every model of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt; is a model of &lt;math&gt;\psi&lt;/math&gt;. Thus &lt;math&gt;\psi&lt;/math&gt; is a semantic consequence of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt;.<br /> <br /> === The proof-theoretic argument ===<br /> <br /> The second type of argument is ''[[proof theory|proof-theoretic]]'' in nature. Consider the following derivations:<br /> <br /> #&lt;math&gt;\phi \wedge \neg \phi\,&lt;/math&gt;<br /> #:assumption<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:from (1) by [[conjunction elimination]]<br /> #&lt;math&gt;\neg \phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\phi \vee \psi\,&lt;/math&gt;<br /> #:from (2) by [[disjunction introduction]]<br /> #&lt;math&gt;\psi\,&lt;/math&gt;<br /> #:from (3) and (4) by [[disjunctive syllogism]]<br /> #&lt;math&gt;(\phi \wedge \neg \phi) \to \psi&lt;/math&gt;<br /> #:from (5) by [[conditional proof]] (discharging assumption 1)<br /> <br /> This is just the symbolic version of the informal argument given above, with &lt;math&gt;\phi&lt;/math&gt; standing for &quot;all lemons are yellow&quot; and &lt;math&gt;\psi&lt;/math&gt; standing for &quot;Santa Claus exists&quot;. From &quot;all lemons are yellow and not all lemons are yellow&quot; (1), we infer &quot;all lemons are yellow&quot; (2) and &quot;not all lemons are yellow&quot; (3); from &quot;all lemons are yellow&quot; (2), we infer &quot;all lemons are yellow or Santa Claus exists&quot; (4); and from &quot;not all lemons are yellow&quot; (3) and &quot;all lemons are yellow or Santa Claus exists&quot; (4), we infer &quot;Santa Claus exists&quot; (5). Hence, if all lemons are yellow and not all lemons are yellow, then Santa Claus exists.<br /> <br /> Or:<br /> <br /> #&lt;math&gt;\phi \wedge \neg \phi\,&lt;/math&gt;<br /> #:hypothesis<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \psi\,&lt;/math&gt;<br /> #:hypothesis<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:reiteration of (2)<br /> #&lt;math&gt;\neg \psi \to \phi&lt;/math&gt;<br /> #:from (4) to (5) by [[deduction theorem]]<br /> #&lt;math&gt;( \neg \phi \to \neg \neg \psi)&lt;/math&gt;<br /> #:from (6) by [[contraposition]]<br /> #&lt;math&gt;\neg \neg \psi&lt;/math&gt;<br /> #:from (3) and (7) by [[modus ponens]]<br /> #&lt;math&gt;\psi\,&lt;/math&gt;<br /> #:from (8) by [[double negation elimination]]<br /> #&lt;math&gt;(\phi \wedge \neg \phi) \to \psi&lt;/math&gt;<br /> #:from (1) to (9) by deduction theorem<br /> <br /> Or:<br /> <br /> #&lt;math&gt;\phi \wedge \neg \phi\,&lt;/math&gt;<br /> #:assumption<br /> #&lt;math&gt;\neg \psi\,&lt;/math&gt;<br /> #:assumption<br /> #&lt;math&gt;\phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \phi\,&lt;/math&gt;<br /> #:from (1) by conjunction elimination<br /> #&lt;math&gt;\neg \neg \psi\,&lt;/math&gt;<br /> #:from (3) and (4) by [[reductio ad absurdum]] (discharging assumption 2)<br /> #&lt;math&gt;\psi\,&lt;/math&gt;<br /> #:from (5) by double negation elimination<br /> #&lt;math&gt;(\phi \wedge \neg \phi) \to \psi&lt;/math&gt;<br /> #:from (6) by conditional proof (discharging assumption 1)<br /> <br /> == Addressing the principle ==<br /> <br /> [[Paraconsistent logic]]s have been developed that allow for sub-contrary forming operators. [[Formal semantics (logic)|Model-theoretic]] paraconsistent logicians often deny the assumption that there can be no model of &lt;math&gt;\{\phi , \lnot \phi \}&lt;/math&gt; and devise semantical systems in which there are such models. Alternatively, they reject the idea that propositions can be classified as true or false. [[Proof-theoretic semantics|Proof-theoretic]] paraconsistent logics usually deny the validity of one of the steps necessary for deriving an explosion, typically including disjunctive syllogism, disjunction introduction, and [[reductio ad absurdum]].<br /> <br /> ==See also==<br /> * [[Dialetheism]] – belief in the existence of true contradictions<br /> * [[Law of excluded middle]] – every proposition is either true or not true<br /> * [[Law of noncontradiction]] – no proposition can be both true and not true<br /> * [[Paraconsistent logic]] – a [[modal logic]] used to address contradictions<br /> * [[Paradox of entailment]] – a seeming paradox derived from the principle of explosion<br /> * [[Reductio ad absurdum]] – concluding that a proposition is false because it produces a contradiction<br /> * [[Trivialism]] – the belief that all statements of the form &quot;P and not-P&quot; are true<br /> * [[Clavius's Law]]<br /> <br /> ==References==<br /> {{reflist}}<br /> <br /> [[Category:Theorems in propositional logic]]<br /> [[Category:Classical logic]]<br /> [[Category:Principles]]<br /> <br /> [[de:Ex falso quodlibet]]<br /> [[es:Principio de explosión]]<br /> [[it:Ex falso sequitur quodlibet]]<br /> [[hu:Hamisból minden következik]]<br /> [[nl:Ex falso sequitur quod libet]]<br /> [[pt:Princípio de explosão]]<br /> [[uk:Принцип вибуху]]<br /> [[zh:爆炸原理]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Consequentia_mirabilis&diff=526423232 Consequentia mirabilis 2012-12-04T23:14:01Z <p>Magmalex: deleted orphan template</p> <hr /> <div>{{Italic title}}<br /> {{Refimprove|date=November 2006}}<br /> <br /> <br /> '''''Consequentia mirabilis''''' ([[Latin]] for &quot;admirable consequence&quot;), also known as '''Clavius's Law''', is used in [[traditional logic|traditional]] and [[classical logic]] to establish the truth of a proposition from the [[Consistency proof|inconsistency]] of its negation.&lt;ref&gt;Sainsbury, Richard. ''Paradoxes''. Cambridge University Press, 2009, p. 128.&lt;/ref&gt; It is thus similar to ''[[reductio ad absurdum]]'', but it can prove a proposition true using just its negation. It states that if a proposition is a consequence of its negation, then it is true, for consistency. It can thus be demonstrated without using any other principle, but that of consistency.<br /> <br /> In formal notation:<br /> &lt;math&gt; (\neg A \rightarrow A) \rightarrow A &lt;/math&gt;<br /> <br /> For example: &quot;There is no truth&quot; (not-A), but this statement implies that it is a truth (A), therefore &quot;there is some truth&quot; (then A is true). Or even: &quot;Nothing exists&quot; implies that there is this statement, so &quot;something there.&quot;<br /> <br /> The most famous example is perhaps the Cartesian ''cogito ergo sum'': Even if one can question the validity of the thinking, no one can deny the existence of thought.<br /> <br /> Children have an uncanny appreciation for this law, and use it unwittingly on a regular basis: &quot;I'm not talking to you&quot; proves that, in saying this, the person is in fact talking to the other.<br /> <br /> It is also known as Clavius' law, after the learned sixteenth century [[Jesuit]] [[Christopher Clavius]], one of the designers of the [[Gregorian calendar]], who first drew attention to the law in his commentary on [[Euclid]].<br /> <br /> ==See also==<br /> *''[[Ex falso quodlibet]]''<br /> *''[[Tertium non datur]]''<br /> <br /> ==References==<br /> {{Reflist}}<br /> <br /> {{DEFAULTSORT:Consequentia Mirabilis}}<br /> [[Category:Theorems in propositional logic]]<br /> [[Category:Latin logical phrases]]<br /> <br /> [[de:Consequentia mirabilis]]<br /> [[fr:Consequentia mirabilis]]<br /> [[it:Consequentia mirabilis]]<br /> [[sk:Claviov zákon]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Comma_category&diff=526146556 Comma category 2012-12-03T09:21:56Z <p>Magmalex: /*External links*/ Added</p> <hr /> <div>In mathematics, a '''comma category''' (a special case being a '''slice category''') is a construction in [[category theory]]. It provides another way of looking at [[morphism]]s: instead of simply relating objects of a [[Category (mathematics)|category]] to one another, morphisms become objects in their own right. This notion was introduced in 1963 by [[William Lawvere|F. W. Lawvere]], although the technique did not become generally known until many years later. Today, it has become particularly important to mathematicians, because several important mathematical concepts can be treated as comma categories. There are also certain guarantees about the existence of [[Limit (category theory)|limit]]s and [[colimit]]s in the context of comma categories. The name comes from the notation originally used by Lawvere, which involved the [[comma]] punctuation mark. Although standard notation has changed since the use of a comma as an operator is potentially confusing, and even Lawvere dislikes the uninformative term &quot;comma category&quot;, the name persists.<br /> <br /> ==Definition==<br /> The most general comma category construction involves two [[functor]]s with the same codomain. Often one of these will have domain '''1''' (the one-object one-morphism category). Some accounts of category theory consider these special cases only, but the term comma category is actually much more general.<br /> <br /> ===General form===<br /> Suppose that &lt;math&gt;\mathcal{A}&lt;/math&gt;, &lt;math&gt;\mathcal{B}&lt;/math&gt;, and &lt;math&gt;\mathcal{C}&lt;/math&gt; are categories, and &lt;math&gt;S&lt;/math&gt; and &lt;math&gt;T&lt;/math&gt; (for source and target) are [[functor]]s<br /> :&lt;math&gt;\mathcal A \xrightarrow{\;\; S\;\;} \mathcal C\xleftarrow{\;\; T\;\;} \mathcal B&lt;/math&gt;<br /> We can form the comma category &lt;math&gt;(S \downarrow T)&lt;/math&gt; as follows:<br /> *The objects are all triples &lt;math&gt;(\alpha, \beta, f)&lt;/math&gt; with &lt;math&gt;\alpha&lt;/math&gt; an object in &lt;math&gt;\mathcal{A}&lt;/math&gt;, &lt;math&gt;\beta&lt;/math&gt; an object in &lt;math&gt;\mathcal{B}&lt;/math&gt;, and &lt;math&gt;f : S(\alpha)\rightarrow T(\beta)&lt;/math&gt; a morphism in &lt;math&gt;\mathcal{C}&lt;/math&gt;.<br /> *The morphisms from &lt;math&gt;(\alpha, \beta, f)&lt;/math&gt; to &lt;math&gt;(\alpha', \beta', f')&lt;/math&gt; are all pairs &lt;math&gt;(g, h)&lt;/math&gt; where &lt;math&gt;g : \alpha \rightarrow \alpha'&lt;/math&gt; and &lt;math&gt;h : \beta \rightarrow \beta'&lt;/math&gt; are morphisms in &lt;math&gt;\mathcal A&lt;/math&gt; and &lt;math&gt;\mathcal B&lt;/math&gt; respectively, such that the following diagram [[commutative diagram|commutes]]:<br /> <br /> &lt;math&gt;\begin{matrix} S(\alpha) &amp; \xrightarrow{S(g)} &amp; S(\alpha')\\ f \Bigg\downarrow &amp; &amp; \Bigg\downarrow f'\\ T(\beta) &amp; \xrightarrow[T(h)]{} &amp; T(\beta') \end{matrix}&lt;/math&gt;<br /> <br /> Morphisms are composed by taking &lt;math&gt;(g, h) \circ (g', h')&lt;/math&gt; to be &lt;math&gt;(g \circ g', h \circ h')&lt;/math&gt;, whenever the latter expression is defined. The identity morphism on an object &lt;math&gt;(\alpha, \beta, f)&lt;/math&gt; is &lt;math&gt;(\mathrm{id}_{\alpha}, \mathrm{id}_{\beta})&lt;/math&gt;.<br /> <br /> ===Slice category===<br /> The first special case occurs when &lt;math&gt;\mathcal A = \mathcal{C}&lt;/math&gt;, &lt;math&gt;S&lt;/math&gt; is the [[identity functor]], and &lt;math&gt;\mathcal{B}=\textbf{1}&lt;/math&gt; (the category with one object &lt;math&gt;*&lt;/math&gt; and one morphism). Then &lt;math&gt;T(*) = A&lt;/math&gt; for some object &lt;math&gt;A&lt;/math&gt; in &lt;math&gt;\mathcal{C}&lt;/math&gt;. In this case, the comma category is written &lt;math&gt;(\mathcal{C} \downarrow A)&lt;/math&gt;, and is often called the ''slice category'' over &lt;math&gt;A&lt;/math&gt; or the category of ''objects over &lt;math&gt;A&lt;/math&gt;''. The objects &lt;math&gt;(\alpha, *, f)&lt;/math&gt; can be simplified to pairs &lt;math&gt;(\alpha, f)&lt;/math&gt;, where &lt;math&gt;f : \alpha \rightarrow A&lt;/math&gt;. Sometimes, &lt;math&gt;f&lt;/math&gt; is denoted &lt;math&gt;\pi_\alpha&lt;/math&gt;. A morphism from &lt;math&gt;(B, \pi_B)&lt;/math&gt; to &lt;math&gt;(B', \pi_{B'})&lt;/math&gt; in the slice category is then an arrow &lt;math&gt;g : B \rightarrow B'&lt;/math&gt; making the following diagram commute:<br /> <br /> &lt;div style=&quot;text-align: center;&quot;&gt;[[Image:CommaCategory-01.png]]&lt;/div&gt;<br /> <br /> ===Coslice category===<br /> The [[Dual (category theory)|dual]] concept to a slice category is a coslice category. Here, &lt;math&gt;S&lt;/math&gt; has domain '''1''' and &lt;math&gt;T&lt;/math&gt; is an identity functor. In this case, the comma category is often written<br /> &lt;math&gt;(A\downarrow \mathcal{C})&lt;/math&gt;, where &lt;math&gt;A&lt;/math&gt; is the object of &lt;math&gt;\mathcal{C}&lt;/math&gt; selected by &lt;math&gt;S&lt;/math&gt;. It is called the ''coslice category'' with respect to &lt;math&gt;A&lt;/math&gt;, or the category of ''objects under &lt;math&gt;A&lt;/math&gt;''. The objects are pairs &lt;math&gt;(B, i_B)&lt;/math&gt; with &lt;math&gt;i_B : A \rightarrow B&lt;/math&gt;. Given &lt;math&gt;(B, i_B)&lt;/math&gt; and &lt;math&gt;(B', i_{B'})&lt;/math&gt;, a morphism in the coslice category is a map &lt;math&gt;h : B \rightarrow B'&lt;/math&gt; making the following diagram commute:<br /> <br /> &lt;div style=&quot;text-align: center;&quot;&gt;[[Image:CommaCategory-02.png]]&lt;/div&gt;<br /> <br /> ===Arrow category===<br /> &lt;math&gt;S&lt;/math&gt; and &lt;math&gt;T&lt;/math&gt; are [[identity functor]]s on &lt;math&gt;\mathcal{C}&lt;/math&gt; (so &lt;math&gt;\mathcal{A} = \mathcal{B} = \mathcal{C}&lt;/math&gt;). In this case, the comma category is the [[arrow category]] &lt;math&gt;\mathcal{C}^\rightarrow&lt;/math&gt;. Its objects are the morphisms of &lt;math&gt;\mathcal{C}&lt;/math&gt;, and its morphisms are commuting squares in &lt;math&gt;\mathcal{C}&lt;/math&gt;.&lt;ref name=&quot;joy&quot;&gt;{{cite book | last = Adámek | first = Jiří | coauthors = Horst Herrlich, and George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}}&lt;/ref&gt;<br /> <br /> ===Other variations===<br /> In the case of the slice or coslice category, the identity functor may be replaced with some other functor; this yields a family of categories particularly useful in the study of [[adjoint functor]]s. For example, if &lt;math&gt;T&lt;/math&gt; is the [[forgetful functor]] mapping an [[abelian group]] to its underlying [[Set (mathematics)|set]], and &lt;math&gt;s&lt;/math&gt; is some fixed set (regarded as a functor from '''1'''), then the comma category &lt;math&gt;(s \downarrow T)&lt;/math&gt; has objects that are maps from &lt;math&gt;s&lt;/math&gt; to a set underlying a group. This relates to the left adjoint of &lt;math&gt;T&lt;/math&gt;, which is the functor that maps a set to the [[free abelian group]] having that set as its basis. In particular, the initial object of &lt;math&gt;(s \downarrow T)&lt;/math&gt; is the canonical injection &lt;math&gt;s\rightarrow T(G)&lt;/math&gt;, where &lt;math&gt;G&lt;/math&gt; is the free group generated by &lt;math&gt;s&lt;/math&gt;.<br /> <br /> An object of &lt;math&gt;(s \downarrow T)&lt;/math&gt; is called a ''morphism from &lt;math&gt;s&lt;/math&gt; to &lt;math&gt;T&lt;/math&gt;'' or a ''&lt;math&gt;T&lt;/math&gt;-structured arrow with domain &lt;math&gt;s&lt;/math&gt;'' in.&lt;ref name=&quot;joy&quot; /&gt; An object of &lt;math&gt;(S \downarrow t)&lt;/math&gt; is called a ''morphism from &lt;math&gt;S&lt;/math&gt; to &lt;math&gt;t&lt;/math&gt;'' or a ''&lt;math&gt;S&lt;/math&gt;-costructured arrow with codomain &lt;math&gt;t&lt;/math&gt;'' in.&lt;ref name=&quot;joy&quot; /&gt;<br /> <br /> Another special case occurs when both &lt;math&gt;S&lt;/math&gt; and &lt;math&gt;T&lt;/math&gt; are functors with domain '''1'''. If &lt;math&gt;S(*)=A&lt;/math&gt; and &lt;math&gt;T(*)=B&lt;/math&gt;, then the comma category &lt;math&gt;(S \downarrow T)&lt;/math&gt;, written &lt;math&gt;(A\downarrow B)&lt;/math&gt;, is the [[discrete category]] whose objects are morphisms from &lt;math&gt;A&lt;/math&gt; to &lt;math&gt;B&lt;/math&gt;.<br /> <br /> ==Properties==<br /> For each comma category there are forgetful functors from it.<br /> * Domain functor, &lt;math&gt;S\downarrow T \to \mathcal A&lt;/math&gt;, which maps:<br /> ** objects: &lt;math&gt;(\alpha, \beta, f)\mapsto \alpha&lt;/math&gt;;<br /> ** morphisms: &lt;math&gt;(g, h)\mapsto g&lt;/math&gt;;<br /> * Codomain functor, &lt;math&gt;S\downarrow T \to \mathcal B&lt;/math&gt;, which maps:<br /> ** objects: &lt;math&gt;(\alpha, \beta, f)\mapsto \beta&lt;/math&gt;;<br /> ** morphisms: &lt;math&gt;(g, h)\mapsto h&lt;/math&gt;.{{Citation needed|date=July 2011}}<br /> <br /> ==Examples of use==<br /> ===Some notable categories===<br /> Several interesting categories have a natural definition in terms of comma categories.<br /> * The category of [[pointed set]]s is a comma category, &lt;math&gt;\scriptstyle {(\bull \downarrow \mathbf{Set})}&lt;/math&gt; with &lt;math&gt;\scriptstyle {\bull}&lt;/math&gt; being (a functor selecting) any [[singleton set]], and &lt;math&gt;\scriptstyle {\mathbf{Set}}&lt;/math&gt; (the identity functor of) the [[category of sets]]. Each object of this category is a set, together with a function selecting some element of the set: the &quot;basepoint&quot;. Morphisms are functions on sets which map basepoints to basepoints. In a similar fashion one can form the category of [[pointed space]]s &lt;math&gt;\scriptstyle {(\bull \downarrow \mathbf{Top})}&lt;/math&gt;.<br /> <br /> * The category of [[Graph (mathematics)|graphs]] is &lt;math&gt;\scriptstyle {(\mathbf{Set} \downarrow D)}&lt;/math&gt;, with &lt;math&gt;\scriptstyle {D : \mathbf{Set} \rightarrow \mathbf{Set}}&lt;/math&gt; the functor taking a set &lt;math&gt;s&lt;/math&gt; to &lt;math&gt;t \times t&lt;/math&gt;. The objects &lt;math&gt;(a, b, f)&lt;/math&gt; then consist of two sets and a function; &lt;math&gt;a&lt;/math&gt; is an indexing set, &lt;math&gt;b&lt;/math&gt; is a set of nodes, and &lt;math&gt;f : a \rightarrow (b \times b)&lt;/math&gt; chooses pairs of elements of &lt;math&gt;b&lt;/math&gt; for each input from &lt;math&gt;a&lt;/math&gt;. That is, &lt;math&gt;f&lt;/math&gt; picks out certain edges from the set &lt;math&gt;b \times b&lt;/math&gt; of possible edges. A morphism in this category is made up of two functions, one on the indexing set and one on the node set. They must &quot;agree&quot; according to the general definition above, meaning that &lt;math&gt;(g, h) : (a, b, f) \rightarrow (a', b', f')&lt;/math&gt; must satisfy &lt;math&gt;f' \circ g = T(h) \circ f&lt;/math&gt;. In other words, the edge corresponding to a certain element of the indexing set, when translated, must be the same as the edge for the translated index.<br /> <br /> * Many &quot;augmentation&quot; or &quot;labelling&quot; operations can be expressed in terms of comma categories. Let &lt;math&gt;S&lt;/math&gt; be the functor taking each graph to the set of its edges, and let &lt;math&gt;A&lt;/math&gt; be (a functor selecting) some particular set: then &lt;math&gt;(S \downarrow A)&lt;/math&gt; is the category of graphs whose edges are labelled by elements of &lt;math&gt;A&lt;/math&gt;. This form of comma category is often called ''objects &lt;math&gt;S&lt;/math&gt;-over &lt;math&gt;A&lt;/math&gt;'' - closely related to the &quot;objects over &lt;math&gt;A&lt;/math&gt;&quot; discussed above. Here, each object takes the form &lt;math&gt;(B, \pi_B)&lt;/math&gt;, where &lt;math&gt;B&lt;/math&gt; is a graph and &lt;math&gt;\pi_B&lt;/math&gt; a function from the edges of &lt;math&gt;B&lt;/math&gt; to &lt;math&gt;A&lt;/math&gt;. The nodes of the graph could be labelled in essentially the same way.<br /> <br /> * A category is said to be ''locally cartesian closed'' if every slice of it is [[cartesian closed]] (see above for the notion of ''slice''). Locally cartesian closed categories are the [[classifying category|classifying categories]] of [[dependent type theory|dependent type theories]].<br /> <br /> ===Limits and universal morphisms===<br /> [[Limit (category theory)|Colimits]] in comma categories may be &quot;inherited&quot;. If &lt;math&gt;\mathcal{A}&lt;/math&gt; and &lt;math&gt;\mathcal{B}&lt;/math&gt; are cocomplete, &lt;math&gt;S : \mathcal{A} \rightarrow \mathcal{C}&lt;/math&gt; is a cocontinuous functor, and &lt;math&gt;T : \mathcal{B} \rightarrow \mathcal{C}&lt;/math&gt; another functor (not necessarily cocontinuous), then the comma category &lt;math&gt;(S \downarrow T)&lt;/math&gt; produced will also be cocomplete{{Cn|date=February 2012}}. For example, in the above construction of the category of graphs, the category of sets is cocomplete, and the identity functor is cocontinuous: so graphs are also cocomplete - all (small) colimits exist. This result is much harder to obtain directly.<br /> <br /> If &lt;math&gt;\mathcal{A}&lt;/math&gt; and &lt;math&gt;\mathcal{B}&lt;/math&gt; are complete, and both &lt;math&gt;S : \mathcal{A} \rightarrow \mathcal{C}&lt;/math&gt; and &lt;math&gt;T : \mathcal{B} \rightarrow \mathcal{C}&lt;/math&gt; are [[continuous functor]]s,&lt;ref&gt;See I. 2.16.1 in Francis Borceux (1994), ''Handbook of Categorical Algebra 1'', Cambridge University Press. ISBN 0-521-44178-1.&lt;/ref&gt; then the comma category &lt;math&gt;(S \downarrow T)&lt;/math&gt; is also complete, and the projection functors &lt;math&gt;(S\downarrow T) \rightarrow \mathcal{A}&lt;/math&gt; and &lt;math&gt;(S\downarrow T) \rightarrow \mathcal{B}&lt;/math&gt; are limit preserving.<br /> <br /> The notion of a [[Universal property|universal morphism]] to a particular colimit, or from a limit, can be expressed in terms of a comma category. Essentially, we create a category whose objects are cones, and where the limiting cone is a terminal object; then, each universal morphism for the limit is just the morphism to the terminal object. This works in the dual case, with a category of cocones having an initial object. For example, let &lt;math&gt;\mathcal{C}&lt;/math&gt; be a category with &lt;math&gt;F : \mathcal{C} \rightarrow \mathcal{C} \times \mathcal{C}&lt;/math&gt; the functor taking each object &lt;math&gt;c&lt;/math&gt; to &lt;math&gt;(c, c)&lt;/math&gt; and each arrow &lt;math&gt;f&lt;/math&gt; to &lt;math&gt;(f, f)&lt;/math&gt;. A universal morphism from &lt;math&gt;(a, b)&lt;/math&gt; to &lt;math&gt;F&lt;/math&gt; consists, by definition, of an object &lt;math&gt;(c, c)&lt;/math&gt; and morphism &lt;math&gt;\rho : (a, b) \rightarrow (c, c)&lt;/math&gt; with the universal property that for any morphism &lt;math&gt;\rho' : (a, b) \rightarrow (d, d)&lt;/math&gt; there is a unique morphism &lt;math&gt;\sigma : c \rightarrow d&lt;/math&gt; with &lt;math&gt;F(\sigma) \circ \rho = \rho'&lt;/math&gt;. In other words, it is an object in the comma category &lt;math&gt;((a, b) \downarrow F)&lt;/math&gt; having a morphism to any other object in that category; it is initial. This serves to define the [[coproduct]] in &lt;math&gt;\mathcal{C}&lt;/math&gt;, when it exists.<br /> <br /> ===Adjunctions===<br /> Lawvere showed that the functors &lt;math&gt;F : \mathcal{C} \rightarrow \mathcal{D}&lt;/math&gt; and &lt;math&gt;G : \mathcal{D} \rightarrow \mathcal{C}&lt;/math&gt; are [[adjoint functors|adjoint]] if and only if the comma categories &lt;math&gt;(F \downarrow id_\mathcal{D})&lt;/math&gt; and &lt;math&gt;(id_\mathcal{C} \downarrow G)&lt;/math&gt;, with &lt;math&gt;id_\mathcal{D}&lt;/math&gt; and &lt;math&gt;id_\mathcal{C}&lt;/math&gt; the identity functors on &lt;math&gt;\mathcal{C}&lt;/math&gt; and &lt;math&gt;\mathcal{D}&lt;/math&gt; respectively, are isomorphic, and equivalent elements in the comma category can be projected onto the same element of &lt;math&gt;\mathcal{C} \times \mathcal{D}&lt;/math&gt;. This allows adjunctions to be described without involving sets, and was in fact the original motivation for introducing comma categories.<br /> <br /> ===Natural transformations===<br /> If the domains of &lt;math&gt;S, T&lt;/math&gt; are equal, then the diagram which defines morphisms in &lt;math&gt;S\downarrow T&lt;/math&gt; with &lt;math&gt;\alpha=\beta, \alpha'=\beta', g=h&lt;/math&gt; is identical to the diagram which defines a [[natural transformation]] &lt;math&gt;S\to T&lt;/math&gt;. The difference between the two notions is that a natural transformation is a particular collection of morphisms of type of the form &lt;math&gt;S(\alpha)\to T(\alpha)&lt;/math&gt;, while objects of the comma category contains ''all'' morphisms of type of such form. A functor to the comma category selects that particular collection of morphisms. This is described succinctly by an observation by Huq{{Citation needed|date=July 2011}} that a natural transformation &lt;math&gt;\eta:S\to T&lt;/math&gt;, with &lt;math&gt;S, T:\mathcal A \to \mathcal C&lt;/math&gt;, corresponds to a functor &lt;math&gt;\mathcal A \to (S\downarrow T)&lt;/math&gt; which maps each object &lt;math&gt;\alpha&lt;/math&gt; to &lt;math&gt;(\alpha, \alpha, \eta_\alpha)&lt;/math&gt; and maps each morphism &lt;math&gt;g&lt;/math&gt; to &lt;math&gt;(g, g)&lt;/math&gt;. This is a [[bijection|bijective]] correspondence between natural transformations &lt;math&gt;S\to T&lt;/math&gt; and functors &lt;math&gt;\mathcal A \to (S\downarrow T)&lt;/math&gt; which are [[section (category theory)|sections]] of both forgetful functors from &lt;math&gt;S\downarrow T&lt;/math&gt;.<br /> <br /> ==References==<br /> &lt;references /&gt;<br /> *{{nlab|id=comma+category|title=Comma category}}<br /> <br /> {{DEFAULTSORT:Comma Category}}<br /> [[Category:Category theory]]<br /> [[Category:Category-theoretic categories]]<br /> <br /> [[de:Kommakategorie]]<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.</div> Magmalex https://en.wikipedia.org/w/index.php?title=Kon-Tiki_expedition&diff=525961362 Kon-Tiki expedition 2012-12-02T03:03:52Z <p>Magmalex: /* Later recreations of Kon-Tiki */</p> <hr /> <div>{{about|the raft used by Thor Heyerdahl to sail across the Pacific||Kontiki (disambiguation)}}<br /> [[File:Kon-Tiki.jpg|thumb|250px|Kon-Tiki, 1947]]<br /> '''''Kon-Tiki''''' was the [[raft]] used by Norwegian explorer and writer [[Thor Heyerdahl]] in his 1947 expedition across the Pacific Ocean from South America to the [[Polynesia|Polynesian islands]]. It was named after the [[Inca]] sun god, [[Viracocha]], for whom &quot;Kon-Tiki&quot; was said to be an old name. ''[[The Kon-Tiki Expedition: By Raft Across the South Seas|Kon-Tiki]]'' is also the name of Heyerdahl's book and the [[Academy Award for Best Documentary Feature|Academy Award-winning]] [[Kon-Tiki (1950 film)|documentary film]] chronicling his adventures.<br /> <br /> Heyerdahl believed that people from South America could have settled Polynesia in [[pre-Columbian]] times, although most anthropologists now believe they did not.&lt;ref&gt;[[Wade Davis]], ''The Wayfinders: Why Ancient Wisdom Matters in the Modern World'', Crawley: University of Western Australia Publishing, p.46.&lt;/ref&gt;&lt;ref&gt;{{cite web|author=Andrew Lawler |url=http://www.sciencemag.org/content/328/5984/1344.summary |title=Andrew Lawler, '&amp;#39;Beyond Kon-Tiki: Did Polynesians Sail to South America'&amp;#39;, Journal '&amp;#39;Science'&amp;#39; Vol. 328 no. 5984 pp. 1344–1347 11 June 2010 |publisher=Sciencemag.org |date= |accessdate=2011-11-09}}&lt;/ref&gt;&lt;ref&gt;{{cite web|author=Andrew Lawler |url=http://www.sciencemag.org/content/328/5984/1346.short |title=Andrew Lawler, '&amp;#39;Changing Time in the South Pacific'&amp;#39;, Journal '&amp;#39;Science'&amp;#39; Vol. 328 no. 5984 p. 1346 11 June 2010 |publisher=Sciencemag.org |date=2010-06-11 |accessdate=2011-11-09}}&lt;/ref&gt; His aim in mounting the ''Kon-Tiki'' expedition was to show, by using only the materials and technologies available to those people at the time, that there were no technical reasons to prevent them from having done so. Although the expedition carried some modern equipment, such as a radio, watches, charts, sextant, and metal knives, Heyerdahl argued they were incidental to the purpose of proving that the raft itself could make the journey.<br /> <br /> The ''Kon-Tiki'' expedition was funded by private loans, along with donations of equipment from the [[United States Army]]. Heyerdahl and a small team went to [[Peru]], where, with the help of dockyard facilities provided by the Peruvian authorities, they constructed the raft out of [[Ochroma pyramidale|balsa]] logs and other native materials in an indigenous style as recorded in illustrations by Spanish [[conquistadores]]. The trip began on April 28, 1947. Heyerdahl and five companions sailed the raft for 101 days over 6900 km (4,300 miles) across the Pacific Ocean before smashing into a [[reef]] at [[Raroia]] in the [[Tuamotu Islands]] on August 7, 1947. The crew made successful landfall and all returned safely.<br /> <br /> Thor Heyerdahl's book about his experience became a bestseller. It was published in 1948 as ''The Kon-Tiki Expedition: By Raft Across the South Seas'', later reprinted as ''Kon-Tiki: Across the Pacific in a Raft''. A documentary [[motion picture]] about the expedition, also called ''Kon-Tiki'' was produced from a write-up and expansion of the crew's filmstrip notes and won an [[Academy Award for Best Documentary Feature|Academy Award]] in 1951. It was directed by [[Thor Heyerdahl]] and edited by [[Olle Nordemar]]. The voyage was also chronicled in the documentary TV-series ''The Kon-Tiki Man: The Life and Adventures of Thor Heyerdahl'', directed by Bengt Jonson.&lt;ref&gt;[http://www.kon-tiki.no/Events/indexold.html ''The Kon-Tiki Man'' episode breakdown]{{dead link|date=November 2011}}&lt;/ref&gt;<br /> <br /> The original ''Kon-Tiki'' raft is now on display in the [[Kon-Tiki Museum]] in [[Oslo]].<br /> <br /> == Crew ==<br /> <br /> ''Kon-Tiki'' had six men on its crew, and a pet [[parrot]] named Lorita. Crew members included [[Thor Heyerdahl]], Erik Hesselberg, [[Bengt Danielsson]], [[Knut Haugland]], [[Torstein Raaby]], and Herman Watzinger.&lt;ref&gt;{{cite book |url= http://books.google.co.uk/books?id=2ysYAQAAMAAJ&amp;q=Watzinger+Raaby+Haugland&amp;dq=Watzinger+Raaby+Haugland&amp;hl=en&amp;sa=X&amp;ei=gPF9T7OUD6WX0QWKn_maDg&amp;ved=0CDgQ6AEwAQ |title=The Kon-Tiki Expedition |first=Thor |last=Thor Heyerdahl |publisher=Rand McNally|year= 1968 |accessdate=5 April 2012}}&lt;/ref&gt; All were Norwegian except for Bengt Danielsson, a Swede. Thor Heyerdahl (1914–2002) was the expedition leader. He was also the author of the book and the narrator of the story. Heyerdahl had studied the ancient people of South America and Polynesia and believed that there was a link between the two. Erik Hesselberg (1914–1972) was the navigator and artist. He painted the large Kon-Tiki figure on the raft's sail. His delightful children's book &quot;Kon-Tiki and I&quot; appeared in Norwegian in 1949 and has since been published in more than 15 languages. Bengt Danielsson (1921–1997) took on the role of steward, in charge of supplies and daily rations. Danielsson was a Swedish sociologist interested in [[human migration|human migration theory]]. He also served as translator, as he was the only member of the crew who spoke Spanish. He was also a voracious reader; his box aboard the raft contained many books. Knut Haugland (1917–2009) was a radio expert, decorated by the British in World War II for actions in the [[Norwegian heavy water sabotage]] that stalled what were believed to be Germany's plans to develop an [[atomic bomb]]. Torstein Raaby (1918–1964) was also in charge of radio transmissions. He gained radio experience while hiding behind German lines during WWII, spying on the German battleship ''[[German battleship Tirpitz|Tirpitz]]''. His secret radio transmissions eventually helped guide in Allied bombers to sink the ship. Herman Watzinger (1910–1986) was an engineer whose area of expertise was in technical measurements. He was the first to join Heyerdahl for the trip. He collected and recorded all sorts of data on the voyage. Much of what he recorded, such as weather data, was sent back to various people, since this area of the ocean was largely understudied.<br /> <br /> ==Construction==<br /> {{unreferenced section|date=August 2012}}<br /> {{Undue precision|section}}<br /> [[File:Kon-Tiki inside.jpg|thumb|left|The raft in the [[Kon-Tiki Museum]], Oslo]]<br /> The main body of the float was composed of nine [[balsa (tree)|balsa]] tree trunks up to 13.7 metres (45&amp;nbsp;ft) long, 60&amp;nbsp;cm (2&amp;nbsp;ft) in diameter, lashed together with 3.175&amp;nbsp;cm (1¼ inch) [[hemp]] ropes. Cross-pieces of balsa logs 5.5&amp;nbsp;m (18&amp;nbsp;ft) long and 30&amp;nbsp;cm (1&amp;nbsp;ft) in diameter were lashed across the logs at 1&amp;nbsp;m (3&amp;nbsp;ft) intervals to give lateral support. [[Pine]] splashboards clad the bow, and lengths of pine 2.5&amp;nbsp;cm (1 inch) thick and 60&amp;nbsp;cm (2&amp;nbsp;ft) wide were wedged between the balsa logs and used as [[centerboard]]s. <br /> <br /> The main mast was made of lengths of mangrove wood lashed together to form an A-frame 8.8&amp;nbsp;m (29&amp;nbsp;ft) high. Behind the main-mast was a cabin of plaited bamboo 4.2&amp;nbsp;m (14&amp;nbsp;ft) long and 2.4&amp;nbsp;m (8&amp;nbsp;ft) wide was built about 1.21–1.51&amp;nbsp;m (4–5 feet) high, and roofed with banana leaf thatch. At the stern was a 5.8&amp;nbsp;m (19&amp;nbsp;ft) long steering oar of mangrove wood, with a blade of fir. <br /> The main sail was 4.6&amp;nbsp;m by 5.5&amp;nbsp;m (15 by 18 feet) on a yard of bamboo stems lashed together. Photographs also show a top-sail above the main sail, and also a mizzen-sail, mounted at the stern.<br /> <br /> The raft was partially decked in split bamboo. The main spars were a laminate of wood and reeds and Heyerdahl tested more than twenty different composites before settling on one that proved an effective compromise between bulk and torsional rigidity. No metal was used in the construction.<br /> <br /> ==Supplies==<br /> ''Kon-Tiki'' carried 275 gallons of drinking water in 56 water cans, as well as a number of sealed bamboo rods. The purpose stated by Heyerdahl for carrying modern and ancient containers was to test the effectiveness of ancient water storage. For food ''Kon-Tiki'' carried 200 [[coconut]]s, [[sweet potato]]es, [[calabash|bottle gourds]] and other assorted fruit and roots. The [[U.S. Army Quartermaster Corps]] provided [[field ration]]s, tinned food and survival equipment. In return, the ''Kon-Tiki'' explorers reported on the quality and utility of the provisions. They also caught plentiful numbers of fish, particularly [[flying fish]], &quot;[[mahi-mahi|dolphin fish]]&quot;, [[yellowfin tuna]], [[bonito]] and [[shark]].<br /> <br /> ==Communications==<br /> The expedition carried an [[amateur radio]] station with the call sign of LI2B operated by former [[World War II]] [[Norwegian Resistance|Norwegian underground]] radio operators Knut Haugland and Torstein Raaby.&lt;ref&gt;{{cite journal<br /> |journal=QST<br /> |title=Kon-Tiki Communications - Well Done!<br /> |year=1947<br /> |month=December<br /> |author=Anonymous<br /> |pages=69, 143-148<br /> |publisher=The [[American Radio Relay League]]<br /> }}&lt;/ref&gt; Haugland and Raaby maintained regular communication with a number of American, Canadian, and South American stations that relayed ''Kon Tiki's'' status to the Norwegian Embassy in Washington, D.C. On August 5, Haugland made contact with a station in Oslo, Norway, 10,000 miles away.&lt;ref name=&quot;arrl&quot;&gt;[http://www.arrl.org/news/features/2003/03/05/1/?nc=1 ''An LA, as in Norway, Story, by Bob Merriam, W1NTE''], March 5, 2003&lt;/ref&gt;&lt;ref&gt;[http://www.arrl.org/news/stories/2002/04/24/1/ ''Thor Heyerdahl of Kon-Tiki fame dies at 87''], April 24, 2002&lt;/ref&gt; ''Kon Tiki's'' transmitters were powered by batteries and a hand-cranked generator and operated on the [[40-meter band|40-]], the [[20-meter band|20-meter]] band, the [[10-meter band]], and the [[6-meter band]]. Each unit was water resistant and included 2E30 [[vacuum tubes]] providing 10 [[watt]]s of [[radio frequency|RF]] input. A German Mark V [[transceiver]] was used as a backup unit.&lt;ref name=&quot;arrl&quot; /&gt;<br /> <br /> The radio receiver used throughout the voyage was a [[National Radio Company]] NC-173, once requiring a thorough drying out after being soaked during a shipwreck.&lt;ref&gt;{{cite web|url=http://oak.cats.ohiou.edu/~postr/bapix/NC173.htm |title=Boatanchor Pix, National NC-173 |publisher=Oak.cats.ohiou.edu |date= |accessdate=2011-11-09}}&lt;/ref&gt; An &quot;all well, all well&quot; message was sent via LI2B to notify would-be rescuers of the crew's safety.&lt;ref&gt;[http://www.arrl.org/news/stories/2002/04/24/1/ ''Thor Heyerdahl of Kon-Tiki fame dies at 87''] April 24, 2002,&lt;/ref&gt;<br /> <br /> The call sign LI2B was used by Heyerdahl again in 1969–70, when he built a papyrus reed raft and sailed from Morocco to Barbados in an attempt to show a possible link between the civilization of ancient Egypt and the New World.&lt;ref&gt;{{cite book|author=Thor Heyerdahl|title=The Ra Expeditions|edition=English Edition|year=1971<br /> |location=New York|publisher=Doubleday and Company|page=270}}&lt;/ref&gt;<br /> <br /> ==The voyage==<br /> ''Kon-Tiki'' left [[Callao]], [[Peru]], on the afternoon of April 28, 1947. To avoid coastal traffic it was initially towed 50 miles out by the Fleet Tug ''Guardian Rios'' of the [[Peruvian Navy]], then sailed roughly west carried along on the [[Humboldt Current]].&lt;ref&gt;{{cite book |url= http://books.google.co.uk/books?id=LxMNAAAAYAAJ&amp;q=Guardian+Rios&amp;dq=Guardian+Rios&amp;hl=en&amp;sa=X&amp;ei=ogJ-T--xFejK0QWt342hDg&amp;redir_esc=y |title=Kon-Tiki: across the Pacific by raft|page=98 |first=Thor |last= Heyerdahl |publisher=Rand McNally |year= 1984|accessdate=5 April 2012}}&lt;/ref&gt;<br /> <br /> The crew's first sight of land was the atoll of [[Puka-Puka]] on July 30. On August 4, the 97th day after departure, ''Kon-Tiki'' reached the Angatau atoll. The crew made brief contact with the inhabitants of [[Fangatau|Angatau Island]], but were unable to land safely. Calculations made by Heyerdahl before the trip had indicated that 97 days was the minimum amount of time required to reach the Tuamotu islands, so that the encounter with Angatau showed that they had made good time.<br /> <br /> On August 7, the voyage came to an end when the raft struck a reef and was eventually beached on an uninhabited islet off [[Raroia]] Island in the [[Tuamotus|Tuamotu]] group. The team had travelled a distance of around 3,770 nautical miles (c. {{convert|6980|km|abbr=on}}) in 101 days, at an average speed of 1.5 knots.<br /> <br /> After spending a number of days alone on the tiny islet, the crew were greeted by men from a village on a nearby island who arrived in canoes, having seen washed-up flotsam from the raft. The crew were taken back to the native village, where they were feted with traditional dances and other festivities. Finally the crew were taken off Raroia to [[Tahiti]] by the French schooner ''Tamara'', with the salvaged ''Kon-Tiki'' in tow.<br /> <br /> == Anthropology ==<br /> [[Image:Kneeled moai Easter Island.jpg|thumb|A [[moai]] bearing resemblances to statues around [[Lake Titicaca]] in South America]]<br /> Heyderhal believed that the original inhabitants of Easter Island were the migrants from Peru. He argued that the monumental statues known as [[moai]] resembled sculptures more typical of pre-Columbian Peru than any Polynesian designs. He believed that the Easter Island myth of a power struggle between two peoples called the [[Hanau epe]] and [[Hanau momoko]] was a memory of conflicts between the original inhabitants of the island and a later wave of Native Americans from the Northwest coast, eventually leading to the annihilation of the Hanau epe and the destruction of the island's culture and once-prosperous economy.&lt;ref&gt;Heyderdahl, Thor. ''Easter Island - The Mystery Solved''. Random House New York 1989.&lt;/ref&gt;&lt;ref name = &quot;Rose&quot;&gt;Robert C. Suggs, &quot;Kon-Tiki&quot;, in Rosemary G. Gillespie, D. A. Clague (eds), ''Encyclopedia of Islands'', University of California Press, 2009, pp.515-16.&lt;/ref&gt; <br /> <br /> Most historians consider that the Polynesians from the west were the original inhabitants and that the story of the Hanau epe is either pure myth, or a memory of internal tribal or class conflicts.&lt;ref&gt;William R. Long, &quot;Does 'Rapa Nui' Take Artistic License Too Far?&quot;,Los Angeles Times, Friday August 26, 1994, p.21.&lt;/ref&gt;&lt;ref&gt;John Flenley, Paul G. Bahn, The Enigmas of Easter Island: Island on the Edge, Oxford University Press, 2003, pp.76; 154.&lt;/ref&gt;&lt;ref&gt;Steven R. Fischer, Island at the End of the World: The Turbulent History of Easter Island, Reaktion Books, 2005, p.42.&lt;/ref&gt; However, in 2011 Professor Erik Thorsby of the [[University of Oslo]] presented DNA evidence to the [[Royal Society]] which whilst agreeing with the west origin also identified a distinctive but smaller genetic contribution from South America.&lt;ref&gt;{{cite news|url=http://www.telegraph.co.uk/science/science-news/8582150/Kon-Tiki-explorer-was-partly-right-Polynesians-had-South-American-roots.html|title=Kon-Tiki explorer was partly right – Polynesians had South American roots|publisher=Daily Telegraph|author=Richard Alleyne|date=17 Jun 2011|accessdate=17 Jun 2011}}&lt;/ref&gt;<br /> <br /> == Later recreations of Kon-Tiki ==<br /> In 1954 [[William Willis (sailor)|William Willis]] sailed alone on a raft from [[Peru]] to [[American Samoa]], successfully completing the journey.&lt;ref&gt;Willis, William (1955). The Epic Voyage of the Seven Little Sisters: A 6700 Mile Voyage Alone Across the Pacific. London: Hutchinson&lt;/ref&gt; He sailed 6,700 miles, which was 2,200 miles farther than Kon-Tiki. In the following year the Czech explorer and adventurer [[Eduard Ingris]] attempted to recreate the Kon-Tiki expedition on a balsa raft called ''[[Kantuta Expeditions|Kantuta]]''. His first expedition, ''Kantuta I'', took place in 1955-1956 and led to failure. In 1959 Ingris built a new balsa raft, ''Kantuta II'', and tried to repeat the previous expedition. The second expedition was a success. Ingris was able to cross the Pacific Ocean on the balsa raft from Peru to Polynesia.<br /> <br /> [[File:Tangaroa 1.jpg|thumb|175px|''Tangaroa'' anchored by [[Stavern]], Norway]]<br /> On April 28, 2006, a Norwegian team attempted to duplicate the ''Kon-Tiki'' voyage using a newly built raft, the ''Tangaroa'', named after the Māori sea-god [[Tangaroa]]. Again based on records of ancient vessels, this raft used a relatively sophisticated [[square sail]] that allowed sailing into the wind, or [[Tacking (sailing)|tacking]]. It was {{convert|16|m|abbr=on}} high by {{convert|8|m|abbr=on}} wide. The raft also included a set of modern [[navigation]] and [[communication]] equipment, including [[Photovoltaic module|solar panel]]s, [[portable computers]], and [[desalination]] equipment.&lt;ref&gt;Equipment on the Tangaroa included GPS (Global Positioning System), F-77 satellite antenna, AUS (Automatic Identification System), six solar panels to generate electricity, wind generators, desalination equipment, telephone, internet, 3 MAC iBook computers, DVD player and an iPod. [http://azer.com/aiweb/categories/magazine/ai144_folder/144_graphics/kon_tiki_tangaroa_chart.jpg Azerbaijan International, Vol. 14:4] (Winter 2006), p. 35&lt;/ref&gt; The crew posted to their website.&lt;ref&gt;{{cite web|url=http://www.tangaroa.no |title=www.tangaroa.no |publisher=www.tangaroa.no |date= |accessdate=2011-11-09}}&lt;/ref&gt;<br /> <br /> The crew of six was led by [[Torgeir Higraff]], and included [[Olav Heyerdahl]], grandson of [[Thor Heyerdahl]]. The voyage was completed successfully in July 2006. A DVD Documentary: [http://videomaker.no/norwegian/ &quot;The Tangaroa Expedition&quot; (Ekspedisionen Tangaroa)] by Videomaker (Nor­wegian), 2007. By Photographer Anders Berg and Jenssen. 58 minutes (English, Norwegian, Swedish, Spanish).<br /> <br /> On January 30, 2011 An-Tiki, a raft modeled after ''Kon-Tiki'' began a 3,000 mile, 70-day journey across the Atlantic Ocean from the Canary Islands to the island of [[Eleuthera]] in the Bahamas.&lt;ref&gt;{{cite web|url=http://www.eleutheranews.com/local/1159.html |title=The Eleutheran – Eleuthera News, Sport and much more from Eleuthera – The tale of An-Tiki – One raft, four ‘mature’ adventurers and a very big ocean! |publisher=Eleutheranews.com |date= |accessdate=2011-11-09}}&lt;/ref&gt; The expedition was piloted by four &quot;‘mature’ and intrepid gentlemen, aged from 56 to 84 years&quot;, led by [[Anthony Smith (explorer)|Anthony Smith]].&lt;ref&gt;{{cite web|url=http://www.eleutheranews.com/local/1232.html |title=The Eleutheran – Eleuthera News, Sport and much more from Eleuthera – The An-Tiki Dream Turns into Reality |publisher=Eleutheranews.com |date= |accessdate=2011-11-09}}&lt;/ref&gt; The trip was designed to commemorate the journey in an open boat of survivors from the British steamship ''Anglo-Saxon'', sunk by the German cruiser ''[[German auxiliary cruiser Widder|Widder]]'' in 1940. The raft ended its voyage in the Caribbean island of St Maarten, completing its trip to Eleuthera in the following year with Smith and a new crew.&lt;ref&gt;[http://www.telegraph.co.uk/travel/activityandadventure/9247834/Voyage-to-the-brink-of-death.html# Anthony Smith, &quot;Voyage to the Brink of Death&quot;, ''The Daily Telegraph'', 06 May 2012],&lt;/ref&gt;<br /> <br /> == See also ==<br /> * [[Experimental archaeology]]<br /> * [[Polynesian navigation]]<br /> * [[Tupac Inca Yupanqui]]<br /> <br /> ==References==<br /> {{reflist|2}}<br /> <br /> ;Bibliography<br /> * Heyerdahl, Thor (1950). [http://www.archive.org/details/kontikiacrossthe012568mbp ''Kon-Tiki'']. Rand McNally &amp; Company. At [[Internet Archive]].<br /> * Hesselberg, Erik (1950). ''Kon-Tiki and I : illustrations with text, begun on the Pacific on board the raft &quot;Kon-Tiki&quot; and completed at &quot;Solbakken&quot; in Borre.'' Allen &amp; Unwin<br /> * Andersson, Axel (2010) ''A Hero for the Atomic Age: Thor Heyerdahl and the Kon-Tiki Expedition'' (Peter Lang) ISBN 978-1-906165-31-4<br /> <br /> == External links ==<br /> *[http://www.kon-tiki.no/ Kon-Tiki Museum]<br /> *[http://oak.cats.ohiou.edu/~postr/bapix/NC173.htm National NC-173 receiver]<br /> *[http://www.azer.com/aiweb/categories/magazine/ai144_folder/144_graphics/kon_tiki_tangaroa_chart.jpg Quick Facts: Comparing the Two Rafts: Kon-Tiki and Tangaroa] Azerbaijan International, Vol 14:4 (Winter 2006)<br /> *[http://www.azer.com/aiweb/categories/magazine/ai144_folder/144_articles/144_tangaroa.html Testing Heyerdahl's Theories about Kon-Tiki 60 Years Later: Tangaroa Pacific Voyage (Summer 2006)] Azerbaijan International, Vol 14:4 (Winter 2006)<br /> *[http://www.personal.psu.edu/pjc12/Kon-Tiki%20in%20Reverse--The%20Tahiti-Nui%20Expedition.htm Kon-Tiki in Reverse: The Tahiti-Nui Expedition]<br /> *[http://webtv.tv2.no/webtv/sumo/?treeId=444033&amp;progId=185694 TV2Sumo WebTV programme &quot;Ekspedisjonen Tangaroa&quot; (Tangaroa Expedition) – Norsk]<br /> * [http://www.librarything.com/work/1469859 Acali 1973 – expedition by raft across Atlantic] Librarything, 2007<br /> * [http://www.personal.psu.edu/pjc12/From%20China%20to%20America--The%20Hsu-Fu%20Expedition.htm Hsu-Fu 1993 – bamboo raft across Pacific (west to east)] personal.psu.edu<br /> <br /> {{Thor Heyerdahl}}<br /> <br /> [[Category:Pre-Columbian trans-oceanic contact]]<br /> [[Category:Individual sailing vessels]]<br /> [[Category:Ships preserved in museums]]<br /> [[Category:Replica ships]]<br /> [[Category:Replications of ancient voyages]]<br /> [[Category:Pacific expeditions]]<br /> [[Category:Sailing expeditions]]<br /> [[Category:Thor Heyerdahl]]<br /> <br /> [[ar:رحلة الكونتيكي الاستكشافية]]<br /> [[be:Кон-Цікі]]<br /> [[bg:Кон-Тики]]<br /> [[bs:Kon-Tiki]]<br /> [[ca:Kon-Tiki]]<br /> [[cs:Kon-Tiki]]<br /> [[da:Kon-Tiki]]<br /> [[de:Kon-Tiki]]<br /> [[es:Kon-tiki (expedición)]]<br /> [[eo:Kon-Tiki]]<br /> [[eu:Kon-Tiki]]<br /> [[fr:Kon-Tiki]]<br /> [[hi:कॉन-टिकी]]<br /> [[hr:Kon-Tiki]]<br /> [[it:Kon-Tiki]]<br /> [[he:קון טיקי]]<br /> [[ka:კონ-ტიკი]]<br /> [[lv:Kon-Tiki]]<br /> [[lt:Kon Tikis]]<br /> [[hu:Kon-Tiki (hajó)]]<br /> [[ml:കോൺ-ടിക്കി]]<br /> [[nl:Kon-Tiki (boek)]]<br /> [[ja:コンティキ号]]<br /> [[no:«Kon-Tiki»]]<br /> [[nn:Kon-Tiki-ekspedisjonen]]<br /> [[pl:Wyprawa Kon-Tiki]]<br /> [[pt:Expedição Kon-Tiki]]<br /> [[ru:Кон-Тики]]<br /> [[si:කොන්-ටිකි]]<br /> [[fi:Kon-Tiki]]<br /> [[sv:Kon-Tiki]]<br /> [[tl:Kon-Tiki]]<br /> [[tr:Kon-Tiki]]<br /> [[zh:康提基号]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Cyclic_group&diff=525680537 Cyclic group 2012-11-30T10:25:59Z <p>Magmalex: /* Representation */ Added &quot;regular&quot;</p> <hr /> <div>{{Groups}}<br /> In algebra, a '''cyclic group''' is a [[group (mathematics)|group]] that is [[generating set of a group|generated]] by a single element, in the sense that every element of the group can be written as a power of some particular element ''g'' in multiplicative notation, or as a multiple of ''g'' in additive notation. This element ''g'' is called a &quot;[[Generating set of a group|generator]]&quot; of the group. Any infinite cyclic group is [[isomorphic]] to '''Z''', the integers with addition as the group operation. Any finite cyclic group of order ''n'' is isomorphic to '''Z'''/''n'''''Z''', the integers modulo n with addition as the group operation.<br /> <br /> ==Definition==<br /> [[File:Cyclic group.svg|right|thumb|150px|The six 6th complex roots of unity form a cyclic group under multiplication. ''z'' is a primitive element, but ''z''&lt;sup&gt;2&lt;/sup&gt; is not, because the odd powers of ''z'' are not a power of ''z''&lt;sup&gt;2&lt;/sup&gt;.]]<br /> A group ''G'' is called cyclic if there exists an element ''g'' in ''G'' such that ''G'' = &amp;lt;''g''&amp;gt; = { ''g''&lt;sup&gt;''n''&lt;/sup&gt; | ''n'' is an integer }. Since any group generated by an element in a group is a subgroup of that group, showing that the only [[subgroup]] of a group G that contains ''g'' is ''G'' itself suffices to show that G is cyclic.<br /> <br /> For example, if ''G'' = { ''g''&lt;sup&gt;0&lt;/sup&gt;, ''g''&lt;sup&gt;1&lt;/sup&gt;, ''g''&lt;sup&gt;2&lt;/sup&gt;, ''g''&lt;sup&gt;3&lt;/sup&gt;, ''g''&lt;sup&gt;4&lt;/sup&gt;, ''g''&lt;sup&gt;5&lt;/sup&gt; } is a group, then ''g''&lt;sup&gt;6&lt;/sup&gt; = ''g''&lt;sup&gt;0&lt;/sup&gt;, and ''G'' is cyclic. In fact, ''G'' is essentially the same as (that is, [[Isomorphism|isomorphic]] to) the set { 0, 1, 2, 3, 4, 5 } with addition [[modular arithmetic|modulo]] 6. For example, 1 + 2 ≡ 3 (mod 6) corresponds to ''g''&lt;sup&gt;1&lt;/sup&gt;·''g''&lt;sup&gt;2&lt;/sup&gt; = ''g''&lt;sup&gt;3&lt;/sup&gt;, and 2 + 5 ≡ 1 (mod 6) corresponds to ''g''&lt;sup&gt;2&lt;/sup&gt;·''g''&lt;sup&gt;5&lt;/sup&gt; = ''g''&lt;sup&gt;7&lt;/sup&gt; = ''g''&lt;sup&gt;1&lt;/sup&gt;, and so on. One can use the isomorphism χ defined by χ(''g''&lt;sup&gt;''i''&lt;/sup&gt;) = ''i''.<br /> <br /> For every positive integer ''n'' there is exactly one cyclic group (up to isomorphism) whose [[Order (group theory)|order]] is ''n'', and there is exactly one infinite cyclic group (the integers under addition). Hence, the cyclic groups are the simplest groups and they are completely classified.<br /> <br /> The name &quot;cyclic&quot; may be misleading: it is possible to generate infinitely many elements and not form any literal cycles; that is, every ''g''&lt;sup&gt;''n''&lt;/sup&gt; is distinct. (It can be said that it has one infinitely long cycle.) A group generated in this way is called an '''infinite cyclic group''', and is isomorphic to the additive group of [[integer]]s '''Z'''.<br /> <br /> Furthermore, the [[circle group]] (whose elements are [[uncountable]]) is ''not'' a cyclic group—a cyclic group always has [[countable]] elements.<br /> <br /> Since the cyclic groups are [[Abelian group|abelian]], they are often written additively and denoted '''Z'''&lt;sub&gt;''n''&lt;/sub&gt;. However, this notation can be problematic for [[number theory|number theorists]] because it conflicts with the usual notation for [[p-adic number|''p''-adic number]] rings or [[localization of a ring|localization]] at a [[prime ideal]]. The [[quotient group|quotient]] notations '''Z'''/''n'''''Z''', '''Z'''/''n'', and '''Z'''/(''n'') are standard alternatives. We adopt the first of these here to avoid the collision of notation. See also the section [[#Subgroups and notation|Subgroups and notation]] below.<br /> <br /> One may write the group multiplicatively, and denote it by ''C''&lt;sub&gt;''n''&lt;/sub&gt;, where ''n'' is the order (which can be ∞). For example, ''g''&lt;sup&gt;2&lt;/sup&gt;''g''&lt;sup&gt;4&lt;/sup&gt; = ''g''&lt;sup&gt;1&lt;/sup&gt; in ''C''&lt;sub&gt;5&lt;/sub&gt;, whereas 2 + 4 = 1 in '''Z'''/5'''Z'''.<br /> <br /> ==Properties==<br /> <br /> The [[fundamental theorem of cyclic groups]] states that if ''G'' is a cyclic group of order ''n'' then every [[subgroup]] of ''G'' is cyclic. Moreover, the order of any subgroup of ''G'' is a divisor of ''n'' and for each positive divisor ''k'' of ''n'' the group ''G'' has exactly one subgroup of order ''k''. This property characterizes finite cyclic groups: a group of order ''n'' is cyclic if and only if for every divisor ''d'' of ''n'' the group has at most one subgroup of order ''d''. Sometimes the refined statement is used: a group of order ''n'' is cyclic if and only if for every divisor ''d'' of ''n'' the group has exactly one subgroup of order ''d''.<br /> <br /> Every finite cyclic group is [[Isomorphism|isomorphic]] to the group { [0], [1], [2], ..., [''n'' − 1] } of integers modulo ''n'' under addition, and any infinite cyclic group is isomorphic to '''Z''' (the set of all integers) under addition. Thus, one only needs to look at such groups to understand the properties of cyclic groups in general. Hence, cyclic groups are one of the simplest groups to study and a number of nice properties are known.<br /> <br /> Given a cyclic group ''G'' of order ''n'' (''n'' may be infinity) and for every ''g'' in ''G'',<br /> * G is [[abelian group|abelian]]; that is, their group operation is commutative: ''gh'' = ''hg'' (for all ''g'' and ''h'' in ''G''). This is so since ''r'' + ''s'' ≡ ''s'' + ''r'' (mod ''n'').<br /> * If ''n'' is finite, then ''g''&lt;sup&gt;''n''&lt;/sup&gt; = ''g''&lt;sup&gt;0&lt;/sup&gt; is the identity element of the group, since ''kn'' ≡ 0 (mod ''n'') for any integer ''k''.<br /> * If ''n'' = ∞, then there are exactly two elements that each generate the group: namely 1 and −1 for '''Z'''.<br /> * If ''n'' is finite, then there are exactly φ(''n'') elements that generate the group on their own, where φ is the [[Euler totient function]].<br /> * Every subgroup of ''G'' is cyclic. Indeed, each finite subgroup of ''G'' is a group of { 0, 1, 2, 3, ..., ''m'' &amp;minus; 1 } with addition modulo ''m''. And each infinite subgroup of ''G'' is ''m'''''Z''' for some ''m'', which is bijective to (so isomorphic to) '''Z'''.<br /> * ''C''&lt;sub&gt;''n''&lt;/sub&gt; is isomorphic to '''Z'''/''n'''''Z''' ([[factor group]] of '''Z''' over ''n'''''Z''') since '''Z'''/''n'''''Z''' = {0 + ''n'''''Z''', 1 + ''n'''''Z''', 2 + ''n'''''Z''', 3 + ''n'''''Z''', 4 + ''n'''''Z''', ..., ''n'' − 1 + ''n'''''Z'''} ≅ { 0, 1, 2, 3, 4, ..., ''n'' &amp;minus; 1 } under addition modulo ''n''.<br /> <br /> More generally, if ''d'' is a [[divisor]] of ''n'', then the number of elements in '''Z'''/''n'' which have order ''d'' is φ(''d''). The order of the residue class of ''m'' is ''n'' / [[greatest common divisor|gcd]](''n'',''m'').<br /> <br /> If ''p'' is a [[prime number]], then the only group ([[up to]] [[group isomorphism|isomorphism]]) with ''p'' elements is the cyclic group ''C''&lt;sub&gt;''p''&lt;/sub&gt; or '''Z'''/''p'''''Z'''. There are more numbers with the same property, see [[cyclic number (group theory)|cyclic number]].<br /> <br /> The [[direct product of groups|direct product]] of two cyclic groups '''Z'''/''n'''''Z''' and '''Z'''/''m'''''Z''' is cyclic if and only if ''n'' and ''m'' are [[coprime]]. Thus e.g. '''Z'''/12'''Z''' is the direct product of '''Z'''/3'''Z''' and '''Z'''/4'''Z''', but not the direct product of '''Z'''/6'''Z''' and '''Z'''/2'''Z'''.<br /> <br /> The definition immediately implies that cyclic groups have [[presentation of a group|group presentation]] ''C''&lt;sub&gt;∞&lt;/sub&gt; = &amp;lt; ''x'' | &amp;gt; and ''C''&lt;sub&gt;''n''&lt;/sub&gt; = &amp;lt; ''x'' | ''x''&lt;sup&gt;''n''&lt;/sup&gt; &amp;gt; for finite ''n''.<br /> <br /> A [[primary cyclic group]] is a group of the form '''Z'''/''p''&lt;sup&gt;''k''&lt;/sup&gt;'''Z''' where ''p'' is a [[prime number]]. The [[fundamental theorem of finitely generated abelian groups|fundamental theorem of abelian groups]] states that every [[finitely generated abelian group]] is the direct product of finitely many finite primary cyclic and infinite cyclic groups.<br /> <br /> '''Z'''/''n'''''Z''' and '''Z''' are also [[commutative ring]]s. If ''p'' is a prime, then '''Z'''/''p'''''Z''' is a [[finite field]], also denoted by '''F'''&lt;sub&gt;''p''&lt;/sub&gt; or '''GF'''(''p''). Every field with ''p'' elements is [[isomorphism|isomorphic]] to this one.<br /> <br /> The [[Unit (ring theory)|units]] of the ring '''Z'''/''n'''''Z''' are the numbers [[coprime]] to ''n''. They form a [[Multiplicative group of integers modulo n|group under multiplication modulo ''n'']] with φ(''n'') elements (see above). It is written as ('''Z'''/''n'''''Z''')&lt;sup&gt;×&lt;/sup&gt;.<br /> For example, when ''n'' = 6, we get ('''Z'''/''n'''''Z''')&lt;sup&gt;×&lt;/sup&gt; = {1,5}.<br /> When ''n'' = 8, we get ('''Z'''/''n'''''Z''')&lt;sup&gt;×&lt;/sup&gt; = {1,3,5,7}.<br /> <br /> In fact, it is known that ('''Z'''/''n'''''Z''')&lt;sup&gt;×&lt;/sup&gt; is cyclic if and only if ''n'' is 1 or 2 or 4 or ''p''&lt;sup&gt;''k''&lt;/sup&gt; or 2 ''p''&lt;sup&gt;''k''&lt;/sup&gt; for an [[odd number|odd]] [[prime number]] ''p'' and ''k'' ≥ 1, in which case every generator of ('''Z'''/''n'''''Z''')&lt;sup&gt;×&lt;/sup&gt; is called a [[primitive root modulo n|primitive root modulo ''n'']]. Thus, ('''Z'''/''n'''''Z''')&lt;sup&gt;×&lt;/sup&gt; is cyclic for ''n'' = 6, but not for ''n'' = 8, where it is instead isomorphic to the [[Klein four-group]].<br /> <br /> The group ('''Z'''/''p'''''Z''')&lt;sup&gt;×&lt;/sup&gt; is cyclic with ''p''&amp;nbsp;−&amp;nbsp;1 elements for every prime ''p'', and is also written ('''Z'''/''p'''''Z''')&lt;sup&gt;*&lt;/sup&gt; because it consists of the non-zero elements. More generally, every ''finite'' [[subgroup]] of the multiplicative group of any [[field (mathematics)|field]] is cyclic.<br /> <br /> Let ''G'' be a finite group. Then ''G'' is a cyclic group if, for each ''n'' &gt; 0, ''G'' contains at most ''n'' elements of order dividing ''n''.{{fact|date=August 2012}} For example, it follows immediately from this that the multiplicative group of a finite field is cyclic.<br /> <br /> ==Examples==<br /> In 2D and 3D the [[symmetry group]] for ''n''-fold [[rotational symmetry]] is ''C''&lt;sub&gt;''n''&lt;/sub&gt;, of abstract group type Z&lt;sub&gt;n&lt;/sub&gt;. In 3D there are also other symmetry groups which are algebraically the same, see [[Point groups in three dimensions#Cyclic 3D symmetry groups|''Symmetry groups in 3D that are cyclic as abstract group'']].<br /> <br /> Note that the group ''S''&lt;sup&gt;1&lt;/sup&gt; of all rotations of a [[circle]] (the [[circle group]]) is ''not'' cyclic, since it is not even [[countable]].<br /> <br /> The ''n''&lt;sup&gt;th&lt;/sup&gt; [[root of unity|roots of unity]] form a cyclic group of order ''n'' under multiplication. e.g., {{nowrap|1=0 = ''z''&lt;sup&gt;3&lt;/sup&gt; − 1 = (''z'' − ''s''&lt;sup&gt;0&lt;/sup&gt;)(''z'' − ''s''&lt;sup&gt;1&lt;/sup&gt;)(''z'' − ''s''&lt;sup&gt;2&lt;/sup&gt;)}} where {{nowrap|1=''s'' = ''e''&lt;sup&gt;2π''i''/3&lt;/sup&gt;}} and a group of {''s''&lt;sup&gt;0&lt;/sup&gt;, ''s''&lt;sup&gt;1&lt;/sup&gt;, ''s''&lt;sup&gt;2&lt;/sup&gt;} under multiplication is cyclic.<br /> <br /> The [[Galois group]] of every finite [[field extension]] of a [[finite field]] is finite and cyclic; conversely, given a finite field ''F'' and a finite cyclic group ''G'', there is a finite field extension of ''F'' whose Galois group is ''G''.<br /> <br /> ==Representation==<br /> <br /> The [[cycle graph (group)|cycle graphs]] of finite cyclic groups are all ''n''-sided regular polygons with the elements at the vertices. The dark vertex in the cycle graphs below stand for the identity element, and the other vertices are the other elements of the group. A cycle consists of successive powers of either of the elements connected to the identity element.<br /> <br /> &lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; align=center&gt;<br /> &lt;tr&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC1.png|center]]&lt;/th&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC2.png|center]]&lt;/th&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC3.png|center]]&lt;/th&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC4.png|center]]&lt;/th&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC5.png|center]]&lt;/th&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC6.png|center]]&lt;/th&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC7.png|center]]&lt;/th&gt;<br /> &lt;th&gt;[[File:GroupDiagramMiniC8.png|center]]&lt;/th&gt;<br /> &lt;/tr&gt;<br /> &lt;tr align=&quot;center&quot;&gt;<br /> &lt;td&gt;C&lt;sub&gt;1&lt;/sub&gt;&lt;/td&gt;<br /> &lt;td&gt;C&lt;sub&gt;2&lt;/sub&gt;&lt;/td&gt;<br /> &lt;td&gt;C&lt;sub&gt;3&lt;/sub&gt;&lt;/td&gt;<br /> &lt;td&gt;C&lt;sub&gt;4&lt;/sub&gt;&lt;/td&gt;<br /> &lt;td&gt;C&lt;sub&gt;5&lt;/sub&gt;&lt;/td&gt;<br /> &lt;td&gt;C&lt;sub&gt;6&lt;/sub&gt;&lt;/td&gt;<br /> &lt;td&gt;C&lt;sub&gt;7&lt;/sub&gt;&lt;/td&gt;<br /> &lt;td&gt;C&lt;sub&gt;8&lt;/sub&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> <br /> The [[Representation theory of finite groups|representation theory]] of the cyclic group is a critical base case for the representation theory of more general finite groups. In the [[character theory|complex case]], a representation of a cyclic group decomposes into a direct sum of linear characters, making the connection between character theory and representation theory transparent. In the [[modular representation theory|positive characteristic case]], the indecomposable representations of the cyclic group form a model and inductive basis for the representation theory of groups with cyclic [[Sylow subgroup]]s and more generally the representation theory of blocks of cyclic defect.<br /> <br /> ==Subgroups and notation==<br /> <br /> All [[subgroup]]s and [[quotient group]]s of cyclic groups are cyclic. Specifically, all subgroups of '''Z''' are of the form ''m'''''Z''', with ''m'' an integer ≥0. All of these subgroups are different, and apart from the trivial group (for ''m''=0) all are [[isomorphic]] to '''Z'''. The [[lattice of subgroups]] of '''Z''' is isomorphic to the [[Duality (order theory)|dual]] of the lattice of natural numbers ordered by [[divisibility]]. All factor groups of '''Z''' are finite, except for the trivial exception '''Z'''/{0} = '''Z'''/0'''Z'''. For every positive divisor ''d'' of ''n'', the quotient group '''Z'''/''n'''''Z''' has precisely one subgroup of order ''d'', the one generated by the residue class of ''n''/''d''. There are no other subgroups. The lattice of subgroups is thus isomorphic to the set of divisors of ''n'', ordered by divisibility. In particular, a cyclic group is [[simple group|simple]] if and only if its order (the number of its elements) is prime.&lt;ref&gt;Gannon (2006), {{Google books quote|id=ehrUt21SnsoC|page=18|text=Zn is simple iff n is prime|p. 18}}&lt;/ref&gt;<br /> <br /> Using the quotient group formalism, '''Z'''/''n'''''Z''' is a standard notation for the additive cyclic group with ''n'' elements. In [[Ring (mathematics)|ring]] terminology, the subgroup ''n'''''Z''' is also the [[ideal (ring theory)|ideal]] (''n''), so the quotient can also be written '''Z'''/(''n'') or '''Z'''/''n'' without abuse of notation. These alternatives do not conflict with the notation for the ''p''-adic integers. The last form is very common in informal calculations; it has the additional advantage that it reads the same way that the group or ring is often described verbally in English, &quot;Zee mod en&quot;.<br /> <br /> ==Endomorphisms==<br /> <br /> The [[endomorphism ring]] of the abelian group '''Z'''/''n'''''Z''' is [[ring homomorphism|isomorphic]] to '''Z'''/''n'''''Z''' itself as a [[ring (algebra)|ring]]. Under this isomorphism, the number ''r'' corresponds to the endomorphism of '''Z'''/''n'''''Z''' that maps each element to the sum of ''r'' copies of it. This is a bijection if and only if ''r'' is coprime with ''n'', so the [[automorphism group]] of '''Z'''/''n'''''Z''' is isomorphic to the unit group ('''Z'''/''n'''''Z''')&lt;sup&gt;&amp;times;&lt;/sup&gt; (see above).<br /> <br /> Similarly, the endomorphism ring of the additive group '''Z''' is isomorphic to the ring '''Z'''. Its automorphism group is isomorphic to the group of units of the ring '''Z''', i.e. to {&amp;minus;1, +1} &lt;math&gt; \cong&lt;/math&gt; ''C''&lt;sub&gt;2&lt;/sub&gt;.<br /> <br /> ==Virtually cyclic groups==<br /> <br /> A group is called '''virtually cyclic''' if it contains a cyclic subgroup of finite [[index (group theory)|index]] (the number of [[coset]]s that the subgroup has).<br /> In other words, any element in a virtually cyclic group can be arrived at by applying a member of the cyclic subgroup to a member in a certain finite set.<br /> Every cyclic group is virtually cyclic, as is every finite group.<br /> It is known that a finitely generated [[discrete group]] with exactly two ''[[end (topology)|ends]]'' is virtually cyclic (for instance the [[direct product of groups|product]] of '''Z'''/''n'' and '''Z'''). Every abelian subgroup of a [[hyperbolic group|Gromov hyperbolic group]] is virtually cyclic.<br /> <br /> ==See also==<br /> *[[Cyclic extension]]<br /> *[[Cyclic module]]<br /> *[[Cyclically ordered group]]<br /> *[[Locally cyclic group]], a group in which each finitely generated subgroup is cyclic<br /> *[[Modular arithmetic]]<br /> <br /> ==Notes==<br /> {{Reflist}}<br /> <br /> ==References==<br /> *{{Citation | last1=Gallian | first1=Joseph | title=Contemporary abstract algebra | publisher=Houghton Mifflin | location=Boston | edition=4th | isbn=978-0-669-86179-2 | year=1998 }}, especially chapter 4.<br /> *{{Citation | last1=Herstein | first1=I. N. | title=Abstract algebra | publisher=[[Prentice Hall]] | edition=3rd | isbn=978-0-13-374562-7 | mr=1375019 | year=1996 }}, especially pages 53–60.<br /> *{{Citation |last1=Gannon |first1=Terry |authorlink1= |last2= |first2= |authorlink2= |title=Moonshine beyond the monster: the bridge connecting algebra, modular forms and physics |url= |edition= |series=Cambridge monographs on mathematical physics |volume= |year=2006 |publisher=Cambridge University Press |location= |isbn=978-0-521-83531-2 }}<br /> *Milne, Group theory, http://www.jmilne.org/math/CourseNotes/gt.html<br /> <br /> ==External links==<br /> * {{springer|title=Cyclic group|id=p/c027510}}<br /> * [http://members.tripod.com/~dogschool/cyclic.html An introduction to cyclic groups]<br /> <br /> ==Further reading==<br /> *{{Citation |last=Lajoie |first=Caroline |last2=Mura |first2=Roberta |date=November 2000 |title=What's in a Name? A Learning Difficulty in Connection with Cyclic Groups |journal=For the Learning of Mathematics |volume=20 |issue=3 |pages=29–33 |jstor=40248334}}<br /> <br /> {{DEFAULTSORT:Cyclic Group}}<br /> [[Category:Abelian group theory]]<br /> [[Category:Finite groups]]<br /> [[Category:Properties of groups]]<br /> <br /> [[ar:زمرة دائرية]]<br /> [[ca:Grup cíclic]]<br /> [[cs:Cyklická grupa]]<br /> [[de:Zyklische Gruppe]]<br /> [[es:Grupo cíclico]]<br /> [[eo:Cikla grupo]]<br /> [[fr:Groupe cyclique]]<br /> [[ko:순환군]]<br /> [[it:Gruppo ciclico]]<br /> [[he:חבורה ציקלית]]<br /> [[hu:Ciklikus csoport]]<br /> [[nl:Cyclische groep]]<br /> [[ja:巡回群]]<br /> [[ml:ചാക്രികഗ്രൂപ്പ്]]<br /> [[pl:Grupa cykliczna]]<br /> [[pt:Grupo cíclico]]<br /> [[ru:Циклическая группа]]<br /> [[sr:Циклична група]]<br /> [[sh:Ciklična grupa]]<br /> [[fi:Syklinen ryhmä]]<br /> [[sv:Cyklisk grupp]]<br /> [[ta:சுழற் குலம்]]<br /> [[uk:Циклічна група]]<br /> [[vi:Nhóm cyclic]]<br /> [[zh:循環群]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Filter_(mathematics)&diff=524622935 Filter (mathematics) 2012-11-24T09:31:09Z <p>Magmalex: added &quot;partially&quot;</p> <hr /> <div>[[Image:Upset.svg|thumb|The powerset algebra of the set &lt;math&gt;\{1,2,3,4\}&lt;/math&gt; with the upset &lt;math&gt;\uparrow\!\{1\}&lt;/math&gt; colored green. The green elements make a ''principal ultrafilter'' on the lattice.]]<br /> In [[mathematics]], a '''filter''' is a special [[subset]] of a [[partially ordered set]]. A frequently used special case is the situation that the partially ordered set under consideration is just the [[power set]] of some set, ordered by set inclusion. Filters appear in [[order theory|order]] and [[lattice theory]], but can also be found in [[topology]] whence they originate. The [[duality (order theory)|dual]] notion of a filter is an [[ideal (order theory)|ideal]].<br /> <br /> Filters were introduced by [[Henri Cartan]] in 1937&lt;ref&gt;H. Cartan, &quot;Théorie des filtres&quot;. ''CR Acad. Paris'', '''205''', (1937) 595–598.&lt;/ref&gt;&lt;ref&gt;H. Cartan, &quot;Filtres et ultrafiltres&quot; ''CR Acad. Paris'', '''205''', (1937) 777–779.&lt;/ref&gt; and subsequently used by [[Bourbaki]] in their book ''[[Topologie Générale]]'' as an alternative to the similar notion of a [[net (topology)|net]] developed in 1922 by [[E. H. Moore]] and [[H. L. Smith]].<br /> <br /> == General definition ==<br /> A [[non-empty]] subset ''F'' of a partially ordered set (''P'',≤) is a '''filter''' if the following conditions hold:<br /> <br /> # For every ''x'', ''y'' in ''F'', there is some element ''z'' in ''F'' such that ''z''&amp;nbsp;≤&amp;nbsp;''x'' and ''z''&amp;nbsp;≤&amp;nbsp;''y''. (''F'' is a '''filter base''')<br /> # For every ''x'' in ''F'' and ''y'' in ''P'', ''x''&amp;nbsp;≤&amp;nbsp;''y'' implies that ''y'' is in ''F''. (''F'' is an ''[[upper set]]'')<br /> # A filter is '''proper''' if it is not equal to the whole set ''P''. This is sometimes omitted from the definition of a filter.<br /> <br /> While the above definition is the most general way to define a filter for arbitrary [[Partially ordered set|posets]], it was originally defined for [[lattice (order)|lattice]]s only. In this case, the above definition can be characterized by the following equivalent statement:<br /> A non-empty subset ''F'' of a lattice (''P'',≤) is a filter, [[if and only if]] it is an upper set that is closed under finite meets ([[infimum|infima]]), i.e., for all ''x'', ''y'' in ''F'', we find that ''x'' ∧ ''y'' is also in ''F''.<br /> <br /> The smallest filter that contains a given element ''p'' is a '''principal filter''' and ''p'' is a '''principal element''' in this situation. The principal filter for ''p'' is just given by the set {''x'' in ''P''&amp;nbsp;|&amp;nbsp;''p''&amp;nbsp;≤&amp;nbsp;''x''} and is denoted by prefixing ''p'' with an upward arrow: &lt;math&gt;\uparrow p&lt;/math&gt;.<br /> <br /> The dual notion of a filter, i.e. the concept obtained by reversing all ≤ and exchanging ∧ with ∨, is '''ideal'''. Because of this duality, the discussion of filters usually boils down to the discussion of ideals. Hence, most additional information on this topic (including the definition of '''maximal filters''' and '''prime filters''') is to be found in the article on [[ideal (order theory)|ideals]]. There is a separate article on [[ultrafilter]]s.<br /> <br /> == Filter on a set ==<br /> A special case of a filter is a filter defined on a set. Given a set ''S'', a partial ordering ⊆ can be defined on the [[powerset]] '''P'''(''S'') by subset inclusion, turning ('''P'''(''S''),⊆) into a lattice. Define a '''filter''' ''F'' on ''S'' as a subset of '''P'''(''S'') with the following properties:<br /> <br /> # ''S'' is in ''F''. (''F is non-empty'')<br /> # The empty set is not in ''F''. (''F is proper'')<br /> # If ''A'' and ''B'' are in ''F'', then so is their intersection. (''F is closed under finite meets'')<br /> # If ''A'' is in ''F'' and ''A'' is a subset of ''B'', then ''B'' is in ''F'', for all subsets ''B'' of ''S''. (''F is an upper set'')<br /> <br /> The first three properties imply that a '''filter on a set''' has the [[finite intersection property]]. Note that with this definition, a filter on a set is indeed a filter; in fact, it is a proper filter. Because of this, sometimes this is called a '''proper filter on a set'''; however, as long as the set context is clear, the shorter name is sufficient.<br /> <br /> A '''filter base''' (or '''filter basis''') is a subset ''B'' of '''P'''(''S'') with the following properties:<br /> # The intersection of any two sets of ''B'' contains a set of ''B''<br /> # ''B'' is non-empty and the empty set is not in ''B''<br /> <br /> Given a filter base ''B'', one may obtain a (proper) filter by including all sets of '''P'''(''S'') which contain a set of ''B''. The resulting filter is said to be generated by or spanned by filter base ''B''. Every filter is also a filter <br /> base, so the process of passing from filter base to filter may <br /> be viewed as a sort of completion.<br /> <br /> If ''B'' and ''C'' are two filter bases on ''S'', one says ''C'' is '''finer''' than ''B'' (or that ''C'' is a '''refinement''' of ''B'') if for each ''B''&lt;sub&gt;0&lt;/sub&gt; ∈ ''B'', there is a ''C''&lt;sub&gt;0&lt;/sub&gt; ∈ ''C'' such that ''C''&lt;sub&gt;0&lt;/sub&gt; ⊆ ''B''&lt;sub&gt;0&lt;/sub&gt;.<br /> * For filter bases ''B'' and ''C'', if ''B'' is finer than ''C'' and ''C'' is finer than ''B'', then ''B'' and ''C'' are said to be '''equivalent filter bases'''. Two filter bases are equivalent if and only if the filters they generate are equal.<br /> * For filter bases ''A'', ''B'', and ''C'', if ''A'' is finer than ''B'' and ''B'' is finer than ''C'' then ''A'' is finer than ''C''. Thus the refinement relation is a [[preorder]] on the set of filter bases, and the passage from filter base to filter is an instance of passing from a preordering to the associated partial ordering.<br /> <br /> Given a subset ''T'' of '''P'''(''S'') we can ask whether there exists a smallest filter ''F'' containing ''T''. Such a filter exists if and only if the finite intersection of subsets of ''T'' is non-empty. We call ''T'' a '''subbase''' of ''F'' and say ''F'' is '''generated''' by ''T''. ''F'' can be constructed by taking all finite intersections of ''T'' which is then filter base for ''F''.<br /> <br /> === Examples ===<br /> * Let ''S'' be a nonempty set and ''C'' be a nonempty subset. Then &lt;math&gt;\{ C \}&lt;/math&gt; is a filter base. The filter it generates (i.e., the collection of all subsets containing ''C'') is called the '''principal filter''' generated by ''C''.<br /> <br /> * A filter is said to be a '''free filter''' if the intersection of all of its members is empty. A principal filter is not free. Since the intersection of any finite number of members of a filter is also a member, no filter on a finite set is free, and indeed is the principal filter generated by the common intersection of all of its members. A nonprincipal filter on an infinite set is not necessarily free.<br /> <br /> * The [[Fréchet filter]] on an infinite set ''S'' is the set of all subsets of ''S'' that have finite complement. The Fréchet filter is free, and it is contained in every free filter on ''S''.<br /> <br /> * Every [[uniform structure]] on a set ''X'' is a filter on ''X''&amp;times;''X''.<br /> <br /> * A filter in a [[poset]] can be created using the [[Rasiowa-Sikorski lemma]], often used in [[forcing (mathematics)|forcing]].<br /> <br /> * The set &lt;math&gt;\{ \{ N, N+1, N+2, \dots \} : N \in \{1,2,3,\dots\} \}&lt;/math&gt; is called a ''filter base of tails'' of the sequence of natural numbers &lt;math&gt;(1,2,3,\dots)&lt;/math&gt;. A filter base of tails can be made of any [[net (mathematics)|net]] &lt;math&gt;(x_\alpha)_{\alpha \in A}&lt;/math&gt; using the construction &lt;math&gt;\{ \{ x_\alpha : \alpha \in A, \alpha_0 \leq a \} : \alpha_0 \in A \}\,&lt;/math&gt;. Therefore, all nets generate a filter base (and therefore a filter). Since all sequences are nets, this holds for sequences as well.<br /> <br /> === Filters in model theory ===<br /> For any filter ''F'' on a set ''S'', the set function defined by<br /> :&lt;math&gt;<br /> m(A)=<br /> \begin{cases}<br /> 1 &amp; \text{if }A\in F \\<br /> 0 &amp; \text{if }S\setminus A\in F \\<br /> \text{undefined} &amp; \text{otherwise}<br /> \end{cases}<br /> &lt;/math&gt;<br /> is finitely additive — a &quot;[[measure (mathematics)|measure]]&quot; if that term is construed rather loosely. Therefore the statement<br /> <br /> :&lt;math&gt;\left\{\,x\in S: \varphi(x)\,\right\}\in F&lt;/math&gt;<br /> <br /> can be considered somewhat analogous to the statement that φ holds &quot;almost everywhere&quot;. That interpretation of membership in a filter is used (for motivation, although it is not needed for actual ''proofs'') in the theory of [[ultraproduct]]s in [[model theory]], a branch of [[mathematical logic]].<br /> <br /> === Filters in topology ===<br /> In [[topology]] and analysis, filters are used to define convergence in a manner similar to the role of [[sequence]]s in a [[metric space]].<br /> <br /> In topology and related areas of mathematics, a filter is a generalization of a [[net (mathematics)|net]]. Both nets and filters provide very general contexts to unify the various notions of [[Limit (mathematics)|limit]] to arbitrary [[topological space]]s. <br /> <br /> A [[sequence]] is usually indexed by the [[natural numbers]], which are a [[totally ordered set]]. Thus, limits in [[first-countable space]]s can be described by sequences. However, if the space is not first-countable, nets or filters must be used. Nets generalize the notion of a sequence by requiring the index set simply be a [[directed set]]. Filters can be thought of as sets built from multiple nets. Therefore, both the limit of a filter and the limit of a net are conceptually the same as the limit of a sequence.&lt;!--An advantage to using filters is that many results can be shown without using the [[axiom of choice]].<br /> <br /> This sentence is very misleading. Whenever invoking the ultrafilter lemma, you are essentially using the axiom of choice (if my understanding is correct.) Besides, regardless of the use of filter, you can't avoid ac to prove, say, Tychonoff's theorem. TakuyaMurata --&gt;<br /> <br /> ====Neighbourhood bases====<br /> <br /> Let ''X'' be a topological space and ''x'' a point of ''X''.<br /> <br /> * Take ''N''&lt;sub&gt;''x''&lt;/sub&gt; to be the '''[[Neighbourhood system|neighbourhood filter]]''' at point ''x'' for ''X''. This means that ''N''&lt;sub&gt;''x''&lt;/sub&gt; is the set of all topological [[neighbourhood (mathematics)|neighbourhood]]s of the point ''x''. It can be verified that ''N''&lt;sub&gt;''x''&lt;/sub&gt; is a filter. A '''neighbourhood system''' is another name for a '''neighbourhood filter'''.<br /> <br /> * To say that ''N'' is a '''neighbourhood base''' at ''x'' for ''X'' means that each subset ''V''&lt;sub&gt;0&lt;/sub&gt; of X is a neighbourhood of ''x'' if and only if there exists ''N''&lt;sub&gt;0&lt;/sub&gt; ∈ ''N'' such that ''N''&lt;sub&gt;0&lt;/sub&gt; ⊆ ''V''&lt;sub&gt;0&lt;/sub&gt;. Note that every neighbourhood base at ''x'' is a filter base that generates the neighbourhood filter at ''x''.<br /> <br /> ====Convergent filter bases====<br /> <br /> Let ''X'' be a topological space and ''x'' a point of ''X''.<br /> <br /> * To say that a filter base ''B'' '''converges''' to ''x'', denoted ''B'' → ''x'', means that for every neighbourhood ''U'' of ''x'', there is a ''B''&lt;sub&gt;0&lt;/sub&gt; ∈ ''B'' such that ''B''&lt;sub&gt;0&lt;/sub&gt; ⊆ ''U''. In this case, ''x'' is called a [[Limit (mathematics)|limit]] of ''B'' and ''B'' is called a '''convergent filter base'''.<br /> <br /> * For every neighbourhood base ''N'' of ''x'', ''N'' → ''x''.<br /> ** If ''N'' is a neighbourhood base at ''x'' and ''C'' is a filter base on ''X'', then ''C'' → ''x'' [[if and only if]] ''C'' is finer than ''N''.<br /> ** For ''Y'' ⊆ ''X'', to say that ''p'' is a limit point of ''Y'' in ''X'' means that for each neighborhood ''U'' of ''p'' in ''X'', ''U''∩(''Y'' &amp;minus; {''p''})≠∅.<br /> ** For ''Y'' ⊆ ''X'', ''p'' is a limit point of ''Y'' in ''X'' if and only if there exists a filter base ''B'' on ''Y'' &amp;minus; {''p''} such that ''B'' → ''p''.<br /> * For ''Y'' ⊆ ''X'', the following are equivalent:<br /> ** (i) There exists a filter base ''F'' whose elements are all contained in ''Y'' such that ''F'' → ''x''.<br /> ** (ii) There exists a filter ''F'' such that ''Y'' is an element of ''F'' and ''F'' → ''x''.<br /> ** (iii) The point ''x'' lies in the closure of ''Y''.<br /> <br /> Indeed:<br /> <br /> (i) implies (ii): if ''F'' is a filter base satisfying the properties of (i), then the filter associated to ''F'' satisfies the properties of (ii).<br /> <br /> (ii) implies (iii): if ''U'' is any open neighborhood of ''x'' then by the definition of convergence ''U'' is an element of ''F''; since also ''Y'' is an element of ''F'', <br /> ''U'' and ''Y'' have nonempty intersection. <br /> <br /> (iii) implies (i): Define &lt;math&gt; F = \{ U \cap Y \ | \ U \in N_x \}&lt;/math&gt;. Then ''F'' is a filter base satisfying the properties of (i).<br /> <br /> ====Clustering====<br /> <br /> Let ''X'' be a topological space and ''x'' a point of ''X''.<br /> <br /> * To say that ''x'' is a [[cluster point]] for a filter base ''B'' on ''X'' means that for each ''B''&lt;sub&gt;0&lt;/sub&gt; ∈ ''B'' and for each neighbourhood ''U'' of ''x'' in ''X'', ''B''&lt;sub&gt;0&lt;/sub&gt;∩''U''≠∅. In this case, ''B'' is said to '''cluster''' at point ''x''.<br /> ** For filter bases ''B'' and ''C'' such that ''C'' is finer than ''B'' and ''C'' clusters at point ''x'', ''B'' clusters at ''x'', too.<br /> ** For filter base ''B'' such that ''B'' → ''x'', the limit ''x'' is a cluster point.<br /> ** For filter base ''B'' with cluster point ''x'', it is '''not''' the case that ''x'' is necessarily a limit.<br /> ** For a filter base ''B'' that clusters at point ''x'', there is a filter base ''C'' that is finer than filter base ''B'' that converges to ''x''.<br /> ** For a filter base ''B'', the set ∩{cl(''B''&lt;sub&gt;0&lt;/sub&gt;) : ''B''&lt;sub&gt;0&lt;/sub&gt;∈''B''} is the set of all cluster points of ''B'' (note: cl(''B''&lt;sub&gt;0&lt;/sub&gt;) is the [[closure (topology)|closure]] of ''B''&lt;sub&gt;0&lt;/sub&gt;). Assume that ''T'' is a [[partially ordered set]].<br /> *** The [[limit inferior]] of ''B'' is the [[infimum]] of the set of all cluster points of ''B''.<br /> *** The [[limit superior]] of ''B'' is the [[supremum]] of the set of all cluster points of ''B''.<br /> *** ''B'' is a convergent filter base [[if and only if]] its limit inferior and limit superior agree; in this case, the value on which they agree is the limit of the filter base.<br /> <br /> ====Properties of a topological space====<br /> <br /> Let ''X'' be a topological space. <br /> <br /> * ''X'' is a [[Hausdorff space]] [[if and only if]] every filter base on ''X'' has at most one limit.<br /> * ''X'' is [[Compact space|compact]] if and only if every filter base on ''X'' clusters.<br /> * ''X'' is compact if and only if every filter base on ''X'' is a subset of a convergent filter base.<br /> * ''X'' is compact if and only if every [[ultrafilter]] on ''X'' converges.<br /> <br /> ====Functions on topological spaces====<br /> <br /> Let ''X'', ''Y'' be topological spaces. Let ''B'' be a filter base on ''X'' and &lt;math&gt;f\colon X \to Y&lt;/math&gt; be a function. The [[Image (mathematics)|image]] of ''B'' under ''f'' is ''f''[''B''] is the set &lt;math&gt;\{ f(x) : x \in B \}&lt;/math&gt;. The image ''f''[''B''] forms a filter base on ''Y''.<br /> * ''f'' is [[Continuous function (topology)|continuous]] at ''x'' if and only if &lt;math&gt;B \to x&lt;/math&gt; implies &lt;math&gt;f[B] \to f(x)&lt;/math&gt;.<br /> <br /> ==== Cauchy filters ====<br /> <br /> Let &lt;math&gt;(X,d)&lt;/math&gt; be a [[metric space]].<br /> * To say that a filter base ''B'' on ''X'' is '''Cauchy''' means that for each [[real number]] ε&gt;0, there is a ''B''&lt;sub&gt;0&lt;/sub&gt; ∈ ''B'' such that the metric [[diameter]] of ''B''&lt;sub&gt;0&lt;/sub&gt; is less than ε.<br /> * Take (''x&lt;sub&gt;n&lt;/sub&gt;'') to be a [[sequence]] in metric space ''X''. (''x&lt;sub&gt;n&lt;/sub&gt;'') is a [[Cauchy sequence]] if and only if the filter base {{''x&lt;sub&gt;N&lt;/sub&gt;,x&lt;sub&gt;N''+1&lt;/sub&gt;,...} : ''N'' ∈ {1,2,3,...} } is Cauchy.<br /> <br /> More generally, given a [[uniform space]] ''X'', a filter ''F'' on ''X'' is called '''Cauchy filter''' if for every [[entourage (topology)|entourage]] ''U'' there is an ''A'' ∈ ''F'' with (''x,y'') ∈ ''U'' for all ''x,y'' ∈ ''A''. In a metric space this agrees with the previous definition. ''X'' is said to be complete if every Cauchy filter converges. Conversely, on a uniform space every convergent filter is a Cauchy filter. Moreover, every cluster point of a Cauchy filter is a limit point.<br /> <br /> A compact uniform space is complete: on a compact space each filter has a cluster point, and if the filter is Cauchy, such a cluster point is a limit point. Further, a uniformity is compact if and only if it is complete and [[totally bounded]].<br /> <br /> Most generally, a [[Cauchy space]] is a set equipped with a class of filters declared to be Cauchy. These are required to have the following properties:<br /> # for each ''x'' in ''X'', the [[ultrafilter]] at ''x'', ''U''(''x''), is Cauchy.<br /> # if ''F'' is a Cauchy filter, and ''F'' is a subset of a filter ''G'', then ''G'' is Cauchy.<br /> # if ''F'' and ''G'' are Cauchy filters and each member of ''F'' intersects each member of ''G'', then ''F'' ∩ ''G'' is Cauchy.<br /> The Cauchy filters on a uniform space have these properties, so every uniform space (hence every metric space) defines a Cauchy space.<br /> <br /> == See also ==<br /> * [[Ultrafilter]]<br /> * [[Filtration (mathematics)]]<br /> * [[Net (mathematics)]]<br /> <br /> == Notes ==<br /> {{reflist}}<br /> <br /> == References ==<br /> *[[Nicolas Bourbaki]], &lt;cite&gt;General Topology&lt;/cite&gt; (&lt;cite&gt;Topologie Générale&lt;/cite&gt;), ISBN 0-387-19374-X (Ch. 1-4): Provides a good reference for filters in general topology (Chapter I) and for Cauchy filters in uniform spaces (Chapter II)<br /> * Stephen Willard, ''General Topology'', (1970) Addison-Wesley Publishing Company, Reading Massachusetts. ''(Provides an introductory review of filters in topology.)''<br /> *David MacIver, ''[http://www.efnet-math.org/~david/mathematics/filters.pdf Filters in Analysis and Topology]'' (2004) ''(Provides an introductory review of filters in topology and in metric spaces.)''<br /> * Burris, Stanley N., and H.P. Sankappanavar, H. P., 1981. ''[http://www.thoralf.uwaterloo.ca/htdocs/ualg.html A Course in Universal Algebra.]'' Springer-Verlag. ISBN 3-540-90578-2.<br /> * [[Victor Porton]]. ''[http://ijpam.eu/contents/2012-74-1/6/6.pdf Filters on Posets and Generalizations]'' (2012). [http://ijpam.eu IJPAM]<br /> <br /> [[Category:Order theory]]<br /> [[Category:General topology]]<br /> <br /> [[cs:Filtr (matematika)]]<br /> [[de:Filter (Mathematik)]]<br /> [[et:Filter (matemaatika)]]<br /> [[es:Filtro (matemáticas)]]<br /> [[fr:Filtre (mathématiques)]]<br /> [[ko:필터 (수학)]]<br /> [[it:Filtro (matematica)]]<br /> [[he:מסנן (תורת הקבוצות)]]<br /> [[nl:Filter (wiskunde)]]<br /> [[ja:フィルター (数学)]]<br /> [[pms:Fìlter]]<br /> [[pl:Filtr (matematyka)]]<br /> [[pt:Filtro (teoria dos conjuntos)]]<br /> [[ru:Фильтр (математика)]]<br /> [[uk:Фільтр (порядок)]]<br /> [[zh:滤子 (数学)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Limit_(category_theory)&diff=524620586 Limit (category theory) 2012-11-24T09:01:02Z <p>Magmalex: /* Limits */</p> <hr /> <div>In [[category theory]], a branch of [[mathematics]], the abstract notion of a '''limit''' captures the essential properties of universal constructions such as [[product (category theory)|products]], [[pullback (category theory)|pullbacks]] and [[inverse limit]]s. The [[duality (category theory)|dual notion]] of a '''colimit''' generalizes constructions such as [[disjoint union]]s, [[direct sum]]s, [[coproduct]]s, [[pushout (category theory)|pushout]]s and [[direct limit]]s.<br /> <br /> Limits and colimits, like the strongly related notions of [[universal property|universal properties]] and [[adjoint functors]], exist at a high level of abstraction. In order to understand them, it is helpful to first study the specific examples these concepts are meant to generalize.<br /> <br /> == Definition ==<br /> Limits and colimits in a [[category (mathematics)|category]] ''C'' are defined by means of diagrams in ''C''. Formally, a '''[[diagram (category theory)|diagram]]''' of type ''J'' in ''C'' is a [[functor]] from ''J'' to ''C'':<br /> :''F'' : ''J'' &amp;rarr; ''C''.<br /> The category ''J'' is thought of as [[index category]], and the diagram ''F'' is thought of as indexing a collection of objects and morphisms in ''C'' patterned on ''J''. The actual objects and morphisms in ''J'' are largely irrelevant&amp;mdash;only the way in which they are interrelated matters.<br /> <br /> One is most often interested in the case where the category ''J'' is a [[small category|small]] or even [[Finite set|finite]] category. A diagram is said to be '''small''' or '''finite''' whenever ''J'' is.<br /> <br /> ===Limits===<br /> Let ''F'' : ''J'' → ''C'' be a diagram of type ''J'' in a category ''C''. A '''[[cone (category theory)|cone]]''' to ''F'' is an object ''N'' of ''C'' together with a family ψ&lt;sub&gt;''X''&lt;/sub&gt; : ''N'' → ''F''(''X'') of morphisms indexed by the objects of ''J'', such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'', we have ''F''(''f'') o ψ&lt;sub&gt;''X''&lt;/sub&gt; = ψ&lt;sub&gt;''Y''&lt;/sub&gt;.<br /> <br /> A '''limit''' of the diagram ''F'' : ''J'' → ''C'' is a cone (''L'', φ) to ''F'' such that for any other cone (''N'', ψ) to ''F'' there exists a ''unique'' morphism ''u'' : ''N'' → ''L'' such that φ&lt;sub&gt;''X''&lt;/sub&gt; o ''u'' = ψ&lt;sub&gt;''X''&lt;/sub&gt; for all ''X'' in ''J''.<br /> [[File:Functor cone (extended).svg|center|A universal cone]]<br /> One says that the cone (''N'', ψ) factors through the cone (''L'', φ) with<br /> the unique factorization ''u''. The morphism ''u'' is sometimes called the '''mediating morphism'''.<br /> <br /> Limits are also referred to as ''[[universal cone]]s'', since they are characterized by a [[universal property]] (see below for more information). As with every universal property, the above definition describes a balanced state of generality: The limit object ''L'' has to be general enough to allow any other cone to factor through it; on the other hand, ''L'' has to be sufficiently specific, so that only ''one'' such factorization is possible for every cone.<br /> <br /> Limits may also be characterized as [[terminal object]]s in the [[category of cones]] to ''F''.<br /> <br /> It is possible that a diagram does not have a limit at all. However, if a diagram does have a limit then this limit is essentially unique: it is unique [[up to]] a unique isomorphism. For this reason one often speaks of ''the'' limit of ''F''.<br /> <br /> ===Colimits===<br /> The [[Dual (category theory)|dual notions]] of limits and cones are colimits and co-cones. Although it is straightforward to obtain the definitions of these by inverting all morphisms in the above definitions, we will explicitly state them here:<br /> <br /> A '''[[co-cone]]''' of a diagram ''F'' : ''J'' → ''C'' is an object ''N'' of ''C'' together with a family of morphisms<br /> :ψ&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''N''<br /> for every object ''X'' of ''J'', such that for every morphism ''f'' : ''X'' → ''Y'' in ''J'', we have ψ&lt;sub&gt;''Y''&lt;/sub&gt; o ''F''(''f'')= ψ&lt;sub&gt;''X''&lt;/sub&gt;.<br /> <br /> A '''colimit''' of a diagram ''F'' : ''J'' → ''C'' is a co-cone (''L'', &lt;math&gt;\phi&lt;/math&gt;) of ''F'' such that for any other co-cone (''N'', ψ) of ''F'' there exists a unique morphism ''u'' : ''L'' → ''N'' such that ''u'' o &lt;math&gt;\phi&lt;/math&gt;&lt;sub&gt;''X''&lt;/sub&gt; = ψ&lt;sub&gt;''X''&lt;/sub&gt; for all ''X'' in ''J''.<br /> <br /> [[File:Functor co-cone (extended).svg|center|A universal co-cone]]<br /> <br /> Colimits are also referred to as ''[[universal co-cone]]s''. They can be characterized as [[initial object]]s in the [[category of co-cones]] from ''F''.<br /> <br /> As with limits, if a diagram ''F'' has a colimit then this colimit is unique up to a unique isomorphism.<br /> <br /> ===Variations===<br /> Limits and colimits can also be defined for collections of objects and morphisms without the use of diagrams. The definitions are the same (note that in definitions above we never needed to use composition of morphisms in ''J''). This variation, however, adds no new information. Any collection of objects and morphisms defines a (possibly large) [[directed graph]] ''G''. If we let ''J'' be the [[free category]] generated by ''G'', there is a universal diagram ''F'' : ''J'' → ''C'' whose image contains ''G''. The limit (or colimit) of this diagram is the same as the limit (or colimit) of the original collection of objects and morphisms.<br /> <br /> '''Weak limit''' and '''weak colimits''' are defined like limits and colimits, except that the uniqueness property of the mediating morphism is dropped.<br /> <br /> ==Examples==<br /> ===Limits===<br /> The definition of limits is general enough to subsume several constructions useful in practical settings. In the following we will consider the limit (''L'', φ) of a diagram ''F'' : ''J'' → ''C''.<br /> *'''[[Terminal object]]s'''. If ''J'' is the empty category there is only one diagram of type ''J'': the empty one (similar to the [[empty function]] in set theory). A cone to the empty diagram is essentially just an object of ''C''. The limit of ''F'' is any object that is uniquely factored through by every other object. This is just the definition of a ''terminal object''.<br /> *'''[[Product (category theory)|Products]]'''. If ''J'' is a [[discrete category]] then a diagram ''F'' is essentially nothing but a [[indexed family|family]] of objects of ''C'', indexed by ''J''. The limit ''L'' of ''F'' is called the ''product'' of these objects. The cone φ consists of a family of morphisms φ&lt;sub&gt;''X''&lt;/sub&gt; : ''L'' → ''F''(''X'') called the ''projections'' of the product. In the [[category of sets]], for instance, the products are given by [[Cartesian product]]s and the projections are just the natural projections onto the various factors.<br /> **'''Powers'''. A special case of a product is when the diagram ''F'' is a constant functor to an object ''X'' of ''C''. The limit of this diagram is called the ''J&lt;sup&gt;th&lt;/sup&gt; power'' of ''X'' and denoted ''X''&lt;sup&gt;''J''&lt;/sup&gt;.<br /> *'''[[Equalizer (mathematics)|Equalizer]]s'''. If ''J'' is a category with two objects and two parallel morphisms from object ''1'' to object ''2'' then a diagram of type ''J'' is a pair of parallel morphisms in ''C''. The limit ''L'' of such a diagram is called an ''equalizer'' of those morphisms.<br /> **'''[[Kernel (category theory)|Kernel]]s'''. A ''kernel'' is a special case of an equalizer where one of the morphisms is a [[zero morphism]].<br /> *'''[[Pullback (category theory)|Pullbacks]]'''. Let ''F'' be a diagram that picks out three objects ''X'', ''Y'', and ''Z'' in ''C'', where the only non-identity morphisms are ''f'' : ''X'' → ''Z'' and ''g'' : ''Y'' → ''Z''. The limit ''L'' of ''F'' is called a ''pullback'' or a ''fiber product''. It can nicely be visualized as a [[commutative diagram|commutative square]]:<br /> [[Image:CategoricalPullback-01.png|center]]<br /> *'''[[Inverse limit]]s'''. Let ''J'' be a [[directed set|directed]] [[poset]] (considered as a small category by adding arrows ''i'' → ''j'' if and only if ''i'' ≤ ''j'') and let ''F'' : ''J''&lt;sup&gt;op&lt;/sup&gt; → ''C'' be a diagram. The limit of ''F'' is called (confusingly) an ''inverse limit'', ''projective limit'', or ''directed limit''.<br /> *If ''J'' = '''1''', the category with a single object and morphism, then a diagram of type ''J'' is essentially just an object ''X'' of ''C''. A cone to an object ''X'' is just a morphism with codomain ''X''. A morphism ''f'' : ''Y'' → ''X'' is a limit of the diagram ''X'' if and only if ''f'' is an [[isomorphism]]. More generally, if ''J'' is any category with an [[initial object]] ''i'', then any diagram of type ''J'' has a limit, namely any object isomorphic to ''F''(''i''). Such an isomorphism uniquely determines a universal cone to ''F''.<br /> *'''Topological limits'''. Limits of functions are a special case of [[Filter_(mathematics)#Convergent_filter_bases|limits of filters]], which are related to categorical limits as follows. Given a [[topological space]] ''X'', denote ''F'' the set of filters on ''X'', ''x'' ∈ ''X'' a point, ''V''(''x'') ∈ ''F'' the [[Filter_(mathematics)#Neighbourhood_bases|neighborhood filter]] of ''x'', ''A'' ∈ ''F'' a particular filter and &lt;math&gt;F_{x,A}=\{G\in F\, /\, V(x)\cup A \subset G\} &lt;/math&gt; the set of filters finer than ''A'' and that converge to ''x''. The filters ''F'' are given a small and thin category structure by adding an arrow ''A'' → ''B'' if and only if ''A'' ⊆ ''B''. The injection &lt;math&gt;I_{x,A}:F_{x,A}\to F&lt;/math&gt; becomes a functor and the following equivalence holds :<br /> <br /> :: ''x'' is a topological limit of ''A'' if and only if ''A'' is a categorical limit of &lt;math&gt;I_{x,A}&lt;/math&gt;<br /> <br /> ===Colimits===<br /> Examples of colimits are given by the dual versions of the examples above:<br /> *'''[[Initial object]]s''' are colimits of empty diagrams.<br /> *'''[[Coproduct]]s''' are colimits of diagrams indexed by discrete categories.<br /> **'''Copowers''' are colimits of constant diagrams from discrete categories.<br /> *'''[[Coequalizer]]s''' are colimits of a parallel pair of morphisms.<br /> **'''[[Cokernel]]s''' are coequalizers of a morphism and a parallel zero morphism.<br /> *'''[[Pushout (category theory)|Pushouts]]''' are colimits of a pair of morphisms with common domain.<br /> *'''[[Direct limit]]s''' are colimits of diagrams indexed by directed sets.<br /> <br /> == Properties ==<br /> === Existence of limits ===<br /> A given diagram ''F'' : ''J'' → ''C'' may or may not have a limit (or colimit) in ''C''. Indeed, there may not even be a cone to ''F'', let alone a universal cone.<br /> <br /> A category ''C'' is said to '''have limits of type ''J''''' if every diagram of type ''J'' has a limit in ''C''. Specifically, a category ''C'' is said to<br /> *'''have products''' if it has limits of type ''J'' for every ''small'' discrete category ''J'' (it need not have large products),<br /> *'''have equalizers''' if it has limits of type &lt;math&gt;\bullet\rightrightarrows\bullet&lt;/math&gt; (i.e. every parallel pair of morphisms has an equalizer),<br /> *'''have pullbacks''' if it has limits of type &lt;math&gt;\bullet\rightarrow\bullet\leftarrow\bullet&lt;/math&gt; (i.e. every pair of morphisms with common codomain has a pullback).<br /> A '''[[complete category]]''' is a category that has all small limits (i.e. all limits of type ''J'' for every small category ''J'').<br /> <br /> One can also make the dual definitions. A category '''has colimits of type ''J''''' if every diagram of type ''J'' has a colimit in ''C''. A '''[[cocomplete category]]''' is one that has all small colimits.<br /> <br /> The '''existence theorem for limits''' states that if a category ''C'' has equalizers and all products indexed by the classes Ob(''J'') and Hom(''J''), then ''C'' has all limits of type ''J''. In this case, the limit of a diagram ''F'' : ''J'' → ''C'' can be constructed as the equalizer of the two morphisms<br /> :&lt;math&gt;s,t : \prod_{i\in\mathrm{Ob}(J)}F(i) \rightrightarrows \prod_{f\in\mathrm{Hom}(J)} F(\mathrm{cod}(f))&lt;/math&gt;<br /> given (in component form) by<br /> :&lt;math&gt;\begin{align}<br /> s &amp;= \bigl( F(f)\circ\pi_{F(\mathrm{dom}(f))}\bigr)_{f\in\mathrm{Hom}(J)} \\<br /> t &amp;= \bigl( \pi_{F(\mathrm{cod}(f))}\bigr)_{f\in\mathrm{Hom}(J)}.<br /> \end{align}&lt;/math&gt;<br /> There is a dual '''existence theorem for colimits''' in terms of coequalizers and coproducts. Both of these theorems give sufficient but not necessary conditions for the existence of all (co)limits of type ''J''.<br /> <br /> === Universal property ===<br /> Limits and colimits are important special cases of [[universal construction]]s. Let ''C'' be a category and let ''J'' be a small index category. The [[functor category]] ''C''&lt;sup&gt;''J''&lt;/sup&gt; may be thought of the category of all diagrams of type ''J'' in ''C''. The ''[[diagonal functor]]''<br /> :&lt;math&gt;\Delta : \mathcal C \to \mathcal C^{\mathcal J}&lt;/math&gt;<br /> is the functor that maps each object ''N'' in ''C'' to the constant functor Δ(''N'') : ''J'' → ''C'' to ''N''. That is, Δ(''N'')(''X'') = ''N'' for each object ''X'' in ''J'' and Δ(''N'')(''f'') = id&lt;sub&gt;''N''&lt;/sub&gt; for each morphism ''f'' in ''J''.<br /> <br /> Given a diagram ''F'': ''J'' → ''C'' (thought of as an object in ''C''&lt;sup&gt;''J''&lt;/sup&gt;), a [[natural transformation]] ψ : Δ(''N'') → ''F'' (which is just a morphism in the category ''C''&lt;sup&gt;''J''&lt;/sup&gt;) is the same thing as a cone from ''N'' to ''F''. The components of ψ are the morphisms ψ&lt;sub&gt;''X''&lt;/sub&gt; : ''N'' → ''F''(''X''). Dually, a natural transformation ψ : ''F'' → Δ(''N'') is the same thing as a co-cone from ''F'' to ''N''.<br /> <br /> The definitions of limits and colimits can then be restated in the form:<br /> *A limit of ''F'' is a universal morphism from Δ to ''F''.<br /> *A colimit of ''F'' is a universal morphism from ''F'' to Δ.<br /> <br /> === Adjunctions ===<br /> Like all universal constructions, the formation of limits and colimits is functorial in nature. In other words, if every diagram of type ''J'' has a limit in ''C'' (for ''J'' small) there exists a '''limit functor'''<br /> :&lt;math&gt;\mathrm{lim} : \mathcal{C}^\mathcal{J} \to \mathcal{C}&lt;/math&gt;<br /> which assigns each diagram its limit and each [[natural transformation]] η : ''F'' → ''G'' the unique morphism lim η : lim ''F'' → lim ''G'' commuting with the corresponding universal cones. This functor is [[right adjoint]] to the diagonal functor Δ : ''C'' → ''C''&lt;sup&gt;''J''&lt;/sup&gt;.<br /> This adjunction gives a bijection between the set of all morphisms from ''N'' to lim ''F'' and the set of all cones from ''N'' to ''F''<br /> :&lt;math&gt;\mathrm{Hom}(N,\mathrm{lim}F) \cong \mathrm{Cone}(N,F)&lt;/math&gt;<br /> which is natural in the variables ''N'' and ''F''. The counit of this adjunction is simply the universal cone from lim ''F'' to ''F''. If the index category ''J'' is [[connected category|connected]] (and nonempty) then the unit of the adjunction is an isomorphism so that lim is a left inverse of Δ. This fails if ''J'' is not connected. For example, if ''J'' is a discrete category, the components of the unit are the [[diagonal morphism]]s δ : ''N'' → ''N''&lt;sup&gt;''J''&lt;/sup&gt;.<br /> <br /> Dually, if every diagram of type ''J'' has a colimit in ''C'' (for ''J'' small) there exists a '''colimit functor'''<br /> :&lt;math&gt;\mathrm{colim} : \mathcal{C}^\mathcal{J} \to \mathcal{C}&lt;/math&gt;<br /> which assigns each diagram its colimit. This functor is [[left adjoint]] to the diagonal functor Δ : ''C'' → ''C''&lt;sup&gt;''J''&lt;/sup&gt;, and one has a natural isomorphism<br /> :&lt;math&gt;\mathrm{Hom}(\mathrm{colim}F,N) \cong \mathrm{Cocone}(F,N).&lt;/math&gt;<br /> The unit of this adjunction is the universal cocone from ''F'' to colim ''F''. If ''J'' is connected (and nonempty) then the counit is an isomorphism, so that colim is a left inverse of Δ.<br /> <br /> Note that both the limit and the colimit functors are [[covariant functor|''covariant'']] functors.<br /> <br /> === As representations of functors ===<br /> One can use [[Hom functor]]s to relate limits and colimits in a category ''C'' to limits in '''Set''', the [[category of sets]]. This follows, in part, from the fact the covariant Hom functor Hom(''N'', &amp;ndash;) : ''C'' → '''Set''' [[#Preservation of limits|preserves all limits]] in ''C''. By duality, the contravariant Hom functor must take colimits to limits.<br /> <br /> If a diagram ''F'' : ''J'' → ''C'' has a limit in ''C'', denoted by lim ''F'', there is a [[canonical isomorphism]]<br /> :&lt;math&gt;\mathrm{Hom}(N,\mathrm{lim} F)\cong\mathrm{lim}\,\mathrm{Hom}(N,F-)&lt;/math&gt;<br /> which is natural in the variable ''N''. Here the functor Hom(''N'', ''F''&amp;ndash;) is the composition of the Hom functor Hom(''N'', &amp;ndash;) with ''F''. This isomorphism is the unique one which respects the limiting cones.<br /> <br /> One can use the above relationship to define the limit of ''F'' in ''C''. The first step is to observe that the limit of the functor Hom(''N'', ''F''&amp;ndash;) can be identified with the set of all cones from ''N'' to ''F'':<br /> :&lt;math&gt;\mathrm{lim}\,\mathrm{Hom}(N,F-) = \mathrm{Cone}(N,F).&lt;/math&gt;<br /> The limiting cone is given by the family of maps π&lt;sub&gt;''X''&lt;/sub&gt; : Cone(''N'', ''F'') → Hom(''N'', ''FX'') where π&lt;sub&gt;''X''&lt;/sub&gt;(ψ) = ψ&lt;sub&gt;''X''&lt;/sub&gt;. If one is given an object ''L'' of ''C'' together with a [[natural isomorphism]] Φ : Hom(&amp;ndash;, ''L'') → Cone(&amp;ndash;, ''F''), the object ''L'' will be a limit of ''F'' with the limiting cone given by Φ&lt;sub&gt;''L''&lt;/sub&gt;(id&lt;sub&gt;''L''&lt;/sub&gt;). In fancy language, this amounts to saying that a limit of ''F'' is a [[representable functor|representation]] of the functor Cone(&amp;ndash;, ''F'') : ''C'' → '''Set'''.<br /> <br /> Dually, if a diagram ''F'' : ''J'' → ''C'' has a colimit in ''C'', denoted colim ''F'', there is a unique canonical isomorphism<br /> :&lt;math&gt;\mathrm{Hom}(\mathrm{colim} F, N)\cong\mathrm{lim}\,\mathrm{Hom}(F-,N)&lt;/math&gt;<br /> which is natural in the variable ''N'' and respects the colimiting cones. Identifying the limit of Hom(''F''&amp;ndash;, ''N'') with the set Cocone(''F'', ''N''), this relationship can be used to define the colimit of the diagram ''F'' as a representation of the functor Cocone(''F'', &amp;ndash;).<br /> <br /> === Interchange of limits and colimits of sets===<br /> Let ''I'' be a finite category and ''J'' be a small [[filtered category]]. For any [[bifunctor]]<br /> <br /> :''F'' : ''I'' &amp;times; ''J'' &amp;rarr; '''Set'''<br /> <br /> there is a [[natural isomorphism]]<br /> <br /> :&lt;math&gt;\mathrm{colim}_J\,\mathrm{lim}_I F(i, j) \rightarrow \mathrm{lim}_I\,\mathrm{colim}_J F(i, j).&lt;/math&gt;<br /> <br /> In words, filtered colimits in '''Set''' commute with finite limits.<br /> <br /> ==Functors and limits==<br /> If ''F'' : ''J'' → ''C'' is a diagram in ''C'' and ''G'' : ''C'' → ''D'' is a [[functor]] then by composition (recall that a diagram is just a functor) one obtains a diagram ''GF'' : ''J'' → ''D''. A natural question is then:<br /> :“How are the limits of ''GF'' related to those of ''F''?”<br /> <br /> ===Preservation of limits===<br /> A functor ''G'' : ''C'' → ''D'' induces a map from Cone(''F'') to Cone(''GF''): if Ψ is a cone from ''N'' to ''F'' then ''G''Ψ is a cone from ''GN'' to ''GF''. The functor ''G'' is said to '''preserve the limits of ''F''''' if (''GL'', ''G''φ) is a limit of ''GF'' whenever (''L'', φ) is a limit of ''F''. (Note that if the limit of ''F'' does not exist, then ''G'' [[vacuous truth|vacuously]] preserves the limits of ''F''.)<br /> <br /> A functor ''G'' is said to '''preserve all limits of type ''J''''' if it preserves the limits of all diagrams ''F'' : ''J'' → ''C''. For example, one can say that ''G'' preserves products, equalizers, pullbacks, etc. A '''continuous functor''' is one that preserves all ''small'' limits.<br /> <br /> One can make analogous definitions for colimits. For instance, a functor ''G'' preserves the colimits of ''F'' if ''G''(''L'', φ) is a colimit of ''GF'' whenever (''L'', φ) is a colimit of ''F''. A '''cocontinuous functor''' is one that preserves all ''small'' colimits.<br /> <br /> If ''C'' is a [[complete category]], then, by the above existence theorem for limits, a functor ''G'' : ''C'' → ''D'' is continuous if and only if it preserves (small) products and equalizers. Dually, ''G'' is cocontinuous if and only if it preserves (small) coproducts and coequalizers.<br /> <br /> An important property of [[adjoint functors]] is that every right adjoint functor is continuous and every left adjoint functor is cocontinuous. Since adjoint functors exist in abundance, this gives numerous examples of continuous and cocontinuous functors.<br /> <br /> For a given diagram ''F'' : ''J'' → ''C'' and functor ''G'' : ''C'' → ''D'', if both ''F'' and ''GF'' have specified limits there is a unique canonical morphism<br /> :τ&lt;sub&gt;''F''&lt;/sub&gt; : ''G'' lim ''F'' → lim ''GF''<br /> which respects the corresponding limit cones. The functor ''G'' preserves the limits of ''F'' if and only this map is an isomorphism. If the categories ''C'' and ''D'' have all limits of type ''J'' then lim is a functor and the morphisms τ&lt;sub&gt;''F''&lt;/sub&gt; form the components of a [[natural transformation]]<br /> :τ : ''G'' lim → lim ''G''&lt;sup&gt;''J''&lt;/sup&gt;.<br /> The functor ''G'' preserves all limits of type ''J'' if and only if τ is a natural isomorphism. In this sense, the functor ''G'' can be said to ''commute with limits'' ([[up to]] a canonical natural isomorphism).<br /> <br /> Preservation of limits and colimits is a concept that only applies to ''[[covariant functor|covariant]]'' functors. For [[contravariant functor]]s the corresponding notions would be a functor that takes colimits to limits, or one that takes limits to colimits.<br /> <br /> ===Lifting of limits===<br /> A functor ''G'' : ''C'' → ''D'' is said to '''lift limits''' for a diagram ''F'' : ''J'' → ''C'' if whenever (''L'', φ) is a limit of ''GF'' there exists a limit (''L''&amp;prime;, φ&amp;prime;) of ''F'' such that ''G''(''L''&amp;prime;, φ&amp;prime;) = (''L'', φ). A functor ''G'' '''lifts limits of type ''J''''' if it lifts limits for all diagrams of type ''J''. One can therefore talk about lifting products, equalizers, pullbacks, etc. Finally, one says that ''G'' '''lifts limits''' if it lifts all limits. There are dual definitions for the lifting of colimits.<br /> <br /> A functor ''G'' '''lifts limits uniquely''' for a diagram ''F'' if there is a unique preimage cone (''L''&amp;prime;, φ&amp;prime;) such that (''L''&amp;prime;, φ&amp;prime;) is a limit of ''F'' and ''G''(''L''&amp;prime;, φ&amp;prime;) = (''L'', φ). One can show that ''G'' lifts limits uniquely if and only if it lifts limits and is [[amnestic functor|amnestic]].<br /> <br /> Lifting of limits is clearly related to preservation of limits. If ''G'' lifts limits for a diagram ''F'' and ''GF'' has a limit, then ''F'' also has a limit and ''G'' preserves the limits of ''F''. It follows that:<br /> *If ''G'' lifts limits of all type ''J'' and ''D'' has all limits of type ''J'', then ''C'' also has all limits of type ''J'' and ''G'' preserves these limits.<br /> *If ''G'' lifts all small limits and ''D'' is complete, then ''C'' is also complete and ''G'' is continuous.<br /> The dual statements for colimits are equally valid.<br /> <br /> ===Creation and reflection of limits===<br /> Let ''F'' : ''J'' → ''C'' be a diagram. A functor ''G'' : ''C'' → ''D'' is said to<br /> *'''create limits''' for ''F'' if whenever (''L'', φ) is a limit of ''GF'' there exists a unique cone (''L''&amp;prime;, φ&amp;prime;) to ''F'' such that ''G''(''L''&amp;prime;, φ&amp;prime;) = (''L'', φ), and furthermore, this cone is a limit of ''F''.<br /> *'''reflect limits''' for ''F'' if each cone to ''F'' whose image under ''G'' is a limit of ''GF'' is already a limit of ''F''.<br /> Dually, one can define creation and reflection of colimits.<br /> <br /> The following statements are easily seen to be equivalent:<br /> *The functor ''G'' creates limits.<br /> *The functor ''G'' lifts limits uniquely and reflects limits.<br /> There are examples of functors which lift limits uniquely but neither create nor reflect them.<br /> <br /> ===Examples===<br /> * For any category ''C'' and object ''A'' of ''C'' the [[Hom functor]] Hom(''A'',&amp;ndash;) : ''C'' → '''Set''' preserves all limits in ''C''. In particular, Hom functors are continuous. Hom functors need not preserve colimits.<br /> * Every [[representable functor]] ''C'' → '''Set''' preserves limits (but not necessarily colimits).<br /> * The [[forgetful functor]] ''U'' : '''Grp''' → '''Set''' creates (and preserves) all small limits and [[filtered colimit]]s; however, ''U'' does not preserve coproducts. This situation is typical of algebraic forgetful functors.<br /> * The [[free functor]] ''F'' : '''Set''' → '''Grp''' (which assigns to every set ''S'' the [[free group]] over ''S'') is left adjoint to forgetful functor ''U'' and is, therefore, cocontinuous. This explains why the [[free product]] of two free groups ''G'' and ''H'' is the free group generated by the [[disjoint union]] of the generators of ''G'' and ''H''.<br /> * The inclusion functor '''Ab''' → '''Grp''' creates limits but does not preserve coproducts (the coproduct of two abelian groups being the [[Direct sum of abelian groups|direct sum]]).<br /> * The forgetful functor '''Top''' → '''Set''' lifts limits and colimits uniquely but creates neither.<br /> * Let '''Met'''&lt;sub&gt;''c''&lt;/sub&gt; be the category of [[metric space]]s with [[continuous function]]s for morphisms. The forgetful functor '''Met'''&lt;sub&gt;''c''&lt;/sub&gt; → '''Set''' lifts finite limits but does not lift them uniquely.<br /> <br /> == A note on terminology ==<br /> Older terminology referred to limits as &quot;inverse limits&quot; or &quot;projective limits,&quot; and to colimits as &quot;direct limits&quot; or &quot;inductive limits.&quot; This has been the source of a lot of confusion.<br /> <br /> There are several ways to remember the modern terminology. First of all,<br /> *cokernels,<br /> *coequalizers, and<br /> *codomains<br /> are types of colimits, whereas<br /> *kernels,<br /> *equalizers, and<br /> *domains<br /> are types of limits. Second, the prefix &quot;co&quot; implies &quot;first variable of the &lt;math&gt;\operatorname{Hom}&lt;/math&gt;&quot;. Terms like &quot;cohomology&quot; and &quot;cofibration&quot; all have a slightly stronger association with the first variable, i.e., the contravariant variable, of the &lt;math&gt;\operatorname{Hom}&lt;/math&gt; bifunctor.<br /> <br /> == References ==<br /> *{{cite book | last = Adámek | first = Jiří | coauthors = Horst Herrlich, and George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories|publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}}<br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd ed. | publisher = Springer | isbn = 0-387-98403-8}}<br /> <br /> == External links ==<br /> *[http://www.j-paine.org/cgi-bin/webcats/webcats.php Interactive Web page ] which generates examples of limits and colimits in the category of finite sets. Written by [http://www.j-paine.org/ Jocelyn Paine].<br /> <br /> [[Category:Limits (category theory)| ]]<br /> <br /> [[ca:Límit (teoria de categories)]]<br /> [[de:Limes (Kategorientheorie)]]<br /> [[es:Límite (teoría de categorías)]]<br /> [[ko:극한 (범주론)]]<br /> [[nl:Limiet (categorietheorie)]]<br /> [[pl:Granica i kogranica]]<br /> [[ru:Предел (теория категорий)]]<br /> [[zh:极限 (范畴论)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Ignoramus_et_ignorabimus&diff=523654793 Ignoramus et ignorabimus 2012-11-18T11:36:46Z <p>Magmalex: /* Hilbert's reaction */</p> <hr /> <div>{{italic title}}<br /> [[Image:Bois-Reymond.jpg|thumb|[[Emil du Bois-Reymond]], promulgator of the maxim ''ignoramus et ignorabimus.'']]<br /> The [[Latin]] maxim '''''ignoramus et ignorabimus''''', meaning &quot;we do not know and will not know&quot;, stood for a position on the limits of [[scientific knowledge]], in the thought of the nineteenth century. It was given credibility by [[Emil du Bois-Reymond]], a German [[physiologist]], in his ''Über die Grenzen des Naturerkennens'' (&quot;On the limits of our understanding of nature&quot;) of 1872.<br /> <br /> == Hilbert's reaction == <br /> <br /> On the 8th of September 1930, the [[mathematician]] [[David Hilbert]] pronounced his disagreement in a celebrated address to the Society of German Scientists and Physicians, in [[Königsberg]]:&lt;ref&gt;[[David Hilbert|Hilbert, David]], [http://math.sfsu.edu/smith/Documents/HilbertRadio/HilbertRadio.mp3 audio address], [http://math.sfsu.edu/smith/Documents/HilbertRadio/HilbertRadio.pdf transcription and English translation].&lt;/ref&gt;<br /> <br /> {{Cquote|We must not believe those, who today, with philosophical bearing and deliberative tone, prophesy the fall of culture and accept the ''ignorabimus''. For us there is no ''ignorabimus'', and in my opinion none whatever in natural science. In opposition to the foolish ''ignorabimus'' our slogan shall be: '''Wir müssen wissen — wir werden wissen!''' ('We must know — we will know!')}}<br /> <br /> Already in 1900, at the International Congress of Mathematicians at Paris he said: &quot;In mathematics there is no ''ignorabimus''.&quot;&lt;ref&gt;{{Cite journal |author=D. Hilbert |title=Mathematical Problems: Lecture Delivered before the International Congress of Mathematicians at Paris in 1900 |journal=Bulletin of the American Mathematical Society |volume=8 |year=1902 |pages=437-79 |url=http://aleph0.clarku.edu/~djoyce/hilbert/problems.html }}&lt;/ref&gt;<br /> <br /> Hilbert worked with other [[Formalism (mathematics)|formalist]]s to establish concrete [[foundations of mathematics#foundation crisis|foundations for mathematics]] in the early 20th century. However, [[Gödel's incompleteness theorems]] showed in 1931 that no finite system of [[axiom]]s, if complex enough to express our usual [[arithmetic]], could ever fulfill the goals of [[Hilbert's program]], demonstrating many of Hilbert's aims impossible, and specifying limits on most [[axiomatic system]]s.<br /> <br /> [[Image:Hilbert.jpg|thumb|[[David Hilbert]] replied, ''Wir müssen wissen — wir werden wissen!'' (We must know — we will know!)]]<br /> <br /> == Seven World Riddles ==<br /> [[Emil du Bois-Reymond]] used ''ignoramus et ignorabimus'' in discussing what he called [[Emil_du_Bois-Reymond#The_Seven_World_Riddles|seven &quot;world riddles&quot;]], in a famous 1880 speech before the [[Prussian Academy of Sciences|Berlin Academy of Sciences]].<br /> <br /> He outlined seven &quot;world riddles&quot;, of which three, he declared, neither science nor philosophy could ever explain, because they are &quot;[[Transcendence (philosophy)#Kant_.28and_modern_philosophy.29|transcendent]]&quot;. Of the riddles, he considered the following transcendental and declared of them ''ignoramus et ignorabimus:''&lt;ref&gt;William E. Leverette Jr., ''E. L. Youmans' Crusade for Scientific Autonomy and Respectability'', American Quarterly, Vol. 17, No. 1. (Spring, 1965), pg. 21.&lt;/ref&gt;<br /> &quot;1. the ultimate nature of matter and force, <br /> 2. the origin of motion,...<br /> 5. the origin of simple [[Sense|sensations]], a quite transcendent question.&quot; However, depending on the interpretation of &quot;ultimate nature&quot; and &quot;origin,&quot; it is possible to consider some of these as partially or completely solved. For example, the [[sensory system]]s for the traditional senses (sight, hearing, taste, smell, touch) are now mostly understood, including some of the associated neural processing.<br /> <br /> == Sociological responses ==<br /> The [[sociologist]] [[Wolf Lepenies]] has discussed the ''ignorabimus'' with a view that du Bois-Reymond was not really retreating in his claims for science and its reach:&lt;ref&gt;{{cite book|last=Lepenies|first=Wolf|authorlink=Wolf Lepenies|title=Between Literature and Science: the Rise of Sociology|year=1988|publisher=Cambridge University Press|location=Cambridge, UK|isbn=0-521-33810-7|page=272}}&lt;/ref&gt;<br /> <br /> :''&amp;mdash; it is in fact an incredibly self-confident support for scientific hubris masked as modesty &amp;mdash;''<br /> <br /> This is in a discussion of [[Friedrich Wolters]], one of the members of the literary group &quot;[[George-Kreis]]&quot;. Lepenies comments that Wolters misunderstood the degree of pessimism being expressed about science, but well understood the implication that scientists themselves could be trusted with self-criticism.<br /> <br /> ==See also==<br /> *[[Hubris]]<br /> *[[Strong agnosticism]]<br /> *[[Unknown unknown]]<br /> * [[Ignorance management]]<br /> *[[I know that I know nothing]]<br /> <br /> ==Notes==<br /> {{reflist}}<br /> <br /> {{philosophy of science}}<br /> <br /> [[Category:Epistemology of science]]<br /> [[Category:Slogans]]<br /> [[Category:Latin words and phrases]]<br /> [[Category:Concepts in epistemology]]<br /> <br /> [[cs:Ignoramus et ignorabimus]]<br /> [[de:Ignoramus et ignorabimus]]<br /> [[es:Ignoramus et ignorabimus]]<br /> [[fr:Ignorabimus]]<br /> [[ja:我々は知らない、知ることはないだろう]]<br /> [[pl:Ignoramus et ignorabimus]]<br /> [[pt:Ignoramus et ignorabimus]]<br /> [[ru:Ignoramus et ignorabimus]]<br /> [[sk:Ignoramus et ignorabimus]]<br /> [[tr:Ignoramus et ignorabimus]]<br /> [[uk:Ignorabimus]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Natural_transformation&diff=522556517 Natural transformation 2012-11-11T23:55:19Z <p>Magmalex: /* Historical notes */ Inline reference</p> <hr /> <div>{{About|natural transformations in category theory|the natural competence of bacteria to take up foreign DNA|Transformation (genetics)}}<br /> {{other uses|Transformation (mathematics) (disambiguation)}}<br /> In [[category theory]], a branch of [[mathematics]], a '''natural transformation''' provides a way of transforming one [[functor]] into another while respecting the internal structure (i.e. the composition of [[morphism]]s) of the categories involved. Hence, a natural transformation can be considered to be a &quot;morphism of functors&quot;. Indeed this intuition can be formalized to define so-called [[functor category|functor categories]]. Natural transformations are, after categories and functors, one of the most basic notions of [[category theory]] and consequently appear in the majority of its applications.<br /> <br /> ==Definition==<br /> If ''F'' and ''G'' are [[functor]]s between the categories ''C'' and ''D'', then a '''natural transformation''' η from ''F'' to ''G'' associates to every object ''X'' in ''C'' a [[morphism]] {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} between objects of ''D'', called the '''component''' of η at ''X'', such that for every morphism {{nobreak|1=''f'' : ''X'' → ''Y'' in ''C''}} we have:<br /> <br /> :&lt;math&gt;\eta_Y \circ F(f) = G(f) \circ \eta_X&lt;/math&gt;<br /> <br /> This equation can conveniently be expressed by the [[commutative diagram]]<br /> <br /> [[File:Natural transformation.svg|175px]]<br /> <br /> If both ''F'' and ''G'' are [[contravariant functor|contravariant]], the horizontal arrows in this diagram are reversed. If η is a natural transformation from ''F'' to ''G'', we also write {{nobreak|1=η : ''F'' → ''G''}} or {{nobreak|1=η : ''F'' ⇒ ''G''}}. This is also expressed by saying the family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} is '''natural''' in ''X''.<br /> <br /> If, for every object ''X'' in ''C'', the morphism η&lt;sub&gt;''X''&lt;/sub&gt; is an [[isomorphism]] in ''D'', then η is said to be a '''{{visible anchor|natural isomorphism}}''' (or sometimes '''natural equivalence''' or '''isomorphism of functors'''). Two functors ''F'' and ''G'' are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from ''F'' to ''G''.<br /> <br /> An '''infranatural transformation''' η from ''F'' to ''G'' is simply a family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt;: ''F''(''X'') → ''G''(''X'')}}. Thus a natural transformation is an infranatural transformation for which {{nobreak|1=η&lt;sub&gt;''Y''&lt;/sub&gt; ∘ ''F''(''f'') = ''G''(''f'') ∘ η&lt;sub&gt;''X''&lt;/sub&gt;}} for every morphism {{nobreak|1=''f'' : ''X'' → ''Y''}}. The '''naturalizer''' of η, nat(η), is the largest [[subcategory]] of ''C'' containing all the objects of ''C'' on which η restricts to a natural transformation.<br /> <br /> ==Examples==<br /> ===Opposite group===<br /> {{details|Opposite group}}<br /> Statements such as<br /> :&quot;Every group is naturally isomorphic to its [[opposite group]]&quot;<br /> abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category '''Grp''' of all [[group (mathematics)|group]]s with [[group homomorphism]]s as morphisms. If (''G'',*) is a group, we define its opposite group (''G''&lt;sup&gt;op&lt;/sup&gt;,*&lt;sup&gt;op&lt;/sup&gt;) as follows: ''G''&lt;sup&gt;op&lt;/sup&gt; is the same set as ''G'', and the operation *&lt;sup&gt;op&lt;/sup&gt; is defined by {{nobreak|1=''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'' = ''b'' * ''a''}}. All multiplications in ''G''&lt;sup&gt;op&lt;/sup&gt; are thus &quot;turned around&quot;. Forming the [[Opposite category|opposite]] group becomes a (covariant!) functor from '''Grp''' to '''Grp''' if we define {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} for any group homomorphism {{nobreak|1=''f'': ''G'' → ''H''}}. Note that ''f''&lt;sup&gt;op&lt;/sup&gt; is indeed a group homomorphism from ''G''&lt;sup&gt;op&lt;/sup&gt; to ''H''&lt;sup&gt;op&lt;/sup&gt;:<br /> :''f''&lt;sup&gt;op&lt;/sup&gt;(''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'') = ''f''(''b'' * ''a'') = ''f''(''b'') * ''f''(''a'') = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a'') *&lt;sup&gt;op&lt;/sup&gt; ''f''&lt;sup&gt;op&lt;/sup&gt;(''b'').<br /> The content of the above statement is:<br /> :&quot;The identity functor {{nobreak|1=Id&lt;sub&gt;'''Grp'''&lt;/sub&gt; : '''Grp''' &amp;rarr; '''Grp'''}} is naturally isomorphic to the opposite functor {{nobreak|1=&lt;sup&gt;op&lt;/sup&gt; : '''Grp''' &amp;rarr; '''Grp'''}}.&quot;<br /> To prove this, we need to provide isomorphisms {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt; : ''G'' → ''G''&lt;sup&gt;op&lt;/sup&gt;}} for every group ''G'', such that the above diagram commutes. Set {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt;(''a'') = ''a''&lt;sup&gt;−1&lt;/sup&gt;}}. The formulas {{nobreak|1=(''ab'')&lt;sup&gt;−1&lt;/sup&gt; = ''b''&lt;sup&gt;−1&lt;/sup&gt; ''a''&lt;sup&gt;−1&lt;/sup&gt;}} and {{nobreak|1=(''a''&lt;sup&gt;−1&lt;/sup&gt;)&lt;sup&gt;−1&lt;/sup&gt; = ''a''}} show that η&lt;sub&gt;''G''&lt;/sub&gt; is a group homomorphism which is its own inverse. To prove the naturality, we start with a group homomorphism {{nobreak|1=''f'' : ''G'' → ''H''}} and show {{nobreak|1=η&lt;sub&gt;''H''&lt;/sub&gt; ∘ ''f'' = ''f''&lt;sup&gt;op&lt;/sup&gt; ∘ η&lt;sub&gt;''G''&lt;/sub&gt;}}, i.e. {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a''&lt;sup&gt;−1&lt;/sup&gt;)}} for all ''a'' in ''G''. This is true since {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} and every group homomorphism has the property {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''(''a''&lt;sup&gt;−1&lt;/sup&gt;)}}.<br /> <br /> ===Double dual of a finite dimensional vector space===<br /> If ''K'' is a [[field (mathematics)|field]], then for every [[vector space]] ''V'' over ''K'' we have a &quot;natural&quot; [[injective]] [[linear map]] {{nobreak|1=''V'' → ''V''**}} from the vector space into its [[double dual]]. These maps are &quot;natural&quot; in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.<br /> <br /> ===Counterexample: dual of a finite-dimensional vector space===<br /> Every finite-dimensional vector space is isomorphic to its dual space, but this isomorphism relies on an arbitrary choice of isomorphism (for example, via choosing a basis and then taking the isomorphism sending this basis to the corresponding [[dual basis]]). There is in general no natural isomorphism between a finite-dimensional vector space and its dual space.&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below.<br /> <br /> The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional data (such as a basis), there is no given map from a space to its dual, and thus such an isomorphism requires a choice, and is &quot;not natural&quot;. On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with ''all'' linear maps; see {{harv|MacLane|Birkhoff|1999|loc=§VI.4}} for detailed discussion.<br /> <br /> Starting from finite-dimensional vector spaces (as objects) and the dual functor, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from &quot;all linear maps&quot; to &quot;linear maps that respect this structure&quot;. Explicitly, for each vector space, require that it come with the data of an isomorphism to its dual, &lt;math&gt;\eta_V\colon V \to V^*.&lt;/math&gt; In other words, take as objects vector spaces with a [[nondegenerate bilinear form]] &lt;math&gt;b_V\colon V \times V \to K.&lt;/math&gt; This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps that commute with these isomorphism (restricts to the naturalizer of ''η''), in other words, restrict to the maps that do not change the bilinear form: &lt;math&gt;b(T(v),T(w))=b(v,w).&lt;/math&gt; The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces.<br /> <br /> In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a [[transpose]]. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric ([[orthogonal matrices]]), symmetric and positive definite ([[inner product space]]), symmetric sesquilinear ([[Hermitian space]]s), skew-symmetric and totally isotropic ([[symplectic vector space]]), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.<br /> <br /> ===Tensor-hom adjunction===<br /> {{see|Tensor-hom adjunction|Adjoint functors}}<br /> Consider the [[category of abelian groups|category '''Ab''' of abelian groups and group homomorphisms]]. For all abelian groups ''X'', ''Y'' and ''Z'' we have a group isomorphism<br /> :{{nobreak|1=Hom(''X'' {{otimes}} ''Y'', ''Z'') &amp;rarr; Hom(''X'', Hom(''Y'', ''Z''))}}.<br /> These isomorphisms are &quot;natural&quot; in the sense that they define a natural transformation between the two involved functors {{nobreak|1='''Ab''' &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; → '''Ab'''}}.<br /> <br /> This is formally the [[tensor-hom adjunction]], and is an archetypal example of a pair of [[adjoint functors]]. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.<br /> <br /> == Unnatural isomorphism ==<br /> The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a &quot;natural isomorphism&quot;, meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an '''unnatural isomorphism''' (or &quot;this isomorphism is not natural&quot;) if the map cannot be extended to a natural transformation on the entire category. Given an object ''X,'' a functor ''G'' (taking for simplicity the first functor to be the identity) and an isomorphism &lt;math&gt;\eta\colon X \to G(X),&lt;/math&gt; proof of unnaturality is most easily shown by giving an automorphism &lt;math&gt;A\colon X \to X&lt;/math&gt; that does not commute with this isomorphism (so &lt;math&gt;\eta \circ A \neq G(A) \circ \eta&lt;/math&gt;). More strongly, if one wishes to prove that ''X'' and ''G''(''X'') are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism ''η,'' there is some ''A'' with which it does not commute; in some cases a single automorphism ''A'' works for all candidate isomorphisms ''η,'' while in other cases one must show how to construct a different ''A''&lt;sub&gt;''η''&lt;/sub&gt; for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance.<br /> <br /> This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is &quot;not natural&quot;, or rather &quot;not unique&quot;, as automorphisms exist that do not preserve the direct sum decomposition – see [[Structure theorem for finitely generated modules over a principal ideal domain#Uniqueness]] for example.<br /> <br /> Some authors distinguish notationally, using ≅ for a natural isomorphism and ≈ for an unnatural isomorphism, reserving = for equality (usually equality of maps).<br /> <br /> == Operations with natural transformations ==<br /> If {{nobreak|1=η : ''F'' → ''G''}} and {{nobreak|1=ε : ''G'' → ''H''}} are natural transformations between functors {{nobreak|1=''F'',''G'',''H'' : ''C'' → ''D''}}, then we can compose them to get a natural transformation {{nobreak|1=εη : ''F'' → ''H''}}. This is done componentwise: {{nobreak|1=(εη)&lt;sub&gt;''X''&lt;/sub&gt; = ε&lt;sub&gt;''X''&lt;/sub&gt;η&lt;sub&gt;''X''&lt;/sub&gt;}}. This &quot;vertical composition&quot; of natural transformation is [[associative]] and has an identity, and allows one to consider the collection of all functors {{nobreak|1=''C'' → ''D''}} itself as a category (see below under [[#Functor categories|Functor categories]]).<br /> <br /> Natural transformations also have a &quot;horizontal composition&quot;. If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}} and {{nobreak|1=ε : ''J'' → ''K''}} is a natural transformation between functors {{nobreak|1=''J'',''K'' : ''D'' → ''E''}}, then the composition of functors allows a composition of natural transformations {{nobreak|1=ηε : ''JF'' → ''KG''}}. This operation is also associative with identity, and the identity coincides with that for vertical composition. The two operations are related by an identity which exchanges vertical composition with horizontal composition.<br /> <br /> If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}}, and {{nobreak|1=''H'' : ''D'' → ''E''}} is another functor, then we can form the natural transformation {{nobreak|1=''H''η : ''HF'' → ''HG''}} by defining<br /> <br /> :&lt;math&gt; (H \eta)_X = H \eta_X. &lt;/math&gt;<br /> <br /> If on the other hand {{nobreak|1=''K'' : ''B'' → ''C''}} is a functor, the natural transformation {{nobreak|1=η''K'' : ''FK'' → ''GK''}} is defined by<br /> <br /> :&lt;math&gt; (\eta K)_X = \eta_{K(X)}.\, &lt;/math&gt;<br /> <br /> ==Functor categories==<br /> <br /> {{Main|Functor category}}<br /> If ''C'' is any category and ''I'' is a [[small category]], we can form the [[functor category]] ''C&lt;sup&gt;I&lt;/sup&gt;'' having as objects all functors from ''I'' to ''C'' and as morphisms the natural transformations between those functors. This forms a category since for any functor ''F'' there is an identity natural transformation {{nobreak|1=1&lt;sub&gt;''F''&lt;/sub&gt; : ''F'' → ''F''}} (which assigns to every object ''X'' the identity morphism on ''F''(''X'')) and the composition of two natural transformations (the &quot;vertical composition&quot; above) is again a natural transformation.<br /> <br /> The [[isomorphism]]s in ''C&lt;sup&gt;I&lt;/sup&gt;'' are precisely the natural isomorphisms. That is, a natural transformation {{nobreak|1=η : ''F'' → ''G''}} is a natural isomorphism if and only if there exists a natural transformation {{nobreak|1=ε : ''G'' → ''F''}} such that {{nobreak|1=ηε = 1&lt;sub&gt;''G''&lt;/sub&gt;}} and {{nobreak|1=εη = 1&lt;sub&gt;''F''&lt;/sub&gt;}}.<br /> <br /> The functor category ''C&lt;sup&gt;I&lt;/sup&gt;'' is especially useful if ''I'' arises from a [[directed graph]]. For instance, if ''I'' is the category of the directed graph {{nobreak|1=• → •}}, then ''C&lt;sup&gt;I&lt;/sup&gt;'' has as objects the morphisms of ''C'', and a morphism between {{nobreak|1=φ : ''U'' → ''V''}} and {{nobreak|1=ψ : ''X'' → ''Y''}} in ''C&lt;sup&gt;I&lt;/sup&gt;'' is a pair of morphisms {{nobreak|1=''f'' : ''U'' → ''X''}} and {{nobreak|1=''g'' : ''V'' → ''Y''}} in ''C'' such that the &quot;square commutes&quot;, i.e. {{nobreak|1=ψ ''f'' = ''g'' φ}}.<br /> <br /> More generally, one can build the [[2-category]] '''Cat''' whose<br /> * 0-cells (objects) are the small categories,<br /> * 1-cells (arrows) between two objects &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; are the functors from &lt;math&gt;C&lt;/math&gt; to &lt;math&gt;D&lt;/math&gt;,<br /> * 2-cells between two 1-cells (functors) &lt;math&gt;F:C\to D&lt;/math&gt; and &lt;math&gt;G:C\to D&lt;/math&gt; are the natural transformations from &lt;math&gt;F&lt;/math&gt; to &lt;math&gt;G&lt;/math&gt;.<br /> The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category &lt;math&gt;C^I&lt;/math&gt; is then simply a hom-category in this category (smallness issues aside).<br /> <br /> ==Yoneda lemma==<br /> <br /> {{Main|Yoneda lemma}}<br /> If ''X'' is an object of a [[locally small category]] ''C'', then the assignment {{nobreak|1=''Y'' {{mapsto}} Hom&lt;sub&gt;''C''&lt;/sub&gt;(''X'', ''Y'')}} defines a covariant functor {{nobreak|1=''F''&lt;sub&gt;''X''&lt;/sub&gt; : ''C'' → '''Set'''}}. This functor is called ''[[representable functor|representable]]'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of ''X''). The natural transformations from a representable functor to an arbitrary functor {{nobreak|1=''F'' : ''C'' → '''Set'''}} are completely known and easy to describe; this is the content of the [[Yoneda lemma]].<br /> <br /> == Historical notes ==<br /> <br /> [[Saunders Mac Lane]], one of the founders of category theory, is said to have remarked, &quot;I didn't invent categories to study functors; I invented them to study natural transformations.&quot;&lt;ref&gt;{{harv|Mac Lane|1998|loc=§I.4}}&lt;/ref&gt; Just as the study of [[group (mathematics)|groups]] is not complete without a study of [[group homomorphism|homomorphisms]], so the study of categories is not complete without the study of [[functor]]s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations.<br /> <br /> The context of Mac Lane's remark was the axiomatic theory of [[homology (mathematics)|homology]]. Different ways of constructing homology could be shown to coincide: for example in the case of a [[simplicial complex]] the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.<br /> <br /> ==Symbols used==<br /> * {{unichar|2297|CIRCLED TIMES|html=}}<br /> <br /> == See also ==<br /> * [[Extranatural transformation]]<br /> <br /> == References ==<br /> {{Portal|Category theory}}<br /> {{reflist}}<br /> {{refbegin}}<br /> *{{citation| first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8}}<br /> * {{citation|first1=Saunders|last1=MacLane|authorlink1=Saunders MacLane|first2=Garrett|last2=Birkhoff|authorlink2=Garrett Birkhoff|title=Algebra|edition=3rd|publisher=AMS Chelsea Publishing|year=1999|isbn=0-8218-1646-2}}.<br /> {{refend}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[es:Transformación natural]]<br /> [[fr:Transformation naturelle]]<br /> [[it:Trasformazione naturale]]<br /> [[nl:Natuurlijke transformatie]]<br /> [[ja:自然変換]]<br /> [[pl:Transformacja naturalna]]<br /> [[ru:Естественное преобразование]]<br /> [[sv:Naturlig transformation]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Natural_transformation&diff=522556125 Natural transformation 2012-11-11T23:52:08Z <p>Magmalex: /* Historical notes */ Inline reference</p> <hr /> <div>{{About|natural transformations in category theory|the natural competence of bacteria to take up foreign DNA|Transformation (genetics)}}<br /> {{other uses|Transformation (mathematics) (disambiguation)}}<br /> In [[category theory]], a branch of [[mathematics]], a '''natural transformation''' provides a way of transforming one [[functor]] into another while respecting the internal structure (i.e. the composition of [[morphism]]s) of the categories involved. Hence, a natural transformation can be considered to be a &quot;morphism of functors&quot;. Indeed this intuition can be formalized to define so-called [[functor category|functor categories]]. Natural transformations are, after categories and functors, one of the most basic notions of [[category theory]] and consequently appear in the majority of its applications.<br /> <br /> ==Definition==<br /> If ''F'' and ''G'' are [[functor]]s between the categories ''C'' and ''D'', then a '''natural transformation''' η from ''F'' to ''G'' associates to every object ''X'' in ''C'' a [[morphism]] {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} between objects of ''D'', called the '''component''' of η at ''X'', such that for every morphism {{nobreak|1=''f'' : ''X'' → ''Y'' in ''C''}} we have:<br /> <br /> :&lt;math&gt;\eta_Y \circ F(f) = G(f) \circ \eta_X&lt;/math&gt;<br /> <br /> This equation can conveniently be expressed by the [[commutative diagram]]<br /> <br /> [[File:Natural transformation.svg|175px]]<br /> <br /> If both ''F'' and ''G'' are [[contravariant functor|contravariant]], the horizontal arrows in this diagram are reversed. If η is a natural transformation from ''F'' to ''G'', we also write {{nobreak|1=η : ''F'' → ''G''}} or {{nobreak|1=η : ''F'' ⇒ ''G''}}. This is also expressed by saying the family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} is '''natural''' in ''X''.<br /> <br /> If, for every object ''X'' in ''C'', the morphism η&lt;sub&gt;''X''&lt;/sub&gt; is an [[isomorphism]] in ''D'', then η is said to be a '''{{visible anchor|natural isomorphism}}''' (or sometimes '''natural equivalence''' or '''isomorphism of functors'''). Two functors ''F'' and ''G'' are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from ''F'' to ''G''.<br /> <br /> An '''infranatural transformation''' η from ''F'' to ''G'' is simply a family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt;: ''F''(''X'') → ''G''(''X'')}}. Thus a natural transformation is an infranatural transformation for which {{nobreak|1=η&lt;sub&gt;''Y''&lt;/sub&gt; ∘ ''F''(''f'') = ''G''(''f'') ∘ η&lt;sub&gt;''X''&lt;/sub&gt;}} for every morphism {{nobreak|1=''f'' : ''X'' → ''Y''}}. The '''naturalizer''' of η, nat(η), is the largest [[subcategory]] of ''C'' containing all the objects of ''C'' on which η restricts to a natural transformation.<br /> <br /> ==Examples==<br /> ===Opposite group===<br /> {{details|Opposite group}}<br /> Statements such as<br /> :&quot;Every group is naturally isomorphic to its [[opposite group]]&quot;<br /> abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category '''Grp''' of all [[group (mathematics)|group]]s with [[group homomorphism]]s as morphisms. If (''G'',*) is a group, we define its opposite group (''G''&lt;sup&gt;op&lt;/sup&gt;,*&lt;sup&gt;op&lt;/sup&gt;) as follows: ''G''&lt;sup&gt;op&lt;/sup&gt; is the same set as ''G'', and the operation *&lt;sup&gt;op&lt;/sup&gt; is defined by {{nobreak|1=''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'' = ''b'' * ''a''}}. All multiplications in ''G''&lt;sup&gt;op&lt;/sup&gt; are thus &quot;turned around&quot;. Forming the [[Opposite category|opposite]] group becomes a (covariant!) functor from '''Grp''' to '''Grp''' if we define {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} for any group homomorphism {{nobreak|1=''f'': ''G'' → ''H''}}. Note that ''f''&lt;sup&gt;op&lt;/sup&gt; is indeed a group homomorphism from ''G''&lt;sup&gt;op&lt;/sup&gt; to ''H''&lt;sup&gt;op&lt;/sup&gt;:<br /> :''f''&lt;sup&gt;op&lt;/sup&gt;(''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'') = ''f''(''b'' * ''a'') = ''f''(''b'') * ''f''(''a'') = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a'') *&lt;sup&gt;op&lt;/sup&gt; ''f''&lt;sup&gt;op&lt;/sup&gt;(''b'').<br /> The content of the above statement is:<br /> :&quot;The identity functor {{nobreak|1=Id&lt;sub&gt;'''Grp'''&lt;/sub&gt; : '''Grp''' &amp;rarr; '''Grp'''}} is naturally isomorphic to the opposite functor {{nobreak|1=&lt;sup&gt;op&lt;/sup&gt; : '''Grp''' &amp;rarr; '''Grp'''}}.&quot;<br /> To prove this, we need to provide isomorphisms {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt; : ''G'' → ''G''&lt;sup&gt;op&lt;/sup&gt;}} for every group ''G'', such that the above diagram commutes. Set {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt;(''a'') = ''a''&lt;sup&gt;−1&lt;/sup&gt;}}. The formulas {{nobreak|1=(''ab'')&lt;sup&gt;−1&lt;/sup&gt; = ''b''&lt;sup&gt;−1&lt;/sup&gt; ''a''&lt;sup&gt;−1&lt;/sup&gt;}} and {{nobreak|1=(''a''&lt;sup&gt;−1&lt;/sup&gt;)&lt;sup&gt;−1&lt;/sup&gt; = ''a''}} show that η&lt;sub&gt;''G''&lt;/sub&gt; is a group homomorphism which is its own inverse. To prove the naturality, we start with a group homomorphism {{nobreak|1=''f'' : ''G'' → ''H''}} and show {{nobreak|1=η&lt;sub&gt;''H''&lt;/sub&gt; ∘ ''f'' = ''f''&lt;sup&gt;op&lt;/sup&gt; ∘ η&lt;sub&gt;''G''&lt;/sub&gt;}}, i.e. {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a''&lt;sup&gt;−1&lt;/sup&gt;)}} for all ''a'' in ''G''. This is true since {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} and every group homomorphism has the property {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''(''a''&lt;sup&gt;−1&lt;/sup&gt;)}}.<br /> <br /> ===Double dual of a finite dimensional vector space===<br /> If ''K'' is a [[field (mathematics)|field]], then for every [[vector space]] ''V'' over ''K'' we have a &quot;natural&quot; [[injective]] [[linear map]] {{nobreak|1=''V'' → ''V''**}} from the vector space into its [[double dual]]. These maps are &quot;natural&quot; in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.<br /> <br /> ===Counterexample: dual of a finite-dimensional vector space===<br /> Every finite-dimensional vector space is isomorphic to its dual space, but this isomorphism relies on an arbitrary choice of isomorphism (for example, via choosing a basis and then taking the isomorphism sending this basis to the corresponding [[dual basis]]). There is in general no natural isomorphism between a finite-dimensional vector space and its dual space.&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below.<br /> <br /> The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional data (such as a basis), there is no given map from a space to its dual, and thus such an isomorphism requires a choice, and is &quot;not natural&quot;. On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with ''all'' linear maps; see {{harv|MacLane|Birkhoff|1999|loc=§VI.4}} for detailed discussion.<br /> <br /> Starting from finite-dimensional vector spaces (as objects) and the dual functor, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from &quot;all linear maps&quot; to &quot;linear maps that respect this structure&quot;. Explicitly, for each vector space, require that it come with the data of an isomorphism to its dual, &lt;math&gt;\eta_V\colon V \to V^*.&lt;/math&gt; In other words, take as objects vector spaces with a [[nondegenerate bilinear form]] &lt;math&gt;b_V\colon V \times V \to K.&lt;/math&gt; This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps that commute with these isomorphism (restricts to the naturalizer of ''η''), in other words, restrict to the maps that do not change the bilinear form: &lt;math&gt;b(T(v),T(w))=b(v,w).&lt;/math&gt; The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces.<br /> <br /> In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a [[transpose]]. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric ([[orthogonal matrices]]), symmetric and positive definite ([[inner product space]]), symmetric sesquilinear ([[Hermitian space]]s), skew-symmetric and totally isotropic ([[symplectic vector space]]), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.<br /> <br /> ===Tensor-hom adjunction===<br /> {{see|Tensor-hom adjunction|Adjoint functors}}<br /> Consider the [[category of abelian groups|category '''Ab''' of abelian groups and group homomorphisms]]. For all abelian groups ''X'', ''Y'' and ''Z'' we have a group isomorphism<br /> :{{nobreak|1=Hom(''X'' {{otimes}} ''Y'', ''Z'') &amp;rarr; Hom(''X'', Hom(''Y'', ''Z''))}}.<br /> These isomorphisms are &quot;natural&quot; in the sense that they define a natural transformation between the two involved functors {{nobreak|1='''Ab''' &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; → '''Ab'''}}.<br /> <br /> This is formally the [[tensor-hom adjunction]], and is an archetypal example of a pair of [[adjoint functors]]. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.<br /> <br /> == Unnatural isomorphism ==<br /> The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a &quot;natural isomorphism&quot;, meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an '''unnatural isomorphism''' (or &quot;this isomorphism is not natural&quot;) if the map cannot be extended to a natural transformation on the entire category. Given an object ''X,'' a functor ''G'' (taking for simplicity the first functor to be the identity) and an isomorphism &lt;math&gt;\eta\colon X \to G(X),&lt;/math&gt; proof of unnaturality is most easily shown by giving an automorphism &lt;math&gt;A\colon X \to X&lt;/math&gt; that does not commute with this isomorphism (so &lt;math&gt;\eta \circ A \neq G(A) \circ \eta&lt;/math&gt;). More strongly, if one wishes to prove that ''X'' and ''G''(''X'') are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism ''η,'' there is some ''A'' with which it does not commute; in some cases a single automorphism ''A'' works for all candidate isomorphisms ''η,'' while in other cases one must show how to construct a different ''A''&lt;sub&gt;''η''&lt;/sub&gt; for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance.<br /> <br /> This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is &quot;not natural&quot;, or rather &quot;not unique&quot;, as automorphisms exist that do not preserve the direct sum decomposition – see [[Structure theorem for finitely generated modules over a principal ideal domain#Uniqueness]] for example.<br /> <br /> Some authors distinguish notationally, using ≅ for a natural isomorphism and ≈ for an unnatural isomorphism, reserving = for equality (usually equality of maps).<br /> <br /> == Operations with natural transformations ==<br /> If {{nobreak|1=η : ''F'' → ''G''}} and {{nobreak|1=ε : ''G'' → ''H''}} are natural transformations between functors {{nobreak|1=''F'',''G'',''H'' : ''C'' → ''D''}}, then we can compose them to get a natural transformation {{nobreak|1=εη : ''F'' → ''H''}}. This is done componentwise: {{nobreak|1=(εη)&lt;sub&gt;''X''&lt;/sub&gt; = ε&lt;sub&gt;''X''&lt;/sub&gt;η&lt;sub&gt;''X''&lt;/sub&gt;}}. This &quot;vertical composition&quot; of natural transformation is [[associative]] and has an identity, and allows one to consider the collection of all functors {{nobreak|1=''C'' → ''D''}} itself as a category (see below under [[#Functor categories|Functor categories]]).<br /> <br /> Natural transformations also have a &quot;horizontal composition&quot;. If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}} and {{nobreak|1=ε : ''J'' → ''K''}} is a natural transformation between functors {{nobreak|1=''J'',''K'' : ''D'' → ''E''}}, then the composition of functors allows a composition of natural transformations {{nobreak|1=ηε : ''JF'' → ''KG''}}. This operation is also associative with identity, and the identity coincides with that for vertical composition. The two operations are related by an identity which exchanges vertical composition with horizontal composition.<br /> <br /> If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}}, and {{nobreak|1=''H'' : ''D'' → ''E''}} is another functor, then we can form the natural transformation {{nobreak|1=''H''η : ''HF'' → ''HG''}} by defining<br /> <br /> :&lt;math&gt; (H \eta)_X = H \eta_X. &lt;/math&gt;<br /> <br /> If on the other hand {{nobreak|1=''K'' : ''B'' → ''C''}} is a functor, the natural transformation {{nobreak|1=η''K'' : ''FK'' → ''GK''}} is defined by<br /> <br /> :&lt;math&gt; (\eta K)_X = \eta_{K(X)}.\, &lt;/math&gt;<br /> <br /> ==Functor categories==<br /> <br /> {{Main|Functor category}}<br /> If ''C'' is any category and ''I'' is a [[small category]], we can form the [[functor category]] ''C&lt;sup&gt;I&lt;/sup&gt;'' having as objects all functors from ''I'' to ''C'' and as morphisms the natural transformations between those functors. This forms a category since for any functor ''F'' there is an identity natural transformation {{nobreak|1=1&lt;sub&gt;''F''&lt;/sub&gt; : ''F'' → ''F''}} (which assigns to every object ''X'' the identity morphism on ''F''(''X'')) and the composition of two natural transformations (the &quot;vertical composition&quot; above) is again a natural transformation.<br /> <br /> The [[isomorphism]]s in ''C&lt;sup&gt;I&lt;/sup&gt;'' are precisely the natural isomorphisms. That is, a natural transformation {{nobreak|1=η : ''F'' → ''G''}} is a natural isomorphism if and only if there exists a natural transformation {{nobreak|1=ε : ''G'' → ''F''}} such that {{nobreak|1=ηε = 1&lt;sub&gt;''G''&lt;/sub&gt;}} and {{nobreak|1=εη = 1&lt;sub&gt;''F''&lt;/sub&gt;}}.<br /> <br /> The functor category ''C&lt;sup&gt;I&lt;/sup&gt;'' is especially useful if ''I'' arises from a [[directed graph]]. For instance, if ''I'' is the category of the directed graph {{nobreak|1=• → •}}, then ''C&lt;sup&gt;I&lt;/sup&gt;'' has as objects the morphisms of ''C'', and a morphism between {{nobreak|1=φ : ''U'' → ''V''}} and {{nobreak|1=ψ : ''X'' → ''Y''}} in ''C&lt;sup&gt;I&lt;/sup&gt;'' is a pair of morphisms {{nobreak|1=''f'' : ''U'' → ''X''}} and {{nobreak|1=''g'' : ''V'' → ''Y''}} in ''C'' such that the &quot;square commutes&quot;, i.e. {{nobreak|1=ψ ''f'' = ''g'' φ}}.<br /> <br /> More generally, one can build the [[2-category]] '''Cat''' whose<br /> * 0-cells (objects) are the small categories,<br /> * 1-cells (arrows) between two objects &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; are the functors from &lt;math&gt;C&lt;/math&gt; to &lt;math&gt;D&lt;/math&gt;,<br /> * 2-cells between two 1-cells (functors) &lt;math&gt;F:C\to D&lt;/math&gt; and &lt;math&gt;G:C\to D&lt;/math&gt; are the natural transformations from &lt;math&gt;F&lt;/math&gt; to &lt;math&gt;G&lt;/math&gt;.<br /> The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category &lt;math&gt;C^I&lt;/math&gt; is then simply a hom-category in this category (smallness issues aside).<br /> <br /> ==Yoneda lemma==<br /> <br /> {{Main|Yoneda lemma}}<br /> If ''X'' is an object of a [[locally small category]] ''C'', then the assignment {{nobreak|1=''Y'' {{mapsto}} Hom&lt;sub&gt;''C''&lt;/sub&gt;(''X'', ''Y'')}} defines a covariant functor {{nobreak|1=''F''&lt;sub&gt;''X''&lt;/sub&gt; : ''C'' → '''Set'''}}. This functor is called ''[[representable functor|representable]]'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of ''X''). The natural transformations from a representable functor to an arbitrary functor {{nobreak|1=''F'' : ''C'' → '''Set'''}} are completely known and easy to describe; this is the content of the [[Yoneda lemma]].<br /> <br /> == Historical notes ==<br /> {{Unreferenced section|date=October 2008}}<br /> [[Saunders Mac Lane]], one of the founders of category theory, is said to have remarked, &quot;I didn't invent categories to study functors; I invented them to study natural transformations.&quot;&lt;ref&gt;{{harv|Mac Lane|1998|§I.4}}&lt;/ref&gt; Just as the study of [[group (mathematics)|groups]] is not complete without a study of [[group homomorphism|homomorphisms]], so the study of categories is not complete without the study of [[functor]]s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations.<br /> <br /> The context of Mac Lane's remark was the axiomatic theory of [[homology (mathematics)|homology]]. Different ways of constructing homology could be shown to coincide: for example in the case of a [[simplicial complex]] the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.<br /> <br /> ==Symbols used==<br /> * {{unichar|2297|CIRCLED TIMES|html=}}<br /> <br /> == See also ==<br /> * [[Extranatural transformation]]<br /> <br /> == References ==<br /> {{Portal|Category theory}}<br /> {{reflist}}<br /> {{refbegin}}<br /> *{{citation| first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8}}<br /> * {{citation|first1=Saunders|last1=MacLane|authorlink1=Saunders MacLane|first2=Garrett|last2=Birkhoff|authorlink2=Garrett Birkhoff|title=Algebra|edition=3rd|publisher=AMS Chelsea Publishing|year=1999|isbn=0-8218-1646-2}}.<br /> {{refend}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[es:Transformación natural]]<br /> [[fr:Transformation naturelle]]<br /> [[it:Trasformazione naturale]]<br /> [[nl:Natuurlijke transformatie]]<br /> [[ja:自然変換]]<br /> [[pl:Transformacja naturalna]]<br /> [[ru:Естественное преобразование]]<br /> [[sv:Naturlig transformation]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Natural_transformation&diff=522555134 Natural transformation 2012-11-11T23:43:47Z <p>Magmalex: /* Historical notes */</p> <hr /> <div>{{About|natural transformations in category theory|the natural competence of bacteria to take up foreign DNA|Transformation (genetics)}}<br /> {{other uses|Transformation (mathematics) (disambiguation)}}<br /> In [[category theory]], a branch of [[mathematics]], a '''natural transformation''' provides a way of transforming one [[functor]] into another while respecting the internal structure (i.e. the composition of [[morphism]]s) of the categories involved. Hence, a natural transformation can be considered to be a &quot;morphism of functors&quot;. Indeed this intuition can be formalized to define so-called [[functor category|functor categories]]. Natural transformations are, after categories and functors, one of the most basic notions of [[category theory]] and consequently appear in the majority of its applications.<br /> <br /> ==Definition==<br /> If ''F'' and ''G'' are [[functor]]s between the categories ''C'' and ''D'', then a '''natural transformation''' η from ''F'' to ''G'' associates to every object ''X'' in ''C'' a [[morphism]] {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} between objects of ''D'', called the '''component''' of η at ''X'', such that for every morphism {{nobreak|1=''f'' : ''X'' → ''Y'' in ''C''}} we have:<br /> <br /> :&lt;math&gt;\eta_Y \circ F(f) = G(f) \circ \eta_X&lt;/math&gt;<br /> <br /> This equation can conveniently be expressed by the [[commutative diagram]]<br /> <br /> [[File:Natural transformation.svg|175px]]<br /> <br /> If both ''F'' and ''G'' are [[contravariant functor|contravariant]], the horizontal arrows in this diagram are reversed. If η is a natural transformation from ''F'' to ''G'', we also write {{nobreak|1=η : ''F'' → ''G''}} or {{nobreak|1=η : ''F'' ⇒ ''G''}}. This is also expressed by saying the family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} is '''natural''' in ''X''.<br /> <br /> If, for every object ''X'' in ''C'', the morphism η&lt;sub&gt;''X''&lt;/sub&gt; is an [[isomorphism]] in ''D'', then η is said to be a '''{{visible anchor|natural isomorphism}}''' (or sometimes '''natural equivalence''' or '''isomorphism of functors'''). Two functors ''F'' and ''G'' are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from ''F'' to ''G''.<br /> <br /> An '''infranatural transformation''' η from ''F'' to ''G'' is simply a family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt;: ''F''(''X'') → ''G''(''X'')}}. Thus a natural transformation is an infranatural transformation for which {{nobreak|1=η&lt;sub&gt;''Y''&lt;/sub&gt; ∘ ''F''(''f'') = ''G''(''f'') ∘ η&lt;sub&gt;''X''&lt;/sub&gt;}} for every morphism {{nobreak|1=''f'' : ''X'' → ''Y''}}. The '''naturalizer''' of η, nat(η), is the largest [[subcategory]] of ''C'' containing all the objects of ''C'' on which η restricts to a natural transformation.<br /> <br /> ==Examples==<br /> ===Opposite group===<br /> {{details|Opposite group}}<br /> Statements such as<br /> :&quot;Every group is naturally isomorphic to its [[opposite group]]&quot;<br /> abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category '''Grp''' of all [[group (mathematics)|group]]s with [[group homomorphism]]s as morphisms. If (''G'',*) is a group, we define its opposite group (''G''&lt;sup&gt;op&lt;/sup&gt;,*&lt;sup&gt;op&lt;/sup&gt;) as follows: ''G''&lt;sup&gt;op&lt;/sup&gt; is the same set as ''G'', and the operation *&lt;sup&gt;op&lt;/sup&gt; is defined by {{nobreak|1=''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'' = ''b'' * ''a''}}. All multiplications in ''G''&lt;sup&gt;op&lt;/sup&gt; are thus &quot;turned around&quot;. Forming the [[Opposite category|opposite]] group becomes a (covariant!) functor from '''Grp''' to '''Grp''' if we define {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} for any group homomorphism {{nobreak|1=''f'': ''G'' → ''H''}}. Note that ''f''&lt;sup&gt;op&lt;/sup&gt; is indeed a group homomorphism from ''G''&lt;sup&gt;op&lt;/sup&gt; to ''H''&lt;sup&gt;op&lt;/sup&gt;:<br /> :''f''&lt;sup&gt;op&lt;/sup&gt;(''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'') = ''f''(''b'' * ''a'') = ''f''(''b'') * ''f''(''a'') = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a'') *&lt;sup&gt;op&lt;/sup&gt; ''f''&lt;sup&gt;op&lt;/sup&gt;(''b'').<br /> The content of the above statement is:<br /> :&quot;The identity functor {{nobreak|1=Id&lt;sub&gt;'''Grp'''&lt;/sub&gt; : '''Grp''' &amp;rarr; '''Grp'''}} is naturally isomorphic to the opposite functor {{nobreak|1=&lt;sup&gt;op&lt;/sup&gt; : '''Grp''' &amp;rarr; '''Grp'''}}.&quot;<br /> To prove this, we need to provide isomorphisms {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt; : ''G'' → ''G''&lt;sup&gt;op&lt;/sup&gt;}} for every group ''G'', such that the above diagram commutes. Set {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt;(''a'') = ''a''&lt;sup&gt;−1&lt;/sup&gt;}}. The formulas {{nobreak|1=(''ab'')&lt;sup&gt;−1&lt;/sup&gt; = ''b''&lt;sup&gt;−1&lt;/sup&gt; ''a''&lt;sup&gt;−1&lt;/sup&gt;}} and {{nobreak|1=(''a''&lt;sup&gt;−1&lt;/sup&gt;)&lt;sup&gt;−1&lt;/sup&gt; = ''a''}} show that η&lt;sub&gt;''G''&lt;/sub&gt; is a group homomorphism which is its own inverse. To prove the naturality, we start with a group homomorphism {{nobreak|1=''f'' : ''G'' → ''H''}} and show {{nobreak|1=η&lt;sub&gt;''H''&lt;/sub&gt; ∘ ''f'' = ''f''&lt;sup&gt;op&lt;/sup&gt; ∘ η&lt;sub&gt;''G''&lt;/sub&gt;}}, i.e. {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a''&lt;sup&gt;−1&lt;/sup&gt;)}} for all ''a'' in ''G''. This is true since {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} and every group homomorphism has the property {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''(''a''&lt;sup&gt;−1&lt;/sup&gt;)}}.<br /> <br /> ===Double dual of a finite dimensional vector space===<br /> If ''K'' is a [[field (mathematics)|field]], then for every [[vector space]] ''V'' over ''K'' we have a &quot;natural&quot; [[injective]] [[linear map]] {{nobreak|1=''V'' → ''V''**}} from the vector space into its [[double dual]]. These maps are &quot;natural&quot; in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.<br /> <br /> ===Counterexample: dual of a finite-dimensional vector space===<br /> Every finite-dimensional vector space is isomorphic to its dual space, but this isomorphism relies on an arbitrary choice of isomorphism (for example, via choosing a basis and then taking the isomorphism sending this basis to the corresponding [[dual basis]]). There is in general no natural isomorphism between a finite-dimensional vector space and its dual space.&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below.<br /> <br /> The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional data (such as a basis), there is no given map from a space to its dual, and thus such an isomorphism requires a choice, and is &quot;not natural&quot;. On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with ''all'' linear maps; see {{harv|MacLane|Birkhoff|1999|loc=§VI.4}} for detailed discussion.<br /> <br /> Starting from finite-dimensional vector spaces (as objects) and the dual functor, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from &quot;all linear maps&quot; to &quot;linear maps that respect this structure&quot;. Explicitly, for each vector space, require that it come with the data of an isomorphism to its dual, &lt;math&gt;\eta_V\colon V \to V^*.&lt;/math&gt; In other words, take as objects vector spaces with a [[nondegenerate bilinear form]] &lt;math&gt;b_V\colon V \times V \to K.&lt;/math&gt; This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps that commute with these isomorphism (restricts to the naturalizer of ''η''), in other words, restrict to the maps that do not change the bilinear form: &lt;math&gt;b(T(v),T(w))=b(v,w).&lt;/math&gt; The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces.<br /> <br /> In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a [[transpose]]. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric ([[orthogonal matrices]]), symmetric and positive definite ([[inner product space]]), symmetric sesquilinear ([[Hermitian space]]s), skew-symmetric and totally isotropic ([[symplectic vector space]]), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.<br /> <br /> ===Tensor-hom adjunction===<br /> {{see|Tensor-hom adjunction|Adjoint functors}}<br /> Consider the [[category of abelian groups|category '''Ab''' of abelian groups and group homomorphisms]]. For all abelian groups ''X'', ''Y'' and ''Z'' we have a group isomorphism<br /> :{{nobreak|1=Hom(''X'' {{otimes}} ''Y'', ''Z'') &amp;rarr; Hom(''X'', Hom(''Y'', ''Z''))}}.<br /> These isomorphisms are &quot;natural&quot; in the sense that they define a natural transformation between the two involved functors {{nobreak|1='''Ab''' &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; → '''Ab'''}}.<br /> <br /> This is formally the [[tensor-hom adjunction]], and is an archetypal example of a pair of [[adjoint functors]]. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.<br /> <br /> == Unnatural isomorphism ==<br /> The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a &quot;natural isomorphism&quot;, meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an '''unnatural isomorphism''' (or &quot;this isomorphism is not natural&quot;) if the map cannot be extended to a natural transformation on the entire category. Given an object ''X,'' a functor ''G'' (taking for simplicity the first functor to be the identity) and an isomorphism &lt;math&gt;\eta\colon X \to G(X),&lt;/math&gt; proof of unnaturality is most easily shown by giving an automorphism &lt;math&gt;A\colon X \to X&lt;/math&gt; that does not commute with this isomorphism (so &lt;math&gt;\eta \circ A \neq G(A) \circ \eta&lt;/math&gt;). More strongly, if one wishes to prove that ''X'' and ''G''(''X'') are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism ''η,'' there is some ''A'' with which it does not commute; in some cases a single automorphism ''A'' works for all candidate isomorphisms ''η,'' while in other cases one must show how to construct a different ''A''&lt;sub&gt;''η''&lt;/sub&gt; for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance.<br /> <br /> This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is &quot;not natural&quot;, or rather &quot;not unique&quot;, as automorphisms exist that do not preserve the direct sum decomposition – see [[Structure theorem for finitely generated modules over a principal ideal domain#Uniqueness]] for example.<br /> <br /> Some authors distinguish notationally, using ≅ for a natural isomorphism and ≈ for an unnatural isomorphism, reserving = for equality (usually equality of maps).<br /> <br /> == Operations with natural transformations ==<br /> If {{nobreak|1=η : ''F'' → ''G''}} and {{nobreak|1=ε : ''G'' → ''H''}} are natural transformations between functors {{nobreak|1=''F'',''G'',''H'' : ''C'' → ''D''}}, then we can compose them to get a natural transformation {{nobreak|1=εη : ''F'' → ''H''}}. This is done componentwise: {{nobreak|1=(εη)&lt;sub&gt;''X''&lt;/sub&gt; = ε&lt;sub&gt;''X''&lt;/sub&gt;η&lt;sub&gt;''X''&lt;/sub&gt;}}. This &quot;vertical composition&quot; of natural transformation is [[associative]] and has an identity, and allows one to consider the collection of all functors {{nobreak|1=''C'' → ''D''}} itself as a category (see below under [[#Functor categories|Functor categories]]).<br /> <br /> Natural transformations also have a &quot;horizontal composition&quot;. If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}} and {{nobreak|1=ε : ''J'' → ''K''}} is a natural transformation between functors {{nobreak|1=''J'',''K'' : ''D'' → ''E''}}, then the composition of functors allows a composition of natural transformations {{nobreak|1=ηε : ''JF'' → ''KG''}}. This operation is also associative with identity, and the identity coincides with that for vertical composition. The two operations are related by an identity which exchanges vertical composition with horizontal composition.<br /> <br /> If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}}, and {{nobreak|1=''H'' : ''D'' → ''E''}} is another functor, then we can form the natural transformation {{nobreak|1=''H''η : ''HF'' → ''HG''}} by defining<br /> <br /> :&lt;math&gt; (H \eta)_X = H \eta_X. &lt;/math&gt;<br /> <br /> If on the other hand {{nobreak|1=''K'' : ''B'' → ''C''}} is a functor, the natural transformation {{nobreak|1=η''K'' : ''FK'' → ''GK''}} is defined by<br /> <br /> :&lt;math&gt; (\eta K)_X = \eta_{K(X)}.\, &lt;/math&gt;<br /> <br /> ==Functor categories==<br /> <br /> {{Main|Functor category}}<br /> If ''C'' is any category and ''I'' is a [[small category]], we can form the [[functor category]] ''C&lt;sup&gt;I&lt;/sup&gt;'' having as objects all functors from ''I'' to ''C'' and as morphisms the natural transformations between those functors. This forms a category since for any functor ''F'' there is an identity natural transformation {{nobreak|1=1&lt;sub&gt;''F''&lt;/sub&gt; : ''F'' → ''F''}} (which assigns to every object ''X'' the identity morphism on ''F''(''X'')) and the composition of two natural transformations (the &quot;vertical composition&quot; above) is again a natural transformation.<br /> <br /> The [[isomorphism]]s in ''C&lt;sup&gt;I&lt;/sup&gt;'' are precisely the natural isomorphisms. That is, a natural transformation {{nobreak|1=η : ''F'' → ''G''}} is a natural isomorphism if and only if there exists a natural transformation {{nobreak|1=ε : ''G'' → ''F''}} such that {{nobreak|1=ηε = 1&lt;sub&gt;''G''&lt;/sub&gt;}} and {{nobreak|1=εη = 1&lt;sub&gt;''F''&lt;/sub&gt;}}.<br /> <br /> The functor category ''C&lt;sup&gt;I&lt;/sup&gt;'' is especially useful if ''I'' arises from a [[directed graph]]. For instance, if ''I'' is the category of the directed graph {{nobreak|1=• → •}}, then ''C&lt;sup&gt;I&lt;/sup&gt;'' has as objects the morphisms of ''C'', and a morphism between {{nobreak|1=φ : ''U'' → ''V''}} and {{nobreak|1=ψ : ''X'' → ''Y''}} in ''C&lt;sup&gt;I&lt;/sup&gt;'' is a pair of morphisms {{nobreak|1=''f'' : ''U'' → ''X''}} and {{nobreak|1=''g'' : ''V'' → ''Y''}} in ''C'' such that the &quot;square commutes&quot;, i.e. {{nobreak|1=ψ ''f'' = ''g'' φ}}.<br /> <br /> More generally, one can build the [[2-category]] '''Cat''' whose<br /> * 0-cells (objects) are the small categories,<br /> * 1-cells (arrows) between two objects &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; are the functors from &lt;math&gt;C&lt;/math&gt; to &lt;math&gt;D&lt;/math&gt;,<br /> * 2-cells between two 1-cells (functors) &lt;math&gt;F:C\to D&lt;/math&gt; and &lt;math&gt;G:C\to D&lt;/math&gt; are the natural transformations from &lt;math&gt;F&lt;/math&gt; to &lt;math&gt;G&lt;/math&gt;.<br /> The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category &lt;math&gt;C^I&lt;/math&gt; is then simply a hom-category in this category (smallness issues aside).<br /> <br /> ==Yoneda lemma==<br /> <br /> {{Main|Yoneda lemma}}<br /> If ''X'' is an object of a [[locally small category]] ''C'', then the assignment {{nobreak|1=''Y'' {{mapsto}} Hom&lt;sub&gt;''C''&lt;/sub&gt;(''X'', ''Y'')}} defines a covariant functor {{nobreak|1=''F''&lt;sub&gt;''X''&lt;/sub&gt; : ''C'' → '''Set'''}}. This functor is called ''[[representable functor|representable]]'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of ''X''). The natural transformations from a representable functor to an arbitrary functor {{nobreak|1=''F'' : ''C'' → '''Set'''}} are completely known and easy to describe; this is the content of the [[Yoneda lemma]].<br /> <br /> == Historical notes ==<br /> {{Unreferenced section|date=October 2008}}<br /> [[Saunders Mac Lane]], one of the founders of category theory, is said to have remarked, &quot;I didn't invent categories to study functors; I invented them to study natural transformations.&quot;&lt;ref&gt;{{harv|MacLane|1998}}&lt;/ref&gt; Just as the study of [[group (mathematics)|groups]] is not complete without a study of [[group homomorphism|homomorphisms]], so the study of categories is not complete without the study of [[functor]]s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations.<br /> <br /> The context of Mac Lane's remark was the axiomatic theory of [[homology (mathematics)|homology]]. Different ways of constructing homology could be shown to coincide: for example in the case of a [[simplicial complex]] the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.<br /> <br /> ==Symbols used==<br /> * {{unichar|2297|CIRCLED TIMES|html=}}<br /> <br /> == See also ==<br /> * [[Extranatural transformation]]<br /> <br /> == References ==<br /> {{Portal|Category theory}}<br /> {{reflist}}<br /> {{refbegin}}<br /> *{{citation| first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8}}<br /> * {{citation|first1=Saunders|last1=MacLane|authorlink1=Saunders MacLane|first2=Garrett|last2=Birkhoff|authorlink2=Garrett Birkhoff|title=Algebra|edition=3rd|publisher=AMS Chelsea Publishing|year=1999|isbn=0-8218-1646-2}}.<br /> {{refend}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[es:Transformación natural]]<br /> [[fr:Transformation naturelle]]<br /> [[it:Trasformazione naturale]]<br /> [[nl:Natuurlijke transformatie]]<br /> [[ja:自然変換]]<br /> [[pl:Transformacja naturalna]]<br /> [[ru:Естественное преобразование]]<br /> [[sv:Naturlig transformation]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Natural_transformation&diff=522554693 Natural transformation 2012-11-11T23:40:09Z <p>Magmalex: /* References */</p> <hr /> <div>{{About|natural transformations in category theory|the natural competence of bacteria to take up foreign DNA|Transformation (genetics)}}<br /> {{other uses|Transformation (mathematics) (disambiguation)}}<br /> In [[category theory]], a branch of [[mathematics]], a '''natural transformation''' provides a way of transforming one [[functor]] into another while respecting the internal structure (i.e. the composition of [[morphism]]s) of the categories involved. Hence, a natural transformation can be considered to be a &quot;morphism of functors&quot;. Indeed this intuition can be formalized to define so-called [[functor category|functor categories]]. Natural transformations are, after categories and functors, one of the most basic notions of [[category theory]] and consequently appear in the majority of its applications.<br /> <br /> ==Definition==<br /> If ''F'' and ''G'' are [[functor]]s between the categories ''C'' and ''D'', then a '''natural transformation''' η from ''F'' to ''G'' associates to every object ''X'' in ''C'' a [[morphism]] {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} between objects of ''D'', called the '''component''' of η at ''X'', such that for every morphism {{nobreak|1=''f'' : ''X'' → ''Y'' in ''C''}} we have:<br /> <br /> :&lt;math&gt;\eta_Y \circ F(f) = G(f) \circ \eta_X&lt;/math&gt;<br /> <br /> This equation can conveniently be expressed by the [[commutative diagram]]<br /> <br /> [[File:Natural transformation.svg|175px]]<br /> <br /> If both ''F'' and ''G'' are [[contravariant functor|contravariant]], the horizontal arrows in this diagram are reversed. If η is a natural transformation from ''F'' to ''G'', we also write {{nobreak|1=η : ''F'' → ''G''}} or {{nobreak|1=η : ''F'' ⇒ ''G''}}. This is also expressed by saying the family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} is '''natural''' in ''X''.<br /> <br /> If, for every object ''X'' in ''C'', the morphism η&lt;sub&gt;''X''&lt;/sub&gt; is an [[isomorphism]] in ''D'', then η is said to be a '''{{visible anchor|natural isomorphism}}''' (or sometimes '''natural equivalence''' or '''isomorphism of functors'''). Two functors ''F'' and ''G'' are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from ''F'' to ''G''.<br /> <br /> An '''infranatural transformation''' η from ''F'' to ''G'' is simply a family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt;: ''F''(''X'') → ''G''(''X'')}}. Thus a natural transformation is an infranatural transformation for which {{nobreak|1=η&lt;sub&gt;''Y''&lt;/sub&gt; ∘ ''F''(''f'') = ''G''(''f'') ∘ η&lt;sub&gt;''X''&lt;/sub&gt;}} for every morphism {{nobreak|1=''f'' : ''X'' → ''Y''}}. The '''naturalizer''' of η, nat(η), is the largest [[subcategory]] of ''C'' containing all the objects of ''C'' on which η restricts to a natural transformation.<br /> <br /> ==Examples==<br /> ===Opposite group===<br /> {{details|Opposite group}}<br /> Statements such as<br /> :&quot;Every group is naturally isomorphic to its [[opposite group]]&quot;<br /> abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category '''Grp''' of all [[group (mathematics)|group]]s with [[group homomorphism]]s as morphisms. If (''G'',*) is a group, we define its opposite group (''G''&lt;sup&gt;op&lt;/sup&gt;,*&lt;sup&gt;op&lt;/sup&gt;) as follows: ''G''&lt;sup&gt;op&lt;/sup&gt; is the same set as ''G'', and the operation *&lt;sup&gt;op&lt;/sup&gt; is defined by {{nobreak|1=''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'' = ''b'' * ''a''}}. All multiplications in ''G''&lt;sup&gt;op&lt;/sup&gt; are thus &quot;turned around&quot;. Forming the [[Opposite category|opposite]] group becomes a (covariant!) functor from '''Grp''' to '''Grp''' if we define {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} for any group homomorphism {{nobreak|1=''f'': ''G'' → ''H''}}. Note that ''f''&lt;sup&gt;op&lt;/sup&gt; is indeed a group homomorphism from ''G''&lt;sup&gt;op&lt;/sup&gt; to ''H''&lt;sup&gt;op&lt;/sup&gt;:<br /> :''f''&lt;sup&gt;op&lt;/sup&gt;(''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'') = ''f''(''b'' * ''a'') = ''f''(''b'') * ''f''(''a'') = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a'') *&lt;sup&gt;op&lt;/sup&gt; ''f''&lt;sup&gt;op&lt;/sup&gt;(''b'').<br /> The content of the above statement is:<br /> :&quot;The identity functor {{nobreak|1=Id&lt;sub&gt;'''Grp'''&lt;/sub&gt; : '''Grp''' &amp;rarr; '''Grp'''}} is naturally isomorphic to the opposite functor {{nobreak|1=&lt;sup&gt;op&lt;/sup&gt; : '''Grp''' &amp;rarr; '''Grp'''}}.&quot;<br /> To prove this, we need to provide isomorphisms {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt; : ''G'' → ''G''&lt;sup&gt;op&lt;/sup&gt;}} for every group ''G'', such that the above diagram commutes. Set {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt;(''a'') = ''a''&lt;sup&gt;−1&lt;/sup&gt;}}. The formulas {{nobreak|1=(''ab'')&lt;sup&gt;−1&lt;/sup&gt; = ''b''&lt;sup&gt;−1&lt;/sup&gt; ''a''&lt;sup&gt;−1&lt;/sup&gt;}} and {{nobreak|1=(''a''&lt;sup&gt;−1&lt;/sup&gt;)&lt;sup&gt;−1&lt;/sup&gt; = ''a''}} show that η&lt;sub&gt;''G''&lt;/sub&gt; is a group homomorphism which is its own inverse. To prove the naturality, we start with a group homomorphism {{nobreak|1=''f'' : ''G'' → ''H''}} and show {{nobreak|1=η&lt;sub&gt;''H''&lt;/sub&gt; ∘ ''f'' = ''f''&lt;sup&gt;op&lt;/sup&gt; ∘ η&lt;sub&gt;''G''&lt;/sub&gt;}}, i.e. {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a''&lt;sup&gt;−1&lt;/sup&gt;)}} for all ''a'' in ''G''. This is true since {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} and every group homomorphism has the property {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''(''a''&lt;sup&gt;−1&lt;/sup&gt;)}}.<br /> <br /> ===Double dual of a finite dimensional vector space===<br /> If ''K'' is a [[field (mathematics)|field]], then for every [[vector space]] ''V'' over ''K'' we have a &quot;natural&quot; [[injective]] [[linear map]] {{nobreak|1=''V'' → ''V''**}} from the vector space into its [[double dual]]. These maps are &quot;natural&quot; in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.<br /> <br /> ===Counterexample: dual of a finite-dimensional vector space===<br /> Every finite-dimensional vector space is isomorphic to its dual space, but this isomorphism relies on an arbitrary choice of isomorphism (for example, via choosing a basis and then taking the isomorphism sending this basis to the corresponding [[dual basis]]). There is in general no natural isomorphism between a finite-dimensional vector space and its dual space.&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below.<br /> <br /> The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional data (such as a basis), there is no given map from a space to its dual, and thus such an isomorphism requires a choice, and is &quot;not natural&quot;. On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with ''all'' linear maps; see {{harv|MacLane|Birkhoff|1999|loc=§VI.4}} for detailed discussion.<br /> <br /> Starting from finite-dimensional vector spaces (as objects) and the dual functor, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from &quot;all linear maps&quot; to &quot;linear maps that respect this structure&quot;. Explicitly, for each vector space, require that it come with the data of an isomorphism to its dual, &lt;math&gt;\eta_V\colon V \to V^*.&lt;/math&gt; In other words, take as objects vector spaces with a [[nondegenerate bilinear form]] &lt;math&gt;b_V\colon V \times V \to K.&lt;/math&gt; This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps that commute with these isomorphism (restricts to the naturalizer of ''η''), in other words, restrict to the maps that do not change the bilinear form: &lt;math&gt;b(T(v),T(w))=b(v,w).&lt;/math&gt; The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces.<br /> <br /> In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a [[transpose]]. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric ([[orthogonal matrices]]), symmetric and positive definite ([[inner product space]]), symmetric sesquilinear ([[Hermitian space]]s), skew-symmetric and totally isotropic ([[symplectic vector space]]), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.<br /> <br /> ===Tensor-hom adjunction===<br /> {{see|Tensor-hom adjunction|Adjoint functors}}<br /> Consider the [[category of abelian groups|category '''Ab''' of abelian groups and group homomorphisms]]. For all abelian groups ''X'', ''Y'' and ''Z'' we have a group isomorphism<br /> :{{nobreak|1=Hom(''X'' {{otimes}} ''Y'', ''Z'') &amp;rarr; Hom(''X'', Hom(''Y'', ''Z''))}}.<br /> These isomorphisms are &quot;natural&quot; in the sense that they define a natural transformation between the two involved functors {{nobreak|1='''Ab''' &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; → '''Ab'''}}.<br /> <br /> This is formally the [[tensor-hom adjunction]], and is an archetypal example of a pair of [[adjoint functors]]. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.<br /> <br /> == Unnatural isomorphism ==<br /> The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a &quot;natural isomorphism&quot;, meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an '''unnatural isomorphism''' (or &quot;this isomorphism is not natural&quot;) if the map cannot be extended to a natural transformation on the entire category. Given an object ''X,'' a functor ''G'' (taking for simplicity the first functor to be the identity) and an isomorphism &lt;math&gt;\eta\colon X \to G(X),&lt;/math&gt; proof of unnaturality is most easily shown by giving an automorphism &lt;math&gt;A\colon X \to X&lt;/math&gt; that does not commute with this isomorphism (so &lt;math&gt;\eta \circ A \neq G(A) \circ \eta&lt;/math&gt;). More strongly, if one wishes to prove that ''X'' and ''G''(''X'') are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism ''η,'' there is some ''A'' with which it does not commute; in some cases a single automorphism ''A'' works for all candidate isomorphisms ''η,'' while in other cases one must show how to construct a different ''A''&lt;sub&gt;''η''&lt;/sub&gt; for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance.<br /> <br /> This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is &quot;not natural&quot;, or rather &quot;not unique&quot;, as automorphisms exist that do not preserve the direct sum decomposition – see [[Structure theorem for finitely generated modules over a principal ideal domain#Uniqueness]] for example.<br /> <br /> Some authors distinguish notationally, using ≅ for a natural isomorphism and ≈ for an unnatural isomorphism, reserving = for equality (usually equality of maps).<br /> <br /> == Operations with natural transformations ==<br /> If {{nobreak|1=η : ''F'' → ''G''}} and {{nobreak|1=ε : ''G'' → ''H''}} are natural transformations between functors {{nobreak|1=''F'',''G'',''H'' : ''C'' → ''D''}}, then we can compose them to get a natural transformation {{nobreak|1=εη : ''F'' → ''H''}}. This is done componentwise: {{nobreak|1=(εη)&lt;sub&gt;''X''&lt;/sub&gt; = ε&lt;sub&gt;''X''&lt;/sub&gt;η&lt;sub&gt;''X''&lt;/sub&gt;}}. This &quot;vertical composition&quot; of natural transformation is [[associative]] and has an identity, and allows one to consider the collection of all functors {{nobreak|1=''C'' → ''D''}} itself as a category (see below under [[#Functor categories|Functor categories]]).<br /> <br /> Natural transformations also have a &quot;horizontal composition&quot;. If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}} and {{nobreak|1=ε : ''J'' → ''K''}} is a natural transformation between functors {{nobreak|1=''J'',''K'' : ''D'' → ''E''}}, then the composition of functors allows a composition of natural transformations {{nobreak|1=ηε : ''JF'' → ''KG''}}. This operation is also associative with identity, and the identity coincides with that for vertical composition. The two operations are related by an identity which exchanges vertical composition with horizontal composition.<br /> <br /> If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}}, and {{nobreak|1=''H'' : ''D'' → ''E''}} is another functor, then we can form the natural transformation {{nobreak|1=''H''η : ''HF'' → ''HG''}} by defining<br /> <br /> :&lt;math&gt; (H \eta)_X = H \eta_X. &lt;/math&gt;<br /> <br /> If on the other hand {{nobreak|1=''K'' : ''B'' → ''C''}} is a functor, the natural transformation {{nobreak|1=η''K'' : ''FK'' → ''GK''}} is defined by<br /> <br /> :&lt;math&gt; (\eta K)_X = \eta_{K(X)}.\, &lt;/math&gt;<br /> <br /> ==Functor categories==<br /> <br /> {{Main|Functor category}}<br /> If ''C'' is any category and ''I'' is a [[small category]], we can form the [[functor category]] ''C&lt;sup&gt;I&lt;/sup&gt;'' having as objects all functors from ''I'' to ''C'' and as morphisms the natural transformations between those functors. This forms a category since for any functor ''F'' there is an identity natural transformation {{nobreak|1=1&lt;sub&gt;''F''&lt;/sub&gt; : ''F'' → ''F''}} (which assigns to every object ''X'' the identity morphism on ''F''(''X'')) and the composition of two natural transformations (the &quot;vertical composition&quot; above) is again a natural transformation.<br /> <br /> The [[isomorphism]]s in ''C&lt;sup&gt;I&lt;/sup&gt;'' are precisely the natural isomorphisms. That is, a natural transformation {{nobreak|1=η : ''F'' → ''G''}} is a natural isomorphism if and only if there exists a natural transformation {{nobreak|1=ε : ''G'' → ''F''}} such that {{nobreak|1=ηε = 1&lt;sub&gt;''G''&lt;/sub&gt;}} and {{nobreak|1=εη = 1&lt;sub&gt;''F''&lt;/sub&gt;}}.<br /> <br /> The functor category ''C&lt;sup&gt;I&lt;/sup&gt;'' is especially useful if ''I'' arises from a [[directed graph]]. For instance, if ''I'' is the category of the directed graph {{nobreak|1=• → •}}, then ''C&lt;sup&gt;I&lt;/sup&gt;'' has as objects the morphisms of ''C'', and a morphism between {{nobreak|1=φ : ''U'' → ''V''}} and {{nobreak|1=ψ : ''X'' → ''Y''}} in ''C&lt;sup&gt;I&lt;/sup&gt;'' is a pair of morphisms {{nobreak|1=''f'' : ''U'' → ''X''}} and {{nobreak|1=''g'' : ''V'' → ''Y''}} in ''C'' such that the &quot;square commutes&quot;, i.e. {{nobreak|1=ψ ''f'' = ''g'' φ}}.<br /> <br /> More generally, one can build the [[2-category]] '''Cat''' whose<br /> * 0-cells (objects) are the small categories,<br /> * 1-cells (arrows) between two objects &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; are the functors from &lt;math&gt;C&lt;/math&gt; to &lt;math&gt;D&lt;/math&gt;,<br /> * 2-cells between two 1-cells (functors) &lt;math&gt;F:C\to D&lt;/math&gt; and &lt;math&gt;G:C\to D&lt;/math&gt; are the natural transformations from &lt;math&gt;F&lt;/math&gt; to &lt;math&gt;G&lt;/math&gt;.<br /> The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category &lt;math&gt;C^I&lt;/math&gt; is then simply a hom-category in this category (smallness issues aside).<br /> <br /> ==Yoneda lemma==<br /> <br /> {{Main|Yoneda lemma}}<br /> If ''X'' is an object of a [[locally small category]] ''C'', then the assignment {{nobreak|1=''Y'' {{mapsto}} Hom&lt;sub&gt;''C''&lt;/sub&gt;(''X'', ''Y'')}} defines a covariant functor {{nobreak|1=''F''&lt;sub&gt;''X''&lt;/sub&gt; : ''C'' → '''Set'''}}. This functor is called ''[[representable functor|representable]]'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of ''X''). The natural transformations from a representable functor to an arbitrary functor {{nobreak|1=''F'' : ''C'' → '''Set'''}} are completely known and easy to describe; this is the content of the [[Yoneda lemma]].<br /> <br /> == Historical notes ==<br /> {{Unreferenced section|date=October 2008}}<br /> [[Saunders Mac Lane]], one of the founders of category theory, is said to have remarked, &quot;I didn't invent categories to study functors; I invented them to study natural transformations.&quot;&lt;ref&gt;{{harv|MacLane}}&lt;/ref&gt; Just as the study of [[group (mathematics)|groups]] is not complete without a study of [[group homomorphism|homomorphisms]], so the study of categories is not complete without the study of [[functor]]s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations.<br /> <br /> The context of Mac Lane's remark was the axiomatic theory of [[homology (mathematics)|homology]]. Different ways of constructing homology could be shown to coincide: for example in the case of a [[simplicial complex]] the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.<br /> <br /> ==Symbols used==<br /> * {{unichar|2297|CIRCLED TIMES|html=}}<br /> <br /> == See also ==<br /> * [[Extranatural transformation]]<br /> <br /> == References ==<br /> {{Portal|Category theory}}<br /> {{reflist}}<br /> {{refbegin}}<br /> *{{citation| first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8}}<br /> * {{citation|first1=Saunders|last1=MacLane|authorlink1=Saunders MacLane|first2=Garrett|last2=Birkhoff|authorlink2=Garrett Birkhoff|title=Algebra|edition=3rd|publisher=AMS Chelsea Publishing|year=1999|isbn=0-8218-1646-2}}.<br /> {{refend}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[es:Transformación natural]]<br /> [[fr:Transformation naturelle]]<br /> [[it:Trasformazione naturale]]<br /> [[nl:Natuurlijke transformatie]]<br /> [[ja:自然変換]]<br /> [[pl:Transformacja naturalna]]<br /> [[ru:Естественное преобразование]]<br /> [[sv:Naturlig transformation]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Natural_transformation&diff=522554317 Natural transformation 2012-11-11T23:36:55Z <p>Magmalex: /* Historical notes */</p> <hr /> <div>{{About|natural transformations in category theory|the natural competence of bacteria to take up foreign DNA|Transformation (genetics)}}<br /> {{other uses|Transformation (mathematics) (disambiguation)}}<br /> In [[category theory]], a branch of [[mathematics]], a '''natural transformation''' provides a way of transforming one [[functor]] into another while respecting the internal structure (i.e. the composition of [[morphism]]s) of the categories involved. Hence, a natural transformation can be considered to be a &quot;morphism of functors&quot;. Indeed this intuition can be formalized to define so-called [[functor category|functor categories]]. Natural transformations are, after categories and functors, one of the most basic notions of [[category theory]] and consequently appear in the majority of its applications.<br /> <br /> ==Definition==<br /> If ''F'' and ''G'' are [[functor]]s between the categories ''C'' and ''D'', then a '''natural transformation''' η from ''F'' to ''G'' associates to every object ''X'' in ''C'' a [[morphism]] {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} between objects of ''D'', called the '''component''' of η at ''X'', such that for every morphism {{nobreak|1=''f'' : ''X'' → ''Y'' in ''C''}} we have:<br /> <br /> :&lt;math&gt;\eta_Y \circ F(f) = G(f) \circ \eta_X&lt;/math&gt;<br /> <br /> This equation can conveniently be expressed by the [[commutative diagram]]<br /> <br /> [[File:Natural transformation.svg|175px]]<br /> <br /> If both ''F'' and ''G'' are [[contravariant functor|contravariant]], the horizontal arrows in this diagram are reversed. If η is a natural transformation from ''F'' to ''G'', we also write {{nobreak|1=η : ''F'' → ''G''}} or {{nobreak|1=η : ''F'' ⇒ ''G''}}. This is also expressed by saying the family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} is '''natural''' in ''X''.<br /> <br /> If, for every object ''X'' in ''C'', the morphism η&lt;sub&gt;''X''&lt;/sub&gt; is an [[isomorphism]] in ''D'', then η is said to be a '''{{visible anchor|natural isomorphism}}''' (or sometimes '''natural equivalence''' or '''isomorphism of functors'''). Two functors ''F'' and ''G'' are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from ''F'' to ''G''.<br /> <br /> An '''infranatural transformation''' η from ''F'' to ''G'' is simply a family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt;: ''F''(''X'') → ''G''(''X'')}}. Thus a natural transformation is an infranatural transformation for which {{nobreak|1=η&lt;sub&gt;''Y''&lt;/sub&gt; ∘ ''F''(''f'') = ''G''(''f'') ∘ η&lt;sub&gt;''X''&lt;/sub&gt;}} for every morphism {{nobreak|1=''f'' : ''X'' → ''Y''}}. The '''naturalizer''' of η, nat(η), is the largest [[subcategory]] of ''C'' containing all the objects of ''C'' on which η restricts to a natural transformation.<br /> <br /> ==Examples==<br /> ===Opposite group===<br /> {{details|Opposite group}}<br /> Statements such as<br /> :&quot;Every group is naturally isomorphic to its [[opposite group]]&quot;<br /> abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category '''Grp''' of all [[group (mathematics)|group]]s with [[group homomorphism]]s as morphisms. If (''G'',*) is a group, we define its opposite group (''G''&lt;sup&gt;op&lt;/sup&gt;,*&lt;sup&gt;op&lt;/sup&gt;) as follows: ''G''&lt;sup&gt;op&lt;/sup&gt; is the same set as ''G'', and the operation *&lt;sup&gt;op&lt;/sup&gt; is defined by {{nobreak|1=''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'' = ''b'' * ''a''}}. All multiplications in ''G''&lt;sup&gt;op&lt;/sup&gt; are thus &quot;turned around&quot;. Forming the [[Opposite category|opposite]] group becomes a (covariant!) functor from '''Grp''' to '''Grp''' if we define {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} for any group homomorphism {{nobreak|1=''f'': ''G'' → ''H''}}. Note that ''f''&lt;sup&gt;op&lt;/sup&gt; is indeed a group homomorphism from ''G''&lt;sup&gt;op&lt;/sup&gt; to ''H''&lt;sup&gt;op&lt;/sup&gt;:<br /> :''f''&lt;sup&gt;op&lt;/sup&gt;(''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'') = ''f''(''b'' * ''a'') = ''f''(''b'') * ''f''(''a'') = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a'') *&lt;sup&gt;op&lt;/sup&gt; ''f''&lt;sup&gt;op&lt;/sup&gt;(''b'').<br /> The content of the above statement is:<br /> :&quot;The identity functor {{nobreak|1=Id&lt;sub&gt;'''Grp'''&lt;/sub&gt; : '''Grp''' &amp;rarr; '''Grp'''}} is naturally isomorphic to the opposite functor {{nobreak|1=&lt;sup&gt;op&lt;/sup&gt; : '''Grp''' &amp;rarr; '''Grp'''}}.&quot;<br /> To prove this, we need to provide isomorphisms {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt; : ''G'' → ''G''&lt;sup&gt;op&lt;/sup&gt;}} for every group ''G'', such that the above diagram commutes. Set {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt;(''a'') = ''a''&lt;sup&gt;−1&lt;/sup&gt;}}. The formulas {{nobreak|1=(''ab'')&lt;sup&gt;−1&lt;/sup&gt; = ''b''&lt;sup&gt;−1&lt;/sup&gt; ''a''&lt;sup&gt;−1&lt;/sup&gt;}} and {{nobreak|1=(''a''&lt;sup&gt;−1&lt;/sup&gt;)&lt;sup&gt;−1&lt;/sup&gt; = ''a''}} show that η&lt;sub&gt;''G''&lt;/sub&gt; is a group homomorphism which is its own inverse. To prove the naturality, we start with a group homomorphism {{nobreak|1=''f'' : ''G'' → ''H''}} and show {{nobreak|1=η&lt;sub&gt;''H''&lt;/sub&gt; ∘ ''f'' = ''f''&lt;sup&gt;op&lt;/sup&gt; ∘ η&lt;sub&gt;''G''&lt;/sub&gt;}}, i.e. {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a''&lt;sup&gt;−1&lt;/sup&gt;)}} for all ''a'' in ''G''. This is true since {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} and every group homomorphism has the property {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''(''a''&lt;sup&gt;−1&lt;/sup&gt;)}}.<br /> <br /> ===Double dual of a finite dimensional vector space===<br /> If ''K'' is a [[field (mathematics)|field]], then for every [[vector space]] ''V'' over ''K'' we have a &quot;natural&quot; [[injective]] [[linear map]] {{nobreak|1=''V'' → ''V''**}} from the vector space into its [[double dual]]. These maps are &quot;natural&quot; in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.<br /> <br /> ===Counterexample: dual of a finite-dimensional vector space===<br /> Every finite-dimensional vector space is isomorphic to its dual space, but this isomorphism relies on an arbitrary choice of isomorphism (for example, via choosing a basis and then taking the isomorphism sending this basis to the corresponding [[dual basis]]). There is in general no natural isomorphism between a finite-dimensional vector space and its dual space.&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below.<br /> <br /> The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional data (such as a basis), there is no given map from a space to its dual, and thus such an isomorphism requires a choice, and is &quot;not natural&quot;. On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with ''all'' linear maps; see {{harv|MacLane|Birkhoff|1999|loc=§VI.4}} for detailed discussion.<br /> <br /> Starting from finite-dimensional vector spaces (as objects) and the dual functor, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from &quot;all linear maps&quot; to &quot;linear maps that respect this structure&quot;. Explicitly, for each vector space, require that it come with the data of an isomorphism to its dual, &lt;math&gt;\eta_V\colon V \to V^*.&lt;/math&gt; In other words, take as objects vector spaces with a [[nondegenerate bilinear form]] &lt;math&gt;b_V\colon V \times V \to K.&lt;/math&gt; This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps that commute with these isomorphism (restricts to the naturalizer of ''η''), in other words, restrict to the maps that do not change the bilinear form: &lt;math&gt;b(T(v),T(w))=b(v,w).&lt;/math&gt; The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces.<br /> <br /> In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a [[transpose]]. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric ([[orthogonal matrices]]), symmetric and positive definite ([[inner product space]]), symmetric sesquilinear ([[Hermitian space]]s), skew-symmetric and totally isotropic ([[symplectic vector space]]), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.<br /> <br /> ===Tensor-hom adjunction===<br /> {{see|Tensor-hom adjunction|Adjoint functors}}<br /> Consider the [[category of abelian groups|category '''Ab''' of abelian groups and group homomorphisms]]. For all abelian groups ''X'', ''Y'' and ''Z'' we have a group isomorphism<br /> :{{nobreak|1=Hom(''X'' {{otimes}} ''Y'', ''Z'') &amp;rarr; Hom(''X'', Hom(''Y'', ''Z''))}}.<br /> These isomorphisms are &quot;natural&quot; in the sense that they define a natural transformation between the two involved functors {{nobreak|1='''Ab''' &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; → '''Ab'''}}.<br /> <br /> This is formally the [[tensor-hom adjunction]], and is an archetypal example of a pair of [[adjoint functors]]. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.<br /> <br /> == Unnatural isomorphism ==<br /> The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a &quot;natural isomorphism&quot;, meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an '''unnatural isomorphism''' (or &quot;this isomorphism is not natural&quot;) if the map cannot be extended to a natural transformation on the entire category. Given an object ''X,'' a functor ''G'' (taking for simplicity the first functor to be the identity) and an isomorphism &lt;math&gt;\eta\colon X \to G(X),&lt;/math&gt; proof of unnaturality is most easily shown by giving an automorphism &lt;math&gt;A\colon X \to X&lt;/math&gt; that does not commute with this isomorphism (so &lt;math&gt;\eta \circ A \neq G(A) \circ \eta&lt;/math&gt;). More strongly, if one wishes to prove that ''X'' and ''G''(''X'') are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism ''η,'' there is some ''A'' with which it does not commute; in some cases a single automorphism ''A'' works for all candidate isomorphisms ''η,'' while in other cases one must show how to construct a different ''A''&lt;sub&gt;''η''&lt;/sub&gt; for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance.<br /> <br /> This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is &quot;not natural&quot;, or rather &quot;not unique&quot;, as automorphisms exist that do not preserve the direct sum decomposition – see [[Structure theorem for finitely generated modules over a principal ideal domain#Uniqueness]] for example.<br /> <br /> Some authors distinguish notationally, using ≅ for a natural isomorphism and ≈ for an unnatural isomorphism, reserving = for equality (usually equality of maps).<br /> <br /> == Operations with natural transformations ==<br /> If {{nobreak|1=η : ''F'' → ''G''}} and {{nobreak|1=ε : ''G'' → ''H''}} are natural transformations between functors {{nobreak|1=''F'',''G'',''H'' : ''C'' → ''D''}}, then we can compose them to get a natural transformation {{nobreak|1=εη : ''F'' → ''H''}}. This is done componentwise: {{nobreak|1=(εη)&lt;sub&gt;''X''&lt;/sub&gt; = ε&lt;sub&gt;''X''&lt;/sub&gt;η&lt;sub&gt;''X''&lt;/sub&gt;}}. This &quot;vertical composition&quot; of natural transformation is [[associative]] and has an identity, and allows one to consider the collection of all functors {{nobreak|1=''C'' → ''D''}} itself as a category (see below under [[#Functor categories|Functor categories]]).<br /> <br /> Natural transformations also have a &quot;horizontal composition&quot;. If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}} and {{nobreak|1=ε : ''J'' → ''K''}} is a natural transformation between functors {{nobreak|1=''J'',''K'' : ''D'' → ''E''}}, then the composition of functors allows a composition of natural transformations {{nobreak|1=ηε : ''JF'' → ''KG''}}. This operation is also associative with identity, and the identity coincides with that for vertical composition. The two operations are related by an identity which exchanges vertical composition with horizontal composition.<br /> <br /> If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}}, and {{nobreak|1=''H'' : ''D'' → ''E''}} is another functor, then we can form the natural transformation {{nobreak|1=''H''η : ''HF'' → ''HG''}} by defining<br /> <br /> :&lt;math&gt; (H \eta)_X = H \eta_X. &lt;/math&gt;<br /> <br /> If on the other hand {{nobreak|1=''K'' : ''B'' → ''C''}} is a functor, the natural transformation {{nobreak|1=η''K'' : ''FK'' → ''GK''}} is defined by<br /> <br /> :&lt;math&gt; (\eta K)_X = \eta_{K(X)}.\, &lt;/math&gt;<br /> <br /> ==Functor categories==<br /> <br /> {{Main|Functor category}}<br /> If ''C'' is any category and ''I'' is a [[small category]], we can form the [[functor category]] ''C&lt;sup&gt;I&lt;/sup&gt;'' having as objects all functors from ''I'' to ''C'' and as morphisms the natural transformations between those functors. This forms a category since for any functor ''F'' there is an identity natural transformation {{nobreak|1=1&lt;sub&gt;''F''&lt;/sub&gt; : ''F'' → ''F''}} (which assigns to every object ''X'' the identity morphism on ''F''(''X'')) and the composition of two natural transformations (the &quot;vertical composition&quot; above) is again a natural transformation.<br /> <br /> The [[isomorphism]]s in ''C&lt;sup&gt;I&lt;/sup&gt;'' are precisely the natural isomorphisms. That is, a natural transformation {{nobreak|1=η : ''F'' → ''G''}} is a natural isomorphism if and only if there exists a natural transformation {{nobreak|1=ε : ''G'' → ''F''}} such that {{nobreak|1=ηε = 1&lt;sub&gt;''G''&lt;/sub&gt;}} and {{nobreak|1=εη = 1&lt;sub&gt;''F''&lt;/sub&gt;}}.<br /> <br /> The functor category ''C&lt;sup&gt;I&lt;/sup&gt;'' is especially useful if ''I'' arises from a [[directed graph]]. For instance, if ''I'' is the category of the directed graph {{nobreak|1=• → •}}, then ''C&lt;sup&gt;I&lt;/sup&gt;'' has as objects the morphisms of ''C'', and a morphism between {{nobreak|1=φ : ''U'' → ''V''}} and {{nobreak|1=ψ : ''X'' → ''Y''}} in ''C&lt;sup&gt;I&lt;/sup&gt;'' is a pair of morphisms {{nobreak|1=''f'' : ''U'' → ''X''}} and {{nobreak|1=''g'' : ''V'' → ''Y''}} in ''C'' such that the &quot;square commutes&quot;, i.e. {{nobreak|1=ψ ''f'' = ''g'' φ}}.<br /> <br /> More generally, one can build the [[2-category]] '''Cat''' whose<br /> * 0-cells (objects) are the small categories,<br /> * 1-cells (arrows) between two objects &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; are the functors from &lt;math&gt;C&lt;/math&gt; to &lt;math&gt;D&lt;/math&gt;,<br /> * 2-cells between two 1-cells (functors) &lt;math&gt;F:C\to D&lt;/math&gt; and &lt;math&gt;G:C\to D&lt;/math&gt; are the natural transformations from &lt;math&gt;F&lt;/math&gt; to &lt;math&gt;G&lt;/math&gt;.<br /> The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category &lt;math&gt;C^I&lt;/math&gt; is then simply a hom-category in this category (smallness issues aside).<br /> <br /> ==Yoneda lemma==<br /> <br /> {{Main|Yoneda lemma}}<br /> If ''X'' is an object of a [[locally small category]] ''C'', then the assignment {{nobreak|1=''Y'' {{mapsto}} Hom&lt;sub&gt;''C''&lt;/sub&gt;(''X'', ''Y'')}} defines a covariant functor {{nobreak|1=''F''&lt;sub&gt;''X''&lt;/sub&gt; : ''C'' → '''Set'''}}. This functor is called ''[[representable functor|representable]]'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of ''X''). The natural transformations from a representable functor to an arbitrary functor {{nobreak|1=''F'' : ''C'' → '''Set'''}} are completely known and easy to describe; this is the content of the [[Yoneda lemma]].<br /> <br /> == Historical notes ==<br /> {{Unreferenced section|date=October 2008}}<br /> [[Saunders Mac Lane]], one of the founders of category theory, is said to have remarked, &quot;I didn't invent categories to study functors; I invented them to study natural transformations.&quot;&lt;ref&gt;{{harv|MacLane}}&lt;/ref&gt; Just as the study of [[group (mathematics)|groups]] is not complete without a study of [[group homomorphism|homomorphisms]], so the study of categories is not complete without the study of [[functor]]s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations.<br /> <br /> The context of Mac Lane's remark was the axiomatic theory of [[homology (mathematics)|homology]]. Different ways of constructing homology could be shown to coincide: for example in the case of a [[simplicial complex]] the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.<br /> <br /> ==Symbols used==<br /> * {{unichar|2297|CIRCLED TIMES|html=}}<br /> <br /> == See also ==<br /> * [[Extranatural transformation]]<br /> <br /> == References ==<br /> {{Portal|Category theory}}<br /> {{reflist}}<br /> {{refbegin}}<br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8}}<br /> * {{citation|first1=Saunders|last1=MacLane|authorlink1=Saunders MacLane|first2=Garrett|last2=Birkhoff|authorlink2=Garrett Birkhoff|title=Algebra|edition=3rd|publisher=AMS Chelsea Publishing|year=1999|isbn=0-8218-1646-2}}.<br /> {{refend}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[es:Transformación natural]]<br /> [[fr:Transformation naturelle]]<br /> [[it:Trasformazione naturale]]<br /> [[nl:Natuurlijke transformatie]]<br /> [[ja:自然変換]]<br /> [[pl:Transformacja naturalna]]<br /> [[ru:Естественное преобразование]]<br /> [[sv:Naturlig transformation]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Natural_transformation&diff=522553885 Natural transformation 2012-11-11T23:33:22Z <p>Magmalex: /* Historical notes */ Inline reference</p> <hr /> <div>{{About|natural transformations in category theory|the natural competence of bacteria to take up foreign DNA|Transformation (genetics)}}<br /> {{other uses|Transformation (mathematics) (disambiguation)}}<br /> In [[category theory]], a branch of [[mathematics]], a '''natural transformation''' provides a way of transforming one [[functor]] into another while respecting the internal structure (i.e. the composition of [[morphism]]s) of the categories involved. Hence, a natural transformation can be considered to be a &quot;morphism of functors&quot;. Indeed this intuition can be formalized to define so-called [[functor category|functor categories]]. Natural transformations are, after categories and functors, one of the most basic notions of [[category theory]] and consequently appear in the majority of its applications.<br /> <br /> ==Definition==<br /> If ''F'' and ''G'' are [[functor]]s between the categories ''C'' and ''D'', then a '''natural transformation''' η from ''F'' to ''G'' associates to every object ''X'' in ''C'' a [[morphism]] {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} between objects of ''D'', called the '''component''' of η at ''X'', such that for every morphism {{nobreak|1=''f'' : ''X'' → ''Y'' in ''C''}} we have:<br /> <br /> :&lt;math&gt;\eta_Y \circ F(f) = G(f) \circ \eta_X&lt;/math&gt;<br /> <br /> This equation can conveniently be expressed by the [[commutative diagram]]<br /> <br /> [[File:Natural transformation.svg|175px]]<br /> <br /> If both ''F'' and ''G'' are [[contravariant functor|contravariant]], the horizontal arrows in this diagram are reversed. If η is a natural transformation from ''F'' to ''G'', we also write {{nobreak|1=η : ''F'' → ''G''}} or {{nobreak|1=η : ''F'' ⇒ ''G''}}. This is also expressed by saying the family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} is '''natural''' in ''X''.<br /> <br /> If, for every object ''X'' in ''C'', the morphism η&lt;sub&gt;''X''&lt;/sub&gt; is an [[isomorphism]] in ''D'', then η is said to be a '''{{visible anchor|natural isomorphism}}''' (or sometimes '''natural equivalence''' or '''isomorphism of functors'''). Two functors ''F'' and ''G'' are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from ''F'' to ''G''.<br /> <br /> An '''infranatural transformation''' η from ''F'' to ''G'' is simply a family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt;: ''F''(''X'') → ''G''(''X'')}}. Thus a natural transformation is an infranatural transformation for which {{nobreak|1=η&lt;sub&gt;''Y''&lt;/sub&gt; ∘ ''F''(''f'') = ''G''(''f'') ∘ η&lt;sub&gt;''X''&lt;/sub&gt;}} for every morphism {{nobreak|1=''f'' : ''X'' → ''Y''}}. The '''naturalizer''' of η, nat(η), is the largest [[subcategory]] of ''C'' containing all the objects of ''C'' on which η restricts to a natural transformation.<br /> <br /> ==Examples==<br /> ===Opposite group===<br /> {{details|Opposite group}}<br /> Statements such as<br /> :&quot;Every group is naturally isomorphic to its [[opposite group]]&quot;<br /> abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category '''Grp''' of all [[group (mathematics)|group]]s with [[group homomorphism]]s as morphisms. If (''G'',*) is a group, we define its opposite group (''G''&lt;sup&gt;op&lt;/sup&gt;,*&lt;sup&gt;op&lt;/sup&gt;) as follows: ''G''&lt;sup&gt;op&lt;/sup&gt; is the same set as ''G'', and the operation *&lt;sup&gt;op&lt;/sup&gt; is defined by {{nobreak|1=''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'' = ''b'' * ''a''}}. All multiplications in ''G''&lt;sup&gt;op&lt;/sup&gt; are thus &quot;turned around&quot;. Forming the [[Opposite category|opposite]] group becomes a (covariant!) functor from '''Grp''' to '''Grp''' if we define {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} for any group homomorphism {{nobreak|1=''f'': ''G'' → ''H''}}. Note that ''f''&lt;sup&gt;op&lt;/sup&gt; is indeed a group homomorphism from ''G''&lt;sup&gt;op&lt;/sup&gt; to ''H''&lt;sup&gt;op&lt;/sup&gt;:<br /> :''f''&lt;sup&gt;op&lt;/sup&gt;(''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'') = ''f''(''b'' * ''a'') = ''f''(''b'') * ''f''(''a'') = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a'') *&lt;sup&gt;op&lt;/sup&gt; ''f''&lt;sup&gt;op&lt;/sup&gt;(''b'').<br /> The content of the above statement is:<br /> :&quot;The identity functor {{nobreak|1=Id&lt;sub&gt;'''Grp'''&lt;/sub&gt; : '''Grp''' &amp;rarr; '''Grp'''}} is naturally isomorphic to the opposite functor {{nobreak|1=&lt;sup&gt;op&lt;/sup&gt; : '''Grp''' &amp;rarr; '''Grp'''}}.&quot;<br /> To prove this, we need to provide isomorphisms {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt; : ''G'' → ''G''&lt;sup&gt;op&lt;/sup&gt;}} for every group ''G'', such that the above diagram commutes. Set {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt;(''a'') = ''a''&lt;sup&gt;−1&lt;/sup&gt;}}. The formulas {{nobreak|1=(''ab'')&lt;sup&gt;−1&lt;/sup&gt; = ''b''&lt;sup&gt;−1&lt;/sup&gt; ''a''&lt;sup&gt;−1&lt;/sup&gt;}} and {{nobreak|1=(''a''&lt;sup&gt;−1&lt;/sup&gt;)&lt;sup&gt;−1&lt;/sup&gt; = ''a''}} show that η&lt;sub&gt;''G''&lt;/sub&gt; is a group homomorphism which is its own inverse. To prove the naturality, we start with a group homomorphism {{nobreak|1=''f'' : ''G'' → ''H''}} and show {{nobreak|1=η&lt;sub&gt;''H''&lt;/sub&gt; ∘ ''f'' = ''f''&lt;sup&gt;op&lt;/sup&gt; ∘ η&lt;sub&gt;''G''&lt;/sub&gt;}}, i.e. {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a''&lt;sup&gt;−1&lt;/sup&gt;)}} for all ''a'' in ''G''. This is true since {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} and every group homomorphism has the property {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''(''a''&lt;sup&gt;−1&lt;/sup&gt;)}}.<br /> <br /> ===Double dual of a finite dimensional vector space===<br /> If ''K'' is a [[field (mathematics)|field]], then for every [[vector space]] ''V'' over ''K'' we have a &quot;natural&quot; [[injective]] [[linear map]] {{nobreak|1=''V'' → ''V''**}} from the vector space into its [[double dual]]. These maps are &quot;natural&quot; in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.<br /> <br /> ===Counterexample: dual of a finite-dimensional vector space===<br /> Every finite-dimensional vector space is isomorphic to its dual space, but this isomorphism relies on an arbitrary choice of isomorphism (for example, via choosing a basis and then taking the isomorphism sending this basis to the corresponding [[dual basis]]). There is in general no natural isomorphism between a finite-dimensional vector space and its dual space.&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below.<br /> <br /> The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional data (such as a basis), there is no given map from a space to its dual, and thus such an isomorphism requires a choice, and is &quot;not natural&quot;. On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with ''all'' linear maps; see {{harv|MacLane|Birkhoff|1999|loc=§VI.4}} for detailed discussion.<br /> <br /> Starting from finite-dimensional vector spaces (as objects) and the dual functor, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from &quot;all linear maps&quot; to &quot;linear maps that respect this structure&quot;. Explicitly, for each vector space, require that it come with the data of an isomorphism to its dual, &lt;math&gt;\eta_V\colon V \to V^*.&lt;/math&gt; In other words, take as objects vector spaces with a [[nondegenerate bilinear form]] &lt;math&gt;b_V\colon V \times V \to K.&lt;/math&gt; This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps that commute with these isomorphism (restricts to the naturalizer of ''η''), in other words, restrict to the maps that do not change the bilinear form: &lt;math&gt;b(T(v),T(w))=b(v,w).&lt;/math&gt; The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces.<br /> <br /> In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a [[transpose]]. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric ([[orthogonal matrices]]), symmetric and positive definite ([[inner product space]]), symmetric sesquilinear ([[Hermitian space]]s), skew-symmetric and totally isotropic ([[symplectic vector space]]), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.<br /> <br /> ===Tensor-hom adjunction===<br /> {{see|Tensor-hom adjunction|Adjoint functors}}<br /> Consider the [[category of abelian groups|category '''Ab''' of abelian groups and group homomorphisms]]. For all abelian groups ''X'', ''Y'' and ''Z'' we have a group isomorphism<br /> :{{nobreak|1=Hom(''X'' {{otimes}} ''Y'', ''Z'') &amp;rarr; Hom(''X'', Hom(''Y'', ''Z''))}}.<br /> These isomorphisms are &quot;natural&quot; in the sense that they define a natural transformation between the two involved functors {{nobreak|1='''Ab''' &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; → '''Ab'''}}.<br /> <br /> This is formally the [[tensor-hom adjunction]], and is an archetypal example of a pair of [[adjoint functors]]. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.<br /> <br /> == Unnatural isomorphism ==<br /> The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a &quot;natural isomorphism&quot;, meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an '''unnatural isomorphism''' (or &quot;this isomorphism is not natural&quot;) if the map cannot be extended to a natural transformation on the entire category. Given an object ''X,'' a functor ''G'' (taking for simplicity the first functor to be the identity) and an isomorphism &lt;math&gt;\eta\colon X \to G(X),&lt;/math&gt; proof of unnaturality is most easily shown by giving an automorphism &lt;math&gt;A\colon X \to X&lt;/math&gt; that does not commute with this isomorphism (so &lt;math&gt;\eta \circ A \neq G(A) \circ \eta&lt;/math&gt;). More strongly, if one wishes to prove that ''X'' and ''G''(''X'') are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism ''η,'' there is some ''A'' with which it does not commute; in some cases a single automorphism ''A'' works for all candidate isomorphisms ''η,'' while in other cases one must show how to construct a different ''A''&lt;sub&gt;''η''&lt;/sub&gt; for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance.<br /> <br /> This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is &quot;not natural&quot;, or rather &quot;not unique&quot;, as automorphisms exist that do not preserve the direct sum decomposition – see [[Structure theorem for finitely generated modules over a principal ideal domain#Uniqueness]] for example.<br /> <br /> Some authors distinguish notationally, using ≅ for a natural isomorphism and ≈ for an unnatural isomorphism, reserving = for equality (usually equality of maps).<br /> <br /> == Operations with natural transformations ==<br /> If {{nobreak|1=η : ''F'' → ''G''}} and {{nobreak|1=ε : ''G'' → ''H''}} are natural transformations between functors {{nobreak|1=''F'',''G'',''H'' : ''C'' → ''D''}}, then we can compose them to get a natural transformation {{nobreak|1=εη : ''F'' → ''H''}}. This is done componentwise: {{nobreak|1=(εη)&lt;sub&gt;''X''&lt;/sub&gt; = ε&lt;sub&gt;''X''&lt;/sub&gt;η&lt;sub&gt;''X''&lt;/sub&gt;}}. This &quot;vertical composition&quot; of natural transformation is [[associative]] and has an identity, and allows one to consider the collection of all functors {{nobreak|1=''C'' → ''D''}} itself as a category (see below under [[#Functor categories|Functor categories]]).<br /> <br /> Natural transformations also have a &quot;horizontal composition&quot;. If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}} and {{nobreak|1=ε : ''J'' → ''K''}} is a natural transformation between functors {{nobreak|1=''J'',''K'' : ''D'' → ''E''}}, then the composition of functors allows a composition of natural transformations {{nobreak|1=ηε : ''JF'' → ''KG''}}. This operation is also associative with identity, and the identity coincides with that for vertical composition. The two operations are related by an identity which exchanges vertical composition with horizontal composition.<br /> <br /> If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}}, and {{nobreak|1=''H'' : ''D'' → ''E''}} is another functor, then we can form the natural transformation {{nobreak|1=''H''η : ''HF'' → ''HG''}} by defining<br /> <br /> :&lt;math&gt; (H \eta)_X = H \eta_X. &lt;/math&gt;<br /> <br /> If on the other hand {{nobreak|1=''K'' : ''B'' → ''C''}} is a functor, the natural transformation {{nobreak|1=η''K'' : ''FK'' → ''GK''}} is defined by<br /> <br /> :&lt;math&gt; (\eta K)_X = \eta_{K(X)}.\, &lt;/math&gt;<br /> <br /> ==Functor categories==<br /> <br /> {{Main|Functor category}}<br /> If ''C'' is any category and ''I'' is a [[small category]], we can form the [[functor category]] ''C&lt;sup&gt;I&lt;/sup&gt;'' having as objects all functors from ''I'' to ''C'' and as morphisms the natural transformations between those functors. This forms a category since for any functor ''F'' there is an identity natural transformation {{nobreak|1=1&lt;sub&gt;''F''&lt;/sub&gt; : ''F'' → ''F''}} (which assigns to every object ''X'' the identity morphism on ''F''(''X'')) and the composition of two natural transformations (the &quot;vertical composition&quot; above) is again a natural transformation.<br /> <br /> The [[isomorphism]]s in ''C&lt;sup&gt;I&lt;/sup&gt;'' are precisely the natural isomorphisms. That is, a natural transformation {{nobreak|1=η : ''F'' → ''G''}} is a natural isomorphism if and only if there exists a natural transformation {{nobreak|1=ε : ''G'' → ''F''}} such that {{nobreak|1=ηε = 1&lt;sub&gt;''G''&lt;/sub&gt;}} and {{nobreak|1=εη = 1&lt;sub&gt;''F''&lt;/sub&gt;}}.<br /> <br /> The functor category ''C&lt;sup&gt;I&lt;/sup&gt;'' is especially useful if ''I'' arises from a [[directed graph]]. For instance, if ''I'' is the category of the directed graph {{nobreak|1=• → •}}, then ''C&lt;sup&gt;I&lt;/sup&gt;'' has as objects the morphisms of ''C'', and a morphism between {{nobreak|1=φ : ''U'' → ''V''}} and {{nobreak|1=ψ : ''X'' → ''Y''}} in ''C&lt;sup&gt;I&lt;/sup&gt;'' is a pair of morphisms {{nobreak|1=''f'' : ''U'' → ''X''}} and {{nobreak|1=''g'' : ''V'' → ''Y''}} in ''C'' such that the &quot;square commutes&quot;, i.e. {{nobreak|1=ψ ''f'' = ''g'' φ}}.<br /> <br /> More generally, one can build the [[2-category]] '''Cat''' whose<br /> * 0-cells (objects) are the small categories,<br /> * 1-cells (arrows) between two objects &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; are the functors from &lt;math&gt;C&lt;/math&gt; to &lt;math&gt;D&lt;/math&gt;,<br /> * 2-cells between two 1-cells (functors) &lt;math&gt;F:C\to D&lt;/math&gt; and &lt;math&gt;G:C\to D&lt;/math&gt; are the natural transformations from &lt;math&gt;F&lt;/math&gt; to &lt;math&gt;G&lt;/math&gt;.<br /> The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category &lt;math&gt;C^I&lt;/math&gt; is then simply a hom-category in this category (smallness issues aside).<br /> <br /> ==Yoneda lemma==<br /> <br /> {{Main|Yoneda lemma}}<br /> If ''X'' is an object of a [[locally small category]] ''C'', then the assignment {{nobreak|1=''Y'' {{mapsto}} Hom&lt;sub&gt;''C''&lt;/sub&gt;(''X'', ''Y'')}} defines a covariant functor {{nobreak|1=''F''&lt;sub&gt;''X''&lt;/sub&gt; : ''C'' → '''Set'''}}. This functor is called ''[[representable functor|representable]]'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of ''X''). The natural transformations from a representable functor to an arbitrary functor {{nobreak|1=''F'' : ''C'' → '''Set'''}} are completely known and easy to describe; this is the content of the [[Yoneda lemma]].<br /> <br /> == Historical notes ==<br /> {{Unreferenced section|date=October 2008}}<br /> [[Saunders Mac Lane]], one of the founders of category theory, is said to have remarked, &quot;I didn't invent categories to study functors; I invented them to study natural transformations.&quot;&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; Just as the study of [[group (mathematics)|groups]] is not complete without a study of [[group homomorphism|homomorphisms]], so the study of categories is not complete without the study of [[functor]]s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations.<br /> <br /> The context of Mac Lane's remark was the axiomatic theory of [[homology (mathematics)|homology]]. Different ways of constructing homology could be shown to coincide: for example in the case of a [[simplicial complex]] the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.<br /> <br /> ==Symbols used==<br /> * {{unichar|2297|CIRCLED TIMES|html=}}<br /> <br /> == See also ==<br /> * [[Extranatural transformation]]<br /> <br /> == References ==<br /> {{Portal|Category theory}}<br /> {{reflist}}<br /> {{refbegin}}<br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8}}<br /> * {{citation|first1=Saunders|last1=MacLane|authorlink1=Saunders MacLane|first2=Garrett|last2=Birkhoff|authorlink2=Garrett Birkhoff|title=Algebra|edition=3rd|publisher=AMS Chelsea Publishing|year=1999|isbn=0-8218-1646-2}}.<br /> {{refend}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[es:Transformación natural]]<br /> [[fr:Transformation naturelle]]<br /> [[it:Trasformazione naturale]]<br /> [[nl:Natuurlijke transformatie]]<br /> [[ja:自然変換]]<br /> [[pl:Transformacja naturalna]]<br /> [[ru:Естественное преобразование]]<br /> [[sv:Naturlig transformation]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Electrochemistry&diff=516920535 Electrochemistry 2012-10-10T00:46:35Z <p>Magmalex: /* 19th century */</p> <hr /> <div>[[File:Faraday-Daniell.PNG|thumb|English chemist [[John Frederic Daniell|John Daniell]] ([[relative direction|left]]) and physicist [[Michael Faraday]] ([[relative direction|right]]), both credited as founders of electrochemistry today.]]<br /> <br /> '''Electrochemistry''' is a branch of [[chemistry]] that studies [[chemical reaction]]s which take place in a [[solution]] at the interface of an electron [[Electrical conductor|conductor]] (a [[metal]] or a [[semiconductor]]) and an ionic conductor (the [[electrolyte]]), and which involve electron transfer between the electrode and the electrolyte or species in solution.<br /> <br /> If a chemical reaction is driven by an external applied [[voltage]], as in [[electrolysis]], or if a voltage is created by a chemical reaction as in a [[battery (electricity)|battery]], it is an ''electrochemical'' reaction. In contrast, chemical reactions where electrons are transferred between [[molecule]]s are called oxidation/reduction ([[redox]]) reactions. In general, electrochemistry deals with situations where [[oxidation]] and [[redox|reduction]] reactions are separated in space or time, connected by an external electric circuit.<br /> <br /> ==History==<br /> {{Main|History of electrochemistry}}<br /> <br /> ===16th to 18th century developments===<br /> [[File:Guericke-electricaldevice.PNG|thumb|left|[[Germany|German]] [[physicist]] [[Otto von Guericke]] beside his electrical generator while conducting an experiment.]]<br /> Understanding of electrical matters began in the sixteenth century. During this century the English scientist [[William Gilbert (astronomer)|William Gilbert]] spent 17 years experimenting with [[magnetism]] and, to a lesser extent, electricity. For his work on magnets, Gilbert became known as the ''&quot;Father of Magnetism.&quot;'' He discovered various methods for producing and strengthening magnets.&lt;ref&gt;Richard P. Olenick, Tom M. Apostol, David L. Goodstein [http://books.google.com/books?id=Ht4T7C7AXZIC&amp;pg=PA160 Beyond the mechanical universe: from electricity to modern physics], Cambridge University Press (1986) ISBN 0-521-30430-X, p. 160&lt;/ref&gt;<br /> <br /> In 1663 the [[Germany|German]] [[physicist]] [[Otto von Guericke]] created the first electric generator, which produced static electricity by applying friction in the machine. The generator was made of a large [[sulfur]] ball cast inside a glass globe, mounted on a shaft. The ball was rotated by means of a crank and a [[static electricity|static electric]] [[electric spark|spark]] was produced when a pad was rubbed against the ball as it rotated. The globe could be removed and used as source for experiments with electricity.&lt;ref&gt;R. Hellborg [http://books.google.com/books?id=tc6CEuIV1jEC&amp;pg=PA52 Electrostatic accelerators: fundamentals and applications] (2005) ISBN 3540239839 p. 52&lt;/ref&gt;<br /> <br /> By the mid—18th century the [[France|French]] [[chemist]] [[Charles François de Cisternay du Fay]] had discovered two types of static electricity, and that like charges repel each other whilst unlike charges attract. Du Fay announced that electricity consisted of two fluids: ''&quot;vitreous&quot;'' (from the [[Latin]] for ''&quot;glass&quot;''), or positive, electricity; and ''&quot;resinous,&quot;'' or negative, electricity. This was the ''two-fluid theory'' of electricity, which was to be opposed by [[Benjamin Franklin|Benjamin Franklin's]] ''one-fluid theory'' later in the century.&lt;ref&gt;Steven Weinberg [http://books.google.com/books?id=cKXuMfnMC4IC&amp;pg=PA15 The discovery of subatomic particles] Cambridge University Press (2003) ISBN 0-521-82351-X, p. 15&lt;/ref&gt;[[File:Galvani-frog-legs.PNG|thumb|left|Late 1780s diagram of Galvani's experiment on frog legs.]]<br /> <br /> [[Charles-Augustin de Coulomb]] developed the law of [[electrostatic]] attraction in 1785 as an outgrowth of his attempt to investigate the law of electrical repulsions as stated by [[Joseph Priestley]] in England.&lt;ref&gt;J. A. M. Bleeker, Johannes Geiss, M. Huber [http://books.google.com/books?id=NMk3adgqfawC&amp;pg=PA227 The century of space science, Volume 1], Springer (2001) ISBN 0-7923-7196-8 p. 227&lt;/ref&gt;<br /> [[File:Volta-and-napoleon.PNG|thumb|right|[[Italy|Italian]] [[physicist]] [[Alessandro Volta]] showing his ''&quot;[[Battery (electricity)|battery]]&quot;'' to [[France|French]] [[emperor]] [[Napoleon I of France|Napoleon Bonaparte]] in the early 19th century.]]<br /> In the late 18th century the [[Italy|Italian]] [[physician]] and [[anatomist]] [[Luigi Galvani]] marked the birth of electrochemistry by establishing a bridge between chemical reactions and electricity on his essay ''&quot;De Viribus Electricitatis in Motu Musculari Commentarius&quot;'' (Latin for Commentary on the Effect of Electricity on Muscular Motion) in 1791 where he proposed a ''&quot;nerveo-electrical substance&quot;'' on biological life forms.&lt;ref name=g&gt;John Robert Norris, Douglas W. Ribbons [http://books.google.com/books?id=TFfQPQKSc3EC&amp;pg=PA248 Methods in microbiology, Volume 6], Academic Press (1972) ISBN 0-12-521546-0 p. 248&lt;/ref&gt;<br /> <br /> In his essay Galvani concluded that animal tissue contained a here-to-fore neglected innate, vital force, which he termed ''&quot;animal electricity,&quot;'' which activated [[nerve]]s and [[muscle]]s spanned by metal probes. He believed that this new force was a form of electricity in addition to the ''&quot;natural&quot;'' form produced by [[lightning]] or by the [[electric eel]] and [[Electric ray|torpedo ray]] as well as the ''&quot;artificial&quot;'' form produced by [[friction]] (i.e., static electricity).&lt;ref name=g2&gt;Frederick Collier Bakewell [http://books.google.com/books?id=Lks1AAAAMAAJ&amp;pg=PA28 Electric science; its history, phenomena, and applications], Ingram, Cooke (1853) pp. 27–31&lt;/ref&gt;<br /> <br /> Galvani's scientific colleagues generally accepted his views, but [[Alessandro Volta]] rejected the idea of an ''&quot;animal electric fluid,&quot;'' replying that the frog's legs responded to differences in [[metal temper]], composition, and bulk.&lt;ref name=g/&gt;&lt;ref name=g2/&gt; Galvani refuted this by obtaining muscular action with two pieces of the same material.<br /> <br /> ===19th century===<br /> [[File:Humphrydavy.jpg|thumb|left|upright|Sir Humphry Davy's portrait in the 19th century.]]<br /> In 1800, [[William Nicholson (chemist)|William Nicholson]] and [[Johann Wilhelm Ritter]] succeeded in decomposing water into [[hydrogen]] and [[oxygen]] by [[electrolysis]]. Soon thereafter Ritter discovered the process of [[electroplating]]. He also observed that the amount of metal deposited and the amount of oxygen produced during an electrolytic process depended on the distance between the [[electrode]]s.&lt;ref name=lai/&gt; By 1801 Ritter observed [[thermoelectricity|thermoelectric currents]] and anticipated the discovery of thermoelectricity by [[Thomas Johann Seebeck]].&lt;ref&gt;The New Encyclopaedia Britannica: Micropædia, Vol. 10 (1991) ISBN 0-85229-529-4, p. 90&lt;/ref&gt;<br /> <br /> By the 1810s [[William Hyde Wollaston]] made improvements to the [[galvanic cell]].<br /> Sir [[Humphry Davy]]'s work with electrolysis led to the conclusion that the production of electricity in simple [[electrolytic cell]]s resulted from chemical action and that chemical combination occurred between substances of opposite charge. This work led directly to the isolation of [[sodium]] and [[potassium]] from their compounds and of the [[alkaline earth metal]]s from theirs in 1808.&lt;ref&gt;Charles Knight (ed.) [http://books.google.com/books?id=BchPAAAAMAAJ&amp;pg=RA2-PT168 Biography: or, Third division of &quot;The English encyclopedia&quot;, Volume 2], Bradbury, Evans &amp; Co. (1867)&lt;/ref&gt;<br /> <br /> [[Hans Christian Ørsted]]'s discovery of the magnetic effect of electrical currents in 1820 was immediately recognized as an epoch-making advance, although he left further work on [[electromagnetism]] to others. [[André-Marie Ampère]] quickly repeated Ørsted's experiment, and formulated them mathematically.&lt;ref&gt;William Berkson [http://books.google.com/books?id=hMc9AAAAIAAJ&amp;pg=PA34 Fields of force: the development of a world view from Faraday to Einstein], Routledge (1974) ISBN 0-7100-7626-6 pp. 34 ff&lt;/ref&gt;<br /> <br /> In 1821, Estonian-German [[physicist]] [[Thomas Johann Seebeck]] demonstrated the electrical potential in the juncture points of two dissimilar metals when there is a [[heat]] difference between the joints.&lt;ref name=ohm&gt;Brian Scott Baigrie [http://books.google.com/books?id=3XEc5xkWxi4C&amp;pg=PA73 Electricity and magnetism: a historical perspective], Greenwood Publishing Group (2007) ISBN 0-313-33358-0 p. 73&lt;/ref&gt;<br /> <br /> In 1827, the German scientist [[Georg Ohm]] expressed his [[Ohm's law|law]] in this famous book ''&quot;Die galvanische Kette, mathematisch bearbeitet&quot;'' (The Galvanic Circuit Investigated Mathematically) in which he gave his complete theory of electricity.&lt;ref name=ohm/&gt;<br /> <br /> In 1832, [[Michael Faraday]]'s experiments led him to state his two laws of electrochemistry. In 1836, [[John Frederic Daniell|John Daniell]] invented a primary cell in which [[hydrogen]] was eliminated in the generation of the electricity. Daniell had solved the problem of polarization. Later results revealed that [[alloy]]ing the [[Amalgam (chemistry)|amalgam]]ated [[zinc]] with [[Mercury (element)|mercury]] would produce a better voltage.<br /> [[File:Arrhenius2.jpg|thumb|left|upright|Swedish chemist [[Svante Arrhenius]] portrait circa 1880s.]]<br /> [[William Robert Grove|William Grove]] produced the first [[fuel cell]] in 1839. In 1846, [[Wilhelm Eduard Weber|Wilhelm Weber]] developed the [[electrodynamometer]]. In 1868, [[Georges Leclanché]] patented a new cell which eventually became the forerunner to the world's first widely used battery, the [[Zinc-carbon battery|zinc carbon cell]].&lt;ref name=lai&gt;Keith James Laidler [http://books.google.com/books?id=01LRlPbH80cC&amp;pg=PA219 The world of physical chemistry], Oxford University Press (1995) ISBN 0-19-855919-4 pp. 219–220&lt;/ref&gt;<br /> <br /> [[Svante Arrhenius]] published his thesis in 1884 on ''Recherches sur la conductibilité galvanique des électrolytes'' (Investigations on the galvanic conductivity of electrolytes). From his results the author concluded that [[electrolyte]]s, when dissolved in water, become to varying degrees split or dissociated into electrically opposite positive and negative ions.&lt;ref&gt;Nobel Lectures, p. 59&lt;/ref&gt;<br /> <br /> In 1886, [[Paul Héroult]] and [[Charles Martin Hall|Charles M. Hall]] developed an efficient method (the [[Hall–Héroult process]]) to obtain [[aluminium]] using electrolysis of molten alumina.&lt;ref&gt;{{cite book|url = http://books.google.com/?id=td0jD4it63cC&amp;pg=PT29|pages = 15–16|isbn = 978-0-7506-6371-7|chapter = Production of Aluminium|author = Polmear, I.J. |year = 2006|publisher = Elsevier/Butterworth-Heinemann|location = Oxford|title = Light alloys from traditional alloys to nanocrystals}}&lt;/ref&gt;<br /> <br /> In 1894, [[Wilhelm Ostwald|Friedrich Ostwald]] concluded important studies of the [[Conductivity (electrolytic)|conductivity]] and electrolytic dissociation of [[organic acid]]s.&lt;ref&gt;Nobel Lectures, p. 170&lt;/ref&gt;<br /> [[File:Walther Nernst 2.jpg|thumb|right|upright|German scientist [[Walther Nernst]] portrait in the 1910s.]]<br /> [[Walther Nernst|Walther Hermann Nernst]] developed the theory of the [[electromotive force]] of the voltaic cell in 1888. In 1889, he showed how the characteristics of the current produced could be used to calculate the [[Thermodynamic free energy|free energy]] change in the chemical reaction producing the current. He constructed an equation, known as [[Nernst equation]], which related the voltage of a cell to its properties.&lt;ref&gt;Nobel Lectures, p. 363&lt;/ref&gt;<br /> <br /> In 1898, [[Fritz Haber]] showed that definite reduction products can result from electrolytic processes if the potential at the [[cathode]] is kept constant. In 1898, he explained the reduction of [[nitrobenzene]] in stages at the cathode and this became the model for other similar reduction processes.&lt;ref&gt;Nobel Lectures, p. 342&lt;/ref&gt;<br /> <br /> ===20th century and recent developments===<br /> In 1902, [[The Electrochemical Society]] (ECS) was founded.&lt;ref&gt;[http://www.electrochem.org/dl/hc/ ECS History Center]&lt;/ref&gt;<br /> <br /> In 1909, [[Robert Andrews Millikan]] began a series of experiments to determine the electric charge carried by a single [[electron]].&lt;ref&gt;<br /> {{cite journal<br /> |last=Millikan |first=Robert A.<br /> |year=1911<br /> |title=The Isolation of an Ion, a Precision Measurement of its Charge, and the Correction of Stokes' Law<br /> |journal=Physical Review<br /> |volume=32 |issue=2 |pages=349–397<br /> |doi=10.1103/PhysRevSeriesI.32.349<br /> |bibcode=1911PhRvI..32..349M<br /> }}&lt;/ref&gt;<br /> <br /> In 1923, [[Johannes Nicolaus Brønsted]] and [[Martin Lowry]] published essentially the same theory about how acids and bases behave, using an electrochemical basis.&lt;ref&gt;William L. Masterton, Cecile N. Hurley [http://books.google.com/books?id=teubNK-b2bsC&amp;pg=PT379 Chemistry: Principles and Reactions], Cengage Learning (2008) ISBN 0-495-12671-3 p. 379&lt;/ref&gt;<br /> <br /> [[Arne Tiselius]] developed the first sophisticated [[electrophoretic]] apparatus in 1937 and some years later he was awarded the 1948 [[Nobel Prize]] for his work in protein [[electrophoresis]].&lt;ref&gt;[http://nobelprize.org/nobel_prizes/chemistry/laureates/1948/tiselius-bio.html The Nobel Prize in Chemistry 1948 Arne Tiselius], nobelprize.org&lt;/ref&gt;<br /> <br /> A year later, in 1949, the [[International Society of Electrochemistry]] (ISE) was founded.&lt;ref&gt;[http://www.ise-online.org/geninfo/index.php The International Society of Electrochemistry]&lt;/ref&gt;<br /> <br /> By the 1960s–1970s [[quantum electrochemistry]] was developed by [[Revaz Dogonadze]] and his pupils.<br /> <br /> ==Principles==<br /> ===Redox reactions===<br /> {{Main|Redox reaction}}<br /> [[Redox]] stands for '''reduction-oxidation''', and are electrochemical processes involving [[electron]] transfer to or from a [[molecule]] or [[ion]] changing its [[oxidation state]]. This reaction can occur through the application of an external [[voltage]] or through the release of chemical energy.<br /> <br /> ===Oxidation and reduction===<br /> <br /> Oxidation and reduction describe the change of oxidation state that takes place in the atoms, ions or molecules involved in an electrochemical [[chemical reaction|reaction]]. Formally, oxidation state is the hypothetical [[Electric charge|charge]] that an atom would have if all bonds to atoms of different elements were 100% [[Ionic bond|ionic]]. An atom or ion that gives up an electron to another atom or ion has its oxidation state increase, and the recipient of the negatively charged electron has its oxidation state decrease. Oxidation and reduction always occur in a paired fashion such that one species is oxidized when another is reduced. This paired electron transfer is called a [[redox]] reaction.<br /> <br /> For example, when atomic [[sodium]] reacts with atomic [[chlorine]], sodium donates one electron and attains an oxidation state of +1. Chlorine accepts the electron and its oxidation state is reduced to −1. The sign of the oxidation state (positive/negative) actually corresponds to the value of each ion's electronic charge. The attraction of the differently charged sodium and chlorine ions is the reason they then form an [[ionic bond]].<br /> <br /> The loss of electrons from an atom or molecule is called [[oxidation]], and the gain of electrons is [[redox|reduction]]. This can be easily remembered through the use of [[mnemonic]] devices. Two of the most popular are ''&quot;OIL RIG&quot;'' (Oxidation Is Loss, Reduction Is Gain) and ''&quot;LEO&quot;'' the lion says ''&quot;GER&quot;'' (Lose Electrons: Oxidization, Gain Electrons: Reduction). For cases where electrons are shared (covalent bonds) between atoms with large differences in [[electronegativity]], the electron is assigned to the atom with the largest electronegativity in determining the oxidation state.<br /> <br /> The atom or molecule which loses electrons is known as the ''reducing agent'', or ''reductant'', and the substance which accepts the electrons is called the ''oxidizing agent'', or ''oxidant''. The oxidizing agent is always being reduced in a reaction; the reducing agent is always being oxidized. Oxygen is a common oxidizing agent, but not the only one. Despite the name, an oxidation reaction does not necessarily need to involve oxygen. In fact, a [[fire]] can be fed by an oxidant other than oxygen; [[fluorine]] fires are often unquenchable, as fluorine is an even stronger oxidant (it has a higher [[electronegativity]]) than oxygen.<br /> <br /> For reactions involving oxygen, the gain of oxygen implies the oxidation of the atom or molecule to which the oxygen is added (and the oxygen is reduced). In organic compounds, such as [[butane]] or [[ethanol]], the loss of hydrogen implies oxidation of the molecule from which it is lost (and the hydrogen is reduced). This follows because the hydrogen donates its electron in covalent bonds with non-metals but it takes the electron along when it is lost. Conversely, loss of oxygen or gain of hydrogen implies reduction.<br /> <br /> ===Balancing redox reactions===<br /> {{Main|Chemical equation}}<br /> Electrochemical reactions in water are better understood by balancing redox reactions using the [[ion-electron method]] where [[hydronium|H&lt;sup&gt;+&lt;/sup&gt;]], [[Hydroxide|OH&lt;sup&gt;–&lt;/sup&gt;]] ion, [[Water (molecule)|H&lt;sub&gt;2&lt;/sub&gt;O]] and electrons (to compensate the oxidation changes) are added to cell's [[half-reaction]]s for oxidation and reduction.<br /> <br /> ====Acidic medium====<br /> In acid medium [[hydronium|H&lt;sup&gt;+&lt;/sup&gt;]] ions and water are added to [[half-reaction]]s to balance the overall reaction.<br /> For example, when [[manganese]] reacts with [[sodium bismuthate]].<br /> :''Unbalanced reaction'': Mn&lt;sup&gt;2+&lt;/sup&gt;(aq) + NaBiO&lt;sub&gt;3&lt;/sub&gt;(s) → Bi&lt;sup&gt;3+&lt;/sup&gt;(aq) + MnO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt;(aq)<br /> :''Oxidation'': 4 H&lt;sub&gt;2&lt;/sub&gt;O(l) + Mn&lt;sup&gt;2+&lt;/sup&gt;(aq) → MnO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt;(aq) + 8 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 5 e&lt;sup&gt;–&lt;/sup&gt;<br /> :''Reduction'': 2 e&lt;sup&gt;–&lt;/sup&gt; + 6 H&lt;sup&gt;+&lt;/sup&gt;(aq) + BiO&lt;sub&gt;3&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt;(s) → Bi&lt;sup&gt;3+&lt;/sup&gt;(aq) + 3 H&lt;sub&gt;2&lt;/sub&gt;O(l)<br /> <br /> Finally, the reaction is balanced by [[multiplication|multiplying]] the number of electrons from the reduction half reaction to oxidation half reaction and vice versa and adding both half reactions, thus solving the equation.<br /> :8 H&lt;sub&gt;2&lt;/sub&gt;O(l) + 2 Mn&lt;sup&gt;2+&lt;/sup&gt;(aq) → 2 MnO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt;(aq) + 16 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 10 e&lt;sup&gt;–&lt;/sup&gt;<br /> :10 e&lt;sup&gt;–&lt;/sup&gt; + 30 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 5 BiO&lt;sub&gt;3&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt;(s) → 5 Bi&lt;sup&gt;3+&lt;/sup&gt;(aq) + 15 H&lt;sub&gt;2&lt;/sub&gt;O(l)<br /> Reaction balanced:<br /> :14 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 2 Mn&lt;sup&gt;2+&lt;/sup&gt;(aq) + 5 NaBiO&lt;sub&gt;3&lt;/sub&gt;(s) → 7 H&lt;sub&gt;2&lt;/sub&gt;O(l) + 2 MnO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt;(aq) + 5 Bi&lt;sup&gt;3+&lt;/sup&gt;(aq) + 5 Na&lt;sup&gt;+&lt;/sup&gt;(aq)<br /> <br /> ====Basic medium====<br /> In basic medium [[Hydroxide|OH&lt;sup&gt;–&lt;/sup&gt;]] ions and [[Water (molecule)|water]] are added to half reactions to balance the overall reaction. For example, on reaction between [[potassium permanganate]] and [[sodium sulfite]].<br /> :''Unbalanced reaction'': KMnO&lt;sub&gt;4&lt;/sub&gt; + Na&lt;sub&gt;2&lt;/sub&gt;SO&lt;sub&gt;3&lt;/sub&gt; + H&lt;sub&gt;2&lt;/sub&gt;O → MnO&lt;sub&gt;2&lt;/sub&gt; + Na&lt;sub&gt;2&lt;/sub&gt;SO&lt;sub&gt;4&lt;/sub&gt; + KOH<br /> :''Reduction'': 3 e&lt;sup&gt;–&lt;/sup&gt; + 2 H&lt;sub&gt;2&lt;/sub&gt;O + MnO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt; → MnO&lt;sub&gt;2&lt;/sub&gt; + 4 OH&lt;sup&gt;–&lt;/sup&gt;<br /> :''Oxidation'': 2 OH&lt;sup&gt;–&lt;/sup&gt; + SO&lt;sub&gt;3&lt;/sub&gt;&lt;sup&gt;2–&lt;/sup&gt; → SO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;2–&lt;/sup&gt; + H&lt;sub&gt;2&lt;/sub&gt;O + 2 e&lt;sup&gt;–&lt;/sup&gt;<br /> <br /> The same procedure as followed on acid medium by multiplying electrons to opposite half reactions solve the equation thus balancing the overall reaction.<br /> :6 e&lt;sup&gt;–&lt;/sup&gt; + 4 H&lt;sub&gt;2&lt;/sub&gt;O + 2 MnO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;–&lt;/sup&gt; → 2 MnO&lt;sub&gt;2&lt;/sub&gt; + 8 OH&lt;sup&gt;–&lt;/sup&gt;<br /> :6 OH&lt;sup&gt;–&lt;/sup&gt; + 3 SO&lt;sub&gt;3&lt;/sub&gt;&lt;sup&gt;2–&lt;/sup&gt; → 3 SO&lt;sub&gt;4&lt;/sub&gt;&lt;sup&gt;2–&lt;/sup&gt; + 3 H&lt;sub&gt;2&lt;/sub&gt;O + 6e&lt;sup&gt;–&lt;/sup&gt;<br /> Equation balanced:<br /> :2 KMnO&lt;sub&gt;4&lt;/sub&gt; + 3 Na&lt;sub&gt;2&lt;/sub&gt;SO&lt;sub&gt;3&lt;/sub&gt; + H&lt;sub&gt;2&lt;/sub&gt;O → 2 MnO&lt;sub&gt;2&lt;/sub&gt; + 3 Na&lt;sub&gt;2&lt;/sub&gt;SO&lt;sub&gt;4&lt;/sub&gt; + 2 KOH<br /> <br /> ====Neutral medium====<br /> The same procedure as used on acid medium is applied, for example on balancing using electron ion method to [[Combustion|complete combustion]] of [[propane]].<br /> :''Unbalanced reaction'': C&lt;sub&gt;3&lt;/sub&gt;H&lt;sub&gt;8&lt;/sub&gt; + O&lt;sub&gt;2&lt;/sub&gt; → CO&lt;sub&gt;2&lt;/sub&gt; + H&lt;sub&gt;2&lt;/sub&gt;O<br /> :''Reduction'': 4 H&lt;sup&gt;+&lt;/sup&gt; + O&lt;sub&gt;2&lt;/sub&gt; + 4 e&lt;sup&gt;–&lt;/sup&gt; → 2 H&lt;sub&gt;2&lt;/sub&gt;O<br /> :''Oxidation'': 6 H&lt;sub&gt;2&lt;/sub&gt;O + C&lt;sub&gt;3&lt;/sub&gt;H&lt;sub&gt;8&lt;/sub&gt; → 3 CO&lt;sub&gt;2&lt;/sub&gt; + 20 e&lt;sup&gt;–&lt;/sup&gt; + 20 H&lt;sup&gt;+&lt;/sup&gt;<br /> <br /> As in acid and basic medium, electrons which were used to compensate oxidation changes are multiplied to opposite half reactions, thus solving the equation.<br /> :20 H&lt;sup&gt;+&lt;/sup&gt; + 5 O&lt;sub&gt;2&lt;/sub&gt; + 20 e&lt;sup&gt;–&lt;/sup&gt; → 10 H&lt;sub&gt;2&lt;/sub&gt;O<br /> :6 H&lt;sub&gt;2&lt;/sub&gt;O + C&lt;sub&gt;3&lt;/sub&gt;H&lt;sub&gt;8&lt;/sub&gt; → 3 CO&lt;sub&gt;2&lt;/sub&gt; + 20 e&lt;sup&gt;–&lt;/sup&gt; + 20 H&lt;sup&gt;+&lt;/sup&gt;<br /> Equation balanced:<br /> :C&lt;sub&gt;3&lt;/sub&gt;H&lt;sub&gt;8&lt;/sub&gt; + 5 O&lt;sub&gt;2&lt;/sub&gt; → 3 CO&lt;sub&gt;2&lt;/sub&gt; + 4 H&lt;sub&gt;2&lt;/sub&gt;O<br /> <br /> ==Electrochemical cells==<br /> {{Main|Electrochemical cell}}<br /> <br /> An electrochemical cell is a device that produces an electric current from energy released by a [[Spontaneous process|spontaneous]] redox reaction. This kind of cell includes the [[Galvanic cell]] or Voltaic cell, named after [[Luigi Galvani]] and Alessandro Volta, both scientists who conducted several experiments on chemical reactions and electric current during the late 18th century.<br /> <br /> Electrochemical cells have two conductive electrodes (the anode and the cathode). The [[anode]] is defined as the electrode where oxidation occurs and the [[cathode]] is the electrode where the reduction takes place. Electrodes can be made from any sufficiently conductive materials, such as metals, semiconductors, graphite, and even [[conductive polymer]]s. In between these electrodes is the [[electrolyte]], which contains ions that can freely move.<br /> <br /> The galvanic cell uses two different metal electrodes, each in an electrolyte where the positively charged ions are the oxidized form of the electrode metal. One electrode will undergo oxidation (the anode) and the other will undergo reduction (the cathode). The metal of the anode will oxidize, going from an oxidation state of 0 (in the solid form) to a positive oxidation state and become an ion. At the cathode, the metal ion in solution will accept one or more electrons from the cathode and the ion's oxidation state is reduced to 0. This forms a solid metal that [[electroplating|electrodeposits]] on the cathode. The two electrodes must be electrically connected to each other, allowing for a flow of electrons that leave the metal of the anode and flow through this connection to the ions at the surface of the cathode. This flow of electrons is an electrical current that can be used to do work, such as turn a motor or power a light.<br /> <br /> A galvanic cell whose [[electrode]]s are [[zinc]] and [[copper]] submerged in [[zinc sulfate]] and [[copper sulfate]], respectively, is known as a [[Daniell cell]].&lt;ref name=w215/&gt;<br /> <br /> Half reactions for a Daniell cell are these:&lt;ref name=w215/&gt;<br /> :Zinc electrode (anode): Zn(s) → Zn&lt;sup&gt;2+&lt;/sup&gt;(aq) + 2 e&lt;sup&gt;–&lt;/sup&gt;<br /> :Copper electrode (cathode): Cu&lt;sup&gt;2+&lt;/sup&gt;(aq) + 2 e&lt;sup&gt;–&lt;/sup&gt; → Cu(s)<br /> [[File:BASi epsilon C3 cell stand.jpg|thumb|right|A modern cell stand for electrochemical research. The electrodes attach to high-quality metallic wires, and the stand is attached to a [[potentiostat]]/[[galvanostat]] (not pictured). A [[shot glass]]-shaped container is [[Aerated water|aerated]] with a noble gas and sealed with the [[Polytetrafluoroethylene|Teflon]] block.]]<br /> <br /> In this example, the anode is zinc metal which oxidizes (loses electrons) to form zinc ions in solution, and copper ions accept electrons from the copper metal electrode and the ions deposit at the copper cathode as an electrodeposit. This cell forms a simple battery as it will spontaneously generate a flow of electrical current from the anode to the cathode through the external connection. This reaction can be driven in reverse by applying a voltage, resulting in the deposition of zinc metal at the anode and formation of copper ions at the cathode.&lt;ref name=w215/&gt;<br /> <br /> To provide a complete electric circuit, there must also be an ionic conduction path between the anode and cathode electrolytes in addition to the electron conduction path. The simplest ionic conduction path is to provide a liquid junction. To avoid mixing between the two electrolytes, the liquid junction can be provided through a porous plug that allows ion flow while reducing electrolyte mixing. To further minimize mixing of the electrolytes, a [[salt bridge]] can be used which consists of an electrolyte saturated gel in an inverted U-tube. As the negatively charged electrons flow in one direction around this circuit, the positively charged metal ions flow in the opposite direction in the electrolyte.<br /> <br /> A [[galvanometer|voltmeter]] is capable of measuring the change of [[Electric potential|electrical potential]] between the anode and the cathode.<br /> <br /> Electrochemical cell voltage is also referred to as [[electromotive force]] or emf.<br /> <br /> A cell diagram can be used to trace the path of the electrons in the electrochemical cell. For example, here is a cell diagram of a Daniell cell:<br /> :Zn(s) | Zn&lt;sup&gt;2+&lt;/sup&gt; (1M) || Cu&lt;sup&gt;2+&lt;/sup&gt; (1M) | Cu(s)<br /> <br /> First, the reduced form of the metal to be oxidized at the anode (Zn) is written. This is separated from its oxidized form by a vertical line, which represents the limit between the phases (oxidation changes). The double vertical lines represent the saline bridge on the cell. Finally, the oxidized form of the metal to be reduced at the cathode, is written, separated from its reduced form by the vertical line. The electrolyte concentration is given as it is an important variable in determining the cell potential.<br /> <br /> ==Standard electrode potential==<br /> {{Main|Standard electrode potential}}<br /> <br /> To allow prediction of the cell potential, tabulations of [[standard electrode potential]] are available. Such tabulations are referenced to the standard hydrogen electrode (SHE). The [[standard hydrogen electrode]] undergoes the reaction<br /> :2 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 2 e&lt;sup&gt;–&lt;/sup&gt; → H&lt;sub&gt;2&lt;/sub&gt;<br /> which is shown as reduction but, in fact, the SHE can act as either the anode or the cathode, depending on the relative oxidation/reduction potential of the other electrode/electrolyte combination. The term standard in SHE requires a supply of hydrogen gas bubbled through the electrolyte at a pressure of 1 atm and an acidic electrolyte with H&lt;sup&gt;+&lt;/sup&gt; activity equal to 1 (usually assumed to be [H&lt;sup&gt;+&lt;/sup&gt;] = 1&amp;nbsp;mol/liter).<br /> <br /> The SHE electrode can be connected to any other electrode by a salt bridge to form a cell. If the second electrode is also at standard conditions, then the measured cell potential is called the standard electrode potential for the electrode. The standard electrode potential for the SHE is zero, by definition. The polarity of the standard electrode potential provides information about the relative reduction potential of the electrode compared to the SHE. If the electrode has a positive potential with respect to the SHE, then that means it is a strongly reducing electrode which forces the SHE to be the anode (an example is Cu in aqueous CuSO&lt;sub&gt;4&lt;/sub&gt; with a standard electrode potential of 0.337 V). Conversely, if the measured potential is negative, the electrode is more oxidizing than the SHE (such as Zn in ZnSO&lt;sub&gt;4&lt;/sub&gt; where the standard electrode potential is −0.76 V).&lt;ref name=w215&gt;Wiberg, pp. 215–216&lt;/ref&gt;<br /> <br /> Standard electrode potentials are usually tabulated as reduction potentials. However, the reactions are reversible and the role of a particular electrode in a cell depends on the relative oxidation/reduction potential of both electrodes. The oxidation potential for a particular electrode is just the negative of the reduction potential. A standard cell potential can be determined by looking up the standard electrode potentials for both electrodes (sometimes called half cell potentials). The one that is smaller will be the anode and will undergo oxidation. The cell potential is then calculated as the sum of the reduction potential for the cathode and the oxidation potential for the anode.<br /> <br /> :E°&lt;sub&gt;cell&lt;/sub&gt; = E°&lt;sub&gt;red&lt;/sub&gt;(cathode) – E°&lt;sub&gt;red&lt;/sub&gt;(anode) = E°&lt;sub&gt;red&lt;/sub&gt;(cathode) + E°&lt;sub&gt;oxi&lt;/sub&gt;(anode)<br /> <br /> For example, the standard electrode potential for a copper electrode is:<br /> <br /> :''Cell diagram''<br /> :Pt(s) | H&lt;sub&gt;2&lt;/sub&gt;(1 atm) | H&lt;sup&gt;+&lt;/sup&gt;(1 M) || Cu&lt;sup&gt;2+&lt;/sup&gt; (1 M) | Cu(s)<br /> :E°&lt;sub&gt;cell&lt;/sub&gt; = E°&lt;sub&gt;red&lt;/sub&gt;(cathode) – E°&lt;sub&gt;red&lt;/sub&gt;(anode)<br /> <br /> At standard temperature, pressure and concentration conditions, the cell's [[electromotive force|emf]] (measured by a [[multimeter]]) is 0.34 V. By definition, the electrode potential for the SHE is zero. Thus, the Cu is the cathode and the SHE is the anode giving<br /> :E&lt;sub&gt;cell&lt;/sub&gt; = E°(Cu&lt;sup&gt;2+&lt;/sup&gt;/Cu) – E°(H&lt;sup&gt;+&lt;/sup&gt;/H&lt;sub&gt;2&lt;/sub&gt;)<br /> Or,<br /> :E°(Cu&lt;sup&gt;2+&lt;/sup&gt;/Cu) = 0.34 V<br /> <br /> Changes in the [[stoichiometric coefficient]]s of a balanced cell equation will not change E°&lt;sub&gt;red&lt;/sub&gt; value because the standard electrode potential is an [[Intensive and extensive properties|intensive property]].<br /> <br /> ==Spontaneity of redox reaction==<br /> {{Main|Spontaneous process}}<br /> <br /> During operation of [[electrochemical cell]]s, [[chemical energy]] is transformed into [[electrical energy]] and is expressed mathematically as the product of the cell's emf and the [[electric charge]] transferred through the external circuit.<br /> :Electrical energy = E&lt;sub&gt;cell&lt;/sub&gt;C&lt;sub&gt;trans&lt;/sub&gt;<br /> where E&lt;sub&gt;cell&lt;/sub&gt; is the cell potential measured in volts (V) and C&lt;sub&gt;trans&lt;/sub&gt; is the cell current integrated over time and measured in coulombs (C); C&lt;sub&gt;trans&lt;/sub&gt; can also be determined by multiplying the total number of electrons transferred (measured in moles) times [[Faraday's constant]] (F).<br /> <br /> The emf of the cell at zero current is the maximum possible emf. It is used to calculate the maximum possible electrical energy that could be obtained from a [[chemical reaction]]. This energy is referred to as [[electrical work]] and is expressed by the following equation:<br /> <br /> :W&lt;sub&gt;max&lt;/sub&gt; = W&lt;sub&gt;electrical&lt;/sub&gt; = –nF·E&lt;sub&gt;cell&lt;/sub&gt;,<br /> where work is defined as positive into the system.<br /> <br /> Since the [[Thermodynamic free energy|free energy]] is the maximum amount of work that can be extracted from a system, one can write:&lt;ref name=s308&gt;Swaddle, pp. 308–314&lt;/ref&gt;<br /> :ΔG = –nF·E&lt;sub&gt;cell&lt;/sub&gt;<br /> <br /> A positive cell potential gives a negative change in Gibbs free energy. This is consistent with the cell production of an [[electric current]] from the cathode to the anode through the external circuit. If the current is driven in the opposite direction by imposing an external potential, then work is done on the cell to drive electrolysis.&lt;ref name=s308/&gt;<br /> <br /> A [[Spontaneous process|spontaneous]] electrochemical reaction (change in Gibbs free energy less than zero) can be used to generate an electric current in electrochemical cells. This is the basis of all batteries and [[fuel cell]]s. For example, gaseous oxygen (O&lt;sub&gt;2&lt;/sub&gt;) and<br /> hydrogen (H&lt;sub&gt;2&lt;/sub&gt;) can be combined in a fuel cell to form water and energy, typically a combination of heat and electrical energy.&lt;ref name=s308/&gt;<br /> <br /> Conversely, non-spontaneous electrochemical reactions can be driven forward by the application of a current at sufficient [[voltage]]. The [[electrolysis]] of water into gaseous oxygen and hydrogen is a typical example.<br /> <br /> The relation between the [[equilibrium constant]], ''K'', and the Gibbs free energy for an electrochemical cell is expressed as follows:<br /> <br /> :ΔG° = –RT ln(K) = –nF·E°&lt;sub&gt;cell&lt;/sub&gt;<br /> <br /> Rearranging to express the relation between standard potential and equilibrium constant yields<br /> <br /> :&lt;math&gt;\mbox{E}^{o}_{cell}={\mbox{RT} \over \mbox{nF}} \mbox{ln K}\,&lt;/math&gt;.<br /> The previous equation can use [[Briggsian logarithm]] as shown below:<br /> :&lt;math&gt;\mbox{E}^{o}_{cell}={0.0591 \mbox{V} \over \mbox{n}} \mbox{log K}\,&lt;/math&gt;<br /> <br /> ==Cell emf dependency on changes in concentration==<br /> ===Nernst equation===<br /> {{Main|Nernst equation}}<br /> <br /> The standard potential of an electrochemical cell requires standard conditions for all of the reactants. When reactant concentrations differ from standard conditions, the cell potential will deviate from the standard potential. In the 20th century German [[chemist]] [[Walther Nernst]] proposed a mathematical model to determine the effect of reactant concentration on electrochemical cell potential.<br /> <br /> In the late 19th century, [[Josiah Willard Gibbs]] had formulated a theory to predict whether a chemical reaction is spontaneous based on the free energy<br /> <br /> :ΔG = ΔG° + RT·ln(Q)<br /> <br /> Here ''ΔG'' is change in [[Gibbs free energy]], ''T'' is absolute [[temperature]], ''R'' is the [[gas constant]] and ''Q'' is [[reaction quotient]].<br /> <br /> Gibbs' key contribution was to formalize the understanding of the effect of reactant concentration on spontaneity.<br /> <br /> Based on Gibbs' work, Nernst extended the theory to include the contribution from electric potential on charged species. As shown in the previous section, the change in Gibbs free energy for an electrochemical cell can be related to the cell potential. Thus, Gibbs' theory becomes<br /> <br /> :nFΔE = nFΔE° – RT ln(Q)<br /> <br /> Here ''n'' is the number of [[electron]]s/[[Mole (unit)|mole]] product, ''F'' is the [[Faraday constant]] ([[coulomb]]s/[[Mole (unit)|mole]]), and ''ΔE'' is [[cell potential]].<br /> <br /> Finally, Nernst divided through by the amount of charge transferred to arrive at a new equation which now bears his name:<br /> :ΔE = ΔE° – (RT/nF)ln(Q)<br /> <br /> Assuming standard conditions (T = 25 °C) and [[Universal gas constant|R]] = 8.3145 J/(K·mol), the equation above can be expressed on [[Common logarithm|base—10 logarithm]] as shown below:&lt;ref name=w210&gt;Wiberg, pp. 210–212&lt;/ref&gt;<br /> :&lt;math&gt;\Delta E=\Delta E^{o}- {\mbox{0.05916 V} \over \mbox{n}} \mbox{log Q}\,&lt;/math&gt;<br /> <br /> ===Concentration cells===<br /> {{Main|Concentration cell}}<br /> A concentration cell is an electrochemical cell where the two electrodes are the same material, the electrolytes on the two half-cells involve the same ions, but the electrolyte concentration differs between the two half-cells.<br /> <br /> For example an electrochemical cell, where two copper electrodes are submerged in two [[copper(II) sulfate]] solutions, whose concentrations are 0.05 [[Molar concentration|M]] and 2.0 [[Molar concentration|M]], connected through a salt bridge. This type of cell will generate a potential that can be predicted by the Nernst equation. Both electrodes undergo the same chemistry (although the reaction proceeds in reverse at the cathode)<br /> <br /> :Cu&lt;sup&gt;2+&lt;/sup&gt;(aq) + 2 e&lt;sup&gt;–&lt;/sup&gt; → Cu(s)<br /> <br /> [[Le Chatelier's principle]] indicates that the reaction is more favorable to reduction as the concentration of Cu&lt;sup&gt;2+&lt;/sup&gt; ions increases. Reduction will take place in the cell's compartment where concentration is higher and oxidation will occur on the more dilute side.<br /> <br /> The following cell diagram describes the cell mentioned above:<br /> :Cu(s) | Cu&lt;sup&gt;2+&lt;/sup&gt; (0.05 M) || Cu&lt;sup&gt;2+&lt;/sup&gt; (2.0 M) | Cu(s)<br /> Where the half cell reactions for oxidation and reduction are:<br /> :''Oxidation'': Cu(s) → Cu&lt;sup&gt;2+&lt;/sup&gt; (0.05 M) + 2 e&lt;sup&gt;–&lt;/sup&gt;<br /> :''Reduction'': Cu&lt;sup&gt;2+&lt;/sup&gt; (2.0 M) + 2 e&lt;sup&gt;–&lt;/sup&gt; → Cu(s)<br /> :Overall reaction: Cu&lt;sup&gt;2+&lt;/sup&gt; (2.0 M) → Cu&lt;sup&gt;2+&lt;/sup&gt; (0.05 M)<br /> <br /> The cell's emf is calculated through Nernst equation as follows:<br /> <br /> :&lt;math&gt;E = E^{o}- {0.05916 V \over 2} log {[Cu^{2+}]_{diluted}\over [Cu^{2+}]_{concentrated}}\,&lt;/math&gt;<br /> <br /> The value of E° in this kind of cell is zero, as electrodes and ions are the same in both half-cells.<br /> <br /> After replacing values from the case mentioned, it is possible to calculate cell's potential:<br /> :&lt;math&gt;E = 0- {0.05916 V \over 2} log {0.05\over 2.0}= 0.0474{ } V\,&lt;/math&gt;<br /> <br /> or by:<br /> :&lt;math&gt;E = 0- {0.0257 V \over 2} ln {0.05\over 2.0}= 0.0474{ } V\,&lt;/math&gt;<br /> <br /> However, this value is only approximate, as reaction quotient is defined in terms of ion activities which can be approximated with the concentrations as calculated here.<br /> <br /> The Nernst equation plays an important role in understanding electrical effects in cells and organelles. Such effects include nerve [[synapses]] and [[cardiac cycle|cardiac beat]] as well as the resting potential of a somatic cell.<br /> <br /> ==Battery==<br /> {{Main|Battery (electricity)}}<br /> <br /> Many types of battery have been commercialized and represent an important practical application of electrochemistry. Early [[wet cell]]s powered the first [[Electrical telegraph|telegraph]] and [[telephone]] systems, and were the source of current for [[electroplating]]. The zinc-manganese dioxide [[dry cell]] was the first portable, non-spillable battery type that made [[flashlight]]s and other portable devices practical. The [[mercury battery]] using zinc and mercuric oxide provided higher levels of power and capacity than the original dry cell for early electronic devices, but has been phased out of common use due to the danger of mercury pollution from discarded cells. <br /> <br /> The [[lead acid]] battery was the first practical secondary (rechargeable) battery that could have its capacity replenished from an external source. The electrochemical reaction that produced current was (to a useful degree) reversible, allowing electrical energy and chemical energy to be interchanged as needed. Lead-acid cells continue to be widely used in automobiles. <br /> <br /> All the preceding types have water-based electrolytes, which limits the maximum voltage per cell. The freezing of water limits low temperature performance. The [[lithium battery]], which does not (and cannot) use water in the electrolyte, provides improved performance over other types; a rechargeable [[lithium ion battery]] is an essential part of many mobile devices. <br /> <br /> The [[flow battery]], an experimental type, offers the option of vastly larger energy capacity because its reactants can be replenished from external reservoirs. The [[fuel cell]] can turn the chemical energy bound in hydrocarbon gases or hydrogen directly into electrical energy with much higher efficiency than any combustion process; such devices have powered many spacecraft and are being applied to [[grid energy storage]] for the public power system.<br /> <br /> ==Corrosion==<br /> {{Main|Corrosion}}<br /> <br /> Corrosion is the term applied to [[steel]] [[rust]] caused by an electrochemical process. Most people are likely familiar with the corrosion of [[iron]], in the form of reddish rust. Other examples include the black tarnish on [[silver]], and red or green corrosion that may appear on [[copper]] and its alloys, such as [[brass]]. The cost of replacing metals lost to corrosion is in the multi-billions of [[United States dollar|dollars]] per year.<br /> <br /> ===Iron corrosion===<br /> For iron rust to occur the metal has to be in contact with [[oxygen]] and [[water]], although [[chemical reaction]]s for this process are relatively complex and not all of them are completely understood, it is believed the causes are the following:<br /> Electron transferring (reduction-oxidation)<br /> :One area on the surface of the metal acts as the anode, which is where the oxidation (corrosion) occurs. At the anode, the metal gives up electrons.<br /> ::Fe(s) → Fe&lt;sup&gt;2+&lt;/sup&gt;(aq) + 2 e&lt;sup&gt;–&lt;/sup&gt;<br /> :[[Electron]]s are transferred from [[iron]] reducing oxygen in the [[atmosphere]] into [[water (molecule)|water]] on the cathode, which is placed in another region of the metal.<br /> ::O&lt;sub&gt;2&lt;/sub&gt;(g) + 4 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 4 e&lt;sup&gt;–&lt;/sup&gt; → 2 H&lt;sub&gt;2&lt;/sub&gt;O(l)<br /> :Global reaction for the process:<br /> ::2 Fe(s) + O&lt;sub&gt;2&lt;/sub&gt;(g) + 4 H&lt;sup&gt;+&lt;/sup&gt;(aq) → 2 Fe&lt;sup&gt;2+&lt;/sup&gt;(aq) + 2 H&lt;sub&gt;2&lt;/sub&gt;O(l)<br /> :Standard emf for iron rusting:<br /> ::E° = E°&lt;sub&gt;cathode&lt;/sub&gt; – E°&lt;sub&gt;anode&lt;/sub&gt;<br /> ::E° = 1.23V – (−0.44 V) = 1.67 V<br /> Iron corrosion takes place on acid medium; [[hydronium|H&lt;sup&gt;+&lt;/sup&gt;]] [[ion]]s come from reaction between [[carbon dioxide]] in the atmosphere and water, forming [[carbonic acid]]. Fe&lt;sup&gt;2+&lt;/sup&gt; ions oxides, following this equation:<br /> :4 Fe&lt;sup&gt;2+&lt;/sup&gt;(aq) + O&lt;sub&gt;2&lt;/sub&gt;(g) + (4+2x)H&lt;sub&gt;2&lt;/sub&gt;O(l) → 2 Fe&lt;sub&gt;2&lt;/sub&gt;O&lt;sub&gt;3&lt;/sub&gt;·xH&lt;sub&gt;2&lt;/sub&gt;O + 8 H&lt;sup&gt;+&lt;/sup&gt;(aq)<br /> [[Iron(III) oxide]] [[hydrated]] is known as rust. The concentration of water associated with iron oxide varies, thus chemical representation is presented as Fe&lt;sub&gt;2&lt;/sub&gt;O&lt;sub&gt;3&lt;/sub&gt;·xH&lt;sub&gt;2&lt;/sub&gt;O.<br /> The [[electric circuit]] works as passage of electrons and ions occurs, thus if an electrolyte is present it will facilitate [[oxidation]], this explains why rusting is quicker on [[brine|salt water]].<br /> <br /> ===Corrosion of common metals===<br /> [[Coinage metal]]s, such as copper and silver, slowly corrode through use.<br /> A [[patina]] of green-blue [[copper carbonate]] forms on the surface of [[copper]] with exposure to the water and carbon dioxide in the air. [[Silver]] coins or [[cutlery]] that are exposed to high sulfur foods such as [[Egg (food)|egg]]s or the low levels of sulfur species in the air develop a layer of black [[Silver sulfide]].<br /> <br /> [[Gold]] and [[platinum]] are extremely difficult to oxidize under normal circumstances, and require exposure to a powerful chemical oxidizing agent such as [[aqua regia]].<br /> <br /> Some common metals oxidize extremely rapidly in air. [[Titanium]] and aluminium oxidize instantaneously in contact with the oxygen in the air. These metals form an extremely thin layer of oxidized metal on the surface. This thin layer of oxide protects the underlying layers of the metal from the air preventing the entire metal from oxidizing. These metals are used in applications where corrosion resistance is important. [[Iron]], in contrast, has an oxide that forms in air and water, called [[rust]], that does not stop the further oxidation of the iron. Thus iron left exposed to air and water will continue to rust until all of the iron is oxided.<br /> <br /> ===Prevention of corrosion===<br /> Attempts to save a metal from becoming anodic are of two general types. Anodic regions dissolve and destroy the structural integrity of the metal.<br /> <br /> While it is almost impossible to prevent anode/[[cathode]] formation, if a [[Insulator (electrical)|non-conducting]] material covers the metal, contact with the [[electrolyte]] is not possible and corrosion will not occur.<br /> <br /> ====Coating====<br /> Metals can be coated with [[paint]] or other less conductive metals (''[[Passivation (chemistry)|passivation]]''). This prevents the metal surface from being exposed to [[electrolyte]]s. Scratches exposing the metal substrate will result in corrosion. The region under the coating adjacent to the scratch acts as the [[anode]] of the reaction.<br /> <br /> ====Sacrificial anodes====<br /> {{Main|Sacrificial anode}}<br /> A method commonly used to protect a structural metal is to attach a metal which is more anodic than the metal to be protected. This forces the structural metal to be [[cathodic]], thus spared corrosion. It is called ''&quot;sacrificial&quot;'' because the anode dissolves and has to be replaced periodically.<br /> <br /> [[Zinc]] bars are attached to various locations on steel [[ship]] [[Hull (watercraft)|hulls]] to render the ship hull [[cathode|cathodic]]. The zinc bars are replaced periodically. Other metals, such as [[magnesium]], would work very well but zinc is the least expensive useful metal.<br /> <br /> To protect pipelines, an ingot of buried or exposed magnesium (or zinc) is [[bury|buried]] beside the [[Pipe (material)|pipeline]] and is [[wire|connected electrically]] to the pipe above ground. The pipeline is forced to be a cathode and is protected from being oxidized and rusting. The magnesium anode is sacrificed. At intervals new [[ingot]]s are buried to replace those lost.<br /> <br /> ==Electrolysis==<br /> {{Main|Electrolysis}}<br /> <br /> The spontaneous redox reactions of a conventional battery produce electricity through the different chemical potentials of the cathode and anode in the electrolyte. However, electrolysis requires an external source of [[electrical energy]] to induce a chemical reaction, and this process takes place in a compartment called an [[electrolytic cell]].<br /> <br /> ===Electrolysis of molten sodium chloride===<br /> <br /> When molten, the salt [[sodium chloride]] can be electrolyzed to yield metallic [[sodium]] and gaseous [[chlorine]]. Industrially this process takes place in a special cell named Down's cell. The cell is connected to an electrical power supply, allowing [[electron]]s to migrate from the power supply to the electrolytic cell.&lt;ref name=e800&gt;Ebbing, pp. 800–801&lt;/ref&gt;<br /> <br /> Reactions that take place at Down's cell are the following:&lt;ref name=e800/&gt;<br /> :Anode (oxidation): 2 Cl&lt;sup&gt;–&lt;/sup&gt; → Cl&lt;sub&gt;2&lt;/sub&gt;(g) + 2 e&lt;sup&gt;–&lt;/sup&gt;<br /> :Cathode (reduction): 2 Na&lt;sup&gt;+&lt;/sup&gt;(l) + 2 e&lt;sup&gt;–&lt;/sup&gt; → 2 Na(l)<br /> :Overall reaction: 2 Na&lt;sup&gt;+&lt;/sup&gt; + 2 Cl&lt;sup&gt;–&lt;/sup&gt;(l) → 2 Na(l) + Cl&lt;sub&gt;2&lt;/sub&gt;(g)<br /> <br /> This process can yield large amounts of metallic sodium and gaseous chlorine, and is widely used on [[mineral dressing]] and [[metallurgy]] [[industry|industries]].<br /> <br /> The [[Electromotive force|emf]] for this process is approximately −4 [[Volt|V]] indicating a (very) non-spontaneous process. In order for this reaction to occur the power supply should provide at least a potential of 4 V. However, larger voltages must be used for this reaction to occur at a high rate.<br /> <br /> ===Electrolysis of water===<br /> {{Main|Electrolysis of water}}<br /> Water can be converted to its component elemental gasses, H&lt;sub&gt;2&lt;/sub&gt; and O&lt;sub&gt;2&lt;/sub&gt; through the application of an external voltage. [[Water]] doesn't decompose into [[hydrogen]] and [[oxygen]] [[Spontaneous process|spontaneously]] as the [[Gibbs free energy]] for the process at standard conditions is about 474.4 kJ. The decomposition of water into hydrogen and oxygen can be performed in an electrolytic cell. In it, a pair of inert [[electrode]]s usually made of [[platinum]] immersed in water act as anode and cathode in the electrolytic process. The electrolysis starts with the application of an external voltage between the electrodes. This process will not occur except at extremely high voltages without an electrolyte such as [[sodium chloride]] or [[sulfuric acid]] (most used 0.1 [[Molar concentration|M]]).&lt;ref name=w235/&gt;<br /> <br /> Bubbles from the gases will be seen near both electrodes. The following half reactions describe the process mentioned above:<br /> <br /> :''Anode (oxidation)'': 2 H&lt;sub&gt;2&lt;/sub&gt;O(l) → O&lt;sub&gt;2&lt;/sub&gt;(g) + 4 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 4 e&lt;sup&gt;–&lt;/sup&gt;<br /> :''Cathode (reduction)'': 2 H&lt;sub&gt;2&lt;/sub&gt;O(g) + 2 e&lt;sup&gt;–&lt;/sup&gt; → H&lt;sub&gt;2&lt;/sub&gt;(g) + 2 OH&lt;sup&gt;–&lt;/sup&gt;(aq)<br /> :''Overall reaction'': 2 H&lt;sub&gt;2&lt;/sub&gt;O(l) → 2 H&lt;sub&gt;2&lt;/sub&gt;(g) + O&lt;sub&gt;2&lt;/sub&gt;(g)<br /> <br /> Although strong acids may be used in the apparatus, the reaction will not net consume the acid. While this reaction will work at any conductive electrode at a sufficiently large potential, platinum [[catalysis|catalyzes]] both hydrogen and oxygen formation, allowing for relatively mild voltages (~2 V depending on the [[pH]]).&lt;ref name=w235&gt;Wiberg, pp. 235–239&lt;/ref&gt;<br /> <br /> ===Electrolysis of aqueous solutions===<br /> Electrolysis in an aqueous is a similar process as mentioned in electrolysis of water. However, it is considered to be a complex process because the contents in solution have to be analyzed in [[chemical reaction|half reactions]], whether reduced or oxidized.<br /> <br /> ====Electrolysis of a solution of sodium chloride====<br /> The presence of water in a solution of [[sodium chloride]] must be examined in respect to its reduction and oxidation in both electrodes. Usually, water is electrolysed as mentioned in electrolysis of water yielding ''gaseous [[oxygen]] in the anode'' and gaseous [[hydrogen]] in the cathode. On the other hand, sodium chloride in water [[Dissociation (chemistry)|dissociates]] in Na&lt;sup&gt;+&lt;/sup&gt; and Cl&lt;sup&gt;–&lt;/sup&gt; ions, [[cation]], which is the positive ion, will be attracted to the cathode (+), thus reducing the [[sodium]] ion. The [[anion]] will then be attracted to the anode (–) oxidizing [[chloride]] ion.&lt;ref name=nacl&gt;Ebbing, pp. 837–839&lt;/ref&gt;<br /> <br /> The following half reactions describes the process mentioned:&lt;ref name=nacl/&gt;<br /> :1. Cathode: Na&lt;sup&gt;+&lt;/sup&gt;(aq) + e&lt;sup&gt;–&lt;/sup&gt; → Na(s) &amp;nbsp;&amp;nbsp;&amp;nbsp; E°&lt;sub&gt;red&lt;/sub&gt; = –2.71 V<br /> :2. Anode: 2 Cl&lt;sup&gt;–&lt;/sup&gt;(aq) → Cl&lt;sub&gt;2&lt;/sub&gt;(g) + 2 e&lt;sup&gt;–&lt;/sup&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; E°&lt;sub&gt;red&lt;/sub&gt; = +1.36 V<br /> :3. Cathode: 2 H&lt;sub&gt;2&lt;/sub&gt;O(l) + 2 e&lt;sup&gt;–&lt;/sup&gt; → H&lt;sub&gt;2&lt;/sub&gt;(g) + 2 OH&lt;sup&gt;–&lt;/sup&gt;(aq)&amp;nbsp;&amp;nbsp;&amp;nbsp; E°&lt;sub&gt;red&lt;/sub&gt; = –0.83 V<br /> :4. Anode: 2 H&lt;sub&gt;2&lt;/sub&gt;O(l) → O&lt;sub&gt;2&lt;/sub&gt;(g) + 4 H&lt;sup&gt;+&lt;/sup&gt;(aq) + 4 e&lt;sup&gt;–&lt;/sup&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; E°&lt;sub&gt;red&lt;/sub&gt; = +1.23 V<br /> <br /> Reaction 1 is discarded as it has the most [[Negative number|negative]] value on standard reduction potential thus making it less thermodynamically favorable in the process.<br /> <br /> When comparing the reduction potentials in reactions 2 and 4, the reduction of chloride ion is favored. Thus, if the Cl&lt;sup&gt;–&lt;/sup&gt; ion is favored for [[redox|reduction]], then the water reaction is favored for [[oxidation]] producing gaseous oxygen, however experiments show gaseous chlorine is produced and not oxygen.<br /> <br /> Although the initial analysis is correct, there is another effect that can happen, known as the [[Overvoltage|overvoltage effect]]. Additional voltage is sometimes required, beyond the voltage predicted by the E°&lt;sub&gt;cell&lt;/sub&gt;. This may be due to [[chemical kinetics|kinetic]] rather than [[Thermochemistry|thermodynamic]] considerations. In fact, it has been proven that the [[activation energy]] for the chloride ion is very low, hence favorable in [[chemical kinetics|kinetic terms]]. In other words, although the voltage applied is thermodynamically sufficient to drive electrolysis, the rate is so slow that to make the process proceed in a reasonable time frame, the [[voltage]] of the external source has to be increased (hence, overvoltage).&lt;ref name=nacl/&gt;<br /> <br /> Finally, reaction 3 is favorable because it describes the proliferation of [[hydroxide|OH&lt;sup&gt;–&lt;/sup&gt;]] ions thus letting a probable reduction of [[hydronium|H&lt;sup&gt;+&lt;/sup&gt;]] ions less favorable an option.<br /> <br /> The overall reaction for the process according to the analysis would be the following:&lt;ref name=nacl/&gt;<br /> :Anode (oxidation): 2 Cl&lt;sup&gt;–&lt;/sup&gt;(aq) → Cl&lt;sub&gt;2&lt;/sub&gt;(g) + 2 e&lt;sup&gt;–&lt;/sup&gt;<br /> :Cathode (reduction): 2 H&lt;sub&gt;2&lt;/sub&gt;O(l) + 2 e&lt;sup&gt;–&lt;/sup&gt; → H&lt;sub&gt;2&lt;/sub&gt;(g) + 2 OH&lt;sup&gt;–&lt;/sup&gt;(aq)<br /> :Overall reaction: 2 H&lt;sub&gt;2&lt;/sub&gt;O + 2 Cl&lt;sup&gt;–&lt;/sup&gt;(aq) → H&lt;sub&gt;2&lt;/sub&gt;(g) + Cl&lt;sub&gt;2&lt;/sub&gt;(g) + 2 OH&lt;sup&gt;–&lt;/sup&gt;(aq)<br /> <br /> As the overall reaction indicates, the [[concentration]] of chloride ions is reduced in comparison to OH&lt;sup&gt;–&lt;/sup&gt; ions (whose concentration increases). The reaction also shows the production of gaseous [[hydrogen]], [[chlorine]] and aqueous [[sodium hydroxide]].<br /> <br /> ===Quantitative electrolysis and Faraday's laws===<br /> {{Main|Faraday's law of electrolysis}}<br /> Quantitative aspects of electrolysis were originally developed by [[Michael Faraday]] in 1834. Faraday is also credited to have coined the terms ''[[electrolyte]]'', electrolysis, among many others while he studied quantitative analysis of electrochemical reactions. Also he was an advocate of the [[law of conservation of energy]].<br /> <br /> ====First law====<br /> Faraday concluded after several experiments on [[electrical current]] in [[spontaneous process|non-spontaneous process]], the [[mass]] of the products yielded on the electrodes was proportional to the value of current supplied to the cell, the length of time the current existed, and the molar mass of the substance analyzed. In other words, the amount of a substance deposited on each electrode of an electrolytic cell is directly proportional to the [[Electric charge|quantity of electricity]] passed through the cell.&lt;ref&gt;Wiberg, p. 65&lt;/ref&gt;<br /> <br /> Below is a simplified equation of Faraday's first law:<br /> :&lt;math&gt;m \ = \ { 1 \over 96485 \ \mathrm{(C \cdot mol^{-1})} } \cdot { Q M \over n } &lt;/math&gt;<br /> Where<br /> :''m'' is the mass of the substance produced at the electrode (in [[gram]]s),<br /> :''Q'' is the total electric charge that passed through the solution (in [[coulomb]]s),<br /> :''n'' is the valence number of the substance as an ion in solution (electrons per ion),<br /> :''M'' is the molar mass of the substance (in grams per [[mole (unit)|mole]]).<br /> <br /> ====Second law====<br /> {{Main|Electroplating}}<br /> Faraday devised the laws of chemical electrodeposition of metals from solutions in 1857. He formulated the second law of electrolysis stating ''&quot;the amounts of bodies which are equivalent to each other in their ordinary chemical action have equal quantities of electricity naturally associated with them.&quot;'' In other words, the quantities of different elements deposited by a given amount of electricity are in the [[ratio]] of their chemical [[equivalent weight]]s.&lt;ref&gt;[http://scienceworld.wolfram.com/biography/Faraday.html Faraday, Michael (1791–1867)], Wolfram Research&lt;/ref&gt;<br /> <br /> An important aspect of the second law of electrolysis is [[electroplating]] which together with the first law of electrolysis, has a significant number of applications in the industry, as when used to protect [[metal]]s to avoid [[corrosion]].<br /> <br /> ==Applications==<br /> &lt;!--- calling photosynthetic energy generation or oxidative phosphorylation electrochemical strikes me as a bit of a reach. I guess you could think of<br /> the electrolysis of water as being electrochemical but still ---&gt;<br /> There are various extremely important electrochemical processes in both nature and industry, like the coating of objects with metals or metal oxides through electrodeposition and the detection of alcohol in drunken drivers through the redox reaction of ethanol. The generation of chemical energy through [[photosynthesis]] is inherently an electrochemical process, as is production of metals like aluminum and titanium from their ores. Certain diabetes blood sugar meters measure the amount of glucose in the blood through its redox potential.<br /> <br /> The [[action potentials]] that travel down [[neurons]] are based on electric current generated by the movement of sodium and potassium ions into and out of cells. Specialized cells in certain animals like eels can generate electric currents powerful enough to disable much larger animals.<br /> <br /> ==See also==<br /> {{Portal|Science}}<br /> {{colbegin|3}}<br /> *[[Reactivity series]]<br /> *[[Bioelectromagnetism]]<br /> *[[Bioelectrochemistry]]<br /> *[[Contact tension]] – a historical forerunner to the theory of electrochemistry.<br /> *[[Electrochemical impedance spectroscopy]]<br /> *[[Electroanalytical method]]<br /> *[[Electrochemical potential]]<br /> *[[Electrochemiluminescence]]<br /> *[[Electroplating]]<br /> *[[Electrochemical engineering]]<br /> *[[Electrochemical energy conversion]]<br /> *[[Frost diagram]]<br /> *[[List of important publications in chemistry#Electrochemistry|Important publications in electrochemistry]]<br /> *[[Magnetoelectrochemistry]]<br /> *[[Nanoelectrochemistry]]<br /> *[[Photoelectrochemistry]]<br /> *[[Pourbaix diagram]]<br /> *[[Redox titration]]<br /> *[[Standard electrode potential (data page)]]<br /> *[[Voltammetry]]<br /> *[[ITIES]]<br /> {{colend}}<br /> <br /> ==References==<br /> {{reflist|2}}<br /> <br /> ==Bibliography==<br /> *Ebbing, Darrell D. and Gammon, Steven D. [http://books.google.com/books?id=_vRm5tiUJcsC&amp;pg=PA837 General Chemistry] (2007) ISBN 0-618-73879-7,<br /> *[http://books.google.com/books?id=NaVq4ztgsD8C&amp;pg=PA59 Nobel Lectures in Chemistry], Volume 1, World Scientific (1999) ISBN 981-02-3405-8<br /> *Swaddle, Thomas Wilson [http://books.google.com/books?id=hXpOtkYS5X4C&amp;pg=PA316 Inorganic chemistry: an industrial and environmental perspective], Academic Press (1997) ISBN 0-12-678550-3<br /> *Wiberg, Egon; Wiberg, Nils and Holleman, Arnold Frederick [http://books.google.com/books?id=Mtth5g59dEIC&amp;pg=PA65 Inorganic chemistry], Academic Press (2001) ISBN 0-12-352651-5<br /> <br /> ==External links==<br /> *{{Dmoz|Science/Chemistry/Electrochemistry|Electrochemistry}}<br /> *[http://www.chem1.com/acad/webtext/elchem/ ''All about electrochemistry''] (online Reference Text for General Chemistry)<br /> *[http://www.electrochem.org The Electrochemical Society]<br /> *[http://electrochem.cwru.edu/estir/ Electrochemical Science and Technology Information Resource (ESTIR) ]<br /> *[http://www.ise-online.org International Society of Electrochemistry (ISE)]<br /> <br /> {{BranchesofChemistry}}<br /> {{Analytical chemistry}}<br /> <br /> [[Category:Electrochemistry| ]]<br /> [[Category:Physical chemistry]]<br /> <br /> {{Link FA|sl}}<br /> <br /> [[ar:كيمياء كهربية]]<br /> [[az:Elektrokimya]]<br /> [[be:Электрахімія]]<br /> [[be-x-old:Электрахімія]]<br /> [[bg:Електрохимия]]<br /> [[bs:Elektrohemija]]<br /> [[ca:Electroquímica]]<br /> [[cs:Elektrochemie]]<br /> [[de:Elektrochemie]]<br /> [[et:Elektrokeemia]]<br /> [[el:Ηλεκτροχημεία]]<br /> [[es:Electroquímica]]<br /> [[eo:Elektrokemio]]<br /> [[fa:الکتروشیمی]]<br /> [[fr:Électrochimie]]<br /> [[gl:Electroquímica]]<br /> [[ko:전기화학]]<br /> [[hi:विद्युत्-रसायन]]<br /> [[hr:Elektrokemija]]<br /> [[id:Elektrokimia]]<br /> [[it:Elettrochimica]]<br /> [[he:אלקטרוכימיה]]<br /> [[kk:Электрохимия]]<br /> [[la:Electrochemia]]<br /> [[lb:Elektrochimie]]<br /> [[lmo:Eletruchimica]]<br /> [[hu:Elektrokémia]]<br /> [[nl:Elektrochemie]]<br /> [[ja:電気化学]]<br /> [[no:Elektrokjemi]]<br /> [[pl:Elektrochemia]]<br /> [[pt:Eletroquímica]]<br /> [[ro:Electrochimie]]<br /> [[ru:Электрохимия]]<br /> [[sq:Elektrokimia]]<br /> [[scn:Alittrochìmica]]<br /> [[simple:Electrochemistry]]<br /> [[sl:Elektrokemija]]<br /> [[sr:Elektrohemija]]<br /> [[sh:Elektrokemija]]<br /> [[su:Éléktrokimia]]<br /> [[fi:Sähkökemia]]<br /> [[sv:Elektrokemi]]<br /> [[ta:மின்வேதியியல்]]<br /> [[th:ไฟฟ้าเคมี]]<br /> [[tr:Elektrokimya]]<br /> [[uk:Електрохімія]]<br /> [[vi:Điện hóa]]<br /> [[zh:电化学]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Outline_of_category_theory&diff=503772228 Outline of category theory 2012-07-23T14:06:03Z <p>Magmalex: /* External links */</p> <hr /> <div>The following outline is provided as an overview of and guide to category theory:<br /> <br /> '''[[Category theory]]''' &amp;ndash; area of study in [[mathematics]] that examines in an [[abstraction|abstract]] way the properties of particular mathematical concepts, by formalising them as collections of ''objects'' and ''arrows'' (also called [[morphism]]s, although this term also has a specific, non category-theoretical sense), where these collections satisfy certain basic conditions. Many significant areas of mathematics can be formalised as categories, and the use of category theory allows many intricate and subtle mathematical results in these fields to be stated, and proved, in a much simpler way than without the use of categories.<br /> <br /> == Essence of category theory ==<br /> {{Main|Category theory}}<br /> * [[Category (mathematics)|Category]] &amp;ndash;<br /> * [[Functor]] &amp;ndash;<br /> * [[Natural transformation]] &amp;ndash;<br /> <br /> == Branches of category theory ==<br /> * [[Homological algebra]] &amp;ndash;<br /> * [[Diagram chasing]] &amp;ndash;<br /> * [[Topos|Topos theory]] &amp;ndash;<br /> * [[Enriched category]] theory &amp;ndash;<br /> <br /> == Specific categories ==<br /> *[[Category of sets]] &amp;ndash;<br /> :*[[Concrete category]] &amp;ndash;<br /> *[[Category of vector spaces]] &amp;ndash;<br /> :*[[Category of graded vector spaces]] &amp;ndash;<br /> *[[Category of chain complexes]] &amp;ndash;<br /> *[[Category of finite dimensional Hilbert spaces]] &amp;ndash;<br /> *[[Category of sets and relations]] &amp;ndash;<br /> *[[Category of topological spaces]] &amp;ndash;<br /> *[[Category of metric spaces]] &amp;ndash;<br /> *[[Category of preordered sets]] &amp;ndash;<br /> *[[Category of groups]] &amp;ndash;<br /> *[[Category of abelian groups]] &amp;ndash;<br /> *[[Category of rings]] &amp;ndash;<br /> *[[Category of magmas]] &amp;ndash;<br /> *[[Category of medial magmas]] &amp;ndash;<br /> <br /> ==Objects==<br /> *[[Initial object]] &amp;ndash;<br /> *[[Terminal object]] &amp;ndash;<br /> *[[Zero object]] &amp;ndash;<br /> *[[Subobject]] &amp;ndash;<br /> *[[Group object]] &amp;ndash;<br /> *[[Magma object]] &amp;ndash;<br /> *[[Natural number object]] &amp;ndash;<br /> *[[Exponential object]] &amp;ndash;<br /> <br /> ==Morphisms==<br /> {{main|morphism}} <br /> *[[Epimorphism]] &amp;ndash;<br /> *[[Monomorphism]] &amp;ndash;<br /> *[[Zero morphism]] &amp;ndash;<br /> *[[Normal morphism]] &amp;ndash; <br /> *[[Dual (category theory)]] &amp;ndash;<br /> *[[Groupoid]] &amp;ndash;<br /> *[[Image (category theory)]] &amp;ndash;<br /> *[[Coimage]] &amp;ndash;<br /> *[[Commutative diagram]] &amp;ndash;<br /> *[[Cartesian morphism]] &amp;ndash;<br /> *[[Slice category]] &amp;ndash;<br /> <br /> ==Functors==<br /> {{main|Functor}}<br /> *[[Isomorphism of categories]] &amp;ndash;<br /> *[[Natural transformation]] &amp;ndash;<br /> *[[Equivalence of categories]] &amp;ndash;<br /> *[[Subcategory]] &amp;ndash;<br /> *[[Faithful functor]] &amp;ndash;<br /> *[[Full functor]] &amp;ndash;<br /> *[[Forgetful functor]] &amp;ndash;<br /> *[[Yoneda lemma]] &amp;ndash;<br /> *[[Representable functor]] &amp;ndash;<br /> *[[Functor category]] &amp;ndash;<br /> *[[Adjoint functors]] &amp;ndash;<br /> :*[[Galois connection]] &amp;ndash;<br /> :*[[Pontryagin duality]] &amp;ndash;<br /> :*[[Affine scheme]] &amp;ndash;<br /> *[[Monad (category theory)]] &amp;ndash;<br /> *[[Comonad]] &amp;ndash;<br /> *[[Combinatorial species]] &amp;ndash;<br /> *[[Exact functor]] &amp;ndash;<br /> *[[Derived functor]] &amp;ndash;<br /> *[[Enriched functor]] &amp;ndash;<br /> *[[Kan extension|Kan extension of a functor]] &amp;ndash;<br /> *[[Hom functor]] &amp;ndash;<br /> <br /> ==Limits==<br /> {{main|Limit (category theory)}}<br /> :*[[Product (category theory)]] &amp;ndash;<br /> :*[[Equaliser (mathematics)]] &amp;ndash;<br /> :*[[Kernel (category theory)]] &amp;ndash;<br /> :*[[Pullback (category theory)]]/[[fiber product]] &amp;ndash;<br /> :*[[Inverse limit]] &amp;ndash;<br /> ::*[[Pro-finite group]] &amp;ndash;<br /> *[[Colimit]] &amp;ndash;<br /> :*[[Coproduct]] &amp;ndash;<br /> :*[[Coequalizer]] &amp;ndash;<br /> :*[[Cokernel]] &amp;ndash;<br /> :*[[Pushout (category theory)]] &amp;ndash;<br /> :*[[Direct limit]] &amp;ndash;<br /> *[[Biproduct]] &amp;ndash;<br /> :*[[Direct sum]] &amp;ndash;<br /> <br /> ==Additive structure==<br /> <br /> *[[Preadditive category]] &amp;ndash;<br /> *[[Additive category]] &amp;ndash;<br /> *[[Pre-Abelian category]] &amp;ndash;<br /> *[[Abelian category]] &amp;ndash;<br /> :*[[Exact sequence]] &amp;ndash;<br /> :*[[Exact functor]] &amp;ndash;<br /> :*[[Snake lemma]] &amp;ndash;<br /> ::*[[Nine lemma]] &amp;ndash;<br /> :*[[Five lemma]] &amp;ndash;<br /> ::*[[Short five lemma]] &amp;ndash;<br /> :*[[Mitchell's embedding theorem]] &amp;ndash;<br /> *[[Injective cogenerator]] &amp;ndash;<br /> *[[Derived category]] &amp;ndash;<br /> *[[Triangulated category]] &amp;ndash;<br /> *[[Model category]] &amp;ndash;<br /> *[[2-category]] &amp;ndash;<br /> *[[Bicategory]] &amp;ndash;<br /> <br /> ==Dagger categories==<br /> {{main|Dagger category}}<br /> *[[Dagger symmetric monoidal category]] &amp;ndash;<br /> *[[Dagger compact category]] &amp;ndash;<br /> *[[Strongly ribbon category]] &amp;ndash;<br /> <br /> ==Monoidal categories==<br /> {{main|monoidal category}}<br /> *[[Closed monoidal category]] &amp;ndash;<br /> *[[Braided monoidal category]] &amp;ndash;<br /> <br /> ==Cartesian closed category==<br /> <br /> {{Empty section|date=July 2010}}<br /> ==Structure==<br /> {{main|Structure (category theory)}}<br /> *[[Semigroupoid]] &amp;ndash;<br /> *[[Comma category]] &amp;ndash;<br /> *[[Localization of a category]] &amp;ndash;<br /> *[[Enriched category]] &amp;ndash;<br /> *[[Bicategory]] &amp;ndash;<br /> <br /> ==Topoi, toposes==<br /> {{main|Topos}}<br /> * [[Sheaf (mathematics)|Sheaf]] &amp;ndash;<br /> * [[Gluing axiom]] &amp;ndash;<br /> * [[Descent (category theory)]] &amp;ndash;<br /> * [[Grothendieck topology]] &amp;ndash;<br /> * [[Introduction to topos theory]] &amp;ndash;<br /> * [[Subobject classifier]] &amp;ndash;<br /> * [[Pointless topology]] &amp;ndash;<br /> * [[Heyting algebra]] &amp;ndash;<br /> <br /> == History of category theory ==<br /> : ''Main article: [[Category_theory#Historical_notes|History of category theory]]''<br /> <br /> == Persons influential in the field of category theory ==<br /> === Category theory scholars ===<br /> == See also ==<br /> {{portal|Category theory}}<br /> *[[Abstract nonsense]] &amp;ndash;<br /> *[[Homological algebra]] &amp;ndash;<br /> *[[Glossary of category theory]] &amp;ndash;<br /> <br /> == References ==<br /> {{reflist|2}}<br /> <br /> == External links ==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * Chris Hillman, [http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.24.3264&amp;rep=rep1&amp;type=pdf A Categorical Primer], formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> {{sisterlinks|Category theory}}<br /> <br /> {{Outline footer}}<br /> <br /> [[Category:Outlines|Category theory]]<br /> [[Category:Mathematics-related lists|Category theory]]<br /> [[Category:Category theory| ]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Natural_transformation&diff=503771214 Natural transformation 2012-07-23T13:59:16Z <p>Magmalex: Added external links</p> <hr /> <div>{{About|natural transformations in category theory|the natural competence of bacteria to take up foreign DNA|Transformation (genetics)}}<br /> {{other uses|Transformation (mathematics) (disambiguation)}}<br /> In [[category theory]], a branch of [[mathematics]], a '''natural transformation''' provides a way of transforming one [[functor]] into another while respecting the internal structure (i.e. the composition of [[morphism]]s) of the categories involved. Hence, a natural transformation can be considered to be a &quot;morphism of functors&quot;. Indeed this intuition can be formalized to define so-called [[functor category|functor categories]]. Natural transformations are, after categories and functors, one of the most basic notions of [[category theory]] and consequently appear in the majority of its applications.<br /> <br /> ==Definition==<br /> If ''F'' and ''G'' are [[functor]]s between the categories ''C'' and ''D'', then a '''natural transformation''' η from ''F'' to ''G'' associates to every object ''X'' in ''C'' a [[morphism]] {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} between objects of ''D'', called the '''component''' of η at ''X'', such that for every morphism {{nobreak|1=''f'' : ''X'' → ''Y'' in ''C''}} we have:<br /> <br /> :&lt;math&gt;\eta_Y \circ F(f) = G(f) \circ \eta_X&lt;/math&gt;<br /> <br /> This equation can conveniently be expressed by the [[commutative diagram]]<br /> <br /> [[File:Natural transformation.svg|175px]]<br /> <br /> If both ''F'' and ''G'' are [[contravariant functor|contravariant]], the horizontal arrows in this diagram are reversed. If η is a natural transformation from ''F'' to ''G'', we also write {{nobreak|1=η : ''F'' → ''G''}} or {{nobreak|1=η : ''F'' ⇒ ''G''}}. This is also expressed by saying the family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt; : ''F''(''X'') → ''G''(''X'')}} is '''natural''' in ''X''.<br /> <br /> If, for every object ''X'' in ''C'', the morphism η&lt;sub&gt;''X''&lt;/sub&gt; is an [[isomorphism]] in ''D'', then η is said to be a '''{{visible anchor|natural isomorphism}}''' (or sometimes '''natural equivalence''' or '''isomorphism of functors'''). Two functors ''F'' and ''G'' are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from ''F'' to ''G''.<br /> <br /> An '''infranatural transformation''' η from ''F'' to ''G'' is simply a family of morphisms {{nobreak|1=η&lt;sub&gt;''X''&lt;/sub&gt;: ''F''(''X'') → ''G''(''X'')}}. Thus a natural transformation is an infranatural transformation for which {{nobreak|1=η&lt;sub&gt;''Y''&lt;/sub&gt; ∘ ''F''(''f'') = ''G''(''f'') ∘ η&lt;sub&gt;''X''&lt;/sub&gt;}} for every morphism {{nobreak|1=''f'' : ''X'' → ''Y''}}. The '''naturalizer''' of η, nat(η), is the largest [[subcategory]] of ''C'' containing all the objects of ''C'' on which η restricts to a natural transformation.<br /> <br /> ==Examples==<br /> ===Opposite group===<br /> {{details|Opposite group}}<br /> Statements such as<br /> :&quot;Every group is naturally isomorphic to its [[opposite group]]&quot;<br /> abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category '''Grp''' of all [[group (mathematics)|group]]s with [[group homomorphism]]s as morphisms. If (''G'',*) is a group, we define its opposite group (''G''&lt;sup&gt;op&lt;/sup&gt;,*&lt;sup&gt;op&lt;/sup&gt;) as follows: ''G''&lt;sup&gt;op&lt;/sup&gt; is the same set as ''G'', and the operation *&lt;sup&gt;op&lt;/sup&gt; is defined by {{nobreak|1=''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'' = ''b'' * ''a''}}. All multiplications in ''G''&lt;sup&gt;op&lt;/sup&gt; are thus &quot;turned around&quot;. Forming the [[Opposite category|opposite]] group becomes a (covariant!) functor from '''Grp''' to '''Grp''' if we define {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} for any group homomorphism {{nobreak|1=''f'': ''G'' → ''H''}}. Note that ''f''&lt;sup&gt;op&lt;/sup&gt; is indeed a group homomorphism from ''G''&lt;sup&gt;op&lt;/sup&gt; to ''H''&lt;sup&gt;op&lt;/sup&gt;:<br /> :''f''&lt;sup&gt;op&lt;/sup&gt;(''a'' *&lt;sup&gt;op&lt;/sup&gt; ''b'') = ''f''(''b'' * ''a'') = ''f''(''b'') * ''f''(''a'') = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a'') *&lt;sup&gt;op&lt;/sup&gt; ''f''&lt;sup&gt;op&lt;/sup&gt;(''b'').<br /> The content of the above statement is:<br /> :&quot;The identity functor {{nobreak|1=Id&lt;sub&gt;'''Grp'''&lt;/sub&gt; : '''Grp''' &amp;rarr; '''Grp'''}} is naturally isomorphic to the opposite functor {{nobreak|1=&lt;sup&gt;op&lt;/sup&gt; : '''Grp''' &amp;rarr; '''Grp'''}}.&quot;<br /> To prove this, we need to provide isomorphisms {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt; : ''G'' → ''G''&lt;sup&gt;op&lt;/sup&gt;}} for every group ''G'', such that the above diagram commutes. Set {{nobreak|1=η&lt;sub&gt;''G''&lt;/sub&gt;(''a'') = ''a''&lt;sup&gt;−1&lt;/sup&gt;}}. The formulas {{nobreak|1=(''ab'')&lt;sup&gt;−1&lt;/sup&gt; = ''b''&lt;sup&gt;−1&lt;/sup&gt; ''a''&lt;sup&gt;−1&lt;/sup&gt;}} and {{nobreak|1=(''a''&lt;sup&gt;−1&lt;/sup&gt;)&lt;sup&gt;−1&lt;/sup&gt; = ''a''}} show that η&lt;sub&gt;''G''&lt;/sub&gt; is a group homomorphism which is its own inverse. To prove the naturality, we start with a group homomorphism {{nobreak|1=''f'' : ''G'' → ''H''}} and show {{nobreak|1=η&lt;sub&gt;''H''&lt;/sub&gt; ∘ ''f'' = ''f''&lt;sup&gt;op&lt;/sup&gt; ∘ η&lt;sub&gt;''G''&lt;/sub&gt;}}, i.e. {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''&lt;sup&gt;op&lt;/sup&gt;(''a''&lt;sup&gt;−1&lt;/sup&gt;)}} for all ''a'' in ''G''. This is true since {{nobreak|1=''f''&lt;sup&gt;op&lt;/sup&gt; = ''f''}} and every group homomorphism has the property {{nobreak|1=(''f''(''a''))&lt;sup&gt;−1&lt;/sup&gt; = ''f''(''a''&lt;sup&gt;−1&lt;/sup&gt;)}}.<br /> <br /> ===Double dual of a finite dimensional vector space===<br /> If ''K'' is a [[field (mathematics)|field]], then for every [[vector space]] ''V'' over ''K'' we have a &quot;natural&quot; [[injective]] [[linear map]] {{nobreak|1=''V'' → ''V''**}} from the vector space into its [[double dual]]. These maps are &quot;natural&quot; in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.<br /> <br /> ===Counterexample: dual of a finite-dimensional vector space===<br /> Every finite-dimensional vector space is isomorphic to its dual space, but this isomorphism relies on an arbitrary choice of isomorphism (for example, via choosing a basis and then taking the isomorphism sending this basis to the corresponding [[dual basis]]). There is in general no natural isomorphism between a finite-dimensional vector space and its dual space.&lt;ref&gt;{{harv|MacLane|Birkhoff|1999|loc=§VI.4}}&lt;/ref&gt; However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below.<br /> <br /> The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional data (such as a basis), there is no given map from a space to its dual, and thus such an isomorphism requires a choice, and is &quot;not natural&quot;. On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with ''all'' linear maps; see {{harv|MacLane|Birkhoff|1999|loc=§VI.4}} for detailed discussion.<br /> <br /> Starting from finite-dimensional vector spaces (as objects) and the dual functor, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from &quot;all linear maps&quot; to &quot;linear maps that respect this structure&quot;. Explicitly, for each vector space, require that it come with the data of an isomorphism to its dual, &lt;math&gt;\eta_V\colon V \to V^*.&lt;/math&gt; In other words, take as objects vector spaces with a [[nondegenerate bilinear form]] &lt;math&gt;b_V\colon V \times V \to K.&lt;/math&gt; This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps that commute with these isomorphism (restricts to the naturalizer of ''η''), in other words, restrict to the maps that do not change the bilinear form: &lt;math&gt;b(T(v),T(w))=b(v,w).&lt;/math&gt; The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces.<br /> <br /> In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a [[transpose]]. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric ([[orthogonal matrices]]), symmetric and positive definite ([[inner product space]]), symmetric sesquilinear ([[Hermitian space]]s), skew-symmetric and totally isotropic ([[symplectic vector space]]), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.<br /> <br /> ===Tensor-hom adjunction===<br /> {{see|Tensor-hom adjunction|Adjoint functors}}<br /> Consider the [[category of abelian groups|category '''Ab''' of abelian groups and group homomorphisms]]. For all abelian groups ''X'', ''Y'' and ''Z'' we have a group isomorphism<br /> :{{nobreak|1=Hom(''X'' {{otimes}} ''Y'', ''Z'') &amp;rarr; Hom(''X'', Hom(''Y'', ''Z''))}}.<br /> These isomorphisms are &quot;natural&quot; in the sense that they define a natural transformation between the two involved functors {{nobreak|1='''Ab''' &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; &amp;times; '''Ab'''&lt;sup&gt;op&lt;/sup&gt; → '''Ab'''}}.<br /> <br /> This is formally the [[tensor-hom adjunction]], and is an archetypal example of a pair of [[adjoint functors]]. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.<br /> <br /> == Unnatural isomorphism ==<br /> The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a &quot;natural isomorphism&quot;, meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an '''unnatural isomorphism''' (or &quot;this isomorphism is not natural&quot;) if the map cannot be extended to a natural transformation on the entire category. Given an object ''X,'' a functor ''G'' (taking for simplicity the first functor to be the identity) and an isomorphism &lt;math&gt;\eta\colon X \to G(X),&lt;/math&gt; proof of unnaturality is most easily shown by giving an automorphism &lt;math&gt;A\colon X \to X&lt;/math&gt; that does not commute with this isomorphism (so &lt;math&gt;\eta \circ A \neq A \circ \eta&lt;/math&gt;). More strongly, if one wishes to prove that ''X'' and ''G''(''X'') are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism ''η,'' there is some ''A'' with which it does not commute; in some cases a single automorphism ''A'' works for all candidate isomorphisms ''η,'' while in other cases one must show how to construct a different ''A''&lt;sub&gt;''η''&lt;/sub&gt; for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance.<br /> <br /> This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is &quot;not natural&quot;, or rather &quot;not unique&quot;, as automorphisms exist that do not preserve the direct sum decomposition – see [[Structure theorem for finitely generated modules over a principal ideal domain#Uniqueness]] for example.<br /> <br /> Some authors distinguish notationally, using ≅ for a natural isomorphism and ≈ for an unnatural isomorphism, reserving = for equality (usually equality of maps).<br /> <br /> == Operations with natural transformations ==<br /> If {{nobreak|1=η : ''F'' → ''G''}} and {{nobreak|1=ε : ''G'' → ''H''}} are natural transformations between functors {{nobreak|1=''F'',''G'',''H'' : ''C'' → ''D''}}, then we can compose them to get a natural transformation {{nobreak|1=εη : ''F'' → ''H''}}. This is done componentwise: {{nobreak|1=(εη)&lt;sub&gt;''X''&lt;/sub&gt; = ε&lt;sub&gt;''X''&lt;/sub&gt;η&lt;sub&gt;''X''&lt;/sub&gt;}}. This &quot;vertical composition&quot; of natural transformation is [[associative]] and has an identity, and allows one to consider the collection of all functors {{nobreak|1=''C'' → ''D''}} itself as a category (see below under [[#Functor categories|Functor categories]]).<br /> <br /> Natural transformations also have a &quot;horizontal composition&quot;. If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}} and {{nobreak|1=ε : ''J'' → ''K''}} is a natural transformation between functors {{nobreak|1=''J'',''K'' : ''D'' → ''E''}}, then the composition of functors allows a composition of natural transformations {{nobreak|1=ηε : ''JF'' → ''KG''}}. This operation is also associative with identity, and the identity coincides with that for vertical composition. The two operations are related by an identity which exchanges vertical composition with horizontal composition.<br /> <br /> If {{nobreak|1=η : ''F'' → ''G''}} is a natural transformation between functors {{nobreak|1=''F'',''G'' : ''C'' → ''D''}}, and {{nobreak|1=''H'' : ''D'' → ''E''}} is another functor, then we can form the natural transformation {{nobreak|1=''H''η : ''HF'' → ''HG''}} by defining<br /> <br /> :&lt;math&gt; (H \eta)_X = H \eta_X. &lt;/math&gt;<br /> <br /> If on the other hand {{nobreak|1=''K'' : ''B'' → ''C''}} is a functor, the natural transformation {{nobreak|1=η''K'' : ''FK'' → ''GK''}} is defined by<br /> <br /> :&lt;math&gt; (\eta K)_X = \eta_{K(X)}.\, &lt;/math&gt;<br /> <br /> ==Functor categories==<br /> <br /> {{Main|Functor category}}<br /> If ''C'' is any category and ''I'' is a [[small category]], we can form the [[functor category]] ''C&lt;sup&gt;I&lt;/sup&gt;'' having as objects all functors from ''I'' to ''C'' and as morphisms the natural transformations between those functors. This forms a category since for any functor ''F'' there is an identity natural transformation {{nobreak|1=1&lt;sub&gt;''F''&lt;/sub&gt; : ''F'' → ''F''}} (which assigns to every object ''X'' the identity morphism on ''F''(''X'')) and the composition of two natural transformations (the &quot;vertical composition&quot; above) is again a natural transformation.<br /> <br /> The [[isomorphism]]s in ''C&lt;sup&gt;I&lt;/sup&gt;'' are precisely the natural isomorphisms. That is, a natural transformation {{nobreak|1=η : ''F'' → ''G''}} is a natural isomorphism if and only if there exists a natural transformation {{nobreak|1=ε : ''G'' → ''F''}} such that {{nobreak|1=ηε = 1&lt;sub&gt;''G''&lt;/sub&gt;}} and {{nobreak|1=εη = 1&lt;sub&gt;''F''&lt;/sub&gt;}}.<br /> <br /> The functor category ''C&lt;sup&gt;I&lt;/sup&gt;'' is especially useful if ''I'' arises from a [[directed graph]]. For instance, if ''I'' is the category of the directed graph {{nobreak|1=• → •}}, then ''C&lt;sup&gt;I&lt;/sup&gt;'' has as objects the morphisms of ''C'', and a morphism between {{nobreak|1=φ : ''U'' → ''V''}} and {{nobreak|1=ψ : ''X'' → ''Y''}} in ''C&lt;sup&gt;I&lt;/sup&gt;'' is a pair of morphisms {{nobreak|1=''f'' : ''U'' → ''X''}} and {{nobreak|1=''g'' : ''V'' → ''Y''}} in ''C'' such that the &quot;square commutes&quot;, i.e. {{nobreak|1=ψ ''f'' = ''g'' φ}}.<br /> <br /> More generally, one can build the [[2-category]] '''Cat''' whose<br /> * 0-cells (objects) are the small categories,<br /> * 1-cells (arrows) between two objects &lt;math&gt;C&lt;/math&gt; and &lt;math&gt;D&lt;/math&gt; are the functors from &lt;math&gt;C&lt;/math&gt; to &lt;math&gt;D&lt;/math&gt;,<br /> * 2-cells between two 1-cells (functors) &lt;math&gt;F:C\to D&lt;/math&gt; and &lt;math&gt;G:C\to D&lt;/math&gt; are the natural transformations from &lt;math&gt;F&lt;/math&gt; to &lt;math&gt;G&lt;/math&gt;.<br /> The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category &lt;math&gt;C^I&lt;/math&gt; is then simply a hom-category in this category (smallness issues aside).<br /> <br /> ==Yoneda lemma==<br /> <br /> {{Main|Yoneda lemma}}<br /> If ''X'' is an object of a [[locally small category]] ''C'', then the assignment {{nobreak|1=''Y'' {{mapsto}} Hom&lt;sub&gt;''C''&lt;/sub&gt;(''X'', ''Y'')}} defines a covariant functor {{nobreak|1=''F''&lt;sub&gt;''X''&lt;/sub&gt; : ''C'' → '''Set'''}}. This functor is called ''[[representable functor|representable]]'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of ''X''). The natural transformations from a representable functor to an arbitrary functor {{nobreak|1=''F'' : ''C'' → '''Set'''}} are completely known and easy to describe; this is the content of the [[Yoneda lemma]].<br /> <br /> == Historical notes ==<br /> {{Unreferenced section|date=October 2008}}<br /> [[Saunders Mac Lane]], one of the founders of category theory, is said to have remarked, &quot;I didn't invent categories to study functors; I invented them to study natural transformations.&quot; Just as the study of [[group (mathematics)|groups]] is not complete without a study of [[group homomorphism|homomorphisms]], so the study of categories is not complete without the study of [[functor]]s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations.<br /> <br /> The context of Mac Lane's remark was the axiomatic theory of [[homology (mathematics)|homology]]. Different ways of constructing homology could be shown to coincide: for example in the case of a [[simplicial complex]] the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.<br /> <br /> ==Symbols used==<br /> * {{unichar|2297|CIRCLED TIMES|html=}}<br /> <br /> == See also ==<br /> * [[Extranatural transformation]]<br /> <br /> == References ==<br /> {{Portal|Category theory}}<br /> {{reflist}}<br /> {{refbegin}}<br /> *{{cite book | first = Saunders | last = Mac Lane | authorlink = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = Graduate Texts in Mathematics '''5''' | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8}}<br /> * {{citation|first1=Saunders|last1=MacLane|authorlink1=Saunders MacLane|first2=Garrett|last2=Birkhoff|authorlink2=Garrett Birkhoff|title=Algebra|edition=3rd|publisher=AMS Chelsea Publishing|year=1999|isbn=0-8218-1646-2}}.<br /> {{refend}}<br /> <br /> ==External links==<br /> * [http://ncatlab.org/nlab nLab], a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view<br /> * [[André Joyal]], [http://ncatlab.org/nlab CatLab], a wiki project dedicated to the exposition of categorical mathematics<br /> * {{cite web | first = Chris | last = Hillman | title = A Categorical Primer | id = {{citeseerx|10.1.1.24.3264}} | postscript = : }} formal introduction to category theory.<br /> * J. Adamek, H. Herrlich, G. Stecker, [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories-The Joy of Cats]<br /> * [[Stanford Encyclopedia of Philosophy]]: &quot;[http://plato.stanford.edu/entries/category-theory/ Category Theory]&quot; -- by Jean-Pierre Marquis. Extensive bibliography.<br /> * [http://www.mta.ca/~cat-dist/ List of academic conferences on category theory]<br /> * Baez, John, 1996,&quot;[http://math.ucr.edu/home/baez/week73.html The Tale of ''n''-categories.]&quot; An informal introduction to higher order categories.<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *{{planetmath reference|id=5622|title=Category Theory}}<br /> * [http://categorieslogicphysics.wikidot.com/events Video archive] of recorded talks relevant to categories, logic and the foundations of physics.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[es:Transformación natural]]<br /> [[fr:Transformation naturelle]]<br /> [[it:Trasformazione naturale]]<br /> [[nl:Natuurlijke transformatie]]<br /> [[ja:自然変換]]<br /> [[pl:Transformacja naturalna]]<br /> [[ru:Естественное преобразование]]<br /> [[sv:Naturlig transformation]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Diagram_(category_theory)&diff=503769291 Diagram (category theory) 2012-07-23T13:46:01Z <p>Magmalex: /* External Links */</p> <hr /> <div>In [[category theory]], a branch of mathematics, a '''diagram''' is the categorical analogue of an [[indexed family]] in [[set theory]]. The primary difference is that in the categorical setting one has [[morphism]]s that also need indexing. An indexed family of sets is a collection of sets, indexed by a fixed set; equivalently, a ''function'' from a fixed index ''set'' to the class of ''sets''. A diagram is a collection of objects and morphisms, indexed by a fixed category; equivalently, a ''functor'' from a fixed index ''category'' to some ''category''.<br /> <br /> Diagrams are used in the definition of [[limit (category theory)|limit and colimits]] and the related notion of [[cone (category theory)|cone]]s.<br /> <br /> ==Definition==<br /> <br /> Formally, a '''diagram''' of type ''J'' in a [[category (mathematics)|category]] ''C'' is a ([[Covariance and contravariance of functors|covariant]]) [[functor]]<br /> :''D'' : ''J'' &amp;rarr; ''C''<br /> The category ''J'' is called the '''index category''' or the '''scheme''' of the diagram ''D''. The actual objects and morphisms in ''J'' are largely irrelevant, only the way in which they are interrelated matters. The diagram ''D'' is thought of as indexing a collection of objects and morphisms in ''C'' patterned on ''J''.<br /> <br /> Although, technically, there is no difference between an individual ''diagram'' and a ''functor'' or between a ''scheme'' and a ''category'', the change in terminology reflects a change in perspective, just as in the set theoretic case: one fixes the index category, and allows the functor (and, secondarily, the target category) to vary.<br /> <br /> One is most often interested in the case where the scheme ''J'' is a [[small category|small]] or even [[Finite set|finite]] category. A diagram is said to be '''small''' or '''finite''' whenever ''J'' is.<br /> <br /> A morphism of diagrams of type ''J'' in a category ''C'' is a [[natural transformation]] between functors. One can then interpret the '''category of diagrams''' of type ''J'' in ''C'' as the [[functor category]] ''C''&lt;sup&gt;''J''&lt;/sup&gt;, and a diagram is then an object in this category.<br /> <br /> ==Examples==<br /> <br /> * If ''J'' is a (small) [[discrete category]], then a diagram of type ''J'' is essentially just an indexed family of objects in ''C'' (indexed by ''J'').<br /> <br /> * If ''J'' is a [[poset category]] then a diagram of type ''J'' is a family of objects ''D''&lt;sub&gt;''i''&lt;/sub&gt; together with a unique morphism ''f''&lt;sub&gt;''ij''&lt;/sub&gt; : ''D''&lt;sub&gt;''i''&lt;/sub&gt; → ''D''&lt;sub&gt;''j''&lt;/sub&gt; whenever ''i'' ≤ ''j''. If ''J'' is [[directed set|directed]] then a diagram of type ''J'' is called a [[direct system (mathematics)|direct system]] of objects and morphisms. If the diagram is [[contravariant functor|contravariant]] then it is called an [[inverse system]].<br /> <br /> * If &lt;math&gt;J = 0 \overrightarrow{\to} 1&lt;/math&gt;, then a diagram of type ''J'' (&lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) is called &quot;two parallel morphisms&quot;: its limit is an [[Equaliser (mathematics)|equalizer]], and its colimit is a [[coequalizer]].<br /> <br /> * If ''J'' = -1 ← 0 → +1, then a diagram of type ''J'' (''A'' ← ''B'' → ''C'') is a [[span (category theory)|span]], and its colimit is a [[Pushout (category theory)|pushout]].<br /> <br /> * If ''J'' = -1 → 0 ← +1, then a diagram of type ''J'' (''A'' → ''B'' ← ''C'') is a [[cospan]], and its limit is a [[Pullback (category theory)|pullback]].<br /> <br /> ==Cones and limits==<br /> <br /> A [[cone (category theory)|cone]] with vertex ''N'' of a diagram ''D'' : ''J'' → ''C'' is a morphism from the constant diagram Δ(''N'') to ''D''. The constant diagram is the diagram which sends every object of ''J'' to an object ''N'' of ''C'' and every morphism to the identity morphism on ''N''.<br /> <br /> The [[limit (category theory)|limit]] of a diagram ''D'' is a [[universal cone]] to ''D''. That is, a cone through which all other cones uniquely factor. If the limit exists in a category ''C'' for all diagrams of type ''J'' one obtains a functor<br /> :lim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its limit.<br /> <br /> Dually, the [[colimit]] of diagram ''D'' is a universal cone from ''D''. If the colimit exists for all diagrams of type ''J'' one has a functor<br /> :colim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its colimit.<br /> <br /> == Commutative diagrams ==<br /> {{main|Commutative diagram}}<br /> <br /> Diagrams and functor categories are often visualized by [[commutative diagrams]], particularly if the index category is a finite [[poset category]] with few elements: one draws a commutative diagram with a node for every object in the index category, and an arrow for a generating set of morphisms, omitting identity maps and morphisms that can be expressed as compositions. The commutativity corresponds to the uniqueness of a map between two objects in a poset category. Conversely, every commutative diagram represents a diagram (a functor from a poset index category) in this way.<br /> <br /> Not every diagram commutes, as not every index category is a poset category:<br /> most simply, the diagram of a single object with an endomorphism (&lt;math&gt;f\colon X \to X&lt;/math&gt;), or with two parallel arrows (&lt;math&gt;\bullet \overrightarrow{\to} \bullet&lt;/math&gt;; &lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) need not commute. Further, diagrams may be impossible (because infinite) or messy (because many objects or morphisms) to draw; however, schematic commutative diagrams (for subcategories of the index category, or with ellipses, such as for a directed system) are used to clarify such complex diagrams.<br /> <br /> == See also ==<br /> <br /> *[[Commutative diagram]]<br /> *[[Functor category]]<br /> <br /> === Limits ===<br /> *[[Colimit]]<br /> *[[Cone (category theory)]]<br /> *[[Limit (category theory)]]<br /> <br /> === Examples ===<br /> * [[Indexed family]]<br /> * [[Direct system (mathematics)|Direct system]]<br /> * [[Inverse system]]<br /> * [[Span (category theory)|Span]]<br /> * [[Cospan]]<br /> <br /> ==References==<br /> <br /> *{{cite book | last = Adámek | first = Jiří | coauthors = Horst Herrlich, and George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}} Now available as free on-line edition (4.2MB PDF).<br /> * {{Cite book| last1=Barr| first1=Michael|authorlink1=Michael Barr (mathematician) | last2=Wells| first2=Charles| authorlink2=Charles Wells (mathematician) |year=2002| title=Toposes, Triples and Theories|url=http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf|isbn=0-387-96115-1}} Revised and corrected free online version of ''Grundlehren der mathematischen Wissenschaften (278)'' Springer-Verlag, 1983).<br /> <br /> ==External Links==<br /> <br /> * [http://mathworld.wolfram.com/DiagramChasing.html Diagram Chasing] at [[MathWorld]]<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]].<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[ko:그림 (범주론)]]<br /> [[nl:Diagram (categorietheorie)]]<br /> [[pl:Diagram (teoria kategorii)]]</div> Magmalex https://en.wikipedia.org/w/index.php?title=Diagram_(category_theory)&diff=503769105 Diagram (category theory) 2012-07-23T13:44:36Z <p>Magmalex: /* Cones and limits */</p> <hr /> <div>In [[category theory]], a branch of mathematics, a '''diagram''' is the categorical analogue of an [[indexed family]] in [[set theory]]. The primary difference is that in the categorical setting one has [[morphism]]s that also need indexing. An indexed family of sets is a collection of sets, indexed by a fixed set; equivalently, a ''function'' from a fixed index ''set'' to the class of ''sets''. A diagram is a collection of objects and morphisms, indexed by a fixed category; equivalently, a ''functor'' from a fixed index ''category'' to some ''category''.<br /> <br /> Diagrams are used in the definition of [[limit (category theory)|limit and colimits]] and the related notion of [[cone (category theory)|cone]]s.<br /> <br /> ==Definition==<br /> <br /> Formally, a '''diagram''' of type ''J'' in a [[category (mathematics)|category]] ''C'' is a ([[Covariance and contravariance of functors|covariant]]) [[functor]]<br /> :''D'' : ''J'' &amp;rarr; ''C''<br /> The category ''J'' is called the '''index category''' or the '''scheme''' of the diagram ''D''. The actual objects and morphisms in ''J'' are largely irrelevant, only the way in which they are interrelated matters. The diagram ''D'' is thought of as indexing a collection of objects and morphisms in ''C'' patterned on ''J''.<br /> <br /> Although, technically, there is no difference between an individual ''diagram'' and a ''functor'' or between a ''scheme'' and a ''category'', the change in terminology reflects a change in perspective, just as in the set theoretic case: one fixes the index category, and allows the functor (and, secondarily, the target category) to vary.<br /> <br /> One is most often interested in the case where the scheme ''J'' is a [[small category|small]] or even [[Finite set|finite]] category. A diagram is said to be '''small''' or '''finite''' whenever ''J'' is.<br /> <br /> A morphism of diagrams of type ''J'' in a category ''C'' is a [[natural transformation]] between functors. One can then interpret the '''category of diagrams''' of type ''J'' in ''C'' as the [[functor category]] ''C''&lt;sup&gt;''J''&lt;/sup&gt;, and a diagram is then an object in this category.<br /> <br /> ==Examples==<br /> <br /> * If ''J'' is a (small) [[discrete category]], then a diagram of type ''J'' is essentially just an indexed family of objects in ''C'' (indexed by ''J'').<br /> <br /> * If ''J'' is a [[poset category]] then a diagram of type ''J'' is a family of objects ''D''&lt;sub&gt;''i''&lt;/sub&gt; together with a unique morphism ''f''&lt;sub&gt;''ij''&lt;/sub&gt; : ''D''&lt;sub&gt;''i''&lt;/sub&gt; → ''D''&lt;sub&gt;''j''&lt;/sub&gt; whenever ''i'' ≤ ''j''. If ''J'' is [[directed set|directed]] then a diagram of type ''J'' is called a [[direct system (mathematics)|direct system]] of objects and morphisms. If the diagram is [[contravariant functor|contravariant]] then it is called an [[inverse system]].<br /> <br /> * If &lt;math&gt;J = 0 \overrightarrow{\to} 1&lt;/math&gt;, then a diagram of type ''J'' (&lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) is called &quot;two parallel morphisms&quot;: its limit is an [[Equaliser (mathematics)|equalizer]], and its colimit is a [[coequalizer]].<br /> <br /> * If ''J'' = -1 ← 0 → +1, then a diagram of type ''J'' (''A'' ← ''B'' → ''C'') is a [[span (category theory)|span]], and its colimit is a [[Pushout (category theory)|pushout]].<br /> <br /> * If ''J'' = -1 → 0 ← +1, then a diagram of type ''J'' (''A'' → ''B'' ← ''C'') is a [[cospan]], and its limit is a [[Pullback (category theory)|pullback]].<br /> <br /> ==Cones and limits==<br /> <br /> A [[cone (category theory)|cone]] with vertex ''N'' of a diagram ''D'' : ''J'' → ''C'' is a morphism from the constant diagram Δ(''N'') to ''D''. The constant diagram is the diagram which sends every object of ''J'' to an object ''N'' of ''C'' and every morphism to the identity morphism on ''N''.<br /> <br /> The [[limit (category theory)|limit]] of a diagram ''D'' is a [[universal cone]] to ''D''. That is, a cone through which all other cones uniquely factor. If the limit exists in a category ''C'' for all diagrams of type ''J'' one obtains a functor<br /> :lim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its limit.<br /> <br /> Dually, the [[colimit]] of diagram ''D'' is a universal cone from ''D''. If the colimit exists for all diagrams of type ''J'' one has a functor<br /> :colim : ''C''&lt;sup&gt;''J''&lt;/sup&gt; &amp;rarr; ''C''<br /> which sends each diagram to its colimit.<br /> <br /> == Commutative diagrams ==<br /> {{main|Commutative diagram}}<br /> <br /> Diagrams and functor categories are often visualized by [[commutative diagrams]], particularly if the index category is a finite [[poset category]] with few elements: one draws a commutative diagram with a node for every object in the index category, and an arrow for a generating set of morphisms, omitting identity maps and morphisms that can be expressed as compositions. The commutativity corresponds to the uniqueness of a map between two objects in a poset category. Conversely, every commutative diagram represents a diagram (a functor from a poset index category) in this way.<br /> <br /> Not every diagram commutes, as not every index category is a poset category:<br /> most simply, the diagram of a single object with an endomorphism (&lt;math&gt;f\colon X \to X&lt;/math&gt;), or with two parallel arrows (&lt;math&gt;\bullet \overrightarrow{\to} \bullet&lt;/math&gt;; &lt;math&gt;f,g\colon X \to Y&lt;/math&gt;) need not commute. Further, diagrams may be impossible (because infinite) or messy (because many objects or morphisms) to draw; however, schematic commutative diagrams (for subcategories of the index category, or with ellipses, such as for a directed system) are used to clarify such complex diagrams.<br /> <br /> == See also ==<br /> <br /> *[[Commutative diagram]]<br /> *[[Functor category]]<br /> <br /> === Limits ===<br /> *[[Colimit]]<br /> *[[Cone (category theory)]]<br /> *[[Limit (category theory)]]<br /> <br /> === Examples ===<br /> * [[Indexed family]]<br /> * [[Direct system (mathematics)|Direct system]]<br /> * [[Inverse system]]<br /> * [[Span (category theory)|Span]]<br /> * [[Cospan]]<br /> <br /> ==References==<br /> <br /> *{{cite book | last = Adámek | first = Jiří | coauthors = Horst Herrlich, and George E. Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories | publisher = John Wiley &amp; Sons | isbn = 0-471-60922-6}} Now available as free on-line edition (4.2MB PDF).<br /> * {{Cite book| last1=Barr| first1=Michael|authorlink1=Michael Barr (mathematician) | last2=Wells| first2=Charles| authorlink2=Charles Wells (mathematician) |year=2002| title=Toposes, Triples and Theories|url=http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf|isbn=0-387-96115-1}} Revised and corrected free online version of ''Grundlehren der mathematischen Wissenschaften (278)'' Springer-Verlag, 1983).<br /> <br /> ==External Links==<br /> <br /> * [http://mathworld.wolfram.com/DiagramChasing.html Diagram Chasing] at [[MathWorld]]<br /> * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s.<br /> * [http://www.youtube.com/user/TheCatsters The catsters], a YouTube channel about category theory.<br /> *[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.<br /> <br /> [[Category:Functors]]<br /> <br /> [[ko:그림 (범주론)]]<br /> [[nl:Diagram (categorietheorie)]]<br /> [[pl:Diagram (teoria kategorii)]]</div> Magmalex