Sums over contents, one step after the other #
Cells c : Ce hold contents in W. A step (WriteStep) writes the cells of a finite set: it
chooses among finitely many choices, each with a weight, and writes contents, where the weight and
the contents are functions of the contents of all cells. Its factor at contents y of all cells
is the sum of the weights of the choices that write what y has at the cells of the step.
If every cell is written by at most one step of a list and every step depends only on the cells
that no step from it on writes (WriteStep.Sequential), then the sum, over all contents of the
written cells, of the product of the factors is the sum over all executions of the steps in
order, each from the contents that the steps before it have left
(WriteStep.sum_prod_factor_mul_eq_exec).
Main definitions #
WriteStep: a step, with itschoices, the cellswritten, theweightand thecontentsof a choice, and the cellsread.WriteStep.factor: the factor of a step at given contents.WriteStep.writtenCells: the cells written by a list of steps.WriteStep.exec: the sum over all executions of a list of steps.WriteStep.Sequential: steps depend only on what has been written before, and write every cell once.
Main results #
WriteStep.sum_prod_factor_mul_eq_exec: sums over contents are sums over executions.WriteStep.Sequential.of_pairwise: a criterion forSequentialby the cellsread.
References #
From VP ≠ VNP over every field [Ant26], Appendix J.3 (the evaluator in the proof of
Theorem J.3 guesses the contents of the inner packets and then compares them); module
Nc.Grp.Steps.
A step that writes the cells of written: a choice ω ∈ choices has the weight
weight ω y and writes the contents contents ω y c at the cells c ∈ written, as functions of
the contents y of all cells. The field read names cells on which the weight and the contents
may depend; it does not enter WriteStep.factor or WriteStep.exec, and is the datum of the
criterion WriteStep.Sequential.of_pairwise.
The factor of a step at the contents y: the sum of the weights of the choices that write the
contents that y has at the written cells.
The cells written by a list of steps.
The sum over all executions of a list of steps from the contents σ, of the product of the
weights times G at the final contents.
Every step depends only on the cells that neither it nor a later step writes, and every cell is written at most once.
Sums over contents are sums over executions. For a sequential list of steps, the sum,
over the contents y of the written cells (the other cells keep the contents σ), of the product
of the factors of the steps times G y is the sum over the executions from σ.
A criterion for Sequential: the cells that a step reads are written neither by it nor by a
later step, different steps write different cells, and the weight and the written contents of a
step depend only on the cells that it reads.