lean2/tests/lua/expr8.lua
Leonardo de Moura cb000eda13 refactor(kernel): store binder_infor in local constants
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-30 11:37:46 -07:00

7 lines
243 B
Lua

local Or = Const("or")
local A = Local("A", Type)
local a = Local("a", A, binder_info(true))
local b = Local("b", A)
local H = Local("H", Or(a, b), binder_info(false, true))
print(Pi(A, a, b, H, Or(b, a)))
print(Fun(A, a, b, H, Or(b, a)))