Next Article in Journal
Sliding-Mode Control of Bidirectional Flyback Converters with Bus Voltage Regulation for Battery Interface
Next Article in Special Issue
Cayley Hash Values of Brauer Messages and Some of Their Applications in the Solutions of Systems of Differential Equations
Previous Article in Journal
Complete Integrated Automation of the Electrochemical Corrosion Protection System of Pipelines Based on IoT and Big Data Analytics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Snake Graphs Arising from Groves with an Application in Coding Theory

by
Agustín Moreno Cañadas
1,
Gabriel Bravo Rios
1 and
Robinson-Julian Serna
2,*
1
Departamento de Matemáticas, Universidad Nacional de Colombia, Edificio Yu Takeuchi 404, Kra 30 No 45-03, Bogotá 111321, Colombia
2
Escuela de Matemáticas y Estadística, Universidad Pedagógica y Tecnológica de Colombia, Avenida Central del Norte 39-115, Tunja 150003, Colombia
*
Author to whom correspondence should be addressed.
Computation 2022, 10(7), 124; https://doi.org/10.3390/computation10070124
Submission received: 21 June 2022 / Revised: 14 July 2022 / Accepted: 14 July 2022 / Published: 19 July 2022
(This article belongs to the Special Issue Graph Theory and Its Applications in Computing)

Abstract

:
Snake graphs are connected planar graphs consisting of a finite sequence of adjacent tiles (squares) T 1 , T 2 , , T n . In this case, for 1 j n 1 , two consecutive tiles T j and T j + 1 share exactly one edge, either the edge at the east (west) of T j ( T j + 1 ) or the edge at the north (south) of T j ( T j + 1 ). Finding the number of perfect matchings associated with a given snake graph is one of the most remarkable problems regarding these graphs. It is worth noting that such a number of perfect matchings allows a bijection between the set of snake graphs and the positive continued fractions. Furthermore, perfect matchings of snake graphs have also been used to find closed formulas for cluster variables of some cluster algebras and solutions of the Markov equation, which is a well-known Diophantine equation. Recent results prove that snake graphs give rise to some string modules over some path algebras, connecting snake graph research with the theory of representation of algebras. This paper uses this interaction to define Brauer configuration algebras induced by schemes associated with some multisets called polygons. Such schemes are named Brauer configurations. In this work, polygons are given by some admissible words, which, after appropriate transformations, permit us to define sets of binary trees called groves. Admissible words generate codes whose energy values are given by snake graphs. Such energy values can be estimated by using Catalan numbers. We include in this paper Python routines to compute admissible words (i.e., codewords), energy values of the generated codes, Catalan numbers and dimensions of the obtained Brauer configuration algebras.

1. Introduction

Propp [1] introduced snake graphs in his investigations regarding the Laurent phenomenon associated with cluster algebras. Since then, snake graphs have become a helpful tool for research on different topics in several fields of mathematics. For instance, Schiffler and Çanakçi [2,3,4,5,6] developed a complete calculus for these kinds of graphs, achieving new developments in the continued fraction theory, bearing in mind that there is a bijection between the set of abstract snake graphs and the set of positive continued fractions.
According to this approach, perfect matchings of snake graphs give information on the numerator of a continued fraction. It is worth pointing out that perfect matchings of snake graphs were used by Schiffler et al. [7] to find a formula for cluster variables in cluster algebras from surface types, giving a solution to a well-known conjecture (positivity conjecture) regarding these algebras.
Another interpretation of the snake graph calculus was given by Çanakçi and Schroll [8], who proved that, associated with any snake graph, there is a suitable string module whose submodule lattice is in bijection with the perfect matching lattice of the underlying snake graph.
On the other hand, Brauer configuration algebras (BCAs) were introduced by Green and Schroll [9] as a generalization of Brauer graph algebras [10]. They have been used as a tool in research in different scientific fields. Indecomposable projective modules over appropriated Brauer configuration algebras have been interpreted as shadows in visual secret sharing schemes (VSSS) or as subkeys in the key schedule of the advanced encryption standard (AES) [11].

1.1. Motivations

Currently, snake graphs and Brauer configuration algebras are known to be ubiquitous tools in mathematics and their applications. On the one hand, the snake graph combinatorics gives new advances in the theory of continued fractions and rational knots. On the other hand, the combinatorial properties of Brauer configuration algebras have allowed applications of the theory of representation algebras in cryptography and the theory of graph energy, among others.
This paper uses interactions between the theories of snake graphs and Brauer configuration algebras to give a novel application of snake graphs in the coding theory.
The codes that we are interested in have as codewords n-tuples of q-ary vectors whose coordinates belong to an alphabet Q with q letters—namely, Q = { 0 , 1 , 2 , , q 1 } . In this case, q is not necessarily the power of a prime number. The main problem associated with these kinds of codes is minimizing the potential energy provided by the cardinality | C | of a fixed code C.
We address the coding problem from the Brauer configuration algebras point of view. First, we prove that n-tile snake graphs define Brauer configurations whose polygons are related to some binary trees. Then, such polygons are interpreted as codes whose minimal energy is given by an appropriated snake graph.
In the sequel, we briefly describe the main results presented in this work and how some previous works are used to obtain them.

1.2. Contributions

This work proves that string modules and their corresponding snake graphs define appropriated Brauer configuration algebras, whose indecomposable projective modules can be interpreted as groves of binary trees. It is proven that the dimensions of string modules are given by suitable words (admissible words) whose letters are positive integers.
We define some operations on these words in such a way that sums of Catalan numbers give the dimensions of these algebras and their centers. In particular, the number of indecomposable projective modules over the constructed algebras is another manifestation of Catalan numbers.
Words associated with polygons define codes C Γ j of type H ( 1 , j ) . Snake graphs give energy values of these codes. We provide, in the Appendix, Python routines to compute admissible words (associated with indecomposable projective modules over such Brauer configuration algebras), Catalan numbers, energy values of the codes C Γ j , and dimensions of the generated Brauer configuration algebras.
Figure 1 shows how the results introduced in the Background section regarding snake graphs and Brauer configuration algebras (see blue arrows) are used in this paper to obtain the main results (green arrows).
We define admissible words in Section 3.1, which induce Brauer configuration algebras of type Λ Γ j . Proposition 2 shows a means of building admissible words, and Proposition 3 proves that snake graphs define admissible words.
Corollary 1 enumerates admissible words, and Theorem 3 gives formulas for the dimension of the Brauer configuration algebras induced by admissible words and their corresponding centers. Theorem 4 estimates the energy values of some codes defined by the Brauer configurations Γ j . In particular, it is proven that snake graphs give such energy values.
Corollary 2 proves that the distances associated with these codes define the integer partitions of triangular numbers t C j , where C j denotes the jth Catalan number.
This paper is distributed as follows. In Section 2, we recall definitions and notations used throughout the paper. In particular, we recall the notions of path algebra, string snake graph, and Brauer configuration algebra. In Section 3, we give our main results. We define and enumerate admissible words (Section 3.1). We also give properties of Brauer configuration algebras defined by admissible words (Section 3.2). In Section 3.3, we give properties of a code defined by the Brauer configurations introduced in Section 3.2. Concluding remarks are given in Section 4. Python routines are included in Appendix A.

2. Background and Related Work

This section introduces some definitions, results, and notations to be used throughout the paper. We also recall some background results, which will allow a better understanding of the main results presented in the next section. The authors refer the interested reader to [8,9,10,11,12,13] for a detailed study of the treated topics. Henceforth, F ( N ) will denote a field (the set of natural numbers).

2.1. Path Algebras

This section recalls some basic notions of path algebras [13].
If F is an algebraically closed field, then a path algebra F Q is an algebra generated by the paths of a quiver (oriented graph) Q = ( Q 0 , Q 1 , s , t ) , where Q 0 and Q 1 are sets and s , t are maps such that s , t : Q 1 Q 0 , and elements of the set Q 0 ( Q 1 ) are said to be the vertices (arrows) of the quiver Q.
If α Q 1 , then the vertex s ( α ) ( t ( α ) ) is the source (target) of the arrow α  [13].
An ideal I of a path algebra F Q is generated by relations. These relations are nothing but paths with the same starting and ending points. The two-sided ideal generated by the arrows (paths of length greater than or equal to l) of Q is denoted by R Q ( R Q l ). An ideal I is said to be admissible, if there is an integer m 2 such that R Q m I R Q 2 . R Q is said to be the arrow ideal of F Q .
If I is an admissible ideal of F Q , the pair ( Q , I ) is said to be a bound quiver. The quotient algebra F Q / I is said to be a bound quiver algebra [13]. It is worth noting that any basic algebra is isomorphic to a bound quiver algebra F Q / I if I is a suitable admissible ideal.

2.2. Snake Graphs

A tile G is a square in the plane whose sides are parallel or orthogonal to the elements in the standard orthonormal basis of the plane (as in [5], in this work, a tile G is considered as a graph with four vertices and four edges in the obvious way).
A snake graph is called straight if all its tiles lie in one column or row, and a snake graph is called zigzag if no three consecutive tiles are straight. Two snake graphs are isomorphic if they are isomorphic as graphs (cf. [2,3,4,5,6]).
Each snake graph G has associated a sign function s g n from the set of edges to the set { + , } , which defines an ordered sequence of positive integers { a 1 , a 2 , , a n } . Numbers a i give rise to the continued fraction
[ a 1 , a 2 , , a n ] = a 1 + 1 a 2 + 1 a 3 + 1 a 4 + 1 + 1 a n .
The snake graph G [ a 1 , a 2 , , a n ] of the positive continued fraction [ a 1 , a 2 , , a n ] is the snake graph with d = a 1 + a 2 + + a n 1 tiles determined by the sign function. In particular, G [ 1 ] is a single edge.
Schiffler and Çanakçi [3] proved that if Match ( G ) denotes the number of perfect matchings of the snake graph G , then [ a 1 , a 2 , , a n ] = Match ( G [ a 1 , a 2 , , a n ] ) Match ( G [ a 2 , a 3 , , a n ] ) . Here, Match ( G ) is the set of perfect matchings of G .
As in [12], for positive integers n 1 , n 2 , , n k , we let G f ( n 1 , n 2 , , n k ) denote a snake graph, with  n 1 2 tiles in the first row, n 2 2 in the first column, n 3 2 tiles in the second row, and so on up to n k 2 . In this case, the last tile in a given row is the first tile in the next column (if it exists) and, vice versa, the last tile in a given column coincides with the first tile in the next row. As an example, in Figure 2, we show the snake graph G f ( 2 , 2 , 2 ) .
Remark 1.
In this paper, we also consider continued fractions associated with rational numbers n m , with  m > n . In such a case, the corresponding continued fraction is associated with a special snake graph G [ 0 , c f ( m n ) ] . These graphs are given by adding a red point to the first tile of the snake graph associated with the continued fraction c f ( m n ) of m n .

2.3. String Modules and Snake Graphs

An abstract string is a word of the form w = a 1 a 2 a n , where, for 1 j n , a j { , } . is also considered an abstract string. If  a j = (←), for any j, then w is said to be a direct string (inverse string).
According to Çanakçi and Schroll [8], the following procedure allows us to build a snake graph with n + 1 tiles from an abstract string w = a 1 a 2 a n :
  • If w = , then the corresponding abstract snake graph is given by a single tile.
  • If there is at least one letter, then a 1 , a 2 , , a n is a concatenation of a collection of alternating maximal direct and inverse strings w i such that w = w 1 w 2 w k . Each w i might be of length 1.
  • For each w i , we construct a zigzag snake graph G i with l ( w i ) + 1 tiles, where l ( w i ) is the number of direct or inverse arrows in w i . Let G i be the zigzag snake graph with tiles T 1 i , , T l ( w i ) + 1 i , such that T 2 i is glued to the right (resp. on top) of T 1 i if w i is direct (resp. inverse).
  • We now glue G i + 1 to G i , for all i, by identifying the last tile T l ( w i ) + 1 i of G i and the first tile T 1 i + 1 of G i + 1 , such that T l ( w i ) i , T l ( w i ) + 1 i , T 2 i + 1 is a straight piece.
Figure 3 shows an orientation of the Dynkin diagram A 4 and its corresponding snake graph. In such a case, w has the following maximal strings:
  • 1 2 3 4 , which defines the zigzag snake graph G 1 containing the tiles, 1 , 2 , 3 , and 4.
  • 4 5 , which defines the straight snake graph G 2 containing the tiles 4 and 5.
Note that snake graphs G 1 and G 2 are glued in a natural way.
Çanakçi and Schroll proved that if A = F Q / I is a bound quiver algebra and M G ( w ) is a string module over A with string w and with associated snake graph G , then the perfect matching lattice L G of G is in bijection with the canonical submodule lattice L G ( M ( w ) ) of M G ( w ) .
We recall that a string module M is given by the orientation of a type A Dynkin diagram where every vertex is replaced by a copy of F and the arrows correspond to the identity maps. This paper interprets arrows as operations between suitable words consisting of positive integers.

2.4. Brauer Configuration Algebras

Green and Schroll introduced Brauer configuration algebras as a generalization of Brauer graph algebras [9,10,11,12]. Its definition goes as follows:
A Brauer configuration algebra Λ Γ (or simply Λ if no confusion arises) is a bound quiver algebra induced by a Brauer configuration Γ = ( Γ 0 , Γ 1 , μ , O ) , where:
  • Γ 0 is a finite set of vertices.
  • Γ 1 is a collection of polygons, which are labeled multisets consisting of vertices (vertices repetition allowed). Each polygon contains more than one vertex.
  • μ is a map from the set of vertices Γ 0 to the set of positive integers N \ { 0 } = N + , μ : Γ 0 N + .
  • O is a choice for each vertex α Γ 0 , of a cyclic ordering of the polygons in which α occurs as a vertex including repetitions (see [9] for more details). For instance, if a vertex α Γ 0 occurs in polygons U i i , U i 2 , , U i m , for suitable indices i 1 , i 2 , , i m { 1 , 2 , 3 , , n } , then the cyclic order is obtained by linearly ordering the list, say
    U i 1 α 1 < U i 2 α 2 < < U i m α m , α i s > 0 .
    where U i s α s = U i s ( 1 ) < U i s ( 2 ) < < U i s ( α s ) means that vertex α occurs α s times in polygon U i s , denoted α s = o c c ( α , U i s ) . The cyclic order is completed by adding the relation U i m < U i 1 . Note that if  U i 1 < < U i t is the chosen ordering at vertex α , then the same ordering can be represented by any cyclic permutation.
    The sequence (2) is said to be the successor sequence at vertex α denoted S α , which is unique up to permutations.
    Henceforth, this paper assumes the notation used in [12] for successor sequences and special cycles. Namely, if a vertex α α belongs to some polygons U j 1 , U j 2 , U j k ordered according to the already defined cyclic ordering associated with the vertex α , then we will assume that, up to permutations, the cyclic ordering associated with the vertex α is built, taking into account that polygons U j 1 , U j 2 , U j k inherit the order given by the successor sequence S α .
If α Γ 0 , then the valency v a l ( α ) of α is given by the identity
v a l ( α ) = U Γ 1 o c c ( α , U ) .
If α Γ 0 is such that μ ( α ) v a l ( α ) = 1 , then α is said to be truncated (it occurs once in only one polygon). Otherwise, α is a non-truncated vertex. It is worth pointing out that each polygon in a Brauer configuration has at least one non-truncated vertex. A Brauer configuration without truncated vertices is said to be reduced.
Later on, we will assume that successor sequences associated with non-truncated vertices are of the form (2). As Green and Schroll mentioned in [9], if  α is a non-truncated vertex and v a l ( α ) = 1 , then there is only one choice for the associated cyclic ordering.
From now on, if no confusion arises, we will assume notations Q, I, and Λ instead of Q Γ , I Γ , and Λ Γ , for a quiver, an admissible ideal, and the Brauer configuration algebra induced by a fixed Brauer configuration Γ .
Since polygons in Brauer configurations are multisets, we will often assume that such polygons are given by words w of the form
w = y 1 f 1 y 2 f 2 y t 1 f t 1 y t f t ,
where, for each i, 1 i t , y i is an element of the polygon called vertex and f i is the frequency of the vertex y i . In other words, f i is the number of times that a vertex occurs in a polygon [14].
In [11], Cañadas et al. introduced an algorithm to build a Brauer configuration algebra Λ Γ = F Q Γ / I Γ . Q Γ = ( Q 0 , Q 1 , s , t ) is a quiver, whose set of vertices Q 0 is in bijective correspondence with the set of polygons in Γ 1 . Arrows are induced by the orientation O by identifying each cover V < W in a cyclic ordering with an arrow α : V W .
The bound quiver algebra F Q Γ is a path algebra bounded by an admissible ideal I Γ generated by relations ρ Γ of the following types:
  • Identify special cycles associated with non-truncated vertices in the same polygon (i.e., if  δ 1 , δ 2 U with U Γ 1 , then C δ 1 μ ( δ 1 ) C δ 2 μ ( δ 2 ) ρ Γ ).
  • If C δ is a special cycle associated with a non-truncated vertex δ , then a product of the form C μ ( δ ) a ρ Γ , if a is the first arrow of δ .
  • Quadratic monomial relations of the form a b in F Q Γ , where a b is not a subpath of any special cycle unless a = b and a is a loop associated with a vertex α of valency 1 and μ ( α ) > 1 .
The following Theorem 1 gives some properties of Brauer configuration algebras [9,15].
Theorem 1 
([9], Theorem B). The following results hold for a Brauer configuration algebra Λ = F Q / I induced by a Brauer configuration Γ = ( Γ 0 , Γ 1 , μ , O ) .
1. 
There is a bijection between Γ 1 and the set of indecomposable projective Λ-modules.
2. 
If P is a projective indecomposable Λ-module corresponding to a polygon V in Γ, then rad ( P ) is a sum of r indecomposable uniserial modules, where r is the number of (non-truncated) vertices of V and where the intersection of any two of the uniserial modules is a simple Λ-module.
Proposition 1 and Theorem 2 give formulas for the dimensions dim F Λ , and  dim F Z ( Λ ) of a Brauer configuration algebra Λ and its center Z ( Λ ) [9,15].
Proposition 1
(Proposition 3.13, [9]). Let Λ be a Brauer configuration algebra associated with the Brauer configuration Γ and let C = { C 1 , , C t } be a full set of equivalence class representatives of special cycles. Assume that for i = 1 , , t , C i is a special α i -cycle where α i is a non-truncated vertex in Γ. Then,
dim F Λ = 2 | Q 0 | + C i C | C i | ( n i | C i | 1 ) ,
where | Q 0 | denotes the number of vertices of Q; | C i | denotes the number of arrows in the α i -cycle C i , and n i = μ ( α i ) .
Theorem 2
(Theorem 4.9, [15]). Let Λ = F Q / I be the Brauer configuration algebra associated with the connected and reduced Brauer configuration Γ. Then,
dim F Z ( Λ ) = 1 + α Γ 0 μ ( α ) + | Γ 1 | | Γ 0 | + # ( L o o p s Q ) | C Γ | ,
where C Γ = { α Γ 0 v a l ( α ) = 1 , a n d μ ( α ) > 1 } .

3. Main Results

In this section, we follow some of Loday’s ideas [16] to prove that string snake graphs induce binary trees, Brauer configuration algebras, and codes.

3.1. Admissible Words

An admissible word w has positive integers as letters. It can be written in the form:
w = α 1 α 2 α t ,
where, for each 1 i t , α i is a positive integer, 1 α i | w | , | w | denotes the length of w. If  α h = | w | , then α i < α h , for any i h . Moreover, if  w = w α h 1 | w | α h + 1 , with w h 1 = α 1 α 2 α h 1 , w h + 1 = α h + 1 α 2 α t , then | w h 1 | + | w h + 1 | + 1 = | w | . For  n 1 , we let W n denote the set of all admissible words of length n, W = n 0 W n , W 0 = is the empty word, | W 0 | = 0 . For example, W 1 = { 1 } , W 2 = { 12 , 21 } , whereas 131 and 4123 are admissible words in W 3 and W 4 , respectively.
Any admissible word w W is obtained by applying the operations •, ⊥, ⊤, ∝, ∪, →, ←, and ↔, defined as follows:
  • • is the usual concatenation of words. If no confusion arises, later on, we will write w w = w w .
  • If, for n 1 fixed w W n , then ( w ) = ( | w | + 1 ) w W n + 1 . Moreover,  ( w ) = w ( | w | + 1 ) W n + 1 .
  • If w , w W , then w w = w ( | w w | + 1 ) w . In such a case, we write ( w w ) l = w , ( w w ) r = w . In particular, ( w ) = w = ( | w | + 1 ) w , ( w ) = w = w ( | w | + 1 ) . Thus, any admissible word w can be written in the form w = ( w ) l ( w ) r .
  • If w , w W , then w w = { w , w } . If  w 1 , w 2 , , w k W , then ( k = 1 n w k ) = n k = 1 ( w k ) . Moreover,  ( n k = 1 w k ) = n k = 1 ( w k ) .
  • w w = ( w w ) ( w w ) , where w w = w l ( w r w ) , and  w w = ( w ( w ) l ) ( w ) r . In particular, if  w = x ( | w | ) ( w = ( | w | y ) ), then w w = x ( | w w | ) w ( w w = w ( | w w | ) y ).
  • n k = 1 w k w = n k = 1 w k w ,    w n k = 1 w k = n k = 1 w w k .
12 (21) is the unique admissible word w for which w r = ( w l = ).
( 12 ) l = ( 21 ) r = 1 = , ( 1 ) r = ( 1 ) l = .
1 1 = 131 ,    12 1 = 1241 ,    ( 123 ) = 123 = 4123 . Note that → and ← are not associative. For instance, 1 21 = 321 , and  21 1 = { 312 , 321 } . ↔ is not commutative 1 21 = { 321 , 131 } , 21 1 = { 321 , 312 , 213 } .
Proposition 2.
For any n 1 fixed, it holds that W n = n 1 i = 0 W i W n 1 i .
Proof. 
We note that W 1 = 1 ,    W 2 = { 12 , 21 } , W 3 = W 2 1 = W 2 1 W 2 1 .    □
W 2 1 = { 123 , 213 } W 2 1 = 12 1 21 1 = 1 1 ( 1 1 ) = 131 ( 12 21 ) = { 131 , 312 , 321 } .
If the theorem holds for 1 i < j , then W j = W j 1 1 . Thus,
W j = [ j 2 k = 0 W k W j 2 k 1 ] [ j 2 k = 0 W k W j 2 k 1 ] = [ ( j 2 k = 0 ( W k W j 2 k ) ) ] [ j 2 k = 0 W k ( W j 2 k 1 ) ] = j 1 k = 0 W k W j 1 k .

3.2. Brauer Configuration Algebras Associated with Snake Graphs

This section proves that an n-tile snake graph induces a Brauer configuration whose vertices are positive integers and word polygons consist of admissible words as defined in the previous section.
Proposition 3.
String modules associated with n-tile snake graphs define W n .
Proof. (Induction) If d n = 1 a 1 1 a 2 1 1 a n 1 is the dimension of a string module associated with an orientation a 1 a 2 a n for which a i { , } , then, according to the operations defined in Section 3.1, d n = 21 a 2 1 1 a n 1 if a 1 = , d n = 12 a 2 1 1 a n 1 , if a 1 = , d n = ( 12 21 ) a 3 1 1 a n 1 = 312 a 3 1 1 a n 1 321 a 3 1 1 a n 1 , if  a 2 = has 21 as a source. d n = 131 a 3 1 1 a n 1 if a 2 = has 12 as a source.
d n = 123 a 3 1 1 a n 1 ( d n = 213 a 3 1 1 a n 1 ) if a 2 = , s ( a 2 ) = 1 , t ( a 2 ) = 12 ( t ( a 2 ) = 21 ).
We note that, for  i n fixed, d n = ( w ( w w ) w ( w w ) ) a i a n , if  a i 1 = , s ( a i 1 ) = w = w w W i , w W k , w W i 1 k , k i 1 , i n . Meanwhile, d n = ( w ) a i a n , if  a i 1 = , s ( a i 1 ) = 1 and t ( a i 1 ) = w = w w W i . Thus, for  2 i n , it holds that the ( i 1 ) th arrow of a string module gives rise to W i = ( W i 1 ) ( W 1 W i 2 ) ( W k W i 1 k ) ( W i 1 ) . We are finished.    □
Corollary 1. 
For n 1 , | W n | = C n , where C n is the nth Catalan number.
Proof. (Induction) Note that | W 1 | = 1 , | W 2 | = 2 , | W 3 | = 5 . If it is assumed that the statement is true for 1 j < i , then | W i | = | ( W i 1 ) | + | W i 2 W 1 | + + | W i h W h 1 | + | ( W i 1 ) | =2 i 1 2 k = 0 C k C i 1 k = C i .    □
Henceforth, for each i 2 , we will assume that each admissible word w i k W i is a multiset U i k of the form π ( 1 f 1 2 f 2 3 f 3 i f i ) , f h 0 denotes the occurrence of h in U i k , and π ( x ) denotes a permutation of the f i k = 1 f k letters.
For n > 1 , the set of n-tile snake graphs defines a Brauer configuration algebra Λ Γ n induced by a Brauer configuration Γ n = ( Γ 0 n , Γ 1 n , μ n , O n ) , where
Γ 0 n = { 1 , 2 , , n 1 , n } , Γ 1 n = { U 1 , U 2 , , U C n w ( U i ) W n , w ( U i ) w ( U j ) , if i j , | W n | = | Γ 1 n | } , μ n ( j ) = 1 , 1 j n ,
If j Γ 0 belongs to the polygons U j 1 , U j 2 , , U j h , where j 1 < j 2 < < j h is a subchain of Γ 0 , then the corresponding successor sequence S j has the form S j = U j 1 U j 2 U j h 1 U j h .
Figure 4 shows the Brauer quiver associated with the Brauer configuration Γ 2 , for which Γ 0 2 = { 1 , 2 } , Γ 1 2 = { U 1 = { 1 , 2 } , U 2 = { 1 , 2 } } , w 1 = 12 , w 2 = 21 .
Successor sequence S 1 = U 1 < U 2 (associated with the vertex 1) defines the arrow α 1 1 . The successor sequence S 2 = U 1 < U 2 (associated with the vertex 2) defines the arrow β 2 1 . Arrows α 1 2 and  β 2 2 complete the special cycles α 1 1 α 1 2 and  β 2 1 β 2 2 .
We note that,
dim F Λ Γ 2 = 4 + 2 ( 2 1 ) + 2 ( 2 1 ) = 8 . dim F Z ( Λ Γ 2 ) = 3 .
Figure 5 shows the structure of the indecomposable projective modules P 1 (associated with the vertex 1) and P 2 (associated with the vertex 2) over the Brauer configuration algebra Λ Γ 2 . Arrows in Q Γ 2 define the corresponding composition series.
The following result regards Brauer configuration algebras of type Λ Γ n .
Theorem 3. 
For n > 1 fixed, it holds that
1. 
If P i is an indecomposable projective module over Λ Γ n associated with the polygon U i . Then, the number of summands in rad P i is i, 1 i n .
2. 
v a l ( i ) = C i C n i ( n i + 1 ) = e i n ,
3. 
dim F Λ n = 2 ( C n + n i = 1 t e i n 1 ),
4. 
dim F Z ( Λ n ) = 1 + C n + n j = 1 ν i j n .
where C h ( t h ) denotes the hth Catalan number (hth triangular number). Moreover, 
ν j n = v a l ( j ) 2 h , if j 2 , n = j + h , 1 h j 1 , v a l ( j ) ( 2 j + m ) , if m 0 , j 2 , n = 2 j + m , v a l ( n ) n , if j = n , t 2 n 2 1 , if j = 1 .
Proof. 
Note that each polygon U i Γ 1 n has i vertices. Furthermore, for each vertex j Γ 0 , the size | S j | of the associated successor sequence S j contains at least two different polygons. Consider the following Table 1.
Note that
v a l ( 1 ; Γ 1 7 ) = v a l ( 1 ; ( Γ 1 6 ) ) + 4 i = 1 v a l ( 1 ; Γ 1 i Γ 1 5 i ) + v a l ( 1 ; ( Γ 1 6 ) ) = 12 6 . v a l ( 2 ; Γ 1 7 ) = v a l ( 2 ; ( Γ 1 6 ) ) + 4 i = 1 v a l ( 2 ; Γ 1 i Γ 1 5 i ) + v a l ( 2 ; ( Γ 1 6 ) ) = 2 10 5 . v a l ( 3 ; Γ 1 7 ) = v a l ( 3 ; ( Γ 1 6 ) ) + 4 i = 1 v a l ( 3 ; Γ 1 i Γ 1 5 i ) + v a l ( 3 ; ( Γ 1 6 ) ) = 5 8 4 .
In general,
v a l ( 1 ; Γ 1 j ) = C 1 2 j 2 j 1 , j 1 , v a l ( 2 ; Γ 1 j ) = C 2 2 j 4 j 2 , j 2 , v a l ( 3 ; Γ 1 j ) = C 3 2 j 6 j 3 , j 3 , v a l ( 4 ; Γ 1 j ) = C 4 2 j 8 j 4 , j 4 , = v a l ( i ; Γ 1 j ) = C i 2 j 2 i j i = C i C j i ( j i + 1 ) , j i .
Since | Γ 1 n | = C n , then the result follows from item 2 and Proposition 1. By definition, the number # l o o p s ( j ; Γ 1 n ) of loops provided by the vertex j in Γ 1 n is given by ν j n . Furthermore, | Γ 1 n | = C n . Therefore, the result is a consequence of Theorem 2.    □
Following Loday’s construction of binary trees [16], it is possible to associate a binary tree with each admissible word defined by a snake graph. In such a case, a word w of the form w = w l w r defines a binary tree whose left (right) leaf is given by w l ( w r ).
Figure 6 shows the binary trees defined by the admissible words 0, 1 = , 12 = 1 , which has the binary tree 1 at the left leaf. Moreover,  21 = 1 , which has the binary tree 1 at the right leaf.
The following Figure 7 shows the binary trees associated with three-tile snake graphs.
The Tamari lattice arises from the order ( , W n ) defined on the set W n of admissible words, such that
( w 1 w 2 ) w 3 w 1 ( w 2 w 3 ) , w 1 w 2 w 1 w 3 w 2 w 3 , w 1 w 2 w 3 w 1 w 3 w 2 .

3.3. The Associated Code

Let Q = { 0 , 1 , 2 , , q 1 } be the alphabet of q symbols, and  H ( n , q ) = { ( x 1 , x 2 , , x n ) x j is a q - ary vector } .
The Hamming distance d ( x , y ) between two elements x , y H ( n , q ) equals the number of coordinates in which they differ. The inner product x , y is defined in such a way that x , y = 1 2 d ( x , y ) n .
The h-energy or potential energy E ( n , C ; h ) of a code C is given by the identity
E ( n , C ; h ) = 1 | C | x , y C h ( x , y ) ,
where h is a function h : [ 1 , 1 ) ( 0 , + ) (for convenience, often, h is considered absolutely monotone). According to Boyvalenkov et al. [17], energy minimizing codes C H ( n , q ) for the potential function h α ( t ) = [ 2 n ( 1 t ) ] α , α are maximizing the minimum distance d ( C ) = min { d ( x , y ) x , y C , x y } .
We recall that the main problem associated with these codes is minimizing the potential energy provided by the cardinality | C | of a fixed code C, i.e., finding E ( n , M ; h ) = min { E ( n , C ; h ) | C | = M } .
To address the coding problem from the Brauer configurations algebras point of view, we note that, by definition, for j > 1 fixed, a Brauer configuration Γ j defines a code C Γ j H ( 1 , j ) of admissible words associated with polygons in Γ 1 j . The alphabet is given by Γ 0 j = { 1 , 2 , 3 , , j 1 , j } . The purpose of this section is to give the potential energy E ( 1 , C Γ j ; h α ) of a code C Γ j for any j > 1 and α 1 . Actually, we have the following result:
Theorem 4.
For 1 a α and j > 1 fixed, the energy E ( 1 , C Γ j ; h a ( t ) = [ 2 1 t ] a ) is given by a snake graph. In particular, min E ( 1 , C Γ j ; h a ) is given by a zigzag special snake graph G [ 0 , 2 α + 1 ] of the form G f ( ( 2 , 2 , , 2 ) ( 2 α + 1 2 ) times ) (see Figure 2). Moreover,
( 1 2 ) α + 1 E ( 1 , C Γ j ; h a ) < j 1 C j F j 1 ( 1 2 ) α ,
where C i denotes the ith Catalan number, and  F i = | { ( w , w ) C Γ n × C Γ n d ( w , w ) = d ( w , w ) = i } | . Furthermore, for  α > 1 fixed, it holds that
min E ( 1 , C Γ 2 ; h a ) = ( 1 2 ) α + 1 .
Proof. 
We note that, for all w , w W j , it holds that d ( w , w ) { 2 , 3 , , j } . In addition, h α ( i ) = 1 i α ,    2 i j . Thus,
E ( 1 , C Γ j ; h α ) = 1 C j j k = 2 F k ( 1 k ) α
is a rational number. In particular, if  j = 2 , then 12 , 21 = 3 , h α ( 3 ) = ( 1 2 ) α . Moreover,  E ( 1 , C Γ 2 ; h α ) = ( 1 2 ) α + 1 . Since F i F j 1 < t C j 1 (where t i is the ith triangular number), for any 1 i j , the result follows. We are finished.    □
Corollary 2.
For j 2 , numbers F 2 , F 3 , , F j 1 , and  F j constitute an integer partition of the t C j 1 triangular number.
Proof. 
Since F i = | { ( w , w ) C Γ n × C Γ n d ( w , w ) = d ( w , w ) = i } | , then 2 j i = 1 F i = C j 2 C j . We are finished.    □
Table 2 shows a table giving the number of times F i , 2 i j , 2 j 9 , that a distance d ( w , w ) { 2 , , 9 } occurs in a code C Γ j . The entry at the jth row and ith column, 2 i 9 , gives the number of times that the distance i appears in code C Γ j .
Table 3 shows a table with the energy values of codes C Γ j , 2 j 9 by using h α ( t ) { 1 / i 2 i 9 } , 1 α 3 . Columns are labeled by h α , whereas rows are labeled by pairs ( α , j ) . In this case, an entry ( α , j , h α ) gives the energy value E ( 1 , C Γ j ; h α ) .
Figure 8 shows special snake graphs giving min E ( 1 , C Γ j ; h α ) for j = 2 and α = 1 ( h α = 1 4 ) , α = 2 ( h α = 1 8 ) , and  α = 3 ( h α = 1 16 ) .
Figure 9 shows examples of snake graphs given the energy E ( 1 , C Γ j , h α ) , for α = 1 , j = 4 , 5 , and  α = 2 , j = 5 , 6 . h α , defined as in Figure 3.

4. Concluding Remarks and Future Work

String snake graphs induce admissible words related to binary trees. Such admissible words give rise to Brauer configuration algebras of type Λ Γ j , j 2 , with C j indecomposable projective modules. Catalan numbers are helpful to obtain the dimensions of these algebras and their centers. Brauer configurations Λ Γ j define codes C Γ j of type H ( 1 , j ) , in the sense of Boyvalenkov et al., whose energy values are given by snake graphs. Distances associated with these codes allow integer partitions of the triangular numbers indexed by Catalan numbers.

Future Work

We note that E ( 1 , C Γ j , h α ) = j i = 2 F j ( 1 j ) α , where F i = | { ( w , w ) C Γ n × C Γ n d ( w , w ) = d ( w , w ) = i } | . It is an open problem to give a closed formula for numbers F i , as well as the number of perfect matchings of the associated snake graphs.
Another interesting task for the future consists of giving a generalization of the presented results to arbitrary H ( n , q ) codes.

Author Contributions

Investigation, A.M.C., G.B.R. and R.-J.S.; writing—review and editing, A.M.C., G.B.R. and R.-J.S. All authors have read and agreed to the published version of the manuscript.

Funding

Seminar Alexander Zavadskij on Representation of Algebras and their Applications, Universidad Nacional de Colombia. The third author was supported by Minciencias (Conv. 891).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
C j (jth Catalan number)
dim F Λ Γ (Dimension of a Brauer configuration algebra)
dim F Z ( Λ Γ ) (Dimension of the center of a Brauer configuration algebra)
E ( 1 , C Γ j , h α ) (Energy of a code C Γ j )
F (Field)
Γ 0 (Set of vertices of a Brauer configuration Γ )
t i (ith triangular number)
occ ( α , V ) (Number of occurrences of a vertex α in a polygon V)
w ( V ) (The word associated with a polygon V)
V i ( α ) (Ordered sequence of polygons)
v a l ( α ) (Valency of a vertex α )

Appendix A. Python Routines

In this section, we give Python routines to compute the word product ∝ (routine [2]), Catalan numbers (routine [3]), admissible words (routine [4]), dimensions of the Brauer configuration algebras Λ Γ j (routine 5), and energy values of the defined codes C Γ j (routine [6]). Computation 10 00124 i001 Computation 10 00124 i002 Computation 10 00124 i003

References

  1. Propp, J. The combinatorics of frieze patterns and Markoff numbers. Integers 2020, 20, 1–38. [Google Scholar]
  2. Çanakçi, I.; Schiffler, R. Cluster algebras and continued fractions. Compos. Math. 2018, 54, 565–593. [Google Scholar] [CrossRef] [Green Version]
  3. Çanakçi, I.; Schiffler, R. Snake graphs and continued fractions. Eur. J. Combin. 2020, 86, 1–19. [Google Scholar] [CrossRef] [Green Version]
  4. Çanakçi, I.; Schiffler, R. Snake graphs calculus and cluster algebras from surfaces. J. Algebra 2013, 382, 240–281. [Google Scholar] [CrossRef]
  5. Çanakçi, I.; Schiffler, R. Snake graphs calculus and cluster algebras from surfaces II: Self-crossings snake graphs. Math. Z. 2015, 281, 55–102. [Google Scholar] [CrossRef] [Green Version]
  6. Çanakçi, I.; Schiffler, R. Snake graphs calculus and cluster algebras from surfaces III: Band graphs and snake rings. Int. Math. Res. Not. IMRN 2017, rnx157, 1–82. [Google Scholar] [CrossRef]
  7. Musiker, G.; Schiffler, R.; Williams, L. Posiivity for cluster algebras from surfaces. Adv. Math. 2011, 227, 2241–2308. [Google Scholar] [CrossRef] [Green Version]
  8. Çanakçi, I.; Schroll, S. Lattice bijections for string modules snake graphs and the weak Bruhat order. Adv. Appl. Math. 2021, 126, 102094. [Google Scholar] [CrossRef]
  9. Green, E.L.; Schroll, S. Brauer configuration algebras: A generalization of Brauer graph algebras. Bull. Sci. Math. 2017, 121, 539–572. [Google Scholar] [CrossRef] [Green Version]
  10. Schroll, S. Brauer Graph Algebras. In Homological Methods, Representation Theory, and Cluster Algebras, CRM Short Courses; Assem, I., Trepode, S., Eds.; Springer: Cham, Switzerland, 2018; pp. 177–223. [Google Scholar]
  11. Cañadas, A.M.; Gaviria, I.D.M.; Vega, J.D.C. Relationships between the Chicken McNugget Problem, Mutations of Brauer Configuration Algebras and the Advanced Encryption Standard. Mathematics 2021, 9, 1937. [Google Scholar] [CrossRef]
  12. Cañadas, A.M.; Espinosa, P.F.F.; Muñetón, N.A. Brauer configuration algebras defined by snake graphs and Kronecker modules. Electron. Res. Arch. 2022, 30, 3087–3110. [Google Scholar] [CrossRef]
  13. Assem, I.; Skowronski, A.; Simson, D. Elements of the Representation Theory of Associative Algebras; Cambridge University Press: Cambridge, UK, 2006. [Google Scholar]
  14. Andrews, G.E. The Theory of Partitions; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
  15. Sierra, A. The dimension of the center of a Brauer configuration algebra. J. Algebra 2018, 510, 289–318. [Google Scholar] [CrossRef]
  16. Loday, J.L. Arithmetree. J. Algebra 2002, 258, 275–309. [Google Scholar] [CrossRef] [Green Version]
  17. Boyvalenkov, P.; Dragnev, P.D.; Hardin, P.D.; Saff, E.B.; Stoyanova, M.M. Energy bounds for codes and designs in Hamming spaces. Des. Codes Cryptogr. 2017, 82, 411–433. [Google Scholar] [CrossRef] [Green Version]
Figure 1. This graph shows how we use topics described in the Background section to obtain the main results presented in this paper.
Figure 1. This graph shows how we use topics described in the Background section to obtain the main results presented in this paper.
Computation 10 00124 g001
Figure 2. Snake graph G f ( 2 , 2 , 2 ) = G [ 5 ] and its perfect matchings.
Figure 2. Snake graph G f ( 2 , 2 , 2 ) = G [ 5 ] and its perfect matchings.
Computation 10 00124 g002
Figure 3. Snake graph G f ( 2 , 2 , 3 ) = G [ 4 , 2 ] associated with a four-arrow string. The string module M ( w ) over the corresponding Dynkin algebra of type A is obtained by replacing every vertex with a copy of a field F . In such a case, arrows correspond to identity morphism.
Figure 3. Snake graph G f ( 2 , 2 , 3 ) = G [ 4 , 2 ] associated with a four-arrow string. The string module M ( w ) over the corresponding Dynkin algebra of type A is obtained by replacing every vertex with a copy of a field F . In such a case, arrows correspond to identity morphism.
Computation 10 00124 g003
Figure 4. Example of the Brauer quiver defined by the Brauer configuration Γ 2 . Relations α 1 1 β 2 2 , α 1 2 β 2 1 , α 1 1 α 1 2 α 1 1 , α 1 2 α 1 1 α 1 2 , β 2 1 β 2 2 β 2 1 , β 2 2 β 2 1 β 2 2 , L 1 i L 2 i (where L j i denotes the special cycle associated with the vertex j in polygon U i , i = 1 , 2 ) generate the admissible ideal I Γ 2 for which the Brauer configuration algebra Λ Γ 2 = F Q Γ 2 / I Γ 2 .
Figure 4. Example of the Brauer quiver defined by the Brauer configuration Γ 2 . Relations α 1 1 β 2 2 , α 1 2 β 2 1 , α 1 1 α 1 2 α 1 1 , α 1 2 α 1 1 α 1 2 , β 2 1 β 2 2 β 2 1 , β 2 2 β 2 1 β 2 2 , L 1 i L 2 i (where L j i denotes the special cycle associated with the vertex j in polygon U i , i = 1 , 2 ) generate the admissible ideal I Γ 2 for which the Brauer configuration algebra Λ Γ 2 = F Q Γ 2 / I Γ 2 .
Computation 10 00124 g004
Figure 5. Indecomposable projective Λ Γ 2 -modules. Note that the number of composition series equals the number of non-truncated vertices in the corresponding polygon.
Figure 5. Indecomposable projective Λ Γ 2 -modules. Note that the number of composition series equals the number of non-truncated vertices in the corresponding polygon.
Computation 10 00124 g005
Figure 6. Admissible words and their corresponding binary trees.
Figure 6. Admissible words and their corresponding binary trees.
Computation 10 00124 g006
Figure 7. The grove consisting of binary trees associated with three-tile snake graphs.
Figure 7. The grove consisting of binary trees associated with three-tile snake graphs.
Computation 10 00124 g007
Figure 8. Examples of special snake graphs giving the minimal energy min E ( 1 , C Γ j , h α ) , for j = 2 , α = 1 , 2 , 3 .
Figure 8. Examples of special snake graphs giving the minimal energy min E ( 1 , C Γ j , h α ) , for j = 2 , α = 1 , 2 , 3 .
Computation 10 00124 g008
Figure 9. Snake graphs associated with the energy values 191 84 , 2899 504 , 54 , 053 30 , 240 , and 894 , 547 237 , 600 .
Figure 9. Snake graphs associated with the energy values 191 84 , 2899 504 , 54 , 053 30 , 240 , and 894 , 547 237 , 600 .
Computation 10 00124 g009
Table 1. Valencies v a l ( i ; Γ 1 j ) of vertices i = 1 , 2 , and 3 in Γ 1 j , 2 j 6 .
Table 1. Valencies v a l ( i ; Γ 1 j ) of vertices i = 1 , 2 , and 3 in Γ 1 j , 2 j 6 .
val ( 1 ) val ( 2 ) val ( 3 ) dim F Λ Γ j
Γ 1 2 22 8
Γ 1 3 64572
Γ 1 4 201210812
Γ 1 5 7040309822
Γ 1 6 252140100124,112
Table 2. Distances associated with a code C Γ j , 2 j 9 .
Table 2. Distances associated with a code C Γ j , 2 j 9 .
j d ( w , w ) 23456789
21
364
4253432
5100172329260
6390754199031262386
715163130998321,63832,48123,058
8586912,66045,872119,312251,334351,506235,182
922,74650,570202,205589,3061,519,1203,001,6663,944,8602,486,618
Table 3. Energy values of codes C Γ j , 2 j 9 given by functions of the form h α ( t ) { 1 / i 2 i 9 } , 1 α 3 .
Table 3. Energy values of codes C Γ j , 2 j 9 given by functions of the form h α ( t ) { 1 / i 2 i 9 } , 1 α 3 .
α j h α ( t ) 1/21/31/41/51/61/71/81/9
121/2
334/3
425/234/38
550172/3329/452
6195754/3995/23126/51193/3
77583130/39983/421,638/510,827/23294
85869/2422011,468119,312/541,889351,506/7117,591/4
911,37350,570/3202,205/4589,306/5759,560/33,001,666/7986,215/22,486,618/9
221/4
33/24/9
425/434/92
525172/9329/1652/5
6195/2754/9995/83126/251193/18
73793130/99983/1621,638/253609/43294/7
85869/44220/32867119,312/2513,963/2351,506/49117,591/32
9211,373/250,570/9202,205/16589,306/25379,780/93,001,666/49986,215/162,486,618/81
321/8
33/44/27
425/834/271/2
525/2172/27329/6452/25
6195/4754/27995/323126/1251193/108
7379/23130/279983/6421,638/1251203/83294/49
85869/84220/92867/4119,312/12513,963/12351,506/343117,591/256
911,373/450,570/27202,205/64589,306/125189,890/273,001,666/343986,215/1282,486,618/729
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Moreno Cañadas, A.; Rios, G.B.; Serna, R.-J. Snake Graphs Arising from Groves with an Application in Coding Theory. Computation 2022, 10, 124. https://doi.org/10.3390/computation10070124

AMA Style

Moreno Cañadas A, Rios GB, Serna R-J. Snake Graphs Arising from Groves with an Application in Coding Theory. Computation. 2022; 10(7):124. https://doi.org/10.3390/computation10070124

Chicago/Turabian Style

Moreno Cañadas, Agustín, Gabriel Bravo Rios, and Robinson-Julian Serna. 2022. "Snake Graphs Arising from Groves with an Application in Coding Theory" Computation 10, no. 7: 124. https://doi.org/10.3390/computation10070124

APA Style

Moreno Cañadas, A., Rios, G. B., & Serna, R. -J. (2022). Snake Graphs Arising from Groves with an Application in Coding Theory. Computation, 10(7), 124. https://doi.org/10.3390/computation10070124

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