Allow boolean atoms to be negated in rational expressions.

* src/ltlparse/ltlparse.yy (rationalexp): Recognize "OP_NOT
booleanatom".
* src/ltlvisit/consterm.cc, src/tgbaalgos/ltl2tgba_fm.cc: Adjust.
* src/tgbatest/ltl2tgba.test: Add one test.
This commit is contained in:
Alexandre Duret-Lutz 2010-03-10 14:38:17 +01:00
parent bbb645e1fc
commit 4aa82ec762
4 changed files with 18 additions and 6 deletions

View file

@ -78,7 +78,7 @@ check_psl 'G{(a;b)*}'
check_psl '{a*}[]->{b*}'
check_psl '{a*&b}'
check_psl '{a*&b*}'
check_psl '{((c;b*) & d);e}'
check_psl '{((!c;b*) & d);e}'
check_psl '{(a* & (c;b*) & d);e}'
# Example from "Beyond Hardware Verification" by Glazberg, Moulin, Orni,
# Ruah, Zarpas (2007).