Next Article in Journal
Hölder Inequalities for a Generalized Subclass of Univalent Functions Involving Borel Distributions
Next Article in Special Issue
Upper and Lower Bounds for the Spectral Radius of Generalized Reciprocal Distance Matrix of a Graph
Previous Article in Journal
A Model for the Proliferation–Quiescence Transition in Human Cells
Previous Article in Special Issue
Parity Properties of Configurations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

State Machines and Hypergroups

by
Gerasimos G. Massouros
1,* and
Christos G. Massouros
2
1
School of Social Sciences, Hellenic Open University, Aristotelous 18, GR 26335 Patra, Greece
2
Core Department, National and Kapodistrian University of Athens, Euripus Campus, GR 34400 Euboia, Greece
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(14), 2427; https://doi.org/10.3390/math10142427
Submission received: 19 June 2022 / Revised: 3 July 2022 / Accepted: 5 July 2022 / Published: 12 July 2022
(This article belongs to the Special Issue Algebraic Structures and Graph Theory)

Abstract

:
State machines are a type of mathematical modeling tool that is commonly used to investigate how a system interacts with its surroundings. The system is thought to be made up of discrete states that change in response to external inputs. The state machines whose environment is a two-element magma are investigated in this study, focusing on the case when the magma is a group or a hypergroup. It is shown that state machines in any two-element magma can only have up to three states. In particular, the quasi-automata and quasi-multiautomata state machines are described and enumerated.
MSC:
20N20; 18B20; 68Q70

1. Introduction

The state machines and the hypergroups are mathematical achievements of the twentieth century. The state machines are mathematical models which are mostly used for the study of actual physical or behavioral processes. Their roots can be traced back to mathematical logic and they are the primary and major components of Computer Theory. Alan Mathison Turing (1912–1954) developed his theoretical universal-algorithm machine to address the question of whether an algorithm for providing proofs whenever they do exist can be found and he discovered that some tasks which this abstract machine is expected to be able to perform are impossible even for it. The usefulness of the state machines quickly began to spread in other sciences as well. For example, Warren Sturgis McCulloch (1898–1969) and Walter Harry Pitts (1923–1969) created a mathematical model in neuroscience [1]. The model they constructed for a “neural net” was a state machine of the same nature as Turing’s. Stephen Cole Kleene (1909–1994) later elaborated their model [2], while Noam Chomsky created mathematical models in linguistics for the description of languages [3,4]. The rapid development of technology in the twentieth century has made it possible to materialize such theoretical machines by creating the computers. This development fulfilled the timeless dream of mankind, to create machines like the Antikythera mechanism of the Hellenistic era (the earliest known analog computer, dated back to the second century BC [5,6,7]), and the mechanical calculating devices created by Blaise Pascal (1623–1662), by Gottfried Wilhelm von Leibniz (1646–1716), by Charles Babbade (1792–1871) and his co-worker Ada Augusta (1815–1852), the daughter of poet Lord Byron, all of which were as powerful as their respective technologies would allow.
The basic building blocks of a state machine are their internal qualities which are named internal states. The internal states are reacting to certain changes in their environment and this reaction causes state transitions. In the general case, it does not matter what the states and the environment of a state machine really are.
For example, in biology, we can consider the state of a cell in its environment, which consists of certain chemical and physical conditions, such as PH, temperature, light and so on. When these chemicals do not remain within a range of concentrations and/or the physical conditions exceed a threshold value, the cell changes its behavior, e.g., a plant cell performs photosynthesis under the “input” of sunlight.
Also, a population group or a business can move to a new state when the economic and social changes in its environment cross a certain threshold.
Respectively in an electronic system which involves various electrical components, the flow of electric current can activate some of these components and the system can switch from one state to another. In fact, as in the case of some circuits with flip-flops, the new state depends on both, the input pulse and the previous state of the circuit.
So, the same environmental change (input) can shift the system into different states, depending on its previous state (condition).
A lot of ink has been shed on the research and study of the behavior of such systems, both living and non-living. In this paper, we approach this issue from a different perspective, i.e., we will address the question of how many different state machines can “survive” or can be acceptable in a given environment. Undoubtedly, the interaction between a system and its environment can be vastly complicated and it still remains an area that needs to be understood, if we wish to be in a position to predict the behaviour of the system and perceive the level of the environmental constraints it can endure as well as their impact on it.
We will attempt this approach with the tools of abstract Algebra, which is the most extensively used branch of Mathematics in the study of the state machines. So, in this paper, the environment is a set equipped with a rule of synthesis such that the result of the synthesis of any two elements is one or more elements. In Éléments de Mathématique, Algèbre [8], Nicolas Bourbaki used the Greek word magma, which comes from the verb μάσσω (=knead), to indicate such a set, while in [9] this notion was generalized so as to include more structures. Here, we use the magma of two elements, which is the environment of the binary state machines, like the 0–1 environment which is used in the digital technology. The interaction of the environment on the states is modeled algebraically via the different types of the associativity.
Sometimes, algebraic tools had been developed before even the relevant questions were asked and this is one of the most fascinating aspects of mathematics: to give the answers long before the rest of the world realizes why they should ask the questions.
During the 20th century, Algebra itself faced, and on most occasions overcame, many difficult and serious challenges that were deriving from various mathematical and not only areas, such as the Theory of Equations, Geometry, Topology, Quantum Mechanics, Chemistry, etc. Also, the 20th century put an end to the paradise of determinism. David Hilbert’s (1862–1943) visions collapsed under Kurt Gödel’s (1906–1978) work. Quantum Mechanics, the uncertainty principle of Werner Heisenberg (1901–1976), the axiomatic foundation of probability by Andrey Kolmogorov (1903–1987) made uncertainty inherent in science and brought into existence its mathematics. In this direction, Frédéric Marty (1911–1940) in a series of three papers [10,11,12] introduced the hypergroup in Algebra and gave some of its initial properties. His untimely death during World War II, while serving as a French Army officer, did not allow him to write more papers. However, the aforementioned three were enough to bring into being the Hypercompositional Algebra. The fundamental notion of the Hypercompositional Algebra is the hypercomposition, that is, a law of synthesis of any two elements, which yields a set of elements instead of a single element only.
The introduction of Hypercompositional Algebra into Computer Theory occurred in the G.G. Massouros Ph.D. thesis [5], under the supervision of J. Mittas (1921–2012). There followed more papers by the same author and Ch. Massouros, e.g., [13,14,15,16,17,18,19,20,21], as well as other researchers such as J. Chvalina [22,23,24,25,26,27,28], L. Chvalinová [22], Š. Hošková-Mayerová [24,25], M. Novák [26,27,28,29,30,31,32], S. Křehlík [26,27,29,30,31,33], M.M. Zahedi [34], M. Ghorani [34,35], D. Heidari and S. Doostali [36], R.A. Borzooei et al. [37]. In relation to this subject, there are applications of the Hypercompositional Algebra in graph theory, artificial intelligence, cryptography, sensor networks and many more that, indicatively, can be found in [38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60]. Also, results in the above areas, up to the date it was published, can be found in P. Corsini and V. Leoreanu’s book [61].
The following section presents the necessary preliminary notions for the self-sufficiency of the paper. The third section contains a study of operators’ and hyperoperators’ actions and the way they define hypercompositional structures in the set on which they operate. The fourth paragraph focuses on the detailed study of the magma of two elements, which is the environment of the binary state machines. The next (fifth) paragraph is dedicated to the analysis of the binary state machines, when their environment has the structure of a group or a hypergroup. The quasi-automata and quasi-multiautomata that can exist in such an environment are studied and enumerated.

2. Preliminaries

The fundamental notion of the Hypercompositional Algebra is the hypercomposition, that is, a law of synthesis which yields a set of elements instead of a single element, when applied on any two elements. More specifically, we have the definitions [9]:
Definition 1.
Let E be a non-void set. A mapping from E × E into E is called a composition on E , while a mapping from E × E into the power set P ( E ) of E is called a hypercomposition on E . A hypercomposition is called partial, if a b = , for some a , b in E . A set enriched with a composition or a hypercomposition is called a magma.
The above definition, which was introduced in [9], extends the definition of the magma given by Nicolas Bourbaki [8] in order to include laws of synthesis which are hypercompositions on a set E .
Let ( E , ) be a magma. For any two non-void subsets X , Y of E , X Y = { x y E | x X ,   y Y } , if is a composition and X Y = x X ,   y Y ( x y ) , if is a hypercomposition.
If X or Y is empty, then X Y is empty. If a E , we usually write a Y instead of { a } Y and X a instead of X { a } . In general, the singleton { a } is identified with its member a . Sometimes it is convenient to use the relational notation A B to assert that subsets A and B have a non-void intersection. Then, as the singleton { a } is identified with its member a , the notation a A or A a is used as a substitute for a A . The relation may be considered as a weak generalization of the equality, since, if A and B are singletons and A B , then A = B . Thus, a b c means a = b c , if the synthesis is a composition and a b c , if the synthesis is a hypercomposition. This notation is extensively used when it is not necessary to distinguish between a composition or a hypercomposition with respect to a law of synthesis.
Definition 2.
A law of synthesis ( x , y ) x y on a set E is called associative if the property,
( x y ) z = x ( y z )
is valid, for all elements  x , y , z in  E , while it is called reproductive if for all elements  x  in  E the equality
x E = E x = E
holds.
Definition 3.
An associative magma is called α semigroup if the law of synthesis on the magma is a composition, while it is called α semihypergroup if the law of synthesis is a non-partial hypercomposition.
Definition 4.
A reproductive magma is called α quasigroup if the law of synthesis on the magma is a composition, while it is called α quasihypergroup if the law of synthesis is a non-partial hypercomposition.
Definition 5.
An associative and reproductive magma is called α group if the law of synthesis on the magma is a composition, while it is called α hypergroup if the law of synthesis is a hypercomposition.
The above Definition 5 appeared in [9], which also contains a detailed presentation of the fundamental properties that derive from the axioms of the associativity and the reproductivity in groups and hypergroups. Among other things, in [9] it is proved that:
Theorem 1.
If G is a group, then:
i. 
there exists an element e G such that e a = a = a e for all a G
ii. 
for each element a G there exists an element a G such that a a = e = a a
Theorem 2.
If H is a hypergroup, then:
a b for all a ,   b H
Thus, the hypercomposition in a hypergroup cannot be partial. In this paper, we will consider only non-partial hypercompositions.
It is very common in the bibliography to enrich a magma with the axiom of associativity. Besides, another equality that can be valid in the successive synthesis of the magma’s elements is the inverted associativity. Recall that a composition or a hypercomposition on a non-void set E is called left inverted associative if
( a b ) c = ( c b ) a ,   for   every   a , b , c E ,
while it is called right inverted associative if
a ( b c ) = c ( b a ) ,   for   every   a , b , c E .
The notion of the inverted associativity was initially conceived by Kazim and Naseeruddin [62]. A magma equipped with a left inverted associativity is called left almost semigroup if the law of synthesis is a composition, while it is called left almost semihypergroup if the law of synthesis is a hypercomposition. The terminology is analogous for the right inverted associative magma.
Definition 6.
A reproductive magma which satisfies the axiom of the left inverted associativity is called a left almost-group (LA-group) when the law of synthesis on the magma is a composition, while it is called α left almost-hypergroup (LA-hypergroup) when the law of synthesis is a hypercomposition. A reproductive, right inverted associative magma is called a right almost-group (RA-group) or a right almost-hypergroup (RA-hypergroup) when the law of synthesis is a composition or a hypercomposition respectively.
Apparently, if the law of synthesis is commutative, then the almost left or almost right groups and hypergroups are groups and hypergroups, respectively. However, it is possible for both associativity and inverted associativity to be valid in a magma. Such cases can be found in the examples of [63], which presents a detailed study of the left/right almost-hypergroups. For the quasi-canonical LA-hypergroups, see [64].
Every law of synthesis in a magma induces two new laws of synthesis. If the law of synthesis is written multiplicatively, then the two induced laws are:
a / b = { x E     |     a x b }   and   b \ a = { x E     |     a b x }
Thus x a / b if and only if a x b and x b \ a if and only if a b x . In the case of a multiplicative magma, the two induced laws are called inverse laws and they are named right division and left division, respectively. If the magma is commutative, it is obvious that the right and left divisions coincide.
Directly connected to the induced laws of synthesis is the transposition axiom, which was firstly introduced by W. Prenowitz (1906–2000) for the study of geometry with the tools of Hypercompositional Algebra (e.g., [65]) and afterwards it was generalized by J. Jantosciak (1942–2017) in [66].
Definition 7.
A magma E is called α transposition magma if it satisfies the axiom:
b \ a c / d   i m p l i e s   a d b c ,   f o r   a l l   a , b , c , d E
It is obvious that in a transposition magma the following implication
a \ b d / c     a d b c ,   f o r   a l l   a , b , c , d E
is valid as well. In [9], the above implications reversed and so we have the two reverse transposition axioms:
  • Weak reverse transposition axiom:
a d b c   i m p l i e s   b \ a c / d   o r   a \ b d / c ,   f o r   a l l   a , b , c , d E  
  • Strong reverse transposition axiom:
a d b c   i m p l i e s   b \ a c / d   a n d   a \ b d / c ,   f o r   a l l   a , b , c , d E
However, the following property also applies:
a d b c           a \ b d / c     o r     b \ a c / d   ,   f o r   a l l   a , b , c , d E
This axiom was named bilateral transposition axiom [9].
Special notation: In the following pages, in addition to the typical algebraic notations, we are using Krasner’s notation for the complement and difference. So, we denote by A··B the set of elements that are in the set A, but not in the set B.

3. Action of a Magma on a Set

Let E and S be two non-empty sets. A mapping of E into the set S S of the mappings of S into itself is called an action of E on S . Let a δ a be an action of E on S . The mapping δ of S × E to S such that δ ( s , a ) = δ a ( s ) is an external law of composition on S , with E being the operating set. δ is called the law of right action of E on S . The law of left action of E on S is defined in a similar way. The element δ a ( s ) is also called the transform of s under a . Ιt is usually denoted by a right (resp. left) multiplicative notation s a (resp. a s ). The elements of E are called operators.
A mapping δ of S × E to the power set P ( S ) of S is an external law of hypercomposition on S . Then, the elements of E are called hyperoperators [67]. If a E is a hyperoperator, then the multiplicative notation s a (resp. a s ) signifies an element of P ( S ) , that is, s a S (resp. a s S ).
A subset T of S is called stable under the action a δ a of E on S if δ a ( T ) T for all a E . The intersection of a family of stable subsets of S under a given action is a stable subset of S as well. Therefore, if X is any subset of S , there exists a smallest stable subset of S that contains it. This subset is said to be generated by X and it consists of the elements ( δ a 1 δ a 2 δ a n ) ( x ) , where x X , n > 0 , a i E for all i .
Definition 8.
An element s 2 of S is called connected to an element s 1 of S if there exists an element a of E such that δ a ( s 1 ) = s 2 .
It must be mentioned that s 2 being connected to s 1 does not necessarily imply that s 1 is connected to s 2 . If s 2 is connected to s 1 , there may be a sequence a 1 , a 2 , , a n of elements of E such that ( δ a 1 δ a 2 δ a n ) ( s 1 ) = s 2 . Thus, via the notion of the connected elements, a hypercomposition can be defined on S , as follows:
s 1 + s 2 = {   { s S     |     s = s 1 a     and     s 2 = s b ,   with   a , b E } ,   if   s 2   is   connected   to   s 1 { s 1 ,   s 2 } , if   s 2   is   not   connected   to   s 1
Proposition 1.
If the set of the operators E over a non-void set S is a unitary magma, then ( S , + ) becomes a hypergroup.
Proof. 
Since E is a unitary magma, the result of the hypercomposition always contains the two participating elements, thus s + S = S + s = S for all s S and so the reproductive axiom is valid. Moreover, the associativity holds. Indeed, if s 1 ,   s 2 and s 3 are not connected to each other, then
s 1 + ( s 2 + s 3 ) = ( s 1 + s 2 ) + s 3 = { s 1 ,   s 2 ,   s 3 }
Next, suppose that s 2 and s 3 are connected to s 1 . Also let s 3 be connected to s 2 . Then:
( s 1 + s 2 ) + s 3 = { q S     |     q = s 1 a     and     s 2 = ( s 1 a ) b ,   with     a , b E } + s 3 = = { s S     |     s = ( s 1 a ) c ,   s 2 = ( s 1 a ) b ,   and                               s 3 = ( ( s 1 a ) c ) d     with     a , b , c , d E } = = s 1 + s 3
and
s 1 + ( s 2 + s 3 ) = s 1 + { q S     |     q = s 2 a     and     s 3 = ( s 2 a ) b ,   with     a , b E } = = { s S     |     s = s 1 c     and     ( s 1 c ) d = s 2 a ,   ( s 2 a ) k = s 3     or                                 ( s 1 c ) l = s 3     with     a , c , d , k , l E } = = s 1 + s 3
Similar is the proof of all the other cases and hence the proposition. □
Corollary 1.
The set of vertices of a directed graph is endowed with the structure of the hypergroup if the result of the hypercomposition of two vertices vi and vj is the set of the vertices which appear in all the possible paths that connect vi to vj, or {vi, vj}, if there do not exist any connecting paths from vertex vi to vertex vj.
If E is a magma, an equivalence relation ξ on E is called a congruence relation if
( a , b ) ξ ,     ( c , d ) ξ   implies   {     [ { y } × b d ] ξ     for   all     y a c and [ a c × { z } ] ξ     for   all     z b d
When the law of synthesis in the magma is a composition, then a c and b d are singletons and the above definition is simplified to:
( a , b ) ξ ,     ( c , d ) ξ   implies   ( a c , b d ) ξ
The set E ξ of all equivalence classes defined on E by ξ becomes an associative magma if we define
ξ a · ξ b = { ξ c   |     c a b }   for   all   ξ a , ξ b E ξ
Proposition 2.
Every congruence relation ξ on a magma E is a normal equivalence relation, and therefore the set E ξ becomes a magma under the law of synthesis
C x · C y = { C z     |     z x y }
where C x is the class of an arbitrary element x E .
Proof. 
Since ξ is a congruence relation, for each x , y E it holds:
  z C x · C y ( ( x , y ) ) C x × C y )   [ z x y ] ( z x y ) [ z ξ   z ] z C z C x · C y z x y C z
Conversely now:
z z x y C z ( z x y ) [ z ξ z ] ( ( x , y ) E 2 ) [ x ξ x y ξ y z x y ] z C x · C y z x y C z C x ·   C y
Thus, C x · C y = z x y C z , and so the quotient set E ξ , enriched with the law of synthesis C x · C y = { C z     |     z x y } , is a magma. Obviously, if the law of synthesis is a composition, then the previous equality is simplified to C x · C y = C x y . □
Corollary 2.
Every congruence relation ξ on a hypergroup E is a normal equivalence relation, and therefore the quotient E ξ becomes a hypergroup under the hypercomposition C x · C y = { C z     |     z x y } . If E is a group, then E ξ is a group as well, under the composition
C x · C y = C x y
Proposition 3.
If E is a transposition magma and ξ is a congruence relation on E , then E ξ is a transposition magma.
Proof. 
Suppose that for some elements C x ,   C y ,   C z ,   C w , of the quotient set E ξ it holds that C y \ C x C z / C w . Then there exist elements x ,   y ,   z ,   w belonging to C x ,   C y ,   C z ,   C w , respectively, such that y \ x z / w . Since the transposition axiom is valid in E , it derives that x w y z . Therefore, C x · C w C y · C z and hence the proposition. □
Definition 9.
A state machine M is a triplet ( S , E , δ ) where S and E are sets and δ is mapping of S × E to S .
The set S describes the internal qualities of the system. The elements of S are called internal states of M. If S is finite, then M is called a finite state machine. The set E describes the environmental inputs that can affect the system. The mapping δ describes the environmental influences on the internal qualities of the system and it is called a state transition function. Such a system is obviously quite general and can be used in a variety of cases. From the mathematical standpoint, a state machine is a set with operators and the fact that we can successfully approach, describe and examine such systems via algebraic tools and techniques is one of the most impressive and remarkable achievements of modern algebra.
Example 1.
State machines can be depicted by the so-called transition diagrams. Thus, if S = { s 1 } and E is a finite set, then the relevant state machine is illustrated with the transition diagram presented in Figure 1:
Moreover, if S = { s 1 , s 2 } and E = { a } , we could have any of the following four state machines that are shown in Figure 2:
Another way of specifying a state machine is by writing out the transition function δ in tabular form, thus creating the so-called state transition table. For example, the state transition table of the last in the above figure state machine is the following one:
Mathematics 10 02427 i001
Suppose that a E is applied to the state s S of a state machine M. Then the machine moves to state δ ( s , a ) = δ a ( s ) = s a . Next, if another input, say b E , is applied to the machine, the resultant state is:
δ ( δ a ( s ) , b ) = δ b ( δ a ( s ) ) = δ b ( s a ) = ( s a ) b
Since δ b ( δ a ( s ) ) = ( δ b δ a ) ( s ) , if E is a magma, we say that the state transition function satisfies the associativity if δ b ( δ a ( s ) ) = δ c ( s ) ,     c a b . If the law of synthesis is a composition, then the associativity is of the form δ b ( δ a ( s ) ) = δ a b ( s ) or equivalently ( s a ) b = s ( a b ) and it is named mixed associativity, while if the law of synthesis is a hypercomposition, the associativity is fulfilled if ( s a ) b s ( a b ) and it is called generalized mixed associativity [26,29,68].
Definition 10.
A state machine M = ( S , E , δ ) is called quasi-automaton if E is a magma and the state transition function satisfies the mixed associativity, i.e., ( s a ) b = s ( a b ) for any pair a , b E and any state s S .
Definition 11.
A state machine M = (S,E,δ) is called quasi-multiautomaton if Ε is a magma and the state transition function satisfies the generalized mixed associativity, i.e., ( s a ) b s ( a b ) for any pair a , b E and any state s S .
A detailed presentation of the terminology, based on the historical development of the area, can be found in the well-written paper [29]. The above definitions are in line with [29]. Obviously, every quasi-automaton is a quasi-multiautomaton. Apparently, quasi-multiautomata which are not quasi-automata can only exist when E is a hypercompositional magma. On the contrary, quasi-automata exist when either the magma is endowed with a composition or when it is endowed with a hypercomposition. A special case of quasi-automata occurs when E is a free semigroup or a free monoid instead of an arbitrary magma. In this case, computer theory tends to use the term “word” for the elements of E , the term “letter” for the elements of its generating set Σ and the term concatenation of words for the law of synthesis in E . Moreover, the free semigroup generated by Σ is denoted by Σ + and the corresponding free monoid by Σ   * . Also, the quasi-automaton is denoted by M = (S,E,δ).
Proposition 4.
Let (S,E,δ) be a quasi-automaton and a binary relation on the magma, defined by
a b δ a = δ b , w h e r e     a , b E
Then is a congruence relation on E and the magma E has the same algebraic structure as E .
Proof. 
This relation is easily seen to be an equivalence relation. Next, let a b and c d . From a b , it follows that δ a ( s ) = δ b ( s ) for all s S . Next, since c d , the following sequence of equivalent statements holds:
δ c ( δ a ( s ) ) = δ c ( δ b ( s ) ) ;   δ c ( δ a ( s ) ) = δ d ( δ b ( s ) ) ;   y c a δ y ( s ) = z d b δ z ( s ) ;
Therefore, is a congruence relation on E . Next, it is easy to see that the magma E is of the same type as E , that is, if E is a semigroup, semi-hypergroup, hypergroup, group, etc., then E has the same algebraic structure, respectively. □
Now, if M = (S,E,δ) is a quasi-automaton, then the semigroup E = Σ + or the monoid E = Σ     * can be constructed with the use of Proposition 4. In many cases, it is more convenient to study this semigroup rather than the original machine M. However, if we do not want to lose sight of the set of states, we consider the machine M = (S,E,δ). Each element of E is an equivalence class of Σ + or Σ   * , which acts on S as follows: s [ a ] = δ a ( s ) , where s S and a Σ + or a Σ   * .

4. The Magma of 2 Elements

In this section, we will proceed to a detailed study and classification of the two-element magma, which is the binary state machines’ environment.
While there exists only one single element magma which is a group and also a LA/RA-group, there exist 34 = 81 magmas with 2 elements. These magmas can be constructed, classified and enumerated, with the techniques and methods which are developed in [69,70,71] and [63]. In the following propositions, these magmas are presented via their Cayley tables. Note that, in a Cayley table, the entry in the row headed by x and the column headed by y is the synthesis xy.
i. 
Associative Magmas
Proposition 5.
There exist 6 semigroups which are classified into 2 classes with 2 isomorphic semigroups each, and into 2 single-member classes, which are presented below via their Cayley tables. Moreover, since SG1and SG2are commutative, they satisfy both the left and the right inverted associativity.
Mathematics 10 02427 i002
Remark 1.
When a = 0 and b = 1 in the two isomorphic semigroups SG2, we get the two well-known operations of the Boolean algebra:
Mathematics 10 02427 i003
Proposition 6.
There exist 10 semihypergroups which are classified into 5 classes with 2 isomorphic semihypergroups each. These are displayed below in the form of Cayley tables. Moreover, since S H 1 is commutative, it satisfies both the left and the right inverted associativity.
Mathematics 10 02427 i004
Mathematics 10 02427 i005
ii. 
Reproductive Magmas
Proposition 7.
There exist 21 quasihypergroups which are classified into 9 two-member classes and 3 single-member classes, which are presented below via their Cayley tables.
Mathematics 10 02427 i006
Mathematics 10 02427 i007
iii. 
Associative and Reproductive Magmas
Proposition 8.
There exists one class with 2 isomorphic commutative groups.
Mathematics 10 02427 i008
Proposition 9.
There exist 12 hypergroups which are classified into 5 classes with 2 isomorphic hypergroups each and into 2 single-member classes, which are presented below via their Cayley tables. H 3 H 7 are commutative.
Mathematics 10 02427 i009
Mathematics 10 02427 i010
H 6 is the two-element B-hypergroup. B(inary)-hypergroups came into being during the study of formal languages and automata with the use of hypercompositional algebra [5,13,16,17]. The free monoid of the words generated by an alphabet Σ can be endowed with the B-hypergroup structure, and so become a join hyperringoid [21,72,73,74], which is named linguistic hyperringoid [14,21,73,74]. If the B-hypergroup is fortified with a strong identity [31], which is necessary for the theory of formal languages and automata [14,21], then the join hyperring comes into being [72,73,74]. H 7 is the two-element total hypergroup.
Proposition 10.
All the two-element hypergroups are transposition hypergroups.
Proof. 
The Cayley tables of the induced hypercompositions for the seven two-element hypergroups are presented below. For the classes with two elements, we chose the first hypergroup for the presentation of the induced hypercomposition. Observe that the hypergroups H 3 ,   H 4 ,   H 5 ,   H 6   and H 7 are commutative; therefore, the two induced hypercompositions coincide, and so there is only one Cayley table corresponding to each one of them. As mentioned above, in the Cayley tables, the entry in the row headed by x and the column headed by y is the synthesis x/y or y\x respectively.
Mathematics 10 02427 i011
The verification of the transposition axiom gives the rest. □
So, according to Proposition 10, there do not exist non-transposition hypergroups with cardinality 1 or 2. However, as shown in the following example, there exist non-transposition hypergroups if their cardinality is greater than or equal to 3.
Example 2.
The hypercomposition on hypergroup H6 can be written in the following two ways:
a · b = {   { a , b } ,     i f   a b   a ,       i f   a = b
and
a · b = {   H ,     i f   a b a ,     i f   a = b
If H = { a , b } , then the above two formulas give the same hypercomposition, but if cardH ≥ 3, then they produce two different hypergroups. The first one, which is the B-hypergroup, satisfies the transposition axiom (see [13] for the proof), while the second one does not. Indeed, the induced hypercomposition of (2) is:
a · b = {   H · · { b } ,     i f   a b   a ,       i f   a = b
Next, if a b , we have:
a / b b / a = [ H · · { b } ] [ H · · { a } ]
while
a a b b = { a } { b } = .
Moreover, the verification of the reverse transposition axiom for hypergroups H 1 H 7 leads to the following result:
Proposition 11.
All the two-element hypergroups satisfy the strong reverse transposition axiom.
A consequence of Propositions 10 and 11 is the following Theorem:
Theorem 3.
All the two-element hypergroups satisfy the bilateral transposition axiom.
In [9], following the observation that the quasicanonical hypergroups, the canonical hypergroups, and of course, the groups and the abelian groups satisfy the bilateral transposition axiom, the question arose: Do there exist other hypergroups satisfying the bilateral transposition axiom apart from the quasicanonical and the canonical ones? The above Theorem 3 gives the affirmative answer to this question.
iv. 
Magmas with inverted associativity
Proposition 12.
There exists only one class with 2 isomorphic left almost-semihypergroups, as per the following Cayley tables.
Mathematics 10 02427 i012
Proposition 13.
In addition to the five non-isomorphic commutative hypergroups (and hence left and right almost-hypergroups) that are mentioned in Proposition 9, there also exist two non-isomorphic left almost-hypergroups which are classified into one two-member class and into one single-member class, as per the following Cayley tables.
Mathematics 10 02427 i013
Mathematics 10 02427 i014
Proposition 14.
There exists only one class with 2 isomorphic right almost-semihypergroups, as per the following Cayley tables.
Mathematics 10 02427 i015
Proposition 15.
In addition to the five non-isomorphic commutative hypergroups (and hence left and right almost-hypergroups) that are mentioned in Proposition 9, there also exist two non-isomorphic right almost-hypergroups which are classified into one two-member class and into one single-member class, as they are presented in the following Cayley tables.
Mathematics 10 02427 i016
v. 
Rigid Magmas
The remaining 26 magmas are classified into 12 two-member classes and into two single-member classes. The law of synthesis on the 2 magmas of the single-member classes is a composition. The same goes for the magmas in three of the twelve two-member classes.
Proposition 16.
There exist only two non-isomorphic groupoids of two elements, which are presented in the following Cayley tables.
Mathematics 10 02427 i017
Definition 12.
A magma is called rigid if its group of automorphisms is of order 1.
As it is shown in [75,76], there exist 21 rigid hypergroupoids whose classification is described in Theorem 4 of [76]. The following Theorem 4 applies to the two-element magmas:
Theorem 4.
There exist 9 rigid magmas of two elements, classified as follows:
i. 
2 non-commutative groupoids, which do not satisfy the transposition axiom;
ii. 
2 non-commutative transposition semigroups;
iii. 
1 commutative quasi-hypergroup, which does not satisfy the transposition axiom;
iv. 
1 LA-hypergroup, which does not satisfy the transposition axiom;
v. 
1 RA-hypergroup, which does not satisfy the transposition axiom;
vi. 
2 hypergroups, which satisfy both the left and right invert associativity.
Proof. 
i. 
Let us consider the first groupoid of Proposition 15. Then, the two induced hypercompositions are given in the following Cayley tables:
Mathematics 10 02427 i018
Next, we have that a / b b \ a = { a , b } { b } , while a b b a = { a } { b } = . Therefore, the transposition axiom is not valid. Analogous is the proof for the second groupoid.
ii. 
Let us consider the semigroup SG3. Then, the two induced hypercompositions are the following ones:
Mathematics 10 02427 i019
The verification of the transposition axiom, according to the above Cayley tables, proves its validity. The same goes for the case of SG4.
iii. 
Since QH10 is commutative, the two induced hypercompositions coincide and so we have:
a / b = b / a = { a , b } , a / a = b , b / b = a
Next, a / b b / a = { a , b } but a a b b = . Therefore, the transposition axiom is not valid.
iv. 
The induced hypercompositions on the LA-H2 are:
Mathematics 10 02427 i020
Since the implication
b / a a \ b = { a } { a , b }         a b b a =
holds, the transposition axiom is not valid.
v. 
It is true as it is the dual of iv.
vi. 
The two hypergroups are H6 and H7. H6 is a B-hypergroup. As it is well known, the B-hypergroups are join hypergroups (see [13] for the proof), that is, commutative hypergroups which satisfy the transposition axiom. H7 is the two-element total hypergroup and total hypergroups are join hypergroups as well [5,9,13]. □

5. Binary State Machines

Let M = (S,E,δ) be a state machine. Two states, s ,   t , are called connected if there exists a sequence of inputs which causes S to leave state s and go into state t , that is, if there exists a sequence a 1 , a 2 , , a n of elements of E such that ( δ a 1 δ a 2 δ a n ) ( s ) = t . The states s ,   t are called isolated to each other if neither s is connected to t , nor t to s . A state machine M is called connected if its undirected graph is connected, while it is called strongly connected if every ordered pair ( s , t ) of states in S is connected.
Proposition 17.
Suppose that the connected state machine M = (S,E,δ) is a quasi-multiautomaton. Then, for every pair ( s , t )  of states, there exists one element of E which connects them, i.e.,  δ a ( s ) = t for some a E .
Proof. 
Let a 1 , a 2 , , a n be a sequence of elements of E such that ( δ a 1 δ a 2 δ a n ) ( s ) = t . If n = 1 the proposition is obvious. Let n > 1 . Then
( δ a 1 δ a 2 δ a n ) ( s ) = δ a 1 ( δ a 2 ( δ a n 1 ( δ a n ( s ) ) ) )   a a 1 a 2 a n δ a ( s ) = { δ ( s , a )     |     a a 1 a 2 a n }
Hence, there exists a a 1 a 2 a n such that t = δ ( s , a ) . □
Theorem 5.
If the magma E in a quasi-multiautomaton M = (S,E,δ) has n elements, then the set S cannot have more than n + 1 states.
Proof. 
As per Proposition 17, for every pair of states ( s , t ) , there exists one element of E which connects them, i.e., there exists a E such that δ ( s , a ) = t . Therefore, if c a r d E = n e.g., if E = { a 1 , a 2 , , a n } , then, for each state s S , there exist at most n states connected with s , which are the s i = δ ( s , a i ) ,     1 i n . Next, if some state s k S yields δ ( s k , a j ) = t , then, since s k = δ ( s , a k ) , it holds that
t = δ ( δ ( s , a k ) , a j ) { δ ( s , a )     |     a a k a j } S
Hence, S = { s , s 1 , s 2 , , s n } and so the Theorem. □
Definition 13.
If the magma E of a state machine M = (S,E,δ) has 2 elements, then M is called a binary state machine.
Corollary 3.
The set S of the states of a binary quasi-multiautomaton M = (S,E,δ) cannot have more than 3 elements.
Theorem 6.
There exists 1 binary state machine with 1 state, 16 binary state machines with 2 states and 729 with 3 states.
Proof. 
The state transition table of a state machine with 1 state is:
Mathematics 10 02427 i021
The state transition table of a state machine with 2 states is:
Mathematics 10 02427 i022
where x , y , z , w { s 1 , s 2 } . Hence, there exist 24 = 16 different to each other binary state machines with 2 states.
Moreover, the state transition table of the state machines with 3 states is:
Mathematics 10 02427 i023
where x , y , z , w , u , v { s 1 , s 2 , s 3 } . Therefore, there are 36 = 729 different to each other binary state machines with three states. □
Definition 14.
Two state machines M1 = (S1,E11) and M2 = (S2,E22) are isomorphic if E1 and E2 are isomorphic and there exists a one-to-one mapping f from S1 onto S2 such that
f ( δ 1 ( s , a ) ) = δ 2 ( f ( s ) , a ) .
Theorem 7.
There exist 10 isomorphic binary state machines with 2 states, which are classified into 6 two-element classes and into 4 single-element classes, as presented in Figure 3:
Next, we will find which state machines are quasi-multiautomata or quasi-automata when their magma is a group or a hypergroup. In the proofs of the following propositions, we use the first member of each state machine class as the representative of the entire class. Similarly, the representative of every class from the group or the hypergroups will be its first member.
Proposition 18. 
If E is the group G1(Proposition 8), then the state machines SM4, SM9, SM10are quasi-automata.
Proof. 
The verification of the axioms shows that SM4, SM9, SM10 are quasi-automata. The rest state machines do not satisfy the mixed associativity. Indeed:
  • For SM1 it holds: ( s 2 a ) b = s 1 b = s 2 while s 2 ( a b ) = s 2 b = s 1 .
  • For SM2 it holds: ( s 1 b ) b = s 1 b = s 1 while s 1 ( b b ) = s 1 a = s 2 .
  • For SM3 it holds: ( s 2 b ) a = s 1 a = s 2 while s 2 ( b a ) = s 2 b = s 1 .
  • For SM5 it holds: ( s 2 a ) b = s 1 b = s 1 while s 2 ( a b ) = s 2 b = s 2 .
  • For SM6 it holds: ( s 2 b ) b = s 1 b = s 1 while s 2 ( b b ) = s 2 a = s 2 .
  • For SM7 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 .
  • For SM8 it holds: ( s 1 b ) a = s 1 a = s 2 while s 1 ( b a ) = s 1 b = s 1 . □
Proposition 19.
If E is the hypergroup H1(Proposition 9), then the state machines SM3, SM6, SM9are quasi-multiautomata and the state machines SM4, SM10are quasi-automata.
Proof. 
The state machines SM3, SM6, SM9 satisfy the generalized mixed associativity and hence they are quasi-multiautomata. Indicatively, for SM3 we have:
( s 1 b ) a = s 1 a = s 2   and   s 1 ( b a ) = s 1 { a , b } = { s 1 a ,   s 1 b } = { s 2 ,   s 1 } ,   thus   ( s 1 b ) a s 1 ( b a )
The state machines SM4 and SM10 satisfy the mixed associativity and so they are quasi-automata. Indicatively, for SM4 we have:
( s 2 b ) a = s 1 a = s 1   and   s 2 ( b a ) = s 2 { a , b } = { s 2 a ,   s 2 b } = s 1 ,   thus   ( s 2 b ) a = s 2 ( b a )
The rest state machines do not satisfy any associativity condition. Indeed:
  • For SM1 it holds: ( s 2 a ) b = s 1 b = s 2 while s 2 ( a b ) = s 2 b = s 1 .
  • For SM2 it holds: ( s 2 a ) a = s 1 a = s 2 while s 2 ( a a ) = s 2 a = s 1 .
  • For SM5 it holds: ( s 2 a ) b = s 1 b = s 1 while s 2 ( a b ) = s 2 b = s 2 .
  • For SM7 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 .
  • For SM8 it holds: ( s 1 a ) b = s 2 b = s 2 while s 1 ( a b ) = s 1 b = s 1 . □
Proposition 20.
If E is the hypergroup H2(Proposition 9), then the state machines SM6, SM9are quasi-multiautomata and the state machines SM4, SM10are quasi-automata.
Proof. 
The state machines SM6, SM9 satisfy the generalized mixed associativity, and therefore they are quasi-multiautomata, while SM4 and SM10 satisfy the mixed associativity and so they are quasi-automata. The rest state machines do not satisfy any associativity condition. Indeed:
  • For SM1 it holds: ( s 2 a ) b = s 1 b = s 2 while s 2 ( a b ) = s 2 { a , b } = { s 2 a , s 2 b } = s 1 .
  • For SM2 it holds: ( s 2 a ) a = s 1 a = s 2 while s 2 ( a a ) = s 2 a = s 1 .
  • For SM3 it holds: ( s 2 b ) a = s 1 a = s 2 while s 2 ( b a ) = s 2 b = s 1 .
  • For SM5 it holds: ( s 2 b ) a = s 2 a = s 1 while s 2 ( b a ) = s 2 b = s 2 .
  • For SM7 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 .
  • For SM8 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 . □
Proposition 21.
If E is the hypergroup H3(Proposition 9), then the state machines SM6, SM9are quasi-multiautomata and the state machines SM4, SM10are quasi-automata.
Proof. 
The state machines SM6, SM9 satisfy the generalized mixed associativity, and therefore they are quasi-multiautomata, while SM4 and SM10 satisfy the mixed associativity and therefore they are quasi-automata. The rest state machines do not satisfy any associativity condition. Indeed:
  • For SM1 it holds: ( s 2 a ) b = s 1 b = s 2 while s 2 ( a b ) = s 2 b = s 1 .
  • For SM2 it holds: ( s 2 a ) a = s 1 a = s 2 while s 2 ( a a ) = s 2 a = s 1 .
  • For SM3 it holds: ( s 2 b ) a = s 1 a = s 2 while s 2 ( b a ) = s 2 b = s 1 .
  • For SM5 it holds: ( s 2 a ) b = s 1 b = s 1 while s 2 ( a b ) = s 2 b = s 2 .
  • For SM7 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 .
  • For SM8 it holds: ( s 1 b ) a = s 1 a = s 2 while s 1 ( b a ) = s 1 b = s 1 . □
Proposition 22.
If E is the hypergroup H4(Proposition 9), then the state machines SM3, SM5, SM6, SM9are quasi-multiautomata and the state machines SM4, SM10are quasi-automata.
Proof. 
The state machines SM3, SM5, SM6, SM9 satisfy the generalized mixed associativity, and therefore they are quasi-multiautomata, while SM4 and SM10 satisfy the mixed associativity and therefore they are quasi-automata. The rest state machines do not satisfy any associativity condition. Indeed:
  • For SM1 it holds: ( s 2 a ) b = s 1 b = s 2 while s 2 ( a b ) = s 2 { a , b } = { s 2 a , s 2 b } = s 1 .
  • For SM2 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 .
  • For SM7 it holds: ( s 1 a ) b = s 2 b = s 1 while s 1 ( a b ) = s 1 { a , b } = { s 1 a ,   s 1 b } = s 2 .
  • For SM8 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 . □
Proposition 23.
If E is the hypergroup H5(Proposition 9), then the state machine SM8is a quasi-multiautomaton and the state machines SM4, SM10are quasi-automata.
Proof. 
The state machine SM8 satisfies the generalized mixed associativity, and therefore it is a quasi-multiautomaton, while SM4 and SM10 satisfy the mixed associativity and therefore they are quasi-automata. The rest state machines do not satisfy any associativity condition. Indeed:
  • For SM1 it holds: ( s 1 a ) a = s 1 a = s 1 while s 1 ( a a ) = s 1 b = s 2 .
  • For SM2 it holds: ( s 2 a ) a = s 1 a = s 2 while s 2 ( a a ) = s 2 b = s 1 .
  • For SM3 it holds: ( s 1 a ) a = s 2 a = s 2 while s 1 ( a a ) = s 1 b = s 1 .
  • For SM5 it holds: ( s 2 a ) a = s 1 a = s 1 while s 2 ( a a ) = s 2 b = s 2 .
  • For SM6 it holds: ( s 2 a ) a = s 2 a = s 2 while s 2 ( a a ) = s 2 b = s 1 .
  • For SM7 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 b = s 2 .
  • For SM9 it holds: ( s 1 a ) a = s 1 a = s 1 while s 1 ( a a ) = s 1 b = s 2 . □
Proposition 24.
If E is the hypergroup H6(Proposition 9), then the state machines SM3, SM5, SM6are quasi-multiautomata and the state machines SM4, SM10are quasi-automata.
Proof. 
The state machines SM3, SM5, SM6 satisfy the generalized mixed associativity, and therefore they are quasi-multiautomata, while SM4 and SM10 satisfy the mixed associativity and therefore they are quasi-automata. For the rest state machines, observe that they satisfy none of the associativity conditions. Indeed:
  • For SM1 it holds: ( s 2 b ) b = s 1 b = s 2 while s 2 ( b b ) = s 2 b = s 1 .
  • For SM2 it holds: ( s 2 a ) a = s 1 a = s 2 while s 2 ( a a ) = s 2 a = s 1 .
  • For SM7 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 .
  • For SM8 it holds: ( s 1 a ) a = s 2 a = s 1 while s 1 ( a a ) = s 1 a = s 2 .
  • For SM9 it holds: ( s 1 b ) b = s 1 b = s 2 while s 2 ( b b ) = s 2 b = s 1 . □
Proposition 25.
If E is the hypergroup H7(Proposition 9), then the state machines SM3, SM5, SM6, SM8, SM9are quasi-multiautomata and the state machines SM4, SM10are quasi-automata.
Proof. 
The state machines SM3, SM5, SM6, SM8, SM9 satisfy the generalized mixed associativity, and therefore they are quasi-multiautomata, while SM4 and SM10 satisfy the mixed associativity and therefore they are quasi-automata. The remaining state machines satisfy none of the associativity conditions. Indeed:
  • For SM1 it holds: ( s 2 a ) b = s 1 b = s 2 while s 2 ( a b ) = s 2 { a , b } = { s 2 a , s 2 b } = s 1 .
  • For SM2 it holds: ( s 2 a ) a = s 1 a = s 2 while s 2 ( a a ) = s 2 { a , b } = { s 2 a ,   s 2 b } = s 1 .
  • For SM7 it holds: ( s 2 a ) a = s 1 a = s 2 while s 1 ( a a ) = s 2 { a , b } = { s 2 a ,   s 2 b } = s 1 . □

6. Conclusions and Open Problems

This paper approaches the state machines from within their environment in which they can “survive”, i.e., exist and operate. They are given an extended definition which derives from the consideration that the environment in which they can exist is an algebraic magma in the sense of [9], where the initial definition of magma by N. Bourbaki [8] is generalized for the purpose of incorporating algebraic structures endowed with hypercompositional laws. Hence, a state machine M is defined as a triplet (S,E,δ), where S is the set of the states of the machine, E is the set of the environmental inputs to the machine and δ is a mapping of S × E to S, which describes the interaction between each state and its environment. Our study focuses on the binary state machines, where E is a two-element magma and our results can be summarized in Table 1:
With regard to the classification given in this table, we note that according to the above Theorem 3, the two-element hypergroups are not just transposition hypergroups (row 10), but bilateral transposition hypergroups. Hence, the hitherto open question which was asked in [9] is answered affirmatively.
Of all the structures that appear in the above table, this paper presents the state machines with two states whose environment is a two-element group or two-element hypergroups. The results are presented in Table 2:
According to Corollary 3, only quasiautomata and quasi-multiautomata with up to three states can operate in the environment of a two-element magma. The description of the three state binary machines, as well as the investigation of the state machines which correspond to algebraic structures of E that are other than groups or hypergroups, still remain open problems. This question becomes more complicated in the instances when E is enriched with two laws of synthesis, as it happens in a hyperringoid [74]. It is worth mentioning here that E is a hyperringoid in specific state machines like the automata, where the environment is defined via an alphabet [16,17,21].
All of the above refer to deterministic state machines. However, the state transition function can be a mapping from S × E to the power set P ( S ) of S , defining thus the non-deterministic state machines (see also [13,14,67]). This consideration broadens the margins of the study as there can exist state transition functions for which δ ( s , a ) is not necessarily just a single element. It can be more than one element and it can also be none, as it is possible for δ ( s , a ) to be equal to the empty set.

Author Contributions

G.G.M. and C.G.M. contributed equally to this work. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding. The APC was funded by the MDPI journal Mathematics.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. McCulloch, W.S.; Pitts, W. A logical calculus of the ideas immanent in nervous activity. Bull. Math. Biophys. 1943, 5, 115–133. [Google Scholar] [CrossRef]
  2. Kleene, S.C. Representation of Events in Nerve Nets and Finite Automata. Automata Studies; Princeton University Press: Princeton, NJ, USA, 1956; pp. 3–42. [Google Scholar]
  3. Chomsky, N. Three models for the description of language. IRE Trans. Inf. Theory 1956, 2, 113–124. [Google Scholar] [CrossRef] [Green Version]
  4. Chomsky, N. On certain formal properties of grammars. Inf. Control. 1959, 2, 137–167. [Google Scholar] [CrossRef] [Green Version]
  5. Massouros, G.G. Automata—Languages and Hypercompositional Structures. Ph.D. Thesis, National Technical University of Athens, Athens, Greece, 1993. [Google Scholar]
  6. Grillo, F. Hero of Alexandria’s Automata: A Critical Edition and Translation, Including a Commentary on Book One. Ph.D. Thesis, University of Glasgow, Glasgow, Scotland, 2019. [Google Scholar]
  7. Freeth, T.; Higgon, D.; Dacanalis, A.; MacDonald, L.; Georgakopoulou, M.; Wojcik, A. A Model of the Cosmos in the ancient Greek Antikythera Mechanism. Sci. Rep. 2021, 11, 5821. [Google Scholar] [CrossRef] [PubMed]
  8. Bourbaki, N. Éléments de Mathématique, Algèbre; Hermann: Paris, France, 1971. [Google Scholar]
  9. Massouros, C.; Massouros, G. An Overview of the Foundations of the Hypergroup Theory. Mathematics 2021, 9, 1014. [Google Scholar] [CrossRef]
  10. Marty, F. Sur une Généralisation de la Notion de Groupe. Huitième Congrès des Mathématiciens Scandinaves Stockholm; 1934; pp. 45–49. [Google Scholar]
  11. Marty, F. Rôle de la notion de hypergroupe dans l’ étude de groupes non abéliens. C. R. Acad. Sci. 1935, 201, 636–638. [Google Scholar]
  12. Marty, F. Sur les groupes et hypergroupes attachés à une fraction rationelle. Ann. L’ Ecole Norm. 1936, 3, 83–123. [Google Scholar]
  13. Massouros, G.G.; Mittas, I.D. Languages—Automata and hypercompositional structures, Algebraic Hyperstructures and Applications. In Proceedings of the 4th International Congress, Xanthi, Greece, 27–30 June 1990; World Scientific: Singapore, 1991; pp. 137–147. [Google Scholar]
  14. Massouros, G.G. Automata and hypermoduloids, Algebraic Hyperstructures and Applications. In Proceedings of the 5th International Congress, Iasi, Romania, 4–10 July 1993; Hadronic Press: Palm Harbor, FL, USA, 1994; pp. 251–265. [Google Scholar]
  15. Massouros, G.G. An automaton during its operation, Algebraic Hyperstructures and Applications. In Proceedings of the 5th International Congress, Iasi, Romania, 4–10 July 1993; Hadronic Press: Palm Harbor, FL, USA, 1994; pp. 267–276. [Google Scholar]
  16. Massouros, G.G. Hypercompositional structures in the theory of languages and automata. Sci. Ann. Cuza Univ. 1994, 3, 65–73. [Google Scholar]
  17. Massouros, G.G. Hypercompositional structures from the computer theory. Ratio Math. 1999, 13, 37–42. [Google Scholar]
  18. Massouros, G.G. On the attached hypergroups of the order of an automaton. J. Discret. Math. Sci. Cryptogr. 2003, 6, 207–215. [Google Scholar] [CrossRef]
  19. Massouros, C.G.; Massouros, G.G. Hypergroups associated with graphs and automata. AIP Conf. Proc. 2009, 1168, 164–167. [Google Scholar] [CrossRef]
  20. Massouros, C.G. On path hypercompositions in graphs and automata. MATEC Web Conf. 2016, 41, 05003. [Google Scholar] [CrossRef]
  21. Massouros, G.G.; Massouros, C.G. Hypercompositional algebra, computer science and geometry. Mathematics 2020, 8, 1338. [Google Scholar] [CrossRef]
  22. Chvalina, J.; Chvalinová, L. State hypergroups of Automata. Acta Math. Inform. Univ. Ostrav. 1996, 4, 105–120. [Google Scholar]
  23. Chvalina, J. Infinite multiautomata with phase hypergroups of various operators. In Proceedings of the 10th International Congress on Algebraic Hyperstructures and Applications, Brno, Czech Republic, 3–9 September 2008; Hošková, Š., Ed.; University of Defense: Brno, Czech Republic, 2009; pp. 57–69. [Google Scholar]
  24. Hošková, Š.; Chvalina, J.; Raskova, P. Multiautomata with input centralizer alphabet formed by first order partial differential operators. In Proceedings of the 5 Konference o Matematice a Fyzice na Vysokch Kolch Technickch, Brno, Czech Republic, 2007; pp. 99–107, ISBN 978-80-7231-274-0. [Google Scholar]
  25. Chvalina, J.; Hošková, Š. Multiautomata formed by first order partial differential operators. J. Appl. Math. 2008, 1, 423–430. [Google Scholar]
  26. Chvalina, J.; Křehlík, S.; Novák, M. Cartesian composition and the problem of generalizing the MAC condition to quasi-multiautomata. An. St. Univ. Ovidius Constanta 2016, 24, 79–100. [Google Scholar] [CrossRef] [Green Version]
  27. Chvalina, J.; Novák, M.; Křehlík, S. Hyperstructure generalizations of quasi-automata induced by modelling functions and signal processing. AIP Conf. Proc. 2019, 2116, 310006. [Google Scholar] [CrossRef]
  28. Chvalina, J.; Novák, M.; Smetana, B.; Staněk, D. Sequences of Groups, Hypergroups and Automata of Linear Ordinary Differential Operators. Mathematics 2021, 9, 319. [Google Scholar] [CrossRef]
  29. Novák, M.; Křehlík, S.; Staněk, D. n-ary Cartesian composition of automata. Soft Comput. 2019, 24, 1837–1849. [Google Scholar] [CrossRef]
  30. Novák, M.; Křehlík, S.; Ovaliadis, K. Elements of Hyperstructure Theory in UWSN Design and Data Aggregation. Symmetry 2019, 11, 734. [Google Scholar] [CrossRef] [Green Version]
  31. Křehlík, S.; Novák, M.; Vyroubalová, J. From Automata to Multiautomata via Theory of Hypercompositional Structures. Mathematics 2022, 10, 1. [Google Scholar] [CrossRef]
  32. Novák, M. Some remarks on constructions of strongly connected multiautomata with the input semihypergroup being a centralizer of certain transformation operators. J. Appl. Math. 2008, I, 65–72. [Google Scholar]
  33. Křehlík, S. n-Ary Cartesian Composition of Multiautomata with Internal Link for Autonomous Control of Lane Shifting. Mathematics 2020, 8, 835. [Google Scholar] [CrossRef]
  34. Ghorani, M.; Zahedi, M.M. Some hypergroups induced by tree automata. Aust. J. Basic Appl. Sci. 2012, 6, 680–692. [Google Scholar]
  35. Ghorani, M. State hyperstructures of tree automata based on lattice-valued logic. RAIRO—Theor. Inf. Appl. 2018, 52, 23–42. [Google Scholar] [CrossRef]
  36. Heidari, D.; Doostali, S. The application of hypergroups in symbolic executions and finite automata. Soft Comput. 2021, 25, 7247–7256. [Google Scholar] [CrossRef]
  37. Borzooei, R.A.; Varasteh, H.R.; Hasankhani, A. F-Multiautomata on Join Spaces Induced by Differential Operators. Appl. Math. 2014, 5, 1386–1391. [Google Scholar] [CrossRef] [Green Version]
  38. Nieminen, J. Join space graphs. J. Geom. 1988, 33, 99–103. [Google Scholar] [CrossRef]
  39. Nieminen, J. Chordal graphs and join spaces. J. Geom. 1989, 34, 146–151. [Google Scholar] [CrossRef]
  40. Corsini, P. Graphs and Join Spaces. J. Comb. Inf. Syst. Sci. 1991, 16, 313–318. [Google Scholar]
  41. Corsini, P. Hypergraphs and hypergroups. Algebr. Univ. 1996, 35, 548–555. [Google Scholar] [CrossRef]
  42. Rosenberg, I.G. Hypergroupes induced by paths of a direct graph. Ital. J. Pure Appl. Math. 1998, 4, 133–142. [Google Scholar]
  43. Corsini, P.; Leoreanu-Fotea, V.; Iranmanesh, A. On the sequence of hypergroups and membership functions determined by a hypergraph. J. Mult.-Valued Log. Soft Comput. 2008, 14, 565–577. [Google Scholar]
  44. Chvalina, J.; Hošková-Mayerová, Š.; Nezhad, A.D. General actions of hyperstructures and some applications. An. St. Univ. Ovidius Constanta 2013, 21, 59–82. [Google Scholar] [CrossRef]
  45. Farshi, M.; Lo Faro, G.; Mirvakili, S. Hypergraphs and hypergroups based on a special relation. Commun. Algebra 2014, 42, 3395–3406. [Google Scholar] [CrossRef]
  46. De Salvo, M.; Lo Faro, G. Wrapping graphs and partial semi-hypergroups. J. Inf. Optim. Sci. 1997, 18, 157–166. [Google Scholar] [CrossRef]
  47. De Salvo, M.; Fasino, D.; Freni, D.; Lo Faro, G. Fully simple semihypergroups, transitive digraphs, and sequence A000712. J. Algebra 2014, 415, 65–87. [Google Scholar] [CrossRef]
  48. Polat, N. On bipartite graphs whose interval space is a closed join space. J. Geom. 2017, 108, 719–741. [Google Scholar] [CrossRef]
  49. Chowdhury, G. Syntactic Semihypergroup. Glob. J. Pure Appl. Math. 2017, 13, 1103–1115. [Google Scholar]
  50. Kalampakas, A.; Triantafyllou, N.; Ksystra, K.; Stefaneas, P. A Formal Representation of Video Content with the Picture Hyperoperation. In Algebraic Modeling of Topological and Computational Structures and Applications; Springer: Cham, Switzerland, 2015; Volume 219. [Google Scholar] [CrossRef]
  51. Nikkhah, A.; Davvaz, B.; Mirvakili, S. Hypergroups Constructed from Hypergraphs. Filomat 2018, 32, 3487–3494. [Google Scholar] [CrossRef]
  52. Hošková-Mayerová, Š.; Maturo, A. Decision-making process using hyperstructures and fuzzy structures in social sciences. Stud. Fuzz. Soft Comput. 2018, 357, 103–111. [Google Scholar]
  53. Heidari, D.; Cristea, I. Breakable semihypergroups. Symmetry 2019, 11, 100. [Google Scholar] [CrossRef] [Green Version]
  54. Iranmanesh, M.; Jafarpour, M.; Cristea, I. The non-commuting graph of a non-central hypergroup. Open Math. 2019, 17, 1035–1044. [Google Scholar] [CrossRef]
  55. Cristea, I.; Kocijan, J.; Novák, M. Introduction to dependence relations and their links to algebraic hyperstructures. Mathematics 2019, 7, 885. [Google Scholar] [CrossRef] [Green Version]
  56. Maturo, F.; Ventre, V.; Longo, A. On Consistency and Incoherence in Analytical Hierarchy Process and Intertemporal Choices Models. In Models and Theories in Social Systems. Studies in Systems, Decision and Control; Springer: Cham, Switzerland, 2019; Volume 179. [Google Scholar] [CrossRef]
  57. Hamidi, M.; Borumand Saied, A. Creating and computing graphs from hypergraphs. Krag. J. Math. 2019, 43, 139–164. [Google Scholar]
  58. Shamsi, K.; Ameri, R.; Mirvakili, S. Cayley graph associated to a semihypergroup. Algebraic Struct. Appl. 2020, 7, 29–49. [Google Scholar]
  59. Kankaras, M. Reducibility in Corsini hypergroups. An. St. Univ. Ovidius Constanta 2021, 29, 93–109. [Google Scholar] [CrossRef]
  60. Al-Tahan, M.; Davvaz, B. Hypergroups defined on hypergraphs and their regular relations. Krag. J. Math. 2022, 46, 487–498. [Google Scholar] [CrossRef]
  61. Corsini, P.; Leoreanu, V. Applications of Hyperstructures Theory; Kluwer Academic Publishers: Berlin, Germany, 2003. [Google Scholar]
  62. Kazim, M.A.; Naseeruddin, M. On almost semigroups. Port. Math. 1977, 36, 41–47. [Google Scholar]
  63. Massouros, C.; Yaqoob, N. On the theory of left/right almost groups and hypergroups with their relevant enumerations. Mathematics 2021, 9, 1828. [Google Scholar] [CrossRef]
  64. Yaqoob, N.; Cristea, I.; Gulistan, M. Left almost polygroups. Ital. J. Pure Appl. Math. 2018, 39, 465–474. [Google Scholar]
  65. Prenowitz, W. A Contemporary Approach to Classical Geometry. Math. Assoc. Am. 1961, 68, 1–67. [Google Scholar] [CrossRef]
  66. Jantosciak, J. Transposition hypergroups, Noncommutative Join Spaces. J. Algebra 1997, 187, 97–119. [Google Scholar] [CrossRef] [Green Version]
  67. Massouros, C.G.; Massouros, G.G. Operators and Hyperoperators acting on Hypergroups. AIP Conf. Proc. 2008, 1048, 380–383. [Google Scholar] [CrossRef]
  68. Hošková, Š.; Chvalina, J. Discrete transformation hypergroups and transformation hypergroups with phase tolerance space. Discret. Math. 2008, 308, 4133–4143. [Google Scholar] [CrossRef]
  69. Tsitouras, C.G.; Massouros, C.G. On enumeration of hypergroups of order 3. Comput. Math. Appl. 2010, 59, 519–523. [Google Scholar] [CrossRef] [Green Version]
  70. Massouros, C.G.; Tsitouras, C.G. Enumeration of hypercompositional structures defined by binary relations. Ital. J. Pure Appl. Math. 2011, 28, 43–54. [Google Scholar]
  71. Tsitouras, C.G.; Massouros, C.G. Enumeration of Rosenberg type hypercompositional structures defined by binary relations. Eur. J. Comb. 2012, 33, 1777–1786. [Google Scholar] [CrossRef] [Green Version]
  72. Massouros, C.G.; Massouros, G.G. On join hyperrings, Algebraic Hyperstructures and Applications. In Proceedings of the 10th International Congress, Brno, Czech Republic, 3–9 September 2008; pp. 203–215. [Google Scholar]
  73. Massouros, G.G.; Massouros, C.G. Homomorphic relations on Hyperringoids and Join Hyperrings. Ratio Mat. 1999, 13, 61–70. [Google Scholar]
  74. Massouros, G.G. The Hyperringoid. Mult. Valued Log. 1998, 3, 217–234. [Google Scholar]
  75. Bayon, R.; Lygeros, N. Advanced results in enumeration of hyperstructures. J. Algebra 2008, 320, 821–835. [Google Scholar] [CrossRef] [Green Version]
  76. Massouros, C.G. On the enumeration of rigid hypercompositional structures. AIP Conf. Proc. 2014, 1648, 740005. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Transition diagram for a state machine with one state.
Figure 1. Transition diagram for a state machine with one state.
Mathematics 10 02427 g001
Figure 2. Transition diagrams for a state machine with two states and a singleton as the set of the operators.
Figure 2. Transition diagrams for a state machine with two states and a singleton as the set of the operators.
Mathematics 10 02427 g002
Figure 3. Binary state machines with two states.
Figure 3. Binary state machines with two states.
Mathematics 10 02427 g003
Table 1. Classification of the magmas with two elements.
Table 1. Classification of the magmas with two elements.
Total NumberIsomorphism
Classes
Classes with
1 Member
(Rigid)
Classes
with 2
Members
binary magmas8145936
binary magmas with composition161046
binary magmas with hypercomposition6535530
non-reproductive semigroups6422
non-reproductive semihypergroups105 5
non-reproductive LA-semihypergroups21 1
non-reproductive RA-semihypergroups21 1
non-associative quasihypergroups 211139
groups21 1
hypergroups/transposition hypergroups12725
LA-hypergroups3211
RA-hypergroups3211
Table 2. Binary state machines with two states.
Table 2. Binary state machines with two states.
Group/HypergroupNon-Isomorphic
Quasiautomata
Non-Isomorphic
Quasi-Multiautomata
G 1 3
H 1 23
H 2 22
H 3 22
H 4 24
H 5 21
H 6 23
H 7 25
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Massouros, G.G.; Massouros, C.G. State Machines and Hypergroups. Mathematics 2022, 10, 2427. https://doi.org/10.3390/math10142427

AMA Style

Massouros GG, Massouros CG. State Machines and Hypergroups. Mathematics. 2022; 10(14):2427. https://doi.org/10.3390/math10142427

Chicago/Turabian Style

Massouros, Gerasimos G., and Christos G. Massouros. 2022. "State Machines and Hypergroups" Mathematics 10, no. 14: 2427. https://doi.org/10.3390/math10142427

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