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

@ -998,6 +998,8 @@ formula $b$, the following rewritings are systematically performed
& \nsere{b} &\equiv \NOT b\\
\sere{r}\Asuffix \1&\equiv \1
& \sere{r}\Esuffix \0&\equiv \0 \\
\sere{\STAR{}} \Asuffix \0 &\equiv \0
& \sere{\STAR{}} \Esuffix \1 &\equiv \1 \\
\end{align*}
\chapter{Grammar}