mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 21:37:02 +00:00
add recfun rewriting, remove quantifier based recfun
This commit is contained in:
parent
7f1b147cba
commit
f9193809ea
13 changed files with 94 additions and 143 deletions
36
src/ast/rewriter/recfun_rewriter.h
Normal file
36
src/ast/rewriter/recfun_rewriter.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*++
|
||||
Copyright (c) 2018 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
recfun_rewriter.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Rewriter recursive function applications to values
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2020-04-26
|
||||
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ast/recfun_decl_plugin.h"
|
||||
#include "ast/rewriter/rewriter.h"
|
||||
|
||||
class recfun_rewriter {
|
||||
ast_manager& m;
|
||||
recfun::util m_rec;
|
||||
public:
|
||||
recfun_rewriter(ast_manager& m): m(m), m_rec(m) {}
|
||||
~recfun_rewriter() {}
|
||||
|
||||
br_status mk_app_core(func_decl * f, unsigned num_args, expr * const * args, expr_ref & result);
|
||||
|
||||
family_id get_fid() const { return m_rec.get_family_id(); }
|
||||
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue