simplify: reduce {r;1} to {r} or {1}

Fixes #3.

* spot/tl/simplify.cc: Implement this new rule.
* doc/tl/tl.tex, NEWS: Document it.
* tests/core/reduccmp.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2018-03-15 07:59:25 +01:00
parent 2d18ac22fb
commit cfcc18e680
4 changed files with 29 additions and 1 deletions

4
NEWS
View file

@ -18,6 +18,10 @@ New in spot 2.5.1.dev (not yet released)
update an external structure that references states of the twa
that we want to purge.
- the PSL simplification routines learned that {SERE;1} can be
simplified to {1} or {SERE} depending on whether SERE accepts
the empty word or not.
Bugs fixed:
- acc_cond::is_generalized_rabin() and