Bug-related:
authorMorgan Deters <mdeters@gmail.com>
Fri, 5 Oct 2012 22:46:27 +0000 (22:46 +0000)
committerMorgan Deters <mdeters@gmail.com>
Fri, 5 Oct 2012 22:46:27 +0000 (22:46 +0000)
commit129dadba47447148096acd216d61f93e14539cb4
treefd0053624ee96ee84eb35d1542d1977e40830750
parent4c87c0794b7e954afd090cfbf441caa0b09c3ef5
Bug-related:

* ITE removal fixed to be context-dependent (on UserContext).
  Resolves incrementality bugs 376 and 396 (which had given wrong answers).
* some bugfixes for incrementality that Dejan found (fixes bug 394)
* fix for bug in SmtEngine::getValue() where definitions weren't respected
  (partially resolves bug 411, but get-model is still broken).
* change status of microwave21.ec.minimized.smt2 (it's actually unsat, but
  was labeled sat); re-enable it for "make regress"

Also:

* --check-model doesn't fail if quantified assertions don't simplify away.

* fix some examples, and the Java system test, for the disappearance of the
  BoolExpr class

* add copy constructor to array type enumerator (the type enumerator
  framework requires copy ctors, and the automatically-generated copy ctor
  was copying pointers that were then deleted, leaving dangling pointers in
  the copy and causing segfaults)

* --dump=assertions now implies --dump=skolems
* --dump=assertions:pre-<PASS> and --dump=assertions:post-<PASS> now allow
  you to dump before/after a particular preprocessing pass.  E.g.,
  --dump=assertions:pre-ite-removal or --dump=assertions:post-static-learning.
  "--dump=assertions" by itself is after all preprocessing, just before CNF
  conversion.
* minor fixes to dumping output
* include Model in language bindings

Minor refactoring/misc:

* fix compiler warning in src/theory/model.cpp
* remove unnecessary SmtEngine::printModel().
* mkoptions script doesn't give progress output if stdout isn't a terminal
  (e.g., if it's written to a log, or piped through less(1), or whatever).
* add some type enumerator unit tests
* de-emphasize --parse-only and --preprocess-only (they aren't really "common"
  options)
* fix some exception throw() specifications in SmtEngine
* minor documentation clarifications
47 files changed:
examples/SimpleVC.java
examples/SimpleVC.ml
examples/SimpleVC.php
examples/SimpleVC.pl
examples/SimpleVC.py
examples/SimpleVC.rb
examples/SimpleVC.tcl
src/cvc4.i
src/expr/command.cpp
src/options/base_options
src/options/mkoptions
src/parser/parser.cpp
src/parser/smt2/Smt2.g
src/printer/ast/ast_printer.cpp
src/printer/ast/ast_printer.h
src/printer/cvc/cvc_printer.cpp
src/printer/cvc/cvc_printer.h
src/printer/printer.cpp
src/printer/printer.h
src/printer/smt1/smt1_printer.cpp
src/printer/smt1/smt1_printer.h
src/printer/smt2/smt2_printer.cpp
src/printer/smt2/smt2_printer.h
src/prop/minisat/core/Solver.cc
src/prop/prop_engine.cpp
src/smt/options_handlers.h
src/smt/smt_engine.cpp
src/smt/smt_engine.h
src/theory/arrays/type_enumerator.h
src/theory/model.cpp
src/theory/model.h
src/theory/quantifiers/first_order_model.cpp
src/theory/quantifiers/first_order_model.h
src/theory/theory_engine.cpp
src/theory/theory_engine.h
src/util/Makefile.am
src/util/ite_removal.cpp
src/util/ite_removal.h
src/util/util_model.cpp
src/util/util_model.h
src/util/util_model.i [new file with mode: 0644]
test/regress/regress0/push-pop/Makefile.am
test/regress/regress0/push-pop/bug394.smt2
test/regress/regress0/uflia/Makefile.am
test/regress/regress0/uflia/microwave21.ec.minimized.smt2
test/system/CVC4JavaTest.java
test/unit/theory/type_enumerator_white.h