Proof. The map is defined by first considering the direct sum of the gluing morphisms
from (17). The coinvariants for the actions of clearly lie in the kernel, so we get an induced map from the indicated quotient to , which we again call the gluing map. It is surjective by Lemma 4.4, so it remains to prove injectivity.
Let be two equivalent linear combinations of lasagna fillings in , and let be respective preimages under the gluing map. We want to show that and are equivalent. Without loss of generality, we may assume that and are individual lasagna fillings (rather than linear combinations) and that they differ by a single move as in Lemma 2.1 with the relevant input ball fixed and disjoint from the cocores of the 1-handles in . If and differ by a replacement inside the fixed input ball or an isotopy supported away from the cocores, then and are equal in . If and differ by an isotopy supported in a neighborhood of the cocores, then or differ by an element of the subspace factored out. Since every isotopy of lasagna fillings can be factored in this way, we get that and are equivalent. ∎