Prospects for Applied Mathematics and Data Analysis cover
Prospects for Applied Mathematics and Data Analysis

Online ISSN 2836-4449

Full Length Article

Volume 4 • Issue 1 • PP: 23 –31 • 2024

Hyperalgorithms & Superhyperalgorithms: A Unified Framework for Higher-Order Computation

Takaaki Fujita 1*
1Independent Researcher, Shinjuku, Shinjuku-ku, Tokyo, Japan
* Corresponding Author.
verified

Open Access & Copyright

© 2024 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

An algorithm is a finite, well-defined computational procedure that transforms inputs into outputs through a structured sequence of steps, guaranteeing termination and correctness. A multialgorithm comprises multiple algorithms augmented with a selection mechanism that dynamically chooses the most appropriate procedure based on input characteristics or contextual conditions. While these concepts have deep roots in computer science and beyond, this paper introduces two novel generalizations: the Hyperalgorithm and the Superhyper- algorithm. By leveraging the mathematical frameworks of hyperstructures and superhyperstructures, respectively, we extend the classical notion of computation to higher-order operations on sets and iterated powersets. We present formal definitions, illustrative examples, and a preliminary analysis of their computational properties, laying the groundwork for a unified theory of higher-order algorithms.

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

1. PRELIMINARIES AND DEFINITIONS

This section provides an introduction to the foundational concepts and definitions required for the discussions in this paper. Throughout the paper, we restrict our attention to finite structures unless explicitly stated otherwise.

1.1 Powerset and n-th Powerset

In what follows, we employ the concepts of the powerset and the n-th powerset as fundamental building blocks for our later constructions.

Definition 1.1 (Set). A set is a collection of distinct objects, called elements, which are unambiguously defined [14]. If A is a set and x is an element of A, we write x ∈A. Sets are usually denoted by enclosing their elements in curly braces.

Definition 1.2 (Subset). For any two sets A and B, A is said to be a subset of B (written A ⊆B) if every element of A is also an element of B [14]:

∀x ∈A, x ∈B.

If additionally A̸ = B, then A is called a proper subset of B, denoted A ⊂B.

Definition 1.3 (Empty Set). The empty set, denoted ∅, is the unique set that contains no elements [14]:

∀x, x /∈∅.

It follows that ∅is a subset of every set.

Definition 1.4 (Base Set). A base set S is the underlying set from which more elaborate structures, such as powersets and hyperstructures, are constructed [13]. It is defined by

S = {x | x belongs to a specified domain}.

All elements appearing in constructions like P(S) or Pn(S) are drawn from S.

Definition 1.5 (Powerset). The powerset of a set S, denoted P(S), is the collection of all subsets of S, including both ∅ and S itself [13, 19]:

P(S) = {A | A ⊆S}.

Definition 1.6 (n-th Powerset). The n-th powerset of a set H, denoted Pn(H), is defined recursively by (cf. [24, 25])

P1(H) = P(H), Pn+1(H) = P

Pn(H) for n ≥1.

Similarly, the n-th nonempty powerset, denoted P∗ n(H), is given by

1(H) = P∗(H), P∗ n+1(H) = P∗ n(H) where P∗(H) denotes the powerset of H with the empty set omitted.

1.2 Hyperstructure and Superhyperstructure

To establish a robust theoretical foundation for hyperstructures [12, 18] and superhyperstructures [10, 11], we introduce key definitions that formalize their properties.

Definition 1.7 (Classical Structure). A Classical Structure is a mathematical system based on a nonempty set H that is endowed with one or more classical operations satisfying a prescribed set of axioms (cf. [23, 25]). A classical operation is a mapping

#0 : Hm →H, where m ≥1 and Hm denotes the m-fold Cartesian product of H. Typical examples include operations like addition or multiplication in algebraic systems such as groups, rings, or fields.

Definition 1.8 (Hyperoperation). A hyperoperation is a generalization of a binary operation in which the combination of two elements yields a set of elements rather than a single element (cf. [27, 28]). Formally, for a set S, a hyperoperation ◦is defined by ◦: S×S →P(S), where P(S) represents the powerset of S.

Definition 1.9 (Hyperstructure). A hyperstructure is an extension of a classical structure where the operations are defined on the powerset of a base set (cf. [25, 29]). It is formally given by

�  H = P(S),◦ ,

with S as the base set and ◦acting on subsets of S.

Definition 1.10 (SuperHyperOperations). Let H be a nonempty set and P(H) its powerset [25]. Define the nth powerset Pn(H) recursively by

P0(H) = H, Pk+1(H) = P

Pk(H) for k ≥0.

A SuperHyperOperation of order (m,n) is an m-ary operation

  • (m,n) : Hm →Pn ∗(H),

where Pn

∗(H) denotes the n-th powerset of H (either excluding the empty set, which we refer to as a classical-type operation, or including it, known as a Neutrosophic-type operation). These operations serve as higher-order generalizations of hyperoperations by capturing multi-level complexity through iterative powerset constructions.

Example 1.11 (Friend-of-Friend Operation as a SuperHyper-Operation). Let H be a finite set of people in a social network, and let P(H) denote its powerset. Define the binary Super-HyperOperation of order (2,2),

  • (2,2) : H ×H −→P2(H)

x◦(2,2) y = {Friends(x),Friends(y),

Friends(x)∩Friends(y)}, where

Friends(z) = {w ∈H : w is directly connected to z} ⊆H.

Here:

  • x,y ∈H are two individuals.
  • Friends(x),Friends(y) ∈P1(H) are their direct friend sets.
  • ◦(2,2) returns a 2-superset whose elements (each a subset of H) capture each person’s friends and their mutual friends.

This SuperHyperOperation captures both first-order and second-order social connections in one higher-order operation.

Definition 1.12 (n-Superhyperstructure). An nsuperhyperstructure generalizes a hyperstructure by incorporating the n-th powerset of a base set (cf. [9, 25]). It is defined as

S H n =

Pn(S),◦ where S is the base set, Pn(S) is its n-th powerset, and ◦is an operation on elements of Pn(S).

Example 1.13 (Cloud Infrastructure as a 3-Superhyperstructure). Let S be the finite set of all physical servers in a global cloud provider. Form the iterated powersets:

P1(S) = {rack groupings},

P2(S) = {data center assemblies},

P3(S) = {regional partitions}.

Define the 3-superhyperstructure

S H 3 =

P3(S),∪ where the operation ∪acts on elements of P3(S) by set-union at the region level. Concretely:

  • Level 0 (S): individual servers.
  • Level 1 (P1(S)): racks of servers.
  • Level 2 (P2(S)): data centers composed of multiple racks.
  • Level 3 (P3(S)): geographical regions grouping several data centers.
  • The operation ∪on two regions merges their data-center assemblies into a larger region.

This example illustrates a 3-superhyperstructure modeling hierarchical cloud infrastructure from servers up to global regions.

1.3 Algorithm

Algorithm is a finite, well-defined computational procedure that transforms inputs into outputs through a sequence of effective steps, ensuring termination and correctness [4, 20, 22].

Definition 1.14 (Algorithm). An algorithm is a finite, welldefined, and effective computational procedure that transforms an input into an output after a finite number of steps. An algorithm must satisfy the following properties:

(1) Finiteness: The algorithm terminates after a finite number of steps. (2) Definiteness: Each step of the algorithm is precisely defined. (3) Input: The algorithm accepts one or more inputs from a specified set I. (4) Output: The algorithm produces one or more outputs in a set O. (5) Effectiveness: Every operation is basic enough to be carried out in a finite amount of time.

Formally, an algorithm can be modeled as a total computable function

A : I →O,

or equivalently as a Turing machine that halts on every input.

Example 1.15 (Euclidean Algorithm for GCD). Consider the Euclidean algorithm for computing the greatest common divisor (GCD) of two positive integers a and b (cf. [8, 17, 21]). The algorithm is defined by:

1. If b = 0, then output a and halt. 2. Otherwise, replace (a,b) with (b,a mod b) and repeat.

This algorithm terminates in a finite number of steps and returns gcd(a,b) as the output.

1.4 Multialgorithm and Parallel Algorithm

Multialgorithm is a collection of multiple algorithms with a selection mechanism that dynamically chooses the most suitable one based on input characteristics or conditions [7, 15, 26].

Definition 1.16 (Multialgorithm). A multialgorithm is a composite computational framework that consists of a finite collection of algorithms and a selection mechanism that determines, for each input x ∈I, which algorithm to apply to produce the output. Formally, let

A = {A1,A2,...,Ak}

be a finite set of algorithms, where each Ai : I →O is a total computable function. A selection function

µ : I →{1,2,...,k}

assigns to every input x an index i = µ(x), and the multialgorithm M is defined by

M(x) = Aµ(x)(x) ∀x ∈I.

The selection function µ may depend on criteria such as input size, structure, or performance requirements.

Example 1.17 (Hybrid Sorting Algorithm). A typical example of a multialgorithm is a hybrid sorting algorithm that chooses between Insertion Sort and Merge Sort based on the size of the input array (cf. [2, 6, 30]). For an input array x of length n, define the selection function as

1, if n ≤n0, 2, if n > n0, µ(x) = where A1 is Insertion Sort (efficient for small n) and A2 is Merge Sort (efficient for large n), with n0 as a threshold value. The multialgorithm then computes

M(x) = Aµ(x)(x).

This approach leverages the strengths of each algorithm based on the specific characteristics of the input.

A related concept is parallel algorithms [1, 16]. For reference, the mathematical definition of parallel algorithms is provided below.

Definition 1.18 (Parallel Algorithm). Let I be a set of inputs, and let O be a set of outputs. A parallel algorithm consists of:

  • A finite set of processing units P = {P1,P2,...,Pm}, where each Pi executes a part of the computation independently.
  • A task decomposition function D : I →P(S), where S is the set of subtasks and D(x) partitions an input x ∈I into subtasks S1,S2,...,Sk for parallel execution.
  • A set of local computations Ai : Si →Oi performed by each processing unit Pi, where Oi is the local output space of Pi.
  • A result aggregation function R : O1 ×O2 ×···×Om →O that combines local outputs to produce the final result.

Thus, a parallel algorithm is a tuple

P,D,{Ai}m �  A =

i=1,R that computes the final output as

� D(x) = {S1,S2,...,Sm}.

A(x) = R

A1(S1),A2(S2),...,Am(Sm)

Example 1.19 (Parallel Merge Sort). Consider an unsorted array A of n elements that needs to be sorted (cf. [3, 5]). A parallel merge sort algorithm works as follows:

1. Task Decomposition: Divide the array A into m subarrays A1,A2,...,Am of (approximately) equal size, where m is the number of available processing units. 2. Local Computation: Each processor Pi independently sorts its assigned subarray Ai using a sequential sorting algorithm (for example, merge sort). 3. Aggregation: In a parallel merging phase, the sorted subarrays are combined using a multiway merge operation to produce the final sorted array.

Under ideal conditions, the overall time complexity can be reduced from O(nlogn) in the sequential case to approximately

nlogn in the parallel implementation.

2. RESULT IN THIS PAPER

In this section, we introduce the notions of a Hyperalgorithm and an n-Superhyperalgorithm.

2.1 Hyperalgorithm

The definition of a Hyperalgorithm is provided below.

Definition 2.1 (Hyperalgorithm). Let I and O be nonempty sets. Suppose that H = (P(O),◦) is a hyperstructure on O (i.e., the operation ◦is defined on the powerset P(O)). Let

A = {Ai : I →O | i ∈J}

be a finite collection of algorithms, where each Ai is a total computable function. A Hyperalgorithm is a function

A : I →P(O) defined by

A (x) = ◦

{Ai(x) : i ∈J} for all x ∈I.

In other words, a Hyperalgorithm aggregates the outputs of a family of algorithms via a hyperoperation ◦on O. Notice that if ◦is chosen to be degenerate (i.e., always returns a singleton), then the Hyperalgorithm reduces to a conventional multialgorithm.

Example 2.2 (Automotive Fault Diagnosis as a Hyperalgorithm). Let

I = {“engine won’t start”,“battery light on”,

“clicking noise”} be the set of possible symptom-profiles, and let

O = {“dead battery”,“starter motor”,

“alternator failure”,“fuel pump”} be the set of diagnostic fault codes.

Define two diagnostic algorithms:

A1 : I →O,

       

{dead battery, starter motor}, x = {engine won’t start, clicking noise}, {alternator failure},

A1(x) =

      

x ⊇{battery light on}, ∅, otherwise,

A2 : I →O,

       

{dead battery, alternator failure}, x ⊇{battery light on}, {fuel pump},

A2(x) =

      

x = {engine won’t start}, ∅, otherwise.

We lift these to a Hyperalgorithm A : I →P(O) by choosing the union as our hyperoperation:

◦(S) = [ S.

Then for any symptom profile x ⊆I,

A (x) = ◦

{A1(x),A2(x)}

= A1(x)∪A2(x).

For example, if x = {engine won’t start, battery light on}, then

A1(x) = {alternator failure},

A2(x) = {dead battery, alternator failure},

A (x) = {dead battery, alternator failure}.

This Hyperalgorithm thus captures both rule-based and datadriven diagnostics, aggregating their outputs into a combined set of candidate faults.

Example 2.3 (House Price Interval Prediction as a Hyperalgorithm). Let I = Rd be the set of d-dimensional feature vectors describing residential properties, and let O = R denote predicted sale prices (in thousands of dollars). Consider three regression models:

A1 : I →O (linear regression),

A2 : I →O (decision-tree regression),

A3 : I →O (random-forest regression), each of which is a total computable function on feature vectors.

Define the hyperoperation

  • : P(O) →P(O),
  • (S) = [minS,maxS]
= {y ∈O : minS ≤y ≤maxS},

which returns the closed interval spanning all predictions in S. Then the Hyperalgorithm A : I −→P(O) is defined by

A (x) = ◦

{A1(x),A2(x),A3(x)}

Example. Suppose for a particular house feature vector x the models output

A1(x) = 250, A2(x) = 275, A3(x) = 260.

Then

A (x) = ◦({250,275,260}) = [250,275], indicating that the ensemble predicts the sale price will lie between $250k and $275k. This Hyperalgorithm thus encapsulates model disagreement as a continuous interval of plausible values.

Theorem 2.4 (Multialgorithm as a Special Case of Hyperalgorithm). Every multialgorithm is a special case of a hyperalgorithm.

Proof. Let M : I →O be a multialgorithm defined by M(x) = Aµ(x)(x) for a selection function µ : I →J and a collection of algorithms {Ai}i∈J. Define a hyperoperation ◦on P(O) such that for any singleton subset S = {y}, ◦(S) = S. Now, define the hyperalgorithm

A (x) = ◦

{Ai(x) : i ∈J}

Since the selection function µ picks a unique algorithm for each input, we have

A (x) = {Aµ(x)(x)}, which is a singleton. Thus, the multialgorithm M is recovered from A , showing that every multialgorithm is a special case of a hyperalgorithm.

Theorem 2.5 (Computability of Hyperalgorithms). Let I and O be countable sets, and let A = {Ai : I →O | i ∈J} be a finite family of total computable functions. Suppose ◦: P(O) →P(O) is a computable hyperoperation on finite subsets of O. Then the Hyperalgorithm

A : I −→P(O), A (x) = ◦

{Ai(x) : i ∈J} is itself a total computable function.

Proof. On input x ∈I:

1. For each i ∈J, compute yi = Ai(x). Since each Ai is total computable and J is finite, this yields the finite set {yi : i ∈J} ⊆O. 2. Apply the computable hyperoperation ◦to this finite set, producing ◦({yi}) ∈P(O).

Each step is a computable procedure on finite data, so A (x) is computed in finite time. Hence A is a total computable function from I to P(O).

Theorem 2.6 (Monotonicity under Inclusion). Suppose the hyperoperation ◦is monotone in the sense that whenever S1,S2 ⊆O satisfy S1 ⊆S2, we have ◦(S1) ⊆◦(S2). Let AJ1 and AJ2 be two finite algorithm families with J1 ⊆J2, and let AJ1,AJ2 be their corresponding Hyperalgorithms. Then for every x ∈I, AJ1(x) ⊆AJ2(x).

Proof. Fix x ∈I. Since J1 ⊆J2, the set of outputs {Ai(x) : i ∈J1} is a subset of {Ai(x) : i ∈J2}. Monotonicity of ◦then gives

AJ1(x) = ◦

{Ai(x) : i ∈J1}

= AJ2(x).

{Ai(x) : i ∈J2}

Hence adding more component algorithms can only enlarge (or leave unchanged) the Hyperalgorithm’s output.

Theorem 2.7 (Idempotence under Self-Application). If the hyperoperation ◦satisfies ◦(◦(S)) = ◦(S) for every finite S ⊆ O, then the Hyperalgorithm A is idempotent in the sense that

A ′(x) = ◦

�  {A (x)}

= A (x) for all x ∈I.

Proof. For each x ∈I, let Sx = {Ai(x) : i ∈J}. By definition, A (x) = ◦(Sx). If we now form {A (x)} ⊆P(O), then selfapplication of ◦yields

A ′(x) = ◦

� � {A (x)} = ◦ {◦(Sx)}

= ◦(Sx) = A (x), where the third equality uses the idempotence hypothesis ◦(◦(S)) = ◦(S). Thus the Hyperalgorithm is unchanged by one additional round of hyperoperation.

Theorem 2.8 (Time Complexity of Hyperalgorithms). Let I be a set of inputs encoded in bit-strings of length n, and let A = {Ai : I →O | i = 1,...,k} be a finite family of total computable component algorithms. Suppose:

  • Each Ai runs in time Ti(n).
  • The hyperoperation ◦: P(O) →P(O) on k inputs runs in time H(k).

Then the Hyperalgorithm

�  {Ai(x) : i = 1,...,k}

A (x) = ◦ runs in time k ∑ i=1

Ti(n)+H(k).

Ttotal(n) =

In particular, if k is a fixed constant and each Ti and H are polynomial functions of n, then A runs in polynomial time.

Proof. On input x of length n, we first compute each yi = Ai(x) for i = 1,...,k; this takes ∑k i=1 Ti(n) steps since the Ai run sequentially. We then collect the finite set {y1,...,yk} and apply the hyperoperation ◦, which by hypothesis takes H(k) steps. Summing these two phases yields the stated bound.

Theorem 2.9 (Space Complexity of Hyperalgorithms). Under the same setup, suppose moreover that:

  • Each output Ai(x) can be represented in space at most Si(n).
  • The hyperoperation ◦on k inputs requires working space W(k) (in addition to storing its inputs and output).

Then the Hyperalgorithm A can be implemented in space k ∑ i=1

Stotal(n) =

Si(n)+W(k).

If k is fixed and each Si and W are polynomial in n, then A uses polynomial space.

Proof. To compute A (x), we must store each intermediate result yi = Ai(x), using at most ∑k i=1 Si(n) space. Then applying ◦may use an additional W(k) workspace (e.g., for temporary registers or indexing), but does not overwrite the stored yi. Finally, we produce the output hyper-set, whose storage is already accounted for within ∑i Si(n). Therefore the total space required is the sum of the component storage plus W(k), as claimed.

2.2 n-Superhyperalgorithm

The definition of an n-Superhyperalgorithm is provided below.

Definition 2.10 (n-Superhyperalgorithm). Let I and O be nonempty sets. Suppose that S H n = (Pn(O),◦(n)) is an n-superhyperstructure on O, where Pn(O) denotes the n-th powerset of O (constructed recursively as in the preliminaries) and ◦(n) is an n-superhyperoperation on Pn(O). Let

A = {Ai : I →O | i ∈J}

be a finite collection of algorithms. An n-Superhyperalgorithm is a function

A (n) : I →Pn(O) defined by

A (n)(x) = ◦(n)

{Ai(x) : i ∈J} for all x ∈I.

This definition generalizes the hyperalgorithm by operating within the richer structure of the n-th powerset. In particular, when n = 1 (so that P1(O) = P(O)), the nsuperhyperalgorithm coincides with the hyperalgorithm.

Example 2.11 (Automotive Fault Diagnosis via a 2-Superhyperalgorithm). Let

I = {“engine won’t start”,“battery light on”,

“clicking noise”} be the set of symptom profiles, and let

O = {dead battery, starter motor, alternator failure, fuel pump} be the set of candidate faults.

Define two diagnostic sub-algorithms:

       

{dead battery, starter motor}, x ⊇{engine won’t start, clicking noise}, {alternator failure},

A1(x) =

      

x ⊇{battery light on}, ∅, otherwise,

       

{dead battery, alternator failure}, x ⊇{battery light on}, {fuel pump},

A2(x) =

      

x = {engine won’t start}, ∅, otherwise.

We embed each output as a singleton-set:

⊂P1�   {A1(x)},{A2(x)}

P1(O)

= P2(O).

S(x) =

Define the 2-superhyperoperation

◦(2)(S) = {U ∪V,U ∩V,U △V | {U,V} ⊆S},

which returns, for any two singleton-sets U,V ⊆O, their union, intersection, and symmetric difference.

Then the 2-Superhyperalgorithm A (2) : I −→P2(O) is

A (2)(x) = ◦(2)

{{A1(x)},{A2(x)}} .

For instance, if x = {engine won’t start, battery light on}, then

A1(x) = {alternator failure},

A2(x) = {dead battery, alternator failure},

S(x) = {{alternator failure},

{dead battery, alternator failure}},

A (2)(x) = {{dead battery, alternator failure},

{alternator failure},{dead battery}}.

This explicitly lists the union, intersection, and symmetric difference of the two candidate-fault sets. The output lies in P2(O) and demonstrates how a 2-Superhyperalgorithm encodes both individual diagnoses and their combined relationships.

Example 2.12 (3-Superhyperalgorithm for Power Computation). Let I = N and O = N. Define two base algorithms:

A1(x) = x2, A2(x) = x3.

For each x ∈N, form the embedded singleton outputs

{x2},{x3}   {A1(x)},{A2(x)} =

⊆P1(O).

S0(x) =

Second-level (2-super) step: apply the 2superhyperoperation ◦(2)(S) = P(S). Thus

S1(x) = ◦(2)

{{x2},{x3}}  �  = P

S0(x)

∅,{{x2}},{{x3}},{{x2},{x3}}  =

⊆P2(O).

Third-level (3-super) step: apply the 3-superhyperoperation ◦(3)(T) = P(T). Hence the 3-Superhyperalgorithm A (3) : I →P3(O) is

A (3)(x) = ◦(3)

 � = P = {U : U ⊆S1(x)},

S1(x)

S1(x) a subset of P3(O). In particular, for x = 2:

S0(2) = {{4},{8}}, ∅,{{4}},{{8}},{{4},{8}}  , �  = 16.

S1(2) =

A (3)(2) = P

�  = {U : U ⊆S1(2)}, A (3)(2)

S1(2)

Thus A (3)(2) is the collection of all 16 possible subcollections of {∅,{{4}},{{8}},{{4},{8}}}, vividly illustrating how a 3-Superhyperalgorithm returns richly nested multilevel information about the inputs.

Theorem 2.13 (n-Superhyperalgorithm Generalizes Hyperalgorithm). Every hyperalgorithm is a special case of an n-superhyperalgorithm.

Proof. Let A : I →P(O) be a hyperalgorithm defined as in the previous section. Notice that P(O) is naturally embedded in Pn(O) for any n ≥1 (since the first powerset is a subset of the n-th powerset). Define the mapping ι : P(O) →Pn(O) ι(S) = S for every S ∈P(O).

Then, define the n-superhyperalgorithm A (n) : I →Pn(O) by

A (n)(x) = ι

A (x)

For every x ∈I, we have A (n)(x) = A (x) (viewed as an element of Pn(O)). Therefore, the hyperalgorithm A is embedded as a special case of the n-superhyperalgorithm A (n).

Theorem 2.14 (Computability of n-Superhyperalgorithms). Let I and O be countable sets, and let A = {Ai : I →O | i ∈J} be a finite family of total computable functions. Suppose the n-superhyperoperation

  • (n) : Pn(O) −→Pn(O)

is computable on finite inputs. Then the induced n-Superhyperalgorithm

A (n) : I −→Pn(O), A (n)(x) = ◦(n)

{Ai(x) : i ∈J} is a total computable function.

Proof. On input x ∈I:

1. Compute each yi = Ai(x). Since J is finite and each Ai is total computable, this yields the finite multiset {yi} ⊆O. 2. Embed each yi into Pn(O) by iterated singletons, forming an input in Pn(O). 3. Apply the computable n-superhyperoperation ◦(n) to this finite collection, producing A (n)(x) ∈Pn(O).

Each step terminates in finite time; hence A (n) is total computable.

Theorem 2.15 (Monotonicity under Algorithm Inclusion). Assume ◦(n) is monotone in the sense that whenever

{Xi},{Yi} ⊆Pn(O) satisfy Xi ⊆Yi for all i, then ◦(n)({Xi}) ⊆ ◦(n)({Yi}). Let A1 ⊆A2 be two finite families of algorithms, with corresponding n-Superhyperalgorithms A (n)

1 ,A (n)

2 . Then for every x ∈I,

A (n)

1 (x) ⊆A (n)

2 (x).

Proof. Fix x. Since A1 ⊆A2, we have {Ai(x) : i ∈A1} ⊆ {Ai(x) : i ∈A2} as subsets of O, and hence their embeddings into Pn(O) satisfy componentwise inclusion. Monotonicity of ◦(n) implies

A (n)

1 (x) = ◦(n)

{Ai(x) : i ∈A1}

= A (n)

⊆◦(n)�

{Ai(x) : i ∈A2}

2 (x).

Theorem 2.16 (Flattening to Hyperalgorithms). Let φk : Pn(O) →Pn−k(O) be the k-fold flattening map given by successive union. If A (n) is an n-Superhyperalgorithm, then for each k ≤n, the composition

A (n−k) = φk ◦A (n) : I −→Pn−k(O) is a well-defined (n−k)-Superhyperalgorithm. In particular, for k = n−1 it yields an ordinary hyperalgorithm.

Proof. Since A (n)(x) ∈Pn(O) for every x ∈I, applying φk produces an element of Pn−k(O). The operation ◦(n−k) on Pn−k(O) can be defined by ◦(n−k) = φk ◦◦(n), and one checks directly that this satisfies the axioms of an (n −k)superhyperoperation. Hence A (n−k) is a valid (n −k)-Superhyperalgorithm.

Theorem 2.17 (Idempotence under Self-Application). If ◦(n) satisfies

◦(n)� {◦(n)(S)} 

= ◦(n)(S) for all finite S ⊆Pn(O), then the associated Superhyperalgorithm A (n) is idempotent:

∀x ∈I, ◦(n) {A (n)(x)}

= A (n)(x).

Proof. Let Sx = {Ai(x) : i ∈J} ⊆O embedded into Pn(O). Then A (n)(x) = ◦(n)(Sx), and self-application gives

= ◦(n)� {◦(n)(Sx)}  
  • (n) {A (n)(x)}

= ◦(n)(Sx) = A (n)(x).

The second equality uses the idempotence property of ◦(n).

Theorem 2.18 (Closure under Composition). Let

A (n) : I →Pn(O) and B(n) : O →Pn(P) be an n-Superhyperalgorithm on (I,O) with superhyperoperation ◦(n)

O , and another on (O,P) with superhyperoperation

  • (n) P . Then the composite

(B ◦A )(n) : I −→Pn(P) defined by

(B ◦A )(n)(x) = ◦(n)

{b : b ∈B(n)(y), y ∈A (n)(x)} is again an n-Superhyperalgorithm.

Proof. For each x ∈I, A (n)(x) ⊆Pn(O). Write Y = A (n)(x). Then each y ∈Y ⊆O yields B(n)(y) ⊆Pn(P). Collecting all outputs {B(n)(y) : y ∈Y} gives a finite subset of Pn(P), to which we apply ◦(n)

P . This follows the same pattern as the definition of an n-Superhyperalgorithm, so the composite is of the required form.

Theorem 2.19 (Time Complexity Bound). Assume each component algorithm Ai ∈A runs in time at most Ti(|x|) on input x, and that the n-superhyperoperation ◦(n) on k = |A | inputs runs in time H(n)(k). Then the n-Superhyperalgorithm

A (n)(x) = ◦(n)

{Ai(x)} runs in time

Ttotal(x) = ∑

Ti(|x|)+H(n)

In particular, if |J| and n are fixed constants and each Ti and H(n) are polynomial, then A (n) runs in polynomial time.

Proof. Computing each Ai(x) takes Ti(|x|), summing over i ∈ J. Gathering these outputs into the input for ◦(n) is O(|J|), and applying the superhyperoperation takes H(n)(|J|). Adding these yields the stated bound.

Theorem 2.20 (Space Complexity and Output-Size Bound). Let |O| = m be the size of the output domain. Then

|Pn(O)| ≤22··2m

(an n-fold tower of 2’s). Consequently, in the worst case, the space required to represent A (n)(x) is O

|Pn(O)|

. If each Ai(x) produces at most s bits and ◦(n) produces an output of size at most S(k) for k = |J| inputs, then the total space is which is constant if n, |J|, and s are fixed.

Proof. By definition, P1(O) has at most 2m elements, P2(O) at most 22m, and so on, yielding the n-fold tower. Representing A (n)(x) thus requires space proportional to the size of its encoding within Pn(O), bounded by this tower. If we restrict to fixed n and small outputs, the space reduces to the sum of the sizes of each Ai(x) plus the space to store ◦(n)’s result.

3. CONCLUSION AND FUTURE WORKS

In this paper, we introduced two novel computational paradigms: the Hyperalgorithm and the Superhyperalgorithm. By building on the algebraic frameworks of hyperstructures and superhyperstructures, we have extended classical algorithms to operate on higher-order sets and iterated powersets, opening new avenues for representing and combining computational processes.

ACKNOWLEDGMENTS

We extend our sincere gratitude to everyone who provided insights, inspiration, and assistance throughout this research. We particularly thank our readers for their interest and acknowledge the authors of the cited works for laying the foundation that made our study possible. We also appreciate the support from individuals and institutions that provided the resources and infrastructure needed to produce and share this paper. Finally, we are grateful to all those who supported us in various ways during this project.

References

[1] Guy E. Blelloch. Programming parallel algorithms. Communications of the ACM, 39(3):85–97, 1996.

[2] You-Rong Chen, Chien-Chia Ho, Wei-Ting Chen, and Pei-Yin Chen. A low-cost pipelined architecture based on a hybrid sorting algorithm. IEEE Transactions on Circuits and Systems I: Regular Papers, 71(2):717–730, 2023.

[3] Richard Cole. Parallel merge sort. SIAM Journal on Computing, 17(4):770–785, 1988.

[4] Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. Introduction to Algorithms. MIT Press, 2022.

[5] Andrew Davidson, David Tarjan, Michael Garland, and John D. Owens. Efficient parallel merge sort for fixed and variable length keys, 2012.

[6] Luciana De Micco, Mariano L. Acosta, and Maximiliano Antonelli. Hybrid sorting algorithm implemented by high level synthesis. IEEE Latin America Transactions, 18(2):430–437, 2019.

[7] Pedro S. de Souza and Sarosh N. Talukdar. Asynchronous organizations for multi-algorithm problems. In Proceedings of the 1993 ACM/SIGAPP Symposium on Applied Computing: States of the Art and Practice, pages 286–293, 1993.

[8] John D. Dixon. The number of steps in the euclidean algorithm. Journal of Number Theory, 2(4):414–422, 1970.

[9] Florentin Smarandache. Extension of hypergraph to nsuperhypergraph and to plithogenic n-superhypergraph, and extension of hyperalgebra to n-ary (classical- /neutro-/anti-) hyperalgebra. Neutrosophic Sets and Systems, 33(1):290–296, 2020.

[10] Florentin Smarandache. Superhyperfunction, superhyperstructure, neutrosophic superhyperfunction and neutrosophic superhyperstructure: Current understanding and future directions. Neutrosophic Systems with Applications, 12(1):68–76, 2023.

[11] Florentin Smarandache and Nivetha Martin. Plithogenic n-super hypergraph in novel multi-attribute decision making. International Journal of Neutrosophic Science, 7(1):8–30, 2020.

[12] Florentin Smarandache. The superhyperfunction and the neutrosophic superhyperfunction. Neutrosophic Sets and Systems, 49(1):594–600, 2022.

[13] Florentin Smarandache. Introduction to the nsuperhypergraph— the most general form of graph today. Neutrosophic Sets and Systems, 48(1):483–485, 2022.

[14] Thomas Jech. Set Theory: The Third Millennium Edition, Revised and Expanded. Springer, 2003.

[15] E. J. C. Kelkboom, Xuebing Zhou, Jeroen Breebaart, Raymond N. J. Veldhuis, and Christoph Busch. Multialgorithm fusion with template protection. In 2009 IEEE 3rd International Conference on Biometrics: Theory, Applications, and Systems, pages 1–8. IEEE, 2009.

[16] F. Thomson Leighton. Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes. Elsevier, 2014.

[17] Th. Motzkin. The euclidean algorithm, 1949.

[18] Michal Novák, Štˇepán Kˇrehlík, and Kyriakos Ovaliadis. Elements of hyperstructure theory in uwsn design and data aggregation. Symmetry, 11(6):734, 2019.

[19] Judith Roitman. Introduction to Modern Set Theory, volume 8. John Wiley & Sons, 1990.

[20] Robert Sedgewick and Kevin Wayne. Algorithms. Addison-Wesley Professional, 2011.

[21] Jeffrey Shallit. Origins of the analysis of the euclidean algorithm. Historia Mathematica, 21(4):401–419, 1994.

[22] Steven S. Skiena. The Algorithm Design Manual, volume 2. Springer, 2008.

[23] F. Smarandache. Introduction to superhyperalgebra and neutrosophic superhyperalgebra. Journal of Algebraic Hyperstructures and Logical Algebras, 2022.

[24] Florentin Smarandache. Extension of hyperalgebra to superhyperalgebra and neutrosophic superhyperalgebra (revisited). In Simona Dzitac, Domnica Dzitac, Florin Gheorghe Filip, Janusz Kacprzyk, Misu- Jan Manolescu, and Horea Oros, editors, Intelligent Methods Systems and Applications in Computing, Communications and Control, volume 1435 of Advances in Intelligent Systems and Computing, pages 427–432. Springer, Cham, 2023.

[25] Marzieh Rahmati and Mohammad Hamidi. Extension of g-algebras to superhyper g-algebras. Neutrosophic Sets and Systems, 55(1):557–567, 2023.

[26] Kouichi Takahashi, Kazunari Kaizu, Bin Hu, and Masaru Tomita. A multi-algorithm, multi-timescale method for cell simulation. Bioinformatics, 20(4):538– 546, 2004.

[27] Souzana Vougioukli. Helix hyperoperation in teaching research. Science & Philosophy, 8(2):157–163, 2020.

[28] Souzana Vougioukli. Hyperoperations defined on sets of s-helix matrices. Journal of Algebraic Hyperstructures and Logical Algebras, 1(3):81–90, September 2020.

[29] Thomas Vougiouklis. Hyperstructures and Their Representations. Hadronic Press, 1994.

[30] Ming Xu, Xianbin Xu, Fang Zheng, Yuanhua Yang, and Mengjia Yin. A hybrid sorting algorithm on heterogeneous architectures. TELKOMNIKA (Telecommunication Computing Electronics and Control), 13(4):1399– 1407, 2015.

Continue Reading

View the full issue arrow_forward

Cite This Article

Choose your preferred format

format_quote
Fujita, Takaaki. “Hyperalgorithms & Superhyperalgorithms: A Unified Framework for Higher-Order Computation.” Prospects for Applied Mathematics and Data Analysis, vol. 4, no. 1, 2024, pp. 23–31. https://doi.org/10.54216/PAMDA.040104.
Fujita, T. (2024). Hyperalgorithms & Superhyperalgorithms: A Unified Framework for Higher-Order Computation. Prospects for Applied Mathematics and Data Analysis, 4(1), 23–31. https://doi.org/10.54216/PAMDA.040104
Fujita, Takaaki. “Hyperalgorithms & Superhyperalgorithms: A Unified Framework for Higher-Order Computation.” Prospects for Applied Mathematics and Data Analysis 4, no. 1 (2024): 23–31. https://doi.org/10.54216/PAMDA.040104.
Fujita, T. (2024) ‘Hyperalgorithms & Superhyperalgorithms: A Unified Framework for Higher-Order Computation’, Prospects for Applied Mathematics and Data Analysis, 4(1), pp. 23–31. Available at: https://doi.org/10.54216/PAMDA.040104.
Fujita T. Hyperalgorithms & Superhyperalgorithms: A Unified Framework for Higher-Order Computation. Prospects for Applied Mathematics and Data Analysis. 2024;4(1):23-31. doi:10.54216/PAMDA.040104
T. Fujita, “Hyperalgorithms & Superhyperalgorithms: A Unified Framework for Higher-Order Computation,” Prospects for Applied Mathematics and Data Analysis, vol. 4, no. 1, pp. 23–31, 2024, doi: 10.54216/PAMDA.040104.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready