summaryrefslogtreecommitdiff
path: root/tests/lean/External/FunsExternal_Template.lean
diff options
context:
space:
mode:
authorSon HO2023-07-31 16:15:58 +0200
committerGitHub2023-07-31 16:15:58 +0200
commit887d0ef1efc8912c6273b5ebcf979384e9d7fa97 (patch)
tree92d6021eb549f7cc25501856edd58859786b7e90 /tests/lean/External/FunsExternal_Template.lean
parent53adf30fe440eb8b6f58ba89f4a4c0acc7877498 (diff)
parent9b3a58e423333fc9a4a5a264c3beb0a3d951e86b (diff)
Merge pull request #31 from AeneasVerif/son_lean_backend
Improve the Lean backend
Diffstat (limited to '')
-rw-r--r--tests/lean/External/FunsExternal_Template.lean27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/lean/External/FunsExternal_Template.lean b/tests/lean/External/FunsExternal_Template.lean
new file mode 100644
index 00000000..c8bc397f
--- /dev/null
+++ b/tests/lean/External/FunsExternal_Template.lean
@@ -0,0 +1,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)
+