1 2 3 4
|
(Modules((((id_str M)(id_ats())(id_loc(../epsilon.mlw 1 0 1 1)))((Duseimport(../epsilon.mlw 1 0 1 1)false(((Qdot(Qident((id_str int)(id_ats())(id_loc(""0 0 0 0))))((id_str Int)(id_ats())(id_loc(""0 0 0 0))))())))(Dprop Pgoal((id_str g)(id_ats())(id_loc(../epsilon.mlw 1 0 1 1)))((term_desc(Tidapp(Qdot(Qident((id_str Int)(id_ats())(id_loc(""0 0 0 0))))((id_str"infix >")(id_ats())(id_loc(""0 0 0 0))))(((term_desc(Tidapp(Qdot(Qident((id_str Int)(id_ats())(id_loc(""0 0 0 0))))((id_str"infix +")(id_ats())(id_loc(""0 0 0 0))))(((term_desc(Teps((id_str x)(id_ats())(id_loc(../epsilon.mlw 1 0 1 1)))(PTtyapp(Qident((id_str int)(id_ats())(id_loc(""0 0 0 0))))())((term_desc(Tidapp(Qdot(Qident((id_str Int)(id_ats())(id_loc(""0 0 0 0))))((id_str"infix <=")(id_ats())(id_loc(""0 0 0 0))))(((term_desc(Tconst(ConstInt((il_kind ILitDec)(il_int 0)))))(term_loc(../epsilon.mlw 1 0 1 1)))((term_desc(Tident(Qident((id_str x)(id_ats())(id_loc(../epsilon.mlw 1 0 1 1))))))(term_loc(../epsilon.mlw 1 0 1 1))))))(term_loc(../epsilon.mlw 1 0 1 1)))))(term_loc(../epsilon.mlw 1 0 1 1)))((term_desc(Tconst(ConstInt((il_kind ILitDec)(il_int 1)))))(term_loc(../epsilon.mlw 1 0 1 1))))))(term_loc(""0 0 0 0)))((term_desc(Tconst(ConstInt((il_kind ILitDec)(il_int 0)))))(term_loc(../epsilon.mlw 1 0 1 1))))))(term_loc(../epsilon.mlw 1 0 1 1))))))))
On task 1, Alt-ergo answers Valid (<hidden>s, <hidden> steps)
You can try the same example in the IDE using
why3 ide examples/use_api/epsilon.sexp
|