Synthesis decomposition: Add a new rewriting and tests

* spot/twaalgos/synthesis.cc: add a new rewriting rule
* tests/core/ltlsynt.test: test rewritings
This commit is contained in:
Florian Renkin 2021-11-04 15:10:07 +01:00
parent 7947ffc930
commit 97046ea263
2 changed files with 173 additions and 5 deletions

View file

@ -1741,11 +1741,11 @@ namespace // anonymous for subsformula
if (child.is(op::F))
{
// The result can be G(And).
auto f2 =
formula::G(
extract_and(formula::Not(child[0]), outs, false, form2props));
// What ?
return f2;
return
extract_and(
formula::G(
extract_and(formula::Not(child[0]), outs, false, form2props)),
outs, false, form2props);
}
// ¬(φ→ψ) ≡ φ ∧ ¬ψ
else if (child.is(op::Implies))