Crate eryon

Source
Expand description

§eryon

Eryon is a research project aimed at harmonizing computation. Eryon is inspired from the Neo-Riemannian theory of music using a blend of abstract mathematics and computer science to develop a new paradigm for computation.

Eryon works by establishing the topological equivalence between a 2-simplex and the headspace ($Q\times\Sigma$) of a Universal Turing Machine (UTM). This allows us to bridge the two, rather alien worlds of computation and music theory using the triad as the basis for describing a topological unit of compute. As a result, we can begin to explore the implications of a UTM that is capable of making adjustment to its own headspace to gaurentee the completion of a given task and how these machines can interact with one another.

Modeling the UTM as a 2-simplex allows us to represent a set of machines as the tonnetz, a unique representation capable of describing the configuration of the cluster through space as well as the state of each instance through time.

Modules§

actors
This crate focuses on implementing the actors for the substrate
core
This module implements core primitives and utilities used throughout the ecosystem.
crypto
this module implements various cryptographic primitives and utilities for the sdk.
error
identity
mem
This crate focuses on implementing the topological memory mechanism for the substrate and its constituents
nrt
This crate works to implemet various primitives and utilities supporting the musical aspects of the project.
ops
prelude
rstm
rstm
rt
This crate focuses on implementing the harmonic runtime for the substrate
time
traits
types
utils

Macros§

ruleset
a macro to create a ruleset for finite state machines;

Structs§

LearnedRule
PowerIter
An iterator over the variants of Power
Timestamp

Enums§

Error
The error type for this crate
Power

Traits§

Decrement
DecrementMut
Execute
A trait denoting the ability to execute a given operation, transaction, etc.
ExecuteMut
Increment
IncrementMut
PercentDifference
a trait for computing the percent difference between two values where the caller is considered the original value
PyMod
A trait for modular arithmetic; the algorithm is based on the Python % operator which uses the sign of the denominator rather than the numerator.
Scalar
ScalarExt
Shuffle
A trait for shuffling a collection
Symbolic
Transform

Functions§

std_time
systime is a utilitarian function that returns the current system time in milliseconds.
systime
systime is a utilitarian function that returns the current system time in milliseconds.
triangle_area
given the coordinates of the vertices of a triangle, calculate the area

Type Aliases§

Result
A type alias for a Result with the crate-specific error type Error