14 lines
310 B
Text
14 lines
310 B
Text
|
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
|