Commit d79732e4 authored by MARCHE Claude's avatar MARCHE Claude

Experiment with a variant of bitwalker example

parent 101b1f51
......@@ -55,6 +55,9 @@ theory bv.BV64
syntax function nth_bv
"(not (= (bvand (bvlshr %1 %2) (_ bv1 64)) (_ bv0 64)))"
(* possible alternative definition :
"(= ((_ extract 0 0) (bvlshr %1 %2)) (_ bv1 1))"
*)
syntax function rotate_left "(bvor (bvshl %1 (bvurem %2 (_ bv64 64))) (bvlshr %1 (bvsub (_ bv64 64) (bvurem %2 (_ bv64 64)))))"
syntax function rotate_right "(bvor (bvlshr %1 (bvurem %2 (_ bv64 64))) (bvshl %1 (bvsub (_ bv64 64) (bvurem %2 (_ bv64 64)))))"
......
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE why3session PUBLIC "-//Why3//proof session v5//EN"
"http://why3.lri.fr/why3session.dtd">
<why3session shape_version="4">
<prover id="0" name="Alt-Ergo" version="0.99.1" timelimit="5" memlimit="1000"/>
<prover id="1" name="CVC4" version="1.4" timelimit="5" memlimit="1000"/>
<prover id="2" name="Z3" version="4.3.2" timelimit="5" memlimit="1000"/>
<file name="../bitwalker_abstract2.mlw" expanded="true">
<theory name="Bitwalker" sum="b7a131dcea083d6baada14c70d159dd0" expanded="true">
<goal name="nth64" expanded="true">
</goal>
<goal name="WP_parameter poke_64bit_bv" expl="VC for poke_64bit_bv" expanded="true">
<transf name="split_goal_wp" expanded="true">
<goal name="WP_parameter poke_64bit_bv.1" expl="1. precondition">
<proof prover="0"><result status="valid" time="0.03" steps="79"/></proof>
<proof prover="1"><result status="valid" time="0.02"/></proof>
<proof prover="2"><result status="valid" time="0.00"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.2" expl="2. precondition">
<proof prover="0"><result status="valid" time="0.03" steps="82"/></proof>
<proof prover="1"><result status="valid" time="0.03"/></proof>
<proof prover="2"><result status="valid" time="0.01"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.3" expl="3. precondition">
<proof prover="0"><result status="valid" time="0.03" steps="85"/></proof>
<proof prover="1"><result status="valid" time="0.01"/></proof>
<proof prover="2"><result status="valid" time="0.00"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.4" expl="4. VC for poke_64bit_bv" expanded="true">
<proof prover="2"><result status="valid" time="0.02"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.5" expl="5. VC for poke_64bit_bv" expanded="true">
<proof prover="0"><result status="timeout" time="5.00"/></proof>
<proof prover="1" edited="bitwalker_abstract2-Bitwalker-WP_parameter_poke_64bit_bv_2.smt2" obsolete="true"><undone/></proof>
<proof prover="2"><result status="timeout" time="4.99"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.6" expl="6. VC for poke_64bit_bv" expanded="true">
<proof prover="2"><result status="valid" time="0.05"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.7" expl="7. VC for poke_64bit_bv" expanded="true">
<proof prover="1" edited="bitwalker_abstract2-Bitwalker-WP_parameter_poke_64bit_bv_1.smt2"><result status="valid" time="0.05"/></proof>
<proof prover="2"><result status="valid" time="0.02"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.8" expl="8. postcondition">
<proof prover="0"><result status="valid" time="0.77" steps="258"/></proof>
<proof prover="2"><result status="timeout" time="4.99"/></proof>
</goal>
<goal name="WP_parameter poke_64bit_bv.9" expl="9. postcondition" expanded="true">
<proof prover="0"><result status="valid" time="1.46" steps="621"/></proof>
</goal>
</transf>
</goal>
<goal name="WP_parameter peek_8bit_bv" expl="VC for peek_8bit_bv" expanded="true">
<transf name="split_goal_wp" expanded="true">
<goal name="WP_parameter peek_8bit_bv.1" expl="1. precondition">
<proof prover="1"><result status="valid" time="0.02"/></proof>
</goal>
<goal name="WP_parameter peek_8bit_bv.2" expl="2. precondition">
<proof prover="1"><result status="valid" time="0.02"/></proof>
</goal>
<goal name="WP_parameter peek_8bit_bv.3" expl="3. precondition">
<proof prover="1"><result status="valid" time="0.01"/></proof>
</goal>
<goal name="WP_parameter peek_8bit_bv.4" expl="4. VC for peek_8bit_bv">
<proof prover="1"><result status="valid" time="0.09"/></proof>
<proof prover="2"><result status="valid" time="0.01"/></proof>
</goal>
<goal name="WP_parameter peek_8bit_bv.5" expl="5. postcondition" expanded="true">
<proof prover="0"><result status="timeout" time="5.00"/></proof>
<proof prover="1"><result status="timeout" time="5.03"/></proof>
<proof prover="2"><result status="timeout" time="4.99"/></proof>
</goal>
</transf>
</goal>
</theory>
</file>
</why3session>
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