source:
CIVL/mods/dev.civl.com/examples/experimental/quantifier.c@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 254 bytes | |
| Line | |
|---|---|
| 1 | #include <stdio.h> |
| 2 | #include <civlc.cvh> |
| 3 | |
| 4 | $input int n1; |
| 5 | $assume (n1>=0); |
| 6 | $input int X1[n1]; |
| 7 | $input int X2[n1]; |
| 8 | |
| 9 | void main(){ |
| 10 | $assert( |
| 11 | $forall {int i | i > 0 && i < n1} X1[i] == X2[i] |
| 12 | //&& ($forall {int i | i > 0 && i < n1} X1[i] == X2[i] |
| 13 | ); |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
