2014-06-30 16:14:55 +00:00
|
|
|
local A = Local("A", Type)
|
|
|
|
local a = Local("a", A)
|
2014-05-17 19:30:03 +00:00
|
|
|
local vec = Const("vec")
|
2014-06-30 16:14:55 +00:00
|
|
|
local A1 = Local("A", vec(A))
|
|
|
|
local a1 = Local("a", a)
|
2014-05-17 19:30:03 +00:00
|
|
|
local T = Const("T")
|
2014-06-30 16:14:55 +00:00
|
|
|
print(Pi(A, a, A1, a1, a1))
|
2014-05-17 19:30:03 +00:00
|
|
|
local t = mk_pi("A", Type, mk_pi("a", Var(0), mk_pi("A", vec(Var(1)), mk_pi("a", Var(0), T(Var(0), Var(2))))))
|
|
|
|
print(t)
|
2014-06-24 23:27:23 +00:00
|
|
|
|