Previous Article in Journal
Combination of Soviet-Era Surface Gravity and Modern Satellite Data for Geoid Model Computation: A Case Study for Kazakhstan
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Computation in Algebraic Hyperstructures

1
School of Computer Science and Engineering, Chongqing Three Gorges University, Chongqing 404100, China
2
Center for Information Technologies and Applied Mathematics, University of Nova Gorica, Vipavska 13, SI-5000 Nova Gorica, Slovenia
3
Faculty of Mathematics, “Al.I. Cuza” University, Bd. Carol I, No. 11, 700506 Iaşi, Romania
*
Author to whom correspondence should be addressed.
Computation 2025, 13(11), 261; https://doi.org/10.3390/computation13110261
Submission received: 15 August 2025 / Revised: 28 October 2025 / Accepted: 28 October 2025 / Published: 4 November 2025
(This article belongs to the Section Computational Engineering)

Abstract

The concept of the relation β plays a central role in the study of hypercompositional structures. In this paper, we extend the definition of β to the general framework of hypergroupoids and develop an algorithm to compute its elements and its transitive closure β . We then apply this algorithm to determine the β -class of partial identities in a hypergroup, a process equivalent to computing the heart of the given algebraic structure. Furthermore, we propose a more general algorithm that is also applicable to the case of H v -groups. By extracting the quotient set with respect to β and endowing it with an appropriate group structure, we obtain the so-called fundamental group. The identity of this fundamental group can then be computed directly, yielding the heart of the structure.

1. Introduction

The term algebraic hypercompositional structure denotes a generalization of classical algebraic structures such as groups, semigroups, or rings. In a classical algebraic structure, the law of synthesis of two elements yields a single element, whereas in a hypercompositional structure, the law of synthesis of two elements produces a set of elements. This branch of algebra was introduced for the first time by the French mathematician Marty [1] during the 8th International Congress of Scandinavian Mathematicians. Subsequently, other mathematicians, including Krasner [2,3], Wall [4], Ore, and Dresher [5], laid the foundations of what is now known as hypercompositional algebra. Over the years, the law of synthesis of hypercompositional algebras has been enriched with additional axioms, giving rise to structures with diverse and intriguing properties and applications. Among them there are hypergroupoids, semihypergroups, and hypergroups, which generalize the classical notion of groupoids, semigroups, and groups, respectively, and the wider classes of H v -semigroups and H v -groups. In [6] a Matlab algorithm is presented, which determines the strong fuzzy grade of a hypergroup, considering a particular class of hypergroups associated with genetics. Other algorithms for algebraic hyperstructures were presented in [7,8]. Moreover, several books [9,10,11,12,13,14,15] and survey papers [16,17,18,19,20] have been devoted to hypercompositional structures, reflecting the growing interest and development in this field. It is not surprising that there is a significant overlap between the tools and problems of (semi-)group theory and those of (semi-)hypergroup theory. In 1970, M. Koskas [21] formalized this connection by introducing the notion of a strongly regular relation. This, in turn, led to the definition of the relation β and its transitive closure β , both of which belong to the class of fundamental relations. Subsequently, Corsini [10] and Sureau [22,23] further investigated these concepts in the context of semihypergroups and hypergroups, and the equality between β and β has been proved in the case of hypergroups (see Theorem 16, [10]). It turns out that the fundamental relation β is the smallest equivalence relation in a hypergroup H such that the corresponding quotient set forms a group, called the fundamental group (see Corollary 21, [10]). The class of the identity element in the fundamental group is called the heart [24,25,26,27]. The heart is a special subhypergroup of H that provides detailed information about the partition of H induced by the fundamental relation. In [28,29], Vougiouklis defines the notion of relation β in the larger class of H v -groups, while in [30], the authors studied the H v module of functions on the H v ring of arithmetics and the corresponding fundamental module. Vougiouklis’ approach was completed by proving that the fundamental relation β is the transitive closure of the relation β . It was also shown that if H is an H v -(semi)group, then the quotient H / β is a (semi)group. However, whether β and β coincide in the case of H v -groups remains an open question. In [31] another important equivalence relation α * is studied in the context of topological quotient hyperrings.
The purpose of this paper is to present the notion of the β relation, following the approach proposed by Vougiouklis. In particular, we will extend its definition to the broader class of hypergroupoids. Our definition leads to a deterministic algorithm capable of computing the elements of β . Furthermore, employing the Warshall algorithm, we obtain the transitive closure β , which we then use to define the fundamental group structure on the quotient set induced by β on a hypergroup or on an H v -group. This allows us to compute the heart of the structure by identifying the elements in the β -class of the identity of the fundamental group. In the case of hypergroups, a shortcut is possible. In fact, in Corollary 1, we show that the heart of a hypergroup coincides with the β -class of partial identities. This result offers computational advantages, as it bypasses the construction of the fundamental group and the determination of its identity.
To make this manuscript self-contained, in Section 2 we present the basic notions and results on hypercompositional structures, with an emphasis on hypergroups and H v -groups. For a comprehensive and detailed introduction to the theory of hypergroups and H v -groups, we refer the reader to [9,10,11,15,17] and [29,32], respectively. In Section 3, we formalize the definition of the set U containing all finite hyperproducts of elements in a hypergroupoid. This leads to the definition of the relation β in the class of hypergroupoids. Moreover, we recall well-known results regarding the heart of a hypergroup, which will be useful for its computation. In Section 4, we further analyze the set U by introducing an increasing chain of subsets of a hypergroupoid, and in Proposition 1 we show how this chain can be used to concretely compute U in a finite number of steps. This work provides the foundation for computing the heart of both hypergroups and H v -groups, with the corresponding procedures and algorithms presented in Section 5. In Section 7, we provide a concrete analysis of the heart of a hypergroup of order 7 and an H v -group of order 10. The implementations are written in Matlab and are publicly available (see [33]). Furthermore, a more efficient and optimized library, written in Rust and offering additional features, is also available (see [34]). Finally, conclusions and directions for future research are presented in Section 9.

2. Overview of Hypercompositional Structures

Let H be a nonempty set and let P ( H ) be the power set of H. A hypercomposition (or hyperoperation) in H is a map : H × H P ( H ) that associates, for any x , y H , a subset x y of H, rather than a single element, as in the case of an ordinary composition. A nonempty set H endowed with at least one hypercomposition ∘ forms a hypercompositional structure. Whenever there is no risk of confusion, we will write x y instead of x y . Furthermore, we restricted our study to hypercompositional structures equipped with a single hyperoperation. A hyperoperation in H induces an operation in P ( H ) , defined by
A B = a A , b B a b , for all A , B P ( H ) .
Throughout this paper, we identify each singleton with its unique element. Therefore, if A is the singleton { a } , then we will write a B instead of { a } B and similarly if B is a singleton.
A hypercompositional structure H is called a semihypergroup if its hyperoperation is associative; i.e.,
a ( b c ) = ( a b ) c , for all a , b , c H .
A hypercompositional structure H is called a quasihypergroup if its hyperoperation is reproductive; i.e.,
a H = H = H a , for all a H .
A hypercompositional structure H is called a hypergroupoid if the hypercomposition of any two elements of H is a nonempty set. A hypercompositional structure H that is both associative and reproductive is called a hypergroup. One can easily prove that every hypergroup is a hypergroupoid [17]. A hypercompositional structure is called an H v -semigroup if its hypercomposition is weakly associative; that is,
a ( b c ) ( a b ) c , for all a , b , c H .
An H v -semigroup that is also reproductive is called an H v -group [29].
An element e in a hypercompositional structure H is called a partial right identity if there is an element x H such that x x e . Analogously, e H is a partial left identity if there is x H such that x e x . An element e H is a partial identity if it is a partial right identity or a partial left identity. The sets of partial right identities and partial left identities are denoted by I p , r ( H ) and I p , l ( H ) , respectively. It follows that the set of partial identities is
I p ( H ) = I p , r ( H ) I p , l ( H ) .
An element e in H is called a right identity if x x e holds for all x H . Similarly, e H is said to be a left identity in H if x e x for all x H . Thus, e H is called an identity if x e x x e for all x H . The set of right identities in H is denoted by i r ( H ) , while the set of left identities in H is denoted by i l ( H ) . It follows that the set of identities in H is
i ( H ) = i r ( H ) i l ( H ) .
A subset K of H is multiplicatively closed if x y K holds for all x , y K . A subhypergroup K of a hypergroup H is a nonempty reproductive subset of H; that is, x K = K = K x for any x in K. This also implies that, for any x , y K , we have x y x K = K ; i.e., subhypergroups are multiplicatively closed. The definition of H v -subgroups follows mutatis mutandis.

3. A General Definition for the β Relation

In this section, we give the definitions of regular and strongly regular relations in a hypergroupoid. These coincide with the definitions given in [15] in the context of semihypergroups.

3.1. The Fundamental Relation on Hypergroupoids

Definition 1.
Let H be a hypergroupoid and let ρ be an equivalence on H.
  • We say that ρ is regular on the right if for all a , b H ,
    a   ρ   b x H , u a x , v b x , such that u   ρ   v .
    Similarly, the regularity on the left can be defined. An equivalence relation that is both regular on the right and regular on the left is called regular.
  • We say that ρ is strongly regular on the right if for all a , b H ,
    a   ρ   b x H , u a x , v b x , we have u   ρ   v .
    Similarly, the strong regularity on the left can be defined. An equivalence relation that is both strongly regular on the right and on the left is called strongly regular.
Notation 1.
We denote by H / ρ the quotient set of H with respect to an equivalence ρ. For each x H , we denote the equivalence classes of x by x ¯   : =   { z H : x   ρ   z } .
Theorem 1.
Let H be a hypergroupoid and let ρ be an equivalence in H. Then ρ is regular if and only if the hyperoperation on the quotient set H / ρ defined by
x ¯ y ¯   : =   { z ¯ z x y }
is well defined.
Proof. 
( ) Assume that ρ is regular and let x ρ x , y ρ y . We prove x y = x y . Let u ¯ x ¯ y ¯ ; then we have u x y . By the regularity on the right, there exists v x y such that u ρ v . Moreover, the regularity on the left implies that there exists w x y such that v ρ w . By the transitivity of ρ , we have u ρ w ; i.e., u ¯ = w ¯ x y . This proves x y x y . Similarly, the reverse inclusion follows.
( ) Let a , b H be such that a ρ b and let x be an arbitrary element in H. If u a x , then u ¯ a ¯ x ¯ = b ¯ x ¯ . Hence, there exists v b x such that u ρ v . This proves the left regularity of ρ . Similarly, the right regularity follows. □
Remark 1.
Every strongly regular relation is also regular. Obviously, if ρ is a regular relation in a hypergroupoid H, then the canonical projection π : H H / ρ verifies the identity π ( x y ) = π ( x ) π ( y ) for all x , y H ; that is, π is a good homomorphism.
Definition 2.
Let H be a hypergroupoid. The fundamental relation β on a hypergroupoid H is the smallest equivalence (with respect to inclusion) such that ( H / β , ) is a group. The quotient group H / β is called the fundamental group.
Here we give a definition for the relation β in the general framework of hypergroupoids. Let H be a hypergroupoid and let a 1 , , a n H . We denote by i = 1 k a i the set of all hyperproducts of a 1 , , a n , chosen in this order, with all possible parentheses among them. For any n N , we define the following sequence of subsets of H:
  • U 1 = { { x } x H } ;
  • U n = { u u i = 1 n a i for some a 1 , , a n H } for all n > 1 .
Then, we set U = n 1 U n .
Remark 2.
For any n 1 , U n contains all hyperproducts of n factors of H. In particular, singletons in U 1 are considered as hyperproducts of 1 factor. It follows that U is the set of all finite hyperproducts of H.
Definition 3.
Let H be a hypergroupoid. For any x , y H , we define the relation β as follows:
x   β   y u U such that { x , y } u .
It is easy to see that β is reflexive and symmetric, but not transitive, in general. The transitive closure of β is denoted by β ^ .
Remark 3.
We note that Definition 3 coincides with the definition of the β relation introduced by Vougiouklis for H v -semigroups [29]. If ( H , ) is a semihypergroup and a 1 , , a n H , then the set i = 1 n a i reduces to a singleton { a 1 a n } . Thus, i = 1 n a i can be identified with its unique element u = a 1 a n .
If H is a semihypergroup, the definition of the relation β can be rewritten as
x   β   y n N , a 1 , , a n H such that { x , y } a 1 a n .
This formulation coincides with the definition of the relation β given by Koskas in [21].
Theorem 2.
Let H be a hypergroupoid. Then β ^ is strongly regular in H.
Proof. 
Let x , y     H such that x β ^ y and let a be an arbitrary element in H. It follows that there exist x 0 = x , x 1 , , x n = y such that x i β x i + 1 for all i { 0 , 1 , n 1 } . Let r 1 x a and r 1 y a . We prove r 1 β ^ r 1 . From x i β x i + 1 it follows that there exists u i U such that { x i , x i + 1 } u i . Thus, x i a u i a and x i + 1 a u i a . It follows that for any s i x i a , we have s i β s i + 1 , i { 0 , 1 , n 1 } . Then, if we take s 0 = r 1 and s n = r 2 we obtain r 1 β ^ r 2 . This shows that β ^ is strongly regular on the right. The strong regularity on the left follows dually. □

3.2. The Heart of a Hypergroup and of an H v -Group

By Theorem 1, hyperoperation ⊗ is well defined in H / β ^ . Moreover, Vougiouklis [29] proved that if H is an H v -group, then β = β ^ ; in particular H / β ^ is a group and coincides with the fundamental group H / β . Since hypergroups form a subclass of H v -groups, this result also holds for hypergroups (see also [21]). Let 1 H / β be the identity in H / β . The β -class of 1 H / β is called the heart of H and is denoted by ω H . Furthermore, the canonical projection π : H H / β is a good homomorphism, and hence ω H is the kernel of the canonical projection π , namely,
ω H { x H : π ( x ) = 1 H / β } .
Freni in [23] proved that for hypergroups, the equality β = β ^ = β also holds. It is still unknown whether this identity holds for the H v -groups.
Theorem 3.
([23]). Let H be a reproductive semihypergroup (i.e., a hypergroup). Then β = β .
In what follows, we recall the notion of the complete part of a semihypergroup H and present a connection to the heart in the case of hypergroups.
A nonempty subset A of a semihypergroup H is called a complete part if n N and ( x 1 , , x n ) H n ,
x 1 x n A x 1 x n A .
It is easy to see that the class of complete parts of H is closed under intersection. Therefore, for a nonempty subset A of H, the complete closure of A can be defined as the intersection of all the complete parts of H that contain A. This is indicated by C ( A ) . An increasing chain of subsets of H can be defined to describe the complete closure of A. This leads to the definition of a new equivalence relation, which is equivalent to β .
Let H be a semihypergroup and let A be a nonempty subset of H. For all n N , we define the following chain of subsets K n ( A ) recursively:
K 1 ( A ) : = A , K n ( A ) : = { x H | p N , a 1 , , a p H such that x i = 1 p a i and i = 1 p a i K n 1 ( A ) } .
Let K ( A ) = n 1 K n ( A ) .
Theorem 4.
([15]). K ( A ) = C ( A ) .
Notation 2.
If there is no risk of confusion, we will write C ( x ) instead of C ( { x } ) and K ( x ) instead of K ( { x } ) .
For x , y H , define the relation K as follows:
x   K   y y K ( x ) .
It can be shown that K is an equivalence relation (see [15]). In particular, we have the following results.
Theorem 5.
([15]). Let H be a semihypergroup. Then the relations β and K coincide. In particular, for any x H , the β -class of x coincides with both K ( x ) and C ( x ) ; i.e.,
x ¯ = K ( x ) = C ( x ) .
Theorem 6.
([15]). Let H be a hypergroup and let A be a subset of H. Then
C ( A ) = A ω H = ω H A .
The following result will be used to compute the heart of a hypergroup when a partial identity is known.
Corollary 1.
Let H be a hypergroup and let e H be a partial identity. Then we have
ω H = e ¯ .
Proof. 
Without loss of generality, we may assume that there exists x H such that x x e . Using the canonical projection π : H H / β , we have the identity
π ( x ) = π ( x ) π ( e )
and since we are in a group (the fundamental group), the cancelation law yields π ( e ) = 1 H / β ; i.e., e ω H . As ω H is a subhypergroup (see [23]), the reproductivity holds, and we have e ω H = ω H = ω H e . By Theorems 5 and 6, it follows that ω H = e ω H = C ( e ) = e ¯ . □
A hypergroup is called complete if every hyperproduct of it is a complete part. The heart of a complete hypergroup consists of the set of its bilateral identities (see Theorem 13, Chapter VI, [9]).

4. Computing the Set of Finite Hyperproducts and the β Relation in a Hypergroupoid

In what follows, we will consider a finite hypercompositional structure with a single hyperoperation. Following the idea in [7], any finite hypercompositional structure H can be explicitly defined by its Cayley table (or synthesis table), that is, a matrix M of type n × n , with rows and columns indexed by the elements of H, where the entry at position ( a , b ) corresponds to the result of hyperoperation a b P ( H ) . The Cayley table can be constructed in several ways:
  • Manually, filling the subset a b into a matrix for each pair ( a , b ) H × H ;
  • Automatically, using a defining function that specifies the hyperoperation for all such pairs.
Example 1.
The hypercompositional structure in Listing 1 is implemented manually by specifying the entries of the matrix M. For a clear visualization of the Cayley table, we provide a dedicated function,show_cayley_table, available in the accompanying repository [33]. Since its implementation is not relevant to the mathematical discussion, we omit the source code from the listings.
Listing 1. Example of input data.
Computation 13 00261 i001
Example 2.
In Listing 2 we define a set H and a generating function computing the b_hyperoperation, which is defined as x y = { x , y } for all x , y H (see [17]). The functionnew_from_function(Listing 3) is then used to automatically fill the corresponding Cayley table.
Listing 2. The b_hypercomposition on H = {a,b,c}.
Computation 13 00261 i002
Listing 3. MatLab code for new_from_function.
Computation 13 00261 i003
In this section, we present an algorithm to compute the elements of the relation β for a finite hypergroupoid H, following an approach similar to that in [8]. Employing the Warshall algorithm [35], we can obtain the transitive closure β , which we can use to compute the fundamental group of a hypergroup H and of an H v -group, as well as the heart ω H . Proposition 1 and Corollary 2 allow for the computation of the set U of all finite hyperproducts of elements in H, which is an important step for the computation of β .
In fact, if U is known, then we have
β = { ( x , y ) H × H : u U with { x , y } u } = u U u × u ,
where the equality holds because ( x , y ) u × u if and only if both x u and y u . The algorithms for computing U and the elements in β are given in Algorithm 1 and Algorithm 2, respectively.
Algorithm 1 Computation of the set U of all finite hyperproducts.
Input: finite set H and Cayley table M defining a hyperoperation
Output: U P ( H ) of all finite hyperproducts
   1:
function HyperproductsSet( H , M )         ▹H finite set, M Cayley table
   2:
       A prev ;              ▹ Initialize previous set to emptyset
   3:
       A curr { { x } x H } ;                 ▹ Start with singletons A 0
   4:
      while A prev A curr do
   5:
           A prev A curr ;
   6:
           A curr A curr { q q q , q A prev } ;
   7:
      end while
   8:
      return A curr                    ▹ Final set equals A m = U
   9:
end function
Algorithm 2 Computation of the β relation.
Input: finite set H and Cayley table M defining a hyperoperation
Output:  β
  1:
function GetBetaRelation( ( H , M ) )
  2:
      β
  3:
      U HyperproductsSet (H,M)   ▹ Get all hyperproducts (see Algorithm 1)
  4:
     for u U do
  5:
            for x u do
  6:
             for y u do
  7:
               β β { ( x , y ) } ;
  8:
             end for
  9:
           end for
10:
     end for
11:
     return β
12:
end function

4.1. An Increasing Chain of Subsets of H to Compute U

In this subsection, we introduce an increasing chain of subsets of H, and in Proposition 1 and Corollary 2 we show how it can be used to compute the set U of all finite hyperproducts of H in finitely many steps.
Definition 4.
Let H be a hypergroupoid. For n N , we define the following recursively:
  • A 0 : = { x } : x H (the set of singletons);
  • For n > 0 , A n : = A n 1 q q : q , q A n 1 .
Furthermore, we set A = n 0 A k .
In other words, each set A n contains all hyperproducts in H with at most 2 n factors. This follows immediately by induction on n. Indeed, for n = 0 , we see that A 0 is the set of all singletons, and these are precisely the hyperproducts of the 1-factor of H. Moreover, if p A n then p A n 1 or p = q q for some q , q A n 1 . In the first case p has at most 2 n 1 factors by induction, and the thesis follows. In the second case, p is the hyperproduct of q , q A n 1 ; thus p has at most 2 · 2 n 1 = 2 n factors. Thus, A U , where U is the set of all finite hyperproducts of elements in H. Conversely, if u U , then u U k for some k N ; i.e., u is a hyperproduct of k factors. Then, it follows that u A l for l log 2 k , and hence u A . This proves U A . Therefore, we have proved the following theorem.
Theorem 7.
Let H be a hypergroupoid and let U be the set of all finite hyperproducts. Let ( A n ) n N be as in Definition 4. Then U = A .
Proposition 1.
Let H be a finite hypergroupoid and let ( A n ) n N be as in Definition 4. Then the following hold:
  • A n A n + 1 for all n N .
  • The sequence ( A n ) must eventually stabilize; that is, there exists m N such that A m = A m + j for all j 1 . We will call m the stabilization index.
  • Let m be the stabilization index. Then m is the minimum value such that A m = A m + 1 .
Proof. 
  • It follows immediately by Definition 4.
  • By Item 1, we have that A n + 1 extends to A n for all n N . But A n P ( H ) for all n N , and since H is finite, so is P ( H ) . Therefore, the sequence must eventually stabilize to some finite number m N .
  • It is enough to prove that if k N is such that A k = A k + 1 , then A k = A k + j for all j 1 , and hence k = m . We use induction in j. The base case follows from the hypothesis. Assuming A k = A k + j 1 , we prove A k = A k + j . Since A k = A k + 1 we also have A k + 1 = A k + j 1 . It follows that A k + j = A k + j 1 { q q : q , q A k + j 1 } = A k { q q : q , q A k } = A k + 1 = A k .
  □
Notice that A 0 = U 1 , A 1 = U 2 .
Corollary 2.
Let H be a finite hypergroupoid and U be the set of all finite hyperproducts of elements of H. Let ( A n ) n N be as in Definition 4 and let m be the stabilization index. Then U = A m .
Example 3.
Let H = { z 1 , z 2 , z 3 , z 4 } . We consider the following table:
z1z2z3z4
z1{z1}{z2}{z3,z4}{z4}
z2{z2}{z1,z2}{z3,z4}{z3,z4}
z3{z3}{z3,z4}{z1,z2}{z1,z2}
z4{z3,z4}{z3,z4}{z1,z2}{z1,z2}
Then ( H , ) is a hypergroup; z 1 is an identity, because z i z 1 z i z i z 1 , for all i { 1 , 2 , 3 , 4 } .
z 2 is a partial identity, since z 2 z 2 z 2 . Notice that z 2 is not an identity, since z 1 z 1 z 2 .
We have ( z 1 , z 2 ) β , ( z 3 , z 4 ) β , since z 2 z 2 = { z 1 , z 2 } , z 2 z 3 = { z 3 , z 4 } .
There are not hyperproducts that contain both z 1 , z 3 or both z 2 , z 4 ; hence ( z 1 , z 3 ) β , ( z 1 , z 4 ) β . We have U 1 = { { z 1 } , { z 2 } , { z 3 } , { z 4 } } , U 2 = { { z 1 } , { z 2 } , { z 3 } , { z 4 } , { z 1 , z 2 } , { z 3 , z 4 } } .
Therefore,
ω H = I p ( H ) = { z 1 , z 2 } .
Example 4.
([9]). Let ( A , · ) be a total hypergrop (i.e., x · y = A for all x , y A ) such that | A | 2 .
Let T be a set such that A T , T = { t i i N * } , with t i t j for i , j different elements.
We define the following hyperoperation on H = A ∪ T:
x · y = y · x = A , if ( x , y ) A 2 ;
x · y = y · x = ( A { x } ) T , if ( x , y ) A × T ;
x · y = y · x = A { t i + j } , if ( x , y ) = ( t i , t j ) T 2 .
Then ( H , · ) is a hypergroup. Let us calculate its heart ω H .
We have I p ( H ) = A , since x , y A , x x · y .
Notice that t 1 t n = A { t n + 1 } , a · t i = ( A { a } ) T , for all a A .
We have U 2 = { A , A { t n } , ( A { a } ) T n 2 , a A } .
Hence for all a A , t T we have a β t , whence ω H = H .

4.2. Algorithm Computing U and β

Here we present pseudocodes to compute the set U of all finite hyperproducts of elements of H. Furthermore, we can compute the elements in β as discussed in the previous section, see (4). These algorithms have been implemented in Rust version 1.91.0 and Matlab and are available in the following repositories [33,34].
The stabilization index m introduced in Proposition 1 satisfies the inequality
m 2 | H | 1 | H | .
Indeed, the sequence starts with A 0 , which has cardinality equal to | H | , and at each step at least one new element is added until the stabilization is reached. This means that we can compute the set A m in a finite number of steps, which is less than or equal to 2 | H | 1 | H | . By Corollary 2, this is equivalent to computing the set U.
The pseudocode is presented in Algorithm 1.
Now, using the identity (4), the elements of the relation β are easily computed, as shown in Algorithm 2.
The transitive closure β can be calculated using the Warshall algorithm [35], as shown in Algorithm 3. However, it should be noted that this step is unnecessary in the case of a hypergroup, as discussed in Theorem 3.
Algorithm 3 Warshall algorithm for transitive closure.
Input: A finite set H, a relation β on H
Output: The transitive closure β ^
  1:
functionGetTransitiveClosure( H , β )
  2:
     n c a r d i n a l i t y ( H )
  3:
     β ^
  4:
     T GetZeroOneMatrix(H,β)      ▹ Initialize relation matrix of β
  5:
    for k = 1 to n do
  6:
        for i = 1 to n do
  7:
         for j = 1 to n do
  8:
               if T ( i , k ) and T ( k , j ) then
  9:
                        T ( i , j ) 1 ;
10:
               end if
11:
         end for
12:
        end for
13:
    end for
14:
     β ^ F r o m M a t r i x T o R e l a t i o n ( T )    ▹ Convert the matrix into a relation
15:
    return β ^
16:
end function

5. Computation of the Heart in Hypergroups and H v -Groups

In what follows, we will present algorithms that compute the heart ω H of a hypergroup H and of an H v -group. We will adopt the following procedure for a hypergroup, which is based on Corollary 1.
Step 1:
Find the β -equivalence classes of H.
Step 2:
Find at least one partial identity e I p . (Note that not all hypergroups have identities, but every hypergroup has partial identities.)
Step 3:
Determine the heart ω H by finding the β -equivalence class of e.
In the case of an H v -group, the naive procedure will be applied, i.e., the following:
Step 1:
Find the quotient set H / β .
Step 2:
Implement the hyperoperation as in Equation (1), which will turn it into the fundamental group.
Step 3:
Find the identity 1 H / β and obtain the elements in its class.

5.1. Computation of the Heart of a Hypergroup

As described in Corollary 1, if H is a hypergroup and e H is a partial identity, then
ω H = e ¯ .
Algorithm 4 describes how to determine the partial identities of a hypercompositional structure. In Algorithm 5 we present an algorithm that computes the β -class of an element x H .
Algorithm 4 Computation of partial identities in H.
Input: A finite set H, the Cayley table M defining a hyperoperation
Output: The set of partial identities in H
  1:
function CollectPartialIdentities( H , M )
  2:
     n c a r d i n a l i t y ( H ) ;
  3:
     p a r t i a l _ i d e n t i t y false ; n            ▹ Initialize logical array of size n = | H |
  4:
    for i H do
  5:
        for j H do
  6:
         if j m i j or j m j i then    ▹ Check left or right partial identity condition
  7:
                p a r t i a l _ i d e n t i t y [ i ] true ;
  8:
              break                      ▹ Proceed to next i
  9:
         end if
10:
        end for
11:
    end for
12:
    return p a r t i a l _ i d e n t i t y
13:
end function
Algorithm 5 Computation of the class of an element x H with respect to an equivalence ρ .
Input: A finite set H, an element x in H, an equivalence ρ
Output: The ρ -class of x
  1:
function GetClass( H , x , ρ )
  2:
     c l a s s         ▹ Initialize the β -class to emptyset
  3:
    for z H do
  4:
        if ( x , z ) ρ then       ▹ If x ρ z , add z to the class
  5:
          c l a s s c l a s s { z }
  6:
        end if
  7:
    end for
  8:
    return c l a s s
  9:
end function
By combining these two procedures, we obtain an algorithm to compute the heart of a hypergroup, as detailed in Algorithm 6.
Algorithm 6 Compute the heart of a hypergroup.
Input: A finite set H, the Cayley table M
Output: The heart ω H
  1:
function HeartHypergroup( H , M )  ▹H finite hypergroup with Cayley table M
  2:
    if not IsHypergroup( H , M ) then
  3:
        errorH is not a hypergroup!”
  4:
    end if
  5:
    β = GetBetaRelation (H,M)
  6:
     I p CollectPartialIdentities( H , M )
  7:
    for k I p do
  8:
        if k is true then
  9:
          ω H G e t C l a s s ( H , k , β )
10:
         return ω H
11:
        end if
12:
    end for
13:
end function

5.2. Computation of the Heart of an H v -Group

The computation of the heart of a hypergroup described in Section 5.1 is based on Theorem 3, Corollary 1, and its proof depends on the results in Theorems 5 and 6, where the associativity of the hypercompositional structure is an essential hypothesis. In the larger context of H v -groups, the same result cannot be directly applied, as the associative is not true in general. Moreover, as underlined in [23], it is not clear if β and its transitive closure β ^ coincide for H v -groups. However, in [29], the author shows that the transitive closure β ^ and the fundamental relation β are equal also in the case of an H v -group. Then, the following naive procedure can by applied to compute the heart of an H v -group. We first compute β as described in Section 4.2. Then we compute its transitive closure β ^ (which coincides with β ) using the Warshall algorithm Algorithm 3, and we collect the quotient set H / β ^ , as described in Algorithm 7. Then, in Algorithm 8, we compute the Cayley table of the fundamental group H / β , where the law of synthesis is introduced in Equation (1). Its identity e ¯ is easily computed through Algorithm 9 and the elements in this class are the elements of ω H .
Algorithm 7 Compute the quotient set of H modulo an equivalence ρ .
Input: A finite set H, an equivalence relation ρ
Output: The quotient set H / ρ
  1:
function QuotientSet( H , ρ )
  2:
     quotient _ set                    ▹ Empty list of classes
  3:
    for x H do
  4:
         n e w _ c l a s s G e t C l a s s ( H , x , ρ )
  5:
        if n e w _ c l a s s q u o t i e n t _ s e t then       ▹ Check if class is already listed
  6:
          q u o t i e n t _ s e t q u o t i e n t _ s e t { n e w _ c l a s s } ;
  7:
        end if
  8:
    end for
  9:
    return q u o t i e n t _ s e t
10:
end function
Algorithm 8 Computation of the fundamental group.
Input: A finite set H, a Cayley table M defining a hyperoperation
Output: The fundamental group H / β ^
  1:
function FundamentalGroup( H , M )
  2:
     β BetaRelation(H,M);
  3:
     β ^ TransitiveClosure(H,β);
  4:
     H / β ^ QuotientSet ( H , β ^ ) ;
  5:
     n c a r d i n a l i t y ( H / β ^ ) ;
  6:
     I { 1 , , n } ;             ▹ The indexes for the Cayley table
  7:
     C a y l e y _ T a b l e ;            ▹ Initialize Cayley table to empty
  8:
    for ( i , x ¯ ) I × H / β ^ do
  9:
        for ( j , y ¯ ) I × H / β ^ do
10:
          x ¯ y ¯
11:
         for a x ¯ do
12:
               for b y ¯ do
13:
                         x ¯ y ¯ x ¯ y ¯     Hyperoperation(H,M,a,b);
14:
               end for
15:
         end for
16:
          C a y l e y _ T a b l e ( i , j ) x ¯ y ¯ ;
17:
        end for
18:
    end for
19:
    return H / β ^ , C a y l e _ T a b l e
20:
end function
Algorithm 9 Computation of identities in H.
Input: A finite set H, a Cayley table M defining the hyperoperation
Output: The set of identities in H
  1:
function CollectIdentities( H , M )        ▹H finite set, M Cayley table
  2:
     n c a r d i n a l i t y ( H ) ;
  3:
     i d e n t i t i e s ;                 ▹ Initialize set of identities
  4:
    for all e H do
  5:
        for all j H do
  6:
         if j m e j  or  j m j e  then         ▹ Check identity condition
  7:
               continue
  8:
         else
  9:
                identities identities { e }
10:
         end if
11:
        end for
12:
    end for
13:
    return i d e n t i t i e s
14:
end function
Remark 4.
Obviously, the procedure described above is also valid for hypergroups, since every hypergroup is an H v -group.

6. Experimental Analysis of the Stabilization Index

To study the asymptotic behavior of the stabilization index m with respect to the cardinality of the underlying hypergroupoid H, we performed a random sampling experiment. For each cardinality | H | { 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 } we generated 500 random hypergroupoids and computed the stabilization index m of the sequence ( A n ) defined in Definition 4. For each cardinality, we record the empirical mean, standard deviation, and minimum and maximum values of m, as well as the ratio m / | H | . Our analysis is presented in Table 1 with the support of Figure 1,Figure 2,Figure 3. We can state the following:
  • The mean stabilization index m remains small and increases only slightly with | H | , staying close to 3 even for | H | = 12 .
  • The ratio m / | H | decreases, supporting the hypothesis that m grows most sublinearly with the cardinality of H.
  • Standard deviations decrease slightly as cardinality increases, indicating that larger random hypergroupoids tend to have even more consistent stabilization indices.
  • The minimum and maximum values show that, although the mean is stable, some variation still exists among random instances.
Figure 1. Mean stabilization index m with standard deviations for each cardinality | H | .
Figure 1. Mean stabilization index m with standard deviations for each cardinality | H | .
Computation 13 00261 g001
Figure 2. Ratio m / | H | as a function of the cardinality.
Figure 2. Ratio m / | H | as a function of the cardinality.
Computation 13 00261 g002
Figure 3. Minimum, mean, and maximum stabilization index m per cardinality.
Figure 3. Minimum, mean, and maximum stabilization index m per cardinality.
Computation 13 00261 g003
Table 1. Empirical behavior of the stabilization index m as a function of | H | .
Table 1. Empirical behavior of the stabilization index m as a function of | H | .
| H | Mean mStd. Dev.MinMaxRatio m / | H |
32.500.55240.832
42.880.46240.720
53.130.39260.626
63.200.43360.533
73.290.47350.470
83.250.46350.407
93.210.42350.357
103.170.38350.317
113.100.29340.281
123.060.24340.255
In general, these experiments support the hypothesis that, for randomly generated hypergroupoids, the stabilization index is typically a small integer essentially independent of | H | for the tested range and that its relative size decreases with increasing cardinality. Further experiments with larger cardinalities and sample sizes would allow a more refined statistical analysis and perhaps the formulation of an asymptotic limit for m.

7. A Matlab R2018B Session

The authors have prepared a GitHub repository that contains complete implementations of the algorithms presented in the preceding sections. In this section, we illustrate the computation of the heart of a hypergroup and of an H v -group using our Matlab-based code. Additional utility functions and test cases are also provided (see [33]). For comparison, a more advanced and efficient library implemented in Rust version 1.91.0 with similar functionality is available (see [34]).
In Listing 4, we define a set H of cardinality 7 along with a Cayley table describing a hyperoperation on H. The function show_cayley_table produces a neatly formatted visualization of this Cayley table for a hypercompositional structure. It is available in the same repository, in the file show_cayley_table.m.
Listing 4. A hypercompositional structure of order 7.
Computation 13 00261 i004
In Listing 5, we verify whether the given hypercompositional structure satisfies the axioms of a hypergroup. We remind the reader that, in standard Matlab notation, logical values are represented by 0 for false and 1 for true. The calculation confirms that the structure H 7 indeed forms a hypergroup.
Listing 5. Verification of hypergroup axioms for H7.
Computation 13 00261 i005
We can show the partial identity analysis by calling the function show_partial_ identities (see Listing 6). The calculation shows that a is the only partial identity in H 7 . Therefore, by Corollary 1, we expect the heart of H 7 to be the singleton { a } . The heart computation is performed by the function heart, as described in Algorithm 6. Its output is presented in Listing 7, and it matches the expected result.
Listing 6. Partial identities analysis.
Computation 13 00261 i006
Listing 7. Computation of the heart of H7.
Computation 13 00261 i007
In Listing 8 we define a set H with cardinality 10 with a Cayley table that identifies a hyperoperation. The computation shows that this hypercompositional structure is an H v -group.
Listing 8. Computation of the heart of a Hv-group.
Computation 13 00261 i008
The fundamental group is computed in Listing 9. The corresponding Cayley table is printed using the show_cayley_table function, from which one can verify that the fundamental group is isomorphic to Z 5 . An analysis of the group structure shows that the identity element corresponds to the class { a , f } , which represents the heart of H.
Listing 9. Computation of the heart of a Hv-group.
Computation 13 00261 i009

8. Computational Performance of Heart Computation in Hypergroups

An important aspect of our study is the computational cost of computing the heart of a hypergroup. We compared two methods: the shortcut procedure valid for hypergroups (see Corollary 1 and Algorithm 6) and the naive procedure applicable to the wider class of H v -groups (see Algorithm 10).
Algorithm 10 Computation of the heart of an H v -group( H , M ).
Input: A finite set H, a Cayley table M defining the hyperoperation
Output: The heart ω H
1:
function HeartHv( H , M )
2:
     ω H ;                  ▹ Initialize ω H as the emptyset
3:
     β GetBetaRelation(H,M)
4:
     β ^ GetTransitiveClosure(H,β)
5:
     ( H / β ^ , F ) FundamentalGroup(H,M)
6:
     ω H CollectIdentities ( H / β ^ , F )      ▹ In a group a unique identity exists
7:
    return ω H ;
8:
end function

8.1. Execution Time Analysis in MatLab R2018b

Using the hypergroup H 7 from Listing 4, we measured the execution times in MatLab R2018b. The results are given in Listing 10.
Listing 10. Execution times for the computation of the heart of H7 in MATLAB.
Computation 13 00261 i010
The shortcut method is therefore roughly four times faster than the naive H v -group approach. Table 2 summarizes the results.

8.2. Execution Time Analysis in Rust version 1.91.0

We also implemented both methods in Rust version 1.91.0, taking advantage of its high performance. The same hypergroup H 7 was used. Table 3 summarizes the results.
The shortcut method in Rust version 1.91.0 runs in approximately 0.143 ms, while the naive H v -group method requires 7.55 ms. This shows that the shortcut method is more than 50 times faster than the naive one. Thus, for larger hypergroups, the shortcut method provides a practical and scalable approach to compute the heart, whereas the naive H v -group procedure quickly becomes prohibitive.

8.3. Complexity Analysis

The computation of the heart proceeds through three main algorithmic stages: (1) the generation of the set U of all finite hyperproducts (Algorithm 1), (2) the construction of the β relation (Algorithm 2), and (3) the computation of its transitive closure via Warshall’s algorithm (Algorithm 3). In the first stage, each iteration of Algorithm 1 performs pairwise hyperoperations among subsets of H, requiring O ( | H | 2 ) operations per iteration. Since stabilization occurs after a small number m of iterations (empirically m 4 for | H | 12 ), the overall cost of this phase is O ( | H | 3 ) in time and O ( | H | 2 ) in space. The second stage, Algorithm 2, scans all hyperproducts u U and produces every ordered pair ( x , y ) with x , y u , resulting in a quadratic complexity O ( | H | 2 ) in both time and memory. Finally, the transitive closure step, implemented in Algorithm 3, corresponds to the classical Warshall algorithm with time complexity O ( | H | 3 ) and space complexity O ( | H | 2 ) (see [35]). Consequently, the overall asymptotic complexity of the complete pipeline is O ( | H | 3 ) , which remains computationally tractable for the finite hypergroupoids typically analyzed in this work.

9. Conclusions and Future Works

In this paper, we present a computational approach to study the fundamental relation β . In particular, we extend the definition of the fundamental relation β to the general framework of hypergroupoids. Our main contributions are Theorem 7, Proposition 1, and Corollary 2, which form the basis for a deterministic algorithm (Algorithm 1) to compute the set U of all finite hyperproducts in a hypergroupoid, an essential step in determining the elements of the relation β .
Moreover, determining the heart of a hypergroup can be achieved by considering the class of partial identities (Corollary 1 and Algorithm 6), which are guaranteed to exist in any reproductive hypercompositional structure. The proof of this result relies on the reproductivity of H and on the fact that, in a semihypergroup, the β -class of any x coincides with the complete part of x (Theorem 5).
Our computational and empirical analysis further supports these results. The examples given on the stabilization index of the sequence ( A n ) show that it remains small and essentially bounded, even as the cardinality of the hypergroupoid increases. The ratio m / | H | decreases with the size of H, suggesting sublinear growth of the stabilization index. Additionally, benchmarks comparing the shortcut algorithm for hypergroups and the naive procedure for H v -groups, both in Matlab R2018b/GNU Octave, version 8.4.0 and Rust version 1.91.0, demonstrate significant computational savings when exploiting the algebraic structure, highlighting the practical value of our approach.
However, it remains unclear whether these results can be generalized to the broader class of H v -groups. Future research could focus on extending the notion of a complete part to an H v -semigroup in a consistent manner, with the aim of generalizing Theorem 7, Proposition 1, and Corollary 2. Such an extension would enable the computation of the heart of an H v -group using the same principles as in the case of hypergroups, leading to a more efficient algorithm. Nevertheless, the calculation of the heart for H v -groups remains feasible, as demonstrated by Algorithm 10.

Author Contributions

Conceptualization, E.T.; Methodology, Y.F., E.T. and V.L.-F.; Software, Y.F. and E.T.; Validation, V.L.-F.; Formal analysis, E.T. and V.L.-F.; Writing—original draft, Y.F., E.T. and V.L.-F. All authors have read and agreed to the published version of the manuscript.

Funding

This work is sponsored by the Natural Science Foundation of Chongqing Science and Technology Commission, P.R. China (CSTB2024NSCQ-LZX0083, 2023TIADZXX0017, CSTB2023NSCQ-LZX0135), the Scientific and Technological Research Program of Chongqing Municipal Education Commission, P.R. China (KJZD-K202301023, KJQN202201209, 233356), the Scientific and Technological Research Program of Wanzhou District, P.R. China (WZSTC-20230309), and the National Natural Science Foundation of China (12201086).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Marty, F. Sur une généralisation de la notion de groupe. In Proceedings of the 8 ème Congrès des Mathématiciens, Scandinaves, Stockholm, Sweden, 14–18 August 1934; pp. 45–49. [Google Scholar]
  2. Krasner, M.; Kuntzmann, J. Remarques sur les hypergroupes. C. R. Acad. Sci. 1947, 224, 525–527. [Google Scholar] [CrossRef]
  3. Krasner, M. Sur la Primitivité des Corps B-Adiques; Mathematica: Cluj, Romania, 1937; Volume 13, pp. 72–191. [Google Scholar]
  4. Wall, H.S. Hypergroups. Amer. J. Math. 1937, 59, 77–98. [Google Scholar] [CrossRef]
  5. Dresher, M.; Ore, O. Theory of Multigroups. Amer. J. Math. 1938, 60, 705–733. [Google Scholar] [CrossRef]
  6. Feng, Y.; Leoreanu-Fotea, V. Algorithm for Determining the Strong Fuzzy Grade of a Hypergroup. Algorithms 2025, 18, 540. [Google Scholar] [CrossRef]
  7. Pourhaghani, A.; Anvariyeh, S.M.; Davvaz, B. Algorithms for Finding Specific Elements in Algebraic Hyperstructures with One Hyperoperation. Math. Int. Res. 2025, 10, 49–70. [Google Scholar]
  8. Pourhaghani, A.; Anvariyeh, S.M.; Davvaz, B. An algorithm to calculate the members of the relation β in hypergroupoids. J. Algebr. Hyperstruct. Log. Algebr. 2024, 5, 137–152. [Google Scholar] [CrossRef]
  9. Corsini, P. Prolegomena of Hypergroup Theory; Aviani: Udine, Italy, 1993. [Google Scholar]
  10. Corsini, P.; Leoreanu, V. Applications of Hyperstructure Theory; Advances in Mathematics; Kluwer Academic Publishers: Dordrecht, The Netherlands; Boston, MA, USA; London, UK, 2003. [Google Scholar]
  11. Davvaz, B.; Leoreanu-Fotea, V. Hyperring Theory and Applications; International Academic Press: Palm Harbor, FL, USA, 2008. [Google Scholar]
  12. Davvaz, B.; Leoreanu-Fotea, V. Krasner Hyperring Theory; World Scientific: Singapore, 2024. [Google Scholar]
  13. Davvaz, B. Semihypergroups Theory; Academic Press: Cambridge, MA, USA, 2016. [Google Scholar]
  14. Davvaz, B.; Vougiouklis, T. A Walk Through Weak Hyperstructures; World Scientific Publishing Company: Singapore, 2018. [Google Scholar] [CrossRef]
  15. Davvaz, B.; Leoreanu-Fotea, V. Hypergroup Theory; World Scientific Book: Singapore, 2022; ISBN 978–9811249389. [Google Scholar]
  16. Massouros, G.G. On the hypergroup theory. In Fuzzy Systems & AI-Reports and Letters; Romanian Academy: Bucharest, Romania, 1995; Volume 4. [Google Scholar]
  17. Massouros, C.; Massouros, G. An Overview of the Foundations of the Hypergroup Theory. Mathematics 2021, 9, 1014. [Google Scholar] [CrossRef]
  18. Massouros, G. Hypercompositional Structures in the Theory of the Languages and Automata. Sci. Ann. Cuza Univ. 1994, 3, 65–74. [Google Scholar]
  19. Massouros, G.; Massouros, C. Hypercompositional Algebra, Computer Science and Geometry. Mathematics 2020, 8, 1338. [Google Scholar] [CrossRef]
  20. Leoreanu-Fotea, V.; Hoskova-Mayerova, S. Join Spaces and Lattices. Axioms 2024, 13, 705. [Google Scholar] [CrossRef]
  21. Koskas, M. Groupoides, Demi-hypergroupes et hypergroupes. J. Math. Pures Appl. 1970, 49, 155–192. [Google Scholar]
  22. Sureau, Y. Hypergroupes opérant transitivement sur un ensemble. In Annales Scientifiques de l’Université de Clermont; Mathématiques; UER de Sciences Exactes et Naturelles de l’Université de Clermont: Clermont-Ferrand, France, 1979; Volume 68, pp. 83–96. [Google Scholar]
  23. Freni, D. A note on the core of a hypergroup and on the transitive closure β of β. Riv. Mat. Pura Appl. 1991, 8, 153–156. [Google Scholar]
  24. Leoreanu, V. On the heart of join spaces and of regular hypergroups. Riv. Mat. Pura Appl. 1996, 17, 133–142. [Google Scholar]
  25. Leoreanu, V. The heart of some important classes of hypergroups. Pure Math. Appl. 1998, 9, 351–360. [Google Scholar]
  26. Leoreanu, V. The class of hypergroups in which the heart is the set of identities. Mathematics 1999, 54, 49–54. [Google Scholar]
  27. Hošková-Mayerová, Š.; Antampoufis, N. A Brief Survey on the Two Different Approaches of Fundamental Equivalence Relations on Hyperstructures. Ratio Math. 2017, 33, 47–60. [Google Scholar]
  28. Vougiouklis, T. Fundamental relations in hyperstructures. Bull. Greek Math. Soc. 1999, 42, 113–118. [Google Scholar]
  29. Vougiouklis, T. Hyperstructures and Their Representations; Hadronic Press: Palm Harbor, FL, USA, 1994. [Google Scholar]
  30. Tahan, M.A.; Davvaz, B. Hv module of functions over Hv ring of arithmetics and its fundamental modules. An. St. Univ. Ovidius Constanţa 2024, 32, 5–18. [Google Scholar]
  31. Zare, A.; Davvaz, B. On topological quotient hyperrings and α*-relation. An. St. Univ. Ovidius Constanța 2025, 33, 179–193. [Google Scholar]
  32. Dramalidis, A. Geometical Hv-Structures. Structure Elements of Hyperstructures. In Proceedings of the 13-AHA Conference-Algebraic Hyperstructures and Their Applications, Samothrace, Greece, 1–9 September 2002; Lygeros, N., Vougiouklis, T., Eds.; Spanidis Press: Alexandoupolis, Greece, 2005; pp. 41–52. [Google Scholar]
  33. Talotti, E. Heart_Hypergroups, GitHub Repository. 2025. Available online: https://github.com/enh11/heart_hypergroups (accessed on 30 September 2025).
  34. Talotti, E. Hypercompositional_Structures, GitHub Repository. 2025. Available online: https://github.com/enh11/hypercompositional_structures (accessed on 15 October 2025).
  35. Rosen, K. Discrete Mathematics and Its Applications, 8th ed.; McGraw Hill: New York, NY, USA, 2018. [Google Scholar]
Table 2. Computational time comparison for computing the heart of H 7 using MATLAB.
Table 2. Computational time comparison for computing the heart of H 7 using MATLAB.
MethodTime (s)
Shortcut (Algorithm 6)0.138
Naive H v -group method0.539
Table 3. Computational time comparison for computing the heart of H 7 using Rust.
Table 3. Computational time comparison for computing the heart of H 7 using Rust.
MethodTime
Shortcut (Algorithm 6)142.956 μ s
Naive H v -group method7.55193 ms
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Feng, Y.; Talotti, E.; Leoreanu-Fotea, V. Computation in Algebraic Hyperstructures. Computation 2025, 13, 261. https://doi.org/10.3390/computation13110261

AMA Style

Feng Y, Talotti E, Leoreanu-Fotea V. Computation in Algebraic Hyperstructures. Computation. 2025; 13(11):261. https://doi.org/10.3390/computation13110261

Chicago/Turabian Style

Feng, Yuming, Enrico Talotti, and Violeta Leoreanu-Fotea. 2025. "Computation in Algebraic Hyperstructures" Computation 13, no. 11: 261. https://doi.org/10.3390/computation13110261

APA Style

Feng, Y., Talotti, E., & Leoreanu-Fotea, V. (2025). Computation in Algebraic Hyperstructures. Computation, 13(11), 261. https://doi.org/10.3390/computation13110261

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