Make option names related to CEGQI consistent (#4316)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 21 Apr 2020 00:47:35 +0000 (19:47 -0500)
committerGitHub <noreply@github.com>
Tue, 21 Apr 2020 00:47:35 +0000 (19:47 -0500)
This updates option names to be consistent across uses of counterexample-guided quantifier instantiation (ceqgi), which was previously called "counterexample-based quantifier instantiation" (cbqi), and sygus.

Notably, the trace "cegqi-engine" is changed to "sygus-engine" by this commit.

The changes were done by these commands in the given directories:

src/:
for f in $(find -name '.'); do sed -i 's/options::cbqi/options::cegqi/g' $f;sed -i 's/cegqi-engine/sygus-engine/g' $f; done;sed -i 's/"cbqi/"cegqi/g' $f; done
test/regress/:
for f in $(find -name '.'); do sed -i 's/--cbqi/--cegqi/g' $f; done
src/: and test/regress/:
for f in $(find -name '.'); do sed -i 's/cegqi-si/sygus-si/g' $f; done
test/regress/:
for f in $(find -name '.'); do sed -i 's/no-cbqi/no-cegqi/g' $f; done
test/regress/:
for f in $(find -name '.'); do sed -i 's/:cbqi/:cegqi/g' $f; done

And a few minor fixes afterwards.

This should be merged close to the time of the next stable release.

133 files changed:
contrib/competitions/smt-comp/run-script-smtcomp-current
contrib/competitions/smt-comp/run-script-smtcomp-current-unsat-cores
src/options/didyoumean_test.cpp
src/options/quantifiers_options.toml
src/preprocessing/passes/global_negate.cpp
src/smt/set_defaults.cpp
src/theory/datatypes/sygus_extension.cpp
src/theory/quantifiers/bv_inverter.cpp
src/theory/quantifiers/cegqi/ceg_arith_instantiator.cpp
src/theory/quantifiers/cegqi/ceg_bv_instantiator.cpp
src/theory/quantifiers/cegqi/ceg_instantiator.cpp
src/theory/quantifiers/cegqi/inst_strategy_cegqi.cpp
src/theory/quantifiers/ematching/candidate_generator.cpp
src/theory/quantifiers/ematching/inst_match_generator.cpp
src/theory/quantifiers/equality_query.cpp
src/theory/quantifiers/inst_strategy_enumerative.cpp
src/theory/quantifiers/instantiate.cpp
src/theory/quantifiers/quant_conflict_find.cpp
src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
src/theory/quantifiers/sygus/cegis.cpp
src/theory/quantifiers/sygus/sygus_enumerator.cpp
src/theory/quantifiers/sygus/sygus_repair_const.cpp
src/theory/quantifiers/sygus/synth_conjecture.cpp
src/theory/quantifiers/sygus/synth_engine.cpp
src/theory/quantifiers_engine.cpp
test/regress/regress0/expect/scrub.08.sy
test/regress/regress0/quantifiers/ari056.smt2
test/regress/regress0/quantifiers/cbqi-lia-dt-simp.smt2
test/regress/regress0/quantifiers/issue4086-infs.smt2
test/regress/regress0/quantifiers/issue4275-qcf-cegqi-rep.smt2
test/regress/regress0/quantifiers/mix-complete-strat.smt2
test/regress/regress0/quantifiers/pure_dt_cbqi.smt2
test/regress/regress0/quantifiers/qbv-inequality2.smt2
test/regress/regress0/quantifiers/qbv-multi-lit-uge.smt2
test/regress/regress0/quantifiers/qbv-simp.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvadd-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvand-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvand.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvashr-0-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvashr-1-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvlshr-0-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvlshr-0.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvlshr-1-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvor-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvor.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvshl-0-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvshl-0.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvult-1.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvxor-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-bvxor.smt2
test/regress/regress0/quantifiers/qbv-test-invert-concat-0-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-concat-0.smt2
test/regress/regress0/quantifiers/qbv-test-invert-concat-1-neq.smt2
test/regress/regress0/quantifiers/qbv-test-invert-concat-1.smt2
test/regress/regress0/quantifiers/qbv-test-invert-sign-extend.smt2
test/regress/regress0/sygus/General_plus10.sy
test/regress/regress0/sygus/aig-si.sy
test/regress/regress0/sygus/c100.sy
test/regress/regress0/sygus/check-generic-red.sy
test/regress/regress0/sygus/const-var-test.sy
test/regress/regress0/sygus/hd-05-d1-prog-nogrammar.sy
test/regress/regress0/sygus/let-ringer.sy
test/regress/regress0/sygus/let-simp.sy
test/regress/regress0/sygus/parity-AIG-d0.sy
test/regress/regress0/sygus/pbe-pred-contra.sy
test/regress/regress1/bug519.smt2
test/regress/regress1/quantifiers/NUM878.smt2
test/regress/regress1/quantifiers/RNDPRE_4_1-dd-nqe.smt2
test/regress/regress1/quantifiers/anti-sk-simp.smt2
test/regress/regress1/quantifiers/ari118-bv-2occ-x.smt2
test/regress/regress1/quantifiers/cbqi-sdlx-fixpoint-3-dd.smt2
test/regress/regress1/quantifiers/extract-nproc.smt2
test/regress/regress1/quantifiers/intersection-example-onelane.proof-node22337.smt2
test/regress/regress1/quantifiers/issue4243-prereg-inc.smt2
test/regress/regress1/quantifiers/lra-vts-inf.smt2
test/regress/regress1/quantifiers/model_6_1_bv.smt2
test/regress/regress1/quantifiers/nested9_true-unreach-call.i_575.smt2
test/regress/regress1/quantifiers/nl-pow-trick.smt2
test/regress/regress1/quantifiers/nra-interleave-inst.smt2
test/regress/regress1/quantifiers/psyco-107-bv.smt2
test/regress/regress1/quantifiers/qbv-disequality3.smt2
test/regress/regress1/quantifiers/qbv-simple-2vars-vo.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvashr-0.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvashr-1.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvcomp.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvlshr-1.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvmul-neq.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvmul.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvudiv-0-neq.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvudiv-0.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvudiv-1-neq.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvudiv-1.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvurem-1-neq.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvurem-1.smt2
test/regress/regress1/quantifiers/qbv-test-urem-rewrite.smt2
test/regress/regress1/quantifiers/small-pipeline-fixpoint-3.smt2
test/regress/regress1/sygus/Base16_1.sy
test/regress/regress1/sygus/array_search_2.sy
test/regress/regress1/sygus/array_search_5-Q-easy.sy
test/regress/regress1/sygus/array_sum_2_5.sy
test/regress/regress1/sygus/clock-inc-tuple.sy
test/regress/regress1/sygus/crcy-si-rcons.sy
test/regress/regress1/sygus/dt-test-ns.sy
test/regress/regress1/sygus/dup-op.sy
test/regress/regress1/sygus/enum-test.sy
test/regress/regress1/sygus/error1-dt.sy
test/regress/regress1/sygus/hd-19-d1-prog-dup-op.sy
test/regress/regress1/sygus/hd-sdiv.sy
test/regress/regress1/sygus/int-any-const.sy
test/regress/regress1/sygus/large-const-simp.sy
test/regress/regress1/sygus/list-head-x.sy
test/regress/regress1/sygus/max.sy
test/regress/regress1/sygus/nia-max-square-ns.sy
test/regress/regress1/sygus/parity-si-rcons.sy
test/regress/regress1/sygus/phone-1-long.sy
test/regress/regress1/sygus/process-10-vars.sy
test/regress/regress1/sygus/qe.sy
test/regress/regress1/sygus/real-any-const.sy
test/regress/regress1/sygus/real-grammar.sy
test/regress/regress1/sygus/repair-const-rl.sy
test/regress/regress1/sygus/strings-any-term1.sy
test/regress/regress1/sygus/tl-type-0.sy
test/regress/regress1/sygus/tl-type-4x.sy
test/regress/regress1/sygus/tl-type.sy
test/regress/regress1/sygus/twolets1.sy
test/regress/regress1/sygus/twolets2-orig.sy
test/regress/regress2/quantifiers/small-bug1-fixpoint-3.smt2
test/regress/regress2/sygus/lustre-real.sy
test/regress/regress2/sygus/process-10-vars-2fun.sy
test/regress/regress2/sygus/process-arg-invariance.sy
test/regress/regress2/sygus/real-grammar-neg.sy
test/regress/regress3/strings-any-term.sy
test/unit/theory/theory_quantifiers_bv_inverter_white.h

index b46253851bdf07a3544935a5574f3906926e785e..b0bc70cd7aa987dcccbde4a2756a4d95b7350f48 100755 (executable)
@@ -90,24 +90,24 @@ ABVFP|BVFP|FP)
 UFBV)
   # most problems in UFBV are essentially BV
   trywith 600 --full-saturate-quant --decision=internal
-  trywith 600 --full-saturate-quant --cbqi-nested-qe --decision=internal
-  trywith 60 --full-saturate-quant --no-cbqi-innermost --global-negate
+  trywith 600 --full-saturate-quant --cegqi-nested-qe --decision=internal
+  trywith 60 --full-saturate-quant --no-cegqi-innermost --global-negate
   finishwith --finite-model-find
   ;;
 BV)
   trywith 240 --full-saturate-quant
-  trywith 240 --full-saturate-quant --no-cbqi-innermost
-  trywith 600 --full-saturate-quant --cbqi-nested-qe --decision=internal
-  trywith 60 --full-saturate-quant --no-cbqi-bv
-  trywith 60 --full-saturate-quant --cbqi-bv-ineq=eq-slack
+  trywith 240 --full-saturate-quant --no-cegqi-innermost
+  trywith 600 --full-saturate-quant --cegqi-nested-qe --decision=internal
+  trywith 60 --full-saturate-quant --no-cegqi-bv
+  trywith 60 --full-saturate-quant --cegqi-bv-ineq=eq-slack
   # finish 10min
-  finishwith --full-saturate-quant --no-cbqi-innermost --global-negate
+  finishwith --full-saturate-quant --no-cegqi-innermost --global-negate
   ;;
 LIA|LRA|NIA|NRA)
   trywith 60 --full-saturate-quant --nl-ext-tplanes
-  trywith 600 --full-saturate-quant --no-cbqi-innermost
-  trywith 600 --full-saturate-quant --cbqi-nested-qe
-  finishwith --full-saturate-quant --cbqi-nested-qe --decision=internal
+  trywith 600 --full-saturate-quant --no-cegqi-innermost
+  trywith 600 --full-saturate-quant --cegqi-nested-qe
+  finishwith --full-saturate-quant --cegqi-nested-qe --decision=internal
   ;;
 QF_AUFBV)
   trywith 1200 --ite-simp
index 0371d8b4295231b7006b641c0a09cff9e1138906..5e827128e9669180e404c5a7eb4e308a07048904 100755 (executable)
@@ -36,10 +36,10 @@ BV)
   finishwith --full-saturate-quant --decision=internal
   ;;
 LIA|LRA)
-  finishwith --full-saturate-quant --cbqi-nested-qe --decision=internal
+  finishwith --full-saturate-quant --cegqi-nested-qe --decision=internal
   ;;
 NIA|NRA)
-  finishwith --full-saturate-quant --cbqi-nested-qe --decision=internal
+  finishwith --full-saturate-quant --cegqi-nested-qe --decision=internal
   ;;
 QF_AUFBV)
   finishwith --decision=justification-stoponly --ite-simp
index df1dfa5cc288586191c76469cbddcba278b78362..2dd28a40fad1432e48e107fdb03dcb225dbc3fe5 100644 (file)
@@ -165,9 +165,9 @@ set<string> getDebugTags() {
   a.insert("bvminisat");
   a.insert("bvminisat::explain");
   a.insert("bvminisat::search");
-  a.insert("cbqi");
-  a.insert("cbqi-debug");
-  a.insert("cbqi-prop-as-dec");
+  a.insert("cegqi");
+  a.insert("cegqi-debug");
+  a.insert("cegqi-prop-as-dec");
   a.insert("cd_set_collection");
   a.insert("cdlist");
   a.insert("cdlist:cmm");
@@ -605,7 +605,7 @@ set<string> getOptionStrings() {
       "literal-matching",
       "enable-cbqi",
       "no-enable-cbqi",
-      "cbqi-recurse",
+      "cegqi-recurse",
       "no-cbqi-recurse",
       "user-pat",
       "flip-decision",
index 32ae173bd331125419761e3aa0629e667cfbbc72..21cba6abb9e5d856d6ed57741f58f39d16040ce3 100644 (file)
@@ -987,7 +987,7 @@ header = "options/quantifiers_options.h"
 [[option]]
   name       = "cegqiSingleInvMode"
   category   = "regular"
-  long       = "cegqi-si=MODE"
+  long       = "sygus-si=MODE"
   type       = "CegqiSingleInvMode"
   default    = "NONE"
   help       = "mode for processing single invocation synthesis conjectures"
@@ -1005,7 +1005,7 @@ header = "options/quantifiers_options.h"
 [[option]]
   name       = "cegqiSingleInvPartial"
   category   = "regular"
-  long       = "cegqi-si-partial"
+  long       = "sygus-si-partial"
   type       = "bool"
   default    = "false"
   read_only  = true
@@ -1020,7 +1020,7 @@ header = "options/quantifiers_options.h"
 [[option]]
   name       = "cegqiSingleInvReconstruct"
   category   = "regular"
-  long       = "cegqi-si-rcons=MODE"
+  long       = "sygus-si-rcons=MODE"
   type       = "CegqiSingleInvRconsMode"
   default    = "ALL_LIMIT"
   help       = "policy for reconstructing solutions for single invocation conjectures"
@@ -1041,7 +1041,7 @@ header = "options/quantifiers_options.h"
 [[option]]
   name       = "cegqiSingleInvReconstructLimit"
   category   = "regular"
-  long       = "cegqi-si-rcons-limit=N"
+  long       = "sygus-si-rcons-limit=N"
   type       = "int"
   default    = "10000"
   read_only  = true
@@ -1050,7 +1050,7 @@ header = "options/quantifiers_options.h"
 [[option]]
   name       = "cegqiSingleInvReconstructConst"
   category   = "regular"
-  long       = "cegqi-si-reconstruct-const"
+  long       = "sygus-si-reconstruct-const"
   type       = "bool"
   default    = "true"
   read_only  = true
@@ -1059,7 +1059,7 @@ header = "options/quantifiers_options.h"
 [[option]]
   name       = "cegqiSingleInvAbort"
   category   = "regular"
-  long       = "cegqi-si-abort"
+  long       = "sygus-si-abort"
   type       = "bool"
   default    = "false"
   read_only  = true
@@ -1623,73 +1623,73 @@ header = "options/quantifiers_options.h"
 # CEGQI applied to general quantified formulas
 
 [[option]]
-  name       = "cbqi"
+  name       = "cegqi"
   category   = "regular"
-  long       = "cbqi"
+  long       = "cegqi"
   type       = "bool"
   default    = "false"
   help       = "turns on counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiFullEffort"
+  name       = "cegqiFullEffort"
   category   = "regular"
-  long       = "cbqi-full"
+  long       = "cegqi-full"
   type       = "bool"
   default    = "false"
   help       = "turns on full effort counterexample-based quantifier instantiation, which may resort to model-value instantiation"
 
 [[option]]
-  name       = "cbqiSat"
+  name       = "cegqiSat"
   category   = "regular"
-  long       = "cbqi-sat"
+  long       = "cegqi-sat"
   type       = "bool"
   default    = "true"
   help       = "answer sat when quantifiers are asserted with counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiModel"
+  name       = "cegqiModel"
   category   = "regular"
-  long       = "cbqi-model"
+  long       = "cegqi-model"
   type       = "bool"
   default    = "true"
   help       = "guide instantiations by model values for counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiAll"
+  name       = "cegqiAll"
   category   = "regular"
-  long       = "cbqi-all"
+  long       = "cegqi-all"
   type       = "bool"
   default    = "false"
   help       = "apply counterexample-based instantiation to all quantified formulas"
 
 [[option]]
-  name       = "cbqiMultiInst"
+  name       = "cegqiMultiInst"
   category   = "regular"
-  long       = "cbqi-multi-inst"
+  long       = "cegqi-multi-inst"
   type       = "bool"
   default    = "false"
   help       = "when applicable, do multi instantiations per quantifier per round in counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiRepeatLit"
+  name       = "cegqiRepeatLit"
   category   = "regular"
-  long       = "cbqi-repeat-lit"
+  long       = "cegqi-repeat-lit"
   type       = "bool"
   default    = "false"
   help       = "solve literals more than once in counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiInnermost"
+  name       = "cegqiInnermost"
   category   = "regular"
-  long       = "cbqi-innermost"
+  long       = "cegqi-innermost"
   type       = "bool"
   default    = "true"
   help       = "only process innermost quantified formulas in counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiNestedQE"
+  name       = "cegqiNestedQE"
   category   = "regular"
-  long       = "cbqi-nested-qe"
+  long       = "cegqi-nested-qe"
   type       = "bool"
   default    = "false"
   help       = "process nested quantified formulas with quantifier elimination in counterexample-based quantifier instantiation"
@@ -1697,59 +1697,59 @@ header = "options/quantifiers_options.h"
 # CEGQI for arithmetic
 
 [[option]]
-  name       = "cbqiUseInfInt"
+  name       = "cegqiUseInfInt"
   category   = "regular"
-  long       = "cbqi-use-inf-int"
+  long       = "cegqi-use-inf-int"
   type       = "bool"
   default    = "false"
   help       = "use integer infinity for vts in counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiUseInfReal"
+  name       = "cegqiUseInfReal"
   category   = "regular"
-  long       = "cbqi-use-inf-real"
+  long       = "cegqi-use-inf-real"
   type       = "bool"
   default    = "false"
   help       = "use real infinity for vts in counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiPreRegInst"
+  name       = "cegqiPreRegInst"
   category   = "regular"
-  long       = "cbqi-prereg-inst"
+  long       = "cegqi-prereg-inst"
   type       = "bool"
   default    = "false"
   help       = "preregister ground instantiations in counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiMinBounds"
+  name       = "cegqiMinBounds"
   category   = "regular"
-  long       = "cbqi-min-bounds"
+  long       = "cegqi-min-bounds"
   type       = "bool"
   default    = "false"
   read_only  = true
   help       = "use minimally constrained lower/upper bound for counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiRoundUpLowerLia"
+  name       = "cegqiRoundUpLowerLia"
   category   = "regular"
-  long       = "cbqi-round-up-lia"
+  long       = "cegqi-round-up-lia"
   type       = "bool"
   default    = "false"
   read_only  = true
   help       = "round up integer lower bounds in substitutions for counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiMidpoint"
+  name       = "cegqiMidpoint"
   category   = "regular"
-  long       = "cbqi-midpoint"
+  long       = "cegqi-midpoint"
   type       = "bool"
   default    = "false"
   help       = "choose substitutions based on midpoints of lower and upper bounds for counterexample-based quantifier instantiation"
 
 [[option]]
-  name       = "cbqiNopt"
+  name       = "cegqiNopt"
   category   = "regular"
-  long       = "cbqi-nopt"
+  long       = "cegqi-nopt"
   type       = "bool"
   default    = "true"
   read_only  = true
@@ -1777,25 +1777,25 @@ header = "options/quantifiers_options.h"
 # CEGQI for BV
 
 [[option]]
-  name       = "cbqiBv"
+  name       = "cegqiBv"
   category   = "regular"
-  long       = "cbqi-bv"
+  long       = "cegqi-bv"
   type       = "bool"
   default    = "true"
   help       = "use word-level inversion approach for counterexample-guided quantifier instantiation for bit-vectors"
 
 [[option]]
-  name       = "cbqiBvInterleaveValue"
+  name       = "cegqiBvInterleaveValue"
   category   = "regular"
-  long       = "cbqi-bv-interleave-value"
+  long       = "cegqi-bv-interleave-value"
   type       = "bool"
   default    = "false"
   help       = "interleave model value instantiation with word-level inversion approach"
 
 [[option]]
-  name       = "cbqiBvIneqMode"
+  name       = "cegqiBvIneqMode"
   category   = "regular"
-  long       = "cbqi-bv-ineq=MODE"
+  long       = "cegqi-bv-ineq=MODE"
   type       = "CbqiBvIneqMode"
   default    = "EQ_BOUNDARY"
   help       = "choose mode for handling bit-vector inequalities with counterexample-guided instantiation"
@@ -1811,33 +1811,33 @@ header = "options/quantifiers_options.h"
   help = "Solve for the inequality directly using side conditions for invertibility."
 
 [[option]]
-  name       = "cbqiBvRmExtract"
+  name       = "cegqiBvRmExtract"
   category   = "regular"
-  long       = "cbqi-bv-rm-extract"
+  long       = "cegqi-bv-rm-extract"
   type       = "bool"
   default    = "true"
   help       = "replaces extract terms with variables for counterexample-guided instantiation for bit-vectors"
 
 [[option]]
-  name       = "cbqiBvLinearize"
+  name       = "cegqiBvLinearize"
   category   = "regular"
-  long       = "cbqi-bv-linear"
+  long       = "cegqi-bv-linear"
   type       = "bool"
   default    = "true"
   help       = "linearize adder chains for variables"
 
 [[option]]
-  name       = "cbqiBvSolveNl"
+  name       = "cegqiBvSolveNl"
   category   = "regular"
-  long       = "cbqi-bv-solve-nl"
+  long       = "cegqi-bv-solve-nl"
   type       = "bool"
   default    = "false"
   help       = "try to solve non-linear bv literals using model value projections"
 
 [[option]]
-  name       = "cbqiBvConcInv"
+  name       = "cegqiBvConcInv"
   category   = "regular"
-  long       = "cbqi-bv-concat-inv"
+  long       = "cegqi-bv-concat-inv"
   type       = "bool"
   default    = "true"
   help       = "compute inverse for concat over equalities rather than producing an invertibility condition"
index 5e7d426327f57a61fe931034234a17595dd1f9f1..59b5ddf6e99cbe814de25d6045ba37269ec71b9d 100644 (file)
@@ -30,14 +30,14 @@ namespace passes {
 Node GlobalNegate::simplify(std::vector<Node>& assertions, NodeManager* nm)
 {
   Assert(!assertions.empty());
-  Trace("cbqi-gn") << "Global negate : " << std::endl;
+  Trace("cegqi-gn") << "Global negate : " << std::endl;
   // collect free variables in all assertions
   std::vector<Node> free_vars;
   std::vector<TNode> visit;
   std::unordered_set<TNode, TNodeHashFunction> visited;
   for (const Node& as : assertions)
   {
-    Trace("cbqi-gn") << "  " << as << std::endl;
+    Trace("cegqi-gn") << "  " << as << std::endl;
     TNode cur = as;
     // compute free variables
     visit.push_back(cur);
@@ -90,9 +90,9 @@ Node GlobalNegate::simplify(std::vector<Node>& assertions, NodeManager* nm)
     body = nm->mkNode(FORALL, bvl, body);
   }
 
-  Trace("cbqi-gn-debug") << "...got (pre-rewrite) : " << body << std::endl;
+  Trace("cegqi-gn-debug") << "...got (pre-rewrite) : " << body << std::endl;
   body = Rewriter::rewrite(body);
-  Trace("cbqi-gn") << "...got (post-rewrite) : " << body << std::endl;
+  Trace("cegqi-gn") << "...got (post-rewrite) : " << body << std::endl;
   return body;
 }
 
index 7109a32221002a9a456fb3319245df6446f6a3ce..f98c9ee84869e1ce0ba398aab4f9d1648a2923db 100644 (file)
@@ -495,7 +495,7 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
     }
   }
 
-  if (options::cbqiBv() && logic.isQuantified())
+  if (options::cegqiBv() && logic.isQuantified())
   {
     if (options::boolToBitvector() != options::BoolToBVMode::OFF)
     {
@@ -819,11 +819,11 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
   {
     Notice() << "SmtEngine: turning off cbqi to support instMaxLevel"
              << std::endl;
-    options::cbqi.set(false);
+    options::cegqi.set(false);
   }
   // Do we need to track instantiations?
   // Needed for sygus due to single invocation techniques.
-  if (options::cbqiNestedQE()
+  if (options::cegqiNestedQE()
       || (options::proof() && !options::trackInstLemmas.wasSetByUser())
       || is_sygus)
   {
@@ -937,15 +937,15 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
     }
     options::sygus.set(true);
     // must use Ferrante/Rackoff for real arithmetic
-    if (!options::cbqiMidpoint.wasSetByUser())
+    if (!options::cegqiMidpoint.wasSetByUser())
     {
-      options::cbqiMidpoint.set(true);
+      options::cegqiMidpoint.set(true);
     }
     if (options::sygusRepairConst())
     {
-      if (!options::cbqi.wasSetByUser())
+      if (!options::cegqi.wasSetByUser())
       {
-        options::cbqi.set(true);
+        options::cegqi.set(true);
       }
     }
     if (options::sygusInference())
@@ -973,10 +973,10 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
     {
       options::instNoEntail.set(false);
     }
-    if (!options::cbqiFullEffort.wasSetByUser())
+    if (!options::cegqiFullEffort.wasSetByUser())
     {
       // should use full effort cbqi for single invocation and repair const
-      options::cbqiFullEffort.set(true);
+      options::cegqiFullEffort.set(true);
     }
     if (options::sygusRew())
     {
@@ -1085,9 +1085,9 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
     {
       options::macrosQuant.set(false);
     }
-    if (!options::cbqiPreRegInst.wasSetByUser())
+    if (!options::cegqiPreRegInst.wasSetByUser())
     {
-      options::cbqiPreRegInst.set(true);
+      options::cegqiPreRegInst.set(true);
     }
   }
   // counterexample-guided instantiation for non-sygus
@@ -1097,22 +1097,22 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
            || logic.isTheoryEnabled(THEORY_DATATYPES)
            || logic.isTheoryEnabled(THEORY_BV)
            || logic.isTheoryEnabled(THEORY_FP)))
-      || options::cbqiAll())
+      || options::cegqiAll())
   {
-    if (!options::cbqi.wasSetByUser())
+    if (!options::cegqi.wasSetByUser())
     {
-      options::cbqi.set(true);
+      options::cegqi.set(true);
     }
     // check whether we should apply full cbqi
     if (logic.isPure(THEORY_BV))
     {
-      if (!options::cbqiFullEffort.wasSetByUser())
+      if (!options::cegqiFullEffort.wasSetByUser())
       {
-        options::cbqiFullEffort.set(true);
+        options::cegqiFullEffort.set(true);
       }
     }
   }
-  if (options::cbqi())
+  if (options::cegqi())
   {
     // must rewrite divk
     if (!options::rewriteDivk.wasSetByUser())
@@ -1122,8 +1122,8 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
     if (options::incrementalSolving())
     {
       // cannot do nested quantifier elimination in incremental mode
-      options::cbqiNestedQE.set(false);
-      options::cbqiPreRegInst.set(false);
+      options::cegqiNestedQE.set(false);
+      options::cegqiPreRegInst.set(false);
     }
     if (logic.isPure(THEORY_ARITH) || logic.isPure(THEORY_BV))
     {
@@ -1135,7 +1135,7 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
       {
         options::instNoEntail.set(false);
       }
-      if (!options::instWhenMode.wasSetByUser() && options::cbqiModel())
+      if (!options::instWhenMode.wasSetByUser() && options::cegqiModel())
       {
         // only instantiation should happen at last call when model is avaiable
         options::instWhenMode.set(options::InstWhenMode::LAST_CALL);
@@ -1144,10 +1144,10 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
     else
     {
       // only supported in pure arithmetic or pure BV
-      options::cbqiNestedQE.set(false);
+      options::cegqiNestedQE.set(false);
     }
     // prenexing
-    if (options::cbqiNestedQE())
+    if (options::cegqiNestedQE())
     {
       // only complete with prenex = disj_normal or normal
       if (options::prenexQuant() <= options::PrenexQuantMode::DISJ_NORMAL)
@@ -1175,7 +1175,7 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
   {
     options::quantConflictFind.set(true);
   }
-  if (options::cbqiNestedQE())
+  if (options::cegqiNestedQE())
   {
     options::prenexQuantUser.set(true);
     if (!options::preSkolemQuant.wasSetByUser())
index dbc1e24afb349c676c5e765121bc3b994b51330c..f22e0e6d5cb36ae368307de2f489d778c84e474a 100644 (file)
@@ -1623,26 +1623,26 @@ void SygusExtension::check( std::vector< Node >& lemmas ) {
     return check(lemmas);
   }
 
-  if (Trace.isOn("cegqi-engine") && !d_szinfo.empty())
+  if (Trace.isOn("sygus-engine") && !d_szinfo.empty())
   {
     if (lemmas.empty())
     {
-      Trace("cegqi-engine") << "*** Sygus : passed datatypes check. term size(s) : ";
+      Trace("sygus-engine") << "*** Sygus : passed datatypes check. term size(s) : ";
       for (std::pair<const Node, std::unique_ptr<SygusSizeDecisionStrategy>>&
                p : d_szinfo)
       {
         SygusSizeDecisionStrategy* s = p.second.get();
-        Trace("cegqi-engine") << s->d_curr_search_size << " ";
+        Trace("sygus-engine") << s->d_curr_search_size << " ";
       }
-      Trace("cegqi-engine") << std::endl;
+      Trace("sygus-engine") << std::endl;
     }
     else
     {
-      Trace("cegqi-engine")
+      Trace("sygus-engine")
           << "*** Sygus : produced symmetry breaking lemmas" << std::endl;
       for (const Node& lem : lemmas)
       {
-        Trace("cegqi-engine-debug") << "  " << lem << std::endl;
+        Trace("sygus-engine-debug") << "  " << lem << std::endl;
       }
     }
   }
@@ -1783,7 +1783,7 @@ Node SygusExtension::SygusSizeDecisionStrategy::mkLiteral(unsigned s)
   }
   Assert(!d_this.isNull());
   NodeManager* nm = NodeManager::currentNM();
-  Trace("cegqi-engine") << "******* Sygus : allocate size literal " << s
+  Trace("sygus-engine") << "******* Sygus : allocate size literal " << s
                         << " for " << d_this << std::endl;
   return nm->mkNode(DT_SYGUS_BOUND, d_this, nm->mkConst(Rational(s)));
 }
index c349e05b0d172a65220d0bd935498a9bf72c9668..3756c6b4b79d98b6a3bcfb75593cd457b865ff2e 100644 (file)
@@ -336,7 +336,7 @@ Node BvInverter::solveBvLit(Node sv,
     }
     else if (k == BITVECTOR_CONCAT)
     {
-      if (litk == EQUAL && options::cbqiBvConcInv())
+      if (litk == EQUAL && options::cegqiBvConcInv())
       {
         /* Compute inverse for s1 o x, x o s2, s1 o x o s2
          * (while disregarding that invertibility depends on si)
index 2984c23be67be495e3651d4b10f2dc2174e91ff2..bb59aa76620e194a36898ed02e74ff9e4a06a428 100644 (file)
@@ -167,7 +167,7 @@ bool ArithInstantiator::processAssertion(CegInstantiator* ci,
   }
   // compute how many bounds we will consider
   unsigned rmax = 1;
-  if (atom.getKind() == EQUAL && (pol || !options::cbqiModel()))
+  if (atom.getKind() == EQUAL && (pol || !options::cegqiModel()))
   {
     rmax = 2;
   }
@@ -206,7 +206,7 @@ bool ArithInstantiator::processAssertion(CegInstantiator* ci,
     {
       // disequalities are either strict upper or lower bounds
       bool is_upper;
-      if (options::cbqiModel())
+      if (options::cegqiModel())
       {
         // disequality is a disjunction : only consider the bound in the
         // direction of the model
@@ -273,7 +273,7 @@ bool ArithInstantiator::processAssertion(CegInstantiator* ci,
     // take into account delta
     if (uires == CEG_TT_UPPER_STRICT || uires == CEG_TT_LOWER_STRICT)
     {
-      if (options::cbqiModel())
+      if (options::cegqiModel())
       {
         Node delta_coeff =
             nm->mkConst(Rational(isUpperBoundCTT(uires) ? 1 : -1));
@@ -295,7 +295,7 @@ bool ArithInstantiator::processAssertion(CegInstantiator* ci,
         uval = Rewriter::rewrite(uval);
       }
     }
-    if (options::cbqiModel())
+    if (options::cegqiModel())
     {
       // just store bounds, will choose based on tighest bound
       unsigned index = isUpperBoundCTT(uires) ? 0 : 1;
@@ -330,15 +330,15 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
                                           Node pv,
                                           CegInstEffort effort)
 {
-  if (!options::cbqiModel())
+  if (!options::cegqiModel())
   {
     return false;
   }
   NodeManager* nm = NodeManager::currentNM();
   bool use_inf =
-      d_type.isInteger() ? options::cbqiUseInfInt() : options::cbqiUseInfReal();
+      d_type.isInteger() ? options::cegqiUseInfInt() : options::cegqiUseInfReal();
   bool upper_first = Random::getRandom().pickWithProb(0.5);
-  if (options::cbqiMinBounds())
+  if (options::cegqiMinBounds())
   {
     upper_first = d_mbp_bounds[1].size() < d_mbp_bounds[0].size();
   }
@@ -370,7 +370,7 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
         {
           return true;
         }
-        else if (!options::cbqiMultiInst())
+        else if (!options::cegqiMultiInst())
         {
           return false;
         }
@@ -509,7 +509,7 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
         best_used[rr] = best;
         // if using cbqiMidpoint, only add the instance based on one bound if
         // the bound is non-strict
-        if (!options::cbqiMidpoint() || d_type.isInteger()
+        if (!options::cegqiMidpoint() || d_type.isInteger()
             || d_mbp_vts_coeff[rr][1][best].isNull())
         {
           Node val = d_mbp_bounds[rr][best];
@@ -532,7 +532,7 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
             {
               return true;
             }
-            else if (!options::cbqiMultiInst())
+            else if (!options::cegqiMultiInst())
             {
               return false;
             }
@@ -563,13 +563,13 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
       {
         return true;
       }
-      else if (!options::cbqiMultiInst())
+      else if (!options::cegqiMultiInst())
       {
         return false;
       }
     }
   }
-  if (options::cbqiMidpoint() && !d_type.isInteger())
+  if (options::cegqiMidpoint() && !d_type.isInteger())
   {
     Node vals[2];
     bool bothBounds = true;
@@ -634,7 +634,7 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
       {
         return true;
       }
-      else if (!options::cbqiMultiInst())
+      else if (!options::cegqiMultiInst())
       {
         return false;
       }
@@ -643,7 +643,7 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
   // generally should not make it to this point, unless we are using a
   // non-monotonic selection function
 
-  if (!options::cbqiNopt())
+  if (!options::cegqiNopt())
   {
     // if not trying non-optimal bounds, return
     return false;
@@ -656,7 +656,7 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
     for (unsigned j = 0, nbounds = d_mbp_bounds[rr].size(); j < nbounds; j++)
     {
       if ((int)j != best_used[rr]
-          && (!options::cbqiMidpoint() || d_mbp_vts_coeff[rr][1][j].isNull()))
+          && (!options::cegqiMidpoint() || d_mbp_vts_coeff[rr][1][j].isNull()))
       {
         Node val = getModelBasedProjectionValue(ci,
                                                 pv,
@@ -677,7 +677,7 @@ bool ArithInstantiator::processAssertions(CegInstantiator* ci,
           {
             return true;
           }
-          else if (!options::cbqiMultiInst())
+          else if (!options::cegqiMultiInst())
           {
             return false;
           }
@@ -753,7 +753,7 @@ bool ArithInstantiator::postProcessInstantiationForVariable(
         << "...bound type is : " << sf.d_props[index].d_type << std::endl;
     // intger division rounding up if from a lower bound
     if (sf.d_props[index].d_type == CEG_TT_UPPER
-        && options::cbqiRoundUpLowerLia())
+        && options::cegqiRoundUpLowerLia())
     {
       sf.d_subs[index] = nm->mkNode(
           PLUS,
index 92f3e6d0d3171cc8c26620e74d3b2ec92293943e..2d43e63dc25bd6befeb4a89299bb11f404208e5a 100644 (file)
@@ -91,7 +91,7 @@ void BvInstantiator::processLiteral(CegInstantiator* ci,
   Node pvs = ci->getModelValue(pv);
   Trace("cegqi-bv") << "Get path to " << pv << " : " << lit << std::endl;
   Node slit =
-      d_inverter->getPathToPv(lit, pv, sv, pvs, path, options::cbqiBvSolveNl());
+      d_inverter->getPathToPv(lit, pv, sv, pvs, path, options::cegqiBvSolveNl());
   if (!slit.isNull())
   {
     CegInstantiatorBvInverterQuery m(ci);
@@ -153,7 +153,7 @@ Node BvInstantiator::hasProcessAssertion(CegInstantiator* ci,
   {
     return Node::null();
   }
-  else if (options::cbqiBvIneqMode() == options::CbqiBvIneqMode::KEEP
+  else if (options::cegqiBvIneqMode() == options::CbqiBvIneqMode::KEEP
            || (pol && k == EQUAL))
   {
     return lit;
@@ -172,7 +172,7 @@ Node BvInstantiator::hasProcessAssertion(CegInstantiator* ci,
   Trace("cegqi-bv") << "   " << sm << " <> " << tm << std::endl;
 
   Node ret;
-  if (options::cbqiBvIneqMode() == options::CbqiBvIneqMode::EQ_SLACK)
+  if (options::cegqiBvIneqMode() == options::CbqiBvIneqMode::EQ_SLACK)
   {
     // if using slack, we convert constraints to a positive equality based on
     // the current model M, e.g.:
@@ -233,7 +233,7 @@ bool BvInstantiator::processAssertion(CegInstantiator* ci,
 {
   // if option enabled, use approach for word-level inversion for BV
   // instantiation
-  if (options::cbqiBv())
+  if (options::cegqiBv())
   {
     // get the best rewritten form of lit for solving for pv
     //   this should remove instances of non-invertible operators, and
@@ -261,7 +261,7 @@ bool BvInstantiator::useModelValue(CegInstantiator* ci,
                                    Node pv,
                                    CegInstEffort effort)
 {
-  return effort < CEG_INST_EFFORT_FULL || options::cbqiFullEffort();
+  return effort < CEG_INST_EFFORT_FULL || options::cegqiFullEffort();
 }
 
 bool BvInstantiator::processAssertions(CegInstantiator* ci,
@@ -279,7 +279,7 @@ bool BvInstantiator::processAssertions(CegInstantiator* ci,
   Trace("cegqi-bv") << "BvInstantiator::processAssertions for " << pv
                     << std::endl;
   // if interleaving, do not do inversion half the time
-  if (options::cbqiBvInterleaveValue() && Random::getRandom().pickWithProb(0.5))
+  if (options::cegqiBvInterleaveValue() && Random::getRandom().pickWithProb(0.5))
   {
     Trace("cegqi-bv") << "...do not do instantiation for " << pv
                       << " (skip, based on heuristic)" << std::endl;
@@ -341,7 +341,7 @@ bool BvInstantiator::processAssertions(CegInstantiator* ci,
   // for constructing instantiations is exponential on the number of
   // variables in this quantifier prefix.
   bool ret = false;
-  bool tryMultipleInst = firstVar && options::cbqiMultiInst();
+  bool tryMultipleInst = firstVar && options::cegqiMultiInst();
   bool revertOnSuccess = tryMultipleInst;
   for (unsigned j = 0, size = iti->second.size(); j < size; j++)
   {
@@ -557,7 +557,7 @@ Node BvInstantiator::rewriteTermForSolvePv(
           bv::utils::mkConst(BitVector(bv::utils::getSize(pv), Integer(2))));
     }
 
-    if (options::cbqiBvLinearize() && contains_pv[lhs] && contains_pv[rhs])
+    if (options::cegqiBvLinearize() && contains_pv[lhs] && contains_pv[rhs])
     {
       Node result = utils::normalizePvEqual(pv, children, contains_pv);
       if (!result.isNull())
@@ -575,7 +575,7 @@ Node BvInstantiator::rewriteTermForSolvePv(
   }
   else if (n.getKind() == BITVECTOR_MULT || n.getKind() == BITVECTOR_PLUS)
   {
-    if (options::cbqiBvLinearize() && contains_pv[n])
+    if (options::cegqiBvLinearize() && contains_pv[n])
     {
       Node result;
       if (n.getKind() == BITVECTOR_MULT)
@@ -640,7 +640,7 @@ void BvInstantiatorPreprocess::registerCounterexampleLemma(
   // new lemmas
   std::vector<Node> new_lems;
 
-  if (options::cbqiBvRmExtract())
+  if (options::cegqiBvRmExtract())
   {
     NodeManager* nm = NodeManager::currentNM();
     Trace("cegqi-bv-pp") << "-----remove extracts..." << std::endl;
index e62de0840c4ee662ba7c03fc8b6ed7b7f050da7b..6b625fc735c96904b7fbedc3796f96276ba5115e 100644 (file)
@@ -294,7 +294,7 @@ CegHandledStatus CegInstantiator::isCbqiTerm(Node n)
           if (curr < ret)
           {
             ret = curr;
-            Trace("cbqi-debug2") << "Non-cbqi kind : " << cur.getKind()
+            Trace("cegqi-debug2") << "Non-cbqi kind : " << cur.getKind()
                                  << " in " << n << std::endl;
             if (curr == CEG_UNHANDLED)
             {
@@ -426,7 +426,7 @@ CegHandledStatus CegInstantiator::isCbqiQuant(Node q, QuantifiersEngine* qe)
   // if quantifier has a non-handled variable, then do not use cbqi
   // if quantifier has an APPLY_UF term, then do not use cbqi unless EPR
   CegHandledStatus ncbqiv = CegInstantiator::isCbqiQuantPrefix(q, qe);
-  Trace("cbqi-quant-debug") << "isCbqiQuantPrefix returned " << ncbqiv
+  Trace("cegqi-quant-debug") << "isCbqiQuantPrefix returned " << ncbqiv
                             << std::endl;
   if (ncbqiv == CEG_UNHANDLED)
   {
@@ -436,7 +436,7 @@ CegHandledStatus CegInstantiator::isCbqiQuant(Node q, QuantifiersEngine* qe)
   else
   {
     CegHandledStatus cbqit = CegInstantiator::isCbqiTerm(q);
-    Trace("cbqi-quant-debug") << "isCbqiTerm returned " << cbqit << std::endl;
+    Trace("cegqi-quant-debug") << "isCbqiTerm returned " << cbqit << std::endl;
     if (cbqit == CEG_UNHANDLED)
     {
       if (ncbqiv == CEG_HANDLED_UNCONDITIONAL)
@@ -457,7 +457,7 @@ CegHandledStatus CegInstantiator::isCbqiQuant(Node q, QuantifiersEngine* qe)
       ret = CEG_PARTIALLY_HANDLED;
     }
   }
-  if (ret == CEG_UNHANDLED && options::cbqiAll())
+  if (ret == CEG_UNHANDLED && options::cegqiAll())
   {
     // try but not exclusively
     ret = CEG_PARTIALLY_HANDLED;
@@ -549,7 +549,7 @@ void CegInstantiator::registerVariable(Node v)
   d_vars.push_back(v);
   d_vars_set.insert(v);
   TypeNode vtn = v.getType();
-  Trace("cbqi-proc-debug") << "Collect theory ids from type " << vtn << " of "
+  Trace("cegqi-proc-debug") << "Collect theory ids from type " << vtn << " of "
                            << v << std::endl;
   // collect relevant theories for this variable
   std::map<TypeNode, bool> visited;
@@ -623,11 +623,11 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf, unsigned i)
     }
     // If the above call fails, resort to using value in model. We do so if:
     // - we have yet to try an instantiation this round (or we are trying
-    //   multiple instantiations, indicated by options::cbqiMultiInst),
+    //   multiple instantiations, indicated by options::cegqiMultiInst),
     // - the instantiator uses model values at this effort or
     //   if we are solving for a subfield of a datatype (is_sv), and
     // - the instantiator allows model values.
-    if ((options::cbqiMultiInst() || !hasTriedInstantiation(pv))
+    if ((options::cegqiMultiInst() || !hasTriedInstantiation(pv))
         && (vinst->useModelValue(this, sf, pv, d_effort) || is_sv)
         && vinst->allowModelValue(this, sf, pv, d_effort))
     {
@@ -638,16 +638,16 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf, unsigned i)
       // Quantified Linear Arithmetic by Counterexample Guided Instantiation",
       // FMSD 2017. We throw an assertion failure if we detect a case where the
       // strategy was not monotonic.
-      if (options::cbqiNestedQE() && d_qe->getLogicInfo().isPure(THEORY_ARITH)
+      if (options::cegqiNestedQE() && d_qe->getLogicInfo().isPure(THEORY_ARITH)
           && d_qe->getLogicInfo().isLinear())
       {
-        Trace("cbqi-warn") << "Had to resort to model value." << std::endl;
+        Trace("cegqi-warn") << "Had to resort to model value." << std::endl;
         Assert(false);
       }
 #endif
       Node mv = getModelValue( pv );
       TermProperties pv_prop_m;
-      Trace("cbqi-inst-debug") << "[4] " << i << "...try model value " << mv << std::endl;
+      Trace("cegqi-inst-debug") << "[4] " << i << "...try model value " << mv << std::endl;
       d_curr_iphase[pv] = CEG_INST_PHASE_MVALUE;
       CegInstEffort prev = d_effort;
       if (d_effort < CEG_INST_EFFORT_STANDARD_MV)
@@ -662,7 +662,7 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf, unsigned i)
       d_effort = prev;
     }
 
-    Trace("cbqi-inst-debug") << "[No instantiation found for " << pv << "]" << std::endl;
+    Trace("cegqi-inst-debug") << "[No instantiation found for " << pv << "]" << std::endl;
     if (is_sv)
     {
       d_stack_vars.push_back( pv );
@@ -684,34 +684,34 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
   {
     pvr = d_qe->getMasterEqualityEngine()->getRepresentative(pv);
   }
-  Trace("cbqi-inst-debug") << "[Find instantiation for " << pv
+  Trace("cegqi-inst-debug") << "[Find instantiation for " << pv
                            << "], rep=" << pvr << ", instantiator is "
                            << vinst->identify() << std::endl;
   Node pv_value;
-  if (options::cbqiModel())
+  if (options::cegqiModel())
   {
     pv_value = getModelValue(pv);
-    Trace("cbqi-bound2") << "...M( " << pv << " ) = " << pv_value << std::endl;
+    Trace("cegqi-bound2") << "...M( " << pv << " ) = " << pv_value << std::endl;
   }
 
   //[1] easy case : pv is in the equivalence class as another term not
   // containing pv
   if (vinst->hasProcessEqualTerm(this, sf, pv, d_effort))
   {
-    Trace("cbqi-inst-debug")
+    Trace("cegqi-inst-debug")
         << "[1] try based on equivalence class." << std::endl;
     d_curr_iphase[pv] = CEG_INST_PHASE_EQC;
     std::map<Node, std::vector<Node> >::iterator it_eqc = d_curr_eqc.find(pvr);
     if (it_eqc != d_curr_eqc.end())
     {
       // std::vector< Node > eq_candidates;
-      Trace("cbqi-inst-debug2")
+      Trace("cegqi-inst-debug2")
           << "...eqc has size " << it_eqc->second.size() << std::endl;
       for (const Node& n : it_eqc->second)
       {
         if (n != pv)
         {
-          Trace("cbqi-inst-debug")
+          Trace("cegqi-inst-debug")
               << "...try based on equal term " << n << std::endl;
           // must be an eligible term
           if (isEligible(n))
@@ -741,7 +741,7 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
               {
                 return true;
               }
-              else if (!options::cbqiMultiInst() && hasTriedInstantiation(pv))
+              else if (!options::cegqiMultiInst() && hasTriedInstantiation(pv))
               {
                 return false;
               }
@@ -757,14 +757,14 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
       {
         return true;
       }
-      else if (!options::cbqiMultiInst() && hasTriedInstantiation(pv))
+      else if (!options::cegqiMultiInst() && hasTriedInstantiation(pv))
       {
         return false;
       }
     }
     else
     {
-      Trace("cbqi-inst-debug2") << "...eqc not found." << std::endl;
+      Trace("cegqi-inst-debug2") << "...eqc not found." << std::endl;
     }
   }
 
@@ -773,7 +773,7 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
   /// the variable
   if (vinst->hasProcessEquality(this, sf, pv, d_effort))
   {
-    Trace("cbqi-inst-debug")
+    Trace("cegqi-inst-debug")
         << "[2] try based on solving equalities." << std::endl;
     d_curr_iphase[pv] = CEG_INST_PHASE_EQUAL;
     std::vector<Node>& cteqc = d_curr_type_eqc[pvtnb];
@@ -787,7 +787,7 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
       Assert(it_reqc != d_curr_eqc.end());
       for (const Node& n : it_reqc->second)
       {
-        Trace("cbqi-inst-debug2") << "...look at term " << n << std::endl;
+        Trace("cegqi-inst-debug2") << "...look at term " << n << std::endl;
         // must be an eligible term
         if (isEligible(n))
         {
@@ -808,7 +808,7 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
           if (!ns.isNull())
           {
             bool hasVar = d_prog_var[ns].find(pv) != d_prog_var[ns].end();
-            Trace("cbqi-inst-debug2") << "... " << ns << " has var " << pv
+            Trace("cegqi-inst-debug2") << "... " << ns << " has var " << pv
                                       << " : " << hasVar << std::endl;
             std::vector<TermProperties> term_props;
             std::vector<Node> terms;
@@ -819,7 +819,7 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
               // if this term or the another has pv in it, try to solve for it
               if (hasVar || lhs_v[j])
               {
-                Trace("cbqi-inst-debug") << "......try based on equality "
+                Trace("cegqi-inst-debug") << "......try based on equality "
                                          << lhs[j] << " = " << ns << std::endl;
                 term_props.push_back(lhs_prop[j]);
                 terms.push_back(lhs[j]);
@@ -828,7 +828,7 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
                 {
                   return true;
                 }
-                else if (!options::cbqiMultiInst() && hasTriedInstantiation(pv))
+                else if (!options::cegqiMultiInst() && hasTriedInstantiation(pv))
                 {
                   return false;
                 }
@@ -842,14 +842,14 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
           }
           else
           {
-            Trace("cbqi-inst-debug2")
+            Trace("cegqi-inst-debug2")
                 << "... term " << n << " is ineligible after substitution."
                 << std::endl;
           }
         }
         else
         {
-          Trace("cbqi-inst-debug2")
+          Trace("cegqi-inst-debug2")
               << "... term " << n << " is ineligible." << std::endl;
         }
       }
@@ -860,13 +860,13 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
   {
     return false;
   }
-  Trace("cbqi-inst-debug") << "[3] try based on assertions." << std::endl;
+  Trace("cegqi-inst-debug") << "[3] try based on assertions." << std::endl;
   d_curr_iphase[pv] = CEG_INST_PHASE_ASSERTION;
   std::unordered_set<Node, NodeHashFunction> lits;
   for (unsigned r = 0; r < 2; r++)
   {
     TheoryId tid = r == 0 ? Theory::theoryOf(pvtn) : THEORY_UF;
-    Trace("cbqi-inst-debug2") << "  look at assertions of " << tid << std::endl;
+    Trace("cegqi-inst-debug2") << "  look at assertions of " << tid << std::endl;
     std::map<TheoryId, std::vector<Node> >::iterator ita =
         d_curr_asserts.find(tid);
     if (ita != d_curr_asserts.end())
@@ -877,18 +877,18 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
         {
           lits.insert(lit);
           Node plit;
-          if (options::cbqiRepeatLit() || !isSolvedAssertion(lit))
+          if (options::cegqiRepeatLit() || !isSolvedAssertion(lit))
           {
             plit = vinst->hasProcessAssertion(this, sf, pv, lit, d_effort);
           }
           if (!plit.isNull())
           {
-            Trace("cbqi-inst-debug2") << "  look at " << lit;
+            Trace("cegqi-inst-debug2") << "  look at " << lit;
             if (plit != lit)
             {
-              Trace("cbqi-inst-debug2") << "...processed to : " << plit;
+              Trace("cegqi-inst-debug2") << "...processed to : " << plit;
             }
-            Trace("cbqi-inst-debug2") << std::endl;
+            Trace("cegqi-inst-debug2") << std::endl;
             // apply substitutions
             Node slit = applySubstitutionToLiteral(plit, sf);
             if (!slit.isNull())
@@ -896,14 +896,14 @@ bool CegInstantiator::constructInstantiation(SolvedForm& sf,
               // check if contains pv
               if (hasVariable(slit, pv))
               {
-                Trace("cbqi-inst-debug")
+                Trace("cegqi-inst-debug")
                     << "...try based on literal " << slit << "," << std::endl;
-                Trace("cbqi-inst-debug") << "...from " << lit << std::endl;
+                Trace("cegqi-inst-debug") << "...from " << lit << std::endl;
                 if (vinst->processAssertion(this, sf, pv, slit, lit, d_effort))
                 {
                   return true;
                 }
-                else if (!options::cbqiMultiInst() && hasTriedInstantiation(pv))
+                else if (!options::cegqiMultiInst() && hasTriedInstantiation(pv))
                 {
                   return false;
                 }
@@ -939,14 +939,14 @@ bool CegInstantiator::constructInstantiationInc(Node pv,
   Node cnode = pv_prop.getCacheNode();
   if( d_curr_subs_proc[pv][n].find( cnode )==d_curr_subs_proc[pv][n].end() ){
     d_curr_subs_proc[pv][n][cnode] = true;
-    if( Trace.isOn("cbqi-inst-debug") ){
+    if( Trace.isOn("cegqi-inst-debug") ){
       for( unsigned j=0; j<sf.d_subs.size(); j++ ){
-        Trace("cbqi-inst-debug") << " ";
+        Trace("cegqi-inst-debug") << " ";
       }
-      Trace("cbqi-inst-debug") << sf.d_subs.size() << ": (" << d_curr_iphase[pv]
+      Trace("cegqi-inst-debug") << sf.d_subs.size() << ": (" << d_curr_iphase[pv]
                          << ") ";
       Node mod_pv = pv_prop.getModifiedTerm( pv );
-      Trace("cbqi-inst-debug") << mod_pv << " -> " << n << std::endl;
+      Trace("cegqi-inst-debug") << mod_pv << " -> " << n << std::endl;
       Assert(n.getType().isSubtypeOf(pv.getType()));
     }
     //must ensure variables have been computed for n
@@ -969,9 +969,9 @@ bool CegInstantiator::constructInstantiationInc(Node pv,
     std::map< int, TermProperties > prev_prop;
     std::map< int, Node > prev_sym_subs;
     std::vector< Node > new_non_basic;
-    Trace("cbqi-inst-debug2") << "Applying substitutions to previous substitution terms..." << std::endl;
+    Trace("cegqi-inst-debug2") << "Applying substitutions to previous substitution terms..." << std::endl;
     for( unsigned j=0; j<sf.d_subs.size(); j++ ){
-      Trace("cbqi-inst-debug2") << "  Apply for " << sf.d_subs[j]  << std::endl;
+      Trace("cegqi-inst-debug2") << "  Apply for " << sf.d_subs[j]  << std::endl;
       Assert(d_prog_var.find(sf.d_subs[j]) != d_prog_var.end());
       if( d_prog_var[sf.d_subs[j]].find( pv )!=d_prog_var[sf.d_subs[j]].end() ){
         prev_subs[j] = sf.d_subs[j];
@@ -1014,25 +1014,25 @@ bool CegInstantiator::constructInstantiationInc(Node pv,
             computeProgVars( sf.d_subs[j] );
             Assert(d_inelig.find(sf.d_subs[j]) == d_inelig.end());
           }
-          Trace("cbqi-inst-debug2") << "Subs " << j << " " << sf.d_subs[j] << std::endl;
+          Trace("cegqi-inst-debug2") << "Subs " << j << " " << sf.d_subs[j] << std::endl;
         }else{
-          Trace("cbqi-inst-debug2") << "...failed to apply substitution to " << sf.d_subs[j] << std::endl;
+          Trace("cegqi-inst-debug2") << "...failed to apply substitution to " << sf.d_subs[j] << std::endl;
           success = false;
           break;
         }
       }else{
-        Trace("cbqi-inst-debug2") << "Skip " << j << " " << sf.d_subs[j] << std::endl;
+        Trace("cegqi-inst-debug2") << "Skip " << j << " " << sf.d_subs[j] << std::endl;
       }
     }
     if( success ){
-      Trace("cbqi-inst-debug2") << "Adding to vectors..." << std::endl;
+      Trace("cegqi-inst-debug2") << "Adding to vectors..." << std::endl;
       sf.push_back( pv, n, pv_prop );
-      Trace("cbqi-inst-debug2") << "Recurse..." << std::endl;
+      Trace("cegqi-inst-debug2") << "Recurse..." << std::endl;
       unsigned i = d_curr_index[pv];
       success = constructInstantiation(sf, d_stack_vars.empty() ? i + 1 : i);
       if (!success || revertOnSuccess)
       {
-        Trace("cbqi-inst-debug2") << "Removing from vectors..." << std::endl;
+        Trace("cegqi-inst-debug2") << "Removing from vectors..." << std::endl;
         sf.pop_back( pv, n, pv_prop );
       }
     }
@@ -1040,7 +1040,7 @@ bool CegInstantiator::constructInstantiationInc(Node pv,
     {
       return true;
     }else{
-      Trace("cbqi-inst-debug2") << "Revert substitutions..." << std::endl;
+      Trace("cegqi-inst-debug2") << "Revert substitutions..." << std::endl;
       //revert substitution information
       for (std::map<int, Node>::iterator it = prev_subs.begin();
            it != prev_subs.end();
@@ -1068,7 +1068,7 @@ bool CegInstantiator::constructInstantiationInc(Node pv,
 bool CegInstantiator::doAddInstantiation( std::vector< Node >& vars, std::vector< Node >& subs, std::vector< Node >& lemmas ) {
   if (vars.size() > d_input_vars.size() || !d_var_order_index.empty())
   {
-    Trace("cbqi-inst-debug") << "Reconstructing instantiations...." << std::endl;
+    Trace("cegqi-inst-debug") << "Reconstructing instantiations...." << std::endl;
     std::map< Node, Node > subs_map;
     for( unsigned i=0; i<subs.size(); i++ ){
       subs_map[vars[i]] = subs[i];
@@ -1079,24 +1079,24 @@ bool CegInstantiator::doAddInstantiation( std::vector< Node >& vars, std::vector
       std::map<Node, Node>::iterator it = subs_map.find(d_input_vars[i]);
       Assert(it != subs_map.end());
       Node n = it->second;
-      Trace("cbqi-inst-debug") << "  " << d_input_vars[i] << " -> " << n
+      Trace("cegqi-inst-debug") << "  " << d_input_vars[i] << " -> " << n
                                << std::endl;
       Assert(n.getType().isSubtypeOf(d_input_vars[i].getType()));
       subs.push_back( n );
     }
   }
-  if (Trace.isOn("cbqi-inst"))
+  if (Trace.isOn("cegqi-inst"))
   {
-    Trace("cbqi-inst") << "Ceg Instantiator produced : " << std::endl;
+    Trace("cegqi-inst") << "Ceg Instantiator produced : " << std::endl;
     for (unsigned i = 0, size = d_input_vars.size(); i < size; ++i)
     {
       Node v = d_input_vars[i];
-      Trace("cbqi-inst") << i << " (" << d_curr_iphase[v] << ") : " 
+      Trace("cegqi-inst") << i << " (" << d_curr_iphase[v] << ") : " 
                          << v << " -> " << subs[i] << std::endl;
       Assert(subs[i].getType().isSubtypeOf(v.getType()));
     }
   }
-  Trace("cbqi-inst-debug") << "Do the instantiation...." << std::endl;
+  Trace("cegqi-inst-debug") << "Do the instantiation...." << std::endl;
   bool ret = d_parent->doAddInstantiation(subs);
   for( unsigned i=0; i<lemmas.size(); i++ ){
     d_parent->addLemma(lemmas[i]);
@@ -1154,10 +1154,10 @@ Node CegInstantiator::applySubstitution( TypeNode tn, Node n, std::vector< Node
   n = Rewriter::rewrite(n);
   computeProgVars( n );
   bool is_basic = canApplyBasicSubstitution( n, non_basic );
-  if( Trace.isOn("cegqi-si-apply-subs-debug") ){
-    Trace("cegqi-si-apply-subs-debug") << "is_basic = " << is_basic << "  " << tn << std::endl;
+  if( Trace.isOn("sygus-si-apply-subs-debug") ){
+    Trace("sygus-si-apply-subs-debug") << "is_basic = " << is_basic << "  " << tn << std::endl;
     for( unsigned i=0; i<subs.size(); i++ ){
-      Trace("cegqi-si-apply-subs-debug") << "  " << vars[i] << " -> " << subs[i] << "   types : " << vars[i].getType() << " -> " << subs[i].getType() << std::endl;
+      Trace("sygus-si-apply-subs-debug") << "  " << vars[i] << " -> " << subs[i] << "   types : " << vars[i].getType() << " -> " << subs[i].getType() << std::endl;
       Assert(subs[i].getType().isSubtypeOf(vars[i].getType()));
     }
   }
@@ -1215,7 +1215,7 @@ Node CegInstantiator::applySubstitution( TypeNode tn, Node n, std::vector< Node
         //make sum with normalized coefficient
         if( !pv_prop.d_coeff.isNull() ){
           pv_prop.d_coeff = Rewriter::rewrite( pv_prop.d_coeff );
-          Trace("cegqi-si-apply-subs-debug") << "Combined coeff : " << pv_prop.d_coeff << std::endl;
+          Trace("sygus-si-apply-subs-debug") << "Combined coeff : " << pv_prop.d_coeff << std::endl;
           std::vector< Node > children;
           for( std::map< Node, Node >::iterator it = msum.begin(); it != msum.end(); ++it ){
             Node c_coeff;
@@ -1235,7 +1235,7 @@ Node CegInstantiator::applySubstitution( TypeNode tn, Node n, std::vector< Node
               c = NodeManager::currentNM()->mkNode( MULT, c_coeff, msum_term[it->first] );
             }
             children.push_back( c );
-            Trace("cegqi-si-apply-subs-debug") << "Add child : " << c << std::endl;
+            Trace("sygus-si-apply-subs-debug") << "Add child : " << c << std::endl;
           }
           Node nretc = children.size()==1 ? children[0] : NodeManager::currentNM()->mkNode( PLUS, children );
           nretc = Rewriter::rewrite( nretc );
@@ -1245,14 +1245,14 @@ Node CegInstantiator::applySubstitution( TypeNode tn, Node n, std::vector< Node
             //result is ( nret / pv_prop.d_coeff )
             nret = nretc;
           }else{
-            Trace("cegqi-si-apply-subs-debug") << "Failed, since result " << nretc << " contains free variable." << std::endl;
+            Trace("sygus-si-apply-subs-debug") << "Failed, since result " << nretc << " contains free variable." << std::endl;
           }
         }else{
           //implies that we have a monomial that has a free variable
-          Trace("cegqi-si-apply-subs-debug") << "Failed to find coefficient during substitution, implies monomial with free variable." << std::endl;
+          Trace("sygus-si-apply-subs-debug") << "Failed to find coefficient during substitution, implies monomial with free variable." << std::endl;
         }
       }else{
-        Trace("cegqi-si-apply-subs-debug") << "Failed to find monomial sum " << n << std::endl;
+        Trace("sygus-si-apply-subs-debug") << "Failed to find monomial sum " << n << std::endl;
       }
     }
   }
@@ -1324,7 +1324,7 @@ bool CegInstantiator::check() {
       return true;
     }
   }
-  Trace("cbqi-engine") << "  WARNING : unable to find CEGQI single invocation instantiation." << std::endl;
+  Trace("cegqi-engine") << "  WARNING : unable to find CEGQI single invocation instantiation." << std::endl;
   return false;
 }
 
@@ -1344,7 +1344,7 @@ void collectPresolveEqTerms( Node n, std::map< Node, std::vector< Node > >& teq
                  == it->second.end())
       {
         it->second.push_back(nn);
-        Trace("cbqi-presolve") << "  - " << n[i] << " = " << nn << std::endl;
+        Trace("cegqi-presolve") << "  - " << n[i] << " = " << nn << std::endl;
       }
     }
   }
@@ -1393,7 +1393,7 @@ void CegInstantiator::presolve( Node q ) {
       Node lem = conj.size()==1 ? conj[0] : NodeManager::currentNM()->mkNode( AND, conj );
       Node g = NodeManager::currentNM()->mkSkolem( "g", NodeManager::currentNM()->booleanType() );
       lem = NodeManager::currentNM()->mkNode( OR, g, lem );
-      Trace("cbqi-presolve-debug") << "Presolve lemma : " << lem << std::endl;
+      Trace("cegqi-presolve-debug") << "Presolve lemma : " << lem << std::endl;
       Assert(!expr::hasFreeVar(lem));
       d_qe->getOutputChannel().lemma( lem, false, true );
     }
@@ -1401,7 +1401,7 @@ void CegInstantiator::presolve( Node q ) {
 }
 
 void CegInstantiator::processAssertions() {
-  Trace("cbqi-proc") << "--- Process assertions, #var = " << d_vars.size()
+  Trace("cegqi-proc") << "--- Process assertions, #var = " << d_vars.size()
                      << std::endl;
   d_curr_asserts.clear();
   d_curr_eqc.clear();
@@ -1414,12 +1414,12 @@ void CegInstantiator::processAssertions() {
   for( unsigned i=0; i<d_vars.size(); i++ ){
     Node pv = d_vars[i];
     TypeNode pvtn = pv.getType();
-    Trace("cbqi-proc-debug") << "Collect theory ids from type " << pvtn << " of " << pv << std::endl;
+    Trace("cegqi-proc-debug") << "Collect theory ids from type " << pvtn << " of " << pv << std::endl;
     //collect information about eqc
     if( ee->hasTerm( pv ) ){
       Node pvr = ee->getRepresentative( pv );
       if( d_curr_eqc.find( pvr )==d_curr_eqc.end() ){
-        Trace("cbqi-proc") << "Collect equivalence class " << pvr << std::endl;
+        Trace("cegqi-proc") << "Collect equivalence class " << pvr << std::endl;
         eq::EqClassIterator eqc_i = eq::EqClassIterator( pvr, ee );
         while( !eqc_i.isFinished() ){
           d_curr_eqc[pvr].push_back( *eqc_i );
@@ -1433,7 +1433,7 @@ void CegInstantiator::processAssertions() {
     TheoryId tid = d_tids[i];
     Theory* theory = d_qe->getTheoryEngine()->theoryOf( tid );
     if( theory && d_qe->getTheoryEngine()->isTheoryEnabled(tid) ){
-      Trace("cbqi-proc") << "Collect assertions from theory " << tid << std::endl;
+      Trace("cegqi-proc") << "Collect assertions from theory " << tid << std::endl;
       d_curr_asserts[tid].clear();
       //collect all assertions from theory
       for( context::CDList<Assertion>::const_iterator it = theory->facts_begin(); it != theory->facts_end(); ++ it) {
@@ -1441,15 +1441,15 @@ void CegInstantiator::processAssertions() {
         Node atom = lit.getKind()==NOT ? lit[0] : lit;
         if( d_is_nested_quant || std::find( d_ce_atoms.begin(), d_ce_atoms.end(), atom )!=d_ce_atoms.end() ){
           d_curr_asserts[tid].push_back( lit );
-          Trace("cbqi-proc-debug") << "...add : " << lit << std::endl;
+          Trace("cegqi-proc-debug") << "...add : " << lit << std::endl;
         }else{
-          Trace("cbqi-proc") << "...do not consider literal " << tid << " : " << lit << " since it is not part of CE body." << std::endl;
+          Trace("cegqi-proc") << "...do not consider literal " << tid << " : " << lit << " since it is not part of CE body." << std::endl;
         }
       }
     }
   }
   //collect equivalence classes that correspond to relevant theories
-  Trace("cbqi-proc-debug") << "...collect typed equivalence classes" << std::endl;
+  Trace("cegqi-proc-debug") << "...collect typed equivalence classes" << std::endl;
   eq::EqClassesIterator eqcs_i = eq::EqClassesIterator( ee );
   while( !eqcs_i.isFinished() ){
     Node r = *eqcs_i;
@@ -1460,18 +1460,18 @@ void CegInstantiator::processAssertions() {
       if( rtn.isInteger() || rtn.isReal() ){
         rtn = rtn.getBaseType();
       }
-      Trace("cbqi-proc-debug") << "...type eqc: " << r << std::endl;
+      Trace("cegqi-proc-debug") << "...type eqc: " << r << std::endl;
       d_curr_type_eqc[rtn].push_back( r );
       if( d_curr_eqc.find( r )==d_curr_eqc.end() ){
-        Trace("cbqi-proc") << "Collect equivalence class " << r << std::endl;
-        Trace("cbqi-proc-debug") << "  ";
+        Trace("cegqi-proc") << "Collect equivalence class " << r << std::endl;
+        Trace("cegqi-proc-debug") << "  ";
         eq::EqClassIterator eqc_i = eq::EqClassIterator( r, ee );
         while( !eqc_i.isFinished() ){
-          Trace("cbqi-proc-debug") << *eqc_i << " ";
+          Trace("cegqi-proc-debug") << *eqc_i << " ";
           d_curr_eqc[r].push_back( *eqc_i );
           ++eqc_i;
         }
-        Trace("cbqi-proc-debug") << std::endl;
+        Trace("cegqi-proc-debug") << std::endl;
       }
     }
     ++eqcs_i;
@@ -1486,13 +1486,13 @@ void CegInstantiator::processAssertions() {
       if( isEligible( n ) ){
         //must contain at least one variable
         if( !d_prog_var[n].empty() ){
-          Trace("cbqi-proc") << "...literal[" << it->first << "] : " << n << std::endl;
+          Trace("cegqi-proc") << "...literal[" << it->first << "] : " << n << std::endl;
           akeep.push_back( n );
         }else{
-          Trace("cbqi-proc") << "...remove literal from " << it->first << " : " << n << " since it contains no relevant variables." << std::endl;
+          Trace("cegqi-proc") << "...remove literal from " << it->first << " : " << n << " since it contains no relevant variables." << std::endl;
         }
       }else{
-        Trace("cbqi-proc") << "...remove literal from " << it->first << " : " << n << " since it contains ineligible terms." << std::endl;
+        Trace("cegqi-proc") << "...remove literal from " << it->first << " : " << n << " since it contains ineligible terms." << std::endl;
       }
     }
     it->second.clear();
@@ -1564,7 +1564,7 @@ void CegInstantiator::collectCeAtoms( Node n, std::map< Node, bool >& visited )
       }
     }else{
       if( std::find( d_ce_atoms.begin(), d_ce_atoms.end(), n )==d_ce_atoms.end() ){
-        Trace("cbqi-ce-atoms") << "CE atoms : " << n << std::endl;
+        Trace("cegqi-ce-atoms") << "CE atoms : " << n << std::endl;
         d_ce_atoms.push_back( n );
       }
     }
@@ -1572,7 +1572,7 @@ void CegInstantiator::collectCeAtoms( Node n, std::map< Node, bool >& visited )
 }
 
 void CegInstantiator::registerCounterexampleLemma( std::vector< Node >& lems, std::vector< Node >& ce_vars ) {
-  Trace("cbqi-reg") << "Register counterexample lemma..." << std::endl;
+  Trace("cegqi-reg") << "Register counterexample lemma..." << std::endl;
   d_input_vars.clear();
   d_input_vars.insert(d_input_vars.end(), ce_vars.begin(), ce_vars.end());
 
@@ -1581,12 +1581,12 @@ void CegInstantiator::registerCounterexampleLemma( std::vector< Node >& lems, st
   registerTheoryId(THEORY_UF);
   for (unsigned i = 0; i < ce_vars.size(); i++)
   {
-    Trace("cbqi-reg") << "  register input variable : " << ce_vars[i] << std::endl;
+    Trace("cegqi-reg") << "  register input variable : " << ce_vars[i] << std::endl;
     registerVariable(ce_vars[i]);
   }
 
   // preprocess with all relevant instantiator preprocessors
-  Trace("cbqi-debug") << "Preprocess based on theory-specific methods..."
+  Trace("cegqi-debug") << "Preprocess based on theory-specific methods..."
                       << std::endl;
   std::vector<Node> pvars;
   pvars.insert(pvars.end(), d_vars.begin(), d_vars.end());
@@ -1595,12 +1595,12 @@ void CegInstantiator::registerCounterexampleLemma( std::vector< Node >& lems, st
     p.second->registerCounterexampleLemma(lems, pvars);
   }
   // must register variables generated by preprocessors
-  Trace("cbqi-debug") << "Register variables from theory-specific methods "
+  Trace("cegqi-debug") << "Register variables from theory-specific methods "
                       << d_input_vars.size() << " " << pvars.size() << " ..."
                       << std::endl;
   for (unsigned i = d_input_vars.size(), size = pvars.size(); i < size; ++i)
   {
-    Trace("cbqi-reg") << "  register theory preprocess variable : " << pvars[i]
+    Trace("cegqi-reg") << "  register theory preprocess variable : " << pvars[i]
                       << std::endl;
     registerVariable(pvars[i]);
   }
@@ -1609,21 +1609,21 @@ void CegInstantiator::registerCounterexampleLemma( std::vector< Node >& lems, st
   IteSkolemMap iteSkolemMap;
   d_qe->getTheoryEngine()->getTermFormulaRemover()->run(lems, iteSkolemMap);
   for(IteSkolemMap::iterator i = iteSkolemMap.begin(); i != iteSkolemMap.end(); ++i) {
-    Trace("cbqi-reg") << "  register aux variable : " << i->first << std::endl;
+    Trace("cegqi-reg") << "  register aux variable : " << i->first << std::endl;
     registerVariable(i->first);
   }
   for( unsigned i=0; i<lems.size(); i++ ){
-    Trace("cbqi-debug") << "Counterexample lemma (pre-rewrite)  " << i << " : " << lems[i] << std::endl;
+    Trace("cegqi-debug") << "Counterexample lemma (pre-rewrite)  " << i << " : " << lems[i] << std::endl;
     Node rlem = lems[i];
     rlem = Rewriter::rewrite( rlem );
     // also must preprocess to ensure that the counterexample atoms we
     // collect below are identical to the atoms that we add to the CNF stream
     rlem = d_qe->getTheoryEngine()->preprocess(rlem);
-    Trace("cbqi-debug") << "Counterexample lemma (post-rewrite) " << i << " : " << rlem << std::endl;
+    Trace("cegqi-debug") << "Counterexample lemma (post-rewrite) " << i << " : " << rlem << std::endl;
     lems[i] = rlem;
   }
   // determine variable order: must do Reals before Ints
-  Trace("cbqi-debug") << "Determine variable order..." << std::endl;
+  Trace("cegqi-debug") << "Determine variable order..." << std::endl;
   if (!d_vars.empty())
   {
     std::map<Node, unsigned> voo;
@@ -1647,21 +1647,21 @@ void CegInstantiator::registerCounterexampleLemma( std::vector< Node >& lems, st
     }
     if (doSort)
     {
-      Trace("cbqi-debug") << "Sort variables based on ordering." << std::endl;
+      Trace("cegqi-debug") << "Sort variables based on ordering." << std::endl;
       for (std::pair<const TypeNode, std::vector<Node> >& vs : tvars)
       {
         vars.insert(vars.end(), vs.second.begin(), vs.second.end());
       }
 
-      Trace("cbqi-debug") << "Consider variables in this order : " << std::endl;
+      Trace("cegqi-debug") << "Consider variables in this order : " << std::endl;
       for (unsigned i = 0; i < vars.size(); i++)
       {
         d_var_order_index[voo[vars[i]]] = i;
-        Trace("cbqi-debug") << "  " << vars[i] << " : " << vars[i].getType()
+        Trace("cegqi-debug") << "  " << vars[i] << " : " << vars[i].getType()
                             << ", index was : " << voo[vars[i]] << std::endl;
         d_vars[i] = vars[i];
       }
-      Trace("cbqi-debug") << std::endl;
+      Trace("cegqi-debug") << std::endl;
     }
     else
     {
index 8273f2c9121be1bcb00f0b62f939e5cc574d84b2..208eb0bf8a487da6f829350ebc9b97cd4122be91 100644 (file)
@@ -66,7 +66,7 @@ InstStrategyCegqi::InstStrategyCegqi(QuantifiersEngine* qe)
   d_small_const =
       NodeManager::currentNM()->mkConst(Rational(1) / Rational(1000000));
   d_check_vts_lemma_lc = false;
-  if (options::cbqiBv())
+  if (options::cegqiBv())
   {
     // if doing instantiation for BV, need the inverter class
     d_bv_invert.reset(new quantifiers::BvInverter);
@@ -96,7 +96,7 @@ bool InstStrategyCegqi::registerCbqiLemma(Node q)
   if( !hasAddedCbqiLemma( q ) ){
     NodeManager* nm = NodeManager::currentNM();
     d_added_cbqi_lemma.insert( q );
-    Trace("cbqi-debug") << "Do cbqi for " << q << std::endl;
+    Trace("cegqi-debug") << "Do cbqi for " << q << std::endl;
     //add cbqi lemma
     //get the counterexample literal
     Node ceLit = getCounterexampleLiteral(q);
@@ -106,10 +106,10 @@ bool InstStrategyCegqi::registerCbqiLemma(Node q)
       Node lem = NodeManager::currentNM()->mkNode( OR, ceLit.negate(), ceBody.negate() );
       //require any decision on cel to be phase=true
       d_quantEngine->addRequirePhase( ceLit, true );
-      Debug("cbqi-debug") << "Require phase " << ceLit << " = true." << std::endl;
+      Debug("cegqi-debug") << "Require phase " << ceLit << " = true." << std::endl;
       //add counterexample lemma
       lem = Rewriter::rewrite( lem );
-      Trace("cbqi-lemma") << "Counterexample lemma : " << lem << std::endl;
+      Trace("cegqi-lemma") << "Counterexample lemma : " << lem << std::endl;
       registerCounterexampleLemma( q, lem );
       
       //totality lemmas for EPR
@@ -129,7 +129,7 @@ bool InstStrategyCegqi::registerCbqiLemma(Node q)
                   disj.push_back( ic.eqNode( itc->second[j] ) );
                 }
                 Node tlem = disj.size()==1 ? disj[0] : NodeManager::currentNM()->mkNode( kind::OR, disj );
-                Trace("cbqi-lemma") << "EPR totality lemma : " << tlem << std::endl;
+                Trace("cegqi-lemma") << "EPR totality lemma : " << tlem << std::endl;
                 d_quantEngine->getOutputChannel().lemma( tlem );
               }else{
                 Assert(false);
@@ -162,7 +162,7 @@ bool InstStrategyCegqi::registerCbqiLemma(Node q)
       if (!dep.empty())
       {
         Node dep_lemma = nm->mkNode(IMPLIES, ceLit, nm->mkNode(AND, dep));
-        Trace("cbqi-lemma")
+        Trace("cegqi-lemma")
             << "Counterexample dependency lemma : " << dep_lemma << std::endl;
         d_quantEngine->getOutputChannel().lemma(dep_lemma);
       }
@@ -174,14 +174,14 @@ bool InstStrategyCegqi::registerCbqiLemma(Node q)
         if( doCbqi( quants[i] ) ){
           registerCbqiLemma( quants[i] );
         }
-        if( options::cbqiNestedQE() ){
+        if( options::cegqiNestedQE() ){
           //record these as counterexample quantifiers
           QAttributes qa;
           QuantAttributes::computeQuantAttributes( quants[i], qa );
           if( !qa.d_qid_num.isNull() ){
             d_id_to_ce_quant[ qa.d_qid_num ] = quants[i];
             d_ce_quant_to_id[ quants[i] ] = qa.d_qid_num;
-            Trace("cbqi-nqe") << "CE quant id = " << qa.d_qid_num << " is " << quants[i] << std::endl;
+            Trace("cegqi-nqe") << "CE quant id = " << qa.d_qid_num << " is " << quants[i] << std::endl;
           }
         }
       }
@@ -226,21 +226,21 @@ void InstStrategyCegqi::reset_round(Theory::Effort effort)
       Assert(hasAddedCbqiLemma(q));
       if( d_quantEngine->getModel()->isQuantifierActive( q ) ){
         d_active_quant[q] = true;
-        Debug("cbqi-debug") << "Check quantified formula " << q << "..." << std::endl;
+        Debug("cegqi-debug") << "Check quantified formula " << q << "..." << std::endl;
         Node cel = getCounterexampleLiteral(q);
         bool value;
         if( d_quantEngine->getValuation().hasSatValue( cel, value ) ){
-          Debug("cbqi-debug") << "...CE Literal has value " << value << std::endl;
+          Debug("cegqi-debug") << "...CE Literal has value " << value << std::endl;
           if( !value ){
             if( d_quantEngine->getValuation().isDecision( cel ) ){
-              Trace("cbqi-warn") << "CBQI WARNING: Bad decision on CE Literal." << std::endl;
+              Trace("cegqi-warn") << "CBQI WARNING: Bad decision on CE Literal." << std::endl;
             }else{
-              Trace("cbqi") << "Inactive : " << q << std::endl;
+              Trace("cegqi") << "Inactive : " << q << std::endl;
               d_quantEngine->getModel()->setQuantifierActive( q, false );
               d_cbqi_set_quant_inactive = true;
               d_active_quant.erase( q );
               d_elim_quants.insert( q );
-              Trace("cbqi-nqe") << "Inactive, waitlist proc/size = " << d_nested_qe_waitlist_proc[q].get() << "/" << d_nested_qe_waitlist_size[q].get() << std::endl;
+              Trace("cegqi-nqe") << "Inactive, waitlist proc/size = " << d_nested_qe_waitlist_proc[q].get() << "/" << d_nested_qe_waitlist_size[q].get() << std::endl;
               //process from waitlist
               while( d_nested_qe_waitlist_proc[q]<d_nested_qe_waitlist_size[q] ){
                 int index = d_nested_qe_waitlist_proc[q];
@@ -249,43 +249,43 @@ void InstStrategyCegqi::reset_round(Theory::Effort effort)
                 Node nq = d_nested_qe_waitlist[q][index];
                 Node nqeqn = doNestedQENode( d_nested_qe_info[nq].d_q, q, nq, d_nested_qe_info[nq].d_inst_terms, d_nested_qe_info[nq].d_doVts );
                 Node dqelem = nq.eqNode( nqeqn ); 
-                Trace("cbqi-lemma") << "Delayed nested quantifier elimination lemma : " << dqelem << std::endl;
+                Trace("cegqi-lemma") << "Delayed nested quantifier elimination lemma : " << dqelem << std::endl;
                 d_quantEngine->getOutputChannel().lemma( dqelem );
                 d_nested_qe_waitlist_proc[q] = index + 1;
               }
             }
           }
         }else{
-          Debug("cbqi-debug") << "...CE Literal does not have value " << std::endl;
+          Debug("cegqi-debug") << "...CE Literal does not have value " << std::endl;
         }
       }
     }
   }
 
   //refinement: only consider innermost active quantified formulas
-  if( options::cbqiInnermost() ){
+  if( options::cegqiInnermost() ){
     if( !d_children_quant.empty() && !d_active_quant.empty() ){
-      Trace("cbqi-debug") << "Find non-innermost quantifiers..." << std::endl;
+      Trace("cegqi-debug") << "Find non-innermost quantifiers..." << std::endl;
       std::vector< Node > ninner;
       for( std::map< Node, bool >::iterator it = d_active_quant.begin(); it != d_active_quant.end(); ++it ){
         std::map< Node, std::vector< Node > >::iterator itc = d_children_quant.find( it->first );
         if( itc!=d_children_quant.end() ){
           for( unsigned j=0; j<itc->second.size(); j++ ){
             if( d_active_quant.find( itc->second[j] )!=d_active_quant.end() ){
-              Trace("cbqi-debug") << "Do not consider " << it->first << " since it is not innermost (" << itc->second[j] << std::endl;
+              Trace("cegqi-debug") << "Do not consider " << it->first << " since it is not innermost (" << itc->second[j] << std::endl;
               ninner.push_back( it->first );
               break;
             }
           }
         }
       } 
-      Trace("cbqi-debug") << "Found " << ninner.size() << " non-innermost." << std::endl;
+      Trace("cegqi-debug") << "Found " << ninner.size() << " non-innermost." << std::endl;
       for( unsigned i=0; i<ninner.size(); i++ ){
         Assert(d_active_quant.find(ninner[i]) != d_active_quant.end());
         d_active_quant.erase( ninner[i] );
       }
       Assert(!d_active_quant.empty());
-      Trace("cbqi-debug") << "...done removing." << std::endl;
+      Trace("cegqi-debug") << "...done removing." << std::endl;
     }
   }
   d_check_vts_lemma_lc = false;
@@ -297,9 +297,9 @@ void InstStrategyCegqi::check(Theory::Effort e, QEffort quant_e)
   {
     Assert(!d_quantEngine->inConflict());
     double clSet = 0;
-    if( Trace.isOn("cbqi-engine") ){
+    if( Trace.isOn("cegqi-engine") ){
       clSet = double(clock())/double(CLOCKS_PER_SEC);
-      Trace("cbqi-engine") << "---Cbqi Engine Round, effort = " << e << "---" << std::endl;
+      Trace("cegqi-engine") << "---Cbqi Engine Round, effort = " << e << "---" << std::endl;
     }
     unsigned lastWaiting = d_quantEngine->getNumLemmasWaiting();
     for( int ee=0; ee<=1; ee++ ){
@@ -308,14 +308,14 @@ void InstStrategyCegqi::check(Theory::Effort e, QEffort quant_e)
       //  if( doCbqi( q ) && d_quantEngine->getModel()->isQuantifierActive( q ) ){
       for( std::map< Node, bool >::iterator it = d_active_quant.begin(); it != d_active_quant.end(); ++it ){
         Node q = it->first;
-        Trace("cbqi") << "CBQI : Process quantifier " << q[0] << " at effort " << ee << std::endl;
+        Trace("cegqi") << "CBQI : Process quantifier " << q[0] << " at effort " << ee << std::endl;
         if( d_nested_qe.find( q )==d_nested_qe.end() ){
           process( q, e, ee );
           if( d_quantEngine->inConflict() ){
             break;
           }
         }else{
-          Trace("cbqi-warn") << "CBQI : Cannot process already eliminated quantified formula " << q << std::endl;
+          Trace("cegqi-warn") << "CBQI : Cannot process already eliminated quantified formula " << q << std::endl;
           Assert(false);
         }
       }
@@ -323,19 +323,19 @@ void InstStrategyCegqi::check(Theory::Effort e, QEffort quant_e)
         break;
       }
     }
-    if( Trace.isOn("cbqi-engine") ){
+    if( Trace.isOn("cegqi-engine") ){
       if( d_quantEngine->getNumLemmasWaiting()>lastWaiting ){
-        Trace("cbqi-engine") << "Added lemmas = " << (d_quantEngine->getNumLemmasWaiting()-lastWaiting) << std::endl;
+        Trace("cegqi-engine") << "Added lemmas = " << (d_quantEngine->getNumLemmasWaiting()-lastWaiting) << std::endl;
       }
       double clSet2 = double(clock())/double(CLOCKS_PER_SEC);
-      Trace("cbqi-engine") << "Finished cbqi engine, time = " << (clSet2-clSet) << std::endl;
+      Trace("cegqi-engine") << "Finished cbqi engine, time = " << (clSet2-clSet) << std::endl;
     }
   }
 }
 
 bool InstStrategyCegqi::checkComplete()
 {
-  if( ( !options::cbqiSat() && d_cbqi_set_quant_inactive ) || d_incomplete_check ){
+  if( ( !options::cegqiSat() && d_cbqi_set_quant_inactive ) || d_incomplete_check ){
     return false;
   }else{
     return true;
@@ -415,7 +415,7 @@ void InstStrategyCegqi::checkOwnership(Node q)
 void InstStrategyCegqi::preRegisterQuantifier(Node q)
 {
   // mark all nested quantifiers with id
-  if (options::cbqiNestedQE())
+  if (options::cegqiNestedQE())
   {
     if( d_quantEngine->getOwner(q)==this )
     {
@@ -436,20 +436,20 @@ void InstStrategyCegqi::preRegisterQuantifier(Node q)
         }
         Node qq = NodeManager::currentNM()->mkNode(FORALL, qqc);
         Node mlem = NodeManager::currentNM()->mkNode(IMPLIES, q, qq);
-        Trace("cbqi-lemma") << "Mark quant id lemma : " << mlem << std::endl;
+        Trace("cegqi-lemma") << "Mark quant id lemma : " << mlem << std::endl;
         d_quantEngine->addLemma(mlem);
       }
     }
   }
   if( doCbqi( q ) ){
     // get the instantiator
-    if (options::cbqiPreRegInst())
+    if (options::cegqiPreRegInst())
     {
       getInstantiator(q);
     }
     // register the cbqi lemma
     if( registerCbqiLemma( q ) ){
-      Trace("cbqi") << "Registered cbqi lemma for quantifier : " << q << std::endl;
+      Trace("cegqi") << "Registered cbqi lemma for quantifier : " << q << std::endl;
     }
   }
 }
@@ -466,7 +466,7 @@ Node InstStrategyCegqi::rewriteInstantiation(Node q,
     inst = d_vtsCache->rewriteVtsSymbols(inst);
     Trace("quant-vts-debug") << "...got " << inst << std::endl;
   }
-  if (options::cbqiNestedQE())
+  if (options::cegqiNestedQE())
   {
     inst = doNestedQE(q, terms, inst, doVts);
   }
@@ -488,9 +488,9 @@ Node InstStrategyCegqi::doNestedQENode(
   // in this case, q is equivalent to the quantifier-free formula C[t].
   if( d_nested_qe.find( ceq )==d_nested_qe.end() ){
     d_nested_qe[ceq] = d_quantEngine->getInstantiatedConjunction( ceq );
-    Trace("cbqi-nqe") << "CE quantifier elimination : " << std::endl;
-    Trace("cbqi-nqe") << "  " << ceq << std::endl; 
-    Trace("cbqi-nqe") << "  " << d_nested_qe[ceq] << std::endl;
+    Trace("cegqi-nqe") << "CE quantifier elimination : " << std::endl;
+    Trace("cegqi-nqe") << "  " << ceq << std::endl; 
+    Trace("cegqi-nqe") << "  " << d_nested_qe[ceq] << std::endl;
     //should not contain quantifiers
     Assert(!expr::hasClosure(d_nested_qe[ceq]));
   }
@@ -505,9 +505,9 @@ Node InstStrategyCegqi::doNestedQENode(
     ret = Rewriter::rewrite( ret );
     ret = d_vtsCache->rewriteVtsSymbols(ret);
   }
-  Trace("cbqi-nqe") << "Nested quantifier elimination: " << std::endl;
-  Trace("cbqi-nqe") << "  " << n << std::endl; 
-  Trace("cbqi-nqe") << "  " << ret << std::endl;
+  Trace("cegqi-nqe") << "Nested quantifier elimination: " << std::endl;
+  Trace("cegqi-nqe") << "  " << n << std::endl; 
+  Trace("cegqi-nqe") << "  " << ret << std::endl;
   return ret;
 }
 
@@ -531,10 +531,10 @@ Node InstStrategyCegqi::doNestedQERec(Node q,
           if( doNestedQe ){
             ret = doNestedQENode( q, ceq, n, inst_terms, doVts );
           }else{
-            Trace("cbqi-nqe") << "Add to nested qe waitlist : " << std::endl;
+            Trace("cegqi-nqe") << "Add to nested qe waitlist : " << std::endl;
             Node nr = Rewriter::rewrite( n );
-            Trace("cbqi-nqe") << "  " << ceq << std::endl;
-            Trace("cbqi-nqe") << "  " << nr << std::endl;
+            Trace("cegqi-nqe") << "  " << ceq << std::endl;
+            Trace("cegqi-nqe") << "  " << nr << std::endl;
             int wlsize = d_nested_qe_waitlist_size[ceq] + 1;
             d_nested_qe_waitlist_size[ceq] = wlsize;
             if( wlsize<(int)d_nested_qe_waitlist[ceq].size() ){
@@ -547,7 +547,7 @@ Node InstStrategyCegqi::doNestedQERec(Node q,
             d_nested_qe_info[nr].d_inst_terms.insert( d_nested_qe_info[nr].d_inst_terms.end(), inst_terms.begin(), inst_terms.end() );
             d_nested_qe_info[nr].d_doVts = doVts;
             //TODO: ensure this holds by restricting prenex when cbqiNestedQe is true.
-            Assert(!options::cbqiInnermost());
+            Assert(!options::cegqiInnermost());
           }
         } 
       } 
@@ -599,7 +599,7 @@ void InstStrategyCegqi::registerCounterexampleLemma(Node q, Node lem)
   cinst->registerCounterexampleLemma(lems, ce_vars);
   for (unsigned i = 0, size = lems.size(); i < size; i++)
   {
-    Trace("cbqi-debug") << "Counterexample lemma " << i << " : " << lems[i]
+    Trace("cegqi-debug") << "Counterexample lemma " << i << " : " << lems[i]
                         << std::endl;
     d_quantEngine->addLemma(lems[i], false);
   }
@@ -610,7 +610,7 @@ bool InstStrategyCegqi::doCbqi(Node q)
   std::map<Node, CegHandledStatus>::iterator it = d_do_cbqi.find(q);
   if( it==d_do_cbqi.end() ){
     CegHandledStatus ret = CegInstantiator::isCbqiQuant(q, d_quantEngine);
-    Trace("cbqi-quant") << "doCbqi " << q << " returned " << ret << std::endl;
+    Trace("cegqi-quant") << "doCbqi " << q << " returned " << ret << std::endl;
     d_do_cbqi[q] = ret;
     return ret != CEG_UNHANDLED;
   }
@@ -687,7 +687,7 @@ bool InstStrategyCegqi::doAddInstantiation( std::vector< Node >& subs ) {
       return true;
     }else{
       //this should never happen for monotonic selection strategies
-      Trace("cbqi-warn") << "WARNING: Existing instantiation" << std::endl;
+      Trace("cegqi-warn") << "WARNING: Existing instantiation" << std::endl;
       return false;
     }
   }
@@ -719,13 +719,13 @@ BvInverter* InstStrategyCegqi::getBvInverter() const
 }
 
 void InstStrategyCegqi::presolve() {
-  if (!options::cbqiPreRegInst())
+  if (!options::cegqiPreRegInst())
   {
     return;
   }
   for (std::pair<const Node, std::unique_ptr<CegInstantiator>>& ci : d_cinst)
   {
-    Trace("cbqi-presolve") << "Presolve " << ci.first << std::endl;
+    Trace("cegqi-presolve") << "Presolve " << ci.first << std::endl;
     ci.second->presolve(ci.first);
   }
 }
index ee629156492c1b445901974cfcacf3fc2fc9e47f..784453838ebaf999f59dce9c47833fee8ba579de 100644 (file)
@@ -31,7 +31,7 @@ using namespace CVC4::theory;
 using namespace CVC4::theory::inst;
 
 bool CandidateGenerator::isLegalCandidate( Node n ){
-  return d_qe->getTermDatabase()->isTermActive( n ) && ( !options::cbqi() || !quantifiers::TermUtil::hasInstConstAttr(n) );
+  return d_qe->getTermDatabase()->isTermActive( n ) && ( !options::cegqi() || !quantifiers::TermUtil::hasInstConstAttr(n) );
 }
 
 CandidateGeneratorQE::CandidateGeneratorQE(QuantifiersEngine* qe, Node pat)
index 964d2e492aa67fe3a098b902a4a8c12147092afa..a95944bedb4ffe98182d23bd9b7fec1b7bd7dd03 100644 (file)
@@ -1053,7 +1053,7 @@ InstMatchGeneratorSimple::InstMatchGeneratorSimple(Node q,
   Assert(Trigger::isSimpleTrigger(d_match_pattern));
   for( unsigned i=0; i<d_match_pattern.getNumChildren(); i++ ){
     if( d_match_pattern[i].getKind()==INST_CONSTANT ){
-      if( !options::cbqi() || quantifiers::TermUtil::getInstConstAttr(d_match_pattern[i])==q ){
+      if( !options::cegqi() || quantifiers::TermUtil::getInstConstAttr(d_match_pattern[i])==q ){
         d_var_num[i] = d_match_pattern[i].getAttribute(InstVarNumAttribute());
       }else{
         d_var_num[i] = -1;
index 355375d064df0155113033cc6d179e792765e18c..f806234efacafbd01f1f5c2bb58a9c9308c68119 100644 (file)
@@ -230,7 +230,7 @@ int EqualityQueryQuantifiersEngine::getRepScore(Node n,
                                                 int index,
                                                 TypeNode v_tn)
 {
-  if( options::cbqi() && quantifiers::TermUtil::hasInstConstAttr(n) ){  //reject
+  if( options::cegqi() && quantifiers::TermUtil::hasInstConstAttr(n) ){  //reject
     return -2;
   }else if( !n.getType().isSubtypeOf( v_tn ) ){  //reject if incorrect type
     return -2;
index 6c17746ef204bb0944a2d11dbf6c6f18d928025a..9388f2dba7361ae204a6ccecac3e9bdbad5b1524 100644 (file)
@@ -207,7 +207,7 @@ bool InstStrategyEnum::process(Node f, bool fullEffort, bool isRd)
         for (unsigned j = 0; j < ts; j++)
         {
           Node gt = tdb->getTypeGroundTerm(ftypes[i], j);
-          if (!options::cbqi() || !quantifiers::TermUtil::hasInstConstAttr(gt))
+          if (!options::cegqi() || !quantifiers::TermUtil::hasInstConstAttr(gt))
           {
             Node rep = qy->getRepresentative(gt);
             if (reps_found.find(rep) == reps_found.end())
index 218753308e55fae65582655cbbf67ee70c1fb54e..89e2678fcfb279b90f7edd6261f72d1cd0c7a8b6 100644 (file)
@@ -146,7 +146,7 @@ bool Instantiate::addInstantiation(
                     << std::endl;
       bad_inst = true;
     }
-    else if (options::cbqi())
+    else if (options::cegqi())
     {
       Node icf = quantifiers::TermUtil::getInstConstAttr(terms[i]);
       if (!icf.isNull())
index 511eb6d7915c7b2527c42663ddae391287ef030d..2d1cf65312e3f2cf0bf7ad079b0484b2ff7ca614 100644 (file)
@@ -1925,7 +1925,7 @@ void QuantConflictFind::reset_round( Theory::Effort level ) {
     if (tdb->hasTermCurrent(r))
     {
       TypeNode rtn = r.getType();
-      if (!options::cbqi() || !TermUtil::hasInstConstAttr(r))
+      if (!options::cegqi() || !TermUtil::hasInstConstAttr(r))
       {
         d_eqcs[rtn].push_back(r);
       }
index 27d77dfbb640aa5c532d9080c0fe18f95b373695..ec1b9e71a3f6d58f978f17a291cb5c5094986373 100644 (file)
@@ -56,7 +56,7 @@ void CegSingleInv::initialize(Node q)
   Assert(d_quant.isNull());
   d_quant = q;
   d_simp_quant = q;
-  Trace("cegqi-si") << "CegSingleInv::initialize : " << q << std::endl;
+  Trace("sygus-si") << "CegSingleInv::initialize : " << q << std::endl;
   // infer single invocation-ness
 
   // get the variables
@@ -87,13 +87,13 @@ void CegSingleInv::initialize(Node q)
   // process the single invocation-ness of the property
   if (!d_sip->init(progs, qq))
   {
-    Trace("cegqi-si") << "...not single invocation (type mismatch)"
+    Trace("sygus-si") << "...not single invocation (type mismatch)"
                       << std::endl;
     return;
   }
-  Trace("cegqi-si") << "- Partitioned to single invocation parts : "
+  Trace("sygus-si") << "- Partitioned to single invocation parts : "
                     << std::endl;
-  d_sip->debugPrint("cegqi-si");
+  d_sip->debugPrint("sygus-si");
 
   // map from program to bound variables
   std::vector<Node> funcs;
@@ -142,7 +142,7 @@ void CegSingleInv::initialize(Node q)
     return;
   }
   // if we are doing invariant templates, then construct the template
-  Trace("cegqi-si") << "- Do transition inference..." << std::endl;
+  Trace("sygus-si") << "- Do transition inference..." << std::endl;
   d_ti[q].process(qq, q[0][0]);
   Trace("cegqi-inv") << std::endl;
   Node prog = d_ti[q].getFunction();
@@ -194,7 +194,7 @@ void CegSingleInv::initialize(Node q)
           .negate();
   d_simp_quant = Rewriter::rewrite(d_simp_quant);
   d_simp_quant = nm->mkNode(FORALL, q[0], d_simp_quant, q[2]);
-  Trace("cegqi-si") << "Rewritten quantifier : " << d_simp_quant << std::endl;
+  Trace("sygus-si") << "Rewritten quantifier : " << d_simp_quant << std::endl;
 
   // construct template argument
   d_templ_arg[prog] = nm->mkSkolem("I", invariant.getType());
@@ -273,21 +273,21 @@ void CegSingleInv::initialize(Node q)
 
 void CegSingleInv::finishInit(bool syntaxRestricted)
 {
-  Trace("cegqi-si-debug") << "Single invocation: finish init" << std::endl;
+  Trace("sygus-si-debug") << "Single invocation: finish init" << std::endl;
   // do not do single invocation if grammar is restricted and
   // options::CegqiSingleInvMode::ALL is not enabled
   if (options::cegqiSingleInvMode() == options::CegqiSingleInvMode::USE
       && d_single_invocation && syntaxRestricted)
   {
     d_single_invocation = false;
-    Trace("cegqi-si") << "...grammar is restricted, do not use single invocation techniques." << std::endl;
+    Trace("sygus-si") << "...grammar is restricted, do not use single invocation techniques." << std::endl;
   }
 
   // we now have determined whether we will do single invocation techniques
   if (!d_single_invocation)
   {
     d_single_inv = Node::null();
-    Trace("cegqi-si") << "Formula is not single invocation." << std::endl;
+    Trace("sygus-si") << "Formula is not single invocation." << std::endl;
     if (options::cegqiSingleInvAbort())
     {
       std::stringstream ss;
@@ -320,7 +320,7 @@ void CegSingleInv::finishInit(bool syntaxRestricted)
                                          sivars.end(),
                                          d_single_inv_arg_sk.begin(),
                                          d_single_inv_arg_sk.end());
-  Trace("cegqi-si") << "Single invocation formula is : " << d_single_inv
+  Trace("sygus-si") << "Single invocation formula is : " << d_single_inv
                     << std::endl;
   // check whether we can handle this quantified formula
   CegHandledStatus status = CEG_HANDLED;
@@ -332,10 +332,10 @@ void CegSingleInv::finishInit(bool syntaxRestricted)
       status = CegInstantiator::isCbqiQuant(d_single_inv);
     }
   }
-  Trace("cegqi-si") << "CegHandledStatus is " << status << std::endl;
+  Trace("sygus-si") << "CegHandledStatus is " << status << std::endl;
   if (status < CEG_HANDLED)
   {
-    Trace("cegqi-si") << "...do not invoke single invocation techniques since "
+    Trace("sygus-si") << "...do not invoke single invocation techniques since "
                          "the quantified formula does not have a handled "
                          "counterexample-guided instantiation strategy!"
                       << std::endl;
@@ -356,7 +356,7 @@ bool CegSingleInv::solve()
     // already solved, probably via a call to solveTrivial.
     return true;
   }
-  Trace("cegqi-si") << "Solve using single invocation..." << std::endl;
+  Trace("sygus-si") << "Solve using single invocation..." << std::endl;
   NodeManager* nm = NodeManager::currentNM();
   // Mark the quantified formula with the quantifier elimination attribute to
   // ensure its structure is preserved in the query below.
@@ -378,7 +378,7 @@ bool CegSingleInv::solve()
   siSmt.setLogic(smt::currentSmtEngine()->getLogicInfo());
   siSmt.assertFormula(siq.toExpr());
   Result r = siSmt.checkSat();
-  Trace("cegqi-si") << "Result: " << r << std::endl;
+  Trace("sygus-si") << "Result: " << r << std::endl;
   if (r.asSatisfiabilityResult().isSat() != Result::UNSAT)
   {
     // conjecture is infeasible or unknown
@@ -389,7 +389,7 @@ bool CegSingleInv::solve()
   siSmt.getInstantiatedQuantifiedFormulas(qs);
   Assert(qs.size() <= 1);
   // track the instantiations, as solution construction is based on this
-  Trace("cegqi-si") << "#instantiated quantified formulas=" << qs.size()
+  Trace("sygus-si") << "#instantiated quantified formulas=" << qs.size()
                     << std::endl;
   d_inst.clear();
   d_instConds.clear();
@@ -399,7 +399,7 @@ bool CegSingleInv::solve()
     Assert(qn.getKind() == FORALL);
     std::vector<std::vector<Expr> > tvecs;
     siSmt.getInstantiationTermVectors(q, tvecs);
-    Trace("cegqi-si") << "#instantiations of " << q << "=" << tvecs.size()
+    Trace("sygus-si") << "#instantiations of " << q << "=" << tvecs.size()
                       << std::endl;
     std::vector<Node> vars;
     for (const Node& v : qn[0])
@@ -415,14 +415,14 @@ bool CegSingleInv::solve()
       {
         inst.push_back(Node::fromExpr(t));
       }
-      Trace("cegqi-si") << "  Instantiation: " << inst << std::endl;
+      Trace("sygus-si") << "  Instantiation: " << inst << std::endl;
       d_inst.push_back(inst);
       Assert(inst.size() == vars.size());
       Node ilem =
           body.substitute(vars.begin(), vars.end(), inst.begin(), inst.end());
       ilem = Rewriter::rewrite(ilem);
       d_instConds.push_back(ilem);
-      Trace("cegqi-si") << "  Instantiation Lemma: " << ilem << std::endl;
+      Trace("sygus-si") << "  Instantiation Lemma: " << ilem << std::endl;
     }
   }
   d_isSolved = true;
@@ -654,7 +654,7 @@ bool CegSingleInv::solveTrivial(Node q)
   // if we solved all arguments
   if (args.empty() && body.isConst() && !body.getConst<bool>())
   {
-    Trace("cegqi-si-trivial-solve")
+    Trace("sygus-si-trivial-solve")
         << q << " is trivially solvable by substitution " << vars << " -> "
         << subs << std::endl;
     std::map<Node, Node> imap;
@@ -673,7 +673,7 @@ bool CegSingleInv::solveTrivial(Node q)
     d_isSolved = true;
     return true;
   }
-  Trace("cegqi-si-trivial-solve")
+  Trace("sygus-si-trivial-solve")
       << q << " is not trivially solvable." << std::endl;
   return false;
 }
index dfef0bad45ba467e88059b1ad7ddf8d83a9cf220..0c11baeccd822bb7f4e6f0fceba87a11f3840966 100644 (file)
@@ -138,7 +138,7 @@ bool Cegis::addEvalLemmas(const std::vector<Node>& candidates,
   // constructors.
   if (!d_usingSymCons)
   {
-    Trace("cegqi-engine") << "  *** Do refinement lemma evaluation"
+    Trace("sygus-engine") << "  *** Do refinement lemma evaluation"
                           << (doGen ? " with conjecture-specific refinement"
                                     : "")
                           << "..." << std::endl;
@@ -168,7 +168,7 @@ bool Cegis::addEvalLemmas(const std::vector<Node>& candidates,
       // just check whether the refinement lemmas are satisfied, fail if not
       if (checkRefinementEvalLemmas(candidates, candidate_values))
       {
-        Trace("cegqi-engine") << "...(actively enumerated) candidate failed "
+        Trace("sygus-engine") << "...(actively enumerated) candidate failed "
                                  "refinement lemma evaluation."
                               << std::endl;
         return true;
@@ -179,7 +179,7 @@ bool Cegis::addEvalLemmas(const std::vector<Node>& candidates,
   bool doEvalUnfold = (doGen && options::sygusEvalUnfold()) || d_usingSymCons;
   if (doEvalUnfold)
   {
-    Trace("cegqi-engine") << "  *** Do evaluation unfolding..." << std::endl;
+    Trace("sygus-engine") << "  *** Do evaluation unfolding..." << std::endl;
     std::vector<Node> eager_terms, eager_vals, eager_exps;
     for (unsigned i = 0, size = candidates.size(); i < size; ++i)
     {
@@ -627,7 +627,7 @@ bool Cegis::sampleAddRefinementLemma(const std::vector<Node>& candidates,
                                      const std::vector<Node>& vals,
                                      std::vector<Node>& lems)
 {
-  Trace("cegqi-engine") << "  *** Do sample add refinement..." << std::endl;
+  Trace("sygus-engine") << "  *** Do sample add refinement..." << std::endl;
   if (Trace.isOn("cegis-sample"))
   {
     Trace("cegis-sample") << "Check sampling for candidate solution"
@@ -681,7 +681,7 @@ bool Cegis::sampleAddRefinementLemma(const std::vector<Node>& candidates,
             }
             Trace("cegis-sample") << std::endl;
           }
-          Trace("cegqi-engine") << "  *** Refine by sampling" << std::endl;
+          Trace("sygus-engine") << "  *** Refine by sampling" << std::endl;
           addRefinementLemma(rlem);
           // if trust, we are not interested in sending out refinement lemmas
           if (options::cegisSample() != options::CegisSampleMode::TRUST)
index 3590e76f10040dd4769f779005e02bfb639e7153..ce3c94914a6f7bf52b1c458a51a7065d53a87830 100644 (file)
@@ -781,7 +781,7 @@ bool SygusEnumerator::TermEnumMaster::incrementInternal()
         }
         if (doTerminate)
         {
-          Trace("cegqi-engine") << "master(" << d_tn << "): complete at size "
+          Trace("sygus-engine") << "master(" << d_tn << "): complete at size "
                                 << d_currSize << std::endl;
           tc.setComplete();
           return false;
@@ -793,12 +793,12 @@ bool SygusEnumerator::TermEnumMaster::incrementInternal()
     d_currSize++;
     Trace("sygus-enum-debug2") << "master(" << d_tn
                                << "): size++ : " << d_currSize << "\n";
-    if (Trace.isOn("cegqi-engine"))
+    if (Trace.isOn("sygus-engine"))
     {
       // am i the master enumerator? if so, print
       if (d_se->d_tlEnum == this)
       {
-        Trace("cegqi-engine") << "SygusEnumerator::size = " << d_currSize
+        Trace("sygus-engine") << "SygusEnumerator::size = " << d_currSize
                               << std::endl;
       }
     }
index df41672e2f6a703302142af7f2e927a31f8fd842..aa0dc8e5ea198f2f96afab4eb6720921b8f0ace2 100644 (file)
@@ -256,7 +256,7 @@ bool SygusRepairConst::repairSolution(Node sygusBody,
     }
   }
 
-  Trace("cegqi-engine") << "Repairing previous solution..." << std::endl;
+  Trace("sygus-engine") << "Repairing previous solution..." << std::endl;
   // make the satisfiability query
   bool needExport = true;
   ExprManagerMapCollection varMap;
@@ -268,7 +268,7 @@ bool SygusRepairConst::repairSolution(Node sygusBody,
   if (r.asSatisfiabilityResult().isSat() == Result::UNSAT
       || r.asSatisfiabilityResult().isUnknown())
   {
-    Trace("cegqi-engine") << "...failed" << std::endl;
+    Trace("sygus-engine") << "...failed" << std::endl;
     return false;
   }
   std::vector<Node> sk_sygus_m;
@@ -300,7 +300,7 @@ bool SygusRepairConst::repairSolution(Node sygusBody,
     Node scsk = csk.substitute(
         sk_vars.begin(), sk_vars.end(), sk_sygus_m.begin(), sk_sygus_m.end());
     repair_cv.push_back(scsk);
-    if (Trace.isOn("sygus-repair-const") || Trace.isOn("cegqi-engine"))
+    if (Trace.isOn("sygus-repair-const") || Trace.isOn("sygus-engine"))
     {
       std::stringstream sss;
       Printer::getPrinter(options::outputLanguage())
@@ -308,8 +308,8 @@ bool SygusRepairConst::repairSolution(Node sygusBody,
       ss << "  * " << candidates[i] << " -> " << sss.str() << std::endl;
     }
   }
-  Trace("cegqi-engine") << "...success:" << std::endl;
-  Trace("cegqi-engine") << ss.str();
+  Trace("sygus-engine") << "...success:" << std::endl;
+  Trace("sygus-engine") << ss.str();
   Trace("sygus-repair-const")
       << "Repaired constants in solution : " << std::endl;
   Trace("sygus-repair-const") << ss.str();
index e69d746fe17a96ecec372221446e37a089f1f0e6..bb5307c7938e0753235e9741a29d85ba68137526 100644 (file)
@@ -280,12 +280,12 @@ bool SynthConjecture::needsCheck()
   {
     if (!value)
     {
-      Trace("cegqi-engine-debug") << "Conjecture is infeasible." << std::endl;
+      Trace("sygus-engine-debug") << "Conjecture is infeasible." << std::endl;
       return false;
     }
     else
     {
-      Trace("cegqi-engine-debug") << "Feasible guard " << d_feasible_guard
+      Trace("sygus-engine-debug") << "Feasible guard " << d_feasible_guard
                                   << " assigned true." << std::endl;
     }
   }
@@ -366,16 +366,16 @@ bool SynthConjecture::doCheck(std::vector<Node>& lems)
         Assert(d_repair_index < d_cinfo[cprog].d_inst.size());
         fail_cvs.push_back(d_cinfo[cprog].d_inst[d_repair_index]);
       }
-      if (Trace.isOn("cegqi-engine"))
+      if (Trace.isOn("sygus-engine"))
       {
-        Trace("cegqi-engine") << "CegConjuncture : repair previous solution ";
+        Trace("sygus-engine") << "CegConjuncture : repair previous solution ";
         for (const Node& fc : fail_cvs)
         {
           std::stringstream ss;
           Printer::getPrinter(options::outputLanguage())->toStreamSygus(ss, fc);
-          Trace("cegqi-engine") << ss.str() << " ";
+          Trace("sygus-engine") << ss.str() << " ";
         }
-        Trace("cegqi-engine") << std::endl;
+        Trace("sygus-engine") << std::endl;
       }
       d_repair_index++;
       if (d_sygus_rconst->repairSolution(
@@ -397,7 +397,7 @@ bool SynthConjecture::doCheck(std::vector<Node>& lems)
     if (!d_master->allowPartialModel() && !fullModel)
     {
       // we retain the values in d_ev_active_gen_waiting
-      Trace("cegqi-engine-debug") << "...partial model, fail." << std::endl;
+      Trace("sygus-engine-debug") << "...partial model, fail." << std::endl;
       // if we are partial due to an active enumerator, we may still succeed
       // on the next call
       return !activeIncomplete;
@@ -416,13 +416,13 @@ bool SynthConjecture::doCheck(std::vector<Node>& lems)
     }
     if (emptyModel)
     {
-      Trace("cegqi-engine-debug") << "...empty model, fail." << std::endl;
+      Trace("sygus-engine-debug") << "...empty model, fail." << std::endl;
       return !activeIncomplete;
     }
     // debug print
-    if (Trace.isOn("cegqi-engine"))
+    if (Trace.isOn("sygus-engine"))
     {
-      Trace("cegqi-engine") << "  * Value is : ";
+      Trace("sygus-engine") << "  * Value is : ";
       for (unsigned i = 0, size = terms.size(); i < size; i++)
       {
         Node nv = enum_values[i];
@@ -430,23 +430,23 @@ bool SynthConjecture::doCheck(std::vector<Node>& lems)
         TypeNode tn = onv.getType();
         std::stringstream ss;
         Printer::getPrinter(options::outputLanguage())->toStreamSygus(ss, onv);
-        Trace("cegqi-engine") << terms[i] << " -> ";
+        Trace("sygus-engine") << terms[i] << " -> ";
         if (nv.isNull())
         {
-          Trace("cegqi-engine") << "[EXC: " << ss.str() << "] ";
+          Trace("sygus-engine") << "[EXC: " << ss.str() << "] ";
         }
         else
         {
-          Trace("cegqi-engine") << ss.str() << " ";
-          if (Trace.isOn("cegqi-engine-rr"))
+          Trace("sygus-engine") << ss.str() << " ";
+          if (Trace.isOn("sygus-engine-rr"))
           {
             Node bv = d_tds->sygusToBuiltin(nv, tn);
             bv = Rewriter::rewrite(bv);
-            Trace("cegqi-engine-rr") << " -> " << bv << std::endl;
+            Trace("sygus-engine-rr") << " -> " << bv << std::endl;
           }
         }
       }
-      Trace("cegqi-engine") << std::endl;
+      Trace("sygus-engine") << std::endl;
     }
     Assert(candidate_values.empty());
     constructed_cand = d_master->constructCandidates(
@@ -471,7 +471,7 @@ bool SynthConjecture::doCheck(std::vector<Node>& lems)
     if (!checkSideCondition(candidate_values))
     {
       excludeCurrentSolution(terms, candidate_values);
-      Trace("cegqi-engine") << "...failed side condition" << std::endl;
+      Trace("sygus-engine") << "...failed side condition" << std::endl;
       return false;
     }
   }
@@ -590,22 +590,22 @@ bool SynthConjecture::doCheck(std::vector<Node>& lems)
     lem = nm->mkNode(OR, d_quant.negate(), query);
     if (options::sygusVerifySubcall())
     {
-      Trace("cegqi-engine") << "  *** Verify with subcall..." << std::endl;
+      Trace("sygus-engine") << "  *** Verify with subcall..." << std::endl;
 
       Result r =
           checkWithSubsolver(query.toExpr(), d_ce_sk_vars, d_ce_sk_var_mvs);
-      Trace("cegqi-engine") << "  ...got " << r << std::endl;
+      Trace("sygus-engine") << "  ...got " << r << std::endl;
       if (r.asSatisfiabilityResult().isSat() == Result::SAT)
       {
-        if (Trace.isOn("cegqi-engine"))
+        if (Trace.isOn("sygus-engine"))
         {
-          Trace("cegqi-engine") << "  * Verification lemma failed for:\n   ";
+          Trace("sygus-engine") << "  * Verification lemma failed for:\n   ";
           for (unsigned i = 0, size = d_ce_sk_vars.size(); i < size; i++)
           {
-            Trace("cegqi-engine")
+            Trace("sygus-engine")
                 << d_ce_sk_vars[i] << " -> " << d_ce_sk_var_mvs[i] << " ";
           }
-          Trace("cegqi-engine") << std::endl;
+          Trace("sygus-engine") << std::endl;
         }
 #ifdef CVC4_ASSERTIONS
         // the values for the query should be a complete model
@@ -658,7 +658,7 @@ bool SynthConjecture::checkSideCondition(const std::vector<Node>& cvals) const
   {
     Node sc = d_embedSideCondition.substitute(
         d_candidates.begin(), d_candidates.end(), cvals.begin(), cvals.end());
-    Trace("cegqi-engine") << "Check side condition..." << std::endl;
+    Trace("sygus-engine") << "Check side condition..." << std::endl;
     Trace("cegqi-debug") << "Check side condition : " << sc << std::endl;
     Result r = checkWithSubsolver(sc);
     Trace("cegqi-debug") << "...got side condition : " << r << std::endl;
@@ -666,7 +666,7 @@ bool SynthConjecture::checkSideCondition(const std::vector<Node>& cvals) const
     {
       return false;
     }
-    Trace("cegqi-engine") << "...passed side condition" << std::endl;
+    Trace("sygus-engine") << "...passed side condition" << std::endl;
   }
   return true;
 }
@@ -763,7 +763,7 @@ bool SynthConjecture::getEnumeratedValues(std::vector<Node>& n,
       Node gstatus = d_qe->getValuation().getSatValue(g);
       if (gstatus.isNull() || !gstatus.getConst<bool>())
       {
-        Trace("cegqi-engine-debug")
+        Trace("sygus-engine-debug")
             << "Enumerator " << e << " is inactive." << std::endl;
         continue;
       }
@@ -785,7 +785,7 @@ Node SynthConjecture::getEnumeratedValue(Node e, bool& activeIncomplete)
     // if the current model value of e was not registered by the datatypes
     // sygus solver, or was excluded by symmetry breaking, then it does not
     // have a proper model value that we should consider, thus we return null.
-    Trace("cegqi-engine-debug")
+    Trace("sygus-engine-debug")
         << "Enumerator " << e << " does not have proper model value."
         << std::endl;
     return Node::null();
index 0c8b8f734925074bf4918876c0b35b68ffb06b3c..b0a562b42b4f396ac376bfa702cd745d23500116 100644 (file)
@@ -43,12 +43,12 @@ SynthEngine::~SynthEngine() {}
 
 void SynthEngine::presolve()
 {
-  Trace("cegqi-engine") << "SynthEngine::presolve" << std::endl;
+  Trace("sygus-engine") << "SynthEngine::presolve" << std::endl;
   for (unsigned i = 0, size = d_conjs.size(); i < size; i++)
   {
     d_conjs[i]->presolve();
   }
-  Trace("cegqi-engine") << "SynthEngine::presolve finished" << std::endl;
+  Trace("sygus-engine") << "SynthEngine::presolve finished" << std::endl;
 }
 
 bool SynthEngine::needsCheck(Theory::Effort e)
@@ -75,7 +75,7 @@ void SynthEngine::check(Theory::Effort e, QEffort quant_e)
   {
     Node q = d_waiting_conj.back();
     d_waiting_conj.pop_back();
-    Trace("cegqi-engine") << "--- Conjecture waiting to assign: " << q
+    Trace("sygus-engine") << "--- Conjecture waiting to assign: " << q
                           << std::endl;
     assignConjecture(q);
   }
@@ -87,9 +87,9 @@ void SynthEngine::check(Theory::Effort e, QEffort quant_e)
     return;
   }
 
-  Trace("cegqi-engine") << "---Counterexample Guided Instantiation Engine---"
+  Trace("sygus-engine") << "---Counterexample Guided Instantiation Engine---"
                         << std::endl;
-  Trace("cegqi-engine-debug") << std::endl;
+  Trace("sygus-engine-debug") << std::endl;
   Valuation& valuation = d_quantEngine->getValuation();
   std::vector<SynthConjecture*> activeCheckConj;
   for (unsigned i = 0, size = d_conjs.size(); i < size; i++)
@@ -103,10 +103,10 @@ void SynthEngine::check(Theory::Effort e, QEffort quant_e)
     }
     else
     {
-      Trace("cegqi-engine-debug") << "...no value for quantified formula."
+      Trace("sygus-engine-debug") << "...no value for quantified formula."
                                   << std::endl;
     }
-    Trace("cegqi-engine-debug")
+    Trace("sygus-engine-debug")
         << "Current conjecture status : active : " << active << std::endl;
     if (active && sc->needsCheck())
     {
@@ -116,7 +116,7 @@ void SynthEngine::check(Theory::Effort e, QEffort quant_e)
   std::vector<SynthConjecture*> acnext;
   do
   {
-    Trace("cegqi-engine-debug") << "Checking " << activeCheckConj.size()
+    Trace("sygus-engine-debug") << "Checking " << activeCheckConj.size()
                                 << " active conjectures..." << std::endl;
     for (unsigned i = 0, size = activeCheckConj.size(); i < size; i++)
     {
@@ -134,13 +134,13 @@ void SynthEngine::check(Theory::Effort e, QEffort quant_e)
     acnext.clear();
   } while (!activeCheckConj.empty()
            && !d_quantEngine->theoryEngineNeedsCheck());
-  Trace("cegqi-engine")
+  Trace("sygus-engine")
       << "Finished Counterexample Guided Instantiation engine." << std::endl;
 }
 
 void SynthEngine::assignConjecture(Node q)
 {
-  Trace("cegqi-engine") << "SynthEngine::assignConjecture " << q << std::endl;
+  Trace("sygus-engine") << "SynthEngine::assignConjecture " << q << std::endl;
   if (options::sygusQePreproc())
   {
     // the following does quantifier elimination as a preprocess step
@@ -307,16 +307,16 @@ bool SynthEngine::checkConjecture(SynthConjecture* conj)
 {
   Node q = conj->getEmbeddedConjecture();
   Node aq = conj->getConjecture();
-  if (Trace.isOn("cegqi-engine-debug"))
+  if (Trace.isOn("sygus-engine-debug"))
   {
-    conj->debugPrint("cegqi-engine-debug");
-    Trace("cegqi-engine-debug") << std::endl;
+    conj->debugPrint("sygus-engine-debug");
+    Trace("sygus-engine-debug") << std::endl;
   }
 
   if (!conj->needsRefinement())
   {
-    Trace("cegqi-engine-debug") << "Do conjecture check..." << std::endl;
-    Trace("cegqi-engine-debug")
+    Trace("sygus-engine-debug") << "Do conjecture check..." << std::endl;
+    Trace("sygus-engine-debug")
         << "  *** Check candidate phase..." << std::endl;
     std::vector<Node> cclems;
     bool ret = conj->doCheck(cclems);
@@ -331,13 +331,13 @@ bool SynthEngine::checkConjecture(SynthConjecture* conj)
       else
       {
         // this may happen if we eagerly unfold, simplify to true
-        Trace("cegqi-engine-debug")
+        Trace("sygus-engine-debug")
             << "  ...FAILED to add candidate!" << std::endl;
       }
     }
     if (addedLemma)
     {
-      Trace("cegqi-engine-debug")
+      Trace("sygus-engine-debug")
           << "  ...check for counterexample." << std::endl;
       return true;
     }
@@ -353,7 +353,7 @@ bool SynthEngine::checkConjecture(SynthConjecture* conj)
   }
   else
   {
-    Trace("cegqi-engine-debug")
+    Trace("sygus-engine-debug")
         << "  *** Refine candidate phase..." << std::endl;
     std::vector<Node> rlems;
     conj->doRefine(rlems);
@@ -377,7 +377,7 @@ bool SynthEngine::checkConjecture(SynthConjecture* conj)
     }
     if (addedLemma)
     {
-      Trace("cegqi-engine-debug") << "  ...refine candidate." << std::endl;
+      Trace("sygus-engine-debug") << "  ...refine candidate." << std::endl;
     }
   }
   return true;
index e4caaa5391e43588a6f465f4e004c9a56b365a4d..ca4768ee4638fa4901230d96ac1f856c68484d2e 100644 (file)
@@ -118,7 +118,7 @@ class QuantifiersEnginePrivate
       d_inst_engine.reset(new quantifiers::InstantiationEngine(qe));
       modules.push_back(d_inst_engine.get());
     }
-    if (options::cbqi())
+    if (options::cegqi())
     {
       d_i_cbqi.reset(new quantifiers::InstStrategyCegqi(qe));
       modules.push_back(d_i_cbqi.get());
index 02879cb8d4a8e423017995abf60954402b03e261..592189df25c65f5afd7ed1b7e9f7e4f1e6d4b3c4 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status --no-sygus-repair-const
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --no-sygus-repair-const
 ; SCRUBBER: sed -e 's/The fact in question: .*$/The fact in question: TERM/'
 ; EXPECT: (error "A non-linear fact was asserted to arithmetic in a linear logic.
 ; EXPECT: The fact in question: TERM
index a1f4aef04ef92308648e01ed866143f3f6aa66eb..aee3cd97074f38987c024c1eeff29a32dfd68b07 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi
+; COMMAND-LINE: --cegqi
 ; EXPECT: unsat
 (set-logic UFNIRA)
 (set-info :status unsat)
index fe567f898154f9006e322368c43ee9c18c9119b5..7e58ea87c4959d845ac206ca947d8515aef2b535 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi --dt-rewrite-error-sel --lang=smt2.5
+; COMMAND-LINE: --cegqi --dt-rewrite-error-sel --lang=smt2.5
 ; EXPECT: unsat
 (set-logic ALL_SUPPORTED)
 (declare-datatypes () ((List (cons (head Int) (tail List)) (nil))))
index 2ebb45960e68ebe623d2bb3fe8cd04343d5822fa..faad2cf18da1b362b85ee2da44657df7f6d3b6c3 100644 (file)
@@ -1,7 +1,7 @@
 (set-logic LIRA)
 (set-info :status unsat)
-(set-option :cbqi-use-inf-int true) 
-(set-option :cbqi-use-inf-real true)
+(set-option :cegqi-use-inf-int true) 
+(set-option :cegqi-use-inf-real true)
 (set-option :var-ineq-elim-quant false) 
 (assert (forall (( b Real )) (forall (( c Int )) (and  (> c (* b 2 ))))))
 (check-sat)    
index 51d3e89ea46da8e0ab385870397adddda469e541..6caa2b10cbc96dad94626db37e2a604493e907fc 100644 (file)
@@ -1,5 +1,5 @@
 (set-logic UFBV)
-(set-option :cbqi-all true)
+(set-option :cegqi-all true)
 (set-info :status unsat)
 (declare-sort S0 0)
 (declare-const S0-0 S0)
index e75591decfa04e1d1769bda18d878a82d112c285..fd7b3f574dc9219f61d3492b5ce41a862f28b092 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi --finite-model-find --no-check-models
+; COMMAND-LINE: --cegqi --finite-model-find --no-check-models
 ; EXPECT: sat
 (set-logic UFLIA)
 (set-info :status sat)
index b196ee262c120cafc7d5a177246645e37ce2cd6b..efac3468c3872e7aff5b0034e478ca5c0ff018f1 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi --no-check-models
+; COMMAND-LINE: --cegqi --no-check-models
 ; EXPECT: sat
 (set-logic ALL_SUPPORTED)
 (set-info :status sat)
index 1486e176d235c067c9fa2738afb0bcb2e0f9cd1e..939918ef7b1d036fdf3ae24367483475212a8d96 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 3c4f932434422dc137fc1d6fb6af3f281d7a8b26..b6095fcaba6fa87b3753c6f84f3986380a248e30 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index ec4626f52a579b99569ee1ff15dcf22ac0d0b4e6..2bdc2d994e341dbb6c0fed2fca856e291339ab55 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 216a98531d4a49efd086e7877ff46908bf564421..790918675a1f060f2019c5654b508a6ddfbe05af 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index ad3b9a9e54cdaebc67a521b9c5e416f0d02c96be..ab1d665bbdf5019815f82b3572e13a31e661f8d3 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 8dd50b1beaeaee9f33b9ec11c343bc481cbbec2b..80cc8db6d7fdb319d753aaad35f75007b7396536 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index e05c3446d46b374a2c9f2ec891cd5f143c07ef0f..92304674e28947014146299d86a8ca74acb0ad9a 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 2835e59565e103f90235012ecdf331a4549f5b61..ea778697f0be6f077d2067e1472c4fffb6349472 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 537f0ee3dfd20a35ca27921128313cca212667f8..82efd63bfaeea1f42583d20c66b4ab09e756ee5a 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 1018ce72cbab6a991949a0d2963f8bf64ce0280d..cd8d0db2dd4338844708366d7bc50c5dce506e15 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 503bc9852edcfab0fa3f19d7e3e636b071dd66a9..9287e4c2b9fcc1a403c0616468fc7556acddd332 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 74c2891cf9c9622422e7c22b6d29abde13c8cdba..1758bbe38896a0619af3a848910006623081d7bd 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 4145c68b1d93e2ac73c846e945be41660d3656a4..f5826fcda6cc7af26979e08679df297de9fc65b2 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index e85ecc7de8a13e578bd125c4eafb5d5078dcd9bb..5fed3ada8d63dfb4bf65847bc09e1729b3af535c 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index abef84da2e1061ed22625b69250fbec58a98b76a..d7bd29ba0acdc9520ba10747e350a799635dbbcf 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index a1dca469a25114506efcab74de22679f41e028ec..3d6aec051071d9f6aef4d15dfd63492d5ab4cddc 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 4f9c6edc3eb58c4a741bd1b5f5afd5e8651f1307..049df0b27526f2b4147aea1201584cf4903e0693 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 69c5def65d1fe86bcbd5e4fc189a82b398e6d86d..3dc095e83c91d850e11c7eeeea950cf2fd4aac1b 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (declare-fun a () (_ BitVec 8))
index 769854f6fc86bf1aca8bd2a6799d719ad48402e6..4f8983e0147b1718a40ede645783a8f8df4a53d0 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 7b66bd859ffc0e2dd07b544c052036a4cfea4eeb..81a299b4e82fd2849ed8fe83687761cee8d539f5 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 7dab5637e66ea541cf07c5be3d35b2fff8702a64..ceda04f35cc1635971d0ffd32b63e860fbb98d89 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 13fb3e1c2e3ec20785218d300b6aff7c25031d1e..d295cfcdcea9ad7909d48fd0aebe42fc4438ae62 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 43019c4cb888977408f130ef72b42c0bd909b0c4..58b14a56474b5399eec9e95260d43e251511b438 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 69bcd0f084a54864405fcc34b76a755f37e7c117..9dee4efdf845cefc18f9cf19cb36b13184567bcc 100755 (executable)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic LIA)
 
 (synth-fun fb () Int ((Start Int)) ((Start Int ((Constant Int)))))
index 9330546d81045765b816fa540cf547b057c95701..9d3af67fb210c482120cadb7936ea7d7a87d5b19 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --cegqi-si-abort --decision=internal --cbqi --cbqi-prereg-inst --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-si-abort --decision=internal --cegqi --cegqi-prereg-inst --sygus-out=status
 (set-logic BV)
 
 (define-fun parity ((a Bool) (b Bool) (c Bool) (d Bool)) Bool
index 994fb6de37098cf4fca6ce3e8817dfea512f2109..b0837e3417e4ef70bd2a3ef18eeca3b53a9b8343 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 
 (set-logic LIA)
 
index d593a7d9e661a1e1ed59404bf2f2122db259ffd5..c1ebc52b2754a1061aaecd9662018281e1794b35 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status --decision=justification
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --decision=justification
 (set-logic LIA)
 
 (synth-fun P ((x Int) (y Int)) Bool
index 31e88f523e95d5045374941988834680b28568c8..78029cbc8e3aa730fe411158f49aedde53a339f5 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 
 (set-logic LIA)
 
index b410e5d23fd784faf6a67c1ff49adabb6fefa201..8c77eea61287ba622d5008e0336fa0d6a9707caf 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --cegqi-si=none
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --sygus-si=none
 ; EXPECT: unsat
 
 (set-logic BV)
index 9f9eea2a84bb7af7f2b842124012b9dd111b275f..9793c927b9fb4ba27dfb94d390d884196192359a 100644 (file)
@@ -1,6 +1,6 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-unif-pi=complete --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-unif-pi=complete --sygus-out=status
 (set-logic LIA)
 (define-fun g ((x Int)) Int (ite (= x 1) 15 19))
 (define-fun letf ((z Int) (w Int) (s Int) (x Int)) Int (+ z (+ x (+ x (+ s (+ 1 (+ (g w) z)))))))
index 91a865035409cb07fc3e17b35069dd01c84fe795..19a4e6bc9471e5563a998bb99251b8e5e13e04bd 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic LIA)
 (define-fun letf ((z Int)) Int (+ z z))
 (synth-fun f ((x Int) (y Int)) Int
index 09fae5410c546ededfc622a1b2af29747fb59bfd..d3ca69e965792e3fb63f40d4d8ea45639d144275 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic BV)
 
 (define-fun parity ((a Bool) (b Bool) (c Bool) (d Bool)) Bool
index 99c3081736cd488bfd52c8112cfb8bc8c7ae4a2e..5bd6ebae4b05de3492a5554af5cb910e9a154272 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
 ; EXPECT: unknown
 (set-logic LIA)
 (synth-fun P ((x Int)) Bool)
index 6cabbaa642deb435e1b8312cf4c9f45a1409fdda..2d7d3a9c5405a9d4dd8001c9bda7e71ec7272476 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi -mi --no-check-models
+; COMMAND-LINE: --cegqi -mi --no-check-models
 ; EXPECT: sat
 ; EXPECT: unsat
 
index 8d78bf861c5b57c519584db5b9e6579ef77eed6b..6f26e7af2dc048ca39e11ecd0248946e18e29938 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv
+; COMMAND-LINE: --cegqi-bv
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 6379d6cece65364a93923d57e2d989c5f037ebad..e195323290ea090005a9de68e55394778a4923c4 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-nested-qe
+; COMMAND-LINE: --cegqi-nested-qe
 ; EXPECT: unsat
 (set-logic LRA)
 
index 2ae54a075c07dcba21572b4317aaa4d3f8d36c77..a5f576f868ae4be951a68ffcb3b2343b4ec67bbf 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi --quant-anti-skolem
+; COMMAND-LINE: --cegqi --quant-anti-skolem
 ; EXPECT: unsat
 (set-logic ALL_SUPPORTED)
 (set-info :status unsat)
index 2d70dfb8e527cfed76b6641566ff94a595529f85..2372faa1ef3e3e5d9324f1b4f17e69e9ab530a7c 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv
+; COMMAND-LINE: --cegqi-bv
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 4d5cf4ec4d75c710d8d4dd19d0c3f729e29fa7d9..cd921419cc7245b6778abb2318b1e2d753e31923 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi --decision=internal
+; COMMAND-LINE: --cegqi --decision=internal
 ; EXPECT: unsat
 (set-logic LIA)
 (set-info :status unsat)
index 6072776dc02e6aa028c86bc001226973330de897..30b6a300dccc4ae07f4e8f8cbcc6d3b3af827aae 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-rm-extract
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-rm-extract
 ; EXPECT: sat
 (set-logic BV)
 (declare-fun k_3 () (_ BitVec 8))
index 38a4ed1276b8c975b46557db562cfb40bad55c80..fdbac9996083e68a67db91fa43e548076e90f06b 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv
+; COMMAND-LINE: --cegqi-bv
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index aa5cbc31eba4562823341b7d46d5c305e4e98706..92c8ac47bcf38edff619679b5c4a7dad9ecb208b 100644 (file)
@@ -3,7 +3,7 @@
 (set-logic BV)
 (set-info :status sat)
 (declare-fun _substvar_16_ () Bool)
-(set-option :cbqi-prereg-inst true)
+(set-option :cegqi-prereg-inst true)
 (set-option :check-models true)
 (declare-fun v2 () Bool)
 (push 1)
index 22d6455fb5386a52a3a5bc7b1339a96a4f42f27a..80315edaf7a6179b7c33a8ba177d8ee0f736dfcd 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-use-inf-int --cbqi-use-inf-real
+; COMMAND-LINE: --cegqi-use-inf-int --cegqi-use-inf-real
 ; EXPECT: unsat
 (set-info :smt-lib-version 2.6)
 (set-logic LRA)
index 011430bd6cd0b3674520ba662f63f9ea0602921f..f2b69974fd568133ac70bc730912fb3300406d97 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-nested-qe
+; COMMAND-LINE: --cegqi-nested-qe
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 2a46d2a21ad4d8e26cecd0cdf550a97c062f28e4..d39ad79f40d764fbeef37c65f466a189362e30f8 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv
+; COMMAND-LINE: --cegqi-bv
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 5152b89c4424f4fa14df4fdcd14ee0cd4e1bd599..82857c50ab165115b06bc819a4e30ca63b6591b5 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-all --no-relational-triggers
+; COMMAND-LINE: --cegqi-all --no-relational-triggers
 ; EXPECT: unsat
 (set-logic NIA)
 (declare-fun a () Int)
index 7d981597a0b0b508758c13af22fca6fc809b38ea..b01860f73b3fec6a3c1ac3f69d2fc0d1ba1f6b03 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-multi-inst
+; COMMAND-LINE: --cegqi-multi-inst
 ; EXPECT: unsat
 (set-info :smt-lib-version 2.6)
 (set-logic NRA)
index 82b54a231b7f47d0f9e26f5e594f0cf152e91a0b..06cec17c10360b0aa49475e4ca1384d5033c7476 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=eq-boundary
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=eq-boundary
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index d16157509238eb8eaa432a2848c19114598fd10d..78f5b7c883e012519c1922dc1ec961fdf2a7863d 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index c36322aaccc11f5ee669f9256e4cb4efbfc736ce..31cc963252d3f24ce93d75d1c81bb884a953c9ba 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 30e7c2f8bf6a01b25eae3f2ea3824f6933a98525..18eee20270826babcd277561cf0d18a4b1265d78 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index c3de64c4c6993b844561d17139db35b25c28b7a6..f639a129e740d52b21645cb6f1f53c591f318f3f 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 6bcc6501b146d75f0784375d2114b08a9099654a..ed9c9880ff019fd89d7078acb01dc45cbcc611d0 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (declare-fun a () (_ BitVec 8))
index 08479d90e2f38b0d1cf4bcbb79b640ce0918c6f3..b098cc49edb1bf1c027d679e3fa2046da0d0380a 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 9dc9f98ac63cb54a354b1c25c5ccbfe03a4632fc..71795cfde9cc1a5e73341180a85d44891275e177 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index f3dad679bfbb01658e7e93aad745e1d973f3d3ef..adcd5dfa8fbf057b2ebdbb10ffd288b2a8e04bc6 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 3748eca24c7969e4f8c0a6f6d39935fc825e3ea1..751c5d6bb97c6062c243797185f05c01a0529ce7 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 2cabb502e93e573d6c5c8cd9883c03755dcde38a..9e8cd65868f391ae25743eaffcda94cb0406f2e1 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index a0e1b62c2a1d1e9596c08aef7af426a150f42c4f..5c2c42202f0b91b5cddca25c18ce4d19d34b347b 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full --bv-div-zero-const
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full --bv-div-zero-const
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index 2690a0ac9316ec7f962dec36949887d2a82a15b3..e9883297ef83befbe746fabc75719833fa5b321e 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full --bv-div-zero-const
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full --bv-div-zero-const
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 871df48274d3fe620fa1835484357f7b5a281527..2c42744ac12db6ef2bbeca9bbf29cf97a0f7b368 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 22bd306eecf5810a11cf3fb78ab57c92bb0895e1..f24aa6b1b2cdcd124978266264cfd11ceb38c872 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index e57352b8f1a44ff83bcd434a1d9009d83db5680d..dbb653351e4777ef2eaf3c8ecaacfed0c3a09642 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --cbqi-bv-ineq=keep --no-cbqi-full
+; COMMAND-LINE: --cegqi-bv --cegqi-bv-ineq=keep --no-cegqi-full
 ; EXPECT: sat
 (set-logic BV)
 (set-info :status sat)
index 378912490f1f5431e92b7547701166b85da42393..05bcb762fe2b91f7dc128f1c4b465631a0e218c6 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-bv --no-check-models
+; COMMAND-LINE: --cegqi-bv --no-check-models
 ; EXPECT: unsat
 (set-logic BV)
 (set-info :status unsat)
index b84e5bb4825a16117d8cc38083f7b04d605d1734..b47060bf89e0b08f6a6324f941d55dc667f82391 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-qe-preproc --cbqi-full --sygus-out=status --cegqi-si=all
+; COMMAND-LINE: --lang=sygus2 --sygus-qe-preproc --cegqi-full --sygus-out=status --sygus-si=all
 (set-logic BV)
 
 (define-fun B ((h (_ BitVec 8)) (l (_ BitVec 8)) (v (_ BitVec 8))) (_ BitVec 8) (bvlshr (bvshl v (bvsub #x07 h)) (bvsub #x07 (bvsub h l))))
index 1a7c5888cc56ef666737a4b3ec5461cb90a0908b..b519c570f4a8212e1603c64be02f9c13d520d7ce 100644 (file)
@@ -1,6 +1,6 @@
 ; REQUIRES: proof
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status --cegqi-si-sol-min-core --proof
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --sygus-si-sol-min-core --proof
 (set-logic LIA)
 (synth-fun findIdx ((y1 Int) (y2 Int) (k1 Int)) Int ((Start Int) (BoolExpr Bool)) ((Start Int ( 0 1 2 y1 y2 k1 (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start)))))
 (declare-var x1 Int)
index dd1783d85bc0dc5661b6cb40b52dd55676a78e61..fb1c1033738b5fb13ff869b45bebc1388d98254e 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status --decision=justification
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --decision=justification
 (set-logic LIA)
 
 (synth-fun findIdx  ((y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (k1 Int)) Int
index 84046f30a64091212a054cc1bf0d3a4603109935..9490f73b62607d06258dc3a78d10fb98479d672e 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic LIA)
 (synth-fun findSum ( (y1 Int) (y2 Int) )Int ((Start Int) (BoolExpr Bool)) ((Start Int ( 0 1 2 y1 y2 (+ Start Start)    (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start)))))
 (declare-var x1 Int)
index c9705f7b844760b3a7c3ebd129aa036d0871dbac..b5d7bff917018657a84b738e42e94068b095a978 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status --decision=justification
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --decision=justification
 
 (set-logic ALL_SUPPORTED)
 (declare-var m Int)
index 70aec7c4c483e6b968e53acc823e7b3c2434fe5f..177a33274b7ee63b43ac043aee342b12f7f24aa5 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --cegqi-si-abort --decision=internal --cegqi-si-rcons=try --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-si-abort --decision=internal --sygus-si-rcons=try --sygus-out=status
 
 (set-logic BV)
 
index 90fa57827f55164a6ac1fc687fb34e405af27b28..f67784002721cae5233a55f1d1a6b54a1250b444 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic DTLIA)
 
 (declare-datatypes ((List 0)) (((cons (head Int) (tail List)) (nil))))
index 517849b2a2d3ea81e32681e9ece6fd990f51af28..dfd99f55d0c1ff68d652e7705d4386cc7d2ebc7b 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
 (set-logic LIA)
 (synth-fun f ((x Int)) Int
     ((Start Int) (Con Int))
index 55b2eb69e334800549539eeed3f13ed484a2a04f..b5fbe4306a3c3b7ec6a1b1624d409e35766dab24 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic LIA)
 ;; this is the custom enumeration datatype syntax from an early proposal of the sygus standard
 (define-sort D (Enum (a b)))
index 1ae8cabd997d4b2ca24bbfc89458b038afa84d21..d0027d685ff267d4d5f3a4d29342465c3de2b959 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --cegqi-si=none --sygus-active-gen=enum
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --sygus-si=none --sygus-active-gen=enum
 
 (set-logic ALL_SUPPORTED)
 
index 089a8f11f1684e76cf4793df5b0cc2209a609e38..ab8852d2eb18e6774262e864b1c9d15edd66a596 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 
 (set-logic BV)
 
index c4c90c6f66c0c1879c6b462ee790689fbb79610a..2fdfb1c438d528892c4a92c473390fd2b7ef4a38 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
 (set-logic BV)
 
 (define-fun hd01 ((x (_ BitVec 32))) (_ BitVec 32) (bvand x #x00000001))
index 18e7ed06e76576809dd205dc908d7f2dcc2ef0e6..f377b23c14d8933cd95a0bc61b5c0684535ba99c 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --cegqi-si=none --sygus-grammar-cons=any-term-concise
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --sygus-si=none --sygus-grammar-cons=any-term-concise
 
 (set-logic LIA)
 (synth-fun f ((x Int) (y Int)) Int)
index d93644197d224e5cf98902c63b1af90d664f32c1..08f280a4ba796cc15acc9d0dda9fdb5202895767 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status --sygus-add-const-grammar
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status --sygus-add-const-grammar
 (set-logic LIA)
 
 (synth-fun lc ((x Int)) Int)
index ae2bcc00e8fc042f8e5d67b34bbb5c6e225b68d0..c6b7d032a44381d8ba6be2e753cf000d5ea7fab8 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic ALL_SUPPORTED)
 
 (declare-datatypes ((List 0)) (((cons (head Int) (tail List)) (nil))))
index f191d784f7d958e7b5fb71be426d7a66a031a298..e753277ccd69be1759f470614e53801a6aa3e379 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic LIA)
 
 (synth-fun max ((x Int) (y Int)) Int
index 5d63ab0235d5fb14f768a8cc733e7b58255da6cb..1177be5e771d095a35a0e1829b5819088bfd248b 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status --nl-ext-tplanes
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --nl-ext-tplanes
 (set-logic NIA)
 
 (synth-fun max ((x Int) (y Int)) Int)
index 850cc6610e1fc886d6150898f9deaacf29ea0c62..aea7e32f3c1c60be082ef9edaa35e884450cfd14 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --cegqi-si-abort --decision=internal --cbqi-prereg-inst --cegqi-si-rcons=try --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-si-abort --decision=internal --cegqi-prereg-inst --sygus-si-rcons=try --sygus-out=status
 
 (set-logic BV)
 
index 0b402acf5d2c9c8a6f979e5302de33a3aedae825..6d89a4e6c600e4670ff82b73e7ae824376c29e43 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status --sygus-fair=direct\r
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status --sygus-fair=direct\r
 ; EXPECT: unsat\r
 (set-logic SLIA)\r
 \r
index 6a9a80a4938e30635f82bd49f411f1c9be2d8a3e..86fac86cda81b17d8c7ff3ff5d9ed1c45ae32ba3 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status --sygus-arg-relevant
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status --sygus-arg-relevant
 ; EXPECT: unsat
 (set-logic LIA)
 
index c8d56229a99c9983f583d4b368a4e1d5302787bb..eba30350d9d978dee532f62fb8f0a7f55ed7d7cf 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status --sygus-qe-preproc
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --sygus-qe-preproc
 (set-logic LIA)
 
 (synth-fun f ((x Int)) Int)
index 431d0c1b0d1b6bab95ee418a6ade36a85d8219b3..53db26910b8602134f2603844d7b79f2e242bbb9 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --cegqi-si=none --sygus-grammar-cons=any-term-concise
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --sygus-si=none --sygus-grammar-cons=any-term-concise
 
 (set-logic LRA)
 (synth-fun f ((x Real) (y Real)) Real)
index 128a94c1d182213b93ce9a3ad2c7751c43114b60..d664bf2a2e7c3d6a88db4d289a028f2b69fac49e 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --cegqi-si=none
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --sygus-si=none
 
 (set-logic LRA)
 
index 6477de3fc0ccd688393bc7437aca38c0c51988ca..3374d6a8ab58fcdd5412efbf50921bf33b544902 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --sygus-out=status --cegqi-si=none --sygus-repair-const --lang=sygus2
+; COMMAND-LINE: --sygus-out=status --sygus-si=none --sygus-repair-const --lang=sygus2
 (set-logic LIA)
 
 (synth-fun f ((x Int) (y Int)) Int
index cca2edb2cc037992f99130f803d42d00a759e80d..2c3eaac336d38fd8c766d6b3afce41d358ddddae 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --cegqi-si=none --sygus-grammar-cons=any-term
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --sygus-si=none --sygus-grammar-cons=any-term
 (set-logic ALL)
 (synth-fun f ((x String) (y String)) Int)
 (declare-var x String)
index 0beea805627a962faebf80921317babd5e09a8e9..3da21f6dcd87fa69b6525ceedbf01a451f788b25 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
 (set-logic LIA)
 (synth-fun f ((x Int)) Int
     ((Start Int) (Term Int))
index 7c44033973b3934bbb26397a26fdb8d11942bc17..7d6fa778ee72b8b8f0f307eec4cdf80182d9543f 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
 (set-logic LIA)
 (synth-fun f ((x Int)) Int
     ((Start Int) (Term Int))
index fe39ddd8ee9e592da56f19a814ddb9e0a4b48ea5..8be604b23fb18d5e2a4a28785d06506fb280079b 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
 (set-logic LIA)
 (synth-fun f ((x Int)) Int
     ((Start Int) (Term Int))
index b78bf76478938dbeb3802297f4bf7d03deaea75c..7f3fed923237c3c29274e46b05b23a2772ae2442 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic LIA)
 
 ;; f1 is x plus 2 ;; f2 is 2x plus 5
index ca1e512a1ced7763e94ae2c8fb003d5443d472e6..16b3e27aa073922e158a1d86a47ed6516a5824fd 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=all --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
 (set-logic LIA)
 (define-fun letf ((x Int) (y Int) (z Int)) Int (+ (+ y x) z))
 (synth-fun f1 ((x Int)) Int
index c26cde17378c575ba66480547f95dfa296e571fb..72743693a39c61f1b3460f37b48fce0ce8f08fb5 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --cbqi-all --no-check-models
+; COMMAND-LINE: --cegqi-all --no-check-models
 ; EXPECT: sat
 ;AJR:BROKEN
 (set-logic UFBV)
index 99d682bcc99cb640abf828b0c66fdb2dfb93b5da..b7637567f3c26ccbb665c89cbd6e217b2aef5461 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
 (set-logic LIRA)
 (define-fun
 __node_init_top_0 (
index fe6f5cd0c34c9b451cdd3f68986a505620e45af0..00a0099b0f1ec1129deaae5456a6367bd0474367 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status --no-sygus-repair-const --sygus-arg-relevant
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status --no-sygus-repair-const --sygus-arg-relevant
 ; EXPECT: unsat
 (set-logic LIA)
 
index a50cec2d82a91abfa8924cabbca8f53c87c1d2cc..15bffb073802ffa381a179b4937afc6bac0e6477 100644 (file)
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status --no-sygus-add-const-grammar --sygus-arg-relevant
+; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status --no-sygus-add-const-grammar --sygus-arg-relevant
 ; EXPECT: unsat
 (set-logic LIA)
 
index 0891e57bff518a496e26f6996c4671fd5a5acd05..d9a66bcceef65520efa26d702386af8a143c10b8 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --cegqi-si=none --no-sygus-pbe
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --sygus-si=none --no-sygus-pbe
 
 (set-logic LRA)
 
index 3827585ec274ac155cf7692ba2598146799adaa8..b84252d6c19b92f5c8afad2cd6ad56b05ec5125d 100644 (file)
@@ -1,5 +1,5 @@
 ; EXPECT: unsat
-; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --cegqi-si=none --sygus-grammar-cons=any-term --sygus-active-gen=none
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --sygus-si=none --sygus-grammar-cons=any-term --sygus-active-gen=none
 (set-logic ALL)
 (synth-fun f ((x String) (y String)) Int)
 (declare-var x String)
index 03fcaab69d2de74e701c5215480312ba2e22aad2..74041295d9feb2d4828ccf659d270b34b9edca7e 100644 (file)
@@ -223,7 +223,7 @@ class TheoryQuantifiersBvInverter : public CxxTest::TestSuite
     d_em = new ExprManager();
     d_nm = NodeManager::fromExprManager(d_em);
     d_smt = new SmtEngine(d_em);
-    d_smt->setOption("cbqi-full", CVC4::SExpr(true));
+    d_smt->setOption("cegqi-full", CVC4::SExpr(true));
     d_smt->setOption("produce-models", CVC4::SExpr(true));
     d_scope = new SmtScope(d_smt);