# Registered protocol 3: adaptive eigenpairs

Frozen on 29 November 2026, after protocol 2 was scored and before any run under this protocol beyond the one
exploratory run named below. Corrections are dated addenda at the end.

## Why a third protocol

In protocol 2 the ordered sweep failed on direct-encoded pigeonhole at n = 28, after verified proofs up to n = 24
(`results/summary2.json`). The cause is a fixed constant, not the schedule: `spectral.py` computes K = 24 eigenpairs.
The time direction of `php-direct` is a cluster of n − 1 equal eigenvalues (one mode per hole), so from n = 25 on the
first 24 eigenpairs all lie in that cluster, no transverse direction can be found, and the fallback order is poor. At
n = 24 the run was lucky: the one mode beyond the cluster happened to be enough.

Protocol 3 tests one change:

- **`auto3`** (`spectral.py`, `adaptive=True`): compute eigenpairs, doubling from K, until the time cluster and a
  transverse cluster are both complete (the highest computed cluster is not used unless every eigenpair has been
  computed). The time and transverse directions, the BDD and elimination orders and the slices are otherwise defined
  exactly as before. Where 24 eigenpairs already contain both clusters, `auto3` and `auto` give the same orders.

The schedule is protocol 2's `sweep2`. What was seen before this freeze: one run of `auto3` with `sweep2` on
`php-direct` n = 28, shuffle 1 (2,123,520 proof clauses, verified, using 96 eigenpairs), and the orders `auto3` gives
on five formulas (shuffle 4: `chess` 16, `php-direct` 16 and 28, `php-sinz` 12, `tseitin-grid` 12), of which only the
two `php-direct` ones differed from `auto`; and, for every formula of protocol 2 except `php-direct` and `random3`,
whether `auto3` changes its orders (no proofs were run): it does for `php-sinz` at n ≥ 20 and `php-onto` at n ≥ 16,
and for no domino or Tseitin formula. Protocol 2's `php-sinz` result at n = 40 (19,076,787 clauses, against
12,010,018 in protocol 1) was known.

It also repairs protocol 1's control. Random 3-SAT at clause ratio 4.26 was mostly satisfiable, which left the control
without data; at ratio 6.0 random formulas are unsatisfiable with high probability.

## Frozen files (SHA-256)

```
40281439e45abc86a11c4023510c4419ff79544015fbbcfd7a661ddb10c83e43  prover.py
ecbc6620b97c0d434236f7aa5fec1b7ab21fa9751cbc5a0d8dfe292253b75404  schedule.py
c8b6ed1b4c139b14e77954e2207e5f782890ae56c4a0800cbb3e8b20a49f53c9  spectral.py
a2f83777ec091346b2861b995585c560a138e3a462c047a2d0b59721b030cb3f  orders.py
21509b0ef4e947653200ef1d39c1e01db01b2a2720ac1cdd1bc961e4593b333a  families.py
b3eac75ebe8b92582ad3a054a20e7cb980174bede2485dc5383f9ae47071a53e  run.py
b1da52852ef423e3d798fa1b6da20dfca4ab0972704ba432c3676880876e48c5  experiment.py
65af9fbd837568152fa0c29cac19efe835f3c98b91b7f2c849be6b0c83874bc4  analyze.py
```

## Runs

`python3 experiment.py --protocol 3` runs the 8 series listed by `--protocol 3 --list`, with the limits used since
protocol 1's addendum 1 (50 million proof clauses, 1,800 seconds and 7 GiB per run, two runs at a time), on
shuffle seeds not used before (7, and 8 and 9 for invariance).

## Hypotheses and how they are scored (`analyze.py --protocol 3`)

- **R0 (soundness).** Every "unsat" run has a proof that `lrat-check` verifies.
- **R1 (direct-encoded pigeonhole; protocol 2's Q1 again).** `php-direct` reaches n ≥ 48 with verified proofs; over
  n ≥ 16 the power fit beats the exponential fit with exponent at most 4.5; and at n = 36 the proof, counted with the
  input clauses, has fewer than 95,494,509 clauses (Bryant, arXiv:2306.10337, hand-chosen orders, O(n^5)).
- **R2 (the other pigeonhole families).** `php-onto` (surjective, direct encoding) and `php-sinz` each reach n ≥ 32
  with verified proofs; power fit preferred; exponent ≤ 5.
- **R3 (invariance).** `php-direct` at n = 16, 32 and 48 under shuffles 7, 8 and 9: proof sizes within a factor of 2.
- **R4 (the other families are unchanged).** For every formula protocol 2 ran with `auto` orders, other than
  `php-direct`, `php-onto` and `php-sinz`, `auto3` gives exactly the same orders, so protocol 2's proofs and verdicts for those
  families stand under protocol 3. Scored by recomputing both orders for each such formula.
- **R5 (control).** On random 3-SAT at clause ratio 6.0 (three formulas per size), the median verified proof size
  grows exponentially: the exponential fit beats the power fit.

## Addenda
