@@ -364,21 +364,21 @@ namespace q {
364
364
}
365
365
}
366
366
367
- q_proof_hint* q_proof_hint::mk (euf::solver& s, unsigned generation, sat::literal_vector const & lits, unsigned n, euf::enode* const * bindings) {
367
+ q_proof_hint* q_proof_hint::mk (euf::solver& s, symbol const & method, unsigned generation, sat::literal_vector const & lits, unsigned n, euf::enode* const * bindings) {
368
368
SASSERT (n > 0 );
369
369
auto * mem = s.get_region ().allocate (q_proof_hint::get_obj_size (n, lits.size ()));
370
- q_proof_hint* ph = new (mem) q_proof_hint (generation, n, lits.size ());
370
+ q_proof_hint* ph = new (mem) q_proof_hint (method, generation, n, lits.size ());
371
371
for (unsigned i = 0 ; i < n; ++i)
372
372
ph->m_bindings [i] = bindings[i]->get_expr ();
373
373
for (unsigned i = 0 ; i < lits.size (); ++i)
374
374
ph->m_literals [i] = lits[i];
375
375
return ph;
376
376
}
377
377
378
- q_proof_hint* q_proof_hint::mk (euf::solver& s, unsigned generation, sat::literal l1, sat::literal l2, unsigned n, expr* const * bindings) {
378
+ q_proof_hint* q_proof_hint::mk (euf::solver& s, symbol const & method, unsigned generation, sat::literal l1, sat::literal l2, unsigned n, expr* const * bindings) {
379
379
SASSERT (n > 0 );
380
380
auto * mem = s.get_region ().allocate (q_proof_hint::get_obj_size (n, 2 ));
381
- q_proof_hint* ph = new (mem) q_proof_hint (generation, n, 2 );
381
+ q_proof_hint* ph = new (mem) q_proof_hint (method, generation, n, 2 );
382
382
for (unsigned i = 0 ; i < n; ++i)
383
383
ph->m_bindings [i] = bindings[i];
384
384
ph->m_literals [0 ] = l1;
@@ -402,6 +402,7 @@ namespace q {
402
402
args.push_back (s.literal2expr (~m_literals[i]));
403
403
args.push_back (binding);
404
404
args.push_back (m.mk_app (symbol (" gen" ), 1 , gens, range));
405
+ args.push_back (m.mk_const (m_method, range));
405
406
return m.mk_app (symbol (" inst" ), args.size (), args.data (), range);
406
407
}
407
408
0 commit comments