ZPL MATHEMATICS

Where Math Meets Equilibrium

ZPL's 8N+3 theorem isn't isolated — it resonates with universal mathematical constants. The φ = 1.618… golden ratio and π = 3.14159… both appear naturally in ZPL's bias space.

🌌 Fibonacci Golden Spiral

Each point on the spiral is placed at angle i × 360°/φ² from the center, where φ = 1.618… is the golden ratio. The bias slider maps p_output ∈ [0, 1] to color — green (bullish) through neutral to red (bearish).

Bias 0.50 Points 400
Angle formula: θᵢ = i × (360° / φ²)  where  φ = (1 + √5) / 2 ≈ 1.618
ZPL connection: In motor_berstiar.py, operators use ±φ and -1/φ — the same golden ratio that generates the spiral. The 8N+3 theorem guarantees bias always returns to the equilibrium axis (spiral center).
1.6180
φ (Golden Ratio)
0.5000
P_Output
1.0000
AIN Score

◯ Pi — The Bias Unit Circle

ZPL bias p_output ∈ [0, 1] maps to an arc on the unit circle: θ = p × 2π. Perfect neutrality (p = 0.5) falls exactly at π/2 = 90° — the top of the circle. This is why the AIN score (AI Neutrality Index) peaks at p = 0.5.

Bias 0.50
Mapping: θ = p_output × 2π  →  x = cos(θ), y = sin(θ)
Neutrality at π/2: When p = 0.5, θ = π/2 — the point of maximum perpendicularity. The distance from this "north pole" measures bias magnitude: |p − 0.5| × 2 = AIN deviation.
8N+3 guarantee: The theorem proves the system cannot get stuck at 0 or π (pure bias) — it always returns toward π/2.
π/2
θ (radians)
0.5000
P_Output
1.0000
AIN Score
NEUTRAL
Signal