Statistics on instantiations per quantified formula. (#4719)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Mon, 13 Jul 2020 19:21:47 +0000 (14:21 -0500)
committerGitHub <noreply@github.com>
Mon, 13 Jul 2020 19:21:47 +0000 (14:21 -0500)
commit4b86268a71d0d6fd179134889f7d15304623b130
tree9a736babe6e79286b20641f7c056390c9108c66a
parentdf642ec7d4eef0e2f994751be53e66201f2b92f9
Statistics on instantiations per quantified formula. (#4719)

This adds a new print format for instantiations --print-instantiations=num, which prints the total number of instantations of quantified formulas. This count is user-context-dependent, which is in sync with the existing print-instantiation format (list).

It also simplifies and improves printing of Instantiation Tries.
15 files changed:
src/options/quantifiers_options.toml
src/parser/smt2/Smt2.g
src/theory/quantifiers/inst_match_trie.cpp
src/theory/quantifiers/inst_match_trie.h
src/theory/quantifiers/instantiate.cpp
src/theory/quantifiers/instantiate.h
src/theory/quantifiers/quantifiers_attributes.cpp
src/theory/quantifiers/quantifiers_attributes.h
src/theory/quantifiers/theory_quantifiers.cpp
src/theory/quantifiers_engine.cpp
test/regress/CMakeLists.txt
test/regress/regress1/quantifiers/dump-inst-i.smt2
test/regress/regress1/quantifiers/dump-inst-proof.smt2
test/regress/regress1/quantifiers/dump-inst.smt2
test/regress/regress1/quantifiers/qid.smt2 [new file with mode: 0644]