# Off-matrix waves: conditional hidden-coordinate reconstruction

## Latest result: reconstructing an omitted coupled wave

The user's “off-matrix” proposal has a precise, useful implementation: measure the force residual left by a calibrated visible model, test its low-dimensional structure, and solve for a missing dynamical coordinate. **In the declared synthetic family, the new identifier recovered one coupled hidden coordinate in all 30 strong-coupling cases.** It inferred coupling and frequency from visible observations and predicted a new applied-impulse response.

The primary experiment contains **240 cases across eight scenarios**. An adaptive follow-up used **31 new controlled-response datasets** from already fitted cases, including the one independent driver mistakenly accepted as reciprocal feedback. All 31 follow-up comparisons favored the correct feedback model. This is conditional system identification in simulated systems, not a measurement of a fourth spatial direction. Four ordinary oscillator displacements produce exactly the same observable equations.

The current atom layer was also checked at **424,800 scalar density samples across all 118 element models**, reserving half for scoring. Its extra temporal component is accounted for by ordinary pairwise interference; no unexplained component remains above numerical error in these tests.

## 1. Define the matrix and its omitted motion

Let q(t) have three calibrated displacement channels. A concrete extension of the visible model is

\[
\ddot q+Kq+g\,w=f(t),\qquad
\ddot w+\omega_h^2w+g^Tq=0.
\]

Here K is an independently calibrated 3 × 3 visible stiffness matrix, g an unknown three-component coupling, and w an unobserved scalar coordinate. This is an undamped, reciprocal linear oscillator model with a known mass-normalized kinetic metric and equilibrium. It is an explicit conditional extension being tested; it was not derived uniquely from the existing atom equations.

During fitting f = 0. Define the “off-matrix” residual as

\[
\boxed{r(t)=\ddot q(t)+Kq(t)=-g\,w(t).}
\]

This is a departure from the visible model's dynamics, not a coordinate literally moving outside a numerical array. All residual vectors should point along the same visible-channel direction if a single scalar w with constant g explains them. Stack the vectors into a matrix and use singular value decomposition to test this rank-one property.

Write g = αb with \|b\| = 1 and α > 0, and let a(t) = bᵀr(t). Then

\[
a=-\alpha w,\qquad
\boxed{\ddot a=\alpha^2 b^Tq-\omega_h^2 a.}
\]

The second equation supplies the missing scale and bare frequency under the reciprocal-coupling assumption. Rank-one residual forcing alone does not do that.

**Conditional identifiability statement.** With exact continuous data, known K and mass normalization, nonzero rank-one residual, linearly independent functions a(t) and bᵀq(t), and the displayed reciprocal oscillator equations, α² and ω_h² are uniquely determined by a two-column linear regression. If both coefficients are physically admissible, g and w are recovered up to the joint sign change (g,w) → (−g,−w). If the regression columns are dependent, or coupling is zero, this conclusion does not follow. Positive definiteness of the assembled stiffness additionally checks stability of this conservative model.

This is a statement about the chosen model, not about all possible hidden-variable theories. Observability—recoverability of a state from outputs—is the standard systems concept behind such a test. See the [MathWorks observability documentation](https://www.mathworks.com/help/control/ref/statespacemodel.obsv.html). We do not count numerically tiny singular values as physical dimensions.

## 2. Avoid differentiating noisy measurements directly

The identifier fits a shared temporal mode expansion using only the observed history:

\[
q(t)=\sum_j[u_j\cos(\Omega_jt)+v_j\sin(\Omega_jt)].
\]

A delay-matrix fit proposes one to six frequency pairs. The first half of the 720-sample history fits candidates; the next quarter chooses order; the final quarter checks a refit. Uniform spacing is Δt = 0.25 arbitrary time units. Selection, calibration and refit-disagreement checks each have a 5% threshold.

For either sine or cosine coefficient cⱼ, differentiation is algebraic:

\[
R_j=(K-\Omega_j^2I)c_j,\quad a_j=b^TR_j,\quad s_j=b^Tc_j,
\qquad
\boxed{\omega_h^2a_j-\alpha^2s_j=\Omega_j^2a_j.}
\]

The algorithm solves the boxed coefficient equation after the residual rank test. It checks regression conditioning, positive coupling, positive hidden stiffness, positive full-system stiffness, and agreement of parameters between refits. It requires at least 2% residual forcing relative to the visible stiffness force, at most 5% rank-one residual error and at most 5% closure error. The exact rules are in `protocol.json`.

Every normal mode is deliberately excited in this benchmark. The input interface receives **only** noisy q samples, Δt, calibrated K, the forecast horizon and fixed thresholds. It never receives the hidden trajectory, true g, hidden frequency or generator order. Those quantities enter the scorer afterward. The prototype is therefore blind to the planted hidden values, while still relying on explicitly supplied physical calibration.

## 3. What was recovered

| Measurement noise | Coupling-vector error | Bare-frequency error | Hidden-history reconstruction error | Visible impulse-forecast error |
|---|---:|---:|---:|---:|
| Zero | 2.17 × 10⁻¹²% | 9.87 × 10⁻¹⁴% | 4.43 × 10⁻¹²% | 9.84 × 10⁻¹²% |
| 0.1% | 0.0825% | 0.0016% | 0.1046% | 0.0945% |
| 1% | 0.7411% | 0.0081% | 0.8286% | 0.6652% |

Entries are median percentage errors over ten strong-coupling systems per noise level. The zero-noise row reflects floating-point precision, not experimental accuracy. Coupling error is relative vector error after the unavoidable joint sign alignment; bare-frequency error is relative scalar error. Hidden-history error is normalized by actual hidden-history RMS for scoring. Visible errors are normalized by observed channel fluctuation RMS.

The hidden-history diagnostic was added in the declared adaptive follow-up without changing the original identifier. The applied impulse and its response were not used to fit any hidden parameter. A representative predetermined example at 0.1% noise recovered:

| Quantity | Planted value | Recovered value |
|---|---:|---:|
| Bare hidden angular frequency | 1.360213424 | 1.360236908 |
| Coupling g₁ | 0.104992202 | 0.104846129 |
| Coupling g₂ | 0.164971845 | 0.164805686 |
| Coupling g₃ | −0.089115515 | −0.089069035 |

The frequency is radians per arbitrary time unit. Couplings have inverse-time-squared units in the declared coordinate normalization. These are not physical atomic base frequencies.

**Retained limitations:** passing the checks did not guarantee every forecast error stayed below 5%. In the original run, integrating the approximate recovered physical model all the way from time zero produced up to 15.40% visible future error and 27.24% hidden future error at 1% noise. Restarting at the observation boundary from the fitted state, evaluated afterward, reduced the worst errors to 3.25% visible and 5.64% hidden. Both sets of scores remain in the ledgers. The maximum new-impulse forecast error in the strong-coupling primary cases was 3.52%.

## 4. Competing explanations were tested

| Generator | Accepted as one reciprocal hidden coordinate | Interpretation |
|---|---:|---|
| One reciprocal hidden oscillator | 30/30 | Correct model family |
| No hidden oscillator | 0/30 | Correctly declined |
| Weak reciprocal coupling | 6/30 | Only coupling norm 0.1 cleared the chosen visibility floor |
| Incorrect visible calibration | 0/30 | Calibration error was not accepted as hidden feedback |
| Two independently coupled hidden oscillators | 0/30 | One-coordinate hypothesis declined |
| Two hidden oscillators with parallel coupling | 0/30 | Rank-one forcing alone did not pass the dynamics check |
| Independent external driver | 1/30 | One false acceptance of reciprocal feedback |
| Nonlinear sensor, three actual oscillators | 0/30 | Sensor distortion was not accepted as hidden feedback |

The weak-coupling sweep used norms 10⁻⁴, 10⁻³, 10⁻², 0.05 and 0.1, six cases each. Only the 0.1 cases passed the declared visibility floor. This abstention policy is a chosen operating threshold, not a proof that every smaller nonzero coupling is fundamentally undetectable. The fully decoupled case is fundamentally different: no observation of q can reconstruct a coordinate that has no effect on q.

Two controls matter especially:

- **Incorrect K:** a rank-one error in visible stiffness also creates rank-one residual forcing. Its closure regressors become dependent in exact arithmetic, preventing separate identification of the proposed coupling and frequency. The model therefore cannot treat every residual direction as a new hidden coordinate.
- **Parallel hidden couplings:** two genuine hidden coordinates can produce rank-one forcing. The one-frequency hidden dynamics then fail the closure test. Residual rank counts independent forcing directions, not necessarily the number of missing variables.

One 1%-noise external-driver case nevertheless passed all primary checks. It is retained as a false acceptance of reciprocal feedback. An autonomous driving wave really is unobserved in that generator, but it does not respond to the visible coordinates as the assumed reciprocal model requires.

## 5. An intervention distinguished driving from feedback

After observing that failure, a separate response protocol was written before running its new data. It tested all 30 strong hidden-coupling fits plus the accepted external-driver fit. It did not change the original thresholds or refit the original parameters.

For each visible axis, apply a known unit velocity impulse and subtract a matched no-impulse run from the same initial state. Average ten independent paired repetitions. The differenced noise standard deviation is √(2/10) times the individual measurement noise. These resets and noise assumptions are part of the synthetic protocol.

The subtraction removes an unchanged autonomous driver. A reciprocally coupled hidden oscillator, however, changes in response to the visible impulse and contributes to the differential response. The two frozen predictions are:

1. The inferred coupled model.
2. The calibrated visible K with no hidden feedback in the differential response.

All **31/31** held-out response comparisons favored the correct feedback model. In the earlier false acceptance, mean squared error was **2.4080 × 10⁻⁴** for the inferred feedback model and **2.6227 × 10⁻⁵** for the independent-driver response. This resolves that example under the declared controls. It is not a population error bound or a claim that 31 new independent hidden systems were trained: the follow-up reused 31 earlier fits and generated new response observations.

An ordinary internal oscillator responds reciprocally in exactly the same way. The intervention establishes a coupling distinction, not an extra-space distinction.

## 6. The missing coordinate appears as memory in the visible equations

Eliminating w exactly gives

\[
w(t)=w(0)\cos\omega_ht+\frac{\dot w(0)}{\omega_h}\sin\omega_ht
-\int_0^t\frac{\sin[\omega_h(t-s)]}{\omega_h}\,g^Tq(s)\,ds,
\]

and hence

\[
\ddot q+Kq=f-gw_{\rm free}(t)+\int_0^t\Gamma(t-s)q(s)\,ds,
\qquad
\boxed{\Gamma(t)=\frac{gg^T}{\omega_h}\sin(\omega_ht).}
\]

This provides a precise version of a hidden wave feeding back into the visible matrix: the visible dynamics acquire a memory term. The numerical check reproduces the explicitly evolved hidden coordinate within **4.32 × 10⁻¹⁴** absolute error.

With zero initial conditions and Laplace variable s, the effective visible response has inverse

\[
\chi(s)^{-1}=s^2I+K-\frac{gg^T}{s^2+\omega_h^2}.
\]

Thus a calibrated frequency-response experiment could test a rank-one, frequency-dependent feedback term. Several hidden oscillators would generally produce a sum of such terms. The expression follows by eliminating the hidden equation; it is not an experimentally discovered new law. Poles of a response function describe dynamics, and do not by themselves specify spatial geometry.

## 7. What the existing atomic equations contain

For the current three-state engine,

\[
\Psi(\mathbf r,t)=\sum_j A_j(\mathbf r)e^{-i\omega_jt},
\]

the intensity is

\[
|\Psi|^2=\sum_j|A_j|^2+
2\operatorname{Re}\sum_{j<k}A_jA_k^*e^{-i(\omega_j-\omega_k)t}.
\]

Two nonzero phase frequencies can therefore produce three intensity beat frequencies. Searching the density only at the phase frequencies leaves a residual even when the wavefunction model is complete.

For each of the 118 existing element records, the audit generated 1,200 time samples at three fixed spatial probes and fitted only the first 600. Using only the two nonzero phase frequencies leaves a median reserved-density error of **10.0258%**. Adding the three predicted pairwise differences reduces the largest reserved normalized error across elements to **5.46 × 10⁻¹⁵**, numerical precision.

These are outputs of the existing screened one-electron, three-state model, with its default weights and m = 0 basis. The 118 records share several frequency and basis families; they are not 118 independent physical discoveries or measured spectra. The calculation checks whether the implemented equations leave unexplained components in these observations. They do not. It cannot exclude missing physics in real atoms that the simulator never encoded.

## 8. Why a recovered w still lacks a spatial identification

The equations above can describe four ordinary one-dimensional oscillator coordinates in ordinary space. Calling the fourth coordinate an internal displacement u instead of a spatial position w leaves the visible motion and every applied-visible-input response unchanged. This is an exact competing realization, not a poor approximate fit.

Even the coordinate scale is conditional. Under w′ = c w, the same motion can be represented with a transformed hidden mass 1/c² and transformed potential coefficients. Testing c = 0.01 through 100 preserved visible traces within **2.70 × 10⁻¹³** while changing the hidden coordinate scale by a factor of 10,000 across the endpoints. The mass-normalized assumption fixes this freedom for the benchmark; the data alone do not supply that metric. Standard [state-coordinate transformations](https://www.mathworks.com/help/ident/ref/statespacemodel.ss2ss.html) likewise preserve system behavior while changing internal coordinates.

A separate zero-coupling test changed the hidden initial displacement by 3 units. The visible traces were exactly identical, while hidden histories differed by 2.1254 RMS units. Hidden variables cannot be recovered through a channel to which they never couple.

For a fourth **spatial** direction, the recovered coordinate must also satisfy an independently testable spatial metric and interaction model. One conditional target, for independently measured full spatial separations Dᵢⱼ and visible positions qᵢ, would be

\[
D_{ij}^2-\|q_i-q_j\|^2=(w_i-w_j)^2.
\]

The distances and their calibration cannot be manufactured from the same inferred w and then counted as confirming evidence. The earlier multiscale curvature and range-error controls would also be required. No such independent spatial measurements are present in this work.

The substantive advance is therefore a tested conditional reconstruction and intervention procedure, plus a clearer specification of the physical measurement that remains missing. The current results support hidden dynamical-state recovery. They do not establish a fourth physical spatial dimension.

## Reproduction and scope

The module is `hidden_v3/hidden_identifier.py`. It returns diagnostic scores, explicit refusal reasons and an inferred model. Inspect `diagnostics['accepted']`; a returned model may be retained for diagnosis even when declined. The original browser lab and manuscript have not been changed.

From the archive root with the existing pinned NumPy, SciPy and Matplotlib versions:

```bash
OPENBLAS_NUM_THREADS=1 python hidden_v3/run_hidden.py
OPENBLAS_NUM_THREADS=1 python hidden_v3/check_response.py
OPENBLAS_NUM_THREADS=1 python hidden_v3/plot_hidden.py
python hidden_v3/make_report.py
```

`frozen_hashes.json` checks the primary protocol and identifier before the primary run. The primary seed is 20260926; the adaptive response-noise seed is 20260927. `trials.csv` retains every primary case, including failures and declined diagnostic fits. `response_protocol.json` explicitly records that the response experiment was adaptive. Original time-zero propagation scores, later boundary-restarted scores, and their different meanings are all retained. No new physical experiment was performed in this continuation.
