This converter transforms programs in Mini-Java Syntax into Horn Clauses (
SMTLIB Syntax
)
> Our SAS 2016 Paper on HAL
> All the Benchmarks in Mini-Java Syntax
// ESOP10 Dillig Dillig Aiken, adapted to simple java syntax. class init_cte{ static int i,size,tmp,c,u; static int a[] ; static void main() { size=Support.random(); Support.assume(0 < size); i=0; c=Support.random(); while(i< size){ a[i]=c; i=i+1; } i=0; //Property to prove ! while(i < size){ u=a[i]; assert(u==c); i=i+1; } } }
Type the code in the box above or select a MINI-JAVA file to upload.
?