source:
CIVL/mods/dev.civl.com/examples/experimental/quantifier.c@
8553be8
| Last change on this file since 8553be8 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 254 bytes | |
| Rev | Line | |
|---|---|---|
| [f99393f] | 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( | |
| [5cd8c92] | 11 | $forall {int i | i > 0 && i < n1} X1[i] == X2[i] |
| 12 | //&& ($forall {int i | i > 0 && i < n1} X1[i] == X2[i] | |
| [f99393f] | 13 | ); |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
