genltl: add --gf-implies

* spot/gen/formulas.cc, spot/gen/formulas.hh: Implement
LTL_GF_IMPLIES.
* bin/genltl.cc: Add --gf-implies.
* NEWS: Mention it.
* tests/core/genltl.test: Use it.
This commit is contained in:
Alexandre Duret-Lutz 2018-01-09 10:59:10 +01:00
parent f369db6cb1
commit 0b71df3fd3
5 changed files with 35 additions and 21 deletions

View file

@ -1,5 +1,5 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2012, 2013, 2015-2017 Laboratoire de Recherche et
// Copyright (C) 2012, 2013, 2015-2018 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
@ -88,6 +88,8 @@ static const argp_option options[] =
"F(p0 | XG(p1 | XG(p2 | ... XG(pn))))", 0},
{ "gf-equiv", gen::LTL_GF_EQUIV, "RANGE", 0,
"(GFa1 & GFa2 & ... & GFan) <-> GFz", 0},
{ "gf-implies", gen::LTL_GF_IMPLIES, "RANGE", 0,
"(GFa1 & GFa2 & ... & GFan) -> GFz", 0},
{ "gh-q", gen::LTL_GH_Q, "RANGE", 0,
"(F(p1)|G(p2))&(F(p2)|G(p3))&...&(F(pn)|G(p{n+1}))", 0 },
{ "gh-r", gen::LTL_GH_R, "RANGE", 0,