diff options
Diffstat (limited to 'tests/fstar/misc/Loops.Clauses.fst')
-rw-r--r-- | tests/fstar/misc/Loops.Clauses.fst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/fstar/misc/Loops.Clauses.fst b/tests/fstar/misc/Loops.Clauses.fst new file mode 100644 index 00000000..e09eda9a --- /dev/null +++ b/tests/fstar/misc/Loops.Clauses.fst @@ -0,0 +1,12 @@ +(** [loops]: templates for the decreases clauses *) +module Loops.Clauses +open Primitives +open Loops.Types + +#set-options "--z3rlimit 50 --fuel 1 --ifuel 1" + +(** [loops::list_nth_mut_loop]: decreases clause *) +unfold +let list_nth_mut_loop_decreases (t : Type0) (ls : list_t t) (i : u32) : nat = + i + |