<html xml:lang="en" lang="en"> <head xmlns:m="http://www.w3.org/1998/Math/MathML"><link rel="Alternate" type="text/xml" title="RDF" href="http://b2e.ex-code.com/xmlsrv/rdf.php?blog=8"/><link rel="Alternate" type="text/xml" title="RSS .92" href="http://b2e.ex-code.com/xmlsrv/rss.php?blog=8"/><link rel="Alternate" type="text/xml" title="RSS 2.0" href="http://b2e.ex-code.com/xmlsrv/rss2.php?blog=8"/><link rel="Alternate" type="application/atom+xml" title="Atom" href="http://b2e.ex-code.com/xmlsrv/atom.php?blog=8"/><meta http-equiv="Last-Modified" content="2005-11-09T05:24:04+0500"/> <title>Theory of Dependencies (Multi-Dimensional Relations with Two Special Variables X and Y)</title> <meta name="Description" content="Research of the category of dependencies (multi-argument relations with two special variables X and Y). Used as the base of algebraic theory of expressions and other math theories."/> <meta http-equiv="Content-Script-Type" content="text/javascript"/> <link rel="Stylesheet" type="text/css" href="article-html.css"/> <link rel="Stylesheet" type="text/css" href="article-math.css"/> <style type="text/css"> .ad { font-family: "Arial", "Helvetica", sans-serif; width: auto } </style> <meta name="Keywords" content="mathematical expressions theory, mathematical formulas theory, mathematical theory of formulas, mathematical theory of expressions, theory of mathematical formulas, theory of mathematical expressions, formulae, axiomatic theory, math logic, mathematical logic, foundation of math, foundation of mathematics, math foundations, variable substitution, morphisms, multidimensional relation, multi dimensional relation, composition of multidimensional relations, composition of multi dimensional relations, representation of formulas, representation of expressions, expression representations, algebraic logic, subexpression, subformula, indexes, indices, reindexation, category theory, theory of categories, n-ary relation, nary relation, composition relations, abstract mathematical theory, abstract theory, abstract math theory, abstract mathematics, abstract math, mathematical abstraction, math abstraction, triplet, functional dependency, functional dependencies, variable dependency, variable dependencies, dependency of variables, dependencies of variables, dependency of parameters, dependencies of parameters, X and Y, X, Y and Z"/><meta name="Author" content="Victor Porton"/><meta name="Copyright" content="Copyright © 2005 Victor Porton"/><meta name="Date" content="2005-11-09T05:24:04+0500"/><script type="text/javascript">function clk(e,id){e=window.event?window.event:e;if(e.preventDefault)e.preventDefault();else e.returnValue=false;var a=document.getElementById?document.getElementById(id):document.all[id];window.open(a.attributes.href.value,'_top');}</script><script src="mathml-in-html.js"> </script><link rel="Stylesheet" type="text/css" href="article-wrap.css"/><object id="mathplayer" classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987"> </object><?import namespace="m" implementation="#mathplayer"?></head> <body xmlns:m="http://www.w3.org/1998/Math/MathML" onload="convert_mathml();"><div class="center"><script type="text/javascript">google_ad_client = "pub-9523722979947731";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al";
google_ad_channel ="3391171102";

google_color_border = ["DFF2FD","CCCCCC","DDAAAA","578A24"];
google_color_bg = ["DFF2FD","FFFFFF","ECF8FF","CCFF99"];
google_color_link = ["0000CC","000000","0033FF","00008B"];
google_color_url = ["008000","666666","0033FF","00008B"];
google_color_text = ["000000","333333","000000","000000"];
google_alternate_ad_url = "http://www.mathematics21.org/ads/728x15";
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div><div class="ad-left"><script type="text/javascript">google_ad_client = "pub-9523722979947731";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel ="3391171102";

google_color_border = ["DFF2FD","CCCCCC","DDAAAA","578A24"];
google_color_bg = ["DFF2FD","FFFFFF","ECF8FF","CCFF99"];
google_color_link = ["0000CC","000000","0033FF","00008B"];
google_color_url = ["008000","666666","0033FF","00008B"];
google_color_text = ["000000","333333","000000","000000"];
google_alternate_ad_url = "http://www.mathematics21.org/ads/160x600";
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div><div class="ad-right"><script type="text/javascript">google_ad_client = "pub-9523722979947731";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel ="3391171102";

google_color_border = ["DFF2FD","CCCCCC","DDAAAA","578A24"];
google_color_bg = ["DFF2FD","FFFFFF","ECF8FF","CCFF99"];
google_color_link = ["0000CC","000000","0033FF","00008B"];
google_color_url = ["008000","666666","0033FF","00008B"];
google_color_text = ["000000","333333","000000","000000"];
google_alternate_ad_url = "http://www.mathematics21.org/ads/160x600";
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div><div class="body-ad-wrap"><p class="frame-nav"><a href="/">Home</a> <a href="http://b2e.ex-code.com/index.php/math">News</a> <a href="/donate.html">Donate</a> || <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=41324" title="Best Web browser, replace IE">Math Web browser</a></p><div class="titlepage"><h1>Theory of Dependencies</h1><p>Use <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=41324">MathML compatible browser</a> to view formulas.</p><p class="author-line"><span class="parahead">Author:</span> <a href="http://porton.ex-code.com">Victor Porton</a></p><p class="keywords"> <span class="parahead">Keywords:</span> mathematical expressions theory, mathematical formulas theory, mathematical theory of formulas, mathematical theory of expressions, theory of mathematical formulas, theory of mathematical expressions, formulae, axiomatic theory, math logic, mathematical logic, foundation of math, foundation of mathematics, math foundations, variable substitution, morphisms, multidimensional relation, multi dimensional relation, composition of multidimensional relations, composition of multi dimensional relations, representation of formulas, representation of expressions, expression representations, algebraic logic, subexpression, subformula, indexes, indices, reindexation, category theory, theory of categories, n-ary relation, nary relation, composition relations, abstract mathematical theory, abstract theory, abstract math theory, abstract mathematics, abstract math, mathematical abstraction, math abstraction, triplet, functional dependency, functional dependencies, variable dependency, variable dependencies, dependency of variables, dependencies of variables, dependency of parameters, dependencies of parameters, X and Y, X, Y and Z</p></div><p><a href="/theory-of-formulas-index.html">Axiomatic Theory of Formulas pages on this site</a>.</p><p><strong>This document is rough unfinished draft</strong>. See also an <a href="/formulas-theory.html">older version</a> of formulas theory article.</p><h2 id="d15e45">Table of Contents</h2><ul class="ToC"><li><a href="#d16e80">Objects</a><ul class="ToC"><li><a href="#d16e121">Definition</a><ul class="ToC"><li><a href="#d16e250">Informal comments</a></li></ul></li><li><a href="#d16e280">Operation Comma</a></li><li><a href="#d16e580">Composition of Dependencies</a><ul class="ToC"><li><a href="#d16e1430">Composition by a property</a></li><li><a href="#d16e1630">Projection of a Dependency</a></li><li><a href="#d16e1662">Reverse Dependency</a></li><li><a href="#d16e1827">Projection, image and domain of a dependency</a></li></ul></li></ul></li><li><a href="#d16e2457">Category of dependencies</a><ul class="ToC"><li><a href="#d16e2958">General operations over dependencies</a></li><li><a href="#d16e2973">Pseudomorphisms</a></li><li><a href="#d16e3092">Intermorphisms</a></li></ul></li></ul><p><strong>This newer version of <a href="/dependencies-category-theory.html">theory of dependencies</a> (and <a href="/theory-of-formulas-index.html">theory of expressions</a>) is a <em>very</em> rough unfinished draft. See <a href="/dependencies-category-theory.html">here</a> for an older version.</strong></p><p>This is a newer version of my <a href="/dependencies-category-theory.html">theory of dependencies</a> (and <a href="/theory-of-formulas-index.html">theory of expressions</a>). This version is based on my <a href="/pseudomorphisms-category.xml">category of pseudomorphisms</a> article, which was yet not written when I was writing the old version of this article.</p><p>However the theory of dependencies can be used not only in <a href="/math-logic.html">math logic</a> but also in many other areas of mathematics.</p><p>The theory of dependencies can be considered as an intermediary <em>between</em> universal algebra (and model theory in general) and <a href="/category-theory.html">category theory</a>, considered more abstract and general than universal algebra, and less general than category theory. On the other hand, dependencies can be used to model categories, in this sense the theory of dependencies may be considered as a <em>more general</em> theory than category theory. (The relations of the theory of classes with universal algebra and <a href="/category-theory.html">category theory</a> are not yet thoroughly researched, however.)</p><p>Because of being based on my newer <a href="/pseudomorphisms-category.xml">category of pseudomorphisms</a> work, terminology of this article may be sometimes different (incompatible) with terminology in the old version of this article.</p><p>The first section (Objects and Classes) is practically unchanged in this newer version. Changes concern mainly <a href="/category-theory.html">category theory</a> related aspects, which are completely revised in this version.</p><h2 id="d16e80">Objects</h2><p>In this section I will introduce the concepts of <span class="newterm">objects</span> and <span class="newterm">classes</span> (classes are essentially <math><mi>n</mi></math>-ary relations). I will call classes with two special properties <math><mi>X</mi></math> and <math><mi>Y</mi></math> (<span class="newterm">argument</span> and <span class="newterm">result</span>) <span class="newterm">dependencies</span>. Dependencies are a generalization of binary relations. For dependencies like as for binary relations are defined composition and reverse.</p><p>Notwithstanding that the idea of objects and classes has come from a particular math <em>application</em> namely computer science, the theory in this article is <em>fundamental abstract mathematics</em>, not just an application.</p><h3 id="d16e121">Definition</h3><p>I will call an <span class="newterm">object</span> any function. I will call the domain of an object as <span class="newterm">set of properties</span> of the object.</p><p>I will designate two special properties <math><mi>X</mi></math> and <math><mi>Y</mi></math> called <span class="newterm">argument</span> and <span class="newterm">result</span> (or (direct) <span class="newterm">parent</span> and (direct) <span class="newterm">child</span> in context of <a href="/theory-of-formulas-index.html">theory of formulas</a>).</p><p>I will call a <span class="newterm">directed object</span> an object whose set of properties contains both <math><mi>X</mi></math> and <math><mi>Y</mi></math>.</p><p>I will call a <span class="newterm">directed class</span> or a <span class="newterm">dependency</span> a set of directed objects.</p><p><span class="parahead remark">Remark</span>  The terms <em>property</em>, <em>object</em>, and <em>class</em> are from computer science. In abstract mathematics properties can be called <span class="newterm">coordinates</span> (of a multidimensional space), objects be called points of a multidimensional space, and these classes which have the same set of properties for every member be called multidimensional relations. I will however use shorter terms <em>properties</em> and <em>objects</em>. </p><p>The above can be generalized for the cases of:</p><ul><li><span class="newterm">sets of properties with argument, objects with argument, classes with argument</span>, having only the special property <math><mi>X</mi></math> instead of both <math><mi>X</mi></math> and <math><mi>Y</mi></math>;</li><li><span class="newterm">sets of properties with result, objects with result, classes with result</span>, having only the special property <math><mi>Y</mi></math> instead of both <math><mi>X</mi></math> and <math><mi>Y</mi></math>.</li></ul><p>However for brevity I will limit our consideration only to objects having both <math><mi>X</mi></math> and <math><mi>Y</mi></math>. (It is trivial to generalize the below for cases of having only one of <math><mi>X</mi></math> or <math><mi>Y</mi></math>.)</p><h4 id="d16e250">Informal comments</h4><p>Oh, well. Now the concepts of argument and result are formalized. Haven't I discovered <math><mi>X</mi></math> and <math><mi>Y</mi></math>, yeah? Anyway, in former times these were called unknown...</p><p><math><mi>X</mi></math> and <math><mi>Y</mi></math> correspond to Father and Son in New Testament. (<math><mi>Z</mi></math> will correspond to Holy Spirit.) Well, let's return to formal math.</p><p><span class="parahead remark">Remark</span>  Following the wisdom contrary to sound mind, we do not need to require dependency of the same directed class to have the same sets of properties. A reader however may assume this requirement to reduce the mess. </p><h3 id="d16e280">Operation Comma</h3><p>By definition comma <q><math><mi>,</mi></math></q> is associative binary operation which is injective that is <math><mrow><mrow><msub><mi>a</mi><mn>1</mn></msub><mo>≠</mo><msub><mi>a</mi><mn>2</mn></msub></mrow><mo>∨</mo><mrow><msub><mi>b</mi><mn>1</mn></msub><mo>≠</mo><msub><mi>b</mi><mn>2</mn></msub></mrow></mrow><mo>⇒</mo><mrow><mrow><mo>(</mo><mrow><msub><mi>a</mi><mn>1</mn></msub><mo>,</mo><msub><mi>b</mi><mn>1</mn></msub></mrow><mo>)</mo></mrow><mo>≠</mo><mrow><mo>(</mo><mrow><msub><mi>a</mi><mn>2</mn></msub><mo>,</mo><msub><mi>b</mi><mn>2</mn></msub></mrow><mo>)</mo></mrow></mrow></math>. </p><p>The operation <math><mrow><mo>[</mo><mrow><mi>,</mi></mrow><mo>]</mo></mrow></math> applied to two objects <math><mi>f</mi></math> and <math><mi>g</mi></math> is by definition <math display="block"><mrow><mi>f</mi><mrow><mo>[</mo><mrow><mi>,</mi></mrow><mo>]</mo></mrow><mi>g</mi></mrow><mo>=</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow></mrow></msub></mrow><mo>∪</mo><mrow><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow></mrow></msub></mrow><mo>∪</mo><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>x</mi></mrow><mo>)</mo></mrow></mrow><mo>,</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>x</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mi>x</mi><mo>∈</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∩</mo><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow></mrow><mo>}</mo></mrow><mtext>.</mtext></math> (Here comma is used in the sense of above defined operation comma.) </p><p><span class="parahead theorem">Theorem</span>  The operation <math><mrow><mo>[</mo><mrow><mi>,</mi></mrow><mo>]</mo></mrow></math> is associative. </p><p><span class="parahead proof">◄</span>  ??  <span class="parahead proof">►</span></p><p><span class="parahead obvious">Obvious</span>  <math><mrow><mo>dom</mo><mspace width="0.125em"/><mrow><mo>(</mo><mrow><mi>f</mi><mo>[,]</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∪</mo><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow></mrow></math> </p><p>[TODO: This article should be corrected to use semicolons instead of comma where comma is not appropriate.]</p><h3 id="d16e580">Composition of Dependencies</h3><p>I will say that directed objects <math><mi>f</mi></math> and <math><mi>g</mi></math> (more generally, <math><mi>f</mi></math> is an object with result and <math><mi>g</mi></math> is an object with argument) stick when <math><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow></math>. </p><p>For any two directed objects <math><mi>f</mi></math> and <math><mi>g</mi></math> (I do <em>not</em> require them to stick to each other.) I will define their <span class="newterm">join</span> by the formula: <math display="block"><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mtext>.</mtext></math> </p><p>So join of two directed objects is a directed object.</p><p><span class="parahead lemma">Lemma</span>  <math><mrow><mo>dom</mo><mspace width="0.125em"/><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></mrow><mo>)</mo></mrow><mo>∪</mo><mrow><mo>(</mo><mrow><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></mrow><mo>)</mo></mrow></mrow></math> </p><p><span class="parahead proof">◄</span>  From the proposition above.  <span class="parahead proof">►</span></p><p><span class="parahead lemma">Lemma</span>  Joining directed objects is an associative binary operation. </p><p><span class="parahead proof">◄</span></p><p>Let <math><mi>f</mi></math>, <math><mi>g</mi></math>, <math><mi>h</mi></math> are directed objects.</p><math display="block"><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow><mo>,</mo><mi>h</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mrow><mo>(</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mo>)</mo></mrow><msub><mo>|</mo><mrow><mrow><mo>(</mo><mrow><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></mrow><mo>)</mo></mrow><mo>∪</mo><mrow><mo>(</mo><mrow><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi><mo>,</mo><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></mrow><mo>)</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>h</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>h</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi><mo>,</mo><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>h</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>h</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mtext>.</mtext></math><p>Because the operation <math><mo>[,]</mo></math> is associative, </p><math display="block"><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow><mo>,</mo><mi>h</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi><mo>,</mo><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>h</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>h</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mtext>.</mtext></math><p>From symmetry of this formula follows <math display="block"><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow><mo>,</mo><mi>h</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>g</mi><mo>,</mo><mi>h</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow></mrow><mtext>.</mtext></math>. </p><p><span class="parahead proof">►</span></p><p><span class="parahead lemma">Lemma</span></p><p>For any directed objects <math><mi>f</mi></math>, <math><mi>g</mi></math>, and <math><mi>h</mi></math> (or more generally <math><mi>f</mi></math> may be an object with result and <math><mi>h</mi></math> may be an object with argument):</p><ol><li><math><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow></math> is stick to <math><mi>h</mi></math> if and only if <math><mi>g</mi></math> is stick to <math><mi>h</mi></math>.</li><li><math><mi>f</mi></math> is stick to <math><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow></math> if and only if <math><mi>f</mi></math> is stick to <math><mi>g</mi></math>.</li></ol><p><span class="parahead proof">◄</span>  It follows from the formulas <math><mrow><mrow><mo>(</mo><mrow><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow><mspace width="0.125em"/><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow></math> and <math><mrow><mrow><mo>(</mo><mrow><mrow><mi>J</mi><mrow><mo>(</mo><mrow><mi>g</mi><mo>,</mo><mi>h</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow><mspace width="0.125em"/><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow></math>.  <span class="parahead proof">►</span></p><p>If we consider a pair as a directed object having two properties <math><mi>X</mi></math> and <math><mi>Y</mi></math> (argument and result), then any binary relation (set of pairs) is a dependency.</p><p><span class="parahead remark">Remark</span>  Strictly speaking, the indices of elements in a pair are <math><mn>1</mn></math> and <math><mn>2</mn></math> (or <math><mn>0</mn></math> and <math><mn>1</mn></math> if we number not accordingly tradition but accordingly contemporary mathematics), but writing instead <math><mi>X</mi></math> and <math><mi>Y</mi></math> is less confusing (at least today; in the future mathematical notation shall be more unified, and hopefully we will eventually agree whether to start numbering from zero or one). </p><p><span class="parahead theorem">Theorem</span>  Composition of dependencies is an associative binary operation. </p><p><span class="parahead proof">◄</span>  Follows from the two lemmas above.  <span class="parahead proof">►</span></p><h4 id="d16e1430">Composition by a property</h4><p>I will say that objects <math><mi>f</mi></math> and <math><mi>g</mi></math> stick by property <math><mi>p</mi></math> when <math><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>p</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>p</mi></mrow><mo>)</mo></mrow></mrow></math>. </p><p>For any two directed objects <math><mi>f</mi></math> and <math><mi>g</mi></math> having property <math><mi>p</mi></math> (<em>not</em> necessarily stick by <math><mi>p</mi></math>) I will define their <span class="newterm">join</span> by a property <math><mi>p</mi></math> by the formula <math display="block"><mrow><msub><mi>J</mi><mi>p</mi></msub><mspace width="0.125em"/><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>g</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>p</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mo>[,]</mo><mrow><mo>(</mo><mrow><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>g</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>p</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mtext>.</mtext></math> </p><p>Composition by a property <math><mi>p</mi></math> of two classes <math><mi>U</mi></math> and <math><mi>V</mi></math> every object of which has some property <math><mi>p</mi></math> is by definition the set denoted <math><mi>g</mi><msub><mo>∘</mo><mi>p</mi></msub><mi>f</mi></math> of all joins by <math><mi>p</mi></math> of stick by <math><mi>p</mi></math> pairs of objects <math><mi>f</mi><mo>∈</mo><mi>U</mi></math> and <math><mi>g</mi><mo>∈</mo><mi>V</mi></math>.</p><h4 id="d16e1630">Projection of a Dependency</h4><p>I will call the <span class="newterm">projection</span> of a directed object <math><mi>f</mi></math> a pair <math><mrow><mo>(</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>,</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow></math>. I will call the projection of a dependency the set of projections of all its members. (So projection of a dependency is a binary relation.) </p><h4 id="d16e1662">Reverse Dependency</h4><p><span class="newterm">Reverse</span> of a directed object <math><mi>f</mi></math> is by definition <math display="block"><msup><mrow><mi>f</mi></mrow><mn>-1</mn></msup><mo>=</mo><mrow><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi><mo>,</mo><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>∪</mo><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>X</mi><mo>,</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow><mo>,</mo><mrow><mo>(</mo><mrow><mi>Y</mi><mo>,</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow></mrow><mo>}</mo></mrow></mrow><mtext>.</mtext></math> </p><p>Reverse of a dependency is by definition the set of reverses of all its directed objects.</p><p><span class="parahead obvious">Obvious</span>  Reverse of the reverse of a dependency is this dependency, that is <math><msup><mrow><mrow><mo>(</mo><mrow><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></mrow><mo>)</mo></mrow></mrow><mn>-1</mn></msup><mo>=</mo><mi>U</mi></math> for any dependency <math><mi>U</mi></math>. </p><p><span class="parahead proposition">Proposition</span>  <math><msup><mrow><mrow><mo>(</mo><mrow><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow><mo>)</mo></mrow></mrow><mn>-1</mn></msup><mo>=</mo><mrow><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup><mo>∘</mo><msup><mrow><mi>V</mi></mrow><mn>-1</mn></msup></mrow></math> for any dependencies (and even any classes) <math><mi>U</mi></math> and <math><mi>V</mi></math>. </p><p><span class="parahead proof">◄</span>  Follows from symmetry.  <span class="parahead proof">►</span></p><h4 id="d16e1827">Projection, image and domain of a dependency</h4><p>I will call <math><mrow><mi>U</mi><mrow><mo>(</mo><mrow><mi>A</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>∧</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>∈</mo><mi>A</mi></mrow><mo>}</mo></mrow></math> the image of the set <math><mi>A</mi></math> by a dependency <math><mi>U</mi></math>. </p><p>I will call <span class="newterm">slice</span> of a class <math><mi>U</mi></math> (every member of which has a property <math><mi>p</mi></math>) for the value <math><mi>a</mi></math> of the property <math><mi>p</mi></math>.</p><math display="block"><mrow><msub><mi>U</mi><mrow><mi>p</mi><mo>=</mo><mi>a</mi></mrow></msub></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>p</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>∧</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>p</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mi>a</mi></mrow><mo>}</mo></mrow><mtext>.</mtext></math><p>I will call <span class="newterm">projection</span> of dependency <math><mi>U</mi></math> to a property <math><mi>p</mi></math> the set <math display="block"><mrow><msub><mo>Pr</mo><mi>p</mi></msub><mspace width="0.125em"/><mi>U</mi></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>p</mi></mrow><mo>)</mo></mrow></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mi>f</mi><mo>∈</mo><mi>U</mi><mo>}</mo></mrow><mtext>.</mtext></math> </p><p>By definition</p><ul class="compact"><li> <math><mrow><mo>dom</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>=</mo><mrow><msub><mo>Pr</mo><mi>X</mi></msub><mspace width="0.125em"/><mi>U</mi></mrow></math>; </li><li> <math><mrow><mo>im</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>=</mo><mrow><msub><mo>Pr</mo><mi>Y</mi></msub><mspace width="0.125em"/><mi>U</mi></mrow></math>. </li></ul><p>Projection of a dependency (onto the direction <math><mi>X</mi><mo>→</mo><mi>Y</mi></math>) is defined as <math display="block"><mrow><mo>Pr</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>f</mi><msub><mo>|</mo><mrow><mo>{</mo><mrow><mi>X</mi><mo>,</mo><mi>Y</mi></mrow><mo>}</mo></mrow></msub></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>}</mo></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>,</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>}</mo></mrow><mtext>.</mtext></math> </p><p>Such projection is a binary relation.</p><p><span class="parahead theorem">Theorem</span>  Composition of projection of dependencies is projection of compositions, that is <math><mrow><mo>Pr</mo><mspace width="0.125em"/><mrow><mo>(</mo><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mrow><mo>Pr</mo><mspace width="0.125em"/><mi>V</mi></mrow></mrow><mo>)</mo></mrow><mo>∘</mo><mrow><mo>(</mo><mrow><mrow><mo>Pr</mo><mspace width="0.125em"/><mi>U</mi></mrow></mrow><mo>)</mo></mrow></mrow></math> </p><p><span class="parahead proof">◄</span>  ??  <span class="parahead proof">►</span></p><p><span class="parahead obvious">Obvious</span></p><p>For any dependency <math><mi>f</mi></math></p><ul class="compact"><li> <math><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>=</mo><mrow><mo>dom</mo><mspace width="0.125em"/><mrow><mo>Pr</mo><mspace width="0.125em"/><mi>f</mi></mrow></mrow></math>; </li><li> <math><mrow><mo>im</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>=</mo><mrow><mo>im</mo><mspace width="0.125em"/><mrow><mo>Pr</mo><mspace width="0.125em"/><mi>f</mi></mrow></mrow></math>; </li></ul><p>Limiting and square limiting of a dependency <math><mi>f</mi></math> to a set <math><mi>A</mi></math> are defined correspondingly as:</p><ul><li> <math><mrow><mi>U</mi><msub><mo>|</mo><mi>A</mi></msub></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>g</mi><mo>∈</mo><mi>U</mi></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>∈</mo><mi>A</mi><mo>}</mo></mrow></math>. </li><li> <math><mrow><mi>U</mi><mo>□</mo><mi>A</mi></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>g</mi><mo>∈</mo><mi>U</mi></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>,</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>∈</mo><mi>A</mi><mo>}</mo></mrow></math>. </li></ul><h2 id="d16e2457">Category of dependencies</h2><p>I will define the category of dependencies as the category whose objects are sets and whose morphisms from a set <math><mi>A</mi></math> to a set <math><mi>B</mi></math> are triples <math><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>A</mi><mo>,</mo><mi>B</mi></mrow><mo>)</mo></mrow></math> where <math><mi>f</mi></math> is a dependency and</p><ul class="compact"><li> <math><mrow><mo>dom</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>⊆</mo><mi>A</mi></math>; </li><li> <math><mrow><mo>im</mo><mspace width="0.125em"/><mi>f</mi></mrow><mo>⊆</mo><mi>B</mi></math>. </li></ul><p>Composition of the morphisms is naturally induced by composition of dependencies.</p><p>The identity morphism for a set <math><mi>A</mi></math> is the identity relation on the set <math><mi>A</mi></math>.</p><p><span class="parahead proof">◄</span></p><p>We will prove that <math><msub><mi>I</mi><mi>A</mi></msub></math> (the identity relation on a set <math><mi>A</mi></math>) is left identity of the category of dependencies. (For right identity the proof is symmetric.)</p><p>We need to prove that <math><mrow><msub><mi>I</mi><mi>A</mi></msub><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mi>f</mi></math> for any dependency <math><mi>U</mi></math> whose image is a subset of <math><mi>A</mi></math>.</p><p>By definition of composition of dependencies <math display="block"><mrow><msub><mi>I</mi><mi>A</mi></msub><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mrow><mo>[</mo><mrow><mi>,</mi></mrow><mo>]</mo></mrow><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>Y</mi><mo>,</mo><mi>y</mi></mrow><mo>)</mo></mrow></mrow><mo>}</mo></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>∧</mo><mrow><mi>y</mi><mo>∈</mo><mi>A</mi></mrow><mo>∧</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mi>y</mi></mrow><mo>}</mo></mrow><mtext>.</mtext></math> </p><p>Because image of <math><mi>U</mi></math> is a subset of <math><mi>A</mi></math>, for any <math><mi>f</mi><mo>∈</mo><mi>U</mi></math> exists exactly one <math><mi>y</mi><mo>∈</mo><mi>A</mi></math> such that <math><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mi>y</mi></math>, so <math display="block"><mrow><msub><mi>I</mi><mi>A</mi></msub><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>Y</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow><mrow><mo>[</mo><mrow><mi>,</mi></mrow><mo>]</mo></mrow><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>Y</mi><mo>,</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>)</mo></mrow></mrow><mo>}</mo></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>}</mo></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>f</mi></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>}</mo></mrow><mo>=</mo><mi>U</mi><mtext>.</mtext></math> </p><p><span class="parahead proof">►</span></p><p>Additionally I will define reverse of a morphism of the category of dependencies by the formula <math display="block"><msup><mrow><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>A</mi><mo>,</mo><mi>B</mi></mrow><mo>)</mo></mrow></mrow><mn>-1</mn></msup><mo>=</mo><mrow><mo>(</mo><mrow><msup><mrow><mi>f</mi></mrow><mn>-1</mn></msup><mo>,</mo><mi>B</mi><mo>,</mo><mi>A</mi></mrow><mo>)</mo></mrow><mtext>.</mtext></math> </p><p><math><mo>Pr</mo></math> becomes a functor from the category of dependencies to the category of sets and binary relations between sets, if it is extended so that it maps an object of the category of dependencies to itself (is identity function on the set of objects of the category of dependencies).</p><p>It is easy to prove that image, domain, image of a set (as defined in <a href="/pseudomorphisms-category.xml">theory of endomorphisms</a> base on the functor <math><mo>Pr</mo></math>) for an object of the category of dependencies is the same as of the corresponding dependency.</p><p>We can equate every dependency <math><mi>U</mi></math> with the endomorphism <math display="block"><mrow><mo>(</mo><mrow><mi>U</mi><mo>,</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"/><mi>U</mi></mrow></mrow><mo>,</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"/><mi>U</mi></mrow></mrow></mrow><mo>)</mo></mrow><mtext>.</mtext></math> This allows to apply the <a href="/pseudomorphisms-category.xml">theory of endomorphisms</a> to dependencies and define such things as dependency series, etc.</p><p><span class="parahead remark">Remark</span>  The category <math><mi mathvariant="bold">Set</mi></math> of sets and functions between these is a subcategory of the category of dependencies, because functions (as well as any binary relations) are dependencies. </p><p><span class="parahead theorem">Theorem</span>  The sets if isomorphisms of the category of dependencies is exactly the set of bijective functions (that is isomorphisms of the category <math><mi mathvariant="bold">Set</mi></math>). </p><p><span class="parahead proof">◄</span></p><p>That an isomorphism of <math><mi mathvariant="bold">Set</mi></math> is also an isomorphism of the category of dependencies is obvious.</p><p>Composition of two dependencies is not identity morphism if one (or both) of these dependencies is not a relation. (This follows from that this composition is obviously even not a relation.) Consequently only a relation can be an isomorphism of the category of dependencies. Any relation which is not a bijective function cannot be isomorphism because its composition with any other relation is obviously not any identity function.</p><p><span class="parahead proof">►</span></p><p><span class="parahead problem">Problem for the reader</span>  Formulate analogous statements for retractable and sectionable morphisms instead of isomorphisms. </p><h3 id="d16e2958">General operations over dependencies</h3><p>It is easy to check that the properties of above defined projection, square limiting, image of a set, image and domain conform to the axioms for corresponding operators in my <a href="/pseudomorphisms-category.xml">article about pseudomorphisms</a>.</p><p>So the theorems and definitions from there apply to the category of dependencies.</p><h3 id="d16e2973">Pseudomorphisms</h3><p>The set of category of dependencies morphisms between any two given sets is partially ordered accordingly set theoretic order (<math><mo>⊆</mo></math>) of sets. (Recall that every dependency is a set.) Moreover it is infinitely distributive full lattice.</p><p>So for the category of dependencies can be applied the <a href="/pseudomorphisms-category.xml">theory of pseudomorphisms</a>. There exists the category of pseudomorphisms (and category of intermorphisms) between dependencies (strictly speaking, between endomorphisms of the category of dependencies).</p><p>The objects of the category of pseudomorphisms of dependencies are endomorphisms of the category of dependencies. (I will call these <span class="newterm">endo-dependencies</span>.)</p><p><span class="parahead remark">Remark</span>  We also could limit our consideration to only such endo-dependencies <math><mi>U</mi></math> that <math><mrow><mo>Src</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>=</mo><mrow><mo>Src</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"/><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"/><mi>U</mi></mrow></mrow></math> and so consider only (full) subcategories of the categories of pseudomorphism and intermorphisms of dependencies, whose objects are endo-dependencies conforming to the above formula. Limiting our consideration in this way would have the advantage that in this case every object of the category of pseudomorphism of dependencies is completely defined by a dependency (knowing dependency, its source and destination can be calculated by the above formulas). </p><p>However it is worth to note that not every pseudomorphism of the category of dependencies is interesting. For example empty <math><mrow><mo>∅</mo></mrow><mo>∈</mo><mrow><mo>Pseud</mo><mspace width="0.125em"/><mrow><mo>(</mo><mrow><mi>U</mi><mo>,</mo><mi>V</mi></mrow><mo>)</mo></mrow></mrow></math> for any two endo-dependencies <math><mi>U</mi></math> and <math><mi>V</mi></math>. Direct product of two sets is often also an intermorphisms of two given dependencies.</p><p>We sometimes may wish to limit our consideration to these pseudomorphisms (or intermorphisms) which correspond to monovalued functions (morphisms of the category <math><mi mathvariant="bold">Set</mi></math>).</p><p>Excluding all other pseudomorphisms from the category of pseudomorphisms between dependencies produces a subcategory of the category of pseudomorphisms. (This follows from that composition of functions is a function and every identity morphism of the category of dependencies is a function.) I will call these categories the <span class="netterm">category of functional pseudomorphisms</span> and the <span class="netterm">category of functional intermorphisms</span>.</p><p>So we have noted two special classes of objects of the category of dependencies: endo-dependencies and morphisms of <math><mi mathvariant="bold">Set</mi></math> (functions).</p><p><span class="parahead remark">Remark</span>  These two classes intersect with each other, for example identity morphisms of the category of dependencies belong to both classes. </p><h3 id="d16e3092">Intermorphisms</h3><p>I recall that accordingly to the <a href="/pseudomorphisms-category.html">theory of pseudomorphisms</a> isomorphisms between endomorphisms is an intermorphism which has the reverse morphism (which is also an intermorphism).</p><p>So we have the concept of isomorphisms between endo-dependencies.</p><p>In the case of dependencies the following theorem can be additionally proved:</p><p><span class="parahead theorem">Theorem</span></p><p>The following statements are equivalent:</p><ol><li><math><mi>Ψ</mi></math> is an isomorphism between endo-dependencies <math><mi>U</mi></math> and <math><mi>V</mi></math>.</li><li><math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is an isomorphism between endo-dependencies <math><mi>V</mi></math> and <math><mi>U</mi></math>.</li><li><math><mi>Ψ</mi></math> is an isomorphism between endo-dependencies <math><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></math> and <math><msup><mrow><mi>V</mi></mrow><mn>-1</mn></msup></math>.</li><li><math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is an isomorphism between endo-dependencies <math><msup><mrow><mi>V</mi></mrow><mn>-1</mn></msup></math> and <math><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></math>.</li></ol><p><span class="parahead proof">◄</span></p><dl><dt><math><mtext>(1)</mtext><mo>⇒</mo><mtext>(2)</mtext></math></dt><dd> <p>Let <math><mi>Ψ</mi></math> is an isomorphism between endo-dependencies <math><mi>U</mi></math> and <math><mi>V</mi></math>.</p> <p>Then by properties of the category of pseudomorphisms <math><mi>Ψ</mi><mo>=</mo><mrow><mo>(</mo><mrow><mi>f</mi><mo>,</mo><mi>U</mi><mo>,</mo><mi>V</mi></mrow><mo>)</mo></mrow></math> where <math><mi>f</mi></math> is an isomorphism of the category of dependencies, that is essentially a bijective function.</p> <p> <math><mrow><mi>f</mi><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mi>V</mi><mo>∘</mo><mi>f</mi></mrow></math>. Because <math><mi>f</mi></math> is a bijection, we can <q>multiply</q> (compose) this equation with <math><msup><mrow><mi>f</mi></mrow><mn>-1</mn></msup></math> at both left and right. After multiplication we get <math><mrow><mi>U</mi><mo>∘</mo><msup><mrow><mi>f</mi></mrow><mn>-1</mn></msup></mrow><mo>=</mo><mrow><msup><mrow><mi>f</mi></mrow><mn>-1</mn></msup><mo>∘</mo><mi>V</mi></mrow></math>. So <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is both an intermorphism and an isomorphism (because <math><msup><mrow><mi>f</mi></mrow><mn>-1</mn></msup></math> is an isomorphism) of the category of dependencies, <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is an isomorphism of the category of pseudomorphisms. </p> </dd><dt><math><mtext>(2)</mtext><mo>⇒</mo><mtext>(3)</mtext></math></dt><dd> <p>Inverting <math><mrow><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup><mo>∘</mo><mi>V</mi></mrow><mo>=</mo><mrow><mi>U</mi><mo>∘</mo><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></mrow></math> we get <math><mrow><mi>Ψ</mi><mo>∘</mo><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></mrow><mo>=</mo><mrow><msup><mrow><mi>V</mi></mrow><mn>-1</mn></msup><mo>∘</mo><mi>Ψ</mi></mrow></math>. </p> <p>Analogously to the previous item we get that <math><mi>Ψ</mi></math> is an isomorphism of the category of pseudomorphism. [TODO: More detailed proof.]</p> </dd></dl><p>The rest implications to prove equivalence of all four items easily follow from the above two implications:</p><dl><dt><math><mtext>(3)</mtext><mo>⇒</mo><mtext>(4)</mtext></math></dt><dd> <p>From <math><mtext>(1)</mtext><mo>⇒</mo><mtext>(2)</mtext></math>. </p> </dd><dt><math><mtext>(4)</mtext><mo>⇒</mo><mtext>(1)</mtext></math></dt><dd> <p>From <math><mtext>(2)</mtext><mo>⇒</mo><mtext>(3)</mtext></math>. </p> </dd></dl><p><span class="parahead proof">►</span></p><h2 id="d18e195">Related Links</h2><ul><li><a href="/theory-of-formulas-index.html">Axiomatic Theory of Formulas pages on this site</a>.</li><li><a href="/formulas.xml">This article as one <abbr>XHTML</abbr>+<acronym>MathML</acronym> file</a>.</li><li><strong>Axiomatic Theory of Formulas</strong> (old version of this theory, essentially based on universal algebra; but a more ready document than this). <a href="http://ex-code.com/~porton/">Victor Porton</a>. 2005. <ul><li><a href="/formulas-theory.html">first part</a>;</li><li><a href="/representation-of-formulas.html">second part</a> (<q>Representation Related Properties of Formulas</q>).</li></ul> </li><li><a href="http://b2e.ex-code.com/index.php/math/2005/08/12/definition_of_category_with_multiple_sou">Definition of category with multiple domains and ranges</a>.</li><li><a href="/method.html">21 Century Math Method</a> (rough draft), a logical method which will use this theory of formulas.</li><li><a href="/programming.html">21 Century Math Method in Programming</a> (rough draft).</li><li><a href="/news/2005-07-07-transformations-algebra.html">Algebra of transformations of formulas</a> (a <a href="/news.html">weblog</a> message by <a href="http://ex-code.com/~porton/">Victor Porton</a>).</li><li><a href="/21mm-software.html">Software for 21 Century Math Method</a>.</li><li><a href="/21mm-research-plans.html">21 Century Math Method - Further Research Plans</a>.</li><li><a href="/">www.mathematics21.org</a></li><li><a href="/journal.html">Journal of post-Axiomatic Mathematics and Logic</a>.</li></ul><h2 id="d18e289">License</h2><p><a href="/formulas/legal.xml">See here</a> about licensing of this text etc.</p><hr/><h2 id="d15e59">Related Web Categories</h2><p>See also <a href="/new-categories.html">my suggestions for new mathematics classification categories</a>.</p><ul class="webdir-links"><li><a href="http://directory.google.com/Top/Computers/Computer_Science/Theoretical/">/Computers/Computer_Science/Theoretical/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Algebra/">/Science/Math/Algebra/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Logic_and_Foundations/">/Science/Math/Logic_and_Foundations/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Logic_and_Foundations/Foundations/">/Science/Math/Logic_and_Foundations/Foundations/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Logic_and_Foundations/Model_Theory/">/Science/Math/Logic_and_Foundations/Model_Theory/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Algebra/Category_Theory/">/Science/Math/Algebra/Category_Theory/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Publications/Online_Texts/">/Science/Math/Publications/Online_Texts/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Logic_and_Foundations/Education/">/Science/Math/Logic_and_Foundations/Education/</a></li><li><a href="http://directory.google.com/Top/Science/Math/Education/">/Science/Math/Education/</a></li></ul><hr/><p class="copyright">Copyright © 2005 Victor Porton</p><p>Produced with <a href="http://www.mathematics21.org/xslt.html">XSLT Stylesheets for Math</a>.</p></div><div class="center"><script type="text/javascript">google_ad_client = "pub-9523722979947731";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="3391171102";

google_color_border = ["DFF2FD","CCCCCC","DDAAAA","578A24"];
google_color_bg = ["DFF2FD","FFFFFF","ECF8FF","CCFF99"];
google_color_link = ["0000CC","000000","0033FF","00008B"];
google_color_url = ["008000","666666","0033FF","00008B"];
google_color_text = ["000000","333333","000000","000000"];
google_alternate_ad_url = "http://www.mathematics21.org/ads/728x90";
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div></body> </html>
