tl: new PSL trivial simplifications

Always rewrite {[*]}[]->0 as 0, and {[*]}<>->1 = 1.  Fixes #572.

* spot/tl/formula.cc: Implement them.
* doc/tl/tl.tex, NEWS: Document them.
* tests/core/equals.test: Test those.
This commit is contained in:
Alexandre Duret-Lutz 2024-05-13 22:15:15 +02:00
parent a826a4ae6f
commit ed91f59bbd
4 changed files with 13 additions and 2 deletions

View file

@ -55,6 +55,8 @@ GGGGGx, Gx
!!!!!x, !x
{[*0];x}<>->1, {x}<>->1
{x;[*0]}<>->1, {x}<>-> 1
{[*]}[]->0, 0
{[*]}<>->1, 1
{[*0];x;[*0];[*0]}<>->1, {x}<>->1
{[*0];x;[*0];x;[*0]}<>->1, {x;x}<>->1
{x;x;x;[*0];x;x}<>->1, {x;x;x;x;x}<>->1