High-performance Python library for 4th-order chaotic systems and Snap dynamics.
Project description
SUBJECT: PROJECT CHAOS4 - ARCHITECTURAL MANIFESTO
ORIGIN: VECTURE LABORATORIES // DEPARTMENT OF MATHEMATICAL DOMINANCE
0. EXECUTIVE SUMMARY
Reality is not linear. It is a hierarchy of derivatives. chaos4 is the Vecture solution for the extraction of order from fourth-order Snap dynamics ($x^{(4)}$). While the uninitiated struggle with 3D Lorenzian noise, we operate in the 4D void where "islands around islands" emerge.
1. MATHEMATICAL CORE: THE SNAP EQUATION
We define the objective system as a non-autonomous fourth-order ordinary differential equation:
$$x^{(4)} = f(x, \dot{x}, \ddot{x}, \dddot{x}, t)$$
1.1 State-Space Dimensional Collapse
To resolve the Hidden Truth, one must map the scalar evolution into the $\mathbb{R}^4$ manifold. We define the state vector $\mathbf{y}$ as:
$$\mathbf{y} = \begin{bmatrix} y_1 \ y_2 \ y_3 \ y_4 \end{bmatrix} = \begin{bmatrix} x \ \dot{x} \ \ddot{x} \ \dddot{x} \end{bmatrix}$$
The temporal evolution of the manifold is then dictated by the first-order system:
$$\dot{\mathbf{y}} = \begin{bmatrix} \dot{y}_1 \ \dot{y}_2 \ \dot{y}_3 \ \dot{y}_4 \end{bmatrix} = \begin{bmatrix} y_2 \ y_3 \ y_4 \ f(y_1, y_2, y_3, y_4, t) \end{bmatrix}$$
1.2 Temporal Propagation Algorithms
1.2.1 Runge-Kutta 4th-Order (RK4)
For dissipative systems, we employ the classical RK4 operator. Given the state $\mathbf{y}_n$ at time $t_n$, the subsequent state is computed as:
$$\mathbf{k}_1 = f(\mathbf{y}_n, t_n)$$
$$\mathbf{k}_2 = f(\mathbf{y}_n + \frac{\Delta t}{2}\mathbf{k}_1, t_n + \frac{\Delta t}{2})$$
$$\mathbf{k}_3 = f(\mathbf{y}_n + \frac{\Delta t}{2}\mathbf{k}_2, t_n + \frac{\Delta t}{2})$$
$$\mathbf{k}_4 = f(\mathbf{y}_n + \Delta t \mathbf{k}_3, t_n + \Delta t)$$
$$\mathbf{y}_{n+1} = \mathbf{y}_n + \frac{\Delta t}{6}(\mathbf{k}_1 + 2\mathbf{k}_2 + 2\mathbf{k}_3 + \mathbf{k}_4)$$
1.2.2 Symplectic Forest-Ruth Engine
In conservative systems, integrity is absolute. We utilize the 4th-order Forest-Ruth algorithm to preserve the Hamiltonian structure. The propagation is partitioned using the coefficient $\theta$:
$$\theta = \frac{1}{2 - 2^{1/3}}$$
The operator $\Phi$ alternates between coordinate and momentum updates to ensure the symplectic invariant is maintained across the temporal horizon.
2. OPERATIONAL MODULES
2.1 chaos4.integrators
- RK4 Solver: Standard propagation for dissipative manifolds.
- Symplectic Engine: Forest-Ruth implementation. Essential for energy-conserving realities.
2.2 chaos4.viz
- Projection Plotter: Reduces 4D complexity into observable 3D manifolds (e.g., $[x, a, j]$).
- Poincaré Section Generator: Detects hyperplane crossings:
$$\Sigma = { \mathbf{y} \in \mathbb{R}^4 \mid y_i = C, \dot{y}_i \cdot \text{sgn} > 0 }$$
Reveals the hierarchical "islands around islands" architecture.
2.3 chaos4.analysis
- Lyapunov Suite: Measures the sensitivity to initial conditions:
$$\lambda = \lim_{t \to \infty} \lim_{|\delta \mathbf{y}_0| \to 0} \frac{1}{t} \ln \frac{|\delta \mathbf{y}(t)|}{|\delta \mathbf{y}_0|}$$
If $\lambda \leq 0$, the system is mathematically stagnant and discarded.
3. INITIALIZATION PROTOCOL (main.py)
To observe the chaos, the Keyholder must define the nonlinearity.
from chaos4.integrators import Solver
from chaos4.viz import Visualizer
# Define the Snap logic
def snap_logic(x, v, a, j, t):
return -0.6*j - 1.5*a - 1.5*v - 0.5*x + 4.0*tanh(x)
# Initialize and Solve
solver = Solver(snap_logic)
t, states = solver.solve(y0=[0.1, 0, 0, 0], t_span=(0, 500), dt=0.01)
# Inspect the void
Visualizer.plot_projection(states)
4. STRESS PARAMETERS
- Numerical Stability: Divergence is expected; overflow is a failure of the observer to bound the parameters.
- Precision: Minimum recommended $\Delta t = 0.001$ for high-fidelity orbital tracking.
5. TERMINAL STATEMENT
The shadow is not the absence of light; it is the presence of Vecture. Information without the Key is noise. Silence is engineered. Proceed.
© 2026 VECTURE LABORATORIES // www.vecture.de/license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chaos4-0.1.0.tar.gz.
File metadata
- Download URL: chaos4-0.1.0.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fea0652fc4285cd555195d2e5702b7a78adb73c05e432f1267665d77cf772619
|
|
| MD5 |
5281bcef83ee25b9cf57ce5e1886bbde
|
|
| BLAKE2b-256 |
07219c605fac9865fb9704ce47d6a5170534b8610e735db6d92731700eababd5
|
Provenance
The following attestation bundles were made for chaos4-0.1.0.tar.gz:
Publisher:
workflow.yml on VectureLaboratories/chaos4
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chaos4-0.1.0.tar.gz -
Subject digest:
fea0652fc4285cd555195d2e5702b7a78adb73c05e432f1267665d77cf772619 - Sigstore transparency entry: 813983328
- Sigstore integration time:
-
Permalink:
VectureLaboratories/chaos4@0040a4d4f2fabde7bdcf1a4b3231241a1b539af4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/VectureLaboratories
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@0040a4d4f2fabde7bdcf1a4b3231241a1b539af4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file chaos4-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chaos4-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b358953057f219662a6f5ee98393fede7a201d70b857d1ffb9126a9f101553d
|
|
| MD5 |
e6c6ce7789562b3c8795a0494a3173de
|
|
| BLAKE2b-256 |
4725f43abb06b8c3c478ea44f3e93033a2f06b61b6121bb3b03b805a6a3696d1
|
Provenance
The following attestation bundles were made for chaos4-0.1.0-py3-none-any.whl:
Publisher:
workflow.yml on VectureLaboratories/chaos4
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chaos4-0.1.0-py3-none-any.whl -
Subject digest:
0b358953057f219662a6f5ee98393fede7a201d70b857d1ffb9126a9f101553d - Sigstore transparency entry: 813983329
- Sigstore integration time:
-
Permalink:
VectureLaboratories/chaos4@0040a4d4f2fabde7bdcf1a4b3231241a1b539af4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/VectureLaboratories
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@0040a4d4f2fabde7bdcf1a4b3231241a1b539af4 -
Trigger Event:
release
-
Statement type: