summaryrefslogtreecommitdiff
path: root/tests/coq/betree/BetreeMain_FunsExternal.v
blob: 2d77c4ed04cb86f20fa071f613f37180efe2c03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(** [betree_main]: external functions.
-- This is a template file: rename it to "FunsExternal.lean" and fill the holes. *)
Require Import Primitives.
Import Primitives.
Require Import Coq.ZArith.ZArith.
Require Import List.
Import ListNotations.
Local Open Scope Primitives_scope.
Require Export BetreeMain_Types.
Import BetreeMain_Types.
Module BetreeMain_FunsExternal.

(** [betree_main::betree_utils::load_internal_node]: forward function
    Source: 'src/betree_utils.rs', lines 98:0-98:63 *)
Axiom betree_utils_load_internal_node
  : u64 -> state -> result (state * (betree_List_t (u64 * betree_Message_t)))
.

(** [betree_main::betree_utils::store_internal_node]: forward function
    Source: 'src/betree_utils.rs', lines 115:0-115:71 *)
Axiom betree_utils_store_internal_node
  :
  u64 -> betree_List_t (u64 * betree_Message_t) -> state -> result (state *
    unit)
.

(** [betree_main::betree_utils::load_leaf_node]: forward function
    Source: 'src/betree_utils.rs', lines 132:0-132:55 *)
Axiom betree_utils_load_leaf_node
  : u64 -> state -> result (state * (betree_List_t (u64 * u64)))
.

(** [betree_main::betree_utils::store_leaf_node]: forward function
    Source: 'src/betree_utils.rs', lines 145:0-145:63 *)
Axiom betree_utils_store_leaf_node
  : u64 -> betree_List_t (u64 * u64) -> state -> result (state * unit)
.

(** [core::option::{core::option::Option<T>}::unwrap]: forward function
    Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/option.rs', lines 932:4-932:34 *)
Axiom core_option_Option_unwrap :
  forall(T : Type), option T -> state -> result (state * T)
.

End BetreeMain_FunsExternal.