Пример #1
0
def case_conjecture(state,clauses):
    """ Conjecture a separator between state underapprox and clauses.
    The separator must be true of all models of the underapprox and
    false in at least one model of clauses.
    """
    pre = join_unders(state)
    axioms = state.domain.background_theory(state.in_scope)
    ri = interpolant_case(pre,clauses,state.domain.functions)
    if ri != None:
        core,interp = ri
#        print "case_conjecture conj = {}".format(interp)
        state.conjs.append(interp)
    return ri
Пример #2
0
def case_conjecture(state, clauses):
    """ Conjecture a separator between state underapprox and clauses.
    The separator must be true of all models of the underapprox and
    false in at least one model of clauses.
    """
    pre = join_unders(state)
    axioms = state.domain.background_theory(state.in_scope)
    ri = interpolant_case(pre, clauses, axioms, state.domain.functions)
    if ri != None:
        core, interp = ri
        #        print "case_conjecture conj = {}".format(interp)
        state.conjs.append(interp)
    return ri