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

/- [core::mem::swap] -/
axiom core.mem.swap_fwd
  (T : Type) : T  T  State  Result (State × Unit)

/- [core::mem::swap] -/
axiom core.mem.swap_back0
  (T : Type) : T  T  State  State  Result (State × T)

/- [core::mem::swap] -/
axiom core.mem.swap_back1
  (T : Type) : T  T  State  State  Result (State × T)

/- [core::num::nonzero::NonZeroU32::{14}::new] -/
axiom core.num.nonzero.NonZeroU32.new_fwd
  : U32  State  Result (State × (Option core.num.nonzero.NonZeroU32))

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