Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Cuts.Start

The start of the play on the blocks of a run #

Lemma I.2 of [Ant26] (module Nc.G.Start) writes the value of a tape automaton on a run of K * T steps as a sum of values of networks on the K blocks and the K parts of the input, the base parties. Here the networks are the starting positions of the play (Play.value): the units are the initial units (Cut.initialUnits), all of them current, and the weight is the product of the tables of the base parties at the beginning (Cut.initialTable). The packets of ℓ bits of the paper are the units of ub bits, and its parts of T' letters are the parts of ℓ letters (Cut.parts).

For given states between the blocks, the terms of these positions are the segments with staircase support (Cut.sum_segments): the row data are those of the segments (Cut.validRow_and_ok_iff), the string from a party a to a party b is the bit string of the segments that a writes and b reads, its units are the common contents of the two copies of the initial units between a and b, and a string is determined by its units.

Cut.runVal_eq_sum_value_initial is the identity of Lemma I.2. The lemma also bounds the number of units at a party whose table is not zero; that bound is not stated in this file (Cut.sum_unitCount_le bounds the units of the strings that one party writes or reads).

Main results #

References #

theorem Cslib.Circuits.Arithmetic.Separation.Cut.sum_value_initial {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {N : Type u_5} {A' K T U0 U1 c ub : ℕ} [CommSemiring F] [Fintype Γ] [DecidableEq Γ] [Fintype S] [DecidableEq S] [Fintype Q] [DecidableEq Q] {mu : Tape.Letter S Unit Γ → Matrix Q Q F} {cb : Option Γ → BitString c} {x : Fin K → List Γ} [Fintype N] [DecidableEq N] (hcb : Function.Injective cb) (hc : 0 < c) (hub : 0 < ub) (hU : (T + (Fintype.card S + 1)) * c / ub + 1 ≤ U0) (np : N → Bool → Fin (K + K + A')) (q : Fin (K + 1) → Q) (hx : ∀ (κ : Fin K), (x κ).length ≤ T) :
(∑ ρ : Option S → Fin (K + K) → RowData (K + K), if ValidRows ρ then ∑ n : Fin (K + K) → Fin (K + K) → Fin (U0 + 1), Play.value (UnitId.holder np) none (initialUnits n) (initialUnits n) fun (y : Fin (K + K + A') → UnitId (K + K) U0 N U1 → Option (BitString ub)) => ∏ p : Fin (K + K), initialTable mu T cb q x (fun (s : Option S) => ρ s p) (fun (a b : Fin (K + K)) => ↑(n a b)) p (y (Fin.castAdd A' p)) else 0) = ∑ X ∈ segments Γ S K T, if ∀ (s : Option S), List.StairRefinement.Stair (X s) then segmentWeight mu T q x X else 0

Units. For given states between the blocks, the sum, over the valid row data and the numbers of units, of the values of the starting positions is the sum over the segments with staircase support of the product of the weights of the parties. In a starting position the units are the initial units, all of them current, and the weight is the product of the tables of the base parties at the beginning.

theorem Cslib.Circuits.Arithmetic.Separation.Cut.runVal_eq_sum_value_initial {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {N : Type u_5} {A' K T U0 U1 c ub : ℕ} [Fintype Γ] [DecidableEq Γ] [Fintype S] [DecidableEq S] [Fintype Q] [DecidableEq Q] {cb : Option Γ → BitString c} [Fintype N] [DecidableEq N] {F : Type u_6} [CommRing F] {mu : Tape.Letter S Unit Γ → Matrix Q Q F} (hcb : Function.Injective cb) (hc : 0 < c) (hub : 0 < ub) (hU : (T + (Fintype.card S + 1)) * c / ub + 1 ≤ U0) (np : N → Bool → Fin (K + K + A')) (i e : Q) (u : Unit → List Γ) {ℓ : ℕ} (hℓ : ℓ ≤ T) (hu : (u ()).length ≤ K * ℓ) :
Tape.runVal mu i e (K * T) u = ∑ q : Fin (K + 1) → Q, if q 0 = i ∧ q (Fin.last K) = e then ∑ ρ : Option S → Fin (K + K) → RowData (K + K), if ValidRows ρ then ∑ n : Fin (K + K) → Fin (K + K) → Fin (U0 + 1), Play.value (UnitId.holder np) none (initialUnits n) (initialUnits n) fun (y : Fin (K + K + A') → UnitId (K + K) U0 N U1 → Option (BitString ub)) => ∏ p : Fin (K + K), initialTable mu T cb q (parts ℓ (u ())) (fun (s : Option S) => ρ s p) (fun (a b : Fin (K + K)) => ↑(n a b)) p (y (Fin.castAdd A' p)) else 0 else 0

The start of the play. The value of an automaton with one input in K * T steps, for an input of at most K * ℓ letters with ℓ ≤ T, is the sum, over the states between the blocks, the valid row data and the numbers of units, of the values of the starting positions, where the input parties hold the parts of the input of ℓ letters each.