More LTL reductions for W and M.

* src/ltlvisit/basicreduce.cc: Perform the following reductions:
(a R b) | Gb = a R b
(a M b) | Gb = a R b
(a U b) & Fb = a U b
(a W b) & Fb = a U b
* src/ltltest/reduccmp.test: Test them.
This commit is contained in:
Alexandre Duret-Lutz 2010-04-14 18:46:04 +02:00
parent aa5426b2fb
commit 28094c87da
3 changed files with 52 additions and 0 deletions

View file

@ -130,6 +130,12 @@ for x in ../reduccmp ../reductaustr; do
run 0 $x '(a W b) & (c W b)' '(a & c) W b'
run 0 $x '(a R b) | (c M b)' '(a | c) R b'
run 0 $x '(a M b) | (c M b)' '(a | c) M b'
run 0 $x '(a R b) | Gb' 'a R b'
run 0 $x '(a M b) | Gb' 'a R b'
run 0 $x '(a U b) & Fb' 'a U b'
run 0 $x '(a W b) & Fb' 'a U b'
run 0 $x '(a M b) | Gb | (c M b)' '(a | c) R b'
;;
esac