Symmetry Engine
Cauchy-Schwarz Invariant Analysis System — Real-Time 3D Symmetry Visualization
The Symmetry Engine is an interactive Cauchy-Schwarz inequality visualizer and Invariant Stability Index (SSI) calculator. Adjust 6 sensor variables and watch a live 3D Symmetry Orb morph in real time, with a full Mission Control HUD displaying symmetric invariants, stability gauge, and live event feed.
The Cauchy-Schwarz Inequality
The Cauchy-Schwarz inequality (also known as the Bunyakovsky inequality or CBS inequality) states: (Σxᵢ)² ≤ n·Σxᵢ², with equality iff all xᵢ are equal. The Invariant Stability Index SSI = (Σxᵢ)² / (n·Σxᵢ²) measures how close a system is to this equality — SSI = 1.0 at perfect symmetry.
AM-QM Inequality & Power Mean Theorem
The SSI is equivalent to (AM/QM)², where AM is the arithmetic mean and QM is the quadratic mean (RMS). The AM-QM inequality (part of the Power Mean inequality chain HM ≤ GM ≤ AM ≤ QM) guarantees AM ≤ QM, so SSI ≤ 1 always. The Symmetry Engine makes this abstract result visually intuitive.
Elementary Symmetric Polynomials & Newton's Identities
Elementary symmetric polynomials e1 (sum), e2 (sum of pairwise products), and e3 (sum of triple products) are symmetric invariants of the 6 input variables. They are linked to power sums via Newton's identities and displayed live in the HUD overlay.
Features
- Real-time 3D Symmetry Orb with vertex spiking toward 6 sensor poles
- Invariant Stability Index (SSI) calculation and display
- Elementary symmetric polynomials e1, e2, e3
- Ghost reference sphere (ideal symmetric state)
- Stability ring gauge (0–100%)
- Three-tier severity: NOMINAL / WARNING / CRITICAL
- Live terminal event ticker with system log
- Variance (σ²), Mean (μ), and Balance Score
JavaScript is required to run the interactive visualization. Please enable JavaScript in your browser.