Do not rewrite F(a & GF(b)) = F(a) & GF(b), this can be harmful.
* src/ltlvisit/basicreduce.cc (basic_reduce_visitor::recurse): Disable this rule unconditionally. * src/ltltest/reduccmp.test: Adjust tests.
This commit is contained in:
parent
629dc4c0c9
commit
3cf2ddbcb0
3 changed files with 34 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# Copyright (C) 2009 Laboratoire de Recherche et Développement
|
||||
# Copyright (C) 2009, 2010 Laboratoire de Recherche et Développement
|
||||
# de l'Epita (LRDE).
|
||||
# Copyright (C) 2004, 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
|
|
@ -86,12 +86,20 @@ for x in ../reduccmp ../reductaustr; do
|
|||
|
||||
run 0 $x 'X(a & GFb)' 'Xa & GFb'
|
||||
run 0 $x 'X(a | GFb)' 'Xa | GFb'
|
||||
run 0 $x 'F(a & GFb)' 'Fa & GFb'
|
||||
# The following is not reduced to F(a) & GFb. because
|
||||
# (1) is does not help the translate the formula into a
|
||||
# smaller automaton, and ...
|
||||
run 0 $x 'F(a & GFb)' 'F(a & GFb)'
|
||||
# (2) ... it would hinder this useful reduction (that helps to
|
||||
# produce a smaller automaton)
|
||||
run 0 $x 'F(f1 & GF(f2)) | F(a & GF(b))' 'F((f1&GFf2)|(a&GFb))'
|
||||
run 0 $x 'G(a | GFb)' 'Ga | GFb'
|
||||
|
||||
run 0 $x 'X(a & GFb & c)' 'X(a & c) & GFb'
|
||||
run 0 $x 'X(a | GFb | c)' 'X(a | c) | GFb'
|
||||
run 0 $x 'F(a & GFb & c)' 'F(a & c) & GFb'
|
||||
# The following is not reduced to F(a & c) & GF(b) for the same
|
||||
# reason as above.
|
||||
run 0 $x 'F(a & GFb & c)' 'F(a & GFb & c)'
|
||||
run 0 $x 'G(a | GFb | c)' 'G(a | c) | GFb'
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue