Hello,
How do I represent some control and loop structures such as:if...else;for();while();
by using Z3 ???
Thanks
Lee, Kim
Dear Lee, Kim.
There was just a similar sounding post. I include the reply:
It sounds like you want to perform program verification. There are several existing tools that build on top of Z3 to perform program verification. In particular, try out Spec#: http://research.microsoft.com/en-us/projects/specsharp/.
You will also find quite extensive documentation on how formulas (verification conditions) are extacted from imperative/object-oriented programs. When done for realistic settings, this is a considerable task.
Regards,
Nikolaj