@@ -8,34 +8,34 @@ import Prelude;
8
8
-- noErrorsContains0H len i v =
9
9
-- orM (exists x. returnM x) (noErrorsContains0H len (i+1) v)
10
10
noErrorsContains0H : (len i:Vec 64 Bool) -> BVVec 64 len (Vec 64 Bool) ->
11
- CompM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool);
11
+ CompM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool);
12
12
noErrorsContains0H len_top i_top v_top =
13
13
letRecM
14
14
(LRT_Cons
15
15
(LRT_Fun (Vec 64 Bool) (\ (len:Vec 64 Bool) ->
16
16
LRT_Fun (Vec 64 Bool) (\ (_:Vec 64 Bool) ->
17
17
LRT_Fun (BVVec 64 len (Vec 64 Bool)) (\ (_:BVVec 64 len (Vec 64 Bool)) ->
18
- LRT_Ret (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool)))))
18
+ LRT_Ret # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool)))))
19
19
LRT_Nil)
20
- (BVVec 64 len_top (Vec 64 Bool) * Vec 64 Bool)
20
+ # (BVVec 64 len_top (Vec 64 Bool), Vec 64 Bool)
21
21
(\ (f : (len i:Vec 64 Bool) -> BVVec 64 len (Vec 64 Bool) ->
22
- CompM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool)) ->
22
+ CompM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool)) ->
23
23
((\ (len:Vec 64 Bool) (i:Vec 64 Bool) (v:BVVec 64 len (Vec 64 Bool)) ->
24
24
precondHint
25
- (CompM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool))
25
+ (CompM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool))
26
26
(and (bvsle 64 0x0000000000000000 i)
27
27
(bvsle 64 i 0x0fffffffffffffff))
28
- (orM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool)
29
- (existsM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool)
30
- (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool)
31
- (returnM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool)))
28
+ (orM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool)
29
+ (existsM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool)
30
+ # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool)
31
+ (returnM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool)))
32
32
(f len (bvAdd 64 i 0x0000000000000001) v))), ()))
33
33
(\ (f : (len i:Vec 64 Bool) -> BVVec 64 len (Vec 64 Bool) ->
34
- CompM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool)) ->
34
+ CompM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool)) ->
35
35
f len_top i_top v_top);
36
36
37
37
-- The specification that contains0 has no errors
38
38
noErrorsContains0 : (len:Vec 64 Bool) -> BVVec 64 len (Vec 64 Bool) ->
39
- CompM (BVVec 64 len (Vec 64 Bool) * Vec 64 Bool);
39
+ CompM # (BVVec 64 len (Vec 64 Bool), Vec 64 Bool);
40
40
noErrorsContains0 len v =
41
41
noErrorsContains0H len 0x0000000000000000 v;
0 commit comments