25#include <spot/twa/fwd.hh>
39 const char* prefix =
"p");
77 std::vector<std::vector<spot::formula>>
92 global_equiv_output_only = 6,
96 const std::vector<std::string>& inputs,
97 unsigned options = polarity | global_equiv,
98 std::ostream* verbose =
nullptr);
107 const std::vector<std::tuple<formula, bool, formula>>&
get_mapping()
const
123 void add_to_mapping(
formula from,
bool from_is_input,
formula to);
124 std::vector<std::tuple<formula, bool, formula>> mapping_;
126 bool global_equiv_output_only_;
Simplify a reactive specification, preserving realizability.
Definition apcollect.hh:84
formula simplified_formula() const
Return the simplified formula.
Definition apcollect.hh:101
void merge_mapping(const realizability_simplifier &other)
Augment the current mapping with output variable renaming from another realizability_simplifier.
void patch_mealy(twa_graph_ptr mealy) const
Patch a Mealy machine to add the missing APs.
const std::vector< std::tuple< formula, bool, formula > > & get_mapping() const
Returns a vector of (from,from_is_input,to)
Definition apcollect.hh:107
void patch_game(twa_graph_ptr mealy) const
Patch a game to add the missing APs.
realizability_simplifier_option
Definition apcollect.hh:86
bdd atomic_prop_collect_as_bdd(formula f, const twa_ptr &a)
Return the set of atomic propositions occurring in a formula, as a BDD.
atomic_prop_set * atomic_prop_collect(formula f, atomic_prop_set *s=nullptr)
Return the set of atomic propositions occurring in a formula.
atomic_prop_set collect_literals(formula f)
Collect the literals occurring in f.
std::set< formula > atomic_prop_set
Set of atomic propositions.
Definition apcollect.hh:33
std::vector< std::vector< spot::formula > > collect_equivalent_literals(formula f)
Collect equivalent APs.
atomic_prop_set create_atomic_prop_set(unsigned n, const char *prefix="p")
construct an atomic_prop_set with n propositions starting with prefix
Definition automata.hh:26