mirror of
https://github.com/Z3Prover/z3
synced 2025-09-01 07:40:41 +00:00
tactic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0768a2ead1
commit
e423fabf6a
7 changed files with 170 additions and 117 deletions
|
@ -5,15 +5,28 @@ Module Name:
|
|||
|
||||
dt2bv_tactic.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Tactic that eliminates finite domain data-types.
|
||||
|
||||
Author:
|
||||
|
||||
nbjorner 2016-07-22
|
||||
|
||||
Revision History:
|
||||
Tactic Documentation
|
||||
|
||||
## Tactic dt2bv
|
||||
|
||||
### Short Description
|
||||
|
||||
Tactic that eliminates finite domain data-types.
|
||||
|
||||
### Example
|
||||
|
||||
```z3
|
||||
(declare-datatypes ((Color 0)) (((Red) (Blue) (Green) (DarkBlue) (MetallicBlack) (MetallicSilver) (Silver) (Black))))
|
||||
(declare-const x Color)
|
||||
(declare-const y Color)
|
||||
(assert (not (= x y)))
|
||||
(assert (not (= x Red)))
|
||||
(apply dt2bv)
|
||||
```
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue