Next Article in Journal
A Numerical Method for Computing the Roots of Non-Singular Complex-Valued Matrices
Previous Article in Journal
Multisensory Gas Analysis System Based on Reconstruction Attractors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Path Homology of Vertex Colored (Di)Graphs

Faculty of Mathematics and Computer Science, University of Warmia and Mazury in Olsztyn, Słoneczna 54, 10-710 Olsztyn, Poland
*
Author to whom correspondence should be addressed.
Symmetry 2020, 12(6), 965; https://doi.org/10.3390/sym12060965
Submission received: 6 May 2020 / Revised: 31 May 2020 / Accepted: 1 June 2020 / Published: 5 June 2020

Abstract

:
In this paper, we construct the colored-path homology theory in the category of vertex colored (di)graphs and describe its basic properties. Our construction is based on the path homology theory of digraphs that was introduced in the papers of Grigoryan, Muranov, and Shing-Tung Yau and stems from the notion of the path complex. Any graph naturally gives rise to a path complex in which for a given set of vertices, paths go along the edges of the graph. We define path complexes of vertex colored (di)graphs using the natural restrictions that are given by coloring. Thus, we obtain a new collection of colored-path homology theories. We introduce the notion of colored homotopy and prove functoriality as well as homotopy invariance of homology groups. For any colored digraph, we construct the spectral sequence of colored-path homology groups which gives the effective method of computations in the general case since any (di)graph can be equipped with various colorings. We provide a lot of examples to illustrate our results as well as methods of computations. We introduce the notion of homotopy and prove functoriality and homotopy invariance of introduced vertexed colored-path homology groups. For any colored digraph, we construct the spectral sequence of path homology groups which gives the effective method of computations in the constructed theory. We provide a lot of examples to illustrate obtained results as well as methods of computations.

1. Introduction

In this paper, we apply the methods of the path homology theory of digraphs and quivers first defined in [1,2,3,4,5,6] to the category and homotopy category of vertex colored digraphs and graphs (see [7,8,9,10,11]).
We construct the collection of path homology theories for vertex colored digraphs. Then we describe the possibility of implementing this theory to the case of edge colored digraphs and non-directed graphs. We will consider vertex colored (di)graphs which from now on will be simply called colored (di)graphs unless otherwise clearly stated.
The consideration of digraphs in this theory stems from the following reasons. The path homology theory is a natural generalization of simplicial homology theory and is defined for any path complex. Any digraph naturally gives rise to a path complex in which allowed paths go along directed edges. The path homology theory for digraphs provides the path homology theory for (non-directed) graphs by applying the functorial transformation from a given graph to the corresponding symmetric digraph [2].
In the classical algebraic topology, in most cases, the homology groups have a natural filtration that is given by the n-skeleton of C W or a simplicial complex. In the general case, the path homology groups do not have any structure that is similar to the n-skeleton. It follows directly from the results below that a vertex coloring of a digraph gives a functorial filtration that agrees with path homology groups. If we color a digraph in some way, then by the means of the spectral sequence constructed below, we obtain an effective method of computing the path homology groups of such a (di)graph.
Note also that the line digraph of an edge colored digraph gives the vertex colored digraph and that means in turn that the vertex colored homology theory might be applied to the edge colored digraphs and non-directed graphs. Let us mention here that the application of the colored homology theory to the case of quivers requires significant modifications. This fact follows from the generalization of the path homology theory to the category of quivers constructed in [4].
In our paper, we use the notions of the category and the functor (see, for example, ([10,12], Chapter 1) and ([13], Chapter 1)). A category C consists of a class of objects and for each ordered pair of objects ( A , B ) a collection of morphisms Hom ( A , B ) . Any such morphism f Hom ( A , B ) will be denoted by f : A B . For every pair of morphisms f Hom ( A , B ) , g Hom ( B , C ) , we define a composition g f = g f Hom ( A , C ) . The morphisms satisfy the following axioms.
(i)
If f Hom ( A , B ) , g Hom ( B , C ) and h Hom ( C , D ) , then h ( g f ) = ( h g ) f Hom ( A , D ) .
(ii)
For every object B there is a morphism Id B : B B , such that if f Hom ( A , B ) , then Id B f = f and if h Hom ( B , C ) , then h Id B = h .
Let C and D be two categories. A functor F from C to D assigns to any object of C an object F ( C ) and to any morphism f Hom ( A , B ) of C a morphism F ( f ) Hom ( F ( A ) , F ( B ) ) in such a way that
(i)
F ( Id B ) = Id F ( B ) ,
(ii)
F ( g f ) = F ( g ) F ( f ) for f Hom ( A , B ) , g Hom ( B , C ) .
It is necessary to remark that the notion of homotopy in the graph theory differs from a similar notion in the continuous topology (see Definition 4 and Example 1 below). Two digraph mappings f , g : G H are homotopic if we can construct a sequence of digraph mappings f = f 0 , f 1 , , f n = g from G to H, so that any pair of sequential mappings ( f i , f i + 1 ) satisfies one of the following properties (see ([2], §3.1)):
(i)
f i ( v ) = f i + 1 ( v ) or f i ( v ) f i + 1 ( v ) in the digraph H for arbitrary vertex v of the digraph G,
(ii)
f i ( v ) = f i + 1 ( v ) or f i + 1 ( v ) f i ( v ) in the digraph H for arbitrary vertex v of the digraph G.
Let us point out here the main new results provided in our paper. First, we introduce the category of colored digraphs and define a notion of the colored homotopy between colored morphisms. Then we describe the basic properties of the colored homotopy and colored morphisms and construct a collection of functorial path homology theories for colored digraphs. We prove the invariance of the colored-path homology groups relative to the colored homotopy. For any colored digraph we construct the spectral sequence of colored-path homology groups which gives the effective method of computations of path homology groups of arbitrary digraphs since any (di)graph can be equipped with various colorings. We also describe the transfer of the colored-path homology theory to the category of graphs and edge colored (di)graphs.
The paper is organized as follows. In Section 2, for the sake of convenience, we recall the basic definitions from the graph theory and the path homology theory for digraphs.
In Section 3, we bring the notion of colored digraphs to your attention and introduce the notion of homotopy for colored digraphs.
In Section 4, we define several path homology theories for the categories that were introduced in the previous Section. Next, we provide examples to illustrate the difference between the path homology theory of digraphs in colored and uncolored case.
In Section 5, we construct a spectral sequence for path homology groups of a colored digraph, and describe its basic properties. We also obtain a braid of exact sequences of path homology groups for 3-colored digraphs. We give detailed computations of path homology groups in such a braid of exact sequences for a digraph G that is the one-dimensional skeleton of the minimal triangulation of the closed Möbius band.
In Section 6, we describe applications of the obtained results to the case of non-directed graphs. We also explain the possibility of applying homology of vertex colored digraph to the edge colored digraphs and edge colored graphs using the line digraphs.
Finally, in Section 7, we give conclusions and make some remarks about our results, whereas is acknowledgement section.

2. The Path Homology Theory for Digraphs

In this Section, we give preliminary material about the path homology theory for a digraph following [1,2,3,4,5,6].
Definition 1.
A digraph G is a pair V G , E G of a set V = V G of vertices and a subset E G { V G × V G diagonal } of ordered pairs ( v , w ) of vertices which are called arrows. A pair ( v , w ) E G is denoted v w . For such a pair the vertex v is called an origin of the arrow and is denoted o r i g ( v w ) while the vertex w is called an end of the arrow and is denoted e n d ( v w ) .
Definition 2.
A digraph mapping f : G H (or simply a mapping) from a digraph G to a digraph H is a mapping f | V G : V G V H such that for any arrow ( v w ) E G , we have ( f ( v ) f ( w ) ) E H or f ( v ) = f ( w ) V H . We call the mapping f non-degenerate if ( f ( v ) f ( w ) ) E H for any ( v w ) E G . For a digraph G we denote by Id G : G G the identity mapping that is the identity mapping on the set of vertices and the set of edges.
It is clear that digraphs with the digraph mappings form a category which throughout this paper will be denoted by D . Please note that digraphs together with non-degenerated mappings form a subcategory N of the category D .
Definition 3.
For two digraphs G = ( V G , E G ) and H = ( V H , E H ) their Box product Π = G H = ( V Π , E Π ) is a digraph with a set of vertices V Π = V G × V H and a set of arrows E Π given in the following way. For two vertices x , x V G , and two vertices y , y V H there is an arrow ( x , y ) ( x , y ) E Π if and only if
either x = x and y y , or x x and y = y .
In Example 1 below we give a graph interpretation of the Box product.
Fix n 0 . Denote by I n = ( V I n , E I n ) a digraph for which V I n = { 0 , 1 , , n } and, for i = 0 , 1 , n 1 , there is exactly one arrow i i + 1 or i + 1 i without any other available arrows. We will refer from now on to I n as a segment digraph. Let us note here that the notion of a segment digraph coincides with the notion of a line digraph introduced in papers [1,2,3,4,5,6]. We are forced to use different terminology because the standard notion of a line digraph already exists in the graph theory and will also be used later in this paper.
Definition 4.
Two digraph mappings f 0 , f 1 : G H are called homotopic if there exists a segment digraph I n I ( n 0 ) and a digraph mapping F : G I n H called a homotopy between f 0 and f 1 , such that
F | G { 0 } = f 0 : G { 0 } H , F | G { n } = f 1 : G { n } H .
In such a case we write f 0 f 1 .
Example 1.
Now we give several digraphs to illustrate definitions introduced above.
(i) 
For the digraph G = ( V G , E G ) presented on the diagram below
a b c d e
we have V G = { a , b , c , d , e } , whereas E G = { a b , a d , e d , e b , b e , e c , c b } .
(ii) 
Let G be a digraph given in (1) and H = ( V H , E H ) be a digraph provided below
3 4 1 2
Let f : V G V H be the mapping given by f ( a ) = 2 , f ( d ) = 1 , f ( b ) = 3 , f ( e ) = 2 , f ( c ) = 3 . Then the mapping f is the digraph mapping but it is not a non-degenerate digraph mapping since f ( c b ) is not an arrow. Let g : V G V H be the mapping given by f ( a ) = 2 , f ( d ) = 1 , f ( b ) = 3 , f ( e ) = 2 , f ( c ) = 4 . Then the mapping g is the non-degenerate digraph mapping.
(iii) 
The explanation of the Box product is given in the diagram below:
y x , y x , y y x , y x , y H G x x
where G = ( x x ) and H = ( y y ) .
(iv) 
Let G = ( V G , V H ) be the digraph presented on the diagram
c d a b
and H = I 1 be the line digraph 0 1 . Let f : G H be the mapping given on the set of vertices f ( a ) = f ( c ) = 0 , f ( d ) = f ( b ) = 1 and g : G H be the mapping given on the set of vertices g ( a ) = g ( b ) = 0 , g ( c ) = g ( d ) = 1 . Let I be the segment digraph 0 1 2 . Now we define the homotopy F : G I H between f and g as follows:
F ( a , 0 ) = F ( c , 0 ) = 0 , F ( b , 0 ) = F ( d , 0 ) = 1 , F ( a , 1 ) = F ( c , 1 ) = F ( b , 1 ) = F ( d , 1 ) = 1 , F ( a , 2 ) = F ( b , 2 ) = 0 , F ( c , 2 ) = F ( d , 2 ) = 1 ,
In the Figure 1 given below we point out the images of the vertices of the digraph G I under the homotopy mapping F.
The relation ≃ is an equivalence relation on the set of digraph mappings from G to H. Two digraphs G and H are homotopy equivalent if there exist digraph mappings f : G H and g : H G such that f g Id H and g f Id G , where Id H and Id G are the identity mappings of H and G respectively. In this case, we write H G and call the mappings f and g homotopy inverses to each other.
Thus, the category D with the same objects as in D and with the morphisms given by classes of homotopy equivalent digraphs mappings is defined.
A homotopy F is non-degenerate if it is non-degenerate as a digraph mapping. We define a category N with the same objects as in N and with the morphisms that are given by classes of homotopies by means of the non-degenerate homotopy of non-degenerate mappings.
Now we define the path homology groups of a digraph G = ( V , E ) . For p 0 , we define an elementary p-path on a set V as a sequence i 0 , i p of p + 1 of vertices (not necessarily different) and denote this path e i 0 i p . Let R be a commutative ring with a unity 1 R and let Λ p = Λ p ( V , R ) be a free R-module generated by all elementary p-paths e i 0 i p . The elements of Λ p are called p-paths. Set Λ 1 = 0 and for p 1 , define the boundary operator : Λ p + 1 Λ p on basic elements by
e i 0 i p + 1 = q = 0 p + 1 1 q e i 0 i q ^ i p + 1 ,
where i q ^ means omitting the corresponding index. We assume that : Λ 0 Λ 1 = 0 is trivial. It is easy to check that for any elementary p-path v, we have 2 v = 0 , hence the homomorphism 2 : Λ n Λ n 2 is trivial for n 1 . Let p 1 . An elementary p-path e i 0 i p is called regular if i k i k + 1 for 0 k p 1 . Any 0-path is regular. For p 0 , we denote by I p a submodule of Λ p that is generated by all irregular elementary paths. In particular, I 0 = 0 and we set I 1 = 0 . It is easy to check that ( I p + 1 ) I p for p 1 . Thus, we obtain a chain complex
0 R 1 R 2 R 3
where R p = R p ( V , R ) = Λ p / I p and the differential is induced by .
We note here that thus obtained path complex is defined for arbitrary discrete set V but basic elements e i 0 i p R p ( i k V ) depend on the order of the vertices i 1 , , i p in the recording e i 0 i p . For example, for V = { i , j , k } the elements e i j k and e j i k are different. The differential is well defined for basic elements and, for example ( e i j k ) = e j k e i k + e i j .
Now we consider a digraph G = ( V , E ) . Let e i 0 i p be a regular elementary p-path on the set of vertices V. For p 1 , it is called allowed if ( i k 1 i k ) E for any k = 1 , , p , and non-allowed otherwise. For p = 0 any elementary path is regular. For p 0 , denote by A p = A p ( G , R ) a submodule of R p ( V , R ) that is generated by the allowed elementary p-paths and set A 1 = 0 . The elements of the modules A p are called allowed p-paths.
Now we define the path homologies of a digraph G = ( V , E ) . Consider the following submodule of A p , namely
Ω p = Ω p ( G , R ) = v A p : v A p 1 .
The elements of Ω p are called -invariant p-paths. Examine now the chain complex
0 Ω 0 Ω 1 Ω p 1 Ω p
Its homologies are called path homologies of the digraph G with the coefficients in the ring R and are denoted by
H p G , R : = ker | Ω p Im | Ω p + 1 .
Every elementary allowed path e i 0 i p Ω p ( G ) of the chain complex (6) has a naturally ordered structure on the set of vertices i 1 , , i p that is defined by arrows of the digraph. By definition, each pair i k , i k + 1 V G of neighboring vertices in e i 0 i p must give an arrow ( i k i k + 1 ) E G . The differential in the chain complex Ω * is well defined and preserves this ordering.
The path homology groups give a collection of (di)graphs invariants and provide deep connections of the graph theory to discrete geometry, algebraic topology, and mathematical physics (see, for example [1,6,14,15,16,17]). For the sake of convenience, we formulate the basic result of the categorical properties of path homology groups which will be used throughout this paper.
Theorem 1
([1]). The homology groups defined above are homotopy invariant and functorial for digraph mappings.

3. Categories of Colored Digraphs

In the first part of this section we recall the basic definitions concerning digraph coloring (see [7,8,9,10,11]). Then we describe several categories of colored digraphs that fit the path homology theory defined in Section 2.
Definition 5.
A coloring of a digraph G = ( V G , E G ) is given by an assignment of a color to each vertex v V G . A coloring that uses k colors is called k-coloring.
Recall that two vertices v , w V G are called neighbors if there exists at least one arrow v w or w v in G. The open neighborhood of a vertex v V G is a subgraph N ( v ) = ( V N , E N ) of G, for which V N consists of all vertices which are neighbors of v while E N is constituted by the edges connecting vertices from V N . A coloring of a digraph G is called proper if any vertex of the neighborhood N ( v ) is colored differently from the vertex v for all v V G . A coloring of a digraph G is called k-improper if the open neighborhood of any vertex v contains at most k-vertices with the same color as v. As usual, we can consider a coloring as a function φ : V G N . In the case of k-coloring, we assume that φ : V G { 1 , 2 , , k } . We shall write ( G , φ ) for a digraph G with a coloring function φ .
Definition 6.
Let ( G , φ ) and ( H , ψ ) be two colored digraphs. A digraph mapping f : G H is a morphism of colored digraphs if ψ ( f ( v ) ) = φ ( v ) for any vertex v V G .
It is clear that colored digraphs with the morphisms defined above form a category which from now on will be denoted by C . This category has the naturally defined subcategory C 0 , objects of which are given by proper colored digraphs and morphisms are given by non-degenerate mappings that satisfy Definition 6. Moreover, if we let C k ( k 1 ) be the subcategory of C with the objects that are given by k-improper colored digraphs and with morphisms that are given by digraph mappings that satisfy Definition 6, then we obtain a filtration
C 0 C 1 C
of the category C. In what follows, we will consider a proper coloring as the k-improper coloring with k = 0 .
For a colored digraph ( G , φ ) , we can consider only the digraph G that now is recognized as one without any coloring. Any morphism of colored digraphs f : ( G , φ ) ( H , ψ ) is, in particular, a digraph mapping f : G H . Thus, we obtain a forgetful functor from the category of colored digraphs to the category of digraphs.
For any colored digraph ( G , φ ) and a segment digraph I n , we define a coloring Φ on the digraph G I n by
Φ ( v , i ) = φ ( v ) , v V G , i V I n .
For a k-improper colored digraph ( G , φ ) , the coloring Φ gives a ( k + 1 ) -improper coloring of the digraph G I n . We shall say that two morphisms f 0 , f 1 : ( G , φ ) ( H , ψ ) of colored digraphs are colored homotopic if there exists a homotopy F : G I n H in Definition 4 such that
ψ ( F ( v , i ) ) = Φ ( v , i ) = φ ( v ) .
We will denote this relation exactly as before, namely ≃, since the category under investigation will be clear from the given context.
Proposition 1.
The relation “to be colored homotopic” is an equivalence relation on the set of colored morphisms f : ( G , φ ) ( H , ψ ) and provides a relation ≃ of colored homotopy equivalence of colored digraphs.
Proof. 
Consider the set of colored morphisms f : ( G , φ ) ( H , ψ ) . Since I 0 is the one-vertex digraph we obtain G I 0 = G and the colored morphism F = f : G I 0 = G H gives f f . The proof of the remaining properties follows from corresponding results for digraph mappings.
Thus, we obtain the colored homotopy category C in which the objects are colored digraphs and morphisms are classes of colored homotopic morphisms.
Proposition 2. 
(i) Any morphism f : ( G , φ ) ( H , ψ ) of proper colored digraphs is non-degenerate. (ii) Two morphisms f 0 , f 1 : ( G , φ ) ( H , ψ ) of proper colored digraphs are colored homotopic if and only if f 0 = f 1 .
Proof. 
The statement (i) is known and results directly from Definitions 2 and 6. To prove (ii), we must check only that the colored homotopic mappings f 0 f 1 coincide. Consider the case I n = I 1 = ( 0 1 ) and let F : ( G I 1 , Φ ) ( H , ψ ) be a colored homotopy. For any vertex v V G , due to the definition we have an arrow [ ( v , 0 ) ( v , 1 ) ] E G I 1 and Φ ( v , 0 ) = Φ ( v , 1 ) . If F ( v , 0 ) F ( v , 1 ) , then we are provided with an arrow F ( v , 0 ) F ( v , 1 ) in E H . This is impossible in a proper colored digraph H since, by (9), ψ ( Φ ( v , 0 ) ) = φ ( v ) = ψ ( Φ ( v , 1 ) ) . Thus, f 0 ( v ) = F ( v , 0 ) = F ( v , 1 ) = f 1 ( v ) for any vertex v G . Performing induction by n and using the same line of arguments finishes the proof. □
Now we give several examples that explain that the introduced notions are non-degenerate.
Example 2. 
(i) 
Let G be the 1-improper colored digraph presented on (10).
a b c
Let f 0 : G G be the identity mapping and f 1 : G G be the mapping defined on the set of vertices in the following way f ( a ) = a , f ( b ) = f ( c ) = b . Observe that thus defined, f 0 and f 1 are colored morphisms. Define the colored homotopy F : G I 1 G on the set of vertices by
f ( a , 0 ) = f ( a , 1 ) = a , f ( c , 0 ) = c , f ( b , 0 ) = b , f ( c , 1 ) = f ( b , 1 ) = b .
Then it follows that f 0 is colored homotopic to f 1 .
(ii) 
Let G be the proper colored digraph presented on (11):
a d a c
By Proposition 2, any two different colored morphisms f 0 , f 1 : G G are not colored homotopic. By ([2], Ex. 3.12) digraph G is contractible and, hence, any two digraph mappings to G are homotopic. It is a relatively easy exercise to construct directly a homotopy between the identity mapping f 0 and the mapping f 1 that is given on the set of vertices by
f 1 ( a ) = a , f 1 ( b ) = f 1 ( c ) = c , f 1 ( d ) = d .
(iii) 
Using the same line of arguments as in the case (ii) and the results from [2] (Section 3) it is possible to construct a lot of similar examples.

4. Path Homology of Colored Digraphs

Now we turn our attention to defining several path homology theories for colored digraphs and describe relations between them. We will provide examples that illustrate the difference between the path homology theory of digraphs in cases of colored and uncolored ones.
Let G = ( V , E ) be a colored digraph with a given coloring φ : V N . Fix a natural number k 1 .
Definition 7.
An elementary path e i 0 i p ( p 0 ) on the set V of vertices is calledk-colored if vertices of this path are colored with k-colors.
Example 3.
Consider the colored digraph in Figure 2. The path e 013 is 2-colored while the path e 046 is 3-colored. Please note that any regular elementary p-paths are k-colored where k p + 1 .
For p 0 , let A p k = A p k ( G , R ) = A p k ( G , φ ) be a free R-module generated by all allowed regular elementary p-paths, which are colored by s colors, 1 s k . Let A 1 k = 0 . We have the following natural inclusions of the modules
A p k = A p k ( G , R ) A p ( G , R ) R p ( V , R ) .
Now we define k-colored-path homologies of the colored digraph ( G , φ ) . Let
Ω p k = Ω p k ( G , R ) = v A p k : v A p 1 k .
be a submodule of A p k . The elements of Ω p k are called -invariant k-colored paths. Similarly, to the case of path homology, we obtain that ( Ω p k ) Ω p 1 k . As a result, we have the following chain complex
0 Ω 0 k Ω 1 k Ω p 1 k Ω p k
with the differential that is induced from the differential in R * . Homology groups of the chain complex (14) are called k-colored path homology groups of a digraph ( G , φ ) and are denoted by H p k G , R .
Proposition 3.
For any colored digraph ( G , φ ) , we have a filtration
Ω * 1 ( G , R ) Ω * 2 ( G , R ) Ω * ( G , R ) .
Moreover, for a k-colored digraph ( G , φ ) this filtration is finite and Ω * k ( G , R ) = Ω * ( G , R ) .
Proof. 
We have natural inclusions A p k ( G , R ) A p k + 1 ( G , R ) A p ( G , R ) and the result arises from (13). □
Example 4.
Consider the proper colored digraph cube in Figure 2 with the set of vertices V G = { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 } . To simplify computations, we assume that R = R . It arises from [2] that H 0 ( G ) = R and H n ( G ) = 0 for n 1 .
The module Ω 0 1 ( G ) is generated by elements e n , where n V G and, hence rang Ω 0 1 ( G ) = 8 . The modules Ω k 1 ( G ) are trivial since G is proper colored. It follows that
H n 1 ( G ) = R 8 for n = 0 , 0 for n 1 .
The module Ω 0 2 ( G ) is isomorphic to Ω 0 1 ( G ) and the module Ω 1 2 ( G ) is generated by all arrows. The module Ω 2 2 ( G ) is generated by the elements
{ e 013 e 023 , e 015 e 045 , e 237 e 267 , e 457 e 467 } .
The module A 3 2 ( G ) is generated by the elements { e 0237 , e 0457 } and Ω 3 2 ( G ) = 0 , since e 0237 A 2 2 , e 0457 A 2 2 . The modules Ω n 2 ( G ) are trivial for n 3 because there are no paths of the length greater than 3 in G. For more clarity, let us write all the considerations above in the more approachable form, namely
rang ( Ω n 2 ( G ) ) = 8 for n = 0 , 12 for n = 1 , 4 for n = 2 , 0 for n 3 .
Calculating directly, we provide the following result
H n 2 ( G ) = R for n = 0 , R for n = 1 , 0 for n 2 .
Recall that by ([2], 2.5, and Th. 2.10), any digraph mapping f : G H defines a morphism of chain complexes
f * : Ω * ( G ) Ω * ( H )
which on the basic elements of the module A p ( G , R ) is given by
f * ( e i 0 i p ) = e f ( i 0 ) f ( i p ) , if e f ( i 0 ) f ( i p ) is regular , 0 , otherwise .
Theorem 2.
Let f : ( G , φ ) ( H , ψ ) be a morphism of colored digraphs. For k 1 , the morphism f * in (16) provides a morphism of chain complexes
Ω * k ( G , R ) Ω * k ( H , R )
and, hence, an induced homomorphism of k-colored homology groups
f * : H * k ( G , R ) H * k ( H , R ) .
Proof. 
It arises from ([2], Th.2.10) and the definition of A p k ( G , R ) = A p Λ p k that f * A p k ( G , R ) A p k ( H , R ) . We only must prove that f * Ω p k ( G , R ) Ω p k ( H , R ) . For any v Ω p k ( G , R ) , by (13) we have v A p k ( G ) and v A p 1 k ( G ) . Hence f * ( v ) A p k ( H , R ) and ( f * ( v ) ) = f * ( v ) A p 1 k ( H , R ) , which implies f * ( v ) Ω p k ( H , R ) . □
Now we prove the colored homotopy invariance of colored homology groups of digraphs.
Theorem 3.
Let f 0 f 1 : ( G , φ ) ( H , ψ ) be two colored homotopic digraph morphisms. Then f 0 and f 1 induce the identical homomorphisms
f i * : H p k ( G , R ) H p k ( H , R ) ( i = 0 , 1 )
of colored homology groups for k 1 .
Proof. 
It is sufficient to prove the statement for a homotopy in the case I n = I 1 = ( 0 1 ) . The general case follows by induction.
By Theorem 2, the colored morphisms f i ( i = 0 , 1 ) and F induce morphisms of chain complexes
f i * : Ω * k ( G , R ) Ω * k ( H , R ) and F * : Ω * k ( G I 1 , R ) Ω * k ( H , R ) .
Please note that we can identify colored digraphs G { 0 } and G { 1 } with the colored digraph G in a natural way. We will denote vertices ( i , 0 ) V G { 0 } by i and vertices ( i , 1 ) V G { 1 } by i . Similar notations will be used for arrows and paths. By the definition of the colored homotopy, for any colored path v Ω * k ( G { 0 } ) , we have F * ( v ) = f 0 * ( v ) , while for any colored path v Ω * ( G { 1 } , we have F * ( v ) = f 1 * ( v ) . For p 0 , define R-linear mappings
L p : Ω p k ( G , R ) Ω p + 1 k ( H , R )
on elementary paths in the following way
L p ( e i 0 i p ) = F * k = 0 p 1 k e i 0 i k i k i p .
By ([2], Pr. 2.12 and §3.2) L p are well defined colored mappings and the condition
L p ( v ) + L p 1 ( v ) = f 1 * ( v ) f 0 * ( v ) , v Ω p k ( G , R ) .
is satisfied. Thus, we have a chain homotopy between the morphisms f i * and the statement of the Theorem follows from ([13], Theorem 2.1). □
Corollary 1.
If the colored digraphs ( G , φ ) and ( H , ψ ) are colored homotopy equivalent, then the colored homology groups H * k ( G , R ) and H * k ( H , R ) are isomorphic for k 1 and mutually inverse isomorphisms of these groups are induced by the homotopy inverse colored morphisms.
Corollary 2.
For k 0 , the colored homology groups H * k ( · , R ) provide a functor from the colored homotopy category C to the category R-modules and homomorphisms.

5. Spectral Sequence for Path Homology Groups of a Colored Digraph

In this section, we construct a spectral sequence for path homology groups of any colored digraph. Our construction is based on the concept of an exact couple of a filtered chain complex from ([18], Chapter 7).
Let ( G , φ ) be a vertex colored digraph. By Proposition 3 we have a filtration (15) of the chain complex Ω * ( G , R ) . Let K * = Ω * ( G , R ) . We define a filtration of K * by subcomplexes K * p for p Z in the following way
K * p = 0 for p < 0 , Ω * p + 1 ( G , R ) for p 0 .
Thus, we have an infinite filtration
K * p 1 K * p K * p + 1 K *
Theorem 4.
The filtration (22) has the following properties.
1. 
K * p = 0 for p < 0 .
2. 
There is a short exact sequence of chain complexes
0 K * p 1 K * p K * p K * p 1 0
with H p + q ( K * p K * p 1 ) = 0 for q < 0 .
3. 
p 0 K * p = K * .
Proof. 
The first statement follows from the definition (21). The elements of the module K * p K * p 1 are given by linear combinations of allowed paths which are colored exactly by p + 1 colors. Any elementary allowed path e i 0 i s can be colored at most by s + 1 colors. Hence, for s + 1 < p + 1 (that is for s < p ) the module K s p K s p 1 is trivial. Now we have H s ( K * p K * p 1 ) = H s ( 0 ) = 0 for s < p and the second statement follows. Any path has a finite number of vertices and is colored by a finite number of colors, thus the third statement is proved. □
Corollary 3.
The exact sequence (23) induces a homology long exact sequence
H n ( K * p 1 ) i H n ( K * p ) j H n ( K * p K * p 1 ) H n 1 ( K * p 1 )
Now we describe the spectral sequence of the filtration (22) following [18] (Chapter 7). Let
D p , q = H p + q ( K * p ) , E p , q = H p + q K * p K * p 1 ,
and D * = { D p , q } , E * = { E p , q } be corresponding bigraded R-modules. Consider the homomorphisms of homology groups that follow from exact sequences of the Corollary 3 for various p and n = p + q :
i p , q : D p , q = H p + q ( K * p ) H p + q ( K * p + 1 ) = D p + 1 , q 1 , j p , q : D p , q = H p + q ( K * p ) H p + q K * p K * p 1 = E p , q , k p , q = p , q : E p + q = H p + q K * p K * p 1 H p + q 1 ( K * p 1 ) = D p 1 , q .
The homomorphisms in (25) define bigraded homomorphisms
i * : D * D * , j * : D * E * , k * : E * D * .
of bidegree ( + 1 , 1 ) , ( 0 , 0 ) , and ( 1 , 0 ) respectively.
Proposition 4.
The bigraded modules D * , E * and the homomorphisms i * , j * , k * fit into the commutative diagram
D * i * D * k * j * E *
which is exact in each vertex. Thus, we have an exact couple of modules in the sense of [18].
Proof. 
The proof in the general case of a chain complex with filtration is given in ([18], Chapter 7). □
Corollary 4.
The exact couple in (27) defines a spectral sequence with the first differential d 1 = { d p , q } where d p , q : E p , q 1 E p 1 , q 1 is given by
j p 1 , q k p , q : E p , q 1 = H p + q K * p K * p 1 H p + q 1 K * p 1 K * p 2 = E p 1 , q 1
of bidegree ( 1 , 0 ) . The group E p , q r is isomorphic to the quotient group
Im H p + q K * p K * p r H p + q K * p K * p 1 Im : H p + q + 1 K * p + r 1 K * p H p + q K * p K * p 1 .
The differential d r + 1 coincides with the composition j * ( i * ) r k * .
Proof. 
The proof for the general case of an exact couple for a chain complex with filtration is given in ([18], Chapter 7). □
We shall call this spectral sequence a vertex colored spectral sequence of path homology groups of a colored digraph ( G , φ ) . The general properties of the spectral sequence are described in [18]. We recall now the basic definitions and properties in our case.
We put F p , q = Im H p + q ( K * p ) H p + q ( K * ) . We have a natural inclusion F p 1 , q + 1 F p , q , and hence, we can define a module
E p , q : = F p , q F p 1 , q + 1 .
Theorem 5.
The vertex colored spectral sequence of a colored digraph ( G , φ ) converges, that is
( i ) E p , q r = E p , q r + 1 for r > max p , q + 1 ,
and
( i i ) E p , q r E p , q for r > max p , q + 1 .
Proof. 
The proof follows from Theorem 4 and [18] (Chapter 7: Proposition 5, Theorem 1). □
Theorem 6.
Let ( G , φ ) be a 3-colored digraph. Then the filtration in (22) gives a finite filtration
0 K * 0 K * 1 K * 2 = K * = Ω * ( G , R ) .
Moreover, the vertex colored spectral sequence gives a commutative braid of the exact sequence
H n + 1 K * H n + 1 ( K * K * 1 ) H n ( K * 1 K * 0 ) H n + 1 K * K * 0 H n ( K * 1 ) H n + 1 K * 1 K * 0 H n ( K * 0 ) H n ( K * )
which consists of the following exact sequences
H n + 1 ( K * ) H n + 1 ( K * K * 0 ) H n ( K * 0 ) H n ( K * ) H n + 1 ( K * ) H n + 1 ( K * K * 1 ) H n ( K * 1 ) H n ( K * ) H n + 1 ( K * 1 K * 0 ) H n ( K * 0 ) H n ( K * 1 ) H n ( K * 1 K * 0 )
H n + 1 ( K * 1 K * 0 ) H n + 1 ( K * K * 0 ) H n + 1 ( K * K * 1 ) H n ( K * 1 K * 0 )
where H n ( K * 0 ) = H n 1 ( G , R ) , H n ( K * 1 ) = H n 2 ( G , R ) and H n ( K * ) = H n ( G , R ) .
Proof. 
The inclusions of chain complexes in (29) follow directly from (22). By ([19], Chapter 4), these inclusions induce a short exact sequence
0 K * 1 K * 0 K * K * 0 K * K * 1 0 .
and, hence, the commutative diagram of chain complexes
0 0 0 0 K * 0 K * 1 K * 1 K * 0 0 0 K * 0 K * K * K * 0 0 0 K * K * 1 K * K * 1 0 0 0
in which the rows and columns are short exact sequences. The homology long exact sequences of the short exact sequences from (30) give the commutative braid of exact sequences. □
Example 5.
Consider a 1-improper 3-colored digraph ( G , φ ) in Figure 3 where the left-side arrow 0 1 and the right-side arrow 0 1 is identified in the natural way. Please note that the underlying non-directed graph of the digraph G is the one-dimensional skeleton of the minimal triangulation of the closed Möbius band.
Now we compute all homology groups in the braid of exact sequence from Theorem 6. We assume that R = R similarly to Example 4. In what follows we shall denote by a 1 , , a n the R-module generated by elements a 1 , , a n .
Recall that in the modules of the chain complex K * 0 , we can use only one-colored basic elements. Hence K * 0 has two non-trivial modules K 0 0 = e 0 , , e 4 and K 1 0 = e 14 , e 23 . The differential : K 1 0 K 0 0 is a monomorphism and, hence
H n K * 0 = R 3 for n = 0 , 0 for n 1 .
Now we describe the chain complex K * 1 . In the modules of this chain complex we can use one-colored and two-colored basic elements. We have K 0 1 = e 0 , , e 4 . The module K 1 1 is generated by all arrows of the digraph G that is
K 1 1 = e 01 , e 02 , e 03 , e 04 , e 12 , e 13 , e 14 , e 23 , e 24 , e 34 .
We can check directly that the module K 2 1 is generated by the elementary paths of length two that are colored in two colors
K 2 1 = e 014 , e 023 , e 123 , e 124 , e 134 , e 234
and, similarly, we obtain that K 3 1 = e 1234 . It is clear that K n 1 = 0 for n 4 . We sum up the above in the following way
rang K n 1 = 5 for n = 0 , 10 for n = 1 , 6 for n = 2 , 1 for n = 3 , 0 for n 4 .
We have rang Image { : K 1 1 K 1 0 } = 4 since G is a connected digraph (see [2]). The differential : K 3 1 K 2 1 is a monomorphism. Consider the differential : K 2 1 K 1 1 . It is easy to see that elements e 014 and e 023 are independent and they are independent of the image of the restriction of ∂ to a submodule M of K 2 1 generated by e 123 , e 124 , e 134 , e 234 . Now we directly check that
Ker { | M : M K 1 1 } = Im { : K 3 1 K 2 1 } = e 234 e 134 + e 124 e 123 .
Thus,
Ker { : K 2 1 K 1 1 } = Im { : K 3 1 K 2 1 } .
Hence,
H n K * 1 = R for n = 0 , R for n = 1 , 0 for n 2 .
Now we compute the homology groups of the chain complex
K * 1 / 0 : = K * 1 K * 0 .
It follows from the calculations above that K 0 1 / 0 = 0 ,
K 1 1 / 0 = e 01 , e 02 , e 03 , e 04 , e 12 , e 13 , e 24 , e 34 ,
K 2 1 / 0 = e 014 , e 023 , e 123 , e 124 , e 134 , e 234 ,
and K 3 1 / 0 = e 1234 . Considering the information given above, now we obtain that
rang K n 1 / 0 = 0 for n = 0 , 8 for n = 1 , 6 for n = 2 , 1 for n = 3 , 0 for n 4 .
and
H n K * 1 / 0 = 0 for n = 0 , R 3 for n = 1 , 0 for n 2 .
Now we compute the homology groups of the chain complexes
K * 2 / 1 : = K * 2 K * 1 and K * 2 / 0 : = K * 2 K * 0 .
First, we describe modules of the chain complex K * 2 = Ω * . As with the notions above, we have
K 0 2 = K 0 1 = K 0 0 = e 0 , , e 4 ,
K 1 2 = K 1 1 = e 01 , e 02 , e 03 , e 04 , e 12 , e 13 , e 14 , e 23 , e 24 , e 34 ,
K 2 2 = e 014 , e 023 , e 123 , e 124 , e 134 , e 234 , e 012 , e 013 , e 024 , e 034
K 2 1 = e 014 , e 023 , e 123 , e 124 , e 134 , e 234 ,
K 3 2 = e 0123 , e 0124 , e 0134 , e 0234 , e 1234 K 3 1 = e 1234 ,
K 4 2 = e 01234 ,
and K n 2 = 0 for n 5 . Using these results, we get the following
K n 2 / 1 = 0 for n = 0 , 1 , e 012 , e 013 , e 024 , e 034 for n = 2 , e 0123 , e 0124 , e 0134 , e 0234 for n = 3 , e 01234 for n = 4 , 0 for n 5 .
Please note that in the reduced bases in (34), we have
( e 0123 ) = e 013 e 012 , ( e 0124 ) = e 024 e 012 , ( e 0134 ) = e 034 e 013 , ( e 0234 ) = e 034 + e 024 , ( e 01234 ) = e 0234 + e 0134 e 0124 + e 0123 .
It follows directly from (35) that
rang Image : K 3 2 / 1 K 2 2 / 1 = 3 ,
whereas
rang Image : K 4 2 / 1 K 3 2 / 1 = 1
and, hence,
H n K * 2 / 1 = 0 for n 2 , R for n = 2 .
Now we turn our attention to the homology groups of the chain complex
K * 2 / 0 : = K * 2 K * 0 .
Having in mind modules of the chain complexes K * 2 and K * 0 , by calculating directly, we obtain the following
K n 2 / 0 = 0 for n = 0 , e 01 , e 02 , e 03 , e 04 , e 12 , e 13 , e 24 , e 34 for n = 1 , e 012 , e 013 , e 034 , e 014 , e 023 , e 024 , e 134 , e 123 , e 124 , e 234 for n = 2 , e 0123 , e 0124 , e 0134 , e 1234 , e 0234 for n = 3 , e 01234 for n = 4 , 0 for n 5 .
Computing directly in the similar fashion, now we provide
rang Image : K 2 2 / 0 K 1 2 / 0 = 6
and
rang Image : K 3 2 / 0 K 2 2 / 0 = 4 ,
whereas in an obvious way
rang Image : K 1 2 / 0 K 0 2 / 0 = 0 ,
rang Image : K 3 2 / 0 K 2 2 / 0 = 1 .
Keeping that in mind, we obtain the following results
H n K * 2 / 0 = 0 for n = 0 , R 2 for n = 1 , 0 for n 2 .
Let
K * = K * 2 , K * 1 / 0 = K * 1 K * 0 , K * 2 / 0 = K * 2 K * 0 , K * 2 / 1 = K * 2 K * 1 .
Now we can write down the braid of exact sequences for the filtration in (29) and using the diagram chasing, we compute the groups H * ( K * ) and homomorphisms in this diagram. We obtain the following commutative braid of exact sequences:
0 0 0 | | | | | | 0 H 3 K * 2 H 3 ( K * 2 / 1 ) H 2 ( K * 1 / 0 ) 0 H 3 ( K * 2 / 0 ) = 0 H 2 ( K * 1 ) = 0 0 H 3 ( K * 1 / 0 ) H 2 ( K * 0 ) H 2 ( K * 2 ) | | | | | | 0 0 0
0 0 | | | | H 1 ( K * 0 ) H 1 ( K * 2 ) H 2 ( K * 2 / 0 ) = 0 H 1 ( K * 1 ) = R H 1 ( K * 2 / 0 ) = R 2 m o n o e p i H 2 ( K * 2 / 1 ) m o n o H 1 ( K * 1 / 0 ) | | | | R R 3
0 0 | | | | H 1 ( K * 2 / 1 ) H 0 ( K * 1 / 0 ) H 0 ( K * 1 ) = R H 0 ( K * 2 / 0 ) = 0 e p i H 0 ( K * 0 ) e p i H 0 ( K * 2 ) | | | | R 3 R
in which we wrote in a bold font all the groups that were provided by diagram chasing.
Proposition 5.
The spectral sequence constructed in Theorem 6 is functorial, which means that any morphism of colored digraphs induces a morphism of corresponding spectral sequences.

6. Path Homology of Colored Graphs

In this section, we apply the results obtained so far to the category of non-directed colored graphs. To do this, we need to use the isomorphism between the category of graphs and the full subcategory of symmetric digraphs. To avoid further misunderstandings in this section, we denote undirected graph and graph mapping with a bold font and continue to use the same notations for digraphs as before.
Definition 8. 
(i) 
A graph G is given by a set V G of vertices and a subset E G V G × V G of non-ordered pairs of vertices ( v , w ) with v w that are called edges.
(ii) 
A mapping f : G H is a mapping f : V G V H such that for any edge ( v , w ) E G we have either f ( v ) = f ( w ) or ( f ( v ) , f ( w ) ) E H .
The set of all graphs with graph mappings forms a category G . We can associate each graph G = ( V G , E G ) with a symmetric digraph G = O ( G ) = ( V G , E G ) where V G = V G and E G is defined by the condition { v w } { ( v , w ) E G } . Thus, we obtain a functor O that provides an isomorphism of the category G and the full subcategory of symmetric digraphs of the category D .
Definition 9. 
(i) 
A coloring of a graph G = ( V G , E G ) is given by an assignment of a color to each vertex v V G . A coloring that uses k colors is called k-coloring. We denote by ( G , φ ) a graph G with a coloring function φ : V G N .
(ii) 
Let ( G , φ ) and ( H , ψ ) be two colored graphs. A digraph mapping f : G H is a morphism of colored graphs if ψ ( f ( v ) ) = φ ( v ) for any vertex v V G .
The colored graphs with the defined above morphisms form a category which we denote CG . For any colored graph ( G , φ ) , we define a colored digraph O ( G , φ ) = ( G , φ ) by setting G = O ( G ) and attaching the same coloring map φ on the set of vertices V G = V G . Now we have the following result.
Proposition 6.
Any morphism of colored graphs f : ( G , φ ) ( H , ψ ) provides a morphism of colored digraphs ( O ) ( f ) = f : ( G . φ ) ( H , ψ ) defined on the set of vertices by the morphism f and we have the functor O : CG C .
The Box product G H of two graphs G = ( V G , E G ) and H = ( V H E H ) is defined similarly to the Box product of digraphs. We put V G H = V G × V H and [ ( x , y ) , ( x , y ) ] E G H if and only if
either x = x and y y , or x x and y = y
where x , x V G , y , y V H . Please note that the functor O preserves Box products (see [2], Lemma 6.3), that is O ( G H ) = G H .
We introduce now the notion of segment graph which is equivalent to the notion of the line graph in [2] since we shall use the classical notion of a line graph below. A segment graph J n = ( V , E ) of the length n 0 is defined as follows: V = { 0 , 1 , , n } and E = { ( k , k + 1 ) | 0 k n 1 } .
Definition 10
([2,20]). (i) Two graph mappings f 0 , f n : G H are called homotopic if there exists a segment graph J n and a graph mapping F : G J n H such that
F | G { 0 } = f 0 and F | G { n } = f n .
In this case, we shall write f g . Now the homotopy equivalence of graphs is defined in a natural way.
Remark 1.
The relation ”≃" is an equivalence relation on the set of graph mappings and it induces the notion of homotopy equivalence on the set of graphs. The functor O preserves the relation of homotopy equivalence (see [2]), that is two graph mappings f , g : G H are homotopic if and only if the digraph mappings f = O ( f ) and g = O ( g ) are homotopic.
We define the k-colored homology groups H * k ( G , R ) of a colored graph ( G , φ ) in the following way
H * k ( G , R ) : = H * k ( O ( G ) , R ) .
Example 6.
Consider the 3-proper colored graph G in Figure 4 which has 7 vertices and 9 edges. We now compute now the homology groups H 1 2 ( G , R ) and H 1 3 ( G , R ) for R = R .
Using the notations of Section 4 and Section 5, we have
Ω 0 3 = Ω 0 2 = e 0 , e 1 , , e 6 ,
Ω 1 3 = Ω 1 2 = e 02 , e 20 , e 04 , e 40 , e 06 , e 60 , e 12 , e 21 ,
e 16 , e 61 , e 23 , e 32 , e 34 , e 43 , e 45 , e 54 , e 56 , e 65 ,
Ω 2 2 = e 020 , e 202 , e 204 e 234 , e 206 e 216 , e 040 , e 404 , e 402 e 432 ,
e 406 e 456 , e 060 , e 606 , e 602 e 612 , e 604 e 654 , e 121 , e 212 ,
e 161 , e 616 , e 232 , e 323 , e 343 , e 434 , e 454 , , e 545 , e 565 , e 656 ,
and
Ω 2 3 = Ω 2 2 e 021 e 061 , e 023 e 043 , e 045 e 065 , e 120 e 160 , e 320 e 340 , e 540 e 560 .
We compute ranks of the kernels and the images of the differential directly. These calculations lead us to homology groups H 1 2 ( G , R ) = R and H 1 3 ( G , R ) = 0 .
Equation (39), Remark 1, and the results of Section 5 together give the following result.
Theorem 7.
For any n N , the k-colored homology groups H n k ( · , R ) provide the homotopy invariant functors from the category CG to the category of R-modules. Moreover, all algebraic results of Section 5 can be transferred to the category of colored graphs.
Now we describe an application of the above developed methods for constructing a path homology theory for edge colored (di)graphs. At first, we recall several standard definitions.
Definition 11.
An edge coloring of a digraph G = ( V G , E G ) is given by an assignment of a color to each edge ( v w ) E G . We can identify the colors with natural numbers and denote this digraph by ( G , φ ) where φ : E G N is the coloring.
A morphism f : ( G , φ ) ( H , ψ ) of edge colored digraphs is a non-degenerate digraph mapping f : G H such that ψ f ( e ) = φ ( e ) for all e E G .
Thus, we obtain a category CE in which objects are edge colored digraphs and morphisms are given by non-degenerate digraph mappings that commute with colorings.
Definition 12.
The line digraph of a digraph G = ( V G , E G ) is the digraph L ( G ) = G * = ( V * , G * ) obtained from G by associating with each edge e = ( v w ) E G a vertex e * G * , and there is a directed edge e 1 * e 2 * for e 1 = ( v 1 w 1 ) , e 2 = ( v 2 w 2 ) E G if and only if w 1 = v 2 .
An edge coloring φ of a digraph G induces a vertex coloring L φ = φ * of the digraph G * = ( V * , G * ) by the rule φ * ( e * ) = φ ( e ) = φ ( v w ) for e = ( v w ) E G . The example of the application of the functor L is given in Figure 4. Directly from the definitions above we obtain the following result.
Lemma 1.
Any morphism f : ( G , φ ) ( H , ψ ) of edge colored digraphs define a morphism L f = f * : ( G * , φ * ) ( H * , ψ * ) of vertex colored digraphs given on the set of vertices by the rule f * ( e * ) = [ f ( e ) ] * . Thus, we obtain a functor L : CE C
Now we define k-colored homology groups H * k ( G , φ ) of the edge colored digraph putting
H * k ( G , φ ) = H * k ( L G , L φ ) .
Theorem 8.
The k-colored homology groups H * k ( G , φ ) of edge colored digraphs define a functor from the category CE to the category R-modules.
Proof. 
Follows from Theorem 2 and Lemma 1. □
Example 7.
Consider the edge colored digraph G in Figure 5 with the set of edges E G = { 0 , 1 , 2 , 3 , 4 } . The vertex colored digraph L G is presented now in Figure 5. Let R = R . Now similarly to computing in Section 4 and Section 5 we find
H n 1 ( G , φ ) = R 5 for n = 0 , 0 for n 1 ,
and
H n 2 ( G , φ ) = R for n = 0 , R 2 for n = 1 , 0 for n 2 .
Remark 2.
Any edge colored graph defines a symmetric edge colored digraph and it is an easy exercise to construct the k-colored path homology theory using the notion of the line graph and the methods of Section 5.

7. Conclusions

The discrete algebraic topology stems from the problems provided by discrete mathematical physics, discrete differential geometry, and analysis [14,16,17,21]. The first results for the discrete homotopy theory were obtained in [15,20,22]. The path homology theory has been constructed recently in [2,3,5,6]. This theory is a natural generalization of the simplicial homology theory and satisfies the properties that are similar to Eilenberg–Steenrod axioms [1]. First applications of discrete algebraic topology to graph coloring are given in ([2], §5) and ([23], §6). These results are based on the discrete homotopy theory and discrete fundamental groupoid of the digraph.
In the present paper, we have constructed a collection of new homology invariants of colored digraphs using homology of path complexes with the natural restriction that is given by digraph coloring. We have described functorial properties of introduced homologies and constructed a spectral sequence for colored homology groups. To our knowledge, before the results given in this paper, no effective methods for computing path homology groups by using natural filtrations were known. The spectral sequence gives an effective tool for computing path homology groups of an arbitrary (di)graph. In our paper, the main constructions are given for colored digraphs but in Section 6 we describe the possibility of transferring this theory to the category of graphs and the category of edge colored (di)graphs.

Author Contributions

Conceptualization, Y.V.M., and A.S.; investigation, Y.V.M., and A.S. All authors have read and agreed to the published version of the manuscript.

Funding

The research is funded by University of Warmia and Mazury in Olsztyn.

Acknowledgments

Both authors would like to thank the anonymous referee for careful reading of our paper and for his/her helpful comments and remarks which, in our opinion, highly contributed to the clarity of our paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Grigor’yan, A.; Jimenez, R.; Muranov, Y.; Yau, S.T. On the path homology theory of digraphs and Eilenberg-Steenrod axioms. Homol. Homotopy Appl. 2018, 20, 179–205. [Google Scholar] [CrossRef]
  2. Grigor’yan, A.; Lin, Y.; Muranov, Y.; Yau, S.T. Homotopy theory for digraphs. Pure Appl. Math. Q. 2014, 10, 619–674. [Google Scholar] [CrossRef] [Green Version]
  3. Grigor’yan, A.; Lin, Y.; Muranov, Y.; Yau, S.T. Cohomology of digraphs and (undirected) graphs. Asian J. Math. 2015, 19, 887–932. [Google Scholar] [CrossRef] [Green Version]
  4. Grigor’yan, A.; Muranov, Y.; Vershinin, V.; Yau, S.T. Path homology theory of multigraphs and quivers. Forum Math. 2018, 5, 1319–1338. [Google Scholar] [CrossRef]
  5. Grigor’yan, A.; Muranov, Y.; Yau, S.T. Graphs associated with simplicial complexes. Homol. Homotopy Appl. 2014, 16, 295–311. [Google Scholar] [CrossRef]
  6. Grigor’yan, A.; Muranov, Y.; Yau, S.T. On a cohomology of digraphs and Hochschild cohomology. J. Homotopy Relat. Struct. 2015, 11, 209–230. [Google Scholar] [CrossRef]
  7. Lowell, W.; Bieneke, E.; Wilson, R.J. Topics in Chromatic Graph Theory; Enyclopedia of Mathematics and Its Applications 156; Cambridge University Press: Cambridge, UK, 2015. [Google Scholar]
  8. Bujtás, C.; Sampathkumar, E.; Tuza, Z.; Pushpalatha, L.; Vasundhara, R.C. Improper C-colorings of graphs. Discret. Appl. Math. 2011, 159, 174–186. [Google Scholar] [CrossRef]
  9. Chartrand, G.; Lesniak, L.; Zhang, P. Graphs and Digraphs; CRC Press: Boca Raton, FL, USA, 2011. [Google Scholar]
  10. Hell, P.; Nešetřil, J. Graphs and Homomorphisms; Oxford Lecture Series in Mathematics and its Applications 28; Oxford University Press: Oxford, UK, 2004. [Google Scholar]
  11. Cowen, L.J.; Cowen, R.H.; Woodall, D.R. Defective colorings of graphs in surfaces: Partitions into subgraphs of bounded valency. Graph Theory 1986, 10, 187–195. [Google Scholar] [CrossRef]
  12. Lang, S. Algebra, 3rd ed.; Graduate Texts in Mathematics; Springer: New York, NY, USA, 2002; p. 211. [Google Scholar]
  13. MacLane, S. Homology; Die Grundlehren der Mathematischen Wissenschaften. Bd. 114; Springer: Berlin/Göttingen/Heidelberg, Germany, 1963; 522p. [Google Scholar]
  14. Baehr, H.; Dimakis, A.; Müller-Hoissen, F. Differential calculi on commutative algebras. J. Phys. A Math. Gen. 1995, 28, 3197–3222. [Google Scholar] [CrossRef]
  15. Barcelo, H.; Capraro, V.; White, J.A. Discrete homology theory for metric spaces. Bull. Lond. Math. Soc. 2014, 46, 889–905. [Google Scholar] [CrossRef] [Green Version]
  16. Dimakis, A.; Müller-Hoissen, F. Differential calculus and gauge theory on finite sets. J. Phys. A Math. Gen. 1994, 27, 3159–3178. [Google Scholar] [CrossRef] [Green Version]
  17. Dimakis, A.; Müller-Hoissen, F. Discrete differential calculus: Graphs, topologies, and gauge theory. J. Math. Phys. 1994, 35, 6703–6735. [Google Scholar] [CrossRef] [Green Version]
  18. Mosher, R.E.; Tangora, M.C. Cohomology Operations and Applications in Homotopy Theory; Harper & Row, Publishers: New York, NY, USA, 1968. [Google Scholar]
  19. Spanier, E.H. Algebraic Topology; MeGraw-Hill: New York, NY, USA, 1966. [Google Scholar]
  20. Barcelo, H.; Kramer, X.; Laubenbacher, R.; Weaver, C. Foundations of a connectivity theory for simplicial complexes. Adv. Appl. Math. 2001, 26, 97–128. [Google Scholar] [CrossRef] [Green Version]
  21. Connes, A. Noncommutative Geometry; Academic Press: London, UK, 1994. [Google Scholar]
  22. Babson, E.; Barcelo, H.; de Longueville, M.; Laubenbacher, R. Homotopy theory of graphs. J. Algebr. Comb. 2006, 24, 31–44. [Google Scholar] [CrossRef]
  23. Grigor’yan, A.; Jimenez, R.; Muranov, Y.; Yau, S.T. Fundamental groupoid of digraphs and graphs. Czechoslov. Math. J. 2018, 143, 35–65. [Google Scholar] [CrossRef]
Figure 1. Homotopy G I in Example 1.
Figure 1. Homotopy G I in Example 1.
Symmetry 12 00965 g001
Figure 2. The proper colored digraph cube.
Figure 2. The proper colored digraph cube.
Symmetry 12 00965 g002
Figure 3. The 1-improper 3-colored digraph.
Figure 3. The 1-improper 3-colored digraph.
Symmetry 12 00965 g003
Figure 4. The 3-proper colored graph.
Figure 4. The 3-proper colored graph.
Symmetry 12 00965 g004
Figure 5. The edge colored digraph G and vertex colored digraph L G .
Figure 5. The edge colored digraph G and vertex colored digraph L G .
Symmetry 12 00965 g005

Share and Cite

MDPI and ACS Style

Muranov, Y.V.; Szczepkowska, A. On Path Homology of Vertex Colored (Di)Graphs. Symmetry 2020, 12, 965. https://doi.org/10.3390/sym12060965

AMA Style

Muranov YV, Szczepkowska A. On Path Homology of Vertex Colored (Di)Graphs. Symmetry. 2020; 12(6):965. https://doi.org/10.3390/sym12060965

Chicago/Turabian Style

Muranov, Yuri V., and Anna Szczepkowska. 2020. "On Path Homology of Vertex Colored (Di)Graphs" Symmetry 12, no. 6: 965. https://doi.org/10.3390/sym12060965

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop