Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
POLLIEN Baptiste
paparazzi-frama-c
Commits
536cc258
Commit
536cc258
authored
Apr 13, 2021
by
POLLIEN Baptiste
Browse files
Start rmat_of_eulers
parent
aa6dd827
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
29 additions
and
28 deletions
+29
-28
sw/airborne/.frama-c/wp/script/float_rmat_of_quat_ensures.json
...rborne/.frama-c/wp/script/float_rmat_of_quat_ensures.json
+8
-8
sw/airborne/.frama-c/wp/script/float_rmat_of_quat_ensures_2.json
...orne/.frama-c/wp/script/float_rmat_of_quat_ensures_2.json
+9
-9
sw/airborne/.frama-c/wp/script/int32_mat_mul_assert_rte_mem_access_5.json
...ma-c/wp/script/int32_mat_mul_assert_rte_mem_access_5.json
+1
-1
sw/airborne/.frama-c/wp/script/int32_mat_mul_assert_rte_mem_access_6.json
...ma-c/wp/script/int32_mat_mul_assert_rte_mem_access_6.json
+1
-1
sw/airborne/.frama-c/wp/script/int32_mat_mul_assert_rte_mem_access_7.json
...ma-c/wp/script/int32_mat_mul_assert_rte_mem_access_7.json
+1
-1
sw/airborne/.frama-c/wp/script/int32_quat_norm_call_int32_sqrt_requires.json
...c/wp/script/int32_quat_norm_call_int32_sqrt_requires.json
+1
-1
sw/airborne/.frama-c/wp/script/int32_quat_of_rmat_call_int32_sqrt_requires.json
...p/script/int32_quat_of_rmat_call_int32_sqrt_requires.json
+1
-1
sw/airborne/.frama-c/wp/script/lemma_max_k_le_n_max.json
sw/airborne/.frama-c/wp/script/lemma_max_k_le_n_max.json
+2
-2
sw/airborne/.frama-c/wp/script/lemma_max_n_le_max.json
sw/airborne/.frama-c/wp/script/lemma_max_n_le_max.json
+2
-2
sw/airborne/.frama-c/wp/script/lemma_square_sqrt_le.json
sw/airborne/.frama-c/wp/script/lemma_square_sqrt_le.json
+2
-2
sw/airborne/math/pprz_algebra_float.h
sw/airborne/math/pprz_algebra_float.h
+1
-0
No files found.
sw/airborne/.frama-c/wp/script/float_rmat_of_quat_ensures.json
View file @
536cc258
...
...
@@ -31,7 +31,7 @@
{
"Unfold 'L_l_RMat_of_FloatQuat'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
6.82
}
]
}
}
]
}
}
],
"time"
:
7.45
}
]
}
}
]
}
}
],
"Goal 2/9"
:
[
{
"header"
:
"Definition"
,
"tactic"
:
"Wp.unfold"
,
...
...
@@ -65,7 +65,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.1
6
}
]
}
}
]
}
}
]
}
}
],
"time"
:
0.1
}
]
}
}
]
}
}
]
}
}
],
"Goal 3/9"
:
[
{
"header"
:
"Definition"
,
"tactic"
:
"Wp.unfold"
,
...
...
@@ -99,7 +99,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.1
3
}
]
}
}
]
}
}
]
}
}
],
"time"
:
0.1
2
}
]
}
}
]
}
}
]
}
}
],
"Goal 4/9"
:
[
{
"header"
:
"Definition"
,
"tactic"
:
"Wp.unfold"
,
...
...
@@ -133,7 +133,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.
09
}
]
}
}
]
}
}
]
}
}
],
"time"
:
0.
1
}
]
}
}
]
}
}
]
}
}
],
"Goal 5/9"
:
[
{
"header"
:
"Definition"
,
"tactic"
:
"Wp.unfold"
,
...
...
@@ -147,7 +147,7 @@
{
"Unfold 'L_transpose'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
1
3.1215
,
"time"
:
1
1.7041
,
"steps"
:
114
}
]
}
}
],
"Goal 6/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -206,7 +206,7 @@
{
"Unfold 'L_l_RMat_of_FloatQuat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
1
4.0104
,
"time"
:
1
5.2679
,
"steps"
:
114
}
]
}
}
]
}
}
],
"Goal 8/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -221,10 +221,10 @@
{
"Unfold 'L_transpose'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
13.
0856
,
"time"
:
13.
6175
,
"steps"
:
114
}
]
}
}
],
"Goal 9/9"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
8.2545
,
"time"
:
9.1711
,
"steps"
:
114
}
]
}
}
]
}
}
]
sw/airborne/.frama-c/wp/script/float_rmat_of_quat_ensures_2.json
View file @
536cc258
...
...
@@ -72,7 +72,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
1.
4
2
}
]
}
}
]
}
}
]
}
}
],
"time"
:
1.2
6
}
]
}
}
]
}
}
]
}
}
],
"Goal 2/9"
:
[
{
"header"
:
"Definition"
,
"tactic"
:
"Wp.unfold"
,
...
...
@@ -98,7 +98,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
4.2528
,
"time"
:
3.8506
,
"steps"
:
12
}
]
}
}
]
}
}
],
"Goal 3/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -113,7 +113,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
9.1948
,
"time"
:
8.6803
,
"steps"
:
122
}
]
}
}
],
"Goal 4/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -140,7 +140,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
4.
1576
,
"time"
:
4.
8108
,
"steps"
:
12
}
]
}
}
]
}
}
],
"Goal 5/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -165,7 +165,7 @@
{
"Unfold 'L_id_rmat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
6.
1305
,
"time"
:
6.
6462
,
"steps"
:
118
}
]
}
}
]
}
}
],
"Goal 6/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -180,7 +180,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
8.
8913
,
"time"
:
8.
5869
,
"steps"
:
122
}
]
}
}
],
"Goal 7/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -195,7 +195,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
9.4357
,
"time"
:
7.8722
,
"steps"
:
122
}
]
}
}
],
"Goal 8/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -210,7 +210,7 @@
{
"Unfold 'L_l_RMat_of_FloatRMat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
9.7792
,
"time"
:
8.5394
,
"steps"
:
122
}
]
}
}
],
"Goal 9/9"
:
[
{
"header"
:
"Definition"
,
...
...
@@ -225,5 +225,5 @@
{
"Unfold 'L_id_rmat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
1
1.850
9
,
"time"
:
1
2.06
9
,
"steps"
:
116
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
sw/airborne/.frama-c/wp/script/int32_mat_mul_assert_rte_mem_access_5.json
View file @
536cc258
...
...
@@ -4,4 +4,4 @@
"pattern"
:
"P_rvalid_int_mat_3_$Malloc$Mptr[=]"
},
"children"
:
{
"Unfold 'P_rvalid_int_mat_3_'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
3.
56
}
]
}
}
]
"time"
:
3.
47
}
]
}
}
]
sw/airborne/.frama-c/wp/script/int32_mat_mul_assert_rte_mem_access_6.json
View file @
536cc258
...
...
@@ -4,4 +4,4 @@
"pattern"
:
"P_rvalid_int_mat_3_$Malloc$Mptr[=]"
},
"children"
:
{
"Unfold 'P_rvalid_int_mat_3_'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.6
1
}
]
}
}
]
"time"
:
0.6
6
}
]
}
}
]
sw/airborne/.frama-c/wp/script/int32_mat_mul_assert_rte_mem_access_7.json
View file @
536cc258
...
...
@@ -4,7 +4,7 @@
"pattern"
:
"P_rvalid_int_mat_3_$Malloc$Mptr[=]"
},
"children"
:
{
"Unfold 'P_rvalid_int_mat_3_'"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
3.
55
},
"time"
:
3.
64
},
{
"header"
:
"Definition"
,
"tactic"
:
"Wp.unfold"
,
"params"
:
{},
...
...
sw/airborne/.frama-c/wp/script/int32_quat_norm_call_int32_sqrt_requires.json
View file @
536cc258
...
...
@@ -4,5 +4,5 @@
"pattern"
:
"P_rvalid_bound_Int32Quat$Malloc$Mint"
},
"children"
:
{
"Unfold 'P_rvalid_bound_Int32Quat'"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
0.0
607
,
"time"
:
0.0
598
,
"steps"
:
250
}
]
}
}
]
sw/airborne/.frama-c/wp/script/int32_quat_of_rmat_call_int32_sqrt_requires.json
View file @
536cc258
...
...
@@ -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)"
,
"pattern"
:
"lslto_sint3214
\\
truncate+16384real_of_int"
},
"children"
:
{
"shift"
:
[
{
"prover"
:
"Z3:4.8.6:counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.0
3
,
"verdict"
:
"valid"
,
"time"
:
0.0
4
,
"steps"
:
114877
}
]
}
}
]
sw/airborne/.frama-c/wp/script/lemma_max_k_le_n_max.json
View file @
536cc258
...
...
@@ -3,8 +3,8 @@
"target"
:
"(to_sint32 (2147483647 div n_0))"
,
"pattern"
:
"to_sint32/2147483647$n"
},
"children"
:
{
"In-Range"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
0.01
88
,
"verdict"
:
"valid"
,
"time"
:
0.01
74
,
"steps"
:
100
}
],
"No-Overflow"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
0.0
138
,
"verdict"
:
"valid"
,
"time"
:
0.0
211
,
"steps"
:
28
}
]
}
}
]
sw/airborne/.frama-c/wp/script/lemma_max_n_le_max.json
View file @
536cc258
...
...
@@ -3,7 +3,7 @@
"target"
:
"(to_sint32 (2147483647 div n_0))"
,
"pattern"
:
"to_sint32/2147483647$n"
},
"children"
:
{
"In-Range"
:
[
{
"prover"
:
"Alt-Ergo:2.3.3"
,
"verdict"
:
"valid"
,
"time"
:
0.018
9
,
"verdict"
:
"valid"
,
"time"
:
0.018
3
,
"steps"
:
85
}
],
"No-Overflow"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.0
8
}
]
}
}
]
"verdict"
:
"valid"
,
"time"
:
0.0
9
}
]
}
}
]
sw/airborne/.frama-c/wp/script/lemma_square_sqrt_le.json
View file @
536cc258
...
...
@@ -28,9 +28,9 @@
{
"In-Range"
:
[
{
"prover"
:
"Z3:4.8.6:counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.0
2
,
"time"
:
0.0
1
,
"steps"
:
18829
}
],
"No-Overflow"
:
[
{
"prover"
:
"CVC4:1.9-prerelease:strings+counterexamples"
,
"verdict"
:
"valid"
,
"time"
:
0.
26
}
]
}
}
]
}
}
]
}
}
]
"time"
:
0.
14
}
]
}
}
]
}
}
]
}
}
]
sw/airborne/math/pprz_algebra_float.h
View file @
536cc258
...
...
@@ -586,6 +586,7 @@ extern void float_rmat_of_axis_angle(struct FloatRMat *rm, struct FloatVect3 *uv
/*@
requires valid_FloatRMat(rm);
requires rvalid_FloatEulers(e);
ensures rotation_matrix(l_RMat_of_FloatRMat(rm));
assigns *rm;
*/
extern
void
float_rmat_of_eulers_321
(
struct
FloatRMat
*
rm
,
struct
FloatEulers
*
e
);
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment