Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Dealing.StepSize

The size of the steps of the dealing program #

The dealing program of [Ant26] has O(X ^ 2) steps up to its checks (length_dealSteps_le), each of size O(X ^ 2 * Lc), so that their list has size O(X ^ 4 * Lc) (size_listT_dealSteps_le), and its guesses of the contents have size O(X * Lc) in all (size_listT_contentSteps_le). Here X bounds the numbers of blocks, parties, units, moves, digits, steps of the straight-line program, channels, tapes, states and row data and the numbers of the states, and Lc the lengths of the codes of the names, digits, row data and keys (Codes.SizeBounds).

Main definitions #

Main results #

References #

From VP ≠ VNP over every field [Ant26], Appendix J.3: the program G in the proof of Theorem J.3 (p. 53: some program of size at most v^a₀ cuts). Ported from the source module Nc.Dl.SizeDeal (the steps).

structure Cslib.Circuits.Arithmetic.Separation.Dealing.Codes.SizeBounds {F : Type} [CommSemiring F] {K A' E U0 U1 D pS : ℕ} {M : Cut.Moves F (K + K + A') E} {S Q : Type} [Fintype S] [Fintype Q] (C : Codes S M U0 U1 D pS) (qn : Q → ℕ) (tg : M.Role → ℕ) (X Lc : ℕ) :

Bounds for the sizes of the dealing program: Lc bounds the lengths of the codes of the names, digits, row data and keys, and X the numbers of the blocks plus one, the base parties, the units of a string plus one, the units of a channel, the moves plus one, the digits, the steps of the straight-line program, the channels, all units, the tapes, the states plus one, the row data, the roles, the slots and channels of a role, and the numbers qn of the states and tg r + 4 of the roles.

theorem Cslib.Circuits.Arithmetic.Separation.Dealing.Codes.SizeBounds.one_le_X {F : Type} [CommSemiring F] {K A' E U0 U1 D pS : ℕ} {M : Cut.Moves F (K + K + A') E} {S Q : Type} [Fintype S] [Fintype Q] {C : Codes S M U0 U1 D pS} {qn : Q → ℕ} {tg : M.Role → ℕ} {X Lc : ℕ} (H : C.SizeBounds qn tg X Lc) :
1 ≤ X
theorem Cslib.Circuits.Arithmetic.Separation.Dealing.Codes.SizeBounds.size_ofBits_le {F : Type} [CommSemiring F] {K A' E U0 U1 D pS : ℕ} {M : Cut.Moves F (K + K + A') E} {S Q : Type} [Fintype S] [Fintype Q] {C : Codes S M U0 U1 D pS} {qn : Q → ℕ} {tg : M.Role → ℕ} {X Lc : ℕ} (H : C.SizeBounds qn tg X Lc) {w : List Bool} (hw : w.length ≤ Lc) :

A code of length at most Lc has size at most 5 * Lc.

theorem Cslib.Circuits.Arithmetic.Separation.Dealing.Codes.SizeBounds.le_mul_X {F : Type} [CommSemiring F] {K A' E U0 U1 D pS : ℕ} {M : Cut.Moves F (K + K + A') E} {S Q : Type} [Fintype S] [Fintype Q] {C : Codes S M U0 U1 D pS} {qn : Q → ℕ} {tg : M.Role → ℕ} {X Lc : ℕ} (H : C.SizeBounds qn tg X Lc) (u : ℕ) :
u ≤ X * u

The units of the bounds increase.

theorem Cslib.Circuits.Arithmetic.Separation.Dealing.length_dealSteps_le {F : Type} [CommSemiring F] {K A' E U0 U1 D pS : ℕ} {M : Cut.Moves F (K + K + A') E} {S Q : Type} [Fintype S] [Fintype Q] {C : Codes S M U0 U1 D pS} {qn : Q → ℕ} {X nI mm : ℕ} {P : Cut.Plan M U0 U1} {grp : PlanInput M U0 U1 → Fin (K + K + A') → Fin mm} (tab : SlpTab P grp D nI pS) (hK1 : K + 1 ≤ X) (hK2 : K + K ≤ X) (hS : Fintype.card (Option S) ≤ X) (hN : Fintype.card M.Channel ≤ X) (hpS : pS ≤ X) (hE : E + 1 ≤ X) (hU : Fintype.card (Cut.UnitId (K + K) U0 M.Channel U1) ≤ X) (i e : Q) (hU0 : U0 < D) (hU1 : U1 ≤ D) :
(C.dealSteps tab qn i e hU0 hU1).length ≤ 4 * (X * X) + 7 * X

The number of the steps up to the checks, if X bounds the numbers of the blocks plus one, the base parties, the tapes, the channels, the steps of the straight-line program, the moves plus one and the units.

theorem Cslib.Circuits.Arithmetic.Separation.Dealing.size_listT_dealSteps_le {F : Type} [CommSemiring F] {K A' E U0 U1 D pS : ℕ} {M : Cut.Moves F (K + K + A') E} {S Q : Type} [Fintype S] [Fintype Q] {C : Codes S M U0 U1 D pS} {qn : Q → ℕ} {tg : M.Role → ℕ} {X Lc : ℕ} (H : C.SizeBounds qn tg X Lc) {nI mm : ℕ} {P : Cut.Plan M U0 U1} {grp : PlanInput M U0 U1 → Fin (K + K + A') → Fin mm} (tab : SlpTab P grp D nI pS) (i e : Q) (hU0 : U0 < D) (hU1 : U1 ≤ D) :
(Interpreter.listT (List.map Interpreter.DStep.tree (C.dealSteps tab qn i e hU0 hU1))).size ≤ 1332 * (X * (X * (X * (X * Lc))))

The size of the steps up to the checks, as a list of trees.

theorem Cslib.Circuits.Arithmetic.Separation.Dealing.size_listT_contentSteps_le {F : Type} [CommSemiring F] {K A' E U0 U1 D pS : ℕ} {M : Cut.Moves F (K + K + A') E} {S Q : Type} [Fintype S] [Fintype Q] {C : Codes S M U0 U1 D pS} {qn : Q → ℕ} {tg : M.Role → ℕ} {X Lc : ℕ} (H : C.SizeBounds qn tg X Lc) :

The size of the guesses of the contents, as a list of trees.