Commit 7b66207b authored by MARCHE Claude's avatar MARCHE Claude

update session: fixed version of Z3

parent 70950f92
......@@ -76,7 +76,8 @@ Definition distance (d:Z) (i:Z): Prop := (path d i) /\ forall (d':Z), (path
d' i) -> (d <= d')%Z.
Require Import Why3.
Ltac ae := why3 "Alt-Ergo,0.95.2," timelimit 3.
Ltac ae := why3 "Alt-Ergo,0.95.2," timelimit 5.
Ltac z3 := why3 "Z3,4.3.1," timelimit 5.
(* Why3 goal *)
Theorem WP_parameter_distance : let o := n in ((0%Z <= o)%Z ->
......@@ -126,12 +127,12 @@ generalize (h10 k h). intros h10k.
assert (case: (j < Map.get g1 k \/ j = Map.get g1 k \/ j > Map.get g1 k)%Z) by omega.
destruct case.
(* j < g[k] *)
why3 "z3" timelimit 5.
z3.
destruct H5.
(* j = g[k] *)
ae.
(* j > g[k] *)
why3 "z3" timelimit 3.
z3.
(* k = 0 *)
ae.
Qed.
......
......@@ -2,105 +2,102 @@
<!DOCTYPE why3session PUBLIC "-//Why3//proof session v5//EN"
"http://why3.lri.fr/why3session.dtd">
<why3session shape_version="4">
<prover id="0" name="Coq" version="8.4pl4" timelimit="5" memlimit="1000"/>
<prover id="1" name="CVC4" version="1.2" timelimit="5" memlimit="1000"/>
<prover id="2" name="CVC3" version="2.4.1" timelimit="5" memlimit="1000"/>
<prover id="3" name="Alt-Ergo" version="0.95.1" timelimit="10" memlimit="1000"/>
<prover id="4" name="Z3" version="2.19" timelimit="5" memlimit="1000"/>
<prover id="5" name="Z3" version="4.3.1" timelimit="5" memlimit="1000"/>
<prover id="6" name="Z3" version="3.2" timelimit="17" memlimit="1000"/>
<prover id="0" name="Alt-Ergo" version="0.99.1" timelimit="5" memlimit="1000"/>
<prover id="1" name="CVC3" version="2.4.1" timelimit="5" memlimit="1000"/>
<prover id="2" name="Coq" version="8.4pl5" timelimit="5" memlimit="1000"/>
<prover id="3" name="CVC4" version="1.4" timelimit="5" memlimit="1000"/>
<prover id="4" name="Z3" version="4.3.1" timelimit="5" memlimit="1000"/>
<prover id="5" name="Z3" version="3.2" timelimit="5" memlimit="1000"/>
<file name="../optimal_replay.mlw" expanded="true">
<theory name="OptimalReplay" sum="acb443210f580c62b6d0e579421f7650" expanded="true">
<goal name="WP_parameter distance" expl="VC for distance" expanded="true">
<transf name="split_goal_wp" expanded="true">
<goal name="WP_parameter distance.1" expl="1. array creation size">
<proof prover="3" memlimit="0"><result status="valid" time="0.00"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="2"/></proof>
</goal>
<goal name="WP_parameter distance.2" expl="2. index in array bounds">
<proof prover="3" timelimit="17"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="3"/></proof>
</goal>
<goal name="WP_parameter distance.3" expl="3. array creation size">
<proof prover="3" memlimit="0"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="5"/></proof>
</goal>
<goal name="WP_parameter distance.4" expl="4. assertion">
<proof prover="3" memlimit="0"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="6"/></proof>
</goal>
<goal name="WP_parameter distance.5" expl="5. assertion">
<proof prover="3" memlimit="0"><result status="valid" time="0.02"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="37"/></proof>
</goal>
<goal name="WP_parameter distance.6" expl="6. loop invariant init">
<proof prover="3" timelimit="5"><result status="valid" time="0.00"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="8"/></proof>
</goal>
<goal name="WP_parameter distance.7" expl="7. loop invariant init">
<proof prover="3" timelimit="5"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="7"/></proof>
</goal>
<goal name="WP_parameter distance.8" expl="8. loop invariant init">
<proof prover="2" timelimit="10" memlimit="0"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="9"/></proof>
</goal>
<goal name="WP_parameter distance.9" expl="9. loop invariant init">
<proof prover="3" timelimit="5"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="12"/></proof>
</goal>
<goal name="WP_parameter distance.10" expl="10. loop invariant init">
<proof prover="3" timelimit="17"><result status="valid" time="0.00"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="12"/></proof>
</goal>
<goal name="WP_parameter distance.11" expl="11. type invariant">
<proof prover="3" timelimit="5"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="14"/></proof>
</goal>
<goal name="WP_parameter distance.12" expl="12. index in array bounds">
<proof prover="3" timelimit="17"><result status="valid" time="0.02"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="16"/></proof>
</goal>
<goal name="WP_parameter distance.13" expl="13. index in array bounds">
<proof prover="3" timelimit="17"><result status="valid" time="0.00"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="18"/></proof>
</goal>
<goal name="WP_parameter distance.14" expl="14. loop invariant preservation">
<proof prover="1"><result status="valid" time="0.02"/></proof>
<proof prover="2"><result status="valid" time="0.04"/></proof>
<proof prover="5"><result status="valid" time="0.03"/></proof>
<proof prover="6" timelimit="5"><result status="valid" time="0.02"/></proof>
<proof prover="1"><result status="valid" time="0.04"/></proof>
<proof prover="3"><result status="valid" time="0.02"/></proof>
<proof prover="4"><result status="valid" time="0.03"/></proof>
<proof prover="5"><result status="valid" time="0.02"/></proof>
</goal>
<goal name="WP_parameter distance.15" expl="15. loop invariant preservation">
<proof prover="2" timelimit="17"><result status="valid" time="0.04"/></proof>
<proof prover="6"><result status="valid" time="0.22"/></proof>
<proof prover="1" timelimit="17"><result status="valid" time="0.04"/></proof>
<proof prover="5" timelimit="17"><result status="valid" time="0.22"/></proof>
</goal>
<goal name="WP_parameter distance.16" expl="16. loop variant decrease">
<proof prover="3" timelimit="17"><result status="valid" time="0.61"/></proof>
<proof prover="0"><result status="valid" time="0.36" steps="429"/></proof>
</goal>
<goal name="WP_parameter distance.17" expl="17. type invariant">
<proof prover="3" timelimit="5"><result status="valid" time="0.00"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="17"/></proof>
</goal>
<goal name="WP_parameter distance.18" expl="18. index in array bounds">
<proof prover="3" timelimit="17"><result status="valid" time="0.00"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="17"/></proof>
</goal>
<goal name="WP_parameter distance.19" expl="19. index in array bounds">
<proof prover="3" timelimit="17"><result status="valid" time="0.02"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="17"/></proof>
</goal>
<goal name="WP_parameter distance.20" expl="20. index in array bounds">
<proof prover="3" memlimit="0"><result status="valid" time="0.00"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="19"/></proof>
</goal>
<goal name="WP_parameter distance.21" expl="21. loop invariant preservation">
<proof prover="3" timelimit="5"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="20"/></proof>
</goal>
<goal name="WP_parameter distance.22" expl="22. loop invariant preservation">
<proof prover="1"><result status="valid" time="0.05"/></proof>
<proof prover="2"><result status="valid" time="0.28"/></proof>
<proof prover="4"><result status="valid" time="1.09"/></proof>
<proof prover="1"><result status="valid" time="0.28"/></proof>
<proof prover="3"><result status="valid" time="0.05"/></proof>
</goal>
<goal name="WP_parameter distance.23" expl="23. loop invariant preservation">
<proof prover="2" timelimit="17"><result status="valid" time="0.06"/></proof>
<proof prover="6"><result status="valid" time="0.02"/></proof>
<proof prover="0"><result status="valid" time="0.06" steps="48"/></proof>
</goal>
<goal name="WP_parameter distance.24" expl="24. assertion">
<proof prover="3" memlimit="0"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.02" steps="32"/></proof>
</goal>
<goal name="WP_parameter distance.25" expl="25. assertion">
<transf name="inline_goal">
<goal name="WP_parameter distance.25.1" expl="1. assertion">
<transf name="split_goal_wp">
<goal name="WP_parameter distance.25.1.1" expl="1. assertion">
<proof prover="3" memlimit="0"><result status="valid" time="0.01"/></proof>
<proof prover="0"><result status="valid" time="0.01" steps="9"/></proof>
</goal>
<goal name="WP_parameter distance.25.1.2" expl="2. assertion">
<proof prover="0" edited="distance_Distance_WP_parameter_distance_1.v"><result status="valid" time="5.79"/></proof>
<proof prover="2" edited="distance_Distance_WP_parameter_distance_1.v"><result status="valid" time="3.63"/></proof>
</goal>
</transf>
</goal>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment