summaryrefslogtreecommitdiff
path: root/tests/lean/BetreeMain/FunsExternal_Template.lean
blob: 430d2dda23e717ab57e7eda13e5a5ee466f0ab9a (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
-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS
-- [betree_main]: external functions.
-- This is a template file: rename it to "FunsExternal.lean" and fill the holes.
import Base
import BetreeMain.Types
open Primitives
open betree_main

/- [betree_main::betree_utils::load_internal_node]: forward function -/
axiom betree_utils.load_internal_node
  : U64  State  Result (State × (betree.List (U64 × betree.Message)))

/- [betree_main::betree_utils::store_internal_node]: forward function -/
axiom betree_utils.store_internal_node
  :
  U64  betree.List (U64 × betree.Message)  State  Result (State ×
    Unit)

/- [betree_main::betree_utils::load_leaf_node]: forward function -/
axiom betree_utils.load_leaf_node
  : U64  State  Result (State × (betree.List (U64 × U64)))

/- [betree_main::betree_utils::store_leaf_node]: forward function -/
axiom betree_utils.store_leaf_node
  : U64  betree.List (U64 × U64)  State  Result (State × Unit)

/- [core::option::Option::{0}::unwrap]: forward function -/
axiom core.option.Option.unwrap
  (T : Type) : Option T  State  Result (State × T)