pan> <span class="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>add_state (q,a) s</code> returns the LTSA obtained by adding state <code>q</code>, with attribute <code>a</code>, to <code>s</code>. Returns <code>s</code> is <code>q</code> is already a state in <code>s</code></p></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Invalid_state">