diff options
Diffstat (limited to 'tests/fstar')
-rw-r--r-- | tests/fstar/arrays/Arrays.Clauses.Template.fst | 10 | ||||
-rw-r--r-- | tests/fstar/arrays/Arrays.Funs.fst | 10 | ||||
-rw-r--r-- | tests/fstar/betree/Betree.Clauses.Template.fst | 8 | ||||
-rw-r--r-- | tests/fstar/betree/Betree.Funs.fst | 8 | ||||
-rw-r--r-- | tests/fstar/hashmap/Hashmap.Clauses.Template.fst | 2 | ||||
-rw-r--r-- | tests/fstar/hashmap/Hashmap.Funs.fst | 2 | ||||
-rw-r--r-- | tests/fstar/misc/Loops.Clauses.Template.fst | 10 | ||||
-rw-r--r-- | tests/fstar/misc/Loops.Funs.fst | 10 |
8 files changed, 30 insertions, 30 deletions
diff --git a/tests/fstar/arrays/Arrays.Clauses.Template.fst b/tests/fstar/arrays/Arrays.Clauses.Template.fst index 914ef44e..b5818ab6 100644 --- a/tests/fstar/arrays/Arrays.Clauses.Template.fst +++ b/tests/fstar/arrays/Arrays.Clauses.Template.fst @@ -7,31 +7,31 @@ open Arrays.Types #set-options "--z3rlimit 50 --fuel 1 --ifuel 1" (** [arrays::sum]: decreases clause - Source: 'tests/src/arrays.rs', lines 245:0-253:1 *) + Source: 'tests/src/arrays.rs', lines 247:4-253:1 *) unfold let sum_loop_decreases (s : slice u32) (sum1 : u32) (i : usize) : nat = admit () (** [arrays::sum2]: decreases clause - Source: 'tests/src/arrays.rs', lines 255:0-264:1 *) + Source: 'tests/src/arrays.rs', lines 258:4-264:1 *) unfold let sum2_loop_decreases (s : slice u32) (s2 : slice u32) (sum1 : u32) (i : usize) : nat = admit () (** [arrays::zero_slice]: decreases clause - Source: 'tests/src/arrays.rs', lines 306:0-313:1 *) + Source: 'tests/src/arrays.rs', lines 308:4-313:1 *) unfold let zero_slice_loop_decreases (a : slice u8) (i : usize) (len : usize) : nat = admit () (** [arrays::iter_mut_slice]: decreases clause - Source: 'tests/src/arrays.rs', lines 315:0-321:1 *) + Source: 'tests/src/arrays.rs', lines 317:4-321:1 *) unfold let iter_mut_slice_loop_decreases (len : usize) (i : usize) : nat = admit () (** [arrays::sum_mut_slice]: decreases clause - Source: 'tests/src/arrays.rs', lines 323:0-331:1 *) + Source: 'tests/src/arrays.rs', lines 325:4-331:1 *) unfold let sum_mut_slice_loop_decreases (a : slice u32) (i : usize) (s : u32) : nat = admit () diff --git a/tests/fstar/arrays/Arrays.Funs.fst b/tests/fstar/arrays/Arrays.Funs.fst index a4f2e19f..5aad99e0 100644 --- a/tests/fstar/arrays/Arrays.Funs.fst +++ b/tests/fstar/arrays/Arrays.Funs.fst @@ -307,7 +307,7 @@ let non_copyable_array : result unit = take_array_t (mk_array aB_t 2 [ AB_A; AB_B ]) (** [arrays::sum]: loop 0: - Source: 'tests/src/arrays.rs', lines 245:0-253:1 *) + Source: 'tests/src/arrays.rs', lines 247:4-253:1 *) let rec sum_loop (s : slice u32) (sum1 : u32) (i : usize) : Tot (result u32) (decreases (sum_loop_decreases s sum1 i)) @@ -327,7 +327,7 @@ let sum (s : slice u32) : result u32 = sum_loop s 0 0 (** [arrays::sum2]: loop 0: - Source: 'tests/src/arrays.rs', lines 255:0-264:1 *) + Source: 'tests/src/arrays.rs', lines 258:4-264:1 *) let rec sum2_loop (s : slice u32) (s2 : slice u32) (sum1 : u32) (i : usize) : Tot (result u32) (decreases (sum2_loop_decreases s s2 sum1 i)) @@ -415,7 +415,7 @@ let ite : result unit = Ok () (** [arrays::zero_slice]: loop 0: - Source: 'tests/src/arrays.rs', lines 306:0-313:1 *) + Source: 'tests/src/arrays.rs', lines 308:4-313:1 *) let rec zero_slice_loop (a : slice u8) (i : usize) (len : usize) : Tot (result (slice u8)) (decreases (zero_slice_loop_decreases a i len)) @@ -434,7 +434,7 @@ let zero_slice (a : slice u8) : result (slice u8) = let len = slice_len u8 a in zero_slice_loop a 0 len (** [arrays::iter_mut_slice]: loop 0: - Source: 'tests/src/arrays.rs', lines 315:0-321:1 *) + Source: 'tests/src/arrays.rs', lines 317:4-321:1 *) let rec iter_mut_slice_loop (len : usize) (i : usize) : Tot (result unit) (decreases (iter_mut_slice_loop_decreases len i)) @@ -449,7 +449,7 @@ let iter_mut_slice (a : slice u8) : result (slice u8) = let len = slice_len u8 a in let* _ = iter_mut_slice_loop len 0 in Ok a (** [arrays::sum_mut_slice]: loop 0: - Source: 'tests/src/arrays.rs', lines 323:0-331:1 *) + Source: 'tests/src/arrays.rs', lines 325:4-331:1 *) let rec sum_mut_slice_loop (a : slice u32) (i : usize) (s : u32) : Tot (result u32) (decreases (sum_mut_slice_loop_decreases a i s)) diff --git a/tests/fstar/betree/Betree.Clauses.Template.fst b/tests/fstar/betree/Betree.Clauses.Template.fst index d3e07c7e..dbbfae2b 100644 --- a/tests/fstar/betree/Betree.Clauses.Template.fst +++ b/tests/fstar/betree/Betree.Clauses.Template.fst @@ -7,28 +7,28 @@ open Betree.Types #set-options "--z3rlimit 50 --fuel 1 --ifuel 1" (** [betree::betree::{betree::betree::List<T>#1}::len]: decreases clause - Source: 'src/betree.rs', lines 276:4-284:5 *) + Source: 'src/betree.rs', lines 278:8-284:5 *) unfold let betree_List_len_loop_decreases (t : Type0) (self : betree_List_t t) (len : u64) : nat = admit () (** [betree::betree::{betree::betree::List<T>#1}::reverse]: decreases clause - Source: 'src/betree.rs', lines 304:4-312:5 *) + Source: 'src/betree.rs', lines 305:8-312:5 *) unfold let betree_List_reverse_loop_decreases (t : Type0) (self : betree_List_t t) (out : betree_List_t t) : nat = admit () (** [betree::betree::{betree::betree::List<T>#1}::split_at]: decreases clause - Source: 'src/betree.rs', lines 287:4-302:5 *) + Source: 'src/betree.rs', lines 289:8-302:5 *) unfold let betree_List_split_at_loop_decreases (t : Type0) (n : u64) (beg : betree_List_t t) (self : betree_List_t t) : nat = admit () (** [betree::betree::{betree::betree::List<(u64, T)>#2}::partition_at_pivot]: decreases clause - Source: 'src/betree.rs', lines 355:4-370:5 *) + Source: 'src/betree.rs', lines 358:8-370:5 *) unfold let betree_ListPairU64T_partition_at_pivot_loop_decreases (t : Type0) (pivot : u64) (beg : betree_List_t (u64 & t)) diff --git a/tests/fstar/betree/Betree.Funs.fst b/tests/fstar/betree/Betree.Funs.fst index de3ac13c..53356bdb 100644 --- a/tests/fstar/betree/Betree.Funs.fst +++ b/tests/fstar/betree/Betree.Funs.fst @@ -76,7 +76,7 @@ let betree_upsert_update end (** [betree::betree::{betree::betree::List<T>#1}::len]: loop 0: - Source: 'src/betree.rs', lines 276:4-284:5 *) + Source: 'src/betree.rs', lines 278:8-284:5 *) let rec betree_List_len_loop (t : Type0) (self : betree_List_t t) (len : u64) : Tot (result u64) (decreases (betree_List_len_loop_decreases t self len)) @@ -93,7 +93,7 @@ let betree_List_len (t : Type0) (self : betree_List_t t) : result u64 = betree_List_len_loop t self 0 (** [betree::betree::{betree::betree::List<T>#1}::reverse]: loop 0: - Source: 'src/betree.rs', lines 304:4-312:5 *) + Source: 'src/betree.rs', lines 305:8-312:5 *) let rec betree_List_reverse_loop (t : Type0) (self : betree_List_t t) (out : betree_List_t t) : Tot (result (betree_List_t t)) @@ -112,7 +112,7 @@ let betree_List_reverse betree_List_reverse_loop t self Betree_List_Nil (** [betree::betree::{betree::betree::List<T>#1}::split_at]: loop 0: - Source: 'src/betree.rs', lines 287:4-302:5 *) + Source: 'src/betree.rs', lines 289:8-302:5 *) let rec betree_List_split_at_loop (t : Type0) (n : u64) (beg : betree_List_t t) (self : betree_List_t t) : Tot (result ((betree_List_t t) & (betree_List_t t))) @@ -171,7 +171,7 @@ let betree_ListPairU64T_head_has_key end (** [betree::betree::{betree::betree::List<(u64, T)>#2}::partition_at_pivot]: loop 0: - Source: 'src/betree.rs', lines 355:4-370:5 *) + Source: 'src/betree.rs', lines 358:8-370:5 *) let rec betree_ListPairU64T_partition_at_pivot_loop (t : Type0) (pivot : u64) (beg : betree_List_t (u64 & t)) (end1 : betree_List_t (u64 & t)) (self : betree_List_t (u64 & t)) : diff --git a/tests/fstar/hashmap/Hashmap.Clauses.Template.fst b/tests/fstar/hashmap/Hashmap.Clauses.Template.fst index 888cd4ec..d6ba503e 100644 --- a/tests/fstar/hashmap/Hashmap.Clauses.Template.fst +++ b/tests/fstar/hashmap/Hashmap.Clauses.Template.fst @@ -14,7 +14,7 @@ let hashMap_allocate_slots_loop_decreases (t : Type0) admit () (** [hashmap::{hashmap::HashMap<T>}::clear]: decreases clause - Source: 'tests/src/hashmap.rs', lines 91:4-99:5 *) + Source: 'tests/src/hashmap.rs', lines 94:8-99:5 *) unfold let hashMap_clear_loop_decreases (t : Type0) (slots : alloc_vec_Vec (aList_t t)) (i : usize) : nat = diff --git a/tests/fstar/hashmap/Hashmap.Funs.fst b/tests/fstar/hashmap/Hashmap.Funs.fst index 0569c32a..40362176 100644 --- a/tests/fstar/hashmap/Hashmap.Funs.fst +++ b/tests/fstar/hashmap/Hashmap.Funs.fst @@ -60,7 +60,7 @@ let hashMap_new (t : Type0) : result (hashMap_t t) = hashMap_new_with_capacity t 32 4 5 (** [hashmap::{hashmap::HashMap<T>}::clear]: loop 0: - Source: 'tests/src/hashmap.rs', lines 91:4-99:5 *) + Source: 'tests/src/hashmap.rs', lines 94:8-99:5 *) let rec hashMap_clear_loop (t : Type0) (slots : alloc_vec_Vec (aList_t t)) (i : usize) : Tot (result (alloc_vec_Vec (aList_t t))) diff --git a/tests/fstar/misc/Loops.Clauses.Template.fst b/tests/fstar/misc/Loops.Clauses.Template.fst index 5d450275..7c77ad50 100644 --- a/tests/fstar/misc/Loops.Clauses.Template.fst +++ b/tests/fstar/misc/Loops.Clauses.Template.fst @@ -7,31 +7,31 @@ open Loops.Types #set-options "--z3rlimit 50 --fuel 1 --ifuel 1" (** [loops::sum]: decreases clause - Source: 'tests/src/loops.rs', lines 8:0-18:1 *) + Source: 'tests/src/loops.rs', lines 10:4-18:1 *) unfold let sum_loop_decreases (max : u32) (i : u32) (s : u32) : nat = admit () (** [loops::sum_with_mut_borrows]: decreases clause - Source: 'tests/src/loops.rs', lines 23:0-35:1 *) + Source: 'tests/src/loops.rs', lines 25:4-35:1 *) unfold let sum_with_mut_borrows_loop_decreases (max : u32) (i : u32) (s : u32) : nat = admit () (** [loops::sum_with_shared_borrows]: decreases clause - Source: 'tests/src/loops.rs', lines 38:0-52:1 *) + Source: 'tests/src/loops.rs', lines 40:4-52:1 *) unfold let sum_with_shared_borrows_loop_decreases (max : u32) (i : u32) (s : u32) : nat = admit () (** [loops::sum_array]: decreases clause - Source: 'tests/src/loops.rs', lines 54:0-62:1 *) + Source: 'tests/src/loops.rs', lines 56:4-62:1 *) unfold let sum_array_loop_decreases (n : usize) (a : array u32 n) (i : usize) (s : u32) : nat = admit () (** [loops::clear]: decreases clause - Source: 'tests/src/loops.rs', lines 66:0-72:1 *) + Source: 'tests/src/loops.rs', lines 67:4-72:1 *) unfold let clear_loop_decreases (v : alloc_vec_Vec u32) (i : usize) : nat = admit () diff --git a/tests/fstar/misc/Loops.Funs.fst b/tests/fstar/misc/Loops.Funs.fst index 05e77046..b9d4468a 100644 --- a/tests/fstar/misc/Loops.Funs.fst +++ b/tests/fstar/misc/Loops.Funs.fst @@ -8,7 +8,7 @@ include Loops.Clauses #set-options "--z3rlimit 50 --fuel 1 --ifuel 1" (** [loops::sum]: loop 0: - Source: 'tests/src/loops.rs', lines 8:0-18:1 *) + Source: 'tests/src/loops.rs', lines 10:4-18:1 *) let rec sum_loop (max : u32) (i : u32) (s : u32) : Tot (result u32) (decreases (sum_loop_decreases max i s)) @@ -23,7 +23,7 @@ let sum (max : u32) : result u32 = sum_loop max 0 0 (** [loops::sum_with_mut_borrows]: loop 0: - Source: 'tests/src/loops.rs', lines 23:0-35:1 *) + Source: 'tests/src/loops.rs', lines 25:4-35:1 *) let rec sum_with_mut_borrows_loop (max : u32) (i : u32) (s : u32) : Tot (result u32) (decreases (sum_with_mut_borrows_loop_decreases max i s)) @@ -41,7 +41,7 @@ let sum_with_mut_borrows (max : u32) : result u32 = sum_with_mut_borrows_loop max 0 0 (** [loops::sum_with_shared_borrows]: loop 0: - Source: 'tests/src/loops.rs', lines 38:0-52:1 *) + Source: 'tests/src/loops.rs', lines 40:4-52:1 *) let rec sum_with_shared_borrows_loop (max : u32) (i : u32) (s : u32) : Tot (result u32) (decreases (sum_with_shared_borrows_loop_decreases max i s)) @@ -59,7 +59,7 @@ let sum_with_shared_borrows (max : u32) : result u32 = sum_with_shared_borrows_loop max 0 0 (** [loops::sum_array]: loop 0: - Source: 'tests/src/loops.rs', lines 54:0-62:1 *) + Source: 'tests/src/loops.rs', lines 56:4-62:1 *) let rec sum_array_loop (n : usize) (a : array u32 n) (i : usize) (s : u32) : Tot (result u32) (decreases (sum_array_loop_decreases n a i s)) @@ -78,7 +78,7 @@ let sum_array (n : usize) (a : array u32 n) : result u32 = sum_array_loop n a 0 0 (** [loops::clear]: loop 0: - Source: 'tests/src/loops.rs', lines 66:0-72:1 *) + Source: 'tests/src/loops.rs', lines 67:4-72:1 *) let rec clear_loop (v : alloc_vec_Vec u32) (i : usize) : Tot (result (alloc_vec_Vec u32)) (decreases (clear_loop_decreases v i)) |