One cut by the dealing program #
The dealing program of [Ant26] (Codes.dealProgram) writes the word of the letters
of its argument z (the bits tbits z, as the letters bt), cuts it into parts (partTree),
runs its steps, and fills one template for every group (Codes.pieceTm): the instance of the
program GROUP at the script of the group. Every state after its steps has the values of the end
(mem_execAll_allSteps), so the filled templates are the instances of GROUP at the scripts of
the groups. If the value of a universal automaton on the word is the plain sum of z, the
formula of the pieces gives that value as a sum over the choices, and the instances of GROUP are
small, plain and have the values of the groups, then the dealing program cuts plain sums into
pieces (isCut_dealProgram).
Main definitions #
partTree: a part of the input, as the list of the codes of its letters.Codes.pieceTm: the template of the instance of GROUP at the script of a group.Codes.dealProgram: the dealing program.
Main results #
gets_partsT_eq_initialState: the parts of the word, written at the names of the parts.mem_execAll_allSteps: every state after all steps has the values of the end.mem_execAll_dealSteps: every state after the steps up to the checks says which units are cut.isCut_dealProgram: the dealing program makes one cut.
References #
From VP ≠ VNP over every field [Ant26], Appendix J.3: the program G in the proof
of Theorem J.3 (p. 54). Ported from the source module Nc.Dl.Cut and the states after the steps
of Nc.Dl.Bd2.
The states after the steps #
The states after all steps. Every state after all steps of the dealing program, from the
parts pt of the input, has the values of the end (Final) for states q between the blocks
from i to e, valid row data ρ, valid numbers of units n, good outcomes o and contents
b that are present exactly for the cut units.
The states after the steps up to the checks. Every state after Codes.dealSteps, from the
parts pt of the input, is a state by names st that has the bits that say which units are cut,
for valid numbers of units n and good outcomes o.
The dealing program #
The template of the instance of the program GROUP, of code gp, at the script of the group
g (Codes.scriptTm).
The dealing program. It writes the word of its argument with the codes of the letters
bt false for a leaf and bt true for a node, cuts it into parts of lsbValue nl letters at the
names of the parts, runs the steps up to the checks (Codes.dealSteps), guesses the contents of
the cut units (Codes.contentSteps) with lsbValue nub bits each, and fills the template of the
instance of GROUP, of code gp, for every group.
The parts at their names. Writing the parts of ℓ letters of the word of z at the
names of the parts, into the empty trie, gives the state at the beginning (initialState) with
the parts as lists of the codes of their letters (partTree).
One cut #
One cut. Suppose that, for every argument z of size at most s, with the parts x of
ℓ = BitString.lsbValue nl letters of its word:
- the automaton
muhas, on the word, the valuepv θ zifzisτ-plain (hU); - that value is the sum, over the states
qfromitoe, the valid row dataρ, the valid numbers of unitsn, the good outcomesoand the contentsbof the cut units that are empty off them, of the products of the values of the groups (hval); - the dealing program has the weighted list of the filled templates along its runs, in time
t(hdoes); - for every choice that passes the checks, the instance of GROUP at the script of every group has
size at most
s', isτ'-plain and has the value of the group (hpc).
Then the dealing program cuts (τ, s) into (τ', s') with at most mm pieces in t steps.