Module biodivine_sketchbook::algorithms::fo_logic::utils

source ·

Functions§

  • Check that symbolic context supports given function symbol (parameter) of given arity.
  • Check that extended symbolic graph’s BDD supports given extra variable.
  • Check that BN has given variable, and that it has given number of regulators.
  • Compute the set of all unique function symbols (with arities) in the formula tree.
  • Compute the set of all uniquely named FOL variables in the formula tree.
  • Compute a valid name for an “anonymous update function” of the corresponding variable.
  • For a given FOL variable name, get a base variable of the BN and offset that was used to add it to the symbolic context.
  • If the provided function symbol corresponds to (implicit) update function for some variable, get the variable’s name. Return Err if the symbol is not in format “f_VAR”.
  • Check if a given function symbol name corresponds to an (implicit) update function.
  • Checks that all FOL variables in the formula’s syntactic tree are quantified (exactly once), and renames these variables to a pseudo-canonical form that will be used in BDDs. It renames as many variables as possible to identical names, without affecting the semantics.
  • Checks that all FOL variables in the formula’s syntactic tree are quantified (exactly once), and renames these variables to a pseudo-canonical form that will be used in BDDs. It renames as many variables as possible to identical names, without affecting the semantics.