toparity: revert symmetry-based optimization of LAR

Fixes #390.

* spot/twaalgos/toparity.cc: Revert the relevant part of 516e9536.
* tests/python/toparity.py: Add test case.
* NEWS: Mention the issue.
This commit is contained in:
Alexandre Duret-Lutz 2019-06-18 17:35:57 +02:00
parent ed52f3c48c
commit c66b3d88d0
3 changed files with 32 additions and 99 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- mode: python; coding: utf-8 -*-
# Copyright (C) 2018 Laboratoire de Recherche et Développement de
# Copyright (C) 2018, 2019 Laboratoire de Recherche et Développement de
# l'EPITA.
#
# This file is part of Spot, a model checking library.
@ -45,3 +45,7 @@ for f in spot.randltl(5, 2000):
p = spot.to_parity(n)
assert spot.are_equivalent(n, p)
# Issue #390.
a = spot.translate('!(GFa -> (GFb & GF(!b & !Xb)))', 'gen', 'det');
b = spot.to_parity(a);
assert a.equivalent_to(b)