3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 04:56:03 +00:00

duality: eager deduction and history-based conjectures

This commit is contained in:
Ken McMillan 2014-03-14 13:40:31 -07:00
parent 180f55bbda
commit bbab6be280
5 changed files with 440 additions and 108 deletions

View file

@ -3334,7 +3334,7 @@ namespace Duality {
func_decl f = t.decl();
std::vector<Term> args;
int nargs = t.num_args();
if(nargs == 0)
if(nargs == 0 && f.get_decl_kind() == Uninterpreted)
ls->declare_constant(f); // keep track of background constants
for(int i = 0; i < nargs; i++)
args.push_back(SubstBoundRec(memo, subst, level, t.arg(i)));