ss="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>map_state f s</code> returns the LTSA obtained by replacing each state <code>q</code> by <code>f q</code> in <code>s</code>. State attributes are left unchanged. Result is undefined if <code>f</code> is not injective.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-map_attr"><a href="#val-map_attr