Associativity of composition #
Both associations of a triple composition normalize to iterated
gluing of the two interface pair lists over the common ambient
disjoint union (F ⊔ G) ⊔ H, so composition of fragments is
associative up to fragment equivalence (composeAssoc).
This file builds the associativity infrastructure in stages: the associativity equivalence of disjoint unions, the embedding of relabellings into disjoint unions, the normalization of each association, and the final meet in the middle via two-stage folding and reordering.
Disjoint union is associative, up to the sum-associativity relabelling.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Relabelling the left factor of a disjoint union equals relabelling the whole union by a sum congruence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Relabelling the right factor of a disjoint union equals relabelling the whole union by a sum congruence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flip a relabelled equivalence to the other side.
Equations
- E.relabelFlip = ((⋯ ▸ RS.Fragment.Equiv.relabelTrans W₂ e e.symm).trans (RS.Fragment.Equiv.relabelRefl W₂)).symm.trans (E.symm.relabelCongr e.symm)
Instances For
Relabelling by equal equivalences.
Equations
- RS.Fragment.Equiv.relabelEq W h = h ▸ RS.Fragment.Equiv.refl (W.relabel e)
Instances For
The interface pair lists in the common ambient #
The u-interface pairs in the common ambient
(F ⊔ G) ⊔ H: the high labels of G against the low labels of
H, top pair first.
Equations
Instances For
The u-interface pairs are well-formed.
The t-interface pairs in the common ambient, as a direct
index map.
Equations
Instances For
The direct t-interface pairs are the embedded interface
pairs.
Value of the left-embedding fold equivalence's inverse on an embedded survivor.
Value of the left-embedding fold equivalence's inverse on a right label.
Value of the right-embedding fold equivalence's inverse on an embedded survivor.
Value of the right-embedding fold equivalence's inverse on a left label.
The mapped-back outer interface pairs of the left association
are the lifted u-interface pairs.
The combined pair list is well-formed.
Flip a relabelled equivalence to the other side, relabelled form on the left.
Equations
- E.relabelFlip' = E.symm.relabelFlip
Instances For
Iterated gluing does not depend on the well-formedness proof.
Equations
- W.glueListProofIrrel ps h1 h2 = RS.Fragment.Equiv.refl (W.glueList ps h1)
Instances For
Pull gluing pairs through a relabelling and compose a normalized inner fold.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Transport the two closure casts across a normalized right-hand fragment.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The left association, normalized #
The composed label identification of the left association: flatten the two-stage survivors, pass through the embedded and relabelled fold equivalences, and read off the outer boundary identification.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The swapped combined pair list is well-formed.
The associativity-transported right-embedded u-interface
pairs are the ambient u-interface pairs.
The associativity bridge: survivors of the ambient
u-interface pairs are survivors of the right-embedded pairs in
the right-associated ambient.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The mapped-back outer interface pairs of the right
association are the lifted t-interface pairs.
The left association, normalized: composing F with G
and then with H is iterated gluing of the embedded
t-interface pairs followed by the u-interface pairs over the
common ambient (F ⊔ G) ⊔ H.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The right association, normalized #
The outer interface pairs of the right association, pulled back to the boundary of the inner composition.
Equations
- RS.rhsQs1 s t u v = RS.Fragment.mapPairs ((Equiv.refl (Fin (s + t))).sumCongr ((RS.interfaceSurvEquiv t u v).trans finSumFinEquiv)).symm (RS.interfacePairs s t v)
Instances For
The outer interface pairs, pulled into the right-embedded fold survivors.
Equations
- RS.rhsQs2 s t u v = RS.Fragment.mapPairs (RS.Fragment.inrFoldEquiv (RS.interfacePairs t u v)).symm (RS.rhsQs1 s t u v)
Instances For
The outer interface pairs, pulled across the associativity bridge.
Equations
- RS.rhsQs3 s t u v = RS.Fragment.mapPairs (RS.rhsBridgeEquiv s t u v).symm (RS.rhsQs2 s t u v)
Instances For
The composed label identification of the right association.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The right association, normalized: composing F with the
composition of G and H is the same iterated gluing over the
common ambient, through the associativity bridge.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The meet #
The two label identifications agree: every survivor of the
combined gluing is a low F-label or a high H-label, and both
composites read off the same boundary position.
Associativity of composition: the two associations of a triple composition are equivalent fragments.
Equations
- One or more equations did not get rendered due to their size.