The choices of the dealing program #
The dealing program of [Ant26] begins with four phases of picks. It guesses the
states between the blocks, the first one i and the last one e (Codes.stateSteps); the row
data of every party on every tape (Codes.rowDataSteps); the number of units of every string
between two base parties (Codes.countSteps); and the outcome of every channel
(Codes.outcomeSteps). With each choice it writes what the scripts of the groups will read: the
flags of the rows, the keys of the units, the comparisons of the units from a base party to itself
and the keys of the new units, and the numbers and outcomes as digits for the straight-line
program. The sum over the states after these phases is the sum over all choices
(sum_execAll_choiceSteps), at the state Codes.chosenState.
Main definitions #
initialState: the state at the beginning, with the parts of the input.stateOptions,Codes.countOption: the options of a state between the blocks and of a number of units.Codes.stateSteps,Codes.rowDataSteps,Codes.countSteps,Codes.outcomeSteps,Codes.choiceSteps: the phases of picks.Codes.chosenState: the state after the picks.
Main results #
sum_execAll_choiceSteps: the sum over the states after the picks.
References #
From VP ≠ VNP over every field [Ant26], Appendix J.3: the program G in the proof
of Theorem J.3 (p. 54: it guesses q, ρ, the numbers of packets and the outcomes). Ported from
the source module Nc.Dl.Run (its phases of picks) and Nc.Dl.Total.
The state at the beginning: the parts pt of the input, and empty values.
Phase 1: pick the states between the blocks, and write their numbers qn.
Phase 2: pick the row data of every party on every tape, and write their flags and codes.
The assignments of phase 3 for n units of the string from a.1 to a.2: the keys of their
copies at both ends, the number as a digit, and for a.1 = a.2 the comparisons of the two
copies.
Phase 3: pick the number of units of the string between every two base parties.
Phase 4: pick the outcome of every channel, and write it as a digit and the keys of the new units at both ends.
The phases of picks.
The state after the picks of the states q between the blocks, the row data ρ, the
numbers of units n and the outcomes o, from the parts pt of the input.
The four phases #
The choices. The sum over the states after the phases of picks, from the parts pt of the
input, is the sum over the states q between the blocks from i to e, the row data ρ, the
numbers of units n and the outcomes o, at the states Codes.chosenState.