diff options
author | Son Ho | 2023-11-27 10:29:25 +0100 |
---|---|---|
committer | Son Ho | 2023-11-27 10:29:25 +0100 |
commit | bef2bd34fcb0817f1b7d16b95122bcc3c6f05c72 (patch) | |
tree | b491462e77665dceb44b4899f97508d440c57d6a /tests/lean/BetreeMain | |
parent | 959d6fce38c8d8ca6eaed3ad6f458b87f91a9abc (diff) |
Generate a dedicated file for the external types
Diffstat (limited to '')
-rw-r--r-- | tests/lean/BetreeMain/Types.lean | 4 | ||||
-rw-r--r-- | tests/lean/BetreeMain/TypesExternal.lean | 7 | ||||
-rw-r--r-- | tests/lean/BetreeMain/TypesExternal_Template.lean | 9 |
3 files changed, 17 insertions, 3 deletions
diff --git a/tests/lean/BetreeMain/Types.lean b/tests/lean/BetreeMain/Types.lean index 6e528437..877508f6 100644 --- a/tests/lean/BetreeMain/Types.lean +++ b/tests/lean/BetreeMain/Types.lean @@ -1,6 +1,7 @@ -- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS -- [betree_main]: type definitions import Base +import BetreeMain.TypesExternal open Primitives namespace betree_main @@ -63,7 +64,4 @@ structure betree.BeTree where node_id_cnt : betree.NodeIdCounter root : betree.Node -/- The state type used in the state-error monad -/ -axiom State : Type - end betree_main diff --git a/tests/lean/BetreeMain/TypesExternal.lean b/tests/lean/BetreeMain/TypesExternal.lean new file mode 100644 index 00000000..1701eaaf --- /dev/null +++ b/tests/lean/BetreeMain/TypesExternal.lean @@ -0,0 +1,7 @@ +-- [betree_main]: external types. +import Base +open Primitives + +/- The state type used in the state-error monad -/ +axiom State : Type + diff --git a/tests/lean/BetreeMain/TypesExternal_Template.lean b/tests/lean/BetreeMain/TypesExternal_Template.lean new file mode 100644 index 00000000..bbac7e99 --- /dev/null +++ b/tests/lean/BetreeMain/TypesExternal_Template.lean @@ -0,0 +1,9 @@ +-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS +-- [betree_main]: external types. +-- This is a template file: rename it to "TypesExternal.lean" and fill the holes. +import Base +open Primitives + +/- The state type used in the state-error monad -/ +axiom State : Type + |