The encoded sizes of the calls of the native contraction recursion #
Bounds on the encoded lengths of the calls (FastContraction.encCall) of the native recursion
from bounds on their numbers: the length of an encoded call is at most 64 (B + 1) ^ 3 + 2 B R when
its numbers, lists and ports are at most B and its descriptors at most R long
(FastContraction.length_encCall_le), and a bounded packet descriptor is at most
200 (B + 1) ^ 2 long (FastContraction.length_enc_inr_le). The values are reduced at their
precision (FastContraction.reducedAt_value), and the frames of an active call with at most m
edges at scale m and precision p are at most 64 (B + 1) ^ 3 long for
B = 256 (m + 1) ^ 5 (p + 1) + e (FastContraction.length_encFrame_frameAt_le): the accumulator
stays reduced at the common precision and stores at most one value per node and point.
Main results #
Cslib.Circuits.Frontier.FastContraction.length_enc_packetCtx_le: packet contexts.Cslib.Circuits.Frontier.FastContraction.length_enc_inr_le: bounded packet descriptors.Cslib.Circuits.Frontier.FastContraction.length_encCall_le: calls.Cslib.Circuits.Frontier.FastContraction.reducedAt_value,Cslib.Circuits.Frontier.FastContraction.length_encValue_le: values.Cslib.Circuits.Frontier.FastContraction.length_encFrame_frameAt_le: the frames of an active call.
A number at most b has at most b binary digits.
A list of numbers at most 1 has encoded length at most 3 k for k numbers.
A packet context with fields at most B and no column list has encoded length at most
64 (B + 1).
A bounded packet descriptor has encoded length at most 200 (B + 1) ^ 2, when
2 (m + 1) (P + 1), the modulus's length and the number of ports are at most B and the
modulus has 0/1 coefficients.
The encoded length of a call is at most 64 (B + 1) ^ 3 + 2 B R when its scale, depth,
bound, precision, number of edges, number of vertices, modulus length, the binary length of its
rows and its ports are at most B, the modulus has 0/1 coefficients, and its descriptors are at
most R long.
Values #
A reduced list at precision p has encoded length at most e (2 (p + 1) + 1).
The values of the calls are reduced at their precision, for every child builder.
The encoded length of a tagged value of a call.
Frames #
An accumulator whose product, sum and stored values are reduced at precision N.
The accumulator stays reduced along the children, and its stored values only grow.
The encoded length of a frame is at most 64 (B + 1) ^ 3 when its cursor state's numbers
and exponents, the number of stored values, N + 1 and e are at most B, and its accumulator is
reduced at precision N.
The frames of an active call #
The bound 256 (m + 1) ^ 5 (p + 1) + e on the numbers of the frames of an active call at scale
m with precision p.
The frames of an active call with at most m edges at scale m have encoded length at
most 64 (B + 1) ^ 3 for B = frameBound x.
The sizes along the recursion #
The sizes of a call of a given shape: from a root x₀ at depth 0, at scale its number
m of edges, with bound m + 1, a 0/1 modulus and descriptors at most 200 (Z + 1) ^ 2 long, a
call of its shape, its tagged value and, if it is active, its frames are at most
1000 (Z + 1) ^ 3 long, once Z dominates 256 (m + 1) ^ 5 (P + 1) + e for the precision bound
P = p₀ + 40 m² (m + 1) and the vertices, rows and their growth.