(formula_a, formula_b, solver_name=None, logic=None)
return env.factory.binary_interpolant(formulas[0], formulas[1],
                                          solver_name=solver_name,
                                          logic=logic)
Computes an interpolant of (formula_a, formula_b).

    Returns None if the conjunction is satisfiable

    :param formula_a: Specify formula_a
    :param formula_b: Specify formula_b
    :param solver_name: Specify the name of the solver to be used
    :param logic: Specify the logic that is going to be used
    :returns: An interpolant of (formula_a, formula_b); None
              if the conjunction is satisfiable
    :rtype: FNode or None
Computes an interpolant of (formula_a, formula_b).
Computes an interpolant of ( formula_a formula_b ) .
def binary_interpolant(formula_a, formula_b, solver_name=None, logic=None):
    """Computes an interpolant of (formula_a, formula_b).

    Returns None if the conjunction is satisfiable

    :param formula_a: Specify formula_a
    :param formula_b: Specify formula_b
    :param solver_name: Specify the name of the solver to be used
    :param logic: Specify the logic that is going to be used
    :returns: An interpolant of (formula_a, formula_b); None
              if the conjunction is satisfiable
    :rtype: FNode or None
    """
    env = get_env()
    formulas = [formula_a, formula_b]
    for i, f in enumerate(formulas):
        if f not in env.formula_manager:
            warnings.warn("Warning: Contextualizing formula during "
                          "binary_interpolant")
            formulas[i] = env.formula_manager.normalize(f)

    return env.factory.binary_interpolant(formulas[0], formulas[1],
                                          solver_name=solver_name,
                                          logic=logic)
def binary_interpolant ( formula_a , formula_b , solver_name = None , logic = None ) : env = get_env ( ) formulas = [ formula_a , formula_b ] for i , f in enumerate ( formulas ) : if f not in env . formula_manager : warnings . warn ( "Warning: Contextualizing formula during " "binary_interpolant" ) formulas [ i ] = env . formula_manager . normalize ( f ) return env . factory . binary_interpolant ( formulas [ 0 ] , formulas [ 1 ] , solver_name = solver_name , logic = logic )