mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
add concat to z3++, codeplex request
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
901d8a9f5b
commit
4a9d97bd02
2 changed files with 10 additions and 0 deletions
|
@ -205,6 +205,9 @@ void bitvector_example1() {
|
|||
|
||||
// using unsigned <=
|
||||
prove(ule(x - 10, 0) == ule(x, 10));
|
||||
|
||||
expr y = c.bv_const("y", 32);
|
||||
prove(implies(concat(x, y) == concat(y, x), x == y));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue