mirror of
https://github.com/Z3Prover/z3
synced 2026-02-19 23:14:40 +00:00
bug fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c832802183
commit
d847a28589
10 changed files with 118 additions and 76 deletions
|
|
@ -2328,7 +2328,7 @@ public:
|
|||
unsigned get_num_parents(proof const * p) const {
|
||||
SASSERT(is_proof(p));
|
||||
unsigned n = p->get_num_args();
|
||||
return p->get_decl()->get_decl_kind() == PR_TH_LEMMA ? n - 2 : !has_fact(p) ? n : n - 1;
|
||||
return !has_fact(p) ? n : n - 1;
|
||||
}
|
||||
proof * get_parent(proof const * p, unsigned idx) const { SASSERT(is_proof(p)); return to_app(p->get_arg(idx)); }
|
||||
proof * mk_true_proof();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue