# Bell's test in the 0/1 language: what observation forbids

Original run: 16 November 2026. The conditional-marginal sampler was corrected on 17 November 2026 and `bell.log` was regenerated by running `bell.py` (standard library only). The [conditioning witness](../tally/physics/46_bell_conditioning.tly) checks exact declared probability tables; it does not use sampling or apparatus records.

**Evidence labels.**
- **Finite exhaustive checks:** the local limit under the assumptions below, the signalling case, and the exact conditional tables in program 46.
- **Synthetic sampling:** the quantum rule and the no-signalling box, 200,000 rounds each.
- **Observations:** published experiments, cited from memory and not replayed here.

## The test

Two stations are far apart. Each is handed a setting mark, x at A and y at B, and returns an outcome mark, a and b. A round is **won when a ⋆ b = x ∧ y**. The condition uses exactly the two operations of the 0/1 language.

Here **x and y are independent uniform bits**. The local hidden-variable class also assumes **measurement independence**: the hidden-state distribution does not depend on the chosen settings, P(λ|x,y)=P(λ). Its response probabilities factor as P(a,b|x,y,λ)=P(a|x,λ)P(b|y,λ). A deterministic member has a=f(x,λ), b=g(y,λ); local randomness can be included in λ. Thus the same mixture of the 16 deterministic strategies applies to all four question pairs. This is the CHSH game form of the local hidden-variable constraint: see [Bell's original theorem](https://journals.aps.org/ppf/abstract/10.1103/PhysicsPhysiqueFizika.1.195) and the [Clauser–Horne–Shimony–Holt extension](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.23.880).

The **3/4 win-rate bound** uses equal weights for the four question pairs. A raw win average under nonuniform settings needs a corresponding bound or reweighting. Applying the theorem to measured records also requires a defined trial-selection protocol; setting- or outcome-dependent postselection cannot silently be treated as the unconditional experiment.

## Bell's theorem as a ⋆ count

Take the ⋆ of the four rounds' conditions:
- **What any local pair produces:** f(0)⋆g(0) ⋆ f(0)⋆g(1) ⋆ f(1)⋆g(0) ⋆ f(1)⋆g(1) = 0, because every outcome appears twice and x ⋆ x = 0.
- **What winning requires:** (0∧0) ⋆ (0∧1) ⋆ (1∧0) ⋆ (1∧1) = 1.

The two cannot match, so every local pair loses at least one of the four rounds. Exhaustively, 8 of the 16 pairs win 3 rounds and 8 win 1.

## Results

| Rule | Best win rate | How established |
|---|---|---|
| local, no hidden marks | 0.750 | exhaustive, 16 rule pairs |
| local, 1 shared hidden mark | 0.750 | exhaustive, 256 pairs |
| local, 2 shared hidden marks | 0.750 | exhaustive, 65,536 pairs |
| local, any number of hidden marks, independent of settings | ≤ 0.750 | parity proof plus the same strategy mixture for each uniformly weighted question pair |
| B may read A's setting | 1.000 | exhaustive |
| quantum rule: outcomes agree with probability cos²(angle difference), each alone 50/50 | 0.8533 sampled; 0.8536 exact | the same add-amplitudes-then-square rule as `SLITS.md` |
| no-signalling limit (Popescu–Rohrlich box) | 1.000 | exact declared table in program 46; sampling is illustrative |

**No signalling requires keeping the local setting fixed.** For every allowed outcome and setting, the conditions are P(a|x,y)=P(a|x,y′) and P(b|x,y)=P(b|x′,y). Both declared tables here have P(A=1|x,y)=P(B=1|x,y)=1/2 at each of the four setting pairs; program 46 checks those identities exactly.

The original sampler only checked P(A=1|y), averaging over Alice's own setting x. That can hide a signal: for A=x ⋆ y and B=0, independent uniform x gives P(A=1|y)=1/2 for either y, yet at fixed x=0 Alice's outcome equals y. [Program 46](../tally/physics/46_bell_conditioning.tly) checks this negative control as well as the PR and supplied quantum tables. The corrected sampler retains both stations' marginals at every (x,y). Its finite-sample tolerance is only a chosen diagnostic threshold, not a proof of no signalling or an experimental confidence level.

## What has been observed

The numbers and experimental descriptions below are retained from the original memory-based citations; this conditioning audit has not independently reverified them or replayed their data.

| Experiment | S | Win rate (S + 4)/8 | Above the local limit by |
|---|---|---|---|
| Weihs et al. 1998, photons, strict locality | 2.73 ± 0.02 | 0.841 | 36.5 standard errors |
| Hensen et al. 2015, electron spins 1.3 km apart, loophole-free | 2.42 ± 0.20 | 0.803 | 2.1 standard errors |
| Storz et al. 2023, superconducting qubits 30 m apart, loophole-free | 2.0747 ± 0.0033 | 0.759 | 22.6 standard errors |

The quoted central values exceed the local 0.750 and lie below the standard quantum CHSH ceiling of about 0.854 in this game. This table is not a statistical reanalysis of those experiments or a proof of a universal physical ceiling.

## What it means for building a language from observation

1. **A Bell violation constrains a stated model class.** The excluded class combines local response factorization, measurement independence and the specified sampling protocol. The parity argument supplies the conditional mathematical bound; an experimental rejection additionally requires suitable records and statistical analysis. Local dependence on available marks alone is not the complete list of assumptions.
2. **A deterministic explanation must address which Bell premise it changes.** Examples include nonlocal response or a setting-dependent hidden-state distribution. In the toy mixture used here, a fraction 41.4% of rounds uses a strategy that knows both settings; this is not a general minimum or a measure-independent bound on experimental freedom. The earlier references to random generators and the Big Bell Test remain memory-based experimental context.
3. **The two supplied models have no-signalling conditional marginals.** Their joint correlations differ, but neither permits a message by choosing a remote input in this scenario. This follows from their specified tables, not from averaging away the local setting.
4. **Standard quantum mechanics bounds this CHSH game at (2+√2)/4 ≈ 0.853553.** For two binary settings and binary outcomes at each station, quantum states and local bounded observables obey S≤2√2, giving that win-rate bound for uniform questions ([Tsirelson, 1980](https://doi.org/10.1007/BF00417500)). This is a theorem under quantum assumptions, not a conclusion established by the sampled runs or a bound on every possible correlation scenario. The [Popescu–Rohrlich construction](https://arxiv.org/abs/quant-ph/9508009) shows that no-signalling alone permits win rate 1.

A foundational derivation must state which quantum structure it assumes. Here the cos² pair law is supplied, and `09_bell.tly` checks its optimum on a finite phase ratchet. Neither that search nor program 46 derives the general quantum framework, single outcomes or the measurement-update rule.

## Limits

- The historical experimental numbers are cited from memory, not independently verified in this audit or replayed. The quantum rule is a supplied textbook model; sampled agreement is not a derivation or apparatus evidence.
- The 41.4% figure comes from a simple model in which hidden marks either know both settings or know nothing. It is not a proven minimum.
- Detector efficiency, timing and trial selection matter when applying Bell inequalities to records. The descriptions of the above experiments as loophole-free are retained from the original citations, not newly established here.
