Simplify {b && {r1:...:rn}} as {b && r1 && ... && rn}.
* src/ltlvisit/simplify.cc (simplify_visitor): Do it. * src/ltltest/reduccmp.test: Add a test. * doc/tl/tl.tex: Document it. * src/ltlast/multop.cc: Fix the computation of is.accepting_eword for Fusion. The Fusion operator never accepts [*0].
This commit is contained in:
parent
77084747b9
commit
d0cfd44ba6
4 changed files with 28 additions and 2 deletions
|
|
@ -43,8 +43,9 @@ namespace spot
|
|||
|
||||
switch (op)
|
||||
{
|
||||
case Concat:
|
||||
case Fusion:
|
||||
is.accepting_eword = false;
|
||||
case Concat:
|
||||
case AndNLM:
|
||||
// Note: AndNLM(p1,p2) is a Boolean formula, but it is
|
||||
// actually rewritten as And(p1,p2) by trivial identities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue