summaryrefslogtreecommitdiff
path: root/tests/lean/External/FunsExternal_Template.lean
blob: 34b0552a4f23c1c282cada3f05db49930c92adb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- 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]:
   Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/mem/mod.rs', lines 726:0-726:42
   Name pattern: core::mem::swap -/
axiom core.mem.swap
  (T : Type) : T  T  State  Result (State × (T × T))

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