Documentation

Linglib.Theories.Syntax.Minimalist.Merge.Sideward

Sideward Merge: realization + cost-suppression #

@cite{marcolli-chomsky-berwick-2025}

Realizes M-C-B Lemmas 1.4.4 + 1.4.5 (book pp. 54-55) for the three Sideward-flavored cases of §1.4.1, plus the §1.5 cost-suppression theorems showing they vanish in the ε → 0 limit (Prop 1.5.1, p. 60).

Verbatim from MCB §1.4.5 (p. 54) #

Case 2(b) corresponds to a case of Sideward Merge. Here, one obtains in the new workspace F' a component of the form M(T_i, β) and a component of the form T_j/β. Similarly, case 3(b) also represents a case of Sideward Merge, where in the resulting workspace F', one has new components: M(α, β), as well as T_i/α and T_j/β.

Case 3(a) is the "countercyclic-like" Sideward configuration where both α and β are accessible terms of the same component T_i — the cut identifying them is a 2-edge cut producing cutForest = {α_t, β}.

Cut identification #

Realization theorems #

For each case 2b, 3a, 3b:

Cost-suppression theorems (§4.1) #

Per MCB §1.5 (Minimal Search via ε-weighted derivation cost — rules 1-5 of §1.5.2 with eq. (1.5.1)-(1.5.2), pp. 59-60), Sideward configurations are subdominant and suppressed in the ε → 0 limit because the cost of extracting an accessible term at depth d carries weight ε^d, which goes to 0 strictly faster than the EM cost (= ε^0 = 1) for d > 0.

mergeOp_eps_zero_for_sideward_2b/3a/3b implement the negative direction (Sideward → 0); the positive direction (IM survives at weight 1) is queued as Phase 7g — requires extending the ε-weighted substrate with rule 2's negative-depth weight on the right channel (ε^{-d_v} on T/T_v).

Status #

Realization theorems sorry-free as of 0.230.808 (Phase 7h closed mergeOp_sideward_3b_general_pair). Cost-suppression theorems sorry-free as of 0.230.804.

def Minimalist.Merge.IsSingleEdgeAccessibleCut {α : Type u_1} [DecidableEq α] (T_j β : ConnesKreimer.TraceTree α Unit) (c_β : ConnesKreimer.CutShape T_j) :

A CutShape c_β : CutShape T_j identifies an accessible term β when its forest is the singleton {β} — i.e., the cut extracts exactly β from T_j as a subforest. This is the substrate predicate corresponding to "β ∈ Acc(T_j)" in MCB §1.4.1, witnessed at the algebraic level by the existence of an admissible cut producing β.

Equations
Instances For
    @[implicit_reducible]
    instance Minimalist.Merge.instDecidableIsSingleEdgeAccessibleCut {α : Type u_1} [DecidableEq α] (T_j β : ConnesKreimer.TraceTree α Unit) (c_β : ConnesKreimer.CutShape T_j) :
    Decidable (IsSingleEdgeAccessibleCut T_j β c_β)
    Equations
    def Minimalist.Merge.matchingSingleEdgeCuts {α : Type u_1} [DecidableEq α] (T β : ConnesKreimer.TraceTree α Unit) :

    The Finset of all admissible cuts on T whose cutForest equals the singleton {β}. Used to express MCB Lemma 1.4.4 in its full multi-witness sum form (eq. (1.3.3)): mergeOp produces a sum over all matching cuts, not just a unique witness.

    Equations
    Instances For
      def Minimalist.Merge.matchingTwoEdgeCuts {α : Type u_1} [DecidableEq α] (T α_t β : ConnesKreimer.TraceTree α Unit) :

      The Finset of all 2-edge admissible cuts on T whose cutForest equals {α_t, β}. Used for MCB Lemma 1.4.5 (Sideward 3(a)) in its full multi-witness sum form.

      Equations
      Instances For
        theorem Minimalist.Merge.mergeOp_sideward_2b_general_pair {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j β : ConnesKreimer.TraceTree α Unit) (h_T_i_no_β : ∀ (c : ConnesKreimer.CutShape T_i), βc.cutForest) (h_T_j_no_T_i : ∀ (c : ConnesKreimer.CutShape T_j), T_ic.cutForest) (h_distinct : T_i T_j) (h_β_ne_Tj : β T_j) :

        Sideward Merge case 2(b), F̂ = ∅, multi-witness sum form (M-C-B Lemma 1.4.4, p. 54, full eq. (1.3.3)).

        mergeOp T_i β on workspace {T_i, T_j} produces a sum over all admissible cuts c on T_j with cutForest c = {β}, each contributing forestToHc {.node T_i β} * deletionRightChannel (remainderDeletion c).

        This is MCB's Lemma 1.4.4 in its full algebraic form (sum over matchings); the unique-witness mergeOp_sideward_2b_pair below follows as a corollary when matchingSingleEdgeCuts T_j β = {c_β}.

        theorem Minimalist.Merge.mergeOp_sideward_2b_pair {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j β T_j_q : ConnesKreimer.TraceTree α Unit) (c_β : ConnesKreimer.CutShape T_j) (h_cut : IsSingleEdgeAccessibleCut T_j β c_β) (h_remainder : c_β.remainderDeletion = some T_j_q) (h_unique : ∀ (c : ConnesKreimer.CutShape T_j), c c_βc.cutForest {β}) (h_T_i_no_β : ∀ (c : ConnesKreimer.CutShape T_i), βc.cutForest) (h_T_j_no_T_i : ∀ (c : ConnesKreimer.CutShape T_j), T_ic.cutForest) (h_distinct : T_i T_j) (h_β_ne_Tj : β T_j) :
        (mergeOp T_i β) (ConnesKreimer.forestToHc {T_i, T_j}) = ConnesKreimer.forestToHc {T_i.node β, T_j_q}

        Sideward Merge case 2(b) realization, F̂ = ∅ subcase, didactic unique-witness form. Quick corollary of mergeOp_sideward_2b_general_pair when β has a UNIQUE matching cut c_β on T_j. The unique-witness framing is convenient for analyst-supplied derivations but is not in M-C-B Lemma 1.4.4 (which sums over all matching cuts per eq. (1.3.3)). For MCB-faithful claims, prefer the _general_pair form above.

        theorem Minimalist.Merge.mergeOp_sideward_2b {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j β T_j_q : ConnesKreimer.TraceTree α Unit) (c_β : ConnesKreimer.CutShape T_j) (Fhat : ConnesKreimer.TraceForest α Unit) (h_cut : IsSingleEdgeAccessibleCut T_j β c_β) (h_remainder : c_β.remainderDeletion = some T_j_q) (h_unique : ∀ (c : ConnesKreimer.CutShape T_j), c c_βc.cutForest {β}) (h_T_i_no_β : ∀ (c : ConnesKreimer.CutShape T_i), βc.cutForest) (h_T_j_no_T_i : ∀ (c : ConnesKreimer.CutShape T_j), T_ic.cutForest) (h_distinct : T_i T_j) (h_β_ne_Tj : β T_j) (h_F_disjoint : ConnesKreimer.CutAvoidingForest {T_i, β} Fhat) :
        (mergeOp T_i β) (ConnesKreimer.forestToHc ({T_i, T_j} + Fhat)) = ConnesKreimer.forestToHc ({T_i.node β, T_j_q} + Fhat)

        Sideward Merge case 2(b) realization, full residual workspace (M-C-B Lemma 1.4.4, p. 54). Generalization of mergeOp_sideward_2b_pair to arbitrary residual workspace Fhat via the factor-out pattern. The existing mergeOp_factor_out_singleton is parametric in (S, S') and applies directly to (S, S') = (T_i, β) with CutAvoidingForest ({T_i, β}) Fhat providing the per-spectator disjointness.

        theorem Minimalist.Merge.mergeOp_sideward_3b_general_pair {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j α_t β : ConnesKreimer.TraceTree α Unit) (h_T_i_no_β : ∀ (c : ConnesKreimer.CutShape T_i), βc.cutForest) (h_T_j_no_α : ∀ (c : ConnesKreimer.CutShape T_j), α_tc.cutForest) (h_α_ne_Ti : α_t T_i) (h_α_ne_Tj : α_t T_j) (h_β_ne_Ti : β T_i) (h_β_ne_Tj : β T_j) (h_α_ne_β : α_t β) (h_distinct : T_i T_j) :

        Sideward Merge case 3(b), F̂ = ∅, multi-witness sum form (M-C-B Lemma 1.4.4, p. 54, full eq. (1.3.3)).

        mergeOp α_t β on {T_i, T_j} produces the double sum over all matching α-cuts on T_i and matching β-cuts on T_j. Output:

        forestToHc {.node α β} * (∑ α-cuts) * (∑ β-cuts)
        

        where the two sums are over matchingSingleEdgeCuts T_i α_t and matchingSingleEdgeCuts T_j β respectively. The unique-witness mergeOp_sideward_3b_pair follows when both filter sets are singletons.

        theorem Minimalist.Merge.mergeOp_sideward_3b_pair {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j α_t β T_i_q T_j_q : ConnesKreimer.TraceTree α Unit) (c_α : ConnesKreimer.CutShape T_i) (c_β : ConnesKreimer.CutShape T_j) (h_cut_α : IsSingleEdgeAccessibleCut T_i α_t c_α) (h_cut_β : IsSingleEdgeAccessibleCut T_j β c_β) (h_remainder_α : c_α.remainderDeletion = some T_i_q) (h_remainder_β : c_β.remainderDeletion = some T_j_q) (h_unique_α : ∀ (c : ConnesKreimer.CutShape T_i), c c_αc.cutForest {α_t}) (h_unique_β : ∀ (c : ConnesKreimer.CutShape T_j), c c_βc.cutForest {β}) (h_T_i_no_β : ∀ (c : ConnesKreimer.CutShape T_i), βc.cutForest) (h_T_j_no_α : ∀ (c : ConnesKreimer.CutShape T_j), α_tc.cutForest) (h_α_ne_Ti : α_t T_i) (h_α_ne_Tj : α_t T_j) (h_β_ne_Ti : β T_i) (h_β_ne_Tj : β T_j) (h_α_ne_β : α_t β) (h_distinct : T_i T_j) :

        Sideward Merge case 3(b) realization, F̂ = ∅ subcase, didactic unique-witness form. Quick corollary of mergeOp_sideward_3b_general_pair when both α (in T_i) and β (in T_j) have UNIQUE matching cuts c_α, c_β. The unique-witness framing is convenient for analyst- supplied derivations but is not in M-C-B Lemma 1.4.4 (which sums over all matching cuts per eq. (1.3.3)). For MCB-faithful claims, prefer the _general_pair form above.

        theorem Minimalist.Merge.mergeOp_sideward_3b {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j α_t β T_i_q T_j_q : ConnesKreimer.TraceTree α Unit) (c_α : ConnesKreimer.CutShape T_i) (c_β : ConnesKreimer.CutShape T_j) (Fhat : ConnesKreimer.TraceForest α Unit) (h_cut_α : IsSingleEdgeAccessibleCut T_i α_t c_α) (h_cut_β : IsSingleEdgeAccessibleCut T_j β c_β) (h_remainder_α : c_α.remainderDeletion = some T_i_q) (h_remainder_β : c_β.remainderDeletion = some T_j_q) (h_unique_α : ∀ (c : ConnesKreimer.CutShape T_i), c c_αc.cutForest {α_t}) (h_unique_β : ∀ (c : ConnesKreimer.CutShape T_j), c c_βc.cutForest {β}) (h_T_i_no_β : ∀ (c : ConnesKreimer.CutShape T_i), βc.cutForest) (h_T_j_no_α : ∀ (c : ConnesKreimer.CutShape T_j), α_tc.cutForest) (h_α_ne_Ti : α_t T_i) (h_α_ne_Tj : α_t T_j) (h_β_ne_Ti : β T_i) (h_β_ne_Tj : β T_j) (h_α_ne_β : α_t β) (h_distinct : T_i T_j) (h_F_disjoint : ConnesKreimer.CutAvoidingForest {α_t, β} Fhat) :
        (mergeOp α_t β) (ConnesKreimer.forestToHc ({T_i, T_j} + Fhat)) = ConnesKreimer.forestToHc ({α_t.node β, T_i_q, T_j_q} + Fhat)

        Sideward Merge case 3(b) realization, full residual workspace (M-C-B Lemma 1.4.4, p. 54). Generalization of mergeOp_sideward_3b_pair via the factor-out pattern, parameterised on (S, S') = (α_t, β).

        def Minimalist.Merge.IsTwoEdgeAccessibleCut {α : Type u_1} [DecidableEq α] (T_i α_t β : ConnesKreimer.TraceTree α Unit) (c : ConnesKreimer.CutShape T_i) :

        Sideward Merge case 3(a) realization ("Countercyclic-like Merge", M-C-B Lemma 1.4.5, p. 55). Both α and β are disjoint accessible terms of the same component T_i. The operator δ_{α, β} selects T_v ⊔ T_w ⊗ (T_i/(T_v ⊔ T_w) ⊔ F̂), producing {M(α, β), T_i/(α ⊔ β)} + Fhat.

        Proof strategy: the surviving cross-term comes from a single 2-edge admissible cut on T_i (extracting both α ≃ T_v and β ≃ T_w as separate subforest elements), yielding cutForest = {α, β} as a 2-element multiset. This requires the substrate extension IsTwoEdgeAccessibleCut T_i α β c (hypothesis below): a cut whose cutForest contains exactly α and β as distinct elements. The mergePost cross-term selection criterion then becomes cutForest c = {α, β}.

        Equations
        Instances For
          @[implicit_reducible]
          instance Minimalist.Merge.instDecidableIsTwoEdgeAccessibleCut {α : Type u_1} [DecidableEq α] (T_i α_t β : ConnesKreimer.TraceTree α Unit) (c : ConnesKreimer.CutShape T_i) :
          Decidable (IsTwoEdgeAccessibleCut T_i α_t β c)
          Equations
          theorem Minimalist.Merge.mergeOp_sideward_3a_general_pair {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i α_t β : ConnesKreimer.TraceTree α Unit) (h_α_ne_Ti : α_t T_i) (h_β_ne_Ti : β T_i) :

          Sideward Merge case 3(a), F̂ = ∅, multi-witness sum form (M-C-B Lemma 1.4.5, p. 55, full eq. (1.3.3)).

          mergeOp α_t β on workspace {T_i} produces a sum over all 2-edge admissible cuts c on T_i with cutForest c = {α_t, β}, each contributing forestToHc {.node α_t β} * deletionRightChannel (remainderDeletion c). The unique-witness mergeOp_sideward_3a_pair follows as a corollary.

          theorem Minimalist.Merge.mergeOp_sideward_3a_pair {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i α_t β T_i_q : ConnesKreimer.TraceTree α Unit) (c : ConnesKreimer.CutShape T_i) (h_cut : IsTwoEdgeAccessibleCut T_i α_t β c) (h_remainder : c.remainderDeletion = some T_i_q) (h_unique : ∀ (c' : ConnesKreimer.CutShape T_i), c' cc'.cutForest {α_t, β}) (h_α_ne_Ti : α_t T_i) (h_β_ne_Ti : β T_i) (_h_α_ne_β : α_t β) :

          Sideward Merge case 3(a) realization, F̂ = ∅ subcase, didactic unique-witness form. Quick corollary of mergeOp_sideward_3a_general_pair when the 2-edge cut producing {α_t, β} is uniquely witnessed by c. The unique-witness framing is convenient for analyst-supplied derivations but is not in M-C-B Lemma 1.4.5 (which sums over all matching 2-edge cuts per eq. (1.3.3)). For MCB-faithful claims, prefer the _general_pair form above.

          theorem Minimalist.Merge.mergeOp_sideward_3a {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i α_t β T_i_q : ConnesKreimer.TraceTree α Unit) (c : ConnesKreimer.CutShape T_i) (Fhat : ConnesKreimer.TraceForest α Unit) (h_cut : IsTwoEdgeAccessibleCut T_i α_t β c) (h_remainder : c.remainderDeletion = some T_i_q) (h_unique : ∀ (c' : ConnesKreimer.CutShape T_i), c' cc'.cutForest {α_t, β}) (h_α_ne_Ti : α_t T_i) (h_β_ne_Ti : β T_i) (h_α_ne_β : α_t β) (h_F_disjoint : ConnesKreimer.CutAvoidingForest {α_t, β} Fhat) :
          (mergeOp α_t β) (ConnesKreimer.forestToHc ({T_i} + Fhat)) = ConnesKreimer.forestToHc ({α_t.node β, T_i_q} + Fhat)

          Sideward Merge case 3(a) realization, full residual workspace (M-C-B Lemma 1.4.5, p. 55). Generalization of mergeOp_sideward_3a_pair via the factor-out pattern, parameterised on (S, S') = (α_t, β).

          theorem Minimalist.Merge.mergeOp_eps_zero_for_sideward_2b {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j β : ConnesKreimer.TraceTree α Unit) (h_β_ne_Ti : β T_i) (h_β_ne_Tj : β T_j) :
          (mergeOp_eps 0 T_i β) (ConnesKreimer.forestToHc {T_i, T_j}) = 0

          Cost-suppression for Sideward 2(b) (MCB §1.5.3 + §1.4.5). At ε = 0, applying mergeOp_eps 0 T_i β to the workspace {T_i, T_j} (where β is an accessible term of T_j, not a component) yields 0 — the Sideward 2(b) realization of mergeOp (which consumes the cut producing β) is entirely absent at ε = 0 because comulTreeDel_eps 0 T_j reduces to the primitive part (T_j ⊗ 1) + (1 ⊗ T_j) (no cut subforests).

          No primitive cross-term of (prim T_i) × (prim T_j) has LEFT-channel forest equal to {T_i, β} (since β ∉ {T_i, T_j} when β ≠ T_i and β ≠ T_j); mergePost annihilates all four.

          theorem Minimalist.Merge.mergeOp_eps_zero_for_sideward_3a {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i α_t β : ConnesKreimer.TraceTree α Unit) (h_α_ne_Ti : α_t T_i) (h_β_ne_Ti : β T_i) :
          (mergeOp_eps 0 α_t β) (ConnesKreimer.forestToHc {T_i}) = 0

          Cost-suppression for Sideward 3(a) (MCB §1.5.3 + §1.4.6). At ε = 0, applying mergeOp_eps 0 α_t β to the single-component workspace {T_i} (where α_t, β are accessible terms of T_i) yields 0. Same reasoning: at ε = 0 only the primitive part of comulTreeDel_eps 0 T_i = (T_i ⊗ 1) + (1 ⊗ T_i) survives; neither primitive contributes LEFT = {α_t, β}.

          theorem Minimalist.Merge.mergeOp_eps_zero_for_sideward_3b {R : Type u_1} [CommSemiring R] {α : Type u_2} [DecidableEq α] (T_i T_j α_t β : ConnesKreimer.TraceTree α Unit) (h_α_ne_Ti : α_t T_i) (h_α_ne_Tj : α_t T_j) (h_β_ne_Ti : β T_i) (h_β_ne_Tj : β T_j) :
          (mergeOp_eps 0 α_t β) (ConnesKreimer.forestToHc {T_i, T_j}) = 0

          Cost-suppression for Sideward 3(b) (MCB §1.5.3 + §1.4.5). At ε = 0, applying mergeOp_eps 0 α_t β to a 2-component workspace {T_i, T_j} where α_t ∈ Acc(T_i), β ∈ Acc(T_j) yields 0. Same reasoning as 2(b): only primitive parts survive at ε = 0, and no primitive cross-term has LEFT = {α_t, β}.