Emergence

From Tibsfox/gsd-skill-creator · View interactive version

Emergence is an AI agent skill from the GitHub repository Tibsfox/gsd-skill-creator. Complex systems and emergent behavior — chaos theory, fractals, neural networks, cellular automata, and computability. Analyzes dynamical systems for chaos via Lyapunov exponents, classifies bifurcations, measures fractal dimension, and models emergent phenomena. Use when analyzing chaotic systems,

How to use this skill

Skill file

Emergence

Part IX: Growing — Chapters 28, 29, 30, 31 — Plane Position: (0.5, 0) radius 0.4 — 36 Primitives

Workflow

  1. Identify the dynamical system — determine whether it is discrete (logistic map, cellular automaton) or continuous (ODE system)
  2. Compute the Lyapunov exponent to classify behavior: λ > 0 indicates chaos, λ < 0 indicates convergence to periodic orbit
  3. Analyze bifurcations by varying parameters — classify as saddle-node, pitchfork, Hopf, or period-doubling
  4. Measure fractal dimension for strange attractors using d = log(N)/log(1/r) for self-similar structures
  5. Estimate prediction horizon using t_predict ≈ (1/λ) × ln(Δ/δ₀) to quantify how far ahead the system remains predictable

Key Concepts

Neural Network (definition): An artificial neural network is a computational graph: y = f_L(W_L * f_{L-1}(... f_1(W_1 * x + b_1) ...+ b_L)), where W_i are weight matrices, b_i are bias vectors, and f_i are nonlinear activation functions. A perceptron is the single-layer case: y = sigma(w^T x + b).

Logistic Map (definition): The logistic map is the discrete dynamical system x_{n+1} = r * x_n * (1 - x_n), where x_n in [0,1] and r in [0,4]. It exhibits period doubling, bifurcations, and chaos as r increases, serving as the canonical example of deterministic chaos.

Turing Machine (definition): A Turing machine is a mathematical model of computation consisting of: an infinite tape divided into cells, a head that reads/writes symbols and moves left/right, a finite set of states Q, and a transition function delta: Q x Gamma -> Q x Gamma x {L,R}. It defines the boundary of computability.

Bifurcation Theory (definition): A bifurcation occurs when a small change in a parameter causes a qualitative change in the system's behavior. Types include: saddle-node (creation/annihilation of fixed points), pitchfork (symmetry breaking), Hopf (birth of limit cycle), and period-doubling (orbit stability change).

Fractal Dimension (definition): The Hausdorff dimension d_H of a set S is the critical value where the Hausdorff measure transitions from infinity to zero: d_H = inf{d : H^d(S) = 0}. For self-similar fractals with N copies scaled by factor r, d = log(N)/log(1/r). Fractals have non-integer dimension.

Self-Similarity (definition): A set S is self-similar if it can be decomposed into parts that are scaled copies of the whole: S = union_{i=1}^N f_i(S), where each f_i is a contraction mapping (similitude) with scaling ratio r_i < 1. Exact self-similarity holds for mathematical fractals; statistical self-similarity holds for natural fractals.

Church-Turing Thesis (axiom): The Church-Turing thesis states that any function which is effectively computable (by an algorithm, in the intuitive sense) is computable by a Turing machine. This is a thesis, not a theorem -- it cannot be formally proved, but all known computational models have been shown equivalent to Turing machines.

Lyapunov Exponent (definition): The maximal Lyapunov exponent lambda measures the average exponential rate of divergence of nearby trajectories: lambda = lim_{n->inf} (1/n) sum_{i=0}^{n-1} ln|f'(x_i)|. For the logistic map, lambda > 0 indicates chaos; lambda < 0 indicates convergence to a periodic orbit.

Sensitive Dependence on Initial Conditions (definition): A dynamical system exhibits sensitive dependence on initial conditions if there exists delta > 0 such that for any x and any epsilon > 0, there exists y with |x-y| < epsilon and n > 0 such that |f^n(x) - f^n(y)| > delta. Informally: arbitrarily close initial states eventually diverge by a macroscopic amount.

Cellular Automaton (definition): A cellular automaton is a discrete dynamical system on a regular grid where each cell has a finite state updated simultaneously according to a local rule depending on neighboring cells. Wolfram's Rule 110 is proven Turing-complete. Conway's Game of Life uses a 2D grid with birth/survival rules B3/S23.

Composition Patterns

Cross-Domain Links

Activation Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.