<html xml:lang="en" lang="en"> <head xmlns:m="http://www.w3.org/1998/Math/MathML"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><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-06T14:27:40+0500"> <title>Theory of Dependencies - New Theory Around Category Theory and Universal Algebra</title> <meta name="Description" content="Theory of Dependencies - a new math theory around category theory and universal algebra. It is expected to become a new generalization of universal algebra (algebraization of algebra) and a reformulation of category theory."> <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-06T14:27:40+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_page_url = document.location;
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_page_url = document.location;
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_page_url = document.location;
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 - New Theory Around Category Theory and Universal Algebra</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="#d16e15">Objects and Classes</a><ul class="ToC"><li><a href="#d16e65">Objects and Classes</a></li><li><a href="#d16e149">Operation Comma</a></li><li><a href="#d16e406">Simple Operations on Classes</a></li><li><a href="#d16e567">Special Properties <math><mi>X</mi></math> and <math><mi>Y</mi></math></a></li><li><a href="#d16e676"> Operations with Classes with Argument and Result </a><ul class="ToC"><li><a href="#d16e690">Domain and Image</a></li><li><a href="#d16e770">Reverse Dependency</a></li><li><a href="#d16e893">Limiting a Dependency</a><ul class="ToC"><li><a href="#d16e907">Limiting a Dependency</a></li><li><a href="#d16e973">Square Limiting a Dependency</a></li></ul></li><li><a href="#d16e1053">Composition</a></li><li><a href="#d16e2115">Projection of a Dependency. Image of a Set. Closed Sets</a></li><li><a href="#d16e2488">Sequential Dependencies</a></li></ul></li></ul></li><li><a href="#d16e4076">Category of Dependencies</a><ul class="ToC"><li><a href="#d16e5157">Homomorphisms</a></li><li><a href="#d16e6177">Pseudomorphisms</a></li></ul></li><li><a href="#d16e6997"> Proof of the Main Theorem about Dependencies Category </a></li><li><a href="#d16e8070">Category of Dependencies - Relations of Elements</a><ul class="ToC"><li><a href="#d16e8199">Ancestry of an Element</a></li><li><a href="#d16e8317">Categories of Elements</a></li><li><a href="#d16e8362">Preimage Category</a></li><li><a href="#d16e8503">Ancestry Categories</a></li></ul></li><li><a href="#d16e8634">Licensing etc.</a><ul class="ToC"><li><a href="#d16e8639">About the Original Method Authorship</a></li><li><a href="#d16e8667">License</a></li></ul></li></ul><h2 id="d16e15">Objects and Classes</h2><p>In this section I will introduce the concepts of <em>objects</em> and <em>classes</em>. Classes introduced in this article is a generalization of <math><mi>n</mi></math>-ary relations.</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><p>I will also introduce two special properties <math><mi>X</mi></math> and <math><mi>Y</mi></math> (argument and result). Classes with argument and result (<em>dependencies</em>, see below) will be a generalization of binary relations. For such classes composition (generalizing composition of binary relations) is defined.</p><p>These concepts were introduced by me in order to research properties of mathematical formulas (expressions) on a very abstract level for purposes of math logic, but they may also find other applications in other fields 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 category theory, 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 category theory are not yet thoroughly researched, however.)</p><h3 id="d16e65">Objects and Classes</h3><p>Let <math><mi>Prop</mi></math> is a set (called <span class="newterm">properties</span>). Anything said here is not limited to finite set of properties but you may consider only finite sets of properties, or even no more than three-elements sets. (It is enough for the <a href="/theory-of-formulas-index.html">theory of formulas</a>).</p><p>I will call an <span class="newterm">object</span> a function from a subset of <math><mi>Prop</mi></math>.</p><p><span class="parahead remark">Remark</span>  The terms <em>property</em> and <em>object</em> are from computer science. In abstract mathematics properties can be called <span class="newterm">coordinates</span> (of a multidimensional space), and objects be called points of a multidimensional space. I will however use shorter terms <em>properties</em> and <em>objects</em>. </p><p>A set <math><mi>U</mi></math> of objects with common domain <math><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></mrow></math> can be called either a <span class="newterm">class</span> (a term from computer science) or a <span class="newterm">multidimensional relation</span> (a term from abstract mathematics). A class essentially is a <math><mi>n</mi></math>-ary operation, where <math><mi>n</mi><mo>=</mo><mrow><mo>card</mo><mspace width="0.125em"></mspace><mi>Prop</mi></mrow></math> (<q>properties</q> are <q>names</q> of the arguments of this relation).</p><h3 id="d16e149">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"></mspace><mi>f</mi></mrow><mo>∖</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><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"></mspace><mi>g</mi></mrow><mo>∖</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><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"></mspace><mi>f</mi></mrow><mo>∩</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><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 obvious">Obvious</span>  The operation <math><mrow><mo>[</mo><mrow><mi>,</mi></mrow><mo>]</mo></mrow></math> is associative. </p><p>[TODO: This article should be corrected to use semicolons instead of comma where comma is not appropriate.</p><h3 id="d16e406">Simple Operations on Classes</h3><p>The <span class="newterm">value</span> of a class <math><mi>U</mi></math> on the value <math><mi>a</mi></math> of the property <math><mi>q</mi></math> is by definition <math display="block"><mrow><msub><mi>U</mi><mi>q</mi></msub><mrow><mo>(</mo><mrow><mi>a</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>q</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>q</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mi>a</mi></mrow><mo>}</mo></mrow><mtext>.</mtext></math> </p><p>The <span class="newterm">projection</span> of a class <math><mi>U</mi></math> to the property <math><mi>q</mi></math> is by definition <math display="block"><mrow><msub><mo>Pr</mo><mi>q</mi></msub><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>q</mi></mrow><mo>)</mo></mrow></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><h3 id="d16e567">Special Properties <math><mi>X</mi></math> and <math><mi>Y</mi></math></h3><p>I will designate 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>).</p><p>Binary relations can be considered as classes with exactly two properties <math><mi>X</mi></math> and <math><mi>Y</mi></math>. 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>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><abbr>BTW</abbr>, <math><mi>X</mi></math> here denotes the Father and and <math><mi>Y</mi></math> denotes the Son. (<q>Index</q> as defined below will be Holy Spirit.) Well, let's return to formal math.</p><p>I will call classes with properties <math><mi>X</mi></math> and <math><mi>Y</mi></math> <span class="newterm">classes with argument and result</span> or <span class="newterm">dependencies</span> (of <math><mi>Y</mi></math> from <math><mi>X</mi></math>).</p><p><span class="parahead remark">Remark</span>  Alternatively we could call a dependency a system of a class and a pair of its properties, but that variant is much less fortunate than carefully crafted variant that two special common properties <math><mi>X</mi></math> and <math><mi>Y</mi></math> are designated to be special for <em>all</em> classes instead of having different special properties for different classes. </p><h3 id="d16e676"> Operations with Classes with Argument and Result </h3><p>Having special properties <math><mi>X</mi></math> and <math><mi>Y</mi></math> we can define some operations on classes, which are generalizations of the corresponding operations on binary relations.</p><h4 id="d16e690">Domain and Image</h4><p><span class="newterm">Domain</span> and <span class="newterm">image</span> of dependencies are generalization of domain and image of relations.</p><p>By definition</p><ul class="compact"><li> <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>=</mo><mrow><msub><mo>Pr</mo><mi>X</mi></msub><mspace width="0.125em"></mspace><mi>U</mi></mrow></math>; </li><li> <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>=</mo><mrow><msub><mo>Pr</mo><mi>Y</mi></msub><mspace width="0.125em"></mspace><mi>U</mi></mrow></math>. </li></ul><h4 id="d16e770">Reverse Dependency</h4><p>Reverse dependency is a generalization of reverse relation.</p><p>By definition <math><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></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><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mi>f</mi><mo>∈</mo><mi>U</mi><mo>}</mo></mrow></math>. </p><p><span class="parahead obvious">Obvious</span>  <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><h4 id="d16e893">Limiting a Dependency</h4><p>There are two kinds of limiting a dependency to a set: <em>limiting</em> and <em>square limiting</em>.</p><h5 id="d16e907">Limiting a Dependency</h5><p>A dependency <math><mi>U</mi></math> <span class="newterm">limited</span> to a set <math><mi>A</mi></math> is by definition <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>. </p><h5 id="d16e973">Square Limiting a Dependency</h5><p>A dependency <math><mi>U</mi></math> <span class="newterm">square limited</span> to a set <math><mi>A</mi></math> is by definition <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><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>. </p><h4 id="d16e1053">Composition</h4><p>By definition composition of classes <math><mi>U</mi></math> and <math><mi>V</mi></math> is <math display="block"><mrow><mi>V</mi><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>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></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><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi></mrow><mo>)</mo></mrow></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></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>g</mi><mo>∈</mo><mi>V</mi></mrow><mo>∧</mo><mrow><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></mrow><mo>}</mo></mrow><mtext>.</mtext></math> </p><p>Recall that we consider binary relations as a particular case of classes (with only <math><mi>X</mi></math> and <math><mi>Y</mi></math> properties). So left and right composition of a dependency with a binary relation (and specifically with a unary function) is defined. (We will use this below to define morphisms between dependencies.)</p><p><span class="parahead theorem">Theorem</span>  Composition of dependencies is an associative operation. </p><p><span class="parahead proof">◄</span></p><p>(I suspect that there should be a shorter proof...)</p><p>Let <math><mi>U</mi></math>, <math><mi>V</mi></math>, <math><mi>W</mi></math> are classes (with special properties).</p><p> <math display="block"><mrow><mi>W</mi><mo>∘</mo><mrow><mo>(</mo><mrow><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mrow><mo>(</mo><mrow><mi>c</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow><mo>)</mo></mrow></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><mi>h</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>W</mi></mrow><mo>)</mo></mrow></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow></mrow><mpadded lspace="0.25em" width="+0.25em"><mo>|</mo></mpadded><mrow><mi>c</mi><mo>∈</mo><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow><mo>∧</mo><mrow><mi>h</mi><mo>∈</mo><mi>W</mi></mrow><mo>∧</mo><mrow><mrow><mi>c</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>h</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>}</mo></mrow><mtext>.</mtext></math> <math><mi>c</mi><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></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><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi></mrow><mo>)</mo></mrow></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow></math> where <math><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>∧</mo><mrow><mi>g</mi><mo>∈</mo><mi>V</mi></mrow><mo>∧</mo><mrow><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></mrow></math>; <math><mrow><mi>c</mi><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> </p><p> So <math display="block"><mrow><mi>c</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow><mo>)</mo></mrow></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>f</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></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><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi></mrow><mo>)</mo></mrow></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></math> </p><math display="block"><mrow><mi>W</mi><mo>∘</mo><mrow><mo>(</mo><mrow><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></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><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi></mrow><mo>)</mo></mrow></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><mi>,</mi></mrow><mo>]</mo></mrow><mrow><mo>(</mo><mrow><mi>h</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>W</mi></mrow><mo>)</mo></mrow></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></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>g</mi><mo>∈</mo><mi>V</mi></mrow><mo>∧</mo><mrow><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></mrow><mo>∧</mo><mrow><mi>h</mi><mo>∈</mo><mi>W</mi></mrow><mo>∧</mo><mrow><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>h</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>}</mo></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></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><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi></mrow><mo>)</mo></mrow></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><mi>,</mi></mrow><mo>]</mo></mrow><mrow><mo>(</mo><mrow><mi>h</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>W</mi></mrow><mo>)</mo></mrow></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></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>g</mi><mo>∈</mo><mi>V</mi></mrow><mo>∧</mo><mrow><mi>h</mi><mo>∈</mo><mi>W</mi></mrow><mo>∧</mo><mrow><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></mrow><mo>∧</mo><mrow><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>Y</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>h</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>}</mo></mrow><mtext>.</mtext></math><p> <math><mrow><mi>W</mi><mo>∘</mo><mrow><mo>(</mo><mrow><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mrow><mi>W</mi><mo>∘</mo><mi>V</mi></mrow></mrow><mo>)</mo></mrow><mo>∘</mo><mi>U</mi></mrow></math> follows from symmetry of the above formula. </p><p><span class="parahead proof">►</span></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="d16e2115">Projection of a Dependency. Image of a Set. Closed Sets</h4><p>[TODO: Split this section into several smaller sections.]</p><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"></mspace><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>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><span class="parahead definition">Definition</span>  A set <math><mi>A</mi></math> is <span class="newterm">closed regarding a dependency</span> <math><mi>U</mi></math> if and only if <math><mrow><mi>U</mi><mrow><mo>(</mo><mrow><mi>A</mi></mrow><mo>)</mo></mrow></mrow><mo>⊆</mo><mi>A</mi></math> </p><p><span class="parahead obvious">Obvious</span>  Image of a set by a dependency is image of the set by the projection of the dependency that is <math><mrow><mi>U</mi><mrow><mo>(</mo><mrow><mi>A</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mrow><mo>Pr</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow><mo>)</mo></mrow><mrow><mo>(</mo><mrow><mi>A</mi></mrow><mo>)</mo></mrow></mrow></math> for any dependency <math><mi>U</mi></math> and set <math><mi>A</mi></math>. </p><p><span class="parahead consequence">Consequence</span>  A set is closed regarding a dependency if and only if it is closed regarding its projection. </p><p><span class="parahead remark">Remark</span>  The predicate of being closed is asymmetric (it changes, if <math><mi>X</mi></math> and <math><mi>Y</mi></math> are interchanged with each other). This suggest the idea that some kind of an <em>asymmetric</em> category of dependencies should be introduced, in addition to the symmetric <math><mi>HomDep</mi></math> (see below) category. (Maybe, it is related with pseudomorphisms, see below.) </p><p><span class="parahead obvious">Obvious</span>  Composition of projection of dependencies is projection of compositions, that is <math><mrow><mo>Pr</mo><mspace width="0.125em"></mspace><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"></mspace><mi>V</mi></mrow></mrow><mo>)</mo></mrow><mo>∘</mo><mrow><mo>(</mo><mrow><mrow><mo>Pr</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow><mo>)</mo></mrow></mrow></math> </p><p><span class="parahead obvious">Obvious</span>  Image of a set by composition of dependencies is the image of the image of this set, that is <math><mrow><mrow><mo>(</mo><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow><mo>)</mo></mrow><mi>A</mi></mrow><mo>=</mo><mrow><mi>V</mi><mrow><mo>(</mo><mi>U</mi><mrow><mo>(</mo><mrow><mi>A</mi></mrow><mo>)</mo></mrow><mo>)</mo></mrow></mrow></math>. </p><p><span class="parahead obvious">Obvious</span>  Image of a dependency is image of its domain by this dependency, that is <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>=</mo><mrow><mi>U</mi><mrow><mo>(</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow><mo>)</mo></mrow></mrow></math>. </p><h4 id="d16e2488">Sequential Dependencies</h4><p><span class="newterm">Sequential dependency</span> <math><msup><mi>U</mi><mi>S</mi></msup></math> corresponding to dependency <math><mi>U</mi></math> is defined by the formula: <math display="block"><msup><mi>U</mi><mi>S</mi></msup><mo>=</mo><mrow><mo>(</mo><mrow><mi>=</mi></mrow><mo>)</mo></mrow><msub><mo>|</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></msub><mo>∪</mo><mi>U</mi><mo>∪</mo><mrow><mo>(</mo><mrow><mi>U</mi><mo>∘</mo><mi>U</mi></mrow><mo>)</mo></mrow><mo>∪</mo><mrow><mo>(</mo><mrow><mi>U</mi><mo>∘</mo><mi>U</mi><mo>∘</mo><mi>U</mi></mrow><mo>)</mo></mrow><mo>∪</mo><mi>…</mi><mtext>.</mtext></math> </p><h2 id="d16e4076">Category of Dependencies</h2><p>I will use a variation of the standard definition of <span class="newterm">category</span> with one morphism having multiple sources and destination:</p><p><span class="parahead definition">Definition</span></p><p>A <span class="newterm">category</span> is a system of:</p><ul><li>a set <math><mi>Ob</mi></math> of <span class="newterm">objects</span>; (Do not confuse category theory objects with objects defined above.)</li><li>a set of <span class="newterm">morphisms</span> (also called <span class="newterm">arrows</span>);</li><li>set of <span class="newterm">source</span> objects <math><mrow><mo>Src</mo><mspace width="0.125em"></mspace><mi>f</mi></mrow></math> and set of <span class="newterm">destination</span> objects <math><mrow><mo>Dst</mo><mspace width="0.125em"></mspace><mi>f</mi></mrow></math> for every morphism <math><mi>f</mi></math>;</li><li><span class="newterm">composition</span> <math><mi>g</mi><mi>f</mi></math> of every two morphisms <math><mi>f</mi></math> and <math><mi>g</mi></math> such that <math><mrow><mrow><mo>Dst</mo><mspace width="0.125em"></mspace><mi>f</mi></mrow><mo>∩</mo><mrow><mo>Src</mo><mspace width="0.125em"></mspace><mi>g</mi></mrow></mrow><mo>≠</mo><mrow><mo>∅</mo></mrow></math> with properties: <ul><li><math><mi>g</mi><mi>f</mi></math> is a morphism;</li><li> <math><mrow><mo>Src</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>g</mi><mi>f</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>Src</mo><mspace width="0.125em"></mspace><mi>f</mi></mrow></math> and <math><mrow><mo>Dst</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>g</mi><mi>f</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>Dst</mo><mspace width="0.125em"></mspace><mi>g</mi></mrow></math>; </li><li> for any object <math><mi>U</mi></math> exists <span class="newterm">identity morphism</span> <math><msub><mn>1</mn><mi>U</mi></msub></math> with source and destination containing <math><mi>U</mi></math> such that <math><mrow><msub><mn>1</mn><mi>U</mi></msub><mi>f</mi></mrow><mo>=</mo><mrow><mi>f</mi><msub><mn>1</mn><mi>U</mi></msub></mrow><mo>=</mo><mi>f</mi></math> for any such morphism <math><mi>f</mi></math> whose source and destination contain <math><mi>U</mi></math>. </li></ul> </li></ul><p>This definition has the advantage that I can to not include destination and source into the value of a morphism when I don't need to.</p><p>Let it be a problem for the reader to show how this definition relates with standard definition of a category where every morphism has exactly one source and destination object.</p><p>I will call a <span class="newterm">dependency</span> (<span class="newterm">dependency</span> from <math><mi>X</mi></math> to <math><mi>Y</mi></math> is implied) a class having both special properties <math><mi>X</mi></math> and <math><mi>Y</mi></math>.</p><p><span class="parahead obvious">Obvious</span>  Composition of two dependencies is a dependency. </p><p>So a dependency is a generalization of both multidimensional relation and of binary relation. It has advantages of both, on one hand it is multidimensional and on the other hand composition of dependencies like as for binary relations is defined (unlike multidimensional relations for which composition is not defined).</p><p>Traditionally a dependency <math><mi>f</mi></math> is often denotes like <math><mi>Y</mi><mo>=</mo><mi>f</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></math>. I however will not use this notation because it is vague and indeterminate.</p><p>Dependencies are often encountered in multiple variable analysis, e.g. in theory of partial differential equations and in physics. But I introduced dependencies with an other purpose, to research mathematical expressions (formulas), that is in the field of <em>discrete</em> mathematics. The concept of dependency (and category of dependencies) is however interesting by itself and will grow into a separate math discipline not limited to any one of the above mentioned applications.</p><p>Dependencies form a category with morphisms being <em>pseudomorphisms</em> (defined below) and subcategory of homomorphisms which are a special case of pseudomorphisms. Why I introduced the new concept of <em>dependency</em> at all? Because these have interesting morphisms and form an important category.</p><p>A function <math><mi>Ψ</mi></math> is called a <span class="newterm">extended function</span> from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> if and only if both:</p><ol><li> <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>⊇</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>; </li><li> <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>⊆</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math>. </li></ol><p>When the first requirement of the above definition is strengthened to be instead <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>, I will call it <span class="newterm">function</span> from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>.</p><p><span class="parahead remark">Remark</span>  I consider <em>functions</em> a more important concept than <em>extended functions</em>, because extended functions don't well agree with category theory morphisms (see below). Extended functions is a supplementary topic. </p><p><span class="parahead lemma">Lemma</span>  <math><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>⊇</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow><mo>⇒</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math> for any dependencies <math><mi>U</mi></math> and <math><mi>V</mi></math> (provided that <math><mi>V</mi><mo>∘</mo><mi>U</mi></math> is defined). </p><p><span class="parahead proof">◄</span></p><p>That <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow><mo>)</mo></mrow></mrow><mo>⊆</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></math> is obvious. Let's prove <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow><mo>)</mo></mrow></mrow><mo>⊇</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></math>. </p><p> <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>⊇</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></math> means <math><mrow><mo>∀</mo><mrow><mi>f</mi><mo>∈</mo><mi>U</mi></mrow><mo>:</mo><mrow><mo>∃</mo><mrow><mi>g</mi><mo>∈</mo><mi>V</mi></mrow><mo>:</mo><mrow><mi>g</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></mrow></math>. So for any <math><mi>x</mi><mo>∈</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></math> exists <math><mi>f</mi><mo>∈</mo><mi>U</mi></math> such that <math><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mi>x</mi></math> and <math><mi>g</mi><mo>∈</mo><mi>V</mi></math> such that <math><mrow><mi>g</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></math>. Consequently <math><mi>h</mi><mo>=</mo><mrow><mrow><mo>(</mo><mrow><mi>f</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi></mrow><mo>)</mo></mrow></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><mi>g</mi><msub><mo>|</mo><mrow><mrow><mo>Prop</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>V</mi></mrow><mo>)</mo></mrow></mrow><mo>∖</mo><mrow><mo>{</mo><mrow><mi>X</mi></mrow><mo>}</mo></mrow></mrow></msub></mrow><mo>)</mo></mrow></mrow><mo>∈</mo><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></math>; <math><mrow><mi>h</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>X</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mi>x</mi></math>; <math><mi>x</mi><mo>∈</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mi>V</mi><mo>∘</mo><mi>U</mi></mrow></mrow></math>. </p><p><span class="parahead proof">►</span></p><p><span class="parahead theorem">Theorem</span>  If <math><mi>f</mi></math> is an extended function from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> and <math><mi>g</mi></math> is an extended function from a dependency <math><mi>V</mi></math> to a dependency <math><mi>W</mi></math>, then <math><mi>g</mi><mo>∘</mo><mi>f</mi></math> is an extended function from the dependency <math><mi>U</mi></math> to the dependency <math><mi>W</mi></math>. </p><p><span class="parahead proof">◄</span></p><p>We have <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>f</mi></mrow><mo>⊆</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow><mo>⊆</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>g</mi></mrow></math>. So by the lemma <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>g</mi><mo>∘</mo><mi>f</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>f</mi></mrow><mo>⊇</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>. Obviously <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>g</mi><mo>∘</mo><mi>f</mi></mrow><mo>)</mo></mrow></mrow><mo>⊆</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>g</mi></mrow><mo>⊆</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>W</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>W</mi></mrow></mrow></math>. </p><p><span class="parahead proof">►</span></p><p><span class="parahead consequence">Consequence</span>  If <math><mi>f</mi></math> is a function from dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> and <math><mi>g</mi></math> is a function from a dependency <math><mi>V</mi></math> to dependency <math><mi>W</mi></math>, then <math><mi>g</mi><mo>∘</mo><mi>f</mi></math> is a function from the dependency <math><mi>U</mi></math> to the dependency <math><mi>W</mi></math>. </p><p>So, dependencies with (extended) functions form a category. (Dependencies are category theory objects, functions are the arrows, identity function on <math><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math> is the identity morphism for a dependency <math><mi>U</mi></math>.)</p><p>Below there will be introduced some more specific categories.</p><p>[TODO: The above (and below about morphisms) can be generalized for relations (rather than only mono-valued functions). Moreover it can be generalized for morphisms themselves to be classes (so introducing concept of multidimensional morphisms, in a n other way than in the multidimensional category theory).]</p><h3 id="d16e5157">Homomorphisms</h3><p>An (extended) function <math><mi>Ψ</mi></math> from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> is called an (extended) <span class="newterm">dependency homomorphism</span> if and only if <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow></math>. </p><p>Homomorphism as defined above is a particular case of morphisms in category theory. It (seems) also to be a generalization of homomorphism in universal algebra (<math><mi>U</mi></math> and <math><mi>V</mi></math> can be algebras, with properties being finite sequence of elements and indices (see below) being algebraic operations). So algebraization of mathematics has reached a worth-note point, algebraization of algebra itself started, the concept of homomorphism is defined in algebraic terms.</p><p><span class="parahead theorem">Theorem</span>  If <math><mi>f</mi></math> is an (extended) homomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> and <math><mi>g</mi></math> is an (extended) homomorphism from a dependency <math><mi>V</mi></math> to a dependency <math><mi>W</mi></math>, then <math><mi>g</mi><mo>∘</mo><mi>f</mi></math> is an (extended) homomorphism from the dependency <math><mi>U</mi></math> to the dependency <math><mi>W</mi></math>. </p><p><span class="parahead proof">◄</span></p><p>That <math><mi>g</mi><mo>∘</mo><mi>f</mi></math> is a function from the dependency <math><mi>U</mi></math> to the dependency <math><mi>W</mi></math> is already proved.</p><p> <math><mrow><mi>g</mi><mo>∘</mo><mi>f</mi><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mi>g</mi><mo>∘</mo><mi>V</mi><mo>∘</mo><mi>f</mi></mrow><mo>=</mo><mrow><mi>W</mi><mo>∘</mo><mi>g</mi><mo>∘</mo><mi>f</mi></mrow></math>. (Associativity of composition was taken into account.)</p><p><span class="parahead proof">►</span></p><p>Below for short I will skip anything about extended morphisms as these are not important and confusing.</p><p>Injective dependency homomorphism is called <span class="newterm">dependency monomorphism</span>.</p><p>Dependency homomorphism such that <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math> is called <span class="newterm">dependency epimorphism</span> (with the destination <math><mi>V</mi></math>).</p><p>Dependency homomorphism is called <span class="newterm">dependency isomorphism</span> if and only if it is both dependency monomorphism and dependency epimorphism.</p><p>I will call the homo-category of dependencies (<math><mi>HomDep</mi></math>) the category whose objects are dependencies, and whose arrows are dependency homomorphisms. (Identity morphisms for a dependency <math><mi>U</mi></math> is the identity function on <math><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>.) </p><p><span class="parahead remark">Remark</span>  I suggest to denote the supplementary category whose arrows are instead <em>extended</em> dependency homomorphisms as <math><mi>ExtHomDep</mi></math>. </p><p><span class="parahead theorem">Theorem</span>  Dependency homomorphisms, dependency monomorphisms, and dependency isomorphisms are the same as morphisms, monomorphisms, and isomorphisms of <math><mi>HomDep</mi></math>, correspondingly. </p><p>I will prove this theorem below in a <a href="/formulas/category-main-theorem.xml">separate section</a>.</p><p><span class="parahead theorem">Theorem</span></p><p>The following statements are equivalent:</p><ol><li><math><mi>Ψ</mi></math> is a dependency isomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>;</li><li><math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is a dependency isomorphism from a dependency <math><mi>V</mi></math> to a dependency <math><mi>U</mi></math>;</li><li><math><mi>Ψ</mi></math> is a dependency isomorphism from a dependency <math><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></math> to a dependency <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 a dependency isomorphism from a dependency <math><msup><mrow><mi>V</mi></mrow><mn>-1</mn></msup></math> to a dependency <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 a dependency isomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>.</p> <p>Because <math><mi>Ψ</mi></math> is a proper homomorphism, <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></mrow><mo>=</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>, that is <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is an epimorphism. <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is injective as any inverse of a function. Because <math><mi>Ψ</mi></math> is a epimorphism, <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></mrow><mo>=</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math>. So <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is a monomorphism. </p> <p> <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow></math>; we can <q>multiply</q> (compose) this equation with <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> at both left and right because <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is bijective and <math><mrow><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>⊇</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow><mo>∧</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>⊇</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>. After multiplication we get <math><mrow><mi>U</mi><mo>∘</mo><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></mrow><mo>=</mo><mrow><msup><mrow><mi>Ψ</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 a homomorphism from <math><mi>V</mi></math> to <math><mi>U</mi></math>. [TODO: More detailed proof.] </p> </dd><dt><math><mtext>(2)</mtext><mo>⇒</mo><mtext>(3)</mtext></math></dt><dd> <p>From <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>Taking in account that <math><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></mrow></mrow></math> and likewise for <math><mi>V</mi></math>, we get that <math><mi>Ψ</mi></math> is a dependency isomorphism from a dependency <math><msup><mrow><mi>U</mi></mrow><mn>-1</mn></msup></math> to a dependency <math><msup><mrow><mi>V</mi></mrow><mn>-1</mn></msup></math>. </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><p><span class="parahead theorem">Theorem</span>  If <math><mi>Ψ</mi></math> is a homomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>, then <math><mi>Ψ</mi></math> is an epimorphism from <math><mi>U</mi></math> to <math><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></math>. </p><p><span class="parahead proof">◄</span></p><p>That <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></mrow></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mrow><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></mrow></mrow></mrow></math> is obvious. </p><p> <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow></math>; from this follows (??) that <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mrow><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></mrow><mo>∘</mo><mi>Ψ</mi></mrow></math>. </p><p><span class="parahead proof">►</span></p><p><span class="parahead consequence">Consequence</span>  If <math><mi>Ψ</mi></math> is a monomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>, then <math><mi>Ψ</mi></math> is an isomorphism from <math><mi>U</mi></math> to <math><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></math>. </p><h3 id="d16e6177">Pseudomorphisms</h3><p>Pseudomorphisms defined below are important for <a href="/theory-of-formulas-index.html">the theory of formulas</a> (expressions) which is developed by me for the purposes of math logic and computer science. Pseudomorphisms may also find other usages for themselves.</p><p>A function <math><mi>Ψ</mi></math> from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> is called a <span class="newterm">dependency pseudomorphism</span><span>™</span> if and only if <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>⊆</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow></math>. </p><p><span class="parahead theorem">Theorem</span>  If <math><mi>f</mi></math> is a pseudomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> and <math><mi>g</mi></math> is a pseudomorphism from a dependency <math><mi>V</mi></math> to a dependency <math><mi>W</mi></math>, then <math><mi>g</mi><mo>∘</mo><mi>f</mi></math> is a pseudomorphism from the dependency <math><mi>U</mi></math> to the dependency <math><mi>W</mi></math>. </p><p><span class="parahead proof">◄</span></p><p>That <math><mi>g</mi><mo>∘</mo><mi>f</mi></math> is a function from the dependency <math><mi>U</mi></math> to the dependency <math><mi>W</mi></math> is already proved.</p><math display="block"><mrow><mi>g</mi><mo>∘</mo><mi>f</mi><mo>∘</mo><mi>U</mi></mrow><mo>⊆</mo><mrow><mi>g</mi><mo>∘</mo><mi>V</mi><mo>∘</mo><mi>f</mi></mrow><mo>⊆</mo><mrow><mi>W</mi><mo>∘</mo><mi>g</mi><mo>∘</mo><mi>f</mi></mrow><mtext>.</mtext></math><p><span class="parahead proof">►</span></p><p>So, dependencies with pseudomorphisms form a category. I will call this category <span class="newterm">pseudo-category<span><span>™</span></span> of dependencies</span> and denote it <math><mi>PseudDep</mi></math>.</p><p><span class="parahead obvious">Obvious</span>  A dependency homomorphism is a dependency pseudomorphism. </p><p><span class="parahead consequence">Consequence</span>  The category of dependencies with homomorphisms as morphisms is a subcategory of the category of dependencies with pseudomorphisms as morphisms. </p><p>I will call injective dependency pseudomorphism <span class="newterm">pseudo-monomorphism</span>.</p><p>I will call dependency pseudomorphism <math><mi>Ψ</mi></math> from <math><mi>U</mi></math> to <math><mi>V</mi></math> a <span class="newterm">pseudo-epimorphism</span> if and only if <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math>. </p><p>I will call a function <math><mi>Ψ</mi></math> pseudo-isomorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math> when it is both pseudo-monomorphism and pseudo-epimorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math>.</p><p><span class="parahead theorem">Theorem</span>  If <math><mi>Ψ</mi></math> is an injective function and <math><mi>Ψ</mi></math> and <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> are pseudomorphisms from <math><mi>U</mi></math> to <math><mi>V</mi></math> and from <math><mi>V</mi></math> to <math><mi>U</mi></math> correspondingly, then <math><mi>Ψ</mi></math> is dependency isomorphism. </p><p><span class="parahead proof">◄</span></p><p> <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>⊆</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow></math>; <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>; <math><mrow><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup><mo>∘</mo><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow><mo>⊆</mo><mi>U</mi></math>; Because <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is a pseudomorphism from <math><mi>V</mi></math> then <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow><mo>⊇</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></math>; this (taking in account that <math><mi>Ψ</mi></math> is a bijection) allows to <q>multiply</q> (compose) both sides of the previous formula with <math><mi>Ψ</mi></math> at the left side: <math><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow><mo>⊆</mo><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow></math>. So <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>=</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow></math> that is <math><mi>Ψ</mi></math> is a homomorphism. Taking in account that <math><mi>Ψ</mi></math> is injective and that <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math>; we prove that <math><mi>Ψ</mi></math> is an isomorphism. </p><p><span class="parahead proof">►</span></p><p>[TODO: Generalize the main theorem about category of dependencies to pseudomorphisms.]</p><p><span class="parahead theorem">Theorem</span>  If <math><mi>Ψ</mi></math> is a pseudomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>, then <math><mi>Ψ</mi></math> is an pseudo-epimorphism from <math><mi>U</mi></math> to <math><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></math>. </p><p><span class="parahead proof">◄</span></p><p>That <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></mrow></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mrow><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></mrow></mrow></mrow></math> is obvious. </p><p> <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>⊆</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow><mo>=</mo><mrow><mi>V</mi><msub><mo>|</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub><mo>∘</mo><mi>Ψ</mi></mrow></math>; from this follows that <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>⊆</mo><mrow><mrow><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></mrow><mo>∘</mo><mi>Ψ</mi></mrow></math>. </p><p><span class="parahead proof">►</span></p><p><span class="parahead consequence">Consequence</span>  If <math><mi>Ψ</mi></math> is a pseudo-monomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>, then <math><mi>Ψ</mi></math> is a pseudo-isomorphism from <math><mi>U</mi></math> to <math><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></math>. </p><p>[TODO: We could also introduce <span class="newterm">reverse pseudomorphisms</span> by the formula <math><mrow><mi>Ψ</mi><mo>∘</mo><mi>U</mi></mrow><mo>⊇</mo><mrow><mi>V</mi><mo>∘</mo><mi>Ψ</mi></mrow></math>.] </p><h2 id="d16e6997"> Proof of the Main Theorem about Dependencies Category </h2><p>Let's reprise the theorem again:</p><p><span class="parahead theorem">Theorem</span>  Dependency homomorphisms, dependency monomorphisms, and dependency isomorphisms are the same as morphisms, monomorphisms, and isomorphisms of <math><mi>HomDep</mi></math>, correspondingly. </p><p>I will prove this theorem as several separate lemmas.</p><p><span class="parahead lemma">Lemma</span>  A function is a dependency isomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> if and only if it is a <math><mi>HomDep</mi></math> isomorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math>. </p><p><span class="parahead proof">◄</span></p><dl><dt>Direct implication</dt><dd> <p>Let <math><mi>Ψ</mi></math> is a dependency isomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>. Because <math><mi>Ψ</mi></math> is injective, the reverse function <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is defined and</p> <ul><li> <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup><mo>∘</mo><mi>Ψ</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup><mo>∘</mo><mi>Ψ</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>; </li><li> <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>Ψ</mi><mo>∘</mo><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>Ψ</mi><mo>∘</mo><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math>. </li></ul> <p>So <math><mi>Ψ</mi><mo>∘</mo><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> and <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup><mo>∘</mo><mi>Ψ</mi></math> are identity morphisms of <math><mi>U</mi></math> and <math><mi>V</mi></math> correspondingly.</p> </dd><dt>Reverse implication</dt><dd> <p>Let <math><mi>Ψ</mi></math> is a category theory isomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> in category of dependencies with dependency homomorphisms as morphisms. Then there exists some morphism <math><mi>g</mi></math> from <math><mi>V</mi></math> to <math><mi>U</mi></math> such that <math><mi>Ψ</mi><mo>∘</mo><mi>g</mi></math> and <math><mi>g</mi><mo>∘</mo><mi>Ψ</mi></math> are identity morphisms on <math><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math> and <math><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math> correspondingly. But because <math><mi>Ψ</mi></math> and <math><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> are dependency homomorphisms from <math><mi>U</mi></math> to <math><mi>V</mi></math> and from <math><mi>V</mi></math> to <math><mi>U</mi></math> correspondingly, then <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math> and <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math>. Consequently <math><mi>g</mi><mo>=</mo><msup><mrow><mi>Ψ</mi></mrow><mn>-1</mn></msup></math> is the reverse function of <math><mi>Ψ</mi></math>. <math><mi>Ψ</mi></math> is injective, it is proper dependency homomorphism and dependency epimorphism. So <math><mi>Ψ</mi></math> is a dependency isomorphism.</p> </dd></dl><p><span class="parahead proof">►</span></p><p><span class="parahead lemma">Lemma</span>  A function is a dependency monomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> if and only if it is a <math><mi>HomDep</mi></math> monomorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math>. </p><p><span class="parahead proof">◄</span></p><dl><dt>Direct implication</dt><dd> <p>Let <math><mi>Ψ</mi></math> is a dependency monomorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math>. Then <math><mi>Ψ</mi></math> is a dependency isomorphism from <math><mi>U</mi></math> to <math><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></math>. Consequently <math><mi>Ψ</mi></math> is a category theory isomorphism from <math><mi>U</mi></math> to <math><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></math>. Consequently <math><mi>Ψ</mi></math> is a category theory monomorphism from <math><mi>U</mi></math> to <math><mi>V</mi><msub><mo>□</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></msub></math>. It is the same that <math><mi>Ψ</mi></math> is a category theory monomorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math>. </p> </dd><dt>Reverse implication</dt><dd> <p>If a dependency homomorphism <math><mi>Ψ</mi></math> is not a dependency monomorphism, then <math><mi>Ψ</mi></math> is not injective that is <math><mrow><mi>Ψ</mi><mrow><mo>(</mo><mrow><mi>a</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mi>Ψ</mi><mrow><mo>(</mo><mrow><mi>b</mi></mrow><mo>)</mo></mrow></mrow></math> for some <math><mi>a</mi><mo>≠</mo><mi>b</mi></math>. From this easily follows that <math><mrow><mi>Ψ</mi><mo>∘</mo><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>a</mi><mo>,</mo><mi>a</mi></mrow><mo>)</mo></mrow></mrow><mo>}</mo></mrow></mrow><mo>=</mo><mrow><mi>Ψ</mi><mo>∘</mo><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>b</mi><mo>,</mo><mi>b</mi></mrow><mo>)</mo></mrow></mrow><mo>}</mo></mrow></mrow></math>. Because <math><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>a</mi><mo>,</mo><mi>a</mi></mrow><mo>)</mo></mrow></mrow><mo>}</mo></mrow></math> and <math><mrow><mo>{</mo><mrow><mrow><mo>(</mo><mrow><mi>b</mi><mo>,</mo><mi>b</mi></mrow><mo>)</mo></mrow></mrow><mo>}</mo></mrow></math> are morphisms acting to <math><mi>U</mi></math>, <math><mi>Ψ</mi></math> is not a <math><mi>HomDep</mi></math> monomorphism.</p> </dd></dl><p><span class="parahead proof">►</span></p><p><span class="parahead lemma">Lemma</span>  A function is a dependency epimorphism from a dependency <math><mi>U</mi></math> to a dependency <math><mi>V</mi></math> if and only if it is a <math><mi>HomDep</mi></math> epimorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math>. </p><p><span class="parahead proof">◄</span></p><dl><dt>Direct implication</dt><dd> <p>Let <math><mi>Ψ</mi></math> is a dependency epimorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math>, that is <math><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math>. We need to prove that for any morphisms <math><mi>f</mi></math> and <math><mi>g</mi></math> from <math><mi>V</mi></math> holds <math><mrow><mi>f</mi><mo>≠</mo><mi>g</mi></mrow><mo>⇒</mo><mrow><mrow><mi>f</mi><mo>∘</mo><mi>Ψ</mi></mrow><mo>≠</mo><mrow><mi>g</mi><mo>∘</mo><mi>Ψ</mi></mrow></mrow></math> that is <math display="block"><mrow><mo>∀</mo><mrow><mi>b</mi><mo>∈</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></mrow><mo>:</mo><mrow><mo>(</mo><mrow><mrow><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>b</mi></mrow><mo>)</mo></mrow></mrow><mo>≠</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>b</mi></mrow><mo>)</mo></mrow></mrow></mrow><mo>⇒</mo><mrow><mo>∃</mo><mrow><mi>a</mi><mo>∈</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></mrow><mo>:</mo><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>Ψ</mi><mrow><mo>(</mo><mrow><mi>a</mi></mrow><mo>)</mo></mrow></mrow><mo>)</mo></mrow></mrow><mo>≠</mo><mrow><mi>g</mi><mrow><mo>(</mo><mrow><mi>Ψ</mi><mrow><mo>(</mo><mrow><mi>a</mi></mrow><mo>)</mo></mrow></mrow><mo>)</mo></mrow></mrow></mrow></mrow><mo>)</mo></mrow></mrow><mtext>.</mtext></math> This is true because for any <math><mi>b</mi><mo>∈</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow><mo>=</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math> exists <math><mi>a</mi><mo>∈</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></math> such that <math><mi>b</mi><mo>=</mo><mrow><mi>Ψ</mi><mrow><mo>(</mo><mrow><mi>a</mi></mrow><mo>)</mo></mrow></mrow></math>. </p> </dd><dt>Reverse implication</dt><dd> <p>If <math><mi>Ψ</mi></math> is not a dependency epimorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math> then exists some <math><mi>c</mi><mo>∈</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>V</mi></mrow></mrow></math> such that <math><mi>c</mi><mo>∉</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>Ψ</mi></mrow></math>. Then replacing in any morphism <math><mi>f</mi></math> from <math><mi>V</mi></math> the value at the point <math><mi>c</mi></math> with any other value, we get some morphism <math><mi>g</mi></math> such that <math><mrow><mi>f</mi><mo>∘</mo><mi>Ψ</mi></mrow><mo>=</mo><mrow><mi>g</mi><mo>∘</mo><mi>Ψ</mi></mrow></math>. So <math><mi>Ψ</mi></math> is not a <math><mi>HomDep</mi></math> epimorphism from <math><mi>U</mi></math> to <math><mi>V</mi></math>. </p> </dd></dl><p><span class="parahead proof">►</span></p><p>So the theorem is proved.</p><p>[TODO: The above can be easily generalized for certain subcategories of <math><mi>HomDep</mi></math> such as the categories of dependencies with certain number of properties and/or the category of dependencies on a set (of at least two elements, because we need <math><mi>a</mi><mo>≠</mo><mi>b</mi></math> in the proof).]</p><h2 id="d16e8070">Category of Dependencies - Relations of Elements</h2><p>In this section we will <q>descent</q> from morphisms between classes to relations of individual elements.</p><p>I will call <span class="newterm">elements</span> any objects (I do <em>not</em> mean objects in the sense of the section <a href="/formulas/objects.xml">Objects and Classes</a> here) whatsoever.</p><p>That is I will imply that any relation is a relation on the set (more precisely, set theoretic class) of elements; every member of a set is an element.</p><p>I will call <span class="newterm">elements of a dependency <math><mi>U</mi></math></span> pairs <math><mrow><mo>(</mo><mrow><mi>U</mi><mo>,</mo><mi>a</mi></mrow><mo>)</mo></mrow></math> where <math><mi>a</mi><mo>∈</mo><mrow><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow><mo>∪</mo><mrow><mo>im</mo><mspace width="0.125em"></mspace><mi>U</mi></mrow></mrow></math>. </p><p>I will call the <span class="newterm">category of elements of dependencies</span> the category <math><mi>Elts</mi></math> [TODO: Better notation than <math><mi>Elts</mi></math> to for this?]</p><ul><li>whose objects are elements of dependencies;</li><li>whose morphisms from <math><mrow><mo>(</mo><mrow><mi>U</mi><mo>,</mo><mi>a</mi></mrow><mo>)</mo></mrow></math> to <math><mrow><mo>(</mo><mrow><mi>V</mi><mo>,</mo><mi>b</mi></mrow><mo>)</mo></mrow></math> are such functions <math><mi>f</mi></math> from <math><mi>U</mi></math> to <math><mi>V</mi></math> that <math><mrow><mi>f</mi><mrow><mo>(</mo><mrow><mi>a</mi></mrow><mo>)</mo></mrow></mrow><mo>=</mo><mi>b</mi></math>; (Recall that in my definition of categories one morphism can have several destinations and targets.)</li><li>whose composition is composition of functions.</li></ul><p>The identity morphisms of this category would be identity function (equality relation). To eliminate the set theoretic complexities related with domain and image of equality relation being the universal set, we can instead artificially introduce identity morphism as an abstract thing which is distinct from any function and whose left and right compositions with any function are by definition this function.</p><h3 id="d16e8199">Ancestry of an Element</h3><p>I will call the <span class="newterm">ancestry</span> <math><mrow><mo>Fam</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi><mo>,</mo><mi>a</mi></mrow><mo>)</mo></mrow></mrow></math> of an element <math><mi>a</mi></math> of the dependency <math><mi>U</mi></math> dependency <math><mi>U</mi></math> square limited to the set <math><mrow><mo>(</mo><mrow><msup><mi>U</mi><mi>S</mi></msup></mrow><mo>)</mo></mrow><mrow><mo>(</mo><mrow><mrow><mo>{</mo><mrow><mi>a</mi></mrow><mo>}</mo></mrow></mrow><mo>)</mo></mrow></math>. </p><p><span class="parahead remark">Remark</span>  This can be trivially generalized for ancestries of sets of elements but I omit this for simplicity. </p><p><span class="parahead remark">Remark</span>  My notation <math><mo>Fam</mo></math> is acronym of the word <em>family</em>. </p><p>I will call ancestry by the reverse dependency <span class="newterm">reverse ancestry</span>.</p><p>I will call set theoretic union of ancestry and reverse ancestry <span class="newterm">double ancestry</span> and denote it <math><mrow><mo>DFam</mo><mspace width="0.125em"></mspace><mrow><mo>(</mo><mrow><mi>U</mi><mo>,</mo><mi>a</mi></mrow><mo>)</mo></mrow></mrow></math>.</p><p><span class="parahead remark">Remark</span>  Arguments of functions <math><mo>Fam</mo></math> and <math><mo>DFam</mo></math> are elements of dependencies. </p><p>BTW, now we can define <span class="newterm">connected dependencies</span>. A dependency <math><mi>U</mi></math> is <span class="newterm">connected</span> if and only if <math><mrow><mo>DFam</mo><mspace width="0.125em"></mspace><mi>x</mi></mrow><mo>=</mo><mi>U</mi></math> for any element <math><mi>x</mi></math> of dependency <math><mi>U</mi></math>.</p><h3 id="d16e8317">Categories of Elements</h3><p>I will call the category whose objects are elements of dependencies and whose morphisms are functions which are both morphisms of <math><mi>Elts</mi></math> and morphisms of some category of dependencies (e.g. category of isomorphic, homomorphic, pseudomorphic, etc. dependencies) as the category of <span class="newterm">isomorphic</span>, <span class="newterm">homomorphic</span>, etc. elements, correspondingly.</p><p>When elements <math><mi>a</mi></math> and <math><mi>b</mi></math> are related by morphisms of such categories, I will call <math><mi>b</mi></math> isomorphic, homomorphic, pseudomorphic, etc. image of <math><mi>a</mi></math> as appropriate.</p><p><span class="parahead obvious">Obvious</span>  The relation of isomorphism of elements of dependencies is an equivalence relation. </p><p><span class="parahead conjecture">Conjecture</span>  Isomorphisms of elements are category theory isomorphisms for the category of homomorphisms of elements. </p><p>[TODO: Isomorphic elements can be collapsed together (similar to <em>reduced category</em> in category theory. Isomorphic dependencies can also be collapsed.]</p><h3 id="d16e8362">Preimage Category</h3><p>This subsection can be trivially generalized for <em>any</em> category whose morphisms are functions (i.e. any concrete category). Moreover it seems that it can be generalized for <em>any</em> category by replacing elements with subobjects (as defined in category theory). Haven't category theorists already done this? I'm not sure.</p><p>Let <math><mi>C</mi></math> is a category, <math><mi>λ</mi></math> is a function acting to the set of objects of <math><mi>C</mi></math>. I will call the <span class="newterm">inverse image</span> of <math><mi>C</mi></math> or <span class="newterm">preimage</span> of <math><mi>C</mi></math> and denote <math><msup><mrow><mi>λ</mi></mrow><mn>-1</mn></msup><mi>C</mi></math> the category [TODO: Standard term for this in category theory?]</p><ul><li>whose set of objects is <math><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>λ</mi></mrow></math>,</li><li>whose morphisms from <math><mi>a</mi><mo>∈</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>λ</mi></mrow></math> to <math><mi>b</mi><mo>∈</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>λ</mi></mrow></math> are all morphisms (of category <math><mi>C</mi></math>) from <math><mi>λ</mi><mrow><mo>(</mo><mrow><mi>a</mi></mrow><mo>)</mo></mrow></math> to <math><mi>λ</mi><mrow><mo>(</mo><mrow><mi>b</mi></mrow><mo>)</mo></mrow></math>,</li><li>whose composition of morphisms is the same as of <math><mi>C</mi></math>.</li></ul><p>It is really a category because it has identity morphism <math><msub><mn>1</mn><mrow><mi>λ</mi><mi>a</mi></mrow></msub></math> for any <math><mi>a</mi><mo>∈</mo><mrow><mo>dom</mo><mspace width="0.125em"></mspace><mi>λ</mi></mrow></math>.</p><p>When category <math><mi>C</mi></math> has only one object (e.g. <math><mi>C</mi></math> is a category of endomorphisms or automorphisms of a dependency), we can speak about category of elements of this object. So it makes sense to speak about categories of isomorphic, homomorphic, etc. elements of a dependency.</p><h3 id="d16e8503">Ancestry Categories</h3><p>So we can construct the following categories:</p><ul><li> <math><mrow><msup><mrow><mo>Fam</mo></mrow><mn>-1</mn></msup><mspace width="0.125em"></mspace><mi>C</mi></mrow></math> (<span class="newterm">ancestry category</span><span>™</span> of isomorphisms, homomorphisms, pseudomorphisms, etc.); </li><li> <math><mrow><msup><mrow><mo>DFam</mo></mrow><mn>-1</mn></msup><mspace width="0.125em"></mspace><mi>C</mi></mrow></math> (<span class="newterm">double ancestry category</span> of isomorphisms, homomorphisms, pseudomorphisms, etc.) </li></ul><p>where <math><mi>C</mi></math> are the categories of homomorphisms, isomorphisms, pseudomorphisms etc. of dependencies.</p><p>Objects of ancestry and double ancestry categories are elements of dependencies and morphisms are functions.</p><p>I will call intersections of these categories with the category of elements (<math><mi>Elts</mi></math>) <span class="newterm">strict (double) ancestry categories</span> (of isomorphisms, homomorphisms, etc.)</p><p>I will call morphisms of (strict) (double) ancestry categories induced by the categories of isomorphisms, homomorphisms, and pseudomorphisms (strict) (double) <span class="newterm">ancestry isomorphisms</span><span>™</span>, <span class="newterm">ancestry homomorphisms</span><span>™</span>, and <span class="newterm">ancestry pseudomorphism</span><span>™</span>. Accordingly this, if elements <math><mi>a</mi></math> and <math><mi>b</mi></math> are correspondingly source and destination of such morphism, then <math><mi>b</mi></math> is called (strict) <span class="newterm">ancestry isomorphic</span>, <span class="newterm">ancestry homomorphic</span>, <span class="newterm">ancestry pseudomorphic</span>, etc. image of <math><mi>a</mi></math> as appropriate.</p><p><span class="parahead remark">Remark</span>  An example of ancestry category would be category whose morphisms correspond to graph isomorphisms of subgraphs produces by moving from points of some (possibly disconnected) graph. An example of strict ancestry category would be this category with only these isomorphisms which map the source point to the destination point (that is <q>shifts</q> by loops are not accepted in the strict ancestry category as morphisms). </p><p><span class="parahead conjecture">Conjecture</span>  A strict ancestry category is a <em>full</em> subcategory of the corresponding ancestry category. </p><p><span class="parahead remark">Remark</span>  Ancestry morphisms are important for the theory of formulas where e.g. two formulas being ancestry isomorphic means that they have the same structure of subformulas. </p><p><span class="parahead conjecture">Conjecture</span>  When both ancestries and reverse ancestries of some elements of dependencies are isomorphic, then these elements of dependencies are isomorphic to each other. </p><p>I deem that the above conjecture is false. Here are two weaker conjectures:</p><p><span class="parahead conjecture">Conjecture</span>  When double ancestries of elements of dependencies are isomorphic, then these elements of dependencies are isomorphic to each other. </p><p><span class="parahead conjecture">Conjecture</span>  If reverse ancestries of any two elements of a dependency are isomorphic then for any two elements of this dependency to be isomorphic is enough if their ancestries (by this dependency) are isomorphic. </p><h2 id="d16e8634">Licensing etc.</h2><h3 id="d16e8639">About the Original Method Authorship</h3><p><a href="http://www.mathematics21.org/method.html">21st Century Math Method</a>, <a href="http://www.mathematics21.org/theory-of-formulas-index.html">Operator Theory of Formulas</a>, and <a href="http://www.mathematics21.org/algebraic-general-topology.html">Algebraic General Topology and Math Synthesis</a> were developed by Victor Porton (<a href="http://ex-code.com/~porton/">http://ex-code.com/~porton/</a>). See <a href="http://www.mathematics21.org">www.mathematics21.org</a></p><p>Please <a href="http://www.mathematics21.org/donate.html">donate</a> to the method author to help in further research.</p><h3 id="d16e8667">License</h3><p>Permission is granted to copy, distribute and/or modify this document under the terms of the <a href="/gfdl-1.2.html">GNU Free Documentation License</a>, Version 1.2 published by the Free Software Foundation; with the Invariant Sections being</p><ul><li>Trademarks,</li><li>About the Original Method Authorship,</li></ul><p>with the Front-Cover Texts being</p><ul><li>More on the site <a href="http://www.mathematics21.org">www.mathematics21.org</a>, </li></ul><p>and with the Back-Cover Texts being</p><ul><li>This method was developed by <a href="http://ex-code.com/~porton/">Victor Porton</a> during his revolutionary research <a href="http://www.mathematics21.org/algebraic-general-topology.html">Algebraic General Topology and Math Synthesis</a>. See the Web site <a href="http://www.mathematics21.org">www.mathematics21.org</a> </li></ul><p>For using this document in Wiki like collaboration areas this license requirement is weakened by allowing to apply to front and back covers invariant sections rules instead of front and back cover rules in Wiki collaboration areas.</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_page_url = document.location;
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>
