The program of a base party #
A base party of the evaluator of [Ant26] is a block of the automaton or a part of the
input. A block simulates T steps of the automaton between two given states: the automaton is
read as a transducer (simTable) that guesses a letter and a next state in every step and pushes
the code of the letter on the output list of the side of its channel (simSem). An input part
puts the codes of its letters on the side false of the input (inputOutputs). Then the letters
of every tape are cut into segments for the partners, and the strings that the partners get are
written into the trie as units; the same is done with the letters of the other sides for the
strings that the party reads (packSem).
Main definitions #
channelSide,tapes,tapeCount,outputSide: the tapes and their sides.Outputs: the output lists of a simulation.letterCode,letterPush,separator: the codes of the letters, and the separator.simTable,simSem: the automaton as a transducer, and a simulation.inputOutputs: the output lists of an input part.writeItems,readItems,cutPut,packSem: cutting the letters and writing the units.
Main results #
StoreBound.of_mem_packSem: writing keeps the bound on the units.exists_formula_block,exists_formula_input: one formula makes a block, and one formula an input part.
References #
From VP ≠ VNP over every field [Ant26], Appendix J.3: the evaluator described in the
proof of Theorem J.3 (the theorem on p. 53, the evaluator on p. 54); this file formalizes programs
of that evaluator, not the theorem. Ported from the source modules Nc.Grp.Base, Nc.Grp.BaseProg
and Nc.Grp.Pack.
The number of tapes, with the input.
Output lists of a simulation: one for every side of every tape, the sides false first.
The tapes to cut for the strings that a base party reads: for every tape, the last first, the
flag 2 for each of m partners and the letters on its side true.
Cut the letters of the tapes items for m partners, each starting from the closing bit 1,
and write the strings that the partners get, in their order, at the lists of keys kss.
What a base party with the output lists o does with a trie: it writes the units of the
strings to its partners, then those of the strings from its partners.
The output lists of an input part with the codes part of its letters: they are on the side
false of the input.
What a letter of the automaton pushes on an output list: its code, if the output list is the side of its channel, and nothing otherwise or for the idle letter.
The automaton mu as a transducer whose controls are the numbers of the states: a choice is a
letter and a next state, whose weight is a term (termOf) for the entry of the matrix of the
letter, and which pushes what the letter pushes.
The simulation of T steps of the automaton from the state with number q, ending in the
state with number q': the weighted list of the output lists.
The programs #
Blocks and input parts #
One formula makes a block. Its argument is ((num T, (num q, num q')), (num ub,
(trie, body))); the block simulates T steps of the automaton from the state with number q to
the state with number q', and writes the units of the letters.
One formula makes an input part. Its argument is (codes of the letters, (num ub, (trie,
body))).