Combine Boolean formulae in Fusion arguments.
* src/ltlast/multop.cc (multop::instance): Implement
the rewriting. "a🅱️c[*]:d:e" becomes "{{a&&b}&c[*]}:{d&&e}".
* src/ltlast/multop.hh: Document it.
* src/ltltest/equals.test, src/ltltest/kind.test: Add test cases.
This commit is contained in:
parent
a2da5184b5
commit
2669df1c96
4 changed files with 46 additions and 4 deletions
|
|
@ -53,6 +53,8 @@ check '{a;b}|->!Xb' '&fP'
|
|||
check '{a;b}|->X!b' '&!fP'
|
||||
check '{a;b}|->!Gb' '&xP'
|
||||
check '{a;b}|->F!b' '&!xP'
|
||||
check '{a:b:c:d}!' 'B&!xfLEPS' # Equivalent to a&b&c&d
|
||||
check 'a&b&c&d' 'B&!xfLEPS'
|
||||
|
||||
run 0 ../consterm '1'
|
||||
run 0 ../consterm '0'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue