2014-10-02 16:20:52 -07:00
|
|
|
constant A : Type.{1}
|
|
|
|
constants a b c : A
|
|
|
|
constant f : A → A → A
|
2014-06-17 08:25:00 -07:00
|
|
|
check f a b
|
2014-10-09 07:13:06 -07:00
|
|
|
context
|
2014-06-22 17:51:00 -07:00
|
|
|
parameters A B : Type
|
|
|
|
parameters {C D : Type}
|
|
|
|
parameters [e d : A]
|
2014-06-17 08:25:00 -07:00
|
|
|
check A
|
|
|
|
check B
|
|
|
|
definition g (a : A) (b : B) (c : C) : A := e
|
|
|
|
end
|
|
|
|
check g.{2 1}
|
2014-10-02 16:20:52 -07:00
|
|
|
constants x y : A
|