Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Dealing.GroupTime

The time of GROUP at the scripts of the dealing program #

The pieces of the dealing program of [Ant26] are the instances of the program GROUP at the scripts of the groups, whose time is groupTime (P1's groupTime_le). For the codes of the dealing program (Codes.SizeBounds), with at most ι base parties in the group, each with at most lh units at the beginning, and at most ev cells and units read by its roles, this time is at most (Lc + 1) * (T + ub + 2) + ι * T + 3 * (ev + ι * lh) * (ub + Lc + 1) + 10 * X ^ 3 (groupTime_le_of_sizeBounds).

GROUP reads the numbers T and ub most significant bit first (BitString.binaryValue), the dealing program least significant bit first (BitString.lsbValue); the library lemma BitString.lsbValue_eq_binaryValue_reverse relates the two.

Main results #

References #

From VP ≠ VNP over every field [Ant26], Appendix J.3: the evaluator in the proof of Theorem J.3 (p. 54: it halts within (#blocks · T + #bits of packets + #instructions · v^O(1)) (lg v)^O(1) steps). Ported from the source module Nc.Dl.GrpCost (grpTimeOK, exists_bits), on the constants of P1's groupTime_le.

theorem Cslib.Circuits.Arithmetic.Separation.Dealing.groupTime_le_of_sizeBounds {F : Type} [CommRing F] {Γ S Q : Type} [Fintype S] [Fintype Q] {A' E K U0 U1 D pS c : ℕ} {M : Cut.Moves F (K + K + A') E} {C : Codes S M U0 U1 D pS} {qn : Q → ℕ} {tg : M.Role → ℕ} {X Lc : ℕ} {G : Type} [DecidableEq G] {cb : Option Γ → Fin c → Bool} {P : Cut.Plan M U0 U1} {q : Fin (K + 1) → Q} {x : Fin K → List Γ} {ρ : Option S → Fin (K + K) → Cut.RowData (K + K)} {n : Fin (K + K) → Fin (K + K) → Fin (U0 + 1)} {o : M.Channel → Fin U1} {grp : Fin (K + K + A') → G} {g : G} (H : C.SizeBounds qn tg X Lc) {bT bub : List Bool} {T ub : ℕ} (hT : BitString.binaryValue bT = T) (hub : BitString.binaryValue bub = ub) (hlT : bT.length ≤ Lc) (hlub : bub.length ≤ Lc) {cap : ℕ} (hP : P.Ok cap) (hx : ∀ (κ : Fin K), (x κ).length ≤ T) {ι lh ev : ℕ} (hι : {p : Fin (K + K) | grp (Fin.castAdd A' p) = g}.card ≤ ι) (hιX : ι ≤ X) (hlh : ∀ (p : Fin (K + K)), grp (Fin.castAdd A' p) = g → ∑ b : Fin (K + K), (↑(n p b) + ↑(n b p)) ≤ lh) (hev : GroupProgram.cellCount n o grp g + GroupProgram.roleUnitCount P n o grp g ≤ ev) (b : Cut.UnitId (K + K) U0 M.Channel U1 → Cut.UnitContent ub) :
GroupProgram.groupTime bT bub (GroupProgram.groupScript qn cb P q x ρ n o grp g C.key C.dkey tg b) ≤ (Lc + 1) * (T + ub + 2) + ι * T + 3 * (ev + ι * lh) * (ub + Lc + 1) + 10 * X ^ 3

The time of GROUP at the script of a group of the dealing program. If X and Lc bound the numbers and the lengths of the codes of the dealing program, the binary words bT and bub of T and ub have at most Lc bits, the plan is cap-bounded, the input parts have at most T letters, and the group has at most ι ≤ X base parties, each with at most lh units at the beginning, and at most ev cells and units read by its roles in all, then the time of GROUP at the script of the group is at most (Lc + 1) * (T + ub + 2) + ι * T + 3 * (ev + ι * lh) * (ub + Lc + 1) + 10 * X ^ 3.