<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-07T10:29:22+0500"> <title>Objects and Classes as Generalization of n-ary Relations</title> <meta name="Description" content="Abstract math theory of objects and classes. It is a generalization of the theory of n-ary relations. May be an intermediary between category theory and universal algebra. Used by the theory of formulas."> <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-07T10:29:22+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>Objects and Classes as Generalization of n-ary Relations</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></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="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>
