Correctness of one native active call #
An active call of the native contraction recursion of [OAI26k] (§D.4.4–§D.4.7,
pp. 60–64) on a rows-first network of descriptors stores, for each node index k of positive
multiplicity and each interpolation point i, a value in A_{p_t}, and recovers its own value
with native tapered recovery (NativeRecovery.recover). This file proves the call correct from
the correctness of its stored values (NativeCall.val_recover_eq_contraction): if each stored value
is, in A_{p_t}, the sum over the exponent tuples of the products over the groups of the
contractions of the native children (NativeChild.nativeChild), then the recovered value is the
contraction of the network in A_p.
The proof is carried over O = ℤ_(2)[U] / (f) with the canonical lifts of the entries
(DescribedNetwork.toNetwork, GaloisRingArith.liftO), as in §D.4.1 (p. 58). The values at the
nodes are the lifts of the stored lists, so
- modulo
2 ^ {p_t}they are the right side of (D.16) for the children ofcallSplitting: the native children have these contractions (NativeChild.contraction_nativeChild), and the sum over the exponent lists is the sum over the mode budget (BudgetTuples.sum_filter_weight_lt_eq); - so interpolation and Lemma D.5 recover the contraction modulo
2 ^ p(TensorNetwork.exists_recoverFromValues_eq_add_of_children); - and the lifts reduce in
A_{p + Δ}to exactly the stored lists, so native recovery computes the reduction of the contraction (NativeRecovery.val_recover_of_eq_add), with no condition onp_tbeyond Lemma D.5's.
The call's precision p_t of the node of valuation i is nodePrecision p h a M i, and the
shift Δ only needs (a + 1) ∑_t q_t ≤ Δ.
Main results #
Cslib.Circuits.Frontier.NativeCall.val_recover_eq_contraction: one native active call is correct when its stored values are.
References #
- OpenAI, The Exponential Time Hypothesis is False, §D.4.4–§D.4.7, pp. 60–64.
The node index of a node: t + 2 ^ a.
A product over a range as a list is a product over Fin.
One native active call is correct when its stored values are ([OAI26k],
§D.4.4–§D.4.7). Let D be a rows-first network of descriptors with M edges, and let
(a, u, h) meet the hypotheses of Lemma D.5 (1 ≤ u ≤ M, u ≤ a, 3 M ≤ h u ≤ 3 M + u), with
64 ^ a ≤ M and (a + 1) ∑_t q_t ≤ Δ. Let the interpolation values ζl have lifts with unit
differences, and more than M (2 L - 1) of them. Suppose that at every node index k of positive
multiplicity, with the node t = k - 2 ^ a of valuation i and precision p_t, each stored value
W[k][i'] is, in A_{p_t}, the sum over the exponent lists of the packet-major modes of the
products over the 64 groups of the contractions in A_{p_t} of the native children. Then native
recovery returns the contraction of D in A_p.