diff options
author | Son HO | 2022-10-21 11:14:15 +0200 |
---|---|---|
committer | GitHub | 2022-10-21 11:14:15 +0200 |
commit | b4be489e7a5753bcc7f8714273ae71260fac53ce (patch) | |
tree | 45459740595bcdd70e5f4856b8499d1680d4ab91 /tests/misc | |
parent | 53a2b8a2989485e8885d02c786206de84c9fd91d (diff) | |
parent | d62563cf9b8ef29ce20e810a5b1da999122c7a2f (diff) |
Merge pull request #4 from AeneasVerif/son_update_charon
Update the code to account for changes in Charon
Diffstat (limited to '')
-rw-r--r-- | tests/misc/BetreePolonius.fst (renamed from tests/misc/BetreeNll.fst) | 10 | ||||
-rw-r--r-- | tests/misc/Constants.fst | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/misc/BetreeNll.fst b/tests/misc/BetreePolonius.fst index b548a18b..2bac07b6 100644 --- a/tests/misc/BetreeNll.fst +++ b/tests/misc/BetreePolonius.fst @@ -1,16 +1,16 @@ (** THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS *) -(** [betree_nll] *) -module BetreeNll +(** [betree_polonius] *) +module BetreePolonius open Primitives #set-options "--z3rlimit 50 --fuel 1 --ifuel 1" -(** [betree_nll::List] *) +(** [betree_polonius::List] *) type list_t (t : Type0) = | ListCons : t -> list_t t -> list_t t | ListNil : list_t t -(** [betree_nll::get_list_at_x] *) +(** [betree_polonius::get_list_at_x] *) let rec get_list_at_x_fwd (ls : list_t u32) (x : u32) : result (list_t u32) = begin match ls with | ListCons hd tl -> @@ -24,7 +24,7 @@ let rec get_list_at_x_fwd (ls : list_t u32) (x : u32) : result (list_t u32) = | ListNil -> Return ListNil end -(** [betree_nll::get_list_at_x] *) +(** [betree_polonius::get_list_at_x] *) let rec get_list_at_x_back (ls : list_t u32) (x : u32) (ret : list_t u32) : result (list_t u32) = begin match ls with diff --git a/tests/misc/Constants.fst b/tests/misc/Constants.fst index 4a9a0e48..884d1778 100644 --- a/tests/misc/Constants.fst +++ b/tests/misc/Constants.fst @@ -9,7 +9,7 @@ open Primitives let x0_body : result u32 = Return 0 let x0_c : u32 = eval_global x0_body -(** [core::num::u32::{8}::MAX] *) +(** [core::num::u32::{9}::MAX] *) let core_num_u32_max_body : result u32 = Return 4294967295 let core_num_u32_max_c : u32 = eval_global core_num_u32_max_body |