lean2/tests/lean/t1.lean
Leonardo de Moura bf081ed431 refactor(kernel): rename var_decl to constant_assumption
Motivation: it matches the notation used to declare it.
2014-10-02 17:55:34 -07:00

12 lines
195 B
Text

(*
print("testing...")
local env = get_env()
env = add_decl(env, mk_constant_assumption("x", Prop))
assert(env:find("x"))
set_env(env)
*)
(*
local env = get_env()
print(env:find("x"):type())
*)