mirror of
https://github.com/Z3Prover/z3
synced 2025-08-30 15:00:08 +00:00
make self-contained bind-variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
918d52f1b0
commit
6457654e2e
5 changed files with 231 additions and 61 deletions
|
@ -1,37 +1,36 @@
|
|||
/*++
|
||||
Copyright (c) 2013 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
hnf.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Horn normal form convertion.
|
||||
Author:
|
||||
|
||||
|
||||
Notes:
|
||||
|
||||
Very similar to NNF.
|
||||
/*--
|
||||
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:
|
||||
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
|
||||
|
@ -45,5 +44,5 @@ public:
|
|||
void reset();
|
||||
func_decl_ref_vector const& get_fresh_predicates();
|
||||
};
|
||||
|
||||
|
||||
#endif /* _HNF_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue