{"id":384133,"date":"2024-06-29T05:19:19","date_gmt":"2024-06-29T05:19:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=384133"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=384133","title":{"rendered":"<span>Context category<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>Similarity and sameness<\/h2>\n<p>The mathematical model of signed sequences with repetitions (texts) is a multiset. The multiset was defined by D. Knuth in 1969 and later studied in detail by A. B. Petrovsky <a href=\"https:\/\/elibrary.ru\/item.asp?id=41232848\" rel=\"noopener noreferrer nofollow\">[1]<\/a>. The universal property of a multiset is the existence of identical elements. The limiting case of a multiset with unit multiplicities of elements is a set. A set with unit multiplicities corresponding to a multiset is called its generating set or domain. A set with zero multiplicity is an empty set.<\/p>\n<p>The problem is determining whether the elements are the same. The similarity depends on the properties of these elements that are taken into account. Cucumbers and watermelons are similar in color externally, but it is difficult to call them the same in gastronomic use, although the botanical description is largely the same.<\/p>\n<p>According to G. Frege, any object that has relations with other objects and their combinations has as many properties (values) as these relations. The part of the values taken into account is called the meaning that the object is represented in this situation. The name of an object by a number, symbol, word, picture, sound, gesture for its short description is called an object sign (this is one of the values).<\/p>\n<p>All possible parts of the object\u2019s values (meaning) correspond to a single sign. This is the main problem of recognizing meaning, but at the same time the basis for making do with minimal sets of characters. It is not possible to assign a unique sign to each subset of values. The objects of information exchange are the minimum sets of characters (notes, alphabet, language dictionary). The meaning of signs is usually not calculated, but determined by the sign contexts (neighborhoods) intuitively.<\/p>\n<p>The solution to the problem of ambiguity of signs is the semantic markup of the text. The semantic markup can be explained by the example of extreme unambiguity. On Russian accounts, the text is a sequence of identical characters (knuckles). According to <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>, the dictionary of such a text consists of one word. It is impossible to use such texts without semantic markup. Therefore, the dictionary changes, and the characters are divided into groups \u2013 units, tens, hundreds, etc. These group names (numbers) are unique word numbers. The dictionary <strong><em>D<\/em><\/strong> is the numbers from 0 to nine. Each knuckle is represented by a matrix unit on such a Cartesian abacus. For example, the number 2021 on a matrix abacus is represented by the sum of four matrix units:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"E_{1000,2}+E_{100,0}+E_{10,2}+E_{1,1},\" alt=\"E_{1000,2}+E_{100,0}+E_{10,2}+E_{1,1},\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b17\/733\/4a9\/b177334a9f194f21496b672256232588.svg\" width=\"242\" height=\"21\"\/><\/p>\n<p>where the subscripts are the Cartesian coordinates of the matrix word (numbers in this case). There was a transformation of identical objects into similar ones. The measure of similarity is the values of the coordinates of the words. In addition to positional numbers, repetitions of numbers from the dictionary occur when performing arithmetic operations. Equivalence relations are established:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"E_{i,0} \\sim E_{i+1,1}\" alt=\"E_{i,0} \\sim E_{i+1,1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b43\/d63\/847\/b43d63847aa18b3b5ecd23dc05b44267.svg\" width=\"102\" height=\"21\"\/><\/p>\n<p>If, after an arithmetic operation, the number <em>9 + 1<\/em>, is obtained, then 0 appears in this position, and 1 is added to the next digit. On the abacus, all the knuckles are shifted to their original (zero) position, and one is added to the next digit (wire). On the matrix abacus, the transformation is performed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"E_{i+1,1}=E_{i+1,i}E_{i,0}E_{0,i},\" alt=\"E_{i+1,1}=E_{i+1,i}E_{i,0}E_{0,i},\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4aa\/112\/8a0\/4aa1128a0d6b9f16673cab3dcffd97c3.svg\" width=\"183\" height=\"21\"\/><\/p>\n<p>If you set a measure of the similarity of signs, then the tolerance (similarity) ratio can again be turned into an equivalence (sameness) ratio for this measure. For example, by rounding numbers. The difference between tolerance and equivalence can be recognized by the violation of transitivity. For a relationship of tolerance, it can be violated. For example, let the element A be similar to B in one sense. If the meaning of B does not coincide with the meaning of the element C, then A can be similar to C only in terms of the intersection of their meanings (part of the properties). The transitivity of the relationship is restored (closed), but only for this general part of the meaning. After the sameness achieved by specifying the meaning, A will be equivalent to C. For example, the above transformation (closure) on some coordinates ensures the execution of arithmetic operations on the matrix abacus.<\/p>\n<p>Another example of the contextual dependence of signs is chess. It is even stronger in double chess [3]. In this modification of chess, it is allowed to make a finite number of double moves during the game at any given time. The game remains consistent. The rest of the rules are the same as in normal chess, with the exception of two: the first move is a single move and castling is allowed during the check. The author of the game in the case when all the moves are double is prof. Zaitsev G. A.<\/p>\n<p>For chess, the dictionary of their matrix text is the numbers of one of the pieces of each color and the move separator (from 1 to 11). A word in a chess text is a matrix unit. The first coordinate of it is unique and is the number of the cell on the chessboard (from 1 to 64). The second coordinate of the word is from the dictionary. The chess matrix text at any point in the game is the sum of the matrix units, each of which shows a piece at the corresponding place on the chessboard.Repetitions in the text appear both because of the duplication of figures, and because of the constant transitions during the game from similarity to sameness and vice versa for all figures except the king. The game consists in the implementation of the most effective such transitions and the actual classification of shapes. Pawns that are the same at first then become similar only by the rule of the move, and sometimes the pawn becomes the same as the queen.<\/p>\n<p>A tool for analyzing matrix texts is the transitivity control to check the difference between similarity and sameness. The lack of transitivity control is an algebraic explication of a misunderstanding for language texts, a loss in chess, or errors in numerical calculations.<\/p>\n<p>Transitivity of relations is a condition for turning a set of objects into a mathematical category. The semantic markup of the text can be the calculation of its categories by means of transitive closure. The objects of the category are the contexts of matrix words [2], morphisms are the transformation matrices of these contexts.<\/p>\n<h2>Context<\/h2>\n<p>The context of the word <em>E<sub>k,j<\/sub><\/em>  of the matrix text <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> is its fragment <em>F<sup>j<\/sup><sub>i,k<\/sub><\/em>  \u2013 he sum of matrix units (words) between two matrix words-repetitions <em>E<sub><u>i,j<\/u><\/sub><\/em> and <em>E<sub>k,j:<\/sub><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F^j_{i,k}=E_{i+1,D_R}+E_{i+2,D_R}+\\ldots +E_{k-1,D_R}, \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (1)\" alt=\"F^j_{i,k}=E_{i+1,D_R}+E_{i+2,D_R}+\\ldots +E_{k-1,D_R}, \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (1)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7ef\/d24\/768\/7efd247688379267426818749ee5f5a4.svg\" width=\"409\" height=\"29\"\/><\/p>\n<p>where the index D R means that any index from the right dictionary D R of the matrix text <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> can stand in this place, including the characters of the text-forming fragments. The context is all the words of the matrix text between the repeated characters of the dictionary D R . For example, between repeated words, repeated dots, signs of paragraphs, chapters, volumes of language texts or phrases, periods, and parts of musical works.<\/p>\n<p>The signs of text-forming fragments look the same, but they are also homonymous signs-their context is fragments (1). The context of a language fragment (explication or explanation) can be not only a language text, but also a sound (for example, music), figurative (photo) or joint (video). The context of a musical text can be a language text (for example, a libretto).<\/p>\n<p>Matrix words correspond to their matrix contexts, represented as algebraic objects (1). All possible relations between these objects are the subject of analysis when determining the meaning of words. For the study of such constructions, category theory is useful because it is based on the concept of transitivity.<\/p>\n<h2>Context category<\/h2>\n<p>Let <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em>  \u2013 these are all contexts <em>F<sup>j<\/sup><sub>i,k<\/sub><\/em> words <em>E<sub>j,j<\/sub> \u2208 D<sub>R<\/sub><\/em> in text <em>P<\/em>, while <em>D<sup>j<\/sup><sub>1R<\/sub><\/em>, &#8230;, <em>D<sup>j<\/sup><sub>nR <\/sub><\/em>\u2013 right dictionaries of these contexts:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_1^j=F_1^jD^j_{1R}, \\ldots ,F_n^j=F_n^jD^j_{nR}\" alt=\"F_1^j=F_1^jD^j_{1R}, \\ldots ,F_n^j=F_n^jD^j_{nR}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cec\/4a8\/dc0\/cec4a8dc0169fd7c80fe0b30b4b4f48b.svg\" width=\"247\" height=\"27\"\/><\/p>\n<p>By <em>k = i + 1<\/em>  in (1) a special case of a fragment is a matrix word <em>E<sub>i+1,DR<\/sub><\/em> .<\/p>\n<p>Context category <strong>Cat<\/strong><em>(E<sub>j,j<\/sub>)<\/em> text sign <em>E<sub>j,j<\/sub> \u2208 D<sub>R<\/sub><\/em> defined as follows:<\/p>\n<ol>\n<li>\n<p>Category objects \u2013 pairwise multiple <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> contexts <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em>.<\/p>\n<\/li>\n<li>\n<p>For each pair of multiple objects, there is <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> a set of morphisms <em>F<sub>ij<\/sub> : F<sub>i<\/sub> = F<sub>ij<\/sub>F<sub>j<\/sub><\/em>,, each morphism corresponds to the singular <em>F<sub>i<\/sub><\/em> and <em>F<sub>j<\/sub><\/em> .<\/p>\n<\/li>\n<li>\n<p>For a pair of morphisms <em>F<sub>ij<\/sub><\/em> and <em>F<sub>jk<\/sub><\/em> such a composition of them is defined (the product of square matrices) <em>F<sub>ij<\/sub>F<sub>jk<\/sub><\/em>, that if <em>F<sub>i<\/sub> <\/em>= <em>F<sub>ij<\/sub>F<sub>j<\/sub><\/em> \u0438 <em>F<sub>j<\/sub><\/em> = <em>F<sub>jk<\/sub>F<sub>k<\/sub><\/em>, then<em>F<sub>i<\/sub> = F<sub>ij<\/sub>F<sub>jk<\/sub>F<sub>k<\/sub><\/em> (transitivity condition).<\/p>\n<\/li>\n<li>\n<p>For each object <em>F<sub>i<\/sub><\/em> the identity morphism is defined as the unit matrix <em>E: F<sub>i<\/sub> = EF<sub>i<\/sub>E<\/em>. The category associativity follows from the associativity of matrix multiplication.<\/p>\n<\/li>\n<\/ol>\n<h2>Context reduction<\/h2>\n<p>The intersection (in general words) of matrix dictionaries is their product:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\prod D_i \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (2)\" alt=\"\\prod D_i \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (2)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d7e\/6db\/81a\/d7e6db81ab1d484ca84d93b953ad6173.svg\" width=\"147\" height=\"29\"\/><\/p>\n<p>The proof follows from the defining property of matrix units (6) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> and the definition of dictionaries (9) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> and (15) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>. When multiplying the matrix units of dictionaries (the subscripts are the same in each unit), the product of their matrix words (units) with different indexes is zero. In the product (2), only common words with matching lower indices from all the factors (2) will remain.<\/p>\n<p>The union of any pair of dictionaries <em>D<sub>i<\/sub><\/em> and <em>D<sub>j<\/sub><\/em> is their sum minus the intersection (2):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"D_i+D_j - D_iD_j \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (3)\" alt=\"D_i+D_j - D_iD_j \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (3)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/792\/4d1\/73d\/7924d173dc559983c5ea69c67955b276.svg\" width=\"219\" height=\"22\"\/><\/p>\n<p>Because of the properties (10) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> in (3) in the sum <em>D<sub>i<\/sub> + D<sub>j<\/sub><\/em> removed repetitions of matrix units.<\/p>\n<p>The minimal dictionary of a matrix text fragment is called such a dictionary <em>D<sub>R<\/sub><\/em> text <em>P<\/em>, that <em>D<sub>R<\/sub><\/em> and <em>P<\/em> mutually multiple:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered} \\exists F_{PD_R} : P =F_{PD_R}D_R, \\\\ \\exists F_{D_RP} : D_R=F_{D_RP}P \\end{gathered}\" alt=\"\\begin{gathered} \\exists F_{PD_R} : P =F_{PD_R}D_R, \\\\ \\exists F_{D_RP} : D_R=F_{D_RP}P \\end{gathered}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7d4\/0fc\/78d\/7d40fc78dcc8783a30b02883abc60a73.svg\" width=\"189\" height=\"48\"\/><\/p>\n<p>For mutually multiples of <em>P<\/em> and <em>D<sub>R<\/sub><\/em> non-zero matrices <em>F<sub>PDR<\/sub><\/em> and <em>F<sub>DRP<\/sub><\/em> exist.<\/p>\n<p>Sums of matrix units <em>F<sub>PDR<\/sub><\/em> and <em>F<sub>DRP<\/sub><\/em> exist if the matrix units are <em>P<\/em> and <em>D<sub>R<\/sub><\/em> they contain the same number of second indexes (coordinates) and do not contain any other second indexes.<\/p>\n<p>The concept of a minimal dictionary is introduced due to the fact that the properties of matrix units always hold:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"PD_R=P(D_R+D_{1R})\" alt=\"PD_R=P(D_R+D_{1R})\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/148\/add\/ae3\/148addae38060c71eded1d8c37cc0ec8.svg\" width=\"178\" height=\"21\"\/><\/p>\n<p>where <em>D<sub>1R<\/sub><\/em> it can consist of words (matrix units) that are missing (those very others) in <em>D<sub>R<\/sub><\/em> . For example, for <em>F<sub>1<\/sub><sup>j<\/sup> = F<sub>1<\/sub><sup>j<\/sup>D<sub>1R<\/sub> , &#8230;, F<sub>n<\/sub><sup>j<\/sup> = F<sub>n<\/sub><sup>j<\/sup>  D<sub>nR<\/sub><\/em> always running:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_{1}^j= F_{1}^j(D_{1R}+ \\ldots + D_{nR}), \\ldots , F_n^j= F_n^j(D_{1R}+ \\ldots + D_{nR})\" alt=\"F_{1}^j= F_{1}^j(D_{1R}+ \\ldots + D_{nR}), \\ldots , F_n^j= F_n^j(D_{1R}+ \\ldots + D_{nR})\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/daf\/568\/7ee\/daf5687ee320eb4b04c5fe1b7f043385.svg\" width=\"479\" height=\"26\"\/><\/p>\n<p>Minimum dictionaries <em>D<sub>minR1<\/sub> , &#8230;, D<sub>minRn<\/sub><\/em> fragments <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em> do not contain matrix words (second indexes of matrix units) that are not present in the corresponding text fragment.<\/p>\n<p>Context equivalence classes are defined by common minimal right-hand dictionaries <em>D<sub>minR<\/sub><\/em>. If a pair of contexts has a minimal common dictionary, then these contexts are mutually multiple. Hence, there are their mutual transformations (matrices).<\/p>\n<p>If the contexts are <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em>  Words signs <em>E<sub>j,j<\/sub><\/em> have a minimal common right dictionary <em>D<sub>R<\/sub><\/em>, then they are multiples of each other. In the future, the dictionaries of text fragments mean their minimal dictionaries.<\/p>\n<p>If the specified contexts are <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em>  multiply on the right by such a dictionary <em>D<sup>j<\/sup><sub>R<\/sub><\/em>, that each resulting context will have the right dictionary (minimal) <em>D<sup>j<\/sup><sub>R<\/sub><\/em>, then they are called reduced contexts:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_1^j D_R^j, \\ldots , F_n^jD_R^j \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (4)\" alt=\"F_1^j D_R^j, \\ldots , F_n^jD_R^j \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (4)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e5a\/c42\/a00\/e5ac42a0087cda2d4862b74543943e96.svg\" width=\"228\" height=\"27\"\/><\/p>\n<p>When reducing (multiplying on the right) the part of the matrix units with the second indices, which are not in the <em>D<sup>j<\/sup><sub>R<\/sub><\/em> deleted in each of the <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em>. If at least one of the dictionary indexes is missing in some of the received fragments, then it should not fall into (4).<\/p>\n<h2>Categorization<\/h2>\n<p>Contexts with common dictionaries, for example, after the reduction (4) of the sign word <em>E<sub>j,j<\/sub><\/em>, are objects of the sign category <strong>Cat<\/strong>(<em>E<sub>j,j<\/sub><\/em>). All matrix texts (4) by construction are multiples of each other by (20) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>, have a common (and minimal) dictionary, therefore, there are always transformation matrices <em>F<sup>j<\/sup><sub>1,k<\/sub><\/em> as morphisms of the sign category <strong>Cat<\/strong>(<em>E<sub>j,j<\/sub><\/em>):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_1^jD_R^j= F_{1,k}^jF_k^jD_R^j \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (5)\" alt=\"F_1^jD_R^j= F_{1,k}^jF_k^jD_R^j \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (5)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ea7\/b2e\/f89\/ea7b2ef89508023e8f9604345a6ee012.svg\" width=\"233\" height=\"29\"\/><\/p>\n<p>Relations (5) are the smallest transitive relations on the set <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em> and are the transitive closure of this set due to the fact that from the contexts <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em> operation (4) removes all matrix words that are not present in the general dictionary <em>D<sup>j<\/sup><sub>R<\/sub><\/em>.<\/p>\n<p>The remaining categorical axioms are fulfilled due to the properties of square matrices of the same dimension.<\/p>\n<p>The transitive closure (5) can be defined for any subset <em>(m &lt; n)<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_1^j, \\ldots, F_m^j \\subset F_1^j, \\ldots, F_n^j, \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (6)\" alt=\"F_1^j, \\ldots, F_m^j \\subset F_1^j, \\ldots, F_n^j, \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (6)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b99\/3d1\/c60\/b993d1c600c6b9b59df666af7373e055.svg\" width=\"300\" height=\"26\"\/><\/p>\n<p>setting for <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>m<\/sub><sup>j<\/sup><\/em> by (2) their general vocabulary <em>D<sup>j<\/sup><sub>mR<\/sub> \u2287 D<sup>j<\/sup><sub>R<\/sub><\/em> (<em>D<sup>j<\/sup><sub>R<\/sub><\/em> is a subset of <em>D<sup>j<\/sup><sub>mR<\/sub><\/em> by properties (2)). In this case, the transitive closure (5) is performed by the dictionary <em>D<sup>j<\/sup><sub>mR<\/sub><\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_1^jD_{mR}^j=F_{1,k}^jF_k^jD_{mR}^j. \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (7)\" alt=\"F_1^jD_{mR}^j=F_{1,k}^jF_k^jD_{mR}^j. \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (7)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8b2\/752\/c5a\/8b2752c5aaf643641ceec2297cfa87ee.svg\" width=\"265\" height=\"29\"\/><\/p>\n<h2>Example<\/h2>\n<p>As an example of a matrix text, (5) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> is used, in which there are four identical signs of the word \u00abset\u00bb <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em>. These four signs, in turn, have four contexts <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered} F_{1,5}^{1}\\equiv F_{1}^{1}+E_{2,2}+E_{3,3}+E_{4,4}=F_{1,1}D_{1}^{1} \\\\ F_{5,10}^{1}\\equiv F_{2}^{1}+E_{6,3}+E_{7,7}+E_{8,8}+E_{9,2}=F_{2}^{1}D_{2}^{1}\\\\ F_{10,14}^{1}\\equiv F_{3}^{1}=E_{11,3}+E_{12,12}+E_{13,4}=F_{3}^{1}D_{3}^{1}\\\\ F_{14,17}^{1}\\equiv F_{4}^{1}=E_{15,3}+E_{16,16}+E_{17,17}=F_{4}^{1}D_{4}^{1}\\\\ D_1^1 = E_{2,2}+E_{3,3}+E_{4,4}, \\\\ D_2^1 = E_{2,2}+E_{3,3}+E_{7,7}+E_{8,8}, \\\\ D_3^1 = E_{3,3}+E_{4,4}+E_{12,12}, \\\\ D_4^1 = E_{3,3}+E_{16,16}+E_{7,7}, \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (8)\" alt=\"\\begin{gathered} F_{1,5}^{1}\\equiv F_{1}^{1}+E_{2,2}+E_{3,3}+E_{4,4}=F_{1,1}D_{1}^{1} \\\\ F_{5,10}^{1}\\equiv F_{2}^{1}+E_{6,3}+E_{7,7}+E_{8,8}+E_{9,2}=F_{2}^{1}D_{2}^{1}\\\\ F_{10,14}^{1}\\equiv F_{3}^{1}=E_{11,3}+E_{12,12}+E_{13,4}=F_{3}^{1}D_{3}^{1}\\\\ F_{14,17}^{1}\\equiv F_{4}^{1}=E_{15,3}+E_{16,16}+E_{17,17}=F_{4}^{1}D_{4}^{1}\\\\ D_1^1 = E_{2,2}+E_{3,3}+E_{4,4}, \\\\ D_2^1 = E_{2,2}+E_{3,3}+E_{7,7}+E_{8,8}, \\\\ D_3^1 = E_{3,3}+E_{4,4}+E_{12,12}, \\\\ D_4^1 = E_{3,3}+E_{16,16}+E_{7,7}, \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (8)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/679\/a99\/ab1\/679a99ab18df3e2e9200d1543db47c9a.svg\" width=\"453\" height=\"220\"\/><\/p>\n<p>where <em>D<sup>1<\/sup><sub>1<\/sub> , D<sup>1<\/sup><sub>2<\/sub> , D<sup>1<\/sup><sub>3<\/sub> , D<sup>1<\/sup><sub>4<\/sub><\/em> \u2013 these are dictionaries of the corresponding contexts, in the latter context <em>F<sup>1<\/sup><sub>14,17<\/sub><\/em> the second index is not equal to the number of the last repetition of the sign that is missing in the text dictionary, but to the number of the last word in the text in order to determine the end of the context.<\/p>\n<p>The problem statement is the calculation of the similarity and difference of words <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em> depending on the similarity and difference in some measure (modulus) of their contexts <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em>. The similarity of contexts is determined by the presence of common dictionaries, which are used as a module for comparing contexts. The difference is determined by the context deductions for the same module. Deductions will define their equivalence classes (deduction classes) and deduction categories, since transitivity closure can also occur for them.<\/p>\n<p>A general dictionary of four contexts <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em> according to (2):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"D_R^1=D_1^1D_2^1D_3^1 D_4^1= E_{3,3} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (9)\" alt=\"D_R^1=D_1^1D_2^1D_3^1 D_4^1= E_{3,3} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (9)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/320\/22c\/081\/32022c0814f27f1425b4b0cbf5ca7b5e.svg\" width=\"279\" height=\"25\"\/><\/p>\n<p>Transitive closure (4) on the general dictionary-module leads to the removal of &#171;extra&#187; words:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered} F_{1}^{1}\\rightarrow F_{1}^{1}D_{R}^{1}=E_{3,3},\\\\ F_2^1\\rightarrow F_2^1D_{R}^{1}=E_{6,3},\\\\ F_{3}^1\\rightarrow F_{3}^{1}D_{R}^{1}=E_{11,3}, \\\\ F_{4}^{1}\\rightarrow F_{4}^{1}D_{R}^{1}=E_{15,3} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (10)\" alt=\"\\begin{gathered} F_{1}^{1}\\rightarrow F_{1}^{1}D_{R}^{1}=E_{3,3},\\\\ F_2^1\\rightarrow F_2^1D_{R}^{1}=E_{6,3},\\\\ F_{3}^1\\rightarrow F_{3}^{1}D_{R}^{1}=E_{11,3}, \\\\ F_{4}^{1}\\rightarrow F_{4}^{1}D_{R}^{1}=E_{15,3} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (10)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0e8\/d53\/b22\/0e8d53b22e4c83f77982904b16a3e2c2.svg\" width=\"275\" height=\"105\"\/><\/p>\n<p>Thus, reduced (abbreviated) contexts of the sign-word <em>E<sub>1,1<\/sub><\/em> (\u00abset\u00bb) are four words <em>E<sub>3,3<\/sub>, E<sub>6,3<\/sub>, E<sub>11,3<\/sub> <\/em>and<em> E<sub>15,3<\/sub><\/em>. These words have the same sign <em>E<sub>3,3<\/sub><\/em> (\u00abobject\u00bb) in the combined software (3) dictionary for <em>D<sup>1<\/sup><sub>1<\/sub> , D<sup>1<\/sup><sub>2<\/sub> , D<sup>1<\/sup><sub>3<\/sub> , D<sup>1<\/sup><sub>4<\/sub><\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered} D_1^1+D_2^1-D_1^1D_2^1 = E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8} \\\\ \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8} \\right) + \\\\ + D_3^1 - \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8} \\right) D_3^1= \\\\ = E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12} \\\\ \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12} \\right) + \\\\ + D_4^1 - \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12} \\right)D_4^1=\\\\ = E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12}+E_{16,16}, \\end{gathered}\" alt=\"\\begin{gathered} D_1^1+D_2^1-D_1^1D_2^1 = E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8} \\\\ \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8} \\right) + \\\\ + D_3^1 - \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8} \\right) D_3^1= \\\\ = E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12} \\\\ \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12} \\right) + \\\\ + D_4^1 - \\left(E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12} \\right)D_4^1=\\\\ = E_{2,2}+E_{3,3}+E_{4,4}+E_{7,7}+E_{8,8}+E_{12,12}+E_{16,16}, \\end{gathered}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5f1\/228\/70a\/5f122870a159d147f5995f456997711b.svg\" width=\"449\" height=\"181\"\/><\/p>\n<p>where each formula is a sequentially pairwise union of dictionaries (3).<\/p>\n<p>Words <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em> in the sense of their reduced (reduced) contexts <em>E<sub>3,3<\/sub>, E<sub>6,3<\/sub>, E<sub>11,3<\/sub> <\/em>and<em> E<sub>15,3<\/sub><\/em> they can be the same or different. Setting the comparison measure <em>E<sub>3,3<\/sub>, E<sub>6,3<\/sub>, E<sub>11,3<\/sub> <\/em>and<em> E<sub>15,3<\/sub><\/em> defines the result of the comparison <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em>. In the simplest case, if the values are assumed to be the same <em>E<sub>3,3<\/sub>, E<sub>6,3<\/sub>, E<sub>11,3<\/sub> <\/em>and<em> E<sub>15,3<\/sub><\/em>, then they will be the same and <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em>. This is the case, for example, when words are understood only as signs-letters in the dictionary-alphabet, and their context dependence is absent.<\/p>\n<p>To solve the problem of comparing the meaning of words, it is useful to calculate the corresponding category of signs of these words. Sign <strong>Cat<\/strong>(<em>E<sub>3,3<\/sub><\/em>)  consists of four reduced context objects (10).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_1^1 \\sim E_{3,3}, F_2^1\\sim E_{6,3}, F_3^1 \\sim E_{11,3}, F_4^1\\sim E_{15,3} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (11)\" alt=\"F_1^1 \\sim E_{3,3}, F_2^1\\sim E_{6,3}, F_3^1 \\sim E_{11,3}, F_4^1\\sim E_{15,3} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (11)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c3e\/e2b\/afa\/c3ee2bafaaad46e5f81387131b90a1d9.svg\" width=\"447\" height=\"24\"\/><\/p>\n<p>Morphisms <strong>Cat<\/strong>(<em>E<sub>1,1<\/sub><\/em>) are the four matrices <em>E<sub>6,3<\/sub>, E<sub>11,6<\/sub>, E<sub>11,3<\/sub> <\/em>\u0438<em> E<sub>15,3<\/sub><\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_2^1 = E_{6,3}F_1^1, F_3^1 = E_{11,6}F_2^1, F_4^1 = E_{15,11}F_3^1, F_4^1 = E_{15,3}F_1^1 \\ \\ \\ \\ \\ \\ \\ \\ \\ (12)\" alt=\"F_2^1 = E_{6,3}F_1^1, F_3^1 = E_{11,6}F_2^1, F_4^1 = E_{15,11}F_3^1, F_4^1 = E_{15,3}F_1^1 \\ \\ \\ \\ \\ \\ \\ \\ \\ (12)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/abd\/9a2\/470\/abd9a2470e90288b39056cc509bf0053.svg\" width=\"538\" height=\"24\"\/><\/p>\n<p>The composition of morphisms is the relation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"E_{15,11}E_{11,6}E_{6,3}=E_{15,3}. \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (13)\" alt=\"E_{15,11}E_{11,6}E_{6,3}=E_{15,3}. \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (13)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/358\/ae8\/afa\/358ae8afa9ef80467bc6314135d4bc88.svg\" width=\"287\" height=\"22\"\/><\/p>\n<p>The composition (13) is an expression of the interval markup of the word <em>E<sub>3,3<\/sub><\/em> (45) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> in the language of category theory, and reduction (10) &#8212; is an example of solving a system of comparisons modulo <em>F<sub>m<\/sub><\/em> (39) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>. The usefulness of using category theory is that its approach is more general and allows you to use methods from different sections of algebra.<\/p>\n<p>So all four pieces of text are <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em> are the same (equivalent) in the sense of the sign-word <em>E<sub>3,3<\/sub><\/em> (comparable in modulus <em>E<sub>3,3<\/sub><\/em>). There are matrix-morphisms <em>E<sub>15,11 <\/sub>, E<sub>11,6<\/sub>, E<sub>6,3<\/sub>, E<sub>15,3<\/sub><\/em>, converting these texts according to (12) into each other. By analogy with the library catalog, all four texts are <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em> (objects of the sign category <strong>Cat<\/strong>(<em>E<sub>3,3<\/sub><\/em>)) they are in the same catalog box with the name of the sign <em>E<sub>3,3<\/sub><\/em>. This is an example of a rough classification of texts by keywords. The contextual meaning of words is not taken into account, all such words as signs are the same, and all cases of their appearance in the text can be added to calculate the significance of keywords by frequency of use.<\/p>\n<p>The resulting result means that, in the first approximation, all four words \u00abset\u00bb are contextually related to the word \u00abobject\u00bb. The words \u00abset\u00bb <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em> can be the same or differ as much as their reduced (reduced) contexts are the same or different <em>E<sub>3,3<\/sub>, E<sub>6,3<\/sub>, E<sub>11,3<\/sub> <\/em>\u0438<em> E<sub>15,3<\/sub><\/em>.<\/p>\n<p>In <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> it was shown that modulo comparisons are performed for matrix texts. The remainder of the division of fragments of matrix texts into other fragments (modules) can have residues (deductions), which, like modules, are classifying features.<\/p>\n<p>A sign of the divisibility (multiplicity \u22ee ) of fragments of matrix texts is the divisibility (multiplicity) of their right dictionaries (20) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>. The remainder of the division of dictionaries (subtractions of dictionaries) of fragments are the dictionaries of the remainder of the division of these fragments.<\/p>\n<p>To calculate the similarities and differences of words <em>E<sub>3,3<\/sub>, E<sub>6,3<\/sub>, E<sub>11,3<\/sub> <\/em>and<em> E<sub>15,3<\/sub><\/em> you need to compare the contexts <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em> by module <em>E<sub>3,3<\/sub><\/em>.<\/p>\n<p>Then the deductions of each context modulo <em>E<sub>3,3<\/sub><\/em> equal to:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered} \\textrm{res} (F_1^1) \\sim \\textrm{res} D_1^1 = \\\\ = E_{2,2}+E_{3,3}+E_{4,4} - (E_{2,2}+E_{3,3}+E_{4,4}) E_{3,3}= \\\\ = E_{2,2}+E_{4,4} \\\\ \\textrm{res}(F_2^1)\\sim \\textrm{res} D_2^1 = \\\\ = E_{2,2}+E_{3,3}+E_{7,7}+E_{8,8} - (E_{2,2}+E_{3,3}+E_{7,7}+E_{8,8}) E_{3,3}= \\\\ =E_{2,2}+E_{7,7}+E_{8,8} \\\\ \\textrm{res}(F_3^1)\\sim \\textrm{res} D_3^1 = \\\\ = E_{3,3}+E_{4,4}+E_{12,12} - (E_{3,3}+E_{4,4}+E_{12,12}) E_{3,3}= \\\\ =E_{4,4}+E_{12,12} \\\\ \\textrm{res}(F_4^1)\\sim \\textrm{res} D_4^1 = \\\\ = E_{3,3}+E_{16,16}+E_{7,7} - (E_{3,3}+E_{16,16}+E_{7,7}) E_{3,3} = \\\\ = E_{16,16}+E_{7,7} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ (14)\" alt=\"\\begin{gathered} \\textrm{res} (F_1^1) \\sim \\textrm{res} D_1^1 = \\\\ = E_{2,2}+E_{3,3}+E_{4,4} - (E_{2,2}+E_{3,3}+E_{4,4}) E_{3,3}= \\\\ = E_{2,2}+E_{4,4} \\\\ \\textrm{res}(F_2^1)\\sim \\textrm{res} D_2^1 = \\\\ = E_{2,2}+E_{3,3}+E_{7,7}+E_{8,8} - (E_{2,2}+E_{3,3}+E_{7,7}+E_{8,8}) E_{3,3}= \\\\ =E_{2,2}+E_{7,7}+E_{8,8} \\\\ \\textrm{res}(F_3^1)\\sim \\textrm{res} D_3^1 = \\\\ = E_{3,3}+E_{4,4}+E_{12,12} - (E_{3,3}+E_{4,4}+E_{12,12}) E_{3,3}= \\\\ =E_{4,4}+E_{12,12} \\\\ \\textrm{res}(F_4^1)\\sim \\textrm{res} D_4^1 = \\\\ = E_{3,3}+E_{16,16}+E_{7,7} - (E_{3,3}+E_{16,16}+E_{7,7}) E_{3,3} = \\\\ = E_{16,16}+E_{7,7} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ (14)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/82f\/803\/eee\/82f803eee3d6693012428c7e4b2dc72a.svg\" width=\"580\" height=\"310\"\/><\/p>\n<p>It follows from (14) that all <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em> (hence, the words \u00abset\u00bb <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em>) incomparable in modulus <em>E<sub>3,3<\/sub><\/em>. The deductions are not pairwise multiples and do not form any class of deductions pairwise. This means that all the words <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em> they are different in meaning (context).<\/p>\n<p>The similarity is found in the next step (for deductions), if for pairs of deductions we calculate by (2) the general dictionaries and reduce (4). The general dictionary for all deductions <em>D<sup>j<\/sup><sub>res<\/sub><\/em> does not exist:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\left(E_{2,2}+E_{4,4}\\right) \\left(E_{2,2}+E_{7,7}+E_{8,8}\\right) \\left(E_{4,4}+E_{12,12}\\right) \\left(E_{16,16}+E_{7,7}\\right) = 0 \\ \\ \\ \\ \\ (15)\" alt=\"\\left(E_{2,2}+E_{4,4}\\right) \\left(E_{2,2}+E_{7,7}+E_{8,8}\\right) \\left(E_{4,4}+E_{12,12}\\right) \\left(E_{16,16}+E_{7,7}\\right) = 0 \\ \\ \\ \\ \\ (15)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9da\/1ad\/87b\/9da1ad87bec535d7633b594517f70f93.svg\" width=\"589\" height=\"22\"\/><\/p>\n<p>Equality (15) is the reason for the absence of a general class of deductions and a corresponding category <strong>Cat<\/strong><sub>res<\/sub>(<em>E<sub>3,3<\/sub><\/em>). But some pairs of deductions (14) have common dictionaries:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered}  (E_{2,2}+E_{4,4})(E_{2,2}+E_{7,7}+E_{8,8}) = E_{2,2},\\\\ (E_{2,2}+E_{4,4})(E_{4,4}+E_{12,12})= E_{4,4},\\\\ (E_{2,2}+E_{7,7}+E_{8,8})(E_{16,16}+E_{7,7}) =E_{7,7}. \\end{gathered}\" alt=\"\\begin{gathered}  (E_{2,2}+E_{4,4})(E_{2,2}+E_{7,7}+E_{8,8}) = E_{2,2},\\\\ (E_{2,2}+E_{4,4})(E_{4,4}+E_{12,12})= E_{4,4},\\\\ (E_{2,2}+E_{7,7}+E_{8,8})(E_{16,16}+E_{7,7}) =E_{7,7}. \\end{gathered}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/034\/902\/783\/034902783ac7c4d042e900e6f3f51ab7.svg\" width=\"341\" height=\"75\"\/><\/p>\n<p>Then these pairs of deductions after reducing (4) form classes and categories of deductions with names <em>E<sub>2,2<\/sub><\/em>, <em>E<sub>4,4<\/sub><\/em> and <em>E<sub>7,7<\/sub><\/em>. To a folder named <em>E<sub>2,2<\/sub><\/em>  fragments will get there <em>F<sup>1<\/sup><sub>1<\/sub><\/em> and <em>F<sup>1<\/sup><sub>2<\/sub><\/em>, in directory with the name <em>E<sub>4,4<\/sub><\/em> &#8212; fragments <em>F<sup>1<\/sup><sub>1<\/sub><\/em> and <em>F<sup>1<\/sup><sub>3<\/sub><\/em>, to a folder named <em>E<sub>7,7<\/sub><\/em> \u2013 fragments <em>F<sup>1<\/sup><sub>2<\/sub><\/em> and <em>F<sup>1<\/sup><sub>4<\/sub><\/em>.<\/p>\n<p>Word <em>E<sub>8,8<\/sub><\/em> it is an annuler (zero divisor) of three deductions (14)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"E_{8,8}\\textrm{res}(F_1^1) = E_{8,8}\\textrm{res}(F_3^1) = E_{8,8}\\textrm{res}(F_4^1) = 0 \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (16)\" alt=\"E_{8,8}\\textrm{res}(F_1^1) = E_{8,8}\\textrm{res}(F_3^1) = E_{8,8}\\textrm{res}(F_4^1) = 0 \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (16)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ecd\/a89\/a48\/ecda89a48316337dd1930b279ad39fd7.svg\" width=\"441\" height=\"24\"\/><\/p>\n<p>Word <em>E<sub>12,12<\/sub><\/em> \u2013 annuler<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"E_{12,12}\\textrm{res}(F_1^1) = E_{12,12}\\textrm{res}(F_2^1) = E_{12,12}\\textrm{res}(F_4^1) = 0 \\ \\ \\ \\ \\ \\ \\ \\ \\ (17)\" alt=\"E_{12,12}\\textrm{res}(F_1^1) = E_{12,12}\\textrm{res}(F_2^1) = E_{12,12}\\textrm{res}(F_4^1) = 0 \\ \\ \\ \\ \\ \\ \\ \\ \\ (17)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/427\/01e\/280\/42701e28011eb84afc264d126eaad27d.svg\" width=\"476\" height=\"24\"\/><\/p>\n<p>Word <em>E<sub>16,16<\/sub><\/em> \u2013 annuler<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"E_{16,16}\\textrm{res}(F_1^1) = E_{16,16}\\textrm{res}(F_2^1) = E_{16,16}\\textrm{res}(F_3^1) = 0 \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (18)\" alt=\"E_{16,16}\\textrm{res}(F_1^1) = E_{16,16}\\textrm{res}(F_2^1) = E_{16,16}\\textrm{res}(F_3^1) = 0 \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (18)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/eab\/033\/71f\/eab03371fa7642a3ea5891fac3d2323a.svg\" width=\"495\" height=\"24\"\/><\/p>\n<p>These are words of the matrix text that have no context (the last three terms in the context dictionary (49) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>) \u2013 when multiplying a deduction by an annuler, the product is different from zero if the deduction contains this annuler.<\/p>\n<p>So, the problem statement of the given example was the calculation of the similarity and difference of words <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em> depending on the similarity and difference of their contexts <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em> by some measure (modulus).<\/p>\n<p>Solution received: words <em>E<sub>1,1<\/sub>, E<sub>5,1<\/sub>, E<sub>10,1<\/sub>, E<sub>14,1<\/sub><\/em> (as their contexts are <em>F<sup>1<\/sup><sub>1,5<\/sub> , F<sup>1<\/sup><sub>5,10<\/sub>, F<sup>1<\/sup><sub>10,14<\/sub>, F<sup>1<\/sup><sub>14,17<\/sub><\/em>) comparable in modulus <em>E<sub>3,3<\/sub><\/em> and are not comparable (different) in modules <em>E<sub>8,8<\/sub><\/em>, <em>E<sub>12,12<\/sub><\/em>, <em>E<sub>16,16<\/sub><\/em>.<\/p>\n<p>This means that the reduction (10) should not be performed according to the general dictionary (9), which consists of a single sign word <em>E<sub>3,3<\/sub><\/em>. As it turned out, this word-sign has a different meaning in different places of the text. Taking into account (16), (17), (18):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered} F_1^1 \\rightarrow F_1^1D_R^1 = E_{3,3} \\\\ F_2^1 \\rightarrow F_2^1(D_R^1 + E_{8,8}) = E_{6,3}+E_{8,8} \\\\ F_3^1 \\rightarrow F_3^1(D_R^1 +E_{12,12})= E_{11,3}++E_{12,12} \\\\ F_4^1 \\rightarrow F_4^1(D_R^1 + E_{16,16})= E_{15,3}+E_{16,16} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (19)\" alt=\"\\begin{gathered} F_1^1 \\rightarrow F_1^1D_R^1 = E_{3,3} \\\\ F_2^1 \\rightarrow F_2^1(D_R^1 + E_{8,8}) = E_{6,3}+E_{8,8} \\\\ F_3^1 \\rightarrow F_3^1(D_R^1 +E_{12,12})= E_{11,3}++E_{12,12} \\\\ F_4^1 \\rightarrow F_4^1(D_R^1 + E_{16,16})= E_{15,3}+E_{16,16} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (19)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/695\/919\/822\/69591982297a1d1d67b4e555533f9e5d.svg\" width=\"417\" height=\"105\"\/><\/p>\n<p>To the right dictionary <em>D<sub>R<\/sub><\/em> (9) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> text (5) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> then the extension is required:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{gathered} E_{3,3} \\rightarrow E_{3,3}\\\\ F_2^1 \\rightarrow F_2^1(D_R^1 + E_{8,8}) = E_{6,3}+E_{8,8} \\\\ F_3^1 \\rightarrow F_3^1(D_R^1 +E_{12,12})= E_{11,3}++E_{12,12} \\\\ F_4^1 \\rightarrow F_4^1 \\\\ (D_R^1 + E_{16,16})= E_{15,3}+E_{16,16} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (20)\" alt=\"\\begin{gathered} E_{3,3} \\rightarrow E_{3,3}\\\\ F_2^1 \\rightarrow F_2^1(D_R^1 + E_{8,8}) = E_{6,3}+E_{8,8} \\\\ F_3^1 \\rightarrow F_3^1(D_R^1 +E_{12,12})= E_{11,3}++E_{12,12} \\\\ F_4^1 \\rightarrow F_4^1 \\\\ (D_R^1 + E_{16,16})= E_{15,3}+E_{16,16} \\end{gathered} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (20)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/53c\/803\/b25\/53c803b255f8d3c9fad24687f8e1642b.svg\" width=\"426\" height=\"131\"\/><\/p>\n<p>The source dictionary (9) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> has been converted to the context dictionary (20). To the word signs <em>E<sub>3,3<\/sub><\/em>, <em>E<sub>6,3<\/sub><\/em>, <em>E<sub>11,3<\/sub><\/em> and <em>E<sub>15,3<\/sub><\/em> added additional words using category calculation <em>E<sub>8,8<\/sub><\/em>, <em>E<sub>12,12<\/sub><\/em>, <em>E<sub>16,16<\/sub><\/em>. With these additional words <em>E<sub>8,8<\/sub><\/em>, <em>E<sub>12,12<\/sub><\/em>, <em>E<sub>16,16<\/sub><\/em> words <em>E<sub>6,3<\/sub><\/em>, <em>E<sub>11,3<\/sub><\/em> and <em>E<sub>15,3<\/sub><\/em> they differ from each other.<\/p>\n<p>The above classification is a categorization of matrix texts by dictionary. When categorizing, classes and their names are calculated as algebraic functions of the text. The categorization was calculated by dictionaries, since the classifying features (category names) were determined by the mutual intersection of dictionaries (2). This categorization does not take into account the order of words in the text, but can be used later in the construction of a more subtle categorization that takes into account the mutual order of words. In this case, the comparison modules are not parts of dictionaries, but fragments of contexts. When replacing dictionary fragments with text fragments, word repetitions may appear in contexts. There is ambiguity in the division (construction of morphisms of the category) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>. That is why, first, a comparison is made modulo dictionaries, and similarities and differences (divisors and residuals) are determined by this measure. Then, after establishing the similarity and difference of the repeated words in the contexts, the dictionary comparison module is replaced with a text fragment that already takes into account the word order. The category names are the text fragments.<\/p>\n<p>The general method of calculating classifying features gives an analog of CRT for matrix texts.<\/p>\n<h2>Chinese Remainder Theorem (CRT)<\/h2>\n<p>The Chinese remainder theorem for matrix texts is formulated as follows. Let be given:<\/p>\n<ol>\n<li>\n<p><em>D<sub>1R<\/sub> , &#8230;, D<sub>kR<\/sub><\/em> pairwise non-multiple minimal dictionaries of matrix text fragments <em>F<sub>1<\/sub>, &#8230;, F<sub>k<\/sub><\/em>.<\/p>\n<\/li>\n<li>\n<p><em>D<sub>R<\/sub> = D<sub>1R<\/sub> + &#8230; + D<sub>kR<\/sub><\/em> \u2013 right dictionary of some text <em>P<\/em>.<\/p>\n<\/li>\n<li>\n<p><em>D&#8217;<sub>R<\/sub> = D&#8217;<sub>1R<\/sub> +. . . + D&#8217;<sub>mR<\/sub><\/em> \u2013 right dictionary of some text <em>P&#8217;, m &lt; k<\/em>.<\/p>\n<\/li>\n<li>\n<p><em>P&#8217; \u2282 P : D&#8217;<sub>R<\/sub> \u2282 D<sub>R<\/sub><\/em> (text <em>P&#8217;<\/em>  is a part of <em>P<\/em> in the sense that its dictionary <em>D&#8217;<sub>R<\/sub><\/em> it is part of the dictionary <em>D<sub>R<\/sub><\/em>)<\/p>\n<\/li>\n<li>\n<p>Tuple (<em>r<sub>1<\/sub> , &#8230; , r<sub>k<\/sub><\/em>), where <em>r<sub>1<\/sub> \u2261 P&#8217; ( mod D&#8217;<sub>1R<\/sub> ), &#8230;, r<sub>k<\/sub> \u2261 P&#8217; ( mod D&#8217;<sub>kR<\/sub> ) <\/em>(this means that <em>P&#8217; = P&#8217; D&#8217;<sub>1R<\/sub>+r<sub>1<\/sub>, &#8230;, P&#8217;= P&#8217;D&#8217;<sub>1R<\/sub>+r<sub>k<\/sub><\/em>).<\/p>\n<\/li>\n<\/ol>\n<p>Then there is a one-to-one correspondence:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"P'\\longleftrightarrow (r_1, \\ldots, r_k) \\ \\ \\ \\ \\ \\ \\ \\ \\ (21)\" alt=\"P'\\longleftrightarrow (r_1, \\ldots, r_k) \\ \\ \\ \\ \\ \\ \\ \\ \\ (21)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/794\/50e\/7f8\/79450e7f860b1c4c9687987b9840bf45.svg\" width=\"230\" height=\"23\"\/><\/p>\n<p>It is proved by induction using the definition of the multiplicity of the polynomials of matrix units and the minimality of the dictionary.<\/p>\n<p>Deduction tuple <em>(r<sub>1<\/sub> , &#8230;, r<sub>k<\/sub> )<\/em> it is a classifying feature of all possible multiples of each other texts that have a dictionary <em>D&#8217;<sub>R<\/sub><\/em> or any part of it. It is according to (21) that classifiers of language and other sign sequences should be constructed.<\/p>\n<h2>References<\/h2>\n<ol>\n<li>\n<p> <a href=\"https:\/\/elibrary.ru\/item.asp?id=41232848\" rel=\"noopener noreferrer nofollow\">A.B. Petrovsky. Theory of countable sets and multisets. M. Nauka, 2018.<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">S. B. Pshenichnikov. Algebra of text. Researchgate Preprint, 2021.<\/a><\/p>\n<\/li>\n<li>\n<p>S. B. Pshenichnikov. Computer game &#171;Double chess&#187;. certificate of state registration of the computer program. 4.12.1992 No 920129.<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/553880\/\"> https:\/\/habr.com\/ru\/articles\/553880\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>Similarity and sameness<\/h2>\n<p>The mathematical model of signed sequences with repetitions (texts) is a multiset. The multiset was defined by D. Knuth in 1969 and later studied in detail by A. B. Petrovsky <a href=\"https:\/\/elibrary.ru\/item.asp?id=41232848\" rel=\"noopener noreferrer nofollow\">[1]<\/a>. The universal property of a multiset is the existence of identical elements. The limiting case of a multiset with unit multiplicities of elements is a set. A set with unit multiplicities corresponding to a multiset is called its generating set or domain. A set with zero multiplicity is an empty set.<\/p>\n<p>The problem is determining whether the elements are the same. The similarity depends on the properties of these elements that are taken into account. Cucumbers and watermelons are similar in color externally, but it is difficult to call them the same in gastronomic use, although the botanical description is largely the same.<\/p>\n<p>According to G. Frege, any object that has relations with other objects and their combinations has as many properties (values) as these relations. The part of the values taken into account is called the meaning that the object is represented in this situation. The name of an object by a number, symbol, word, picture, sound, gesture for its short description is called an object sign (this is one of the values).<\/p>\n<p>All possible parts of the object\u2019s values (meaning) correspond to a single sign. This is the main problem of recognizing meaning, but at the same time the basis for making do with minimal sets of characters. It is not possible to assign a unique sign to each subset of values. The objects of information exchange are the minimum sets of characters (notes, alphabet, language dictionary). The meaning of signs is usually not calculated, but determined by the sign contexts (neighborhoods) intuitively.<\/p>\n<p>The solution to the problem of ambiguity of signs is the semantic markup of the text. The semantic markup can be explained by the example of extreme unambiguity. On Russian accounts, the text is a sequence of identical characters (knuckles). According to <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>, the dictionary of such a text consists of one word. It is impossible to use such texts without semantic markup. Therefore, the dictionary changes, and the characters are divided into groups \u2013 units, tens, hundreds, etc. These group names (numbers) are unique word numbers. The dictionary <strong><em>D<\/em><\/strong> is the numbers from 0 to nine. Each knuckle is represented by a matrix unit on such a Cartesian abacus. For example, the number 2021 on a matrix abacus is represented by the sum of four matrix units:<\/p>\n<p>where the subscripts are the Cartesian coordinates of the matrix word (numbers in this case). There was a transformation of identical objects into similar ones. The measure of similarity is the values of the coordinates of the words. In addition to positional numbers, repetitions of numbers from the dictionary occur when performing arithmetic operations. Equivalence relations are established:<\/p>\n<p>If, after an arithmetic operation, the number <em>9 + 1<\/em>, is obtained, then 0 appears in this position, and 1 is added to the next digit. On the abacus, all the knuckles are shifted to their original (zero) position, and one is added to the next digit (wire). On the matrix abacus, the transformation is performed:<\/p>\n<p>If you set a measure of the similarity of signs, then the tolerance (similarity) ratio can again be turned into an equivalence (sameness) ratio for this measure. For example, by rounding numbers. The difference between tolerance and equivalence can be recognized by the violation of transitivity. For a relationship of tolerance, it can be violated. For example, let the element A be similar to B in one sense. If the meaning of B does not coincide with the meaning of the element C, then A can be similar to C only in terms of the intersection of their meanings (part of the properties). The transitivity of the relationship is restored (closed), but only for this general part of the meaning. After the sameness achieved by specifying the meaning, A will be equivalent to C. For example, the above transformation (closure) on some coordinates ensures the execution of arithmetic operations on the matrix abacus.<\/p>\n<p>Another example of the contextual dependence of signs is chess. It is even stronger in double chess [3]. In this modification of chess, it is allowed to make a finite number of double moves during the game at any given time. The game remains consistent. The rest of the rules are the same as in normal chess, with the exception of two: the first move is a single move and castling is allowed during the check. The author of the game in the case when all the moves are double is prof. Zaitsev G. A.<\/p>\n<p>For chess, the dictionary of their matrix text is the numbers of one of the pieces of each color and the move separator (from 1 to 11). A word in a chess text is a matrix unit. The first coordinate of it is unique and is the number of the cell on the chessboard (from 1 to 64). The second coordinate of the word is from the dictionary. The chess matrix text at any point in the game is the sum of the matrix units, each of which shows a piece at the corresponding place on the chessboard.Repetitions in the text appear both because of the duplication of figures, and because of the constant transitions during the game from similarity to sameness and vice versa for all figures except the king. The game consists in the implementation of the most effective such transitions and the actual classification of shapes. Pawns that are the same at first then become similar only by the rule of the move, and sometimes the pawn becomes the same as the queen.<\/p>\n<p>A tool for analyzing matrix texts is the transitivity control to check the difference between similarity and sameness. The lack of transitivity control is an algebraic explication of a misunderstanding for language texts, a loss in chess, or errors in numerical calculations.<\/p>\n<p>Transitivity of relations is a condition for turning a set of objects into a mathematical category. The semantic markup of the text can be the calculation of its categories by means of transitive closure. The objects of the category are the contexts of matrix words [2], morphisms are the transformation matrices of these contexts.<\/p>\n<h2>Context<\/h2>\n<p>The context of the word <em>E<sub>k,j<\/sub><\/em>  of the matrix text <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> is its fragment <em>F<sup>j<\/sup><sub>i,k<\/sub><\/em>  \u2013 he sum of matrix units (words) between two matrix words-repetitions <em>E<sub><u>i,j<\/u><\/sub><\/em> and <em>E<sub>k,j:<\/sub><\/em><\/p>\n<p>where the index D R means that any index from the right dictionary D R of the matrix text <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> can stand in this place, including the characters of the text-forming fragments. The context is all the words of the matrix text between the repeated characters of the dictionary D R . For example, between repeated words, repeated dots, signs of paragraphs, chapters, volumes of language texts or phrases, periods, and parts of musical works.<\/p>\n<p>The signs of text-forming fragments look the same, but they are also homonymous signs-their context is fragments (1). The context of a language fragment (explication or explanation) can be not only a language text, but also a sound (for example, music), figurative (photo) or joint (video). The context of a musical text can be a language text (for example, a libretto).<\/p>\n<p>Matrix words correspond to their matrix contexts, represented as algebraic objects (1). All possible relations between these objects are the subject of analysis when determining the meaning of words. For the study of such constructions, category theory is useful because it is based on the concept of transitivity.<\/p>\n<h2>Context category<\/h2>\n<p>Let <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em>  \u2013 these are all contexts <em>F<sup>j<\/sup><sub>i,k<\/sub><\/em> words <em>E<sub>j,j<\/sub> \u2208 D<sub>R<\/sub><\/em> in text <em>P<\/em>, while <em>D<sup>j<\/sup><sub>1R<\/sub><\/em>, &#8230;, <em>D<sup>j<\/sup><sub>nR <\/sub><\/em>\u2013 right dictionaries of these contexts:<\/p>\n<p>By <em>k = i + 1<\/em>  in (1) a special case of a fragment is a matrix word <em>E<sub>i+1,DR<\/sub><\/em> .<\/p>\n<p>Context category <strong>Cat<\/strong><em>(E<sub>j,j<\/sub>)<\/em> text sign <em>E<sub>j,j<\/sub> \u2208 D<sub>R<\/sub><\/em> defined as follows:<\/p>\n<ol>\n<li>\n<p>Category objects \u2013 pairwise multiple <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> contexts <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em>.<\/p>\n<\/li>\n<li>\n<p>For each pair of multiple objects, there is <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> a set of morphisms <em>F<sub>ij<\/sub> : F<sub>i<\/sub> = F<sub>ij<\/sub>F<sub>j<\/sub><\/em>,, each morphism corresponds to the singular <em>F<sub>i<\/sub><\/em> and <em>F<sub>j<\/sub><\/em> .<\/p>\n<\/li>\n<li>\n<p>For a pair of morphisms <em>F<sub>ij<\/sub><\/em> and <em>F<sub>jk<\/sub><\/em> such a composition of them is defined (the product of square matrices) <em>F<sub>ij<\/sub>F<sub>jk<\/sub><\/em>, that if <em>F<sub>i<\/sub> <\/em>= <em>F<sub>ij<\/sub>F<sub>j<\/sub><\/em> \u0438 <em>F<sub>j<\/sub><\/em> = <em>F<sub>jk<\/sub>F<sub>k<\/sub><\/em>, then<em>F<sub>i<\/sub> = F<sub>ij<\/sub>F<sub>jk<\/sub>F<sub>k<\/sub><\/em> (transitivity condition).<\/p>\n<\/li>\n<li>\n<p>For each object <em>F<sub>i<\/sub><\/em> the identity morphism is defined as the unit matrix <em>E: F<sub>i<\/sub> = EF<sub>i<\/sub>E<\/em>. The category associativity follows from the associativity of matrix multiplication.<\/p>\n<\/li>\n<\/ol>\n<h2>Context reduction<\/h2>\n<p>The intersection (in general words) of matrix dictionaries is their product:<\/p>\n<p>The proof follows from the defining property of matrix units (6) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> and the definition of dictionaries (9) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> and (15) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a>. When multiplying the matrix units of dictionaries (the subscripts are the same in each unit), the product of their matrix words (units) with different indexes is zero. In the product (2), only common words with matching lower indices from all the factors (2) will remain.<\/p>\n<p>The union of any pair of dictionaries <em>D<sub>i<\/sub><\/em> and <em>D<sub>j<\/sub><\/em> is their sum minus the intersection (2):<\/p>\n<p>Because of the properties (10) <a href=\"https:\/\/www.researchgate.net\/publication\/349928040_ALGEBRA_OF_TEXT\" rel=\"noopener noreferrer nofollow\">[2]<\/a> in (3) in the sum <em>D<sub>i<\/sub> + D<sub>j<\/sub><\/em> removed repetitions of matrix units.<\/p>\n<p>The minimal dictionary of a matrix text fragment is called such a dictionary <em>D<sub>R<\/sub><\/em> text <em>P<\/em>, that <em>D<sub>R<\/sub><\/em> and <em>P<\/em> mutually multiple:<\/p>\n<p>For mutually multiples of <em>P<\/em> and <em>D<sub>R<\/sub><\/em> non-zero matrices <em>F<sub>PDR<\/sub><\/em> and <em>F<sub>DRP<\/sub><\/em> exist.<\/p>\n<p>Sums of matrix units <em>F<sub>PDR<\/sub><\/em> and <em>F<sub>DRP<\/sub><\/em> exist if the matrix units are <em>P<\/em> and <em>D<sub>R<\/sub><\/em> they contain the same number of second indexes (coordinates) and do not contain any other second indexes.<\/p>\n<p>The concept of a minimal dictionary is introduced due to the fact that the properties of matrix units always hold:<\/p>\n<p>where <em>D<sub>1R<\/sub><\/em> it can consist of words (matrix units) that are missing (those very others) in <em>D<sub>R<\/sub><\/em> . For example, for <em>F<sub>1<\/sub><sup>j<\/sup> = F<sub>1<\/sub><sup>j<\/sup>D<sub>1R<\/sub> , &#8230;, F<sub>n<\/sub><sup>j<\/sup> = F<sub>n<\/sub><sup>j<\/sup>  D<sub>nR<\/sub><\/em> always running:<\/p>\n<p>Minimum dictionaries <em>D<sub>minR1<\/sub> , &#8230;, D<sub>minRn<\/sub><\/em> fragments <em>F<sub>1<\/sub><sup>j<\/sup> , &#8230;, F<sub>n<\/sub><sup>j<\/sup><\/em> do not contain matrix words (second indexes of matrix units) that are not present in the corresponding text fragment.<\/p>\n<p>Context equivalence classes are defined by common minimal right-hand dictionaries <em>D<sub>minR<\/sub><\/em>. If a pair of contexts has a minimal common dictionary, then these contexts are<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-384133","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/384133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=384133"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/384133\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=384133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=384133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=384133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}