simplify: rewrite GF(a & Fb) as G(Fa & Fb)
This addresses part of #35, and is just a generalization of the rules
from 646c5170 for #263 (hence, no new documentation).
* spot/tl/simplify.cc: Implement this.
* tests/core/reduccmp.test: Add test cases.
* tests/core/stutter-tgba.test: Adjust to expect smaller automata.
This commit is contained in:
parent
e8527d5ae9
commit
6cd6802ace
3 changed files with 64 additions and 28 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2014, 2015, 2016 Laboratoire de Recherche et
|
||||
# Copyright (C) 2014-2017 Laboratoire de Recherche et
|
||||
# Développement de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -29,13 +29,13 @@ $ltl2tgba '!FG(a | Xa | G!a)' -H | $autfilt -H --destut > pos.hoa
|
|||
$ltl2tgba 'FG(a | Xa | G!a)' -H | $autfilt -H --destut > neg.hoa
|
||||
$autfilt pos.hoa --product neg.hoa -H > prod.hoa
|
||||
$autfilt --is-empty prod.hoa -q && exit 1
|
||||
$autfilt --states=10 prod.hoa -q
|
||||
$autfilt --states=7 prod.hoa -q
|
||||
|
||||
$ltl2tgba '!FG(a | Xa | G!a)' -H | $autfilt -H --instut > pos.hoa
|
||||
$ltl2tgba 'FG(a | Xa | G!a)' -H | $autfilt -H --instut > neg.hoa
|
||||
$autfilt pos.hoa --product neg.hoa -H > prod.hoa
|
||||
$autfilt --is-empty prod.hoa -q && exit 1
|
||||
$autfilt --states=12 prod.hoa -q
|
||||
$autfilt --states=9 prod.hoa -q
|
||||
|
||||
|
||||
# Check for issue #7.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue