The instructions of a role do what its step does #
The program GROUP of [Ant26] keeps the contents of the cells of a group in a trie
(Stores). Its instructions simulate a step of the group (Simulates) if, from a trie that
stores some contents, their weighted list of tries is the sum over the choices of the step of
its weight times the trie of the contents that it writes.
This file has what the instructions of base parties and of roles share: writing strings closed by
the bit 1 at the keys of lists of cells (putStrings_spec) and comparisons
(scriptSem_of_checks); and the simulation of the step of a role by its instruction
(simulates_role), through the runs of the transducer of the role.
Main definitions #
Main results #
Stores.nil: the empty trie stores empty contents.ofBits_bits_injective: a unit of positive width is determined by its bits.putStrings_spec: writing strings at the keys of lists of items.unitCount_eq_of_putStrings_ne_nil: writing gives a trie only if the numbers of units fit.scriptSem_of_checks: a list of comparisons keeps the trie or rejects.exists_of_mem_run_roleTable: what a run of the transducer of a role writes.simulates_role: the instruction of a role simulates its step.
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). Ported from the source modules
Nc.Grp.PutSum, Nc.Grp.SumPut, Nc.Grp.SumRole and Nc.Grp.StepRole.
The trie t stores the contents σ of the cells at the keys key: its entries are units of
at most ub bits, and the entry at the key of a cell has the bits of its contents.
The instructions I simulate the step s: from a trie that stores the contents σ, the
weighted sum of Ψ over the tries after the instructions is the sum over the choices of the step
of its weight times Ψ' at the contents after it, whenever Ψ and Ψ' agree at tries and the
contents that they store.
Writing strings #
Writing strings, closed by the bit 1, at the keys of lists of items. If every string
has as many units as its list has items, there is one trie after writing, at the key of an item
written it has the unit of the item, and at the keys of the other items it is unchanged; otherwise
there is none.
For units of positive width, a unit is determined by its bits, as a tree.
Comparisons #
A list of comparisons, each of which keeps the trie if it holds and rejects otherwise, keeps the trie if all hold and rejects otherwise.
Roles #
What a run of the transducer of a role adds to a channel has, for some indices of the law for all blocks, the length of the labels and the strings of the indices on the channel.
The instruction of a role simulates its step.