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:
- an old vertex keeps its degree (
ModeSplitting.card_child_src_inl); - a packet vertex has one port for each port of its group in its packet
(
ModeSplitting.card_child_tgt_inr), so at most2 Lports when no two edges share a slot of a packet ofLslots (ModeSplitting.card_child_tgt_inr_le): the manuscript's "a new packet vertex has at most2L ⩽ Δports"; - the child has one edge per port of its group (
ModeSplitting.card_edges_child), so with at mostc M / rports per group on each side (Lemma D.3 (3)) it has at most2 c M / redges (ModeSplitting.mul_card_edges_child_le): the manuscript's "at most6M/r = 3M/32 < M/8edges" (§D.4.6, p. 63).
Main results #
Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.card_child_src_inl: old degrees are unchanged.Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.card_child_tgt_inr_le: packet degrees are at most2 L.Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.mul_card_edges_child_le: the edge bound.
References #
- OpenAI, The Exponential Time Hypothesis is False, Lemma D.3 (pp. 58–59) and §D.4.6 (p. 63).
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 }) :
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 }) :
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) :
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) :
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) :
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) :
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.