From ad7907adff119a6e25fe3c229663afecb15db7c4 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Mon, 20 Apr 2020 19:47:35 -0500 Subject: 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. --- src/theory/quantifiers/quant_conflict_find.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/theory/quantifiers/quant_conflict_find.cpp') diff --git a/src/theory/quantifiers/quant_conflict_find.cpp b/src/theory/quantifiers/quant_conflict_find.cpp index 511eb6d79..2d1cf6531 100644 --- a/src/theory/quantifiers/quant_conflict_find.cpp +++ b/src/theory/quantifiers/quant_conflict_find.cpp @@ -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); } -- cgit v1.2.3