simplify: rewrite GF(a & GFb) as G(Fa & Fb)

Fixes #185.

* spot/tl/simplify.cc: Implement the new rule.
* NEWS, doc/tl/tl.tex: Document it.
* tests/core/reduccmp.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2016-09-22 17:37:55 +02:00
parent 01d84c4d52
commit 6528d75339
4 changed files with 30 additions and 0 deletions

View file

@ -403,6 +403,8 @@ G(GFc|GFd|FGe|FGf), F(GF(c|d)|Ge|Gf)
{e[*0..5]}<>->f, {e[*1..5]}<>->f
{e[*0..5]}[]->f, {e[*1..5]}[]->f
{(e+[*0])[*0..5]}[]->f, {e[*1..5]}[]->f
# issue 185
GF(a && GF(b) && c), G(F(a & c) & Fb)
# not reduced
{a;(b[*2..4];c*;([*0]+{d;e}))*}!, {a;(b[*2..4];c*;([*0]+{d;e}))*}!
{c[*];e[*]}[]-> a, {c[*];e[*]}[]-> a