Documentation

CslibFrontier.Computability.Circuit.Frontier.TensorNetwork.ChildSize

Sizes of the child networks #

The child networks of a mode splitting (TensorNetwork.ModeSplitting.child, §D.4.6 of [OAI26k], p. 63) keep the invariants of the recursion:

Main results #

References #

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.card_child_src_inl {R : Type u_1} {V : Type u_2} {E : Type u_3} {G : Type u_4} {P : Type u_5} {M : Type u_6} [CommRing R] [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] [DecidableEq E] [DecidableEq P] [DecidableEq G] [DecidableEq M] [DecidableEq V] (β : M → ℕ) (g : G) (v : { v : V // S.group v = g }) :
{x : { e : E // S.group (N.src e) = g } ⊕ { e : E // S.group (N.tgt e) = g } | (S.child β g).src x = Sum.inl v}.card = {e : E | N.src e = ↑v}.card + {e : E | N.tgt e = ↑v}.card

Old degrees are unchanged. In a child, an old vertex has one port for each edge of N at it.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.card_child_tgt_inl {R : Type u_1} {V : Type u_2} {E : Type u_3} {G : Type u_4} {P : Type u_5} {M : Type u_6} [CommRing R] [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] [DecidableEq E] [DecidableEq P] [DecidableEq G] [DecidableEq M] [DecidableEq V] (β : M → ℕ) (g : G) (v : { v : V // S.group v = g }) :
{x : { e : E // S.group (N.src e) = g } ⊕ { e : E // S.group (N.tgt e) = g } | (S.child β g).tgt x = Sum.inl v}.card = 0

Every edge of a child ends at a packet vertex.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.card_child_src_inr {R : Type u_1} {V : Type u_2} {E : Type u_3} {G : Type u_4} {P : Type u_5} {M : Type u_6} [CommRing R] [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] [DecidableEq E] [DecidableEq P] [DecidableEq G] [DecidableEq M] [DecidableEq V] (β : M → ℕ) (g : G) (q : P) :
{x : { e : E // S.group (N.src e) = g } ⊕ { e : E // S.group (N.tgt e) = g } | (S.child β g).src x = Sum.inr q}.card = 0

Every edge of a child starts at an old vertex.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.card_child_tgt_inr {R : Type u_1} {V : Type u_2} {E : Type u_3} {G : Type u_4} {P : Type u_5} {M : Type u_6} [CommRing R] [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] [DecidableEq E] [DecidableEq P] [DecidableEq G] [DecidableEq M] [DecidableEq V] (β : M → ℕ) (g : G) (q : P) :
{x : { e : E // S.group (N.src e) = g } ⊕ { e : E // S.group (N.tgt e) = g } | (S.child β g).tgt x = Sum.inr q}.card = {e : E | S.group (N.src e) = g ∧ S.packet e = q}.card + {e : E | S.group (N.tgt e) = g ∧ S.packet e = q}.card

A packet vertex of a child has one port for each port of its group in its packet.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.card_child_tgt_inr_le {R : Type u_1} {V : Type u_2} {E : Type u_3} {G : Type u_4} {P : Type u_5} {M : Type u_6} [CommRing R] [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] [DecidableEq E] [DecidableEq P] [DecidableEq G] [DecidableEq M] [DecidableEq V] {a : ℕ} {slot : E → ℕ} (hslot : ∀ (e : E), slot e < 2 ^ a) (hinj : ∀ (e e' : E), S.packet e = S.packet e' → slot e = slot e' → e = e') (β : M → ℕ) (g : G) (q : P) :
{x : { e : E // S.group (N.src e) = g } ⊕ { e : E // S.group (N.tgt e) = g } | (S.child β g).tgt x = Sum.inr q}.card ≤ 2 * 2 ^ a

Packet degrees are at most 2 L in a child, for packets of L = 2 ^ a slots with no two edges in the same slot of a packet.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.mul_card_edges_child_le {R : Type u_1} {V : Type u_2} {E : Type u_3} {G : Type u_4} {P : Type u_5} {M : Type u_6} [CommRing R] [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] [DecidableEq G] {r c : ℕ} (g : G) (hrow : r * {e : E | S.group (N.src e) = g}.card ≤ c * Fintype.card E) (hcol : r * {e : E | S.group (N.tgt e) = g}.card ≤ c * Fintype.card E) :
r * Fintype.card ({ e : E // S.group (N.src e) = g } ⊕ { e : E // S.group (N.tgt e) = g }) ≤ 2 * c * Fintype.card E

The edge bound. If, in the group g, the rows have at most c M / r ports and so do the columns, then the child of g has at most 2 c M / r edges. With Lemma D.3 (3), c = 3 and r = 64, this is the manuscript's 6M / r < M / 8.