invariant-set

plurigrid's avatarfrom plurigrid

Sets preserved by the flow

⭐1stars🔀2forks📁View on GitHub🕐Updated Jan 9, 2026

When & Why to Use This Skill

The Invariant Set skill is a specialized tool for dynamical systems theory, designed to analyze and identify sets preserved by the flow in phase space. It provides a rigorous mathematical framework for understanding the qualitative behavior of differential equations, stability analysis, and global system structures, making it essential for advanced scientific modeling and complex system research.

Use Cases

  • Stability Analysis: Identifying sinks, attractors, and equilibria to determine the long-term robustness of physical, chemical, or biological systems.
  • Bifurcation Research: Analyzing how qualitative changes in system behavior occur as parameters vary, crucial for climate modeling and economic forecasting.
  • Computational Dynamics: Leveraging AlgebraicDynamics.jl integration to model compositional dynamical systems and resource-sharing machines.
  • Advanced Agent Logic: Applying non-backtracking geodesic traversal and GF(3) conservation principles to optimize complex state transitions and decision-making chains in AI agents.
nameinvariant-set
descriptionSets preserved by the flow
version1.0.0

Invariant Set

Trit: -1 (MINUS) Domain: Dynamical Systems Theory Principle: Sets preserved by the flow

Overview

Invariant Set is a fundamental concept in dynamical systems theory, providing tools for understanding the qualitative behavior of differential equations and flows on manifolds.

Mathematical Definition

INVARIANT_SET: Phase space × Time → Phase space

Key Properties

  1. Local behavior: Analysis near equilibria and invariant sets
  2. Global structure: Long-term dynamics and limit sets
  3. Bifurcations: Parameter-dependent qualitative changes
  4. Stability: Robustness under perturbation

Integration with GF(3)

This skill participates in triadic composition:

  • Trit -1 (MINUS): Sinks/absorbers
  • Conservation: Σ trits ≡ 0 (mod 3) across skill triplets

AlgebraicDynamics.jl Connection

using AlgebraicDynamics

# Invariant Set as compositional dynamical system
# Implements oapply for resource-sharing machines
  • equilibrium (trit 0)
  • stability (trit +1)
  • bifurcation (trit +1)
  • attractor (trit +1)
  • lyapunov-function (trit -1)

Skill Name: invariant-set Type: Dynamical Systems / Invariant Set Trit: -1 (MINUS) GF(3): Conserved in triplet composition

Non-Backtracking Geodesic Qualification

Condition: μ(n) ≠ 0 (Möbius squarefree)

This skill is qualified for non-backtracking geodesic traversal:

  1. Prime Path: No state revisited in skill invocation chain
  2. Möbius Filter: Composite paths (backtracking) cancel via μ-inversion
  3. GF(3) Conservation: Trit sum ≡ 0 (mod 3) across skill triplets
  4. Spectral Gap: Ramanujan bound λ₂ ≤ 2√(k-1) for k-regular expansion
Geodesic Invariant:
  ∀ path P: backtrack(P) = ∅ ⟹ μ(|P|) ≠ 0
  
Möbius Inversion:
  f(n) = Σ_{d|n} g(d) ⟹ g(n) = Σ_{d|n} μ(n/d) f(d)