lean2/tests/lua/env1.lua

10 lines
284 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:prop_proof_irrel())
assert(env:impredicative())