summaryrefslogtreecommitdiff
path: root/tests/lean/External/FunsExternal_Template.lean
blob: 40583df2719018bd53379221af630e40f231c420 (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
-- 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
set_option linter.dupNamespace false
set_option linter.hashCommand false
set_option linter.unusedVariables false
open external

/- [core::cell::{core::cell::Cell<T>#10}::get]:
   Source: '/rustc/library/core/src/cell.rs', lines 533:4-533:26
   Name pattern: core::cell::{core::cell::Cell<@T>}::get -/
axiom core.cell.Cell.get
  (T : Type) (markerCopyInst : core.marker.Copy T) :
  core.cell.Cell T  State  Result (State × T)

/- [core::cell::{core::cell::Cell<T>#11}::get_mut]:
   Source: '/rustc/library/core/src/cell.rs', lines 611:4-611:39
   Name pattern: core::cell::{core::cell::Cell<@T>}::get_mut -/
axiom core.cell.Cell.get_mut
  (T : Type) :
  core.cell.Cell T  State  Result (State × (T × (T  State  Result
    (State × (core.cell.Cell T)))))