summaryrefslogtreecommitdiff
path: root/src/options
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-04-20 19:47:35 -0500
committerGitHub <noreply@github.com>2020-04-20 19:47:35 -0500
commitad7907adff119a6e25fe3c229663afecb15db7c4 (patch)
tree0cf0c1931db8d4529127806eca03cd014fcb6a42 /src/options
parent6255c0356bd78140a9cf075491c1d4608ac27704 (diff)
Make option names related to CEGQI consistent (#4316)
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.
Diffstat (limited to 'src/options')
-rw-r--r--src/options/didyoumean_test.cpp8
-rw-r--r--src/options/quantifiers_options.toml104
2 files changed, 56 insertions, 56 deletions
diff --git a/src/options/didyoumean_test.cpp b/src/options/didyoumean_test.cpp
index df1dfa5cc..2dd28a40f 100644
--- a/src/options/didyoumean_test.cpp
+++ b/src/options/didyoumean_test.cpp
@@ -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",
diff --git a/src/options/quantifiers_options.toml b/src/options/quantifiers_options.toml
index 32ae173bd..21cba6abb 100644
--- a/src/options/quantifiers_options.toml
+++ b/src/options/quantifiers_options.toml
@@ -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"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback