mirror of
https://github.com/Z3Prover/z3
synced 2025-10-05 07:23:58 +00:00
load str decl plugin; recognize String sorted constants
This commit is contained in:
parent
744d2e3c9c
commit
8137e022e3
8 changed files with 190 additions and 1 deletions
50
src/smt/theory_str.h
Normal file
50
src/smt/theory_str.h
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*++
|
||||
Module Name:
|
||||
|
||||
theory_str.h
|
||||
|
||||
Abstract:
|
||||
|
||||
String Theory Plugin
|
||||
|
||||
Author:
|
||||
|
||||
Murphy Berzish (mtrberzi) 2015-09-03
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _THEORY_STR_H_
|
||||
#define _THEORY_STR_H_
|
||||
|
||||
#include"smt_theory.h"
|
||||
#include"trail.h"
|
||||
#include"th_rewriter.h"
|
||||
#include"value_factory.h"
|
||||
#include"smt_model_generator.h"
|
||||
|
||||
namespace smt {
|
||||
|
||||
class str_value_factory : public value_factory {
|
||||
// TODO
|
||||
};
|
||||
|
||||
class theory_str : public theory {
|
||||
// TODO
|
||||
protected:
|
||||
virtual bool internalize_atom(app * atom, bool gate_ctx);
|
||||
virtual bool internalize_term(app * term);
|
||||
|
||||
virtual void new_eq_eh(theory_var, theory_var);
|
||||
virtual void new_diseq_eh(theory_var, theory_var);
|
||||
virtual theory* mk_fresh(context*) { return alloc(theory_str, get_manager()); }
|
||||
public:
|
||||
theory_str(ast_manager& m);
|
||||
virtual ~theory_str();
|
||||
protected:
|
||||
void attach_new_th_var(enode * n);
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#endif /* _THEORY_STR_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue