summaryrefslogtreecommitdiff
path: root/tests/lean/External/FunsExternal_Template.lean
blob: 55cd6bb566b6bf2dc30b92f385606123ba852fe2 (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
-- 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
   Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/mem/mod.rs', lines 726:0-726:42 -/
axiom core.mem.swap (T : Type) : T  T  State  Result (State × Unit)

/- [core::mem::swap]: backward function 0
   Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/mem/mod.rs', lines 726:0-726:42 -/
axiom core.mem.swap_back0
  (T : Type) : T  T  State  State  Result (State × T)

/- [core::mem::swap]: backward function 1
   Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/mem/mod.rs', lines 726:0-726:42 -/
axiom core.mem.swap_back1
  (T : Type) : T  T  State  State  Result (State × T)

/- [core::num::nonzero::{core::num::nonzero::NonZeroU32#14}::new]: forward function
   Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/num/nonzero.rs', lines 79:16-79:57 -/
axiom core.num.nonzero.NonZeroU32.new
  : U32  State  Result (State × (Option core.num.nonzero.NonZeroU32))

/- [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
  (T : Type) : Option T  State  Result (State × T)