Trivially reduce 1[*]&&f = f and 1[*]|f = 1[*].
* src/ltlast/bunop.hh (one_star): New static method building 1[*]. * src/ltlast/bunop.cc (bunop::~bunop, bunop::instance_count): Adjust. * src/ltlast/multop.cc: Implement the trivial rewriting. * src/ltlast/multop.hh, doc/tl/tl.tex: Document it. * src/ltltest/equals.test: Test it.
This commit is contained in:
parent
5bea6e4950
commit
e06b3b7974
6 changed files with 39 additions and 6 deletions
|
|
@ -692,7 +692,7 @@ $b_1$, $b_2$ are assumed to be Boolean formul\ae.
|
|||
\end{align*}
|
||||
|
||||
\noindent
|
||||
The following rules are all valid with the two arguments swapped (on input).
|
||||
The following rules are all valid with the two arguments swapped.
|
||||
%(Even for the non-commutative operators \samp{$\CONCAT$} and
|
||||
%\samp{$\FUSION$}.)
|
||||
|
||||
|
|
@ -713,6 +713,11 @@ The following rules are all valid with the two arguments swapped (on input).
|
|||
\1\ANDALT b &\equiv b &
|
||||
\1\OR b &\equiv \1 &
|
||||
\1 \FUSION f & \equiv f\mathrlap{\text{~if~}\varepsilon\nVDash f}\\
|
||||
&&
|
||||
\1\STAR{} \AND f &\equiv f &
|
||||
\1\STAR{} \OR f &\equiv \1\STAR{} &
|
||||
&&
|
||||
&& \\
|
||||
\eword\AND f &\equiv f &
|
||||
\eword\ANDALT f &\equiv
|
||||
\begin{cases}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue