Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.TowerPlan.EverHeld

The tower plan: the units that a node ever holds #

A party of the play of the tower plan of [Ant26] (proof of Theorem H.2; modules Nc.Tow.Ever4, Nc.Tow.Ever6, Nc.Tow.Ever7) ever holds the initial units of its strings and the units of the channels of the moves at it (heldCount); a role of a move reads the units of its move at each of its slots, zeros included (roleUnits). For good outcomes, a relay puts on its channels the units that it uses, and a law move at most lengthBound times as many on each channel. With the units given at a node (sum_unitsAt_relay_le, sum_unitsAt_vertex_le), what the party of a node ever holds and reads is at most the initial units of a base party and 8 m lhat more, one unit for every end of a channel at it (channelEndCount), and a constant times the units between its chamber and the parent and between its children and the chamber.

Main definitions #

Main results #

References #

noncomputable def Cslib.Circuits.Arithmetic.Separation.TowerPlan.heldCount {F : Type u_1} [CommSemiring F] {h b D J r m Uu A A' U0 U1 : ℕ} {T : CoveringTower.Tower h b D J r} (R : CoveringTower.Routes T m Uu) {ch : Fin A ↪ T.X 0} (FL : VertexLaws F T) (Pl : Placement T ch A') (n : Fin A → Fin A → Fin (U0 + 1)) (o : (moves R FL Pl).Channel → Fin U1) (p : Fin (A + A')) :

The number of units that the party p ever holds: the units seen after all moves that it holds.

noncomputable def Cslib.Circuits.Arithmetic.Separation.TowerPlan.channelEndCount {F : Type u_1} [CommSemiring F] {h b D J r m Uu A A' : ℕ} {T : CoveringTower.Tower h b D J r} (R : CoveringTower.Routes T m Uu) {ch : Fin A ↪ T.X 0} (FL : VertexLaws F T) (Pl : Placement T ch A') (p : Fin (A + A')) :

The number of ends of channels of the moves at the party p.

noncomputable def Cslib.Circuits.Arithmetic.Separation.TowerPlan.roleUnits {F : Type u_1} [CommSemiring F] {h b D J r m Uu A A' U0 U1 : ℕ} {T : CoveringTower.Tower h b D J r} (R : CoveringTower.Routes T m Uu) {ch : Fin A ↪ T.X 0} (FL : VertexLaws F T) (Pl : Placement T ch A') (lhat : ℕ) (n : Fin A → Fin A → Fin (U0 + 1)) (o : (moves R FL Pl).Channel → Fin U1) (ρ : (moves R FL Pl).Role) :

The units that the role ρ reads: the units of its move at each slot of the role, zeros included, and once more the number of units of its move.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.heldCount_add_sum_roleUnits_le {F : Type u_1} [CommSemiring F] {h b D J r m Uu A A' U0 U1 : ℕ} {T : CoveringTower.Tower h b D J r} {R : CoveringTower.Routes T m Uu} {ch : Fin A ↪ T.X 0} {FL : VertexLaws F T} {Pl : Placement T ch A'} {lhat : ℕ} {n : Fin A → Fin A → Fin (U0 + 1)} {o : (moves R FL Pl).Channel → Fin U1} (hr : 0 < r) (hb : 0 < b) (hh : 0 < h) (hg : ∀ (x : Fin (Fintype.card (Move R ch FL))), (towerPlan R FL Pl lhat U0 U1).Good n o x) (hnr : ∀ (f : T.Fl), ∃ (ν : T.Nr), T.cN ν = f ∨ T.dN ν = f) {Sm : ℕ} (hSm : ∀ (d : FL.Kind), Fintype.card (FL.law d).Slot ≤ Sm) {ℓf : ℕ} (P : T.Node) (hini : ∀ (a : Fin A), CoveringTower.Tower.Node.ofChamber ⋯ (ch a) = P → ∑ c : Fin A, (↑(n a c) + ↑(n c a)) ≤ ℓf) :
(heldCount R FL Pl n o (Pl.party P) + ∑ ρ : (moves R FL Pl).Role, if (moves R FL Pl).roleParty ρ = Pl.party P then roleUnits R FL Pl lhat n o ρ else 0) ≤ (if ∃ (a : Fin A), CoveringTower.Tower.Node.ofChamber ⋯ (ch a) = P then ℓf + 8 * m * lhat else 0) + channelEndCount R FL Pl (Pl.party P) + (4 + (2 * Fintype.card T.Nr * FL.lengthBound + 1 + Sm) * Fintype.card FL.Kind) * CoveringTower.Tower.Node.lift (fun (j : ℕ) (c : T.X j) => 8 * T.parentUnits (edgeLoads (load lhat (initialCounts n) (outcomeOf R FL Pl o))) j c + 3 * T.childUnits hh (edgeLoads (load lhat (initialCounts n) (outcomeOf R FL Pl o))) j c) (∑ e : T.Ed J, edgeLoads (load lhat (initialCounts n) (outcomeOf R FL Pl o)) J e) P

The units that a node ever holds ([Ant26], Theorem H.2(e), p. 46): for good outcomes, if every place is an end of a near pair, every law has at most Sm slots and a base party has at most ℓf initial units, the party of a node ever holds and its roles read at most ℓf + 8 m lhat units at a base party, one unit for every end of a channel at it, and 4 + (2 |Nr| lengthBound + 1 + Sm) |Kind| times 8 times the units between its chamber and the parent and 3 times those between its children and the chamber (at the root: the loads of the last level).