mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 20:50:50 +00:00
add tabulation/subsumption engine
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bb386c0f18
commit
50bf845b40
2 changed files with 280 additions and 0 deletions
45
src/muz_qe/tab_context.h
Normal file
45
src/muz_qe/tab_context.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
/*++
|
||||
Copyright (c) 2013 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
tab_context.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Tabulation/subsumption/cyclic proof context.
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2013-01-15
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _TAB_CONTEXT_H_
|
||||
#define _TAB_CONTEXT_H_
|
||||
|
||||
#include "ast.h"
|
||||
#include "lbool.h"
|
||||
#include "statistics.h"
|
||||
|
||||
namespace datalog {
|
||||
class context;
|
||||
|
||||
class tab {
|
||||
class imp;
|
||||
imp* m_imp;
|
||||
public:
|
||||
tab(context& ctx);
|
||||
~tab();
|
||||
lbool query(expr* query);
|
||||
void cancel();
|
||||
void cleanup();
|
||||
void reset_statistics();
|
||||
void collect_statistics(statistics& st) const;
|
||||
void display_certificate(std::ostream& out) const;
|
||||
expr_ref get_answer();
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue