The program of a role #
A role of a law (Cut.Law) is played by the program GROUP of [Ant26] on the units
of a trie. The units at the keys of every slot of the role are put together to a stream of bits;
the table of the role, read as a transducer (roleTable), runs on the streams for tt * ub steps,
guessing an index and the strings on the channels and multiplying by the entries of the table; the
string that it emits on every channel, closed by the bit 1, is cut into units, which are written
at the keys of the channel (roleSem).
Main definitions #
termOf: a term of the interpreter with a given value.slotList,channelList,slotIndex: the slots and the channels of a role, as lists.RoleChoice: what a role guesses in one block: an index and a string on every channel.roleTable: the table of a role as a transducer.roleSem: what a role does with a trie.
Main results #
val_termOf: the value oftermOf.exists_formula_roleSem: one formula plays a role.
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.Role and
Nc.Grp.RoleProg.
A term whose value is a, if there is one, and otherwise an arbitrary term.
The table of a role as a transducer with one control, an input list for every slot and an
output list for every channel: a choice is a RoleChoice, whose weight is a term (termOf) for
the entry of the table at the bits read and the guessed strings, and which pushes, on every
channel, the label of the index followed by the string on the channel, reversed.
What a role does with a trie whose entry at a key k has the bits ct k: if no unit at the
keys of the slots is empty, the transducer of the role runs for tt * ub steps on the streams of
the slots, and the strings that it emits, reversed and closed by the bit 1, are written at the
keys of the channels; if a unit is empty, nothing.
Streams #
The number of steps and the end #
The role #
One formula plays a role. Its argument is (num ub, (trie, (num tt, (keys of the slots,
keys of the channels)))); the trie holds units of at most ub bits.