lean2/tests/lua/env1.lua

10 lines
279 B
Lua
Raw Normal View History

local env = empty_environment()
assert(is_environment(env))
assert(not env:is_global_level("U"))
local env2 = env:add_global_level("U")
assert(not env:is_global_level("U"))
assert(env2:is_global_level("U"))
assert(env:eta())
assert(env:proof_irrel())
assert(env:impredicative())