lean2/tests/lean/mod1.lean

14 lines
310 B
Text
Raw Normal View History

Import "simple.lean"
Import "simple.lean"
(**
local env = environment() -- create new environment
parse_lean_cmds([[
Import "simple.lean"
Import "simple.lean"
Check x + y
Variable z : Int
Check z
]], env)
-- Remark: z is not defined in the main environment
**)
Check z