more tests for rational operator simplifications.

* src/ltltest/nenoform.test, src/ltltest/equals.test,
src/ltltest/consterm.test: Update tests for rational ops.
* src/ltltest/consterm.cc: Use parse_ratexp().
* src/ltlast/binop.cc: Fix simplification rules for []-> and
<>->.
This commit is contained in:
Alexandre Duret-Lutz 2010-02-08 12:48:15 +01:00
parent 9aebb80e08
commit fc7c2943de
5 changed files with 42 additions and 26 deletions

View file

@ -68,6 +68,5 @@ run 0 ../nenoform '!(a U (!b U ((a & b & c) R d)))' \
run 0 ../nenoform '!(GF a => FG b)' 'GFa & GF!b'
# Rational operators
run 0 ../nenoform '!(X((!Xa)*))' 'X!((X!a)*)'
run 0 ../nenoform 'X((Xa)*)' 'X((Xa)*)'
run 0 ../nenoform '!F!X!(GF(a);!FG(a);x)' 'GX!(GFa;GF!a;x)'
run 0 ../nenoform '!X{a;b}<>->Fx' 'X{a;b}[]->G!x'
run 0 ../nenoform '!F({a*}<>->{b*}<>->c)' 'G({a*}[]->{b*}[]->!c)'