Rewriting techniques for relative coherence (Logical Methods in Computer Science, 2025)