Figure 1 is not sound for a machine with oracle queries of length at most two #
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 on the queries is needed: for a machine whose every step is an oracle query, but
whose queries have at most two bits, the protocol of
[BrownCohenIrvingPiliouras2024, Figure 1] is not sound under Definition 6.1. CopyChain.lean
shows separately that it is needed that every step is a query.
Every step is an oracle query. The two blocks reuse the same one-bit address false. The
proposer gives it a positive probability in the first block and zero in the second, whereas a
fixed replacement oracle gives it one probability in both. Definition 6.1 controls the change
under a fixed oracle only.
The machine #
The two-block machine runs two blocks. A block is one query at the empty address followed by
m queries, each at the previous bit. The last step queries the pair (u, v) of the last bits
of the two blocks. The oracle answers false at the empty address, answers a one-bit address
with that bit, and answers the pair with true with probability c + c (u - v).
The machine has seven addresses, the strings of at most two bits (TwoBlockQuery). The source's
oracle has addresses of one fixed length l (dedebate.tex, lines 127 and 239). An injective
recoding into three-bit addresses preserves the argument, with one address unused, so the
example is one with constant-length queries.
- Under any one oracle the two blocks are independent and have the same law, so the expected
answer of the original pair lookup is
c, and the lookup itself moves by at most the perturbation. The machine is1-Lipschitz at its oracle, for everym, and accepts with probabilityc. - The proposer claims a small positive probability
k / Nat the addressfalsein the first block. At every other start and copy step it reports the exact probability, and at the final lookup it reports grid approximationsκ₁ / Nandκ₀ / Nof the two probabilities that can occur. Every claim before the last round is within the verifier's tolerance of a deterministic answer, so an abort there is accepted. The first block ends attruewith probability1 - (1 - k / N) ^ mand the second atfalse. Witha = κ₀ / Nandκ₁ = 2 κ₀: conditional on the first block ending attruethe final bit istruewith probability2 a, and unconditionally with probabilitya (2 - (1 - k / N) ^ m), againstcfor the machine.
Reading of the source #
- The printed Definition 6.1 has a strict inequality. For it the relevant statement is
not_sound_figure1_two_of_lipschitzAt_run_twoBlockMachine, with the constants of Figure 1 forK = 2: the output law of this machine moves by at most the distance between the oracles, which is strictly less than twice that distance when the distance is positive. The constant1is attained (raise the answer at every pair by the same amount), so the machine does not satisfy the strict inequality withK = 1.not_sound_figure1_of_lipschitzAt_run_twoBlockMachine, with the constants forK = 1, is under the non-strict reading of Definition 6.1, which isProbOracleComp.LipschitzAt. - The protocol is the interpreter
Debate.run: claims and coins lie on a grid, and the bit of each round is computed by the interpreter from the claim and the two coins, as in the authors' formalization, which the source says uses external randomness in place of the two shares (dedebate.tex, line 294). The order of events is that of Figure 1, where the challenger may abort (step 2(e), line 259) after the bit of the round is set (step 2(d), line 258). - The checked conclusions are about
Debate.run. In Figure 1 the proposer can announce the same grid probabilities, supply a uniform share of the coin, and set the bit as prescribed; the probabilities and the argument for an abort are then the same. - The constants are
Params.figure1.
Main definitions #
Cslib.Interactive.Debate.twoBlockMachine,Cslib.Interactive.Debate.twoBlockOracle: the machine and its oracle.Cslib.Interactive.Debate.twoBlockProposer: the proposer that wins against it.
Main results #
Cslib.Interactive.Debate.evalWith_run_twoBlockMachine,Cslib.Interactive.Debate.lipschitzAt_run_twoBlockMachine: the machine accepts with probabilitycand satisfies Definition 6.1 with constant1, non-strictly.Cslib.Interactive.Debate.le_evalWith_run_twoBlockProposer: the acceptance bound against every challenger, for general parameters, with the verifier's rejection probability in the last round as a hypothesis.Cslib.Interactive.Debate.not_sound_figure1_two_of_lipschitzAt_run_twoBlockMachine: with the constants of Figure 1 forK = 2, the protocol is not sound for this machine. This covers the printed, strict Definition 6.1.Cslib.Interactive.Debate.not_sound_figure1_of_lipschitzAt_run_twoBlockMachine: the same with the constants forK = 1, under the non-strict reading.
References #
The machine and its oracle #
The addresses of the two-block machine: the empty address, a one-bit address and a two-bit address. These are the seven strings of at most two bits.
The two-block machine. A block is one query at the empty address followed by m queries,
each at the previous bit. The machine runs two blocks and then queries the pair of the last
bits of the two blocks. Every one of its 2 m + 3 steps is an oracle query, and every query
has at most two bits.
The oracle of the two-block machine: start at the empty address; the address itself at a
one-bit address; and at a pair (u, v) the answer true with probability c + c (u - v), that
is 2 c at (1, 0), 0 at (0, 1) and c otherwise.
The law of the run #
Definition 6.1 #
The two-block machine accepts with probability exactly c, whatever the start law.
The two-block machine satisfies Definition 6.1 with constant 1, non-strictly, for every
m, every start law and every c. Under any one oracle the two blocks are independent with the
same law, so the original pair lookup has expected answer c, and the lookup itself moves by at
most the perturbation.
The attack #
The claims of the attacking proposer, as a function of the bits written so far. At a start
step it claims 0, and at a copy step the probability 1 or 0 given by the previous bit,
which are the exact probabilities, except that in the first block it claims k / N at the
address false. At the final lookup it claims κ₁ / N when the first block ended at true
and κ₀ / N otherwise; κ₁ and κ₀ are parameters, meant as grid approximations of the two
probabilities that can occur there.
The attack on a machine with oracle queries of length at most two. Let the oracle answer
false at the empty address, let its parameter satisfy 0 ≤ c and 2 c ≤ 1, and let the protocol
have 2 m + 3 rounds and at least one verifier sample. For any claim k / N that is positive and
below the verifier's tolerance, and any last claims κ₁ = 2 κ₀, twoBlockProposer makes the
verifier accept on the two-block machine with probability at least
(1 - v) (a + a (1 - (1 - k / N) ^ m)) against every challenger, where a = κ₀ / N and v bounds
the probability that the verifier rejects the last claim after an abort. The machine itself accepts
with probability c, and the bound is close to c + c (1 - (1 - k / N) ^ m) when a is close to
c and v is small.
The challenger is an arbitrary program with private state. As in Figure 1, it decides whether
to abort after the bit of the round is set. Before the last round an abort does not help it:
every answer is deterministic, so the verifier's samples are exact and it accepts the claim.
In the last round the verifier's rejection probability after an abort is at most v.
The constants of the source #
Under the non-strict reading of Definition 6.1, the protocol of Figure 1 is not sound for
a machine with oracle queries of length at most two. With the constants of
[BrownCohenIrvingPiliouras2024, Figure 1] for K = 1 (Params.figure1 1) and m ≥ 601, the
two-block machine of 2 m + 3 steps, against the oracle that answers false at the empty
address and has c = 1 / 4, is 1-Lipschitz at its oracle in the non-strict sense and outputs
true with probability 1 / 4, 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] claims soundness 2 / 5. The theorem's existence
claim is not refuted: another protocol may meet it.
The printed Definition 6.1 has a strict inequality, which this machine does not satisfy with
K = 1; not_sound_figure1_two_of_lipschitzAt_run_twoBlockMachine is the statement for the
printed definition. The checked conclusion is about Debate.run, with 2 m + 3 rounds, one
for each step of the machine: claims and coins lie on a grid and the interpreter computes the
bit of each round. In Figure 1 the proposer can announce the same grid probabilities, supply a
uniform share and set the bit as prescribed, with the same probabilities and the same argument
for an abort. The sample counts are rounded up and the logarithm is natural (Params.figure1).
The protocol of Figure 1 is not sound under Definition 6.1 for a machine with oracle
queries of length at most two. With the constants of [BrownCohenIrvingPiliouras2024, Figure 1]
for K = 2 (Params.figure1 2) and m ≥ 1201, the two-block machine of 2 m + 3 steps is
2-Lipschitz at its oracle and outputs true with probability 1 / 4, yet some proposer makes
the verifier accept with probability above 2 / 5 against every challenger. The existence
claim of [BrownCohenIrvingPiliouras2024, Theorem 6.2] is not refuted: another protocol may meet
it.
This covers the printed Definition 6.1, which has a strict inequality. By
lipschitzAt_run_twoBlockMachine the output law of this machine moves by at most the distance
between the oracles, which is strictly less than twice that distance whenever the distance is
positive. So the machine satisfies the strict inequality with K = 2 against every oracle at
positive distance.
The checked conclusion is about Debate.run, with 2 m + 3 rounds: claims and coins lie on a
grid and the interpreter computes the bit of each round. In Figure 1 the proposer can announce
the same grid probabilities, supply a uniform share and set the bit as prescribed, with the same
probabilities and the same argument for an abort. The constants are read as in
not_sound_figure1_of_lipschitzAt_run_twoBlockMachine.