mirror of
https://github.com/Z3Prover/z3
synced 2025-08-30 06:50:08 +00:00
significant update to Horn routines: add module hnf to extract Horn normal form (removed from rule_manager). Associate proof objects with rules to track (all) rewrites, so that proof traces can be tracked back to original rules after transformations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e73c06a8b0
commit
26f4d3be20
60 changed files with 591 additions and 428 deletions
|
@ -24,7 +24,6 @@ Revision History:
|
|||
#include"dl_rule.h"
|
||||
#include"dl_rule_set.h"
|
||||
#include"model_converter.h"
|
||||
#include"proof_converter.h"
|
||||
|
||||
namespace datalog {
|
||||
|
||||
|
@ -69,7 +68,7 @@ namespace datalog {
|
|||
\brief Transform the rule set using the registered transformation plugins. If the rule
|
||||
set has changed, return true; otherwise return false.
|
||||
*/
|
||||
bool operator()(rule_set & rules, model_converter_ref& mc, proof_converter_ref& pc);
|
||||
bool operator()(rule_set & rules, model_converter_ref& mc);
|
||||
};
|
||||
|
||||
class rule_transformer::plugin {
|
||||
|
@ -106,8 +105,7 @@ namespace datalog {
|
|||
The caller takes ownership of the returned \c rule_set object.
|
||||
*/
|
||||
virtual rule_set * operator()(rule_set const & source,
|
||||
model_converter_ref& mc,
|
||||
proof_converter_ref& pc) = 0;
|
||||
model_converter_ref& mc) = 0;
|
||||
|
||||
virtual void cancel() { m_cancel = true; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue