1.1 — The pair on purpose
- Type.
x := (m,a)wheremis the classical magnitude anda in (-1,+1)is a bounded confidence lane that always travels withm. - Interpretation. Act on
m; useafor visibility, bands, QA, advisory scheduling, and audits. - Collapse parity (non-negotiable).
phi((m,a)) = m. Classical outputs remain identical.
1.2 — Safety rails (always on)
- Clamp before combine.
a := clamp(a, -1+eps_a, +1-eps_a)with defaulteps_a = 1e-6. - No explosions at the edges. Clamping guarantees
atanh(a)is finite and every path stays bounded. - Re-clamp on output. After any combine, reapply the clamp so
aremains inside(-1,+1).
1.3 — Combine once, everywhere (tiny kernel)
- Rapidity map.
u := atanh(a); combine confidence with simple ops inu(add, subtract, scale). - Inverse map.
a := tanh(u); then re-clamp. - Closed forms for products/ratios (M2 policy; exact).
- Multiply lane.
a_mul = (a1 + a2) / (1 + a1*a2) - Divide lane.
a_div = (a_f - a_g) / (1 - a_f*a_g)
These match rapidity add/sub exactly, sinceatanh(a_mul) = atanh(a1) + atanh(a2)andatanh(a_div) = atanh(a_f) - atanh(a_g).
- Multiply lane.
- Scale (magnitude multiply by scalar
k). Ifk > 0, lane unchanged; ifk < 0, lane flips signa' = sign(k)*a. Ifk = 0,m' = 0anda' = ais allowed (policy may display(0,+1)); clamp as usual.
Minimal kernel (ready to paste; ASCII inline)
EPS_A = 1e-6def clamp_a(a): return max(-1.0+EPS_A, min(+1.0-EPS_A, a))def a_mul(a1,a2): a1,a2 = clamp_a(a1),clamp_a(a2); num = a1 + a2; den = 1.0 + a1*a2; return clamp_a(num/den)def a_div(af,ag): af,ag = clamp_a(af),clamp_a(ag); num = af - ag; den = 1.0 - af*ag; return clamp_a(num/den)
Navigation
Back: Shunyaya Symbolic Mathematical Hardware – Contents & Elevator (0I, 0J)
Next: Shunyaya Symbolic Mathematical Hardware – Order-Invariant Streaming & Division Policy (1.4–1.5)
Directory of Pages
SSMH – Table of Contents
Explore Further
https://github.com/OMPSHUNYAYA/Symbolic-Mathematical-Hardwar
Disclaimer
The contents in the Shunyaya Symbolic Mathematical Hardware (SSMH) materials are research/observation material. They are not engineering advice, not a safety standard or certification, and not operational guidance. Do not use for safety-critical, medical, legal, or financial decisions. Use at your own discretion; no warranties are provided; results depend on correct implementation and inputs.