Commit 536cc258 authored by POLLIEN Baptiste's avatar POLLIEN Baptiste
Browse files

Start rmat_of_eulers

parent aa6dd827
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
{ "Unfold 'L_l_RMat_of_FloatQuat'": { "Unfold 'L_l_RMat_of_FloatQuat'":
[ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 6.82 } ] } } ] } } ], "time": 7.45 } ] } } ] } } ],
"Goal 2/9": "Goal 2/9":
[ { "header": "Definition", [ { "header": "Definition",
"tactic": "Wp.unfold", "tactic": "Wp.unfold",
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 0.16 } ] } } ] } } ] } } ], "time": 0.1 } ] } } ] } } ] } } ],
"Goal 3/9": "Goal 3/9":
[ { "header": "Definition", [ { "header": "Definition",
"tactic": "Wp.unfold", "tactic": "Wp.unfold",
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 0.13 } ] } } ] } } ] } } ], "time": 0.12 } ] } } ] } } ] } } ],
"Goal 4/9": "Goal 4/9":
[ { "header": "Definition", [ { "header": "Definition",
"tactic": "Wp.unfold", "tactic": "Wp.unfold",
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 0.09 } ] } } ] } } ] } } ], "time": 0.1 } ] } } ] } } ] } } ],
"Goal 5/9": "Goal 5/9":
[ { "header": "Definition", [ { "header": "Definition",
"tactic": "Wp.unfold", "tactic": "Wp.unfold",
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
{ "Unfold 'L_transpose'": { "Unfold 'L_transpose'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 13.1215, "time": 11.7041,
"steps": 114 } ] } } ], "steps": 114 } ] } } ],
"Goal 6/9": "Goal 6/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
{ "Unfold 'L_l_RMat_of_FloatQuat'": { "Unfold 'L_l_RMat_of_FloatQuat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 14.0104, "time": 15.2679,
"steps": 114 } ] } } ] } } ], "steps": 114 } ] } } ] } } ],
"Goal 8/9": "Goal 8/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -221,10 +221,10 @@ ...@@ -221,10 +221,10 @@
{ "Unfold 'L_transpose'": { "Unfold 'L_transpose'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 13.0856, "time": 13.6175,
"steps": 114 } ] } } ], "steps": 114 } ] } } ],
"Goal 9/9": "Goal 9/9":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 8.2545, "time": 9.1711,
"steps": 114 } ] } } ] } } ] "steps": 114 } ] } } ] } } ]
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 1.42 } ] } } ] } } ] } } ], "time": 1.26 } ] } } ] } } ] } } ],
"Goal 2/9": "Goal 2/9":
[ { "header": "Definition", [ { "header": "Definition",
"tactic": "Wp.unfold", "tactic": "Wp.unfold",
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 4.2528, "time": 3.8506,
"steps": 12 } ] } } ] } } ], "steps": 12 } ] } } ] } } ],
"Goal 3/9": "Goal 3/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 9.1948, "time": 8.6803,
"steps": 122 } ] } } ], "steps": 122 } ] } } ],
"Goal 4/9": "Goal 4/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 4.1576, "time": 4.8108,
"steps": 12 } ] } } ] } } ], "steps": 12 } ] } } ] } } ],
"Goal 5/9": "Goal 5/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
{ "Unfold 'L_id_rmat'": { "Unfold 'L_id_rmat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 6.1305, "time": 6.6462,
"steps": 118 } ] } } ] } } ], "steps": 118 } ] } } ] } } ],
"Goal 6/9": "Goal 6/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 8.8913, "time": 8.5869,
"steps": 122 } ] } } ], "steps": 122 } ] } } ],
"Goal 7/9": "Goal 7/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 9.4357, "time": 7.8722,
"steps": 122 } ] } } ], "steps": 122 } ] } } ],
"Goal 8/9": "Goal 8/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
{ "Unfold 'L_l_RMat_of_FloatRMat'": { "Unfold 'L_l_RMat_of_FloatRMat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 9.7792, "time": 8.5394,
"steps": 122 } ] } } ], "steps": 122 } ] } } ],
"Goal 9/9": "Goal 9/9":
[ { "header": "Definition", [ { "header": "Definition",
...@@ -225,5 +225,5 @@ ...@@ -225,5 +225,5 @@
{ "Unfold 'L_id_rmat'": { "Unfold 'L_id_rmat'":
[ { "prover": "Alt-Ergo:2.3.3", [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 11.8509, "time": 12.069,
"steps": 116 } ] } } ] } } ] } } ] } } ] } } ] } } ] "steps": 116 } ] } } ] } } ] } } ] } } ] } } ] } } ]
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
"pattern": "P_rvalid_int_mat_3_$Malloc$Mptr[=]" }, "pattern": "P_rvalid_int_mat_3_$Malloc$Mptr[=]" },
"children": { "Unfold 'P_rvalid_int_mat_3_'": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", "children": { "Unfold 'P_rvalid_int_mat_3_'": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 3.56 } ] } } ] "time": 3.47 } ] } } ]
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
"pattern": "P_rvalid_int_mat_3_$Malloc$Mptr[=]" }, "pattern": "P_rvalid_int_mat_3_$Malloc$Mptr[=]" },
"children": { "Unfold 'P_rvalid_int_mat_3_'": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", "children": { "Unfold 'P_rvalid_int_mat_3_'": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 0.61 } ] } } ] "time": 0.66 } ] } } ]
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"pattern": "P_rvalid_int_mat_3_$Malloc$Mptr[=]" }, "pattern": "P_rvalid_int_mat_3_$Malloc$Mptr[=]" },
"children": { "Unfold 'P_rvalid_int_mat_3_'": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", "children": { "Unfold 'P_rvalid_int_mat_3_'": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 3.55 }, "time": 3.64 },
{ "header": "Definition", { "header": "Definition",
"tactic": "Wp.unfold", "tactic": "Wp.unfold",
"params": {}, "params": {},
......
...@@ -4,5 +4,5 @@ ...@@ -4,5 +4,5 @@
"pattern": "P_rvalid_bound_Int32Quat$Malloc$Mint" }, "pattern": "P_rvalid_bound_Int32Quat$Malloc$Mint" },
"children": { "Unfold 'P_rvalid_bound_Int32Quat'": [ { "prover": "Alt-Ergo:2.3.3", "children": { "Unfold 'P_rvalid_bound_Int32Quat'": [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "verdict": "valid",
"time": 0.0607, "time": 0.0598,
"steps": 250 } ] } } ] "steps": 250 } ] } } ]
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
"target": "let a_0 = (shiftfield_F15_Int32RMat_m r_1) in\n(lsl\n (to_sint32\n (\\truncate\n (16384+\n (real_of_int\n (Mint_12[(shift_sint32 a_0 0)]-Mint_12[(shift_sint32 a_0 4)]-\n Mint_12[(shift_sint32 a_0 8)]))))) 14)", "target": "let a_0 = (shiftfield_F15_Int32RMat_m r_1) in\n(lsl\n (to_sint32\n (\\truncate\n (16384+\n (real_of_int\n (Mint_12[(shift_sint32 a_0 0)]-Mint_12[(shift_sint32 a_0 4)]-\n Mint_12[(shift_sint32 a_0 8)]))))) 14)",
"pattern": "lslto_sint3214\\truncate+16384real_of_int" }, "pattern": "lslto_sint3214\\truncate+16384real_of_int" },
"children": { "shift": [ { "prover": "Z3:4.8.6:counterexamples", "children": { "shift": [ { "prover": "Z3:4.8.6:counterexamples",
"verdict": "valid", "time": 0.03, "verdict": "valid", "time": 0.04,
"steps": 114877 } ] } } ] "steps": 114877 } ] } } ]
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
"target": "(to_sint32 (2147483647 div n_0))", "target": "(to_sint32 (2147483647 div n_0))",
"pattern": "to_sint32/2147483647$n" }, "pattern": "to_sint32/2147483647$n" },
"children": { "In-Range": [ { "prover": "Alt-Ergo:2.3.3", "children": { "In-Range": [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "time": 0.0188, "verdict": "valid", "time": 0.0174,
"steps": 100 } ], "steps": 100 } ],
"No-Overflow": [ { "prover": "Alt-Ergo:2.3.3", "No-Overflow": [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "time": 0.0138, "verdict": "valid", "time": 0.0211,
"steps": 28 } ] } } ] "steps": 28 } ] } } ]
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"target": "(to_sint32 (2147483647 div n_0))", "target": "(to_sint32 (2147483647 div n_0))",
"pattern": "to_sint32/2147483647$n" }, "pattern": "to_sint32/2147483647$n" },
"children": { "In-Range": [ { "prover": "Alt-Ergo:2.3.3", "children": { "In-Range": [ { "prover": "Alt-Ergo:2.3.3",
"verdict": "valid", "time": 0.0189, "verdict": "valid", "time": 0.0183,
"steps": 85 } ], "steps": 85 } ],
"No-Overflow": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", "No-Overflow": [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "time": 0.08 } ] } } ] "verdict": "valid", "time": 0.09 } ] } } ]
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
{ "In-Range": { "In-Range":
[ { "prover": "Z3:4.8.6:counterexamples", [ { "prover": "Z3:4.8.6:counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 0.02, "time": 0.01,
"steps": 18829 } ], "steps": 18829 } ],
"No-Overflow": "No-Overflow":
[ { "prover": "CVC4:1.9-prerelease:strings+counterexamples", [ { "prover": "CVC4:1.9-prerelease:strings+counterexamples",
"verdict": "valid", "verdict": "valid",
"time": 0.26 } ] } } ] } } ] } } ] "time": 0.14 } ] } } ] } } ] } } ]
...@@ -586,6 +586,7 @@ extern void float_rmat_of_axis_angle(struct FloatRMat *rm, struct FloatVect3 *uv ...@@ -586,6 +586,7 @@ extern void float_rmat_of_axis_angle(struct FloatRMat *rm, struct FloatVect3 *uv
/*@ /*@
requires valid_FloatRMat(rm); requires valid_FloatRMat(rm);
requires rvalid_FloatEulers(e); requires rvalid_FloatEulers(e);
ensures rotation_matrix(l_RMat_of_FloatRMat(rm));
assigns *rm; assigns *rm;
*/ */
extern void float_rmat_of_eulers_321(struct FloatRMat *rm, struct FloatEulers *e); extern void float_rmat_of_eulers_321(struct FloatRMat *rm, struct FloatEulers *e);
......
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