Sequential composition of interactive reductions #
Reduction.append runs a reduction from rel₁ to rel₂ and then one from rel₂ to rel₃; its
rounds are the concatenation s₁ ++ s₂. Every construction is by structural recursion on s₁,
so for a concrete protocol the transcripts, challenges and message queries of the composition
compute to those of the components without casts.
The composition theorems are stated in the plain model, where every security notion holds from
every state of the (trivial) world; in oracle models one composes interactive protocols first and
compiles them once (Fiat–Shamir, BCS). All errors add up. Straight-line knowledge soundness
composes with the named extractor Verifier.extractAppend. Its default intermediate statement is
used only when the first verifier rejects; without one, the composed extractor need not exist
when the intermediate statement type is empty.
Main definitions #
Interactive.Spec.Transcript.append,Interactive.Spec.Transcript.split,Interactive.Spec.PerChallenge.append,Interactive.Spec.PerChallenge.split,Interactive.Spec.liftMsgLeft,Interactive.Spec.liftMsgRight.Interactive.liftDecisionLeft,Interactive.liftDecisionRight,Interactive.Verifier.append,Interactive.Reduction.append,Interactive.iterSpec,Interactive.Reduction.id,Interactive.Reduction.iterate,Interactive.PerChallenge.iterate.Interactive.ProverStrategy.append,Interactive.ProverStrategy.split,Interactive.ProverStrategy.bindLeaf.Interactive.compState,Interactive.Verifier.extractAppend.
Main results #
Interactive.not_compState_empty,Interactive.rbrFrom_false,Interactive.RbrFrom.congr,Interactive.rbrFrom_append.Interactive.Reduction.Complete.append,Interactive.Verifier.Sound.append,Interactive.Verifier.KnowledgeSound.append,Interactive.Verifier.RbrSound.append.Interactive.Reduction.Complete.iterate,Interactive.Verifier.RbrSound.iterate.Interactive.plainLaw_run_append,Interactive.plainLaw_run_split,Interactive.Reduction.plainLaw_run_append,Interactive.Verifier.plainLaw_run_append: execution laws of composed and split strategies, reductions, and verifiers.
Concatenate transcripts.
Split a transcript of a composition.
Concatenate per-challenge data.
Split per-challenge data of a composition.
Queries about the messages of s₁ are queries about those of s₁ ++ s₂.
Queries about the messages of s₂ are queries about those of s₁ ++ s₂.
Lift a decision on s₁ to the composition.
Lift a decision on s₂ to the composition.
Sequential composition of verifiers: the second decides on the first one's output.
Sequential composition of reductions.
Round-by-round composition (proved) #
The composed verifier's output is the second verifier's output on the first one's.
A doomed start of the first half is a doomed start of the composition.
The round-by-round condition holds trivially when nothing is ever alive.
The round-by-round condition is invariant under equivalent state functions and events.
Round-by-round composition, per prefix.
Round-by-round soundness composes, with the concatenated per-round errors.
Composition of completeness, soundness and knowledge soundness #
The composed straight-line extractor: extract the intermediate witness from the second half of
the transcript, at the statement the first verifier outputs, then the input witness from the first
half. The default intermediate statement y₀ is used only when the first verifier rejects, when
the composed verifier rejects too.
The total error of concatenated per-round errors.
Running a strategy continued by an effect at its end: the effect sees the transcript.
Running a strategy continued by a pure map at its end maps the output, keeping the transcript.
Running a composed strategy runs the first part, then the continuation on its result.
Running any strategy for s₁ ++ s₂ runs its split: the first part, then the rest.
Run the first part of a split prover, which ends by running its second part and applying g
to the first transcript and the result: the law runs the first part, then the second part, and
applies g. This is the prover a composed verifier's first component faces.
Splitting a concatenated transcript recovers its halves.
The honest run of a composed reduction runs the first reduction, then the second on the first prover's output.
Completeness errors add up under sequential composition.
A run against a composed verifier is a run of the split strategy against the first, then of its continuation against the second.
Soundness errors add up under sequential composition, through the intermediate language.
Straight-line extractors compose, with the sum of the knowledge errors. The first verifier's knowledge soundness is applied to a prover that simulates the second phase with the public samplers.
Iteration #
The reduction without rounds that keeps the statement and the witness.
Run the stages R 0, …, R (k - 1) in sequence. Stage i has its own rounds s i and
reduces statements of type S i with witnesses W i to those of stage i + 1.
Concatenate per-round errors of the stages.
The reduction without rounds is perfectly complete.
Iterated completeness: if every stage R i with i < k is complete from rel i to
rel (i + 1) with error ε i, the first k stages are complete from rel 0 to rel k with
the sum of the errors.
Iterated round-by-round soundness, with the per-round errors of the stages in order.
The total error of the stages' concatenated per-round errors.