The script of a group #
The evaluator of [Ant26] computes the value of a group of parties after the moves of
a plan (Cut.Plan.groupValue) by the program GROUP, at a script (groupScript) that lists, in
order:
- for every base party of the group (
baseParties), the instruction of its block or of its input part (baseInstructions), whose body (baseBody) says how the letters of its tapes are cut for the partners (rowFlag) and at which keys the units of the strings that it writes and reads are put, followed by the comparisons of the two copies of the units from the party to itself; - for every role of the group, in the order of the moves (
groupRoles), its instruction (roleInstruction); - the comparisons of the copies of the current units that the group holds with each other and
with the contents of the units shared with other groups (
endInstructions).
A copy of a unit at a party is a cell (Cell); the script puts the cell c at the key key c
of the trie of GROUP, and the second copy of unit k from the base party p to itself at the key
dkey (p, k).
Main definitions #
Cell,Cell.equivProd: the copy of a unit at a party, and cells as pairs.baseParties,allRoles,groupRoles: the base parties of a group, all roles of the moves, and the roles of a group.indicesBelow,rowFlag,baseBody: the keys of the first units of a string, the flags of the partners in a row, and the body of a base party.baseInstructions,roleInstruction,endInstructions,groupScript: the instructions of a base party, of a role and of the end, and the script of a group.
Main results #
mem_baseParties,nodup_baseParties,mem_allRoles,pairwise_allRoles,mem_groupRoles,pairwise_groupRoles,nodup_groupRoles: the base parties and the roles.length_indicesBelow,getElem_indicesBelow,mem_indicesBelow,nodup_indicesBelow: the keys of the first units.
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 module
Nc.Grp.Script (its script half) and Nc.Grp.GrpSteps.
A cell: the copy of a unit at a party.
The party that holds the copy.
The unit.
Instances For
The base parties of the group g are the base parties in g, in their order.
All roles of all moves, in the order of the moves.
The roles of all moves are distinct, and listed in the order of the moves.
The roles of the group g, in the order of the moves.
The roles of the group g are the roles whose party is in g, in the order of
allRoles.
The flag of the partner b in a row with the data d: 0 for every partner if the party
writes nothing, and otherwise 1 for the first and the last partner, 2 for a partner strictly
between them, and 0 for the others.
The body of the instruction of the base party p: for every tape, the flags of the partners
in its row, the last partner first; for every partner b, the keys of the copies at p of the
first n p b units of the string from p to b, and those of the first n b p units of the
string from b to p, where the units from p to itself are read at the keys dkey.
The instructions of the base party p: the block from the state q κ to the state
q (κ + 1) (numbered by qn) for the block κ, or the input part x κ with the codes cb of
the letters, in reverse order, for the input party κ; then the comparisons of the two copies of
the units from p to itself.
The instruction of the role r, number tg r in a list of roles of laws: for every slot,
the keys of the units given, in reverse order, and for every channel the keys of its new units at
the party of the role.
The instructions of the end, for every current unit in the end that the group g holds: the
copies at its two holders agree if both are in the group, and the copy at the holder in the group
has the bits of the unit b if only one is.
The script of a group: the instructions of its base parties, of its roles and of the end.