Documentation

CslibFrontier.Computability.Interactive.Debate.CopyChain

Figure 1 is not sound for a machine with steps that are not oracle queries #

The soundness step of Debate.lean holds under [BrownCohenIrvingPiliouras2024, Definition 6.1] for machines whose every step queries an encoding of the whole transcript so far (soundness_of_lipschitzAt_run_prefixMachine). That reading of the source, and what it costs, are recorded in #7579. This module shows that the assumption that every step is an oracle query is needed: for a machine with deterministic steps the protocol of [BrownCohenIrvingPiliouras2024, Figure 1], with its own constants, is not sound under Definition 6.1, and the soundness step of Debate.lean fails when its hypothesis is replaced by that definition. TwoBlock.lean shows separately that the query must determine the transcript.

The witness is the copy chain: the machine that writes false and then copies the previous bit. It makes no oracle query, so it is K-Lipschitz at every oracle for every K, and it outputs false with probability 1. A proposer that claims a small positive probability k / N for true while the last bit is false, and probability 1 afterwards, is never rejected: at a deterministic step the verifier's sample mean is exact, so an abort is accepted whenever k / N is below the verifier's tolerance, and without an abort each round turns the bit to true with probability k / N. Against every challenger the verifier accepts with probability at least 1 - (1 - k / N) ^ rounds.

Reading of the source #

Main definitions #

Main results #

References #

The copy chain #

The copy chain: the machine that writes false first and then copies the previous bit. It never queries its oracle.

The copy chain outputs false with probability 1 against every oracle. In particular its output law does not depend on the oracle.

The copy chain satisfies [BrownCohenIrvingPiliouras2024, Definition 6.1] at every oracle with every constant, since it makes no oracle query.

The attack #

The proposer that wins against the copy chain: it claims k / N while the last bit is false (or no bit is written yet) and claims N / N once the last bit is true. It has no state, draws no samples, and its copy returns a uniform coin, as the honest proposer's does.

theorem Cslib.Interactive.Debate.le_evalWith_run_copyChainProposer {Query : Type} (P : Params) (k : Fin (P.grid + 1)) (hk0 : 0 < ↑↑k / ↑P.grid) (hk : ↑↑k / ↑P.grid < P.verifierTolerance) (hsamples : 0 < P.verifierSamples) (O : Query → PMF Bool) (B : Challenger P.grid) :

The attack on a deterministic step. For any parameters with at least one verifier sample and any claim k / N that is positive and below the verifier's tolerance, copyChainProposer makes the verifier accept on the copy chain with probability at least 1 - (1 - k / N) ^ rounds, against every challenger, although the copy chain outputs false with probability 1.

The challenger is an arbitrary program with private state. An abort does not help it: the verifier's samples of a deterministic step are exact, so it accepts the claim.

The archived constants #

The soundness step needs its stronger hypothesis. soundness_of_lipschitzAt_stepLaw fails when its hypothesis, Lipschitz in the whole step law, is replaced by [BrownCohenIrvingPiliouras2024, Definition 6.1]: for K = 1 and T ≥ 51, the copy chain of T + 1 steps is 1-Lipschitz at every external oracle and outputs true with probability 0, yet some proposer makes the verifier accept with probability above 2 / 5 against every challenger, at the parameters Params.default 1 T.

Definition 6.1 is read with ≤, as ProbOracleComp.LipschitzAt; the protocol is Debate.run, on a grid and with the bit computed by the interpreter.

The constants of the source #

The protocol of Figure 1 is not sound under Definition 6.1. With the constants of [BrownCohenIrvingPiliouras2024, Figure 1] for K = 1 (Params.figure1 1 T) and T ≥ 307, the copy chain of T steps is 1-Lipschitz at every external oracle in the sense of Definition 6.1 and outputs true with probability 0, yet some proposer makes the verifier accept with probability above 2 / 5 against every challenger, where the protocol the source gives for [BrownCohenIrvingPiliouras2024, Theorem 6.2] (Figure 1, analysed in Appendix D) claims soundness 2 / 5. The theorem's existence claim is not refuted: another protocol may meet it.

Definition 6.1 is read with ≤, as ProbOracleComp.LipschitzAt; the copy chain also satisfies the strict reading against every oracle at positive distance, since its output law does not depend on the oracle. The protocol is Debate.run: claims and coins lie on a grid and the interpreter computes the bit of each round, while the verifier's rule after an abort is that of Figure 1. The grid does not weaken the refutation: it only restricts the proposer's claims to grid points, and with a uniform coin from the proposer's own side the bit has exactly the claimed probability, as with real numbers, so against every challenger the attack carries over to the real-valued protocol of Figure 1. The sample counts are rounded up and the logarithm is natural (Params.figure1).