Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Cuts.Initial

The tables of the parties at the beginning and after the moves #

The play of the cutting argument of [Ant26] (Lemma I.2 and Proposition J.2; module Nc.G.Defs) on a run of a tape automaton has K blocks and K input parties, the base parties, and A' extra parties that the moves use. At the beginning, a base party has the table Cut.initialTable: the sum of its weight (Cut.partyWeight) over what it writes and reads, subject to the condition Cut.InitialOk that its row data are the given ones and that its copies of the initial units are the units of the strings that it writes for, and reads from, every other base party. An extra party has the table 1. After the moves of a plan, the table of a party is its table at the beginning times the tables of its roles (Cut.finalTable), and a group of parties has a value for given contents of the units that it shares with other groups (Cut.Plan.groupValue).

Main definitions #

Main results #

References #

def Cslib.Circuits.Arithmetic.Separation.Cut.InitialOk {Γ : Type u_2} {S : Type u_3} {N : Type u_5} {A U0 U1 c : ℕ} (ub : ℕ) (cb : Option Γ → BitString c) [Fintype S] (ρ : Option S → RowData A) (n : Fin A → Fin A → ℕ) (p : Fin A) (y : UnitId A U0 N U1 → UnitContent ub) (R C : Option S → Fin A → List Γ) :

The condition in the table of the base party p at the beginning, for what it writes (R) and reads (C): the row data ρ are those of R, and for every base party b the string that p writes for b has n p b units, of which the copies y of p are the first U0, and likewise for the string that p reads from b.

Instances For
    @[instance_reducible]
    noncomputable instance Cslib.Circuits.Arithmetic.Separation.Cut.instDecidableInitialOk {Γ : Type u_2} {S : Type u_3} {N : Type u_5} {A U0 U1 c : ℕ} (ub : ℕ) (cb : Option Γ → BitString c) [Fintype S] (ρ : Option S → RowData A) (n : Fin A → Fin A → ℕ) (p : Fin A) (y : UnitId A U0 N U1 → UnitContent ub) (R C : Option S → Fin A → List Γ) :
    Decidable (InitialOk ub cb ρ n p y R C)
    noncomputable def Cslib.Circuits.Arithmetic.Separation.Cut.initialTable {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {N : Type u_5} {K 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) (T : ℕ) (cb : Option Γ → BitString c) (q : Fin (K + 1) → Q) (x : Fin K → List Γ) (ρ : Option S → RowData (K + K)) (n : Fin (K + K) → Fin (K + K) → ℕ) (p : Fin (K + K)) (y : UnitId (K + K) U0 N U1 → UnitContent ub) :
    F

    The table of the base party p at the beginning, as a function of its copies y of units: the sum of its weight over what it writes and reads, of at most T letters each, under the condition InitialOk.

    noncomputable def Cslib.Circuits.Arithmetic.Separation.Cut.initialTables {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {N : Type u_5} {K 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) (T : ℕ) (cb : Option Γ → BitString c) (A' : ℕ) (q : Fin (K + 1) → Q) (x : Fin K → List Γ) (ρ : Option S → Fin (K + K) → RowData (K + K)) (n : Fin (K + K) → Fin (K + K) → Fin (U0 + 1)) (p : Fin (K + K + A')) :
    (UnitId (K + K) U0 N U1 → UnitContent ub) → F

    The tables of all parties at the beginning: a base party has its initialTable, and an extra party the table 1.

    noncomputable def Cslib.Circuits.Arithmetic.Separation.Cut.finalTable {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {A' E K U0 U1 c ub : ℕ} [CommSemiring F] [Fintype Γ] [DecidableEq Γ] [Fintype S] [DecidableEq S] [Fintype Q] [DecidableEq Q] {M : Moves F (K + K + A') E} (P : Plan M U0 U1) (mu : Tape.Letter S Unit Γ → Matrix Q Q F) (T : ℕ) (cb : Option Γ → BitString c) (q : Fin (K + 1) → Q) (x : Fin K → List Γ) (ρ : Option S → Fin (K + K) → RowData (K + K)) (n : Fin (K + K) → Fin (K + K) → Fin (U0 + 1)) (o : M.Channel → Fin U1) (p : Fin (K + K + A')) :
    (UnitId (K + K) U0 M.Channel U1 → UnitContent ub) → F

    The table of a party after all moves of the plan P: its table at the beginning times the tables of its roles.

    noncomputable def Cslib.Circuits.Arithmetic.Separation.Cut.Plan.groupValue {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {A' E K U0 U1 c ub : ℕ} [CommSemiring F] [Fintype Γ] [DecidableEq Γ] [Fintype S] [DecidableEq S] [Fintype Q] [DecidableEq Q] {G : Type u_6} [DecidableEq G] {M : Moves F (K + K + A') E} (P : Plan M U0 U1) (mu : Tape.Letter S Unit Γ → Matrix Q Q F) (T : ℕ) (cb : Option Γ → BitString c) (q : Fin (K + 1) → Q) (x : Fin K → List Γ) (ρ : Option S → Fin (K + K) → 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) (b : UnitId (K + K) U0 M.Channel U1 → UnitContent ub) :
    F

    The value of the group g of parties after all moves of the plan P, for the contents b of the units that it shares with other groups.

    theorem Cslib.Circuits.Arithmetic.Separation.Cut.initialTable_congr {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {N : Type u_5} {K 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} {T : ℕ} {cb : Option Γ → BitString c} {q : Fin (K + 1) → Q} {x : Fin K → List Γ} {ρ : Option S → RowData (K + K)} {n : Fin (K + K) → Fin (K + K) → ℕ} {p : Fin (K + K)} {y y' : UnitId (K + K) U0 N U1 → UnitContent ub} (h : ∀ (a b : Fin (K + K)) (k : Fin U0), y (UnitId.init a b k) = y' (UnitId.init a b k)) :
    initialTable mu T cb q x ρ n p y = initialTable mu T cb q x ρ n p y'

    The table of a base party at the beginning depends on its copies of initial units only.

    theorem Cslib.Circuits.Arithmetic.Separation.Cut.initialTable_ne_none {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {Q : Type u_4} {N : Type u_5} {A' K 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} {T : ℕ} {cb : Option Γ → BitString c} {q : Fin (K + 1) → Q} {x : Fin K → List Γ} [Fintype N] {np : N → Bool → Fin (K + K + A')} {ρ : Option S → RowData (K + K)} {n : Fin (K + K) → Fin (K + K) → Fin (U0 + 1)} {p : Fin (K + K)} {y : UnitId (K + K) U0 N U1 → UnitContent ub} (h : initialTable mu T cb q x ρ (fun (a b : Fin (K + K)) => ↑(n a b)) p y ≠ 0) (id : UnitId (K + K) U0 N U1) :
    id ∈ initialUnits n → Play.Holds (UnitId.holder np) (Fin.castAdd A' p) id → y id ≠ none

    All initial units held by a base party are present if its table at the beginning is not zero.