mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
add tactic for rewriting cardinality constraints to bit-vectors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
88df909a6c
commit
c148272cc4
2 changed files with 220 additions and 0 deletions
32
src/tactic/arith/card2bv_tactic.h
Normal file
32
src/tactic/arith/card2bv_tactic.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*++
|
||||
Copyright (c) 2014 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
card2bv_tactic.cpp
|
||||
|
||||
Abstract:
|
||||
|
||||
Tactic for converting Pseudo-Boolean constraints to BV
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2014-03-20
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _CARD2BV_TACTIC_
|
||||
#define _CARD2BV_TACTIC_
|
||||
|
||||
#include"params.h"
|
||||
class ast_manager;
|
||||
class tactic;
|
||||
|
||||
tactic * mk_card2bv_tactic(ast_manager & m, params_ref const & p = params_ref());
|
||||
/*
|
||||
ADD_TACTIC("card2bv", "convert pseudo-boolean constraints to bit-vectors.", "mk_card2bv_tactic(m, p)")
|
||||
*/
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue