E9: evidence, predeclaration and scan size
Generated by python3 tools/experiments/e9_evidence.py. Never edit by hand.
Toy keyspace of N = 2^24 keys, split into windows of 256. The predeclared subset is the first window, \(q_0\) = 1.5e-05. 2000 trials per row, 2,000,000 for the predeclared rate (seed 9).
Uniform generator: predeclared against post-hoc
Predeclared: the scan reports a hit if any of u keys lies in the subset named in advance. Post-hoc: the analyst looks at the keys first and then names the window that holds the most; a "pattern" is two or more keys in one window. The nominal figure is the chance of that for a window named in advance.
| keys scanned u | predeclared, predicted 1-(1-q0)^u | predeclared, measured | post-hoc, nominal chance | post-hoc, measured | inflation |
|---|---|---|---|---|---|
| 10 | 0.00015 | 0.000139 | 1.2e-08 | 0.0015 | 1.3e+05 |
| 100 | 0.0015 | 0.00152 | 1.2e-06 | 0.071 | 6.1e+04 |
| 1000 | 0.015 | 0.0151 | 0.00012 | 1 | 8.6e+03 |
| 10000 | 0.14 | 0.141 | 0.012 | 1 | 86 |
Likelihood ratio of one matching key
The ratio compares "the key came from the alternative" with "the key came from a uniform generator". Posteriors use the stated prior probability of the alternative and k independent matching keys.
| alternative model | likelihood ratio per key | posterior, prior 1e-6, k = 1 | posterior, prior 1e-6, k = 3 | posterior, prior 1e-12, k = 3 |
|---|---|---|---|---|
| 90% of keys in the window | 5.9e+04 | 0.056 | 1 | 1 |
| 1% of keys in the window | 656 | 0.00066 | 1 | 0.00028 |
| uniform on the lowest 2^16 keys | 256 | 0.00026 | 0.94 | 1.7e-05 |
| uniform on the lowest 2^20 keys | 16 | 1.6e-05 | 0.0041 | 4.1e-09 |
Detection under a defective generator
| share of keys in the subset | keys scanned u | scan finds at least one |
|---|---|---|
| 0 | 10 | 0.000 |
| 0 | 1000 | 0.015 |
| 0.001 | 10 | 0.006 |
| 0.001 | 1000 | 0.632 |
| 0.01 | 10 | 0.087 |
| 0.01 | 1000 | 1.000 |
| 0.9 | 10 | 1.000 |
| 0.9 | 1000 | 1.000 |
Result
- Predeclared subset, uniform generator: the false-positive rate follows \(1-(1-q_0)^u\approx uq_0\): confirmed. It grows with the size of the scan, so a finding must state how many keys were scanned.
- Post-hoc selection: a "pattern" with a nominal chance of one in thousands or less turns up in a large share of uniform scans: confirmed. This is why
taxonomy/classification.mdII.1 caps post-hoc evidence at hypothesized. - The likelihood ratio is fixed by the alternative model, and ranges here over four orders of magnitude for the same key. A single ratio quoted without its alternative says little. The posterior also needs a prior; each further independent matching key multiplies the odds by the ratio, so strong alternatives overwhelm any prior quickly and weak ones do not.
- A match supports "not uniform". It does not pick among the alternatives: every model above that puts weight on the window explains the key.
Claims tested: II.1 (evidence levels, predeclaration) and the eMudhra reading in II.4.