The current rewrite approach to #19 attempted in #148 would be much better handled in terms of codegen. To that end, and to follow the proper usage pattern @Roger-luo has pointed out to me where rewrites/codegen are only attempted when equivalence is guaranteed, another analysis pass should exist to catch squin programs that are structured in a way that cannot be translated to stim.