The dealing program #
The program G of [Ant26] (the proof of Theorem J.3) is a formula of the tree
machine of one shape (dealFormula): it writes the word of its argument, cuts it into parts that
it writes into a trie at given paths, runs a first list of steps and then a second one, and fills
a list of templates. Its weighted values are the filled templates, one list for every state after
the steps, and the weighted sum of the products of the plain sums of the filled templates is the
sum over those states (dealFormula_does); its cost is the cost of the word, of the parts, of the
steps and of the templates. With injective codes of names, the trie after the parts is a state by
names (gets_partsT).
Main definitions #
dealFormula: the dealing program, for given steps and templates.
Main results #
dealFormula_does: what the dealing program computes, and at which cost.gets_partsT: the parts written at the codes of names.
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.DealThm.
The dealing program: the word of the argument, with t0 for a leaf and t1 for a node, cut
into parts of lsbValue nl letters at the paths names; the steps sts and then sts', guessing
bit lists of BitString.lsbValue nub bits; and the templates ts.
The dealing program. Let the steps sts cost at most c each along every run from the
trie of the parts of the word of z (an invariant I of the remaining steps and the state), and
let every state after them have an invariant for the steps sts' that bounds their costs by
c9 in all, and states after which every template costs at most ct. Then the dealing program
at z makes, at the stated cost, one list of filled templates for every state after all steps,
and the weighted sum of the products of their plain sums is the sum over those states.
The parts at names. Writing the parts of m elements of l at the codes of the distinct
names xs into a trie whose values are the state by names st gives a state by names in which
the name xs[k] has the part k, reversed, and the other names keep their values.