# Quantum Validation: Cat States and Two-Slit Observation

## Result first

The seven-layer language can represent and compute the standard operational
predictions of a two-state Schrödinger-cat model and a balanced two-path
interferometer without using floating-point arithmetic in the calculation
kernel.

It passes the following compatibility test:

\[
\boxed{
\text{state} + \text{phase} + \text{correlation} + \text{projection}
\longrightarrow \text{Born probabilities}
}
\]

It does **not** yet derive quantum mechanics from uniquely seven dimensions and
does not solve the ontological measurement problem. It gives an exact language
for the observable structure and clearly identifies the information that a
given projection discards.

## 1. Quantum ULPs

Amplitudes, probabilities, visibility, distinguishability, and density-matrix
elements use signed Q1.30 fixed point:

\[
q=\frac{n}{2^{30}},
\qquad
\operatorname{ULP}_q=2^{-30}
\approx9.313225746\times10^{-10}.
\]

Phase uses the existing unsigned 64-bit turn:

\[
\phi=2\pi\frac{p}{2^{64}},
\qquad
\operatorname{ULP}_\phi=\frac{2\pi}{2^{64}}.
\]

Sine and cosine are evaluated with 31-step integer CORDIC. The implementation
contains no runtime trigonometric calls. Across 65,536 evenly spaced phases, the
test suite requires:

- sine error no larger than 16 Q30 amplitude ULPs;
- cosine error no larger than 16 Q30 amplitude ULPs;
- unit-circle norm error no larger than 64 Q30 probability ULPs.

The verified worst case was 13 amplitude ULPs for both sine and cosine and
approximately 18.5 probability ULPs in the unit-circle norm.

Floating point appears only in CLI display and in the test oracle used to check
CORDIC accuracy. It never determines an encoded state or probability.

## 2. Schrödinger's cat as a density matrix

Use `alive` and `dead` as a two-state basis. The engine stores

\[
\rho_C=
\begin{pmatrix}
p_A & c\\
c^* & p_D
\end{pmatrix},
\]

subject to

\[
p_A+p_D=1,
\qquad
|c|^2\le p_Ap_D.
\]

For a balanced coherent cat with visibility \(V\) and relative phase \(\theta\),

\[
\rho_C=
\frac12
\begin{pmatrix}
1 & Ve^{i\theta}\\
Ve^{-i\theta} & 1
\end{pmatrix}.
\]

The fully coherent state has \(V=1\). The corresponding classical mixture has
\(V=0\):

\[
\rho_{mix}=
\frac12
\begin{pmatrix}
1&0\\0&1
\end{pmatrix}.
\]

An ordinary alive/dead measurement sees only the diagonal. Consequently,

\[
P(A)=P(D)=\frac12
\]

for both states. One basis snapshot therefore cannot determine whether the
premeasurement state was coherent or already mixed.

A phase-sensitive analyzer sees the off-diagonal term:

\[
P_+(\varphi)
=\frac12+\operatorname{Re}\left(ce^{-i\varphi}\right).
\]

At \(\theta=\varphi=0\):

| State | \(P(A)\) | \(P(D)\) | \(P_+\) |
|---|---:|---:|---:|
| Fully coherent | 0.5 | 0.5 | 1.0 |
| 40% coherence | 0.5 | 0.5 | 0.7 |
| Classical mixture | 0.5 | 0.5 | 0.5 |

This is the exact projective-language result:

\[
\boxed{
\pi_{D4}(\rho_{coherent})
=\pi_{D4}(\rho_{mix}),
\qquad
\pi_{D5}(\rho_{coherent})
\ne\pi_{D5}(\rho_{mix}).
}
\]

Coherence is not imaginary in the sense of being meaningless; it is invisible
to one measurement algebra and visible to another.

## 3. Decoherence

Let the environment states correlated with the two cat branches be
\(|E_A\rangle\) and \(|E_D\rangle\). Their overlap is

\[
\gamma=\langle E_D|E_A\rangle.
\]

After the environment is ignored, the cat coherence becomes

\[
c' = \gamma c.
\]

Therefore:

- \(|\gamma|=1\): no distinguishing environmental record;
- \(0<|\gamma|<1\): partial decoherence;
- \(|\gamma|=0\): the reduced cat state is an incoherent mixture.

This explains why a macroscopic cat does not display accessible interference:
huge numbers of environmental degrees of freedom rapidly make the branch
records effectively distinguishable.

It does not, by itself, select one interpretation of quantum mechanics or
explain why an observer experiences one outcome. Decoherence explains the
suppression of observable interference and the emergence of a preferred
classical record.

### Published observation encoded by the engine

Brune and collaborators created a mesoscopic radiation-field analogue of a cat
state and observed its progressive conversion into a mixture. Their apparatus
had a photon relaxation time of 160 ms. They reported an effective decoherence
time of \(0.24T_r=38.4\) ms for one setting, and a two-atom correlation signal
of \(0.11\pm0.01\) at a 40 ms delay for a stated experimental configuration.
The paper also reports 15,000 coincidence detections per delay and an
empty-cavity fringe contrast of \(55\pm5\)%.

The engine encodes these observations in Q30 and checks the exact ordering

\[
\tau_{decoherence}<T_r.
\]

It does not claim to predict the fitted 0.24 ratio from the seven-layer axioms.
That number remains an empirical input. Source:
[Brune et al., Physical Review Letters 77, 4887 (1996)](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.77.4887).

## 4. Two-slit/which-path observation

The combined path-marker state is

\[
|\Psi\rangle
=\frac{1}{\sqrt2}
\left(
|A\rangle|M_A\rangle
+e^{i\phi}|B\rangle|M_B\rangle
\right).
\]

Define marker overlap

\[
\gamma=\langle M_A|M_B\rangle.
\]

After the marker is ignored, the normalized probability at a balanced output
or local screen phase is

\[
\boxed{
P(\phi)=\frac{1+V\cos\phi}{2},
\qquad V=|\gamma|.
}
\]

This immediately yields:

| Marker relation | Visibility | Bright phase | Dark phase |
|---|---:|---:|---:|
| Indistinguishable paths | 1 | 1 | 0 |
| Partial path record | \(V\) | \((1+V)/2\) | \((1-V)/2\) |
| Orthogonal path records | 0 | 0.5 | 0.5 |

The disappearance of fringes does not require a conscious observer. A physical
interaction capable of storing distinguishable path information is enough.
Brune et al. explicitly observed the same principle in their atom/cavity
interferometer: unread but available path information reduced the fringe
contrast.

## 5. Actual screen geometry

In the small-angle far-field approximation, the relative phase at screen
coordinate \(x\) is

\[
\phi(x)=2\pi\frac{dx}{\lambda L},
\]

where \(d\) is slit separation, \(\lambda\) is wavelength, and \(L\) is screen
distance.

When all inputs are integer nanometres, the engine computes the exact Phase64
value by binary long division:

\[
p(x)=
\left\lfloor
2^{64}\operatorname{frac}\left(\frac{dx}{\lambda L}\right)
\right\rfloor.
\]

Example:

\[
\lambda=600\text{ nm},\quad
d=500{,}000\text{ nm},\quad
L=1{,}000{,}000{,}000\text{ nm}.
\]

The predicted fringe spacing is

\[
\Delta x=\frac{\lambda L}{d}=1{,}200{,}000\text{ nm}=1.2\text{ mm}.
\]

The kernel returns an exact half turn and a zero probability at \(x=0.6\) mm
for full coherence, then wraps to a bright fringe at \(x=1.2\) mm.

The current calculation is the normalized two-path modulation. A finite slit
width would multiply it by a single-slit diffraction envelope, which version
0.2 intentionally does not invent without an apparatus schema.

## 6. Visibility from observed counts

For observed maximum and minimum counts:

\[
V=\frac{N_{max}-N_{min}}{N_{max}+N_{min}}.
\]

For the executable example \((800,200)\):

\[
V=0.6.
\]

For an ideal pure path marker:

\[
D=\sqrt{1-V^2}=0.8,
\]

and therefore

\[
\boxed{D^2+V^2=1.}
\]

The more general experimentally testable bound is

\[
\boxed{D^2+V^2\le1.}
\]

Englert derived the visibility/which-way inequality, and Dürr, Nonn, and Rempe
later measured visibility and distinguishability independently in an atom
interferometer and reported good agreement with it:
[Englert 1996](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.77.2154),
[Dürr–Nonn–Rempe 1998](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.81.5705).

The accessible abstract does not provide the individual numerical data points,
so the project does not fabricate a reconstructed dataset. Instead, the test
suite checks the published invariant across 1,000,001 Q30 visibility values.

## 7. Mapping into the seven-layer language

| Layer | Cat experiment | Two-slit experiment |
|---|---|---|
| \(D_1\) | Alive/dead basis probabilities | Path A/B probabilities |
| \(D_2\) | Trigger–cat correlation | Path–marker correlation |
| \(D_3\) | Apparatus geometry | Wavelength, slit separation, screen coordinate |
| \(D_4\) | Interaction/decoherence time | Detection-event order |
| \(D_5\) | Relative phase and coherence | Relative phase, visibility, alternatives |
| \(D_6\) | Alive/dead counts or analyzer evidence | Screen counts and observed extrema |
| \(D_7\) | Normalization and density positivity | Normalization and duality inequality |

This validates an important part of the language: higher information can be
lost under one projection and recovered only through another observable. It
does not show that \(D_5\) is a literal fifth spatial dimension.

## 8. What would falsify this quantum module?

The implemented model fails if a controlled experiment establishes any of the
following beyond quantified error:

1. probabilities depart from the Born-rule interference expression used here;
2. an ideal compatible definition produces \(D^2+V^2>1\);
3. orthogonal physical path records preserve unconditional interference;
4. pure dephasing changes the alive/dead diagonal probabilities rather than
   only suppressing coherence;
5. the same complete encoded inputs produce different bit outputs on conforming
   builds.

A specifically seven-dimensional physical theory still needs an additional
prediction that standard quantum mechanics does not already make. The
observation kernel passes a compatibility test; it is not yet independent
evidence for the metaphysical interpretation.
