ltlsynt: detect APs with constant polarity
This implements the first point of issue #529. * spot/tl/apcollect.cc, spot/tl/apcollect.hh (collect_litterals): New function. * bin/ltlsynt.cc: Implement the --polarity option, use collect_litterals() to simplify the specification, finally patch the game, Mealy, or Aiger output. * spot/twaalgos/aiger.cc, spot/twaalgos/aiger.hh: Take a relabeling_map has argument to specify extra APs. * tests/core/ltlsynt.test, tests/core/ltlsynt2.test: Adjust test cases.
This commit is contained in:
parent
abca0f7fd9
commit
202ab92d1d
8 changed files with 378 additions and 76 deletions
7
NEWS
7
NEWS
|
|
@ -16,6 +16,13 @@ New in spot 2.11.6.dev (not yet released)
|
|||
will replace boolean subformulas by fresh atomic propositions even
|
||||
if those subformulas share atomic propositions.
|
||||
|
||||
- ltlsynt will no check for output atomic propositions that always
|
||||
have the same polarity in the specification. When this happens,
|
||||
these output APs are replaced by true or false before running the
|
||||
synthesis pipeline, and the resulting game, Mealy machine, or
|
||||
Aiger circuit is eventually patched to include that constant
|
||||
output. This can be disabled with --polarity=no.
|
||||
|
||||
Library:
|
||||
|
||||
- The following new trivial simplifications have been implemented for SEREs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue