Documentation

CslibFrontier.Computability.Circuit.Frontier.TensorNetwork.ModeExpansion

Modes and the child networks of a deformed contraction #

This file proves the child identity (D.16) of [OAI26k] (§D.4.5–§D.4.6, pp. 62–63), the step of the proof of the Boolean tensor contraction theorem (Theorem D.1) that turns one deformed contraction into a sum of products of smaller contractions.

Setting. Let N be a Boolean tensor network whose edges run from rows (their sources) to columns (their targets), and let W be a matrix indexed by the edges. The deformed contraction (TensorNetwork.deformedContraction, the manuscript's (D.8)) is

F(W) = ∑ X Y, A(Y) B(X) ∏ e, l_{Y e}((W X) e).

A mode splitting (TensorNetwork.ModeSplitting) sorts the vertices on both sides into groups and the edges into packets, and splits every entry of W as

W e e' = localPart e e' + ∑ Z, coeff e Z * form Z e',

where the local part only joins a row port to a column port of the same packet and group, and each mode Z has a packet, a target group, whose row ports carry its coefficients, and a source group, whose column ports its linear form L_Z(X) = ∑ e', form Z e' X e' reads. In the manuscript the modes are the terms of the geometric expansion (D.12) of the crossing entries of the Cauchy matrix; here they are arbitrary.

Mode expansion. Each affine factor l_{Y e}((W X) e) is affine in the mode values, so the product of the affine factors of the row ports of one packet and group (a block) expands as a polynomial in the modes targeted at that block. Its coefficient at the exponents β (ModeSplitting.blockCoeff) sums, over the ways to pick the local term or one mode in each factor with the multiplicities β, the product of the picked coefficients.

Children (ModeSplitting.child). For a tuple of exponents β and a group g, the child network has the vertices of group g from both sides of N, with their tensors, and one new vertex per packet. Its edges are the ports of group g: an edge from the row of e to the packet of e for each row port e of group g, carrying the row bit Y e, and one from the column of e to the packet of e for each column port of group g, carrying the column bit X e. The tensor at a packet (ModeSplitting.packetTensor) is the coefficient at β for that packet and group times ∏ L_Z(X) ^ β Z over the modes of that packet with source g. So children are tensor networks on {v // group v = g} ⊕ P, bipartite with the old vertices as rows (ModeSplitting.isBipartite_child).

The child identity (ModeSplitting.deformedContraction_eq_sum_prod_contraction_child, the manuscript's (D.16)). If the coefficient of each mode Z is divisible by π ^ w Z with w Z ≥ 1, and π ^ p = 0, then

F(W) = ∑ β ∈ modeBudget w p, ∏ g, Z_{g, β},

where Z_{g, β} is the contraction of the child of group g and modeBudget w p is the set of tuples with ∑ Z, w Z * β Z < p (the manuscript's (D.14)). The manuscript works modulo 2 ^ p_t with π = 2 and w Z = b + 1; here the ring itself has π ^ p = 0, as in A / 2 ^ p_t, and a congruence in a larger ring follows by mapping to its quotient (TensorNetwork.deformedContraction_map). Without truncation, the same expansion gives F(W) = ∑ β, ∏ g, Z_{g, β} over all tuples with entries at most the number of edges, in every commutative ring (ModeSplitting.deformedContraction_eq_sum_prod_contraction_child_of_le).

The proof is the manuscript's: distribute the product of the affine factors over the blocks, expand each block in its modes, substitute the mode values, and sum the bits of each group independently. The construction of the modes from the Cauchy kernel ((D.12)–(D.13)), the count (D.15) of the tuples, and the size bounds on the children are separate steps.

Main definitions #

Main results #

References #

Affine factors of a sum #

The sign of the variable part of an affine factor: affineSign true = 1 and affineSign false = -1, so that l_b (u + w) = l_b u + affineSign b * w.

An affine factor of a sum: l_b (u + w) = l_b u + affineSign b * w.

Mode splittings #

structure Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] (N : TensorNetwork R Bool V E) (W : Matrix E E R) (G : Type u_4) (P : Type u_5) (M : Type u_6) [Fintype M] :
Type (max (max (max (max (max u_1 u_2) u_3) u_4) u_5) u_6)

A mode splitting (§D.4.5 of [OAI26k]) of the deformed contraction of a Boolean tensor network N along a matrix W. The rows of N (side v = true) are the sources of its edges and the columns their targets. The vertices on both sides are sorted into groups and the edges into packets, and every entry of W splits into a local part, which joins a row port to a column port of the same packet and group, and a sum over the modes Z, each contributing coeff e Z * form Z e'. A mode has a packet, a target group, the only row ports of its packet whose forms contain it, and a source group, the only column ports of its packet that its linear form reads.

  • side : V → Bool

    The side of a vertex: true for rows, false for columns.

  • group : V → G

    The group of a vertex.

  • packet : E → P

    The packet of an edge.

  • localPart : Matrix E E R

    The local part of the matrix.

  • modePacket : M → P

    The packet of a mode.

  • source : M → G

    The source group of a mode: its form reads the column ports of this group.

  • target : M → G

    The target group of a mode: it occurs in the forms of the row ports of this group.

  • coeff : E → M → R

    The coefficient of a mode in the form of a row port.

  • form : M → E → R

    The linear form in the column bits that a mode stands for.

  • side_src (e : E) : self.side (N.src e) = true

    Edges start at rows.

  • side_tgt (e : E) : self.side (N.tgt e) = false

    Edges end at columns.

  • apply_eq (e e' : E) : W e e' = self.localPart e e' + ∑ Z : M, self.coeff e Z * self.form Z e'

    The splitting of the matrix.

  • localPart_ne_zero (e e' : E) : self.localPart e e' ≠ 0 → self.packet e' = self.packet e ∧ self.group (N.tgt e') = self.group (N.src e)

    The local part joins ports of the same packet and group.

  • coeff_ne_zero (e : E) (Z : M) : self.coeff e Z ≠ 0 → self.modePacket Z = self.packet e ∧ self.target Z = self.group (N.src e)

    A mode occurs only in the forms of the row ports of its packet and target group.

  • form_ne_zero (Z : M) (e : E) : self.form Z e ≠ 0 → self.modePacket Z = self.packet e ∧ self.source Z = self.group (N.tgt e)

    A mode reads only the column ports of its packet and source group.

The tuples of exponents β of total weight ∑ Z, w Z * β Z below p, the index set of the manuscript's (D.14).

theorem Cslib.Circuits.Frontier.TensorNetwork.mem_modeBudget {M : Type u_4} [Fintype M] [DecidableEq M] {w : M → ℕ} (hw : ∀ (Z : M), 0 < w Z) {p : ℕ} {β : M → ℕ} :
β ∈ modeBudget w p ↔ ∑ Z : M, w Z * β Z < p

For positive weights, the budget holds exactly the tuples of total weight below p.

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.rowBlock {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) (e : E) :
P × G

The block of a row port: its packet and the group of its row.

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.targetBlock {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) (Z : M) :
P × G

The block of a mode: its packet and its target group.

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.sourceBlock {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) (Z : M) :
P × G

The source block of a mode: its packet and its source group.

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.localForm {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] (X : E → Bool) (e : E) :
R

The local form of a row port on the column bits X.

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.modeValue {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] (X : E → Bool) (Z : M) :
R

The value L_Z(X) = ∑ e', form Z e' X e' of a mode on the column bits X.

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.choiceTerm {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] (Y X : E → Bool) (e : E) :
Option M → R

The terms of the expansion of the affine factor of a row port: the local term, and the coefficient of each mode.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.localForm_congr {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] {X X' : E → Bool} {e : E} (h : ∀ (e' : E), S.packet e' = S.packet e → S.group (N.tgt e') = S.group (N.src e) → X e' = X' e') :
S.localForm X e = S.localForm X' e
theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.modeValue_congr {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] {X X' : E → Bool} {Z : M} (h : ∀ (e : E), S.packet e = S.modePacket Z → S.group (N.tgt e) = S.source Z → X e = X' e) :
S.modeValue X Z = S.modeValue X' Z
theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.mulVec_apply {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] (X : E → Bool) (e : E) :
W.mulVec (fun (e' : E) => if X e' = true then 1 else 0) e = S.localForm X e + ∑ Z : M, S.coeff e Z * S.modeValue X Z

The form of a row port splits into its local form and its modes.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.affineFactor_mulVec {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [Fintype M] {N : TensorNetwork R Bool V E} {W : Matrix E E R} (S : N.ModeSplitting W G P M) [Fintype E] (Y X : E → Bool) (e : E) :
affineFactor (Y e) (W.mulVec (fun (e' : E) => if X e' = true then 1 else 0) e) = ∑ o : Option M, S.choiceTerm Y X e o * o.elim 1 (S.modeValue X)

The affine factor of a row port as the sum of its terms, each times the value of its mode.

Coefficients of mode monomials #

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.blockCoeff {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] (k : P × G) (β : M → ℕ) (Y X : E → Bool) :
R

The coefficient of the mode monomial with exponents β in the product of the affine factors of the row ports of the block k. It sums, over the ways φ to pick in each factor either its local term or one of the modes targeted at k, each mode Z of k picked β Z times, the product of the picked terms. It depends only on the exponents of the modes of k.

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.packetTensor {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] (β : M → ℕ) (q : P) (g : G) (Y X : E → Bool) :
R

The tensor at the vertex of packet q in the child of group g: the coefficient of the mode monomial β for the row ports of q in group g, times L_Z(X) ^ β Z for the modes of q with source g.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.blockCoeff_congr_exponents {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] {k : P × G} {β β' : M → ℕ} (h : ∀ (Z : M), S.targetBlock Z = k → β Z = β' Z) (Y X : E → Bool) :
S.blockCoeff k β Y X = S.blockCoeff k β' Y X

A block coefficient depends only on the exponents of the modes of its block.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.packetTensor_congr {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] (β : M → ℕ) (q : P) (g : G) {Y Y' X X' : E → Bool} (hY : ∀ (e : E), S.packet e = q → S.group (N.src e) = g → Y e = Y' e) (hX : ∀ (e : E), S.packet e = q → S.group (N.tgt e) = g → X e = X' e) :
S.packetTensor β q g Y X = S.packetTensor β q g Y' X'

A packet tensor is local: it reads only the row and column ports of its packet and group.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.blockCoeff_eq_zero_of_card_lt {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] {Z : M} {β : M → ℕ} (hZ : Fintype.card E < β Z) (Y X : E → Bool) :
S.blockCoeff (S.targetBlock Z) β Y X = 0

A choice of terms with exponent β Z above the number of edges never exists, so the block coefficient of such a mode's block vanishes.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.pow_dvd_blockCoeff {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] (w : M → ℕ) {π : R} (hdiv : ∀ (e : E) (Z : M), π ^ w Z ∣ S.coeff e Z) (k : P × G) (β : M → ℕ) (Y X : E → Bool) :
π ^ ∑ Z : M with S.targetBlock Z = k, w Z * β Z ∣ S.blockCoeff k β Y X

The coefficient of a mode monomial is divisible by π to its total weight, when the coefficient of each mode Z is divisible by π ^ w Z.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.prod_blockCoeff_eq_zero {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] (w : M → ℕ) {π : R} (hdiv : ∀ (e : E) (Z : M), π ^ w Z ∣ S.coeff e Z) {p : ℕ} (hπ : π ^ p = 0) [Fintype P] [Fintype G] {β : M → ℕ} (hβ : p ≤ ∑ Z : M, w Z * β Z) (Y X : E → Bool) :
∏ k : P × G, S.blockCoeff k β Y X = 0

The product of the block coefficients vanishes when the total weight reaches p, if π ^ p = 0.

The mode expansion #

Child networks #

def Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.child {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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) :
TensorNetwork R Bool ({ v : V // S.group v = g } ⊕ P) ({ e : E // S.group (N.src e) = g } ⊕ { e : E // S.group (N.tgt e) = g })

The child network of the group g for the exponents β (§D.4.6). Its vertices are the vertices of group g, from both sides, and one vertex per packet. For every row port e of group g it has an edge from the row of e to the packet of e, and for every column port of group g an edge from the column of e to the packet of e. A row keeps its tensor, reading the row bits on its edges, and a column keeps its tensor, reading the column bits; the tensor at a packet is packetTensor.

@[simp]
theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.child_src_inl {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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) (e : { e : E // S.group (N.src e) = g }) :
(S.child β g).src (Sum.inl e) = Sum.inl ⟨N.src ↑e, ⋯⟩
@[simp]
theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.child_src_inr {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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) (e : { e : E // S.group (N.tgt e) = g }) :
(S.child β g).src (Sum.inr e) = Sum.inl ⟨N.tgt ↑e, ⋯⟩
@[simp]
theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.child_tgt_inl {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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) (e : { e : E // S.group (N.src e) = g }) :
(S.child β g).tgt (Sum.inl e) = Sum.inr (S.packet ↑e)
@[simp]
theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.child_tgt_inr {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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) (e : { e : E // S.group (N.tgt e) = g }) :
(S.child β g).tgt (Sum.inr e) = Sum.inr (S.packet ↑e)
theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.isBipartite_child {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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) :

Children are bipartite, with the old vertices on one side and the packets on the other; every edge runs from an old vertex to a packet.

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

A child has one edge for each port of its group.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.deformedContraction_eq_sum_prod_contraction_child_of_le {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] [Fintype V] [Fintype P] [Fintype G] :
N.deformedContraction S.side W = ∑ β ∈ Fintype.piFinset fun (x : M) => Finset.range (Fintype.card E + 1), ∏ g : G, (S.child β g).contraction

The exact child expansion. In every commutative ring, the deformed contraction is the sum, over the exponent tuples with entries at most the number of edges, of the products over the groups of the contractions of the children.

theorem Cslib.Circuits.Frontier.TensorNetwork.ModeSplitting.deformedContraction_eq_sum_prod_contraction_child {R : Type u_1} {V : Type u_2} {E : Type u_3} [CommRing R] {G : Type u_4} {P : Type u_5} {M : Type u_6} [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] [Fintype V] [Fintype P] [Fintype G] (w : M → ℕ) (hw : ∀ (Z : M), 0 < w Z) {π : R} {p : ℕ} (hπ : π ^ p = 0) (hdiv : ∀ (e : E) (Z : M), π ^ w Z ∣ S.coeff e Z) :
N.deformedContraction S.side W = ∑ β ∈ modeBudget w p, ∏ g : G, (S.child β g).contraction

The child identity ((D.16) of [OAI26k]). If the coefficient of every mode Z is divisible by π ^ w Z, with positive weights, and π ^ p = 0, then the deformed contraction is the sum, over the exponent tuples of total weight below p, of the products over the groups of the contractions of the children. In the manuscript, π = 2, p = p_t and the ring is A / 2 ^ p_t.