3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-01 07:40:41 +00:00

split muz_qe into two directories

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-08-28 12:08:47 -07:00
parent d795792304
commit 137339a2e1
174 changed files with 242 additions and 174 deletions

49
src/muz/hnf.h Normal file
View file

@ -0,0 +1,49 @@
/*++
Copyright (c) 2013 Microsoft Corporation
Module Name:
hnf.h
Abstract:
Horn normal form convertion.
Author:
Notes:
Very similar to NNF.
--*/
#ifndef _HNF_H_
#define _HNF_H_
#include"ast.h"
#include"params.h"
#include"defined_names.h"
#include"proof_converter.h"
class hnf {
class imp;
imp * m_imp;
public:
hnf(ast_manager & m);
~hnf();
void operator()(expr * n, // [IN] expression that should be put into Horn NF
proof* p, // [IN] proof of n
expr_ref_vector & rs, // [OUT] resultant (conjunction) of expressions
proof_ref_vector& ps // [OUT] proofs of rs
);
void cancel() { set_cancel(true); }
void reset_cancel() { set_cancel(false); }
void set_cancel(bool f);
void set_name(symbol const& name);
void reset();
func_decl_ref_vector const& get_fresh_predicates();
};
#endif /* _HNF_H_ */