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:
parent
180f55bbda
commit
bbab6be280
5 changed files with 440 additions and 108 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue