3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-09 20:50:50 +00:00

More work on trailing 0 analysis.

This commit is contained in:
mikolas 2016-04-03 14:22:13 +01:00 committed by Mikolas Janota
parent c7f1746321
commit 78cb1e3c7b
6 changed files with 181 additions and 68 deletions

View file

@ -19,13 +19,15 @@
#include"ast.h"
#include"bv_rewriter.h"
#include"rewriter_types.h"
#include"mk_extract_proc.h"
class bv_trailing {
public:
bv_trailing(ast_manager&m, mk_extract_proc& ep);
bv_trailing(mk_extract_proc& ep);
virtual ~bv_trailing();
void count_trailing(expr * e, unsigned& min, unsigned& max, unsigned depth);
br_status eq_remove_trailing(expr * e1, expr * e2, expr_ref& result);
unsigned remove_trailing(expr * e, unsigned n, expr_ref& result, unsigned depth);
void reset_cache();
protected:
struct imp;
imp * m_imp;