R/rewriting.R
pushout_complement.Rd
Given l: I → L and m: L → G, find K and morphisms ik: I → K, kg: K → G such that the square (l, m, ik, kg) is a pushout.
pushout_complement(l, m)
ACSetTransformation I → L
ACSetTransformation L → G (match morphism)
List with K (ACSet), ik (I → K), kg (K → G), or signals an error if gluing conditions fail.
K
ik
kg
Requires the gluing conditions:
No dangling edges: deletion of a vertex doesn't orphan edges
Identification: distinct deleted items aren't identified by match