The runs of the dealing program #
After its choices (Codes.choiceSteps), the dealing program of [Ant26] computes
deterministically: it checks the row data of every row against the row before
(Codes.rowCheckSteps), runs the straight-line program on the numbers of units and the outcomes
(Codes.gateSteps), and reads off as trees the numbers of units of the moves, the conditions and
whether the units are cut (Codes.readOutSteps). It then rejects unless the row data are valid,
the numbers of units valid and the outcomes good (Codes.checkSteps); these are the steps of
Codes.dealSteps. The sum over the states after them is the sum over the choices that pass the
checks, at states with the values of the end (Final, with no contents yet) that the templates
of the scripts read (sum_execAll_dealSteps).
Main definitions #
RowValidAfter: row data that are valid after a given last party of the row before.inputName: the names that the inputs of the straight-line program read.Codes.rowCheckStep,Codes.gateStep,Codes.readOutStep: the deterministic steps.Codes.rowCheckSteps,Codes.gateSteps,Codes.readOutSteps,Codes.checkSteps,Codes.dealSteps: the phases of the dealing program up to its checks.
Main results #
sum_execAll_dealSteps: the sum over the runs of the steps up to the checks.
References #
From VP ≠ VNP over every field [Ant26], Appendix J.3: the program G in the proof
of Theorem J.3 (p. 54: it rejects unless ρ is valid, the numbers give every node at most N
packets, and all outcomes are good; it computes by the binary operations). Ported from the source
modules Nc.Dl.Run, Nc.Dl.Run2 and Nc.Dl.Total.
The row data d are those of a row of a staircase after a row whose last party is h, as
in ValidRow.
Instances For
The name that an input of the straight-line program reads: a number of units or an outcome, as a digit.
The check of the row data of the party p on the tape s against the last party of the row
before (0 for the first row).
Phase 5: the checks of all rows.
Step k of the straight-line program: it reads an input, writes a constant, or applies an
operation to two earlier steps (and writes the empty value in no other case, since tab is a
straight-line program).
Phase 6: the straight-line program.
A read-out: the number of units of the move x as a number, and a condition or whether the
unit u is cut as a bit.
Phase 7: the read-outs.
Phase 8: reject unless all rows are valid and all conditions hold.
The steps of the dealing program up to its checks: the choices, the checks of the rows, the straight-line program, the read-outs and the checks.
The deterministic phases #
All runs #
The runs of the dealing program up to its checks. There are states st q ρ n o with the
values of the end (Final, with empty contents) and the bits that say which units are cut, such
that the sum over the states after Codes.dealSteps, 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 that pass the checks, at the states st q ρ n o.