Supplementary material for Bridging Correlation Measures and Unpredictability: Sharp Bounds and Insights for TRNG Validation (Skorski & Günlü).
Correlation measures (Mauduit–Sárközy) describe a sequence; the min-entropy rate
An order-$r$ correlation is the average parity (product of
Correlations bound prediction. The best next-bit advantage satisfies
minimax optimal, with a sharp transition. It refutes a single-order bound used in prior TRNG-validation work.
Correlations sandwich entropy. The min-entropy deficit is linear in
Both constants are optimal: the runs-of-ones source attains the lower one, the all-ones trap source the upper one.
Samples inherit the bounds. Empirical parity biases are correlation sums, so the bounds transfer from stationary laws to samples (ergodic limits and finite-sample guarantees).
The noisy-parity source
so the rule
Finite-sample limits. At
Source
| runs | mean |
mean margin | rejected | |
|---|---|---|---|---|
| 20 | 0.00779 | 0.36 | 0/20 | |
| 20 | 0.00694 | 0.93 | 5/20 | |
| 20 | 0.00702 | 2.77 | 20/20 | |
| 4 | 0.00689 | 8.02 | 4/4 |
The limit is
Reproduce (seconds): run src/noisy_parity_overrejection.ipynb or python3 src/verification/noisy_parity.py. The seed is fixed, and reruns match the stored src/verification/noisy-parity-results.json exactly.
-
src/noisy_parity_overrejection.ipynb: the experiment above. -
src/proof_steps_check.ipynb: numerical checks of the key proof steps. Symbolic (Wolfram) counterparts, with stored outputs:proof_steps.wlandbridge_steps.wl/.nb. -
src/verification/: Python scripts with stored JSON results; run from the repository root, e.g.python3 src/verification/calibration.py.- Contribution 1:
check_bounds.py,check_sharp_transition.py,check_source_entropy.py,check_trap_chain.py,check_linear_gap.py,check_cycle_linear.py, andcheck_bridge.py(sample-to-source bridge; sample maxima use lags up to 10, so they lower-bound$C_r$ ). - Contribution 2:
noisy_parity.py,calibration.py,check_cyclic_acf.py,certificate_size.py.
- Contribution 1: