summaryrefslogtreecommitdiff
path: root/tests/lean/External/FunsExternal_Template.lean
blob: c8bc397fa139bbe7684eb9b2a179b611eb098f46 (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
-- 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]: forward function -/
axiom core.mem.swap (T : Type) : T  T  State  Result (State × Unit)

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

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

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

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