viva_aion/seed

Seed - The DNA of universes

“All You Zombies” - The end is in the beginning. Each seed deterministically generates an entire universe. Mutation transforms entropy into the next universe’s DNA.

Big Bounce Cosmology

When consciousness reaches the Core (Leviathan), the universe collapses. But rather than destruction, entropy is transformed into the seed of the next universe.

Universe[n]
    │
    ▼ accumulate entropy
    │
    ▼ reach Core (singularity)
    │
    ▼ mutate(seed[n], entropy) = seed[n+1]
    │
Universe[n+1]

Types

A universe seed

pub type Seed {
  Seed(value: String)
}

Constructors

  • Seed(value: String)

Values

pub fn combine(seeds: List(Seed)) -> Seed

Combine multiple seeds (for multiverse merging)

pub fn derive_lineage(base: Seed, generations: Int) -> List(Seed)

Create a lineage of seeds (for tracking universe history)

pub fn equals(a: Seed, b: Seed) -> Bool

Check if two seeds are equal

pub fn from_int(n: Int) -> Seed

Create seed from integer

pub const genesis: Seed

The primordial seed - Genesis

pub fn mutate(
  current: Seed,
  entropy: Float,
  extra: String,
) -> Seed

Mutate seed with entropy (Big Bounce transformation)

This is the quantum foam - small changes in entropy cause massive changes in the resulting universe (Butterfly Effect).

pub fn new(value: String) -> Seed

Create seed from string

pub fn to_hash(seed: Seed) -> Int

Convert seed to integer hash (for RNG)

pub fn to_string(seed: Seed) -> String

Get seed value as string

Search Document