3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 01:54:08 +00:00
z3/src/tactic/arith/eq2bv_tactic.h
Nikolaj Bjorner 7afcaa5364 update doc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-12-12 18:56:21 -08:00

49 lines
749 B
C++

/*++
Copyright (c) 2015 Microsoft Corporation
Module Name:
eq2bv_tactic.h
Author:
Nikolaj Bjorner (nbjorner) 2015-8-19
Tactic Documentation:
## Tactic eq2bv
### Short Description
Extract integer variables that are used as finite domain indicators.
The integer variables can only occur in equalities.
### Example
```z3
(declare-const x Int)
(declare-const y Int)
(assert (or (= x 5) (> y 3)))
(assert (or (= x 4) (= y 2)))
(apply eq2bv)
```
### Notes
* does not support proofs
--*/
#pragma once
#include "util/params.h"
class ast_manager;
class tactic;
tactic * mk_eq2bv_tactic(ast_manager & m);
/*
ADD_TACTIC("eq2bv", "convert integer variables used as finite domain elements to bit-vectors.", "mk_eq2bv_tactic(m)")
*/