The trace monoids in the queue monoid and in the direct product of two free monoids
We prove that a trace monoid embeds into the queue monoid if and only if it embeds into the direct product of two free monoids. We also give a decidable characterization of these trace monoids.