SilverSight/docs/research/TOROIDAL_POLOIDAL_REFINEMENT.md
allaun d5bd660bab feat: import photonic Sidon search from special branch
Imported from silversight-578413a4/orx/sidon-sofa-coloring-direction-a-finite-sidon-sofas-a-n-28a68926:

- photonic_sidon_search.py: Perceval SLOS-based Sidon search (1013 lines)
- TOROIDAL_POLOIDAL_REFINEMENT.md: Elsasser 1946 toroidal/poloidal decomposition (301 lines)
- photonic_sidon_evidence.jsonl: Test evidence (17 PASS, 1 FAIL - DNA encoder test)
- EVAL_photonic.md: Photonic search evaluation

Note: photonic_sidon_search.py has 1 test failure (T6_dna) that needs investigation.
The script also overwrote EVAL.md during execution, which has been restored from git.
2026-07-04 02:27:40 -05:00

13 KiB
Raw Permalink Blame History

CRT Torus Embedding ↔ Toroidal/Poloidal Decomposition: Prior-Art Convergence and Method Refinement

Status: REFINEMENT — connects CRT Sidon construction to 79-year-old plasma physics decomposition Date: 2026-07-04 Depends on: sidon_preservation_creation.md, unified_crt_torus_dag.md, OCTAGON_PRINCIPLE.md References: Elsasser (1946), Wikipedia "Toroidal and poloidal coordinates" (2025)


1. The Convergence

The CRT Torus Embedding in sidon_preservation_creation.md independently rediscovered the toroidal/poloidal coordinate decomposition that Elsasser introduced in 1946 for describing magnetic fields on a torus.

Mapping Table

CRT Torus Embedding (SilverSight) Toroidal/Poloidal (Elsasser 1946) Meaning
Identity axis: a mod L₁ Poloidal θ (short way) Intrinsic label position
Reflection axes: S - a mod Lᵢ Toroidal ζ (long way) Global context relative to S
S - a reflection Poloidal inversion s_θ = ±1 Over/under chirality
Multiple moduli L₁..Lₙ Multiple toroidal windings Higher-dimensional torus T^{2n}
Coprime moduli Irrational safety factor q (no rational surfaces) No resonant instabilities
q = Lᵢ/L₀ ratio Safety factor q = dζ/dθ Winding ratio
L₁ > L₂ tuning rule q < 1 (unstable tokamak regime) Poloidal-dominated

Why This Is Not Superficial

The mapping is structural, not analogical:

  1. Elsasser (1946) introduced toroidal/poloidal decomposition to decompose fields on a torus into "short way" (poloidal) and "long way" (toroidal) components. This is the standard coordinate system for toroidal topology in plasma physics.

  2. SilverSight CRT construction independently arrived at the same decomposition from modular arithmetic + Sidon combinatorics:

    • Identity axis (a mod L₁) = the "short way" (poloidal) — this is where the Sidon sum a + b appears directly
    • Reflection axes (S - a mod Lᵢ) = the "long way" (toroidal) — these encode global context relative to the reflection point S
  3. The convergence is a convergence proof: the CRT Torus Embedding is the discrete additive form of a coordinate system known to be the natural one for toroidal topology. It's not ad-hoc — it's the discrete analog of a 79-year-old geometric fact.


2. What Prior Art Suggests for Refinement

2.1 The Tuning Rule L₁ > L₂ Is a Safety Factor Regime

Current state: sidon_preservation_creation.md §6.5 discovered empirically that L₁ > L₂ (identity > reflection) enables Sidon creation, and L₁ < L₂ kills it. The optimal L₁ ≈ 1.9·max(A).

Prior-art interpretation: In toroidal coordinates, the safety factor is q = dζ/dθ = (toroidal windings) / (poloidal windings). In our discrete setting:

q = L₂ / L₁ = reflection / identity = toroidal / poloidal

The regime L₁ > L₂ means q < 1 — the "unstable" regime in tokamaks (the q = 1 surface is where sawtooth crashes occur).

Refinement: This isn't a coincidence. The Sidon structure lives in the poloidal (identity) component — that's where a + b appears directly. You need more poloidal resolution (larger L₁) to see it. The reflection (toroidal) components are entangling context.

Action: Redefine modulus selection as a q-profile design problem. Instead of picking arbitrary coprime moduli, choose a q-profile q_s = L_{2s}/L_{2s-1} for each strand pair. The empirical rule L₁ > L₂ becomes q < 1 per strand. Sweep q values systematically.

2.2 Coprime Moduli = Irrational q = No Rational Surfaces

Current state: Pairwise coprimality is enforced after every step (AGENTS.md, crt_capacity_envelope.py).

Prior-art interpretation: In toroidal confinement, rational q = m/n surfaces are resonant — small perturbations grow exponentially (island formation, sawtooth crashes). The CRT requires pairwise coprime moduli. This is the exact discrete analog:

If gcd(Lᵢ, Lⱼ) > 1, then q_i = Lᵢ/L₀ and q_j = Lⱼ/L₀
share a rational relationship → resonant surface → Sidon breaks

The capacity envelope experiment confirmed this: non-coprime configurations were never Sidon.

Refinement: Beyond pairwise coprimality, the ratios across pairs should avoid simple fractions. If q₁ = q₂ exactly, two flux surfaces are degenerate — the Sidon structure collapses. This suggests a cross-pair coprimality condition: not just gcd(Lᵢ, Lⱼ) = 1, but also Lᵢ/Lⱼ should be irrational (or at least not a simple fraction).

Action: Add a cross-pair q-ratio check to the CRT construction. For each pair of strand pairs (s, s'), verify q_s / q_{s'} is not a simple rational number. This prevents flux surface degeneracy.

2.3 Higher K (More Photons) = More Toroidal Windings = Better Discrimination

Current state: SLOS verification showed Spearman ρ strengthening from -0.85 (K=1) to -0.93 (K=3).

Prior-art interpretation: Each additional photon adds a toroidal winding number. More windings = tighter topological constraint = sharper Sidon/non-Sidon separation.

Refinement: This predicts that the SLOS discrimination should continue improving with K, but with diminishing returns as the toroidal windings saturate. The scaling should follow the rational surface density: more windings → fewer rational surfaces → fewer resonances → cleaner separation.

Action: If Perceval tokens allow, test K=4, K=5 and check whether ρ plateaus or continues improving. The plateau point would indicate toroidal winding saturation.

2.4 The "Gap" Maps to Poloidal Resolution

Current state: The optimal M ≈ 1.9·max(A) from the sweep data (sidon_preservation_creation.md §6.5).

Prior-art interpretation: The minimum gap L₁ needed for Sidon creation maps to the minimum poloidal circumference needed to resolve the Sidon sum structure. The optimal M ≈ 1.9·max(A) means the poloidal resolution must be at least ~1.9× the maximum label to prevent aliasing.

Refinement: This is the Nyquist criterion for the poloidal direction: the poloidal circumference L₁ must exceed 2·max(A) to guarantee no sum alias (Regime A1 in §3). The empirical 1.9× is just below this theoretical bound, suggesting the sweep found the edge of the A1 regime.

Action: The theoretical bound is L₁ > 2·max(A) for guaranteed no sum alias. The empirical 1.9·max(A) is within the A2 regime (sum alias possible but wrapping handles it). This should be documented as: "The 1.9× optimum is the A2 sweet spot where wrapping is active but M-differences don't yet dominate."

2.5 Elsasser Field Decomposition of the Sum Matrix

Prior-art concept: Elsasser decomposition splits a toroidal field into poloidal part B^P (depends on θ) and toroidal part B^T (depends on ζ).

Refinement: Apply this to the sum matrix M_ij = a_i + a_j:

  • Poloidal part M^P: depends only on the identity component (a_i + a_j) mod L₁
  • Toroidal part M^T: depends on the reflection components (2S - a_i - a_j) mod Lᵢ

The Sidon criterion is that the CRT coupling of M^P and M^T is injective — which is exactly what the sidon_preserved_mod theorem proves. Making this decomposition explicit could guide modulus selection: the poloidal part must be injective (large L₁), the toroidal part must be non-degenerate (coprime Lᵢ).

Action: Formalize the Elsasser decomposition of the sum matrix. Write it as:

M_ij = M^P_ij ⊕ M^T_ij
where M^P_ij = (a_i + a_j) mod L₁
      M^T_ij = (2S - a_i - a_j) mod Lᵢ  for each i ≥ 2

Sidon ⟺ M is injective as a map from pairs to T^{k} (the k-torus). This is the discrete Elsasser decomposition.


3. Concrete Refinement Actions

# Refinement Priority Effort Status
R1 Redefine modulus selection as q-profile design High 4h TODO
R2 Add cross-pair q-ratio coprimality check High 2h TODO
R3 Test SLOS K=4, K=5 (winding saturation) Medium Perceval tokens BLOCKED
R4 Document 1.9× optimum as A2 sweet spot Medium 1h TODO
R5 Formalize discrete Elsasser decomposition High 4h TODO
R6 Sweep q-profiles systematically Medium 6h (CPU run) TODO

4. Connection to Sidon-Sofa Coloring

The toroidal/poloidal refinement directly impacts the Sidon-Sofa problem (SIDON_SOFA_COLORING.md):

4.1 CRT Sidon Boundary Construction

The CRT Sidon set construction (SIDON_SOFA_COLORING.md §5.2) uses coprime moduli (L₁, ..., Lₖ) where each modulus encodes a geometric constraint:

Axis Geometric meaning Toroidal/Poloidal role
L₁ (identity) Distance to inner wall Poloidal (short way)
L₂ (reflection) Distance to outer wall Toroidal (long way)
L₃ (reflection) Angular position Toroidal (long way)
L₄ (reflection) Arc length along ∂S Toroidal (long way)

The tuning rule L₁ > L₂ means: the poloidal resolution (inner wall distance) must exceed the toroidal resolution (outer wall distance). This makes geometric sense: the inner wall is where the sofa makes contact (the tightest constraint), so it needs the finest resolution.

4.2 q-Profile as Shape Parameter

For the sofa problem, the q-profile becomes a shape parameter:

q_sofa = L₂/L₁ = outer_wall_resolution / inner_wall_resolution
  • q < 1 (L₁ > L₂): poloidal-dominated → tight inner wall resolution → shapes that hug the inner corner (like Gerver's sofa)
  • q > 1 (L₁ < L₂): toroidal-dominated → tight outer wall resolution → shapes that fill the outer arc (like Hammersley's sofa)
  • q = 1: degenerate → no preferred direction → fails (Sidon collapse)

This predicts that different sofa shapes correspond to different q-regimes, and the optimal shape sits at a specific q-value. The Sidon-Sofa experiment should sweep q as a shape parameter.

4.3 Rational Surfaces as Conflict Points

In the sofa problem, rational q-surfaces correspond to resonant configurations where the shape's motion through the corridor creates degenerate unit-distance conflicts. The cross-pair coprimality condition (R2) becomes:

The sofa's geometric moduli must avoid rational ratios to prevent conflict graph degeneracies. If two geometric constraints (e.g., inner wall distance and angular position) have a rational ratio, the conflict graph develops symmetries that lower its chromatic number artificially — a cospectral failure mode.


5. The Refined CRT Construction Algorithm

Incorporating all refinements:

Input: set A, reflection point S, target property P (Sidon)
Output: moduli (L₁, ..., Lₖ) guaranteeing F(A) is Sidon

1. Compute all pairwise sums S_A = {a_i + a_j}
2. Compute differences D_A = {|T_1 - T_2| : T_1, T_2 ∈ S_A}

3. Choose q-profile:
   a. Set q_target < 1 (poloidal-dominated regime)
   b. Set L₁ ≈ 1.9·max(A) (A2 sweet spot)
   c. Set L₂ = ceil(L₁ / q_target), coprime to L₁
   d. For i ≥ 3: set L_i to encode geometric constraints
      (inner wall, outer wall, angle, arc length)
      with q_i = L_i/L₁ < 1 per strand

4. Cross-pair coprimality check:
   For all pairs (i,j), verify L_i/L_j is not a simple rational
   (check: L_i/L_j ≠ m/n for small m,n ≤ 7)
   If violated, perturb L_i by ±1 and recheck

5. Verify Sidon creation conditions:
   a. Wrapping criterion (§6.1): all collisions break
   b. M-difference condition (§6.2): M ∉ D_A

6. If both hold, F(A) is guaranteed Sidon with q-profile {q_s}

6. claim_boundary

crt-toroidal-refinement:convergence-proof:elsasser-1946

This document establishes that the CRT Torus Embedding is the discrete additive form of the toroidal/poloidal decomposition (Elsasser 1946). The convergence is structural, not analogical. Five concrete refinements are proposed, all grounded in 79 years of plasma physics prior art.

MEASURED:

  • L₁ > L₂ tuning rule (empirical, §6.5 of sidon_preservation_creation)
  • Coprime moduli necessity (capacity envelope experiment)
  • 1.9× optimum for M/max(A) (sweep data)
  • SLOS ρ strengthening with K (Spearman correlation)

CONJECTURAL (refinement predictions):

  • That cross-pair q-ratios must avoid simple rationals (R2)
  • That the 1.9× optimum is the A2 sweet spot (R4)
  • That SLOS discrimination plateaus at winding saturation (R3)
  • That different sofa shapes correspond to different q-regimes (§4.2)

OPEN QUESTIONS:

  • What is the optimal q-profile for the Sidon-Sofa problem?
  • Does the Elsasser decomposition of M_ij yield a tighter Sidon proof?
  • Is there a discrete analog of the Kruskal-Shafranov q-limit?