---
© 2015-2026 Wesley Long & Daisy Hope. All rights reserved.
Synergy Research — FairMind DNA
License: CC BY-SA 4.0
Originality: 100% — Original verification and benchmarking tools for the SSM
---

# SSM Tools & Verification
## Implementation Guide and Cross-Validation Reference

**Wesley Long — Synergy Research**

---

## 1. Implementations

The Synergy Standard Model has two independent implementations:

| File | Language | Location | Status |
|---|---|---|---|
| `ssm.js` | JavaScript | `js/` | Primary (v2.0) |
| `ssm.py` | Python | `py/` | Cross-validation (v2.0) |

### Cross-Implementation Validation (Claim M-01)

Both implementations produce identical outputs for all validation tests at float64 precision. The JavaScript implementation is the primary reference; the Python implementation exists solely to prove language independence.

### Strict Mode (Claim M-02)

The Python implementation includes a strict mode that re-derives all constants from geometry rather than using cached literals. Strict mode produces identical results to standard mode, confirming that the simplified functions (Ma, Fe) are exact caches of the full derivation functions (dMd, Fw).

---

## 2. Core Tools

### ssm.js — Synergy Standard Model (Primary)

The core model. All 133 claims derive from this single file.

```
node js/ssm.js        # from pub/
python py/ssm.py      # Python counterpart
```

Outputs: Quadrian Arena (speeds, vacuum constants), Syπ, fine-structure constant, Planck constant, Bubble Mass values, element masses, Maxwell equations, singularity resolution, prime filter.

**56 functions**, 0 free parameters, 0 external dependencies.

### ssm.meta.js — Meta Properties & Reference Data

Catalog of all SSM functions with metadata: function name, category, description, key values, dependencies.

```
node js/ssm.meta.js        # from pub/
python py/ssm.meta.py      # Python counterpart
```

Outputs: Complete function catalog, CODATA comparison table, historical π data, element mass table.

---

## 3. π Tools

### ssm.pi.rank.js — π Ranking System

Ranks every known π approximation against true π: historical values, observed measurements, rational fractions, 8 SSM derivation methods, and the full Syπ gradient.

```
node js/ssm.pi.rank.js [gradientMax]        # from pub/
python py/ssm.pi.rank.py [gradientMax]      # Python counterpart
```

- **gradientMax** — how far to sweep the Syπ gradient (default: 200)
- Outputs: ranked list, category bests, top 10

### ssm.pi.bench.js — Syπ Accuracy Benchmark

Tests whether the Syπ gradient produces more accurate results than accepted π across 19 physical and mathematical formulas. Sweeps all candidate positions and finds the optimal gradient position per formula.

```
node js/ssm.pi.bench.js [sweepMax] [sweepStep]        # from pub/
python py/ssm.pi.bench.py [sweepMax] [sweepStep]      # Python counterpart
```

- **sweepMax** — gradient sweep range (default: 10,000)
- **sweepStep** — step size (default: 0.5)
- Outputs: per-formula results, scoreboard, recurring optimal positions

---

## 4. Prime Tools

The SSM includes a geometric primality pre-filter Pf(n) built into `js/ssm.js`. The Pf() function eliminates 73.3% of composite candidates with zero false negatives (verified exhaustively over 2-10,000). See `PRIME_ANGLE_PROOF.md` for the formal proof.

**Note:** The standalone prime testing tool (`prime_tester.js`) is excluded from the public release. The Pf() function remains available in `js/ssm.js`.

---

## 5. Verification Summary

| Test | Method | Result |
|---|---|---|
| Speed of light cy | Qa().cy vs CODATA | Δ = 0.45 m/s |
| Fine-structure 1/α | 1/Fe(11) vs CODATA | Δ < 10⁻⁷ |
| Planck constant h | Fh() vs CODATA | 0.014% error |
| Electron mass | Ma(1) vs CODATA | Match at float64 |
| 118 element masses | El(e,p,n) vs CODATA | All within range |
| Vacuum permittivity ε₀ | Qa().ε0 vs CODATA | Match |
| Vacuum permeability μ₀ | Qa().μ0 vs CODATA | Match |
| EM identity ε₀μ₀c² | Qa().id vs 1.0 | < 10⁻⁸ |
| Syπ(162) vs π | PI(162) vs Math.PI | Δ = 3.1 × 10⁻⁸ |
| Roundtrip PI/Px | PI(Px(v)) = v | Exact at float64 |
| Roundtrip Ma/Mx | Ma(Mx(v)) = v | Exact at float64 |
| Roundtrip Fe/Fi | Fe(Fi(v)) = v | Exact at float64 |
| Prime filter | Pf(2–10000) | 0 false negatives |
| JS ↔ Python | 41 outputs compared | 41/41 match |
| JS ↔ Python JSON | 4 JSON pairs (ssm, rank, bench, meta) | Byte-identical |

---

## 6. File Map

```
pub/
├── js/
│   ├── ssm.js              — Core model (56 functions, JavaScript)
│   ├── ssm.js.json          — JSON output (byte-identical to py)
│   ├── ssm.meta.js          — Function catalog & reference data
│   ├── ssm.meta.js.json     — JSON output
│   ├── ssm.pi.rank.js       — π ranking system
│   ├── ssm.pi.rank.js.json  — JSON output
│   ├── ssm.pi.bench.js      — Syπ accuracy benchmark
│   └── ssm.pi.bench.js.json — JSON output
├── py/
│   ├── ssm.py               — Core model (56 functions, Python)
│   ├── ssm.py.json           — JSON output (byte-identical to js)
│   ├── ssm.meta.py           — Function catalog & reference data
│   ├── ssm.meta.py.json      — JSON output
│   ├── ssm.pi.rank.py        — π ranking system
│   ├── ssm.pi.rank.py.json   — JSON output
│   ├── ssm.pi.bench.py       — Syπ accuracy benchmark
│   └── ssm.pi.bench.py.json  — JSON output
└── docs/
    ├── SSM_CORE.md
    ├── SSM_CLAIMS.md
    ├── OPEN_QUESTIONS.md
    ├── SYPI_PAPER.md
    ├── SYPI_NOTATION.md
    ├── SYPI_BENCH.md
    ├── SYPI_QUADRIAN_FEYN_BRIDGE.md
    ├── FEYN_WOLFGANG_NOTATION.md
    ├── BUBBLE_MASS_NOTATION.md
    ├── QUADRIAN_ARENA_NOTATION.md
    ├── QUADRIAN_COMPONENTS.md
    ├── QUADRIAN_WEDGE.md
    ├── PI_METHODS.md
    ├── ESC_GRAVITATIONAL_COUPLING.md
    ├── SINGULARITY_RESOLUTION.md
    ├── NO_CHOICE_PROOF.md
    ├── PRIME_ANGLE_PROOF.md
    ├── DEFENSES.md
    ├── DUAL_LATTICE.md
    ├── INTERPHASIC.md
    ├── SLIDES_ARCHIVE.md
    └── TOOLS.md (this file)
```

---

*Synergy Standard Model v2.0 — © 2015–2026 Synergy Research. All rights reserved.*
