mirror of
https://github.com/Z3Prover/z3
synced 2025-06-03 12:51:22 +00:00
parent
efc02282f4
commit
2ed26e8e73
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ namespace datalog {
|
||||||
throw default_exception(std::string("get_rules_along_trace is not supported for ") + m_name);
|
throw default_exception(std::string("get_rules_along_trace is not supported for ") + m_name);
|
||||||
}
|
}
|
||||||
virtual proof_ref get_proof() {
|
virtual proof_ref get_proof() {
|
||||||
return proof_ref(m.mk_asserted(m.mk_true()), m);
|
return proof_ref(m.mk_asserted(m.mk_false()), m);
|
||||||
}
|
}
|
||||||
virtual void add_callback(void *state,
|
virtual void add_callback(void *state,
|
||||||
const t_new_lemma_eh new_lemma_eh,
|
const t_new_lemma_eh new_lemma_eh,
|
||||||
|
|
|
@ -269,7 +269,7 @@ class horn_tactic : public tactic {
|
||||||
if (produce_proofs) {
|
if (produce_proofs) {
|
||||||
proof_ref proof = m_ctx.get_proof();
|
proof_ref proof = m_ctx.get_proof();
|
||||||
pc = proof2proof_converter(m, proof);
|
pc = proof2proof_converter(m, proof);
|
||||||
g->assert_expr(m.mk_false(), proof, nullptr);
|
g->assert_expr(m.get_fact(proof), proof, nullptr);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
g->assert_expr(m.mk_false());
|
g->assert_expr(m.mk_false());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue