Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Trees.ThinTrees

Thin trees #

Theorem H.2 of [Ant26] (pp. 45–46) writes the value of a network on at most M nodes, with units of ℓ bits and at most N units at a node, as a sum, over sequences of good outcomes of moves, of the values of networks whose nodes form a tree of small depth (Section H.3). A network is a starting position of the play (Play.value on the initial units): the given nodes are the A base parties, with tables init that read their initial units. The moves (Cut.Moves) are relays and laws of a fixed list, and the plan (Cut.Plan) says which units they use. ThinTrees collects them with the tree (the stages, the root, and the parent of every party for the numbers n of initial units and the outcomes o), the units units between the parties and their parents that a program computes, the dead units, and the bounds of the theorem:

The units from a node to itself are allowed here; they stay at their node, which sums over them.

Main definitions #

Main results #

References #

structure Cslib.Circuits.Arithmetic.Separation.Trees.TreeProgram {R : Type u_1} [CommSemiring R] {A A' E U0 U1 : ℕ} {M : Cut.Moves R (A + A') E} (P : Cut.Plan M U0 U1) (parent : (Fin A → Fin A → Fin (U0 + 1)) → (M.Channel → Fin U1) → Fin (A + A') → Fin (A + A')) (units : (Fin A → Fin A → Fin (U0 + 1)) → (M.Channel → Fin U1) → Fin (A + A') → ℕ) (K steps : ℕ) :

A straight-line program with steps gates over the letters Fin K, whose inputs are the pairs (n, o) of the numbers n of initial units and the outcomes o of a plan P, and which computes the parents parent, the units units between the parties and their parents, the current units after all moves, the units given at the slots, the numbers of units of the moves and the good outcomes (Theorem H.2(d), (e)). A property is computed by its indicator.

structure Cslib.Circuits.Arithmetic.Separation.Trees.ThinTrees {R : Type u_1} [CommSemiring R] (laws : List (Cut.Law R)) (A N ℓ M b G C : ℕ) (γ : ℝ) :
Type (max 1 u_1)

Thin trees (Theorem H.2 of [Ant26], pp. 45–46) for networks on A given nodes, with at most N units at a node, units of ℓ bits and at most M nodes: moves of the relay and of the laws laws on the A + A' parties, with a plan that obeys the rules, the tree of every choice of numbers n of initial units and outcomes o (stages, root and parents), the units units between the parties and their parents, and the dead units, with the bounds (a)–(e) of the theorem for the bound b of the children, the integer G of the test of the law moves, the exponent C and the gain γ. The bounds on the units hold for good outcomes and at most N initial units at every base party.

theorem Cslib.Circuits.Arithmetic.Separation.Trees.ThinTrees.card_filter_holds_le {R : Type u_1} [CommSemiring R] {laws : List (Cut.Law R)} {A N ℓ M b G C : ℕ} {γ : ℝ} (TT : ThinTrees laws A N ℓ M b G C γ) {n : Fin A → Fin A → Fin (N + 1)} {o : TT.moves.Channel → Fin TT.U1} (hn : ∀ (a : Fin A), ∑ c : Fin A, (↑(n a c) + ↑(n c a)) ≤ N) (hg : ∀ (x : Fin TT.E), TT.plan.Good n o x) (p : Fin (A + TT.A')) :

The units at a node (Theorem H.2(b) of [Ant26], p. 46): the units in the end that are not dead, join two parties and have an end at a party are at most Λ M ^ (1 - γ) (N + M ^ 2).