From e2cfc53c9fe44690bf4310ad0ce8d0b6deea91f5 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Thu, 13 Oct 2022 15:31:58 +0200 Subject: [PATCH] #6364 skip proof hint unless proofs are on --- src/sat/smt/q_mbi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sat/smt/q_mbi.cpp b/src/sat/smt/q_mbi.cpp index d81256393..4530e9f93 100644 --- a/src/sat/smt/q_mbi.cpp +++ b/src/sat/smt/q_mbi.cpp @@ -71,7 +71,7 @@ namespace q { for (auto const& [qlit, fml, inst, generation] : m_instantiations) { euf::solver::scoped_generation sg(ctx, generation + 1); sat::literal lit = ~ctx.mk_literal(fml); - auto* ph = q_proof_hint::mk(ctx, ~qlit, lit, inst.size(), inst.data()); + auto* ph = ctx.use_drat()? q_proof_hint::mk(ctx, ~qlit, lit, inst.size(), inst.data()) : nullptr; m_qs.add_clause(~qlit, lit, ph); m_qs.log_instantiation(~qlit, lit); }