The native child networks of an active call #
An active call of the contraction recursion of [OAI26k] (§D.4.5–§D.4.7, pp. 62–64) on a
network of vertex descriptors evaluates, for each node t, each interpolation value ζ, each
exponent tuple β and each group g, the child network of group g. This file builds that child
natively as a network of descriptors (NativeChild.nativeChild), from the parent, the native
packing of its edges (Cslib.PacketPacking.nativePacking) and (t, ζ, β, g), and proves that it
has the contraction of the child of the mode splitting at the node (TensorNetwork.callSplitting).
The child. Its vertices are numbered as in ChildNumbering.childVertexEquiv and its edges as
in ChildNumbering.childEdgeEquiv:
- the vertices of group
g, in order, keep their descriptors, and their ports are their parent ports, in the parent's order, each renumbered to its child edge: a row port by its position among the row ports of groupg, a column port by the number of row ports plus its position among the column ports (NativeChild.childEdgeOf). A retained vertex reads its ports in its own order, so its ports are not sorted; - the packet
qis a new vertex whose ports are its child edges in increasing order (ChildNumbering.childPorts), each tagged with whether it is a row port and with the slot of its parent edge, and whose descriptor carries the node, the valueζ, the symbols ofqagainstgand the slice ofβatq(NativeChild.packetCtx,NativeChild.betaSlice), at the child's precisionp_t.
The modes of the node are listed packet-major (NativeChild.modeList): the mode (q, y, b) is at
q · 2 ^ (i + 1) · p_t + y · p_t + b, so the dense exponents of packet q are a slice of β, and
β stands for the mode tuple BudgetTuples.ofList (modeList …) β.
Correctness (NativeChild.contraction_nativeChild). Over O = ℤ_(2)[U] / (f) the parent is
the network DescribedNetwork.toNetwork with the lifts of its entries, and its packing is the
native packing, which is PacketPacking.packing of its edges (PacketPacking.nativePacking_eq),
moved to the ends of the parent (NativeChild.parentPacking). Along reductionLift, the entries of
the native child in A_{p_t} give the contraction of the child of callSplitting at the lift of
ζ and the mode tuple of β: the retained vertices by ModeSplitting.child_tensor_inl_eq_tensor
and the packets by TensorNetwork.map_val_entry_child_inr, assembled by
DescribedNetwork.contraction_eq_of_ports. The native child is again rows-first, with its retained
vertices as rows (NativeChild.isRowsFirstBipartite_nativeChild).
Main definitions #
Cslib.PacketPacking.Packing.relabel: a packing moved to other ends of the edges.Cslib.Circuits.Frontier.NativeChild.nativeChild: the native child.Cslib.Circuits.Frontier.NativeChild.childRows: its number of rows.Cslib.Circuits.Frontier.NativeChild.modeList,Cslib.Circuits.Frontier.NativeChild.modeWeights: the modes of a node, packet-major, and their weights.Cslib.Circuits.Frontier.NativeChild.parentPacking: the packing of the parent overO.
Main results #
Cslib.Circuits.Frontier.NativeChild.contraction_nativeChild: the native child has the contraction of the child.Cslib.Circuits.Frontier.NativeChild.isRowsFirstBipartite_nativeChild: it is rows-first.Cslib.Circuits.Frontier.NativeChild.desc_of_mem_nativeChild: its retained and packet descriptors.Cslib.Circuits.Frontier.NativeChild.exists_mem_of_mem_nativeChild_inl: a retained vertex keeps its number of ports.
References #
- OpenAI, The Exponential Time Hypothesis is False, §D.4.5–§D.4.7, pp. 62–64.
Moving a packing to other ends #
A packing moved to other ends of the edges: the same packets, slots and symbols, with the
labels of the new ends read through ρ and κ, which agree with the old labels at the ends of
every edge.
The native child #
The child edge of the parent port e of the vertex v: for a row, its position among the
row ports of group g; for a column, the number of row ports plus its position among the column
ports.
The context of the packet q in the child of group g at the node t of valuation i
and the interpolation value ζ: the precision p_t and p_t exponents per tile, 2 ^ a slots,
2 ^ (i + 1) tiles, and the symbols of q in coordinate i against g.
The default vertex: no ports and the default packet descriptor.
The native child of group g at the node t of valuation i, the interpolation value
ζ, the precision p_t and the packet-major exponents β, of the rows-first parent D with r
rows and the native packing pk of its edges: the vertices of group g with their descriptors
and renumbered ports, then one packet vertex per packet.
The modes of a node #
The weights of the modes, packet-major: the mode (q, y, b) has weight b + 1.
The weights listed along the modes are modeWeights.
The native lists in a numbered network #
The native ports of group g at the end sel are its members, in order.
The native position of a port is its position among the members.
The native vertices of group g are its members, in order.
The parent edge of a numbered child edge.
A numbered child edge is a row port exactly when its number is below the number of row ports.
The parent over O #
The valuation ring O = ℤ_(2)[U] / (f) of f = monicOf fl.
The parent over O: the network of the descriptors with the lifts of their entries.
The row of an edge, among the rows.
The column of an edge, among the columns.
The native packing of the parent: nativePacking of its (row, column) edges, with r
rows, k - r columns, packets of 2 ^ a slots and 64 symbols.
The (row, column) edges of the parent.
The packing of the parent over O: PacketPacking.packing of its (row, column) edges,
moved to the ends of the parent.
The native packing of the parent is its packing over O when 64 ^ a is at most the
number of edges: the words of its labels, its number of packets, and the packet and slot of each
edge.
The native groups of the parent in coordinate i < a are the groups of the packing.
The mode splitting at a node of the parent over O: callSplitting of the parent with
its packing, at the node t, the precision p, and the lift of the interpolation value ζ.
The rows of the splitting are the first r vertices.
The groups of the splitting are the groups of the packing in coordinate v₂(t).
The packets of the splitting are the packets of the packing.
The ports of a retained vertex: its parent ports, each as its child edge.
A parent port of a retained vertex is a child edge, numbered by childEdgeOf.
The ports of the packet vertex q: the child edges of packet q, in increasing order of
their numbers.
The ports of the numbered child vertices: the renumbered parent ports of a retained vertex, and the child edges of a packet.
The descriptors of the numbered child vertices: the parent descriptor of a retained vertex, and the packet descriptor of a packet.
Mapping over the retained ports of v reads each parent port through retainedPort.
The bit that a retained vertex reads at a parent port.
Mapping a bit assignment over the numbered ports of a retained vertex reads each parent port.
The ports of a packet are its child edges.
The ports of a packet are distinct.
The native ports of a packet are its numbered ports.
The native child is the numbered child: with the groups, packets and slots of the native packing given by functions, the native child lists the numbered child vertices with their numbered ports and descriptors.
The ports of a retained vertex are its child edges.
A retained port names its parent edge.
The ports of a vertex of a rows-first network are distinct.
The numbered ports of a child vertex are its child edges, without repetition.
Being rows-first depends only on the multisets of ports.
The native child is rows-first, with its retained vertices as its rows.
The entries of the retained vertices of the numbered child are the tensors of the child.
The entries of the packet vertices of the numbered child are the tensors of the child.
The native child has the contraction of the child ([OAI26k], §D.4.6). For a
rows-first parent with 64 ^ a at most its number of edges, a node t of positive multiplicity
with u ≤ a, an interpolation value ζ, packet-major exponents β and a group g, the native
child at the precision p_t of the node, with the entries of its descriptors in A_{p_t} mapped
along reductionLift to O / (2 ^ {p_t}), has the contraction of the child of group g of the
mode splitting at t (parentSplitting) at the mode tuple of β.
The descriptors of the native children #
The descriptors of the native child. A vertex of the native child of a rows-first parent
with at least 64 ^ a edges keeps the descriptor of a parent vertex, or is the packet q, with
the packet context of q, the slice of β at q, and tags whose slots are below 2 ^ a and
distinct among its row ports.
A kept vertex of the native child keeps its descriptor and its number of ports: every root descriptor of the native child is the descriptor of a parent vertex with as many ports.