cases=''.join(cases)))
# Generate str-to-enum handler
+ names = set()
cases = []
for value, attrib in option.mode.items():
assert len(attrib) == 1
+ name = attrib[0]['name']
+ if name in names:
+ die("multiple modes with the name '{}' for option '{}'".
+ format(name, option.long))
+ else:
+ names.add(name)
+
cases.append(
TPL_MODE_HANDLER_CASE.format(
- name=attrib[0]['name'],
+ name=name,
type=option.type,
enum=value))
assert option.long
name = "trust"
help = "When provided, use only user-provided patterns for a quantified formula."
[[option.mode.STRICT]]
- name = "trust"
+ name = "strict"
help = "When provided, use only user-provided patterns for a quantified formula, and do not use any other instantiation techniques."
[[option.mode.RESORT]]
name = "resort"
{
//if strict triggers, take ownership of this quantified formula
bool hasPat = false;
- for (const Node& qc : q)
+ for (const Node& qc : q[2])
{
if (qc.getKind() == INST_PATTERN || qc.getKind() == INST_NO_PATTERN)
{
; REQUIRES: glpk
; COMMAND-LINE: --use-approx
-; EXPECT: unknown
(set-logic UFNIA)
(set-info :source "Reduced from regression 'bug812.smt2' using ddSMT to exercise GLPK")
(set-info :smt-lib-version 2.6)
(set-info :category "crafted")
-(set-info :status unknown)
+(set-info :status unsat)
(declare-fun s (Int Int) Int)
(declare-fun P (Int Int Int) Int)
(declare-fun p (Int) Int)